ord-schema 0.6.0 → 0.6.1
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/main.js +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var __webpack_modules__={237(e,t,o){"use strict";e.exports={...o(57),...o(802)}},339(__unused_webpack_module,exports,__webpack_require__){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(e,t,o){e instanceof String&&(e=String(e));for(var r=e.length,n=0;n<r;n++){var i=e[n];if(t.call(o,i,n,e))return{i:n,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||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,o){e!=Array.prototype&&e!=Object.prototype&&(e[t]=o.value)},$jscomp.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==__webpack_require__.g&&null!=__webpack_require__.g?__webpack_require__.g:e},$jscomp.global=$jscomp.getGlobal(this),$jscomp.polyfill=function(e,t,o,r){if(t){for(o=$jscomp.global,e=e.split("."),r=0;r<e.length-1;r++){var n=e[r];n in o||(o[n]={}),o=o[n]}(t=t(r=o[e=e[e.length-1]]))!=r&&null!=t&&$jscomp.defineProperty(o,e,{configurable:!0,writable:!0,value:t})}},$jscomp.polyfill("Array.prototype.findIndex",function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).i}},"es6","es3"),$jscomp.checkStringArgs=function(e,t,o){if(null==e)throw new TypeError("The 'this' value for String.prototype."+o+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+o+" must not be a regular expression");return e+""},$jscomp.polyfill("String.prototype.endsWith",function(e){return e||function(e,t){var o=$jscomp.checkStringArgs(this,e,"endsWith");e+="",void 0===t&&(t=o.length),t=Math.max(0,Math.min(0|t,o.length));for(var r=e.length;0<r&&0<t;)if(o[--t]!=e[--r])return!1;return 0>=r}},"es6","es3"),$jscomp.polyfill("Array.prototype.find",function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}},"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",function(e){return e||function(e,t){var o=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var r=o.length,n=e.length;t=Math.max(0,Math.min(0|t,o.length));for(var i=0;i<n&&t<r;)if(o[t++]!=e[i++])return!1;return i>=n}},"es6","es3"),$jscomp.polyfill("String.prototype.repeat",function(e){return e||function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var o="";e;)1&e&&(o+=t),(e>>>=1)&&(t+=t);return o}},"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=this||self,goog.isDef=function(e){return void 0!==e},goog.isString=function(e){return"string"==typeof e},goog.isBoolean=function(e){return"boolean"==typeof e},goog.isNumber=function(e){return"number"==typeof e},goog.exportPath_=function(e,t,o){e=e.split("."),o=o||goog.global,e[0]in o||void 0===o.execScript||o.execScript("var "+e[0]);for(var r;e.length&&(r=e.shift());)!e.length&&goog.isDef(t)?o[r]=t:o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}},goog.define=function(e,t){if(!COMPILED){var o=goog.global.CLOSURE_UNCOMPILED_DEFINES,r=goog.global.CLOSURE_DEFINES;o&&void 0===o.nodeType&&Object.prototype.hasOwnProperty.call(o,e)?t=o[e]:r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,e)&&(t=r[e])}return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var o=e;(o=o.substring(0,o.lastIndexOf(".")))&&!goog.getObjectByName(o);)goog.implicitNamespaces_[o]=!0}goog.exportPath_(e,t)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if(!goog.isString(e)||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" 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.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED){if(e in goog.loadedModules_)return goog.loadedModules_[e].exports;if(!goog.implicitNamespaces_[e])return null!=(e=goog.getObjectByName(e))?e:null}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 e=goog.global.$jscomp;return!!e&&"function"==typeof e.getCurrentModulePath&&!!e.getCurrentModulePath()},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(e in goog.loadedModules_)throw Error('Module with namespace "'+e+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&goog.isDefAndNotNull(goog.getObjectByName(e))},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var o=0;o<e.length;o++)if(t=t[e[o]],!goog.isDefAndNotNull(t))return null;return t},goog.globalize=function(e,t){for(var o in t=t||goog.global,e)t[o]=e[o]},goog.addDependency=function(e,t,o,r){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(e,t,o,r)},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(e),goog.isProvided_(e)){if(goog.isInModuleLoader_())return goog.module.getInternal_(e)}else if(goog.ENABLE_DEBUG_LOADER){var t=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(e)}finally{goog.moduleLoaderState_=t}}return null}},goog.requireType=function(e){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(e){e.instance_=void 0,e.getInstance=function(){return e.instance_?e.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=e),e.instance_=new e)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(e){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(e){return"(function(){"+e+"\n;})();\n"},goog.loadModule=function(e){var t=goog.moduleLoaderState_;try{if(goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG},goog.isFunction(e))var o=e.call(void 0,{});else{if(!goog.isString(e))throw Error("Invalid module definition");goog.useSafari10Workaround()&&(e=goog.workaroundSafari10EvalBug(e)),o=goog.loadModuleFromSource_.call(void 0,e)}var r=goog.moduleLoaderState_.moduleName;if(!goog.isString(r)||!r)throw Error('Invalid module name "'+r+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(r,o):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof o&&null!=o&&Object.seal(o),goog.loadedModules_[r]={exports:o,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(a){return eval(a),{}},goog.normalizePath_=function(e){e=e.split("/");for(var t=0;t<e.length;)"."==e[t]?e.splice(t,1):t&&".."==e[t]&&e[t-1]&&".."!=e[t-1]?e.splice(--t,2):t++;return e.join("/")},goog.loadFileSync_=function(e){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(e);try{var t=new goog.global.XMLHttpRequest;return t.open("get",e,!1),t.send(),0==t.status||200==t.status?t.responseText:null}catch(e){return null}},goog.transpile_=function(e,t,o){var r=goog.global.$jscomp;r||(goog.global.$jscomp=r={});var n=r.transpile;if(!n){var i=goog.basePath+goog.TRANSPILER,s=goog.loadFileSync_(i);if(s){if(function(){(0,eval)(s+"\n//# 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,n=(r=goog.global.$jscomp).transpile}}return n||(n=r.transpile=function(e,t){return goog.logToConsole_(t+" requires transpilation but no transpiler was found."),e}),n(e,t,o)},goog.typeOf=function(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var o=Object.prototype.toString.call(e);if("[object Window]"==o)return"object";if("[object Array]"==o||"number"==typeof e.length&&void 0!==e.splice&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==o||void 0!==e.call&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===e.call)return"object";return t},goog.isNull=function(e){return null===e},goog.isDefAndNotNull=function(e){return null!=e},goog.isArray=function(e){return"array"==goog.typeOf(e)},goog.isArrayLike=function(e){var t=goog.typeOf(e);return"array"==t||"object"==t&&"number"==typeof e.length},goog.isDateLike=function(e){return goog.isObject(e)&&"function"==typeof e.getFullYear},goog.isFunction=function(e){return"function"==goog.typeOf(e)},goog.isObject=function(e){var t=typeof e;return"object"==t&&null!=e||"function"==t},goog.getUid=function(e){return e[goog.UID_PROPERTY_]||(e[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(e){return!!e[goog.UID_PROPERTY_]},goog.removeUid=function(e){null!==e&&"removeAttribute"in e&&e.removeAttribute(goog.UID_PROPERTY_);try{delete e[goog.UID_PROPERTY_]}catch(e){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"==typeof e.clone)return e.clone();for(var o in t="array"==t?[]:{},e)t[o]=goog.cloneObject(e[o]);return t}return e},goog.bindNative_=function(e,t,o){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,o){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,r),e.apply(t,o)}}return function(){return e.apply(t,arguments)}},goog.bind=function(e,t,o){return Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var t=o.slice();return t.push.apply(t,arguments),e.apply(this,t)}},goog.mixin=function(e,t){for(var o in t)e[o]=t[o]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(e){if(goog.global.execScript)goog.global.execScript(e,"JavaScript");else{if(!goog.global.eval)throw Error("goog.globalEval not available");if(null==goog.evalWorksForGlobals_){try{goog.global.eval("var _evalTest_ = 1;")}catch(e){}if(void 0!==goog.global._evalTest_){try{delete goog.global._evalTest_}catch(e){}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(e);else{var t=goog.global.document,o=t.createElement("SCRIPT");o.type="text/javascript",o.defer=!1,o.appendChild(t.createTextNode(e)),t.head.appendChild(o),t.head.removeChild(o)}}},goog.evalWorksForGlobals_=null,goog.getCssName=function(e,t){if("."==String(e).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+e);var o=function(e){return goog.cssNameMapping_[e]||e},r=function(e){e=e.split("-");for(var t=[],r=0;r<e.length;r++)t.push(o(e[r]));return t.join("-")};return r=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?o:r:function(e){return e},e=t?e+"-"+r(t):r(e),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(e):e},goog.setCssNameMapping=function(e,t){goog.cssNameMapping_=e,goog.cssNameMappingStyle_=t},!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING),goog.getMsg=function(e,t,o){return o&&o.html&&(e=e.replace(/</g,"<")),t&&(e=e.replace(/\{\$([^}]+)}/g,function(e,o){return null!=t&&o in t?t[o]:e})),e},goog.getMsgWithFallback=function(e,t){return e},goog.exportSymbol=function(e,t,o){goog.exportPath_(e,t,o)},goog.exportProperty=function(e,t,o){e[t]=o},goog.inherits=function(e,t){function o(){}o.prototype=t.prototype,e.superClass_=t.prototype,e.prototype=new o,e.prototype.constructor=e,e.base=function(e,o,r){for(var n=Array(arguments.length-2),i=2;i<arguments.length;i++)n[i-2]=arguments[i];return t.prototype[o].apply(e,n)}},goog.base=function(e,t,o){var r=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!r)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(void 0!==r.superClass_){for(var n=Array(arguments.length-1),i=1;i<arguments.length;i++)n[i-1]=arguments[i];return r.superClass_.constructor.apply(e,n)}if("string"!=typeof t&&"symbol"!=typeof t)throw Error("method names provided to goog.base must be a string or a symbol");for(n=Array(arguments.length-2),i=2;i<arguments.length;i++)n[i-2]=arguments[i];i=!1;for(var s=e.constructor.prototype;s;s=Object.getPrototypeOf(s))if(s[t]===r)i=!0;else if(i)return s[t].apply(e,n);if(e[t]===r)return e.constructor.prototype[t].apply(e,n);throw Error("goog.base called from a method of one name to a method of a different name")},goog.scope=function(e){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");e.call(goog.global)},COMPILED||(goog.global.COMPILED=COMPILED),goog.defineClass=function(e,t){var o=t.constructor,r=t.statics;return o&&o!=Object.prototype.constructor||(o=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),o=goog.defineClass.createSealingConstructor_(o,e),e&&goog.inherits(o,e),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(o.prototype,t),null!=r&&(r instanceof Function?r(o):goog.defineClass.applyProperties_(o,r)),o},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(e,t){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return e;var o=!goog.defineClass.isUnsealable_(t),r=function(){var t=e.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],this.constructor===r&&o&&Object.seal instanceof Function&&Object.seal(t),t};return r},goog.defineClass.isUnsealable_=function(e){return e&&e.prototype&&e.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(var r=0;r<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;r++)o=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[r],Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},goog.tagUnsealableClass=function(e){!COMPILED&&goog.defineClass.SEAL_CLASS_INSTANCES&&(e.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.inHtmlDocument_=function(){var e=goog.global.document;return null!=e&&"write"in e},goog.isDocumentLoading_=function(){var e=goog.global.document;return e.attachEvent?"complete"!=e.readyState:"loading"==e.readyState},goog.findBasePath_=function(){if(goog.isDef(goog.global.CLOSURE_BASE_PATH)&&goog.isString(goog.global.CLOSURE_BASE_PATH))goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var e=goog.global.document,t=e.currentScript;for(t=(e=t?[t]:e.getElementsByTagName("SCRIPT")).length-1;0<=t;--t){var o=e[t].src,r=o.lastIndexOf("?");if(r=-1==r?o.length:r,"base.js"==o.substr(r-7,7)){goog.basePath=o.substr(0,r-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(t,o){e?d[t]=!0:o()?(c=t,d[t]=!1):e=d[t]=!0}function b(a){try{return!!eval(a)}catch(e){return!1}}var c="es3",d={es3:!1},e=!1,f=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"";return a("es5",function(){return b("[1,].length==1")}),a("es6",function(){return!f.match(/Edge\/(\d+)(\.\d)*/i)&&b('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')}),a("es7",function(){return b("2 ** 2 == 4")}),a("es8",function(){return b("async () => 1, true")}),a("es9",function(){return b("({...rest} = {}), true")}),a("es_next",function(){return!1}),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(e,t){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var o=this.createRequiresTranspilation_();this.requiresTranspilation_=o.map,this.transpilationTarget_=this.transpilationTarget_||o.target}if(e in this.requiresTranspilation_)return!!this.requiresTranspilation_[e]||!(!goog.inHtmlDocument_()||"es6"!=t||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+e)},goog.Transpiler.prototype.transpile=function(e,t){return goog.transpile_(e,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(e){return e.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(e,t){function o(){r&&(goog.global.setTimeout(r,0),r=null)}var r=t;if(e.length){t=[];for(var n=0;n<e.length;n++){var i=this.getPathFromDeps_(e[n]);if(!i)throw Error("Unregonized namespace: "+e[n]);t.push(this.dependencies_[i])}i=goog.require;var s=0;for(n=0;n<e.length;n++)i(e[n]),t[n].onLoad(function(){++s==e.length&&o()})}else o()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(e,t){(e=this.getPathFromDeps_(e))&&(t||this.areDepsLoaded_(this.dependencies_[e].requires))&&(t=this.deferredCallbacks_[e])&&(delete this.deferredCallbacks_[e],t())},goog.DebugLoader_.prototype.setDependencyFactory=function(e){this.factory_=e},goog.DebugLoader_.prototype.load_=function(e){if(!this.getPathFromDeps_(e))throw e="goog.require could not find: "+e,goog.logToConsole_(e),Error(e);var t=this,o=[],r=function(e){var n=t.getPathFromDeps_(e);if(!n)throw Error("Bad dependency path or symbol: "+e);if(!t.written_[n]){for(t.written_[n]=!0,e=t.dependencies_[n],n=0;n<e.requires.length;n++)goog.isProvided_(e.requires[n])||r(e.requires[n]);o.push(e)}};r(e),e=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(o),this.paused_||e||this.loadDeps_()},goog.DebugLoader_.prototype.loadDeps_=function(){for(var e=this,t=this.paused_;this.depsToLoad_.length&&!t;)(function(){var o=!1,r=e.depsToLoad_.shift(),n=!1;e.loading_(r);var i={pause:function(){if(o)throw Error("Cannot call pause after the call to load.");t=!0},resume:function(){o?e.resume_():t=!1},loaded:function(){if(n)throw Error("Double call to loaded.");n=!0,e.loaded_(r)},pending:function(){for(var t=[],o=0;o<e.loadingDeps_.length;o++)t.push(e.loadingDeps_[o]);return t},setModuleState:function(e){goog.moduleLoaderState_={type:e,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(e,t,o){o&&(goog.loadedModules_[o]={exports:t,type:goog.ModuleType.ES6,moduleId:o||""})},registerGoogModuleExports:function(e,t){goog.loadedModules_[e]={exports:t,type:goog.ModuleType.GOOG,moduleId:e}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(t){if(o)throw Error("Cannot register with defer after the call to load.");e.defer_(r,t)},areDepsLoaded:function(){return e.areDepsLoaded_(r.requires)}};try{r.load(i)}finally{o=!0}})();t&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(e){this.loadingDeps_.push(e)},goog.DebugLoader_.prototype.loaded_=function(e){for(var t=0;t<this.loadingDeps_.length;t++)if(this.loadingDeps_[t]==e){this.loadingDeps_.splice(t,1);break}for(t=0;t<this.deferredQueue_.length;t++)if(this.deferredQueue_[t]==e.path){this.deferredQueue_.splice(t,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);e.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(e){for(var t=0;t<e.length;t++){var o=this.getPathFromDeps_(e[t]);if(!o||!(o in this.deferredCallbacks_)&&!goog.isProvided_(e[t]))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(e){return e in this.idToPath_?this.idToPath_[e]:e in this.dependencies_?e:null},goog.DebugLoader_.prototype.defer_=function(e,t){this.deferredCallbacks_[e.path]=t,this.deferredQueue_.push(e.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(e,t,o){},goog.LoadController.prototype.setModuleState=function(e){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(e){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(e,t,o,r,n){this.path=e,this.relativePath=t,this.provides=o,this.requires=r,this.loadFlags=n,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var e=this.path,t=e.indexOf("://");return 0<=t&&0<=(t=(e=e.substring(t+3)).indexOf("/"))&&(e=e.substring(t+1)),e},goog.Dependency.prototype.onLoad=function(e){this.loaded_?e():this.loadCallbacks_.push(e)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var e=this.loadCallbacks_;this.loadCallbacks_=[];for(var t=0;t<e.length;t++)e[t]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(e){var t=Math.random().toString(32);return goog.Dependency.callbackMap_[t]=e,t},goog.Dependency.unregisterCallback_=function(e){delete goog.Dependency.callbackMap_[e]},goog.Dependency.callback_=function(e,t){if(!(e in goog.Dependency.callbackMap_))throw Error("Callback key "+e+" does not exist (was base.js loaded more than once?).");for(var o=goog.Dependency.callbackMap_[e],r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);o.apply(void 0,r)},goog.Dependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document;if("complete"==t.readyState&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path))return void e.loaded();throw Error('Cannot write "'+this.path+'" after document load')}if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var o=goog.Dependency.registerCallback_(function(t){goog.DebugLoader_.IS_OLD_IE_&&"complete"!=t.readyState||(goog.Dependency.unregisterCallback_(o),e.loaded())}),r=!goog.DebugLoader_.IS_OLD_IE_&&goog.getScriptNonce()?' nonce="'+goog.getScriptNonce()+'"':"";r='<script src="'+this.path+'" '+(goog.DebugLoader_.IS_OLD_IE_?"onreadystatechange":"onload")+"=\"goog.Dependency.callback_('"+o+'\', this)" type="text/javascript" '+(goog.Dependency.defer_?"defer":"")+r+"><\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}else{var n=t.createElement("script");n.defer=goog.Dependency.defer_,n.async=!1,n.type="text/javascript",(r=goog.getScriptNonce())&&n.setAttribute("nonce",r),goog.DebugLoader_.IS_OLD_IE_?(e.pause(),n.onreadystatechange=function(){"loaded"!=n.readyState&&"complete"!=n.readyState||(e.loaded(),e.resume())}):n.onload=function(){n.onload=null,e.loaded()},n.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(n)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),e.loaded()):e.pause()},goog.Es6ModuleDependency=function(e,t,o,r,n){goog.Dependency.call(this,e,t,o,r,n)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document,o=this;if(goog.isDocumentLoading_()){var r=function(e,o){e=o?'<script type="module" crossorigin>'+o+"<\/script>":'<script type="module" crossorigin src="'+e+'"><\/script>',t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(e):e)};goog.Dependency.defer_=!0}else r=function(e,o){var r=t.createElement("script");r.defer=!0,r.async=!1,r.type="module",r.setAttribute("crossorigin",!0);var n=goog.getScriptNonce();n&&r.setAttribute("nonce",n),o?r.textContent=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(o):o:r.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(e):e,t.head.appendChild(r)};var n=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(n),e.setModuleState(goog.ModuleType.ES6)});r(void 0,'goog.Dependency.callback_("'+n+'")'),r(this.path,void 0);var i=goog.Dependency.registerCallback_(function(t){goog.Dependency.unregisterCallback_(i),e.registerEs6ModuleExports(o.path,t,goog.moduleLoaderState_.moduleName)});r(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+i+'", m)');var s=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(s),e.clearModuleState(),e.loaded()});r(void 0,'goog.Dependency.callback_("'+s+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),e.pause()},goog.TransformedDependency=function(e,t,o,r,n){goog.Dependency.call(this,e,t,o,r,n),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(e){function t(){r.contents_=goog.loadFileSync_(r.path),r.contents_&&(r.contents_=r.transform(r.contents_),r.contents_&&(r.contents_+="\n//# sourceURL="+r.path))}function o(){if(r.lazyFetch_&&t(),r.contents_){n&&e.setModuleState(goog.ModuleType.ES6);try{var o=r.contents_;if(r.contents_=null,goog.globalEval(o),n)var i=goog.moduleLoaderState_.moduleName}finally{n&&e.clearModuleState()}n&&goog.global.$jscomp.require.ensure([r.getPathName()],function(){e.registerEs6ModuleExports(r.path,goog.global.$jscomp.require(r.getPathName()),i)}),e.loaded()}}var r=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)t(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,e.loaded()):e.pause();else{var n=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||t();var i=1<e.pending().length,s=i&&goog.DebugLoader_.IS_OLD_IE_;if(i=goog.Dependency.defer_&&(i||goog.isDocumentLoading_()),s||i)e.defer(function(){o()});else{var a=goog.global.document;if(s=goog.inHtmlDocument_()&&"ActiveXObject"in goog.global,n&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!s){goog.Dependency.defer_=!0,e.pause();var g=a.onreadystatechange;a.onreadystatechange=function(){"interactive"==a.readyState&&(a.onreadystatechange=g,o(),e.resume()),goog.isFunction(g)&&g.apply(void 0,arguments)}}else!goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?function(){var e=goog.global.document,t=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(t),o()}),r='<script type="text/javascript">'+goog.protectScriptTag_('goog.Dependency.callback_("'+t+'");')+"<\/script>";e.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}():o()}}},goog.TransformedDependency.prototype.transform=function(e){},goog.TranspiledDependency=function(e,t,o,r,n,i){goog.TransformedDependency.call(this,e,t,o,r,n),this.transpiler=i},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(e){return this.transpiler.transpile(e,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(e,t,o,r,n){goog.TransformedDependency.call(this,e,t,o,r,n)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(e){return e},goog.GoogModuleDependency=function(e,t,o,r,n,i,s){goog.TransformedDependency.call(this,e,t,o,r,n),this.needsTranspile_=i,this.transpiler_=s},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(e){return this.needsTranspile_&&(e=this.transpiler_.transpile(e,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&goog.isDef(goog.global.JSON)?"goog.loadModule("+goog.global.JSON.stringify(e+"\n//# sourceURL="+this.path+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+e+"\n;return exports});\n//# sourceURL="+this.path+"\n"},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(e,t,o,r){t=t||[],e=e.replace(/\\/g,"/");var n=goog.normalizePath_(goog.basePath+e);for(r&&"boolean"!=typeof r||(r=r?{module:goog.ModuleType.GOOG}:{}),o=this.factory_.createDependency(n,e,t,o,r,goog.transpiler_.needsTranspile(r.lang||"es3",r.module)),this.dependencies_[n]=o,o=0;o<t.length;o++)this.idToPath_[t[o]]=n;this.idToPath_[e]=n},goog.DependencyFactory=function(e){this.transpiler=e},goog.DependencyFactory.prototype.createDependency=function(e,t,o,r,n,i){return n.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(e,t,o,r,n,i,this.transpiler):i?new goog.TranspiledDependency(e,t,o,r,n,this.transpiler):n.module==goog.ModuleType.ES6?"never"==goog.TRANSPILE&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(e,t,o,r,n):new goog.Es6ModuleDependency(e,t,o,r,n):new goog.Dependency(e,t,o,r,n)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(e){goog.debugLoader_.setDependencyFactory(e)},goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(e,t){goog.debugLoader_.bootstrap(e,t)}),goog.TRUSTED_TYPES_POLICY_NAME="",goog.identity_=function(e){return e},goog.createTrustedTypesPolicy=function(e){var t=null;if("undefined"==typeof TrustedTypes||!TrustedTypes.createPolicy)return t;try{t=TrustedTypes.createPolicy(e,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(e){goog.logToConsole_(e.message)}return t},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.object={},goog.object.is=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},goog.object.forEach=function(e,t,o){for(var r in e)t.call(o,e[r],r,e)},goog.object.filter=function(e,t,o){var r,n={};for(r in e)t.call(o,e[r],r,e)&&(n[r]=e[r]);return n},goog.object.map=function(e,t,o){var r,n={};for(r in e)n[r]=t.call(o,e[r],r,e);return n},goog.object.some=function(e,t,o){for(var r in e)if(t.call(o,e[r],r,e))return!0;return!1},goog.object.every=function(e,t,o){for(var r in e)if(!t.call(o,e[r],r,e))return!1;return!0},goog.object.getCount=function(e){var t,o=0;for(t in e)o++;return o},goog.object.getAnyKey=function(e){for(var t in e)return t},goog.object.getAnyValue=function(e){for(var t in e)return e[t]},goog.object.contains=function(e,t){return goog.object.containsValue(e,t)},goog.object.getValues=function(e){var t,o=[],r=0;for(t in e)o[r++]=e[t];return o},goog.object.getKeys=function(e){var t,o=[],r=0;for(t in e)o[r++]=t;return o},goog.object.getValueByKeys=function(e,t){var o=goog.isArrayLike(t),r=o?t:arguments;for(o=o?0:1;o<r.length;o++){if(null==e)return;e=e[r[o]]}return e},goog.object.containsKey=function(e,t){return null!==e&&t in e},goog.object.containsValue=function(e,t){for(var o in e)if(e[o]==t)return!0;return!1},goog.object.findKey=function(e,t,o){for(var r in e)if(t.call(o,e[r],r,e))return r},goog.object.findValue=function(e,t,o){return(t=goog.object.findKey(e,t,o))&&e[t]},goog.object.isEmpty=function(e){for(var t in e)return!1;return!0},goog.object.clear=function(e){for(var t in e)delete e[t]},goog.object.remove=function(e,t){var o;return(o=t in e)&&delete e[t],o},goog.object.add=function(e,t,o){if(null!==e&&t in e)throw Error('The object already contains the key "'+t+'"');goog.object.set(e,t,o)},goog.object.get=function(e,t,o){return null!==e&&t in e?e[t]:o},goog.object.set=function(e,t,o){e[t]=o},goog.object.setIfUndefined=function(e,t,o){return t in e?e[t]:e[t]=o},goog.object.setWithReturnValueIfNotSet=function(e,t,o){return t in e?e[t]:(o=o(),e[t]=o)},goog.object.equals=function(e,t){for(var o in e)if(!(o in t)||e[o]!==t[o])return!1;for(var r in t)if(!(r in e))return!1;return!0},goog.object.clone=function(e){var t,o={};for(t in e)o[t]=e[t];return o},goog.object.unsafeClone=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if(goog.isFunction(e.clone))return e.clone();for(var o in t="array"==t?[]:{},e)t[o]=goog.object.unsafeClone(e[o]);return t}return e},goog.object.transpose=function(e){var t,o={};for(t in e)o[e[t]]=t;return o},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(e,t){for(var o,r,n=1;n<arguments.length;n++){for(o in r=arguments[n])e[o]=r[o];for(var i=0;i<goog.object.PROTOTYPE_FIELDS_.length;i++)o=goog.object.PROTOTYPE_FIELDS_[i],Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}},goog.object.create=function(e){var t=arguments.length;if(1==t&&goog.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var o={},r=0;r<t;r+=2)o[arguments[r]]=arguments[r+1];return o},goog.object.createSet=function(e){var t=arguments.length;if(1==t&&goog.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var o={},r=0;r<t;r++)o[arguments[r]]=!0;return o},goog.object.createImmutableView=function(e){var t=e;return Object.isFrozen&&!Object.isFrozen(e)&&(t=Object.create(e),Object.freeze(t)),t},goog.object.isImmutableView=function(e){return!!Object.isFrozen&&Object.isFrozen(e)},goog.object.getAllPropertyNames=function(e,t,o){if(!e)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(e);for(var r={};e&&(e!==Object.prototype||t)&&(e!==Function.prototype||o);){for(var n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++)r[n[i]]=!0;e=Object.getPrototypeOf(e)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(e){return(e=Object.getPrototypeOf(e.prototype))&&e.constructor},goog.debug={},goog.debug.Error=function(e){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e)),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(e,t){goog.debug.Error.call(this,goog.asserts.subs_(e,t)),this.messagePattern=e},goog.inherits(goog.asserts.AssertionError,goog.debug.Error),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(e){throw e},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(e,t){for(var o="",r=(e=e.split("%s")).length-1,n=0;n<r;n++)o+=e[n]+(n<t.length?t[n]:"%s");return o+e[r]},goog.asserts.doAssertFailure_=function(e,t,o,r){var n="Assertion failed";if(o){n+=": "+o;var i=r}else e&&(n+=": "+e,i=t);e=new goog.asserts.AssertionError(""+n,i||[]),goog.asserts.errorHandler_(e)},goog.asserts.setErrorHandler=function(e){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=e)},goog.asserts.assert=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!e&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertExists=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&null==e&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.fail=function(e,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isNumber(e)&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertString=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isString(e)&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertFunction=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(e)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObject=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(e)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertArray=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isArray(e)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertBoolean=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isBoolean(e)&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertElement=function(e,t,o){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(e)&&e.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertInstanceof=function(e,t,o,r){return!goog.asserts.ENABLE_ASSERTS||e instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(e)],o,Array.prototype.slice.call(arguments,3)),e},goog.asserts.assertFinite=function(e,t,o){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof e&&isFinite(e)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var e in Object.prototype)goog.asserts.fail(e+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(e){return e instanceof Function?e.displayName||e.name||"unknown type name":e instanceof Object?e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e):null===e?"null":typeof e};var jspb={BinaryConstants:{},ConstBinaryMessage:function(){},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(e){var t=jspb.BinaryConstants.FieldType,o=jspb.BinaryConstants.WireType;switch(e){case t.INT32:case t.INT64:case t.UINT32:case t.UINT64:case t.SINT32:case t.SINT64:case t.BOOL:case t.ENUM:case t.VHASH64:return o.VARINT;case t.DOUBLE:case t.FIXED64:case t.SFIXED64:case t.FHASH64:return o.FIXED64;case t.STRING:case t.MESSAGE:case t.BYTES:return o.DELIMITED;case t.FLOAT:case t.FIXED32:case t.SFIXED32:return o.FIXED32;default:return o.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=0x8000000000000000,jspb.BinaryConstants.TWO_TO_64=0x10000000000000000,jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0",goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE,goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR,goog.array.peek=function(e){return e[e.length-1]},goog.array.last=goog.array.peek,goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.indexOf.call(e,t,o)}:function(e,t,o){if(o=null==o?0:0>o?Math.max(0,e.length+o):o,goog.isString(e))return goog.isString(t)&&1==t.length?e.indexOf(t,o):-1;for(;o<e.length;o++)if(o in e&&e[o]===t)return o;return-1},goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.lastIndexOf.call(e,t,null==o?e.length-1:o)}:function(e,t,o){if(0>(o=null==o?e.length-1:o)&&(o=Math.max(0,e.length+o)),goog.isString(e))return goog.isString(t)&&1==t.length?e.lastIndexOf(t,o):-1;for(;0<=o;o--)if(o in e&&e[o]===t)return o;return-1},goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(e,t,o){goog.asserts.assert(null!=e.length),Array.prototype.forEach.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=goog.isString(e)?e.split(""):e,i=0;i<r;i++)i in n&&t.call(o,n[i],i,e)},goog.array.forEachRight=function(e,t,o){var r=e.length,n=goog.isString(e)?e.split(""):e;for(--r;0<=r;--r)r in n&&t.call(o,n[r],r,e)},goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.filter.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=[],i=0,s=goog.isString(e)?e.split(""):e,a=0;a<r;a++)if(a in s){var g=s[a];t.call(o,g,a,e)&&(n[i++]=g)}return n},goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.map.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=Array(r),i=goog.isString(e)?e.split(""):e,s=0;s<r;s++)s in i&&(n[s]=t.call(o,i[s],s,e));return n},goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(e,t,o,r){return goog.asserts.assert(null!=e.length),r&&(t=goog.bind(t,r)),Array.prototype.reduce.call(e,t,o)}:function(e,t,o,r){var n=o;return goog.array.forEach(e,function(o,i){n=t.call(r,n,o,i,e)}),n},goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(e,t,o,r){return goog.asserts.assert(null!=e.length),goog.asserts.assert(null!=t),r&&(t=goog.bind(t,r)),Array.prototype.reduceRight.call(e,t,o)}:function(e,t,o,r){var n=o;return goog.array.forEachRight(e,function(o,i){n=t.call(r,n,o,i,e)}),n},goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.some.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=goog.isString(e)?e.split(""):e,i=0;i<r;i++)if(i in n&&t.call(o,n[i],i,e))return!0;return!1},goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.every.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=goog.isString(e)?e.split(""):e,i=0;i<r;i++)if(i in n&&!t.call(o,n[i],i,e))return!1;return!0},goog.array.count=function(e,t,o){var r=0;return goog.array.forEach(e,function(e,n,i){t.call(o,e,n,i)&&++r},o),r},goog.array.find=function(e,t,o){return 0>(t=goog.array.findIndex(e,t,o))?null:goog.isString(e)?e.charAt(t):e[t]},goog.array.findIndex=function(e,t,o){for(var r=e.length,n=goog.isString(e)?e.split(""):e,i=0;i<r;i++)if(i in n&&t.call(o,n[i],i,e))return i;return-1},goog.array.findRight=function(e,t,o){return 0>(t=goog.array.findIndexRight(e,t,o))?null:goog.isString(e)?e.charAt(t):e[t]},goog.array.findIndexRight=function(e,t,o){var r=e.length,n=goog.isString(e)?e.split(""):e;for(--r;0<=r;r--)if(r in n&&t.call(o,n[r],r,e))return r;return-1},goog.array.contains=function(e,t){return 0<=goog.array.indexOf(e,t)},goog.array.isEmpty=function(e){return 0==e.length},goog.array.clear=function(e){if(!goog.isArray(e))for(var t=e.length-1;0<=t;t--)delete e[t];e.length=0},goog.array.insert=function(e,t){goog.array.contains(e,t)||e.push(t)},goog.array.insertAt=function(e,t,o){goog.array.splice(e,o,0,t)},goog.array.insertArrayAt=function(e,t,o){goog.partial(goog.array.splice,e,o,0).apply(null,t)},goog.array.insertBefore=function(e,t,o){var r;2==arguments.length||0>(r=goog.array.indexOf(e,o))?e.push(t):goog.array.insertAt(e,t,r)},goog.array.remove=function(e,t){var o;return(o=0<=(t=goog.array.indexOf(e,t)))&&goog.array.removeAt(e,t),o},goog.array.removeLast=function(e,t){return 0<=(t=goog.array.lastIndexOf(e,t))&&(goog.array.removeAt(e,t),!0)},goog.array.removeAt=function(e,t){return goog.asserts.assert(null!=e.length),1==Array.prototype.splice.call(e,t,1).length},goog.array.removeIf=function(e,t,o){return 0<=(t=goog.array.findIndex(e,t,o))&&(goog.array.removeAt(e,t),!0)},goog.array.removeAllIf=function(e,t,o){var r=0;return goog.array.forEachRight(e,function(n,i){t.call(o,n,i,e)&&goog.array.removeAt(e,i)&&r++}),r},goog.array.concat=function(e){return Array.prototype.concat.apply([],arguments)},goog.array.join=function(e){return Array.prototype.concat.apply([],arguments)},goog.array.toArray=function(e){var t=e.length;if(0<t){for(var o=Array(t),r=0;r<t;r++)o[r]=e[r];return o}return[]},goog.array.clone=goog.array.toArray,goog.array.extend=function(e,t){for(var o=1;o<arguments.length;o++){var r=arguments[o];if(goog.isArrayLike(r)){var n=e.length||0,i=r.length||0;e.length=n+i;for(var s=0;s<i;s++)e[n+s]=r[s]}else e.push(r)}},goog.array.splice=function(e,t,o,r){return goog.asserts.assert(null!=e.length),Array.prototype.splice.apply(e,goog.array.slice(arguments,1))},goog.array.slice=function(e,t,o){return goog.asserts.assert(null!=e.length),2>=arguments.length?Array.prototype.slice.call(e,t):Array.prototype.slice.call(e,t,o)},goog.array.removeDuplicates=function(e,t,o){t=t||e;var r=function(e){return goog.isObject(e)?"o"+goog.getUid(e):(typeof e).charAt(0)+e};o=o||r,r={};for(var n=0,i=0;i<e.length;){var s=e[i++],a=o(s);Object.prototype.hasOwnProperty.call(r,a)||(r[a]=!0,t[n++]=s)}t.length=n},goog.array.binarySearch=function(e,t,o){return goog.array.binarySearch_(e,o||goog.array.defaultCompare,!1,t)},goog.array.binarySelect=function(e,t,o){return goog.array.binarySearch_(e,t,!0,void 0,o)},goog.array.binarySearch_=function(e,t,o,r,n){for(var i,s=0,a=e.length;s<a;){var g=s+a>>1,p=o?t.call(n,e[g],g,e):t(r,e[g]);0<p?s=g+1:(a=g,i=!p)}return i?s:~s},goog.array.sort=function(e,t){e.sort(t||goog.array.defaultCompare)},goog.array.stableSort=function(e,t){for(var o=Array(e.length),r=0;r<e.length;r++)o[r]={index:r,value:e[r]};var n=t||goog.array.defaultCompare;for(goog.array.sort(o,function(e,t){return n(e.value,t.value)||e.index-t.index}),r=0;r<e.length;r++)e[r]=o[r].value},goog.array.sortByKey=function(e,t,o){var r=o||goog.array.defaultCompare;goog.array.sort(e,function(e,o){return r(t(e),t(o))})},goog.array.sortObjectsByKey=function(e,t,o){goog.array.sortByKey(e,function(e){return e[t]},o)},goog.array.isSorted=function(e,t,o){t=t||goog.array.defaultCompare;for(var r=1;r<e.length;r++){var n=t(e[r-1],e[r]);if(0<n||0==n&&o)return!1}return!0},goog.array.equals=function(e,t,o){if(!goog.isArrayLike(e)||!goog.isArrayLike(t)||e.length!=t.length)return!1;var r=e.length;o=o||goog.array.defaultCompareEquality;for(var n=0;n<r;n++)if(!o(e[n],t[n]))return!1;return!0},goog.array.compare3=function(e,t,o){o=o||goog.array.defaultCompare;for(var r=Math.min(e.length,t.length),n=0;n<r;n++){var i=o(e[n],t[n]);if(0!=i)return i}return goog.array.defaultCompare(e.length,t.length)},goog.array.defaultCompare=function(e,t){return e>t?1:e<t?-1:0},goog.array.inverseDefaultCompare=function(e,t){return-goog.array.defaultCompare(e,t)},goog.array.defaultCompareEquality=function(e,t){return e===t},goog.array.binaryInsert=function(e,t,o){return 0>(o=goog.array.binarySearch(e,t,o))&&(goog.array.insertAt(e,t,-(o+1)),!0)},goog.array.binaryRemove=function(e,t,o){return 0<=(t=goog.array.binarySearch(e,t,o))&&goog.array.removeAt(e,t)},goog.array.bucket=function(e,t,o){for(var r={},n=0;n<e.length;n++){var i=e[n],s=t.call(o,i,n,e);goog.isDef(s)&&(r[s]||(r[s]=[])).push(i)}return r},goog.array.toObject=function(e,t,o){var r={};return goog.array.forEach(e,function(n,i){r[t.call(o,n,i,e)]=n}),r},goog.array.range=function(e,t,o){var r=[],n=0,i=e;if(void 0!==t&&(n=e,i=t),0>(o=o||1)*(i-n))return[];if(0<o)for(e=n;e<i;e+=o)r.push(e);else for(e=n;e>i;e+=o)r.push(e);return r},goog.array.repeat=function(e,t){for(var o=[],r=0;r<t;r++)o[r]=e;return o},goog.array.flatten=function(e){for(var t=[],o=0;o<arguments.length;o++){var r=arguments[o];if(goog.isArray(r))for(var n=0;n<r.length;n+=8192){var i=goog.array.slice(r,n,n+8192);i=goog.array.flatten.apply(null,i);for(var s=0;s<i.length;s++)t.push(i[s])}else t.push(r)}return t},goog.array.rotate=function(e,t){return goog.asserts.assert(null!=e.length),e.length&&(0<(t%=e.length)?Array.prototype.unshift.apply(e,e.splice(-t,t)):0>t&&Array.prototype.push.apply(e,e.splice(0,-t))),e},goog.array.moveItem=function(e,t,o){goog.asserts.assert(0<=t&&t<e.length),goog.asserts.assert(0<=o&&o<e.length),t=Array.prototype.splice.call(e,t,1),Array.prototype.splice.call(e,o,0,t[0])},goog.array.zip=function(e){if(!arguments.length)return[];for(var t=[],o=arguments[0].length,r=1;r<arguments.length;r++)arguments[r].length<o&&(o=arguments[r].length);for(r=0;r<o;r++){for(var n=[],i=0;i<arguments.length;i++)n.push(arguments[i][r]);t.push(n)}return t},goog.array.shuffle=function(e,t){t=t||Math.random;for(var o=e.length-1;0<o;o--){var r=Math.floor(t()*(o+1)),n=e[o];e[o]=e[r],e[r]=n}},goog.array.copyByIndex=function(e,t){var o=[];return goog.array.forEach(t,function(t){o.push(e[t])}),o},goog.array.concatMap=function(e,t,o){return goog.array.concat.apply([],goog.array.map(e,t,o))},goog.crypt={},goog.crypt.stringToByteArray=function(e){for(var t=[],o=0,r=0;r<e.length;r++){var n=e.charCodeAt(r);255<n&&(t[o++]=255&n,n>>=8),t[o++]=n}return t},goog.crypt.byteArrayToString=function(e){if(8192>=e.length)return String.fromCharCode.apply(null,e);for(var t="",o=0;o<e.length;o+=8192){var r=goog.array.slice(e,o,o+8192);t+=String.fromCharCode.apply(null,r)}return t},goog.crypt.byteArrayToHex=function(e,t){return goog.array.map(e,function(e){return 1<(e=e.toString(16)).length?e:"0"+e}).join(t||"")},goog.crypt.hexToByteArray=function(e){goog.asserts.assert(0==e.length%2,"Key string length must be multiple of 2");for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substring(o,o+2),16));return t},goog.crypt.stringToUtf8ByteArray=function(e){for(var t=[],o=0,r=0;r<e.length;r++){var n=e.charCodeAt(r);128>n?t[o++]=n:(2048>n?t[o++]=n>>6|192:(55296==(64512&n)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(n=65536+((1023&n)<<10)+(1023&e.charCodeAt(++r)),t[o++]=n>>18|240,t[o++]=n>>12&63|128):t[o++]=n>>12|224,t[o++]=n>>6&63|128),t[o++]=63&n|128)}return t},goog.crypt.utf8ByteArrayToString=function(e){for(var t=[],o=0,r=0;o<e.length;){var n=e[o++];if(128>n)t[r++]=String.fromCharCode(n);else if(191<n&&224>n){var i=e[o++];t[r++]=String.fromCharCode((31&n)<<6|63&i)}else if(239<n&&365>n){i=e[o++];var s=e[o++];n=((7&n)<<18|(63&i)<<12|(63&s)<<6|63&e[o++])-65536,t[r++]=String.fromCharCode(55296+(n>>10)),t[r++]=String.fromCharCode(56320+(1023&n))}else i=e[o++],s=e[o++],t[r++]=String.fromCharCode((15&n)<<12|(63&i)<<6|63&s)}return t.join("")},goog.crypt.xorByteArray=function(e,t){goog.asserts.assert(e.length==t.length,"XOR array lengths must match");for(var o=[],r=0;r<e.length;r++)o.push(e[r]^t[r]);return o},goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(e){if(goog.asserts.ENABLE_ASSERTS){var t=goog.dom.asserts.getWindow_(e);t&&(!e||!(e instanceof t.Location)&&e instanceof t.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(e))}return e},goog.dom.asserts.assertIsElementType_=function(e,t){if(goog.asserts.ENABLE_ASSERTS){var o=goog.dom.asserts.getWindow_(e);o&&void 0!==o[t]&&(e&&(e instanceof o[t]||!(e instanceof o.Location||e instanceof o.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,goog.dom.asserts.debugStringForType_(e)))}return e},goog.dom.asserts.assertIsHTMLAnchorElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(e){if(!goog.isObject(e))return void 0===e?"undefined":null===e?"null":typeof e;try{return e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(e){return"<object could not be stringified>"}},goog.dom.asserts.getWindow_=function(e){try{var t=e&&e.ownerDocument,o=t&&(t.defaultView||t.parentWindow);if((o=o||goog.global).Element&&o.Location)return o}catch(e){}return null},goog.functions={},goog.functions.constant=function(e){return function(){return e}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(e,t){return e},goog.functions.error=function(e){return function(){throw Error(e)}},goog.functions.fail=function(e){return function(){throw e}},goog.functions.lock=function(e,t){return t=t||0,function(){return e.apply(this,Array.prototype.slice.call(arguments,0,t))}},goog.functions.nth=function(e){return function(){return arguments[e]}},goog.functions.partialRight=function(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var t=Array.prototype.slice.call(arguments);return t.push.apply(t,o),e.apply(this,t)}},goog.functions.withReturnValue=function(e,t){return goog.functions.sequence(e,goog.functions.constant(t))},goog.functions.equalTo=function(e,t){return function(o){return t?e==o:e===o}},goog.functions.compose=function(e,t){var o=arguments,r=o.length;return function(){var e;r&&(e=o[r-1].apply(this,arguments));for(var t=r-2;0<=t;t--)e=o[t].call(this,e);return e}},goog.functions.sequence=function(e){var t=arguments,o=t.length;return function(){for(var e,r=0;r<o;r++)e=t[r].apply(this,arguments);return e}},goog.functions.and=function(e){var t=arguments,o=t.length;return function(){for(var e=0;e<o;e++)if(!t[e].apply(this,arguments))return!1;return!0}},goog.functions.or=function(e){var t=arguments,o=t.length;return function(){for(var e=0;e<o;e++)if(t[e].apply(this,arguments))return!0;return!1}},goog.functions.not=function(e){return function(){return!e.apply(this,arguments)}},goog.functions.create=function(e,t){var o=function(){};return o.prototype=e.prototype,o=new o,e.apply(o,Array.prototype.slice.call(arguments,1)),o},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(e){var t,o=!1;return function(){return goog.functions.CACHE_RETURN_VALUE?(o||(t=e(),o=!0),t):e()}},goog.functions.once=function(e){var t=e;return function(){if(t){var e=t;t=null,e()}}},goog.functions.debounce=function(e,t,o){var r=0;return function(n){goog.global.clearTimeout(r);var i=arguments;r=goog.global.setTimeout(function(){e.apply(o,i)},t)}},goog.functions.throttle=function(e,t,o){var r=0,n=!1,i=[],s=function(){r=0,n&&(n=!1,a())},a=function(){r=goog.global.setTimeout(s,t),e.apply(o,i)};return function(e){i=arguments,r?n=!0:a()}},goog.functions.rateLimit=function(e,t,o){var r=0,n=function(){r=0};return function(i){r||(r=goog.global.setTimeout(n,t),e.apply(o,arguments))}},goog.dom.HtmlElement=function(){},goog.dom.TagName=function(e){this.tagName_=e},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(e){return!0===goog.dom.tags.VOID_TAGS_[e]},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(e,t){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=e===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",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.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"},goog.string.Const.unwrap=function(e){return e instanceof goog.string.Const&&e.constructor===goog.string.Const&&e.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?e.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+e+"'"),"type_error:Const")},goog.string.Const.from=function(e){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,e)},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(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeScript.fromConstantAndArgs=function(e,t){for(var o=[],r=1;r<arguments.length;r++)o.push(goog.html.SafeScript.stringify_(arguments[r]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(e)+")("+o.join(", ")+");")},goog.html.SafeScript.fromJson=function(e){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(e))},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(e){return goog.html.SafeScript.unwrapTrustedScript(e).toString()},goog.html.SafeScript.unwrapTrustedScript=function(e){return e instanceof goog.html.SafeScript&&e.constructor===goog.html.SafeScript&&e.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeScript")},goog.html.SafeScript.stringify_=function(e){return JSON.stringify(e).replace(/</g,"\\x3c")},goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(e){return(new goog.html.SafeScript).initSecurityPrivateDoNotAccessOrElse_(e)},goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(e):e,this},goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(e){return goog.fs.url.getUrlObject_().createObjectURL(e)},goog.fs.url.revokeObjectUrl=function(e){goog.fs.url.getUrlObject_().revokeObjectURL(e)},goog.fs.url.getUrlObject_=function(){var e=goog.fs.url.findUrlObject_();if(null!=e)return e;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return goog.isDef(goog.global.URL)&&goog.isDef(goog.global.URL.createObjectURL)?goog.global.URL:goog.isDef(goog.global.webkitURL)&&goog.isDef(goog.global.webkitURL.createObjectURL)?goog.global.webkitURL:goog.isDef(goog.global.createObjectURL)?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("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.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||"-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&"ckb"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||"-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))||7<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))&&("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"==goog.LOCALE.substring(3,7).toLowerCase())||8<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))&&("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.LOCALE.substring(4,8).toLowerCase()),goog.i18n.bidi.Format={LRE:"",RLE:"",PDF:"",LRM:"",RLM:""},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(e,t){return"number"==typeof e?0<e?goog.i18n.bidi.Dir.LTR:0>e?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:null==e?null:e?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-zÀ-ÖØ-öø-ʸ̀-ऀ-Ⰰ-\ud801\ud804-\ud839\ud83c-\udbff豈-︀--",goog.i18n.bidi.rtlChars_="֑-ۯۺ-ࣿ\ud802-\ud803\ud83a-\ud83bיִ-﷿ﹰ-ﻼ",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(e,t){return t?e.replace(goog.i18n.bidi.htmlSkipReg_,""):e},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(e,t){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(e,t){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},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(e){return goog.i18n.bidi.rtlRe_.test(e)},goog.i18n.bidi.isLtrChar=function(e){return goog.i18n.bidi.ltrRe_.test(e)},goog.i18n.bidi.isNeutralChar=function(e){return!goog.i18n.bidi.isLtrChar(e)&&!goog.i18n.bidi.isRtlChar(e)},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(e,t){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(e,t){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(e,t){return e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t),goog.i18n.bidi.isRequiredLtrRe_.test(e)||!goog.i18n.bidi.hasAnyLtr(e)&&!goog.i18n.bidi.hasAnyRtl(e)},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(e,t){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(e,t){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},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(e){return goog.i18n.bidi.rtlLocalesRe_.test(e)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(e,t){return t=(void 0===t?goog.i18n.bidi.hasAnyRtl(e):t)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,e.replace(goog.i18n.bidi.bracketGuardTextRe_,t+"$&"+t)},goog.i18n.bidi.enforceRtlInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=rtl"):"\n<span dir=rtl>"+e+"</span>"},goog.i18n.bidi.enforceRtlInText=function(e){return goog.i18n.bidi.Format.RLE+e+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=ltr"):"\n<span dir=ltr>"+e+"</span>"},goog.i18n.bidi.enforceLtrInText=function(e){return goog.i18n.bidi.Format.LRE+e+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(e){return e.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(e){return e.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1״").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1׳")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(e,t){var o=0,r=0,n=!1;for(e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<e.length;t++){var i=e[t];goog.i18n.bidi.startsWithRtl(i)?(o++,r++):goog.i18n.bidi.isRequiredLtrRe_.test(i)?n=!0:goog.i18n.bidi.hasAnyLtr(i)?r++:goog.i18n.bidi.hasNumeralsRe_.test(i)&&(n=!0)}return 0==r?n?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:o/r>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(e,t){return goog.i18n.bidi.estimateDirection(e,t)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(e,t){e&&(t=goog.i18n.bidi.toDir(t))&&(e.style.textAlign=t==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,e.dir=t==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(e,t){switch(goog.i18n.bidi.estimateDirection(t)){case goog.i18n.bidi.Dir.LTR:e.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:e.dir="rtl";break;default:e.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_="",this.trustedURL_=null,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(e,t){var o=goog.html.TrustedResourceUrl.unwrap(this),r=(o=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(o))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",o[2]||"",e)+goog.html.TrustedResourceUrl.stringifyParams_("#",r,t))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(e){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(e){return e instanceof goog.html.TrustedResourceUrl&&e.constructor===goog.html.TrustedResourceUrl&&e.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.unwrapTrustedURL=function(e){return e.trustedURL_?e.trustedURL_:goog.html.TrustedResourceUrl.unwrap(e)},goog.html.TrustedResourceUrl.format=function(e,t){var o=goog.string.Const.unwrap(e);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(o))throw Error("Invalid TrustedResourceUrl format: "+o);return e=o.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(e,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+o+'", but no valid label mapping found in args: '+JSON.stringify(t));return(e=t[r])instanceof goog.string.Const?goog.string.Const.unwrap(e):encodeURIComponent(String(e))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},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(e,t,o,r){return goog.html.TrustedResourceUrl.format(e,t).cloneWithParams(o,r)},goog.html.TrustedResourceUrl.fromConstant=function(e){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.TrustedResourceUrl.fromConstants=function(e){for(var t="",o=0;o<e.length;o++)t+=goog.string.Const.unwrap(e[o]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(e){var t=new goog.html.TrustedResourceUrl;return t.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(e):e,goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY&&(t.trustedURL_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(e)),t},goog.html.TrustedResourceUrl.stringifyParams_=function(e,t,o){if(null==o)return t;if(goog.isString(o))return o?e+encodeURIComponent(o):"";for(var r in o){var n=o[r];n=goog.isArray(n)?n:[n];for(var i=0;i<n.length;i++){var s=n[i];null!=s&&(t||(t=e),t+=(t.length>e.length?"&":"")+encodeURIComponent(r)+"="+encodeURIComponent(String(s)))}}return t},goog.string.internal={},goog.string.internal.startsWith=function(e,t){return 0==e.lastIndexOf(t,0)},goog.string.internal.endsWith=function(e,t){var o=e.length-t.length;return 0<=o&&e.indexOf(t,o)==o},goog.string.internal.caseInsensitiveStartsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(0,t.length))},goog.string.internal.caseInsensitiveEndsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(e.length-t.length,t.length))},goog.string.internal.caseInsensitiveEquals=function(e,t){return e.toLowerCase()==t.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(e){return/^[\s\xa0]*$/.test(e)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},goog.string.internal.caseInsensitiveCompare=function(e,t){return(e=String(e).toLowerCase())<(t=String(t).toLowerCase())?-1:e==t?0:1},goog.string.internal.newLineToBr=function(e,t){return e.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")},goog.string.internal.htmlEscape=function(e,t){if(t)e=e.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(e))return e;-1!=e.indexOf("&")&&(e=e.replace(goog.string.internal.AMP_RE_,"&")),-1!=e.indexOf("<")&&(e=e.replace(goog.string.internal.LT_RE_,"<")),-1!=e.indexOf(">")&&(e=e.replace(goog.string.internal.GT_RE_,">")),-1!=e.indexOf('"')&&(e=e.replace(goog.string.internal.QUOT_RE_,""")),-1!=e.indexOf("'")&&(e=e.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'")),-1!=e.indexOf("\0")&&(e=e.replace(goog.string.internal.NULL_RE_,"�"))}return e},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(e,t){return goog.string.internal.newLineToBr(e.replace(/ /g,"  "),t)},goog.string.internal.contains=function(e,t){return-1!=e.indexOf(t)},goog.string.internal.caseInsensitiveContains=function(e,t){return goog.string.internal.contains(e.toLowerCase(),t.toLowerCase())},goog.string.internal.compareVersions=function(e,t){var o=0;e=goog.string.internal.trim(String(e)).split("."),t=goog.string.internal.trim(String(t)).split(".");for(var r=Math.max(e.length,t.length),n=0;0==o&&n<r;n++){var i=e[n]||"",s=t[n]||"";do{if(i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==i[0].length&&0==s[0].length)break;o=0==i[1].length?0:parseInt(i[1],10);var a=0==s[1].length?0:parseInt(s[1],10);o=goog.string.internal.compareElements_(o,a)||goog.string.internal.compareElements_(0==i[2].length,0==s[2].length)||goog.string.internal.compareElements_(i[2],s[2]),i=i[3],s=s[3]}while(0==o)}return o},goog.string.internal.compareElements_=function(e,t){return e<t?-1:e>t?1:0},goog.html.SafeUrl=function(){this.privateDoNotAccessOrElseSafeUrlWrappedValue_="",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(e){return goog.html.SafeUrl.unwrapTrustedURL(e).toString()},goog.html.SafeUrl.unwrapTrustedURL=function(e){return e instanceof goog.html.SafeUrl&&e.constructor===goog.html.SafeUrl&&e.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(e){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(e)},goog.html.SafeUrl.fromBlob=function(e){return e=goog.html.SAFE_MIME_TYPE_PATTERN_.test(e.type)?goog.fs.url.createObjectUrl(e):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.DATA_URL_PATTERN_=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.fromDataUrl=function(e){var t=(e=e.replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return t=t&&goog.html.SAFE_MIME_TYPE_PATTERN_.test(t[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t?e:goog.html.SafeUrl.INNOCUOUS_STRING)},goog.html.SafeUrl.fromTelUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"tel:")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(e){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(e))||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"fb-messenger://share")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromWhatsAppUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"whatsapp://send")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromSmsUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(e){var t=e.indexOf("#");if(0<t&&(e=e.substring(0,t)),!(t=e.match(/[?&]body=/gi)))return!0;if(1<t.length)return!1;if(!(e=e.match(/[?&]body=([^&]*)/)[1]))return!0;try{decodeURIComponent(e)}catch(e){return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(e)},goog.html.SafeUrl.fromSshUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"ssh://")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(e,t,o){return(e=e.exec(t))?(e=e[1],-1==(o instanceof goog.string.Const?[goog.string.Const.unwrap(o)]:o.map(function(e){return goog.string.Const.unwrap(e)})).indexOf(e)&&(t=goog.html.SafeUrl.INNOCUOUS_STRING)):t=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromTrustedResourceUrl=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(e))},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(e){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SAFE_URL_PATTERN_.test(e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e))},goog.html.SafeUrl.sanitizeAssertUnchanged=function(e,t){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),t&&/^data:/i.test(e)&&(t=goog.html.SafeUrl.fromDataUrl(e)).getTypedStringValue()==e?t:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(e),"%s does not match the safe URL pattern",e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)))},goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(e){var t=new goog.html.SafeUrl;return t.privateDoNotAccessOrElseSafeUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(e):e,t},goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),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(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(e,";"),"Last character of style string is not ';': "+e),goog.asserts.assert(goog.string.internal.contains(e,":"),"Style string must contain at least one ':', to specify a \"name: value\" pair: "+e),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e))},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(e){return e instanceof goog.html.SafeStyle&&e.constructor===goog.html.SafeStyle&&e.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyle")},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(e){return(new goog.html.SafeStyle).initSecurityPrivateDoNotAccessOrElse_(e)},goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=e,this},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(e){var t,o="";for(t in e){if(!/^[-_a-zA-Z0-9]+$/.test(t))throw Error("Name allows only [-_a-zA-Z0-9], got: "+t);var r=e[t];null!=r&&(o+=t+":"+(r=goog.isArray(r)?goog.array.map(r,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(r))+";")}return o?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(e){if(e instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(e).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(e=e instanceof goog.string.Const?goog.string.Const.unwrap(e):goog.html.SafeStyle.sanitizePropertyValueString_(String(e)),/[{;}]/.test(e))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[e]);return e},goog.html.SafeStyle.sanitizePropertyValueString_=function(e){var t=e.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(t)?goog.html.SafeStyle.COMMENT_RE_.test(e)?(goog.asserts.fail("String value disallows comments, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(e)?goog.html.SafeStyle.hasBalancedSquareBrackets_(e)?goog.html.SafeStyle.sanitizeUrl_(e):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(e){for(var t=!0,o=!0,r=0;r<e.length;r++){var n=e.charAt(r);"'"==n&&o?t=!t:'"'==n&&t&&(o=!o)}return t&&o},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(e){for(var t=!0,o=/^[-_a-zA-Z0-9]$/,r=0;r<e.length;r++){var n=e.charAt(r);if("]"==n){if(t)return!1;t=!0}else if("["==n){if(!t)return!1;t=!1}else if(!t&&!o.test(n))return!1}return t},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.FUNCTIONS_RE_=/\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(e){return e.replace(goog.html.SafeStyle.URL_RE_,function(e,t,o,r){var n="";return o=o.replace(/^(['"])(.*)\1$/,function(e,t,o){return n=t,o}),e=goog.html.SafeUrl.sanitize(o).getTypedStringValue(),t+n+e+n+r})},goog.html.SafeStyle.concat=function(e){var t="",o=function(e){goog.isArray(e)?goog.array.forEach(e,o):t+=goog.html.SafeStyle.unwrap(e)};return goog.array.forEach(arguments,o),t?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t):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(e,t){if(goog.string.internal.contains(e,"<"))throw Error("Selector does not allow '<', got: "+e);var o=e.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(o))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+e);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(o))throw Error("() and [] in selector must be balanced, got: "+e);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),e=e+"{"+goog.html.SafeStyle.unwrap(t).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeStyleSheet.hasBalancedBrackets_=function(e){for(var t={"(":")","[":"]"},o=[],r=0;r<e.length;r++){var n=e[r];if(t[n])o.push(t[n]);else if(goog.object.contains(t,n)&&o.pop()!=n)return!1}return 0==o.length},goog.html.SafeStyleSheet.concat=function(e){var t="",o=function(e){goog.isArray(e)?goog.array.forEach(e,o):t+=goog.html.SafeStyleSheet.unwrap(e)};return goog.array.forEach(arguments,o),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeStyleSheet.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(e,"<"),"Forbidden '<' character in style sheet string: "+e),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e))},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(e){return e instanceof goog.html.SafeStyleSheet&&e.constructor===goog.html.SafeStyleSheet&&e.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyleSheet")},goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(e){return(new goog.html.SafeStyleSheet).initSecurityPrivateDoNotAccessOrElse_(e)},goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=e,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 e=goog.labs.userAgent.util.getNavigator_();return e&&(e=e.userAgent)?e:""},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(e){goog.labs.userAgent.util.userAgent_=e||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(t,e)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(t,e)},goog.labs.userAgent.util.extractVersionTuples=function(e){for(var t,o=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[];t=o.exec(e);)r.push([t[1],t[2],t[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 e(e){return e=goog.array.find(e,r),o[e]||""}var t=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(t);t=goog.labs.userAgent.util.extractVersionTuples(t);var o={};goog.array.forEach(t,function(e){o[e[0]]=e[1]});var r=goog.partial(goog.object.containsKey,o);return goog.labs.userAgent.browser.isOpera()?e(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?e(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?e(["Edg"]):goog.labs.userAgent.browser.isChrome()?e(["Chrome","CriOS"]):(t=t[2])&&t[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(e){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),e)},goog.labs.userAgent.browser.getIEVersion_=function(e){var t=/rv: *([\d\.]*)/.exec(e);if(t&&t[1])return t[1];t="";var o=/MSIE +([\d\.]+)/.exec(e);if(o&&o[1])if(e=/Trident\/(\d.\d)/.exec(e),"7.0"==o[1])if(e&&e[1])switch(e[1]){case"4.0":t="8.0";break;case"5.0":t="9.0";break;case"6.0":t="10.0";break;case"7.0":t="11.0"}else t="7.0";else t=o[1];return t},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.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(e){return goog.html.SafeHtml.unwrapTrustedHTML(e).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(e){return e instanceof goog.html.SafeHtml&&e.constructor===goog.html.SafeHtml&&e.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(e){if(e instanceof goog.html.SafeHtml)return e;var t="object"==typeof e,o=null;return t&&e.implementsGoogI18nBidiDirectionalString&&(o=e.getDirection()),e=t&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(e),o)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,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(e,t,o){return goog.html.SafeHtml.verifyTagName(String(e)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(e),t,o)},goog.html.SafeHtml.verifyTagName=function(e){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(e))throw Error("Invalid tag name <"+e+">.");if(e.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error("Tag name <"+e+"> is not allowed for SafeHtml.")},goog.html.SafeHtml.createIframe=function(e,t,o,r){e&&goog.html.TrustedResourceUrl.unwrap(e);var n={};return n.src=e||null,n.srcdoc=t&&goog.html.SafeHtml.unwrap(t),e=goog.html.SafeHtml.combineAttributes(n,{sandbox:""},o),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,r)},goog.html.SafeHtml.createSandboxIframe=function(e,t,o,r){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error("The browser does not support sandboxed iframes.");var n={};return n.src=e?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)):null,n.srcdoc=t||null,n.sandbox="",e=goog.html.SafeHtml.combineAttributes(n,{},o),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,r)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(e,t){return goog.html.TrustedResourceUrl.unwrap(e),e=goog.html.SafeHtml.combineAttributes({src:e},{},t),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",e)},goog.html.SafeHtml.createScript=function(e,t){for(var o in t){var r=o.toLowerCase();if("language"==r||"src"==r||"text"==r||"type"==r)throw Error('Cannot set "'+r+'" attribute')}for(o="",e=goog.array.concat(e),r=0;r<e.length;r++)o+=goog.html.SafeScript.unwrap(e[r]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t,e)},goog.html.SafeHtml.createStyle=function(e,t){t=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},t);var o="";e=goog.array.concat(e);for(var r=0;r<e.length;r++)o+=goog.html.SafeStyleSheet.unwrap(e[r]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",t,e)},goog.html.SafeHtml.createMetaRefresh=function(e,t){return e=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(t||0)+"; url="+e})},goog.html.SafeHtml.getAttrNameAndValue_=function(e,t,o){if(o instanceof goog.string.Const)o=goog.string.Const.unwrap(o);else if("style"==t.toLowerCase())o=goog.html.SafeHtml.getStyleValue_(o);else{if(/^on/i.test(t))throw Error('Attribute "'+t+'" requires goog.string.Const value, "'+o+'" given.');if(t.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(o instanceof goog.html.TrustedResourceUrl)o=goog.html.TrustedResourceUrl.unwrap(o);else if(o instanceof goog.html.SafeUrl)o=goog.html.SafeUrl.unwrap(o);else{if(!goog.isString(o))throw Error('Attribute "'+t+'" on tag "'+e+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+o+'" given.');o=goog.html.SafeUrl.sanitize(o).getTypedStringValue()}}return o.implementsGoogStringTypedString&&(o=o.getTypedStringValue()),goog.asserts.assert(goog.isString(o)||goog.isNumber(o),"String or number value expected, got "+typeof o+" with value: "+o),t+'="'+goog.string.internal.htmlEscape(String(o))+'"'},goog.html.SafeHtml.getStyleValue_=function(e){if(!goog.isObject(e))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof e+" given: "+e);return e instanceof goog.html.SafeStyle||(e=goog.html.SafeStyle.create(e)),goog.html.SafeStyle.unwrap(e)},goog.html.SafeHtml.createWithDir=function(e,t,o,r){return(t=goog.html.SafeHtml.create(t,o,r)).dir_=e,t},goog.html.SafeHtml.join=function(e,t){var o=(e=goog.html.SafeHtml.htmlEscape(e)).getDirection(),r=[],n=function(e){goog.isArray(e)?goog.array.forEach(e,n):(e=goog.html.SafeHtml.htmlEscape(e),r.push(goog.html.SafeHtml.unwrap(e)),e=e.getDirection(),o==goog.i18n.bidi.Dir.NEUTRAL?o=e:e!=goog.i18n.bidi.Dir.NEUTRAL&&o!=e&&(o=null))};return goog.array.forEach(t,n),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r.join(goog.html.SafeHtml.unwrap(e)),o)},goog.html.SafeHtml.concat=function(e){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(e,t){var o=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return o.dir_=e,o},goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(e,t){return(new goog.html.SafeHtml).initSecurityPrivateDoNotAccessOrElse_(e,t)},goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e,t){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(e):e,this.dir_=t,this},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(e,t,o){var r=null,n="<"+e+goog.html.SafeHtml.stringifyAttributes(e,t);return goog.isDefAndNotNull(o)?goog.isArray(o)||(o=[o]):o=[],goog.dom.tags.isVoidTag(e.toLowerCase())?(goog.asserts.assert(!o.length,"Void tag <"+e+"> does not allow content."),n+=">"):(r=goog.html.SafeHtml.concat(o),n+=">"+goog.html.SafeHtml.unwrap(r)+"</"+e+">",r=r.getDirection()),(e=t&&t.dir)&&(r=/^(ltr|rtl|auto)$/i.test(e)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,r)},goog.html.SafeHtml.stringifyAttributes=function(e,t){var o="";if(t)for(var r in t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(r))throw Error('Invalid attribute name "'+r+'".');var n=t[r];goog.isDefAndNotNull(n)&&(o+=" "+goog.html.SafeHtml.getAttrNameAndValue_(e,r,n))}return o},goog.html.SafeHtml.combineAttributes=function(e,t,o){var r,n={};for(r in e)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),n[r]=e[r];for(r in t)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),n[r]=t[r];for(r in o){var i=r.toLowerCase();if(i in e)throw Error('Cannot override "'+i+'" attribute, got "'+r+'" with value "'+o[r]+'"');i in t&&delete n[i],n[r]=o[r]}return n},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(e,t,o){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,o||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(e,t,o){e.insertAdjacentHTML(t,goog.html.SafeHtml.unwrapTrustedHTML(o))},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&&"undefined"==typeof document)return!1;var e=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),e.appendChild(t),!(goog.DEBUG&&!e.firstChild||(t=e.firstChild.firstChild,e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),t.parentElement))}),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(e,t){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;e.lastChild;)e.removeChild(e.lastChild);e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setInnerHtml=function(e,t){if(goog.asserts.ENABLE_ASSERTS){var o=e.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[o])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+e.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(e,t)},goog.dom.safe.setOuterHtml=function(e,t){e.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setFormElementAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLFormElement(e).action=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setButtonFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLButtonElement(e).formAction=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setInputFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLInputElement(e).formAction=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setStyle=function(e,t){e.style.cssText=goog.html.SafeStyle.unwrap(t)},goog.dom.safe.documentWrite=function(e,t){e.write(goog.html.SafeHtml.unwrapTrustedHTML(t))},goog.dom.safe.setAnchorHref=function(e,t){goog.dom.asserts.assertIsHTMLAnchorElement(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setImageSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLImageElement(e),!(t instanceof goog.html.SafeUrl)){var o=/^data:image\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,o)}e.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setAudioSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLAudioElement(e),!(t instanceof goog.html.SafeUrl)){var o=/^data:audio\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,o)}e.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setVideoSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLVideoElement(e),!(t instanceof goog.html.SafeUrl)){var o=/^data:video\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,o)}e.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setEmbedSrc=function(e,t){goog.dom.asserts.assertIsHTMLEmbedElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setFrameSrc=function(e,t){goog.dom.asserts.assertIsHTMLFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)},goog.dom.safe.setIframeSrc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)},goog.dom.safe.setIframeSrcdoc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setLinkHrefAndRel=function(e,t,o){goog.dom.asserts.assertIsHTMLLinkElement(e),e.rel=o,goog.string.internal.caseInsensitiveContains(o,"stylesheet")?(goog.asserts.assert(t instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),e.href=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)):e.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrapTrustedURL(t):t instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrapTrustedURL(t):goog.html.SafeUrl.unwrapTrustedURL(goog.html.SafeUrl.sanitizeAssertUnchanged(t))},goog.dom.safe.setObjectData=function(e,t){goog.dom.asserts.assertIsHTMLObjectElement(e),e.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setScriptSrc=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t),(t=goog.getScriptNonce())&&e.setAttribute("nonce",t)},goog.dom.safe.setScriptContent=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.text=goog.html.SafeScript.unwrapTrustedScript(t),(t=goog.getScriptNonce())&&e.setAttribute("nonce",t)},goog.dom.safe.setLocationHref=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.assignLocation=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.assign(goog.html.SafeUrl.unwrapTrustedURL(t))},goog.dom.safe.replaceLocation=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.replace(goog.html.SafeUrl.unwrapTrustedURL(t))},goog.dom.safe.openInWindow=function(e,t,o,r,n){return e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),(t||goog.global).open(goog.html.SafeUrl.unwrapTrustedURL(e),o?goog.string.Const.unwrap(o):"",r,n)},goog.dom.safe.parseFromStringHtml=function(e,t){return goog.dom.safe.parseFromString(e,t,"text/html")},goog.dom.safe.parseFromString=function(e,t,o){return e.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(t),o)},goog.dom.safe.createImageFromBlob=function(e){if(!/^image\/.*/g.test(e.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var t=goog.global.URL.createObjectURL(e);return(e=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(t)},goog.dom.safe.setImageSrc(e,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),t)),e},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:" "},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(e,t){for(var o=e.split("%s"),r="",n=Array.prototype.slice.call(arguments,1);n.length&&1<o.length;)r+=o.shift()+n.shift();return r+o.join("%s")},goog.string.collapseWhitespace=function(e){return e.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(e){return 0==e.length},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(e){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(e))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(e){return!/[^\t\n\r ]/.test(e)},goog.string.isAlpha=function(e){return!/[^a-zA-Z]/.test(e)},goog.string.isNumeric=function(e){return!/[^0-9]/.test(e)},goog.string.isAlphaNumeric=function(e){return!/[^a-zA-Z0-9]/.test(e)},goog.string.isSpace=function(e){return" "==e},goog.string.isUnicodeChar=function(e){return 1==e.length&&" "<=e&&"~">=e||""<=e&&"�">=e},goog.string.stripNewlines=function(e){return e.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(e){return e.replace(/(\r\n|\r|\n)/g,"\n")},goog.string.normalizeWhitespace=function(e){return e.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(e){return e.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(e){return e.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(e){return e.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(e){return e.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(e,t,o){if(e==t)return 0;if(!e)return-1;if(!t)return 1;for(var r=e.toLowerCase().match(o),n=t.toLowerCase().match(o),i=Math.min(r.length,n.length),s=0;s<i;s++){o=r[s];var a=n[s];if(o!=a)return e=parseInt(o,10),!isNaN(e)&&(t=parseInt(a,10),!isNaN(t)&&e-t)?e-t:o<a?-1:1}return r.length!=n.length?r.length-n.length:e<t?-1:1},goog.string.intAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\D+/g)},goog.string.floatAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(e){return encodeURIComponent(String(e))},goog.string.urlDecode=function(e){return decodeURIComponent(e.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(e,t){return e=goog.string.internal.htmlEscape(e,t),goog.string.DETECT_DOUBLE_ESCAPING&&(e=e.replace(goog.string.E_RE_,"e")),e},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(e){return goog.string.contains(e,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(e):goog.string.unescapePureXmlEntities_(e):e},goog.string.unescapeEntitiesWithDocument=function(e,t){return goog.string.contains(e,"&")?goog.string.unescapeEntitiesUsingDom_(e,t):e},goog.string.unescapeEntitiesUsingDom_=function(e,t){var o={"&":"&","<":"<",">":">",""":'"'},r=t?t.createElement("div"):goog.global.document.createElement("div");return e.replace(goog.string.HTML_ENTITY_PATTERN_,function(e,t){var n=o[e];return n||("#"==t.charAt(0)&&(t=Number("0"+t.substr(1)),isNaN(t)||(n=String.fromCharCode(t))),n||(goog.dom.safe.setInnerHtml(r,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),e+" ")),n=r.firstChild.nodeValue.slice(0,-1)),o[e]=n)})},goog.string.unescapePureXmlEntities_=function(e){return e.replace(/&([^;]+);/g,function(e,t){switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return"#"!=t.charAt(0)||(t=Number("0"+t.substr(1)),isNaN(t))?e:String.fromCharCode(t)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(e,t){return goog.string.newLineToBr(e.replace(/ /g,"  "),t)},goog.string.preserveSpaces=function(e){return e.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(e,t){for(var o=t.length,r=0;r<o;r++){var n=1==o?t:t.charAt(r);if(e.charAt(0)==n&&e.charAt(e.length-1)==n)return e.substring(1,e.length-1)}return e},goog.string.truncate=function(e,t,o){return o&&(e=goog.string.unescapeEntities(e)),e.length>t&&(e=e.substring(0,t-3)+"..."),o&&(e=goog.string.htmlEscape(e)),e},goog.string.truncateMiddle=function(e,t,o,r){if(o&&(e=goog.string.unescapeEntities(e)),r&&e.length>t){r>t&&(r=t);var n=e.length-r;e=e.substring(0,t-r)+"..."+e.substring(n)}else e.length>t&&(r=Math.floor(t/2),n=e.length-r,e=e.substring(0,r+t%2)+"..."+e.substring(n));return o&&(e=goog.string.htmlEscape(e)),e},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(e){e=String(e);for(var t=['"'],o=0;o<e.length;o++){var r=e.charAt(o),n=r.charCodeAt(0);t[o+1]=goog.string.specialEscapeChars_[r]||(31<n&&127>n?r:goog.string.escapeChar(r))}return t.push('"'),t.join("")},goog.string.escapeString=function(e){for(var t=[],o=0;o<e.length;o++)t[o]=goog.string.escapeChar(e.charAt(o));return t.join("")},goog.string.escapeChar=function(e){if(e in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[e];if(e in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[e]=goog.string.specialEscapeChars_[e];var t=e.charCodeAt(0);if(31<t&&127>t)var o=e;else 256>t?(o="\\x",(16>t||256<t)&&(o+="0")):(o="\\u",4096>t&&(o+="0")),o+=t.toString(16).toUpperCase();return goog.string.jsEscapeCache_[e]=o},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(e,t){return e&&t?e.split(t).length-1:0},goog.string.removeAt=function(e,t,o){var r=e;return 0<=t&&t<e.length&&0<o&&(r=e.substr(0,t)+e.substr(t+o,e.length-t-o)),r},goog.string.remove=function(e,t){return e.replace(t,"")},goog.string.removeAll=function(e,t){return t=new RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,"")},goog.string.replaceAll=function(e,t,o){return t=new RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,o.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(e){return String(e).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(e,t){return e.repeat(t)}:function(e,t){return Array(t+1).join(e)},goog.string.padNumber=function(e,t,o){return-1==(o=(e=goog.isDef(o)?e.toFixed(o):String(e)).indexOf("."))&&(o=e.length),goog.string.repeat("0",Math.max(0,t-o))+e},goog.string.makeSafe=function(e){return null==e?"":String(e)},goog.string.buildString=function(e){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(e){for(var t=0,o=0;o<e.length;++o)t=31*t+e.charCodeAt(o)>>>0;return t},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(e){var t=Number(e);return 0==t&&goog.string.isEmptyOrWhitespace(e)?NaN:t},goog.string.isLowerCamelCase=function(e){return/^[a-z]+([A-Z][a-z]*)*$/.test(e)},goog.string.isUpperCamelCase=function(e){return/^([A-Z][a-z]*)+$/.test(e)},goog.string.toCamelCase=function(e){return String(e).replace(/\-([a-z])/g,function(e,t){return t.toUpperCase()})},goog.string.toSelectorCase=function(e){return String(e).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(e,t){return t=goog.isString(t)?goog.string.regExpEscape(t):"\\s",e.replace(new RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),function(e,t,o){return t+o.toUpperCase()})},goog.string.capitalize=function(e){return String(e.charAt(0)).toUpperCase()+String(e.substr(1)).toLowerCase()},goog.string.parseInt=function(e){return isFinite(e)&&(e=String(e)),goog.isString(e)?/^\s*-?0x/i.test(e)?parseInt(e,16):parseInt(e,10):NaN},goog.string.splitLimit=function(e,t,o){e=e.split(t);for(var r=[];0<o&&e.length;)r.push(e.shift()),o--;return e.length&&r.push(e.join(t)),r},goog.string.lastComponent=function(e,t){if(!t)return e;"string"==typeof t&&(t=[t]);for(var o=-1,r=0;r<t.length;r++)if(""!=t[r]){var n=e.lastIndexOf(t[r]);n>o&&(o=n)}return-1==o?e:e.slice(o+1)},goog.string.editDistance=function(e,t){var o=[],r=[];if(e==t)return 0;if(!e.length||!t.length)return Math.max(e.length,t.length);for(var n=0;n<t.length+1;n++)o[n]=n;for(n=0;n<e.length;n++){r[0]=n+1;for(var i=0;i<t.length;i++)r[i+1]=Math.min(r[i]+1,o[i+1]+1,o[i]+Number(e[n]!=t[i]));for(i=0;i<o.length;i++)o[i]=r[i]}return r[t.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 e=goog.labs.userAgent.util.getUserAgent();if(e){e=goog.labs.userAgent.util.extractVersionTuples(e);var t,o=goog.labs.userAgent.engine.getEngineTuple_(e);if(o)return"Gecko"==o[0]?goog.labs.userAgent.engine.getVersionForKey_(e,"Firefox"):o[1];if((e=e[0])&&(t=e[2])&&(t=/Trident\/([^\s;]+)/.exec(t)))return t[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(e){if(!goog.labs.userAgent.engine.isEdge())return e[1];for(var t=0;t<e.length;t++){var o=e[t];if("Edge"==o[0])return o}},goog.labs.userAgent.engine.isVersionOrHigher=function(e){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),e)},goog.labs.userAgent.engine.getVersionForKey_=function(e,t){return(e=goog.array.find(e,function(e){return t==e[0]}))&&e[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.isGo2Phone=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("GAFP")},goog.labs.userAgent.platform.getVersion=function(){var e=goog.labs.userAgent.util.getUserAgent(),t="";return goog.labs.userAgent.platform.isWindows()?t=(e=(t=/Windows (?:NT|Phone) ([0-9.]+)/).exec(e))?e[1]:"0.0":goog.labs.userAgent.platform.isIos()?t=(e=(t=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/).exec(e))&&e[1].replace(/_/g,"."):goog.labs.userAgent.platform.isMacintosh()?t=(e=(t=/Mac OS X ([0-9_.]+)/).exec(e))?e[1].replace(/_/g,"."):"10":goog.labs.userAgent.platform.isKaiOS()?t=(e=(t=/(?:KaiOS)\/(\S+)/i).exec(e))&&e[1]:goog.labs.userAgent.platform.isAndroid()?t=(e=(t=/Android\s+([^\);]+)(\)|;)/).exec(e))&&e[1]:goog.labs.userAgent.platform.isChromeOS()&&(t=(e=(t=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/).exec(e))&&e[1]),t||""},goog.labs.userAgent.platform.isVersionOrHigher=function(e){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),e)},goog.reflect={},goog.reflect.object=function(e,t){return t},goog.reflect.objectProperty=function(e,t){return e},goog.reflect.sinkValue=function(e){return goog.reflect.sinkValue[" "](e),e},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(e,t){try{return goog.reflect.sinkValue(e[t]),!0}catch(e){}return!1},goog.reflect.cache=function(e,t,o,r){return r=r?r(t):t,Object.prototype.hasOwnProperty.call(e,r)?e[r]:e[r]=o(t)},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 e=goog.userAgent.getNavigatorTyped();return e&&e.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.ASSUME_GO2PHONE=!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 e=goog.userAgent.getNavigatorTyped();return!!e&&goog.string.contains(e.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.GO2PHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_GO2PHONE:goog.labs.userAgent.platform.isGo2Phone(),goog.userAgent.determineVersion_=function(){var e="",t=goog.userAgent.getVersionRegexResult_();return t&&(e=t?t[1]:""),goog.userAgent.IE&&null!=(t=goog.userAgent.getDocumentMode_())&&t>parseFloat(e)?String(t):e},goog.userAgent.getVersionRegexResult_=function(){var e=goog.userAgent.getUserAgentString();return goog.userAgent.GECKO?/rv:([^\);]+)(\)|;)/.exec(e):goog.userAgent.EDGE?/Edge\/([\d\.]+)/.exec(e):goog.userAgent.IE?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e):goog.userAgent.WEBKIT?/WebKit\/(\S+)/.exec(e):goog.userAgent.OPERA?/(?:Version)[ \/]?(\S+)/.exec(e):void 0},goog.userAgent.getDocumentMode_=function(){var e=goog.global.document;return e?e.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(e,t){return goog.string.compareVersions(e,t)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(e){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,e,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,e)})},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(e){return Number(goog.userAgent.DOCUMENT_MODE)>=e},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE)return goog.userAgent.getDocumentMode_()}(),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(e){return goog.string.contains(goog.crypt.base64.paddingChars_,e)},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_||"function"==typeof goog.global.btoa,goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&"function"==typeof goog.global.atob,goog.crypt.base64.encodeByteArray=function(e,t){goog.asserts.assert(goog.isArrayLike(e),"encodeByteArray takes an array as a parameter"),void 0===t&&(t=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),t=goog.crypt.base64.byteToCharMaps_[t];for(var o=[],r=0;r<e.length;r+=3){var n=e[r],i=r+1<e.length,s=i?e[r+1]:0,a=r+2<e.length,g=a?e[r+2]:0,p=n>>2;n=(3&n)<<4|s>>4,s=(15&s)<<2|g>>6,g&=63,a||(g=64,i||(s=64)),o.push(t[p],t[n],t[s]||"",t[g]||"")}return o.join("")},goog.crypt.base64.encodeString=function(e,t){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!t?goog.global.btoa(e):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(e),t)},goog.crypt.base64.decodeString=function(e,t){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!t)return goog.global.atob(e);var o="";return goog.crypt.base64.decodeStringInternal_(e,function(e){o+=String.fromCharCode(e)}),o},goog.crypt.base64.decodeStringToByteArray=function(e,t){var o=[];return goog.crypt.base64.decodeStringInternal_(e,function(e){o.push(e)}),o},goog.crypt.base64.decodeStringToUint8Array=function(e){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var t=e.length,o=3*t/4;o%3?o=Math.floor(o):goog.crypt.base64.isPadding_(e[t-1])&&(o=goog.crypt.base64.isPadding_(e[t-2])?o-2:o-1);var r=new Uint8Array(o),n=0;return goog.crypt.base64.decodeStringInternal_(e,function(e){r[n++]=e}),r.subarray(0,n)},goog.crypt.base64.decodeStringInternal_=function(e,t){function o(t){for(;r<e.length;){var o=e.charAt(r++),n=goog.crypt.base64.charToByteMap_[o];if(null!=n)return n;if(!goog.string.isEmptyOrWhitespace(o))throw Error("Unknown base64 encoding at char: "+o)}return t}goog.crypt.base64.init_();for(var r=0;;){var n=o(-1),i=o(0),s=o(64),a=o(64);if(64===a&&-1===n)break;t(n<<2|i>>4),64!=s&&(t(i<<4&240|s>>2),64!=a&&t(s<<6&192|a))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var e=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),t=["+/=","+/","-_=","-_.","-_"],o=0;5>o;o++){var r=e.concat(t[o].split(""));goog.crypt.base64.byteToCharMaps_[o]=r;for(var n=0;n<r.length;n++){var i=r[n],s=goog.crypt.base64.charToByteMap_[i];void 0===s?goog.crypt.base64.charToByteMap_[i]=n:goog.asserts.assert(s===n)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(e){var t=e>>>0;e=Math.floor((e-t)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=t,jspb.utils.split64High=e},jspb.utils.splitInt64=function(e){var t=0>e,o=(e=Math.abs(e))>>>0;e=Math.floor((e-o)/jspb.BinaryConstants.TWO_TO_32),e>>>=0,t&&(e=~e>>>0,4294967295<(o=(~o>>>0)+1)&&(o=0,4294967295<++e&&(e=0))),jspb.utils.split64Low=o,jspb.utils.split64High=e},jspb.utils.splitZigzag64=function(e){var t=0>e;e=2*Math.abs(e),jspb.utils.splitUint64(e),e=jspb.utils.split64Low;var o=jspb.utils.split64High;t&&(0==e?0==o?o=e=4294967295:(o--,e=4294967295):e--),jspb.utils.split64Low=e,jspb.utils.split64High=o},jspb.utils.splitFloat32=function(e){var t=0>e?1:0;if(0===(e=t?-e:e))0<1/e?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(e))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(e>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|2139095040)>>>0;else if(e<jspb.BinaryConstants.FLOAT32_MIN)e=Math.round(e/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|e)>>>0;else{var o=Math.floor(Math.log(e)/Math.LN2);e*=Math.pow(2,-o),16777216<=(e=Math.round(e*jspb.BinaryConstants.TWO_TO_23))&&++o,jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|o+127<<23|8388607&e)>>>0}},jspb.utils.splitFloat64=function(e){var t=0>e?1:0;if(0===(e=t?-e:e))jspb.utils.split64High=0<1/e?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(e))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(e>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(t<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(e<jspb.BinaryConstants.FLOAT64_MIN){var o=e/Math.pow(2,-1074);e=o/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(t<<31|e)>>>0,jspb.utils.split64Low=o>>>0}else{var r=0;if(2<=(o=e))for(;2<=o&&1023>r;)r++,o/=2;else for(;1>o&&-1022<r;)o*=2,r--;e=(o=e*Math.pow(2,-r))*jspb.BinaryConstants.TWO_TO_20&1048575,o=o*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(t<<31|r+1023<<20|e)>>>0,jspb.utils.split64Low=o}},jspb.utils.splitHash64=function(e){var t=e.charCodeAt(0),o=e.charCodeAt(1),r=e.charCodeAt(2),n=e.charCodeAt(3),i=e.charCodeAt(4),s=e.charCodeAt(5),a=e.charCodeAt(6);e=e.charCodeAt(7),jspb.utils.split64Low=t+(o<<8)+(r<<16)+(n<<24)>>>0,jspb.utils.split64High=i+(s<<8)+(a<<16)+(e<<24)>>>0},jspb.utils.joinUint64=function(e,t){return t*jspb.BinaryConstants.TWO_TO_32+(e>>>0)},jspb.utils.joinInt64=function(e,t){var o=2147483648&t;return o&&(t=~t>>>0,0==(e=1+~e>>>0)&&(t=t+1>>>0)),e=jspb.utils.joinUint64(e,t),o?-e:e},jspb.utils.toZigzag64=function(e,t,o){var r=t>>31;return o(e<<1^r,(t<<1|e>>>31)^r)},jspb.utils.joinZigzag64=function(e,t){return jspb.utils.fromZigzag64(e,t,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(e,t,o){var r=-(1&e);return o((e>>>1|t<<31)^r,t>>>1^r)},jspb.utils.joinFloat32=function(e,t){t=2*(e>>31)+1;var o=e>>>23&255;return e&=8388607,255==o?e?NaN:1/0*t:0==o?t*Math.pow(2,-149)*e:t*Math.pow(2,o-150)*(e+Math.pow(2,23))},jspb.utils.joinFloat64=function(e,t){var o=2*(t>>31)+1,r=t>>>20&2047;return e=jspb.BinaryConstants.TWO_TO_32*(1048575&t)+e,2047==r?e?NaN:1/0*o:0==r?o*Math.pow(2,-1074)*e:o*Math.pow(2,r-1075)*(e+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(e,t){return String.fromCharCode(e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255,t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(e,t){function o(e,t){return e=e?String(e):"",t?"0000000".slice(e.length)+e:e}if(2097151>=t)return""+jspb.utils.joinUint64(e,t);var r=(e>>>24|t<<8)>>>0&16777215;return e=(16777215&e)+6777216*r+6710656*(t=t>>16&65535),r+=8147497*t,t*=2,1e7<=e&&(r+=Math.floor(e/1e7),e%=1e7),1e7<=r&&(t+=Math.floor(r/1e7),r%=1e7),o(t,0)+o(r,t)+o(e,1)},jspb.utils.joinSignedDecimalString=function(e,t){var o=2147483648&t;return o&&(t=~t+(0==(e=1+~e>>>0)?1:0)>>>0),e=jspb.utils.joinUnsignedDecimalString(e,t),o?"-"+e:e},jspb.utils.hash64ToDecimalString=function(e,t){jspb.utils.splitHash64(e),e=jspb.utils.split64Low;var o=jspb.utils.split64High;return t?jspb.utils.joinSignedDecimalString(e,o):jspb.utils.joinUnsignedDecimalString(e,o)},jspb.utils.hash64ArrayToDecimalStrings=function(e,t){for(var o=Array(e.length),r=0;r<e.length;r++)o[r]=jspb.utils.hash64ToDecimalString(e[r],t);return o},jspb.utils.decimalStringToHash64=function(e){function t(e,t){for(var o=0;8>o&&(1!==e||0<t);o++)t=e*r[o]+t,r[o]=255&t,t>>>=8}goog.asserts.assert(0<e.length);var o=!1;"-"===e[0]&&(o=!0,e=e.slice(1));for(var r=[0,0,0,0,0,0,0,0],n=0;n<e.length;n++)t(10,e.charCodeAt(n)-jspb.utils.ZERO_CHAR_CODE_);return o&&(function(){for(var e=0;8>e;e++)r[e]=255&~r[e]}(),t(1,1)),goog.crypt.byteArrayToString(r)},jspb.utils.splitDecimalString=function(e){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(e))},jspb.utils.toHexDigit_=function(e){return String.fromCharCode(10>e?jspb.utils.ZERO_CHAR_CODE_+e:jspb.utils.A_CHAR_CODE_-10+e)},jspb.utils.fromHexCharCode_=function(e){return e>=jspb.utils.A_CHAR_CODE_?e-jspb.utils.A_CHAR_CODE_+10:e-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(e){var t=Array(18);t[0]="0",t[1]="x";for(var o=0;8>o;o++){var r=e.charCodeAt(7-o);t[2*o+2]=jspb.utils.toHexDigit_(r>>4),t[2*o+3]=jspb.utils.toHexDigit_(15&r)}return t.join("")},jspb.utils.hexStringToHash64=function(e){e=e.toLowerCase(),goog.asserts.assert(18==e.length),goog.asserts.assert("0"==e[0]),goog.asserts.assert("x"==e[1]);for(var t="",o=0;8>o;o++){var r=jspb.utils.fromHexCharCode_(e.charCodeAt(2*o+2)),n=jspb.utils.fromHexCharCode_(e.charCodeAt(2*o+3));t=String.fromCharCode(16*r+n)+t}return t},jspb.utils.hash64ToNumber=function(e,t){jspb.utils.splitHash64(e),e=jspb.utils.split64Low;var o=jspb.utils.split64High;return t?jspb.utils.joinInt64(e,o):jspb.utils.joinUint64(e,o)},jspb.utils.numberToHash64=function(e){return jspb.utils.splitInt64(e),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(e,t,o){for(var r=0,n=t;n<o;n++)r+=e[n]>>7;return o-t-r},jspb.utils.countVarintFields=function(e,t,o,r){var n=0;if(128>(r=8*r+jspb.BinaryConstants.WireType.VARINT))for(;t<o&&e[t++]==r;)for(n++;;){var i=e[t++];if(!(128&i))break}else for(;t<o;){for(i=r;128<i;){if(e[t]!=(127&i|128))return n;t++,i>>=7}if(e[t++]!=i)break;for(n++;128&(i=e[t++]););}return n},jspb.utils.countFixedFields_=function(e,t,o,r,n){var i=0;if(128>r)for(;t<o&&e[t++]==r;)i++,t+=n;else for(;t<o;){for(var s=r;128<s;){if(e[t++]!=(127&s|128))return i;s>>=7}if(e[t++]!=s)break;i++,t+=n}return i},jspb.utils.countFixed32Fields=function(e,t,o,r){return jspb.utils.countFixedFields_(e,t,o,8*r+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(e,t,o,r){return jspb.utils.countFixedFields_(e,t,o,8*r+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(e,t,o,r){var n=0;for(r=8*r+jspb.BinaryConstants.WireType.DELIMITED;t<o;){for(var i=r;128<i;){if(e[t++]!=(127&i|128))return n;i>>=7}if(e[t++]!=i)break;n++;for(var s=0,a=1;s+=(127&(i=e[t++]))*a,a*=128,128&i;);t+=s}return n},jspb.utils.debugBytesToTextFormat=function(e){var t='"';if(e){e=jspb.utils.byteSourceToUint8Array(e);for(var o=0;o<e.length;o++)t+="\\x",16>e[o]&&(t+="0"),t+=e[o].toString(16)}return t+'"'},jspb.utils.debugScalarToTextFormat=function(e){return"string"==typeof e?goog.string.quote(e):e.toString()},jspb.utils.stringToByteArray=function(e){for(var t=new Uint8Array(e.length),o=0;o<e.length;o++){var r=e.charCodeAt(o);if(255<r)throw Error("Conversion error: string contains codepoint outside of byte range");t[o]=r}return t},jspb.utils.byteSourceToUint8Array=function(e){return e.constructor===Uint8Array?e:e.constructor===ArrayBuffer||"undefined"!=typeof Buffer&&e.constructor===Buffer||e.constructor===Array?new Uint8Array(e):e.constructor===String?goog.crypt.base64.decodeStringToUint8Array(e):(goog.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(e,t,o){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,e&&this.setBlock(e,t,o)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(e,t,o){if(jspb.BinaryDecoder.instanceCache_.length){var r=jspb.BinaryDecoder.instanceCache_.pop();return e&&r.setBlock(e,t,o),r}return new jspb.BinaryDecoder(e,t,o)},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(e,t,o){this.bytes_=jspb.utils.byteSourceToUint8Array(e),this.start_=void 0!==t?t:0,this.end_=void 0!==o?this.start_+o:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(e){this.end_=e},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(e){this.cursor_=e},jspb.BinaryDecoder.prototype.advance=function(e){this.cursor_+=e,goog.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(e){for(var t=128,o=0,r=0,n=0;4>n&&128<=t;n++)o|=(127&(t=this.bytes_[this.cursor_++]))<<7*n;if(128<=t&&(o|=(127&(t=this.bytes_[this.cursor_++]))<<28,r|=(127&t)>>4),128<=t)for(n=0;5>n&&128<=t;n++)r|=(127&(t=this.bytes_[this.cursor_++]))<<7*n+3;if(128>t)return e(o>>>0,r>>>0);goog.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(e){return this.readSplitVarint64(function(t,o){return jspb.utils.fromZigzag64(t,o,e)})},jspb.BinaryDecoder.prototype.readSplitFixed64=function(e){var t=this.bytes_,o=this.cursor_;this.cursor_+=8;for(var r=0,n=0,i=o+7;i>=o;i--)r=r<<8|t[i],n=n<<8|t[i+4];return e(r,n)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;128&this.bytes_[this.cursor_];)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(e){for(;128<e;)this.cursor_--,e>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var e=this.bytes_,t=e[this.cursor_+0],o=127&t;return 128>t?(this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+1]))<<7,128>t?(this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+2]))<<14,128>t?(this.cursor_+=3,goog.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+3]))<<21,128>t?(this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),o):(o|=(15&(t=e[this.cursor_+4]))<<28,128>t?(this.cursor_+=5,goog.asserts.assert(this.cursor_<=this.end_),o>>>0):(this.cursor_+=5,128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&goog.asserts.assert(!1),goog.asserts.assert(this.cursor_<=this.end_),o)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=jspb.BinaryDecoder.prototype.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 e=this.readUnsignedVarint32();return e>>>1^-(1&e)},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 e=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),e},jspb.BinaryDecoder.prototype.readUint16=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),e|t<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],o=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),(e|t<<8|o<<16|r<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinUint64(e,t)},jspb.BinaryDecoder.prototype.readUint64String=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinUnsignedDecimalString(e,t)},jspb.BinaryDecoder.prototype.readInt8=function(){var e=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),e<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),(e|t<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],o=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),e|t<<8|o<<16|r<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinInt64(e,t)},jspb.BinaryDecoder.prototype.readInt64String=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinSignedDecimalString(e,t)},jspb.BinaryDecoder.prototype.readFloat=function(){var e=this.readUint32();return jspb.utils.joinFloat32(e,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinFloat64(e,t)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(e){var t=this.bytes_,o=this.cursor_;e=o+e;for(var r=[],n="";o<e;){var i=t[o++];if(128>i)r.push(i);else{if(192>i)continue;if(224>i){var s=t[o++];r.push((31&i)<<6|63&s)}else if(240>i){s=t[o++];var a=t[o++];r.push((15&i)<<12|(63&s)<<6|63&a)}else 248>i&&(i=(7&i)<<18|(63&(s=t[o++]))<<12|(63&(a=t[o++]))<<6|63&t[o++],i-=65536,r.push(55296+(i>>10&1023),56320+(1023&i)))}8192<=r.length&&(n+=String.fromCharCode.apply(null,r),r.length=0)}return n+=goog.crypt.byteArrayToString(r),this.cursor_=o,n},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var e=this.readUnsignedVarint32();return this.readString(e)},jspb.BinaryDecoder.prototype.readBytes=function(e){if(0>e||this.cursor_+e>this.bytes_.length)return this.error_=!0,goog.asserts.fail("Invalid byte length!"),new Uint8Array(0);var t=this.bytes_.subarray(this.cursor_,this.cursor_+e);return this.cursor_+=e,goog.asserts.assert(this.cursor_<=this.end_),t},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var e=this.bytes_,t=this.cursor_,o=e[t+0],r=e[t+1],n=e[t+2],i=e[t+3],s=e[t+4],a=e[t+5],g=e[t+6];return e=e[t+7],this.cursor_+=8,String.fromCharCode(o,r,n,i,s,a,g,e)},jspb.BinaryReader=function(e,t,o){this.decoder_=jspb.BinaryDecoder.alloc(e,t,o),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(e,t,o){if(jspb.BinaryReader.instanceCache_.length){var r=jspb.BinaryReader.instanceCache_.pop();return e&&r.decoder_.setBlock(e,t,o),r}return new jspb.BinaryReader(e,t,o)},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_},jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(e,t,o){this.decoder_.setBlock(e,t,o),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(e){this.decoder_.advance(e)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return goog.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var e=this.decoder_.readUnsignedVarint32(),t=e>>>3;return(e&=7)!=jspb.BinaryConstants.WireType.VARINT&&e!=jspb.BinaryConstants.WireType.FIXED32&&e!=jspb.BinaryConstants.WireType.FIXED64&&e!=jspb.BinaryConstants.WireType.DELIMITED&&e!=jspb.BinaryConstants.WireType.START_GROUP&&e!=jspb.BinaryConstants.WireType.END_GROUP?(goog.asserts.fail("Invalid wire type: %s (at position %s)",e,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=t,this.nextWireType_=e,!0)},jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var e=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==e;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var e=this.decoder_.readUnsignedVarint32();this.decoder_.advance(e)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(goog.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(goog.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){for(var e=this.nextField_;;){if(!this.nextField()){goog.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=e&&(goog.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}},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:goog.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(e,t){null===this.readCallbacks_&&(this.readCallbacks_={}),goog.asserts.assert(!this.readCallbacks_[e]),this.readCallbacks_[e]=t},jspb.BinaryReader.prototype.runReadCallback=function(e){return goog.asserts.assert(null!==this.readCallbacks_),e=this.readCallbacks_[e],goog.asserts.assert(e),e(this)},jspb.BinaryReader.prototype.readAny=function(e){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(e);var t=jspb.BinaryConstants.FieldType;switch(e){case t.DOUBLE:return this.readDouble();case t.FLOAT:return this.readFloat();case t.INT64:return this.readInt64();case t.UINT64:return this.readUint64();case t.INT32:return this.readInt32();case t.FIXED64:return this.readFixed64();case t.FIXED32:return this.readFixed32();case t.BOOL:return this.readBool();case t.STRING:return this.readString();case t.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case t.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case t.BYTES:return this.readBytes();case t.UINT32:return this.readUint32();case t.ENUM:return this.readEnum();case t.SFIXED32:return this.readSfixed32();case t.SFIXED64:return this.readSfixed64();case t.SINT32:return this.readSint32();case t.SINT64:return this.readSint64();case t.FHASH64:return this.readFixedHash64();case t.VHASH64:return this.readVarintHash64();default:goog.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(e,t){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.getEnd(),r=this.decoder_.readUnsignedVarint32();r=this.decoder_.getCursor()+r,this.decoder_.setEnd(r),t(e,this),this.decoder_.setCursor(r),this.decoder_.setEnd(o)},jspb.BinaryReader.prototype.readGroup=function(e,t,o){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),goog.asserts.assert(this.nextField_==e),o(t,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(goog.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},jspb.BinaryReader.prototype.getFieldDecoder=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32(),t=this.decoder_.getCursor(),o=t+e;return e=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),t,e),this.decoder_.setCursor(o),e},jspb.BinaryReader.prototype.readInt32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},jspb.BinaryReader.prototype.readInt32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readInt64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readUint32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},jspb.BinaryReader.prototype.readUint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},jspb.BinaryReader.prototype.readSint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},jspb.BinaryReader.prototype.readSint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},jspb.BinaryReader.prototype.readFixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},jspb.BinaryReader.prototype.readFixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},jspb.BinaryReader.prototype.readSfixed32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},jspb.BinaryReader.prototype.readSfixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},jspb.BinaryReader.prototype.readDouble=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},jspb.BinaryReader.prototype.readBool=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readEnum=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readString=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(e)},jspb.BinaryReader.prototype.readBytes=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(e)},jspb.BinaryReader.prototype.readVarintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(e){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(e)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(e){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(function(t,o){return jspb.utils.fromZigzag64(t,o,e)})},jspb.BinaryReader.prototype.readFixedHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(e){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(e)},jspb.BinaryReader.prototype.readPackedField_=function(e){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();t=this.decoder_.getCursor()+t;for(var o=[];this.decoder_.getCursor()<t;)o.push(e.call(this.decoder_));return o},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},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 e=this.buffer_;return this.buffer_=[],e},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(e,t){for(goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32);0<t||127<e;)this.buffer_.push(127&e|128),e=(e>>>7|t<<25)>>>0,t>>>=7;this.buffer_.push(e)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(e,t){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(e),this.writeUint32(t)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(e){for(goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32);127<e;)this.buffer_.push(127&e|128),e>>>=7;this.buffer_.push(e)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(e){if(goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),0<=e)this.writeUnsignedVarint32(e);else{for(var t=0;9>t;t++)this.buffer_.push(127&e|128),e>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((e<<1^e>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(e){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(e))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(e){var t=this;jspb.utils.splitHash64(e),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,function(e,o){t.writeSplitVarint64(e>>>0,o>>>0)})},jspb.BinaryEncoder.prototype.writeUint8=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&256>e),this.buffer_.push(e>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&65536>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255),this.buffer_.push(e>>>16&255),this.buffer_.push(e>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(e),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(-128<=e&&128>e),this.buffer_.push(e>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(-32768<=e&&32768>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255),this.buffer_.push(e>>>16&255),this.buffer_.push(e>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(e),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(+e>=-jspb.BinaryConstants.TWO_TO_63&&+e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(e)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(e){goog.asserts.assert(1/0===e||-1/0===e||isNaN(e)||e>=-jspb.BinaryConstants.FLOAT32_MAX&&e<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(e),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(e){goog.asserts.assert(1/0===e||-1/0===e||isNaN(e)||e>=-jspb.BinaryConstants.FLOAT64_MAX&&e<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(e),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(e){goog.asserts.assert("boolean"==typeof e||"number"==typeof e),this.buffer_.push(e?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(e)},jspb.BinaryEncoder.prototype.writeBytes=function(e){this.buffer_.push.apply(this.buffer_,e)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(e){jspb.utils.splitHash64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(e){jspb.utils.splitHash64(e),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(e){for(var t=this.buffer_.length,o=0;o<e.length;o++){var r=e.charCodeAt(o);if(128>r)this.buffer_.push(r);else if(2048>r)this.buffer_.push(r>>6|192),this.buffer_.push(63&r|128);else if(65536>r)if(55296<=r&&56319>=r&&o+1<e.length){var n=e.charCodeAt(o+1);56320<=n&&57343>=n&&(r=1024*(r-55296)+n-56320+65536,this.buffer_.push(r>>18|240),this.buffer_.push(r>>12&63|128),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128),o++)}else this.buffer_.push(r>>12|224),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128)}return this.buffer_.length-t},jspb.arith={},jspb.arith.UInt64=function(e,t){this.lo=e,this.hi=t},jspb.arith.UInt64.prototype.cmp=function(e){return this.hi<e.hi||this.hi==e.hi&&this.lo<e.lo?-1:this.hi==e.hi&&this.lo==e.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(1&this.hi)<<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!!(2147483648&this.hi)},jspb.arith.UInt64.prototype.lsb=function(){return!!(1&this.lo)},jspb.arith.UInt64.prototype.zero=function(){return 0==this.lo&&0==this.hi},jspb.arith.UInt64.prototype.add=function(e){return new jspb.arith.UInt64((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(e){return new jspb.arith.UInt64((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(e,t){var o=65535&e,r=65535&t,n=t>>>16;for(t=o*r+65536*(o*n&65535)+65536*((e>>>=16)*r&65535),o=e*n+(o*n>>>16)+(e*r>>>16);4294967296<=t;)t-=4294967296,o+=1;return new jspb.arith.UInt64(t>>>0,o>>>0)},jspb.arith.UInt64.prototype.mul=function(e){var t=jspb.arith.UInt64.mul32x32(this.lo,e);return(e=jspb.arith.UInt64.mul32x32(this.hi,e)).hi=e.lo,e.lo=0,t.add(e)},jspb.arith.UInt64.prototype.div=function(e){if(0==e)return[];var t=new jspb.arith.UInt64(0,0),o=new jspb.arith.UInt64(this.lo,this.hi);e=new jspb.arith.UInt64(e,0);for(var r=new jspb.arith.UInt64(1,0);!e.msb();)e=e.leftShift(),r=r.leftShift();for(;!r.zero();)0>=e.cmp(o)&&(t=t.add(r),o=o.sub(e)),e=e.rightShift(),r=r.rightShift();return[t,o]},jspb.arith.UInt64.prototype.toString=function(){for(var e="",t=this;!t.zero();){var o=(t=t.div(10))[0];e=t[1].lo+e,t=o}return""==e&&(e="0"),e},jspb.arith.UInt64.fromString=function(e){for(var t=new jspb.arith.UInt64(0,0),o=new jspb.arith.UInt64(0,0),r=0;r<e.length;r++){if("0">e[r]||"9"<e[r])return null;var n=parseInt(e[r],10);o.lo=n,t=t.mul(10).add(o)}return t},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(e,t){this.lo=e,this.hi=t},jspb.arith.Int64.prototype.add=function(e){return new jspb.arith.Int64((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(e){return new jspb.arith.Int64((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.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 e=!!(2147483648&this.hi),t=new jspb.arith.UInt64(this.lo,this.hi);return e&&(t=new jspb.arith.UInt64(0,0).sub(t)),(e?"-":"")+t.toString()},jspb.arith.Int64.fromString=function(e){var t=0<e.length&&"-"==e[0];return t&&(e=e.substring(1)),null===(e=jspb.arith.UInt64.fromString(e))?null:(t&&(e=new jspb.arith.UInt64(0,0).sub(e)),new jspb.arith.Int64(e.lo,e.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(e){var t=this.encoder_.end();this.blocks_.push(t),this.blocks_.push(e),this.totalLength_+=t.length+e.length},jspb.BinaryWriter.prototype.beginDelimited_=function(e){return this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),e=this.encoder_.end(),this.blocks_.push(e),this.totalLength_+=e.length,e.push(this.totalLength_),e},jspb.BinaryWriter.prototype.endDelimited_=function(e){var t=e.pop();for(t=this.totalLength_+this.encoder_.length()-t,goog.asserts.assert(0<=t);127<t;)e.push(127&t|128),t>>>=7,this.totalLength_++;e.push(t),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(e,t,o){this.appendUint8Array_(e.subarray(t,o))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(e,t,o){null!=e&&null!=t&&null!=o&&this.writeSerializedMessage(e,t,o)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){goog.asserts.assert(0==this.bookmarks_.length);for(var e=new Uint8Array(this.totalLength_+this.encoder_.length()),t=this.blocks_,o=t.length,r=0,n=0;n<o;n++){var i=t[n];e.set(i,r),r+=i.length}return t=this.encoder_.end(),e.set(t,r),r+=t.length,goog.asserts.assert(r==e.length),this.blocks_=[e],e},jspb.BinaryWriter.prototype.getResultBase64String=function(e){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),e)},jspb.BinaryWriter.prototype.beginSubMessage=function(e){this.bookmarks_.push(this.beginDelimited_(e))},jspb.BinaryWriter.prototype.endSubMessage=function(){goog.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(e,t){goog.asserts.assert(1<=e&&e==Math.floor(e)),this.encoder_.writeUnsignedVarint32(8*e+t)},jspb.BinaryWriter.prototype.writeAny=function(e,t,o){var r=jspb.BinaryConstants.FieldType;switch(e){case r.DOUBLE:this.writeDouble(t,o);break;case r.FLOAT:this.writeFloat(t,o);break;case r.INT64:this.writeInt64(t,o);break;case r.UINT64:this.writeUint64(t,o);break;case r.INT32:this.writeInt32(t,o);break;case r.FIXED64:this.writeFixed64(t,o);break;case r.FIXED32:this.writeFixed32(t,o);break;case r.BOOL:this.writeBool(t,o);break;case r.STRING:this.writeString(t,o);break;case r.GROUP:goog.asserts.fail("Group field type not supported in writeAny()");break;case r.MESSAGE:goog.asserts.fail("Message field type not supported in writeAny()");break;case r.BYTES:this.writeBytes(t,o);break;case r.UINT32:this.writeUint32(t,o);break;case r.ENUM:this.writeEnum(t,o);break;case r.SFIXED32:this.writeSfixed32(t,o);break;case r.SFIXED64:this.writeSfixed64(t,o);break;case r.SINT32:this.writeSint32(t,o);break;case r.SINT64:this.writeSint64(t,o);break;case r.FHASH64:this.writeFixedHash64(t,o);break;case r.VHASH64:this.writeVarintHash64(t,o);break;default:goog.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(t))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(t))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(t))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(t))},jspb.BinaryWriter.prototype.writeInt32=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeInt32String=function(e,t){null!=t&&(t=parseInt(t,10),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeInt64=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(e,t))},jspb.BinaryWriter.prototype.writeInt64String=function(e,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeUint32=function(e,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeUint32String=function(e,t){null!=t&&(t=parseInt(t,10),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeUint64=function(e,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(e,t))},jspb.BinaryWriter.prototype.writeUint64String=function(e,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSint32=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(e,t))},jspb.BinaryWriter.prototype.writeSint64=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(e,t))},jspb.BinaryWriter.prototype.writeSintHash64=function(e,t){null!=t&&this.writeZigzagVarintHash64_(e,t)},jspb.BinaryWriter.prototype.writeSint64String=function(e,t){null!=t&&this.writeZigzagVarint64String_(e,t)},jspb.BinaryWriter.prototype.writeFixed32=function(e,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(t))},jspb.BinaryWriter.prototype.writeFixed64=function(e,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(t))},jspb.BinaryWriter.prototype.writeFixed64String=function(e,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(t))},jspb.BinaryWriter.prototype.writeSfixed64=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(t))},jspb.BinaryWriter.prototype.writeSfixed64String=function(e,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeFloat=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(t))},jspb.BinaryWriter.prototype.writeDouble=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(t))},jspb.BinaryWriter.prototype.writeBool=function(e,t){null!=t&&(goog.asserts.assert("boolean"==typeof t||"number"==typeof t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(t))},jspb.BinaryWriter.prototype.writeEnum=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},jspb.BinaryWriter.prototype.writeString=function(e,t){null!=t&&(e=this.beginDelimited_(e),this.encoder_.writeString(t),this.endDelimited_(e))},jspb.BinaryWriter.prototype.writeBytes=function(e,t){null!=t&&(t=jspb.utils.byteSourceToUint8Array(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),this.appendUint8Array_(t))},jspb.BinaryWriter.prototype.writeMessage=function(e,t,o){null!=t&&(e=this.beginDelimited_(e),o(t,this),this.endDelimited_(e))},jspb.BinaryWriter.prototype.writeMessageSet=function(e,t,o){null!=t&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e),e=this.beginDelimited_(3),o(t,this),this.endDelimited_(e),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(e,t,o){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.START_GROUP),o(t,this),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeFixedHash64=function(e,t){null!=t&&(goog.asserts.assert(8==t.length),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(t))},jspb.BinaryWriter.prototype.writeVarintHash64=function(e,t){null!=t&&(goog.asserts.assert(8==t.length),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(t))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(e,t,o){this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t,o)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(e,t,o){this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t,o)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(e,t,o){this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT);var r=this.encoder_;jspb.utils.toZigzag64(t,o,function(e,t){r.writeSplitVarint64(e>>>0,t>>>0)})},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSignedVarint32_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeInt32String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSignedVarint64_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(e,t,o,r){if(null!=t)for(var n=0;n<t.length;n++)this.writeSplitFixed64(e,o(t[n]),r(t[n]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(e,t,o,r){if(null!=t)for(var n=0;n<t.length;n++)this.writeSplitVarint64(e,o(t[n]),r(t[n]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(e,t,o,r){if(null!=t)for(var n=0;n<t.length;n++)this.writeSplitZigzagVarint64(e,o(t[n]),r(t[n]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeInt64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUnsignedVarint32_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUint32String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUnsignedVarint64_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUint64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint32_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSint64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint64_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint64String_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarintHash64_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed32(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed64(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed32(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed64(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFloat(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedDouble=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeDouble(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedBool=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeBool(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedEnum=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeEnum(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedString=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeString(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedBytes=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeBytes(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedMessage=function(e,t,o){if(null!=t)for(var r=0;r<t.length;r++){var n=this.beginDelimited_(e);o(t[r],this),this.endDelimited_(n)}},jspb.BinaryWriter.prototype.writeRepeatedGroup=function(e,t,o){if(null!=t)for(var r=0;r<t.length;r++)this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.START_GROUP),o(t[r],this),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.END_GROUP)},jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixedHash64(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeVarintHash64(e,t[o])},jspb.BinaryWriter.prototype.writePackedInt32=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeSignedVarint32(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedInt32String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeSignedVarint32(parseInt(t[o],10));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedInt64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeSignedVarint64(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var n=0;n<t.length;n++)this.encoder_.writeSplitFixed64(o(t[n]),r(t[n]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var n=0;n<t.length;n++)this.encoder_.writeSplitVarint64(o(t[n]),r(t[n]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var n=this.encoder_,i=0;i<t.length;i++)jspb.utils.toZigzag64(o(t[i]),r(t[i]),function(e,t){n.writeSplitVarint64(e>>>0,t>>>0)});this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++){var r=jspb.arith.Int64.fromString(t[o]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint32=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeUnsignedVarint32(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint32String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeUnsignedVarint32(parseInt(t[o],10));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeUnsignedVarint64(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint64String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++){var r=jspb.arith.UInt64.fromString(t[o]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSint32=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarint32(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSint64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarint64(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSint64String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(t[o]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarintHash64(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),e=0;e<t.length;e++)this.encoder_.writeUint32(t[e])},jspb.BinaryWriter.prototype.writePackedFixed64=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeUint64(t[e])},jspb.BinaryWriter.prototype.writePackedFixed64String=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++){var o=jspb.arith.UInt64.fromString(t[e]);this.encoder_.writeSplitFixed64(o.lo,o.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),e=0;e<t.length;e++)this.encoder_.writeInt32(t[e])},jspb.BinaryWriter.prototype.writePackedSfixed64=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeInt64(t[e])},jspb.BinaryWriter.prototype.writePackedSfixed64String=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeInt64String(t[e])},jspb.BinaryWriter.prototype.writePackedFloat=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),e=0;e<t.length;e++)this.encoder_.writeFloat(t[e])},jspb.BinaryWriter.prototype.writePackedDouble=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeDouble(t[e])},jspb.BinaryWriter.prototype.writePackedBool=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),e=0;e<t.length;e++)this.encoder_.writeBool(t[e])},jspb.BinaryWriter.prototype.writePackedEnum=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeEnum(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedFixedHash64=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeFixedHash64(t[e])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeVarintHash64(t[o]);this.endDelimited_(e)}},jspb.Map=function(e,t){this.arr_=e,this.valueCtor_=t,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},jspb.Map.prototype.loadFromArray_=function(){for(var e=0;e<this.arr_.length;e++){var t=this.arr_[e],o=t[0];this.map_[o.toString()]=new jspb.Map.Entry_(o,t[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var e,t=this.map_;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var o=t[e].valueWrapper;o&&o.toArray()}}}else{for(this.arr_.length=0,(t=this.stringKeys_()).sort(),e=0;e<t.length;e++){var r=this.map_[t[e]];(o=r.valueWrapper)&&o.toArray(),this.arr_.push([r.key,r.value])}this.arrClean=!0}return this.arr_},jspb.Map.prototype.toObject=function(e,t){for(var o=this.toArray(),r=[],n=0;n<o.length;n++){var i=this.map_[o[n][0].toString()];this.wrapEntry_(i);var s=i.valueWrapper;s?(goog.asserts.assert(t),r.push([i.key,t(e,s)])):r.push([i.key,i.value])}return r},jspb.Map.fromObject=function(e,t,o){t=new jspb.Map([],t);for(var r=0;r<e.length;r++){var n=e[r][0],i=o(e[r][1]);t.set(n,i)}return t},jspb.Map.ArrayIteratorIterable_=function(e){this.idx_=0,this.arr_=e},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},"undefined"!=typeof Symbol&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},jspb.Map.prototype.del=function(e){e=e.toString();var t=this.map_.hasOwnProperty(e);return delete this.map_[e],this.arrClean=!1,t},jspb.Map.prototype.getEntryList=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++){var r=this.map_[t[o]];e.push([r.key,r.value])}return e},jspb.Map.prototype.entries=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++){var r=this.map_[t[o]];e.push([r.key,this.wrapEntry_(r)])}return new jspb.Map.ArrayIteratorIterable_(e)},jspb.Map.prototype.keys=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++)e.push(this.map_[t[o]].key);return new jspb.Map.ArrayIteratorIterable_(e)},jspb.Map.prototype.values=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++)e.push(this.wrapEntry_(this.map_[t[o]]));return new jspb.Map.ArrayIteratorIterable_(e)},jspb.Map.prototype.forEach=function(e,t){var o=this.stringKeys_();o.sort();for(var r=0;r<o.length;r++){var n=this.map_[o[r]];e.call(t,this.wrapEntry_(n),n.key,this)}},jspb.Map.prototype.set=function(e,t){var o=new jspb.Map.Entry_(e);return this.valueCtor_?(o.valueWrapper=t,o.value=t.toArray()):o.value=t,this.map_[e.toString()]=o,this.arrClean=!1,this},jspb.Map.prototype.wrapEntry_=function(e){return this.valueCtor_?(e.valueWrapper||(e.valueWrapper=new this.valueCtor_(e.value)),e.valueWrapper):e.value},jspb.Map.prototype.get=function(e){if(e=this.map_[e.toString()])return this.wrapEntry_(e)},jspb.Map.prototype.has=function(e){return e.toString()in this.map_},jspb.Map.prototype.serializeBinary=function(e,t,o,r,n){var i=this.stringKeys_();i.sort();for(var s=0;s<i.length;s++){var a=this.map_[i[s]];t.beginSubMessage(e),o.call(t,1,a.key),this.valueCtor_?r.call(t,2,this.wrapEntry_(a),n):r.call(t,2,a.value),t.endSubMessage()}},jspb.Map.deserializeBinary=function(e,t,o,r,n,i,s){for(;t.nextField()&&!t.isEndGroup();){var a=t.getFieldNumber();1==a?i=o.call(t):2==a&&(e.valueCtor_?(goog.asserts.assert(n),s||(s=new e.valueCtor_),r.call(t,s,n)):s=r.call(t))}goog.asserts.assert(null!=i),goog.asserts.assert(null!=s),e.set(i,s)},jspb.Map.prototype.stringKeys_=function(){var e,t=this.map_,o=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&o.push(e);return o},jspb.Map.Entry_=function(e,t){this.key=e,this.value=t,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(e,t,o,r,n){this.fieldIndex=e,this.fieldName=t,this.ctor=o,this.toObjectFn=r,this.isRepeated=n},jspb.ExtensionFieldBinaryInfo=function(e,t,o,r,n,i){this.fieldInfo=e,this.binaryReaderFn=t,this.binaryWriterFn=o,this.binaryMessageSerializeFn=r,this.binaryMessageDeserializeFn=n,this.isPacked=i},jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},jspb.Message=function(){},jspb.Message.GENERATE_TO_OBJECT=!0,jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_="function"==typeof Uint8Array,jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},jspb.Message.getIndex_=function(e,t){return t+e.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(e,t){return t-e.arrayIndexOffset_},jspb.Message.initialize=function(e,t,o,r,n,i){if(e.wrappers_=null,t||(t=o?[o]:[]),e.messageId_=o?String(o):void 0,e.arrayIndexOffset_=0===o?-1:0,e.array=t,jspb.Message.initPivotAndExtensionObject_(e,r),e.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(e.repeatedFields=n),n)for(t=0;t<n.length;t++)(o=n[t])<e.pivot_?(o=jspb.Message.getIndex_(e,o),e.array[o]=e.array[o]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(e),e.extensionObject_[o]=e.extensionObject_[o]||jspb.Message.EMPTY_LIST_SENTINEL_);if(i&&i.length)for(t=0;t<i.length;t++)jspb.Message.computeOneofCase(e,i[t])},jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(e){return jspb.Message.ASSUME_LOCAL_ARRAYS?e instanceof Array:Array.isArray(e)},jspb.Message.isExtensionObject_=function(e){return!(null===e||"object"!=typeof e||jspb.Message.isArray_(e)||jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(e,t){var o=e.array.length,r=-1;if(o&&(r=o-1,o=e.array[r],jspb.Message.isExtensionObject_(o)))return e.pivot_=jspb.Message.getFieldNumber_(e,r),void(e.extensionObject_=o);-1<t?(e.pivot_=Math.max(t,jspb.Message.getFieldNumber_(e,r+1)),e.extensionObject_=null):e.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(e){var t=jspb.Message.getIndex_(e,e.pivot_);e.array[t]||(e.extensionObject_=e.array[t]={})},jspb.Message.toObjectList=function(e,t,o){for(var r=[],n=0;n<e.length;n++)r[n]=t.call(e[n],o,e[n]);return r},jspb.Message.toObjectExtension=function(e,t,o,r,n){for(var i in o){var s=o[i],a=r.call(e,s);if(null!=a){for(var g in s.fieldName)if(s.fieldName.hasOwnProperty(g))break;t[g]=s.toObjectFn?s.isRepeated?jspb.Message.toObjectList(a,s.toObjectFn,n):s.toObjectFn(n,a):a}}},jspb.Message.serializeBinaryExtensions=function(e,t,o,r){for(var n in o){var i=o[n],s=i.fieldInfo;if(!i.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var a=r.call(e,s);if(null!=a)if(s.isMessageType()){if(!i.binaryMessageSerializeFn)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");i.binaryWriterFn.call(t,s.fieldIndex,a,i.binaryMessageSerializeFn)}else i.binaryWriterFn.call(t,s.fieldIndex,a)}},jspb.Message.readBinaryExtension=function(e,t,o,r,n){var i=o[t.getFieldNumber()];if(i){if(o=i.fieldInfo,!i.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(o.isMessageType()){var s=new o.ctor;i.binaryReaderFn.call(t,s,i.binaryMessageDeserializeFn)}else s=i.binaryReaderFn.call(t);o.isRepeated&&!i.isPacked?(t=r.call(e,o))?t.push(s):n.call(e,o,[s]):n.call(e,o,s)}else t.skipField()},jspb.Message.getField=function(e,t){if(t<e.pivot_){t=jspb.Message.getIndex_(e,t);var o=e.array[t];return o===jspb.Message.EMPTY_LIST_SENTINEL_?e.array[t]=[]:o}if(e.extensionObject_)return(o=e.extensionObject_[t])===jspb.Message.EMPTY_LIST_SENTINEL_?e.extensionObject_[t]=[]:o},jspb.Message.getRepeatedField=function(e,t){return jspb.Message.getField(e,t)},jspb.Message.getOptionalFloatingPointField=function(e,t){return null==(e=jspb.Message.getField(e,t))?e:+e},jspb.Message.getBooleanField=function(e,t){return null==(e=jspb.Message.getField(e,t))?e:!!e},jspb.Message.getRepeatedFloatingPointField=function(e,t){var o=jspb.Message.getRepeatedField(e,t);if(e.convertedPrimitiveFields_||(e.convertedPrimitiveFields_={}),!e.convertedPrimitiveFields_[t]){for(var r=0;r<o.length;r++)o[r]=+o[r];e.convertedPrimitiveFields_[t]=!0}return o},jspb.Message.getRepeatedBooleanField=function(e,t){var o=jspb.Message.getRepeatedField(e,t);if(e.convertedPrimitiveFields_||(e.convertedPrimitiveFields_={}),!e.convertedPrimitiveFields_[t]){for(var r=0;r<o.length;r++)o[r]=!!o[r];e.convertedPrimitiveFields_[t]=!0}return o},jspb.Message.bytesAsB64=function(e){return null==e||"string"==typeof e?e:jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array?goog.crypt.base64.encodeByteArray(e):(goog.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(e)),null)},jspb.Message.bytesAsU8=function(e){return null==e||e instanceof Uint8Array?e:"string"==typeof e?goog.crypt.base64.decodeStringToUint8Array(e):(goog.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(e)),null)},jspb.Message.bytesListAsB64=function(e){return jspb.Message.assertConsistentTypes_(e),e.length&&"string"!=typeof e[0]?goog.array.map(e,jspb.Message.bytesAsB64):e},jspb.Message.bytesListAsU8=function(e){return jspb.Message.assertConsistentTypes_(e),!e.length||e[0]instanceof Uint8Array?e:goog.array.map(e,jspb.Message.bytesAsU8)},jspb.Message.assertConsistentTypes_=function(e){if(goog.DEBUG&&e&&1<e.length){var t=goog.typeOf(e[0]);goog.array.forEach(e,function(e){goog.typeOf(e)!=t&&goog.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(e)+" expected "+t)})}},jspb.Message.getFieldWithDefault=function(e,t,o){return null==(e=jspb.Message.getField(e,t))?o:e},jspb.Message.getBooleanFieldWithDefault=function(e,t,o){return null==(e=jspb.Message.getBooleanField(e,t))?o:e},jspb.Message.getFloatingPointFieldWithDefault=function(e,t,o){return null==(e=jspb.Message.getOptionalFloatingPointField(e,t))?o:e},jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,jspb.Message.getMapField=function(e,t,o,r){if(e.wrappers_||(e.wrappers_={}),t in e.wrappers_)return e.wrappers_[t];var n=jspb.Message.getField(e,t);if(!n){if(o)return;n=[],jspb.Message.setField(e,t,n)}return e.wrappers_[t]=new jspb.Map(n,r)},jspb.Message.setField=function(e,t,o){return goog.asserts.assertInstanceof(e,jspb.Message),t<e.pivot_?e.array[jspb.Message.getIndex_(e,t)]=o:(jspb.Message.maybeInitEmptyExtensionObject_(e),e.extensionObject_[t]=o),e},jspb.Message.setProto3IntField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},jspb.Message.setProto3FloatField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},jspb.Message.setProto3BooleanField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,!1)},jspb.Message.setProto3StringField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"")},jspb.Message.setProto3BytesField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"")},jspb.Message.setProto3EnumField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},jspb.Message.setProto3StringIntField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"0")},jspb.Message.setFieldIgnoringDefault_=function(e,t,o,r){return goog.asserts.assertInstanceof(e,jspb.Message),o!==r?jspb.Message.setField(e,t,o):t<e.pivot_?e.array[jspb.Message.getIndex_(e,t)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(e),delete e.extensionObject_[t]),e},jspb.Message.addToRepeatedField=function(e,t,o,r){return goog.asserts.assertInstanceof(e,jspb.Message),t=jspb.Message.getRepeatedField(e,t),null!=r?t.splice(r,0,o):t.push(o),e},jspb.Message.setOneofField=function(e,t,o,r){return goog.asserts.assertInstanceof(e,jspb.Message),(o=jspb.Message.computeOneofCase(e,o))&&o!==t&&void 0!==r&&(e.wrappers_&&o in e.wrappers_&&(e.wrappers_[o]=void 0),jspb.Message.setField(e,o,void 0)),jspb.Message.setField(e,t,r)},jspb.Message.computeOneofCase=function(e,t){for(var o,r,n=0;n<t.length;n++){var i=t[n],s=jspb.Message.getField(e,i);null!=s&&(o=i,r=s,jspb.Message.setField(e,i,void 0))}return o?(jspb.Message.setField(e,o,r),o):0},jspb.Message.getWrapperField=function(e,t,o,r){if(e.wrappers_||(e.wrappers_={}),!e.wrappers_[o]){var n=jspb.Message.getField(e,o);(r||n)&&(e.wrappers_[o]=new t(n))}return e.wrappers_[o]},jspb.Message.getRepeatedWrapperField=function(e,t,o){return jspb.Message.wrapRepeatedField_(e,t,o),(t=e.wrappers_[o])==jspb.Message.EMPTY_LIST_SENTINEL_&&(t=e.wrappers_[o]=[]),t},jspb.Message.wrapRepeatedField_=function(e,t,o){if(e.wrappers_||(e.wrappers_={}),!e.wrappers_[o]){for(var r=jspb.Message.getRepeatedField(e,o),n=[],i=0;i<r.length;i++)n[i]=new t(r[i]);e.wrappers_[o]=n}},jspb.Message.setWrapperField=function(e,t,o){goog.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={});var r=o?o.toArray():o;return e.wrappers_[t]=o,jspb.Message.setField(e,t,r)},jspb.Message.setOneofWrapperField=function(e,t,o,r){goog.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={});var n=r?r.toArray():r;return e.wrappers_[t]=r,jspb.Message.setOneofField(e,t,o,n)},jspb.Message.setRepeatedWrapperField=function(e,t,o){goog.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={}),o=o||[];for(var r=[],n=0;n<o.length;n++)r[n]=o[n].toArray();return e.wrappers_[t]=o,jspb.Message.setField(e,t,r)},jspb.Message.addToRepeatedWrapperField=function(e,t,o,r,n){jspb.Message.wrapRepeatedField_(e,r,t);var i=e.wrappers_[t];return i||(i=e.wrappers_[t]=[]),o=o||new r,e=jspb.Message.getRepeatedField(e,t),null!=n?(i.splice(n,0,o),e.splice(n,0,o.toArray())):(i.push(o),e.push(o.toArray())),o},jspb.Message.toMap=function(e,t,o,r){for(var n={},i=0;i<e.length;i++)n[t.call(e[i])]=o?o.call(e[i],r,e[i]):e[i];return n},jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var e in this.wrappers_){var t=this.wrappers_[e];if(Array.isArray(t))for(var o=0;o<t.length;o++)t[o]&&t[o].toArray();else t&&t.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(e){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var t=e.fieldIndex;if(e.isRepeated){if(e.isMessageType())return this.wrappers_[t]||(this.wrappers_[t]=goog.array.map(this.extensionObject_[t]||[],function(t){return new e.ctor(t)})),this.wrappers_[t]}else if(e.isMessageType())return!this.wrappers_[t]&&this.extensionObject_[t]&&(this.wrappers_[t]=new e.ctor(this.extensionObject_[t])),this.wrappers_[t];return this.extensionObject_[t]}},jspb.Message.prototype.setExtension=function(e,t){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var o=e.fieldIndex;return e.isRepeated?(t=t||[],e.isMessageType()?(this.wrappers_[o]=t,this.extensionObject_[o]=goog.array.map(t,function(e){return e.toArray()})):this.extensionObject_[o]=t):e.isMessageType()?(this.wrappers_[o]=t,this.extensionObject_[o]=t?t.toArray():t):this.extensionObject_[o]=t,this},jspb.Message.difference=function(e,t){if(!(e instanceof t.constructor))throw Error("Messages have different types.");var o=e.toArray();t=t.toArray();var r=[],n=0,i=o.length>t.length?o.length:t.length;for(e.getJsPbMessageId()&&(r[0]=e.getJsPbMessageId(),n=1);n<i;n++)jspb.Message.compareFields(o[n],t[n])||(r[n]=t[n]);return new e.constructor(r)},jspb.Message.equals=function(e,t){return e==t||!(!e||!t)&&e instanceof t.constructor&&jspb.Message.compareFields(e.toArray(),t.toArray())},jspb.Message.compareExtensions=function(e,t){e=e||{},t=t||{};var o,r={};for(o in e)r[o]=0;for(o in t)r[o]=0;for(o in r)if(!jspb.Message.compareFields(e[o],t[o]))return!1;return!0},jspb.Message.compareFields=function(e,t){if(e==t)return!0;if(!goog.isObject(e)||!goog.isObject(t))return!!("number"==typeof e&&isNaN(e)||"number"==typeof t&&isNaN(t))&&String(e)==String(t);if(e.constructor!=t.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&e.constructor===Uint8Array){if(e.length!=t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!=t[o])return!1;return!0}if(e.constructor===Array){var r=void 0,n=void 0,i=Math.max(e.length,t.length);for(o=0;o<i;o++){var s=e[o],a=t[o];if(s&&s.constructor==Object&&(goog.asserts.assert(void 0===r),goog.asserts.assert(o===e.length-1),r=s,s=void 0),a&&a.constructor==Object&&(goog.asserts.assert(void 0===n),goog.asserts.assert(o===t.length-1),n=a,a=void 0),!jspb.Message.compareFields(s,a))return!1}return!r&&!n||(r=r||{},n=n||{},jspb.Message.compareExtensions(r,n))}if(e.constructor===Object)return jspb.Message.compareExtensions(e,t);throw Error("Invalid type in JSPB array")},jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},jspb.Message.clone=function(e){return jspb.Message.cloneMessage(e)},jspb.Message.cloneMessage=function(e){return new e.constructor(jspb.Message.clone_(e.toArray()))},jspb.Message.copyInto=function(e,t){goog.asserts.assertInstanceof(e,jspb.Message),goog.asserts.assertInstanceof(t,jspb.Message),goog.asserts.assert(e.constructor==t.constructor,"Copy source and target message should have the same type."),e=jspb.Message.clone(e);for(var o=t.toArray(),r=e.toArray(),n=o.length=0;n<r.length;n++)o[n]=r[n];t.wrappers_=e.wrappers_,t.extensionObject_=e.extensionObject_},jspb.Message.clone_=function(e){if(Array.isArray(e)){for(var t=Array(e.length),o=0;o<e.length;o++){var r=e[o];null!=r&&(t[o]="object"==typeof r?jspb.Message.clone_(goog.asserts.assert(r)):r)}return t}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array)return new Uint8Array(e);for(o in t={},e)null!=(r=e[o])&&(t[o]="object"==typeof r?jspb.Message.clone_(goog.asserts.assert(r)):r);return t},jspb.Message.registerMessageType=function(e,t){t.messageId=e},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},57(e,t,o){var r=o(339),n=r,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==i&&i||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")(),s=o(802);n.object.extend(proto,s),n.exportSymbol("proto.ord.Dataset",null,i),n.exportSymbol("proto.ord.DatasetExample",null,i),proto.ord.Dataset=function(e){r.Message.initialize(this,e,0,-1,proto.ord.Dataset.repeatedFields_,null)},n.inherits(proto.ord.Dataset,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Dataset.displayName="proto.ord.Dataset"),proto.ord.DatasetExample=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.DatasetExample,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.DatasetExample.displayName="proto.ord.DatasetExample"),proto.ord.Dataset.repeatedFields_=[3,4],r.Message.GENERATE_TO_OBJECT&&(proto.ord.Dataset.prototype.toObject=function(e){return proto.ord.Dataset.toObject(e,this)},proto.ord.Dataset.toObject=function(e,t){var o,n={name:r.Message.getFieldWithDefault(t,1,""),description:r.Message.getFieldWithDefault(t,2,""),reactionsList:r.Message.toObjectList(t.getReactionsList(),s.Reaction.toObject,e),reactionIdsList:null==(o=r.Message.getRepeatedField(t,4))?void 0:o,datasetId:r.Message.getFieldWithDefault(t,5,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Dataset.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Dataset;return proto.ord.Dataset.deserializeBinaryFromReader(o,t)},proto.ord.Dataset.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readString(),e.setDescription(o);break;case 3:o=new s.Reaction,t.readMessage(o,s.Reaction.deserializeBinaryFromReader),e.addReactions(o);break;case 4:o=t.readString(),e.addReactionIds(o);break;case 5:o=t.readString(),e.setDatasetId(o);break;default:t.skipField()}return e},proto.ord.Dataset.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Dataset.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Dataset.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),(o=e.getDescription()).length>0&&t.writeString(2,o),(o=e.getReactionsList()).length>0&&t.writeRepeatedMessage(3,o,s.Reaction.serializeBinaryToWriter),(o=e.getReactionIdsList()).length>0&&t.writeRepeatedString(4,o),(o=e.getDatasetId()).length>0&&t.writeString(5,o)},proto.ord.Dataset.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.Dataset.prototype.setName=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.Dataset.prototype.getDescription=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Dataset.prototype.setDescription=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Dataset.prototype.getReactionsList=function(){return r.Message.getRepeatedWrapperField(this,s.Reaction,3)},proto.ord.Dataset.prototype.setReactionsList=function(e){return r.Message.setRepeatedWrapperField(this,3,e)},proto.ord.Dataset.prototype.addReactions=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.ord.Reaction,t)},proto.ord.Dataset.prototype.clearReactionsList=function(){return this.setReactionsList([])},proto.ord.Dataset.prototype.getReactionIdsList=function(){return r.Message.getRepeatedField(this,4)},proto.ord.Dataset.prototype.setReactionIdsList=function(e){return r.Message.setField(this,4,e||[])},proto.ord.Dataset.prototype.addReactionIds=function(e,t){return r.Message.addToRepeatedField(this,4,e,t)},proto.ord.Dataset.prototype.clearReactionIdsList=function(){return this.setReactionIdsList([])},proto.ord.Dataset.prototype.getDatasetId=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.Dataset.prototype.setDatasetId=function(e){return r.Message.setProto3StringField(this,5,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.DatasetExample.prototype.toObject=function(e){return proto.ord.DatasetExample.toObject(e,this)},proto.ord.DatasetExample.toObject=function(e,t){var o,n={datasetId:r.Message.getFieldWithDefault(t,1,""),description:r.Message.getFieldWithDefault(t,2,""),url:r.Message.getFieldWithDefault(t,3,""),created:(o=t.getCreated())&&s.RecordEvent.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.DatasetExample.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.DatasetExample;return proto.ord.DatasetExample.deserializeBinaryFromReader(o,t)},proto.ord.DatasetExample.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setDatasetId(o);break;case 2:o=t.readString(),e.setDescription(o);break;case 3:o=t.readString(),e.setUrl(o);break;case 4:o=new s.RecordEvent,t.readMessage(o,s.RecordEvent.deserializeBinaryFromReader),e.setCreated(o);break;default:t.skipField()}return e},proto.ord.DatasetExample.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.DatasetExample.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.DatasetExample.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getDatasetId()).length>0&&t.writeString(1,o),(o=e.getDescription()).length>0&&t.writeString(2,o),(o=e.getUrl()).length>0&&t.writeString(3,o),null!=(o=e.getCreated())&&t.writeMessage(4,o,s.RecordEvent.serializeBinaryToWriter)},proto.ord.DatasetExample.prototype.getDatasetId=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.DatasetExample.prototype.setDatasetId=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.DatasetExample.prototype.getDescription=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.DatasetExample.prototype.setDescription=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.DatasetExample.prototype.getUrl=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.DatasetExample.prototype.setUrl=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.DatasetExample.prototype.getCreated=function(){return r.Message.getWrapperField(this,s.RecordEvent,4)},proto.ord.DatasetExample.prototype.setCreated=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.DatasetExample.prototype.clearCreated=function(){return this.setCreated(void 0)},proto.ord.DatasetExample.prototype.hasCreated=function(){return null!=r.Message.getField(this,4)},n.object.extend(t,proto.ord)},802(e,t,o){var r=o(339),n=r,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==i&&i||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();n.exportSymbol("proto.ord.Amount",null,i),n.exportSymbol("proto.ord.Amount.KindCase",null,i),n.exportSymbol("proto.ord.Analysis",null,i),n.exportSymbol("proto.ord.Analysis.AnalysisType",null,i),n.exportSymbol("proto.ord.Compound",null,i),n.exportSymbol("proto.ord.Compound.Source",null,i),n.exportSymbol("proto.ord.CompoundIdentifier",null,i),n.exportSymbol("proto.ord.CompoundIdentifier.CompoundIdentifierType",null,i),n.exportSymbol("proto.ord.CompoundPreparation",null,i),n.exportSymbol("proto.ord.CompoundPreparation.CompoundPreparationType",null,i),n.exportSymbol("proto.ord.Concentration",null,i),n.exportSymbol("proto.ord.Concentration.ConcentrationUnit",null,i),n.exportSymbol("proto.ord.CrudeComponent",null,i),n.exportSymbol("proto.ord.Current",null,i),n.exportSymbol("proto.ord.Current.CurrentUnit",null,i),n.exportSymbol("proto.ord.Data",null,i),n.exportSymbol("proto.ord.Data.KindCase",null,i),n.exportSymbol("proto.ord.DateTime",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions.ElectrochemistryCell",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions.ElectrochemistryCell.ElectrochemistryCellType",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions.ElectrochemistryType",null,i),n.exportSymbol("proto.ord.FloatValue",null,i),n.exportSymbol("proto.ord.FlowConditions",null,i),n.exportSymbol("proto.ord.FlowConditions.FlowType",null,i),n.exportSymbol("proto.ord.FlowConditions.Tubing",null,i),n.exportSymbol("proto.ord.FlowConditions.Tubing.TubingType",null,i),n.exportSymbol("proto.ord.FlowRate",null,i),n.exportSymbol("proto.ord.FlowRate.FlowRateUnit",null,i),n.exportSymbol("proto.ord.IlluminationConditions",null,i),n.exportSymbol("proto.ord.IlluminationConditions.IlluminationType",null,i),n.exportSymbol("proto.ord.Length",null,i),n.exportSymbol("proto.ord.Length.LengthUnit",null,i),n.exportSymbol("proto.ord.Mass",null,i),n.exportSymbol("proto.ord.Mass.MassUnit",null,i),n.exportSymbol("proto.ord.Moles",null,i),n.exportSymbol("proto.ord.Moles.MolesUnit",null,i),n.exportSymbol("proto.ord.Percentage",null,i),n.exportSymbol("proto.ord.Person",null,i),n.exportSymbol("proto.ord.Pressure",null,i),n.exportSymbol("proto.ord.Pressure.PressureUnit",null,i),n.exportSymbol("proto.ord.PressureConditions",null,i),n.exportSymbol("proto.ord.PressureConditions.Atmosphere",null,i),n.exportSymbol("proto.ord.PressureConditions.Atmosphere.AtmosphereType",null,i),n.exportSymbol("proto.ord.PressureConditions.PressureControl",null,i),n.exportSymbol("proto.ord.PressureConditions.PressureControl.PressureControlType",null,i),n.exportSymbol("proto.ord.PressureConditions.PressureMeasurement",null,i),n.exportSymbol("proto.ord.PressureConditions.PressureMeasurement.PressureMeasurementType",null,i),n.exportSymbol("proto.ord.ProductCompound",null,i),n.exportSymbol("proto.ord.ProductMeasurement",null,i),n.exportSymbol("proto.ord.ProductMeasurement.MassSpecMeasurementDetails",null,i),n.exportSymbol("proto.ord.ProductMeasurement.MassSpecMeasurementDetails.MassSpecMeasurementType",null,i),n.exportSymbol("proto.ord.ProductMeasurement.ProductMeasurementType",null,i),n.exportSymbol("proto.ord.ProductMeasurement.Selectivity",null,i),n.exportSymbol("proto.ord.ProductMeasurement.Selectivity.SelectivityType",null,i),n.exportSymbol("proto.ord.ProductMeasurement.ValueCase",null,i),n.exportSymbol("proto.ord.Reaction",null,i),n.exportSymbol("proto.ord.ReactionConditions",null,i),n.exportSymbol("proto.ord.ReactionIdentifier",null,i),n.exportSymbol("proto.ord.ReactionIdentifier.ReactionIdentifierType",null,i),n.exportSymbol("proto.ord.ReactionInput",null,i),n.exportSymbol("proto.ord.ReactionInput.AdditionDevice",null,i),n.exportSymbol("proto.ord.ReactionInput.AdditionDevice.AdditionDeviceType",null,i),n.exportSymbol("proto.ord.ReactionInput.AdditionSpeed",null,i),n.exportSymbol("proto.ord.ReactionInput.AdditionSpeed.AdditionSpeedType",null,i),n.exportSymbol("proto.ord.ReactionNotes",null,i),n.exportSymbol("proto.ord.ReactionObservation",null,i),n.exportSymbol("proto.ord.ReactionOutcome",null,i),n.exportSymbol("proto.ord.ReactionProvenance",null,i),n.exportSymbol("proto.ord.ReactionRole",null,i),n.exportSymbol("proto.ord.ReactionRole.ReactionRoleType",null,i),n.exportSymbol("proto.ord.ReactionSetup",null,i),n.exportSymbol("proto.ord.ReactionSetup.ReactionEnvironment",null,i),n.exportSymbol("proto.ord.ReactionSetup.ReactionEnvironment.ReactionEnvironmentType",null,i),n.exportSymbol("proto.ord.ReactionWorkup",null,i),n.exportSymbol("proto.ord.ReactionWorkup.ReactionWorkupType",null,i),n.exportSymbol("proto.ord.RecordEvent",null,i),n.exportSymbol("proto.ord.StirringConditions",null,i),n.exportSymbol("proto.ord.StirringConditions.StirringMethodType",null,i),n.exportSymbol("proto.ord.StirringConditions.StirringRate",null,i),n.exportSymbol("proto.ord.StirringConditions.StirringRate.StirringRateType",null,i),n.exportSymbol("proto.ord.Temperature",null,i),n.exportSymbol("proto.ord.Temperature.TemperatureUnit",null,i),n.exportSymbol("proto.ord.TemperatureConditions",null,i),n.exportSymbol("proto.ord.TemperatureConditions.TemperatureControl",null,i),n.exportSymbol("proto.ord.TemperatureConditions.TemperatureControl.TemperatureControlType",null,i),n.exportSymbol("proto.ord.TemperatureConditions.TemperatureMeasurement",null,i),n.exportSymbol("proto.ord.TemperatureConditions.TemperatureMeasurement.TemperatureMeasurementType",null,i),n.exportSymbol("proto.ord.Texture",null,i),n.exportSymbol("proto.ord.Texture.TextureType",null,i),n.exportSymbol("proto.ord.Time",null,i),n.exportSymbol("proto.ord.Time.TimeUnit",null,i),n.exportSymbol("proto.ord.UnmeasuredAmount",null,i),n.exportSymbol("proto.ord.UnmeasuredAmount.UnmeasuredAmountType",null,i),n.exportSymbol("proto.ord.Vessel",null,i),n.exportSymbol("proto.ord.Vessel.VesselType",null,i),n.exportSymbol("proto.ord.VesselAttachment",null,i),n.exportSymbol("proto.ord.VesselAttachment.VesselAttachmentType",null,i),n.exportSymbol("proto.ord.VesselMaterial",null,i),n.exportSymbol("proto.ord.VesselMaterial.VesselMaterialType",null,i),n.exportSymbol("proto.ord.VesselPreparation",null,i),n.exportSymbol("proto.ord.VesselPreparation.VesselPreparationType",null,i),n.exportSymbol("proto.ord.Voltage",null,i),n.exportSymbol("proto.ord.Voltage.VoltageUnit",null,i),n.exportSymbol("proto.ord.Volume",null,i),n.exportSymbol("proto.ord.Volume.VolumeUnit",null,i),n.exportSymbol("proto.ord.Wavelength",null,i),n.exportSymbol("proto.ord.Wavelength.WavelengthUnit",null,i),proto.ord.Reaction=function(e){r.Message.initialize(this,e,0,-1,proto.ord.Reaction.repeatedFields_,null)},n.inherits(proto.ord.Reaction,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Reaction.displayName="proto.ord.Reaction"),proto.ord.ReactionIdentifier=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionIdentifier,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionIdentifier.displayName="proto.ord.ReactionIdentifier"),proto.ord.ReactionInput=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ReactionInput.repeatedFields_,null)},n.inherits(proto.ord.ReactionInput,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionInput.displayName="proto.ord.ReactionInput"),proto.ord.ReactionInput.AdditionSpeed=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionInput.AdditionSpeed,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionInput.AdditionSpeed.displayName="proto.ord.ReactionInput.AdditionSpeed"),proto.ord.ReactionInput.AdditionDevice=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionInput.AdditionDevice,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionInput.AdditionDevice.displayName="proto.ord.ReactionInput.AdditionDevice"),proto.ord.Amount=function(e){r.Message.initialize(this,e,0,-1,null,proto.ord.Amount.oneofGroups_)},n.inherits(proto.ord.Amount,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Amount.displayName="proto.ord.Amount"),proto.ord.UnmeasuredAmount=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.UnmeasuredAmount,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.UnmeasuredAmount.displayName="proto.ord.UnmeasuredAmount"),proto.ord.Texture=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Texture,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Texture.displayName="proto.ord.Texture"),proto.ord.CrudeComponent=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.CrudeComponent,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.CrudeComponent.displayName="proto.ord.CrudeComponent"),proto.ord.Compound=function(e){r.Message.initialize(this,e,0,-1,proto.ord.Compound.repeatedFields_,null)},n.inherits(proto.ord.Compound,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Compound.displayName="proto.ord.Compound"),proto.ord.Compound.Source=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Compound.Source,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Compound.Source.displayName="proto.ord.Compound.Source"),proto.ord.ReactionRole=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionRole,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionRole.displayName="proto.ord.ReactionRole"),proto.ord.CompoundPreparation=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.CompoundPreparation,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.CompoundPreparation.displayName="proto.ord.CompoundPreparation"),proto.ord.CompoundIdentifier=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.CompoundIdentifier,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.CompoundIdentifier.displayName="proto.ord.CompoundIdentifier"),proto.ord.Vessel=function(e){r.Message.initialize(this,e,0,-1,proto.ord.Vessel.repeatedFields_,null)},n.inherits(proto.ord.Vessel,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Vessel.displayName="proto.ord.Vessel"),proto.ord.VesselMaterial=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.VesselMaterial,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.VesselMaterial.displayName="proto.ord.VesselMaterial"),proto.ord.VesselAttachment=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.VesselAttachment,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.VesselAttachment.displayName="proto.ord.VesselAttachment"),proto.ord.VesselPreparation=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.VesselPreparation,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.VesselPreparation.displayName="proto.ord.VesselPreparation"),proto.ord.ReactionSetup=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionSetup,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionSetup.displayName="proto.ord.ReactionSetup"),proto.ord.ReactionSetup.ReactionEnvironment=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionSetup.ReactionEnvironment,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionSetup.ReactionEnvironment.displayName="proto.ord.ReactionSetup.ReactionEnvironment"),proto.ord.ReactionConditions=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionConditions.displayName="proto.ord.ReactionConditions"),proto.ord.TemperatureConditions=function(e){r.Message.initialize(this,e,0,-1,proto.ord.TemperatureConditions.repeatedFields_,null)},n.inherits(proto.ord.TemperatureConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.TemperatureConditions.displayName="proto.ord.TemperatureConditions"),proto.ord.TemperatureConditions.TemperatureControl=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.TemperatureConditions.TemperatureControl,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.TemperatureConditions.TemperatureControl.displayName="proto.ord.TemperatureConditions.TemperatureControl"),proto.ord.TemperatureConditions.TemperatureMeasurement=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.TemperatureConditions.TemperatureMeasurement,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.TemperatureConditions.TemperatureMeasurement.displayName="proto.ord.TemperatureConditions.TemperatureMeasurement"),proto.ord.PressureConditions=function(e){r.Message.initialize(this,e,0,-1,proto.ord.PressureConditions.repeatedFields_,null)},n.inherits(proto.ord.PressureConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.PressureConditions.displayName="proto.ord.PressureConditions"),proto.ord.PressureConditions.PressureControl=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.PressureConditions.PressureControl,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.PressureConditions.PressureControl.displayName="proto.ord.PressureConditions.PressureControl"),proto.ord.PressureConditions.Atmosphere=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.PressureConditions.Atmosphere,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.PressureConditions.Atmosphere.displayName="proto.ord.PressureConditions.Atmosphere"),proto.ord.PressureConditions.PressureMeasurement=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.PressureConditions.PressureMeasurement,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.PressureConditions.PressureMeasurement.displayName="proto.ord.PressureConditions.PressureMeasurement"),proto.ord.StirringConditions=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.StirringConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.StirringConditions.displayName="proto.ord.StirringConditions"),proto.ord.StirringConditions.StirringRate=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.StirringConditions.StirringRate,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.StirringConditions.StirringRate.displayName="proto.ord.StirringConditions.StirringRate"),proto.ord.IlluminationConditions=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.IlluminationConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.IlluminationConditions.displayName="proto.ord.IlluminationConditions"),proto.ord.ElectrochemistryConditions=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ElectrochemistryConditions.repeatedFields_,null)},n.inherits(proto.ord.ElectrochemistryConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ElectrochemistryConditions.displayName="proto.ord.ElectrochemistryConditions"),proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.displayName="proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement"),proto.ord.ElectrochemistryConditions.ElectrochemistryCell=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ElectrochemistryConditions.ElectrochemistryCell,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ElectrochemistryConditions.ElectrochemistryCell.displayName="proto.ord.ElectrochemistryConditions.ElectrochemistryCell"),proto.ord.FlowConditions=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.FlowConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.FlowConditions.displayName="proto.ord.FlowConditions"),proto.ord.FlowConditions.Tubing=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.FlowConditions.Tubing,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.FlowConditions.Tubing.displayName="proto.ord.FlowConditions.Tubing"),proto.ord.ReactionNotes=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionNotes,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionNotes.displayName="proto.ord.ReactionNotes"),proto.ord.ReactionObservation=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionObservation,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionObservation.displayName="proto.ord.ReactionObservation"),proto.ord.ReactionWorkup=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionWorkup,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionWorkup.displayName="proto.ord.ReactionWorkup"),proto.ord.ReactionOutcome=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ReactionOutcome.repeatedFields_,null)},n.inherits(proto.ord.ReactionOutcome,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionOutcome.displayName="proto.ord.ReactionOutcome"),proto.ord.ProductCompound=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ProductCompound.repeatedFields_,null)},n.inherits(proto.ord.ProductCompound,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ProductCompound.displayName="proto.ord.ProductCompound"),proto.ord.ProductMeasurement=function(e){r.Message.initialize(this,e,0,-1,null,proto.ord.ProductMeasurement.oneofGroups_)},n.inherits(proto.ord.ProductMeasurement,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ProductMeasurement.displayName="proto.ord.ProductMeasurement"),proto.ord.ProductMeasurement.MassSpecMeasurementDetails=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ProductMeasurement.MassSpecMeasurementDetails.repeatedFields_,null)},n.inherits(proto.ord.ProductMeasurement.MassSpecMeasurementDetails,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ProductMeasurement.MassSpecMeasurementDetails.displayName="proto.ord.ProductMeasurement.MassSpecMeasurementDetails"),proto.ord.ProductMeasurement.Selectivity=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ProductMeasurement.Selectivity,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ProductMeasurement.Selectivity.displayName="proto.ord.ProductMeasurement.Selectivity"),proto.ord.DateTime=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.DateTime,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.DateTime.displayName="proto.ord.DateTime"),proto.ord.Analysis=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Analysis,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Analysis.displayName="proto.ord.Analysis"),proto.ord.ReactionProvenance=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ReactionProvenance.repeatedFields_,null)},n.inherits(proto.ord.ReactionProvenance,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionProvenance.displayName="proto.ord.ReactionProvenance"),proto.ord.Person=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Person,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Person.displayName="proto.ord.Person"),proto.ord.RecordEvent=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.RecordEvent,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.RecordEvent.displayName="proto.ord.RecordEvent"),proto.ord.Time=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Time,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Time.displayName="proto.ord.Time"),proto.ord.Mass=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Mass,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Mass.displayName="proto.ord.Mass"),proto.ord.Moles=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Moles,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Moles.displayName="proto.ord.Moles"),proto.ord.Volume=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Volume,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Volume.displayName="proto.ord.Volume"),proto.ord.Concentration=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Concentration,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Concentration.displayName="proto.ord.Concentration"),proto.ord.Pressure=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Pressure,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Pressure.displayName="proto.ord.Pressure"),proto.ord.Temperature=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Temperature,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Temperature.displayName="proto.ord.Temperature"),proto.ord.Current=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Current,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Current.displayName="proto.ord.Current"),proto.ord.Voltage=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Voltage,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Voltage.displayName="proto.ord.Voltage"),proto.ord.Length=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Length,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Length.displayName="proto.ord.Length"),proto.ord.Wavelength=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Wavelength,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Wavelength.displayName="proto.ord.Wavelength"),proto.ord.FlowRate=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.FlowRate,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.FlowRate.displayName="proto.ord.FlowRate"),proto.ord.Percentage=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Percentage,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Percentage.displayName="proto.ord.Percentage"),proto.ord.FloatValue=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.FloatValue,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.FloatValue.displayName="proto.ord.FloatValue"),proto.ord.Data=function(e){r.Message.initialize(this,e,0,-1,null,proto.ord.Data.oneofGroups_)},n.inherits(proto.ord.Data,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Data.displayName="proto.ord.Data"),proto.ord.Reaction.repeatedFields_=[1,6,7,8],r.Message.GENERATE_TO_OBJECT&&(proto.ord.Reaction.prototype.toObject=function(e){return proto.ord.Reaction.toObject(e,this)},proto.ord.Reaction.toObject=function(e,t){var o,n={identifiersList:r.Message.toObjectList(t.getIdentifiersList(),proto.ord.ReactionIdentifier.toObject,e),inputsMap:(o=t.getInputsMap())?o.toObject(e,proto.ord.ReactionInput.toObject):[],setup:(o=t.getSetup())&&proto.ord.ReactionSetup.toObject(e,o),conditions:(o=t.getConditions())&&proto.ord.ReactionConditions.toObject(e,o),notes:(o=t.getNotes())&&proto.ord.ReactionNotes.toObject(e,o),observationsList:r.Message.toObjectList(t.getObservationsList(),proto.ord.ReactionObservation.toObject,e),workupsList:r.Message.toObjectList(t.getWorkupsList(),proto.ord.ReactionWorkup.toObject,e),outcomesList:r.Message.toObjectList(t.getOutcomesList(),proto.ord.ReactionOutcome.toObject,e),provenance:(o=t.getProvenance())&&proto.ord.ReactionProvenance.toObject(e,o),reactionId:r.Message.getFieldWithDefault(t,10,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Reaction.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Reaction;return proto.ord.Reaction.deserializeBinaryFromReader(o,t)},proto.ord.Reaction.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.ReactionIdentifier;t.readMessage(o,proto.ord.ReactionIdentifier.deserializeBinaryFromReader),e.addIdentifiers(o);break;case 2:o=e.getInputsMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.ReactionInput.deserializeBinaryFromReader,"",new proto.ord.ReactionInput)});break;case 3:o=new proto.ord.ReactionSetup,t.readMessage(o,proto.ord.ReactionSetup.deserializeBinaryFromReader),e.setSetup(o);break;case 4:o=new proto.ord.ReactionConditions,t.readMessage(o,proto.ord.ReactionConditions.deserializeBinaryFromReader),e.setConditions(o);break;case 5:o=new proto.ord.ReactionNotes,t.readMessage(o,proto.ord.ReactionNotes.deserializeBinaryFromReader),e.setNotes(o);break;case 6:o=new proto.ord.ReactionObservation,t.readMessage(o,proto.ord.ReactionObservation.deserializeBinaryFromReader),e.addObservations(o);break;case 7:o=new proto.ord.ReactionWorkup,t.readMessage(o,proto.ord.ReactionWorkup.deserializeBinaryFromReader),e.addWorkups(o);break;case 8:o=new proto.ord.ReactionOutcome,t.readMessage(o,proto.ord.ReactionOutcome.deserializeBinaryFromReader),e.addOutcomes(o);break;case 9:o=new proto.ord.ReactionProvenance,t.readMessage(o,proto.ord.ReactionProvenance.deserializeBinaryFromReader),e.setProvenance(o);break;case 10:o=t.readString(),e.setReactionId(o);break;default:t.skipField()}return e},proto.ord.Reaction.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Reaction.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Reaction.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdentifiersList()).length>0&&t.writeRepeatedMessage(1,o,proto.ord.ReactionIdentifier.serializeBinaryToWriter),(o=e.getInputsMap(!0))&&o.getLength()>0&&o.serializeBinary(2,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.ReactionInput.serializeBinaryToWriter),null!=(o=e.getSetup())&&t.writeMessage(3,o,proto.ord.ReactionSetup.serializeBinaryToWriter),null!=(o=e.getConditions())&&t.writeMessage(4,o,proto.ord.ReactionConditions.serializeBinaryToWriter),null!=(o=e.getNotes())&&t.writeMessage(5,o,proto.ord.ReactionNotes.serializeBinaryToWriter),(o=e.getObservationsList()).length>0&&t.writeRepeatedMessage(6,o,proto.ord.ReactionObservation.serializeBinaryToWriter),(o=e.getWorkupsList()).length>0&&t.writeRepeatedMessage(7,o,proto.ord.ReactionWorkup.serializeBinaryToWriter),(o=e.getOutcomesList()).length>0&&t.writeRepeatedMessage(8,o,proto.ord.ReactionOutcome.serializeBinaryToWriter),null!=(o=e.getProvenance())&&t.writeMessage(9,o,proto.ord.ReactionProvenance.serializeBinaryToWriter),(o=e.getReactionId()).length>0&&t.writeString(10,o)},proto.ord.Reaction.prototype.getIdentifiersList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ReactionIdentifier,1)},proto.ord.Reaction.prototype.setIdentifiersList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.ord.Reaction.prototype.addIdentifiers=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.ord.ReactionIdentifier,t)},proto.ord.Reaction.prototype.clearIdentifiersList=function(){return this.setIdentifiersList([])},proto.ord.Reaction.prototype.getInputsMap=function(e){return r.Message.getMapField(this,2,e,proto.ord.ReactionInput)},proto.ord.Reaction.prototype.clearInputsMap=function(){return this.getInputsMap().clear(),this},proto.ord.Reaction.prototype.getSetup=function(){return r.Message.getWrapperField(this,proto.ord.ReactionSetup,3)},proto.ord.Reaction.prototype.setSetup=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.Reaction.prototype.clearSetup=function(){return this.setSetup(void 0)},proto.ord.Reaction.prototype.hasSetup=function(){return null!=r.Message.getField(this,3)},proto.ord.Reaction.prototype.getConditions=function(){return r.Message.getWrapperField(this,proto.ord.ReactionConditions,4)},proto.ord.Reaction.prototype.setConditions=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.Reaction.prototype.clearConditions=function(){return this.setConditions(void 0)},proto.ord.Reaction.prototype.hasConditions=function(){return null!=r.Message.getField(this,4)},proto.ord.Reaction.prototype.getNotes=function(){return r.Message.getWrapperField(this,proto.ord.ReactionNotes,5)},proto.ord.Reaction.prototype.setNotes=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.Reaction.prototype.clearNotes=function(){return this.setNotes(void 0)},proto.ord.Reaction.prototype.hasNotes=function(){return null!=r.Message.getField(this,5)},proto.ord.Reaction.prototype.getObservationsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ReactionObservation,6)},proto.ord.Reaction.prototype.setObservationsList=function(e){return r.Message.setRepeatedWrapperField(this,6,e)},proto.ord.Reaction.prototype.addObservations=function(e,t){return r.Message.addToRepeatedWrapperField(this,6,e,proto.ord.ReactionObservation,t)},proto.ord.Reaction.prototype.clearObservationsList=function(){return this.setObservationsList([])},proto.ord.Reaction.prototype.getWorkupsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ReactionWorkup,7)},proto.ord.Reaction.prototype.setWorkupsList=function(e){return r.Message.setRepeatedWrapperField(this,7,e)},proto.ord.Reaction.prototype.addWorkups=function(e,t){return r.Message.addToRepeatedWrapperField(this,7,e,proto.ord.ReactionWorkup,t)},proto.ord.Reaction.prototype.clearWorkupsList=function(){return this.setWorkupsList([])},proto.ord.Reaction.prototype.getOutcomesList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ReactionOutcome,8)},proto.ord.Reaction.prototype.setOutcomesList=function(e){return r.Message.setRepeatedWrapperField(this,8,e)},proto.ord.Reaction.prototype.addOutcomes=function(e,t){return r.Message.addToRepeatedWrapperField(this,8,e,proto.ord.ReactionOutcome,t)},proto.ord.Reaction.prototype.clearOutcomesList=function(){return this.setOutcomesList([])},proto.ord.Reaction.prototype.getProvenance=function(){return r.Message.getWrapperField(this,proto.ord.ReactionProvenance,9)},proto.ord.Reaction.prototype.setProvenance=function(e){return r.Message.setWrapperField(this,9,e)},proto.ord.Reaction.prototype.clearProvenance=function(){return this.setProvenance(void 0)},proto.ord.Reaction.prototype.hasProvenance=function(){return null!=r.Message.getField(this,9)},proto.ord.Reaction.prototype.getReactionId=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.ord.Reaction.prototype.setReactionId=function(e){return r.Message.setProto3StringField(this,10,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionIdentifier.prototype.toObject=function(e){return proto.ord.ReactionIdentifier.toObject(e,this)},proto.ord.ReactionIdentifier.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),value:r.Message.getFieldWithDefault(t,3,""),isMapped:r.Message.getBooleanFieldWithDefault(t,4,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionIdentifier.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionIdentifier;return proto.ord.ReactionIdentifier.deserializeBinaryFromReader(o,t)},proto.ord.ReactionIdentifier.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readString(),e.setValue(o);break;case 4:o=t.readBool(),e.setIsMapped(o);break;default:t.skipField()}return e},proto.ord.ReactionIdentifier.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionIdentifier.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionIdentifier.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),(o=e.getValue()).length>0&&t.writeString(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o)},proto.ord.ReactionIdentifier.ReactionIdentifierType={UNSPECIFIED:0,CUSTOM:1,REACTION_SMILES:2,REACTION_CXSMILES:6,RDFILE:3,RINCHI:4,REACTION_TYPE:5},proto.ord.ReactionIdentifier.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionIdentifier.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionIdentifier.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionIdentifier.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionIdentifier.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.ReactionIdentifier.prototype.setValue=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.ReactionIdentifier.prototype.getIsMapped=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.ReactionIdentifier.prototype.setIsMapped=function(e){return r.Message.setField(this,4,e)},proto.ord.ReactionIdentifier.prototype.clearIsMapped=function(){return r.Message.setField(this,4,void 0)},proto.ord.ReactionIdentifier.prototype.hasIsMapped=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionInput.repeatedFields_=[1,2],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionInput.prototype.toObject=function(e){return proto.ord.ReactionInput.toObject(e,this)},proto.ord.ReactionInput.toObject=function(e,t){var o,n={componentsList:r.Message.toObjectList(t.getComponentsList(),proto.ord.Compound.toObject,e),crudeComponentsList:r.Message.toObjectList(t.getCrudeComponentsList(),proto.ord.CrudeComponent.toObject,e),additionOrder:r.Message.getFieldWithDefault(t,3,0),additionTime:(o=t.getAdditionTime())&&proto.ord.Time.toObject(e,o),additionSpeed:(o=t.getAdditionSpeed())&&proto.ord.ReactionInput.AdditionSpeed.toObject(e,o),additionDuration:(o=t.getAdditionDuration())&&proto.ord.Time.toObject(e,o),flowRate:(o=t.getFlowRate())&&proto.ord.FlowRate.toObject(e,o),additionDevice:(o=t.getAdditionDevice())&&proto.ord.ReactionInput.AdditionDevice.toObject(e,o),additionTemperature:(o=t.getAdditionTemperature())&&proto.ord.Temperature.toObject(e,o),texture:(o=t.getTexture())&&proto.ord.Texture.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionInput.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionInput;return proto.ord.ReactionInput.deserializeBinaryFromReader(o,t)},proto.ord.ReactionInput.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Compound;t.readMessage(o,proto.ord.Compound.deserializeBinaryFromReader),e.addComponents(o);break;case 2:o=new proto.ord.CrudeComponent,t.readMessage(o,proto.ord.CrudeComponent.deserializeBinaryFromReader),e.addCrudeComponents(o);break;case 3:o=t.readInt32(),e.setAdditionOrder(o);break;case 4:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setAdditionTime(o);break;case 5:o=new proto.ord.ReactionInput.AdditionSpeed,t.readMessage(o,proto.ord.ReactionInput.AdditionSpeed.deserializeBinaryFromReader),e.setAdditionSpeed(o);break;case 6:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setAdditionDuration(o);break;case 7:o=new proto.ord.FlowRate,t.readMessage(o,proto.ord.FlowRate.deserializeBinaryFromReader),e.setFlowRate(o);break;case 8:o=new proto.ord.ReactionInput.AdditionDevice,t.readMessage(o,proto.ord.ReactionInput.AdditionDevice.deserializeBinaryFromReader),e.setAdditionDevice(o);break;case 9:o=new proto.ord.Temperature,t.readMessage(o,proto.ord.Temperature.deserializeBinaryFromReader),e.setAdditionTemperature(o);break;case 10:o=new proto.ord.Texture,t.readMessage(o,proto.ord.Texture.deserializeBinaryFromReader),e.setTexture(o);break;default:t.skipField()}return e},proto.ord.ReactionInput.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionInput.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionInput.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getComponentsList()).length>0&&t.writeRepeatedMessage(1,o,proto.ord.Compound.serializeBinaryToWriter),(o=e.getCrudeComponentsList()).length>0&&t.writeRepeatedMessage(2,o,proto.ord.CrudeComponent.serializeBinaryToWriter),0!==(o=e.getAdditionOrder())&&t.writeInt32(3,o),null!=(o=e.getAdditionTime())&&t.writeMessage(4,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getAdditionSpeed())&&t.writeMessage(5,o,proto.ord.ReactionInput.AdditionSpeed.serializeBinaryToWriter),null!=(o=e.getAdditionDuration())&&t.writeMessage(6,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getFlowRate())&&t.writeMessage(7,o,proto.ord.FlowRate.serializeBinaryToWriter),null!=(o=e.getAdditionDevice())&&t.writeMessage(8,o,proto.ord.ReactionInput.AdditionDevice.serializeBinaryToWriter),null!=(o=e.getAdditionTemperature())&&t.writeMessage(9,o,proto.ord.Temperature.serializeBinaryToWriter),null!=(o=e.getTexture())&&t.writeMessage(10,o,proto.ord.Texture.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionInput.AdditionSpeed.prototype.toObject=function(e){return proto.ord.ReactionInput.AdditionSpeed.toObject(e,this)},proto.ord.ReactionInput.AdditionSpeed.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionInput.AdditionSpeed.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionInput.AdditionSpeed;return proto.ord.ReactionInput.AdditionSpeed.deserializeBinaryFromReader(o,t)},proto.ord.ReactionInput.AdditionSpeed.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionInput.AdditionSpeed.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionInput.AdditionSpeed.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionInput.AdditionSpeed.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ReactionInput.AdditionSpeed.AdditionSpeedType={UNSPECIFIED:0,ALL_AT_ONCE:1,FAST:2,SLOW:3,DROPWISE:4,CONTINUOUS:5,PORTIONWISE:6},proto.ord.ReactionInput.AdditionSpeed.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionInput.AdditionSpeed.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionInput.AdditionSpeed.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionInput.AdditionSpeed.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionInput.AdditionDevice.prototype.toObject=function(e){return proto.ord.ReactionInput.AdditionDevice.toObject(e,this)},proto.ord.ReactionInput.AdditionDevice.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionInput.AdditionDevice.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionInput.AdditionDevice;return proto.ord.ReactionInput.AdditionDevice.deserializeBinaryFromReader(o,t)},proto.ord.ReactionInput.AdditionDevice.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionInput.AdditionDevice.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionInput.AdditionDevice.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionInput.AdditionDevice.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ReactionInput.AdditionDevice.AdditionDeviceType={UNSPECIFIED:0,CUSTOM:1,NONE:2,SYRINGE:3,CANNULA:4,ADDITION_FUNNEL:5,PIPETTE:6,POSITIVE_DISPLACEMENT_PIPETTE:7,PISTON_PUMP:8,SYRINGE_PUMP:9,PERISTALTIC_PUMP:10},proto.ord.ReactionInput.AdditionDevice.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionInput.AdditionDevice.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionInput.AdditionDevice.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionInput.AdditionDevice.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionInput.prototype.getComponentsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.Compound,1)},proto.ord.ReactionInput.prototype.setComponentsList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.ord.ReactionInput.prototype.addComponents=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.ord.Compound,t)},proto.ord.ReactionInput.prototype.clearComponentsList=function(){return this.setComponentsList([])},proto.ord.ReactionInput.prototype.getCrudeComponentsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.CrudeComponent,2)},proto.ord.ReactionInput.prototype.setCrudeComponentsList=function(e){return r.Message.setRepeatedWrapperField(this,2,e)},proto.ord.ReactionInput.prototype.addCrudeComponents=function(e,t){return r.Message.addToRepeatedWrapperField(this,2,e,proto.ord.CrudeComponent,t)},proto.ord.ReactionInput.prototype.clearCrudeComponentsList=function(){return this.setCrudeComponentsList([])},proto.ord.ReactionInput.prototype.getAdditionOrder=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.ReactionInput.prototype.setAdditionOrder=function(e){return r.Message.setProto3IntField(this,3,e)},proto.ord.ReactionInput.prototype.getAdditionTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,4)},proto.ord.ReactionInput.prototype.setAdditionTime=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.ReactionInput.prototype.clearAdditionTime=function(){return this.setAdditionTime(void 0)},proto.ord.ReactionInput.prototype.hasAdditionTime=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionInput.prototype.getAdditionSpeed=function(){return r.Message.getWrapperField(this,proto.ord.ReactionInput.AdditionSpeed,5)},proto.ord.ReactionInput.prototype.setAdditionSpeed=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ReactionInput.prototype.clearAdditionSpeed=function(){return this.setAdditionSpeed(void 0)},proto.ord.ReactionInput.prototype.hasAdditionSpeed=function(){return null!=r.Message.getField(this,5)},proto.ord.ReactionInput.prototype.getAdditionDuration=function(){return r.Message.getWrapperField(this,proto.ord.Time,6)},proto.ord.ReactionInput.prototype.setAdditionDuration=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.ReactionInput.prototype.clearAdditionDuration=function(){return this.setAdditionDuration(void 0)},proto.ord.ReactionInput.prototype.hasAdditionDuration=function(){return null!=r.Message.getField(this,6)},proto.ord.ReactionInput.prototype.getFlowRate=function(){return r.Message.getWrapperField(this,proto.ord.FlowRate,7)},proto.ord.ReactionInput.prototype.setFlowRate=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.ReactionInput.prototype.clearFlowRate=function(){return this.setFlowRate(void 0)},proto.ord.ReactionInput.prototype.hasFlowRate=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionInput.prototype.getAdditionDevice=function(){return r.Message.getWrapperField(this,proto.ord.ReactionInput.AdditionDevice,8)},proto.ord.ReactionInput.prototype.setAdditionDevice=function(e){return r.Message.setWrapperField(this,8,e)},proto.ord.ReactionInput.prototype.clearAdditionDevice=function(){return this.setAdditionDevice(void 0)},proto.ord.ReactionInput.prototype.hasAdditionDevice=function(){return null!=r.Message.getField(this,8)},proto.ord.ReactionInput.prototype.getAdditionTemperature=function(){return r.Message.getWrapperField(this,proto.ord.Temperature,9)},proto.ord.ReactionInput.prototype.setAdditionTemperature=function(e){return r.Message.setWrapperField(this,9,e)},proto.ord.ReactionInput.prototype.clearAdditionTemperature=function(){return this.setAdditionTemperature(void 0)},proto.ord.ReactionInput.prototype.hasAdditionTemperature=function(){return null!=r.Message.getField(this,9)},proto.ord.ReactionInput.prototype.getTexture=function(){return r.Message.getWrapperField(this,proto.ord.Texture,10)},proto.ord.ReactionInput.prototype.setTexture=function(e){return r.Message.setWrapperField(this,10,e)},proto.ord.ReactionInput.prototype.clearTexture=function(){return this.setTexture(void 0)},proto.ord.ReactionInput.prototype.hasTexture=function(){return null!=r.Message.getField(this,10)},proto.ord.Amount.oneofGroups_=[[1,2,3,5]],proto.ord.Amount.KindCase={KIND_NOT_SET:0,MASS:1,MOLES:2,VOLUME:3,UNMEASURED:5},proto.ord.Amount.prototype.getKindCase=function(){return r.Message.computeOneofCase(this,proto.ord.Amount.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Amount.prototype.toObject=function(e){return proto.ord.Amount.toObject(e,this)},proto.ord.Amount.toObject=function(e,t){var o,n={mass:(o=t.getMass())&&proto.ord.Mass.toObject(e,o),moles:(o=t.getMoles())&&proto.ord.Moles.toObject(e,o),volume:(o=t.getVolume())&&proto.ord.Volume.toObject(e,o),unmeasured:(o=t.getUnmeasured())&&proto.ord.UnmeasuredAmount.toObject(e,o),volumeIncludesSolutes:r.Message.getBooleanFieldWithDefault(t,4,!1)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Amount.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Amount;return proto.ord.Amount.deserializeBinaryFromReader(o,t)},proto.ord.Amount.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Mass;t.readMessage(o,proto.ord.Mass.deserializeBinaryFromReader),e.setMass(o);break;case 2:o=new proto.ord.Moles,t.readMessage(o,proto.ord.Moles.deserializeBinaryFromReader),e.setMoles(o);break;case 3:o=new proto.ord.Volume,t.readMessage(o,proto.ord.Volume.deserializeBinaryFromReader),e.setVolume(o);break;case 5:o=new proto.ord.UnmeasuredAmount,t.readMessage(o,proto.ord.UnmeasuredAmount.deserializeBinaryFromReader),e.setUnmeasured(o);break;case 4:o=t.readBool(),e.setVolumeIncludesSolutes(o);break;default:t.skipField()}return e},proto.ord.Amount.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Amount.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Amount.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getMass())&&t.writeMessage(1,o,proto.ord.Mass.serializeBinaryToWriter),null!=(o=e.getMoles())&&t.writeMessage(2,o,proto.ord.Moles.serializeBinaryToWriter),null!=(o=e.getVolume())&&t.writeMessage(3,o,proto.ord.Volume.serializeBinaryToWriter),null!=(o=e.getUnmeasured())&&t.writeMessage(5,o,proto.ord.UnmeasuredAmount.serializeBinaryToWriter),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o)},proto.ord.Amount.prototype.getMass=function(){return r.Message.getWrapperField(this,proto.ord.Mass,1)},proto.ord.Amount.prototype.setMass=function(e){return r.Message.setOneofWrapperField(this,1,proto.ord.Amount.oneofGroups_[0],e)},proto.ord.Amount.prototype.clearMass=function(){return this.setMass(void 0)},proto.ord.Amount.prototype.hasMass=function(){return null!=r.Message.getField(this,1)},proto.ord.Amount.prototype.getMoles=function(){return r.Message.getWrapperField(this,proto.ord.Moles,2)},proto.ord.Amount.prototype.setMoles=function(e){return r.Message.setOneofWrapperField(this,2,proto.ord.Amount.oneofGroups_[0],e)},proto.ord.Amount.prototype.clearMoles=function(){return this.setMoles(void 0)},proto.ord.Amount.prototype.hasMoles=function(){return null!=r.Message.getField(this,2)},proto.ord.Amount.prototype.getVolume=function(){return r.Message.getWrapperField(this,proto.ord.Volume,3)},proto.ord.Amount.prototype.setVolume=function(e){return r.Message.setOneofWrapperField(this,3,proto.ord.Amount.oneofGroups_[0],e)},proto.ord.Amount.prototype.clearVolume=function(){return this.setVolume(void 0)},proto.ord.Amount.prototype.hasVolume=function(){return null!=r.Message.getField(this,3)},proto.ord.Amount.prototype.getUnmeasured=function(){return r.Message.getWrapperField(this,proto.ord.UnmeasuredAmount,5)},proto.ord.Amount.prototype.setUnmeasured=function(e){return r.Message.setOneofWrapperField(this,5,proto.ord.Amount.oneofGroups_[0],e)},proto.ord.Amount.prototype.clearUnmeasured=function(){return this.setUnmeasured(void 0)},proto.ord.Amount.prototype.hasUnmeasured=function(){return null!=r.Message.getField(this,5)},proto.ord.Amount.prototype.getVolumeIncludesSolutes=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.Amount.prototype.setVolumeIncludesSolutes=function(e){return r.Message.setField(this,4,e)},proto.ord.Amount.prototype.clearVolumeIncludesSolutes=function(){return r.Message.setField(this,4,void 0)},proto.ord.Amount.prototype.hasVolumeIncludesSolutes=function(){return null!=r.Message.getField(this,4)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.UnmeasuredAmount.prototype.toObject=function(e){return proto.ord.UnmeasuredAmount.toObject(e,this)},proto.ord.UnmeasuredAmount.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.UnmeasuredAmount.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.UnmeasuredAmount;return proto.ord.UnmeasuredAmount.deserializeBinaryFromReader(o,t)},proto.ord.UnmeasuredAmount.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.UnmeasuredAmount.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.UnmeasuredAmount.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.UnmeasuredAmount.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.UnmeasuredAmount.UnmeasuredAmountType={UNSPECIFIED:0,CUSTOM:1,SATURATED:2,CATALYTIC:3,TITRATED:4},proto.ord.UnmeasuredAmount.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.UnmeasuredAmount.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.UnmeasuredAmount.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.UnmeasuredAmount.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Texture.prototype.toObject=function(e){return proto.ord.Texture.toObject(e,this)},proto.ord.Texture.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Texture.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Texture;return proto.ord.Texture.deserializeBinaryFromReader(o,t)},proto.ord.Texture.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.Texture.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Texture.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Texture.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.Texture.TextureType={UNSPECIFIED:0,CUSTOM:1,POWDER:2,CRYSTAL:3,OIL:4,AMORPHOUS_SOLID:5,FOAM:6,WAX:7,SEMI_SOLID:8,SOLID:9,LIQUID:10,GAS:11},proto.ord.Texture.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.Texture.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.Texture.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Texture.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.CrudeComponent.prototype.toObject=function(e){return proto.ord.CrudeComponent.toObject(e,this)},proto.ord.CrudeComponent.toObject=function(e,t){var o,n={reactionId:r.Message.getFieldWithDefault(t,1,""),includesWorkup:r.Message.getBooleanFieldWithDefault(t,2,!1),hasDerivedAmount:r.Message.getBooleanFieldWithDefault(t,3,!1),amount:(o=t.getAmount())&&proto.ord.Amount.toObject(e,o),texture:(o=t.getTexture())&&proto.ord.Texture.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.CrudeComponent.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.CrudeComponent;return proto.ord.CrudeComponent.deserializeBinaryFromReader(o,t)},proto.ord.CrudeComponent.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setReactionId(o);break;case 2:o=t.readBool(),e.setIncludesWorkup(o);break;case 3:o=t.readBool(),e.setHasDerivedAmount(o);break;case 4:o=new proto.ord.Amount,t.readMessage(o,proto.ord.Amount.deserializeBinaryFromReader),e.setAmount(o);break;case 5:o=new proto.ord.Texture,t.readMessage(o,proto.ord.Texture.deserializeBinaryFromReader),e.setTexture(o);break;default:t.skipField()}return e},proto.ord.CrudeComponent.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.CrudeComponent.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.CrudeComponent.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getReactionId()).length>0&&t.writeString(1,o),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),null!=(o=r.Message.getField(e,3))&&t.writeBool(3,o),null!=(o=e.getAmount())&&t.writeMessage(4,o,proto.ord.Amount.serializeBinaryToWriter),null!=(o=e.getTexture())&&t.writeMessage(5,o,proto.ord.Texture.serializeBinaryToWriter)},proto.ord.CrudeComponent.prototype.getReactionId=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.CrudeComponent.prototype.setReactionId=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.CrudeComponent.prototype.getIncludesWorkup=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.ord.CrudeComponent.prototype.setIncludesWorkup=function(e){return r.Message.setField(this,2,e)},proto.ord.CrudeComponent.prototype.clearIncludesWorkup=function(){return r.Message.setField(this,2,void 0)},proto.ord.CrudeComponent.prototype.hasIncludesWorkup=function(){return null!=r.Message.getField(this,2)},proto.ord.CrudeComponent.prototype.getHasDerivedAmount=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.ord.CrudeComponent.prototype.setHasDerivedAmount=function(e){return r.Message.setField(this,3,e)},proto.ord.CrudeComponent.prototype.clearHasDerivedAmount=function(){return r.Message.setField(this,3,void 0)},proto.ord.CrudeComponent.prototype.hasHasDerivedAmount=function(){return null!=r.Message.getField(this,3)},proto.ord.CrudeComponent.prototype.getAmount=function(){return r.Message.getWrapperField(this,proto.ord.Amount,4)},proto.ord.CrudeComponent.prototype.setAmount=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.CrudeComponent.prototype.clearAmount=function(){return this.setAmount(void 0)},proto.ord.CrudeComponent.prototype.hasAmount=function(){return null!=r.Message.getField(this,4)},proto.ord.CrudeComponent.prototype.getTexture=function(){return r.Message.getWrapperField(this,proto.ord.Texture,5)},proto.ord.CrudeComponent.prototype.setTexture=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.CrudeComponent.prototype.clearTexture=function(){return this.setTexture(void 0)},proto.ord.CrudeComponent.prototype.hasTexture=function(){return null!=r.Message.getField(this,5)},proto.ord.Compound.repeatedFields_=[1,5],r.Message.GENERATE_TO_OBJECT&&(proto.ord.Compound.prototype.toObject=function(e){return proto.ord.Compound.toObject(e,this)},proto.ord.Compound.toObject=function(e,t){var o,n={identifiersList:r.Message.toObjectList(t.getIdentifiersList(),proto.ord.CompoundIdentifier.toObject,e),amount:(o=t.getAmount())&&proto.ord.Amount.toObject(e,o),reactionRole:r.Message.getFieldWithDefault(t,3,0),isLimiting:r.Message.getBooleanFieldWithDefault(t,4,!1),preparationsList:r.Message.toObjectList(t.getPreparationsList(),proto.ord.CompoundPreparation.toObject,e),source:(o=t.getSource())&&proto.ord.Compound.Source.toObject(e,o),featuresMap:(o=t.getFeaturesMap())?o.toObject(e,proto.ord.Data.toObject):[],analysesMap:(o=t.getAnalysesMap())?o.toObject(e,proto.ord.Analysis.toObject):[],texture:(o=t.getTexture())&&proto.ord.Texture.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Compound.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Compound;return proto.ord.Compound.deserializeBinaryFromReader(o,t)},proto.ord.Compound.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.CompoundIdentifier;t.readMessage(o,proto.ord.CompoundIdentifier.deserializeBinaryFromReader),e.addIdentifiers(o);break;case 2:o=new proto.ord.Amount,t.readMessage(o,proto.ord.Amount.deserializeBinaryFromReader),e.setAmount(o);break;case 3:o=t.readEnum(),e.setReactionRole(o);break;case 4:o=t.readBool(),e.setIsLimiting(o);break;case 5:o=new proto.ord.CompoundPreparation,t.readMessage(o,proto.ord.CompoundPreparation.deserializeBinaryFromReader),e.addPreparations(o);break;case 6:o=new proto.ord.Compound.Source,t.readMessage(o,proto.ord.Compound.Source.deserializeBinaryFromReader),e.setSource(o);break;case 7:o=e.getFeaturesMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 8:o=e.getAnalysesMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Analysis.deserializeBinaryFromReader,"",new proto.ord.Analysis)});break;case 9:o=new proto.ord.Texture,t.readMessage(o,proto.ord.Texture.deserializeBinaryFromReader),e.setTexture(o);break;default:t.skipField()}return e},proto.ord.Compound.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Compound.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Compound.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdentifiersList()).length>0&&t.writeRepeatedMessage(1,o,proto.ord.CompoundIdentifier.serializeBinaryToWriter),null!=(o=e.getAmount())&&t.writeMessage(2,o,proto.ord.Amount.serializeBinaryToWriter),0!==(o=e.getReactionRole())&&t.writeEnum(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o),(o=e.getPreparationsList()).length>0&&t.writeRepeatedMessage(5,o,proto.ord.CompoundPreparation.serializeBinaryToWriter),null!=(o=e.getSource())&&t.writeMessage(6,o,proto.ord.Compound.Source.serializeBinaryToWriter),(o=e.getFeaturesMap(!0))&&o.getLength()>0&&o.serializeBinary(7,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),(o=e.getAnalysesMap(!0))&&o.getLength()>0&&o.serializeBinary(8,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Analysis.serializeBinaryToWriter),null!=(o=e.getTexture())&&t.writeMessage(9,o,proto.ord.Texture.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Compound.Source.prototype.toObject=function(e){return proto.ord.Compound.Source.toObject(e,this)},proto.ord.Compound.Source.toObject=function(e,t){var o={vendor:r.Message.getFieldWithDefault(t,1,""),catalogId:r.Message.getFieldWithDefault(t,2,""),lot:r.Message.getFieldWithDefault(t,3,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Compound.Source.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Compound.Source;return proto.ord.Compound.Source.deserializeBinaryFromReader(o,t)},proto.ord.Compound.Source.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setVendor(o);break;case 2:o=t.readString(),e.setCatalogId(o);break;case 3:o=t.readString(),e.setLot(o);break;default:t.skipField()}return e},proto.ord.Compound.Source.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Compound.Source.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Compound.Source.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getVendor()).length>0&&t.writeString(1,o),(o=e.getCatalogId()).length>0&&t.writeString(2,o),(o=e.getLot()).length>0&&t.writeString(3,o)},proto.ord.Compound.Source.prototype.getVendor=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.Compound.Source.prototype.setVendor=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.Compound.Source.prototype.getCatalogId=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Compound.Source.prototype.setCatalogId=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Compound.Source.prototype.getLot=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.Compound.Source.prototype.setLot=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.Compound.prototype.getIdentifiersList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.CompoundIdentifier,1)},proto.ord.Compound.prototype.setIdentifiersList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.ord.Compound.prototype.addIdentifiers=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.ord.CompoundIdentifier,t)},proto.ord.Compound.prototype.clearIdentifiersList=function(){return this.setIdentifiersList([])},proto.ord.Compound.prototype.getAmount=function(){return r.Message.getWrapperField(this,proto.ord.Amount,2)},proto.ord.Compound.prototype.setAmount=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.Compound.prototype.clearAmount=function(){return this.setAmount(void 0)},proto.ord.Compound.prototype.hasAmount=function(){return null!=r.Message.getField(this,2)},proto.ord.Compound.prototype.getReactionRole=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Compound.prototype.setReactionRole=function(e){return r.Message.setProto3EnumField(this,3,e)},proto.ord.Compound.prototype.getIsLimiting=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.Compound.prototype.setIsLimiting=function(e){return r.Message.setField(this,4,e)},proto.ord.Compound.prototype.clearIsLimiting=function(){return r.Message.setField(this,4,void 0)},proto.ord.Compound.prototype.hasIsLimiting=function(){return null!=r.Message.getField(this,4)},proto.ord.Compound.prototype.getPreparationsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.CompoundPreparation,5)},proto.ord.Compound.prototype.setPreparationsList=function(e){return r.Message.setRepeatedWrapperField(this,5,e)},proto.ord.Compound.prototype.addPreparations=function(e,t){return r.Message.addToRepeatedWrapperField(this,5,e,proto.ord.CompoundPreparation,t)},proto.ord.Compound.prototype.clearPreparationsList=function(){return this.setPreparationsList([])},proto.ord.Compound.prototype.getSource=function(){return r.Message.getWrapperField(this,proto.ord.Compound.Source,6)},proto.ord.Compound.prototype.setSource=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.Compound.prototype.clearSource=function(){return this.setSource(void 0)},proto.ord.Compound.prototype.hasSource=function(){return null!=r.Message.getField(this,6)},proto.ord.Compound.prototype.getFeaturesMap=function(e){return r.Message.getMapField(this,7,e,proto.ord.Data)},proto.ord.Compound.prototype.clearFeaturesMap=function(){return this.getFeaturesMap().clear(),this},proto.ord.Compound.prototype.getAnalysesMap=function(e){return r.Message.getMapField(this,8,e,proto.ord.Analysis)},proto.ord.Compound.prototype.clearAnalysesMap=function(){return this.getAnalysesMap().clear(),this},proto.ord.Compound.prototype.getTexture=function(){return r.Message.getWrapperField(this,proto.ord.Texture,9)},proto.ord.Compound.prototype.setTexture=function(e){return r.Message.setWrapperField(this,9,e)},proto.ord.Compound.prototype.clearTexture=function(){return this.setTexture(void 0)},proto.ord.Compound.prototype.hasTexture=function(){return null!=r.Message.getField(this,9)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionRole.prototype.toObject=function(e){return proto.ord.ReactionRole.toObject(e,this)},proto.ord.ReactionRole.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionRole.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionRole;return proto.ord.ReactionRole.deserializeBinaryFromReader(o,t)},proto.ord.ReactionRole.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return e},proto.ord.ReactionRole.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionRole.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionRole.serializeBinaryToWriter=function(e,t){},proto.ord.ReactionRole.ReactionRoleType={UNSPECIFIED:0,REACTANT:1,REAGENT:2,SOLVENT:3,CATALYST:4,WORKUP:5,INTERNAL_STANDARD:6,AUTHENTIC_STANDARD:7,PRODUCT:8,BYPRODUCT:9,SIDE_PRODUCT:10},r.Message.GENERATE_TO_OBJECT&&(proto.ord.CompoundPreparation.prototype.toObject=function(e){return proto.ord.CompoundPreparation.toObject(e,this)},proto.ord.CompoundPreparation.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),reactionId:r.Message.getFieldWithDefault(t,3,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.CompoundPreparation.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.CompoundPreparation;return proto.ord.CompoundPreparation.deserializeBinaryFromReader(o,t)},proto.ord.CompoundPreparation.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readString(),e.setReactionId(o);break;default:t.skipField()}return e},proto.ord.CompoundPreparation.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.CompoundPreparation.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.CompoundPreparation.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),(o=e.getReactionId()).length>0&&t.writeString(3,o)},proto.ord.CompoundPreparation.CompoundPreparationType={UNSPECIFIED:0,CUSTOM:1,NONE:2,REPURIFIED:3,SPARGED:4,DRIED:5,SYNTHESIZED:6},proto.ord.CompoundPreparation.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.CompoundPreparation.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.CompoundPreparation.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.CompoundPreparation.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.CompoundPreparation.prototype.getReactionId=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.CompoundPreparation.prototype.setReactionId=function(e){return r.Message.setProto3StringField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.CompoundIdentifier.prototype.toObject=function(e){return proto.ord.CompoundIdentifier.toObject(e,this)},proto.ord.CompoundIdentifier.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),value:r.Message.getFieldWithDefault(t,3,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.CompoundIdentifier.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.CompoundIdentifier;return proto.ord.CompoundIdentifier.deserializeBinaryFromReader(o,t)},proto.ord.CompoundIdentifier.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readString(),e.setValue(o);break;default:t.skipField()}return e},proto.ord.CompoundIdentifier.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.CompoundIdentifier.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.CompoundIdentifier.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),(o=e.getValue()).length>0&&t.writeString(3,o)},proto.ord.CompoundIdentifier.CompoundIdentifierType={UNSPECIFIED:0,CUSTOM:1,SMILES:2,INCHI:3,MOLBLOCK:4,IUPAC_NAME:5,NAME:6,CAS_NUMBER:7,PUBCHEM_CID:8,CHEMSPIDER_ID:9,CXSMILES:10,INCHI_KEY:11,XYZ:12,UNIPROT_ID:13,PDB_ID:14,AMINO_ACID_SEQUENCE:15,HELM:16,MDL:17},proto.ord.CompoundIdentifier.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.CompoundIdentifier.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.CompoundIdentifier.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.CompoundIdentifier.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.CompoundIdentifier.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.CompoundIdentifier.prototype.setValue=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.Vessel.repeatedFields_=[4,5],r.Message.GENERATE_TO_OBJECT&&(proto.ord.Vessel.prototype.toObject=function(e){return proto.ord.Vessel.toObject(e,this)},proto.ord.Vessel.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),material:(o=t.getMaterial())&&proto.ord.VesselMaterial.toObject(e,o),preparationsList:r.Message.toObjectList(t.getPreparationsList(),proto.ord.VesselPreparation.toObject,e),attachmentsList:r.Message.toObjectList(t.getAttachmentsList(),proto.ord.VesselAttachment.toObject,e),volume:(o=t.getVolume())&&proto.ord.Volume.toObject(e,o),vesselId:r.Message.getFieldWithDefault(t,7,""),position:r.Message.getFieldWithDefault(t,8,""),row:r.Message.getFieldWithDefault(t,9,""),col:r.Message.getFieldWithDefault(t,10,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Vessel.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Vessel;return proto.ord.Vessel.deserializeBinaryFromReader(o,t)},proto.ord.Vessel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.VesselMaterial,t.readMessage(o,proto.ord.VesselMaterial.deserializeBinaryFromReader),e.setMaterial(o);break;case 4:o=new proto.ord.VesselPreparation,t.readMessage(o,proto.ord.VesselPreparation.deserializeBinaryFromReader),e.addPreparations(o);break;case 5:o=new proto.ord.VesselAttachment,t.readMessage(o,proto.ord.VesselAttachment.deserializeBinaryFromReader),e.addAttachments(o);break;case 6:o=new proto.ord.Volume,t.readMessage(o,proto.ord.Volume.deserializeBinaryFromReader),e.setVolume(o);break;case 7:o=t.readString(),e.setVesselId(o);break;case 8:o=t.readString(),e.setPosition(o);break;case 9:o=t.readString(),e.setRow(o);break;case 10:o=t.readString(),e.setCol(o);break;default:t.skipField()}return e},proto.ord.Vessel.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Vessel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Vessel.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getMaterial())&&t.writeMessage(3,o,proto.ord.VesselMaterial.serializeBinaryToWriter),(o=e.getPreparationsList()).length>0&&t.writeRepeatedMessage(4,o,proto.ord.VesselPreparation.serializeBinaryToWriter),(o=e.getAttachmentsList()).length>0&&t.writeRepeatedMessage(5,o,proto.ord.VesselAttachment.serializeBinaryToWriter),null!=(o=e.getVolume())&&t.writeMessage(6,o,proto.ord.Volume.serializeBinaryToWriter),(o=e.getVesselId()).length>0&&t.writeString(7,o),(o=e.getPosition()).length>0&&t.writeString(8,o),(o=e.getRow()).length>0&&t.writeString(9,o),(o=e.getCol()).length>0&&t.writeString(10,o)},proto.ord.Vessel.VesselType={UNSPECIFIED:0,CUSTOM:1,ROUND_BOTTOM_FLASK:2,VIAL:3,WELL_PLATE:4,MICROWAVE_VIAL:5,TUBE:6,CONTINUOUS_STIRRED_TANK_REACTOR:7,PACKED_BED_REACTOR:8,NMR_TUBE:9,PRESSURE_FLASK:10,PRESSURE_REACTOR:11,ELECTROCHEMICAL_CELL:12},proto.ord.Vessel.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.Vessel.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.Vessel.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Vessel.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Vessel.prototype.getMaterial=function(){return r.Message.getWrapperField(this,proto.ord.VesselMaterial,3)},proto.ord.Vessel.prototype.setMaterial=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.Vessel.prototype.clearMaterial=function(){return this.setMaterial(void 0)},proto.ord.Vessel.prototype.hasMaterial=function(){return null!=r.Message.getField(this,3)},proto.ord.Vessel.prototype.getPreparationsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.VesselPreparation,4)},proto.ord.Vessel.prototype.setPreparationsList=function(e){return r.Message.setRepeatedWrapperField(this,4,e)},proto.ord.Vessel.prototype.addPreparations=function(e,t){return r.Message.addToRepeatedWrapperField(this,4,e,proto.ord.VesselPreparation,t)},proto.ord.Vessel.prototype.clearPreparationsList=function(){return this.setPreparationsList([])},proto.ord.Vessel.prototype.getAttachmentsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.VesselAttachment,5)},proto.ord.Vessel.prototype.setAttachmentsList=function(e){return r.Message.setRepeatedWrapperField(this,5,e)},proto.ord.Vessel.prototype.addAttachments=function(e,t){return r.Message.addToRepeatedWrapperField(this,5,e,proto.ord.VesselAttachment,t)},proto.ord.Vessel.prototype.clearAttachmentsList=function(){return this.setAttachmentsList([])},proto.ord.Vessel.prototype.getVolume=function(){return r.Message.getWrapperField(this,proto.ord.Volume,6)},proto.ord.Vessel.prototype.setVolume=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.Vessel.prototype.clearVolume=function(){return this.setVolume(void 0)},proto.ord.Vessel.prototype.hasVolume=function(){return null!=r.Message.getField(this,6)},proto.ord.Vessel.prototype.getVesselId=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.ord.Vessel.prototype.setVesselId=function(e){return r.Message.setProto3StringField(this,7,e)},proto.ord.Vessel.prototype.getPosition=function(){return r.Message.getFieldWithDefault(this,8,"")},proto.ord.Vessel.prototype.setPosition=function(e){return r.Message.setProto3StringField(this,8,e)},proto.ord.Vessel.prototype.getRow=function(){return r.Message.getFieldWithDefault(this,9,"")},proto.ord.Vessel.prototype.setRow=function(e){return r.Message.setProto3StringField(this,9,e)},proto.ord.Vessel.prototype.getCol=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.ord.Vessel.prototype.setCol=function(e){return r.Message.setProto3StringField(this,10,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.VesselMaterial.prototype.toObject=function(e){return proto.ord.VesselMaterial.toObject(e,this)},proto.ord.VesselMaterial.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.VesselMaterial.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.VesselMaterial;return proto.ord.VesselMaterial.deserializeBinaryFromReader(o,t)},proto.ord.VesselMaterial.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.VesselMaterial.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.VesselMaterial.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.VesselMaterial.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.VesselMaterial.VesselMaterialType={UNSPECIFIED:0,CUSTOM:1,GLASS:2,POLYPROPYLENE:3,PLASTIC:4,METAL:5,QUARTZ:6},proto.ord.VesselMaterial.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.VesselMaterial.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.VesselMaterial.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.VesselMaterial.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.VesselAttachment.prototype.toObject=function(e){return proto.ord.VesselAttachment.toObject(e,this)},proto.ord.VesselAttachment.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.VesselAttachment.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.VesselAttachment;return proto.ord.VesselAttachment.deserializeBinaryFromReader(o,t)},proto.ord.VesselAttachment.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.VesselAttachment.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.VesselAttachment.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.VesselAttachment.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.VesselAttachment.VesselAttachmentType={UNSPECIFIED:0,NONE:1,CUSTOM:2,SEPTUM:3,CAP:4,MAT:5,REFLUX_CONDENSER:6,VENT_NEEDLE:7,DEAN_STARK:8,VACUUM_TUBE:9,ADDITION_FUNNEL:10,DRYING_TUBE:11,ALUMINUM_FOIL:12,THERMOCOUPLE:13,BALLOON:14,GAS_ADAPTER:15,PRESSURE_REGULATOR:16,RELEASE_VALVE:17},proto.ord.VesselAttachment.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.VesselAttachment.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.VesselAttachment.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.VesselAttachment.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.VesselPreparation.prototype.toObject=function(e){return proto.ord.VesselPreparation.toObject(e,this)},proto.ord.VesselPreparation.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.VesselPreparation.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.VesselPreparation;return proto.ord.VesselPreparation.deserializeBinaryFromReader(o,t)},proto.ord.VesselPreparation.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.VesselPreparation.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.VesselPreparation.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.VesselPreparation.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.VesselPreparation.VesselPreparationType={UNSPECIFIED:0,CUSTOM:1,NONE:2,OVEN_DRIED:3,FLAME_DRIED:4,EVACUATED_BACKFILLED:5,PURGED:6},proto.ord.VesselPreparation.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.VesselPreparation.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.VesselPreparation.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.VesselPreparation.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionSetup.prototype.toObject=function(e){return proto.ord.ReactionSetup.toObject(e,this)},proto.ord.ReactionSetup.toObject=function(e,t){var o,n={vessel:(o=t.getVessel())&&proto.ord.Vessel.toObject(e,o),isAutomated:r.Message.getBooleanFieldWithDefault(t,2,!1),automationPlatform:r.Message.getFieldWithDefault(t,3,""),automationCodeMap:(o=t.getAutomationCodeMap())?o.toObject(e,proto.ord.Data.toObject):[],environment:(o=t.getEnvironment())&&proto.ord.ReactionSetup.ReactionEnvironment.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionSetup.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionSetup;return proto.ord.ReactionSetup.deserializeBinaryFromReader(o,t)},proto.ord.ReactionSetup.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Vessel;t.readMessage(o,proto.ord.Vessel.deserializeBinaryFromReader),e.setVessel(o);break;case 2:o=t.readBool(),e.setIsAutomated(o);break;case 3:o=t.readString(),e.setAutomationPlatform(o);break;case 4:o=e.getAutomationCodeMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 5:o=new proto.ord.ReactionSetup.ReactionEnvironment,t.readMessage(o,proto.ord.ReactionSetup.ReactionEnvironment.deserializeBinaryFromReader),e.setEnvironment(o);break;default:t.skipField()}return e},proto.ord.ReactionSetup.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionSetup.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionSetup.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getVessel())&&t.writeMessage(1,o,proto.ord.Vessel.serializeBinaryToWriter),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),(o=e.getAutomationPlatform()).length>0&&t.writeString(3,o),(o=e.getAutomationCodeMap(!0))&&o.getLength()>0&&o.serializeBinary(4,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),null!=(o=e.getEnvironment())&&t.writeMessage(5,o,proto.ord.ReactionSetup.ReactionEnvironment.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionSetup.ReactionEnvironment.prototype.toObject=function(e){return proto.ord.ReactionSetup.ReactionEnvironment.toObject(e,this)},proto.ord.ReactionSetup.ReactionEnvironment.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionSetup.ReactionEnvironment.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionSetup.ReactionEnvironment;return proto.ord.ReactionSetup.ReactionEnvironment.deserializeBinaryFromReader(o,t)},proto.ord.ReactionSetup.ReactionEnvironment.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionSetup.ReactionEnvironment.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionSetup.ReactionEnvironment.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionSetup.ReactionEnvironment.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ReactionSetup.ReactionEnvironment.ReactionEnvironmentType={UNSPECIFIED:0,CUSTOM:1,FUME_HOOD:2,BENCH_TOP:3,GLOVE_BOX:4,GLOVE_BAG:5},proto.ord.ReactionSetup.ReactionEnvironment.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionSetup.ReactionEnvironment.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionSetup.ReactionEnvironment.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionSetup.ReactionEnvironment.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionSetup.prototype.getVessel=function(){return r.Message.getWrapperField(this,proto.ord.Vessel,1)},proto.ord.ReactionSetup.prototype.setVessel=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionSetup.prototype.clearVessel=function(){return this.setVessel(void 0)},proto.ord.ReactionSetup.prototype.hasVessel=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionSetup.prototype.getIsAutomated=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.ord.ReactionSetup.prototype.setIsAutomated=function(e){return r.Message.setField(this,2,e)},proto.ord.ReactionSetup.prototype.clearIsAutomated=function(){return r.Message.setField(this,2,void 0)},proto.ord.ReactionSetup.prototype.hasIsAutomated=function(){return null!=r.Message.getField(this,2)},proto.ord.ReactionSetup.prototype.getAutomationPlatform=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.ReactionSetup.prototype.setAutomationPlatform=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.ReactionSetup.prototype.getAutomationCodeMap=function(e){return r.Message.getMapField(this,4,e,proto.ord.Data)},proto.ord.ReactionSetup.prototype.clearAutomationCodeMap=function(){return this.getAutomationCodeMap().clear(),this},proto.ord.ReactionSetup.prototype.getEnvironment=function(){return r.Message.getWrapperField(this,proto.ord.ReactionSetup.ReactionEnvironment,5)},proto.ord.ReactionSetup.prototype.setEnvironment=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ReactionSetup.prototype.clearEnvironment=function(){return this.setEnvironment(void 0)},proto.ord.ReactionSetup.prototype.hasEnvironment=function(){return null!=r.Message.getField(this,5)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionConditions.prototype.toObject=function(e){return proto.ord.ReactionConditions.toObject(e,this)},proto.ord.ReactionConditions.toObject=function(e,t){var o,n={temperature:(o=t.getTemperature())&&proto.ord.TemperatureConditions.toObject(e,o),pressure:(o=t.getPressure())&&proto.ord.PressureConditions.toObject(e,o),stirring:(o=t.getStirring())&&proto.ord.StirringConditions.toObject(e,o),illumination:(o=t.getIllumination())&&proto.ord.IlluminationConditions.toObject(e,o),electrochemistry:(o=t.getElectrochemistry())&&proto.ord.ElectrochemistryConditions.toObject(e,o),flow:(o=t.getFlow())&&proto.ord.FlowConditions.toObject(e,o),reflux:r.Message.getBooleanFieldWithDefault(t,7,!1),ph:r.Message.getFloatingPointFieldWithDefault(t,8,0),conditionsAreDynamic:r.Message.getBooleanFieldWithDefault(t,9,!1),details:r.Message.getFieldWithDefault(t,10,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionConditions;return proto.ord.ReactionConditions.deserializeBinaryFromReader(o,t)},proto.ord.ReactionConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.TemperatureConditions;t.readMessage(o,proto.ord.TemperatureConditions.deserializeBinaryFromReader),e.setTemperature(o);break;case 2:o=new proto.ord.PressureConditions,t.readMessage(o,proto.ord.PressureConditions.deserializeBinaryFromReader),e.setPressure(o);break;case 3:o=new proto.ord.StirringConditions,t.readMessage(o,proto.ord.StirringConditions.deserializeBinaryFromReader),e.setStirring(o);break;case 4:o=new proto.ord.IlluminationConditions,t.readMessage(o,proto.ord.IlluminationConditions.deserializeBinaryFromReader),e.setIllumination(o);break;case 5:o=new proto.ord.ElectrochemistryConditions,t.readMessage(o,proto.ord.ElectrochemistryConditions.deserializeBinaryFromReader),e.setElectrochemistry(o);break;case 6:o=new proto.ord.FlowConditions,t.readMessage(o,proto.ord.FlowConditions.deserializeBinaryFromReader),e.setFlow(o);break;case 7:o=t.readBool(),e.setReflux(o);break;case 8:o=t.readFloat(),e.setPh(o);break;case 9:o=t.readBool(),e.setConditionsAreDynamic(o);break;case 10:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionConditions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getTemperature())&&t.writeMessage(1,o,proto.ord.TemperatureConditions.serializeBinaryToWriter),null!=(o=e.getPressure())&&t.writeMessage(2,o,proto.ord.PressureConditions.serializeBinaryToWriter),null!=(o=e.getStirring())&&t.writeMessage(3,o,proto.ord.StirringConditions.serializeBinaryToWriter),null!=(o=e.getIllumination())&&t.writeMessage(4,o,proto.ord.IlluminationConditions.serializeBinaryToWriter),null!=(o=e.getElectrochemistry())&&t.writeMessage(5,o,proto.ord.ElectrochemistryConditions.serializeBinaryToWriter),null!=(o=e.getFlow())&&t.writeMessage(6,o,proto.ord.FlowConditions.serializeBinaryToWriter),null!=(o=r.Message.getField(e,7))&&t.writeBool(7,o),null!=(o=r.Message.getField(e,8))&&t.writeFloat(8,o),null!=(o=r.Message.getField(e,9))&&t.writeBool(9,o),(o=e.getDetails()).length>0&&t.writeString(10,o)},proto.ord.ReactionConditions.prototype.getTemperature=function(){return r.Message.getWrapperField(this,proto.ord.TemperatureConditions,1)},proto.ord.ReactionConditions.prototype.setTemperature=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionConditions.prototype.clearTemperature=function(){return this.setTemperature(void 0)},proto.ord.ReactionConditions.prototype.hasTemperature=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionConditions.prototype.getPressure=function(){return r.Message.getWrapperField(this,proto.ord.PressureConditions,2)},proto.ord.ReactionConditions.prototype.setPressure=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.ReactionConditions.prototype.clearPressure=function(){return this.setPressure(void 0)},proto.ord.ReactionConditions.prototype.hasPressure=function(){return null!=r.Message.getField(this,2)},proto.ord.ReactionConditions.prototype.getStirring=function(){return r.Message.getWrapperField(this,proto.ord.StirringConditions,3)},proto.ord.ReactionConditions.prototype.setStirring=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ReactionConditions.prototype.clearStirring=function(){return this.setStirring(void 0)},proto.ord.ReactionConditions.prototype.hasStirring=function(){return null!=r.Message.getField(this,3)},proto.ord.ReactionConditions.prototype.getIllumination=function(){return r.Message.getWrapperField(this,proto.ord.IlluminationConditions,4)},proto.ord.ReactionConditions.prototype.setIllumination=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.ReactionConditions.prototype.clearIllumination=function(){return this.setIllumination(void 0)},proto.ord.ReactionConditions.prototype.hasIllumination=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionConditions.prototype.getElectrochemistry=function(){return r.Message.getWrapperField(this,proto.ord.ElectrochemistryConditions,5)},proto.ord.ReactionConditions.prototype.setElectrochemistry=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ReactionConditions.prototype.clearElectrochemistry=function(){return this.setElectrochemistry(void 0)},proto.ord.ReactionConditions.prototype.hasElectrochemistry=function(){return null!=r.Message.getField(this,5)},proto.ord.ReactionConditions.prototype.getFlow=function(){return r.Message.getWrapperField(this,proto.ord.FlowConditions,6)},proto.ord.ReactionConditions.prototype.setFlow=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.ReactionConditions.prototype.clearFlow=function(){return this.setFlow(void 0)},proto.ord.ReactionConditions.prototype.hasFlow=function(){return null!=r.Message.getField(this,6)},proto.ord.ReactionConditions.prototype.getReflux=function(){return r.Message.getBooleanFieldWithDefault(this,7,!1)},proto.ord.ReactionConditions.prototype.setReflux=function(e){return r.Message.setField(this,7,e)},proto.ord.ReactionConditions.prototype.clearReflux=function(){return r.Message.setField(this,7,void 0)},proto.ord.ReactionConditions.prototype.hasReflux=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionConditions.prototype.getPh=function(){return r.Message.getFloatingPointFieldWithDefault(this,8,0)},proto.ord.ReactionConditions.prototype.setPh=function(e){return r.Message.setField(this,8,e)},proto.ord.ReactionConditions.prototype.clearPh=function(){return r.Message.setField(this,8,void 0)},proto.ord.ReactionConditions.prototype.hasPh=function(){return null!=r.Message.getField(this,8)},proto.ord.ReactionConditions.prototype.getConditionsAreDynamic=function(){return r.Message.getBooleanFieldWithDefault(this,9,!1)},proto.ord.ReactionConditions.prototype.setConditionsAreDynamic=function(e){return r.Message.setField(this,9,e)},proto.ord.ReactionConditions.prototype.clearConditionsAreDynamic=function(){return r.Message.setField(this,9,void 0)},proto.ord.ReactionConditions.prototype.hasConditionsAreDynamic=function(){return null!=r.Message.getField(this,9)},proto.ord.ReactionConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.ord.ReactionConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,10,e)},proto.ord.TemperatureConditions.repeatedFields_=[3],r.Message.GENERATE_TO_OBJECT&&(proto.ord.TemperatureConditions.prototype.toObject=function(e){return proto.ord.TemperatureConditions.toObject(e,this)},proto.ord.TemperatureConditions.toObject=function(e,t){var o,n={control:(o=t.getControl())&&proto.ord.TemperatureConditions.TemperatureControl.toObject(e,o),setpoint:(o=t.getSetpoint())&&proto.ord.Temperature.toObject(e,o),measurementsList:r.Message.toObjectList(t.getMeasurementsList(),proto.ord.TemperatureConditions.TemperatureMeasurement.toObject,e)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.TemperatureConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.TemperatureConditions;return proto.ord.TemperatureConditions.deserializeBinaryFromReader(o,t)},proto.ord.TemperatureConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.TemperatureConditions.TemperatureControl;t.readMessage(o,proto.ord.TemperatureConditions.TemperatureControl.deserializeBinaryFromReader),e.setControl(o);break;case 2:o=new proto.ord.Temperature,t.readMessage(o,proto.ord.Temperature.deserializeBinaryFromReader),e.setSetpoint(o);break;case 3:o=new proto.ord.TemperatureConditions.TemperatureMeasurement,t.readMessage(o,proto.ord.TemperatureConditions.TemperatureMeasurement.deserializeBinaryFromReader),e.addMeasurements(o);break;default:t.skipField()}return e},proto.ord.TemperatureConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.TemperatureConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.TemperatureConditions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getControl())&&t.writeMessage(1,o,proto.ord.TemperatureConditions.TemperatureControl.serializeBinaryToWriter),null!=(o=e.getSetpoint())&&t.writeMessage(2,o,proto.ord.Temperature.serializeBinaryToWriter),(o=e.getMeasurementsList()).length>0&&t.writeRepeatedMessage(3,o,proto.ord.TemperatureConditions.TemperatureMeasurement.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.TemperatureConditions.TemperatureControl.prototype.toObject=function(e){return proto.ord.TemperatureConditions.TemperatureControl.toObject(e,this)},proto.ord.TemperatureConditions.TemperatureControl.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.TemperatureConditions.TemperatureControl.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.TemperatureConditions.TemperatureControl;return proto.ord.TemperatureConditions.TemperatureControl.deserializeBinaryFromReader(o,t)},proto.ord.TemperatureConditions.TemperatureControl.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.TemperatureConditions.TemperatureControl.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.TemperatureConditions.TemperatureControl.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.TemperatureConditions.TemperatureControl.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.TemperatureConditions.TemperatureControl.TemperatureControlType={UNSPECIFIED:0,CUSTOM:1,AMBIENT:2,OIL_BATH:3,WATER_BATH:4,SAND_BATH:5,ICE_BATH:6,DRY_ALUMINUM_PLATE:7,MICROWAVE:8,DRY_ICE_BATH:9,AIR_FAN:10,LIQUID_NITROGEN:11},proto.ord.TemperatureConditions.TemperatureControl.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.TemperatureConditions.TemperatureControl.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.TemperatureConditions.TemperatureControl.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.TemperatureConditions.TemperatureControl.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.toObject=function(e){return proto.ord.TemperatureConditions.TemperatureMeasurement.toObject(e,this)},proto.ord.TemperatureConditions.TemperatureMeasurement.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),time:(o=t.getTime())&&proto.ord.Time.toObject(e,o),temperature:(o=t.getTemperature())&&proto.ord.Temperature.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.TemperatureConditions.TemperatureMeasurement.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.TemperatureConditions.TemperatureMeasurement;return proto.ord.TemperatureConditions.TemperatureMeasurement.deserializeBinaryFromReader(o,t)},proto.ord.TemperatureConditions.TemperatureMeasurement.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setTime(o);break;case 4:o=new proto.ord.Temperature,t.readMessage(o,proto.ord.Temperature.deserializeBinaryFromReader),e.setTemperature(o);break;default:t.skipField()}return e},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.TemperatureConditions.TemperatureMeasurement.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.TemperatureConditions.TemperatureMeasurement.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getTime())&&t.writeMessage(3,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getTemperature())&&t.writeMessage(4,o,proto.ord.Temperature.serializeBinaryToWriter)},proto.ord.TemperatureConditions.TemperatureMeasurement.TemperatureMeasurementType={UNSPECIFIED:0,CUSTOM:1,THERMOCOUPLE_INTERNAL:2,THERMOCOUPLE_EXTERNAL:3,INFRARED:4},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,3)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.setTime=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.hasTime=function(){return null!=r.Message.getField(this,3)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.getTemperature=function(){return r.Message.getWrapperField(this,proto.ord.Temperature,4)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.setTemperature=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.clearTemperature=function(){return this.setTemperature(void 0)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.hasTemperature=function(){return null!=r.Message.getField(this,4)},proto.ord.TemperatureConditions.prototype.getControl=function(){return r.Message.getWrapperField(this,proto.ord.TemperatureConditions.TemperatureControl,1)},proto.ord.TemperatureConditions.prototype.setControl=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.TemperatureConditions.prototype.clearControl=function(){return this.setControl(void 0)},proto.ord.TemperatureConditions.prototype.hasControl=function(){return null!=r.Message.getField(this,1)},proto.ord.TemperatureConditions.prototype.getSetpoint=function(){return r.Message.getWrapperField(this,proto.ord.Temperature,2)},proto.ord.TemperatureConditions.prototype.setSetpoint=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.TemperatureConditions.prototype.clearSetpoint=function(){return this.setSetpoint(void 0)},proto.ord.TemperatureConditions.prototype.hasSetpoint=function(){return null!=r.Message.getField(this,2)},proto.ord.TemperatureConditions.prototype.getMeasurementsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.TemperatureConditions.TemperatureMeasurement,3)},proto.ord.TemperatureConditions.prototype.setMeasurementsList=function(e){return r.Message.setRepeatedWrapperField(this,3,e)},proto.ord.TemperatureConditions.prototype.addMeasurements=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.ord.TemperatureConditions.TemperatureMeasurement,t)},proto.ord.TemperatureConditions.prototype.clearMeasurementsList=function(){return this.setMeasurementsList([])},proto.ord.PressureConditions.repeatedFields_=[4],r.Message.GENERATE_TO_OBJECT&&(proto.ord.PressureConditions.prototype.toObject=function(e){return proto.ord.PressureConditions.toObject(e,this)},proto.ord.PressureConditions.toObject=function(e,t){var o,n={control:(o=t.getControl())&&proto.ord.PressureConditions.PressureControl.toObject(e,o),setpoint:(o=t.getSetpoint())&&proto.ord.Pressure.toObject(e,o),atmosphere:(o=t.getAtmosphere())&&proto.ord.PressureConditions.Atmosphere.toObject(e,o),measurementsList:r.Message.toObjectList(t.getMeasurementsList(),proto.ord.PressureConditions.PressureMeasurement.toObject,e)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.PressureConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.PressureConditions;return proto.ord.PressureConditions.deserializeBinaryFromReader(o,t)},proto.ord.PressureConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.PressureConditions.PressureControl;t.readMessage(o,proto.ord.PressureConditions.PressureControl.deserializeBinaryFromReader),e.setControl(o);break;case 2:o=new proto.ord.Pressure,t.readMessage(o,proto.ord.Pressure.deserializeBinaryFromReader),e.setSetpoint(o);break;case 3:o=new proto.ord.PressureConditions.Atmosphere,t.readMessage(o,proto.ord.PressureConditions.Atmosphere.deserializeBinaryFromReader),e.setAtmosphere(o);break;case 4:o=new proto.ord.PressureConditions.PressureMeasurement,t.readMessage(o,proto.ord.PressureConditions.PressureMeasurement.deserializeBinaryFromReader),e.addMeasurements(o);break;default:t.skipField()}return e},proto.ord.PressureConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.PressureConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.PressureConditions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getControl())&&t.writeMessage(1,o,proto.ord.PressureConditions.PressureControl.serializeBinaryToWriter),null!=(o=e.getSetpoint())&&t.writeMessage(2,o,proto.ord.Pressure.serializeBinaryToWriter),null!=(o=e.getAtmosphere())&&t.writeMessage(3,o,proto.ord.PressureConditions.Atmosphere.serializeBinaryToWriter),(o=e.getMeasurementsList()).length>0&&t.writeRepeatedMessage(4,o,proto.ord.PressureConditions.PressureMeasurement.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.PressureConditions.PressureControl.prototype.toObject=function(e){return proto.ord.PressureConditions.PressureControl.toObject(e,this)},proto.ord.PressureConditions.PressureControl.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.PressureConditions.PressureControl.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.PressureConditions.PressureControl;return proto.ord.PressureConditions.PressureControl.deserializeBinaryFromReader(o,t)},proto.ord.PressureConditions.PressureControl.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.PressureConditions.PressureControl.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.PressureConditions.PressureControl.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.PressureConditions.PressureControl.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.PressureConditions.PressureControl.PressureControlType={UNSPECIFIED:0,CUSTOM:1,AMBIENT:2,SLIGHT_POSITIVE:3,SEALED:4,PRESSURIZED:5},proto.ord.PressureConditions.PressureControl.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.PressureConditions.PressureControl.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.PressureConditions.PressureControl.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.PressureConditions.PressureControl.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.PressureConditions.Atmosphere.prototype.toObject=function(e){return proto.ord.PressureConditions.Atmosphere.toObject(e,this)},proto.ord.PressureConditions.Atmosphere.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.PressureConditions.Atmosphere.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.PressureConditions.Atmosphere;return proto.ord.PressureConditions.Atmosphere.deserializeBinaryFromReader(o,t)},proto.ord.PressureConditions.Atmosphere.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.PressureConditions.Atmosphere.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.PressureConditions.Atmosphere.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.PressureConditions.Atmosphere.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.PressureConditions.Atmosphere.AtmosphereType={UNSPECIFIED:0,CUSTOM:1,AIR:2,NITROGEN:3,ARGON:4,OXYGEN:5,HYDROGEN:6,CARBON_MONOXIDE:7,CARBON_DIOXIDE:8,METHANE:9,AMMONIA:10,OZONE:11,ETHYLENE:12,ACETYLENE:13},proto.ord.PressureConditions.Atmosphere.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.PressureConditions.Atmosphere.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.PressureConditions.Atmosphere.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.PressureConditions.Atmosphere.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.PressureConditions.PressureMeasurement.prototype.toObject=function(e){return proto.ord.PressureConditions.PressureMeasurement.toObject(e,this)},proto.ord.PressureConditions.PressureMeasurement.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),time:(o=t.getTime())&&proto.ord.Time.toObject(e,o),pressure:(o=t.getPressure())&&proto.ord.Pressure.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.PressureConditions.PressureMeasurement.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.PressureConditions.PressureMeasurement;return proto.ord.PressureConditions.PressureMeasurement.deserializeBinaryFromReader(o,t)},proto.ord.PressureConditions.PressureMeasurement.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setTime(o);break;case 4:o=new proto.ord.Pressure,t.readMessage(o,proto.ord.Pressure.deserializeBinaryFromReader),e.setPressure(o);break;default:t.skipField()}return e},proto.ord.PressureConditions.PressureMeasurement.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.PressureConditions.PressureMeasurement.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.PressureConditions.PressureMeasurement.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getTime())&&t.writeMessage(3,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getPressure())&&t.writeMessage(4,o,proto.ord.Pressure.serializeBinaryToWriter)},proto.ord.PressureConditions.PressureMeasurement.PressureMeasurementType={UNSPECIFIED:0,CUSTOM:1,PRESSURE_TRANSDUCER:2},proto.ord.PressureConditions.PressureMeasurement.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.PressureConditions.PressureMeasurement.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.PressureConditions.PressureMeasurement.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.PressureConditions.PressureMeasurement.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.PressureConditions.PressureMeasurement.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,3)},proto.ord.PressureConditions.PressureMeasurement.prototype.setTime=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.PressureConditions.PressureMeasurement.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.PressureConditions.PressureMeasurement.prototype.hasTime=function(){return null!=r.Message.getField(this,3)},proto.ord.PressureConditions.PressureMeasurement.prototype.getPressure=function(){return r.Message.getWrapperField(this,proto.ord.Pressure,4)},proto.ord.PressureConditions.PressureMeasurement.prototype.setPressure=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.PressureConditions.PressureMeasurement.prototype.clearPressure=function(){return this.setPressure(void 0)},proto.ord.PressureConditions.PressureMeasurement.prototype.hasPressure=function(){return null!=r.Message.getField(this,4)};proto.ord.PressureConditions.prototype.getControl=function(){return r.Message.getWrapperField(this,proto.ord.PressureConditions.PressureControl,1)},proto.ord.PressureConditions.prototype.setControl=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.PressureConditions.prototype.clearControl=function(){return this.setControl(void 0)},proto.ord.PressureConditions.prototype.hasControl=function(){return null!=r.Message.getField(this,1)},proto.ord.PressureConditions.prototype.getSetpoint=function(){return r.Message.getWrapperField(this,proto.ord.Pressure,2)},proto.ord.PressureConditions.prototype.setSetpoint=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.PressureConditions.prototype.clearSetpoint=function(){return this.setSetpoint(void 0)},proto.ord.PressureConditions.prototype.hasSetpoint=function(){return null!=r.Message.getField(this,2)},proto.ord.PressureConditions.prototype.getAtmosphere=function(){return r.Message.getWrapperField(this,proto.ord.PressureConditions.Atmosphere,3)},proto.ord.PressureConditions.prototype.setAtmosphere=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.PressureConditions.prototype.clearAtmosphere=function(){return this.setAtmosphere(void 0)},proto.ord.PressureConditions.prototype.hasAtmosphere=function(){return null!=r.Message.getField(this,3)},proto.ord.PressureConditions.prototype.getMeasurementsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.PressureConditions.PressureMeasurement,4)},proto.ord.PressureConditions.prototype.setMeasurementsList=function(e){return r.Message.setRepeatedWrapperField(this,4,e)},proto.ord.PressureConditions.prototype.addMeasurements=function(e,t){return r.Message.addToRepeatedWrapperField(this,4,e,proto.ord.PressureConditions.PressureMeasurement,t)},proto.ord.PressureConditions.prototype.clearMeasurementsList=function(){return this.setMeasurementsList([])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.StirringConditions.prototype.toObject=function(e){return proto.ord.StirringConditions.toObject(e,this)},proto.ord.StirringConditions.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),rate:(o=t.getRate())&&proto.ord.StirringConditions.StirringRate.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.StirringConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.StirringConditions;return proto.ord.StirringConditions.deserializeBinaryFromReader(o,t)},proto.ord.StirringConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.StirringConditions.StirringRate,t.readMessage(o,proto.ord.StirringConditions.StirringRate.deserializeBinaryFromReader),e.setRate(o);break;default:t.skipField()}return e},proto.ord.StirringConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.StirringConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.StirringConditions.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getRate())&&t.writeMessage(3,o,proto.ord.StirringConditions.StirringRate.serializeBinaryToWriter)},proto.ord.StirringConditions.StirringMethodType={UNSPECIFIED:0,CUSTOM:1,NONE:2,STIR_BAR:3,OVERHEAD_MIXER:4,AGITATION:5,BALL_MILLING:6,SONICATION:7},r.Message.GENERATE_TO_OBJECT&&(proto.ord.StirringConditions.StirringRate.prototype.toObject=function(e){return proto.ord.StirringConditions.StirringRate.toObject(e,this)},proto.ord.StirringConditions.StirringRate.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),rpm:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.StirringConditions.StirringRate.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.StirringConditions.StirringRate;return proto.ord.StirringConditions.StirringRate.deserializeBinaryFromReader(o,t)},proto.ord.StirringConditions.StirringRate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readInt32(),e.setRpm(o);break;default:t.skipField()}return e},proto.ord.StirringConditions.StirringRate.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.StirringConditions.StirringRate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.StirringConditions.StirringRate.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),0!==(o=e.getRpm())&&t.writeInt32(3,o)},proto.ord.StirringConditions.StirringRate.StirringRateType={UNSPECIFIED:0,HIGH:1,MEDIUM:2,LOW:3},proto.ord.StirringConditions.StirringRate.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.StirringConditions.StirringRate.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.StirringConditions.StirringRate.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.StirringConditions.StirringRate.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.StirringConditions.StirringRate.prototype.getRpm=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.StirringConditions.StirringRate.prototype.setRpm=function(e){return r.Message.setProto3IntField(this,3,e)},proto.ord.StirringConditions.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.StirringConditions.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.StirringConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.StirringConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.StirringConditions.prototype.getRate=function(){return r.Message.getWrapperField(this,proto.ord.StirringConditions.StirringRate,3)},proto.ord.StirringConditions.prototype.setRate=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.StirringConditions.prototype.clearRate=function(){return this.setRate(void 0)},proto.ord.StirringConditions.prototype.hasRate=function(){return null!=r.Message.getField(this,3)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.IlluminationConditions.prototype.toObject=function(e){return proto.ord.IlluminationConditions.toObject(e,this)},proto.ord.IlluminationConditions.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),peakWavelength:(o=t.getPeakWavelength())&&proto.ord.Wavelength.toObject(e,o),color:r.Message.getFieldWithDefault(t,4,""),distanceToVessel:(o=t.getDistanceToVessel())&&proto.ord.Length.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.IlluminationConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.IlluminationConditions;return proto.ord.IlluminationConditions.deserializeBinaryFromReader(o,t)},proto.ord.IlluminationConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Wavelength,t.readMessage(o,proto.ord.Wavelength.deserializeBinaryFromReader),e.setPeakWavelength(o);break;case 4:o=t.readString(),e.setColor(o);break;case 5:o=new proto.ord.Length,t.readMessage(o,proto.ord.Length.deserializeBinaryFromReader),e.setDistanceToVessel(o);break;default:t.skipField()}return e},proto.ord.IlluminationConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.IlluminationConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.IlluminationConditions.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getPeakWavelength())&&t.writeMessage(3,o,proto.ord.Wavelength.serializeBinaryToWriter),(o=e.getColor()).length>0&&t.writeString(4,o),null!=(o=e.getDistanceToVessel())&&t.writeMessage(5,o,proto.ord.Length.serializeBinaryToWriter)},proto.ord.IlluminationConditions.IlluminationType={UNSPECIFIED:0,CUSTOM:1,AMBIENT:2,DARK:3,LED:4,HALOGEN_LAMP:5,DEUTERIUM_LAMP:6,SOLAR_SIMULATOR:7,BROAD_SPECTRUM:8},proto.ord.IlluminationConditions.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.IlluminationConditions.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.IlluminationConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.IlluminationConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.IlluminationConditions.prototype.getPeakWavelength=function(){return r.Message.getWrapperField(this,proto.ord.Wavelength,3)},proto.ord.IlluminationConditions.prototype.setPeakWavelength=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.IlluminationConditions.prototype.clearPeakWavelength=function(){return this.setPeakWavelength(void 0)},proto.ord.IlluminationConditions.prototype.hasPeakWavelength=function(){return null!=r.Message.getField(this,3)},proto.ord.IlluminationConditions.prototype.getColor=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.IlluminationConditions.prototype.setColor=function(e){return r.Message.setProto3StringField(this,4,e)},proto.ord.IlluminationConditions.prototype.getDistanceToVessel=function(){return r.Message.getWrapperField(this,proto.ord.Length,5)},proto.ord.IlluminationConditions.prototype.setDistanceToVessel=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.IlluminationConditions.prototype.clearDistanceToVessel=function(){return this.setDistanceToVessel(void 0)},proto.ord.IlluminationConditions.prototype.hasDistanceToVessel=function(){return null!=r.Message.getField(this,5)},proto.ord.ElectrochemistryConditions.repeatedFields_=[8],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ElectrochemistryConditions.prototype.toObject=function(e){return proto.ord.ElectrochemistryConditions.toObject(e,this)},proto.ord.ElectrochemistryConditions.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),current:(o=t.getCurrent())&&proto.ord.Current.toObject(e,o),voltage:(o=t.getVoltage())&&proto.ord.Voltage.toObject(e,o),anodeMaterial:r.Message.getFieldWithDefault(t,5,""),cathodeMaterial:r.Message.getFieldWithDefault(t,6,""),electrodeSeparation:(o=t.getElectrodeSeparation())&&proto.ord.Length.toObject(e,o),measurementsList:r.Message.toObjectList(t.getMeasurementsList(),proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.toObject,e),cell:(o=t.getCell())&&proto.ord.ElectrochemistryConditions.ElectrochemistryCell.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ElectrochemistryConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ElectrochemistryConditions;return proto.ord.ElectrochemistryConditions.deserializeBinaryFromReader(o,t)},proto.ord.ElectrochemistryConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Current,t.readMessage(o,proto.ord.Current.deserializeBinaryFromReader),e.setCurrent(o);break;case 4:o=new proto.ord.Voltage,t.readMessage(o,proto.ord.Voltage.deserializeBinaryFromReader),e.setVoltage(o);break;case 5:o=t.readString(),e.setAnodeMaterial(o);break;case 6:o=t.readString(),e.setCathodeMaterial(o);break;case 7:o=new proto.ord.Length,t.readMessage(o,proto.ord.Length.deserializeBinaryFromReader),e.setElectrodeSeparation(o);break;case 8:o=new proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement,t.readMessage(o,proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.deserializeBinaryFromReader),e.addMeasurements(o);break;case 9:o=new proto.ord.ElectrochemistryConditions.ElectrochemistryCell,t.readMessage(o,proto.ord.ElectrochemistryConditions.ElectrochemistryCell.deserializeBinaryFromReader),e.setCell(o);break;default:t.skipField()}return e},proto.ord.ElectrochemistryConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ElectrochemistryConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ElectrochemistryConditions.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getCurrent())&&t.writeMessage(3,o,proto.ord.Current.serializeBinaryToWriter),null!=(o=e.getVoltage())&&t.writeMessage(4,o,proto.ord.Voltage.serializeBinaryToWriter),(o=e.getAnodeMaterial()).length>0&&t.writeString(5,o),(o=e.getCathodeMaterial()).length>0&&t.writeString(6,o),null!=(o=e.getElectrodeSeparation())&&t.writeMessage(7,o,proto.ord.Length.serializeBinaryToWriter),(o=e.getMeasurementsList()).length>0&&t.writeRepeatedMessage(8,o,proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.serializeBinaryToWriter),null!=(o=e.getCell())&&t.writeMessage(9,o,proto.ord.ElectrochemistryConditions.ElectrochemistryCell.serializeBinaryToWriter)},proto.ord.ElectrochemistryConditions.ElectrochemistryType={UNSPECIFIED:0,CUSTOM:1,CONSTANT_CURRENT:2,CONSTANT_VOLTAGE:3},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.toObject=function(e){return proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.toObject(e,this)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.toObject=function(e,t){var o,r={time:(o=t.getTime())&&proto.ord.Time.toObject(e,o),current:(o=t.getCurrent())&&proto.ord.Current.toObject(e,o),voltage:(o=t.getVoltage())&&proto.ord.Voltage.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement;return proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.deserializeBinaryFromReader(o,t)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Time;t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setTime(o);break;case 2:o=new proto.ord.Current,t.readMessage(o,proto.ord.Current.deserializeBinaryFromReader),e.setCurrent(o);break;case 3:o=new proto.ord.Voltage,t.readMessage(o,proto.ord.Voltage.deserializeBinaryFromReader),e.setVoltage(o);break;default:t.skipField()}return e},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getTime())&&t.writeMessage(1,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getCurrent())&&t.writeMessage(2,o,proto.ord.Current.serializeBinaryToWriter),null!=(o=e.getVoltage())&&t.writeMessage(3,o,proto.ord.Voltage.serializeBinaryToWriter)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,1)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.setTime=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.hasTime=function(){return null!=r.Message.getField(this,1)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.getCurrent=function(){return r.Message.getWrapperField(this,proto.ord.Current,2)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.setCurrent=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.clearCurrent=function(){return this.setCurrent(void 0)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.hasCurrent=function(){return null!=r.Message.getField(this,2)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.getVoltage=function(){return r.Message.getWrapperField(this,proto.ord.Voltage,3)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.setVoltage=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.clearVoltage=function(){return this.setVoltage(void 0)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.hasVoltage=function(){return null!=r.Message.getField(this,3)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.toObject=function(e){return proto.ord.ElectrochemistryConditions.ElectrochemistryCell.toObject(e,this)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ElectrochemistryConditions.ElectrochemistryCell.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ElectrochemistryConditions.ElectrochemistryCell;return proto.ord.ElectrochemistryConditions.ElectrochemistryCell.deserializeBinaryFromReader(o,t)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ElectrochemistryConditions.ElectrochemistryCell.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.ElectrochemistryCellType={UNSPECIFIED:0,CUSTOM:1,DIVIDED_CELL:2,UNDIVIDED_CELL:3},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ElectrochemistryConditions.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ElectrochemistryConditions.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ElectrochemistryConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ElectrochemistryConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ElectrochemistryConditions.prototype.getCurrent=function(){return r.Message.getWrapperField(this,proto.ord.Current,3)},proto.ord.ElectrochemistryConditions.prototype.setCurrent=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ElectrochemistryConditions.prototype.clearCurrent=function(){return this.setCurrent(void 0)},proto.ord.ElectrochemistryConditions.prototype.hasCurrent=function(){return null!=r.Message.getField(this,3)},proto.ord.ElectrochemistryConditions.prototype.getVoltage=function(){return r.Message.getWrapperField(this,proto.ord.Voltage,4)},proto.ord.ElectrochemistryConditions.prototype.setVoltage=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.ElectrochemistryConditions.prototype.clearVoltage=function(){return this.setVoltage(void 0)},proto.ord.ElectrochemistryConditions.prototype.hasVoltage=function(){return null!=r.Message.getField(this,4)},proto.ord.ElectrochemistryConditions.prototype.getAnodeMaterial=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.ElectrochemistryConditions.prototype.setAnodeMaterial=function(e){return r.Message.setProto3StringField(this,5,e)},proto.ord.ElectrochemistryConditions.prototype.getCathodeMaterial=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.ord.ElectrochemistryConditions.prototype.setCathodeMaterial=function(e){return r.Message.setProto3StringField(this,6,e)},proto.ord.ElectrochemistryConditions.prototype.getElectrodeSeparation=function(){return r.Message.getWrapperField(this,proto.ord.Length,7)},proto.ord.ElectrochemistryConditions.prototype.setElectrodeSeparation=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.ElectrochemistryConditions.prototype.clearElectrodeSeparation=function(){return this.setElectrodeSeparation(void 0)},proto.ord.ElectrochemistryConditions.prototype.hasElectrodeSeparation=function(){return null!=r.Message.getField(this,7)},proto.ord.ElectrochemistryConditions.prototype.getMeasurementsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement,8)},proto.ord.ElectrochemistryConditions.prototype.setMeasurementsList=function(e){return r.Message.setRepeatedWrapperField(this,8,e)},proto.ord.ElectrochemistryConditions.prototype.addMeasurements=function(e,t){return r.Message.addToRepeatedWrapperField(this,8,e,proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement,t)},proto.ord.ElectrochemistryConditions.prototype.clearMeasurementsList=function(){return this.setMeasurementsList([])},proto.ord.ElectrochemistryConditions.prototype.getCell=function(){return r.Message.getWrapperField(this,proto.ord.ElectrochemistryConditions.ElectrochemistryCell,9)},proto.ord.ElectrochemistryConditions.prototype.setCell=function(e){return r.Message.setWrapperField(this,9,e)},proto.ord.ElectrochemistryConditions.prototype.clearCell=function(){return this.setCell(void 0)},proto.ord.ElectrochemistryConditions.prototype.hasCell=function(){return null!=r.Message.getField(this,9)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.FlowConditions.prototype.toObject=function(e){return proto.ord.FlowConditions.toObject(e,this)},proto.ord.FlowConditions.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),pumpType:r.Message.getFieldWithDefault(t,3,""),tubing:(o=t.getTubing())&&proto.ord.FlowConditions.Tubing.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.FlowConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.FlowConditions;return proto.ord.FlowConditions.deserializeBinaryFromReader(o,t)},proto.ord.FlowConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readString(),e.setPumpType(o);break;case 4:o=new proto.ord.FlowConditions.Tubing,t.readMessage(o,proto.ord.FlowConditions.Tubing.deserializeBinaryFromReader),e.setTubing(o);break;default:t.skipField()}return e},proto.ord.FlowConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.FlowConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.FlowConditions.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),(o=e.getPumpType()).length>0&&t.writeString(3,o),null!=(o=e.getTubing())&&t.writeMessage(4,o,proto.ord.FlowConditions.Tubing.serializeBinaryToWriter)},proto.ord.FlowConditions.FlowType={UNSPECIFIED:0,CUSTOM:1,PLUG_FLOW_REACTOR:2,CONTINUOUS_STIRRED_TANK_REACTOR:3,PACKED_BED_REACTOR:4},r.Message.GENERATE_TO_OBJECT&&(proto.ord.FlowConditions.Tubing.prototype.toObject=function(e){return proto.ord.FlowConditions.Tubing.toObject(e,this)},proto.ord.FlowConditions.Tubing.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),diameter:(o=t.getDiameter())&&proto.ord.Length.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.FlowConditions.Tubing.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.FlowConditions.Tubing;return proto.ord.FlowConditions.Tubing.deserializeBinaryFromReader(o,t)},proto.ord.FlowConditions.Tubing.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Length,t.readMessage(o,proto.ord.Length.deserializeBinaryFromReader),e.setDiameter(o);break;default:t.skipField()}return e},proto.ord.FlowConditions.Tubing.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.FlowConditions.Tubing.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.FlowConditions.Tubing.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getDiameter())&&t.writeMessage(3,o,proto.ord.Length.serializeBinaryToWriter)},proto.ord.FlowConditions.Tubing.TubingType={UNSPECIFIED:0,CUSTOM:1,STEEL:2,COPPER:3,PFA:4,FEP:5,TEFLONAF:6,PTFE:7,GLASS:8,QUARTZ:9,SILICON:10,PDMS:11},proto.ord.FlowConditions.Tubing.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.FlowConditions.Tubing.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.FlowConditions.Tubing.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.FlowConditions.Tubing.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.FlowConditions.Tubing.prototype.getDiameter=function(){return r.Message.getWrapperField(this,proto.ord.Length,3)},proto.ord.FlowConditions.Tubing.prototype.setDiameter=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.FlowConditions.Tubing.prototype.clearDiameter=function(){return this.setDiameter(void 0)},proto.ord.FlowConditions.Tubing.prototype.hasDiameter=function(){return null!=r.Message.getField(this,3)},proto.ord.FlowConditions.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.FlowConditions.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.FlowConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.FlowConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.FlowConditions.prototype.getPumpType=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.FlowConditions.prototype.setPumpType=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.FlowConditions.prototype.getTubing=function(){return r.Message.getWrapperField(this,proto.ord.FlowConditions.Tubing,4)},proto.ord.FlowConditions.prototype.setTubing=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.FlowConditions.prototype.clearTubing=function(){return this.setTubing(void 0)},proto.ord.FlowConditions.prototype.hasTubing=function(){return null!=r.Message.getField(this,4)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionNotes.prototype.toObject=function(e){return proto.ord.ReactionNotes.toObject(e,this)},proto.ord.ReactionNotes.toObject=function(e,t){var o={isHeterogeneous:r.Message.getBooleanFieldWithDefault(t,1,!1),formsPrecipitate:r.Message.getBooleanFieldWithDefault(t,2,!1),isExothermic:r.Message.getBooleanFieldWithDefault(t,3,!1),offgasses:r.Message.getBooleanFieldWithDefault(t,4,!1),isSensitiveToMoisture:r.Message.getBooleanFieldWithDefault(t,5,!1),isSensitiveToOxygen:r.Message.getBooleanFieldWithDefault(t,6,!1),isSensitiveToLight:r.Message.getBooleanFieldWithDefault(t,7,!1),safetyNotes:r.Message.getFieldWithDefault(t,8,""),procedureDetails:r.Message.getFieldWithDefault(t,9,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionNotes.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionNotes;return proto.ord.ReactionNotes.deserializeBinaryFromReader(o,t)},proto.ord.ReactionNotes.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readBool();e.setIsHeterogeneous(o);break;case 2:o=t.readBool(),e.setFormsPrecipitate(o);break;case 3:o=t.readBool(),e.setIsExothermic(o);break;case 4:o=t.readBool(),e.setOffgasses(o);break;case 5:o=t.readBool(),e.setIsSensitiveToMoisture(o);break;case 6:o=t.readBool(),e.setIsSensitiveToOxygen(o);break;case 7:o=t.readBool(),e.setIsSensitiveToLight(o);break;case 8:o=t.readString(),e.setSafetyNotes(o);break;case 9:o=t.readString(),e.setProcedureDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionNotes.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionNotes.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionNotes.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeBool(1,o),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),null!=(o=r.Message.getField(e,3))&&t.writeBool(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o),null!=(o=r.Message.getField(e,5))&&t.writeBool(5,o),null!=(o=r.Message.getField(e,6))&&t.writeBool(6,o),null!=(o=r.Message.getField(e,7))&&t.writeBool(7,o),(o=e.getSafetyNotes()).length>0&&t.writeString(8,o),(o=e.getProcedureDetails()).length>0&&t.writeString(9,o)},proto.ord.ReactionNotes.prototype.getIsHeterogeneous=function(){return r.Message.getBooleanFieldWithDefault(this,1,!1)},proto.ord.ReactionNotes.prototype.setIsHeterogeneous=function(e){return r.Message.setField(this,1,e)},proto.ord.ReactionNotes.prototype.clearIsHeterogeneous=function(){return r.Message.setField(this,1,void 0)},proto.ord.ReactionNotes.prototype.hasIsHeterogeneous=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionNotes.prototype.getFormsPrecipitate=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.ord.ReactionNotes.prototype.setFormsPrecipitate=function(e){return r.Message.setField(this,2,e)},proto.ord.ReactionNotes.prototype.clearFormsPrecipitate=function(){return r.Message.setField(this,2,void 0)},proto.ord.ReactionNotes.prototype.hasFormsPrecipitate=function(){return null!=r.Message.getField(this,2)},proto.ord.ReactionNotes.prototype.getIsExothermic=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.ord.ReactionNotes.prototype.setIsExothermic=function(e){return r.Message.setField(this,3,e)},proto.ord.ReactionNotes.prototype.clearIsExothermic=function(){return r.Message.setField(this,3,void 0)},proto.ord.ReactionNotes.prototype.hasIsExothermic=function(){return null!=r.Message.getField(this,3)},proto.ord.ReactionNotes.prototype.getOffgasses=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.ReactionNotes.prototype.setOffgasses=function(e){return r.Message.setField(this,4,e)},proto.ord.ReactionNotes.prototype.clearOffgasses=function(){return r.Message.setField(this,4,void 0)},proto.ord.ReactionNotes.prototype.hasOffgasses=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionNotes.prototype.getIsSensitiveToMoisture=function(){return r.Message.getBooleanFieldWithDefault(this,5,!1)},proto.ord.ReactionNotes.prototype.setIsSensitiveToMoisture=function(e){return r.Message.setField(this,5,e)},proto.ord.ReactionNotes.prototype.clearIsSensitiveToMoisture=function(){return r.Message.setField(this,5,void 0)},proto.ord.ReactionNotes.prototype.hasIsSensitiveToMoisture=function(){return null!=r.Message.getField(this,5)},proto.ord.ReactionNotes.prototype.getIsSensitiveToOxygen=function(){return r.Message.getBooleanFieldWithDefault(this,6,!1)},proto.ord.ReactionNotes.prototype.setIsSensitiveToOxygen=function(e){return r.Message.setField(this,6,e)},proto.ord.ReactionNotes.prototype.clearIsSensitiveToOxygen=function(){return r.Message.setField(this,6,void 0)},proto.ord.ReactionNotes.prototype.hasIsSensitiveToOxygen=function(){return null!=r.Message.getField(this,6)},proto.ord.ReactionNotes.prototype.getIsSensitiveToLight=function(){return r.Message.getBooleanFieldWithDefault(this,7,!1)},proto.ord.ReactionNotes.prototype.setIsSensitiveToLight=function(e){return r.Message.setField(this,7,e)},proto.ord.ReactionNotes.prototype.clearIsSensitiveToLight=function(){return r.Message.setField(this,7,void 0)},proto.ord.ReactionNotes.prototype.hasIsSensitiveToLight=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionNotes.prototype.getSafetyNotes=function(){return r.Message.getFieldWithDefault(this,8,"")},proto.ord.ReactionNotes.prototype.setSafetyNotes=function(e){return r.Message.setProto3StringField(this,8,e)},proto.ord.ReactionNotes.prototype.getProcedureDetails=function(){return r.Message.getFieldWithDefault(this,9,"")},proto.ord.ReactionNotes.prototype.setProcedureDetails=function(e){return r.Message.setProto3StringField(this,9,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionObservation.prototype.toObject=function(e){return proto.ord.ReactionObservation.toObject(e,this)},proto.ord.ReactionObservation.toObject=function(e,t){var o,n={time:(o=t.getTime())&&proto.ord.Time.toObject(e,o),comment:r.Message.getFieldWithDefault(t,2,""),image:(o=t.getImage())&&proto.ord.Data.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionObservation.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionObservation;return proto.ord.ReactionObservation.deserializeBinaryFromReader(o,t)},proto.ord.ReactionObservation.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Time;t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setTime(o);break;case 2:o=t.readString(),e.setComment(o);break;case 3:o=new proto.ord.Data,t.readMessage(o,proto.ord.Data.deserializeBinaryFromReader),e.setImage(o);break;default:t.skipField()}return e},proto.ord.ReactionObservation.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionObservation.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionObservation.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getTime())&&t.writeMessage(1,o,proto.ord.Time.serializeBinaryToWriter),(o=e.getComment()).length>0&&t.writeString(2,o),null!=(o=e.getImage())&&t.writeMessage(3,o,proto.ord.Data.serializeBinaryToWriter)},proto.ord.ReactionObservation.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,1)},proto.ord.ReactionObservation.prototype.setTime=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionObservation.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.ReactionObservation.prototype.hasTime=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionObservation.prototype.getComment=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionObservation.prototype.setComment=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionObservation.prototype.getImage=function(){return r.Message.getWrapperField(this,proto.ord.Data,3)},proto.ord.ReactionObservation.prototype.setImage=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ReactionObservation.prototype.clearImage=function(){return this.setImage(void 0)},proto.ord.ReactionObservation.prototype.hasImage=function(){return null!=r.Message.getField(this,3)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionWorkup.prototype.toObject=function(e){return proto.ord.ReactionWorkup.toObject(e,this)},proto.ord.ReactionWorkup.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),duration:(o=t.getDuration())&&proto.ord.Time.toObject(e,o),input:(o=t.getInput())&&proto.ord.ReactionInput.toObject(e,o),amount:(o=t.getAmount())&&proto.ord.Amount.toObject(e,o),temperature:(o=t.getTemperature())&&proto.ord.TemperatureConditions.toObject(e,o),keepPhase:r.Message.getFieldWithDefault(t,7,""),stirring:(o=t.getStirring())&&proto.ord.StirringConditions.toObject(e,o),targetPh:r.Message.getFloatingPointFieldWithDefault(t,9,0),isAutomated:r.Message.getBooleanFieldWithDefault(t,10,!1)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionWorkup.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionWorkup;return proto.ord.ReactionWorkup.deserializeBinaryFromReader(o,t)},proto.ord.ReactionWorkup.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setDuration(o);break;case 4:o=new proto.ord.ReactionInput,t.readMessage(o,proto.ord.ReactionInput.deserializeBinaryFromReader),e.setInput(o);break;case 5:o=new proto.ord.Amount,t.readMessage(o,proto.ord.Amount.deserializeBinaryFromReader),e.setAmount(o);break;case 6:o=new proto.ord.TemperatureConditions,t.readMessage(o,proto.ord.TemperatureConditions.deserializeBinaryFromReader),e.setTemperature(o);break;case 7:o=t.readString(),e.setKeepPhase(o);break;case 8:o=new proto.ord.StirringConditions,t.readMessage(o,proto.ord.StirringConditions.deserializeBinaryFromReader),e.setStirring(o);break;case 9:o=t.readFloat(),e.setTargetPh(o);break;case 10:o=t.readBool(),e.setIsAutomated(o);break;default:t.skipField()}return e},proto.ord.ReactionWorkup.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionWorkup.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionWorkup.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getDuration())&&t.writeMessage(3,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getInput())&&t.writeMessage(4,o,proto.ord.ReactionInput.serializeBinaryToWriter),null!=(o=e.getAmount())&&t.writeMessage(5,o,proto.ord.Amount.serializeBinaryToWriter),null!=(o=e.getTemperature())&&t.writeMessage(6,o,proto.ord.TemperatureConditions.serializeBinaryToWriter),(o=e.getKeepPhase()).length>0&&t.writeString(7,o),null!=(o=e.getStirring())&&t.writeMessage(8,o,proto.ord.StirringConditions.serializeBinaryToWriter),null!=(o=r.Message.getField(e,9))&&t.writeFloat(9,o),null!=(o=r.Message.getField(e,10))&&t.writeBool(10,o)},proto.ord.ReactionWorkup.ReactionWorkupType={UNSPECIFIED:0,CUSTOM:1,ADDITION:2,ALIQUOT:3,TEMPERATURE:4,CONCENTRATION:5,EXTRACTION:6,FILTRATION:7,WASH:8,DRY_IN_VACUUM:9,DRY_WITH_MATERIAL:10,FLASH_CHROMATOGRAPHY:11,OTHER_CHROMATOGRAPHY:12,SCAVENGING:13,WAIT:14,STIRRING:15,PH_ADJUST:16,DISSOLUTION:17,DISTILLATION:18},proto.ord.ReactionWorkup.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionWorkup.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionWorkup.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionWorkup.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionWorkup.prototype.getDuration=function(){return r.Message.getWrapperField(this,proto.ord.Time,3)},proto.ord.ReactionWorkup.prototype.setDuration=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ReactionWorkup.prototype.clearDuration=function(){return this.setDuration(void 0)},proto.ord.ReactionWorkup.prototype.hasDuration=function(){return null!=r.Message.getField(this,3)},proto.ord.ReactionWorkup.prototype.getInput=function(){return r.Message.getWrapperField(this,proto.ord.ReactionInput,4)},proto.ord.ReactionWorkup.prototype.setInput=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.ReactionWorkup.prototype.clearInput=function(){return this.setInput(void 0)},proto.ord.ReactionWorkup.prototype.hasInput=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionWorkup.prototype.getAmount=function(){return r.Message.getWrapperField(this,proto.ord.Amount,5)},proto.ord.ReactionWorkup.prototype.setAmount=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ReactionWorkup.prototype.clearAmount=function(){return this.setAmount(void 0)},proto.ord.ReactionWorkup.prototype.hasAmount=function(){return null!=r.Message.getField(this,5)},proto.ord.ReactionWorkup.prototype.getTemperature=function(){return r.Message.getWrapperField(this,proto.ord.TemperatureConditions,6)},proto.ord.ReactionWorkup.prototype.setTemperature=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.ReactionWorkup.prototype.clearTemperature=function(){return this.setTemperature(void 0)},proto.ord.ReactionWorkup.prototype.hasTemperature=function(){return null!=r.Message.getField(this,6)},proto.ord.ReactionWorkup.prototype.getKeepPhase=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.ord.ReactionWorkup.prototype.setKeepPhase=function(e){return r.Message.setProto3StringField(this,7,e)},proto.ord.ReactionWorkup.prototype.getStirring=function(){return r.Message.getWrapperField(this,proto.ord.StirringConditions,8)},proto.ord.ReactionWorkup.prototype.setStirring=function(e){return r.Message.setWrapperField(this,8,e)},proto.ord.ReactionWorkup.prototype.clearStirring=function(){return this.setStirring(void 0)},proto.ord.ReactionWorkup.prototype.hasStirring=function(){return null!=r.Message.getField(this,8)},proto.ord.ReactionWorkup.prototype.getTargetPh=function(){return r.Message.getFloatingPointFieldWithDefault(this,9,0)},proto.ord.ReactionWorkup.prototype.setTargetPh=function(e){return r.Message.setField(this,9,e)},proto.ord.ReactionWorkup.prototype.clearTargetPh=function(){return r.Message.setField(this,9,void 0)},proto.ord.ReactionWorkup.prototype.hasTargetPh=function(){return null!=r.Message.getField(this,9)},proto.ord.ReactionWorkup.prototype.getIsAutomated=function(){return r.Message.getBooleanFieldWithDefault(this,10,!1)},proto.ord.ReactionWorkup.prototype.setIsAutomated=function(e){return r.Message.setField(this,10,e)},proto.ord.ReactionWorkup.prototype.clearIsAutomated=function(){return r.Message.setField(this,10,void 0)},proto.ord.ReactionWorkup.prototype.hasIsAutomated=function(){return null!=r.Message.getField(this,10)},proto.ord.ReactionOutcome.repeatedFields_=[3],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionOutcome.prototype.toObject=function(e){return proto.ord.ReactionOutcome.toObject(e,this)},proto.ord.ReactionOutcome.toObject=function(e,t){var o,n={reactionTime:(o=t.getReactionTime())&&proto.ord.Time.toObject(e,o),conversion:(o=t.getConversion())&&proto.ord.Percentage.toObject(e,o),productsList:r.Message.toObjectList(t.getProductsList(),proto.ord.ProductCompound.toObject,e),analysesMap:(o=t.getAnalysesMap())?o.toObject(e,proto.ord.Analysis.toObject):[]};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionOutcome.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionOutcome;return proto.ord.ReactionOutcome.deserializeBinaryFromReader(o,t)},proto.ord.ReactionOutcome.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Time;t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setReactionTime(o);break;case 2:o=new proto.ord.Percentage,t.readMessage(o,proto.ord.Percentage.deserializeBinaryFromReader),e.setConversion(o);break;case 3:o=new proto.ord.ProductCompound,t.readMessage(o,proto.ord.ProductCompound.deserializeBinaryFromReader),e.addProducts(o);break;case 4:o=e.getAnalysesMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Analysis.deserializeBinaryFromReader,"",new proto.ord.Analysis)});break;default:t.skipField()}return e},proto.ord.ReactionOutcome.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionOutcome.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionOutcome.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getReactionTime())&&t.writeMessage(1,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getConversion())&&t.writeMessage(2,o,proto.ord.Percentage.serializeBinaryToWriter),(o=e.getProductsList()).length>0&&t.writeRepeatedMessage(3,o,proto.ord.ProductCompound.serializeBinaryToWriter),(o=e.getAnalysesMap(!0))&&o.getLength()>0&&o.serializeBinary(4,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Analysis.serializeBinaryToWriter)},proto.ord.ReactionOutcome.prototype.getReactionTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,1)},proto.ord.ReactionOutcome.prototype.setReactionTime=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionOutcome.prototype.clearReactionTime=function(){return this.setReactionTime(void 0)},proto.ord.ReactionOutcome.prototype.hasReactionTime=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionOutcome.prototype.getConversion=function(){return r.Message.getWrapperField(this,proto.ord.Percentage,2)},proto.ord.ReactionOutcome.prototype.setConversion=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.ReactionOutcome.prototype.clearConversion=function(){return this.setConversion(void 0)},proto.ord.ReactionOutcome.prototype.hasConversion=function(){return null!=r.Message.getField(this,2)},proto.ord.ReactionOutcome.prototype.getProductsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ProductCompound,3)},proto.ord.ReactionOutcome.prototype.setProductsList=function(e){return r.Message.setRepeatedWrapperField(this,3,e)},proto.ord.ReactionOutcome.prototype.addProducts=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.ord.ProductCompound,t)},proto.ord.ReactionOutcome.prototype.clearProductsList=function(){return this.setProductsList([])},proto.ord.ReactionOutcome.prototype.getAnalysesMap=function(e){return r.Message.getMapField(this,4,e,proto.ord.Analysis)},proto.ord.ReactionOutcome.prototype.clearAnalysesMap=function(){return this.getAnalysesMap().clear(),this},proto.ord.ProductCompound.repeatedFields_=[1,3],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ProductCompound.prototype.toObject=function(e){return proto.ord.ProductCompound.toObject(e,this)},proto.ord.ProductCompound.toObject=function(e,t){var o,n={identifiersList:r.Message.toObjectList(t.getIdentifiersList(),proto.ord.CompoundIdentifier.toObject,e),isDesiredProduct:r.Message.getBooleanFieldWithDefault(t,2,!1),measurementsList:r.Message.toObjectList(t.getMeasurementsList(),proto.ord.ProductMeasurement.toObject,e),isolatedColor:r.Message.getFieldWithDefault(t,4,""),texture:(o=t.getTexture())&&proto.ord.Texture.toObject(e,o),featuresMap:(o=t.getFeaturesMap())?o.toObject(e,proto.ord.Data.toObject):[],reactionRole:r.Message.getFieldWithDefault(t,7,0)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ProductCompound.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ProductCompound;return proto.ord.ProductCompound.deserializeBinaryFromReader(o,t)},proto.ord.ProductCompound.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.CompoundIdentifier;t.readMessage(o,proto.ord.CompoundIdentifier.deserializeBinaryFromReader),e.addIdentifiers(o);break;case 2:o=t.readBool(),e.setIsDesiredProduct(o);break;case 3:o=new proto.ord.ProductMeasurement,t.readMessage(o,proto.ord.ProductMeasurement.deserializeBinaryFromReader),e.addMeasurements(o);break;case 4:o=t.readString(),e.setIsolatedColor(o);break;case 5:o=new proto.ord.Texture,t.readMessage(o,proto.ord.Texture.deserializeBinaryFromReader),e.setTexture(o);break;case 6:o=e.getFeaturesMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 7:o=t.readEnum(),e.setReactionRole(o);break;default:t.skipField()}return e},proto.ord.ProductCompound.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ProductCompound.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ProductCompound.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdentifiersList()).length>0&&t.writeRepeatedMessage(1,o,proto.ord.CompoundIdentifier.serializeBinaryToWriter),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),(o=e.getMeasurementsList()).length>0&&t.writeRepeatedMessage(3,o,proto.ord.ProductMeasurement.serializeBinaryToWriter),(o=e.getIsolatedColor()).length>0&&t.writeString(4,o),null!=(o=e.getTexture())&&t.writeMessage(5,o,proto.ord.Texture.serializeBinaryToWriter),(o=e.getFeaturesMap(!0))&&o.getLength()>0&&o.serializeBinary(6,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),0!==(o=e.getReactionRole())&&t.writeEnum(7,o)},proto.ord.ProductCompound.prototype.getIdentifiersList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.CompoundIdentifier,1)},proto.ord.ProductCompound.prototype.setIdentifiersList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.ord.ProductCompound.prototype.addIdentifiers=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.ord.CompoundIdentifier,t)},proto.ord.ProductCompound.prototype.clearIdentifiersList=function(){return this.setIdentifiersList([])},proto.ord.ProductCompound.prototype.getIsDesiredProduct=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.ord.ProductCompound.prototype.setIsDesiredProduct=function(e){return r.Message.setField(this,2,e)},proto.ord.ProductCompound.prototype.clearIsDesiredProduct=function(){return r.Message.setField(this,2,void 0)},proto.ord.ProductCompound.prototype.hasIsDesiredProduct=function(){return null!=r.Message.getField(this,2)},proto.ord.ProductCompound.prototype.getMeasurementsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ProductMeasurement,3)},proto.ord.ProductCompound.prototype.setMeasurementsList=function(e){return r.Message.setRepeatedWrapperField(this,3,e)},proto.ord.ProductCompound.prototype.addMeasurements=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.ord.ProductMeasurement,t)},proto.ord.ProductCompound.prototype.clearMeasurementsList=function(){return this.setMeasurementsList([])},proto.ord.ProductCompound.prototype.getIsolatedColor=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.ProductCompound.prototype.setIsolatedColor=function(e){return r.Message.setProto3StringField(this,4,e)},proto.ord.ProductCompound.prototype.getTexture=function(){return r.Message.getWrapperField(this,proto.ord.Texture,5)},proto.ord.ProductCompound.prototype.setTexture=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ProductCompound.prototype.clearTexture=function(){return this.setTexture(void 0)},proto.ord.ProductCompound.prototype.hasTexture=function(){return null!=r.Message.getField(this,5)},proto.ord.ProductCompound.prototype.getFeaturesMap=function(e){return r.Message.getMapField(this,6,e,proto.ord.Data)},proto.ord.ProductCompound.prototype.clearFeaturesMap=function(){return this.getFeaturesMap().clear(),this},proto.ord.ProductCompound.prototype.getReactionRole=function(){return r.Message.getFieldWithDefault(this,7,0)},proto.ord.ProductCompound.prototype.setReactionRole=function(e){return r.Message.setProto3EnumField(this,7,e)},proto.ord.ProductMeasurement.oneofGroups_=[[8,9,10,11]],proto.ord.ProductMeasurement.ValueCase={VALUE_NOT_SET:0,PERCENTAGE:8,FLOAT_VALUE:9,STRING_VALUE:10,AMOUNT:11},proto.ord.ProductMeasurement.prototype.getValueCase=function(){return r.Message.computeOneofCase(this,proto.ord.ProductMeasurement.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ProductMeasurement.prototype.toObject=function(e){return proto.ord.ProductMeasurement.toObject(e,this)},proto.ord.ProductMeasurement.toObject=function(e,t){var o,n={analysisKey:r.Message.getFieldWithDefault(t,1,""),type:r.Message.getFieldWithDefault(t,2,0),details:r.Message.getFieldWithDefault(t,3,""),usesInternalStandard:r.Message.getBooleanFieldWithDefault(t,4,!1),isNormalized:r.Message.getBooleanFieldWithDefault(t,5,!1),usesAuthenticStandard:r.Message.getBooleanFieldWithDefault(t,6,!1),authenticStandard:(o=t.getAuthenticStandard())&&proto.ord.Compound.toObject(e,o),percentage:(o=t.getPercentage())&&proto.ord.Percentage.toObject(e,o),floatValue:(o=t.getFloatValue())&&proto.ord.FloatValue.toObject(e,o),stringValue:r.Message.getFieldWithDefault(t,10,""),amount:(o=t.getAmount())&&proto.ord.Amount.toObject(e,o),retentionTime:(o=t.getRetentionTime())&&proto.ord.Time.toObject(e,o),massSpecDetails:(o=t.getMassSpecDetails())&&proto.ord.ProductMeasurement.MassSpecMeasurementDetails.toObject(e,o),selectivity:(o=t.getSelectivity())&&proto.ord.ProductMeasurement.Selectivity.toObject(e,o),wavelength:(o=t.getWavelength())&&proto.ord.Wavelength.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ProductMeasurement.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ProductMeasurement;return proto.ord.ProductMeasurement.deserializeBinaryFromReader(o,t)},proto.ord.ProductMeasurement.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setAnalysisKey(o);break;case 2:o=t.readEnum(),e.setType(o);break;case 3:o=t.readString(),e.setDetails(o);break;case 4:o=t.readBool(),e.setUsesInternalStandard(o);break;case 5:o=t.readBool(),e.setIsNormalized(o);break;case 6:o=t.readBool(),e.setUsesAuthenticStandard(o);break;case 7:o=new proto.ord.Compound,t.readMessage(o,proto.ord.Compound.deserializeBinaryFromReader),e.setAuthenticStandard(o);break;case 8:o=new proto.ord.Percentage,t.readMessage(o,proto.ord.Percentage.deserializeBinaryFromReader),e.setPercentage(o);break;case 9:o=new proto.ord.FloatValue,t.readMessage(o,proto.ord.FloatValue.deserializeBinaryFromReader),e.setFloatValue(o);break;case 10:o=t.readString(),e.setStringValue(o);break;case 11:o=new proto.ord.Amount,t.readMessage(o,proto.ord.Amount.deserializeBinaryFromReader),e.setAmount(o);break;case 12:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setRetentionTime(o);break;case 13:o=new proto.ord.ProductMeasurement.MassSpecMeasurementDetails,t.readMessage(o,proto.ord.ProductMeasurement.MassSpecMeasurementDetails.deserializeBinaryFromReader),e.setMassSpecDetails(o);break;case 14:o=new proto.ord.ProductMeasurement.Selectivity,t.readMessage(o,proto.ord.ProductMeasurement.Selectivity.deserializeBinaryFromReader),e.setSelectivity(o);break;case 15:o=new proto.ord.Wavelength,t.readMessage(o,proto.ord.Wavelength.deserializeBinaryFromReader),e.setWavelength(o);break;default:t.skipField()}return e},proto.ord.ProductMeasurement.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ProductMeasurement.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ProductMeasurement.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getAnalysisKey()).length>0&&t.writeString(1,o),0!==(o=e.getType())&&t.writeEnum(2,o),(o=e.getDetails()).length>0&&t.writeString(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o),null!=(o=r.Message.getField(e,5))&&t.writeBool(5,o),null!=(o=r.Message.getField(e,6))&&t.writeBool(6,o),null!=(o=e.getAuthenticStandard())&&t.writeMessage(7,o,proto.ord.Compound.serializeBinaryToWriter),null!=(o=e.getPercentage())&&t.writeMessage(8,o,proto.ord.Percentage.serializeBinaryToWriter),null!=(o=e.getFloatValue())&&t.writeMessage(9,o,proto.ord.FloatValue.serializeBinaryToWriter),null!=(o=r.Message.getField(e,10))&&t.writeString(10,o),null!=(o=e.getAmount())&&t.writeMessage(11,o,proto.ord.Amount.serializeBinaryToWriter),null!=(o=e.getRetentionTime())&&t.writeMessage(12,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getMassSpecDetails())&&t.writeMessage(13,o,proto.ord.ProductMeasurement.MassSpecMeasurementDetails.serializeBinaryToWriter),null!=(o=e.getSelectivity())&&t.writeMessage(14,o,proto.ord.ProductMeasurement.Selectivity.serializeBinaryToWriter),null!=(o=e.getWavelength())&&t.writeMessage(15,o,proto.ord.Wavelength.serializeBinaryToWriter)},proto.ord.ProductMeasurement.ProductMeasurementType={UNSPECIFIED:0,CUSTOM:1,IDENTITY:2,YIELD:3,SELECTIVITY:4,PURITY:5,AREA:6,COUNTS:7,INTENSITY:8,AMOUNT:9},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.repeatedFields_=[5],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.toObject=function(e){return proto.ord.ProductMeasurement.MassSpecMeasurementDetails.toObject(e,this)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),ticMinimumMz:r.Message.getFloatingPointFieldWithDefault(t,3,0),ticMaximumMz:r.Message.getFloatingPointFieldWithDefault(t,4,0),eicMassesList:null==(o=r.Message.getRepeatedFloatingPointField(t,5))?void 0:o};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ProductMeasurement.MassSpecMeasurementDetails.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ProductMeasurement.MassSpecMeasurementDetails;return proto.ord.ProductMeasurement.MassSpecMeasurementDetails.deserializeBinaryFromReader(o,t)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readFloat(),e.setTicMinimumMz(o);break;case 4:o=t.readFloat(),e.setTicMaximumMz(o);break;case 5:for(var r=t.isDelimited()?t.readPackedFloat():[t.readFloat()],n=0;n<r.length;n++)e.addEicMasses(r[n]);break;default:t.skipField()}return e},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ProductMeasurement.MassSpecMeasurementDetails.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=r.Message.getField(e,3))&&t.writeFloat(3,o),null!=(o=r.Message.getField(e,4))&&t.writeFloat(4,o),(o=e.getEicMassesList()).length>0&&t.writePackedFloat(5,o)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.MassSpecMeasurementType={UNSPECIFIED:0,CUSTOM:1,TIC:2,TIC_POSITIVE:3,TIC_NEGATIVE:4,EIC:5},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getTicMinimumMz=function(){return r.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setTicMinimumMz=function(e){return r.Message.setField(this,3,e)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.clearTicMinimumMz=function(){return r.Message.setField(this,3,void 0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.hasTicMinimumMz=function(){return null!=r.Message.getField(this,3)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getTicMaximumMz=function(){return r.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setTicMaximumMz=function(e){return r.Message.setField(this,4,e)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.clearTicMaximumMz=function(){return r.Message.setField(this,4,void 0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.hasTicMaximumMz=function(){return null!=r.Message.getField(this,4)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getEicMassesList=function(){return r.Message.getRepeatedFloatingPointField(this,5)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setEicMassesList=function(e){return r.Message.setField(this,5,e||[])},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.addEicMasses=function(e,t){return r.Message.addToRepeatedField(this,5,e,t)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.clearEicMassesList=function(){return this.setEicMassesList([])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ProductMeasurement.Selectivity.prototype.toObject=function(e){return proto.ord.ProductMeasurement.Selectivity.toObject(e,this)},proto.ord.ProductMeasurement.Selectivity.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ProductMeasurement.Selectivity.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ProductMeasurement.Selectivity;return proto.ord.ProductMeasurement.Selectivity.deserializeBinaryFromReader(o,t)},proto.ord.ProductMeasurement.Selectivity.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ProductMeasurement.Selectivity.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ProductMeasurement.Selectivity.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ProductMeasurement.Selectivity.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ProductMeasurement.Selectivity.SelectivityType={UNSPECIFIED:0,CUSTOM:1,EE:2,ER:3,DR:4,EZ:5,ZE:6},proto.ord.ProductMeasurement.Selectivity.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ProductMeasurement.Selectivity.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ProductMeasurement.Selectivity.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ProductMeasurement.Selectivity.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ProductMeasurement.prototype.getAnalysisKey=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.ProductMeasurement.prototype.setAnalysisKey=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.ProductMeasurement.prototype.getType=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.ord.ProductMeasurement.prototype.setType=function(e){return r.Message.setProto3EnumField(this,2,e)},proto.ord.ProductMeasurement.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.ProductMeasurement.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.ProductMeasurement.prototype.getUsesInternalStandard=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.ProductMeasurement.prototype.setUsesInternalStandard=function(e){return r.Message.setField(this,4,e)},proto.ord.ProductMeasurement.prototype.clearUsesInternalStandard=function(){return r.Message.setField(this,4,void 0)},proto.ord.ProductMeasurement.prototype.hasUsesInternalStandard=function(){return null!=r.Message.getField(this,4)},proto.ord.ProductMeasurement.prototype.getIsNormalized=function(){return r.Message.getBooleanFieldWithDefault(this,5,!1)},proto.ord.ProductMeasurement.prototype.setIsNormalized=function(e){return r.Message.setField(this,5,e)},proto.ord.ProductMeasurement.prototype.clearIsNormalized=function(){return r.Message.setField(this,5,void 0)},proto.ord.ProductMeasurement.prototype.hasIsNormalized=function(){return null!=r.Message.getField(this,5)},proto.ord.ProductMeasurement.prototype.getUsesAuthenticStandard=function(){return r.Message.getBooleanFieldWithDefault(this,6,!1)},proto.ord.ProductMeasurement.prototype.setUsesAuthenticStandard=function(e){return r.Message.setField(this,6,e)},proto.ord.ProductMeasurement.prototype.clearUsesAuthenticStandard=function(){return r.Message.setField(this,6,void 0)},proto.ord.ProductMeasurement.prototype.hasUsesAuthenticStandard=function(){return null!=r.Message.getField(this,6)},proto.ord.ProductMeasurement.prototype.getAuthenticStandard=function(){return r.Message.getWrapperField(this,proto.ord.Compound,7)},proto.ord.ProductMeasurement.prototype.setAuthenticStandard=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.ProductMeasurement.prototype.clearAuthenticStandard=function(){return this.setAuthenticStandard(void 0)},proto.ord.ProductMeasurement.prototype.hasAuthenticStandard=function(){return null!=r.Message.getField(this,7)},proto.ord.ProductMeasurement.prototype.getPercentage=function(){return r.Message.getWrapperField(this,proto.ord.Percentage,8)},proto.ord.ProductMeasurement.prototype.setPercentage=function(e){return r.Message.setOneofWrapperField(this,8,proto.ord.ProductMeasurement.oneofGroups_[0],e)},proto.ord.ProductMeasurement.prototype.clearPercentage=function(){return this.setPercentage(void 0)},proto.ord.ProductMeasurement.prototype.hasPercentage=function(){return null!=r.Message.getField(this,8)},proto.ord.ProductMeasurement.prototype.getFloatValue=function(){return r.Message.getWrapperField(this,proto.ord.FloatValue,9)},proto.ord.ProductMeasurement.prototype.setFloatValue=function(e){return r.Message.setOneofWrapperField(this,9,proto.ord.ProductMeasurement.oneofGroups_[0],e)},proto.ord.ProductMeasurement.prototype.clearFloatValue=function(){return this.setFloatValue(void 0)},proto.ord.ProductMeasurement.prototype.hasFloatValue=function(){return null!=r.Message.getField(this,9)},proto.ord.ProductMeasurement.prototype.getStringValue=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.ord.ProductMeasurement.prototype.setStringValue=function(e){return r.Message.setOneofField(this,10,proto.ord.ProductMeasurement.oneofGroups_[0],e)},proto.ord.ProductMeasurement.prototype.clearStringValue=function(){return r.Message.setOneofField(this,10,proto.ord.ProductMeasurement.oneofGroups_[0],void 0)},proto.ord.ProductMeasurement.prototype.hasStringValue=function(){return null!=r.Message.getField(this,10)},proto.ord.ProductMeasurement.prototype.getAmount=function(){return r.Message.getWrapperField(this,proto.ord.Amount,11)},proto.ord.ProductMeasurement.prototype.setAmount=function(e){return r.Message.setOneofWrapperField(this,11,proto.ord.ProductMeasurement.oneofGroups_[0],e)},proto.ord.ProductMeasurement.prototype.clearAmount=function(){return this.setAmount(void 0)},proto.ord.ProductMeasurement.prototype.hasAmount=function(){return null!=r.Message.getField(this,11)},proto.ord.ProductMeasurement.prototype.getRetentionTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,12)},proto.ord.ProductMeasurement.prototype.setRetentionTime=function(e){return r.Message.setWrapperField(this,12,e)},proto.ord.ProductMeasurement.prototype.clearRetentionTime=function(){return this.setRetentionTime(void 0)},proto.ord.ProductMeasurement.prototype.hasRetentionTime=function(){return null!=r.Message.getField(this,12)},proto.ord.ProductMeasurement.prototype.getMassSpecDetails=function(){return r.Message.getWrapperField(this,proto.ord.ProductMeasurement.MassSpecMeasurementDetails,13)},proto.ord.ProductMeasurement.prototype.setMassSpecDetails=function(e){return r.Message.setWrapperField(this,13,e)},proto.ord.ProductMeasurement.prototype.clearMassSpecDetails=function(){return this.setMassSpecDetails(void 0)},proto.ord.ProductMeasurement.prototype.hasMassSpecDetails=function(){return null!=r.Message.getField(this,13)},proto.ord.ProductMeasurement.prototype.getSelectivity=function(){return r.Message.getWrapperField(this,proto.ord.ProductMeasurement.Selectivity,14)},proto.ord.ProductMeasurement.prototype.setSelectivity=function(e){return r.Message.setWrapperField(this,14,e)},proto.ord.ProductMeasurement.prototype.clearSelectivity=function(){return this.setSelectivity(void 0)},proto.ord.ProductMeasurement.prototype.hasSelectivity=function(){return null!=r.Message.getField(this,14)},proto.ord.ProductMeasurement.prototype.getWavelength=function(){return r.Message.getWrapperField(this,proto.ord.Wavelength,15)},proto.ord.ProductMeasurement.prototype.setWavelength=function(e){return r.Message.setWrapperField(this,15,e)},proto.ord.ProductMeasurement.prototype.clearWavelength=function(){return this.setWavelength(void 0)},proto.ord.ProductMeasurement.prototype.hasWavelength=function(){return null!=r.Message.getField(this,15)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.DateTime.prototype.toObject=function(e){return proto.ord.DateTime.toObject(e,this)},proto.ord.DateTime.toObject=function(e,t){var o={value:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.DateTime.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.DateTime;return proto.ord.DateTime.deserializeBinaryFromReader(o,t)},proto.ord.DateTime.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)if(1===t.getFieldNumber()){var o=t.readString();e.setValue(o)}else t.skipField();return e},proto.ord.DateTime.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.DateTime.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.DateTime.serializeBinaryToWriter=function(e,t){var o;(o=e.getValue()).length>0&&t.writeString(1,o)},proto.ord.DateTime.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.DateTime.prototype.setValue=function(e){return r.Message.setProto3StringField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Analysis.prototype.toObject=function(e){return proto.ord.Analysis.toObject(e,this)},proto.ord.Analysis.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),chmoId:r.Message.getFieldWithDefault(t,3,0),isOfIsolatedSpecies:r.Message.getBooleanFieldWithDefault(t,4,!1),dataMap:(o=t.getDataMap())?o.toObject(e,proto.ord.Data.toObject):[],instrumentManufacturer:r.Message.getFieldWithDefault(t,6,""),instrumentLastCalibrated:(o=t.getInstrumentLastCalibrated())&&proto.ord.DateTime.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Analysis.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Analysis;return proto.ord.Analysis.deserializeBinaryFromReader(o,t)},proto.ord.Analysis.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readInt32(),e.setChmoId(o);break;case 4:o=t.readBool(),e.setIsOfIsolatedSpecies(o);break;case 5:o=e.getDataMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 6:o=t.readString(),e.setInstrumentManufacturer(o);break;case 7:o=new proto.ord.DateTime,t.readMessage(o,proto.ord.DateTime.deserializeBinaryFromReader),e.setInstrumentLastCalibrated(o);break;default:t.skipField()}return e},proto.ord.Analysis.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Analysis.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Analysis.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),0!==(o=e.getChmoId())&&t.writeInt32(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o),(o=e.getDataMap(!0))&&o.getLength()>0&&o.serializeBinary(5,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),(o=e.getInstrumentManufacturer()).length>0&&t.writeString(6,o),null!=(o=e.getInstrumentLastCalibrated())&&t.writeMessage(7,o,proto.ord.DateTime.serializeBinaryToWriter)},proto.ord.Analysis.AnalysisType={UNSPECIFIED:0,CUSTOM:1,LC:2,GC:3,IR:4,NMR_1H:5,NMR_13C:6,NMR_OTHER:7,MP:8,UV:9,TLC:10,MS:11,HRMS:12,MSMS:13,WEIGHT:14,LCMS:15,GCMS:16,ELSD:17,CD:18,SFC:19,EPR:20,XRD:21,RAMAN:22,ED:23,OPTICAL_ROTATION:24,CAD:25},proto.ord.Analysis.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.Analysis.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.Analysis.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Analysis.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Analysis.prototype.getChmoId=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Analysis.prototype.setChmoId=function(e){return r.Message.setProto3IntField(this,3,e)},proto.ord.Analysis.prototype.getIsOfIsolatedSpecies=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.Analysis.prototype.setIsOfIsolatedSpecies=function(e){return r.Message.setField(this,4,e)},proto.ord.Analysis.prototype.clearIsOfIsolatedSpecies=function(){return r.Message.setField(this,4,void 0)},proto.ord.Analysis.prototype.hasIsOfIsolatedSpecies=function(){return null!=r.Message.getField(this,4)},proto.ord.Analysis.prototype.getDataMap=function(e){return r.Message.getMapField(this,5,e,proto.ord.Data)},proto.ord.Analysis.prototype.clearDataMap=function(){return this.getDataMap().clear(),this},proto.ord.Analysis.prototype.getInstrumentManufacturer=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.ord.Analysis.prototype.setInstrumentManufacturer=function(e){return r.Message.setProto3StringField(this,6,e)},proto.ord.Analysis.prototype.getInstrumentLastCalibrated=function(){return r.Message.getWrapperField(this,proto.ord.DateTime,7)},proto.ord.Analysis.prototype.setInstrumentLastCalibrated=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.Analysis.prototype.clearInstrumentLastCalibrated=function(){return this.setInstrumentLastCalibrated(void 0)},proto.ord.Analysis.prototype.hasInstrumentLastCalibrated=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionProvenance.repeatedFields_=[8],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionProvenance.prototype.toObject=function(e){return proto.ord.ReactionProvenance.toObject(e,this)},proto.ord.ReactionProvenance.toObject=function(e,t){var o,n={experimenter:(o=t.getExperimenter())&&proto.ord.Person.toObject(e,o),city:r.Message.getFieldWithDefault(t,2,""),experimentStart:(o=t.getExperimentStart())&&proto.ord.DateTime.toObject(e,o),doi:r.Message.getFieldWithDefault(t,4,""),patent:r.Message.getFieldWithDefault(t,5,""),publicationUrl:r.Message.getFieldWithDefault(t,6,""),recordCreated:(o=t.getRecordCreated())&&proto.ord.RecordEvent.toObject(e,o),recordModifiedList:r.Message.toObjectList(t.getRecordModifiedList(),proto.ord.RecordEvent.toObject,e),reactionMetadataMap:(o=t.getReactionMetadataMap())?o.toObject(e,proto.ord.Data.toObject):[],isMined:r.Message.getBooleanFieldWithDefault(t,10,!1)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionProvenance.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionProvenance;return proto.ord.ReactionProvenance.deserializeBinaryFromReader(o,t)},proto.ord.ReactionProvenance.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Person;t.readMessage(o,proto.ord.Person.deserializeBinaryFromReader),e.setExperimenter(o);break;case 2:o=t.readString(),e.setCity(o);break;case 3:o=new proto.ord.DateTime,t.readMessage(o,proto.ord.DateTime.deserializeBinaryFromReader),e.setExperimentStart(o);break;case 4:o=t.readString(),e.setDoi(o);break;case 5:o=t.readString(),e.setPatent(o);break;case 6:o=t.readString(),e.setPublicationUrl(o);break;case 7:o=new proto.ord.RecordEvent,t.readMessage(o,proto.ord.RecordEvent.deserializeBinaryFromReader),e.setRecordCreated(o);break;case 8:o=new proto.ord.RecordEvent,t.readMessage(o,proto.ord.RecordEvent.deserializeBinaryFromReader),e.addRecordModified(o);break;case 9:o=e.getReactionMetadataMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 10:o=t.readBool(),e.setIsMined(o);break;default:t.skipField()}return e},proto.ord.ReactionProvenance.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionProvenance.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionProvenance.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getExperimenter())&&t.writeMessage(1,o,proto.ord.Person.serializeBinaryToWriter),(o=e.getCity()).length>0&&t.writeString(2,o),null!=(o=e.getExperimentStart())&&t.writeMessage(3,o,proto.ord.DateTime.serializeBinaryToWriter),(o=e.getDoi()).length>0&&t.writeString(4,o),(o=e.getPatent()).length>0&&t.writeString(5,o),(o=e.getPublicationUrl()).length>0&&t.writeString(6,o),null!=(o=e.getRecordCreated())&&t.writeMessage(7,o,proto.ord.RecordEvent.serializeBinaryToWriter),(o=e.getRecordModifiedList()).length>0&&t.writeRepeatedMessage(8,o,proto.ord.RecordEvent.serializeBinaryToWriter),(o=e.getReactionMetadataMap(!0))&&o.getLength()>0&&o.serializeBinary(9,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),null!=(o=r.Message.getField(e,10))&&t.writeBool(10,o)},proto.ord.ReactionProvenance.prototype.getExperimenter=function(){return r.Message.getWrapperField(this,proto.ord.Person,1)},proto.ord.ReactionProvenance.prototype.setExperimenter=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionProvenance.prototype.clearExperimenter=function(){return this.setExperimenter(void 0)},proto.ord.ReactionProvenance.prototype.hasExperimenter=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionProvenance.prototype.getCity=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionProvenance.prototype.setCity=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionProvenance.prototype.getExperimentStart=function(){return r.Message.getWrapperField(this,proto.ord.DateTime,3)},proto.ord.ReactionProvenance.prototype.setExperimentStart=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ReactionProvenance.prototype.clearExperimentStart=function(){return this.setExperimentStart(void 0)},proto.ord.ReactionProvenance.prototype.hasExperimentStart=function(){return null!=r.Message.getField(this,3)},proto.ord.ReactionProvenance.prototype.getDoi=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.ReactionProvenance.prototype.setDoi=function(e){return r.Message.setProto3StringField(this,4,e)},proto.ord.ReactionProvenance.prototype.getPatent=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.ReactionProvenance.prototype.setPatent=function(e){return r.Message.setProto3StringField(this,5,e)},proto.ord.ReactionProvenance.prototype.getPublicationUrl=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.ord.ReactionProvenance.prototype.setPublicationUrl=function(e){return r.Message.setProto3StringField(this,6,e)},proto.ord.ReactionProvenance.prototype.getRecordCreated=function(){return r.Message.getWrapperField(this,proto.ord.RecordEvent,7)},proto.ord.ReactionProvenance.prototype.setRecordCreated=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.ReactionProvenance.prototype.clearRecordCreated=function(){return this.setRecordCreated(void 0)},proto.ord.ReactionProvenance.prototype.hasRecordCreated=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionProvenance.prototype.getRecordModifiedList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.RecordEvent,8)},proto.ord.ReactionProvenance.prototype.setRecordModifiedList=function(e){return r.Message.setRepeatedWrapperField(this,8,e)},proto.ord.ReactionProvenance.prototype.addRecordModified=function(e,t){return r.Message.addToRepeatedWrapperField(this,8,e,proto.ord.RecordEvent,t)},proto.ord.ReactionProvenance.prototype.clearRecordModifiedList=function(){return this.setRecordModifiedList([])},proto.ord.ReactionProvenance.prototype.getReactionMetadataMap=function(e){return r.Message.getMapField(this,9,e,proto.ord.Data)},proto.ord.ReactionProvenance.prototype.clearReactionMetadataMap=function(){return this.getReactionMetadataMap().clear(),this},proto.ord.ReactionProvenance.prototype.getIsMined=function(){return r.Message.getBooleanFieldWithDefault(this,10,!1)},proto.ord.ReactionProvenance.prototype.setIsMined=function(e){return r.Message.setField(this,10,e)},proto.ord.ReactionProvenance.prototype.clearIsMined=function(){return r.Message.setField(this,10,void 0)},proto.ord.ReactionProvenance.prototype.hasIsMined=function(){return null!=r.Message.getField(this,10)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Person.prototype.toObject=function(e){return proto.ord.Person.toObject(e,this)},proto.ord.Person.toObject=function(e,t){var o={username:r.Message.getFieldWithDefault(t,1,""),name:r.Message.getFieldWithDefault(t,2,""),orcid:r.Message.getFieldWithDefault(t,3,""),organization:r.Message.getFieldWithDefault(t,4,""),email:r.Message.getFieldWithDefault(t,5,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Person.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Person;return proto.ord.Person.deserializeBinaryFromReader(o,t)},proto.ord.Person.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setUsername(o);break;case 2:o=t.readString(),e.setName(o);break;case 3:o=t.readString(),e.setOrcid(o);break;case 4:o=t.readString(),e.setOrganization(o);break;case 5:o=t.readString(),e.setEmail(o);break;default:t.skipField()}return e},proto.ord.Person.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Person.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Person.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getUsername()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),(o=e.getOrcid()).length>0&&t.writeString(3,o),(o=e.getOrganization()).length>0&&t.writeString(4,o),(o=e.getEmail()).length>0&&t.writeString(5,o)},proto.ord.Person.prototype.getUsername=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.Person.prototype.setUsername=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.Person.prototype.getName=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Person.prototype.setName=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Person.prototype.getOrcid=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.Person.prototype.setOrcid=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.Person.prototype.getOrganization=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.Person.prototype.setOrganization=function(e){return r.Message.setProto3StringField(this,4,e)},proto.ord.Person.prototype.getEmail=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.Person.prototype.setEmail=function(e){return r.Message.setProto3StringField(this,5,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.RecordEvent.prototype.toObject=function(e){return proto.ord.RecordEvent.toObject(e,this)},proto.ord.RecordEvent.toObject=function(e,t){var o,n={time:(o=t.getTime())&&proto.ord.DateTime.toObject(e,o),person:(o=t.getPerson())&&proto.ord.Person.toObject(e,o),details:r.Message.getFieldWithDefault(t,3,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.RecordEvent.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.RecordEvent;return proto.ord.RecordEvent.deserializeBinaryFromReader(o,t)},proto.ord.RecordEvent.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.DateTime;t.readMessage(o,proto.ord.DateTime.deserializeBinaryFromReader),e.setTime(o);break;case 2:o=new proto.ord.Person,t.readMessage(o,proto.ord.Person.deserializeBinaryFromReader),e.setPerson(o);break;case 3:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.RecordEvent.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.RecordEvent.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.RecordEvent.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getTime())&&t.writeMessage(1,o,proto.ord.DateTime.serializeBinaryToWriter),null!=(o=e.getPerson())&&t.writeMessage(2,o,proto.ord.Person.serializeBinaryToWriter),(o=e.getDetails()).length>0&&t.writeString(3,o)},proto.ord.RecordEvent.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.DateTime,1)},proto.ord.RecordEvent.prototype.setTime=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.RecordEvent.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.RecordEvent.prototype.hasTime=function(){return null!=r.Message.getField(this,1)},proto.ord.RecordEvent.prototype.getPerson=function(){return r.Message.getWrapperField(this,proto.ord.Person,2)},proto.ord.RecordEvent.prototype.setPerson=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.RecordEvent.prototype.clearPerson=function(){return this.setPerson(void 0)},proto.ord.RecordEvent.prototype.hasPerson=function(){return null!=r.Message.getField(this,2)},proto.ord.RecordEvent.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.RecordEvent.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Time.prototype.toObject=function(e){return proto.ord.Time.toObject(e,this)},proto.ord.Time.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Time.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Time;return proto.ord.Time.deserializeBinaryFromReader(o,t)},proto.ord.Time.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Time.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Time.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Time.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Time.TimeUnit={UNSPECIFIED:0,DAY:4,HOUR:1,MINUTE:2,SECOND:3},proto.ord.Time.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Time.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Time.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Time.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Time.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Time.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Time.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Time.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Time.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Time.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Mass.prototype.toObject=function(e){return proto.ord.Mass.toObject(e,this)},proto.ord.Mass.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Mass.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Mass;return proto.ord.Mass.deserializeBinaryFromReader(o,t)},proto.ord.Mass.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Mass.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Mass.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Mass.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Mass.MassUnit={UNSPECIFIED:0,KILOGRAM:1,GRAM:2,MILLIGRAM:3,MICROGRAM:4},proto.ord.Mass.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Mass.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Mass.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Mass.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Mass.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Mass.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Mass.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Mass.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Mass.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Mass.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Moles.prototype.toObject=function(e){return proto.ord.Moles.toObject(e,this)},proto.ord.Moles.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Moles.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Moles;return proto.ord.Moles.deserializeBinaryFromReader(o,t)},proto.ord.Moles.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Moles.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Moles.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Moles.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Moles.MolesUnit={UNSPECIFIED:0,MOLE:1,MILLIMOLE:2,MICROMOLE:3,NANOMOLE:4},proto.ord.Moles.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Moles.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Moles.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Moles.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Moles.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Moles.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Moles.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Moles.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Moles.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Moles.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Volume.prototype.toObject=function(e){return proto.ord.Volume.toObject(e,this)},proto.ord.Volume.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Volume.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Volume;return proto.ord.Volume.deserializeBinaryFromReader(o,t)},proto.ord.Volume.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Volume.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Volume.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Volume.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Volume.VolumeUnit={UNSPECIFIED:0,LITER:1,MILLILITER:2,MICROLITER:3,NANOLITER:4},proto.ord.Volume.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Volume.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Volume.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Volume.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Volume.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Volume.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Volume.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Volume.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Volume.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Volume.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Concentration.prototype.toObject=function(e){return proto.ord.Concentration.toObject(e,this)},proto.ord.Concentration.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Concentration.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Concentration;return proto.ord.Concentration.deserializeBinaryFromReader(o,t)},proto.ord.Concentration.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Concentration.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Concentration.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Concentration.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Concentration.ConcentrationUnit={UNSPECIFIED:0,MOLAR:1,MILLIMOLAR:2,MICROMOLAR:3},proto.ord.Concentration.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Concentration.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Concentration.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Concentration.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Concentration.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Concentration.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Concentration.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Concentration.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Concentration.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Concentration.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Pressure.prototype.toObject=function(e){return proto.ord.Pressure.toObject(e,this)},proto.ord.Pressure.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Pressure.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Pressure;return proto.ord.Pressure.deserializeBinaryFromReader(o,t)},proto.ord.Pressure.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Pressure.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Pressure.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Pressure.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Pressure.PressureUnit={UNSPECIFIED:0,BAR:1,ATMOSPHERE:2,PSI:3,KPSI:4,PASCAL:5,KILOPASCAL:6,TORR:7,MM_HG:8},proto.ord.Pressure.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Pressure.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Pressure.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Pressure.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Pressure.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Pressure.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Pressure.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Pressure.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Pressure.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Pressure.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Temperature.prototype.toObject=function(e){return proto.ord.Temperature.toObject(e,this)},proto.ord.Temperature.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Temperature.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Temperature;return proto.ord.Temperature.deserializeBinaryFromReader(o,t)},proto.ord.Temperature.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Temperature.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Temperature.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Temperature.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Temperature.TemperatureUnit={UNSPECIFIED:0,CELSIUS:1,FAHRENHEIT:2,KELVIN:3},proto.ord.Temperature.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Temperature.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Temperature.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Temperature.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Temperature.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Temperature.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Temperature.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Temperature.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Temperature.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Temperature.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Current.prototype.toObject=function(e){return proto.ord.Current.toObject(e,this)},proto.ord.Current.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Current.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Current;return proto.ord.Current.deserializeBinaryFromReader(o,t)},proto.ord.Current.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Current.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Current.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Current.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Current.CurrentUnit={UNSPECIFIED:0,AMPERE:1,MILLIAMPERE:2},proto.ord.Current.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Current.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Current.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Current.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Current.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Current.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Current.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Current.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Current.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Current.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Voltage.prototype.toObject=function(e){return proto.ord.Voltage.toObject(e,this)},proto.ord.Voltage.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Voltage.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Voltage;return proto.ord.Voltage.deserializeBinaryFromReader(o,t)},proto.ord.Voltage.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Voltage.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Voltage.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Voltage.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Voltage.VoltageUnit={UNSPECIFIED:0,VOLT:1,MILLIVOLT:2},proto.ord.Voltage.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Voltage.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Voltage.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Voltage.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Voltage.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Voltage.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Voltage.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Voltage.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Voltage.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Voltage.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Length.prototype.toObject=function(e){return proto.ord.Length.toObject(e,this)},proto.ord.Length.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Length.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Length;return proto.ord.Length.deserializeBinaryFromReader(o,t)},proto.ord.Length.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Length.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Length.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Length.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Length.LengthUnit={UNSPECIFIED:0,CENTIMETER:1,MILLIMETER:2,METER:3,INCH:4,FOOT:5},proto.ord.Length.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Length.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Length.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Length.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Length.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Length.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Length.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Length.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Length.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Length.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Wavelength.prototype.toObject=function(e){return proto.ord.Wavelength.toObject(e,this)},proto.ord.Wavelength.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Wavelength.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Wavelength;return proto.ord.Wavelength.deserializeBinaryFromReader(o,t)},proto.ord.Wavelength.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Wavelength.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Wavelength.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Wavelength.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Wavelength.WavelengthUnit={UNSPECIFIED:0,NANOMETER:1,WAVENUMBER:2},proto.ord.Wavelength.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Wavelength.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Wavelength.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Wavelength.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Wavelength.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Wavelength.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Wavelength.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Wavelength.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Wavelength.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Wavelength.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.FlowRate.prototype.toObject=function(e){return proto.ord.FlowRate.toObject(e,this)},proto.ord.FlowRate.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.FlowRate.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.FlowRate;return proto.ord.FlowRate.deserializeBinaryFromReader(o,t)},proto.ord.FlowRate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.FlowRate.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.FlowRate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.FlowRate.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.FlowRate.FlowRateUnit={UNSPECIFIED:0,MICROLITER_PER_MINUTE:1,MICROLITER_PER_SECOND:2,MILLILITER_PER_MINUTE:3,MILLILITER_PER_SECOND:4,MICROLITER_PER_HOUR:5},proto.ord.FlowRate.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.FlowRate.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.FlowRate.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.FlowRate.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.FlowRate.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.FlowRate.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.FlowRate.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.FlowRate.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.FlowRate.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.FlowRate.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Percentage.prototype.toObject=function(e){return proto.ord.Percentage.toObject(e,this)},proto.ord.Percentage.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Percentage.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Percentage;return proto.ord.Percentage.deserializeBinaryFromReader(o,t)},proto.ord.Percentage.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;default:t.skipField()}return e},proto.ord.Percentage.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Percentage.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Percentage.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o)},proto.ord.Percentage.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Percentage.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Percentage.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Percentage.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Percentage.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Percentage.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Percentage.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Percentage.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.FloatValue.prototype.toObject=function(e){return proto.ord.FloatValue.toObject(e,this)},proto.ord.FloatValue.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.FloatValue.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.FloatValue;return proto.ord.FloatValue.deserializeBinaryFromReader(o,t)},proto.ord.FloatValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;default:t.skipField()}return e},proto.ord.FloatValue.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.FloatValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.FloatValue.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o)},proto.ord.FloatValue.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.FloatValue.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.FloatValue.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.FloatValue.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.FloatValue.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.FloatValue.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.FloatValue.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.FloatValue.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Data.oneofGroups_=[[1,2,3,4,5]],proto.ord.Data.KindCase={KIND_NOT_SET:0,FLOAT_VALUE:1,INTEGER_VALUE:2,BYTES_VALUE:3,STRING_VALUE:4,URL:5},proto.ord.Data.prototype.getKindCase=function(){return r.Message.computeOneofCase(this,proto.ord.Data.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Data.prototype.toObject=function(e){return proto.ord.Data.toObject(e,this)},proto.ord.Data.toObject=function(e,t){var o={floatValue:r.Message.getFloatingPointFieldWithDefault(t,1,0),integerValue:r.Message.getFieldWithDefault(t,2,0),bytesValue:t.getBytesValue_asB64(),stringValue:r.Message.getFieldWithDefault(t,4,""),url:r.Message.getFieldWithDefault(t,5,""),description:r.Message.getFieldWithDefault(t,6,""),format:r.Message.getFieldWithDefault(t,7,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Data.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Data;return proto.ord.Data.deserializeBinaryFromReader(o,t)},proto.ord.Data.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setFloatValue(o);break;case 2:o=t.readInt32(),e.setIntegerValue(o);break;case 3:o=t.readBytes(),e.setBytesValue(o);break;case 4:o=t.readString(),e.setStringValue(o);break;case 5:o=t.readString(),e.setUrl(o);break;case 6:o=t.readString(),e.setDescription(o);break;case 7:o=t.readString(),e.setFormat(o);break;default:t.skipField()}return e},proto.ord.Data.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Data.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Data.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeInt32(2,o),null!=(o=r.Message.getField(e,3))&&t.writeBytes(3,o),null!=(o=r.Message.getField(e,4))&&t.writeString(4,o),null!=(o=r.Message.getField(e,5))&&t.writeString(5,o),(o=e.getDescription()).length>0&&t.writeString(6,o),(o=e.getFormat()).length>0&&t.writeString(7,o)},proto.ord.Data.prototype.getFloatValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Data.prototype.setFloatValue=function(e){return r.Message.setOneofField(this,1,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearFloatValue=function(){return r.Message.setOneofField(this,1,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasFloatValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Data.prototype.getIntegerValue=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.ord.Data.prototype.setIntegerValue=function(e){return r.Message.setOneofField(this,2,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearIntegerValue=function(){return r.Message.setOneofField(this,2,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasIntegerValue=function(){return null!=r.Message.getField(this,2)},proto.ord.Data.prototype.getBytesValue=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.Data.prototype.getBytesValue_asB64=function(){return r.Message.bytesAsB64(this.getBytesValue())},proto.ord.Data.prototype.getBytesValue_asU8=function(){return r.Message.bytesAsU8(this.getBytesValue())},proto.ord.Data.prototype.setBytesValue=function(e){return r.Message.setOneofField(this,3,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearBytesValue=function(){return r.Message.setOneofField(this,3,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasBytesValue=function(){return null!=r.Message.getField(this,3)},proto.ord.Data.prototype.getStringValue=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.Data.prototype.setStringValue=function(e){return r.Message.setOneofField(this,4,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearStringValue=function(){return r.Message.setOneofField(this,4,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasStringValue=function(){return null!=r.Message.getField(this,4)},proto.ord.Data.prototype.getUrl=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.Data.prototype.setUrl=function(e){return r.Message.setOneofField(this,5,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearUrl=function(){return r.Message.setOneofField(this,5,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasUrl=function(){return null!=r.Message.getField(this,5)},proto.ord.Data.prototype.getDescription=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.ord.Data.prototype.setDescription=function(e){return r.Message.setProto3StringField(this,6,e)},proto.ord.Data.prototype.getFormat=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.ord.Data.prototype.setFormat=function(e){return r.Message.setProto3StringField(this,7,e)},n.object.extend(t,proto.ord)}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(o.exports,o,o.exports,__webpack_require__),o.exports}__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var __webpack_exports__=__webpack_require__(237)})();
|
|
1
|
+
(()=>{var __webpack_modules__={237(e,t,o){"use strict";e.exports={...o(57),...o(802)}},339(__unused_webpack_module,exports,__webpack_require__){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(e,t,o){e instanceof String&&(e=String(e));for(var r=e.length,n=0;n<r;n++){var i=e[n];if(t.call(o,i,n,e))return{i:n,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||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,o){e!=Array.prototype&&e!=Object.prototype&&(e[t]=o.value)},$jscomp.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==__webpack_require__.g&&null!=__webpack_require__.g?__webpack_require__.g:e},$jscomp.global=$jscomp.getGlobal(this),$jscomp.polyfill=function(e,t,o,r){if(t){for(o=$jscomp.global,e=e.split("."),r=0;r<e.length-1;r++){var n=e[r];n in o||(o[n]={}),o=o[n]}(t=t(r=o[e=e[e.length-1]]))!=r&&null!=t&&$jscomp.defineProperty(o,e,{configurable:!0,writable:!0,value:t})}},$jscomp.polyfill("Array.prototype.findIndex",function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).i}},"es6","es3"),$jscomp.checkStringArgs=function(e,t,o){if(null==e)throw new TypeError("The 'this' value for String.prototype."+o+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+o+" must not be a regular expression");return e+""},$jscomp.polyfill("String.prototype.endsWith",function(e){return e||function(e,t){var o=$jscomp.checkStringArgs(this,e,"endsWith");e+="",void 0===t&&(t=o.length),t=Math.max(0,Math.min(0|t,o.length));for(var r=e.length;0<r&&0<t;)if(o[--t]!=e[--r])return!1;return 0>=r}},"es6","es3"),$jscomp.polyfill("Array.prototype.find",function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}},"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",function(e){return e||function(e,t){var o=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var r=o.length,n=e.length;t=Math.max(0,Math.min(0|t,o.length));for(var i=0;i<n&&t<r;)if(o[t++]!=e[i++])return!1;return i>=n}},"es6","es3"),$jscomp.polyfill("String.prototype.repeat",function(e){return e||function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var o="";e;)1&e&&(o+=t),(e>>>=1)&&(t+=t);return o}},"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=this||self,goog.isDef=function(e){return void 0!==e},goog.isString=function(e){return"string"==typeof e},goog.isBoolean=function(e){return"boolean"==typeof e},goog.isNumber=function(e){return"number"==typeof e},goog.exportPath_=function(e,t,o){e=e.split("."),o=o||goog.global,e[0]in o||void 0===o.execScript||o.execScript("var "+e[0]);for(var r;e.length&&(r=e.shift());)!e.length&&goog.isDef(t)?o[r]=t:o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}},goog.define=function(e,t){if(!COMPILED){var o=goog.global.CLOSURE_UNCOMPILED_DEFINES,r=goog.global.CLOSURE_DEFINES;o&&void 0===o.nodeType&&Object.prototype.hasOwnProperty.call(o,e)?t=o[e]:r&&void 0===r.nodeType&&Object.prototype.hasOwnProperty.call(r,e)&&(t=r[e])}return t},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var o=e;(o=o.substring(0,o.lastIndexOf(".")))&&!goog.getObjectByName(o);)goog.implicitNamespaces_[o]=!0}goog.exportPath_(e,t)},goog.getScriptNonce=function(e){return e&&e!=goog.global?goog.getScriptNonce_(e.document):(null===goog.cspNonce_&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(e)?e:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if(!goog.isString(e)||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+e+" 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.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED){if(e in goog.loadedModules_)return goog.loadedModules_[e].exports;if(!goog.implicitNamespaces_[e])return null!=(e=goog.getObjectByName(e))?e:null}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 e=goog.global.$jscomp;return!!e&&"function"==typeof e.getCurrentModulePath&&!!e.getCurrentModulePath()},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInGoogModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){if(!COMPILED){if(!goog.isInEs6ModuleLoader_())throw Error("goog.declareModuleId may only be called from within an ES6 module");if(goog.moduleLoaderState_&&goog.moduleLoaderState_.moduleName)throw Error("goog.declareModuleId may only be called once per module.");if(e in goog.loadedModules_)throw Error('Module with namespace "'+e+'" already exists.')}if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=e;else{var t=goog.global.$jscomp;if(!t||"function"!=typeof t.getCurrentModulePath)throw Error('Module with namespace "'+e+'" has been loaded incorrectly.');t=t.require(t.getCurrentModulePath()),goog.loadedModules_[e]={exports:t,type:goog.ModuleType.ES6,moduleId:e}}},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&goog.isDefAndNotNull(goog.getObjectByName(e))},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var o=0;o<e.length;o++)if(t=t[e[o]],!goog.isDefAndNotNull(t))return null;return t},goog.globalize=function(e,t){for(var o in t=t||goog.global,e)t[o]=e[o]},goog.addDependency=function(e,t,o,r){!COMPILED&&goog.DEPENDENCIES_ENABLED&&goog.debugLoader_.addDependency(e,t,o,r)},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.debugLoader_.requested(e),goog.isProvided_(e)){if(goog.isInModuleLoader_())return goog.module.getInternal_(e)}else if(goog.ENABLE_DEBUG_LOADER){var t=goog.moduleLoaderState_;goog.moduleLoaderState_=null;try{goog.debugLoader_.load_(e)}finally{goog.moduleLoaderState_=t}}return null}},goog.requireType=function(e){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(e){e.instance_=void 0,e.getInstance=function(){return e.instance_?e.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=e),e.instance_=new e)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(e){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(e){return"(function(){"+e+"\n;})();\n"},goog.loadModule=function(e){var t=goog.moduleLoaderState_;try{if(goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG},goog.isFunction(e))var o=e.call(void 0,{});else{if(!goog.isString(e))throw Error("Invalid module definition");goog.useSafari10Workaround()&&(e=goog.workaroundSafari10EvalBug(e)),o=goog.loadModuleFromSource_.call(void 0,e)}var r=goog.moduleLoaderState_.moduleName;if(!goog.isString(r)||!r)throw Error('Invalid module name "'+r+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(r,o):goog.SEAL_MODULE_EXPORTS&&Object.seal&&"object"==typeof o&&null!=o&&Object.seal(o),goog.loadedModules_[r]={exports:o,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName}}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(a){return eval(a),{}},goog.normalizePath_=function(e){e=e.split("/");for(var t=0;t<e.length;)"."==e[t]?e.splice(t,1):t&&".."==e[t]&&e[t-1]&&".."!=e[t-1]?e.splice(--t,2):t++;return e.join("/")},goog.loadFileSync_=function(e){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(e);try{var t=new goog.global.XMLHttpRequest;return t.open("get",e,!1),t.send(),0==t.status||200==t.status?t.responseText:null}catch(e){return null}},goog.transpile_=function(e,t,o){var r=goog.global.$jscomp;r||(goog.global.$jscomp=r={});var n=r.transpile;if(!n){var i=goog.basePath+goog.TRANSPILER,s=goog.loadFileSync_(i);if(s){if(function(){(0,eval)(s+"\n//# 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,n=(r=goog.global.$jscomp).transpile}}return n||(n=r.transpile=function(e,t){return goog.logToConsole_(t+" requires transpilation but no transpiler was found."),e}),n(e,t,o)},goog.typeOf=function(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var o=Object.prototype.toString.call(e);if("[object Window]"==o)return"object";if("[object Array]"==o||"number"==typeof e.length&&void 0!==e.splice&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==o||void 0!==e.call&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===e.call)return"object";return t},goog.isNull=function(e){return null===e},goog.isDefAndNotNull=function(e){return null!=e},goog.isArray=function(e){return"array"==goog.typeOf(e)},goog.isArrayLike=function(e){var t=goog.typeOf(e);return"array"==t||"object"==t&&"number"==typeof e.length},goog.isDateLike=function(e){return goog.isObject(e)&&"function"==typeof e.getFullYear},goog.isFunction=function(e){return"function"==goog.typeOf(e)},goog.isObject=function(e){var t=typeof e;return"object"==t&&null!=e||"function"==t},goog.getUid=function(e){return e[goog.UID_PROPERTY_]||(e[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(e){return!!e[goog.UID_PROPERTY_]},goog.removeUid=function(e){null!==e&&"removeAttribute"in e&&e.removeAttribute(goog.UID_PROPERTY_);try{delete e[goog.UID_PROPERTY_]}catch(e){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if("function"==typeof e.clone)return e.clone();for(var o in t="array"==t?[]:{},e)t[o]=goog.cloneObject(e[o]);return t}return e},goog.bindNative_=function(e,t,o){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,o){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,r),e.apply(t,o)}}return function(){return e.apply(t,arguments)}},goog.bind=function(e,t,o){return Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var t=o.slice();return t.push.apply(t,arguments),e.apply(this,t)}},goog.mixin=function(e,t){for(var o in t)e[o]=t[o]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(e){if(goog.global.execScript)goog.global.execScript(e,"JavaScript");else{if(!goog.global.eval)throw Error("goog.globalEval not available");if(null==goog.evalWorksForGlobals_){try{goog.global.eval("var _evalTest_ = 1;")}catch(e){}if(void 0!==goog.global._evalTest_){try{delete goog.global._evalTest_}catch(e){}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(e);else{var t=goog.global.document,o=t.createElement("SCRIPT");o.type="text/javascript",o.defer=!1,o.appendChild(t.createTextNode(e)),t.head.appendChild(o),t.head.removeChild(o)}}},goog.evalWorksForGlobals_=null,goog.getCssName=function(e,t){if("."==String(e).charAt(0))throw Error('className passed in goog.getCssName must not start with ".". You passed: '+e);var o=function(e){return goog.cssNameMapping_[e]||e},r=function(e){e=e.split("-");for(var t=[],r=0;r<e.length;r++)t.push(o(e[r]));return t.join("-")};return r=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?o:r:function(e){return e},e=t?e+"-"+r(t):r(e),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(e):e},goog.setCssNameMapping=function(e,t){goog.cssNameMapping_=e,goog.cssNameMappingStyle_=t},!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING),goog.getMsg=function(e,t,o){return o&&o.html&&(e=e.replace(/</g,"<")),t&&(e=e.replace(/\{\$([^}]+)}/g,function(e,o){return null!=t&&o in t?t[o]:e})),e},goog.getMsgWithFallback=function(e,t){return e},goog.exportSymbol=function(e,t,o){goog.exportPath_(e,t,o)},goog.exportProperty=function(e,t,o){e[t]=o},goog.inherits=function(e,t){function o(){}o.prototype=t.prototype,e.superClass_=t.prototype,e.prototype=new o,e.prototype.constructor=e,e.base=function(e,o,r){for(var n=Array(arguments.length-2),i=2;i<arguments.length;i++)n[i-2]=arguments[i];return t.prototype[o].apply(e,n)}},goog.base=function(e,t,o){var r=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!r)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(void 0!==r.superClass_){for(var n=Array(arguments.length-1),i=1;i<arguments.length;i++)n[i-1]=arguments[i];return r.superClass_.constructor.apply(e,n)}if("string"!=typeof t&&"symbol"!=typeof t)throw Error("method names provided to goog.base must be a string or a symbol");for(n=Array(arguments.length-2),i=2;i<arguments.length;i++)n[i-2]=arguments[i];i=!1;for(var s=e.constructor.prototype;s;s=Object.getPrototypeOf(s))if(s[t]===r)i=!0;else if(i)return s[t].apply(e,n);if(e[t]===r)return e.constructor.prototype[t].apply(e,n);throw Error("goog.base called from a method of one name to a method of a different name")},goog.scope=function(e){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");e.call(goog.global)},COMPILED||(goog.global.COMPILED=COMPILED),goog.defineClass=function(e,t){var o=t.constructor,r=t.statics;return o&&o!=Object.prototype.constructor||(o=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),o=goog.defineClass.createSealingConstructor_(o,e),e&&goog.inherits(o,e),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(o.prototype,t),null!=r&&(r instanceof Function?r(o):goog.defineClass.applyProperties_(o,r)),o},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(e,t){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return e;var o=!goog.defineClass.isUnsealable_(t),r=function(){var t=e.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],this.constructor===r&&o&&Object.seal instanceof Function&&Object.seal(t),t};return r},goog.defineClass.isUnsealable_=function(e){return e&&e.prototype&&e.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(var r=0;r<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;r++)o=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[r],Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},goog.tagUnsealableClass=function(e){!COMPILED&&goog.defineClass.SEAL_CLASS_INSTANCES&&(e.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",!COMPILED&&goog.DEPENDENCIES_ENABLED&&(goog.inHtmlDocument_=function(){var e=goog.global.document;return null!=e&&"write"in e},goog.isDocumentLoading_=function(){var e=goog.global.document;return e.attachEvent?"complete"!=e.readyState:"loading"==e.readyState},goog.findBasePath_=function(){if(goog.isDef(goog.global.CLOSURE_BASE_PATH)&&goog.isString(goog.global.CLOSURE_BASE_PATH))goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var e=goog.global.document,t=e.currentScript;for(t=(e=t?[t]:e.getElementsByTagName("SCRIPT")).length-1;0<=t;--t){var o=e[t].src,r=o.lastIndexOf("?");if(r=-1==r?o.length:r,"base.js"==o.substr(r-7,7)){goog.basePath=o.substr(0,r-7);break}}}},goog.findBasePath_(),goog.Transpiler=function(){this.requiresTranspilation_=null,this.transpilationTarget_=goog.TRANSPILE_TO_LANGUAGE},goog.Transpiler.prototype.createRequiresTranspilation_=function(){function a(t,o){e?d[t]=!0:o()?(c=t,d[t]=!1):e=d[t]=!0}function b(a){try{return!!eval(a)}catch(e){return!1}}var c="es3",d={es3:!1},e=!1,f=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:"";return a("es5",function(){return b("[1,].length==1")}),a("es6",function(){return!f.match(/Edge\/(\d+)(\.\d)*/i)&&b('(()=>{"use strict";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')}),a("es7",function(){return b("2 ** 2 == 4")}),a("es8",function(){return b("async () => 1, true")}),a("es9",function(){return b("({...rest} = {}), true")}),a("es_next",function(){return!1}),{target:c,map:d}},goog.Transpiler.prototype.needsTranspile=function(e,t){if("always"==goog.TRANSPILE)return!0;if("never"==goog.TRANSPILE)return!1;if(!this.requiresTranspilation_){var o=this.createRequiresTranspilation_();this.requiresTranspilation_=o.map,this.transpilationTarget_=this.transpilationTarget_||o.target}if(e in this.requiresTranspilation_)return!!this.requiresTranspilation_[e]||!(!goog.inHtmlDocument_()||"es6"!=t||"noModule"in goog.global.document.createElement("script"));throw Error("Unknown language mode: "+e)},goog.Transpiler.prototype.transpile=function(e,t){return goog.transpile_(e,t,this.transpilationTarget_)},goog.transpiler_=new goog.Transpiler,goog.protectScriptTag_=function(e){return e.replace(/<\/(SCRIPT)/gi,"\\x3c/$1")},goog.DebugLoader_=function(){this.dependencies_={},this.idToPath_={},this.written_={},this.loadingDeps_=[],this.depsToLoad_=[],this.paused_=!1,this.factory_=new goog.DependencyFactory(goog.transpiler_),this.deferredCallbacks_={},this.deferredQueue_=[]},goog.DebugLoader_.prototype.bootstrap=function(e,t){function o(){r&&(goog.global.setTimeout(r,0),r=null)}var r=t;if(e.length){t=[];for(var n=0;n<e.length;n++){var i=this.getPathFromDeps_(e[n]);if(!i)throw Error("Unregonized namespace: "+e[n]);t.push(this.dependencies_[i])}i=goog.require;var s=0;for(n=0;n<e.length;n++)i(e[n]),t[n].onLoad(function(){++s==e.length&&o()})}else o()},goog.DebugLoader_.prototype.loadClosureDeps=function(){this.depsToLoad_.push(this.factory_.createDependency(goog.normalizePath_(goog.basePath+"deps.js"),"deps.js",[],[],{},!1)),this.loadDeps_()},goog.DebugLoader_.prototype.requested=function(e,t){(e=this.getPathFromDeps_(e))&&(t||this.areDepsLoaded_(this.dependencies_[e].requires))&&(t=this.deferredCallbacks_[e])&&(delete this.deferredCallbacks_[e],t())},goog.DebugLoader_.prototype.setDependencyFactory=function(e){this.factory_=e},goog.DebugLoader_.prototype.load_=function(e){if(!this.getPathFromDeps_(e))throw e="goog.require could not find: "+e,goog.logToConsole_(e),Error(e);var t=this,o=[],r=function(e){var n=t.getPathFromDeps_(e);if(!n)throw Error("Bad dependency path or symbol: "+e);if(!t.written_[n]){for(t.written_[n]=!0,e=t.dependencies_[n],n=0;n<e.requires.length;n++)goog.isProvided_(e.requires[n])||r(e.requires[n]);o.push(e)}};r(e),e=!!this.depsToLoad_.length,this.depsToLoad_=this.depsToLoad_.concat(o),this.paused_||e||this.loadDeps_()},goog.DebugLoader_.prototype.loadDeps_=function(){for(var e=this,t=this.paused_;this.depsToLoad_.length&&!t;)(function(){var o=!1,r=e.depsToLoad_.shift(),n=!1;e.loading_(r);var i={pause:function(){if(o)throw Error("Cannot call pause after the call to load.");t=!0},resume:function(){o?e.resume_():t=!1},loaded:function(){if(n)throw Error("Double call to loaded.");n=!0,e.loaded_(r)},pending:function(){for(var t=[],o=0;o<e.loadingDeps_.length;o++)t.push(e.loadingDeps_[o]);return t},setModuleState:function(e){goog.moduleLoaderState_={type:e,moduleName:"",declareLegacyNamespace:!1}},registerEs6ModuleExports:function(e,t,o){o&&(goog.loadedModules_[o]={exports:t,type:goog.ModuleType.ES6,moduleId:o||""})},registerGoogModuleExports:function(e,t){goog.loadedModules_[e]={exports:t,type:goog.ModuleType.GOOG,moduleId:e}},clearModuleState:function(){goog.moduleLoaderState_=null},defer:function(t){if(o)throw Error("Cannot register with defer after the call to load.");e.defer_(r,t)},areDepsLoaded:function(){return e.areDepsLoaded_(r.requires)}};try{r.load(i)}finally{o=!0}})();t&&this.pause_()},goog.DebugLoader_.prototype.pause_=function(){this.paused_=!0},goog.DebugLoader_.prototype.resume_=function(){this.paused_&&(this.paused_=!1,this.loadDeps_())},goog.DebugLoader_.prototype.loading_=function(e){this.loadingDeps_.push(e)},goog.DebugLoader_.prototype.loaded_=function(e){for(var t=0;t<this.loadingDeps_.length;t++)if(this.loadingDeps_[t]==e){this.loadingDeps_.splice(t,1);break}for(t=0;t<this.deferredQueue_.length;t++)if(this.deferredQueue_[t]==e.path){this.deferredQueue_.splice(t,1);break}if(this.loadingDeps_.length==this.deferredQueue_.length&&!this.depsToLoad_.length)for(;this.deferredQueue_.length;)this.requested(this.deferredQueue_.shift(),!0);e.loaded()},goog.DebugLoader_.prototype.areDepsLoaded_=function(e){for(var t=0;t<e.length;t++){var o=this.getPathFromDeps_(e[t]);if(!o||!(o in this.deferredCallbacks_)&&!goog.isProvided_(e[t]))return!1}return!0},goog.DebugLoader_.prototype.getPathFromDeps_=function(e){return e in this.idToPath_?this.idToPath_[e]:e in this.dependencies_?e:null},goog.DebugLoader_.prototype.defer_=function(e,t){this.deferredCallbacks_[e.path]=t,this.deferredQueue_.push(e.path)},goog.LoadController=function(){},goog.LoadController.prototype.pause=function(){},goog.LoadController.prototype.resume=function(){},goog.LoadController.prototype.loaded=function(){},goog.LoadController.prototype.pending=function(){},goog.LoadController.prototype.registerEs6ModuleExports=function(e,t,o){},goog.LoadController.prototype.setModuleState=function(e){},goog.LoadController.prototype.clearModuleState=function(){},goog.LoadController.prototype.defer=function(e){},goog.LoadController.prototype.areDepsLoaded=function(){},goog.Dependency=function(e,t,o,r,n){this.path=e,this.relativePath=t,this.provides=o,this.requires=r,this.loadFlags=n,this.loaded_=!1,this.loadCallbacks_=[]},goog.Dependency.prototype.getPathName=function(){var e=this.path,t=e.indexOf("://");return 0<=t&&0<=(t=(e=e.substring(t+3)).indexOf("/"))&&(e=e.substring(t+1)),e},goog.Dependency.prototype.onLoad=function(e){this.loaded_?e():this.loadCallbacks_.push(e)},goog.Dependency.prototype.loaded=function(){this.loaded_=!0;var e=this.loadCallbacks_;this.loadCallbacks_=[];for(var t=0;t<e.length;t++)e[t]()},goog.Dependency.defer_=!1,goog.Dependency.callbackMap_={},goog.Dependency.registerCallback_=function(e){var t=Math.random().toString(32);return goog.Dependency.callbackMap_[t]=e,t},goog.Dependency.unregisterCallback_=function(e){delete goog.Dependency.callbackMap_[e]},goog.Dependency.callback_=function(e,t){if(!(e in goog.Dependency.callbackMap_))throw Error("Callback key "+e+" does not exist (was base.js loaded more than once?).");for(var o=goog.Dependency.callbackMap_[e],r=[],n=1;n<arguments.length;n++)r.push(arguments[n]);o.apply(void 0,r)},goog.Dependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document;if("complete"==t.readyState&&!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING){if(/\bdeps.js$/.test(this.path))return void e.loaded();throw Error('Cannot write "'+this.path+'" after document load')}if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&goog.isDocumentLoading_()){var o=goog.Dependency.registerCallback_(function(t){goog.DebugLoader_.IS_OLD_IE_&&"complete"!=t.readyState||(goog.Dependency.unregisterCallback_(o),e.loaded())}),r=!goog.DebugLoader_.IS_OLD_IE_&&goog.getScriptNonce()?' nonce="'+goog.getScriptNonce()+'"':"";r='<script src="'+this.path+'" '+(goog.DebugLoader_.IS_OLD_IE_?"onreadystatechange":"onload")+"=\"goog.Dependency.callback_('"+o+'\', this)" type="text/javascript" '+(goog.Dependency.defer_?"defer":"")+r+"><\/script>",t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}else{var n=t.createElement("script");n.defer=goog.Dependency.defer_,n.async=!1,n.type="text/javascript",(r=goog.getScriptNonce())&&n.setAttribute("nonce",r),goog.DebugLoader_.IS_OLD_IE_?(e.pause(),n.onreadystatechange=function(){"loaded"!=n.readyState&&"complete"!=n.readyState||(e.loaded(),e.resume())}):n.onload=function(){n.onload=null,e.loaded()},n.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(this.path):this.path,t.head.appendChild(n)}}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),"deps.js"==this.relativePath?(goog.logToConsole_("Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true."),e.loaded()):e.pause()},goog.Es6ModuleDependency=function(e,t,o,r,n){goog.Dependency.call(this,e,t,o,r,n)},goog.inherits(goog.Es6ModuleDependency,goog.Dependency),goog.Es6ModuleDependency.prototype.load=function(e){if(goog.global.CLOSURE_IMPORT_SCRIPT)goog.global.CLOSURE_IMPORT_SCRIPT(this.path)?e.loaded():e.pause();else if(goog.inHtmlDocument_()){var t=goog.global.document,o=this;if(goog.isDocumentLoading_()){var r=function(e,o){e=o?'<script type="module" crossorigin>'+o+"<\/script>":'<script type="module" crossorigin src="'+e+'"><\/script>',t.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(e):e)};goog.Dependency.defer_=!0}else r=function(e,o){var r=t.createElement("script");r.defer=!0,r.async=!1,r.type="module",r.setAttribute("crossorigin",!0);var n=goog.getScriptNonce();n&&r.setAttribute("nonce",n),o?r.textContent=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScript(o):o:r.src=goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createScriptURL(e):e,t.head.appendChild(r)};var n=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(n),e.setModuleState(goog.ModuleType.ES6)});r(void 0,'goog.Dependency.callback_("'+n+'")'),r(this.path,void 0);var i=goog.Dependency.registerCallback_(function(t){goog.Dependency.unregisterCallback_(i),e.registerEs6ModuleExports(o.path,t,goog.moduleLoaderState_.moduleName)});r(void 0,'import * as m from "'+this.path+'"; goog.Dependency.callback_("'+i+'", m)');var s=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(s),e.clearModuleState(),e.loaded()});r(void 0,'goog.Dependency.callback_("'+s+'")')}else goog.logToConsole_("Cannot use default debug loader outside of HTML documents."),e.pause()},goog.TransformedDependency=function(e,t,o,r,n){goog.Dependency.call(this,e,t,o,r,n),this.contents_=null,this.lazyFetch_=!goog.inHtmlDocument_()||!("noModule"in goog.global.document.createElement("script"))},goog.inherits(goog.TransformedDependency,goog.Dependency),goog.TransformedDependency.prototype.load=function(e){function t(){r.contents_=goog.loadFileSync_(r.path),r.contents_&&(r.contents_=r.transform(r.contents_),r.contents_&&(r.contents_+="\n//# sourceURL="+r.path))}function o(){if(r.lazyFetch_&&t(),r.contents_){n&&e.setModuleState(goog.ModuleType.ES6);try{var o=r.contents_;if(r.contents_=null,goog.globalEval(o),n)var i=goog.moduleLoaderState_.moduleName}finally{n&&e.clearModuleState()}n&&goog.global.$jscomp.require.ensure([r.getPathName()],function(){e.registerEs6ModuleExports(r.path,goog.global.$jscomp.require(r.getPathName()),i)}),e.loaded()}}var r=this;if(goog.global.CLOSURE_IMPORT_SCRIPT)t(),this.contents_&&goog.global.CLOSURE_IMPORT_SCRIPT("",this.contents_)?(this.contents_=null,e.loaded()):e.pause();else{var n=this.loadFlags.module==goog.ModuleType.ES6;this.lazyFetch_||t();var i=1<e.pending().length,s=i&&goog.DebugLoader_.IS_OLD_IE_;if(i=goog.Dependency.defer_&&(i||goog.isDocumentLoading_()),s||i)e.defer(function(){o()});else{var a=goog.global.document;if(s=goog.inHtmlDocument_()&&"ActiveXObject"in goog.global,n&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()&&!s){goog.Dependency.defer_=!0,e.pause();var g=a.onreadystatechange;a.onreadystatechange=function(){"interactive"==a.readyState&&(a.onreadystatechange=g,o(),e.resume()),goog.isFunction(g)&&g.apply(void 0,arguments)}}else!goog.DebugLoader_.IS_OLD_IE_&&goog.inHtmlDocument_()&&goog.isDocumentLoading_()?function(){var e=goog.global.document,t=goog.Dependency.registerCallback_(function(){goog.Dependency.unregisterCallback_(t),o()}),r='<script type="text/javascript">'+goog.protectScriptTag_('goog.Dependency.callback_("'+t+'");')+"<\/script>";e.write(goog.TRUSTED_TYPES_POLICY_?goog.TRUSTED_TYPES_POLICY_.createHTML(r):r)}():o()}}},goog.TransformedDependency.prototype.transform=function(e){},goog.TranspiledDependency=function(e,t,o,r,n,i){goog.TransformedDependency.call(this,e,t,o,r,n),this.transpiler=i},goog.inherits(goog.TranspiledDependency,goog.TransformedDependency),goog.TranspiledDependency.prototype.transform=function(e){return this.transpiler.transpile(e,this.getPathName())},goog.PreTranspiledEs6ModuleDependency=function(e,t,o,r,n){goog.TransformedDependency.call(this,e,t,o,r,n)},goog.inherits(goog.PreTranspiledEs6ModuleDependency,goog.TransformedDependency),goog.PreTranspiledEs6ModuleDependency.prototype.transform=function(e){return e},goog.GoogModuleDependency=function(e,t,o,r,n,i,s){goog.TransformedDependency.call(this,e,t,o,r,n),this.needsTranspile_=i,this.transpiler_=s},goog.inherits(goog.GoogModuleDependency,goog.TransformedDependency),goog.GoogModuleDependency.prototype.transform=function(e){return this.needsTranspile_&&(e=this.transpiler_.transpile(e,this.getPathName())),goog.LOAD_MODULE_USING_EVAL&&goog.isDef(goog.global.JSON)?"goog.loadModule("+goog.global.JSON.stringify(e+"\n//# sourceURL="+this.path+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+e+"\n;return exports});\n//# sourceURL="+this.path+"\n"},goog.DebugLoader_.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.DebugLoader_.prototype.addDependency=function(e,t,o,r){t=t||[],e=e.replace(/\\/g,"/");var n=goog.normalizePath_(goog.basePath+e);for(r&&"boolean"!=typeof r||(r=r?{module:goog.ModuleType.GOOG}:{}),o=this.factory_.createDependency(n,e,t,o,r,goog.transpiler_.needsTranspile(r.lang||"es3",r.module)),this.dependencies_[n]=o,o=0;o<t.length;o++)this.idToPath_[t[o]]=n;this.idToPath_[e]=n},goog.DependencyFactory=function(e){this.transpiler=e},goog.DependencyFactory.prototype.createDependency=function(e,t,o,r,n,i){return n.module==goog.ModuleType.GOOG?new goog.GoogModuleDependency(e,t,o,r,n,i,this.transpiler):i?new goog.TranspiledDependency(e,t,o,r,n,this.transpiler):n.module==goog.ModuleType.ES6?"never"==goog.TRANSPILE&&goog.ASSUME_ES_MODULES_TRANSPILED?new goog.PreTranspiledEs6ModuleDependency(e,t,o,r,n):new goog.Es6ModuleDependency(e,t,o,r,n):new goog.Dependency(e,t,o,r,n)},goog.debugLoader_=new goog.DebugLoader_,goog.loadClosureDeps=function(){goog.debugLoader_.loadClosureDeps()},goog.setDependencyFactory=function(e){goog.debugLoader_.setDependencyFactory(e)},goog.global.CLOSURE_NO_DEPS||goog.debugLoader_.loadClosureDeps(),goog.bootstrap=function(e,t){goog.debugLoader_.bootstrap(e,t)}),goog.TRUSTED_TYPES_POLICY_NAME="",goog.identity_=function(e){return e},goog.createTrustedTypesPolicy=function(e){var t=null;if("undefined"==typeof TrustedTypes||!TrustedTypes.createPolicy)return t;try{t=TrustedTypes.createPolicy(e,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(e){goog.logToConsole_(e.message)}return t},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.object={},goog.object.is=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},goog.object.forEach=function(e,t,o){for(var r in e)t.call(o,e[r],r,e)},goog.object.filter=function(e,t,o){var r,n={};for(r in e)t.call(o,e[r],r,e)&&(n[r]=e[r]);return n},goog.object.map=function(e,t,o){var r,n={};for(r in e)n[r]=t.call(o,e[r],r,e);return n},goog.object.some=function(e,t,o){for(var r in e)if(t.call(o,e[r],r,e))return!0;return!1},goog.object.every=function(e,t,o){for(var r in e)if(!t.call(o,e[r],r,e))return!1;return!0},goog.object.getCount=function(e){var t,o=0;for(t in e)o++;return o},goog.object.getAnyKey=function(e){for(var t in e)return t},goog.object.getAnyValue=function(e){for(var t in e)return e[t]},goog.object.contains=function(e,t){return goog.object.containsValue(e,t)},goog.object.getValues=function(e){var t,o=[],r=0;for(t in e)o[r++]=e[t];return o},goog.object.getKeys=function(e){var t,o=[],r=0;for(t in e)o[r++]=t;return o},goog.object.getValueByKeys=function(e,t){var o=goog.isArrayLike(t),r=o?t:arguments;for(o=o?0:1;o<r.length;o++){if(null==e)return;e=e[r[o]]}return e},goog.object.containsKey=function(e,t){return null!==e&&t in e},goog.object.containsValue=function(e,t){for(var o in e)if(e[o]==t)return!0;return!1},goog.object.findKey=function(e,t,o){for(var r in e)if(t.call(o,e[r],r,e))return r},goog.object.findValue=function(e,t,o){return(t=goog.object.findKey(e,t,o))&&e[t]},goog.object.isEmpty=function(e){for(var t in e)return!1;return!0},goog.object.clear=function(e){for(var t in e)delete e[t]},goog.object.remove=function(e,t){var o;return(o=t in e)&&delete e[t],o},goog.object.add=function(e,t,o){if(null!==e&&t in e)throw Error('The object already contains the key "'+t+'"');goog.object.set(e,t,o)},goog.object.get=function(e,t,o){return null!==e&&t in e?e[t]:o},goog.object.set=function(e,t,o){e[t]=o},goog.object.setIfUndefined=function(e,t,o){return t in e?e[t]:e[t]=o},goog.object.setWithReturnValueIfNotSet=function(e,t,o){return t in e?e[t]:(o=o(),e[t]=o)},goog.object.equals=function(e,t){for(var o in e)if(!(o in t)||e[o]!==t[o])return!1;for(var r in t)if(!(r in e))return!1;return!0},goog.object.clone=function(e){var t,o={};for(t in e)o[t]=e[t];return o},goog.object.unsafeClone=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if(goog.isFunction(e.clone))return e.clone();for(var o in t="array"==t?[]:{},e)t[o]=goog.object.unsafeClone(e[o]);return t}return e},goog.object.transpose=function(e){var t,o={};for(t in e)o[e[t]]=t;return o},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(e,t){for(var o,r,n=1;n<arguments.length;n++){for(o in r=arguments[n])e[o]=r[o];for(var i=0;i<goog.object.PROTOTYPE_FIELDS_.length;i++)o=goog.object.PROTOTYPE_FIELDS_[i],Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}},goog.object.create=function(e){var t=arguments.length;if(1==t&&goog.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(t%2)throw Error("Uneven number of arguments");for(var o={},r=0;r<t;r+=2)o[arguments[r]]=arguments[r+1];return o},goog.object.createSet=function(e){var t=arguments.length;if(1==t&&goog.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var o={},r=0;r<t;r++)o[arguments[r]]=!0;return o},goog.object.createImmutableView=function(e){var t=e;return Object.isFrozen&&!Object.isFrozen(e)&&(t=Object.create(e),Object.freeze(t)),t},goog.object.isImmutableView=function(e){return!!Object.isFrozen&&Object.isFrozen(e)},goog.object.getAllPropertyNames=function(e,t,o){if(!e)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(e);for(var r={};e&&(e!==Object.prototype||t)&&(e!==Function.prototype||o);){for(var n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++)r[n[i]]=!0;e=Object.getPrototypeOf(e)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(e){return(e=Object.getPrototypeOf(e.prototype))&&e.constructor},goog.debug={},goog.debug.Error=function(e){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e)),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(e,t){goog.debug.Error.call(this,goog.asserts.subs_(e,t)),this.messagePattern=e},goog.inherits(goog.asserts.AssertionError,goog.debug.Error),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(e){throw e},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(e,t){for(var o="",r=(e=e.split("%s")).length-1,n=0;n<r;n++)o+=e[n]+(n<t.length?t[n]:"%s");return o+e[r]},goog.asserts.doAssertFailure_=function(e,t,o,r){var n="Assertion failed";if(o){n+=": "+o;var i=r}else e&&(n+=": "+e,i=t);e=new goog.asserts.AssertionError(""+n,i||[]),goog.asserts.errorHandler_(e)},goog.asserts.setErrorHandler=function(e){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=e)},goog.asserts.assert=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!e&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertExists=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&null==e&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.fail=function(e,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isNumber(e)&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertString=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isString(e)&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertFunction=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(e)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObject=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(e)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertArray=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isArray(e)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertBoolean=function(e,t,o){return goog.asserts.ENABLE_ASSERTS&&!goog.isBoolean(e)&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertElement=function(e,t,o){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(e)&&e.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(e),e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertInstanceof=function(e,t,o,r){return!goog.asserts.ENABLE_ASSERTS||e instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(e)],o,Array.prototype.slice.call(arguments,3)),e},goog.asserts.assertFinite=function(e,t,o){return!goog.asserts.ENABLE_ASSERTS||"number"==typeof e&&isFinite(e)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[e],t,Array.prototype.slice.call(arguments,2)),e},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var e in Object.prototype)goog.asserts.fail(e+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(e){return e instanceof Function?e.displayName||e.name||"unknown type name":e instanceof Object?e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e):null===e?"null":typeof e};var jspb={BinaryConstants:{},ConstBinaryMessage:function(){},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(e){var t=jspb.BinaryConstants.FieldType,o=jspb.BinaryConstants.WireType;switch(e){case t.INT32:case t.INT64:case t.UINT32:case t.UINT64:case t.SINT32:case t.SINT64:case t.BOOL:case t.ENUM:case t.VHASH64:return o.VARINT;case t.DOUBLE:case t.FIXED64:case t.SFIXED64:case t.FHASH64:return o.FIXED64;case t.STRING:case t.MESSAGE:case t.BYTES:return o.DELIMITED;case t.FLOAT:case t.FIXED32:case t.SFIXED32:return o.FIXED32;default:return o.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=0x8000000000000000,jspb.BinaryConstants.TWO_TO_64=0x10000000000000000,jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0",goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE,goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR,goog.array.peek=function(e){return e[e.length-1]},goog.array.last=goog.array.peek,goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.indexOf.call(e,t,o)}:function(e,t,o){if(o=null==o?0:0>o?Math.max(0,e.length+o):o,goog.isString(e))return goog.isString(t)&&1==t.length?e.indexOf(t,o):-1;for(;o<e.length;o++)if(o in e&&e[o]===t)return o;return-1},goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.lastIndexOf.call(e,t,o??e.length-1)}:function(e,t,o){if(0>(o=o??e.length-1)&&(o=Math.max(0,e.length+o)),goog.isString(e))return goog.isString(t)&&1==t.length?e.lastIndexOf(t,o):-1;for(;0<=o;o--)if(o in e&&e[o]===t)return o;return-1},goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(e,t,o){goog.asserts.assert(null!=e.length),Array.prototype.forEach.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=goog.isString(e)?e.split(""):e,i=0;i<r;i++)i in n&&t.call(o,n[i],i,e)},goog.array.forEachRight=function(e,t,o){var r=e.length,n=goog.isString(e)?e.split(""):e;for(--r;0<=r;--r)r in n&&t.call(o,n[r],r,e)},goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.filter.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=[],i=0,s=goog.isString(e)?e.split(""):e,a=0;a<r;a++)if(a in s){var g=s[a];t.call(o,g,a,e)&&(n[i++]=g)}return n},goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.map.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=Array(r),i=goog.isString(e)?e.split(""):e,s=0;s<r;s++)s in i&&(n[s]=t.call(o,i[s],s,e));return n},goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(e,t,o,r){return goog.asserts.assert(null!=e.length),r&&(t=goog.bind(t,r)),Array.prototype.reduce.call(e,t,o)}:function(e,t,o,r){var n=o;return goog.array.forEach(e,function(o,i){n=t.call(r,n,o,i,e)}),n},goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(e,t,o,r){return goog.asserts.assert(null!=e.length),goog.asserts.assert(null!=t),r&&(t=goog.bind(t,r)),Array.prototype.reduceRight.call(e,t,o)}:function(e,t,o,r){var n=o;return goog.array.forEachRight(e,function(o,i){n=t.call(r,n,o,i,e)}),n},goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.some.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=goog.isString(e)?e.split(""):e,i=0;i<r;i++)if(i in n&&t.call(o,n[i],i,e))return!0;return!1},goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(e,t,o){return goog.asserts.assert(null!=e.length),Array.prototype.every.call(e,t,o)}:function(e,t,o){for(var r=e.length,n=goog.isString(e)?e.split(""):e,i=0;i<r;i++)if(i in n&&!t.call(o,n[i],i,e))return!1;return!0},goog.array.count=function(e,t,o){var r=0;return goog.array.forEach(e,function(e,n,i){t.call(o,e,n,i)&&++r},o),r},goog.array.find=function(e,t,o){return 0>(t=goog.array.findIndex(e,t,o))?null:goog.isString(e)?e.charAt(t):e[t]},goog.array.findIndex=function(e,t,o){for(var r=e.length,n=goog.isString(e)?e.split(""):e,i=0;i<r;i++)if(i in n&&t.call(o,n[i],i,e))return i;return-1},goog.array.findRight=function(e,t,o){return 0>(t=goog.array.findIndexRight(e,t,o))?null:goog.isString(e)?e.charAt(t):e[t]},goog.array.findIndexRight=function(e,t,o){var r=e.length,n=goog.isString(e)?e.split(""):e;for(--r;0<=r;r--)if(r in n&&t.call(o,n[r],r,e))return r;return-1},goog.array.contains=function(e,t){return 0<=goog.array.indexOf(e,t)},goog.array.isEmpty=function(e){return 0==e.length},goog.array.clear=function(e){if(!goog.isArray(e))for(var t=e.length-1;0<=t;t--)delete e[t];e.length=0},goog.array.insert=function(e,t){goog.array.contains(e,t)||e.push(t)},goog.array.insertAt=function(e,t,o){goog.array.splice(e,o,0,t)},goog.array.insertArrayAt=function(e,t,o){goog.partial(goog.array.splice,e,o,0).apply(null,t)},goog.array.insertBefore=function(e,t,o){var r;2==arguments.length||0>(r=goog.array.indexOf(e,o))?e.push(t):goog.array.insertAt(e,t,r)},goog.array.remove=function(e,t){var o;return(o=0<=(t=goog.array.indexOf(e,t)))&&goog.array.removeAt(e,t),o},goog.array.removeLast=function(e,t){return 0<=(t=goog.array.lastIndexOf(e,t))&&(goog.array.removeAt(e,t),!0)},goog.array.removeAt=function(e,t){return goog.asserts.assert(null!=e.length),1==Array.prototype.splice.call(e,t,1).length},goog.array.removeIf=function(e,t,o){return 0<=(t=goog.array.findIndex(e,t,o))&&(goog.array.removeAt(e,t),!0)},goog.array.removeAllIf=function(e,t,o){var r=0;return goog.array.forEachRight(e,function(n,i){t.call(o,n,i,e)&&goog.array.removeAt(e,i)&&r++}),r},goog.array.concat=function(e){return Array.prototype.concat.apply([],arguments)},goog.array.join=function(e){return Array.prototype.concat.apply([],arguments)},goog.array.toArray=function(e){var t=e.length;if(0<t){for(var o=Array(t),r=0;r<t;r++)o[r]=e[r];return o}return[]},goog.array.clone=goog.array.toArray,goog.array.extend=function(e,t){for(var o=1;o<arguments.length;o++){var r=arguments[o];if(goog.isArrayLike(r)){var n=e.length||0,i=r.length||0;e.length=n+i;for(var s=0;s<i;s++)e[n+s]=r[s]}else e.push(r)}},goog.array.splice=function(e,t,o,r){return goog.asserts.assert(null!=e.length),Array.prototype.splice.apply(e,goog.array.slice(arguments,1))},goog.array.slice=function(e,t,o){return goog.asserts.assert(null!=e.length),2>=arguments.length?Array.prototype.slice.call(e,t):Array.prototype.slice.call(e,t,o)},goog.array.removeDuplicates=function(e,t,o){t=t||e;var r=function(e){return goog.isObject(e)?"o"+goog.getUid(e):(typeof e).charAt(0)+e};o=o||r,r={};for(var n=0,i=0;i<e.length;){var s=e[i++],a=o(s);Object.prototype.hasOwnProperty.call(r,a)||(r[a]=!0,t[n++]=s)}t.length=n},goog.array.binarySearch=function(e,t,o){return goog.array.binarySearch_(e,o||goog.array.defaultCompare,!1,t)},goog.array.binarySelect=function(e,t,o){return goog.array.binarySearch_(e,t,!0,void 0,o)},goog.array.binarySearch_=function(e,t,o,r,n){for(var i,s=0,a=e.length;s<a;){var g=s+a>>1,p=o?t.call(n,e[g],g,e):t(r,e[g]);0<p?s=g+1:(a=g,i=!p)}return i?s:~s},goog.array.sort=function(e,t){e.sort(t||goog.array.defaultCompare)},goog.array.stableSort=function(e,t){for(var o=Array(e.length),r=0;r<e.length;r++)o[r]={index:r,value:e[r]};var n=t||goog.array.defaultCompare;for(goog.array.sort(o,function(e,t){return n(e.value,t.value)||e.index-t.index}),r=0;r<e.length;r++)e[r]=o[r].value},goog.array.sortByKey=function(e,t,o){var r=o||goog.array.defaultCompare;goog.array.sort(e,function(e,o){return r(t(e),t(o))})},goog.array.sortObjectsByKey=function(e,t,o){goog.array.sortByKey(e,function(e){return e[t]},o)},goog.array.isSorted=function(e,t,o){t=t||goog.array.defaultCompare;for(var r=1;r<e.length;r++){var n=t(e[r-1],e[r]);if(0<n||0==n&&o)return!1}return!0},goog.array.equals=function(e,t,o){if(!goog.isArrayLike(e)||!goog.isArrayLike(t)||e.length!=t.length)return!1;var r=e.length;o=o||goog.array.defaultCompareEquality;for(var n=0;n<r;n++)if(!o(e[n],t[n]))return!1;return!0},goog.array.compare3=function(e,t,o){o=o||goog.array.defaultCompare;for(var r=Math.min(e.length,t.length),n=0;n<r;n++){var i=o(e[n],t[n]);if(0!=i)return i}return goog.array.defaultCompare(e.length,t.length)},goog.array.defaultCompare=function(e,t){return e>t?1:e<t?-1:0},goog.array.inverseDefaultCompare=function(e,t){return-goog.array.defaultCompare(e,t)},goog.array.defaultCompareEquality=function(e,t){return e===t},goog.array.binaryInsert=function(e,t,o){return 0>(o=goog.array.binarySearch(e,t,o))&&(goog.array.insertAt(e,t,-(o+1)),!0)},goog.array.binaryRemove=function(e,t,o){return 0<=(t=goog.array.binarySearch(e,t,o))&&goog.array.removeAt(e,t)},goog.array.bucket=function(e,t,o){for(var r={},n=0;n<e.length;n++){var i=e[n],s=t.call(o,i,n,e);goog.isDef(s)&&(r[s]||(r[s]=[])).push(i)}return r},goog.array.toObject=function(e,t,o){var r={};return goog.array.forEach(e,function(n,i){r[t.call(o,n,i,e)]=n}),r},goog.array.range=function(e,t,o){var r=[],n=0,i=e;if(void 0!==t&&(n=e,i=t),0>(o=o||1)*(i-n))return[];if(0<o)for(e=n;e<i;e+=o)r.push(e);else for(e=n;e>i;e+=o)r.push(e);return r},goog.array.repeat=function(e,t){for(var o=[],r=0;r<t;r++)o[r]=e;return o},goog.array.flatten=function(e){for(var t=[],o=0;o<arguments.length;o++){var r=arguments[o];if(goog.isArray(r))for(var n=0;n<r.length;n+=8192){var i=goog.array.slice(r,n,n+8192);i=goog.array.flatten.apply(null,i);for(var s=0;s<i.length;s++)t.push(i[s])}else t.push(r)}return t},goog.array.rotate=function(e,t){return goog.asserts.assert(null!=e.length),e.length&&(0<(t%=e.length)?Array.prototype.unshift.apply(e,e.splice(-t,t)):0>t&&Array.prototype.push.apply(e,e.splice(0,-t))),e},goog.array.moveItem=function(e,t,o){goog.asserts.assert(0<=t&&t<e.length),goog.asserts.assert(0<=o&&o<e.length),t=Array.prototype.splice.call(e,t,1),Array.prototype.splice.call(e,o,0,t[0])},goog.array.zip=function(e){if(!arguments.length)return[];for(var t=[],o=arguments[0].length,r=1;r<arguments.length;r++)arguments[r].length<o&&(o=arguments[r].length);for(r=0;r<o;r++){for(var n=[],i=0;i<arguments.length;i++)n.push(arguments[i][r]);t.push(n)}return t},goog.array.shuffle=function(e,t){t=t||Math.random;for(var o=e.length-1;0<o;o--){var r=Math.floor(t()*(o+1)),n=e[o];e[o]=e[r],e[r]=n}},goog.array.copyByIndex=function(e,t){var o=[];return goog.array.forEach(t,function(t){o.push(e[t])}),o},goog.array.concatMap=function(e,t,o){return goog.array.concat.apply([],goog.array.map(e,t,o))},goog.crypt={},goog.crypt.stringToByteArray=function(e){for(var t=[],o=0,r=0;r<e.length;r++){var n=e.charCodeAt(r);255<n&&(t[o++]=255&n,n>>=8),t[o++]=n}return t},goog.crypt.byteArrayToString=function(e){if(8192>=e.length)return String.fromCharCode.apply(null,e);for(var t="",o=0;o<e.length;o+=8192){var r=goog.array.slice(e,o,o+8192);t+=String.fromCharCode.apply(null,r)}return t},goog.crypt.byteArrayToHex=function(e,t){return goog.array.map(e,function(e){return 1<(e=e.toString(16)).length?e:"0"+e}).join(t||"")},goog.crypt.hexToByteArray=function(e){goog.asserts.assert(0==e.length%2,"Key string length must be multiple of 2");for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substring(o,o+2),16));return t},goog.crypt.stringToUtf8ByteArray=function(e){for(var t=[],o=0,r=0;r<e.length;r++){var n=e.charCodeAt(r);128>n?t[o++]=n:(2048>n?t[o++]=n>>6|192:(55296==(64512&n)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(n=65536+((1023&n)<<10)+(1023&e.charCodeAt(++r)),t[o++]=n>>18|240,t[o++]=n>>12&63|128):t[o++]=n>>12|224,t[o++]=n>>6&63|128),t[o++]=63&n|128)}return t},goog.crypt.utf8ByteArrayToString=function(e){for(var t=[],o=0,r=0;o<e.length;){var n=e[o++];if(128>n)t[r++]=String.fromCharCode(n);else if(191<n&&224>n){var i=e[o++];t[r++]=String.fromCharCode((31&n)<<6|63&i)}else if(239<n&&365>n){i=e[o++];var s=e[o++];n=((7&n)<<18|(63&i)<<12|(63&s)<<6|63&e[o++])-65536,t[r++]=String.fromCharCode(55296+(n>>10)),t[r++]=String.fromCharCode(56320+(1023&n))}else i=e[o++],s=e[o++],t[r++]=String.fromCharCode((15&n)<<12|(63&i)<<6|63&s)}return t.join("")},goog.crypt.xorByteArray=function(e,t){goog.asserts.assert(e.length==t.length,"XOR array lengths must match");for(var o=[],r=0;r<e.length;r++)o.push(e[r]^t[r]);return o},goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(e){if(goog.asserts.ENABLE_ASSERTS){var t=goog.dom.asserts.getWindow_(e);t&&(!e||!(e instanceof t.Location)&&e instanceof t.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(e))}return e},goog.dom.asserts.assertIsElementType_=function(e,t){if(goog.asserts.ENABLE_ASSERTS){var o=goog.dom.asserts.getWindow_(e);o&&void 0!==o[t]&&(e&&(e instanceof o[t]||!(e instanceof o.Location||e instanceof o.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,goog.dom.asserts.debugStringForType_(e)))}return e},goog.dom.asserts.assertIsHTMLAnchorElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(e){return goog.dom.asserts.assertIsElementType_(e,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(e){if(!goog.isObject(e))return void 0===e?"undefined":null===e?"null":typeof e;try{return e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(e){return"<object could not be stringified>"}},goog.dom.asserts.getWindow_=function(e){try{var t=e&&e.ownerDocument,o=t&&(t.defaultView||t.parentWindow);if((o=o||goog.global).Element&&o.Location)return o}catch(e){}return null},goog.functions={},goog.functions.constant=function(e){return function(){return e}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(e,t){return e},goog.functions.error=function(e){return function(){throw Error(e)}},goog.functions.fail=function(e){return function(){throw e}},goog.functions.lock=function(e,t){return t=t||0,function(){return e.apply(this,Array.prototype.slice.call(arguments,0,t))}},goog.functions.nth=function(e){return function(){return arguments[e]}},goog.functions.partialRight=function(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var t=Array.prototype.slice.call(arguments);return t.push.apply(t,o),e.apply(this,t)}},goog.functions.withReturnValue=function(e,t){return goog.functions.sequence(e,goog.functions.constant(t))},goog.functions.equalTo=function(e,t){return function(o){return t?e==o:e===o}},goog.functions.compose=function(e,t){var o=arguments,r=o.length;return function(){var e;r&&(e=o[r-1].apply(this,arguments));for(var t=r-2;0<=t;t--)e=o[t].call(this,e);return e}},goog.functions.sequence=function(e){var t=arguments,o=t.length;return function(){for(var e,r=0;r<o;r++)e=t[r].apply(this,arguments);return e}},goog.functions.and=function(e){var t=arguments,o=t.length;return function(){for(var e=0;e<o;e++)if(!t[e].apply(this,arguments))return!1;return!0}},goog.functions.or=function(e){var t=arguments,o=t.length;return function(){for(var e=0;e<o;e++)if(t[e].apply(this,arguments))return!0;return!1}},goog.functions.not=function(e){return function(){return!e.apply(this,arguments)}},goog.functions.create=function(e,t){var o=function(){};return o.prototype=e.prototype,o=new o,e.apply(o,Array.prototype.slice.call(arguments,1)),o},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(e){var t,o=!1;return function(){return goog.functions.CACHE_RETURN_VALUE?(o||(t=e(),o=!0),t):e()}},goog.functions.once=function(e){var t=e;return function(){if(t){var e=t;t=null,e()}}},goog.functions.debounce=function(e,t,o){var r=0;return function(n){goog.global.clearTimeout(r);var i=arguments;r=goog.global.setTimeout(function(){e.apply(o,i)},t)}},goog.functions.throttle=function(e,t,o){var r=0,n=!1,i=[],s=function(){r=0,n&&(n=!1,a())},a=function(){r=goog.global.setTimeout(s,t),e.apply(o,i)};return function(e){i=arguments,r?n=!0:a()}},goog.functions.rateLimit=function(e,t,o){var r=0,n=function(){r=0};return function(i){r||(r=goog.global.setTimeout(n,t),e.apply(o,arguments))}},goog.dom.HtmlElement=function(){},goog.dom.TagName=function(e){this.tagName_=e},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(e){return!0===goog.dom.tags.VOID_TAGS_[e]},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(e,t){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=e===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",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.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"},goog.string.Const.unwrap=function(e){return e instanceof goog.string.Const&&e.constructor===goog.string.Const&&e.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?e.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+e+"'"),"type_error:Const")},goog.string.Const.from=function(e){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,e)},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(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeScript.fromConstantAndArgs=function(e,t){for(var o=[],r=1;r<arguments.length;r++)o.push(goog.html.SafeScript.stringify_(arguments[r]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(e)+")("+o.join(", ")+");")},goog.html.SafeScript.fromJson=function(e){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(e))},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(e){return goog.html.SafeScript.unwrapTrustedScript(e).toString()},goog.html.SafeScript.unwrapTrustedScript=function(e){return e instanceof goog.html.SafeScript&&e.constructor===goog.html.SafeScript&&e.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeScript")},goog.html.SafeScript.stringify_=function(e){return JSON.stringify(e).replace(/</g,"\\x3c")},goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(e){return(new goog.html.SafeScript).initSecurityPrivateDoNotAccessOrElse_(e)},goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(e):e,this},goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(e){return goog.fs.url.getUrlObject_().createObjectURL(e)},goog.fs.url.revokeObjectUrl=function(e){goog.fs.url.getUrlObject_().revokeObjectURL(e)},goog.fs.url.getUrlObject_=function(){var e=goog.fs.url.findUrlObject_();if(null!=e)return e;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return goog.isDef(goog.global.URL)&&goog.isDef(goog.global.URL.createObjectURL)?goog.global.URL:goog.isDef(goog.global.webkitURL)&&goog.isDef(goog.global.webkitURL.createObjectURL)?goog.global.webkitURL:goog.isDef(goog.global.createObjectURL)?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("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.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||"-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&"ckb"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||"-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))||7<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(2,3)||"_"==goog.LOCALE.substring(2,3))&&("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"==goog.LOCALE.substring(3,7).toLowerCase())||8<=goog.LOCALE.length&&("-"==goog.LOCALE.substring(3,4)||"_"==goog.LOCALE.substring(3,4))&&("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.LOCALE.substring(4,8).toLowerCase()),goog.i18n.bidi.Format={LRE:"",RLE:"",PDF:"",LRM:"",RLM:""},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(e,t){return"number"==typeof e?0<e?goog.i18n.bidi.Dir.LTR:0>e?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:null==e?null:e?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-zÀ-ÖØ-öø-ʸ̀-ऀ-Ⰰ-\ud801\ud804-\ud839\ud83c-\udbff豈-︀--",goog.i18n.bidi.rtlChars_="֑-ۯۺ-ࣿ\ud802-\ud803\ud83a-\ud83bיִ-﷿ﹰ-ﻼ",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(e,t){return t?e.replace(goog.i18n.bidi.htmlSkipReg_,""):e},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(e,t){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(e,t){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},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(e){return goog.i18n.bidi.rtlRe_.test(e)},goog.i18n.bidi.isLtrChar=function(e){return goog.i18n.bidi.ltrRe_.test(e)},goog.i18n.bidi.isNeutralChar=function(e){return!goog.i18n.bidi.isLtrChar(e)&&!goog.i18n.bidi.isRtlChar(e)},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(e,t){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(e,t){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(e,t){return e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t),goog.i18n.bidi.isRequiredLtrRe_.test(e)||!goog.i18n.bidi.hasAnyLtr(e)&&!goog.i18n.bidi.hasAnyRtl(e)},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(e,t){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(e,t){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(e,t))},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(e){return goog.i18n.bidi.rtlLocalesRe_.test(e)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(e,t){return t=(void 0===t?goog.i18n.bidi.hasAnyRtl(e):t)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,e.replace(goog.i18n.bidi.bracketGuardTextRe_,t+"$&"+t)},goog.i18n.bidi.enforceRtlInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=rtl"):"\n<span dir=rtl>"+e+"</span>"},goog.i18n.bidi.enforceRtlInText=function(e){return goog.i18n.bidi.Format.RLE+e+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(e){return"<"==e.charAt(0)?e.replace(/<\w+/,"$& dir=ltr"):"\n<span dir=ltr>"+e+"</span>"},goog.i18n.bidi.enforceLtrInText=function(e){return goog.i18n.bidi.Format.LRE+e+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(e){return e.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(e){return e.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1״").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1׳")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(e,t){var o=0,r=0,n=!1;for(e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<e.length;t++){var i=e[t];goog.i18n.bidi.startsWithRtl(i)?(o++,r++):goog.i18n.bidi.isRequiredLtrRe_.test(i)?n=!0:goog.i18n.bidi.hasAnyLtr(i)?r++:goog.i18n.bidi.hasNumeralsRe_.test(i)&&(n=!0)}return 0==r?n?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:o/r>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(e,t){return goog.i18n.bidi.estimateDirection(e,t)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(e,t){e&&(t=goog.i18n.bidi.toDir(t))&&(e.style.textAlign=t==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,e.dir=t==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(e,t){switch(goog.i18n.bidi.estimateDirection(t)){case goog.i18n.bidi.Dir.LTR:e.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:e.dir="rtl";break;default:e.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_="",this.trustedURL_=null,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(e,t){var o=goog.html.TrustedResourceUrl.unwrap(this),r=(o=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(o))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(o[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",o[2]||"",e)+goog.html.TrustedResourceUrl.stringifyParams_("#",r,t))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(e){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(e){return e instanceof goog.html.TrustedResourceUrl&&e.constructor===goog.html.TrustedResourceUrl&&e.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.unwrapTrustedURL=function(e){return e.trustedURL_?e.trustedURL_:goog.html.TrustedResourceUrl.unwrap(e)},goog.html.TrustedResourceUrl.format=function(e,t){var o=goog.string.Const.unwrap(e);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(o))throw Error("Invalid TrustedResourceUrl format: "+o);return e=o.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(e,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+o+'", but no valid label mapping found in args: '+JSON.stringify(t));return(e=t[r])instanceof goog.string.Const?goog.string.Const.unwrap(e):encodeURIComponent(String(e))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},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(e,t,o,r){return goog.html.TrustedResourceUrl.format(e,t).cloneWithParams(o,r)},goog.html.TrustedResourceUrl.fromConstant=function(e){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.TrustedResourceUrl.fromConstants=function(e){for(var t="",o=0;o<e.length;o++)t+=goog.string.Const.unwrap(e[o]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(e){var t=new goog.html.TrustedResourceUrl;return t.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(e):e,goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY&&(t.trustedURL_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(e)),t},goog.html.TrustedResourceUrl.stringifyParams_=function(e,t,o){if(null==o)return t;if(goog.isString(o))return o?e+encodeURIComponent(o):"";for(var r in o){var n=o[r];n=goog.isArray(n)?n:[n];for(var i=0;i<n.length;i++){var s=n[i];null!=s&&(t||(t=e),t+=(t.length>e.length?"&":"")+encodeURIComponent(r)+"="+encodeURIComponent(String(s)))}}return t},goog.string.internal={},goog.string.internal.startsWith=function(e,t){return 0==e.lastIndexOf(t,0)},goog.string.internal.endsWith=function(e,t){var o=e.length-t.length;return 0<=o&&e.indexOf(t,o)==o},goog.string.internal.caseInsensitiveStartsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(0,t.length))},goog.string.internal.caseInsensitiveEndsWith=function(e,t){return 0==goog.string.internal.caseInsensitiveCompare(t,e.substr(e.length-t.length,t.length))},goog.string.internal.caseInsensitiveEquals=function(e,t){return e.toLowerCase()==t.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(e){return/^[\s\xa0]*$/.test(e)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},goog.string.internal.caseInsensitiveCompare=function(e,t){return(e=String(e).toLowerCase())<(t=String(t).toLowerCase())?-1:e==t?0:1},goog.string.internal.newLineToBr=function(e,t){return e.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")},goog.string.internal.htmlEscape=function(e,t){if(t)e=e.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(e))return e;-1!=e.indexOf("&")&&(e=e.replace(goog.string.internal.AMP_RE_,"&")),-1!=e.indexOf("<")&&(e=e.replace(goog.string.internal.LT_RE_,"<")),-1!=e.indexOf(">")&&(e=e.replace(goog.string.internal.GT_RE_,">")),-1!=e.indexOf('"')&&(e=e.replace(goog.string.internal.QUOT_RE_,""")),-1!=e.indexOf("'")&&(e=e.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'")),-1!=e.indexOf("\0")&&(e=e.replace(goog.string.internal.NULL_RE_,"�"))}return e},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(e,t){return goog.string.internal.newLineToBr(e.replace(/ /g,"  "),t)},goog.string.internal.contains=function(e,t){return-1!=e.indexOf(t)},goog.string.internal.caseInsensitiveContains=function(e,t){return goog.string.internal.contains(e.toLowerCase(),t.toLowerCase())},goog.string.internal.compareVersions=function(e,t){var o=0;e=goog.string.internal.trim(String(e)).split("."),t=goog.string.internal.trim(String(t)).split(".");for(var r=Math.max(e.length,t.length),n=0;0==o&&n<r;n++){var i=e[n]||"",s=t[n]||"";do{if(i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==i[0].length&&0==s[0].length)break;o=0==i[1].length?0:parseInt(i[1],10);var a=0==s[1].length?0:parseInt(s[1],10);o=goog.string.internal.compareElements_(o,a)||goog.string.internal.compareElements_(0==i[2].length,0==s[2].length)||goog.string.internal.compareElements_(i[2],s[2]),i=i[3],s=s[3]}while(0==o)}return o},goog.string.internal.compareElements_=function(e,t){return e<t?-1:e>t?1:0},goog.html.SafeUrl=function(){this.privateDoNotAccessOrElseSafeUrlWrappedValue_="",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(e){return goog.html.SafeUrl.unwrapTrustedURL(e).toString()},goog.html.SafeUrl.unwrapTrustedURL=function(e){return e instanceof goog.html.SafeUrl&&e.constructor===goog.html.SafeUrl&&e.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(e))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(e){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(e)},goog.html.SafeUrl.fromBlob=function(e){return e=goog.html.SAFE_MIME_TYPE_PATTERN_.test(e.type)?goog.fs.url.createObjectUrl(e):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.DATA_URL_PATTERN_=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.fromDataUrl=function(e){var t=(e=e.replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return t=t&&goog.html.SAFE_MIME_TYPE_PATTERN_.test(t[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t?e:goog.html.SafeUrl.INNOCUOUS_STRING)},goog.html.SafeUrl.fromTelUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"tel:")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(e){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(e))||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"fb-messenger://share")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromWhatsAppUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"whatsapp://send")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromSmsUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(e){var t=e.indexOf("#");if(0<t&&(e=e.substring(0,t)),!(t=e.match(/[?&]body=/gi)))return!0;if(1<t.length)return!1;if(!(e=e.match(/[?&]body=([^&]*)/)[1]))return!0;try{decodeURIComponent(e)}catch(e){return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(e)},goog.html.SafeUrl.fromSshUrl=function(e){return goog.string.internal.caseInsensitiveStartsWith(e,"ssh://")||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(e,t){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,e,t)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(e,t,o){return(e=e.exec(t))?(e=e[1],-1==(o instanceof goog.string.Const?[goog.string.Const.unwrap(o)]:o.map(function(e){return goog.string.Const.unwrap(e)})).indexOf(e)&&(t=goog.html.SafeUrl.INNOCUOUS_STRING)):t=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromTrustedResourceUrl=function(e){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(e))},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(e){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SAFE_URL_PATTERN_.test(e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e))},goog.html.SafeUrl.sanitizeAssertUnchanged=function(e,t){return e instanceof goog.html.SafeUrl?e:(e="object"==typeof e&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),t&&/^data:/i.test(e)&&(t=goog.html.SafeUrl.fromDataUrl(e)).getTypedStringValue()==e?t:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(e),"%s does not match the safe URL pattern",e)||(e=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)))},goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(e){var t=new goog.html.SafeUrl;return t.privateDoNotAccessOrElseSafeUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(e):e,t},goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),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(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(e,";"),"Last character of style string is not ';': "+e),goog.asserts.assert(goog.string.internal.contains(e,":"),"Style string must contain at least one ':', to specify a \"name: value\" pair: "+e),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e))},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(e){return e instanceof goog.html.SafeStyle&&e.constructor===goog.html.SafeStyle&&e.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyle")},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(e){return(new goog.html.SafeStyle).initSecurityPrivateDoNotAccessOrElse_(e)},goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=e,this},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(e){var t,o="";for(t in e){if(!/^[-_a-zA-Z0-9]+$/.test(t))throw Error("Name allows only [-_a-zA-Z0-9], got: "+t);var r=e[t];null!=r&&(o+=t+":"+(r=goog.isArray(r)?goog.array.map(r,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(r))+";")}return o?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(o):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(e){if(e instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(e).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(e=e instanceof goog.string.Const?goog.string.Const.unwrap(e):goog.html.SafeStyle.sanitizePropertyValueString_(String(e)),/[{;}]/.test(e))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[e]);return e},goog.html.SafeStyle.sanitizePropertyValueString_=function(e){var t=e.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(t)?goog.html.SafeStyle.COMMENT_RE_.test(e)?(goog.asserts.fail("String value disallows comments, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(e)?goog.html.SafeStyle.hasBalancedSquareBrackets_(e)?goog.html.SafeStyle.sanitizeUrl_(e):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+e),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(e){for(var t=!0,o=!0,r=0;r<e.length;r++){var n=e.charAt(r);"'"==n&&o?t=!t:'"'==n&&t&&(o=!o)}return t&&o},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(e){for(var t=!0,o=/^[-_a-zA-Z0-9]$/,r=0;r<e.length;r++){var n=e.charAt(r);if("]"==n){if(t)return!1;t=!0}else if("["==n){if(!t)return!1;t=!1}else if(!t&&!o.test(n))return!1}return t},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.FUNCTIONS_RE_=/\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(e){return e.replace(goog.html.SafeStyle.URL_RE_,function(e,t,o,r){var n="";return o=o.replace(/^(['"])(.*)\1$/,function(e,t,o){return n=t,o}),e=goog.html.SafeUrl.sanitize(o).getTypedStringValue(),t+n+e+n+r})},goog.html.SafeStyle.concat=function(e){var t="",o=function(e){goog.isArray(e)?goog.array.forEach(e,o):t+=goog.html.SafeStyle.unwrap(e)};return goog.array.forEach(arguments,o),t?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t):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(e,t){if(goog.string.internal.contains(e,"<"))throw Error("Selector does not allow '<', got: "+e);var o=e.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(o))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+e);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(o))throw Error("() and [] in selector must be balanced, got: "+e);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),e=e+"{"+goog.html.SafeStyle.unwrap(t).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeStyleSheet.hasBalancedBrackets_=function(e){for(var t={"(":")","[":"]"},o=[],r=0;r<e.length;r++){var n=e[r];if(t[n])o.push(t[n]);else if(goog.object.contains(t,n)&&o.pop()!=n)return!1}return 0==o.length},goog.html.SafeStyleSheet.concat=function(e){var t="",o=function(e){goog.isArray(e)?goog.array.forEach(e,o):t+=goog.html.SafeStyleSheet.unwrap(e)};return goog.array.forEach(arguments,o),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeStyleSheet.fromConstant=function(e){return 0===(e=goog.string.Const.unwrap(e)).length?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(e,"<"),"Forbidden '<' character in style sheet string: "+e),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e))},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(e){return e instanceof goog.html.SafeStyleSheet&&e.constructor===goog.html.SafeStyleSheet&&e.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeStyleSheet")},goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(e){return(new goog.html.SafeStyleSheet).initSecurityPrivateDoNotAccessOrElse_(e)},goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=e,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 e=goog.labs.userAgent.util.getNavigator_();return e&&(e=e.userAgent)?e:""},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(e){goog.labs.userAgent.util.userAgent_=e||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(t,e)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(e){var t=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(t,e)},goog.labs.userAgent.util.extractVersionTuples=function(e){for(var t,o=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,r=[];t=o.exec(e);)r.push([t[1],t[2],t[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 e(e){return e=goog.array.find(e,r),o[e]||""}var t=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(t);t=goog.labs.userAgent.util.extractVersionTuples(t);var o={};goog.array.forEach(t,function(e){o[e[0]]=e[1]});var r=goog.partial(goog.object.containsKey,o);return goog.labs.userAgent.browser.isOpera()?e(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?e(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?e(["Edg"]):goog.labs.userAgent.browser.isChrome()?e(["Chrome","CriOS"]):(t=t[2])&&t[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(e){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),e)},goog.labs.userAgent.browser.getIEVersion_=function(e){var t=/rv: *([\d\.]*)/.exec(e);if(t&&t[1])return t[1];t="";var o=/MSIE +([\d\.]+)/.exec(e);if(o&&o[1])if(e=/Trident\/(\d.\d)/.exec(e),"7.0"==o[1])if(e&&e[1])switch(e[1]){case"4.0":t="8.0";break;case"5.0":t="9.0";break;case"6.0":t="10.0";break;case"7.0":t="11.0"}else t="7.0";else t=o[1];return t},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.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(e){return goog.html.SafeHtml.unwrapTrustedHTML(e).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(e){return e instanceof goog.html.SafeHtml&&e.constructor===goog.html.SafeHtml&&e.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?e.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+e+"' of type "+goog.typeOf(e)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(e){if(e instanceof goog.html.SafeHtml)return e;var t="object"==typeof e,o=null;return t&&e.implementsGoogI18nBidiDirectionalString&&(o=e.getDirection()),e=t&&e.implementsGoogStringTypedString?e.getTypedStringValue():String(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(e),o)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(e){return e instanceof goog.html.SafeHtml?e:(e=goog.html.SafeHtml.htmlEscape(e),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(e)),e.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,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(e,t,o){return goog.html.SafeHtml.verifyTagName(String(e)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(e),t,o)},goog.html.SafeHtml.verifyTagName=function(e){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(e))throw Error("Invalid tag name <"+e+">.");if(e.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error("Tag name <"+e+"> is not allowed for SafeHtml.")},goog.html.SafeHtml.createIframe=function(e,t,o,r){e&&goog.html.TrustedResourceUrl.unwrap(e);var n={};return n.src=e||null,n.srcdoc=t&&goog.html.SafeHtml.unwrap(t),e=goog.html.SafeHtml.combineAttributes(n,{sandbox:""},o),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,r)},goog.html.SafeHtml.createSandboxIframe=function(e,t,o,r){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error("The browser does not support sandboxed iframes.");var n={};return n.src=e?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)):null,n.srcdoc=t||null,n.sandbox="",e=goog.html.SafeHtml.combineAttributes(n,{},o),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",e,r)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(e,t){return goog.html.TrustedResourceUrl.unwrap(e),e=goog.html.SafeHtml.combineAttributes({src:e},{},t),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",e)},goog.html.SafeHtml.createScript=function(e,t){for(var o in t){var r=o.toLowerCase();if("language"==r||"src"==r||"text"==r||"type"==r)throw Error('Cannot set "'+r+'" attribute')}for(o="",e=goog.array.concat(e),r=0;r<e.length;r++)o+=goog.html.SafeScript.unwrap(e[r]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t,e)},goog.html.SafeHtml.createStyle=function(e,t){t=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},t);var o="";e=goog.array.concat(e);for(var r=0;r<e.length;r++)o+=goog.html.SafeStyleSheet.unwrap(e[r]);return e=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",t,e)},goog.html.SafeHtml.createMetaRefresh=function(e,t){return e=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(t||0)+"; url="+e})},goog.html.SafeHtml.getAttrNameAndValue_=function(e,t,o){if(o instanceof goog.string.Const)o=goog.string.Const.unwrap(o);else if("style"==t.toLowerCase())o=goog.html.SafeHtml.getStyleValue_(o);else{if(/^on/i.test(t))throw Error('Attribute "'+t+'" requires goog.string.Const value, "'+o+'" given.');if(t.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(o instanceof goog.html.TrustedResourceUrl)o=goog.html.TrustedResourceUrl.unwrap(o);else if(o instanceof goog.html.SafeUrl)o=goog.html.SafeUrl.unwrap(o);else{if(!goog.isString(o))throw Error('Attribute "'+t+'" on tag "'+e+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+o+'" given.');o=goog.html.SafeUrl.sanitize(o).getTypedStringValue()}}return o.implementsGoogStringTypedString&&(o=o.getTypedStringValue()),goog.asserts.assert(goog.isString(o)||goog.isNumber(o),"String or number value expected, got "+typeof o+" with value: "+o),t+'="'+goog.string.internal.htmlEscape(String(o))+'"'},goog.html.SafeHtml.getStyleValue_=function(e){if(!goog.isObject(e))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof e+" given: "+e);return e instanceof goog.html.SafeStyle||(e=goog.html.SafeStyle.create(e)),goog.html.SafeStyle.unwrap(e)},goog.html.SafeHtml.createWithDir=function(e,t,o,r){return(t=goog.html.SafeHtml.create(t,o,r)).dir_=e,t},goog.html.SafeHtml.join=function(e,t){var o=(e=goog.html.SafeHtml.htmlEscape(e)).getDirection(),r=[],n=function(e){goog.isArray(e)?goog.array.forEach(e,n):(e=goog.html.SafeHtml.htmlEscape(e),r.push(goog.html.SafeHtml.unwrap(e)),e=e.getDirection(),o==goog.i18n.bidi.Dir.NEUTRAL?o=e:e!=goog.i18n.bidi.Dir.NEUTRAL&&o!=e&&(o=null))};return goog.array.forEach(t,n),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r.join(goog.html.SafeHtml.unwrap(e)),o)},goog.html.SafeHtml.concat=function(e){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(e,t){var o=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return o.dir_=e,o},goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(e,t){return(new goog.html.SafeHtml).initSecurityPrivateDoNotAccessOrElse_(e,t)},goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(e,t){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(e):e,this.dir_=t,this},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(e,t,o){var r=null,n="<"+e+goog.html.SafeHtml.stringifyAttributes(e,t);return goog.isDefAndNotNull(o)?goog.isArray(o)||(o=[o]):o=[],goog.dom.tags.isVoidTag(e.toLowerCase())?(goog.asserts.assert(!o.length,"Void tag <"+e+"> does not allow content."),n+=">"):(r=goog.html.SafeHtml.concat(o),n+=">"+goog.html.SafeHtml.unwrap(r)+"</"+e+">",r=r.getDirection()),(e=t&&t.dir)&&(r=/^(ltr|rtl|auto)$/i.test(e)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(n,r)},goog.html.SafeHtml.stringifyAttributes=function(e,t){var o="";if(t)for(var r in t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(r))throw Error('Invalid attribute name "'+r+'".');var n=t[r];goog.isDefAndNotNull(n)&&(o+=" "+goog.html.SafeHtml.getAttrNameAndValue_(e,r,n))}return o},goog.html.SafeHtml.combineAttributes=function(e,t,o){var r,n={};for(r in e)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),n[r]=e[r];for(r in t)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),n[r]=t[r];for(r in o){var i=r.toLowerCase();if(i in e)throw Error('Cannot override "'+i+'" attribute, got "'+r+'" with value "'+o[r]+'"');i in t&&delete n[i],n[r]=o[r]}return n},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(e,t,o){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(t,o||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(e,t){return goog.asserts.assertString(goog.string.Const.unwrap(e),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(e)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(e,t,o){e.insertAdjacentHTML(t,goog.html.SafeHtml.unwrapTrustedHTML(o))},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&&"undefined"==typeof document)return!1;var e=document.createElement("div"),t=document.createElement("div");return t.appendChild(document.createElement("div")),e.appendChild(t),!(goog.DEBUG&&!e.firstChild||(t=e.firstChild.firstChild,e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),t.parentElement))}),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(e,t){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;e.lastChild;)e.removeChild(e.lastChild);e.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setInnerHtml=function(e,t){if(goog.asserts.ENABLE_ASSERTS){var o=e.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[o])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+e.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(e,t)},goog.dom.safe.setOuterHtml=function(e,t){e.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setFormElementAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLFormElement(e).action=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setButtonFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLButtonElement(e).formAction=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setInputFormAction=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),goog.dom.asserts.assertIsHTMLInputElement(e).formAction=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setStyle=function(e,t){e.style.cssText=goog.html.SafeStyle.unwrap(t)},goog.dom.safe.documentWrite=function(e,t){e.write(goog.html.SafeHtml.unwrapTrustedHTML(t))},goog.dom.safe.setAnchorHref=function(e,t){goog.dom.asserts.assertIsHTMLAnchorElement(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setImageSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLImageElement(e),!(t instanceof goog.html.SafeUrl)){var o=/^data:image\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,o)}e.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setAudioSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLAudioElement(e),!(t instanceof goog.html.SafeUrl)){var o=/^data:audio\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,o)}e.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setVideoSrc=function(e,t){if(goog.dom.asserts.assertIsHTMLVideoElement(e),!(t instanceof goog.html.SafeUrl)){var o=/^data:video\//i.test(t);t=goog.html.SafeUrl.sanitizeAssertUnchanged(t,o)}e.src=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.setEmbedSrc=function(e,t){goog.dom.asserts.assertIsHTMLEmbedElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setFrameSrc=function(e,t){goog.dom.asserts.assertIsHTMLFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)},goog.dom.safe.setIframeSrc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)},goog.dom.safe.setIframeSrcdoc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(t)},goog.dom.safe.setLinkHrefAndRel=function(e,t,o){goog.dom.asserts.assertIsHTMLLinkElement(e),e.rel=o,goog.string.internal.caseInsensitiveContains(o,"stylesheet")?(goog.asserts.assert(t instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),e.href=goog.html.TrustedResourceUrl.unwrapTrustedURL(t)):e.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrapTrustedURL(t):t instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrapTrustedURL(t):goog.html.SafeUrl.unwrapTrustedURL(goog.html.SafeUrl.sanitizeAssertUnchanged(t))},goog.dom.safe.setObjectData=function(e,t){goog.dom.asserts.assertIsHTMLObjectElement(e),e.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t)},goog.dom.safe.setScriptSrc=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t),(t=goog.getScriptNonce())&&e.setAttribute("nonce",t)},goog.dom.safe.setScriptContent=function(e,t){goog.dom.asserts.assertIsHTMLScriptElement(e),e.text=goog.html.SafeScript.unwrapTrustedScript(t),(t=goog.getScriptNonce())&&e.setAttribute("nonce",t)},goog.dom.safe.setLocationHref=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.href=goog.html.SafeUrl.unwrapTrustedURL(t)},goog.dom.safe.assignLocation=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.assign(goog.html.SafeUrl.unwrapTrustedURL(t))},goog.dom.safe.replaceLocation=function(e,t){goog.dom.asserts.assertIsLocation(e),t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.replace(goog.html.SafeUrl.unwrapTrustedURL(t))},goog.dom.safe.openInWindow=function(e,t,o,r,n){return e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),(t||goog.global).open(goog.html.SafeUrl.unwrapTrustedURL(e),o?goog.string.Const.unwrap(o):"",r,n)},goog.dom.safe.parseFromStringHtml=function(e,t){return goog.dom.safe.parseFromString(e,t,"text/html")},goog.dom.safe.parseFromString=function(e,t,o){return e.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(t),o)},goog.dom.safe.createImageFromBlob=function(e){if(!/^image\/.*/g.test(e.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var t=goog.global.URL.createObjectURL(e);return(e=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(t)},goog.dom.safe.setImageSrc(e,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),t)),e},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:" "},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(e,t){for(var o=e.split("%s"),r="",n=Array.prototype.slice.call(arguments,1);n.length&&1<o.length;)r+=o.shift()+n.shift();return r+o.join("%s")},goog.string.collapseWhitespace=function(e){return e.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(e){return 0==e.length},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(e){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(e))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(e){return!/[^\t\n\r ]/.test(e)},goog.string.isAlpha=function(e){return!/[^a-zA-Z]/.test(e)},goog.string.isNumeric=function(e){return!/[^0-9]/.test(e)},goog.string.isAlphaNumeric=function(e){return!/[^a-zA-Z0-9]/.test(e)},goog.string.isSpace=function(e){return" "==e},goog.string.isUnicodeChar=function(e){return 1==e.length&&" "<=e&&"~">=e||""<=e&&"�">=e},goog.string.stripNewlines=function(e){return e.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(e){return e.replace(/(\r\n|\r|\n)/g,"\n")},goog.string.normalizeWhitespace=function(e){return e.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(e){return e.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(e){return e.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(e){return e.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(e){return e.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(e,t,o){if(e==t)return 0;if(!e)return-1;if(!t)return 1;for(var r=e.toLowerCase().match(o),n=t.toLowerCase().match(o),i=Math.min(r.length,n.length),s=0;s<i;s++){o=r[s];var a=n[s];if(o!=a)return e=parseInt(o,10),!isNaN(e)&&(t=parseInt(a,10),!isNaN(t)&&e-t)?e-t:o<a?-1:1}return r.length!=n.length?r.length-n.length:e<t?-1:1},goog.string.intAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\D+/g)},goog.string.floatAwareCompare=function(e,t){return goog.string.numberAwareCompare_(e,t,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(e){return encodeURIComponent(String(e))},goog.string.urlDecode=function(e){return decodeURIComponent(e.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(e,t){return e=goog.string.internal.htmlEscape(e,t),goog.string.DETECT_DOUBLE_ESCAPING&&(e=e.replace(goog.string.E_RE_,"e")),e},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(e){return goog.string.contains(e,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(e):goog.string.unescapePureXmlEntities_(e):e},goog.string.unescapeEntitiesWithDocument=function(e,t){return goog.string.contains(e,"&")?goog.string.unescapeEntitiesUsingDom_(e,t):e},goog.string.unescapeEntitiesUsingDom_=function(e,t){var o={"&":"&","<":"<",">":">",""":'"'},r=t?t.createElement("div"):goog.global.document.createElement("div");return e.replace(goog.string.HTML_ENTITY_PATTERN_,function(e,t){var n=o[e];return n||("#"==t.charAt(0)&&(t=Number("0"+t.substr(1)),isNaN(t)||(n=String.fromCharCode(t))),n||(goog.dom.safe.setInnerHtml(r,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),e+" ")),n=r.firstChild.nodeValue.slice(0,-1)),o[e]=n)})},goog.string.unescapePureXmlEntities_=function(e){return e.replace(/&([^;]+);/g,function(e,t){switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return"#"!=t.charAt(0)||(t=Number("0"+t.substr(1)),isNaN(t))?e:String.fromCharCode(t)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(e,t){return goog.string.newLineToBr(e.replace(/ /g,"  "),t)},goog.string.preserveSpaces=function(e){return e.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(e,t){for(var o=t.length,r=0;r<o;r++){var n=1==o?t:t.charAt(r);if(e.charAt(0)==n&&e.charAt(e.length-1)==n)return e.substring(1,e.length-1)}return e},goog.string.truncate=function(e,t,o){return o&&(e=goog.string.unescapeEntities(e)),e.length>t&&(e=e.substring(0,t-3)+"..."),o&&(e=goog.string.htmlEscape(e)),e},goog.string.truncateMiddle=function(e,t,o,r){if(o&&(e=goog.string.unescapeEntities(e)),r&&e.length>t){r>t&&(r=t);var n=e.length-r;e=e.substring(0,t-r)+"..."+e.substring(n)}else e.length>t&&(r=Math.floor(t/2),n=e.length-r,e=e.substring(0,r+t%2)+"..."+e.substring(n));return o&&(e=goog.string.htmlEscape(e)),e},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(e){e=String(e);for(var t=['"'],o=0;o<e.length;o++){var r=e.charAt(o),n=r.charCodeAt(0);t[o+1]=goog.string.specialEscapeChars_[r]||(31<n&&127>n?r:goog.string.escapeChar(r))}return t.push('"'),t.join("")},goog.string.escapeString=function(e){for(var t=[],o=0;o<e.length;o++)t[o]=goog.string.escapeChar(e.charAt(o));return t.join("")},goog.string.escapeChar=function(e){if(e in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[e];if(e in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[e]=goog.string.specialEscapeChars_[e];var t=e.charCodeAt(0);if(31<t&&127>t)var o=e;else 256>t?(o="\\x",(16>t||256<t)&&(o+="0")):(o="\\u",4096>t&&(o+="0")),o+=t.toString(16).toUpperCase();return goog.string.jsEscapeCache_[e]=o},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(e,t){return e&&t?e.split(t).length-1:0},goog.string.removeAt=function(e,t,o){var r=e;return 0<=t&&t<e.length&&0<o&&(r=e.substr(0,t)+e.substr(t+o,e.length-t-o)),r},goog.string.remove=function(e,t){return e.replace(t,"")},goog.string.removeAll=function(e,t){return t=new RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,"")},goog.string.replaceAll=function(e,t,o){return t=new RegExp(goog.string.regExpEscape(t),"g"),e.replace(t,o.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(e){return String(e).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(e,t){return e.repeat(t)}:function(e,t){return Array(t+1).join(e)},goog.string.padNumber=function(e,t,o){return-1==(o=(e=goog.isDef(o)?e.toFixed(o):String(e)).indexOf("."))&&(o=e.length),goog.string.repeat("0",Math.max(0,t-o))+e},goog.string.makeSafe=function(e){return null==e?"":String(e)},goog.string.buildString=function(e){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(e){for(var t=0,o=0;o<e.length;++o)t=31*t+e.charCodeAt(o)>>>0;return t},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(e){var t=Number(e);return 0==t&&goog.string.isEmptyOrWhitespace(e)?NaN:t},goog.string.isLowerCamelCase=function(e){return/^[a-z]+([A-Z][a-z]*)*$/.test(e)},goog.string.isUpperCamelCase=function(e){return/^([A-Z][a-z]*)+$/.test(e)},goog.string.toCamelCase=function(e){return String(e).replace(/\-([a-z])/g,function(e,t){return t.toUpperCase()})},goog.string.toSelectorCase=function(e){return String(e).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(e,t){return t=goog.isString(t)?goog.string.regExpEscape(t):"\\s",e.replace(new RegExp("(^"+(t?"|["+t+"]+":"")+")([a-z])","g"),function(e,t,o){return t+o.toUpperCase()})},goog.string.capitalize=function(e){return String(e.charAt(0)).toUpperCase()+String(e.substr(1)).toLowerCase()},goog.string.parseInt=function(e){return isFinite(e)&&(e=String(e)),goog.isString(e)?/^\s*-?0x/i.test(e)?parseInt(e,16):parseInt(e,10):NaN},goog.string.splitLimit=function(e,t,o){e=e.split(t);for(var r=[];0<o&&e.length;)r.push(e.shift()),o--;return e.length&&r.push(e.join(t)),r},goog.string.lastComponent=function(e,t){if(!t)return e;"string"==typeof t&&(t=[t]);for(var o=-1,r=0;r<t.length;r++)if(""!=t[r]){var n=e.lastIndexOf(t[r]);n>o&&(o=n)}return-1==o?e:e.slice(o+1)},goog.string.editDistance=function(e,t){var o=[],r=[];if(e==t)return 0;if(!e.length||!t.length)return Math.max(e.length,t.length);for(var n=0;n<t.length+1;n++)o[n]=n;for(n=0;n<e.length;n++){r[0]=n+1;for(var i=0;i<t.length;i++)r[i+1]=Math.min(r[i]+1,o[i+1]+1,o[i]+Number(e[n]!=t[i]));for(i=0;i<o.length;i++)o[i]=r[i]}return r[t.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 e=goog.labs.userAgent.util.getUserAgent();if(e){e=goog.labs.userAgent.util.extractVersionTuples(e);var t,o=goog.labs.userAgent.engine.getEngineTuple_(e);if(o)return"Gecko"==o[0]?goog.labs.userAgent.engine.getVersionForKey_(e,"Firefox"):o[1];if((e=e[0])&&(t=e[2])&&(t=/Trident\/([^\s;]+)/.exec(t)))return t[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(e){if(!goog.labs.userAgent.engine.isEdge())return e[1];for(var t=0;t<e.length;t++){var o=e[t];if("Edge"==o[0])return o}},goog.labs.userAgent.engine.isVersionOrHigher=function(e){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),e)},goog.labs.userAgent.engine.getVersionForKey_=function(e,t){return(e=goog.array.find(e,function(e){return t==e[0]}))&&e[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.isGo2Phone=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("GAFP")},goog.labs.userAgent.platform.getVersion=function(){var e=goog.labs.userAgent.util.getUserAgent(),t="";return goog.labs.userAgent.platform.isWindows()?t=(e=(t=/Windows (?:NT|Phone) ([0-9.]+)/).exec(e))?e[1]:"0.0":goog.labs.userAgent.platform.isIos()?t=(e=(t=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/).exec(e))&&e[1].replace(/_/g,"."):goog.labs.userAgent.platform.isMacintosh()?t=(e=(t=/Mac OS X ([0-9_.]+)/).exec(e))?e[1].replace(/_/g,"."):"10":goog.labs.userAgent.platform.isKaiOS()?t=(e=(t=/(?:KaiOS)\/(\S+)/i).exec(e))&&e[1]:goog.labs.userAgent.platform.isAndroid()?t=(e=(t=/Android\s+([^\);]+)(\)|;)/).exec(e))&&e[1]:goog.labs.userAgent.platform.isChromeOS()&&(t=(e=(t=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/).exec(e))&&e[1]),t||""},goog.labs.userAgent.platform.isVersionOrHigher=function(e){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),e)},goog.reflect={},goog.reflect.object=function(e,t){return t},goog.reflect.objectProperty=function(e,t){return e},goog.reflect.sinkValue=function(e){return goog.reflect.sinkValue[" "](e),e},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(e,t){try{return goog.reflect.sinkValue(e[t]),!0}catch(e){}return!1},goog.reflect.cache=function(e,t,o,r){return r=r?r(t):t,Object.prototype.hasOwnProperty.call(e,r)?e[r]:e[r]=o(t)},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 e=goog.userAgent.getNavigatorTyped();return e&&e.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.ASSUME_GO2PHONE=!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 e=goog.userAgent.getNavigatorTyped();return!!e&&goog.string.contains(e.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.GO2PHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_GO2PHONE:goog.labs.userAgent.platform.isGo2Phone(),goog.userAgent.determineVersion_=function(){var e="",t=goog.userAgent.getVersionRegexResult_();return t&&(e=t?t[1]:""),goog.userAgent.IE&&null!=(t=goog.userAgent.getDocumentMode_())&&t>parseFloat(e)?String(t):e},goog.userAgent.getVersionRegexResult_=function(){var e=goog.userAgent.getUserAgentString();return goog.userAgent.GECKO?/rv:([^\);]+)(\)|;)/.exec(e):goog.userAgent.EDGE?/Edge\/([\d\.]+)/.exec(e):goog.userAgent.IE?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e):goog.userAgent.WEBKIT?/WebKit\/(\S+)/.exec(e):goog.userAgent.OPERA?/(?:Version)[ \/]?(\S+)/.exec(e):void 0},goog.userAgent.getDocumentMode_=function(){var e=goog.global.document;return e?e.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(e,t){return goog.string.compareVersions(e,t)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(e){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,e,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,e)})},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(e){return Number(goog.userAgent.DOCUMENT_MODE)>=e},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE)return goog.userAgent.getDocumentMode_()}(),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(e){return goog.string.contains(goog.crypt.base64.paddingChars_,e)},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_||"function"==typeof goog.global.btoa,goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&"function"==typeof goog.global.atob,goog.crypt.base64.encodeByteArray=function(e,t){goog.asserts.assert(goog.isArrayLike(e),"encodeByteArray takes an array as a parameter"),void 0===t&&(t=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),t=goog.crypt.base64.byteToCharMaps_[t];for(var o=[],r=0;r<e.length;r+=3){var n=e[r],i=r+1<e.length,s=i?e[r+1]:0,a=r+2<e.length,g=a?e[r+2]:0,p=n>>2;n=(3&n)<<4|s>>4,s=(15&s)<<2|g>>6,g&=63,a||(g=64,i||(s=64)),o.push(t[p],t[n],t[s]||"",t[g]||"")}return o.join("")},goog.crypt.base64.encodeString=function(e,t){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!t?goog.global.btoa(e):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(e),t)},goog.crypt.base64.decodeString=function(e,t){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!t)return goog.global.atob(e);var o="";return goog.crypt.base64.decodeStringInternal_(e,function(e){o+=String.fromCharCode(e)}),o},goog.crypt.base64.decodeStringToByteArray=function(e,t){var o=[];return goog.crypt.base64.decodeStringInternal_(e,function(e){o.push(e)}),o},goog.crypt.base64.decodeStringToUint8Array=function(e){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var t=e.length,o=3*t/4;o%3?o=Math.floor(o):goog.crypt.base64.isPadding_(e[t-1])&&(o=goog.crypt.base64.isPadding_(e[t-2])?o-2:o-1);var r=new Uint8Array(o),n=0;return goog.crypt.base64.decodeStringInternal_(e,function(e){r[n++]=e}),r.subarray(0,n)},goog.crypt.base64.decodeStringInternal_=function(e,t){function o(t){for(;r<e.length;){var o=e.charAt(r++),n=goog.crypt.base64.charToByteMap_[o];if(null!=n)return n;if(!goog.string.isEmptyOrWhitespace(o))throw Error("Unknown base64 encoding at char: "+o)}return t}goog.crypt.base64.init_();for(var r=0;;){var n=o(-1),i=o(0),s=o(64),a=o(64);if(64===a&&-1===n)break;t(n<<2|i>>4),64!=s&&(t(i<<4&240|s>>2),64!=a&&t(s<<6&192|a))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var e=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),t=["+/=","+/","-_=","-_.","-_"],o=0;5>o;o++){var r=e.concat(t[o].split(""));goog.crypt.base64.byteToCharMaps_[o]=r;for(var n=0;n<r.length;n++){var i=r[n],s=goog.crypt.base64.charToByteMap_[i];void 0===s?goog.crypt.base64.charToByteMap_[i]=n:goog.asserts.assert(s===n)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(e){var t=e>>>0;e=Math.floor((e-t)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=t,jspb.utils.split64High=e},jspb.utils.splitInt64=function(e){var t=0>e,o=(e=Math.abs(e))>>>0;e=Math.floor((e-o)/jspb.BinaryConstants.TWO_TO_32),e>>>=0,t&&(e=~e>>>0,4294967295<(o=(~o>>>0)+1)&&(o=0,4294967295<++e&&(e=0))),jspb.utils.split64Low=o,jspb.utils.split64High=e},jspb.utils.splitZigzag64=function(e){var t=0>e;e=2*Math.abs(e),jspb.utils.splitUint64(e),e=jspb.utils.split64Low;var o=jspb.utils.split64High;t&&(0==e?0==o?o=e=4294967295:(o--,e=4294967295):e--),jspb.utils.split64Low=e,jspb.utils.split64High=o},jspb.utils.splitFloat32=function(e){var t=0>e?1:0;if(0===(e=t?-e:e))0<1/e?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(e))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(e>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|2139095040)>>>0;else if(e<jspb.BinaryConstants.FLOAT32_MIN)e=Math.round(e/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|e)>>>0;else{var o=Math.floor(Math.log(e)/Math.LN2);e*=Math.pow(2,-o),16777216<=(e=Math.round(e*jspb.BinaryConstants.TWO_TO_23))&&++o,jspb.utils.split64High=0,jspb.utils.split64Low=(t<<31|o+127<<23|8388607&e)>>>0}},jspb.utils.splitFloat64=function(e){var t=0>e?1:0;if(0===(e=t?-e:e))jspb.utils.split64High=0<1/e?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(e))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(e>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(t<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(e<jspb.BinaryConstants.FLOAT64_MIN){var o=e/Math.pow(2,-1074);e=o/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(t<<31|e)>>>0,jspb.utils.split64Low=o>>>0}else{var r=0;if(2<=(o=e))for(;2<=o&&1023>r;)r++,o/=2;else for(;1>o&&-1022<r;)o*=2,r--;e=(o=e*Math.pow(2,-r))*jspb.BinaryConstants.TWO_TO_20&1048575,o=o*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(t<<31|r+1023<<20|e)>>>0,jspb.utils.split64Low=o}},jspb.utils.splitHash64=function(e){var t=e.charCodeAt(0),o=e.charCodeAt(1),r=e.charCodeAt(2),n=e.charCodeAt(3),i=e.charCodeAt(4),s=e.charCodeAt(5),a=e.charCodeAt(6);e=e.charCodeAt(7),jspb.utils.split64Low=t+(o<<8)+(r<<16)+(n<<24)>>>0,jspb.utils.split64High=i+(s<<8)+(a<<16)+(e<<24)>>>0},jspb.utils.joinUint64=function(e,t){return t*jspb.BinaryConstants.TWO_TO_32+(e>>>0)},jspb.utils.joinInt64=function(e,t){var o=2147483648&t;return o&&(t=~t>>>0,0==(e=1+~e>>>0)&&(t=t+1>>>0)),e=jspb.utils.joinUint64(e,t),o?-e:e},jspb.utils.toZigzag64=function(e,t,o){var r=t>>31;return o(e<<1^r,(t<<1|e>>>31)^r)},jspb.utils.joinZigzag64=function(e,t){return jspb.utils.fromZigzag64(e,t,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(e,t,o){var r=-(1&e);return o((e>>>1|t<<31)^r,t>>>1^r)},jspb.utils.joinFloat32=function(e,t){t=2*(e>>31)+1;var o=e>>>23&255;return e&=8388607,255==o?e?NaN:1/0*t:0==o?t*Math.pow(2,-149)*e:t*Math.pow(2,o-150)*(e+Math.pow(2,23))},jspb.utils.joinFloat64=function(e,t){var o=2*(t>>31)+1,r=t>>>20&2047;return e=jspb.BinaryConstants.TWO_TO_32*(1048575&t)+e,2047==r?e?NaN:1/0*o:0==r?o*Math.pow(2,-1074)*e:o*Math.pow(2,r-1075)*(e+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(e,t){return String.fromCharCode(e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255,t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(e,t){function o(e,t){return e=e?String(e):"",t?"0000000".slice(e.length)+e:e}if(2097151>=t)return""+jspb.utils.joinUint64(e,t);var r=(e>>>24|t<<8)>>>0&16777215;return e=(16777215&e)+6777216*r+6710656*(t=t>>16&65535),r+=8147497*t,t*=2,1e7<=e&&(r+=Math.floor(e/1e7),e%=1e7),1e7<=r&&(t+=Math.floor(r/1e7),r%=1e7),o(t,0)+o(r,t)+o(e,1)},jspb.utils.joinSignedDecimalString=function(e,t){var o=2147483648&t;return o&&(t=~t+(0==(e=1+~e>>>0)?1:0)>>>0),e=jspb.utils.joinUnsignedDecimalString(e,t),o?"-"+e:e},jspb.utils.hash64ToDecimalString=function(e,t){jspb.utils.splitHash64(e),e=jspb.utils.split64Low;var o=jspb.utils.split64High;return t?jspb.utils.joinSignedDecimalString(e,o):jspb.utils.joinUnsignedDecimalString(e,o)},jspb.utils.hash64ArrayToDecimalStrings=function(e,t){for(var o=Array(e.length),r=0;r<e.length;r++)o[r]=jspb.utils.hash64ToDecimalString(e[r],t);return o},jspb.utils.decimalStringToHash64=function(e){function t(e,t){for(var o=0;8>o&&(1!==e||0<t);o++)t=e*r[o]+t,r[o]=255&t,t>>>=8}goog.asserts.assert(0<e.length);var o=!1;"-"===e[0]&&(o=!0,e=e.slice(1));for(var r=[0,0,0,0,0,0,0,0],n=0;n<e.length;n++)t(10,e.charCodeAt(n)-jspb.utils.ZERO_CHAR_CODE_);return o&&(function(){for(var e=0;8>e;e++)r[e]=255&~r[e]}(),t(1,1)),goog.crypt.byteArrayToString(r)},jspb.utils.splitDecimalString=function(e){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(e))},jspb.utils.toHexDigit_=function(e){return String.fromCharCode(10>e?jspb.utils.ZERO_CHAR_CODE_+e:jspb.utils.A_CHAR_CODE_-10+e)},jspb.utils.fromHexCharCode_=function(e){return e>=jspb.utils.A_CHAR_CODE_?e-jspb.utils.A_CHAR_CODE_+10:e-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(e){var t=Array(18);t[0]="0",t[1]="x";for(var o=0;8>o;o++){var r=e.charCodeAt(7-o);t[2*o+2]=jspb.utils.toHexDigit_(r>>4),t[2*o+3]=jspb.utils.toHexDigit_(15&r)}return t.join("")},jspb.utils.hexStringToHash64=function(e){e=e.toLowerCase(),goog.asserts.assert(18==e.length),goog.asserts.assert("0"==e[0]),goog.asserts.assert("x"==e[1]);for(var t="",o=0;8>o;o++){var r=jspb.utils.fromHexCharCode_(e.charCodeAt(2*o+2)),n=jspb.utils.fromHexCharCode_(e.charCodeAt(2*o+3));t=String.fromCharCode(16*r+n)+t}return t},jspb.utils.hash64ToNumber=function(e,t){jspb.utils.splitHash64(e),e=jspb.utils.split64Low;var o=jspb.utils.split64High;return t?jspb.utils.joinInt64(e,o):jspb.utils.joinUint64(e,o)},jspb.utils.numberToHash64=function(e){return jspb.utils.splitInt64(e),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(e,t,o){for(var r=0,n=t;n<o;n++)r+=e[n]>>7;return o-t-r},jspb.utils.countVarintFields=function(e,t,o,r){var n=0;if(128>(r=8*r+jspb.BinaryConstants.WireType.VARINT))for(;t<o&&e[t++]==r;)for(n++;;){var i=e[t++];if(!(128&i))break}else for(;t<o;){for(i=r;128<i;){if(e[t]!=(127&i|128))return n;t++,i>>=7}if(e[t++]!=i)break;for(n++;128&(i=e[t++]););}return n},jspb.utils.countFixedFields_=function(e,t,o,r,n){var i=0;if(128>r)for(;t<o&&e[t++]==r;)i++,t+=n;else for(;t<o;){for(var s=r;128<s;){if(e[t++]!=(127&s|128))return i;s>>=7}if(e[t++]!=s)break;i++,t+=n}return i},jspb.utils.countFixed32Fields=function(e,t,o,r){return jspb.utils.countFixedFields_(e,t,o,8*r+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(e,t,o,r){return jspb.utils.countFixedFields_(e,t,o,8*r+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(e,t,o,r){var n=0;for(r=8*r+jspb.BinaryConstants.WireType.DELIMITED;t<o;){for(var i=r;128<i;){if(e[t++]!=(127&i|128))return n;i>>=7}if(e[t++]!=i)break;n++;for(var s=0,a=1;s+=(127&(i=e[t++]))*a,a*=128,128&i;);t+=s}return n},jspb.utils.debugBytesToTextFormat=function(e){var t='"';if(e){e=jspb.utils.byteSourceToUint8Array(e);for(var o=0;o<e.length;o++)t+="\\x",16>e[o]&&(t+="0"),t+=e[o].toString(16)}return t+'"'},jspb.utils.debugScalarToTextFormat=function(e){return"string"==typeof e?goog.string.quote(e):e.toString()},jspb.utils.stringToByteArray=function(e){for(var t=new Uint8Array(e.length),o=0;o<e.length;o++){var r=e.charCodeAt(o);if(255<r)throw Error("Conversion error: string contains codepoint outside of byte range");t[o]=r}return t},jspb.utils.byteSourceToUint8Array=function(e){return e.constructor===Uint8Array?e:e.constructor===ArrayBuffer||"undefined"!=typeof Buffer&&e.constructor===Buffer||e.constructor===Array?new Uint8Array(e):e.constructor===String?goog.crypt.base64.decodeStringToUint8Array(e):(goog.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(e,t,o){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,e&&this.setBlock(e,t,o)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(e,t,o){if(jspb.BinaryDecoder.instanceCache_.length){var r=jspb.BinaryDecoder.instanceCache_.pop();return e&&r.setBlock(e,t,o),r}return new jspb.BinaryDecoder(e,t,o)},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(e,t,o){this.bytes_=jspb.utils.byteSourceToUint8Array(e),this.start_=void 0!==t?t:0,this.end_=void 0!==o?this.start_+o:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(e){this.end_=e},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(e){this.cursor_=e},jspb.BinaryDecoder.prototype.advance=function(e){this.cursor_+=e,goog.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(e){for(var t=128,o=0,r=0,n=0;4>n&&128<=t;n++)o|=(127&(t=this.bytes_[this.cursor_++]))<<7*n;if(128<=t&&(o|=(127&(t=this.bytes_[this.cursor_++]))<<28,r|=(127&t)>>4),128<=t)for(n=0;5>n&&128<=t;n++)r|=(127&(t=this.bytes_[this.cursor_++]))<<7*n+3;if(128>t)return e(o>>>0,r>>>0);goog.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(e){return this.readSplitVarint64(function(t,o){return jspb.utils.fromZigzag64(t,o,e)})},jspb.BinaryDecoder.prototype.readSplitFixed64=function(e){var t=this.bytes_,o=this.cursor_;this.cursor_+=8;for(var r=0,n=0,i=o+7;i>=o;i--)r=r<<8|t[i],n=n<<8|t[i+4];return e(r,n)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;128&this.bytes_[this.cursor_];)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(e){for(;128<e;)this.cursor_--,e>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var e=this.bytes_,t=e[this.cursor_+0],o=127&t;return 128>t?(this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+1]))<<7,128>t?(this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+2]))<<14,128>t?(this.cursor_+=3,goog.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+3]))<<21,128>t?(this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),o):(o|=(15&(t=e[this.cursor_+4]))<<28,128>t?(this.cursor_+=5,goog.asserts.assert(this.cursor_<=this.end_),o>>>0):(this.cursor_+=5,128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&128<=e[this.cursor_++]&&goog.asserts.assert(!1),goog.asserts.assert(this.cursor_<=this.end_),o)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=jspb.BinaryDecoder.prototype.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 e=this.readUnsignedVarint32();return e>>>1^-(1&e)},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 e=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),e},jspb.BinaryDecoder.prototype.readUint16=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),e|t<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],o=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),(e|t<<8|o<<16|r<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinUint64(e,t)},jspb.BinaryDecoder.prototype.readUint64String=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinUnsignedDecimalString(e,t)},jspb.BinaryDecoder.prototype.readInt8=function(){var e=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),e<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),(e|t<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var e=this.bytes_[this.cursor_+0],t=this.bytes_[this.cursor_+1],o=this.bytes_[this.cursor_+2],r=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),e|t<<8|o<<16|r<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinInt64(e,t)},jspb.BinaryDecoder.prototype.readInt64String=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinSignedDecimalString(e,t)},jspb.BinaryDecoder.prototype.readFloat=function(){var e=this.readUint32();return jspb.utils.joinFloat32(e,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var e=this.readUint32(),t=this.readUint32();return jspb.utils.joinFloat64(e,t)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(e){var t=this.bytes_,o=this.cursor_;e=o+e;for(var r=[],n="";o<e;){var i=t[o++];if(128>i)r.push(i);else{if(192>i)continue;if(224>i){var s=t[o++];r.push((31&i)<<6|63&s)}else if(240>i){s=t[o++];var a=t[o++];r.push((15&i)<<12|(63&s)<<6|63&a)}else 248>i&&(i=(7&i)<<18|(63&(s=t[o++]))<<12|(63&(a=t[o++]))<<6|63&t[o++],i-=65536,r.push(55296+(i>>10&1023),56320+(1023&i)))}8192<=r.length&&(n+=String.fromCharCode.apply(null,r),r.length=0)}return n+=goog.crypt.byteArrayToString(r),this.cursor_=o,n},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var e=this.readUnsignedVarint32();return this.readString(e)},jspb.BinaryDecoder.prototype.readBytes=function(e){if(0>e||this.cursor_+e>this.bytes_.length)return this.error_=!0,goog.asserts.fail("Invalid byte length!"),new Uint8Array(0);var t=this.bytes_.subarray(this.cursor_,this.cursor_+e);return this.cursor_+=e,goog.asserts.assert(this.cursor_<=this.end_),t},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var e=this.bytes_,t=this.cursor_,o=e[t+0],r=e[t+1],n=e[t+2],i=e[t+3],s=e[t+4],a=e[t+5],g=e[t+6];return e=e[t+7],this.cursor_+=8,String.fromCharCode(o,r,n,i,s,a,g,e)},jspb.BinaryReader=function(e,t,o){this.decoder_=jspb.BinaryDecoder.alloc(e,t,o),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(e,t,o){if(jspb.BinaryReader.instanceCache_.length){var r=jspb.BinaryReader.instanceCache_.pop();return e&&r.decoder_.setBlock(e,t,o),r}return new jspb.BinaryReader(e,t,o)},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_},jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(e,t,o){this.decoder_.setBlock(e,t,o),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(e){this.decoder_.advance(e)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return goog.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var e=this.decoder_.readUnsignedVarint32(),t=e>>>3;return(e&=7)!=jspb.BinaryConstants.WireType.VARINT&&e!=jspb.BinaryConstants.WireType.FIXED32&&e!=jspb.BinaryConstants.WireType.FIXED64&&e!=jspb.BinaryConstants.WireType.DELIMITED&&e!=jspb.BinaryConstants.WireType.START_GROUP&&e!=jspb.BinaryConstants.WireType.END_GROUP?(goog.asserts.fail("Invalid wire type: %s (at position %s)",e,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=t,this.nextWireType_=e,!0)},jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var e=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==e;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var e=this.decoder_.readUnsignedVarint32();this.decoder_.advance(e)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(goog.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(goog.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){for(var e=this.nextField_;;){if(!this.nextField()){goog.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=e&&(goog.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}},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:goog.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(e,t){null===this.readCallbacks_&&(this.readCallbacks_={}),goog.asserts.assert(!this.readCallbacks_[e]),this.readCallbacks_[e]=t},jspb.BinaryReader.prototype.runReadCallback=function(e){return goog.asserts.assert(null!==this.readCallbacks_),e=this.readCallbacks_[e],goog.asserts.assert(e),e(this)},jspb.BinaryReader.prototype.readAny=function(e){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(e);var t=jspb.BinaryConstants.FieldType;switch(e){case t.DOUBLE:return this.readDouble();case t.FLOAT:return this.readFloat();case t.INT64:return this.readInt64();case t.UINT64:return this.readUint64();case t.INT32:return this.readInt32();case t.FIXED64:return this.readFixed64();case t.FIXED32:return this.readFixed32();case t.BOOL:return this.readBool();case t.STRING:return this.readString();case t.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case t.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case t.BYTES:return this.readBytes();case t.UINT32:return this.readUint32();case t.ENUM:return this.readEnum();case t.SFIXED32:return this.readSfixed32();case t.SFIXED64:return this.readSfixed64();case t.SINT32:return this.readSint32();case t.SINT64:return this.readSint64();case t.FHASH64:return this.readFixedHash64();case t.VHASH64:return this.readVarintHash64();default:goog.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(e,t){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var o=this.decoder_.getEnd(),r=this.decoder_.readUnsignedVarint32();r=this.decoder_.getCursor()+r,this.decoder_.setEnd(r),t(e,this),this.decoder_.setCursor(r),this.decoder_.setEnd(o)},jspb.BinaryReader.prototype.readGroup=function(e,t,o){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),goog.asserts.assert(this.nextField_==e),o(t,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(goog.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},jspb.BinaryReader.prototype.getFieldDecoder=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32(),t=this.decoder_.getCursor(),o=t+e;return e=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),t,e),this.decoder_.setCursor(o),e},jspb.BinaryReader.prototype.readInt32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},jspb.BinaryReader.prototype.readInt32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readInt64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readUint32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},jspb.BinaryReader.prototype.readUint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},jspb.BinaryReader.prototype.readSint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},jspb.BinaryReader.prototype.readSint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},jspb.BinaryReader.prototype.readFixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},jspb.BinaryReader.prototype.readFixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},jspb.BinaryReader.prototype.readSfixed32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},jspb.BinaryReader.prototype.readSfixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},jspb.BinaryReader.prototype.readDouble=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},jspb.BinaryReader.prototype.readBool=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readEnum=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readString=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(e)},jspb.BinaryReader.prototype.readBytes=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(e)},jspb.BinaryReader.prototype.readVarintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(e){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(e)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(e){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(function(t,o){return jspb.utils.fromZigzag64(t,o,e)})},jspb.BinaryReader.prototype.readFixedHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(e){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(e)},jspb.BinaryReader.prototype.readPackedField_=function(e){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();t=this.decoder_.getCursor()+t;for(var o=[];this.decoder_.getCursor()<t;)o.push(e.call(this.decoder_));return o},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},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 e=this.buffer_;return this.buffer_=[],e},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(e,t){for(goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32);0<t||127<e;)this.buffer_.push(127&e|128),e=(e>>>7|t<<25)>>>0,t>>>=7;this.buffer_.push(e)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(e,t){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(e),this.writeUint32(t)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(e){for(goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32);127<e;)this.buffer_.push(127&e|128),e>>>=7;this.buffer_.push(e)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(e){if(goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),0<=e)this.writeUnsignedVarint32(e);else{for(var t=0;9>t;t++)this.buffer_.push(127&e|128),e>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((e<<1^e>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(e){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(e))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(e){var t=this;jspb.utils.splitHash64(e),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,function(e,o){t.writeSplitVarint64(e>>>0,o>>>0)})},jspb.BinaryEncoder.prototype.writeUint8=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&256>e),this.buffer_.push(e>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&65536>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255),this.buffer_.push(e>>>16&255),this.buffer_.push(e>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(e),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(-128<=e&&128>e),this.buffer_.push(e>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(-32768<=e&&32768>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255),this.buffer_.push(e>>>16&255),this.buffer_.push(e>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(e),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(+e>=-jspb.BinaryConstants.TWO_TO_63&&+e<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(e)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(e){goog.asserts.assert(1/0===e||-1/0===e||isNaN(e)||e>=-jspb.BinaryConstants.FLOAT32_MAX&&e<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(e),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(e){goog.asserts.assert(1/0===e||-1/0===e||isNaN(e)||e>=-jspb.BinaryConstants.FLOAT64_MAX&&e<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(e),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(e){goog.asserts.assert("boolean"==typeof e||"number"==typeof e),this.buffer_.push(e?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(e){goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(e)},jspb.BinaryEncoder.prototype.writeBytes=function(e){this.buffer_.push.apply(this.buffer_,e)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(e){jspb.utils.splitHash64(e),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(e){jspb.utils.splitHash64(e),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(e){for(var t=this.buffer_.length,o=0;o<e.length;o++){var r=e.charCodeAt(o);if(128>r)this.buffer_.push(r);else if(2048>r)this.buffer_.push(r>>6|192),this.buffer_.push(63&r|128);else if(65536>r)if(55296<=r&&56319>=r&&o+1<e.length){var n=e.charCodeAt(o+1);56320<=n&&57343>=n&&(r=1024*(r-55296)+n-56320+65536,this.buffer_.push(r>>18|240),this.buffer_.push(r>>12&63|128),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128),o++)}else this.buffer_.push(r>>12|224),this.buffer_.push(r>>6&63|128),this.buffer_.push(63&r|128)}return this.buffer_.length-t},jspb.arith={},jspb.arith.UInt64=function(e,t){this.lo=e,this.hi=t},jspb.arith.UInt64.prototype.cmp=function(e){return this.hi<e.hi||this.hi==e.hi&&this.lo<e.lo?-1:this.hi==e.hi&&this.lo==e.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(1&this.hi)<<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!!(2147483648&this.hi)},jspb.arith.UInt64.prototype.lsb=function(){return!!(1&this.lo)},jspb.arith.UInt64.prototype.zero=function(){return 0==this.lo&&0==this.hi},jspb.arith.UInt64.prototype.add=function(e){return new jspb.arith.UInt64((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(e){return new jspb.arith.UInt64((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(e,t){var o=65535&e,r=65535&t,n=t>>>16;for(t=o*r+65536*(o*n&65535)+65536*((e>>>=16)*r&65535),o=e*n+(o*n>>>16)+(e*r>>>16);4294967296<=t;)t-=4294967296,o+=1;return new jspb.arith.UInt64(t>>>0,o>>>0)},jspb.arith.UInt64.prototype.mul=function(e){var t=jspb.arith.UInt64.mul32x32(this.lo,e);return(e=jspb.arith.UInt64.mul32x32(this.hi,e)).hi=e.lo,e.lo=0,t.add(e)},jspb.arith.UInt64.prototype.div=function(e){if(0==e)return[];var t=new jspb.arith.UInt64(0,0),o=new jspb.arith.UInt64(this.lo,this.hi);e=new jspb.arith.UInt64(e,0);for(var r=new jspb.arith.UInt64(1,0);!e.msb();)e=e.leftShift(),r=r.leftShift();for(;!r.zero();)0>=e.cmp(o)&&(t=t.add(r),o=o.sub(e)),e=e.rightShift(),r=r.rightShift();return[t,o]},jspb.arith.UInt64.prototype.toString=function(){for(var e="",t=this;!t.zero();){var o=(t=t.div(10))[0];e=t[1].lo+e,t=o}return""==e&&(e="0"),e},jspb.arith.UInt64.fromString=function(e){for(var t=new jspb.arith.UInt64(0,0),o=new jspb.arith.UInt64(0,0),r=0;r<e.length;r++){if("0">e[r]||"9"<e[r])return null;var n=parseInt(e[r],10);o.lo=n,t=t.mul(10).add(o)}return t},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(e,t){this.lo=e,this.hi=t},jspb.arith.Int64.prototype.add=function(e){return new jspb.arith.Int64((this.lo+e.lo&4294967295)>>>0>>>0,((this.hi+e.hi&4294967295)>>>0)+(4294967296<=this.lo+e.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(e){return new jspb.arith.Int64((this.lo-e.lo&4294967295)>>>0>>>0,((this.hi-e.hi&4294967295)>>>0)-(0>this.lo-e.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 e=!!(2147483648&this.hi),t=new jspb.arith.UInt64(this.lo,this.hi);return e&&(t=new jspb.arith.UInt64(0,0).sub(t)),(e?"-":"")+t.toString()},jspb.arith.Int64.fromString=function(e){var t=0<e.length&&"-"==e[0];return t&&(e=e.substring(1)),null===(e=jspb.arith.UInt64.fromString(e))?null:(t&&(e=new jspb.arith.UInt64(0,0).sub(e)),new jspb.arith.Int64(e.lo,e.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(e){var t=this.encoder_.end();this.blocks_.push(t),this.blocks_.push(e),this.totalLength_+=t.length+e.length},jspb.BinaryWriter.prototype.beginDelimited_=function(e){return this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),e=this.encoder_.end(),this.blocks_.push(e),this.totalLength_+=e.length,e.push(this.totalLength_),e},jspb.BinaryWriter.prototype.endDelimited_=function(e){var t=e.pop();for(t=this.totalLength_+this.encoder_.length()-t,goog.asserts.assert(0<=t);127<t;)e.push(127&t|128),t>>>=7,this.totalLength_++;e.push(t),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(e,t,o){this.appendUint8Array_(e.subarray(t,o))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(e,t,o){null!=e&&null!=t&&null!=o&&this.writeSerializedMessage(e,t,o)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){goog.asserts.assert(0==this.bookmarks_.length);for(var e=new Uint8Array(this.totalLength_+this.encoder_.length()),t=this.blocks_,o=t.length,r=0,n=0;n<o;n++){var i=t[n];e.set(i,r),r+=i.length}return t=this.encoder_.end(),e.set(t,r),r+=t.length,goog.asserts.assert(r==e.length),this.blocks_=[e],e},jspb.BinaryWriter.prototype.getResultBase64String=function(e){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),e)},jspb.BinaryWriter.prototype.beginSubMessage=function(e){this.bookmarks_.push(this.beginDelimited_(e))},jspb.BinaryWriter.prototype.endSubMessage=function(){goog.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(e,t){goog.asserts.assert(1<=e&&e==Math.floor(e)),this.encoder_.writeUnsignedVarint32(8*e+t)},jspb.BinaryWriter.prototype.writeAny=function(e,t,o){var r=jspb.BinaryConstants.FieldType;switch(e){case r.DOUBLE:this.writeDouble(t,o);break;case r.FLOAT:this.writeFloat(t,o);break;case r.INT64:this.writeInt64(t,o);break;case r.UINT64:this.writeUint64(t,o);break;case r.INT32:this.writeInt32(t,o);break;case r.FIXED64:this.writeFixed64(t,o);break;case r.FIXED32:this.writeFixed32(t,o);break;case r.BOOL:this.writeBool(t,o);break;case r.STRING:this.writeString(t,o);break;case r.GROUP:goog.asserts.fail("Group field type not supported in writeAny()");break;case r.MESSAGE:goog.asserts.fail("Message field type not supported in writeAny()");break;case r.BYTES:this.writeBytes(t,o);break;case r.UINT32:this.writeUint32(t,o);break;case r.ENUM:this.writeEnum(t,o);break;case r.SFIXED32:this.writeSfixed32(t,o);break;case r.SFIXED64:this.writeSfixed64(t,o);break;case r.SINT32:this.writeSint32(t,o);break;case r.SINT64:this.writeSint64(t,o);break;case r.FHASH64:this.writeFixedHash64(t,o);break;case r.VHASH64:this.writeVarintHash64(t,o);break;default:goog.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(t))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(t))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(t))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(t))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(t))},jspb.BinaryWriter.prototype.writeInt32=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeInt32String=function(e,t){null!=t&&(t=parseInt(t,10),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeInt64=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(e,t))},jspb.BinaryWriter.prototype.writeInt64String=function(e,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeUint32=function(e,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeUint32String=function(e,t){null!=t&&(t=parseInt(t,10),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeUint64=function(e,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(e,t))},jspb.BinaryWriter.prototype.writeUint64String=function(e,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSint32=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(e,t))},jspb.BinaryWriter.prototype.writeSint64=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(e,t))},jspb.BinaryWriter.prototype.writeSintHash64=function(e,t){null!=t&&this.writeZigzagVarintHash64_(e,t)},jspb.BinaryWriter.prototype.writeSint64String=function(e,t){null!=t&&this.writeZigzagVarint64String_(e,t)},jspb.BinaryWriter.prototype.writeFixed32=function(e,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(t))},jspb.BinaryWriter.prototype.writeFixed64=function(e,t){null!=t&&(goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(t))},jspb.BinaryWriter.prototype.writeFixed64String=function(e,t){null!=t&&(t=jspb.arith.UInt64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(t))},jspb.BinaryWriter.prototype.writeSfixed64=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(t))},jspb.BinaryWriter.prototype.writeSfixed64String=function(e,t){null!=t&&(t=jspb.arith.Int64.fromString(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t.lo,t.hi))},jspb.BinaryWriter.prototype.writeFloat=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(t))},jspb.BinaryWriter.prototype.writeDouble=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(t))},jspb.BinaryWriter.prototype.writeBool=function(e,t){null!=t&&(goog.asserts.assert("boolean"==typeof t||"number"==typeof t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(t))},jspb.BinaryWriter.prototype.writeEnum=function(e,t){null!=t&&(goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t))},jspb.BinaryWriter.prototype.writeString=function(e,t){null!=t&&(e=this.beginDelimited_(e),this.encoder_.writeString(t),this.endDelimited_(e))},jspb.BinaryWriter.prototype.writeBytes=function(e,t){null!=t&&(t=jspb.utils.byteSourceToUint8Array(t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),this.appendUint8Array_(t))},jspb.BinaryWriter.prototype.writeMessage=function(e,t,o){null!=t&&(e=this.beginDelimited_(e),o(t,this),this.endDelimited_(e))},jspb.BinaryWriter.prototype.writeMessageSet=function(e,t,o){null!=t&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e),e=this.beginDelimited_(3),o(t,this),this.endDelimited_(e),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(e,t,o){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.START_GROUP),o(t,this),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeFixedHash64=function(e,t){null!=t&&(goog.asserts.assert(8==t.length),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(t))},jspb.BinaryWriter.prototype.writeVarintHash64=function(e,t){null!=t&&(goog.asserts.assert(8==t.length),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(t))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(e,t,o){this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(t,o)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(e,t,o){this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(t,o)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(e,t,o){this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT);var r=this.encoder_;jspb.utils.toZigzag64(t,o,function(e,t){r.writeSplitVarint64(e>>>0,t>>>0)})},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSignedVarint32_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeInt32String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSignedVarint64_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(e,t,o,r){if(null!=t)for(var n=0;n<t.length;n++)this.writeSplitFixed64(e,o(t[n]),r(t[n]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(e,t,o,r){if(null!=t)for(var n=0;n<t.length;n++)this.writeSplitVarint64(e,o(t[n]),r(t[n]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(e,t,o,r){if(null!=t)for(var n=0;n<t.length;n++)this.writeSplitZigzagVarint64(e,o(t[n]),r(t[n]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeInt64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUnsignedVarint32_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUint32String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUnsignedVarint64_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeUint64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint32_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSint64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint64_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint64String_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarintHash64_(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed32(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed64(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed32(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed64(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed64String(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFloat(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedDouble=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeDouble(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedBool=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeBool(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedEnum=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeEnum(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedString=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeString(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedBytes=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeBytes(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedMessage=function(e,t,o){if(null!=t)for(var r=0;r<t.length;r++){var n=this.beginDelimited_(e);o(t[r],this),this.endDelimited_(n)}},jspb.BinaryWriter.prototype.writeRepeatedGroup=function(e,t,o){if(null!=t)for(var r=0;r<t.length;r++)this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.START_GROUP),o(t[r],this),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.END_GROUP)},jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixedHash64(e,t[o])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeVarintHash64(e,t[o])},jspb.BinaryWriter.prototype.writePackedInt32=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeSignedVarint32(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedInt32String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeSignedVarint32(parseInt(t[o],10));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedInt64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeSignedVarint64(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var n=0;n<t.length;n++)this.encoder_.writeSplitFixed64(o(t[n]),r(t[n]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var n=0;n<t.length;n++)this.encoder_.writeSplitVarint64(o(t[n]),r(t[n]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var n=this.encoder_,i=0;i<t.length;i++)jspb.utils.toZigzag64(o(t[i]),r(t[i]),function(e,t){n.writeSplitVarint64(e>>>0,t>>>0)});this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++){var r=jspb.arith.Int64.fromString(t[o]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint32=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeUnsignedVarint32(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint32String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeUnsignedVarint32(parseInt(t[o],10));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeUnsignedVarint64(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedUint64String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++){var r=jspb.arith.UInt64.fromString(t[o]);this.encoder_.writeSplitVarint64(r.lo,r.hi)}this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSint32=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarint32(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSint64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarint64(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSint64String=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(t[o]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeZigzagVarintHash64(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),e=0;e<t.length;e++)this.encoder_.writeUint32(t[e])},jspb.BinaryWriter.prototype.writePackedFixed64=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeUint64(t[e])},jspb.BinaryWriter.prototype.writePackedFixed64String=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++){var o=jspb.arith.UInt64.fromString(t[e]);this.encoder_.writeSplitFixed64(o.lo,o.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),e=0;e<t.length;e++)this.encoder_.writeInt32(t[e])},jspb.BinaryWriter.prototype.writePackedSfixed64=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeInt64(t[e])},jspb.BinaryWriter.prototype.writePackedSfixed64String=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeInt64String(t[e])},jspb.BinaryWriter.prototype.writePackedFloat=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*t.length),e=0;e<t.length;e++)this.encoder_.writeFloat(t[e])},jspb.BinaryWriter.prototype.writePackedDouble=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeDouble(t[e])},jspb.BinaryWriter.prototype.writePackedBool=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(t.length),e=0;e<t.length;e++)this.encoder_.writeBool(t[e])},jspb.BinaryWriter.prototype.writePackedEnum=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeEnum(t[o]);this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedFixedHash64=function(e,t){if(null!=t&&t.length)for(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*t.length),e=0;e<t.length;e++)this.encoder_.writeFixedHash64(t[e])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(e,t){if(null!=t&&t.length){e=this.beginDelimited_(e);for(var o=0;o<t.length;o++)this.encoder_.writeVarintHash64(t[o]);this.endDelimited_(e)}},jspb.Map=function(e,t){this.arr_=e,this.valueCtor_=t,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},jspb.Map.prototype.loadFromArray_=function(){for(var e=0;e<this.arr_.length;e++){var t=this.arr_[e],o=t[0];this.map_[o.toString()]=new jspb.Map.Entry_(o,t[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var e,t=this.map_;for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var o=t[e].valueWrapper;o&&o.toArray()}}}else{for(this.arr_.length=0,(t=this.stringKeys_()).sort(),e=0;e<t.length;e++){var r=this.map_[t[e]];(o=r.valueWrapper)&&o.toArray(),this.arr_.push([r.key,r.value])}this.arrClean=!0}return this.arr_},jspb.Map.prototype.toObject=function(e,t){for(var o=this.toArray(),r=[],n=0;n<o.length;n++){var i=this.map_[o[n][0].toString()];this.wrapEntry_(i);var s=i.valueWrapper;s?(goog.asserts.assert(t),r.push([i.key,t(e,s)])):r.push([i.key,i.value])}return r},jspb.Map.fromObject=function(e,t,o){t=new jspb.Map([],t);for(var r=0;r<e.length;r++){var n=e[r][0],i=o(e[r][1]);t.set(n,i)}return t},jspb.Map.ArrayIteratorIterable_=function(e){this.idx_=0,this.arr_=e},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},"undefined"!=typeof Symbol&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},jspb.Map.prototype.del=function(e){e=e.toString();var t=this.map_.hasOwnProperty(e);return delete this.map_[e],this.arrClean=!1,t},jspb.Map.prototype.getEntryList=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++){var r=this.map_[t[o]];e.push([r.key,r.value])}return e},jspb.Map.prototype.entries=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++){var r=this.map_[t[o]];e.push([r.key,this.wrapEntry_(r)])}return new jspb.Map.ArrayIteratorIterable_(e)},jspb.Map.prototype.keys=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++)e.push(this.map_[t[o]].key);return new jspb.Map.ArrayIteratorIterable_(e)},jspb.Map.prototype.values=function(){var e=[],t=this.stringKeys_();t.sort();for(var o=0;o<t.length;o++)e.push(this.wrapEntry_(this.map_[t[o]]));return new jspb.Map.ArrayIteratorIterable_(e)},jspb.Map.prototype.forEach=function(e,t){var o=this.stringKeys_();o.sort();for(var r=0;r<o.length;r++){var n=this.map_[o[r]];e.call(t,this.wrapEntry_(n),n.key,this)}},jspb.Map.prototype.set=function(e,t){var o=new jspb.Map.Entry_(e);return this.valueCtor_?(o.valueWrapper=t,o.value=t.toArray()):o.value=t,this.map_[e.toString()]=o,this.arrClean=!1,this},jspb.Map.prototype.wrapEntry_=function(e){return this.valueCtor_?(e.valueWrapper||(e.valueWrapper=new this.valueCtor_(e.value)),e.valueWrapper):e.value},jspb.Map.prototype.get=function(e){if(e=this.map_[e.toString()])return this.wrapEntry_(e)},jspb.Map.prototype.has=function(e){return e.toString()in this.map_},jspb.Map.prototype.serializeBinary=function(e,t,o,r,n){var i=this.stringKeys_();i.sort();for(var s=0;s<i.length;s++){var a=this.map_[i[s]];t.beginSubMessage(e),o.call(t,1,a.key),this.valueCtor_?r.call(t,2,this.wrapEntry_(a),n):r.call(t,2,a.value),t.endSubMessage()}},jspb.Map.deserializeBinary=function(e,t,o,r,n,i,s){for(;t.nextField()&&!t.isEndGroup();){var a=t.getFieldNumber();1==a?i=o.call(t):2==a&&(e.valueCtor_?(goog.asserts.assert(n),s||(s=new e.valueCtor_),r.call(t,s,n)):s=r.call(t))}goog.asserts.assert(null!=i),goog.asserts.assert(null!=s),e.set(i,s)},jspb.Map.prototype.stringKeys_=function(){var e,t=this.map_,o=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&o.push(e);return o},jspb.Map.Entry_=function(e,t){this.key=e,this.value=t,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(e,t,o,r,n){this.fieldIndex=e,this.fieldName=t,this.ctor=o,this.toObjectFn=r,this.isRepeated=n},jspb.ExtensionFieldBinaryInfo=function(e,t,o,r,n,i){this.fieldInfo=e,this.binaryReaderFn=t,this.binaryWriterFn=o,this.binaryMessageSerializeFn=r,this.binaryMessageDeserializeFn=n,this.isPacked=i},jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},jspb.Message=function(){},jspb.Message.GENERATE_TO_OBJECT=!0,jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_="function"==typeof Uint8Array,jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},jspb.Message.getIndex_=function(e,t){return t+e.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(e,t){return t-e.arrayIndexOffset_},jspb.Message.initialize=function(e,t,o,r,n,i){if(e.wrappers_=null,t||(t=o?[o]:[]),e.messageId_=o?String(o):void 0,e.arrayIndexOffset_=0===o?-1:0,e.array=t,jspb.Message.initPivotAndExtensionObject_(e,r),e.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(e.repeatedFields=n),n)for(t=0;t<n.length;t++)(o=n[t])<e.pivot_?(o=jspb.Message.getIndex_(e,o),e.array[o]=e.array[o]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(e),e.extensionObject_[o]=e.extensionObject_[o]||jspb.Message.EMPTY_LIST_SENTINEL_);if(i&&i.length)for(t=0;t<i.length;t++)jspb.Message.computeOneofCase(e,i[t])},jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(e){return jspb.Message.ASSUME_LOCAL_ARRAYS?e instanceof Array:Array.isArray(e)},jspb.Message.isExtensionObject_=function(e){return!(null===e||"object"!=typeof e||jspb.Message.isArray_(e)||jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(e,t){var o=e.array.length,r=-1;if(o&&(r=o-1,o=e.array[r],jspb.Message.isExtensionObject_(o)))return e.pivot_=jspb.Message.getFieldNumber_(e,r),void(e.extensionObject_=o);-1<t?(e.pivot_=Math.max(t,jspb.Message.getFieldNumber_(e,r+1)),e.extensionObject_=null):e.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(e){var t=jspb.Message.getIndex_(e,e.pivot_);e.array[t]||(e.extensionObject_=e.array[t]={})},jspb.Message.toObjectList=function(e,t,o){for(var r=[],n=0;n<e.length;n++)r[n]=t.call(e[n],o,e[n]);return r},jspb.Message.toObjectExtension=function(e,t,o,r,n){for(var i in o){var s=o[i],a=r.call(e,s);if(null!=a){for(var g in s.fieldName)if(s.fieldName.hasOwnProperty(g))break;t[g]=s.toObjectFn?s.isRepeated?jspb.Message.toObjectList(a,s.toObjectFn,n):s.toObjectFn(n,a):a}}},jspb.Message.serializeBinaryExtensions=function(e,t,o,r){for(var n in o){var i=o[n],s=i.fieldInfo;if(!i.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var a=r.call(e,s);if(null!=a)if(s.isMessageType()){if(!i.binaryMessageSerializeFn)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");i.binaryWriterFn.call(t,s.fieldIndex,a,i.binaryMessageSerializeFn)}else i.binaryWriterFn.call(t,s.fieldIndex,a)}},jspb.Message.readBinaryExtension=function(e,t,o,r,n){var i=o[t.getFieldNumber()];if(i){if(o=i.fieldInfo,!i.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(o.isMessageType()){var s=new o.ctor;i.binaryReaderFn.call(t,s,i.binaryMessageDeserializeFn)}else s=i.binaryReaderFn.call(t);o.isRepeated&&!i.isPacked?(t=r.call(e,o))?t.push(s):n.call(e,o,[s]):n.call(e,o,s)}else t.skipField()},jspb.Message.getField=function(e,t){if(t<e.pivot_){t=jspb.Message.getIndex_(e,t);var o=e.array[t];return o===jspb.Message.EMPTY_LIST_SENTINEL_?e.array[t]=[]:o}if(e.extensionObject_)return(o=e.extensionObject_[t])===jspb.Message.EMPTY_LIST_SENTINEL_?e.extensionObject_[t]=[]:o},jspb.Message.getRepeatedField=function(e,t){return jspb.Message.getField(e,t)},jspb.Message.getOptionalFloatingPointField=function(e,t){return null==(e=jspb.Message.getField(e,t))?e:+e},jspb.Message.getBooleanField=function(e,t){return null==(e=jspb.Message.getField(e,t))?e:!!e},jspb.Message.getRepeatedFloatingPointField=function(e,t){var o=jspb.Message.getRepeatedField(e,t);if(e.convertedPrimitiveFields_||(e.convertedPrimitiveFields_={}),!e.convertedPrimitiveFields_[t]){for(var r=0;r<o.length;r++)o[r]=+o[r];e.convertedPrimitiveFields_[t]=!0}return o},jspb.Message.getRepeatedBooleanField=function(e,t){var o=jspb.Message.getRepeatedField(e,t);if(e.convertedPrimitiveFields_||(e.convertedPrimitiveFields_={}),!e.convertedPrimitiveFields_[t]){for(var r=0;r<o.length;r++)o[r]=!!o[r];e.convertedPrimitiveFields_[t]=!0}return o},jspb.Message.bytesAsB64=function(e){return null==e||"string"==typeof e?e:jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array?goog.crypt.base64.encodeByteArray(e):(goog.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(e)),null)},jspb.Message.bytesAsU8=function(e){return null==e||e instanceof Uint8Array?e:"string"==typeof e?goog.crypt.base64.decodeStringToUint8Array(e):(goog.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(e)),null)},jspb.Message.bytesListAsB64=function(e){return jspb.Message.assertConsistentTypes_(e),e.length&&"string"!=typeof e[0]?goog.array.map(e,jspb.Message.bytesAsB64):e},jspb.Message.bytesListAsU8=function(e){return jspb.Message.assertConsistentTypes_(e),!e.length||e[0]instanceof Uint8Array?e:goog.array.map(e,jspb.Message.bytesAsU8)},jspb.Message.assertConsistentTypes_=function(e){if(goog.DEBUG&&e&&1<e.length){var t=goog.typeOf(e[0]);goog.array.forEach(e,function(e){goog.typeOf(e)!=t&&goog.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(e)+" expected "+t)})}},jspb.Message.getFieldWithDefault=function(e,t,o){return(e=jspb.Message.getField(e,t))??o},jspb.Message.getBooleanFieldWithDefault=function(e,t,o){return(e=jspb.Message.getBooleanField(e,t))??o},jspb.Message.getFloatingPointFieldWithDefault=function(e,t,o){return(e=jspb.Message.getOptionalFloatingPointField(e,t))??o},jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,jspb.Message.getMapField=function(e,t,o,r){if(e.wrappers_||(e.wrappers_={}),t in e.wrappers_)return e.wrappers_[t];var n=jspb.Message.getField(e,t);if(!n){if(o)return;n=[],jspb.Message.setField(e,t,n)}return e.wrappers_[t]=new jspb.Map(n,r)},jspb.Message.setField=function(e,t,o){return goog.asserts.assertInstanceof(e,jspb.Message),t<e.pivot_?e.array[jspb.Message.getIndex_(e,t)]=o:(jspb.Message.maybeInitEmptyExtensionObject_(e),e.extensionObject_[t]=o),e},jspb.Message.setProto3IntField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},jspb.Message.setProto3FloatField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},jspb.Message.setProto3BooleanField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,!1)},jspb.Message.setProto3StringField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"")},jspb.Message.setProto3BytesField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"")},jspb.Message.setProto3EnumField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},jspb.Message.setProto3StringIntField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"0")},jspb.Message.setFieldIgnoringDefault_=function(e,t,o,r){return goog.asserts.assertInstanceof(e,jspb.Message),o!==r?jspb.Message.setField(e,t,o):t<e.pivot_?e.array[jspb.Message.getIndex_(e,t)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(e),delete e.extensionObject_[t]),e},jspb.Message.addToRepeatedField=function(e,t,o,r){return goog.asserts.assertInstanceof(e,jspb.Message),t=jspb.Message.getRepeatedField(e,t),null!=r?t.splice(r,0,o):t.push(o),e},jspb.Message.setOneofField=function(e,t,o,r){return goog.asserts.assertInstanceof(e,jspb.Message),(o=jspb.Message.computeOneofCase(e,o))&&o!==t&&void 0!==r&&(e.wrappers_&&o in e.wrappers_&&(e.wrappers_[o]=void 0),jspb.Message.setField(e,o,void 0)),jspb.Message.setField(e,t,r)},jspb.Message.computeOneofCase=function(e,t){for(var o,r,n=0;n<t.length;n++){var i=t[n],s=jspb.Message.getField(e,i);null!=s&&(o=i,r=s,jspb.Message.setField(e,i,void 0))}return o?(jspb.Message.setField(e,o,r),o):0},jspb.Message.getWrapperField=function(e,t,o,r){if(e.wrappers_||(e.wrappers_={}),!e.wrappers_[o]){var n=jspb.Message.getField(e,o);(r||n)&&(e.wrappers_[o]=new t(n))}return e.wrappers_[o]},jspb.Message.getRepeatedWrapperField=function(e,t,o){return jspb.Message.wrapRepeatedField_(e,t,o),(t=e.wrappers_[o])==jspb.Message.EMPTY_LIST_SENTINEL_&&(t=e.wrappers_[o]=[]),t},jspb.Message.wrapRepeatedField_=function(e,t,o){if(e.wrappers_||(e.wrappers_={}),!e.wrappers_[o]){for(var r=jspb.Message.getRepeatedField(e,o),n=[],i=0;i<r.length;i++)n[i]=new t(r[i]);e.wrappers_[o]=n}},jspb.Message.setWrapperField=function(e,t,o){goog.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={});var r=o?o.toArray():o;return e.wrappers_[t]=o,jspb.Message.setField(e,t,r)},jspb.Message.setOneofWrapperField=function(e,t,o,r){goog.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={});var n=r?r.toArray():r;return e.wrappers_[t]=r,jspb.Message.setOneofField(e,t,o,n)},jspb.Message.setRepeatedWrapperField=function(e,t,o){goog.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={}),o=o||[];for(var r=[],n=0;n<o.length;n++)r[n]=o[n].toArray();return e.wrappers_[t]=o,jspb.Message.setField(e,t,r)},jspb.Message.addToRepeatedWrapperField=function(e,t,o,r,n){jspb.Message.wrapRepeatedField_(e,r,t);var i=e.wrappers_[t];return i||(i=e.wrappers_[t]=[]),o=o||new r,e=jspb.Message.getRepeatedField(e,t),null!=n?(i.splice(n,0,o),e.splice(n,0,o.toArray())):(i.push(o),e.push(o.toArray())),o},jspb.Message.toMap=function(e,t,o,r){for(var n={},i=0;i<e.length;i++)n[t.call(e[i])]=o?o.call(e[i],r,e[i]):e[i];return n},jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var e in this.wrappers_){var t=this.wrappers_[e];if(Array.isArray(t))for(var o=0;o<t.length;o++)t[o]&&t[o].toArray();else t&&t.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(e){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var t=e.fieldIndex;if(e.isRepeated){if(e.isMessageType())return this.wrappers_[t]||(this.wrappers_[t]=goog.array.map(this.extensionObject_[t]||[],function(t){return new e.ctor(t)})),this.wrappers_[t]}else if(e.isMessageType())return!this.wrappers_[t]&&this.extensionObject_[t]&&(this.wrappers_[t]=new e.ctor(this.extensionObject_[t])),this.wrappers_[t];return this.extensionObject_[t]}},jspb.Message.prototype.setExtension=function(e,t){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var o=e.fieldIndex;return e.isRepeated?(t=t||[],e.isMessageType()?(this.wrappers_[o]=t,this.extensionObject_[o]=goog.array.map(t,function(e){return e.toArray()})):this.extensionObject_[o]=t):e.isMessageType()?(this.wrappers_[o]=t,this.extensionObject_[o]=t?t.toArray():t):this.extensionObject_[o]=t,this},jspb.Message.difference=function(e,t){if(!(e instanceof t.constructor))throw Error("Messages have different types.");var o=e.toArray();t=t.toArray();var r=[],n=0,i=o.length>t.length?o.length:t.length;for(e.getJsPbMessageId()&&(r[0]=e.getJsPbMessageId(),n=1);n<i;n++)jspb.Message.compareFields(o[n],t[n])||(r[n]=t[n]);return new e.constructor(r)},jspb.Message.equals=function(e,t){return e==t||!(!e||!t)&&e instanceof t.constructor&&jspb.Message.compareFields(e.toArray(),t.toArray())},jspb.Message.compareExtensions=function(e,t){e=e||{},t=t||{};var o,r={};for(o in e)r[o]=0;for(o in t)r[o]=0;for(o in r)if(!jspb.Message.compareFields(e[o],t[o]))return!1;return!0},jspb.Message.compareFields=function(e,t){if(e==t)return!0;if(!goog.isObject(e)||!goog.isObject(t))return!!("number"==typeof e&&isNaN(e)||"number"==typeof t&&isNaN(t))&&String(e)==String(t);if(e.constructor!=t.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&e.constructor===Uint8Array){if(e.length!=t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!=t[o])return!1;return!0}if(e.constructor===Array){var r=void 0,n=void 0,i=Math.max(e.length,t.length);for(o=0;o<i;o++){var s=e[o],a=t[o];if(s&&s.constructor==Object&&(goog.asserts.assert(void 0===r),goog.asserts.assert(o===e.length-1),r=s,s=void 0),a&&a.constructor==Object&&(goog.asserts.assert(void 0===n),goog.asserts.assert(o===t.length-1),n=a,a=void 0),!jspb.Message.compareFields(s,a))return!1}return!r&&!n||(r=r||{},n=n||{},jspb.Message.compareExtensions(r,n))}if(e.constructor===Object)return jspb.Message.compareExtensions(e,t);throw Error("Invalid type in JSPB array")},jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},jspb.Message.clone=function(e){return jspb.Message.cloneMessage(e)},jspb.Message.cloneMessage=function(e){return new e.constructor(jspb.Message.clone_(e.toArray()))},jspb.Message.copyInto=function(e,t){goog.asserts.assertInstanceof(e,jspb.Message),goog.asserts.assertInstanceof(t,jspb.Message),goog.asserts.assert(e.constructor==t.constructor,"Copy source and target message should have the same type."),e=jspb.Message.clone(e);for(var o=t.toArray(),r=e.toArray(),n=o.length=0;n<r.length;n++)o[n]=r[n];t.wrappers_=e.wrappers_,t.extensionObject_=e.extensionObject_},jspb.Message.clone_=function(e){if(Array.isArray(e)){for(var t=Array(e.length),o=0;o<e.length;o++){var r=e[o];null!=r&&(t[o]="object"==typeof r?jspb.Message.clone_(goog.asserts.assert(r)):r)}return t}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array)return new Uint8Array(e);for(o in t={},e)null!=(r=e[o])&&(t[o]="object"==typeof r?jspb.Message.clone_(goog.asserts.assert(r)):r);return t},jspb.Message.registerMessageType=function(e,t){t.messageId=e},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},57(e,t,o){var r=o(339),n=r,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==i&&i||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")(),s=o(802);n.object.extend(proto,s),n.exportSymbol("proto.ord.Dataset",null,i),n.exportSymbol("proto.ord.DatasetExample",null,i),proto.ord.Dataset=function(e){r.Message.initialize(this,e,0,-1,proto.ord.Dataset.repeatedFields_,null)},n.inherits(proto.ord.Dataset,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Dataset.displayName="proto.ord.Dataset"),proto.ord.DatasetExample=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.DatasetExample,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.DatasetExample.displayName="proto.ord.DatasetExample"),proto.ord.Dataset.repeatedFields_=[3,4],r.Message.GENERATE_TO_OBJECT&&(proto.ord.Dataset.prototype.toObject=function(e){return proto.ord.Dataset.toObject(e,this)},proto.ord.Dataset.toObject=function(e,t){var o,n={name:r.Message.getFieldWithDefault(t,1,""),description:r.Message.getFieldWithDefault(t,2,""),reactionsList:r.Message.toObjectList(t.getReactionsList(),s.Reaction.toObject,e),reactionIdsList:null==(o=r.Message.getRepeatedField(t,4))?void 0:o,datasetId:r.Message.getFieldWithDefault(t,5,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Dataset.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Dataset;return proto.ord.Dataset.deserializeBinaryFromReader(o,t)},proto.ord.Dataset.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readString(),e.setDescription(o);break;case 3:o=new s.Reaction,t.readMessage(o,s.Reaction.deserializeBinaryFromReader),e.addReactions(o);break;case 4:o=t.readString(),e.addReactionIds(o);break;case 5:o=t.readString(),e.setDatasetId(o);break;default:t.skipField()}return e},proto.ord.Dataset.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Dataset.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Dataset.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),(o=e.getDescription()).length>0&&t.writeString(2,o),(o=e.getReactionsList()).length>0&&t.writeRepeatedMessage(3,o,s.Reaction.serializeBinaryToWriter),(o=e.getReactionIdsList()).length>0&&t.writeRepeatedString(4,o),(o=e.getDatasetId()).length>0&&t.writeString(5,o)},proto.ord.Dataset.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.Dataset.prototype.setName=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.Dataset.prototype.getDescription=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Dataset.prototype.setDescription=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Dataset.prototype.getReactionsList=function(){return r.Message.getRepeatedWrapperField(this,s.Reaction,3)},proto.ord.Dataset.prototype.setReactionsList=function(e){return r.Message.setRepeatedWrapperField(this,3,e)},proto.ord.Dataset.prototype.addReactions=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.ord.Reaction,t)},proto.ord.Dataset.prototype.clearReactionsList=function(){return this.setReactionsList([])},proto.ord.Dataset.prototype.getReactionIdsList=function(){return r.Message.getRepeatedField(this,4)},proto.ord.Dataset.prototype.setReactionIdsList=function(e){return r.Message.setField(this,4,e||[])},proto.ord.Dataset.prototype.addReactionIds=function(e,t){return r.Message.addToRepeatedField(this,4,e,t)},proto.ord.Dataset.prototype.clearReactionIdsList=function(){return this.setReactionIdsList([])},proto.ord.Dataset.prototype.getDatasetId=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.Dataset.prototype.setDatasetId=function(e){return r.Message.setProto3StringField(this,5,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.DatasetExample.prototype.toObject=function(e){return proto.ord.DatasetExample.toObject(e,this)},proto.ord.DatasetExample.toObject=function(e,t){var o,n={datasetId:r.Message.getFieldWithDefault(t,1,""),description:r.Message.getFieldWithDefault(t,2,""),url:r.Message.getFieldWithDefault(t,3,""),created:(o=t.getCreated())&&s.RecordEvent.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.DatasetExample.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.DatasetExample;return proto.ord.DatasetExample.deserializeBinaryFromReader(o,t)},proto.ord.DatasetExample.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setDatasetId(o);break;case 2:o=t.readString(),e.setDescription(o);break;case 3:o=t.readString(),e.setUrl(o);break;case 4:o=new s.RecordEvent,t.readMessage(o,s.RecordEvent.deserializeBinaryFromReader),e.setCreated(o);break;default:t.skipField()}return e},proto.ord.DatasetExample.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.DatasetExample.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.DatasetExample.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getDatasetId()).length>0&&t.writeString(1,o),(o=e.getDescription()).length>0&&t.writeString(2,o),(o=e.getUrl()).length>0&&t.writeString(3,o),null!=(o=e.getCreated())&&t.writeMessage(4,o,s.RecordEvent.serializeBinaryToWriter)},proto.ord.DatasetExample.prototype.getDatasetId=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.DatasetExample.prototype.setDatasetId=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.DatasetExample.prototype.getDescription=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.DatasetExample.prototype.setDescription=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.DatasetExample.prototype.getUrl=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.DatasetExample.prototype.setUrl=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.DatasetExample.prototype.getCreated=function(){return r.Message.getWrapperField(this,s.RecordEvent,4)},proto.ord.DatasetExample.prototype.setCreated=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.DatasetExample.prototype.clearCreated=function(){return this.setCreated(void 0)},proto.ord.DatasetExample.prototype.hasCreated=function(){return null!=r.Message.getField(this,4)},n.object.extend(t,proto.ord)},802(e,t,o){var r=o(339),n=r,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==i&&i||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();n.exportSymbol("proto.ord.Amount",null,i),n.exportSymbol("proto.ord.Amount.KindCase",null,i),n.exportSymbol("proto.ord.Analysis",null,i),n.exportSymbol("proto.ord.Analysis.AnalysisType",null,i),n.exportSymbol("proto.ord.Compound",null,i),n.exportSymbol("proto.ord.Compound.Source",null,i),n.exportSymbol("proto.ord.CompoundIdentifier",null,i),n.exportSymbol("proto.ord.CompoundIdentifier.CompoundIdentifierType",null,i),n.exportSymbol("proto.ord.CompoundPreparation",null,i),n.exportSymbol("proto.ord.CompoundPreparation.CompoundPreparationType",null,i),n.exportSymbol("proto.ord.Concentration",null,i),n.exportSymbol("proto.ord.Concentration.ConcentrationUnit",null,i),n.exportSymbol("proto.ord.CrudeComponent",null,i),n.exportSymbol("proto.ord.Current",null,i),n.exportSymbol("proto.ord.Current.CurrentUnit",null,i),n.exportSymbol("proto.ord.Data",null,i),n.exportSymbol("proto.ord.Data.KindCase",null,i),n.exportSymbol("proto.ord.DateTime",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions.ElectrochemistryCell",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions.ElectrochemistryCell.ElectrochemistryCellType",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement",null,i),n.exportSymbol("proto.ord.ElectrochemistryConditions.ElectrochemistryType",null,i),n.exportSymbol("proto.ord.FloatValue",null,i),n.exportSymbol("proto.ord.FlowConditions",null,i),n.exportSymbol("proto.ord.FlowConditions.FlowType",null,i),n.exportSymbol("proto.ord.FlowConditions.Tubing",null,i),n.exportSymbol("proto.ord.FlowConditions.Tubing.TubingType",null,i),n.exportSymbol("proto.ord.FlowRate",null,i),n.exportSymbol("proto.ord.FlowRate.FlowRateUnit",null,i),n.exportSymbol("proto.ord.IlluminationConditions",null,i),n.exportSymbol("proto.ord.IlluminationConditions.IlluminationType",null,i),n.exportSymbol("proto.ord.Length",null,i),n.exportSymbol("proto.ord.Length.LengthUnit",null,i),n.exportSymbol("proto.ord.Mass",null,i),n.exportSymbol("proto.ord.Mass.MassUnit",null,i),n.exportSymbol("proto.ord.Moles",null,i),n.exportSymbol("proto.ord.Moles.MolesUnit",null,i),n.exportSymbol("proto.ord.Percentage",null,i),n.exportSymbol("proto.ord.Person",null,i),n.exportSymbol("proto.ord.Pressure",null,i),n.exportSymbol("proto.ord.Pressure.PressureUnit",null,i),n.exportSymbol("proto.ord.PressureConditions",null,i),n.exportSymbol("proto.ord.PressureConditions.Atmosphere",null,i),n.exportSymbol("proto.ord.PressureConditions.Atmosphere.AtmosphereType",null,i),n.exportSymbol("proto.ord.PressureConditions.PressureControl",null,i),n.exportSymbol("proto.ord.PressureConditions.PressureControl.PressureControlType",null,i),n.exportSymbol("proto.ord.PressureConditions.PressureMeasurement",null,i),n.exportSymbol("proto.ord.PressureConditions.PressureMeasurement.PressureMeasurementType",null,i),n.exportSymbol("proto.ord.ProductCompound",null,i),n.exportSymbol("proto.ord.ProductMeasurement",null,i),n.exportSymbol("proto.ord.ProductMeasurement.MassSpecMeasurementDetails",null,i),n.exportSymbol("proto.ord.ProductMeasurement.MassSpecMeasurementDetails.MassSpecMeasurementType",null,i),n.exportSymbol("proto.ord.ProductMeasurement.ProductMeasurementType",null,i),n.exportSymbol("proto.ord.ProductMeasurement.Selectivity",null,i),n.exportSymbol("proto.ord.ProductMeasurement.Selectivity.SelectivityType",null,i),n.exportSymbol("proto.ord.ProductMeasurement.ValueCase",null,i),n.exportSymbol("proto.ord.Reaction",null,i),n.exportSymbol("proto.ord.ReactionConditions",null,i),n.exportSymbol("proto.ord.ReactionIdentifier",null,i),n.exportSymbol("proto.ord.ReactionIdentifier.ReactionIdentifierType",null,i),n.exportSymbol("proto.ord.ReactionInput",null,i),n.exportSymbol("proto.ord.ReactionInput.AdditionDevice",null,i),n.exportSymbol("proto.ord.ReactionInput.AdditionDevice.AdditionDeviceType",null,i),n.exportSymbol("proto.ord.ReactionInput.AdditionSpeed",null,i),n.exportSymbol("proto.ord.ReactionInput.AdditionSpeed.AdditionSpeedType",null,i),n.exportSymbol("proto.ord.ReactionNotes",null,i),n.exportSymbol("proto.ord.ReactionObservation",null,i),n.exportSymbol("proto.ord.ReactionOutcome",null,i),n.exportSymbol("proto.ord.ReactionProvenance",null,i),n.exportSymbol("proto.ord.ReactionRole",null,i),n.exportSymbol("proto.ord.ReactionRole.ReactionRoleType",null,i),n.exportSymbol("proto.ord.ReactionSetup",null,i),n.exportSymbol("proto.ord.ReactionSetup.ReactionEnvironment",null,i),n.exportSymbol("proto.ord.ReactionSetup.ReactionEnvironment.ReactionEnvironmentType",null,i),n.exportSymbol("proto.ord.ReactionWorkup",null,i),n.exportSymbol("proto.ord.ReactionWorkup.ReactionWorkupType",null,i),n.exportSymbol("proto.ord.RecordEvent",null,i),n.exportSymbol("proto.ord.StirringConditions",null,i),n.exportSymbol("proto.ord.StirringConditions.StirringMethodType",null,i),n.exportSymbol("proto.ord.StirringConditions.StirringRate",null,i),n.exportSymbol("proto.ord.StirringConditions.StirringRate.StirringRateType",null,i),n.exportSymbol("proto.ord.Temperature",null,i),n.exportSymbol("proto.ord.Temperature.TemperatureUnit",null,i),n.exportSymbol("proto.ord.TemperatureConditions",null,i),n.exportSymbol("proto.ord.TemperatureConditions.TemperatureControl",null,i),n.exportSymbol("proto.ord.TemperatureConditions.TemperatureControl.TemperatureControlType",null,i),n.exportSymbol("proto.ord.TemperatureConditions.TemperatureMeasurement",null,i),n.exportSymbol("proto.ord.TemperatureConditions.TemperatureMeasurement.TemperatureMeasurementType",null,i),n.exportSymbol("proto.ord.Texture",null,i),n.exportSymbol("proto.ord.Texture.TextureType",null,i),n.exportSymbol("proto.ord.Time",null,i),n.exportSymbol("proto.ord.Time.TimeUnit",null,i),n.exportSymbol("proto.ord.UnmeasuredAmount",null,i),n.exportSymbol("proto.ord.UnmeasuredAmount.UnmeasuredAmountType",null,i),n.exportSymbol("proto.ord.Vessel",null,i),n.exportSymbol("proto.ord.Vessel.VesselType",null,i),n.exportSymbol("proto.ord.VesselAttachment",null,i),n.exportSymbol("proto.ord.VesselAttachment.VesselAttachmentType",null,i),n.exportSymbol("proto.ord.VesselMaterial",null,i),n.exportSymbol("proto.ord.VesselMaterial.VesselMaterialType",null,i),n.exportSymbol("proto.ord.VesselPreparation",null,i),n.exportSymbol("proto.ord.VesselPreparation.VesselPreparationType",null,i),n.exportSymbol("proto.ord.Voltage",null,i),n.exportSymbol("proto.ord.Voltage.VoltageUnit",null,i),n.exportSymbol("proto.ord.Volume",null,i),n.exportSymbol("proto.ord.Volume.VolumeUnit",null,i),n.exportSymbol("proto.ord.Wavelength",null,i),n.exportSymbol("proto.ord.Wavelength.WavelengthUnit",null,i),proto.ord.Reaction=function(e){r.Message.initialize(this,e,0,-1,proto.ord.Reaction.repeatedFields_,null)},n.inherits(proto.ord.Reaction,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Reaction.displayName="proto.ord.Reaction"),proto.ord.ReactionIdentifier=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionIdentifier,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionIdentifier.displayName="proto.ord.ReactionIdentifier"),proto.ord.ReactionInput=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ReactionInput.repeatedFields_,null)},n.inherits(proto.ord.ReactionInput,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionInput.displayName="proto.ord.ReactionInput"),proto.ord.ReactionInput.AdditionSpeed=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionInput.AdditionSpeed,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionInput.AdditionSpeed.displayName="proto.ord.ReactionInput.AdditionSpeed"),proto.ord.ReactionInput.AdditionDevice=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionInput.AdditionDevice,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionInput.AdditionDevice.displayName="proto.ord.ReactionInput.AdditionDevice"),proto.ord.Amount=function(e){r.Message.initialize(this,e,0,-1,null,proto.ord.Amount.oneofGroups_)},n.inherits(proto.ord.Amount,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Amount.displayName="proto.ord.Amount"),proto.ord.UnmeasuredAmount=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.UnmeasuredAmount,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.UnmeasuredAmount.displayName="proto.ord.UnmeasuredAmount"),proto.ord.Texture=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Texture,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Texture.displayName="proto.ord.Texture"),proto.ord.CrudeComponent=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.CrudeComponent,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.CrudeComponent.displayName="proto.ord.CrudeComponent"),proto.ord.Compound=function(e){r.Message.initialize(this,e,0,-1,proto.ord.Compound.repeatedFields_,null)},n.inherits(proto.ord.Compound,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Compound.displayName="proto.ord.Compound"),proto.ord.Compound.Source=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Compound.Source,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Compound.Source.displayName="proto.ord.Compound.Source"),proto.ord.ReactionRole=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionRole,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionRole.displayName="proto.ord.ReactionRole"),proto.ord.CompoundPreparation=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.CompoundPreparation,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.CompoundPreparation.displayName="proto.ord.CompoundPreparation"),proto.ord.CompoundIdentifier=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.CompoundIdentifier,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.CompoundIdentifier.displayName="proto.ord.CompoundIdentifier"),proto.ord.Vessel=function(e){r.Message.initialize(this,e,0,-1,proto.ord.Vessel.repeatedFields_,null)},n.inherits(proto.ord.Vessel,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Vessel.displayName="proto.ord.Vessel"),proto.ord.VesselMaterial=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.VesselMaterial,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.VesselMaterial.displayName="proto.ord.VesselMaterial"),proto.ord.VesselAttachment=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.VesselAttachment,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.VesselAttachment.displayName="proto.ord.VesselAttachment"),proto.ord.VesselPreparation=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.VesselPreparation,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.VesselPreparation.displayName="proto.ord.VesselPreparation"),proto.ord.ReactionSetup=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionSetup,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionSetup.displayName="proto.ord.ReactionSetup"),proto.ord.ReactionSetup.ReactionEnvironment=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionSetup.ReactionEnvironment,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionSetup.ReactionEnvironment.displayName="proto.ord.ReactionSetup.ReactionEnvironment"),proto.ord.ReactionConditions=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionConditions.displayName="proto.ord.ReactionConditions"),proto.ord.TemperatureConditions=function(e){r.Message.initialize(this,e,0,-1,proto.ord.TemperatureConditions.repeatedFields_,null)},n.inherits(proto.ord.TemperatureConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.TemperatureConditions.displayName="proto.ord.TemperatureConditions"),proto.ord.TemperatureConditions.TemperatureControl=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.TemperatureConditions.TemperatureControl,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.TemperatureConditions.TemperatureControl.displayName="proto.ord.TemperatureConditions.TemperatureControl"),proto.ord.TemperatureConditions.TemperatureMeasurement=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.TemperatureConditions.TemperatureMeasurement,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.TemperatureConditions.TemperatureMeasurement.displayName="proto.ord.TemperatureConditions.TemperatureMeasurement"),proto.ord.PressureConditions=function(e){r.Message.initialize(this,e,0,-1,proto.ord.PressureConditions.repeatedFields_,null)},n.inherits(proto.ord.PressureConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.PressureConditions.displayName="proto.ord.PressureConditions"),proto.ord.PressureConditions.PressureControl=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.PressureConditions.PressureControl,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.PressureConditions.PressureControl.displayName="proto.ord.PressureConditions.PressureControl"),proto.ord.PressureConditions.Atmosphere=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.PressureConditions.Atmosphere,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.PressureConditions.Atmosphere.displayName="proto.ord.PressureConditions.Atmosphere"),proto.ord.PressureConditions.PressureMeasurement=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.PressureConditions.PressureMeasurement,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.PressureConditions.PressureMeasurement.displayName="proto.ord.PressureConditions.PressureMeasurement"),proto.ord.StirringConditions=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.StirringConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.StirringConditions.displayName="proto.ord.StirringConditions"),proto.ord.StirringConditions.StirringRate=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.StirringConditions.StirringRate,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.StirringConditions.StirringRate.displayName="proto.ord.StirringConditions.StirringRate"),proto.ord.IlluminationConditions=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.IlluminationConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.IlluminationConditions.displayName="proto.ord.IlluminationConditions"),proto.ord.ElectrochemistryConditions=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ElectrochemistryConditions.repeatedFields_,null)},n.inherits(proto.ord.ElectrochemistryConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ElectrochemistryConditions.displayName="proto.ord.ElectrochemistryConditions"),proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.displayName="proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement"),proto.ord.ElectrochemistryConditions.ElectrochemistryCell=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ElectrochemistryConditions.ElectrochemistryCell,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ElectrochemistryConditions.ElectrochemistryCell.displayName="proto.ord.ElectrochemistryConditions.ElectrochemistryCell"),proto.ord.FlowConditions=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.FlowConditions,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.FlowConditions.displayName="proto.ord.FlowConditions"),proto.ord.FlowConditions.Tubing=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.FlowConditions.Tubing,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.FlowConditions.Tubing.displayName="proto.ord.FlowConditions.Tubing"),proto.ord.ReactionNotes=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionNotes,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionNotes.displayName="proto.ord.ReactionNotes"),proto.ord.ReactionObservation=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionObservation,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionObservation.displayName="proto.ord.ReactionObservation"),proto.ord.ReactionWorkup=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ReactionWorkup,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionWorkup.displayName="proto.ord.ReactionWorkup"),proto.ord.ReactionOutcome=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ReactionOutcome.repeatedFields_,null)},n.inherits(proto.ord.ReactionOutcome,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionOutcome.displayName="proto.ord.ReactionOutcome"),proto.ord.ProductCompound=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ProductCompound.repeatedFields_,null)},n.inherits(proto.ord.ProductCompound,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ProductCompound.displayName="proto.ord.ProductCompound"),proto.ord.ProductMeasurement=function(e){r.Message.initialize(this,e,0,-1,null,proto.ord.ProductMeasurement.oneofGroups_)},n.inherits(proto.ord.ProductMeasurement,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ProductMeasurement.displayName="proto.ord.ProductMeasurement"),proto.ord.ProductMeasurement.MassSpecMeasurementDetails=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ProductMeasurement.MassSpecMeasurementDetails.repeatedFields_,null)},n.inherits(proto.ord.ProductMeasurement.MassSpecMeasurementDetails,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ProductMeasurement.MassSpecMeasurementDetails.displayName="proto.ord.ProductMeasurement.MassSpecMeasurementDetails"),proto.ord.ProductMeasurement.Selectivity=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.ProductMeasurement.Selectivity,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ProductMeasurement.Selectivity.displayName="proto.ord.ProductMeasurement.Selectivity"),proto.ord.DateTime=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.DateTime,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.DateTime.displayName="proto.ord.DateTime"),proto.ord.Analysis=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Analysis,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Analysis.displayName="proto.ord.Analysis"),proto.ord.ReactionProvenance=function(e){r.Message.initialize(this,e,0,-1,proto.ord.ReactionProvenance.repeatedFields_,null)},n.inherits(proto.ord.ReactionProvenance,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.ReactionProvenance.displayName="proto.ord.ReactionProvenance"),proto.ord.Person=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Person,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Person.displayName="proto.ord.Person"),proto.ord.RecordEvent=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.RecordEvent,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.RecordEvent.displayName="proto.ord.RecordEvent"),proto.ord.Time=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Time,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Time.displayName="proto.ord.Time"),proto.ord.Mass=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Mass,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Mass.displayName="proto.ord.Mass"),proto.ord.Moles=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Moles,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Moles.displayName="proto.ord.Moles"),proto.ord.Volume=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Volume,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Volume.displayName="proto.ord.Volume"),proto.ord.Concentration=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Concentration,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Concentration.displayName="proto.ord.Concentration"),proto.ord.Pressure=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Pressure,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Pressure.displayName="proto.ord.Pressure"),proto.ord.Temperature=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Temperature,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Temperature.displayName="proto.ord.Temperature"),proto.ord.Current=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Current,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Current.displayName="proto.ord.Current"),proto.ord.Voltage=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Voltage,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Voltage.displayName="proto.ord.Voltage"),proto.ord.Length=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Length,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Length.displayName="proto.ord.Length"),proto.ord.Wavelength=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Wavelength,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Wavelength.displayName="proto.ord.Wavelength"),proto.ord.FlowRate=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.FlowRate,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.FlowRate.displayName="proto.ord.FlowRate"),proto.ord.Percentage=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.Percentage,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Percentage.displayName="proto.ord.Percentage"),proto.ord.FloatValue=function(e){r.Message.initialize(this,e,0,-1,null,null)},n.inherits(proto.ord.FloatValue,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.FloatValue.displayName="proto.ord.FloatValue"),proto.ord.Data=function(e){r.Message.initialize(this,e,0,-1,null,proto.ord.Data.oneofGroups_)},n.inherits(proto.ord.Data,r.Message),n.DEBUG&&!COMPILED&&(proto.ord.Data.displayName="proto.ord.Data"),proto.ord.Reaction.repeatedFields_=[1,6,7,8],r.Message.GENERATE_TO_OBJECT&&(proto.ord.Reaction.prototype.toObject=function(e){return proto.ord.Reaction.toObject(e,this)},proto.ord.Reaction.toObject=function(e,t){var o,n={identifiersList:r.Message.toObjectList(t.getIdentifiersList(),proto.ord.ReactionIdentifier.toObject,e),inputsMap:(o=t.getInputsMap())?o.toObject(e,proto.ord.ReactionInput.toObject):[],setup:(o=t.getSetup())&&proto.ord.ReactionSetup.toObject(e,o),conditions:(o=t.getConditions())&&proto.ord.ReactionConditions.toObject(e,o),notes:(o=t.getNotes())&&proto.ord.ReactionNotes.toObject(e,o),observationsList:r.Message.toObjectList(t.getObservationsList(),proto.ord.ReactionObservation.toObject,e),workupsList:r.Message.toObjectList(t.getWorkupsList(),proto.ord.ReactionWorkup.toObject,e),outcomesList:r.Message.toObjectList(t.getOutcomesList(),proto.ord.ReactionOutcome.toObject,e),provenance:(o=t.getProvenance())&&proto.ord.ReactionProvenance.toObject(e,o),reactionId:r.Message.getFieldWithDefault(t,10,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Reaction.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Reaction;return proto.ord.Reaction.deserializeBinaryFromReader(o,t)},proto.ord.Reaction.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.ReactionIdentifier;t.readMessage(o,proto.ord.ReactionIdentifier.deserializeBinaryFromReader),e.addIdentifiers(o);break;case 2:o=e.getInputsMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.ReactionInput.deserializeBinaryFromReader,"",new proto.ord.ReactionInput)});break;case 3:o=new proto.ord.ReactionSetup,t.readMessage(o,proto.ord.ReactionSetup.deserializeBinaryFromReader),e.setSetup(o);break;case 4:o=new proto.ord.ReactionConditions,t.readMessage(o,proto.ord.ReactionConditions.deserializeBinaryFromReader),e.setConditions(o);break;case 5:o=new proto.ord.ReactionNotes,t.readMessage(o,proto.ord.ReactionNotes.deserializeBinaryFromReader),e.setNotes(o);break;case 6:o=new proto.ord.ReactionObservation,t.readMessage(o,proto.ord.ReactionObservation.deserializeBinaryFromReader),e.addObservations(o);break;case 7:o=new proto.ord.ReactionWorkup,t.readMessage(o,proto.ord.ReactionWorkup.deserializeBinaryFromReader),e.addWorkups(o);break;case 8:o=new proto.ord.ReactionOutcome,t.readMessage(o,proto.ord.ReactionOutcome.deserializeBinaryFromReader),e.addOutcomes(o);break;case 9:o=new proto.ord.ReactionProvenance,t.readMessage(o,proto.ord.ReactionProvenance.deserializeBinaryFromReader),e.setProvenance(o);break;case 10:o=t.readString(),e.setReactionId(o);break;default:t.skipField()}return e},proto.ord.Reaction.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Reaction.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Reaction.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdentifiersList()).length>0&&t.writeRepeatedMessage(1,o,proto.ord.ReactionIdentifier.serializeBinaryToWriter),(o=e.getInputsMap(!0))&&o.getLength()>0&&o.serializeBinary(2,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.ReactionInput.serializeBinaryToWriter),null!=(o=e.getSetup())&&t.writeMessage(3,o,proto.ord.ReactionSetup.serializeBinaryToWriter),null!=(o=e.getConditions())&&t.writeMessage(4,o,proto.ord.ReactionConditions.serializeBinaryToWriter),null!=(o=e.getNotes())&&t.writeMessage(5,o,proto.ord.ReactionNotes.serializeBinaryToWriter),(o=e.getObservationsList()).length>0&&t.writeRepeatedMessage(6,o,proto.ord.ReactionObservation.serializeBinaryToWriter),(o=e.getWorkupsList()).length>0&&t.writeRepeatedMessage(7,o,proto.ord.ReactionWorkup.serializeBinaryToWriter),(o=e.getOutcomesList()).length>0&&t.writeRepeatedMessage(8,o,proto.ord.ReactionOutcome.serializeBinaryToWriter),null!=(o=e.getProvenance())&&t.writeMessage(9,o,proto.ord.ReactionProvenance.serializeBinaryToWriter),(o=e.getReactionId()).length>0&&t.writeString(10,o)},proto.ord.Reaction.prototype.getIdentifiersList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ReactionIdentifier,1)},proto.ord.Reaction.prototype.setIdentifiersList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.ord.Reaction.prototype.addIdentifiers=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.ord.ReactionIdentifier,t)},proto.ord.Reaction.prototype.clearIdentifiersList=function(){return this.setIdentifiersList([])},proto.ord.Reaction.prototype.getInputsMap=function(e){return r.Message.getMapField(this,2,e,proto.ord.ReactionInput)},proto.ord.Reaction.prototype.clearInputsMap=function(){return this.getInputsMap().clear(),this},proto.ord.Reaction.prototype.getSetup=function(){return r.Message.getWrapperField(this,proto.ord.ReactionSetup,3)},proto.ord.Reaction.prototype.setSetup=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.Reaction.prototype.clearSetup=function(){return this.setSetup(void 0)},proto.ord.Reaction.prototype.hasSetup=function(){return null!=r.Message.getField(this,3)},proto.ord.Reaction.prototype.getConditions=function(){return r.Message.getWrapperField(this,proto.ord.ReactionConditions,4)},proto.ord.Reaction.prototype.setConditions=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.Reaction.prototype.clearConditions=function(){return this.setConditions(void 0)},proto.ord.Reaction.prototype.hasConditions=function(){return null!=r.Message.getField(this,4)},proto.ord.Reaction.prototype.getNotes=function(){return r.Message.getWrapperField(this,proto.ord.ReactionNotes,5)},proto.ord.Reaction.prototype.setNotes=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.Reaction.prototype.clearNotes=function(){return this.setNotes(void 0)},proto.ord.Reaction.prototype.hasNotes=function(){return null!=r.Message.getField(this,5)},proto.ord.Reaction.prototype.getObservationsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ReactionObservation,6)},proto.ord.Reaction.prototype.setObservationsList=function(e){return r.Message.setRepeatedWrapperField(this,6,e)},proto.ord.Reaction.prototype.addObservations=function(e,t){return r.Message.addToRepeatedWrapperField(this,6,e,proto.ord.ReactionObservation,t)},proto.ord.Reaction.prototype.clearObservationsList=function(){return this.setObservationsList([])},proto.ord.Reaction.prototype.getWorkupsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ReactionWorkup,7)},proto.ord.Reaction.prototype.setWorkupsList=function(e){return r.Message.setRepeatedWrapperField(this,7,e)},proto.ord.Reaction.prototype.addWorkups=function(e,t){return r.Message.addToRepeatedWrapperField(this,7,e,proto.ord.ReactionWorkup,t)},proto.ord.Reaction.prototype.clearWorkupsList=function(){return this.setWorkupsList([])},proto.ord.Reaction.prototype.getOutcomesList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ReactionOutcome,8)},proto.ord.Reaction.prototype.setOutcomesList=function(e){return r.Message.setRepeatedWrapperField(this,8,e)},proto.ord.Reaction.prototype.addOutcomes=function(e,t){return r.Message.addToRepeatedWrapperField(this,8,e,proto.ord.ReactionOutcome,t)},proto.ord.Reaction.prototype.clearOutcomesList=function(){return this.setOutcomesList([])},proto.ord.Reaction.prototype.getProvenance=function(){return r.Message.getWrapperField(this,proto.ord.ReactionProvenance,9)},proto.ord.Reaction.prototype.setProvenance=function(e){return r.Message.setWrapperField(this,9,e)},proto.ord.Reaction.prototype.clearProvenance=function(){return this.setProvenance(void 0)},proto.ord.Reaction.prototype.hasProvenance=function(){return null!=r.Message.getField(this,9)},proto.ord.Reaction.prototype.getReactionId=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.ord.Reaction.prototype.setReactionId=function(e){return r.Message.setProto3StringField(this,10,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionIdentifier.prototype.toObject=function(e){return proto.ord.ReactionIdentifier.toObject(e,this)},proto.ord.ReactionIdentifier.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),value:r.Message.getFieldWithDefault(t,3,""),isMapped:r.Message.getBooleanFieldWithDefault(t,4,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionIdentifier.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionIdentifier;return proto.ord.ReactionIdentifier.deserializeBinaryFromReader(o,t)},proto.ord.ReactionIdentifier.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readString(),e.setValue(o);break;case 4:o=t.readBool(),e.setIsMapped(o);break;default:t.skipField()}return e},proto.ord.ReactionIdentifier.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionIdentifier.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionIdentifier.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),(o=e.getValue()).length>0&&t.writeString(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o)},proto.ord.ReactionIdentifier.ReactionIdentifierType={UNSPECIFIED:0,CUSTOM:1,REACTION_SMILES:2,REACTION_CXSMILES:6,RDFILE:3,RINCHI:4,REACTION_TYPE:5},proto.ord.ReactionIdentifier.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionIdentifier.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionIdentifier.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionIdentifier.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionIdentifier.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.ReactionIdentifier.prototype.setValue=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.ReactionIdentifier.prototype.getIsMapped=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.ReactionIdentifier.prototype.setIsMapped=function(e){return r.Message.setField(this,4,e)},proto.ord.ReactionIdentifier.prototype.clearIsMapped=function(){return r.Message.setField(this,4,void 0)},proto.ord.ReactionIdentifier.prototype.hasIsMapped=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionInput.repeatedFields_=[1,2],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionInput.prototype.toObject=function(e){return proto.ord.ReactionInput.toObject(e,this)},proto.ord.ReactionInput.toObject=function(e,t){var o,n={componentsList:r.Message.toObjectList(t.getComponentsList(),proto.ord.Compound.toObject,e),crudeComponentsList:r.Message.toObjectList(t.getCrudeComponentsList(),proto.ord.CrudeComponent.toObject,e),additionOrder:r.Message.getFieldWithDefault(t,3,0),additionTime:(o=t.getAdditionTime())&&proto.ord.Time.toObject(e,o),additionSpeed:(o=t.getAdditionSpeed())&&proto.ord.ReactionInput.AdditionSpeed.toObject(e,o),additionDuration:(o=t.getAdditionDuration())&&proto.ord.Time.toObject(e,o),flowRate:(o=t.getFlowRate())&&proto.ord.FlowRate.toObject(e,o),additionDevice:(o=t.getAdditionDevice())&&proto.ord.ReactionInput.AdditionDevice.toObject(e,o),additionTemperature:(o=t.getAdditionTemperature())&&proto.ord.Temperature.toObject(e,o),texture:(o=t.getTexture())&&proto.ord.Texture.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionInput.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionInput;return proto.ord.ReactionInput.deserializeBinaryFromReader(o,t)},proto.ord.ReactionInput.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Compound;t.readMessage(o,proto.ord.Compound.deserializeBinaryFromReader),e.addComponents(o);break;case 2:o=new proto.ord.CrudeComponent,t.readMessage(o,proto.ord.CrudeComponent.deserializeBinaryFromReader),e.addCrudeComponents(o);break;case 3:o=t.readInt32(),e.setAdditionOrder(o);break;case 4:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setAdditionTime(o);break;case 5:o=new proto.ord.ReactionInput.AdditionSpeed,t.readMessage(o,proto.ord.ReactionInput.AdditionSpeed.deserializeBinaryFromReader),e.setAdditionSpeed(o);break;case 6:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setAdditionDuration(o);break;case 7:o=new proto.ord.FlowRate,t.readMessage(o,proto.ord.FlowRate.deserializeBinaryFromReader),e.setFlowRate(o);break;case 8:o=new proto.ord.ReactionInput.AdditionDevice,t.readMessage(o,proto.ord.ReactionInput.AdditionDevice.deserializeBinaryFromReader),e.setAdditionDevice(o);break;case 9:o=new proto.ord.Temperature,t.readMessage(o,proto.ord.Temperature.deserializeBinaryFromReader),e.setAdditionTemperature(o);break;case 10:o=new proto.ord.Texture,t.readMessage(o,proto.ord.Texture.deserializeBinaryFromReader),e.setTexture(o);break;default:t.skipField()}return e},proto.ord.ReactionInput.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionInput.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionInput.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getComponentsList()).length>0&&t.writeRepeatedMessage(1,o,proto.ord.Compound.serializeBinaryToWriter),(o=e.getCrudeComponentsList()).length>0&&t.writeRepeatedMessage(2,o,proto.ord.CrudeComponent.serializeBinaryToWriter),0!==(o=e.getAdditionOrder())&&t.writeInt32(3,o),null!=(o=e.getAdditionTime())&&t.writeMessage(4,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getAdditionSpeed())&&t.writeMessage(5,o,proto.ord.ReactionInput.AdditionSpeed.serializeBinaryToWriter),null!=(o=e.getAdditionDuration())&&t.writeMessage(6,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getFlowRate())&&t.writeMessage(7,o,proto.ord.FlowRate.serializeBinaryToWriter),null!=(o=e.getAdditionDevice())&&t.writeMessage(8,o,proto.ord.ReactionInput.AdditionDevice.serializeBinaryToWriter),null!=(o=e.getAdditionTemperature())&&t.writeMessage(9,o,proto.ord.Temperature.serializeBinaryToWriter),null!=(o=e.getTexture())&&t.writeMessage(10,o,proto.ord.Texture.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionInput.AdditionSpeed.prototype.toObject=function(e){return proto.ord.ReactionInput.AdditionSpeed.toObject(e,this)},proto.ord.ReactionInput.AdditionSpeed.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionInput.AdditionSpeed.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionInput.AdditionSpeed;return proto.ord.ReactionInput.AdditionSpeed.deserializeBinaryFromReader(o,t)},proto.ord.ReactionInput.AdditionSpeed.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionInput.AdditionSpeed.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionInput.AdditionSpeed.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionInput.AdditionSpeed.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ReactionInput.AdditionSpeed.AdditionSpeedType={UNSPECIFIED:0,ALL_AT_ONCE:1,FAST:2,SLOW:3,DROPWISE:4,CONTINUOUS:5,PORTIONWISE:6},proto.ord.ReactionInput.AdditionSpeed.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionInput.AdditionSpeed.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionInput.AdditionSpeed.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionInput.AdditionSpeed.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionInput.AdditionDevice.prototype.toObject=function(e){return proto.ord.ReactionInput.AdditionDevice.toObject(e,this)},proto.ord.ReactionInput.AdditionDevice.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionInput.AdditionDevice.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionInput.AdditionDevice;return proto.ord.ReactionInput.AdditionDevice.deserializeBinaryFromReader(o,t)},proto.ord.ReactionInput.AdditionDevice.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionInput.AdditionDevice.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionInput.AdditionDevice.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionInput.AdditionDevice.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ReactionInput.AdditionDevice.AdditionDeviceType={UNSPECIFIED:0,CUSTOM:1,NONE:2,SYRINGE:3,CANNULA:4,ADDITION_FUNNEL:5,PIPETTE:6,POSITIVE_DISPLACEMENT_PIPETTE:7,PISTON_PUMP:8,SYRINGE_PUMP:9,PERISTALTIC_PUMP:10},proto.ord.ReactionInput.AdditionDevice.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionInput.AdditionDevice.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionInput.AdditionDevice.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionInput.AdditionDevice.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionInput.prototype.getComponentsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.Compound,1)},proto.ord.ReactionInput.prototype.setComponentsList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.ord.ReactionInput.prototype.addComponents=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.ord.Compound,t)},proto.ord.ReactionInput.prototype.clearComponentsList=function(){return this.setComponentsList([])},proto.ord.ReactionInput.prototype.getCrudeComponentsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.CrudeComponent,2)},proto.ord.ReactionInput.prototype.setCrudeComponentsList=function(e){return r.Message.setRepeatedWrapperField(this,2,e)},proto.ord.ReactionInput.prototype.addCrudeComponents=function(e,t){return r.Message.addToRepeatedWrapperField(this,2,e,proto.ord.CrudeComponent,t)},proto.ord.ReactionInput.prototype.clearCrudeComponentsList=function(){return this.setCrudeComponentsList([])},proto.ord.ReactionInput.prototype.getAdditionOrder=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.ReactionInput.prototype.setAdditionOrder=function(e){return r.Message.setProto3IntField(this,3,e)},proto.ord.ReactionInput.prototype.getAdditionTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,4)},proto.ord.ReactionInput.prototype.setAdditionTime=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.ReactionInput.prototype.clearAdditionTime=function(){return this.setAdditionTime(void 0)},proto.ord.ReactionInput.prototype.hasAdditionTime=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionInput.prototype.getAdditionSpeed=function(){return r.Message.getWrapperField(this,proto.ord.ReactionInput.AdditionSpeed,5)},proto.ord.ReactionInput.prototype.setAdditionSpeed=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ReactionInput.prototype.clearAdditionSpeed=function(){return this.setAdditionSpeed(void 0)},proto.ord.ReactionInput.prototype.hasAdditionSpeed=function(){return null!=r.Message.getField(this,5)},proto.ord.ReactionInput.prototype.getAdditionDuration=function(){return r.Message.getWrapperField(this,proto.ord.Time,6)},proto.ord.ReactionInput.prototype.setAdditionDuration=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.ReactionInput.prototype.clearAdditionDuration=function(){return this.setAdditionDuration(void 0)},proto.ord.ReactionInput.prototype.hasAdditionDuration=function(){return null!=r.Message.getField(this,6)},proto.ord.ReactionInput.prototype.getFlowRate=function(){return r.Message.getWrapperField(this,proto.ord.FlowRate,7)},proto.ord.ReactionInput.prototype.setFlowRate=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.ReactionInput.prototype.clearFlowRate=function(){return this.setFlowRate(void 0)},proto.ord.ReactionInput.prototype.hasFlowRate=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionInput.prototype.getAdditionDevice=function(){return r.Message.getWrapperField(this,proto.ord.ReactionInput.AdditionDevice,8)},proto.ord.ReactionInput.prototype.setAdditionDevice=function(e){return r.Message.setWrapperField(this,8,e)},proto.ord.ReactionInput.prototype.clearAdditionDevice=function(){return this.setAdditionDevice(void 0)},proto.ord.ReactionInput.prototype.hasAdditionDevice=function(){return null!=r.Message.getField(this,8)},proto.ord.ReactionInput.prototype.getAdditionTemperature=function(){return r.Message.getWrapperField(this,proto.ord.Temperature,9)},proto.ord.ReactionInput.prototype.setAdditionTemperature=function(e){return r.Message.setWrapperField(this,9,e)},proto.ord.ReactionInput.prototype.clearAdditionTemperature=function(){return this.setAdditionTemperature(void 0)},proto.ord.ReactionInput.prototype.hasAdditionTemperature=function(){return null!=r.Message.getField(this,9)},proto.ord.ReactionInput.prototype.getTexture=function(){return r.Message.getWrapperField(this,proto.ord.Texture,10)},proto.ord.ReactionInput.prototype.setTexture=function(e){return r.Message.setWrapperField(this,10,e)},proto.ord.ReactionInput.prototype.clearTexture=function(){return this.setTexture(void 0)},proto.ord.ReactionInput.prototype.hasTexture=function(){return null!=r.Message.getField(this,10)},proto.ord.Amount.oneofGroups_=[[1,2,3,5]],proto.ord.Amount.KindCase={KIND_NOT_SET:0,MASS:1,MOLES:2,VOLUME:3,UNMEASURED:5},proto.ord.Amount.prototype.getKindCase=function(){return r.Message.computeOneofCase(this,proto.ord.Amount.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Amount.prototype.toObject=function(e){return proto.ord.Amount.toObject(e,this)},proto.ord.Amount.toObject=function(e,t){var o,n={mass:(o=t.getMass())&&proto.ord.Mass.toObject(e,o),moles:(o=t.getMoles())&&proto.ord.Moles.toObject(e,o),volume:(o=t.getVolume())&&proto.ord.Volume.toObject(e,o),unmeasured:(o=t.getUnmeasured())&&proto.ord.UnmeasuredAmount.toObject(e,o),volumeIncludesSolutes:r.Message.getBooleanFieldWithDefault(t,4,!1)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Amount.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Amount;return proto.ord.Amount.deserializeBinaryFromReader(o,t)},proto.ord.Amount.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Mass;t.readMessage(o,proto.ord.Mass.deserializeBinaryFromReader),e.setMass(o);break;case 2:o=new proto.ord.Moles,t.readMessage(o,proto.ord.Moles.deserializeBinaryFromReader),e.setMoles(o);break;case 3:o=new proto.ord.Volume,t.readMessage(o,proto.ord.Volume.deserializeBinaryFromReader),e.setVolume(o);break;case 5:o=new proto.ord.UnmeasuredAmount,t.readMessage(o,proto.ord.UnmeasuredAmount.deserializeBinaryFromReader),e.setUnmeasured(o);break;case 4:o=t.readBool(),e.setVolumeIncludesSolutes(o);break;default:t.skipField()}return e},proto.ord.Amount.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Amount.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Amount.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getMass())&&t.writeMessage(1,o,proto.ord.Mass.serializeBinaryToWriter),null!=(o=e.getMoles())&&t.writeMessage(2,o,proto.ord.Moles.serializeBinaryToWriter),null!=(o=e.getVolume())&&t.writeMessage(3,o,proto.ord.Volume.serializeBinaryToWriter),null!=(o=e.getUnmeasured())&&t.writeMessage(5,o,proto.ord.UnmeasuredAmount.serializeBinaryToWriter),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o)},proto.ord.Amount.prototype.getMass=function(){return r.Message.getWrapperField(this,proto.ord.Mass,1)},proto.ord.Amount.prototype.setMass=function(e){return r.Message.setOneofWrapperField(this,1,proto.ord.Amount.oneofGroups_[0],e)},proto.ord.Amount.prototype.clearMass=function(){return this.setMass(void 0)},proto.ord.Amount.prototype.hasMass=function(){return null!=r.Message.getField(this,1)},proto.ord.Amount.prototype.getMoles=function(){return r.Message.getWrapperField(this,proto.ord.Moles,2)},proto.ord.Amount.prototype.setMoles=function(e){return r.Message.setOneofWrapperField(this,2,proto.ord.Amount.oneofGroups_[0],e)},proto.ord.Amount.prototype.clearMoles=function(){return this.setMoles(void 0)},proto.ord.Amount.prototype.hasMoles=function(){return null!=r.Message.getField(this,2)},proto.ord.Amount.prototype.getVolume=function(){return r.Message.getWrapperField(this,proto.ord.Volume,3)},proto.ord.Amount.prototype.setVolume=function(e){return r.Message.setOneofWrapperField(this,3,proto.ord.Amount.oneofGroups_[0],e)},proto.ord.Amount.prototype.clearVolume=function(){return this.setVolume(void 0)},proto.ord.Amount.prototype.hasVolume=function(){return null!=r.Message.getField(this,3)},proto.ord.Amount.prototype.getUnmeasured=function(){return r.Message.getWrapperField(this,proto.ord.UnmeasuredAmount,5)},proto.ord.Amount.prototype.setUnmeasured=function(e){return r.Message.setOneofWrapperField(this,5,proto.ord.Amount.oneofGroups_[0],e)},proto.ord.Amount.prototype.clearUnmeasured=function(){return this.setUnmeasured(void 0)},proto.ord.Amount.prototype.hasUnmeasured=function(){return null!=r.Message.getField(this,5)},proto.ord.Amount.prototype.getVolumeIncludesSolutes=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.Amount.prototype.setVolumeIncludesSolutes=function(e){return r.Message.setField(this,4,e)},proto.ord.Amount.prototype.clearVolumeIncludesSolutes=function(){return r.Message.setField(this,4,void 0)},proto.ord.Amount.prototype.hasVolumeIncludesSolutes=function(){return null!=r.Message.getField(this,4)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.UnmeasuredAmount.prototype.toObject=function(e){return proto.ord.UnmeasuredAmount.toObject(e,this)},proto.ord.UnmeasuredAmount.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.UnmeasuredAmount.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.UnmeasuredAmount;return proto.ord.UnmeasuredAmount.deserializeBinaryFromReader(o,t)},proto.ord.UnmeasuredAmount.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.UnmeasuredAmount.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.UnmeasuredAmount.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.UnmeasuredAmount.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.UnmeasuredAmount.UnmeasuredAmountType={UNSPECIFIED:0,CUSTOM:1,SATURATED:2,CATALYTIC:3,TITRATED:4},proto.ord.UnmeasuredAmount.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.UnmeasuredAmount.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.UnmeasuredAmount.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.UnmeasuredAmount.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Texture.prototype.toObject=function(e){return proto.ord.Texture.toObject(e,this)},proto.ord.Texture.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Texture.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Texture;return proto.ord.Texture.deserializeBinaryFromReader(o,t)},proto.ord.Texture.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.Texture.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Texture.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Texture.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.Texture.TextureType={UNSPECIFIED:0,CUSTOM:1,POWDER:2,CRYSTAL:3,OIL:4,AMORPHOUS_SOLID:5,FOAM:6,WAX:7,SEMI_SOLID:8,SOLID:9,LIQUID:10,GAS:11},proto.ord.Texture.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.Texture.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.Texture.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Texture.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.CrudeComponent.prototype.toObject=function(e){return proto.ord.CrudeComponent.toObject(e,this)},proto.ord.CrudeComponent.toObject=function(e,t){var o,n={reactionId:r.Message.getFieldWithDefault(t,1,""),includesWorkup:r.Message.getBooleanFieldWithDefault(t,2,!1),hasDerivedAmount:r.Message.getBooleanFieldWithDefault(t,3,!1),amount:(o=t.getAmount())&&proto.ord.Amount.toObject(e,o),texture:(o=t.getTexture())&&proto.ord.Texture.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.CrudeComponent.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.CrudeComponent;return proto.ord.CrudeComponent.deserializeBinaryFromReader(o,t)},proto.ord.CrudeComponent.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setReactionId(o);break;case 2:o=t.readBool(),e.setIncludesWorkup(o);break;case 3:o=t.readBool(),e.setHasDerivedAmount(o);break;case 4:o=new proto.ord.Amount,t.readMessage(o,proto.ord.Amount.deserializeBinaryFromReader),e.setAmount(o);break;case 5:o=new proto.ord.Texture,t.readMessage(o,proto.ord.Texture.deserializeBinaryFromReader),e.setTexture(o);break;default:t.skipField()}return e},proto.ord.CrudeComponent.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.CrudeComponent.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.CrudeComponent.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getReactionId()).length>0&&t.writeString(1,o),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),null!=(o=r.Message.getField(e,3))&&t.writeBool(3,o),null!=(o=e.getAmount())&&t.writeMessage(4,o,proto.ord.Amount.serializeBinaryToWriter),null!=(o=e.getTexture())&&t.writeMessage(5,o,proto.ord.Texture.serializeBinaryToWriter)},proto.ord.CrudeComponent.prototype.getReactionId=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.CrudeComponent.prototype.setReactionId=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.CrudeComponent.prototype.getIncludesWorkup=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.ord.CrudeComponent.prototype.setIncludesWorkup=function(e){return r.Message.setField(this,2,e)},proto.ord.CrudeComponent.prototype.clearIncludesWorkup=function(){return r.Message.setField(this,2,void 0)},proto.ord.CrudeComponent.prototype.hasIncludesWorkup=function(){return null!=r.Message.getField(this,2)},proto.ord.CrudeComponent.prototype.getHasDerivedAmount=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.ord.CrudeComponent.prototype.setHasDerivedAmount=function(e){return r.Message.setField(this,3,e)},proto.ord.CrudeComponent.prototype.clearHasDerivedAmount=function(){return r.Message.setField(this,3,void 0)},proto.ord.CrudeComponent.prototype.hasHasDerivedAmount=function(){return null!=r.Message.getField(this,3)},proto.ord.CrudeComponent.prototype.getAmount=function(){return r.Message.getWrapperField(this,proto.ord.Amount,4)},proto.ord.CrudeComponent.prototype.setAmount=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.CrudeComponent.prototype.clearAmount=function(){return this.setAmount(void 0)},proto.ord.CrudeComponent.prototype.hasAmount=function(){return null!=r.Message.getField(this,4)},proto.ord.CrudeComponent.prototype.getTexture=function(){return r.Message.getWrapperField(this,proto.ord.Texture,5)},proto.ord.CrudeComponent.prototype.setTexture=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.CrudeComponent.prototype.clearTexture=function(){return this.setTexture(void 0)},proto.ord.CrudeComponent.prototype.hasTexture=function(){return null!=r.Message.getField(this,5)},proto.ord.Compound.repeatedFields_=[1,5],r.Message.GENERATE_TO_OBJECT&&(proto.ord.Compound.prototype.toObject=function(e){return proto.ord.Compound.toObject(e,this)},proto.ord.Compound.toObject=function(e,t){var o,n={identifiersList:r.Message.toObjectList(t.getIdentifiersList(),proto.ord.CompoundIdentifier.toObject,e),amount:(o=t.getAmount())&&proto.ord.Amount.toObject(e,o),reactionRole:r.Message.getFieldWithDefault(t,3,0),isLimiting:r.Message.getBooleanFieldWithDefault(t,4,!1),preparationsList:r.Message.toObjectList(t.getPreparationsList(),proto.ord.CompoundPreparation.toObject,e),source:(o=t.getSource())&&proto.ord.Compound.Source.toObject(e,o),featuresMap:(o=t.getFeaturesMap())?o.toObject(e,proto.ord.Data.toObject):[],analysesMap:(o=t.getAnalysesMap())?o.toObject(e,proto.ord.Analysis.toObject):[],texture:(o=t.getTexture())&&proto.ord.Texture.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Compound.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Compound;return proto.ord.Compound.deserializeBinaryFromReader(o,t)},proto.ord.Compound.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.CompoundIdentifier;t.readMessage(o,proto.ord.CompoundIdentifier.deserializeBinaryFromReader),e.addIdentifiers(o);break;case 2:o=new proto.ord.Amount,t.readMessage(o,proto.ord.Amount.deserializeBinaryFromReader),e.setAmount(o);break;case 3:o=t.readEnum(),e.setReactionRole(o);break;case 4:o=t.readBool(),e.setIsLimiting(o);break;case 5:o=new proto.ord.CompoundPreparation,t.readMessage(o,proto.ord.CompoundPreparation.deserializeBinaryFromReader),e.addPreparations(o);break;case 6:o=new proto.ord.Compound.Source,t.readMessage(o,proto.ord.Compound.Source.deserializeBinaryFromReader),e.setSource(o);break;case 7:o=e.getFeaturesMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 8:o=e.getAnalysesMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Analysis.deserializeBinaryFromReader,"",new proto.ord.Analysis)});break;case 9:o=new proto.ord.Texture,t.readMessage(o,proto.ord.Texture.deserializeBinaryFromReader),e.setTexture(o);break;default:t.skipField()}return e},proto.ord.Compound.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Compound.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Compound.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdentifiersList()).length>0&&t.writeRepeatedMessage(1,o,proto.ord.CompoundIdentifier.serializeBinaryToWriter),null!=(o=e.getAmount())&&t.writeMessage(2,o,proto.ord.Amount.serializeBinaryToWriter),0!==(o=e.getReactionRole())&&t.writeEnum(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o),(o=e.getPreparationsList()).length>0&&t.writeRepeatedMessage(5,o,proto.ord.CompoundPreparation.serializeBinaryToWriter),null!=(o=e.getSource())&&t.writeMessage(6,o,proto.ord.Compound.Source.serializeBinaryToWriter),(o=e.getFeaturesMap(!0))&&o.getLength()>0&&o.serializeBinary(7,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),(o=e.getAnalysesMap(!0))&&o.getLength()>0&&o.serializeBinary(8,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Analysis.serializeBinaryToWriter),null!=(o=e.getTexture())&&t.writeMessage(9,o,proto.ord.Texture.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Compound.Source.prototype.toObject=function(e){return proto.ord.Compound.Source.toObject(e,this)},proto.ord.Compound.Source.toObject=function(e,t){var o={vendor:r.Message.getFieldWithDefault(t,1,""),catalogId:r.Message.getFieldWithDefault(t,2,""),lot:r.Message.getFieldWithDefault(t,3,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Compound.Source.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Compound.Source;return proto.ord.Compound.Source.deserializeBinaryFromReader(o,t)},proto.ord.Compound.Source.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setVendor(o);break;case 2:o=t.readString(),e.setCatalogId(o);break;case 3:o=t.readString(),e.setLot(o);break;default:t.skipField()}return e},proto.ord.Compound.Source.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Compound.Source.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Compound.Source.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getVendor()).length>0&&t.writeString(1,o),(o=e.getCatalogId()).length>0&&t.writeString(2,o),(o=e.getLot()).length>0&&t.writeString(3,o)},proto.ord.Compound.Source.prototype.getVendor=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.Compound.Source.prototype.setVendor=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.Compound.Source.prototype.getCatalogId=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Compound.Source.prototype.setCatalogId=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Compound.Source.prototype.getLot=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.Compound.Source.prototype.setLot=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.Compound.prototype.getIdentifiersList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.CompoundIdentifier,1)},proto.ord.Compound.prototype.setIdentifiersList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.ord.Compound.prototype.addIdentifiers=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.ord.CompoundIdentifier,t)},proto.ord.Compound.prototype.clearIdentifiersList=function(){return this.setIdentifiersList([])},proto.ord.Compound.prototype.getAmount=function(){return r.Message.getWrapperField(this,proto.ord.Amount,2)},proto.ord.Compound.prototype.setAmount=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.Compound.prototype.clearAmount=function(){return this.setAmount(void 0)},proto.ord.Compound.prototype.hasAmount=function(){return null!=r.Message.getField(this,2)},proto.ord.Compound.prototype.getReactionRole=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Compound.prototype.setReactionRole=function(e){return r.Message.setProto3EnumField(this,3,e)},proto.ord.Compound.prototype.getIsLimiting=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.Compound.prototype.setIsLimiting=function(e){return r.Message.setField(this,4,e)},proto.ord.Compound.prototype.clearIsLimiting=function(){return r.Message.setField(this,4,void 0)},proto.ord.Compound.prototype.hasIsLimiting=function(){return null!=r.Message.getField(this,4)},proto.ord.Compound.prototype.getPreparationsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.CompoundPreparation,5)},proto.ord.Compound.prototype.setPreparationsList=function(e){return r.Message.setRepeatedWrapperField(this,5,e)},proto.ord.Compound.prototype.addPreparations=function(e,t){return r.Message.addToRepeatedWrapperField(this,5,e,proto.ord.CompoundPreparation,t)},proto.ord.Compound.prototype.clearPreparationsList=function(){return this.setPreparationsList([])},proto.ord.Compound.prototype.getSource=function(){return r.Message.getWrapperField(this,proto.ord.Compound.Source,6)},proto.ord.Compound.prototype.setSource=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.Compound.prototype.clearSource=function(){return this.setSource(void 0)},proto.ord.Compound.prototype.hasSource=function(){return null!=r.Message.getField(this,6)},proto.ord.Compound.prototype.getFeaturesMap=function(e){return r.Message.getMapField(this,7,e,proto.ord.Data)},proto.ord.Compound.prototype.clearFeaturesMap=function(){return this.getFeaturesMap().clear(),this},proto.ord.Compound.prototype.getAnalysesMap=function(e){return r.Message.getMapField(this,8,e,proto.ord.Analysis)},proto.ord.Compound.prototype.clearAnalysesMap=function(){return this.getAnalysesMap().clear(),this},proto.ord.Compound.prototype.getTexture=function(){return r.Message.getWrapperField(this,proto.ord.Texture,9)},proto.ord.Compound.prototype.setTexture=function(e){return r.Message.setWrapperField(this,9,e)},proto.ord.Compound.prototype.clearTexture=function(){return this.setTexture(void 0)},proto.ord.Compound.prototype.hasTexture=function(){return null!=r.Message.getField(this,9)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionRole.prototype.toObject=function(e){return proto.ord.ReactionRole.toObject(e,this)},proto.ord.ReactionRole.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionRole.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionRole;return proto.ord.ReactionRole.deserializeBinaryFromReader(o,t)},proto.ord.ReactionRole.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)t.getFieldNumber(),t.skipField();return e},proto.ord.ReactionRole.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionRole.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionRole.serializeBinaryToWriter=function(e,t){},proto.ord.ReactionRole.ReactionRoleType={UNSPECIFIED:0,REACTANT:1,REAGENT:2,SOLVENT:3,CATALYST:4,WORKUP:5,INTERNAL_STANDARD:6,AUTHENTIC_STANDARD:7,PRODUCT:8,BYPRODUCT:9,SIDE_PRODUCT:10},r.Message.GENERATE_TO_OBJECT&&(proto.ord.CompoundPreparation.prototype.toObject=function(e){return proto.ord.CompoundPreparation.toObject(e,this)},proto.ord.CompoundPreparation.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),reactionId:r.Message.getFieldWithDefault(t,3,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.CompoundPreparation.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.CompoundPreparation;return proto.ord.CompoundPreparation.deserializeBinaryFromReader(o,t)},proto.ord.CompoundPreparation.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readString(),e.setReactionId(o);break;default:t.skipField()}return e},proto.ord.CompoundPreparation.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.CompoundPreparation.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.CompoundPreparation.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),(o=e.getReactionId()).length>0&&t.writeString(3,o)},proto.ord.CompoundPreparation.CompoundPreparationType={UNSPECIFIED:0,CUSTOM:1,NONE:2,REPURIFIED:3,SPARGED:4,DRIED:5,SYNTHESIZED:6},proto.ord.CompoundPreparation.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.CompoundPreparation.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.CompoundPreparation.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.CompoundPreparation.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.CompoundPreparation.prototype.getReactionId=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.CompoundPreparation.prototype.setReactionId=function(e){return r.Message.setProto3StringField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.CompoundIdentifier.prototype.toObject=function(e){return proto.ord.CompoundIdentifier.toObject(e,this)},proto.ord.CompoundIdentifier.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),value:r.Message.getFieldWithDefault(t,3,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.CompoundIdentifier.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.CompoundIdentifier;return proto.ord.CompoundIdentifier.deserializeBinaryFromReader(o,t)},proto.ord.CompoundIdentifier.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readString(),e.setValue(o);break;default:t.skipField()}return e},proto.ord.CompoundIdentifier.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.CompoundIdentifier.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.CompoundIdentifier.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),(o=e.getValue()).length>0&&t.writeString(3,o)},proto.ord.CompoundIdentifier.CompoundIdentifierType={UNSPECIFIED:0,CUSTOM:1,SMILES:2,INCHI:3,MOLBLOCK:4,IUPAC_NAME:5,NAME:6,CAS_NUMBER:7,PUBCHEM_CID:8,CHEMSPIDER_ID:9,CXSMILES:10,INCHI_KEY:11,XYZ:12,UNIPROT_ID:13,PDB_ID:14,AMINO_ACID_SEQUENCE:15,HELM:16,MDL:17},proto.ord.CompoundIdentifier.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.CompoundIdentifier.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.CompoundIdentifier.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.CompoundIdentifier.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.CompoundIdentifier.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.CompoundIdentifier.prototype.setValue=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.Vessel.repeatedFields_=[4,5],r.Message.GENERATE_TO_OBJECT&&(proto.ord.Vessel.prototype.toObject=function(e){return proto.ord.Vessel.toObject(e,this)},proto.ord.Vessel.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),material:(o=t.getMaterial())&&proto.ord.VesselMaterial.toObject(e,o),preparationsList:r.Message.toObjectList(t.getPreparationsList(),proto.ord.VesselPreparation.toObject,e),attachmentsList:r.Message.toObjectList(t.getAttachmentsList(),proto.ord.VesselAttachment.toObject,e),volume:(o=t.getVolume())&&proto.ord.Volume.toObject(e,o),vesselId:r.Message.getFieldWithDefault(t,7,""),position:r.Message.getFieldWithDefault(t,8,""),row:r.Message.getFieldWithDefault(t,9,""),col:r.Message.getFieldWithDefault(t,10,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Vessel.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Vessel;return proto.ord.Vessel.deserializeBinaryFromReader(o,t)},proto.ord.Vessel.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.VesselMaterial,t.readMessage(o,proto.ord.VesselMaterial.deserializeBinaryFromReader),e.setMaterial(o);break;case 4:o=new proto.ord.VesselPreparation,t.readMessage(o,proto.ord.VesselPreparation.deserializeBinaryFromReader),e.addPreparations(o);break;case 5:o=new proto.ord.VesselAttachment,t.readMessage(o,proto.ord.VesselAttachment.deserializeBinaryFromReader),e.addAttachments(o);break;case 6:o=new proto.ord.Volume,t.readMessage(o,proto.ord.Volume.deserializeBinaryFromReader),e.setVolume(o);break;case 7:o=t.readString(),e.setVesselId(o);break;case 8:o=t.readString(),e.setPosition(o);break;case 9:o=t.readString(),e.setRow(o);break;case 10:o=t.readString(),e.setCol(o);break;default:t.skipField()}return e},proto.ord.Vessel.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Vessel.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Vessel.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getMaterial())&&t.writeMessage(3,o,proto.ord.VesselMaterial.serializeBinaryToWriter),(o=e.getPreparationsList()).length>0&&t.writeRepeatedMessage(4,o,proto.ord.VesselPreparation.serializeBinaryToWriter),(o=e.getAttachmentsList()).length>0&&t.writeRepeatedMessage(5,o,proto.ord.VesselAttachment.serializeBinaryToWriter),null!=(o=e.getVolume())&&t.writeMessage(6,o,proto.ord.Volume.serializeBinaryToWriter),(o=e.getVesselId()).length>0&&t.writeString(7,o),(o=e.getPosition()).length>0&&t.writeString(8,o),(o=e.getRow()).length>0&&t.writeString(9,o),(o=e.getCol()).length>0&&t.writeString(10,o)},proto.ord.Vessel.VesselType={UNSPECIFIED:0,CUSTOM:1,ROUND_BOTTOM_FLASK:2,VIAL:3,WELL_PLATE:4,MICROWAVE_VIAL:5,TUBE:6,CONTINUOUS_STIRRED_TANK_REACTOR:7,PACKED_BED_REACTOR:8,NMR_TUBE:9,PRESSURE_FLASK:10,PRESSURE_REACTOR:11,ELECTROCHEMICAL_CELL:12},proto.ord.Vessel.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.Vessel.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.Vessel.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Vessel.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Vessel.prototype.getMaterial=function(){return r.Message.getWrapperField(this,proto.ord.VesselMaterial,3)},proto.ord.Vessel.prototype.setMaterial=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.Vessel.prototype.clearMaterial=function(){return this.setMaterial(void 0)},proto.ord.Vessel.prototype.hasMaterial=function(){return null!=r.Message.getField(this,3)},proto.ord.Vessel.prototype.getPreparationsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.VesselPreparation,4)},proto.ord.Vessel.prototype.setPreparationsList=function(e){return r.Message.setRepeatedWrapperField(this,4,e)},proto.ord.Vessel.prototype.addPreparations=function(e,t){return r.Message.addToRepeatedWrapperField(this,4,e,proto.ord.VesselPreparation,t)},proto.ord.Vessel.prototype.clearPreparationsList=function(){return this.setPreparationsList([])},proto.ord.Vessel.prototype.getAttachmentsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.VesselAttachment,5)},proto.ord.Vessel.prototype.setAttachmentsList=function(e){return r.Message.setRepeatedWrapperField(this,5,e)},proto.ord.Vessel.prototype.addAttachments=function(e,t){return r.Message.addToRepeatedWrapperField(this,5,e,proto.ord.VesselAttachment,t)},proto.ord.Vessel.prototype.clearAttachmentsList=function(){return this.setAttachmentsList([])},proto.ord.Vessel.prototype.getVolume=function(){return r.Message.getWrapperField(this,proto.ord.Volume,6)},proto.ord.Vessel.prototype.setVolume=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.Vessel.prototype.clearVolume=function(){return this.setVolume(void 0)},proto.ord.Vessel.prototype.hasVolume=function(){return null!=r.Message.getField(this,6)},proto.ord.Vessel.prototype.getVesselId=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.ord.Vessel.prototype.setVesselId=function(e){return r.Message.setProto3StringField(this,7,e)},proto.ord.Vessel.prototype.getPosition=function(){return r.Message.getFieldWithDefault(this,8,"")},proto.ord.Vessel.prototype.setPosition=function(e){return r.Message.setProto3StringField(this,8,e)},proto.ord.Vessel.prototype.getRow=function(){return r.Message.getFieldWithDefault(this,9,"")},proto.ord.Vessel.prototype.setRow=function(e){return r.Message.setProto3StringField(this,9,e)},proto.ord.Vessel.prototype.getCol=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.ord.Vessel.prototype.setCol=function(e){return r.Message.setProto3StringField(this,10,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.VesselMaterial.prototype.toObject=function(e){return proto.ord.VesselMaterial.toObject(e,this)},proto.ord.VesselMaterial.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.VesselMaterial.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.VesselMaterial;return proto.ord.VesselMaterial.deserializeBinaryFromReader(o,t)},proto.ord.VesselMaterial.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.VesselMaterial.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.VesselMaterial.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.VesselMaterial.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.VesselMaterial.VesselMaterialType={UNSPECIFIED:0,CUSTOM:1,GLASS:2,POLYPROPYLENE:3,PLASTIC:4,METAL:5,QUARTZ:6},proto.ord.VesselMaterial.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.VesselMaterial.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.VesselMaterial.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.VesselMaterial.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.VesselAttachment.prototype.toObject=function(e){return proto.ord.VesselAttachment.toObject(e,this)},proto.ord.VesselAttachment.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.VesselAttachment.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.VesselAttachment;return proto.ord.VesselAttachment.deserializeBinaryFromReader(o,t)},proto.ord.VesselAttachment.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.VesselAttachment.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.VesselAttachment.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.VesselAttachment.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.VesselAttachment.VesselAttachmentType={UNSPECIFIED:0,NONE:1,CUSTOM:2,SEPTUM:3,CAP:4,MAT:5,REFLUX_CONDENSER:6,VENT_NEEDLE:7,DEAN_STARK:8,VACUUM_TUBE:9,ADDITION_FUNNEL:10,DRYING_TUBE:11,ALUMINUM_FOIL:12,THERMOCOUPLE:13,BALLOON:14,GAS_ADAPTER:15,PRESSURE_REGULATOR:16,RELEASE_VALVE:17},proto.ord.VesselAttachment.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.VesselAttachment.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.VesselAttachment.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.VesselAttachment.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.VesselPreparation.prototype.toObject=function(e){return proto.ord.VesselPreparation.toObject(e,this)},proto.ord.VesselPreparation.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.VesselPreparation.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.VesselPreparation;return proto.ord.VesselPreparation.deserializeBinaryFromReader(o,t)},proto.ord.VesselPreparation.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.VesselPreparation.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.VesselPreparation.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.VesselPreparation.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.VesselPreparation.VesselPreparationType={UNSPECIFIED:0,CUSTOM:1,NONE:2,OVEN_DRIED:3,FLAME_DRIED:4,EVACUATED_BACKFILLED:5,PURGED:6},proto.ord.VesselPreparation.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.VesselPreparation.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.VesselPreparation.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.VesselPreparation.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionSetup.prototype.toObject=function(e){return proto.ord.ReactionSetup.toObject(e,this)},proto.ord.ReactionSetup.toObject=function(e,t){var o,n={vessel:(o=t.getVessel())&&proto.ord.Vessel.toObject(e,o),isAutomated:r.Message.getBooleanFieldWithDefault(t,2,!1),automationPlatform:r.Message.getFieldWithDefault(t,3,""),automationCodeMap:(o=t.getAutomationCodeMap())?o.toObject(e,proto.ord.Data.toObject):[],environment:(o=t.getEnvironment())&&proto.ord.ReactionSetup.ReactionEnvironment.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionSetup.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionSetup;return proto.ord.ReactionSetup.deserializeBinaryFromReader(o,t)},proto.ord.ReactionSetup.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Vessel;t.readMessage(o,proto.ord.Vessel.deserializeBinaryFromReader),e.setVessel(o);break;case 2:o=t.readBool(),e.setIsAutomated(o);break;case 3:o=t.readString(),e.setAutomationPlatform(o);break;case 4:o=e.getAutomationCodeMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 5:o=new proto.ord.ReactionSetup.ReactionEnvironment,t.readMessage(o,proto.ord.ReactionSetup.ReactionEnvironment.deserializeBinaryFromReader),e.setEnvironment(o);break;default:t.skipField()}return e},proto.ord.ReactionSetup.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionSetup.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionSetup.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getVessel())&&t.writeMessage(1,o,proto.ord.Vessel.serializeBinaryToWriter),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),(o=e.getAutomationPlatform()).length>0&&t.writeString(3,o),(o=e.getAutomationCodeMap(!0))&&o.getLength()>0&&o.serializeBinary(4,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),null!=(o=e.getEnvironment())&&t.writeMessage(5,o,proto.ord.ReactionSetup.ReactionEnvironment.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionSetup.ReactionEnvironment.prototype.toObject=function(e){return proto.ord.ReactionSetup.ReactionEnvironment.toObject(e,this)},proto.ord.ReactionSetup.ReactionEnvironment.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionSetup.ReactionEnvironment.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionSetup.ReactionEnvironment;return proto.ord.ReactionSetup.ReactionEnvironment.deserializeBinaryFromReader(o,t)},proto.ord.ReactionSetup.ReactionEnvironment.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionSetup.ReactionEnvironment.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionSetup.ReactionEnvironment.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionSetup.ReactionEnvironment.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ReactionSetup.ReactionEnvironment.ReactionEnvironmentType={UNSPECIFIED:0,CUSTOM:1,FUME_HOOD:2,BENCH_TOP:3,GLOVE_BOX:4,GLOVE_BAG:5},proto.ord.ReactionSetup.ReactionEnvironment.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionSetup.ReactionEnvironment.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionSetup.ReactionEnvironment.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionSetup.ReactionEnvironment.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionSetup.prototype.getVessel=function(){return r.Message.getWrapperField(this,proto.ord.Vessel,1)},proto.ord.ReactionSetup.prototype.setVessel=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionSetup.prototype.clearVessel=function(){return this.setVessel(void 0)},proto.ord.ReactionSetup.prototype.hasVessel=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionSetup.prototype.getIsAutomated=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.ord.ReactionSetup.prototype.setIsAutomated=function(e){return r.Message.setField(this,2,e)},proto.ord.ReactionSetup.prototype.clearIsAutomated=function(){return r.Message.setField(this,2,void 0)},proto.ord.ReactionSetup.prototype.hasIsAutomated=function(){return null!=r.Message.getField(this,2)},proto.ord.ReactionSetup.prototype.getAutomationPlatform=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.ReactionSetup.prototype.setAutomationPlatform=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.ReactionSetup.prototype.getAutomationCodeMap=function(e){return r.Message.getMapField(this,4,e,proto.ord.Data)},proto.ord.ReactionSetup.prototype.clearAutomationCodeMap=function(){return this.getAutomationCodeMap().clear(),this},proto.ord.ReactionSetup.prototype.getEnvironment=function(){return r.Message.getWrapperField(this,proto.ord.ReactionSetup.ReactionEnvironment,5)},proto.ord.ReactionSetup.prototype.setEnvironment=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ReactionSetup.prototype.clearEnvironment=function(){return this.setEnvironment(void 0)},proto.ord.ReactionSetup.prototype.hasEnvironment=function(){return null!=r.Message.getField(this,5)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionConditions.prototype.toObject=function(e){return proto.ord.ReactionConditions.toObject(e,this)},proto.ord.ReactionConditions.toObject=function(e,t){var o,n={temperature:(o=t.getTemperature())&&proto.ord.TemperatureConditions.toObject(e,o),pressure:(o=t.getPressure())&&proto.ord.PressureConditions.toObject(e,o),stirring:(o=t.getStirring())&&proto.ord.StirringConditions.toObject(e,o),illumination:(o=t.getIllumination())&&proto.ord.IlluminationConditions.toObject(e,o),electrochemistry:(o=t.getElectrochemistry())&&proto.ord.ElectrochemistryConditions.toObject(e,o),flow:(o=t.getFlow())&&proto.ord.FlowConditions.toObject(e,o),reflux:r.Message.getBooleanFieldWithDefault(t,7,!1),ph:r.Message.getFloatingPointFieldWithDefault(t,8,0),conditionsAreDynamic:r.Message.getBooleanFieldWithDefault(t,9,!1),details:r.Message.getFieldWithDefault(t,10,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionConditions;return proto.ord.ReactionConditions.deserializeBinaryFromReader(o,t)},proto.ord.ReactionConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.TemperatureConditions;t.readMessage(o,proto.ord.TemperatureConditions.deserializeBinaryFromReader),e.setTemperature(o);break;case 2:o=new proto.ord.PressureConditions,t.readMessage(o,proto.ord.PressureConditions.deserializeBinaryFromReader),e.setPressure(o);break;case 3:o=new proto.ord.StirringConditions,t.readMessage(o,proto.ord.StirringConditions.deserializeBinaryFromReader),e.setStirring(o);break;case 4:o=new proto.ord.IlluminationConditions,t.readMessage(o,proto.ord.IlluminationConditions.deserializeBinaryFromReader),e.setIllumination(o);break;case 5:o=new proto.ord.ElectrochemistryConditions,t.readMessage(o,proto.ord.ElectrochemistryConditions.deserializeBinaryFromReader),e.setElectrochemistry(o);break;case 6:o=new proto.ord.FlowConditions,t.readMessage(o,proto.ord.FlowConditions.deserializeBinaryFromReader),e.setFlow(o);break;case 7:o=t.readBool(),e.setReflux(o);break;case 8:o=t.readFloat(),e.setPh(o);break;case 9:o=t.readBool(),e.setConditionsAreDynamic(o);break;case 10:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionConditions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getTemperature())&&t.writeMessage(1,o,proto.ord.TemperatureConditions.serializeBinaryToWriter),null!=(o=e.getPressure())&&t.writeMessage(2,o,proto.ord.PressureConditions.serializeBinaryToWriter),null!=(o=e.getStirring())&&t.writeMessage(3,o,proto.ord.StirringConditions.serializeBinaryToWriter),null!=(o=e.getIllumination())&&t.writeMessage(4,o,proto.ord.IlluminationConditions.serializeBinaryToWriter),null!=(o=e.getElectrochemistry())&&t.writeMessage(5,o,proto.ord.ElectrochemistryConditions.serializeBinaryToWriter),null!=(o=e.getFlow())&&t.writeMessage(6,o,proto.ord.FlowConditions.serializeBinaryToWriter),null!=(o=r.Message.getField(e,7))&&t.writeBool(7,o),null!=(o=r.Message.getField(e,8))&&t.writeFloat(8,o),null!=(o=r.Message.getField(e,9))&&t.writeBool(9,o),(o=e.getDetails()).length>0&&t.writeString(10,o)},proto.ord.ReactionConditions.prototype.getTemperature=function(){return r.Message.getWrapperField(this,proto.ord.TemperatureConditions,1)},proto.ord.ReactionConditions.prototype.setTemperature=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionConditions.prototype.clearTemperature=function(){return this.setTemperature(void 0)},proto.ord.ReactionConditions.prototype.hasTemperature=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionConditions.prototype.getPressure=function(){return r.Message.getWrapperField(this,proto.ord.PressureConditions,2)},proto.ord.ReactionConditions.prototype.setPressure=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.ReactionConditions.prototype.clearPressure=function(){return this.setPressure(void 0)},proto.ord.ReactionConditions.prototype.hasPressure=function(){return null!=r.Message.getField(this,2)},proto.ord.ReactionConditions.prototype.getStirring=function(){return r.Message.getWrapperField(this,proto.ord.StirringConditions,3)},proto.ord.ReactionConditions.prototype.setStirring=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ReactionConditions.prototype.clearStirring=function(){return this.setStirring(void 0)},proto.ord.ReactionConditions.prototype.hasStirring=function(){return null!=r.Message.getField(this,3)},proto.ord.ReactionConditions.prototype.getIllumination=function(){return r.Message.getWrapperField(this,proto.ord.IlluminationConditions,4)},proto.ord.ReactionConditions.prototype.setIllumination=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.ReactionConditions.prototype.clearIllumination=function(){return this.setIllumination(void 0)},proto.ord.ReactionConditions.prototype.hasIllumination=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionConditions.prototype.getElectrochemistry=function(){return r.Message.getWrapperField(this,proto.ord.ElectrochemistryConditions,5)},proto.ord.ReactionConditions.prototype.setElectrochemistry=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ReactionConditions.prototype.clearElectrochemistry=function(){return this.setElectrochemistry(void 0)},proto.ord.ReactionConditions.prototype.hasElectrochemistry=function(){return null!=r.Message.getField(this,5)},proto.ord.ReactionConditions.prototype.getFlow=function(){return r.Message.getWrapperField(this,proto.ord.FlowConditions,6)},proto.ord.ReactionConditions.prototype.setFlow=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.ReactionConditions.prototype.clearFlow=function(){return this.setFlow(void 0)},proto.ord.ReactionConditions.prototype.hasFlow=function(){return null!=r.Message.getField(this,6)},proto.ord.ReactionConditions.prototype.getReflux=function(){return r.Message.getBooleanFieldWithDefault(this,7,!1)},proto.ord.ReactionConditions.prototype.setReflux=function(e){return r.Message.setField(this,7,e)},proto.ord.ReactionConditions.prototype.clearReflux=function(){return r.Message.setField(this,7,void 0)},proto.ord.ReactionConditions.prototype.hasReflux=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionConditions.prototype.getPh=function(){return r.Message.getFloatingPointFieldWithDefault(this,8,0)},proto.ord.ReactionConditions.prototype.setPh=function(e){return r.Message.setField(this,8,e)},proto.ord.ReactionConditions.prototype.clearPh=function(){return r.Message.setField(this,8,void 0)},proto.ord.ReactionConditions.prototype.hasPh=function(){return null!=r.Message.getField(this,8)},proto.ord.ReactionConditions.prototype.getConditionsAreDynamic=function(){return r.Message.getBooleanFieldWithDefault(this,9,!1)},proto.ord.ReactionConditions.prototype.setConditionsAreDynamic=function(e){return r.Message.setField(this,9,e)},proto.ord.ReactionConditions.prototype.clearConditionsAreDynamic=function(){return r.Message.setField(this,9,void 0)},proto.ord.ReactionConditions.prototype.hasConditionsAreDynamic=function(){return null!=r.Message.getField(this,9)},proto.ord.ReactionConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.ord.ReactionConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,10,e)},proto.ord.TemperatureConditions.repeatedFields_=[3],r.Message.GENERATE_TO_OBJECT&&(proto.ord.TemperatureConditions.prototype.toObject=function(e){return proto.ord.TemperatureConditions.toObject(e,this)},proto.ord.TemperatureConditions.toObject=function(e,t){var o,n={control:(o=t.getControl())&&proto.ord.TemperatureConditions.TemperatureControl.toObject(e,o),setpoint:(o=t.getSetpoint())&&proto.ord.Temperature.toObject(e,o),measurementsList:r.Message.toObjectList(t.getMeasurementsList(),proto.ord.TemperatureConditions.TemperatureMeasurement.toObject,e)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.TemperatureConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.TemperatureConditions;return proto.ord.TemperatureConditions.deserializeBinaryFromReader(o,t)},proto.ord.TemperatureConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.TemperatureConditions.TemperatureControl;t.readMessage(o,proto.ord.TemperatureConditions.TemperatureControl.deserializeBinaryFromReader),e.setControl(o);break;case 2:o=new proto.ord.Temperature,t.readMessage(o,proto.ord.Temperature.deserializeBinaryFromReader),e.setSetpoint(o);break;case 3:o=new proto.ord.TemperatureConditions.TemperatureMeasurement,t.readMessage(o,proto.ord.TemperatureConditions.TemperatureMeasurement.deserializeBinaryFromReader),e.addMeasurements(o);break;default:t.skipField()}return e},proto.ord.TemperatureConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.TemperatureConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.TemperatureConditions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getControl())&&t.writeMessage(1,o,proto.ord.TemperatureConditions.TemperatureControl.serializeBinaryToWriter),null!=(o=e.getSetpoint())&&t.writeMessage(2,o,proto.ord.Temperature.serializeBinaryToWriter),(o=e.getMeasurementsList()).length>0&&t.writeRepeatedMessage(3,o,proto.ord.TemperatureConditions.TemperatureMeasurement.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.TemperatureConditions.TemperatureControl.prototype.toObject=function(e){return proto.ord.TemperatureConditions.TemperatureControl.toObject(e,this)},proto.ord.TemperatureConditions.TemperatureControl.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.TemperatureConditions.TemperatureControl.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.TemperatureConditions.TemperatureControl;return proto.ord.TemperatureConditions.TemperatureControl.deserializeBinaryFromReader(o,t)},proto.ord.TemperatureConditions.TemperatureControl.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.TemperatureConditions.TemperatureControl.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.TemperatureConditions.TemperatureControl.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.TemperatureConditions.TemperatureControl.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.TemperatureConditions.TemperatureControl.TemperatureControlType={UNSPECIFIED:0,CUSTOM:1,AMBIENT:2,OIL_BATH:3,WATER_BATH:4,SAND_BATH:5,ICE_BATH:6,DRY_ALUMINUM_PLATE:7,MICROWAVE:8,DRY_ICE_BATH:9,AIR_FAN:10,LIQUID_NITROGEN:11},proto.ord.TemperatureConditions.TemperatureControl.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.TemperatureConditions.TemperatureControl.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.TemperatureConditions.TemperatureControl.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.TemperatureConditions.TemperatureControl.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.toObject=function(e){return proto.ord.TemperatureConditions.TemperatureMeasurement.toObject(e,this)},proto.ord.TemperatureConditions.TemperatureMeasurement.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),time:(o=t.getTime())&&proto.ord.Time.toObject(e,o),temperature:(o=t.getTemperature())&&proto.ord.Temperature.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.TemperatureConditions.TemperatureMeasurement.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.TemperatureConditions.TemperatureMeasurement;return proto.ord.TemperatureConditions.TemperatureMeasurement.deserializeBinaryFromReader(o,t)},proto.ord.TemperatureConditions.TemperatureMeasurement.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setTime(o);break;case 4:o=new proto.ord.Temperature,t.readMessage(o,proto.ord.Temperature.deserializeBinaryFromReader),e.setTemperature(o);break;default:t.skipField()}return e},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.TemperatureConditions.TemperatureMeasurement.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.TemperatureConditions.TemperatureMeasurement.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getTime())&&t.writeMessage(3,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getTemperature())&&t.writeMessage(4,o,proto.ord.Temperature.serializeBinaryToWriter)},proto.ord.TemperatureConditions.TemperatureMeasurement.TemperatureMeasurementType={UNSPECIFIED:0,CUSTOM:1,THERMOCOUPLE_INTERNAL:2,THERMOCOUPLE_EXTERNAL:3,INFRARED:4},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,3)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.setTime=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.hasTime=function(){return null!=r.Message.getField(this,3)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.getTemperature=function(){return r.Message.getWrapperField(this,proto.ord.Temperature,4)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.setTemperature=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.clearTemperature=function(){return this.setTemperature(void 0)},proto.ord.TemperatureConditions.TemperatureMeasurement.prototype.hasTemperature=function(){return null!=r.Message.getField(this,4)},proto.ord.TemperatureConditions.prototype.getControl=function(){return r.Message.getWrapperField(this,proto.ord.TemperatureConditions.TemperatureControl,1)},proto.ord.TemperatureConditions.prototype.setControl=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.TemperatureConditions.prototype.clearControl=function(){return this.setControl(void 0)},proto.ord.TemperatureConditions.prototype.hasControl=function(){return null!=r.Message.getField(this,1)},proto.ord.TemperatureConditions.prototype.getSetpoint=function(){return r.Message.getWrapperField(this,proto.ord.Temperature,2)},proto.ord.TemperatureConditions.prototype.setSetpoint=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.TemperatureConditions.prototype.clearSetpoint=function(){return this.setSetpoint(void 0)},proto.ord.TemperatureConditions.prototype.hasSetpoint=function(){return null!=r.Message.getField(this,2)},proto.ord.TemperatureConditions.prototype.getMeasurementsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.TemperatureConditions.TemperatureMeasurement,3)},proto.ord.TemperatureConditions.prototype.setMeasurementsList=function(e){return r.Message.setRepeatedWrapperField(this,3,e)},proto.ord.TemperatureConditions.prototype.addMeasurements=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.ord.TemperatureConditions.TemperatureMeasurement,t)},proto.ord.TemperatureConditions.prototype.clearMeasurementsList=function(){return this.setMeasurementsList([])},proto.ord.PressureConditions.repeatedFields_=[4],r.Message.GENERATE_TO_OBJECT&&(proto.ord.PressureConditions.prototype.toObject=function(e){return proto.ord.PressureConditions.toObject(e,this)},proto.ord.PressureConditions.toObject=function(e,t){var o,n={control:(o=t.getControl())&&proto.ord.PressureConditions.PressureControl.toObject(e,o),setpoint:(o=t.getSetpoint())&&proto.ord.Pressure.toObject(e,o),atmosphere:(o=t.getAtmosphere())&&proto.ord.PressureConditions.Atmosphere.toObject(e,o),measurementsList:r.Message.toObjectList(t.getMeasurementsList(),proto.ord.PressureConditions.PressureMeasurement.toObject,e)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.PressureConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.PressureConditions;return proto.ord.PressureConditions.deserializeBinaryFromReader(o,t)},proto.ord.PressureConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.PressureConditions.PressureControl;t.readMessage(o,proto.ord.PressureConditions.PressureControl.deserializeBinaryFromReader),e.setControl(o);break;case 2:o=new proto.ord.Pressure,t.readMessage(o,proto.ord.Pressure.deserializeBinaryFromReader),e.setSetpoint(o);break;case 3:o=new proto.ord.PressureConditions.Atmosphere,t.readMessage(o,proto.ord.PressureConditions.Atmosphere.deserializeBinaryFromReader),e.setAtmosphere(o);break;case 4:o=new proto.ord.PressureConditions.PressureMeasurement,t.readMessage(o,proto.ord.PressureConditions.PressureMeasurement.deserializeBinaryFromReader),e.addMeasurements(o);break;default:t.skipField()}return e},proto.ord.PressureConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.PressureConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.PressureConditions.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getControl())&&t.writeMessage(1,o,proto.ord.PressureConditions.PressureControl.serializeBinaryToWriter),null!=(o=e.getSetpoint())&&t.writeMessage(2,o,proto.ord.Pressure.serializeBinaryToWriter),null!=(o=e.getAtmosphere())&&t.writeMessage(3,o,proto.ord.PressureConditions.Atmosphere.serializeBinaryToWriter),(o=e.getMeasurementsList()).length>0&&t.writeRepeatedMessage(4,o,proto.ord.PressureConditions.PressureMeasurement.serializeBinaryToWriter)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.PressureConditions.PressureControl.prototype.toObject=function(e){return proto.ord.PressureConditions.PressureControl.toObject(e,this)},proto.ord.PressureConditions.PressureControl.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.PressureConditions.PressureControl.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.PressureConditions.PressureControl;return proto.ord.PressureConditions.PressureControl.deserializeBinaryFromReader(o,t)},proto.ord.PressureConditions.PressureControl.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.PressureConditions.PressureControl.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.PressureConditions.PressureControl.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.PressureConditions.PressureControl.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.PressureConditions.PressureControl.PressureControlType={UNSPECIFIED:0,CUSTOM:1,AMBIENT:2,SLIGHT_POSITIVE:3,SEALED:4,PRESSURIZED:5},proto.ord.PressureConditions.PressureControl.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.PressureConditions.PressureControl.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.PressureConditions.PressureControl.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.PressureConditions.PressureControl.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.PressureConditions.Atmosphere.prototype.toObject=function(e){return proto.ord.PressureConditions.Atmosphere.toObject(e,this)},proto.ord.PressureConditions.Atmosphere.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.PressureConditions.Atmosphere.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.PressureConditions.Atmosphere;return proto.ord.PressureConditions.Atmosphere.deserializeBinaryFromReader(o,t)},proto.ord.PressureConditions.Atmosphere.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.PressureConditions.Atmosphere.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.PressureConditions.Atmosphere.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.PressureConditions.Atmosphere.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.PressureConditions.Atmosphere.AtmosphereType={UNSPECIFIED:0,CUSTOM:1,AIR:2,NITROGEN:3,ARGON:4,OXYGEN:5,HYDROGEN:6,CARBON_MONOXIDE:7,CARBON_DIOXIDE:8,METHANE:9,AMMONIA:10,OZONE:11,ETHYLENE:12,ACETYLENE:13},proto.ord.PressureConditions.Atmosphere.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.PressureConditions.Atmosphere.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.PressureConditions.Atmosphere.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.PressureConditions.Atmosphere.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.PressureConditions.PressureMeasurement.prototype.toObject=function(e){return proto.ord.PressureConditions.PressureMeasurement.toObject(e,this)},proto.ord.PressureConditions.PressureMeasurement.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),time:(o=t.getTime())&&proto.ord.Time.toObject(e,o),pressure:(o=t.getPressure())&&proto.ord.Pressure.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.PressureConditions.PressureMeasurement.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.PressureConditions.PressureMeasurement;return proto.ord.PressureConditions.PressureMeasurement.deserializeBinaryFromReader(o,t)},proto.ord.PressureConditions.PressureMeasurement.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setTime(o);break;case 4:o=new proto.ord.Pressure,t.readMessage(o,proto.ord.Pressure.deserializeBinaryFromReader),e.setPressure(o);break;default:t.skipField()}return e},proto.ord.PressureConditions.PressureMeasurement.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.PressureConditions.PressureMeasurement.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.PressureConditions.PressureMeasurement.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getTime())&&t.writeMessage(3,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getPressure())&&t.writeMessage(4,o,proto.ord.Pressure.serializeBinaryToWriter)},proto.ord.PressureConditions.PressureMeasurement.PressureMeasurementType={UNSPECIFIED:0,CUSTOM:1,PRESSURE_TRANSDUCER:2},proto.ord.PressureConditions.PressureMeasurement.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.PressureConditions.PressureMeasurement.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.PressureConditions.PressureMeasurement.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.PressureConditions.PressureMeasurement.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.PressureConditions.PressureMeasurement.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,3)},proto.ord.PressureConditions.PressureMeasurement.prototype.setTime=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.PressureConditions.PressureMeasurement.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.PressureConditions.PressureMeasurement.prototype.hasTime=function(){return null!=r.Message.getField(this,3)},proto.ord.PressureConditions.PressureMeasurement.prototype.getPressure=function(){return r.Message.getWrapperField(this,proto.ord.Pressure,4)},proto.ord.PressureConditions.PressureMeasurement.prototype.setPressure=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.PressureConditions.PressureMeasurement.prototype.clearPressure=function(){return this.setPressure(void 0)},proto.ord.PressureConditions.PressureMeasurement.prototype.hasPressure=function(){return null!=r.Message.getField(this,4)};proto.ord.PressureConditions.prototype.getControl=function(){return r.Message.getWrapperField(this,proto.ord.PressureConditions.PressureControl,1)},proto.ord.PressureConditions.prototype.setControl=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.PressureConditions.prototype.clearControl=function(){return this.setControl(void 0)},proto.ord.PressureConditions.prototype.hasControl=function(){return null!=r.Message.getField(this,1)},proto.ord.PressureConditions.prototype.getSetpoint=function(){return r.Message.getWrapperField(this,proto.ord.Pressure,2)},proto.ord.PressureConditions.prototype.setSetpoint=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.PressureConditions.prototype.clearSetpoint=function(){return this.setSetpoint(void 0)},proto.ord.PressureConditions.prototype.hasSetpoint=function(){return null!=r.Message.getField(this,2)},proto.ord.PressureConditions.prototype.getAtmosphere=function(){return r.Message.getWrapperField(this,proto.ord.PressureConditions.Atmosphere,3)},proto.ord.PressureConditions.prototype.setAtmosphere=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.PressureConditions.prototype.clearAtmosphere=function(){return this.setAtmosphere(void 0)},proto.ord.PressureConditions.prototype.hasAtmosphere=function(){return null!=r.Message.getField(this,3)},proto.ord.PressureConditions.prototype.getMeasurementsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.PressureConditions.PressureMeasurement,4)},proto.ord.PressureConditions.prototype.setMeasurementsList=function(e){return r.Message.setRepeatedWrapperField(this,4,e)},proto.ord.PressureConditions.prototype.addMeasurements=function(e,t){return r.Message.addToRepeatedWrapperField(this,4,e,proto.ord.PressureConditions.PressureMeasurement,t)},proto.ord.PressureConditions.prototype.clearMeasurementsList=function(){return this.setMeasurementsList([])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.StirringConditions.prototype.toObject=function(e){return proto.ord.StirringConditions.toObject(e,this)},proto.ord.StirringConditions.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),rate:(o=t.getRate())&&proto.ord.StirringConditions.StirringRate.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.StirringConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.StirringConditions;return proto.ord.StirringConditions.deserializeBinaryFromReader(o,t)},proto.ord.StirringConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.StirringConditions.StirringRate,t.readMessage(o,proto.ord.StirringConditions.StirringRate.deserializeBinaryFromReader),e.setRate(o);break;default:t.skipField()}return e},proto.ord.StirringConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.StirringConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.StirringConditions.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getRate())&&t.writeMessage(3,o,proto.ord.StirringConditions.StirringRate.serializeBinaryToWriter)},proto.ord.StirringConditions.StirringMethodType={UNSPECIFIED:0,CUSTOM:1,NONE:2,STIR_BAR:3,OVERHEAD_MIXER:4,AGITATION:5,BALL_MILLING:6,SONICATION:7},r.Message.GENERATE_TO_OBJECT&&(proto.ord.StirringConditions.StirringRate.prototype.toObject=function(e){return proto.ord.StirringConditions.StirringRate.toObject(e,this)},proto.ord.StirringConditions.StirringRate.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),rpm:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.StirringConditions.StirringRate.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.StirringConditions.StirringRate;return proto.ord.StirringConditions.StirringRate.deserializeBinaryFromReader(o,t)},proto.ord.StirringConditions.StirringRate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readInt32(),e.setRpm(o);break;default:t.skipField()}return e},proto.ord.StirringConditions.StirringRate.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.StirringConditions.StirringRate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.StirringConditions.StirringRate.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),0!==(o=e.getRpm())&&t.writeInt32(3,o)},proto.ord.StirringConditions.StirringRate.StirringRateType={UNSPECIFIED:0,HIGH:1,MEDIUM:2,LOW:3},proto.ord.StirringConditions.StirringRate.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.StirringConditions.StirringRate.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.StirringConditions.StirringRate.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.StirringConditions.StirringRate.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.StirringConditions.StirringRate.prototype.getRpm=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.StirringConditions.StirringRate.prototype.setRpm=function(e){return r.Message.setProto3IntField(this,3,e)},proto.ord.StirringConditions.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.StirringConditions.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.StirringConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.StirringConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.StirringConditions.prototype.getRate=function(){return r.Message.getWrapperField(this,proto.ord.StirringConditions.StirringRate,3)},proto.ord.StirringConditions.prototype.setRate=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.StirringConditions.prototype.clearRate=function(){return this.setRate(void 0)},proto.ord.StirringConditions.prototype.hasRate=function(){return null!=r.Message.getField(this,3)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.IlluminationConditions.prototype.toObject=function(e){return proto.ord.IlluminationConditions.toObject(e,this)},proto.ord.IlluminationConditions.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),peakWavelength:(o=t.getPeakWavelength())&&proto.ord.Wavelength.toObject(e,o),color:r.Message.getFieldWithDefault(t,4,""),distanceToVessel:(o=t.getDistanceToVessel())&&proto.ord.Length.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.IlluminationConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.IlluminationConditions;return proto.ord.IlluminationConditions.deserializeBinaryFromReader(o,t)},proto.ord.IlluminationConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Wavelength,t.readMessage(o,proto.ord.Wavelength.deserializeBinaryFromReader),e.setPeakWavelength(o);break;case 4:o=t.readString(),e.setColor(o);break;case 5:o=new proto.ord.Length,t.readMessage(o,proto.ord.Length.deserializeBinaryFromReader),e.setDistanceToVessel(o);break;default:t.skipField()}return e},proto.ord.IlluminationConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.IlluminationConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.IlluminationConditions.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getPeakWavelength())&&t.writeMessage(3,o,proto.ord.Wavelength.serializeBinaryToWriter),(o=e.getColor()).length>0&&t.writeString(4,o),null!=(o=e.getDistanceToVessel())&&t.writeMessage(5,o,proto.ord.Length.serializeBinaryToWriter)},proto.ord.IlluminationConditions.IlluminationType={UNSPECIFIED:0,CUSTOM:1,AMBIENT:2,DARK:3,LED:4,HALOGEN_LAMP:5,DEUTERIUM_LAMP:6,SOLAR_SIMULATOR:7,BROAD_SPECTRUM:8},proto.ord.IlluminationConditions.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.IlluminationConditions.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.IlluminationConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.IlluminationConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.IlluminationConditions.prototype.getPeakWavelength=function(){return r.Message.getWrapperField(this,proto.ord.Wavelength,3)},proto.ord.IlluminationConditions.prototype.setPeakWavelength=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.IlluminationConditions.prototype.clearPeakWavelength=function(){return this.setPeakWavelength(void 0)},proto.ord.IlluminationConditions.prototype.hasPeakWavelength=function(){return null!=r.Message.getField(this,3)},proto.ord.IlluminationConditions.prototype.getColor=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.IlluminationConditions.prototype.setColor=function(e){return r.Message.setProto3StringField(this,4,e)},proto.ord.IlluminationConditions.prototype.getDistanceToVessel=function(){return r.Message.getWrapperField(this,proto.ord.Length,5)},proto.ord.IlluminationConditions.prototype.setDistanceToVessel=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.IlluminationConditions.prototype.clearDistanceToVessel=function(){return this.setDistanceToVessel(void 0)},proto.ord.IlluminationConditions.prototype.hasDistanceToVessel=function(){return null!=r.Message.getField(this,5)},proto.ord.ElectrochemistryConditions.repeatedFields_=[8],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ElectrochemistryConditions.prototype.toObject=function(e){return proto.ord.ElectrochemistryConditions.toObject(e,this)},proto.ord.ElectrochemistryConditions.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),current:(o=t.getCurrent())&&proto.ord.Current.toObject(e,o),voltage:(o=t.getVoltage())&&proto.ord.Voltage.toObject(e,o),anodeMaterial:r.Message.getFieldWithDefault(t,5,""),cathodeMaterial:r.Message.getFieldWithDefault(t,6,""),electrodeSeparation:(o=t.getElectrodeSeparation())&&proto.ord.Length.toObject(e,o),measurementsList:r.Message.toObjectList(t.getMeasurementsList(),proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.toObject,e),cell:(o=t.getCell())&&proto.ord.ElectrochemistryConditions.ElectrochemistryCell.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ElectrochemistryConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ElectrochemistryConditions;return proto.ord.ElectrochemistryConditions.deserializeBinaryFromReader(o,t)},proto.ord.ElectrochemistryConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Current,t.readMessage(o,proto.ord.Current.deserializeBinaryFromReader),e.setCurrent(o);break;case 4:o=new proto.ord.Voltage,t.readMessage(o,proto.ord.Voltage.deserializeBinaryFromReader),e.setVoltage(o);break;case 5:o=t.readString(),e.setAnodeMaterial(o);break;case 6:o=t.readString(),e.setCathodeMaterial(o);break;case 7:o=new proto.ord.Length,t.readMessage(o,proto.ord.Length.deserializeBinaryFromReader),e.setElectrodeSeparation(o);break;case 8:o=new proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement,t.readMessage(o,proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.deserializeBinaryFromReader),e.addMeasurements(o);break;case 9:o=new proto.ord.ElectrochemistryConditions.ElectrochemistryCell,t.readMessage(o,proto.ord.ElectrochemistryConditions.ElectrochemistryCell.deserializeBinaryFromReader),e.setCell(o);break;default:t.skipField()}return e},proto.ord.ElectrochemistryConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ElectrochemistryConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ElectrochemistryConditions.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getCurrent())&&t.writeMessage(3,o,proto.ord.Current.serializeBinaryToWriter),null!=(o=e.getVoltage())&&t.writeMessage(4,o,proto.ord.Voltage.serializeBinaryToWriter),(o=e.getAnodeMaterial()).length>0&&t.writeString(5,o),(o=e.getCathodeMaterial()).length>0&&t.writeString(6,o),null!=(o=e.getElectrodeSeparation())&&t.writeMessage(7,o,proto.ord.Length.serializeBinaryToWriter),(o=e.getMeasurementsList()).length>0&&t.writeRepeatedMessage(8,o,proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.serializeBinaryToWriter),null!=(o=e.getCell())&&t.writeMessage(9,o,proto.ord.ElectrochemistryConditions.ElectrochemistryCell.serializeBinaryToWriter)},proto.ord.ElectrochemistryConditions.ElectrochemistryType={UNSPECIFIED:0,CUSTOM:1,CONSTANT_CURRENT:2,CONSTANT_VOLTAGE:3},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.toObject=function(e){return proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.toObject(e,this)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.toObject=function(e,t){var o,r={time:(o=t.getTime())&&proto.ord.Time.toObject(e,o),current:(o=t.getCurrent())&&proto.ord.Current.toObject(e,o),voltage:(o=t.getVoltage())&&proto.ord.Voltage.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement;return proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.deserializeBinaryFromReader(o,t)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Time;t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setTime(o);break;case 2:o=new proto.ord.Current,t.readMessage(o,proto.ord.Current.deserializeBinaryFromReader),e.setCurrent(o);break;case 3:o=new proto.ord.Voltage,t.readMessage(o,proto.ord.Voltage.deserializeBinaryFromReader),e.setVoltage(o);break;default:t.skipField()}return e},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getTime())&&t.writeMessage(1,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getCurrent())&&t.writeMessage(2,o,proto.ord.Current.serializeBinaryToWriter),null!=(o=e.getVoltage())&&t.writeMessage(3,o,proto.ord.Voltage.serializeBinaryToWriter)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,1)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.setTime=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.hasTime=function(){return null!=r.Message.getField(this,1)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.getCurrent=function(){return r.Message.getWrapperField(this,proto.ord.Current,2)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.setCurrent=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.clearCurrent=function(){return this.setCurrent(void 0)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.hasCurrent=function(){return null!=r.Message.getField(this,2)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.getVoltage=function(){return r.Message.getWrapperField(this,proto.ord.Voltage,3)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.setVoltage=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.clearVoltage=function(){return this.setVoltage(void 0)},proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement.prototype.hasVoltage=function(){return null!=r.Message.getField(this,3)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.toObject=function(e){return proto.ord.ElectrochemistryConditions.ElectrochemistryCell.toObject(e,this)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ElectrochemistryConditions.ElectrochemistryCell.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ElectrochemistryConditions.ElectrochemistryCell;return proto.ord.ElectrochemistryConditions.ElectrochemistryCell.deserializeBinaryFromReader(o,t)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ElectrochemistryConditions.ElectrochemistryCell.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.ElectrochemistryCellType={UNSPECIFIED:0,CUSTOM:1,DIVIDED_CELL:2,UNDIVIDED_CELL:3},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ElectrochemistryConditions.ElectrochemistryCell.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ElectrochemistryConditions.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ElectrochemistryConditions.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ElectrochemistryConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ElectrochemistryConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ElectrochemistryConditions.prototype.getCurrent=function(){return r.Message.getWrapperField(this,proto.ord.Current,3)},proto.ord.ElectrochemistryConditions.prototype.setCurrent=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ElectrochemistryConditions.prototype.clearCurrent=function(){return this.setCurrent(void 0)},proto.ord.ElectrochemistryConditions.prototype.hasCurrent=function(){return null!=r.Message.getField(this,3)},proto.ord.ElectrochemistryConditions.prototype.getVoltage=function(){return r.Message.getWrapperField(this,proto.ord.Voltage,4)},proto.ord.ElectrochemistryConditions.prototype.setVoltage=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.ElectrochemistryConditions.prototype.clearVoltage=function(){return this.setVoltage(void 0)},proto.ord.ElectrochemistryConditions.prototype.hasVoltage=function(){return null!=r.Message.getField(this,4)},proto.ord.ElectrochemistryConditions.prototype.getAnodeMaterial=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.ElectrochemistryConditions.prototype.setAnodeMaterial=function(e){return r.Message.setProto3StringField(this,5,e)},proto.ord.ElectrochemistryConditions.prototype.getCathodeMaterial=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.ord.ElectrochemistryConditions.prototype.setCathodeMaterial=function(e){return r.Message.setProto3StringField(this,6,e)},proto.ord.ElectrochemistryConditions.prototype.getElectrodeSeparation=function(){return r.Message.getWrapperField(this,proto.ord.Length,7)},proto.ord.ElectrochemistryConditions.prototype.setElectrodeSeparation=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.ElectrochemistryConditions.prototype.clearElectrodeSeparation=function(){return this.setElectrodeSeparation(void 0)},proto.ord.ElectrochemistryConditions.prototype.hasElectrodeSeparation=function(){return null!=r.Message.getField(this,7)},proto.ord.ElectrochemistryConditions.prototype.getMeasurementsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement,8)},proto.ord.ElectrochemistryConditions.prototype.setMeasurementsList=function(e){return r.Message.setRepeatedWrapperField(this,8,e)},proto.ord.ElectrochemistryConditions.prototype.addMeasurements=function(e,t){return r.Message.addToRepeatedWrapperField(this,8,e,proto.ord.ElectrochemistryConditions.ElectrochemistryMeasurement,t)},proto.ord.ElectrochemistryConditions.prototype.clearMeasurementsList=function(){return this.setMeasurementsList([])},proto.ord.ElectrochemistryConditions.prototype.getCell=function(){return r.Message.getWrapperField(this,proto.ord.ElectrochemistryConditions.ElectrochemistryCell,9)},proto.ord.ElectrochemistryConditions.prototype.setCell=function(e){return r.Message.setWrapperField(this,9,e)},proto.ord.ElectrochemistryConditions.prototype.clearCell=function(){return this.setCell(void 0)},proto.ord.ElectrochemistryConditions.prototype.hasCell=function(){return null!=r.Message.getField(this,9)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.FlowConditions.prototype.toObject=function(e){return proto.ord.FlowConditions.toObject(e,this)},proto.ord.FlowConditions.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),pumpType:r.Message.getFieldWithDefault(t,3,""),tubing:(o=t.getTubing())&&proto.ord.FlowConditions.Tubing.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.FlowConditions.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.FlowConditions;return proto.ord.FlowConditions.deserializeBinaryFromReader(o,t)},proto.ord.FlowConditions.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readString(),e.setPumpType(o);break;case 4:o=new proto.ord.FlowConditions.Tubing,t.readMessage(o,proto.ord.FlowConditions.Tubing.deserializeBinaryFromReader),e.setTubing(o);break;default:t.skipField()}return e},proto.ord.FlowConditions.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.FlowConditions.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.FlowConditions.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),(o=e.getPumpType()).length>0&&t.writeString(3,o),null!=(o=e.getTubing())&&t.writeMessage(4,o,proto.ord.FlowConditions.Tubing.serializeBinaryToWriter)},proto.ord.FlowConditions.FlowType={UNSPECIFIED:0,CUSTOM:1,PLUG_FLOW_REACTOR:2,CONTINUOUS_STIRRED_TANK_REACTOR:3,PACKED_BED_REACTOR:4},r.Message.GENERATE_TO_OBJECT&&(proto.ord.FlowConditions.Tubing.prototype.toObject=function(e){return proto.ord.FlowConditions.Tubing.toObject(e,this)},proto.ord.FlowConditions.Tubing.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),diameter:(o=t.getDiameter())&&proto.ord.Length.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.FlowConditions.Tubing.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.FlowConditions.Tubing;return proto.ord.FlowConditions.Tubing.deserializeBinaryFromReader(o,t)},proto.ord.FlowConditions.Tubing.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Length,t.readMessage(o,proto.ord.Length.deserializeBinaryFromReader),e.setDiameter(o);break;default:t.skipField()}return e},proto.ord.FlowConditions.Tubing.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.FlowConditions.Tubing.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.FlowConditions.Tubing.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getDiameter())&&t.writeMessage(3,o,proto.ord.Length.serializeBinaryToWriter)},proto.ord.FlowConditions.Tubing.TubingType={UNSPECIFIED:0,CUSTOM:1,STEEL:2,COPPER:3,PFA:4,FEP:5,TEFLONAF:6,PTFE:7,GLASS:8,QUARTZ:9,SILICON:10,PDMS:11},proto.ord.FlowConditions.Tubing.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.FlowConditions.Tubing.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.FlowConditions.Tubing.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.FlowConditions.Tubing.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.FlowConditions.Tubing.prototype.getDiameter=function(){return r.Message.getWrapperField(this,proto.ord.Length,3)},proto.ord.FlowConditions.Tubing.prototype.setDiameter=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.FlowConditions.Tubing.prototype.clearDiameter=function(){return this.setDiameter(void 0)},proto.ord.FlowConditions.Tubing.prototype.hasDiameter=function(){return null!=r.Message.getField(this,3)},proto.ord.FlowConditions.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.FlowConditions.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.FlowConditions.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.FlowConditions.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.FlowConditions.prototype.getPumpType=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.FlowConditions.prototype.setPumpType=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.FlowConditions.prototype.getTubing=function(){return r.Message.getWrapperField(this,proto.ord.FlowConditions.Tubing,4)},proto.ord.FlowConditions.prototype.setTubing=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.FlowConditions.prototype.clearTubing=function(){return this.setTubing(void 0)},proto.ord.FlowConditions.prototype.hasTubing=function(){return null!=r.Message.getField(this,4)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionNotes.prototype.toObject=function(e){return proto.ord.ReactionNotes.toObject(e,this)},proto.ord.ReactionNotes.toObject=function(e,t){var o={isHeterogeneous:r.Message.getBooleanFieldWithDefault(t,1,!1),formsPrecipitate:r.Message.getBooleanFieldWithDefault(t,2,!1),isExothermic:r.Message.getBooleanFieldWithDefault(t,3,!1),offgasses:r.Message.getBooleanFieldWithDefault(t,4,!1),isSensitiveToMoisture:r.Message.getBooleanFieldWithDefault(t,5,!1),isSensitiveToOxygen:r.Message.getBooleanFieldWithDefault(t,6,!1),isSensitiveToLight:r.Message.getBooleanFieldWithDefault(t,7,!1),safetyNotes:r.Message.getFieldWithDefault(t,8,""),procedureDetails:r.Message.getFieldWithDefault(t,9,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ReactionNotes.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionNotes;return proto.ord.ReactionNotes.deserializeBinaryFromReader(o,t)},proto.ord.ReactionNotes.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readBool();e.setIsHeterogeneous(o);break;case 2:o=t.readBool(),e.setFormsPrecipitate(o);break;case 3:o=t.readBool(),e.setIsExothermic(o);break;case 4:o=t.readBool(),e.setOffgasses(o);break;case 5:o=t.readBool(),e.setIsSensitiveToMoisture(o);break;case 6:o=t.readBool(),e.setIsSensitiveToOxygen(o);break;case 7:o=t.readBool(),e.setIsSensitiveToLight(o);break;case 8:o=t.readString(),e.setSafetyNotes(o);break;case 9:o=t.readString(),e.setProcedureDetails(o);break;default:t.skipField()}return e},proto.ord.ReactionNotes.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionNotes.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionNotes.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeBool(1,o),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),null!=(o=r.Message.getField(e,3))&&t.writeBool(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o),null!=(o=r.Message.getField(e,5))&&t.writeBool(5,o),null!=(o=r.Message.getField(e,6))&&t.writeBool(6,o),null!=(o=r.Message.getField(e,7))&&t.writeBool(7,o),(o=e.getSafetyNotes()).length>0&&t.writeString(8,o),(o=e.getProcedureDetails()).length>0&&t.writeString(9,o)},proto.ord.ReactionNotes.prototype.getIsHeterogeneous=function(){return r.Message.getBooleanFieldWithDefault(this,1,!1)},proto.ord.ReactionNotes.prototype.setIsHeterogeneous=function(e){return r.Message.setField(this,1,e)},proto.ord.ReactionNotes.prototype.clearIsHeterogeneous=function(){return r.Message.setField(this,1,void 0)},proto.ord.ReactionNotes.prototype.hasIsHeterogeneous=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionNotes.prototype.getFormsPrecipitate=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.ord.ReactionNotes.prototype.setFormsPrecipitate=function(e){return r.Message.setField(this,2,e)},proto.ord.ReactionNotes.prototype.clearFormsPrecipitate=function(){return r.Message.setField(this,2,void 0)},proto.ord.ReactionNotes.prototype.hasFormsPrecipitate=function(){return null!=r.Message.getField(this,2)},proto.ord.ReactionNotes.prototype.getIsExothermic=function(){return r.Message.getBooleanFieldWithDefault(this,3,!1)},proto.ord.ReactionNotes.prototype.setIsExothermic=function(e){return r.Message.setField(this,3,e)},proto.ord.ReactionNotes.prototype.clearIsExothermic=function(){return r.Message.setField(this,3,void 0)},proto.ord.ReactionNotes.prototype.hasIsExothermic=function(){return null!=r.Message.getField(this,3)},proto.ord.ReactionNotes.prototype.getOffgasses=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.ReactionNotes.prototype.setOffgasses=function(e){return r.Message.setField(this,4,e)},proto.ord.ReactionNotes.prototype.clearOffgasses=function(){return r.Message.setField(this,4,void 0)},proto.ord.ReactionNotes.prototype.hasOffgasses=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionNotes.prototype.getIsSensitiveToMoisture=function(){return r.Message.getBooleanFieldWithDefault(this,5,!1)},proto.ord.ReactionNotes.prototype.setIsSensitiveToMoisture=function(e){return r.Message.setField(this,5,e)},proto.ord.ReactionNotes.prototype.clearIsSensitiveToMoisture=function(){return r.Message.setField(this,5,void 0)},proto.ord.ReactionNotes.prototype.hasIsSensitiveToMoisture=function(){return null!=r.Message.getField(this,5)},proto.ord.ReactionNotes.prototype.getIsSensitiveToOxygen=function(){return r.Message.getBooleanFieldWithDefault(this,6,!1)},proto.ord.ReactionNotes.prototype.setIsSensitiveToOxygen=function(e){return r.Message.setField(this,6,e)},proto.ord.ReactionNotes.prototype.clearIsSensitiveToOxygen=function(){return r.Message.setField(this,6,void 0)},proto.ord.ReactionNotes.prototype.hasIsSensitiveToOxygen=function(){return null!=r.Message.getField(this,6)},proto.ord.ReactionNotes.prototype.getIsSensitiveToLight=function(){return r.Message.getBooleanFieldWithDefault(this,7,!1)},proto.ord.ReactionNotes.prototype.setIsSensitiveToLight=function(e){return r.Message.setField(this,7,e)},proto.ord.ReactionNotes.prototype.clearIsSensitiveToLight=function(){return r.Message.setField(this,7,void 0)},proto.ord.ReactionNotes.prototype.hasIsSensitiveToLight=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionNotes.prototype.getSafetyNotes=function(){return r.Message.getFieldWithDefault(this,8,"")},proto.ord.ReactionNotes.prototype.setSafetyNotes=function(e){return r.Message.setProto3StringField(this,8,e)},proto.ord.ReactionNotes.prototype.getProcedureDetails=function(){return r.Message.getFieldWithDefault(this,9,"")},proto.ord.ReactionNotes.prototype.setProcedureDetails=function(e){return r.Message.setProto3StringField(this,9,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionObservation.prototype.toObject=function(e){return proto.ord.ReactionObservation.toObject(e,this)},proto.ord.ReactionObservation.toObject=function(e,t){var o,n={time:(o=t.getTime())&&proto.ord.Time.toObject(e,o),comment:r.Message.getFieldWithDefault(t,2,""),image:(o=t.getImage())&&proto.ord.Data.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionObservation.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionObservation;return proto.ord.ReactionObservation.deserializeBinaryFromReader(o,t)},proto.ord.ReactionObservation.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Time;t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setTime(o);break;case 2:o=t.readString(),e.setComment(o);break;case 3:o=new proto.ord.Data,t.readMessage(o,proto.ord.Data.deserializeBinaryFromReader),e.setImage(o);break;default:t.skipField()}return e},proto.ord.ReactionObservation.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionObservation.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionObservation.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getTime())&&t.writeMessage(1,o,proto.ord.Time.serializeBinaryToWriter),(o=e.getComment()).length>0&&t.writeString(2,o),null!=(o=e.getImage())&&t.writeMessage(3,o,proto.ord.Data.serializeBinaryToWriter)},proto.ord.ReactionObservation.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,1)},proto.ord.ReactionObservation.prototype.setTime=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionObservation.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.ReactionObservation.prototype.hasTime=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionObservation.prototype.getComment=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionObservation.prototype.setComment=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionObservation.prototype.getImage=function(){return r.Message.getWrapperField(this,proto.ord.Data,3)},proto.ord.ReactionObservation.prototype.setImage=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ReactionObservation.prototype.clearImage=function(){return this.setImage(void 0)},proto.ord.ReactionObservation.prototype.hasImage=function(){return null!=r.Message.getField(this,3)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionWorkup.prototype.toObject=function(e){return proto.ord.ReactionWorkup.toObject(e,this)},proto.ord.ReactionWorkup.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),duration:(o=t.getDuration())&&proto.ord.Time.toObject(e,o),input:(o=t.getInput())&&proto.ord.ReactionInput.toObject(e,o),amount:(o=t.getAmount())&&proto.ord.Amount.toObject(e,o),temperature:(o=t.getTemperature())&&proto.ord.TemperatureConditions.toObject(e,o),keepPhase:r.Message.getFieldWithDefault(t,7,""),stirring:(o=t.getStirring())&&proto.ord.StirringConditions.toObject(e,o),targetPh:r.Message.getFloatingPointFieldWithDefault(t,9,0),isAutomated:r.Message.getBooleanFieldWithDefault(t,10,!1)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionWorkup.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionWorkup;return proto.ord.ReactionWorkup.deserializeBinaryFromReader(o,t)},proto.ord.ReactionWorkup.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setDuration(o);break;case 4:o=new proto.ord.ReactionInput,t.readMessage(o,proto.ord.ReactionInput.deserializeBinaryFromReader),e.setInput(o);break;case 5:o=new proto.ord.Amount,t.readMessage(o,proto.ord.Amount.deserializeBinaryFromReader),e.setAmount(o);break;case 6:o=new proto.ord.TemperatureConditions,t.readMessage(o,proto.ord.TemperatureConditions.deserializeBinaryFromReader),e.setTemperature(o);break;case 7:o=t.readString(),e.setKeepPhase(o);break;case 8:o=new proto.ord.StirringConditions,t.readMessage(o,proto.ord.StirringConditions.deserializeBinaryFromReader),e.setStirring(o);break;case 9:o=t.readFloat(),e.setTargetPh(o);break;case 10:o=t.readBool(),e.setIsAutomated(o);break;default:t.skipField()}return e},proto.ord.ReactionWorkup.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionWorkup.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionWorkup.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=e.getDuration())&&t.writeMessage(3,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getInput())&&t.writeMessage(4,o,proto.ord.ReactionInput.serializeBinaryToWriter),null!=(o=e.getAmount())&&t.writeMessage(5,o,proto.ord.Amount.serializeBinaryToWriter),null!=(o=e.getTemperature())&&t.writeMessage(6,o,proto.ord.TemperatureConditions.serializeBinaryToWriter),(o=e.getKeepPhase()).length>0&&t.writeString(7,o),null!=(o=e.getStirring())&&t.writeMessage(8,o,proto.ord.StirringConditions.serializeBinaryToWriter),null!=(o=r.Message.getField(e,9))&&t.writeFloat(9,o),null!=(o=r.Message.getField(e,10))&&t.writeBool(10,o)},proto.ord.ReactionWorkup.ReactionWorkupType={UNSPECIFIED:0,CUSTOM:1,ADDITION:2,ALIQUOT:3,TEMPERATURE:4,CONCENTRATION:5,EXTRACTION:6,FILTRATION:7,WASH:8,DRY_IN_VACUUM:9,DRY_WITH_MATERIAL:10,FLASH_CHROMATOGRAPHY:11,OTHER_CHROMATOGRAPHY:12,SCAVENGING:13,WAIT:14,STIRRING:15,PH_ADJUST:16,DISSOLUTION:17,DISTILLATION:18},proto.ord.ReactionWorkup.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ReactionWorkup.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ReactionWorkup.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionWorkup.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionWorkup.prototype.getDuration=function(){return r.Message.getWrapperField(this,proto.ord.Time,3)},proto.ord.ReactionWorkup.prototype.setDuration=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ReactionWorkup.prototype.clearDuration=function(){return this.setDuration(void 0)},proto.ord.ReactionWorkup.prototype.hasDuration=function(){return null!=r.Message.getField(this,3)},proto.ord.ReactionWorkup.prototype.getInput=function(){return r.Message.getWrapperField(this,proto.ord.ReactionInput,4)},proto.ord.ReactionWorkup.prototype.setInput=function(e){return r.Message.setWrapperField(this,4,e)},proto.ord.ReactionWorkup.prototype.clearInput=function(){return this.setInput(void 0)},proto.ord.ReactionWorkup.prototype.hasInput=function(){return null!=r.Message.getField(this,4)},proto.ord.ReactionWorkup.prototype.getAmount=function(){return r.Message.getWrapperField(this,proto.ord.Amount,5)},proto.ord.ReactionWorkup.prototype.setAmount=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ReactionWorkup.prototype.clearAmount=function(){return this.setAmount(void 0)},proto.ord.ReactionWorkup.prototype.hasAmount=function(){return null!=r.Message.getField(this,5)},proto.ord.ReactionWorkup.prototype.getTemperature=function(){return r.Message.getWrapperField(this,proto.ord.TemperatureConditions,6)},proto.ord.ReactionWorkup.prototype.setTemperature=function(e){return r.Message.setWrapperField(this,6,e)},proto.ord.ReactionWorkup.prototype.clearTemperature=function(){return this.setTemperature(void 0)},proto.ord.ReactionWorkup.prototype.hasTemperature=function(){return null!=r.Message.getField(this,6)},proto.ord.ReactionWorkup.prototype.getKeepPhase=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.ord.ReactionWorkup.prototype.setKeepPhase=function(e){return r.Message.setProto3StringField(this,7,e)},proto.ord.ReactionWorkup.prototype.getStirring=function(){return r.Message.getWrapperField(this,proto.ord.StirringConditions,8)},proto.ord.ReactionWorkup.prototype.setStirring=function(e){return r.Message.setWrapperField(this,8,e)},proto.ord.ReactionWorkup.prototype.clearStirring=function(){return this.setStirring(void 0)},proto.ord.ReactionWorkup.prototype.hasStirring=function(){return null!=r.Message.getField(this,8)},proto.ord.ReactionWorkup.prototype.getTargetPh=function(){return r.Message.getFloatingPointFieldWithDefault(this,9,0)},proto.ord.ReactionWorkup.prototype.setTargetPh=function(e){return r.Message.setField(this,9,e)},proto.ord.ReactionWorkup.prototype.clearTargetPh=function(){return r.Message.setField(this,9,void 0)},proto.ord.ReactionWorkup.prototype.hasTargetPh=function(){return null!=r.Message.getField(this,9)},proto.ord.ReactionWorkup.prototype.getIsAutomated=function(){return r.Message.getBooleanFieldWithDefault(this,10,!1)},proto.ord.ReactionWorkup.prototype.setIsAutomated=function(e){return r.Message.setField(this,10,e)},proto.ord.ReactionWorkup.prototype.clearIsAutomated=function(){return r.Message.setField(this,10,void 0)},proto.ord.ReactionWorkup.prototype.hasIsAutomated=function(){return null!=r.Message.getField(this,10)},proto.ord.ReactionOutcome.repeatedFields_=[3],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionOutcome.prototype.toObject=function(e){return proto.ord.ReactionOutcome.toObject(e,this)},proto.ord.ReactionOutcome.toObject=function(e,t){var o,n={reactionTime:(o=t.getReactionTime())&&proto.ord.Time.toObject(e,o),conversion:(o=t.getConversion())&&proto.ord.Percentage.toObject(e,o),productsList:r.Message.toObjectList(t.getProductsList(),proto.ord.ProductCompound.toObject,e),analysesMap:(o=t.getAnalysesMap())?o.toObject(e,proto.ord.Analysis.toObject):[]};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionOutcome.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionOutcome;return proto.ord.ReactionOutcome.deserializeBinaryFromReader(o,t)},proto.ord.ReactionOutcome.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Time;t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setReactionTime(o);break;case 2:o=new proto.ord.Percentage,t.readMessage(o,proto.ord.Percentage.deserializeBinaryFromReader),e.setConversion(o);break;case 3:o=new proto.ord.ProductCompound,t.readMessage(o,proto.ord.ProductCompound.deserializeBinaryFromReader),e.addProducts(o);break;case 4:o=e.getAnalysesMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Analysis.deserializeBinaryFromReader,"",new proto.ord.Analysis)});break;default:t.skipField()}return e},proto.ord.ReactionOutcome.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionOutcome.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionOutcome.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getReactionTime())&&t.writeMessage(1,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getConversion())&&t.writeMessage(2,o,proto.ord.Percentage.serializeBinaryToWriter),(o=e.getProductsList()).length>0&&t.writeRepeatedMessage(3,o,proto.ord.ProductCompound.serializeBinaryToWriter),(o=e.getAnalysesMap(!0))&&o.getLength()>0&&o.serializeBinary(4,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Analysis.serializeBinaryToWriter)},proto.ord.ReactionOutcome.prototype.getReactionTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,1)},proto.ord.ReactionOutcome.prototype.setReactionTime=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionOutcome.prototype.clearReactionTime=function(){return this.setReactionTime(void 0)},proto.ord.ReactionOutcome.prototype.hasReactionTime=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionOutcome.prototype.getConversion=function(){return r.Message.getWrapperField(this,proto.ord.Percentage,2)},proto.ord.ReactionOutcome.prototype.setConversion=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.ReactionOutcome.prototype.clearConversion=function(){return this.setConversion(void 0)},proto.ord.ReactionOutcome.prototype.hasConversion=function(){return null!=r.Message.getField(this,2)},proto.ord.ReactionOutcome.prototype.getProductsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ProductCompound,3)},proto.ord.ReactionOutcome.prototype.setProductsList=function(e){return r.Message.setRepeatedWrapperField(this,3,e)},proto.ord.ReactionOutcome.prototype.addProducts=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.ord.ProductCompound,t)},proto.ord.ReactionOutcome.prototype.clearProductsList=function(){return this.setProductsList([])},proto.ord.ReactionOutcome.prototype.getAnalysesMap=function(e){return r.Message.getMapField(this,4,e,proto.ord.Analysis)},proto.ord.ReactionOutcome.prototype.clearAnalysesMap=function(){return this.getAnalysesMap().clear(),this},proto.ord.ProductCompound.repeatedFields_=[1,3],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ProductCompound.prototype.toObject=function(e){return proto.ord.ProductCompound.toObject(e,this)},proto.ord.ProductCompound.toObject=function(e,t){var o,n={identifiersList:r.Message.toObjectList(t.getIdentifiersList(),proto.ord.CompoundIdentifier.toObject,e),isDesiredProduct:r.Message.getBooleanFieldWithDefault(t,2,!1),measurementsList:r.Message.toObjectList(t.getMeasurementsList(),proto.ord.ProductMeasurement.toObject,e),isolatedColor:r.Message.getFieldWithDefault(t,4,""),texture:(o=t.getTexture())&&proto.ord.Texture.toObject(e,o),featuresMap:(o=t.getFeaturesMap())?o.toObject(e,proto.ord.Data.toObject):[],reactionRole:r.Message.getFieldWithDefault(t,7,0)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ProductCompound.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ProductCompound;return proto.ord.ProductCompound.deserializeBinaryFromReader(o,t)},proto.ord.ProductCompound.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.CompoundIdentifier;t.readMessage(o,proto.ord.CompoundIdentifier.deserializeBinaryFromReader),e.addIdentifiers(o);break;case 2:o=t.readBool(),e.setIsDesiredProduct(o);break;case 3:o=new proto.ord.ProductMeasurement,t.readMessage(o,proto.ord.ProductMeasurement.deserializeBinaryFromReader),e.addMeasurements(o);break;case 4:o=t.readString(),e.setIsolatedColor(o);break;case 5:o=new proto.ord.Texture,t.readMessage(o,proto.ord.Texture.deserializeBinaryFromReader),e.setTexture(o);break;case 6:o=e.getFeaturesMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 7:o=t.readEnum(),e.setReactionRole(o);break;default:t.skipField()}return e},proto.ord.ProductCompound.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ProductCompound.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ProductCompound.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdentifiersList()).length>0&&t.writeRepeatedMessage(1,o,proto.ord.CompoundIdentifier.serializeBinaryToWriter),null!=(o=r.Message.getField(e,2))&&t.writeBool(2,o),(o=e.getMeasurementsList()).length>0&&t.writeRepeatedMessage(3,o,proto.ord.ProductMeasurement.serializeBinaryToWriter),(o=e.getIsolatedColor()).length>0&&t.writeString(4,o),null!=(o=e.getTexture())&&t.writeMessage(5,o,proto.ord.Texture.serializeBinaryToWriter),(o=e.getFeaturesMap(!0))&&o.getLength()>0&&o.serializeBinary(6,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),0!==(o=e.getReactionRole())&&t.writeEnum(7,o)},proto.ord.ProductCompound.prototype.getIdentifiersList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.CompoundIdentifier,1)},proto.ord.ProductCompound.prototype.setIdentifiersList=function(e){return r.Message.setRepeatedWrapperField(this,1,e)},proto.ord.ProductCompound.prototype.addIdentifiers=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.ord.CompoundIdentifier,t)},proto.ord.ProductCompound.prototype.clearIdentifiersList=function(){return this.setIdentifiersList([])},proto.ord.ProductCompound.prototype.getIsDesiredProduct=function(){return r.Message.getBooleanFieldWithDefault(this,2,!1)},proto.ord.ProductCompound.prototype.setIsDesiredProduct=function(e){return r.Message.setField(this,2,e)},proto.ord.ProductCompound.prototype.clearIsDesiredProduct=function(){return r.Message.setField(this,2,void 0)},proto.ord.ProductCompound.prototype.hasIsDesiredProduct=function(){return null!=r.Message.getField(this,2)},proto.ord.ProductCompound.prototype.getMeasurementsList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.ProductMeasurement,3)},proto.ord.ProductCompound.prototype.setMeasurementsList=function(e){return r.Message.setRepeatedWrapperField(this,3,e)},proto.ord.ProductCompound.prototype.addMeasurements=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.ord.ProductMeasurement,t)},proto.ord.ProductCompound.prototype.clearMeasurementsList=function(){return this.setMeasurementsList([])},proto.ord.ProductCompound.prototype.getIsolatedColor=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.ProductCompound.prototype.setIsolatedColor=function(e){return r.Message.setProto3StringField(this,4,e)},proto.ord.ProductCompound.prototype.getTexture=function(){return r.Message.getWrapperField(this,proto.ord.Texture,5)},proto.ord.ProductCompound.prototype.setTexture=function(e){return r.Message.setWrapperField(this,5,e)},proto.ord.ProductCompound.prototype.clearTexture=function(){return this.setTexture(void 0)},proto.ord.ProductCompound.prototype.hasTexture=function(){return null!=r.Message.getField(this,5)},proto.ord.ProductCompound.prototype.getFeaturesMap=function(e){return r.Message.getMapField(this,6,e,proto.ord.Data)},proto.ord.ProductCompound.prototype.clearFeaturesMap=function(){return this.getFeaturesMap().clear(),this},proto.ord.ProductCompound.prototype.getReactionRole=function(){return r.Message.getFieldWithDefault(this,7,0)},proto.ord.ProductCompound.prototype.setReactionRole=function(e){return r.Message.setProto3EnumField(this,7,e)},proto.ord.ProductMeasurement.oneofGroups_=[[8,9,10,11]],proto.ord.ProductMeasurement.ValueCase={VALUE_NOT_SET:0,PERCENTAGE:8,FLOAT_VALUE:9,STRING_VALUE:10,AMOUNT:11},proto.ord.ProductMeasurement.prototype.getValueCase=function(){return r.Message.computeOneofCase(this,proto.ord.ProductMeasurement.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ProductMeasurement.prototype.toObject=function(e){return proto.ord.ProductMeasurement.toObject(e,this)},proto.ord.ProductMeasurement.toObject=function(e,t){var o,n={analysisKey:r.Message.getFieldWithDefault(t,1,""),type:r.Message.getFieldWithDefault(t,2,0),details:r.Message.getFieldWithDefault(t,3,""),usesInternalStandard:r.Message.getBooleanFieldWithDefault(t,4,!1),isNormalized:r.Message.getBooleanFieldWithDefault(t,5,!1),usesAuthenticStandard:r.Message.getBooleanFieldWithDefault(t,6,!1),authenticStandard:(o=t.getAuthenticStandard())&&proto.ord.Compound.toObject(e,o),percentage:(o=t.getPercentage())&&proto.ord.Percentage.toObject(e,o),floatValue:(o=t.getFloatValue())&&proto.ord.FloatValue.toObject(e,o),stringValue:r.Message.getFieldWithDefault(t,10,""),amount:(o=t.getAmount())&&proto.ord.Amount.toObject(e,o),retentionTime:(o=t.getRetentionTime())&&proto.ord.Time.toObject(e,o),massSpecDetails:(o=t.getMassSpecDetails())&&proto.ord.ProductMeasurement.MassSpecMeasurementDetails.toObject(e,o),selectivity:(o=t.getSelectivity())&&proto.ord.ProductMeasurement.Selectivity.toObject(e,o),wavelength:(o=t.getWavelength())&&proto.ord.Wavelength.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ProductMeasurement.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ProductMeasurement;return proto.ord.ProductMeasurement.deserializeBinaryFromReader(o,t)},proto.ord.ProductMeasurement.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setAnalysisKey(o);break;case 2:o=t.readEnum(),e.setType(o);break;case 3:o=t.readString(),e.setDetails(o);break;case 4:o=t.readBool(),e.setUsesInternalStandard(o);break;case 5:o=t.readBool(),e.setIsNormalized(o);break;case 6:o=t.readBool(),e.setUsesAuthenticStandard(o);break;case 7:o=new proto.ord.Compound,t.readMessage(o,proto.ord.Compound.deserializeBinaryFromReader),e.setAuthenticStandard(o);break;case 8:o=new proto.ord.Percentage,t.readMessage(o,proto.ord.Percentage.deserializeBinaryFromReader),e.setPercentage(o);break;case 9:o=new proto.ord.FloatValue,t.readMessage(o,proto.ord.FloatValue.deserializeBinaryFromReader),e.setFloatValue(o);break;case 10:o=t.readString(),e.setStringValue(o);break;case 11:o=new proto.ord.Amount,t.readMessage(o,proto.ord.Amount.deserializeBinaryFromReader),e.setAmount(o);break;case 12:o=new proto.ord.Time,t.readMessage(o,proto.ord.Time.deserializeBinaryFromReader),e.setRetentionTime(o);break;case 13:o=new proto.ord.ProductMeasurement.MassSpecMeasurementDetails,t.readMessage(o,proto.ord.ProductMeasurement.MassSpecMeasurementDetails.deserializeBinaryFromReader),e.setMassSpecDetails(o);break;case 14:o=new proto.ord.ProductMeasurement.Selectivity,t.readMessage(o,proto.ord.ProductMeasurement.Selectivity.deserializeBinaryFromReader),e.setSelectivity(o);break;case 15:o=new proto.ord.Wavelength,t.readMessage(o,proto.ord.Wavelength.deserializeBinaryFromReader),e.setWavelength(o);break;default:t.skipField()}return e},proto.ord.ProductMeasurement.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ProductMeasurement.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ProductMeasurement.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getAnalysisKey()).length>0&&t.writeString(1,o),0!==(o=e.getType())&&t.writeEnum(2,o),(o=e.getDetails()).length>0&&t.writeString(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o),null!=(o=r.Message.getField(e,5))&&t.writeBool(5,o),null!=(o=r.Message.getField(e,6))&&t.writeBool(6,o),null!=(o=e.getAuthenticStandard())&&t.writeMessage(7,o,proto.ord.Compound.serializeBinaryToWriter),null!=(o=e.getPercentage())&&t.writeMessage(8,o,proto.ord.Percentage.serializeBinaryToWriter),null!=(o=e.getFloatValue())&&t.writeMessage(9,o,proto.ord.FloatValue.serializeBinaryToWriter),null!=(o=r.Message.getField(e,10))&&t.writeString(10,o),null!=(o=e.getAmount())&&t.writeMessage(11,o,proto.ord.Amount.serializeBinaryToWriter),null!=(o=e.getRetentionTime())&&t.writeMessage(12,o,proto.ord.Time.serializeBinaryToWriter),null!=(o=e.getMassSpecDetails())&&t.writeMessage(13,o,proto.ord.ProductMeasurement.MassSpecMeasurementDetails.serializeBinaryToWriter),null!=(o=e.getSelectivity())&&t.writeMessage(14,o,proto.ord.ProductMeasurement.Selectivity.serializeBinaryToWriter),null!=(o=e.getWavelength())&&t.writeMessage(15,o,proto.ord.Wavelength.serializeBinaryToWriter)},proto.ord.ProductMeasurement.ProductMeasurementType={UNSPECIFIED:0,CUSTOM:1,IDENTITY:2,YIELD:3,SELECTIVITY:4,PURITY:5,AREA:6,COUNTS:7,INTENSITY:8,AMOUNT:9},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.repeatedFields_=[5],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.toObject=function(e){return proto.ord.ProductMeasurement.MassSpecMeasurementDetails.toObject(e,this)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),ticMinimumMz:r.Message.getFloatingPointFieldWithDefault(t,3,0),ticMaximumMz:r.Message.getFloatingPointFieldWithDefault(t,4,0),eicMassesList:null==(o=r.Message.getRepeatedFloatingPointField(t,5))?void 0:o};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ProductMeasurement.MassSpecMeasurementDetails.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ProductMeasurement.MassSpecMeasurementDetails;return proto.ord.ProductMeasurement.MassSpecMeasurementDetails.deserializeBinaryFromReader(o,t)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readFloat(),e.setTicMinimumMz(o);break;case 4:o=t.readFloat(),e.setTicMaximumMz(o);break;case 5:for(var r=t.isDelimited()?t.readPackedFloat():[t.readFloat()],n=0;n<r.length;n++)e.addEicMasses(r[n]);break;default:t.skipField()}return e},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ProductMeasurement.MassSpecMeasurementDetails.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),null!=(o=r.Message.getField(e,3))&&t.writeFloat(3,o),null!=(o=r.Message.getField(e,4))&&t.writeFloat(4,o),(o=e.getEicMassesList()).length>0&&t.writePackedFloat(5,o)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.MassSpecMeasurementType={UNSPECIFIED:0,CUSTOM:1,TIC:2,TIC_POSITIVE:3,TIC_NEGATIVE:4,EIC:5},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getTicMinimumMz=function(){return r.Message.getFloatingPointFieldWithDefault(this,3,0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setTicMinimumMz=function(e){return r.Message.setField(this,3,e)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.clearTicMinimumMz=function(){return r.Message.setField(this,3,void 0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.hasTicMinimumMz=function(){return null!=r.Message.getField(this,3)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getTicMaximumMz=function(){return r.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setTicMaximumMz=function(e){return r.Message.setField(this,4,e)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.clearTicMaximumMz=function(){return r.Message.setField(this,4,void 0)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.hasTicMaximumMz=function(){return null!=r.Message.getField(this,4)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.getEicMassesList=function(){return r.Message.getRepeatedFloatingPointField(this,5)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.setEicMassesList=function(e){return r.Message.setField(this,5,e||[])},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.addEicMasses=function(e,t){return r.Message.addToRepeatedField(this,5,e,t)},proto.ord.ProductMeasurement.MassSpecMeasurementDetails.prototype.clearEicMassesList=function(){return this.setEicMassesList([])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.ProductMeasurement.Selectivity.prototype.toObject=function(e){return proto.ord.ProductMeasurement.Selectivity.toObject(e,this)},proto.ord.ProductMeasurement.Selectivity.toObject=function(e,t){var o={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.ProductMeasurement.Selectivity.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ProductMeasurement.Selectivity;return proto.ord.ProductMeasurement.Selectivity.deserializeBinaryFromReader(o,t)},proto.ord.ProductMeasurement.Selectivity.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.ProductMeasurement.Selectivity.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ProductMeasurement.Selectivity.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ProductMeasurement.Selectivity.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o)},proto.ord.ProductMeasurement.Selectivity.SelectivityType={UNSPECIFIED:0,CUSTOM:1,EE:2,ER:3,DR:4,EZ:5,ZE:6},proto.ord.ProductMeasurement.Selectivity.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.ProductMeasurement.Selectivity.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.ProductMeasurement.Selectivity.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ProductMeasurement.Selectivity.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ProductMeasurement.prototype.getAnalysisKey=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.ProductMeasurement.prototype.setAnalysisKey=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.ProductMeasurement.prototype.getType=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.ord.ProductMeasurement.prototype.setType=function(e){return r.Message.setProto3EnumField(this,2,e)},proto.ord.ProductMeasurement.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.ProductMeasurement.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.ProductMeasurement.prototype.getUsesInternalStandard=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.ProductMeasurement.prototype.setUsesInternalStandard=function(e){return r.Message.setField(this,4,e)},proto.ord.ProductMeasurement.prototype.clearUsesInternalStandard=function(){return r.Message.setField(this,4,void 0)},proto.ord.ProductMeasurement.prototype.hasUsesInternalStandard=function(){return null!=r.Message.getField(this,4)},proto.ord.ProductMeasurement.prototype.getIsNormalized=function(){return r.Message.getBooleanFieldWithDefault(this,5,!1)},proto.ord.ProductMeasurement.prototype.setIsNormalized=function(e){return r.Message.setField(this,5,e)},proto.ord.ProductMeasurement.prototype.clearIsNormalized=function(){return r.Message.setField(this,5,void 0)},proto.ord.ProductMeasurement.prototype.hasIsNormalized=function(){return null!=r.Message.getField(this,5)},proto.ord.ProductMeasurement.prototype.getUsesAuthenticStandard=function(){return r.Message.getBooleanFieldWithDefault(this,6,!1)},proto.ord.ProductMeasurement.prototype.setUsesAuthenticStandard=function(e){return r.Message.setField(this,6,e)},proto.ord.ProductMeasurement.prototype.clearUsesAuthenticStandard=function(){return r.Message.setField(this,6,void 0)},proto.ord.ProductMeasurement.prototype.hasUsesAuthenticStandard=function(){return null!=r.Message.getField(this,6)},proto.ord.ProductMeasurement.prototype.getAuthenticStandard=function(){return r.Message.getWrapperField(this,proto.ord.Compound,7)},proto.ord.ProductMeasurement.prototype.setAuthenticStandard=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.ProductMeasurement.prototype.clearAuthenticStandard=function(){return this.setAuthenticStandard(void 0)},proto.ord.ProductMeasurement.prototype.hasAuthenticStandard=function(){return null!=r.Message.getField(this,7)},proto.ord.ProductMeasurement.prototype.getPercentage=function(){return r.Message.getWrapperField(this,proto.ord.Percentage,8)},proto.ord.ProductMeasurement.prototype.setPercentage=function(e){return r.Message.setOneofWrapperField(this,8,proto.ord.ProductMeasurement.oneofGroups_[0],e)},proto.ord.ProductMeasurement.prototype.clearPercentage=function(){return this.setPercentage(void 0)},proto.ord.ProductMeasurement.prototype.hasPercentage=function(){return null!=r.Message.getField(this,8)},proto.ord.ProductMeasurement.prototype.getFloatValue=function(){return r.Message.getWrapperField(this,proto.ord.FloatValue,9)},proto.ord.ProductMeasurement.prototype.setFloatValue=function(e){return r.Message.setOneofWrapperField(this,9,proto.ord.ProductMeasurement.oneofGroups_[0],e)},proto.ord.ProductMeasurement.prototype.clearFloatValue=function(){return this.setFloatValue(void 0)},proto.ord.ProductMeasurement.prototype.hasFloatValue=function(){return null!=r.Message.getField(this,9)},proto.ord.ProductMeasurement.prototype.getStringValue=function(){return r.Message.getFieldWithDefault(this,10,"")},proto.ord.ProductMeasurement.prototype.setStringValue=function(e){return r.Message.setOneofField(this,10,proto.ord.ProductMeasurement.oneofGroups_[0],e)},proto.ord.ProductMeasurement.prototype.clearStringValue=function(){return r.Message.setOneofField(this,10,proto.ord.ProductMeasurement.oneofGroups_[0],void 0)},proto.ord.ProductMeasurement.prototype.hasStringValue=function(){return null!=r.Message.getField(this,10)},proto.ord.ProductMeasurement.prototype.getAmount=function(){return r.Message.getWrapperField(this,proto.ord.Amount,11)},proto.ord.ProductMeasurement.prototype.setAmount=function(e){return r.Message.setOneofWrapperField(this,11,proto.ord.ProductMeasurement.oneofGroups_[0],e)},proto.ord.ProductMeasurement.prototype.clearAmount=function(){return this.setAmount(void 0)},proto.ord.ProductMeasurement.prototype.hasAmount=function(){return null!=r.Message.getField(this,11)},proto.ord.ProductMeasurement.prototype.getRetentionTime=function(){return r.Message.getWrapperField(this,proto.ord.Time,12)},proto.ord.ProductMeasurement.prototype.setRetentionTime=function(e){return r.Message.setWrapperField(this,12,e)},proto.ord.ProductMeasurement.prototype.clearRetentionTime=function(){return this.setRetentionTime(void 0)},proto.ord.ProductMeasurement.prototype.hasRetentionTime=function(){return null!=r.Message.getField(this,12)},proto.ord.ProductMeasurement.prototype.getMassSpecDetails=function(){return r.Message.getWrapperField(this,proto.ord.ProductMeasurement.MassSpecMeasurementDetails,13)},proto.ord.ProductMeasurement.prototype.setMassSpecDetails=function(e){return r.Message.setWrapperField(this,13,e)},proto.ord.ProductMeasurement.prototype.clearMassSpecDetails=function(){return this.setMassSpecDetails(void 0)},proto.ord.ProductMeasurement.prototype.hasMassSpecDetails=function(){return null!=r.Message.getField(this,13)},proto.ord.ProductMeasurement.prototype.getSelectivity=function(){return r.Message.getWrapperField(this,proto.ord.ProductMeasurement.Selectivity,14)},proto.ord.ProductMeasurement.prototype.setSelectivity=function(e){return r.Message.setWrapperField(this,14,e)},proto.ord.ProductMeasurement.prototype.clearSelectivity=function(){return this.setSelectivity(void 0)},proto.ord.ProductMeasurement.prototype.hasSelectivity=function(){return null!=r.Message.getField(this,14)},proto.ord.ProductMeasurement.prototype.getWavelength=function(){return r.Message.getWrapperField(this,proto.ord.Wavelength,15)},proto.ord.ProductMeasurement.prototype.setWavelength=function(e){return r.Message.setWrapperField(this,15,e)},proto.ord.ProductMeasurement.prototype.clearWavelength=function(){return this.setWavelength(void 0)},proto.ord.ProductMeasurement.prototype.hasWavelength=function(){return null!=r.Message.getField(this,15)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.DateTime.prototype.toObject=function(e){return proto.ord.DateTime.toObject(e,this)},proto.ord.DateTime.toObject=function(e,t){var o={value:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.DateTime.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.DateTime;return proto.ord.DateTime.deserializeBinaryFromReader(o,t)},proto.ord.DateTime.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)if(1===t.getFieldNumber()){var o=t.readString();e.setValue(o)}else t.skipField();return e},proto.ord.DateTime.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.DateTime.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.DateTime.serializeBinaryToWriter=function(e,t){var o;(o=e.getValue()).length>0&&t.writeString(1,o)},proto.ord.DateTime.prototype.getValue=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.DateTime.prototype.setValue=function(e){return r.Message.setProto3StringField(this,1,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Analysis.prototype.toObject=function(e){return proto.ord.Analysis.toObject(e,this)},proto.ord.Analysis.toObject=function(e,t){var o,n={type:r.Message.getFieldWithDefault(t,1,0),details:r.Message.getFieldWithDefault(t,2,""),chmoId:r.Message.getFieldWithDefault(t,3,0),isOfIsolatedSpecies:r.Message.getBooleanFieldWithDefault(t,4,!1),dataMap:(o=t.getDataMap())?o.toObject(e,proto.ord.Data.toObject):[],instrumentManufacturer:r.Message.getFieldWithDefault(t,6,""),instrumentLastCalibrated:(o=t.getInstrumentLastCalibrated())&&proto.ord.DateTime.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.Analysis.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Analysis;return proto.ord.Analysis.deserializeBinaryFromReader(o,t)},proto.ord.Analysis.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setType(o);break;case 2:o=t.readString(),e.setDetails(o);break;case 3:o=t.readInt32(),e.setChmoId(o);break;case 4:o=t.readBool(),e.setIsOfIsolatedSpecies(o);break;case 5:o=e.getDataMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 6:o=t.readString(),e.setInstrumentManufacturer(o);break;case 7:o=new proto.ord.DateTime,t.readMessage(o,proto.ord.DateTime.deserializeBinaryFromReader),e.setInstrumentLastCalibrated(o);break;default:t.skipField()}return e},proto.ord.Analysis.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Analysis.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Analysis.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getType())&&t.writeEnum(1,o),(o=e.getDetails()).length>0&&t.writeString(2,o),0!==(o=e.getChmoId())&&t.writeInt32(3,o),null!=(o=r.Message.getField(e,4))&&t.writeBool(4,o),(o=e.getDataMap(!0))&&o.getLength()>0&&o.serializeBinary(5,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),(o=e.getInstrumentManufacturer()).length>0&&t.writeString(6,o),null!=(o=e.getInstrumentLastCalibrated())&&t.writeMessage(7,o,proto.ord.DateTime.serializeBinaryToWriter)},proto.ord.Analysis.AnalysisType={UNSPECIFIED:0,CUSTOM:1,LC:2,GC:3,IR:4,NMR_1H:5,NMR_13C:6,NMR_OTHER:7,MP:8,UV:9,TLC:10,MS:11,HRMS:12,MSMS:13,WEIGHT:14,LCMS:15,GCMS:16,ELSD:17,CD:18,SFC:19,EPR:20,XRD:21,RAMAN:22,ED:23,OPTICAL_ROTATION:24,CAD:25},proto.ord.Analysis.prototype.getType=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.ord.Analysis.prototype.setType=function(e){return r.Message.setProto3EnumField(this,1,e)},proto.ord.Analysis.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Analysis.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Analysis.prototype.getChmoId=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Analysis.prototype.setChmoId=function(e){return r.Message.setProto3IntField(this,3,e)},proto.ord.Analysis.prototype.getIsOfIsolatedSpecies=function(){return r.Message.getBooleanFieldWithDefault(this,4,!1)},proto.ord.Analysis.prototype.setIsOfIsolatedSpecies=function(e){return r.Message.setField(this,4,e)},proto.ord.Analysis.prototype.clearIsOfIsolatedSpecies=function(){return r.Message.setField(this,4,void 0)},proto.ord.Analysis.prototype.hasIsOfIsolatedSpecies=function(){return null!=r.Message.getField(this,4)},proto.ord.Analysis.prototype.getDataMap=function(e){return r.Message.getMapField(this,5,e,proto.ord.Data)},proto.ord.Analysis.prototype.clearDataMap=function(){return this.getDataMap().clear(),this},proto.ord.Analysis.prototype.getInstrumentManufacturer=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.ord.Analysis.prototype.setInstrumentManufacturer=function(e){return r.Message.setProto3StringField(this,6,e)},proto.ord.Analysis.prototype.getInstrumentLastCalibrated=function(){return r.Message.getWrapperField(this,proto.ord.DateTime,7)},proto.ord.Analysis.prototype.setInstrumentLastCalibrated=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.Analysis.prototype.clearInstrumentLastCalibrated=function(){return this.setInstrumentLastCalibrated(void 0)},proto.ord.Analysis.prototype.hasInstrumentLastCalibrated=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionProvenance.repeatedFields_=[8],r.Message.GENERATE_TO_OBJECT&&(proto.ord.ReactionProvenance.prototype.toObject=function(e){return proto.ord.ReactionProvenance.toObject(e,this)},proto.ord.ReactionProvenance.toObject=function(e,t){var o,n={experimenter:(o=t.getExperimenter())&&proto.ord.Person.toObject(e,o),city:r.Message.getFieldWithDefault(t,2,""),experimentStart:(o=t.getExperimentStart())&&proto.ord.DateTime.toObject(e,o),doi:r.Message.getFieldWithDefault(t,4,""),patent:r.Message.getFieldWithDefault(t,5,""),publicationUrl:r.Message.getFieldWithDefault(t,6,""),recordCreated:(o=t.getRecordCreated())&&proto.ord.RecordEvent.toObject(e,o),recordModifiedList:r.Message.toObjectList(t.getRecordModifiedList(),proto.ord.RecordEvent.toObject,e),reactionMetadataMap:(o=t.getReactionMetadataMap())?o.toObject(e,proto.ord.Data.toObject):[],isMined:r.Message.getBooleanFieldWithDefault(t,10,!1)};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.ReactionProvenance.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.ReactionProvenance;return proto.ord.ReactionProvenance.deserializeBinaryFromReader(o,t)},proto.ord.ReactionProvenance.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.Person;t.readMessage(o,proto.ord.Person.deserializeBinaryFromReader),e.setExperimenter(o);break;case 2:o=t.readString(),e.setCity(o);break;case 3:o=new proto.ord.DateTime,t.readMessage(o,proto.ord.DateTime.deserializeBinaryFromReader),e.setExperimentStart(o);break;case 4:o=t.readString(),e.setDoi(o);break;case 5:o=t.readString(),e.setPatent(o);break;case 6:o=t.readString(),e.setPublicationUrl(o);break;case 7:o=new proto.ord.RecordEvent,t.readMessage(o,proto.ord.RecordEvent.deserializeBinaryFromReader),e.setRecordCreated(o);break;case 8:o=new proto.ord.RecordEvent,t.readMessage(o,proto.ord.RecordEvent.deserializeBinaryFromReader),e.addRecordModified(o);break;case 9:o=e.getReactionMetadataMap(),t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readMessage,proto.ord.Data.deserializeBinaryFromReader,"",new proto.ord.Data)});break;case 10:o=t.readBool(),e.setIsMined(o);break;default:t.skipField()}return e},proto.ord.ReactionProvenance.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.ReactionProvenance.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.ReactionProvenance.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getExperimenter())&&t.writeMessage(1,o,proto.ord.Person.serializeBinaryToWriter),(o=e.getCity()).length>0&&t.writeString(2,o),null!=(o=e.getExperimentStart())&&t.writeMessage(3,o,proto.ord.DateTime.serializeBinaryToWriter),(o=e.getDoi()).length>0&&t.writeString(4,o),(o=e.getPatent()).length>0&&t.writeString(5,o),(o=e.getPublicationUrl()).length>0&&t.writeString(6,o),null!=(o=e.getRecordCreated())&&t.writeMessage(7,o,proto.ord.RecordEvent.serializeBinaryToWriter),(o=e.getRecordModifiedList()).length>0&&t.writeRepeatedMessage(8,o,proto.ord.RecordEvent.serializeBinaryToWriter),(o=e.getReactionMetadataMap(!0))&&o.getLength()>0&&o.serializeBinary(9,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeMessage,proto.ord.Data.serializeBinaryToWriter),null!=(o=r.Message.getField(e,10))&&t.writeBool(10,o)},proto.ord.ReactionProvenance.prototype.getExperimenter=function(){return r.Message.getWrapperField(this,proto.ord.Person,1)},proto.ord.ReactionProvenance.prototype.setExperimenter=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.ReactionProvenance.prototype.clearExperimenter=function(){return this.setExperimenter(void 0)},proto.ord.ReactionProvenance.prototype.hasExperimenter=function(){return null!=r.Message.getField(this,1)},proto.ord.ReactionProvenance.prototype.getCity=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.ReactionProvenance.prototype.setCity=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.ReactionProvenance.prototype.getExperimentStart=function(){return r.Message.getWrapperField(this,proto.ord.DateTime,3)},proto.ord.ReactionProvenance.prototype.setExperimentStart=function(e){return r.Message.setWrapperField(this,3,e)},proto.ord.ReactionProvenance.prototype.clearExperimentStart=function(){return this.setExperimentStart(void 0)},proto.ord.ReactionProvenance.prototype.hasExperimentStart=function(){return null!=r.Message.getField(this,3)},proto.ord.ReactionProvenance.prototype.getDoi=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.ReactionProvenance.prototype.setDoi=function(e){return r.Message.setProto3StringField(this,4,e)},proto.ord.ReactionProvenance.prototype.getPatent=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.ReactionProvenance.prototype.setPatent=function(e){return r.Message.setProto3StringField(this,5,e)},proto.ord.ReactionProvenance.prototype.getPublicationUrl=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.ord.ReactionProvenance.prototype.setPublicationUrl=function(e){return r.Message.setProto3StringField(this,6,e)},proto.ord.ReactionProvenance.prototype.getRecordCreated=function(){return r.Message.getWrapperField(this,proto.ord.RecordEvent,7)},proto.ord.ReactionProvenance.prototype.setRecordCreated=function(e){return r.Message.setWrapperField(this,7,e)},proto.ord.ReactionProvenance.prototype.clearRecordCreated=function(){return this.setRecordCreated(void 0)},proto.ord.ReactionProvenance.prototype.hasRecordCreated=function(){return null!=r.Message.getField(this,7)},proto.ord.ReactionProvenance.prototype.getRecordModifiedList=function(){return r.Message.getRepeatedWrapperField(this,proto.ord.RecordEvent,8)},proto.ord.ReactionProvenance.prototype.setRecordModifiedList=function(e){return r.Message.setRepeatedWrapperField(this,8,e)},proto.ord.ReactionProvenance.prototype.addRecordModified=function(e,t){return r.Message.addToRepeatedWrapperField(this,8,e,proto.ord.RecordEvent,t)},proto.ord.ReactionProvenance.prototype.clearRecordModifiedList=function(){return this.setRecordModifiedList([])},proto.ord.ReactionProvenance.prototype.getReactionMetadataMap=function(e){return r.Message.getMapField(this,9,e,proto.ord.Data)},proto.ord.ReactionProvenance.prototype.clearReactionMetadataMap=function(){return this.getReactionMetadataMap().clear(),this},proto.ord.ReactionProvenance.prototype.getIsMined=function(){return r.Message.getBooleanFieldWithDefault(this,10,!1)},proto.ord.ReactionProvenance.prototype.setIsMined=function(e){return r.Message.setField(this,10,e)},proto.ord.ReactionProvenance.prototype.clearIsMined=function(){return r.Message.setField(this,10,void 0)},proto.ord.ReactionProvenance.prototype.hasIsMined=function(){return null!=r.Message.getField(this,10)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Person.prototype.toObject=function(e){return proto.ord.Person.toObject(e,this)},proto.ord.Person.toObject=function(e,t){var o={username:r.Message.getFieldWithDefault(t,1,""),name:r.Message.getFieldWithDefault(t,2,""),orcid:r.Message.getFieldWithDefault(t,3,""),organization:r.Message.getFieldWithDefault(t,4,""),email:r.Message.getFieldWithDefault(t,5,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Person.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Person;return proto.ord.Person.deserializeBinaryFromReader(o,t)},proto.ord.Person.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readString();e.setUsername(o);break;case 2:o=t.readString(),e.setName(o);break;case 3:o=t.readString(),e.setOrcid(o);break;case 4:o=t.readString(),e.setOrganization(o);break;case 5:o=t.readString(),e.setEmail(o);break;default:t.skipField()}return e},proto.ord.Person.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Person.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Person.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getUsername()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),(o=e.getOrcid()).length>0&&t.writeString(3,o),(o=e.getOrganization()).length>0&&t.writeString(4,o),(o=e.getEmail()).length>0&&t.writeString(5,o)},proto.ord.Person.prototype.getUsername=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.ord.Person.prototype.setUsername=function(e){return r.Message.setProto3StringField(this,1,e)},proto.ord.Person.prototype.getName=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.ord.Person.prototype.setName=function(e){return r.Message.setProto3StringField(this,2,e)},proto.ord.Person.prototype.getOrcid=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.Person.prototype.setOrcid=function(e){return r.Message.setProto3StringField(this,3,e)},proto.ord.Person.prototype.getOrganization=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.Person.prototype.setOrganization=function(e){return r.Message.setProto3StringField(this,4,e)},proto.ord.Person.prototype.getEmail=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.Person.prototype.setEmail=function(e){return r.Message.setProto3StringField(this,5,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.RecordEvent.prototype.toObject=function(e){return proto.ord.RecordEvent.toObject(e,this)},proto.ord.RecordEvent.toObject=function(e,t){var o,n={time:(o=t.getTime())&&proto.ord.DateTime.toObject(e,o),person:(o=t.getPerson())&&proto.ord.Person.toObject(e,o),details:r.Message.getFieldWithDefault(t,3,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.ord.RecordEvent.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.RecordEvent;return proto.ord.RecordEvent.deserializeBinaryFromReader(o,t)},proto.ord.RecordEvent.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=new proto.ord.DateTime;t.readMessage(o,proto.ord.DateTime.deserializeBinaryFromReader),e.setTime(o);break;case 2:o=new proto.ord.Person,t.readMessage(o,proto.ord.Person.deserializeBinaryFromReader),e.setPerson(o);break;case 3:o=t.readString(),e.setDetails(o);break;default:t.skipField()}return e},proto.ord.RecordEvent.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.RecordEvent.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.RecordEvent.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getTime())&&t.writeMessage(1,o,proto.ord.DateTime.serializeBinaryToWriter),null!=(o=e.getPerson())&&t.writeMessage(2,o,proto.ord.Person.serializeBinaryToWriter),(o=e.getDetails()).length>0&&t.writeString(3,o)},proto.ord.RecordEvent.prototype.getTime=function(){return r.Message.getWrapperField(this,proto.ord.DateTime,1)},proto.ord.RecordEvent.prototype.setTime=function(e){return r.Message.setWrapperField(this,1,e)},proto.ord.RecordEvent.prototype.clearTime=function(){return this.setTime(void 0)},proto.ord.RecordEvent.prototype.hasTime=function(){return null!=r.Message.getField(this,1)},proto.ord.RecordEvent.prototype.getPerson=function(){return r.Message.getWrapperField(this,proto.ord.Person,2)},proto.ord.RecordEvent.prototype.setPerson=function(e){return r.Message.setWrapperField(this,2,e)},proto.ord.RecordEvent.prototype.clearPerson=function(){return this.setPerson(void 0)},proto.ord.RecordEvent.prototype.hasPerson=function(){return null!=r.Message.getField(this,2)},proto.ord.RecordEvent.prototype.getDetails=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.RecordEvent.prototype.setDetails=function(e){return r.Message.setProto3StringField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Time.prototype.toObject=function(e){return proto.ord.Time.toObject(e,this)},proto.ord.Time.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Time.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Time;return proto.ord.Time.deserializeBinaryFromReader(o,t)},proto.ord.Time.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Time.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Time.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Time.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Time.TimeUnit={UNSPECIFIED:0,DAY:4,HOUR:1,MINUTE:2,SECOND:3},proto.ord.Time.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Time.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Time.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Time.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Time.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Time.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Time.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Time.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Time.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Time.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Mass.prototype.toObject=function(e){return proto.ord.Mass.toObject(e,this)},proto.ord.Mass.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Mass.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Mass;return proto.ord.Mass.deserializeBinaryFromReader(o,t)},proto.ord.Mass.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Mass.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Mass.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Mass.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Mass.MassUnit={UNSPECIFIED:0,KILOGRAM:1,GRAM:2,MILLIGRAM:3,MICROGRAM:4},proto.ord.Mass.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Mass.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Mass.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Mass.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Mass.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Mass.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Mass.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Mass.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Mass.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Mass.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Moles.prototype.toObject=function(e){return proto.ord.Moles.toObject(e,this)},proto.ord.Moles.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Moles.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Moles;return proto.ord.Moles.deserializeBinaryFromReader(o,t)},proto.ord.Moles.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Moles.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Moles.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Moles.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Moles.MolesUnit={UNSPECIFIED:0,MOLE:1,MILLIMOLE:2,MICROMOLE:3,NANOMOLE:4},proto.ord.Moles.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Moles.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Moles.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Moles.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Moles.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Moles.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Moles.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Moles.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Moles.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Moles.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Volume.prototype.toObject=function(e){return proto.ord.Volume.toObject(e,this)},proto.ord.Volume.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Volume.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Volume;return proto.ord.Volume.deserializeBinaryFromReader(o,t)},proto.ord.Volume.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Volume.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Volume.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Volume.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Volume.VolumeUnit={UNSPECIFIED:0,LITER:1,MILLILITER:2,MICROLITER:3,NANOLITER:4},proto.ord.Volume.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Volume.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Volume.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Volume.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Volume.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Volume.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Volume.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Volume.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Volume.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Volume.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Concentration.prototype.toObject=function(e){return proto.ord.Concentration.toObject(e,this)},proto.ord.Concentration.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Concentration.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Concentration;return proto.ord.Concentration.deserializeBinaryFromReader(o,t)},proto.ord.Concentration.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Concentration.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Concentration.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Concentration.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Concentration.ConcentrationUnit={UNSPECIFIED:0,MOLAR:1,MILLIMOLAR:2,MICROMOLAR:3},proto.ord.Concentration.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Concentration.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Concentration.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Concentration.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Concentration.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Concentration.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Concentration.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Concentration.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Concentration.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Concentration.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Pressure.prototype.toObject=function(e){return proto.ord.Pressure.toObject(e,this)},proto.ord.Pressure.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Pressure.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Pressure;return proto.ord.Pressure.deserializeBinaryFromReader(o,t)},proto.ord.Pressure.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Pressure.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Pressure.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Pressure.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Pressure.PressureUnit={UNSPECIFIED:0,BAR:1,ATMOSPHERE:2,PSI:3,KPSI:4,PASCAL:5,KILOPASCAL:6,TORR:7,MM_HG:8},proto.ord.Pressure.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Pressure.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Pressure.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Pressure.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Pressure.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Pressure.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Pressure.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Pressure.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Pressure.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Pressure.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Temperature.prototype.toObject=function(e){return proto.ord.Temperature.toObject(e,this)},proto.ord.Temperature.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Temperature.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Temperature;return proto.ord.Temperature.deserializeBinaryFromReader(o,t)},proto.ord.Temperature.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Temperature.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Temperature.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Temperature.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Temperature.TemperatureUnit={UNSPECIFIED:0,CELSIUS:1,FAHRENHEIT:2,KELVIN:3},proto.ord.Temperature.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Temperature.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Temperature.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Temperature.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Temperature.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Temperature.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Temperature.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Temperature.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Temperature.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Temperature.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Current.prototype.toObject=function(e){return proto.ord.Current.toObject(e,this)},proto.ord.Current.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Current.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Current;return proto.ord.Current.deserializeBinaryFromReader(o,t)},proto.ord.Current.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Current.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Current.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Current.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Current.CurrentUnit={UNSPECIFIED:0,AMPERE:1,MILLIAMPERE:2},proto.ord.Current.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Current.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Current.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Current.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Current.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Current.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Current.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Current.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Current.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Current.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Voltage.prototype.toObject=function(e){return proto.ord.Voltage.toObject(e,this)},proto.ord.Voltage.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Voltage.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Voltage;return proto.ord.Voltage.deserializeBinaryFromReader(o,t)},proto.ord.Voltage.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Voltage.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Voltage.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Voltage.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Voltage.VoltageUnit={UNSPECIFIED:0,VOLT:1,MILLIVOLT:2},proto.ord.Voltage.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Voltage.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Voltage.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Voltage.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Voltage.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Voltage.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Voltage.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Voltage.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Voltage.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Voltage.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Length.prototype.toObject=function(e){return proto.ord.Length.toObject(e,this)},proto.ord.Length.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Length.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Length;return proto.ord.Length.deserializeBinaryFromReader(o,t)},proto.ord.Length.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Length.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Length.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Length.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Length.LengthUnit={UNSPECIFIED:0,CENTIMETER:1,MILLIMETER:2,METER:3,INCH:4,FOOT:5},proto.ord.Length.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Length.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Length.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Length.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Length.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Length.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Length.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Length.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Length.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Length.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Wavelength.prototype.toObject=function(e){return proto.ord.Wavelength.toObject(e,this)},proto.ord.Wavelength.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Wavelength.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Wavelength;return proto.ord.Wavelength.deserializeBinaryFromReader(o,t)},proto.ord.Wavelength.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.Wavelength.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Wavelength.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Wavelength.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.Wavelength.WavelengthUnit={UNSPECIFIED:0,NANOMETER:1,WAVENUMBER:2},proto.ord.Wavelength.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Wavelength.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Wavelength.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Wavelength.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Wavelength.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Wavelength.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Wavelength.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Wavelength.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Wavelength.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.Wavelength.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.FlowRate.prototype.toObject=function(e){return proto.ord.FlowRate.toObject(e,this)},proto.ord.FlowRate.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0),units:r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.FlowRate.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.FlowRate;return proto.ord.FlowRate.deserializeBinaryFromReader(o,t)},proto.ord.FlowRate.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;case 3:o=t.readEnum(),e.setUnits(o);break;default:t.skipField()}return e},proto.ord.FlowRate.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.FlowRate.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.FlowRate.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o),0!==(o=e.getUnits())&&t.writeEnum(3,o)},proto.ord.FlowRate.FlowRateUnit={UNSPECIFIED:0,MICROLITER_PER_MINUTE:1,MICROLITER_PER_SECOND:2,MILLILITER_PER_MINUTE:3,MILLILITER_PER_SECOND:4,MICROLITER_PER_HOUR:5},proto.ord.FlowRate.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.FlowRate.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.FlowRate.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.FlowRate.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.FlowRate.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.FlowRate.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.FlowRate.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.FlowRate.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.FlowRate.prototype.getUnits=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.ord.FlowRate.prototype.setUnits=function(e){return r.Message.setProto3EnumField(this,3,e)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Percentage.prototype.toObject=function(e){return proto.ord.Percentage.toObject(e,this)},proto.ord.Percentage.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Percentage.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Percentage;return proto.ord.Percentage.deserializeBinaryFromReader(o,t)},proto.ord.Percentage.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;default:t.skipField()}return e},proto.ord.Percentage.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Percentage.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Percentage.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o)},proto.ord.Percentage.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Percentage.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.Percentage.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.Percentage.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Percentage.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.Percentage.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.Percentage.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.Percentage.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},r.Message.GENERATE_TO_OBJECT&&(proto.ord.FloatValue.prototype.toObject=function(e){return proto.ord.FloatValue.toObject(e,this)},proto.ord.FloatValue.toObject=function(e,t){var o={value:r.Message.getFloatingPointFieldWithDefault(t,1,0),precision:r.Message.getFloatingPointFieldWithDefault(t,2,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.FloatValue.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.FloatValue;return proto.ord.FloatValue.deserializeBinaryFromReader(o,t)},proto.ord.FloatValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setValue(o);break;case 2:o=t.readFloat(),e.setPrecision(o);break;default:t.skipField()}return e},proto.ord.FloatValue.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.FloatValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.FloatValue.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeFloat(2,o)},proto.ord.FloatValue.prototype.getValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.FloatValue.prototype.setValue=function(e){return r.Message.setField(this,1,e)},proto.ord.FloatValue.prototype.clearValue=function(){return r.Message.setField(this,1,void 0)},proto.ord.FloatValue.prototype.hasValue=function(){return null!=r.Message.getField(this,1)},proto.ord.FloatValue.prototype.getPrecision=function(){return r.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.ord.FloatValue.prototype.setPrecision=function(e){return r.Message.setField(this,2,e)},proto.ord.FloatValue.prototype.clearPrecision=function(){return r.Message.setField(this,2,void 0)},proto.ord.FloatValue.prototype.hasPrecision=function(){return null!=r.Message.getField(this,2)},proto.ord.Data.oneofGroups_=[[1,2,3,4,5]],proto.ord.Data.KindCase={KIND_NOT_SET:0,FLOAT_VALUE:1,INTEGER_VALUE:2,BYTES_VALUE:3,STRING_VALUE:4,URL:5},proto.ord.Data.prototype.getKindCase=function(){return r.Message.computeOneofCase(this,proto.ord.Data.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.ord.Data.prototype.toObject=function(e){return proto.ord.Data.toObject(e,this)},proto.ord.Data.toObject=function(e,t){var o={floatValue:r.Message.getFloatingPointFieldWithDefault(t,1,0),integerValue:r.Message.getFieldWithDefault(t,2,0),bytesValue:t.getBytesValue_asB64(),stringValue:r.Message.getFieldWithDefault(t,4,""),url:r.Message.getFieldWithDefault(t,5,""),description:r.Message.getFieldWithDefault(t,6,""),format:r.Message.getFieldWithDefault(t,7,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ord.Data.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.ord.Data;return proto.ord.Data.deserializeBinaryFromReader(o,t)},proto.ord.Data.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();)switch(t.getFieldNumber()){case 1:var o=t.readFloat();e.setFloatValue(o);break;case 2:o=t.readInt32(),e.setIntegerValue(o);break;case 3:o=t.readBytes(),e.setBytesValue(o);break;case 4:o=t.readString(),e.setStringValue(o);break;case 5:o=t.readString(),e.setUrl(o);break;case 6:o=t.readString(),e.setDescription(o);break;case 7:o=t.readString(),e.setFormat(o);break;default:t.skipField()}return e},proto.ord.Data.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.ord.Data.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ord.Data.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=r.Message.getField(e,1))&&t.writeFloat(1,o),null!=(o=r.Message.getField(e,2))&&t.writeInt32(2,o),null!=(o=r.Message.getField(e,3))&&t.writeBytes(3,o),null!=(o=r.Message.getField(e,4))&&t.writeString(4,o),null!=(o=r.Message.getField(e,5))&&t.writeString(5,o),(o=e.getDescription()).length>0&&t.writeString(6,o),(o=e.getFormat()).length>0&&t.writeString(7,o)},proto.ord.Data.prototype.getFloatValue=function(){return r.Message.getFloatingPointFieldWithDefault(this,1,0)},proto.ord.Data.prototype.setFloatValue=function(e){return r.Message.setOneofField(this,1,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearFloatValue=function(){return r.Message.setOneofField(this,1,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasFloatValue=function(){return null!=r.Message.getField(this,1)},proto.ord.Data.prototype.getIntegerValue=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.ord.Data.prototype.setIntegerValue=function(e){return r.Message.setOneofField(this,2,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearIntegerValue=function(){return r.Message.setOneofField(this,2,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasIntegerValue=function(){return null!=r.Message.getField(this,2)},proto.ord.Data.prototype.getBytesValue=function(){return r.Message.getFieldWithDefault(this,3,"")},proto.ord.Data.prototype.getBytesValue_asB64=function(){return r.Message.bytesAsB64(this.getBytesValue())},proto.ord.Data.prototype.getBytesValue_asU8=function(){return r.Message.bytesAsU8(this.getBytesValue())},proto.ord.Data.prototype.setBytesValue=function(e){return r.Message.setOneofField(this,3,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearBytesValue=function(){return r.Message.setOneofField(this,3,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasBytesValue=function(){return null!=r.Message.getField(this,3)},proto.ord.Data.prototype.getStringValue=function(){return r.Message.getFieldWithDefault(this,4,"")},proto.ord.Data.prototype.setStringValue=function(e){return r.Message.setOneofField(this,4,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearStringValue=function(){return r.Message.setOneofField(this,4,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasStringValue=function(){return null!=r.Message.getField(this,4)},proto.ord.Data.prototype.getUrl=function(){return r.Message.getFieldWithDefault(this,5,"")},proto.ord.Data.prototype.setUrl=function(e){return r.Message.setOneofField(this,5,proto.ord.Data.oneofGroups_[0],e)},proto.ord.Data.prototype.clearUrl=function(){return r.Message.setOneofField(this,5,proto.ord.Data.oneofGroups_[0],void 0)},proto.ord.Data.prototype.hasUrl=function(){return null!=r.Message.getField(this,5)},proto.ord.Data.prototype.getDescription=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.ord.Data.prototype.setDescription=function(e){return r.Message.setProto3StringField(this,6,e)},proto.ord.Data.prototype.getFormat=function(){return r.Message.getFieldWithDefault(this,7,"")},proto.ord.Data.prototype.setFormat=function(e){return r.Message.setProto3StringField(this,7,e)},n.object.extend(t,proto.ord)}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(o.exports,o,o.exports,__webpack_require__),o.exports}__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var __webpack_exports__=__webpack_require__(237)})();
|