@fonoster/sdk 0.6.0 → 0.6.1-alpha.0
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/LICENSE +21 -0
- package/README.md +358 -2
- package/dist/node/Applications.d.ts +206 -0
- package/dist/node/Applications.js +267 -0
- package/dist/node/client/AbstractClient.d.ts +22 -0
- package/dist/node/client/AbstractClient.js +86 -0
- package/dist/node/client/Client.d.ts +15 -0
- package/dist/node/client/Client.js +61 -0
- package/dist/node/client/TokenRefresherNode.d.ts +8 -0
- package/dist/node/client/TokenRefresherNode.js +43 -0
- package/dist/node/client/TokenRefresherWeb.d.ts +13 -0
- package/dist/node/client/TokenRefresherWeb.js +44 -0
- package/dist/node/client/isJwtExpired.d.ts +2 -0
- package/dist/node/client/isJwtExpired.js +38 -0
- package/dist/node/client/jsonToObject.d.ts +8 -0
- package/dist/node/client/jsonToObject.js +32 -0
- package/dist/node/client/makeRpcRequest.d.ts +11 -0
- package/dist/node/client/makeRpcRequest.js +45 -0
- package/dist/node/client/objectToJson.d.ts +3 -0
- package/dist/node/client/objectToJson.js +33 -0
- package/dist/node/client/types.d.ts +26 -0
- package/dist/node/client/types.js +2 -0
- package/dist/node/client/utils.d.ts +5 -0
- package/dist/node/client/utils.js +18 -0
- package/dist/node/generated/node/acls.ts +1054 -0
- package/dist/node/generated/node/acls_grpc_pb.js +200 -0
- package/dist/node/generated/node/acls_pb.js +2063 -0
- package/dist/node/generated/node/agents.ts +1388 -0
- package/dist/node/generated/node/agents_grpc_pb.js +202 -0
- package/dist/node/generated/node/agents_pb.js +2403 -0
- package/dist/node/generated/node/applications.ts +1411 -0
- package/dist/node/generated/node/applications_grpc_pb.js +201 -0
- package/dist/node/generated/node/applications_pb.js +2651 -0
- package/dist/node/generated/node/calls.ts +1123 -0
- package/dist/node/generated/node/calls_grpc_pb.js +169 -0
- package/dist/node/generated/node/calls_pb.js +1916 -0
- package/dist/node/generated/node/credentials.ts +1054 -0
- package/dist/node/generated/node/credentials_grpc_pb.js +200 -0
- package/dist/node/generated/node/credentials_pb.js +1928 -0
- package/dist/node/generated/node/domains.ts +1144 -0
- package/dist/node/generated/node/domains_grpc_pb.js +200 -0
- package/dist/node/generated/node/domains_pb.js +2170 -0
- package/dist/node/generated/node/google/protobuf/empty.ts +48 -0
- package/dist/node/generated/node/google/protobuf/struct.ts +408 -0
- package/dist/node/generated/node/identity.ts +4267 -0
- package/dist/node/generated/node/identity_grpc_pb.js +761 -0
- package/dist/node/generated/node/identity_pb.js +8058 -0
- package/dist/node/generated/node/numbers.ts +1371 -0
- package/dist/node/generated/node/numbers_grpc_pb.js +201 -0
- package/dist/node/generated/node/numbers_pb.js +2470 -0
- package/dist/node/generated/node/secrets.ts +985 -0
- package/dist/node/generated/node/secrets_grpc_pb.js +200 -0
- package/dist/node/generated/node/secrets_pb.js +1838 -0
- package/dist/node/generated/node/trunks.ts +1546 -0
- package/dist/node/generated/node/trunks_grpc_pb.js +202 -0
- package/dist/node/generated/node/trunks_pb.js +2777 -0
- package/dist/node/generated/web/AclsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/AgentsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/ApplicationsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/CallsServiceClientPb.ts +194 -0
- package/dist/node/generated/web/CredentialsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/DomainsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/IdentityServiceClientPb.ts +990 -0
- package/dist/node/generated/web/NumbersServiceClientPb.ts +258 -0
- package/dist/node/generated/web/SecretsServiceClientPb.ts +258 -0
- package/dist/node/generated/web/TrunksServiceClientPb.ts +258 -0
- package/dist/node/generated/web/acls.ts +1054 -0
- package/dist/node/generated/web/acls_pb.d.ts +246 -0
- package/dist/node/generated/web/acls_pb.js +2063 -0
- package/dist/node/generated/web/agents.ts +1388 -0
- package/dist/node/generated/web/agents_pb.d.ts +300 -0
- package/dist/node/generated/web/agents_pb.js +2403 -0
- package/dist/node/generated/web/applications.ts +1411 -0
- package/dist/node/generated/web/applications_pb.d.ts +322 -0
- package/dist/node/generated/web/applications_pb.js +2651 -0
- package/dist/node/generated/web/calls.ts +1123 -0
- package/dist/node/generated/web/calls_pb.d.ts +262 -0
- package/dist/node/generated/web/calls_pb.js +1916 -0
- package/dist/node/generated/web/credentials.ts +1054 -0
- package/dist/node/generated/web/credentials_pb.d.ts +234 -0
- package/dist/node/generated/web/credentials_pb.js +1928 -0
- package/dist/node/generated/web/domains.ts +1144 -0
- package/dist/node/generated/web/domains_pb.d.ts +260 -0
- package/dist/node/generated/web/domains_pb.js +2170 -0
- package/dist/node/generated/web/google/protobuf/empty.ts +48 -0
- package/dist/node/generated/web/google/protobuf/struct.ts +408 -0
- package/dist/node/generated/web/identity.ts +4267 -0
- package/dist/node/generated/web/identity_pb.d.ts +973 -0
- package/dist/node/generated/web/identity_pb.js +8058 -0
- package/dist/node/generated/web/numbers.ts +1371 -0
- package/dist/node/generated/web/numbers_pb.d.ts +305 -0
- package/dist/node/generated/web/numbers_pb.js +2470 -0
- package/dist/node/generated/web/secrets.ts +985 -0
- package/dist/node/generated/web/secrets_pb.d.ts +222 -0
- package/dist/node/generated/web/secrets_pb.js +1838 -0
- package/dist/node/generated/web/trunks.ts +1546 -0
- package/dist/node/generated/web/trunks_pb.d.ts +338 -0
- package/dist/node/generated/web/trunks_pb.js +2777 -0
- package/dist/node/node.d.ts +2 -0
- package/dist/node/node.js +36 -0
- package/dist/node/tsconfig.node.tsbuildinfo +1 -0
- package/dist/node/utils.d.ts +22 -0
- package/dist/node/utils.js +55 -0
- package/dist/web/fonoster.min.js +1 -0
- package/dist/web/index.esm.js +1 -0
- package/package.json +23 -11
- package/dist/fonoster.min.js +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.esm.js +0 -1
- package/dist/index.js +0 -1
- package/dist/printHello.d.ts +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function __awaiter(e,t,o,r){return new(o||(o=Promise))((function(i,n){function s(e){try{p(r.next(e))}catch(e){n(e)}}function a(e){try{p(r.throw(e))}catch(e){n(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}p((r=r.apply(e,t||[])).next())}))}function isMapping(e,t){return null==t?void 0:t.some((t=>t[0]===e))}function getEnumValue(e,t,o){const r=o.find((t=>t[0]===e));return r?r[1][t]:0}function getEnumKey(e,t,o){const r=o.find((t=>t[0]===e));return Object.keys(r[1]).find((e=>r[1][e]===t))||""}function jsonToObject(e){const{json:t,objectConstructor:o,enumMapping:r,objectMapping:i}=e,n=new o;return Object.keys(t).forEach((e=>{const o=`set${e.charAt(0).toUpperCase()+e.slice(1)}`;if(t[e])if(isMapping(e,r)){const i=getEnumValue(e,t[e],r);n[o](i)}else if(isMapping(e,i)){const s=jsonToObject({json:t[e],objectConstructor:i.find((t=>t[0]===e))[1],enumMapping:r,objectMapping:i});n[o](s)}else"function"==typeof n[o]&&n[o](t[e])})),n}function objectToJson(e,t,o){const r={};return Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((i=>{if(i.startsWith("get")&&"function"==typeof e[i]&&"getPrototypeOf"!==i){const n=i.charAt(3).toLowerCase()+i.slice(4);try{const s=e[i]();if(isMapping(n,t))r[n]=getEnumKey(n,s,t);else if(isMapping(n,o)){const e=n.slice(0,-4);r[e]=s.map((e=>objectToJson(e)))}else void 0!==s&&(r[n]=s)}catch(e){}}})),r}function makeRpcRequest(e){const{method:t,requestPBObjectConstructor:o,metadata:r,request:i,enumMapping:n,objectMapping:s,repeatableObjectMapping:a}=e,p=jsonToObject({json:i,objectConstructor:o,enumMapping:n,objectMapping:s});return new Promise(((e,o)=>{t(p,r,((t,r)=>{if(t)return void o(t);const i=objectToJson(r,null,a);e(i)}))}))}"function"==typeof SuppressedError&&SuppressedError;var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},identity_pb$1={},googleProtobuf={};(function(exports){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(e,t,o){e instanceof String&&(e=String(e));for(var r=e.length,i=0;i<r;i++){var n=e[i];if(t.call(o,n,i,e))return{i:i,v:n}}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!==commonjsGlobal&&null!=commonjsGlobal?commonjsGlobal:e},$jscomp.global=$jscomp.getGlobal(commonjsGlobal),$jscomp.polyfill=function(e,t,o,r){if(t){for(o=$jscomp.global,e=e.split("."),r=0;r<e.length-1;r++){var i=e[r];i in o||(o[i]={}),o=o[i]}(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,i=e.length;t=Math.max(0,Math.min(0|t,o.length));for(var n=0;n<i&&t<r;)if(o[t++]!=e[n++])return!1;return n>=i}}),"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=commonjsGlobal||self,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||void 0===t?o=o[r]&&o[r]!==Object.prototype[r]?o[r]:o[r]={}:o[r]=t},goog.define=function(e,t){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=!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.");goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){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("string"!=typeof 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.");goog.moduleLoaderState_.moduleName=e},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){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(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(e){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){},goog.getObjectByName=function(e,t){e=e.split("."),t=t||goog.global;for(var o=0;o<e.length;o++)if(null==(t=t[e[o]]))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){},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){},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.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("string"!=typeof 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("string"!=typeof 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 i=r.transpile;if(!i){var n=goog.basePath+goog.TRANSPILER,s=goog.loadFileSync_(n);if(s){if(function(){(0,eval)(s+"\n//# sourceURL="+n)}.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,i=(r=goog.global.$jscomp).transpile}}return i||(i=r.transpile=function(e,t){return goog.logToConsole_(t+" requires transpilation but no transpiler was found."),e}),i(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.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 Object.prototype.hasOwnProperty.call(e,goog.UID_PROPERTY_)&&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},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 i=Array(arguments.length-2),n=2;n<arguments.length;n++)i[n-2]=arguments[n];return t.prototype[o].apply(e,i)}},goog.scope=function(e){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");e.call(goog.global)},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){},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",goog.TRUSTED_TYPES_POLICY_NAME="",goog.identity_=function(e){return e},goog.createTrustedTypesPolicy=function(e){var t=null,o=goog.global.trustedTypes||goog.global.TrustedTypes;if(!o||!o.createPolicy)return t;try{t=o.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,i={};for(r in e)t.call(o,e[r],r,e)&&(i[r]=e[r]);return i},goog.object.map=function(e,t,o){var r,i={};for(r in e)i[r]=t.call(o,e[r],r,e);return i},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,i=1;i<arguments.length;i++){for(o in r=arguments[i])e[o]=r[o];for(var n=0;n<goog.object.PROTOTYPE_FIELDS_.length;n++)o=goog.object.PROTOTYPE_FIELDS_[n],Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}},goog.object.create=function(e){var t=arguments.length;if(1==t&&Array.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&&Array.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 i=Object.getOwnPropertyNames(e),n=0;n<i.length;n++)r[i[n]]=!0;e=Object.getPrototypeOf(e)}return goog.object.getKeys(r)},goog.object.getSuperClass=function(e){return(e=Object.getPrototypeOf(e.prototype))&&e.constructor};var jspb={asserts:{}};jspb.asserts.doAssertFailure=function(e,t,o,r){var i="Assertion failed";if(o){i+=": "+o;var n=r}else e&&(i+=": "+e,n=t);throw Error(""+i,n||[])},jspb.asserts.assert=function(e,t,o){for(var r=[],i=2;i<arguments.length;++i)r[i-2]=arguments[i];return e||jspb.asserts.doAssertFailure("",null,t,r),e},jspb.asserts.assertString=function(e,t,o){for(var r=[],i=2;i<arguments.length;++i)r[i-2]=arguments[i];return"string"!=typeof e&&jspb.asserts.doAssertFailure("Expected string but got %s: %s.",[goog.typeOf(e),e],t,r),e},jspb.asserts.assertArray=function(e,t,o){for(var r=[],i=2;i<arguments.length;++i)r[i-2]=arguments[i];return Array.isArray(e)||jspb.asserts.doAssertFailure("Expected array but got %s: %s.",[goog.typeOf(e),e],t,r),e},jspb.asserts.fail=function(e,t){for(var o=[],r=1;r<arguments.length;++r)o[r-1]=arguments[r];throw Error("Failure"+(e?": "+e:""),o)},jspb.asserts.assertInstanceof=function(e,t,o,r){for(var i=[],n=3;n<arguments.length;++n)i[n-3]=arguments[n];return e instanceof t||jspb.asserts.doAssertFailure("Expected instanceof %s but got %s.",[jspb.asserts.getType(t),jspb.asserts.getType(e)],o,i),e},jspb.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},jspb.BinaryConstants={},jspb.ConstBinaryMessage=function(){},jspb.BinaryMessage=function(){},jspb.BinaryConstants.FieldType={INVALID:-1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18,FHASH64:30,VHASH64:31},jspb.BinaryConstants.WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5},jspb.BinaryConstants.FieldTypeToWireType=function(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.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,i=0;i<r;i++)o+=e[i]+(i<t.length?t[i]:"%s");return o+e[r]},goog.asserts.doAssertFailure_=function(e,t,o,r){var i="Assertion failed";if(o){i+=": "+o;var n=r}else e&&(i+=": "+e,n=t);e=new goog.asserts.AssertionError(""+i,n||[]),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&&"number"!=typeof 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&&"string"!=typeof 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&&!Array.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&&"boolean"!=typeof 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},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,"string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.indexOf(t,o);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)),"string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.lastIndexOf(t,o);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,i="string"==typeof e?e.split(""):e,n=0;n<r;n++)n in i&&t.call(o,i[n],n,e)},goog.array.forEachRight=function(e,t,o){var r=e.length,i="string"==typeof e?e.split(""):e;for(--r;0<=r;--r)r in i&&t.call(o,i[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,i=[],n=0,s="string"==typeof e?e.split(""):e,a=0;a<r;a++)if(a in s){var p=s[a];t.call(o,p,a,e)&&(i[n++]=p)}return i},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,i=Array(r),n="string"==typeof e?e.split(""):e,s=0;s<r;s++)s in n&&(i[s]=t.call(o,n[s],s,e));return i},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 i=o;return goog.array.forEach(e,(function(o,n){i=t.call(r,i,o,n,e)})),i},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 i=o;return goog.array.forEachRight(e,(function(o,n){i=t.call(r,i,o,n,e)})),i},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,i="string"==typeof e?e.split(""):e,n=0;n<r;n++)if(n in i&&t.call(o,i[n],n,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,i="string"==typeof e?e.split(""):e,n=0;n<r;n++)if(n in i&&!t.call(o,i[n],n,e))return!1;return!0},goog.array.count=function(e,t,o){var r=0;return goog.array.forEach(e,(function(e,i,n){t.call(o,e,i,n)&&++r}),o),r},goog.array.find=function(e,t,o){return 0>(t=goog.array.findIndex(e,t,o))?null:"string"==typeof e?e.charAt(t):e[t]},goog.array.findIndex=function(e,t,o){for(var r=e.length,i="string"==typeof e?e.split(""):e,n=0;n<r;n++)if(n in i&&t.call(o,i[n],n,e))return n;return-1},goog.array.findRight=function(e,t,o){return 0>(t=goog.array.findIndexRight(e,t,o))?null:"string"==typeof e?e.charAt(t):e[t]},goog.array.findIndexRight=function(e,t,o){var r=e.length,i="string"==typeof e?e.split(""):e;for(--r;0<=r;r--)if(r in i&&t.call(o,i[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(!Array.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(i,n){t.call(o,i,n,e)&&goog.array.removeAt(e,n)&&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 i=e.length||0,n=r.length||0;e.length=i+n;for(var s=0;s<n;s++)e[i+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 i=0,n=0;n<e.length;){var s=e[n++],a=o(s);Object.prototype.hasOwnProperty.call(r,a)||(r[a]=!0,t[i++]=s)}t.length=i},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,i){for(var n,s=0,a=e.length;s<a;){var p=s+(a-s>>>1),g=o?t.call(i,e[p],p,e):t(r,e[p]);0<g?s=p+1:(a=p,n=!g)}return n?s:-s-1},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 i=t||goog.array.defaultCompare;for(goog.array.sort(o,(function(e,t){return i(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 i=t(e[r-1],e[r]);if(0<i||0==i&&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 i=0;i<r;i++)if(!o(e[i],t[i]))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),i=0;i<r;i++){var n=o(e[i],t[i]);if(0!=n)return n}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={},i=0;i<e.length;i++){var n=e[i],s=t.call(o,n,i,e);void 0!==s&&(r[s]||(r[s]=[])).push(n)}return r},goog.array.toObject=function(e,t,o){var r={};return goog.array.forEach(e,(function(i,n){r[t.call(o,i,n,e)]=i})),r},goog.array.range=function(e,t,o){var r=[],i=0,n=e;if(void 0!==t&&(i=e,n=t),0>(o=o||1)*(n-i))return[];if(0<o)for(e=i;e<n;e+=o)r.push(e);else for(e=i;e>n;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(Array.isArray(r))for(var i=0;i<r.length;i+=8192){var n=goog.array.slice(r,i,i+8192);n=goog.array.flatten.apply(null,n);for(var s=0;s<n.length;s++)t.push(n[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 i=[],n=0;n<arguments.length;n++)i.push(arguments[n][r]);t.push(i)}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)),i=e[o];e[o]=e[r],e[r]=i}},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 i=e.charCodeAt(r);255<i&&(t[o++]=255&i,i>>=8),t[o++]=i}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 i=e.charCodeAt(r);128>i?t[o++]=i:(2048>i?t[o++]=i>>6|192:(55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[o++]=i>>18|240,t[o++]=i>>12&63|128):t[o++]=i>>12|224,t[o++]=i>>6&63|128),t[o++]=63&i|128)}return t},goog.crypt.utf8ByteArrayToString=function(e){for(var t=[],o=0,r=0;o<e.length;){var i=e[o++];if(128>i)t[r++]=String.fromCharCode(i);else if(191<i&&224>i){var n=e[o++];t[r++]=String.fromCharCode((31&i)<<6|63&n)}else if(239<i&&365>i){n=e[o++];var s=e[o++];i=((7&i)<<18|(63&n)<<12|(63&s)<<6|63&e[o++])-65536,t[r++]=String.fromCharCode(55296+(i>>10)),t[r++]=String.fromCharCode(56320+(1023&i))}else n=e[o++],s=e[o++],t[r++]=String.fromCharCode((15&i)<<12|(63&n)<<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(i){goog.global.clearTimeout(r);var n=arguments;r=goog.global.setTimeout((function(){e.apply(o,n)}),t)}},goog.functions.throttle=function(e,t,o){var r=0,i=!1,n=[],s=function(){r=0,i&&(i=!1,a())},a=function(){r=goog.global.setTimeout(s,t),e.apply(o,n)};return function(e){n=arguments,r?i=!0:a()}},goog.functions.rateLimit=function(e,t,o){var r=0,i=function(){r=0};return function(n){r||(r=goog.global.setTimeout(i,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.DEBUG&&(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.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(e){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(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 void 0!==goog.global.URL&&void 0!==goog.global.URL.createObjectURL?goog.global.URL:void 0!==goog.global.webkitURL&&void 0!==goog.global.webkitURL.createObjectURL?goog.global.webkitURL:void 0!==goog.global.createObjectURL?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()},goog.fs.blob={},goog.fs.blob.getBlob=function(e){var t=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==t){t=new t;for(var o=0;o<arguments.length;o++)t.append(arguments[o]);return t.getBlob()}return goog.fs.blob.getBlobWithProperties(goog.array.toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(e,t,o){var r=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(void 0!==r){r=new r;for(var i=0;i<e.length;i++)r.append(e[i],o);return r.getBlob(t)}if(void 0!==goog.global.Blob)return r={},t&&(r.type=t),o&&(r.endings=o),new Blob(e,r);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||("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,i=!1;for(e=goog.i18n.bidi.stripHtmlIfNeeded_(e,t).split(goog.i18n.bidi.wordSeparatorRe_),t=0;t<e.length;t++){var n=e[t];goog.i18n.bidi.startsWithRtl(n)?(o++,r++):goog.i18n.bidi.isRequiredLtrRe_.test(n)?i=!0:goog.i18n.bidi.hasAnyLtr(n)?r++:goog.i18n.bidi.hasNumeralsRe_.test(n)&&(i=!0)}return 0==r?i?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(e,t){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=e===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",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.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.fromSafeScript=function(e){return e=goog.fs.blob.getBlobWithProperties([goog.html.SafeScript.unwrap(e)],"text/javascript"),e=goog.fs.url.createObjectUrl(e),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(e){return e=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(e):e,new goog.html.TrustedResourceUrl(goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_,e)},goog.html.TrustedResourceUrl.stringifyParams_=function(e,t,o){if(null==o)return t;if("string"==typeof o)return o?e+encodeURIComponent(o):"";for(var r in o){var i=o[r];i=Array.isArray(i)?i:[i];for(var n=0;n<i.length;n++){var s=i[n];null!=s&&(t||(t=e),t+=(t.length>e.length?"&":"")+encodeURIComponent(r)+"="+encodeURIComponent(String(s)))}}return t},goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},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),i=0;0==o&&i<r;i++){var n=e[i]||"",s=t[i]||"";do{if(n=/(\d*)(\D*)(.*)/.exec(n)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==n[0].length&&0==s[0].length)break;o=0==n[1].length?0:parseInt(n[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==n[2].length,0==s[2].length)||goog.string.internal.compareElements_(n[2],s[2]),n=n[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(e,t){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=e===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_&&t||"",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 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-matroska|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(e){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(e)},goog.html.SafeUrl.fromBlob=function(e){return e=goog.html.SafeUrl.isSafeMimeType(e.type)?goog.fs.url.createObjectUrl(e):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromMediaSource=function(e){return goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource"),e=e instanceof MediaSource?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.SafeUrl.isSafeMimeType(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){return new goog.html.SafeUrl(goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_,e)},goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_={},goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_="",this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyle.fromConstant=function(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=Array.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 i=e.charAt(r);"'"==i&&o?t=!t:'"'==i&&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 i=e.charAt(r);if("]"==i){if(t)return!1;t=!0}else if("["==i){if(!t)return!1;t=!1}else if(!t&&!o.test(i))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.ALLOWED_FUNCTIONS_="calc cubic-bezier fit-content hsl hsla linear-gradient matrix minmax repeat rgb rgba (rotate|scale|translate)(X|Y|Z|3d)?".split(" "),goog.html.SafeStyle.FUNCTIONS_RE_=new RegExp("\\b("+goog.html.SafeStyle.ALLOWED_FUNCTIONS_.join("|")+")\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(e){return e.replace(goog.html.SafeStyle.URL_RE_,(function(e,t,o,r){var i="";return o=o.replace(/^(['"])(.*)\1$/,(function(e,t,o){return i=t,o})),e=goog.html.SafeUrl.sanitize(o).getTypedStringValue(),t+i+e+i+r}))},goog.html.SafeStyle.concat=function(e){var t="",o=function(e){Array.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 i=e[r];if(t[i])o.push(t[i]);else if(goog.object.contains(t,i)&&o.pop()!=i)return!1}return 0==o.length},goog.html.SafeStyleSheet.concat=function(e){var t="",o=function(e){Array.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","HeadlessChrome"]):(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.ENABLE_ERROR_MESSAGES=goog.DEBUG,goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0,goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(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.comment=function(e){return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("\x3c!--"+goog.string.internal.htmlEscape(e)+"--\x3e",null)},goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.html.SafeHtml.create=function(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(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Invalid tag name <"+e+">.":"");if(e.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+e+"> is not allowed for SafeHtml.":"")},goog.html.SafeHtml.createIframe=function(e,t,o,r){e&&goog.html.TrustedResourceUrl.unwrap(e);var i={};return i.src=e||null,i.srcdoc=t&&goog.html.SafeHtml.unwrap(t),e=goog.html.SafeHtml.combineAttributes(i,{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(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var i={};return i.src=e?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(e)):null,i.srcdoc=t||null,i.sandbox="",e=goog.html.SafeHtml.combineAttributes(i,{},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(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'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()){if(!goog.html.SafeHtml.SUPPORT_STYLE_ATTRIBUTE)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"");o=goog.html.SafeHtml.getStyleValue_(o)}else{if(/^on/i.test(t))throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'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("string"!=typeof o)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'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("string"==typeof o||"number"==typeof 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(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'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=[],i=function(e){Array.isArray(e)?goog.array.forEach(e,i):(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,i),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,i="<"+e+goog.html.SafeHtml.stringifyAttributes(e,t);return null==o?o=[]:Array.isArray(o)||(o=[o]),goog.dom.tags.isVoidTag(e.toLowerCase())?(goog.asserts.assert(!o.length,"Void tag <"+e+"> does not allow content."),i+=">"):(r=goog.html.SafeHtml.concat(o),i+=">"+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(i,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(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+r+'".':"");var i=t[r];null!=i&&(o+=" "+goog.html.SafeHtml.getAttrNameAndValue_(e,r,i))}return o},goog.html.SafeHtml.combineAttributes=function(e,t,o){var r,i={};for(r in e)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),i[r]=e[r];for(r in t)goog.asserts.assert(r.toLowerCase()==r,"Must be lower case"),i[r]=t[r];if(o)for(r in o){var n=r.toLowerCase();if(n in e)throw Error(goog.html.SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot override "'+n+'" attribute, got "'+r+'" with value "'+o[r]+'"':"");n in t&&delete i[n],i[r]=o[r]}return i},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.unwrap(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.unwrap(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.unwrap(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.unwrap(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.unwrap(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.unwrap(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.unwrap(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.unwrap(t)},goog.dom.safe.setIframeSrc=function(e,t){goog.dom.asserts.assertIsHTMLIFrameElement(e),e.src=goog.html.TrustedResourceUrl.unwrap(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.unwrap(t)):e.href=t instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(t):t instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(t):goog.html.SafeUrl.unwrap(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.unwrap(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.unwrap(t))},goog.dom.safe.replaceLocation=function(e,t){t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),e.replace(goog.html.SafeUrl.unwrap(t))},goog.dom.safe.openInWindow=function(e,t,o,r,i){return e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t=t||goog.global,o=o instanceof goog.string.Const?goog.string.Const.unwrap(o):o||"",t.open(goog.html.SafeUrl.unwrap(e),o,r,i)},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="",i=Array.prototype.slice.call(arguments,1);i.length&&1<o.length;)r+=o.shift()+i.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),i=t.toLowerCase().match(o),n=Math.min(r.length,i.length),s=0;s<n;s++){o=r[s];var a=i[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!=i.length?r.length-i.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 i=o[e];return i||("#"==t.charAt(0)&&(t=Number("0"+t.substr(1)),isNaN(t)||(i=String.fromCharCode(t))),i||(goog.dom.safe.setInnerHtml(r,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),e+" ")),i=r.firstChild.nodeValue.slice(0,-1)),o[e]=i)}))},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 i=1==o?t:t.charAt(r);if(e.charAt(0)==i&&e.charAt(e.length-1)==i)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 i=e.length-r;e=e.substring(0,t-r)+"..."+e.substring(i)}else e.length>t&&(r=Math.floor(t/2),i=e.length-r,e=e.substring(0,r+t%2)+"..."+e.substring(i));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),i=r.charCodeAt(0);t[o+1]=goog.string.specialEscapeChars_[r]||(31<i&&127>i?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=void 0!==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="string"==typeof 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)),"string"==typeof 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 i=e.lastIndexOf(t[r]);i>o&&(o=i)}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 i=0;i<t.length+1;i++)o[i]=i;for(i=0;i<e.length;i++){r[0]=i+1;for(var n=0;n<t.length;n++)r[n+1]=Math.min(r[n]+1,o[n+1]+1,o[n]+Number(e[i]!=t[n]));for(n=0;n<o.length;n++)o[n]=r[n]}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.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.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.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){var e=goog.userAgent.getDocumentMode_();return e||(parseInt(goog.userAgent.VERSION,10)||void 0)}}(),goog.userAgent.product={},goog.userAgent.product.ASSUME_FIREFOX=!1,goog.userAgent.product.ASSUME_IPHONE=!1,goog.userAgent.product.ASSUME_IPAD=!1,goog.userAgent.product.ASSUME_ANDROID=!1,goog.userAgent.product.ASSUME_CHROME=!1,goog.userAgent.product.ASSUME_SAFARI=!1,goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI,goog.userAgent.product.OPERA=goog.userAgent.OPERA,goog.userAgent.product.IE=goog.userAgent.IE,goog.userAgent.product.EDGE=goog.userAgent.EDGE,goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox(),goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()},goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_(),goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser(),goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome(),goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!goog.labs.userAgent.platform.isIos()},goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_(),goog.crypt.base64={},goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=",goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.",goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4},goog.crypt.base64.paddingChars_="=.",goog.crypt.base64.isPadding_=function(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 i=e[r],n=r+1<e.length,s=n?e[r+1]:0,a=r+2<e.length,p=a?e[r+2]:0,g=i>>2;i=(3&i)<<4|s>>4,s=(15&s)<<2|p>>6,p&=63,a||(p=64,n||(s=64)),o.push(t[g],t[i],t[s]||"",t[p]||"")}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),i=0;return goog.crypt.base64.decodeStringInternal_(e,(function(e){r[i++]=e})),r.subarray(0,i)},goog.crypt.base64.decodeStringInternal_=function(e,t){function o(t){for(;r<e.length;){var o=e.charAt(r++),i=goog.crypt.base64.charToByteMap_[o];if(null!=i)return i;if(!goog.string.isEmptyOrWhitespace(o))throw Error("Unknown base64 encoding at char: "+o)}return t}goog.crypt.base64.init_();for(var r=0;;){var i=o(-1),n=o(0),s=o(64),a=o(64);if(64===a&&-1===i)break;t(i<<2|n>>4),64!=s&&(t(n<<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 i=0;i<r.length;i++){var n=r[i],s=goog.crypt.base64.charToByteMap_[n];void 0===s?goog.crypt.base64.charToByteMap_[n]=i:goog.asserts.assert(s===i)}}}},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=1+(~o>>>0))&&(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),i=e.charCodeAt(3),n=e.charCodeAt(4),s=e.charCodeAt(5),a=e.charCodeAt(6);e=e.charCodeAt(7),jspb.utils.split64Low=t+(o<<8)+(r<<16)+(i<<24)>>>0,jspb.utils.split64High=n+(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}jspb.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],i=0;i<e.length;i++)t(10,e.charCodeAt(i)-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(),jspb.asserts.assert(18==e.length),jspb.asserts.assert("0"==e[0]),jspb.asserts.assert("x"==e[1]);for(var t="",o=0;8>o;o++){var r=jspb.utils.fromHexCharCode_(e.charCodeAt(2*o+2)),i=jspb.utils.fromHexCharCode_(e.charCodeAt(2*o+3));t=String.fromCharCode(16*r+i)+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,i=t;i<o;i++)r+=e[i]>>7;return o-t-r},jspb.utils.countVarintFields=function(e,t,o,r){var i=0;if(128>(r=8*r+jspb.BinaryConstants.WireType.VARINT))for(;t<o&&e[t++]==r;)for(i++;;){var n=e[t++];if(!(128&n))break}else for(;t<o;){for(n=r;128<n;){if(e[t]!=(127&n|128))return i;t++,n>>=7}if(e[t++]!=n)break;for(i++;128&(n=e[t++]););}return i},jspb.utils.countFixedFields_=function(e,t,o,r,i){var n=0;if(128>r)for(;t<o&&e[t++]==r;)n++,t+=i;else for(;t<o;){for(var s=r;128<s;){if(e[t++]!=(127&s|128))return n;s>>=7}if(e[t++]!=s)break;n++,t+=i}return n},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 i=0;for(r=8*r+jspb.BinaryConstants.WireType.DELIMITED;t<o;){for(var n=r;128<n;){if(e[t++]!=(127&n|128))return i;n>>=7}if(e[t++]!=n)break;i++;for(var s=0,a=1;s+=(127&(n=e[t++]))*a,a*=128,128&n;);t+=s}return i},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||e.constructor===Array?new Uint8Array(e):e.constructor===String?goog.crypt.base64.decodeStringToUint8Array(e):e instanceof Uint8Array?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):(jspb.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,jspb.asserts.assert(this.cursor_<=this.end_)},jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_},jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_},jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_},jspb.BinaryDecoder.prototype.readSplitVarint64=function(e){for(var t=128,o=0,r=0,i=0;4>i&&128<=t;i++)o|=(127&(t=this.bytes_[this.cursor_++]))<<7*i;if(128<=t&&(o|=(127&(t=this.bytes_[this.cursor_++]))<<28,r|=(127&t)>>4),128<=t)for(i=0;5>i&&128<=t;i++)r|=(127&(t=this.bytes_[this.cursor_++]))<<7*i+3;if(128>t)return e(o>>>0,r>>>0);jspb.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,i=0,n=o+7;n>=o;n--)r=r<<8|t[n],i=i<<8|t[n+4];return e(r,i)},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,jspb.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+1]))<<7,128>t?(this.cursor_+=2,jspb.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+2]))<<14,128>t?(this.cursor_+=3,jspb.asserts.assert(this.cursor_<=this.end_),o):(o|=(127&(t=e[this.cursor_+3]))<<21,128>t?(this.cursor_+=4,jspb.asserts.assert(this.cursor_<=this.end_),o):(o|=(15&(t=e[this.cursor_+4]))<<28,128>t?(this.cursor_+=5,jspb.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_++]&&jspb.asserts.assert(!1),jspb.asserts.assert(this.cursor_<=this.end_),o)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=function(){return~~this.readUnsignedVarint32()},jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()},jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()},jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var 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,jspb.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,jspb.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,jspb.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,jspb.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,jspb.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,jspb.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=[],i="";o<e;){var n=t[o++];if(128>n)r.push(n);else{if(192>n)continue;if(224>n){var s=t[o++];r.push((31&n)<<6|63&s)}else if(240>n){s=t[o++];var a=t[o++];r.push((15&n)<<12|(63&s)<<6|63&a)}else if(248>n){n=(7&n)<<18|(63&(s=t[o++]))<<12|(63&(a=t[o++]))<<6|63&t[o++],n-=65536,r.push(55296+(n>>10&1023),56320+(1023&n))}}8192<=r.length&&(i+=String.fromCharCode.apply(null,r),r.length=0)}return i+=goog.crypt.byteArrayToString(r),this.cursor_=o,i},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,jspb.asserts.fail("Invalid byte length!"),new Uint8Array(0);var t=this.bytes_.subarray(this.cursor_,this.cursor_+e);return this.cursor_+=e,jspb.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],i=e[t+2],n=e[t+3],s=e[t+4],a=e[t+5],p=e[t+6];return e=e[t+7],this.cursor_+=8,String.fromCharCode(o,r,i,n,s,a,p,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_},goog.exportProperty(jspb.BinaryReader.prototype,"getFieldNumber",jspb.BinaryReader.prototype.getFieldNumber),jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},goog.exportProperty(jspb.BinaryReader.prototype,"isDelimited",jspb.BinaryReader.prototype.isDelimited),jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},goog.exportProperty(jspb.BinaryReader.prototype,"isEndGroup",jspb.BinaryReader.prototype.isEndGroup),jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(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 jspb.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?(jspb.asserts.fail("Invalid wire type: %s (at position %s)",e,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=t,this.nextWireType_=e,!0)},goog.exportProperty(jspb.BinaryReader.prototype,"nextField",jspb.BinaryReader.prototype.nextField),jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var 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?(jspb.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)jspb.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var e=this.decoder_.readUnsignedVarint32();this.decoder_.advance(e)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(jspb.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(jspb.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){for(var e=this.nextField_;;){if(!this.nextField()){jspb.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=e&&(jspb.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:jspb.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(e,t){null===this.readCallbacks_&&(this.readCallbacks_={}),jspb.asserts.assert(!this.readCallbacks_[e]),this.readCallbacks_[e]=t},jspb.BinaryReader.prototype.runReadCallback=function(e){return jspb.asserts.assert(null!==this.readCallbacks_),e=this.readCallbacks_[e],jspb.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:jspb.asserts.fail("Group field type not supported in readAny()");case t.MESSAGE:jspb.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:jspb.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(e,t){jspb.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)},goog.exportProperty(jspb.BinaryReader.prototype,"readMessage",jspb.BinaryReader.prototype.readMessage),jspb.BinaryReader.prototype.readGroup=function(e,t,o){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),jspb.asserts.assert(this.nextField_==e),o(t,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(jspb.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},goog.exportProperty(jspb.BinaryReader.prototype,"readGroup",jspb.BinaryReader.prototype.readGroup),jspb.BinaryReader.prototype.getFieldDecoder=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var 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 jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt32",jspb.BinaryReader.prototype.readInt32),jspb.BinaryReader.prototype.readInt32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readInt64",jspb.BinaryReader.prototype.readInt64),jspb.BinaryReader.prototype.readInt64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint32",jspb.BinaryReader.prototype.readUint32),jspb.BinaryReader.prototype.readUint32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readUint64",jspb.BinaryReader.prototype.readUint64),jspb.BinaryReader.prototype.readUint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint32",jspb.BinaryReader.prototype.readSint32),jspb.BinaryReader.prototype.readSint64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSint64",jspb.BinaryReader.prototype.readSint64),jspb.BinaryReader.prototype.readSint64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed32",jspb.BinaryReader.prototype.readFixed32),jspb.BinaryReader.prototype.readFixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readFixed64",jspb.BinaryReader.prototype.readFixed64),jspb.BinaryReader.prototype.readFixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed32",jspb.BinaryReader.prototype.readSfixed32),jspb.BinaryReader.prototype.readSfixed32String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},goog.exportProperty(jspb.BinaryReader.prototype,"readSfixed64",jspb.BinaryReader.prototype.readSfixed64),jspb.BinaryReader.prototype.readSfixed64String=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},goog.exportProperty(jspb.BinaryReader.prototype,"readFloat",jspb.BinaryReader.prototype.readFloat),jspb.BinaryReader.prototype.readDouble=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},goog.exportProperty(jspb.BinaryReader.prototype,"readDouble",jspb.BinaryReader.prototype.readDouble),jspb.BinaryReader.prototype.readBool=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},goog.exportProperty(jspb.BinaryReader.prototype,"readBool",jspb.BinaryReader.prototype.readBool),jspb.BinaryReader.prototype.readEnum=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},goog.exportProperty(jspb.BinaryReader.prototype,"readEnum",jspb.BinaryReader.prototype.readEnum),jspb.BinaryReader.prototype.readString=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(e)},goog.exportProperty(jspb.BinaryReader.prototype,"readString",jspb.BinaryReader.prototype.readString),jspb.BinaryReader.prototype.readBytes=function(){jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(e)},goog.exportProperty(jspb.BinaryReader.prototype,"readBytes",jspb.BinaryReader.prototype.readBytes),jspb.BinaryReader.prototype.readVarintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(e){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(e)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(e){return jspb.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 jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(e){return jspb.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(e)},jspb.BinaryReader.prototype.readPackedField_=function(e){jspb.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)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt32",jspb.BinaryReader.prototype.readPackedInt32),jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedInt64",jspb.BinaryReader.prototype.readPackedInt64),jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint32",jspb.BinaryReader.prototype.readPackedUint32),jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedUint64",jspb.BinaryReader.prototype.readPackedUint64),jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint32",jspb.BinaryReader.prototype.readPackedSint32),jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSint64",jspb.BinaryReader.prototype.readPackedSint64),jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed32",jspb.BinaryReader.prototype.readPackedFixed32),jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFixed64",jspb.BinaryReader.prototype.readPackedFixed64),jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed32",jspb.BinaryReader.prototype.readPackedSfixed32),jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedSfixed64",jspb.BinaryReader.prototype.readPackedSfixed64),jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedFloat",jspb.BinaryReader.prototype.readPackedFloat),jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedDouble",jspb.BinaryReader.prototype.readPackedDouble),jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedBool",jspb.BinaryReader.prototype.readPackedBool),jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},goog.exportProperty(jspb.BinaryReader.prototype,"readPackedEnum",jspb.BinaryReader.prototype.readPackedEnum),jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)},jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)},jspb.BinaryEncoder=function(){this.buffer_=[]},jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length},jspb.BinaryEncoder.prototype.end=function(){var e=this.buffer_;return this.buffer_=[],e},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(e,t){for(jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(t==Math.floor(t)),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(t==Math.floor(t)),jspb.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(e),this.writeUint32(t)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(e){for(jspb.asserts.assert(e==Math.floor(e)),jspb.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(jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=e&&256>e),this.buffer_.push(e>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(0<=e&&65536>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(-128<=e&&128>e),this.buffer_.push(e>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.asserts.assert(-32768<=e&&32768>e),this.buffer_.push(e>>>0&255),this.buffer_.push(e>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.asserts.assert(e==Math.floor(e)),jspb.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){jspb.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){jspb.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){jspb.asserts.assert("boolean"==typeof e||"number"==typeof e),this.buffer_.push(e?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(e){jspb.asserts.assert(e==Math.floor(e)),jspb.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){var t=this.buffer_.length;jspb.asserts.assertString(e);for(var 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 i=e.charCodeAt(o+1);56320<=i&&57343>=i&&(r=1024*(r-55296)+i-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,i=t>>>16;for(t=o*r+65536*(o*i&65535)+65536*((e>>>=16)*r&65535),o=e*i+(o*i>>>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 i=parseInt(e[r],10);o.lo=i,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,jspb.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(){jspb.asserts.assert(0==this.bookmarks_.length);for(var e=new Uint8Array(this.totalLength_+this.encoder_.length()),t=this.blocks_,o=t.length,r=0,i=0;i<o;i++){var n=t[i];e.set(n,r),r+=n.length}return t=this.encoder_.end(),e.set(t,r),r+=t.length,jspb.asserts.assert(r==e.length),this.blocks_=[e],e},goog.exportProperty(jspb.BinaryWriter.prototype,"getResultBuffer",jspb.BinaryWriter.prototype.getResultBuffer),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(){jspb.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(e,t){jspb.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:jspb.asserts.fail("Group field type not supported in writeAny()");break;case r.MESSAGE:jspb.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:jspb.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&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt32",jspb.BinaryWriter.prototype.writeInt32),jspb.BinaryWriter.prototype.writeInt32String=function(e,t){null!=t&&(t=parseInt(t,10),jspb.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&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeInt64",jspb.BinaryWriter.prototype.writeInt64),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&&(jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint32",jspb.BinaryWriter.prototype.writeUint32),jspb.BinaryWriter.prototype.writeUint32String=function(e,t){null!=t&&(t=parseInt(t,10),jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(e,t))},jspb.BinaryWriter.prototype.writeUint64=function(e,t){null!=t&&(jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeUint64",jspb.BinaryWriter.prototype.writeUint64),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&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint32",jspb.BinaryWriter.prototype.writeSint32),jspb.BinaryWriter.prototype.writeSint64=function(e,t){null!=t&&(jspb.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(e,t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSint64",jspb.BinaryWriter.prototype.writeSint64),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&&(jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed32",jspb.BinaryWriter.prototype.writeFixed32),jspb.BinaryWriter.prototype.writeFixed64=function(e,t){null!=t&&(jspb.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFixed64",jspb.BinaryWriter.prototype.writeFixed64),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&&(jspb.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))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed32",jspb.BinaryWriter.prototype.writeSfixed32),jspb.BinaryWriter.prototype.writeSfixed64=function(e,t){null!=t&&(jspb.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))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeSfixed64",jspb.BinaryWriter.prototype.writeSfixed64),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))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeFloat",jspb.BinaryWriter.prototype.writeFloat),jspb.BinaryWriter.prototype.writeDouble=function(e,t){null!=t&&(this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeDouble",jspb.BinaryWriter.prototype.writeDouble),jspb.BinaryWriter.prototype.writeBool=function(e,t){null!=t&&(jspb.asserts.assert("boolean"==typeof t||"number"==typeof t),this.writeFieldHeader_(e,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(t))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBool",jspb.BinaryWriter.prototype.writeBool),jspb.BinaryWriter.prototype.writeEnum=function(e,t){null!=t&&(jspb.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))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeEnum",jspb.BinaryWriter.prototype.writeEnum),jspb.BinaryWriter.prototype.writeString=function(e,t){null!=t&&(e=this.beginDelimited_(e),this.encoder_.writeString(t),this.endDelimited_(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeString",jspb.BinaryWriter.prototype.writeString),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))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeBytes",jspb.BinaryWriter.prototype.writeBytes),jspb.BinaryWriter.prototype.writeMessage=function(e,t,o){null!=t&&(e=this.beginDelimited_(e),o(t,this),this.endDelimited_(e))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeMessage",jspb.BinaryWriter.prototype.writeMessage),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))},goog.exportProperty(jspb.BinaryWriter.prototype,"writeGroup",jspb.BinaryWriter.prototype.writeGroup),jspb.BinaryWriter.prototype.writeFixedHash64=function(e,t){null!=t&&(jspb.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&&(jspb.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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt32",jspb.BinaryWriter.prototype.writeRepeatedInt32),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedInt64",jspb.BinaryWriter.prototype.writeRepeatedInt64),jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(e,t,o,r){if(null!=t)for(var i=0;i<t.length;i++)this.writeSplitFixed64(e,o(t[i]),r(t[i]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(e,t,o,r){if(null!=t)for(var i=0;i<t.length;i++)this.writeSplitVarint64(e,o(t[i]),r(t[i]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(e,t,o,r){if(null!=t)for(var i=0;i<t.length;i++)this.writeSplitZigzagVarint64(e,o(t[i]),r(t[i]))},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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint32",jspb.BinaryWriter.prototype.writeRepeatedUint32),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedUint64",jspb.BinaryWriter.prototype.writeRepeatedUint64),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint32",jspb.BinaryWriter.prototype.writeRepeatedSint32),jspb.BinaryWriter.prototype.writeRepeatedSint64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeZigzagVarint64_(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSint64",jspb.BinaryWriter.prototype.writeRepeatedSint64),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed32",jspb.BinaryWriter.prototype.writeRepeatedFixed32),jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed64(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64",jspb.BinaryWriter.prototype.writeRepeatedFixed64),jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeFixed64String(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFixed64String",jspb.BinaryWriter.prototype.writeRepeatedFixed64String),jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed32(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed32",jspb.BinaryWriter.prototype.writeRepeatedSfixed32),jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeSfixed64(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedSfixed64",jspb.BinaryWriter.prototype.writeRepeatedSfixed64),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedFloat",jspb.BinaryWriter.prototype.writeRepeatedFloat),jspb.BinaryWriter.prototype.writeRepeatedDouble=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeDouble(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedDouble",jspb.BinaryWriter.prototype.writeRepeatedDouble),jspb.BinaryWriter.prototype.writeRepeatedBool=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeBool(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBool",jspb.BinaryWriter.prototype.writeRepeatedBool),jspb.BinaryWriter.prototype.writeRepeatedEnum=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeEnum(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedEnum",jspb.BinaryWriter.prototype.writeRepeatedEnum),jspb.BinaryWriter.prototype.writeRepeatedString=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeString(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedString",jspb.BinaryWriter.prototype.writeRepeatedString),jspb.BinaryWriter.prototype.writeRepeatedBytes=function(e,t){if(null!=t)for(var o=0;o<t.length;o++)this.writeBytes(e,t[o])},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedBytes",jspb.BinaryWriter.prototype.writeRepeatedBytes),jspb.BinaryWriter.prototype.writeRepeatedMessage=function(e,t,o){if(null!=t)for(var r=0;r<t.length;r++){var i=this.beginDelimited_(e);o(t[r],this),this.endDelimited_(i)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedMessage",jspb.BinaryWriter.prototype.writeRepeatedMessage),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)},goog.exportProperty(jspb.BinaryWriter.prototype,"writeRepeatedGroup",jspb.BinaryWriter.prototype.writeRepeatedGroup),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)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt32",jspb.BinaryWriter.prototype.writePackedInt32),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)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedInt64",jspb.BinaryWriter.prototype.writePackedInt64),jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var i=0;i<t.length;i++)this.encoder_.writeSplitFixed64(o(t[i]),r(t[i]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var i=0;i<t.length;i++)this.encoder_.writeSplitVarint64(o(t[i]),r(t[i]));this.endDelimited_(e)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(e,t,o,r){if(null!=t){e=this.beginDelimited_(e);for(var i=this.encoder_,n=0;n<t.length;n++)jspb.utils.toZigzag64(o(t[n]),r(t[n]),(function(e,t){i.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)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint32",jspb.BinaryWriter.prototype.writePackedUint32),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)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedUint64",jspb.BinaryWriter.prototype.writePackedUint64),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)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint32",jspb.BinaryWriter.prototype.writePackedSint32),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)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSint64",jspb.BinaryWriter.prototype.writePackedSint64),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed32",jspb.BinaryWriter.prototype.writePackedFixed32),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFixed64",jspb.BinaryWriter.prototype.writePackedFixed64),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed32",jspb.BinaryWriter.prototype.writePackedSfixed32),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedSfixed64",jspb.BinaryWriter.prototype.writePackedSfixed64),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedFloat",jspb.BinaryWriter.prototype.writePackedFloat),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedDouble",jspb.BinaryWriter.prototype.writePackedDouble),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])},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedBool",jspb.BinaryWriter.prototype.writePackedBool),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)}},goog.exportProperty(jspb.BinaryWriter.prototype,"writePackedEnum",jspb.BinaryWriter.prototype.writePackedEnum),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_()},goog.exportSymbol("jspb.Map",jspb.Map),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_},goog.exportProperty(jspb.Map.prototype,"toArray",jspb.Map.prototype.toArray),jspb.Map.prototype.toObject=function(e,t){for(var o=this.toArray(),r=[],i=0;i<o.length;i++){var n=this.map_[o[i][0].toString()];this.wrapEntry_(n);var s=n.valueWrapper;s?(jspb.asserts.assert(t),r.push([n.key,t(e,s)])):r.push([n.key,n.value])}return r},goog.exportProperty(jspb.Map.prototype,"toObject",jspb.Map.prototype.toObject),jspb.Map.fromObject=function(e,t,o){t=new jspb.Map([],t);for(var r=0;r<e.length;r++){var i=e[r][0],n=o(e[r][1]);t.set(i,n)}return t},goog.exportProperty(jspb.Map,"fromObject",jspb.Map.fromObject),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},goog.exportProperty(jspb.Map.prototype,"getLength",jspb.Map.prototype.getLength),jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},goog.exportProperty(jspb.Map.prototype,"clear",jspb.Map.prototype.clear),jspb.Map.prototype.del=function(e){e=e.toString();var t=this.map_.hasOwnProperty(e);return delete this.map_[e],this.arrClean=!1,t},goog.exportProperty(jspb.Map.prototype,"del",jspb.Map.prototype.del),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},goog.exportProperty(jspb.Map.prototype,"getEntryList",jspb.Map.prototype.getEntryList),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)},goog.exportProperty(jspb.Map.prototype,"entries",jspb.Map.prototype.entries),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)},goog.exportProperty(jspb.Map.prototype,"keys",jspb.Map.prototype.keys),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)},goog.exportProperty(jspb.Map.prototype,"values",jspb.Map.prototype.values),jspb.Map.prototype.forEach=function(e,t){var o=this.stringKeys_();o.sort();for(var r=0;r<o.length;r++){var i=this.map_[o[r]];e.call(t,this.wrapEntry_(i),i.key,this)}},goog.exportProperty(jspb.Map.prototype,"forEach",jspb.Map.prototype.forEach),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},goog.exportProperty(jspb.Map.prototype,"set",jspb.Map.prototype.set),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)},goog.exportProperty(jspb.Map.prototype,"get",jspb.Map.prototype.get),jspb.Map.prototype.has=function(e){return e.toString()in this.map_},goog.exportProperty(jspb.Map.prototype,"has",jspb.Map.prototype.has),jspb.Map.prototype.serializeBinary=function(e,t,o,r,i){var n=this.stringKeys_();n.sort();for(var s=0;s<n.length;s++){var a=this.map_[n[s]];t.beginSubMessage(e),o.call(t,1,a.key),this.valueCtor_?r.call(t,2,this.wrapEntry_(a),i):r.call(t,2,a.value),t.endSubMessage()}},goog.exportProperty(jspb.Map.prototype,"serializeBinary",jspb.Map.prototype.serializeBinary),jspb.Map.deserializeBinary=function(e,t,o,r,i,n,s){for(;t.nextField()&&!t.isEndGroup();){var a=t.getFieldNumber();1==a?n=o.call(t):2==a&&(e.valueCtor_?(jspb.asserts.assert(i),s||(s=new e.valueCtor_),r.call(t,s,i)):s=r.call(t))}jspb.asserts.assert(null!=n),jspb.asserts.assert(null!=s),e.set(n,s)},goog.exportProperty(jspb.Map,"deserializeBinary",jspb.Map.deserializeBinary),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,i){this.fieldIndex=e,this.fieldName=t,this.ctor=o,this.toObjectFn=r,this.isRepeated=i},goog.exportSymbol("jspb.ExtensionFieldInfo",jspb.ExtensionFieldInfo),jspb.ExtensionFieldBinaryInfo=function(e,t,o,r,i,n){this.fieldInfo=e,this.binaryReaderFn=t,this.binaryWriterFn=o,this.binaryMessageSerializeFn=r,this.binaryMessageDeserializeFn=i,this.isPacked=n},goog.exportSymbol("jspb.ExtensionFieldBinaryInfo",jspb.ExtensionFieldBinaryInfo),jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},goog.exportProperty(jspb.ExtensionFieldInfo.prototype,"isMessageType",jspb.ExtensionFieldInfo.prototype.isMessageType),jspb.Message=function(){},goog.exportSymbol("jspb.Message",jspb.Message),jspb.Message.GENERATE_TO_OBJECT=!0,goog.exportProperty(jspb.Message,"GENERATE_TO_OBJECT",jspb.Message.GENERATE_TO_OBJECT),jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,goog.exportProperty(jspb.Message,"GENERATE_FROM_OBJECT",jspb.Message.GENERATE_FROM_OBJECT),jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_="function"==typeof Uint8Array,jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},goog.exportProperty(jspb.Message.prototype,"getJsPbMessageId",jspb.Message.prototype.getJsPbMessageId),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,i,n){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=i),i)for(t=0;t<i.length;t++)(o=i[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(n&&n.length)for(t=0;t<n.length;t++)jspb.Message.computeOneofCase(e,n[t])},goog.exportProperty(jspb.Message,"initialize",jspb.Message.initialize),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=[],i=0;i<e.length;i++)r[i]=t.call(e[i],o,e[i]);return r},goog.exportProperty(jspb.Message,"toObjectList",jspb.Message.toObjectList),jspb.Message.toObjectExtension=function(e,t,o,r,i){for(var n in o){var s=o[n],a=r.call(e,s);if(null!=a){for(var p in s.fieldName)if(s.fieldName.hasOwnProperty(p))break;t[p]=s.toObjectFn?s.isRepeated?jspb.Message.toObjectList(a,s.toObjectFn,i):s.toObjectFn(i,a):a}}},goog.exportProperty(jspb.Message,"toObjectExtension",jspb.Message.toObjectExtension),jspb.Message.serializeBinaryExtensions=function(e,t,o,r){for(var i in o){var n=o[i],s=n.fieldInfo;if(!n.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(!n.binaryMessageSerializeFn)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");n.binaryWriterFn.call(t,s.fieldIndex,a,n.binaryMessageSerializeFn)}else n.binaryWriterFn.call(t,s.fieldIndex,a)}},goog.exportProperty(jspb.Message,"serializeBinaryExtensions",jspb.Message.serializeBinaryExtensions),jspb.Message.readBinaryExtension=function(e,t,o,r,i){var n=o[t.getFieldNumber()];if(n){if(o=n.fieldInfo,!n.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(o.isMessageType()){var s=new o.ctor;n.binaryReaderFn.call(t,s,n.binaryMessageDeserializeFn)}else s=n.binaryReaderFn.call(t);o.isRepeated&&!n.isPacked?(t=r.call(e,o))?t.push(s):i.call(e,o,[s]):i.call(e,o,s)}else t.skipField()},goog.exportProperty(jspb.Message,"readBinaryExtension",jspb.Message.readBinaryExtension),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},goog.exportProperty(jspb.Message,"getField",jspb.Message.getField),jspb.Message.getRepeatedField=function(e,t){return jspb.Message.getField(e,t)},goog.exportProperty(jspb.Message,"getRepeatedField",jspb.Message.getRepeatedField),jspb.Message.getOptionalFloatingPointField=function(e,t){return null==(e=jspb.Message.getField(e,t))?e:+e},goog.exportProperty(jspb.Message,"getOptionalFloatingPointField",jspb.Message.getOptionalFloatingPointField),jspb.Message.getBooleanField=function(e,t){return null==(e=jspb.Message.getField(e,t))?e:!!e},goog.exportProperty(jspb.Message,"getBooleanField",jspb.Message.getBooleanField),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},goog.exportProperty(jspb.Message,"getRepeatedFloatingPointField",jspb.Message.getRepeatedFloatingPointField),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},goog.exportProperty(jspb.Message,"getRepeatedBooleanField",jspb.Message.getRepeatedBooleanField),jspb.Message.bytesAsB64=function(e){return null==e||"string"==typeof e?e:jspb.Message.SUPPORTS_UINT8ARRAY_&&e instanceof Uint8Array?goog.crypt.base64.encodeByteArray(e):(jspb.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(e)),null)},goog.exportProperty(jspb.Message,"bytesAsB64",jspb.Message.bytesAsB64),jspb.Message.bytesAsU8=function(e){return null==e||e instanceof Uint8Array?e:"string"==typeof e?goog.crypt.base64.decodeStringToUint8Array(e):(jspb.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(e)),null)},goog.exportProperty(jspb.Message,"bytesAsU8",jspb.Message.bytesAsU8),jspb.Message.bytesListAsB64=function(e){return jspb.Message.assertConsistentTypes_(e),e.length&&"string"!=typeof e[0]?goog.array.map(e,jspb.Message.bytesAsB64):e},goog.exportProperty(jspb.Message,"bytesListAsB64",jspb.Message.bytesListAsB64),jspb.Message.bytesListAsU8=function(e){return jspb.Message.assertConsistentTypes_(e),!e.length||e[0]instanceof Uint8Array?e:goog.array.map(e,jspb.Message.bytesAsU8)},goog.exportProperty(jspb.Message,"bytesListAsU8",jspb.Message.bytesListAsU8),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&&jspb.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},goog.exportProperty(jspb.Message,"getFieldWithDefault",jspb.Message.getFieldWithDefault),jspb.Message.getBooleanFieldWithDefault=function(e,t,o){return null==(e=jspb.Message.getBooleanField(e,t))?o:e},goog.exportProperty(jspb.Message,"getBooleanFieldWithDefault",jspb.Message.getBooleanFieldWithDefault),jspb.Message.getFloatingPointFieldWithDefault=function(e,t,o){return null==(e=jspb.Message.getOptionalFloatingPointField(e,t))?o:e},goog.exportProperty(jspb.Message,"getFloatingPointFieldWithDefault",jspb.Message.getFloatingPointFieldWithDefault),jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,goog.exportProperty(jspb.Message,"getFieldProto3",jspb.Message.getFieldProto3),jspb.Message.getMapField=function(e,t,o,r){if(e.wrappers_||(e.wrappers_={}),t in e.wrappers_)return e.wrappers_[t];var i=jspb.Message.getField(e,t);if(!i){if(o)return;i=[],jspb.Message.setField(e,t,i)}return e.wrappers_[t]=new jspb.Map(i,r)},goog.exportProperty(jspb.Message,"getMapField",jspb.Message.getMapField),jspb.Message.setField=function(e,t,o){return jspb.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},goog.exportProperty(jspb.Message,"setField",jspb.Message.setField),jspb.Message.setProto3IntField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},goog.exportProperty(jspb.Message,"setProto3IntField",jspb.Message.setProto3IntField),jspb.Message.setProto3FloatField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},goog.exportProperty(jspb.Message,"setProto3FloatField",jspb.Message.setProto3FloatField),jspb.Message.setProto3BooleanField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,!1)},goog.exportProperty(jspb.Message,"setProto3BooleanField",jspb.Message.setProto3BooleanField),jspb.Message.setProto3StringField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"")},goog.exportProperty(jspb.Message,"setProto3StringField",jspb.Message.setProto3StringField),jspb.Message.setProto3BytesField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"")},goog.exportProperty(jspb.Message,"setProto3BytesField",jspb.Message.setProto3BytesField),jspb.Message.setProto3EnumField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,0)},goog.exportProperty(jspb.Message,"setProto3EnumField",jspb.Message.setProto3EnumField),jspb.Message.setProto3StringIntField=function(e,t,o){return jspb.Message.setFieldIgnoringDefault_(e,t,o,"0")},goog.exportProperty(jspb.Message,"setProto3StringIntField",jspb.Message.setProto3StringIntField),jspb.Message.setFieldIgnoringDefault_=function(e,t,o,r){return jspb.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 jspb.asserts.assertInstanceof(e,jspb.Message),t=jspb.Message.getRepeatedField(e,t),null!=r?t.splice(r,0,o):t.push(o),e},goog.exportProperty(jspb.Message,"addToRepeatedField",jspb.Message.addToRepeatedField),jspb.Message.setOneofField=function(e,t,o,r){return jspb.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)},goog.exportProperty(jspb.Message,"setOneofField",jspb.Message.setOneofField),jspb.Message.computeOneofCase=function(e,t){for(var o,r,i=0;i<t.length;i++){var n=t[i],s=jspb.Message.getField(e,n);null!=s&&(o=n,r=s,jspb.Message.setField(e,n,void 0))}return o?(jspb.Message.setField(e,o,r),o):0},goog.exportProperty(jspb.Message,"computeOneofCase",jspb.Message.computeOneofCase),jspb.Message.getWrapperField=function(e,t,o,r){if(e.wrappers_||(e.wrappers_={}),!e.wrappers_[o]){var i=jspb.Message.getField(e,o);(r||i)&&(e.wrappers_[o]=new t(i))}return e.wrappers_[o]},goog.exportProperty(jspb.Message,"getWrapperField",jspb.Message.getWrapperField),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},goog.exportProperty(jspb.Message,"getRepeatedWrapperField",jspb.Message.getRepeatedWrapperField),jspb.Message.wrapRepeatedField_=function(e,t,o){if(e.wrappers_||(e.wrappers_={}),!e.wrappers_[o]){for(var r=jspb.Message.getRepeatedField(e,o),i=[],n=0;n<r.length;n++)i[n]=new t(r[n]);e.wrappers_[o]=i}},jspb.Message.setWrapperField=function(e,t,o){jspb.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)},goog.exportProperty(jspb.Message,"setWrapperField",jspb.Message.setWrapperField),jspb.Message.setOneofWrapperField=function(e,t,o,r){jspb.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={});var i=r?r.toArray():r;return e.wrappers_[t]=r,jspb.Message.setOneofField(e,t,o,i)},goog.exportProperty(jspb.Message,"setOneofWrapperField",jspb.Message.setOneofWrapperField),jspb.Message.setRepeatedWrapperField=function(e,t,o){jspb.asserts.assertInstanceof(e,jspb.Message),e.wrappers_||(e.wrappers_={}),o=o||[];for(var r=[],i=0;i<o.length;i++)r[i]=o[i].toArray();return e.wrappers_[t]=o,jspb.Message.setField(e,t,r)},goog.exportProperty(jspb.Message,"setRepeatedWrapperField",jspb.Message.setRepeatedWrapperField),jspb.Message.addToRepeatedWrapperField=function(e,t,o,r,i){jspb.Message.wrapRepeatedField_(e,r,t);var n=e.wrappers_[t];return n||(n=e.wrappers_[t]=[]),o=o||new r,e=jspb.Message.getRepeatedField(e,t),null!=i?(n.splice(i,0,o),e.splice(i,0,o.toArray())):(n.push(o),e.push(o.toArray())),o},goog.exportProperty(jspb.Message,"addToRepeatedWrapperField",jspb.Message.addToRepeatedWrapperField),jspb.Message.toMap=function(e,t,o,r){for(var i={},n=0;n<e.length;n++)i[t.call(e[n])]=o?o.call(e[n],r,e[n]):e[n];return i},goog.exportProperty(jspb.Message,"toMap",jspb.Message.toMap),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},goog.exportProperty(jspb.Message.prototype,"toArray",jspb.Message.prototype.toArray),jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(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]}},goog.exportProperty(jspb.Message.prototype,"getExtension",jspb.Message.prototype.getExtension),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},goog.exportProperty(jspb.Message.prototype,"setExtension",jspb.Message.prototype.setExtension),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=[],i=0,n=o.length>t.length?o.length:t.length;for(e.getJsPbMessageId()&&(r[0]=e.getJsPbMessageId(),i=1);i<n;i++)jspb.Message.compareFields(o[i],t[i])||(r[i]=t[i]);return new e.constructor(r)},goog.exportProperty(jspb.Message,"difference",jspb.Message.difference),jspb.Message.equals=function(e,t){return e==t||!(!e||!t)&&e instanceof t.constructor&&jspb.Message.compareFields(e.toArray(),t.toArray())},goog.exportProperty(jspb.Message,"equals",jspb.Message.equals),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},goog.exportProperty(jspb.Message,"compareExtensions",jspb.Message.compareExtensions),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,i=void 0,n=Math.max(e.length,t.length);for(o=0;o<n;o++){var s=e[o],a=t[o];if(s&&s.constructor==Object&&(jspb.asserts.assert(void 0===r),jspb.asserts.assert(o===e.length-1),r=s,s=void 0),a&&a.constructor==Object&&(jspb.asserts.assert(void 0===i),jspb.asserts.assert(o===t.length-1),i=a,a=void 0),!jspb.Message.compareFields(s,a))return!1}return!r&&!i||(r=r||{},i=i||{},jspb.Message.compareExtensions(r,i))}if(e.constructor===Object)return jspb.Message.compareExtensions(e,t);throw Error("Invalid type in JSPB array")},goog.exportProperty(jspb.Message,"compareFields",jspb.Message.compareFields),jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"cloneMessage",jspb.Message.prototype.cloneMessage),jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},goog.exportProperty(jspb.Message.prototype,"clone",jspb.Message.prototype.clone),jspb.Message.clone=function(e){return jspb.Message.cloneMessage(e)},goog.exportProperty(jspb.Message,"clone",jspb.Message.clone),jspb.Message.cloneMessage=function(e){return new e.constructor(jspb.Message.clone_(e.toArray()))},jspb.Message.copyInto=function(e,t){jspb.asserts.assertInstanceof(e,jspb.Message),jspb.asserts.assertInstanceof(t,jspb.Message),jspb.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(),i=o.length=0;i<r.length;i++)o[i]=r[i];t.wrappers_=e.wrappers_,t.extensionObject_=e.extensionObject_},goog.exportProperty(jspb.Message,"copyInto",jspb.Message.copyInto),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_(jspb.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_(jspb.asserts.assert(r)):r);return t},jspb.Message.registerMessageType=function(e,t){t.messageId=e},goog.exportProperty(jspb.Message,"registerMessageType",jspb.Message.registerMessageType),jspb.Message.messageSetExtensions={},jspb.Message.messageSetExtensionsBinary={},jspb.Export={},exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=jspb.BinaryReader,exports.BinaryWriter=jspb.BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:goog.object.extend},exports.typeOf=goog.typeOf})(googleProtobuf);var empty_pb={},n;!function(e){var t=googleProtobuf,o=t,r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==r&&r||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();o.exportSymbol("proto.google.protobuf.Empty",null,r),proto.google.protobuf.Empty=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.google.protobuf.Empty,t.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.Empty.displayName="proto.google.protobuf.Empty"),t.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Empty.prototype.toObject=function(e){return proto.google.protobuf.Empty.toObject(e,this)},proto.google.protobuf.Empty.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.Empty.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.google.protobuf.Empty;return proto.google.protobuf.Empty.deserializeBinaryFromReader(r,o)},proto.google.protobuf.Empty.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.google.protobuf.Empty.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.google.protobuf.Empty.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Empty.serializeBinaryToWriter=function(e,t){},o.object.extend(e,proto.google.protobuf)}(empty_pb),function(e){var t=googleProtobuf,o=t,r=function(){return this||window||r||self||Function("return this")()}.call(null),i=empty_pb;o.object.extend(proto,i),o.exportSymbol("proto.fonoster.identity.v1beta2.ApiKey",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetPublicKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListApiKeysRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListApiKeysResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListWorkspacesRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListWorkspacesResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RevokeTokenRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RevokeTokenResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.Workspace",null,r),proto.fonoster.identity.v1beta2.CreateWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.CreateWorkspaceRequest"),proto.fonoster.identity.v1beta2.CreateWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.CreateWorkspaceResponse"),proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest"),proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse"),proto.fonoster.identity.v1beta2.GetWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.GetWorkspaceRequest"),proto.fonoster.identity.v1beta2.ListWorkspacesRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ListWorkspacesRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListWorkspacesRequest.displayName="proto.fonoster.identity.v1beta2.ListWorkspacesRequest"),proto.fonoster.identity.v1beta2.ListWorkspacesResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.identity.v1beta2.ListWorkspacesResponse.repeatedFields_,null)},o.inherits(proto.fonoster.identity.v1beta2.ListWorkspacesResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListWorkspacesResponse.displayName="proto.fonoster.identity.v1beta2.ListWorkspacesResponse"),proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest"),proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse"),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest"),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse"),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest"),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse"),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.displayName="proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest"),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.displayName="proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse"),proto.fonoster.identity.v1beta2.CreateUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateUserRequest.displayName="proto.fonoster.identity.v1beta2.CreateUserRequest"),proto.fonoster.identity.v1beta2.CreateUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateUserResponse.displayName="proto.fonoster.identity.v1beta2.CreateUserResponse"),proto.fonoster.identity.v1beta2.GetUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetUserRequest.displayName="proto.fonoster.identity.v1beta2.GetUserRequest"),proto.fonoster.identity.v1beta2.GetUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetUserResponse.displayName="proto.fonoster.identity.v1beta2.GetUserResponse"),proto.fonoster.identity.v1beta2.UpdateUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateUserRequest.displayName="proto.fonoster.identity.v1beta2.UpdateUserRequest"),proto.fonoster.identity.v1beta2.UpdateUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateUserResponse.displayName="proto.fonoster.identity.v1beta2.UpdateUserResponse"),proto.fonoster.identity.v1beta2.DeleteUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteUserRequest.displayName="proto.fonoster.identity.v1beta2.DeleteUserRequest"),proto.fonoster.identity.v1beta2.DeleteUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteUserResponse.displayName="proto.fonoster.identity.v1beta2.DeleteUserResponse"),proto.fonoster.identity.v1beta2.Workspace=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.Workspace,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.Workspace.displayName="proto.fonoster.identity.v1beta2.Workspace"),proto.fonoster.identity.v1beta2.CreateApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.CreateApiKeyRequest"),proto.fonoster.identity.v1beta2.CreateApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.CreateApiKeyResponse"),proto.fonoster.identity.v1beta2.DeleteApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.DeleteApiKeyRequest"),proto.fonoster.identity.v1beta2.DeleteApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.DeleteApiKeyResponse"),proto.fonoster.identity.v1beta2.ListApiKeysRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ListApiKeysRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListApiKeysRequest.displayName="proto.fonoster.identity.v1beta2.ListApiKeysRequest"),proto.fonoster.identity.v1beta2.ListApiKeysResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.identity.v1beta2.ListApiKeysResponse.repeatedFields_,null)},o.inherits(proto.fonoster.identity.v1beta2.ListApiKeysResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListApiKeysResponse.displayName="proto.fonoster.identity.v1beta2.ListApiKeysResponse"),proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest"),proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse"),proto.fonoster.identity.v1beta2.ApiKey=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ApiKey,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ApiKey.displayName="proto.fonoster.identity.v1beta2.ApiKey"),proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest"),proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse"),proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest"),proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse"),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest"),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse"),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest"),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse"),proto.fonoster.identity.v1beta2.RevokeTokenRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RevokeTokenRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RevokeTokenRequest.displayName="proto.fonoster.identity.v1beta2.RevokeTokenRequest"),proto.fonoster.identity.v1beta2.RevokeTokenResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RevokeTokenResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RevokeTokenResponse.displayName="proto.fonoster.identity.v1beta2.RevokeTokenResponse"),proto.fonoster.identity.v1beta2.GetPublicKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetPublicKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetPublicKeyResponse.displayName="proto.fonoster.identity.v1beta2.GetPublicKeyResponse"),t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.toObject=function(e,o){var r={name:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateWorkspaceRequest;return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setName(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getName()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateWorkspaceResponse;return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest;return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse;return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetWorkspaceRequest;return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.toObject=function(e,o){var r={pageToken:t.Message.getFieldWithDefault(o,1,""),pageSize:t.Message.getFieldWithDefault(o,2,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListWorkspacesRequest;return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setPageToken(o);break;case 2:o=t.readInt32();e.setPageSize(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getPageToken()).length>0&&t.writeString(1,o),0!==(o=e.getPageSize())&&t.writeInt32(2,o)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,2,e)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.toObject=function(e,o){var r={workspacesList:t.Message.toObjectList(o.getWorkspacesList(),proto.fonoster.identity.v1beta2.Workspace.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListWorkspacesResponse;return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.identity.v1beta2.Workspace;t.readMessage(o,proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader),e.addWorkspaces(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getWorkspacesList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.getWorkspacesList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.identity.v1beta2.Workspace,1)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.setWorkspacesList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.addWorkspaces=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.identity.v1beta2.Workspace,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.clearWorkspacesList=function(){return this.setWorkspacesList([])},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest;return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse;return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.toObject=function(e,o){var r={email:t.Message.getFieldWithDefault(o,1,""),role:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setEmail(o);break;case 2:o=t.readString();e.setRole(o);break;case 3:o=t.readString();e.setName(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEmail()).length>0&&t.writeString(1,o),(o=e.getRole()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setRole=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateUserRequest.toObject=function(e,o){var r={email:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateUserRequest;return proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setEmail(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateUserRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEmail()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateUserResponse;return proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.GetUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetUserRequest;return proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetUserRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.GetUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),email:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,""),createdAt:t.Message.getFieldWithDefault(o,5,0),updatedAt:t.Message.getFieldWithDefault(o,6,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetUserResponse;return proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setEmail(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;case 5:o=t.readInt64();e.setCreatedAt(o);break;case 6:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetUserResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getEmail()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o),0!==(o=e.getCreatedAt())&&t.writeInt64(5,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(6,o)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,6,0)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateUserRequest;return proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateUserRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateUserResponse;return proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteUserRequest;return proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteUserResponse;return proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.Workspace.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.Workspace.toObject(e,this)},proto.fonoster.identity.v1beta2.Workspace.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),ownerRef:t.Message.getFieldWithDefault(o,3,""),createdAt:t.Message.getFieldWithDefault(o,4,0),updatedAt:t.Message.getFieldWithDefault(o,5,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.Workspace.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.Workspace;return proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readString();e.setOwnerRef(o);break;case 4:o=t.readInt64();e.setCreatedAt(o);break;case 5:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.Workspace.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),(o=e.getOwnerRef()).length>0&&t.writeString(3,o),0!==(o=e.getCreatedAt())&&t.writeInt64(4,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(5,o)},proto.fonoster.identity.v1beta2.Workspace.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getOwnerRef=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setOwnerRef=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,4,0)},proto.fonoster.identity.v1beta2.Workspace.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,4,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.Workspace.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.toObject=function(e,o){var r={role:t.Message.getFieldWithDefault(o,1,""),expiresAt:t.Message.getFieldWithDefault(o,2,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateApiKeyRequest;return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRole(o);break;case 2:o=t.readInt32();e.setExpiresAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRole()).length>0&&t.writeString(1,o),0!==(o=e.getExpiresAt())&&t.writeInt32(2,o)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.setRole=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.getExpiresAt=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.setExpiresAt=function(e){return t.Message.setProto3IntField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),accessKeySecret:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateApiKeyResponse;return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteApiKeyRequest;return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteApiKeyResponse;return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListApiKeysRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.toObject=function(e,o){var r={pageSize:t.Message.getFieldWithDefault(o,3,0),pageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListApiKeysRequest;return proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 3:var o=t.readInt32();e.setPageSize(o);break;case 2:o=t.readString();e.setPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListApiKeysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListApiKeysRequest.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getPageSize())&&t.writeInt32(3,o),(o=e.getPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,3,e)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListApiKeysResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.toObject=function(e,o){var r={itemsList:t.Message.toObjectList(o.getItemsList(),proto.fonoster.identity.v1beta2.ApiKey.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListApiKeysResponse;return proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.identity.v1beta2.ApiKey;t.readMessage(o,proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader),e.addItems(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListApiKeysResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListApiKeysResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getItemsList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.getItemsList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.identity.v1beta2.ApiKey,1)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.setItemsList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.addItems=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.identity.v1beta2.ApiKey,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.clearItemsList=function(){return this.setItemsList([])},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest;return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),accessKeySecret:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse;return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ApiKey.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ApiKey.toObject(e,this)},proto.fonoster.identity.v1beta2.ApiKey.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),role:t.Message.getFieldWithDefault(o,3,""),expiresAt:t.Message.getFieldWithDefault(o,4,0),createdAt:t.Message.getFieldWithDefault(o,5,0),updatedAt:t.Message.getFieldWithDefault(o,6,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ApiKey.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ApiKey;return proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setRole(o);break;case 4:o=t.readInt32();e.setExpiresAt(o);break;case 5:o=t.readInt64();e.setCreatedAt(o);break;case 6:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ApiKey.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getRole()).length>0&&t.writeString(3,o),0!==(o=e.getExpiresAt())&&t.writeInt32(4,o),0!==(o=e.getCreatedAt())&&t.writeInt64(5,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(6,o)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setRole=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getExpiresAt=function(){return t.Message.getFieldWithDefault(this,4,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setExpiresAt=function(e){return t.Message.setProto3IntField(this,4,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,6,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.toObject=function(e,o){var r={username:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),ephemeralCode:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest;return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.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.setPassword(o);break;case 3:o=t.readString();e.setEphemeralCode(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getUsername()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getEphemeralCode()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getUsername=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setUsername=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getEphemeralCode=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setEphemeralCode=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse;return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.toObject=function(e,o){var r={accessKeyId:t.Message.getFieldWithDefault(o,1,""),accessKeySecret:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest;return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setAccessKeyId(o);break;case 2:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getAccessKeyId()).length>0&&t.writeString(1,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse;return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.toObject=function(e,o){var r={code:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setCode(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getCode()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.getCode=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.setCode=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.toObject=function(e,o){var r={refreshToken:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRefreshToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRefreshToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RevokeTokenRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.toObject=function(e,o){var r={token:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RevokeTokenRequest;return proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RevokeTokenRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RevokeTokenRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.getToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.setToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RevokeTokenResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.toObject=function(e,o){var r={token:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RevokeTokenResponse;return proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RevokeTokenResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RevokeTokenResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.getToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.setToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.toObject=function(e,o){var r={publicKey:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetPublicKeyResponse;return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setPublicKey(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getPublicKey()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.getPublicKey=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.setPublicKey=function(e){return t.Message.setProto3StringField(this,1,e)},o.object.extend(e,proto.fonoster.identity.v1beta2)}(identity_pb$1);class AbstractClient{constructor(e){this.accessKeyId=e.accessKeyId,this.identityClient=e.identityClient,this._accessToken="",this._refreshToken=""}login(e,t){return __awaiter(this,void 0,void 0,(function*(){const{refreshToken:o,accessToken:r}=yield makeRpcRequest({method:this.identityClient.exchangeCredentials.bind(this.identityClient),requestPBObjectConstructor:identity_pb$1.ExchangeCredentialsRequest,metadata:{},request:{username:e,password:t}});this._refreshToken=o,this._accessToken=r}))}loginWithRefreshToken(e){return __awaiter(this,void 0,void 0,(function*(){const{accessToken:t,refreshToken:o}=yield makeRpcRequest({method:this.identityClient.exchangeRefreshToken.bind(this.identityClient),requestPBObjectConstructor:identity_pb$1.ExchangeRefreshTokenRequest,metadata:{},request:{refreshToken:e}});this._refreshToken=o,this._accessToken=t}))}loginWithApiKey(e){return __awaiter(this,void 0,void 0,(function*(){const{refreshToken:t,accessToken:o}=yield makeRpcRequest({method:this.identityClient.exchangeApiKey,requestPBObjectConstructor:identity_pb$1.ExchangeApiKeyRequest,metadata:{},request:{apiKey:e}});this._refreshToken=t,this._accessToken=o}))}refreshToken(){return __awaiter(this,void 0,void 0,(function*(){return yield this.loginWithRefreshToken(this._refreshToken)}))}getAccessKeyId(){return this.accessKeyId}getAccessToken(){return this._accessToken}getRefreshToken(){return this._refreshToken}}function isJwtExpired(e){try{const[,t]=e.split("."),o=Buffer.from(t,"base64").toString("utf8"),r=JSON.parse(o);if(!r.exp)return!1;const i=1e3*r.exp;return Date.now()>i}catch(e){return!0}}class TokenRefresherWeb{constructor(e){this.client=e}intercept(e,t){return new class{constructor(e,t){this.stream=e,this.refresher=t}on(e,t){return isJwtExpired(this.refresher.client.getRefreshToken())&&this.refresher.client.refreshToken().then((()=>{})),"data"==e?this.stream.on(e,t):"error"==e?this.stream.on("error",t):"metadata"==e?this.stream.on("metadata",t):"status"==e?this.stream.on("status",t):"end"==e&&this.stream.on("end",t),this}}(t(e),this)}}function aa(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var ba="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,o){e!=Array.prototype&&e!=Object.prototype&&(e[t]=o.value)};function ca(e){e=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof commonjsGlobal&&commonjsGlobal,e];for(var t=0;t<e.length;++t){var o=e[t];if(o&&o.Math==Math)return o}throw Error("Cannot find global object")}var r=ca(commonjsGlobal);function t(){t=function(){},r.Symbol||(r.Symbol=da)}function ea(e,t){this.a=e,ba(this,"description",{configurable:!0,writable:!0,value:t})}ea.prototype.toString=function(){return this.a};var da=(b=0,function e(t){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new ea("jscomp_symbol_"+(t||"")+"_"+b++,t)}),b;function u(){t();var e=r.Symbol.iterator;e||(e=r.Symbol.iterator=r.Symbol("Symbol.iterator")),"function"!=typeof Array.prototype[e]&&ba(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return fa(aa(this))}}),u=function(){}}function fa(e){return u(),(e={next:e})[r.Symbol.iterator]=function(){return this},e}function ha(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:aa(e)}}var ia="function"==typeof Object.create?Object.create:function(e){function t(){}return t.prototype=e,new t},ja;if("function"==typeof Object.setPrototypeOf)ja=Object.setPrototypeOf;else{var ka;e:{var la={V:!0},ma={};try{ma.__proto__=la,ka=ma.V;break e}catch(a){}ka=!1}ja=ka?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var na=ja;function oa(e,t){if(e.prototype=ia(t.prototype),e.prototype.constructor=e,na)na(e,t);else for(var o in t)if("prototype"!=o)if(Object.defineProperties){var r=Object.getOwnPropertyDescriptor(t,o);r&&Object.defineProperty(e,o,r)}else e[o]=t[o];e.O=t.prototype}function pa(e,t){u(),e instanceof String&&(e+="");var o=0,r={next:function(){if(o<e.length){var i=o++;return{value:t(i,e[i]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r}function v(e,t){if(t){var o=r;e=e.split(".");for(var i=0;i<e.length-1;i++){var n=e[i];n in o||(o[n]={}),o=o[n]}(t=t(i=o[e=e[e.length-1]]))!=i&&null!=t&&ba(o,e,{configurable:!0,writable:!0,value:t})}}v("Array.prototype.keys",(function(e){return e||function(){return pa(this,(function(e){return e}))}})),v("Array.prototype.find",(function(e){return e||function(e,t){e:{var o=this;o instanceof String&&(o=String(o));for(var r=o.length,i=0;i<r;i++){var n=o[i];if(e.call(t,n,i,o)){e=n;break e}}e=void 0}return e}})),v("Object.is",(function(e){return e||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}})),v("Array.prototype.includes",(function(e){return e||function(e,t){var o=this;o instanceof String&&(o=String(o));var r=o.length;for(0>(t=t||0)&&(t=Math.max(t+r,0));t<r;t++){var i=o[t];if(i===e||Object.is(i,e))return!0}return!1}})),v("Promise",(function(e){function t(e){this.b=0,this.c=void 0,this.a=[];var t=this.f();try{e(t.resolve,t.reject)}catch(e){t.reject(e)}}function o(){this.a=null}function i(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;o.prototype.b=function(e){if(null==this.a){this.a=[];var t=this;this.c((function(){t.g()}))}this.a.push(e)};var n=r.setTimeout;o.prototype.c=function(e){n(e,0)},o.prototype.g=function(){for(;this.a&&this.a.length;){var e=this.a;this.a=[];for(var t=0;t<e.length;++t){var o=e[t];e[t]=null;try{o()}catch(e){this.f(e)}}}this.a=null},o.prototype.f=function(e){this.c((function(){throw e}))},t.prototype.f=function(){function e(e){return function(r){o||(o=!0,e.call(t,r))}}var t=this,o=!1;return{resolve:e(this.s),reject:e(this.g)}},t.prototype.s=function(e){if(e===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.v(e);else{e:switch(typeof e){case"object":var o=null!=e;break e;case"function":o=!0;break e;default:o=!1}o?this.m(e):this.h(e)}},t.prototype.m=function(e){var t=void 0;try{t=e.then}catch(e){return void this.g(e)}"function"==typeof t?this.w(t,e):this.h(e)},t.prototype.g=function(e){this.i(2,e)},t.prototype.h=function(e){this.i(1,e)},t.prototype.i=function(e,t){if(0!=this.b)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.b);this.b=e,this.c=t,this.l()},t.prototype.l=function(){if(null!=this.a){for(var e=0;e<this.a.length;++e)s.b(this.a[e]);this.a=null}};var s=new o;return t.prototype.v=function(e){var t=this.f();e.F(t.resolve,t.reject)},t.prototype.w=function(e,t){var o=this.f();try{e.call(t,o.resolve,o.reject)}catch(e){o.reject(e)}},t.prototype.then=function(e,o){function r(e,t){return"function"==typeof e?function(t){try{i(e(t))}catch(e){n(e)}}:t}var i,n,s=new t((function(e,t){i=e,n=t}));return this.F(r(e,i),r(o,n)),s},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.F=function(e,t){function o(){switch(r.b){case 1:e(r.c);break;case 2:t(r.c);break;default:throw Error("Unexpected state: "+r.b)}}var r=this;null==this.a?s.b(o):this.a.push(o)},t.resolve=i,t.reject=function(e){return new t((function(t,o){o(e)}))},t.race=function(e){return new t((function(t,o){for(var r=ha(e),n=r.next();!n.done;n=r.next())i(n.value).F(t,o)}))},t.all=function(e){var o=ha(e),r=o.next();return r.done?i([]):new t((function(e,t){function n(t){return function(o){s[t]=o,0==--a&&e(s)}}var s=[],a=0;do{s.push(void 0),a++,i(r.value).F(n(s.length-1),t),r=o.next()}while(!r.done)}))},t}));var qa=qa||{},x=commonjsGlobal||self;function y(e,t){e=e.split("."),t=t||x;for(var o=0;o<e.length;o++)if(null==(t=t[e[o]]))return null;return t}function ra(){}function sa(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function va(e,t,o){return e.call.apply(e.bind,arguments)}function wa(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)}}function z(e,t,o){return(z=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?va:wa).apply(null,arguments)}function B(e,t){function o(){}o.prototype=t.prototype,e.O=t.prototype,e.prototype=new o,e.prototype.constructor=e}function xa(e){this.a=e||{}}function C(e,t,o,r){this.f=e,this.c=t,this.b=o,this.a=r}function D(e,t,o,r){o=void 0===o?{}:o,this.c=e,this.a=o,this.b=t,this.f=void 0===r?null:r}function ya(e,t,o,r,i,n){this.name=e,this.a=i,this.b=n}function za(e,t,o){o=void 0===o?{}:o;var r=void 0===r?new xa:r;return new C(t,e,o,r)}function Aa(e){switch(e){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 499:return 1;case 500:default:return 2;case 501:return 12;case 503:return 14;case 504:return 4}}function Ba(e){switch(e){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS";default:return""}}function E(e,t,o){o=void 0===o?{}:o,t=Error.call(this,t),this.message=t.message,"stack"in t&&(this.stack=t.stack),this.code=e,this.metadata=o}function Ca(e){this.a=e}function Da(e){switch(e){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}}function F(e){if(Error.captureStackTrace)Error.captureStackTrace(this,F);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}function Ea(e,t){for(var o="",r=(e=e.split("%s")).length-1,i=0;i<r;i++)o+=e[i]+(i<t.length?t[i]:"%s");F.call(this,o+e[r])}function Fa(e,t){throw new Ea("Failure: "+e,Array.prototype.slice.call(arguments,1))}function Ga(){this.l=null,this.i=[],this.m=0,this.b=Ha,this.f=this.a=this.h=0,this.c=null,this.g=0}function Ia(e,t){function o(e){a.f++,a.a=(a.a<<8)+e,4==a.f&&(a.b=Ma,a.g=0,"undefined"!=typeof Uint8Array?a.c=new Uint8Array(a.a):a.c=Array(a.a),0==a.a&&i())}function r(e){a.c[a.g++]=e,a.g==a.a&&i()}function i(){var e={};e[a.h]=a.c,a.i.push(e),a.b=Ha}var n,s,a=e,p=0;for(n=t instanceof Uint8Array||t instanceof Array?t:new Uint8Array(t);p<n.length;){switch(a.b){case Na:Ka(a,n,p,"stream already broken");break;case Ha:(s=n[p])==Ja||s==G?a.h=s:Ka(a,n,p,"invalid frame byte"),a.b=La,a.a=0,a.f=0;break;case La:o(n[p]);break;case Ma:r(n[p]);break;default:throw Error("unexpected parser state: "+a.b)}a.m++,p++}return e=a.i,a.i=[],0<e.length?e:null}xa.prototype.get=function(e){return this.a[e]},xa.prototype.G=function(){return Object.keys(this.a)},C.prototype.getRequestMessage=function(){return this.f},C.prototype.getMethodDescriptor=function(){return this.c},C.prototype.getMetadata=function(){return this.b},C.prototype.getCallOptions=function(){return this.a},D.prototype.getResponseMessage=function(){return this.c},D.prototype.getMetadata=function(){return this.a},D.prototype.getMethodDescriptor=function(){return this.b},D.prototype.getStatus=function(){return this.f},ya.prototype.getName=function(){return this.name},ya.prototype.getName=ya.prototype.getName,oa(E,Error),E.prototype.toString=function(){var e="RpcError("+(Ba(this.code)||String(this.code))+")";return this.message&&(e+=": "+this.message),e},E.prototype.name="RpcError",Ca.prototype.on=function(e,t){return"data"==e||"error"==e?this:this.a.on(e,t)},Ca.prototype.removeListener=function(e,t){return this.a.removeListener(e,t)},Ca.prototype.cancel=function(){this.a.cancel()},B(F,Error),F.prototype.name="CustomError",B(Ea,F),Ea.prototype.name="AssertionError";var Ha=0,La=1,Ma=2,Na=3,Ja=0,G=128;function Ka(e,t,o,r){throw e.b=Na,e.l="The stream is broken @"+e.m+"/"+o+". Error: "+r+". With input:\n"+t,Error(e.l)}var Oa=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(e,t){if("string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.indexOf(t,0);for(var o=0;o<e.length;o++)if(o in e&&e[o]===t)return o;return-1},Pa=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},I;function H(e,t){return-1!=e.indexOf(t)}function Qa(e,t){return e<t?-1:e>t?1:0}e:{var Ra=x.navigator;if(Ra){var Sa=Ra.userAgent;if(Sa){I=Sa;break e}}I=""}function Ta(e,t){for(var o in e)t.call(void 0,e[o],o,e)}function Ua(e,t){var o,r={};for(o in e)r[o]=t.call(void 0,e[o],o,e);return r}var Va="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Wa(e,t){for(var o,r,i=1;i<arguments.length;i++){for(o in r=arguments[i])e[o]=r[o];for(var n=0;n<Va.length;n++)o=Va[n],Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}}function Xa(e){var t=1;e=e.split(":");for(var o=[];0<t&&e.length;)o.push(e.shift()),t--;return e.length&&o.push(e.join(":")),o}function Ya(e){return Ya[" "](e),e}function Za(e){var t=$a;return Object.prototype.hasOwnProperty.call(t,9)?t[9]:t[9]=e(9)}Ya[" "]=ra;var ab=H(I,"Opera"),bb=H(I,"Trident")||H(I,"MSIE"),cb=H(I,"Edge"),db=H(I,"Gecko")&&!(H(I.toLowerCase(),"webkit")&&!H(I,"Edge"))&&!(H(I,"Trident")||H(I,"MSIE"))&&!H(I,"Edge"),eb=H(I.toLowerCase(),"webkit")&&!H(I,"Edge"),fb,a;e:{var gb="",hb=(a=I,db?/rv:([^\);]+)(\)|;)/.exec(a):cb?/Edge\/([\d\.]+)/.exec(a):bb?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a):eb?/WebKit\/(\S+)/.exec(a):ab?/(?:Version)[ \/]?(\S+)/.exec(a):void 0);if(hb&&(gb=hb?hb[1]:""),bb){var ib,jb=x.document;if(ib=jb?jb.documentMode:void 0,null!=ib&&ib>parseFloat(gb)){fb=String(ib);break e}}fb=gb}var $a={};function kb(){return Za((function(){for(var e=0,t=Pa(String(fb)).split("."),o=Pa("9").split("."),r=Math.max(t.length,o.length),i=0;0==e&&i<r;i++){var n=t[i]||"",s=o[i]||"";do{if(n=/(\d*)(\D*)(.*)/.exec(n)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==n[0].length&&0==s[0].length)break;e=Qa(0==n[1].length?0:parseInt(n[1],10),0==s[1].length?0:parseInt(s[1],10))||Qa(0==n[2].length,0==s[2].length)||Qa(n[2],s[2]),n=n[3],s=s[3]}while(0==e)}return 0<=e}))}function lb(){this.K=this.K}lb.prototype.K=!1;var nb=Object.freeze||function(e){return e};function J(e,t){this.type=e,this.a=this.target=t,this.defaultPrevented=!1}J.prototype.b=function(){this.defaultPrevented=!0};var ob=function(){if(!x.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});try{x.addEventListener("test",ra,t),x.removeEventListener("test",ra,t)}catch(e){}return e}();function K(e,t){if(J.call(this,e?e.type:""),this.relatedTarget=this.a=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.c=null,e){var o=this.type=e.type,r=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.a=t,t=e.relatedTarget){if(db){e:{try{Ya(t.nodeName);var i=!0;break e}catch(e){}i=!1}i||(t=null)}}else"mouseover"==o?t=e.fromElement:"mouseout"==o&&(t=e.toElement);this.relatedTarget=t,r?(this.clientX=void 0!==r.clientX?r.clientX:r.pageX,this.clientY=void 0!==r.clientY?r.clientY:r.pageY,this.screenX=r.screenX||0,this.screenY=r.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType="string"==typeof e.pointerType?e.pointerType:pb[e.pointerType]||"",this.c=e,e.defaultPrevented&&K.O.b.call(this)}}B(K,J);var pb=nb({2:"touch",3:"pen",4:"mouse"});K.prototype.b=function(){K.O.b.call(this);var e=this.c;e.preventDefault?e.preventDefault():e.returnValue=!1};var M="closure_listenable_"+(1e6*Math.random()|0),qb=0;function rb(e,t,o,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=o,this.capture=!!r,this.H=i,this.key=++qb,this.A=this.D=!1}function sb(e){e.A=!0,e.listener=null,e.proxy=null,e.src=null,e.H=null}function tb(e){this.src=e,this.a={},this.b=0}function vb(e,t){var o=t.type;if(o in e.a){var r,i=e.a[o],n=Oa(i,t);(r=0<=n)&&Array.prototype.splice.call(i,n,1),r&&(sb(t),0==e.a[o].length&&(delete e.a[o],e.b--))}}function ub(e,t,o,r){for(var i=0;i<e.length;++i){var n=e[i];if(!n.A&&n.listener==t&&n.capture==!!o&&n.H==r)return i}return-1}tb.prototype.add=function(e,t,o,r,i){var n=e.toString();(e=this.a[n])||(e=this.a[n]=[],this.b++);var s=ub(e,t,r,i);return-1<s?(t=e[s],o||(t.D=!1)):((t=new rb(t,this.src,n,!!r,i)).D=o,e.push(t)),t},tb.prototype.remove=function(e,t,o,r){if(!((e=e.toString())in this.a))return!1;var i=this.a[e];return-1<(t=ub(i,t,o,r))&&(sb(i[t]),Array.prototype.splice.call(i,t,1),0==i.length&&(delete this.a[e],this.b--),!0)};var wb="closure_lm_"+(1e6*Math.random()|0),xb={};function zb(e,t,o,r,i){if(r&&r.once)Ab(e,t,o,r,i);else if(Array.isArray(t))for(var n=0;n<t.length;n++)zb(e,t[n],o,r,i);else o=Bb(o),e&&e[M]?e.f.add(String(t),o,!1,sa(r)?!!r.capture:!!r,i):Cb(e,t,o,!1,r,i)}function Cb(e,t,o,r,i,n){if(!t)throw Error("Invalid event type");var s=sa(i)?!!i.capture:!!i,a=Db(e);if(a||(e[wb]=a=new tb(e)),!(o=a.add(t,o,r,s,n)).proxy)if(r=Eb(),o.proxy=r,r.src=e,r.listener=o,e.addEventListener)ob||(i=s),void 0===i&&(i=!1),e.addEventListener(t.toString(),r,i);else if(e.attachEvent)e.attachEvent(Fb(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}}function Eb(){var e=Gb;return function t(o){return e.call(t.src,t.listener,o)}}function Ab(e,t,o,r,i){if(Array.isArray(t))for(var n=0;n<t.length;n++)Ab(e,t[n],o,r,i);else o=Bb(o),e&&e[M]?e.f.add(String(t),o,!0,sa(r)?!!r.capture:!!r,i):Cb(e,t,o,!0,r,i)}function Hb(e,t,o,r,i){if(Array.isArray(t))for(var n=0;n<t.length;n++)Hb(e,t[n],o,r,i);else r=sa(r)?!!r.capture:!!r,o=Bb(o),e&&e[M]?e.f.remove(String(t),o,r,i):e&&(e=Db(e))&&(t=e.a[t.toString()],e=-1,t&&(e=ub(t,o,r,i)),(o=-1<e?t[e]:null)&&Ib(o))}function Ib(e){if("number"!=typeof e&&e&&!e.A){var t=e.src;if(t&&t[M])vb(t.f,e);else{var o=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(o,r,e.capture):t.detachEvent?t.detachEvent(Fb(o),r):t.addListener&&t.removeListener&&t.removeListener(r),(o=Db(t))?(vb(o,e),0==o.b&&(o.src=null,t[wb]=null)):sb(e)}}}function Fb(e){return e in xb?xb[e]:xb[e]="on"+e}function Gb(e,t){if(e.A)e=!0;else{t=new K(t,this);var o=e.listener,r=e.H||e.src;e.D&&Ib(e),e=o.call(r,t)}return e}function Db(e){return(e=e[wb])instanceof tb?e:null}var Jb="__closure_events_fn_"+(1e9*Math.random()>>>0);function Bb(e){return"function"==typeof e?e:(e[Jb]||(e[Jb]=function(t){return e.handleEvent(t)}),e[Jb])}function N(){lb.call(this),this.f=new tb(this),this.U=this}function O(e,t){e=e.U;var o=t.type||t;if("string"==typeof t)t=new J(t,e);else if(t instanceof J)t.target=t.target||e;else{var r=t;Wa(t=new J(o,e),r)}Kb(e=t.a=e,o,!0,t),Kb(e,o,!1,t)}function Kb(e,t,o,r){if(t=e.f.a[String(t)]){t=t.concat();for(var i=!0,n=0;n<t.length;++n){var s=t[n];if(s&&!s.A&&s.capture==o){var a=s.listener,p=s.H||s.src;s.D&&vb(e.f,s),i=!1!==a.call(p,r)&&i}}}}B(N,lb),N.prototype[M]=!0,N.prototype.addEventListener=function(e,t,o,r){zb(this,e,t,o,r)},N.prototype.removeEventListener=function(e,t,o,r){Hb(this,e,t,o,r)};var Lb=x;function Mb(e,t,o){if("function"==typeof e)o&&(e=z(e,o));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=z(e.handleEvent,e)}return 2147483647<Number(t)?-1:Lb.setTimeout(e,t||0)}function Nb(e,t){this.name=e,this.value=t}Nb.prototype.toString=function(){return this.name};var Ob=new Nb("OFF",1/0),Pb=new Nb("SEVERE",1e3),Qb=new Nb("CONFIG",700),Rb=new Nb("FINE",500),Ub,$b,gc;function Tb(){this.clear()}function Vb(e,t,o){this.reset(e||Ob,t,o,void 0,void 0)}function Wb(e,t){this.a=null,this.f=[],this.b=(void 0===t?null:t)||null,this.c=[],this.g={getName:function(){return e}}}function Xb(e){return e.a?e.a:e.b?Xb(e.b):(Fa("Root logger has no level set."),Ob)}function Yb(e,t){for(;e;)e.f.forEach((function(e){e(t)})),e=e.b}function Zb(){this.entries={};var e=new Wb("");e.a=Qb,this.entries[""]=e}function ac(e,t,o){var r=e.entries[t];if(r)return r;r=ac(e,t.substr(0,t.lastIndexOf(".")));var i=new Wb(t,r);return e.entries[t]=i,r.c.push(i),i}function bc(){return $b||($b=new Zb),$b}function cc(e,t,o){var r;(r=e)&&(r=e&&t)&&(r=(r=t.value)>=(e?Xb(ac(bc(),e.getName())):Ob).value);r&&(t=t||Ob,r=ac(bc(),e.getName()),"function"==typeof o&&(o=o()),Ub||(Ub=new Tb),Yb(r,e=new Vb(t,o,e=e.getName())))}function P(e,t){e&&cc(e,Rb,t)}function dc(){}function ec(e){var t;return(t=e.a)||(t={},fc(e)&&(t[0]=!0,t[1]=!0),t=e.a=t),t}function hc(){}function ic(e){return(e=fc(e))?new ActiveXObject(e):new XMLHttpRequest}function fc(e){if(!e.b&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],o=0;o<t.length;o++){var r=t[o];try{return new ActiveXObject(r),e.b=r}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return e.b}function jc(e,t){this.b=e[x.Symbol.iterator](),this.c=t,this.f=0}function kc(e,t){return new jc(e,t)}Tb.prototype.clear=function(){},Vb.prototype.reset=function(){},dc.prototype.a=null,B(hc,dc),gc=new hc,t(),u(),jc.prototype[Symbol.iterator]=function(){return this},jc.prototype.next=function(){var e=this.b.next();return{value:e.done?void 0:this.c.call(void 0,e.value,this.f++),done:e.done}},t(),u(),t(),u();var lc="StopIteration"in x?x.StopIteration:{message:"StopIteration",stack:""};function Q(){}function mc(e){if(e instanceof R||e instanceof S||e instanceof T)return e;if("function"==typeof e.next)return new R((function(){return nc(e)}));if(t(),u(),"function"==typeof e[Symbol.iterator])return t(),u(),new R((function(){return e[Symbol.iterator]()}));if("function"==typeof e.u)return new R((function(){return nc(e.u())}));throw Error("Not an iterator or iterable.")}function nc(e){if(!(e instanceof Q))return e;var t=!1;return{next:function(){for(var o;!t;)try{o=e.a();break}catch(e){if(e!==lc)throw e;t=!0}return{value:o,done:t}}}}function R(e){this.b=e}function S(e){this.b=e}function T(e){R.call(this,(function(){return e})),this.f=e}function oc(e,t){this.o={},this.j=[],this.B=this.size=0;var o=arguments.length;if(1<o){if(o%2)throw Error("Uneven number of arguments");for(var r=0;r<o;r+=2)this.set(arguments[r],arguments[r+1])}else e&&this.addAll(e)}function pc(e){if(e.size!=e.j.length){for(var t=0,o=0;t<e.j.length;){var r=e.j[t];U(e.o,r)&&(e.j[o++]=r),t++}e.j.length=o}if(e.size!=e.j.length){var i={};for(o=t=0;t<e.j.length;)U(i,r=e.j[t])||(e.j[o++]=r,i[r]=1),t++;e.j.length=o}}function U(e,t){return Object.prototype.hasOwnProperty.call(e,t)}Q.prototype.next=function(){return Q.prototype.a.call(this)},Q.prototype.a=function(){throw lc},Q.prototype.u=function(){return this},t(),u(),R.prototype.u=function(){return new S(this.b())},R.prototype[Symbol.iterator]=function(){return new T(this.b())},R.prototype.c=function(){return new T(this.b())},t(),u(),oa(S,Q),S.prototype.a=function(){var e=this.b.next();if(e.done)throw lc;return e.value},S.prototype.next=function(){return S.prototype.a.call(this)},S.prototype[Symbol.iterator]=function(){return new T(this.b)},S.prototype.c=function(){return new T(this.b)},oa(T,R),T.prototype.next=function(){return this.f.next()},n=oc.prototype,n.G=function(){return pc(this),this.j.concat()},n.has=function(e){return U(this.o,e)},n.clear=function(){this.o={},this.B=this.size=this.j.length=0},n.remove=function(e){return this.delete(e)},n.delete=function(e){return!!U(this.o,e)&&(delete this.o[e],--this.size,this.B++,this.j.length>2*this.size&&pc(this),!0)},n.get=function(e,t){return U(this.o,e)?this.o[e]:t},n.set=function(e,t){U(this.o,e)||(this.size+=1,this.j.push(e),this.B++),this.o[e]=t},n.addAll=function(e){if(e instanceof oc)for(var t=e.G(),o=0;o<t.length;o++)this.set(t[o],e.get(t[o]));else for(t in e)this.set(t,e[t])},n.forEach=function(e,t){for(var o=this.G(),r=0;r<o.length;r++){var i=o[r],n=this.get(i);e.call(t,n,i,this)}},n.clone=function(){return new oc(this)},n.keys=function(){return mc(this.u(!0)).c()},n.values=function(){return mc(this.u(!1)).c()},n.entries=function(){var e=this;return kc(this.keys(),(function(t){return[t,e.get(t)]}))},n.u=function(e){pc(this);var t=0,o=this.B,r=this,i=new Q;return i.a=function(){if(o!=r.B)throw Error("The map has changed since the iterator was created");if(t>=r.j.length)throw lc;var i=r.j[t++];return e?i:r.o[i]},i.next=i.a.bind(i),i};var qc=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function rc(e){N.call(this),this.headers=new oc,this.C=e||null,this.c=!1,this.J=this.a=null,this.P=this.v="",this.g=0,this.l="",this.i=this.N=this.s=this.L=!1,this.h=0,this.w=null,this.m=sc,this.I=this.M=!1}B(rc,N);var sc="";rc.prototype.b=ac(bc(),"goog.net.XhrIo").g;var tc=/^https?$/i,uc=["POST","PUT"];function vc(e,t,o){if(e.a)throw Error("[goog.net.XhrIo] Object is active with another request="+e.v+"; newUri="+t);e.v=t,e.l="",e.g=0,e.P="POST",e.L=!1,e.c=!0,e.a=e.C?ic(e.C):ic(gc),e.J=e.C?ec(e.C):ec(gc),e.a.onreadystatechange=z(e.R,e);try{P(e.b,V(e,"Opening Xhr")),e.N=!0,e.a.open("POST",String(t),!0),e.N=!1}catch(t){return P(e.b,V(e,"Error opening Xhr: "+t.message)),void wc(e,t)}t=o||"";var r=(o=e.headers.clone()).G().find((function(e){return"content-type"==e.toLowerCase()})),i=x.FormData&&t instanceof x.FormData;!(0<=Oa(uc,"POST"))||r||i||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach((function(e,t){this.a.setRequestHeader(t,e)}),e),e.m&&(e.a.responseType=e.m),"withCredentials"in e.a&&e.a.withCredentials!==e.M&&(e.a.withCredentials=e.M);try{xc(e),0<e.h&&(e.I=yc(e.a),P(e.b,V(e,"Will abort after "+e.h+"ms if incomplete, xhr2 "+e.I)),e.I?(e.a.timeout=e.h,e.a.ontimeout=z(e.T,e)):e.w=Mb(e.T,e.h,e)),P(e.b,V(e,"Sending request")),e.s=!0,e.a.send(t),e.s=!1}catch(t){P(e.b,V(e,"Send error: "+t.message)),wc(e,t)}}function yc(e){return bb&&kb()&&"number"==typeof e.timeout&&void 0!==e.ontimeout}function wc(e,t){e.c=!1,e.a&&(e.i=!0,e.a.abort(),e.i=!1),e.l=t,e.g=5,zc(e),Ac(e)}function zc(e){e.L||(e.L=!0,O(e,"complete"),O(e,"error"))}function Bc(e){if(e.c&&void 0!==qa)if(e.J[1]&&4==W(e)&&2==e.getStatus())P(e.b,V(e,"Local request error detected and ignored"));else if(e.s&&4==W(e))Mb(e.R,0,e);else if(O(e,"readystatechange"),4==W(e)){P(e.b,V(e,"Request complete")),e.c=!1;try{var t,o=e.getStatus();e:switch(o){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var r=!0;break e;default:r=!1}if(!(t=r)){var i;if(i=0===o){var n=String(e.v).match(qc)[1]||null;if(!n&&x.self&&x.self.location){var s=x.self.location.protocol;n=s.substr(0,s.length-1)}i=!tc.test(n?n.toLowerCase():"")}t=i}if(t)O(e,"complete"),O(e,"success");else{e.g=6;try{var a=2<W(e)?e.a.statusText:""}catch(t){P(e.b,"Can not get status: "+t.message),a=""}e.l=a+" ["+e.getStatus()+"]",zc(e)}}finally{Ac(e)}}}function Ac(e){if(e.a){xc(e);var t=e.a,o=e.J[0]?ra:null;e.a=null,e.J=null,O(e,"ready");try{t.onreadystatechange=o}catch(t){(e=e.b)&&cc(e,Pb,"Problem encountered resetting onreadystatechange: "+t.message)}}}function xc(e){e.a&&e.I&&(e.a.ontimeout=null),e.w&&(Lb.clearTimeout(e.w),e.w=null)}function W(e){return e.a?e.a.readyState:0}function Cc(e){try{if(!e.a)return null;if("response"in e.a)return e.a.response;switch(e.m){case sc:case"text":return e.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in e.a)return e.a.mozResponseArrayBuffer}var t=e.b;return t&&cc(t,Pb,"Response type "+e.m+" is not supported on this browser"),null}catch(t){return P(e.b,"Can not get response: "+t.message),null}}function Dc(e){var t={};e=(e.a&&4==W(e)&&e.a.getAllResponseHeaders()||"").split("\r\n");for(var o=0;o<e.length;o++)if(!/^[\s\xa0]*$/.test(e[o])){var r=Xa(e[o]),i=r[0];if("string"==typeof(r=r[1])){r=r.trim();var n=t[i]||[];t[i]=n,n.push(r)}}return Ua(t,(function(e){return e.join(", ")}))}function V(e,t){return t+" ["+e.P+" "+e.v+" "+e.getStatus()+"]"}n=rc.prototype,n.T=function(){void 0!==qa&&this.a&&(this.l="Timed out after "+this.h+"ms, aborting",this.g=8,P(this.b,V(this,this.l)),O(this,"timeout"),this.abort(8))},n.abort=function(e){this.a&&this.c&&(P(this.b,V(this,"Aborting")),this.c=!1,this.i=!0,this.a.abort(),this.i=!1,this.g=e||7,O(this,"complete"),O(this,"abort"),Ac(this))},n.R=function(){this.K||(this.N||this.s||this.i?Bc(this):this.W())},n.W=function(){Bc(this)},n.getStatus=function(){try{return 2<W(this)?this.a.status:-1}catch(e){return-1}};var Ec={},Fc=null;function Gc(e){var t=e.length,o=3*t/4;o%3?o=Math.floor(o):H("=.",e[t-1])&&(o=H("=.",e[t-2])?o-2:o-1);var r=new Uint8Array(o),i=0;return Hc(e,(function(e){r[i++]=e})),r.subarray(0,i)}function Hc(e,t){function o(t){for(;r<e.length;){var o=e.charAt(r++),i=Fc[o];if(null!=i)return i;if(!/^[\s\xa0]*$/.test(o))throw Error("Unknown base64 encoding at char: "+o)}return t}Ic();for(var r=0;;){var i=o(-1),n=o(0),s=o(64),a=o(64);if(64===a&&-1===i)break;t(i<<2|n>>4),64!=s&&(t(n<<4&240|s>>2),64!=a&&t(s<<6&192|a))}}function Ic(){if(!Fc){Fc={};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"],o=0;5>o;o++){var r=e.concat(t[o].split(""));Ec[o]=r;for(var i=0;i<r.length;i++){var n=r[i];void 0===Fc[n]&&(Fc[n]=i)}}}}var Jc=["content-type","grpc-status","grpc-message"];function X(e){this.a=e.Z,this.m=null,this.b=[],this.h=[],this.g=[],this.f=[],this.c=[],this.l=!1,this.i=0,this.s=new Ga;var t=this;zb(this.a,"readystatechange",(function(){var e=t.a;if(e=e.a?e.a.getResponseHeader("Content-Type"):null){if(0==(e=e.toLowerCase()).lastIndexOf("application/grpc-web-text",0)){e=t.a;try{var o=e.a?e.a.responseText:""}catch(t){P(e.b,"Can not get responseText: "+t.message),o=""}if(o=(e=o||"").length-e.length%4,0==(e=e.substr(t.i,o-t.i)).length)return;t.i=o,e=Gc(e)}else{if(0!=e.lastIndexOf("application/grpc",0))return void Y(t,new E(2,"Unknown Content-type received."));e=new Uint8Array(Cc(t.a))}o=null;try{o=Ia(t.s,e)}catch(e){Y(t,new E(2,"Error in parsing response body"))}if(o)for(e=0;e<o.length;e++){if(Ja in o[e]){var r=o[e][Ja];if(r){var i=!1,n=void 0;try{n=t.m(r),i=!0}catch(e){Y(t,new E(13,"Error when deserializing response data; error: "+e+", response: "+n))}if(i)for(r=n,i=0;i<t.b.length;i++)t.b[i](r)}}if(G in o[e]&&0<o[e][G].length){for(r="",i=0;i<o[e][G].length;i++)r+=String.fromCharCode(o[e][G][i]);for(r=r.trim().split("\r\n"),i={},n=0;n<r.length;n++){var s=r[n].indexOf(":");i[r[n].substring(0,s).trim()]=r[n].substring(s+1).trim()}r=i,i=0,n="","grpc-status"in r&&(i=Number(r["grpc-status"]),delete r["grpc-status"]),"grpc-message"in r&&(n=r["grpc-message"],delete r["grpc-message"]),Y(t,new E(i,n,r))}}}})),zb(this.a,"complete",(function(){var e=t.a.g,o=2,r="",i={};o=Dc(t.a);var n={};for(s in o)o.hasOwnProperty(s)&&(n[s.toLowerCase()]=o[s]);Object.keys(n).forEach((function(e){Jc.includes(e)||(i[e]=n[e])})),Kc(t,i);var s=-1;if(0!=e){switch(e){case 7:o=10;break;case 8:o=4;break;case 6:o=Aa(s=t.a.getStatus());break;default:o=14}10==o&&t.l||(r=Da(e),-1!=s&&(r+=", http status code: "+s),Y(t,new E(o,r)))}else e=!1,"grpc-status"in n&&(o=Number(n["grpc-status"]),"grpc-message"in n&&(r=n["grpc-message"]),0!=o&&(Y(t,new E(o,r||"",n)),e=!0)),e||Lc(t)}))}function Mc(e,t){-1<(t=e.indexOf(t))&&e.splice(t,1)}function Y(e,t){if(0!=t.code)for(var o=new E(t.code,decodeURIComponent(t.message||""),t.metadata),r=0;r<e.f.length;r++)e.f[r](o);for(t={code:t.code,details:decodeURIComponent(t.message||""),metadata:t.metadata},o=0;o<e.h.length;o++)e.h[o](t)}function Kc(e,t){for(var o=0;o<e.g.length;o++)e.g[o](t)}function Lc(e){for(var t=0;t<e.c.length;t++)e.c[t]()}function Nc(e){var t="";return Ta(e,(function(e,o){t+=o,t+=":",t+=e,t+="\r\n"})),t}function Z(e,t){e=void 0===e?{}:e,this.a=e.format||y("format",e)||"text",this.g=e.aa||y("suppressCorsPreflight",e)||!1,this.f=e.withCredentials||y("withCredentials",e)||!1,this.b=e.$||y("streamInterceptors",e)||[],this.h=e.ba||y("unaryInterceptors",e)||[],this.c=t||null}function Pc(e,t,o){var r=t.getMethodDescriptor(),i=o+r.getName();(o=e.c?e.c:new rc).M=e.f;var n=new X({Z:o});n.m=r.b;var s=t.getMetadata();for(a in s)o.headers.set(a,s[a]);if("text"==e.a?(o.headers.set("Content-Type","application/grpc-web-text"),o.headers.set("Accept","application/grpc-web-text")):o.headers.set("Content-Type","application/grpc-web+proto"),o.headers.set("X-User-Agent","grpc-web-javascript/0.1"),o.headers.set("X-Grpc-Web","1"),o.headers.has("deadline")){var a=Number(o.headers.get("deadline"));a=Math.ceil(a-(new Date).getTime()),o.headers.delete("deadline"),1/0===a&&(a=0),0<a&&(o.headers.set("grpc-timeout",a+"m"),o.h=Math.max(0,Math.max(1e3,Math.ceil(1.1*a))))}if(e.g){a={};for(var p=ha((s=o.headers).keys()),g=p.next();!g.done;g=p.next())a[g=g.value]=s.get(g);o.headers.clear();e:{for(l in a){var l=!1;break e}l=!0}l||(a=Nc(a),"string"==typeof i?(l=encodeURIComponent("$httpHeaders"),(l+=a=null!=a?"="+encodeURIComponent(String(a)):"")&&(0>(a=i.indexOf("#"))&&(a=i.length),0>(s=i.indexOf("?"))||s>a?(s=a,p=""):p=i.substring(s+1,a),a=(i=[i.substr(0,s),p,i.substr(a)])[1],i[1]=l?a?a+"&"+l:l:a,i=i[0]+(i[1]?"?"+i[1]:"")+i[2])):i.a("$httpHeaders",a))}for(r=(t=(0,r.a)(t.getRequestMessage())).length,l=[0,0,0,0],a=new Uint8Array(5+r),s=3;0<=s;s--)l[s]=r%256,r>>>=8;if(a.set(new Uint8Array(l),1),a.set(t,5),t=a,"text"==e.a){var u;for(e=t,void 0===u&&(u=0),Ic(),u=Ec[u],t=Array(Math.floor(e.length/3)),r=u[64]||"",l=a=0;a<e.length-2;a+=3){g=e[a];var c=e[a+1];p=e[a+2],s=u[g>>2],g=u[(3&g)<<4|c>>4],c=u[(15&c)<<2|p>>6],p=u[63&p],t[l++]=s+g+c+p}switch(s=0,p=r,e.length-a){case 2:p=u[(15&(s=e[a+1]))<<2]||r;case 1:e=e[a],t[l]=u[e>>2]+u[(3&e)<<4|s>>4]+p+r}t=t.join("")}else"binary"==e.a&&(o.m="arraybuffer");return vc(o,i,t),n}function Qc(e,t,o){var r=!1,i=null,n=!1;e.on("data",(function(e){r=!0,i=e})),e.on("error",(function(e){0==e.code||n||(n=!0,t(e,null))})),e.on("status",(function(e){0==e.code||n?o&&t(null,null,e):(n=!0,t({code:e.code,message:e.details,metadata:e.metadata},null))})),o&&e.on("metadata",(function(e){t(null,null,null,e)})),e.on("end",(function(){n||(r?o?t(null,i,null,null,!0):t(null,i):t({code:2,message:"Incomplete response"})),o&&t(null,null)}))}function Oc(e,t){var o=e;return t.forEach((function(e){var t=o;o=function(o){return e.intercept(o,t)}})),o}X.prototype.on=function(e,t){return"data"==e?this.b.push(t):"status"==e?this.h.push(t):"metadata"==e?this.g.push(t):"end"==e?this.c.push(t):"error"==e&&this.f.push(t),this},X.prototype.removeListener=function(e,t){return"data"==e?Mc(this.b,t):"status"==e?Mc(this.h,t):"metadata"==e?Mc(this.g,t):"end"==e?Mc(this.c,t):"error"==e&&Mc(this.f,t),this},X.prototype.cancel=function(){this.l=!0,this.a.abort()},X.prototype.cancel=X.prototype.cancel,X.prototype.removeListener=X.prototype.removeListener,X.prototype.on=X.prototype.on,Z.prototype.X=function(e,t,o,r,i){var n=this,s=e.substr(0,e.length-r.name.length);return Qc(e=Oc((function(e){return Pc(n,e,s)}),this.b).call(this,za(r,t,o)),i,!1),new Ca(e)},Z.prototype.S=function(e,t,o,r){var i=this,n=e.substr(0,e.length-r.name.length);return Oc((function(e){return new Promise((function(t,o){var r,s,a;Qc(Pc(i,e,n),(function(i,n,p,g,l){i?o(i):l?a=n:p?s=p:g?r=g:(i=e.getMethodDescriptor(),t(new D(a,i,n=void 0===(n=r)?{}:n,void 0===s?null:s)))}),!0)}))}),this.h).call(this,za(r,t,o)).then((function(e){return e.getResponseMessage()}))},Z.prototype.unaryCall=function(e,t,o,r){return this.S(e,t,o,r)},Z.prototype.Y=function(e,t,o,r){var i=this,n=e.substr(0,e.length-r.name.length);return Oc((function(e){return Pc(i,e,n)}),this.b).call(this,za(r,t,o))},Z.prototype.serverStreaming=Z.prototype.Y,Z.prototype.unaryCall=Z.prototype.unaryCall,Z.prototype.thenableCall=Z.prototype.S,Z.prototype.rpcCall=Z.prototype.X;var MethodDescriptor=ya,GrpcWebClientBase=Z,MethodType={UNARY:"unary",SERVER_STREAMING:"server_streaming",BIDI_STREAMING:"bidi_streaming"};Lb="undefined"!=typeof globalThis&&globalThis||self;var applications_pb$1={},struct_pb={};!function(e){var t=googleProtobuf,o=t,r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==r&&r||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();o.exportSymbol("proto.google.protobuf.ListValue",null,r),o.exportSymbol("proto.google.protobuf.NullValue",null,r),o.exportSymbol("proto.google.protobuf.Struct",null,r),o.exportSymbol("proto.google.protobuf.Value",null,r),o.exportSymbol("proto.google.protobuf.Value.KindCase",null,r),proto.google.protobuf.Struct=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.google.protobuf.Struct,t.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.Struct.displayName="proto.google.protobuf.Struct"),proto.google.protobuf.Value=function(e){t.Message.initialize(this,e,0,-1,null,proto.google.protobuf.Value.oneofGroups_)},o.inherits(proto.google.protobuf.Value,t.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.Value.displayName="proto.google.protobuf.Value"),proto.google.protobuf.ListValue=function(e){t.Message.initialize(this,e,0,-1,proto.google.protobuf.ListValue.repeatedFields_,null)},o.inherits(proto.google.protobuf.ListValue,t.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.ListValue.displayName="proto.google.protobuf.ListValue"),t.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Struct.prototype.toObject=function(e){return proto.google.protobuf.Struct.toObject(e,this)},proto.google.protobuf.Struct.toObject=function(e,t){var o,r={fieldsMap:(o=t.getFieldsMap())?o.toObject(e,proto.google.protobuf.Value.toObject):[]};return e&&(r.$jspbMessageInstance=t),r}),proto.google.protobuf.Struct.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.google.protobuf.Struct;return proto.google.protobuf.Struct.deserializeBinaryFromReader(r,o)},proto.google.protobuf.Struct.deserializeBinaryFromReader=function(e,o){for(;o.nextField()&&!o.isEndGroup();){if(1===o.getFieldNumber()){var r=e.getFieldsMap();o.readMessage(r,(function(e,o){t.Map.deserializeBinary(e,o,t.BinaryReader.prototype.readString,t.BinaryReader.prototype.readMessage,proto.google.protobuf.Value.deserializeBinaryFromReader,"",new proto.google.protobuf.Value)}))}else o.skipField()}return e},proto.google.protobuf.Struct.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.google.protobuf.Struct.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Struct.serializeBinaryToWriter=function(e,o){var r=void 0;(r=e.getFieldsMap(!0))&&r.getLength()>0&&r.serializeBinary(1,o,t.BinaryWriter.prototype.writeString,t.BinaryWriter.prototype.writeMessage,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.Struct.prototype.getFieldsMap=function(e){return t.Message.getMapField(this,1,e,proto.google.protobuf.Value)},proto.google.protobuf.Struct.prototype.clearFieldsMap=function(){return this.getFieldsMap().clear(),this},proto.google.protobuf.Value.oneofGroups_=[[1,2,3,4,5,6]],proto.google.protobuf.Value.KindCase={KIND_NOT_SET:0,NULL_VALUE:1,NUMBER_VALUE:2,STRING_VALUE:3,BOOL_VALUE:4,STRUCT_VALUE:5,LIST_VALUE:6},proto.google.protobuf.Value.prototype.getKindCase=function(){return t.Message.computeOneofCase(this,proto.google.protobuf.Value.oneofGroups_[0])},t.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Value.prototype.toObject=function(e){return proto.google.protobuf.Value.toObject(e,this)},proto.google.protobuf.Value.toObject=function(e,o){var r,i={nullValue:t.Message.getFieldWithDefault(o,1,0),numberValue:t.Message.getFloatingPointFieldWithDefault(o,2,0),stringValue:t.Message.getFieldWithDefault(o,3,""),boolValue:t.Message.getBooleanFieldWithDefault(o,4,!1),structValue:(r=o.getStructValue())&&proto.google.protobuf.Struct.toObject(e,r),listValue:(r=o.getListValue())&&proto.google.protobuf.ListValue.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.google.protobuf.Value.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.google.protobuf.Value;return proto.google.protobuf.Value.deserializeBinaryFromReader(r,o)},proto.google.protobuf.Value.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setNullValue(o);break;case 2:o=t.readDouble();e.setNumberValue(o);break;case 3:o=t.readString();e.setStringValue(o);break;case 4:o=t.readBool();e.setBoolValue(o);break;case 5:o=new proto.google.protobuf.Struct;t.readMessage(o,proto.google.protobuf.Struct.deserializeBinaryFromReader),e.setStructValue(o);break;case 6:o=new proto.google.protobuf.ListValue;t.readMessage(o,proto.google.protobuf.ListValue.deserializeBinaryFromReader),e.setListValue(o);break;default:t.skipField()}}return e},proto.google.protobuf.Value.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.google.protobuf.Value.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Value.serializeBinaryToWriter=function(e,o){var r=void 0;null!=(r=t.Message.getField(e,1))&&o.writeEnum(1,r),null!=(r=t.Message.getField(e,2))&&o.writeDouble(2,r),null!=(r=t.Message.getField(e,3))&&o.writeString(3,r),null!=(r=t.Message.getField(e,4))&&o.writeBool(4,r),null!=(r=e.getStructValue())&&o.writeMessage(5,r,proto.google.protobuf.Struct.serializeBinaryToWriter),null!=(r=e.getListValue())&&o.writeMessage(6,r,proto.google.protobuf.ListValue.serializeBinaryToWriter)},proto.google.protobuf.Value.prototype.getNullValue=function(){return t.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Value.prototype.setNullValue=function(e){return t.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearNullValue=function(){return t.Message.setOneofField(this,1,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNullValue=function(){return null!=t.Message.getField(this,1)},proto.google.protobuf.Value.prototype.getNumberValue=function(){return t.Message.getFloatingPointFieldWithDefault(this,2,0)},proto.google.protobuf.Value.prototype.setNumberValue=function(e){return t.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearNumberValue=function(){return t.Message.setOneofField(this,2,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasNumberValue=function(){return null!=t.Message.getField(this,2)},proto.google.protobuf.Value.prototype.getStringValue=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.Value.prototype.setStringValue=function(e){return t.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearStringValue=function(){return t.Message.setOneofField(this,3,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasStringValue=function(){return null!=t.Message.getField(this,3)},proto.google.protobuf.Value.prototype.getBoolValue=function(){return t.Message.getBooleanFieldWithDefault(this,4,!1)},proto.google.protobuf.Value.prototype.setBoolValue=function(e){return t.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearBoolValue=function(){return t.Message.setOneofField(this,4,proto.google.protobuf.Value.oneofGroups_[0],void 0)},proto.google.protobuf.Value.prototype.hasBoolValue=function(){return null!=t.Message.getField(this,4)},proto.google.protobuf.Value.prototype.getStructValue=function(){return t.Message.getWrapperField(this,proto.google.protobuf.Struct,5)},proto.google.protobuf.Value.prototype.setStructValue=function(e){return t.Message.setOneofWrapperField(this,5,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearStructValue=function(){return this.setStructValue(void 0)},proto.google.protobuf.Value.prototype.hasStructValue=function(){return null!=t.Message.getField(this,5)},proto.google.protobuf.Value.prototype.getListValue=function(){return t.Message.getWrapperField(this,proto.google.protobuf.ListValue,6)},proto.google.protobuf.Value.prototype.setListValue=function(e){return t.Message.setOneofWrapperField(this,6,proto.google.protobuf.Value.oneofGroups_[0],e)},proto.google.protobuf.Value.prototype.clearListValue=function(){return this.setListValue(void 0)},proto.google.protobuf.Value.prototype.hasListValue=function(){return null!=t.Message.getField(this,6)},proto.google.protobuf.ListValue.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ListValue.prototype.toObject=function(e){return proto.google.protobuf.ListValue.toObject(e,this)},proto.google.protobuf.ListValue.toObject=function(e,o){var r={valuesList:t.Message.toObjectList(o.getValuesList(),proto.google.protobuf.Value.toObject,e)};return e&&(r.$jspbMessageInstance=o),r}),proto.google.protobuf.ListValue.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.google.protobuf.ListValue;return proto.google.protobuf.ListValue.deserializeBinaryFromReader(r,o)},proto.google.protobuf.ListValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=new proto.google.protobuf.Value;t.readMessage(o,proto.google.protobuf.Value.deserializeBinaryFromReader),e.addValues(o)}else t.skipField()}return e},proto.google.protobuf.ListValue.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.google.protobuf.ListValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.ListValue.serializeBinaryToWriter=function(e,t){var o;(o=e.getValuesList()).length>0&&t.writeRepeatedMessage(1,o,proto.google.protobuf.Value.serializeBinaryToWriter)},proto.google.protobuf.ListValue.prototype.getValuesList=function(){return t.Message.getRepeatedWrapperField(this,proto.google.protobuf.Value,1)},proto.google.protobuf.ListValue.prototype.setValuesList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.google.protobuf.ListValue.prototype.addValues=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.google.protobuf.Value,o)},proto.google.protobuf.ListValue.prototype.clearValuesList=function(){return this.setValuesList([])},proto.google.protobuf.NullValue={NULL_VALUE:0},o.object.extend(e,proto.google.protobuf),proto.google.protobuf.JavaScriptValue,proto.google.protobuf.Value.prototype.toJavaScript=function(){var e=proto.google.protobuf.Value.KindCase;switch(this.getKindCase()){case e.NULL_VALUE:return null;case e.NUMBER_VALUE:return this.getNumberValue();case e.STRING_VALUE:return this.getStringValue();case e.BOOL_VALUE:return this.getBoolValue();case e.STRUCT_VALUE:return this.getStructValue().toJavaScript();case e.LIST_VALUE:return this.getListValue().toJavaScript();default:throw new Error("Unexpected struct type")}},proto.google.protobuf.Value.fromJavaScript=function(e){var t=new proto.google.protobuf.Value;switch(o.typeOf(e)){case"string":t.setStringValue(e);break;case"number":t.setNumberValue(e);break;case"boolean":t.setBoolValue(e);break;case"null":t.setNullValue(proto.google.protobuf.NullValue.NULL_VALUE);break;case"array":t.setListValue(proto.google.protobuf.ListValue.fromJavaScript(e));break;case"object":t.setStructValue(proto.google.protobuf.Struct.fromJavaScript(e));break;default:throw new Error("Unexpected struct type.")}return t},proto.google.protobuf.ListValue.prototype.toJavaScript=function(){for(var e=[],t=this.getValuesList(),o=0;o<t.length;o++)e[o]=t[o].toJavaScript();return e},proto.google.protobuf.ListValue.fromJavaScript=function(e){for(var t=new proto.google.protobuf.ListValue,o=0;o<e.length;o++)t.addValues(proto.google.protobuf.Value.fromJavaScript(e[o]));return t},proto.google.protobuf.Struct.prototype.toJavaScript=function(){var e={};return this.getFieldsMap().forEach((function(t,o){e[o]=t.toJavaScript()})),e},proto.google.protobuf.Struct.fromJavaScript=function(e){var t=new proto.google.protobuf.Struct,o=t.getFieldsMap();for(var r in e){var i=e[r];o.set(r,proto.google.protobuf.Value.fromJavaScript(i))}return t}}(struct_pb),function(e){var t=googleProtobuf,o=t,r=function(){return this||window||r||self||Function("return this")()}.call(null),i=struct_pb;o.object.extend(proto,i),o.exportSymbol("proto.fonoster.applications.v1beta2.Application",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ApplicationType",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.CreateApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.CreateApplicationResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.DeleteApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.DeleteApplicationResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.GetApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ListApplicationsRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ListApplicationsResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ProductContainer",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.UpdateApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.UpdateApplicationResponse",null,r),proto.fonoster.applications.v1beta2.ProductContainer=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.ProductContainer,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ProductContainer.displayName="proto.fonoster.applications.v1beta2.ProductContainer"),proto.fonoster.applications.v1beta2.Application=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.Application,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.Application.displayName="proto.fonoster.applications.v1beta2.Application"),proto.fonoster.applications.v1beta2.CreateApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.CreateApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.CreateApplicationRequest.displayName="proto.fonoster.applications.v1beta2.CreateApplicationRequest"),proto.fonoster.applications.v1beta2.CreateApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.CreateApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.CreateApplicationResponse.displayName="proto.fonoster.applications.v1beta2.CreateApplicationResponse"),proto.fonoster.applications.v1beta2.GetApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.GetApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.GetApplicationRequest.displayName="proto.fonoster.applications.v1beta2.GetApplicationRequest"),proto.fonoster.applications.v1beta2.ListApplicationsRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.ListApplicationsRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ListApplicationsRequest.displayName="proto.fonoster.applications.v1beta2.ListApplicationsRequest"),proto.fonoster.applications.v1beta2.ListApplicationsResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.applications.v1beta2.ListApplicationsResponse.repeatedFields_,null)},o.inherits(proto.fonoster.applications.v1beta2.ListApplicationsResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ListApplicationsResponse.displayName="proto.fonoster.applications.v1beta2.ListApplicationsResponse"),proto.fonoster.applications.v1beta2.UpdateApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.UpdateApplicationRequest.displayName="proto.fonoster.applications.v1beta2.UpdateApplicationRequest"),proto.fonoster.applications.v1beta2.UpdateApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.UpdateApplicationResponse.displayName="proto.fonoster.applications.v1beta2.UpdateApplicationResponse"),proto.fonoster.applications.v1beta2.DeleteApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.DeleteApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.DeleteApplicationRequest.displayName="proto.fonoster.applications.v1beta2.DeleteApplicationRequest"),proto.fonoster.applications.v1beta2.DeleteApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.DeleteApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.DeleteApplicationResponse.displayName="proto.fonoster.applications.v1beta2.DeleteApplicationResponse"),t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ProductContainer.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,this)},proto.fonoster.applications.v1beta2.ProductContainer.toObject=function(e,o){var r,n={productRef:t.Message.getFieldWithDefault(o,1,""),config:(r=o.getConfig())&&i.Struct.toObject(e,r),credentials:(r=o.getCredentials())&&i.Struct.toObject(e,r)};return e&&(n.$jspbMessageInstance=o),n}),proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ProductContainer;return proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setProductRef(o);break;case 2:o=new i.Struct;t.readMessage(o,i.Struct.deserializeBinaryFromReader),e.setConfig(o);break;case 3:o=new i.Struct;t.readMessage(o,i.Struct.deserializeBinaryFromReader),e.setCredentials(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ProductContainer.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getProductRef()).length>0&&t.writeString(1,o),null!=(o=e.getConfig())&&t.writeMessage(2,o,i.Struct.serializeBinaryToWriter),null!=(o=e.getCredentials())&&t.writeMessage(3,o,i.Struct.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getProductRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setProductRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getConfig=function(){return t.Message.getWrapperField(this,i.Struct,2)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setConfig=function(e){return t.Message.setWrapperField(this,2,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearConfig=function(){return this.setConfig(void 0)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasConfig=function(){return null!=t.Message.getField(this,2)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getCredentials=function(){return t.Message.getWrapperField(this,i.Struct,3)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setCredentials=function(e){return t.Message.setWrapperField(this,3,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearCredentials=function(){return this.setCredentials(void 0)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasCredentials=function(){return null!=t.Message.getField(this,3)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.Application.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.Application.toObject(e,this)},proto.fonoster.applications.v1beta2.Application.toObject=function(e,o){var r,i={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),type:t.Message.getFieldWithDefault(o,3,0),appEndpoint:t.Message.getFieldWithDefault(o,4,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),conversation:(r=o.getConversation())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),createdAt:t.Message.getFieldWithDefault(o,8,0),updatedAt:t.Message.getFieldWithDefault(o,9,0)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.Application.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.Application;return proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readEnum();e.setType(o);break;case 4:o=t.readString();e.setAppEndpoint(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 7:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setConversation(o);break;case 8:o=t.readInt64();e.setCreatedAt(o);break;case 9:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.Application.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),0!==(o=e.getType())&&t.writeEnum(3,o),(o=e.getAppEndpoint()).length>0&&t.writeString(4,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getConversation())&&t.writeMessage(7,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),0!==(o=e.getCreatedAt())&&t.writeInt64(8,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(9,o)},proto.fonoster.applications.v1beta2.Application.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.Application.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.Application.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.Application.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.Application.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.applications.v1beta2.Application.prototype.setType=function(e){return t.Message.setProto3EnumField(this,3,e)},proto.fonoster.applications.v1beta2.Application.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.applications.v1beta2.Application.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.applications.v1beta2.Application.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.Application.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.Application.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.Application.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,6)},proto.fonoster.applications.v1beta2.Application.prototype.getConversation=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,7)},proto.fonoster.applications.v1beta2.Application.prototype.setConversation=function(e){return t.Message.setWrapperField(this,7,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearConversation=function(){return this.setConversation(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasConversation=function(){return null!=t.Message.getField(this,7)},proto.fonoster.applications.v1beta2.Application.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,8,0)},proto.fonoster.applications.v1beta2.Application.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,8,e)},proto.fonoster.applications.v1beta2.Application.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,9,0)},proto.fonoster.applications.v1beta2.Application.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,9,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.CreateApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.toObject=function(e,o){var r,i={name:t.Message.getFieldWithDefault(o,1,""),type:t.Message.getFieldWithDefault(o,2,0),appEndpoint:t.Message.getFieldWithDefault(o,3,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),intelligence:(r=o.getIntelligence())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.CreateApplicationRequest;return proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.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.readEnum();e.setType(o);break;case 3:o=t.readString();e.setAppEndpoint(o);break;case 4:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setIntelligence(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),0!==(o=e.getType())&&t.writeEnum(2,o),(o=e.getAppEndpoint()).length>0&&t.writeString(3,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(4,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getIntelligence())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getType=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setType=function(e){return t.Message.setProto3EnumField(this,2,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,4)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,4,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,4)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getIntelligence=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setIntelligence=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearIntelligence=function(){return this.setIntelligence(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasIntelligence=function(){return null!=t.Message.getField(this,6)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.CreateApplicationResponse;return proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.GetApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.GetApplicationRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.GetApplicationRequest;return proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.GetApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.GetApplicationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ListApplicationsRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.toObject=function(e,o){var r={pageSize:t.Message.getFieldWithDefault(o,1,0),pageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ListApplicationsRequest;return proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt32();e.setPageSize(o);break;case 2:o=t.readString();e.setPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ListApplicationsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ListApplicationsRequest.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getPageSize())&&t.writeInt32(1,o),(o=e.getPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,1,0)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,1,e)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ListApplicationsResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.toObject=function(e,o){var r={itemsList:t.Message.toObjectList(o.getItemsList(),proto.fonoster.applications.v1beta2.Application.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ListApplicationsResponse;return proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.applications.v1beta2.Application;t.readMessage(o,proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader),e.addItems(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ListApplicationsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ListApplicationsResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getItemsList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.getItemsList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.applications.v1beta2.Application,1)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setItemsList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.addItems=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.applications.v1beta2.Application,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.clearItemsList=function(){return this.setItemsList([])},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.toObject=function(e,o){var r,i={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),type:t.Message.getFieldWithDefault(o,3,0),appEndpoint:t.Message.getFieldWithDefault(o,4,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),intelligence:(r=o.getIntelligence())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.UpdateApplicationRequest;return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readEnum();e.setType(o);break;case 4:o=t.readString();e.setAppEndpoint(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 7:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setIntelligence(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),0!==(o=e.getType())&&t.writeEnum(3,o),(o=e.getAppEndpoint()).length>0&&t.writeString(4,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getIntelligence())&&t.writeMessage(7,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setType=function(e){return t.Message.setProto3EnumField(this,3,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,6)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getIntelligence=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,7)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setIntelligence=function(e){return t.Message.setWrapperField(this,7,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearIntelligence=function(){return this.setIntelligence(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasIntelligence=function(){return null!=t.Message.getField(this,7)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.UpdateApplicationResponse;return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.DeleteApplicationRequest;return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.DeleteApplicationResponse;return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.ApplicationType={PROGRAMMABLE_VOICE:0},o.object.extend(e,proto.fonoster.applications.v1beta2)}(applications_pb$1);class ApplicationsClient{constructor(e,t,o){this.methodDescriptorCreateApplication=new MethodDescriptor("/fonoster.applications.v1beta2.Applications/CreateApplication",MethodType.UNARY,applications_pb$1.CreateApplicationRequest,applications_pb$1.CreateApplicationResponse,(e=>e.serializeBinary()),applications_pb$1.CreateApplicationResponse.deserializeBinary),this.methodDescriptorGetApplication=new MethodDescriptor("/fonoster.applications.v1beta2.Applications/GetApplication",MethodType.UNARY,applications_pb$1.GetApplicationRequest,applications_pb$1.Application,(e=>e.serializeBinary()),applications_pb$1.Application.deserializeBinary),this.methodDescriptorListApplications=new MethodDescriptor("/fonoster.applications.v1beta2.Applications/ListApplications",MethodType.UNARY,applications_pb$1.ListApplicationsRequest,applications_pb$1.ListApplicationsResponse,(e=>e.serializeBinary()),applications_pb$1.ListApplicationsResponse.deserializeBinary),this.methodDescriptorUpdateApplication=new MethodDescriptor("/fonoster.applications.v1beta2.Applications/UpdateApplication",MethodType.UNARY,applications_pb$1.UpdateApplicationRequest,applications_pb$1.UpdateApplicationResponse,(e=>e.serializeBinary()),applications_pb$1.UpdateApplicationResponse.deserializeBinary),this.methodDescriptorDeleteApplication=new MethodDescriptor("/fonoster.applications.v1beta2.Applications/DeleteApplication",MethodType.UNARY,applications_pb$1.DeleteApplicationRequest,applications_pb$1.DeleteApplicationResponse,(e=>e.serializeBinary()),applications_pb$1.DeleteApplicationResponse.deserializeBinary),o||(o={}),t||(t={}),o.format="text",this.client_=new GrpcWebClientBase(o),this.hostname_=e.replace(/\/+$/,""),this.credentials_=t,this.options_=o}createApplication(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/CreateApplication",e,t||{},this.methodDescriptorCreateApplication,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/CreateApplication",e,t||{},this.methodDescriptorCreateApplication)}getApplication(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/GetApplication",e,t||{},this.methodDescriptorGetApplication,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/GetApplication",e,t||{},this.methodDescriptorGetApplication)}listApplications(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/ListApplications",e,t||{},this.methodDescriptorListApplications,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/ListApplications",e,t||{},this.methodDescriptorListApplications)}updateApplication(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/UpdateApplication",e,t||{},this.methodDescriptorUpdateApplication,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/UpdateApplication",e,t||{},this.methodDescriptorUpdateApplication)}deleteApplication(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/DeleteApplication",e,t||{},this.methodDescriptorDeleteApplication,o):this.client_.unaryCall(this.hostname_+"/fonoster.applications.v1beta2.Applications/DeleteApplication",e,t||{},this.methodDescriptorDeleteApplication)}}var identity_pb={};!function(e){var t=googleProtobuf,o=t,r=function(){return this||window||r||self||Function("return this")()}.call(null),i=empty_pb;o.object.extend(proto,i),o.exportSymbol("proto.fonoster.identity.v1beta2.ApiKey",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.CreateWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetPublicKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.GetWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListApiKeysRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListApiKeysResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListWorkspacesRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ListWorkspacesResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RevokeTokenRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.RevokeTokenResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateUserRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateUserResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse",null,r),o.exportSymbol("proto.fonoster.identity.v1beta2.Workspace",null,r),proto.fonoster.identity.v1beta2.CreateWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.CreateWorkspaceRequest"),proto.fonoster.identity.v1beta2.CreateWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.CreateWorkspaceResponse"),proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest"),proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse"),proto.fonoster.identity.v1beta2.GetWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.GetWorkspaceRequest"),proto.fonoster.identity.v1beta2.ListWorkspacesRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ListWorkspacesRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListWorkspacesRequest.displayName="proto.fonoster.identity.v1beta2.ListWorkspacesRequest"),proto.fonoster.identity.v1beta2.ListWorkspacesResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.identity.v1beta2.ListWorkspacesResponse.repeatedFields_,null)},o.inherits(proto.fonoster.identity.v1beta2.ListWorkspacesResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListWorkspacesResponse.displayName="proto.fonoster.identity.v1beta2.ListWorkspacesResponse"),proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest"),proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse"),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest"),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse"),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.displayName="proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest"),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.displayName="proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse"),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.displayName="proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest"),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.displayName="proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse"),proto.fonoster.identity.v1beta2.CreateUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateUserRequest.displayName="proto.fonoster.identity.v1beta2.CreateUserRequest"),proto.fonoster.identity.v1beta2.CreateUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateUserResponse.displayName="proto.fonoster.identity.v1beta2.CreateUserResponse"),proto.fonoster.identity.v1beta2.GetUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetUserRequest.displayName="proto.fonoster.identity.v1beta2.GetUserRequest"),proto.fonoster.identity.v1beta2.GetUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetUserResponse.displayName="proto.fonoster.identity.v1beta2.GetUserResponse"),proto.fonoster.identity.v1beta2.UpdateUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateUserRequest.displayName="proto.fonoster.identity.v1beta2.UpdateUserRequest"),proto.fonoster.identity.v1beta2.UpdateUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.UpdateUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.UpdateUserResponse.displayName="proto.fonoster.identity.v1beta2.UpdateUserResponse"),proto.fonoster.identity.v1beta2.DeleteUserRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteUserRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteUserRequest.displayName="proto.fonoster.identity.v1beta2.DeleteUserRequest"),proto.fonoster.identity.v1beta2.DeleteUserResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteUserResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteUserResponse.displayName="proto.fonoster.identity.v1beta2.DeleteUserResponse"),proto.fonoster.identity.v1beta2.Workspace=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.Workspace,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.Workspace.displayName="proto.fonoster.identity.v1beta2.Workspace"),proto.fonoster.identity.v1beta2.CreateApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.CreateApiKeyRequest"),proto.fonoster.identity.v1beta2.CreateApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.CreateApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.CreateApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.CreateApiKeyResponse"),proto.fonoster.identity.v1beta2.DeleteApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.DeleteApiKeyRequest"),proto.fonoster.identity.v1beta2.DeleteApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.DeleteApiKeyResponse"),proto.fonoster.identity.v1beta2.ListApiKeysRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ListApiKeysRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListApiKeysRequest.displayName="proto.fonoster.identity.v1beta2.ListApiKeysRequest"),proto.fonoster.identity.v1beta2.ListApiKeysResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.identity.v1beta2.ListApiKeysResponse.repeatedFields_,null)},o.inherits(proto.fonoster.identity.v1beta2.ListApiKeysResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ListApiKeysResponse.displayName="proto.fonoster.identity.v1beta2.ListApiKeysResponse"),proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest"),proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse"),proto.fonoster.identity.v1beta2.ApiKey=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ApiKey,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ApiKey.displayName="proto.fonoster.identity.v1beta2.ApiKey"),proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest"),proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse"),proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest"),proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse"),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest"),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse"),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.displayName="proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest"),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.displayName="proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse"),proto.fonoster.identity.v1beta2.RevokeTokenRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RevokeTokenRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RevokeTokenRequest.displayName="proto.fonoster.identity.v1beta2.RevokeTokenRequest"),proto.fonoster.identity.v1beta2.RevokeTokenResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.RevokeTokenResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.RevokeTokenResponse.displayName="proto.fonoster.identity.v1beta2.RevokeTokenResponse"),proto.fonoster.identity.v1beta2.GetPublicKeyResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.identity.v1beta2.GetPublicKeyResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.identity.v1beta2.GetPublicKeyResponse.displayName="proto.fonoster.identity.v1beta2.GetPublicKeyResponse"),t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.toObject=function(e,o){var r={name:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateWorkspaceRequest;return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setName(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getName()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateWorkspaceResponse;return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest;return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse;return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetWorkspaceRequest;return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.toObject=function(e,o){var r={pageToken:t.Message.getFieldWithDefault(o,1,""),pageSize:t.Message.getFieldWithDefault(o,2,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListWorkspacesRequest;return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setPageToken(o);break;case 2:o=t.readInt32();e.setPageSize(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListWorkspacesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getPageToken()).length>0&&t.writeString(1,o),0!==(o=e.getPageSize())&&t.writeInt32(2,o)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.identity.v1beta2.ListWorkspacesRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,2,e)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.toObject=function(e,o){var r={workspacesList:t.Message.toObjectList(o.getWorkspacesList(),proto.fonoster.identity.v1beta2.Workspace.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListWorkspacesResponse;return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.identity.v1beta2.Workspace;t.readMessage(o,proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader),e.addWorkspaces(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListWorkspacesResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getWorkspacesList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.getWorkspacesList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.identity.v1beta2.Workspace,1)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.setWorkspacesList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.addWorkspaces=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.identity.v1beta2.Workspace,o)},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.clearWorkspacesList=function(){return this.setWorkspacesList([])},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListWorkspacesResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest;return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse;return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateWorkspaceResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.toObject=function(e,o){var r={email:t.Message.getFieldWithDefault(o,1,""),role:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setEmail(o);break;case 2:o=t.readString();e.setRole(o);break;case 3:o=t.readString();e.setName(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEmail()).length>0&&t.writeString(1,o),(o=e.getRole()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setRole=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.InviteUserToWorkspaceResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceRequest.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RemoveUserFromWorkspaceResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationRequest.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.toObject=function(e,o){var r={userRef:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setUserRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getUserRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.getUserRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ResendWorkspaceMembershipInvitationResponse.prototype.setUserRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateUserRequest.toObject=function(e,o){var r={email:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateUserRequest;return proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setEmail(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateUserRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getEmail()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.CreateUserRequest.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateUserResponse;return proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.GetUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetUserRequest;return proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetUserRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.GetUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),email:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,""),createdAt:t.Message.getFieldWithDefault(o,5,0),updatedAt:t.Message.getFieldWithDefault(o,6,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetUserResponse;return proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setEmail(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;case 5:o=t.readInt64();e.setCreatedAt(o);break;case 6:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetUserResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getEmail()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o),0!==(o=e.getCreatedAt())&&t.writeInt64(5,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(6,o)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getEmail=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setEmail=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,6,0)},proto.fonoster.identity.v1beta2.GetUserResponse.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),name:t.Message.getFieldWithDefault(o,3,""),avatar:t.Message.getFieldWithDefault(o,4,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateUserRequest;return proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setPassword(o);break;case 3:o=t.readString();e.setName(o);break;case 4:o=t.readString();e.setAvatar(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateUserRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getName()).length>0&&t.writeString(3,o),(o=e.getAvatar()).length>0&&t.writeString(4,o)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.getAvatar=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.identity.v1beta2.UpdateUserRequest.prototype.setAvatar=function(e){return t.Message.setProto3StringField(this,4,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.UpdateUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.UpdateUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.UpdateUserResponse;return proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.UpdateUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.UpdateUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.UpdateUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteUserRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteUserRequest;return proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteUserRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteUserRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteUserRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteUserResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteUserResponse;return proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteUserResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteUserResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteUserResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.Workspace.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.Workspace.toObject(e,this)},proto.fonoster.identity.v1beta2.Workspace.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),ownerRef:t.Message.getFieldWithDefault(o,3,""),createdAt:t.Message.getFieldWithDefault(o,4,0),updatedAt:t.Message.getFieldWithDefault(o,5,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.Workspace.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.Workspace;return proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.Workspace.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readString();e.setOwnerRef(o);break;case 4:o=t.readInt64();e.setCreatedAt(o);break;case 5:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.Workspace.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.Workspace.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),(o=e.getOwnerRef()).length>0&&t.writeString(3,o),0!==(o=e.getCreatedAt())&&t.writeInt64(4,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(5,o)},proto.fonoster.identity.v1beta2.Workspace.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getOwnerRef=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.Workspace.prototype.setOwnerRef=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,4,0)},proto.fonoster.identity.v1beta2.Workspace.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,4,e)},proto.fonoster.identity.v1beta2.Workspace.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.Workspace.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.toObject=function(e,o){var r={role:t.Message.getFieldWithDefault(o,1,""),expiresAt:t.Message.getFieldWithDefault(o,2,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateApiKeyRequest;return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRole(o);break;case 2:o=t.readInt32();e.setExpiresAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRole()).length>0&&t.writeString(1,o),0!==(o=e.getExpiresAt())&&t.writeInt32(2,o)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.setRole=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.getExpiresAt=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.identity.v1beta2.CreateApiKeyRequest.prototype.setExpiresAt=function(e){return t.Message.setProto3IntField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),accessKeySecret:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.CreateApiKeyResponse;return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.CreateApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.CreateApiKeyResponse.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteApiKeyRequest;return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteApiKeyRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.DeleteApiKeyResponse;return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.DeleteApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListApiKeysRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.toObject=function(e,o){var r={pageSize:t.Message.getFieldWithDefault(o,3,0),pageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListApiKeysRequest;return proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 3:var o=t.readInt32();e.setPageSize(o);break;case 2:o=t.readString();e.setPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListApiKeysRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListApiKeysRequest.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getPageSize())&&t.writeInt32(3,o),(o=e.getPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,3,e)},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListApiKeysRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ListApiKeysResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.toObject=function(e,o){var r={itemsList:t.Message.toObjectList(o.getItemsList(),proto.fonoster.identity.v1beta2.ApiKey.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ListApiKeysResponse;return proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.identity.v1beta2.ApiKey;t.readMessage(o,proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader),e.addItems(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ListApiKeysResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ListApiKeysResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getItemsList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.getItemsList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.identity.v1beta2.ApiKey,1)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.setItemsList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.addItems=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.identity.v1beta2.ApiKey,o)},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.clearItemsList=function(){return this.setItemsList([])},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ListApiKeysResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest;return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),accessKeySecret:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse;return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.RegenerateApiKeyResponse.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ApiKey.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ApiKey.toObject(e,this)},proto.fonoster.identity.v1beta2.ApiKey.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,""),accessKeyId:t.Message.getFieldWithDefault(o,2,""),role:t.Message.getFieldWithDefault(o,3,""),expiresAt:t.Message.getFieldWithDefault(o,4,0),createdAt:t.Message.getFieldWithDefault(o,5,0),updatedAt:t.Message.getFieldWithDefault(o,6,0)};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ApiKey.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ApiKey;return proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ApiKey.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setAccessKeyId(o);break;case 3:o=t.readString();e.setRole(o);break;case 4:o=t.readInt32();e.setExpiresAt(o);break;case 5:o=t.readInt64();e.setCreatedAt(o);break;case 6:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ApiKey.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ApiKey.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getAccessKeyId()).length>0&&t.writeString(2,o),(o=e.getRole()).length>0&&t.writeString(3,o),0!==(o=e.getExpiresAt())&&t.writeInt32(4,o),0!==(o=e.getCreatedAt())&&t.writeInt64(5,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(6,o)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getRole=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ApiKey.prototype.setRole=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getExpiresAt=function(){return t.Message.getFieldWithDefault(this,4,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setExpiresAt=function(e){return t.Message.setProto3IntField(this,4,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,5,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,5,e)},proto.fonoster.identity.v1beta2.ApiKey.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,6,0)},proto.fonoster.identity.v1beta2.ApiKey.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,6,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.toObject=function(e,o){var r={username:t.Message.getFieldWithDefault(o,1,""),password:t.Message.getFieldWithDefault(o,2,""),ephemeralCode:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest;return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.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.setPassword(o);break;case 3:o=t.readString();e.setEphemeralCode(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getUsername()).length>0&&t.writeString(1,o),(o=e.getPassword()).length>0&&t.writeString(2,o),(o=e.getEphemeralCode()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getUsername=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setUsername=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getPassword=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setPassword=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.getEphemeralCode=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsRequest.prototype.setEphemeralCode=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse;return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeCredentialsResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.toObject=function(e,o){var r={accessKeyId:t.Message.getFieldWithDefault(o,1,""),accessKeySecret:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest;return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setAccessKeyId(o);break;case 2:o=t.readString();e.setAccessKeySecret(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getAccessKeyId()).length>0&&t.writeString(1,o),(o=e.getAccessKeySecret()).length>0&&t.writeString(2,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.getAccessKeyId=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.setAccessKeyId=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.getAccessKeySecret=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyRequest.prototype.setAccessKeySecret=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse;return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeApiKeyResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.toObject=function(e,o){var r={code:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setCode(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getCode()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.getCode=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeRequest.prototype.setCode=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeOAuth2CodeResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.toObject=function(e,o){var r={refreshToken:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRefreshToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRefreshToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenRequest.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.toObject=function(e,o){var r={idToken:t.Message.getFieldWithDefault(o,1,""),accessToken:t.Message.getFieldWithDefault(o,2,""),refreshToken:t.Message.getFieldWithDefault(o,3,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setIdToken(o);break;case 2:o=t.readString();e.setAccessToken(o);break;case 3:o=t.readString();e.setRefreshToken(o);break;default:t.skipField()}}return e},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getIdToken()).length>0&&t.writeString(1,o),(o=e.getAccessToken()).length>0&&t.writeString(2,o),(o=e.getRefreshToken()).length>0&&t.writeString(3,o)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getIdToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setIdToken=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getAccessToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setAccessToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.getRefreshToken=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.identity.v1beta2.ExchangeRefreshTokenResponse.prototype.setRefreshToken=function(e){return t.Message.setProto3StringField(this,3,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RevokeTokenRequest.toObject(e,this)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.toObject=function(e,o){var r={token:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RevokeTokenRequest;return proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RevokeTokenRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RevokeTokenRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.getToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RevokeTokenRequest.prototype.setToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.RevokeTokenResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.toObject=function(e,o){var r={token:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.RevokeTokenResponse;return proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setToken(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.RevokeTokenResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.RevokeTokenResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getToken()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.getToken=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.RevokeTokenResponse.prototype.setToken=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.toObject=function(e){return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.toObject(e,this)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.toObject=function(e,o){var r={publicKey:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.identity.v1beta2.GetPublicKeyResponse;return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setPublicKey(o)}else t.skipField()}return e},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.identity.v1beta2.GetPublicKeyResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getPublicKey()).length>0&&t.writeString(1,o)},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.getPublicKey=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.identity.v1beta2.GetPublicKeyResponse.prototype.setPublicKey=function(e){return t.Message.setProto3StringField(this,1,e)},o.object.extend(e,proto.fonoster.identity.v1beta2)}(identity_pb);class IdentityClient{constructor(e,t,o){this.methodDescriptorCreateWorkspace=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/CreateWorkspace",MethodType.UNARY,identity_pb.CreateWorkspaceRequest,identity_pb.CreateWorkspaceResponse,(e=>e.serializeBinary()),identity_pb.CreateWorkspaceResponse.deserializeBinary),this.methodDescriptorDeleteWorkspace=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/DeleteWorkspace",MethodType.UNARY,identity_pb.DeleteWorkspaceRequest,identity_pb.DeleteWorkspaceResponse,(e=>e.serializeBinary()),identity_pb.DeleteWorkspaceResponse.deserializeBinary),this.methodDescriptorGetWorkspace=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/GetWorkspace",MethodType.UNARY,identity_pb.GetWorkspaceRequest,identity_pb.Workspace,(e=>e.serializeBinary()),identity_pb.Workspace.deserializeBinary),this.methodDescriptorListWorkspaces=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/ListWorkspaces",MethodType.UNARY,identity_pb.ListWorkspacesRequest,identity_pb.ListWorkspacesResponse,(e=>e.serializeBinary()),identity_pb.ListWorkspacesResponse.deserializeBinary),this.methodDescriptorUpdateWorkspace=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/UpdateWorkspace",MethodType.UNARY,identity_pb.UpdateWorkspaceRequest,identity_pb.UpdateWorkspaceResponse,(e=>e.serializeBinary()),identity_pb.UpdateWorkspaceResponse.deserializeBinary),this.methodDescriptorInviteUserToWorkspace=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/InviteUserToWorkspace",MethodType.UNARY,identity_pb.InviteUserToWorkspaceRequest,identity_pb.InviteUserToWorkspaceResponse,(e=>e.serializeBinary()),identity_pb.InviteUserToWorkspaceResponse.deserializeBinary),this.methodDescriptorRemoveUserFromWorkspace=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/RemoveUserFromWorkspace",MethodType.UNARY,identity_pb.RemoveUserFromWorkspaceRequest,identity_pb.RemoveUserFromWorkspaceResponse,(e=>e.serializeBinary()),identity_pb.RemoveUserFromWorkspaceResponse.deserializeBinary),this.methodDescriptorResendWorkspaceMembershipInvitation=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/ResendWorkspaceMembershipInvitation",MethodType.UNARY,identity_pb.ResendWorkspaceMembershipInvitationRequest,identity_pb.ResendWorkspaceMembershipInvitationResponse,(e=>e.serializeBinary()),identity_pb.ResendWorkspaceMembershipInvitationResponse.deserializeBinary),this.methodDescriptorCreateUser=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/CreateUser",MethodType.UNARY,identity_pb.CreateUserRequest,identity_pb.CreateUserResponse,(e=>e.serializeBinary()),identity_pb.CreateUserResponse.deserializeBinary),this.methodDescriptorGetUser=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/GetUser",MethodType.UNARY,identity_pb.GetUserRequest,identity_pb.GetUserResponse,(e=>e.serializeBinary()),identity_pb.GetUserResponse.deserializeBinary),this.methodDescriptorUpdateUser=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/UpdateUser",MethodType.UNARY,identity_pb.UpdateUserRequest,identity_pb.UpdateUserResponse,(e=>e.serializeBinary()),identity_pb.UpdateUserResponse.deserializeBinary),this.methodDescriptorDeleteUser=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/DeleteUser",MethodType.UNARY,identity_pb.DeleteUserRequest,identity_pb.DeleteUserResponse,(e=>e.serializeBinary()),identity_pb.DeleteUserResponse.deserializeBinary),this.methodDescriptorCreateApiKey=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/CreateApiKey",MethodType.UNARY,identity_pb.CreateApiKeyRequest,identity_pb.CreateApiKeyResponse,(e=>e.serializeBinary()),identity_pb.CreateApiKeyResponse.deserializeBinary),this.methodDescriptorDeleteApiKey=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/DeleteApiKey",MethodType.UNARY,identity_pb.DeleteApiKeyRequest,identity_pb.DeleteApiKeyResponse,(e=>e.serializeBinary()),identity_pb.DeleteApiKeyResponse.deserializeBinary),this.methodDescriptorListApiKeys=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/ListApiKeys",MethodType.UNARY,identity_pb.ListApiKeysRequest,identity_pb.ListApiKeysResponse,(e=>e.serializeBinary()),identity_pb.ListApiKeysResponse.deserializeBinary),this.methodDescriptorRegenerateApiKey=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/RegenerateApiKey",MethodType.UNARY,identity_pb.RegenerateApiKeyRequest,identity_pb.RegenerateApiKeyResponse,(e=>e.serializeBinary()),identity_pb.RegenerateApiKeyResponse.deserializeBinary),this.methodDescriptorExchangeCredentials=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/ExchangeCredentials",MethodType.UNARY,identity_pb.ExchangeCredentialsRequest,identity_pb.ExchangeCredentialsResponse,(e=>e.serializeBinary()),identity_pb.ExchangeCredentialsResponse.deserializeBinary),this.methodDescriptorExchangeApiKey=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/ExchangeApiKey",MethodType.UNARY,identity_pb.ExchangeApiKeyRequest,identity_pb.ExchangeApiKeyResponse,(e=>e.serializeBinary()),identity_pb.ExchangeApiKeyResponse.deserializeBinary),this.methodDescriptorExchangeOAuth2Code=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/ExchangeOAuth2Code",MethodType.UNARY,identity_pb.ExchangeOAuth2CodeRequest,identity_pb.ExchangeOAuth2CodeResponse,(e=>e.serializeBinary()),identity_pb.ExchangeOAuth2CodeResponse.deserializeBinary),this.methodDescriptorExchangeRefreshToken=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/ExchangeRefreshToken",MethodType.UNARY,identity_pb.ExchangeRefreshTokenRequest,identity_pb.ExchangeRefreshTokenResponse,(e=>e.serializeBinary()),identity_pb.ExchangeRefreshTokenResponse.deserializeBinary),this.methodDescriptorRevokeToken=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/RevokeToken",MethodType.UNARY,identity_pb.RevokeTokenRequest,identity_pb.RevokeTokenResponse,(e=>e.serializeBinary()),identity_pb.RevokeTokenResponse.deserializeBinary),this.methodDescriptorGetPublicKey=new MethodDescriptor("/fonoster.identity.v1beta2.Identity/GetPublicKey",MethodType.UNARY,empty_pb.Empty,identity_pb.GetPublicKeyResponse,(e=>e.serializeBinary()),identity_pb.GetPublicKeyResponse.deserializeBinary),o||(o={}),t||(t={}),o.format="text",this.client_=new GrpcWebClientBase(o),this.hostname_=e.replace(/\/+$/,""),this.credentials_=t,this.options_=o}createWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateWorkspace",e,t||{},this.methodDescriptorCreateWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateWorkspace",e,t||{},this.methodDescriptorCreateWorkspace)}deleteWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteWorkspace",e,t||{},this.methodDescriptorDeleteWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteWorkspace",e,t||{},this.methodDescriptorDeleteWorkspace)}getWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetWorkspace",e,t||{},this.methodDescriptorGetWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetWorkspace",e,t||{},this.methodDescriptorGetWorkspace)}listWorkspaces(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ListWorkspaces",e,t||{},this.methodDescriptorListWorkspaces,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ListWorkspaces",e,t||{},this.methodDescriptorListWorkspaces)}updateWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/UpdateWorkspace",e,t||{},this.methodDescriptorUpdateWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/UpdateWorkspace",e,t||{},this.methodDescriptorUpdateWorkspace)}inviteUserToWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/InviteUserToWorkspace",e,t||{},this.methodDescriptorInviteUserToWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/InviteUserToWorkspace",e,t||{},this.methodDescriptorInviteUserToWorkspace)}removeUserFromWorkspace(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RemoveUserFromWorkspace",e,t||{},this.methodDescriptorRemoveUserFromWorkspace,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RemoveUserFromWorkspace",e,t||{},this.methodDescriptorRemoveUserFromWorkspace)}resendWorkspaceMembershipInvitation(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ResendWorkspaceMembershipInvitation",e,t||{},this.methodDescriptorResendWorkspaceMembershipInvitation,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ResendWorkspaceMembershipInvitation",e,t||{},this.methodDescriptorResendWorkspaceMembershipInvitation)}createUser(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateUser",e,t||{},this.methodDescriptorCreateUser,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateUser",e,t||{},this.methodDescriptorCreateUser)}getUser(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetUser",e,t||{},this.methodDescriptorGetUser,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetUser",e,t||{},this.methodDescriptorGetUser)}updateUser(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/UpdateUser",e,t||{},this.methodDescriptorUpdateUser,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/UpdateUser",e,t||{},this.methodDescriptorUpdateUser)}deleteUser(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteUser",e,t||{},this.methodDescriptorDeleteUser,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteUser",e,t||{},this.methodDescriptorDeleteUser)}createApiKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateApiKey",e,t||{},this.methodDescriptorCreateApiKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/CreateApiKey",e,t||{},this.methodDescriptorCreateApiKey)}deleteApiKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteApiKey",e,t||{},this.methodDescriptorDeleteApiKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/DeleteApiKey",e,t||{},this.methodDescriptorDeleteApiKey)}listApiKeys(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ListApiKeys",e,t||{},this.methodDescriptorListApiKeys,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ListApiKeys",e,t||{},this.methodDescriptorListApiKeys)}regenerateApiKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RegenerateApiKey",e,t||{},this.methodDescriptorRegenerateApiKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RegenerateApiKey",e,t||{},this.methodDescriptorRegenerateApiKey)}exchangeCredentials(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeCredentials",e,t||{},this.methodDescriptorExchangeCredentials,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeCredentials",e,t||{},this.methodDescriptorExchangeCredentials)}exchangeApiKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeApiKey",e,t||{},this.methodDescriptorExchangeApiKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeApiKey",e,t||{},this.methodDescriptorExchangeApiKey)}exchangeOAuth2Code(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeOAuth2Code",e,t||{},this.methodDescriptorExchangeOAuth2Code,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeOAuth2Code",e,t||{},this.methodDescriptorExchangeOAuth2Code)}exchangeRefreshToken(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeRefreshToken",e,t||{},this.methodDescriptorExchangeRefreshToken,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/ExchangeRefreshToken",e,t||{},this.methodDescriptorExchangeRefreshToken)}revokeToken(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RevokeToken",e,t||{},this.methodDescriptorRevokeToken,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/RevokeToken",e,t||{},this.methodDescriptorRevokeToken)}getPublicKey(e,t,o){return void 0!==o?this.client_.rpcCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetPublicKey",e,t||{},this.methodDescriptorGetPublicKey,o):this.client_.unaryCall(this.hostname_+"/fonoster.identity.v1beta2.Identity/GetPublicKey",e,t||{},this.methodDescriptorGetPublicKey)}}const DEFAULT_URL="https://api.fonoster.io/v1beta2";class WebClient extends AbstractClient{constructor(e){const{url:t,accessKeyId:o}=e;super({accessKeyId:o,identityClient:new IdentityClient(t||DEFAULT_URL,null,null)}),this.url=t||DEFAULT_URL}getMetadata(){return{token:this.getAccessToken(),accessKeyId:this.getAccessKeyId()}}getApplicationsClient(){return new ApplicationsClient(this.url,null,{streamInterceptors:[new TokenRefresherWeb(this)]})}getIdentityClient(){return new IdentityClient(this.url,null,null)}}var applications_pb={};function buildStructOverride(e){return Object.assign(Object.assign({},e),{textToSpeech:e.textToSpeech?Object.assign(Object.assign({},e.textToSpeech),{config:e.textToSpeech.config?struct_pb.Struct.fromJavaScript(e.textToSpeech.config):void 0}):void 0,speechToText:e.speechToText?Object.assign(Object.assign({},e.speechToText),{config:e.speechToText.config?struct_pb.Struct.fromJavaScript(e.speechToText.config):void 0}):void 0,intelligence:e.intelligence?Object.assign(Object.assign({},e.intelligence),{credentials:e.intelligence.credentials?struct_pb.Struct.fromJavaScript(e.intelligence.credentials):void 0,config:e.intelligence.config?struct_pb.Struct.fromJavaScript(e.intelligence.config):void 0}):void 0})}!function(e){var t=googleProtobuf,o=t,r=function(){return this||window||r||self||Function("return this")()}.call(null),i=struct_pb;o.object.extend(proto,i),o.exportSymbol("proto.fonoster.applications.v1beta2.Application",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ApplicationType",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.CreateApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.CreateApplicationResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.DeleteApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.DeleteApplicationResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.GetApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ListApplicationsRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ListApplicationsResponse",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.ProductContainer",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.UpdateApplicationRequest",null,r),o.exportSymbol("proto.fonoster.applications.v1beta2.UpdateApplicationResponse",null,r),proto.fonoster.applications.v1beta2.ProductContainer=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.ProductContainer,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ProductContainer.displayName="proto.fonoster.applications.v1beta2.ProductContainer"),proto.fonoster.applications.v1beta2.Application=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.Application,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.Application.displayName="proto.fonoster.applications.v1beta2.Application"),proto.fonoster.applications.v1beta2.CreateApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.CreateApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.CreateApplicationRequest.displayName="proto.fonoster.applications.v1beta2.CreateApplicationRequest"),proto.fonoster.applications.v1beta2.CreateApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.CreateApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.CreateApplicationResponse.displayName="proto.fonoster.applications.v1beta2.CreateApplicationResponse"),proto.fonoster.applications.v1beta2.GetApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.GetApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.GetApplicationRequest.displayName="proto.fonoster.applications.v1beta2.GetApplicationRequest"),proto.fonoster.applications.v1beta2.ListApplicationsRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.ListApplicationsRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ListApplicationsRequest.displayName="proto.fonoster.applications.v1beta2.ListApplicationsRequest"),proto.fonoster.applications.v1beta2.ListApplicationsResponse=function(e){t.Message.initialize(this,e,0,-1,proto.fonoster.applications.v1beta2.ListApplicationsResponse.repeatedFields_,null)},o.inherits(proto.fonoster.applications.v1beta2.ListApplicationsResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.ListApplicationsResponse.displayName="proto.fonoster.applications.v1beta2.ListApplicationsResponse"),proto.fonoster.applications.v1beta2.UpdateApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.UpdateApplicationRequest.displayName="proto.fonoster.applications.v1beta2.UpdateApplicationRequest"),proto.fonoster.applications.v1beta2.UpdateApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.UpdateApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.UpdateApplicationResponse.displayName="proto.fonoster.applications.v1beta2.UpdateApplicationResponse"),proto.fonoster.applications.v1beta2.DeleteApplicationRequest=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.DeleteApplicationRequest,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.DeleteApplicationRequest.displayName="proto.fonoster.applications.v1beta2.DeleteApplicationRequest"),proto.fonoster.applications.v1beta2.DeleteApplicationResponse=function(e){t.Message.initialize(this,e,0,-1,null,null)},o.inherits(proto.fonoster.applications.v1beta2.DeleteApplicationResponse,t.Message),o.DEBUG&&!COMPILED&&(proto.fonoster.applications.v1beta2.DeleteApplicationResponse.displayName="proto.fonoster.applications.v1beta2.DeleteApplicationResponse"),t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ProductContainer.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,this)},proto.fonoster.applications.v1beta2.ProductContainer.toObject=function(e,o){var r,n={productRef:t.Message.getFieldWithDefault(o,1,""),config:(r=o.getConfig())&&i.Struct.toObject(e,r),credentials:(r=o.getCredentials())&&i.Struct.toObject(e,r)};return e&&(n.$jspbMessageInstance=o),n}),proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ProductContainer;return proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setProductRef(o);break;case 2:o=new i.Struct;t.readMessage(o,i.Struct.deserializeBinaryFromReader),e.setConfig(o);break;case 3:o=new i.Struct;t.readMessage(o,i.Struct.deserializeBinaryFromReader),e.setCredentials(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ProductContainer.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getProductRef()).length>0&&t.writeString(1,o),null!=(o=e.getConfig())&&t.writeMessage(2,o,i.Struct.serializeBinaryToWriter),null!=(o=e.getCredentials())&&t.writeMessage(3,o,i.Struct.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getProductRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setProductRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getConfig=function(){return t.Message.getWrapperField(this,i.Struct,2)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setConfig=function(e){return t.Message.setWrapperField(this,2,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearConfig=function(){return this.setConfig(void 0)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasConfig=function(){return null!=t.Message.getField(this,2)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.getCredentials=function(){return t.Message.getWrapperField(this,i.Struct,3)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.setCredentials=function(e){return t.Message.setWrapperField(this,3,e)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.clearCredentials=function(){return this.setCredentials(void 0)},proto.fonoster.applications.v1beta2.ProductContainer.prototype.hasCredentials=function(){return null!=t.Message.getField(this,3)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.Application.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.Application.toObject(e,this)},proto.fonoster.applications.v1beta2.Application.toObject=function(e,o){var r,i={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),type:t.Message.getFieldWithDefault(o,3,0),appEndpoint:t.Message.getFieldWithDefault(o,4,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),conversation:(r=o.getConversation())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),createdAt:t.Message.getFieldWithDefault(o,8,0),updatedAt:t.Message.getFieldWithDefault(o,9,0)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.Application.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.Application;return proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readEnum();e.setType(o);break;case 4:o=t.readString();e.setAppEndpoint(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 7:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setConversation(o);break;case 8:o=t.readInt64();e.setCreatedAt(o);break;case 9:o=t.readInt64();e.setUpdatedAt(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.Application.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),0!==(o=e.getType())&&t.writeEnum(3,o),(o=e.getAppEndpoint()).length>0&&t.writeString(4,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getConversation())&&t.writeMessage(7,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),0!==(o=e.getCreatedAt())&&t.writeInt64(8,o),0!==(o=e.getUpdatedAt())&&t.writeInt64(9,o)},proto.fonoster.applications.v1beta2.Application.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.Application.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.Application.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.Application.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.Application.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.applications.v1beta2.Application.prototype.setType=function(e){return t.Message.setProto3EnumField(this,3,e)},proto.fonoster.applications.v1beta2.Application.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.applications.v1beta2.Application.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.applications.v1beta2.Application.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.Application.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.Application.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.Application.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,6)},proto.fonoster.applications.v1beta2.Application.prototype.getConversation=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,7)},proto.fonoster.applications.v1beta2.Application.prototype.setConversation=function(e){return t.Message.setWrapperField(this,7,e)},proto.fonoster.applications.v1beta2.Application.prototype.clearConversation=function(){return this.setConversation(void 0)},proto.fonoster.applications.v1beta2.Application.prototype.hasConversation=function(){return null!=t.Message.getField(this,7)},proto.fonoster.applications.v1beta2.Application.prototype.getCreatedAt=function(){return t.Message.getFieldWithDefault(this,8,0)},proto.fonoster.applications.v1beta2.Application.prototype.setCreatedAt=function(e){return t.Message.setProto3IntField(this,8,e)},proto.fonoster.applications.v1beta2.Application.prototype.getUpdatedAt=function(){return t.Message.getFieldWithDefault(this,9,0)},proto.fonoster.applications.v1beta2.Application.prototype.setUpdatedAt=function(e){return t.Message.setProto3IntField(this,9,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.CreateApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.toObject=function(e,o){var r,i={name:t.Message.getFieldWithDefault(o,1,""),type:t.Message.getFieldWithDefault(o,2,0),appEndpoint:t.Message.getFieldWithDefault(o,3,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),intelligence:(r=o.getIntelligence())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.CreateApplicationRequest;return proto.fonoster.applications.v1beta2.CreateApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.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.readEnum();e.setType(o);break;case 3:o=t.readString();e.setAppEndpoint(o);break;case 4:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setIntelligence(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.CreateApplicationRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),0!==(o=e.getType())&&t.writeEnum(2,o),(o=e.getAppEndpoint()).length>0&&t.writeString(3,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(4,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getIntelligence())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getType=function(){return t.Message.getFieldWithDefault(this,2,0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setType=function(e){return t.Message.setProto3EnumField(this,2,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,3,"")},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,3,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,4)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,4,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,4)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.getIntelligence=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.setIntelligence=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.clearIntelligence=function(){return this.setIntelligence(void 0)},proto.fonoster.applications.v1beta2.CreateApplicationRequest.prototype.hasIntelligence=function(){return null!=t.Message.getField(this,6)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.CreateApplicationResponse;return proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.CreateApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.CreateApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.GetApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.GetApplicationRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.GetApplicationRequest;return proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.GetApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.GetApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.GetApplicationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.GetApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ListApplicationsRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.toObject=function(e,o){var r={pageSize:t.Message.getFieldWithDefault(o,1,0),pageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ListApplicationsRequest;return proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readInt32();e.setPageSize(o);break;case 2:o=t.readString();e.setPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ListApplicationsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ListApplicationsRequest.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getPageSize())&&t.writeInt32(1,o),(o=e.getPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.getPageSize=function(){return t.Message.getFieldWithDefault(this,1,0)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.setPageSize=function(e){return t.Message.setProto3IntField(this,1,e)},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.getPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.ListApplicationsRequest.prototype.setPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.repeatedFields_=[1],t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.ListApplicationsResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.toObject=function(e,o){var r={itemsList:t.Message.toObjectList(o.getItemsList(),proto.fonoster.applications.v1beta2.Application.toObject,e),nextPageToken:t.Message.getFieldWithDefault(o,2,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.ListApplicationsResponse;return proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.fonoster.applications.v1beta2.Application;t.readMessage(o,proto.fonoster.applications.v1beta2.Application.deserializeBinaryFromReader),e.addItems(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.ListApplicationsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.ListApplicationsResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getItemsList()).length>0&&t.writeRepeatedMessage(1,o,proto.fonoster.applications.v1beta2.Application.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.getItemsList=function(){return t.Message.getRepeatedWrapperField(this,proto.fonoster.applications.v1beta2.Application,1)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setItemsList=function(e){return t.Message.setRepeatedWrapperField(this,1,e)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.addItems=function(e,o){return t.Message.addToRepeatedWrapperField(this,1,e,proto.fonoster.applications.v1beta2.Application,o)},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.clearItemsList=function(){return this.setItemsList([])},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.getNextPageToken=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.ListApplicationsResponse.prototype.setNextPageToken=function(e){return t.Message.setProto3StringField(this,2,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.toObject=function(e,o){var r,i={ref:t.Message.getFieldWithDefault(o,1,""),name:t.Message.getFieldWithDefault(o,2,""),type:t.Message.getFieldWithDefault(o,3,0),appEndpoint:t.Message.getFieldWithDefault(o,4,""),textToSpeech:(r=o.getTextToSpeech())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),speechToText:(r=o.getSpeechToText())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r),intelligence:(r=o.getIntelligence())&&proto.fonoster.applications.v1beta2.ProductContainer.toObject(e,r)};return e&&(i.$jspbMessageInstance=o),i}),proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.UpdateApplicationRequest;return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setRef(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readEnum();e.setType(o);break;case 4:o=t.readString();e.setAppEndpoint(o);break;case 5:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setTextToSpeech(o);break;case 6:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setSpeechToText(o);break;case 7:o=new proto.fonoster.applications.v1beta2.ProductContainer;t.readMessage(o,proto.fonoster.applications.v1beta2.ProductContainer.deserializeBinaryFromReader),e.setIntelligence(o);break;default:t.skipField()}}return e},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getRef()).length>0&&t.writeString(1,o),(o=e.getName()).length>0&&t.writeString(2,o),0!==(o=e.getType())&&t.writeEnum(3,o),(o=e.getAppEndpoint()).length>0&&t.writeString(4,o),null!=(o=e.getTextToSpeech())&&t.writeMessage(5,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getSpeechToText())&&t.writeMessage(6,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter),null!=(o=e.getIntelligence())&&t.writeMessage(7,o,proto.fonoster.applications.v1beta2.ProductContainer.serializeBinaryToWriter)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getName=function(){return t.Message.getFieldWithDefault(this,2,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setName=function(e){return t.Message.setProto3StringField(this,2,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getType=function(){return t.Message.getFieldWithDefault(this,3,0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setType=function(e){return t.Message.setProto3EnumField(this,3,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getAppEndpoint=function(){return t.Message.getFieldWithDefault(this,4,"")},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setAppEndpoint=function(e){return t.Message.setProto3StringField(this,4,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getTextToSpeech=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,5)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setTextToSpeech=function(e){return t.Message.setWrapperField(this,5,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearTextToSpeech=function(){return this.setTextToSpeech(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasTextToSpeech=function(){return null!=t.Message.getField(this,5)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getSpeechToText=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,6)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setSpeechToText=function(e){return t.Message.setWrapperField(this,6,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearSpeechToText=function(){return this.setSpeechToText(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasSpeechToText=function(){return null!=t.Message.getField(this,6)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.getIntelligence=function(){return t.Message.getWrapperField(this,proto.fonoster.applications.v1beta2.ProductContainer,7)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.setIntelligence=function(e){return t.Message.setWrapperField(this,7,e)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.clearIntelligence=function(){return this.setIntelligence(void 0)},proto.fonoster.applications.v1beta2.UpdateApplicationRequest.prototype.hasIntelligence=function(){return null!=t.Message.getField(this,7)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.UpdateApplicationResponse;return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.UpdateApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.toObject(e,this)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.DeleteApplicationRequest;return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.DeleteApplicationRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.DeleteApplicationRequest.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},t.Message.GENERATE_TO_OBJECT&&(proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.toObject=function(e){return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.toObject(e,this)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.toObject=function(e,o){var r={ref:t.Message.getFieldWithDefault(o,1,"")};return e&&(r.$jspbMessageInstance=o),r}),proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinary=function(e){var o=new t.BinaryReader(e),r=new proto.fonoster.applications.v1beta2.DeleteApplicationResponse;return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinaryFromReader(r,o)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setRef(o)}else t.skipField()}return e},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.serializeBinary=function(){var e=new t.BinaryWriter;return proto.fonoster.applications.v1beta2.DeleteApplicationResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.serializeBinaryToWriter=function(e,t){var o;(o=e.getRef()).length>0&&t.writeString(1,o)},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.getRef=function(){return t.Message.getFieldWithDefault(this,1,"")},proto.fonoster.applications.v1beta2.DeleteApplicationResponse.prototype.setRef=function(e){return t.Message.setProto3StringField(this,1,e)},proto.fonoster.applications.v1beta2.ApplicationType={PROGRAMMABLE_VOICE:0},o.object.extend(e,proto.fonoster.applications.v1beta2)}(applications_pb);class Applications{constructor(e){this.client=e}createApplication(e){return __awaiter(this,void 0,void 0,(function*(){const t=buildStructOverride(e),o=this.client.getApplicationsClient();return yield makeRpcRequest({method:o.createApplication.bind(o),requestPBObjectConstructor:applications_pb.CreateApplicationRequest,metadata:this.client.getMetadata(),request:t,enumMapping:[["type",applications_pb.ApplicationType]],objectMapping:[["textToSpeech",applications_pb.ProductContainer],["speechToText",applications_pb.ProductContainer],["intelligence",applications_pb.ProductContainer]]})}))}getApplication(e){return __awaiter(this,void 0,void 0,(function*(){const t=this.client.getApplicationsClient();return yield makeRpcRequest({method:t.getApplication.bind(t),requestPBObjectConstructor:applications_pb.GetApplicationRequest,metadata:this.client.getMetadata(),request:{ref:e}})}))}updateApplication(e){return __awaiter(this,void 0,void 0,(function*(){const t=buildStructOverride(e),o=this.client.getApplicationsClient();return yield makeRpcRequest({method:o.updateApplication.bind(o),requestPBObjectConstructor:applications_pb.UpdateApplicationRequest,metadata:this.client.getMetadata(),request:t,enumMapping:[["type",applications_pb.ApplicationType]],objectMapping:[["textToSpeech",applications_pb.ProductContainer],["speechToText",applications_pb.ProductContainer],["intelligence",applications_pb.ProductContainer]]})}))}listApplications(e){return __awaiter(this,void 0,void 0,(function*(){const t=this.client.getApplicationsClient();return yield makeRpcRequest({method:t.listApplications.bind(t),requestPBObjectConstructor:applications_pb.ListApplicationsRequest,metadata:this.client.getMetadata(),request:e,repeatableObjectMapping:[["itemsList",applications_pb.Application]]})}))}deleteApplication(e){return __awaiter(this,void 0,void 0,(function*(){const t=this.client.getApplicationsClient();return yield makeRpcRequest({method:t.deleteApplication.bind(t),requestPBObjectConstructor:applications_pb.DeleteApplicationRequest,metadata:this.client.getMetadata(),request:{ref:e}})}))}}export{Applications,WebClient};
|