diff --git a/public/js/tflite/tflite_web_api_client.js b/public/js/tflite/tflite_web_api_client.js deleted file mode 100755 index 73ea14d1b..000000000 --- a/public/js/tflite/tflite_web_api_client.js +++ /dev/null @@ -1,2039 +0,0 @@ -/* - - Copyright The Closure Library Authors. - SPDX-License-Identifier: Apache-2.0 -*/ -var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b>>0,$jscomp.propertyToPolyfillSymbol[d]=$jscomp.IS_SYMBOL_NATIVE? -$jscomp.global.Symbol(d):$jscomp.POLYFILL_PREFIX+a+"$"+d),$jscomp.defineProperty(e,$jscomp.propertyToPolyfillSymbol[d],{configurable:!0,writable:!0,value:b})))};$jscomp.initSymbol=function(){}; -$jscomp.polyfill("Symbol",function(a){if(a)return a;var b=function(f,g){this.$jscomp$symbol$id_=f;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.$jscomp$symbol$id_};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e},"es6","es3"); -$jscomp.polyfill("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}},"es6","es3"); -$jscomp.polyfill("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=$jscomp.checkStringArgs(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g=f}},"es6","es3"); -$jscomp.polyfill("String.prototype.repeat",function(a){return a?a:function(b){var c=$jscomp.checkStringArgs(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}},"es6","es3");$jscomp.polyfill("Object.setPrototypeOf",function(a){return a||$jscomp.setPrototypeOf},"es6","es5"); -$jscomp.assign=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c>>0);goog.uidCounter_=0; -goog.cloneObject=function(a){var b=goog.typeOf(a);if("object"==b||"array"==b){if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);b="array"==b?[]:{};for(var c in a)b[c]=goog.cloneObject(a[c]);return b}return a};goog.bindNative_=function(a,b,c){return a.call.apply(a.bind,arguments)}; -goog.bindJs_=function(a,b,c){if(!a)throw Error();if(2").replace(/'/g,"'").replace(/"/g,'"').replace(/&/g,"&"));b&&(a=a.replace(/\{\$([^}]+)}/g,function(d,e){return null!=b&&e in b?b[e]:d}));return a};goog.getMsgWithFallback=function(a){return a};goog.exportSymbol=function(a,b,c){goog.exportPath_(a,b,!0,c)}; -goog.exportProperty=function(a,b,c){a[b]=c};goog.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h=a} -function module$contents$jspb$BinaryConstants_FieldTypeToWireType(a){switch(a){case module$exports$jspb$BinaryConstants.FieldType.INT32:case module$exports$jspb$BinaryConstants.FieldType.INT64:case module$exports$jspb$BinaryConstants.FieldType.UINT32:case module$exports$jspb$BinaryConstants.FieldType.UINT64:case module$exports$jspb$BinaryConstants.FieldType.SINT32:case module$exports$jspb$BinaryConstants.FieldType.SINT64:case module$exports$jspb$BinaryConstants.FieldType.BOOL:case module$exports$jspb$BinaryConstants.FieldType.ENUM:return module$exports$jspb$BinaryConstants.WireType.VARINT;case module$exports$jspb$BinaryConstants.FieldType.DOUBLE:case module$exports$jspb$BinaryConstants.FieldType.FIXED64:case module$exports$jspb$BinaryConstants.FieldType.SFIXED64:return module$exports$jspb$BinaryConstants.WireType.FIXED64; -case module$exports$jspb$BinaryConstants.FieldType.STRING:case module$exports$jspb$BinaryConstants.FieldType.MESSAGE:case module$exports$jspb$BinaryConstants.FieldType.BYTES:return module$exports$jspb$BinaryConstants.WireType.DELIMITED;case module$exports$jspb$BinaryConstants.FieldType.FLOAT:case module$exports$jspb$BinaryConstants.FieldType.FIXED32:case module$exports$jspb$BinaryConstants.FieldType.SFIXED32:return module$exports$jspb$BinaryConstants.WireType.FIXED32;default:return module$exports$jspb$BinaryConstants.WireType.INVALID}} -module$exports$jspb$BinaryConstants.INVALID_FIELD_NUMBER=-1;module$exports$jspb$BinaryConstants.INVALID_TAG=-1;module$exports$jspb$BinaryConstants.FLOAT32_EPS=1.401298464324817E-45;module$exports$jspb$BinaryConstants.FLOAT32_MIN=1.1754943508222875E-38;module$exports$jspb$BinaryConstants.FLOAT32_MAX=3.4028234663852886E38;module$exports$jspb$BinaryConstants.FLOAT64_EPS=4.9E-324;module$exports$jspb$BinaryConstants.FLOAT64_MIN=2.2250738585072014E-308;module$exports$jspb$BinaryConstants.FLOAT64_MAX=1.7976931348623157E308; -module$exports$jspb$BinaryConstants.TWO_TO_20=1048576;module$exports$jspb$BinaryConstants.TWO_TO_23=8388608;module$exports$jspb$BinaryConstants.TWO_TO_31=2147483648;module$exports$jspb$BinaryConstants.TWO_TO_32=4294967296;module$exports$jspb$BinaryConstants.TWO_TO_52=4503599627370496;module$exports$jspb$BinaryConstants.TWO_TO_63=0x7fffffffffffffff;module$exports$jspb$BinaryConstants.TWO_TO_64=1.8446744073709552E19;module$exports$jspb$BinaryConstants.ZERO_HASH="\x00\x00\x00\x00\x00\x00\x00\x00"; -module$exports$jspb$BinaryConstants.FieldTypeToWireType=module$contents$jspb$BinaryConstants_FieldTypeToWireType;module$exports$jspb$BinaryConstants.isValidWireType=module$contents$jspb$BinaryConstants_isValidWireType;var jspb={};jspb.ByteSource={}.ByteSource;goog.debug={};function module$contents$goog$debug$Error_DebugError(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,module$contents$goog$debug$Error_DebugError);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.reportErrorToServer=!0}goog.inherits(module$contents$goog$debug$Error_DebugError,Error);module$contents$goog$debug$Error_DebugError.prototype.name="CustomError";goog.debug.Error=module$contents$goog$debug$Error_DebugError;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(a,b){module$contents$goog$debug$Error_DebugError.call(this,goog.asserts.subs_(a,b));this.messagePattern=a};goog.inherits(goog.asserts.AssertionError,module$contents$goog$debug$Error_DebugError);goog.asserts.AssertionError.prototype.name="AssertionError";goog.asserts.DEFAULT_ERROR_HANDLER=function(a){throw a;};goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER; -goog.asserts.subs_=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e "+a))}function module$contents$jspb$binary$errors_reportNegativeByteLength(a){module$contents$jspb$binary$errors_report(Error("Tried to read a negative byte length: "+a))} -module$exports$jspb$binary$errors.messageLengthMismatchError=module$contents$jspb$binary$errors_messageLengthMismatchError;module$exports$jspb$binary$errors.reportGroupDidNotEndWithEndGroup=module$contents$jspb$binary$errors_reportGroupDidNotEndWithEndGroup;module$exports$jspb$binary$errors.reportInvalidVarint=module$contents$jspb$binary$errors_reportInvalidVarint;module$exports$jspb$binary$errors.reportInvalidWireType=module$contents$jspb$binary$errors_reportInvalidWireType; -module$exports$jspb$binary$errors.reportNegativeByteLength=module$contents$jspb$binary$errors_reportNegativeByteLength;module$exports$jspb$binary$errors.reportReadTooFar=module$contents$jspb$binary$errors_reportReadTooFar;module$exports$jspb$binary$errors.reportUnmatchedStartGroup=module$contents$jspb$binary$errors_reportUnmatchedStartGroup;module$exports$jspb$binary$errors.reportUnmatchedStartGroupEof=module$contents$jspb$binary$errors_reportUnmatchedStartGroupEof; -module$exports$jspb$binary$errors.setErrorLevel=function(a){module$contents$jspb$binary$errors_errorLevel=a};module$exports$jspb$binary$errors.throwOnError=function(a){var b=module$contents$jspb$binary$errors_errorLevel;module$contents$jspb$binary$errors_errorLevel=module$exports$jspb$binary$errors.ErrorLevel.THROW;try{return a()}finally{module$contents$jspb$binary$errors_errorLevel=b}};var module$contents$jspb$binary$utf8_ENFORCE_UTF8=goog.DEBUG?"ALWAYS":"DEFAULT";(0,goog.asserts.assert)("NEVER"===module$contents$jspb$binary$utf8_ENFORCE_UTF8||"DEFAULT"===module$contents$jspb$binary$utf8_ENFORCE_UTF8||"ALWAYS"===module$contents$jspb$binary$utf8_ENFORCE_UTF8);var module$contents$jspb$binary$utf8_REJECT_UNPAIRED_SURROGATES=goog.DEBUG,module$contents$jspb$binary$utf8_USE_TEXT_ENCODING=2020<=goog.FEATURESET_YEAR; -function module$contents$jspb$binary$utf8_invalid(a,b){if("ALWAYS"===module$contents$jspb$binary$utf8_ENFORCE_UTF8||("NEVER"===module$contents$jspb$binary$utf8_ENFORCE_UTF8?0:a))throw Error("Invalid UTF8");b.push(65533)}function module$contents$jspb$binary$utf8_codeUnitsToString(a,b){b=String.fromCharCode.apply(null,b);return null==a?b:a+b} -var module$contents$jspb$binary$utf8_fatalDecoderInstance,module$contents$jspb$binary$utf8_nonFatalDecoderInstance,module$contents$jspb$binary$utf8_useTextDecoderDecode=module$contents$jspb$binary$utf8_USE_TEXT_ENCODING||"undefined"!==typeof TextDecoder,module$contents$jspb$binary$utf8_textEncoderInstance,module$contents$jspb$binary$utf8_useTextEncoderEncode=module$contents$jspb$binary$utf8_USE_TEXT_ENCODING||"undefined"!==typeof TextEncoder;goog.crypt={};goog.crypt.stringToByteArray=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}return b};goog.crypt.byteArrayToString=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;ce?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b}; -goog.crypt.utf8ByteArrayToString=function(a){for(var b=[],c=0,d=0;ce)b[d++]=String.fromCharCode(e);else if(191e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239e){f=a[c++];var g=a[c++],h=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|h&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}return b.join("")}; -goog.crypt.xorByteArray=function(a,b){goog.asserts.assert(a.length==b.length,"XOR array lengths must match");for(var c=[],d=0;d":"
")}; -goog.string.internal.htmlEscape=function(a,b){if(b)a=a.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(a))return a;-1!=a.indexOf("&")&&(a=a.replace(goog.string.internal.AMP_RE_,"&"));-1!=a.indexOf("<")&&(a=a.replace(goog.string.internal.LT_RE_, -"<"));-1!=a.indexOf(">")&&(a=a.replace(goog.string.internal.GT_RE_,">"));-1!=a.indexOf('"')&&(a=a.replace(goog.string.internal.QUOT_RE_,"""));-1!=a.indexOf("'")&&(a=a.replace(goog.string.internal.SINGLE_QUOTE_RE_,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(goog.string.internal.NULL_RE_,"�"))}return a};goog.string.internal.AMP_RE_=/&/g;goog.string.internal.LT_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(a,b){return goog.string.internal.newLineToBr(a.replace(/ /g,"  "),b)};goog.string.internal.contains=function(a,b){return-1!=a.indexOf(b)};goog.string.internal.caseInsensitiveContains=function(a,b){return goog.string.internal.contains(a.toLowerCase(),b.toLowerCase())}; -goog.string.internal.compareVersions=function(a,b){var c=0;a=goog.string.internal.trim(String(a)).split(".");b=goog.string.internal.trim(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0};var module$exports$goog$labs$userAgent={USE_CLIENT_HINTS:!1};goog.labs={};goog.labs.userAgent={};goog.labs.userAgent.util={};function module$contents$goog$labs$userAgent$util_getNativeUserAgentString(){var a=goog.global.navigator;return a&&(a=a.userAgent)?a:""}function module$contents$goog$labs$userAgent$util_getNativeUserAgentData(){if(!module$exports$goog$labs$userAgent.USE_CLIENT_HINTS)return null;var a=goog.global.navigator;return a?a.userAgentData||null:null} -var module$contents$goog$labs$userAgent$util_userAgentInternal=module$contents$goog$labs$userAgent$util_getNativeUserAgentString(),module$contents$goog$labs$userAgent$util_userAgentDataInternal=module$contents$goog$labs$userAgent$util_getNativeUserAgentData(); -function module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(a){var b=module$contents$goog$labs$userAgent$util_userAgentDataInternal;return b?b.brands.some(function(c){return(c=c.brand)&&(0,goog.string.internal.contains)(c,a)}):!1}function module$contents$goog$labs$userAgent$util_matchUserAgent(a){return(0,goog.string.internal.contains)(module$contents$goog$labs$userAgent$util_userAgentInternal,a)} -function module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase(a){return(0,goog.string.internal.caseInsensitiveContains)(module$contents$goog$labs$userAgent$util_userAgentInternal,a)}function module$contents$goog$labs$userAgent$util_extractVersionTuples(a){for(var b=RegExp("(\\w[\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c}goog.labs.userAgent.util.ASSUME_CLIENT_HINTS_SUPPORT=!1;goog.labs.userAgent.util.extractVersionTuples=module$contents$goog$labs$userAgent$util_extractVersionTuples; -goog.labs.userAgent.util.getNativeUserAgentString=module$contents$goog$labs$userAgent$util_getNativeUserAgentString;goog.labs.userAgent.util.getUserAgent=function(){return module$contents$goog$labs$userAgent$util_userAgentInternal};goog.labs.userAgent.util.getUserAgentData=function(){return module$contents$goog$labs$userAgent$util_userAgentDataInternal};goog.labs.userAgent.util.matchUserAgent=module$contents$goog$labs$userAgent$util_matchUserAgent; -goog.labs.userAgent.util.matchUserAgentDataBrand=module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand;goog.labs.userAgent.util.matchUserAgentIgnoreCase=module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase;goog.labs.userAgent.util.resetUserAgentData=function(){module$contents$goog$labs$userAgent$util_userAgentDataInternal=module$contents$goog$labs$userAgent$util_getNativeUserAgentData()}; -goog.labs.userAgent.util.setUserAgent=function(a){module$contents$goog$labs$userAgent$util_userAgentInternal="string"===typeof a?a:module$contents$goog$labs$userAgent$util_getNativeUserAgentString()};goog.labs.userAgent.util.setUserAgentData=function(a){module$contents$goog$labs$userAgent$util_userAgentDataInternal=a};var module$exports$goog$labs$userAgent$highEntropy$highEntropyValue={AsyncValue:function(){}};module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.AsyncValue.prototype.getIfLoaded=function(){};module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.AsyncValue.prototype.load=function(){};module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue=function(a){this.key_=a;this.promise_=this.value_=void 0;this.pending_=!1}; -module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.getIfLoaded=function(){if(module$contents$goog$labs$userAgent$util_userAgentDataInternal)return this.value_}; -module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load=function(){var a=this,b;return $jscomp.asyncExecutePromiseGeneratorProgram(function(c){if(1==c.nextAddress){b=module$contents$goog$labs$userAgent$util_userAgentDataInternal;if(!b)return c.return(void 0);a.promise_||(a.pending_=!0,a.promise_=function(){var d;return $jscomp.asyncExecutePromiseGeneratorProgram(function(e){if(1==e.nextAddress)return e.setFinallyBlock(2),e.yield(b.getHighEntropyValues([a.key_]), -4);if(2!=e.nextAddress)return d=e.yieldResult,a.value_=d[a.key_],e.return(a.value_);e.enterFinallyBlock();a.pending_=!1;return e.leaveFinallyBlock(0)})}());return c.yield(a.promise_,2)}return c.return(c.yieldResult)})};module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.resetForTesting=function(){if(this.pending_)throw Error("Unsafe call to resetForTesting");this.value_=this.promise_=void 0;this.pending_=!1}; -module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version=function(a){this.versionString_=a};module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototype.toVersionStringForLogging=function(){return this.versionString_};module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototype.isAtLeast=function(a){return 0<=(0,goog.string.internal.compareVersions)(this.versionString_,a)};var module$exports$goog$labs$userAgent$highEntropy$highEntropyData={};module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList=new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("fullVersionList");module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion=new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("platformVersion"); -module$exports$goog$labs$userAgent$highEntropy$highEntropyData.resetAllForTesting=function(){module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.resetForTesting();module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.resetForTesting()};goog.labs.userAgent.browser={};var module$contents$goog$labs$userAgent$browser_Brand={ANDROID_BROWSER:"Android Browser",CHROMIUM:"Chromium",EDGE:"Microsoft Edge",FIREFOX:"Firefox",IE:"Internet Explorer",OPERA:"Opera",SAFARI:"Safari",SILK:"Silk"};goog.labs.userAgent.browser.Brand=module$contents$goog$labs$userAgent$browser_Brand; -function module$contents$goog$labs$userAgent$browser_useUserAgentBrand(){var a=module$contents$goog$labs$userAgent$util_userAgentDataInternal;return!!a&&0module$contents$goog$labs$userAgent$browser_versionOf(module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM)){var b=module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(a);return""===b?void 0:new module$contents$goog$labs$userAgent$browser_UserAgentStringFallbackBrandVersion(b)}return module$contents$goog$labs$userAgent$util_userAgentDataInternal.brands.find(function(c){return c.brand=== -a})?new module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion(a):void 0}goog.labs.userAgent.browser.fullVersionOf=module$contents$goog$labs$userAgent$browser_fullVersionOf; -goog.labs.userAgent.browser.getVersionStringForLogging=function(a){if(module$contents$goog$labs$userAgent$browser_useUserAgentBrand()){var b=module$contents$goog$labs$userAgent$browser_fullVersionOf(a);if(b){if(b=b.getIfLoaded())return b.toVersionStringForLogging();b=module$contents$goog$labs$userAgent$util_userAgentDataInternal.brands.find(function(c){return c.brand===a});goog.asserts.assertExists(b);return b.version}return""}return module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(a)};goog.labs.userAgent.platform={};function module$contents$goog$labs$userAgent$platform_isAndroid(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Android")}function module$contents$goog$labs$userAgent$platform_isIpod(){return module$contents$goog$labs$userAgent$util_matchUserAgent("iPod")} -function module$contents$goog$labs$userAgent$platform_isIphone(){return module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone")&&!module$contents$goog$labs$userAgent$util_matchUserAgent("iPod")&&!module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")}function module$contents$goog$labs$userAgent$platform_isIpad(){return module$contents$goog$labs$userAgent$util_matchUserAgent("iPad")} -function module$contents$goog$labs$userAgent$platform_isIos(){return module$contents$goog$labs$userAgent$platform_isIphone()||module$contents$goog$labs$userAgent$platform_isIpad()||module$contents$goog$labs$userAgent$platform_isIpod()}function module$contents$goog$labs$userAgent$platform_isMacintosh(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Macintosh")} -function module$contents$goog$labs$userAgent$platform_isLinux(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Linux")}function module$contents$goog$labs$userAgent$platform_isWindows(){return module$contents$goog$labs$userAgent$util_matchUserAgent("Windows")}function module$contents$goog$labs$userAgent$platform_isChromeOS(){return module$contents$goog$labs$userAgent$util_matchUserAgent("CrOS")} -function module$contents$goog$labs$userAgent$platform_isKaiOS(){return module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("KaiOS")} -function module$contents$goog$labs$userAgent$platform_getVersion(){var a=module$contents$goog$labs$userAgent$util_userAgentInternal,b="";module$contents$goog$labs$userAgent$platform_isWindows()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):module$contents$goog$labs$userAgent$platform_isIos()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&a[1].replace(/_/g,".")):module$contents$goog$labs$userAgent$platform_isMacintosh()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g, -"."):"10"):module$contents$goog$labs$userAgent$platform_isKaiOS()?(b=/(?:KaiOS)\/(\S+)/i,b=(a=b.exec(a))&&a[1]):module$contents$goog$labs$userAgent$platform_isAndroid()?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):module$contents$goog$labs$userAgent$platform_isChromeOS()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return b||""}var module$contents$goog$labs$userAgent$platform_PlatformVersion=function(){}; -module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.getIfLoaded=function(){if(module$contents$goog$labs$userAgent$util_userAgentDataInternal){var a=module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.getIfLoaded();if(void 0!==a)return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(a)}else return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion())}; -module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load=function(){var a;return $jscomp.asyncExecutePromiseGeneratorProgram(function(b){if(1==b.nextAddress){if(!module$contents$goog$labs$userAgent$util_userAgentDataInternal)return b.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion()));a=module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version;return b.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.load(), -3)}return b.return(new a(b.yieldResult))})};var module$contents$goog$labs$userAgent$platform_version=new module$contents$goog$labs$userAgent$platform_PlatformVersion;goog.labs.userAgent.platform.getVersion=module$contents$goog$labs$userAgent$platform_getVersion;goog.labs.userAgent.platform.isAndroid=module$contents$goog$labs$userAgent$platform_isAndroid;goog.labs.userAgent.platform.isChromeOS=module$contents$goog$labs$userAgent$platform_isChromeOS;goog.labs.userAgent.platform.isChromecast=function(){return module$contents$goog$labs$userAgent$util_matchUserAgent("CrKey")}; -goog.labs.userAgent.platform.isIos=module$contents$goog$labs$userAgent$platform_isIos;goog.labs.userAgent.platform.isIpad=module$contents$goog$labs$userAgent$platform_isIpad;goog.labs.userAgent.platform.isIphone=module$contents$goog$labs$userAgent$platform_isIphone;goog.labs.userAgent.platform.isIpod=module$contents$goog$labs$userAgent$platform_isIpod;goog.labs.userAgent.platform.isKaiOS=module$contents$goog$labs$userAgent$platform_isKaiOS;goog.labs.userAgent.platform.isLinux=module$contents$goog$labs$userAgent$platform_isLinux; -goog.labs.userAgent.platform.isMacintosh=module$contents$goog$labs$userAgent$platform_isMacintosh;goog.labs.userAgent.platform.isVersionOrHigher=function(a){return 0<=goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$platform_getVersion(),a)};goog.labs.userAgent.platform.isWindows=module$contents$goog$labs$userAgent$platform_isWindows;goog.labs.userAgent.platform.version=module$contents$goog$labs$userAgent$platform_version;goog.array={};goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;var module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS=2012c?Math.max(0,a.length+c):c;if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,c);for(;cc&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1}; -goog.array.lastIndexOf=module$contents$goog$array_lastIndexOf;var module$contents$goog$array_forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(module$contents$goog$array_ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(a,b,c){goog.asserts.assert(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;fb?null:"string"===typeof a?a.charAt(b):a[b]}goog.array.find=module$contents$goog$array_find;function module$contents$goog$array_findIndex(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;fb?null:"string"===typeof a?a.charAt(b):a[b]};function module$contents$goog$array_findIndexRight(a,b,c){var d=a.length,e="string"===typeof a?a.split(""):a;for(--d;0<=d;d--)if(d in e&&b.call(c,e[d],d,a))return d;return-1}goog.array.findIndexRight=module$contents$goog$array_findIndexRight;function module$contents$goog$array_contains(a,b){return 0<=module$contents$goog$array_indexOf(a,b)} -goog.array.contains=module$contents$goog$array_contains;goog.array.isEmpty=function(a){return 0==a.length};goog.array.clear=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};goog.array.insert=function(a,b){module$contents$goog$array_contains(a,b)||a.push(b)};function module$contents$goog$array_insertAt(a,b,c){module$contents$goog$array_splice(a,c,0,b)}goog.array.insertAt=module$contents$goog$array_insertAt; -goog.array.insertArrayAt=function(a,b,c){goog.partial(module$contents$goog$array_splice,a,c,0).apply(null,b)};goog.array.insertBefore=function(a,b,c){var d;2==arguments.length||0>(d=module$contents$goog$array_indexOf(a,c))?a.push(b):module$contents$goog$array_insertAt(a,b,d)};goog.array.remove=function(a,b){b=module$contents$goog$array_indexOf(a,b);var c;(c=0<=b)&&module$contents$goog$array_removeAt(a,b);return c}; -goog.array.removeLast=function(a,b){b=module$contents$goog$array_lastIndexOf(a,b);return 0<=b?(module$contents$goog$array_removeAt(a,b),!0):!1};function module$contents$goog$array_removeAt(a,b){goog.asserts.assert(null!=a.length);return 1==Array.prototype.splice.call(a,b,1).length}goog.array.removeAt=module$contents$goog$array_removeAt;goog.array.removeIf=function(a,b,c){b=module$contents$goog$array_findIndex(a,b,c);return 0<=b?(module$contents$goog$array_removeAt(a,b),!0):!1}; -goog.array.removeAllIf=function(a,b,c){var d=0;module$contents$goog$array_forEachRight(a,function(e,f){b.call(c,e,f,a)&&module$contents$goog$array_removeAt(a,f)&&d++});return d};function module$contents$goog$array_concat(a){return Array.prototype.concat.apply([],arguments)}goog.array.concat=module$contents$goog$array_concat;goog.array.join=function(a){return Array.prototype.concat.apply([],arguments)}; -function module$contents$goog$array_toArray(a){var b=a.length;if(0=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}goog.array.slice=module$contents$goog$array_slice; -goog.array.removeDuplicates=function(a,b,c){b=b||a;var d=function(k){return goog.isObject(k)?"o"+goog.getUid(k):(typeof k).charAt(0)+k};c=c||d;for(var e=d=0,f={};e>>1);var l=c?b.call(e,a[k],k,a):b(d,a[k]);0b?1:ac?(module$contents$goog$array_insertAt(a,b,-(c+1)),!0):!1};goog.array.binaryRemove=function(a,b,c){b=module$contents$goog$array_binarySearch(a,b,c);return 0<=b?module$contents$goog$array_removeAt(a,b):!1};goog.array.bucket=function(a,b,c){for(var d={},e=0;ec*(f-e))return[];if(0f;a+=c)d.push(a);return d};goog.array.repeat=function(a,b){for(var c=[],d=0;db&&Array.prototype.push.apply(a,a.splice(0,-b)));return a};goog.array.moveItem=function(a,b,c){goog.asserts.assert(0<=b&&bparseFloat(a))?String(b):a}; -goog.userAgent.getVersionRegexResult_=function(){var a=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv:([^\);]+)(\)|;)/.exec(a);if(goog.userAgent.EDGE)return/Edge\/([\d\.]+)/.exec(a);if(goog.userAgent.IE)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(goog.userAgent.WEBKIT)return/WebKit\/(\S+)/.exec(a);if(goog.userAgent.OPERA)return/(?:Version)[ \/]?(\S+)/.exec(a)};goog.userAgent.getDocumentMode_=function(){var a=goog.global.document;return a?a.documentMode:void 0}; -goog.userAgent.VERSION=goog.userAgent.determineVersion_();goog.userAgent.compare=function(a,b){return goog.string.internal.compareVersions(a,b)};goog.userAgent.isVersionOrHigherCache_={};goog.userAgent.isVersionOrHigher=function(a){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,a,function(){return 0<=goog.string.internal.compareVersions(goog.userAgent.VERSION,a)})}; -goog.userAgent.isDocumentModeOrHigher=function(a){return Number(goog.userAgent.DOCUMENT_MODE)>=a};goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher;var JSCompiler_inline_result$jscomp$75;if(goog.global.document&&goog.userAgent.IE){var documentMode$jscomp$inline_97=goog.userAgent.getDocumentMode_();JSCompiler_inline_result$jscomp$75=documentMode$jscomp$inline_97?documentMode$jscomp$inline_97:parseInt(goog.userAgent.VERSION,10)||void 0}else JSCompiler_inline_result$jscomp$75=void 0; -goog.userAgent.DOCUMENT_MODE=JSCompiler_inline_result$jscomp$75;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:module$contents$goog$labs$userAgent$browser_matchFirefox();goog.userAgent.product.isIphoneOrIpod_=function(){return module$contents$goog$labs$userAgent$platform_isIphone()||module$contents$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:module$contents$goog$labs$userAgent$platform_isIpad();goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:module$contents$goog$labs$userAgent$browser_matchAndroidBrowser();goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:module$contents$goog$labs$userAgent$browser_matchChrome(); -goog.userAgent.product.isSafariDesktop_=function(){return module$contents$goog$labs$userAgent$browser_matchSafari()&&!module$contents$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(a){return goog.string.internal.contains(goog.crypt.base64.paddingChars_,a)};goog.crypt.base64.byteToCharMaps_={};goog.crypt.base64.charToByteMap_=null;goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT;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(a,b){goog.asserts.assert(goog.isArrayLike(a),"encodeByteArray takes an array as a parameter");void 0===b&&(b=goog.crypt.base64.Alphabet.DEFAULT);goog.crypt.base64.init_();b=goog.crypt.base64.byteToCharMaps_[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=""+l+g+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a= -a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|l>>4]+k+d}return c.join("")};goog.crypt.base64.encodeString=function(a,b){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!b?goog.global.btoa(a):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(a),b)};goog.crypt.base64.decodeString=function(a,b){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!b)return goog.global.atob(a);var c="";goog.crypt.base64.decodeStringInternal_(a,function(d){c+=String.fromCharCode(d)});return c}; -goog.crypt.base64.decodeStringToByteArray=function(a){var b=[];goog.crypt.base64.decodeStringInternal_(a,function(c){b.push(c)});return b}; -goog.crypt.base64.decodeStringToUint8Array=function(a){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var b=a.length,c=3*b/4;c%3?c=Math.floor(c):goog.crypt.base64.isPadding_(a[b-1])&&(c=goog.crypt.base64.isPadding_(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;goog.crypt.base64.decodeStringInternal_(a,function(f){d[e++]=f});return d.subarray(0,e)}; -goog.crypt.base64.decodeStringInternal_=function(a,b){function c(k){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=h&&b(g<<6&192|h))}}; -goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var a=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));goog.crypt.base64.byteToCharMaps_[c]=d;for(var e=0;e>>0;a=Math.floor((a-b)/module$exports$jspb$BinaryConstants.TWO_TO_32)>>>0;module$contents$jspb$utils_split64Low=b;module$contents$jspb$utils_split64High=a} -function module$contents$jspb$utils_splitInt64(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/module$exports$jspb$BinaryConstants.TWO_TO_32);a>>>=0;b&&(a=~a>>>0,c=(~c>>>0)+1,4294967295>>0;module$contents$jspb$utils_split64High=f+(g<<8)+(h<<16)+(b<<24)>>>0}function module$contents$jspb$utils_joinUint64(a,b){return b*module$exports$jspb$BinaryConstants.TWO_TO_32+(a>>>0)} -function module$contents$jspb$utils_joinInt64(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=module$contents$jspb$utils_joinUint64(a,b);return c?-a:a}function module$contents$jspb$utils_toZigzag64(a,b,c){var d=b>>31;return c(a<<1^d,(b<<1|a>>>31)^d)}function module$contents$jspb$utils_joinZigzag64(a,b){return module$contents$jspb$utils_fromZigzag64(a,b,module$contents$jspb$utils_joinInt64)} -function module$contents$jspb$utils_fromZigzag64(a,b,c){var d=-(a&1);return c((a>>>1|b<<31)^d,b>>>1^d)} -function module$contents$jspb$utils_joinUnsignedDecimalString(a,b){function c(e,f){e=e?String(e):"";return f?"0000000".slice(e.length)+e:e}if(2097151>=b)return""+(module$exports$jspb$BinaryConstants.TWO_TO_32*b+a);var d=(a>>>24|b<<8)>>>0&16777215;b=b>>16&65535;a=(a&16777215)+6777216*d+6710656*b;d+=8147497*b;b*=2;1E7<=a&&(d+=Math.floor(a/1E7),a%=1E7);1E7<=d&&(b+=Math.floor(d/1E7),d%=1E7);return c(b,0)+c(d,b)+c(a,1)} -function module$contents$jspb$utils_joinSignedDecimalString(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b+(0==a?1:0)>>>0);a=module$contents$jspb$utils_joinUnsignedDecimalString(a,b);return c?"-"+a:a} -function module$contents$jspb$utils_decimalStringToBytes64(a){function b(g,h){for(var k=0;8>k&&(1!==g||0>>=8}function c(){for(var g=0;8>g;g++)e[g]=~e[g]&255}(0,goog.asserts.assert)(0module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_.length&&module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_.push(this)};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.clear=function(){this.dataView_=this.bytes_=null;this.cursor_=this.end_=this.start_=0;this.bytesFieldsAsMutableViews=this.error_=!1}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.setBlock=function(a,b,c){this.bytes_=module$contents$jspb$utils_byteSourceToUint8Array(a);module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST&&(this.dataView_=new DataView(this.bytes_.buffer,this.bytes_.byteOffset,this.bytes_.byteLength));this.start_=void 0!==b?b:0;this.end_=void 0!==c?this.start_+c:this.bytes_.length;this.cursor_=this.start_}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.getEnd=function(){return this.end_};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.setEnd=function(a){this.end_=a};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.getCursor=function(){return this.cursor_};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.setCursor=function(a){this.cursor_=a}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.advance=function(a){this.cursor_+=a;this.checkCursor()};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readSplitVarint64=function(a){for(var b=128,c=0,d=0,e=0;4>e&&128<=b;e++)b=this.bytes_[this.cursor_++],c|=(b&127)<<7*e;128<=b&&(b=this.bytes_[this.cursor_++],c|=(b&127)<<28,d|=(b&127)>>4);if(128<=b)for(e=0;5>e&&128<=b;e++)b=this.bytes_[this.cursor_++],d|=(b&127)<<7*e+3;if(128>b)return a(c>>>0,d>>>0);this.error_=!0;module$contents$jspb$binary$errors_reportInvalidVarint()}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readSplitZigzagVarint64=function(a){return this.readSplitVarint64(function(b,c){return module$contents$jspb$utils_fromZigzag64(b,c,a)})};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readSplitFixed64=function(a){var b=this.bytes_,c=this.cursor_;this.cursor_+=8;this.checkCursor();for(var d=0,e=0,f=c+7;f>=c;f--)d=d<<8|b[f],e=e<<8|b[f+4];return a(d,e)}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.skipVarint=function(){for(var a=this.cursor_,b=0;10>b;b++){if(0===(this.bytes_[a]&128)){this.cursor_=a+1;this.checkCursor();return}a++}this.error_=!0;module$contents$jspb$binary$errors_reportInvalidVarint()};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.checkCursor=function(){this.cursor_>this.end_&&(this.error_=!0,module$contents$jspb$binary$errors_reportReadTooFar(this.end_,this.cursor_))}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readUnsignedVarint32=function(){var a=this.bytes_,b=a[this.cursor_+0],c=b&127;if(128>b)return this.cursor_+=1,this.checkCursor(),c;b=a[this.cursor_+1];c|=(b&127)<<7;if(128>b)return this.cursor_+=2,this.checkCursor(),c;b=a[this.cursor_+2];c|=(b&127)<<14;if(128>b)return this.cursor_+=3,this.checkCursor(),c;b=a[this.cursor_+3];c|=(b&127)<<21;if(128>b)return this.cursor_+=4,this.checkCursor(),c;b=a[this.cursor_+4];c|=(b&15)<<28;if(128>b)return this.cursor_+= -5,this.checkCursor(),c>>>0;this.cursor_+=5;if(128<=a[this.cursor_++]&&128<=a[this.cursor_++]&&128<=a[this.cursor_++]&&128<=a[this.cursor_++]&&128<=a[this.cursor_++])return this.error_=!0,module$contents$jspb$binary$errors_reportInvalidVarint(),c;this.checkCursor();return c};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readSignedVarint32=function(){return this.readUnsignedVarint32()}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readZigzagVarint32=function(){var a=this.readUnsignedVarint32();return a>>>1^-(a&1)};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(module$contents$jspb$utils_joinUint64)};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(module$contents$jspb$utils_joinUnsignedDecimalString)}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(module$contents$jspb$utils_joinInt64)};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(module$contents$jspb$utils_joinSignedDecimalString)};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(module$contents$jspb$utils_joinZigzag64)}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(module$contents$jspb$utils_joinSignedDecimalString)};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readUint8=function(){var a=this.bytes_[this.cursor_+0];this.cursor_+=1;this.checkCursor();return a}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readUint16=function(){var a=this.bytes_[this.cursor_+0],b=this.bytes_[this.cursor_+1];this.cursor_+=2;this.checkCursor();return a<<0|b<<8};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readUint32=function(){var a=this.bytes_[this.cursor_+0],b=this.bytes_[this.cursor_+1],c=this.bytes_[this.cursor_+2],d=this.bytes_[this.cursor_+3];this.cursor_+=4;this.checkCursor();return(a<<0|b<<8|c<<16|d<<24)>>>0}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readUint64=function(){var a=this.readUint32(),b=this.readUint32();return module$contents$jspb$utils_joinUint64(a,b)};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readUint64String=function(){var a=this.readUint32(),b=this.readUint32();return module$contents$jspb$utils_joinUnsignedDecimalString(a,b)}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readInt8=function(){var a=this.bytes_[this.cursor_+0];this.cursor_+=1;this.checkCursor();return a<<24>>24};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readInt16=function(){var a=this.bytes_[this.cursor_+0],b=this.bytes_[this.cursor_+1];this.cursor_+=2;this.checkCursor();return(a<<0|b<<8)<<16>>16}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readInt32=function(){var a=this.bytes_[this.cursor_+0],b=this.bytes_[this.cursor_+1],c=this.bytes_[this.cursor_+2],d=this.bytes_[this.cursor_+3];this.cursor_+=4;this.checkCursor();return a<<0|b<<8|c<<16|d<<24};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readInt64=function(){var a=this.readUint32(),b=this.readUint32();return module$contents$jspb$utils_joinInt64(a,b)}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readInt64String=function(){var a=this.readUint32(),b=this.readUint32();return module$contents$jspb$utils_joinSignedDecimalString(a,b)};module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readFloat=function(){var a=this.readUint32(),b=2*(a>>31)+1,c=a>>>23&255;a&=8388607;return 255==c?a?NaN:Infinity*b:0==c?b*Math.pow(2,-149)*a:b*Math.pow(2,c-150)*(a+Math.pow(2,23))}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readDouble=function(){if(module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST){var a=this.dataView_.getFloat64(this.cursor_,!0);this.cursor_+=8;this.checkCursor();return a}var b=this.readUint32(),c=this.readUint32();a=2*(c>>31)+1;var d=c>>>20&2047;b=module$exports$jspb$BinaryConstants.TWO_TO_32*(c&1048575)+b;return 2047==d?b?NaN:Infinity*a:0==d?a*Math.pow(2,-1074)*b:a*Math.pow(2,d-1075)*(b+module$exports$jspb$BinaryConstants.TWO_TO_52)}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readDoubleArrayInto=function(a,b){var c=this.cursor_,d=8*a;if(c+d>this.end_)this.error_=!0,module$contents$jspb$binary$errors_reportReadTooFar(d,this.end_-c);else if(c+=this.bytes_.byteOffset,module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST)for(this.cursor_+=d,a=new DataView(this.bytes_.buffer,c,d),d=0;;){c=d+8;if(c>a.byteLength)break;b.push(a.getFloat64(d,!0));d=c}else if(void 0===module$contents$jspb$binary$decoder_isLittleEndianCache&& -(module$contents$jspb$binary$decoder_isLittleEndianCache=513==(new Uint16Array((new Uint8Array([1,2])).buffer))[0]),goog.asserts.assertBoolean(module$contents$jspb$binary$decoder_isLittleEndianCache))for(this.cursor_+=d,a=new Float64Array(this.bytes_.buffer.slice(c,c+d)),d=0;dg?e.push(g):224>g?c>=a?module$contents$jspb$binary$utf8_invalid(b,e):(h=d[c++],194>g||128!==(h&192)?(c--,module$contents$jspb$binary$utf8_invalid(b,e)):(g=(g&31)<<6|h&63,(0,goog.asserts.assert)(128<=g&&2047>=g),e.push(g))):240>g?c>=a-1?module$contents$jspb$binary$utf8_invalid(b, -e):(h=d[c++],128!==(h&192)||224===g&&160>h||237===g&&160<=h||128!==((k=d[c++])&192)?(c--,module$contents$jspb$binary$utf8_invalid(b,e)):(g=(g&15)<<12|(h&63)<<6|k&63,(0,goog.asserts.assert)(2048<=g&&65535>=g),(0,goog.asserts.assert)(55296>g||57343=g?c>=a-2?module$contents$jspb$binary$utf8_invalid(b,e):(h=d[c++],128!==(h&192)||0!==(g<<28)+(h-144)>>30||128!==((k=d[c++])&192)||128!==((l=d[c++])&192)?(c--,module$contents$jspb$binary$utf8_invalid(b,e)):(g=(g&7)<<18|(h&63)<<12|(k&63)<< -6|l&63,(0,goog.asserts.assert)(65536<=g&&1114111>=g),g-=65536,e.push((g>>10&1023)+55296,(g&1023)+56320))):module$contents$jspb$binary$utf8_invalid(b,e),8192<=e.length&&(f=module$contents$jspb$binary$utf8_codeUnitsToString(f,e),e.length=0);(0,goog.asserts.assert)(c===a,"expected "+c+" === "+a);b=module$contents$jspb$binary$utf8_codeUnitsToString(f,e)}return b}; -module$exports$jspb$binary$decoder.BinaryDecoder.prototype.readBytes=function(a){if(0>a||this.cursor_+a>this.bytes_.length)return this.error_=!0,0>a?module$contents$jspb$binary$errors_reportNegativeByteLength(a):module$contents$jspb$binary$errors_reportReadTooFar(a,this.bytes_.length-this.cursor_),new Uint8Array(0);var b=this.bytesFieldsAsMutableViews?this.bytes_.subarray(this.cursor_,this.cursor_+a):module$contents$jspb$utils_sliceUint8Array(this.bytes_,this.cursor_,this.cursor_+a);this.cursor_+= -a;return b};module$exports$jspb$binary$decoder.BinaryDecoder.resetInstanceCache=function(){module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_=[]};module$exports$jspb$binary$decoder.BinaryDecoder.getInstanceCache=function(){return module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_};module$exports$jspb$binary$decoder.BinaryDecoder.instanceCache_=[]; -var module$contents$jspb$binary$decoder_isLittleEndianCache=void 0,module$contents$jspb$binary$decoder_ASSUME_DATAVIEW_IS_FAST=2019<=goog.FEATURESET_YEAR;var module$exports$jspb$binary$reader={BinaryReader:function(a,b,c,d){d=void 0===d?{}:d;var e=void 0===d.discardUnknownFields?!1:d.discardUnknownFields;this.decoderOptions={bytesFieldsAsMutableViews:void 0===d.bytesFieldsAsMutableViews?!1:d.bytesFieldsAsMutableViews};this.discardUnknownFields=e;this.decoder_=module$exports$jspb$binary$decoder.BinaryDecoder.alloc(a,b,c,this.decoderOptions);this.fieldCursor_=this.decoder_.getCursor();this.nextField_=module$exports$jspb$BinaryConstants.INVALID_FIELD_NUMBER; -this.nextTag_=module$exports$jspb$BinaryConstants.INVALID_TAG;this.nextWireType_=module$exports$jspb$BinaryConstants.WireType.INVALID;this.error_=!1}};module$exports$jspb$binary$reader.BinaryReader.alloc=function(a,b,c){if(module$exports$jspb$binary$reader.BinaryReader.instanceCache_.length){var d=module$exports$jspb$binary$reader.BinaryReader.instanceCache_.pop();a&&d.setBlock(a,b,c);return d}return new module$exports$jspb$binary$reader.BinaryReader(a,b,c)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.free=function(){this.decoder_.clear();this.nextTag_=module$exports$jspb$BinaryConstants.INVALID_TAG;this.nextField_=module$exports$jspb$BinaryConstants.INVALID_FIELD_NUMBER;this.nextWireType_=module$exports$jspb$BinaryConstants.WireType.INVALID;this.error_=!1;100>module$exports$jspb$binary$reader.BinaryReader.instanceCache_.length&&module$exports$jspb$binary$reader.BinaryReader.instanceCache_.push(this)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_};module$exports$jspb$binary$reader.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()};module$exports$jspb$binary$reader.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()};module$exports$jspb$binary$reader.BinaryReader.prototype.getTag=function(){return this.nextTag_}; -module$exports$jspb$binary$reader.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_};module$exports$jspb$binary$reader.BinaryReader.prototype.getWireType=function(){return this.nextWireType_};module$exports$jspb$binary$reader.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.END_GROUP};module$exports$jspb$binary$reader.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.DELIMITED}; -module$exports$jspb$binary$reader.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()};module$exports$jspb$binary$reader.BinaryReader.prototype.setBlock=function(a,b,c){this.decoder_.setBlock(a,b,c);this.nextField_=module$exports$jspb$BinaryConstants.INVALID_FIELD_NUMBER;this.nextWireType_=module$exports$jspb$BinaryConstants.WireType.INVALID}; -module$exports$jspb$binary$reader.BinaryReader.prototype.reset=function(){this.decoder_.reset();this.nextField_=module$exports$jspb$BinaryConstants.INVALID_FIELD_NUMBER;this.nextWireType_=module$exports$jspb$BinaryConstants.WireType.INVALID};module$exports$jspb$binary$reader.BinaryReader.prototype.advance=function(a){this.decoder_.advance(a)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd()||this.getError())return!1;this.fieldCursor_=this.decoder_.getCursor();var a=this.decoder_.readUnsignedVarint32(),b=a>>>3,c=a&7;if(!module$contents$jspb$BinaryConstants_isValidWireType(c))return this.error_=!0,module$contents$jspb$binary$errors_reportInvalidWireType(c,this.fieldCursor_),!1;this.nextTag_=a;this.nextField_=b;this.nextWireType_=c;return!0}; -module$exports$jspb$binary$reader.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=module$exports$jspb$BinaryConstants.WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=module$exports$jspb$BinaryConstants.WireType.DELIMITED)goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var a=this.decoder_.readUnsignedVarint32();this.decoder_.advance(a)}};module$exports$jspb$binary$reader.BinaryReader.prototype.skipFixed32Field=function(){goog.asserts.assert(this.nextWireType_===module$exports$jspb$BinaryConstants.WireType.FIXED32);this.decoder_.advance(4)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.skipFixed64Field=function(){goog.asserts.assert(this.nextWireType_===module$exports$jspb$BinaryConstants.WireType.FIXED64);this.decoder_.advance(8)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.skipGroup=function(){var a=this.nextField_;do{if(!this.nextField()){this.error_=!0;module$contents$jspb$binary$errors_reportUnmatchedStartGroupEof();break}if(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.END_GROUP){this.nextField_!=a&&(this.error_=!0,module$contents$jspb$binary$errors_reportUnmatchedStartGroup());break}this.skipField()}while(1)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case module$exports$jspb$BinaryConstants.WireType.VARINT:this.skipVarintField();break;case module$exports$jspb$BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case module$exports$jspb$BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case module$exports$jspb$BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case module$exports$jspb$BinaryConstants.WireType.START_GROUP:this.skipGroup(); -break;default:this.error_=!0,module$contents$jspb$binary$errors_reportInvalidWireType(this.nextWireType_,this.fieldCursor_)}};module$exports$jspb$binary$reader.BinaryReader.prototype.handleUnknownField=function(a){var b=this.getFieldCursor();this.skipField();this.addUnknownFieldsStartingFrom(a,b)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.addUnknownFieldsStartingFrom=function(a,b){if(!this.discardUnknownFields){b=module$contents$jspb$utils_sliceUint8Array(goog.asserts.assert(this.decoder_.getBuffer()),b,this.decoder_.getCursor());var c=a.internalUnknownFields_;c?c.push(b):a.internalUnknownFields_=[b]}}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readAny=function(a){if(module$contents$jspb$BinaryConstants_FieldTypeToWireType(a)!==this.nextWireType_)return null;var b=module$exports$jspb$BinaryConstants.FieldType;switch(a){case b.DOUBLE:return this.readDouble();case b.FLOAT:return this.readFloat();case b.INT64:return this.readInt64();case b.UINT64:return this.readUint64();case b.INT32:return this.readInt32();case b.FIXED64:return this.readFixed64();case b.FIXED32:return this.readFixed32(); -case b.BOOL:return this.readBool();case b.STRING:return this.readString();case b.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case b.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case b.BYTES:return this.readBytes();case b.UINT32:return this.readUint32();case b.ENUM:return this.readEnum();case b.SFIXED32:return this.readSfixed32();case b.SFIXED64:return this.readSfixed64();case b.SINT32:return this.readSint32();case b.SINT64:return this.readSint64(); -default:goog.asserts.fail("Invalid field type in readAny()")}return null}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readMessage=function(a,b){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.DELIMITED);var c=this.decoder_.getEnd(),d=this.decoder_.readUnsignedVarint32(),e=this.decoder_.getCursor()+d;this.decoder_.setEnd(e);b(a,this);b=e-this.decoder_.getCursor();if(0!==b)throw module$contents$jspb$binary$errors_messageLengthMismatchError(d,d-b);this.decoder_.setCursor(e);this.decoder_.setEnd(c);return a}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readGroup=function(a,b,c){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.START_GROUP);goog.asserts.assert(this.nextField_==a);c(b,this);this.error_||(this.nextWireType_!==module$exports$jspb$BinaryConstants.WireType.END_GROUP?(this.error_=!0,module$contents$jspb$binary$errors_reportGroupDidNotEndWithEndGroup()):this.nextField_!==a&&(this.error_=!0,module$contents$jspb$binary$errors_reportUnmatchedStartGroup())); -return b};module$exports$jspb$binary$reader.BinaryReader.prototype.readInt32=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readSignedVarint32()};module$exports$jspb$binary$reader.BinaryReader.prototype.readInt64=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readSignedVarint64()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readInt64String=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readSignedVarint64String()};module$exports$jspb$binary$reader.BinaryReader.prototype.readUint32=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readUnsignedVarint32()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readUint64=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readUnsignedVarint64()};module$exports$jspb$binary$reader.BinaryReader.prototype.readUint64String=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readUnsignedVarint64String()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readSint32=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readZigzagVarint32()};module$exports$jspb$binary$reader.BinaryReader.prototype.readSint64=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readZigzagVarint64()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readSint64String=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readZigzagVarint64String()};module$exports$jspb$binary$reader.BinaryReader.prototype.readFixed32=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED32);return this.decoder_.readUint32()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readFixed64=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED64);return this.decoder_.readUint64()};module$exports$jspb$binary$reader.BinaryReader.prototype.readFixed64String=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED64);return this.decoder_.readUint64String()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readSfixed32=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED32);return this.decoder_.readInt32()};module$exports$jspb$binary$reader.BinaryReader.prototype.readSfixed32String=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED32);return this.decoder_.readInt32().toString()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readSfixed64=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED64);return this.decoder_.readInt64()};module$exports$jspb$binary$reader.BinaryReader.prototype.readSfixed64String=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED64);return this.decoder_.readInt64String()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readFloat=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED32);return this.decoder_.readFloat()};module$exports$jspb$binary$reader.BinaryReader.prototype.readDouble=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED64);return this.decoder_.readDouble()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readBool=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return!!this.decoder_.readUnsignedVarint32()};module$exports$jspb$binary$reader.BinaryReader.prototype.readEnum=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readSignedVarint64()}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readString=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.DELIMITED);var a=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(a,!1)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readStringRequireUtf8=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.DELIMITED);var a=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(a,!0)};module$exports$jspb$binary$reader.BinaryReader.prototype.readBytes=function(){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.DELIMITED);var a=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(a)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readSplitVarint64=function(a){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readSplitVarint64(a)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readSplitZigzagVarint64=function(a){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.VARINT);return this.decoder_.readSplitVarint64(function(b,c){return module$contents$jspb$utils_fromZigzag64(b,c,a)})};module$exports$jspb$binary$reader.BinaryReader.prototype.readSplitFixed64=function(a){goog.asserts.assert(this.nextWireType_==module$exports$jspb$BinaryConstants.WireType.FIXED64);return this.decoder_.readSplitFixed64(a)}; -module$exports$jspb$binary$reader.BinaryReader.prototype.readPackedFieldInto_=function(a,b){var c=this.readPackedFieldLength_();for(c=this.decoder_.getCursor()+c;this.decoder_.getCursor()>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)}; -module$exports$jspb$arith.UInt64.prototype.leftShift=function(){return new module$exports$jspb$arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)};module$exports$jspb$arith.UInt64.prototype.msb=function(){return!!(this.hi&2147483648)};module$exports$jspb$arith.UInt64.prototype.lsb=function(){return!!(this.lo&1)};module$exports$jspb$arith.UInt64.prototype.zero=function(){return 0==this.lo&&0==this.hi}; -module$exports$jspb$arith.UInt64.prototype.add=function(a){return new module$exports$jspb$arith.UInt64((this.lo+a.lo&4294967295)>>>0>>>0,((this.hi+a.hi&4294967295)>>>0)+(4294967296<=this.lo+a.lo?1:0)>>>0)};module$exports$jspb$arith.UInt64.prototype.sub=function(a){return new module$exports$jspb$arith.UInt64((this.lo-a.lo&4294967295)>>>0>>>0,((this.hi-a.hi&4294967295)>>>0)-(0>this.lo-a.lo?1:0)>>>0)}; -module$exports$jspb$arith.UInt64.mul32x32=function(a,b){var c=a&65535;a>>>=16;var d=b&65535,e=b>>>16;b=c*d+65536*(c*e&65535)+65536*(a*d&65535);for(c=a*e+(c*e>>>16)+(a*d>>>16);4294967296<=b;)b-=4294967296,c+=1;return new module$exports$jspb$arith.UInt64(b>>>0,c>>>0)};module$exports$jspb$arith.UInt64.prototype.mul=function(a){var b=module$exports$jspb$arith.UInt64.mul32x32(this.lo,a);a=module$exports$jspb$arith.UInt64.mul32x32(this.hi,a);a.hi=a.lo;a.lo=0;return b.add(a)}; -module$exports$jspb$arith.UInt64.prototype.div=function(a){if(0==a)return[];for(var b=new module$exports$jspb$arith.UInt64(0,0),c=new module$exports$jspb$arith.UInt64(this.lo,this.hi),d=new module$exports$jspb$arith.UInt64(a,0),e=new module$exports$jspb$arith.UInt64(1,0);!d.msb();)d=d.leftShift(),e=e.leftShift();for(;!e.zero();)0>=d.cmp(c)&&(b=b.add(e),c=c.sub(d)),d=d.rightShift(),e=e.rightShift();return[b,c]}; -module$exports$jspb$arith.UInt64.prototype.toString=function(){for(var a="",b=this;!b.zero();){b=b.div(10);var c=b[0];a=b[1].lo+a;b=c}""==a&&(a="0");return a};module$exports$jspb$arith.UInt64.fromString=function(a){for(var b=new module$exports$jspb$arith.UInt64(0,0),c=new module$exports$jspb$arith.UInt64(0,0),d=0;da[d]||"9">>0>>>0,((this.hi+a.hi&4294967295)>>>0)+(4294967296<=this.lo+a.lo?1:0)>>>0)}; -module$exports$jspb$arith.Int64.prototype.sub=function(a){return new module$exports$jspb$arith.Int64((this.lo-a.lo&4294967295)>>>0>>>0,((this.hi-a.hi&4294967295)>>>0)-(0>this.lo-a.lo?1:0)>>>0)};module$exports$jspb$arith.Int64.prototype.clone=function(){return new module$exports$jspb$arith.Int64(this.lo,this.hi)}; -module$exports$jspb$arith.Int64.prototype.toString=function(){var a=0!=(this.hi&2147483648),b=new module$exports$jspb$arith.UInt64(this.lo,this.hi);a&&(b=(new module$exports$jspb$arith.UInt64(0,0)).sub(b));return(a?"-":"")+b.toString()}; -module$exports$jspb$arith.Int64.fromString=function(a){var b=0>>7|b<<25)>>>0,b>>>=7;this.push(a)}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeSplitFixed64=function(a,b){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(b==Math.floor(b));goog.asserts.assert(0<=a&&a>>0,e>>>0)})};module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUnsignedVarint32=function(a){goog.asserts.assert(a==Math.floor(a));for(goog.asserts.assert(0<=a&&a>>=7;this.push(a)}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeSignedVarint32=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$exports$jspb$BinaryConstants.TWO_TO_31&&ab;b++)this.push(a&127|128),a>>=7;this.push(1)}}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUnsignedVarint64=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&a=-module$exports$jspb$BinaryConstants.TWO_TO_63&&a=-module$exports$jspb$BinaryConstants.TWO_TO_31&&a>31)>>>0)}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeZigzagVarint64=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$exports$jspb$BinaryConstants.TWO_TO_63&&ab;b=2*Math.abs(b);module$contents$jspb$utils_splitUint64(b);b=module$contents$jspb$utils_split64Low;var c=module$contents$jspb$utils_split64High;a&&(0==b?0==c?c=b=4294967295:(c--,b=4294967295):b--);module$contents$jspb$utils_split64Low=b;module$contents$jspb$utils_split64High= -c;this.writeSplitVarint64(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_split64High)};module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeZigzagVarint64String=function(a){var b=this;module$contents$jspb$utils_splitBytes64(module$contents$jspb$utils_decimalStringToBytes64(a));module$contents$jspb$utils_toZigzag64(module$contents$jspb$utils_split64Low,module$contents$jspb$utils_split64High,function(c,d){b.writeSplitVarint64(c>>>0,d>>>0)})}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUint8=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&256>a);this.push(a>>>0&255)};module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUint16=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&65536>a);this.push(a>>>0&255);this.push(a>>>8&255)}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUint32=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&a>>0&255);this.push(a>>>8&255);this.push(a>>>16&255);this.push(a>>>24&255)}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeUint64=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(0<=a&&aa);this.push(a>>>0&255)};module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeInt16=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(-32768<=a&&32768>a);this.push(a>>>0&255);this.push(a>>>8&255)}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeInt32=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$exports$jspb$BinaryConstants.TWO_TO_31&&a>>0&255);this.push(a>>>8&255);this.push(a>>>16&255);this.push(a>>>24&255)}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeInt64=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$exports$jspb$BinaryConstants.TWO_TO_63&&a=-module$exports$jspb$BinaryConstants.TWO_TO_63&&+a=-module$exports$jspb$BinaryConstants.FLOAT32_MAX&&a<=module$exports$jspb$BinaryConstants.FLOAT32_MAX);var b=a;b=(a=0>b?1:0)?-b:b;if(0===b)0<1/b?module$contents$jspb$utils_split64Low=module$contents$jspb$utils_split64High=0:(module$contents$jspb$utils_split64High=0,module$contents$jspb$utils_split64Low=2147483648);else if(isNaN(b))module$contents$jspb$utils_split64High= -0,module$contents$jspb$utils_split64Low=2147483647;else if(b>module$exports$jspb$BinaryConstants.FLOAT32_MAX)module$contents$jspb$utils_split64High=0,module$contents$jspb$utils_split64Low=(a<<31|2139095040)>>>0;else if(b>>0;else{var c=Math.floor(Math.log(b)/Math.LN2);b*=Math.pow(2,-c);b=Math.round(b*module$exports$jspb$BinaryConstants.TWO_TO_23); -16777216<=b&&++c;module$contents$jspb$utils_split64High=0;module$contents$jspb$utils_split64Low=(a<<31|c+127<<23|b&8388607)>>>0}this.writeUint32(module$contents$jspb$utils_split64Low)}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeDouble=function(a){goog.asserts.assert(Infinity===a||-Infinity===a||isNaN(a)||a>=-module$exports$jspb$BinaryConstants.FLOAT64_MAX&&a<=module$exports$jspb$BinaryConstants.FLOAT64_MAX);var b=a;b=(a=0>b?1:0)?-b:b;if(0===b)module$contents$jspb$utils_split64High=0<1/b?0:2147483648,module$contents$jspb$utils_split64Low=0;else if(isNaN(b))module$contents$jspb$utils_split64High=2147483647,module$contents$jspb$utils_split64Low=4294967295;else if(b> -module$exports$jspb$BinaryConstants.FLOAT64_MAX)module$contents$jspb$utils_split64High=(a<<31|2146435072)>>>0,module$contents$jspb$utils_split64Low=0;else if(b>>0;module$contents$jspb$utils_split64Low=c>>>0}else{var d=b;c=0;if(2<=d)for(;2<=d&&1023>c;)c++,d/=2;else for(;1>d&&-1022>> -0;module$contents$jspb$utils_split64High=(a<<31|c+1023<<20|b*module$exports$jspb$BinaryConstants.TWO_TO_20&1048575)>>>0;module$contents$jspb$utils_split64Low=d}this.writeUint32(module$contents$jspb$utils_split64Low);this.writeUint32(module$contents$jspb$utils_split64High)};module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeBool=function(a){goog.asserts.assert("boolean"===typeof a||"number"===typeof a);this.push(a?1:0)}; -module$exports$jspb$binary$encoder.BinaryEncoder.prototype.writeEnum=function(a){goog.asserts.assert(a==Math.floor(a));goog.asserts.assert(a>=-module$exports$jspb$BinaryConstants.TWO_TO_31&&a=-module$exports$jspb$BinaryConstants.TWO_TO_31&&b=-module$exports$jspb$BinaryConstants.TWO_TO_63&&b=-module$exports$jspb$BinaryConstants.TWO_TO_31&&b=-module$exports$jspb$BinaryConstants.TWO_TO_63&&b=-module$exports$jspb$BinaryConstants.TWO_TO_31&&b=-module$exports$jspb$BinaryConstants.TWO_TO_63&&bh)f[e++]=h;else{if(2048>h)f[e++]=h>>6|192;else{(0,goog.asserts.assert)(65536>h);if(55296<=h&&57343>=h){if(56319>=h&&g=k){h=1024*(h-55296)+k-56320+65536;f[e++]=h>>18|240;f[e++]=h>>12&63|128;f[e++]=h>>6&63|128;f[e++]=h&63|128;continue}else g--}if(d||module$contents$jspb$binary$utf8_REJECT_UNPAIRED_SURROGATES)throw Error("Found an unpaired surrogate"); -h=65533}f[e++]=h>>12|224;f[e++]=h>>6&63|128}f[e++]=h&63|128}}b=f.subarray(0,e)}c.call(this,a,b)}};module$exports$jspb$binary$writer.BinaryWriter.prototype.writeBytes=function(a,b){null!=b&&this.writeUint8Array(a,module$contents$jspb$utils_byteSourceToUint8Array(b))};module$exports$jspb$binary$writer.BinaryWriter.prototype.writeUint8Array=function(a,b){this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.DELIMITED);this.encoder_.writeUnsignedVarint32(b.length);this.appendUint8Array_(b)}; -module$exports$jspb$binary$writer.BinaryWriter.prototype.writeMessage=function(a,b,c){null!=b&&(a=this.beginDelimited_(a),c(b,this),this.endDelimited_(a))}; -module$exports$jspb$binary$writer.BinaryWriter.prototype.writeMessageSet=function(a,b,c){null!=b&&(this.writeFieldHeader_(1,module$exports$jspb$BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,module$exports$jspb$BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(a),a=this.beginDelimited_(3),c(b,this),this.endDelimited_(a),this.writeFieldHeader_(1,module$exports$jspb$BinaryConstants.WireType.END_GROUP))}; -module$exports$jspb$binary$writer.BinaryWriter.prototype.writeGroup=function(a,b,c){null!=b&&(this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.START_GROUP),c(b,this),this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.END_GROUP))};module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSplitFixed64=function(a,b,c){this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.FIXED64);this.encoder_.writeSplitFixed64(b,c)}; -module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSplitVarint64=function(a,b,c){this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT);this.encoder_.writeSplitVarint64(b,c)};module$exports$jspb$binary$writer.BinaryWriter.prototype.writeSplitZigzagVarint64=function(a,b,c){this.writeFieldHeader_(a,module$exports$jspb$BinaryConstants.WireType.VARINT);this.encoder_.writeSplitZigzagVarint64(b>>>0,c>>>0)}; -module$exports$jspb$binary$writer.BinaryWriter.prototype.writeRepeatedInt32=function(a,b){if(null!=b)for(var c=0;c=-module$exports$jspb$BinaryConstants.TWO_TO_31&&b=this.pivot_?this.internalExtensionObject_?this.internalExtensionObject_[a]:void 0:this.internalArray_[a+this.arrayIndexOffset]};module$exports$jspb.Message.prototype.internal_hasField=function(a){return null!=this.internal_getField(a)}; -module$exports$jspb.Message.prototype.internal_hasOneofField=function(a,b){return this.internal_computeOneofCase(b)===a};module$exports$jspb.Message.prototype.internal_getRepeatedField=function(a,b,c){c=void 0===c?!1:c;b=this.internal_getField(a,c);null==b&&(b=module$contents$jspb_EMPTY_LIST_SENTINEL);b===module$contents$jspb_EMPTY_LIST_SENTINEL&&(b=module$contents$jspb$internal_newRepeatedField(),this.internal_setField(a,b,c));return b}; -module$exports$jspb.Message.prototype.internal_getFloatingPointField=function(a){a=this.internal_getField(a);return null==a?a:+a};module$exports$jspb.Message.prototype.internal_getBooleanField=function(a){a=this.internal_getField(a);return null==a?a:!!a}; -module$exports$jspb.Message.prototype.internal_getRepeatedFloatingPointField=function(a){var b=this.internal_getRepeatedField(a,!1);this.convertedPrimitiveFields_||(this.convertedPrimitiveFields_={});if(!this.convertedPrimitiveFields_[a]){for(var c=0;c=this.pivot_?(module$contents$jspb_maybeInitEmptyExtensionObject(this),this.internalExtensionObject_[a]=b):this.internalArray_[a+this.arrayIndexOffset]=b;return this};module$exports$jspb.Message.prototype.internal_setRepeatedField=function(a,b,c){c=void 0===c?!1:c;return this.internal_setField(a,(0,module$exports$jspb$internal.markRepeatedField)(b||[]),c)}; -module$exports$jspb.Message.prototype.internal_clearField=function(a){return this.internal_setField(a,void 0)};module$exports$jspb.Message.prototype.internal_clearRepeatedField=function(a){return this.internal_setField(a,module$contents$jspb_EMPTY_LIST_SENTINEL)};module$exports$jspb.Message.prototype.internal_clearWrapperField=function(a){return this.internal_setWrapperField(a,void 0)}; -module$exports$jspb.Message.prototype.internal_clearRepeatedWrapperField=function(a){return this.internal_setRepeatedWrapperField(a,void 0)};function module$contents$jspb_setFieldIgnoringDefault(a,b,c,d){goog.asserts.assertInstanceof(a,module$exports$jspb.Message);c!==d?a.internal_setField(b,c):a.internal_clearField(b);return a}module$exports$jspb.Message.prototype.internal_addToRepeatedField=function(a,b,c){a=this.internal_getRepeatedField(a);void 0!=c?a.splice(c,0,b):a.push(b);return this}; -module$exports$jspb.Message.prototype.internal_setOneofField=function(a,b,c){(b=this.internal_computeOneofCase(b))&&b!==a&&null!=c&&(this.internalWrappers_&&b in this.internalWrappers_&&(this.internalWrappers_[b]=void 0),this.internal_setField(b,void 0));return this.internal_setField(a,c)};module$exports$jspb.Message.prototype.internal_computeOneofCase=function(a){for(var b=0,c=0;cb.length?c.length:b.length;a.getJsPbMessageId()&&(d[0]=a.getJsPbMessageId(),e=1);for(;e"}else return void 0===a?"undefined":null===a?"null":typeof a};goog.dom.asserts.getWindow_=function(a){try{var b=a&&a.ownerDocument,c=b&&(b.defaultView||b.parentWindow);c=c||goog.global;if(c.Element&&c.Location)return c}catch(d){}return null};goog.dom.HtmlElement=function(){};goog.functions={};goog.functions.constant=function(a){return function(){return a}};goog.functions.FALSE=function(){return!1};goog.functions.TRUE=function(){return!0};goog.functions.NULL=function(){return null};goog.functions.UNDEFINED=function(){};goog.functions.EMPTY=goog.functions.UNDEFINED;goog.functions.identity=function(a){return a};goog.functions.error=function(a){return function(){throw Error(a);}};goog.functions.fail=function(a){return function(){throw a;}}; -goog.functions.lock=function(a,b){b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};goog.functions.nth=function(a){return function(){return arguments[a]}};goog.functions.partialRight=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=this;d===goog.global&&(d=void 0);var e=Array.prototype.slice.call(arguments);e.push.apply(e,c);return a.apply(d,e)}}; -goog.functions.withReturnValue=function(a,b){return goog.functions.sequence(a,goog.functions.constant(b))};goog.functions.equalTo=function(a,b){return function(c){return b?a==c:a===c}};goog.functions.compose=function(a,b){var c=arguments,d=c.length;return function(){var e;d&&(e=c[d-1].apply(this,arguments));for(var f=d-2;0<=f;f--)e=c[f].call(this,e);return e}};goog.functions.sequence=function(a){var b=arguments,c=b.length;return function(){for(var d,e=0;ea?goog.i18n.bidi.Dir.RTL:b?null:goog.i18n.bidi.Dir.NEUTRAL:null==a?null:a?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR};goog.i18n.bidi.ltrChars_="A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff";goog.i18n.bidi.rtlChars_="\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc"; -goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g;goog.i18n.bidi.stripHtmlIfNeeded_=function(a,b){return b?a.replace(goog.i18n.bidi.htmlSkipReg_,""):a};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(a,b){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl; -goog.i18n.bidi.hasAnyLtr=function(a,b){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};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(a){return goog.i18n.bidi.rtlRe_.test(a)};goog.i18n.bidi.isLtrChar=function(a){return goog.i18n.bidi.ltrRe_.test(a)};goog.i18n.bidi.isNeutralChar=function(a){return!goog.i18n.bidi.isLtrChar(a)&&!goog.i18n.bidi.isRtlChar(a)}; -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(a,b){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl; -goog.i18n.bidi.startsWithLtr=function(a,b){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr;goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/;goog.i18n.bidi.isNeutralText=function(a,b){a=goog.i18n.bidi.stripHtmlIfNeeded_(a,b);return goog.i18n.bidi.isRequiredLtrRe_.test(a)||!goog.i18n.bidi.hasAnyLtr(a)&&!goog.i18n.bidi.hasAnyRtl(a)}; -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(a,b){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr; -goog.i18n.bidi.endsWithRtl=function(a,b){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl;goog.i18n.bidi.rtlLocalesRe_=RegExp("^(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(a){return goog.i18n.bidi.rtlLocalesRe_.test(a)};goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g; -goog.i18n.bidi.guardBracketInText=function(a,b){b=(void 0===b?goog.i18n.bidi.hasAnyRtl(a):b)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM;return a.replace(goog.i18n.bidi.bracketGuardTextRe_,b+"$&"+b)};goog.i18n.bidi.enforceRtlInHtml=function(a){return"<"==a.charAt(0)?a.replace(/<\w+/,"$& dir=rtl"):"\n"+a+""};goog.i18n.bidi.enforceRtlInText=function(a){return goog.i18n.bidi.Format.RLE+a+goog.i18n.bidi.Format.PDF}; -goog.i18n.bidi.enforceLtrInHtml=function(a){return"<"==a.charAt(0)?a.replace(/<\w+/,"$& dir=ltr"):"\n"+a+""};goog.i18n.bidi.enforceLtrInText=function(a){return goog.i18n.bidi.Format.LRE+a+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(a){return a.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(a){return a.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\u05f4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\u05f3")};goog.i18n.bidi.wordSeparatorRe_=/\s+/;goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/;goog.i18n.bidi.rtlDetectionThreshold_=.4; -goog.i18n.bidi.estimateDirection=function(a,b){var c=0,d=0,e=!1;a=goog.i18n.bidi.stripHtmlIfNeeded_(a,b).split(goog.i18n.bidi.wordSeparatorRe_);for(b=0;bgoog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR}; -goog.i18n.bidi.detectRtlDirectionality=function(a,b){return goog.i18n.bidi.estimateDirection(a,b)==goog.i18n.bidi.Dir.RTL};goog.i18n.bidi.setElementDirAndAlign=function(a,b){a&&(b=goog.i18n.bidi.toDir(b))&&(a.style.textAlign=b==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,a.dir=b==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")}; -goog.i18n.bidi.setElementDirByTextDirectionality=function(a,b){switch(goog.i18n.bidi.estimateDirection(b)){case goog.i18n.bidi.Dir.LTR:"ltr"!==a.dir&&(a.dir="ltr");break;case goog.i18n.bidi.Dir.RTL:"rtl"!==a.dir&&(a.dir="rtl");break;default:a.removeAttribute("dir")}};goog.i18n.bidi.DirectionalString=function(){};goog.html.TrustedResourceUrl=function(a,b){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=b===goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_?a:""};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(a,b){var c=goog.html.TrustedResourceUrl.unwrap(this);c=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(c);var d=c[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(c[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",c[2]||"",a)+goog.html.TrustedResourceUrl.stringifyParams_("#",d,b))}; -goog.html.TrustedResourceUrl.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};goog.html.TrustedResourceUrl.unwrap=function(a){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(a).toString()}; -goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(a){if(a instanceof goog.html.TrustedResourceUrl&&a.constructor===goog.html.TrustedResourceUrl)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+a+"' of type "+goog.typeOf(a));return"type_error:TrustedResourceUrl"}; -goog.html.TrustedResourceUrl.format=function(a,b){var c=goog.string.Const.unwrap(a);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(d,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, "'+e+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));d=b[e];return d instanceof goog.string.Const?goog.string.Const.unwrap(d): -encodeURIComponent(String(d))});return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(a)};goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g;goog.html.TrustedResourceUrl.BASE_URL_=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i");goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/; -goog.html.TrustedResourceUrl.formatWithParams=function(a,b,c,d){return goog.html.TrustedResourceUrl.format(a,b).cloneWithParams(c,d)};goog.html.TrustedResourceUrl.fromConstant=function(a){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(a))};goog.html.TrustedResourceUrl.fromConstants=function(a){for(var b="",c=0;ca.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(g)))}}return b};goog.html.SafeUrl=function(a,b){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=b===goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_?a:""};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.html.SafeUrl.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};goog.html.SafeUrl.unwrap=function(a){if(a instanceof goog.html.SafeUrl&&a.constructor===goog.html.SafeUrl)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;goog.asserts.fail("expected object of type SafeUrl, got '"+a+"' of type "+goog.typeOf(a));return"type_error:SafeUrl"}; -goog.html.SafeUrl.fromConstant=function(a){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(a))};goog.html.SAFE_MIME_TYPE_PATTERN_=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i");goog.html.SafeUrl.isSafeMimeType=function(a){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(a)}; -goog.html.SafeUrl.fromBlob=function(a){a=goog.html.SafeUrl.isSafeMimeType(a.type)?goog.fs.url.createObjectUrl(a):goog.html.SafeUrl.INNOCUOUS_STRING;return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)};goog.html.SafeUrl.revokeObjectUrl=function(a){a=a.getTypedStringValue();a!==goog.html.SafeUrl.INNOCUOUS_STRING&&goog.fs.url.revokeObjectUrl(a)}; -goog.html.SafeUrl.fromMediaSource=function(a){goog.asserts.assert("MediaSource"in goog.global,"No support for MediaSource");a=a instanceof MediaSource?goog.fs.url.createObjectUrl(a):goog.html.SafeUrl.INNOCUOUS_STRING;return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)};goog.html.DATA_URL_PATTERN_=/^data:(.*);base64,[a-z0-9+\/]+=*$/i; -goog.html.SafeUrl.tryFromDataUrl=function(a){a=String(a);a=a.replace(/(%0A|%0D)/g,"");var b=a.match(goog.html.DATA_URL_PATTERN_);return b&&goog.html.SafeUrl.isSafeMimeType(b[1])?goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a):null};goog.html.SafeUrl.fromDataUrl=function(a){return goog.html.SafeUrl.tryFromDataUrl(a)||goog.html.SafeUrl.INNOCUOUS_URL}; -goog.html.SafeUrl.fromTelUrl=function(a){goog.string.internal.caseInsensitiveStartsWith(a,"tel:")||(a=goog.html.SafeUrl.INNOCUOUS_STRING);return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)};goog.html.SIP_URL_PATTERN_=RegExp("^sip[s]?:[+a-z0-9_.!$%&'*\\/=^`{|}~-]+@([a-z0-9-]+\\.)+[a-z0-9]{2,63}$","i");goog.html.SafeUrl.fromSipUrl=function(a){goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(a))||(a=goog.html.SafeUrl.INNOCUOUS_STRING);return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)}; -goog.html.SafeUrl.fromFacebookMessengerUrl=function(a){goog.string.internal.caseInsensitiveStartsWith(a,"fb-messenger://share")||(a=goog.html.SafeUrl.INNOCUOUS_STRING);return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)};goog.html.SafeUrl.fromWhatsAppUrl=function(a){goog.string.internal.caseInsensitiveStartsWith(a,"whatsapp://send")||(a=goog.html.SafeUrl.INNOCUOUS_STRING);return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)}; -goog.html.SafeUrl.fromSmsUrl=function(a){goog.string.internal.caseInsensitiveStartsWith(a,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(a)||(a=goog.html.SafeUrl.INNOCUOUS_STRING);return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)};goog.html.SafeUrl.isSmsUrlBodyValid_=function(a){var b=a.indexOf("#");0+~[\]()=^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);if(!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(c))throw Error("() and [] in selector must be balanced, got: "+ -a);b instanceof module$contents$goog$html$SafeStyle_SafeStyle||(b=module$contents$goog$html$SafeStyle_SafeStyle.create(b));a=a+"{"+module$contents$goog$html$SafeStyle_SafeStyle.unwrap(b).replace(/.":"");if(a.toUpperCase()in module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES)throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?"Tag name <"+a+"> is not allowed for SafeHtml.":"");}; -module$contents$goog$html$SafeHtml_SafeHtml.createIframe=function(a,b,c,d){a&&goog.html.TrustedResourceUrl.unwrap(a);var e={};e.src=a||null;e.srcdoc=b&&module$contents$goog$html$SafeHtml_SafeHtml.unwrap(b);a=module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(e,{sandbox:""},c);return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",a,d)}; -module$contents$goog$html$SafeHtml_SafeHtml.createSandboxIframe=function(a,b,c,d){if(!module$contents$goog$html$SafeHtml_SafeHtml.canUseSandboxIframe())throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?"The browser does not support sandboxed iframes.":"");var e={};e.src=a?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(a)):null;e.srcdoc=b||null;e.sandbox="";a=module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(e,{},c);return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", -a,d)};module$contents$goog$html$SafeHtml_SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype};module$contents$goog$html$SafeHtml_SafeHtml.createScriptSrc=function(a,b){goog.html.TrustedResourceUrl.unwrap(a);a=module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({src:a},{},b);return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",a)}; -module$contents$goog$html$SafeHtml_SafeHtml.createScript=function(a,b){for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=c.toLowerCase();if("language"==d||"src"==d||"text"==d||"type"==d)throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?'Cannot set "'+d+'" attribute':"");}c="";a=module$contents$goog$array_concat(a);for(d=0;d does not allow content."),e+=">"):(d=module$contents$goog$html$SafeHtml_SafeHtml.concat(c),e+=">"+module$contents$goog$html$SafeHtml_SafeHtml.unwrap(d)+"",d=d.getDirection()); -(a=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(a)?goog.i18n.bidi.Dir.NEUTRAL:null);return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(e,d)}; -module$contents$goog$html$SafeHtml_SafeHtml.stringifyAttributes=function(a,b){var c="";if(b)for(var d in b)if(Object.prototype.hasOwnProperty.call(b,d)){if(!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(d))throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?'Invalid attribute name "'+d+'".':"");var e=b[d];if(null!=e){var f=a;var g=d;if(e instanceof goog.string.Const)e=goog.string.Const.unwrap(e);else if("style"==g.toLowerCase())if(module$contents$goog$html$SafeHtml_SafeHtml.SUPPORT_STYLE_ATTRIBUTE){if(!goog.isObject(e))throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES? -'The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof e+" given: "+e:"");e instanceof module$contents$goog$html$SafeStyle_SafeStyle||(e=module$contents$goog$html$SafeStyle_SafeStyle.create(e));e=module$contents$goog$html$SafeStyle_SafeStyle.unwrap(e)}else throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "style" not supported.':"");else{if(/^on/i.test(g))throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES? -'Attribute "'+g+'" requires goog.string.Const value, "'+e+'" given.':"");if(g.toLowerCase()in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES)if(e instanceof goog.html.TrustedResourceUrl)e=goog.html.TrustedResourceUrl.unwrap(e);else if(e instanceof goog.html.SafeUrl)e=goog.html.SafeUrl.unwrap(e);else if("string"===typeof e)e=goog.html.SafeUrl.sanitize(e).getTypedStringValue();else throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES?'Attribute "'+g+'" on tag "'+f+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+ -e+'" given.':"");}e.implementsGoogStringTypedString&&(e=e.getTypedStringValue());goog.asserts.assert("string"===typeof e||"number"===typeof e,"String or number value expected, got "+typeof e+" with value: "+e);g=g+'="'+goog.string.internal.htmlEscape(String(e))+'"';c+=" "+g}}return c}; -module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes=function(a,b,c){var d={};for(g in a)Object.prototype.hasOwnProperty.call(a,g)&&(goog.asserts.assert(g.toLowerCase()==g,"Must be lower case"),d[g]=a[g]);for(var e in b)Object.prototype.hasOwnProperty.call(b,e)&&(goog.asserts.assert(e.toLowerCase()==e,"Must be lower case"),d[e]=b[e]);if(c)for(var f in c)if(Object.prototype.hasOwnProperty.call(c,f)){var g=f.toLowerCase();if(g in a)throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES? -'Cannot override "'+g+'" attribute, got "'+f+'" with value "'+c[f]+'"':"");g in b&&delete d[g];d[f]=c[f]}return d};module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES=goog.DEBUG;module$contents$goog$html$SafeHtml_SafeHtml.SUPPORT_STYLE_ATTRIBUTE=!0;module$contents$goog$html$SafeHtml_SafeHtml.from=module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape; -var module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG=/^[a-zA-Z0-9-]+$/,module$contents$goog$html$SafeHtml_URL_ATTRIBUTES={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES=module$contents$goog$object_createSet(goog.dom.TagName.APPLET,goog.dom.TagName.BASE,goog.dom.TagName.EMBED,goog.dom.TagName.IFRAME,goog.dom.TagName.LINK,goog.dom.TagName.MATH,goog.dom.TagName.META,goog.dom.TagName.OBJECT,goog.dom.TagName.SCRIPT, -goog.dom.TagName.STYLE,goog.dom.TagName.SVG,goog.dom.TagName.TEMPLATE);module$contents$goog$html$SafeHtml_SafeHtml.DOCTYPE_HTML=module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("",goog.i18n.bidi.Dir.NEUTRAL);module$contents$goog$html$SafeHtml_SafeHtml.EMPTY=new module$contents$goog$html$SafeHtml_SafeHtml(goog.global.trustedTypes&&goog.global.trustedTypes.emptyHTML||"",goog.i18n.bidi.Dir.NEUTRAL,module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE); -module$contents$goog$html$SafeHtml_SafeHtml.BR=module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("
",goog.i18n.bidi.Dir.NEUTRAL);goog.html.SafeHtml=module$contents$goog$html$SafeHtml_SafeHtml;goog.html.uncheckedconversions={};goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(a,b,c){goog.asserts.assertString(goog.string.Const.unwrap(a),"must provide justification");goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),"must provide non-empty justification");return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(b,c||null)}; -goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),"must provide justification");goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),"must provide non-empty justification");return module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(b)}; -goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),"must provide justification");goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),"must provide non-empty justification");return module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(b)}; -goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),"must provide justification");goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),"must provide non-empty justification");return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(b)}; -goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),"must provide justification");goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),"must provide non-empty justification");return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(b)}; -goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),"must provide justification");goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),"must provide non-empty justification");return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(b)};goog.dom.safe={};goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"};goog.dom.safe.insertAdjacentHtml=function(a,b,c){a.insertAdjacentHTML(b,module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(c))};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 a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);if(goog.DEBUG&&!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(module$contents$goog$html$SafeHtml_SafeHtml.EMPTY);return!b.parentElement}); -goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(a,b){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b)}; -goog.dom.safe.setInnerHtml=function(a,b){if(goog.asserts.ENABLE_ASSERTS&&a.tagName&&goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+a.tagName+".");goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(a,b)}; -goog.dom.safe.setInnerHtmlFromConstant=function(a,b){goog.dom.safe.setInnerHtml(a,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Constant HTML to be immediatelly used."),goog.string.Const.unwrap(b)))};goog.dom.safe.setOuterHtml=function(a,b){a.outerHTML=module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b)}; -goog.dom.safe.setFormElementAction=function(a,b){b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);goog.dom.asserts.assertIsHTMLFormElement(a).action=goog.html.SafeUrl.unwrap(b)};goog.dom.safe.setButtonFormAction=function(a,b){b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);goog.dom.asserts.assertIsHTMLButtonElement(a).formAction=goog.html.SafeUrl.unwrap(b)}; -goog.dom.safe.setInputFormAction=function(a,b){b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);goog.dom.asserts.assertIsHTMLInputElement(a).formAction=goog.html.SafeUrl.unwrap(b)};goog.dom.safe.setStyle=function(a,b){a.style.cssText=module$contents$goog$html$SafeStyle_SafeStyle.unwrap(b)};goog.dom.safe.documentWrite=function(a,b){a.write(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b))}; -goog.dom.safe.setAnchorHref=function(a,b){goog.dom.asserts.assertIsHTMLAnchorElement(a);b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);a.href=goog.html.SafeUrl.unwrap(b)};goog.dom.safe.setImageSrc=function(a,b){goog.dom.asserts.assertIsHTMLImageElement(a);b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b,/^data:image\//i.test(b));a.src=goog.html.SafeUrl.unwrap(b)}; -goog.dom.safe.setAudioSrc=function(a,b){goog.dom.asserts.assertIsHTMLAudioElement(a);b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b,/^data:audio\//i.test(b));a.src=goog.html.SafeUrl.unwrap(b)};goog.dom.safe.setVideoSrc=function(a,b){goog.dom.asserts.assertIsHTMLVideoElement(a);b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b,/^data:video\//i.test(b));a.src=goog.html.SafeUrl.unwrap(b)}; -goog.dom.safe.setEmbedSrc=function(a,b){goog.dom.asserts.assertIsHTMLEmbedElement(a);a.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(b)};goog.dom.safe.setFrameSrc=function(a,b){goog.dom.asserts.assertIsHTMLFrameElement(a);a.src=goog.html.TrustedResourceUrl.unwrap(b)};goog.dom.safe.setIframeSrc=function(a,b){goog.dom.asserts.assertIsHTMLIFrameElement(a);a.src=goog.html.TrustedResourceUrl.unwrap(b)}; -goog.dom.safe.setIframeSrcdoc=function(a,b){goog.dom.asserts.assertIsHTMLIFrameElement(a);a.srcdoc=module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b)}; -goog.dom.safe.setLinkHrefAndRel=function(a,b,c){goog.dom.asserts.assertIsHTMLLinkElement(a);a.rel=c;goog.string.internal.caseInsensitiveContains(c,"stylesheet")?(goog.asserts.assert(b instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),a.href=goog.html.TrustedResourceUrl.unwrap(b),(b=goog.dom.safe.getStyleNonce(a.ownerDocument&&a.ownerDocument.defaultView))&&a.setAttribute("nonce",b)):a.href=b instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(b): -b instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(b):goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitizeAssertUnchanged(b))};goog.dom.safe.setObjectData=function(a,b){goog.dom.asserts.assertIsHTMLObjectElement(a);a.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(b)};goog.dom.safe.setScriptSrc=function(a,b){goog.dom.asserts.assertIsHTMLScriptElement(a);a.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(b);goog.dom.safe.setNonceForScriptElement_(a)}; -goog.dom.safe.setScriptContent=function(a,b){goog.dom.asserts.assertIsHTMLScriptElement(a);a.textContent=module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(b);goog.dom.safe.setNonceForScriptElement_(a)};goog.dom.safe.setNonceForScriptElement_=function(a){var b=goog.dom.safe.getScriptNonce(a.ownerDocument&&a.ownerDocument.defaultView);b&&a.setAttribute("nonce",b)}; -goog.dom.safe.setLocationHref=function(a,b){goog.dom.asserts.assertIsLocation(a);b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);a.href=goog.html.SafeUrl.unwrap(b)};goog.dom.safe.assignLocation=function(a,b){goog.dom.asserts.assertIsLocation(a);b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);a.assign(goog.html.SafeUrl.unwrap(b))}; -goog.dom.safe.replaceLocation=function(a,b){b=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);a.replace(goog.html.SafeUrl.unwrap(b))};goog.dom.safe.openInWindow=function(a,b,c,d){a=a instanceof goog.html.SafeUrl?a:goog.html.SafeUrl.sanitizeAssertUnchanged(a);b=b||goog.global;c=c instanceof goog.string.Const?goog.string.Const.unwrap(c):c||"";return void 0!==d?b.open(goog.html.SafeUrl.unwrap(a),c,d):b.open(goog.html.SafeUrl.unwrap(a),c)}; -goog.dom.safe.parseFromStringHtml=function(a,b){return goog.dom.safe.parseFromString(a,b,"text/html")};goog.dom.safe.parseFromString=function(a,b,c){return a.parseFromString(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b),c)}; -goog.dom.safe.createImageFromBlob=function(a){if(!/^image\/.*/g.test(a.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var b=goog.global.URL.createObjectURL(a);a=new goog.global.Image;a.onload=function(){goog.global.URL.revokeObjectURL(b)};goog.dom.safe.setImageSrc(a,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),b));return a};goog.dom.safe.createContextualFragment=function(a,b){return a.createContextualFragment(module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(b))}; -goog.dom.safe.getScriptNonce=function(a){return goog.dom.safe.getNonce_("script[nonce]",a)};goog.dom.safe.getStyleNonce=function(a){return goog.dom.safe.getNonce_('style[nonce],link[rel="stylesheet"][nonce]',a)};goog.dom.safe.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/;goog.dom.safe.getNonce_=function(a,b){b=(b||goog.global).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&goog.dom.safe.NONCE_PATTERN_.test(a)?a:"":""};goog.string.DETECT_DOUBLE_ESCAPING=!1;goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1;goog.string.Unicode={NBSP:"\u00a0"};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(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1=a||"\u0080"<=a&&"\ufffd">=a}; -goog.string.stripNewlines=function(a){return a.replace(/(\r\n|\r|\n)+/g," ")};goog.string.canonicalizeNewlines=function(a){return a.replace(/(\r\n|\r|\n)/g,"\n")};goog.string.normalizeWhitespace=function(a){return a.replace(/\xa0|\s/g," ")};goog.string.normalizeSpaces=function(a){return a.replace(/\xa0|[ \t]+/g," ")};goog.string.collapseBreakingSpaces=function(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")};goog.string.trim=goog.string.internal.trim; -goog.string.trimLeft=function(a){return a.replace(/^[\s\xa0]+/,"")};goog.string.trimRight=function(a){return a.replace(/[\s\xa0]+$/,"")};goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare; -goog.string.numberAwareCompare_=function(a,b,c){if(a==b)return 0;if(!a)return-1;if(!b)return 1;for(var d=a.toLowerCase().match(c),e=b.toLowerCase().match(c),f=Math.min(d.length,e.length),g=0;g",""":'"'};var d=b?b.createElement("div"):goog.global.document.createElement("div");return a.replace(goog.string.HTML_ENTITY_PATTERN_,function(e,f){var g=c[e];if(g)return g;"#"==f.charAt(0)&&(f=Number("0"+f.substr(1)),isNaN(f)||(g=String.fromCharCode(f)));g||(goog.dom.safe.setInnerHtml(d,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."), -e+" ")),g=d.firstChild.nodeValue.slice(0,-1));return c[e]=g})};goog.string.unescapePureXmlEntities_=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.substr(1)),isNaN(c))?b:String.fromCharCode(c)}})};goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g;goog.string.whitespaceEscape=function(a,b){return goog.string.newLineToBr(a.replace(/ /g,"  "),b)}; -goog.string.preserveSpaces=function(a){return a.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)};goog.string.stripQuotes=function(a,b){for(var c=b.length,d=0;db&&(a=a.substring(0,b-3)+"...");c&&(a=goog.string.htmlEscape(a));return a}; -goog.string.truncateMiddle=function(a,b,c,d){c&&(a=goog.string.unescapeEntities(a));d&&a.length>b?(d>b&&(d=b),a=a.substring(0,b-d)+"..."+a.substring(a.length-d)):a.length>b&&(d=Math.floor(b/2),a=a.substring(0,d+b%2)+"..."+a.substring(a.length-d));c&&(a=goog.string.htmlEscape(a));return a};goog.string.specialEscapeChars_={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"};goog.string.jsEscapeCache_={"'":"\\'"}; -goog.string.quote=function(a){a=String(a);for(var b=['"'],c=0;ce?d:goog.string.escapeChar(d))}b.push('"');return b.join("")};goog.string.escapeString=function(a){for(var b=[],c=0;cb)var c=a;else{if(256>b){if(c="\\x",16>b||256b&&(c+="0");c+=b.toString(16).toUpperCase()}return goog.string.jsEscapeCache_[a]=c};goog.string.contains=goog.string.internal.contains;goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains; -goog.string.countOf=function(a,b){return a&&b?a.split(b).length-1:0};goog.string.removeAt=function(a,b,c){var d=a;0<=b&&b>>0;return b}; -goog.string.uniqueStringCounter_=2147483648*Math.random()|0;goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++};goog.string.toNumber=function(a){var b=Number(a);return 0==b&&goog.string.isEmptyOrWhitespace(a)?NaN:b};goog.string.isLowerCamelCase=function(a){return/^[a-z]+([A-Z][a-z]*)*$/.test(a)};goog.string.isUpperCamelCase=function(a){return/^([A-Z][a-z]*)+$/.test(a)};goog.string.toCamelCase=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; -goog.string.toSelectorCase=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};goog.string.toTitleCase=function(a,b){b="string"===typeof b?goog.string.regExpEscape(b):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(c,d,e){return d+e.toUpperCase()})};goog.string.capitalize=function(a){return String(a.charAt(0)).toUpperCase()+String(a.substr(1)).toLowerCase()}; -goog.string.parseInt=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};goog.string.splitLimit=function(a,b,c){a=a.split(b);for(var d=[];0c&&(c=e)}return-1==c?a:a.slice(c+1)}; -goog.string.editDistance=function(a,b){var c=[],d=[];if(a==b)return 0;if(!a.length||!b.length)return Math.max(a.length,b.length);for(var e=0;eb?null:a.substr(b+1)};goog.uri.utils.setFragmentEncoded=function(a,b){return goog.uri.utils.removeFragment(a)+(b?"#"+b:"")};goog.uri.utils.getFragment=function(a){return goog.uri.utils.decodeIfPossible_(goog.uri.utils.getFragmentEncoded(a))}; -goog.uri.utils.getHost=function(a){a=goog.uri.utils.split(a);return goog.uri.utils.buildFromEncodedParts(a[goog.uri.utils.ComponentIndex.SCHEME],a[goog.uri.utils.ComponentIndex.USER_INFO],a[goog.uri.utils.ComponentIndex.DOMAIN],a[goog.uri.utils.ComponentIndex.PORT])};goog.uri.utils.getOrigin=function(a){a=goog.uri.utils.split(a);return goog.uri.utils.buildFromEncodedParts(a[goog.uri.utils.ComponentIndex.SCHEME],null,a[goog.uri.utils.ComponentIndex.DOMAIN],a[goog.uri.utils.ComponentIndex.PORT])}; -goog.uri.utils.getPathAndAfter=function(a){a=goog.uri.utils.split(a);return goog.uri.utils.buildFromEncodedParts(null,null,null,null,a[goog.uri.utils.ComponentIndex.PATH],a[goog.uri.utils.ComponentIndex.QUERY_DATA],a[goog.uri.utils.ComponentIndex.FRAGMENT])};goog.uri.utils.removeFragment=function(a){var b=a.indexOf("#");return 0>b?a:a.substr(0,b)}; -goog.uri.utils.haveSameDomain=function(a,b){a=goog.uri.utils.split(a);b=goog.uri.utils.split(b);return a[goog.uri.utils.ComponentIndex.DOMAIN]==b[goog.uri.utils.ComponentIndex.DOMAIN]&&a[goog.uri.utils.ComponentIndex.SCHEME]==b[goog.uri.utils.ComponentIndex.SCHEME]&&a[goog.uri.utils.ComponentIndex.PORT]==b[goog.uri.utils.ComponentIndex.PORT]}; -goog.uri.utils.assertNoFragmentsOrQueries_=function(a){goog.asserts.assert(0>a.indexOf("#")&&0>a.indexOf("?"),"goog.uri.utils: Fragment or query identifiers are not supported: [%s]",a)};goog.uri.utils.parseQueryData=function(a,b){if(a){a=a.split("&");for(var c=0;cb&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]};goog.uri.utils.joinQueryData_=function(a){return a[0]+(a[1]?"?"+a[1]:"")+a[2]};goog.uri.utils.appendQueryData_=function(a,b){return b?a?a+"&"+b:b:a};goog.uri.utils.appendQueryDataToUri_=function(a,b){if(!b)return a;a=goog.uri.utils.splitQueryData_(a);a[1]=goog.uri.utils.appendQueryData_(a[1],b);return goog.uri.utils.joinQueryData_(a)}; -goog.uri.utils.appendKeyValuePairs_=function(a,b,c){goog.asserts.assertString(a);if(Array.isArray(b)){goog.asserts.assertArray(b);for(var d=0;dd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return goog.string.urlDecode(a.substr(d,e-d))};goog.uri.utils.getParamValues=function(a,b){for(var c=a.search(goog.uri.utils.hashOrEndRe_),d=0,e,f=[];0<=(e=goog.uri.utils.findParam_(a,d,b,c));){d=a.indexOf("&",e);if(0>d||d>c)d=c;e+=b.length+1;f.push(goog.string.urlDecode(a.substr(e,d-e)))}return f}; -goog.uri.utils.trailingQueryPunctuationRe_=/[?&]($|#)/;goog.uri.utils.removeParam=function(a,b){for(var c=a.search(goog.uri.utils.hashOrEndRe_),d=0,e,f=[];0<=(e=goog.uri.utils.findParam_(a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.substr(d));return f.join("").replace(goog.uri.utils.trailingQueryPunctuationRe_,"$1")};goog.uri.utils.setParam=function(a,b,c){return goog.uri.utils.appendParam(goog.uri.utils.removeParam(a,b),b,c)}; -goog.uri.utils.setParamsFromMap=function(a,b){a=goog.uri.utils.splitQueryData_(a);var c=a[1],d=[];c&&c.split("&").forEach(function(e){var f=e.indexOf("=");b.hasOwnProperty(0<=f?e.substr(0,f):e)||d.push(e)});a[1]=goog.uri.utils.appendQueryData_(d.join("&"),goog.uri.utils.buildQueryDataFromMap(b));return goog.uri.utils.joinQueryData_(a)}; -goog.uri.utils.appendPath=function(a,b){goog.uri.utils.assertNoFragmentsOrQueries_(a);goog.string.endsWith(a,"/")&&(a=a.substr(0,a.length-1));goog.string.startsWith(b,"/")&&(b=b.substr(1));return""+a+"/"+b}; -goog.uri.utils.setPath=function(a,b){goog.string.startsWith(b,"/")||(b="/"+b);a=goog.uri.utils.split(a);return goog.uri.utils.buildFromEncodedParts(a[goog.uri.utils.ComponentIndex.SCHEME],a[goog.uri.utils.ComponentIndex.USER_INFO],a[goog.uri.utils.ComponentIndex.DOMAIN],a[goog.uri.utils.ComponentIndex.PORT],b,a[goog.uri.utils.ComponentIndex.QUERY_DATA],a[goog.uri.utils.ComponentIndex.FRAGMENT])};goog.uri.utils.StandardQueryParam={RANDOM:"zx"}; -goog.uri.utils.makeUnique=function(a){return goog.uri.utils.setParam(a,goog.uri.utils.StandardQueryParam.RANDOM,goog.string.getRandomString())};var module$exports$google3$third_party$javascript$tslib$tslib={},module$contents$google3$third_party$javascript$tslib$tslib_extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])}; -module$exports$google3$third_party$javascript$tslib$tslib.__extends=function(a,b){function c(){this.constructor=a}module$contents$google3$third_party$javascript$tslib$tslib_extendStatics(a,b);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)};module$exports$google3$third_party$javascript$tslib$tslib.__assign=Object.assign||function(a){for(var b,c=1,d=arguments.length;cb.indexOf(d)&&(c[d]=a[d]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var e=0;for(d=Object.getOwnPropertySymbols(a);eb.indexOf(d[e])&&(c[d[e]]=a[d[e]])}return c}; -module$exports$google3$third_party$javascript$tslib$tslib.__decorate=function(a,b,c,d){var e=arguments.length,f=3>e?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d,g;if("object"===typeof Reflect&&Reflect&&"function"===typeof Reflect.decorate)f=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;0<=h;h--)if(g=a[h])f=(3>e?g(f):3h[0]&&l[1]=a.length&&(a=void 0);return{value:a&&a[c++],done:!a}}}}; -module$exports$google3$third_party$javascript$tslib$tslib.__read=function(a,b){var c="function"===typeof Symbol&&a[Symbol.iterator];if(!c)return a;a=c.call(a);var d,e=[];try{for(;(void 0===b||0a.readyState)throw Error("The video element has not loaded data yet. Please wait for `loadeddata` event on the