@viamrobotics/sdk 0.0.16 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/robot.d.ts +0 -1
- package/dist/events.d.ts +11 -0
- package/dist/main.d.ts +3 -2
- package/dist/main.es.js +2 -5
- package/dist/main.umd.js +2 -2
- package/package.json +2 -1
package/dist/main.umd.js
CHANGED
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
//# sourceURL=`+i)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,s=goog.global.$jscomp,t=s.transpile}}return t||(t=s.transpile=function(p,g){return goog.logToConsole_(g+" requires transpilation but no transpiler was found."),p}),t(o,e,r)},goog.typeOf=function(o){var e=typeof o;if(e=="object")if(o){if(o instanceof Array)return"array";if(o instanceof Object)return e;var r=Object.prototype.toString.call(o);if(r=="[object Window]")return"object";if(r=="[object Array]"||typeof o.length=="number"&&typeof o.splice<"u"&&typeof o.propertyIsEnumerable<"u"&&!o.propertyIsEnumerable("splice"))return"array";if(r=="[object Function]"||typeof o.call<"u"&&typeof o.propertyIsEnumerable<"u"&&!o.propertyIsEnumerable("call"))return"function"}else return"null";else if(e=="function"&&typeof o.call>"u")return"object";return e},goog.isArray=function(o){return goog.typeOf(o)=="array"},goog.isArrayLike=function(o){var e=goog.typeOf(o);return e=="array"||e=="object"&&typeof o.length=="number"},goog.isDateLike=function(o){return goog.isObject(o)&&typeof o.getFullYear=="function"},goog.isFunction=function(o){return goog.typeOf(o)=="function"},goog.isObject=function(o){var e=typeof o;return e=="object"&&o!=null||e=="function"},goog.getUid=function(o){return Object.prototype.hasOwnProperty.call(o,goog.UID_PROPERTY_)&&o[goog.UID_PROPERTY_]||(o[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(o){return!!o[goog.UID_PROPERTY_]},goog.removeUid=function(o){o!==null&&"removeAttribute"in o&&o.removeAttribute(goog.UID_PROPERTY_);try{delete o[goog.UID_PROPERTY_]}catch{}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(o){var e=goog.typeOf(o);if(e=="object"||e=="array"){if(typeof o.clone=="function")return o.clone();e=e=="array"?[]:{};for(var r in o)e[r]=goog.cloneObject(o[r]);return e}return o},goog.bindNative_=function(o,e,r){return o.call.apply(o.bind,arguments)},goog.bindJs_=function(o,e,r){if(!o)throw Error();if(2<arguments.length){var s=Array.prototype.slice.call(arguments,2);return function(){var t=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(t,s),o.apply(e,t)}}return function(){return o.apply(e,arguments)}},goog.bind=function(o,e,r){return Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(o,e){var r=Array.prototype.slice.call(arguments,1);return function(){var s=r.slice();return s.push.apply(s,arguments),o.apply(this,s)}},goog.mixin=function(o,e){for(var r in e)o[r]=e[r]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(o){if(goog.global.execScript)goog.global.execScript(o,"JavaScript");else if(goog.global.eval){if(goog.evalWorksForGlobals_==null){try{goog.global.eval("var _evalTest_ = 1;")}catch{}if(typeof goog.global._evalTest_<"u"){try{delete goog.global._evalTest_}catch{}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(o);else{var e=goog.global.document,r=e.createElement("script");r.type="text/javascript",r.defer=!1,r.appendChild(e.createTextNode(o)),e.head.appendChild(r),e.head.removeChild(r)}}else throw Error("goog.globalEval not available")},goog.evalWorksForGlobals_=null,goog.getCssName=function(o,e){if(String(o).charAt(0)==".")throw Error('className passed in goog.getCssName must not start with ".". You passed: '+o);var r=function(t){return goog.cssNameMapping_[t]||t},s=function(t){t=t.split("-");for(var i=[],n=0;n<t.length;n++)i.push(r(t[n]));return i.join("-")};return s=goog.cssNameMapping_?goog.cssNameMappingStyle_=="BY_WHOLE"?r:s:function(t){return t},o=e?o+"-"+s(e):s(o),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(o):o},goog.setCssNameMapping=function(o,e){goog.cssNameMapping_=o,goog.cssNameMappingStyle_=e},goog.getMsg=function(o,e,r){return r&&r.html&&(o=o.replace(/</g,"<")),e&&(o=o.replace(/\{\$([^}]+)}/g,function(s,t){return e!=null&&t in e?e[t]:s})),o},goog.getMsgWithFallback=function(o,e){return o},goog.exportSymbol=function(o,e,r){goog.exportPath_(o,e,r)},goog.exportProperty=function(o,e,r){o[e]=r},goog.inherits=function(o,e){function r(){}r.prototype=e.prototype,o.superClass_=e.prototype,o.prototype=new r,o.prototype.constructor=o,o.base=function(s,t,i){for(var n=Array(arguments.length-2),p=2;p<arguments.length;p++)n[p-2]=arguments[p];return e.prototype[t].apply(s,n)}},goog.scope=function(o){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");o.call(goog.global)},goog.defineClass=function(o,e){var r=e.constructor,s=e.statics;return r&&r!=Object.prototype.constructor||(r=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),r=goog.defineClass.createSealingConstructor_(r,o),o&&goog.inherits(r,o),delete e.constructor,delete e.statics,goog.defineClass.applyProperties_(r.prototype,e),s!=null&&(s instanceof Function?s(r):goog.defineClass.applyProperties_(r,s)),r},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(o,e){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return o;var r=!goog.defineClass.isUnsealable_(e),s=function(){var t=o.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],this.constructor===s&&r&&Object.seal instanceof Function&&Object.seal(t),t};return s},goog.defineClass.isUnsealable_=function(o){return o&&o.prototype&&o.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(o,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r]);for(var s=0;s<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;s++)r=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[s],Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r])},goog.tagUnsealableClass=function(o){},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",goog.TRUSTED_TYPES_POLICY_NAME="",goog.identity_=function(o){return o},goog.createTrustedTypesPolicy=function(o){var e=null,r=goog.global.trustedTypes||goog.global.TrustedTypes;if(!r||!r.createPolicy)return e;try{e=r.createPolicy(o,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(s){goog.logToConsole_(s.message)}return e},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.object={},goog.object.is=function(o,e){return o===e?o!==0||1/o===1/e:o!==o&&e!==e},goog.object.forEach=function(o,e,r){for(var s in o)e.call(r,o[s],s,o)},goog.object.filter=function(o,e,r){var s={},t;for(t in o)e.call(r,o[t],t,o)&&(s[t]=o[t]);return s},goog.object.map=function(o,e,r){var s={},t;for(t in o)s[t]=e.call(r,o[t],t,o);return s},goog.object.some=function(o,e,r){for(var s in o)if(e.call(r,o[s],s,o))return!0;return!1},goog.object.every=function(o,e,r){for(var s in o)if(!e.call(r,o[s],s,o))return!1;return!0},goog.object.getCount=function(o){var e=0,r;for(r in o)e++;return e},goog.object.getAnyKey=function(o){for(var e in o)return e},goog.object.getAnyValue=function(o){for(var e in o)return o[e]},goog.object.contains=function(o,e){return goog.object.containsValue(o,e)},goog.object.getValues=function(o){var e=[],r=0,s;for(s in o)e[r++]=o[s];return e},goog.object.getKeys=function(o){var e=[],r=0,s;for(s in o)e[r++]=s;return e},goog.object.getValueByKeys=function(o,e){var r=goog.isArrayLike(e),s=r?e:arguments;for(r=r?0:1;r<s.length;r++){if(o==null)return;o=o[s[r]]}return o},goog.object.containsKey=function(o,e){return o!==null&&e in o},goog.object.containsValue=function(o,e){for(var r in o)if(o[r]==e)return!0;return!1},goog.object.findKey=function(o,e,r){for(var s in o)if(e.call(r,o[s],s,o))return s},goog.object.findValue=function(o,e,r){return(e=goog.object.findKey(o,e,r))&&o[e]},goog.object.isEmpty=function(o){for(var e in o)return!1;return!0},goog.object.clear=function(o){for(var e in o)delete o[e]},goog.object.remove=function(o,e){var r;return(r=e in o)&&delete o[e],r},goog.object.add=function(o,e,r){if(o!==null&&e in o)throw Error('The object already contains the key "'+e+'"');goog.object.set(o,e,r)},goog.object.get=function(o,e,r){return o!==null&&e in o?o[e]:r},goog.object.set=function(o,e,r){o[e]=r},goog.object.setIfUndefined=function(o,e,r){return e in o?o[e]:o[e]=r},goog.object.setWithReturnValueIfNotSet=function(o,e,r){return e in o?o[e]:(r=r(),o[e]=r)},goog.object.equals=function(o,e){for(var r in o)if(!(r in e)||o[r]!==e[r])return!1;for(var s in e)if(!(s in o))return!1;return!0},goog.object.clone=function(o){var e={},r;for(r in o)e[r]=o[r];return e},goog.object.unsafeClone=function(o){var e=goog.typeOf(o);if(e=="object"||e=="array"){if(goog.isFunction(o.clone))return o.clone();e=e=="array"?[]:{};for(var r in o)e[r]=goog.object.unsafeClone(o[r]);return e}return o},goog.object.transpose=function(o){var e={},r;for(r in o)e[o[r]]=r;return e},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(o,e){for(var r,s,t=1;t<arguments.length;t++){s=arguments[t];for(r in s)o[r]=s[r];for(var i=0;i<goog.object.PROTOTYPE_FIELDS_.length;i++)r=goog.object.PROTOTYPE_FIELDS_[i],Object.prototype.hasOwnProperty.call(s,r)&&(o[r]=s[r])}},goog.object.create=function(o){var e=arguments.length;if(e==1&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(e%2)throw Error("Uneven number of arguments");for(var r={},s=0;s<e;s+=2)r[arguments[s]]=arguments[s+1];return r},goog.object.createSet=function(o){var e=arguments.length;if(e==1&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var r={},s=0;s<e;s++)r[arguments[s]]=!0;return r},goog.object.createImmutableView=function(o){var e=o;return Object.isFrozen&&!Object.isFrozen(o)&&(e=Object.create(o),Object.freeze(e)),e},goog.object.isImmutableView=function(o){return!!Object.isFrozen&&Object.isFrozen(o)},goog.object.getAllPropertyNames=function(o,e,r){if(!o)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(o);for(var s={};o&&(o!==Object.prototype||e)&&(o!==Function.prototype||r);){for(var t=Object.getOwnPropertyNames(o),i=0;i<t.length;i++)s[t[i]]=!0;o=Object.getPrototypeOf(o)}return goog.object.getKeys(s)},goog.object.getSuperClass=function(o){return(o=Object.getPrototypeOf(o.prototype))&&o.constructor};var jspb={asserts:{}};jspb.asserts.doAssertFailure=function(o,e,r,s){var t="Assertion failed";if(r){t+=": "+r;var i=s}else o&&(t+=": "+o,i=e);throw Error(""+t,i||[])},jspb.asserts.assert=function(o,e,r){for(var s=[],t=2;t<arguments.length;++t)s[t-2]=arguments[t];return o||jspb.asserts.doAssertFailure("",null,e,s),o},jspb.asserts.assertString=function(o,e,r){for(var s=[],t=2;t<arguments.length;++t)s[t-2]=arguments[t];return typeof o!="string"&&jspb.asserts.doAssertFailure("Expected string but got %s: %s.",[goog.typeOf(o),o],e,s),o},jspb.asserts.assertArray=function(o,e,r){for(var s=[],t=2;t<arguments.length;++t)s[t-2]=arguments[t];return Array.isArray(o)||jspb.asserts.doAssertFailure("Expected array but got %s: %s.",[goog.typeOf(o),o],e,s),o},jspb.asserts.fail=function(o,e){for(var r=[],s=1;s<arguments.length;++s)r[s-1]=arguments[s];throw Error("Failure"+(o?": "+o:""),r)},jspb.asserts.assertInstanceof=function(o,e,r,s){for(var t=[],i=3;i<arguments.length;++i)t[i-3]=arguments[i];return o instanceof e||jspb.asserts.doAssertFailure("Expected instanceof %s but got %s.",[jspb.asserts.getType(e),jspb.asserts.getType(o)],r,t),o},jspb.asserts.getType=function(o){return o instanceof Function?o.displayName||o.name||"unknown type name":o instanceof Object?o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o):o===null?"null":typeof o},jspb.BinaryConstants={},jspb.ConstBinaryMessage=function(){},jspb.BinaryMessage=function(){},jspb.BinaryConstants.FieldType={INVALID:-1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18,FHASH64:30,VHASH64:31},jspb.BinaryConstants.WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5},jspb.BinaryConstants.FieldTypeToWireType=function(o){var e=jspb.BinaryConstants.FieldType,r=jspb.BinaryConstants.WireType;switch(o){case e.INT32:case e.INT64:case e.UINT32:case e.UINT64:case e.SINT32:case e.SINT64:case e.BOOL:case e.ENUM:case e.VHASH64:return r.VARINT;case e.DOUBLE:case e.FIXED64:case e.SFIXED64:case e.FHASH64:return r.FIXED64;case e.STRING:case e.MESSAGE:case e.BYTES:return r.DELIMITED;case e.FLOAT:case e.FIXED32:case e.SFIXED32:return r.FIXED32;default:return r.INVALID}},jspb.BinaryConstants.INVALID_FIELD_NUMBER=-1,jspb.BinaryConstants.FLOAT32_EPS=1401298464324817e-60,jspb.BinaryConstants.FLOAT32_MIN=11754943508222875e-54,jspb.BinaryConstants.FLOAT32_MAX=34028234663852886e22,jspb.BinaryConstants.FLOAT64_EPS=5e-324,jspb.BinaryConstants.FLOAT64_MIN=22250738585072014e-324,jspb.BinaryConstants.FLOAT64_MAX=17976931348623157e292,jspb.BinaryConstants.TWO_TO_20=1048576,jspb.BinaryConstants.TWO_TO_23=8388608,jspb.BinaryConstants.TWO_TO_31=2147483648,jspb.BinaryConstants.TWO_TO_32=4294967296,jspb.BinaryConstants.TWO_TO_52=4503599627370496,jspb.BinaryConstants.TWO_TO_63=9223372036854776e3,jspb.BinaryConstants.TWO_TO_64=18446744073709552e3,jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0",goog.debug={},goog.debug.Error=function(o){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var e=Error().stack;e&&(this.stack=e)}o&&(this.message=String(o)),this.reportErrorToServer=!0},goog.inherits(goog.debug.Error,Error),goog.debug.Error.prototype.name="CustomError",goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(o,e){goog.debug.Error.call(this,goog.asserts.subs_(o,e)),this.messagePattern=o},goog.inherits(goog.asserts.AssertionError,goog.debug.Error),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(o){throw o},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(o,e){o=o.split("%s");for(var r="",s=o.length-1,t=0;t<s;t++)r+=o[t]+(t<e.length?e[t]:"%s");return r+o[s]},goog.asserts.doAssertFailure_=function(o,e,r,s){var t="Assertion failed";if(r){t+=": "+r;var i=s}else o&&(t+=": "+o,i=e);o=new goog.asserts.AssertionError(""+t,i||[]),goog.asserts.errorHandler_(o)},goog.asserts.setErrorHandler=function(o){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=o)},goog.asserts.assert=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&!o&&goog.asserts.doAssertFailure_("",null,e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertExists=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&o==null&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.fail=function(o,e){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(o?": "+o:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&typeof o!="number"&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertString=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&typeof o!="string"&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertFunction=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(o)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertObject=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(o)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertArray=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(o)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertBoolean=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&typeof o!="boolean"&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertElement=function(o,e,r){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(o)&&o.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertInstanceof=function(o,e,r,s){return!goog.asserts.ENABLE_ASSERTS||o instanceof e||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(e),goog.asserts.getType_(o)],r,Array.prototype.slice.call(arguments,3)),o},goog.asserts.assertFinite=function(o,e,r){return!goog.asserts.ENABLE_ASSERTS||typeof o=="number"&&isFinite(o)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var o in Object.prototype)goog.asserts.fail(o+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(o){return o instanceof Function?o.displayName||o.name||"unknown type name":o instanceof Object?o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o):o===null?"null":typeof o},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE,goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR,goog.array.peek=function(o){return o[o.length-1]},goog.array.last=goog.array.peek,goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.indexOf.call(o,e,r)}:function(o,e,r){if(r=r==null?0:0>r?Math.max(0,o.length+r):r,typeof o=="string")return typeof e!="string"||e.length!=1?-1:o.indexOf(e,r);for(;r<o.length;r++)if(r in o&&o[r]===e)return r;return-1},goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.lastIndexOf.call(o,e,r??o.length-1)}:function(o,e,r){if(r=r??o.length-1,0>r&&(r=Math.max(0,o.length+r)),typeof o=="string")return typeof e!="string"||e.length!=1?-1:o.lastIndexOf(e,r);for(;0<=r;r--)if(r in o&&o[r]===e)return r;return-1},goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(o,e,r){goog.asserts.assert(o.length!=null),Array.prototype.forEach.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=typeof o=="string"?o.split(""):o,i=0;i<s;i++)i in t&&e.call(r,t[i],i,o)},goog.array.forEachRight=function(o,e,r){var s=o.length,t=typeof o=="string"?o.split(""):o;for(--s;0<=s;--s)s in t&&e.call(r,t[s],s,o)},goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.filter.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=[],i=0,n=typeof o=="string"?o.split(""):o,p=0;p<s;p++)if(p in n){var g=n[p];e.call(r,g,p,o)&&(t[i++]=g)}return t},goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.map.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=Array(s),i=typeof o=="string"?o.split(""):o,n=0;n<s;n++)n in i&&(t[n]=e.call(r,i[n],n,o));return t},goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(o,e,r,s){return goog.asserts.assert(o.length!=null),s&&(e=goog.bind(e,s)),Array.prototype.reduce.call(o,e,r)}:function(o,e,r,s){var t=r;return goog.array.forEach(o,function(i,n){t=e.call(s,t,i,n,o)}),t},goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(o,e,r,s){return goog.asserts.assert(o.length!=null),goog.asserts.assert(e!=null),s&&(e=goog.bind(e,s)),Array.prototype.reduceRight.call(o,e,r)}:function(o,e,r,s){var t=r;return goog.array.forEachRight(o,function(i,n){t=e.call(s,t,i,n,o)}),t},goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.some.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=typeof o=="string"?o.split(""):o,i=0;i<s;i++)if(i in t&&e.call(r,t[i],i,o))return!0;return!1},goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.every.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=typeof o=="string"?o.split(""):o,i=0;i<s;i++)if(i in t&&!e.call(r,t[i],i,o))return!1;return!0},goog.array.count=function(o,e,r){var s=0;return goog.array.forEach(o,function(t,i,n){e.call(r,t,i,n)&&++s},r),s},goog.array.find=function(o,e,r){return e=goog.array.findIndex(o,e,r),0>e?null:typeof o=="string"?o.charAt(e):o[e]},goog.array.findIndex=function(o,e,r){for(var s=o.length,t=typeof o=="string"?o.split(""):o,i=0;i<s;i++)if(i in t&&e.call(r,t[i],i,o))return i;return-1},goog.array.findRight=function(o,e,r){return e=goog.array.findIndexRight(o,e,r),0>e?null:typeof o=="string"?o.charAt(e):o[e]},goog.array.findIndexRight=function(o,e,r){var s=o.length,t=typeof o=="string"?o.split(""):o;for(--s;0<=s;s--)if(s in t&&e.call(r,t[s],s,o))return s;return-1},goog.array.contains=function(o,e){return 0<=goog.array.indexOf(o,e)},goog.array.isEmpty=function(o){return o.length==0},goog.array.clear=function(o){if(!Array.isArray(o))for(var e=o.length-1;0<=e;e--)delete o[e];o.length=0},goog.array.insert=function(o,e){goog.array.contains(o,e)||o.push(e)},goog.array.insertAt=function(o,e,r){goog.array.splice(o,r,0,e)},goog.array.insertArrayAt=function(o,e,r){goog.partial(goog.array.splice,o,r,0).apply(null,e)},goog.array.insertBefore=function(o,e,r){var s;arguments.length==2||0>(s=goog.array.indexOf(o,r))?o.push(e):goog.array.insertAt(o,e,s)},goog.array.remove=function(o,e){e=goog.array.indexOf(o,e);var r;return(r=0<=e)&&goog.array.removeAt(o,e),r},goog.array.removeLast=function(o,e){return e=goog.array.lastIndexOf(o,e),0<=e?(goog.array.removeAt(o,e),!0):!1},goog.array.removeAt=function(o,e){return goog.asserts.assert(o.length!=null),Array.prototype.splice.call(o,e,1).length==1},goog.array.removeIf=function(o,e,r){return e=goog.array.findIndex(o,e,r),0<=e?(goog.array.removeAt(o,e),!0):!1},goog.array.removeAllIf=function(o,e,r){var s=0;return goog.array.forEachRight(o,function(t,i){e.call(r,t,i,o)&&goog.array.removeAt(o,i)&&s++}),s},goog.array.concat=function(o){return Array.prototype.concat.apply([],arguments)},goog.array.join=function(o){return Array.prototype.concat.apply([],arguments)},goog.array.toArray=function(o){var e=o.length;if(0<e){for(var r=Array(e),s=0;s<e;s++)r[s]=o[s];return r}return[]},goog.array.clone=goog.array.toArray,goog.array.extend=function(o,e){for(var r=1;r<arguments.length;r++){var s=arguments[r];if(goog.isArrayLike(s)){var t=o.length||0,i=s.length||0;o.length=t+i;for(var n=0;n<i;n++)o[t+n]=s[n]}else o.push(s)}},goog.array.splice=function(o,e,r,s){return goog.asserts.assert(o.length!=null),Array.prototype.splice.apply(o,goog.array.slice(arguments,1))},goog.array.slice=function(o,e,r){return goog.asserts.assert(o.length!=null),2>=arguments.length?Array.prototype.slice.call(o,e):Array.prototype.slice.call(o,e,r)},goog.array.removeDuplicates=function(o,e,r){e=e||o;var s=function(g){return goog.isObject(g)?"o"+goog.getUid(g):(typeof g).charAt(0)+g};r=r||s,s={};for(var t=0,i=0;i<o.length;){var n=o[i++],p=r(n);Object.prototype.hasOwnProperty.call(s,p)||(s[p]=!0,e[t++]=n)}e.length=t},goog.array.binarySearch=function(o,e,r){return goog.array.binarySearch_(o,r||goog.array.defaultCompare,!1,e)},goog.array.binarySelect=function(o,e,r){return goog.array.binarySearch_(o,e,!0,void 0,r)},goog.array.binarySearch_=function(o,e,r,s,t){for(var i=0,n=o.length,p;i<n;){var g=i+(n-i>>>1),l=r?e.call(t,o[g],g,o):e(s,o[g]);0<l?i=g+1:(n=g,p=!l)}return p?i:-i-1},goog.array.sort=function(o,e){o.sort(e||goog.array.defaultCompare)},goog.array.stableSort=function(o,e){for(var r=Array(o.length),s=0;s<o.length;s++)r[s]={index:s,value:o[s]};var t=e||goog.array.defaultCompare;for(goog.array.sort(r,function(i,n){return t(i.value,n.value)||i.index-n.index}),s=0;s<o.length;s++)o[s]=r[s].value},goog.array.sortByKey=function(o,e,r){var s=r||goog.array.defaultCompare;goog.array.sort(o,function(t,i){return s(e(t),e(i))})},goog.array.sortObjectsByKey=function(o,e,r){goog.array.sortByKey(o,function(s){return s[e]},r)},goog.array.isSorted=function(o,e,r){e=e||goog.array.defaultCompare;for(var s=1;s<o.length;s++){var t=e(o[s-1],o[s]);if(0<t||t==0&&r)return!1}return!0},goog.array.equals=function(o,e,r){if(!goog.isArrayLike(o)||!goog.isArrayLike(e)||o.length!=e.length)return!1;var s=o.length;r=r||goog.array.defaultCompareEquality;for(var t=0;t<s;t++)if(!r(o[t],e[t]))return!1;return!0},goog.array.compare3=function(o,e,r){r=r||goog.array.defaultCompare;for(var s=Math.min(o.length,e.length),t=0;t<s;t++){var i=r(o[t],e[t]);if(i!=0)return i}return goog.array.defaultCompare(o.length,e.length)},goog.array.defaultCompare=function(o,e){return o>e?1:o<e?-1:0},goog.array.inverseDefaultCompare=function(o,e){return-goog.array.defaultCompare(o,e)},goog.array.defaultCompareEquality=function(o,e){return o===e},goog.array.binaryInsert=function(o,e,r){return r=goog.array.binarySearch(o,e,r),0>r?(goog.array.insertAt(o,e,-(r+1)),!0):!1},goog.array.binaryRemove=function(o,e,r){return e=goog.array.binarySearch(o,e,r),0<=e?goog.array.removeAt(o,e):!1},goog.array.bucket=function(o,e,r){for(var s={},t=0;t<o.length;t++){var i=o[t],n=e.call(r,i,t,o);n!==void 0&&(s[n]||(s[n]=[])).push(i)}return s},goog.array.toObject=function(o,e,r){var s={};return goog.array.forEach(o,function(t,i){s[e.call(r,t,i,o)]=t}),s},goog.array.range=function(o,e,r){var s=[],t=0,i=o;if(r=r||1,e!==void 0&&(t=o,i=e),0>r*(i-t))return[];if(0<r)for(o=t;o<i;o+=r)s.push(o);else for(o=t;o>i;o+=r)s.push(o);return s},goog.array.repeat=function(o,e){for(var r=[],s=0;s<e;s++)r[s]=o;return r},goog.array.flatten=function(o){for(var e=[],r=0;r<arguments.length;r++){var s=arguments[r];if(Array.isArray(s))for(var t=0;t<s.length;t+=8192){var i=goog.array.slice(s,t,t+8192);i=goog.array.flatten.apply(null,i);for(var n=0;n<i.length;n++)e.push(i[n])}else e.push(s)}return e},goog.array.rotate=function(o,e){return goog.asserts.assert(o.length!=null),o.length&&(e%=o.length,0<e?Array.prototype.unshift.apply(o,o.splice(-e,e)):0>e&&Array.prototype.push.apply(o,o.splice(0,-e))),o},goog.array.moveItem=function(o,e,r){goog.asserts.assert(0<=e&&e<o.length),goog.asserts.assert(0<=r&&r<o.length),e=Array.prototype.splice.call(o,e,1),Array.prototype.splice.call(o,r,0,e[0])},goog.array.zip=function(o){if(!arguments.length)return[];for(var e=[],r=arguments[0].length,s=1;s<arguments.length;s++)arguments[s].length<r&&(r=arguments[s].length);for(s=0;s<r;s++){for(var t=[],i=0;i<arguments.length;i++)t.push(arguments[i][s]);e.push(t)}return e},goog.array.shuffle=function(o,e){e=e||Math.random;for(var r=o.length-1;0<r;r--){var s=Math.floor(e()*(r+1)),t=o[r];o[r]=o[s],o[s]=t}},goog.array.copyByIndex=function(o,e){var r=[];return goog.array.forEach(e,function(s){r.push(o[s])}),r},goog.array.concatMap=function(o,e,r){return goog.array.concat.apply([],goog.array.map(o,e,r))},goog.crypt={},goog.crypt.stringToByteArray=function(o){for(var e=[],r=0,s=0;s<o.length;s++){var t=o.charCodeAt(s);255<t&&(e[r++]=t&255,t>>=8),e[r++]=t}return e},goog.crypt.byteArrayToString=function(o){if(8192>=o.length)return String.fromCharCode.apply(null,o);for(var e="",r=0;r<o.length;r+=8192){var s=goog.array.slice(o,r,r+8192);e+=String.fromCharCode.apply(null,s)}return e},goog.crypt.byteArrayToHex=function(o,e){return goog.array.map(o,function(r){return r=r.toString(16),1<r.length?r:"0"+r}).join(e||"")},goog.crypt.hexToByteArray=function(o){goog.asserts.assert(o.length%2==0,"Key string length must be multiple of 2");for(var e=[],r=0;r<o.length;r+=2)e.push(parseInt(o.substring(r,r+2),16));return e},goog.crypt.stringToUtf8ByteArray=function(o){for(var e=[],r=0,s=0;s<o.length;s++){var t=o.charCodeAt(s);128>t?e[r++]=t:(2048>t?e[r++]=t>>6|192:((t&64512)==55296&&s+1<o.length&&(o.charCodeAt(s+1)&64512)==56320?(t=65536+((t&1023)<<10)+(o.charCodeAt(++s)&1023),e[r++]=t>>18|240,e[r++]=t>>12&63|128):e[r++]=t>>12|224,e[r++]=t>>6&63|128),e[r++]=t&63|128)}return e},goog.crypt.utf8ByteArrayToString=function(o){for(var e=[],r=0,s=0;r<o.length;){var t=o[r++];if(128>t)e[s++]=String.fromCharCode(t);else if(191<t&&224>t){var i=o[r++];e[s++]=String.fromCharCode((t&31)<<6|i&63)}else if(239<t&&365>t){i=o[r++];var n=o[r++],p=o[r++];t=((t&7)<<18|(i&63)<<12|(n&63)<<6|p&63)-65536,e[s++]=String.fromCharCode(55296+(t>>10)),e[s++]=String.fromCharCode(56320+(t&1023))}else i=o[r++],n=o[r++],e[s++]=String.fromCharCode((t&15)<<12|(i&63)<<6|n&63)}return e.join("")},goog.crypt.xorByteArray=function(o,e){goog.asserts.assert(o.length==e.length,"XOR array lengths must match");for(var r=[],s=0;s<o.length;s++)r.push(o[s]^e[s]);return r},goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(o){if(goog.asserts.ENABLE_ASSERTS){var e=goog.dom.asserts.getWindow_(o);e&&(!o||!(o instanceof e.Location)&&o instanceof e.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(o))}return o},goog.dom.asserts.assertIsElementType_=function(o,e){if(goog.asserts.ENABLE_ASSERTS){var r=goog.dom.asserts.getWindow_(o);r&&typeof r[e]<"u"&&(o&&(o instanceof r[e]||!(o instanceof r.Location||o instanceof r.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",e,goog.dom.asserts.debugStringForType_(o)))}return o},goog.dom.asserts.assertIsHTMLAnchorElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(o){if(goog.isObject(o))try{return o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o)}catch{return"<object could not be stringified>"}else return o===void 0?"undefined":o===null?"null":typeof o},goog.dom.asserts.getWindow_=function(o){try{var e=o&&o.ownerDocument,r=e&&(e.defaultView||e.parentWindow);if(r=r||goog.global,r.Element&&r.Location)return r}catch{}return null},goog.functions={},goog.functions.constant=function(o){return function(){return o}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(o,e){return o},goog.functions.error=function(o){return function(){throw Error(o)}},goog.functions.fail=function(o){return function(){throw o}},goog.functions.lock=function(o,e){return e=e||0,function(){return o.apply(this,Array.prototype.slice.call(arguments,0,e))}},goog.functions.nth=function(o){return function(){return arguments[o]}},goog.functions.partialRight=function(o,e){var r=Array.prototype.slice.call(arguments,1);return function(){var s=Array.prototype.slice.call(arguments);return s.push.apply(s,r),o.apply(this,s)}},goog.functions.withReturnValue=function(o,e){return goog.functions.sequence(o,goog.functions.constant(e))},goog.functions.equalTo=function(o,e){return function(r){return e?o==r:o===r}},goog.functions.compose=function(o,e){var r=arguments,s=r.length;return function(){var t;s&&(t=r[s-1].apply(this,arguments));for(var i=s-2;0<=i;i--)t=r[i].call(this,t);return t}},goog.functions.sequence=function(o){var e=arguments,r=e.length;return function(){for(var s,t=0;t<r;t++)s=e[t].apply(this,arguments);return s}},goog.functions.and=function(o){var e=arguments,r=e.length;return function(){for(var s=0;s<r;s++)if(!e[s].apply(this,arguments))return!1;return!0}},goog.functions.or=function(o){var e=arguments,r=e.length;return function(){for(var s=0;s<r;s++)if(e[s].apply(this,arguments))return!0;return!1}},goog.functions.not=function(o){return function(){return!o.apply(this,arguments)}},goog.functions.create=function(o,e){var r=function(){};return r.prototype=o.prototype,r=new r,o.apply(r,Array.prototype.slice.call(arguments,1)),r},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(o){var e=!1,r;return function(){return goog.functions.CACHE_RETURN_VALUE?(e||(r=o(),e=!0),r):o()}},goog.functions.once=function(o){var e=o;return function(){if(e){var r=e;e=null,r()}}},goog.functions.debounce=function(o,e,r){var s=0;return function(t){goog.global.clearTimeout(s);var i=arguments;s=goog.global.setTimeout(function(){o.apply(r,i)},e)}},goog.functions.throttle=function(o,e,r){var s=0,t=!1,i=[],n=function(){s=0,t&&(t=!1,p())},p=function(){s=goog.global.setTimeout(n,e),o.apply(r,i)};return function(g){i=arguments,s?t=!0:p()}},goog.functions.rateLimit=function(o,e,r){var s=0,t=function(){s=0};return function(i){s||(s=goog.global.setTimeout(t,e),o.apply(r,arguments))}},goog.dom.HtmlElement=function(){},goog.dom.TagName=function(o){this.tagName_=o},goog.dom.TagName.prototype.toString=function(){return this.tagName_},goog.dom.TagName.A=new goog.dom.TagName("A"),goog.dom.TagName.ABBR=new goog.dom.TagName("ABBR"),goog.dom.TagName.ACRONYM=new goog.dom.TagName("ACRONYM"),goog.dom.TagName.ADDRESS=new goog.dom.TagName("ADDRESS"),goog.dom.TagName.APPLET=new goog.dom.TagName("APPLET"),goog.dom.TagName.AREA=new goog.dom.TagName("AREA"),goog.dom.TagName.ARTICLE=new goog.dom.TagName("ARTICLE"),goog.dom.TagName.ASIDE=new goog.dom.TagName("ASIDE"),goog.dom.TagName.AUDIO=new goog.dom.TagName("AUDIO"),goog.dom.TagName.B=new goog.dom.TagName("B"),goog.dom.TagName.BASE=new goog.dom.TagName("BASE"),goog.dom.TagName.BASEFONT=new goog.dom.TagName("BASEFONT"),goog.dom.TagName.BDI=new goog.dom.TagName("BDI"),goog.dom.TagName.BDO=new goog.dom.TagName("BDO"),goog.dom.TagName.BIG=new goog.dom.TagName("BIG"),goog.dom.TagName.BLOCKQUOTE=new goog.dom.TagName("BLOCKQUOTE"),goog.dom.TagName.BODY=new goog.dom.TagName("BODY"),goog.dom.TagName.BR=new goog.dom.TagName("BR"),goog.dom.TagName.BUTTON=new goog.dom.TagName("BUTTON"),goog.dom.TagName.CANVAS=new goog.dom.TagName("CANVAS"),goog.dom.TagName.CAPTION=new goog.dom.TagName("CAPTION"),goog.dom.TagName.CENTER=new goog.dom.TagName("CENTER"),goog.dom.TagName.CITE=new goog.dom.TagName("CITE"),goog.dom.TagName.CODE=new goog.dom.TagName("CODE"),goog.dom.TagName.COL=new goog.dom.TagName("COL"),goog.dom.TagName.COLGROUP=new goog.dom.TagName("COLGROUP"),goog.dom.TagName.COMMAND=new goog.dom.TagName("COMMAND"),goog.dom.TagName.DATA=new goog.dom.TagName("DATA"),goog.dom.TagName.DATALIST=new goog.dom.TagName("DATALIST"),goog.dom.TagName.DD=new goog.dom.TagName("DD"),goog.dom.TagName.DEL=new goog.dom.TagName("DEL"),goog.dom.TagName.DETAILS=new goog.dom.TagName("DETAILS"),goog.dom.TagName.DFN=new goog.dom.TagName("DFN"),goog.dom.TagName.DIALOG=new goog.dom.TagName("DIALOG"),goog.dom.TagName.DIR=new goog.dom.TagName("DIR"),goog.dom.TagName.DIV=new goog.dom.TagName("DIV"),goog.dom.TagName.DL=new goog.dom.TagName("DL"),goog.dom.TagName.DT=new goog.dom.TagName("DT"),goog.dom.TagName.EM=new goog.dom.TagName("EM"),goog.dom.TagName.EMBED=new goog.dom.TagName("EMBED"),goog.dom.TagName.FIELDSET=new goog.dom.TagName("FIELDSET"),goog.dom.TagName.FIGCAPTION=new goog.dom.TagName("FIGCAPTION"),goog.dom.TagName.FIGURE=new goog.dom.TagName("FIGURE"),goog.dom.TagName.FONT=new goog.dom.TagName("FONT"),goog.dom.TagName.FOOTER=new goog.dom.TagName("FOOTER"),goog.dom.TagName.FORM=new goog.dom.TagName("FORM"),goog.dom.TagName.FRAME=new goog.dom.TagName("FRAME"),goog.dom.TagName.FRAMESET=new goog.dom.TagName("FRAMESET"),goog.dom.TagName.H1=new goog.dom.TagName("H1"),goog.dom.TagName.H2=new goog.dom.TagName("H2"),goog.dom.TagName.H3=new goog.dom.TagName("H3"),goog.dom.TagName.H4=new goog.dom.TagName("H4"),goog.dom.TagName.H5=new goog.dom.TagName("H5"),goog.dom.TagName.H6=new goog.dom.TagName("H6"),goog.dom.TagName.HEAD=new goog.dom.TagName("HEAD"),goog.dom.TagName.HEADER=new goog.dom.TagName("HEADER"),goog.dom.TagName.HGROUP=new goog.dom.TagName("HGROUP"),goog.dom.TagName.HR=new goog.dom.TagName("HR"),goog.dom.TagName.HTML=new goog.dom.TagName("HTML"),goog.dom.TagName.I=new goog.dom.TagName("I"),goog.dom.TagName.IFRAME=new goog.dom.TagName("IFRAME"),goog.dom.TagName.IMG=new goog.dom.TagName("IMG"),goog.dom.TagName.INPUT=new goog.dom.TagName("INPUT"),goog.dom.TagName.INS=new goog.dom.TagName("INS"),goog.dom.TagName.ISINDEX=new goog.dom.TagName("ISINDEX"),goog.dom.TagName.KBD=new goog.dom.TagName("KBD"),goog.dom.TagName.KEYGEN=new goog.dom.TagName("KEYGEN"),goog.dom.TagName.LABEL=new goog.dom.TagName("LABEL"),goog.dom.TagName.LEGEND=new goog.dom.TagName("LEGEND"),goog.dom.TagName.LI=new goog.dom.TagName("LI"),goog.dom.TagName.LINK=new goog.dom.TagName("LINK"),goog.dom.TagName.MAIN=new goog.dom.TagName("MAIN"),goog.dom.TagName.MAP=new goog.dom.TagName("MAP"),goog.dom.TagName.MARK=new goog.dom.TagName("MARK"),goog.dom.TagName.MATH=new goog.dom.TagName("MATH"),goog.dom.TagName.MENU=new goog.dom.TagName("MENU"),goog.dom.TagName.MENUITEM=new goog.dom.TagName("MENUITEM"),goog.dom.TagName.META=new goog.dom.TagName("META"),goog.dom.TagName.METER=new goog.dom.TagName("METER"),goog.dom.TagName.NAV=new goog.dom.TagName("NAV"),goog.dom.TagName.NOFRAMES=new goog.dom.TagName("NOFRAMES"),goog.dom.TagName.NOSCRIPT=new goog.dom.TagName("NOSCRIPT"),goog.dom.TagName.OBJECT=new goog.dom.TagName("OBJECT"),goog.dom.TagName.OL=new goog.dom.TagName("OL"),goog.dom.TagName.OPTGROUP=new goog.dom.TagName("OPTGROUP"),goog.dom.TagName.OPTION=new goog.dom.TagName("OPTION"),goog.dom.TagName.OUTPUT=new goog.dom.TagName("OUTPUT"),goog.dom.TagName.P=new goog.dom.TagName("P"),goog.dom.TagName.PARAM=new goog.dom.TagName("PARAM"),goog.dom.TagName.PICTURE=new goog.dom.TagName("PICTURE"),goog.dom.TagName.PRE=new goog.dom.TagName("PRE"),goog.dom.TagName.PROGRESS=new goog.dom.TagName("PROGRESS"),goog.dom.TagName.Q=new goog.dom.TagName("Q"),goog.dom.TagName.RP=new goog.dom.TagName("RP"),goog.dom.TagName.RT=new goog.dom.TagName("RT"),goog.dom.TagName.RTC=new goog.dom.TagName("RTC"),goog.dom.TagName.RUBY=new goog.dom.TagName("RUBY"),goog.dom.TagName.S=new goog.dom.TagName("S"),goog.dom.TagName.SAMP=new goog.dom.TagName("SAMP"),goog.dom.TagName.SCRIPT=new goog.dom.TagName("SCRIPT"),goog.dom.TagName.SECTION=new goog.dom.TagName("SECTION"),goog.dom.TagName.SELECT=new goog.dom.TagName("SELECT"),goog.dom.TagName.SMALL=new goog.dom.TagName("SMALL"),goog.dom.TagName.SOURCE=new goog.dom.TagName("SOURCE"),goog.dom.TagName.SPAN=new goog.dom.TagName("SPAN"),goog.dom.TagName.STRIKE=new goog.dom.TagName("STRIKE"),goog.dom.TagName.STRONG=new goog.dom.TagName("STRONG"),goog.dom.TagName.STYLE=new goog.dom.TagName("STYLE"),goog.dom.TagName.SUB=new goog.dom.TagName("SUB"),goog.dom.TagName.SUMMARY=new goog.dom.TagName("SUMMARY"),goog.dom.TagName.SUP=new goog.dom.TagName("SUP"),goog.dom.TagName.SVG=new goog.dom.TagName("SVG"),goog.dom.TagName.TABLE=new goog.dom.TagName("TABLE"),goog.dom.TagName.TBODY=new goog.dom.TagName("TBODY"),goog.dom.TagName.TD=new goog.dom.TagName("TD"),goog.dom.TagName.TEMPLATE=new goog.dom.TagName("TEMPLATE"),goog.dom.TagName.TEXTAREA=new goog.dom.TagName("TEXTAREA"),goog.dom.TagName.TFOOT=new goog.dom.TagName("TFOOT"),goog.dom.TagName.TH=new goog.dom.TagName("TH"),goog.dom.TagName.THEAD=new goog.dom.TagName("THEAD"),goog.dom.TagName.TIME=new goog.dom.TagName("TIME"),goog.dom.TagName.TITLE=new goog.dom.TagName("TITLE"),goog.dom.TagName.TR=new goog.dom.TagName("TR"),goog.dom.TagName.TRACK=new goog.dom.TagName("TRACK"),goog.dom.TagName.TT=new goog.dom.TagName("TT"),goog.dom.TagName.U=new goog.dom.TagName("U"),goog.dom.TagName.UL=new goog.dom.TagName("UL"),goog.dom.TagName.VAR=new goog.dom.TagName("VAR"),goog.dom.TagName.VIDEO=new goog.dom.TagName("VIDEO"),goog.dom.TagName.WBR=new goog.dom.TagName("WBR"),goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(o){return goog.dom.tags.VOID_TAGS_[o]===!0},goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html"):null,goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(o,e){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=o===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&e||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"}),goog.string.Const.unwrap=function(o){return o instanceof goog.string.Const&&o.constructor===goog.string.Const&&o.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?o.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+o+"'"),"type_error:Const")},goog.string.Const.from=function(o){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,o)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html.SafeScript=function(){this.privateDoNotAccessOrElseSafeScriptWrappedValue_="",this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeScript.prototype.implementsGoogStringTypedString=!0,goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeScript.fromConstant=function(o){return o=goog.string.Const.unwrap(o),o.length===0?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeScript.fromConstantAndArgs=function(o,e){for(var r=[],s=1;s<arguments.length;s++)r.push(goog.html.SafeScript.stringify_(arguments[s]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(o)+")("+r.join(", ")+");")},goog.html.SafeScript.fromJson=function(o){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(o))},goog.html.SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),goog.html.SafeScript.unwrap=function(o){return goog.html.SafeScript.unwrapTrustedScript(o).toString()},goog.html.SafeScript.unwrapTrustedScript=function(o){return o instanceof goog.html.SafeScript&&o.constructor===goog.html.SafeScript&&o.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeScript")},goog.html.SafeScript.stringify_=function(o){return JSON.stringify(o).replace(/</g,"\\x3c")},goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeScript().initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(o):o,this},goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(o){return goog.fs.url.getUrlObject_().createObjectURL(o)},goog.fs.url.revokeObjectUrl=function(o){goog.fs.url.getUrlObject_().revokeObjectURL(o)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(o){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(o){},goog.fs.url.getUrlObject_=function(){var o=goog.fs.url.findUrlObject_();if(o!=null)return o;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return goog.global.URL!==void 0&&goog.global.URL.createObjectURL!==void 0?goog.global.URL:goog.global.webkitURL!==void 0&&goog.global.webkitURL.createObjectURL!==void 0?goog.global.webkitURL:goog.global.createObjectURL!==void 0?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return goog.fs.url.findUrlObject_()!=null},goog.fs.blob={},goog.fs.blob.getBlob=function(o){var e=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(e!==void 0){e=new e;for(var r=0;r<arguments.length;r++)e.append(arguments[r]);return e.getBlob()}return goog.fs.blob.getBlobWithProperties(goog.array.toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(o,e,r){var s=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(s!==void 0){s=new s;for(var t=0;t<o.length;t++)s.append(o[t],r);return s.getBlob(e)}if(goog.global.Blob!==void 0)return s={},e&&(s.type=e),r&&(s.endings=r),new Blob(o,s);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||(goog.LOCALE.substring(0,2).toLowerCase()=="ar"||goog.LOCALE.substring(0,2).toLowerCase()=="fa"||goog.LOCALE.substring(0,2).toLowerCase()=="he"||goog.LOCALE.substring(0,2).toLowerCase()=="iw"||goog.LOCALE.substring(0,2).toLowerCase()=="ps"||goog.LOCALE.substring(0,2).toLowerCase()=="sd"||goog.LOCALE.substring(0,2).toLowerCase()=="ug"||goog.LOCALE.substring(0,2).toLowerCase()=="ur"||goog.LOCALE.substring(0,2).toLowerCase()=="yi")&&(goog.LOCALE.length==2||goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")||3<=goog.LOCALE.length&&goog.LOCALE.substring(0,3).toLowerCase()=="ckb"&&(goog.LOCALE.length==3||goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")||7<=goog.LOCALE.length&&(goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")&&(goog.LOCALE.substring(3,7).toLowerCase()=="adlm"||goog.LOCALE.substring(3,7).toLowerCase()=="arab"||goog.LOCALE.substring(3,7).toLowerCase()=="hebr"||goog.LOCALE.substring(3,7).toLowerCase()=="nkoo"||goog.LOCALE.substring(3,7).toLowerCase()=="rohg"||goog.LOCALE.substring(3,7).toLowerCase()=="thaa")||8<=goog.LOCALE.length&&(goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")&&(goog.LOCALE.substring(4,8).toLowerCase()=="adlm"||goog.LOCALE.substring(4,8).toLowerCase()=="arab"||goog.LOCALE.substring(4,8).toLowerCase()=="hebr"||goog.LOCALE.substring(4,8).toLowerCase()=="nkoo"||goog.LOCALE.substring(4,8).toLowerCase()=="rohg"||goog.LOCALE.substring(4,8).toLowerCase()=="thaa"),goog.i18n.bidi.Format={LRE:"\u202A",RLE:"\u202B",PDF:"\u202C",LRM:"\u200E",RLM:"\u200F"},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(o,e){return typeof o=="number"?0<o?goog.i18n.bidi.Dir.LTR:0>o?goog.i18n.bidi.Dir.RTL:e?null:goog.i18n.bidi.Dir.NEUTRAL:o==null?null:o?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0900-\u1FFF\u200E\u2C00-\uD801\uD804-\uD839\uD83C-\uDBFF\uF900-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",goog.i18n.bidi.rtlChars_="\u0591-\u06EF\u06FA-\u08FF\u200F\uD802-\uD803\uD83A-\uD83B\uFB1D-\uFDFF\uFE70-\uFEFC",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(o,e){return e?o.replace(goog.i18n.bidi.htmlSkipReg_,""):o},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(o,e){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(o,e){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(o){return goog.i18n.bidi.rtlRe_.test(o)},goog.i18n.bidi.isLtrChar=function(o){return goog.i18n.bidi.ltrRe_.test(o)},goog.i18n.bidi.isNeutralChar=function(o){return!goog.i18n.bidi.isLtrChar(o)&&!goog.i18n.bidi.isRtlChar(o)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(o,e){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(o,e){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(o,e){return o=goog.i18n.bidi.stripHtmlIfNeeded_(o,e),goog.i18n.bidi.isRequiredLtrRe_.test(o)||!goog.i18n.bidi.hasAnyLtr(o)&&!goog.i18n.bidi.hasAnyRtl(o)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(o,e){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(o,e){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(o){return goog.i18n.bidi.rtlLocalesRe_.test(o)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(o,e){return e=(e===void 0?goog.i18n.bidi.hasAnyRtl(o):e)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,o.replace(goog.i18n.bidi.bracketGuardTextRe_,e+"$&"+e)},goog.i18n.bidi.enforceRtlInHtml=function(o){return o.charAt(0)=="<"?o.replace(/<\w+/,"$& dir=rtl"):`
|
|
156
156
|
<span dir=rtl>`+o+"</span>"},goog.i18n.bidi.enforceRtlInText=function(o){return goog.i18n.bidi.Format.RLE+o+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(o){return o.charAt(0)=="<"?o.replace(/<\w+/,"$& dir=ltr"):`
|
|
157
157
|
<span dir=ltr>`+o+"</span>"},goog.i18n.bidi.enforceLtrInText=function(o){return goog.i18n.bidi.Format.LRE+o+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(o){return o.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(o){return o.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\u05F4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\u05F3")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(o,e){var r=0,s=0,t=!1;for(o=goog.i18n.bidi.stripHtmlIfNeeded_(o,e).split(goog.i18n.bidi.wordSeparatorRe_),e=0;e<o.length;e++){var i=o[e];goog.i18n.bidi.startsWithRtl(i)?(r++,s++):goog.i18n.bidi.isRequiredLtrRe_.test(i)?t=!0:goog.i18n.bidi.hasAnyLtr(i)?s++:goog.i18n.bidi.hasNumeralsRe_.test(i)&&(t=!0)}return s==0?t?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:r/s>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(o,e){return goog.i18n.bidi.estimateDirection(o,e)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(o,e){o&&(e=goog.i18n.bidi.toDir(e))&&(o.style.textAlign=e==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,o.dir=e==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(o,e){switch(goog.i18n.bidi.estimateDirection(e)){case goog.i18n.bidi.Dir.LTR:o.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:o.dir="rtl";break;default:o.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(o,e){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=o===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&e||"",this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(o,e){var r=goog.html.TrustedResourceUrl.unwrap(this);r=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(r);var s=r[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(r[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",r[2]||"",o)+goog.html.TrustedResourceUrl.stringifyParams_("#",s,e))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(o){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(o){return o instanceof goog.html.TrustedResourceUrl&&o.constructor===goog.html.TrustedResourceUrl&&o.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.format=function(o,e){var r=goog.string.Const.unwrap(o);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(r))throw Error("Invalid TrustedResourceUrl format: "+r);return o=r.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(s,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw Error('Found marker, "'+t+'", in format string, "'+r+'", but no valid label mapping found in args: '+JSON.stringify(e));return s=e[t],s instanceof goog.string.Const?goog.string.Const.unwrap(s):encodeURIComponent(String(s))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(o,e,r,s){return goog.html.TrustedResourceUrl.format(o,e).cloneWithParams(r,s)},goog.html.TrustedResourceUrl.fromConstant=function(o){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))},goog.html.TrustedResourceUrl.fromConstants=function(o){for(var e="",r=0;r<o.length;r++)e+=goog.string.Const.unwrap(o[r]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.fromSafeScript=function(o){return o=goog.fs.blob.getBlobWithProperties([goog.html.SafeScript.unwrap(o)],"text/javascript"),o=goog.fs.url.createObjectUrl(o),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(o){return o=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(o):o,new goog.html.TrustedResourceUrl(goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_,o)},goog.html.TrustedResourceUrl.stringifyParams_=function(o,e,r){if(r==null)return e;if(typeof r=="string")return r?o+encodeURIComponent(r):"";for(var s in r){var t=r[s];t=Array.isArray(t)?t:[t];for(var i=0;i<t.length;i++){var n=t[i];n!=null&&(e||(e=o),e+=(e.length>o.length?"&":"")+encodeURIComponent(s)+"="+encodeURIComponent(String(n)))}}return e},goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.internal={},goog.string.internal.startsWith=function(o,e){return o.lastIndexOf(e,0)==0},goog.string.internal.endsWith=function(o,e){var r=o.length-e.length;return 0<=r&&o.indexOf(e,r)==r},goog.string.internal.caseInsensitiveStartsWith=function(o,e){return goog.string.internal.caseInsensitiveCompare(e,o.substr(0,e.length))==0},goog.string.internal.caseInsensitiveEndsWith=function(o,e){return goog.string.internal.caseInsensitiveCompare(e,o.substr(o.length-e.length,e.length))==0},goog.string.internal.caseInsensitiveEquals=function(o,e){return o.toLowerCase()==e.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(o){return/^[\s\xa0]*$/.test(o)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(o){return o.trim()}:function(o){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(o)[1]},goog.string.internal.caseInsensitiveCompare=function(o,e){return o=String(o).toLowerCase(),e=String(e).toLowerCase(),o<e?-1:o==e?0:1},goog.string.internal.newLineToBr=function(o,e){return o.replace(/(\r\n|\r|\n)/g,e?"<br />":"<br>")},goog.string.internal.htmlEscape=function(o,e){if(e)o=o.replace(goog.string.internal.AMP_RE_,"&").replace(goog.string.internal.LT_RE_,"<").replace(goog.string.internal.GT_RE_,">").replace(goog.string.internal.QUOT_RE_,""").replace(goog.string.internal.SINGLE_QUOTE_RE_,"'").replace(goog.string.internal.NULL_RE_,"�");else{if(!goog.string.internal.ALL_RE_.test(o))return o;o.indexOf("&")!=-1&&(o=o.replace(goog.string.internal.AMP_RE_,"&")),o.indexOf("<")!=-1&&(o=o.replace(goog.string.internal.LT_RE_,"<")),o.indexOf(">")!=-1&&(o=o.replace(goog.string.internal.GT_RE_,">")),o.indexOf('"')!=-1&&(o=o.replace(goog.string.internal.QUOT_RE_,""")),o.indexOf("'")!=-1&&(o=o.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'")),o.indexOf("\0")!=-1&&(o=o.replace(goog.string.internal.NULL_RE_,"�"))}return o},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(o,e){return goog.string.internal.newLineToBr(o.replace(/ /g,"  "),e)},goog.string.internal.contains=function(o,e){return o.indexOf(e)!=-1},goog.string.internal.caseInsensitiveContains=function(o,e){return goog.string.internal.contains(o.toLowerCase(),e.toLowerCase())},goog.string.internal.compareVersions=function(o,e){var r=0;o=goog.string.internal.trim(String(o)).split("."),e=goog.string.internal.trim(String(e)).split(".");for(var s=Math.max(o.length,e.length),t=0;r==0&&t<s;t++){var i=o[t]||"",n=e[t]||"";do{if(i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],n=/(\d*)(\D*)(.*)/.exec(n)||["","","",""],i[0].length==0&&n[0].length==0)break;r=i[1].length==0?0:parseInt(i[1],10);var p=n[1].length==0?0:parseInt(n[1],10);r=goog.string.internal.compareElements_(r,p)||goog.string.internal.compareElements_(i[2].length==0,n[2].length==0)||goog.string.internal.compareElements_(i[2],n[2]),i=i[3],n=n[3]}while(r==0)}return r},goog.string.internal.compareElements_=function(o,e){return o<e?-1:o>e?1:0},goog.html.SafeUrl=function(o,e){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=o===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&e||"",this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(o){return o instanceof goog.html.SafeUrl&&o.constructor===goog.html.SafeUrl&&o.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(o){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(o)},goog.html.SafeUrl.fromBlob=function(o){return o=goog.html.SafeUrl.isSafeMimeType(o.type)?goog.fs.url.createObjectUrl(o):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromMediaSource=function(o){return goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource"),o=o instanceof MediaSource?goog.fs.url.createObjectUrl(o):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.fromDataUrl=function(o){o=o.replace(/(%0A|%0D)/g,"");var e=o.match(goog.html.DATA_URL_PATTERN_);return e=e&&goog.html.SafeUrl.isSafeMimeType(e[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e?o:goog.html.SafeUrl.INNOCUOUS_STRING)},goog.html.SafeUrl.fromTelUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"tel:")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(o){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(o))||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"fb-messenger://share")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromWhatsAppUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"whatsapp://send")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromSmsUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(o){var e=o.indexOf("#");if(0<e&&(o=o.substring(0,e)),e=o.match(/[?&]body=/gi),!e)return!0;if(1<e.length)return!1;if(o=o.match(/[?&]body=([^&]*)/)[1],!o)return!0;try{decodeURIComponent(o)}catch{return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(o)},goog.html.SafeUrl.fromSshUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"ssh://")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(o,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,o,e)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(o,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,o,e)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(o,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,o,e)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(o,e,r){return(o=o.exec(e))?(o=o[1],(r instanceof goog.string.Const?[goog.string.Const.unwrap(r)]:r.map(function(s){return goog.string.Const.unwrap(s)})).indexOf(o)==-1&&(e=goog.html.SafeUrl.INNOCUOUS_STRING)):e=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromTrustedResourceUrl=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(o))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.sanitize=function(o){return o instanceof goog.html.SafeUrl?o:(o=typeof o=="object"&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SAFE_URL_PATTERN_.test(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeUrl.sanitizeAssertUnchanged=function(o,e){return o instanceof goog.html.SafeUrl?o:(o=typeof o=="object"&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),e&&/^data:/i.test(o)&&(e=goog.html.SafeUrl.fromDataUrl(o),e.getTypedStringValue()==o)?e:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(o),"%s does not match the safe URL pattern",o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)))},goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeUrl(goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_,o)},goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_="",this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyle.fromConstant=function(o){return o=goog.string.Const.unwrap(o),o.length===0?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(o,";"),"Last character of style string is not ';': "+o),goog.asserts.assert(goog.string.internal.contains(o,":"),`Style string must contain at least one ':', to specify a "name: value" pair: `+o),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(o){return o instanceof goog.html.SafeStyle&&o.constructor===goog.html.SafeStyle&&o.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyle")},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeStyle().initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=o,this},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(o){var e="",r;for(r in o){if(!/^[-_a-zA-Z0-9]+$/.test(r))throw Error("Name allows only [-_a-zA-Z0-9], got: "+r);var s=o[r];s!=null&&(s=Array.isArray(s)?goog.array.map(s,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(s),e+=r+":"+s+";")}return e?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(o){if(o instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(o).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(o=o instanceof goog.string.Const?goog.string.Const.unwrap(o):goog.html.SafeStyle.sanitizePropertyValueString_(String(o)),/[{;}]/.test(o))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[o]);return o},goog.html.SafeStyle.sanitizePropertyValueString_=function(o){var e=o.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");if(goog.html.SafeStyle.VALUE_RE_.test(e)){if(goog.html.SafeStyle.COMMENT_RE_.test(o))return goog.asserts.fail("String value disallows comments, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedQuotes_(o))return goog.asserts.fail("String value requires balanced quotes, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedSquareBrackets_(o))return goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING}else return goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING;return goog.html.SafeStyle.sanitizeUrl_(o)},goog.html.SafeStyle.hasBalancedQuotes_=function(o){for(var e=!0,r=!0,s=0;s<o.length;s++){var t=o.charAt(s);t=="'"&&r?e=!e:t=='"'&&e&&(r=!r)}return e&&r},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(o){for(var e=!0,r=/^[-_a-zA-Z0-9]$/,s=0;s<o.length;s++){var t=o.charAt(s);if(t=="]"){if(e)return!1;e=!0}else if(t=="["){if(!e)return!1;e=!1}else if(!e&&!r.test(t))return!1}return e},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_=`[-,."'%_!# a-zA-Z0-9\\[\\]]`,goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.ALLOWED_FUNCTIONS_="calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?".split(" "),goog.html.SafeStyle.FUNCTIONS_RE_=new RegExp("\\b("+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join("|")+")\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(o){return o.replace(goog.html.SafeStyle.URL_RE_,function(e,r,s,t){var i="";return s=s.replace(/^(['"])(.*)\1$/,function(n,p,g){return i=p,g}),e=goog.html.SafeUrl.sanitize(s).getTypedStringValue(),r+i+e+i+t})},goog.html.SafeStyle.concat=function(o){var e="",r=function(s){Array.isArray(s)?goog.array.forEach(s,r):e+=goog.html.SafeStyle.unwrap(s)};return goog.array.forEach(arguments,r),e?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e):goog.html.SafeStyle.EMPTY},goog.html.SafeStyleSheet=function(){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_="",this.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyleSheet.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyleSheet.createRule=function(o,e){if(goog.string.internal.contains(o,"<"))throw Error("Selector does not allow '<', got: "+o);var r=o.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(r))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+o);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(r))throw Error("() and [] in selector must be balanced, got: "+o);return e instanceof goog.html.SafeStyle||(e=goog.html.SafeStyle.create(e)),o=o+"{"+goog.html.SafeStyle.unwrap(e).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeStyleSheet.hasBalancedBrackets_=function(o){for(var e={"(":")","[":"]"},r=[],s=0;s<o.length;s++){var t=o[s];if(e[t])r.push(e[t]);else if(goog.object.contains(e,t)&&r.pop()!=t)return!1}return r.length==0},goog.html.SafeStyleSheet.concat=function(o){var e="",r=function(s){Array.isArray(s)?goog.array.forEach(s,r):e+=goog.html.SafeStyleSheet.unwrap(s)};return goog.array.forEach(arguments,r),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeStyleSheet.fromConstant=function(o){return o=goog.string.Const.unwrap(o),o.length===0?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(o,"<"),"Forbidden '<' character in style sheet string: "+o),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},goog.DEBUG&&(goog.html.SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),goog.html.SafeStyleSheet.unwrap=function(o){return o instanceof goog.html.SafeStyleSheet&&o.constructor===goog.html.SafeStyleSheet&&o.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyleSheet")},goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeStyleSheet().initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=o,this},goog.html.SafeStyleSheet.EMPTY=goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var o=goog.labs.userAgent.util.getNavigator_();return o&&(o=o.userAgent)?o:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(o){goog.labs.userAgent.util.userAgent_=o||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(o){var e=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(e,o)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(o){var e=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(e,o)},goog.labs.userAgent.util.extractVersionTuples=function(o){for(var e=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[],s;s=e.exec(o);)r.push([s[1],s[2],s[3]||void 0]);return r},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function o(t){return t=goog.array.find(t,s),r[t]||""}var e=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(e);e=goog.labs.userAgent.util.extractVersionTuples(e);var r={};goog.array.forEach(e,function(t){r[t[0]]=t[1]});var s=goog.partial(goog.object.containsKey,r);return goog.labs.userAgent.browser.isOpera()?o(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?o(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?o(["Edg"]):goog.labs.userAgent.browser.isChrome()?o(["Chrome","CriOS","HeadlessChrome"]):(e=e[2])&&e[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(o){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),o)},goog.labs.userAgent.browser.getIEVersion_=function(o){var e=/rv: *([\d\.]*)/.exec(o);if(e&&e[1])return e[1];e="";var r=/MSIE +([\d\.]+)/.exec(o);if(r&&r[1])if(o=/Trident\/(\d.\d)/.exec(o),r[1]=="7.0")if(o&&o[1])switch(o[1]){case"4.0":e="8.0";break;case"5.0":e="9.0";break;case"6.0":e="10.0";break;case"7.0":e="11.0"}else e="7.0";else e=r[1];return e},goog.html.SafeHtml=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_="",this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_,this.dir_=null},goog.html.SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG,goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0,goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(o){return goog.html.SafeHtml.unwrapTrustedHTML(o).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(o){return o instanceof goog.html.SafeHtml&&o.constructor===goog.html.SafeHtml&&o.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(o){if(o instanceof goog.html.SafeHtml)return o;var e=typeof o=="object",r=null;return e&&o.implementsGoogI18nBidiDirectionalString&&(r=o.getDirection()),o=e&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(o),r)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(o)),o.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(o)),o.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.comment=function(o){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!--"+goog.string.internal.htmlEscape(o)+"-->",null)},goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.html.SafeHtml.create=function(o,e,r){return goog.html.SafeHtml.verifyTagName(String(o)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(o),e,r)},goog.html.SafeHtml.verifyTagName=function(o){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(o))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid tag name <"+o+">.":"");if(o.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+o+"> is not allowed for SafeHtml.":"")},goog.html.SafeHtml.createIframe=function(o,e,r,s){o&&goog.html.TrustedResourceUrl.unwrap(o);var t={};return t.src=o||null,t.srcdoc=e&&goog.html.SafeHtml.unwrap(e),o=goog.html.SafeHtml.combineAttributes(t,{sandbox:""},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,s)},goog.html.SafeHtml.createSandboxIframe=function(o,e,r,s){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var t={};return t.src=o?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)):null,t.srcdoc=e||null,t.sandbox="",o=goog.html.SafeHtml.combineAttributes(t,{},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,s)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(o,e){return goog.html.TrustedResourceUrl.unwrap(o),o=goog.html.SafeHtml.combineAttributes({src:o},{},e),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",o)},goog.html.SafeHtml.createScript=function(o,e){for(var r in e){var s=r.toLowerCase();if(s=="language"||s=="src"||s=="text"||s=="type")throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot set "'+s+'" attribute':"")}for(r="",o=goog.array.concat(o),s=0;s<o.length;s++)r+=goog.html.SafeScript.unwrap(o[s]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",e,o)},goog.html.SafeHtml.createStyle=function(o,e){e=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},e);var r="";o=goog.array.concat(o);for(var s=0;s<o.length;s++)r+=goog.html.SafeStyleSheet.unwrap(o[s]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",e,o)},goog.html.SafeHtml.createMetaRefresh=function(o,e){return o=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(o,";")&&(o="'"+o.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(e||0)+"; url="+o})},goog.html.SafeHtml.getAttrNameAndValue_=function(o,e,r){if(r instanceof goog.string.Const)r=goog.string.Const.unwrap(r);else if(e.toLowerCase()=="style")if(goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)r=goog.html.SafeHtml.getStyleValue_(r);else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"");else{if(/^on/i.test(e))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+e+'" requires goog.string.Const value, "'+r+'" given.':"");if(e.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(r instanceof goog.html.TrustedResourceUrl)r=goog.html.TrustedResourceUrl.unwrap(r);else if(r instanceof goog.html.SafeUrl)r=goog.html.SafeUrl.unwrap(r);else if(typeof r=="string")r=goog.html.SafeUrl.sanitize(r).getTypedStringValue();else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+e+'" on tag "'+o+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+r+'" given.':"")}return r.implementsGoogStringTypedString&&(r=r.getTypedStringValue()),goog.asserts.assert(typeof r=="string"||typeof r=="number","String or number value expected, got "+typeof r+" with value: "+r),e+'="'+goog.string.internal.htmlEscape(String(r))+'"'},goog.html.SafeHtml.getStyleValue_=function(o){if(!goog.isObject(o))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof o+" given: "+o:"");return o instanceof goog.html.SafeStyle||(o=goog.html.SafeStyle.create(o)),goog.html.SafeStyle.unwrap(o)},goog.html.SafeHtml.createWithDir=function(o,e,r,s){return e=goog.html.SafeHtml.create(e,r,s),e.dir_=o,e},goog.html.SafeHtml.join=function(o,e){o=goog.html.SafeHtml.htmlEscape(o);var r=o.getDirection(),s=[],t=function(i){Array.isArray(i)?goog.array.forEach(i,t):(i=goog.html.SafeHtml.htmlEscape(i),s.push(goog.html.SafeHtml.unwrap(i)),i=i.getDirection(),r==goog.i18n.bidi.Dir.NEUTRAL?r=i:i!=goog.i18n.bidi.Dir.NEUTRAL&&r!=i&&(r=null))};return goog.array.forEach(e,t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(s.join(goog.html.SafeHtml.unwrap(o)),r)},goog.html.SafeHtml.concat=function(o){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(o,e){var r=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return r.dir_=o,r},goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(o,e){return new goog.html.SafeHtml().initSecurityPrivateDoNotAccessOrElse_(o,e)},goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o,e){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(o):o,this.dir_=e,this},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(o,e,r){var s=null,t="<"+o+goog.html.SafeHtml.stringifyAttributes(o,e);return r==null?r=[]:Array.isArray(r)||(r=[r]),goog.dom.tags.isVoidTag(o.toLowerCase())?(goog.asserts.assert(!r.length,"Void tag <"+o+"> does not allow content."),t+=">"):(s=goog.html.SafeHtml.concat(r),t+=">"+goog.html.SafeHtml.unwrap(s)+"</"+o+">",s=s.getDirection()),(o=e&&e.dir)&&(s=/^(ltr|rtl|auto)$/i.test(o)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,s)},goog.html.SafeHtml.stringifyAttributes=function(o,e){var r="";if(e)for(var s in e){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(s))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+s+'".':"");var t=e[s];t!=null&&(r+=" "+goog.html.SafeHtml.getAttrNameAndValue_(o,s,t))}return r},goog.html.SafeHtml.combineAttributes=function(o,e,r){var s={},t;for(t in o)goog.asserts.assert(t.toLowerCase()==t,"Must be lower case"),s[t]=o[t];for(t in e)goog.asserts.assert(t.toLowerCase()==t,"Must be lower case"),s[t]=e[t];if(r)for(t in r){var i=t.toLowerCase();if(i in o)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot override "'+i+'" attribute, got "'+t+'" with value "'+r[t]+'"':"");i in e&&delete s[i],s[t]=r[t]}return s},goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.EMPTY=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(o,e,r){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(e,r||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(o,e,r){o.insertAdjacentHTML(e,goog.html.SafeHtml.unwrapTrustedHTML(r))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue(function(){if(goog.DEBUG&&typeof document>"u")return!1;var o=document.createElement("div"),e=document.createElement("div");return e.appendChild(document.createElement("div")),o.appendChild(e),goog.DEBUG&&!o.firstChild?!1:(e=o.firstChild.firstChild,o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),!e.parentElement)}),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(o,e){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;o.lastChild;)o.removeChild(o.lastChild);o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setInnerHtml=function(o,e){if(goog.asserts.ENABLE_ASSERTS){var r=o.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[r])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+o.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(o,e)},goog.dom.safe.setOuterHtml=function(o,e){o.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setFormElementAction=function(o,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLFormElement(o).action=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setButtonFormAction=function(o,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLButtonElement(o).formAction=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setInputFormAction=function(o,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLInputElement(o).formAction=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setStyle=function(o,e){o.style.cssText=goog.html.SafeStyle.unwrap(e)},goog.dom.safe.documentWrite=function(o,e){o.write(goog.html.SafeHtml.unwrapTrustedHTML(e))},goog.dom.safe.setAnchorHref=function(o,e){goog.dom.asserts.assertIsHTMLAnchorElement(o),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),o.href=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setImageSrc=function(o,e){if(goog.dom.asserts.assertIsHTMLImageElement(o),!(e instanceof goog.html.SafeUrl)){var r=/^data:image\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,r)}o.src=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setAudioSrc=function(o,e){if(goog.dom.asserts.assertIsHTMLAudioElement(o),!(e instanceof goog.html.SafeUrl)){var r=/^data:audio\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,r)}o.src=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setVideoSrc=function(o,e){if(goog.dom.asserts.assertIsHTMLVideoElement(o),!(e instanceof goog.html.SafeUrl)){var r=/^data:video\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,r)}o.src=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setEmbedSrc=function(o,e){goog.dom.asserts.assertIsHTMLEmbedElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e)},goog.dom.safe.setFrameSrc=function(o,e){goog.dom.asserts.assertIsHTMLFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrap(e)},goog.dom.safe.setIframeSrc=function(o,e){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrap(e)},goog.dom.safe.setIframeSrcdoc=function(o,e){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setLinkHrefAndRel=function(o,e,r){goog.dom.asserts.assertIsHTMLLinkElement(o),o.rel=r,goog.string.internal.caseInsensitiveContains(r,"stylesheet")?(goog.asserts.assert(e instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),o.href=goog.html.TrustedResourceUrl.unwrap(e)):o.href=e instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(e):e instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(e):goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(e))},goog.dom.safe.setObjectData=function(o,e){goog.dom.asserts.assertIsHTMLObjectElement(o),o.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e)},goog.dom.safe.setScriptSrc=function(o,e){goog.dom.asserts.assertIsHTMLScriptElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e),(e=goog.getScriptNonce())&&o.setAttribute("nonce",e)},goog.dom.safe.setScriptContent=function(o,e){goog.dom.asserts.assertIsHTMLScriptElement(o),o.text=goog.html.SafeScript.unwrapTrustedScript(e),(e=goog.getScriptNonce())&&o.setAttribute("nonce",e)},goog.dom.safe.setLocationHref=function(o,e){goog.dom.asserts.assertIsLocation(o),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),o.href=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.assignLocation=function(o,e){goog.dom.asserts.assertIsLocation(o),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),o.assign(goog.html.SafeUrl.unwrap(e))},goog.dom.safe.replaceLocation=function(o,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),o.replace(goog.html.SafeUrl.unwrap(e))},goog.dom.safe.openInWindow=function(o,e,r,s,t){return o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),e=e||goog.global,r=r instanceof goog.string.Const?goog.string.Const.unwrap(r):r||"",e.open(goog.html.SafeUrl.unwrap(o),r,s,t)},goog.dom.safe.parseFromStringHtml=function(o,e){return goog.dom.safe.parseFromString(o,e,"text/html")},goog.dom.safe.parseFromString=function(o,e,r){return o.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(e),r)},goog.dom.safe.createImageFromBlob=function(o){if(!/^image\/.*/g.test(o.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var e=goog.global.URL.createObjectURL(o);return o=new goog.global.Image,o.onload=function(){goog.global.URL.revokeObjectURL(e)},goog.dom.safe.setImageSrc(o,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),e)),o},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:"\xA0"},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(o,e){for(var r=o.split("%s"),s="",t=Array.prototype.slice.call(arguments,1);t.length&&1<r.length;)s+=r.shift()+t.shift();return s+r.join("%s")},goog.string.collapseWhitespace=function(o){return o.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(o){return o.length==0},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(o){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(o))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(o){return!/[^\t\n\r ]/.test(o)},goog.string.isAlpha=function(o){return!/[^a-zA-Z]/.test(o)},goog.string.isNumeric=function(o){return!/[^0-9]/.test(o)},goog.string.isAlphaNumeric=function(o){return!/[^a-zA-Z0-9]/.test(o)},goog.string.isSpace=function(o){return o==" "},goog.string.isUnicodeChar=function(o){return o.length==1&&" "<=o&&"~">=o||"\x80"<=o&&"\uFFFD">=o},goog.string.stripNewlines=function(o){return o.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(o){return o.replace(/(\r\n|\r|\n)/g,`
|
|
158
|
-
`)},goog.string.normalizeWhitespace=function(o){return o.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(o){return o.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(o){return o.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(o){return o.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(o){return o.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(o,e,r){if(o==e)return 0;if(!o)return-1;if(!e)return 1;for(var s=o.toLowerCase().match(r),t=e.toLowerCase().match(r),i=Math.min(s.length,t.length),n=0;n<i;n++){r=s[n];var p=t[n];if(r!=p)return o=parseInt(r,10),!isNaN(o)&&(e=parseInt(p,10),!isNaN(e)&&o-e)?o-e:r<p?-1:1}return s.length!=t.length?s.length-t.length:o<e?-1:1},goog.string.intAwareCompare=function(o,e){return goog.string.numberAwareCompare_(o,e,/\d+|\D+/g)},goog.string.floatAwareCompare=function(o,e){return goog.string.numberAwareCompare_(o,e,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(o){return encodeURIComponent(String(o))},goog.string.urlDecode=function(o){return decodeURIComponent(o.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(o,e){return o=goog.string.internal.htmlEscape(o,e),goog.string.DETECT_DOUBLE_ESCAPING&&(o=o.replace(goog.string.E_RE_,"e")),o},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(o){return goog.string.contains(o,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(o):goog.string.unescapePureXmlEntities_(o):o},goog.string.unescapeEntitiesWithDocument=function(o,e){return goog.string.contains(o,"&")?goog.string.unescapeEntitiesUsingDom_(o,e):o},goog.string.unescapeEntitiesUsingDom_=function(o,e){var r={"&":"&","<":"<",">":">",""":'"'},s=e?e.createElement("div"):goog.global.document.createElement("div");return o.replace(goog.string.HTML_ENTITY_PATTERN_,function(t,i){var n=r[t];return n||(i.charAt(0)=="#"&&(i=Number("0"+i.substr(1)),isNaN(i)||(n=String.fromCharCode(i))),n||(goog.dom.safe.setInnerHtml(s,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),t+" ")),n=s.firstChild.nodeValue.slice(0,-1)),r[t]=n)})},goog.string.unescapePureXmlEntities_=function(o){return o.replace(/&([^;]+);/g,function(e,r){switch(r){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return r.charAt(0)!="#"||(r=Number("0"+r.substr(1)),isNaN(r))?e:String.fromCharCode(r)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(o,e){return goog.string.newLineToBr(o.replace(/ /g,"  "),e)},goog.string.preserveSpaces=function(o){return o.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(o,e){for(var r=e.length,s=0;s<r;s++){var t=r==1?e:e.charAt(s);if(o.charAt(0)==t&&o.charAt(o.length-1)==t)return o.substring(1,o.length-1)}return o},goog.string.truncate=function(o,e,r){return r&&(o=goog.string.unescapeEntities(o)),o.length>e&&(o=o.substring(0,e-3)+"..."),r&&(o=goog.string.htmlEscape(o)),o},goog.string.truncateMiddle=function(o,e,r,s){if(r&&(o=goog.string.unescapeEntities(o)),s&&o.length>e){s>e&&(s=e);var t=o.length-s;o=o.substring(0,e-s)+"..."+o.substring(t)}else o.length>e&&(s=Math.floor(e/2),t=o.length-s,o=o.substring(0,s+e%2)+"..."+o.substring(t));return r&&(o=goog.string.htmlEscape(o)),o},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(o){o=String(o);for(var e=['"'],r=0;r<o.length;r++){var s=o.charAt(r),t=s.charCodeAt(0);e[r+1]=goog.string.specialEscapeChars_[s]||(31<t&&127>t?s:goog.string.escapeChar(s))}return e.push('"'),e.join("")},goog.string.escapeString=function(o){for(var e=[],r=0;r<o.length;r++)e[r]=goog.string.escapeChar(o.charAt(r));return e.join("")},goog.string.escapeChar=function(o){if(o in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[o];if(o in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[o]=goog.string.specialEscapeChars_[o];var e=o.charCodeAt(0);if(31<e&&127>e)var r=o;else 256>e?(r="\\x",(16>e||256<e)&&(r+="0")):(r="\\u",4096>e&&(r+="0")),r+=e.toString(16).toUpperCase();return goog.string.jsEscapeCache_[o]=r},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(o,e){return o&&e?o.split(e).length-1:0},goog.string.removeAt=function(o,e,r){var s=o;return 0<=e&&e<o.length&&0<r&&(s=o.substr(0,e)+o.substr(e+r,o.length-e-r)),s},goog.string.remove=function(o,e){return o.replace(e,"")},goog.string.removeAll=function(o,e){return e=new RegExp(goog.string.regExpEscape(e),"g"),o.replace(e,"")},goog.string.replaceAll=function(o,e,r){return e=new RegExp(goog.string.regExpEscape(e),"g"),o.replace(e,r.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(o){return String(o).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(o,e){return o.repeat(e)}:function(o,e){return Array(e+1).join(o)},goog.string.padNumber=function(o,e,r){return o=r!==void 0?o.toFixed(r):String(o),r=o.indexOf("."),r==-1&&(r=o.length),goog.string.repeat("0",Math.max(0,e-r))+o},goog.string.makeSafe=function(o){return o==null?"":String(o)},goog.string.buildString=function(o){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(o){for(var e=0,r=0;r<o.length;++r)e=31*e+o.charCodeAt(r)>>>0;return e},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(o){var e=Number(o);return e==0&&goog.string.isEmptyOrWhitespace(o)?NaN:e},goog.string.isLowerCamelCase=function(o){return/^[a-z]+([A-Z][a-z]*)*$/.test(o)},goog.string.isUpperCamelCase=function(o){return/^([A-Z][a-z]*)+$/.test(o)},goog.string.toCamelCase=function(o){return String(o).replace(/\-([a-z])/g,function(e,r){return r.toUpperCase()})},goog.string.toSelectorCase=function(o){return String(o).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(o,e){return e=typeof e=="string"?goog.string.regExpEscape(e):"\\s",o.replace(new RegExp("(^"+(e?"|["+e+"]+":"")+")([a-z])","g"),function(r,s,t){return s+t.toUpperCase()})},goog.string.capitalize=function(o){return String(o.charAt(0)).toUpperCase()+String(o.substr(1)).toLowerCase()},goog.string.parseInt=function(o){return isFinite(o)&&(o=String(o)),typeof o=="string"?/^\s*-?0x/i.test(o)?parseInt(o,16):parseInt(o,10):NaN},goog.string.splitLimit=function(o,e,r){o=o.split(e);for(var s=[];0<r&&o.length;)s.push(o.shift()),r--;return o.length&&s.push(o.join(e)),s},goog.string.lastComponent=function(o,e){if(e)typeof e=="string"&&(e=[e]);else return o;for(var r=-1,s=0;s<e.length;s++)if(e[s]!=""){var t=o.lastIndexOf(e[s]);t>r&&(r=t)}return r==-1?o:o.slice(r+1)},goog.string.editDistance=function(o,e){var r=[],s=[];if(o==e)return 0;if(!o.length||!e.length)return Math.max(o.length,e.length);for(var t=0;t<e.length+1;t++)r[t]=t;for(t=0;t<o.length;t++){s[0]=t+1;for(var i=0;i<e.length;i++)s[i+1]=Math.min(s[i]+1,r[i+1]+1,r[i]+Number(o[t]!=e[i]));for(i=0;i<r.length;i++)r[i]=s[i]}return s[e.length]},goog.labs.userAgent.engine={},goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")},goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent();if(o){o=goog.labs.userAgent.util.extractVersionTuples(o);var e=goog.labs.userAgent.engine.getEngineTuple_(o);if(e)return e[0]=="Gecko"?goog.labs.userAgent.engine.getVersionForKey_(o,"Firefox"):e[1];o=o[0];var r;if(o&&(r=o[2])&&(r=/Trident\/([^\s;]+)/.exec(r)))return r[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(o){if(!goog.labs.userAgent.engine.isEdge())return o[1];for(var e=0;e<o.length;e++){var r=o[e];if(r[0]=="Edge")return r}},goog.labs.userAgent.engine.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),o)},goog.labs.userAgent.engine.getVersionForKey_=function(o,e){return(o=goog.array.find(o,function(r){return e==r[0]}))&&o[1]||""},goog.labs.userAgent.platform={},goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")},goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")},goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()},goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")},goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")},goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")},goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")},goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")},goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")},goog.labs.userAgent.platform.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent(),e="";return goog.labs.userAgent.platform.isWindows()?(e=/Windows (?:NT|Phone) ([0-9.]+)/,e=(o=e.exec(o))?o[1]:"0.0"):goog.labs.userAgent.platform.isIos()?(e=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,e=(o=e.exec(o))&&o[1].replace(/_/g,".")):goog.labs.userAgent.platform.isMacintosh()?(e=/Mac OS X ([0-9_.]+)/,e=(o=e.exec(o))?o[1].replace(/_/g,"."):"10"):goog.labs.userAgent.platform.isKaiOS()?(e=/(?:KaiOS)\/(\S+)/i,e=(o=e.exec(o))&&o[1]):goog.labs.userAgent.platform.isAndroid()?(e=/Android\s+([^\);]+)(\)|;)/,e=(o=e.exec(o))&&o[1]):goog.labs.userAgent.platform.isChromeOS()&&(e=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,e=(o=e.exec(o))&&o[1]),e||""},goog.labs.userAgent.platform.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),o)},goog.reflect={},goog.reflect.object=function(o,e){return e},goog.reflect.objectProperty=function(o,e){return o},goog.reflect.sinkValue=function(o){return goog.reflect.sinkValue[" "](o),o},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(o,e){try{return goog.reflect.sinkValue(o[e]),!0}catch{}return!1},goog.reflect.cache=function(o,e,r,s){return s=s?s(e):e,Object.prototype.hasOwnProperty.call(o,s)?o[s]:o[s]=r(e)},goog.userAgent={},goog.userAgent.ASSUME_IE=!1,goog.userAgent.ASSUME_EDGE=!1,goog.userAgent.ASSUME_GECKO=!1,goog.userAgent.ASSUME_WEBKIT=!1,goog.userAgent.ASSUME_MOBILE_WEBKIT=!1,goog.userAgent.ASSUME_OPERA=!1,goog.userAgent.ASSUME_ANY_VERSION=!1,goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA,goog.userAgent.getUserAgentString=function(){return goog.labs.userAgent.util.getUserAgent()},goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||null},goog.userAgent.getNavigator=function(){return goog.userAgent.getNavigatorTyped()},goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:goog.labs.userAgent.browser.isOpera(),goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE(),goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:goog.labs.userAgent.engine.isEdge(),goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE,goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:goog.labs.userAgent.engine.isGecko(),goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit(),goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&goog.labs.userAgent.util.matchUserAgent("Mobile")},goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_(),goog.userAgent.SAFARI=goog.userAgent.WEBKIT,goog.userAgent.determinePlatform_=function(){var o=goog.userAgent.getNavigatorTyped();return o&&o.platform||""},goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_(),goog.userAgent.ASSUME_MAC=!1,goog.userAgent.ASSUME_WINDOWS=!1,goog.userAgent.ASSUME_LINUX=!1,goog.userAgent.ASSUME_X11=!1,goog.userAgent.ASSUME_ANDROID=!1,goog.userAgent.ASSUME_IPHONE=!1,goog.userAgent.ASSUME_IPAD=!1,goog.userAgent.ASSUME_IPOD=!1,goog.userAgent.ASSUME_KAIOS=!1,goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD,goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh(),goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows(),goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()},goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_(),goog.userAgent.isX11_=function(){var o=goog.userAgent.getNavigatorTyped();return!!o&&goog.string.contains(o.appVersion||"","X11")},goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_(),goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:goog.labs.userAgent.platform.isAndroid(),goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone(),goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod(),goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos(),goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS(),goog.userAgent.determineVersion_=function(){var o="",e=goog.userAgent.getVersionRegexResult_();return e&&(o=e?e[1]:""),goog.userAgent.IE&&(e=goog.userAgent.getDocumentMode_(),e!=null&&e>parseFloat(o))?String(e):o},goog.userAgent.getVersionRegexResult_=function(){var o=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv:([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.EDGE)return/Edge\/([\d\.]+)/.exec(o);if(goog.userAgent.IE)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.WEBKIT)return/WebKit\/(\S+)/.exec(o);if(goog.userAgent.OPERA)return/(?:Version)[ \/]?(\S+)/.exec(o)},goog.userAgent.getDocumentMode_=function(){var o=goog.global.document;return o?o.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(o,e){return goog.string.compareVersions(o,e)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(o){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,o,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,o)})},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(o){return Number(goog.userAgent.DOCUMENT_MODE)>=o},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE){var o=goog.userAgent.getDocumentMode_();return o||parseInt(goog.userAgent.VERSION,10)||void 0}}(),goog.userAgent.product={},goog.userAgent.product.ASSUME_FIREFOX=!1,goog.userAgent.product.ASSUME_IPHONE=!1,goog.userAgent.product.ASSUME_IPAD=!1,goog.userAgent.product.ASSUME_ANDROID=!1,goog.userAgent.product.ASSUME_CHROME=!1,goog.userAgent.product.ASSUME_SAFARI=!1,goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI,goog.userAgent.product.OPERA=goog.userAgent.OPERA,goog.userAgent.product.IE=goog.userAgent.IE,goog.userAgent.product.EDGE=goog.userAgent.EDGE,goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox(),goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()},goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_(),goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser(),goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome(),goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!goog.labs.userAgent.platform.isIos()},goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_(),goog.crypt.base64={},goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=",goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.",goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4},goog.crypt.base64.paddingChars_="=.",goog.crypt.base64.isPadding_=function(o){return goog.string.contains(goog.crypt.base64.paddingChars_,o)},goog.crypt.base64.byteToCharMaps_={},goog.crypt.base64.charToByteMap_=null,goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA,goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||typeof goog.global.btoa=="function",goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&typeof goog.global.atob=="function",goog.crypt.base64.encodeByteArray=function(o,e){goog.asserts.assert(goog.isArrayLike(o),"encodeByteArray takes an array as a parameter"),e===void 0&&(e=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),e=goog.crypt.base64.byteToCharMaps_[e];for(var r=[],s=0;s<o.length;s+=3){var t=o[s],i=s+1<o.length,n=i?o[s+1]:0,p=s+2<o.length,g=p?o[s+2]:0,l=t>>2;t=(t&3)<<4|n>>4,n=(n&15)<<2|g>>6,g&=63,p||(g=64,i||(n=64)),r.push(e[l],e[t],e[n]||"",e[g]||"")}return r.join("")},goog.crypt.base64.encodeString=function(o,e){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!e?goog.global.btoa(o):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(o),e)},goog.crypt.base64.decodeString=function(o,e){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!e)return goog.global.atob(o);var r="";return goog.crypt.base64.decodeStringInternal_(o,function(s){r+=String.fromCharCode(s)}),r},goog.crypt.base64.decodeStringToByteArray=function(o,e){var r=[];return goog.crypt.base64.decodeStringInternal_(o,function(s){r.push(s)}),r},goog.crypt.base64.decodeStringToUint8Array=function(o){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var e=o.length,r=3*e/4;r%3?r=Math.floor(r):goog.crypt.base64.isPadding_(o[e-1])&&(r=goog.crypt.base64.isPadding_(o[e-2])?r-2:r-1);var s=new Uint8Array(r),t=0;return goog.crypt.base64.decodeStringInternal_(o,function(i){s[t++]=i}),s.subarray(0,t)},goog.crypt.base64.decodeStringInternal_=function(o,e){function r(g){for(;s<o.length;){var l=o.charAt(s++),u=goog.crypt.base64.charToByteMap_[l];if(u!=null)return u;if(!goog.string.isEmptyOrWhitespace(l))throw Error("Unknown base64 encoding at char: "+l)}return g}goog.crypt.base64.init_();for(var s=0;;){var t=r(-1),i=r(0),n=r(64),p=r(64);if(p===64&&t===-1)break;e(t<<2|i>>4),n!=64&&(e(i<<4&240|n>>2),p!=64&&e(n<<6&192|p))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var o=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),e=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var s=o.concat(e[r].split(""));goog.crypt.base64.byteToCharMaps_[r]=s;for(var t=0;t<s.length;t++){var i=s[t],n=goog.crypt.base64.charToByteMap_[i];n===void 0?goog.crypt.base64.charToByteMap_[i]=t:goog.asserts.assert(n===t)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(o){var e=o>>>0;o=Math.floor((o-e)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=e,jspb.utils.split64High=o},jspb.utils.splitInt64=function(o){var e=0>o;o=Math.abs(o);var r=o>>>0;o=Math.floor((o-r)/jspb.BinaryConstants.TWO_TO_32),o>>>=0,e&&(o=~o>>>0,r=(~r>>>0)+1,4294967295<r&&(r=0,o++,4294967295<o&&(o=0))),jspb.utils.split64Low=r,jspb.utils.split64High=o},jspb.utils.splitZigzag64=function(o){var e=0>o;o=2*Math.abs(o),jspb.utils.splitUint64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;e&&(o==0?r==0?r=o=4294967295:(r--,o=4294967295):o--),jspb.utils.split64Low=o,jspb.utils.split64High=r},jspb.utils.splitFloat32=function(o){var e=0>o?1:0;if(o=e?-o:o,o===0)0<1/o?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(o))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(o>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|2139095040)>>>0;else if(o<jspb.BinaryConstants.FLOAT32_MIN)o=Math.round(o/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|o)>>>0;else{var r=Math.floor(Math.log(o)/Math.LN2);o*=Math.pow(2,-r),o=Math.round(o*jspb.BinaryConstants.TWO_TO_23),16777216<=o&&++r,jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|r+127<<23|o&8388607)>>>0}},jspb.utils.splitFloat64=function(o){var e=0>o?1:0;if(o=e?-o:o,o===0)jspb.utils.split64High=0<1/o?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(o))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(o>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(e<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(o<jspb.BinaryConstants.FLOAT64_MIN){var r=o/Math.pow(2,-1074);o=r/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(e<<31|o)>>>0,jspb.utils.split64Low=r>>>0}else{r=o;var s=0;if(2<=r)for(;2<=r&&1023>s;)s++,r/=2;else for(;1>r&&-1022<s;)r*=2,s--;r=o*Math.pow(2,-s),o=r*jspb.BinaryConstants.TWO_TO_20&1048575,r=r*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(e<<31|s+1023<<20|o)>>>0,jspb.utils.split64Low=r}},jspb.utils.splitHash64=function(o){var e=o.charCodeAt(0),r=o.charCodeAt(1),s=o.charCodeAt(2),t=o.charCodeAt(3),i=o.charCodeAt(4),n=o.charCodeAt(5),p=o.charCodeAt(6);o=o.charCodeAt(7),jspb.utils.split64Low=e+(r<<8)+(s<<16)+(t<<24)>>>0,jspb.utils.split64High=i+(n<<8)+(p<<16)+(o<<24)>>>0},jspb.utils.joinUint64=function(o,e){return e*jspb.BinaryConstants.TWO_TO_32+(o>>>0)},jspb.utils.joinInt64=function(o,e){var r=e&2147483648;return r&&(o=~o+1>>>0,e=~e>>>0,o==0&&(e=e+1>>>0)),o=jspb.utils.joinUint64(o,e),r?-o:o},jspb.utils.toZigzag64=function(o,e,r){var s=e>>31;return r(o<<1^s,(e<<1|o>>>31)^s)},jspb.utils.joinZigzag64=function(o,e){return jspb.utils.fromZigzag64(o,e,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(o,e,r){var s=-(o&1);return r((o>>>1|e<<31)^s,e>>>1^s)},jspb.utils.joinFloat32=function(o,e){e=2*(o>>31)+1;var r=o>>>23&255;return o&=8388607,r==255?o?NaN:1/0*e:r==0?e*Math.pow(2,-149)*o:e*Math.pow(2,r-150)*(o+Math.pow(2,23))},jspb.utils.joinFloat64=function(o,e){var r=2*(e>>31)+1,s=e>>>20&2047;return o=jspb.BinaryConstants.TWO_TO_32*(e&1048575)+o,s==2047?o?NaN:1/0*r:s==0?r*Math.pow(2,-1074)*o:r*Math.pow(2,s-1075)*(o+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(o,e){return String.fromCharCode(o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255,e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(o,e){function r(t,i){return t=t?String(t):"",i?"0000000".slice(t.length)+t:t}if(2097151>=e)return""+jspb.utils.joinUint64(o,e);var s=(o>>>24|e<<8)>>>0&16777215;return e=e>>16&65535,o=(o&16777215)+6777216*s+6710656*e,s+=8147497*e,e*=2,1e7<=o&&(s+=Math.floor(o/1e7),o%=1e7),1e7<=s&&(e+=Math.floor(s/1e7),s%=1e7),r(e,0)+r(s,e)+r(o,1)},jspb.utils.joinSignedDecimalString=function(o,e){var r=e&2147483648;return r&&(o=~o+1>>>0,e=~e+(o==0?1:0)>>>0),o=jspb.utils.joinUnsignedDecimalString(o,e),r?"-"+o:o},jspb.utils.hash64ToDecimalString=function(o,e){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinSignedDecimalString(o,r):jspb.utils.joinUnsignedDecimalString(o,r)},jspb.utils.hash64ArrayToDecimalStrings=function(o,e){for(var r=Array(o.length),s=0;s<o.length;s++)r[s]=jspb.utils.hash64ToDecimalString(o[s],e);return r},jspb.utils.decimalStringToHash64=function(o){function e(n,p){for(var g=0;8>g&&(n!==1||0<p);g++)p=n*t[g]+p,t[g]=p&255,p>>>=8}function r(){for(var n=0;8>n;n++)t[n]=~t[n]&255}jspb.asserts.assert(0<o.length);var s=!1;o[0]==="-"&&(s=!0,o=o.slice(1));for(var t=[0,0,0,0,0,0,0,0],i=0;i<o.length;i++)e(10,o.charCodeAt(i)-jspb.utils.ZERO_CHAR_CODE_);return s&&(r(),e(1,1)),goog.crypt.byteArrayToString(t)},jspb.utils.splitDecimalString=function(o){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o))},jspb.utils.toHexDigit_=function(o){return String.fromCharCode(10>o?jspb.utils.ZERO_CHAR_CODE_+o:jspb.utils.A_CHAR_CODE_-10+o)},jspb.utils.fromHexCharCode_=function(o){return o>=jspb.utils.A_CHAR_CODE_?o-jspb.utils.A_CHAR_CODE_+10:o-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(o){var e=Array(18);e[0]="0",e[1]="x";for(var r=0;8>r;r++){var s=o.charCodeAt(7-r);e[2*r+2]=jspb.utils.toHexDigit_(s>>4),e[2*r+3]=jspb.utils.toHexDigit_(s&15)}return e.join("")},jspb.utils.hexStringToHash64=function(o){o=o.toLowerCase(),jspb.asserts.assert(o.length==18),jspb.asserts.assert(o[0]=="0"),jspb.asserts.assert(o[1]=="x");for(var e="",r=0;8>r;r++){var s=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+2)),t=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+3));e=String.fromCharCode(16*s+t)+e}return e},jspb.utils.hash64ToNumber=function(o,e){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinInt64(o,r):jspb.utils.joinUint64(o,r)},jspb.utils.numberToHash64=function(o){return jspb.utils.splitInt64(o),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(o,e,r){for(var s=0,t=e;t<r;t++)s+=o[t]>>7;return r-e-s},jspb.utils.countVarintFields=function(o,e,r,s){var t=0;if(s=8*s+jspb.BinaryConstants.WireType.VARINT,128>s)for(;e<r&&o[e++]==s;)for(t++;;){var i=o[e++];if((i&128)==0)break}else for(;e<r;){for(i=s;128<i;){if(o[e]!=(i&127|128))return t;e++,i>>=7}if(o[e++]!=i)break;for(t++;i=o[e++],(i&128)!=0;);}return t},jspb.utils.countFixedFields_=function(o,e,r,s,t){var i=0;if(128>s)for(;e<r&&o[e++]==s;)i++,e+=t;else for(;e<r;){for(var n=s;128<n;){if(o[e++]!=(n&127|128))return i;n>>=7}if(o[e++]!=n)break;i++,e+=t}return i},jspb.utils.countFixed32Fields=function(o,e,r,s){return jspb.utils.countFixedFields_(o,e,r,8*s+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(o,e,r,s){return jspb.utils.countFixedFields_(o,e,r,8*s+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(o,e,r,s){var t=0;for(s=8*s+jspb.BinaryConstants.WireType.DELIMITED;e<r;){for(var i=s;128<i;){if(o[e++]!=(i&127|128))return t;i>>=7}if(o[e++]!=i)break;t++;for(var n=0,p=1;i=o[e++],n+=(i&127)*p,p*=128,(i&128)!=0;);e+=n}return t},jspb.utils.debugBytesToTextFormat=function(o){var e='"';if(o){o=jspb.utils.byteSourceToUint8Array(o);for(var r=0;r<o.length;r++)e+="\\x",16>o[r]&&(e+="0"),e+=o[r].toString(16)}return e+'"'},jspb.utils.debugScalarToTextFormat=function(o){return typeof o=="string"?goog.string.quote(o):o.toString()},jspb.utils.stringToByteArray=function(o){for(var e=new Uint8Array(o.length),r=0;r<o.length;r++){var s=o.charCodeAt(r);if(255<s)throw Error("Conversion error: string contains codepoint outside of byte range");e[r]=s}return e},jspb.utils.byteSourceToUint8Array=function(o){return o.constructor===Uint8Array?o:o.constructor===ArrayBuffer||o.constructor===Array?new Uint8Array(o):o.constructor===String?goog.crypt.base64.decodeStringToUint8Array(o):o instanceof Uint8Array?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):(jspb.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(o,e,r){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,o&&this.setBlock(o,e,r)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(o,e,r){if(jspb.BinaryDecoder.instanceCache_.length){var s=jspb.BinaryDecoder.instanceCache_.pop();return o&&s.setBlock(o,e,r),s}return new jspb.BinaryDecoder(o,e,r)},jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)},jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)},jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1},jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_},jspb.BinaryDecoder.prototype.setBlock=function(o,e,r){this.bytes_=jspb.utils.byteSourceToUint8Array(o),this.start_=e!==void 0?e:0,this.end_=r!==void 0?this.start_+r:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(o){this.end_=o},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(o){this.cursor_=o},jspb.BinaryDecoder.prototype.advance=function(o){this.cursor_+=o,jspb.asserts.assert(this.cursor_<=this.end_)},jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_},jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_},jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_},jspb.BinaryDecoder.prototype.readSplitVarint64=function(o){for(var e=128,r=0,s=0,t=0;4>t&&128<=e;t++)e=this.bytes_[this.cursor_++],r|=(e&127)<<7*t;if(128<=e&&(e=this.bytes_[this.cursor_++],r|=(e&127)<<28,s|=(e&127)>>4),128<=e)for(t=0;5>t&&128<=e;t++)e=this.bytes_[this.cursor_++],s|=(e&127)<<7*t+3;if(128>e)return o(r>>>0,s>>>0);jspb.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(o){return this.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,o)})},jspb.BinaryDecoder.prototype.readSplitFixed64=function(o){var e=this.bytes_,r=this.cursor_;this.cursor_+=8;for(var s=0,t=0,i=r+7;i>=r;i--)s=s<<8|e[i],t=t<<8|e[i+4];return o(s,t)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;this.bytes_[this.cursor_]&128;)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(o){for(;128<o;)this.cursor_--,o>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var o=this.bytes_,e=o[this.cursor_+0],r=e&127;return 128>e?(this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+1],r|=(e&127)<<7,128>e?(this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+2],r|=(e&127)<<14,128>e?(this.cursor_+=3,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+3],r|=(e&127)<<21,128>e?(this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+4],r|=(e&15)<<28,128>e?(this.cursor_+=5,jspb.asserts.assert(this.cursor_<=this.end_),r>>>0):(this.cursor_+=5,128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&jspb.asserts.assert(!1),jspb.asserts.assert(this.cursor_<=this.end_),r)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=function(){return~~this.readUnsignedVarint32()},jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()},jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()},jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var o=this.readUnsignedVarint32();return o>>>1^-(o&1)},jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)},jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)},jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)},jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)},jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readUint8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),o},jspb.BinaryDecoder.prototype.readUint16=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),o<<0|e<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),(o<<0|e<<8|r<<16|s<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinUint64(o,e)},jspb.BinaryDecoder.prototype.readUint64String=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinUnsignedDecimalString(o,e)},jspb.BinaryDecoder.prototype.readInt8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),o<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),(o<<0|e<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),o<<0|e<<8|r<<16|s<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinInt64(o,e)},jspb.BinaryDecoder.prototype.readInt64String=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinSignedDecimalString(o,e)},jspb.BinaryDecoder.prototype.readFloat=function(){var o=this.readUint32();return jspb.utils.joinFloat32(o,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinFloat64(o,e)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(o){var e=this.bytes_,r=this.cursor_;o=r+o;for(var s=[],t="";r<o;){var i=e[r++];if(128>i)s.push(i);else{if(192>i)continue;if(224>i){var n=e[r++];s.push((i&31)<<6|n&63)}else if(240>i){n=e[r++];var p=e[r++];s.push((i&15)<<12|(n&63)<<6|p&63)}else if(248>i){n=e[r++],p=e[r++];var g=e[r++];i=(i&7)<<18|(n&63)<<12|(p&63)<<6|g&63,i-=65536,s.push((i>>10&1023)+55296,(i&1023)+56320)}}8192<=s.length&&(t+=String.fromCharCode.apply(null,s),s.length=0)}return t+=goog.crypt.byteArrayToString(s),this.cursor_=r,t},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var o=this.readUnsignedVarint32();return this.readString(o)},jspb.BinaryDecoder.prototype.readBytes=function(o){if(0>o||this.cursor_+o>this.bytes_.length)return this.error_=!0,jspb.asserts.fail("Invalid byte length!"),new Uint8Array(0);var e=this.bytes_.subarray(this.cursor_,this.cursor_+o);return this.cursor_+=o,jspb.asserts.assert(this.cursor_<=this.end_),e},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var o=this.bytes_,e=this.cursor_,r=o[e+0],s=o[e+1],t=o[e+2],i=o[e+3],n=o[e+4],p=o[e+5],g=o[e+6];return o=o[e+7],this.cursor_+=8,String.fromCharCode(r,s,t,i,n,p,g,o)},jspb.BinaryReader=function(o,e,r){this.decoder_=jspb.BinaryDecoder.alloc(o,e,r),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null},jspb.BinaryReader.instanceCache_=[],jspb.BinaryReader.alloc=function(o,e,r){if(jspb.BinaryReader.instanceCache_.length){var s=jspb.BinaryReader.instanceCache_.pop();return o&&s.decoder_.setBlock(o,e,r),s}return new jspb.BinaryReader(o,e,r)},jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc,jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)},jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_},jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()},jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()},jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_},goog.exportProperty(jspb.BinaryReader.prototype,"getFieldNumber",jspb.BinaryReader.prototype.getFieldNumber),jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},goog.exportProperty(jspb.BinaryReader.prototype,"isDelimited",jspb.BinaryReader.prototype.isDelimited),jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},goog.exportProperty(jspb.BinaryReader.prototype,"isEndGroup",jspb.BinaryReader.prototype.isEndGroup),jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(o,e,r){this.decoder_.setBlock(o,e,r),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.advance=function(o){this.decoder_.advance(o)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return jspb.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var o=this.decoder_.readUnsignedVarint32(),e=o>>>3;return o&=7,o!=jspb.BinaryConstants.WireType.VARINT&&o!=jspb.BinaryConstants.WireType.FIXED32&&o!=jspb.BinaryConstants.WireType.FIXED64&&o!=jspb.BinaryConstants.WireType.DELIMITED&&o!=jspb.BinaryConstants.WireType.START_GROUP&&o!=jspb.BinaryConstants.WireType.END_GROUP?(jspb.asserts.fail("Invalid wire type: %s (at position %s)",o,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=e,this.nextWireType_=o,!0)},goog.exportProperty(jspb.BinaryReader.prototype,"nextField",jspb.BinaryReader.prototype.nextField),jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var o=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==o;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(jspb.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)jspb.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var o=this.decoder_.readUnsignedVarint32();this.decoder_.advance(o)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(jspb.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(jspb.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){var o=this.nextField_;do{if(!this.nextField()){jspb.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=o&&(jspb.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}while(1)},jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:jspb.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(o,e){this.readCallbacks_===null&&(this.readCallbacks_={}),jspb.asserts.assert(!this.readCallbacks_[o]),this.readCallbacks_[o]=e},jspb.BinaryReader.prototype.runReadCallback=function(o){return jspb.asserts.assert(this.readCallbacks_!==null),o=this.readCallbacks_[o],jspb.asserts.assert(o),o(this)},jspb.BinaryReader.prototype.readAny=function(o){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(o);var e=jspb.BinaryConstants.FieldType;switch(o){case e.DOUBLE:return this.readDouble();case e.FLOAT:return this.readFloat();case e.INT64:return this.readInt64();case e.UINT64:return this.readUint64();case e.INT32:return this.readInt32();case e.FIXED64:return this.readFixed64();case e.FIXED32:return this.readFixed32();case e.BOOL:return this.readBool();case e.STRING:return this.readString();case e.GROUP:jspb.asserts.fail("Group field type not supported in readAny()");case e.MESSAGE:jspb.asserts.fail("Message field type not supported in readAny()");case e.BYTES:return this.readBytes();case e.UINT32:return this.readUint32();case e.ENUM:return this.readEnum();case e.SFIXED32:return this.readSfixed32();case e.SFIXED64:return this.readSfixed64();case e.SINT32:return this.readSint32();case e.SINT64:return this.readSint64();case e.FHASH64:return this.readFixedHash64();case e.VHASH64:return this.readVarintHash64();default:jspb.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(o,e){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var r=this.decoder_.getEnd(),s=this.decoder_.readUnsignedVarint32();s=this.decoder_.getCursor()+s,this.decoder_.setEnd(s),e(o,this),this.decoder_.setCursor(s),this.decoder_.setEnd(r)},goog.exportProperty(jspb.BinaryReader.prototype,"readMessage",jspb.BinaryReader.prototype.readMessage),jspb.BinaryReader.prototype.readGroup=function(o,e,r){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),jspb.asserts.assert(this.nextField_==o),r(e,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(jspb.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},goog.exportProperty(jspb.BinaryReader.prototype,"readGroup",jspb.BinaryReader.prototype.readGroup),jspb.BinaryReader.prototype.getFieldDecoder=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32(),e=this.decoder_.getCursor(),r=e+o;return o=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),e,o),this.decoder_.setCursor(r),o},jspb.BinaryReader.prototype.readInt32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt32",jspb.BinaryReader.prototype.readInt32),jspb.BinaryReader.prototype.readInt32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt64",jspb.BinaryReader.prototype.readInt64),jspb.BinaryReader.prototype.readInt64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint32",jspb.BinaryReader.prototype.readUint32),jspb.BinaryReader.prototype.readUint32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint64",jspb.BinaryReader.prototype.readUint64),jspb.BinaryReader.prototype.readUint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint32",jspb.BinaryReader.prototype.readSint32),jspb.BinaryReader.prototype.readSint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint64",jspb.BinaryReader.prototype.readSint64),jspb.BinaryReader.prototype.readSint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed32",jspb.BinaryReader.prototype.readFixed32),jspb.BinaryReader.prototype.readFixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed64",jspb.BinaryReader.prototype.readFixed64),jspb.BinaryReader.prototype.readFixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed32",jspb.BinaryReader.prototype.readSfixed32),jspb.BinaryReader.prototype.readSfixed32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed64",jspb.BinaryReader.prototype.readSfixed64),jspb.BinaryReader.prototype.readSfixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},goog.exportProperty(jspb.BinaryReader.prototype,"readFloat",jspb.BinaryReader.prototype.readFloat),jspb.BinaryReader.prototype.readDouble=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},goog.exportProperty(jspb.BinaryReader.prototype,"readDouble",jspb.BinaryReader.prototype.readDouble),jspb.BinaryReader.prototype.readBool=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readBool",jspb.BinaryReader.prototype.readBool),jspb.BinaryReader.prototype.readEnum=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readEnum",jspb.BinaryReader.prototype.readEnum),jspb.BinaryReader.prototype.readString=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(o)},goog.exportProperty(jspb.BinaryReader.prototype,"readString",jspb.BinaryReader.prototype.readString),jspb.BinaryReader.prototype.readBytes=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(o)},goog.exportProperty(jspb.BinaryReader.prototype,"readBytes",jspb.BinaryReader.prototype.readBytes),jspb.BinaryReader.prototype.readVarintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(o)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,o)})},jspb.BinaryReader.prototype.readFixedHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(o)},jspb.BinaryReader.prototype.readPackedField_=function(o){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();e=this.decoder_.getCursor()+e;for(var r=[];this.decoder_.getCursor()<e;)r.push(o.call(this.decoder_));return r},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt32",jspb.BinaryReader.prototype.readPackedInt32),jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt64",jspb.BinaryReader.prototype.readPackedInt64),jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint32",jspb.BinaryReader.prototype.readPackedUint32),jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint64",jspb.BinaryReader.prototype.readPackedUint64),jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint32",jspb.BinaryReader.prototype.readPackedSint32),jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint64",jspb.BinaryReader.prototype.readPackedSint64),jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed32",jspb.BinaryReader.prototype.readPackedFixed32),jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed64",jspb.BinaryReader.prototype.readPackedFixed64),jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed32",jspb.BinaryReader.prototype.readPackedSfixed32),jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed64",jspb.BinaryReader.prototype.readPackedSfixed64),jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFloat",jspb.BinaryReader.prototype.readPackedFloat),jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedDouble",jspb.BinaryReader.prototype.readPackedDouble),jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedBool",jspb.BinaryReader.prototype.readPackedBool),jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedEnum",jspb.BinaryReader.prototype.readPackedEnum),jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)},jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)},jspb.BinaryEncoder=function(){this.buffer_=[]},jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length},jspb.BinaryEncoder.prototype.end=function(){var o=this.buffer_;return this.buffer_=[],o},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(o,e){for(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32);0<e||127<o;)this.buffer_.push(o&127|128),o=(o>>>7|e<<25)>>>0,e>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(o,e){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(o),this.writeUint32(e)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(o){for(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32);127<o;)this.buffer_.push(o&127|128),o>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(o){if(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),0<=o)this.writeUnsignedVarint32(o);else{for(var e=0;9>e;e++)this.buffer_.push(o&127|128),o>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((o<<1^o>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(o){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(o))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(o){var e=this;jspb.utils.splitHash64(o),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,function(r,s){e.writeSplitVarint64(r>>>0,s>>>0)})},jspb.BinaryEncoder.prototype.writeUint8=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&256>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&65536>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(-128<=o&&128>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(-32768<=o&&32768>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(+o>=-jspb.BinaryConstants.TWO_TO_63&&+o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(o){jspb.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT32_MAX&&o<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(o),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(o){jspb.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT64_MAX&&o<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(o){jspb.asserts.assert(typeof o=="boolean"||typeof o=="number"),this.buffer_.push(o?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(o)},jspb.BinaryEncoder.prototype.writeBytes=function(o){this.buffer_.push.apply(this.buffer_,o)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(o){jspb.utils.splitHash64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(o){jspb.utils.splitHash64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(o){var e=this.buffer_.length;jspb.asserts.assertString(o);for(var r=0;r<o.length;r++){var s=o.charCodeAt(r);if(128>s)this.buffer_.push(s);else if(2048>s)this.buffer_.push(s>>6|192),this.buffer_.push(s&63|128);else if(65536>s)if(55296<=s&&56319>=s&&r+1<o.length){var t=o.charCodeAt(r+1);56320<=t&&57343>=t&&(s=1024*(s-55296)+t-56320+65536,this.buffer_.push(s>>18|240),this.buffer_.push(s>>12&63|128),this.buffer_.push(s>>6&63|128),this.buffer_.push(s&63|128),r++)}else this.buffer_.push(s>>12|224),this.buffer_.push(s>>6&63|128),this.buffer_.push(s&63|128)}return this.buffer_.length-e},jspb.arith={},jspb.arith.UInt64=function(o,e){this.lo=o,this.hi=e},jspb.arith.UInt64.prototype.cmp=function(o){return this.hi<o.hi||this.hi==o.hi&&this.lo<o.lo?-1:this.hi==o.hi&&this.lo==o.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},jspb.arith.UInt64.prototype.msb=function(){return!!(this.hi&2147483648)},jspb.arith.UInt64.prototype.lsb=function(){return!!(this.lo&1)},jspb.arith.UInt64.prototype.zero=function(){return this.lo==0&&this.hi==0},jspb.arith.UInt64.prototype.add=function(o){return new jspb.arith.UInt64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(o){return new jspb.arith.UInt64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(o,e){var r=o&65535;o>>>=16;var s=e&65535,t=e>>>16;for(e=r*s+65536*(r*t&65535)+65536*(o*s&65535),r=o*t+(r*t>>>16)+(o*s>>>16);4294967296<=e;)e-=4294967296,r+=1;return new jspb.arith.UInt64(e>>>0,r>>>0)},jspb.arith.UInt64.prototype.mul=function(o){var e=jspb.arith.UInt64.mul32x32(this.lo,o);return o=jspb.arith.UInt64.mul32x32(this.hi,o),o.hi=o.lo,o.lo=0,e.add(o)},jspb.arith.UInt64.prototype.div=function(o){if(o==0)return[];var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(this.lo,this.hi);o=new jspb.arith.UInt64(o,0);for(var s=new jspb.arith.UInt64(1,0);!o.msb();)o=o.leftShift(),s=s.leftShift();for(;!s.zero();)0>=o.cmp(r)&&(e=e.add(s),r=r.sub(o)),o=o.rightShift(),s=s.rightShift();return[e,r]},jspb.arith.UInt64.prototype.toString=function(){for(var o="",e=this;!e.zero();){e=e.div(10);var r=e[0];o=e[1].lo+o,e=r}return o==""&&(o="0"),o},jspb.arith.UInt64.fromString=function(o){for(var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(0,0),s=0;s<o.length;s++){if("0">o[s]||"9"<o[s])return null;var t=parseInt(o[s],10);r.lo=t,e=e.mul(10).add(r)}return e},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(o,e){this.lo=o,this.hi=e},jspb.arith.Int64.prototype.add=function(o){return new jspb.arith.Int64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(o){return new jspb.arith.Int64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)},jspb.arith.Int64.prototype.toString=function(){var o=(this.hi&2147483648)!=0,e=new jspb.arith.UInt64(this.lo,this.hi);return o&&(e=new jspb.arith.UInt64(0,0).sub(e)),(o?"-":"")+e.toString()},jspb.arith.Int64.fromString=function(o){var e=0<o.length&&o[0]=="-";return e&&(o=o.substring(1)),o=jspb.arith.UInt64.fromString(o),o===null?null:(e&&(o=new jspb.arith.UInt64(0,0).sub(o)),new jspb.arith.Int64(o.lo,o.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(o){var e=this.encoder_.end();this.blocks_.push(e),this.blocks_.push(o),this.totalLength_+=e.length+o.length},jspb.BinaryWriter.prototype.beginDelimited_=function(o){return this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),o=this.encoder_.end(),this.blocks_.push(o),this.totalLength_+=o.length,o.push(this.totalLength_),o},jspb.BinaryWriter.prototype.endDelimited_=function(o){var e=o.pop();for(e=this.totalLength_+this.encoder_.length()-e,jspb.asserts.assert(0<=e);127<e;)o.push(e&127|128),e>>>=7,this.totalLength_++;o.push(e),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(o,e,r){this.appendUint8Array_(o.subarray(e,r))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(o,e,r){o!=null&&e!=null&&r!=null&&this.writeSerializedMessage(o,e,r)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){jspb.asserts.assert(this.bookmarks_.length==0);for(var o=new Uint8Array(this.totalLength_+this.encoder_.length()),e=this.blocks_,r=e.length,s=0,t=0;t<r;t++){var i=e[t];o.set(i,s),s+=i.length}return e=this.encoder_.end(),o.set(e,s),s+=e.length,jspb.asserts.assert(s==o.length),this.blocks_=[o],o},goog.exportProperty(jspb.BinaryWriter.prototype,"getResultBuffer",jspb.BinaryWriter.prototype.getResultBuffer),jspb.BinaryWriter.prototype.getResultBase64String=function(o){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),o)},jspb.BinaryWriter.prototype.beginSubMessage=function(o){this.bookmarks_.push(this.beginDelimited_(o))},jspb.BinaryWriter.prototype.endSubMessage=function(){jspb.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(o,e){jspb.asserts.assert(1<=o&&o==Math.floor(o)),this.encoder_.writeUnsignedVarint32(8*o+e)},jspb.BinaryWriter.prototype.writeAny=function(o,e,r){var s=jspb.BinaryConstants.FieldType;switch(o){case s.DOUBLE:this.writeDouble(e,r);break;case s.FLOAT:this.writeFloat(e,r);break;case s.INT64:this.writeInt64(e,r);break;case s.UINT64:this.writeUint64(e,r);break;case s.INT32:this.writeInt32(e,r);break;case s.FIXED64:this.writeFixed64(e,r);break;case s.FIXED32:this.writeFixed32(e,r);break;case s.BOOL:this.writeBool(e,r);break;case s.STRING:this.writeString(e,r);break;case s.GROUP:jspb.asserts.fail("Group field type not supported in writeAny()");break;case s.MESSAGE:jspb.asserts.fail("Message field type not supported in writeAny()");break;case s.BYTES:this.writeBytes(e,r);break;case s.UINT32:this.writeUint32(e,r);break;case s.ENUM:this.writeEnum(e,r);break;case s.SFIXED32:this.writeSfixed32(e,r);break;case s.SFIXED64:this.writeSfixed64(e,r);break;case s.SINT32:this.writeSint32(e,r);break;case s.SINT64:this.writeSint64(e,r);break;case s.FHASH64:this.writeFixedHash64(e,r);break;case s.VHASH64:this.writeVarintHash64(e,r);break;default:jspb.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(e))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(e))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(e))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(e))},jspb.BinaryWriter.prototype.writeInt32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt32",jspb.BinaryWriter.prototype.writeInt32),jspb.BinaryWriter.prototype.writeInt32String=function(o,e){e!=null&&(e=parseInt(e,10),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,e))},jspb.BinaryWriter.prototype.writeInt64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt64",jspb.BinaryWriter.prototype.writeInt64),jspb.BinaryWriter.prototype.writeInt64String=function(o,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeUint32=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint32",jspb.BinaryWriter.prototype.writeUint32),jspb.BinaryWriter.prototype.writeUint32String=function(o,e){e!=null&&(e=parseInt(e,10),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,e))},jspb.BinaryWriter.prototype.writeUint64=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint64",jspb.BinaryWriter.prototype.writeUint64),jspb.BinaryWriter.prototype.writeUint64String=function(o,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSint32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint32",jspb.BinaryWriter.prototype.writeSint32),jspb.BinaryWriter.prototype.writeSint64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint64",jspb.BinaryWriter.prototype.writeSint64),jspb.BinaryWriter.prototype.writeSintHash64=function(o,e){e!=null&&this.writeZigzagVarintHash64_(o,e)},jspb.BinaryWriter.prototype.writeSint64String=function(o,e){e!=null&&this.writeZigzagVarint64String_(o,e)},jspb.BinaryWriter.prototype.writeFixed32=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed32",jspb.BinaryWriter.prototype.writeFixed32),jspb.BinaryWriter.prototype.writeFixed64=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed64",jspb.BinaryWriter.prototype.writeFixed64),jspb.BinaryWriter.prototype.writeFixed64String=function(o,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed32",jspb.BinaryWriter.prototype.writeSfixed32),jspb.BinaryWriter.prototype.writeSfixed64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed64",jspb.BinaryWriter.prototype.writeSfixed64),jspb.BinaryWriter.prototype.writeSfixed64String=function(o,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeFloat=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFloat",jspb.BinaryWriter.prototype.writeFloat),jspb.BinaryWriter.prototype.writeDouble=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeDouble",jspb.BinaryWriter.prototype.writeDouble),jspb.BinaryWriter.prototype.writeBool=function(o,e){e!=null&&(jspb.asserts.assert(typeof e=="boolean"||typeof e=="number"),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBool",jspb.BinaryWriter.prototype.writeBool),jspb.BinaryWriter.prototype.writeEnum=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeEnum",jspb.BinaryWriter.prototype.writeEnum),jspb.BinaryWriter.prototype.writeString=function(o,e){e!=null&&(o=this.beginDelimited_(o),this.encoder_.writeString(e),this.endDelimited_(o))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeString",jspb.BinaryWriter.prototype.writeString),jspb.BinaryWriter.prototype.writeBytes=function(o,e){e!=null&&(e=jspb.utils.byteSourceToUint8Array(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),this.appendUint8Array_(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBytes",jspb.BinaryWriter.prototype.writeBytes),jspb.BinaryWriter.prototype.writeMessage=function(o,e,r){e!=null&&(o=this.beginDelimited_(o),r(e,this),this.endDelimited_(o))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeMessage",jspb.BinaryWriter.prototype.writeMessage),jspb.BinaryWriter.prototype.writeMessageSet=function(o,e,r){e!=null&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(o),o=this.beginDelimited_(3),r(e,this),this.endDelimited_(o),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(o,e,r){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(e,this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeGroup",jspb.BinaryWriter.prototype.writeGroup),jspb.BinaryWriter.prototype.writeFixedHash64=function(o,e){e!=null&&(jspb.asserts.assert(e.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(e))},jspb.BinaryWriter.prototype.writeVarintHash64=function(o,e){e!=null&&(jspb.asserts.assert(e.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(e))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e,r)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e,r)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT);var s=this.encoder_;jspb.utils.toZigzag64(e,r,function(t,i){s.writeSplitVarint64(t>>>0,i>>>0)})},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt32",jspb.BinaryWriter.prototype.writeRepeatedInt32),jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt32String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt64",jspb.BinaryWriter.prototype.writeRepeatedInt64),jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitFixed64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitVarint64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitZigzagVarint64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint32",jspb.BinaryWriter.prototype.writeRepeatedUint32),jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint32String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint64",jspb.BinaryWriter.prototype.writeRepeatedUint64),jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint32",jspb.BinaryWriter.prototype.writeRepeatedSint32),jspb.BinaryWriter.prototype.writeRepeatedSint64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint64",jspb.BinaryWriter.prototype.writeRepeatedSint64),jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64String_(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarintHash64_(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed32(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed32",jspb.BinaryWriter.prototype.writeRepeatedFixed32),jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64",jspb.BinaryWriter.prototype.writeRepeatedFixed64),jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64String(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64String",jspb.BinaryWriter.prototype.writeRepeatedFixed64String),jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed32(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed32",jspb.BinaryWriter.prototype.writeRepeatedSfixed32),jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed64",jspb.BinaryWriter.prototype.writeRepeatedSfixed64),jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFloat(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFloat",jspb.BinaryWriter.prototype.writeRepeatedFloat),jspb.BinaryWriter.prototype.writeRepeatedDouble=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeDouble(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedDouble",jspb.BinaryWriter.prototype.writeRepeatedDouble),jspb.BinaryWriter.prototype.writeRepeatedBool=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBool(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBool",jspb.BinaryWriter.prototype.writeRepeatedBool),jspb.BinaryWriter.prototype.writeRepeatedEnum=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeEnum(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedEnum",jspb.BinaryWriter.prototype.writeRepeatedEnum),jspb.BinaryWriter.prototype.writeRepeatedString=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeString(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedString",jspb.BinaryWriter.prototype.writeRepeatedString),jspb.BinaryWriter.prototype.writeRepeatedBytes=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBytes(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBytes",jspb.BinaryWriter.prototype.writeRepeatedBytes),jspb.BinaryWriter.prototype.writeRepeatedMessage=function(o,e,r){if(e!=null)for(var s=0;s<e.length;s++){var t=this.beginDelimited_(o);r(e[s],this),this.endDelimited_(t)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedMessage",jspb.BinaryWriter.prototype.writeRepeatedMessage),jspb.BinaryWriter.prototype.writeRepeatedGroup=function(o,e,r){if(e!=null)for(var s=0;s<e.length;s++)this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(e[s],this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP)},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedGroup",jspb.BinaryWriter.prototype.writeRepeatedGroup),jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixedHash64(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeVarintHash64(o,e[r])},jspb.BinaryWriter.prototype.writePackedInt32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt32",jspb.BinaryWriter.prototype.writePackedInt32),jspb.BinaryWriter.prototype.writePackedInt32String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(parseInt(e[r],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt64",jspb.BinaryWriter.prototype.writePackedInt64),jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=0;t<e.length;t++)this.encoder_.writeSplitFixed64(r(e[t]),s(e[t]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=0;t<e.length;t++)this.encoder_.writeSplitVarint64(r(e[t]),s(e[t]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=this.encoder_,i=0;i<e.length;i++)jspb.utils.toZigzag64(r(e[i]),s(e[i]),function(n,p){t.writeSplitVarint64(n>>>0,p>>>0)});this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++){var s=jspb.arith.Int64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint32",jspb.BinaryWriter.prototype.writePackedUint32),jspb.BinaryWriter.prototype.writePackedUint32String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(parseInt(e[r],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint64",jspb.BinaryWriter.prototype.writePackedUint64),jspb.BinaryWriter.prototype.writePackedUint64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++){var s=jspb.arith.UInt64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint32",jspb.BinaryWriter.prototype.writePackedSint32),jspb.BinaryWriter.prototype.writePackedSint64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint64",jspb.BinaryWriter.prototype.writePackedSint64),jspb.BinaryWriter.prototype.writePackedSint64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(e[r]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(e[r]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeUint32(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed32",jspb.BinaryWriter.prototype.writePackedFixed32),jspb.BinaryWriter.prototype.writePackedFixed64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeUint64(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed64",jspb.BinaryWriter.prototype.writePackedFixed64),jspb.BinaryWriter.prototype.writePackedFixed64String=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++){var r=jspb.arith.UInt64.fromString(e[o]);this.encoder_.writeSplitFixed64(r.lo,r.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeInt32(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed32",jspb.BinaryWriter.prototype.writePackedSfixed32),jspb.BinaryWriter.prototype.writePackedSfixed64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeInt64(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed64",jspb.BinaryWriter.prototype.writePackedSfixed64),jspb.BinaryWriter.prototype.writePackedSfixed64String=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeInt64String(e[o])},jspb.BinaryWriter.prototype.writePackedFloat=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeFloat(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFloat",jspb.BinaryWriter.prototype.writePackedFloat),jspb.BinaryWriter.prototype.writePackedDouble=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeDouble(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedDouble",jspb.BinaryWriter.prototype.writePackedDouble),jspb.BinaryWriter.prototype.writePackedBool=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),o=0;o<e.length;o++)this.encoder_.writeBool(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedBool",jspb.BinaryWriter.prototype.writePackedBool),jspb.BinaryWriter.prototype.writePackedEnum=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeEnum(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedEnum",jspb.BinaryWriter.prototype.writePackedEnum),jspb.BinaryWriter.prototype.writePackedFixedHash64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeFixedHash64(e[o])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeVarintHash64(e[r]);this.endDelimited_(o)}},jspb.Map=function(o,e){this.arr_=o,this.valueCtor_=e,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},goog.exportSymbol("jspb.Map",jspb.Map),jspb.Map.prototype.loadFromArray_=function(){for(var o=0;o<this.arr_.length;o++){var e=this.arr_[o],r=e[0];this.map_[r.toString()]=new jspb.Map.Entry_(r,e[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var o=this.map_,e;for(e in o)if(Object.prototype.hasOwnProperty.call(o,e)){var r=o[e].valueWrapper;r&&r.toArray()}}}else{for(this.arr_.length=0,o=this.stringKeys_(),o.sort(),e=0;e<o.length;e++){var s=this.map_[o[e]];(r=s.valueWrapper)&&r.toArray(),this.arr_.push([s.key,s.value])}this.arrClean=!0}return this.arr_},goog.exportProperty(jspb.Map.prototype,"toArray",jspb.Map.prototype.toArray),jspb.Map.prototype.toObject=function(o,e){for(var r=this.toArray(),s=[],t=0;t<r.length;t++){var i=this.map_[r[t][0].toString()];this.wrapEntry_(i);var n=i.valueWrapper;n?(jspb.asserts.assert(e),s.push([i.key,e(o,n)])):s.push([i.key,i.value])}return s},goog.exportProperty(jspb.Map.prototype,"toObject",jspb.Map.prototype.toObject),jspb.Map.fromObject=function(o,e,r){e=new jspb.Map([],e);for(var s=0;s<o.length;s++){var t=o[s][0],i=r(o[s][1]);e.set(t,i)}return e},goog.exportProperty(jspb.Map,"fromObject",jspb.Map.fromObject),jspb.Map.ArrayIteratorIterable_=function(o){this.idx_=0,this.arr_=o},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},goog.exportProperty(jspb.Map.prototype,"getLength",jspb.Map.prototype.getLength),jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},goog.exportProperty(jspb.Map.prototype,"clear",jspb.Map.prototype.clear),jspb.Map.prototype.del=function(o){o=o.toString();var e=this.map_.hasOwnProperty(o);return delete this.map_[o],this.arrClean=!1,e},goog.exportProperty(jspb.Map.prototype,"del",jspb.Map.prototype.del),jspb.Map.prototype.getEntryList=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];o.push([s.key,s.value])}return o},goog.exportProperty(jspb.Map.prototype,"getEntryList",jspb.Map.prototype.getEntryList),jspb.Map.prototype.entries=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];o.push([s.key,this.wrapEntry_(s)])}return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"entries",jspb.Map.prototype.entries),jspb.Map.prototype.keys=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)o.push(this.map_[e[r]].key);return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"keys",jspb.Map.prototype.keys),jspb.Map.prototype.values=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)o.push(this.wrapEntry_(this.map_[e[r]]));return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"values",jspb.Map.prototype.values),jspb.Map.prototype.forEach=function(o,e){var r=this.stringKeys_();r.sort();for(var s=0;s<r.length;s++){var t=this.map_[r[s]];o.call(e,this.wrapEntry_(t),t.key,this)}},goog.exportProperty(jspb.Map.prototype,"forEach",jspb.Map.prototype.forEach),jspb.Map.prototype.set=function(o,e){var r=new jspb.Map.Entry_(o);return this.valueCtor_?(r.valueWrapper=e,r.value=e.toArray()):r.value=e,this.map_[o.toString()]=r,this.arrClean=!1,this},goog.exportProperty(jspb.Map.prototype,"set",jspb.Map.prototype.set),jspb.Map.prototype.wrapEntry_=function(o){return this.valueCtor_?(o.valueWrapper||(o.valueWrapper=new this.valueCtor_(o.value)),o.valueWrapper):o.value},jspb.Map.prototype.get=function(o){if(o=this.map_[o.toString()])return this.wrapEntry_(o)},goog.exportProperty(jspb.Map.prototype,"get",jspb.Map.prototype.get),jspb.Map.prototype.has=function(o){return o.toString()in this.map_},goog.exportProperty(jspb.Map.prototype,"has",jspb.Map.prototype.has),jspb.Map.prototype.serializeBinary=function(o,e,r,s,t){var i=this.stringKeys_();i.sort();for(var n=0;n<i.length;n++){var p=this.map_[i[n]];e.beginSubMessage(o),r.call(e,1,p.key),this.valueCtor_?s.call(e,2,this.wrapEntry_(p),t):s.call(e,2,p.value),e.endSubMessage()}},goog.exportProperty(jspb.Map.prototype,"serializeBinary",jspb.Map.prototype.serializeBinary),jspb.Map.deserializeBinary=function(o,e,r,s,t,i,n){for(;e.nextField()&&!e.isEndGroup();){var p=e.getFieldNumber();p==1?i=r.call(e):p==2&&(o.valueCtor_?(jspb.asserts.assert(t),n||(n=new o.valueCtor_),s.call(e,n,t)):n=s.call(e))}jspb.asserts.assert(i!=null),jspb.asserts.assert(n!=null),o.set(i,n)},goog.exportProperty(jspb.Map,"deserializeBinary",jspb.Map.deserializeBinary),jspb.Map.prototype.stringKeys_=function(){var o=this.map_,e=[],r;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&e.push(r);return e},jspb.Map.Entry_=function(o,e){this.key=o,this.value=e,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(o,e,r,s,t){this.fieldIndex=o,this.fieldName=e,this.ctor=r,this.toObjectFn=s,this.isRepeated=t},goog.exportSymbol("jspb.ExtensionFieldInfo",jspb.ExtensionFieldInfo),jspb.ExtensionFieldBinaryInfo=function(o,e,r,s,t,i){this.fieldInfo=o,this.binaryReaderFn=e,this.binaryWriterFn=r,this.binaryMessageSerializeFn=s,this.binaryMessageDeserializeFn=t,this.isPacked=i},goog.exportSymbol("jspb.ExtensionFieldBinaryInfo",jspb.ExtensionFieldBinaryInfo),jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},goog.exportProperty(jspb.ExtensionFieldInfo.prototype,"isMessageType",jspb.ExtensionFieldInfo.prototype.isMessageType),jspb.Message=function(){},goog.exportSymbol("jspb.Message",jspb.Message),jspb.Message.GENERATE_TO_OBJECT=!0,goog.exportProperty(jspb.Message,"GENERATE_TO_OBJECT",jspb.Message.GENERATE_TO_OBJECT),jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,goog.exportProperty(jspb.Message,"GENERATE_FROM_OBJECT",jspb.Message.GENERATE_FROM_OBJECT),jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_=typeof Uint8Array=="function",jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},goog.exportProperty(jspb.Message.prototype,"getJsPbMessageId",jspb.Message.prototype.getJsPbMessageId),jspb.Message.getIndex_=function(o,e){return e+o.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(o,e){return e-o.arrayIndexOffset_},jspb.Message.initialize=function(o,e,r,s,t,i){if(o.wrappers_=null,e||(e=r?[r]:[]),o.messageId_=r?String(r):void 0,o.arrayIndexOffset_=r===0?-1:0,o.array=e,jspb.Message.initPivotAndExtensionObject_(o,s),o.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(o.repeatedFields=t),t)for(e=0;e<t.length;e++)r=t[e],r<o.pivot_?(r=jspb.Message.getIndex_(o,r),o.array[r]=o.array[r]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[r]=o.extensionObject_[r]||jspb.Message.EMPTY_LIST_SENTINEL_);if(i&&i.length)for(e=0;e<i.length;e++)jspb.Message.computeOneofCase(o,i[e])},goog.exportProperty(jspb.Message,"initialize",jspb.Message.initialize),jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(o){return jspb.Message.ASSUME_LOCAL_ARRAYS?o instanceof Array:Array.isArray(o)},jspb.Message.isExtensionObject_=function(o){return o!==null&&typeof o=="object"&&!jspb.Message.isArray_(o)&&!(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(o,e){var r=o.array.length,s=-1;if(r&&(s=r-1,r=o.array[s],jspb.Message.isExtensionObject_(r))){o.pivot_=jspb.Message.getFieldNumber_(o,s),o.extensionObject_=r;return}-1<e?(o.pivot_=Math.max(e,jspb.Message.getFieldNumber_(o,s+1)),o.extensionObject_=null):o.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(o){var e=jspb.Message.getIndex_(o,o.pivot_);o.array[e]||(o.extensionObject_=o.array[e]={})},jspb.Message.toObjectList=function(o,e,r){for(var s=[],t=0;t<o.length;t++)s[t]=e.call(o[t],r,o[t]);return s},goog.exportProperty(jspb.Message,"toObjectList",jspb.Message.toObjectList),jspb.Message.toObjectExtension=function(o,e,r,s,t){for(var i in r){var n=r[i],p=s.call(o,n);if(p!=null){for(var g in n.fieldName)if(n.fieldName.hasOwnProperty(g))break;e[g]=n.toObjectFn?n.isRepeated?jspb.Message.toObjectList(p,n.toObjectFn,t):n.toObjectFn(t,p):p}}},goog.exportProperty(jspb.Message,"toObjectExtension",jspb.Message.toObjectExtension),jspb.Message.serializeBinaryExtensions=function(o,e,r,s){for(var t in r){var i=r[t],n=i.fieldInfo;if(!i.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var p=s.call(o,n);if(p!=null)if(n.isMessageType())if(i.binaryMessageSerializeFn)i.binaryWriterFn.call(e,n.fieldIndex,p,i.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else i.binaryWriterFn.call(e,n.fieldIndex,p)}},goog.exportProperty(jspb.Message,"serializeBinaryExtensions",jspb.Message.serializeBinaryExtensions),jspb.Message.readBinaryExtension=function(o,e,r,s,t){var i=r[e.getFieldNumber()];if(i){if(r=i.fieldInfo,!i.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(r.isMessageType()){var n=new r.ctor;i.binaryReaderFn.call(e,n,i.binaryMessageDeserializeFn)}else n=i.binaryReaderFn.call(e);r.isRepeated&&!i.isPacked?(e=s.call(o,r))?e.push(n):t.call(o,r,[n]):t.call(o,r,n)}else e.skipField()},goog.exportProperty(jspb.Message,"readBinaryExtension",jspb.Message.readBinaryExtension),jspb.Message.getField=function(o,e){if(e<o.pivot_){e=jspb.Message.getIndex_(o,e);var r=o.array[e];return r===jspb.Message.EMPTY_LIST_SENTINEL_?o.array[e]=[]:r}if(o.extensionObject_)return r=o.extensionObject_[e],r===jspb.Message.EMPTY_LIST_SENTINEL_?o.extensionObject_[e]=[]:r},goog.exportProperty(jspb.Message,"getField",jspb.Message.getField),jspb.Message.getRepeatedField=function(o,e){return jspb.Message.getField(o,e)},goog.exportProperty(jspb.Message,"getRepeatedField",jspb.Message.getRepeatedField),jspb.Message.getOptionalFloatingPointField=function(o,e){return o=jspb.Message.getField(o,e),o==null?o:+o},goog.exportProperty(jspb.Message,"getOptionalFloatingPointField",jspb.Message.getOptionalFloatingPointField),jspb.Message.getBooleanField=function(o,e){return o=jspb.Message.getField(o,e),o==null?o:!!o},goog.exportProperty(jspb.Message,"getBooleanField",jspb.Message.getBooleanField),jspb.Message.getRepeatedFloatingPointField=function(o,e){var r=jspb.Message.getRepeatedField(o,e);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=+r[s];o.convertedPrimitiveFields_[e]=!0}return r},goog.exportProperty(jspb.Message,"getRepeatedFloatingPointField",jspb.Message.getRepeatedFloatingPointField),jspb.Message.getRepeatedBooleanField=function(o,e){var r=jspb.Message.getRepeatedField(o,e);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=!!r[s];o.convertedPrimitiveFields_[e]=!0}return r},goog.exportProperty(jspb.Message,"getRepeatedBooleanField",jspb.Message.getRepeatedBooleanField),jspb.Message.bytesAsB64=function(o){return o==null||typeof o=="string"?o:jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array?goog.crypt.base64.encodeByteArray(o):(jspb.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(o)),null)},goog.exportProperty(jspb.Message,"bytesAsB64",jspb.Message.bytesAsB64),jspb.Message.bytesAsU8=function(o){return o==null||o instanceof Uint8Array?o:typeof o=="string"?goog.crypt.base64.decodeStringToUint8Array(o):(jspb.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(o)),null)},goog.exportProperty(jspb.Message,"bytesAsU8",jspb.Message.bytesAsU8),jspb.Message.bytesListAsB64=function(o){return jspb.Message.assertConsistentTypes_(o),o.length&&typeof o[0]!="string"?goog.array.map(o,jspb.Message.bytesAsB64):o},goog.exportProperty(jspb.Message,"bytesListAsB64",jspb.Message.bytesListAsB64),jspb.Message.bytesListAsU8=function(o){return jspb.Message.assertConsistentTypes_(o),!o.length||o[0]instanceof Uint8Array?o:goog.array.map(o,jspb.Message.bytesAsU8)},goog.exportProperty(jspb.Message,"bytesListAsU8",jspb.Message.bytesListAsU8),jspb.Message.assertConsistentTypes_=function(o){if(goog.DEBUG&&o&&1<o.length){var e=goog.typeOf(o[0]);goog.array.forEach(o,function(r){goog.typeOf(r)!=e&&jspb.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(r)+" expected "+e)})}},jspb.Message.getFieldWithDefault=function(o,e,r){return o=jspb.Message.getField(o,e),o??r},goog.exportProperty(jspb.Message,"getFieldWithDefault",jspb.Message.getFieldWithDefault),jspb.Message.getBooleanFieldWithDefault=function(o,e,r){return o=jspb.Message.getBooleanField(o,e),o??r},goog.exportProperty(jspb.Message,"getBooleanFieldWithDefault",jspb.Message.getBooleanFieldWithDefault),jspb.Message.getFloatingPointFieldWithDefault=function(o,e,r){return o=jspb.Message.getOptionalFloatingPointField(o,e),o??r},goog.exportProperty(jspb.Message,"getFloatingPointFieldWithDefault",jspb.Message.getFloatingPointFieldWithDefault),jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,goog.exportProperty(jspb.Message,"getFieldProto3",jspb.Message.getFieldProto3),jspb.Message.getMapField=function(o,e,r,s){if(o.wrappers_||(o.wrappers_={}),e in o.wrappers_)return o.wrappers_[e];var t=jspb.Message.getField(o,e);if(!t){if(r)return;t=[],jspb.Message.setField(o,e,t)}return o.wrappers_[e]=new jspb.Map(t,s)},goog.exportProperty(jspb.Message,"getMapField",jspb.Message.getMapField),jspb.Message.setField=function(o,e,r){return jspb.asserts.assertInstanceof(o,jspb.Message),e<o.pivot_?o.array[jspb.Message.getIndex_(o,e)]=r:(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[e]=r),o},goog.exportProperty(jspb.Message,"setField",jspb.Message.setField),jspb.Message.setProto3IntField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3IntField",jspb.Message.setProto3IntField),jspb.Message.setProto3FloatField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3FloatField",jspb.Message.setProto3FloatField),jspb.Message.setProto3BooleanField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,!1)},goog.exportProperty(jspb.Message,"setProto3BooleanField",jspb.Message.setProto3BooleanField),jspb.Message.setProto3StringField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"")},goog.exportProperty(jspb.Message,"setProto3StringField",jspb.Message.setProto3StringField),jspb.Message.setProto3BytesField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"")},goog.exportProperty(jspb.Message,"setProto3BytesField",jspb.Message.setProto3BytesField),jspb.Message.setProto3EnumField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3EnumField",jspb.Message.setProto3EnumField),jspb.Message.setProto3StringIntField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"0")},goog.exportProperty(jspb.Message,"setProto3StringIntField",jspb.Message.setProto3StringIntField),jspb.Message.setFieldIgnoringDefault_=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),r!==s?jspb.Message.setField(o,e,r):e<o.pivot_?o.array[jspb.Message.getIndex_(o,e)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(o),delete o.extensionObject_[e]),o},jspb.Message.addToRepeatedField=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),e=jspb.Message.getRepeatedField(o,e),s!=null?e.splice(s,0,r):e.push(r),o},goog.exportProperty(jspb.Message,"addToRepeatedField",jspb.Message.addToRepeatedField),jspb.Message.setOneofField=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),(r=jspb.Message.computeOneofCase(o,r))&&r!==e&&s!==void 0&&(o.wrappers_&&r in o.wrappers_&&(o.wrappers_[r]=void 0),jspb.Message.setField(o,r,void 0)),jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setOneofField",jspb.Message.setOneofField),jspb.Message.computeOneofCase=function(o,e){for(var r,s,t=0;t<e.length;t++){var i=e[t],n=jspb.Message.getField(o,i);n!=null&&(r=i,s=n,jspb.Message.setField(o,i,void 0))}return r?(jspb.Message.setField(o,r,s),r):0},goog.exportProperty(jspb.Message,"computeOneofCase",jspb.Message.computeOneofCase),jspb.Message.getWrapperField=function(o,e,r,s){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){var t=jspb.Message.getField(o,r);(s||t)&&(o.wrappers_[r]=new e(t))}return o.wrappers_[r]},goog.exportProperty(jspb.Message,"getWrapperField",jspb.Message.getWrapperField),jspb.Message.getRepeatedWrapperField=function(o,e,r){return jspb.Message.wrapRepeatedField_(o,e,r),e=o.wrappers_[r],e==jspb.Message.EMPTY_LIST_SENTINEL_&&(e=o.wrappers_[r]=[]),e},goog.exportProperty(jspb.Message,"getRepeatedWrapperField",jspb.Message.getRepeatedWrapperField),jspb.Message.wrapRepeatedField_=function(o,e,r){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){for(var s=jspb.Message.getRepeatedField(o,r),t=[],i=0;i<s.length;i++)t[i]=new e(s[i]);o.wrappers_[r]=t}},jspb.Message.setWrapperField=function(o,e,r){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var s=r&&r.toArray();return o.wrappers_[e]=r,jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setWrapperField",jspb.Message.setWrapperField),jspb.Message.setOneofWrapperField=function(o,e,r,s){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var t=s&&s.toArray();return o.wrappers_[e]=s,jspb.Message.setOneofField(o,e,r,t)},goog.exportProperty(jspb.Message,"setOneofWrapperField",jspb.Message.setOneofWrapperField),jspb.Message.setRepeatedWrapperField=function(o,e,r){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={}),r=r||[];for(var s=[],t=0;t<r.length;t++)s[t]=r[t].toArray();return o.wrappers_[e]=r,jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setRepeatedWrapperField",jspb.Message.setRepeatedWrapperField),jspb.Message.addToRepeatedWrapperField=function(o,e,r,s,t){jspb.Message.wrapRepeatedField_(o,s,e);var i=o.wrappers_[e];return i||(i=o.wrappers_[e]=[]),r=r||new s,o=jspb.Message.getRepeatedField(o,e),t!=null?(i.splice(t,0,r),o.splice(t,0,r.toArray())):(i.push(r),o.push(r.toArray())),r},goog.exportProperty(jspb.Message,"addToRepeatedWrapperField",jspb.Message.addToRepeatedWrapperField),jspb.Message.toMap=function(o,e,r,s){for(var t={},i=0;i<o.length;i++)t[e.call(o[i])]=r?r.call(o[i],s,o[i]):o[i];return t},goog.exportProperty(jspb.Message,"toMap",jspb.Message.toMap),jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var o in this.wrappers_){var e=this.wrappers_[o];if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&e[r].toArray();else e&&e.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},goog.exportProperty(jspb.Message.prototype,"toArray",jspb.Message.prototype.toArray),jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(o){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var e=o.fieldIndex;if(o.isRepeated){if(o.isMessageType())return this.wrappers_[e]||(this.wrappers_[e]=goog.array.map(this.extensionObject_[e]||[],function(r){return new o.ctor(r)})),this.wrappers_[e]}else if(o.isMessageType())return!this.wrappers_[e]&&this.extensionObject_[e]&&(this.wrappers_[e]=new o.ctor(this.extensionObject_[e])),this.wrappers_[e];return this.extensionObject_[e]}},goog.exportProperty(jspb.Message.prototype,"getExtension",jspb.Message.prototype.getExtension),jspb.Message.prototype.setExtension=function(o,e){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var r=o.fieldIndex;return o.isRepeated?(e=e||[],o.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=goog.array.map(e,function(s){return s.toArray()})):this.extensionObject_[r]=e):o.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=e&&e.toArray()):this.extensionObject_[r]=e,this},goog.exportProperty(jspb.Message.prototype,"setExtension",jspb.Message.prototype.setExtension),jspb.Message.difference=function(o,e){if(!(o instanceof e.constructor))throw Error("Messages have different types.");var r=o.toArray();e=e.toArray();var s=[],t=0,i=r.length>e.length?r.length:e.length;for(o.getJsPbMessageId()&&(s[0]=o.getJsPbMessageId(),t=1);t<i;t++)jspb.Message.compareFields(r[t],e[t])||(s[t]=e[t]);return new o.constructor(s)},goog.exportProperty(jspb.Message,"difference",jspb.Message.difference),jspb.Message.equals=function(o,e){return o==e||!(!o||!e)&&o instanceof e.constructor&&jspb.Message.compareFields(o.toArray(),e.toArray())},goog.exportProperty(jspb.Message,"equals",jspb.Message.equals),jspb.Message.compareExtensions=function(o,e){o=o||{},e=e||{};var r={},s;for(s in o)r[s]=0;for(s in e)r[s]=0;for(s in r)if(!jspb.Message.compareFields(o[s],e[s]))return!1;return!0},goog.exportProperty(jspb.Message,"compareExtensions",jspb.Message.compareExtensions),jspb.Message.compareFields=function(o,e){if(o==e)return!0;if(!goog.isObject(o)||!goog.isObject(e))return typeof o=="number"&&isNaN(o)||typeof e=="number"&&isNaN(e)?String(o)==String(e):!1;if(o.constructor!=e.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o.constructor===Uint8Array){if(o.length!=e.length)return!1;for(var r=0;r<o.length;r++)if(o[r]!=e[r])return!1;return!0}if(o.constructor===Array){var s=void 0,t=void 0,i=Math.max(o.length,e.length);for(r=0;r<i;r++){var n=o[r],p=e[r];if(n&&n.constructor==Object&&(jspb.asserts.assert(s===void 0),jspb.asserts.assert(r===o.length-1),s=n,n=void 0),p&&p.constructor==Object&&(jspb.asserts.assert(t===void 0),jspb.asserts.assert(r===e.length-1),t=p,p=void 0),!jspb.Message.compareFields(n,p))return!1}return s||t?(s=s||{},t=t||{},jspb.Message.compareExtensions(s,t)):!0}if(o.constructor===Object)return jspb.Message.compareExtensions(o,e);throw Error("Invalid type in JSPB array")},goog.exportProperty(jspb.Message,"compareFields",jspb.Message.compareFields),jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"cloneMessage",jspb.Message.prototype.cloneMessage),jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"clone",jspb.Message.prototype.clone),jspb.Message.clone=function(o){return jspb.Message.cloneMessage(o)},goog.exportProperty(jspb.Message,"clone",jspb.Message.clone),jspb.Message.cloneMessage=function(o){return new o.constructor(jspb.Message.clone_(o.toArray()))},jspb.Message.copyInto=function(o,e){jspb.asserts.assertInstanceof(o,jspb.Message),jspb.asserts.assertInstanceof(e,jspb.Message),jspb.asserts.assert(o.constructor==e.constructor,"Copy source and target message should have the same type."),o=jspb.Message.clone(o);for(var r=e.toArray(),s=o.toArray(),t=r.length=0;t<s.length;t++)r[t]=s[t];e.wrappers_=o.wrappers_,e.extensionObject_=o.extensionObject_},goog.exportProperty(jspb.Message,"copyInto",jspb.Message.copyInto),jspb.Message.clone_=function(o){if(Array.isArray(o)){for(var e=Array(o.length),r=0;r<o.length;r++){var s=o[r];s!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(jspb.asserts.assert(s)):s)}return e}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)return new Uint8Array(o);e={};for(r in o)s=o[r],s!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(jspb.asserts.assert(s)):s);return e},jspb.Message.registerMessageType=function(o,e){e.messageId=o},goog.exportProperty(jspb.Message,"registerMessageType",jspb.Message.registerMessageType),jspb.Message.messageSetExtensions={},jspb.Message.messageSetExtensionsBinary={},jspb.Export={},exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=jspb.BinaryReader,exports.BinaryWriter=jspb.BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:goog.object.extend},exports.typeOf=goog.typeOf})(googleProtobuf$l);var common_pb$f={},descriptor_pb$j={};(function(o){var e=googleProtobuf$l,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.DescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,s),r.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,s),r.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,s),r.exportSymbol("proto.google.protobuf.EnumOptions",null,s),r.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.EnumValueOptions",null,s),r.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,s),r.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,s),r.exportSymbol("proto.google.protobuf.FileOptions",null,s),r.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,s),r.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,s),r.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,s),r.exportSymbol("proto.google.protobuf.MessageOptions",null,s),r.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.MethodOptions",null,s),r.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,s),r.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.OneofOptions",null,s),r.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.ServiceOptions",null,s),r.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,s),r.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,s),r.exportSymbol("proto.google.protobuf.UninterpretedOption",null,s),r.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,s),proto.google.protobuf.FileDescriptorSet=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileDescriptorSet,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet"),proto.google.protobuf.FileDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto"),proto.google.protobuf.DescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.DescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto"),proto.google.protobuf.DescriptorProto.ExtensionRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange"),proto.google.protobuf.DescriptorProto.ReservedRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange"),proto.google.protobuf.ExtensionRangeOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.ExtensionRangeOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ExtensionRangeOptions.displayName="proto.google.protobuf.ExtensionRangeOptions"),proto.google.protobuf.ExtensionRangeOptions.extensions={},proto.google.protobuf.ExtensionRangeOptions.extensionsBinary={},proto.google.protobuf.FieldDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.FieldDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto"),proto.google.protobuf.OneofDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.OneofDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto"),proto.google.protobuf.EnumDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto"),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange"),proto.google.protobuf.EnumValueDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.EnumValueDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto"),proto.google.protobuf.ServiceDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.ServiceDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto"),proto.google.protobuf.MethodDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.MethodDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto"),proto.google.protobuf.FileOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileOptions.displayName="proto.google.protobuf.FileOptions"),proto.google.protobuf.FileOptions.extensions={},proto.google.protobuf.FileOptions.extensionsBinary={},proto.google.protobuf.MessageOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.MessageOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MessageOptions.displayName="proto.google.protobuf.MessageOptions"),proto.google.protobuf.MessageOptions.extensions={},proto.google.protobuf.MessageOptions.extensionsBinary={},proto.google.protobuf.FieldOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.FieldOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldOptions.displayName="proto.google.protobuf.FieldOptions"),proto.google.protobuf.FieldOptions.extensions={},proto.google.protobuf.FieldOptions.extensionsBinary={},proto.google.protobuf.OneofOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.OneofOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofOptions.displayName="proto.google.protobuf.OneofOptions"),proto.google.protobuf.OneofOptions.extensions={},proto.google.protobuf.OneofOptions.extensionsBinary={},proto.google.protobuf.EnumOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumOptions.displayName="proto.google.protobuf.EnumOptions"),proto.google.protobuf.EnumOptions.extensions={},proto.google.protobuf.EnumOptions.extensionsBinary={},proto.google.protobuf.EnumValueOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumValueOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueOptions.displayName="proto.google.protobuf.EnumValueOptions"),proto.google.protobuf.EnumValueOptions.extensions={},proto.google.protobuf.EnumValueOptions.extensionsBinary={},proto.google.protobuf.ServiceOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.ServiceOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceOptions.displayName="proto.google.protobuf.ServiceOptions"),proto.google.protobuf.ServiceOptions.extensions={},proto.google.protobuf.ServiceOptions.extensionsBinary={},proto.google.protobuf.MethodOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.MethodOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodOptions.displayName="proto.google.protobuf.MethodOptions"),proto.google.protobuf.MethodOptions.extensions={},proto.google.protobuf.MethodOptions.extensionsBinary={},proto.google.protobuf.UninterpretedOption=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)},r.inherits(proto.google.protobuf.UninterpretedOption,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption"),proto.google.protobuf.UninterpretedOption.NamePart=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.UninterpretedOption.NamePart,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart"),proto.google.protobuf.SourceCodeInfo=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)},r.inherits(proto.google.protobuf.SourceCodeInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo"),proto.google.protobuf.SourceCodeInfo.Location=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)},r.inherits(proto.google.protobuf.SourceCodeInfo.Location,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location"),proto.google.protobuf.GeneratedCodeInfo=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)},r.inherits(proto.google.protobuf.GeneratedCodeInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo"),proto.google.protobuf.GeneratedCodeInfo.Annotation=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)},r.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation"),proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorSet.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorSet.toObject(t,this)},proto.google.protobuf.FileDescriptorSet.toObject=function(t,i){var n={fileList:e.Message.toObjectList(i.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileDescriptorSet;return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.FileDescriptorProto;i.readMessage(p,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),t.addFile(p);break;default:i.skipField();break}}return t},proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getFileList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter)},proto.google.protobuf.FileDescriptorSet.prototype.getFileList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)},proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.FileDescriptorProto,i)},proto.google.protobuf.FileDescriptorSet.prototype.clearFileList=function(){return this.setFileList([])},proto.google.protobuf.FileDescriptorProto.repeatedFields_=[3,10,11,4,5,6,7],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorProto.toObject(t,this)},proto.google.protobuf.FileDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,pb_package:(n=e.Message.getField(i,2))==null?void 0:n,dependencyList:(n=e.Message.getRepeatedField(i,3))==null?void 0:n,publicDependencyList:(n=e.Message.getRepeatedField(i,10))==null?void 0:n,weakDependencyList:(n=e.Message.getRepeatedField(i,11))==null?void 0:n,messageTypeList:e.Message.toObjectList(i.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:e.Message.toObjectList(i.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),serviceList:e.Message.toObjectList(i.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,t),extensionList:e.Message.toObjectList(i.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.FileOptions.toObject(t,n),sourceCodeInfo:(n=i.getSourceCodeInfo())&&proto.google.protobuf.SourceCodeInfo.toObject(t,n),syntax:(n=e.Message.getField(i,12))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileDescriptorProto;return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var l=i.readString();t.setName(l);break;case 2:var l=i.readString();t.setPackage(l);break;case 3:var l=i.readString();t.addDependency(l);break;case 10:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addPublicDependency(g[p]);break;case 11:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addWeakDependency(g[p]);break;case 4:var l=new proto.google.protobuf.DescriptorProto;i.readMessage(l,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addMessageType(l);break;case 5:var l=new proto.google.protobuf.EnumDescriptorProto;i.readMessage(l,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(l);break;case 6:var l=new proto.google.protobuf.ServiceDescriptorProto;i.readMessage(l,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),t.addService(l);break;case 7:var l=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(l,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(l);break;case 8:var l=new proto.google.protobuf.FileOptions;i.readMessage(l,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),t.setOptions(l);break;case 9:var l=new proto.google.protobuf.SourceCodeInfo;i.readMessage(l,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),t.setSourceCodeInfo(l);break;case 12:var l=i.readString();t.setSyntax(l);break;default:i.skipField();break}}return t},proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=t.getDependencyList(),n.length>0&&i.writeRepeatedString(3,n),n=t.getPublicDependencyList(),n.length>0&&i.writeRepeatedInt32(10,n),n=t.getWeakDependencyList(),n.length>0&&i.writeRepeatedInt32(11,n),n=t.getMessageTypeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),n=t.getEnumTypeList(),n.length>0&&i.writeRepeatedMessage(5,n,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),n=t.getServiceList(),n.length>0&&i.writeRepeatedMessage(6,n,proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter),n=t.getExtensionList(),n.length>0&&i.writeRepeatedMessage(7,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(8,n,proto.google.protobuf.FileOptions.serializeBinaryToWriter),n=t.getSourceCodeInfo(),n!=null&&i.writeMessage(9,n,proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter),n=e.Message.getField(t,12),n!=null&&i.writeString(12,n)},proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return e.Message.getRepeatedField(this,3)},proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(t){return e.Message.setField(this,3,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(t,i){return e.Message.addToRepeatedField(this,3,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return e.Message.getRepeatedField(this,10)},proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(t){return e.Message.setField(this,10,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(t,i){return e.Message.addToRepeatedField(this,10,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return e.Message.getRepeatedField(this,11)},proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(t){return e.Message.setField(this,11,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(t,i){return e.Message.addToRepeatedField(this,11,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)},proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.DescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearMessageTypeList=function(){return this.setMessageTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getEnumTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)},proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(t){return e.Message.setRepeatedWrapperField(this,5,t)},proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(t,i){return e.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.EnumDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getServiceList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)},proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(t){return e.Message.setRepeatedWrapperField(this,6,t)},proto.google.protobuf.FileDescriptorProto.prototype.addService=function(t,i){return e.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.ServiceDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearServiceList=function(){return this.setServiceList([])},proto.google.protobuf.FileDescriptorProto.prototype.getExtensionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)},proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(t){return e.Message.setRepeatedWrapperField(this,7,t)},proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(t,i){return e.Message.addToRepeatedWrapperField(this,7,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.FileDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)},proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,8,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return e.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)},proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(t){return e.Message.setWrapperField(this,9,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearSourceCodeInfo=function(){return this.setSourceCodeInfo(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSourceCodeInfo=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return e.Message.getFieldWithDefault(this,12,"")},proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(t){return e.Message.setField(this,12,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return e.Message.setField(this,12,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return e.Message.getField(this,12)!=null},proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.toObject(t,this)},proto.google.protobuf.DescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,fieldList:e.Message.toObjectList(i.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),extensionList:e.Message.toObjectList(i.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),nestedTypeList:e.Message.toObjectList(i.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:e.Message.toObjectList(i.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),extensionRangeList:e.Message.toObjectList(i.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,t),oneofDeclList:e.Message.toObjectList(i.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.MessageOptions.toObject(t,n),reservedRangeList:e.Message.toObjectList(i.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,t),reservedNameList:(n=e.Message.getRepeatedField(i,10))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto;return proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addField(p);break;case 6:var p=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(p);break;case 3:var p=new proto.google.protobuf.DescriptorProto;i.readMessage(p,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addNestedType(p);break;case 4:var p=new proto.google.protobuf.EnumDescriptorProto;i.readMessage(p,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(p);break;case 5:var p=new proto.google.protobuf.DescriptorProto.ExtensionRange;i.readMessage(p,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),t.addExtensionRange(p);break;case 8:var p=new proto.google.protobuf.OneofDescriptorProto;i.readMessage(p,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),t.addOneofDecl(p);break;case 7:var p=new proto.google.protobuf.MessageOptions;i.readMessage(p,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 9:var p=new proto.google.protobuf.DescriptorProto.ReservedRange;i.readMessage(p,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),t.addReservedRange(p);break;case 10:var p=i.readString();t.addReservedName(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getFieldList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getExtensionList(),n.length>0&&i.writeRepeatedMessage(6,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getNestedTypeList(),n.length>0&&i.writeRepeatedMessage(3,n,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),n=t.getEnumTypeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),n=t.getExtensionRangeList(),n.length>0&&i.writeRepeatedMessage(5,n,proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter),n=t.getOneofDeclList(),n.length>0&&i.writeRepeatedMessage(8,n,proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(7,n,proto.google.protobuf.MessageOptions.serializeBinaryToWriter),n=t.getReservedRangeList(),n.length>0&&i.writeRepeatedMessage(9,n,proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter),n=t.getReservedNameList(),n.length>0&&i.writeRepeatedString(10,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ExtensionRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ExtensionRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto.ExtensionRange;return proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;case 3:var p=new proto.google.protobuf.ExtensionRangeOptions;i.readMessage(p,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ReservedRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ReservedRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ReservedRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto.ReservedRange;return proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.DescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)},proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.DescriptorProto.prototype.addField=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearFieldList=function(){return this.setFieldList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)},proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(t){return e.Message.setRepeatedWrapperField(this,6,t)},proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(t,i){return e.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.DescriptorProto.prototype.getNestedTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)},proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(t){return e.Message.setRepeatedWrapperField(this,3,t)},proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(t,i){return e.Message.addToRepeatedWrapperField(this,3,t,proto.google.protobuf.DescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearNestedTypeList=function(){return this.setNestedTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getEnumTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)},proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)},proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(t){return e.Message.setRepeatedWrapperField(this,5,t)},proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.DescriptorProto.ExtensionRange,i)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionRangeList=function(){return this.setExtensionRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getOneofDeclList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)},proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(t){return e.Message.setRepeatedWrapperField(this,8,t)},proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(t,i){return e.Message.addToRepeatedWrapperField(this,8,t,proto.google.protobuf.OneofDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearOneofDeclList=function(){return this.setOneofDeclList([])},proto.google.protobuf.DescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)},proto.google.protobuf.DescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,7,t)},proto.google.protobuf.DescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)},proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(t){return e.Message.setRepeatedWrapperField(this,9,t)},proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,9,t,proto.google.protobuf.DescriptorProto.ReservedRange,i)},proto.google.protobuf.DescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getReservedNameList=function(){return e.Message.getRepeatedField(this,10)},proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(t){return e.Message.setField(this,10,t||[])},proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(t,i){return e.Message.addToRepeatedField(this,10,t,i)},proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ExtensionRangeOptions.prototype.toObject=function(t){return proto.google.protobuf.ExtensionRangeOptions.toObject(t,this)},proto.google.protobuf.ExtensionRangeOptions.toObject=function(t,i){var n={uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ExtensionRangeOptions;return proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,proto.google.protobuf.ExtensionRangeOptions.prototype.setExtension);break}}return t},proto.google.protobuf.ExtensionRangeOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)},proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FieldDescriptorProto.toObject(t,this)},proto.google.protobuf.FieldDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,number:(n=e.Message.getField(i,3))==null?void 0:n,label:(n=e.Message.getField(i,4))==null?void 0:n,type:(n=e.Message.getField(i,5))==null?void 0:n,typeName:(n=e.Message.getField(i,6))==null?void 0:n,extendee:(n=e.Message.getField(i,2))==null?void 0:n,defaultValue:(n=e.Message.getField(i,7))==null?void 0:n,oneofIndex:(n=e.Message.getField(i,9))==null?void 0:n,jsonName:(n=e.Message.getField(i,10))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.FieldOptions.toObject(t,n),proto3Optional:(n=e.Message.getBooleanField(i,17))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FieldDescriptorProto;return proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 3:var p=i.readInt32();t.setNumber(p);break;case 4:var p=i.readEnum();t.setLabel(p);break;case 5:var p=i.readEnum();t.setType(p);break;case 6:var p=i.readString();t.setTypeName(p);break;case 2:var p=i.readString();t.setExtendee(p);break;case 7:var p=i.readString();t.setDefaultValue(p);break;case 9:var p=i.readInt32();t.setOneofIndex(p);break;case 10:var p=i.readString();t.setJsonName(p);break;case 8:var p=new proto.google.protobuf.FieldOptions;i.readMessage(p,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 17:var p=i.readBool();t.setProto3Optional(p);break;default:i.skipField();break}}return t},proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,3),n!=null&&i.writeInt32(3,n),n=e.Message.getField(t,4),n!=null&&i.writeEnum(4,n),n=e.Message.getField(t,5),n!=null&&i.writeEnum(5,n),n=e.Message.getField(t,6),n!=null&&i.writeString(6,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,7),n!=null&&i.writeString(7,n),n=e.Message.getField(t,9),n!=null&&i.writeInt32(9,n),n=e.Message.getField(t,10),n!=null&&i.writeString(10,n),n=t.getOptions(),n!=null&&i.writeMessage(8,n,proto.google.protobuf.FieldOptions.serializeBinaryToWriter),n=e.Message.getField(t,17),n!=null&&i.writeBool(17,n)},proto.google.protobuf.FieldDescriptorProto.Type={TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18},proto.google.protobuf.FieldDescriptorProto.Label={LABEL_OPTIONAL:1,LABEL_REQUIRED:2,LABEL_REPEATED:3},proto.google.protobuf.FieldDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return e.Message.getFieldWithDefault(this,4,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return e.Message.getFieldWithDefault(this,5,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return e.Message.getFieldWithDefault(this,9,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(t){return e.Message.setField(this,9,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return e.Message.setField(this,9,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return e.Message.getFieldWithDefault(this,10,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)},proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,8,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return e.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(t){return e.Message.setField(this,17,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return e.Message.setField(this,17,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return e.Message.getField(this,17)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.OneofDescriptorProto.toObject(t,this)},proto.google.protobuf.OneofDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.OneofOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.OneofDescriptorProto;return proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.OneofOptions;i.readMessage(p,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getOptions(),n!=null&&i.writeMessage(2,n,proto.google.protobuf.OneofOptions.serializeBinaryToWriter)},proto.google.protobuf.OneofDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)},proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,2,t)},proto.google.protobuf.OneofDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,valueList:e.Message.toObjectList(i.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.EnumOptions.toObject(t,n),reservedRangeList:e.Message.toObjectList(i.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,t),reservedNameList:(n=e.Message.getRepeatedField(i,5))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumDescriptorProto;return proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.EnumValueDescriptorProto;i.readMessage(p,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),t.addValue(p);break;case 3:var p=new proto.google.protobuf.EnumOptions;i.readMessage(p,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 4:var p=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;i.readMessage(p,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),t.addReservedRange(p);break;case 5:var p=i.readString();t.addReservedName(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getValueList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.EnumOptions.serializeBinaryToWriter),n=t.getReservedRangeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter),n=t.getReservedNameList(),n.length>0&&i.writeRepeatedString(5,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)},proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.EnumValueDescriptorProto,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearValueList=function(){return this.setValueList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)},proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedNameList=function(){return e.Message.getRepeatedField(this,5)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(t){return e.Message.setField(this,5,t||[])},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(t,i){return e.Message.addToRepeatedField(this,5,t,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumValueDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumValueDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,number:(n=e.Message.getField(i,2))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumValueDescriptorProto;return proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=i.readInt32();t.setNumber(p);break;case 3:var p=new proto.google.protobuf.EnumValueOptions;i.readMessage(p,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter)},proto.google.protobuf.EnumValueDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.ServiceDescriptorProto.toObject(t,this)},proto.google.protobuf.ServiceDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,methodList:e.Message.toObjectList(i.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ServiceDescriptorProto;return proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.MethodDescriptorProto;i.readMessage(p,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),t.addMethod(p);break;case 3:var p=new proto.google.protobuf.ServiceOptions;i.readMessage(p,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getMethodList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.ServiceOptions.serializeBinaryToWriter)},proto.google.protobuf.ServiceDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)},proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.MethodDescriptorProto,i)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearMethodList=function(){return this.setMethodList([])},proto.google.protobuf.ServiceDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)},proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.MethodDescriptorProto.toObject(t,this)},proto.google.protobuf.MethodDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,inputType:(n=e.Message.getField(i,2))==null?void 0:n,outputType:(n=e.Message.getField(i,3))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.MethodOptions.toObject(t,n),clientStreaming:e.Message.getBooleanFieldWithDefault(i,5,!1),serverStreaming:e.Message.getBooleanFieldWithDefault(i,6,!1)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MethodDescriptorProto;return proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=i.readString();t.setInputType(p);break;case 3:var p=i.readString();t.setOutputType(p);break;case 4:var p=new proto.google.protobuf.MethodOptions;i.readMessage(p,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 5:var p=i.readBool();t.setClientStreaming(p);break;case 6:var p=i.readBool();t.setServerStreaming(p);break;default:i.skipField();break}}return t},proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=t.getOptions(),n!=null&&i.writeMessage(4,n,proto.google.protobuf.MethodOptions.serializeBinaryToWriter),n=e.Message.getField(t,5),n!=null&&i.writeBool(5,n),n=e.Message.getField(t,6),n!=null&&i.writeBool(6,n)},proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)},proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,4,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return e.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return e.Message.getBooleanFieldWithDefault(this,6,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FileOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileOptions.prototype.toObject=function(t){return proto.google.protobuf.FileOptions.toObject(t,this)},proto.google.protobuf.FileOptions.toObject=function(t,i){var n,p={javaPackage:(n=e.Message.getField(i,1))==null?void 0:n,javaOuterClassname:(n=e.Message.getField(i,8))==null?void 0:n,javaMultipleFiles:e.Message.getBooleanFieldWithDefault(i,10,!1),javaGenerateEqualsAndHash:(n=e.Message.getBooleanField(i,20))==null?void 0:n,javaStringCheckUtf8:e.Message.getBooleanFieldWithDefault(i,27,!1),optimizeFor:e.Message.getFieldWithDefault(i,9,1),goPackage:(n=e.Message.getField(i,11))==null?void 0:n,ccGenericServices:e.Message.getBooleanFieldWithDefault(i,16,!1),javaGenericServices:e.Message.getBooleanFieldWithDefault(i,17,!1),pyGenericServices:e.Message.getBooleanFieldWithDefault(i,18,!1),phpGenericServices:e.Message.getBooleanFieldWithDefault(i,42,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,23,!1),ccEnableArenas:e.Message.getBooleanFieldWithDefault(i,31,!0),objcClassPrefix:(n=e.Message.getField(i,36))==null?void 0:n,csharpNamespace:(n=e.Message.getField(i,37))==null?void 0:n,swiftPrefix:(n=e.Message.getField(i,39))==null?void 0:n,phpClassPrefix:(n=e.Message.getField(i,40))==null?void 0:n,phpNamespace:(n=e.Message.getField(i,41))==null?void 0:n,phpMetadataNamespace:(n=e.Message.getField(i,44))==null?void 0:n,rubyPackage:(n=e.Message.getField(i,45))==null?void 0:n,uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FileOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileOptions;return proto.google.protobuf.FileOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setJavaPackage(p);break;case 8:var p=i.readString();t.setJavaOuterClassname(p);break;case 10:var p=i.readBool();t.setJavaMultipleFiles(p);break;case 20:var p=i.readBool();t.setJavaGenerateEqualsAndHash(p);break;case 27:var p=i.readBool();t.setJavaStringCheckUtf8(p);break;case 9:var p=i.readEnum();t.setOptimizeFor(p);break;case 11:var p=i.readString();t.setGoPackage(p);break;case 16:var p=i.readBool();t.setCcGenericServices(p);break;case 17:var p=i.readBool();t.setJavaGenericServices(p);break;case 18:var p=i.readBool();t.setPyGenericServices(p);break;case 42:var p=i.readBool();t.setPhpGenericServices(p);break;case 23:var p=i.readBool();t.setDeprecated(p);break;case 31:var p=i.readBool();t.setCcEnableArenas(p);break;case 36:var p=i.readString();t.setObjcClassPrefix(p);break;case 37:var p=i.readString();t.setCsharpNamespace(p);break;case 39:var p=i.readString();t.setSwiftPrefix(p);break;case 40:var p=i.readString();t.setPhpClassPrefix(p);break;case 41:var p=i.readString();t.setPhpNamespace(p);break;case 44:var p=i.readString();t.setPhpMetadataNamespace(p);break;case 45:var p=i.readString();t.setRubyPackage(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension,proto.google.protobuf.FileOptions.prototype.setExtension);break}}return t},proto.google.protobuf.FileOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,8),n!=null&&i.writeString(8,n),n=e.Message.getField(t,10),n!=null&&i.writeBool(10,n),n=e.Message.getField(t,20),n!=null&&i.writeBool(20,n),n=e.Message.getField(t,27),n!=null&&i.writeBool(27,n),n=e.Message.getField(t,9),n!=null&&i.writeEnum(9,n),n=e.Message.getField(t,11),n!=null&&i.writeString(11,n),n=e.Message.getField(t,16),n!=null&&i.writeBool(16,n),n=e.Message.getField(t,17),n!=null&&i.writeBool(17,n),n=e.Message.getField(t,18),n!=null&&i.writeBool(18,n),n=e.Message.getField(t,42),n!=null&&i.writeBool(42,n),n=e.Message.getField(t,23),n!=null&&i.writeBool(23,n),n=e.Message.getField(t,31),n!=null&&i.writeBool(31,n),n=e.Message.getField(t,36),n!=null&&i.writeString(36,n),n=e.Message.getField(t,37),n!=null&&i.writeString(37,n),n=e.Message.getField(t,39),n!=null&&i.writeString(39,n),n=e.Message.getField(t,40),n!=null&&i.writeString(40,n),n=e.Message.getField(t,41),n!=null&&i.writeString(41,n),n=e.Message.getField(t,44),n!=null&&i.writeString(44,n),n=e.Message.getField(t,45),n!=null&&i.writeString(45,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension)},proto.google.protobuf.FileOptions.OptimizeMode={SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3},proto.google.protobuf.FileOptions.prototype.getJavaPackage=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return e.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(t){return e.Message.setField(this,8,t)},proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return e.Message.setField(this,8,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return e.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return e.Message.getBooleanFieldWithDefault(this,20,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(t){return e.Message.setField(this,20,t)},proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return e.Message.setField(this,20,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return e.Message.getField(this,20)!=null},proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return e.Message.getBooleanFieldWithDefault(this,27,!1)},proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(t){return e.Message.setField(this,27,t)},proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return e.Message.setField(this,27,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return e.Message.getField(this,27)!=null},proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return e.Message.getFieldWithDefault(this,9,1)},proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(t){return e.Message.setField(this,9,t)},proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return e.Message.setField(this,9,void 0)},proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return e.Message.getFieldWithDefault(this,11,"")},proto.google.protobuf.FileOptions.prototype.setGoPackage=function(t){return e.Message.setField(this,11,t)},proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return e.Message.setField(this,11,void 0)},proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return e.Message.getField(this,11)!=null},proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,16,!1)},proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(t){return e.Message.setField(this,16,t)},proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return e.Message.setField(this,16,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return e.Message.getField(this,16)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(t){return e.Message.setField(this,17,t)},proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return e.Message.setField(this,17,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return e.Message.getField(this,17)!=null},proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,18,!1)},proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(t){return e.Message.setField(this,18,t)},proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return e.Message.setField(this,18,void 0)},proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return e.Message.getField(this,18)!=null},proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,42,!1)},proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(t){return e.Message.setField(this,42,t)},proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return e.Message.setField(this,42,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return e.Message.getField(this,42)!=null},proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,23,!1)},proto.google.protobuf.FileOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,23,t)},proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,23,void 0)},proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,23)!=null},proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return e.Message.getBooleanFieldWithDefault(this,31,!0)},proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(t){return e.Message.setField(this,31,t)},proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return e.Message.setField(this,31,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return e.Message.getField(this,31)!=null},proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return e.Message.getFieldWithDefault(this,36,"")},proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(t){return e.Message.setField(this,36,t)},proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return e.Message.setField(this,36,void 0)},proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return e.Message.getField(this,36)!=null},proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return e.Message.getFieldWithDefault(this,37,"")},proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(t){return e.Message.setField(this,37,t)},proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return e.Message.setField(this,37,void 0)},proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return e.Message.getField(this,37)!=null},proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return e.Message.getFieldWithDefault(this,39,"")},proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(t){return e.Message.setField(this,39,t)},proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return e.Message.setField(this,39,void 0)},proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return e.Message.getField(this,39)!=null},proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return e.Message.getFieldWithDefault(this,40,"")},proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(t){return e.Message.setField(this,40,t)},proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return e.Message.setField(this,40,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return e.Message.getField(this,40)!=null},proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return e.Message.getFieldWithDefault(this,41,"")},proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(t){return e.Message.setField(this,41,t)},proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return e.Message.setField(this,41,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return e.Message.getField(this,41)!=null},proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return e.Message.getFieldWithDefault(this,44,"")},proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(t){return e.Message.setField(this,44,t)},proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return e.Message.setField(this,44,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return e.Message.getField(this,44)!=null},proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return e.Message.getFieldWithDefault(this,45,"")},proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(t){return e.Message.setField(this,45,t)},proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return e.Message.setField(this,45,void 0)},proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return e.Message.getField(this,45)!=null},proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.FileOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MessageOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MessageOptions.prototype.toObject=function(t){return proto.google.protobuf.MessageOptions.toObject(t,this)},proto.google.protobuf.MessageOptions.toObject=function(t,i){var n,p={messageSetWireFormat:e.Message.getBooleanFieldWithDefault(i,1,!1),noStandardDescriptorAccessor:e.Message.getBooleanFieldWithDefault(i,2,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),mapEntry:(n=e.Message.getBooleanField(i,7))==null?void 0:n,uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.MessageOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MessageOptions;return proto.google.protobuf.MessageOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MessageOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readBool();t.setMessageSetWireFormat(p);break;case 2:var p=i.readBool();t.setNoStandardDescriptorAccessor(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 7:var p=i.readBool();t.setMapEntry(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension,proto.google.protobuf.MessageOptions.prototype.setExtension);break}}return t},proto.google.protobuf.MessageOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeBool(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=e.Message.getField(t,7),n!=null&&i.writeBool(7,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)},proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return e.Message.getBooleanFieldWithDefault(this,7,!1)},proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.MessageOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.FieldOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldOptions.prototype.toObject=function(t){return proto.google.protobuf.FieldOptions.toObject(t,this)},proto.google.protobuf.FieldOptions.toObject=function(t,i){var n,p={ctype:e.Message.getFieldWithDefault(i,1,0),packed:(n=e.Message.getBooleanField(i,2))==null?void 0:n,jstype:e.Message.getFieldWithDefault(i,6,0),lazy:e.Message.getBooleanFieldWithDefault(i,5,!1),unverifiedLazy:e.Message.getBooleanFieldWithDefault(i,15,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),weak:e.Message.getBooleanFieldWithDefault(i,10,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FieldOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FieldOptions;return proto.google.protobuf.FieldOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FieldOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readEnum();t.setCtype(p);break;case 2:var p=i.readBool();t.setPacked(p);break;case 6:var p=i.readEnum();t.setJstype(p);break;case 5:var p=i.readBool();t.setLazy(p);break;case 15:var p=i.readBool();t.setUnverifiedLazy(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 10:var p=i.readBool();t.setWeak(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension,proto.google.protobuf.FieldOptions.prototype.setExtension);break}}return t},proto.google.protobuf.FieldOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeEnum(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,6),n!=null&&i.writeEnum(6,n),n=e.Message.getField(t,5),n!=null&&i.writeBool(5,n),n=e.Message.getField(t,15),n!=null&&i.writeBool(15,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=e.Message.getField(t,10),n!=null&&i.writeBool(10,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension)},proto.google.protobuf.FieldOptions.CType={STRING:0,CORD:1,STRING_PIECE:2},proto.google.protobuf.FieldOptions.JSType={JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2},proto.google.protobuf.FieldOptions.prototype.getCtype=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.FieldOptions.prototype.setCtype=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.FieldOptions.prototype.setPacked=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return e.Message.getFieldWithDefault(this,6,0)},proto.google.protobuf.FieldOptions.prototype.setJstype=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return e.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.FieldOptions.prototype.setLazy=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.FieldOptions.prototype.getUnverifiedLazy=function(){return e.Message.getBooleanFieldWithDefault(this,15,!1)},proto.google.protobuf.FieldOptions.prototype.setUnverifiedLazy=function(t){return e.Message.setField(this,15,t)},proto.google.protobuf.FieldOptions.prototype.clearUnverifiedLazy=function(){return e.Message.setField(this,15,void 0)},proto.google.protobuf.FieldOptions.prototype.hasUnverifiedLazy=function(){return e.Message.getField(this,15)!=null},proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return e.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FieldOptions.prototype.setWeak=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.FieldOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.OneofOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofOptions.prototype.toObject=function(t){return proto.google.protobuf.OneofOptions.toObject(t,this)},proto.google.protobuf.OneofOptions.toObject=function(t,i){var n={uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.OneofOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.OneofOptions;return proto.google.protobuf.OneofOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.OneofOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension,proto.google.protobuf.OneofOptions.prototype.setExtension);break}}return t},proto.google.protobuf.OneofOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.OneofOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.OneofOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)},proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.OneofOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumOptions.toObject(t,this)},proto.google.protobuf.EnumOptions.toObject=function(t,i){var n,p={allowAlias:(n=e.Message.getBooleanField(i,2))==null?void 0:n,deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumOptions;return proto.google.protobuf.EnumOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 2:var p=i.readBool();t.setAllowAlias(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension,proto.google.protobuf.EnumOptions.prototype.setExtension);break}}return t},proto.google.protobuf.EnumOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)},proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.EnumOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumValueOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumValueOptions.toObject(t,this)},proto.google.protobuf.EnumValueOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,1,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.EnumValueOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumValueOptions;return proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension,proto.google.protobuf.EnumValueOptions.prototype.setExtension);break}}return t},proto.google.protobuf.EnumValueOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeBool(1,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)},proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.EnumValueOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.ServiceOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceOptions.prototype.toObject=function(t){return proto.google.protobuf.ServiceOptions.toObject(t,this)},proto.google.protobuf.ServiceOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,33,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ServiceOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ServiceOptions;return proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 33:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension,proto.google.protobuf.ServiceOptions.prototype.setExtension);break}}return t},proto.google.protobuf.ServiceOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,33),n!=null&&i.writeBool(33,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)},proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,33,t)},proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,33,void 0)},proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,33)!=null},proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.ServiceOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MethodOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodOptions.prototype.toObject=function(t){return proto.google.protobuf.MethodOptions.toObject(t,this)},proto.google.protobuf.MethodOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,33,!1),idempotencyLevel:e.Message.getFieldWithDefault(i,34,0),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.MethodOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MethodOptions;return proto.google.protobuf.MethodOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MethodOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 33:var p=i.readBool();t.setDeprecated(p);break;case 34:var p=i.readEnum();t.setIdempotencyLevel(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension,proto.google.protobuf.MethodOptions.prototype.setExtension);break}}return t},proto.google.protobuf.MethodOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,33),n!=null&&i.writeBool(33,n),n=e.Message.getField(t,34),n!=null&&i.writeEnum(34,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension)},proto.google.protobuf.MethodOptions.IdempotencyLevel={IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2},proto.google.protobuf.MethodOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,33,t)},proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,33,void 0)},proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,33)!=null},proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return e.Message.getFieldWithDefault(this,34,0)},proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(t){return e.Message.setField(this,34,t)},proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return e.Message.setField(this,34,void 0)},proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return e.Message.getField(this,34)!=null},proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.MethodOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.UninterpretedOption.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.toObject(t,this)},proto.google.protobuf.UninterpretedOption.toObject=function(t,i){var n,p={nameList:e.Message.toObjectList(i.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,t),identifierValue:(n=e.Message.getField(i,3))==null?void 0:n,positiveIntValue:(n=e.Message.getField(i,4))==null?void 0:n,negativeIntValue:(n=e.Message.getField(i,5))==null?void 0:n,doubleValue:(n=e.Message.getOptionalFloatingPointField(i,6))==null?void 0:n,stringValue:i.getStringValue_asB64(),aggregateValue:(n=e.Message.getField(i,8))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.UninterpretedOption.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.UninterpretedOption;return proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader(n,i)},proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 2:var p=new proto.google.protobuf.UninterpretedOption.NamePart;i.readMessage(p,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),t.addName(p);break;case 3:var p=i.readString();t.setIdentifierValue(p);break;case 4:var p=i.readUint64();t.setPositiveIntValue(p);break;case 5:var p=i.readInt64();t.setNegativeIntValue(p);break;case 6:var p=i.readDouble();t.setDoubleValue(p);break;case 7:var p=i.readBytes();t.setStringValue(p);break;case 8:var p=i.readString();t.setAggregateValue(p);break;default:i.skipField();break}}return t},proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getNameList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeUint64(4,n),n=e.Message.getField(t,5),n!=null&&i.writeInt64(5,n),n=e.Message.getField(t,6),n!=null&&i.writeDouble(6,n),n=e.Message.getField(t,7),n!=null&&i.writeBytes(7,n),n=e.Message.getField(t,8),n!=null&&i.writeString(8,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.NamePart.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.NamePart.toObject(t,this)},proto.google.protobuf.UninterpretedOption.NamePart.toObject=function(t,i){var n,p={namePart:(n=e.Message.getField(i,1))==null?void 0:n,isExtension:(n=e.Message.getBooleanField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.UninterpretedOption.NamePart;return proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader(n,i)},proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setNamePart(p);break;case 2:var p=i.readBool();t.setIsExtension(p);break;default:i.skipField();break}}return t},proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)},proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.UninterpretedOption.prototype.addName=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.UninterpretedOption.NamePart,i)},proto.google.protobuf.UninterpretedOption.prototype.clearNameList=function(){return this.setNameList([])},proto.google.protobuf.UninterpretedOption.prototype.getIdentifierValue=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return e.Message.getFieldWithDefault(this,5,0)},proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return e.Message.bytesAsB64(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return e.Message.bytesAsU8(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return e.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(t){return e.Message.setField(this,8,t)},proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return e.Message.setField(this,8,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.toObject=function(t,i){var n={locationList:e.Message.toObjectList(i.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.SourceCodeInfo;return proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader(n,i)},proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.SourceCodeInfo.Location;i.readMessage(p,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),t.addLocation(p);break;default:i.skipField();break}}return t},proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getLocationList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter)},proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_=[1,2,6],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.Location.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.Location.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.Location.toObject=function(t,i){var n,p={pathList:(n=e.Message.getRepeatedField(i,1))==null?void 0:n,spanList:(n=e.Message.getRepeatedField(i,2))==null?void 0:n,leadingComments:(n=e.Message.getField(i,3))==null?void 0:n,trailingComments:(n=e.Message.getField(i,4))==null?void 0:n,leadingDetachedCommentsList:(n=e.Message.getRepeatedField(i,6))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.SourceCodeInfo.Location;return proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader(n,i)},proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addPath(g[p]);break;case 2:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addSpan(g[p]);break;case 3:var l=i.readString();t.setLeadingComments(l);break;case 4:var l=i.readString();t.setTrailingComments(l);break;case 6:var l=i.readString();t.addLeadingDetachedComments(l);break;default:i.skipField();break}}return t},proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getPathList(),n.length>0&&i.writePackedInt32(1,n),n=t.getSpanList(),n.length>0&&i.writePackedInt32(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeString(4,n),n=t.getLeadingDetachedCommentsList(),n.length>0&&i.writeRepeatedString(6,n)},proto.google.protobuf.SourceCodeInfo.Location.prototype.getPathList=function(){return e.Message.getRepeatedField(this,1)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(t){return e.Message.setField(this,1,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(t,i){return e.Message.addToRepeatedField(this,1,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getSpanList=function(){return e.Message.getRepeatedField(this,2)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(t){return e.Message.setField(this,2,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(t,i){return e.Message.addToRepeatedField(this,2,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearSpanList=function(){return this.setSpanList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingComments=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return e.Message.getRepeatedField(this,6)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(t){return e.Message.setField(this,6,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(t,i){return e.Message.addToRepeatedField(this,6,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingDetachedCommentsList=function(){return this.setLeadingDetachedCommentsList([])},proto.google.protobuf.SourceCodeInfo.prototype.getLocationList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)},proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.SourceCodeInfo.Location,i)},proto.google.protobuf.SourceCodeInfo.prototype.clearLocationList=function(){return this.setLocationList([])},proto.google.protobuf.GeneratedCodeInfo.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.toObject=function(t,i){var n={annotationList:e.Message.toObjectList(i.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.GeneratedCodeInfo;return proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader(n,i)},proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.GeneratedCodeInfo.Annotation;i.readMessage(p,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),t.addAnnotation(p);break;default:i.skipField();break}}return t},proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getAnnotationList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter)},proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject=function(t,i){var n,p={pathList:(n=e.Message.getRepeatedField(i,1))==null?void 0:n,sourceFile:(n=e.Message.getField(i,2))==null?void 0:n,begin:(n=e.Message.getField(i,3))==null?void 0:n,end:(n=e.Message.getField(i,4))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.GeneratedCodeInfo.Annotation;return proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader(n,i)},proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:for(var p=i.isDelimited()?i.readPackedInt32():[i.readInt32()],g=0;g<p.length;g++)t.addPath(p[g]);break;case 2:var l=i.readString();t.setSourceFile(l);break;case 3:var l=i.readInt32();t.setBegin(l);break;case 4:var l=i.readInt32();t.setEnd(l);break;default:i.skipField();break}}return t},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getPathList(),n.length>0&&i.writePackedInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeInt32(3,n),n=e.Message.getField(t,4),n!=null&&i.writeInt32(4,n)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return e.Message.getRepeatedField(this,1)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(t){return e.Message.setField(this,1,t||[])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(t,i){return e.Message.addToRepeatedField(this,1,t,i)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSourceFile=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)},proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.GeneratedCodeInfo.Annotation,i)},proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])},r.object.extend(o,proto.google.protobuf)})(descriptor_pb$j),function(o){var e=googleProtobuf$l,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=descriptor_pb$j;r.object.extend(proto,t),r.exportSymbol("proto.viam.common.v1.ActuatorStatus",null,s),r.exportSymbol("proto.viam.common.v1.AnalogStatus",null,s),r.exportSymbol("proto.viam.common.v1.BoardStatus",null,s),r.exportSymbol("proto.viam.common.v1.Capsule",null,s),r.exportSymbol("proto.viam.common.v1.DigitalInterruptStatus",null,s),r.exportSymbol("proto.viam.common.v1.GeoPoint",null,s),r.exportSymbol("proto.viam.common.v1.GeometriesInFrame",null,s),r.exportSymbol("proto.viam.common.v1.Geometry",null,s),r.exportSymbol("proto.viam.common.v1.Geometry.GeometryTypeCase",null,s),r.exportSymbol("proto.viam.common.v1.Orientation",null,s),r.exportSymbol("proto.viam.common.v1.PointCloudObject",null,s),r.exportSymbol("proto.viam.common.v1.Pose",null,s),r.exportSymbol("proto.viam.common.v1.PoseInFrame",null,s),r.exportSymbol("proto.viam.common.v1.RectangularPrism",null,s),r.exportSymbol("proto.viam.common.v1.ResourceName",null,s),r.exportSymbol("proto.viam.common.v1.Sphere",null,s),r.exportSymbol("proto.viam.common.v1.Transform",null,s),r.exportSymbol("proto.viam.common.v1.Vector3",null,s),r.exportSymbol("proto.viam.common.v1.WorldState",null,s),r.exportSymbol("proto.viam.common.v1.safetyHeartbeatMonitored",null,s),proto.viam.common.v1.ResourceName=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.ResourceName,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.ResourceName.displayName="proto.viam.common.v1.ResourceName"),proto.viam.common.v1.BoardStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.BoardStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.BoardStatus.displayName="proto.viam.common.v1.BoardStatus"),proto.viam.common.v1.AnalogStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.AnalogStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.AnalogStatus.displayName="proto.viam.common.v1.AnalogStatus"),proto.viam.common.v1.DigitalInterruptStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.DigitalInterruptStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.DigitalInterruptStatus.displayName="proto.viam.common.v1.DigitalInterruptStatus"),proto.viam.common.v1.Pose=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Pose,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Pose.displayName="proto.viam.common.v1.Pose"),proto.viam.common.v1.Orientation=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Orientation,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Orientation.displayName="proto.viam.common.v1.Orientation"),proto.viam.common.v1.PoseInFrame=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.PoseInFrame,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.PoseInFrame.displayName="proto.viam.common.v1.PoseInFrame"),proto.viam.common.v1.Vector3=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Vector3,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Vector3.displayName="proto.viam.common.v1.Vector3"),proto.viam.common.v1.Sphere=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Sphere,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Sphere.displayName="proto.viam.common.v1.Sphere"),proto.viam.common.v1.Capsule=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Capsule,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Capsule.displayName="proto.viam.common.v1.Capsule"),proto.viam.common.v1.RectangularPrism=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.RectangularPrism,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.RectangularPrism.displayName="proto.viam.common.v1.RectangularPrism"),proto.viam.common.v1.Geometry=function(i){e.Message.initialize(this,i,0,-1,null,proto.viam.common.v1.Geometry.oneofGroups_)},r.inherits(proto.viam.common.v1.Geometry,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Geometry.displayName="proto.viam.common.v1.Geometry"),proto.viam.common.v1.GeometriesInFrame=function(i){e.Message.initialize(this,i,0,-1,proto.viam.common.v1.GeometriesInFrame.repeatedFields_,null)},r.inherits(proto.viam.common.v1.GeometriesInFrame,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.GeometriesInFrame.displayName="proto.viam.common.v1.GeometriesInFrame"),proto.viam.common.v1.PointCloudObject=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.PointCloudObject,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.PointCloudObject.displayName="proto.viam.common.v1.PointCloudObject"),proto.viam.common.v1.GeoPoint=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.GeoPoint,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.GeoPoint.displayName="proto.viam.common.v1.GeoPoint"),proto.viam.common.v1.Transform=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Transform,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Transform.displayName="proto.viam.common.v1.Transform"),proto.viam.common.v1.WorldState=function(i){e.Message.initialize(this,i,0,-1,proto.viam.common.v1.WorldState.repeatedFields_,null)},r.inherits(proto.viam.common.v1.WorldState,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.WorldState.displayName="proto.viam.common.v1.WorldState"),proto.viam.common.v1.ActuatorStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.ActuatorStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.ActuatorStatus.displayName="proto.viam.common.v1.ActuatorStatus"),e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.ResourceName.prototype.toObject=function(i){return proto.viam.common.v1.ResourceName.toObject(i,this)},proto.viam.common.v1.ResourceName.toObject=function(i,n){var p={namespace:e.Message.getFieldWithDefault(n,1,""),type:e.Message.getFieldWithDefault(n,2,""),subtype:e.Message.getFieldWithDefault(n,3,""),name:e.Message.getFieldWithDefault(n,4,"")};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.ResourceName.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.ResourceName;return proto.viam.common.v1.ResourceName.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.ResourceName.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setNamespace(g);break;case 2:var g=n.readString();i.setType(g);break;case 3:var g=n.readString();i.setSubtype(g);break;case 4:var g=n.readString();i.setName(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.ResourceName.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.ResourceName.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.ResourceName.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getNamespace(),p.length>0&&n.writeString(1,p),p=i.getType(),p.length>0&&n.writeString(2,p),p=i.getSubtype(),p.length>0&&n.writeString(3,p),p=i.getName(),p.length>0&&n.writeString(4,p)},proto.viam.common.v1.ResourceName.prototype.getNamespace=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.ResourceName.prototype.setNamespace=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.ResourceName.prototype.getType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.common.v1.ResourceName.prototype.setType=function(i){return e.Message.setProto3StringField(this,2,i)},proto.viam.common.v1.ResourceName.prototype.getSubtype=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.common.v1.ResourceName.prototype.setSubtype=function(i){return e.Message.setProto3StringField(this,3,i)},proto.viam.common.v1.ResourceName.prototype.getName=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.common.v1.ResourceName.prototype.setName=function(i){return e.Message.setProto3StringField(this,4,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.BoardStatus.prototype.toObject=function(i){return proto.viam.common.v1.BoardStatus.toObject(i,this)},proto.viam.common.v1.BoardStatus.toObject=function(i,n){var p,g={analogsMap:(p=n.getAnalogsMap())?p.toObject(i,proto.viam.common.v1.AnalogStatus.toObject):[],digitalInterruptsMap:(p=n.getDigitalInterruptsMap())?p.toObject(i,proto.viam.common.v1.DigitalInterruptStatus.toObject):[]};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.BoardStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.BoardStatus;return proto.viam.common.v1.BoardStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.BoardStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=i.getAnalogsMap();n.readMessage(g,function(l,u){e.Map.deserializeBinary(l,u,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader,"",new proto.viam.common.v1.AnalogStatus)});break;case 2:var g=i.getDigitalInterruptsMap();n.readMessage(g,function(l,u){e.Map.deserializeBinary(l,u,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader,"",new proto.viam.common.v1.DigitalInterruptStatus)});break;default:n.skipField();break}}return i},proto.viam.common.v1.BoardStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.BoardStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.BoardStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getAnalogsMap(!0),p&&p.getLength()>0&&p.serializeBinary(1,n,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter),p=i.getDigitalInterruptsMap(!0),p&&p.getLength()>0&&p.serializeBinary(2,n,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter)},proto.viam.common.v1.BoardStatus.prototype.getAnalogsMap=function(i){return e.Message.getMapField(this,1,i,proto.viam.common.v1.AnalogStatus)},proto.viam.common.v1.BoardStatus.prototype.clearAnalogsMap=function(){return this.getAnalogsMap().clear(),this},proto.viam.common.v1.BoardStatus.prototype.getDigitalInterruptsMap=function(i){return e.Message.getMapField(this,2,i,proto.viam.common.v1.DigitalInterruptStatus)},proto.viam.common.v1.BoardStatus.prototype.clearDigitalInterruptsMap=function(){return this.getDigitalInterruptsMap().clear(),this},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.AnalogStatus.prototype.toObject=function(i){return proto.viam.common.v1.AnalogStatus.toObject(i,this)},proto.viam.common.v1.AnalogStatus.toObject=function(i,n){var p={value:e.Message.getFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.AnalogStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.AnalogStatus;return proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readInt32();i.setValue(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.AnalogStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getValue(),p!==0&&n.writeInt32(1,p)},proto.viam.common.v1.AnalogStatus.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.common.v1.AnalogStatus.prototype.setValue=function(i){return e.Message.setProto3IntField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.DigitalInterruptStatus.prototype.toObject=function(i){return proto.viam.common.v1.DigitalInterruptStatus.toObject(i,this)},proto.viam.common.v1.DigitalInterruptStatus.toObject=function(i,n){var p={value:e.Message.getFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.DigitalInterruptStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.DigitalInterruptStatus;return proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readInt64();i.setValue(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.DigitalInterruptStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getValue(),p!==0&&n.writeInt64(1,p)},proto.viam.common.v1.DigitalInterruptStatus.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.common.v1.DigitalInterruptStatus.prototype.setValue=function(i){return e.Message.setProto3IntField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Pose.prototype.toObject=function(i){return proto.viam.common.v1.Pose.toObject(i,this)},proto.viam.common.v1.Pose.toObject=function(i,n){var p={x:e.Message.getFloatingPointFieldWithDefault(n,1,0),y:e.Message.getFloatingPointFieldWithDefault(n,2,0),z:e.Message.getFloatingPointFieldWithDefault(n,3,0),oX:e.Message.getFloatingPointFieldWithDefault(n,4,0),oY:e.Message.getFloatingPointFieldWithDefault(n,5,0),oZ:e.Message.getFloatingPointFieldWithDefault(n,6,0),theta:e.Message.getFloatingPointFieldWithDefault(n,7,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Pose.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Pose;return proto.viam.common.v1.Pose.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Pose.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setX(g);break;case 2:var g=n.readDouble();i.setY(g);break;case 3:var g=n.readDouble();i.setZ(g);break;case 4:var g=n.readDouble();i.setOX(g);break;case 5:var g=n.readDouble();i.setOY(g);break;case 6:var g=n.readDouble();i.setOZ(g);break;case 7:var g=n.readDouble();i.setTheta(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Pose.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Pose.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Pose.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getX(),p!==0&&n.writeDouble(1,p),p=i.getY(),p!==0&&n.writeDouble(2,p),p=i.getZ(),p!==0&&n.writeDouble(3,p),p=i.getOX(),p!==0&&n.writeDouble(4,p),p=i.getOY(),p!==0&&n.writeDouble(5,p),p=i.getOZ(),p!==0&&n.writeDouble(6,p),p=i.getTheta(),p!==0&&n.writeDouble(7,p)},proto.viam.common.v1.Pose.prototype.getX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Pose.prototype.setX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Pose.prototype.getY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Pose.prototype.setY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Pose.prototype.getZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Pose.prototype.setZ=function(i){return e.Message.setProto3FloatField(this,3,i)},proto.viam.common.v1.Pose.prototype.getOX=function(){return e.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.viam.common.v1.Pose.prototype.setOX=function(i){return e.Message.setProto3FloatField(this,4,i)},proto.viam.common.v1.Pose.prototype.getOY=function(){return e.Message.getFloatingPointFieldWithDefault(this,5,0)},proto.viam.common.v1.Pose.prototype.setOY=function(i){return e.Message.setProto3FloatField(this,5,i)},proto.viam.common.v1.Pose.prototype.getOZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.viam.common.v1.Pose.prototype.setOZ=function(i){return e.Message.setProto3FloatField(this,6,i)},proto.viam.common.v1.Pose.prototype.getTheta=function(){return e.Message.getFloatingPointFieldWithDefault(this,7,0)},proto.viam.common.v1.Pose.prototype.setTheta=function(i){return e.Message.setProto3FloatField(this,7,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Orientation.prototype.toObject=function(i){return proto.viam.common.v1.Orientation.toObject(i,this)},proto.viam.common.v1.Orientation.toObject=function(i,n){var p={oX:e.Message.getFloatingPointFieldWithDefault(n,1,0),oY:e.Message.getFloatingPointFieldWithDefault(n,2,0),oZ:e.Message.getFloatingPointFieldWithDefault(n,3,0),theta:e.Message.getFloatingPointFieldWithDefault(n,4,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Orientation.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Orientation;return proto.viam.common.v1.Orientation.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Orientation.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setOX(g);break;case 2:var g=n.readDouble();i.setOY(g);break;case 3:var g=n.readDouble();i.setOZ(g);break;case 4:var g=n.readDouble();i.setTheta(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Orientation.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Orientation.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Orientation.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getOX(),p!==0&&n.writeDouble(1,p),p=i.getOY(),p!==0&&n.writeDouble(2,p),p=i.getOZ(),p!==0&&n.writeDouble(3,p),p=i.getTheta(),p!==0&&n.writeDouble(4,p)},proto.viam.common.v1.Orientation.prototype.getOX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Orientation.prototype.setOX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Orientation.prototype.getOY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Orientation.prototype.setOY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Orientation.prototype.getOZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Orientation.prototype.setOZ=function(i){return e.Message.setProto3FloatField(this,3,i)},proto.viam.common.v1.Orientation.prototype.getTheta=function(){return e.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.viam.common.v1.Orientation.prototype.setTheta=function(i){return e.Message.setProto3FloatField(this,4,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.PoseInFrame.prototype.toObject=function(i){return proto.viam.common.v1.PoseInFrame.toObject(i,this)},proto.viam.common.v1.PoseInFrame.toObject=function(i,n){var p,g={referenceFrame:e.Message.getFieldWithDefault(n,1,""),pose:(p=n.getPose())&&proto.viam.common.v1.Pose.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.PoseInFrame.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.PoseInFrame;return proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.Pose;n.readMessage(g,proto.viam.common.v1.Pose.deserializeBinaryFromReader),i.setPose(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.PoseInFrame.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getPose(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.Pose.serializeBinaryToWriter)},proto.viam.common.v1.PoseInFrame.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.PoseInFrame.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.PoseInFrame.prototype.getPose=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Pose,2)},proto.viam.common.v1.PoseInFrame.prototype.setPose=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.PoseInFrame.prototype.clearPose=function(){return this.setPose(void 0)},proto.viam.common.v1.PoseInFrame.prototype.hasPose=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Vector3.prototype.toObject=function(i){return proto.viam.common.v1.Vector3.toObject(i,this)},proto.viam.common.v1.Vector3.toObject=function(i,n){var p={x:e.Message.getFloatingPointFieldWithDefault(n,1,0),y:e.Message.getFloatingPointFieldWithDefault(n,2,0),z:e.Message.getFloatingPointFieldWithDefault(n,3,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Vector3.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Vector3;return proto.viam.common.v1.Vector3.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Vector3.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setX(g);break;case 2:var g=n.readDouble();i.setY(g);break;case 3:var g=n.readDouble();i.setZ(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Vector3.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Vector3.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Vector3.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getX(),p!==0&&n.writeDouble(1,p),p=i.getY(),p!==0&&n.writeDouble(2,p),p=i.getZ(),p!==0&&n.writeDouble(3,p)},proto.viam.common.v1.Vector3.prototype.getX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Vector3.prototype.setX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Vector3.prototype.getY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Vector3.prototype.setY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Vector3.prototype.getZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Vector3.prototype.setZ=function(i){return e.Message.setProto3FloatField(this,3,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Sphere.prototype.toObject=function(i){return proto.viam.common.v1.Sphere.toObject(i,this)},proto.viam.common.v1.Sphere.toObject=function(i,n){var p={radiusMm:e.Message.getFloatingPointFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Sphere.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Sphere;return proto.viam.common.v1.Sphere.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Sphere.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setRadiusMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Sphere.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Sphere.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Sphere.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getRadiusMm(),p!==0&&n.writeDouble(1,p)},proto.viam.common.v1.Sphere.prototype.getRadiusMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Sphere.prototype.setRadiusMm=function(i){return e.Message.setProto3FloatField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Capsule.prototype.toObject=function(i){return proto.viam.common.v1.Capsule.toObject(i,this)},proto.viam.common.v1.Capsule.toObject=function(i,n){var p={radiusMm:e.Message.getFloatingPointFieldWithDefault(n,1,0),lengthMm:e.Message.getFloatingPointFieldWithDefault(n,2,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Capsule.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Capsule;return proto.viam.common.v1.Capsule.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Capsule.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setRadiusMm(g);break;case 2:var g=n.readDouble();i.setLengthMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Capsule.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Capsule.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Capsule.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getRadiusMm(),p!==0&&n.writeDouble(1,p),p=i.getLengthMm(),p!==0&&n.writeDouble(2,p)},proto.viam.common.v1.Capsule.prototype.getRadiusMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Capsule.prototype.setRadiusMm=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Capsule.prototype.getLengthMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Capsule.prototype.setLengthMm=function(i){return e.Message.setProto3FloatField(this,2,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.RectangularPrism.prototype.toObject=function(i){return proto.viam.common.v1.RectangularPrism.toObject(i,this)},proto.viam.common.v1.RectangularPrism.toObject=function(i,n){var p,g={dimsMm:(p=n.getDimsMm())&&proto.viam.common.v1.Vector3.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.RectangularPrism.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.RectangularPrism;return proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.Vector3;n.readMessage(g,proto.viam.common.v1.Vector3.deserializeBinaryFromReader),i.setDimsMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.RectangularPrism.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getDimsMm(),p!=null&&n.writeMessage(1,p,proto.viam.common.v1.Vector3.serializeBinaryToWriter)},proto.viam.common.v1.RectangularPrism.prototype.getDimsMm=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Vector3,1)},proto.viam.common.v1.RectangularPrism.prototype.setDimsMm=function(i){return e.Message.setWrapperField(this,1,i)},proto.viam.common.v1.RectangularPrism.prototype.clearDimsMm=function(){return this.setDimsMm(void 0)},proto.viam.common.v1.RectangularPrism.prototype.hasDimsMm=function(){return e.Message.getField(this,1)!=null},proto.viam.common.v1.Geometry.oneofGroups_=[[2,3,5]],proto.viam.common.v1.Geometry.GeometryTypeCase={GEOMETRY_TYPE_NOT_SET:0,SPHERE:2,BOX:3,CAPSULE:5},proto.viam.common.v1.Geometry.prototype.getGeometryTypeCase=function(){return e.Message.computeOneofCase(this,proto.viam.common.v1.Geometry.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Geometry.prototype.toObject=function(i){return proto.viam.common.v1.Geometry.toObject(i,this)},proto.viam.common.v1.Geometry.toObject=function(i,n){var p,g={center:(p=n.getCenter())&&proto.viam.common.v1.Pose.toObject(i,p),sphere:(p=n.getSphere())&&proto.viam.common.v1.Sphere.toObject(i,p),box:(p=n.getBox())&&proto.viam.common.v1.RectangularPrism.toObject(i,p),capsule:(p=n.getCapsule())&&proto.viam.common.v1.Capsule.toObject(i,p),label:e.Message.getFieldWithDefault(n,4,"")};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.Geometry.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Geometry;return proto.viam.common.v1.Geometry.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Geometry.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.Pose;n.readMessage(g,proto.viam.common.v1.Pose.deserializeBinaryFromReader),i.setCenter(g);break;case 2:var g=new proto.viam.common.v1.Sphere;n.readMessage(g,proto.viam.common.v1.Sphere.deserializeBinaryFromReader),i.setSphere(g);break;case 3:var g=new proto.viam.common.v1.RectangularPrism;n.readMessage(g,proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader),i.setBox(g);break;case 5:var g=new proto.viam.common.v1.Capsule;n.readMessage(g,proto.viam.common.v1.Capsule.deserializeBinaryFromReader),i.setCapsule(g);break;case 4:var g=n.readString();i.setLabel(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Geometry.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Geometry.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Geometry.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getCenter(),p!=null&&n.writeMessage(1,p,proto.viam.common.v1.Pose.serializeBinaryToWriter),p=i.getSphere(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.Sphere.serializeBinaryToWriter),p=i.getBox(),p!=null&&n.writeMessage(3,p,proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter),p=i.getCapsule(),p!=null&&n.writeMessage(5,p,proto.viam.common.v1.Capsule.serializeBinaryToWriter),p=i.getLabel(),p.length>0&&n.writeString(4,p)},proto.viam.common.v1.Geometry.prototype.getCenter=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Pose,1)},proto.viam.common.v1.Geometry.prototype.setCenter=function(i){return e.Message.setWrapperField(this,1,i)},proto.viam.common.v1.Geometry.prototype.clearCenter=function(){return this.setCenter(void 0)},proto.viam.common.v1.Geometry.prototype.hasCenter=function(){return e.Message.getField(this,1)!=null},proto.viam.common.v1.Geometry.prototype.getSphere=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Sphere,2)},proto.viam.common.v1.Geometry.prototype.setSphere=function(i){return e.Message.setOneofWrapperField(this,2,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearSphere=function(){return this.setSphere(void 0)},proto.viam.common.v1.Geometry.prototype.hasSphere=function(){return e.Message.getField(this,2)!=null},proto.viam.common.v1.Geometry.prototype.getBox=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.RectangularPrism,3)},proto.viam.common.v1.Geometry.prototype.setBox=function(i){return e.Message.setOneofWrapperField(this,3,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearBox=function(){return this.setBox(void 0)},proto.viam.common.v1.Geometry.prototype.hasBox=function(){return e.Message.getField(this,3)!=null},proto.viam.common.v1.Geometry.prototype.getCapsule=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Capsule,5)},proto.viam.common.v1.Geometry.prototype.setCapsule=function(i){return e.Message.setOneofWrapperField(this,5,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearCapsule=function(){return this.setCapsule(void 0)},proto.viam.common.v1.Geometry.prototype.hasCapsule=function(){return e.Message.getField(this,5)!=null},proto.viam.common.v1.Geometry.prototype.getLabel=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.common.v1.Geometry.prototype.setLabel=function(i){return e.Message.setProto3StringField(this,4,i)},proto.viam.common.v1.GeometriesInFrame.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.GeometriesInFrame.prototype.toObject=function(i){return proto.viam.common.v1.GeometriesInFrame.toObject(i,this)},proto.viam.common.v1.GeometriesInFrame.toObject=function(i,n){var p={referenceFrame:e.Message.getFieldWithDefault(n,1,""),geometriesList:e.Message.toObjectList(n.getGeometriesList(),proto.viam.common.v1.Geometry.toObject,i)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.GeometriesInFrame.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.GeometriesInFrame;return proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.Geometry;n.readMessage(g,proto.viam.common.v1.Geometry.deserializeBinaryFromReader),i.addGeometries(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.GeometriesInFrame.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getGeometriesList(),p.length>0&&n.writeRepeatedMessage(2,p,proto.viam.common.v1.Geometry.serializeBinaryToWriter)},proto.viam.common.v1.GeometriesInFrame.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.GeometriesInFrame.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.GeometriesInFrame.prototype.getGeometriesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.Geometry,2)},proto.viam.common.v1.GeometriesInFrame.prototype.setGeometriesList=function(i){return e.Message.setRepeatedWrapperField(this,2,i)},proto.viam.common.v1.GeometriesInFrame.prototype.addGeometries=function(i,n){return e.Message.addToRepeatedWrapperField(this,2,i,proto.viam.common.v1.Geometry,n)},proto.viam.common.v1.GeometriesInFrame.prototype.clearGeometriesList=function(){return this.setGeometriesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.PointCloudObject.prototype.toObject=function(i){return proto.viam.common.v1.PointCloudObject.toObject(i,this)},proto.viam.common.v1.PointCloudObject.toObject=function(i,n){var p,g={pointCloud:n.getPointCloud_asB64(),geometries:(p=n.getGeometries())&&proto.viam.common.v1.GeometriesInFrame.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.PointCloudObject.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.PointCloudObject;return proto.viam.common.v1.PointCloudObject.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.PointCloudObject.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readBytes();i.setPointCloud(g);break;case 2:var g=new proto.viam.common.v1.GeometriesInFrame;n.readMessage(g,proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader),i.setGeometries(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.PointCloudObject.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.PointCloudObject.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.PointCloudObject.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getPointCloud_asU8(),p.length>0&&n.writeBytes(1,p),p=i.getGeometries(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter)},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud_asB64=function(){return e.Message.bytesAsB64(this.getPointCloud())},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud_asU8=function(){return e.Message.bytesAsU8(this.getPointCloud())},proto.viam.common.v1.PointCloudObject.prototype.setPointCloud=function(i){return e.Message.setProto3BytesField(this,1,i)},proto.viam.common.v1.PointCloudObject.prototype.getGeometries=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.GeometriesInFrame,2)},proto.viam.common.v1.PointCloudObject.prototype.setGeometries=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.PointCloudObject.prototype.clearGeometries=function(){return this.setGeometries(void 0)},proto.viam.common.v1.PointCloudObject.prototype.hasGeometries=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.GeoPoint.prototype.toObject=function(i){return proto.viam.common.v1.GeoPoint.toObject(i,this)},proto.viam.common.v1.GeoPoint.toObject=function(i,n){var p={latitude:e.Message.getFloatingPointFieldWithDefault(n,1,0),longitude:e.Message.getFloatingPointFieldWithDefault(n,2,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.GeoPoint.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.GeoPoint;return proto.viam.common.v1.GeoPoint.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.GeoPoint.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setLatitude(g);break;case 2:var g=n.readDouble();i.setLongitude(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.GeoPoint.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.GeoPoint.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.GeoPoint.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getLatitude(),p!==0&&n.writeDouble(1,p),p=i.getLongitude(),p!==0&&n.writeDouble(2,p)},proto.viam.common.v1.GeoPoint.prototype.getLatitude=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.GeoPoint.prototype.setLatitude=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.GeoPoint.prototype.getLongitude=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.GeoPoint.prototype.setLongitude=function(i){return e.Message.setProto3FloatField(this,2,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Transform.prototype.toObject=function(i){return proto.viam.common.v1.Transform.toObject(i,this)},proto.viam.common.v1.Transform.toObject=function(i,n){var p,g={referenceFrame:e.Message.getFieldWithDefault(n,1,""),poseInObserverFrame:(p=n.getPoseInObserverFrame())&&proto.viam.common.v1.PoseInFrame.toObject(i,p),physicalObject:(p=n.getPhysicalObject())&&proto.viam.common.v1.Geometry.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.Transform.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Transform;return proto.viam.common.v1.Transform.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Transform.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.PoseInFrame;n.readMessage(g,proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader),i.setPoseInObserverFrame(g);break;case 3:var g=new proto.viam.common.v1.Geometry;n.readMessage(g,proto.viam.common.v1.Geometry.deserializeBinaryFromReader),i.setPhysicalObject(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Transform.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Transform.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Transform.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getPoseInObserverFrame(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter),p=i.getPhysicalObject(),p!=null&&n.writeMessage(3,p,proto.viam.common.v1.Geometry.serializeBinaryToWriter)},proto.viam.common.v1.Transform.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.Transform.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.Transform.prototype.getPoseInObserverFrame=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.PoseInFrame,2)},proto.viam.common.v1.Transform.prototype.setPoseInObserverFrame=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.Transform.prototype.clearPoseInObserverFrame=function(){return this.setPoseInObserverFrame(void 0)},proto.viam.common.v1.Transform.prototype.hasPoseInObserverFrame=function(){return e.Message.getField(this,2)!=null},proto.viam.common.v1.Transform.prototype.getPhysicalObject=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Geometry,3)},proto.viam.common.v1.Transform.prototype.setPhysicalObject=function(i){return e.Message.setWrapperField(this,3,i)},proto.viam.common.v1.Transform.prototype.clearPhysicalObject=function(){return this.setPhysicalObject(void 0)},proto.viam.common.v1.Transform.prototype.hasPhysicalObject=function(){return e.Message.getField(this,3)!=null},proto.viam.common.v1.WorldState.repeatedFields_=[1,3],e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.WorldState.prototype.toObject=function(i){return proto.viam.common.v1.WorldState.toObject(i,this)},proto.viam.common.v1.WorldState.toObject=function(i,n){var p={obstaclesList:e.Message.toObjectList(n.getObstaclesList(),proto.viam.common.v1.GeometriesInFrame.toObject,i),transformsList:e.Message.toObjectList(n.getTransformsList(),proto.viam.common.v1.Transform.toObject,i)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.WorldState.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.WorldState;return proto.viam.common.v1.WorldState.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.WorldState.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.GeometriesInFrame;n.readMessage(g,proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader),i.addObstacles(g);break;case 3:var g=new proto.viam.common.v1.Transform;n.readMessage(g,proto.viam.common.v1.Transform.deserializeBinaryFromReader),i.addTransforms(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.WorldState.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.WorldState.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.WorldState.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getObstaclesList(),p.length>0&&n.writeRepeatedMessage(1,p,proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter),p=i.getTransformsList(),p.length>0&&n.writeRepeatedMessage(3,p,proto.viam.common.v1.Transform.serializeBinaryToWriter)},proto.viam.common.v1.WorldState.prototype.getObstaclesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.GeometriesInFrame,1)},proto.viam.common.v1.WorldState.prototype.setObstaclesList=function(i){return e.Message.setRepeatedWrapperField(this,1,i)},proto.viam.common.v1.WorldState.prototype.addObstacles=function(i,n){return e.Message.addToRepeatedWrapperField(this,1,i,proto.viam.common.v1.GeometriesInFrame,n)},proto.viam.common.v1.WorldState.prototype.clearObstaclesList=function(){return this.setObstaclesList([])},proto.viam.common.v1.WorldState.prototype.getTransformsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.Transform,3)},proto.viam.common.v1.WorldState.prototype.setTransformsList=function(i){return e.Message.setRepeatedWrapperField(this,3,i)},proto.viam.common.v1.WorldState.prototype.addTransforms=function(i,n){return e.Message.addToRepeatedWrapperField(this,3,i,proto.viam.common.v1.Transform,n)},proto.viam.common.v1.WorldState.prototype.clearTransformsList=function(){return this.setTransformsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.ActuatorStatus.prototype.toObject=function(i){return proto.viam.common.v1.ActuatorStatus.toObject(i,this)},proto.viam.common.v1.ActuatorStatus.toObject=function(i,n){var p={isMoving:e.Message.getBooleanFieldWithDefault(n,1,!1)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.ActuatorStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.ActuatorStatus;return proto.viam.common.v1.ActuatorStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.ActuatorStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readBool();i.setIsMoving(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.ActuatorStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.ActuatorStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.ActuatorStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getIsMoving(),p&&n.writeBool(1,p)},proto.viam.common.v1.ActuatorStatus.prototype.getIsMoving=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.viam.common.v1.ActuatorStatus.prototype.setIsMoving=function(i){return e.Message.setProto3BooleanField(this,1,i)},proto.viam.common.v1.safetyHeartbeatMonitored=new e.ExtensionFieldInfo(84260,{safetyHeartbeatMonitored:0},null,null,0),t.MethodOptions.extensionsBinary[84260]=new e.ExtensionFieldBinaryInfo(proto.viam.common.v1.safetyHeartbeatMonitored,e.BinaryReader.prototype.readBool,e.BinaryWriter.prototype.writeBool,void 0,void 0,!1),t.MethodOptions.extensions[84260]=proto.viam.common.v1.safetyHeartbeatMonitored,r.object.extend(o,proto.viam.common.v1)}(common_pb$f);var annotations_pb$i={},http_pb$i={};(function(o){var e=googleProtobuf$l,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null);r.exportSymbol("proto.google.api.CustomHttpPattern",null,s),r.exportSymbol("proto.google.api.Http",null,s),r.exportSymbol("proto.google.api.HttpRule",null,s),r.exportSymbol("proto.google.api.HttpRule.PatternCase",null,s),proto.google.api.Http=function(t){e.Message.initialize(this,t,0,-1,proto.google.api.Http.repeatedFields_,null)},r.inherits(proto.google.api.Http,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.Http.displayName="proto.google.api.Http"),proto.google.api.HttpRule=function(t){e.Message.initialize(this,t,0,-1,proto.google.api.HttpRule.repeatedFields_,proto.google.api.HttpRule.oneofGroups_)},r.inherits(proto.google.api.HttpRule,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.HttpRule.displayName="proto.google.api.HttpRule"),proto.google.api.CustomHttpPattern=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.api.CustomHttpPattern,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.CustomHttpPattern.displayName="proto.google.api.CustomHttpPattern"),proto.google.api.Http.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.api.Http.prototype.toObject=function(t){return proto.google.api.Http.toObject(t,this)},proto.google.api.Http.toObject=function(t,i){var n={rulesList:e.Message.toObjectList(i.getRulesList(),proto.google.api.HttpRule.toObject,t),fullyDecodeReservedExpansion:e.Message.getBooleanFieldWithDefault(i,2,!1)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.api.Http.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.Http;return proto.google.api.Http.deserializeBinaryFromReader(n,i)},proto.google.api.Http.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.api.HttpRule;i.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),t.addRules(p);break;case 2:var p=i.readBool();t.setFullyDecodeReservedExpansion(p);break;default:i.skipField();break}}return t},proto.google.api.Http.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.Http.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.Http.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getRulesList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.api.HttpRule.serializeBinaryToWriter),n=t.getFullyDecodeReservedExpansion(),n&&i.writeBool(2,n)},proto.google.api.Http.prototype.getRulesList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,1)},proto.google.api.Http.prototype.setRulesList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.api.Http.prototype.addRules=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.api.HttpRule,i)},proto.google.api.Http.prototype.clearRulesList=function(){return this.setRulesList([])},proto.google.api.Http.prototype.getFullyDecodeReservedExpansion=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.api.Http.prototype.setFullyDecodeReservedExpansion=function(t){return e.Message.setProto3BooleanField(this,2,t)},proto.google.api.HttpRule.repeatedFields_=[11],proto.google.api.HttpRule.oneofGroups_=[[2,3,4,5,6,8]],proto.google.api.HttpRule.PatternCase={PATTERN_NOT_SET:0,GET:2,PUT:3,POST:4,DELETE:5,PATCH:6,CUSTOM:8},proto.google.api.HttpRule.prototype.getPatternCase=function(){return e.Message.computeOneofCase(this,proto.google.api.HttpRule.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.google.api.HttpRule.prototype.toObject=function(t){return proto.google.api.HttpRule.toObject(t,this)},proto.google.api.HttpRule.toObject=function(t,i){var n,p={selector:e.Message.getFieldWithDefault(i,1,""),get:e.Message.getFieldWithDefault(i,2,""),put:e.Message.getFieldWithDefault(i,3,""),post:e.Message.getFieldWithDefault(i,4,""),pb_delete:e.Message.getFieldWithDefault(i,5,""),patch:e.Message.getFieldWithDefault(i,6,""),custom:(n=i.getCustom())&&proto.google.api.CustomHttpPattern.toObject(t,n),body:e.Message.getFieldWithDefault(i,7,""),responseBody:e.Message.getFieldWithDefault(i,12,""),additionalBindingsList:e.Message.toObjectList(i.getAdditionalBindingsList(),proto.google.api.HttpRule.toObject,t)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.api.HttpRule.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.HttpRule;return proto.google.api.HttpRule.deserializeBinaryFromReader(n,i)},proto.google.api.HttpRule.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setSelector(p);break;case 2:var p=i.readString();t.setGet(p);break;case 3:var p=i.readString();t.setPut(p);break;case 4:var p=i.readString();t.setPost(p);break;case 5:var p=i.readString();t.setDelete(p);break;case 6:var p=i.readString();t.setPatch(p);break;case 8:var p=new proto.google.api.CustomHttpPattern;i.readMessage(p,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader),t.setCustom(p);break;case 7:var p=i.readString();t.setBody(p);break;case 12:var p=i.readString();t.setResponseBody(p);break;case 11:var p=new proto.google.api.HttpRule;i.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),t.addAdditionalBindings(p);break;default:i.skipField();break}}return t},proto.google.api.HttpRule.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.HttpRule.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.HttpRule.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getSelector(),n.length>0&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeString(4,n),n=e.Message.getField(t,5),n!=null&&i.writeString(5,n),n=e.Message.getField(t,6),n!=null&&i.writeString(6,n),n=t.getCustom(),n!=null&&i.writeMessage(8,n,proto.google.api.CustomHttpPattern.serializeBinaryToWriter),n=t.getBody(),n.length>0&&i.writeString(7,n),n=t.getResponseBody(),n.length>0&&i.writeString(12,n),n=t.getAdditionalBindingsList(),n.length>0&&i.writeRepeatedMessage(11,n,proto.google.api.HttpRule.serializeBinaryToWriter)},proto.google.api.HttpRule.prototype.getSelector=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.api.HttpRule.prototype.setSelector=function(t){return e.Message.setProto3StringField(this,1,t)},proto.google.api.HttpRule.prototype.getGet=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.api.HttpRule.prototype.setGet=function(t){return e.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearGet=function(){return e.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasGet=function(){return e.Message.getField(this,2)!=null},proto.google.api.HttpRule.prototype.getPut=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.api.HttpRule.prototype.setPut=function(t){return e.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPut=function(){return e.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPut=function(){return e.Message.getField(this,3)!=null},proto.google.api.HttpRule.prototype.getPost=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.google.api.HttpRule.prototype.setPost=function(t){return e.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPost=function(){return e.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPost=function(){return e.Message.getField(this,4)!=null},proto.google.api.HttpRule.prototype.getDelete=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.google.api.HttpRule.prototype.setDelete=function(t){return e.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearDelete=function(){return e.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasDelete=function(){return e.Message.getField(this,5)!=null},proto.google.api.HttpRule.prototype.getPatch=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.google.api.HttpRule.prototype.setPatch=function(t){return e.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPatch=function(){return e.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPatch=function(){return e.Message.getField(this,6)!=null},proto.google.api.HttpRule.prototype.getCustom=function(){return e.Message.getWrapperField(this,proto.google.api.CustomHttpPattern,8)},proto.google.api.HttpRule.prototype.setCustom=function(t){return e.Message.setOneofWrapperField(this,8,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearCustom=function(){return this.setCustom(void 0)},proto.google.api.HttpRule.prototype.hasCustom=function(){return e.Message.getField(this,8)!=null},proto.google.api.HttpRule.prototype.getBody=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.api.HttpRule.prototype.setBody=function(t){return e.Message.setProto3StringField(this,7,t)},proto.google.api.HttpRule.prototype.getResponseBody=function(){return e.Message.getFieldWithDefault(this,12,"")},proto.google.api.HttpRule.prototype.setResponseBody=function(t){return e.Message.setProto3StringField(this,12,t)},proto.google.api.HttpRule.prototype.getAdditionalBindingsList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,11)},proto.google.api.HttpRule.prototype.setAdditionalBindingsList=function(t){return e.Message.setRepeatedWrapperField(this,11,t)},proto.google.api.HttpRule.prototype.addAdditionalBindings=function(t,i){return e.Message.addToRepeatedWrapperField(this,11,t,proto.google.api.HttpRule,i)},proto.google.api.HttpRule.prototype.clearAdditionalBindingsList=function(){return this.setAdditionalBindingsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.api.CustomHttpPattern.prototype.toObject=function(t){return proto.google.api.CustomHttpPattern.toObject(t,this)},proto.google.api.CustomHttpPattern.toObject=function(t,i){var n={kind:e.Message.getFieldWithDefault(i,1,""),path:e.Message.getFieldWithDefault(i,2,"")};return t&&(n.$jspbMessageInstance=i),n}),proto.google.api.CustomHttpPattern.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.CustomHttpPattern;return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(n,i)},proto.google.api.CustomHttpPattern.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setKind(p);break;case 2:var p=i.readString();t.setPath(p);break;default:i.skipField();break}}return t},proto.google.api.CustomHttpPattern.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.CustomHttpPattern.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getKind(),n.length>0&&i.writeString(1,n),n=t.getPath(),n.length>0&&i.writeString(2,n)},proto.google.api.CustomHttpPattern.prototype.getKind=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.api.CustomHttpPattern.prototype.setKind=function(t){return e.Message.setProto3StringField(this,1,t)},proto.google.api.CustomHttpPattern.prototype.getPath=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.api.CustomHttpPattern.prototype.setPath=function(t){return e.Message.setProto3StringField(this,2,t)},r.object.extend(o,proto.google.api)})(http_pb$i),function(o){var e=googleProtobuf$l,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=http_pb$i;r.object.extend(proto,t);var i=descriptor_pb$j;r.object.extend(proto,i),r.exportSymbol("proto.google.api.http",null,s),proto.google.api.http=new e.ExtensionFieldInfo(72295728,{http:0},t.HttpRule,t.HttpRule.toObject,0),i.MethodOptions.extensionsBinary[72295728]=new e.ExtensionFieldBinaryInfo(proto.google.api.http,e.BinaryReader.prototype.readMessage,e.BinaryWriter.prototype.writeMessage,t.HttpRule.serializeBinaryToWriter,t.HttpRule.deserializeBinaryFromReader,!1),i.MethodOptions.extensions[72295728]=proto.google.api.http,r.object.extend(o,proto.google.api)}(annotations_pb$i);var duration_pb={};(function(o){var e=googleProtobuf$l,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.Duration",null,s),proto.google.protobuf.Duration=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.Duration,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Duration.displayName="proto.google.protobuf.Duration"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Duration.prototype.toObject=function(t){return proto.google.protobuf.Duration.toObject(t,this)},proto.google.protobuf.Duration.toObject=function(t,i){var n={seconds:e.Message.getFieldWithDefault(i,1,0),nanos:e.Message.getFieldWithDefault(i,2,0)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.Duration.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Duration;return proto.google.protobuf.Duration.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Duration.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt64();t.setSeconds(p);break;case 2:var p=i.readInt32();t.setNanos(p);break;default:i.skipField();break}}return t},proto.google.protobuf.Duration.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Duration.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Duration.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getSeconds(),n!==0&&i.writeInt64(1,n),n=t.getNanos(),n!==0&&i.writeInt32(2,n)},proto.google.protobuf.Duration.prototype.getSeconds=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Duration.prototype.setSeconds=function(t){return e.Message.setProto3IntField(this,1,t)},proto.google.protobuf.Duration.prototype.getNanos=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.Duration.prototype.setNanos=function(t){return e.Message.setProto3IntField(this,2,t)},r.object.extend(o,proto.google.protobuf)})(duration_pb);var struct_pb$i={};(function(o){var e=googleProtobuf$l,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.ListValue",null,s),r.exportSymbol("proto.google.protobuf.NullValue",null,s),r.exportSymbol("proto.google.protobuf.Struct",null,s),r.exportSymbol("proto.google.protobuf.Value",null,s),r.exportSymbol("proto.google.protobuf.Value.KindCase",null,s),proto.google.protobuf.Struct=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.Struct,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Struct.displayName="proto.google.protobuf.Struct"),proto.google.protobuf.Value=function(t){e.Message.initialize(this,t,0,-1,null,proto.google.protobuf.Value.oneofGroups_)},r.inherits(proto.google.protobuf.Value,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Value.displayName="proto.google.protobuf.Value"),proto.google.protobuf.ListValue=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.ListValue.repeatedFields_,null)},r.inherits(proto.google.protobuf.ListValue,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ListValue.displayName="proto.google.protobuf.ListValue"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Struct.prototype.toObject=function(t){return proto.google.protobuf.Struct.toObject(t,this)},proto.google.protobuf.Struct.toObject=function(t,i){var n,p={fieldsMap:(n=i.getFieldsMap())?n.toObject(t,proto.google.protobuf.Value.toObject):[]};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.Struct.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Struct;return proto.google.protobuf.Struct.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Struct.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=t.getFieldsMap();i.readMessage(p,function(g,l){e.Map.deserializeBinary(g,l,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.google.protobuf.Value.deserializeBinaryFromReader,"",new proto.google.protobuf.Value)});break;default:i.skipField();break}}return t},proto.google.protobuf.Struct.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Struct.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Struct.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getFieldsMap(!0),n&&n.getLength()>0&&n.serializeBinary(1,i,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.Struct.prototype.getFieldsMap=function(t){return e.Message.getMapField(this,1,t,proto.google.protobuf.Value)},proto.google.protobuf.Struct.prototype.clearFieldsMap=function(){return this.getFieldsMap().clear(),this},proto.google.protobuf.Value.oneofGroups_=[[1,2,3,4,5,6]],proto.google.protobuf.Value.KindCase={KIND_NOT_SET:0,NULL_VALUE:1,NUMBER_VALUE:2,STRING_VALUE:3,BOOL_VALUE:4,STRUCT_VALUE:5,LIST_VALUE:6},proto.google.protobuf.Value.prototype.getKindCase=function(){return e.Message.computeOneofCase(this,proto.google.protobuf.Value.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Value.prototype.toObject=function(t){return proto.google.protobuf.Value.toObject(t,this)},proto.google.protobuf.Value.toObject=function(t,i){var n,p={nullValue:e.Message.getFieldWithDefault(i,1,0),numberValue:e.Message.getFloatingPointFieldWithDefault(i,2,0),stringValue:e.Message.getFieldWithDefault(i,3,""),boolValue:e.Message.getBooleanFieldWithDefault(i,4,!1),structValue:(n=i.getStructValue())&&proto.google.protobuf.Struct.toObject(t,n),listValue:(n=i.getListValue())&&proto.google.protobuf.ListValue.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.Value.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Value;return proto.google.protobuf.Value.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Value.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readEnum();t.setNullValue(p);break;case 2:var p=i.readDouble();t.setNumberValue(p);break;case 3:var p=i.readString();t.setStringValue(p);break;case 4:var p=i.readBool();t.setBoolValue(p);break;case 5:var p=new proto.google.protobuf.Struct;i.readMessage(p,proto.google.protobuf.Struct.deserializeBinaryFromReader),t.setStructValue(p);break;case 6:var p=new proto.google.protobuf.ListValue;i.readMessage(p,proto.google.protobuf.ListValue.deserializeBinaryFromReader),t.setListValue(p);break;default:i.skipField();break}}return t},proto.google.protobuf.Value.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Value.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Value.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeEnum(1,n),n=e.Message.getField(t,2),n!=null&&i.writeDouble(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeBool(4,n),n=t.getStructValue(),n!=null&&i.writeMessage(5,n,proto.google.protobuf.Struct.serializeBinaryToWriter),n=t.getListValue(),n!=null&&i.writeMessage(6,n,proto.google.protobuf.ListValue.serializeBinaryToWriter)},proto.google.protobuf.Value.prototype.getNullValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Value.prototype.setNullValue=function(t){return e.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearNullValue=function(){return e.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNullValue=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.Value.prototype.getNumberValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.google.protobuf.Value.prototype.setNumberValue=function(t){return e.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearNumberValue=function(){return e.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNumberValue=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.Value.prototype.getStringValue=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.Value.prototype.setStringValue=function(t){return e.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearStringValue=function(){return e.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasStringValue=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.Value.prototype.getBoolValue=function(){return e.Message.getBooleanFieldWithDefault(this,4,!1)},proto.google.protobuf.Value.prototype.setBoolValue=function(t){return e.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearBoolValue=function(){return e.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasBoolValue=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.Value.prototype.getStructValue=function(){return e.Message.getWrapperField(this,proto.google.protobuf.Struct,5)},proto.google.protobuf.Value.prototype.setStructValue=function(t){return e.Message.setOneofWrapperField(this,5,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearStructValue=function(){return this.setStructValue(void 0)},proto.google.protobuf.Value.prototype.hasStructValue=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.Value.prototype.getListValue=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ListValue,6)},proto.google.protobuf.Value.prototype.setListValue=function(t){return e.Message.setOneofWrapperField(this,6,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearListValue=function(){return this.setListValue(void 0)},proto.google.protobuf.Value.prototype.hasListValue=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.ListValue.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ListValue.prototype.toObject=function(t){return proto.google.protobuf.ListValue.toObject(t,this)},proto.google.protobuf.ListValue.toObject=function(t,i){var n={valuesList:e.Message.toObjectList(i.getValuesList(),proto.google.protobuf.Value.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ListValue.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ListValue;return proto.google.protobuf.ListValue.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ListValue.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.Value;i.readMessage(p,proto.google.protobuf.Value.deserializeBinaryFromReader),t.addValues(p);break;default:i.skipField();break}}return t},proto.google.protobuf.ListValue.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ListValue.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ListValue.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getValuesList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.ListValue.prototype.getValuesList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.Value,1)},proto.google.protobuf.ListValue.prototype.setValuesList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.ListValue.prototype.addValues=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.Value,i)},proto.google.protobuf.ListValue.prototype.clearValuesList=function(){return this.setValuesList([])},proto.google.protobuf.NullValue={NULL_VALUE:0},r.object.extend(o,proto.google.protobuf),proto.google.protobuf.JavaScriptValue,proto.google.protobuf.Value.prototype.toJavaScript=function(){var t=proto.google.protobuf.Value.KindCase;switch(this.getKindCase()){case t.NULL_VALUE:return null;case t.NUMBER_VALUE:return this.getNumberValue();case t.STRING_VALUE:return this.getStringValue();case t.BOOL_VALUE:return this.getBoolValue();case t.STRUCT_VALUE:return this.getStructValue().toJavaScript();case t.LIST_VALUE:return this.getListValue().toJavaScript();default:throw new Error("Unexpected struct type")}},proto.google.protobuf.Value.fromJavaScript=function(t){var i=new proto.google.protobuf.Value;switch(r.typeOf(t)){case"string":i.setStringValue(t);break;case"number":i.setNumberValue(t);break;case"boolean":i.setBoolValue(t);break;case"null":i.setNullValue(proto.google.protobuf.NullValue.NULL_VALUE);break;case"array":i.setListValue(proto.google.protobuf.ListValue.fromJavaScript(t));break;case"object":i.setStructValue(proto.google.protobuf.Struct.fromJavaScript(t));break;default:throw new Error("Unexpected struct type.")}return i},proto.google.protobuf.ListValue.prototype.toJavaScript=function(){for(var t=[],i=this.getValuesList(),n=0;n<i.length;n++)t[n]=i[n].toJavaScript();return t},proto.google.protobuf.ListValue.fromJavaScript=function(t){for(var i=new proto.google.protobuf.ListValue,n=0;n<t.length;n++)i.addValues(proto.google.protobuf.Value.fromJavaScript(t[n]));return i},proto.google.protobuf.Struct.prototype.toJavaScript=function(){var t={};return this.getFieldsMap().forEach(function(i,n){t[n]=i.toJavaScript()}),t},proto.google.protobuf.Struct.fromJavaScript=function(t){var i=new proto.google.protobuf.Struct,n=i.getFieldsMap();for(var p in t){var g=t[p];n.set(p,proto.google.protobuf.Value.fromJavaScript(g))}return i}})(struct_pb$i);var timestamp_pb$1={};(function(o){var e=googleProtobuf$l,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.Timestamp",null,s),proto.google.protobuf.Timestamp=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.Timestamp,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Timestamp.displayName="proto.google.protobuf.Timestamp"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Timestamp.prototype.toObject=function(t){return proto.google.protobuf.Timestamp.toObject(t,this)},proto.google.protobuf.Timestamp.toObject=function(t,i){var n={seconds:e.Message.getFieldWithDefault(i,1,0),nanos:e.Message.getFieldWithDefault(i,2,0)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.Timestamp.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Timestamp;return proto.google.protobuf.Timestamp.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Timestamp.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt64();t.setSeconds(p);break;case 2:var p=i.readInt32();t.setNanos(p);break;default:i.skipField();break}}return t},proto.google.protobuf.Timestamp.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Timestamp.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Timestamp.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getSeconds(),n!==0&&i.writeInt64(1,n),n=t.getNanos(),n!==0&&i.writeInt32(2,n)},proto.google.protobuf.Timestamp.prototype.getSeconds=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Timestamp.prototype.setSeconds=function(t){return e.Message.setProto3IntField(this,1,t)},proto.google.protobuf.Timestamp.prototype.getNanos=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.Timestamp.prototype.setNanos=function(t){return e.Message.setProto3IntField(this,2,t)},r.object.extend(o,proto.google.protobuf),proto.google.protobuf.Timestamp.prototype.toDate=function(){var t=this.getSeconds(),i=this.getNanos();return new Date(t*1e3+i/1e6)},proto.google.protobuf.Timestamp.prototype.fromDate=function(t){this.setSeconds(Math.floor(t.getTime()/1e3)),this.setNanos(t.getMilliseconds()*1e6)},proto.google.protobuf.Timestamp.fromDate=function(t){var i=new proto.google.protobuf.Timestamp;return i.fromDate(t),i}})(timestamp_pb$1),function(o){var e=googleProtobuf$l,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=common_pb$f;r.object.extend(proto,t);var i=annotations_pb$i;r.object.extend(proto,i);var n=duration_pb;r.object.extend(proto,n);var p=struct_pb$i;r.object.extend(proto,p);var g=timestamp_pb$1;r.object.extend(proto,g),r.exportSymbol("proto.viam.robot.v1.BlockForOperationRequest",null,s),r.exportSymbol("proto.viam.robot.v1.BlockForOperationResponse",null,s),r.exportSymbol("proto.viam.robot.v1.CancelOperationRequest",null,s),r.exportSymbol("proto.viam.robot.v1.CancelOperationResponse",null,s),r.exportSymbol("proto.viam.robot.v1.DiscoverComponentsRequest",null,s),r.exportSymbol("proto.viam.robot.v1.DiscoverComponentsResponse",null,s),r.exportSymbol("proto.viam.robot.v1.Discovery",null,s),r.exportSymbol("proto.viam.robot.v1.DiscoveryQuery",null,s),r.exportSymbol("proto.viam.robot.v1.FrameSystemConfig",null,s),r.exportSymbol("proto.viam.robot.v1.FrameSystemConfigRequest",null,s),r.exportSymbol("proto.viam.robot.v1.FrameSystemConfigResponse",null,s),r.exportSymbol("proto.viam.robot.v1.GetOperationsRequest",null,s),r.exportSymbol("proto.viam.robot.v1.GetOperationsResponse",null,s),r.exportSymbol("proto.viam.robot.v1.GetSessionsRequest",null,s),r.exportSymbol("proto.viam.robot.v1.GetSessionsResponse",null,s),r.exportSymbol("proto.viam.robot.v1.GetStatusRequest",null,s),r.exportSymbol("proto.viam.robot.v1.GetStatusResponse",null,s),r.exportSymbol("proto.viam.robot.v1.Operation",null,s),r.exportSymbol("proto.viam.robot.v1.PeerConnectionInfo",null,s),r.exportSymbol("proto.viam.robot.v1.PeerConnectionType",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceNamesRequest",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceNamesResponse",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtype",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtypesRequest",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtypesResponse",null,s),r.exportSymbol("proto.viam.robot.v1.SendSessionHeartbeatRequest",null,s),r.exportSymbol("proto.viam.robot.v1.SendSessionHeartbeatResponse",null,s),r.exportSymbol("proto.viam.robot.v1.Session",null,s),r.exportSymbol("proto.viam.robot.v1.StartSessionRequest",null,s),r.exportSymbol("proto.viam.robot.v1.StartSessionResponse",null,s),r.exportSymbol("proto.viam.robot.v1.Status",null,s),r.exportSymbol("proto.viam.robot.v1.StopAllRequest",null,s),r.exportSymbol("proto.viam.robot.v1.StopAllResponse",null,s),r.exportSymbol("proto.viam.robot.v1.StopExtraParameters",null,s),r.exportSymbol("proto.viam.robot.v1.StreamStatusRequest",null,s),r.exportSymbol("proto.viam.robot.v1.StreamStatusResponse",null,s),r.exportSymbol("proto.viam.robot.v1.TransformPCDRequest",null,s),r.exportSymbol("proto.viam.robot.v1.TransformPCDResponse",null,s),r.exportSymbol("proto.viam.robot.v1.TransformPoseRequest",null,s),r.exportSymbol("proto.viam.robot.v1.TransformPoseResponse",null,s),proto.viam.robot.v1.FrameSystemConfig=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.FrameSystemConfig,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.FrameSystemConfig.displayName="proto.viam.robot.v1.FrameSystemConfig"),proto.viam.robot.v1.FrameSystemConfigRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.FrameSystemConfigRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.FrameSystemConfigRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.FrameSystemConfigRequest.displayName="proto.viam.robot.v1.FrameSystemConfigRequest"),proto.viam.robot.v1.FrameSystemConfigResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.FrameSystemConfigResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.FrameSystemConfigResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.FrameSystemConfigResponse.displayName="proto.viam.robot.v1.FrameSystemConfigResponse"),proto.viam.robot.v1.TransformPoseRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.TransformPoseRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.TransformPoseRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.TransformPoseRequest.displayName="proto.viam.robot.v1.TransformPoseRequest"),proto.viam.robot.v1.TransformPoseResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.TransformPoseResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.TransformPoseResponse.displayName="proto.viam.robot.v1.TransformPoseResponse"),proto.viam.robot.v1.TransformPCDRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.TransformPCDRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.TransformPCDRequest.displayName="proto.viam.robot.v1.TransformPCDRequest"),proto.viam.robot.v1.TransformPCDResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.TransformPCDResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.TransformPCDResponse.displayName="proto.viam.robot.v1.TransformPCDResponse"),proto.viam.robot.v1.ResourceNamesRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.ResourceNamesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceNamesRequest.displayName="proto.viam.robot.v1.ResourceNamesRequest"),proto.viam.robot.v1.ResourceNamesResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.ResourceNamesResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.ResourceNamesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceNamesResponse.displayName="proto.viam.robot.v1.ResourceNamesResponse"),proto.viam.robot.v1.ResourceRPCSubtype=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.ResourceRPCSubtype,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceRPCSubtype.displayName="proto.viam.robot.v1.ResourceRPCSubtype"),proto.viam.robot.v1.ResourceRPCSubtypesRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.ResourceRPCSubtypesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceRPCSubtypesRequest.displayName="proto.viam.robot.v1.ResourceRPCSubtypesRequest"),proto.viam.robot.v1.ResourceRPCSubtypesResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.ResourceRPCSubtypesResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.ResourceRPCSubtypesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceRPCSubtypesResponse.displayName="proto.viam.robot.v1.ResourceRPCSubtypesResponse"),proto.viam.robot.v1.Operation=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.Operation,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.Operation.displayName="proto.viam.robot.v1.Operation"),proto.viam.robot.v1.GetOperationsRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.GetOperationsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetOperationsRequest.displayName="proto.viam.robot.v1.GetOperationsRequest"),proto.viam.robot.v1.GetOperationsResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.GetOperationsResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.GetOperationsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetOperationsResponse.displayName="proto.viam.robot.v1.GetOperationsResponse"),proto.viam.robot.v1.CancelOperationRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.CancelOperationRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.CancelOperationRequest.displayName="proto.viam.robot.v1.CancelOperationRequest"),proto.viam.robot.v1.CancelOperationResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.CancelOperationResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.CancelOperationResponse.displayName="proto.viam.robot.v1.CancelOperationResponse"),proto.viam.robot.v1.BlockForOperationRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.BlockForOperationRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.BlockForOperationRequest.displayName="proto.viam.robot.v1.BlockForOperationRequest"),proto.viam.robot.v1.BlockForOperationResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.BlockForOperationResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.BlockForOperationResponse.displayName="proto.viam.robot.v1.BlockForOperationResponse"),proto.viam.robot.v1.PeerConnectionInfo=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.PeerConnectionInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.PeerConnectionInfo.displayName="proto.viam.robot.v1.PeerConnectionInfo"),proto.viam.robot.v1.Session=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.Session,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.Session.displayName="proto.viam.robot.v1.Session"),proto.viam.robot.v1.GetSessionsRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.GetSessionsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetSessionsRequest.displayName="proto.viam.robot.v1.GetSessionsRequest"),proto.viam.robot.v1.GetSessionsResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.GetSessionsResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.GetSessionsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetSessionsResponse.displayName="proto.viam.robot.v1.GetSessionsResponse"),proto.viam.robot.v1.DiscoveryQuery=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.DiscoveryQuery,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.DiscoveryQuery.displayName="proto.viam.robot.v1.DiscoveryQuery"),proto.viam.robot.v1.Discovery=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.Discovery,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.Discovery.displayName="proto.viam.robot.v1.Discovery"),proto.viam.robot.v1.DiscoverComponentsRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.DiscoverComponentsRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.DiscoverComponentsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.DiscoverComponentsRequest.displayName="proto.viam.robot.v1.DiscoverComponentsRequest"),proto.viam.robot.v1.DiscoverComponentsResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.DiscoverComponentsResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.DiscoverComponentsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.DiscoverComponentsResponse.displayName="proto.viam.robot.v1.DiscoverComponentsResponse"),proto.viam.robot.v1.Status=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.Status,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.Status.displayName="proto.viam.robot.v1.Status"),proto.viam.robot.v1.GetStatusRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.GetStatusRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.GetStatusRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetStatusRequest.displayName="proto.viam.robot.v1.GetStatusRequest"),proto.viam.robot.v1.GetStatusResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.GetStatusResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.GetStatusResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetStatusResponse.displayName="proto.viam.robot.v1.GetStatusResponse"),proto.viam.robot.v1.StreamStatusRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.StreamStatusRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.StreamStatusRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StreamStatusRequest.displayName="proto.viam.robot.v1.StreamStatusRequest"),proto.viam.robot.v1.StreamStatusResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.StreamStatusResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.StreamStatusResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StreamStatusResponse.displayName="proto.viam.robot.v1.StreamStatusResponse"),proto.viam.robot.v1.StopExtraParameters=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.StopExtraParameters,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StopExtraParameters.displayName="proto.viam.robot.v1.StopExtraParameters"),proto.viam.robot.v1.StopAllRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.StopAllRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.StopAllRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StopAllRequest.displayName="proto.viam.robot.v1.StopAllRequest"),proto.viam.robot.v1.StopAllResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.StopAllResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StopAllResponse.displayName="proto.viam.robot.v1.StopAllResponse"),proto.viam.robot.v1.StartSessionRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.StartSessionRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StartSessionRequest.displayName="proto.viam.robot.v1.StartSessionRequest"),proto.viam.robot.v1.StartSessionResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.StartSessionResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StartSessionResponse.displayName="proto.viam.robot.v1.StartSessionResponse"),proto.viam.robot.v1.SendSessionHeartbeatRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.SendSessionHeartbeatRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.SendSessionHeartbeatRequest.displayName="proto.viam.robot.v1.SendSessionHeartbeatRequest"),proto.viam.robot.v1.SendSessionHeartbeatResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.SendSessionHeartbeatResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.SendSessionHeartbeatResponse.displayName="proto.viam.robot.v1.SendSessionHeartbeatResponse"),e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.FrameSystemConfig.prototype.toObject=function(l){return proto.viam.robot.v1.FrameSystemConfig.toObject(l,this)},proto.viam.robot.v1.FrameSystemConfig.toObject=function(l,u){var c,y={frame:(c=u.getFrame())&&t.Transform.toObject(l,c),kinematics:(c=u.getKinematics())&&p.Struct.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.FrameSystemConfig.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.FrameSystemConfig;return proto.viam.robot.v1.FrameSystemConfig.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.FrameSystemConfig.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.Transform;u.readMessage(y,t.Transform.deserializeBinaryFromReader),l.setFrame(y);break;case 2:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setKinematics(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.FrameSystemConfig.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.FrameSystemConfig.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.FrameSystemConfig.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getFrame(),c!=null&&u.writeMessage(1,c,t.Transform.serializeBinaryToWriter),c=l.getKinematics(),c!=null&&u.writeMessage(2,c,p.Struct.serializeBinaryToWriter)},proto.viam.robot.v1.FrameSystemConfig.prototype.getFrame=function(){return e.Message.getWrapperField(this,t.Transform,1)},proto.viam.robot.v1.FrameSystemConfig.prototype.setFrame=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.FrameSystemConfig.prototype.clearFrame=function(){return this.setFrame(void 0)},proto.viam.robot.v1.FrameSystemConfig.prototype.hasFrame=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.FrameSystemConfig.prototype.getKinematics=function(){return e.Message.getWrapperField(this,p.Struct,2)},proto.viam.robot.v1.FrameSystemConfig.prototype.setKinematics=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.FrameSystemConfig.prototype.clearKinematics=function(){return this.setKinematics(void 0)},proto.viam.robot.v1.FrameSystemConfig.prototype.hasKinematics=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.FrameSystemConfigRequest.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.FrameSystemConfigRequest.prototype.toObject=function(l){return proto.viam.robot.v1.FrameSystemConfigRequest.toObject(l,this)},proto.viam.robot.v1.FrameSystemConfigRequest.toObject=function(l,u){var c={supplementalTransformsList:e.Message.toObjectList(u.getSupplementalTransformsList(),t.Transform.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.FrameSystemConfigRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.FrameSystemConfigRequest;return proto.viam.robot.v1.FrameSystemConfigRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.FrameSystemConfigRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.Transform;u.readMessage(y,t.Transform.deserializeBinaryFromReader),l.addSupplementalTransforms(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.FrameSystemConfigRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.FrameSystemConfigRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSupplementalTransformsList(),c.length>0&&u.writeRepeatedMessage(1,c,t.Transform.serializeBinaryToWriter)},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.getSupplementalTransformsList=function(){return e.Message.getRepeatedWrapperField(this,t.Transform,1)},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.setSupplementalTransformsList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.addSupplementalTransforms=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.common.v1.Transform,u)},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.clearSupplementalTransformsList=function(){return this.setSupplementalTransformsList([])},proto.viam.robot.v1.FrameSystemConfigResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.FrameSystemConfigResponse.prototype.toObject=function(l){return proto.viam.robot.v1.FrameSystemConfigResponse.toObject(l,this)},proto.viam.robot.v1.FrameSystemConfigResponse.toObject=function(l,u){var c={frameSystemConfigsList:e.Message.toObjectList(u.getFrameSystemConfigsList(),proto.viam.robot.v1.FrameSystemConfig.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.FrameSystemConfigResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.FrameSystemConfigResponse;return proto.viam.robot.v1.FrameSystemConfigResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.FrameSystemConfigResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.FrameSystemConfig;u.readMessage(y,proto.viam.robot.v1.FrameSystemConfig.deserializeBinaryFromReader),l.addFrameSystemConfigs(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.FrameSystemConfigResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.FrameSystemConfigResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getFrameSystemConfigsList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.FrameSystemConfig.serializeBinaryToWriter)},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.getFrameSystemConfigsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.FrameSystemConfig,1)},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.setFrameSystemConfigsList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.addFrameSystemConfigs=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.FrameSystemConfig,u)},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.clearFrameSystemConfigsList=function(){return this.setFrameSystemConfigsList([])},proto.viam.robot.v1.TransformPoseRequest.repeatedFields_=[3],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.TransformPoseRequest.prototype.toObject=function(l){return proto.viam.robot.v1.TransformPoseRequest.toObject(l,this)},proto.viam.robot.v1.TransformPoseRequest.toObject=function(l,u){var c,y={source:(c=u.getSource())&&t.PoseInFrame.toObject(l,c),destination:e.Message.getFieldWithDefault(u,2,""),supplementalTransformsList:e.Message.toObjectList(u.getSupplementalTransformsList(),t.Transform.toObject,l)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.TransformPoseRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.TransformPoseRequest;return proto.viam.robot.v1.TransformPoseRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.TransformPoseRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.PoseInFrame;u.readMessage(y,t.PoseInFrame.deserializeBinaryFromReader),l.setSource(y);break;case 2:var y=u.readString();l.setDestination(y);break;case 3:var y=new t.Transform;u.readMessage(y,t.Transform.deserializeBinaryFromReader),l.addSupplementalTransforms(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.TransformPoseRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.TransformPoseRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.TransformPoseRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSource(),c!=null&&u.writeMessage(1,c,t.PoseInFrame.serializeBinaryToWriter),c=l.getDestination(),c.length>0&&u.writeString(2,c),c=l.getSupplementalTransformsList(),c.length>0&&u.writeRepeatedMessage(3,c,t.Transform.serializeBinaryToWriter)},proto.viam.robot.v1.TransformPoseRequest.prototype.getSource=function(){return e.Message.getWrapperField(this,t.PoseInFrame,1)},proto.viam.robot.v1.TransformPoseRequest.prototype.setSource=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.TransformPoseRequest.prototype.clearSource=function(){return this.setSource(void 0)},proto.viam.robot.v1.TransformPoseRequest.prototype.hasSource=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.TransformPoseRequest.prototype.getDestination=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.TransformPoseRequest.prototype.setDestination=function(l){return e.Message.setProto3StringField(this,2,l)},proto.viam.robot.v1.TransformPoseRequest.prototype.getSupplementalTransformsList=function(){return e.Message.getRepeatedWrapperField(this,t.Transform,3)},proto.viam.robot.v1.TransformPoseRequest.prototype.setSupplementalTransformsList=function(l){return e.Message.setRepeatedWrapperField(this,3,l)},proto.viam.robot.v1.TransformPoseRequest.prototype.addSupplementalTransforms=function(l,u){return e.Message.addToRepeatedWrapperField(this,3,l,proto.viam.common.v1.Transform,u)},proto.viam.robot.v1.TransformPoseRequest.prototype.clearSupplementalTransformsList=function(){return this.setSupplementalTransformsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.TransformPoseResponse.prototype.toObject=function(l){return proto.viam.robot.v1.TransformPoseResponse.toObject(l,this)},proto.viam.robot.v1.TransformPoseResponse.toObject=function(l,u){var c,y={pose:(c=u.getPose())&&t.PoseInFrame.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.TransformPoseResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.TransformPoseResponse;return proto.viam.robot.v1.TransformPoseResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.TransformPoseResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.PoseInFrame;u.readMessage(y,t.PoseInFrame.deserializeBinaryFromReader),l.setPose(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.TransformPoseResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.TransformPoseResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.TransformPoseResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getPose(),c!=null&&u.writeMessage(1,c,t.PoseInFrame.serializeBinaryToWriter)},proto.viam.robot.v1.TransformPoseResponse.prototype.getPose=function(){return e.Message.getWrapperField(this,t.PoseInFrame,1)},proto.viam.robot.v1.TransformPoseResponse.prototype.setPose=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.TransformPoseResponse.prototype.clearPose=function(){return this.setPose(void 0)},proto.viam.robot.v1.TransformPoseResponse.prototype.hasPose=function(){return e.Message.getField(this,1)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.TransformPCDRequest.prototype.toObject=function(l){return proto.viam.robot.v1.TransformPCDRequest.toObject(l,this)},proto.viam.robot.v1.TransformPCDRequest.toObject=function(l,u){var c={pointCloudPcd:u.getPointCloudPcd_asB64(),source:e.Message.getFieldWithDefault(u,2,""),destination:e.Message.getFieldWithDefault(u,3,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.TransformPCDRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.TransformPCDRequest;return proto.viam.robot.v1.TransformPCDRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.TransformPCDRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readBytes();l.setPointCloudPcd(y);break;case 2:var y=u.readString();l.setSource(y);break;case 3:var y=u.readString();l.setDestination(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.TransformPCDRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.TransformPCDRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.TransformPCDRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getPointCloudPcd_asU8(),c.length>0&&u.writeBytes(1,c),c=l.getSource(),c.length>0&&u.writeString(2,c),c=l.getDestination(),c.length>0&&u.writeString(3,c)},proto.viam.robot.v1.TransformPCDRequest.prototype.getPointCloudPcd=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.TransformPCDRequest.prototype.getPointCloudPcd_asB64=function(){return e.Message.bytesAsB64(this.getPointCloudPcd())},proto.viam.robot.v1.TransformPCDRequest.prototype.getPointCloudPcd_asU8=function(){return e.Message.bytesAsU8(this.getPointCloudPcd())},proto.viam.robot.v1.TransformPCDRequest.prototype.setPointCloudPcd=function(l){return e.Message.setProto3BytesField(this,1,l)},proto.viam.robot.v1.TransformPCDRequest.prototype.getSource=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.TransformPCDRequest.prototype.setSource=function(l){return e.Message.setProto3StringField(this,2,l)},proto.viam.robot.v1.TransformPCDRequest.prototype.getDestination=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.robot.v1.TransformPCDRequest.prototype.setDestination=function(l){return e.Message.setProto3StringField(this,3,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.TransformPCDResponse.prototype.toObject=function(l){return proto.viam.robot.v1.TransformPCDResponse.toObject(l,this)},proto.viam.robot.v1.TransformPCDResponse.toObject=function(l,u){var c={pointCloudPcd:u.getPointCloudPcd_asB64()};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.TransformPCDResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.TransformPCDResponse;return proto.viam.robot.v1.TransformPCDResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.TransformPCDResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readBytes();l.setPointCloudPcd(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.TransformPCDResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.TransformPCDResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.TransformPCDResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getPointCloudPcd_asU8(),c.length>0&&u.writeBytes(1,c)},proto.viam.robot.v1.TransformPCDResponse.prototype.getPointCloudPcd=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.TransformPCDResponse.prototype.getPointCloudPcd_asB64=function(){return e.Message.bytesAsB64(this.getPointCloudPcd())},proto.viam.robot.v1.TransformPCDResponse.prototype.getPointCloudPcd_asU8=function(){return e.Message.bytesAsU8(this.getPointCloudPcd())},proto.viam.robot.v1.TransformPCDResponse.prototype.setPointCloudPcd=function(l){return e.Message.setProto3BytesField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceNamesRequest.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceNamesRequest.toObject(l,this)},proto.viam.robot.v1.ResourceNamesRequest.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.ResourceNamesRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceNamesRequest;return proto.viam.robot.v1.ResourceNamesRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceNamesRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceNamesRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceNamesRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceNamesRequest.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.ResourceNamesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceNamesResponse.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceNamesResponse.toObject(l,this)},proto.viam.robot.v1.ResourceNamesResponse.toObject=function(l,u){var c={resourcesList:e.Message.toObjectList(u.getResourcesList(),t.ResourceName.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.ResourceNamesResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceNamesResponse;return proto.viam.robot.v1.ResourceNamesResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceNamesResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.addResources(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceNamesResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceNamesResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceNamesResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResourcesList(),c.length>0&&u.writeRepeatedMessage(1,c,t.ResourceName.serializeBinaryToWriter)},proto.viam.robot.v1.ResourceNamesResponse.prototype.getResourcesList=function(){return e.Message.getRepeatedWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.ResourceNamesResponse.prototype.setResourcesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.ResourceNamesResponse.prototype.addResources=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.common.v1.ResourceName,u)},proto.viam.robot.v1.ResourceNamesResponse.prototype.clearResourcesList=function(){return this.setResourcesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceRPCSubtype.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceRPCSubtype.toObject(l,this)},proto.viam.robot.v1.ResourceRPCSubtype.toObject=function(l,u){var c,y={subtype:(c=u.getSubtype())&&t.ResourceName.toObject(l,c),protoService:e.Message.getFieldWithDefault(u,2,"")};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.ResourceRPCSubtype.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceRPCSubtype;return proto.viam.robot.v1.ResourceRPCSubtype.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceRPCSubtype.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.setSubtype(y);break;case 2:var y=u.readString();l.setProtoService(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceRPCSubtype.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceRPCSubtype.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceRPCSubtype.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSubtype(),c!=null&&u.writeMessage(1,c,t.ResourceName.serializeBinaryToWriter),c=l.getProtoService(),c.length>0&&u.writeString(2,c)},proto.viam.robot.v1.ResourceRPCSubtype.prototype.getSubtype=function(){return e.Message.getWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.ResourceRPCSubtype.prototype.setSubtype=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.ResourceRPCSubtype.prototype.clearSubtype=function(){return this.setSubtype(void 0)},proto.viam.robot.v1.ResourceRPCSubtype.prototype.hasSubtype=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.ResourceRPCSubtype.prototype.getProtoService=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.ResourceRPCSubtype.prototype.setProtoService=function(l){return e.Message.setProto3StringField(this,2,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceRPCSubtypesRequest.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceRPCSubtypesRequest.toObject(l,this)},proto.viam.robot.v1.ResourceRPCSubtypesRequest.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.ResourceRPCSubtypesRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceRPCSubtypesRequest;return proto.viam.robot.v1.ResourceRPCSubtypesRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceRPCSubtypesRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceRPCSubtypesRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceRPCSubtypesRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceRPCSubtypesRequest.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.ResourceRPCSubtypesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceRPCSubtypesResponse.toObject(l,this)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.toObject=function(l,u){var c={resourceRpcSubtypesList:e.Message.toObjectList(u.getResourceRpcSubtypesList(),proto.viam.robot.v1.ResourceRPCSubtype.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.ResourceRPCSubtypesResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceRPCSubtypesResponse;return proto.viam.robot.v1.ResourceRPCSubtypesResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.ResourceRPCSubtype;u.readMessage(y,proto.viam.robot.v1.ResourceRPCSubtype.deserializeBinaryFromReader),l.addResourceRpcSubtypes(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceRPCSubtypesResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceRPCSubtypesResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResourceRpcSubtypesList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.ResourceRPCSubtype.serializeBinaryToWriter)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.getResourceRpcSubtypesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.ResourceRPCSubtype,1)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.setResourceRpcSubtypesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.addResourceRpcSubtypes=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.ResourceRPCSubtype,u)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.clearResourceRpcSubtypesList=function(){return this.setResourceRpcSubtypesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.Operation.prototype.toObject=function(l){return proto.viam.robot.v1.Operation.toObject(l,this)},proto.viam.robot.v1.Operation.toObject=function(l,u){var c,y={id:e.Message.getFieldWithDefault(u,1,""),method:e.Message.getFieldWithDefault(u,2,""),arguments:(c=u.getArguments())&&p.Struct.toObject(l,c),started:(c=u.getStarted())&&g.Timestamp.toObject(l,c),sessionId:e.Message.getFieldWithDefault(u,5,"")};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.Operation.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.Operation;return proto.viam.robot.v1.Operation.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.Operation.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;case 2:var y=u.readString();l.setMethod(y);break;case 3:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setArguments(y);break;case 4:var y=new g.Timestamp;u.readMessage(y,g.Timestamp.deserializeBinaryFromReader),l.setStarted(y);break;case 5:var y=u.readString();l.setSessionId(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.Operation.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.Operation.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.Operation.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c),c=l.getMethod(),c.length>0&&u.writeString(2,c),c=l.getArguments(),c!=null&&u.writeMessage(3,c,p.Struct.serializeBinaryToWriter),c=l.getStarted(),c!=null&&u.writeMessage(4,c,g.Timestamp.serializeBinaryToWriter),c=e.Message.getField(l,5),c!=null&&u.writeString(5,c)},proto.viam.robot.v1.Operation.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.Operation.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},proto.viam.robot.v1.Operation.prototype.getMethod=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.Operation.prototype.setMethod=function(l){return e.Message.setProto3StringField(this,2,l)},proto.viam.robot.v1.Operation.prototype.getArguments=function(){return e.Message.getWrapperField(this,p.Struct,3)},proto.viam.robot.v1.Operation.prototype.setArguments=function(l){return e.Message.setWrapperField(this,3,l)},proto.viam.robot.v1.Operation.prototype.clearArguments=function(){return this.setArguments(void 0)},proto.viam.robot.v1.Operation.prototype.hasArguments=function(){return e.Message.getField(this,3)!=null},proto.viam.robot.v1.Operation.prototype.getStarted=function(){return e.Message.getWrapperField(this,g.Timestamp,4)},proto.viam.robot.v1.Operation.prototype.setStarted=function(l){return e.Message.setWrapperField(this,4,l)},proto.viam.robot.v1.Operation.prototype.clearStarted=function(){return this.setStarted(void 0)},proto.viam.robot.v1.Operation.prototype.hasStarted=function(){return e.Message.getField(this,4)!=null},proto.viam.robot.v1.Operation.prototype.getSessionId=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.viam.robot.v1.Operation.prototype.setSessionId=function(l){return e.Message.setField(this,5,l)},proto.viam.robot.v1.Operation.prototype.clearSessionId=function(){return e.Message.setField(this,5,void 0)},proto.viam.robot.v1.Operation.prototype.hasSessionId=function(){return e.Message.getField(this,5)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetOperationsRequest.prototype.toObject=function(l){return proto.viam.robot.v1.GetOperationsRequest.toObject(l,this)},proto.viam.robot.v1.GetOperationsRequest.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetOperationsRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetOperationsRequest;return proto.viam.robot.v1.GetOperationsRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetOperationsRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.GetOperationsRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetOperationsRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetOperationsRequest.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.GetOperationsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetOperationsResponse.prototype.toObject=function(l){return proto.viam.robot.v1.GetOperationsResponse.toObject(l,this)},proto.viam.robot.v1.GetOperationsResponse.toObject=function(l,u){var c={operationsList:e.Message.toObjectList(u.getOperationsList(),proto.viam.robot.v1.Operation.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetOperationsResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetOperationsResponse;return proto.viam.robot.v1.GetOperationsResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetOperationsResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Operation;u.readMessage(y,proto.viam.robot.v1.Operation.deserializeBinaryFromReader),l.addOperations(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.GetOperationsResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetOperationsResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetOperationsResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getOperationsList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Operation.serializeBinaryToWriter)},proto.viam.robot.v1.GetOperationsResponse.prototype.getOperationsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Operation,1)},proto.viam.robot.v1.GetOperationsResponse.prototype.setOperationsList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.GetOperationsResponse.prototype.addOperations=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Operation,u)},proto.viam.robot.v1.GetOperationsResponse.prototype.clearOperationsList=function(){return this.setOperationsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.CancelOperationRequest.prototype.toObject=function(l){return proto.viam.robot.v1.CancelOperationRequest.toObject(l,this)},proto.viam.robot.v1.CancelOperationRequest.toObject=function(l,u){var c={id:e.Message.getFieldWithDefault(u,1,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.CancelOperationRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.CancelOperationRequest;return proto.viam.robot.v1.CancelOperationRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.CancelOperationRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.CancelOperationRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.CancelOperationRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.CancelOperationRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c)},proto.viam.robot.v1.CancelOperationRequest.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.CancelOperationRequest.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.CancelOperationResponse.prototype.toObject=function(l){return proto.viam.robot.v1.CancelOperationResponse.toObject(l,this)},proto.viam.robot.v1.CancelOperationResponse.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.CancelOperationResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.CancelOperationResponse;return proto.viam.robot.v1.CancelOperationResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.CancelOperationResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.CancelOperationResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.CancelOperationResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.CancelOperationResponse.serializeBinaryToWriter=function(l,u){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.BlockForOperationRequest.prototype.toObject=function(l){return proto.viam.robot.v1.BlockForOperationRequest.toObject(l,this)},proto.viam.robot.v1.BlockForOperationRequest.toObject=function(l,u){var c={id:e.Message.getFieldWithDefault(u,1,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.BlockForOperationRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.BlockForOperationRequest;return proto.viam.robot.v1.BlockForOperationRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.BlockForOperationRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.BlockForOperationRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.BlockForOperationRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.BlockForOperationRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c)},proto.viam.robot.v1.BlockForOperationRequest.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.BlockForOperationRequest.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.BlockForOperationResponse.prototype.toObject=function(l){return proto.viam.robot.v1.BlockForOperationResponse.toObject(l,this)},proto.viam.robot.v1.BlockForOperationResponse.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.BlockForOperationResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.BlockForOperationResponse;return proto.viam.robot.v1.BlockForOperationResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.BlockForOperationResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.BlockForOperationResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.BlockForOperationResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.BlockForOperationResponse.serializeBinaryToWriter=function(l,u){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.PeerConnectionInfo.prototype.toObject=function(l){return proto.viam.robot.v1.PeerConnectionInfo.toObject(l,this)},proto.viam.robot.v1.PeerConnectionInfo.toObject=function(l,u){var c={type:e.Message.getFieldWithDefault(u,1,0),remoteAddress:e.Message.getFieldWithDefault(u,2,""),localAddress:e.Message.getFieldWithDefault(u,3,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.PeerConnectionInfo.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.PeerConnectionInfo;return proto.viam.robot.v1.PeerConnectionInfo.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.PeerConnectionInfo.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readEnum();l.setType(y);break;case 2:var y=u.readString();l.setRemoteAddress(y);break;case 3:var y=u.readString();l.setLocalAddress(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.PeerConnectionInfo.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.PeerConnectionInfo.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.PeerConnectionInfo.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getType(),c!==0&&u.writeEnum(1,c),c=e.Message.getField(l,2),c!=null&&u.writeString(2,c),c=e.Message.getField(l,3),c!=null&&u.writeString(3,c)},proto.viam.robot.v1.PeerConnectionInfo.prototype.getType=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.robot.v1.PeerConnectionInfo.prototype.setType=function(l){return e.Message.setProto3EnumField(this,1,l)},proto.viam.robot.v1.PeerConnectionInfo.prototype.getRemoteAddress=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.PeerConnectionInfo.prototype.setRemoteAddress=function(l){return e.Message.setField(this,2,l)},proto.viam.robot.v1.PeerConnectionInfo.prototype.clearRemoteAddress=function(){return e.Message.setField(this,2,void 0)},proto.viam.robot.v1.PeerConnectionInfo.prototype.hasRemoteAddress=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.PeerConnectionInfo.prototype.getLocalAddress=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.robot.v1.PeerConnectionInfo.prototype.setLocalAddress=function(l){return e.Message.setField(this,3,l)},proto.viam.robot.v1.PeerConnectionInfo.prototype.clearLocalAddress=function(){return e.Message.setField(this,3,void 0)},proto.viam.robot.v1.PeerConnectionInfo.prototype.hasLocalAddress=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.Session.prototype.toObject=function(l){return proto.viam.robot.v1.Session.toObject(l,this)},proto.viam.robot.v1.Session.toObject=function(l,u){var c,y={id:e.Message.getFieldWithDefault(u,1,""),peerConnectionInfo:(c=u.getPeerConnectionInfo())&&proto.viam.robot.v1.PeerConnectionInfo.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.Session.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.Session;return proto.viam.robot.v1.Session.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.Session.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;case 2:var y=new proto.viam.robot.v1.PeerConnectionInfo;u.readMessage(y,proto.viam.robot.v1.PeerConnectionInfo.deserializeBinaryFromReader),l.setPeerConnectionInfo(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.Session.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.Session.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.Session.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c),c=l.getPeerConnectionInfo(),c!=null&&u.writeMessage(2,c,proto.viam.robot.v1.PeerConnectionInfo.serializeBinaryToWriter)},proto.viam.robot.v1.Session.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.Session.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},proto.viam.robot.v1.Session.prototype.getPeerConnectionInfo=function(){return e.Message.getWrapperField(this,proto.viam.robot.v1.PeerConnectionInfo,2)},proto.viam.robot.v1.Session.prototype.setPeerConnectionInfo=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.Session.prototype.clearPeerConnectionInfo=function(){return this.setPeerConnectionInfo(void 0)},proto.viam.robot.v1.Session.prototype.hasPeerConnectionInfo=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetSessionsRequest.prototype.toObject=function(l){return proto.viam.robot.v1.GetSessionsRequest.toObject(l,this)},proto.viam.robot.v1.GetSessionsRequest.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetSessionsRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetSessionsRequest;return proto.viam.robot.v1.GetSessionsRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetSessionsRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.GetSessionsRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetSessionsRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetSessionsRequest.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.GetSessionsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetSessionsResponse.prototype.toObject=function(l){return proto.viam.robot.v1.GetSessionsResponse.toObject(l,this)},proto.viam.robot.v1.GetSessionsResponse.toObject=function(l,u){var c={sessionsList:e.Message.toObjectList(u.getSessionsList(),proto.viam.robot.v1.Session.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetSessionsResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetSessionsResponse;return proto.viam.robot.v1.GetSessionsResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetSessionsResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Session;u.readMessage(y,proto.viam.robot.v1.Session.deserializeBinaryFromReader),l.addSessions(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.GetSessionsResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetSessionsResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetSessionsResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSessionsList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Session.serializeBinaryToWriter)},proto.viam.robot.v1.GetSessionsResponse.prototype.getSessionsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Session,1)},proto.viam.robot.v1.GetSessionsResponse.prototype.setSessionsList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.GetSessionsResponse.prototype.addSessions=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Session,u)},proto.viam.robot.v1.GetSessionsResponse.prototype.clearSessionsList=function(){return this.setSessionsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.DiscoveryQuery.prototype.toObject=function(l){return proto.viam.robot.v1.DiscoveryQuery.toObject(l,this)},proto.viam.robot.v1.DiscoveryQuery.toObject=function(l,u){var c={subtype:e.Message.getFieldWithDefault(u,1,""),model:e.Message.getFieldWithDefault(u,2,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.DiscoveryQuery.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.DiscoveryQuery;return proto.viam.robot.v1.DiscoveryQuery.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.DiscoveryQuery.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setSubtype(y);break;case 2:var y=u.readString();l.setModel(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.DiscoveryQuery.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.DiscoveryQuery.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.DiscoveryQuery.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSubtype(),c.length>0&&u.writeString(1,c),c=l.getModel(),c.length>0&&u.writeString(2,c)},proto.viam.robot.v1.DiscoveryQuery.prototype.getSubtype=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.DiscoveryQuery.prototype.setSubtype=function(l){return e.Message.setProto3StringField(this,1,l)},proto.viam.robot.v1.DiscoveryQuery.prototype.getModel=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.DiscoveryQuery.prototype.setModel=function(l){return e.Message.setProto3StringField(this,2,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.Discovery.prototype.toObject=function(l){return proto.viam.robot.v1.Discovery.toObject(l,this)},proto.viam.robot.v1.Discovery.toObject=function(l,u){var c,y={query:(c=u.getQuery())&&proto.viam.robot.v1.DiscoveryQuery.toObject(l,c),results:(c=u.getResults())&&p.Struct.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.Discovery.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.Discovery;return proto.viam.robot.v1.Discovery.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.Discovery.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.DiscoveryQuery;u.readMessage(y,proto.viam.robot.v1.DiscoveryQuery.deserializeBinaryFromReader),l.setQuery(y);break;case 2:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setResults(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.Discovery.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.Discovery.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.Discovery.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getQuery(),c!=null&&u.writeMessage(1,c,proto.viam.robot.v1.DiscoveryQuery.serializeBinaryToWriter),c=l.getResults(),c!=null&&u.writeMessage(2,c,p.Struct.serializeBinaryToWriter)},proto.viam.robot.v1.Discovery.prototype.getQuery=function(){return e.Message.getWrapperField(this,proto.viam.robot.v1.DiscoveryQuery,1)},proto.viam.robot.v1.Discovery.prototype.setQuery=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.Discovery.prototype.clearQuery=function(){return this.setQuery(void 0)},proto.viam.robot.v1.Discovery.prototype.hasQuery=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.Discovery.prototype.getResults=function(){return e.Message.getWrapperField(this,p.Struct,2)},proto.viam.robot.v1.Discovery.prototype.setResults=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.Discovery.prototype.clearResults=function(){return this.setResults(void 0)},proto.viam.robot.v1.Discovery.prototype.hasResults=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.DiscoverComponentsRequest.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.DiscoverComponentsRequest.prototype.toObject=function(l){return proto.viam.robot.v1.DiscoverComponentsRequest.toObject(l,this)},proto.viam.robot.v1.DiscoverComponentsRequest.toObject=function(l,u){var c={queriesList:e.Message.toObjectList(u.getQueriesList(),proto.viam.robot.v1.DiscoveryQuery.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.DiscoverComponentsRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.DiscoverComponentsRequest;return proto.viam.robot.v1.DiscoverComponentsRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.DiscoverComponentsRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.DiscoveryQuery;u.readMessage(y,proto.viam.robot.v1.DiscoveryQuery.deserializeBinaryFromReader),l.addQueries(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.DiscoverComponentsRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.DiscoverComponentsRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getQueriesList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.DiscoveryQuery.serializeBinaryToWriter)},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.getQueriesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.DiscoveryQuery,1)},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.setQueriesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.addQueries=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.DiscoveryQuery,u)},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.clearQueriesList=function(){return this.setQueriesList([])},proto.viam.robot.v1.DiscoverComponentsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.DiscoverComponentsResponse.prototype.toObject=function(l){return proto.viam.robot.v1.DiscoverComponentsResponse.toObject(l,this)},proto.viam.robot.v1.DiscoverComponentsResponse.toObject=function(l,u){var c={discoveryList:e.Message.toObjectList(u.getDiscoveryList(),proto.viam.robot.v1.Discovery.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.DiscoverComponentsResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.DiscoverComponentsResponse;return proto.viam.robot.v1.DiscoverComponentsResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.DiscoverComponentsResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Discovery;u.readMessage(y,proto.viam.robot.v1.Discovery.deserializeBinaryFromReader),l.addDiscovery(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.DiscoverComponentsResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.DiscoverComponentsResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getDiscoveryList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Discovery.serializeBinaryToWriter)},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.getDiscoveryList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Discovery,1)},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.setDiscoveryList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.addDiscovery=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Discovery,u)},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.clearDiscoveryList=function(){return this.setDiscoveryList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.Status.prototype.toObject=function(l){return proto.viam.robot.v1.Status.toObject(l,this)},proto.viam.robot.v1.Status.toObject=function(l,u){var c,y={name:(c=u.getName())&&t.ResourceName.toObject(l,c),status:(c=u.getStatus())&&p.Struct.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.Status.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.Status;return proto.viam.robot.v1.Status.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.Status.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.setName(y);break;case 2:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setStatus(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.Status.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.Status.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.Status.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getName(),c!=null&&u.writeMessage(1,c,t.ResourceName.serializeBinaryToWriter),c=l.getStatus(),c!=null&&u.writeMessage(2,c,p.Struct.serializeBinaryToWriter)},proto.viam.robot.v1.Status.prototype.getName=function(){return e.Message.getWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.Status.prototype.setName=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.Status.prototype.clearName=function(){return this.setName(void 0)},proto.viam.robot.v1.Status.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.Status.prototype.getStatus=function(){return e.Message.getWrapperField(this,p.Struct,2)},proto.viam.robot.v1.Status.prototype.setStatus=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.Status.prototype.clearStatus=function(){return this.setStatus(void 0)},proto.viam.robot.v1.Status.prototype.hasStatus=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.GetStatusRequest.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetStatusRequest.prototype.toObject=function(l){return proto.viam.robot.v1.GetStatusRequest.toObject(l,this)},proto.viam.robot.v1.GetStatusRequest.toObject=function(l,u){var c={resourceNamesList:e.Message.toObjectList(u.getResourceNamesList(),t.ResourceName.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetStatusRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetStatusRequest;return proto.viam.robot.v1.GetStatusRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetStatusRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.addResourceNames(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.GetStatusRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetStatusRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetStatusRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResourceNamesList(),c.length>0&&u.writeRepeatedMessage(1,c,t.ResourceName.serializeBinaryToWriter)},proto.viam.robot.v1.GetStatusRequest.prototype.getResourceNamesList=function(){return e.Message.getRepeatedWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.GetStatusRequest.prototype.setResourceNamesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.GetStatusRequest.prototype.addResourceNames=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.common.v1.ResourceName,u)},proto.viam.robot.v1.GetStatusRequest.prototype.clearResourceNamesList=function(){return this.setResourceNamesList([])},proto.viam.robot.v1.GetStatusResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetStatusResponse.prototype.toObject=function(l){return proto.viam.robot.v1.GetStatusResponse.toObject(l,this)},proto.viam.robot.v1.GetStatusResponse.toObject=function(l,u){var c={statusList:e.Message.toObjectList(u.getStatusList(),proto.viam.robot.v1.Status.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetStatusResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetStatusResponse;return proto.viam.robot.v1.GetStatusResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetStatusResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Status;u.readMessage(y,proto.viam.robot.v1.Status.deserializeBinaryFromReader),l.addStatus(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.GetStatusResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetStatusResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetStatusResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getStatusList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Status.serializeBinaryToWriter)},proto.viam.robot.v1.GetStatusResponse.prototype.getStatusList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Status,1)},proto.viam.robot.v1.GetStatusResponse.prototype.setStatusList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.GetStatusResponse.prototype.addStatus=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Status,u)},proto.viam.robot.v1.GetStatusResponse.prototype.clearStatusList=function(){return this.setStatusList([])},proto.viam.robot.v1.StreamStatusRequest.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StreamStatusRequest.prototype.toObject=function(l){return proto.viam.robot.v1.StreamStatusRequest.toObject(l,this)},proto.viam.robot.v1.StreamStatusRequest.toObject=function(l,u){var c,y={resourceNamesList:e.Message.toObjectList(u.getResourceNamesList(),t.ResourceName.toObject,l),every:(c=u.getEvery())&&n.Duration.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.StreamStatusRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StreamStatusRequest;return proto.viam.robot.v1.StreamStatusRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StreamStatusRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.addResourceNames(y);break;case 2:var y=new n.Duration;u.readMessage(y,n.Duration.deserializeBinaryFromReader),l.setEvery(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StreamStatusRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StreamStatusRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StreamStatusRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResourceNamesList(),c.length>0&&u.writeRepeatedMessage(1,c,t.ResourceName.serializeBinaryToWriter),c=l.getEvery(),c!=null&&u.writeMessage(2,c,n.Duration.serializeBinaryToWriter)},proto.viam.robot.v1.StreamStatusRequest.prototype.getResourceNamesList=function(){return e.Message.getRepeatedWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.StreamStatusRequest.prototype.setResourceNamesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.StreamStatusRequest.prototype.addResourceNames=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.common.v1.ResourceName,u)},proto.viam.robot.v1.StreamStatusRequest.prototype.clearResourceNamesList=function(){return this.setResourceNamesList([])},proto.viam.robot.v1.StreamStatusRequest.prototype.getEvery=function(){return e.Message.getWrapperField(this,n.Duration,2)},proto.viam.robot.v1.StreamStatusRequest.prototype.setEvery=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.StreamStatusRequest.prototype.clearEvery=function(){return this.setEvery(void 0)},proto.viam.robot.v1.StreamStatusRequest.prototype.hasEvery=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.StreamStatusResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StreamStatusResponse.prototype.toObject=function(l){return proto.viam.robot.v1.StreamStatusResponse.toObject(l,this)},proto.viam.robot.v1.StreamStatusResponse.toObject=function(l,u){var c={statusList:e.Message.toObjectList(u.getStatusList(),proto.viam.robot.v1.Status.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.StreamStatusResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StreamStatusResponse;return proto.viam.robot.v1.StreamStatusResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StreamStatusResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Status;u.readMessage(y,proto.viam.robot.v1.Status.deserializeBinaryFromReader),l.addStatus(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StreamStatusResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StreamStatusResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StreamStatusResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getStatusList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Status.serializeBinaryToWriter)},proto.viam.robot.v1.StreamStatusResponse.prototype.getStatusList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Status,1)},proto.viam.robot.v1.StreamStatusResponse.prototype.setStatusList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.StreamStatusResponse.prototype.addStatus=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Status,u)},proto.viam.robot.v1.StreamStatusResponse.prototype.clearStatusList=function(){return this.setStatusList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StopExtraParameters.prototype.toObject=function(l){return proto.viam.robot.v1.StopExtraParameters.toObject(l,this)},proto.viam.robot.v1.StopExtraParameters.toObject=function(l,u){var c,y={name:(c=u.getName())&&t.ResourceName.toObject(l,c),params:(c=u.getParams())&&p.Struct.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.StopExtraParameters.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StopExtraParameters;return proto.viam.robot.v1.StopExtraParameters.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StopExtraParameters.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.setName(y);break;case 2:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setParams(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StopExtraParameters.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StopExtraParameters.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StopExtraParameters.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getName(),c!=null&&u.writeMessage(1,c,t.ResourceName.serializeBinaryToWriter),c=l.getParams(),c!=null&&u.writeMessage(2,c,p.Struct.serializeBinaryToWriter)},proto.viam.robot.v1.StopExtraParameters.prototype.getName=function(){return e.Message.getWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.StopExtraParameters.prototype.setName=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.StopExtraParameters.prototype.clearName=function(){return this.setName(void 0)},proto.viam.robot.v1.StopExtraParameters.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.StopExtraParameters.prototype.getParams=function(){return e.Message.getWrapperField(this,p.Struct,2)},proto.viam.robot.v1.StopExtraParameters.prototype.setParams=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.StopExtraParameters.prototype.clearParams=function(){return this.setParams(void 0)},proto.viam.robot.v1.StopExtraParameters.prototype.hasParams=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.StopAllRequest.repeatedFields_=[99],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StopAllRequest.prototype.toObject=function(l){return proto.viam.robot.v1.StopAllRequest.toObject(l,this)},proto.viam.robot.v1.StopAllRequest.toObject=function(l,u){var c={extraList:e.Message.toObjectList(u.getExtraList(),proto.viam.robot.v1.StopExtraParameters.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.StopAllRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StopAllRequest;return proto.viam.robot.v1.StopAllRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StopAllRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 99:var y=new proto.viam.robot.v1.StopExtraParameters;u.readMessage(y,proto.viam.robot.v1.StopExtraParameters.deserializeBinaryFromReader),l.addExtra(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StopAllRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StopAllRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StopAllRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getExtraList(),c.length>0&&u.writeRepeatedMessage(99,c,proto.viam.robot.v1.StopExtraParameters.serializeBinaryToWriter)},proto.viam.robot.v1.StopAllRequest.prototype.getExtraList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.StopExtraParameters,99)},proto.viam.robot.v1.StopAllRequest.prototype.setExtraList=function(l){return e.Message.setRepeatedWrapperField(this,99,l)},proto.viam.robot.v1.StopAllRequest.prototype.addExtra=function(l,u){return e.Message.addToRepeatedWrapperField(this,99,l,proto.viam.robot.v1.StopExtraParameters,u)},proto.viam.robot.v1.StopAllRequest.prototype.clearExtraList=function(){return this.setExtraList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StopAllResponse.prototype.toObject=function(l){return proto.viam.robot.v1.StopAllResponse.toObject(l,this)},proto.viam.robot.v1.StopAllResponse.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.StopAllResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StopAllResponse;return proto.viam.robot.v1.StopAllResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StopAllResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.StopAllResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StopAllResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StopAllResponse.serializeBinaryToWriter=function(l,u){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StartSessionRequest.prototype.toObject=function(l){return proto.viam.robot.v1.StartSessionRequest.toObject(l,this)},proto.viam.robot.v1.StartSessionRequest.toObject=function(l,u){var c={resume:e.Message.getFieldWithDefault(u,1,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.StartSessionRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StartSessionRequest;return proto.viam.robot.v1.StartSessionRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StartSessionRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setResume(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StartSessionRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StartSessionRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StartSessionRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResume(),c.length>0&&u.writeString(1,c)},proto.viam.robot.v1.StartSessionRequest.prototype.getResume=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.StartSessionRequest.prototype.setResume=function(l){return e.Message.setProto3StringField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StartSessionResponse.prototype.toObject=function(l){return proto.viam.robot.v1.StartSessionResponse.toObject(l,this)},proto.viam.robot.v1.StartSessionResponse.toObject=function(l,u){var c,y={id:e.Message.getFieldWithDefault(u,1,""),heartbeatWindow:(c=u.getHeartbeatWindow())&&n.Duration.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.StartSessionResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StartSessionResponse;return proto.viam.robot.v1.StartSessionResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StartSessionResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;case 2:var y=new n.Duration;u.readMessage(y,n.Duration.deserializeBinaryFromReader),l.setHeartbeatWindow(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StartSessionResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StartSessionResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StartSessionResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c),c=l.getHeartbeatWindow(),c!=null&&u.writeMessage(2,c,n.Duration.serializeBinaryToWriter)},proto.viam.robot.v1.StartSessionResponse.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.StartSessionResponse.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},proto.viam.robot.v1.StartSessionResponse.prototype.getHeartbeatWindow=function(){return e.Message.getWrapperField(this,n.Duration,2)},proto.viam.robot.v1.StartSessionResponse.prototype.setHeartbeatWindow=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.StartSessionResponse.prototype.clearHeartbeatWindow=function(){return this.setHeartbeatWindow(void 0)},proto.viam.robot.v1.StartSessionResponse.prototype.hasHeartbeatWindow=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.toObject=function(l){return proto.viam.robot.v1.SendSessionHeartbeatRequest.toObject(l,this)},proto.viam.robot.v1.SendSessionHeartbeatRequest.toObject=function(l,u){var c={id:e.Message.getFieldWithDefault(u,1,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.SendSessionHeartbeatRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.SendSessionHeartbeatRequest;return proto.viam.robot.v1.SendSessionHeartbeatRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.SendSessionHeartbeatRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.SendSessionHeartbeatRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.SendSessionHeartbeatRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c)},proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.SendSessionHeartbeatResponse.prototype.toObject=function(l){return proto.viam.robot.v1.SendSessionHeartbeatResponse.toObject(l,this)},proto.viam.robot.v1.SendSessionHeartbeatResponse.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.SendSessionHeartbeatResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.SendSessionHeartbeatResponse;return proto.viam.robot.v1.SendSessionHeartbeatResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.SendSessionHeartbeatResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.SendSessionHeartbeatResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.SendSessionHeartbeatResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.SendSessionHeartbeatResponse.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.PeerConnectionType={PEER_CONNECTION_TYPE_UNSPECIFIED:0,PEER_CONNECTION_TYPE_GRPC:1,PEER_CONNECTION_TYPE_WEBRTC:2},r.object.extend(o,proto.viam.robot.v1)}(robot_pb);const robot_pb_esm=Object.freeze(Object.defineProperty({__proto__:null,default:robot_pb},Symbol.toStringTag,{value:"Module"})),timeoutBlob=new Blob([`self.onmessage = function(e) {
|
|
158
|
+
`)},goog.string.normalizeWhitespace=function(o){return o.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(o){return o.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(o){return o.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(o){return o.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(o){return o.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(o,e,r){if(o==e)return 0;if(!o)return-1;if(!e)return 1;for(var s=o.toLowerCase().match(r),t=e.toLowerCase().match(r),i=Math.min(s.length,t.length),n=0;n<i;n++){r=s[n];var p=t[n];if(r!=p)return o=parseInt(r,10),!isNaN(o)&&(e=parseInt(p,10),!isNaN(e)&&o-e)?o-e:r<p?-1:1}return s.length!=t.length?s.length-t.length:o<e?-1:1},goog.string.intAwareCompare=function(o,e){return goog.string.numberAwareCompare_(o,e,/\d+|\D+/g)},goog.string.floatAwareCompare=function(o,e){return goog.string.numberAwareCompare_(o,e,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(o){return encodeURIComponent(String(o))},goog.string.urlDecode=function(o){return decodeURIComponent(o.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(o,e){return o=goog.string.internal.htmlEscape(o,e),goog.string.DETECT_DOUBLE_ESCAPING&&(o=o.replace(goog.string.E_RE_,"e")),o},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(o){return goog.string.contains(o,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(o):goog.string.unescapePureXmlEntities_(o):o},goog.string.unescapeEntitiesWithDocument=function(o,e){return goog.string.contains(o,"&")?goog.string.unescapeEntitiesUsingDom_(o,e):o},goog.string.unescapeEntitiesUsingDom_=function(o,e){var r={"&":"&","<":"<",">":">",""":'"'},s=e?e.createElement("div"):goog.global.document.createElement("div");return o.replace(goog.string.HTML_ENTITY_PATTERN_,function(t,i){var n=r[t];return n||(i.charAt(0)=="#"&&(i=Number("0"+i.substr(1)),isNaN(i)||(n=String.fromCharCode(i))),n||(goog.dom.safe.setInnerHtml(s,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),t+" ")),n=s.firstChild.nodeValue.slice(0,-1)),r[t]=n)})},goog.string.unescapePureXmlEntities_=function(o){return o.replace(/&([^;]+);/g,function(e,r){switch(r){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return r.charAt(0)!="#"||(r=Number("0"+r.substr(1)),isNaN(r))?e:String.fromCharCode(r)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(o,e){return goog.string.newLineToBr(o.replace(/ /g,"  "),e)},goog.string.preserveSpaces=function(o){return o.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(o,e){for(var r=e.length,s=0;s<r;s++){var t=r==1?e:e.charAt(s);if(o.charAt(0)==t&&o.charAt(o.length-1)==t)return o.substring(1,o.length-1)}return o},goog.string.truncate=function(o,e,r){return r&&(o=goog.string.unescapeEntities(o)),o.length>e&&(o=o.substring(0,e-3)+"..."),r&&(o=goog.string.htmlEscape(o)),o},goog.string.truncateMiddle=function(o,e,r,s){if(r&&(o=goog.string.unescapeEntities(o)),s&&o.length>e){s>e&&(s=e);var t=o.length-s;o=o.substring(0,e-s)+"..."+o.substring(t)}else o.length>e&&(s=Math.floor(e/2),t=o.length-s,o=o.substring(0,s+e%2)+"..."+o.substring(t));return r&&(o=goog.string.htmlEscape(o)),o},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(o){o=String(o);for(var e=['"'],r=0;r<o.length;r++){var s=o.charAt(r),t=s.charCodeAt(0);e[r+1]=goog.string.specialEscapeChars_[s]||(31<t&&127>t?s:goog.string.escapeChar(s))}return e.push('"'),e.join("")},goog.string.escapeString=function(o){for(var e=[],r=0;r<o.length;r++)e[r]=goog.string.escapeChar(o.charAt(r));return e.join("")},goog.string.escapeChar=function(o){if(o in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[o];if(o in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[o]=goog.string.specialEscapeChars_[o];var e=o.charCodeAt(0);if(31<e&&127>e)var r=o;else 256>e?(r="\\x",(16>e||256<e)&&(r+="0")):(r="\\u",4096>e&&(r+="0")),r+=e.toString(16).toUpperCase();return goog.string.jsEscapeCache_[o]=r},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(o,e){return o&&e?o.split(e).length-1:0},goog.string.removeAt=function(o,e,r){var s=o;return 0<=e&&e<o.length&&0<r&&(s=o.substr(0,e)+o.substr(e+r,o.length-e-r)),s},goog.string.remove=function(o,e){return o.replace(e,"")},goog.string.removeAll=function(o,e){return e=new RegExp(goog.string.regExpEscape(e),"g"),o.replace(e,"")},goog.string.replaceAll=function(o,e,r){return e=new RegExp(goog.string.regExpEscape(e),"g"),o.replace(e,r.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(o){return String(o).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(o,e){return o.repeat(e)}:function(o,e){return Array(e+1).join(o)},goog.string.padNumber=function(o,e,r){return o=r!==void 0?o.toFixed(r):String(o),r=o.indexOf("."),r==-1&&(r=o.length),goog.string.repeat("0",Math.max(0,e-r))+o},goog.string.makeSafe=function(o){return o==null?"":String(o)},goog.string.buildString=function(o){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(o){for(var e=0,r=0;r<o.length;++r)e=31*e+o.charCodeAt(r)>>>0;return e},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(o){var e=Number(o);return e==0&&goog.string.isEmptyOrWhitespace(o)?NaN:e},goog.string.isLowerCamelCase=function(o){return/^[a-z]+([A-Z][a-z]*)*$/.test(o)},goog.string.isUpperCamelCase=function(o){return/^([A-Z][a-z]*)+$/.test(o)},goog.string.toCamelCase=function(o){return String(o).replace(/\-([a-z])/g,function(e,r){return r.toUpperCase()})},goog.string.toSelectorCase=function(o){return String(o).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(o,e){return e=typeof e=="string"?goog.string.regExpEscape(e):"\\s",o.replace(new RegExp("(^"+(e?"|["+e+"]+":"")+")([a-z])","g"),function(r,s,t){return s+t.toUpperCase()})},goog.string.capitalize=function(o){return String(o.charAt(0)).toUpperCase()+String(o.substr(1)).toLowerCase()},goog.string.parseInt=function(o){return isFinite(o)&&(o=String(o)),typeof o=="string"?/^\s*-?0x/i.test(o)?parseInt(o,16):parseInt(o,10):NaN},goog.string.splitLimit=function(o,e,r){o=o.split(e);for(var s=[];0<r&&o.length;)s.push(o.shift()),r--;return o.length&&s.push(o.join(e)),s},goog.string.lastComponent=function(o,e){if(e)typeof e=="string"&&(e=[e]);else return o;for(var r=-1,s=0;s<e.length;s++)if(e[s]!=""){var t=o.lastIndexOf(e[s]);t>r&&(r=t)}return r==-1?o:o.slice(r+1)},goog.string.editDistance=function(o,e){var r=[],s=[];if(o==e)return 0;if(!o.length||!e.length)return Math.max(o.length,e.length);for(var t=0;t<e.length+1;t++)r[t]=t;for(t=0;t<o.length;t++){s[0]=t+1;for(var i=0;i<e.length;i++)s[i+1]=Math.min(s[i]+1,r[i+1]+1,r[i]+Number(o[t]!=e[i]));for(i=0;i<r.length;i++)r[i]=s[i]}return s[e.length]},goog.labs.userAgent.engine={},goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")},goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent();if(o){o=goog.labs.userAgent.util.extractVersionTuples(o);var e=goog.labs.userAgent.engine.getEngineTuple_(o);if(e)return e[0]=="Gecko"?goog.labs.userAgent.engine.getVersionForKey_(o,"Firefox"):e[1];o=o[0];var r;if(o&&(r=o[2])&&(r=/Trident\/([^\s;]+)/.exec(r)))return r[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(o){if(!goog.labs.userAgent.engine.isEdge())return o[1];for(var e=0;e<o.length;e++){var r=o[e];if(r[0]=="Edge")return r}},goog.labs.userAgent.engine.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),o)},goog.labs.userAgent.engine.getVersionForKey_=function(o,e){return(o=goog.array.find(o,function(r){return e==r[0]}))&&o[1]||""},goog.labs.userAgent.platform={},goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")},goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")},goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()},goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")},goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")},goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")},goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")},goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")},goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")},goog.labs.userAgent.platform.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent(),e="";return goog.labs.userAgent.platform.isWindows()?(e=/Windows (?:NT|Phone) ([0-9.]+)/,e=(o=e.exec(o))?o[1]:"0.0"):goog.labs.userAgent.platform.isIos()?(e=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,e=(o=e.exec(o))&&o[1].replace(/_/g,".")):goog.labs.userAgent.platform.isMacintosh()?(e=/Mac OS X ([0-9_.]+)/,e=(o=e.exec(o))?o[1].replace(/_/g,"."):"10"):goog.labs.userAgent.platform.isKaiOS()?(e=/(?:KaiOS)\/(\S+)/i,e=(o=e.exec(o))&&o[1]):goog.labs.userAgent.platform.isAndroid()?(e=/Android\s+([^\);]+)(\)|;)/,e=(o=e.exec(o))&&o[1]):goog.labs.userAgent.platform.isChromeOS()&&(e=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,e=(o=e.exec(o))&&o[1]),e||""},goog.labs.userAgent.platform.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),o)},goog.reflect={},goog.reflect.object=function(o,e){return e},goog.reflect.objectProperty=function(o,e){return o},goog.reflect.sinkValue=function(o){return goog.reflect.sinkValue[" "](o),o},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(o,e){try{return goog.reflect.sinkValue(o[e]),!0}catch{}return!1},goog.reflect.cache=function(o,e,r,s){return s=s?s(e):e,Object.prototype.hasOwnProperty.call(o,s)?o[s]:o[s]=r(e)},goog.userAgent={},goog.userAgent.ASSUME_IE=!1,goog.userAgent.ASSUME_EDGE=!1,goog.userAgent.ASSUME_GECKO=!1,goog.userAgent.ASSUME_WEBKIT=!1,goog.userAgent.ASSUME_MOBILE_WEBKIT=!1,goog.userAgent.ASSUME_OPERA=!1,goog.userAgent.ASSUME_ANY_VERSION=!1,goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA,goog.userAgent.getUserAgentString=function(){return goog.labs.userAgent.util.getUserAgent()},goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||null},goog.userAgent.getNavigator=function(){return goog.userAgent.getNavigatorTyped()},goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:goog.labs.userAgent.browser.isOpera(),goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE(),goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:goog.labs.userAgent.engine.isEdge(),goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE,goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:goog.labs.userAgent.engine.isGecko(),goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit(),goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&goog.labs.userAgent.util.matchUserAgent("Mobile")},goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_(),goog.userAgent.SAFARI=goog.userAgent.WEBKIT,goog.userAgent.determinePlatform_=function(){var o=goog.userAgent.getNavigatorTyped();return o&&o.platform||""},goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_(),goog.userAgent.ASSUME_MAC=!1,goog.userAgent.ASSUME_WINDOWS=!1,goog.userAgent.ASSUME_LINUX=!1,goog.userAgent.ASSUME_X11=!1,goog.userAgent.ASSUME_ANDROID=!1,goog.userAgent.ASSUME_IPHONE=!1,goog.userAgent.ASSUME_IPAD=!1,goog.userAgent.ASSUME_IPOD=!1,goog.userAgent.ASSUME_KAIOS=!1,goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD,goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh(),goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows(),goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()},goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_(),goog.userAgent.isX11_=function(){var o=goog.userAgent.getNavigatorTyped();return!!o&&goog.string.contains(o.appVersion||"","X11")},goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_(),goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:goog.labs.userAgent.platform.isAndroid(),goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone(),goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod(),goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos(),goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS(),goog.userAgent.determineVersion_=function(){var o="",e=goog.userAgent.getVersionRegexResult_();return e&&(o=e?e[1]:""),goog.userAgent.IE&&(e=goog.userAgent.getDocumentMode_(),e!=null&&e>parseFloat(o))?String(e):o},goog.userAgent.getVersionRegexResult_=function(){var o=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv:([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.EDGE)return/Edge\/([\d\.]+)/.exec(o);if(goog.userAgent.IE)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.WEBKIT)return/WebKit\/(\S+)/.exec(o);if(goog.userAgent.OPERA)return/(?:Version)[ \/]?(\S+)/.exec(o)},goog.userAgent.getDocumentMode_=function(){var o=goog.global.document;return o?o.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(o,e){return goog.string.compareVersions(o,e)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(o){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,o,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,o)})},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(o){return Number(goog.userAgent.DOCUMENT_MODE)>=o},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE){var o=goog.userAgent.getDocumentMode_();return o||parseInt(goog.userAgent.VERSION,10)||void 0}}(),goog.userAgent.product={},goog.userAgent.product.ASSUME_FIREFOX=!1,goog.userAgent.product.ASSUME_IPHONE=!1,goog.userAgent.product.ASSUME_IPAD=!1,goog.userAgent.product.ASSUME_ANDROID=!1,goog.userAgent.product.ASSUME_CHROME=!1,goog.userAgent.product.ASSUME_SAFARI=!1,goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI,goog.userAgent.product.OPERA=goog.userAgent.OPERA,goog.userAgent.product.IE=goog.userAgent.IE,goog.userAgent.product.EDGE=goog.userAgent.EDGE,goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox(),goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()},goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_(),goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser(),goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome(),goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!goog.labs.userAgent.platform.isIos()},goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_(),goog.crypt.base64={},goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=",goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.",goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4},goog.crypt.base64.paddingChars_="=.",goog.crypt.base64.isPadding_=function(o){return goog.string.contains(goog.crypt.base64.paddingChars_,o)},goog.crypt.base64.byteToCharMaps_={},goog.crypt.base64.charToByteMap_=null,goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA,goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||typeof goog.global.btoa=="function",goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&typeof goog.global.atob=="function",goog.crypt.base64.encodeByteArray=function(o,e){goog.asserts.assert(goog.isArrayLike(o),"encodeByteArray takes an array as a parameter"),e===void 0&&(e=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),e=goog.crypt.base64.byteToCharMaps_[e];for(var r=[],s=0;s<o.length;s+=3){var t=o[s],i=s+1<o.length,n=i?o[s+1]:0,p=s+2<o.length,g=p?o[s+2]:0,l=t>>2;t=(t&3)<<4|n>>4,n=(n&15)<<2|g>>6,g&=63,p||(g=64,i||(n=64)),r.push(e[l],e[t],e[n]||"",e[g]||"")}return r.join("")},goog.crypt.base64.encodeString=function(o,e){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!e?goog.global.btoa(o):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(o),e)},goog.crypt.base64.decodeString=function(o,e){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!e)return goog.global.atob(o);var r="";return goog.crypt.base64.decodeStringInternal_(o,function(s){r+=String.fromCharCode(s)}),r},goog.crypt.base64.decodeStringToByteArray=function(o,e){var r=[];return goog.crypt.base64.decodeStringInternal_(o,function(s){r.push(s)}),r},goog.crypt.base64.decodeStringToUint8Array=function(o){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var e=o.length,r=3*e/4;r%3?r=Math.floor(r):goog.crypt.base64.isPadding_(o[e-1])&&(r=goog.crypt.base64.isPadding_(o[e-2])?r-2:r-1);var s=new Uint8Array(r),t=0;return goog.crypt.base64.decodeStringInternal_(o,function(i){s[t++]=i}),s.subarray(0,t)},goog.crypt.base64.decodeStringInternal_=function(o,e){function r(g){for(;s<o.length;){var l=o.charAt(s++),u=goog.crypt.base64.charToByteMap_[l];if(u!=null)return u;if(!goog.string.isEmptyOrWhitespace(l))throw Error("Unknown base64 encoding at char: "+l)}return g}goog.crypt.base64.init_();for(var s=0;;){var t=r(-1),i=r(0),n=r(64),p=r(64);if(p===64&&t===-1)break;e(t<<2|i>>4),n!=64&&(e(i<<4&240|n>>2),p!=64&&e(n<<6&192|p))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var o=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),e=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var s=o.concat(e[r].split(""));goog.crypt.base64.byteToCharMaps_[r]=s;for(var t=0;t<s.length;t++){var i=s[t],n=goog.crypt.base64.charToByteMap_[i];n===void 0?goog.crypt.base64.charToByteMap_[i]=t:goog.asserts.assert(n===t)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(o){var e=o>>>0;o=Math.floor((o-e)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=e,jspb.utils.split64High=o},jspb.utils.splitInt64=function(o){var e=0>o;o=Math.abs(o);var r=o>>>0;o=Math.floor((o-r)/jspb.BinaryConstants.TWO_TO_32),o>>>=0,e&&(o=~o>>>0,r=(~r>>>0)+1,4294967295<r&&(r=0,o++,4294967295<o&&(o=0))),jspb.utils.split64Low=r,jspb.utils.split64High=o},jspb.utils.splitZigzag64=function(o){var e=0>o;o=2*Math.abs(o),jspb.utils.splitUint64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;e&&(o==0?r==0?r=o=4294967295:(r--,o=4294967295):o--),jspb.utils.split64Low=o,jspb.utils.split64High=r},jspb.utils.splitFloat32=function(o){var e=0>o?1:0;if(o=e?-o:o,o===0)0<1/o?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(o))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(o>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|2139095040)>>>0;else if(o<jspb.BinaryConstants.FLOAT32_MIN)o=Math.round(o/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|o)>>>0;else{var r=Math.floor(Math.log(o)/Math.LN2);o*=Math.pow(2,-r),o=Math.round(o*jspb.BinaryConstants.TWO_TO_23),16777216<=o&&++r,jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|r+127<<23|o&8388607)>>>0}},jspb.utils.splitFloat64=function(o){var e=0>o?1:0;if(o=e?-o:o,o===0)jspb.utils.split64High=0<1/o?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(o))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(o>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(e<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(o<jspb.BinaryConstants.FLOAT64_MIN){var r=o/Math.pow(2,-1074);o=r/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(e<<31|o)>>>0,jspb.utils.split64Low=r>>>0}else{r=o;var s=0;if(2<=r)for(;2<=r&&1023>s;)s++,r/=2;else for(;1>r&&-1022<s;)r*=2,s--;r=o*Math.pow(2,-s),o=r*jspb.BinaryConstants.TWO_TO_20&1048575,r=r*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(e<<31|s+1023<<20|o)>>>0,jspb.utils.split64Low=r}},jspb.utils.splitHash64=function(o){var e=o.charCodeAt(0),r=o.charCodeAt(1),s=o.charCodeAt(2),t=o.charCodeAt(3),i=o.charCodeAt(4),n=o.charCodeAt(5),p=o.charCodeAt(6);o=o.charCodeAt(7),jspb.utils.split64Low=e+(r<<8)+(s<<16)+(t<<24)>>>0,jspb.utils.split64High=i+(n<<8)+(p<<16)+(o<<24)>>>0},jspb.utils.joinUint64=function(o,e){return e*jspb.BinaryConstants.TWO_TO_32+(o>>>0)},jspb.utils.joinInt64=function(o,e){var r=e&2147483648;return r&&(o=~o+1>>>0,e=~e>>>0,o==0&&(e=e+1>>>0)),o=jspb.utils.joinUint64(o,e),r?-o:o},jspb.utils.toZigzag64=function(o,e,r){var s=e>>31;return r(o<<1^s,(e<<1|o>>>31)^s)},jspb.utils.joinZigzag64=function(o,e){return jspb.utils.fromZigzag64(o,e,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(o,e,r){var s=-(o&1);return r((o>>>1|e<<31)^s,e>>>1^s)},jspb.utils.joinFloat32=function(o,e){e=2*(o>>31)+1;var r=o>>>23&255;return o&=8388607,r==255?o?NaN:1/0*e:r==0?e*Math.pow(2,-149)*o:e*Math.pow(2,r-150)*(o+Math.pow(2,23))},jspb.utils.joinFloat64=function(o,e){var r=2*(e>>31)+1,s=e>>>20&2047;return o=jspb.BinaryConstants.TWO_TO_32*(e&1048575)+o,s==2047?o?NaN:1/0*r:s==0?r*Math.pow(2,-1074)*o:r*Math.pow(2,s-1075)*(o+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(o,e){return String.fromCharCode(o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255,e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(o,e){function r(t,i){return t=t?String(t):"",i?"0000000".slice(t.length)+t:t}if(2097151>=e)return""+jspb.utils.joinUint64(o,e);var s=(o>>>24|e<<8)>>>0&16777215;return e=e>>16&65535,o=(o&16777215)+6777216*s+6710656*e,s+=8147497*e,e*=2,1e7<=o&&(s+=Math.floor(o/1e7),o%=1e7),1e7<=s&&(e+=Math.floor(s/1e7),s%=1e7),r(e,0)+r(s,e)+r(o,1)},jspb.utils.joinSignedDecimalString=function(o,e){var r=e&2147483648;return r&&(o=~o+1>>>0,e=~e+(o==0?1:0)>>>0),o=jspb.utils.joinUnsignedDecimalString(o,e),r?"-"+o:o},jspb.utils.hash64ToDecimalString=function(o,e){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinSignedDecimalString(o,r):jspb.utils.joinUnsignedDecimalString(o,r)},jspb.utils.hash64ArrayToDecimalStrings=function(o,e){for(var r=Array(o.length),s=0;s<o.length;s++)r[s]=jspb.utils.hash64ToDecimalString(o[s],e);return r},jspb.utils.decimalStringToHash64=function(o){function e(n,p){for(var g=0;8>g&&(n!==1||0<p);g++)p=n*t[g]+p,t[g]=p&255,p>>>=8}function r(){for(var n=0;8>n;n++)t[n]=~t[n]&255}jspb.asserts.assert(0<o.length);var s=!1;o[0]==="-"&&(s=!0,o=o.slice(1));for(var t=[0,0,0,0,0,0,0,0],i=0;i<o.length;i++)e(10,o.charCodeAt(i)-jspb.utils.ZERO_CHAR_CODE_);return s&&(r(),e(1,1)),goog.crypt.byteArrayToString(t)},jspb.utils.splitDecimalString=function(o){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o))},jspb.utils.toHexDigit_=function(o){return String.fromCharCode(10>o?jspb.utils.ZERO_CHAR_CODE_+o:jspb.utils.A_CHAR_CODE_-10+o)},jspb.utils.fromHexCharCode_=function(o){return o>=jspb.utils.A_CHAR_CODE_?o-jspb.utils.A_CHAR_CODE_+10:o-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(o){var e=Array(18);e[0]="0",e[1]="x";for(var r=0;8>r;r++){var s=o.charCodeAt(7-r);e[2*r+2]=jspb.utils.toHexDigit_(s>>4),e[2*r+3]=jspb.utils.toHexDigit_(s&15)}return e.join("")},jspb.utils.hexStringToHash64=function(o){o=o.toLowerCase(),jspb.asserts.assert(o.length==18),jspb.asserts.assert(o[0]=="0"),jspb.asserts.assert(o[1]=="x");for(var e="",r=0;8>r;r++){var s=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+2)),t=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+3));e=String.fromCharCode(16*s+t)+e}return e},jspb.utils.hash64ToNumber=function(o,e){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinInt64(o,r):jspb.utils.joinUint64(o,r)},jspb.utils.numberToHash64=function(o){return jspb.utils.splitInt64(o),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(o,e,r){for(var s=0,t=e;t<r;t++)s+=o[t]>>7;return r-e-s},jspb.utils.countVarintFields=function(o,e,r,s){var t=0;if(s=8*s+jspb.BinaryConstants.WireType.VARINT,128>s)for(;e<r&&o[e++]==s;)for(t++;;){var i=o[e++];if((i&128)==0)break}else for(;e<r;){for(i=s;128<i;){if(o[e]!=(i&127|128))return t;e++,i>>=7}if(o[e++]!=i)break;for(t++;i=o[e++],(i&128)!=0;);}return t},jspb.utils.countFixedFields_=function(o,e,r,s,t){var i=0;if(128>s)for(;e<r&&o[e++]==s;)i++,e+=t;else for(;e<r;){for(var n=s;128<n;){if(o[e++]!=(n&127|128))return i;n>>=7}if(o[e++]!=n)break;i++,e+=t}return i},jspb.utils.countFixed32Fields=function(o,e,r,s){return jspb.utils.countFixedFields_(o,e,r,8*s+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(o,e,r,s){return jspb.utils.countFixedFields_(o,e,r,8*s+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(o,e,r,s){var t=0;for(s=8*s+jspb.BinaryConstants.WireType.DELIMITED;e<r;){for(var i=s;128<i;){if(o[e++]!=(i&127|128))return t;i>>=7}if(o[e++]!=i)break;t++;for(var n=0,p=1;i=o[e++],n+=(i&127)*p,p*=128,(i&128)!=0;);e+=n}return t},jspb.utils.debugBytesToTextFormat=function(o){var e='"';if(o){o=jspb.utils.byteSourceToUint8Array(o);for(var r=0;r<o.length;r++)e+="\\x",16>o[r]&&(e+="0"),e+=o[r].toString(16)}return e+'"'},jspb.utils.debugScalarToTextFormat=function(o){return typeof o=="string"?goog.string.quote(o):o.toString()},jspb.utils.stringToByteArray=function(o){for(var e=new Uint8Array(o.length),r=0;r<o.length;r++){var s=o.charCodeAt(r);if(255<s)throw Error("Conversion error: string contains codepoint outside of byte range");e[r]=s}return e},jspb.utils.byteSourceToUint8Array=function(o){return o.constructor===Uint8Array?o:o.constructor===ArrayBuffer||o.constructor===Array?new Uint8Array(o):o.constructor===String?goog.crypt.base64.decodeStringToUint8Array(o):o instanceof Uint8Array?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):(jspb.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(o,e,r){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,o&&this.setBlock(o,e,r)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(o,e,r){if(jspb.BinaryDecoder.instanceCache_.length){var s=jspb.BinaryDecoder.instanceCache_.pop();return o&&s.setBlock(o,e,r),s}return new jspb.BinaryDecoder(o,e,r)},jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)},jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)},jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1},jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_},jspb.BinaryDecoder.prototype.setBlock=function(o,e,r){this.bytes_=jspb.utils.byteSourceToUint8Array(o),this.start_=e!==void 0?e:0,this.end_=r!==void 0?this.start_+r:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(o){this.end_=o},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(o){this.cursor_=o},jspb.BinaryDecoder.prototype.advance=function(o){this.cursor_+=o,jspb.asserts.assert(this.cursor_<=this.end_)},jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_},jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_},jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_},jspb.BinaryDecoder.prototype.readSplitVarint64=function(o){for(var e=128,r=0,s=0,t=0;4>t&&128<=e;t++)e=this.bytes_[this.cursor_++],r|=(e&127)<<7*t;if(128<=e&&(e=this.bytes_[this.cursor_++],r|=(e&127)<<28,s|=(e&127)>>4),128<=e)for(t=0;5>t&&128<=e;t++)e=this.bytes_[this.cursor_++],s|=(e&127)<<7*t+3;if(128>e)return o(r>>>0,s>>>0);jspb.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(o){return this.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,o)})},jspb.BinaryDecoder.prototype.readSplitFixed64=function(o){var e=this.bytes_,r=this.cursor_;this.cursor_+=8;for(var s=0,t=0,i=r+7;i>=r;i--)s=s<<8|e[i],t=t<<8|e[i+4];return o(s,t)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;this.bytes_[this.cursor_]&128;)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(o){for(;128<o;)this.cursor_--,o>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var o=this.bytes_,e=o[this.cursor_+0],r=e&127;return 128>e?(this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+1],r|=(e&127)<<7,128>e?(this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+2],r|=(e&127)<<14,128>e?(this.cursor_+=3,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+3],r|=(e&127)<<21,128>e?(this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+4],r|=(e&15)<<28,128>e?(this.cursor_+=5,jspb.asserts.assert(this.cursor_<=this.end_),r>>>0):(this.cursor_+=5,128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&jspb.asserts.assert(!1),jspb.asserts.assert(this.cursor_<=this.end_),r)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=function(){return~~this.readUnsignedVarint32()},jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()},jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()},jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var o=this.readUnsignedVarint32();return o>>>1^-(o&1)},jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)},jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)},jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)},jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)},jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readUint8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),o},jspb.BinaryDecoder.prototype.readUint16=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),o<<0|e<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),(o<<0|e<<8|r<<16|s<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinUint64(o,e)},jspb.BinaryDecoder.prototype.readUint64String=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinUnsignedDecimalString(o,e)},jspb.BinaryDecoder.prototype.readInt8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),o<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),(o<<0|e<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),o<<0|e<<8|r<<16|s<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinInt64(o,e)},jspb.BinaryDecoder.prototype.readInt64String=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinSignedDecimalString(o,e)},jspb.BinaryDecoder.prototype.readFloat=function(){var o=this.readUint32();return jspb.utils.joinFloat32(o,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinFloat64(o,e)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(o){var e=this.bytes_,r=this.cursor_;o=r+o;for(var s=[],t="";r<o;){var i=e[r++];if(128>i)s.push(i);else{if(192>i)continue;if(224>i){var n=e[r++];s.push((i&31)<<6|n&63)}else if(240>i){n=e[r++];var p=e[r++];s.push((i&15)<<12|(n&63)<<6|p&63)}else if(248>i){n=e[r++],p=e[r++];var g=e[r++];i=(i&7)<<18|(n&63)<<12|(p&63)<<6|g&63,i-=65536,s.push((i>>10&1023)+55296,(i&1023)+56320)}}8192<=s.length&&(t+=String.fromCharCode.apply(null,s),s.length=0)}return t+=goog.crypt.byteArrayToString(s),this.cursor_=r,t},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var o=this.readUnsignedVarint32();return this.readString(o)},jspb.BinaryDecoder.prototype.readBytes=function(o){if(0>o||this.cursor_+o>this.bytes_.length)return this.error_=!0,jspb.asserts.fail("Invalid byte length!"),new Uint8Array(0);var e=this.bytes_.subarray(this.cursor_,this.cursor_+o);return this.cursor_+=o,jspb.asserts.assert(this.cursor_<=this.end_),e},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var o=this.bytes_,e=this.cursor_,r=o[e+0],s=o[e+1],t=o[e+2],i=o[e+3],n=o[e+4],p=o[e+5],g=o[e+6];return o=o[e+7],this.cursor_+=8,String.fromCharCode(r,s,t,i,n,p,g,o)},jspb.BinaryReader=function(o,e,r){this.decoder_=jspb.BinaryDecoder.alloc(o,e,r),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null},jspb.BinaryReader.instanceCache_=[],jspb.BinaryReader.alloc=function(o,e,r){if(jspb.BinaryReader.instanceCache_.length){var s=jspb.BinaryReader.instanceCache_.pop();return o&&s.decoder_.setBlock(o,e,r),s}return new jspb.BinaryReader(o,e,r)},jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc,jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)},jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_},jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()},jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()},jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_},goog.exportProperty(jspb.BinaryReader.prototype,"getFieldNumber",jspb.BinaryReader.prototype.getFieldNumber),jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},goog.exportProperty(jspb.BinaryReader.prototype,"isDelimited",jspb.BinaryReader.prototype.isDelimited),jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},goog.exportProperty(jspb.BinaryReader.prototype,"isEndGroup",jspb.BinaryReader.prototype.isEndGroup),jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(o,e,r){this.decoder_.setBlock(o,e,r),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.advance=function(o){this.decoder_.advance(o)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return jspb.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var o=this.decoder_.readUnsignedVarint32(),e=o>>>3;return o&=7,o!=jspb.BinaryConstants.WireType.VARINT&&o!=jspb.BinaryConstants.WireType.FIXED32&&o!=jspb.BinaryConstants.WireType.FIXED64&&o!=jspb.BinaryConstants.WireType.DELIMITED&&o!=jspb.BinaryConstants.WireType.START_GROUP&&o!=jspb.BinaryConstants.WireType.END_GROUP?(jspb.asserts.fail("Invalid wire type: %s (at position %s)",o,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=e,this.nextWireType_=o,!0)},goog.exportProperty(jspb.BinaryReader.prototype,"nextField",jspb.BinaryReader.prototype.nextField),jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var o=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==o;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(jspb.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)jspb.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var o=this.decoder_.readUnsignedVarint32();this.decoder_.advance(o)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(jspb.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(jspb.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){var o=this.nextField_;do{if(!this.nextField()){jspb.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=o&&(jspb.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}while(1)},jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:jspb.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(o,e){this.readCallbacks_===null&&(this.readCallbacks_={}),jspb.asserts.assert(!this.readCallbacks_[o]),this.readCallbacks_[o]=e},jspb.BinaryReader.prototype.runReadCallback=function(o){return jspb.asserts.assert(this.readCallbacks_!==null),o=this.readCallbacks_[o],jspb.asserts.assert(o),o(this)},jspb.BinaryReader.prototype.readAny=function(o){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(o);var e=jspb.BinaryConstants.FieldType;switch(o){case e.DOUBLE:return this.readDouble();case e.FLOAT:return this.readFloat();case e.INT64:return this.readInt64();case e.UINT64:return this.readUint64();case e.INT32:return this.readInt32();case e.FIXED64:return this.readFixed64();case e.FIXED32:return this.readFixed32();case e.BOOL:return this.readBool();case e.STRING:return this.readString();case e.GROUP:jspb.asserts.fail("Group field type not supported in readAny()");case e.MESSAGE:jspb.asserts.fail("Message field type not supported in readAny()");case e.BYTES:return this.readBytes();case e.UINT32:return this.readUint32();case e.ENUM:return this.readEnum();case e.SFIXED32:return this.readSfixed32();case e.SFIXED64:return this.readSfixed64();case e.SINT32:return this.readSint32();case e.SINT64:return this.readSint64();case e.FHASH64:return this.readFixedHash64();case e.VHASH64:return this.readVarintHash64();default:jspb.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(o,e){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var r=this.decoder_.getEnd(),s=this.decoder_.readUnsignedVarint32();s=this.decoder_.getCursor()+s,this.decoder_.setEnd(s),e(o,this),this.decoder_.setCursor(s),this.decoder_.setEnd(r)},goog.exportProperty(jspb.BinaryReader.prototype,"readMessage",jspb.BinaryReader.prototype.readMessage),jspb.BinaryReader.prototype.readGroup=function(o,e,r){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),jspb.asserts.assert(this.nextField_==o),r(e,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(jspb.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},goog.exportProperty(jspb.BinaryReader.prototype,"readGroup",jspb.BinaryReader.prototype.readGroup),jspb.BinaryReader.prototype.getFieldDecoder=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32(),e=this.decoder_.getCursor(),r=e+o;return o=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),e,o),this.decoder_.setCursor(r),o},jspb.BinaryReader.prototype.readInt32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt32",jspb.BinaryReader.prototype.readInt32),jspb.BinaryReader.prototype.readInt32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt64",jspb.BinaryReader.prototype.readInt64),jspb.BinaryReader.prototype.readInt64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint32",jspb.BinaryReader.prototype.readUint32),jspb.BinaryReader.prototype.readUint32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint64",jspb.BinaryReader.prototype.readUint64),jspb.BinaryReader.prototype.readUint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint32",jspb.BinaryReader.prototype.readSint32),jspb.BinaryReader.prototype.readSint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint64",jspb.BinaryReader.prototype.readSint64),jspb.BinaryReader.prototype.readSint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed32",jspb.BinaryReader.prototype.readFixed32),jspb.BinaryReader.prototype.readFixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed64",jspb.BinaryReader.prototype.readFixed64),jspb.BinaryReader.prototype.readFixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed32",jspb.BinaryReader.prototype.readSfixed32),jspb.BinaryReader.prototype.readSfixed32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed64",jspb.BinaryReader.prototype.readSfixed64),jspb.BinaryReader.prototype.readSfixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},goog.exportProperty(jspb.BinaryReader.prototype,"readFloat",jspb.BinaryReader.prototype.readFloat),jspb.BinaryReader.prototype.readDouble=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},goog.exportProperty(jspb.BinaryReader.prototype,"readDouble",jspb.BinaryReader.prototype.readDouble),jspb.BinaryReader.prototype.readBool=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readBool",jspb.BinaryReader.prototype.readBool),jspb.BinaryReader.prototype.readEnum=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readEnum",jspb.BinaryReader.prototype.readEnum),jspb.BinaryReader.prototype.readString=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(o)},goog.exportProperty(jspb.BinaryReader.prototype,"readString",jspb.BinaryReader.prototype.readString),jspb.BinaryReader.prototype.readBytes=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(o)},goog.exportProperty(jspb.BinaryReader.prototype,"readBytes",jspb.BinaryReader.prototype.readBytes),jspb.BinaryReader.prototype.readVarintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(o)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,o)})},jspb.BinaryReader.prototype.readFixedHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(o)},jspb.BinaryReader.prototype.readPackedField_=function(o){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();e=this.decoder_.getCursor()+e;for(var r=[];this.decoder_.getCursor()<e;)r.push(o.call(this.decoder_));return r},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt32",jspb.BinaryReader.prototype.readPackedInt32),jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt64",jspb.BinaryReader.prototype.readPackedInt64),jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint32",jspb.BinaryReader.prototype.readPackedUint32),jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint64",jspb.BinaryReader.prototype.readPackedUint64),jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint32",jspb.BinaryReader.prototype.readPackedSint32),jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint64",jspb.BinaryReader.prototype.readPackedSint64),jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed32",jspb.BinaryReader.prototype.readPackedFixed32),jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed64",jspb.BinaryReader.prototype.readPackedFixed64),jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed32",jspb.BinaryReader.prototype.readPackedSfixed32),jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed64",jspb.BinaryReader.prototype.readPackedSfixed64),jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFloat",jspb.BinaryReader.prototype.readPackedFloat),jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedDouble",jspb.BinaryReader.prototype.readPackedDouble),jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedBool",jspb.BinaryReader.prototype.readPackedBool),jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedEnum",jspb.BinaryReader.prototype.readPackedEnum),jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)},jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)},jspb.BinaryEncoder=function(){this.buffer_=[]},jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length},jspb.BinaryEncoder.prototype.end=function(){var o=this.buffer_;return this.buffer_=[],o},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(o,e){for(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32);0<e||127<o;)this.buffer_.push(o&127|128),o=(o>>>7|e<<25)>>>0,e>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(o,e){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(o),this.writeUint32(e)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(o){for(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32);127<o;)this.buffer_.push(o&127|128),o>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(o){if(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),0<=o)this.writeUnsignedVarint32(o);else{for(var e=0;9>e;e++)this.buffer_.push(o&127|128),o>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((o<<1^o>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(o){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(o))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(o){var e=this;jspb.utils.splitHash64(o),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,function(r,s){e.writeSplitVarint64(r>>>0,s>>>0)})},jspb.BinaryEncoder.prototype.writeUint8=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&256>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&65536>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(-128<=o&&128>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(-32768<=o&&32768>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(+o>=-jspb.BinaryConstants.TWO_TO_63&&+o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(o){jspb.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT32_MAX&&o<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(o),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(o){jspb.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT64_MAX&&o<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(o){jspb.asserts.assert(typeof o=="boolean"||typeof o=="number"),this.buffer_.push(o?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(o)},jspb.BinaryEncoder.prototype.writeBytes=function(o){this.buffer_.push.apply(this.buffer_,o)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(o){jspb.utils.splitHash64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(o){jspb.utils.splitHash64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(o){var e=this.buffer_.length;jspb.asserts.assertString(o);for(var r=0;r<o.length;r++){var s=o.charCodeAt(r);if(128>s)this.buffer_.push(s);else if(2048>s)this.buffer_.push(s>>6|192),this.buffer_.push(s&63|128);else if(65536>s)if(55296<=s&&56319>=s&&r+1<o.length){var t=o.charCodeAt(r+1);56320<=t&&57343>=t&&(s=1024*(s-55296)+t-56320+65536,this.buffer_.push(s>>18|240),this.buffer_.push(s>>12&63|128),this.buffer_.push(s>>6&63|128),this.buffer_.push(s&63|128),r++)}else this.buffer_.push(s>>12|224),this.buffer_.push(s>>6&63|128),this.buffer_.push(s&63|128)}return this.buffer_.length-e},jspb.arith={},jspb.arith.UInt64=function(o,e){this.lo=o,this.hi=e},jspb.arith.UInt64.prototype.cmp=function(o){return this.hi<o.hi||this.hi==o.hi&&this.lo<o.lo?-1:this.hi==o.hi&&this.lo==o.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},jspb.arith.UInt64.prototype.msb=function(){return!!(this.hi&2147483648)},jspb.arith.UInt64.prototype.lsb=function(){return!!(this.lo&1)},jspb.arith.UInt64.prototype.zero=function(){return this.lo==0&&this.hi==0},jspb.arith.UInt64.prototype.add=function(o){return new jspb.arith.UInt64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(o){return new jspb.arith.UInt64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(o,e){var r=o&65535;o>>>=16;var s=e&65535,t=e>>>16;for(e=r*s+65536*(r*t&65535)+65536*(o*s&65535),r=o*t+(r*t>>>16)+(o*s>>>16);4294967296<=e;)e-=4294967296,r+=1;return new jspb.arith.UInt64(e>>>0,r>>>0)},jspb.arith.UInt64.prototype.mul=function(o){var e=jspb.arith.UInt64.mul32x32(this.lo,o);return o=jspb.arith.UInt64.mul32x32(this.hi,o),o.hi=o.lo,o.lo=0,e.add(o)},jspb.arith.UInt64.prototype.div=function(o){if(o==0)return[];var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(this.lo,this.hi);o=new jspb.arith.UInt64(o,0);for(var s=new jspb.arith.UInt64(1,0);!o.msb();)o=o.leftShift(),s=s.leftShift();for(;!s.zero();)0>=o.cmp(r)&&(e=e.add(s),r=r.sub(o)),o=o.rightShift(),s=s.rightShift();return[e,r]},jspb.arith.UInt64.prototype.toString=function(){for(var o="",e=this;!e.zero();){e=e.div(10);var r=e[0];o=e[1].lo+o,e=r}return o==""&&(o="0"),o},jspb.arith.UInt64.fromString=function(o){for(var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(0,0),s=0;s<o.length;s++){if("0">o[s]||"9"<o[s])return null;var t=parseInt(o[s],10);r.lo=t,e=e.mul(10).add(r)}return e},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(o,e){this.lo=o,this.hi=e},jspb.arith.Int64.prototype.add=function(o){return new jspb.arith.Int64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(o){return new jspb.arith.Int64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)},jspb.arith.Int64.prototype.toString=function(){var o=(this.hi&2147483648)!=0,e=new jspb.arith.UInt64(this.lo,this.hi);return o&&(e=new jspb.arith.UInt64(0,0).sub(e)),(o?"-":"")+e.toString()},jspb.arith.Int64.fromString=function(o){var e=0<o.length&&o[0]=="-";return e&&(o=o.substring(1)),o=jspb.arith.UInt64.fromString(o),o===null?null:(e&&(o=new jspb.arith.UInt64(0,0).sub(o)),new jspb.arith.Int64(o.lo,o.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(o){var e=this.encoder_.end();this.blocks_.push(e),this.blocks_.push(o),this.totalLength_+=e.length+o.length},jspb.BinaryWriter.prototype.beginDelimited_=function(o){return this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),o=this.encoder_.end(),this.blocks_.push(o),this.totalLength_+=o.length,o.push(this.totalLength_),o},jspb.BinaryWriter.prototype.endDelimited_=function(o){var e=o.pop();for(e=this.totalLength_+this.encoder_.length()-e,jspb.asserts.assert(0<=e);127<e;)o.push(e&127|128),e>>>=7,this.totalLength_++;o.push(e),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(o,e,r){this.appendUint8Array_(o.subarray(e,r))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(o,e,r){o!=null&&e!=null&&r!=null&&this.writeSerializedMessage(o,e,r)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){jspb.asserts.assert(this.bookmarks_.length==0);for(var o=new Uint8Array(this.totalLength_+this.encoder_.length()),e=this.blocks_,r=e.length,s=0,t=0;t<r;t++){var i=e[t];o.set(i,s),s+=i.length}return e=this.encoder_.end(),o.set(e,s),s+=e.length,jspb.asserts.assert(s==o.length),this.blocks_=[o],o},goog.exportProperty(jspb.BinaryWriter.prototype,"getResultBuffer",jspb.BinaryWriter.prototype.getResultBuffer),jspb.BinaryWriter.prototype.getResultBase64String=function(o){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),o)},jspb.BinaryWriter.prototype.beginSubMessage=function(o){this.bookmarks_.push(this.beginDelimited_(o))},jspb.BinaryWriter.prototype.endSubMessage=function(){jspb.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(o,e){jspb.asserts.assert(1<=o&&o==Math.floor(o)),this.encoder_.writeUnsignedVarint32(8*o+e)},jspb.BinaryWriter.prototype.writeAny=function(o,e,r){var s=jspb.BinaryConstants.FieldType;switch(o){case s.DOUBLE:this.writeDouble(e,r);break;case s.FLOAT:this.writeFloat(e,r);break;case s.INT64:this.writeInt64(e,r);break;case s.UINT64:this.writeUint64(e,r);break;case s.INT32:this.writeInt32(e,r);break;case s.FIXED64:this.writeFixed64(e,r);break;case s.FIXED32:this.writeFixed32(e,r);break;case s.BOOL:this.writeBool(e,r);break;case s.STRING:this.writeString(e,r);break;case s.GROUP:jspb.asserts.fail("Group field type not supported in writeAny()");break;case s.MESSAGE:jspb.asserts.fail("Message field type not supported in writeAny()");break;case s.BYTES:this.writeBytes(e,r);break;case s.UINT32:this.writeUint32(e,r);break;case s.ENUM:this.writeEnum(e,r);break;case s.SFIXED32:this.writeSfixed32(e,r);break;case s.SFIXED64:this.writeSfixed64(e,r);break;case s.SINT32:this.writeSint32(e,r);break;case s.SINT64:this.writeSint64(e,r);break;case s.FHASH64:this.writeFixedHash64(e,r);break;case s.VHASH64:this.writeVarintHash64(e,r);break;default:jspb.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(e))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(e))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(e))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(e))},jspb.BinaryWriter.prototype.writeInt32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt32",jspb.BinaryWriter.prototype.writeInt32),jspb.BinaryWriter.prototype.writeInt32String=function(o,e){e!=null&&(e=parseInt(e,10),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,e))},jspb.BinaryWriter.prototype.writeInt64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt64",jspb.BinaryWriter.prototype.writeInt64),jspb.BinaryWriter.prototype.writeInt64String=function(o,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeUint32=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint32",jspb.BinaryWriter.prototype.writeUint32),jspb.BinaryWriter.prototype.writeUint32String=function(o,e){e!=null&&(e=parseInt(e,10),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,e))},jspb.BinaryWriter.prototype.writeUint64=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint64",jspb.BinaryWriter.prototype.writeUint64),jspb.BinaryWriter.prototype.writeUint64String=function(o,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSint32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint32",jspb.BinaryWriter.prototype.writeSint32),jspb.BinaryWriter.prototype.writeSint64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint64",jspb.BinaryWriter.prototype.writeSint64),jspb.BinaryWriter.prototype.writeSintHash64=function(o,e){e!=null&&this.writeZigzagVarintHash64_(o,e)},jspb.BinaryWriter.prototype.writeSint64String=function(o,e){e!=null&&this.writeZigzagVarint64String_(o,e)},jspb.BinaryWriter.prototype.writeFixed32=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed32",jspb.BinaryWriter.prototype.writeFixed32),jspb.BinaryWriter.prototype.writeFixed64=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed64",jspb.BinaryWriter.prototype.writeFixed64),jspb.BinaryWriter.prototype.writeFixed64String=function(o,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed32",jspb.BinaryWriter.prototype.writeSfixed32),jspb.BinaryWriter.prototype.writeSfixed64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed64",jspb.BinaryWriter.prototype.writeSfixed64),jspb.BinaryWriter.prototype.writeSfixed64String=function(o,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeFloat=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFloat",jspb.BinaryWriter.prototype.writeFloat),jspb.BinaryWriter.prototype.writeDouble=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeDouble",jspb.BinaryWriter.prototype.writeDouble),jspb.BinaryWriter.prototype.writeBool=function(o,e){e!=null&&(jspb.asserts.assert(typeof e=="boolean"||typeof e=="number"),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBool",jspb.BinaryWriter.prototype.writeBool),jspb.BinaryWriter.prototype.writeEnum=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeEnum",jspb.BinaryWriter.prototype.writeEnum),jspb.BinaryWriter.prototype.writeString=function(o,e){e!=null&&(o=this.beginDelimited_(o),this.encoder_.writeString(e),this.endDelimited_(o))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeString",jspb.BinaryWriter.prototype.writeString),jspb.BinaryWriter.prototype.writeBytes=function(o,e){e!=null&&(e=jspb.utils.byteSourceToUint8Array(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),this.appendUint8Array_(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBytes",jspb.BinaryWriter.prototype.writeBytes),jspb.BinaryWriter.prototype.writeMessage=function(o,e,r){e!=null&&(o=this.beginDelimited_(o),r(e,this),this.endDelimited_(o))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeMessage",jspb.BinaryWriter.prototype.writeMessage),jspb.BinaryWriter.prototype.writeMessageSet=function(o,e,r){e!=null&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(o),o=this.beginDelimited_(3),r(e,this),this.endDelimited_(o),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(o,e,r){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(e,this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeGroup",jspb.BinaryWriter.prototype.writeGroup),jspb.BinaryWriter.prototype.writeFixedHash64=function(o,e){e!=null&&(jspb.asserts.assert(e.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(e))},jspb.BinaryWriter.prototype.writeVarintHash64=function(o,e){e!=null&&(jspb.asserts.assert(e.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(e))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e,r)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e,r)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT);var s=this.encoder_;jspb.utils.toZigzag64(e,r,function(t,i){s.writeSplitVarint64(t>>>0,i>>>0)})},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt32",jspb.BinaryWriter.prototype.writeRepeatedInt32),jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt32String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt64",jspb.BinaryWriter.prototype.writeRepeatedInt64),jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitFixed64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitVarint64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitZigzagVarint64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint32",jspb.BinaryWriter.prototype.writeRepeatedUint32),jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint32String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint64",jspb.BinaryWriter.prototype.writeRepeatedUint64),jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint32",jspb.BinaryWriter.prototype.writeRepeatedSint32),jspb.BinaryWriter.prototype.writeRepeatedSint64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint64",jspb.BinaryWriter.prototype.writeRepeatedSint64),jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64String_(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarintHash64_(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed32(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed32",jspb.BinaryWriter.prototype.writeRepeatedFixed32),jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64",jspb.BinaryWriter.prototype.writeRepeatedFixed64),jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64String(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64String",jspb.BinaryWriter.prototype.writeRepeatedFixed64String),jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed32(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed32",jspb.BinaryWriter.prototype.writeRepeatedSfixed32),jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed64",jspb.BinaryWriter.prototype.writeRepeatedSfixed64),jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFloat(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFloat",jspb.BinaryWriter.prototype.writeRepeatedFloat),jspb.BinaryWriter.prototype.writeRepeatedDouble=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeDouble(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedDouble",jspb.BinaryWriter.prototype.writeRepeatedDouble),jspb.BinaryWriter.prototype.writeRepeatedBool=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBool(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBool",jspb.BinaryWriter.prototype.writeRepeatedBool),jspb.BinaryWriter.prototype.writeRepeatedEnum=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeEnum(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedEnum",jspb.BinaryWriter.prototype.writeRepeatedEnum),jspb.BinaryWriter.prototype.writeRepeatedString=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeString(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedString",jspb.BinaryWriter.prototype.writeRepeatedString),jspb.BinaryWriter.prototype.writeRepeatedBytes=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBytes(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBytes",jspb.BinaryWriter.prototype.writeRepeatedBytes),jspb.BinaryWriter.prototype.writeRepeatedMessage=function(o,e,r){if(e!=null)for(var s=0;s<e.length;s++){var t=this.beginDelimited_(o);r(e[s],this),this.endDelimited_(t)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedMessage",jspb.BinaryWriter.prototype.writeRepeatedMessage),jspb.BinaryWriter.prototype.writeRepeatedGroup=function(o,e,r){if(e!=null)for(var s=0;s<e.length;s++)this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(e[s],this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP)},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedGroup",jspb.BinaryWriter.prototype.writeRepeatedGroup),jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixedHash64(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeVarintHash64(o,e[r])},jspb.BinaryWriter.prototype.writePackedInt32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt32",jspb.BinaryWriter.prototype.writePackedInt32),jspb.BinaryWriter.prototype.writePackedInt32String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(parseInt(e[r],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt64",jspb.BinaryWriter.prototype.writePackedInt64),jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=0;t<e.length;t++)this.encoder_.writeSplitFixed64(r(e[t]),s(e[t]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=0;t<e.length;t++)this.encoder_.writeSplitVarint64(r(e[t]),s(e[t]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=this.encoder_,i=0;i<e.length;i++)jspb.utils.toZigzag64(r(e[i]),s(e[i]),function(n,p){t.writeSplitVarint64(n>>>0,p>>>0)});this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++){var s=jspb.arith.Int64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint32",jspb.BinaryWriter.prototype.writePackedUint32),jspb.BinaryWriter.prototype.writePackedUint32String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(parseInt(e[r],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint64",jspb.BinaryWriter.prototype.writePackedUint64),jspb.BinaryWriter.prototype.writePackedUint64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++){var s=jspb.arith.UInt64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint32",jspb.BinaryWriter.prototype.writePackedSint32),jspb.BinaryWriter.prototype.writePackedSint64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint64",jspb.BinaryWriter.prototype.writePackedSint64),jspb.BinaryWriter.prototype.writePackedSint64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(e[r]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(e[r]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeUint32(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed32",jspb.BinaryWriter.prototype.writePackedFixed32),jspb.BinaryWriter.prototype.writePackedFixed64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeUint64(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed64",jspb.BinaryWriter.prototype.writePackedFixed64),jspb.BinaryWriter.prototype.writePackedFixed64String=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++){var r=jspb.arith.UInt64.fromString(e[o]);this.encoder_.writeSplitFixed64(r.lo,r.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeInt32(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed32",jspb.BinaryWriter.prototype.writePackedSfixed32),jspb.BinaryWriter.prototype.writePackedSfixed64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeInt64(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed64",jspb.BinaryWriter.prototype.writePackedSfixed64),jspb.BinaryWriter.prototype.writePackedSfixed64String=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeInt64String(e[o])},jspb.BinaryWriter.prototype.writePackedFloat=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeFloat(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFloat",jspb.BinaryWriter.prototype.writePackedFloat),jspb.BinaryWriter.prototype.writePackedDouble=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeDouble(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedDouble",jspb.BinaryWriter.prototype.writePackedDouble),jspb.BinaryWriter.prototype.writePackedBool=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),o=0;o<e.length;o++)this.encoder_.writeBool(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedBool",jspb.BinaryWriter.prototype.writePackedBool),jspb.BinaryWriter.prototype.writePackedEnum=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeEnum(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedEnum",jspb.BinaryWriter.prototype.writePackedEnum),jspb.BinaryWriter.prototype.writePackedFixedHash64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeFixedHash64(e[o])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeVarintHash64(e[r]);this.endDelimited_(o)}},jspb.Map=function(o,e){this.arr_=o,this.valueCtor_=e,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},goog.exportSymbol("jspb.Map",jspb.Map),jspb.Map.prototype.loadFromArray_=function(){for(var o=0;o<this.arr_.length;o++){var e=this.arr_[o],r=e[0];this.map_[r.toString()]=new jspb.Map.Entry_(r,e[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var o=this.map_,e;for(e in o)if(Object.prototype.hasOwnProperty.call(o,e)){var r=o[e].valueWrapper;r&&r.toArray()}}}else{for(this.arr_.length=0,o=this.stringKeys_(),o.sort(),e=0;e<o.length;e++){var s=this.map_[o[e]];(r=s.valueWrapper)&&r.toArray(),this.arr_.push([s.key,s.value])}this.arrClean=!0}return this.arr_},goog.exportProperty(jspb.Map.prototype,"toArray",jspb.Map.prototype.toArray),jspb.Map.prototype.toObject=function(o,e){for(var r=this.toArray(),s=[],t=0;t<r.length;t++){var i=this.map_[r[t][0].toString()];this.wrapEntry_(i);var n=i.valueWrapper;n?(jspb.asserts.assert(e),s.push([i.key,e(o,n)])):s.push([i.key,i.value])}return s},goog.exportProperty(jspb.Map.prototype,"toObject",jspb.Map.prototype.toObject),jspb.Map.fromObject=function(o,e,r){e=new jspb.Map([],e);for(var s=0;s<o.length;s++){var t=o[s][0],i=r(o[s][1]);e.set(t,i)}return e},goog.exportProperty(jspb.Map,"fromObject",jspb.Map.fromObject),jspb.Map.ArrayIteratorIterable_=function(o){this.idx_=0,this.arr_=o},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},goog.exportProperty(jspb.Map.prototype,"getLength",jspb.Map.prototype.getLength),jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},goog.exportProperty(jspb.Map.prototype,"clear",jspb.Map.prototype.clear),jspb.Map.prototype.del=function(o){o=o.toString();var e=this.map_.hasOwnProperty(o);return delete this.map_[o],this.arrClean=!1,e},goog.exportProperty(jspb.Map.prototype,"del",jspb.Map.prototype.del),jspb.Map.prototype.getEntryList=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];o.push([s.key,s.value])}return o},goog.exportProperty(jspb.Map.prototype,"getEntryList",jspb.Map.prototype.getEntryList),jspb.Map.prototype.entries=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];o.push([s.key,this.wrapEntry_(s)])}return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"entries",jspb.Map.prototype.entries),jspb.Map.prototype.keys=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)o.push(this.map_[e[r]].key);return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"keys",jspb.Map.prototype.keys),jspb.Map.prototype.values=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)o.push(this.wrapEntry_(this.map_[e[r]]));return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"values",jspb.Map.prototype.values),jspb.Map.prototype.forEach=function(o,e){var r=this.stringKeys_();r.sort();for(var s=0;s<r.length;s++){var t=this.map_[r[s]];o.call(e,this.wrapEntry_(t),t.key,this)}},goog.exportProperty(jspb.Map.prototype,"forEach",jspb.Map.prototype.forEach),jspb.Map.prototype.set=function(o,e){var r=new jspb.Map.Entry_(o);return this.valueCtor_?(r.valueWrapper=e,r.value=e.toArray()):r.value=e,this.map_[o.toString()]=r,this.arrClean=!1,this},goog.exportProperty(jspb.Map.prototype,"set",jspb.Map.prototype.set),jspb.Map.prototype.wrapEntry_=function(o){return this.valueCtor_?(o.valueWrapper||(o.valueWrapper=new this.valueCtor_(o.value)),o.valueWrapper):o.value},jspb.Map.prototype.get=function(o){if(o=this.map_[o.toString()])return this.wrapEntry_(o)},goog.exportProperty(jspb.Map.prototype,"get",jspb.Map.prototype.get),jspb.Map.prototype.has=function(o){return o.toString()in this.map_},goog.exportProperty(jspb.Map.prototype,"has",jspb.Map.prototype.has),jspb.Map.prototype.serializeBinary=function(o,e,r,s,t){var i=this.stringKeys_();i.sort();for(var n=0;n<i.length;n++){var p=this.map_[i[n]];e.beginSubMessage(o),r.call(e,1,p.key),this.valueCtor_?s.call(e,2,this.wrapEntry_(p),t):s.call(e,2,p.value),e.endSubMessage()}},goog.exportProperty(jspb.Map.prototype,"serializeBinary",jspb.Map.prototype.serializeBinary),jspb.Map.deserializeBinary=function(o,e,r,s,t,i,n){for(;e.nextField()&&!e.isEndGroup();){var p=e.getFieldNumber();p==1?i=r.call(e):p==2&&(o.valueCtor_?(jspb.asserts.assert(t),n||(n=new o.valueCtor_),s.call(e,n,t)):n=s.call(e))}jspb.asserts.assert(i!=null),jspb.asserts.assert(n!=null),o.set(i,n)},goog.exportProperty(jspb.Map,"deserializeBinary",jspb.Map.deserializeBinary),jspb.Map.prototype.stringKeys_=function(){var o=this.map_,e=[],r;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&e.push(r);return e},jspb.Map.Entry_=function(o,e){this.key=o,this.value=e,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(o,e,r,s,t){this.fieldIndex=o,this.fieldName=e,this.ctor=r,this.toObjectFn=s,this.isRepeated=t},goog.exportSymbol("jspb.ExtensionFieldInfo",jspb.ExtensionFieldInfo),jspb.ExtensionFieldBinaryInfo=function(o,e,r,s,t,i){this.fieldInfo=o,this.binaryReaderFn=e,this.binaryWriterFn=r,this.binaryMessageSerializeFn=s,this.binaryMessageDeserializeFn=t,this.isPacked=i},goog.exportSymbol("jspb.ExtensionFieldBinaryInfo",jspb.ExtensionFieldBinaryInfo),jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},goog.exportProperty(jspb.ExtensionFieldInfo.prototype,"isMessageType",jspb.ExtensionFieldInfo.prototype.isMessageType),jspb.Message=function(){},goog.exportSymbol("jspb.Message",jspb.Message),jspb.Message.GENERATE_TO_OBJECT=!0,goog.exportProperty(jspb.Message,"GENERATE_TO_OBJECT",jspb.Message.GENERATE_TO_OBJECT),jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,goog.exportProperty(jspb.Message,"GENERATE_FROM_OBJECT",jspb.Message.GENERATE_FROM_OBJECT),jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_=typeof Uint8Array=="function",jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},goog.exportProperty(jspb.Message.prototype,"getJsPbMessageId",jspb.Message.prototype.getJsPbMessageId),jspb.Message.getIndex_=function(o,e){return e+o.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(o,e){return e-o.arrayIndexOffset_},jspb.Message.initialize=function(o,e,r,s,t,i){if(o.wrappers_=null,e||(e=r?[r]:[]),o.messageId_=r?String(r):void 0,o.arrayIndexOffset_=r===0?-1:0,o.array=e,jspb.Message.initPivotAndExtensionObject_(o,s),o.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(o.repeatedFields=t),t)for(e=0;e<t.length;e++)r=t[e],r<o.pivot_?(r=jspb.Message.getIndex_(o,r),o.array[r]=o.array[r]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[r]=o.extensionObject_[r]||jspb.Message.EMPTY_LIST_SENTINEL_);if(i&&i.length)for(e=0;e<i.length;e++)jspb.Message.computeOneofCase(o,i[e])},goog.exportProperty(jspb.Message,"initialize",jspb.Message.initialize),jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(o){return jspb.Message.ASSUME_LOCAL_ARRAYS?o instanceof Array:Array.isArray(o)},jspb.Message.isExtensionObject_=function(o){return o!==null&&typeof o=="object"&&!jspb.Message.isArray_(o)&&!(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(o,e){var r=o.array.length,s=-1;if(r&&(s=r-1,r=o.array[s],jspb.Message.isExtensionObject_(r))){o.pivot_=jspb.Message.getFieldNumber_(o,s),o.extensionObject_=r;return}-1<e?(o.pivot_=Math.max(e,jspb.Message.getFieldNumber_(o,s+1)),o.extensionObject_=null):o.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(o){var e=jspb.Message.getIndex_(o,o.pivot_);o.array[e]||(o.extensionObject_=o.array[e]={})},jspb.Message.toObjectList=function(o,e,r){for(var s=[],t=0;t<o.length;t++)s[t]=e.call(o[t],r,o[t]);return s},goog.exportProperty(jspb.Message,"toObjectList",jspb.Message.toObjectList),jspb.Message.toObjectExtension=function(o,e,r,s,t){for(var i in r){var n=r[i],p=s.call(o,n);if(p!=null){for(var g in n.fieldName)if(n.fieldName.hasOwnProperty(g))break;e[g]=n.toObjectFn?n.isRepeated?jspb.Message.toObjectList(p,n.toObjectFn,t):n.toObjectFn(t,p):p}}},goog.exportProperty(jspb.Message,"toObjectExtension",jspb.Message.toObjectExtension),jspb.Message.serializeBinaryExtensions=function(o,e,r,s){for(var t in r){var i=r[t],n=i.fieldInfo;if(!i.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var p=s.call(o,n);if(p!=null)if(n.isMessageType())if(i.binaryMessageSerializeFn)i.binaryWriterFn.call(e,n.fieldIndex,p,i.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else i.binaryWriterFn.call(e,n.fieldIndex,p)}},goog.exportProperty(jspb.Message,"serializeBinaryExtensions",jspb.Message.serializeBinaryExtensions),jspb.Message.readBinaryExtension=function(o,e,r,s,t){var i=r[e.getFieldNumber()];if(i){if(r=i.fieldInfo,!i.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(r.isMessageType()){var n=new r.ctor;i.binaryReaderFn.call(e,n,i.binaryMessageDeserializeFn)}else n=i.binaryReaderFn.call(e);r.isRepeated&&!i.isPacked?(e=s.call(o,r))?e.push(n):t.call(o,r,[n]):t.call(o,r,n)}else e.skipField()},goog.exportProperty(jspb.Message,"readBinaryExtension",jspb.Message.readBinaryExtension),jspb.Message.getField=function(o,e){if(e<o.pivot_){e=jspb.Message.getIndex_(o,e);var r=o.array[e];return r===jspb.Message.EMPTY_LIST_SENTINEL_?o.array[e]=[]:r}if(o.extensionObject_)return r=o.extensionObject_[e],r===jspb.Message.EMPTY_LIST_SENTINEL_?o.extensionObject_[e]=[]:r},goog.exportProperty(jspb.Message,"getField",jspb.Message.getField),jspb.Message.getRepeatedField=function(o,e){return jspb.Message.getField(o,e)},goog.exportProperty(jspb.Message,"getRepeatedField",jspb.Message.getRepeatedField),jspb.Message.getOptionalFloatingPointField=function(o,e){return o=jspb.Message.getField(o,e),o==null?o:+o},goog.exportProperty(jspb.Message,"getOptionalFloatingPointField",jspb.Message.getOptionalFloatingPointField),jspb.Message.getBooleanField=function(o,e){return o=jspb.Message.getField(o,e),o==null?o:!!o},goog.exportProperty(jspb.Message,"getBooleanField",jspb.Message.getBooleanField),jspb.Message.getRepeatedFloatingPointField=function(o,e){var r=jspb.Message.getRepeatedField(o,e);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=+r[s];o.convertedPrimitiveFields_[e]=!0}return r},goog.exportProperty(jspb.Message,"getRepeatedFloatingPointField",jspb.Message.getRepeatedFloatingPointField),jspb.Message.getRepeatedBooleanField=function(o,e){var r=jspb.Message.getRepeatedField(o,e);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=!!r[s];o.convertedPrimitiveFields_[e]=!0}return r},goog.exportProperty(jspb.Message,"getRepeatedBooleanField",jspb.Message.getRepeatedBooleanField),jspb.Message.bytesAsB64=function(o){return o==null||typeof o=="string"?o:jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array?goog.crypt.base64.encodeByteArray(o):(jspb.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(o)),null)},goog.exportProperty(jspb.Message,"bytesAsB64",jspb.Message.bytesAsB64),jspb.Message.bytesAsU8=function(o){return o==null||o instanceof Uint8Array?o:typeof o=="string"?goog.crypt.base64.decodeStringToUint8Array(o):(jspb.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(o)),null)},goog.exportProperty(jspb.Message,"bytesAsU8",jspb.Message.bytesAsU8),jspb.Message.bytesListAsB64=function(o){return jspb.Message.assertConsistentTypes_(o),o.length&&typeof o[0]!="string"?goog.array.map(o,jspb.Message.bytesAsB64):o},goog.exportProperty(jspb.Message,"bytesListAsB64",jspb.Message.bytesListAsB64),jspb.Message.bytesListAsU8=function(o){return jspb.Message.assertConsistentTypes_(o),!o.length||o[0]instanceof Uint8Array?o:goog.array.map(o,jspb.Message.bytesAsU8)},goog.exportProperty(jspb.Message,"bytesListAsU8",jspb.Message.bytesListAsU8),jspb.Message.assertConsistentTypes_=function(o){if(goog.DEBUG&&o&&1<o.length){var e=goog.typeOf(o[0]);goog.array.forEach(o,function(r){goog.typeOf(r)!=e&&jspb.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(r)+" expected "+e)})}},jspb.Message.getFieldWithDefault=function(o,e,r){return o=jspb.Message.getField(o,e),o??r},goog.exportProperty(jspb.Message,"getFieldWithDefault",jspb.Message.getFieldWithDefault),jspb.Message.getBooleanFieldWithDefault=function(o,e,r){return o=jspb.Message.getBooleanField(o,e),o??r},goog.exportProperty(jspb.Message,"getBooleanFieldWithDefault",jspb.Message.getBooleanFieldWithDefault),jspb.Message.getFloatingPointFieldWithDefault=function(o,e,r){return o=jspb.Message.getOptionalFloatingPointField(o,e),o??r},goog.exportProperty(jspb.Message,"getFloatingPointFieldWithDefault",jspb.Message.getFloatingPointFieldWithDefault),jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,goog.exportProperty(jspb.Message,"getFieldProto3",jspb.Message.getFieldProto3),jspb.Message.getMapField=function(o,e,r,s){if(o.wrappers_||(o.wrappers_={}),e in o.wrappers_)return o.wrappers_[e];var t=jspb.Message.getField(o,e);if(!t){if(r)return;t=[],jspb.Message.setField(o,e,t)}return o.wrappers_[e]=new jspb.Map(t,s)},goog.exportProperty(jspb.Message,"getMapField",jspb.Message.getMapField),jspb.Message.setField=function(o,e,r){return jspb.asserts.assertInstanceof(o,jspb.Message),e<o.pivot_?o.array[jspb.Message.getIndex_(o,e)]=r:(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[e]=r),o},goog.exportProperty(jspb.Message,"setField",jspb.Message.setField),jspb.Message.setProto3IntField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3IntField",jspb.Message.setProto3IntField),jspb.Message.setProto3FloatField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3FloatField",jspb.Message.setProto3FloatField),jspb.Message.setProto3BooleanField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,!1)},goog.exportProperty(jspb.Message,"setProto3BooleanField",jspb.Message.setProto3BooleanField),jspb.Message.setProto3StringField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"")},goog.exportProperty(jspb.Message,"setProto3StringField",jspb.Message.setProto3StringField),jspb.Message.setProto3BytesField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"")},goog.exportProperty(jspb.Message,"setProto3BytesField",jspb.Message.setProto3BytesField),jspb.Message.setProto3EnumField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3EnumField",jspb.Message.setProto3EnumField),jspb.Message.setProto3StringIntField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"0")},goog.exportProperty(jspb.Message,"setProto3StringIntField",jspb.Message.setProto3StringIntField),jspb.Message.setFieldIgnoringDefault_=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),r!==s?jspb.Message.setField(o,e,r):e<o.pivot_?o.array[jspb.Message.getIndex_(o,e)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(o),delete o.extensionObject_[e]),o},jspb.Message.addToRepeatedField=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),e=jspb.Message.getRepeatedField(o,e),s!=null?e.splice(s,0,r):e.push(r),o},goog.exportProperty(jspb.Message,"addToRepeatedField",jspb.Message.addToRepeatedField),jspb.Message.setOneofField=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),(r=jspb.Message.computeOneofCase(o,r))&&r!==e&&s!==void 0&&(o.wrappers_&&r in o.wrappers_&&(o.wrappers_[r]=void 0),jspb.Message.setField(o,r,void 0)),jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setOneofField",jspb.Message.setOneofField),jspb.Message.computeOneofCase=function(o,e){for(var r,s,t=0;t<e.length;t++){var i=e[t],n=jspb.Message.getField(o,i);n!=null&&(r=i,s=n,jspb.Message.setField(o,i,void 0))}return r?(jspb.Message.setField(o,r,s),r):0},goog.exportProperty(jspb.Message,"computeOneofCase",jspb.Message.computeOneofCase),jspb.Message.getWrapperField=function(o,e,r,s){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){var t=jspb.Message.getField(o,r);(s||t)&&(o.wrappers_[r]=new e(t))}return o.wrappers_[r]},goog.exportProperty(jspb.Message,"getWrapperField",jspb.Message.getWrapperField),jspb.Message.getRepeatedWrapperField=function(o,e,r){return jspb.Message.wrapRepeatedField_(o,e,r),e=o.wrappers_[r],e==jspb.Message.EMPTY_LIST_SENTINEL_&&(e=o.wrappers_[r]=[]),e},goog.exportProperty(jspb.Message,"getRepeatedWrapperField",jspb.Message.getRepeatedWrapperField),jspb.Message.wrapRepeatedField_=function(o,e,r){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){for(var s=jspb.Message.getRepeatedField(o,r),t=[],i=0;i<s.length;i++)t[i]=new e(s[i]);o.wrappers_[r]=t}},jspb.Message.setWrapperField=function(o,e,r){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var s=r&&r.toArray();return o.wrappers_[e]=r,jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setWrapperField",jspb.Message.setWrapperField),jspb.Message.setOneofWrapperField=function(o,e,r,s){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var t=s&&s.toArray();return o.wrappers_[e]=s,jspb.Message.setOneofField(o,e,r,t)},goog.exportProperty(jspb.Message,"setOneofWrapperField",jspb.Message.setOneofWrapperField),jspb.Message.setRepeatedWrapperField=function(o,e,r){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={}),r=r||[];for(var s=[],t=0;t<r.length;t++)s[t]=r[t].toArray();return o.wrappers_[e]=r,jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setRepeatedWrapperField",jspb.Message.setRepeatedWrapperField),jspb.Message.addToRepeatedWrapperField=function(o,e,r,s,t){jspb.Message.wrapRepeatedField_(o,s,e);var i=o.wrappers_[e];return i||(i=o.wrappers_[e]=[]),r=r||new s,o=jspb.Message.getRepeatedField(o,e),t!=null?(i.splice(t,0,r),o.splice(t,0,r.toArray())):(i.push(r),o.push(r.toArray())),r},goog.exportProperty(jspb.Message,"addToRepeatedWrapperField",jspb.Message.addToRepeatedWrapperField),jspb.Message.toMap=function(o,e,r,s){for(var t={},i=0;i<o.length;i++)t[e.call(o[i])]=r?r.call(o[i],s,o[i]):o[i];return t},goog.exportProperty(jspb.Message,"toMap",jspb.Message.toMap),jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var o in this.wrappers_){var e=this.wrappers_[o];if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&e[r].toArray();else e&&e.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},goog.exportProperty(jspb.Message.prototype,"toArray",jspb.Message.prototype.toArray),jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(o){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var e=o.fieldIndex;if(o.isRepeated){if(o.isMessageType())return this.wrappers_[e]||(this.wrappers_[e]=goog.array.map(this.extensionObject_[e]||[],function(r){return new o.ctor(r)})),this.wrappers_[e]}else if(o.isMessageType())return!this.wrappers_[e]&&this.extensionObject_[e]&&(this.wrappers_[e]=new o.ctor(this.extensionObject_[e])),this.wrappers_[e];return this.extensionObject_[e]}},goog.exportProperty(jspb.Message.prototype,"getExtension",jspb.Message.prototype.getExtension),jspb.Message.prototype.setExtension=function(o,e){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var r=o.fieldIndex;return o.isRepeated?(e=e||[],o.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=goog.array.map(e,function(s){return s.toArray()})):this.extensionObject_[r]=e):o.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=e&&e.toArray()):this.extensionObject_[r]=e,this},goog.exportProperty(jspb.Message.prototype,"setExtension",jspb.Message.prototype.setExtension),jspb.Message.difference=function(o,e){if(!(o instanceof e.constructor))throw Error("Messages have different types.");var r=o.toArray();e=e.toArray();var s=[],t=0,i=r.length>e.length?r.length:e.length;for(o.getJsPbMessageId()&&(s[0]=o.getJsPbMessageId(),t=1);t<i;t++)jspb.Message.compareFields(r[t],e[t])||(s[t]=e[t]);return new o.constructor(s)},goog.exportProperty(jspb.Message,"difference",jspb.Message.difference),jspb.Message.equals=function(o,e){return o==e||!(!o||!e)&&o instanceof e.constructor&&jspb.Message.compareFields(o.toArray(),e.toArray())},goog.exportProperty(jspb.Message,"equals",jspb.Message.equals),jspb.Message.compareExtensions=function(o,e){o=o||{},e=e||{};var r={},s;for(s in o)r[s]=0;for(s in e)r[s]=0;for(s in r)if(!jspb.Message.compareFields(o[s],e[s]))return!1;return!0},goog.exportProperty(jspb.Message,"compareExtensions",jspb.Message.compareExtensions),jspb.Message.compareFields=function(o,e){if(o==e)return!0;if(!goog.isObject(o)||!goog.isObject(e))return typeof o=="number"&&isNaN(o)||typeof e=="number"&&isNaN(e)?String(o)==String(e):!1;if(o.constructor!=e.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o.constructor===Uint8Array){if(o.length!=e.length)return!1;for(var r=0;r<o.length;r++)if(o[r]!=e[r])return!1;return!0}if(o.constructor===Array){var s=void 0,t=void 0,i=Math.max(o.length,e.length);for(r=0;r<i;r++){var n=o[r],p=e[r];if(n&&n.constructor==Object&&(jspb.asserts.assert(s===void 0),jspb.asserts.assert(r===o.length-1),s=n,n=void 0),p&&p.constructor==Object&&(jspb.asserts.assert(t===void 0),jspb.asserts.assert(r===e.length-1),t=p,p=void 0),!jspb.Message.compareFields(n,p))return!1}return s||t?(s=s||{},t=t||{},jspb.Message.compareExtensions(s,t)):!0}if(o.constructor===Object)return jspb.Message.compareExtensions(o,e);throw Error("Invalid type in JSPB array")},goog.exportProperty(jspb.Message,"compareFields",jspb.Message.compareFields),jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"cloneMessage",jspb.Message.prototype.cloneMessage),jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"clone",jspb.Message.prototype.clone),jspb.Message.clone=function(o){return jspb.Message.cloneMessage(o)},goog.exportProperty(jspb.Message,"clone",jspb.Message.clone),jspb.Message.cloneMessage=function(o){return new o.constructor(jspb.Message.clone_(o.toArray()))},jspb.Message.copyInto=function(o,e){jspb.asserts.assertInstanceof(o,jspb.Message),jspb.asserts.assertInstanceof(e,jspb.Message),jspb.asserts.assert(o.constructor==e.constructor,"Copy source and target message should have the same type."),o=jspb.Message.clone(o);for(var r=e.toArray(),s=o.toArray(),t=r.length=0;t<s.length;t++)r[t]=s[t];e.wrappers_=o.wrappers_,e.extensionObject_=o.extensionObject_},goog.exportProperty(jspb.Message,"copyInto",jspb.Message.copyInto),jspb.Message.clone_=function(o){if(Array.isArray(o)){for(var e=Array(o.length),r=0;r<o.length;r++){var s=o[r];s!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(jspb.asserts.assert(s)):s)}return e}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)return new Uint8Array(o);e={};for(r in o)s=o[r],s!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(jspb.asserts.assert(s)):s);return e},jspb.Message.registerMessageType=function(o,e){e.messageId=o},goog.exportProperty(jspb.Message,"registerMessageType",jspb.Message.registerMessageType),jspb.Message.messageSetExtensions={},jspb.Message.messageSetExtensionsBinary={},jspb.Export={},exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=jspb.BinaryReader,exports.BinaryWriter=jspb.BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:goog.object.extend},exports.typeOf=goog.typeOf})(googleProtobuf$l);var common_pb$f={},descriptor_pb$j={};(function(o){var e=googleProtobuf$l,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.DescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,s),r.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,s),r.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,s),r.exportSymbol("proto.google.protobuf.EnumOptions",null,s),r.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.EnumValueOptions",null,s),r.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,s),r.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,s),r.exportSymbol("proto.google.protobuf.FileOptions",null,s),r.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,s),r.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,s),r.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,s),r.exportSymbol("proto.google.protobuf.MessageOptions",null,s),r.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.MethodOptions",null,s),r.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,s),r.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.OneofOptions",null,s),r.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.ServiceOptions",null,s),r.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,s),r.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,s),r.exportSymbol("proto.google.protobuf.UninterpretedOption",null,s),r.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,s),proto.google.protobuf.FileDescriptorSet=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileDescriptorSet,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet"),proto.google.protobuf.FileDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto"),proto.google.protobuf.DescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.DescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto"),proto.google.protobuf.DescriptorProto.ExtensionRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange"),proto.google.protobuf.DescriptorProto.ReservedRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange"),proto.google.protobuf.ExtensionRangeOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.ExtensionRangeOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ExtensionRangeOptions.displayName="proto.google.protobuf.ExtensionRangeOptions"),proto.google.protobuf.ExtensionRangeOptions.extensions={},proto.google.protobuf.ExtensionRangeOptions.extensionsBinary={},proto.google.protobuf.FieldDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.FieldDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto"),proto.google.protobuf.OneofDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.OneofDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto"),proto.google.protobuf.EnumDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto"),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange"),proto.google.protobuf.EnumValueDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.EnumValueDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto"),proto.google.protobuf.ServiceDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.ServiceDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto"),proto.google.protobuf.MethodDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.MethodDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto"),proto.google.protobuf.FileOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileOptions.displayName="proto.google.protobuf.FileOptions"),proto.google.protobuf.FileOptions.extensions={},proto.google.protobuf.FileOptions.extensionsBinary={},proto.google.protobuf.MessageOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.MessageOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MessageOptions.displayName="proto.google.protobuf.MessageOptions"),proto.google.protobuf.MessageOptions.extensions={},proto.google.protobuf.MessageOptions.extensionsBinary={},proto.google.protobuf.FieldOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.FieldOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldOptions.displayName="proto.google.protobuf.FieldOptions"),proto.google.protobuf.FieldOptions.extensions={},proto.google.protobuf.FieldOptions.extensionsBinary={},proto.google.protobuf.OneofOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.OneofOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofOptions.displayName="proto.google.protobuf.OneofOptions"),proto.google.protobuf.OneofOptions.extensions={},proto.google.protobuf.OneofOptions.extensionsBinary={},proto.google.protobuf.EnumOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumOptions.displayName="proto.google.protobuf.EnumOptions"),proto.google.protobuf.EnumOptions.extensions={},proto.google.protobuf.EnumOptions.extensionsBinary={},proto.google.protobuf.EnumValueOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumValueOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueOptions.displayName="proto.google.protobuf.EnumValueOptions"),proto.google.protobuf.EnumValueOptions.extensions={},proto.google.protobuf.EnumValueOptions.extensionsBinary={},proto.google.protobuf.ServiceOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.ServiceOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceOptions.displayName="proto.google.protobuf.ServiceOptions"),proto.google.protobuf.ServiceOptions.extensions={},proto.google.protobuf.ServiceOptions.extensionsBinary={},proto.google.protobuf.MethodOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.MethodOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodOptions.displayName="proto.google.protobuf.MethodOptions"),proto.google.protobuf.MethodOptions.extensions={},proto.google.protobuf.MethodOptions.extensionsBinary={},proto.google.protobuf.UninterpretedOption=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)},r.inherits(proto.google.protobuf.UninterpretedOption,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption"),proto.google.protobuf.UninterpretedOption.NamePart=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.UninterpretedOption.NamePart,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart"),proto.google.protobuf.SourceCodeInfo=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)},r.inherits(proto.google.protobuf.SourceCodeInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo"),proto.google.protobuf.SourceCodeInfo.Location=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)},r.inherits(proto.google.protobuf.SourceCodeInfo.Location,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location"),proto.google.protobuf.GeneratedCodeInfo=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)},r.inherits(proto.google.protobuf.GeneratedCodeInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo"),proto.google.protobuf.GeneratedCodeInfo.Annotation=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)},r.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation"),proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorSet.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorSet.toObject(t,this)},proto.google.protobuf.FileDescriptorSet.toObject=function(t,i){var n={fileList:e.Message.toObjectList(i.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileDescriptorSet;return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.FileDescriptorProto;i.readMessage(p,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),t.addFile(p);break;default:i.skipField();break}}return t},proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getFileList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter)},proto.google.protobuf.FileDescriptorSet.prototype.getFileList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)},proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.FileDescriptorProto,i)},proto.google.protobuf.FileDescriptorSet.prototype.clearFileList=function(){return this.setFileList([])},proto.google.protobuf.FileDescriptorProto.repeatedFields_=[3,10,11,4,5,6,7],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorProto.toObject(t,this)},proto.google.protobuf.FileDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,pb_package:(n=e.Message.getField(i,2))==null?void 0:n,dependencyList:(n=e.Message.getRepeatedField(i,3))==null?void 0:n,publicDependencyList:(n=e.Message.getRepeatedField(i,10))==null?void 0:n,weakDependencyList:(n=e.Message.getRepeatedField(i,11))==null?void 0:n,messageTypeList:e.Message.toObjectList(i.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:e.Message.toObjectList(i.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),serviceList:e.Message.toObjectList(i.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,t),extensionList:e.Message.toObjectList(i.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.FileOptions.toObject(t,n),sourceCodeInfo:(n=i.getSourceCodeInfo())&&proto.google.protobuf.SourceCodeInfo.toObject(t,n),syntax:(n=e.Message.getField(i,12))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileDescriptorProto;return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var l=i.readString();t.setName(l);break;case 2:var l=i.readString();t.setPackage(l);break;case 3:var l=i.readString();t.addDependency(l);break;case 10:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addPublicDependency(g[p]);break;case 11:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addWeakDependency(g[p]);break;case 4:var l=new proto.google.protobuf.DescriptorProto;i.readMessage(l,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addMessageType(l);break;case 5:var l=new proto.google.protobuf.EnumDescriptorProto;i.readMessage(l,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(l);break;case 6:var l=new proto.google.protobuf.ServiceDescriptorProto;i.readMessage(l,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),t.addService(l);break;case 7:var l=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(l,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(l);break;case 8:var l=new proto.google.protobuf.FileOptions;i.readMessage(l,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),t.setOptions(l);break;case 9:var l=new proto.google.protobuf.SourceCodeInfo;i.readMessage(l,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),t.setSourceCodeInfo(l);break;case 12:var l=i.readString();t.setSyntax(l);break;default:i.skipField();break}}return t},proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=t.getDependencyList(),n.length>0&&i.writeRepeatedString(3,n),n=t.getPublicDependencyList(),n.length>0&&i.writeRepeatedInt32(10,n),n=t.getWeakDependencyList(),n.length>0&&i.writeRepeatedInt32(11,n),n=t.getMessageTypeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),n=t.getEnumTypeList(),n.length>0&&i.writeRepeatedMessage(5,n,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),n=t.getServiceList(),n.length>0&&i.writeRepeatedMessage(6,n,proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter),n=t.getExtensionList(),n.length>0&&i.writeRepeatedMessage(7,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(8,n,proto.google.protobuf.FileOptions.serializeBinaryToWriter),n=t.getSourceCodeInfo(),n!=null&&i.writeMessage(9,n,proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter),n=e.Message.getField(t,12),n!=null&&i.writeString(12,n)},proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return e.Message.getRepeatedField(this,3)},proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(t){return e.Message.setField(this,3,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(t,i){return e.Message.addToRepeatedField(this,3,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return e.Message.getRepeatedField(this,10)},proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(t){return e.Message.setField(this,10,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(t,i){return e.Message.addToRepeatedField(this,10,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return e.Message.getRepeatedField(this,11)},proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(t){return e.Message.setField(this,11,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(t,i){return e.Message.addToRepeatedField(this,11,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)},proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.DescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearMessageTypeList=function(){return this.setMessageTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getEnumTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)},proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(t){return e.Message.setRepeatedWrapperField(this,5,t)},proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(t,i){return e.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.EnumDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getServiceList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)},proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(t){return e.Message.setRepeatedWrapperField(this,6,t)},proto.google.protobuf.FileDescriptorProto.prototype.addService=function(t,i){return e.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.ServiceDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearServiceList=function(){return this.setServiceList([])},proto.google.protobuf.FileDescriptorProto.prototype.getExtensionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)},proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(t){return e.Message.setRepeatedWrapperField(this,7,t)},proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(t,i){return e.Message.addToRepeatedWrapperField(this,7,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.FileDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)},proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,8,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return e.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)},proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(t){return e.Message.setWrapperField(this,9,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearSourceCodeInfo=function(){return this.setSourceCodeInfo(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSourceCodeInfo=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return e.Message.getFieldWithDefault(this,12,"")},proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(t){return e.Message.setField(this,12,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return e.Message.setField(this,12,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return e.Message.getField(this,12)!=null},proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.toObject(t,this)},proto.google.protobuf.DescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,fieldList:e.Message.toObjectList(i.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),extensionList:e.Message.toObjectList(i.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),nestedTypeList:e.Message.toObjectList(i.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:e.Message.toObjectList(i.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),extensionRangeList:e.Message.toObjectList(i.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,t),oneofDeclList:e.Message.toObjectList(i.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.MessageOptions.toObject(t,n),reservedRangeList:e.Message.toObjectList(i.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,t),reservedNameList:(n=e.Message.getRepeatedField(i,10))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto;return proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addField(p);break;case 6:var p=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(p);break;case 3:var p=new proto.google.protobuf.DescriptorProto;i.readMessage(p,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addNestedType(p);break;case 4:var p=new proto.google.protobuf.EnumDescriptorProto;i.readMessage(p,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(p);break;case 5:var p=new proto.google.protobuf.DescriptorProto.ExtensionRange;i.readMessage(p,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),t.addExtensionRange(p);break;case 8:var p=new proto.google.protobuf.OneofDescriptorProto;i.readMessage(p,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),t.addOneofDecl(p);break;case 7:var p=new proto.google.protobuf.MessageOptions;i.readMessage(p,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 9:var p=new proto.google.protobuf.DescriptorProto.ReservedRange;i.readMessage(p,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),t.addReservedRange(p);break;case 10:var p=i.readString();t.addReservedName(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getFieldList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getExtensionList(),n.length>0&&i.writeRepeatedMessage(6,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getNestedTypeList(),n.length>0&&i.writeRepeatedMessage(3,n,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),n=t.getEnumTypeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),n=t.getExtensionRangeList(),n.length>0&&i.writeRepeatedMessage(5,n,proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter),n=t.getOneofDeclList(),n.length>0&&i.writeRepeatedMessage(8,n,proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(7,n,proto.google.protobuf.MessageOptions.serializeBinaryToWriter),n=t.getReservedRangeList(),n.length>0&&i.writeRepeatedMessage(9,n,proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter),n=t.getReservedNameList(),n.length>0&&i.writeRepeatedString(10,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ExtensionRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ExtensionRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto.ExtensionRange;return proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;case 3:var p=new proto.google.protobuf.ExtensionRangeOptions;i.readMessage(p,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ReservedRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ReservedRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ReservedRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto.ReservedRange;return proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.DescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)},proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.DescriptorProto.prototype.addField=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearFieldList=function(){return this.setFieldList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)},proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(t){return e.Message.setRepeatedWrapperField(this,6,t)},proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(t,i){return e.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.DescriptorProto.prototype.getNestedTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)},proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(t){return e.Message.setRepeatedWrapperField(this,3,t)},proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(t,i){return e.Message.addToRepeatedWrapperField(this,3,t,proto.google.protobuf.DescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearNestedTypeList=function(){return this.setNestedTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getEnumTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)},proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)},proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(t){return e.Message.setRepeatedWrapperField(this,5,t)},proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.DescriptorProto.ExtensionRange,i)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionRangeList=function(){return this.setExtensionRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getOneofDeclList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)},proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(t){return e.Message.setRepeatedWrapperField(this,8,t)},proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(t,i){return e.Message.addToRepeatedWrapperField(this,8,t,proto.google.protobuf.OneofDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearOneofDeclList=function(){return this.setOneofDeclList([])},proto.google.protobuf.DescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)},proto.google.protobuf.DescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,7,t)},proto.google.protobuf.DescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)},proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(t){return e.Message.setRepeatedWrapperField(this,9,t)},proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,9,t,proto.google.protobuf.DescriptorProto.ReservedRange,i)},proto.google.protobuf.DescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getReservedNameList=function(){return e.Message.getRepeatedField(this,10)},proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(t){return e.Message.setField(this,10,t||[])},proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(t,i){return e.Message.addToRepeatedField(this,10,t,i)},proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ExtensionRangeOptions.prototype.toObject=function(t){return proto.google.protobuf.ExtensionRangeOptions.toObject(t,this)},proto.google.protobuf.ExtensionRangeOptions.toObject=function(t,i){var n={uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ExtensionRangeOptions;return proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,proto.google.protobuf.ExtensionRangeOptions.prototype.setExtension);break}}return t},proto.google.protobuf.ExtensionRangeOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)},proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FieldDescriptorProto.toObject(t,this)},proto.google.protobuf.FieldDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,number:(n=e.Message.getField(i,3))==null?void 0:n,label:(n=e.Message.getField(i,4))==null?void 0:n,type:(n=e.Message.getField(i,5))==null?void 0:n,typeName:(n=e.Message.getField(i,6))==null?void 0:n,extendee:(n=e.Message.getField(i,2))==null?void 0:n,defaultValue:(n=e.Message.getField(i,7))==null?void 0:n,oneofIndex:(n=e.Message.getField(i,9))==null?void 0:n,jsonName:(n=e.Message.getField(i,10))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.FieldOptions.toObject(t,n),proto3Optional:(n=e.Message.getBooleanField(i,17))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FieldDescriptorProto;return proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 3:var p=i.readInt32();t.setNumber(p);break;case 4:var p=i.readEnum();t.setLabel(p);break;case 5:var p=i.readEnum();t.setType(p);break;case 6:var p=i.readString();t.setTypeName(p);break;case 2:var p=i.readString();t.setExtendee(p);break;case 7:var p=i.readString();t.setDefaultValue(p);break;case 9:var p=i.readInt32();t.setOneofIndex(p);break;case 10:var p=i.readString();t.setJsonName(p);break;case 8:var p=new proto.google.protobuf.FieldOptions;i.readMessage(p,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 17:var p=i.readBool();t.setProto3Optional(p);break;default:i.skipField();break}}return t},proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,3),n!=null&&i.writeInt32(3,n),n=e.Message.getField(t,4),n!=null&&i.writeEnum(4,n),n=e.Message.getField(t,5),n!=null&&i.writeEnum(5,n),n=e.Message.getField(t,6),n!=null&&i.writeString(6,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,7),n!=null&&i.writeString(7,n),n=e.Message.getField(t,9),n!=null&&i.writeInt32(9,n),n=e.Message.getField(t,10),n!=null&&i.writeString(10,n),n=t.getOptions(),n!=null&&i.writeMessage(8,n,proto.google.protobuf.FieldOptions.serializeBinaryToWriter),n=e.Message.getField(t,17),n!=null&&i.writeBool(17,n)},proto.google.protobuf.FieldDescriptorProto.Type={TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18},proto.google.protobuf.FieldDescriptorProto.Label={LABEL_OPTIONAL:1,LABEL_REQUIRED:2,LABEL_REPEATED:3},proto.google.protobuf.FieldDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return e.Message.getFieldWithDefault(this,4,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return e.Message.getFieldWithDefault(this,5,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return e.Message.getFieldWithDefault(this,9,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(t){return e.Message.setField(this,9,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return e.Message.setField(this,9,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return e.Message.getFieldWithDefault(this,10,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)},proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,8,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return e.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(t){return e.Message.setField(this,17,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return e.Message.setField(this,17,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return e.Message.getField(this,17)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.OneofDescriptorProto.toObject(t,this)},proto.google.protobuf.OneofDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.OneofOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.OneofDescriptorProto;return proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.OneofOptions;i.readMessage(p,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getOptions(),n!=null&&i.writeMessage(2,n,proto.google.protobuf.OneofOptions.serializeBinaryToWriter)},proto.google.protobuf.OneofDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)},proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,2,t)},proto.google.protobuf.OneofDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,valueList:e.Message.toObjectList(i.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.EnumOptions.toObject(t,n),reservedRangeList:e.Message.toObjectList(i.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,t),reservedNameList:(n=e.Message.getRepeatedField(i,5))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumDescriptorProto;return proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.EnumValueDescriptorProto;i.readMessage(p,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),t.addValue(p);break;case 3:var p=new proto.google.protobuf.EnumOptions;i.readMessage(p,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 4:var p=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;i.readMessage(p,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),t.addReservedRange(p);break;case 5:var p=i.readString();t.addReservedName(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getValueList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.EnumOptions.serializeBinaryToWriter),n=t.getReservedRangeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter),n=t.getReservedNameList(),n.length>0&&i.writeRepeatedString(5,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)},proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.EnumValueDescriptorProto,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearValueList=function(){return this.setValueList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)},proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedNameList=function(){return e.Message.getRepeatedField(this,5)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(t){return e.Message.setField(this,5,t||[])},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(t,i){return e.Message.addToRepeatedField(this,5,t,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumValueDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumValueDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,number:(n=e.Message.getField(i,2))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumValueDescriptorProto;return proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=i.readInt32();t.setNumber(p);break;case 3:var p=new proto.google.protobuf.EnumValueOptions;i.readMessage(p,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter)},proto.google.protobuf.EnumValueDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.ServiceDescriptorProto.toObject(t,this)},proto.google.protobuf.ServiceDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,methodList:e.Message.toObjectList(i.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ServiceDescriptorProto;return proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.MethodDescriptorProto;i.readMessage(p,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),t.addMethod(p);break;case 3:var p=new proto.google.protobuf.ServiceOptions;i.readMessage(p,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getMethodList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.ServiceOptions.serializeBinaryToWriter)},proto.google.protobuf.ServiceDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)},proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.MethodDescriptorProto,i)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearMethodList=function(){return this.setMethodList([])},proto.google.protobuf.ServiceDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)},proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.MethodDescriptorProto.toObject(t,this)},proto.google.protobuf.MethodDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,inputType:(n=e.Message.getField(i,2))==null?void 0:n,outputType:(n=e.Message.getField(i,3))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.MethodOptions.toObject(t,n),clientStreaming:e.Message.getBooleanFieldWithDefault(i,5,!1),serverStreaming:e.Message.getBooleanFieldWithDefault(i,6,!1)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MethodDescriptorProto;return proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=i.readString();t.setInputType(p);break;case 3:var p=i.readString();t.setOutputType(p);break;case 4:var p=new proto.google.protobuf.MethodOptions;i.readMessage(p,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 5:var p=i.readBool();t.setClientStreaming(p);break;case 6:var p=i.readBool();t.setServerStreaming(p);break;default:i.skipField();break}}return t},proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=t.getOptions(),n!=null&&i.writeMessage(4,n,proto.google.protobuf.MethodOptions.serializeBinaryToWriter),n=e.Message.getField(t,5),n!=null&&i.writeBool(5,n),n=e.Message.getField(t,6),n!=null&&i.writeBool(6,n)},proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)},proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,4,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return e.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return e.Message.getBooleanFieldWithDefault(this,6,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FileOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileOptions.prototype.toObject=function(t){return proto.google.protobuf.FileOptions.toObject(t,this)},proto.google.protobuf.FileOptions.toObject=function(t,i){var n,p={javaPackage:(n=e.Message.getField(i,1))==null?void 0:n,javaOuterClassname:(n=e.Message.getField(i,8))==null?void 0:n,javaMultipleFiles:e.Message.getBooleanFieldWithDefault(i,10,!1),javaGenerateEqualsAndHash:(n=e.Message.getBooleanField(i,20))==null?void 0:n,javaStringCheckUtf8:e.Message.getBooleanFieldWithDefault(i,27,!1),optimizeFor:e.Message.getFieldWithDefault(i,9,1),goPackage:(n=e.Message.getField(i,11))==null?void 0:n,ccGenericServices:e.Message.getBooleanFieldWithDefault(i,16,!1),javaGenericServices:e.Message.getBooleanFieldWithDefault(i,17,!1),pyGenericServices:e.Message.getBooleanFieldWithDefault(i,18,!1),phpGenericServices:e.Message.getBooleanFieldWithDefault(i,42,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,23,!1),ccEnableArenas:e.Message.getBooleanFieldWithDefault(i,31,!0),objcClassPrefix:(n=e.Message.getField(i,36))==null?void 0:n,csharpNamespace:(n=e.Message.getField(i,37))==null?void 0:n,swiftPrefix:(n=e.Message.getField(i,39))==null?void 0:n,phpClassPrefix:(n=e.Message.getField(i,40))==null?void 0:n,phpNamespace:(n=e.Message.getField(i,41))==null?void 0:n,phpMetadataNamespace:(n=e.Message.getField(i,44))==null?void 0:n,rubyPackage:(n=e.Message.getField(i,45))==null?void 0:n,uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FileOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileOptions;return proto.google.protobuf.FileOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setJavaPackage(p);break;case 8:var p=i.readString();t.setJavaOuterClassname(p);break;case 10:var p=i.readBool();t.setJavaMultipleFiles(p);break;case 20:var p=i.readBool();t.setJavaGenerateEqualsAndHash(p);break;case 27:var p=i.readBool();t.setJavaStringCheckUtf8(p);break;case 9:var p=i.readEnum();t.setOptimizeFor(p);break;case 11:var p=i.readString();t.setGoPackage(p);break;case 16:var p=i.readBool();t.setCcGenericServices(p);break;case 17:var p=i.readBool();t.setJavaGenericServices(p);break;case 18:var p=i.readBool();t.setPyGenericServices(p);break;case 42:var p=i.readBool();t.setPhpGenericServices(p);break;case 23:var p=i.readBool();t.setDeprecated(p);break;case 31:var p=i.readBool();t.setCcEnableArenas(p);break;case 36:var p=i.readString();t.setObjcClassPrefix(p);break;case 37:var p=i.readString();t.setCsharpNamespace(p);break;case 39:var p=i.readString();t.setSwiftPrefix(p);break;case 40:var p=i.readString();t.setPhpClassPrefix(p);break;case 41:var p=i.readString();t.setPhpNamespace(p);break;case 44:var p=i.readString();t.setPhpMetadataNamespace(p);break;case 45:var p=i.readString();t.setRubyPackage(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension,proto.google.protobuf.FileOptions.prototype.setExtension);break}}return t},proto.google.protobuf.FileOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,8),n!=null&&i.writeString(8,n),n=e.Message.getField(t,10),n!=null&&i.writeBool(10,n),n=e.Message.getField(t,20),n!=null&&i.writeBool(20,n),n=e.Message.getField(t,27),n!=null&&i.writeBool(27,n),n=e.Message.getField(t,9),n!=null&&i.writeEnum(9,n),n=e.Message.getField(t,11),n!=null&&i.writeString(11,n),n=e.Message.getField(t,16),n!=null&&i.writeBool(16,n),n=e.Message.getField(t,17),n!=null&&i.writeBool(17,n),n=e.Message.getField(t,18),n!=null&&i.writeBool(18,n),n=e.Message.getField(t,42),n!=null&&i.writeBool(42,n),n=e.Message.getField(t,23),n!=null&&i.writeBool(23,n),n=e.Message.getField(t,31),n!=null&&i.writeBool(31,n),n=e.Message.getField(t,36),n!=null&&i.writeString(36,n),n=e.Message.getField(t,37),n!=null&&i.writeString(37,n),n=e.Message.getField(t,39),n!=null&&i.writeString(39,n),n=e.Message.getField(t,40),n!=null&&i.writeString(40,n),n=e.Message.getField(t,41),n!=null&&i.writeString(41,n),n=e.Message.getField(t,44),n!=null&&i.writeString(44,n),n=e.Message.getField(t,45),n!=null&&i.writeString(45,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension)},proto.google.protobuf.FileOptions.OptimizeMode={SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3},proto.google.protobuf.FileOptions.prototype.getJavaPackage=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return e.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(t){return e.Message.setField(this,8,t)},proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return e.Message.setField(this,8,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return e.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return e.Message.getBooleanFieldWithDefault(this,20,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(t){return e.Message.setField(this,20,t)},proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return e.Message.setField(this,20,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return e.Message.getField(this,20)!=null},proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return e.Message.getBooleanFieldWithDefault(this,27,!1)},proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(t){return e.Message.setField(this,27,t)},proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return e.Message.setField(this,27,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return e.Message.getField(this,27)!=null},proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return e.Message.getFieldWithDefault(this,9,1)},proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(t){return e.Message.setField(this,9,t)},proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return e.Message.setField(this,9,void 0)},proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return e.Message.getFieldWithDefault(this,11,"")},proto.google.protobuf.FileOptions.prototype.setGoPackage=function(t){return e.Message.setField(this,11,t)},proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return e.Message.setField(this,11,void 0)},proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return e.Message.getField(this,11)!=null},proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,16,!1)},proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(t){return e.Message.setField(this,16,t)},proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return e.Message.setField(this,16,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return e.Message.getField(this,16)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(t){return e.Message.setField(this,17,t)},proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return e.Message.setField(this,17,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return e.Message.getField(this,17)!=null},proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,18,!1)},proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(t){return e.Message.setField(this,18,t)},proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return e.Message.setField(this,18,void 0)},proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return e.Message.getField(this,18)!=null},proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,42,!1)},proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(t){return e.Message.setField(this,42,t)},proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return e.Message.setField(this,42,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return e.Message.getField(this,42)!=null},proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,23,!1)},proto.google.protobuf.FileOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,23,t)},proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,23,void 0)},proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,23)!=null},proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return e.Message.getBooleanFieldWithDefault(this,31,!0)},proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(t){return e.Message.setField(this,31,t)},proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return e.Message.setField(this,31,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return e.Message.getField(this,31)!=null},proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return e.Message.getFieldWithDefault(this,36,"")},proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(t){return e.Message.setField(this,36,t)},proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return e.Message.setField(this,36,void 0)},proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return e.Message.getField(this,36)!=null},proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return e.Message.getFieldWithDefault(this,37,"")},proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(t){return e.Message.setField(this,37,t)},proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return e.Message.setField(this,37,void 0)},proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return e.Message.getField(this,37)!=null},proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return e.Message.getFieldWithDefault(this,39,"")},proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(t){return e.Message.setField(this,39,t)},proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return e.Message.setField(this,39,void 0)},proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return e.Message.getField(this,39)!=null},proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return e.Message.getFieldWithDefault(this,40,"")},proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(t){return e.Message.setField(this,40,t)},proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return e.Message.setField(this,40,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return e.Message.getField(this,40)!=null},proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return e.Message.getFieldWithDefault(this,41,"")},proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(t){return e.Message.setField(this,41,t)},proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return e.Message.setField(this,41,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return e.Message.getField(this,41)!=null},proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return e.Message.getFieldWithDefault(this,44,"")},proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(t){return e.Message.setField(this,44,t)},proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return e.Message.setField(this,44,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return e.Message.getField(this,44)!=null},proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return e.Message.getFieldWithDefault(this,45,"")},proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(t){return e.Message.setField(this,45,t)},proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return e.Message.setField(this,45,void 0)},proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return e.Message.getField(this,45)!=null},proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.FileOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MessageOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MessageOptions.prototype.toObject=function(t){return proto.google.protobuf.MessageOptions.toObject(t,this)},proto.google.protobuf.MessageOptions.toObject=function(t,i){var n,p={messageSetWireFormat:e.Message.getBooleanFieldWithDefault(i,1,!1),noStandardDescriptorAccessor:e.Message.getBooleanFieldWithDefault(i,2,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),mapEntry:(n=e.Message.getBooleanField(i,7))==null?void 0:n,uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.MessageOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MessageOptions;return proto.google.protobuf.MessageOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MessageOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readBool();t.setMessageSetWireFormat(p);break;case 2:var p=i.readBool();t.setNoStandardDescriptorAccessor(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 7:var p=i.readBool();t.setMapEntry(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension,proto.google.protobuf.MessageOptions.prototype.setExtension);break}}return t},proto.google.protobuf.MessageOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeBool(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=e.Message.getField(t,7),n!=null&&i.writeBool(7,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)},proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return e.Message.getBooleanFieldWithDefault(this,7,!1)},proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.MessageOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.FieldOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldOptions.prototype.toObject=function(t){return proto.google.protobuf.FieldOptions.toObject(t,this)},proto.google.protobuf.FieldOptions.toObject=function(t,i){var n,p={ctype:e.Message.getFieldWithDefault(i,1,0),packed:(n=e.Message.getBooleanField(i,2))==null?void 0:n,jstype:e.Message.getFieldWithDefault(i,6,0),lazy:e.Message.getBooleanFieldWithDefault(i,5,!1),unverifiedLazy:e.Message.getBooleanFieldWithDefault(i,15,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),weak:e.Message.getBooleanFieldWithDefault(i,10,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FieldOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FieldOptions;return proto.google.protobuf.FieldOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FieldOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readEnum();t.setCtype(p);break;case 2:var p=i.readBool();t.setPacked(p);break;case 6:var p=i.readEnum();t.setJstype(p);break;case 5:var p=i.readBool();t.setLazy(p);break;case 15:var p=i.readBool();t.setUnverifiedLazy(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 10:var p=i.readBool();t.setWeak(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension,proto.google.protobuf.FieldOptions.prototype.setExtension);break}}return t},proto.google.protobuf.FieldOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeEnum(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,6),n!=null&&i.writeEnum(6,n),n=e.Message.getField(t,5),n!=null&&i.writeBool(5,n),n=e.Message.getField(t,15),n!=null&&i.writeBool(15,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=e.Message.getField(t,10),n!=null&&i.writeBool(10,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension)},proto.google.protobuf.FieldOptions.CType={STRING:0,CORD:1,STRING_PIECE:2},proto.google.protobuf.FieldOptions.JSType={JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2},proto.google.protobuf.FieldOptions.prototype.getCtype=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.FieldOptions.prototype.setCtype=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.FieldOptions.prototype.setPacked=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return e.Message.getFieldWithDefault(this,6,0)},proto.google.protobuf.FieldOptions.prototype.setJstype=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return e.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.FieldOptions.prototype.setLazy=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.FieldOptions.prototype.getUnverifiedLazy=function(){return e.Message.getBooleanFieldWithDefault(this,15,!1)},proto.google.protobuf.FieldOptions.prototype.setUnverifiedLazy=function(t){return e.Message.setField(this,15,t)},proto.google.protobuf.FieldOptions.prototype.clearUnverifiedLazy=function(){return e.Message.setField(this,15,void 0)},proto.google.protobuf.FieldOptions.prototype.hasUnverifiedLazy=function(){return e.Message.getField(this,15)!=null},proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return e.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FieldOptions.prototype.setWeak=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.FieldOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.OneofOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofOptions.prototype.toObject=function(t){return proto.google.protobuf.OneofOptions.toObject(t,this)},proto.google.protobuf.OneofOptions.toObject=function(t,i){var n={uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.OneofOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.OneofOptions;return proto.google.protobuf.OneofOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.OneofOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension,proto.google.protobuf.OneofOptions.prototype.setExtension);break}}return t},proto.google.protobuf.OneofOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.OneofOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.OneofOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)},proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.OneofOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumOptions.toObject(t,this)},proto.google.protobuf.EnumOptions.toObject=function(t,i){var n,p={allowAlias:(n=e.Message.getBooleanField(i,2))==null?void 0:n,deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumOptions;return proto.google.protobuf.EnumOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 2:var p=i.readBool();t.setAllowAlias(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension,proto.google.protobuf.EnumOptions.prototype.setExtension);break}}return t},proto.google.protobuf.EnumOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)},proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.EnumOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumValueOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumValueOptions.toObject(t,this)},proto.google.protobuf.EnumValueOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,1,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.EnumValueOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumValueOptions;return proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension,proto.google.protobuf.EnumValueOptions.prototype.setExtension);break}}return t},proto.google.protobuf.EnumValueOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeBool(1,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)},proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.EnumValueOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.ServiceOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceOptions.prototype.toObject=function(t){return proto.google.protobuf.ServiceOptions.toObject(t,this)},proto.google.protobuf.ServiceOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,33,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ServiceOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ServiceOptions;return proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 33:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension,proto.google.protobuf.ServiceOptions.prototype.setExtension);break}}return t},proto.google.protobuf.ServiceOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,33),n!=null&&i.writeBool(33,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)},proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,33,t)},proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,33,void 0)},proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,33)!=null},proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.ServiceOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MethodOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodOptions.prototype.toObject=function(t){return proto.google.protobuf.MethodOptions.toObject(t,this)},proto.google.protobuf.MethodOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,33,!1),idempotencyLevel:e.Message.getFieldWithDefault(i,34,0),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.MethodOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MethodOptions;return proto.google.protobuf.MethodOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MethodOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 33:var p=i.readBool();t.setDeprecated(p);break;case 34:var p=i.readEnum();t.setIdempotencyLevel(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension,proto.google.protobuf.MethodOptions.prototype.setExtension);break}}return t},proto.google.protobuf.MethodOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,33),n!=null&&i.writeBool(33,n),n=e.Message.getField(t,34),n!=null&&i.writeEnum(34,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension)},proto.google.protobuf.MethodOptions.IdempotencyLevel={IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2},proto.google.protobuf.MethodOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,33,t)},proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,33,void 0)},proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,33)!=null},proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return e.Message.getFieldWithDefault(this,34,0)},proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(t){return e.Message.setField(this,34,t)},proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return e.Message.setField(this,34,void 0)},proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return e.Message.getField(this,34)!=null},proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.MethodOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.UninterpretedOption.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.toObject(t,this)},proto.google.protobuf.UninterpretedOption.toObject=function(t,i){var n,p={nameList:e.Message.toObjectList(i.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,t),identifierValue:(n=e.Message.getField(i,3))==null?void 0:n,positiveIntValue:(n=e.Message.getField(i,4))==null?void 0:n,negativeIntValue:(n=e.Message.getField(i,5))==null?void 0:n,doubleValue:(n=e.Message.getOptionalFloatingPointField(i,6))==null?void 0:n,stringValue:i.getStringValue_asB64(),aggregateValue:(n=e.Message.getField(i,8))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.UninterpretedOption.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.UninterpretedOption;return proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader(n,i)},proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 2:var p=new proto.google.protobuf.UninterpretedOption.NamePart;i.readMessage(p,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),t.addName(p);break;case 3:var p=i.readString();t.setIdentifierValue(p);break;case 4:var p=i.readUint64();t.setPositiveIntValue(p);break;case 5:var p=i.readInt64();t.setNegativeIntValue(p);break;case 6:var p=i.readDouble();t.setDoubleValue(p);break;case 7:var p=i.readBytes();t.setStringValue(p);break;case 8:var p=i.readString();t.setAggregateValue(p);break;default:i.skipField();break}}return t},proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getNameList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeUint64(4,n),n=e.Message.getField(t,5),n!=null&&i.writeInt64(5,n),n=e.Message.getField(t,6),n!=null&&i.writeDouble(6,n),n=e.Message.getField(t,7),n!=null&&i.writeBytes(7,n),n=e.Message.getField(t,8),n!=null&&i.writeString(8,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.NamePart.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.NamePart.toObject(t,this)},proto.google.protobuf.UninterpretedOption.NamePart.toObject=function(t,i){var n,p={namePart:(n=e.Message.getField(i,1))==null?void 0:n,isExtension:(n=e.Message.getBooleanField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.UninterpretedOption.NamePart;return proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader(n,i)},proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setNamePart(p);break;case 2:var p=i.readBool();t.setIsExtension(p);break;default:i.skipField();break}}return t},proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)},proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.UninterpretedOption.prototype.addName=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.UninterpretedOption.NamePart,i)},proto.google.protobuf.UninterpretedOption.prototype.clearNameList=function(){return this.setNameList([])},proto.google.protobuf.UninterpretedOption.prototype.getIdentifierValue=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return e.Message.getFieldWithDefault(this,5,0)},proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return e.Message.bytesAsB64(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return e.Message.bytesAsU8(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return e.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(t){return e.Message.setField(this,8,t)},proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return e.Message.setField(this,8,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.toObject=function(t,i){var n={locationList:e.Message.toObjectList(i.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.SourceCodeInfo;return proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader(n,i)},proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.SourceCodeInfo.Location;i.readMessage(p,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),t.addLocation(p);break;default:i.skipField();break}}return t},proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getLocationList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter)},proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_=[1,2,6],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.Location.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.Location.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.Location.toObject=function(t,i){var n,p={pathList:(n=e.Message.getRepeatedField(i,1))==null?void 0:n,spanList:(n=e.Message.getRepeatedField(i,2))==null?void 0:n,leadingComments:(n=e.Message.getField(i,3))==null?void 0:n,trailingComments:(n=e.Message.getField(i,4))==null?void 0:n,leadingDetachedCommentsList:(n=e.Message.getRepeatedField(i,6))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.SourceCodeInfo.Location;return proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader(n,i)},proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addPath(g[p]);break;case 2:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addSpan(g[p]);break;case 3:var l=i.readString();t.setLeadingComments(l);break;case 4:var l=i.readString();t.setTrailingComments(l);break;case 6:var l=i.readString();t.addLeadingDetachedComments(l);break;default:i.skipField();break}}return t},proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getPathList(),n.length>0&&i.writePackedInt32(1,n),n=t.getSpanList(),n.length>0&&i.writePackedInt32(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeString(4,n),n=t.getLeadingDetachedCommentsList(),n.length>0&&i.writeRepeatedString(6,n)},proto.google.protobuf.SourceCodeInfo.Location.prototype.getPathList=function(){return e.Message.getRepeatedField(this,1)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(t){return e.Message.setField(this,1,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(t,i){return e.Message.addToRepeatedField(this,1,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getSpanList=function(){return e.Message.getRepeatedField(this,2)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(t){return e.Message.setField(this,2,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(t,i){return e.Message.addToRepeatedField(this,2,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearSpanList=function(){return this.setSpanList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingComments=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return e.Message.getRepeatedField(this,6)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(t){return e.Message.setField(this,6,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(t,i){return e.Message.addToRepeatedField(this,6,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingDetachedCommentsList=function(){return this.setLeadingDetachedCommentsList([])},proto.google.protobuf.SourceCodeInfo.prototype.getLocationList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)},proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.SourceCodeInfo.Location,i)},proto.google.protobuf.SourceCodeInfo.prototype.clearLocationList=function(){return this.setLocationList([])},proto.google.protobuf.GeneratedCodeInfo.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.toObject=function(t,i){var n={annotationList:e.Message.toObjectList(i.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.GeneratedCodeInfo;return proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader(n,i)},proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.GeneratedCodeInfo.Annotation;i.readMessage(p,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),t.addAnnotation(p);break;default:i.skipField();break}}return t},proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getAnnotationList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter)},proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject=function(t,i){var n,p={pathList:(n=e.Message.getRepeatedField(i,1))==null?void 0:n,sourceFile:(n=e.Message.getField(i,2))==null?void 0:n,begin:(n=e.Message.getField(i,3))==null?void 0:n,end:(n=e.Message.getField(i,4))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.GeneratedCodeInfo.Annotation;return proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader(n,i)},proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:for(var p=i.isDelimited()?i.readPackedInt32():[i.readInt32()],g=0;g<p.length;g++)t.addPath(p[g]);break;case 2:var l=i.readString();t.setSourceFile(l);break;case 3:var l=i.readInt32();t.setBegin(l);break;case 4:var l=i.readInt32();t.setEnd(l);break;default:i.skipField();break}}return t},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getPathList(),n.length>0&&i.writePackedInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeInt32(3,n),n=e.Message.getField(t,4),n!=null&&i.writeInt32(4,n)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return e.Message.getRepeatedField(this,1)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(t){return e.Message.setField(this,1,t||[])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(t,i){return e.Message.addToRepeatedField(this,1,t,i)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSourceFile=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)},proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.GeneratedCodeInfo.Annotation,i)},proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])},r.object.extend(o,proto.google.protobuf)})(descriptor_pb$j),function(o){var e=googleProtobuf$l,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=descriptor_pb$j;r.object.extend(proto,t),r.exportSymbol("proto.viam.common.v1.ActuatorStatus",null,s),r.exportSymbol("proto.viam.common.v1.AnalogStatus",null,s),r.exportSymbol("proto.viam.common.v1.BoardStatus",null,s),r.exportSymbol("proto.viam.common.v1.Capsule",null,s),r.exportSymbol("proto.viam.common.v1.DigitalInterruptStatus",null,s),r.exportSymbol("proto.viam.common.v1.GeoPoint",null,s),r.exportSymbol("proto.viam.common.v1.GeometriesInFrame",null,s),r.exportSymbol("proto.viam.common.v1.Geometry",null,s),r.exportSymbol("proto.viam.common.v1.Geometry.GeometryTypeCase",null,s),r.exportSymbol("proto.viam.common.v1.Orientation",null,s),r.exportSymbol("proto.viam.common.v1.PointCloudObject",null,s),r.exportSymbol("proto.viam.common.v1.Pose",null,s),r.exportSymbol("proto.viam.common.v1.PoseInFrame",null,s),r.exportSymbol("proto.viam.common.v1.RectangularPrism",null,s),r.exportSymbol("proto.viam.common.v1.ResourceName",null,s),r.exportSymbol("proto.viam.common.v1.Sphere",null,s),r.exportSymbol("proto.viam.common.v1.Transform",null,s),r.exportSymbol("proto.viam.common.v1.Vector3",null,s),r.exportSymbol("proto.viam.common.v1.WorldState",null,s),r.exportSymbol("proto.viam.common.v1.safetyHeartbeatMonitored",null,s),proto.viam.common.v1.ResourceName=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.ResourceName,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.ResourceName.displayName="proto.viam.common.v1.ResourceName"),proto.viam.common.v1.BoardStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.BoardStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.BoardStatus.displayName="proto.viam.common.v1.BoardStatus"),proto.viam.common.v1.AnalogStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.AnalogStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.AnalogStatus.displayName="proto.viam.common.v1.AnalogStatus"),proto.viam.common.v1.DigitalInterruptStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.DigitalInterruptStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.DigitalInterruptStatus.displayName="proto.viam.common.v1.DigitalInterruptStatus"),proto.viam.common.v1.Pose=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Pose,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Pose.displayName="proto.viam.common.v1.Pose"),proto.viam.common.v1.Orientation=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Orientation,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Orientation.displayName="proto.viam.common.v1.Orientation"),proto.viam.common.v1.PoseInFrame=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.PoseInFrame,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.PoseInFrame.displayName="proto.viam.common.v1.PoseInFrame"),proto.viam.common.v1.Vector3=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Vector3,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Vector3.displayName="proto.viam.common.v1.Vector3"),proto.viam.common.v1.Sphere=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Sphere,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Sphere.displayName="proto.viam.common.v1.Sphere"),proto.viam.common.v1.Capsule=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Capsule,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Capsule.displayName="proto.viam.common.v1.Capsule"),proto.viam.common.v1.RectangularPrism=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.RectangularPrism,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.RectangularPrism.displayName="proto.viam.common.v1.RectangularPrism"),proto.viam.common.v1.Geometry=function(i){e.Message.initialize(this,i,0,-1,null,proto.viam.common.v1.Geometry.oneofGroups_)},r.inherits(proto.viam.common.v1.Geometry,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Geometry.displayName="proto.viam.common.v1.Geometry"),proto.viam.common.v1.GeometriesInFrame=function(i){e.Message.initialize(this,i,0,-1,proto.viam.common.v1.GeometriesInFrame.repeatedFields_,null)},r.inherits(proto.viam.common.v1.GeometriesInFrame,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.GeometriesInFrame.displayName="proto.viam.common.v1.GeometriesInFrame"),proto.viam.common.v1.PointCloudObject=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.PointCloudObject,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.PointCloudObject.displayName="proto.viam.common.v1.PointCloudObject"),proto.viam.common.v1.GeoPoint=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.GeoPoint,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.GeoPoint.displayName="proto.viam.common.v1.GeoPoint"),proto.viam.common.v1.Transform=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Transform,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Transform.displayName="proto.viam.common.v1.Transform"),proto.viam.common.v1.WorldState=function(i){e.Message.initialize(this,i,0,-1,proto.viam.common.v1.WorldState.repeatedFields_,null)},r.inherits(proto.viam.common.v1.WorldState,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.WorldState.displayName="proto.viam.common.v1.WorldState"),proto.viam.common.v1.ActuatorStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.ActuatorStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.ActuatorStatus.displayName="proto.viam.common.v1.ActuatorStatus"),e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.ResourceName.prototype.toObject=function(i){return proto.viam.common.v1.ResourceName.toObject(i,this)},proto.viam.common.v1.ResourceName.toObject=function(i,n){var p={namespace:e.Message.getFieldWithDefault(n,1,""),type:e.Message.getFieldWithDefault(n,2,""),subtype:e.Message.getFieldWithDefault(n,3,""),name:e.Message.getFieldWithDefault(n,4,"")};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.ResourceName.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.ResourceName;return proto.viam.common.v1.ResourceName.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.ResourceName.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setNamespace(g);break;case 2:var g=n.readString();i.setType(g);break;case 3:var g=n.readString();i.setSubtype(g);break;case 4:var g=n.readString();i.setName(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.ResourceName.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.ResourceName.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.ResourceName.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getNamespace(),p.length>0&&n.writeString(1,p),p=i.getType(),p.length>0&&n.writeString(2,p),p=i.getSubtype(),p.length>0&&n.writeString(3,p),p=i.getName(),p.length>0&&n.writeString(4,p)},proto.viam.common.v1.ResourceName.prototype.getNamespace=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.ResourceName.prototype.setNamespace=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.ResourceName.prototype.getType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.common.v1.ResourceName.prototype.setType=function(i){return e.Message.setProto3StringField(this,2,i)},proto.viam.common.v1.ResourceName.prototype.getSubtype=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.common.v1.ResourceName.prototype.setSubtype=function(i){return e.Message.setProto3StringField(this,3,i)},proto.viam.common.v1.ResourceName.prototype.getName=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.common.v1.ResourceName.prototype.setName=function(i){return e.Message.setProto3StringField(this,4,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.BoardStatus.prototype.toObject=function(i){return proto.viam.common.v1.BoardStatus.toObject(i,this)},proto.viam.common.v1.BoardStatus.toObject=function(i,n){var p,g={analogsMap:(p=n.getAnalogsMap())?p.toObject(i,proto.viam.common.v1.AnalogStatus.toObject):[],digitalInterruptsMap:(p=n.getDigitalInterruptsMap())?p.toObject(i,proto.viam.common.v1.DigitalInterruptStatus.toObject):[]};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.BoardStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.BoardStatus;return proto.viam.common.v1.BoardStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.BoardStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=i.getAnalogsMap();n.readMessage(g,function(l,u){e.Map.deserializeBinary(l,u,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader,"",new proto.viam.common.v1.AnalogStatus)});break;case 2:var g=i.getDigitalInterruptsMap();n.readMessage(g,function(l,u){e.Map.deserializeBinary(l,u,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader,"",new proto.viam.common.v1.DigitalInterruptStatus)});break;default:n.skipField();break}}return i},proto.viam.common.v1.BoardStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.BoardStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.BoardStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getAnalogsMap(!0),p&&p.getLength()>0&&p.serializeBinary(1,n,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter),p=i.getDigitalInterruptsMap(!0),p&&p.getLength()>0&&p.serializeBinary(2,n,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter)},proto.viam.common.v1.BoardStatus.prototype.getAnalogsMap=function(i){return e.Message.getMapField(this,1,i,proto.viam.common.v1.AnalogStatus)},proto.viam.common.v1.BoardStatus.prototype.clearAnalogsMap=function(){return this.getAnalogsMap().clear(),this},proto.viam.common.v1.BoardStatus.prototype.getDigitalInterruptsMap=function(i){return e.Message.getMapField(this,2,i,proto.viam.common.v1.DigitalInterruptStatus)},proto.viam.common.v1.BoardStatus.prototype.clearDigitalInterruptsMap=function(){return this.getDigitalInterruptsMap().clear(),this},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.AnalogStatus.prototype.toObject=function(i){return proto.viam.common.v1.AnalogStatus.toObject(i,this)},proto.viam.common.v1.AnalogStatus.toObject=function(i,n){var p={value:e.Message.getFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.AnalogStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.AnalogStatus;return proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readInt32();i.setValue(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.AnalogStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getValue(),p!==0&&n.writeInt32(1,p)},proto.viam.common.v1.AnalogStatus.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.common.v1.AnalogStatus.prototype.setValue=function(i){return e.Message.setProto3IntField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.DigitalInterruptStatus.prototype.toObject=function(i){return proto.viam.common.v1.DigitalInterruptStatus.toObject(i,this)},proto.viam.common.v1.DigitalInterruptStatus.toObject=function(i,n){var p={value:e.Message.getFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.DigitalInterruptStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.DigitalInterruptStatus;return proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readInt64();i.setValue(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.DigitalInterruptStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getValue(),p!==0&&n.writeInt64(1,p)},proto.viam.common.v1.DigitalInterruptStatus.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.common.v1.DigitalInterruptStatus.prototype.setValue=function(i){return e.Message.setProto3IntField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Pose.prototype.toObject=function(i){return proto.viam.common.v1.Pose.toObject(i,this)},proto.viam.common.v1.Pose.toObject=function(i,n){var p={x:e.Message.getFloatingPointFieldWithDefault(n,1,0),y:e.Message.getFloatingPointFieldWithDefault(n,2,0),z:e.Message.getFloatingPointFieldWithDefault(n,3,0),oX:e.Message.getFloatingPointFieldWithDefault(n,4,0),oY:e.Message.getFloatingPointFieldWithDefault(n,5,0),oZ:e.Message.getFloatingPointFieldWithDefault(n,6,0),theta:e.Message.getFloatingPointFieldWithDefault(n,7,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Pose.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Pose;return proto.viam.common.v1.Pose.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Pose.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setX(g);break;case 2:var g=n.readDouble();i.setY(g);break;case 3:var g=n.readDouble();i.setZ(g);break;case 4:var g=n.readDouble();i.setOX(g);break;case 5:var g=n.readDouble();i.setOY(g);break;case 6:var g=n.readDouble();i.setOZ(g);break;case 7:var g=n.readDouble();i.setTheta(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Pose.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Pose.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Pose.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getX(),p!==0&&n.writeDouble(1,p),p=i.getY(),p!==0&&n.writeDouble(2,p),p=i.getZ(),p!==0&&n.writeDouble(3,p),p=i.getOX(),p!==0&&n.writeDouble(4,p),p=i.getOY(),p!==0&&n.writeDouble(5,p),p=i.getOZ(),p!==0&&n.writeDouble(6,p),p=i.getTheta(),p!==0&&n.writeDouble(7,p)},proto.viam.common.v1.Pose.prototype.getX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Pose.prototype.setX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Pose.prototype.getY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Pose.prototype.setY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Pose.prototype.getZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Pose.prototype.setZ=function(i){return e.Message.setProto3FloatField(this,3,i)},proto.viam.common.v1.Pose.prototype.getOX=function(){return e.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.viam.common.v1.Pose.prototype.setOX=function(i){return e.Message.setProto3FloatField(this,4,i)},proto.viam.common.v1.Pose.prototype.getOY=function(){return e.Message.getFloatingPointFieldWithDefault(this,5,0)},proto.viam.common.v1.Pose.prototype.setOY=function(i){return e.Message.setProto3FloatField(this,5,i)},proto.viam.common.v1.Pose.prototype.getOZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.viam.common.v1.Pose.prototype.setOZ=function(i){return e.Message.setProto3FloatField(this,6,i)},proto.viam.common.v1.Pose.prototype.getTheta=function(){return e.Message.getFloatingPointFieldWithDefault(this,7,0)},proto.viam.common.v1.Pose.prototype.setTheta=function(i){return e.Message.setProto3FloatField(this,7,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Orientation.prototype.toObject=function(i){return proto.viam.common.v1.Orientation.toObject(i,this)},proto.viam.common.v1.Orientation.toObject=function(i,n){var p={oX:e.Message.getFloatingPointFieldWithDefault(n,1,0),oY:e.Message.getFloatingPointFieldWithDefault(n,2,0),oZ:e.Message.getFloatingPointFieldWithDefault(n,3,0),theta:e.Message.getFloatingPointFieldWithDefault(n,4,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Orientation.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Orientation;return proto.viam.common.v1.Orientation.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Orientation.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setOX(g);break;case 2:var g=n.readDouble();i.setOY(g);break;case 3:var g=n.readDouble();i.setOZ(g);break;case 4:var g=n.readDouble();i.setTheta(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Orientation.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Orientation.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Orientation.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getOX(),p!==0&&n.writeDouble(1,p),p=i.getOY(),p!==0&&n.writeDouble(2,p),p=i.getOZ(),p!==0&&n.writeDouble(3,p),p=i.getTheta(),p!==0&&n.writeDouble(4,p)},proto.viam.common.v1.Orientation.prototype.getOX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Orientation.prototype.setOX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Orientation.prototype.getOY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Orientation.prototype.setOY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Orientation.prototype.getOZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Orientation.prototype.setOZ=function(i){return e.Message.setProto3FloatField(this,3,i)},proto.viam.common.v1.Orientation.prototype.getTheta=function(){return e.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.viam.common.v1.Orientation.prototype.setTheta=function(i){return e.Message.setProto3FloatField(this,4,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.PoseInFrame.prototype.toObject=function(i){return proto.viam.common.v1.PoseInFrame.toObject(i,this)},proto.viam.common.v1.PoseInFrame.toObject=function(i,n){var p,g={referenceFrame:e.Message.getFieldWithDefault(n,1,""),pose:(p=n.getPose())&&proto.viam.common.v1.Pose.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.PoseInFrame.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.PoseInFrame;return proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.Pose;n.readMessage(g,proto.viam.common.v1.Pose.deserializeBinaryFromReader),i.setPose(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.PoseInFrame.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getPose(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.Pose.serializeBinaryToWriter)},proto.viam.common.v1.PoseInFrame.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.PoseInFrame.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.PoseInFrame.prototype.getPose=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Pose,2)},proto.viam.common.v1.PoseInFrame.prototype.setPose=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.PoseInFrame.prototype.clearPose=function(){return this.setPose(void 0)},proto.viam.common.v1.PoseInFrame.prototype.hasPose=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Vector3.prototype.toObject=function(i){return proto.viam.common.v1.Vector3.toObject(i,this)},proto.viam.common.v1.Vector3.toObject=function(i,n){var p={x:e.Message.getFloatingPointFieldWithDefault(n,1,0),y:e.Message.getFloatingPointFieldWithDefault(n,2,0),z:e.Message.getFloatingPointFieldWithDefault(n,3,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Vector3.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Vector3;return proto.viam.common.v1.Vector3.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Vector3.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setX(g);break;case 2:var g=n.readDouble();i.setY(g);break;case 3:var g=n.readDouble();i.setZ(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Vector3.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Vector3.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Vector3.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getX(),p!==0&&n.writeDouble(1,p),p=i.getY(),p!==0&&n.writeDouble(2,p),p=i.getZ(),p!==0&&n.writeDouble(3,p)},proto.viam.common.v1.Vector3.prototype.getX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Vector3.prototype.setX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Vector3.prototype.getY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Vector3.prototype.setY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Vector3.prototype.getZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Vector3.prototype.setZ=function(i){return e.Message.setProto3FloatField(this,3,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Sphere.prototype.toObject=function(i){return proto.viam.common.v1.Sphere.toObject(i,this)},proto.viam.common.v1.Sphere.toObject=function(i,n){var p={radiusMm:e.Message.getFloatingPointFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Sphere.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Sphere;return proto.viam.common.v1.Sphere.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Sphere.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setRadiusMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Sphere.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Sphere.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Sphere.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getRadiusMm(),p!==0&&n.writeDouble(1,p)},proto.viam.common.v1.Sphere.prototype.getRadiusMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Sphere.prototype.setRadiusMm=function(i){return e.Message.setProto3FloatField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Capsule.prototype.toObject=function(i){return proto.viam.common.v1.Capsule.toObject(i,this)},proto.viam.common.v1.Capsule.toObject=function(i,n){var p={radiusMm:e.Message.getFloatingPointFieldWithDefault(n,1,0),lengthMm:e.Message.getFloatingPointFieldWithDefault(n,2,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Capsule.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Capsule;return proto.viam.common.v1.Capsule.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Capsule.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setRadiusMm(g);break;case 2:var g=n.readDouble();i.setLengthMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Capsule.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Capsule.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Capsule.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getRadiusMm(),p!==0&&n.writeDouble(1,p),p=i.getLengthMm(),p!==0&&n.writeDouble(2,p)},proto.viam.common.v1.Capsule.prototype.getRadiusMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Capsule.prototype.setRadiusMm=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Capsule.prototype.getLengthMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Capsule.prototype.setLengthMm=function(i){return e.Message.setProto3FloatField(this,2,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.RectangularPrism.prototype.toObject=function(i){return proto.viam.common.v1.RectangularPrism.toObject(i,this)},proto.viam.common.v1.RectangularPrism.toObject=function(i,n){var p,g={dimsMm:(p=n.getDimsMm())&&proto.viam.common.v1.Vector3.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.RectangularPrism.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.RectangularPrism;return proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.Vector3;n.readMessage(g,proto.viam.common.v1.Vector3.deserializeBinaryFromReader),i.setDimsMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.RectangularPrism.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getDimsMm(),p!=null&&n.writeMessage(1,p,proto.viam.common.v1.Vector3.serializeBinaryToWriter)},proto.viam.common.v1.RectangularPrism.prototype.getDimsMm=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Vector3,1)},proto.viam.common.v1.RectangularPrism.prototype.setDimsMm=function(i){return e.Message.setWrapperField(this,1,i)},proto.viam.common.v1.RectangularPrism.prototype.clearDimsMm=function(){return this.setDimsMm(void 0)},proto.viam.common.v1.RectangularPrism.prototype.hasDimsMm=function(){return e.Message.getField(this,1)!=null},proto.viam.common.v1.Geometry.oneofGroups_=[[2,3,5]],proto.viam.common.v1.Geometry.GeometryTypeCase={GEOMETRY_TYPE_NOT_SET:0,SPHERE:2,BOX:3,CAPSULE:5},proto.viam.common.v1.Geometry.prototype.getGeometryTypeCase=function(){return e.Message.computeOneofCase(this,proto.viam.common.v1.Geometry.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Geometry.prototype.toObject=function(i){return proto.viam.common.v1.Geometry.toObject(i,this)},proto.viam.common.v1.Geometry.toObject=function(i,n){var p,g={center:(p=n.getCenter())&&proto.viam.common.v1.Pose.toObject(i,p),sphere:(p=n.getSphere())&&proto.viam.common.v1.Sphere.toObject(i,p),box:(p=n.getBox())&&proto.viam.common.v1.RectangularPrism.toObject(i,p),capsule:(p=n.getCapsule())&&proto.viam.common.v1.Capsule.toObject(i,p),label:e.Message.getFieldWithDefault(n,4,"")};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.Geometry.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Geometry;return proto.viam.common.v1.Geometry.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Geometry.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.Pose;n.readMessage(g,proto.viam.common.v1.Pose.deserializeBinaryFromReader),i.setCenter(g);break;case 2:var g=new proto.viam.common.v1.Sphere;n.readMessage(g,proto.viam.common.v1.Sphere.deserializeBinaryFromReader),i.setSphere(g);break;case 3:var g=new proto.viam.common.v1.RectangularPrism;n.readMessage(g,proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader),i.setBox(g);break;case 5:var g=new proto.viam.common.v1.Capsule;n.readMessage(g,proto.viam.common.v1.Capsule.deserializeBinaryFromReader),i.setCapsule(g);break;case 4:var g=n.readString();i.setLabel(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Geometry.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Geometry.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Geometry.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getCenter(),p!=null&&n.writeMessage(1,p,proto.viam.common.v1.Pose.serializeBinaryToWriter),p=i.getSphere(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.Sphere.serializeBinaryToWriter),p=i.getBox(),p!=null&&n.writeMessage(3,p,proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter),p=i.getCapsule(),p!=null&&n.writeMessage(5,p,proto.viam.common.v1.Capsule.serializeBinaryToWriter),p=i.getLabel(),p.length>0&&n.writeString(4,p)},proto.viam.common.v1.Geometry.prototype.getCenter=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Pose,1)},proto.viam.common.v1.Geometry.prototype.setCenter=function(i){return e.Message.setWrapperField(this,1,i)},proto.viam.common.v1.Geometry.prototype.clearCenter=function(){return this.setCenter(void 0)},proto.viam.common.v1.Geometry.prototype.hasCenter=function(){return e.Message.getField(this,1)!=null},proto.viam.common.v1.Geometry.prototype.getSphere=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Sphere,2)},proto.viam.common.v1.Geometry.prototype.setSphere=function(i){return e.Message.setOneofWrapperField(this,2,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearSphere=function(){return this.setSphere(void 0)},proto.viam.common.v1.Geometry.prototype.hasSphere=function(){return e.Message.getField(this,2)!=null},proto.viam.common.v1.Geometry.prototype.getBox=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.RectangularPrism,3)},proto.viam.common.v1.Geometry.prototype.setBox=function(i){return e.Message.setOneofWrapperField(this,3,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearBox=function(){return this.setBox(void 0)},proto.viam.common.v1.Geometry.prototype.hasBox=function(){return e.Message.getField(this,3)!=null},proto.viam.common.v1.Geometry.prototype.getCapsule=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Capsule,5)},proto.viam.common.v1.Geometry.prototype.setCapsule=function(i){return e.Message.setOneofWrapperField(this,5,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearCapsule=function(){return this.setCapsule(void 0)},proto.viam.common.v1.Geometry.prototype.hasCapsule=function(){return e.Message.getField(this,5)!=null},proto.viam.common.v1.Geometry.prototype.getLabel=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.common.v1.Geometry.prototype.setLabel=function(i){return e.Message.setProto3StringField(this,4,i)},proto.viam.common.v1.GeometriesInFrame.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.GeometriesInFrame.prototype.toObject=function(i){return proto.viam.common.v1.GeometriesInFrame.toObject(i,this)},proto.viam.common.v1.GeometriesInFrame.toObject=function(i,n){var p={referenceFrame:e.Message.getFieldWithDefault(n,1,""),geometriesList:e.Message.toObjectList(n.getGeometriesList(),proto.viam.common.v1.Geometry.toObject,i)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.GeometriesInFrame.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.GeometriesInFrame;return proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.Geometry;n.readMessage(g,proto.viam.common.v1.Geometry.deserializeBinaryFromReader),i.addGeometries(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.GeometriesInFrame.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getGeometriesList(),p.length>0&&n.writeRepeatedMessage(2,p,proto.viam.common.v1.Geometry.serializeBinaryToWriter)},proto.viam.common.v1.GeometriesInFrame.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.GeometriesInFrame.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.GeometriesInFrame.prototype.getGeometriesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.Geometry,2)},proto.viam.common.v1.GeometriesInFrame.prototype.setGeometriesList=function(i){return e.Message.setRepeatedWrapperField(this,2,i)},proto.viam.common.v1.GeometriesInFrame.prototype.addGeometries=function(i,n){return e.Message.addToRepeatedWrapperField(this,2,i,proto.viam.common.v1.Geometry,n)},proto.viam.common.v1.GeometriesInFrame.prototype.clearGeometriesList=function(){return this.setGeometriesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.PointCloudObject.prototype.toObject=function(i){return proto.viam.common.v1.PointCloudObject.toObject(i,this)},proto.viam.common.v1.PointCloudObject.toObject=function(i,n){var p,g={pointCloud:n.getPointCloud_asB64(),geometries:(p=n.getGeometries())&&proto.viam.common.v1.GeometriesInFrame.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.PointCloudObject.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.PointCloudObject;return proto.viam.common.v1.PointCloudObject.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.PointCloudObject.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readBytes();i.setPointCloud(g);break;case 2:var g=new proto.viam.common.v1.GeometriesInFrame;n.readMessage(g,proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader),i.setGeometries(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.PointCloudObject.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.PointCloudObject.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.PointCloudObject.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getPointCloud_asU8(),p.length>0&&n.writeBytes(1,p),p=i.getGeometries(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter)},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud_asB64=function(){return e.Message.bytesAsB64(this.getPointCloud())},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud_asU8=function(){return e.Message.bytesAsU8(this.getPointCloud())},proto.viam.common.v1.PointCloudObject.prototype.setPointCloud=function(i){return e.Message.setProto3BytesField(this,1,i)},proto.viam.common.v1.PointCloudObject.prototype.getGeometries=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.GeometriesInFrame,2)},proto.viam.common.v1.PointCloudObject.prototype.setGeometries=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.PointCloudObject.prototype.clearGeometries=function(){return this.setGeometries(void 0)},proto.viam.common.v1.PointCloudObject.prototype.hasGeometries=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.GeoPoint.prototype.toObject=function(i){return proto.viam.common.v1.GeoPoint.toObject(i,this)},proto.viam.common.v1.GeoPoint.toObject=function(i,n){var p={latitude:e.Message.getFloatingPointFieldWithDefault(n,1,0),longitude:e.Message.getFloatingPointFieldWithDefault(n,2,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.GeoPoint.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.GeoPoint;return proto.viam.common.v1.GeoPoint.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.GeoPoint.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setLatitude(g);break;case 2:var g=n.readDouble();i.setLongitude(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.GeoPoint.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.GeoPoint.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.GeoPoint.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getLatitude(),p!==0&&n.writeDouble(1,p),p=i.getLongitude(),p!==0&&n.writeDouble(2,p)},proto.viam.common.v1.GeoPoint.prototype.getLatitude=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.GeoPoint.prototype.setLatitude=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.GeoPoint.prototype.getLongitude=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.GeoPoint.prototype.setLongitude=function(i){return e.Message.setProto3FloatField(this,2,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Transform.prototype.toObject=function(i){return proto.viam.common.v1.Transform.toObject(i,this)},proto.viam.common.v1.Transform.toObject=function(i,n){var p,g={referenceFrame:e.Message.getFieldWithDefault(n,1,""),poseInObserverFrame:(p=n.getPoseInObserverFrame())&&proto.viam.common.v1.PoseInFrame.toObject(i,p),physicalObject:(p=n.getPhysicalObject())&&proto.viam.common.v1.Geometry.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.Transform.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Transform;return proto.viam.common.v1.Transform.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Transform.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.PoseInFrame;n.readMessage(g,proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader),i.setPoseInObserverFrame(g);break;case 3:var g=new proto.viam.common.v1.Geometry;n.readMessage(g,proto.viam.common.v1.Geometry.deserializeBinaryFromReader),i.setPhysicalObject(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Transform.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Transform.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Transform.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getPoseInObserverFrame(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter),p=i.getPhysicalObject(),p!=null&&n.writeMessage(3,p,proto.viam.common.v1.Geometry.serializeBinaryToWriter)},proto.viam.common.v1.Transform.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.Transform.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.Transform.prototype.getPoseInObserverFrame=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.PoseInFrame,2)},proto.viam.common.v1.Transform.prototype.setPoseInObserverFrame=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.Transform.prototype.clearPoseInObserverFrame=function(){return this.setPoseInObserverFrame(void 0)},proto.viam.common.v1.Transform.prototype.hasPoseInObserverFrame=function(){return e.Message.getField(this,2)!=null},proto.viam.common.v1.Transform.prototype.getPhysicalObject=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Geometry,3)},proto.viam.common.v1.Transform.prototype.setPhysicalObject=function(i){return e.Message.setWrapperField(this,3,i)},proto.viam.common.v1.Transform.prototype.clearPhysicalObject=function(){return this.setPhysicalObject(void 0)},proto.viam.common.v1.Transform.prototype.hasPhysicalObject=function(){return e.Message.getField(this,3)!=null},proto.viam.common.v1.WorldState.repeatedFields_=[1,3],e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.WorldState.prototype.toObject=function(i){return proto.viam.common.v1.WorldState.toObject(i,this)},proto.viam.common.v1.WorldState.toObject=function(i,n){var p={obstaclesList:e.Message.toObjectList(n.getObstaclesList(),proto.viam.common.v1.GeometriesInFrame.toObject,i),transformsList:e.Message.toObjectList(n.getTransformsList(),proto.viam.common.v1.Transform.toObject,i)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.WorldState.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.WorldState;return proto.viam.common.v1.WorldState.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.WorldState.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.GeometriesInFrame;n.readMessage(g,proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader),i.addObstacles(g);break;case 3:var g=new proto.viam.common.v1.Transform;n.readMessage(g,proto.viam.common.v1.Transform.deserializeBinaryFromReader),i.addTransforms(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.WorldState.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.WorldState.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.WorldState.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getObstaclesList(),p.length>0&&n.writeRepeatedMessage(1,p,proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter),p=i.getTransformsList(),p.length>0&&n.writeRepeatedMessage(3,p,proto.viam.common.v1.Transform.serializeBinaryToWriter)},proto.viam.common.v1.WorldState.prototype.getObstaclesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.GeometriesInFrame,1)},proto.viam.common.v1.WorldState.prototype.setObstaclesList=function(i){return e.Message.setRepeatedWrapperField(this,1,i)},proto.viam.common.v1.WorldState.prototype.addObstacles=function(i,n){return e.Message.addToRepeatedWrapperField(this,1,i,proto.viam.common.v1.GeometriesInFrame,n)},proto.viam.common.v1.WorldState.prototype.clearObstaclesList=function(){return this.setObstaclesList([])},proto.viam.common.v1.WorldState.prototype.getTransformsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.Transform,3)},proto.viam.common.v1.WorldState.prototype.setTransformsList=function(i){return e.Message.setRepeatedWrapperField(this,3,i)},proto.viam.common.v1.WorldState.prototype.addTransforms=function(i,n){return e.Message.addToRepeatedWrapperField(this,3,i,proto.viam.common.v1.Transform,n)},proto.viam.common.v1.WorldState.prototype.clearTransformsList=function(){return this.setTransformsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.ActuatorStatus.prototype.toObject=function(i){return proto.viam.common.v1.ActuatorStatus.toObject(i,this)},proto.viam.common.v1.ActuatorStatus.toObject=function(i,n){var p={isMoving:e.Message.getBooleanFieldWithDefault(n,1,!1)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.ActuatorStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.ActuatorStatus;return proto.viam.common.v1.ActuatorStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.ActuatorStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readBool();i.setIsMoving(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.ActuatorStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.ActuatorStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.ActuatorStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getIsMoving(),p&&n.writeBool(1,p)},proto.viam.common.v1.ActuatorStatus.prototype.getIsMoving=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.viam.common.v1.ActuatorStatus.prototype.setIsMoving=function(i){return e.Message.setProto3BooleanField(this,1,i)},proto.viam.common.v1.safetyHeartbeatMonitored=new e.ExtensionFieldInfo(84260,{safetyHeartbeatMonitored:0},null,null,0),t.MethodOptions.extensionsBinary[84260]=new e.ExtensionFieldBinaryInfo(proto.viam.common.v1.safetyHeartbeatMonitored,e.BinaryReader.prototype.readBool,e.BinaryWriter.prototype.writeBool,void 0,void 0,!1),t.MethodOptions.extensions[84260]=proto.viam.common.v1.safetyHeartbeatMonitored,r.object.extend(o,proto.viam.common.v1)}(common_pb$f);var annotations_pb$i={},http_pb$i={};(function(o){var e=googleProtobuf$l,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null);r.exportSymbol("proto.google.api.CustomHttpPattern",null,s),r.exportSymbol("proto.google.api.Http",null,s),r.exportSymbol("proto.google.api.HttpRule",null,s),r.exportSymbol("proto.google.api.HttpRule.PatternCase",null,s),proto.google.api.Http=function(t){e.Message.initialize(this,t,0,-1,proto.google.api.Http.repeatedFields_,null)},r.inherits(proto.google.api.Http,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.Http.displayName="proto.google.api.Http"),proto.google.api.HttpRule=function(t){e.Message.initialize(this,t,0,-1,proto.google.api.HttpRule.repeatedFields_,proto.google.api.HttpRule.oneofGroups_)},r.inherits(proto.google.api.HttpRule,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.HttpRule.displayName="proto.google.api.HttpRule"),proto.google.api.CustomHttpPattern=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.api.CustomHttpPattern,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.CustomHttpPattern.displayName="proto.google.api.CustomHttpPattern"),proto.google.api.Http.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.api.Http.prototype.toObject=function(t){return proto.google.api.Http.toObject(t,this)},proto.google.api.Http.toObject=function(t,i){var n={rulesList:e.Message.toObjectList(i.getRulesList(),proto.google.api.HttpRule.toObject,t),fullyDecodeReservedExpansion:e.Message.getBooleanFieldWithDefault(i,2,!1)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.api.Http.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.Http;return proto.google.api.Http.deserializeBinaryFromReader(n,i)},proto.google.api.Http.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.api.HttpRule;i.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),t.addRules(p);break;case 2:var p=i.readBool();t.setFullyDecodeReservedExpansion(p);break;default:i.skipField();break}}return t},proto.google.api.Http.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.Http.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.Http.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getRulesList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.api.HttpRule.serializeBinaryToWriter),n=t.getFullyDecodeReservedExpansion(),n&&i.writeBool(2,n)},proto.google.api.Http.prototype.getRulesList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,1)},proto.google.api.Http.prototype.setRulesList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.api.Http.prototype.addRules=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.api.HttpRule,i)},proto.google.api.Http.prototype.clearRulesList=function(){return this.setRulesList([])},proto.google.api.Http.prototype.getFullyDecodeReservedExpansion=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.api.Http.prototype.setFullyDecodeReservedExpansion=function(t){return e.Message.setProto3BooleanField(this,2,t)},proto.google.api.HttpRule.repeatedFields_=[11],proto.google.api.HttpRule.oneofGroups_=[[2,3,4,5,6,8]],proto.google.api.HttpRule.PatternCase={PATTERN_NOT_SET:0,GET:2,PUT:3,POST:4,DELETE:5,PATCH:6,CUSTOM:8},proto.google.api.HttpRule.prototype.getPatternCase=function(){return e.Message.computeOneofCase(this,proto.google.api.HttpRule.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.google.api.HttpRule.prototype.toObject=function(t){return proto.google.api.HttpRule.toObject(t,this)},proto.google.api.HttpRule.toObject=function(t,i){var n,p={selector:e.Message.getFieldWithDefault(i,1,""),get:e.Message.getFieldWithDefault(i,2,""),put:e.Message.getFieldWithDefault(i,3,""),post:e.Message.getFieldWithDefault(i,4,""),pb_delete:e.Message.getFieldWithDefault(i,5,""),patch:e.Message.getFieldWithDefault(i,6,""),custom:(n=i.getCustom())&&proto.google.api.CustomHttpPattern.toObject(t,n),body:e.Message.getFieldWithDefault(i,7,""),responseBody:e.Message.getFieldWithDefault(i,12,""),additionalBindingsList:e.Message.toObjectList(i.getAdditionalBindingsList(),proto.google.api.HttpRule.toObject,t)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.api.HttpRule.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.HttpRule;return proto.google.api.HttpRule.deserializeBinaryFromReader(n,i)},proto.google.api.HttpRule.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setSelector(p);break;case 2:var p=i.readString();t.setGet(p);break;case 3:var p=i.readString();t.setPut(p);break;case 4:var p=i.readString();t.setPost(p);break;case 5:var p=i.readString();t.setDelete(p);break;case 6:var p=i.readString();t.setPatch(p);break;case 8:var p=new proto.google.api.CustomHttpPattern;i.readMessage(p,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader),t.setCustom(p);break;case 7:var p=i.readString();t.setBody(p);break;case 12:var p=i.readString();t.setResponseBody(p);break;case 11:var p=new proto.google.api.HttpRule;i.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),t.addAdditionalBindings(p);break;default:i.skipField();break}}return t},proto.google.api.HttpRule.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.HttpRule.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.HttpRule.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getSelector(),n.length>0&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeString(4,n),n=e.Message.getField(t,5),n!=null&&i.writeString(5,n),n=e.Message.getField(t,6),n!=null&&i.writeString(6,n),n=t.getCustom(),n!=null&&i.writeMessage(8,n,proto.google.api.CustomHttpPattern.serializeBinaryToWriter),n=t.getBody(),n.length>0&&i.writeString(7,n),n=t.getResponseBody(),n.length>0&&i.writeString(12,n),n=t.getAdditionalBindingsList(),n.length>0&&i.writeRepeatedMessage(11,n,proto.google.api.HttpRule.serializeBinaryToWriter)},proto.google.api.HttpRule.prototype.getSelector=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.api.HttpRule.prototype.setSelector=function(t){return e.Message.setProto3StringField(this,1,t)},proto.google.api.HttpRule.prototype.getGet=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.api.HttpRule.prototype.setGet=function(t){return e.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearGet=function(){return e.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasGet=function(){return e.Message.getField(this,2)!=null},proto.google.api.HttpRule.prototype.getPut=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.api.HttpRule.prototype.setPut=function(t){return e.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPut=function(){return e.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPut=function(){return e.Message.getField(this,3)!=null},proto.google.api.HttpRule.prototype.getPost=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.google.api.HttpRule.prototype.setPost=function(t){return e.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPost=function(){return e.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPost=function(){return e.Message.getField(this,4)!=null},proto.google.api.HttpRule.prototype.getDelete=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.google.api.HttpRule.prototype.setDelete=function(t){return e.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearDelete=function(){return e.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasDelete=function(){return e.Message.getField(this,5)!=null},proto.google.api.HttpRule.prototype.getPatch=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.google.api.HttpRule.prototype.setPatch=function(t){return e.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPatch=function(){return e.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPatch=function(){return e.Message.getField(this,6)!=null},proto.google.api.HttpRule.prototype.getCustom=function(){return e.Message.getWrapperField(this,proto.google.api.CustomHttpPattern,8)},proto.google.api.HttpRule.prototype.setCustom=function(t){return e.Message.setOneofWrapperField(this,8,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearCustom=function(){return this.setCustom(void 0)},proto.google.api.HttpRule.prototype.hasCustom=function(){return e.Message.getField(this,8)!=null},proto.google.api.HttpRule.prototype.getBody=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.api.HttpRule.prototype.setBody=function(t){return e.Message.setProto3StringField(this,7,t)},proto.google.api.HttpRule.prototype.getResponseBody=function(){return e.Message.getFieldWithDefault(this,12,"")},proto.google.api.HttpRule.prototype.setResponseBody=function(t){return e.Message.setProto3StringField(this,12,t)},proto.google.api.HttpRule.prototype.getAdditionalBindingsList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,11)},proto.google.api.HttpRule.prototype.setAdditionalBindingsList=function(t){return e.Message.setRepeatedWrapperField(this,11,t)},proto.google.api.HttpRule.prototype.addAdditionalBindings=function(t,i){return e.Message.addToRepeatedWrapperField(this,11,t,proto.google.api.HttpRule,i)},proto.google.api.HttpRule.prototype.clearAdditionalBindingsList=function(){return this.setAdditionalBindingsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.api.CustomHttpPattern.prototype.toObject=function(t){return proto.google.api.CustomHttpPattern.toObject(t,this)},proto.google.api.CustomHttpPattern.toObject=function(t,i){var n={kind:e.Message.getFieldWithDefault(i,1,""),path:e.Message.getFieldWithDefault(i,2,"")};return t&&(n.$jspbMessageInstance=i),n}),proto.google.api.CustomHttpPattern.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.CustomHttpPattern;return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(n,i)},proto.google.api.CustomHttpPattern.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setKind(p);break;case 2:var p=i.readString();t.setPath(p);break;default:i.skipField();break}}return t},proto.google.api.CustomHttpPattern.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.CustomHttpPattern.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getKind(),n.length>0&&i.writeString(1,n),n=t.getPath(),n.length>0&&i.writeString(2,n)},proto.google.api.CustomHttpPattern.prototype.getKind=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.api.CustomHttpPattern.prototype.setKind=function(t){return e.Message.setProto3StringField(this,1,t)},proto.google.api.CustomHttpPattern.prototype.getPath=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.api.CustomHttpPattern.prototype.setPath=function(t){return e.Message.setProto3StringField(this,2,t)},r.object.extend(o,proto.google.api)})(http_pb$i),function(o){var e=googleProtobuf$l,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=http_pb$i;r.object.extend(proto,t);var i=descriptor_pb$j;r.object.extend(proto,i),r.exportSymbol("proto.google.api.http",null,s),proto.google.api.http=new e.ExtensionFieldInfo(72295728,{http:0},t.HttpRule,t.HttpRule.toObject,0),i.MethodOptions.extensionsBinary[72295728]=new e.ExtensionFieldBinaryInfo(proto.google.api.http,e.BinaryReader.prototype.readMessage,e.BinaryWriter.prototype.writeMessage,t.HttpRule.serializeBinaryToWriter,t.HttpRule.deserializeBinaryFromReader,!1),i.MethodOptions.extensions[72295728]=proto.google.api.http,r.object.extend(o,proto.google.api)}(annotations_pb$i);var duration_pb={};(function(o){var e=googleProtobuf$l,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.Duration",null,s),proto.google.protobuf.Duration=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.Duration,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Duration.displayName="proto.google.protobuf.Duration"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Duration.prototype.toObject=function(t){return proto.google.protobuf.Duration.toObject(t,this)},proto.google.protobuf.Duration.toObject=function(t,i){var n={seconds:e.Message.getFieldWithDefault(i,1,0),nanos:e.Message.getFieldWithDefault(i,2,0)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.Duration.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Duration;return proto.google.protobuf.Duration.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Duration.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt64();t.setSeconds(p);break;case 2:var p=i.readInt32();t.setNanos(p);break;default:i.skipField();break}}return t},proto.google.protobuf.Duration.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Duration.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Duration.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getSeconds(),n!==0&&i.writeInt64(1,n),n=t.getNanos(),n!==0&&i.writeInt32(2,n)},proto.google.protobuf.Duration.prototype.getSeconds=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Duration.prototype.setSeconds=function(t){return e.Message.setProto3IntField(this,1,t)},proto.google.protobuf.Duration.prototype.getNanos=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.Duration.prototype.setNanos=function(t){return e.Message.setProto3IntField(this,2,t)},r.object.extend(o,proto.google.protobuf)})(duration_pb);var struct_pb$i={};(function(o){var e=googleProtobuf$l,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.ListValue",null,s),r.exportSymbol("proto.google.protobuf.NullValue",null,s),r.exportSymbol("proto.google.protobuf.Struct",null,s),r.exportSymbol("proto.google.protobuf.Value",null,s),r.exportSymbol("proto.google.protobuf.Value.KindCase",null,s),proto.google.protobuf.Struct=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.Struct,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Struct.displayName="proto.google.protobuf.Struct"),proto.google.protobuf.Value=function(t){e.Message.initialize(this,t,0,-1,null,proto.google.protobuf.Value.oneofGroups_)},r.inherits(proto.google.protobuf.Value,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Value.displayName="proto.google.protobuf.Value"),proto.google.protobuf.ListValue=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.ListValue.repeatedFields_,null)},r.inherits(proto.google.protobuf.ListValue,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ListValue.displayName="proto.google.protobuf.ListValue"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Struct.prototype.toObject=function(t){return proto.google.protobuf.Struct.toObject(t,this)},proto.google.protobuf.Struct.toObject=function(t,i){var n,p={fieldsMap:(n=i.getFieldsMap())?n.toObject(t,proto.google.protobuf.Value.toObject):[]};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.Struct.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Struct;return proto.google.protobuf.Struct.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Struct.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=t.getFieldsMap();i.readMessage(p,function(g,l){e.Map.deserializeBinary(g,l,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.google.protobuf.Value.deserializeBinaryFromReader,"",new proto.google.protobuf.Value)});break;default:i.skipField();break}}return t},proto.google.protobuf.Struct.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Struct.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Struct.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getFieldsMap(!0),n&&n.getLength()>0&&n.serializeBinary(1,i,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.Struct.prototype.getFieldsMap=function(t){return e.Message.getMapField(this,1,t,proto.google.protobuf.Value)},proto.google.protobuf.Struct.prototype.clearFieldsMap=function(){return this.getFieldsMap().clear(),this},proto.google.protobuf.Value.oneofGroups_=[[1,2,3,4,5,6]],proto.google.protobuf.Value.KindCase={KIND_NOT_SET:0,NULL_VALUE:1,NUMBER_VALUE:2,STRING_VALUE:3,BOOL_VALUE:4,STRUCT_VALUE:5,LIST_VALUE:6},proto.google.protobuf.Value.prototype.getKindCase=function(){return e.Message.computeOneofCase(this,proto.google.protobuf.Value.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Value.prototype.toObject=function(t){return proto.google.protobuf.Value.toObject(t,this)},proto.google.protobuf.Value.toObject=function(t,i){var n,p={nullValue:e.Message.getFieldWithDefault(i,1,0),numberValue:e.Message.getFloatingPointFieldWithDefault(i,2,0),stringValue:e.Message.getFieldWithDefault(i,3,""),boolValue:e.Message.getBooleanFieldWithDefault(i,4,!1),structValue:(n=i.getStructValue())&&proto.google.protobuf.Struct.toObject(t,n),listValue:(n=i.getListValue())&&proto.google.protobuf.ListValue.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.Value.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Value;return proto.google.protobuf.Value.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Value.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readEnum();t.setNullValue(p);break;case 2:var p=i.readDouble();t.setNumberValue(p);break;case 3:var p=i.readString();t.setStringValue(p);break;case 4:var p=i.readBool();t.setBoolValue(p);break;case 5:var p=new proto.google.protobuf.Struct;i.readMessage(p,proto.google.protobuf.Struct.deserializeBinaryFromReader),t.setStructValue(p);break;case 6:var p=new proto.google.protobuf.ListValue;i.readMessage(p,proto.google.protobuf.ListValue.deserializeBinaryFromReader),t.setListValue(p);break;default:i.skipField();break}}return t},proto.google.protobuf.Value.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Value.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Value.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeEnum(1,n),n=e.Message.getField(t,2),n!=null&&i.writeDouble(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeBool(4,n),n=t.getStructValue(),n!=null&&i.writeMessage(5,n,proto.google.protobuf.Struct.serializeBinaryToWriter),n=t.getListValue(),n!=null&&i.writeMessage(6,n,proto.google.protobuf.ListValue.serializeBinaryToWriter)},proto.google.protobuf.Value.prototype.getNullValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Value.prototype.setNullValue=function(t){return e.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearNullValue=function(){return e.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNullValue=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.Value.prototype.getNumberValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.google.protobuf.Value.prototype.setNumberValue=function(t){return e.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearNumberValue=function(){return e.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNumberValue=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.Value.prototype.getStringValue=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.Value.prototype.setStringValue=function(t){return e.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearStringValue=function(){return e.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasStringValue=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.Value.prototype.getBoolValue=function(){return e.Message.getBooleanFieldWithDefault(this,4,!1)},proto.google.protobuf.Value.prototype.setBoolValue=function(t){return e.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearBoolValue=function(){return e.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasBoolValue=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.Value.prototype.getStructValue=function(){return e.Message.getWrapperField(this,proto.google.protobuf.Struct,5)},proto.google.protobuf.Value.prototype.setStructValue=function(t){return e.Message.setOneofWrapperField(this,5,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearStructValue=function(){return this.setStructValue(void 0)},proto.google.protobuf.Value.prototype.hasStructValue=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.Value.prototype.getListValue=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ListValue,6)},proto.google.protobuf.Value.prototype.setListValue=function(t){return e.Message.setOneofWrapperField(this,6,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearListValue=function(){return this.setListValue(void 0)},proto.google.protobuf.Value.prototype.hasListValue=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.ListValue.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ListValue.prototype.toObject=function(t){return proto.google.protobuf.ListValue.toObject(t,this)},proto.google.protobuf.ListValue.toObject=function(t,i){var n={valuesList:e.Message.toObjectList(i.getValuesList(),proto.google.protobuf.Value.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ListValue.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ListValue;return proto.google.protobuf.ListValue.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ListValue.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.Value;i.readMessage(p,proto.google.protobuf.Value.deserializeBinaryFromReader),t.addValues(p);break;default:i.skipField();break}}return t},proto.google.protobuf.ListValue.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ListValue.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ListValue.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getValuesList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.ListValue.prototype.getValuesList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.Value,1)},proto.google.protobuf.ListValue.prototype.setValuesList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.ListValue.prototype.addValues=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.Value,i)},proto.google.protobuf.ListValue.prototype.clearValuesList=function(){return this.setValuesList([])},proto.google.protobuf.NullValue={NULL_VALUE:0},r.object.extend(o,proto.google.protobuf),proto.google.protobuf.JavaScriptValue,proto.google.protobuf.Value.prototype.toJavaScript=function(){var t=proto.google.protobuf.Value.KindCase;switch(this.getKindCase()){case t.NULL_VALUE:return null;case t.NUMBER_VALUE:return this.getNumberValue();case t.STRING_VALUE:return this.getStringValue();case t.BOOL_VALUE:return this.getBoolValue();case t.STRUCT_VALUE:return this.getStructValue().toJavaScript();case t.LIST_VALUE:return this.getListValue().toJavaScript();default:throw new Error("Unexpected struct type")}},proto.google.protobuf.Value.fromJavaScript=function(t){var i=new proto.google.protobuf.Value;switch(r.typeOf(t)){case"string":i.setStringValue(t);break;case"number":i.setNumberValue(t);break;case"boolean":i.setBoolValue(t);break;case"null":i.setNullValue(proto.google.protobuf.NullValue.NULL_VALUE);break;case"array":i.setListValue(proto.google.protobuf.ListValue.fromJavaScript(t));break;case"object":i.setStructValue(proto.google.protobuf.Struct.fromJavaScript(t));break;default:throw new Error("Unexpected struct type.")}return i},proto.google.protobuf.ListValue.prototype.toJavaScript=function(){for(var t=[],i=this.getValuesList(),n=0;n<i.length;n++)t[n]=i[n].toJavaScript();return t},proto.google.protobuf.ListValue.fromJavaScript=function(t){for(var i=new proto.google.protobuf.ListValue,n=0;n<t.length;n++)i.addValues(proto.google.protobuf.Value.fromJavaScript(t[n]));return i},proto.google.protobuf.Struct.prototype.toJavaScript=function(){var t={};return this.getFieldsMap().forEach(function(i,n){t[n]=i.toJavaScript()}),t},proto.google.protobuf.Struct.fromJavaScript=function(t){var i=new proto.google.protobuf.Struct,n=i.getFieldsMap();for(var p in t){var g=t[p];n.set(p,proto.google.protobuf.Value.fromJavaScript(g))}return i}})(struct_pb$i);var timestamp_pb$1={};(function(o){var e=googleProtobuf$l,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.Timestamp",null,s),proto.google.protobuf.Timestamp=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.Timestamp,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Timestamp.displayName="proto.google.protobuf.Timestamp"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Timestamp.prototype.toObject=function(t){return proto.google.protobuf.Timestamp.toObject(t,this)},proto.google.protobuf.Timestamp.toObject=function(t,i){var n={seconds:e.Message.getFieldWithDefault(i,1,0),nanos:e.Message.getFieldWithDefault(i,2,0)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.Timestamp.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Timestamp;return proto.google.protobuf.Timestamp.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Timestamp.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt64();t.setSeconds(p);break;case 2:var p=i.readInt32();t.setNanos(p);break;default:i.skipField();break}}return t},proto.google.protobuf.Timestamp.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Timestamp.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Timestamp.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getSeconds(),n!==0&&i.writeInt64(1,n),n=t.getNanos(),n!==0&&i.writeInt32(2,n)},proto.google.protobuf.Timestamp.prototype.getSeconds=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Timestamp.prototype.setSeconds=function(t){return e.Message.setProto3IntField(this,1,t)},proto.google.protobuf.Timestamp.prototype.getNanos=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.Timestamp.prototype.setNanos=function(t){return e.Message.setProto3IntField(this,2,t)},r.object.extend(o,proto.google.protobuf),proto.google.protobuf.Timestamp.prototype.toDate=function(){var t=this.getSeconds(),i=this.getNanos();return new Date(t*1e3+i/1e6)},proto.google.protobuf.Timestamp.prototype.fromDate=function(t){this.setSeconds(Math.floor(t.getTime()/1e3)),this.setNanos(t.getMilliseconds()*1e6)},proto.google.protobuf.Timestamp.fromDate=function(t){var i=new proto.google.protobuf.Timestamp;return i.fromDate(t),i}})(timestamp_pb$1),function(o){var e=googleProtobuf$l,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=common_pb$f;r.object.extend(proto,t);var i=annotations_pb$i;r.object.extend(proto,i);var n=duration_pb;r.object.extend(proto,n);var p=struct_pb$i;r.object.extend(proto,p);var g=timestamp_pb$1;r.object.extend(proto,g),r.exportSymbol("proto.viam.robot.v1.BlockForOperationRequest",null,s),r.exportSymbol("proto.viam.robot.v1.BlockForOperationResponse",null,s),r.exportSymbol("proto.viam.robot.v1.CancelOperationRequest",null,s),r.exportSymbol("proto.viam.robot.v1.CancelOperationResponse",null,s),r.exportSymbol("proto.viam.robot.v1.DiscoverComponentsRequest",null,s),r.exportSymbol("proto.viam.robot.v1.DiscoverComponentsResponse",null,s),r.exportSymbol("proto.viam.robot.v1.Discovery",null,s),r.exportSymbol("proto.viam.robot.v1.DiscoveryQuery",null,s),r.exportSymbol("proto.viam.robot.v1.FrameSystemConfig",null,s),r.exportSymbol("proto.viam.robot.v1.FrameSystemConfigRequest",null,s),r.exportSymbol("proto.viam.robot.v1.FrameSystemConfigResponse",null,s),r.exportSymbol("proto.viam.robot.v1.GetOperationsRequest",null,s),r.exportSymbol("proto.viam.robot.v1.GetOperationsResponse",null,s),r.exportSymbol("proto.viam.robot.v1.GetSessionsRequest",null,s),r.exportSymbol("proto.viam.robot.v1.GetSessionsResponse",null,s),r.exportSymbol("proto.viam.robot.v1.GetStatusRequest",null,s),r.exportSymbol("proto.viam.robot.v1.GetStatusResponse",null,s),r.exportSymbol("proto.viam.robot.v1.Operation",null,s),r.exportSymbol("proto.viam.robot.v1.PeerConnectionInfo",null,s),r.exportSymbol("proto.viam.robot.v1.PeerConnectionType",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceNamesRequest",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceNamesResponse",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtype",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtypesRequest",null,s),r.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtypesResponse",null,s),r.exportSymbol("proto.viam.robot.v1.SendSessionHeartbeatRequest",null,s),r.exportSymbol("proto.viam.robot.v1.SendSessionHeartbeatResponse",null,s),r.exportSymbol("proto.viam.robot.v1.Session",null,s),r.exportSymbol("proto.viam.robot.v1.StartSessionRequest",null,s),r.exportSymbol("proto.viam.robot.v1.StartSessionResponse",null,s),r.exportSymbol("proto.viam.robot.v1.Status",null,s),r.exportSymbol("proto.viam.robot.v1.StopAllRequest",null,s),r.exportSymbol("proto.viam.robot.v1.StopAllResponse",null,s),r.exportSymbol("proto.viam.robot.v1.StopExtraParameters",null,s),r.exportSymbol("proto.viam.robot.v1.StreamStatusRequest",null,s),r.exportSymbol("proto.viam.robot.v1.StreamStatusResponse",null,s),r.exportSymbol("proto.viam.robot.v1.TransformPCDRequest",null,s),r.exportSymbol("proto.viam.robot.v1.TransformPCDResponse",null,s),r.exportSymbol("proto.viam.robot.v1.TransformPoseRequest",null,s),r.exportSymbol("proto.viam.robot.v1.TransformPoseResponse",null,s),proto.viam.robot.v1.FrameSystemConfig=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.FrameSystemConfig,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.FrameSystemConfig.displayName="proto.viam.robot.v1.FrameSystemConfig"),proto.viam.robot.v1.FrameSystemConfigRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.FrameSystemConfigRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.FrameSystemConfigRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.FrameSystemConfigRequest.displayName="proto.viam.robot.v1.FrameSystemConfigRequest"),proto.viam.robot.v1.FrameSystemConfigResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.FrameSystemConfigResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.FrameSystemConfigResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.FrameSystemConfigResponse.displayName="proto.viam.robot.v1.FrameSystemConfigResponse"),proto.viam.robot.v1.TransformPoseRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.TransformPoseRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.TransformPoseRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.TransformPoseRequest.displayName="proto.viam.robot.v1.TransformPoseRequest"),proto.viam.robot.v1.TransformPoseResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.TransformPoseResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.TransformPoseResponse.displayName="proto.viam.robot.v1.TransformPoseResponse"),proto.viam.robot.v1.TransformPCDRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.TransformPCDRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.TransformPCDRequest.displayName="proto.viam.robot.v1.TransformPCDRequest"),proto.viam.robot.v1.TransformPCDResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.TransformPCDResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.TransformPCDResponse.displayName="proto.viam.robot.v1.TransformPCDResponse"),proto.viam.robot.v1.ResourceNamesRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.ResourceNamesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceNamesRequest.displayName="proto.viam.robot.v1.ResourceNamesRequest"),proto.viam.robot.v1.ResourceNamesResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.ResourceNamesResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.ResourceNamesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceNamesResponse.displayName="proto.viam.robot.v1.ResourceNamesResponse"),proto.viam.robot.v1.ResourceRPCSubtype=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.ResourceRPCSubtype,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceRPCSubtype.displayName="proto.viam.robot.v1.ResourceRPCSubtype"),proto.viam.robot.v1.ResourceRPCSubtypesRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.ResourceRPCSubtypesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceRPCSubtypesRequest.displayName="proto.viam.robot.v1.ResourceRPCSubtypesRequest"),proto.viam.robot.v1.ResourceRPCSubtypesResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.ResourceRPCSubtypesResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.ResourceRPCSubtypesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.ResourceRPCSubtypesResponse.displayName="proto.viam.robot.v1.ResourceRPCSubtypesResponse"),proto.viam.robot.v1.Operation=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.Operation,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.Operation.displayName="proto.viam.robot.v1.Operation"),proto.viam.robot.v1.GetOperationsRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.GetOperationsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetOperationsRequest.displayName="proto.viam.robot.v1.GetOperationsRequest"),proto.viam.robot.v1.GetOperationsResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.GetOperationsResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.GetOperationsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetOperationsResponse.displayName="proto.viam.robot.v1.GetOperationsResponse"),proto.viam.robot.v1.CancelOperationRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.CancelOperationRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.CancelOperationRequest.displayName="proto.viam.robot.v1.CancelOperationRequest"),proto.viam.robot.v1.CancelOperationResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.CancelOperationResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.CancelOperationResponse.displayName="proto.viam.robot.v1.CancelOperationResponse"),proto.viam.robot.v1.BlockForOperationRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.BlockForOperationRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.BlockForOperationRequest.displayName="proto.viam.robot.v1.BlockForOperationRequest"),proto.viam.robot.v1.BlockForOperationResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.BlockForOperationResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.BlockForOperationResponse.displayName="proto.viam.robot.v1.BlockForOperationResponse"),proto.viam.robot.v1.PeerConnectionInfo=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.PeerConnectionInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.PeerConnectionInfo.displayName="proto.viam.robot.v1.PeerConnectionInfo"),proto.viam.robot.v1.Session=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.Session,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.Session.displayName="proto.viam.robot.v1.Session"),proto.viam.robot.v1.GetSessionsRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.GetSessionsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetSessionsRequest.displayName="proto.viam.robot.v1.GetSessionsRequest"),proto.viam.robot.v1.GetSessionsResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.GetSessionsResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.GetSessionsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetSessionsResponse.displayName="proto.viam.robot.v1.GetSessionsResponse"),proto.viam.robot.v1.DiscoveryQuery=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.DiscoveryQuery,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.DiscoveryQuery.displayName="proto.viam.robot.v1.DiscoveryQuery"),proto.viam.robot.v1.Discovery=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.Discovery,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.Discovery.displayName="proto.viam.robot.v1.Discovery"),proto.viam.robot.v1.DiscoverComponentsRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.DiscoverComponentsRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.DiscoverComponentsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.DiscoverComponentsRequest.displayName="proto.viam.robot.v1.DiscoverComponentsRequest"),proto.viam.robot.v1.DiscoverComponentsResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.DiscoverComponentsResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.DiscoverComponentsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.DiscoverComponentsResponse.displayName="proto.viam.robot.v1.DiscoverComponentsResponse"),proto.viam.robot.v1.Status=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.Status,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.Status.displayName="proto.viam.robot.v1.Status"),proto.viam.robot.v1.GetStatusRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.GetStatusRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.GetStatusRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetStatusRequest.displayName="proto.viam.robot.v1.GetStatusRequest"),proto.viam.robot.v1.GetStatusResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.GetStatusResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.GetStatusResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.GetStatusResponse.displayName="proto.viam.robot.v1.GetStatusResponse"),proto.viam.robot.v1.StreamStatusRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.StreamStatusRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.StreamStatusRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StreamStatusRequest.displayName="proto.viam.robot.v1.StreamStatusRequest"),proto.viam.robot.v1.StreamStatusResponse=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.StreamStatusResponse.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.StreamStatusResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StreamStatusResponse.displayName="proto.viam.robot.v1.StreamStatusResponse"),proto.viam.robot.v1.StopExtraParameters=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.StopExtraParameters,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StopExtraParameters.displayName="proto.viam.robot.v1.StopExtraParameters"),proto.viam.robot.v1.StopAllRequest=function(l){e.Message.initialize(this,l,0,-1,proto.viam.robot.v1.StopAllRequest.repeatedFields_,null)},r.inherits(proto.viam.robot.v1.StopAllRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StopAllRequest.displayName="proto.viam.robot.v1.StopAllRequest"),proto.viam.robot.v1.StopAllResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.StopAllResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StopAllResponse.displayName="proto.viam.robot.v1.StopAllResponse"),proto.viam.robot.v1.StartSessionRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.StartSessionRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StartSessionRequest.displayName="proto.viam.robot.v1.StartSessionRequest"),proto.viam.robot.v1.StartSessionResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.StartSessionResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.StartSessionResponse.displayName="proto.viam.robot.v1.StartSessionResponse"),proto.viam.robot.v1.SendSessionHeartbeatRequest=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.SendSessionHeartbeatRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.SendSessionHeartbeatRequest.displayName="proto.viam.robot.v1.SendSessionHeartbeatRequest"),proto.viam.robot.v1.SendSessionHeartbeatResponse=function(l){e.Message.initialize(this,l,0,-1,null,null)},r.inherits(proto.viam.robot.v1.SendSessionHeartbeatResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.robot.v1.SendSessionHeartbeatResponse.displayName="proto.viam.robot.v1.SendSessionHeartbeatResponse"),e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.FrameSystemConfig.prototype.toObject=function(l){return proto.viam.robot.v1.FrameSystemConfig.toObject(l,this)},proto.viam.robot.v1.FrameSystemConfig.toObject=function(l,u){var c,y={frame:(c=u.getFrame())&&t.Transform.toObject(l,c),kinematics:(c=u.getKinematics())&&p.Struct.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.FrameSystemConfig.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.FrameSystemConfig;return proto.viam.robot.v1.FrameSystemConfig.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.FrameSystemConfig.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.Transform;u.readMessage(y,t.Transform.deserializeBinaryFromReader),l.setFrame(y);break;case 2:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setKinematics(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.FrameSystemConfig.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.FrameSystemConfig.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.FrameSystemConfig.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getFrame(),c!=null&&u.writeMessage(1,c,t.Transform.serializeBinaryToWriter),c=l.getKinematics(),c!=null&&u.writeMessage(2,c,p.Struct.serializeBinaryToWriter)},proto.viam.robot.v1.FrameSystemConfig.prototype.getFrame=function(){return e.Message.getWrapperField(this,t.Transform,1)},proto.viam.robot.v1.FrameSystemConfig.prototype.setFrame=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.FrameSystemConfig.prototype.clearFrame=function(){return this.setFrame(void 0)},proto.viam.robot.v1.FrameSystemConfig.prototype.hasFrame=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.FrameSystemConfig.prototype.getKinematics=function(){return e.Message.getWrapperField(this,p.Struct,2)},proto.viam.robot.v1.FrameSystemConfig.prototype.setKinematics=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.FrameSystemConfig.prototype.clearKinematics=function(){return this.setKinematics(void 0)},proto.viam.robot.v1.FrameSystemConfig.prototype.hasKinematics=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.FrameSystemConfigRequest.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.FrameSystemConfigRequest.prototype.toObject=function(l){return proto.viam.robot.v1.FrameSystemConfigRequest.toObject(l,this)},proto.viam.robot.v1.FrameSystemConfigRequest.toObject=function(l,u){var c={supplementalTransformsList:e.Message.toObjectList(u.getSupplementalTransformsList(),t.Transform.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.FrameSystemConfigRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.FrameSystemConfigRequest;return proto.viam.robot.v1.FrameSystemConfigRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.FrameSystemConfigRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.Transform;u.readMessage(y,t.Transform.deserializeBinaryFromReader),l.addSupplementalTransforms(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.FrameSystemConfigRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.FrameSystemConfigRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSupplementalTransformsList(),c.length>0&&u.writeRepeatedMessage(1,c,t.Transform.serializeBinaryToWriter)},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.getSupplementalTransformsList=function(){return e.Message.getRepeatedWrapperField(this,t.Transform,1)},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.setSupplementalTransformsList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.addSupplementalTransforms=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.common.v1.Transform,u)},proto.viam.robot.v1.FrameSystemConfigRequest.prototype.clearSupplementalTransformsList=function(){return this.setSupplementalTransformsList([])},proto.viam.robot.v1.FrameSystemConfigResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.FrameSystemConfigResponse.prototype.toObject=function(l){return proto.viam.robot.v1.FrameSystemConfigResponse.toObject(l,this)},proto.viam.robot.v1.FrameSystemConfigResponse.toObject=function(l,u){var c={frameSystemConfigsList:e.Message.toObjectList(u.getFrameSystemConfigsList(),proto.viam.robot.v1.FrameSystemConfig.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.FrameSystemConfigResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.FrameSystemConfigResponse;return proto.viam.robot.v1.FrameSystemConfigResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.FrameSystemConfigResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.FrameSystemConfig;u.readMessage(y,proto.viam.robot.v1.FrameSystemConfig.deserializeBinaryFromReader),l.addFrameSystemConfigs(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.FrameSystemConfigResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.FrameSystemConfigResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getFrameSystemConfigsList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.FrameSystemConfig.serializeBinaryToWriter)},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.getFrameSystemConfigsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.FrameSystemConfig,1)},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.setFrameSystemConfigsList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.addFrameSystemConfigs=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.FrameSystemConfig,u)},proto.viam.robot.v1.FrameSystemConfigResponse.prototype.clearFrameSystemConfigsList=function(){return this.setFrameSystemConfigsList([])},proto.viam.robot.v1.TransformPoseRequest.repeatedFields_=[3],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.TransformPoseRequest.prototype.toObject=function(l){return proto.viam.robot.v1.TransformPoseRequest.toObject(l,this)},proto.viam.robot.v1.TransformPoseRequest.toObject=function(l,u){var c,y={source:(c=u.getSource())&&t.PoseInFrame.toObject(l,c),destination:e.Message.getFieldWithDefault(u,2,""),supplementalTransformsList:e.Message.toObjectList(u.getSupplementalTransformsList(),t.Transform.toObject,l)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.TransformPoseRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.TransformPoseRequest;return proto.viam.robot.v1.TransformPoseRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.TransformPoseRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.PoseInFrame;u.readMessage(y,t.PoseInFrame.deserializeBinaryFromReader),l.setSource(y);break;case 2:var y=u.readString();l.setDestination(y);break;case 3:var y=new t.Transform;u.readMessage(y,t.Transform.deserializeBinaryFromReader),l.addSupplementalTransforms(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.TransformPoseRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.TransformPoseRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.TransformPoseRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSource(),c!=null&&u.writeMessage(1,c,t.PoseInFrame.serializeBinaryToWriter),c=l.getDestination(),c.length>0&&u.writeString(2,c),c=l.getSupplementalTransformsList(),c.length>0&&u.writeRepeatedMessage(3,c,t.Transform.serializeBinaryToWriter)},proto.viam.robot.v1.TransformPoseRequest.prototype.getSource=function(){return e.Message.getWrapperField(this,t.PoseInFrame,1)},proto.viam.robot.v1.TransformPoseRequest.prototype.setSource=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.TransformPoseRequest.prototype.clearSource=function(){return this.setSource(void 0)},proto.viam.robot.v1.TransformPoseRequest.prototype.hasSource=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.TransformPoseRequest.prototype.getDestination=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.TransformPoseRequest.prototype.setDestination=function(l){return e.Message.setProto3StringField(this,2,l)},proto.viam.robot.v1.TransformPoseRequest.prototype.getSupplementalTransformsList=function(){return e.Message.getRepeatedWrapperField(this,t.Transform,3)},proto.viam.robot.v1.TransformPoseRequest.prototype.setSupplementalTransformsList=function(l){return e.Message.setRepeatedWrapperField(this,3,l)},proto.viam.robot.v1.TransformPoseRequest.prototype.addSupplementalTransforms=function(l,u){return e.Message.addToRepeatedWrapperField(this,3,l,proto.viam.common.v1.Transform,u)},proto.viam.robot.v1.TransformPoseRequest.prototype.clearSupplementalTransformsList=function(){return this.setSupplementalTransformsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.TransformPoseResponse.prototype.toObject=function(l){return proto.viam.robot.v1.TransformPoseResponse.toObject(l,this)},proto.viam.robot.v1.TransformPoseResponse.toObject=function(l,u){var c,y={pose:(c=u.getPose())&&t.PoseInFrame.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.TransformPoseResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.TransformPoseResponse;return proto.viam.robot.v1.TransformPoseResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.TransformPoseResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.PoseInFrame;u.readMessage(y,t.PoseInFrame.deserializeBinaryFromReader),l.setPose(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.TransformPoseResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.TransformPoseResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.TransformPoseResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getPose(),c!=null&&u.writeMessage(1,c,t.PoseInFrame.serializeBinaryToWriter)},proto.viam.robot.v1.TransformPoseResponse.prototype.getPose=function(){return e.Message.getWrapperField(this,t.PoseInFrame,1)},proto.viam.robot.v1.TransformPoseResponse.prototype.setPose=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.TransformPoseResponse.prototype.clearPose=function(){return this.setPose(void 0)},proto.viam.robot.v1.TransformPoseResponse.prototype.hasPose=function(){return e.Message.getField(this,1)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.TransformPCDRequest.prototype.toObject=function(l){return proto.viam.robot.v1.TransformPCDRequest.toObject(l,this)},proto.viam.robot.v1.TransformPCDRequest.toObject=function(l,u){var c={pointCloudPcd:u.getPointCloudPcd_asB64(),source:e.Message.getFieldWithDefault(u,2,""),destination:e.Message.getFieldWithDefault(u,3,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.TransformPCDRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.TransformPCDRequest;return proto.viam.robot.v1.TransformPCDRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.TransformPCDRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readBytes();l.setPointCloudPcd(y);break;case 2:var y=u.readString();l.setSource(y);break;case 3:var y=u.readString();l.setDestination(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.TransformPCDRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.TransformPCDRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.TransformPCDRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getPointCloudPcd_asU8(),c.length>0&&u.writeBytes(1,c),c=l.getSource(),c.length>0&&u.writeString(2,c),c=l.getDestination(),c.length>0&&u.writeString(3,c)},proto.viam.robot.v1.TransformPCDRequest.prototype.getPointCloudPcd=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.TransformPCDRequest.prototype.getPointCloudPcd_asB64=function(){return e.Message.bytesAsB64(this.getPointCloudPcd())},proto.viam.robot.v1.TransformPCDRequest.prototype.getPointCloudPcd_asU8=function(){return e.Message.bytesAsU8(this.getPointCloudPcd())},proto.viam.robot.v1.TransformPCDRequest.prototype.setPointCloudPcd=function(l){return e.Message.setProto3BytesField(this,1,l)},proto.viam.robot.v1.TransformPCDRequest.prototype.getSource=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.TransformPCDRequest.prototype.setSource=function(l){return e.Message.setProto3StringField(this,2,l)},proto.viam.robot.v1.TransformPCDRequest.prototype.getDestination=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.robot.v1.TransformPCDRequest.prototype.setDestination=function(l){return e.Message.setProto3StringField(this,3,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.TransformPCDResponse.prototype.toObject=function(l){return proto.viam.robot.v1.TransformPCDResponse.toObject(l,this)},proto.viam.robot.v1.TransformPCDResponse.toObject=function(l,u){var c={pointCloudPcd:u.getPointCloudPcd_asB64()};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.TransformPCDResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.TransformPCDResponse;return proto.viam.robot.v1.TransformPCDResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.TransformPCDResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readBytes();l.setPointCloudPcd(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.TransformPCDResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.TransformPCDResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.TransformPCDResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getPointCloudPcd_asU8(),c.length>0&&u.writeBytes(1,c)},proto.viam.robot.v1.TransformPCDResponse.prototype.getPointCloudPcd=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.TransformPCDResponse.prototype.getPointCloudPcd_asB64=function(){return e.Message.bytesAsB64(this.getPointCloudPcd())},proto.viam.robot.v1.TransformPCDResponse.prototype.getPointCloudPcd_asU8=function(){return e.Message.bytesAsU8(this.getPointCloudPcd())},proto.viam.robot.v1.TransformPCDResponse.prototype.setPointCloudPcd=function(l){return e.Message.setProto3BytesField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceNamesRequest.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceNamesRequest.toObject(l,this)},proto.viam.robot.v1.ResourceNamesRequest.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.ResourceNamesRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceNamesRequest;return proto.viam.robot.v1.ResourceNamesRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceNamesRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceNamesRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceNamesRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceNamesRequest.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.ResourceNamesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceNamesResponse.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceNamesResponse.toObject(l,this)},proto.viam.robot.v1.ResourceNamesResponse.toObject=function(l,u){var c={resourcesList:e.Message.toObjectList(u.getResourcesList(),t.ResourceName.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.ResourceNamesResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceNamesResponse;return proto.viam.robot.v1.ResourceNamesResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceNamesResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.addResources(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceNamesResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceNamesResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceNamesResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResourcesList(),c.length>0&&u.writeRepeatedMessage(1,c,t.ResourceName.serializeBinaryToWriter)},proto.viam.robot.v1.ResourceNamesResponse.prototype.getResourcesList=function(){return e.Message.getRepeatedWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.ResourceNamesResponse.prototype.setResourcesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.ResourceNamesResponse.prototype.addResources=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.common.v1.ResourceName,u)},proto.viam.robot.v1.ResourceNamesResponse.prototype.clearResourcesList=function(){return this.setResourcesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceRPCSubtype.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceRPCSubtype.toObject(l,this)},proto.viam.robot.v1.ResourceRPCSubtype.toObject=function(l,u){var c,y={subtype:(c=u.getSubtype())&&t.ResourceName.toObject(l,c),protoService:e.Message.getFieldWithDefault(u,2,"")};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.ResourceRPCSubtype.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceRPCSubtype;return proto.viam.robot.v1.ResourceRPCSubtype.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceRPCSubtype.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.setSubtype(y);break;case 2:var y=u.readString();l.setProtoService(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceRPCSubtype.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceRPCSubtype.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceRPCSubtype.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSubtype(),c!=null&&u.writeMessage(1,c,t.ResourceName.serializeBinaryToWriter),c=l.getProtoService(),c.length>0&&u.writeString(2,c)},proto.viam.robot.v1.ResourceRPCSubtype.prototype.getSubtype=function(){return e.Message.getWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.ResourceRPCSubtype.prototype.setSubtype=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.ResourceRPCSubtype.prototype.clearSubtype=function(){return this.setSubtype(void 0)},proto.viam.robot.v1.ResourceRPCSubtype.prototype.hasSubtype=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.ResourceRPCSubtype.prototype.getProtoService=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.ResourceRPCSubtype.prototype.setProtoService=function(l){return e.Message.setProto3StringField(this,2,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceRPCSubtypesRequest.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceRPCSubtypesRequest.toObject(l,this)},proto.viam.robot.v1.ResourceRPCSubtypesRequest.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.ResourceRPCSubtypesRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceRPCSubtypesRequest;return proto.viam.robot.v1.ResourceRPCSubtypesRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceRPCSubtypesRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceRPCSubtypesRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceRPCSubtypesRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceRPCSubtypesRequest.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.ResourceRPCSubtypesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.toObject=function(l){return proto.viam.robot.v1.ResourceRPCSubtypesResponse.toObject(l,this)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.toObject=function(l,u){var c={resourceRpcSubtypesList:e.Message.toObjectList(u.getResourceRpcSubtypesList(),proto.viam.robot.v1.ResourceRPCSubtype.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.ResourceRPCSubtypesResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.ResourceRPCSubtypesResponse;return proto.viam.robot.v1.ResourceRPCSubtypesResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.ResourceRPCSubtype;u.readMessage(y,proto.viam.robot.v1.ResourceRPCSubtype.deserializeBinaryFromReader),l.addResourceRpcSubtypes(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.ResourceRPCSubtypesResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.ResourceRPCSubtypesResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResourceRpcSubtypesList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.ResourceRPCSubtype.serializeBinaryToWriter)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.getResourceRpcSubtypesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.ResourceRPCSubtype,1)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.setResourceRpcSubtypesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.addResourceRpcSubtypes=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.ResourceRPCSubtype,u)},proto.viam.robot.v1.ResourceRPCSubtypesResponse.prototype.clearResourceRpcSubtypesList=function(){return this.setResourceRpcSubtypesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.Operation.prototype.toObject=function(l){return proto.viam.robot.v1.Operation.toObject(l,this)},proto.viam.robot.v1.Operation.toObject=function(l,u){var c,y={id:e.Message.getFieldWithDefault(u,1,""),method:e.Message.getFieldWithDefault(u,2,""),arguments:(c=u.getArguments())&&p.Struct.toObject(l,c),started:(c=u.getStarted())&&g.Timestamp.toObject(l,c),sessionId:e.Message.getFieldWithDefault(u,5,"")};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.Operation.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.Operation;return proto.viam.robot.v1.Operation.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.Operation.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;case 2:var y=u.readString();l.setMethod(y);break;case 3:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setArguments(y);break;case 4:var y=new g.Timestamp;u.readMessage(y,g.Timestamp.deserializeBinaryFromReader),l.setStarted(y);break;case 5:var y=u.readString();l.setSessionId(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.Operation.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.Operation.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.Operation.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c),c=l.getMethod(),c.length>0&&u.writeString(2,c),c=l.getArguments(),c!=null&&u.writeMessage(3,c,p.Struct.serializeBinaryToWriter),c=l.getStarted(),c!=null&&u.writeMessage(4,c,g.Timestamp.serializeBinaryToWriter),c=e.Message.getField(l,5),c!=null&&u.writeString(5,c)},proto.viam.robot.v1.Operation.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.Operation.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},proto.viam.robot.v1.Operation.prototype.getMethod=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.Operation.prototype.setMethod=function(l){return e.Message.setProto3StringField(this,2,l)},proto.viam.robot.v1.Operation.prototype.getArguments=function(){return e.Message.getWrapperField(this,p.Struct,3)},proto.viam.robot.v1.Operation.prototype.setArguments=function(l){return e.Message.setWrapperField(this,3,l)},proto.viam.robot.v1.Operation.prototype.clearArguments=function(){return this.setArguments(void 0)},proto.viam.robot.v1.Operation.prototype.hasArguments=function(){return e.Message.getField(this,3)!=null},proto.viam.robot.v1.Operation.prototype.getStarted=function(){return e.Message.getWrapperField(this,g.Timestamp,4)},proto.viam.robot.v1.Operation.prototype.setStarted=function(l){return e.Message.setWrapperField(this,4,l)},proto.viam.robot.v1.Operation.prototype.clearStarted=function(){return this.setStarted(void 0)},proto.viam.robot.v1.Operation.prototype.hasStarted=function(){return e.Message.getField(this,4)!=null},proto.viam.robot.v1.Operation.prototype.getSessionId=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.viam.robot.v1.Operation.prototype.setSessionId=function(l){return e.Message.setField(this,5,l)},proto.viam.robot.v1.Operation.prototype.clearSessionId=function(){return e.Message.setField(this,5,void 0)},proto.viam.robot.v1.Operation.prototype.hasSessionId=function(){return e.Message.getField(this,5)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetOperationsRequest.prototype.toObject=function(l){return proto.viam.robot.v1.GetOperationsRequest.toObject(l,this)},proto.viam.robot.v1.GetOperationsRequest.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetOperationsRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetOperationsRequest;return proto.viam.robot.v1.GetOperationsRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetOperationsRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.GetOperationsRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetOperationsRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetOperationsRequest.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.GetOperationsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetOperationsResponse.prototype.toObject=function(l){return proto.viam.robot.v1.GetOperationsResponse.toObject(l,this)},proto.viam.robot.v1.GetOperationsResponse.toObject=function(l,u){var c={operationsList:e.Message.toObjectList(u.getOperationsList(),proto.viam.robot.v1.Operation.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetOperationsResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetOperationsResponse;return proto.viam.robot.v1.GetOperationsResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetOperationsResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Operation;u.readMessage(y,proto.viam.robot.v1.Operation.deserializeBinaryFromReader),l.addOperations(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.GetOperationsResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetOperationsResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetOperationsResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getOperationsList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Operation.serializeBinaryToWriter)},proto.viam.robot.v1.GetOperationsResponse.prototype.getOperationsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Operation,1)},proto.viam.robot.v1.GetOperationsResponse.prototype.setOperationsList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.GetOperationsResponse.prototype.addOperations=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Operation,u)},proto.viam.robot.v1.GetOperationsResponse.prototype.clearOperationsList=function(){return this.setOperationsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.CancelOperationRequest.prototype.toObject=function(l){return proto.viam.robot.v1.CancelOperationRequest.toObject(l,this)},proto.viam.robot.v1.CancelOperationRequest.toObject=function(l,u){var c={id:e.Message.getFieldWithDefault(u,1,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.CancelOperationRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.CancelOperationRequest;return proto.viam.robot.v1.CancelOperationRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.CancelOperationRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.CancelOperationRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.CancelOperationRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.CancelOperationRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c)},proto.viam.robot.v1.CancelOperationRequest.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.CancelOperationRequest.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.CancelOperationResponse.prototype.toObject=function(l){return proto.viam.robot.v1.CancelOperationResponse.toObject(l,this)},proto.viam.robot.v1.CancelOperationResponse.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.CancelOperationResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.CancelOperationResponse;return proto.viam.robot.v1.CancelOperationResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.CancelOperationResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.CancelOperationResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.CancelOperationResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.CancelOperationResponse.serializeBinaryToWriter=function(l,u){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.BlockForOperationRequest.prototype.toObject=function(l){return proto.viam.robot.v1.BlockForOperationRequest.toObject(l,this)},proto.viam.robot.v1.BlockForOperationRequest.toObject=function(l,u){var c={id:e.Message.getFieldWithDefault(u,1,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.BlockForOperationRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.BlockForOperationRequest;return proto.viam.robot.v1.BlockForOperationRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.BlockForOperationRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.BlockForOperationRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.BlockForOperationRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.BlockForOperationRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c)},proto.viam.robot.v1.BlockForOperationRequest.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.BlockForOperationRequest.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.BlockForOperationResponse.prototype.toObject=function(l){return proto.viam.robot.v1.BlockForOperationResponse.toObject(l,this)},proto.viam.robot.v1.BlockForOperationResponse.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.BlockForOperationResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.BlockForOperationResponse;return proto.viam.robot.v1.BlockForOperationResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.BlockForOperationResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.BlockForOperationResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.BlockForOperationResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.BlockForOperationResponse.serializeBinaryToWriter=function(l,u){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.PeerConnectionInfo.prototype.toObject=function(l){return proto.viam.robot.v1.PeerConnectionInfo.toObject(l,this)},proto.viam.robot.v1.PeerConnectionInfo.toObject=function(l,u){var c={type:e.Message.getFieldWithDefault(u,1,0),remoteAddress:e.Message.getFieldWithDefault(u,2,""),localAddress:e.Message.getFieldWithDefault(u,3,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.PeerConnectionInfo.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.PeerConnectionInfo;return proto.viam.robot.v1.PeerConnectionInfo.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.PeerConnectionInfo.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readEnum();l.setType(y);break;case 2:var y=u.readString();l.setRemoteAddress(y);break;case 3:var y=u.readString();l.setLocalAddress(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.PeerConnectionInfo.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.PeerConnectionInfo.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.PeerConnectionInfo.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getType(),c!==0&&u.writeEnum(1,c),c=e.Message.getField(l,2),c!=null&&u.writeString(2,c),c=e.Message.getField(l,3),c!=null&&u.writeString(3,c)},proto.viam.robot.v1.PeerConnectionInfo.prototype.getType=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.robot.v1.PeerConnectionInfo.prototype.setType=function(l){return e.Message.setProto3EnumField(this,1,l)},proto.viam.robot.v1.PeerConnectionInfo.prototype.getRemoteAddress=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.PeerConnectionInfo.prototype.setRemoteAddress=function(l){return e.Message.setField(this,2,l)},proto.viam.robot.v1.PeerConnectionInfo.prototype.clearRemoteAddress=function(){return e.Message.setField(this,2,void 0)},proto.viam.robot.v1.PeerConnectionInfo.prototype.hasRemoteAddress=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.PeerConnectionInfo.prototype.getLocalAddress=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.robot.v1.PeerConnectionInfo.prototype.setLocalAddress=function(l){return e.Message.setField(this,3,l)},proto.viam.robot.v1.PeerConnectionInfo.prototype.clearLocalAddress=function(){return e.Message.setField(this,3,void 0)},proto.viam.robot.v1.PeerConnectionInfo.prototype.hasLocalAddress=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.Session.prototype.toObject=function(l){return proto.viam.robot.v1.Session.toObject(l,this)},proto.viam.robot.v1.Session.toObject=function(l,u){var c,y={id:e.Message.getFieldWithDefault(u,1,""),peerConnectionInfo:(c=u.getPeerConnectionInfo())&&proto.viam.robot.v1.PeerConnectionInfo.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.Session.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.Session;return proto.viam.robot.v1.Session.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.Session.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;case 2:var y=new proto.viam.robot.v1.PeerConnectionInfo;u.readMessage(y,proto.viam.robot.v1.PeerConnectionInfo.deserializeBinaryFromReader),l.setPeerConnectionInfo(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.Session.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.Session.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.Session.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c),c=l.getPeerConnectionInfo(),c!=null&&u.writeMessage(2,c,proto.viam.robot.v1.PeerConnectionInfo.serializeBinaryToWriter)},proto.viam.robot.v1.Session.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.Session.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},proto.viam.robot.v1.Session.prototype.getPeerConnectionInfo=function(){return e.Message.getWrapperField(this,proto.viam.robot.v1.PeerConnectionInfo,2)},proto.viam.robot.v1.Session.prototype.setPeerConnectionInfo=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.Session.prototype.clearPeerConnectionInfo=function(){return this.setPeerConnectionInfo(void 0)},proto.viam.robot.v1.Session.prototype.hasPeerConnectionInfo=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetSessionsRequest.prototype.toObject=function(l){return proto.viam.robot.v1.GetSessionsRequest.toObject(l,this)},proto.viam.robot.v1.GetSessionsRequest.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetSessionsRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetSessionsRequest;return proto.viam.robot.v1.GetSessionsRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetSessionsRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.GetSessionsRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetSessionsRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetSessionsRequest.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.GetSessionsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetSessionsResponse.prototype.toObject=function(l){return proto.viam.robot.v1.GetSessionsResponse.toObject(l,this)},proto.viam.robot.v1.GetSessionsResponse.toObject=function(l,u){var c={sessionsList:e.Message.toObjectList(u.getSessionsList(),proto.viam.robot.v1.Session.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetSessionsResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetSessionsResponse;return proto.viam.robot.v1.GetSessionsResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetSessionsResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Session;u.readMessage(y,proto.viam.robot.v1.Session.deserializeBinaryFromReader),l.addSessions(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.GetSessionsResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetSessionsResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetSessionsResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSessionsList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Session.serializeBinaryToWriter)},proto.viam.robot.v1.GetSessionsResponse.prototype.getSessionsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Session,1)},proto.viam.robot.v1.GetSessionsResponse.prototype.setSessionsList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.GetSessionsResponse.prototype.addSessions=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Session,u)},proto.viam.robot.v1.GetSessionsResponse.prototype.clearSessionsList=function(){return this.setSessionsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.DiscoveryQuery.prototype.toObject=function(l){return proto.viam.robot.v1.DiscoveryQuery.toObject(l,this)},proto.viam.robot.v1.DiscoveryQuery.toObject=function(l,u){var c={subtype:e.Message.getFieldWithDefault(u,1,""),model:e.Message.getFieldWithDefault(u,2,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.DiscoveryQuery.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.DiscoveryQuery;return proto.viam.robot.v1.DiscoveryQuery.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.DiscoveryQuery.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setSubtype(y);break;case 2:var y=u.readString();l.setModel(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.DiscoveryQuery.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.DiscoveryQuery.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.DiscoveryQuery.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getSubtype(),c.length>0&&u.writeString(1,c),c=l.getModel(),c.length>0&&u.writeString(2,c)},proto.viam.robot.v1.DiscoveryQuery.prototype.getSubtype=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.DiscoveryQuery.prototype.setSubtype=function(l){return e.Message.setProto3StringField(this,1,l)},proto.viam.robot.v1.DiscoveryQuery.prototype.getModel=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.robot.v1.DiscoveryQuery.prototype.setModel=function(l){return e.Message.setProto3StringField(this,2,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.Discovery.prototype.toObject=function(l){return proto.viam.robot.v1.Discovery.toObject(l,this)},proto.viam.robot.v1.Discovery.toObject=function(l,u){var c,y={query:(c=u.getQuery())&&proto.viam.robot.v1.DiscoveryQuery.toObject(l,c),results:(c=u.getResults())&&p.Struct.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.Discovery.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.Discovery;return proto.viam.robot.v1.Discovery.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.Discovery.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.DiscoveryQuery;u.readMessage(y,proto.viam.robot.v1.DiscoveryQuery.deserializeBinaryFromReader),l.setQuery(y);break;case 2:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setResults(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.Discovery.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.Discovery.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.Discovery.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getQuery(),c!=null&&u.writeMessage(1,c,proto.viam.robot.v1.DiscoveryQuery.serializeBinaryToWriter),c=l.getResults(),c!=null&&u.writeMessage(2,c,p.Struct.serializeBinaryToWriter)},proto.viam.robot.v1.Discovery.prototype.getQuery=function(){return e.Message.getWrapperField(this,proto.viam.robot.v1.DiscoveryQuery,1)},proto.viam.robot.v1.Discovery.prototype.setQuery=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.Discovery.prototype.clearQuery=function(){return this.setQuery(void 0)},proto.viam.robot.v1.Discovery.prototype.hasQuery=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.Discovery.prototype.getResults=function(){return e.Message.getWrapperField(this,p.Struct,2)},proto.viam.robot.v1.Discovery.prototype.setResults=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.Discovery.prototype.clearResults=function(){return this.setResults(void 0)},proto.viam.robot.v1.Discovery.prototype.hasResults=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.DiscoverComponentsRequest.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.DiscoverComponentsRequest.prototype.toObject=function(l){return proto.viam.robot.v1.DiscoverComponentsRequest.toObject(l,this)},proto.viam.robot.v1.DiscoverComponentsRequest.toObject=function(l,u){var c={queriesList:e.Message.toObjectList(u.getQueriesList(),proto.viam.robot.v1.DiscoveryQuery.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.DiscoverComponentsRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.DiscoverComponentsRequest;return proto.viam.robot.v1.DiscoverComponentsRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.DiscoverComponentsRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.DiscoveryQuery;u.readMessage(y,proto.viam.robot.v1.DiscoveryQuery.deserializeBinaryFromReader),l.addQueries(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.DiscoverComponentsRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.DiscoverComponentsRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getQueriesList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.DiscoveryQuery.serializeBinaryToWriter)},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.getQueriesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.DiscoveryQuery,1)},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.setQueriesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.addQueries=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.DiscoveryQuery,u)},proto.viam.robot.v1.DiscoverComponentsRequest.prototype.clearQueriesList=function(){return this.setQueriesList([])},proto.viam.robot.v1.DiscoverComponentsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.DiscoverComponentsResponse.prototype.toObject=function(l){return proto.viam.robot.v1.DiscoverComponentsResponse.toObject(l,this)},proto.viam.robot.v1.DiscoverComponentsResponse.toObject=function(l,u){var c={discoveryList:e.Message.toObjectList(u.getDiscoveryList(),proto.viam.robot.v1.Discovery.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.DiscoverComponentsResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.DiscoverComponentsResponse;return proto.viam.robot.v1.DiscoverComponentsResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.DiscoverComponentsResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Discovery;u.readMessage(y,proto.viam.robot.v1.Discovery.deserializeBinaryFromReader),l.addDiscovery(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.DiscoverComponentsResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.DiscoverComponentsResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getDiscoveryList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Discovery.serializeBinaryToWriter)},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.getDiscoveryList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Discovery,1)},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.setDiscoveryList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.addDiscovery=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Discovery,u)},proto.viam.robot.v1.DiscoverComponentsResponse.prototype.clearDiscoveryList=function(){return this.setDiscoveryList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.Status.prototype.toObject=function(l){return proto.viam.robot.v1.Status.toObject(l,this)},proto.viam.robot.v1.Status.toObject=function(l,u){var c,y={name:(c=u.getName())&&t.ResourceName.toObject(l,c),status:(c=u.getStatus())&&p.Struct.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.Status.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.Status;return proto.viam.robot.v1.Status.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.Status.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.setName(y);break;case 2:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setStatus(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.Status.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.Status.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.Status.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getName(),c!=null&&u.writeMessage(1,c,t.ResourceName.serializeBinaryToWriter),c=l.getStatus(),c!=null&&u.writeMessage(2,c,p.Struct.serializeBinaryToWriter)},proto.viam.robot.v1.Status.prototype.getName=function(){return e.Message.getWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.Status.prototype.setName=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.Status.prototype.clearName=function(){return this.setName(void 0)},proto.viam.robot.v1.Status.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.Status.prototype.getStatus=function(){return e.Message.getWrapperField(this,p.Struct,2)},proto.viam.robot.v1.Status.prototype.setStatus=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.Status.prototype.clearStatus=function(){return this.setStatus(void 0)},proto.viam.robot.v1.Status.prototype.hasStatus=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.GetStatusRequest.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetStatusRequest.prototype.toObject=function(l){return proto.viam.robot.v1.GetStatusRequest.toObject(l,this)},proto.viam.robot.v1.GetStatusRequest.toObject=function(l,u){var c={resourceNamesList:e.Message.toObjectList(u.getResourceNamesList(),t.ResourceName.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetStatusRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetStatusRequest;return proto.viam.robot.v1.GetStatusRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetStatusRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.addResourceNames(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.GetStatusRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetStatusRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetStatusRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResourceNamesList(),c.length>0&&u.writeRepeatedMessage(1,c,t.ResourceName.serializeBinaryToWriter)},proto.viam.robot.v1.GetStatusRequest.prototype.getResourceNamesList=function(){return e.Message.getRepeatedWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.GetStatusRequest.prototype.setResourceNamesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.GetStatusRequest.prototype.addResourceNames=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.common.v1.ResourceName,u)},proto.viam.robot.v1.GetStatusRequest.prototype.clearResourceNamesList=function(){return this.setResourceNamesList([])},proto.viam.robot.v1.GetStatusResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.GetStatusResponse.prototype.toObject=function(l){return proto.viam.robot.v1.GetStatusResponse.toObject(l,this)},proto.viam.robot.v1.GetStatusResponse.toObject=function(l,u){var c={statusList:e.Message.toObjectList(u.getStatusList(),proto.viam.robot.v1.Status.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.GetStatusResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.GetStatusResponse;return proto.viam.robot.v1.GetStatusResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.GetStatusResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Status;u.readMessage(y,proto.viam.robot.v1.Status.deserializeBinaryFromReader),l.addStatus(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.GetStatusResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.GetStatusResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.GetStatusResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getStatusList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Status.serializeBinaryToWriter)},proto.viam.robot.v1.GetStatusResponse.prototype.getStatusList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Status,1)},proto.viam.robot.v1.GetStatusResponse.prototype.setStatusList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.GetStatusResponse.prototype.addStatus=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Status,u)},proto.viam.robot.v1.GetStatusResponse.prototype.clearStatusList=function(){return this.setStatusList([])},proto.viam.robot.v1.StreamStatusRequest.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StreamStatusRequest.prototype.toObject=function(l){return proto.viam.robot.v1.StreamStatusRequest.toObject(l,this)},proto.viam.robot.v1.StreamStatusRequest.toObject=function(l,u){var c,y={resourceNamesList:e.Message.toObjectList(u.getResourceNamesList(),t.ResourceName.toObject,l),every:(c=u.getEvery())&&n.Duration.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.StreamStatusRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StreamStatusRequest;return proto.viam.robot.v1.StreamStatusRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StreamStatusRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.addResourceNames(y);break;case 2:var y=new n.Duration;u.readMessage(y,n.Duration.deserializeBinaryFromReader),l.setEvery(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StreamStatusRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StreamStatusRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StreamStatusRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResourceNamesList(),c.length>0&&u.writeRepeatedMessage(1,c,t.ResourceName.serializeBinaryToWriter),c=l.getEvery(),c!=null&&u.writeMessage(2,c,n.Duration.serializeBinaryToWriter)},proto.viam.robot.v1.StreamStatusRequest.prototype.getResourceNamesList=function(){return e.Message.getRepeatedWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.StreamStatusRequest.prototype.setResourceNamesList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.StreamStatusRequest.prototype.addResourceNames=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.common.v1.ResourceName,u)},proto.viam.robot.v1.StreamStatusRequest.prototype.clearResourceNamesList=function(){return this.setResourceNamesList([])},proto.viam.robot.v1.StreamStatusRequest.prototype.getEvery=function(){return e.Message.getWrapperField(this,n.Duration,2)},proto.viam.robot.v1.StreamStatusRequest.prototype.setEvery=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.StreamStatusRequest.prototype.clearEvery=function(){return this.setEvery(void 0)},proto.viam.robot.v1.StreamStatusRequest.prototype.hasEvery=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.StreamStatusResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StreamStatusResponse.prototype.toObject=function(l){return proto.viam.robot.v1.StreamStatusResponse.toObject(l,this)},proto.viam.robot.v1.StreamStatusResponse.toObject=function(l,u){var c={statusList:e.Message.toObjectList(u.getStatusList(),proto.viam.robot.v1.Status.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.StreamStatusResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StreamStatusResponse;return proto.viam.robot.v1.StreamStatusResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StreamStatusResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new proto.viam.robot.v1.Status;u.readMessage(y,proto.viam.robot.v1.Status.deserializeBinaryFromReader),l.addStatus(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StreamStatusResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StreamStatusResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StreamStatusResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getStatusList(),c.length>0&&u.writeRepeatedMessage(1,c,proto.viam.robot.v1.Status.serializeBinaryToWriter)},proto.viam.robot.v1.StreamStatusResponse.prototype.getStatusList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.Status,1)},proto.viam.robot.v1.StreamStatusResponse.prototype.setStatusList=function(l){return e.Message.setRepeatedWrapperField(this,1,l)},proto.viam.robot.v1.StreamStatusResponse.prototype.addStatus=function(l,u){return e.Message.addToRepeatedWrapperField(this,1,l,proto.viam.robot.v1.Status,u)},proto.viam.robot.v1.StreamStatusResponse.prototype.clearStatusList=function(){return this.setStatusList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StopExtraParameters.prototype.toObject=function(l){return proto.viam.robot.v1.StopExtraParameters.toObject(l,this)},proto.viam.robot.v1.StopExtraParameters.toObject=function(l,u){var c,y={name:(c=u.getName())&&t.ResourceName.toObject(l,c),params:(c=u.getParams())&&p.Struct.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.StopExtraParameters.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StopExtraParameters;return proto.viam.robot.v1.StopExtraParameters.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StopExtraParameters.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=new t.ResourceName;u.readMessage(y,t.ResourceName.deserializeBinaryFromReader),l.setName(y);break;case 2:var y=new p.Struct;u.readMessage(y,p.Struct.deserializeBinaryFromReader),l.setParams(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StopExtraParameters.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StopExtraParameters.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StopExtraParameters.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getName(),c!=null&&u.writeMessage(1,c,t.ResourceName.serializeBinaryToWriter),c=l.getParams(),c!=null&&u.writeMessage(2,c,p.Struct.serializeBinaryToWriter)},proto.viam.robot.v1.StopExtraParameters.prototype.getName=function(){return e.Message.getWrapperField(this,t.ResourceName,1)},proto.viam.robot.v1.StopExtraParameters.prototype.setName=function(l){return e.Message.setWrapperField(this,1,l)},proto.viam.robot.v1.StopExtraParameters.prototype.clearName=function(){return this.setName(void 0)},proto.viam.robot.v1.StopExtraParameters.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.viam.robot.v1.StopExtraParameters.prototype.getParams=function(){return e.Message.getWrapperField(this,p.Struct,2)},proto.viam.robot.v1.StopExtraParameters.prototype.setParams=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.StopExtraParameters.prototype.clearParams=function(){return this.setParams(void 0)},proto.viam.robot.v1.StopExtraParameters.prototype.hasParams=function(){return e.Message.getField(this,2)!=null},proto.viam.robot.v1.StopAllRequest.repeatedFields_=[99],e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StopAllRequest.prototype.toObject=function(l){return proto.viam.robot.v1.StopAllRequest.toObject(l,this)},proto.viam.robot.v1.StopAllRequest.toObject=function(l,u){var c={extraList:e.Message.toObjectList(u.getExtraList(),proto.viam.robot.v1.StopExtraParameters.toObject,l)};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.StopAllRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StopAllRequest;return proto.viam.robot.v1.StopAllRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StopAllRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 99:var y=new proto.viam.robot.v1.StopExtraParameters;u.readMessage(y,proto.viam.robot.v1.StopExtraParameters.deserializeBinaryFromReader),l.addExtra(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StopAllRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StopAllRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StopAllRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getExtraList(),c.length>0&&u.writeRepeatedMessage(99,c,proto.viam.robot.v1.StopExtraParameters.serializeBinaryToWriter)},proto.viam.robot.v1.StopAllRequest.prototype.getExtraList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.robot.v1.StopExtraParameters,99)},proto.viam.robot.v1.StopAllRequest.prototype.setExtraList=function(l){return e.Message.setRepeatedWrapperField(this,99,l)},proto.viam.robot.v1.StopAllRequest.prototype.addExtra=function(l,u){return e.Message.addToRepeatedWrapperField(this,99,l,proto.viam.robot.v1.StopExtraParameters,u)},proto.viam.robot.v1.StopAllRequest.prototype.clearExtraList=function(){return this.setExtraList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StopAllResponse.prototype.toObject=function(l){return proto.viam.robot.v1.StopAllResponse.toObject(l,this)},proto.viam.robot.v1.StopAllResponse.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.StopAllResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StopAllResponse;return proto.viam.robot.v1.StopAllResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StopAllResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.StopAllResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StopAllResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StopAllResponse.serializeBinaryToWriter=function(l,u){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StartSessionRequest.prototype.toObject=function(l){return proto.viam.robot.v1.StartSessionRequest.toObject(l,this)},proto.viam.robot.v1.StartSessionRequest.toObject=function(l,u){var c={resume:e.Message.getFieldWithDefault(u,1,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.StartSessionRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StartSessionRequest;return proto.viam.robot.v1.StartSessionRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StartSessionRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setResume(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StartSessionRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StartSessionRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StartSessionRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getResume(),c.length>0&&u.writeString(1,c)},proto.viam.robot.v1.StartSessionRequest.prototype.getResume=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.StartSessionRequest.prototype.setResume=function(l){return e.Message.setProto3StringField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.StartSessionResponse.prototype.toObject=function(l){return proto.viam.robot.v1.StartSessionResponse.toObject(l,this)},proto.viam.robot.v1.StartSessionResponse.toObject=function(l,u){var c,y={id:e.Message.getFieldWithDefault(u,1,""),heartbeatWindow:(c=u.getHeartbeatWindow())&&n.Duration.toObject(l,c)};return l&&(y.$jspbMessageInstance=u),y}),proto.viam.robot.v1.StartSessionResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.StartSessionResponse;return proto.viam.robot.v1.StartSessionResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.StartSessionResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;case 2:var y=new n.Duration;u.readMessage(y,n.Duration.deserializeBinaryFromReader),l.setHeartbeatWindow(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.StartSessionResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.StartSessionResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.StartSessionResponse.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c),c=l.getHeartbeatWindow(),c!=null&&u.writeMessage(2,c,n.Duration.serializeBinaryToWriter)},proto.viam.robot.v1.StartSessionResponse.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.StartSessionResponse.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},proto.viam.robot.v1.StartSessionResponse.prototype.getHeartbeatWindow=function(){return e.Message.getWrapperField(this,n.Duration,2)},proto.viam.robot.v1.StartSessionResponse.prototype.setHeartbeatWindow=function(l){return e.Message.setWrapperField(this,2,l)},proto.viam.robot.v1.StartSessionResponse.prototype.clearHeartbeatWindow=function(){return this.setHeartbeatWindow(void 0)},proto.viam.robot.v1.StartSessionResponse.prototype.hasHeartbeatWindow=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.toObject=function(l){return proto.viam.robot.v1.SendSessionHeartbeatRequest.toObject(l,this)},proto.viam.robot.v1.SendSessionHeartbeatRequest.toObject=function(l,u){var c={id:e.Message.getFieldWithDefault(u,1,"")};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.SendSessionHeartbeatRequest.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.SendSessionHeartbeatRequest;return proto.viam.robot.v1.SendSessionHeartbeatRequest.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.SendSessionHeartbeatRequest.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){case 1:var y=u.readString();l.setId(y);break;default:u.skipField();break}}return l},proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.SendSessionHeartbeatRequest.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.SendSessionHeartbeatRequest.serializeBinaryToWriter=function(l,u){var c=void 0;c=l.getId(),c.length>0&&u.writeString(1,c)},proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.getId=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.robot.v1.SendSessionHeartbeatRequest.prototype.setId=function(l){return e.Message.setProto3StringField(this,1,l)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.robot.v1.SendSessionHeartbeatResponse.prototype.toObject=function(l){return proto.viam.robot.v1.SendSessionHeartbeatResponse.toObject(l,this)},proto.viam.robot.v1.SendSessionHeartbeatResponse.toObject=function(l,u){var c={};return l&&(c.$jspbMessageInstance=u),c}),proto.viam.robot.v1.SendSessionHeartbeatResponse.deserializeBinary=function(l){var u=new e.BinaryReader(l),c=new proto.viam.robot.v1.SendSessionHeartbeatResponse;return proto.viam.robot.v1.SendSessionHeartbeatResponse.deserializeBinaryFromReader(c,u)},proto.viam.robot.v1.SendSessionHeartbeatResponse.deserializeBinaryFromReader=function(l,u){for(;u.nextField()&&!u.isEndGroup();){var c=u.getFieldNumber();switch(c){default:u.skipField();break}}return l},proto.viam.robot.v1.SendSessionHeartbeatResponse.prototype.serializeBinary=function(){var l=new e.BinaryWriter;return proto.viam.robot.v1.SendSessionHeartbeatResponse.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.viam.robot.v1.SendSessionHeartbeatResponse.serializeBinaryToWriter=function(l,u){},proto.viam.robot.v1.PeerConnectionType={PEER_CONNECTION_TYPE_UNSPECIFIED:0,PEER_CONNECTION_TYPE_GRPC:1,PEER_CONNECTION_TYPE_WEBRTC:2},r.object.extend(o,proto.viam.robot.v1)}(robot_pb);const timeoutBlob=new Blob([`self.onmessage = function(e) {
|
|
159
159
|
setTimeout(() => self.postMessage(""), e.data);
|
|
160
160
|
};`],{type:"text/javascript"});class SessionManager{innerTransportFactory;client;currentSessionID="";sessionsSupported;heartbeatIntervalMs;starting;startResolve;startReject;constructor(e,r){this.innerTransportFactory=r,this.client=new RobotServiceClient_1(e,{transport:r})}get transportFactory(){return e=>new SessionTransport(e,this.innerTransportFactory,this)}get sessionID(){return this.currentSessionID}getSessionMetadataInner(){const e=new grpcWebClient_umd.exports.grpc.Metadata;return this.sessionsSupported&&this.currentSessionID!==""&&e.set("viam-sid",this.currentSessionID),e}reset(){this.starting||(this.sessionsSupported=void 0)}backgroundHeartbeat=!0;async heartbeat(){if(!this.sessionsSupported||this.currentSessionID==="")return;for(;this.starting;)await this.starting;let e;const r=()=>{const s=new robot_pb.SendSessionHeartbeatRequest;s.setId(this.currentSessionID),this.client.sendSessionHeartbeat(s,new grpcWebClient_umd.exports.grpc.Metadata,t=>{if(t&&__webpack_exports__ConnectionClosedError.isError(t)){this.reset();return}e?e.postMessage(this.heartbeatIntervalMs):setTimeout(()=>r(),this.heartbeatIntervalMs)})};if(this.backgroundHeartbeat&&window.Worker){const s=window.URL.createObjectURL(timeoutBlob);e=new Worker(s),URL.revokeObjectURL(s),e.onmessage=function(){r()}}r()}async getSessionMetadata(){for(;this.starting;)await this.starting;if(this.sessionsSupported!==void 0)return this.getSessionMetadataInner();this.starting=new Promise((e,r)=>{this.startResolve=e,this.startReject=r});try{const e=new robot_pb.StartSessionRequest;return this.currentSessionID!==""&&e.setResume(this.currentSessionID),this.client.startSession(e,new grpcWebClient_umd.exports.grpc.Metadata,(r,s)=>{if(r){if(r.code===grpcWebClient_umd.exports.grpc.Code.Unimplemented){console.error("sessions unsupported; will not try again"),this.sessionsSupported=!1,this.startResolve?.();return}this.startReject?.(r);return}if(!s){this.startReject?.({code:grpcWebClient_umd.exports.grpc.Code.Internal,message:"expected response to start session",metadata:new grpcWebClient_umd.exports.grpc.Metadata});return}const t=s.getHeartbeatWindow();if(!t){this.startReject?.({code:grpcWebClient_umd.exports.grpc.Code.Internal,message:"expected heartbeat window in response to start session",metadata:new grpcWebClient_umd.exports.grpc.Metadata});return}this.sessionsSupported=!0,this.currentSessionID=s.getId(),this.heartbeatIntervalMs=(t.getSeconds()*1e3+t.getNanos()/1e6)/5,this.startResolve?.(),this.heartbeat()}),await this.starting,this.getSessionMetadataInner()}finally{this.startResolve?.(),this.startResolve=void 0,this.startReject=void 0,this.starting=void 0}}}var commonjsGlobal$k=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vision_pb$1={},googleProtobuf$k={};(function(exports){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(o,e,r){o instanceof String&&(o=String(o));for(var s=o.length,t=0;t<s;t++){var i=o[t];if(e.call(r,i,t,o))return{i:t,v:i}}return{i:-1,v:void 0}},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(o,e,r){o!=Array.prototype&&o!=Object.prototype&&(o[e]=r.value)},$jscomp.getGlobal=function(o){return typeof window<"u"&&window===o?o:typeof commonjsGlobal$k<"u"&&commonjsGlobal$k!=null?commonjsGlobal$k:o},$jscomp.global=$jscomp.getGlobal(commonjsGlobal$k),$jscomp.polyfill=function(o,e,r,s){if(e){for(r=$jscomp.global,o=o.split("."),s=0;s<o.length-1;s++){var t=o[s];t in r||(r[t]={}),r=r[t]}o=o[o.length-1],s=r[o],e=e(s),e!=s&&e!=null&&$jscomp.defineProperty(r,o,{configurable:!0,writable:!0,value:e})}},$jscomp.polyfill("Array.prototype.findIndex",function(o){return o||function(e,r){return $jscomp.findInternal(this,e,r).i}},"es6","es3"),$jscomp.checkStringArgs=function(o,e,r){if(o==null)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return o+""},$jscomp.polyfill("String.prototype.endsWith",function(o){return o||function(e,r){var s=$jscomp.checkStringArgs(this,e,"endsWith");e+="",r===void 0&&(r=s.length),r=Math.max(0,Math.min(r|0,s.length));for(var t=e.length;0<t&&0<r;)if(s[--r]!=e[--t])return!1;return 0>=t}},"es6","es3"),$jscomp.polyfill("Array.prototype.find",function(o){return o||function(e,r){return $jscomp.findInternal(this,e,r).v}},"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",function(o){return o||function(e,r){var s=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var t=s.length,i=e.length;r=Math.max(0,Math.min(r|0,s.length));for(var n=0;n<i&&r<t;)if(s[r++]!=e[n++])return!1;return n>=i}},"es6","es3"),$jscomp.polyfill("String.prototype.repeat",function(o){return o||function(e){var r=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var s="";e;)e&1&&(s+=r),(e>>>=1)&&(r+=r);return s}},"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=commonjsGlobal$k||self,goog.exportPath_=function(o,e,r){o=o.split("."),r=r||goog.global,o[0]in r||typeof r.execScript>"u"||r.execScript("var "+o[0]);for(var s;o.length&&(s=o.shift());)o.length||e===void 0?r=r[s]&&r[s]!==Object.prototype[s]?r[s]:r[s]={}:r[s]=e},goog.define=function(o,e){return e},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(o){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(o)},goog.constructNamespace_=function(o,e){goog.exportPath_(o,e)},goog.getScriptNonce=function(o){return o&&o!=goog.global?goog.getScriptNonce_(o.document):(goog.cspNonce_===null&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(o){return(o=o.querySelector&&o.querySelector("script[nonce]"))&&(o=o.nonce||o.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(o)?o:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(o){if(typeof o!="string"||!o||o.search(goog.VALID_MODULE_RE_)==-1)throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+o+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=o},goog.module.get=function(o){return goog.module.getInternal_(o)},goog.module.getInternal_=function(o){return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var o=goog.global.$jscomp;return o?typeof o.getCurrentModulePath!="function"?!1:!!o.getCurrentModulePath():!1},goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(o){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=o;else{var e=goog.global.$jscomp;if(!e||typeof e.getCurrentModulePath!="function")throw Error('Module with namespace "'+o+'" has been loaded incorrectly.');e=e.require(e.getCurrentModulePath()),goog.loadedModules_[o]={exports:e,type:goog.ModuleType.ES6,moduleId:o}}},goog.setTestOnly=function(o){if(goog.DISALLOW_TEST_ONLY_CODE)throw o=o||"",Error("Importing test-only code into non-debug environment"+(o?": "+o:"."))},goog.forwardDeclare=function(o){},goog.getObjectByName=function(o,e){o=o.split("."),e=e||goog.global;for(var r=0;r<o.length;r++)if(e=e[o[r]],e==null)return null;return e},goog.globalize=function(o,e){e=e||goog.global;for(var r in o)e[r]=o[r]},goog.addDependency=function(o,e,r,s){},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(o){goog.global.console&&goog.global.console.error(o)},goog.require=function(o){},goog.requireType=function(o){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(o){o.instance_=void 0,o.getInstance=function(){return o.instance_?o.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=o),o.instance_=new o)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(goog.hasBadLetScoping==null){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(o){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(o){return"(function(){"+o+`
|
|
161
161
|
;})();
|
|
@@ -289,4 +289,4 @@
|
|
|
289
289
|
//# sourceURL=`+i)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,s=goog.global.$jscomp,t=s.transpile}}return t||(t=s.transpile=function(p,g){return goog.logToConsole_(g+" requires transpilation but no transpiler was found."),p}),t(o,e,r)},goog.typeOf=function(o){var e=typeof o;if(e=="object")if(o){if(o instanceof Array)return"array";if(o instanceof Object)return e;var r=Object.prototype.toString.call(o);if(r=="[object Window]")return"object";if(r=="[object Array]"||typeof o.length=="number"&&typeof o.splice<"u"&&typeof o.propertyIsEnumerable<"u"&&!o.propertyIsEnumerable("splice"))return"array";if(r=="[object Function]"||typeof o.call<"u"&&typeof o.propertyIsEnumerable<"u"&&!o.propertyIsEnumerable("call"))return"function"}else return"null";else if(e=="function"&&typeof o.call>"u")return"object";return e},goog.isArray=function(o){return goog.typeOf(o)=="array"},goog.isArrayLike=function(o){var e=goog.typeOf(o);return e=="array"||e=="object"&&typeof o.length=="number"},goog.isDateLike=function(o){return goog.isObject(o)&&typeof o.getFullYear=="function"},goog.isFunction=function(o){return goog.typeOf(o)=="function"},goog.isObject=function(o){var e=typeof o;return e=="object"&&o!=null||e=="function"},goog.getUid=function(o){return Object.prototype.hasOwnProperty.call(o,goog.UID_PROPERTY_)&&o[goog.UID_PROPERTY_]||(o[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(o){return!!o[goog.UID_PROPERTY_]},goog.removeUid=function(o){o!==null&&"removeAttribute"in o&&o.removeAttribute(goog.UID_PROPERTY_);try{delete o[goog.UID_PROPERTY_]}catch{}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(o){var e=goog.typeOf(o);if(e=="object"||e=="array"){if(typeof o.clone=="function")return o.clone();e=e=="array"?[]:{};for(var r in o)e[r]=goog.cloneObject(o[r]);return e}return o},goog.bindNative_=function(o,e,r){return o.call.apply(o.bind,arguments)},goog.bindJs_=function(o,e,r){if(!o)throw Error();if(2<arguments.length){var s=Array.prototype.slice.call(arguments,2);return function(){var t=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(t,s),o.apply(e,t)}}return function(){return o.apply(e,arguments)}},goog.bind=function(o,e,r){return Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(o,e){var r=Array.prototype.slice.call(arguments,1);return function(){var s=r.slice();return s.push.apply(s,arguments),o.apply(this,s)}},goog.mixin=function(o,e){for(var r in e)o[r]=e[r]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(o){if(goog.global.execScript)goog.global.execScript(o,"JavaScript");else if(goog.global.eval){if(goog.evalWorksForGlobals_==null){try{goog.global.eval("var _evalTest_ = 1;")}catch{}if(typeof goog.global._evalTest_<"u"){try{delete goog.global._evalTest_}catch{}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(o);else{var e=goog.global.document,r=e.createElement("script");r.type="text/javascript",r.defer=!1,r.appendChild(e.createTextNode(o)),e.head.appendChild(r),e.head.removeChild(r)}}else throw Error("goog.globalEval not available")},goog.evalWorksForGlobals_=null,goog.getCssName=function(o,e){if(String(o).charAt(0)==".")throw Error('className passed in goog.getCssName must not start with ".". You passed: '+o);var r=function(t){return goog.cssNameMapping_[t]||t},s=function(t){t=t.split("-");for(var i=[],n=0;n<t.length;n++)i.push(r(t[n]));return i.join("-")};return s=goog.cssNameMapping_?goog.cssNameMappingStyle_=="BY_WHOLE"?r:s:function(t){return t},o=e?o+"-"+s(e):s(o),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(o):o},goog.setCssNameMapping=function(o,e){goog.cssNameMapping_=o,goog.cssNameMappingStyle_=e},goog.getMsg=function(o,e,r){return r&&r.html&&(o=o.replace(/</g,"<")),e&&(o=o.replace(/\{\$([^}]+)}/g,function(s,t){return e!=null&&t in e?e[t]:s})),o},goog.getMsgWithFallback=function(o,e){return o},goog.exportSymbol=function(o,e,r){goog.exportPath_(o,e,r)},goog.exportProperty=function(o,e,r){o[e]=r},goog.inherits=function(o,e){function r(){}r.prototype=e.prototype,o.superClass_=e.prototype,o.prototype=new r,o.prototype.constructor=o,o.base=function(s,t,i){for(var n=Array(arguments.length-2),p=2;p<arguments.length;p++)n[p-2]=arguments[p];return e.prototype[t].apply(s,n)}},goog.scope=function(o){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");o.call(goog.global)},goog.defineClass=function(o,e){var r=e.constructor,s=e.statics;return r&&r!=Object.prototype.constructor||(r=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),r=goog.defineClass.createSealingConstructor_(r,o),o&&goog.inherits(r,o),delete e.constructor,delete e.statics,goog.defineClass.applyProperties_(r.prototype,e),s!=null&&(s instanceof Function?s(r):goog.defineClass.applyProperties_(r,s)),r},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(o,e){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return o;var r=!goog.defineClass.isUnsealable_(e),s=function(){var t=o.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],this.constructor===s&&r&&Object.seal instanceof Function&&Object.seal(t),t};return s},goog.defineClass.isUnsealable_=function(o){return o&&o.prototype&&o.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(o,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r]);for(var s=0;s<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;s++)r=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[s],Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r])},goog.tagUnsealableClass=function(o){},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",goog.TRUSTED_TYPES_POLICY_NAME="",goog.identity_=function(o){return o},goog.createTrustedTypesPolicy=function(o){var e=null,r=goog.global.trustedTypes||goog.global.TrustedTypes;if(!r||!r.createPolicy)return e;try{e=r.createPolicy(o,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(s){goog.logToConsole_(s.message)}return e},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.object={},goog.object.is=function(o,e){return o===e?o!==0||1/o===1/e:o!==o&&e!==e},goog.object.forEach=function(o,e,r){for(var s in o)e.call(r,o[s],s,o)},goog.object.filter=function(o,e,r){var s={},t;for(t in o)e.call(r,o[t],t,o)&&(s[t]=o[t]);return s},goog.object.map=function(o,e,r){var s={},t;for(t in o)s[t]=e.call(r,o[t],t,o);return s},goog.object.some=function(o,e,r){for(var s in o)if(e.call(r,o[s],s,o))return!0;return!1},goog.object.every=function(o,e,r){for(var s in o)if(!e.call(r,o[s],s,o))return!1;return!0},goog.object.getCount=function(o){var e=0,r;for(r in o)e++;return e},goog.object.getAnyKey=function(o){for(var e in o)return e},goog.object.getAnyValue=function(o){for(var e in o)return o[e]},goog.object.contains=function(o,e){return goog.object.containsValue(o,e)},goog.object.getValues=function(o){var e=[],r=0,s;for(s in o)e[r++]=o[s];return e},goog.object.getKeys=function(o){var e=[],r=0,s;for(s in o)e[r++]=s;return e},goog.object.getValueByKeys=function(o,e){var r=goog.isArrayLike(e),s=r?e:arguments;for(r=r?0:1;r<s.length;r++){if(o==null)return;o=o[s[r]]}return o},goog.object.containsKey=function(o,e){return o!==null&&e in o},goog.object.containsValue=function(o,e){for(var r in o)if(o[r]==e)return!0;return!1},goog.object.findKey=function(o,e,r){for(var s in o)if(e.call(r,o[s],s,o))return s},goog.object.findValue=function(o,e,r){return(e=goog.object.findKey(o,e,r))&&o[e]},goog.object.isEmpty=function(o){for(var e in o)return!1;return!0},goog.object.clear=function(o){for(var e in o)delete o[e]},goog.object.remove=function(o,e){var r;return(r=e in o)&&delete o[e],r},goog.object.add=function(o,e,r){if(o!==null&&e in o)throw Error('The object already contains the key "'+e+'"');goog.object.set(o,e,r)},goog.object.get=function(o,e,r){return o!==null&&e in o?o[e]:r},goog.object.set=function(o,e,r){o[e]=r},goog.object.setIfUndefined=function(o,e,r){return e in o?o[e]:o[e]=r},goog.object.setWithReturnValueIfNotSet=function(o,e,r){return e in o?o[e]:(r=r(),o[e]=r)},goog.object.equals=function(o,e){for(var r in o)if(!(r in e)||o[r]!==e[r])return!1;for(var s in e)if(!(s in o))return!1;return!0},goog.object.clone=function(o){var e={},r;for(r in o)e[r]=o[r];return e},goog.object.unsafeClone=function(o){var e=goog.typeOf(o);if(e=="object"||e=="array"){if(goog.isFunction(o.clone))return o.clone();e=e=="array"?[]:{};for(var r in o)e[r]=goog.object.unsafeClone(o[r]);return e}return o},goog.object.transpose=function(o){var e={},r;for(r in o)e[o[r]]=r;return e},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(o,e){for(var r,s,t=1;t<arguments.length;t++){s=arguments[t];for(r in s)o[r]=s[r];for(var i=0;i<goog.object.PROTOTYPE_FIELDS_.length;i++)r=goog.object.PROTOTYPE_FIELDS_[i],Object.prototype.hasOwnProperty.call(s,r)&&(o[r]=s[r])}},goog.object.create=function(o){var e=arguments.length;if(e==1&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(e%2)throw Error("Uneven number of arguments");for(var r={},s=0;s<e;s+=2)r[arguments[s]]=arguments[s+1];return r},goog.object.createSet=function(o){var e=arguments.length;if(e==1&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var r={},s=0;s<e;s++)r[arguments[s]]=!0;return r},goog.object.createImmutableView=function(o){var e=o;return Object.isFrozen&&!Object.isFrozen(o)&&(e=Object.create(o),Object.freeze(e)),e},goog.object.isImmutableView=function(o){return!!Object.isFrozen&&Object.isFrozen(o)},goog.object.getAllPropertyNames=function(o,e,r){if(!o)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(o);for(var s={};o&&(o!==Object.prototype||e)&&(o!==Function.prototype||r);){for(var t=Object.getOwnPropertyNames(o),i=0;i<t.length;i++)s[t[i]]=!0;o=Object.getPrototypeOf(o)}return goog.object.getKeys(s)},goog.object.getSuperClass=function(o){return(o=Object.getPrototypeOf(o.prototype))&&o.constructor};var jspb={asserts:{}};jspb.asserts.doAssertFailure=function(o,e,r,s){var t="Assertion failed";if(r){t+=": "+r;var i=s}else o&&(t+=": "+o,i=e);throw Error(""+t,i||[])},jspb.asserts.assert=function(o,e,r){for(var s=[],t=2;t<arguments.length;++t)s[t-2]=arguments[t];return o||jspb.asserts.doAssertFailure("",null,e,s),o},jspb.asserts.assertString=function(o,e,r){for(var s=[],t=2;t<arguments.length;++t)s[t-2]=arguments[t];return typeof o!="string"&&jspb.asserts.doAssertFailure("Expected string but got %s: %s.",[goog.typeOf(o),o],e,s),o},jspb.asserts.assertArray=function(o,e,r){for(var s=[],t=2;t<arguments.length;++t)s[t-2]=arguments[t];return Array.isArray(o)||jspb.asserts.doAssertFailure("Expected array but got %s: %s.",[goog.typeOf(o),o],e,s),o},jspb.asserts.fail=function(o,e){for(var r=[],s=1;s<arguments.length;++s)r[s-1]=arguments[s];throw Error("Failure"+(o?": "+o:""),r)},jspb.asserts.assertInstanceof=function(o,e,r,s){for(var t=[],i=3;i<arguments.length;++i)t[i-3]=arguments[i];return o instanceof e||jspb.asserts.doAssertFailure("Expected instanceof %s but got %s.",[jspb.asserts.getType(e),jspb.asserts.getType(o)],r,t),o},jspb.asserts.getType=function(o){return o instanceof Function?o.displayName||o.name||"unknown type name":o instanceof Object?o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o):o===null?"null":typeof o},jspb.BinaryConstants={},jspb.ConstBinaryMessage=function(){},jspb.BinaryMessage=function(){},jspb.BinaryConstants.FieldType={INVALID:-1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18,FHASH64:30,VHASH64:31},jspb.BinaryConstants.WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5},jspb.BinaryConstants.FieldTypeToWireType=function(o){var e=jspb.BinaryConstants.FieldType,r=jspb.BinaryConstants.WireType;switch(o){case e.INT32:case e.INT64:case e.UINT32:case e.UINT64:case e.SINT32:case e.SINT64:case e.BOOL:case e.ENUM:case e.VHASH64:return r.VARINT;case e.DOUBLE:case e.FIXED64:case e.SFIXED64:case e.FHASH64:return r.FIXED64;case e.STRING:case e.MESSAGE:case e.BYTES:return r.DELIMITED;case e.FLOAT:case e.FIXED32:case e.SFIXED32:return r.FIXED32;default:return r.INVALID}},jspb.BinaryConstants.INVALID_FIELD_NUMBER=-1,jspb.BinaryConstants.FLOAT32_EPS=1401298464324817e-60,jspb.BinaryConstants.FLOAT32_MIN=11754943508222875e-54,jspb.BinaryConstants.FLOAT32_MAX=34028234663852886e22,jspb.BinaryConstants.FLOAT64_EPS=5e-324,jspb.BinaryConstants.FLOAT64_MIN=22250738585072014e-324,jspb.BinaryConstants.FLOAT64_MAX=17976931348623157e292,jspb.BinaryConstants.TWO_TO_20=1048576,jspb.BinaryConstants.TWO_TO_23=8388608,jspb.BinaryConstants.TWO_TO_31=2147483648,jspb.BinaryConstants.TWO_TO_32=4294967296,jspb.BinaryConstants.TWO_TO_52=4503599627370496,jspb.BinaryConstants.TWO_TO_63=9223372036854776e3,jspb.BinaryConstants.TWO_TO_64=18446744073709552e3,jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0",goog.debug={},goog.debug.Error=function(o){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var e=Error().stack;e&&(this.stack=e)}o&&(this.message=String(o)),this.reportErrorToServer=!0},goog.inherits(goog.debug.Error,Error),goog.debug.Error.prototype.name="CustomError",goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(o,e){goog.debug.Error.call(this,goog.asserts.subs_(o,e)),this.messagePattern=o},goog.inherits(goog.asserts.AssertionError,goog.debug.Error),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(o){throw o},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(o,e){o=o.split("%s");for(var r="",s=o.length-1,t=0;t<s;t++)r+=o[t]+(t<e.length?e[t]:"%s");return r+o[s]},goog.asserts.doAssertFailure_=function(o,e,r,s){var t="Assertion failed";if(r){t+=": "+r;var i=s}else o&&(t+=": "+o,i=e);o=new goog.asserts.AssertionError(""+t,i||[]),goog.asserts.errorHandler_(o)},goog.asserts.setErrorHandler=function(o){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=o)},goog.asserts.assert=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&!o&&goog.asserts.doAssertFailure_("",null,e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertExists=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&o==null&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.fail=function(o,e){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(o?": "+o:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&typeof o!="number"&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertString=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&typeof o!="string"&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertFunction=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(o)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertObject=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(o)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertArray=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(o)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertBoolean=function(o,e,r){return goog.asserts.ENABLE_ASSERTS&&typeof o!="boolean"&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertElement=function(o,e,r){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(o)&&o.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(o),o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertInstanceof=function(o,e,r,s){return!goog.asserts.ENABLE_ASSERTS||o instanceof e||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(e),goog.asserts.getType_(o)],r,Array.prototype.slice.call(arguments,3)),o},goog.asserts.assertFinite=function(o,e,r){return!goog.asserts.ENABLE_ASSERTS||typeof o=="number"&&isFinite(o)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[o],e,Array.prototype.slice.call(arguments,2)),o},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var o in Object.prototype)goog.asserts.fail(o+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(o){return o instanceof Function?o.displayName||o.name||"unknown type name":o instanceof Object?o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o):o===null?"null":typeof o},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE,goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR,goog.array.peek=function(o){return o[o.length-1]},goog.array.last=goog.array.peek,goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.indexOf.call(o,e,r)}:function(o,e,r){if(r=r==null?0:0>r?Math.max(0,o.length+r):r,typeof o=="string")return typeof e!="string"||e.length!=1?-1:o.indexOf(e,r);for(;r<o.length;r++)if(r in o&&o[r]===e)return r;return-1},goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.lastIndexOf.call(o,e,r??o.length-1)}:function(o,e,r){if(r=r??o.length-1,0>r&&(r=Math.max(0,o.length+r)),typeof o=="string")return typeof e!="string"||e.length!=1?-1:o.lastIndexOf(e,r);for(;0<=r;r--)if(r in o&&o[r]===e)return r;return-1},goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(o,e,r){goog.asserts.assert(o.length!=null),Array.prototype.forEach.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=typeof o=="string"?o.split(""):o,i=0;i<s;i++)i in t&&e.call(r,t[i],i,o)},goog.array.forEachRight=function(o,e,r){var s=o.length,t=typeof o=="string"?o.split(""):o;for(--s;0<=s;--s)s in t&&e.call(r,t[s],s,o)},goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.filter.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=[],i=0,n=typeof o=="string"?o.split(""):o,p=0;p<s;p++)if(p in n){var g=n[p];e.call(r,g,p,o)&&(t[i++]=g)}return t},goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.map.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=Array(s),i=typeof o=="string"?o.split(""):o,n=0;n<s;n++)n in i&&(t[n]=e.call(r,i[n],n,o));return t},goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(o,e,r,s){return goog.asserts.assert(o.length!=null),s&&(e=goog.bind(e,s)),Array.prototype.reduce.call(o,e,r)}:function(o,e,r,s){var t=r;return goog.array.forEach(o,function(i,n){t=e.call(s,t,i,n,o)}),t},goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(o,e,r,s){return goog.asserts.assert(o.length!=null),goog.asserts.assert(e!=null),s&&(e=goog.bind(e,s)),Array.prototype.reduceRight.call(o,e,r)}:function(o,e,r,s){var t=r;return goog.array.forEachRight(o,function(i,n){t=e.call(s,t,i,n,o)}),t},goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.some.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=typeof o=="string"?o.split(""):o,i=0;i<s;i++)if(i in t&&e.call(r,t[i],i,o))return!0;return!1},goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(o,e,r){return goog.asserts.assert(o.length!=null),Array.prototype.every.call(o,e,r)}:function(o,e,r){for(var s=o.length,t=typeof o=="string"?o.split(""):o,i=0;i<s;i++)if(i in t&&!e.call(r,t[i],i,o))return!1;return!0},goog.array.count=function(o,e,r){var s=0;return goog.array.forEach(o,function(t,i,n){e.call(r,t,i,n)&&++s},r),s},goog.array.find=function(o,e,r){return e=goog.array.findIndex(o,e,r),0>e?null:typeof o=="string"?o.charAt(e):o[e]},goog.array.findIndex=function(o,e,r){for(var s=o.length,t=typeof o=="string"?o.split(""):o,i=0;i<s;i++)if(i in t&&e.call(r,t[i],i,o))return i;return-1},goog.array.findRight=function(o,e,r){return e=goog.array.findIndexRight(o,e,r),0>e?null:typeof o=="string"?o.charAt(e):o[e]},goog.array.findIndexRight=function(o,e,r){var s=o.length,t=typeof o=="string"?o.split(""):o;for(--s;0<=s;s--)if(s in t&&e.call(r,t[s],s,o))return s;return-1},goog.array.contains=function(o,e){return 0<=goog.array.indexOf(o,e)},goog.array.isEmpty=function(o){return o.length==0},goog.array.clear=function(o){if(!Array.isArray(o))for(var e=o.length-1;0<=e;e--)delete o[e];o.length=0},goog.array.insert=function(o,e){goog.array.contains(o,e)||o.push(e)},goog.array.insertAt=function(o,e,r){goog.array.splice(o,r,0,e)},goog.array.insertArrayAt=function(o,e,r){goog.partial(goog.array.splice,o,r,0).apply(null,e)},goog.array.insertBefore=function(o,e,r){var s;arguments.length==2||0>(s=goog.array.indexOf(o,r))?o.push(e):goog.array.insertAt(o,e,s)},goog.array.remove=function(o,e){e=goog.array.indexOf(o,e);var r;return(r=0<=e)&&goog.array.removeAt(o,e),r},goog.array.removeLast=function(o,e){return e=goog.array.lastIndexOf(o,e),0<=e?(goog.array.removeAt(o,e),!0):!1},goog.array.removeAt=function(o,e){return goog.asserts.assert(o.length!=null),Array.prototype.splice.call(o,e,1).length==1},goog.array.removeIf=function(o,e,r){return e=goog.array.findIndex(o,e,r),0<=e?(goog.array.removeAt(o,e),!0):!1},goog.array.removeAllIf=function(o,e,r){var s=0;return goog.array.forEachRight(o,function(t,i){e.call(r,t,i,o)&&goog.array.removeAt(o,i)&&s++}),s},goog.array.concat=function(o){return Array.prototype.concat.apply([],arguments)},goog.array.join=function(o){return Array.prototype.concat.apply([],arguments)},goog.array.toArray=function(o){var e=o.length;if(0<e){for(var r=Array(e),s=0;s<e;s++)r[s]=o[s];return r}return[]},goog.array.clone=goog.array.toArray,goog.array.extend=function(o,e){for(var r=1;r<arguments.length;r++){var s=arguments[r];if(goog.isArrayLike(s)){var t=o.length||0,i=s.length||0;o.length=t+i;for(var n=0;n<i;n++)o[t+n]=s[n]}else o.push(s)}},goog.array.splice=function(o,e,r,s){return goog.asserts.assert(o.length!=null),Array.prototype.splice.apply(o,goog.array.slice(arguments,1))},goog.array.slice=function(o,e,r){return goog.asserts.assert(o.length!=null),2>=arguments.length?Array.prototype.slice.call(o,e):Array.prototype.slice.call(o,e,r)},goog.array.removeDuplicates=function(o,e,r){e=e||o;var s=function(g){return goog.isObject(g)?"o"+goog.getUid(g):(typeof g).charAt(0)+g};r=r||s,s={};for(var t=0,i=0;i<o.length;){var n=o[i++],p=r(n);Object.prototype.hasOwnProperty.call(s,p)||(s[p]=!0,e[t++]=n)}e.length=t},goog.array.binarySearch=function(o,e,r){return goog.array.binarySearch_(o,r||goog.array.defaultCompare,!1,e)},goog.array.binarySelect=function(o,e,r){return goog.array.binarySearch_(o,e,!0,void 0,r)},goog.array.binarySearch_=function(o,e,r,s,t){for(var i=0,n=o.length,p;i<n;){var g=i+(n-i>>>1),l=r?e.call(t,o[g],g,o):e(s,o[g]);0<l?i=g+1:(n=g,p=!l)}return p?i:-i-1},goog.array.sort=function(o,e){o.sort(e||goog.array.defaultCompare)},goog.array.stableSort=function(o,e){for(var r=Array(o.length),s=0;s<o.length;s++)r[s]={index:s,value:o[s]};var t=e||goog.array.defaultCompare;for(goog.array.sort(r,function(i,n){return t(i.value,n.value)||i.index-n.index}),s=0;s<o.length;s++)o[s]=r[s].value},goog.array.sortByKey=function(o,e,r){var s=r||goog.array.defaultCompare;goog.array.sort(o,function(t,i){return s(e(t),e(i))})},goog.array.sortObjectsByKey=function(o,e,r){goog.array.sortByKey(o,function(s){return s[e]},r)},goog.array.isSorted=function(o,e,r){e=e||goog.array.defaultCompare;for(var s=1;s<o.length;s++){var t=e(o[s-1],o[s]);if(0<t||t==0&&r)return!1}return!0},goog.array.equals=function(o,e,r){if(!goog.isArrayLike(o)||!goog.isArrayLike(e)||o.length!=e.length)return!1;var s=o.length;r=r||goog.array.defaultCompareEquality;for(var t=0;t<s;t++)if(!r(o[t],e[t]))return!1;return!0},goog.array.compare3=function(o,e,r){r=r||goog.array.defaultCompare;for(var s=Math.min(o.length,e.length),t=0;t<s;t++){var i=r(o[t],e[t]);if(i!=0)return i}return goog.array.defaultCompare(o.length,e.length)},goog.array.defaultCompare=function(o,e){return o>e?1:o<e?-1:0},goog.array.inverseDefaultCompare=function(o,e){return-goog.array.defaultCompare(o,e)},goog.array.defaultCompareEquality=function(o,e){return o===e},goog.array.binaryInsert=function(o,e,r){return r=goog.array.binarySearch(o,e,r),0>r?(goog.array.insertAt(o,e,-(r+1)),!0):!1},goog.array.binaryRemove=function(o,e,r){return e=goog.array.binarySearch(o,e,r),0<=e?goog.array.removeAt(o,e):!1},goog.array.bucket=function(o,e,r){for(var s={},t=0;t<o.length;t++){var i=o[t],n=e.call(r,i,t,o);n!==void 0&&(s[n]||(s[n]=[])).push(i)}return s},goog.array.toObject=function(o,e,r){var s={};return goog.array.forEach(o,function(t,i){s[e.call(r,t,i,o)]=t}),s},goog.array.range=function(o,e,r){var s=[],t=0,i=o;if(r=r||1,e!==void 0&&(t=o,i=e),0>r*(i-t))return[];if(0<r)for(o=t;o<i;o+=r)s.push(o);else for(o=t;o>i;o+=r)s.push(o);return s},goog.array.repeat=function(o,e){for(var r=[],s=0;s<e;s++)r[s]=o;return r},goog.array.flatten=function(o){for(var e=[],r=0;r<arguments.length;r++){var s=arguments[r];if(Array.isArray(s))for(var t=0;t<s.length;t+=8192){var i=goog.array.slice(s,t,t+8192);i=goog.array.flatten.apply(null,i);for(var n=0;n<i.length;n++)e.push(i[n])}else e.push(s)}return e},goog.array.rotate=function(o,e){return goog.asserts.assert(o.length!=null),o.length&&(e%=o.length,0<e?Array.prototype.unshift.apply(o,o.splice(-e,e)):0>e&&Array.prototype.push.apply(o,o.splice(0,-e))),o},goog.array.moveItem=function(o,e,r){goog.asserts.assert(0<=e&&e<o.length),goog.asserts.assert(0<=r&&r<o.length),e=Array.prototype.splice.call(o,e,1),Array.prototype.splice.call(o,r,0,e[0])},goog.array.zip=function(o){if(!arguments.length)return[];for(var e=[],r=arguments[0].length,s=1;s<arguments.length;s++)arguments[s].length<r&&(r=arguments[s].length);for(s=0;s<r;s++){for(var t=[],i=0;i<arguments.length;i++)t.push(arguments[i][s]);e.push(t)}return e},goog.array.shuffle=function(o,e){e=e||Math.random;for(var r=o.length-1;0<r;r--){var s=Math.floor(e()*(r+1)),t=o[r];o[r]=o[s],o[s]=t}},goog.array.copyByIndex=function(o,e){var r=[];return goog.array.forEach(e,function(s){r.push(o[s])}),r},goog.array.concatMap=function(o,e,r){return goog.array.concat.apply([],goog.array.map(o,e,r))},goog.crypt={},goog.crypt.stringToByteArray=function(o){for(var e=[],r=0,s=0;s<o.length;s++){var t=o.charCodeAt(s);255<t&&(e[r++]=t&255,t>>=8),e[r++]=t}return e},goog.crypt.byteArrayToString=function(o){if(8192>=o.length)return String.fromCharCode.apply(null,o);for(var e="",r=0;r<o.length;r+=8192){var s=goog.array.slice(o,r,r+8192);e+=String.fromCharCode.apply(null,s)}return e},goog.crypt.byteArrayToHex=function(o,e){return goog.array.map(o,function(r){return r=r.toString(16),1<r.length?r:"0"+r}).join(e||"")},goog.crypt.hexToByteArray=function(o){goog.asserts.assert(o.length%2==0,"Key string length must be multiple of 2");for(var e=[],r=0;r<o.length;r+=2)e.push(parseInt(o.substring(r,r+2),16));return e},goog.crypt.stringToUtf8ByteArray=function(o){for(var e=[],r=0,s=0;s<o.length;s++){var t=o.charCodeAt(s);128>t?e[r++]=t:(2048>t?e[r++]=t>>6|192:((t&64512)==55296&&s+1<o.length&&(o.charCodeAt(s+1)&64512)==56320?(t=65536+((t&1023)<<10)+(o.charCodeAt(++s)&1023),e[r++]=t>>18|240,e[r++]=t>>12&63|128):e[r++]=t>>12|224,e[r++]=t>>6&63|128),e[r++]=t&63|128)}return e},goog.crypt.utf8ByteArrayToString=function(o){for(var e=[],r=0,s=0;r<o.length;){var t=o[r++];if(128>t)e[s++]=String.fromCharCode(t);else if(191<t&&224>t){var i=o[r++];e[s++]=String.fromCharCode((t&31)<<6|i&63)}else if(239<t&&365>t){i=o[r++];var n=o[r++],p=o[r++];t=((t&7)<<18|(i&63)<<12|(n&63)<<6|p&63)-65536,e[s++]=String.fromCharCode(55296+(t>>10)),e[s++]=String.fromCharCode(56320+(t&1023))}else i=o[r++],n=o[r++],e[s++]=String.fromCharCode((t&15)<<12|(i&63)<<6|n&63)}return e.join("")},goog.crypt.xorByteArray=function(o,e){goog.asserts.assert(o.length==e.length,"XOR array lengths must match");for(var r=[],s=0;s<o.length;s++)r.push(o[s]^e[s]);return r},goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(o){if(goog.asserts.ENABLE_ASSERTS){var e=goog.dom.asserts.getWindow_(o);e&&(!o||!(o instanceof e.Location)&&o instanceof e.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(o))}return o},goog.dom.asserts.assertIsElementType_=function(o,e){if(goog.asserts.ENABLE_ASSERTS){var r=goog.dom.asserts.getWindow_(o);r&&typeof r[e]<"u"&&(o&&(o instanceof r[e]||!(o instanceof r.Location||o instanceof r.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",e,goog.dom.asserts.debugStringForType_(o)))}return o},goog.dom.asserts.assertIsHTMLAnchorElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(o){return goog.dom.asserts.assertIsElementType_(o,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(o){if(goog.isObject(o))try{return o.constructor.displayName||o.constructor.name||Object.prototype.toString.call(o)}catch{return"<object could not be stringified>"}else return o===void 0?"undefined":o===null?"null":typeof o},goog.dom.asserts.getWindow_=function(o){try{var e=o&&o.ownerDocument,r=e&&(e.defaultView||e.parentWindow);if(r=r||goog.global,r.Element&&r.Location)return r}catch{}return null},goog.functions={},goog.functions.constant=function(o){return function(){return o}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(o,e){return o},goog.functions.error=function(o){return function(){throw Error(o)}},goog.functions.fail=function(o){return function(){throw o}},goog.functions.lock=function(o,e){return e=e||0,function(){return o.apply(this,Array.prototype.slice.call(arguments,0,e))}},goog.functions.nth=function(o){return function(){return arguments[o]}},goog.functions.partialRight=function(o,e){var r=Array.prototype.slice.call(arguments,1);return function(){var s=Array.prototype.slice.call(arguments);return s.push.apply(s,r),o.apply(this,s)}},goog.functions.withReturnValue=function(o,e){return goog.functions.sequence(o,goog.functions.constant(e))},goog.functions.equalTo=function(o,e){return function(r){return e?o==r:o===r}},goog.functions.compose=function(o,e){var r=arguments,s=r.length;return function(){var t;s&&(t=r[s-1].apply(this,arguments));for(var i=s-2;0<=i;i--)t=r[i].call(this,t);return t}},goog.functions.sequence=function(o){var e=arguments,r=e.length;return function(){for(var s,t=0;t<r;t++)s=e[t].apply(this,arguments);return s}},goog.functions.and=function(o){var e=arguments,r=e.length;return function(){for(var s=0;s<r;s++)if(!e[s].apply(this,arguments))return!1;return!0}},goog.functions.or=function(o){var e=arguments,r=e.length;return function(){for(var s=0;s<r;s++)if(e[s].apply(this,arguments))return!0;return!1}},goog.functions.not=function(o){return function(){return!o.apply(this,arguments)}},goog.functions.create=function(o,e){var r=function(){};return r.prototype=o.prototype,r=new r,o.apply(r,Array.prototype.slice.call(arguments,1)),r},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(o){var e=!1,r;return function(){return goog.functions.CACHE_RETURN_VALUE?(e||(r=o(),e=!0),r):o()}},goog.functions.once=function(o){var e=o;return function(){if(e){var r=e;e=null,r()}}},goog.functions.debounce=function(o,e,r){var s=0;return function(t){goog.global.clearTimeout(s);var i=arguments;s=goog.global.setTimeout(function(){o.apply(r,i)},e)}},goog.functions.throttle=function(o,e,r){var s=0,t=!1,i=[],n=function(){s=0,t&&(t=!1,p())},p=function(){s=goog.global.setTimeout(n,e),o.apply(r,i)};return function(g){i=arguments,s?t=!0:p()}},goog.functions.rateLimit=function(o,e,r){var s=0,t=function(){s=0};return function(i){s||(s=goog.global.setTimeout(t,e),o.apply(r,arguments))}},goog.dom.HtmlElement=function(){},goog.dom.TagName=function(o){this.tagName_=o},goog.dom.TagName.prototype.toString=function(){return this.tagName_},goog.dom.TagName.A=new goog.dom.TagName("A"),goog.dom.TagName.ABBR=new goog.dom.TagName("ABBR"),goog.dom.TagName.ACRONYM=new goog.dom.TagName("ACRONYM"),goog.dom.TagName.ADDRESS=new goog.dom.TagName("ADDRESS"),goog.dom.TagName.APPLET=new goog.dom.TagName("APPLET"),goog.dom.TagName.AREA=new goog.dom.TagName("AREA"),goog.dom.TagName.ARTICLE=new goog.dom.TagName("ARTICLE"),goog.dom.TagName.ASIDE=new goog.dom.TagName("ASIDE"),goog.dom.TagName.AUDIO=new goog.dom.TagName("AUDIO"),goog.dom.TagName.B=new goog.dom.TagName("B"),goog.dom.TagName.BASE=new goog.dom.TagName("BASE"),goog.dom.TagName.BASEFONT=new goog.dom.TagName("BASEFONT"),goog.dom.TagName.BDI=new goog.dom.TagName("BDI"),goog.dom.TagName.BDO=new goog.dom.TagName("BDO"),goog.dom.TagName.BIG=new goog.dom.TagName("BIG"),goog.dom.TagName.BLOCKQUOTE=new goog.dom.TagName("BLOCKQUOTE"),goog.dom.TagName.BODY=new goog.dom.TagName("BODY"),goog.dom.TagName.BR=new goog.dom.TagName("BR"),goog.dom.TagName.BUTTON=new goog.dom.TagName("BUTTON"),goog.dom.TagName.CANVAS=new goog.dom.TagName("CANVAS"),goog.dom.TagName.CAPTION=new goog.dom.TagName("CAPTION"),goog.dom.TagName.CENTER=new goog.dom.TagName("CENTER"),goog.dom.TagName.CITE=new goog.dom.TagName("CITE"),goog.dom.TagName.CODE=new goog.dom.TagName("CODE"),goog.dom.TagName.COL=new goog.dom.TagName("COL"),goog.dom.TagName.COLGROUP=new goog.dom.TagName("COLGROUP"),goog.dom.TagName.COMMAND=new goog.dom.TagName("COMMAND"),goog.dom.TagName.DATA=new goog.dom.TagName("DATA"),goog.dom.TagName.DATALIST=new goog.dom.TagName("DATALIST"),goog.dom.TagName.DD=new goog.dom.TagName("DD"),goog.dom.TagName.DEL=new goog.dom.TagName("DEL"),goog.dom.TagName.DETAILS=new goog.dom.TagName("DETAILS"),goog.dom.TagName.DFN=new goog.dom.TagName("DFN"),goog.dom.TagName.DIALOG=new goog.dom.TagName("DIALOG"),goog.dom.TagName.DIR=new goog.dom.TagName("DIR"),goog.dom.TagName.DIV=new goog.dom.TagName("DIV"),goog.dom.TagName.DL=new goog.dom.TagName("DL"),goog.dom.TagName.DT=new goog.dom.TagName("DT"),goog.dom.TagName.EM=new goog.dom.TagName("EM"),goog.dom.TagName.EMBED=new goog.dom.TagName("EMBED"),goog.dom.TagName.FIELDSET=new goog.dom.TagName("FIELDSET"),goog.dom.TagName.FIGCAPTION=new goog.dom.TagName("FIGCAPTION"),goog.dom.TagName.FIGURE=new goog.dom.TagName("FIGURE"),goog.dom.TagName.FONT=new goog.dom.TagName("FONT"),goog.dom.TagName.FOOTER=new goog.dom.TagName("FOOTER"),goog.dom.TagName.FORM=new goog.dom.TagName("FORM"),goog.dom.TagName.FRAME=new goog.dom.TagName("FRAME"),goog.dom.TagName.FRAMESET=new goog.dom.TagName("FRAMESET"),goog.dom.TagName.H1=new goog.dom.TagName("H1"),goog.dom.TagName.H2=new goog.dom.TagName("H2"),goog.dom.TagName.H3=new goog.dom.TagName("H3"),goog.dom.TagName.H4=new goog.dom.TagName("H4"),goog.dom.TagName.H5=new goog.dom.TagName("H5"),goog.dom.TagName.H6=new goog.dom.TagName("H6"),goog.dom.TagName.HEAD=new goog.dom.TagName("HEAD"),goog.dom.TagName.HEADER=new goog.dom.TagName("HEADER"),goog.dom.TagName.HGROUP=new goog.dom.TagName("HGROUP"),goog.dom.TagName.HR=new goog.dom.TagName("HR"),goog.dom.TagName.HTML=new goog.dom.TagName("HTML"),goog.dom.TagName.I=new goog.dom.TagName("I"),goog.dom.TagName.IFRAME=new goog.dom.TagName("IFRAME"),goog.dom.TagName.IMG=new goog.dom.TagName("IMG"),goog.dom.TagName.INPUT=new goog.dom.TagName("INPUT"),goog.dom.TagName.INS=new goog.dom.TagName("INS"),goog.dom.TagName.ISINDEX=new goog.dom.TagName("ISINDEX"),goog.dom.TagName.KBD=new goog.dom.TagName("KBD"),goog.dom.TagName.KEYGEN=new goog.dom.TagName("KEYGEN"),goog.dom.TagName.LABEL=new goog.dom.TagName("LABEL"),goog.dom.TagName.LEGEND=new goog.dom.TagName("LEGEND"),goog.dom.TagName.LI=new goog.dom.TagName("LI"),goog.dom.TagName.LINK=new goog.dom.TagName("LINK"),goog.dom.TagName.MAIN=new goog.dom.TagName("MAIN"),goog.dom.TagName.MAP=new goog.dom.TagName("MAP"),goog.dom.TagName.MARK=new goog.dom.TagName("MARK"),goog.dom.TagName.MATH=new goog.dom.TagName("MATH"),goog.dom.TagName.MENU=new goog.dom.TagName("MENU"),goog.dom.TagName.MENUITEM=new goog.dom.TagName("MENUITEM"),goog.dom.TagName.META=new goog.dom.TagName("META"),goog.dom.TagName.METER=new goog.dom.TagName("METER"),goog.dom.TagName.NAV=new goog.dom.TagName("NAV"),goog.dom.TagName.NOFRAMES=new goog.dom.TagName("NOFRAMES"),goog.dom.TagName.NOSCRIPT=new goog.dom.TagName("NOSCRIPT"),goog.dom.TagName.OBJECT=new goog.dom.TagName("OBJECT"),goog.dom.TagName.OL=new goog.dom.TagName("OL"),goog.dom.TagName.OPTGROUP=new goog.dom.TagName("OPTGROUP"),goog.dom.TagName.OPTION=new goog.dom.TagName("OPTION"),goog.dom.TagName.OUTPUT=new goog.dom.TagName("OUTPUT"),goog.dom.TagName.P=new goog.dom.TagName("P"),goog.dom.TagName.PARAM=new goog.dom.TagName("PARAM"),goog.dom.TagName.PICTURE=new goog.dom.TagName("PICTURE"),goog.dom.TagName.PRE=new goog.dom.TagName("PRE"),goog.dom.TagName.PROGRESS=new goog.dom.TagName("PROGRESS"),goog.dom.TagName.Q=new goog.dom.TagName("Q"),goog.dom.TagName.RP=new goog.dom.TagName("RP"),goog.dom.TagName.RT=new goog.dom.TagName("RT"),goog.dom.TagName.RTC=new goog.dom.TagName("RTC"),goog.dom.TagName.RUBY=new goog.dom.TagName("RUBY"),goog.dom.TagName.S=new goog.dom.TagName("S"),goog.dom.TagName.SAMP=new goog.dom.TagName("SAMP"),goog.dom.TagName.SCRIPT=new goog.dom.TagName("SCRIPT"),goog.dom.TagName.SECTION=new goog.dom.TagName("SECTION"),goog.dom.TagName.SELECT=new goog.dom.TagName("SELECT"),goog.dom.TagName.SMALL=new goog.dom.TagName("SMALL"),goog.dom.TagName.SOURCE=new goog.dom.TagName("SOURCE"),goog.dom.TagName.SPAN=new goog.dom.TagName("SPAN"),goog.dom.TagName.STRIKE=new goog.dom.TagName("STRIKE"),goog.dom.TagName.STRONG=new goog.dom.TagName("STRONG"),goog.dom.TagName.STYLE=new goog.dom.TagName("STYLE"),goog.dom.TagName.SUB=new goog.dom.TagName("SUB"),goog.dom.TagName.SUMMARY=new goog.dom.TagName("SUMMARY"),goog.dom.TagName.SUP=new goog.dom.TagName("SUP"),goog.dom.TagName.SVG=new goog.dom.TagName("SVG"),goog.dom.TagName.TABLE=new goog.dom.TagName("TABLE"),goog.dom.TagName.TBODY=new goog.dom.TagName("TBODY"),goog.dom.TagName.TD=new goog.dom.TagName("TD"),goog.dom.TagName.TEMPLATE=new goog.dom.TagName("TEMPLATE"),goog.dom.TagName.TEXTAREA=new goog.dom.TagName("TEXTAREA"),goog.dom.TagName.TFOOT=new goog.dom.TagName("TFOOT"),goog.dom.TagName.TH=new goog.dom.TagName("TH"),goog.dom.TagName.THEAD=new goog.dom.TagName("THEAD"),goog.dom.TagName.TIME=new goog.dom.TagName("TIME"),goog.dom.TagName.TITLE=new goog.dom.TagName("TITLE"),goog.dom.TagName.TR=new goog.dom.TagName("TR"),goog.dom.TagName.TRACK=new goog.dom.TagName("TRACK"),goog.dom.TagName.TT=new goog.dom.TagName("TT"),goog.dom.TagName.U=new goog.dom.TagName("U"),goog.dom.TagName.UL=new goog.dom.TagName("UL"),goog.dom.TagName.VAR=new goog.dom.TagName("VAR"),goog.dom.TagName.VIDEO=new goog.dom.TagName("VIDEO"),goog.dom.TagName.WBR=new goog.dom.TagName("WBR"),goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(o){return goog.dom.tags.VOID_TAGS_[o]===!0},goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html"):null,goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(o,e){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=o===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&e||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"}),goog.string.Const.unwrap=function(o){return o instanceof goog.string.Const&&o.constructor===goog.string.Const&&o.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?o.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+o+"'"),"type_error:Const")},goog.string.Const.from=function(o){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,o)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html.SafeScript=function(){this.privateDoNotAccessOrElseSafeScriptWrappedValue_="",this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeScript.prototype.implementsGoogStringTypedString=!0,goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeScript.fromConstant=function(o){return o=goog.string.Const.unwrap(o),o.length===0?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeScript.fromConstantAndArgs=function(o,e){for(var r=[],s=1;s<arguments.length;s++)r.push(goog.html.SafeScript.stringify_(arguments[s]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(o)+")("+r.join(", ")+");")},goog.html.SafeScript.fromJson=function(o){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(o))},goog.html.SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),goog.html.SafeScript.unwrap=function(o){return goog.html.SafeScript.unwrapTrustedScript(o).toString()},goog.html.SafeScript.unwrapTrustedScript=function(o){return o instanceof goog.html.SafeScript&&o.constructor===goog.html.SafeScript&&o.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeScript")},goog.html.SafeScript.stringify_=function(o){return JSON.stringify(o).replace(/</g,"\\x3c")},goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeScript().initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(o):o,this},goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(o){return goog.fs.url.getUrlObject_().createObjectURL(o)},goog.fs.url.revokeObjectUrl=function(o){goog.fs.url.getUrlObject_().revokeObjectURL(o)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(o){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(o){},goog.fs.url.getUrlObject_=function(){var o=goog.fs.url.findUrlObject_();if(o!=null)return o;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return goog.global.URL!==void 0&&goog.global.URL.createObjectURL!==void 0?goog.global.URL:goog.global.webkitURL!==void 0&&goog.global.webkitURL.createObjectURL!==void 0?goog.global.webkitURL:goog.global.createObjectURL!==void 0?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return goog.fs.url.findUrlObject_()!=null},goog.fs.blob={},goog.fs.blob.getBlob=function(o){var e=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(e!==void 0){e=new e;for(var r=0;r<arguments.length;r++)e.append(arguments[r]);return e.getBlob()}return goog.fs.blob.getBlobWithProperties(goog.array.toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(o,e,r){var s=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(s!==void 0){s=new s;for(var t=0;t<o.length;t++)s.append(o[t],r);return s.getBlob(e)}if(goog.global.Blob!==void 0)return s={},e&&(s.type=e),r&&(s.endings=r),new Blob(o,s);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||(goog.LOCALE.substring(0,2).toLowerCase()=="ar"||goog.LOCALE.substring(0,2).toLowerCase()=="fa"||goog.LOCALE.substring(0,2).toLowerCase()=="he"||goog.LOCALE.substring(0,2).toLowerCase()=="iw"||goog.LOCALE.substring(0,2).toLowerCase()=="ps"||goog.LOCALE.substring(0,2).toLowerCase()=="sd"||goog.LOCALE.substring(0,2).toLowerCase()=="ug"||goog.LOCALE.substring(0,2).toLowerCase()=="ur"||goog.LOCALE.substring(0,2).toLowerCase()=="yi")&&(goog.LOCALE.length==2||goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")||3<=goog.LOCALE.length&&goog.LOCALE.substring(0,3).toLowerCase()=="ckb"&&(goog.LOCALE.length==3||goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")||7<=goog.LOCALE.length&&(goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")&&(goog.LOCALE.substring(3,7).toLowerCase()=="adlm"||goog.LOCALE.substring(3,7).toLowerCase()=="arab"||goog.LOCALE.substring(3,7).toLowerCase()=="hebr"||goog.LOCALE.substring(3,7).toLowerCase()=="nkoo"||goog.LOCALE.substring(3,7).toLowerCase()=="rohg"||goog.LOCALE.substring(3,7).toLowerCase()=="thaa")||8<=goog.LOCALE.length&&(goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")&&(goog.LOCALE.substring(4,8).toLowerCase()=="adlm"||goog.LOCALE.substring(4,8).toLowerCase()=="arab"||goog.LOCALE.substring(4,8).toLowerCase()=="hebr"||goog.LOCALE.substring(4,8).toLowerCase()=="nkoo"||goog.LOCALE.substring(4,8).toLowerCase()=="rohg"||goog.LOCALE.substring(4,8).toLowerCase()=="thaa"),goog.i18n.bidi.Format={LRE:"\u202A",RLE:"\u202B",PDF:"\u202C",LRM:"\u200E",RLM:"\u200F"},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(o,e){return typeof o=="number"?0<o?goog.i18n.bidi.Dir.LTR:0>o?goog.i18n.bidi.Dir.RTL:e?null:goog.i18n.bidi.Dir.NEUTRAL:o==null?null:o?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0900-\u1FFF\u200E\u2C00-\uD801\uD804-\uD839\uD83C-\uDBFF\uF900-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",goog.i18n.bidi.rtlChars_="\u0591-\u06EF\u06FA-\u08FF\u200F\uD802-\uD803\uD83A-\uD83B\uFB1D-\uFDFF\uFE70-\uFEFC",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(o,e){return e?o.replace(goog.i18n.bidi.htmlSkipReg_,""):o},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(o,e){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(o,e){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(o){return goog.i18n.bidi.rtlRe_.test(o)},goog.i18n.bidi.isLtrChar=function(o){return goog.i18n.bidi.ltrRe_.test(o)},goog.i18n.bidi.isNeutralChar=function(o){return!goog.i18n.bidi.isLtrChar(o)&&!goog.i18n.bidi.isRtlChar(o)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(o,e){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(o,e){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(o,e){return o=goog.i18n.bidi.stripHtmlIfNeeded_(o,e),goog.i18n.bidi.isRequiredLtrRe_.test(o)||!goog.i18n.bidi.hasAnyLtr(o)&&!goog.i18n.bidi.hasAnyRtl(o)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(o,e){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(o,e){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(o,e))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(o){return goog.i18n.bidi.rtlLocalesRe_.test(o)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(o,e){return e=(e===void 0?goog.i18n.bidi.hasAnyRtl(o):e)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,o.replace(goog.i18n.bidi.bracketGuardTextRe_,e+"$&"+e)},goog.i18n.bidi.enforceRtlInHtml=function(o){return o.charAt(0)=="<"?o.replace(/<\w+/,"$& dir=rtl"):`
|
|
290
290
|
<span dir=rtl>`+o+"</span>"},goog.i18n.bidi.enforceRtlInText=function(o){return goog.i18n.bidi.Format.RLE+o+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(o){return o.charAt(0)=="<"?o.replace(/<\w+/,"$& dir=ltr"):`
|
|
291
291
|
<span dir=ltr>`+o+"</span>"},goog.i18n.bidi.enforceLtrInText=function(o){return goog.i18n.bidi.Format.LRE+o+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(o){return o.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(o){return o.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\u05F4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\u05F3")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(o,e){var r=0,s=0,t=!1;for(o=goog.i18n.bidi.stripHtmlIfNeeded_(o,e).split(goog.i18n.bidi.wordSeparatorRe_),e=0;e<o.length;e++){var i=o[e];goog.i18n.bidi.startsWithRtl(i)?(r++,s++):goog.i18n.bidi.isRequiredLtrRe_.test(i)?t=!0:goog.i18n.bidi.hasAnyLtr(i)?s++:goog.i18n.bidi.hasNumeralsRe_.test(i)&&(t=!0)}return s==0?t?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:r/s>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(o,e){return goog.i18n.bidi.estimateDirection(o,e)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(o,e){o&&(e=goog.i18n.bidi.toDir(e))&&(o.style.textAlign=e==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,o.dir=e==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(o,e){switch(goog.i18n.bidi.estimateDirection(e)){case goog.i18n.bidi.Dir.LTR:o.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:o.dir="rtl";break;default:o.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(o,e){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=o===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&e||"",this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(o,e){var r=goog.html.TrustedResourceUrl.unwrap(this);r=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(r);var s=r[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(r[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",r[2]||"",o)+goog.html.TrustedResourceUrl.stringifyParams_("#",s,e))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(o){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(o).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(o){return o instanceof goog.html.TrustedResourceUrl&&o.constructor===goog.html.TrustedResourceUrl&&o.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.format=function(o,e){var r=goog.string.Const.unwrap(o);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(r))throw Error("Invalid TrustedResourceUrl format: "+r);return o=r.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(s,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw Error('Found marker, "'+t+'", in format string, "'+r+'", but no valid label mapping found in args: '+JSON.stringify(e));return s=e[t],s instanceof goog.string.Const?goog.string.Const.unwrap(s):encodeURIComponent(String(s))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(o,e,r,s){return goog.html.TrustedResourceUrl.format(o,e).cloneWithParams(r,s)},goog.html.TrustedResourceUrl.fromConstant=function(o){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))},goog.html.TrustedResourceUrl.fromConstants=function(o){for(var e="",r=0;r<o.length;r++)e+=goog.string.Const.unwrap(o[r]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.fromSafeScript=function(o){return o=goog.fs.blob.getBlobWithProperties([goog.html.SafeScript.unwrap(o)],"text/javascript"),o=goog.fs.url.createObjectUrl(o),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(o){return o=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(o):o,new goog.html.TrustedResourceUrl(goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_,o)},goog.html.TrustedResourceUrl.stringifyParams_=function(o,e,r){if(r==null)return e;if(typeof r=="string")return r?o+encodeURIComponent(r):"";for(var s in r){var t=r[s];t=Array.isArray(t)?t:[t];for(var i=0;i<t.length;i++){var n=t[i];n!=null&&(e||(e=o),e+=(e.length>o.length?"&":"")+encodeURIComponent(s)+"="+encodeURIComponent(String(n)))}}return e},goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.internal={},goog.string.internal.startsWith=function(o,e){return o.lastIndexOf(e,0)==0},goog.string.internal.endsWith=function(o,e){var r=o.length-e.length;return 0<=r&&o.indexOf(e,r)==r},goog.string.internal.caseInsensitiveStartsWith=function(o,e){return goog.string.internal.caseInsensitiveCompare(e,o.substr(0,e.length))==0},goog.string.internal.caseInsensitiveEndsWith=function(o,e){return goog.string.internal.caseInsensitiveCompare(e,o.substr(o.length-e.length,e.length))==0},goog.string.internal.caseInsensitiveEquals=function(o,e){return o.toLowerCase()==e.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(o){return/^[\s\xa0]*$/.test(o)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(o){return o.trim()}:function(o){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(o)[1]},goog.string.internal.caseInsensitiveCompare=function(o,e){return o=String(o).toLowerCase(),e=String(e).toLowerCase(),o<e?-1:o==e?0:1},goog.string.internal.newLineToBr=function(o,e){return o.replace(/(\r\n|\r|\n)/g,e?"<br />":"<br>")},goog.string.internal.htmlEscape=function(o,e){if(e)o=o.replace(goog.string.internal.AMP_RE_,"&").replace(goog.string.internal.LT_RE_,"<").replace(goog.string.internal.GT_RE_,">").replace(goog.string.internal.QUOT_RE_,""").replace(goog.string.internal.SINGLE_QUOTE_RE_,"'").replace(goog.string.internal.NULL_RE_,"�");else{if(!goog.string.internal.ALL_RE_.test(o))return o;o.indexOf("&")!=-1&&(o=o.replace(goog.string.internal.AMP_RE_,"&")),o.indexOf("<")!=-1&&(o=o.replace(goog.string.internal.LT_RE_,"<")),o.indexOf(">")!=-1&&(o=o.replace(goog.string.internal.GT_RE_,">")),o.indexOf('"')!=-1&&(o=o.replace(goog.string.internal.QUOT_RE_,""")),o.indexOf("'")!=-1&&(o=o.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'")),o.indexOf("\0")!=-1&&(o=o.replace(goog.string.internal.NULL_RE_,"�"))}return o},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(o,e){return goog.string.internal.newLineToBr(o.replace(/ /g,"  "),e)},goog.string.internal.contains=function(o,e){return o.indexOf(e)!=-1},goog.string.internal.caseInsensitiveContains=function(o,e){return goog.string.internal.contains(o.toLowerCase(),e.toLowerCase())},goog.string.internal.compareVersions=function(o,e){var r=0;o=goog.string.internal.trim(String(o)).split("."),e=goog.string.internal.trim(String(e)).split(".");for(var s=Math.max(o.length,e.length),t=0;r==0&&t<s;t++){var i=o[t]||"",n=e[t]||"";do{if(i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],n=/(\d*)(\D*)(.*)/.exec(n)||["","","",""],i[0].length==0&&n[0].length==0)break;r=i[1].length==0?0:parseInt(i[1],10);var p=n[1].length==0?0:parseInt(n[1],10);r=goog.string.internal.compareElements_(r,p)||goog.string.internal.compareElements_(i[2].length==0,n[2].length==0)||goog.string.internal.compareElements_(i[2],n[2]),i=i[3],n=n[3]}while(r==0)}return r},goog.string.internal.compareElements_=function(o,e){return o<e?-1:o>e?1:0},goog.html.SafeUrl=function(o,e){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=o===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&e||"",this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(o){return o instanceof goog.html.SafeUrl&&o.constructor===goog.html.SafeUrl&&o.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(o))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(o){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(o)},goog.html.SafeUrl.fromBlob=function(o){return o=goog.html.SafeUrl.isSafeMimeType(o.type)?goog.fs.url.createObjectUrl(o):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromMediaSource=function(o){return goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource"),o=o instanceof MediaSource?goog.fs.url.createObjectUrl(o):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.fromDataUrl=function(o){o=o.replace(/(%0A|%0D)/g,"");var e=o.match(goog.html.DATA_URL_PATTERN_);return e=e&&goog.html.SafeUrl.isSafeMimeType(e[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e?o:goog.html.SafeUrl.INNOCUOUS_STRING)},goog.html.SafeUrl.fromTelUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"tel:")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(o){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(o))||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"fb-messenger://share")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromWhatsAppUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"whatsapp://send")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.fromSmsUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(o){var e=o.indexOf("#");if(0<e&&(o=o.substring(0,e)),e=o.match(/[?&]body=/gi),!e)return!0;if(1<e.length)return!1;if(o=o.match(/[?&]body=([^&]*)/)[1],!o)return!0;try{decodeURIComponent(o)}catch{return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(o)},goog.html.SafeUrl.fromSshUrl=function(o){return goog.string.internal.caseInsensitiveStartsWith(o,"ssh://")||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(o,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,o,e)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(o,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,o,e)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(o,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,o,e)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(o,e,r){return(o=o.exec(e))?(o=o[1],(r instanceof goog.string.Const?[goog.string.Const.unwrap(r)]:r.map(function(s){return goog.string.Const.unwrap(s)})).indexOf(o)==-1&&(e=goog.html.SafeUrl.INNOCUOUS_STRING)):e=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromTrustedResourceUrl=function(o){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(o))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.sanitize=function(o){return o instanceof goog.html.SafeUrl?o:(o=typeof o=="object"&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SAFE_URL_PATTERN_.test(o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeUrl.sanitizeAssertUnchanged=function(o,e){return o instanceof goog.html.SafeUrl?o:(o=typeof o=="object"&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),e&&/^data:/i.test(o)&&(e=goog.html.SafeUrl.fromDataUrl(o),e.getTypedStringValue()==o)?e:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(o),"%s does not match the safe URL pattern",o)||(o=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(o)))},goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeUrl(goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_,o)},goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_="",this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyle.fromConstant=function(o){return o=goog.string.Const.unwrap(o),o.length===0?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(o,";"),"Last character of style string is not ';': "+o),goog.asserts.assert(goog.string.internal.contains(o,":"),`Style string must contain at least one ':', to specify a "name: value" pair: `+o),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(o){return o instanceof goog.html.SafeStyle&&o.constructor===goog.html.SafeStyle&&o.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyle")},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeStyle().initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=o,this},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(o){var e="",r;for(r in o){if(!/^[-_a-zA-Z0-9]+$/.test(r))throw Error("Name allows only [-_a-zA-Z0-9], got: "+r);var s=o[r];s!=null&&(s=Array.isArray(s)?goog.array.map(s,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(s),e+=r+":"+s+";")}return e?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(o){if(o instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(o).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(o=o instanceof goog.string.Const?goog.string.Const.unwrap(o):goog.html.SafeStyle.sanitizePropertyValueString_(String(o)),/[{;}]/.test(o))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[o]);return o},goog.html.SafeStyle.sanitizePropertyValueString_=function(o){var e=o.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");if(goog.html.SafeStyle.VALUE_RE_.test(e)){if(goog.html.SafeStyle.COMMENT_RE_.test(o))return goog.asserts.fail("String value disallows comments, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedQuotes_(o))return goog.asserts.fail("String value requires balanced quotes, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING;if(!goog.html.SafeStyle.hasBalancedSquareBrackets_(o))return goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING}else return goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+o),goog.html.SafeStyle.INNOCUOUS_STRING;return goog.html.SafeStyle.sanitizeUrl_(o)},goog.html.SafeStyle.hasBalancedQuotes_=function(o){for(var e=!0,r=!0,s=0;s<o.length;s++){var t=o.charAt(s);t=="'"&&r?e=!e:t=='"'&&e&&(r=!r)}return e&&r},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(o){for(var e=!0,r=/^[-_a-zA-Z0-9]$/,s=0;s<o.length;s++){var t=o.charAt(s);if(t=="]"){if(e)return!1;e=!0}else if(t=="["){if(!e)return!1;e=!1}else if(!e&&!r.test(t))return!1}return e},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_=`[-,."'%_!# a-zA-Z0-9\\[\\]]`,goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.ALLOWED_FUNCTIONS_="calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?".split(" "),goog.html.SafeStyle.FUNCTIONS_RE_=new RegExp("\\b("+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join("|")+")\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(o){return o.replace(goog.html.SafeStyle.URL_RE_,function(e,r,s,t){var i="";return s=s.replace(/^(['"])(.*)\1$/,function(n,p,g){return i=p,g}),e=goog.html.SafeUrl.sanitize(s).getTypedStringValue(),r+i+e+i+t})},goog.html.SafeStyle.concat=function(o){var e="",r=function(s){Array.isArray(s)?goog.array.forEach(s,r):e+=goog.html.SafeStyle.unwrap(s)};return goog.array.forEach(arguments,r),e?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e):goog.html.SafeStyle.EMPTY},goog.html.SafeStyleSheet=function(){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_="",this.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyleSheet.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyleSheet.createRule=function(o,e){if(goog.string.internal.contains(o,"<"))throw Error("Selector does not allow '<', got: "+o);var r=o.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(r))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+o);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(r))throw Error("() and [] in selector must be balanced, got: "+o);return e instanceof goog.html.SafeStyle||(e=goog.html.SafeStyle.create(e)),o=o+"{"+goog.html.SafeStyle.unwrap(e).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o)},goog.html.SafeStyleSheet.hasBalancedBrackets_=function(o){for(var e={"(":")","[":"]"},r=[],s=0;s<o.length;s++){var t=o[s];if(e[t])r.push(e[t]);else if(goog.object.contains(e,t)&&r.pop()!=t)return!1}return r.length==0},goog.html.SafeStyleSheet.concat=function(o){var e="",r=function(s){Array.isArray(s)?goog.array.forEach(s,r):e+=goog.html.SafeStyleSheet.unwrap(s)};return goog.array.forEach(arguments,r),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeStyleSheet.fromConstant=function(o){return o=goog.string.Const.unwrap(o),o.length===0?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(o,"<"),"Forbidden '<' character in style sheet string: "+o),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(o))},goog.html.SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},goog.DEBUG&&(goog.html.SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),goog.html.SafeStyleSheet.unwrap=function(o){return o instanceof goog.html.SafeStyleSheet&&o.constructor===goog.html.SafeStyleSheet&&o.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeStyleSheet")},goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(o){return new goog.html.SafeStyleSheet().initSecurityPrivateDoNotAccessOrElse_(o)},goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=o,this},goog.html.SafeStyleSheet.EMPTY=goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var o=goog.labs.userAgent.util.getNavigator_();return o&&(o=o.userAgent)?o:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(o){goog.labs.userAgent.util.userAgent_=o||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(o){var e=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(e,o)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(o){var e=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(e,o)},goog.labs.userAgent.util.extractVersionTuples=function(o){for(var e=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[],s;s=e.exec(o);)r.push([s[1],s[2],s[3]||void 0]);return r},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function o(t){return t=goog.array.find(t,s),r[t]||""}var e=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(e);e=goog.labs.userAgent.util.extractVersionTuples(e);var r={};goog.array.forEach(e,function(t){r[t[0]]=t[1]});var s=goog.partial(goog.object.containsKey,r);return goog.labs.userAgent.browser.isOpera()?o(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?o(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?o(["Edg"]):goog.labs.userAgent.browser.isChrome()?o(["Chrome","CriOS","HeadlessChrome"]):(e=e[2])&&e[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(o){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),o)},goog.labs.userAgent.browser.getIEVersion_=function(o){var e=/rv: *([\d\.]*)/.exec(o);if(e&&e[1])return e[1];e="";var r=/MSIE +([\d\.]+)/.exec(o);if(r&&r[1])if(o=/Trident\/(\d.\d)/.exec(o),r[1]=="7.0")if(o&&o[1])switch(o[1]){case"4.0":e="8.0";break;case"5.0":e="9.0";break;case"6.0":e="10.0";break;case"7.0":e="11.0"}else e="7.0";else e=r[1];return e},goog.html.SafeHtml=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_="",this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_,this.dir_=null},goog.html.SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG,goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0,goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(o){return goog.html.SafeHtml.unwrapTrustedHTML(o).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(o){return o instanceof goog.html.SafeHtml&&o.constructor===goog.html.SafeHtml&&o.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?o.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+o+"' of type "+goog.typeOf(o)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(o){if(o instanceof goog.html.SafeHtml)return o;var e=typeof o=="object",r=null;return e&&o.implementsGoogI18nBidiDirectionalString&&(r=o.getDirection()),o=e&&o.implementsGoogStringTypedString?o.getTypedStringValue():String(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(o),r)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(o)),o.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(o){return o instanceof goog.html.SafeHtml?o:(o=goog.html.SafeHtml.htmlEscape(o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(o)),o.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.comment=function(o){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!--"+goog.string.internal.htmlEscape(o)+"-->",null)},goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.html.SafeHtml.create=function(o,e,r){return goog.html.SafeHtml.verifyTagName(String(o)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(o),e,r)},goog.html.SafeHtml.verifyTagName=function(o){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(o))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid tag name <"+o+">.":"");if(o.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+o+"> is not allowed for SafeHtml.":"")},goog.html.SafeHtml.createIframe=function(o,e,r,s){o&&goog.html.TrustedResourceUrl.unwrap(o);var t={};return t.src=o||null,t.srcdoc=e&&goog.html.SafeHtml.unwrap(e),o=goog.html.SafeHtml.combineAttributes(t,{sandbox:""},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,s)},goog.html.SafeHtml.createSandboxIframe=function(o,e,r,s){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var t={};return t.src=o?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)):null,t.srcdoc=e||null,t.sandbox="",o=goog.html.SafeHtml.combineAttributes(t,{},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",o,s)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(o,e){return goog.html.TrustedResourceUrl.unwrap(o),o=goog.html.SafeHtml.combineAttributes({src:o},{},e),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",o)},goog.html.SafeHtml.createScript=function(o,e){for(var r in e){var s=r.toLowerCase();if(s=="language"||s=="src"||s=="text"||s=="type")throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot set "'+s+'" attribute':"")}for(r="",o=goog.array.concat(o),s=0;s<o.length;s++)r+=goog.html.SafeScript.unwrap(o[s]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",e,o)},goog.html.SafeHtml.createStyle=function(o,e){e=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},e);var r="";o=goog.array.concat(o);for(var s=0;s<o.length;s++)r+=goog.html.SafeStyleSheet.unwrap(o[s]);return o=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",e,o)},goog.html.SafeHtml.createMetaRefresh=function(o,e){return o=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(o)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(o,";")&&(o="'"+o.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(e||0)+"; url="+o})},goog.html.SafeHtml.getAttrNameAndValue_=function(o,e,r){if(r instanceof goog.string.Const)r=goog.string.Const.unwrap(r);else if(e.toLowerCase()=="style")if(goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)r=goog.html.SafeHtml.getStyleValue_(r);else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"");else{if(/^on/i.test(e))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+e+'" requires goog.string.Const value, "'+r+'" given.':"");if(e.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(r instanceof goog.html.TrustedResourceUrl)r=goog.html.TrustedResourceUrl.unwrap(r);else if(r instanceof goog.html.SafeUrl)r=goog.html.SafeUrl.unwrap(r);else if(typeof r=="string")r=goog.html.SafeUrl.sanitize(r).getTypedStringValue();else throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+e+'" on tag "'+o+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+r+'" given.':"")}return r.implementsGoogStringTypedString&&(r=r.getTypedStringValue()),goog.asserts.assert(typeof r=="string"||typeof r=="number","String or number value expected, got "+typeof r+" with value: "+r),e+'="'+goog.string.internal.htmlEscape(String(r))+'"'},goog.html.SafeHtml.getStyleValue_=function(o){if(!goog.isObject(o))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof o+" given: "+o:"");return o instanceof goog.html.SafeStyle||(o=goog.html.SafeStyle.create(o)),goog.html.SafeStyle.unwrap(o)},goog.html.SafeHtml.createWithDir=function(o,e,r,s){return e=goog.html.SafeHtml.create(e,r,s),e.dir_=o,e},goog.html.SafeHtml.join=function(o,e){o=goog.html.SafeHtml.htmlEscape(o);var r=o.getDirection(),s=[],t=function(i){Array.isArray(i)?goog.array.forEach(i,t):(i=goog.html.SafeHtml.htmlEscape(i),s.push(goog.html.SafeHtml.unwrap(i)),i=i.getDirection(),r==goog.i18n.bidi.Dir.NEUTRAL?r=i:i!=goog.i18n.bidi.Dir.NEUTRAL&&r!=i&&(r=null))};return goog.array.forEach(e,t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(s.join(goog.html.SafeHtml.unwrap(o)),r)},goog.html.SafeHtml.concat=function(o){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(o,e){var r=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return r.dir_=o,r},goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(o,e){return new goog.html.SafeHtml().initSecurityPrivateDoNotAccessOrElse_(o,e)},goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(o,e){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(o):o,this.dir_=e,this},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(o,e,r){var s=null,t="<"+o+goog.html.SafeHtml.stringifyAttributes(o,e);return r==null?r=[]:Array.isArray(r)||(r=[r]),goog.dom.tags.isVoidTag(o.toLowerCase())?(goog.asserts.assert(!r.length,"Void tag <"+o+"> does not allow content."),t+=">"):(s=goog.html.SafeHtml.concat(r),t+=">"+goog.html.SafeHtml.unwrap(s)+"</"+o+">",s=s.getDirection()),(o=e&&e.dir)&&(s=/^(ltr|rtl|auto)$/i.test(o)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,s)},goog.html.SafeHtml.stringifyAttributes=function(o,e){var r="";if(e)for(var s in e){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(s))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+s+'".':"");var t=e[s];t!=null&&(r+=" "+goog.html.SafeHtml.getAttrNameAndValue_(o,s,t))}return r},goog.html.SafeHtml.combineAttributes=function(o,e,r){var s={},t;for(t in o)goog.asserts.assert(t.toLowerCase()==t,"Must be lower case"),s[t]=o[t];for(t in e)goog.asserts.assert(t.toLowerCase()==t,"Must be lower case"),s[t]=e[t];if(r)for(t in r){var i=t.toLowerCase();if(i in o)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot override "'+i+'" attribute, got "'+t+'" with value "'+r[t]+'"':"");i in e&&delete s[i],s[t]=r[t]}return s},goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.EMPTY=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(o,e,r){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(e,r||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(o,e){return goog.asserts.assertString(goog.string.Const.unwrap(o),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(o)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(o,e,r){o.insertAdjacentHTML(e,goog.html.SafeHtml.unwrapTrustedHTML(r))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue(function(){if(goog.DEBUG&&typeof document>"u")return!1;var o=document.createElement("div"),e=document.createElement("div");return e.appendChild(document.createElement("div")),o.appendChild(e),goog.DEBUG&&!o.firstChild?!1:(e=o.firstChild.firstChild,o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),!e.parentElement)}),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(o,e){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;o.lastChild;)o.removeChild(o.lastChild);o.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setInnerHtml=function(o,e){if(goog.asserts.ENABLE_ASSERTS){var r=o.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[r])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+o.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(o,e)},goog.dom.safe.setOuterHtml=function(o,e){o.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setFormElementAction=function(o,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLFormElement(o).action=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setButtonFormAction=function(o,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLButtonElement(o).formAction=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setInputFormAction=function(o,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLInputElement(o).formAction=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setStyle=function(o,e){o.style.cssText=goog.html.SafeStyle.unwrap(e)},goog.dom.safe.documentWrite=function(o,e){o.write(goog.html.SafeHtml.unwrapTrustedHTML(e))},goog.dom.safe.setAnchorHref=function(o,e){goog.dom.asserts.assertIsHTMLAnchorElement(o),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),o.href=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setImageSrc=function(o,e){if(goog.dom.asserts.assertIsHTMLImageElement(o),!(e instanceof goog.html.SafeUrl)){var r=/^data:image\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,r)}o.src=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setAudioSrc=function(o,e){if(goog.dom.asserts.assertIsHTMLAudioElement(o),!(e instanceof goog.html.SafeUrl)){var r=/^data:audio\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,r)}o.src=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setVideoSrc=function(o,e){if(goog.dom.asserts.assertIsHTMLVideoElement(o),!(e instanceof goog.html.SafeUrl)){var r=/^data:video\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,r)}o.src=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.setEmbedSrc=function(o,e){goog.dom.asserts.assertIsHTMLEmbedElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e)},goog.dom.safe.setFrameSrc=function(o,e){goog.dom.asserts.assertIsHTMLFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrap(e)},goog.dom.safe.setIframeSrc=function(o,e){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.src=goog.html.TrustedResourceUrl.unwrap(e)},goog.dom.safe.setIframeSrcdoc=function(o,e){goog.dom.asserts.assertIsHTMLIFrameElement(o),o.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setLinkHrefAndRel=function(o,e,r){goog.dom.asserts.assertIsHTMLLinkElement(o),o.rel=r,goog.string.internal.caseInsensitiveContains(r,"stylesheet")?(goog.asserts.assert(e instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),o.href=goog.html.TrustedResourceUrl.unwrap(e)):o.href=e instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(e):e instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(e):goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(e))},goog.dom.safe.setObjectData=function(o,e){goog.dom.asserts.assertIsHTMLObjectElement(o),o.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e)},goog.dom.safe.setScriptSrc=function(o,e){goog.dom.asserts.assertIsHTMLScriptElement(o),o.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e),(e=goog.getScriptNonce())&&o.setAttribute("nonce",e)},goog.dom.safe.setScriptContent=function(o,e){goog.dom.asserts.assertIsHTMLScriptElement(o),o.text=goog.html.SafeScript.unwrapTrustedScript(e),(e=goog.getScriptNonce())&&o.setAttribute("nonce",e)},goog.dom.safe.setLocationHref=function(o,e){goog.dom.asserts.assertIsLocation(o),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),o.href=goog.html.SafeUrl.unwrap(e)},goog.dom.safe.assignLocation=function(o,e){goog.dom.asserts.assertIsLocation(o),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),o.assign(goog.html.SafeUrl.unwrap(e))},goog.dom.safe.replaceLocation=function(o,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),o.replace(goog.html.SafeUrl.unwrap(e))},goog.dom.safe.openInWindow=function(o,e,r,s,t){return o=o instanceof goog.html.SafeUrl?o:goog.html.SafeUrl.sanitizeAssertUnchanged(o),e=e||goog.global,r=r instanceof goog.string.Const?goog.string.Const.unwrap(r):r||"",e.open(goog.html.SafeUrl.unwrap(o),r,s,t)},goog.dom.safe.parseFromStringHtml=function(o,e){return goog.dom.safe.parseFromString(o,e,"text/html")},goog.dom.safe.parseFromString=function(o,e,r){return o.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(e),r)},goog.dom.safe.createImageFromBlob=function(o){if(!/^image\/.*/g.test(o.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var e=goog.global.URL.createObjectURL(o);return o=new goog.global.Image,o.onload=function(){goog.global.URL.revokeObjectURL(e)},goog.dom.safe.setImageSrc(o,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),e)),o},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:"\xA0"},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(o,e){for(var r=o.split("%s"),s="",t=Array.prototype.slice.call(arguments,1);t.length&&1<r.length;)s+=r.shift()+t.shift();return s+r.join("%s")},goog.string.collapseWhitespace=function(o){return o.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(o){return o.length==0},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(o){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(o))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(o){return!/[^\t\n\r ]/.test(o)},goog.string.isAlpha=function(o){return!/[^a-zA-Z]/.test(o)},goog.string.isNumeric=function(o){return!/[^0-9]/.test(o)},goog.string.isAlphaNumeric=function(o){return!/[^a-zA-Z0-9]/.test(o)},goog.string.isSpace=function(o){return o==" "},goog.string.isUnicodeChar=function(o){return o.length==1&&" "<=o&&"~">=o||"\x80"<=o&&"\uFFFD">=o},goog.string.stripNewlines=function(o){return o.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(o){return o.replace(/(\r\n|\r|\n)/g,`
|
|
292
|
-
`)},goog.string.normalizeWhitespace=function(o){return o.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(o){return o.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(o){return o.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(o){return o.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(o){return o.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(o,e,r){if(o==e)return 0;if(!o)return-1;if(!e)return 1;for(var s=o.toLowerCase().match(r),t=e.toLowerCase().match(r),i=Math.min(s.length,t.length),n=0;n<i;n++){r=s[n];var p=t[n];if(r!=p)return o=parseInt(r,10),!isNaN(o)&&(e=parseInt(p,10),!isNaN(e)&&o-e)?o-e:r<p?-1:1}return s.length!=t.length?s.length-t.length:o<e?-1:1},goog.string.intAwareCompare=function(o,e){return goog.string.numberAwareCompare_(o,e,/\d+|\D+/g)},goog.string.floatAwareCompare=function(o,e){return goog.string.numberAwareCompare_(o,e,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(o){return encodeURIComponent(String(o))},goog.string.urlDecode=function(o){return decodeURIComponent(o.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(o,e){return o=goog.string.internal.htmlEscape(o,e),goog.string.DETECT_DOUBLE_ESCAPING&&(o=o.replace(goog.string.E_RE_,"e")),o},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(o){return goog.string.contains(o,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(o):goog.string.unescapePureXmlEntities_(o):o},goog.string.unescapeEntitiesWithDocument=function(o,e){return goog.string.contains(o,"&")?goog.string.unescapeEntitiesUsingDom_(o,e):o},goog.string.unescapeEntitiesUsingDom_=function(o,e){var r={"&":"&","<":"<",">":">",""":'"'},s=e?e.createElement("div"):goog.global.document.createElement("div");return o.replace(goog.string.HTML_ENTITY_PATTERN_,function(t,i){var n=r[t];return n||(i.charAt(0)=="#"&&(i=Number("0"+i.substr(1)),isNaN(i)||(n=String.fromCharCode(i))),n||(goog.dom.safe.setInnerHtml(s,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),t+" ")),n=s.firstChild.nodeValue.slice(0,-1)),r[t]=n)})},goog.string.unescapePureXmlEntities_=function(o){return o.replace(/&([^;]+);/g,function(e,r){switch(r){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return r.charAt(0)!="#"||(r=Number("0"+r.substr(1)),isNaN(r))?e:String.fromCharCode(r)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(o,e){return goog.string.newLineToBr(o.replace(/ /g,"  "),e)},goog.string.preserveSpaces=function(o){return o.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(o,e){for(var r=e.length,s=0;s<r;s++){var t=r==1?e:e.charAt(s);if(o.charAt(0)==t&&o.charAt(o.length-1)==t)return o.substring(1,o.length-1)}return o},goog.string.truncate=function(o,e,r){return r&&(o=goog.string.unescapeEntities(o)),o.length>e&&(o=o.substring(0,e-3)+"..."),r&&(o=goog.string.htmlEscape(o)),o},goog.string.truncateMiddle=function(o,e,r,s){if(r&&(o=goog.string.unescapeEntities(o)),s&&o.length>e){s>e&&(s=e);var t=o.length-s;o=o.substring(0,e-s)+"..."+o.substring(t)}else o.length>e&&(s=Math.floor(e/2),t=o.length-s,o=o.substring(0,s+e%2)+"..."+o.substring(t));return r&&(o=goog.string.htmlEscape(o)),o},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(o){o=String(o);for(var e=['"'],r=0;r<o.length;r++){var s=o.charAt(r),t=s.charCodeAt(0);e[r+1]=goog.string.specialEscapeChars_[s]||(31<t&&127>t?s:goog.string.escapeChar(s))}return e.push('"'),e.join("")},goog.string.escapeString=function(o){for(var e=[],r=0;r<o.length;r++)e[r]=goog.string.escapeChar(o.charAt(r));return e.join("")},goog.string.escapeChar=function(o){if(o in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[o];if(o in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[o]=goog.string.specialEscapeChars_[o];var e=o.charCodeAt(0);if(31<e&&127>e)var r=o;else 256>e?(r="\\x",(16>e||256<e)&&(r+="0")):(r="\\u",4096>e&&(r+="0")),r+=e.toString(16).toUpperCase();return goog.string.jsEscapeCache_[o]=r},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(o,e){return o&&e?o.split(e).length-1:0},goog.string.removeAt=function(o,e,r){var s=o;return 0<=e&&e<o.length&&0<r&&(s=o.substr(0,e)+o.substr(e+r,o.length-e-r)),s},goog.string.remove=function(o,e){return o.replace(e,"")},goog.string.removeAll=function(o,e){return e=new RegExp(goog.string.regExpEscape(e),"g"),o.replace(e,"")},goog.string.replaceAll=function(o,e,r){return e=new RegExp(goog.string.regExpEscape(e),"g"),o.replace(e,r.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(o){return String(o).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(o,e){return o.repeat(e)}:function(o,e){return Array(e+1).join(o)},goog.string.padNumber=function(o,e,r){return o=r!==void 0?o.toFixed(r):String(o),r=o.indexOf("."),r==-1&&(r=o.length),goog.string.repeat("0",Math.max(0,e-r))+o},goog.string.makeSafe=function(o){return o==null?"":String(o)},goog.string.buildString=function(o){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(o){for(var e=0,r=0;r<o.length;++r)e=31*e+o.charCodeAt(r)>>>0;return e},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(o){var e=Number(o);return e==0&&goog.string.isEmptyOrWhitespace(o)?NaN:e},goog.string.isLowerCamelCase=function(o){return/^[a-z]+([A-Z][a-z]*)*$/.test(o)},goog.string.isUpperCamelCase=function(o){return/^([A-Z][a-z]*)+$/.test(o)},goog.string.toCamelCase=function(o){return String(o).replace(/\-([a-z])/g,function(e,r){return r.toUpperCase()})},goog.string.toSelectorCase=function(o){return String(o).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(o,e){return e=typeof e=="string"?goog.string.regExpEscape(e):"\\s",o.replace(new RegExp("(^"+(e?"|["+e+"]+":"")+")([a-z])","g"),function(r,s,t){return s+t.toUpperCase()})},goog.string.capitalize=function(o){return String(o.charAt(0)).toUpperCase()+String(o.substr(1)).toLowerCase()},goog.string.parseInt=function(o){return isFinite(o)&&(o=String(o)),typeof o=="string"?/^\s*-?0x/i.test(o)?parseInt(o,16):parseInt(o,10):NaN},goog.string.splitLimit=function(o,e,r){o=o.split(e);for(var s=[];0<r&&o.length;)s.push(o.shift()),r--;return o.length&&s.push(o.join(e)),s},goog.string.lastComponent=function(o,e){if(e)typeof e=="string"&&(e=[e]);else return o;for(var r=-1,s=0;s<e.length;s++)if(e[s]!=""){var t=o.lastIndexOf(e[s]);t>r&&(r=t)}return r==-1?o:o.slice(r+1)},goog.string.editDistance=function(o,e){var r=[],s=[];if(o==e)return 0;if(!o.length||!e.length)return Math.max(o.length,e.length);for(var t=0;t<e.length+1;t++)r[t]=t;for(t=0;t<o.length;t++){s[0]=t+1;for(var i=0;i<e.length;i++)s[i+1]=Math.min(s[i]+1,r[i+1]+1,r[i]+Number(o[t]!=e[i]));for(i=0;i<r.length;i++)r[i]=s[i]}return s[e.length]},goog.labs.userAgent.engine={},goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")},goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent();if(o){o=goog.labs.userAgent.util.extractVersionTuples(o);var e=goog.labs.userAgent.engine.getEngineTuple_(o);if(e)return e[0]=="Gecko"?goog.labs.userAgent.engine.getVersionForKey_(o,"Firefox"):e[1];o=o[0];var r;if(o&&(r=o[2])&&(r=/Trident\/([^\s;]+)/.exec(r)))return r[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(o){if(!goog.labs.userAgent.engine.isEdge())return o[1];for(var e=0;e<o.length;e++){var r=o[e];if(r[0]=="Edge")return r}},goog.labs.userAgent.engine.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),o)},goog.labs.userAgent.engine.getVersionForKey_=function(o,e){return(o=goog.array.find(o,function(r){return e==r[0]}))&&o[1]||""},goog.labs.userAgent.platform={},goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")},goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")},goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()},goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")},goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")},goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")},goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")},goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")},goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")},goog.labs.userAgent.platform.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent(),e="";return goog.labs.userAgent.platform.isWindows()?(e=/Windows (?:NT|Phone) ([0-9.]+)/,e=(o=e.exec(o))?o[1]:"0.0"):goog.labs.userAgent.platform.isIos()?(e=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,e=(o=e.exec(o))&&o[1].replace(/_/g,".")):goog.labs.userAgent.platform.isMacintosh()?(e=/Mac OS X ([0-9_.]+)/,e=(o=e.exec(o))?o[1].replace(/_/g,"."):"10"):goog.labs.userAgent.platform.isKaiOS()?(e=/(?:KaiOS)\/(\S+)/i,e=(o=e.exec(o))&&o[1]):goog.labs.userAgent.platform.isAndroid()?(e=/Android\s+([^\);]+)(\)|;)/,e=(o=e.exec(o))&&o[1]):goog.labs.userAgent.platform.isChromeOS()&&(e=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,e=(o=e.exec(o))&&o[1]),e||""},goog.labs.userAgent.platform.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),o)},goog.reflect={},goog.reflect.object=function(o,e){return e},goog.reflect.objectProperty=function(o,e){return o},goog.reflect.sinkValue=function(o){return goog.reflect.sinkValue[" "](o),o},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(o,e){try{return goog.reflect.sinkValue(o[e]),!0}catch{}return!1},goog.reflect.cache=function(o,e,r,s){return s=s?s(e):e,Object.prototype.hasOwnProperty.call(o,s)?o[s]:o[s]=r(e)},goog.userAgent={},goog.userAgent.ASSUME_IE=!1,goog.userAgent.ASSUME_EDGE=!1,goog.userAgent.ASSUME_GECKO=!1,goog.userAgent.ASSUME_WEBKIT=!1,goog.userAgent.ASSUME_MOBILE_WEBKIT=!1,goog.userAgent.ASSUME_OPERA=!1,goog.userAgent.ASSUME_ANY_VERSION=!1,goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA,goog.userAgent.getUserAgentString=function(){return goog.labs.userAgent.util.getUserAgent()},goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||null},goog.userAgent.getNavigator=function(){return goog.userAgent.getNavigatorTyped()},goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:goog.labs.userAgent.browser.isOpera(),goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE(),goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:goog.labs.userAgent.engine.isEdge(),goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE,goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:goog.labs.userAgent.engine.isGecko(),goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit(),goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&goog.labs.userAgent.util.matchUserAgent("Mobile")},goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_(),goog.userAgent.SAFARI=goog.userAgent.WEBKIT,goog.userAgent.determinePlatform_=function(){var o=goog.userAgent.getNavigatorTyped();return o&&o.platform||""},goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_(),goog.userAgent.ASSUME_MAC=!1,goog.userAgent.ASSUME_WINDOWS=!1,goog.userAgent.ASSUME_LINUX=!1,goog.userAgent.ASSUME_X11=!1,goog.userAgent.ASSUME_ANDROID=!1,goog.userAgent.ASSUME_IPHONE=!1,goog.userAgent.ASSUME_IPAD=!1,goog.userAgent.ASSUME_IPOD=!1,goog.userAgent.ASSUME_KAIOS=!1,goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD,goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh(),goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows(),goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()},goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_(),goog.userAgent.isX11_=function(){var o=goog.userAgent.getNavigatorTyped();return!!o&&goog.string.contains(o.appVersion||"","X11")},goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_(),goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:goog.labs.userAgent.platform.isAndroid(),goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone(),goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod(),goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos(),goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS(),goog.userAgent.determineVersion_=function(){var o="",e=goog.userAgent.getVersionRegexResult_();return e&&(o=e?e[1]:""),goog.userAgent.IE&&(e=goog.userAgent.getDocumentMode_(),e!=null&&e>parseFloat(o))?String(e):o},goog.userAgent.getVersionRegexResult_=function(){var o=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv:([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.EDGE)return/Edge\/([\d\.]+)/.exec(o);if(goog.userAgent.IE)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.WEBKIT)return/WebKit\/(\S+)/.exec(o);if(goog.userAgent.OPERA)return/(?:Version)[ \/]?(\S+)/.exec(o)},goog.userAgent.getDocumentMode_=function(){var o=goog.global.document;return o?o.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(o,e){return goog.string.compareVersions(o,e)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(o){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,o,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,o)})},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(o){return Number(goog.userAgent.DOCUMENT_MODE)>=o},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE){var o=goog.userAgent.getDocumentMode_();return o||parseInt(goog.userAgent.VERSION,10)||void 0}}(),goog.userAgent.product={},goog.userAgent.product.ASSUME_FIREFOX=!1,goog.userAgent.product.ASSUME_IPHONE=!1,goog.userAgent.product.ASSUME_IPAD=!1,goog.userAgent.product.ASSUME_ANDROID=!1,goog.userAgent.product.ASSUME_CHROME=!1,goog.userAgent.product.ASSUME_SAFARI=!1,goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI,goog.userAgent.product.OPERA=goog.userAgent.OPERA,goog.userAgent.product.IE=goog.userAgent.IE,goog.userAgent.product.EDGE=goog.userAgent.EDGE,goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox(),goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()},goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_(),goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser(),goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome(),goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!goog.labs.userAgent.platform.isIos()},goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_(),goog.crypt.base64={},goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=",goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.",goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4},goog.crypt.base64.paddingChars_="=.",goog.crypt.base64.isPadding_=function(o){return goog.string.contains(goog.crypt.base64.paddingChars_,o)},goog.crypt.base64.byteToCharMaps_={},goog.crypt.base64.charToByteMap_=null,goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA,goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||typeof goog.global.btoa=="function",goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&typeof goog.global.atob=="function",goog.crypt.base64.encodeByteArray=function(o,e){goog.asserts.assert(goog.isArrayLike(o),"encodeByteArray takes an array as a parameter"),e===void 0&&(e=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),e=goog.crypt.base64.byteToCharMaps_[e];for(var r=[],s=0;s<o.length;s+=3){var t=o[s],i=s+1<o.length,n=i?o[s+1]:0,p=s+2<o.length,g=p?o[s+2]:0,l=t>>2;t=(t&3)<<4|n>>4,n=(n&15)<<2|g>>6,g&=63,p||(g=64,i||(n=64)),r.push(e[l],e[t],e[n]||"",e[g]||"")}return r.join("")},goog.crypt.base64.encodeString=function(o,e){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!e?goog.global.btoa(o):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(o),e)},goog.crypt.base64.decodeString=function(o,e){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!e)return goog.global.atob(o);var r="";return goog.crypt.base64.decodeStringInternal_(o,function(s){r+=String.fromCharCode(s)}),r},goog.crypt.base64.decodeStringToByteArray=function(o,e){var r=[];return goog.crypt.base64.decodeStringInternal_(o,function(s){r.push(s)}),r},goog.crypt.base64.decodeStringToUint8Array=function(o){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var e=o.length,r=3*e/4;r%3?r=Math.floor(r):goog.crypt.base64.isPadding_(o[e-1])&&(r=goog.crypt.base64.isPadding_(o[e-2])?r-2:r-1);var s=new Uint8Array(r),t=0;return goog.crypt.base64.decodeStringInternal_(o,function(i){s[t++]=i}),s.subarray(0,t)},goog.crypt.base64.decodeStringInternal_=function(o,e){function r(g){for(;s<o.length;){var l=o.charAt(s++),u=goog.crypt.base64.charToByteMap_[l];if(u!=null)return u;if(!goog.string.isEmptyOrWhitespace(l))throw Error("Unknown base64 encoding at char: "+l)}return g}goog.crypt.base64.init_();for(var s=0;;){var t=r(-1),i=r(0),n=r(64),p=r(64);if(p===64&&t===-1)break;e(t<<2|i>>4),n!=64&&(e(i<<4&240|n>>2),p!=64&&e(n<<6&192|p))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var o=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),e=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var s=o.concat(e[r].split(""));goog.crypt.base64.byteToCharMaps_[r]=s;for(var t=0;t<s.length;t++){var i=s[t],n=goog.crypt.base64.charToByteMap_[i];n===void 0?goog.crypt.base64.charToByteMap_[i]=t:goog.asserts.assert(n===t)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(o){var e=o>>>0;o=Math.floor((o-e)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=e,jspb.utils.split64High=o},jspb.utils.splitInt64=function(o){var e=0>o;o=Math.abs(o);var r=o>>>0;o=Math.floor((o-r)/jspb.BinaryConstants.TWO_TO_32),o>>>=0,e&&(o=~o>>>0,r=(~r>>>0)+1,4294967295<r&&(r=0,o++,4294967295<o&&(o=0))),jspb.utils.split64Low=r,jspb.utils.split64High=o},jspb.utils.splitZigzag64=function(o){var e=0>o;o=2*Math.abs(o),jspb.utils.splitUint64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;e&&(o==0?r==0?r=o=4294967295:(r--,o=4294967295):o--),jspb.utils.split64Low=o,jspb.utils.split64High=r},jspb.utils.splitFloat32=function(o){var e=0>o?1:0;if(o=e?-o:o,o===0)0<1/o?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(o))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(o>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|2139095040)>>>0;else if(o<jspb.BinaryConstants.FLOAT32_MIN)o=Math.round(o/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|o)>>>0;else{var r=Math.floor(Math.log(o)/Math.LN2);o*=Math.pow(2,-r),o=Math.round(o*jspb.BinaryConstants.TWO_TO_23),16777216<=o&&++r,jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|r+127<<23|o&8388607)>>>0}},jspb.utils.splitFloat64=function(o){var e=0>o?1:0;if(o=e?-o:o,o===0)jspb.utils.split64High=0<1/o?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(o))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(o>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(e<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(o<jspb.BinaryConstants.FLOAT64_MIN){var r=o/Math.pow(2,-1074);o=r/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(e<<31|o)>>>0,jspb.utils.split64Low=r>>>0}else{r=o;var s=0;if(2<=r)for(;2<=r&&1023>s;)s++,r/=2;else for(;1>r&&-1022<s;)r*=2,s--;r=o*Math.pow(2,-s),o=r*jspb.BinaryConstants.TWO_TO_20&1048575,r=r*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(e<<31|s+1023<<20|o)>>>0,jspb.utils.split64Low=r}},jspb.utils.splitHash64=function(o){var e=o.charCodeAt(0),r=o.charCodeAt(1),s=o.charCodeAt(2),t=o.charCodeAt(3),i=o.charCodeAt(4),n=o.charCodeAt(5),p=o.charCodeAt(6);o=o.charCodeAt(7),jspb.utils.split64Low=e+(r<<8)+(s<<16)+(t<<24)>>>0,jspb.utils.split64High=i+(n<<8)+(p<<16)+(o<<24)>>>0},jspb.utils.joinUint64=function(o,e){return e*jspb.BinaryConstants.TWO_TO_32+(o>>>0)},jspb.utils.joinInt64=function(o,e){var r=e&2147483648;return r&&(o=~o+1>>>0,e=~e>>>0,o==0&&(e=e+1>>>0)),o=jspb.utils.joinUint64(o,e),r?-o:o},jspb.utils.toZigzag64=function(o,e,r){var s=e>>31;return r(o<<1^s,(e<<1|o>>>31)^s)},jspb.utils.joinZigzag64=function(o,e){return jspb.utils.fromZigzag64(o,e,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(o,e,r){var s=-(o&1);return r((o>>>1|e<<31)^s,e>>>1^s)},jspb.utils.joinFloat32=function(o,e){e=2*(o>>31)+1;var r=o>>>23&255;return o&=8388607,r==255?o?NaN:1/0*e:r==0?e*Math.pow(2,-149)*o:e*Math.pow(2,r-150)*(o+Math.pow(2,23))},jspb.utils.joinFloat64=function(o,e){var r=2*(e>>31)+1,s=e>>>20&2047;return o=jspb.BinaryConstants.TWO_TO_32*(e&1048575)+o,s==2047?o?NaN:1/0*r:s==0?r*Math.pow(2,-1074)*o:r*Math.pow(2,s-1075)*(o+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(o,e){return String.fromCharCode(o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255,e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(o,e){function r(t,i){return t=t?String(t):"",i?"0000000".slice(t.length)+t:t}if(2097151>=e)return""+jspb.utils.joinUint64(o,e);var s=(o>>>24|e<<8)>>>0&16777215;return e=e>>16&65535,o=(o&16777215)+6777216*s+6710656*e,s+=8147497*e,e*=2,1e7<=o&&(s+=Math.floor(o/1e7),o%=1e7),1e7<=s&&(e+=Math.floor(s/1e7),s%=1e7),r(e,0)+r(s,e)+r(o,1)},jspb.utils.joinSignedDecimalString=function(o,e){var r=e&2147483648;return r&&(o=~o+1>>>0,e=~e+(o==0?1:0)>>>0),o=jspb.utils.joinUnsignedDecimalString(o,e),r?"-"+o:o},jspb.utils.hash64ToDecimalString=function(o,e){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinSignedDecimalString(o,r):jspb.utils.joinUnsignedDecimalString(o,r)},jspb.utils.hash64ArrayToDecimalStrings=function(o,e){for(var r=Array(o.length),s=0;s<o.length;s++)r[s]=jspb.utils.hash64ToDecimalString(o[s],e);return r},jspb.utils.decimalStringToHash64=function(o){function e(n,p){for(var g=0;8>g&&(n!==1||0<p);g++)p=n*t[g]+p,t[g]=p&255,p>>>=8}function r(){for(var n=0;8>n;n++)t[n]=~t[n]&255}jspb.asserts.assert(0<o.length);var s=!1;o[0]==="-"&&(s=!0,o=o.slice(1));for(var t=[0,0,0,0,0,0,0,0],i=0;i<o.length;i++)e(10,o.charCodeAt(i)-jspb.utils.ZERO_CHAR_CODE_);return s&&(r(),e(1,1)),goog.crypt.byteArrayToString(t)},jspb.utils.splitDecimalString=function(o){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o))},jspb.utils.toHexDigit_=function(o){return String.fromCharCode(10>o?jspb.utils.ZERO_CHAR_CODE_+o:jspb.utils.A_CHAR_CODE_-10+o)},jspb.utils.fromHexCharCode_=function(o){return o>=jspb.utils.A_CHAR_CODE_?o-jspb.utils.A_CHAR_CODE_+10:o-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(o){var e=Array(18);e[0]="0",e[1]="x";for(var r=0;8>r;r++){var s=o.charCodeAt(7-r);e[2*r+2]=jspb.utils.toHexDigit_(s>>4),e[2*r+3]=jspb.utils.toHexDigit_(s&15)}return e.join("")},jspb.utils.hexStringToHash64=function(o){o=o.toLowerCase(),jspb.asserts.assert(o.length==18),jspb.asserts.assert(o[0]=="0"),jspb.asserts.assert(o[1]=="x");for(var e="",r=0;8>r;r++){var s=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+2)),t=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+3));e=String.fromCharCode(16*s+t)+e}return e},jspb.utils.hash64ToNumber=function(o,e){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinInt64(o,r):jspb.utils.joinUint64(o,r)},jspb.utils.numberToHash64=function(o){return jspb.utils.splitInt64(o),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(o,e,r){for(var s=0,t=e;t<r;t++)s+=o[t]>>7;return r-e-s},jspb.utils.countVarintFields=function(o,e,r,s){var t=0;if(s=8*s+jspb.BinaryConstants.WireType.VARINT,128>s)for(;e<r&&o[e++]==s;)for(t++;;){var i=o[e++];if((i&128)==0)break}else for(;e<r;){for(i=s;128<i;){if(o[e]!=(i&127|128))return t;e++,i>>=7}if(o[e++]!=i)break;for(t++;i=o[e++],(i&128)!=0;);}return t},jspb.utils.countFixedFields_=function(o,e,r,s,t){var i=0;if(128>s)for(;e<r&&o[e++]==s;)i++,e+=t;else for(;e<r;){for(var n=s;128<n;){if(o[e++]!=(n&127|128))return i;n>>=7}if(o[e++]!=n)break;i++,e+=t}return i},jspb.utils.countFixed32Fields=function(o,e,r,s){return jspb.utils.countFixedFields_(o,e,r,8*s+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(o,e,r,s){return jspb.utils.countFixedFields_(o,e,r,8*s+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(o,e,r,s){var t=0;for(s=8*s+jspb.BinaryConstants.WireType.DELIMITED;e<r;){for(var i=s;128<i;){if(o[e++]!=(i&127|128))return t;i>>=7}if(o[e++]!=i)break;t++;for(var n=0,p=1;i=o[e++],n+=(i&127)*p,p*=128,(i&128)!=0;);e+=n}return t},jspb.utils.debugBytesToTextFormat=function(o){var e='"';if(o){o=jspb.utils.byteSourceToUint8Array(o);for(var r=0;r<o.length;r++)e+="\\x",16>o[r]&&(e+="0"),e+=o[r].toString(16)}return e+'"'},jspb.utils.debugScalarToTextFormat=function(o){return typeof o=="string"?goog.string.quote(o):o.toString()},jspb.utils.stringToByteArray=function(o){for(var e=new Uint8Array(o.length),r=0;r<o.length;r++){var s=o.charCodeAt(r);if(255<s)throw Error("Conversion error: string contains codepoint outside of byte range");e[r]=s}return e},jspb.utils.byteSourceToUint8Array=function(o){return o.constructor===Uint8Array?o:o.constructor===ArrayBuffer||o.constructor===Array?new Uint8Array(o):o.constructor===String?goog.crypt.base64.decodeStringToUint8Array(o):o instanceof Uint8Array?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):(jspb.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(o,e,r){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,o&&this.setBlock(o,e,r)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(o,e,r){if(jspb.BinaryDecoder.instanceCache_.length){var s=jspb.BinaryDecoder.instanceCache_.pop();return o&&s.setBlock(o,e,r),s}return new jspb.BinaryDecoder(o,e,r)},jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)},jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)},jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1},jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_},jspb.BinaryDecoder.prototype.setBlock=function(o,e,r){this.bytes_=jspb.utils.byteSourceToUint8Array(o),this.start_=e!==void 0?e:0,this.end_=r!==void 0?this.start_+r:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(o){this.end_=o},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(o){this.cursor_=o},jspb.BinaryDecoder.prototype.advance=function(o){this.cursor_+=o,jspb.asserts.assert(this.cursor_<=this.end_)},jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_},jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_},jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_},jspb.BinaryDecoder.prototype.readSplitVarint64=function(o){for(var e=128,r=0,s=0,t=0;4>t&&128<=e;t++)e=this.bytes_[this.cursor_++],r|=(e&127)<<7*t;if(128<=e&&(e=this.bytes_[this.cursor_++],r|=(e&127)<<28,s|=(e&127)>>4),128<=e)for(t=0;5>t&&128<=e;t++)e=this.bytes_[this.cursor_++],s|=(e&127)<<7*t+3;if(128>e)return o(r>>>0,s>>>0);jspb.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(o){return this.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,o)})},jspb.BinaryDecoder.prototype.readSplitFixed64=function(o){var e=this.bytes_,r=this.cursor_;this.cursor_+=8;for(var s=0,t=0,i=r+7;i>=r;i--)s=s<<8|e[i],t=t<<8|e[i+4];return o(s,t)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;this.bytes_[this.cursor_]&128;)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(o){for(;128<o;)this.cursor_--,o>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var o=this.bytes_,e=o[this.cursor_+0],r=e&127;return 128>e?(this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+1],r|=(e&127)<<7,128>e?(this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+2],r|=(e&127)<<14,128>e?(this.cursor_+=3,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+3],r|=(e&127)<<21,128>e?(this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+4],r|=(e&15)<<28,128>e?(this.cursor_+=5,jspb.asserts.assert(this.cursor_<=this.end_),r>>>0):(this.cursor_+=5,128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&jspb.asserts.assert(!1),jspb.asserts.assert(this.cursor_<=this.end_),r)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=function(){return~~this.readUnsignedVarint32()},jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()},jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()},jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var o=this.readUnsignedVarint32();return o>>>1^-(o&1)},jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)},jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)},jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)},jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)},jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readUint8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),o},jspb.BinaryDecoder.prototype.readUint16=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),o<<0|e<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),(o<<0|e<<8|r<<16|s<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinUint64(o,e)},jspb.BinaryDecoder.prototype.readUint64String=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinUnsignedDecimalString(o,e)},jspb.BinaryDecoder.prototype.readInt8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),o<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),(o<<0|e<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),o<<0|e<<8|r<<16|s<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinInt64(o,e)},jspb.BinaryDecoder.prototype.readInt64String=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinSignedDecimalString(o,e)},jspb.BinaryDecoder.prototype.readFloat=function(){var o=this.readUint32();return jspb.utils.joinFloat32(o,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinFloat64(o,e)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(o){var e=this.bytes_,r=this.cursor_;o=r+o;for(var s=[],t="";r<o;){var i=e[r++];if(128>i)s.push(i);else{if(192>i)continue;if(224>i){var n=e[r++];s.push((i&31)<<6|n&63)}else if(240>i){n=e[r++];var p=e[r++];s.push((i&15)<<12|(n&63)<<6|p&63)}else if(248>i){n=e[r++],p=e[r++];var g=e[r++];i=(i&7)<<18|(n&63)<<12|(p&63)<<6|g&63,i-=65536,s.push((i>>10&1023)+55296,(i&1023)+56320)}}8192<=s.length&&(t+=String.fromCharCode.apply(null,s),s.length=0)}return t+=goog.crypt.byteArrayToString(s),this.cursor_=r,t},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var o=this.readUnsignedVarint32();return this.readString(o)},jspb.BinaryDecoder.prototype.readBytes=function(o){if(0>o||this.cursor_+o>this.bytes_.length)return this.error_=!0,jspb.asserts.fail("Invalid byte length!"),new Uint8Array(0);var e=this.bytes_.subarray(this.cursor_,this.cursor_+o);return this.cursor_+=o,jspb.asserts.assert(this.cursor_<=this.end_),e},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var o=this.bytes_,e=this.cursor_,r=o[e+0],s=o[e+1],t=o[e+2],i=o[e+3],n=o[e+4],p=o[e+5],g=o[e+6];return o=o[e+7],this.cursor_+=8,String.fromCharCode(r,s,t,i,n,p,g,o)},jspb.BinaryReader=function(o,e,r){this.decoder_=jspb.BinaryDecoder.alloc(o,e,r),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null},jspb.BinaryReader.instanceCache_=[],jspb.BinaryReader.alloc=function(o,e,r){if(jspb.BinaryReader.instanceCache_.length){var s=jspb.BinaryReader.instanceCache_.pop();return o&&s.decoder_.setBlock(o,e,r),s}return new jspb.BinaryReader(o,e,r)},jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc,jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)},jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_},jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()},jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()},jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_},goog.exportProperty(jspb.BinaryReader.prototype,"getFieldNumber",jspb.BinaryReader.prototype.getFieldNumber),jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},goog.exportProperty(jspb.BinaryReader.prototype,"isDelimited",jspb.BinaryReader.prototype.isDelimited),jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},goog.exportProperty(jspb.BinaryReader.prototype,"isEndGroup",jspb.BinaryReader.prototype.isEndGroup),jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(o,e,r){this.decoder_.setBlock(o,e,r),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.advance=function(o){this.decoder_.advance(o)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return jspb.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var o=this.decoder_.readUnsignedVarint32(),e=o>>>3;return o&=7,o!=jspb.BinaryConstants.WireType.VARINT&&o!=jspb.BinaryConstants.WireType.FIXED32&&o!=jspb.BinaryConstants.WireType.FIXED64&&o!=jspb.BinaryConstants.WireType.DELIMITED&&o!=jspb.BinaryConstants.WireType.START_GROUP&&o!=jspb.BinaryConstants.WireType.END_GROUP?(jspb.asserts.fail("Invalid wire type: %s (at position %s)",o,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=e,this.nextWireType_=o,!0)},goog.exportProperty(jspb.BinaryReader.prototype,"nextField",jspb.BinaryReader.prototype.nextField),jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var o=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==o;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(jspb.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)jspb.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var o=this.decoder_.readUnsignedVarint32();this.decoder_.advance(o)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(jspb.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(jspb.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){var o=this.nextField_;do{if(!this.nextField()){jspb.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=o&&(jspb.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}while(1)},jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:jspb.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(o,e){this.readCallbacks_===null&&(this.readCallbacks_={}),jspb.asserts.assert(!this.readCallbacks_[o]),this.readCallbacks_[o]=e},jspb.BinaryReader.prototype.runReadCallback=function(o){return jspb.asserts.assert(this.readCallbacks_!==null),o=this.readCallbacks_[o],jspb.asserts.assert(o),o(this)},jspb.BinaryReader.prototype.readAny=function(o){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(o);var e=jspb.BinaryConstants.FieldType;switch(o){case e.DOUBLE:return this.readDouble();case e.FLOAT:return this.readFloat();case e.INT64:return this.readInt64();case e.UINT64:return this.readUint64();case e.INT32:return this.readInt32();case e.FIXED64:return this.readFixed64();case e.FIXED32:return this.readFixed32();case e.BOOL:return this.readBool();case e.STRING:return this.readString();case e.GROUP:jspb.asserts.fail("Group field type not supported in readAny()");case e.MESSAGE:jspb.asserts.fail("Message field type not supported in readAny()");case e.BYTES:return this.readBytes();case e.UINT32:return this.readUint32();case e.ENUM:return this.readEnum();case e.SFIXED32:return this.readSfixed32();case e.SFIXED64:return this.readSfixed64();case e.SINT32:return this.readSint32();case e.SINT64:return this.readSint64();case e.FHASH64:return this.readFixedHash64();case e.VHASH64:return this.readVarintHash64();default:jspb.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(o,e){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var r=this.decoder_.getEnd(),s=this.decoder_.readUnsignedVarint32();s=this.decoder_.getCursor()+s,this.decoder_.setEnd(s),e(o,this),this.decoder_.setCursor(s),this.decoder_.setEnd(r)},goog.exportProperty(jspb.BinaryReader.prototype,"readMessage",jspb.BinaryReader.prototype.readMessage),jspb.BinaryReader.prototype.readGroup=function(o,e,r){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),jspb.asserts.assert(this.nextField_==o),r(e,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(jspb.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},goog.exportProperty(jspb.BinaryReader.prototype,"readGroup",jspb.BinaryReader.prototype.readGroup),jspb.BinaryReader.prototype.getFieldDecoder=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32(),e=this.decoder_.getCursor(),r=e+o;return o=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),e,o),this.decoder_.setCursor(r),o},jspb.BinaryReader.prototype.readInt32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt32",jspb.BinaryReader.prototype.readInt32),jspb.BinaryReader.prototype.readInt32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt64",jspb.BinaryReader.prototype.readInt64),jspb.BinaryReader.prototype.readInt64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint32",jspb.BinaryReader.prototype.readUint32),jspb.BinaryReader.prototype.readUint32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint64",jspb.BinaryReader.prototype.readUint64),jspb.BinaryReader.prototype.readUint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint32",jspb.BinaryReader.prototype.readSint32),jspb.BinaryReader.prototype.readSint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint64",jspb.BinaryReader.prototype.readSint64),jspb.BinaryReader.prototype.readSint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed32",jspb.BinaryReader.prototype.readFixed32),jspb.BinaryReader.prototype.readFixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed64",jspb.BinaryReader.prototype.readFixed64),jspb.BinaryReader.prototype.readFixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed32",jspb.BinaryReader.prototype.readSfixed32),jspb.BinaryReader.prototype.readSfixed32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed64",jspb.BinaryReader.prototype.readSfixed64),jspb.BinaryReader.prototype.readSfixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},goog.exportProperty(jspb.BinaryReader.prototype,"readFloat",jspb.BinaryReader.prototype.readFloat),jspb.BinaryReader.prototype.readDouble=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},goog.exportProperty(jspb.BinaryReader.prototype,"readDouble",jspb.BinaryReader.prototype.readDouble),jspb.BinaryReader.prototype.readBool=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readBool",jspb.BinaryReader.prototype.readBool),jspb.BinaryReader.prototype.readEnum=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readEnum",jspb.BinaryReader.prototype.readEnum),jspb.BinaryReader.prototype.readString=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(o)},goog.exportProperty(jspb.BinaryReader.prototype,"readString",jspb.BinaryReader.prototype.readString),jspb.BinaryReader.prototype.readBytes=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(o)},goog.exportProperty(jspb.BinaryReader.prototype,"readBytes",jspb.BinaryReader.prototype.readBytes),jspb.BinaryReader.prototype.readVarintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(o)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,o)})},jspb.BinaryReader.prototype.readFixedHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(o)},jspb.BinaryReader.prototype.readPackedField_=function(o){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();e=this.decoder_.getCursor()+e;for(var r=[];this.decoder_.getCursor()<e;)r.push(o.call(this.decoder_));return r},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt32",jspb.BinaryReader.prototype.readPackedInt32),jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt64",jspb.BinaryReader.prototype.readPackedInt64),jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint32",jspb.BinaryReader.prototype.readPackedUint32),jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint64",jspb.BinaryReader.prototype.readPackedUint64),jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint32",jspb.BinaryReader.prototype.readPackedSint32),jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint64",jspb.BinaryReader.prototype.readPackedSint64),jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed32",jspb.BinaryReader.prototype.readPackedFixed32),jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed64",jspb.BinaryReader.prototype.readPackedFixed64),jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed32",jspb.BinaryReader.prototype.readPackedSfixed32),jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed64",jspb.BinaryReader.prototype.readPackedSfixed64),jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFloat",jspb.BinaryReader.prototype.readPackedFloat),jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedDouble",jspb.BinaryReader.prototype.readPackedDouble),jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedBool",jspb.BinaryReader.prototype.readPackedBool),jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedEnum",jspb.BinaryReader.prototype.readPackedEnum),jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)},jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)},jspb.BinaryEncoder=function(){this.buffer_=[]},jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length},jspb.BinaryEncoder.prototype.end=function(){var o=this.buffer_;return this.buffer_=[],o},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(o,e){for(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32);0<e||127<o;)this.buffer_.push(o&127|128),o=(o>>>7|e<<25)>>>0,e>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(o,e){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(o),this.writeUint32(e)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(o){for(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32);127<o;)this.buffer_.push(o&127|128),o>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(o){if(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),0<=o)this.writeUnsignedVarint32(o);else{for(var e=0;9>e;e++)this.buffer_.push(o&127|128),o>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((o<<1^o>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(o){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(o))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(o){var e=this;jspb.utils.splitHash64(o),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,function(r,s){e.writeSplitVarint64(r>>>0,s>>>0)})},jspb.BinaryEncoder.prototype.writeUint8=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&256>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&65536>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(-128<=o&&128>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(-32768<=o&&32768>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(+o>=-jspb.BinaryConstants.TWO_TO_63&&+o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(o){jspb.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT32_MAX&&o<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(o),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(o){jspb.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT64_MAX&&o<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(o){jspb.asserts.assert(typeof o=="boolean"||typeof o=="number"),this.buffer_.push(o?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(o)},jspb.BinaryEncoder.prototype.writeBytes=function(o){this.buffer_.push.apply(this.buffer_,o)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(o){jspb.utils.splitHash64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(o){jspb.utils.splitHash64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(o){var e=this.buffer_.length;jspb.asserts.assertString(o);for(var r=0;r<o.length;r++){var s=o.charCodeAt(r);if(128>s)this.buffer_.push(s);else if(2048>s)this.buffer_.push(s>>6|192),this.buffer_.push(s&63|128);else if(65536>s)if(55296<=s&&56319>=s&&r+1<o.length){var t=o.charCodeAt(r+1);56320<=t&&57343>=t&&(s=1024*(s-55296)+t-56320+65536,this.buffer_.push(s>>18|240),this.buffer_.push(s>>12&63|128),this.buffer_.push(s>>6&63|128),this.buffer_.push(s&63|128),r++)}else this.buffer_.push(s>>12|224),this.buffer_.push(s>>6&63|128),this.buffer_.push(s&63|128)}return this.buffer_.length-e},jspb.arith={},jspb.arith.UInt64=function(o,e){this.lo=o,this.hi=e},jspb.arith.UInt64.prototype.cmp=function(o){return this.hi<o.hi||this.hi==o.hi&&this.lo<o.lo?-1:this.hi==o.hi&&this.lo==o.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},jspb.arith.UInt64.prototype.msb=function(){return!!(this.hi&2147483648)},jspb.arith.UInt64.prototype.lsb=function(){return!!(this.lo&1)},jspb.arith.UInt64.prototype.zero=function(){return this.lo==0&&this.hi==0},jspb.arith.UInt64.prototype.add=function(o){return new jspb.arith.UInt64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(o){return new jspb.arith.UInt64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(o,e){var r=o&65535;o>>>=16;var s=e&65535,t=e>>>16;for(e=r*s+65536*(r*t&65535)+65536*(o*s&65535),r=o*t+(r*t>>>16)+(o*s>>>16);4294967296<=e;)e-=4294967296,r+=1;return new jspb.arith.UInt64(e>>>0,r>>>0)},jspb.arith.UInt64.prototype.mul=function(o){var e=jspb.arith.UInt64.mul32x32(this.lo,o);return o=jspb.arith.UInt64.mul32x32(this.hi,o),o.hi=o.lo,o.lo=0,e.add(o)},jspb.arith.UInt64.prototype.div=function(o){if(o==0)return[];var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(this.lo,this.hi);o=new jspb.arith.UInt64(o,0);for(var s=new jspb.arith.UInt64(1,0);!o.msb();)o=o.leftShift(),s=s.leftShift();for(;!s.zero();)0>=o.cmp(r)&&(e=e.add(s),r=r.sub(o)),o=o.rightShift(),s=s.rightShift();return[e,r]},jspb.arith.UInt64.prototype.toString=function(){for(var o="",e=this;!e.zero();){e=e.div(10);var r=e[0];o=e[1].lo+o,e=r}return o==""&&(o="0"),o},jspb.arith.UInt64.fromString=function(o){for(var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(0,0),s=0;s<o.length;s++){if("0">o[s]||"9"<o[s])return null;var t=parseInt(o[s],10);r.lo=t,e=e.mul(10).add(r)}return e},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(o,e){this.lo=o,this.hi=e},jspb.arith.Int64.prototype.add=function(o){return new jspb.arith.Int64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(o){return new jspb.arith.Int64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)},jspb.arith.Int64.prototype.toString=function(){var o=(this.hi&2147483648)!=0,e=new jspb.arith.UInt64(this.lo,this.hi);return o&&(e=new jspb.arith.UInt64(0,0).sub(e)),(o?"-":"")+e.toString()},jspb.arith.Int64.fromString=function(o){var e=0<o.length&&o[0]=="-";return e&&(o=o.substring(1)),o=jspb.arith.UInt64.fromString(o),o===null?null:(e&&(o=new jspb.arith.UInt64(0,0).sub(o)),new jspb.arith.Int64(o.lo,o.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(o){var e=this.encoder_.end();this.blocks_.push(e),this.blocks_.push(o),this.totalLength_+=e.length+o.length},jspb.BinaryWriter.prototype.beginDelimited_=function(o){return this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),o=this.encoder_.end(),this.blocks_.push(o),this.totalLength_+=o.length,o.push(this.totalLength_),o},jspb.BinaryWriter.prototype.endDelimited_=function(o){var e=o.pop();for(e=this.totalLength_+this.encoder_.length()-e,jspb.asserts.assert(0<=e);127<e;)o.push(e&127|128),e>>>=7,this.totalLength_++;o.push(e),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(o,e,r){this.appendUint8Array_(o.subarray(e,r))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(o,e,r){o!=null&&e!=null&&r!=null&&this.writeSerializedMessage(o,e,r)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){jspb.asserts.assert(this.bookmarks_.length==0);for(var o=new Uint8Array(this.totalLength_+this.encoder_.length()),e=this.blocks_,r=e.length,s=0,t=0;t<r;t++){var i=e[t];o.set(i,s),s+=i.length}return e=this.encoder_.end(),o.set(e,s),s+=e.length,jspb.asserts.assert(s==o.length),this.blocks_=[o],o},goog.exportProperty(jspb.BinaryWriter.prototype,"getResultBuffer",jspb.BinaryWriter.prototype.getResultBuffer),jspb.BinaryWriter.prototype.getResultBase64String=function(o){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),o)},jspb.BinaryWriter.prototype.beginSubMessage=function(o){this.bookmarks_.push(this.beginDelimited_(o))},jspb.BinaryWriter.prototype.endSubMessage=function(){jspb.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(o,e){jspb.asserts.assert(1<=o&&o==Math.floor(o)),this.encoder_.writeUnsignedVarint32(8*o+e)},jspb.BinaryWriter.prototype.writeAny=function(o,e,r){var s=jspb.BinaryConstants.FieldType;switch(o){case s.DOUBLE:this.writeDouble(e,r);break;case s.FLOAT:this.writeFloat(e,r);break;case s.INT64:this.writeInt64(e,r);break;case s.UINT64:this.writeUint64(e,r);break;case s.INT32:this.writeInt32(e,r);break;case s.FIXED64:this.writeFixed64(e,r);break;case s.FIXED32:this.writeFixed32(e,r);break;case s.BOOL:this.writeBool(e,r);break;case s.STRING:this.writeString(e,r);break;case s.GROUP:jspb.asserts.fail("Group field type not supported in writeAny()");break;case s.MESSAGE:jspb.asserts.fail("Message field type not supported in writeAny()");break;case s.BYTES:this.writeBytes(e,r);break;case s.UINT32:this.writeUint32(e,r);break;case s.ENUM:this.writeEnum(e,r);break;case s.SFIXED32:this.writeSfixed32(e,r);break;case s.SFIXED64:this.writeSfixed64(e,r);break;case s.SINT32:this.writeSint32(e,r);break;case s.SINT64:this.writeSint64(e,r);break;case s.FHASH64:this.writeFixedHash64(e,r);break;case s.VHASH64:this.writeVarintHash64(e,r);break;default:jspb.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(e))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(e))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(e))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(e))},jspb.BinaryWriter.prototype.writeInt32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt32",jspb.BinaryWriter.prototype.writeInt32),jspb.BinaryWriter.prototype.writeInt32String=function(o,e){e!=null&&(e=parseInt(e,10),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,e))},jspb.BinaryWriter.prototype.writeInt64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt64",jspb.BinaryWriter.prototype.writeInt64),jspb.BinaryWriter.prototype.writeInt64String=function(o,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeUint32=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint32",jspb.BinaryWriter.prototype.writeUint32),jspb.BinaryWriter.prototype.writeUint32String=function(o,e){e!=null&&(e=parseInt(e,10),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,e))},jspb.BinaryWriter.prototype.writeUint64=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint64",jspb.BinaryWriter.prototype.writeUint64),jspb.BinaryWriter.prototype.writeUint64String=function(o,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSint32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint32",jspb.BinaryWriter.prototype.writeSint32),jspb.BinaryWriter.prototype.writeSint64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint64",jspb.BinaryWriter.prototype.writeSint64),jspb.BinaryWriter.prototype.writeSintHash64=function(o,e){e!=null&&this.writeZigzagVarintHash64_(o,e)},jspb.BinaryWriter.prototype.writeSint64String=function(o,e){e!=null&&this.writeZigzagVarint64String_(o,e)},jspb.BinaryWriter.prototype.writeFixed32=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed32",jspb.BinaryWriter.prototype.writeFixed32),jspb.BinaryWriter.prototype.writeFixed64=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed64",jspb.BinaryWriter.prototype.writeFixed64),jspb.BinaryWriter.prototype.writeFixed64String=function(o,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed32",jspb.BinaryWriter.prototype.writeSfixed32),jspb.BinaryWriter.prototype.writeSfixed64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed64",jspb.BinaryWriter.prototype.writeSfixed64),jspb.BinaryWriter.prototype.writeSfixed64String=function(o,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeFloat=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFloat",jspb.BinaryWriter.prototype.writeFloat),jspb.BinaryWriter.prototype.writeDouble=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeDouble",jspb.BinaryWriter.prototype.writeDouble),jspb.BinaryWriter.prototype.writeBool=function(o,e){e!=null&&(jspb.asserts.assert(typeof e=="boolean"||typeof e=="number"),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBool",jspb.BinaryWriter.prototype.writeBool),jspb.BinaryWriter.prototype.writeEnum=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeEnum",jspb.BinaryWriter.prototype.writeEnum),jspb.BinaryWriter.prototype.writeString=function(o,e){e!=null&&(o=this.beginDelimited_(o),this.encoder_.writeString(e),this.endDelimited_(o))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeString",jspb.BinaryWriter.prototype.writeString),jspb.BinaryWriter.prototype.writeBytes=function(o,e){e!=null&&(e=jspb.utils.byteSourceToUint8Array(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),this.appendUint8Array_(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBytes",jspb.BinaryWriter.prototype.writeBytes),jspb.BinaryWriter.prototype.writeMessage=function(o,e,r){e!=null&&(o=this.beginDelimited_(o),r(e,this),this.endDelimited_(o))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeMessage",jspb.BinaryWriter.prototype.writeMessage),jspb.BinaryWriter.prototype.writeMessageSet=function(o,e,r){e!=null&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(o),o=this.beginDelimited_(3),r(e,this),this.endDelimited_(o),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(o,e,r){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(e,this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeGroup",jspb.BinaryWriter.prototype.writeGroup),jspb.BinaryWriter.prototype.writeFixedHash64=function(o,e){e!=null&&(jspb.asserts.assert(e.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(e))},jspb.BinaryWriter.prototype.writeVarintHash64=function(o,e){e!=null&&(jspb.asserts.assert(e.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(e))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e,r)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e,r)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT);var s=this.encoder_;jspb.utils.toZigzag64(e,r,function(t,i){s.writeSplitVarint64(t>>>0,i>>>0)})},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt32",jspb.BinaryWriter.prototype.writeRepeatedInt32),jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt32String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt64",jspb.BinaryWriter.prototype.writeRepeatedInt64),jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitFixed64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitVarint64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitZigzagVarint64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint32",jspb.BinaryWriter.prototype.writeRepeatedUint32),jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint32String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint64",jspb.BinaryWriter.prototype.writeRepeatedUint64),jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint32",jspb.BinaryWriter.prototype.writeRepeatedSint32),jspb.BinaryWriter.prototype.writeRepeatedSint64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint64",jspb.BinaryWriter.prototype.writeRepeatedSint64),jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64String_(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarintHash64_(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed32(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed32",jspb.BinaryWriter.prototype.writeRepeatedFixed32),jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64",jspb.BinaryWriter.prototype.writeRepeatedFixed64),jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64String(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64String",jspb.BinaryWriter.prototype.writeRepeatedFixed64String),jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed32(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed32",jspb.BinaryWriter.prototype.writeRepeatedSfixed32),jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed64",jspb.BinaryWriter.prototype.writeRepeatedSfixed64),jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFloat(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFloat",jspb.BinaryWriter.prototype.writeRepeatedFloat),jspb.BinaryWriter.prototype.writeRepeatedDouble=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeDouble(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedDouble",jspb.BinaryWriter.prototype.writeRepeatedDouble),jspb.BinaryWriter.prototype.writeRepeatedBool=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBool(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBool",jspb.BinaryWriter.prototype.writeRepeatedBool),jspb.BinaryWriter.prototype.writeRepeatedEnum=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeEnum(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedEnum",jspb.BinaryWriter.prototype.writeRepeatedEnum),jspb.BinaryWriter.prototype.writeRepeatedString=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeString(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedString",jspb.BinaryWriter.prototype.writeRepeatedString),jspb.BinaryWriter.prototype.writeRepeatedBytes=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBytes(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBytes",jspb.BinaryWriter.prototype.writeRepeatedBytes),jspb.BinaryWriter.prototype.writeRepeatedMessage=function(o,e,r){if(e!=null)for(var s=0;s<e.length;s++){var t=this.beginDelimited_(o);r(e[s],this),this.endDelimited_(t)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedMessage",jspb.BinaryWriter.prototype.writeRepeatedMessage),jspb.BinaryWriter.prototype.writeRepeatedGroup=function(o,e,r){if(e!=null)for(var s=0;s<e.length;s++)this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(e[s],this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP)},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedGroup",jspb.BinaryWriter.prototype.writeRepeatedGroup),jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixedHash64(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeVarintHash64(o,e[r])},jspb.BinaryWriter.prototype.writePackedInt32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt32",jspb.BinaryWriter.prototype.writePackedInt32),jspb.BinaryWriter.prototype.writePackedInt32String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(parseInt(e[r],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt64",jspb.BinaryWriter.prototype.writePackedInt64),jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=0;t<e.length;t++)this.encoder_.writeSplitFixed64(r(e[t]),s(e[t]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=0;t<e.length;t++)this.encoder_.writeSplitVarint64(r(e[t]),s(e[t]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=this.encoder_,i=0;i<e.length;i++)jspb.utils.toZigzag64(r(e[i]),s(e[i]),function(n,p){t.writeSplitVarint64(n>>>0,p>>>0)});this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++){var s=jspb.arith.Int64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint32",jspb.BinaryWriter.prototype.writePackedUint32),jspb.BinaryWriter.prototype.writePackedUint32String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(parseInt(e[r],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint64",jspb.BinaryWriter.prototype.writePackedUint64),jspb.BinaryWriter.prototype.writePackedUint64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++){var s=jspb.arith.UInt64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint32",jspb.BinaryWriter.prototype.writePackedSint32),jspb.BinaryWriter.prototype.writePackedSint64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint64",jspb.BinaryWriter.prototype.writePackedSint64),jspb.BinaryWriter.prototype.writePackedSint64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(e[r]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(e[r]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeUint32(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed32",jspb.BinaryWriter.prototype.writePackedFixed32),jspb.BinaryWriter.prototype.writePackedFixed64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeUint64(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed64",jspb.BinaryWriter.prototype.writePackedFixed64),jspb.BinaryWriter.prototype.writePackedFixed64String=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++){var r=jspb.arith.UInt64.fromString(e[o]);this.encoder_.writeSplitFixed64(r.lo,r.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeInt32(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed32",jspb.BinaryWriter.prototype.writePackedSfixed32),jspb.BinaryWriter.prototype.writePackedSfixed64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeInt64(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed64",jspb.BinaryWriter.prototype.writePackedSfixed64),jspb.BinaryWriter.prototype.writePackedSfixed64String=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeInt64String(e[o])},jspb.BinaryWriter.prototype.writePackedFloat=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeFloat(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFloat",jspb.BinaryWriter.prototype.writePackedFloat),jspb.BinaryWriter.prototype.writePackedDouble=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeDouble(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedDouble",jspb.BinaryWriter.prototype.writePackedDouble),jspb.BinaryWriter.prototype.writePackedBool=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),o=0;o<e.length;o++)this.encoder_.writeBool(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedBool",jspb.BinaryWriter.prototype.writePackedBool),jspb.BinaryWriter.prototype.writePackedEnum=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeEnum(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedEnum",jspb.BinaryWriter.prototype.writePackedEnum),jspb.BinaryWriter.prototype.writePackedFixedHash64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeFixedHash64(e[o])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeVarintHash64(e[r]);this.endDelimited_(o)}},jspb.Map=function(o,e){this.arr_=o,this.valueCtor_=e,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},goog.exportSymbol("jspb.Map",jspb.Map),jspb.Map.prototype.loadFromArray_=function(){for(var o=0;o<this.arr_.length;o++){var e=this.arr_[o],r=e[0];this.map_[r.toString()]=new jspb.Map.Entry_(r,e[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var o=this.map_,e;for(e in o)if(Object.prototype.hasOwnProperty.call(o,e)){var r=o[e].valueWrapper;r&&r.toArray()}}}else{for(this.arr_.length=0,o=this.stringKeys_(),o.sort(),e=0;e<o.length;e++){var s=this.map_[o[e]];(r=s.valueWrapper)&&r.toArray(),this.arr_.push([s.key,s.value])}this.arrClean=!0}return this.arr_},goog.exportProperty(jspb.Map.prototype,"toArray",jspb.Map.prototype.toArray),jspb.Map.prototype.toObject=function(o,e){for(var r=this.toArray(),s=[],t=0;t<r.length;t++){var i=this.map_[r[t][0].toString()];this.wrapEntry_(i);var n=i.valueWrapper;n?(jspb.asserts.assert(e),s.push([i.key,e(o,n)])):s.push([i.key,i.value])}return s},goog.exportProperty(jspb.Map.prototype,"toObject",jspb.Map.prototype.toObject),jspb.Map.fromObject=function(o,e,r){e=new jspb.Map([],e);for(var s=0;s<o.length;s++){var t=o[s][0],i=r(o[s][1]);e.set(t,i)}return e},goog.exportProperty(jspb.Map,"fromObject",jspb.Map.fromObject),jspb.Map.ArrayIteratorIterable_=function(o){this.idx_=0,this.arr_=o},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},goog.exportProperty(jspb.Map.prototype,"getLength",jspb.Map.prototype.getLength),jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},goog.exportProperty(jspb.Map.prototype,"clear",jspb.Map.prototype.clear),jspb.Map.prototype.del=function(o){o=o.toString();var e=this.map_.hasOwnProperty(o);return delete this.map_[o],this.arrClean=!1,e},goog.exportProperty(jspb.Map.prototype,"del",jspb.Map.prototype.del),jspb.Map.prototype.getEntryList=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];o.push([s.key,s.value])}return o},goog.exportProperty(jspb.Map.prototype,"getEntryList",jspb.Map.prototype.getEntryList),jspb.Map.prototype.entries=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];o.push([s.key,this.wrapEntry_(s)])}return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"entries",jspb.Map.prototype.entries),jspb.Map.prototype.keys=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)o.push(this.map_[e[r]].key);return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"keys",jspb.Map.prototype.keys),jspb.Map.prototype.values=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)o.push(this.wrapEntry_(this.map_[e[r]]));return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"values",jspb.Map.prototype.values),jspb.Map.prototype.forEach=function(o,e){var r=this.stringKeys_();r.sort();for(var s=0;s<r.length;s++){var t=this.map_[r[s]];o.call(e,this.wrapEntry_(t),t.key,this)}},goog.exportProperty(jspb.Map.prototype,"forEach",jspb.Map.prototype.forEach),jspb.Map.prototype.set=function(o,e){var r=new jspb.Map.Entry_(o);return this.valueCtor_?(r.valueWrapper=e,r.value=e.toArray()):r.value=e,this.map_[o.toString()]=r,this.arrClean=!1,this},goog.exportProperty(jspb.Map.prototype,"set",jspb.Map.prototype.set),jspb.Map.prototype.wrapEntry_=function(o){return this.valueCtor_?(o.valueWrapper||(o.valueWrapper=new this.valueCtor_(o.value)),o.valueWrapper):o.value},jspb.Map.prototype.get=function(o){if(o=this.map_[o.toString()])return this.wrapEntry_(o)},goog.exportProperty(jspb.Map.prototype,"get",jspb.Map.prototype.get),jspb.Map.prototype.has=function(o){return o.toString()in this.map_},goog.exportProperty(jspb.Map.prototype,"has",jspb.Map.prototype.has),jspb.Map.prototype.serializeBinary=function(o,e,r,s,t){var i=this.stringKeys_();i.sort();for(var n=0;n<i.length;n++){var p=this.map_[i[n]];e.beginSubMessage(o),r.call(e,1,p.key),this.valueCtor_?s.call(e,2,this.wrapEntry_(p),t):s.call(e,2,p.value),e.endSubMessage()}},goog.exportProperty(jspb.Map.prototype,"serializeBinary",jspb.Map.prototype.serializeBinary),jspb.Map.deserializeBinary=function(o,e,r,s,t,i,n){for(;e.nextField()&&!e.isEndGroup();){var p=e.getFieldNumber();p==1?i=r.call(e):p==2&&(o.valueCtor_?(jspb.asserts.assert(t),n||(n=new o.valueCtor_),s.call(e,n,t)):n=s.call(e))}jspb.asserts.assert(i!=null),jspb.asserts.assert(n!=null),o.set(i,n)},goog.exportProperty(jspb.Map,"deserializeBinary",jspb.Map.deserializeBinary),jspb.Map.prototype.stringKeys_=function(){var o=this.map_,e=[],r;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&e.push(r);return e},jspb.Map.Entry_=function(o,e){this.key=o,this.value=e,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(o,e,r,s,t){this.fieldIndex=o,this.fieldName=e,this.ctor=r,this.toObjectFn=s,this.isRepeated=t},goog.exportSymbol("jspb.ExtensionFieldInfo",jspb.ExtensionFieldInfo),jspb.ExtensionFieldBinaryInfo=function(o,e,r,s,t,i){this.fieldInfo=o,this.binaryReaderFn=e,this.binaryWriterFn=r,this.binaryMessageSerializeFn=s,this.binaryMessageDeserializeFn=t,this.isPacked=i},goog.exportSymbol("jspb.ExtensionFieldBinaryInfo",jspb.ExtensionFieldBinaryInfo),jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},goog.exportProperty(jspb.ExtensionFieldInfo.prototype,"isMessageType",jspb.ExtensionFieldInfo.prototype.isMessageType),jspb.Message=function(){},goog.exportSymbol("jspb.Message",jspb.Message),jspb.Message.GENERATE_TO_OBJECT=!0,goog.exportProperty(jspb.Message,"GENERATE_TO_OBJECT",jspb.Message.GENERATE_TO_OBJECT),jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,goog.exportProperty(jspb.Message,"GENERATE_FROM_OBJECT",jspb.Message.GENERATE_FROM_OBJECT),jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_=typeof Uint8Array=="function",jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},goog.exportProperty(jspb.Message.prototype,"getJsPbMessageId",jspb.Message.prototype.getJsPbMessageId),jspb.Message.getIndex_=function(o,e){return e+o.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(o,e){return e-o.arrayIndexOffset_},jspb.Message.initialize=function(o,e,r,s,t,i){if(o.wrappers_=null,e||(e=r?[r]:[]),o.messageId_=r?String(r):void 0,o.arrayIndexOffset_=r===0?-1:0,o.array=e,jspb.Message.initPivotAndExtensionObject_(o,s),o.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(o.repeatedFields=t),t)for(e=0;e<t.length;e++)r=t[e],r<o.pivot_?(r=jspb.Message.getIndex_(o,r),o.array[r]=o.array[r]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[r]=o.extensionObject_[r]||jspb.Message.EMPTY_LIST_SENTINEL_);if(i&&i.length)for(e=0;e<i.length;e++)jspb.Message.computeOneofCase(o,i[e])},goog.exportProperty(jspb.Message,"initialize",jspb.Message.initialize),jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(o){return jspb.Message.ASSUME_LOCAL_ARRAYS?o instanceof Array:Array.isArray(o)},jspb.Message.isExtensionObject_=function(o){return o!==null&&typeof o=="object"&&!jspb.Message.isArray_(o)&&!(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(o,e){var r=o.array.length,s=-1;if(r&&(s=r-1,r=o.array[s],jspb.Message.isExtensionObject_(r))){o.pivot_=jspb.Message.getFieldNumber_(o,s),o.extensionObject_=r;return}-1<e?(o.pivot_=Math.max(e,jspb.Message.getFieldNumber_(o,s+1)),o.extensionObject_=null):o.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(o){var e=jspb.Message.getIndex_(o,o.pivot_);o.array[e]||(o.extensionObject_=o.array[e]={})},jspb.Message.toObjectList=function(o,e,r){for(var s=[],t=0;t<o.length;t++)s[t]=e.call(o[t],r,o[t]);return s},goog.exportProperty(jspb.Message,"toObjectList",jspb.Message.toObjectList),jspb.Message.toObjectExtension=function(o,e,r,s,t){for(var i in r){var n=r[i],p=s.call(o,n);if(p!=null){for(var g in n.fieldName)if(n.fieldName.hasOwnProperty(g))break;e[g]=n.toObjectFn?n.isRepeated?jspb.Message.toObjectList(p,n.toObjectFn,t):n.toObjectFn(t,p):p}}},goog.exportProperty(jspb.Message,"toObjectExtension",jspb.Message.toObjectExtension),jspb.Message.serializeBinaryExtensions=function(o,e,r,s){for(var t in r){var i=r[t],n=i.fieldInfo;if(!i.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var p=s.call(o,n);if(p!=null)if(n.isMessageType())if(i.binaryMessageSerializeFn)i.binaryWriterFn.call(e,n.fieldIndex,p,i.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else i.binaryWriterFn.call(e,n.fieldIndex,p)}},goog.exportProperty(jspb.Message,"serializeBinaryExtensions",jspb.Message.serializeBinaryExtensions),jspb.Message.readBinaryExtension=function(o,e,r,s,t){var i=r[e.getFieldNumber()];if(i){if(r=i.fieldInfo,!i.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(r.isMessageType()){var n=new r.ctor;i.binaryReaderFn.call(e,n,i.binaryMessageDeserializeFn)}else n=i.binaryReaderFn.call(e);r.isRepeated&&!i.isPacked?(e=s.call(o,r))?e.push(n):t.call(o,r,[n]):t.call(o,r,n)}else e.skipField()},goog.exportProperty(jspb.Message,"readBinaryExtension",jspb.Message.readBinaryExtension),jspb.Message.getField=function(o,e){if(e<o.pivot_){e=jspb.Message.getIndex_(o,e);var r=o.array[e];return r===jspb.Message.EMPTY_LIST_SENTINEL_?o.array[e]=[]:r}if(o.extensionObject_)return r=o.extensionObject_[e],r===jspb.Message.EMPTY_LIST_SENTINEL_?o.extensionObject_[e]=[]:r},goog.exportProperty(jspb.Message,"getField",jspb.Message.getField),jspb.Message.getRepeatedField=function(o,e){return jspb.Message.getField(o,e)},goog.exportProperty(jspb.Message,"getRepeatedField",jspb.Message.getRepeatedField),jspb.Message.getOptionalFloatingPointField=function(o,e){return o=jspb.Message.getField(o,e),o==null?o:+o},goog.exportProperty(jspb.Message,"getOptionalFloatingPointField",jspb.Message.getOptionalFloatingPointField),jspb.Message.getBooleanField=function(o,e){return o=jspb.Message.getField(o,e),o==null?o:!!o},goog.exportProperty(jspb.Message,"getBooleanField",jspb.Message.getBooleanField),jspb.Message.getRepeatedFloatingPointField=function(o,e){var r=jspb.Message.getRepeatedField(o,e);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=+r[s];o.convertedPrimitiveFields_[e]=!0}return r},goog.exportProperty(jspb.Message,"getRepeatedFloatingPointField",jspb.Message.getRepeatedFloatingPointField),jspb.Message.getRepeatedBooleanField=function(o,e){var r=jspb.Message.getRepeatedField(o,e);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=!!r[s];o.convertedPrimitiveFields_[e]=!0}return r},goog.exportProperty(jspb.Message,"getRepeatedBooleanField",jspb.Message.getRepeatedBooleanField),jspb.Message.bytesAsB64=function(o){return o==null||typeof o=="string"?o:jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array?goog.crypt.base64.encodeByteArray(o):(jspb.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(o)),null)},goog.exportProperty(jspb.Message,"bytesAsB64",jspb.Message.bytesAsB64),jspb.Message.bytesAsU8=function(o){return o==null||o instanceof Uint8Array?o:typeof o=="string"?goog.crypt.base64.decodeStringToUint8Array(o):(jspb.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(o)),null)},goog.exportProperty(jspb.Message,"bytesAsU8",jspb.Message.bytesAsU8),jspb.Message.bytesListAsB64=function(o){return jspb.Message.assertConsistentTypes_(o),o.length&&typeof o[0]!="string"?goog.array.map(o,jspb.Message.bytesAsB64):o},goog.exportProperty(jspb.Message,"bytesListAsB64",jspb.Message.bytesListAsB64),jspb.Message.bytesListAsU8=function(o){return jspb.Message.assertConsistentTypes_(o),!o.length||o[0]instanceof Uint8Array?o:goog.array.map(o,jspb.Message.bytesAsU8)},goog.exportProperty(jspb.Message,"bytesListAsU8",jspb.Message.bytesListAsU8),jspb.Message.assertConsistentTypes_=function(o){if(goog.DEBUG&&o&&1<o.length){var e=goog.typeOf(o[0]);goog.array.forEach(o,function(r){goog.typeOf(r)!=e&&jspb.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(r)+" expected "+e)})}},jspb.Message.getFieldWithDefault=function(o,e,r){return o=jspb.Message.getField(o,e),o??r},goog.exportProperty(jspb.Message,"getFieldWithDefault",jspb.Message.getFieldWithDefault),jspb.Message.getBooleanFieldWithDefault=function(o,e,r){return o=jspb.Message.getBooleanField(o,e),o??r},goog.exportProperty(jspb.Message,"getBooleanFieldWithDefault",jspb.Message.getBooleanFieldWithDefault),jspb.Message.getFloatingPointFieldWithDefault=function(o,e,r){return o=jspb.Message.getOptionalFloatingPointField(o,e),o??r},goog.exportProperty(jspb.Message,"getFloatingPointFieldWithDefault",jspb.Message.getFloatingPointFieldWithDefault),jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,goog.exportProperty(jspb.Message,"getFieldProto3",jspb.Message.getFieldProto3),jspb.Message.getMapField=function(o,e,r,s){if(o.wrappers_||(o.wrappers_={}),e in o.wrappers_)return o.wrappers_[e];var t=jspb.Message.getField(o,e);if(!t){if(r)return;t=[],jspb.Message.setField(o,e,t)}return o.wrappers_[e]=new jspb.Map(t,s)},goog.exportProperty(jspb.Message,"getMapField",jspb.Message.getMapField),jspb.Message.setField=function(o,e,r){return jspb.asserts.assertInstanceof(o,jspb.Message),e<o.pivot_?o.array[jspb.Message.getIndex_(o,e)]=r:(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[e]=r),o},goog.exportProperty(jspb.Message,"setField",jspb.Message.setField),jspb.Message.setProto3IntField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3IntField",jspb.Message.setProto3IntField),jspb.Message.setProto3FloatField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3FloatField",jspb.Message.setProto3FloatField),jspb.Message.setProto3BooleanField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,!1)},goog.exportProperty(jspb.Message,"setProto3BooleanField",jspb.Message.setProto3BooleanField),jspb.Message.setProto3StringField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"")},goog.exportProperty(jspb.Message,"setProto3StringField",jspb.Message.setProto3StringField),jspb.Message.setProto3BytesField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"")},goog.exportProperty(jspb.Message,"setProto3BytesField",jspb.Message.setProto3BytesField),jspb.Message.setProto3EnumField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3EnumField",jspb.Message.setProto3EnumField),jspb.Message.setProto3StringIntField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"0")},goog.exportProperty(jspb.Message,"setProto3StringIntField",jspb.Message.setProto3StringIntField),jspb.Message.setFieldIgnoringDefault_=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),r!==s?jspb.Message.setField(o,e,r):e<o.pivot_?o.array[jspb.Message.getIndex_(o,e)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(o),delete o.extensionObject_[e]),o},jspb.Message.addToRepeatedField=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),e=jspb.Message.getRepeatedField(o,e),s!=null?e.splice(s,0,r):e.push(r),o},goog.exportProperty(jspb.Message,"addToRepeatedField",jspb.Message.addToRepeatedField),jspb.Message.setOneofField=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),(r=jspb.Message.computeOneofCase(o,r))&&r!==e&&s!==void 0&&(o.wrappers_&&r in o.wrappers_&&(o.wrappers_[r]=void 0),jspb.Message.setField(o,r,void 0)),jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setOneofField",jspb.Message.setOneofField),jspb.Message.computeOneofCase=function(o,e){for(var r,s,t=0;t<e.length;t++){var i=e[t],n=jspb.Message.getField(o,i);n!=null&&(r=i,s=n,jspb.Message.setField(o,i,void 0))}return r?(jspb.Message.setField(o,r,s),r):0},goog.exportProperty(jspb.Message,"computeOneofCase",jspb.Message.computeOneofCase),jspb.Message.getWrapperField=function(o,e,r,s){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){var t=jspb.Message.getField(o,r);(s||t)&&(o.wrappers_[r]=new e(t))}return o.wrappers_[r]},goog.exportProperty(jspb.Message,"getWrapperField",jspb.Message.getWrapperField),jspb.Message.getRepeatedWrapperField=function(o,e,r){return jspb.Message.wrapRepeatedField_(o,e,r),e=o.wrappers_[r],e==jspb.Message.EMPTY_LIST_SENTINEL_&&(e=o.wrappers_[r]=[]),e},goog.exportProperty(jspb.Message,"getRepeatedWrapperField",jspb.Message.getRepeatedWrapperField),jspb.Message.wrapRepeatedField_=function(o,e,r){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){for(var s=jspb.Message.getRepeatedField(o,r),t=[],i=0;i<s.length;i++)t[i]=new e(s[i]);o.wrappers_[r]=t}},jspb.Message.setWrapperField=function(o,e,r){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var s=r&&r.toArray();return o.wrappers_[e]=r,jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setWrapperField",jspb.Message.setWrapperField),jspb.Message.setOneofWrapperField=function(o,e,r,s){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var t=s&&s.toArray();return o.wrappers_[e]=s,jspb.Message.setOneofField(o,e,r,t)},goog.exportProperty(jspb.Message,"setOneofWrapperField",jspb.Message.setOneofWrapperField),jspb.Message.setRepeatedWrapperField=function(o,e,r){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={}),r=r||[];for(var s=[],t=0;t<r.length;t++)s[t]=r[t].toArray();return o.wrappers_[e]=r,jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setRepeatedWrapperField",jspb.Message.setRepeatedWrapperField),jspb.Message.addToRepeatedWrapperField=function(o,e,r,s,t){jspb.Message.wrapRepeatedField_(o,s,e);var i=o.wrappers_[e];return i||(i=o.wrappers_[e]=[]),r=r||new s,o=jspb.Message.getRepeatedField(o,e),t!=null?(i.splice(t,0,r),o.splice(t,0,r.toArray())):(i.push(r),o.push(r.toArray())),r},goog.exportProperty(jspb.Message,"addToRepeatedWrapperField",jspb.Message.addToRepeatedWrapperField),jspb.Message.toMap=function(o,e,r,s){for(var t={},i=0;i<o.length;i++)t[e.call(o[i])]=r?r.call(o[i],s,o[i]):o[i];return t},goog.exportProperty(jspb.Message,"toMap",jspb.Message.toMap),jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var o in this.wrappers_){var e=this.wrappers_[o];if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&e[r].toArray();else e&&e.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},goog.exportProperty(jspb.Message.prototype,"toArray",jspb.Message.prototype.toArray),jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(o){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var e=o.fieldIndex;if(o.isRepeated){if(o.isMessageType())return this.wrappers_[e]||(this.wrappers_[e]=goog.array.map(this.extensionObject_[e]||[],function(r){return new o.ctor(r)})),this.wrappers_[e]}else if(o.isMessageType())return!this.wrappers_[e]&&this.extensionObject_[e]&&(this.wrappers_[e]=new o.ctor(this.extensionObject_[e])),this.wrappers_[e];return this.extensionObject_[e]}},goog.exportProperty(jspb.Message.prototype,"getExtension",jspb.Message.prototype.getExtension),jspb.Message.prototype.setExtension=function(o,e){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var r=o.fieldIndex;return o.isRepeated?(e=e||[],o.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=goog.array.map(e,function(s){return s.toArray()})):this.extensionObject_[r]=e):o.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=e&&e.toArray()):this.extensionObject_[r]=e,this},goog.exportProperty(jspb.Message.prototype,"setExtension",jspb.Message.prototype.setExtension),jspb.Message.difference=function(o,e){if(!(o instanceof e.constructor))throw Error("Messages have different types.");var r=o.toArray();e=e.toArray();var s=[],t=0,i=r.length>e.length?r.length:e.length;for(o.getJsPbMessageId()&&(s[0]=o.getJsPbMessageId(),t=1);t<i;t++)jspb.Message.compareFields(r[t],e[t])||(s[t]=e[t]);return new o.constructor(s)},goog.exportProperty(jspb.Message,"difference",jspb.Message.difference),jspb.Message.equals=function(o,e){return o==e||!(!o||!e)&&o instanceof e.constructor&&jspb.Message.compareFields(o.toArray(),e.toArray())},goog.exportProperty(jspb.Message,"equals",jspb.Message.equals),jspb.Message.compareExtensions=function(o,e){o=o||{},e=e||{};var r={},s;for(s in o)r[s]=0;for(s in e)r[s]=0;for(s in r)if(!jspb.Message.compareFields(o[s],e[s]))return!1;return!0},goog.exportProperty(jspb.Message,"compareExtensions",jspb.Message.compareExtensions),jspb.Message.compareFields=function(o,e){if(o==e)return!0;if(!goog.isObject(o)||!goog.isObject(e))return typeof o=="number"&&isNaN(o)||typeof e=="number"&&isNaN(e)?String(o)==String(e):!1;if(o.constructor!=e.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o.constructor===Uint8Array){if(o.length!=e.length)return!1;for(var r=0;r<o.length;r++)if(o[r]!=e[r])return!1;return!0}if(o.constructor===Array){var s=void 0,t=void 0,i=Math.max(o.length,e.length);for(r=0;r<i;r++){var n=o[r],p=e[r];if(n&&n.constructor==Object&&(jspb.asserts.assert(s===void 0),jspb.asserts.assert(r===o.length-1),s=n,n=void 0),p&&p.constructor==Object&&(jspb.asserts.assert(t===void 0),jspb.asserts.assert(r===e.length-1),t=p,p=void 0),!jspb.Message.compareFields(n,p))return!1}return s||t?(s=s||{},t=t||{},jspb.Message.compareExtensions(s,t)):!0}if(o.constructor===Object)return jspb.Message.compareExtensions(o,e);throw Error("Invalid type in JSPB array")},goog.exportProperty(jspb.Message,"compareFields",jspb.Message.compareFields),jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"cloneMessage",jspb.Message.prototype.cloneMessage),jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"clone",jspb.Message.prototype.clone),jspb.Message.clone=function(o){return jspb.Message.cloneMessage(o)},goog.exportProperty(jspb.Message,"clone",jspb.Message.clone),jspb.Message.cloneMessage=function(o){return new o.constructor(jspb.Message.clone_(o.toArray()))},jspb.Message.copyInto=function(o,e){jspb.asserts.assertInstanceof(o,jspb.Message),jspb.asserts.assertInstanceof(e,jspb.Message),jspb.asserts.assert(o.constructor==e.constructor,"Copy source and target message should have the same type."),o=jspb.Message.clone(o);for(var r=e.toArray(),s=o.toArray(),t=r.length=0;t<s.length;t++)r[t]=s[t];e.wrappers_=o.wrappers_,e.extensionObject_=o.extensionObject_},goog.exportProperty(jspb.Message,"copyInto",jspb.Message.copyInto),jspb.Message.clone_=function(o){if(Array.isArray(o)){for(var e=Array(o.length),r=0;r<o.length;r++){var s=o[r];s!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(jspb.asserts.assert(s)):s)}return e}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)return new Uint8Array(o);e={};for(r in o)s=o[r],s!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(jspb.asserts.assert(s)):s);return e},jspb.Message.registerMessageType=function(o,e){e.messageId=o},goog.exportProperty(jspb.Message,"registerMessageType",jspb.Message.registerMessageType),jspb.Message.messageSetExtensions={},jspb.Message.messageSetExtensionsBinary={},jspb.Export={},exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=jspb.BinaryReader,exports.BinaryWriter=jspb.BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:goog.object.extend},exports.typeOf=goog.typeOf})(googleProtobuf);var common_pb={},descriptor_pb={};(function(o){var e=googleProtobuf,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.DescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,s),r.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,s),r.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,s),r.exportSymbol("proto.google.protobuf.EnumOptions",null,s),r.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.EnumValueOptions",null,s),r.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,s),r.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,s),r.exportSymbol("proto.google.protobuf.FileOptions",null,s),r.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,s),r.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,s),r.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,s),r.exportSymbol("proto.google.protobuf.MessageOptions",null,s),r.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.MethodOptions",null,s),r.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,s),r.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.OneofOptions",null,s),r.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.ServiceOptions",null,s),r.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,s),r.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,s),r.exportSymbol("proto.google.protobuf.UninterpretedOption",null,s),r.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,s),proto.google.protobuf.FileDescriptorSet=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileDescriptorSet,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet"),proto.google.protobuf.FileDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto"),proto.google.protobuf.DescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.DescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto"),proto.google.protobuf.DescriptorProto.ExtensionRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange"),proto.google.protobuf.DescriptorProto.ReservedRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange"),proto.google.protobuf.ExtensionRangeOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.ExtensionRangeOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ExtensionRangeOptions.displayName="proto.google.protobuf.ExtensionRangeOptions"),proto.google.protobuf.ExtensionRangeOptions.extensions={},proto.google.protobuf.ExtensionRangeOptions.extensionsBinary={},proto.google.protobuf.FieldDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.FieldDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto"),proto.google.protobuf.OneofDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.OneofDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto"),proto.google.protobuf.EnumDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto"),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange"),proto.google.protobuf.EnumValueDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.EnumValueDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto"),proto.google.protobuf.ServiceDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.ServiceDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto"),proto.google.protobuf.MethodDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.MethodDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto"),proto.google.protobuf.FileOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileOptions.displayName="proto.google.protobuf.FileOptions"),proto.google.protobuf.FileOptions.extensions={},proto.google.protobuf.FileOptions.extensionsBinary={},proto.google.protobuf.MessageOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.MessageOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MessageOptions.displayName="proto.google.protobuf.MessageOptions"),proto.google.protobuf.MessageOptions.extensions={},proto.google.protobuf.MessageOptions.extensionsBinary={},proto.google.protobuf.FieldOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.FieldOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldOptions.displayName="proto.google.protobuf.FieldOptions"),proto.google.protobuf.FieldOptions.extensions={},proto.google.protobuf.FieldOptions.extensionsBinary={},proto.google.protobuf.OneofOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.OneofOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofOptions.displayName="proto.google.protobuf.OneofOptions"),proto.google.protobuf.OneofOptions.extensions={},proto.google.protobuf.OneofOptions.extensionsBinary={},proto.google.protobuf.EnumOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumOptions.displayName="proto.google.protobuf.EnumOptions"),proto.google.protobuf.EnumOptions.extensions={},proto.google.protobuf.EnumOptions.extensionsBinary={},proto.google.protobuf.EnumValueOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumValueOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueOptions.displayName="proto.google.protobuf.EnumValueOptions"),proto.google.protobuf.EnumValueOptions.extensions={},proto.google.protobuf.EnumValueOptions.extensionsBinary={},proto.google.protobuf.ServiceOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.ServiceOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceOptions.displayName="proto.google.protobuf.ServiceOptions"),proto.google.protobuf.ServiceOptions.extensions={},proto.google.protobuf.ServiceOptions.extensionsBinary={},proto.google.protobuf.MethodOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.MethodOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodOptions.displayName="proto.google.protobuf.MethodOptions"),proto.google.protobuf.MethodOptions.extensions={},proto.google.protobuf.MethodOptions.extensionsBinary={},proto.google.protobuf.UninterpretedOption=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)},r.inherits(proto.google.protobuf.UninterpretedOption,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption"),proto.google.protobuf.UninterpretedOption.NamePart=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.UninterpretedOption.NamePart,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart"),proto.google.protobuf.SourceCodeInfo=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)},r.inherits(proto.google.protobuf.SourceCodeInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo"),proto.google.protobuf.SourceCodeInfo.Location=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)},r.inherits(proto.google.protobuf.SourceCodeInfo.Location,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location"),proto.google.protobuf.GeneratedCodeInfo=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)},r.inherits(proto.google.protobuf.GeneratedCodeInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo"),proto.google.protobuf.GeneratedCodeInfo.Annotation=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)},r.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation"),proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorSet.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorSet.toObject(t,this)},proto.google.protobuf.FileDescriptorSet.toObject=function(t,i){var n={fileList:e.Message.toObjectList(i.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileDescriptorSet;return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.FileDescriptorProto;i.readMessage(p,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),t.addFile(p);break;default:i.skipField();break}}return t},proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getFileList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter)},proto.google.protobuf.FileDescriptorSet.prototype.getFileList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)},proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.FileDescriptorProto,i)},proto.google.protobuf.FileDescriptorSet.prototype.clearFileList=function(){return this.setFileList([])},proto.google.protobuf.FileDescriptorProto.repeatedFields_=[3,10,11,4,5,6,7],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorProto.toObject(t,this)},proto.google.protobuf.FileDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,pb_package:(n=e.Message.getField(i,2))==null?void 0:n,dependencyList:(n=e.Message.getRepeatedField(i,3))==null?void 0:n,publicDependencyList:(n=e.Message.getRepeatedField(i,10))==null?void 0:n,weakDependencyList:(n=e.Message.getRepeatedField(i,11))==null?void 0:n,messageTypeList:e.Message.toObjectList(i.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:e.Message.toObjectList(i.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),serviceList:e.Message.toObjectList(i.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,t),extensionList:e.Message.toObjectList(i.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.FileOptions.toObject(t,n),sourceCodeInfo:(n=i.getSourceCodeInfo())&&proto.google.protobuf.SourceCodeInfo.toObject(t,n),syntax:(n=e.Message.getField(i,12))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileDescriptorProto;return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var l=i.readString();t.setName(l);break;case 2:var l=i.readString();t.setPackage(l);break;case 3:var l=i.readString();t.addDependency(l);break;case 10:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addPublicDependency(g[p]);break;case 11:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addWeakDependency(g[p]);break;case 4:var l=new proto.google.protobuf.DescriptorProto;i.readMessage(l,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addMessageType(l);break;case 5:var l=new proto.google.protobuf.EnumDescriptorProto;i.readMessage(l,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(l);break;case 6:var l=new proto.google.protobuf.ServiceDescriptorProto;i.readMessage(l,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),t.addService(l);break;case 7:var l=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(l,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(l);break;case 8:var l=new proto.google.protobuf.FileOptions;i.readMessage(l,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),t.setOptions(l);break;case 9:var l=new proto.google.protobuf.SourceCodeInfo;i.readMessage(l,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),t.setSourceCodeInfo(l);break;case 12:var l=i.readString();t.setSyntax(l);break;default:i.skipField();break}}return t},proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=t.getDependencyList(),n.length>0&&i.writeRepeatedString(3,n),n=t.getPublicDependencyList(),n.length>0&&i.writeRepeatedInt32(10,n),n=t.getWeakDependencyList(),n.length>0&&i.writeRepeatedInt32(11,n),n=t.getMessageTypeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),n=t.getEnumTypeList(),n.length>0&&i.writeRepeatedMessage(5,n,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),n=t.getServiceList(),n.length>0&&i.writeRepeatedMessage(6,n,proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter),n=t.getExtensionList(),n.length>0&&i.writeRepeatedMessage(7,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(8,n,proto.google.protobuf.FileOptions.serializeBinaryToWriter),n=t.getSourceCodeInfo(),n!=null&&i.writeMessage(9,n,proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter),n=e.Message.getField(t,12),n!=null&&i.writeString(12,n)},proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return e.Message.getRepeatedField(this,3)},proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(t){return e.Message.setField(this,3,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(t,i){return e.Message.addToRepeatedField(this,3,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return e.Message.getRepeatedField(this,10)},proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(t){return e.Message.setField(this,10,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(t,i){return e.Message.addToRepeatedField(this,10,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return e.Message.getRepeatedField(this,11)},proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(t){return e.Message.setField(this,11,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(t,i){return e.Message.addToRepeatedField(this,11,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)},proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.DescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearMessageTypeList=function(){return this.setMessageTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getEnumTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)},proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(t){return e.Message.setRepeatedWrapperField(this,5,t)},proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(t,i){return e.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.EnumDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getServiceList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)},proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(t){return e.Message.setRepeatedWrapperField(this,6,t)},proto.google.protobuf.FileDescriptorProto.prototype.addService=function(t,i){return e.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.ServiceDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearServiceList=function(){return this.setServiceList([])},proto.google.protobuf.FileDescriptorProto.prototype.getExtensionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)},proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(t){return e.Message.setRepeatedWrapperField(this,7,t)},proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(t,i){return e.Message.addToRepeatedWrapperField(this,7,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.FileDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)},proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,8,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return e.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)},proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(t){return e.Message.setWrapperField(this,9,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearSourceCodeInfo=function(){return this.setSourceCodeInfo(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSourceCodeInfo=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return e.Message.getFieldWithDefault(this,12,"")},proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(t){return e.Message.setField(this,12,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return e.Message.setField(this,12,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return e.Message.getField(this,12)!=null},proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.toObject(t,this)},proto.google.protobuf.DescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,fieldList:e.Message.toObjectList(i.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),extensionList:e.Message.toObjectList(i.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),nestedTypeList:e.Message.toObjectList(i.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:e.Message.toObjectList(i.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),extensionRangeList:e.Message.toObjectList(i.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,t),oneofDeclList:e.Message.toObjectList(i.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.MessageOptions.toObject(t,n),reservedRangeList:e.Message.toObjectList(i.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,t),reservedNameList:(n=e.Message.getRepeatedField(i,10))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto;return proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addField(p);break;case 6:var p=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(p);break;case 3:var p=new proto.google.protobuf.DescriptorProto;i.readMessage(p,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addNestedType(p);break;case 4:var p=new proto.google.protobuf.EnumDescriptorProto;i.readMessage(p,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(p);break;case 5:var p=new proto.google.protobuf.DescriptorProto.ExtensionRange;i.readMessage(p,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),t.addExtensionRange(p);break;case 8:var p=new proto.google.protobuf.OneofDescriptorProto;i.readMessage(p,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),t.addOneofDecl(p);break;case 7:var p=new proto.google.protobuf.MessageOptions;i.readMessage(p,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 9:var p=new proto.google.protobuf.DescriptorProto.ReservedRange;i.readMessage(p,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),t.addReservedRange(p);break;case 10:var p=i.readString();t.addReservedName(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getFieldList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getExtensionList(),n.length>0&&i.writeRepeatedMessage(6,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getNestedTypeList(),n.length>0&&i.writeRepeatedMessage(3,n,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),n=t.getEnumTypeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),n=t.getExtensionRangeList(),n.length>0&&i.writeRepeatedMessage(5,n,proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter),n=t.getOneofDeclList(),n.length>0&&i.writeRepeatedMessage(8,n,proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(7,n,proto.google.protobuf.MessageOptions.serializeBinaryToWriter),n=t.getReservedRangeList(),n.length>0&&i.writeRepeatedMessage(9,n,proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter),n=t.getReservedNameList(),n.length>0&&i.writeRepeatedString(10,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ExtensionRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ExtensionRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto.ExtensionRange;return proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;case 3:var p=new proto.google.protobuf.ExtensionRangeOptions;i.readMessage(p,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ReservedRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ReservedRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ReservedRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto.ReservedRange;return proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.DescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)},proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.DescriptorProto.prototype.addField=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearFieldList=function(){return this.setFieldList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)},proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(t){return e.Message.setRepeatedWrapperField(this,6,t)},proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(t,i){return e.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.DescriptorProto.prototype.getNestedTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)},proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(t){return e.Message.setRepeatedWrapperField(this,3,t)},proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(t,i){return e.Message.addToRepeatedWrapperField(this,3,t,proto.google.protobuf.DescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearNestedTypeList=function(){return this.setNestedTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getEnumTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)},proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)},proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(t){return e.Message.setRepeatedWrapperField(this,5,t)},proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.DescriptorProto.ExtensionRange,i)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionRangeList=function(){return this.setExtensionRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getOneofDeclList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)},proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(t){return e.Message.setRepeatedWrapperField(this,8,t)},proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(t,i){return e.Message.addToRepeatedWrapperField(this,8,t,proto.google.protobuf.OneofDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearOneofDeclList=function(){return this.setOneofDeclList([])},proto.google.protobuf.DescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)},proto.google.protobuf.DescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,7,t)},proto.google.protobuf.DescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)},proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(t){return e.Message.setRepeatedWrapperField(this,9,t)},proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,9,t,proto.google.protobuf.DescriptorProto.ReservedRange,i)},proto.google.protobuf.DescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getReservedNameList=function(){return e.Message.getRepeatedField(this,10)},proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(t){return e.Message.setField(this,10,t||[])},proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(t,i){return e.Message.addToRepeatedField(this,10,t,i)},proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ExtensionRangeOptions.prototype.toObject=function(t){return proto.google.protobuf.ExtensionRangeOptions.toObject(t,this)},proto.google.protobuf.ExtensionRangeOptions.toObject=function(t,i){var n={uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ExtensionRangeOptions;return proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,proto.google.protobuf.ExtensionRangeOptions.prototype.setExtension);break}}return t},proto.google.protobuf.ExtensionRangeOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)},proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FieldDescriptorProto.toObject(t,this)},proto.google.protobuf.FieldDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,number:(n=e.Message.getField(i,3))==null?void 0:n,label:(n=e.Message.getField(i,4))==null?void 0:n,type:(n=e.Message.getField(i,5))==null?void 0:n,typeName:(n=e.Message.getField(i,6))==null?void 0:n,extendee:(n=e.Message.getField(i,2))==null?void 0:n,defaultValue:(n=e.Message.getField(i,7))==null?void 0:n,oneofIndex:(n=e.Message.getField(i,9))==null?void 0:n,jsonName:(n=e.Message.getField(i,10))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.FieldOptions.toObject(t,n),proto3Optional:(n=e.Message.getBooleanField(i,17))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FieldDescriptorProto;return proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 3:var p=i.readInt32();t.setNumber(p);break;case 4:var p=i.readEnum();t.setLabel(p);break;case 5:var p=i.readEnum();t.setType(p);break;case 6:var p=i.readString();t.setTypeName(p);break;case 2:var p=i.readString();t.setExtendee(p);break;case 7:var p=i.readString();t.setDefaultValue(p);break;case 9:var p=i.readInt32();t.setOneofIndex(p);break;case 10:var p=i.readString();t.setJsonName(p);break;case 8:var p=new proto.google.protobuf.FieldOptions;i.readMessage(p,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 17:var p=i.readBool();t.setProto3Optional(p);break;default:i.skipField();break}}return t},proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,3),n!=null&&i.writeInt32(3,n),n=e.Message.getField(t,4),n!=null&&i.writeEnum(4,n),n=e.Message.getField(t,5),n!=null&&i.writeEnum(5,n),n=e.Message.getField(t,6),n!=null&&i.writeString(6,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,7),n!=null&&i.writeString(7,n),n=e.Message.getField(t,9),n!=null&&i.writeInt32(9,n),n=e.Message.getField(t,10),n!=null&&i.writeString(10,n),n=t.getOptions(),n!=null&&i.writeMessage(8,n,proto.google.protobuf.FieldOptions.serializeBinaryToWriter),n=e.Message.getField(t,17),n!=null&&i.writeBool(17,n)},proto.google.protobuf.FieldDescriptorProto.Type={TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18},proto.google.protobuf.FieldDescriptorProto.Label={LABEL_OPTIONAL:1,LABEL_REQUIRED:2,LABEL_REPEATED:3},proto.google.protobuf.FieldDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return e.Message.getFieldWithDefault(this,4,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return e.Message.getFieldWithDefault(this,5,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return e.Message.getFieldWithDefault(this,9,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(t){return e.Message.setField(this,9,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return e.Message.setField(this,9,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return e.Message.getFieldWithDefault(this,10,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)},proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,8,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return e.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(t){return e.Message.setField(this,17,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return e.Message.setField(this,17,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return e.Message.getField(this,17)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.OneofDescriptorProto.toObject(t,this)},proto.google.protobuf.OneofDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.OneofOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.OneofDescriptorProto;return proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.OneofOptions;i.readMessage(p,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getOptions(),n!=null&&i.writeMessage(2,n,proto.google.protobuf.OneofOptions.serializeBinaryToWriter)},proto.google.protobuf.OneofDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)},proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,2,t)},proto.google.protobuf.OneofDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,valueList:e.Message.toObjectList(i.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.EnumOptions.toObject(t,n),reservedRangeList:e.Message.toObjectList(i.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,t),reservedNameList:(n=e.Message.getRepeatedField(i,5))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumDescriptorProto;return proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.EnumValueDescriptorProto;i.readMessage(p,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),t.addValue(p);break;case 3:var p=new proto.google.protobuf.EnumOptions;i.readMessage(p,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 4:var p=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;i.readMessage(p,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),t.addReservedRange(p);break;case 5:var p=i.readString();t.addReservedName(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getValueList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.EnumOptions.serializeBinaryToWriter),n=t.getReservedRangeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter),n=t.getReservedNameList(),n.length>0&&i.writeRepeatedString(5,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)},proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.EnumValueDescriptorProto,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearValueList=function(){return this.setValueList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)},proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedNameList=function(){return e.Message.getRepeatedField(this,5)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(t){return e.Message.setField(this,5,t||[])},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(t,i){return e.Message.addToRepeatedField(this,5,t,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumValueDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumValueDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,number:(n=e.Message.getField(i,2))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumValueDescriptorProto;return proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=i.readInt32();t.setNumber(p);break;case 3:var p=new proto.google.protobuf.EnumValueOptions;i.readMessage(p,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter)},proto.google.protobuf.EnumValueDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.ServiceDescriptorProto.toObject(t,this)},proto.google.protobuf.ServiceDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,methodList:e.Message.toObjectList(i.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ServiceDescriptorProto;return proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.MethodDescriptorProto;i.readMessage(p,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),t.addMethod(p);break;case 3:var p=new proto.google.protobuf.ServiceOptions;i.readMessage(p,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getMethodList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.ServiceOptions.serializeBinaryToWriter)},proto.google.protobuf.ServiceDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)},proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.MethodDescriptorProto,i)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearMethodList=function(){return this.setMethodList([])},proto.google.protobuf.ServiceDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)},proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.MethodDescriptorProto.toObject(t,this)},proto.google.protobuf.MethodDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,inputType:(n=e.Message.getField(i,2))==null?void 0:n,outputType:(n=e.Message.getField(i,3))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.MethodOptions.toObject(t,n),clientStreaming:e.Message.getBooleanFieldWithDefault(i,5,!1),serverStreaming:e.Message.getBooleanFieldWithDefault(i,6,!1)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MethodDescriptorProto;return proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=i.readString();t.setInputType(p);break;case 3:var p=i.readString();t.setOutputType(p);break;case 4:var p=new proto.google.protobuf.MethodOptions;i.readMessage(p,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 5:var p=i.readBool();t.setClientStreaming(p);break;case 6:var p=i.readBool();t.setServerStreaming(p);break;default:i.skipField();break}}return t},proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=t.getOptions(),n!=null&&i.writeMessage(4,n,proto.google.protobuf.MethodOptions.serializeBinaryToWriter),n=e.Message.getField(t,5),n!=null&&i.writeBool(5,n),n=e.Message.getField(t,6),n!=null&&i.writeBool(6,n)},proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)},proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,4,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return e.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return e.Message.getBooleanFieldWithDefault(this,6,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FileOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileOptions.prototype.toObject=function(t){return proto.google.protobuf.FileOptions.toObject(t,this)},proto.google.protobuf.FileOptions.toObject=function(t,i){var n,p={javaPackage:(n=e.Message.getField(i,1))==null?void 0:n,javaOuterClassname:(n=e.Message.getField(i,8))==null?void 0:n,javaMultipleFiles:e.Message.getBooleanFieldWithDefault(i,10,!1),javaGenerateEqualsAndHash:(n=e.Message.getBooleanField(i,20))==null?void 0:n,javaStringCheckUtf8:e.Message.getBooleanFieldWithDefault(i,27,!1),optimizeFor:e.Message.getFieldWithDefault(i,9,1),goPackage:(n=e.Message.getField(i,11))==null?void 0:n,ccGenericServices:e.Message.getBooleanFieldWithDefault(i,16,!1),javaGenericServices:e.Message.getBooleanFieldWithDefault(i,17,!1),pyGenericServices:e.Message.getBooleanFieldWithDefault(i,18,!1),phpGenericServices:e.Message.getBooleanFieldWithDefault(i,42,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,23,!1),ccEnableArenas:e.Message.getBooleanFieldWithDefault(i,31,!0),objcClassPrefix:(n=e.Message.getField(i,36))==null?void 0:n,csharpNamespace:(n=e.Message.getField(i,37))==null?void 0:n,swiftPrefix:(n=e.Message.getField(i,39))==null?void 0:n,phpClassPrefix:(n=e.Message.getField(i,40))==null?void 0:n,phpNamespace:(n=e.Message.getField(i,41))==null?void 0:n,phpMetadataNamespace:(n=e.Message.getField(i,44))==null?void 0:n,rubyPackage:(n=e.Message.getField(i,45))==null?void 0:n,uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FileOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileOptions;return proto.google.protobuf.FileOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setJavaPackage(p);break;case 8:var p=i.readString();t.setJavaOuterClassname(p);break;case 10:var p=i.readBool();t.setJavaMultipleFiles(p);break;case 20:var p=i.readBool();t.setJavaGenerateEqualsAndHash(p);break;case 27:var p=i.readBool();t.setJavaStringCheckUtf8(p);break;case 9:var p=i.readEnum();t.setOptimizeFor(p);break;case 11:var p=i.readString();t.setGoPackage(p);break;case 16:var p=i.readBool();t.setCcGenericServices(p);break;case 17:var p=i.readBool();t.setJavaGenericServices(p);break;case 18:var p=i.readBool();t.setPyGenericServices(p);break;case 42:var p=i.readBool();t.setPhpGenericServices(p);break;case 23:var p=i.readBool();t.setDeprecated(p);break;case 31:var p=i.readBool();t.setCcEnableArenas(p);break;case 36:var p=i.readString();t.setObjcClassPrefix(p);break;case 37:var p=i.readString();t.setCsharpNamespace(p);break;case 39:var p=i.readString();t.setSwiftPrefix(p);break;case 40:var p=i.readString();t.setPhpClassPrefix(p);break;case 41:var p=i.readString();t.setPhpNamespace(p);break;case 44:var p=i.readString();t.setPhpMetadataNamespace(p);break;case 45:var p=i.readString();t.setRubyPackage(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension,proto.google.protobuf.FileOptions.prototype.setExtension);break}}return t},proto.google.protobuf.FileOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,8),n!=null&&i.writeString(8,n),n=e.Message.getField(t,10),n!=null&&i.writeBool(10,n),n=e.Message.getField(t,20),n!=null&&i.writeBool(20,n),n=e.Message.getField(t,27),n!=null&&i.writeBool(27,n),n=e.Message.getField(t,9),n!=null&&i.writeEnum(9,n),n=e.Message.getField(t,11),n!=null&&i.writeString(11,n),n=e.Message.getField(t,16),n!=null&&i.writeBool(16,n),n=e.Message.getField(t,17),n!=null&&i.writeBool(17,n),n=e.Message.getField(t,18),n!=null&&i.writeBool(18,n),n=e.Message.getField(t,42),n!=null&&i.writeBool(42,n),n=e.Message.getField(t,23),n!=null&&i.writeBool(23,n),n=e.Message.getField(t,31),n!=null&&i.writeBool(31,n),n=e.Message.getField(t,36),n!=null&&i.writeString(36,n),n=e.Message.getField(t,37),n!=null&&i.writeString(37,n),n=e.Message.getField(t,39),n!=null&&i.writeString(39,n),n=e.Message.getField(t,40),n!=null&&i.writeString(40,n),n=e.Message.getField(t,41),n!=null&&i.writeString(41,n),n=e.Message.getField(t,44),n!=null&&i.writeString(44,n),n=e.Message.getField(t,45),n!=null&&i.writeString(45,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension)},proto.google.protobuf.FileOptions.OptimizeMode={SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3},proto.google.protobuf.FileOptions.prototype.getJavaPackage=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return e.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(t){return e.Message.setField(this,8,t)},proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return e.Message.setField(this,8,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return e.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return e.Message.getBooleanFieldWithDefault(this,20,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(t){return e.Message.setField(this,20,t)},proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return e.Message.setField(this,20,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return e.Message.getField(this,20)!=null},proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return e.Message.getBooleanFieldWithDefault(this,27,!1)},proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(t){return e.Message.setField(this,27,t)},proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return e.Message.setField(this,27,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return e.Message.getField(this,27)!=null},proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return e.Message.getFieldWithDefault(this,9,1)},proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(t){return e.Message.setField(this,9,t)},proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return e.Message.setField(this,9,void 0)},proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return e.Message.getFieldWithDefault(this,11,"")},proto.google.protobuf.FileOptions.prototype.setGoPackage=function(t){return e.Message.setField(this,11,t)},proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return e.Message.setField(this,11,void 0)},proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return e.Message.getField(this,11)!=null},proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,16,!1)},proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(t){return e.Message.setField(this,16,t)},proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return e.Message.setField(this,16,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return e.Message.getField(this,16)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(t){return e.Message.setField(this,17,t)},proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return e.Message.setField(this,17,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return e.Message.getField(this,17)!=null},proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,18,!1)},proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(t){return e.Message.setField(this,18,t)},proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return e.Message.setField(this,18,void 0)},proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return e.Message.getField(this,18)!=null},proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,42,!1)},proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(t){return e.Message.setField(this,42,t)},proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return e.Message.setField(this,42,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return e.Message.getField(this,42)!=null},proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,23,!1)},proto.google.protobuf.FileOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,23,t)},proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,23,void 0)},proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,23)!=null},proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return e.Message.getBooleanFieldWithDefault(this,31,!0)},proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(t){return e.Message.setField(this,31,t)},proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return e.Message.setField(this,31,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return e.Message.getField(this,31)!=null},proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return e.Message.getFieldWithDefault(this,36,"")},proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(t){return e.Message.setField(this,36,t)},proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return e.Message.setField(this,36,void 0)},proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return e.Message.getField(this,36)!=null},proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return e.Message.getFieldWithDefault(this,37,"")},proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(t){return e.Message.setField(this,37,t)},proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return e.Message.setField(this,37,void 0)},proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return e.Message.getField(this,37)!=null},proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return e.Message.getFieldWithDefault(this,39,"")},proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(t){return e.Message.setField(this,39,t)},proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return e.Message.setField(this,39,void 0)},proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return e.Message.getField(this,39)!=null},proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return e.Message.getFieldWithDefault(this,40,"")},proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(t){return e.Message.setField(this,40,t)},proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return e.Message.setField(this,40,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return e.Message.getField(this,40)!=null},proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return e.Message.getFieldWithDefault(this,41,"")},proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(t){return e.Message.setField(this,41,t)},proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return e.Message.setField(this,41,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return e.Message.getField(this,41)!=null},proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return e.Message.getFieldWithDefault(this,44,"")},proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(t){return e.Message.setField(this,44,t)},proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return e.Message.setField(this,44,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return e.Message.getField(this,44)!=null},proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return e.Message.getFieldWithDefault(this,45,"")},proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(t){return e.Message.setField(this,45,t)},proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return e.Message.setField(this,45,void 0)},proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return e.Message.getField(this,45)!=null},proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.FileOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MessageOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MessageOptions.prototype.toObject=function(t){return proto.google.protobuf.MessageOptions.toObject(t,this)},proto.google.protobuf.MessageOptions.toObject=function(t,i){var n,p={messageSetWireFormat:e.Message.getBooleanFieldWithDefault(i,1,!1),noStandardDescriptorAccessor:e.Message.getBooleanFieldWithDefault(i,2,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),mapEntry:(n=e.Message.getBooleanField(i,7))==null?void 0:n,uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.MessageOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MessageOptions;return proto.google.protobuf.MessageOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MessageOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readBool();t.setMessageSetWireFormat(p);break;case 2:var p=i.readBool();t.setNoStandardDescriptorAccessor(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 7:var p=i.readBool();t.setMapEntry(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension,proto.google.protobuf.MessageOptions.prototype.setExtension);break}}return t},proto.google.protobuf.MessageOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeBool(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=e.Message.getField(t,7),n!=null&&i.writeBool(7,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)},proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return e.Message.getBooleanFieldWithDefault(this,7,!1)},proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.MessageOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.FieldOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldOptions.prototype.toObject=function(t){return proto.google.protobuf.FieldOptions.toObject(t,this)},proto.google.protobuf.FieldOptions.toObject=function(t,i){var n,p={ctype:e.Message.getFieldWithDefault(i,1,0),packed:(n=e.Message.getBooleanField(i,2))==null?void 0:n,jstype:e.Message.getFieldWithDefault(i,6,0),lazy:e.Message.getBooleanFieldWithDefault(i,5,!1),unverifiedLazy:e.Message.getBooleanFieldWithDefault(i,15,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),weak:e.Message.getBooleanFieldWithDefault(i,10,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FieldOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FieldOptions;return proto.google.protobuf.FieldOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FieldOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readEnum();t.setCtype(p);break;case 2:var p=i.readBool();t.setPacked(p);break;case 6:var p=i.readEnum();t.setJstype(p);break;case 5:var p=i.readBool();t.setLazy(p);break;case 15:var p=i.readBool();t.setUnverifiedLazy(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 10:var p=i.readBool();t.setWeak(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension,proto.google.protobuf.FieldOptions.prototype.setExtension);break}}return t},proto.google.protobuf.FieldOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeEnum(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,6),n!=null&&i.writeEnum(6,n),n=e.Message.getField(t,5),n!=null&&i.writeBool(5,n),n=e.Message.getField(t,15),n!=null&&i.writeBool(15,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=e.Message.getField(t,10),n!=null&&i.writeBool(10,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension)},proto.google.protobuf.FieldOptions.CType={STRING:0,CORD:1,STRING_PIECE:2},proto.google.protobuf.FieldOptions.JSType={JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2},proto.google.protobuf.FieldOptions.prototype.getCtype=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.FieldOptions.prototype.setCtype=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.FieldOptions.prototype.setPacked=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return e.Message.getFieldWithDefault(this,6,0)},proto.google.protobuf.FieldOptions.prototype.setJstype=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return e.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.FieldOptions.prototype.setLazy=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.FieldOptions.prototype.getUnverifiedLazy=function(){return e.Message.getBooleanFieldWithDefault(this,15,!1)},proto.google.protobuf.FieldOptions.prototype.setUnverifiedLazy=function(t){return e.Message.setField(this,15,t)},proto.google.protobuf.FieldOptions.prototype.clearUnverifiedLazy=function(){return e.Message.setField(this,15,void 0)},proto.google.protobuf.FieldOptions.prototype.hasUnverifiedLazy=function(){return e.Message.getField(this,15)!=null},proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return e.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FieldOptions.prototype.setWeak=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.FieldOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.OneofOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofOptions.prototype.toObject=function(t){return proto.google.protobuf.OneofOptions.toObject(t,this)},proto.google.protobuf.OneofOptions.toObject=function(t,i){var n={uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.OneofOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.OneofOptions;return proto.google.protobuf.OneofOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.OneofOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension,proto.google.protobuf.OneofOptions.prototype.setExtension);break}}return t},proto.google.protobuf.OneofOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.OneofOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.OneofOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)},proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.OneofOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumOptions.toObject(t,this)},proto.google.protobuf.EnumOptions.toObject=function(t,i){var n,p={allowAlias:(n=e.Message.getBooleanField(i,2))==null?void 0:n,deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumOptions;return proto.google.protobuf.EnumOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 2:var p=i.readBool();t.setAllowAlias(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension,proto.google.protobuf.EnumOptions.prototype.setExtension);break}}return t},proto.google.protobuf.EnumOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)},proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.EnumOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumValueOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumValueOptions.toObject(t,this)},proto.google.protobuf.EnumValueOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,1,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.EnumValueOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumValueOptions;return proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension,proto.google.protobuf.EnumValueOptions.prototype.setExtension);break}}return t},proto.google.protobuf.EnumValueOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeBool(1,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)},proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.EnumValueOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.ServiceOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceOptions.prototype.toObject=function(t){return proto.google.protobuf.ServiceOptions.toObject(t,this)},proto.google.protobuf.ServiceOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,33,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ServiceOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ServiceOptions;return proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 33:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension,proto.google.protobuf.ServiceOptions.prototype.setExtension);break}}return t},proto.google.protobuf.ServiceOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,33),n!=null&&i.writeBool(33,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)},proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,33,t)},proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,33,void 0)},proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,33)!=null},proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.ServiceOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MethodOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodOptions.prototype.toObject=function(t){return proto.google.protobuf.MethodOptions.toObject(t,this)},proto.google.protobuf.MethodOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,33,!1),idempotencyLevel:e.Message.getFieldWithDefault(i,34,0),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.MethodOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MethodOptions;return proto.google.protobuf.MethodOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MethodOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 33:var p=i.readBool();t.setDeprecated(p);break;case 34:var p=i.readEnum();t.setIdempotencyLevel(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension,proto.google.protobuf.MethodOptions.prototype.setExtension);break}}return t},proto.google.protobuf.MethodOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,33),n!=null&&i.writeBool(33,n),n=e.Message.getField(t,34),n!=null&&i.writeEnum(34,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension)},proto.google.protobuf.MethodOptions.IdempotencyLevel={IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2},proto.google.protobuf.MethodOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,33,t)},proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,33,void 0)},proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,33)!=null},proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return e.Message.getFieldWithDefault(this,34,0)},proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(t){return e.Message.setField(this,34,t)},proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return e.Message.setField(this,34,void 0)},proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return e.Message.getField(this,34)!=null},proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.MethodOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.UninterpretedOption.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.toObject(t,this)},proto.google.protobuf.UninterpretedOption.toObject=function(t,i){var n,p={nameList:e.Message.toObjectList(i.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,t),identifierValue:(n=e.Message.getField(i,3))==null?void 0:n,positiveIntValue:(n=e.Message.getField(i,4))==null?void 0:n,negativeIntValue:(n=e.Message.getField(i,5))==null?void 0:n,doubleValue:(n=e.Message.getOptionalFloatingPointField(i,6))==null?void 0:n,stringValue:i.getStringValue_asB64(),aggregateValue:(n=e.Message.getField(i,8))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.UninterpretedOption.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.UninterpretedOption;return proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader(n,i)},proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 2:var p=new proto.google.protobuf.UninterpretedOption.NamePart;i.readMessage(p,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),t.addName(p);break;case 3:var p=i.readString();t.setIdentifierValue(p);break;case 4:var p=i.readUint64();t.setPositiveIntValue(p);break;case 5:var p=i.readInt64();t.setNegativeIntValue(p);break;case 6:var p=i.readDouble();t.setDoubleValue(p);break;case 7:var p=i.readBytes();t.setStringValue(p);break;case 8:var p=i.readString();t.setAggregateValue(p);break;default:i.skipField();break}}return t},proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getNameList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeUint64(4,n),n=e.Message.getField(t,5),n!=null&&i.writeInt64(5,n),n=e.Message.getField(t,6),n!=null&&i.writeDouble(6,n),n=e.Message.getField(t,7),n!=null&&i.writeBytes(7,n),n=e.Message.getField(t,8),n!=null&&i.writeString(8,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.NamePart.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.NamePart.toObject(t,this)},proto.google.protobuf.UninterpretedOption.NamePart.toObject=function(t,i){var n,p={namePart:(n=e.Message.getField(i,1))==null?void 0:n,isExtension:(n=e.Message.getBooleanField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.UninterpretedOption.NamePart;return proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader(n,i)},proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setNamePart(p);break;case 2:var p=i.readBool();t.setIsExtension(p);break;default:i.skipField();break}}return t},proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)},proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.UninterpretedOption.prototype.addName=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.UninterpretedOption.NamePart,i)},proto.google.protobuf.UninterpretedOption.prototype.clearNameList=function(){return this.setNameList([])},proto.google.protobuf.UninterpretedOption.prototype.getIdentifierValue=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return e.Message.getFieldWithDefault(this,5,0)},proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return e.Message.bytesAsB64(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return e.Message.bytesAsU8(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return e.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(t){return e.Message.setField(this,8,t)},proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return e.Message.setField(this,8,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.toObject=function(t,i){var n={locationList:e.Message.toObjectList(i.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.SourceCodeInfo;return proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader(n,i)},proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.SourceCodeInfo.Location;i.readMessage(p,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),t.addLocation(p);break;default:i.skipField();break}}return t},proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getLocationList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter)},proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_=[1,2,6],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.Location.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.Location.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.Location.toObject=function(t,i){var n,p={pathList:(n=e.Message.getRepeatedField(i,1))==null?void 0:n,spanList:(n=e.Message.getRepeatedField(i,2))==null?void 0:n,leadingComments:(n=e.Message.getField(i,3))==null?void 0:n,trailingComments:(n=e.Message.getField(i,4))==null?void 0:n,leadingDetachedCommentsList:(n=e.Message.getRepeatedField(i,6))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.SourceCodeInfo.Location;return proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader(n,i)},proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addPath(g[p]);break;case 2:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addSpan(g[p]);break;case 3:var l=i.readString();t.setLeadingComments(l);break;case 4:var l=i.readString();t.setTrailingComments(l);break;case 6:var l=i.readString();t.addLeadingDetachedComments(l);break;default:i.skipField();break}}return t},proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getPathList(),n.length>0&&i.writePackedInt32(1,n),n=t.getSpanList(),n.length>0&&i.writePackedInt32(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeString(4,n),n=t.getLeadingDetachedCommentsList(),n.length>0&&i.writeRepeatedString(6,n)},proto.google.protobuf.SourceCodeInfo.Location.prototype.getPathList=function(){return e.Message.getRepeatedField(this,1)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(t){return e.Message.setField(this,1,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(t,i){return e.Message.addToRepeatedField(this,1,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getSpanList=function(){return e.Message.getRepeatedField(this,2)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(t){return e.Message.setField(this,2,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(t,i){return e.Message.addToRepeatedField(this,2,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearSpanList=function(){return this.setSpanList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingComments=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return e.Message.getRepeatedField(this,6)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(t){return e.Message.setField(this,6,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(t,i){return e.Message.addToRepeatedField(this,6,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingDetachedCommentsList=function(){return this.setLeadingDetachedCommentsList([])},proto.google.protobuf.SourceCodeInfo.prototype.getLocationList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)},proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.SourceCodeInfo.Location,i)},proto.google.protobuf.SourceCodeInfo.prototype.clearLocationList=function(){return this.setLocationList([])},proto.google.protobuf.GeneratedCodeInfo.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.toObject=function(t,i){var n={annotationList:e.Message.toObjectList(i.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.GeneratedCodeInfo;return proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader(n,i)},proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.GeneratedCodeInfo.Annotation;i.readMessage(p,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),t.addAnnotation(p);break;default:i.skipField();break}}return t},proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getAnnotationList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter)},proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject=function(t,i){var n,p={pathList:(n=e.Message.getRepeatedField(i,1))==null?void 0:n,sourceFile:(n=e.Message.getField(i,2))==null?void 0:n,begin:(n=e.Message.getField(i,3))==null?void 0:n,end:(n=e.Message.getField(i,4))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.GeneratedCodeInfo.Annotation;return proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader(n,i)},proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:for(var p=i.isDelimited()?i.readPackedInt32():[i.readInt32()],g=0;g<p.length;g++)t.addPath(p[g]);break;case 2:var l=i.readString();t.setSourceFile(l);break;case 3:var l=i.readInt32();t.setBegin(l);break;case 4:var l=i.readInt32();t.setEnd(l);break;default:i.skipField();break}}return t},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getPathList(),n.length>0&&i.writePackedInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeInt32(3,n),n=e.Message.getField(t,4),n!=null&&i.writeInt32(4,n)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return e.Message.getRepeatedField(this,1)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(t){return e.Message.setField(this,1,t||[])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(t,i){return e.Message.addToRepeatedField(this,1,t,i)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSourceFile=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)},proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.GeneratedCodeInfo.Annotation,i)},proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])},r.object.extend(o,proto.google.protobuf)})(descriptor_pb),function(o){var e=googleProtobuf,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=descriptor_pb;r.object.extend(proto,t),r.exportSymbol("proto.viam.common.v1.ActuatorStatus",null,s),r.exportSymbol("proto.viam.common.v1.AnalogStatus",null,s),r.exportSymbol("proto.viam.common.v1.BoardStatus",null,s),r.exportSymbol("proto.viam.common.v1.Capsule",null,s),r.exportSymbol("proto.viam.common.v1.DigitalInterruptStatus",null,s),r.exportSymbol("proto.viam.common.v1.GeoPoint",null,s),r.exportSymbol("proto.viam.common.v1.GeometriesInFrame",null,s),r.exportSymbol("proto.viam.common.v1.Geometry",null,s),r.exportSymbol("proto.viam.common.v1.Geometry.GeometryTypeCase",null,s),r.exportSymbol("proto.viam.common.v1.Orientation",null,s),r.exportSymbol("proto.viam.common.v1.PointCloudObject",null,s),r.exportSymbol("proto.viam.common.v1.Pose",null,s),r.exportSymbol("proto.viam.common.v1.PoseInFrame",null,s),r.exportSymbol("proto.viam.common.v1.RectangularPrism",null,s),r.exportSymbol("proto.viam.common.v1.ResourceName",null,s),r.exportSymbol("proto.viam.common.v1.Sphere",null,s),r.exportSymbol("proto.viam.common.v1.Transform",null,s),r.exportSymbol("proto.viam.common.v1.Vector3",null,s),r.exportSymbol("proto.viam.common.v1.WorldState",null,s),r.exportSymbol("proto.viam.common.v1.safetyHeartbeatMonitored",null,s),proto.viam.common.v1.ResourceName=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.ResourceName,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.ResourceName.displayName="proto.viam.common.v1.ResourceName"),proto.viam.common.v1.BoardStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.BoardStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.BoardStatus.displayName="proto.viam.common.v1.BoardStatus"),proto.viam.common.v1.AnalogStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.AnalogStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.AnalogStatus.displayName="proto.viam.common.v1.AnalogStatus"),proto.viam.common.v1.DigitalInterruptStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.DigitalInterruptStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.DigitalInterruptStatus.displayName="proto.viam.common.v1.DigitalInterruptStatus"),proto.viam.common.v1.Pose=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Pose,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Pose.displayName="proto.viam.common.v1.Pose"),proto.viam.common.v1.Orientation=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Orientation,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Orientation.displayName="proto.viam.common.v1.Orientation"),proto.viam.common.v1.PoseInFrame=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.PoseInFrame,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.PoseInFrame.displayName="proto.viam.common.v1.PoseInFrame"),proto.viam.common.v1.Vector3=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Vector3,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Vector3.displayName="proto.viam.common.v1.Vector3"),proto.viam.common.v1.Sphere=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Sphere,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Sphere.displayName="proto.viam.common.v1.Sphere"),proto.viam.common.v1.Capsule=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Capsule,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Capsule.displayName="proto.viam.common.v1.Capsule"),proto.viam.common.v1.RectangularPrism=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.RectangularPrism,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.RectangularPrism.displayName="proto.viam.common.v1.RectangularPrism"),proto.viam.common.v1.Geometry=function(i){e.Message.initialize(this,i,0,-1,null,proto.viam.common.v1.Geometry.oneofGroups_)},r.inherits(proto.viam.common.v1.Geometry,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Geometry.displayName="proto.viam.common.v1.Geometry"),proto.viam.common.v1.GeometriesInFrame=function(i){e.Message.initialize(this,i,0,-1,proto.viam.common.v1.GeometriesInFrame.repeatedFields_,null)},r.inherits(proto.viam.common.v1.GeometriesInFrame,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.GeometriesInFrame.displayName="proto.viam.common.v1.GeometriesInFrame"),proto.viam.common.v1.PointCloudObject=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.PointCloudObject,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.PointCloudObject.displayName="proto.viam.common.v1.PointCloudObject"),proto.viam.common.v1.GeoPoint=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.GeoPoint,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.GeoPoint.displayName="proto.viam.common.v1.GeoPoint"),proto.viam.common.v1.Transform=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Transform,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Transform.displayName="proto.viam.common.v1.Transform"),proto.viam.common.v1.WorldState=function(i){e.Message.initialize(this,i,0,-1,proto.viam.common.v1.WorldState.repeatedFields_,null)},r.inherits(proto.viam.common.v1.WorldState,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.WorldState.displayName="proto.viam.common.v1.WorldState"),proto.viam.common.v1.ActuatorStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.ActuatorStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.ActuatorStatus.displayName="proto.viam.common.v1.ActuatorStatus"),e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.ResourceName.prototype.toObject=function(i){return proto.viam.common.v1.ResourceName.toObject(i,this)},proto.viam.common.v1.ResourceName.toObject=function(i,n){var p={namespace:e.Message.getFieldWithDefault(n,1,""),type:e.Message.getFieldWithDefault(n,2,""),subtype:e.Message.getFieldWithDefault(n,3,""),name:e.Message.getFieldWithDefault(n,4,"")};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.ResourceName.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.ResourceName;return proto.viam.common.v1.ResourceName.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.ResourceName.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setNamespace(g);break;case 2:var g=n.readString();i.setType(g);break;case 3:var g=n.readString();i.setSubtype(g);break;case 4:var g=n.readString();i.setName(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.ResourceName.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.ResourceName.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.ResourceName.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getNamespace(),p.length>0&&n.writeString(1,p),p=i.getType(),p.length>0&&n.writeString(2,p),p=i.getSubtype(),p.length>0&&n.writeString(3,p),p=i.getName(),p.length>0&&n.writeString(4,p)},proto.viam.common.v1.ResourceName.prototype.getNamespace=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.ResourceName.prototype.setNamespace=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.ResourceName.prototype.getType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.common.v1.ResourceName.prototype.setType=function(i){return e.Message.setProto3StringField(this,2,i)},proto.viam.common.v1.ResourceName.prototype.getSubtype=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.common.v1.ResourceName.prototype.setSubtype=function(i){return e.Message.setProto3StringField(this,3,i)},proto.viam.common.v1.ResourceName.prototype.getName=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.common.v1.ResourceName.prototype.setName=function(i){return e.Message.setProto3StringField(this,4,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.BoardStatus.prototype.toObject=function(i){return proto.viam.common.v1.BoardStatus.toObject(i,this)},proto.viam.common.v1.BoardStatus.toObject=function(i,n){var p,g={analogsMap:(p=n.getAnalogsMap())?p.toObject(i,proto.viam.common.v1.AnalogStatus.toObject):[],digitalInterruptsMap:(p=n.getDigitalInterruptsMap())?p.toObject(i,proto.viam.common.v1.DigitalInterruptStatus.toObject):[]};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.BoardStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.BoardStatus;return proto.viam.common.v1.BoardStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.BoardStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=i.getAnalogsMap();n.readMessage(g,function(l,u){e.Map.deserializeBinary(l,u,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader,"",new proto.viam.common.v1.AnalogStatus)});break;case 2:var g=i.getDigitalInterruptsMap();n.readMessage(g,function(l,u){e.Map.deserializeBinary(l,u,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader,"",new proto.viam.common.v1.DigitalInterruptStatus)});break;default:n.skipField();break}}return i},proto.viam.common.v1.BoardStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.BoardStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.BoardStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getAnalogsMap(!0),p&&p.getLength()>0&&p.serializeBinary(1,n,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter),p=i.getDigitalInterruptsMap(!0),p&&p.getLength()>0&&p.serializeBinary(2,n,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter)},proto.viam.common.v1.BoardStatus.prototype.getAnalogsMap=function(i){return e.Message.getMapField(this,1,i,proto.viam.common.v1.AnalogStatus)},proto.viam.common.v1.BoardStatus.prototype.clearAnalogsMap=function(){return this.getAnalogsMap().clear(),this},proto.viam.common.v1.BoardStatus.prototype.getDigitalInterruptsMap=function(i){return e.Message.getMapField(this,2,i,proto.viam.common.v1.DigitalInterruptStatus)},proto.viam.common.v1.BoardStatus.prototype.clearDigitalInterruptsMap=function(){return this.getDigitalInterruptsMap().clear(),this},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.AnalogStatus.prototype.toObject=function(i){return proto.viam.common.v1.AnalogStatus.toObject(i,this)},proto.viam.common.v1.AnalogStatus.toObject=function(i,n){var p={value:e.Message.getFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.AnalogStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.AnalogStatus;return proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readInt32();i.setValue(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.AnalogStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getValue(),p!==0&&n.writeInt32(1,p)},proto.viam.common.v1.AnalogStatus.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.common.v1.AnalogStatus.prototype.setValue=function(i){return e.Message.setProto3IntField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.DigitalInterruptStatus.prototype.toObject=function(i){return proto.viam.common.v1.DigitalInterruptStatus.toObject(i,this)},proto.viam.common.v1.DigitalInterruptStatus.toObject=function(i,n){var p={value:e.Message.getFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.DigitalInterruptStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.DigitalInterruptStatus;return proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readInt64();i.setValue(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.DigitalInterruptStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getValue(),p!==0&&n.writeInt64(1,p)},proto.viam.common.v1.DigitalInterruptStatus.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.common.v1.DigitalInterruptStatus.prototype.setValue=function(i){return e.Message.setProto3IntField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Pose.prototype.toObject=function(i){return proto.viam.common.v1.Pose.toObject(i,this)},proto.viam.common.v1.Pose.toObject=function(i,n){var p={x:e.Message.getFloatingPointFieldWithDefault(n,1,0),y:e.Message.getFloatingPointFieldWithDefault(n,2,0),z:e.Message.getFloatingPointFieldWithDefault(n,3,0),oX:e.Message.getFloatingPointFieldWithDefault(n,4,0),oY:e.Message.getFloatingPointFieldWithDefault(n,5,0),oZ:e.Message.getFloatingPointFieldWithDefault(n,6,0),theta:e.Message.getFloatingPointFieldWithDefault(n,7,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Pose.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Pose;return proto.viam.common.v1.Pose.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Pose.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setX(g);break;case 2:var g=n.readDouble();i.setY(g);break;case 3:var g=n.readDouble();i.setZ(g);break;case 4:var g=n.readDouble();i.setOX(g);break;case 5:var g=n.readDouble();i.setOY(g);break;case 6:var g=n.readDouble();i.setOZ(g);break;case 7:var g=n.readDouble();i.setTheta(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Pose.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Pose.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Pose.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getX(),p!==0&&n.writeDouble(1,p),p=i.getY(),p!==0&&n.writeDouble(2,p),p=i.getZ(),p!==0&&n.writeDouble(3,p),p=i.getOX(),p!==0&&n.writeDouble(4,p),p=i.getOY(),p!==0&&n.writeDouble(5,p),p=i.getOZ(),p!==0&&n.writeDouble(6,p),p=i.getTheta(),p!==0&&n.writeDouble(7,p)},proto.viam.common.v1.Pose.prototype.getX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Pose.prototype.setX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Pose.prototype.getY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Pose.prototype.setY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Pose.prototype.getZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Pose.prototype.setZ=function(i){return e.Message.setProto3FloatField(this,3,i)},proto.viam.common.v1.Pose.prototype.getOX=function(){return e.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.viam.common.v1.Pose.prototype.setOX=function(i){return e.Message.setProto3FloatField(this,4,i)},proto.viam.common.v1.Pose.prototype.getOY=function(){return e.Message.getFloatingPointFieldWithDefault(this,5,0)},proto.viam.common.v1.Pose.prototype.setOY=function(i){return e.Message.setProto3FloatField(this,5,i)},proto.viam.common.v1.Pose.prototype.getOZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.viam.common.v1.Pose.prototype.setOZ=function(i){return e.Message.setProto3FloatField(this,6,i)},proto.viam.common.v1.Pose.prototype.getTheta=function(){return e.Message.getFloatingPointFieldWithDefault(this,7,0)},proto.viam.common.v1.Pose.prototype.setTheta=function(i){return e.Message.setProto3FloatField(this,7,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Orientation.prototype.toObject=function(i){return proto.viam.common.v1.Orientation.toObject(i,this)},proto.viam.common.v1.Orientation.toObject=function(i,n){var p={oX:e.Message.getFloatingPointFieldWithDefault(n,1,0),oY:e.Message.getFloatingPointFieldWithDefault(n,2,0),oZ:e.Message.getFloatingPointFieldWithDefault(n,3,0),theta:e.Message.getFloatingPointFieldWithDefault(n,4,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Orientation.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Orientation;return proto.viam.common.v1.Orientation.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Orientation.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setOX(g);break;case 2:var g=n.readDouble();i.setOY(g);break;case 3:var g=n.readDouble();i.setOZ(g);break;case 4:var g=n.readDouble();i.setTheta(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Orientation.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Orientation.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Orientation.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getOX(),p!==0&&n.writeDouble(1,p),p=i.getOY(),p!==0&&n.writeDouble(2,p),p=i.getOZ(),p!==0&&n.writeDouble(3,p),p=i.getTheta(),p!==0&&n.writeDouble(4,p)},proto.viam.common.v1.Orientation.prototype.getOX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Orientation.prototype.setOX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Orientation.prototype.getOY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Orientation.prototype.setOY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Orientation.prototype.getOZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Orientation.prototype.setOZ=function(i){return e.Message.setProto3FloatField(this,3,i)},proto.viam.common.v1.Orientation.prototype.getTheta=function(){return e.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.viam.common.v1.Orientation.prototype.setTheta=function(i){return e.Message.setProto3FloatField(this,4,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.PoseInFrame.prototype.toObject=function(i){return proto.viam.common.v1.PoseInFrame.toObject(i,this)},proto.viam.common.v1.PoseInFrame.toObject=function(i,n){var p,g={referenceFrame:e.Message.getFieldWithDefault(n,1,""),pose:(p=n.getPose())&&proto.viam.common.v1.Pose.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.PoseInFrame.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.PoseInFrame;return proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.Pose;n.readMessage(g,proto.viam.common.v1.Pose.deserializeBinaryFromReader),i.setPose(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.PoseInFrame.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getPose(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.Pose.serializeBinaryToWriter)},proto.viam.common.v1.PoseInFrame.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.PoseInFrame.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.PoseInFrame.prototype.getPose=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Pose,2)},proto.viam.common.v1.PoseInFrame.prototype.setPose=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.PoseInFrame.prototype.clearPose=function(){return this.setPose(void 0)},proto.viam.common.v1.PoseInFrame.prototype.hasPose=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Vector3.prototype.toObject=function(i){return proto.viam.common.v1.Vector3.toObject(i,this)},proto.viam.common.v1.Vector3.toObject=function(i,n){var p={x:e.Message.getFloatingPointFieldWithDefault(n,1,0),y:e.Message.getFloatingPointFieldWithDefault(n,2,0),z:e.Message.getFloatingPointFieldWithDefault(n,3,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Vector3.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Vector3;return proto.viam.common.v1.Vector3.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Vector3.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setX(g);break;case 2:var g=n.readDouble();i.setY(g);break;case 3:var g=n.readDouble();i.setZ(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Vector3.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Vector3.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Vector3.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getX(),p!==0&&n.writeDouble(1,p),p=i.getY(),p!==0&&n.writeDouble(2,p),p=i.getZ(),p!==0&&n.writeDouble(3,p)},proto.viam.common.v1.Vector3.prototype.getX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Vector3.prototype.setX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Vector3.prototype.getY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Vector3.prototype.setY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Vector3.prototype.getZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Vector3.prototype.setZ=function(i){return e.Message.setProto3FloatField(this,3,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Sphere.prototype.toObject=function(i){return proto.viam.common.v1.Sphere.toObject(i,this)},proto.viam.common.v1.Sphere.toObject=function(i,n){var p={radiusMm:e.Message.getFloatingPointFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Sphere.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Sphere;return proto.viam.common.v1.Sphere.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Sphere.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setRadiusMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Sphere.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Sphere.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Sphere.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getRadiusMm(),p!==0&&n.writeDouble(1,p)},proto.viam.common.v1.Sphere.prototype.getRadiusMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Sphere.prototype.setRadiusMm=function(i){return e.Message.setProto3FloatField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Capsule.prototype.toObject=function(i){return proto.viam.common.v1.Capsule.toObject(i,this)},proto.viam.common.v1.Capsule.toObject=function(i,n){var p={radiusMm:e.Message.getFloatingPointFieldWithDefault(n,1,0),lengthMm:e.Message.getFloatingPointFieldWithDefault(n,2,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Capsule.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Capsule;return proto.viam.common.v1.Capsule.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Capsule.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setRadiusMm(g);break;case 2:var g=n.readDouble();i.setLengthMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Capsule.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Capsule.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Capsule.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getRadiusMm(),p!==0&&n.writeDouble(1,p),p=i.getLengthMm(),p!==0&&n.writeDouble(2,p)},proto.viam.common.v1.Capsule.prototype.getRadiusMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Capsule.prototype.setRadiusMm=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Capsule.prototype.getLengthMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Capsule.prototype.setLengthMm=function(i){return e.Message.setProto3FloatField(this,2,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.RectangularPrism.prototype.toObject=function(i){return proto.viam.common.v1.RectangularPrism.toObject(i,this)},proto.viam.common.v1.RectangularPrism.toObject=function(i,n){var p,g={dimsMm:(p=n.getDimsMm())&&proto.viam.common.v1.Vector3.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.RectangularPrism.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.RectangularPrism;return proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.Vector3;n.readMessage(g,proto.viam.common.v1.Vector3.deserializeBinaryFromReader),i.setDimsMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.RectangularPrism.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getDimsMm(),p!=null&&n.writeMessage(1,p,proto.viam.common.v1.Vector3.serializeBinaryToWriter)},proto.viam.common.v1.RectangularPrism.prototype.getDimsMm=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Vector3,1)},proto.viam.common.v1.RectangularPrism.prototype.setDimsMm=function(i){return e.Message.setWrapperField(this,1,i)},proto.viam.common.v1.RectangularPrism.prototype.clearDimsMm=function(){return this.setDimsMm(void 0)},proto.viam.common.v1.RectangularPrism.prototype.hasDimsMm=function(){return e.Message.getField(this,1)!=null},proto.viam.common.v1.Geometry.oneofGroups_=[[2,3,5]],proto.viam.common.v1.Geometry.GeometryTypeCase={GEOMETRY_TYPE_NOT_SET:0,SPHERE:2,BOX:3,CAPSULE:5},proto.viam.common.v1.Geometry.prototype.getGeometryTypeCase=function(){return e.Message.computeOneofCase(this,proto.viam.common.v1.Geometry.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Geometry.prototype.toObject=function(i){return proto.viam.common.v1.Geometry.toObject(i,this)},proto.viam.common.v1.Geometry.toObject=function(i,n){var p,g={center:(p=n.getCenter())&&proto.viam.common.v1.Pose.toObject(i,p),sphere:(p=n.getSphere())&&proto.viam.common.v1.Sphere.toObject(i,p),box:(p=n.getBox())&&proto.viam.common.v1.RectangularPrism.toObject(i,p),capsule:(p=n.getCapsule())&&proto.viam.common.v1.Capsule.toObject(i,p),label:e.Message.getFieldWithDefault(n,4,"")};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.Geometry.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Geometry;return proto.viam.common.v1.Geometry.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Geometry.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.Pose;n.readMessage(g,proto.viam.common.v1.Pose.deserializeBinaryFromReader),i.setCenter(g);break;case 2:var g=new proto.viam.common.v1.Sphere;n.readMessage(g,proto.viam.common.v1.Sphere.deserializeBinaryFromReader),i.setSphere(g);break;case 3:var g=new proto.viam.common.v1.RectangularPrism;n.readMessage(g,proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader),i.setBox(g);break;case 5:var g=new proto.viam.common.v1.Capsule;n.readMessage(g,proto.viam.common.v1.Capsule.deserializeBinaryFromReader),i.setCapsule(g);break;case 4:var g=n.readString();i.setLabel(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Geometry.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Geometry.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Geometry.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getCenter(),p!=null&&n.writeMessage(1,p,proto.viam.common.v1.Pose.serializeBinaryToWriter),p=i.getSphere(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.Sphere.serializeBinaryToWriter),p=i.getBox(),p!=null&&n.writeMessage(3,p,proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter),p=i.getCapsule(),p!=null&&n.writeMessage(5,p,proto.viam.common.v1.Capsule.serializeBinaryToWriter),p=i.getLabel(),p.length>0&&n.writeString(4,p)},proto.viam.common.v1.Geometry.prototype.getCenter=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Pose,1)},proto.viam.common.v1.Geometry.prototype.setCenter=function(i){return e.Message.setWrapperField(this,1,i)},proto.viam.common.v1.Geometry.prototype.clearCenter=function(){return this.setCenter(void 0)},proto.viam.common.v1.Geometry.prototype.hasCenter=function(){return e.Message.getField(this,1)!=null},proto.viam.common.v1.Geometry.prototype.getSphere=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Sphere,2)},proto.viam.common.v1.Geometry.prototype.setSphere=function(i){return e.Message.setOneofWrapperField(this,2,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearSphere=function(){return this.setSphere(void 0)},proto.viam.common.v1.Geometry.prototype.hasSphere=function(){return e.Message.getField(this,2)!=null},proto.viam.common.v1.Geometry.prototype.getBox=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.RectangularPrism,3)},proto.viam.common.v1.Geometry.prototype.setBox=function(i){return e.Message.setOneofWrapperField(this,3,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearBox=function(){return this.setBox(void 0)},proto.viam.common.v1.Geometry.prototype.hasBox=function(){return e.Message.getField(this,3)!=null},proto.viam.common.v1.Geometry.prototype.getCapsule=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Capsule,5)},proto.viam.common.v1.Geometry.prototype.setCapsule=function(i){return e.Message.setOneofWrapperField(this,5,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearCapsule=function(){return this.setCapsule(void 0)},proto.viam.common.v1.Geometry.prototype.hasCapsule=function(){return e.Message.getField(this,5)!=null},proto.viam.common.v1.Geometry.prototype.getLabel=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.common.v1.Geometry.prototype.setLabel=function(i){return e.Message.setProto3StringField(this,4,i)},proto.viam.common.v1.GeometriesInFrame.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.GeometriesInFrame.prototype.toObject=function(i){return proto.viam.common.v1.GeometriesInFrame.toObject(i,this)},proto.viam.common.v1.GeometriesInFrame.toObject=function(i,n){var p={referenceFrame:e.Message.getFieldWithDefault(n,1,""),geometriesList:e.Message.toObjectList(n.getGeometriesList(),proto.viam.common.v1.Geometry.toObject,i)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.GeometriesInFrame.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.GeometriesInFrame;return proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.Geometry;n.readMessage(g,proto.viam.common.v1.Geometry.deserializeBinaryFromReader),i.addGeometries(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.GeometriesInFrame.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getGeometriesList(),p.length>0&&n.writeRepeatedMessage(2,p,proto.viam.common.v1.Geometry.serializeBinaryToWriter)},proto.viam.common.v1.GeometriesInFrame.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.GeometriesInFrame.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.GeometriesInFrame.prototype.getGeometriesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.Geometry,2)},proto.viam.common.v1.GeometriesInFrame.prototype.setGeometriesList=function(i){return e.Message.setRepeatedWrapperField(this,2,i)},proto.viam.common.v1.GeometriesInFrame.prototype.addGeometries=function(i,n){return e.Message.addToRepeatedWrapperField(this,2,i,proto.viam.common.v1.Geometry,n)},proto.viam.common.v1.GeometriesInFrame.prototype.clearGeometriesList=function(){return this.setGeometriesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.PointCloudObject.prototype.toObject=function(i){return proto.viam.common.v1.PointCloudObject.toObject(i,this)},proto.viam.common.v1.PointCloudObject.toObject=function(i,n){var p,g={pointCloud:n.getPointCloud_asB64(),geometries:(p=n.getGeometries())&&proto.viam.common.v1.GeometriesInFrame.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.PointCloudObject.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.PointCloudObject;return proto.viam.common.v1.PointCloudObject.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.PointCloudObject.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readBytes();i.setPointCloud(g);break;case 2:var g=new proto.viam.common.v1.GeometriesInFrame;n.readMessage(g,proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader),i.setGeometries(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.PointCloudObject.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.PointCloudObject.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.PointCloudObject.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getPointCloud_asU8(),p.length>0&&n.writeBytes(1,p),p=i.getGeometries(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter)},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud_asB64=function(){return e.Message.bytesAsB64(this.getPointCloud())},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud_asU8=function(){return e.Message.bytesAsU8(this.getPointCloud())},proto.viam.common.v1.PointCloudObject.prototype.setPointCloud=function(i){return e.Message.setProto3BytesField(this,1,i)},proto.viam.common.v1.PointCloudObject.prototype.getGeometries=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.GeometriesInFrame,2)},proto.viam.common.v1.PointCloudObject.prototype.setGeometries=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.PointCloudObject.prototype.clearGeometries=function(){return this.setGeometries(void 0)},proto.viam.common.v1.PointCloudObject.prototype.hasGeometries=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.GeoPoint.prototype.toObject=function(i){return proto.viam.common.v1.GeoPoint.toObject(i,this)},proto.viam.common.v1.GeoPoint.toObject=function(i,n){var p={latitude:e.Message.getFloatingPointFieldWithDefault(n,1,0),longitude:e.Message.getFloatingPointFieldWithDefault(n,2,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.GeoPoint.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.GeoPoint;return proto.viam.common.v1.GeoPoint.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.GeoPoint.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setLatitude(g);break;case 2:var g=n.readDouble();i.setLongitude(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.GeoPoint.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.GeoPoint.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.GeoPoint.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getLatitude(),p!==0&&n.writeDouble(1,p),p=i.getLongitude(),p!==0&&n.writeDouble(2,p)},proto.viam.common.v1.GeoPoint.prototype.getLatitude=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.GeoPoint.prototype.setLatitude=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.GeoPoint.prototype.getLongitude=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.GeoPoint.prototype.setLongitude=function(i){return e.Message.setProto3FloatField(this,2,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Transform.prototype.toObject=function(i){return proto.viam.common.v1.Transform.toObject(i,this)},proto.viam.common.v1.Transform.toObject=function(i,n){var p,g={referenceFrame:e.Message.getFieldWithDefault(n,1,""),poseInObserverFrame:(p=n.getPoseInObserverFrame())&&proto.viam.common.v1.PoseInFrame.toObject(i,p),physicalObject:(p=n.getPhysicalObject())&&proto.viam.common.v1.Geometry.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.Transform.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Transform;return proto.viam.common.v1.Transform.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Transform.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.PoseInFrame;n.readMessage(g,proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader),i.setPoseInObserverFrame(g);break;case 3:var g=new proto.viam.common.v1.Geometry;n.readMessage(g,proto.viam.common.v1.Geometry.deserializeBinaryFromReader),i.setPhysicalObject(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Transform.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Transform.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Transform.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getPoseInObserverFrame(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter),p=i.getPhysicalObject(),p!=null&&n.writeMessage(3,p,proto.viam.common.v1.Geometry.serializeBinaryToWriter)},proto.viam.common.v1.Transform.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.Transform.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.Transform.prototype.getPoseInObserverFrame=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.PoseInFrame,2)},proto.viam.common.v1.Transform.prototype.setPoseInObserverFrame=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.Transform.prototype.clearPoseInObserverFrame=function(){return this.setPoseInObserverFrame(void 0)},proto.viam.common.v1.Transform.prototype.hasPoseInObserverFrame=function(){return e.Message.getField(this,2)!=null},proto.viam.common.v1.Transform.prototype.getPhysicalObject=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Geometry,3)},proto.viam.common.v1.Transform.prototype.setPhysicalObject=function(i){return e.Message.setWrapperField(this,3,i)},proto.viam.common.v1.Transform.prototype.clearPhysicalObject=function(){return this.setPhysicalObject(void 0)},proto.viam.common.v1.Transform.prototype.hasPhysicalObject=function(){return e.Message.getField(this,3)!=null},proto.viam.common.v1.WorldState.repeatedFields_=[1,3],e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.WorldState.prototype.toObject=function(i){return proto.viam.common.v1.WorldState.toObject(i,this)},proto.viam.common.v1.WorldState.toObject=function(i,n){var p={obstaclesList:e.Message.toObjectList(n.getObstaclesList(),proto.viam.common.v1.GeometriesInFrame.toObject,i),transformsList:e.Message.toObjectList(n.getTransformsList(),proto.viam.common.v1.Transform.toObject,i)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.WorldState.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.WorldState;return proto.viam.common.v1.WorldState.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.WorldState.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.GeometriesInFrame;n.readMessage(g,proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader),i.addObstacles(g);break;case 3:var g=new proto.viam.common.v1.Transform;n.readMessage(g,proto.viam.common.v1.Transform.deserializeBinaryFromReader),i.addTransforms(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.WorldState.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.WorldState.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.WorldState.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getObstaclesList(),p.length>0&&n.writeRepeatedMessage(1,p,proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter),p=i.getTransformsList(),p.length>0&&n.writeRepeatedMessage(3,p,proto.viam.common.v1.Transform.serializeBinaryToWriter)},proto.viam.common.v1.WorldState.prototype.getObstaclesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.GeometriesInFrame,1)},proto.viam.common.v1.WorldState.prototype.setObstaclesList=function(i){return e.Message.setRepeatedWrapperField(this,1,i)},proto.viam.common.v1.WorldState.prototype.addObstacles=function(i,n){return e.Message.addToRepeatedWrapperField(this,1,i,proto.viam.common.v1.GeometriesInFrame,n)},proto.viam.common.v1.WorldState.prototype.clearObstaclesList=function(){return this.setObstaclesList([])},proto.viam.common.v1.WorldState.prototype.getTransformsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.Transform,3)},proto.viam.common.v1.WorldState.prototype.setTransformsList=function(i){return e.Message.setRepeatedWrapperField(this,3,i)},proto.viam.common.v1.WorldState.prototype.addTransforms=function(i,n){return e.Message.addToRepeatedWrapperField(this,3,i,proto.viam.common.v1.Transform,n)},proto.viam.common.v1.WorldState.prototype.clearTransformsList=function(){return this.setTransformsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.ActuatorStatus.prototype.toObject=function(i){return proto.viam.common.v1.ActuatorStatus.toObject(i,this)},proto.viam.common.v1.ActuatorStatus.toObject=function(i,n){var p={isMoving:e.Message.getBooleanFieldWithDefault(n,1,!1)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.ActuatorStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.ActuatorStatus;return proto.viam.common.v1.ActuatorStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.ActuatorStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readBool();i.setIsMoving(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.ActuatorStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.ActuatorStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.ActuatorStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getIsMoving(),p&&n.writeBool(1,p)},proto.viam.common.v1.ActuatorStatus.prototype.getIsMoving=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.viam.common.v1.ActuatorStatus.prototype.setIsMoving=function(i){return e.Message.setProto3BooleanField(this,1,i)},proto.viam.common.v1.safetyHeartbeatMonitored=new e.ExtensionFieldInfo(84260,{safetyHeartbeatMonitored:0},null,null,0),t.MethodOptions.extensionsBinary[84260]=new e.ExtensionFieldBinaryInfo(proto.viam.common.v1.safetyHeartbeatMonitored,e.BinaryReader.prototype.readBool,e.BinaryWriter.prototype.writeBool,void 0,void 0,!1),t.MethodOptions.extensions[84260]=proto.viam.common.v1.safetyHeartbeatMonitored,r.object.extend(o,proto.viam.common.v1)}(common_pb);var annotations_pb={},http_pb={};(function(o){var e=googleProtobuf,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null);r.exportSymbol("proto.google.api.CustomHttpPattern",null,s),r.exportSymbol("proto.google.api.Http",null,s),r.exportSymbol("proto.google.api.HttpRule",null,s),r.exportSymbol("proto.google.api.HttpRule.PatternCase",null,s),proto.google.api.Http=function(t){e.Message.initialize(this,t,0,-1,proto.google.api.Http.repeatedFields_,null)},r.inherits(proto.google.api.Http,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.Http.displayName="proto.google.api.Http"),proto.google.api.HttpRule=function(t){e.Message.initialize(this,t,0,-1,proto.google.api.HttpRule.repeatedFields_,proto.google.api.HttpRule.oneofGroups_)},r.inherits(proto.google.api.HttpRule,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.HttpRule.displayName="proto.google.api.HttpRule"),proto.google.api.CustomHttpPattern=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.api.CustomHttpPattern,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.CustomHttpPattern.displayName="proto.google.api.CustomHttpPattern"),proto.google.api.Http.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.api.Http.prototype.toObject=function(t){return proto.google.api.Http.toObject(t,this)},proto.google.api.Http.toObject=function(t,i){var n={rulesList:e.Message.toObjectList(i.getRulesList(),proto.google.api.HttpRule.toObject,t),fullyDecodeReservedExpansion:e.Message.getBooleanFieldWithDefault(i,2,!1)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.api.Http.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.Http;return proto.google.api.Http.deserializeBinaryFromReader(n,i)},proto.google.api.Http.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.api.HttpRule;i.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),t.addRules(p);break;case 2:var p=i.readBool();t.setFullyDecodeReservedExpansion(p);break;default:i.skipField();break}}return t},proto.google.api.Http.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.Http.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.Http.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getRulesList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.api.HttpRule.serializeBinaryToWriter),n=t.getFullyDecodeReservedExpansion(),n&&i.writeBool(2,n)},proto.google.api.Http.prototype.getRulesList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,1)},proto.google.api.Http.prototype.setRulesList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.api.Http.prototype.addRules=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.api.HttpRule,i)},proto.google.api.Http.prototype.clearRulesList=function(){return this.setRulesList([])},proto.google.api.Http.prototype.getFullyDecodeReservedExpansion=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.api.Http.prototype.setFullyDecodeReservedExpansion=function(t){return e.Message.setProto3BooleanField(this,2,t)},proto.google.api.HttpRule.repeatedFields_=[11],proto.google.api.HttpRule.oneofGroups_=[[2,3,4,5,6,8]],proto.google.api.HttpRule.PatternCase={PATTERN_NOT_SET:0,GET:2,PUT:3,POST:4,DELETE:5,PATCH:6,CUSTOM:8},proto.google.api.HttpRule.prototype.getPatternCase=function(){return e.Message.computeOneofCase(this,proto.google.api.HttpRule.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.google.api.HttpRule.prototype.toObject=function(t){return proto.google.api.HttpRule.toObject(t,this)},proto.google.api.HttpRule.toObject=function(t,i){var n,p={selector:e.Message.getFieldWithDefault(i,1,""),get:e.Message.getFieldWithDefault(i,2,""),put:e.Message.getFieldWithDefault(i,3,""),post:e.Message.getFieldWithDefault(i,4,""),pb_delete:e.Message.getFieldWithDefault(i,5,""),patch:e.Message.getFieldWithDefault(i,6,""),custom:(n=i.getCustom())&&proto.google.api.CustomHttpPattern.toObject(t,n),body:e.Message.getFieldWithDefault(i,7,""),responseBody:e.Message.getFieldWithDefault(i,12,""),additionalBindingsList:e.Message.toObjectList(i.getAdditionalBindingsList(),proto.google.api.HttpRule.toObject,t)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.api.HttpRule.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.HttpRule;return proto.google.api.HttpRule.deserializeBinaryFromReader(n,i)},proto.google.api.HttpRule.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setSelector(p);break;case 2:var p=i.readString();t.setGet(p);break;case 3:var p=i.readString();t.setPut(p);break;case 4:var p=i.readString();t.setPost(p);break;case 5:var p=i.readString();t.setDelete(p);break;case 6:var p=i.readString();t.setPatch(p);break;case 8:var p=new proto.google.api.CustomHttpPattern;i.readMessage(p,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader),t.setCustom(p);break;case 7:var p=i.readString();t.setBody(p);break;case 12:var p=i.readString();t.setResponseBody(p);break;case 11:var p=new proto.google.api.HttpRule;i.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),t.addAdditionalBindings(p);break;default:i.skipField();break}}return t},proto.google.api.HttpRule.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.HttpRule.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.HttpRule.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getSelector(),n.length>0&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeString(4,n),n=e.Message.getField(t,5),n!=null&&i.writeString(5,n),n=e.Message.getField(t,6),n!=null&&i.writeString(6,n),n=t.getCustom(),n!=null&&i.writeMessage(8,n,proto.google.api.CustomHttpPattern.serializeBinaryToWriter),n=t.getBody(),n.length>0&&i.writeString(7,n),n=t.getResponseBody(),n.length>0&&i.writeString(12,n),n=t.getAdditionalBindingsList(),n.length>0&&i.writeRepeatedMessage(11,n,proto.google.api.HttpRule.serializeBinaryToWriter)},proto.google.api.HttpRule.prototype.getSelector=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.api.HttpRule.prototype.setSelector=function(t){return e.Message.setProto3StringField(this,1,t)},proto.google.api.HttpRule.prototype.getGet=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.api.HttpRule.prototype.setGet=function(t){return e.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearGet=function(){return e.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasGet=function(){return e.Message.getField(this,2)!=null},proto.google.api.HttpRule.prototype.getPut=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.api.HttpRule.prototype.setPut=function(t){return e.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPut=function(){return e.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPut=function(){return e.Message.getField(this,3)!=null},proto.google.api.HttpRule.prototype.getPost=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.google.api.HttpRule.prototype.setPost=function(t){return e.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPost=function(){return e.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPost=function(){return e.Message.getField(this,4)!=null},proto.google.api.HttpRule.prototype.getDelete=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.google.api.HttpRule.prototype.setDelete=function(t){return e.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearDelete=function(){return e.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasDelete=function(){return e.Message.getField(this,5)!=null},proto.google.api.HttpRule.prototype.getPatch=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.google.api.HttpRule.prototype.setPatch=function(t){return e.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPatch=function(){return e.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPatch=function(){return e.Message.getField(this,6)!=null},proto.google.api.HttpRule.prototype.getCustom=function(){return e.Message.getWrapperField(this,proto.google.api.CustomHttpPattern,8)},proto.google.api.HttpRule.prototype.setCustom=function(t){return e.Message.setOneofWrapperField(this,8,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearCustom=function(){return this.setCustom(void 0)},proto.google.api.HttpRule.prototype.hasCustom=function(){return e.Message.getField(this,8)!=null},proto.google.api.HttpRule.prototype.getBody=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.api.HttpRule.prototype.setBody=function(t){return e.Message.setProto3StringField(this,7,t)},proto.google.api.HttpRule.prototype.getResponseBody=function(){return e.Message.getFieldWithDefault(this,12,"")},proto.google.api.HttpRule.prototype.setResponseBody=function(t){return e.Message.setProto3StringField(this,12,t)},proto.google.api.HttpRule.prototype.getAdditionalBindingsList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,11)},proto.google.api.HttpRule.prototype.setAdditionalBindingsList=function(t){return e.Message.setRepeatedWrapperField(this,11,t)},proto.google.api.HttpRule.prototype.addAdditionalBindings=function(t,i){return e.Message.addToRepeatedWrapperField(this,11,t,proto.google.api.HttpRule,i)},proto.google.api.HttpRule.prototype.clearAdditionalBindingsList=function(){return this.setAdditionalBindingsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.api.CustomHttpPattern.prototype.toObject=function(t){return proto.google.api.CustomHttpPattern.toObject(t,this)},proto.google.api.CustomHttpPattern.toObject=function(t,i){var n={kind:e.Message.getFieldWithDefault(i,1,""),path:e.Message.getFieldWithDefault(i,2,"")};return t&&(n.$jspbMessageInstance=i),n}),proto.google.api.CustomHttpPattern.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.CustomHttpPattern;return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(n,i)},proto.google.api.CustomHttpPattern.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setKind(p);break;case 2:var p=i.readString();t.setPath(p);break;default:i.skipField();break}}return t},proto.google.api.CustomHttpPattern.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.CustomHttpPattern.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getKind(),n.length>0&&i.writeString(1,n),n=t.getPath(),n.length>0&&i.writeString(2,n)},proto.google.api.CustomHttpPattern.prototype.getKind=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.api.CustomHttpPattern.prototype.setKind=function(t){return e.Message.setProto3StringField(this,1,t)},proto.google.api.CustomHttpPattern.prototype.getPath=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.api.CustomHttpPattern.prototype.setPath=function(t){return e.Message.setProto3StringField(this,2,t)},r.object.extend(o,proto.google.api)})(http_pb),function(o){var e=googleProtobuf,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=http_pb;r.object.extend(proto,t);var i=descriptor_pb;r.object.extend(proto,i),r.exportSymbol("proto.google.api.http",null,s),proto.google.api.http=new e.ExtensionFieldInfo(72295728,{http:0},t.HttpRule,t.HttpRule.toObject,0),i.MethodOptions.extensionsBinary[72295728]=new e.ExtensionFieldBinaryInfo(proto.google.api.http,e.BinaryReader.prototype.readMessage,e.BinaryWriter.prototype.writeMessage,t.HttpRule.serializeBinaryToWriter,t.HttpRule.deserializeBinaryFromReader,!1),i.MethodOptions.extensions[72295728]=proto.google.api.http,r.object.extend(o,proto.google.api)}(annotations_pb);var struct_pb={};(function(o){var e=googleProtobuf,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.ListValue",null,s),r.exportSymbol("proto.google.protobuf.NullValue",null,s),r.exportSymbol("proto.google.protobuf.Struct",null,s),r.exportSymbol("proto.google.protobuf.Value",null,s),r.exportSymbol("proto.google.protobuf.Value.KindCase",null,s),proto.google.protobuf.Struct=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.Struct,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Struct.displayName="proto.google.protobuf.Struct"),proto.google.protobuf.Value=function(t){e.Message.initialize(this,t,0,-1,null,proto.google.protobuf.Value.oneofGroups_)},r.inherits(proto.google.protobuf.Value,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Value.displayName="proto.google.protobuf.Value"),proto.google.protobuf.ListValue=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.ListValue.repeatedFields_,null)},r.inherits(proto.google.protobuf.ListValue,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ListValue.displayName="proto.google.protobuf.ListValue"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Struct.prototype.toObject=function(t){return proto.google.protobuf.Struct.toObject(t,this)},proto.google.protobuf.Struct.toObject=function(t,i){var n,p={fieldsMap:(n=i.getFieldsMap())?n.toObject(t,proto.google.protobuf.Value.toObject):[]};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.Struct.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Struct;return proto.google.protobuf.Struct.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Struct.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=t.getFieldsMap();i.readMessage(p,function(g,l){e.Map.deserializeBinary(g,l,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.google.protobuf.Value.deserializeBinaryFromReader,"",new proto.google.protobuf.Value)});break;default:i.skipField();break}}return t},proto.google.protobuf.Struct.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Struct.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Struct.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getFieldsMap(!0),n&&n.getLength()>0&&n.serializeBinary(1,i,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.Struct.prototype.getFieldsMap=function(t){return e.Message.getMapField(this,1,t,proto.google.protobuf.Value)},proto.google.protobuf.Struct.prototype.clearFieldsMap=function(){return this.getFieldsMap().clear(),this},proto.google.protobuf.Value.oneofGroups_=[[1,2,3,4,5,6]],proto.google.protobuf.Value.KindCase={KIND_NOT_SET:0,NULL_VALUE:1,NUMBER_VALUE:2,STRING_VALUE:3,BOOL_VALUE:4,STRUCT_VALUE:5,LIST_VALUE:6},proto.google.protobuf.Value.prototype.getKindCase=function(){return e.Message.computeOneofCase(this,proto.google.protobuf.Value.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Value.prototype.toObject=function(t){return proto.google.protobuf.Value.toObject(t,this)},proto.google.protobuf.Value.toObject=function(t,i){var n,p={nullValue:e.Message.getFieldWithDefault(i,1,0),numberValue:e.Message.getFloatingPointFieldWithDefault(i,2,0),stringValue:e.Message.getFieldWithDefault(i,3,""),boolValue:e.Message.getBooleanFieldWithDefault(i,4,!1),structValue:(n=i.getStructValue())&&proto.google.protobuf.Struct.toObject(t,n),listValue:(n=i.getListValue())&&proto.google.protobuf.ListValue.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.Value.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Value;return proto.google.protobuf.Value.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Value.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readEnum();t.setNullValue(p);break;case 2:var p=i.readDouble();t.setNumberValue(p);break;case 3:var p=i.readString();t.setStringValue(p);break;case 4:var p=i.readBool();t.setBoolValue(p);break;case 5:var p=new proto.google.protobuf.Struct;i.readMessage(p,proto.google.protobuf.Struct.deserializeBinaryFromReader),t.setStructValue(p);break;case 6:var p=new proto.google.protobuf.ListValue;i.readMessage(p,proto.google.protobuf.ListValue.deserializeBinaryFromReader),t.setListValue(p);break;default:i.skipField();break}}return t},proto.google.protobuf.Value.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Value.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Value.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeEnum(1,n),n=e.Message.getField(t,2),n!=null&&i.writeDouble(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeBool(4,n),n=t.getStructValue(),n!=null&&i.writeMessage(5,n,proto.google.protobuf.Struct.serializeBinaryToWriter),n=t.getListValue(),n!=null&&i.writeMessage(6,n,proto.google.protobuf.ListValue.serializeBinaryToWriter)},proto.google.protobuf.Value.prototype.getNullValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Value.prototype.setNullValue=function(t){return e.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearNullValue=function(){return e.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNullValue=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.Value.prototype.getNumberValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.google.protobuf.Value.prototype.setNumberValue=function(t){return e.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearNumberValue=function(){return e.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNumberValue=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.Value.prototype.getStringValue=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.Value.prototype.setStringValue=function(t){return e.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearStringValue=function(){return e.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasStringValue=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.Value.prototype.getBoolValue=function(){return e.Message.getBooleanFieldWithDefault(this,4,!1)},proto.google.protobuf.Value.prototype.setBoolValue=function(t){return e.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearBoolValue=function(){return e.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasBoolValue=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.Value.prototype.getStructValue=function(){return e.Message.getWrapperField(this,proto.google.protobuf.Struct,5)},proto.google.protobuf.Value.prototype.setStructValue=function(t){return e.Message.setOneofWrapperField(this,5,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearStructValue=function(){return this.setStructValue(void 0)},proto.google.protobuf.Value.prototype.hasStructValue=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.Value.prototype.getListValue=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ListValue,6)},proto.google.protobuf.Value.prototype.setListValue=function(t){return e.Message.setOneofWrapperField(this,6,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearListValue=function(){return this.setListValue(void 0)},proto.google.protobuf.Value.prototype.hasListValue=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.ListValue.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ListValue.prototype.toObject=function(t){return proto.google.protobuf.ListValue.toObject(t,this)},proto.google.protobuf.ListValue.toObject=function(t,i){var n={valuesList:e.Message.toObjectList(i.getValuesList(),proto.google.protobuf.Value.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ListValue.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ListValue;return proto.google.protobuf.ListValue.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ListValue.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.Value;i.readMessage(p,proto.google.protobuf.Value.deserializeBinaryFromReader),t.addValues(p);break;default:i.skipField();break}}return t},proto.google.protobuf.ListValue.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ListValue.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ListValue.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getValuesList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.ListValue.prototype.getValuesList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.Value,1)},proto.google.protobuf.ListValue.prototype.setValuesList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.ListValue.prototype.addValues=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.Value,i)},proto.google.protobuf.ListValue.prototype.clearValuesList=function(){return this.setValuesList([])},proto.google.protobuf.NullValue={NULL_VALUE:0},r.object.extend(o,proto.google.protobuf),proto.google.protobuf.JavaScriptValue,proto.google.protobuf.Value.prototype.toJavaScript=function(){var t=proto.google.protobuf.Value.KindCase;switch(this.getKindCase()){case t.NULL_VALUE:return null;case t.NUMBER_VALUE:return this.getNumberValue();case t.STRING_VALUE:return this.getStringValue();case t.BOOL_VALUE:return this.getBoolValue();case t.STRUCT_VALUE:return this.getStructValue().toJavaScript();case t.LIST_VALUE:return this.getListValue().toJavaScript();default:throw new Error("Unexpected struct type")}},proto.google.protobuf.Value.fromJavaScript=function(t){var i=new proto.google.protobuf.Value;switch(r.typeOf(t)){case"string":i.setStringValue(t);break;case"number":i.setNumberValue(t);break;case"boolean":i.setBoolValue(t);break;case"null":i.setNullValue(proto.google.protobuf.NullValue.NULL_VALUE);break;case"array":i.setListValue(proto.google.protobuf.ListValue.fromJavaScript(t));break;case"object":i.setStructValue(proto.google.protobuf.Struct.fromJavaScript(t));break;default:throw new Error("Unexpected struct type.")}return i},proto.google.protobuf.ListValue.prototype.toJavaScript=function(){for(var t=[],i=this.getValuesList(),n=0;n<i.length;n++)t[n]=i[n].toJavaScript();return t},proto.google.protobuf.ListValue.fromJavaScript=function(t){for(var i=new proto.google.protobuf.ListValue,n=0;n<t.length;n++)i.addValues(proto.google.protobuf.Value.fromJavaScript(t[n]));return i},proto.google.protobuf.Struct.prototype.toJavaScript=function(){var t={};return this.getFieldsMap().forEach(function(i,n){t[n]=i.toJavaScript()}),t},proto.google.protobuf.Struct.fromJavaScript=function(t){var i=new proto.google.protobuf.Struct,n=i.getFieldsMap();for(var p in t){var g=t[p];n.set(p,proto.google.protobuf.Value.fromJavaScript(g))}return i}})(struct_pb),function(o){var e=googleProtobuf,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=common_pb;r.object.extend(proto,t);var i=annotations_pb;r.object.extend(proto,i);var n=struct_pb;r.object.extend(proto,n),r.exportSymbol("proto.viam.service.vision.v1.AddClassifierRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddClassifierResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddDetectorRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddDetectorResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddSegmenterRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddSegmenterResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.Classification",null,s),r.exportSymbol("proto.viam.service.vision.v1.Detection",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassificationsFromCameraRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassificationsFromCameraResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassificationsRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassificationsResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassifierNamesRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassifierNamesResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectionsFromCameraRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectionsFromCameraResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectionsRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectionsResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectorNamesRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectorNamesResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetModelParameterSchemaRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetModelParameterSchemaResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetObjectPointCloudsRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetObjectPointCloudsResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetSegmenterNamesRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetSegmenterNamesResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveClassifierRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveClassifierResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveDetectorRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveDetectorResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveSegmenterRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveSegmenterResponse",null,s),proto.viam.service.vision.v1.GetModelParameterSchemaRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetModelParameterSchemaRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetModelParameterSchemaRequest.displayName="proto.viam.service.vision.v1.GetModelParameterSchemaRequest"),proto.viam.service.vision.v1.GetModelParameterSchemaResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetModelParameterSchemaResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetModelParameterSchemaResponse.displayName="proto.viam.service.vision.v1.GetModelParameterSchemaResponse"),proto.viam.service.vision.v1.GetDetectorNamesRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetDetectorNamesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectorNamesRequest.displayName="proto.viam.service.vision.v1.GetDetectorNamesRequest"),proto.viam.service.vision.v1.GetDetectorNamesResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetDetectorNamesResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetDetectorNamesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectorNamesResponse.displayName="proto.viam.service.vision.v1.GetDetectorNamesResponse"),proto.viam.service.vision.v1.AddDetectorRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddDetectorRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddDetectorRequest.displayName="proto.viam.service.vision.v1.AddDetectorRequest"),proto.viam.service.vision.v1.AddDetectorResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddDetectorResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddDetectorResponse.displayName="proto.viam.service.vision.v1.AddDetectorResponse"),proto.viam.service.vision.v1.RemoveDetectorRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveDetectorRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveDetectorRequest.displayName="proto.viam.service.vision.v1.RemoveDetectorRequest"),proto.viam.service.vision.v1.RemoveDetectorResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveDetectorResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveDetectorResponse.displayName="proto.viam.service.vision.v1.RemoveDetectorResponse"),proto.viam.service.vision.v1.GetDetectionsRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetDetectionsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectionsRequest.displayName="proto.viam.service.vision.v1.GetDetectionsRequest"),proto.viam.service.vision.v1.GetDetectionsResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetDetectionsResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetDetectionsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectionsResponse.displayName="proto.viam.service.vision.v1.GetDetectionsResponse"),proto.viam.service.vision.v1.GetDetectionsFromCameraRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetDetectionsFromCameraRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.displayName="proto.viam.service.vision.v1.GetDetectionsFromCameraRequest"),proto.viam.service.vision.v1.GetDetectionsFromCameraResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetDetectionsFromCameraResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.displayName="proto.viam.service.vision.v1.GetDetectionsFromCameraResponse"),proto.viam.service.vision.v1.Detection=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.Detection,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.Detection.displayName="proto.viam.service.vision.v1.Detection"),proto.viam.service.vision.v1.GetClassifierNamesRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetClassifierNamesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassifierNamesRequest.displayName="proto.viam.service.vision.v1.GetClassifierNamesRequest"),proto.viam.service.vision.v1.GetClassifierNamesResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetClassifierNamesResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetClassifierNamesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassifierNamesResponse.displayName="proto.viam.service.vision.v1.GetClassifierNamesResponse"),proto.viam.service.vision.v1.AddClassifierRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddClassifierRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddClassifierRequest.displayName="proto.viam.service.vision.v1.AddClassifierRequest"),proto.viam.service.vision.v1.AddClassifierResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddClassifierResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddClassifierResponse.displayName="proto.viam.service.vision.v1.AddClassifierResponse"),proto.viam.service.vision.v1.RemoveClassifierRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveClassifierRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveClassifierRequest.displayName="proto.viam.service.vision.v1.RemoveClassifierRequest"),proto.viam.service.vision.v1.RemoveClassifierResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveClassifierResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveClassifierResponse.displayName="proto.viam.service.vision.v1.RemoveClassifierResponse"),proto.viam.service.vision.v1.GetClassificationsRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetClassificationsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassificationsRequest.displayName="proto.viam.service.vision.v1.GetClassificationsRequest"),proto.viam.service.vision.v1.GetClassificationsResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetClassificationsResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetClassificationsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassificationsResponse.displayName="proto.viam.service.vision.v1.GetClassificationsResponse"),proto.viam.service.vision.v1.GetClassificationsFromCameraRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetClassificationsFromCameraRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.displayName="proto.viam.service.vision.v1.GetClassificationsFromCameraRequest"),proto.viam.service.vision.v1.GetClassificationsFromCameraResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetClassificationsFromCameraResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.displayName="proto.viam.service.vision.v1.GetClassificationsFromCameraResponse"),proto.viam.service.vision.v1.Classification=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.Classification,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.Classification.displayName="proto.viam.service.vision.v1.Classification"),proto.viam.service.vision.v1.GetSegmenterNamesRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetSegmenterNamesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetSegmenterNamesRequest.displayName="proto.viam.service.vision.v1.GetSegmenterNamesRequest"),proto.viam.service.vision.v1.GetSegmenterNamesResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetSegmenterNamesResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetSegmenterNamesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetSegmenterNamesResponse.displayName="proto.viam.service.vision.v1.GetSegmenterNamesResponse"),proto.viam.service.vision.v1.AddSegmenterRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddSegmenterRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddSegmenterRequest.displayName="proto.viam.service.vision.v1.AddSegmenterRequest"),proto.viam.service.vision.v1.AddSegmenterResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddSegmenterResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddSegmenterResponse.displayName="proto.viam.service.vision.v1.AddSegmenterResponse"),proto.viam.service.vision.v1.RemoveSegmenterRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveSegmenterRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveSegmenterRequest.displayName="proto.viam.service.vision.v1.RemoveSegmenterRequest"),proto.viam.service.vision.v1.RemoveSegmenterResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveSegmenterResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveSegmenterResponse.displayName="proto.viam.service.vision.v1.RemoveSegmenterResponse"),proto.viam.service.vision.v1.GetObjectPointCloudsRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetObjectPointCloudsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetObjectPointCloudsRequest.displayName="proto.viam.service.vision.v1.GetObjectPointCloudsRequest"),proto.viam.service.vision.v1.GetObjectPointCloudsResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetObjectPointCloudsResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetObjectPointCloudsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetObjectPointCloudsResponse.displayName="proto.viam.service.vision.v1.GetObjectPointCloudsResponse"),e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetModelParameterSchemaRequest.toObject(p,this)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),modelType:e.Message.getFieldWithDefault(g,2,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetModelParameterSchemaRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetModelParameterSchemaRequest;return proto.viam.service.vision.v1.GetModelParameterSchemaRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setModelType(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetModelParameterSchemaRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getModelType(),l.length>0&&g.writeString(2,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.getModelType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.setModelType=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetModelParameterSchemaResponse.toObject(p,this)},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.toObject=function(p,g){var l={modelParameterSchema:g.getModelParameterSchema_asB64()};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetModelParameterSchemaResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetModelParameterSchemaResponse;return proto.viam.service.vision.v1.GetModelParameterSchemaResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readBytes();p.setModelParameterSchema(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetModelParameterSchemaResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getModelParameterSchema_asU8(),l.length>0&&g.writeBytes(1,l)},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.getModelParameterSchema=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.getModelParameterSchema_asB64=function(){return e.Message.bytesAsB64(this.getModelParameterSchema())},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.getModelParameterSchema_asU8=function(){return e.Message.bytesAsU8(this.getModelParameterSchema())},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.setModelParameterSchema=function(p){return e.Message.setProto3BytesField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectorNamesRequest.toObject(p,this)},proto.viam.service.vision.v1.GetDetectorNamesRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetDetectorNamesRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectorNamesRequest;return proto.viam.service.vision.v1.GetDetectorNamesRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectorNamesRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectorNamesRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectorNamesRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetDetectorNamesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectorNamesResponse.toObject(p,this)},proto.viam.service.vision.v1.GetDetectorNamesResponse.toObject=function(p,g){var l,u={detectorNamesList:(l=e.Message.getRepeatedField(g,1))==null?void 0:l};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetDetectorNamesResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectorNamesResponse;return proto.viam.service.vision.v1.GetDetectorNamesResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectorNamesResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.addDetectorNames(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectorNamesResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectorNamesResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getDetectorNamesList(),l.length>0&&g.writeRepeatedString(1,l)},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.getDetectorNamesList=function(){return e.Message.getRepeatedField(this,1)},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.setDetectorNamesList=function(p){return e.Message.setField(this,1,p||[])},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.addDetectorNames=function(p,g){return e.Message.addToRepeatedField(this,1,p,g)},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.clearDetectorNamesList=function(){return this.setDetectorNamesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddDetectorRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddDetectorRequest.toObject(p,this)},proto.viam.service.vision.v1.AddDetectorRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),detectorName:e.Message.getFieldWithDefault(g,2,""),detectorModelType:e.Message.getFieldWithDefault(g,3,""),detectorParameters:(l=g.getDetectorParameters())&&n.Struct.toObject(p,l),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.AddDetectorRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddDetectorRequest;return proto.viam.service.vision.v1.AddDetectorRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddDetectorRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setDetectorName(u);break;case 3:var u=g.readString();p.setDetectorModelType(u);break;case 4:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setDetectorParameters(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddDetectorRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddDetectorRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddDetectorRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getDetectorName(),l.length>0&&g.writeString(2,l),l=p.getDetectorModelType(),l.length>0&&g.writeString(3,l),l=p.getDetectorParameters(),l!=null&&g.writeMessage(4,l,n.Struct.serializeBinaryToWriter),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getDetectorName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setDetectorName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getDetectorModelType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setDetectorModelType=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getDetectorParameters=function(){return e.Message.getWrapperField(this,n.Struct,4)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setDetectorParameters=function(p){return e.Message.setWrapperField(this,4,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.clearDetectorParameters=function(){return this.setDetectorParameters(void 0)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.hasDetectorParameters=function(){return e.Message.getField(this,4)!=null},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddDetectorResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddDetectorResponse.toObject(p,this)},proto.viam.service.vision.v1.AddDetectorResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.AddDetectorResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddDetectorResponse;return proto.viam.service.vision.v1.AddDetectorResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddDetectorResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddDetectorResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddDetectorResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddDetectorResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveDetectorRequest.toObject(p,this)},proto.viam.service.vision.v1.RemoveDetectorRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),detectorName:e.Message.getFieldWithDefault(g,2,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.RemoveDetectorRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveDetectorRequest;return proto.viam.service.vision.v1.RemoveDetectorRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveDetectorRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setDetectorName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveDetectorRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveDetectorRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getDetectorName(),l.length>0&&g.writeString(2,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.getDetectorName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.setDetectorName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveDetectorResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveDetectorResponse.toObject(p,this)},proto.viam.service.vision.v1.RemoveDetectorResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.RemoveDetectorResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveDetectorResponse;return proto.viam.service.vision.v1.RemoveDetectorResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveDetectorResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveDetectorResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveDetectorResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveDetectorResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectionsRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectionsRequest.toObject(p,this)},proto.viam.service.vision.v1.GetDetectionsRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),image:g.getImage_asB64(),width:e.Message.getFieldWithDefault(g,3,0),height:e.Message.getFieldWithDefault(g,4,0),mimeType:e.Message.getFieldWithDefault(g,5,""),detectorName:e.Message.getFieldWithDefault(g,6,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetDetectionsRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectionsRequest;return proto.viam.service.vision.v1.GetDetectionsRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectionsRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readBytes();p.setImage(u);break;case 3:var u=g.readInt64();p.setWidth(u);break;case 4:var u=g.readInt64();p.setHeight(u);break;case 5:var u=g.readString();p.setMimeType(u);break;case 6:var u=g.readString();p.setDetectorName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectionsRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectionsRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getImage_asU8(),l.length>0&&g.writeBytes(2,l),l=p.getWidth(),l!==0&&g.writeInt64(3,l),l=p.getHeight(),l!==0&&g.writeInt64(4,l),l=p.getMimeType(),l.length>0&&g.writeString(5,l),l=p.getDetectorName(),l.length>0&&g.writeString(6,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getImage=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getImage_asB64=function(){return e.Message.bytesAsB64(this.getImage())},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getImage_asU8=function(){return e.Message.bytesAsU8(this.getImage())},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setImage=function(p){return e.Message.setProto3BytesField(this,2,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getWidth=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setWidth=function(p){return e.Message.setProto3IntField(this,3,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getHeight=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setHeight=function(p){return e.Message.setProto3IntField(this,4,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getMimeType=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setMimeType=function(p){return e.Message.setProto3StringField(this,5,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getDetectorName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setDetectorName=function(p){return e.Message.setProto3StringField(this,6,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetDetectionsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectionsResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectionsResponse.toObject(p,this)},proto.viam.service.vision.v1.GetDetectionsResponse.toObject=function(p,g){var l={detectionsList:e.Message.toObjectList(g.getDetectionsList(),proto.viam.service.vision.v1.Detection.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetDetectionsResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectionsResponse;return proto.viam.service.vision.v1.GetDetectionsResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectionsResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=new proto.viam.service.vision.v1.Detection;g.readMessage(u,proto.viam.service.vision.v1.Detection.deserializeBinaryFromReader),p.addDetections(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectionsResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectionsResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getDetectionsList(),l.length>0&&g.writeRepeatedMessage(1,l,proto.viam.service.vision.v1.Detection.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.getDetectionsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.service.vision.v1.Detection,1)},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.setDetectionsList=function(p){return e.Message.setRepeatedWrapperField(this,1,p)},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.addDetections=function(p,g){return e.Message.addToRepeatedWrapperField(this,1,p,proto.viam.service.vision.v1.Detection,g)},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.clearDetectionsList=function(){return this.setDetectionsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.toObject(p,this)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),cameraName:e.Message.getFieldWithDefault(g,2,""),detectorName:e.Message.getFieldWithDefault(g,3,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectionsFromCameraRequest;return proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setCameraName(u);break;case 3:var u=g.readString();p.setDetectorName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getCameraName(),l.length>0&&g.writeString(2,l),l=p.getDetectorName(),l.length>0&&g.writeString(3,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.getCameraName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.setCameraName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.getDetectorName=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.setDetectorName=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.toObject(p,this)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.toObject=function(p,g){var l={detectionsList:e.Message.toObjectList(g.getDetectionsList(),proto.viam.service.vision.v1.Detection.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectionsFromCameraResponse;return proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=new proto.viam.service.vision.v1.Detection;g.readMessage(u,proto.viam.service.vision.v1.Detection.deserializeBinaryFromReader),p.addDetections(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getDetectionsList(),l.length>0&&g.writeRepeatedMessage(1,l,proto.viam.service.vision.v1.Detection.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.getDetectionsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.service.vision.v1.Detection,1)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.setDetectionsList=function(p){return e.Message.setRepeatedWrapperField(this,1,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.addDetections=function(p,g){return e.Message.addToRepeatedWrapperField(this,1,p,proto.viam.service.vision.v1.Detection,g)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.clearDetectionsList=function(){return this.setDetectionsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.Detection.prototype.toObject=function(p){return proto.viam.service.vision.v1.Detection.toObject(p,this)},proto.viam.service.vision.v1.Detection.toObject=function(p,g){var l={xMin:e.Message.getFieldWithDefault(g,1,0),yMin:e.Message.getFieldWithDefault(g,2,0),xMax:e.Message.getFieldWithDefault(g,3,0),yMax:e.Message.getFieldWithDefault(g,4,0),confidence:e.Message.getFloatingPointFieldWithDefault(g,5,0),className:e.Message.getFieldWithDefault(g,6,"")};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.Detection.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.Detection;return proto.viam.service.vision.v1.Detection.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.Detection.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readInt64();p.setXMin(u);break;case 2:var u=g.readInt64();p.setYMin(u);break;case 3:var u=g.readInt64();p.setXMax(u);break;case 4:var u=g.readInt64();p.setYMax(u);break;case 5:var u=g.readDouble();p.setConfidence(u);break;case 6:var u=g.readString();p.setClassName(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.Detection.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.Detection.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.Detection.serializeBinaryToWriter=function(p,g){var l=void 0;l=e.Message.getField(p,1),l!=null&&g.writeInt64(1,l),l=e.Message.getField(p,2),l!=null&&g.writeInt64(2,l),l=e.Message.getField(p,3),l!=null&&g.writeInt64(3,l),l=e.Message.getField(p,4),l!=null&&g.writeInt64(4,l),l=p.getConfidence(),l!==0&&g.writeDouble(5,l),l=p.getClassName(),l.length>0&&g.writeString(6,l)},proto.viam.service.vision.v1.Detection.prototype.getXMin=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.service.vision.v1.Detection.prototype.setXMin=function(p){return e.Message.setField(this,1,p)},proto.viam.service.vision.v1.Detection.prototype.clearXMin=function(){return e.Message.setField(this,1,void 0)},proto.viam.service.vision.v1.Detection.prototype.hasXMin=function(){return e.Message.getField(this,1)!=null},proto.viam.service.vision.v1.Detection.prototype.getYMin=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.viam.service.vision.v1.Detection.prototype.setYMin=function(p){return e.Message.setField(this,2,p)},proto.viam.service.vision.v1.Detection.prototype.clearYMin=function(){return e.Message.setField(this,2,void 0)},proto.viam.service.vision.v1.Detection.prototype.hasYMin=function(){return e.Message.getField(this,2)!=null},proto.viam.service.vision.v1.Detection.prototype.getXMax=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.viam.service.vision.v1.Detection.prototype.setXMax=function(p){return e.Message.setField(this,3,p)},proto.viam.service.vision.v1.Detection.prototype.clearXMax=function(){return e.Message.setField(this,3,void 0)},proto.viam.service.vision.v1.Detection.prototype.hasXMax=function(){return e.Message.getField(this,3)!=null},proto.viam.service.vision.v1.Detection.prototype.getYMax=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.viam.service.vision.v1.Detection.prototype.setYMax=function(p){return e.Message.setField(this,4,p)},proto.viam.service.vision.v1.Detection.prototype.clearYMax=function(){return e.Message.setField(this,4,void 0)},proto.viam.service.vision.v1.Detection.prototype.hasYMax=function(){return e.Message.getField(this,4)!=null},proto.viam.service.vision.v1.Detection.prototype.getConfidence=function(){return e.Message.getFloatingPointFieldWithDefault(this,5,0)},proto.viam.service.vision.v1.Detection.prototype.setConfidence=function(p){return e.Message.setProto3FloatField(this,5,p)},proto.viam.service.vision.v1.Detection.prototype.getClassName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.viam.service.vision.v1.Detection.prototype.setClassName=function(p){return e.Message.setProto3StringField(this,6,p)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassifierNamesRequest.toObject(p,this)},proto.viam.service.vision.v1.GetClassifierNamesRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetClassifierNamesRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassifierNamesRequest;return proto.viam.service.vision.v1.GetClassifierNamesRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassifierNamesRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassifierNamesRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassifierNamesRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetClassifierNamesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassifierNamesResponse.toObject(p,this)},proto.viam.service.vision.v1.GetClassifierNamesResponse.toObject=function(p,g){var l,u={classifierNamesList:(l=e.Message.getRepeatedField(g,1))==null?void 0:l};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetClassifierNamesResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassifierNamesResponse;return proto.viam.service.vision.v1.GetClassifierNamesResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassifierNamesResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.addClassifierNames(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassifierNamesResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassifierNamesResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getClassifierNamesList(),l.length>0&&g.writeRepeatedString(1,l)},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.getClassifierNamesList=function(){return e.Message.getRepeatedField(this,1)},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.setClassifierNamesList=function(p){return e.Message.setField(this,1,p||[])},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.addClassifierNames=function(p,g){return e.Message.addToRepeatedField(this,1,p,g)},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.clearClassifierNamesList=function(){return this.setClassifierNamesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddClassifierRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddClassifierRequest.toObject(p,this)},proto.viam.service.vision.v1.AddClassifierRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),classifierName:e.Message.getFieldWithDefault(g,2,""),classifierModelType:e.Message.getFieldWithDefault(g,3,""),classifierParameters:(l=g.getClassifierParameters())&&n.Struct.toObject(p,l),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.AddClassifierRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddClassifierRequest;return proto.viam.service.vision.v1.AddClassifierRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddClassifierRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setClassifierName(u);break;case 3:var u=g.readString();p.setClassifierModelType(u);break;case 4:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setClassifierParameters(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddClassifierRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddClassifierRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddClassifierRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getClassifierName(),l.length>0&&g.writeString(2,l),l=p.getClassifierModelType(),l.length>0&&g.writeString(3,l),l=p.getClassifierParameters(),l!=null&&g.writeMessage(4,l,n.Struct.serializeBinaryToWriter),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getClassifierName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setClassifierName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getClassifierModelType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setClassifierModelType=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getClassifierParameters=function(){return e.Message.getWrapperField(this,n.Struct,4)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setClassifierParameters=function(p){return e.Message.setWrapperField(this,4,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.clearClassifierParameters=function(){return this.setClassifierParameters(void 0)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.hasClassifierParameters=function(){return e.Message.getField(this,4)!=null},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddClassifierResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddClassifierResponse.toObject(p,this)},proto.viam.service.vision.v1.AddClassifierResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.AddClassifierResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddClassifierResponse;return proto.viam.service.vision.v1.AddClassifierResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddClassifierResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddClassifierResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddClassifierResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddClassifierResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveClassifierRequest.toObject(p,this)},proto.viam.service.vision.v1.RemoveClassifierRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),classifierName:e.Message.getFieldWithDefault(g,2,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.RemoveClassifierRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveClassifierRequest;return proto.viam.service.vision.v1.RemoveClassifierRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveClassifierRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setClassifierName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveClassifierRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveClassifierRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getClassifierName(),l.length>0&&g.writeString(2,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.getClassifierName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.setClassifierName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveClassifierResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveClassifierResponse.toObject(p,this)},proto.viam.service.vision.v1.RemoveClassifierResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.RemoveClassifierResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveClassifierResponse;return proto.viam.service.vision.v1.RemoveClassifierResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveClassifierResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveClassifierResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveClassifierResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveClassifierResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassificationsRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassificationsRequest.toObject(p,this)},proto.viam.service.vision.v1.GetClassificationsRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),image:g.getImage_asB64(),width:e.Message.getFieldWithDefault(g,3,0),height:e.Message.getFieldWithDefault(g,4,0),mimeType:e.Message.getFieldWithDefault(g,5,""),classifierName:e.Message.getFieldWithDefault(g,6,""),n:e.Message.getFieldWithDefault(g,7,0),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetClassificationsRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassificationsRequest;return proto.viam.service.vision.v1.GetClassificationsRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassificationsRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readBytes();p.setImage(u);break;case 3:var u=g.readInt32();p.setWidth(u);break;case 4:var u=g.readInt32();p.setHeight(u);break;case 5:var u=g.readString();p.setMimeType(u);break;case 6:var u=g.readString();p.setClassifierName(u);break;case 7:var u=g.readInt32();p.setN(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassificationsRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassificationsRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getImage_asU8(),l.length>0&&g.writeBytes(2,l),l=p.getWidth(),l!==0&&g.writeInt32(3,l),l=p.getHeight(),l!==0&&g.writeInt32(4,l),l=p.getMimeType(),l.length>0&&g.writeString(5,l),l=p.getClassifierName(),l.length>0&&g.writeString(6,l),l=p.getN(),l!==0&&g.writeInt32(7,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getImage=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getImage_asB64=function(){return e.Message.bytesAsB64(this.getImage())},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getImage_asU8=function(){return e.Message.bytesAsU8(this.getImage())},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setImage=function(p){return e.Message.setProto3BytesField(this,2,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getWidth=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setWidth=function(p){return e.Message.setProto3IntField(this,3,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getHeight=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setHeight=function(p){return e.Message.setProto3IntField(this,4,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getMimeType=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setMimeType=function(p){return e.Message.setProto3StringField(this,5,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getClassifierName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setClassifierName=function(p){return e.Message.setProto3StringField(this,6,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getN=function(){return e.Message.getFieldWithDefault(this,7,0)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setN=function(p){return e.Message.setProto3IntField(this,7,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetClassificationsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassificationsResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassificationsResponse.toObject(p,this)},proto.viam.service.vision.v1.GetClassificationsResponse.toObject=function(p,g){var l={classificationsList:e.Message.toObjectList(g.getClassificationsList(),proto.viam.service.vision.v1.Classification.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetClassificationsResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassificationsResponse;return proto.viam.service.vision.v1.GetClassificationsResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassificationsResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=new proto.viam.service.vision.v1.Classification;g.readMessage(u,proto.viam.service.vision.v1.Classification.deserializeBinaryFromReader),p.addClassifications(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassificationsResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassificationsResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getClassificationsList(),l.length>0&&g.writeRepeatedMessage(1,l,proto.viam.service.vision.v1.Classification.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.getClassificationsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.service.vision.v1.Classification,1)},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.setClassificationsList=function(p){return e.Message.setRepeatedWrapperField(this,1,p)},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.addClassifications=function(p,g){return e.Message.addToRepeatedWrapperField(this,1,p,proto.viam.service.vision.v1.Classification,g)},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.clearClassificationsList=function(){return this.setClassificationsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.toObject(p,this)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),cameraName:e.Message.getFieldWithDefault(g,2,""),classifierName:e.Message.getFieldWithDefault(g,3,""),n:e.Message.getFieldWithDefault(g,4,0),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassificationsFromCameraRequest;return proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setCameraName(u);break;case 3:var u=g.readString();p.setClassifierName(u);break;case 4:var u=g.readInt32();p.setN(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getCameraName(),l.length>0&&g.writeString(2,l),l=p.getClassifierName(),l.length>0&&g.writeString(3,l),l=p.getN(),l!==0&&g.writeInt32(4,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getCameraName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setCameraName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getClassifierName=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setClassifierName=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getN=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setN=function(p){return e.Message.setProto3IntField(this,4,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.toObject(p,this)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.toObject=function(p,g){var l={classificationsList:e.Message.toObjectList(g.getClassificationsList(),proto.viam.service.vision.v1.Classification.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassificationsFromCameraResponse;return proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=new proto.viam.service.vision.v1.Classification;g.readMessage(u,proto.viam.service.vision.v1.Classification.deserializeBinaryFromReader),p.addClassifications(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getClassificationsList(),l.length>0&&g.writeRepeatedMessage(1,l,proto.viam.service.vision.v1.Classification.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.getClassificationsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.service.vision.v1.Classification,1)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.setClassificationsList=function(p){return e.Message.setRepeatedWrapperField(this,1,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.addClassifications=function(p,g){return e.Message.addToRepeatedWrapperField(this,1,p,proto.viam.service.vision.v1.Classification,g)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.clearClassificationsList=function(){return this.setClassificationsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.Classification.prototype.toObject=function(p){return proto.viam.service.vision.v1.Classification.toObject(p,this)},proto.viam.service.vision.v1.Classification.toObject=function(p,g){var l={className:e.Message.getFieldWithDefault(g,1,""),confidence:e.Message.getFloatingPointFieldWithDefault(g,2,0)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.Classification.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.Classification;return proto.viam.service.vision.v1.Classification.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.Classification.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setClassName(u);break;case 2:var u=g.readDouble();p.setConfidence(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.Classification.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.Classification.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.Classification.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getClassName(),l.length>0&&g.writeString(1,l),l=p.getConfidence(),l!==0&&g.writeDouble(2,l)},proto.viam.service.vision.v1.Classification.prototype.getClassName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.Classification.prototype.setClassName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.Classification.prototype.getConfidence=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.service.vision.v1.Classification.prototype.setConfidence=function(p){return e.Message.setProto3FloatField(this,2,p)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetSegmenterNamesRequest.toObject(p,this)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetSegmenterNamesRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetSegmenterNamesRequest;return proto.viam.service.vision.v1.GetSegmenterNamesRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetSegmenterNamesRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetSegmenterNamesRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetSegmenterNamesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetSegmenterNamesResponse.toObject(p,this)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.toObject=function(p,g){var l,u={segmenterNamesList:(l=e.Message.getRepeatedField(g,1))==null?void 0:l};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetSegmenterNamesResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetSegmenterNamesResponse;return proto.viam.service.vision.v1.GetSegmenterNamesResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.addSegmenterNames(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetSegmenterNamesResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetSegmenterNamesResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getSegmenterNamesList(),l.length>0&&g.writeRepeatedString(1,l)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.getSegmenterNamesList=function(){return e.Message.getRepeatedField(this,1)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.setSegmenterNamesList=function(p){return e.Message.setField(this,1,p||[])},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.addSegmenterNames=function(p,g){return e.Message.addToRepeatedField(this,1,p,g)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.clearSegmenterNamesList=function(){return this.setSegmenterNamesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddSegmenterRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddSegmenterRequest.toObject(p,this)},proto.viam.service.vision.v1.AddSegmenterRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),segmenterName:e.Message.getFieldWithDefault(g,2,""),segmenterModelType:e.Message.getFieldWithDefault(g,3,""),segmenterParameters:(l=g.getSegmenterParameters())&&n.Struct.toObject(p,l),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.AddSegmenterRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddSegmenterRequest;return proto.viam.service.vision.v1.AddSegmenterRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddSegmenterRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setSegmenterName(u);break;case 3:var u=g.readString();p.setSegmenterModelType(u);break;case 4:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setSegmenterParameters(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddSegmenterRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddSegmenterRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getSegmenterName(),l.length>0&&g.writeString(2,l),l=p.getSegmenterModelType(),l.length>0&&g.writeString(3,l),l=p.getSegmenterParameters(),l!=null&&g.writeMessage(4,l,n.Struct.serializeBinaryToWriter),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getSegmenterName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setSegmenterName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getSegmenterModelType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setSegmenterModelType=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getSegmenterParameters=function(){return e.Message.getWrapperField(this,n.Struct,4)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setSegmenterParameters=function(p){return e.Message.setWrapperField(this,4,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.clearSegmenterParameters=function(){return this.setSegmenterParameters(void 0)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.hasSegmenterParameters=function(){return e.Message.getField(this,4)!=null},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddSegmenterResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddSegmenterResponse.toObject(p,this)},proto.viam.service.vision.v1.AddSegmenterResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.AddSegmenterResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddSegmenterResponse;return proto.viam.service.vision.v1.AddSegmenterResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddSegmenterResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddSegmenterResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddSegmenterResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddSegmenterResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveSegmenterRequest.toObject(p,this)},proto.viam.service.vision.v1.RemoveSegmenterRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),segmenterName:e.Message.getFieldWithDefault(g,2,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.RemoveSegmenterRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveSegmenterRequest;return proto.viam.service.vision.v1.RemoveSegmenterRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveSegmenterRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setSegmenterName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveSegmenterRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveSegmenterRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getSegmenterName(),l.length>0&&g.writeString(2,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.getSegmenterName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.setSegmenterName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveSegmenterResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveSegmenterResponse.toObject(p,this)},proto.viam.service.vision.v1.RemoveSegmenterResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.RemoveSegmenterResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveSegmenterResponse;return proto.viam.service.vision.v1.RemoveSegmenterResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveSegmenterResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveSegmenterResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveSegmenterResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveSegmenterResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetObjectPointCloudsRequest.toObject(p,this)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),cameraName:e.Message.getFieldWithDefault(g,2,""),segmenterName:e.Message.getFieldWithDefault(g,3,""),mimeType:e.Message.getFieldWithDefault(g,4,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetObjectPointCloudsRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetObjectPointCloudsRequest;return proto.viam.service.vision.v1.GetObjectPointCloudsRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setCameraName(u);break;case 3:var u=g.readString();p.setSegmenterName(u);break;case 4:var u=g.readString();p.setMimeType(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetObjectPointCloudsRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getCameraName(),l.length>0&&g.writeString(2,l),l=p.getSegmenterName(),l.length>0&&g.writeString(3,l),l=p.getMimeType(),l.length>0&&g.writeString(4,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getCameraName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setCameraName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getSegmenterName=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setSegmenterName=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getMimeType=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setMimeType=function(p){return e.Message.setProto3StringField(this,4,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetObjectPointCloudsResponse.toObject(p,this)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.toObject=function(p,g){var l={mimeType:e.Message.getFieldWithDefault(g,1,""),objectsList:e.Message.toObjectList(g.getObjectsList(),t.PointCloudObject.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetObjectPointCloudsResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetObjectPointCloudsResponse;return proto.viam.service.vision.v1.GetObjectPointCloudsResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setMimeType(u);break;case 2:var u=new t.PointCloudObject;g.readMessage(u,t.PointCloudObject.deserializeBinaryFromReader),p.addObjects(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetObjectPointCloudsResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getMimeType(),l.length>0&&g.writeString(1,l),l=p.getObjectsList(),l.length>0&&g.writeRepeatedMessage(2,l,t.PointCloudObject.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.getMimeType=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.setMimeType=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.getObjectsList=function(){return e.Message.getRepeatedWrapperField(this,t.PointCloudObject,2)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.setObjectsList=function(p){return e.Message.setRepeatedWrapperField(this,2,p)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.addObjects=function(p,g){return e.Message.addToRepeatedWrapperField(this,2,p,proto.viam.common.v1.PointCloudObject,g)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.clearObjectsList=function(){return this.setObjectsList([])},r.object.extend(o,proto.viam.service.vision.v1)}(vision_pb);class RobotClient{client;constructor(e){this.client=e.createServiceClient(RobotServiceClient_1)}get robotService(){return this.client}async getOperations(){const e=this.robotService,r=new robot_pb.GetOperationsRequest;return(await promisify(e.getOperations.bind(e),r)).getOperationsList()}async cancelOperation(e){const r=this.robotService,s=new robot_pb.CancelOperationRequest;s.setId(e),await promisify(r.cancelOperation.bind(r),s)}async blockForOperation(e){const r=this.robotService,s=new robot_pb.BlockForOperationRequest;s.setId(e),await promisify(r.blockForOperation.bind(r),s)}async stopAll(){const e=this.robotService,r=new robot_pb.StopAllRequest;await promisify(e.stopAll.bind(e),r)}async frameSystemConfig(e){const r=this.robotService,s=new robot_pb.FrameSystemConfigRequest;return s.setSupplementalTransformsList(e),(await promisify(r.frameSystemConfig.bind(r),s)).getFrameSystemConfigsList()}async transformPose(e,r,s){const t=this.robotService,i=new robot_pb.TransformPoseRequest;i.setSource(e),i.setDestination(r),i.setSupplementalTransformsList(s);const p=(await promisify(t.transformPose.bind(t),i)).getPose();if(!p)throw new Error("no pose");return p}async transformPCD(e,r,s){const t=this.robotService,i=new robot_pb.TransformPCDRequest;return i.setPointCloudPcd(e),i.setSource(r),i.setDestination(s),(await promisify(t.transformPCD.bind(t),i)).getPointCloudPcd_asU8()}async discoverComponents(e){const r=this.robotService,s=new robot_pb.DiscoverComponentsRequest;return s.setQueriesList(e),(await promisify(r.discoverComponents.bind(r),s)).getDiscoveryList()}async resourceNames(){const e=this.robotService,r=new robot_pb.ResourceNamesRequest;return(await promisify(e.resourceNames.bind(e),r)).getResourcesList()}async resourceRPCSubtypes(){const e=this.robotService,r=new robot_pb.ResourceRPCSubtypesRequest;return(await promisify(e.resourceRPCSubtypes.bind(e),r)).getResourceRpcSubtypesList()}async getStatus(e){const r=this.robotService,s=new robot_pb.GetStatusRequest;return s.setResourceNamesList(e),(await promisify(r.getStatus.bind(r),s)).getStatusList()}async streamStatus(e,r){const s=this.robotService,t=new robot_pb.StreamStatusRequest;return t.setResourceNamesList(e),t.setEvery(r),(await promisify(s.streamStatus.bind(s),t)).getStatusList()}}exports.Base=Base,exports.BaseClient=BaseClient,exports.Board=Board,exports.BoardClient=BoardClient,exports.Camera=Camera,exports.CameraClient=CameraClient,exports.Client=Client,exports.Motor=Motor,exports.MotorClient=MotorClient,exports.RobotClient=RobotClient,exports.Sensor=Sensor,exports.SensorClient=SensorClient,exports.StreamClient=StreamClient,exports.armApi=arm_pb,exports.baseApi=base_pb,exports.boardApi=board_pb,exports.cameraApi=camera_pb,exports.commonApi=common_pb$a,exports.gantryApi=gantry_pb,exports.genericApi=generic_pb,exports.gripperApi=gripper_pb,exports.inputControllerApi=input_controller_pb,exports.motionApi=motion_pb,exports.motorApi=motor_pb,exports.movementSensorApi=movementsensor_pb,exports.navigationApi=navigation_pb,exports.robotApi=robot_pb_esm,exports.sensorApi=sensor_pb,exports.sensorsApi=sensors_pb,exports.servoApi=servo_pb,exports.slamApi=slam_pb,exports.streamApi=stream_pb,exports.visionApi=vision_pb,Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
292
|
+
`)},goog.string.normalizeWhitespace=function(o){return o.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(o){return o.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(o){return o.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(o){return o.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(o){return o.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(o,e,r){if(o==e)return 0;if(!o)return-1;if(!e)return 1;for(var s=o.toLowerCase().match(r),t=e.toLowerCase().match(r),i=Math.min(s.length,t.length),n=0;n<i;n++){r=s[n];var p=t[n];if(r!=p)return o=parseInt(r,10),!isNaN(o)&&(e=parseInt(p,10),!isNaN(e)&&o-e)?o-e:r<p?-1:1}return s.length!=t.length?s.length-t.length:o<e?-1:1},goog.string.intAwareCompare=function(o,e){return goog.string.numberAwareCompare_(o,e,/\d+|\D+/g)},goog.string.floatAwareCompare=function(o,e){return goog.string.numberAwareCompare_(o,e,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(o){return encodeURIComponent(String(o))},goog.string.urlDecode=function(o){return decodeURIComponent(o.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(o,e){return o=goog.string.internal.htmlEscape(o,e),goog.string.DETECT_DOUBLE_ESCAPING&&(o=o.replace(goog.string.E_RE_,"e")),o},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(o){return goog.string.contains(o,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(o):goog.string.unescapePureXmlEntities_(o):o},goog.string.unescapeEntitiesWithDocument=function(o,e){return goog.string.contains(o,"&")?goog.string.unescapeEntitiesUsingDom_(o,e):o},goog.string.unescapeEntitiesUsingDom_=function(o,e){var r={"&":"&","<":"<",">":">",""":'"'},s=e?e.createElement("div"):goog.global.document.createElement("div");return o.replace(goog.string.HTML_ENTITY_PATTERN_,function(t,i){var n=r[t];return n||(i.charAt(0)=="#"&&(i=Number("0"+i.substr(1)),isNaN(i)||(n=String.fromCharCode(i))),n||(goog.dom.safe.setInnerHtml(s,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),t+" ")),n=s.firstChild.nodeValue.slice(0,-1)),r[t]=n)})},goog.string.unescapePureXmlEntities_=function(o){return o.replace(/&([^;]+);/g,function(e,r){switch(r){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return r.charAt(0)!="#"||(r=Number("0"+r.substr(1)),isNaN(r))?e:String.fromCharCode(r)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(o,e){return goog.string.newLineToBr(o.replace(/ /g,"  "),e)},goog.string.preserveSpaces=function(o){return o.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(o,e){for(var r=e.length,s=0;s<r;s++){var t=r==1?e:e.charAt(s);if(o.charAt(0)==t&&o.charAt(o.length-1)==t)return o.substring(1,o.length-1)}return o},goog.string.truncate=function(o,e,r){return r&&(o=goog.string.unescapeEntities(o)),o.length>e&&(o=o.substring(0,e-3)+"..."),r&&(o=goog.string.htmlEscape(o)),o},goog.string.truncateMiddle=function(o,e,r,s){if(r&&(o=goog.string.unescapeEntities(o)),s&&o.length>e){s>e&&(s=e);var t=o.length-s;o=o.substring(0,e-s)+"..."+o.substring(t)}else o.length>e&&(s=Math.floor(e/2),t=o.length-s,o=o.substring(0,s+e%2)+"..."+o.substring(t));return r&&(o=goog.string.htmlEscape(o)),o},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(o){o=String(o);for(var e=['"'],r=0;r<o.length;r++){var s=o.charAt(r),t=s.charCodeAt(0);e[r+1]=goog.string.specialEscapeChars_[s]||(31<t&&127>t?s:goog.string.escapeChar(s))}return e.push('"'),e.join("")},goog.string.escapeString=function(o){for(var e=[],r=0;r<o.length;r++)e[r]=goog.string.escapeChar(o.charAt(r));return e.join("")},goog.string.escapeChar=function(o){if(o in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[o];if(o in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[o]=goog.string.specialEscapeChars_[o];var e=o.charCodeAt(0);if(31<e&&127>e)var r=o;else 256>e?(r="\\x",(16>e||256<e)&&(r+="0")):(r="\\u",4096>e&&(r+="0")),r+=e.toString(16).toUpperCase();return goog.string.jsEscapeCache_[o]=r},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(o,e){return o&&e?o.split(e).length-1:0},goog.string.removeAt=function(o,e,r){var s=o;return 0<=e&&e<o.length&&0<r&&(s=o.substr(0,e)+o.substr(e+r,o.length-e-r)),s},goog.string.remove=function(o,e){return o.replace(e,"")},goog.string.removeAll=function(o,e){return e=new RegExp(goog.string.regExpEscape(e),"g"),o.replace(e,"")},goog.string.replaceAll=function(o,e,r){return e=new RegExp(goog.string.regExpEscape(e),"g"),o.replace(e,r.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(o){return String(o).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(o,e){return o.repeat(e)}:function(o,e){return Array(e+1).join(o)},goog.string.padNumber=function(o,e,r){return o=r!==void 0?o.toFixed(r):String(o),r=o.indexOf("."),r==-1&&(r=o.length),goog.string.repeat("0",Math.max(0,e-r))+o},goog.string.makeSafe=function(o){return o==null?"":String(o)},goog.string.buildString=function(o){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(o){for(var e=0,r=0;r<o.length;++r)e=31*e+o.charCodeAt(r)>>>0;return e},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(o){var e=Number(o);return e==0&&goog.string.isEmptyOrWhitespace(o)?NaN:e},goog.string.isLowerCamelCase=function(o){return/^[a-z]+([A-Z][a-z]*)*$/.test(o)},goog.string.isUpperCamelCase=function(o){return/^([A-Z][a-z]*)+$/.test(o)},goog.string.toCamelCase=function(o){return String(o).replace(/\-([a-z])/g,function(e,r){return r.toUpperCase()})},goog.string.toSelectorCase=function(o){return String(o).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(o,e){return e=typeof e=="string"?goog.string.regExpEscape(e):"\\s",o.replace(new RegExp("(^"+(e?"|["+e+"]+":"")+")([a-z])","g"),function(r,s,t){return s+t.toUpperCase()})},goog.string.capitalize=function(o){return String(o.charAt(0)).toUpperCase()+String(o.substr(1)).toLowerCase()},goog.string.parseInt=function(o){return isFinite(o)&&(o=String(o)),typeof o=="string"?/^\s*-?0x/i.test(o)?parseInt(o,16):parseInt(o,10):NaN},goog.string.splitLimit=function(o,e,r){o=o.split(e);for(var s=[];0<r&&o.length;)s.push(o.shift()),r--;return o.length&&s.push(o.join(e)),s},goog.string.lastComponent=function(o,e){if(e)typeof e=="string"&&(e=[e]);else return o;for(var r=-1,s=0;s<e.length;s++)if(e[s]!=""){var t=o.lastIndexOf(e[s]);t>r&&(r=t)}return r==-1?o:o.slice(r+1)},goog.string.editDistance=function(o,e){var r=[],s=[];if(o==e)return 0;if(!o.length||!e.length)return Math.max(o.length,e.length);for(var t=0;t<e.length+1;t++)r[t]=t;for(t=0;t<o.length;t++){s[0]=t+1;for(var i=0;i<e.length;i++)s[i+1]=Math.min(s[i]+1,r[i+1]+1,r[i]+Number(o[t]!=e[i]));for(i=0;i<r.length;i++)r[i]=s[i]}return s[e.length]},goog.labs.userAgent.engine={},goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")},goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent();if(o){o=goog.labs.userAgent.util.extractVersionTuples(o);var e=goog.labs.userAgent.engine.getEngineTuple_(o);if(e)return e[0]=="Gecko"?goog.labs.userAgent.engine.getVersionForKey_(o,"Firefox"):e[1];o=o[0];var r;if(o&&(r=o[2])&&(r=/Trident\/([^\s;]+)/.exec(r)))return r[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(o){if(!goog.labs.userAgent.engine.isEdge())return o[1];for(var e=0;e<o.length;e++){var r=o[e];if(r[0]=="Edge")return r}},goog.labs.userAgent.engine.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),o)},goog.labs.userAgent.engine.getVersionForKey_=function(o,e){return(o=goog.array.find(o,function(r){return e==r[0]}))&&o[1]||""},goog.labs.userAgent.platform={},goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")},goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")},goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()},goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")},goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")},goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")},goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")},goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")},goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")},goog.labs.userAgent.platform.getVersion=function(){var o=goog.labs.userAgent.util.getUserAgent(),e="";return goog.labs.userAgent.platform.isWindows()?(e=/Windows (?:NT|Phone) ([0-9.]+)/,e=(o=e.exec(o))?o[1]:"0.0"):goog.labs.userAgent.platform.isIos()?(e=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,e=(o=e.exec(o))&&o[1].replace(/_/g,".")):goog.labs.userAgent.platform.isMacintosh()?(e=/Mac OS X ([0-9_.]+)/,e=(o=e.exec(o))?o[1].replace(/_/g,"."):"10"):goog.labs.userAgent.platform.isKaiOS()?(e=/(?:KaiOS)\/(\S+)/i,e=(o=e.exec(o))&&o[1]):goog.labs.userAgent.platform.isAndroid()?(e=/Android\s+([^\);]+)(\)|;)/,e=(o=e.exec(o))&&o[1]):goog.labs.userAgent.platform.isChromeOS()&&(e=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,e=(o=e.exec(o))&&o[1]),e||""},goog.labs.userAgent.platform.isVersionOrHigher=function(o){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),o)},goog.reflect={},goog.reflect.object=function(o,e){return e},goog.reflect.objectProperty=function(o,e){return o},goog.reflect.sinkValue=function(o){return goog.reflect.sinkValue[" "](o),o},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(o,e){try{return goog.reflect.sinkValue(o[e]),!0}catch{}return!1},goog.reflect.cache=function(o,e,r,s){return s=s?s(e):e,Object.prototype.hasOwnProperty.call(o,s)?o[s]:o[s]=r(e)},goog.userAgent={},goog.userAgent.ASSUME_IE=!1,goog.userAgent.ASSUME_EDGE=!1,goog.userAgent.ASSUME_GECKO=!1,goog.userAgent.ASSUME_WEBKIT=!1,goog.userAgent.ASSUME_MOBILE_WEBKIT=!1,goog.userAgent.ASSUME_OPERA=!1,goog.userAgent.ASSUME_ANY_VERSION=!1,goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA,goog.userAgent.getUserAgentString=function(){return goog.labs.userAgent.util.getUserAgent()},goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||null},goog.userAgent.getNavigator=function(){return goog.userAgent.getNavigatorTyped()},goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:goog.labs.userAgent.browser.isOpera(),goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE(),goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:goog.labs.userAgent.engine.isEdge(),goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE,goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:goog.labs.userAgent.engine.isGecko(),goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit(),goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&goog.labs.userAgent.util.matchUserAgent("Mobile")},goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_(),goog.userAgent.SAFARI=goog.userAgent.WEBKIT,goog.userAgent.determinePlatform_=function(){var o=goog.userAgent.getNavigatorTyped();return o&&o.platform||""},goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_(),goog.userAgent.ASSUME_MAC=!1,goog.userAgent.ASSUME_WINDOWS=!1,goog.userAgent.ASSUME_LINUX=!1,goog.userAgent.ASSUME_X11=!1,goog.userAgent.ASSUME_ANDROID=!1,goog.userAgent.ASSUME_IPHONE=!1,goog.userAgent.ASSUME_IPAD=!1,goog.userAgent.ASSUME_IPOD=!1,goog.userAgent.ASSUME_KAIOS=!1,goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD,goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh(),goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows(),goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()},goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_(),goog.userAgent.isX11_=function(){var o=goog.userAgent.getNavigatorTyped();return!!o&&goog.string.contains(o.appVersion||"","X11")},goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_(),goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:goog.labs.userAgent.platform.isAndroid(),goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone(),goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod(),goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos(),goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS(),goog.userAgent.determineVersion_=function(){var o="",e=goog.userAgent.getVersionRegexResult_();return e&&(o=e?e[1]:""),goog.userAgent.IE&&(e=goog.userAgent.getDocumentMode_(),e!=null&&e>parseFloat(o))?String(e):o},goog.userAgent.getVersionRegexResult_=function(){var o=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv:([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.EDGE)return/Edge\/([\d\.]+)/.exec(o);if(goog.userAgent.IE)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(o);if(goog.userAgent.WEBKIT)return/WebKit\/(\S+)/.exec(o);if(goog.userAgent.OPERA)return/(?:Version)[ \/]?(\S+)/.exec(o)},goog.userAgent.getDocumentMode_=function(){var o=goog.global.document;return o?o.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(o,e){return goog.string.compareVersions(o,e)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(o){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,o,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,o)})},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(o){return Number(goog.userAgent.DOCUMENT_MODE)>=o},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE){var o=goog.userAgent.getDocumentMode_();return o||parseInt(goog.userAgent.VERSION,10)||void 0}}(),goog.userAgent.product={},goog.userAgent.product.ASSUME_FIREFOX=!1,goog.userAgent.product.ASSUME_IPHONE=!1,goog.userAgent.product.ASSUME_IPAD=!1,goog.userAgent.product.ASSUME_ANDROID=!1,goog.userAgent.product.ASSUME_CHROME=!1,goog.userAgent.product.ASSUME_SAFARI=!1,goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI,goog.userAgent.product.OPERA=goog.userAgent.OPERA,goog.userAgent.product.IE=goog.userAgent.IE,goog.userAgent.product.EDGE=goog.userAgent.EDGE,goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox(),goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()},goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_(),goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser(),goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome(),goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!goog.labs.userAgent.platform.isIos()},goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_(),goog.crypt.base64={},goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=",goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.",goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4},goog.crypt.base64.paddingChars_="=.",goog.crypt.base64.isPadding_=function(o){return goog.string.contains(goog.crypt.base64.paddingChars_,o)},goog.crypt.base64.byteToCharMaps_={},goog.crypt.base64.charToByteMap_=null,goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA,goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||typeof goog.global.btoa=="function",goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&typeof goog.global.atob=="function",goog.crypt.base64.encodeByteArray=function(o,e){goog.asserts.assert(goog.isArrayLike(o),"encodeByteArray takes an array as a parameter"),e===void 0&&(e=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),e=goog.crypt.base64.byteToCharMaps_[e];for(var r=[],s=0;s<o.length;s+=3){var t=o[s],i=s+1<o.length,n=i?o[s+1]:0,p=s+2<o.length,g=p?o[s+2]:0,l=t>>2;t=(t&3)<<4|n>>4,n=(n&15)<<2|g>>6,g&=63,p||(g=64,i||(n=64)),r.push(e[l],e[t],e[n]||"",e[g]||"")}return r.join("")},goog.crypt.base64.encodeString=function(o,e){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!e?goog.global.btoa(o):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(o),e)},goog.crypt.base64.decodeString=function(o,e){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!e)return goog.global.atob(o);var r="";return goog.crypt.base64.decodeStringInternal_(o,function(s){r+=String.fromCharCode(s)}),r},goog.crypt.base64.decodeStringToByteArray=function(o,e){var r=[];return goog.crypt.base64.decodeStringInternal_(o,function(s){r.push(s)}),r},goog.crypt.base64.decodeStringToUint8Array=function(o){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var e=o.length,r=3*e/4;r%3?r=Math.floor(r):goog.crypt.base64.isPadding_(o[e-1])&&(r=goog.crypt.base64.isPadding_(o[e-2])?r-2:r-1);var s=new Uint8Array(r),t=0;return goog.crypt.base64.decodeStringInternal_(o,function(i){s[t++]=i}),s.subarray(0,t)},goog.crypt.base64.decodeStringInternal_=function(o,e){function r(g){for(;s<o.length;){var l=o.charAt(s++),u=goog.crypt.base64.charToByteMap_[l];if(u!=null)return u;if(!goog.string.isEmptyOrWhitespace(l))throw Error("Unknown base64 encoding at char: "+l)}return g}goog.crypt.base64.init_();for(var s=0;;){var t=r(-1),i=r(0),n=r(64),p=r(64);if(p===64&&t===-1)break;e(t<<2|i>>4),n!=64&&(e(i<<4&240|n>>2),p!=64&&e(n<<6&192|p))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var o=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),e=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var s=o.concat(e[r].split(""));goog.crypt.base64.byteToCharMaps_[r]=s;for(var t=0;t<s.length;t++){var i=s[t],n=goog.crypt.base64.charToByteMap_[i];n===void 0?goog.crypt.base64.charToByteMap_[i]=t:goog.asserts.assert(n===t)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(o){var e=o>>>0;o=Math.floor((o-e)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=e,jspb.utils.split64High=o},jspb.utils.splitInt64=function(o){var e=0>o;o=Math.abs(o);var r=o>>>0;o=Math.floor((o-r)/jspb.BinaryConstants.TWO_TO_32),o>>>=0,e&&(o=~o>>>0,r=(~r>>>0)+1,4294967295<r&&(r=0,o++,4294967295<o&&(o=0))),jspb.utils.split64Low=r,jspb.utils.split64High=o},jspb.utils.splitZigzag64=function(o){var e=0>o;o=2*Math.abs(o),jspb.utils.splitUint64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;e&&(o==0?r==0?r=o=4294967295:(r--,o=4294967295):o--),jspb.utils.split64Low=o,jspb.utils.split64High=r},jspb.utils.splitFloat32=function(o){var e=0>o?1:0;if(o=e?-o:o,o===0)0<1/o?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(o))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(o>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|2139095040)>>>0;else if(o<jspb.BinaryConstants.FLOAT32_MIN)o=Math.round(o/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|o)>>>0;else{var r=Math.floor(Math.log(o)/Math.LN2);o*=Math.pow(2,-r),o=Math.round(o*jspb.BinaryConstants.TWO_TO_23),16777216<=o&&++r,jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|r+127<<23|o&8388607)>>>0}},jspb.utils.splitFloat64=function(o){var e=0>o?1:0;if(o=e?-o:o,o===0)jspb.utils.split64High=0<1/o?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(o))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(o>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(e<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(o<jspb.BinaryConstants.FLOAT64_MIN){var r=o/Math.pow(2,-1074);o=r/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(e<<31|o)>>>0,jspb.utils.split64Low=r>>>0}else{r=o;var s=0;if(2<=r)for(;2<=r&&1023>s;)s++,r/=2;else for(;1>r&&-1022<s;)r*=2,s--;r=o*Math.pow(2,-s),o=r*jspb.BinaryConstants.TWO_TO_20&1048575,r=r*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(e<<31|s+1023<<20|o)>>>0,jspb.utils.split64Low=r}},jspb.utils.splitHash64=function(o){var e=o.charCodeAt(0),r=o.charCodeAt(1),s=o.charCodeAt(2),t=o.charCodeAt(3),i=o.charCodeAt(4),n=o.charCodeAt(5),p=o.charCodeAt(6);o=o.charCodeAt(7),jspb.utils.split64Low=e+(r<<8)+(s<<16)+(t<<24)>>>0,jspb.utils.split64High=i+(n<<8)+(p<<16)+(o<<24)>>>0},jspb.utils.joinUint64=function(o,e){return e*jspb.BinaryConstants.TWO_TO_32+(o>>>0)},jspb.utils.joinInt64=function(o,e){var r=e&2147483648;return r&&(o=~o+1>>>0,e=~e>>>0,o==0&&(e=e+1>>>0)),o=jspb.utils.joinUint64(o,e),r?-o:o},jspb.utils.toZigzag64=function(o,e,r){var s=e>>31;return r(o<<1^s,(e<<1|o>>>31)^s)},jspb.utils.joinZigzag64=function(o,e){return jspb.utils.fromZigzag64(o,e,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(o,e,r){var s=-(o&1);return r((o>>>1|e<<31)^s,e>>>1^s)},jspb.utils.joinFloat32=function(o,e){e=2*(o>>31)+1;var r=o>>>23&255;return o&=8388607,r==255?o?NaN:1/0*e:r==0?e*Math.pow(2,-149)*o:e*Math.pow(2,r-150)*(o+Math.pow(2,23))},jspb.utils.joinFloat64=function(o,e){var r=2*(e>>31)+1,s=e>>>20&2047;return o=jspb.BinaryConstants.TWO_TO_32*(e&1048575)+o,s==2047?o?NaN:1/0*r:s==0?r*Math.pow(2,-1074)*o:r*Math.pow(2,s-1075)*(o+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(o,e){return String.fromCharCode(o>>>0&255,o>>>8&255,o>>>16&255,o>>>24&255,e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(o,e){function r(t,i){return t=t?String(t):"",i?"0000000".slice(t.length)+t:t}if(2097151>=e)return""+jspb.utils.joinUint64(o,e);var s=(o>>>24|e<<8)>>>0&16777215;return e=e>>16&65535,o=(o&16777215)+6777216*s+6710656*e,s+=8147497*e,e*=2,1e7<=o&&(s+=Math.floor(o/1e7),o%=1e7),1e7<=s&&(e+=Math.floor(s/1e7),s%=1e7),r(e,0)+r(s,e)+r(o,1)},jspb.utils.joinSignedDecimalString=function(o,e){var r=e&2147483648;return r&&(o=~o+1>>>0,e=~e+(o==0?1:0)>>>0),o=jspb.utils.joinUnsignedDecimalString(o,e),r?"-"+o:o},jspb.utils.hash64ToDecimalString=function(o,e){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinSignedDecimalString(o,r):jspb.utils.joinUnsignedDecimalString(o,r)},jspb.utils.hash64ArrayToDecimalStrings=function(o,e){for(var r=Array(o.length),s=0;s<o.length;s++)r[s]=jspb.utils.hash64ToDecimalString(o[s],e);return r},jspb.utils.decimalStringToHash64=function(o){function e(n,p){for(var g=0;8>g&&(n!==1||0<p);g++)p=n*t[g]+p,t[g]=p&255,p>>>=8}function r(){for(var n=0;8>n;n++)t[n]=~t[n]&255}jspb.asserts.assert(0<o.length);var s=!1;o[0]==="-"&&(s=!0,o=o.slice(1));for(var t=[0,0,0,0,0,0,0,0],i=0;i<o.length;i++)e(10,o.charCodeAt(i)-jspb.utils.ZERO_CHAR_CODE_);return s&&(r(),e(1,1)),goog.crypt.byteArrayToString(t)},jspb.utils.splitDecimalString=function(o){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o))},jspb.utils.toHexDigit_=function(o){return String.fromCharCode(10>o?jspb.utils.ZERO_CHAR_CODE_+o:jspb.utils.A_CHAR_CODE_-10+o)},jspb.utils.fromHexCharCode_=function(o){return o>=jspb.utils.A_CHAR_CODE_?o-jspb.utils.A_CHAR_CODE_+10:o-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(o){var e=Array(18);e[0]="0",e[1]="x";for(var r=0;8>r;r++){var s=o.charCodeAt(7-r);e[2*r+2]=jspb.utils.toHexDigit_(s>>4),e[2*r+3]=jspb.utils.toHexDigit_(s&15)}return e.join("")},jspb.utils.hexStringToHash64=function(o){o=o.toLowerCase(),jspb.asserts.assert(o.length==18),jspb.asserts.assert(o[0]=="0"),jspb.asserts.assert(o[1]=="x");for(var e="",r=0;8>r;r++){var s=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+2)),t=jspb.utils.fromHexCharCode_(o.charCodeAt(2*r+3));e=String.fromCharCode(16*s+t)+e}return e},jspb.utils.hash64ToNumber=function(o,e){jspb.utils.splitHash64(o),o=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinInt64(o,r):jspb.utils.joinUint64(o,r)},jspb.utils.numberToHash64=function(o){return jspb.utils.splitInt64(o),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(o,e,r){for(var s=0,t=e;t<r;t++)s+=o[t]>>7;return r-e-s},jspb.utils.countVarintFields=function(o,e,r,s){var t=0;if(s=8*s+jspb.BinaryConstants.WireType.VARINT,128>s)for(;e<r&&o[e++]==s;)for(t++;;){var i=o[e++];if((i&128)==0)break}else for(;e<r;){for(i=s;128<i;){if(o[e]!=(i&127|128))return t;e++,i>>=7}if(o[e++]!=i)break;for(t++;i=o[e++],(i&128)!=0;);}return t},jspb.utils.countFixedFields_=function(o,e,r,s,t){var i=0;if(128>s)for(;e<r&&o[e++]==s;)i++,e+=t;else for(;e<r;){for(var n=s;128<n;){if(o[e++]!=(n&127|128))return i;n>>=7}if(o[e++]!=n)break;i++,e+=t}return i},jspb.utils.countFixed32Fields=function(o,e,r,s){return jspb.utils.countFixedFields_(o,e,r,8*s+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(o,e,r,s){return jspb.utils.countFixedFields_(o,e,r,8*s+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(o,e,r,s){var t=0;for(s=8*s+jspb.BinaryConstants.WireType.DELIMITED;e<r;){for(var i=s;128<i;){if(o[e++]!=(i&127|128))return t;i>>=7}if(o[e++]!=i)break;t++;for(var n=0,p=1;i=o[e++],n+=(i&127)*p,p*=128,(i&128)!=0;);e+=n}return t},jspb.utils.debugBytesToTextFormat=function(o){var e='"';if(o){o=jspb.utils.byteSourceToUint8Array(o);for(var r=0;r<o.length;r++)e+="\\x",16>o[r]&&(e+="0"),e+=o[r].toString(16)}return e+'"'},jspb.utils.debugScalarToTextFormat=function(o){return typeof o=="string"?goog.string.quote(o):o.toString()},jspb.utils.stringToByteArray=function(o){for(var e=new Uint8Array(o.length),r=0;r<o.length;r++){var s=o.charCodeAt(r);if(255<s)throw Error("Conversion error: string contains codepoint outside of byte range");e[r]=s}return e},jspb.utils.byteSourceToUint8Array=function(o){return o.constructor===Uint8Array?o:o.constructor===ArrayBuffer||o.constructor===Array?new Uint8Array(o):o.constructor===String?goog.crypt.base64.decodeStringToUint8Array(o):o instanceof Uint8Array?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):(jspb.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(o,e,r){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,o&&this.setBlock(o,e,r)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(o,e,r){if(jspb.BinaryDecoder.instanceCache_.length){var s=jspb.BinaryDecoder.instanceCache_.pop();return o&&s.setBlock(o,e,r),s}return new jspb.BinaryDecoder(o,e,r)},jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)},jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)},jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1},jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_},jspb.BinaryDecoder.prototype.setBlock=function(o,e,r){this.bytes_=jspb.utils.byteSourceToUint8Array(o),this.start_=e!==void 0?e:0,this.end_=r!==void 0?this.start_+r:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(o){this.end_=o},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(o){this.cursor_=o},jspb.BinaryDecoder.prototype.advance=function(o){this.cursor_+=o,jspb.asserts.assert(this.cursor_<=this.end_)},jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_},jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_},jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_},jspb.BinaryDecoder.prototype.readSplitVarint64=function(o){for(var e=128,r=0,s=0,t=0;4>t&&128<=e;t++)e=this.bytes_[this.cursor_++],r|=(e&127)<<7*t;if(128<=e&&(e=this.bytes_[this.cursor_++],r|=(e&127)<<28,s|=(e&127)>>4),128<=e)for(t=0;5>t&&128<=e;t++)e=this.bytes_[this.cursor_++],s|=(e&127)<<7*t+3;if(128>e)return o(r>>>0,s>>>0);jspb.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(o){return this.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,o)})},jspb.BinaryDecoder.prototype.readSplitFixed64=function(o){var e=this.bytes_,r=this.cursor_;this.cursor_+=8;for(var s=0,t=0,i=r+7;i>=r;i--)s=s<<8|e[i],t=t<<8|e[i+4];return o(s,t)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;this.bytes_[this.cursor_]&128;)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(o){for(;128<o;)this.cursor_--,o>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var o=this.bytes_,e=o[this.cursor_+0],r=e&127;return 128>e?(this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+1],r|=(e&127)<<7,128>e?(this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+2],r|=(e&127)<<14,128>e?(this.cursor_+=3,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+3],r|=(e&127)<<21,128>e?(this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),r):(e=o[this.cursor_+4],r|=(e&15)<<28,128>e?(this.cursor_+=5,jspb.asserts.assert(this.cursor_<=this.end_),r>>>0):(this.cursor_+=5,128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&128<=o[this.cursor_++]&&jspb.asserts.assert(!1),jspb.asserts.assert(this.cursor_<=this.end_),r)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=function(){return~~this.readUnsignedVarint32()},jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()},jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()},jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var o=this.readUnsignedVarint32();return o>>>1^-(o&1)},jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)},jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)},jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)},jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)},jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readUint8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),o},jspb.BinaryDecoder.prototype.readUint16=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),o<<0|e<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),(o<<0|e<<8|r<<16|s<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinUint64(o,e)},jspb.BinaryDecoder.prototype.readUint64String=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinUnsignedDecimalString(o,e)},jspb.BinaryDecoder.prototype.readInt8=function(){var o=this.bytes_[this.cursor_+0];return this.cursor_+=1,jspb.asserts.assert(this.cursor_<=this.end_),o<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),(o<<0|e<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var o=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),o<<0|e<<8|r<<16|s<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinInt64(o,e)},jspb.BinaryDecoder.prototype.readInt64String=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinSignedDecimalString(o,e)},jspb.BinaryDecoder.prototype.readFloat=function(){var o=this.readUint32();return jspb.utils.joinFloat32(o,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var o=this.readUint32(),e=this.readUint32();return jspb.utils.joinFloat64(o,e)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(o){var e=this.bytes_,r=this.cursor_;o=r+o;for(var s=[],t="";r<o;){var i=e[r++];if(128>i)s.push(i);else{if(192>i)continue;if(224>i){var n=e[r++];s.push((i&31)<<6|n&63)}else if(240>i){n=e[r++];var p=e[r++];s.push((i&15)<<12|(n&63)<<6|p&63)}else if(248>i){n=e[r++],p=e[r++];var g=e[r++];i=(i&7)<<18|(n&63)<<12|(p&63)<<6|g&63,i-=65536,s.push((i>>10&1023)+55296,(i&1023)+56320)}}8192<=s.length&&(t+=String.fromCharCode.apply(null,s),s.length=0)}return t+=goog.crypt.byteArrayToString(s),this.cursor_=r,t},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var o=this.readUnsignedVarint32();return this.readString(o)},jspb.BinaryDecoder.prototype.readBytes=function(o){if(0>o||this.cursor_+o>this.bytes_.length)return this.error_=!0,jspb.asserts.fail("Invalid byte length!"),new Uint8Array(0);var e=this.bytes_.subarray(this.cursor_,this.cursor_+o);return this.cursor_+=o,jspb.asserts.assert(this.cursor_<=this.end_),e},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var o=this.bytes_,e=this.cursor_,r=o[e+0],s=o[e+1],t=o[e+2],i=o[e+3],n=o[e+4],p=o[e+5],g=o[e+6];return o=o[e+7],this.cursor_+=8,String.fromCharCode(r,s,t,i,n,p,g,o)},jspb.BinaryReader=function(o,e,r){this.decoder_=jspb.BinaryDecoder.alloc(o,e,r),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null},jspb.BinaryReader.instanceCache_=[],jspb.BinaryReader.alloc=function(o,e,r){if(jspb.BinaryReader.instanceCache_.length){var s=jspb.BinaryReader.instanceCache_.pop();return o&&s.decoder_.setBlock(o,e,r),s}return new jspb.BinaryReader(o,e,r)},jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc,jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)},jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_},jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()},jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()},jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_},goog.exportProperty(jspb.BinaryReader.prototype,"getFieldNumber",jspb.BinaryReader.prototype.getFieldNumber),jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},goog.exportProperty(jspb.BinaryReader.prototype,"isDelimited",jspb.BinaryReader.prototype.isDelimited),jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},goog.exportProperty(jspb.BinaryReader.prototype,"isEndGroup",jspb.BinaryReader.prototype.isEndGroup),jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(o,e,r){this.decoder_.setBlock(o,e,r),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.advance=function(o){this.decoder_.advance(o)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return jspb.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var o=this.decoder_.readUnsignedVarint32(),e=o>>>3;return o&=7,o!=jspb.BinaryConstants.WireType.VARINT&&o!=jspb.BinaryConstants.WireType.FIXED32&&o!=jspb.BinaryConstants.WireType.FIXED64&&o!=jspb.BinaryConstants.WireType.DELIMITED&&o!=jspb.BinaryConstants.WireType.START_GROUP&&o!=jspb.BinaryConstants.WireType.END_GROUP?(jspb.asserts.fail("Invalid wire type: %s (at position %s)",o,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=e,this.nextWireType_=o,!0)},goog.exportProperty(jspb.BinaryReader.prototype,"nextField",jspb.BinaryReader.prototype.nextField),jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var o=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==o;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(jspb.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)jspb.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var o=this.decoder_.readUnsignedVarint32();this.decoder_.advance(o)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(jspb.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(jspb.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){var o=this.nextField_;do{if(!this.nextField()){jspb.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=o&&(jspb.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}while(1)},jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:jspb.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(o,e){this.readCallbacks_===null&&(this.readCallbacks_={}),jspb.asserts.assert(!this.readCallbacks_[o]),this.readCallbacks_[o]=e},jspb.BinaryReader.prototype.runReadCallback=function(o){return jspb.asserts.assert(this.readCallbacks_!==null),o=this.readCallbacks_[o],jspb.asserts.assert(o),o(this)},jspb.BinaryReader.prototype.readAny=function(o){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(o);var e=jspb.BinaryConstants.FieldType;switch(o){case e.DOUBLE:return this.readDouble();case e.FLOAT:return this.readFloat();case e.INT64:return this.readInt64();case e.UINT64:return this.readUint64();case e.INT32:return this.readInt32();case e.FIXED64:return this.readFixed64();case e.FIXED32:return this.readFixed32();case e.BOOL:return this.readBool();case e.STRING:return this.readString();case e.GROUP:jspb.asserts.fail("Group field type not supported in readAny()");case e.MESSAGE:jspb.asserts.fail("Message field type not supported in readAny()");case e.BYTES:return this.readBytes();case e.UINT32:return this.readUint32();case e.ENUM:return this.readEnum();case e.SFIXED32:return this.readSfixed32();case e.SFIXED64:return this.readSfixed64();case e.SINT32:return this.readSint32();case e.SINT64:return this.readSint64();case e.FHASH64:return this.readFixedHash64();case e.VHASH64:return this.readVarintHash64();default:jspb.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(o,e){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var r=this.decoder_.getEnd(),s=this.decoder_.readUnsignedVarint32();s=this.decoder_.getCursor()+s,this.decoder_.setEnd(s),e(o,this),this.decoder_.setCursor(s),this.decoder_.setEnd(r)},goog.exportProperty(jspb.BinaryReader.prototype,"readMessage",jspb.BinaryReader.prototype.readMessage),jspb.BinaryReader.prototype.readGroup=function(o,e,r){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),jspb.asserts.assert(this.nextField_==o),r(e,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(jspb.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},goog.exportProperty(jspb.BinaryReader.prototype,"readGroup",jspb.BinaryReader.prototype.readGroup),jspb.BinaryReader.prototype.getFieldDecoder=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32(),e=this.decoder_.getCursor(),r=e+o;return o=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),e,o),this.decoder_.setCursor(r),o},jspb.BinaryReader.prototype.readInt32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt32",jspb.BinaryReader.prototype.readInt32),jspb.BinaryReader.prototype.readInt32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt64",jspb.BinaryReader.prototype.readInt64),jspb.BinaryReader.prototype.readInt64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint32",jspb.BinaryReader.prototype.readUint32),jspb.BinaryReader.prototype.readUint32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint64",jspb.BinaryReader.prototype.readUint64),jspb.BinaryReader.prototype.readUint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint32",jspb.BinaryReader.prototype.readSint32),jspb.BinaryReader.prototype.readSint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint64",jspb.BinaryReader.prototype.readSint64),jspb.BinaryReader.prototype.readSint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed32",jspb.BinaryReader.prototype.readFixed32),jspb.BinaryReader.prototype.readFixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed64",jspb.BinaryReader.prototype.readFixed64),jspb.BinaryReader.prototype.readFixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed32",jspb.BinaryReader.prototype.readSfixed32),jspb.BinaryReader.prototype.readSfixed32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed64",jspb.BinaryReader.prototype.readSfixed64),jspb.BinaryReader.prototype.readSfixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},goog.exportProperty(jspb.BinaryReader.prototype,"readFloat",jspb.BinaryReader.prototype.readFloat),jspb.BinaryReader.prototype.readDouble=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},goog.exportProperty(jspb.BinaryReader.prototype,"readDouble",jspb.BinaryReader.prototype.readDouble),jspb.BinaryReader.prototype.readBool=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readBool",jspb.BinaryReader.prototype.readBool),jspb.BinaryReader.prototype.readEnum=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readEnum",jspb.BinaryReader.prototype.readEnum),jspb.BinaryReader.prototype.readString=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(o)},goog.exportProperty(jspb.BinaryReader.prototype,"readString",jspb.BinaryReader.prototype.readString),jspb.BinaryReader.prototype.readBytes=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(o)},goog.exportProperty(jspb.BinaryReader.prototype,"readBytes",jspb.BinaryReader.prototype.readBytes),jspb.BinaryReader.prototype.readVarintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(o)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,o)})},jspb.BinaryReader.prototype.readFixedHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(o){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(o)},jspb.BinaryReader.prototype.readPackedField_=function(o){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();e=this.decoder_.getCursor()+e;for(var r=[];this.decoder_.getCursor()<e;)r.push(o.call(this.decoder_));return r},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt32",jspb.BinaryReader.prototype.readPackedInt32),jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt64",jspb.BinaryReader.prototype.readPackedInt64),jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint32",jspb.BinaryReader.prototype.readPackedUint32),jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint64",jspb.BinaryReader.prototype.readPackedUint64),jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint32",jspb.BinaryReader.prototype.readPackedSint32),jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint64",jspb.BinaryReader.prototype.readPackedSint64),jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed32",jspb.BinaryReader.prototype.readPackedFixed32),jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed64",jspb.BinaryReader.prototype.readPackedFixed64),jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed32",jspb.BinaryReader.prototype.readPackedSfixed32),jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed64",jspb.BinaryReader.prototype.readPackedSfixed64),jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFloat",jspb.BinaryReader.prototype.readPackedFloat),jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedDouble",jspb.BinaryReader.prototype.readPackedDouble),jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedBool",jspb.BinaryReader.prototype.readPackedBool),jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedEnum",jspb.BinaryReader.prototype.readPackedEnum),jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)},jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)},jspb.BinaryEncoder=function(){this.buffer_=[]},jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length},jspb.BinaryEncoder.prototype.end=function(){var o=this.buffer_;return this.buffer_=[],o},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(o,e){for(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32);0<e||127<o;)this.buffer_.push(o&127|128),o=(o>>>7|e<<25)>>>0,e>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(o,e){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(o),this.writeUint32(e)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(o){for(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32);127<o;)this.buffer_.push(o&127|128),o>>>=7;this.buffer_.push(o)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(o){if(jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),0<=o)this.writeUnsignedVarint32(o);else{for(var e=0;9>e;e++)this.buffer_.push(o&127|128),o>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((o<<1^o>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(o){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(o))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(o){var e=this;jspb.utils.splitHash64(o),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,function(r,s){e.writeSplitVarint64(r>>>0,s>>>0)})},jspb.BinaryEncoder.prototype.writeUint8=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&256>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&65536>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(0<=o&&o<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(-128<=o&&128>o),this.buffer_.push(o>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(-32768<=o&&32768>o),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(o>>>0&255),this.buffer_.push(o>>>8&255),this.buffer_.push(o>>>16&255),this.buffer_.push(o>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_63&&o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(o),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(+o>=-jspb.BinaryConstants.TWO_TO_63&&+o<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(o)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(o){jspb.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT32_MAX&&o<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(o),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(o){jspb.asserts.assert(o===1/0||o===-1/0||isNaN(o)||o>=-jspb.BinaryConstants.FLOAT64_MAX&&o<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(o){jspb.asserts.assert(typeof o=="boolean"||typeof o=="number"),this.buffer_.push(o?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(o){jspb.asserts.assert(o==Math.floor(o)),jspb.asserts.assert(o>=-jspb.BinaryConstants.TWO_TO_31&&o<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(o)},jspb.BinaryEncoder.prototype.writeBytes=function(o){this.buffer_.push.apply(this.buffer_,o)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(o){jspb.utils.splitHash64(o),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(o){jspb.utils.splitHash64(o),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(o){var e=this.buffer_.length;jspb.asserts.assertString(o);for(var r=0;r<o.length;r++){var s=o.charCodeAt(r);if(128>s)this.buffer_.push(s);else if(2048>s)this.buffer_.push(s>>6|192),this.buffer_.push(s&63|128);else if(65536>s)if(55296<=s&&56319>=s&&r+1<o.length){var t=o.charCodeAt(r+1);56320<=t&&57343>=t&&(s=1024*(s-55296)+t-56320+65536,this.buffer_.push(s>>18|240),this.buffer_.push(s>>12&63|128),this.buffer_.push(s>>6&63|128),this.buffer_.push(s&63|128),r++)}else this.buffer_.push(s>>12|224),this.buffer_.push(s>>6&63|128),this.buffer_.push(s&63|128)}return this.buffer_.length-e},jspb.arith={},jspb.arith.UInt64=function(o,e){this.lo=o,this.hi=e},jspb.arith.UInt64.prototype.cmp=function(o){return this.hi<o.hi||this.hi==o.hi&&this.lo<o.lo?-1:this.hi==o.hi&&this.lo==o.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},jspb.arith.UInt64.prototype.msb=function(){return!!(this.hi&2147483648)},jspb.arith.UInt64.prototype.lsb=function(){return!!(this.lo&1)},jspb.arith.UInt64.prototype.zero=function(){return this.lo==0&&this.hi==0},jspb.arith.UInt64.prototype.add=function(o){return new jspb.arith.UInt64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(o){return new jspb.arith.UInt64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(o,e){var r=o&65535;o>>>=16;var s=e&65535,t=e>>>16;for(e=r*s+65536*(r*t&65535)+65536*(o*s&65535),r=o*t+(r*t>>>16)+(o*s>>>16);4294967296<=e;)e-=4294967296,r+=1;return new jspb.arith.UInt64(e>>>0,r>>>0)},jspb.arith.UInt64.prototype.mul=function(o){var e=jspb.arith.UInt64.mul32x32(this.lo,o);return o=jspb.arith.UInt64.mul32x32(this.hi,o),o.hi=o.lo,o.lo=0,e.add(o)},jspb.arith.UInt64.prototype.div=function(o){if(o==0)return[];var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(this.lo,this.hi);o=new jspb.arith.UInt64(o,0);for(var s=new jspb.arith.UInt64(1,0);!o.msb();)o=o.leftShift(),s=s.leftShift();for(;!s.zero();)0>=o.cmp(r)&&(e=e.add(s),r=r.sub(o)),o=o.rightShift(),s=s.rightShift();return[e,r]},jspb.arith.UInt64.prototype.toString=function(){for(var o="",e=this;!e.zero();){e=e.div(10);var r=e[0];o=e[1].lo+o,e=r}return o==""&&(o="0"),o},jspb.arith.UInt64.fromString=function(o){for(var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(0,0),s=0;s<o.length;s++){if("0">o[s]||"9"<o[s])return null;var t=parseInt(o[s],10);r.lo=t,e=e.mul(10).add(r)}return e},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(o,e){this.lo=o,this.hi=e},jspb.arith.Int64.prototype.add=function(o){return new jspb.arith.Int64((this.lo+o.lo&4294967295)>>>0>>>0,((this.hi+o.hi&4294967295)>>>0)+(4294967296<=this.lo+o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(o){return new jspb.arith.Int64((this.lo-o.lo&4294967295)>>>0>>>0,((this.hi-o.hi&4294967295)>>>0)-(0>this.lo-o.lo?1:0)>>>0)},jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)},jspb.arith.Int64.prototype.toString=function(){var o=(this.hi&2147483648)!=0,e=new jspb.arith.UInt64(this.lo,this.hi);return o&&(e=new jspb.arith.UInt64(0,0).sub(e)),(o?"-":"")+e.toString()},jspb.arith.Int64.fromString=function(o){var e=0<o.length&&o[0]=="-";return e&&(o=o.substring(1)),o=jspb.arith.UInt64.fromString(o),o===null?null:(e&&(o=new jspb.arith.UInt64(0,0).sub(o)),new jspb.arith.Int64(o.lo,o.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(o){var e=this.encoder_.end();this.blocks_.push(e),this.blocks_.push(o),this.totalLength_+=e.length+o.length},jspb.BinaryWriter.prototype.beginDelimited_=function(o){return this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),o=this.encoder_.end(),this.blocks_.push(o),this.totalLength_+=o.length,o.push(this.totalLength_),o},jspb.BinaryWriter.prototype.endDelimited_=function(o){var e=o.pop();for(e=this.totalLength_+this.encoder_.length()-e,jspb.asserts.assert(0<=e);127<e;)o.push(e&127|128),e>>>=7,this.totalLength_++;o.push(e),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(o,e,r){this.appendUint8Array_(o.subarray(e,r))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(o,e,r){o!=null&&e!=null&&r!=null&&this.writeSerializedMessage(o,e,r)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){jspb.asserts.assert(this.bookmarks_.length==0);for(var o=new Uint8Array(this.totalLength_+this.encoder_.length()),e=this.blocks_,r=e.length,s=0,t=0;t<r;t++){var i=e[t];o.set(i,s),s+=i.length}return e=this.encoder_.end(),o.set(e,s),s+=e.length,jspb.asserts.assert(s==o.length),this.blocks_=[o],o},goog.exportProperty(jspb.BinaryWriter.prototype,"getResultBuffer",jspb.BinaryWriter.prototype.getResultBuffer),jspb.BinaryWriter.prototype.getResultBase64String=function(o){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),o)},jspb.BinaryWriter.prototype.beginSubMessage=function(o){this.bookmarks_.push(this.beginDelimited_(o))},jspb.BinaryWriter.prototype.endSubMessage=function(){jspb.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(o,e){jspb.asserts.assert(1<=o&&o==Math.floor(o)),this.encoder_.writeUnsignedVarint32(8*o+e)},jspb.BinaryWriter.prototype.writeAny=function(o,e,r){var s=jspb.BinaryConstants.FieldType;switch(o){case s.DOUBLE:this.writeDouble(e,r);break;case s.FLOAT:this.writeFloat(e,r);break;case s.INT64:this.writeInt64(e,r);break;case s.UINT64:this.writeUint64(e,r);break;case s.INT32:this.writeInt32(e,r);break;case s.FIXED64:this.writeFixed64(e,r);break;case s.FIXED32:this.writeFixed32(e,r);break;case s.BOOL:this.writeBool(e,r);break;case s.STRING:this.writeString(e,r);break;case s.GROUP:jspb.asserts.fail("Group field type not supported in writeAny()");break;case s.MESSAGE:jspb.asserts.fail("Message field type not supported in writeAny()");break;case s.BYTES:this.writeBytes(e,r);break;case s.UINT32:this.writeUint32(e,r);break;case s.ENUM:this.writeEnum(e,r);break;case s.SFIXED32:this.writeSfixed32(e,r);break;case s.SFIXED64:this.writeSfixed64(e,r);break;case s.SINT32:this.writeSint32(e,r);break;case s.SINT64:this.writeSint64(e,r);break;case s.FHASH64:this.writeFixedHash64(e,r);break;case s.VHASH64:this.writeVarintHash64(e,r);break;default:jspb.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(e))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(e))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(e))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(e))},jspb.BinaryWriter.prototype.writeInt32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt32",jspb.BinaryWriter.prototype.writeInt32),jspb.BinaryWriter.prototype.writeInt32String=function(o,e){e!=null&&(e=parseInt(e,10),jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(o,e))},jspb.BinaryWriter.prototype.writeInt64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt64",jspb.BinaryWriter.prototype.writeInt64),jspb.BinaryWriter.prototype.writeInt64String=function(o,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeUint32=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint32",jspb.BinaryWriter.prototype.writeUint32),jspb.BinaryWriter.prototype.writeUint32String=function(o,e){e!=null&&(e=parseInt(e,10),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(o,e))},jspb.BinaryWriter.prototype.writeUint64=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint64",jspb.BinaryWriter.prototype.writeUint64),jspb.BinaryWriter.prototype.writeUint64String=function(o,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSint32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint32",jspb.BinaryWriter.prototype.writeSint32),jspb.BinaryWriter.prototype.writeSint64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(o,e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint64",jspb.BinaryWriter.prototype.writeSint64),jspb.BinaryWriter.prototype.writeSintHash64=function(o,e){e!=null&&this.writeZigzagVarintHash64_(o,e)},jspb.BinaryWriter.prototype.writeSint64String=function(o,e){e!=null&&this.writeZigzagVarint64String_(o,e)},jspb.BinaryWriter.prototype.writeFixed32=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed32",jspb.BinaryWriter.prototype.writeFixed32),jspb.BinaryWriter.prototype.writeFixed64=function(o,e){e!=null&&(jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed64",jspb.BinaryWriter.prototype.writeFixed64),jspb.BinaryWriter.prototype.writeFixed64String=function(o,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed32",jspb.BinaryWriter.prototype.writeSfixed32),jspb.BinaryWriter.prototype.writeSfixed64=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed64",jspb.BinaryWriter.prototype.writeSfixed64),jspb.BinaryWriter.prototype.writeSfixed64String=function(o,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeFloat=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFloat",jspb.BinaryWriter.prototype.writeFloat),jspb.BinaryWriter.prototype.writeDouble=function(o,e){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeDouble",jspb.BinaryWriter.prototype.writeDouble),jspb.BinaryWriter.prototype.writeBool=function(o,e){e!=null&&(jspb.asserts.assert(typeof e=="boolean"||typeof e=="number"),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBool",jspb.BinaryWriter.prototype.writeBool),jspb.BinaryWriter.prototype.writeEnum=function(o,e){e!=null&&(jspb.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeEnum",jspb.BinaryWriter.prototype.writeEnum),jspb.BinaryWriter.prototype.writeString=function(o,e){e!=null&&(o=this.beginDelimited_(o),this.encoder_.writeString(e),this.endDelimited_(o))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeString",jspb.BinaryWriter.prototype.writeString),jspb.BinaryWriter.prototype.writeBytes=function(o,e){e!=null&&(e=jspb.utils.byteSourceToUint8Array(e),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),this.appendUint8Array_(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBytes",jspb.BinaryWriter.prototype.writeBytes),jspb.BinaryWriter.prototype.writeMessage=function(o,e,r){e!=null&&(o=this.beginDelimited_(o),r(e,this),this.endDelimited_(o))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeMessage",jspb.BinaryWriter.prototype.writeMessage),jspb.BinaryWriter.prototype.writeMessageSet=function(o,e,r){e!=null&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(o),o=this.beginDelimited_(3),r(e,this),this.endDelimited_(o),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(o,e,r){e!=null&&(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(e,this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeGroup",jspb.BinaryWriter.prototype.writeGroup),jspb.BinaryWriter.prototype.writeFixedHash64=function(o,e){e!=null&&(jspb.asserts.assert(e.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(e))},jspb.BinaryWriter.prototype.writeVarintHash64=function(o,e){e!=null&&(jspb.asserts.assert(e.length==8),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(e))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e,r)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e,r)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(o,e,r){this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.VARINT);var s=this.encoder_;jspb.utils.toZigzag64(e,r,function(t,i){s.writeSplitVarint64(t>>>0,i>>>0)})},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt32",jspb.BinaryWriter.prototype.writeRepeatedInt32),jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt32String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt64",jspb.BinaryWriter.prototype.writeRepeatedInt64),jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitFixed64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitVarint64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(o,e,r,s){if(e!=null)for(var t=0;t<e.length;t++)this.writeSplitZigzagVarint64(o,r(e[t]),s(e[t]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint32",jspb.BinaryWriter.prototype.writeRepeatedUint32),jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint32String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint64",jspb.BinaryWriter.prototype.writeRepeatedUint64),jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint32_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint32",jspb.BinaryWriter.prototype.writeRepeatedSint32),jspb.BinaryWriter.prototype.writeRepeatedSint64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64_(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint64",jspb.BinaryWriter.prototype.writeRepeatedSint64),jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64String_(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarintHash64_(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed32(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed32",jspb.BinaryWriter.prototype.writeRepeatedFixed32),jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64",jspb.BinaryWriter.prototype.writeRepeatedFixed64),jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64String(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64String",jspb.BinaryWriter.prototype.writeRepeatedFixed64String),jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed32(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed32",jspb.BinaryWriter.prototype.writeRepeatedSfixed32),jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed64",jspb.BinaryWriter.prototype.writeRepeatedSfixed64),jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64String(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFloat(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFloat",jspb.BinaryWriter.prototype.writeRepeatedFloat),jspb.BinaryWriter.prototype.writeRepeatedDouble=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeDouble(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedDouble",jspb.BinaryWriter.prototype.writeRepeatedDouble),jspb.BinaryWriter.prototype.writeRepeatedBool=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBool(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBool",jspb.BinaryWriter.prototype.writeRepeatedBool),jspb.BinaryWriter.prototype.writeRepeatedEnum=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeEnum(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedEnum",jspb.BinaryWriter.prototype.writeRepeatedEnum),jspb.BinaryWriter.prototype.writeRepeatedString=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeString(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedString",jspb.BinaryWriter.prototype.writeRepeatedString),jspb.BinaryWriter.prototype.writeRepeatedBytes=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBytes(o,e[r])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBytes",jspb.BinaryWriter.prototype.writeRepeatedBytes),jspb.BinaryWriter.prototype.writeRepeatedMessage=function(o,e,r){if(e!=null)for(var s=0;s<e.length;s++){var t=this.beginDelimited_(o);r(e[s],this),this.endDelimited_(t)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedMessage",jspb.BinaryWriter.prototype.writeRepeatedMessage),jspb.BinaryWriter.prototype.writeRepeatedGroup=function(o,e,r){if(e!=null)for(var s=0;s<e.length;s++)this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.START_GROUP),r(e[s],this),this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.END_GROUP)},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedGroup",jspb.BinaryWriter.prototype.writeRepeatedGroup),jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixedHash64(o,e[r])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(o,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeVarintHash64(o,e[r])},jspb.BinaryWriter.prototype.writePackedInt32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt32",jspb.BinaryWriter.prototype.writePackedInt32),jspb.BinaryWriter.prototype.writePackedInt32String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(parseInt(e[r],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt64",jspb.BinaryWriter.prototype.writePackedInt64),jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=0;t<e.length;t++)this.encoder_.writeSplitFixed64(r(e[t]),s(e[t]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=0;t<e.length;t++)this.encoder_.writeSplitVarint64(r(e[t]),s(e[t]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(o,e,r,s){if(e!=null){o=this.beginDelimited_(o);for(var t=this.encoder_,i=0;i<e.length;i++)jspb.utils.toZigzag64(r(e[i]),s(e[i]),function(n,p){t.writeSplitVarint64(n>>>0,p>>>0)});this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++){var s=jspb.arith.Int64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint32",jspb.BinaryWriter.prototype.writePackedUint32),jspb.BinaryWriter.prototype.writePackedUint32String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(parseInt(e[r],10));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedUint64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint64",jspb.BinaryWriter.prototype.writePackedUint64),jspb.BinaryWriter.prototype.writePackedUint64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++){var s=jspb.arith.UInt64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSint32=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint32(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint32",jspb.BinaryWriter.prototype.writePackedSint32),jspb.BinaryWriter.prototype.writePackedSint64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint64(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint64",jspb.BinaryWriter.prototype.writePackedSint64),jspb.BinaryWriter.prototype.writePackedSint64String=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(e[r]));this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(e[r]);this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeUint32(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed32",jspb.BinaryWriter.prototype.writePackedFixed32),jspb.BinaryWriter.prototype.writePackedFixed64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeUint64(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed64",jspb.BinaryWriter.prototype.writePackedFixed64),jspb.BinaryWriter.prototype.writePackedFixed64String=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++){var r=jspb.arith.UInt64.fromString(e[o]);this.encoder_.writeSplitFixed64(r.lo,r.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeInt32(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed32",jspb.BinaryWriter.prototype.writePackedSfixed32),jspb.BinaryWriter.prototype.writePackedSfixed64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeInt64(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed64",jspb.BinaryWriter.prototype.writePackedSfixed64),jspb.BinaryWriter.prototype.writePackedSfixed64String=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeInt64String(e[o])},jspb.BinaryWriter.prototype.writePackedFloat=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),o=0;o<e.length;o++)this.encoder_.writeFloat(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFloat",jspb.BinaryWriter.prototype.writePackedFloat),jspb.BinaryWriter.prototype.writePackedDouble=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeDouble(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedDouble",jspb.BinaryWriter.prototype.writePackedDouble),jspb.BinaryWriter.prototype.writePackedBool=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),o=0;o<e.length;o++)this.encoder_.writeBool(e[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedBool",jspb.BinaryWriter.prototype.writePackedBool),jspb.BinaryWriter.prototype.writePackedEnum=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeEnum(e[r]);this.endDelimited_(o)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedEnum",jspb.BinaryWriter.prototype.writePackedEnum),jspb.BinaryWriter.prototype.writePackedFixedHash64=function(o,e){if(e!=null&&e.length)for(this.writeFieldHeader_(o,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),o=0;o<e.length;o++)this.encoder_.writeFixedHash64(e[o])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(o,e){if(e!=null&&e.length){o=this.beginDelimited_(o);for(var r=0;r<e.length;r++)this.encoder_.writeVarintHash64(e[r]);this.endDelimited_(o)}},jspb.Map=function(o,e){this.arr_=o,this.valueCtor_=e,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},goog.exportSymbol("jspb.Map",jspb.Map),jspb.Map.prototype.loadFromArray_=function(){for(var o=0;o<this.arr_.length;o++){var e=this.arr_[o],r=e[0];this.map_[r.toString()]=new jspb.Map.Entry_(r,e[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var o=this.map_,e;for(e in o)if(Object.prototype.hasOwnProperty.call(o,e)){var r=o[e].valueWrapper;r&&r.toArray()}}}else{for(this.arr_.length=0,o=this.stringKeys_(),o.sort(),e=0;e<o.length;e++){var s=this.map_[o[e]];(r=s.valueWrapper)&&r.toArray(),this.arr_.push([s.key,s.value])}this.arrClean=!0}return this.arr_},goog.exportProperty(jspb.Map.prototype,"toArray",jspb.Map.prototype.toArray),jspb.Map.prototype.toObject=function(o,e){for(var r=this.toArray(),s=[],t=0;t<r.length;t++){var i=this.map_[r[t][0].toString()];this.wrapEntry_(i);var n=i.valueWrapper;n?(jspb.asserts.assert(e),s.push([i.key,e(o,n)])):s.push([i.key,i.value])}return s},goog.exportProperty(jspb.Map.prototype,"toObject",jspb.Map.prototype.toObject),jspb.Map.fromObject=function(o,e,r){e=new jspb.Map([],e);for(var s=0;s<o.length;s++){var t=o[s][0],i=r(o[s][1]);e.set(t,i)}return e},goog.exportProperty(jspb.Map,"fromObject",jspb.Map.fromObject),jspb.Map.ArrayIteratorIterable_=function(o){this.idx_=0,this.arr_=o},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},goog.exportProperty(jspb.Map.prototype,"getLength",jspb.Map.prototype.getLength),jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},goog.exportProperty(jspb.Map.prototype,"clear",jspb.Map.prototype.clear),jspb.Map.prototype.del=function(o){o=o.toString();var e=this.map_.hasOwnProperty(o);return delete this.map_[o],this.arrClean=!1,e},goog.exportProperty(jspb.Map.prototype,"del",jspb.Map.prototype.del),jspb.Map.prototype.getEntryList=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];o.push([s.key,s.value])}return o},goog.exportProperty(jspb.Map.prototype,"getEntryList",jspb.Map.prototype.getEntryList),jspb.Map.prototype.entries=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];o.push([s.key,this.wrapEntry_(s)])}return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"entries",jspb.Map.prototype.entries),jspb.Map.prototype.keys=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)o.push(this.map_[e[r]].key);return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"keys",jspb.Map.prototype.keys),jspb.Map.prototype.values=function(){var o=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)o.push(this.wrapEntry_(this.map_[e[r]]));return new jspb.Map.ArrayIteratorIterable_(o)},goog.exportProperty(jspb.Map.prototype,"values",jspb.Map.prototype.values),jspb.Map.prototype.forEach=function(o,e){var r=this.stringKeys_();r.sort();for(var s=0;s<r.length;s++){var t=this.map_[r[s]];o.call(e,this.wrapEntry_(t),t.key,this)}},goog.exportProperty(jspb.Map.prototype,"forEach",jspb.Map.prototype.forEach),jspb.Map.prototype.set=function(o,e){var r=new jspb.Map.Entry_(o);return this.valueCtor_?(r.valueWrapper=e,r.value=e.toArray()):r.value=e,this.map_[o.toString()]=r,this.arrClean=!1,this},goog.exportProperty(jspb.Map.prototype,"set",jspb.Map.prototype.set),jspb.Map.prototype.wrapEntry_=function(o){return this.valueCtor_?(o.valueWrapper||(o.valueWrapper=new this.valueCtor_(o.value)),o.valueWrapper):o.value},jspb.Map.prototype.get=function(o){if(o=this.map_[o.toString()])return this.wrapEntry_(o)},goog.exportProperty(jspb.Map.prototype,"get",jspb.Map.prototype.get),jspb.Map.prototype.has=function(o){return o.toString()in this.map_},goog.exportProperty(jspb.Map.prototype,"has",jspb.Map.prototype.has),jspb.Map.prototype.serializeBinary=function(o,e,r,s,t){var i=this.stringKeys_();i.sort();for(var n=0;n<i.length;n++){var p=this.map_[i[n]];e.beginSubMessage(o),r.call(e,1,p.key),this.valueCtor_?s.call(e,2,this.wrapEntry_(p),t):s.call(e,2,p.value),e.endSubMessage()}},goog.exportProperty(jspb.Map.prototype,"serializeBinary",jspb.Map.prototype.serializeBinary),jspb.Map.deserializeBinary=function(o,e,r,s,t,i,n){for(;e.nextField()&&!e.isEndGroup();){var p=e.getFieldNumber();p==1?i=r.call(e):p==2&&(o.valueCtor_?(jspb.asserts.assert(t),n||(n=new o.valueCtor_),s.call(e,n,t)):n=s.call(e))}jspb.asserts.assert(i!=null),jspb.asserts.assert(n!=null),o.set(i,n)},goog.exportProperty(jspb.Map,"deserializeBinary",jspb.Map.deserializeBinary),jspb.Map.prototype.stringKeys_=function(){var o=this.map_,e=[],r;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&e.push(r);return e},jspb.Map.Entry_=function(o,e){this.key=o,this.value=e,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(o,e,r,s,t){this.fieldIndex=o,this.fieldName=e,this.ctor=r,this.toObjectFn=s,this.isRepeated=t},goog.exportSymbol("jspb.ExtensionFieldInfo",jspb.ExtensionFieldInfo),jspb.ExtensionFieldBinaryInfo=function(o,e,r,s,t,i){this.fieldInfo=o,this.binaryReaderFn=e,this.binaryWriterFn=r,this.binaryMessageSerializeFn=s,this.binaryMessageDeserializeFn=t,this.isPacked=i},goog.exportSymbol("jspb.ExtensionFieldBinaryInfo",jspb.ExtensionFieldBinaryInfo),jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},goog.exportProperty(jspb.ExtensionFieldInfo.prototype,"isMessageType",jspb.ExtensionFieldInfo.prototype.isMessageType),jspb.Message=function(){},goog.exportSymbol("jspb.Message",jspb.Message),jspb.Message.GENERATE_TO_OBJECT=!0,goog.exportProperty(jspb.Message,"GENERATE_TO_OBJECT",jspb.Message.GENERATE_TO_OBJECT),jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,goog.exportProperty(jspb.Message,"GENERATE_FROM_OBJECT",jspb.Message.GENERATE_FROM_OBJECT),jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_=typeof Uint8Array=="function",jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},goog.exportProperty(jspb.Message.prototype,"getJsPbMessageId",jspb.Message.prototype.getJsPbMessageId),jspb.Message.getIndex_=function(o,e){return e+o.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(o,e){return e-o.arrayIndexOffset_},jspb.Message.initialize=function(o,e,r,s,t,i){if(o.wrappers_=null,e||(e=r?[r]:[]),o.messageId_=r?String(r):void 0,o.arrayIndexOffset_=r===0?-1:0,o.array=e,jspb.Message.initPivotAndExtensionObject_(o,s),o.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(o.repeatedFields=t),t)for(e=0;e<t.length;e++)r=t[e],r<o.pivot_?(r=jspb.Message.getIndex_(o,r),o.array[r]=o.array[r]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[r]=o.extensionObject_[r]||jspb.Message.EMPTY_LIST_SENTINEL_);if(i&&i.length)for(e=0;e<i.length;e++)jspb.Message.computeOneofCase(o,i[e])},goog.exportProperty(jspb.Message,"initialize",jspb.Message.initialize),jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(o){return jspb.Message.ASSUME_LOCAL_ARRAYS?o instanceof Array:Array.isArray(o)},jspb.Message.isExtensionObject_=function(o){return o!==null&&typeof o=="object"&&!jspb.Message.isArray_(o)&&!(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(o,e){var r=o.array.length,s=-1;if(r&&(s=r-1,r=o.array[s],jspb.Message.isExtensionObject_(r))){o.pivot_=jspb.Message.getFieldNumber_(o,s),o.extensionObject_=r;return}-1<e?(o.pivot_=Math.max(e,jspb.Message.getFieldNumber_(o,s+1)),o.extensionObject_=null):o.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(o){var e=jspb.Message.getIndex_(o,o.pivot_);o.array[e]||(o.extensionObject_=o.array[e]={})},jspb.Message.toObjectList=function(o,e,r){for(var s=[],t=0;t<o.length;t++)s[t]=e.call(o[t],r,o[t]);return s},goog.exportProperty(jspb.Message,"toObjectList",jspb.Message.toObjectList),jspb.Message.toObjectExtension=function(o,e,r,s,t){for(var i in r){var n=r[i],p=s.call(o,n);if(p!=null){for(var g in n.fieldName)if(n.fieldName.hasOwnProperty(g))break;e[g]=n.toObjectFn?n.isRepeated?jspb.Message.toObjectList(p,n.toObjectFn,t):n.toObjectFn(t,p):p}}},goog.exportProperty(jspb.Message,"toObjectExtension",jspb.Message.toObjectExtension),jspb.Message.serializeBinaryExtensions=function(o,e,r,s){for(var t in r){var i=r[t],n=i.fieldInfo;if(!i.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var p=s.call(o,n);if(p!=null)if(n.isMessageType())if(i.binaryMessageSerializeFn)i.binaryWriterFn.call(e,n.fieldIndex,p,i.binaryMessageSerializeFn);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else i.binaryWriterFn.call(e,n.fieldIndex,p)}},goog.exportProperty(jspb.Message,"serializeBinaryExtensions",jspb.Message.serializeBinaryExtensions),jspb.Message.readBinaryExtension=function(o,e,r,s,t){var i=r[e.getFieldNumber()];if(i){if(r=i.fieldInfo,!i.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(r.isMessageType()){var n=new r.ctor;i.binaryReaderFn.call(e,n,i.binaryMessageDeserializeFn)}else n=i.binaryReaderFn.call(e);r.isRepeated&&!i.isPacked?(e=s.call(o,r))?e.push(n):t.call(o,r,[n]):t.call(o,r,n)}else e.skipField()},goog.exportProperty(jspb.Message,"readBinaryExtension",jspb.Message.readBinaryExtension),jspb.Message.getField=function(o,e){if(e<o.pivot_){e=jspb.Message.getIndex_(o,e);var r=o.array[e];return r===jspb.Message.EMPTY_LIST_SENTINEL_?o.array[e]=[]:r}if(o.extensionObject_)return r=o.extensionObject_[e],r===jspb.Message.EMPTY_LIST_SENTINEL_?o.extensionObject_[e]=[]:r},goog.exportProperty(jspb.Message,"getField",jspb.Message.getField),jspb.Message.getRepeatedField=function(o,e){return jspb.Message.getField(o,e)},goog.exportProperty(jspb.Message,"getRepeatedField",jspb.Message.getRepeatedField),jspb.Message.getOptionalFloatingPointField=function(o,e){return o=jspb.Message.getField(o,e),o==null?o:+o},goog.exportProperty(jspb.Message,"getOptionalFloatingPointField",jspb.Message.getOptionalFloatingPointField),jspb.Message.getBooleanField=function(o,e){return o=jspb.Message.getField(o,e),o==null?o:!!o},goog.exportProperty(jspb.Message,"getBooleanField",jspb.Message.getBooleanField),jspb.Message.getRepeatedFloatingPointField=function(o,e){var r=jspb.Message.getRepeatedField(o,e);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=+r[s];o.convertedPrimitiveFields_[e]=!0}return r},goog.exportProperty(jspb.Message,"getRepeatedFloatingPointField",jspb.Message.getRepeatedFloatingPointField),jspb.Message.getRepeatedBooleanField=function(o,e){var r=jspb.Message.getRepeatedField(o,e);if(o.convertedPrimitiveFields_||(o.convertedPrimitiveFields_={}),!o.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=!!r[s];o.convertedPrimitiveFields_[e]=!0}return r},goog.exportProperty(jspb.Message,"getRepeatedBooleanField",jspb.Message.getRepeatedBooleanField),jspb.Message.bytesAsB64=function(o){return o==null||typeof o=="string"?o:jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array?goog.crypt.base64.encodeByteArray(o):(jspb.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(o)),null)},goog.exportProperty(jspb.Message,"bytesAsB64",jspb.Message.bytesAsB64),jspb.Message.bytesAsU8=function(o){return o==null||o instanceof Uint8Array?o:typeof o=="string"?goog.crypt.base64.decodeStringToUint8Array(o):(jspb.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(o)),null)},goog.exportProperty(jspb.Message,"bytesAsU8",jspb.Message.bytesAsU8),jspb.Message.bytesListAsB64=function(o){return jspb.Message.assertConsistentTypes_(o),o.length&&typeof o[0]!="string"?goog.array.map(o,jspb.Message.bytesAsB64):o},goog.exportProperty(jspb.Message,"bytesListAsB64",jspb.Message.bytesListAsB64),jspb.Message.bytesListAsU8=function(o){return jspb.Message.assertConsistentTypes_(o),!o.length||o[0]instanceof Uint8Array?o:goog.array.map(o,jspb.Message.bytesAsU8)},goog.exportProperty(jspb.Message,"bytesListAsU8",jspb.Message.bytesListAsU8),jspb.Message.assertConsistentTypes_=function(o){if(goog.DEBUG&&o&&1<o.length){var e=goog.typeOf(o[0]);goog.array.forEach(o,function(r){goog.typeOf(r)!=e&&jspb.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(r)+" expected "+e)})}},jspb.Message.getFieldWithDefault=function(o,e,r){return o=jspb.Message.getField(o,e),o??r},goog.exportProperty(jspb.Message,"getFieldWithDefault",jspb.Message.getFieldWithDefault),jspb.Message.getBooleanFieldWithDefault=function(o,e,r){return o=jspb.Message.getBooleanField(o,e),o??r},goog.exportProperty(jspb.Message,"getBooleanFieldWithDefault",jspb.Message.getBooleanFieldWithDefault),jspb.Message.getFloatingPointFieldWithDefault=function(o,e,r){return o=jspb.Message.getOptionalFloatingPointField(o,e),o??r},goog.exportProperty(jspb.Message,"getFloatingPointFieldWithDefault",jspb.Message.getFloatingPointFieldWithDefault),jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,goog.exportProperty(jspb.Message,"getFieldProto3",jspb.Message.getFieldProto3),jspb.Message.getMapField=function(o,e,r,s){if(o.wrappers_||(o.wrappers_={}),e in o.wrappers_)return o.wrappers_[e];var t=jspb.Message.getField(o,e);if(!t){if(r)return;t=[],jspb.Message.setField(o,e,t)}return o.wrappers_[e]=new jspb.Map(t,s)},goog.exportProperty(jspb.Message,"getMapField",jspb.Message.getMapField),jspb.Message.setField=function(o,e,r){return jspb.asserts.assertInstanceof(o,jspb.Message),e<o.pivot_?o.array[jspb.Message.getIndex_(o,e)]=r:(jspb.Message.maybeInitEmptyExtensionObject_(o),o.extensionObject_[e]=r),o},goog.exportProperty(jspb.Message,"setField",jspb.Message.setField),jspb.Message.setProto3IntField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3IntField",jspb.Message.setProto3IntField),jspb.Message.setProto3FloatField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3FloatField",jspb.Message.setProto3FloatField),jspb.Message.setProto3BooleanField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,!1)},goog.exportProperty(jspb.Message,"setProto3BooleanField",jspb.Message.setProto3BooleanField),jspb.Message.setProto3StringField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"")},goog.exportProperty(jspb.Message,"setProto3StringField",jspb.Message.setProto3StringField),jspb.Message.setProto3BytesField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"")},goog.exportProperty(jspb.Message,"setProto3BytesField",jspb.Message.setProto3BytesField),jspb.Message.setProto3EnumField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,0)},goog.exportProperty(jspb.Message,"setProto3EnumField",jspb.Message.setProto3EnumField),jspb.Message.setProto3StringIntField=function(o,e,r){return jspb.Message.setFieldIgnoringDefault_(o,e,r,"0")},goog.exportProperty(jspb.Message,"setProto3StringIntField",jspb.Message.setProto3StringIntField),jspb.Message.setFieldIgnoringDefault_=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),r!==s?jspb.Message.setField(o,e,r):e<o.pivot_?o.array[jspb.Message.getIndex_(o,e)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(o),delete o.extensionObject_[e]),o},jspb.Message.addToRepeatedField=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),e=jspb.Message.getRepeatedField(o,e),s!=null?e.splice(s,0,r):e.push(r),o},goog.exportProperty(jspb.Message,"addToRepeatedField",jspb.Message.addToRepeatedField),jspb.Message.setOneofField=function(o,e,r,s){return jspb.asserts.assertInstanceof(o,jspb.Message),(r=jspb.Message.computeOneofCase(o,r))&&r!==e&&s!==void 0&&(o.wrappers_&&r in o.wrappers_&&(o.wrappers_[r]=void 0),jspb.Message.setField(o,r,void 0)),jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setOneofField",jspb.Message.setOneofField),jspb.Message.computeOneofCase=function(o,e){for(var r,s,t=0;t<e.length;t++){var i=e[t],n=jspb.Message.getField(o,i);n!=null&&(r=i,s=n,jspb.Message.setField(o,i,void 0))}return r?(jspb.Message.setField(o,r,s),r):0},goog.exportProperty(jspb.Message,"computeOneofCase",jspb.Message.computeOneofCase),jspb.Message.getWrapperField=function(o,e,r,s){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){var t=jspb.Message.getField(o,r);(s||t)&&(o.wrappers_[r]=new e(t))}return o.wrappers_[r]},goog.exportProperty(jspb.Message,"getWrapperField",jspb.Message.getWrapperField),jspb.Message.getRepeatedWrapperField=function(o,e,r){return jspb.Message.wrapRepeatedField_(o,e,r),e=o.wrappers_[r],e==jspb.Message.EMPTY_LIST_SENTINEL_&&(e=o.wrappers_[r]=[]),e},goog.exportProperty(jspb.Message,"getRepeatedWrapperField",jspb.Message.getRepeatedWrapperField),jspb.Message.wrapRepeatedField_=function(o,e,r){if(o.wrappers_||(o.wrappers_={}),!o.wrappers_[r]){for(var s=jspb.Message.getRepeatedField(o,r),t=[],i=0;i<s.length;i++)t[i]=new e(s[i]);o.wrappers_[r]=t}},jspb.Message.setWrapperField=function(o,e,r){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var s=r&&r.toArray();return o.wrappers_[e]=r,jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setWrapperField",jspb.Message.setWrapperField),jspb.Message.setOneofWrapperField=function(o,e,r,s){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={});var t=s&&s.toArray();return o.wrappers_[e]=s,jspb.Message.setOneofField(o,e,r,t)},goog.exportProperty(jspb.Message,"setOneofWrapperField",jspb.Message.setOneofWrapperField),jspb.Message.setRepeatedWrapperField=function(o,e,r){jspb.asserts.assertInstanceof(o,jspb.Message),o.wrappers_||(o.wrappers_={}),r=r||[];for(var s=[],t=0;t<r.length;t++)s[t]=r[t].toArray();return o.wrappers_[e]=r,jspb.Message.setField(o,e,s)},goog.exportProperty(jspb.Message,"setRepeatedWrapperField",jspb.Message.setRepeatedWrapperField),jspb.Message.addToRepeatedWrapperField=function(o,e,r,s,t){jspb.Message.wrapRepeatedField_(o,s,e);var i=o.wrappers_[e];return i||(i=o.wrappers_[e]=[]),r=r||new s,o=jspb.Message.getRepeatedField(o,e),t!=null?(i.splice(t,0,r),o.splice(t,0,r.toArray())):(i.push(r),o.push(r.toArray())),r},goog.exportProperty(jspb.Message,"addToRepeatedWrapperField",jspb.Message.addToRepeatedWrapperField),jspb.Message.toMap=function(o,e,r,s){for(var t={},i=0;i<o.length;i++)t[e.call(o[i])]=r?r.call(o[i],s,o[i]):o[i];return t},goog.exportProperty(jspb.Message,"toMap",jspb.Message.toMap),jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var o in this.wrappers_){var e=this.wrappers_[o];if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&e[r].toArray();else e&&e.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},goog.exportProperty(jspb.Message.prototype,"toArray",jspb.Message.prototype.toArray),jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(o){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var e=o.fieldIndex;if(o.isRepeated){if(o.isMessageType())return this.wrappers_[e]||(this.wrappers_[e]=goog.array.map(this.extensionObject_[e]||[],function(r){return new o.ctor(r)})),this.wrappers_[e]}else if(o.isMessageType())return!this.wrappers_[e]&&this.extensionObject_[e]&&(this.wrappers_[e]=new o.ctor(this.extensionObject_[e])),this.wrappers_[e];return this.extensionObject_[e]}},goog.exportProperty(jspb.Message.prototype,"getExtension",jspb.Message.prototype.getExtension),jspb.Message.prototype.setExtension=function(o,e){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var r=o.fieldIndex;return o.isRepeated?(e=e||[],o.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=goog.array.map(e,function(s){return s.toArray()})):this.extensionObject_[r]=e):o.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=e&&e.toArray()):this.extensionObject_[r]=e,this},goog.exportProperty(jspb.Message.prototype,"setExtension",jspb.Message.prototype.setExtension),jspb.Message.difference=function(o,e){if(!(o instanceof e.constructor))throw Error("Messages have different types.");var r=o.toArray();e=e.toArray();var s=[],t=0,i=r.length>e.length?r.length:e.length;for(o.getJsPbMessageId()&&(s[0]=o.getJsPbMessageId(),t=1);t<i;t++)jspb.Message.compareFields(r[t],e[t])||(s[t]=e[t]);return new o.constructor(s)},goog.exportProperty(jspb.Message,"difference",jspb.Message.difference),jspb.Message.equals=function(o,e){return o==e||!(!o||!e)&&o instanceof e.constructor&&jspb.Message.compareFields(o.toArray(),e.toArray())},goog.exportProperty(jspb.Message,"equals",jspb.Message.equals),jspb.Message.compareExtensions=function(o,e){o=o||{},e=e||{};var r={},s;for(s in o)r[s]=0;for(s in e)r[s]=0;for(s in r)if(!jspb.Message.compareFields(o[s],e[s]))return!1;return!0},goog.exportProperty(jspb.Message,"compareExtensions",jspb.Message.compareExtensions),jspb.Message.compareFields=function(o,e){if(o==e)return!0;if(!goog.isObject(o)||!goog.isObject(e))return typeof o=="number"&&isNaN(o)||typeof e=="number"&&isNaN(e)?String(o)==String(e):!1;if(o.constructor!=e.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o.constructor===Uint8Array){if(o.length!=e.length)return!1;for(var r=0;r<o.length;r++)if(o[r]!=e[r])return!1;return!0}if(o.constructor===Array){var s=void 0,t=void 0,i=Math.max(o.length,e.length);for(r=0;r<i;r++){var n=o[r],p=e[r];if(n&&n.constructor==Object&&(jspb.asserts.assert(s===void 0),jspb.asserts.assert(r===o.length-1),s=n,n=void 0),p&&p.constructor==Object&&(jspb.asserts.assert(t===void 0),jspb.asserts.assert(r===e.length-1),t=p,p=void 0),!jspb.Message.compareFields(n,p))return!1}return s||t?(s=s||{},t=t||{},jspb.Message.compareExtensions(s,t)):!0}if(o.constructor===Object)return jspb.Message.compareExtensions(o,e);throw Error("Invalid type in JSPB array")},goog.exportProperty(jspb.Message,"compareFields",jspb.Message.compareFields),jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"cloneMessage",jspb.Message.prototype.cloneMessage),jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"clone",jspb.Message.prototype.clone),jspb.Message.clone=function(o){return jspb.Message.cloneMessage(o)},goog.exportProperty(jspb.Message,"clone",jspb.Message.clone),jspb.Message.cloneMessage=function(o){return new o.constructor(jspb.Message.clone_(o.toArray()))},jspb.Message.copyInto=function(o,e){jspb.asserts.assertInstanceof(o,jspb.Message),jspb.asserts.assertInstanceof(e,jspb.Message),jspb.asserts.assert(o.constructor==e.constructor,"Copy source and target message should have the same type."),o=jspb.Message.clone(o);for(var r=e.toArray(),s=o.toArray(),t=r.length=0;t<s.length;t++)r[t]=s[t];e.wrappers_=o.wrappers_,e.extensionObject_=o.extensionObject_},goog.exportProperty(jspb.Message,"copyInto",jspb.Message.copyInto),jspb.Message.clone_=function(o){if(Array.isArray(o)){for(var e=Array(o.length),r=0;r<o.length;r++){var s=o[r];s!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(jspb.asserts.assert(s)):s)}return e}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&o instanceof Uint8Array)return new Uint8Array(o);e={};for(r in o)s=o[r],s!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(jspb.asserts.assert(s)):s);return e},jspb.Message.registerMessageType=function(o,e){e.messageId=o},goog.exportProperty(jspb.Message,"registerMessageType",jspb.Message.registerMessageType),jspb.Message.messageSetExtensions={},jspb.Message.messageSetExtensionsBinary={},jspb.Export={},exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=jspb.BinaryReader,exports.BinaryWriter=jspb.BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:goog.object.extend},exports.typeOf=goog.typeOf})(googleProtobuf);var common_pb={},descriptor_pb={};(function(o){var e=googleProtobuf,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.DescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,s),r.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,s),r.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,s),r.exportSymbol("proto.google.protobuf.EnumOptions",null,s),r.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.EnumValueOptions",null,s),r.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,s),r.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,s),r.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,s),r.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,s),r.exportSymbol("proto.google.protobuf.FileOptions",null,s),r.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,s),r.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,s),r.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,s),r.exportSymbol("proto.google.protobuf.MessageOptions",null,s),r.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.MethodOptions",null,s),r.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,s),r.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.OneofOptions",null,s),r.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,s),r.exportSymbol("proto.google.protobuf.ServiceOptions",null,s),r.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,s),r.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,s),r.exportSymbol("proto.google.protobuf.UninterpretedOption",null,s),r.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,s),proto.google.protobuf.FileDescriptorSet=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileDescriptorSet,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet"),proto.google.protobuf.FileDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto"),proto.google.protobuf.DescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.DescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto"),proto.google.protobuf.DescriptorProto.ExtensionRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange"),proto.google.protobuf.DescriptorProto.ReservedRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange"),proto.google.protobuf.ExtensionRangeOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.ExtensionRangeOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ExtensionRangeOptions.displayName="proto.google.protobuf.ExtensionRangeOptions"),proto.google.protobuf.ExtensionRangeOptions.extensions={},proto.google.protobuf.ExtensionRangeOptions.extensionsBinary={},proto.google.protobuf.FieldDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.FieldDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto"),proto.google.protobuf.OneofDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.OneofDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto"),proto.google.protobuf.EnumDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto"),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange"),proto.google.protobuf.EnumValueDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.EnumValueDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto"),proto.google.protobuf.ServiceDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)},r.inherits(proto.google.protobuf.ServiceDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto"),proto.google.protobuf.MethodDescriptorProto=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.MethodDescriptorProto,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto"),proto.google.protobuf.FileOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.FileOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FileOptions.displayName="proto.google.protobuf.FileOptions"),proto.google.protobuf.FileOptions.extensions={},proto.google.protobuf.FileOptions.extensionsBinary={},proto.google.protobuf.MessageOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.MessageOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MessageOptions.displayName="proto.google.protobuf.MessageOptions"),proto.google.protobuf.MessageOptions.extensions={},proto.google.protobuf.MessageOptions.extensionsBinary={},proto.google.protobuf.FieldOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.FieldOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldOptions.displayName="proto.google.protobuf.FieldOptions"),proto.google.protobuf.FieldOptions.extensions={},proto.google.protobuf.FieldOptions.extensionsBinary={},proto.google.protobuf.OneofOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.OneofOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofOptions.displayName="proto.google.protobuf.OneofOptions"),proto.google.protobuf.OneofOptions.extensions={},proto.google.protobuf.OneofOptions.extensionsBinary={},proto.google.protobuf.EnumOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumOptions.displayName="proto.google.protobuf.EnumOptions"),proto.google.protobuf.EnumOptions.extensions={},proto.google.protobuf.EnumOptions.extensionsBinary={},proto.google.protobuf.EnumValueOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.EnumValueOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueOptions.displayName="proto.google.protobuf.EnumValueOptions"),proto.google.protobuf.EnumValueOptions.extensions={},proto.google.protobuf.EnumValueOptions.extensionsBinary={},proto.google.protobuf.ServiceOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.ServiceOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceOptions.displayName="proto.google.protobuf.ServiceOptions"),proto.google.protobuf.ServiceOptions.extensions={},proto.google.protobuf.ServiceOptions.extensionsBinary={},proto.google.protobuf.MethodOptions=function(t){e.Message.initialize(this,t,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)},r.inherits(proto.google.protobuf.MethodOptions,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodOptions.displayName="proto.google.protobuf.MethodOptions"),proto.google.protobuf.MethodOptions.extensions={},proto.google.protobuf.MethodOptions.extensionsBinary={},proto.google.protobuf.UninterpretedOption=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)},r.inherits(proto.google.protobuf.UninterpretedOption,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption"),proto.google.protobuf.UninterpretedOption.NamePart=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.UninterpretedOption.NamePart,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart"),proto.google.protobuf.SourceCodeInfo=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)},r.inherits(proto.google.protobuf.SourceCodeInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo"),proto.google.protobuf.SourceCodeInfo.Location=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)},r.inherits(proto.google.protobuf.SourceCodeInfo.Location,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location"),proto.google.protobuf.GeneratedCodeInfo=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)},r.inherits(proto.google.protobuf.GeneratedCodeInfo,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo"),proto.google.protobuf.GeneratedCodeInfo.Annotation=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)},r.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation"),proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorSet.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorSet.toObject(t,this)},proto.google.protobuf.FileDescriptorSet.toObject=function(t,i){var n={fileList:e.Message.toObjectList(i.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileDescriptorSet;return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.FileDescriptorProto;i.readMessage(p,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),t.addFile(p);break;default:i.skipField();break}}return t},proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getFileList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter)},proto.google.protobuf.FileDescriptorSet.prototype.getFileList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)},proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.FileDescriptorProto,i)},proto.google.protobuf.FileDescriptorSet.prototype.clearFileList=function(){return this.setFileList([])},proto.google.protobuf.FileDescriptorProto.repeatedFields_=[3,10,11,4,5,6,7],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FileDescriptorProto.toObject(t,this)},proto.google.protobuf.FileDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,pb_package:(n=e.Message.getField(i,2))==null?void 0:n,dependencyList:(n=e.Message.getRepeatedField(i,3))==null?void 0:n,publicDependencyList:(n=e.Message.getRepeatedField(i,10))==null?void 0:n,weakDependencyList:(n=e.Message.getRepeatedField(i,11))==null?void 0:n,messageTypeList:e.Message.toObjectList(i.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:e.Message.toObjectList(i.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),serviceList:e.Message.toObjectList(i.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,t),extensionList:e.Message.toObjectList(i.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.FileOptions.toObject(t,n),sourceCodeInfo:(n=i.getSourceCodeInfo())&&proto.google.protobuf.SourceCodeInfo.toObject(t,n),syntax:(n=e.Message.getField(i,12))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileDescriptorProto;return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var l=i.readString();t.setName(l);break;case 2:var l=i.readString();t.setPackage(l);break;case 3:var l=i.readString();t.addDependency(l);break;case 10:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addPublicDependency(g[p]);break;case 11:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addWeakDependency(g[p]);break;case 4:var l=new proto.google.protobuf.DescriptorProto;i.readMessage(l,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addMessageType(l);break;case 5:var l=new proto.google.protobuf.EnumDescriptorProto;i.readMessage(l,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(l);break;case 6:var l=new proto.google.protobuf.ServiceDescriptorProto;i.readMessage(l,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),t.addService(l);break;case 7:var l=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(l,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(l);break;case 8:var l=new proto.google.protobuf.FileOptions;i.readMessage(l,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),t.setOptions(l);break;case 9:var l=new proto.google.protobuf.SourceCodeInfo;i.readMessage(l,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),t.setSourceCodeInfo(l);break;case 12:var l=i.readString();t.setSyntax(l);break;default:i.skipField();break}}return t},proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=t.getDependencyList(),n.length>0&&i.writeRepeatedString(3,n),n=t.getPublicDependencyList(),n.length>0&&i.writeRepeatedInt32(10,n),n=t.getWeakDependencyList(),n.length>0&&i.writeRepeatedInt32(11,n),n=t.getMessageTypeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),n=t.getEnumTypeList(),n.length>0&&i.writeRepeatedMessage(5,n,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),n=t.getServiceList(),n.length>0&&i.writeRepeatedMessage(6,n,proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter),n=t.getExtensionList(),n.length>0&&i.writeRepeatedMessage(7,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(8,n,proto.google.protobuf.FileOptions.serializeBinaryToWriter),n=t.getSourceCodeInfo(),n!=null&&i.writeMessage(9,n,proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter),n=e.Message.getField(t,12),n!=null&&i.writeString(12,n)},proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return e.Message.getRepeatedField(this,3)},proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(t){return e.Message.setField(this,3,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(t,i){return e.Message.addToRepeatedField(this,3,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return e.Message.getRepeatedField(this,10)},proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(t){return e.Message.setField(this,10,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(t,i){return e.Message.addToRepeatedField(this,10,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return e.Message.getRepeatedField(this,11)},proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(t){return e.Message.setField(this,11,t||[])},proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(t,i){return e.Message.addToRepeatedField(this,11,t,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)},proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.DescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearMessageTypeList=function(){return this.setMessageTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getEnumTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)},proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(t){return e.Message.setRepeatedWrapperField(this,5,t)},proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(t,i){return e.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.EnumDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getServiceList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)},proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(t){return e.Message.setRepeatedWrapperField(this,6,t)},proto.google.protobuf.FileDescriptorProto.prototype.addService=function(t,i){return e.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.ServiceDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearServiceList=function(){return this.setServiceList([])},proto.google.protobuf.FileDescriptorProto.prototype.getExtensionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)},proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(t){return e.Message.setRepeatedWrapperField(this,7,t)},proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(t,i){return e.Message.addToRepeatedWrapperField(this,7,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.FileDescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.FileDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)},proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,8,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return e.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)},proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(t){return e.Message.setWrapperField(this,9,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearSourceCodeInfo=function(){return this.setSourceCodeInfo(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSourceCodeInfo=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return e.Message.getFieldWithDefault(this,12,"")},proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(t){return e.Message.setField(this,12,t)},proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return e.Message.setField(this,12,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return e.Message.getField(this,12)!=null},proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.toObject(t,this)},proto.google.protobuf.DescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,fieldList:e.Message.toObjectList(i.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),extensionList:e.Message.toObjectList(i.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,t),nestedTypeList:e.Message.toObjectList(i.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,t),enumTypeList:e.Message.toObjectList(i.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,t),extensionRangeList:e.Message.toObjectList(i.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,t),oneofDeclList:e.Message.toObjectList(i.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.MessageOptions.toObject(t,n),reservedRangeList:e.Message.toObjectList(i.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,t),reservedNameList:(n=e.Message.getRepeatedField(i,10))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto;return proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addField(p);break;case 6:var p=new proto.google.protobuf.FieldDescriptorProto;i.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),t.addExtension$(p);break;case 3:var p=new proto.google.protobuf.DescriptorProto;i.readMessage(p,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),t.addNestedType(p);break;case 4:var p=new proto.google.protobuf.EnumDescriptorProto;i.readMessage(p,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),t.addEnumType(p);break;case 5:var p=new proto.google.protobuf.DescriptorProto.ExtensionRange;i.readMessage(p,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),t.addExtensionRange(p);break;case 8:var p=new proto.google.protobuf.OneofDescriptorProto;i.readMessage(p,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),t.addOneofDecl(p);break;case 7:var p=new proto.google.protobuf.MessageOptions;i.readMessage(p,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 9:var p=new proto.google.protobuf.DescriptorProto.ReservedRange;i.readMessage(p,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),t.addReservedRange(p);break;case 10:var p=i.readString();t.addReservedName(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getFieldList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getExtensionList(),n.length>0&&i.writeRepeatedMessage(6,n,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),n=t.getNestedTypeList(),n.length>0&&i.writeRepeatedMessage(3,n,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),n=t.getEnumTypeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),n=t.getExtensionRangeList(),n.length>0&&i.writeRepeatedMessage(5,n,proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter),n=t.getOneofDeclList(),n.length>0&&i.writeRepeatedMessage(8,n,proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(7,n,proto.google.protobuf.MessageOptions.serializeBinaryToWriter),n=t.getReservedRangeList(),n.length>0&&i.writeRepeatedMessage(9,n,proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter),n=t.getReservedNameList(),n.length>0&&i.writeRepeatedString(10,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ExtensionRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ExtensionRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto.ExtensionRange;return proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;case 3:var p=new proto.google.protobuf.ExtensionRangeOptions;i.readMessage(p,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ReservedRange.prototype.toObject=function(t){return proto.google.protobuf.DescriptorProto.ReservedRange.toObject(t,this)},proto.google.protobuf.DescriptorProto.ReservedRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.DescriptorProto.ReservedRange;return proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;default:i.skipField();break}}return t},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.DescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)},proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.DescriptorProto.prototype.addField=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearFieldList=function(){return this.setFieldList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)},proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(t){return e.Message.setRepeatedWrapperField(this,6,t)},proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(t,i){return e.Message.addToRepeatedWrapperField(this,6,t,proto.google.protobuf.FieldDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.DescriptorProto.prototype.getNestedTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)},proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(t){return e.Message.setRepeatedWrapperField(this,3,t)},proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(t,i){return e.Message.addToRepeatedWrapperField(this,3,t,proto.google.protobuf.DescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearNestedTypeList=function(){return this.setNestedTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getEnumTypeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)},proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)},proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(t){return e.Message.setRepeatedWrapperField(this,5,t)},proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,5,t,proto.google.protobuf.DescriptorProto.ExtensionRange,i)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionRangeList=function(){return this.setExtensionRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getOneofDeclList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)},proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(t){return e.Message.setRepeatedWrapperField(this,8,t)},proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(t,i){return e.Message.addToRepeatedWrapperField(this,8,t,proto.google.protobuf.OneofDescriptorProto,i)},proto.google.protobuf.DescriptorProto.prototype.clearOneofDeclList=function(){return this.setOneofDeclList([])},proto.google.protobuf.DescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)},proto.google.protobuf.DescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,7,t)},proto.google.protobuf.DescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)},proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(t){return e.Message.setRepeatedWrapperField(this,9,t)},proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,9,t,proto.google.protobuf.DescriptorProto.ReservedRange,i)},proto.google.protobuf.DescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getReservedNameList=function(){return e.Message.getRepeatedField(this,10)},proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(t){return e.Message.setField(this,10,t||[])},proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(t,i){return e.Message.addToRepeatedField(this,10,t,i)},proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ExtensionRangeOptions.prototype.toObject=function(t){return proto.google.protobuf.ExtensionRangeOptions.toObject(t,this)},proto.google.protobuf.ExtensionRangeOptions.toObject=function(t,i){var n={uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ExtensionRangeOptions;return proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,proto.google.protobuf.ExtensionRangeOptions.prototype.setExtension);break}}return t},proto.google.protobuf.ExtensionRangeOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)},proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.FieldDescriptorProto.toObject(t,this)},proto.google.protobuf.FieldDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,number:(n=e.Message.getField(i,3))==null?void 0:n,label:(n=e.Message.getField(i,4))==null?void 0:n,type:(n=e.Message.getField(i,5))==null?void 0:n,typeName:(n=e.Message.getField(i,6))==null?void 0:n,extendee:(n=e.Message.getField(i,2))==null?void 0:n,defaultValue:(n=e.Message.getField(i,7))==null?void 0:n,oneofIndex:(n=e.Message.getField(i,9))==null?void 0:n,jsonName:(n=e.Message.getField(i,10))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.FieldOptions.toObject(t,n),proto3Optional:(n=e.Message.getBooleanField(i,17))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FieldDescriptorProto;return proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 3:var p=i.readInt32();t.setNumber(p);break;case 4:var p=i.readEnum();t.setLabel(p);break;case 5:var p=i.readEnum();t.setType(p);break;case 6:var p=i.readString();t.setTypeName(p);break;case 2:var p=i.readString();t.setExtendee(p);break;case 7:var p=i.readString();t.setDefaultValue(p);break;case 9:var p=i.readInt32();t.setOneofIndex(p);break;case 10:var p=i.readString();t.setJsonName(p);break;case 8:var p=new proto.google.protobuf.FieldOptions;i.readMessage(p,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 17:var p=i.readBool();t.setProto3Optional(p);break;default:i.skipField();break}}return t},proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,3),n!=null&&i.writeInt32(3,n),n=e.Message.getField(t,4),n!=null&&i.writeEnum(4,n),n=e.Message.getField(t,5),n!=null&&i.writeEnum(5,n),n=e.Message.getField(t,6),n!=null&&i.writeString(6,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,7),n!=null&&i.writeString(7,n),n=e.Message.getField(t,9),n!=null&&i.writeInt32(9,n),n=e.Message.getField(t,10),n!=null&&i.writeString(10,n),n=t.getOptions(),n!=null&&i.writeMessage(8,n,proto.google.protobuf.FieldOptions.serializeBinaryToWriter),n=e.Message.getField(t,17),n!=null&&i.writeBool(17,n)},proto.google.protobuf.FieldDescriptorProto.Type={TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18},proto.google.protobuf.FieldDescriptorProto.Label={LABEL_OPTIONAL:1,LABEL_REQUIRED:2,LABEL_REPEATED:3},proto.google.protobuf.FieldDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return e.Message.getFieldWithDefault(this,4,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return e.Message.getFieldWithDefault(this,5,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return e.Message.getFieldWithDefault(this,9,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(t){return e.Message.setField(this,9,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return e.Message.setField(this,9,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return e.Message.getFieldWithDefault(this,10,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)},proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,8,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return e.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(t){return e.Message.setField(this,17,t)},proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return e.Message.setField(this,17,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return e.Message.getField(this,17)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.OneofDescriptorProto.toObject(t,this)},proto.google.protobuf.OneofDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.OneofOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.OneofDescriptorProto;return proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.OneofOptions;i.readMessage(p,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getOptions(),n!=null&&i.writeMessage(2,n,proto.google.protobuf.OneofOptions.serializeBinaryToWriter)},proto.google.protobuf.OneofDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)},proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,2,t)},proto.google.protobuf.OneofDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,valueList:e.Message.toObjectList(i.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.EnumOptions.toObject(t,n),reservedRangeList:e.Message.toObjectList(i.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,t),reservedNameList:(n=e.Message.getRepeatedField(i,5))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumDescriptorProto;return proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.EnumValueDescriptorProto;i.readMessage(p,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),t.addValue(p);break;case 3:var p=new proto.google.protobuf.EnumOptions;i.readMessage(p,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 4:var p=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;i.readMessage(p,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),t.addReservedRange(p);break;case 5:var p=i.readString();t.addReservedName(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getValueList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.EnumOptions.serializeBinaryToWriter),n=t.getReservedRangeList(),n.length>0&&i.writeRepeatedMessage(4,n,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter),n=t.getReservedNameList(),n.length>0&&i.writeRepeatedString(5,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.toObject=function(t){return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(t,this)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject=function(t,i){var n,p={start:(n=e.Message.getField(i,1))==null?void 0:n,end:(n=e.Message.getField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readInt32();t.setStart(p);break;case 2:var p=i.readInt32();t.setEnd(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)},proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.EnumValueDescriptorProto,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearValueList=function(){return this.setValueList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)},proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.EnumDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(t){return e.Message.setRepeatedWrapperField(this,4,t)},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(t,i){return e.Message.addToRepeatedWrapperField(this,4,t,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedNameList=function(){return e.Message.getRepeatedField(this,5)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(t){return e.Message.setField(this,5,t||[])},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(t,i){return e.Message.addToRepeatedField(this,5,t,i)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.EnumValueDescriptorProto.toObject(t,this)},proto.google.protobuf.EnumValueDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,number:(n=e.Message.getField(i,2))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumValueDescriptorProto;return proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=i.readInt32();t.setNumber(p);break;case 3:var p=new proto.google.protobuf.EnumValueOptions;i.readMessage(p,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeInt32(2,n),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter)},proto.google.protobuf.EnumValueDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.ServiceDescriptorProto.toObject(t,this)},proto.google.protobuf.ServiceDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,methodList:e.Message.toObjectList(i.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,t),options:(n=i.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ServiceDescriptorProto;return proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=new proto.google.protobuf.MethodDescriptorProto;i.readMessage(p,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),t.addMethod(p);break;case 3:var p=new proto.google.protobuf.ServiceOptions;i.readMessage(p,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),t.setOptions(p);break;default:i.skipField();break}}return t},proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=t.getMethodList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter),n=t.getOptions(),n!=null&&i.writeMessage(3,n,proto.google.protobuf.ServiceOptions.serializeBinaryToWriter)},proto.google.protobuf.ServiceDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)},proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.MethodDescriptorProto,i)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearMethodList=function(){return this.setMethodList([])},proto.google.protobuf.ServiceDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)},proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,3,t)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,3)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodDescriptorProto.prototype.toObject=function(t){return proto.google.protobuf.MethodDescriptorProto.toObject(t,this)},proto.google.protobuf.MethodDescriptorProto.toObject=function(t,i){var n,p={name:(n=e.Message.getField(i,1))==null?void 0:n,inputType:(n=e.Message.getField(i,2))==null?void 0:n,outputType:(n=e.Message.getField(i,3))==null?void 0:n,options:(n=i.getOptions())&&proto.google.protobuf.MethodOptions.toObject(t,n),clientStreaming:e.Message.getBooleanFieldWithDefault(i,5,!1),serverStreaming:e.Message.getBooleanFieldWithDefault(i,6,!1)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MethodDescriptorProto;return proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setName(p);break;case 2:var p=i.readString();t.setInputType(p);break;case 3:var p=i.readString();t.setOutputType(p);break;case 4:var p=new proto.google.protobuf.MethodOptions;i.readMessage(p,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),t.setOptions(p);break;case 5:var p=i.readBool();t.setClientStreaming(p);break;case 6:var p=i.readBool();t.setServerStreaming(p);break;default:i.skipField();break}}return t},proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=t.getOptions(),n!=null&&i.writeMessage(4,n,proto.google.protobuf.MethodOptions.serializeBinaryToWriter),n=e.Message.getField(t,5),n!=null&&i.writeBool(5,n),n=e.Message.getField(t,6),n!=null&&i.writeBool(6,n)},proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return e.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)},proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(t){return e.Message.setWrapperField(this,4,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOptions=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return e.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return e.Message.getBooleanFieldWithDefault(this,6,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FileOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileOptions.prototype.toObject=function(t){return proto.google.protobuf.FileOptions.toObject(t,this)},proto.google.protobuf.FileOptions.toObject=function(t,i){var n,p={javaPackage:(n=e.Message.getField(i,1))==null?void 0:n,javaOuterClassname:(n=e.Message.getField(i,8))==null?void 0:n,javaMultipleFiles:e.Message.getBooleanFieldWithDefault(i,10,!1),javaGenerateEqualsAndHash:(n=e.Message.getBooleanField(i,20))==null?void 0:n,javaStringCheckUtf8:e.Message.getBooleanFieldWithDefault(i,27,!1),optimizeFor:e.Message.getFieldWithDefault(i,9,1),goPackage:(n=e.Message.getField(i,11))==null?void 0:n,ccGenericServices:e.Message.getBooleanFieldWithDefault(i,16,!1),javaGenericServices:e.Message.getBooleanFieldWithDefault(i,17,!1),pyGenericServices:e.Message.getBooleanFieldWithDefault(i,18,!1),phpGenericServices:e.Message.getBooleanFieldWithDefault(i,42,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,23,!1),ccEnableArenas:e.Message.getBooleanFieldWithDefault(i,31,!0),objcClassPrefix:(n=e.Message.getField(i,36))==null?void 0:n,csharpNamespace:(n=e.Message.getField(i,37))==null?void 0:n,swiftPrefix:(n=e.Message.getField(i,39))==null?void 0:n,phpClassPrefix:(n=e.Message.getField(i,40))==null?void 0:n,phpNamespace:(n=e.Message.getField(i,41))==null?void 0:n,phpMetadataNamespace:(n=e.Message.getField(i,44))==null?void 0:n,rubyPackage:(n=e.Message.getField(i,45))==null?void 0:n,uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FileOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FileOptions;return proto.google.protobuf.FileOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FileOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setJavaPackage(p);break;case 8:var p=i.readString();t.setJavaOuterClassname(p);break;case 10:var p=i.readBool();t.setJavaMultipleFiles(p);break;case 20:var p=i.readBool();t.setJavaGenerateEqualsAndHash(p);break;case 27:var p=i.readBool();t.setJavaStringCheckUtf8(p);break;case 9:var p=i.readEnum();t.setOptimizeFor(p);break;case 11:var p=i.readString();t.setGoPackage(p);break;case 16:var p=i.readBool();t.setCcGenericServices(p);break;case 17:var p=i.readBool();t.setJavaGenericServices(p);break;case 18:var p=i.readBool();t.setPyGenericServices(p);break;case 42:var p=i.readBool();t.setPhpGenericServices(p);break;case 23:var p=i.readBool();t.setDeprecated(p);break;case 31:var p=i.readBool();t.setCcEnableArenas(p);break;case 36:var p=i.readString();t.setObjcClassPrefix(p);break;case 37:var p=i.readString();t.setCsharpNamespace(p);break;case 39:var p=i.readString();t.setSwiftPrefix(p);break;case 40:var p=i.readString();t.setPhpClassPrefix(p);break;case 41:var p=i.readString();t.setPhpNamespace(p);break;case 44:var p=i.readString();t.setPhpMetadataNamespace(p);break;case 45:var p=i.readString();t.setRubyPackage(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension,proto.google.protobuf.FileOptions.prototype.setExtension);break}}return t},proto.google.protobuf.FileOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,8),n!=null&&i.writeString(8,n),n=e.Message.getField(t,10),n!=null&&i.writeBool(10,n),n=e.Message.getField(t,20),n!=null&&i.writeBool(20,n),n=e.Message.getField(t,27),n!=null&&i.writeBool(27,n),n=e.Message.getField(t,9),n!=null&&i.writeEnum(9,n),n=e.Message.getField(t,11),n!=null&&i.writeString(11,n),n=e.Message.getField(t,16),n!=null&&i.writeBool(16,n),n=e.Message.getField(t,17),n!=null&&i.writeBool(17,n),n=e.Message.getField(t,18),n!=null&&i.writeBool(18,n),n=e.Message.getField(t,42),n!=null&&i.writeBool(42,n),n=e.Message.getField(t,23),n!=null&&i.writeBool(23,n),n=e.Message.getField(t,31),n!=null&&i.writeBool(31,n),n=e.Message.getField(t,36),n!=null&&i.writeString(36,n),n=e.Message.getField(t,37),n!=null&&i.writeString(37,n),n=e.Message.getField(t,39),n!=null&&i.writeString(39,n),n=e.Message.getField(t,40),n!=null&&i.writeString(40,n),n=e.Message.getField(t,41),n!=null&&i.writeString(41,n),n=e.Message.getField(t,44),n!=null&&i.writeString(44,n),n=e.Message.getField(t,45),n!=null&&i.writeString(45,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension)},proto.google.protobuf.FileOptions.OptimizeMode={SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3},proto.google.protobuf.FileOptions.prototype.getJavaPackage=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return e.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(t){return e.Message.setField(this,8,t)},proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return e.Message.setField(this,8,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return e.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return e.Message.getBooleanFieldWithDefault(this,20,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(t){return e.Message.setField(this,20,t)},proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return e.Message.setField(this,20,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return e.Message.getField(this,20)!=null},proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return e.Message.getBooleanFieldWithDefault(this,27,!1)},proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(t){return e.Message.setField(this,27,t)},proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return e.Message.setField(this,27,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return e.Message.getField(this,27)!=null},proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return e.Message.getFieldWithDefault(this,9,1)},proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(t){return e.Message.setField(this,9,t)},proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return e.Message.setField(this,9,void 0)},proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return e.Message.getField(this,9)!=null},proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return e.Message.getFieldWithDefault(this,11,"")},proto.google.protobuf.FileOptions.prototype.setGoPackage=function(t){return e.Message.setField(this,11,t)},proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return e.Message.setField(this,11,void 0)},proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return e.Message.getField(this,11)!=null},proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,16,!1)},proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(t){return e.Message.setField(this,16,t)},proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return e.Message.setField(this,16,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return e.Message.getField(this,16)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(t){return e.Message.setField(this,17,t)},proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return e.Message.setField(this,17,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return e.Message.getField(this,17)!=null},proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,18,!1)},proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(t){return e.Message.setField(this,18,t)},proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return e.Message.setField(this,18,void 0)},proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return e.Message.getField(this,18)!=null},proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return e.Message.getBooleanFieldWithDefault(this,42,!1)},proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(t){return e.Message.setField(this,42,t)},proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return e.Message.setField(this,42,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return e.Message.getField(this,42)!=null},proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,23,!1)},proto.google.protobuf.FileOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,23,t)},proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,23,void 0)},proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,23)!=null},proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return e.Message.getBooleanFieldWithDefault(this,31,!0)},proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(t){return e.Message.setField(this,31,t)},proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return e.Message.setField(this,31,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return e.Message.getField(this,31)!=null},proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return e.Message.getFieldWithDefault(this,36,"")},proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(t){return e.Message.setField(this,36,t)},proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return e.Message.setField(this,36,void 0)},proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return e.Message.getField(this,36)!=null},proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return e.Message.getFieldWithDefault(this,37,"")},proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(t){return e.Message.setField(this,37,t)},proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return e.Message.setField(this,37,void 0)},proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return e.Message.getField(this,37)!=null},proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return e.Message.getFieldWithDefault(this,39,"")},proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(t){return e.Message.setField(this,39,t)},proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return e.Message.setField(this,39,void 0)},proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return e.Message.getField(this,39)!=null},proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return e.Message.getFieldWithDefault(this,40,"")},proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(t){return e.Message.setField(this,40,t)},proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return e.Message.setField(this,40,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return e.Message.getField(this,40)!=null},proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return e.Message.getFieldWithDefault(this,41,"")},proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(t){return e.Message.setField(this,41,t)},proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return e.Message.setField(this,41,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return e.Message.getField(this,41)!=null},proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return e.Message.getFieldWithDefault(this,44,"")},proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(t){return e.Message.setField(this,44,t)},proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return e.Message.setField(this,44,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return e.Message.getField(this,44)!=null},proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return e.Message.getFieldWithDefault(this,45,"")},proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(t){return e.Message.setField(this,45,t)},proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return e.Message.setField(this,45,void 0)},proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return e.Message.getField(this,45)!=null},proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.FileOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MessageOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MessageOptions.prototype.toObject=function(t){return proto.google.protobuf.MessageOptions.toObject(t,this)},proto.google.protobuf.MessageOptions.toObject=function(t,i){var n,p={messageSetWireFormat:e.Message.getBooleanFieldWithDefault(i,1,!1),noStandardDescriptorAccessor:e.Message.getBooleanFieldWithDefault(i,2,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),mapEntry:(n=e.Message.getBooleanField(i,7))==null?void 0:n,uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.MessageOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MessageOptions;return proto.google.protobuf.MessageOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MessageOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readBool();t.setMessageSetWireFormat(p);break;case 2:var p=i.readBool();t.setNoStandardDescriptorAccessor(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 7:var p=i.readBool();t.setMapEntry(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension,proto.google.protobuf.MessageOptions.prototype.setExtension);break}}return t},proto.google.protobuf.MessageOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeBool(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=e.Message.getField(t,7),n!=null&&i.writeBool(7,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)},proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return e.Message.getBooleanFieldWithDefault(this,7,!1)},proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.MessageOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.FieldOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldOptions.prototype.toObject=function(t){return proto.google.protobuf.FieldOptions.toObject(t,this)},proto.google.protobuf.FieldOptions.toObject=function(t,i){var n,p={ctype:e.Message.getFieldWithDefault(i,1,0),packed:(n=e.Message.getBooleanField(i,2))==null?void 0:n,jstype:e.Message.getFieldWithDefault(i,6,0),lazy:e.Message.getBooleanFieldWithDefault(i,5,!1),unverifiedLazy:e.Message.getBooleanFieldWithDefault(i,15,!1),deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),weak:e.Message.getBooleanFieldWithDefault(i,10,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.FieldOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.FieldOptions;return proto.google.protobuf.FieldOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.FieldOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readEnum();t.setCtype(p);break;case 2:var p=i.readBool();t.setPacked(p);break;case 6:var p=i.readEnum();t.setJstype(p);break;case 5:var p=i.readBool();t.setLazy(p);break;case 15:var p=i.readBool();t.setUnverifiedLazy(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 10:var p=i.readBool();t.setWeak(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension,proto.google.protobuf.FieldOptions.prototype.setExtension);break}}return t},proto.google.protobuf.FieldOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeEnum(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,6),n!=null&&i.writeEnum(6,n),n=e.Message.getField(t,5),n!=null&&i.writeBool(5,n),n=e.Message.getField(t,15),n!=null&&i.writeBool(15,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=e.Message.getField(t,10),n!=null&&i.writeBool(10,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension)},proto.google.protobuf.FieldOptions.CType={STRING:0,CORD:1,STRING_PIECE:2},proto.google.protobuf.FieldOptions.JSType={JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2},proto.google.protobuf.FieldOptions.prototype.getCtype=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.FieldOptions.prototype.setCtype=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.FieldOptions.prototype.setPacked=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return e.Message.getFieldWithDefault(this,6,0)},proto.google.protobuf.FieldOptions.prototype.setJstype=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return e.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.FieldOptions.prototype.setLazy=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.FieldOptions.prototype.getUnverifiedLazy=function(){return e.Message.getBooleanFieldWithDefault(this,15,!1)},proto.google.protobuf.FieldOptions.prototype.setUnverifiedLazy=function(t){return e.Message.setField(this,15,t)},proto.google.protobuf.FieldOptions.prototype.clearUnverifiedLazy=function(){return e.Message.setField(this,15,void 0)},proto.google.protobuf.FieldOptions.prototype.hasUnverifiedLazy=function(){return e.Message.getField(this,15)!=null},proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return e.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FieldOptions.prototype.setWeak=function(t){return e.Message.setField(this,10,t)},proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return e.Message.setField(this,10,void 0)},proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return e.Message.getField(this,10)!=null},proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.FieldOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.OneofOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofOptions.prototype.toObject=function(t){return proto.google.protobuf.OneofOptions.toObject(t,this)},proto.google.protobuf.OneofOptions.toObject=function(t,i){var n={uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.OneofOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.OneofOptions;return proto.google.protobuf.OneofOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.OneofOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension,proto.google.protobuf.OneofOptions.prototype.setExtension);break}}return t},proto.google.protobuf.OneofOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.OneofOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.OneofOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)},proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.OneofOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumOptions.toObject(t,this)},proto.google.protobuf.EnumOptions.toObject=function(t,i){var n,p={allowAlias:(n=e.Message.getBooleanField(i,2))==null?void 0:n,deprecated:e.Message.getBooleanFieldWithDefault(i,3,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,p,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,t),t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.EnumOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumOptions;return proto.google.protobuf.EnumOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 2:var p=i.readBool();t.setAllowAlias(p);break;case 3:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension,proto.google.protobuf.EnumOptions.prototype.setExtension);break}}return t},proto.google.protobuf.EnumOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n),n=e.Message.getField(t,3),n!=null&&i.writeBool(3,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)},proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.EnumOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumValueOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueOptions.prototype.toObject=function(t){return proto.google.protobuf.EnumValueOptions.toObject(t,this)},proto.google.protobuf.EnumValueOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,1,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.EnumValueOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.EnumValueOptions;return proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension,proto.google.protobuf.EnumValueOptions.prototype.setExtension);break}}return t},proto.google.protobuf.EnumValueOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeBool(1,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)},proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.EnumValueOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.ServiceOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceOptions.prototype.toObject=function(t){return proto.google.protobuf.ServiceOptions.toObject(t,this)},proto.google.protobuf.ServiceOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,33,!1),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ServiceOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ServiceOptions;return proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 33:var p=i.readBool();t.setDeprecated(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension,proto.google.protobuf.ServiceOptions.prototype.setExtension);break}}return t},proto.google.protobuf.ServiceOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,33),n!=null&&i.writeBool(33,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)},proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,33,t)},proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,33,void 0)},proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,33)!=null},proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.ServiceOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MethodOptions.repeatedFields_=[999],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodOptions.prototype.toObject=function(t){return proto.google.protobuf.MethodOptions.toObject(t,this)},proto.google.protobuf.MethodOptions.toObject=function(t,i){var n={deprecated:e.Message.getBooleanFieldWithDefault(i,33,!1),idempotencyLevel:e.Message.getFieldWithDefault(i,34,0),uninterpretedOptionList:e.Message.toObjectList(i.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,t)};return e.Message.toObjectExtension(i,n,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,t),t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.MethodOptions.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.MethodOptions;return proto.google.protobuf.MethodOptions.deserializeBinaryFromReader(n,i)},proto.google.protobuf.MethodOptions.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 33:var p=i.readBool();t.setDeprecated(p);break;case 34:var p=i.readEnum();t.setIdempotencyLevel(p);break;case 999:var p=new proto.google.protobuf.UninterpretedOption;i.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),t.addUninterpretedOption(p);break;default:e.Message.readBinaryExtension(t,i,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension,proto.google.protobuf.MethodOptions.prototype.setExtension);break}}return t},proto.google.protobuf.MethodOptions.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,33),n!=null&&i.writeBool(33,n),n=e.Message.getField(t,34),n!=null&&i.writeEnum(34,n),n=t.getUninterpretedOptionList(),n.length>0&&i.writeRepeatedMessage(999,n,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),e.Message.serializeBinaryExtensions(t,i,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension)},proto.google.protobuf.MethodOptions.IdempotencyLevel={IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2},proto.google.protobuf.MethodOptions.prototype.getDeprecated=function(){return e.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(t){return e.Message.setField(this,33,t)},proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return e.Message.setField(this,33,void 0)},proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return e.Message.getField(this,33)!=null},proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return e.Message.getFieldWithDefault(this,34,0)},proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(t){return e.Message.setField(this,34,t)},proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return e.Message.setField(this,34,void 0)},proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return e.Message.getField(this,34)!=null},proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(t){return e.Message.setRepeatedWrapperField(this,999,t)},proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(t,i){return e.Message.addToRepeatedWrapperField(this,999,t,proto.google.protobuf.UninterpretedOption,i)},proto.google.protobuf.MethodOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.UninterpretedOption.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.toObject(t,this)},proto.google.protobuf.UninterpretedOption.toObject=function(t,i){var n,p={nameList:e.Message.toObjectList(i.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,t),identifierValue:(n=e.Message.getField(i,3))==null?void 0:n,positiveIntValue:(n=e.Message.getField(i,4))==null?void 0:n,negativeIntValue:(n=e.Message.getField(i,5))==null?void 0:n,doubleValue:(n=e.Message.getOptionalFloatingPointField(i,6))==null?void 0:n,stringValue:i.getStringValue_asB64(),aggregateValue:(n=e.Message.getField(i,8))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.UninterpretedOption.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.UninterpretedOption;return proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader(n,i)},proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 2:var p=new proto.google.protobuf.UninterpretedOption.NamePart;i.readMessage(p,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),t.addName(p);break;case 3:var p=i.readString();t.setIdentifierValue(p);break;case 4:var p=i.readUint64();t.setPositiveIntValue(p);break;case 5:var p=i.readInt64();t.setNegativeIntValue(p);break;case 6:var p=i.readDouble();t.setDoubleValue(p);break;case 7:var p=i.readBytes();t.setStringValue(p);break;case 8:var p=i.readString();t.setAggregateValue(p);break;default:i.skipField();break}}return t},proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getNameList(),n.length>0&&i.writeRepeatedMessage(2,n,proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeUint64(4,n),n=e.Message.getField(t,5),n!=null&&i.writeInt64(5,n),n=e.Message.getField(t,6),n!=null&&i.writeDouble(6,n),n=e.Message.getField(t,7),n!=null&&i.writeBytes(7,n),n=e.Message.getField(t,8),n!=null&&i.writeString(8,n)},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.NamePart.prototype.toObject=function(t){return proto.google.protobuf.UninterpretedOption.NamePart.toObject(t,this)},proto.google.protobuf.UninterpretedOption.NamePart.toObject=function(t,i){var n,p={namePart:(n=e.Message.getField(i,1))==null?void 0:n,isExtension:(n=e.Message.getBooleanField(i,2))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.UninterpretedOption.NamePart;return proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader(n,i)},proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setNamePart(p);break;case 2:var p=i.readBool();t.setIsExtension(p);break;default:i.skipField();break}}return t},proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeBool(2,n)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(t){return e.Message.setField(this,1,t)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return e.Message.setField(this,1,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)},proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(t){return e.Message.setRepeatedWrapperField(this,2,t)},proto.google.protobuf.UninterpretedOption.prototype.addName=function(t,i){return e.Message.addToRepeatedWrapperField(this,2,t,proto.google.protobuf.UninterpretedOption.NamePart,i)},proto.google.protobuf.UninterpretedOption.prototype.clearNameList=function(){return this.setNameList([])},proto.google.protobuf.UninterpretedOption.prototype.getIdentifierValue=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return e.Message.getFieldWithDefault(this,5,0)},proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(t){return e.Message.setField(this,5,t)},proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return e.Message.setField(this,5,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(t){return e.Message.setField(this,6,t)},proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return e.Message.setField(this,6,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return e.Message.bytesAsB64(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return e.Message.bytesAsU8(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(t){return e.Message.setField(this,7,t)},proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return e.Message.setField(this,7,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return e.Message.getField(this,7)!=null},proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return e.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(t){return e.Message.setField(this,8,t)},proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return e.Message.setField(this,8,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return e.Message.getField(this,8)!=null},proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.toObject=function(t,i){var n={locationList:e.Message.toObjectList(i.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.SourceCodeInfo;return proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader(n,i)},proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.SourceCodeInfo.Location;i.readMessage(p,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),t.addLocation(p);break;default:i.skipField();break}}return t},proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getLocationList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter)},proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_=[1,2,6],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.Location.prototype.toObject=function(t){return proto.google.protobuf.SourceCodeInfo.Location.toObject(t,this)},proto.google.protobuf.SourceCodeInfo.Location.toObject=function(t,i){var n,p={pathList:(n=e.Message.getRepeatedField(i,1))==null?void 0:n,spanList:(n=e.Message.getRepeatedField(i,2))==null?void 0:n,leadingComments:(n=e.Message.getField(i,3))==null?void 0:n,trailingComments:(n=e.Message.getField(i,4))==null?void 0:n,leadingDetachedCommentsList:(n=e.Message.getRepeatedField(i,6))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.SourceCodeInfo.Location;return proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader(n,i)},proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addPath(g[p]);break;case 2:for(var g=i.isDelimited()?i.readPackedInt32():[i.readInt32()],p=0;p<g.length;p++)t.addSpan(g[p]);break;case 3:var l=i.readString();t.setLeadingComments(l);break;case 4:var l=i.readString();t.setTrailingComments(l);break;case 6:var l=i.readString();t.addLeadingDetachedComments(l);break;default:i.skipField();break}}return t},proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getPathList(),n.length>0&&i.writePackedInt32(1,n),n=t.getSpanList(),n.length>0&&i.writePackedInt32(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeString(4,n),n=t.getLeadingDetachedCommentsList(),n.length>0&&i.writeRepeatedString(6,n)},proto.google.protobuf.SourceCodeInfo.Location.prototype.getPathList=function(){return e.Message.getRepeatedField(this,1)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(t){return e.Message.setField(this,1,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(t,i){return e.Message.addToRepeatedField(this,1,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getSpanList=function(){return e.Message.getRepeatedField(this,2)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(t){return e.Message.setField(this,2,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(t,i){return e.Message.addToRepeatedField(this,2,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearSpanList=function(){return this.setSpanList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingComments=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return e.Message.getRepeatedField(this,6)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(t){return e.Message.setField(this,6,t||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(t,i){return e.Message.addToRepeatedField(this,6,t,i)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingDetachedCommentsList=function(){return this.setLeadingDetachedCommentsList([])},proto.google.protobuf.SourceCodeInfo.prototype.getLocationList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)},proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.SourceCodeInfo.Location,i)},proto.google.protobuf.SourceCodeInfo.prototype.clearLocationList=function(){return this.setLocationList([])},proto.google.protobuf.GeneratedCodeInfo.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.toObject=function(t,i){var n={annotationList:e.Message.toObjectList(i.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.GeneratedCodeInfo;return proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader(n,i)},proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.GeneratedCodeInfo.Annotation;i.readMessage(p,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),t.addAnnotation(p);break;default:i.skipField();break}}return t},proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getAnnotationList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter)},proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.toObject=function(t){return proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject(t,this)},proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject=function(t,i){var n,p={pathList:(n=e.Message.getRepeatedField(i,1))==null?void 0:n,sourceFile:(n=e.Message.getField(i,2))==null?void 0:n,begin:(n=e.Message.getField(i,3))==null?void 0:n,end:(n=e.Message.getField(i,4))==null?void 0:n};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.GeneratedCodeInfo.Annotation;return proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader(n,i)},proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:for(var p=i.isDelimited()?i.readPackedInt32():[i.readInt32()],g=0;g<p.length;g++)t.addPath(p[g]);break;case 2:var l=i.readString();t.setSourceFile(l);break;case 3:var l=i.readInt32();t.setBegin(l);break;case 4:var l=i.readInt32();t.setEnd(l);break;default:i.skipField();break}}return t},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getPathList(),n.length>0&&i.writePackedInt32(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeInt32(3,n),n=e.Message.getField(t,4),n!=null&&i.writeInt32(4,n)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return e.Message.getRepeatedField(this,1)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(t){return e.Message.setField(this,1,t||[])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(t,i){return e.Message.addToRepeatedField(this,1,t,i)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSourceFile=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(t){return e.Message.setField(this,2,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return e.Message.setField(this,2,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(t){return e.Message.setField(this,3,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return e.Message.setField(this,3,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(t){return e.Message.setField(this,4,t)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return e.Message.setField(this,4,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)},proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.GeneratedCodeInfo.Annotation,i)},proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])},r.object.extend(o,proto.google.protobuf)})(descriptor_pb),function(o){var e=googleProtobuf,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=descriptor_pb;r.object.extend(proto,t),r.exportSymbol("proto.viam.common.v1.ActuatorStatus",null,s),r.exportSymbol("proto.viam.common.v1.AnalogStatus",null,s),r.exportSymbol("proto.viam.common.v1.BoardStatus",null,s),r.exportSymbol("proto.viam.common.v1.Capsule",null,s),r.exportSymbol("proto.viam.common.v1.DigitalInterruptStatus",null,s),r.exportSymbol("proto.viam.common.v1.GeoPoint",null,s),r.exportSymbol("proto.viam.common.v1.GeometriesInFrame",null,s),r.exportSymbol("proto.viam.common.v1.Geometry",null,s),r.exportSymbol("proto.viam.common.v1.Geometry.GeometryTypeCase",null,s),r.exportSymbol("proto.viam.common.v1.Orientation",null,s),r.exportSymbol("proto.viam.common.v1.PointCloudObject",null,s),r.exportSymbol("proto.viam.common.v1.Pose",null,s),r.exportSymbol("proto.viam.common.v1.PoseInFrame",null,s),r.exportSymbol("proto.viam.common.v1.RectangularPrism",null,s),r.exportSymbol("proto.viam.common.v1.ResourceName",null,s),r.exportSymbol("proto.viam.common.v1.Sphere",null,s),r.exportSymbol("proto.viam.common.v1.Transform",null,s),r.exportSymbol("proto.viam.common.v1.Vector3",null,s),r.exportSymbol("proto.viam.common.v1.WorldState",null,s),r.exportSymbol("proto.viam.common.v1.safetyHeartbeatMonitored",null,s),proto.viam.common.v1.ResourceName=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.ResourceName,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.ResourceName.displayName="proto.viam.common.v1.ResourceName"),proto.viam.common.v1.BoardStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.BoardStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.BoardStatus.displayName="proto.viam.common.v1.BoardStatus"),proto.viam.common.v1.AnalogStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.AnalogStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.AnalogStatus.displayName="proto.viam.common.v1.AnalogStatus"),proto.viam.common.v1.DigitalInterruptStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.DigitalInterruptStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.DigitalInterruptStatus.displayName="proto.viam.common.v1.DigitalInterruptStatus"),proto.viam.common.v1.Pose=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Pose,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Pose.displayName="proto.viam.common.v1.Pose"),proto.viam.common.v1.Orientation=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Orientation,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Orientation.displayName="proto.viam.common.v1.Orientation"),proto.viam.common.v1.PoseInFrame=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.PoseInFrame,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.PoseInFrame.displayName="proto.viam.common.v1.PoseInFrame"),proto.viam.common.v1.Vector3=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Vector3,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Vector3.displayName="proto.viam.common.v1.Vector3"),proto.viam.common.v1.Sphere=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Sphere,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Sphere.displayName="proto.viam.common.v1.Sphere"),proto.viam.common.v1.Capsule=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Capsule,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Capsule.displayName="proto.viam.common.v1.Capsule"),proto.viam.common.v1.RectangularPrism=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.RectangularPrism,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.RectangularPrism.displayName="proto.viam.common.v1.RectangularPrism"),proto.viam.common.v1.Geometry=function(i){e.Message.initialize(this,i,0,-1,null,proto.viam.common.v1.Geometry.oneofGroups_)},r.inherits(proto.viam.common.v1.Geometry,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Geometry.displayName="proto.viam.common.v1.Geometry"),proto.viam.common.v1.GeometriesInFrame=function(i){e.Message.initialize(this,i,0,-1,proto.viam.common.v1.GeometriesInFrame.repeatedFields_,null)},r.inherits(proto.viam.common.v1.GeometriesInFrame,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.GeometriesInFrame.displayName="proto.viam.common.v1.GeometriesInFrame"),proto.viam.common.v1.PointCloudObject=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.PointCloudObject,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.PointCloudObject.displayName="proto.viam.common.v1.PointCloudObject"),proto.viam.common.v1.GeoPoint=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.GeoPoint,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.GeoPoint.displayName="proto.viam.common.v1.GeoPoint"),proto.viam.common.v1.Transform=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.Transform,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.Transform.displayName="proto.viam.common.v1.Transform"),proto.viam.common.v1.WorldState=function(i){e.Message.initialize(this,i,0,-1,proto.viam.common.v1.WorldState.repeatedFields_,null)},r.inherits(proto.viam.common.v1.WorldState,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.WorldState.displayName="proto.viam.common.v1.WorldState"),proto.viam.common.v1.ActuatorStatus=function(i){e.Message.initialize(this,i,0,-1,null,null)},r.inherits(proto.viam.common.v1.ActuatorStatus,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.common.v1.ActuatorStatus.displayName="proto.viam.common.v1.ActuatorStatus"),e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.ResourceName.prototype.toObject=function(i){return proto.viam.common.v1.ResourceName.toObject(i,this)},proto.viam.common.v1.ResourceName.toObject=function(i,n){var p={namespace:e.Message.getFieldWithDefault(n,1,""),type:e.Message.getFieldWithDefault(n,2,""),subtype:e.Message.getFieldWithDefault(n,3,""),name:e.Message.getFieldWithDefault(n,4,"")};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.ResourceName.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.ResourceName;return proto.viam.common.v1.ResourceName.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.ResourceName.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setNamespace(g);break;case 2:var g=n.readString();i.setType(g);break;case 3:var g=n.readString();i.setSubtype(g);break;case 4:var g=n.readString();i.setName(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.ResourceName.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.ResourceName.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.ResourceName.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getNamespace(),p.length>0&&n.writeString(1,p),p=i.getType(),p.length>0&&n.writeString(2,p),p=i.getSubtype(),p.length>0&&n.writeString(3,p),p=i.getName(),p.length>0&&n.writeString(4,p)},proto.viam.common.v1.ResourceName.prototype.getNamespace=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.ResourceName.prototype.setNamespace=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.ResourceName.prototype.getType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.common.v1.ResourceName.prototype.setType=function(i){return e.Message.setProto3StringField(this,2,i)},proto.viam.common.v1.ResourceName.prototype.getSubtype=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.common.v1.ResourceName.prototype.setSubtype=function(i){return e.Message.setProto3StringField(this,3,i)},proto.viam.common.v1.ResourceName.prototype.getName=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.common.v1.ResourceName.prototype.setName=function(i){return e.Message.setProto3StringField(this,4,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.BoardStatus.prototype.toObject=function(i){return proto.viam.common.v1.BoardStatus.toObject(i,this)},proto.viam.common.v1.BoardStatus.toObject=function(i,n){var p,g={analogsMap:(p=n.getAnalogsMap())?p.toObject(i,proto.viam.common.v1.AnalogStatus.toObject):[],digitalInterruptsMap:(p=n.getDigitalInterruptsMap())?p.toObject(i,proto.viam.common.v1.DigitalInterruptStatus.toObject):[]};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.BoardStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.BoardStatus;return proto.viam.common.v1.BoardStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.BoardStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=i.getAnalogsMap();n.readMessage(g,function(l,u){e.Map.deserializeBinary(l,u,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader,"",new proto.viam.common.v1.AnalogStatus)});break;case 2:var g=i.getDigitalInterruptsMap();n.readMessage(g,function(l,u){e.Map.deserializeBinary(l,u,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader,"",new proto.viam.common.v1.DigitalInterruptStatus)});break;default:n.skipField();break}}return i},proto.viam.common.v1.BoardStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.BoardStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.BoardStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getAnalogsMap(!0),p&&p.getLength()>0&&p.serializeBinary(1,n,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter),p=i.getDigitalInterruptsMap(!0),p&&p.getLength()>0&&p.serializeBinary(2,n,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter)},proto.viam.common.v1.BoardStatus.prototype.getAnalogsMap=function(i){return e.Message.getMapField(this,1,i,proto.viam.common.v1.AnalogStatus)},proto.viam.common.v1.BoardStatus.prototype.clearAnalogsMap=function(){return this.getAnalogsMap().clear(),this},proto.viam.common.v1.BoardStatus.prototype.getDigitalInterruptsMap=function(i){return e.Message.getMapField(this,2,i,proto.viam.common.v1.DigitalInterruptStatus)},proto.viam.common.v1.BoardStatus.prototype.clearDigitalInterruptsMap=function(){return this.getDigitalInterruptsMap().clear(),this},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.AnalogStatus.prototype.toObject=function(i){return proto.viam.common.v1.AnalogStatus.toObject(i,this)},proto.viam.common.v1.AnalogStatus.toObject=function(i,n){var p={value:e.Message.getFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.AnalogStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.AnalogStatus;return proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.AnalogStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readInt32();i.setValue(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.AnalogStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.AnalogStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getValue(),p!==0&&n.writeInt32(1,p)},proto.viam.common.v1.AnalogStatus.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.common.v1.AnalogStatus.prototype.setValue=function(i){return e.Message.setProto3IntField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.DigitalInterruptStatus.prototype.toObject=function(i){return proto.viam.common.v1.DigitalInterruptStatus.toObject(i,this)},proto.viam.common.v1.DigitalInterruptStatus.toObject=function(i,n){var p={value:e.Message.getFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.DigitalInterruptStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.DigitalInterruptStatus;return proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.DigitalInterruptStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readInt64();i.setValue(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.DigitalInterruptStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.DigitalInterruptStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getValue(),p!==0&&n.writeInt64(1,p)},proto.viam.common.v1.DigitalInterruptStatus.prototype.getValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.common.v1.DigitalInterruptStatus.prototype.setValue=function(i){return e.Message.setProto3IntField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Pose.prototype.toObject=function(i){return proto.viam.common.v1.Pose.toObject(i,this)},proto.viam.common.v1.Pose.toObject=function(i,n){var p={x:e.Message.getFloatingPointFieldWithDefault(n,1,0),y:e.Message.getFloatingPointFieldWithDefault(n,2,0),z:e.Message.getFloatingPointFieldWithDefault(n,3,0),oX:e.Message.getFloatingPointFieldWithDefault(n,4,0),oY:e.Message.getFloatingPointFieldWithDefault(n,5,0),oZ:e.Message.getFloatingPointFieldWithDefault(n,6,0),theta:e.Message.getFloatingPointFieldWithDefault(n,7,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Pose.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Pose;return proto.viam.common.v1.Pose.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Pose.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setX(g);break;case 2:var g=n.readDouble();i.setY(g);break;case 3:var g=n.readDouble();i.setZ(g);break;case 4:var g=n.readDouble();i.setOX(g);break;case 5:var g=n.readDouble();i.setOY(g);break;case 6:var g=n.readDouble();i.setOZ(g);break;case 7:var g=n.readDouble();i.setTheta(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Pose.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Pose.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Pose.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getX(),p!==0&&n.writeDouble(1,p),p=i.getY(),p!==0&&n.writeDouble(2,p),p=i.getZ(),p!==0&&n.writeDouble(3,p),p=i.getOX(),p!==0&&n.writeDouble(4,p),p=i.getOY(),p!==0&&n.writeDouble(5,p),p=i.getOZ(),p!==0&&n.writeDouble(6,p),p=i.getTheta(),p!==0&&n.writeDouble(7,p)},proto.viam.common.v1.Pose.prototype.getX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Pose.prototype.setX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Pose.prototype.getY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Pose.prototype.setY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Pose.prototype.getZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Pose.prototype.setZ=function(i){return e.Message.setProto3FloatField(this,3,i)},proto.viam.common.v1.Pose.prototype.getOX=function(){return e.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.viam.common.v1.Pose.prototype.setOX=function(i){return e.Message.setProto3FloatField(this,4,i)},proto.viam.common.v1.Pose.prototype.getOY=function(){return e.Message.getFloatingPointFieldWithDefault(this,5,0)},proto.viam.common.v1.Pose.prototype.setOY=function(i){return e.Message.setProto3FloatField(this,5,i)},proto.viam.common.v1.Pose.prototype.getOZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.viam.common.v1.Pose.prototype.setOZ=function(i){return e.Message.setProto3FloatField(this,6,i)},proto.viam.common.v1.Pose.prototype.getTheta=function(){return e.Message.getFloatingPointFieldWithDefault(this,7,0)},proto.viam.common.v1.Pose.prototype.setTheta=function(i){return e.Message.setProto3FloatField(this,7,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Orientation.prototype.toObject=function(i){return proto.viam.common.v1.Orientation.toObject(i,this)},proto.viam.common.v1.Orientation.toObject=function(i,n){var p={oX:e.Message.getFloatingPointFieldWithDefault(n,1,0),oY:e.Message.getFloatingPointFieldWithDefault(n,2,0),oZ:e.Message.getFloatingPointFieldWithDefault(n,3,0),theta:e.Message.getFloatingPointFieldWithDefault(n,4,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Orientation.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Orientation;return proto.viam.common.v1.Orientation.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Orientation.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setOX(g);break;case 2:var g=n.readDouble();i.setOY(g);break;case 3:var g=n.readDouble();i.setOZ(g);break;case 4:var g=n.readDouble();i.setTheta(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Orientation.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Orientation.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Orientation.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getOX(),p!==0&&n.writeDouble(1,p),p=i.getOY(),p!==0&&n.writeDouble(2,p),p=i.getOZ(),p!==0&&n.writeDouble(3,p),p=i.getTheta(),p!==0&&n.writeDouble(4,p)},proto.viam.common.v1.Orientation.prototype.getOX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Orientation.prototype.setOX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Orientation.prototype.getOY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Orientation.prototype.setOY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Orientation.prototype.getOZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Orientation.prototype.setOZ=function(i){return e.Message.setProto3FloatField(this,3,i)},proto.viam.common.v1.Orientation.prototype.getTheta=function(){return e.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.viam.common.v1.Orientation.prototype.setTheta=function(i){return e.Message.setProto3FloatField(this,4,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.PoseInFrame.prototype.toObject=function(i){return proto.viam.common.v1.PoseInFrame.toObject(i,this)},proto.viam.common.v1.PoseInFrame.toObject=function(i,n){var p,g={referenceFrame:e.Message.getFieldWithDefault(n,1,""),pose:(p=n.getPose())&&proto.viam.common.v1.Pose.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.PoseInFrame.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.PoseInFrame;return proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.Pose;n.readMessage(g,proto.viam.common.v1.Pose.deserializeBinaryFromReader),i.setPose(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.PoseInFrame.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getPose(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.Pose.serializeBinaryToWriter)},proto.viam.common.v1.PoseInFrame.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.PoseInFrame.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.PoseInFrame.prototype.getPose=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Pose,2)},proto.viam.common.v1.PoseInFrame.prototype.setPose=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.PoseInFrame.prototype.clearPose=function(){return this.setPose(void 0)},proto.viam.common.v1.PoseInFrame.prototype.hasPose=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Vector3.prototype.toObject=function(i){return proto.viam.common.v1.Vector3.toObject(i,this)},proto.viam.common.v1.Vector3.toObject=function(i,n){var p={x:e.Message.getFloatingPointFieldWithDefault(n,1,0),y:e.Message.getFloatingPointFieldWithDefault(n,2,0),z:e.Message.getFloatingPointFieldWithDefault(n,3,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Vector3.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Vector3;return proto.viam.common.v1.Vector3.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Vector3.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setX(g);break;case 2:var g=n.readDouble();i.setY(g);break;case 3:var g=n.readDouble();i.setZ(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Vector3.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Vector3.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Vector3.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getX(),p!==0&&n.writeDouble(1,p),p=i.getY(),p!==0&&n.writeDouble(2,p),p=i.getZ(),p!==0&&n.writeDouble(3,p)},proto.viam.common.v1.Vector3.prototype.getX=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Vector3.prototype.setX=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Vector3.prototype.getY=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Vector3.prototype.setY=function(i){return e.Message.setProto3FloatField(this,2,i)},proto.viam.common.v1.Vector3.prototype.getZ=function(){return e.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.viam.common.v1.Vector3.prototype.setZ=function(i){return e.Message.setProto3FloatField(this,3,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Sphere.prototype.toObject=function(i){return proto.viam.common.v1.Sphere.toObject(i,this)},proto.viam.common.v1.Sphere.toObject=function(i,n){var p={radiusMm:e.Message.getFloatingPointFieldWithDefault(n,1,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Sphere.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Sphere;return proto.viam.common.v1.Sphere.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Sphere.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setRadiusMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Sphere.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Sphere.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Sphere.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getRadiusMm(),p!==0&&n.writeDouble(1,p)},proto.viam.common.v1.Sphere.prototype.getRadiusMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Sphere.prototype.setRadiusMm=function(i){return e.Message.setProto3FloatField(this,1,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Capsule.prototype.toObject=function(i){return proto.viam.common.v1.Capsule.toObject(i,this)},proto.viam.common.v1.Capsule.toObject=function(i,n){var p={radiusMm:e.Message.getFloatingPointFieldWithDefault(n,1,0),lengthMm:e.Message.getFloatingPointFieldWithDefault(n,2,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.Capsule.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Capsule;return proto.viam.common.v1.Capsule.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Capsule.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setRadiusMm(g);break;case 2:var g=n.readDouble();i.setLengthMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Capsule.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Capsule.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Capsule.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getRadiusMm(),p!==0&&n.writeDouble(1,p),p=i.getLengthMm(),p!==0&&n.writeDouble(2,p)},proto.viam.common.v1.Capsule.prototype.getRadiusMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.Capsule.prototype.setRadiusMm=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.Capsule.prototype.getLengthMm=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.Capsule.prototype.setLengthMm=function(i){return e.Message.setProto3FloatField(this,2,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.RectangularPrism.prototype.toObject=function(i){return proto.viam.common.v1.RectangularPrism.toObject(i,this)},proto.viam.common.v1.RectangularPrism.toObject=function(i,n){var p,g={dimsMm:(p=n.getDimsMm())&&proto.viam.common.v1.Vector3.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.RectangularPrism.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.RectangularPrism;return proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.Vector3;n.readMessage(g,proto.viam.common.v1.Vector3.deserializeBinaryFromReader),i.setDimsMm(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.RectangularPrism.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getDimsMm(),p!=null&&n.writeMessage(1,p,proto.viam.common.v1.Vector3.serializeBinaryToWriter)},proto.viam.common.v1.RectangularPrism.prototype.getDimsMm=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Vector3,1)},proto.viam.common.v1.RectangularPrism.prototype.setDimsMm=function(i){return e.Message.setWrapperField(this,1,i)},proto.viam.common.v1.RectangularPrism.prototype.clearDimsMm=function(){return this.setDimsMm(void 0)},proto.viam.common.v1.RectangularPrism.prototype.hasDimsMm=function(){return e.Message.getField(this,1)!=null},proto.viam.common.v1.Geometry.oneofGroups_=[[2,3,5]],proto.viam.common.v1.Geometry.GeometryTypeCase={GEOMETRY_TYPE_NOT_SET:0,SPHERE:2,BOX:3,CAPSULE:5},proto.viam.common.v1.Geometry.prototype.getGeometryTypeCase=function(){return e.Message.computeOneofCase(this,proto.viam.common.v1.Geometry.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Geometry.prototype.toObject=function(i){return proto.viam.common.v1.Geometry.toObject(i,this)},proto.viam.common.v1.Geometry.toObject=function(i,n){var p,g={center:(p=n.getCenter())&&proto.viam.common.v1.Pose.toObject(i,p),sphere:(p=n.getSphere())&&proto.viam.common.v1.Sphere.toObject(i,p),box:(p=n.getBox())&&proto.viam.common.v1.RectangularPrism.toObject(i,p),capsule:(p=n.getCapsule())&&proto.viam.common.v1.Capsule.toObject(i,p),label:e.Message.getFieldWithDefault(n,4,"")};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.Geometry.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Geometry;return proto.viam.common.v1.Geometry.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Geometry.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.Pose;n.readMessage(g,proto.viam.common.v1.Pose.deserializeBinaryFromReader),i.setCenter(g);break;case 2:var g=new proto.viam.common.v1.Sphere;n.readMessage(g,proto.viam.common.v1.Sphere.deserializeBinaryFromReader),i.setSphere(g);break;case 3:var g=new proto.viam.common.v1.RectangularPrism;n.readMessage(g,proto.viam.common.v1.RectangularPrism.deserializeBinaryFromReader),i.setBox(g);break;case 5:var g=new proto.viam.common.v1.Capsule;n.readMessage(g,proto.viam.common.v1.Capsule.deserializeBinaryFromReader),i.setCapsule(g);break;case 4:var g=n.readString();i.setLabel(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Geometry.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Geometry.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Geometry.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getCenter(),p!=null&&n.writeMessage(1,p,proto.viam.common.v1.Pose.serializeBinaryToWriter),p=i.getSphere(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.Sphere.serializeBinaryToWriter),p=i.getBox(),p!=null&&n.writeMessage(3,p,proto.viam.common.v1.RectangularPrism.serializeBinaryToWriter),p=i.getCapsule(),p!=null&&n.writeMessage(5,p,proto.viam.common.v1.Capsule.serializeBinaryToWriter),p=i.getLabel(),p.length>0&&n.writeString(4,p)},proto.viam.common.v1.Geometry.prototype.getCenter=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Pose,1)},proto.viam.common.v1.Geometry.prototype.setCenter=function(i){return e.Message.setWrapperField(this,1,i)},proto.viam.common.v1.Geometry.prototype.clearCenter=function(){return this.setCenter(void 0)},proto.viam.common.v1.Geometry.prototype.hasCenter=function(){return e.Message.getField(this,1)!=null},proto.viam.common.v1.Geometry.prototype.getSphere=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Sphere,2)},proto.viam.common.v1.Geometry.prototype.setSphere=function(i){return e.Message.setOneofWrapperField(this,2,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearSphere=function(){return this.setSphere(void 0)},proto.viam.common.v1.Geometry.prototype.hasSphere=function(){return e.Message.getField(this,2)!=null},proto.viam.common.v1.Geometry.prototype.getBox=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.RectangularPrism,3)},proto.viam.common.v1.Geometry.prototype.setBox=function(i){return e.Message.setOneofWrapperField(this,3,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearBox=function(){return this.setBox(void 0)},proto.viam.common.v1.Geometry.prototype.hasBox=function(){return e.Message.getField(this,3)!=null},proto.viam.common.v1.Geometry.prototype.getCapsule=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Capsule,5)},proto.viam.common.v1.Geometry.prototype.setCapsule=function(i){return e.Message.setOneofWrapperField(this,5,proto.viam.common.v1.Geometry.oneofGroups_[0],i)},proto.viam.common.v1.Geometry.prototype.clearCapsule=function(){return this.setCapsule(void 0)},proto.viam.common.v1.Geometry.prototype.hasCapsule=function(){return e.Message.getField(this,5)!=null},proto.viam.common.v1.Geometry.prototype.getLabel=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.common.v1.Geometry.prototype.setLabel=function(i){return e.Message.setProto3StringField(this,4,i)},proto.viam.common.v1.GeometriesInFrame.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.GeometriesInFrame.prototype.toObject=function(i){return proto.viam.common.v1.GeometriesInFrame.toObject(i,this)},proto.viam.common.v1.GeometriesInFrame.toObject=function(i,n){var p={referenceFrame:e.Message.getFieldWithDefault(n,1,""),geometriesList:e.Message.toObjectList(n.getGeometriesList(),proto.viam.common.v1.Geometry.toObject,i)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.GeometriesInFrame.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.GeometriesInFrame;return proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.Geometry;n.readMessage(g,proto.viam.common.v1.Geometry.deserializeBinaryFromReader),i.addGeometries(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.GeometriesInFrame.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getGeometriesList(),p.length>0&&n.writeRepeatedMessage(2,p,proto.viam.common.v1.Geometry.serializeBinaryToWriter)},proto.viam.common.v1.GeometriesInFrame.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.GeometriesInFrame.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.GeometriesInFrame.prototype.getGeometriesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.Geometry,2)},proto.viam.common.v1.GeometriesInFrame.prototype.setGeometriesList=function(i){return e.Message.setRepeatedWrapperField(this,2,i)},proto.viam.common.v1.GeometriesInFrame.prototype.addGeometries=function(i,n){return e.Message.addToRepeatedWrapperField(this,2,i,proto.viam.common.v1.Geometry,n)},proto.viam.common.v1.GeometriesInFrame.prototype.clearGeometriesList=function(){return this.setGeometriesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.PointCloudObject.prototype.toObject=function(i){return proto.viam.common.v1.PointCloudObject.toObject(i,this)},proto.viam.common.v1.PointCloudObject.toObject=function(i,n){var p,g={pointCloud:n.getPointCloud_asB64(),geometries:(p=n.getGeometries())&&proto.viam.common.v1.GeometriesInFrame.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.PointCloudObject.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.PointCloudObject;return proto.viam.common.v1.PointCloudObject.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.PointCloudObject.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readBytes();i.setPointCloud(g);break;case 2:var g=new proto.viam.common.v1.GeometriesInFrame;n.readMessage(g,proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader),i.setGeometries(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.PointCloudObject.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.PointCloudObject.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.PointCloudObject.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getPointCloud_asU8(),p.length>0&&n.writeBytes(1,p),p=i.getGeometries(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter)},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud_asB64=function(){return e.Message.bytesAsB64(this.getPointCloud())},proto.viam.common.v1.PointCloudObject.prototype.getPointCloud_asU8=function(){return e.Message.bytesAsU8(this.getPointCloud())},proto.viam.common.v1.PointCloudObject.prototype.setPointCloud=function(i){return e.Message.setProto3BytesField(this,1,i)},proto.viam.common.v1.PointCloudObject.prototype.getGeometries=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.GeometriesInFrame,2)},proto.viam.common.v1.PointCloudObject.prototype.setGeometries=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.PointCloudObject.prototype.clearGeometries=function(){return this.setGeometries(void 0)},proto.viam.common.v1.PointCloudObject.prototype.hasGeometries=function(){return e.Message.getField(this,2)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.GeoPoint.prototype.toObject=function(i){return proto.viam.common.v1.GeoPoint.toObject(i,this)},proto.viam.common.v1.GeoPoint.toObject=function(i,n){var p={latitude:e.Message.getFloatingPointFieldWithDefault(n,1,0),longitude:e.Message.getFloatingPointFieldWithDefault(n,2,0)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.GeoPoint.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.GeoPoint;return proto.viam.common.v1.GeoPoint.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.GeoPoint.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readDouble();i.setLatitude(g);break;case 2:var g=n.readDouble();i.setLongitude(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.GeoPoint.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.GeoPoint.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.GeoPoint.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getLatitude(),p!==0&&n.writeDouble(1,p),p=i.getLongitude(),p!==0&&n.writeDouble(2,p)},proto.viam.common.v1.GeoPoint.prototype.getLatitude=function(){return e.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.viam.common.v1.GeoPoint.prototype.setLatitude=function(i){return e.Message.setProto3FloatField(this,1,i)},proto.viam.common.v1.GeoPoint.prototype.getLongitude=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.common.v1.GeoPoint.prototype.setLongitude=function(i){return e.Message.setProto3FloatField(this,2,i)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.Transform.prototype.toObject=function(i){return proto.viam.common.v1.Transform.toObject(i,this)},proto.viam.common.v1.Transform.toObject=function(i,n){var p,g={referenceFrame:e.Message.getFieldWithDefault(n,1,""),poseInObserverFrame:(p=n.getPoseInObserverFrame())&&proto.viam.common.v1.PoseInFrame.toObject(i,p),physicalObject:(p=n.getPhysicalObject())&&proto.viam.common.v1.Geometry.toObject(i,p)};return i&&(g.$jspbMessageInstance=n),g}),proto.viam.common.v1.Transform.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.Transform;return proto.viam.common.v1.Transform.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.Transform.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readString();i.setReferenceFrame(g);break;case 2:var g=new proto.viam.common.v1.PoseInFrame;n.readMessage(g,proto.viam.common.v1.PoseInFrame.deserializeBinaryFromReader),i.setPoseInObserverFrame(g);break;case 3:var g=new proto.viam.common.v1.Geometry;n.readMessage(g,proto.viam.common.v1.Geometry.deserializeBinaryFromReader),i.setPhysicalObject(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.Transform.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.Transform.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.Transform.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getReferenceFrame(),p.length>0&&n.writeString(1,p),p=i.getPoseInObserverFrame(),p!=null&&n.writeMessage(2,p,proto.viam.common.v1.PoseInFrame.serializeBinaryToWriter),p=i.getPhysicalObject(),p!=null&&n.writeMessage(3,p,proto.viam.common.v1.Geometry.serializeBinaryToWriter)},proto.viam.common.v1.Transform.prototype.getReferenceFrame=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.common.v1.Transform.prototype.setReferenceFrame=function(i){return e.Message.setProto3StringField(this,1,i)},proto.viam.common.v1.Transform.prototype.getPoseInObserverFrame=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.PoseInFrame,2)},proto.viam.common.v1.Transform.prototype.setPoseInObserverFrame=function(i){return e.Message.setWrapperField(this,2,i)},proto.viam.common.v1.Transform.prototype.clearPoseInObserverFrame=function(){return this.setPoseInObserverFrame(void 0)},proto.viam.common.v1.Transform.prototype.hasPoseInObserverFrame=function(){return e.Message.getField(this,2)!=null},proto.viam.common.v1.Transform.prototype.getPhysicalObject=function(){return e.Message.getWrapperField(this,proto.viam.common.v1.Geometry,3)},proto.viam.common.v1.Transform.prototype.setPhysicalObject=function(i){return e.Message.setWrapperField(this,3,i)},proto.viam.common.v1.Transform.prototype.clearPhysicalObject=function(){return this.setPhysicalObject(void 0)},proto.viam.common.v1.Transform.prototype.hasPhysicalObject=function(){return e.Message.getField(this,3)!=null},proto.viam.common.v1.WorldState.repeatedFields_=[1,3],e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.WorldState.prototype.toObject=function(i){return proto.viam.common.v1.WorldState.toObject(i,this)},proto.viam.common.v1.WorldState.toObject=function(i,n){var p={obstaclesList:e.Message.toObjectList(n.getObstaclesList(),proto.viam.common.v1.GeometriesInFrame.toObject,i),transformsList:e.Message.toObjectList(n.getTransformsList(),proto.viam.common.v1.Transform.toObject,i)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.WorldState.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.WorldState;return proto.viam.common.v1.WorldState.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.WorldState.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=new proto.viam.common.v1.GeometriesInFrame;n.readMessage(g,proto.viam.common.v1.GeometriesInFrame.deserializeBinaryFromReader),i.addObstacles(g);break;case 3:var g=new proto.viam.common.v1.Transform;n.readMessage(g,proto.viam.common.v1.Transform.deserializeBinaryFromReader),i.addTransforms(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.WorldState.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.WorldState.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.WorldState.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getObstaclesList(),p.length>0&&n.writeRepeatedMessage(1,p,proto.viam.common.v1.GeometriesInFrame.serializeBinaryToWriter),p=i.getTransformsList(),p.length>0&&n.writeRepeatedMessage(3,p,proto.viam.common.v1.Transform.serializeBinaryToWriter)},proto.viam.common.v1.WorldState.prototype.getObstaclesList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.GeometriesInFrame,1)},proto.viam.common.v1.WorldState.prototype.setObstaclesList=function(i){return e.Message.setRepeatedWrapperField(this,1,i)},proto.viam.common.v1.WorldState.prototype.addObstacles=function(i,n){return e.Message.addToRepeatedWrapperField(this,1,i,proto.viam.common.v1.GeometriesInFrame,n)},proto.viam.common.v1.WorldState.prototype.clearObstaclesList=function(){return this.setObstaclesList([])},proto.viam.common.v1.WorldState.prototype.getTransformsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.common.v1.Transform,3)},proto.viam.common.v1.WorldState.prototype.setTransformsList=function(i){return e.Message.setRepeatedWrapperField(this,3,i)},proto.viam.common.v1.WorldState.prototype.addTransforms=function(i,n){return e.Message.addToRepeatedWrapperField(this,3,i,proto.viam.common.v1.Transform,n)},proto.viam.common.v1.WorldState.prototype.clearTransformsList=function(){return this.setTransformsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.common.v1.ActuatorStatus.prototype.toObject=function(i){return proto.viam.common.v1.ActuatorStatus.toObject(i,this)},proto.viam.common.v1.ActuatorStatus.toObject=function(i,n){var p={isMoving:e.Message.getBooleanFieldWithDefault(n,1,!1)};return i&&(p.$jspbMessageInstance=n),p}),proto.viam.common.v1.ActuatorStatus.deserializeBinary=function(i){var n=new e.BinaryReader(i),p=new proto.viam.common.v1.ActuatorStatus;return proto.viam.common.v1.ActuatorStatus.deserializeBinaryFromReader(p,n)},proto.viam.common.v1.ActuatorStatus.deserializeBinaryFromReader=function(i,n){for(;n.nextField()&&!n.isEndGroup();){var p=n.getFieldNumber();switch(p){case 1:var g=n.readBool();i.setIsMoving(g);break;default:n.skipField();break}}return i},proto.viam.common.v1.ActuatorStatus.prototype.serializeBinary=function(){var i=new e.BinaryWriter;return proto.viam.common.v1.ActuatorStatus.serializeBinaryToWriter(this,i),i.getResultBuffer()},proto.viam.common.v1.ActuatorStatus.serializeBinaryToWriter=function(i,n){var p=void 0;p=i.getIsMoving(),p&&n.writeBool(1,p)},proto.viam.common.v1.ActuatorStatus.prototype.getIsMoving=function(){return e.Message.getBooleanFieldWithDefault(this,1,!1)},proto.viam.common.v1.ActuatorStatus.prototype.setIsMoving=function(i){return e.Message.setProto3BooleanField(this,1,i)},proto.viam.common.v1.safetyHeartbeatMonitored=new e.ExtensionFieldInfo(84260,{safetyHeartbeatMonitored:0},null,null,0),t.MethodOptions.extensionsBinary[84260]=new e.ExtensionFieldBinaryInfo(proto.viam.common.v1.safetyHeartbeatMonitored,e.BinaryReader.prototype.readBool,e.BinaryWriter.prototype.writeBool,void 0,void 0,!1),t.MethodOptions.extensions[84260]=proto.viam.common.v1.safetyHeartbeatMonitored,r.object.extend(o,proto.viam.common.v1)}(common_pb);var annotations_pb={},http_pb={};(function(o){var e=googleProtobuf,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null);r.exportSymbol("proto.google.api.CustomHttpPattern",null,s),r.exportSymbol("proto.google.api.Http",null,s),r.exportSymbol("proto.google.api.HttpRule",null,s),r.exportSymbol("proto.google.api.HttpRule.PatternCase",null,s),proto.google.api.Http=function(t){e.Message.initialize(this,t,0,-1,proto.google.api.Http.repeatedFields_,null)},r.inherits(proto.google.api.Http,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.Http.displayName="proto.google.api.Http"),proto.google.api.HttpRule=function(t){e.Message.initialize(this,t,0,-1,proto.google.api.HttpRule.repeatedFields_,proto.google.api.HttpRule.oneofGroups_)},r.inherits(proto.google.api.HttpRule,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.HttpRule.displayName="proto.google.api.HttpRule"),proto.google.api.CustomHttpPattern=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.api.CustomHttpPattern,e.Message),r.DEBUG&&!COMPILED&&(proto.google.api.CustomHttpPattern.displayName="proto.google.api.CustomHttpPattern"),proto.google.api.Http.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.api.Http.prototype.toObject=function(t){return proto.google.api.Http.toObject(t,this)},proto.google.api.Http.toObject=function(t,i){var n={rulesList:e.Message.toObjectList(i.getRulesList(),proto.google.api.HttpRule.toObject,t),fullyDecodeReservedExpansion:e.Message.getBooleanFieldWithDefault(i,2,!1)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.api.Http.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.Http;return proto.google.api.Http.deserializeBinaryFromReader(n,i)},proto.google.api.Http.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.api.HttpRule;i.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),t.addRules(p);break;case 2:var p=i.readBool();t.setFullyDecodeReservedExpansion(p);break;default:i.skipField();break}}return t},proto.google.api.Http.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.Http.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.Http.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getRulesList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.api.HttpRule.serializeBinaryToWriter),n=t.getFullyDecodeReservedExpansion(),n&&i.writeBool(2,n)},proto.google.api.Http.prototype.getRulesList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,1)},proto.google.api.Http.prototype.setRulesList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.api.Http.prototype.addRules=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.api.HttpRule,i)},proto.google.api.Http.prototype.clearRulesList=function(){return this.setRulesList([])},proto.google.api.Http.prototype.getFullyDecodeReservedExpansion=function(){return e.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.api.Http.prototype.setFullyDecodeReservedExpansion=function(t){return e.Message.setProto3BooleanField(this,2,t)},proto.google.api.HttpRule.repeatedFields_=[11],proto.google.api.HttpRule.oneofGroups_=[[2,3,4,5,6,8]],proto.google.api.HttpRule.PatternCase={PATTERN_NOT_SET:0,GET:2,PUT:3,POST:4,DELETE:5,PATCH:6,CUSTOM:8},proto.google.api.HttpRule.prototype.getPatternCase=function(){return e.Message.computeOneofCase(this,proto.google.api.HttpRule.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.google.api.HttpRule.prototype.toObject=function(t){return proto.google.api.HttpRule.toObject(t,this)},proto.google.api.HttpRule.toObject=function(t,i){var n,p={selector:e.Message.getFieldWithDefault(i,1,""),get:e.Message.getFieldWithDefault(i,2,""),put:e.Message.getFieldWithDefault(i,3,""),post:e.Message.getFieldWithDefault(i,4,""),pb_delete:e.Message.getFieldWithDefault(i,5,""),patch:e.Message.getFieldWithDefault(i,6,""),custom:(n=i.getCustom())&&proto.google.api.CustomHttpPattern.toObject(t,n),body:e.Message.getFieldWithDefault(i,7,""),responseBody:e.Message.getFieldWithDefault(i,12,""),additionalBindingsList:e.Message.toObjectList(i.getAdditionalBindingsList(),proto.google.api.HttpRule.toObject,t)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.api.HttpRule.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.HttpRule;return proto.google.api.HttpRule.deserializeBinaryFromReader(n,i)},proto.google.api.HttpRule.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setSelector(p);break;case 2:var p=i.readString();t.setGet(p);break;case 3:var p=i.readString();t.setPut(p);break;case 4:var p=i.readString();t.setPost(p);break;case 5:var p=i.readString();t.setDelete(p);break;case 6:var p=i.readString();t.setPatch(p);break;case 8:var p=new proto.google.api.CustomHttpPattern;i.readMessage(p,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader),t.setCustom(p);break;case 7:var p=i.readString();t.setBody(p);break;case 12:var p=i.readString();t.setResponseBody(p);break;case 11:var p=new proto.google.api.HttpRule;i.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),t.addAdditionalBindings(p);break;default:i.skipField();break}}return t},proto.google.api.HttpRule.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.HttpRule.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.HttpRule.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getSelector(),n.length>0&&i.writeString(1,n),n=e.Message.getField(t,2),n!=null&&i.writeString(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeString(4,n),n=e.Message.getField(t,5),n!=null&&i.writeString(5,n),n=e.Message.getField(t,6),n!=null&&i.writeString(6,n),n=t.getCustom(),n!=null&&i.writeMessage(8,n,proto.google.api.CustomHttpPattern.serializeBinaryToWriter),n=t.getBody(),n.length>0&&i.writeString(7,n),n=t.getResponseBody(),n.length>0&&i.writeString(12,n),n=t.getAdditionalBindingsList(),n.length>0&&i.writeRepeatedMessage(11,n,proto.google.api.HttpRule.serializeBinaryToWriter)},proto.google.api.HttpRule.prototype.getSelector=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.api.HttpRule.prototype.setSelector=function(t){return e.Message.setProto3StringField(this,1,t)},proto.google.api.HttpRule.prototype.getGet=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.api.HttpRule.prototype.setGet=function(t){return e.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearGet=function(){return e.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasGet=function(){return e.Message.getField(this,2)!=null},proto.google.api.HttpRule.prototype.getPut=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.api.HttpRule.prototype.setPut=function(t){return e.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPut=function(){return e.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPut=function(){return e.Message.getField(this,3)!=null},proto.google.api.HttpRule.prototype.getPost=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.google.api.HttpRule.prototype.setPost=function(t){return e.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPost=function(){return e.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPost=function(){return e.Message.getField(this,4)!=null},proto.google.api.HttpRule.prototype.getDelete=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.google.api.HttpRule.prototype.setDelete=function(t){return e.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearDelete=function(){return e.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasDelete=function(){return e.Message.getField(this,5)!=null},proto.google.api.HttpRule.prototype.getPatch=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.google.api.HttpRule.prototype.setPatch=function(t){return e.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearPatch=function(){return e.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPatch=function(){return e.Message.getField(this,6)!=null},proto.google.api.HttpRule.prototype.getCustom=function(){return e.Message.getWrapperField(this,proto.google.api.CustomHttpPattern,8)},proto.google.api.HttpRule.prototype.setCustom=function(t){return e.Message.setOneofWrapperField(this,8,proto.google.api.HttpRule.oneofGroups_[0],t)},proto.google.api.HttpRule.prototype.clearCustom=function(){return this.setCustom(void 0)},proto.google.api.HttpRule.prototype.hasCustom=function(){return e.Message.getField(this,8)!=null},proto.google.api.HttpRule.prototype.getBody=function(){return e.Message.getFieldWithDefault(this,7,"")},proto.google.api.HttpRule.prototype.setBody=function(t){return e.Message.setProto3StringField(this,7,t)},proto.google.api.HttpRule.prototype.getResponseBody=function(){return e.Message.getFieldWithDefault(this,12,"")},proto.google.api.HttpRule.prototype.setResponseBody=function(t){return e.Message.setProto3StringField(this,12,t)},proto.google.api.HttpRule.prototype.getAdditionalBindingsList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,11)},proto.google.api.HttpRule.prototype.setAdditionalBindingsList=function(t){return e.Message.setRepeatedWrapperField(this,11,t)},proto.google.api.HttpRule.prototype.addAdditionalBindings=function(t,i){return e.Message.addToRepeatedWrapperField(this,11,t,proto.google.api.HttpRule,i)},proto.google.api.HttpRule.prototype.clearAdditionalBindingsList=function(){return this.setAdditionalBindingsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.google.api.CustomHttpPattern.prototype.toObject=function(t){return proto.google.api.CustomHttpPattern.toObject(t,this)},proto.google.api.CustomHttpPattern.toObject=function(t,i){var n={kind:e.Message.getFieldWithDefault(i,1,""),path:e.Message.getFieldWithDefault(i,2,"")};return t&&(n.$jspbMessageInstance=i),n}),proto.google.api.CustomHttpPattern.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.api.CustomHttpPattern;return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(n,i)},proto.google.api.CustomHttpPattern.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readString();t.setKind(p);break;case 2:var p=i.readString();t.setPath(p);break;default:i.skipField();break}}return t},proto.google.api.CustomHttpPattern.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.api.CustomHttpPattern.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getKind(),n.length>0&&i.writeString(1,n),n=t.getPath(),n.length>0&&i.writeString(2,n)},proto.google.api.CustomHttpPattern.prototype.getKind=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.google.api.CustomHttpPattern.prototype.setKind=function(t){return e.Message.setProto3StringField(this,1,t)},proto.google.api.CustomHttpPattern.prototype.getPath=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.google.api.CustomHttpPattern.prototype.setPath=function(t){return e.Message.setProto3StringField(this,2,t)},r.object.extend(o,proto.google.api)})(http_pb),function(o){var e=googleProtobuf,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=http_pb;r.object.extend(proto,t);var i=descriptor_pb;r.object.extend(proto,i),r.exportSymbol("proto.google.api.http",null,s),proto.google.api.http=new e.ExtensionFieldInfo(72295728,{http:0},t.HttpRule,t.HttpRule.toObject,0),i.MethodOptions.extensionsBinary[72295728]=new e.ExtensionFieldBinaryInfo(proto.google.api.http,e.BinaryReader.prototype.readMessage,e.BinaryWriter.prototype.writeMessage,t.HttpRule.serializeBinaryToWriter,t.HttpRule.deserializeBinaryFromReader,!1),i.MethodOptions.extensions[72295728]=proto.google.api.http,r.object.extend(o,proto.google.api)}(annotations_pb);var struct_pb={};(function(o){var e=googleProtobuf,r=e,s=typeof globalThis<"u"&&globalThis||typeof window<"u"&&window||typeof s<"u"&&s||typeof self<"u"&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.ListValue",null,s),r.exportSymbol("proto.google.protobuf.NullValue",null,s),r.exportSymbol("proto.google.protobuf.Struct",null,s),r.exportSymbol("proto.google.protobuf.Value",null,s),r.exportSymbol("proto.google.protobuf.Value.KindCase",null,s),proto.google.protobuf.Struct=function(t){e.Message.initialize(this,t,0,-1,null,null)},r.inherits(proto.google.protobuf.Struct,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Struct.displayName="proto.google.protobuf.Struct"),proto.google.protobuf.Value=function(t){e.Message.initialize(this,t,0,-1,null,proto.google.protobuf.Value.oneofGroups_)},r.inherits(proto.google.protobuf.Value,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Value.displayName="proto.google.protobuf.Value"),proto.google.protobuf.ListValue=function(t){e.Message.initialize(this,t,0,-1,proto.google.protobuf.ListValue.repeatedFields_,null)},r.inherits(proto.google.protobuf.ListValue,e.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.ListValue.displayName="proto.google.protobuf.ListValue"),e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Struct.prototype.toObject=function(t){return proto.google.protobuf.Struct.toObject(t,this)},proto.google.protobuf.Struct.toObject=function(t,i){var n,p={fieldsMap:(n=i.getFieldsMap())?n.toObject(t,proto.google.protobuf.Value.toObject):[]};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.Struct.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Struct;return proto.google.protobuf.Struct.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Struct.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=t.getFieldsMap();i.readMessage(p,function(g,l){e.Map.deserializeBinary(g,l,e.BinaryReader.prototype.readString,e.BinaryReader.prototype.readMessage,proto.google.protobuf.Value.deserializeBinaryFromReader,"",new proto.google.protobuf.Value)});break;default:i.skipField();break}}return t},proto.google.protobuf.Struct.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Struct.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Struct.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getFieldsMap(!0),n&&n.getLength()>0&&n.serializeBinary(1,i,e.BinaryWriter.prototype.writeString,e.BinaryWriter.prototype.writeMessage,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.Struct.prototype.getFieldsMap=function(t){return e.Message.getMapField(this,1,t,proto.google.protobuf.Value)},proto.google.protobuf.Struct.prototype.clearFieldsMap=function(){return this.getFieldsMap().clear(),this},proto.google.protobuf.Value.oneofGroups_=[[1,2,3,4,5,6]],proto.google.protobuf.Value.KindCase={KIND_NOT_SET:0,NULL_VALUE:1,NUMBER_VALUE:2,STRING_VALUE:3,BOOL_VALUE:4,STRUCT_VALUE:5,LIST_VALUE:6},proto.google.protobuf.Value.prototype.getKindCase=function(){return e.Message.computeOneofCase(this,proto.google.protobuf.Value.oneofGroups_[0])},e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Value.prototype.toObject=function(t){return proto.google.protobuf.Value.toObject(t,this)},proto.google.protobuf.Value.toObject=function(t,i){var n,p={nullValue:e.Message.getFieldWithDefault(i,1,0),numberValue:e.Message.getFloatingPointFieldWithDefault(i,2,0),stringValue:e.Message.getFieldWithDefault(i,3,""),boolValue:e.Message.getBooleanFieldWithDefault(i,4,!1),structValue:(n=i.getStructValue())&&proto.google.protobuf.Struct.toObject(t,n),listValue:(n=i.getListValue())&&proto.google.protobuf.ListValue.toObject(t,n)};return t&&(p.$jspbMessageInstance=i),p}),proto.google.protobuf.Value.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.Value;return proto.google.protobuf.Value.deserializeBinaryFromReader(n,i)},proto.google.protobuf.Value.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=i.readEnum();t.setNullValue(p);break;case 2:var p=i.readDouble();t.setNumberValue(p);break;case 3:var p=i.readString();t.setStringValue(p);break;case 4:var p=i.readBool();t.setBoolValue(p);break;case 5:var p=new proto.google.protobuf.Struct;i.readMessage(p,proto.google.protobuf.Struct.deserializeBinaryFromReader),t.setStructValue(p);break;case 6:var p=new proto.google.protobuf.ListValue;i.readMessage(p,proto.google.protobuf.ListValue.deserializeBinaryFromReader),t.setListValue(p);break;default:i.skipField();break}}return t},proto.google.protobuf.Value.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.Value.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.Value.serializeBinaryToWriter=function(t,i){var n=void 0;n=e.Message.getField(t,1),n!=null&&i.writeEnum(1,n),n=e.Message.getField(t,2),n!=null&&i.writeDouble(2,n),n=e.Message.getField(t,3),n!=null&&i.writeString(3,n),n=e.Message.getField(t,4),n!=null&&i.writeBool(4,n),n=t.getStructValue(),n!=null&&i.writeMessage(5,n,proto.google.protobuf.Struct.serializeBinaryToWriter),n=t.getListValue(),n!=null&&i.writeMessage(6,n,proto.google.protobuf.ListValue.serializeBinaryToWriter)},proto.google.protobuf.Value.prototype.getNullValue=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Value.prototype.setNullValue=function(t){return e.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearNullValue=function(){return e.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNullValue=function(){return e.Message.getField(this,1)!=null},proto.google.protobuf.Value.prototype.getNumberValue=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.google.protobuf.Value.prototype.setNumberValue=function(t){return e.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearNumberValue=function(){return e.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNumberValue=function(){return e.Message.getField(this,2)!=null},proto.google.protobuf.Value.prototype.getStringValue=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.Value.prototype.setStringValue=function(t){return e.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearStringValue=function(){return e.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasStringValue=function(){return e.Message.getField(this,3)!=null},proto.google.protobuf.Value.prototype.getBoolValue=function(){return e.Message.getBooleanFieldWithDefault(this,4,!1)},proto.google.protobuf.Value.prototype.setBoolValue=function(t){return e.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearBoolValue=function(){return e.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasBoolValue=function(){return e.Message.getField(this,4)!=null},proto.google.protobuf.Value.prototype.getStructValue=function(){return e.Message.getWrapperField(this,proto.google.protobuf.Struct,5)},proto.google.protobuf.Value.prototype.setStructValue=function(t){return e.Message.setOneofWrapperField(this,5,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearStructValue=function(){return this.setStructValue(void 0)},proto.google.protobuf.Value.prototype.hasStructValue=function(){return e.Message.getField(this,5)!=null},proto.google.protobuf.Value.prototype.getListValue=function(){return e.Message.getWrapperField(this,proto.google.protobuf.ListValue,6)},proto.google.protobuf.Value.prototype.setListValue=function(t){return e.Message.setOneofWrapperField(this,6,proto.google.protobuf.Value.oneofGroups_[0],t)},proto.google.protobuf.Value.prototype.clearListValue=function(){return this.setListValue(void 0)},proto.google.protobuf.Value.prototype.hasListValue=function(){return e.Message.getField(this,6)!=null},proto.google.protobuf.ListValue.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ListValue.prototype.toObject=function(t){return proto.google.protobuf.ListValue.toObject(t,this)},proto.google.protobuf.ListValue.toObject=function(t,i){var n={valuesList:e.Message.toObjectList(i.getValuesList(),proto.google.protobuf.Value.toObject,t)};return t&&(n.$jspbMessageInstance=i),n}),proto.google.protobuf.ListValue.deserializeBinary=function(t){var i=new e.BinaryReader(t),n=new proto.google.protobuf.ListValue;return proto.google.protobuf.ListValue.deserializeBinaryFromReader(n,i)},proto.google.protobuf.ListValue.deserializeBinaryFromReader=function(t,i){for(;i.nextField()&&!i.isEndGroup();){var n=i.getFieldNumber();switch(n){case 1:var p=new proto.google.protobuf.Value;i.readMessage(p,proto.google.protobuf.Value.deserializeBinaryFromReader),t.addValues(p);break;default:i.skipField();break}}return t},proto.google.protobuf.ListValue.prototype.serializeBinary=function(){var t=new e.BinaryWriter;return proto.google.protobuf.ListValue.serializeBinaryToWriter(this,t),t.getResultBuffer()},proto.google.protobuf.ListValue.serializeBinaryToWriter=function(t,i){var n=void 0;n=t.getValuesList(),n.length>0&&i.writeRepeatedMessage(1,n,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.ListValue.prototype.getValuesList=function(){return e.Message.getRepeatedWrapperField(this,proto.google.protobuf.Value,1)},proto.google.protobuf.ListValue.prototype.setValuesList=function(t){return e.Message.setRepeatedWrapperField(this,1,t)},proto.google.protobuf.ListValue.prototype.addValues=function(t,i){return e.Message.addToRepeatedWrapperField(this,1,t,proto.google.protobuf.Value,i)},proto.google.protobuf.ListValue.prototype.clearValuesList=function(){return this.setValuesList([])},proto.google.protobuf.NullValue={NULL_VALUE:0},r.object.extend(o,proto.google.protobuf),proto.google.protobuf.JavaScriptValue,proto.google.protobuf.Value.prototype.toJavaScript=function(){var t=proto.google.protobuf.Value.KindCase;switch(this.getKindCase()){case t.NULL_VALUE:return null;case t.NUMBER_VALUE:return this.getNumberValue();case t.STRING_VALUE:return this.getStringValue();case t.BOOL_VALUE:return this.getBoolValue();case t.STRUCT_VALUE:return this.getStructValue().toJavaScript();case t.LIST_VALUE:return this.getListValue().toJavaScript();default:throw new Error("Unexpected struct type")}},proto.google.protobuf.Value.fromJavaScript=function(t){var i=new proto.google.protobuf.Value;switch(r.typeOf(t)){case"string":i.setStringValue(t);break;case"number":i.setNumberValue(t);break;case"boolean":i.setBoolValue(t);break;case"null":i.setNullValue(proto.google.protobuf.NullValue.NULL_VALUE);break;case"array":i.setListValue(proto.google.protobuf.ListValue.fromJavaScript(t));break;case"object":i.setStructValue(proto.google.protobuf.Struct.fromJavaScript(t));break;default:throw new Error("Unexpected struct type.")}return i},proto.google.protobuf.ListValue.prototype.toJavaScript=function(){for(var t=[],i=this.getValuesList(),n=0;n<i.length;n++)t[n]=i[n].toJavaScript();return t},proto.google.protobuf.ListValue.fromJavaScript=function(t){for(var i=new proto.google.protobuf.ListValue,n=0;n<t.length;n++)i.addValues(proto.google.protobuf.Value.fromJavaScript(t[n]));return i},proto.google.protobuf.Struct.prototype.toJavaScript=function(){var t={};return this.getFieldsMap().forEach(function(i,n){t[n]=i.toJavaScript()}),t},proto.google.protobuf.Struct.fromJavaScript=function(t){var i=new proto.google.protobuf.Struct,n=i.getFieldsMap();for(var p in t){var g=t[p];n.set(p,proto.google.protobuf.Value.fromJavaScript(g))}return i}})(struct_pb),function(o){var e=googleProtobuf,r=e,s=function(){return this||window||s||self||Function("return this")()}.call(null),t=common_pb;r.object.extend(proto,t);var i=annotations_pb;r.object.extend(proto,i);var n=struct_pb;r.object.extend(proto,n),r.exportSymbol("proto.viam.service.vision.v1.AddClassifierRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddClassifierResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddDetectorRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddDetectorResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddSegmenterRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.AddSegmenterResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.Classification",null,s),r.exportSymbol("proto.viam.service.vision.v1.Detection",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassificationsFromCameraRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassificationsFromCameraResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassificationsRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassificationsResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassifierNamesRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetClassifierNamesResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectionsFromCameraRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectionsFromCameraResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectionsRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectionsResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectorNamesRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetDetectorNamesResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetModelParameterSchemaRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetModelParameterSchemaResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetObjectPointCloudsRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetObjectPointCloudsResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetSegmenterNamesRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.GetSegmenterNamesResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveClassifierRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveClassifierResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveDetectorRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveDetectorResponse",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveSegmenterRequest",null,s),r.exportSymbol("proto.viam.service.vision.v1.RemoveSegmenterResponse",null,s),proto.viam.service.vision.v1.GetModelParameterSchemaRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetModelParameterSchemaRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetModelParameterSchemaRequest.displayName="proto.viam.service.vision.v1.GetModelParameterSchemaRequest"),proto.viam.service.vision.v1.GetModelParameterSchemaResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetModelParameterSchemaResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetModelParameterSchemaResponse.displayName="proto.viam.service.vision.v1.GetModelParameterSchemaResponse"),proto.viam.service.vision.v1.GetDetectorNamesRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetDetectorNamesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectorNamesRequest.displayName="proto.viam.service.vision.v1.GetDetectorNamesRequest"),proto.viam.service.vision.v1.GetDetectorNamesResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetDetectorNamesResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetDetectorNamesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectorNamesResponse.displayName="proto.viam.service.vision.v1.GetDetectorNamesResponse"),proto.viam.service.vision.v1.AddDetectorRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddDetectorRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddDetectorRequest.displayName="proto.viam.service.vision.v1.AddDetectorRequest"),proto.viam.service.vision.v1.AddDetectorResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddDetectorResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddDetectorResponse.displayName="proto.viam.service.vision.v1.AddDetectorResponse"),proto.viam.service.vision.v1.RemoveDetectorRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveDetectorRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveDetectorRequest.displayName="proto.viam.service.vision.v1.RemoveDetectorRequest"),proto.viam.service.vision.v1.RemoveDetectorResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveDetectorResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveDetectorResponse.displayName="proto.viam.service.vision.v1.RemoveDetectorResponse"),proto.viam.service.vision.v1.GetDetectionsRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetDetectionsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectionsRequest.displayName="proto.viam.service.vision.v1.GetDetectionsRequest"),proto.viam.service.vision.v1.GetDetectionsResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetDetectionsResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetDetectionsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectionsResponse.displayName="proto.viam.service.vision.v1.GetDetectionsResponse"),proto.viam.service.vision.v1.GetDetectionsFromCameraRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetDetectionsFromCameraRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.displayName="proto.viam.service.vision.v1.GetDetectionsFromCameraRequest"),proto.viam.service.vision.v1.GetDetectionsFromCameraResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetDetectionsFromCameraResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.displayName="proto.viam.service.vision.v1.GetDetectionsFromCameraResponse"),proto.viam.service.vision.v1.Detection=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.Detection,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.Detection.displayName="proto.viam.service.vision.v1.Detection"),proto.viam.service.vision.v1.GetClassifierNamesRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetClassifierNamesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassifierNamesRequest.displayName="proto.viam.service.vision.v1.GetClassifierNamesRequest"),proto.viam.service.vision.v1.GetClassifierNamesResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetClassifierNamesResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetClassifierNamesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassifierNamesResponse.displayName="proto.viam.service.vision.v1.GetClassifierNamesResponse"),proto.viam.service.vision.v1.AddClassifierRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddClassifierRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddClassifierRequest.displayName="proto.viam.service.vision.v1.AddClassifierRequest"),proto.viam.service.vision.v1.AddClassifierResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddClassifierResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddClassifierResponse.displayName="proto.viam.service.vision.v1.AddClassifierResponse"),proto.viam.service.vision.v1.RemoveClassifierRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveClassifierRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveClassifierRequest.displayName="proto.viam.service.vision.v1.RemoveClassifierRequest"),proto.viam.service.vision.v1.RemoveClassifierResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveClassifierResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveClassifierResponse.displayName="proto.viam.service.vision.v1.RemoveClassifierResponse"),proto.viam.service.vision.v1.GetClassificationsRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetClassificationsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassificationsRequest.displayName="proto.viam.service.vision.v1.GetClassificationsRequest"),proto.viam.service.vision.v1.GetClassificationsResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetClassificationsResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetClassificationsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassificationsResponse.displayName="proto.viam.service.vision.v1.GetClassificationsResponse"),proto.viam.service.vision.v1.GetClassificationsFromCameraRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetClassificationsFromCameraRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.displayName="proto.viam.service.vision.v1.GetClassificationsFromCameraRequest"),proto.viam.service.vision.v1.GetClassificationsFromCameraResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetClassificationsFromCameraResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.displayName="proto.viam.service.vision.v1.GetClassificationsFromCameraResponse"),proto.viam.service.vision.v1.Classification=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.Classification,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.Classification.displayName="proto.viam.service.vision.v1.Classification"),proto.viam.service.vision.v1.GetSegmenterNamesRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetSegmenterNamesRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetSegmenterNamesRequest.displayName="proto.viam.service.vision.v1.GetSegmenterNamesRequest"),proto.viam.service.vision.v1.GetSegmenterNamesResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetSegmenterNamesResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetSegmenterNamesResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetSegmenterNamesResponse.displayName="proto.viam.service.vision.v1.GetSegmenterNamesResponse"),proto.viam.service.vision.v1.AddSegmenterRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddSegmenterRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddSegmenterRequest.displayName="proto.viam.service.vision.v1.AddSegmenterRequest"),proto.viam.service.vision.v1.AddSegmenterResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.AddSegmenterResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.AddSegmenterResponse.displayName="proto.viam.service.vision.v1.AddSegmenterResponse"),proto.viam.service.vision.v1.RemoveSegmenterRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveSegmenterRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveSegmenterRequest.displayName="proto.viam.service.vision.v1.RemoveSegmenterRequest"),proto.viam.service.vision.v1.RemoveSegmenterResponse=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.RemoveSegmenterResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.RemoveSegmenterResponse.displayName="proto.viam.service.vision.v1.RemoveSegmenterResponse"),proto.viam.service.vision.v1.GetObjectPointCloudsRequest=function(p){e.Message.initialize(this,p,0,-1,null,null)},r.inherits(proto.viam.service.vision.v1.GetObjectPointCloudsRequest,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetObjectPointCloudsRequest.displayName="proto.viam.service.vision.v1.GetObjectPointCloudsRequest"),proto.viam.service.vision.v1.GetObjectPointCloudsResponse=function(p){e.Message.initialize(this,p,0,-1,proto.viam.service.vision.v1.GetObjectPointCloudsResponse.repeatedFields_,null)},r.inherits(proto.viam.service.vision.v1.GetObjectPointCloudsResponse,e.Message),r.DEBUG&&!COMPILED&&(proto.viam.service.vision.v1.GetObjectPointCloudsResponse.displayName="proto.viam.service.vision.v1.GetObjectPointCloudsResponse"),e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetModelParameterSchemaRequest.toObject(p,this)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),modelType:e.Message.getFieldWithDefault(g,2,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetModelParameterSchemaRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetModelParameterSchemaRequest;return proto.viam.service.vision.v1.GetModelParameterSchemaRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setModelType(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetModelParameterSchemaRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getModelType(),l.length>0&&g.writeString(2,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.getModelType=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.setModelType=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetModelParameterSchemaRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetModelParameterSchemaResponse.toObject(p,this)},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.toObject=function(p,g){var l={modelParameterSchema:g.getModelParameterSchema_asB64()};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetModelParameterSchemaResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetModelParameterSchemaResponse;return proto.viam.service.vision.v1.GetModelParameterSchemaResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readBytes();p.setModelParameterSchema(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetModelParameterSchemaResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getModelParameterSchema_asU8(),l.length>0&&g.writeBytes(1,l)},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.getModelParameterSchema=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.getModelParameterSchema_asB64=function(){return e.Message.bytesAsB64(this.getModelParameterSchema())},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.getModelParameterSchema_asU8=function(){return e.Message.bytesAsU8(this.getModelParameterSchema())},proto.viam.service.vision.v1.GetModelParameterSchemaResponse.prototype.setModelParameterSchema=function(p){return e.Message.setProto3BytesField(this,1,p)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectorNamesRequest.toObject(p,this)},proto.viam.service.vision.v1.GetDetectorNamesRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetDetectorNamesRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectorNamesRequest;return proto.viam.service.vision.v1.GetDetectorNamesRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectorNamesRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectorNamesRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectorNamesRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetDetectorNamesRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetDetectorNamesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectorNamesResponse.toObject(p,this)},proto.viam.service.vision.v1.GetDetectorNamesResponse.toObject=function(p,g){var l,u={detectorNamesList:(l=e.Message.getRepeatedField(g,1))==null?void 0:l};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetDetectorNamesResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectorNamesResponse;return proto.viam.service.vision.v1.GetDetectorNamesResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectorNamesResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.addDetectorNames(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectorNamesResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectorNamesResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getDetectorNamesList(),l.length>0&&g.writeRepeatedString(1,l)},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.getDetectorNamesList=function(){return e.Message.getRepeatedField(this,1)},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.setDetectorNamesList=function(p){return e.Message.setField(this,1,p||[])},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.addDetectorNames=function(p,g){return e.Message.addToRepeatedField(this,1,p,g)},proto.viam.service.vision.v1.GetDetectorNamesResponse.prototype.clearDetectorNamesList=function(){return this.setDetectorNamesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddDetectorRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddDetectorRequest.toObject(p,this)},proto.viam.service.vision.v1.AddDetectorRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),detectorName:e.Message.getFieldWithDefault(g,2,""),detectorModelType:e.Message.getFieldWithDefault(g,3,""),detectorParameters:(l=g.getDetectorParameters())&&n.Struct.toObject(p,l),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.AddDetectorRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddDetectorRequest;return proto.viam.service.vision.v1.AddDetectorRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddDetectorRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setDetectorName(u);break;case 3:var u=g.readString();p.setDetectorModelType(u);break;case 4:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setDetectorParameters(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddDetectorRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddDetectorRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddDetectorRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getDetectorName(),l.length>0&&g.writeString(2,l),l=p.getDetectorModelType(),l.length>0&&g.writeString(3,l),l=p.getDetectorParameters(),l!=null&&g.writeMessage(4,l,n.Struct.serializeBinaryToWriter),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getDetectorName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setDetectorName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getDetectorModelType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setDetectorModelType=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getDetectorParameters=function(){return e.Message.getWrapperField(this,n.Struct,4)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setDetectorParameters=function(p){return e.Message.setWrapperField(this,4,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.clearDetectorParameters=function(){return this.setDetectorParameters(void 0)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.hasDetectorParameters=function(){return e.Message.getField(this,4)!=null},proto.viam.service.vision.v1.AddDetectorRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.AddDetectorRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddDetectorResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddDetectorResponse.toObject(p,this)},proto.viam.service.vision.v1.AddDetectorResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.AddDetectorResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddDetectorResponse;return proto.viam.service.vision.v1.AddDetectorResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddDetectorResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddDetectorResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddDetectorResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddDetectorResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveDetectorRequest.toObject(p,this)},proto.viam.service.vision.v1.RemoveDetectorRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),detectorName:e.Message.getFieldWithDefault(g,2,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.RemoveDetectorRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveDetectorRequest;return proto.viam.service.vision.v1.RemoveDetectorRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveDetectorRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setDetectorName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveDetectorRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveDetectorRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getDetectorName(),l.length>0&&g.writeString(2,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.getDetectorName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.setDetectorName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.RemoveDetectorRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveDetectorResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveDetectorResponse.toObject(p,this)},proto.viam.service.vision.v1.RemoveDetectorResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.RemoveDetectorResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveDetectorResponse;return proto.viam.service.vision.v1.RemoveDetectorResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveDetectorResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveDetectorResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveDetectorResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveDetectorResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectionsRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectionsRequest.toObject(p,this)},proto.viam.service.vision.v1.GetDetectionsRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),image:g.getImage_asB64(),width:e.Message.getFieldWithDefault(g,3,0),height:e.Message.getFieldWithDefault(g,4,0),mimeType:e.Message.getFieldWithDefault(g,5,""),detectorName:e.Message.getFieldWithDefault(g,6,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetDetectionsRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectionsRequest;return proto.viam.service.vision.v1.GetDetectionsRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectionsRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readBytes();p.setImage(u);break;case 3:var u=g.readInt64();p.setWidth(u);break;case 4:var u=g.readInt64();p.setHeight(u);break;case 5:var u=g.readString();p.setMimeType(u);break;case 6:var u=g.readString();p.setDetectorName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectionsRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectionsRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getImage_asU8(),l.length>0&&g.writeBytes(2,l),l=p.getWidth(),l!==0&&g.writeInt64(3,l),l=p.getHeight(),l!==0&&g.writeInt64(4,l),l=p.getMimeType(),l.length>0&&g.writeString(5,l),l=p.getDetectorName(),l.length>0&&g.writeString(6,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getImage=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getImage_asB64=function(){return e.Message.bytesAsB64(this.getImage())},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getImage_asU8=function(){return e.Message.bytesAsU8(this.getImage())},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setImage=function(p){return e.Message.setProto3BytesField(this,2,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getWidth=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setWidth=function(p){return e.Message.setProto3IntField(this,3,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getHeight=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setHeight=function(p){return e.Message.setProto3IntField(this,4,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getMimeType=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setMimeType=function(p){return e.Message.setProto3StringField(this,5,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getDetectorName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setDetectorName=function(p){return e.Message.setProto3StringField(this,6,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetDetectionsRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetDetectionsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectionsResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectionsResponse.toObject(p,this)},proto.viam.service.vision.v1.GetDetectionsResponse.toObject=function(p,g){var l={detectionsList:e.Message.toObjectList(g.getDetectionsList(),proto.viam.service.vision.v1.Detection.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetDetectionsResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectionsResponse;return proto.viam.service.vision.v1.GetDetectionsResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectionsResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=new proto.viam.service.vision.v1.Detection;g.readMessage(u,proto.viam.service.vision.v1.Detection.deserializeBinaryFromReader),p.addDetections(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectionsResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectionsResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getDetectionsList(),l.length>0&&g.writeRepeatedMessage(1,l,proto.viam.service.vision.v1.Detection.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.getDetectionsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.service.vision.v1.Detection,1)},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.setDetectionsList=function(p){return e.Message.setRepeatedWrapperField(this,1,p)},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.addDetections=function(p,g){return e.Message.addToRepeatedWrapperField(this,1,p,proto.viam.service.vision.v1.Detection,g)},proto.viam.service.vision.v1.GetDetectionsResponse.prototype.clearDetectionsList=function(){return this.setDetectionsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.toObject(p,this)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),cameraName:e.Message.getFieldWithDefault(g,2,""),detectorName:e.Message.getFieldWithDefault(g,3,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectionsFromCameraRequest;return proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setCameraName(u);break;case 3:var u=g.readString();p.setDetectorName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getCameraName(),l.length>0&&g.writeString(2,l),l=p.getDetectorName(),l.length>0&&g.writeString(3,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.getCameraName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.setCameraName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.getDetectorName=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.setDetectorName=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetDetectionsFromCameraRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.toObject(p,this)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.toObject=function(p,g){var l={detectionsList:e.Message.toObjectList(g.getDetectionsList(),proto.viam.service.vision.v1.Detection.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetDetectionsFromCameraResponse;return proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=new proto.viam.service.vision.v1.Detection;g.readMessage(u,proto.viam.service.vision.v1.Detection.deserializeBinaryFromReader),p.addDetections(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getDetectionsList(),l.length>0&&g.writeRepeatedMessage(1,l,proto.viam.service.vision.v1.Detection.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.getDetectionsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.service.vision.v1.Detection,1)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.setDetectionsList=function(p){return e.Message.setRepeatedWrapperField(this,1,p)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.addDetections=function(p,g){return e.Message.addToRepeatedWrapperField(this,1,p,proto.viam.service.vision.v1.Detection,g)},proto.viam.service.vision.v1.GetDetectionsFromCameraResponse.prototype.clearDetectionsList=function(){return this.setDetectionsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.Detection.prototype.toObject=function(p){return proto.viam.service.vision.v1.Detection.toObject(p,this)},proto.viam.service.vision.v1.Detection.toObject=function(p,g){var l={xMin:e.Message.getFieldWithDefault(g,1,0),yMin:e.Message.getFieldWithDefault(g,2,0),xMax:e.Message.getFieldWithDefault(g,3,0),yMax:e.Message.getFieldWithDefault(g,4,0),confidence:e.Message.getFloatingPointFieldWithDefault(g,5,0),className:e.Message.getFieldWithDefault(g,6,"")};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.Detection.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.Detection;return proto.viam.service.vision.v1.Detection.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.Detection.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readInt64();p.setXMin(u);break;case 2:var u=g.readInt64();p.setYMin(u);break;case 3:var u=g.readInt64();p.setXMax(u);break;case 4:var u=g.readInt64();p.setYMax(u);break;case 5:var u=g.readDouble();p.setConfidence(u);break;case 6:var u=g.readString();p.setClassName(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.Detection.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.Detection.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.Detection.serializeBinaryToWriter=function(p,g){var l=void 0;l=e.Message.getField(p,1),l!=null&&g.writeInt64(1,l),l=e.Message.getField(p,2),l!=null&&g.writeInt64(2,l),l=e.Message.getField(p,3),l!=null&&g.writeInt64(3,l),l=e.Message.getField(p,4),l!=null&&g.writeInt64(4,l),l=p.getConfidence(),l!==0&&g.writeDouble(5,l),l=p.getClassName(),l.length>0&&g.writeString(6,l)},proto.viam.service.vision.v1.Detection.prototype.getXMin=function(){return e.Message.getFieldWithDefault(this,1,0)},proto.viam.service.vision.v1.Detection.prototype.setXMin=function(p){return e.Message.setField(this,1,p)},proto.viam.service.vision.v1.Detection.prototype.clearXMin=function(){return e.Message.setField(this,1,void 0)},proto.viam.service.vision.v1.Detection.prototype.hasXMin=function(){return e.Message.getField(this,1)!=null},proto.viam.service.vision.v1.Detection.prototype.getYMin=function(){return e.Message.getFieldWithDefault(this,2,0)},proto.viam.service.vision.v1.Detection.prototype.setYMin=function(p){return e.Message.setField(this,2,p)},proto.viam.service.vision.v1.Detection.prototype.clearYMin=function(){return e.Message.setField(this,2,void 0)},proto.viam.service.vision.v1.Detection.prototype.hasYMin=function(){return e.Message.getField(this,2)!=null},proto.viam.service.vision.v1.Detection.prototype.getXMax=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.viam.service.vision.v1.Detection.prototype.setXMax=function(p){return e.Message.setField(this,3,p)},proto.viam.service.vision.v1.Detection.prototype.clearXMax=function(){return e.Message.setField(this,3,void 0)},proto.viam.service.vision.v1.Detection.prototype.hasXMax=function(){return e.Message.getField(this,3)!=null},proto.viam.service.vision.v1.Detection.prototype.getYMax=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.viam.service.vision.v1.Detection.prototype.setYMax=function(p){return e.Message.setField(this,4,p)},proto.viam.service.vision.v1.Detection.prototype.clearYMax=function(){return e.Message.setField(this,4,void 0)},proto.viam.service.vision.v1.Detection.prototype.hasYMax=function(){return e.Message.getField(this,4)!=null},proto.viam.service.vision.v1.Detection.prototype.getConfidence=function(){return e.Message.getFloatingPointFieldWithDefault(this,5,0)},proto.viam.service.vision.v1.Detection.prototype.setConfidence=function(p){return e.Message.setProto3FloatField(this,5,p)},proto.viam.service.vision.v1.Detection.prototype.getClassName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.viam.service.vision.v1.Detection.prototype.setClassName=function(p){return e.Message.setProto3StringField(this,6,p)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassifierNamesRequest.toObject(p,this)},proto.viam.service.vision.v1.GetClassifierNamesRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetClassifierNamesRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassifierNamesRequest;return proto.viam.service.vision.v1.GetClassifierNamesRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassifierNamesRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassifierNamesRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassifierNamesRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetClassifierNamesRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetClassifierNamesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassifierNamesResponse.toObject(p,this)},proto.viam.service.vision.v1.GetClassifierNamesResponse.toObject=function(p,g){var l,u={classifierNamesList:(l=e.Message.getRepeatedField(g,1))==null?void 0:l};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetClassifierNamesResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassifierNamesResponse;return proto.viam.service.vision.v1.GetClassifierNamesResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassifierNamesResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.addClassifierNames(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassifierNamesResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassifierNamesResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getClassifierNamesList(),l.length>0&&g.writeRepeatedString(1,l)},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.getClassifierNamesList=function(){return e.Message.getRepeatedField(this,1)},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.setClassifierNamesList=function(p){return e.Message.setField(this,1,p||[])},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.addClassifierNames=function(p,g){return e.Message.addToRepeatedField(this,1,p,g)},proto.viam.service.vision.v1.GetClassifierNamesResponse.prototype.clearClassifierNamesList=function(){return this.setClassifierNamesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddClassifierRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddClassifierRequest.toObject(p,this)},proto.viam.service.vision.v1.AddClassifierRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),classifierName:e.Message.getFieldWithDefault(g,2,""),classifierModelType:e.Message.getFieldWithDefault(g,3,""),classifierParameters:(l=g.getClassifierParameters())&&n.Struct.toObject(p,l),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.AddClassifierRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddClassifierRequest;return proto.viam.service.vision.v1.AddClassifierRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddClassifierRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setClassifierName(u);break;case 3:var u=g.readString();p.setClassifierModelType(u);break;case 4:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setClassifierParameters(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddClassifierRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddClassifierRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddClassifierRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getClassifierName(),l.length>0&&g.writeString(2,l),l=p.getClassifierModelType(),l.length>0&&g.writeString(3,l),l=p.getClassifierParameters(),l!=null&&g.writeMessage(4,l,n.Struct.serializeBinaryToWriter),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getClassifierName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setClassifierName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getClassifierModelType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setClassifierModelType=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getClassifierParameters=function(){return e.Message.getWrapperField(this,n.Struct,4)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setClassifierParameters=function(p){return e.Message.setWrapperField(this,4,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.clearClassifierParameters=function(){return this.setClassifierParameters(void 0)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.hasClassifierParameters=function(){return e.Message.getField(this,4)!=null},proto.viam.service.vision.v1.AddClassifierRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.AddClassifierRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddClassifierResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddClassifierResponse.toObject(p,this)},proto.viam.service.vision.v1.AddClassifierResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.AddClassifierResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddClassifierResponse;return proto.viam.service.vision.v1.AddClassifierResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddClassifierResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddClassifierResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddClassifierResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddClassifierResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveClassifierRequest.toObject(p,this)},proto.viam.service.vision.v1.RemoveClassifierRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),classifierName:e.Message.getFieldWithDefault(g,2,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.RemoveClassifierRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveClassifierRequest;return proto.viam.service.vision.v1.RemoveClassifierRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveClassifierRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setClassifierName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveClassifierRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveClassifierRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getClassifierName(),l.length>0&&g.writeString(2,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.getClassifierName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.setClassifierName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.RemoveClassifierRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveClassifierResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveClassifierResponse.toObject(p,this)},proto.viam.service.vision.v1.RemoveClassifierResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.RemoveClassifierResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveClassifierResponse;return proto.viam.service.vision.v1.RemoveClassifierResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveClassifierResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveClassifierResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveClassifierResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveClassifierResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassificationsRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassificationsRequest.toObject(p,this)},proto.viam.service.vision.v1.GetClassificationsRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),image:g.getImage_asB64(),width:e.Message.getFieldWithDefault(g,3,0),height:e.Message.getFieldWithDefault(g,4,0),mimeType:e.Message.getFieldWithDefault(g,5,""),classifierName:e.Message.getFieldWithDefault(g,6,""),n:e.Message.getFieldWithDefault(g,7,0),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetClassificationsRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassificationsRequest;return proto.viam.service.vision.v1.GetClassificationsRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassificationsRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readBytes();p.setImage(u);break;case 3:var u=g.readInt32();p.setWidth(u);break;case 4:var u=g.readInt32();p.setHeight(u);break;case 5:var u=g.readString();p.setMimeType(u);break;case 6:var u=g.readString();p.setClassifierName(u);break;case 7:var u=g.readInt32();p.setN(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassificationsRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassificationsRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getImage_asU8(),l.length>0&&g.writeBytes(2,l),l=p.getWidth(),l!==0&&g.writeInt32(3,l),l=p.getHeight(),l!==0&&g.writeInt32(4,l),l=p.getMimeType(),l.length>0&&g.writeString(5,l),l=p.getClassifierName(),l.length>0&&g.writeString(6,l),l=p.getN(),l!==0&&g.writeInt32(7,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getImage=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getImage_asB64=function(){return e.Message.bytesAsB64(this.getImage())},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getImage_asU8=function(){return e.Message.bytesAsU8(this.getImage())},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setImage=function(p){return e.Message.setProto3BytesField(this,2,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getWidth=function(){return e.Message.getFieldWithDefault(this,3,0)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setWidth=function(p){return e.Message.setProto3IntField(this,3,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getHeight=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setHeight=function(p){return e.Message.setProto3IntField(this,4,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getMimeType=function(){return e.Message.getFieldWithDefault(this,5,"")},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setMimeType=function(p){return e.Message.setProto3StringField(this,5,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getClassifierName=function(){return e.Message.getFieldWithDefault(this,6,"")},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setClassifierName=function(p){return e.Message.setProto3StringField(this,6,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getN=function(){return e.Message.getFieldWithDefault(this,7,0)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setN=function(p){return e.Message.setProto3IntField(this,7,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetClassificationsRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetClassificationsResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassificationsResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassificationsResponse.toObject(p,this)},proto.viam.service.vision.v1.GetClassificationsResponse.toObject=function(p,g){var l={classificationsList:e.Message.toObjectList(g.getClassificationsList(),proto.viam.service.vision.v1.Classification.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetClassificationsResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassificationsResponse;return proto.viam.service.vision.v1.GetClassificationsResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassificationsResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=new proto.viam.service.vision.v1.Classification;g.readMessage(u,proto.viam.service.vision.v1.Classification.deserializeBinaryFromReader),p.addClassifications(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassificationsResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassificationsResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getClassificationsList(),l.length>0&&g.writeRepeatedMessage(1,l,proto.viam.service.vision.v1.Classification.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.getClassificationsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.service.vision.v1.Classification,1)},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.setClassificationsList=function(p){return e.Message.setRepeatedWrapperField(this,1,p)},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.addClassifications=function(p,g){return e.Message.addToRepeatedWrapperField(this,1,p,proto.viam.service.vision.v1.Classification,g)},proto.viam.service.vision.v1.GetClassificationsResponse.prototype.clearClassificationsList=function(){return this.setClassificationsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.toObject(p,this)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),cameraName:e.Message.getFieldWithDefault(g,2,""),classifierName:e.Message.getFieldWithDefault(g,3,""),n:e.Message.getFieldWithDefault(g,4,0),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassificationsFromCameraRequest;return proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setCameraName(u);break;case 3:var u=g.readString();p.setClassifierName(u);break;case 4:var u=g.readInt32();p.setN(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getCameraName(),l.length>0&&g.writeString(2,l),l=p.getClassifierName(),l.length>0&&g.writeString(3,l),l=p.getN(),l!==0&&g.writeInt32(4,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getCameraName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setCameraName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getClassifierName=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setClassifierName=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getN=function(){return e.Message.getFieldWithDefault(this,4,0)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setN=function(p){return e.Message.setProto3IntField(this,4,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetClassificationsFromCameraRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.toObject(p,this)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.toObject=function(p,g){var l={classificationsList:e.Message.toObjectList(g.getClassificationsList(),proto.viam.service.vision.v1.Classification.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetClassificationsFromCameraResponse;return proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=new proto.viam.service.vision.v1.Classification;g.readMessage(u,proto.viam.service.vision.v1.Classification.deserializeBinaryFromReader),p.addClassifications(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getClassificationsList(),l.length>0&&g.writeRepeatedMessage(1,l,proto.viam.service.vision.v1.Classification.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.getClassificationsList=function(){return e.Message.getRepeatedWrapperField(this,proto.viam.service.vision.v1.Classification,1)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.setClassificationsList=function(p){return e.Message.setRepeatedWrapperField(this,1,p)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.addClassifications=function(p,g){return e.Message.addToRepeatedWrapperField(this,1,p,proto.viam.service.vision.v1.Classification,g)},proto.viam.service.vision.v1.GetClassificationsFromCameraResponse.prototype.clearClassificationsList=function(){return this.setClassificationsList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.Classification.prototype.toObject=function(p){return proto.viam.service.vision.v1.Classification.toObject(p,this)},proto.viam.service.vision.v1.Classification.toObject=function(p,g){var l={className:e.Message.getFieldWithDefault(g,1,""),confidence:e.Message.getFloatingPointFieldWithDefault(g,2,0)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.Classification.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.Classification;return proto.viam.service.vision.v1.Classification.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.Classification.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setClassName(u);break;case 2:var u=g.readDouble();p.setConfidence(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.Classification.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.Classification.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.Classification.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getClassName(),l.length>0&&g.writeString(1,l),l=p.getConfidence(),l!==0&&g.writeDouble(2,l)},proto.viam.service.vision.v1.Classification.prototype.getClassName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.Classification.prototype.setClassName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.Classification.prototype.getConfidence=function(){return e.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.viam.service.vision.v1.Classification.prototype.setConfidence=function(p){return e.Message.setProto3FloatField(this,2,p)},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetSegmenterNamesRequest.toObject(p,this)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetSegmenterNamesRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetSegmenterNamesRequest;return proto.viam.service.vision.v1.GetSegmenterNamesRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetSegmenterNamesRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetSegmenterNamesRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetSegmenterNamesRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetSegmenterNamesResponse.repeatedFields_=[1],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetSegmenterNamesResponse.toObject(p,this)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.toObject=function(p,g){var l,u={segmenterNamesList:(l=e.Message.getRepeatedField(g,1))==null?void 0:l};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetSegmenterNamesResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetSegmenterNamesResponse;return proto.viam.service.vision.v1.GetSegmenterNamesResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.addSegmenterNames(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetSegmenterNamesResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetSegmenterNamesResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getSegmenterNamesList(),l.length>0&&g.writeRepeatedString(1,l)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.getSegmenterNamesList=function(){return e.Message.getRepeatedField(this,1)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.setSegmenterNamesList=function(p){return e.Message.setField(this,1,p||[])},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.addSegmenterNames=function(p,g){return e.Message.addToRepeatedField(this,1,p,g)},proto.viam.service.vision.v1.GetSegmenterNamesResponse.prototype.clearSegmenterNamesList=function(){return this.setSegmenterNamesList([])},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddSegmenterRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddSegmenterRequest.toObject(p,this)},proto.viam.service.vision.v1.AddSegmenterRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),segmenterName:e.Message.getFieldWithDefault(g,2,""),segmenterModelType:e.Message.getFieldWithDefault(g,3,""),segmenterParameters:(l=g.getSegmenterParameters())&&n.Struct.toObject(p,l),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.AddSegmenterRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddSegmenterRequest;return proto.viam.service.vision.v1.AddSegmenterRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddSegmenterRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setSegmenterName(u);break;case 3:var u=g.readString();p.setSegmenterModelType(u);break;case 4:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setSegmenterParameters(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddSegmenterRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddSegmenterRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getSegmenterName(),l.length>0&&g.writeString(2,l),l=p.getSegmenterModelType(),l.length>0&&g.writeString(3,l),l=p.getSegmenterParameters(),l!=null&&g.writeMessage(4,l,n.Struct.serializeBinaryToWriter),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getSegmenterName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setSegmenterName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getSegmenterModelType=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setSegmenterModelType=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getSegmenterParameters=function(){return e.Message.getWrapperField(this,n.Struct,4)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setSegmenterParameters=function(p){return e.Message.setWrapperField(this,4,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.clearSegmenterParameters=function(){return this.setSegmenterParameters(void 0)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.hasSegmenterParameters=function(){return e.Message.getField(this,4)!=null},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.AddSegmenterRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.AddSegmenterResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.AddSegmenterResponse.toObject(p,this)},proto.viam.service.vision.v1.AddSegmenterResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.AddSegmenterResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.AddSegmenterResponse;return proto.viam.service.vision.v1.AddSegmenterResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.AddSegmenterResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.AddSegmenterResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.AddSegmenterResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.AddSegmenterResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveSegmenterRequest.toObject(p,this)},proto.viam.service.vision.v1.RemoveSegmenterRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),segmenterName:e.Message.getFieldWithDefault(g,2,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.RemoveSegmenterRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveSegmenterRequest;return proto.viam.service.vision.v1.RemoveSegmenterRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveSegmenterRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setSegmenterName(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveSegmenterRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveSegmenterRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getSegmenterName(),l.length>0&&g.writeString(2,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.getSegmenterName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.setSegmenterName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.RemoveSegmenterRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.RemoveSegmenterResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.RemoveSegmenterResponse.toObject(p,this)},proto.viam.service.vision.v1.RemoveSegmenterResponse.toObject=function(p,g){var l={};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.RemoveSegmenterResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.RemoveSegmenterResponse;return proto.viam.service.vision.v1.RemoveSegmenterResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.RemoveSegmenterResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){default:g.skipField();break}}return p},proto.viam.service.vision.v1.RemoveSegmenterResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.RemoveSegmenterResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.RemoveSegmenterResponse.serializeBinaryToWriter=function(p,g){},e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetObjectPointCloudsRequest.toObject(p,this)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.toObject=function(p,g){var l,u={name:e.Message.getFieldWithDefault(g,1,""),cameraName:e.Message.getFieldWithDefault(g,2,""),segmenterName:e.Message.getFieldWithDefault(g,3,""),mimeType:e.Message.getFieldWithDefault(g,4,""),extra:(l=g.getExtra())&&n.Struct.toObject(p,l)};return p&&(u.$jspbMessageInstance=g),u}),proto.viam.service.vision.v1.GetObjectPointCloudsRequest.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetObjectPointCloudsRequest;return proto.viam.service.vision.v1.GetObjectPointCloudsRequest.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setName(u);break;case 2:var u=g.readString();p.setCameraName(u);break;case 3:var u=g.readString();p.setSegmenterName(u);break;case 4:var u=g.readString();p.setMimeType(u);break;case 99:var u=new n.Struct;g.readMessage(u,n.Struct.deserializeBinaryFromReader),p.setExtra(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetObjectPointCloudsRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getName(),l.length>0&&g.writeString(1,l),l=p.getCameraName(),l.length>0&&g.writeString(2,l),l=p.getSegmenterName(),l.length>0&&g.writeString(3,l),l=p.getMimeType(),l.length>0&&g.writeString(4,l),l=p.getExtra(),l!=null&&g.writeMessage(99,l,n.Struct.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getName=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setName=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getCameraName=function(){return e.Message.getFieldWithDefault(this,2,"")},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setCameraName=function(p){return e.Message.setProto3StringField(this,2,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getSegmenterName=function(){return e.Message.getFieldWithDefault(this,3,"")},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setSegmenterName=function(p){return e.Message.setProto3StringField(this,3,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getMimeType=function(){return e.Message.getFieldWithDefault(this,4,"")},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setMimeType=function(p){return e.Message.setProto3StringField(this,4,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.getExtra=function(){return e.Message.getWrapperField(this,n.Struct,99)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.setExtra=function(p){return e.Message.setWrapperField(this,99,p)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.clearExtra=function(){return this.setExtra(void 0)},proto.viam.service.vision.v1.GetObjectPointCloudsRequest.prototype.hasExtra=function(){return e.Message.getField(this,99)!=null},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.repeatedFields_=[2],e.Message.GENERATE_TO_OBJECT&&(proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.toObject=function(p){return proto.viam.service.vision.v1.GetObjectPointCloudsResponse.toObject(p,this)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.toObject=function(p,g){var l={mimeType:e.Message.getFieldWithDefault(g,1,""),objectsList:e.Message.toObjectList(g.getObjectsList(),t.PointCloudObject.toObject,p)};return p&&(l.$jspbMessageInstance=g),l}),proto.viam.service.vision.v1.GetObjectPointCloudsResponse.deserializeBinary=function(p){var g=new e.BinaryReader(p),l=new proto.viam.service.vision.v1.GetObjectPointCloudsResponse;return proto.viam.service.vision.v1.GetObjectPointCloudsResponse.deserializeBinaryFromReader(l,g)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.deserializeBinaryFromReader=function(p,g){for(;g.nextField()&&!g.isEndGroup();){var l=g.getFieldNumber();switch(l){case 1:var u=g.readString();p.setMimeType(u);break;case 2:var u=new t.PointCloudObject;g.readMessage(u,t.PointCloudObject.deserializeBinaryFromReader),p.addObjects(u);break;default:g.skipField();break}}return p},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.serializeBinary=function(){var p=new e.BinaryWriter;return proto.viam.service.vision.v1.GetObjectPointCloudsResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.serializeBinaryToWriter=function(p,g){var l=void 0;l=p.getMimeType(),l.length>0&&g.writeString(1,l),l=p.getObjectsList(),l.length>0&&g.writeRepeatedMessage(2,l,t.PointCloudObject.serializeBinaryToWriter)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.getMimeType=function(){return e.Message.getFieldWithDefault(this,1,"")},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.setMimeType=function(p){return e.Message.setProto3StringField(this,1,p)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.getObjectsList=function(){return e.Message.getRepeatedWrapperField(this,t.PointCloudObject,2)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.setObjectsList=function(p){return e.Message.setRepeatedWrapperField(this,2,p)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.addObjects=function(p,g){return e.Message.addToRepeatedWrapperField(this,2,p,proto.viam.common.v1.PointCloudObject,g)},proto.viam.service.vision.v1.GetObjectPointCloudsResponse.prototype.clearObjectsList=function(){return this.setObjectsList([])},r.object.extend(o,proto.viam.service.vision.v1)}(vision_pb);class RobotClient{client;constructor(e){this.client=e.createServiceClient(RobotServiceClient_1)}get robotService(){return this.client}async getOperations(){const e=this.robotService,r=new robot_pb.GetOperationsRequest;return(await promisify(e.getOperations.bind(e),r)).getOperationsList()}async cancelOperation(e){const r=this.robotService,s=new robot_pb.CancelOperationRequest;s.setId(e),await promisify(r.cancelOperation.bind(r),s)}async blockForOperation(e){const r=this.robotService,s=new robot_pb.BlockForOperationRequest;s.setId(e),await promisify(r.blockForOperation.bind(r),s)}async stopAll(){const e=this.robotService,r=new robot_pb.StopAllRequest;await promisify(e.stopAll.bind(e),r)}async frameSystemConfig(e){const r=this.robotService,s=new robot_pb.FrameSystemConfigRequest;return s.setSupplementalTransformsList(e),(await promisify(r.frameSystemConfig.bind(r),s)).getFrameSystemConfigsList()}async transformPose(e,r,s){const t=this.robotService,i=new robot_pb.TransformPoseRequest;i.setSource(e),i.setDestination(r),i.setSupplementalTransformsList(s);const p=(await promisify(t.transformPose.bind(t),i)).getPose();if(!p)throw new Error("no pose");return p}async transformPCD(e,r,s){const t=this.robotService,i=new robot_pb.TransformPCDRequest;return i.setPointCloudPcd(e),i.setSource(r),i.setDestination(s),(await promisify(t.transformPCD.bind(t),i)).getPointCloudPcd_asU8()}async discoverComponents(e){const r=this.robotService,s=new robot_pb.DiscoverComponentsRequest;return s.setQueriesList(e),(await promisify(r.discoverComponents.bind(r),s)).getDiscoveryList()}async resourceNames(){const e=this.robotService,r=new robot_pb.ResourceNamesRequest;return(await promisify(e.resourceNames.bind(e),r)).getResourcesList()}async resourceRPCSubtypes(){const e=this.robotService,r=new robot_pb.ResourceRPCSubtypesRequest;return(await promisify(e.resourceRPCSubtypes.bind(e),r)).getResourceRpcSubtypesList()}async getStatus(e){const r=this.robotService,s=new robot_pb.GetStatusRequest;return s.setResourceNamesList(e),(await promisify(r.getStatus.bind(r),s)).getStatusList()}async streamStatus(e,r){const s=this.robotService,t=new robot_pb.StreamStatusRequest;return t.setResourceNamesList(e),t.setEvery(r),(await promisify(s.streamStatus.bind(s),t)).getStatusList()}}exports.Base=Base,exports.BaseClient=BaseClient,exports.Board=Board,exports.BoardClient=BoardClient,exports.Camera=Camera,exports.CameraClient=CameraClient,exports.Client=Client,exports.Motor=Motor,exports.MotorClient=MotorClient,exports.RobotClient=RobotClient,exports.Sensor=Sensor,exports.SensorClient=SensorClient,exports.StreamClient=StreamClient,exports.armApi=arm_pb,exports.baseApi=base_pb,exports.boardApi=board_pb,exports.cameraApi=camera_pb,exports.commonApi=common_pb$a,exports.gantryApi=gantry_pb,exports.genericApi=generic_pb,exports.gripperApi=gripper_pb,exports.inputControllerApi=input_controller_pb,exports.motionApi=motion_pb,exports.motorApi=motor_pb,exports.movementSensorApi=movementsensor_pb,exports.navigationApi=navigation_pb,exports.robotApi=robot_pb,exports.sensorApi=sensor_pb,exports.sensorsApi=sensors_pb,exports.servoApi=servo_pb,exports.slamApi=slam_pb,exports.streamApi=stream_pb,exports.visionApi=vision_pb,Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|