@cf-platform/cim
Version:
消息队列库
7 lines • 183 kB
JavaScript
"use strict";(function(){function r(t,e,o){function n(f,c){if(!e[f]){if(!t[f]){var _=typeof require=="function"&&require;if(!c&&_)return _(f,!0);if(g)return g(f,!0);var m=new Error("Cannot find module '"+f+"'");throw m.code="MODULE_NOT_FOUND",m}var E=e[f]={exports:{}};t[f][0].call(E.exports,function(w){var B=t[f][1][w];return n(B||w)},E,E.exports,r,t,e,o)}return e[f].exports}for(var g=typeof require=="function"&&require,l=0;l<o.length;l++)n(o[l]);return n}return r})()({1:[function(r,t,e){var o=r("google-protobuf"),n=o,g=Function("return this")();n.exportSymbol("proto.com.farsunset.cim.sdk.web.model.SentBody",null,g),proto.com.farsunset.cim.sdk.web.model.SentBody=function(l){o.Message.initialize(this,l,0,-1,null,null)},n.inherits(proto.com.farsunset.cim.sdk.web.model.SentBody,o.Message),n.DEBUG&&!COMPILED&&(proto.com.farsunset.cim.sdk.web.model.SentBody.displayName="proto.com.farsunset.cim.sdk.web.model.SentBody"),o.Message.GENERATE_TO_OBJECT&&(proto.com.farsunset.cim.sdk.web.model.SentBody.prototype.toObject=function(l){return proto.com.farsunset.cim.sdk.web.model.SentBody.toObject(l,this)},proto.com.farsunset.cim.sdk.web.model.SentBody.toObject=function(l,f){var c,_={key:o.Message.getFieldWithDefault(f,1,""),timestamp:o.Message.getFieldWithDefault(f,2,0),dataMap:(c=f.getDataMap())?c.toObject(l,void 0):[]};return l&&(_.$jspbMessageInstance=f),_}),proto.com.farsunset.cim.sdk.web.model.SentBody.deserializeBinary=function(l){var f=new o.BinaryReader(l),c=new proto.com.farsunset.cim.sdk.web.model.SentBody;return proto.com.farsunset.cim.sdk.web.model.SentBody.deserializeBinaryFromReader(c,f)},proto.com.farsunset.cim.sdk.web.model.SentBody.deserializeBinaryFromReader=function(l,f){for(;f.nextField()&&!f.isEndGroup();){var c=f.getFieldNumber();switch(c){case 1:var _=f.readString();l.setKey(_);break;case 2:var _=f.readInt64();l.setTimestamp(_);break;case 3:var _=l.getDataMap();f.readMessage(_,function(m,E){o.Map.deserializeBinary(m,E,o.BinaryReader.prototype.readString,o.BinaryReader.prototype.readString)});break;default:f.skipField();break}}return l},proto.com.farsunset.cim.sdk.web.model.SentBody.prototype.serializeBinary=function(){var l=new o.BinaryWriter;return proto.com.farsunset.cim.sdk.web.model.SentBody.serializeBinaryToWriter(this,l),l.getResultBuffer()},proto.com.farsunset.cim.sdk.web.model.SentBody.serializeBinaryToWriter=function(l,f){var c=void 0;c=l.getKey(),c.length>0&&f.writeString(1,c),c=l.getTimestamp(),c!==0&&f.writeInt64(2,c),c=l.getDataMap(!0),c&&c.getLength()>0&&c.serializeBinary(3,f,o.BinaryWriter.prototype.writeString,o.BinaryWriter.prototype.writeString)},proto.com.farsunset.cim.sdk.web.model.SentBody.prototype.getKey=function(){return o.Message.getFieldWithDefault(this,1,"")},proto.com.farsunset.cim.sdk.web.model.SentBody.prototype.setKey=function(l){o.Message.setProto3StringField(this,1,l)},proto.com.farsunset.cim.sdk.web.model.SentBody.prototype.getTimestamp=function(){return o.Message.getFieldWithDefault(this,2,0)},proto.com.farsunset.cim.sdk.web.model.SentBody.prototype.setTimestamp=function(l){o.Message.setProto3IntField(this,2,l)},proto.com.farsunset.cim.sdk.web.model.SentBody.prototype.getDataMap=function(l){return o.Message.getMapField(this,3,l,null)},proto.com.farsunset.cim.sdk.web.model.SentBody.prototype.clearDataMap=function(){this.getDataMap().clear()},n.object.extend(e,proto.com.farsunset.cim.sdk.web.model)},{"google-protobuf":3}],2:[function(r,t,e){var o=r("./SentBodyProtobuf");t.exports={DataProto:o}},{"./SentBodyProtobuf":1}],3:[function(require,module,exports){(function(global,Buffer){var $jscomp={scope:{},getGlobal:function(r){return typeof window<"u"&&window===r?r:typeof global<"u"?global:r}};$jscomp.global=$jscomp.getGlobal(this),$jscomp.initSymbol=function(){$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol),$jscomp.initSymbol=function(){}},$jscomp.symbolCounter_=0,$jscomp.Symbol=function(r){return"jscomp_symbol_"+r+$jscomp.symbolCounter_++},$jscomp.initSymbolIterator=function(){$jscomp.initSymbol(),$jscomp.global.Symbol.iterator||($jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator")),$jscomp.initSymbolIterator=function(){}},$jscomp.makeIterator=function(r){$jscomp.initSymbolIterator(),$jscomp.initSymbol(),$jscomp.initSymbolIterator();var t=r[Symbol.iterator];if(t)return t.call(r);var e=0;return{next:function(){return e<r.length?{done:!1,value:r[e++]}:{done:!0}}}},$jscomp.arrayFromIterator=function(r){for(var t,e=[];!(t=r.next()).done;)e.push(t.value);return e},$jscomp.arrayFromIterable=function(r){return r instanceof Array?r:$jscomp.arrayFromIterator($jscomp.makeIterator(r))},$jscomp.inherits=function(r,t){function e(){}e.prototype=t.prototype,r.prototype=new e,r.prototype.constructor=r;for(var o in t)if(Object.defineProperties){var n=Object.getOwnPropertyDescriptor(t,o);n&&Object.defineProperty(r,o,n)}else r[o]=t[o]},$jscomp.array=$jscomp.array||{},$jscomp.iteratorFromArray=function(r,t){$jscomp.initSymbolIterator(),r instanceof String&&(r+="");var e=0,o={next:function(){if(e<r.length){var n=e++;return{value:t(n,r[n]),done:!1}}return o.next=function(){return{done:!0,value:void 0}},o.next()}};return $jscomp.initSymbol(),$jscomp.initSymbolIterator(),o[Symbol.iterator]=function(){return o},o},$jscomp.findInternal=function(r,t,e){r instanceof String&&(r=String(r));for(var o=r.length,n=0;n<o;n++){var g=r[n];if(t.call(e,g,n,r))return{i:n,v:g}}return{i:-1,v:void 0}},$jscomp.array.from=function(r,t,e){$jscomp.initSymbolIterator(),t=t??function(l){return l};var o=[];$jscomp.initSymbol(),$jscomp.initSymbolIterator();var n=r[Symbol.iterator];if(typeof n=="function"&&(r=n.call(r)),typeof r.next=="function")for(;!(n=r.next()).done;)o.push(t.call(e,n.value));else for(var n=r.length,g=0;g<n;g++)o.push(t.call(e,r[g]));return o},$jscomp.array.of=function(r){return $jscomp.array.from(arguments)},$jscomp.array.entries=function(){return $jscomp.iteratorFromArray(this,function(r,t){return[r,t]})},$jscomp.array.installHelper_=function(r,t){!Array.prototype[r]&&Object.defineProperties&&Object.defineProperty&&Object.defineProperty(Array.prototype,r,{configurable:!0,enumerable:!1,writable:!0,value:t})},$jscomp.array.entries$install=function(){$jscomp.array.installHelper_("entries",$jscomp.array.entries)},$jscomp.array.keys=function(){return $jscomp.iteratorFromArray(this,function(r){return r})},$jscomp.array.keys$install=function(){$jscomp.array.installHelper_("keys",$jscomp.array.keys)},$jscomp.array.values=function(){return $jscomp.iteratorFromArray(this,function(r,t){return t})},$jscomp.array.values$install=function(){$jscomp.array.installHelper_("values",$jscomp.array.values)},$jscomp.array.copyWithin=function(r,t,e){var o=this.length;if(r=Number(r),t=Number(t),e=Number(e??o),r<t)for(e=Math.min(e,o);t<e;)t in this?this[r++]=this[t++]:(delete this[r++],t++);else for(e=Math.min(e,o+t-r),r+=e-t;e>t;)--e in this?this[--r]=this[e]:delete this[r];return this},$jscomp.array.copyWithin$install=function(){$jscomp.array.installHelper_("copyWithin",$jscomp.array.copyWithin)},$jscomp.array.fill=function(r,t,e){var o=this.length||0;for(0>t&&(t=Math.max(0,o+t)),(e==null||e>o)&&(e=o),e=Number(e),0>e&&(e=Math.max(0,o+e)),t=Number(t||0);t<e;t++)this[t]=r;return this},$jscomp.array.fill$install=function(){$jscomp.array.installHelper_("fill",$jscomp.array.fill)},$jscomp.array.find=function(r,t){return $jscomp.findInternal(this,r,t).v},$jscomp.array.find$install=function(){$jscomp.array.installHelper_("find",$jscomp.array.find)},$jscomp.array.findIndex=function(r,t){return $jscomp.findInternal(this,r,t).i},$jscomp.array.findIndex$install=function(){$jscomp.array.installHelper_("findIndex",$jscomp.array.findIndex)},$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.Map$isConformant=function(){if($jscomp.ASSUME_NO_NATIVE_MAP)return!1;var r=$jscomp.global.Map;if(!r||!r.prototype.entries||typeof Object.seal!="function")return!1;try{var t=Object.seal({x:4}),e=new r($jscomp.makeIterator([[t,"s"]]));if(e.get(t)!="s"||e.size!=1||e.get({x:4})||e.set({x:4},"t")!=e||e.size!=2)return!1;var o=e.entries(),n=o.next();return n.done||n.value[0]!=t||n.value[1]!="s"?!1:(n=o.next(),!(n.done||n.value[0].x!=4||n.value[1]!="t"||!o.next().done))}catch{return!1}},$jscomp.Map=function(r){if(this.data_={},this.head_=$jscomp.Map.createHead(),this.size=0,r){r=$jscomp.makeIterator(r);for(var t;!(t=r.next()).done;)t=t.value,this.set(t[0],t[1])}},$jscomp.Map.prototype.set=function(r,t){var e=$jscomp.Map.maybeGetEntry(this,r);return e.list||(e.list=this.data_[e.id]=[]),e.entry?e.entry.value=t:(e.entry={next:this.head_,previous:this.head_.previous,head:this.head_,key:r,value:t},e.list.push(e.entry),this.head_.previous.next=e.entry,this.head_.previous=e.entry,this.size++),this},$jscomp.Map.prototype.delete=function(r){return r=$jscomp.Map.maybeGetEntry(this,r),r.entry&&r.list?(r.list.splice(r.index,1),r.list.length||delete this.data_[r.id],r.entry.previous.next=r.entry.next,r.entry.next.previous=r.entry.previous,r.entry.head=null,this.size--,!0):!1},$jscomp.Map.prototype.clear=function(){this.data_={},this.head_=this.head_.previous=$jscomp.Map.createHead(),this.size=0},$jscomp.Map.prototype.has=function(r){return!!$jscomp.Map.maybeGetEntry(this,r).entry},$jscomp.Map.prototype.get=function(r){return(r=$jscomp.Map.maybeGetEntry(this,r).entry)&&r.value},$jscomp.Map.prototype.entries=function(){return $jscomp.Map.makeIterator_(this,function(r){return[r.key,r.value]})},$jscomp.Map.prototype.keys=function(){return $jscomp.Map.makeIterator_(this,function(r){return r.key})},$jscomp.Map.prototype.values=function(){return $jscomp.Map.makeIterator_(this,function(r){return r.value})},$jscomp.Map.prototype.forEach=function(r,t){for(var e=this.entries(),o;!(o=e.next()).done;)o=o.value,r.call(t,o[1],o[0],this)},$jscomp.Map.maybeGetEntry=function(r,t){var e=$jscomp.Map.getId(t),o=r.data_[e];if(o&&Object.prototype.hasOwnProperty.call(r.data_,e))for(var n=0;n<o.length;n++){var g=o[n];if(t!==t&&g.key!==g.key||t===g.key)return{id:e,list:o,index:n,entry:g}}return{id:e,list:o,index:-1,entry:void 0}},$jscomp.Map.makeIterator_=function(r,t){var e=r.head_,o={next:function(){if(e){for(;e.head!=r.head_;)e=e.previous;for(;e.next!=e.head;)return e=e.next,{done:!1,value:t(e)};e=null}return{done:!0,value:void 0}}};return $jscomp.initSymbol(),$jscomp.initSymbolIterator(),o[Symbol.iterator]=function(){return o},o},$jscomp.Map.mapIndex_=0,$jscomp.Map.createHead=function(){var r={};return r.previous=r.next=r.head=r},$jscomp.Map.getId=function(r){if(!(r instanceof Object))return"p_"+r;if(!($jscomp.Map.idKey in r))try{$jscomp.Map.defineProperty(r,$jscomp.Map.idKey,{value:++$jscomp.Map.mapIndex_})}catch{}return $jscomp.Map.idKey in r?r[$jscomp.Map.idKey]:"o_ "+r},$jscomp.Map.defineProperty=Object.defineProperty?function(r,t,e){Object.defineProperty(r,t,{value:String(e)})}:function(r,t,e){r[t]=String(e)},$jscomp.Map.Entry=function(){},$jscomp.Map$install=function(){$jscomp.initSymbol(),$jscomp.initSymbolIterator(),$jscomp.Map$isConformant()?$jscomp.Map=$jscomp.global.Map:($jscomp.initSymbol(),$jscomp.initSymbolIterator(),$jscomp.Map.prototype[Symbol.iterator]=$jscomp.Map.prototype.entries,$jscomp.initSymbol(),$jscomp.Map.idKey=Symbol("map-id-key"),$jscomp.Map$install=function(){})},$jscomp.math=$jscomp.math||{},$jscomp.math.clz32=function(r){if(r=Number(r)>>>0,r===0)return 32;var t=0;return!(r&4294901760)&&(r<<=16,t+=16),!(r&4278190080)&&(r<<=8,t+=8),!(r&4026531840)&&(r<<=4,t+=4),!(r&3221225472)&&(r<<=2,t+=2),!(r&2147483648)&&t++,t},$jscomp.math.imul=function(r,t){r=Number(r),t=Number(t);var e=r&65535,o=t&65535;return e*o+((r>>>16&65535)*o+e*(t>>>16&65535)<<16>>>0)|0},$jscomp.math.sign=function(r){return r=Number(r),r===0||isNaN(r)?r:0<r?1:-1},$jscomp.math.log10=function(r){return Math.log(r)/Math.LN10},$jscomp.math.log2=function(r){return Math.log(r)/Math.LN2},$jscomp.math.log1p=function(r){if(r=Number(r),.25>r&&-.25<r){for(var t=r,e=1,o=r,n=0,g=1;n!=o;)t*=r,g*=-1,o=(n=o)+g*t/++e;return o}return Math.log(1+r)},$jscomp.math.expm1=function(r){if(r=Number(r),.25>r&&-.25<r){for(var t=r,e=1,o=r,n=0;n!=o;)t*=r/++e,o=(n=o)+t;return o}return Math.exp(r)-1},$jscomp.math.cosh=function(r){return r=Number(r),(Math.exp(r)+Math.exp(-r))/2},$jscomp.math.sinh=function(r){return r=Number(r),r===0?r:(Math.exp(r)-Math.exp(-r))/2},$jscomp.math.tanh=function(r){if(r=Number(r),r===0)return r;var t=Math.exp(-2*Math.abs(r)),t=(1-t)/(1+t);return 0>r?-t:t},$jscomp.math.acosh=function(r){return r=Number(r),Math.log(r+Math.sqrt(r*r-1))},$jscomp.math.asinh=function(r){if(r=Number(r),r===0)return r;var t=Math.log(Math.abs(r)+Math.sqrt(r*r+1));return 0>r?-t:t},$jscomp.math.atanh=function(r){return r=Number(r),($jscomp.math.log1p(r)-$jscomp.math.log1p(-r))/2},$jscomp.math.hypot=function(r,t,e){r=Number(r),t=Number(t);var o,n,g,l=Math.max(Math.abs(r),Math.abs(t));for(o=2;o<arguments.length;o++)l=Math.max(l,Math.abs(arguments[o]));if(1e100<l||1e-100>l){for(r/=l,t/=l,g=r*r+t*t,o=2;o<arguments.length;o++)n=Number(arguments[o])/l,g+=n*n;return Math.sqrt(g)*l}for(g=r*r+t*t,o=2;o<arguments.length;o++)n=Number(arguments[o]),g+=n*n;return Math.sqrt(g)},$jscomp.math.trunc=function(r){if(r=Number(r),isNaN(r)||r===1/0||r===-1/0||r===0)return r;var t=Math.floor(Math.abs(r));return 0>r?-t:t},$jscomp.math.cbrt=function(r){if(r===0)return r;r=Number(r);var t=Math.pow(Math.abs(r),1/3);return 0>r?-t:t},$jscomp.number=$jscomp.number||{},$jscomp.number.isFinite=function(r){return typeof r!="number"?!1:!isNaN(r)&&r!==1/0&&r!==-1/0},$jscomp.number.isInteger=function(r){return $jscomp.number.isFinite(r)?r===Math.floor(r):!1},$jscomp.number.isNaN=function(r){return typeof r=="number"&&isNaN(r)},$jscomp.number.isSafeInteger=function(r){return $jscomp.number.isInteger(r)&&Math.abs(r)<=$jscomp.number.MAX_SAFE_INTEGER},$jscomp.number.EPSILON=function(){return Math.pow(2,-52)}(),$jscomp.number.MAX_SAFE_INTEGER=function(){return 9007199254740991}(),$jscomp.number.MIN_SAFE_INTEGER=function(){return-9007199254740991}(),$jscomp.object=$jscomp.object||{},$jscomp.object.assign=function(r,t){for(var e=1;e<arguments.length;e++){var o=arguments[e];if(o)for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n])}return r},$jscomp.object.is=function(r,t){return r===t?r!==0||1/r===1/t:r!==r&&t!==t},$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.Set$isConformant=function(){if($jscomp.ASSUME_NO_NATIVE_SET)return!1;var r=$jscomp.global.Set;if(!r||!r.prototype.entries||typeof Object.seal!="function")return!1;try{var t=Object.seal({x:4}),e=new r($jscomp.makeIterator([t]));if(!e.has(t)||e.size!=1||e.add(t)!=e||e.size!=1||e.add({x:4})!=e||e.size!=2)return!1;var o=e.entries(),n=o.next();return n.done||n.value[0]!=t||n.value[1]!=t?!1:(n=o.next(),n.done||n.value[0]==t||n.value[0].x!=4||n.value[1]!=n.value[0]?!1:o.next().done)}catch{return!1}},$jscomp.Set=function(r){if(this.map_=new $jscomp.Map,r){r=$jscomp.makeIterator(r);for(var t;!(t=r.next()).done;)this.add(t.value)}this.size=this.map_.size},$jscomp.Set.prototype.add=function(r){return this.map_.set(r,r),this.size=this.map_.size,this},$jscomp.Set.prototype.delete=function(r){return r=this.map_.delete(r),this.size=this.map_.size,r},$jscomp.Set.prototype.clear=function(){this.map_.clear(),this.size=0},$jscomp.Set.prototype.has=function(r){return this.map_.has(r)},$jscomp.Set.prototype.entries=function(){return this.map_.entries()},$jscomp.Set.prototype.values=function(){return this.map_.values()},$jscomp.Set.prototype.forEach=function(r,t){var e=this;this.map_.forEach(function(o){return r.call(t,o,o,e)})},$jscomp.Set$install=function(){$jscomp.Map$install(),$jscomp.Set$isConformant()?$jscomp.Set=$jscomp.global.Set:($jscomp.initSymbol(),$jscomp.initSymbolIterator(),$jscomp.Set.prototype[Symbol.iterator]=$jscomp.Set.prototype.values,$jscomp.Set$install=function(){})},$jscomp.string=$jscomp.string||{},$jscomp.checkStringArgs=function(r,t,e){if(r==null)throw new TypeError("The 'this' value for String.prototype."+e+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+e+" must not be a regular expression");return r+""},$jscomp.string.fromCodePoint=function(r){for(var t="",e=0;e<arguments.length;e++){var o=Number(arguments[e]);if(0>o||1114111<o||o!==Math.floor(o))throw new RangeError("invalid_code_point "+o);65535>=o?t+=String.fromCharCode(o):(o-=65536,t+=String.fromCharCode(o>>>10&1023|55296),t+=String.fromCharCode(o&1023|56320))}return t},$jscomp.string.repeat=function(r){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>r||1342177279<r)throw new RangeError("Invalid count value");r|=0;for(var e="";r;)r&1&&(e+=t),(r>>>=1)&&(t+=t);return e},$jscomp.string.repeat$install=function(){String.prototype.repeat||(String.prototype.repeat=$jscomp.string.repeat)},$jscomp.string.codePointAt=function(r){var t=$jscomp.checkStringArgs(this,null,"codePointAt"),e=t.length;if(r=Number(r)||0,0<=r&&r<e){r|=0;var o=t.charCodeAt(r);return 55296>o||56319<o||r+1===e?o:(r=t.charCodeAt(r+1),56320>r||57343<r?o:1024*(o-55296)+r+9216)}},$jscomp.string.codePointAt$install=function(){String.prototype.codePointAt||(String.prototype.codePointAt=$jscomp.string.codePointAt)},$jscomp.string.includes=function(r,t){return $jscomp.checkStringArgs(this,r,"includes").indexOf(r,t||0)!==-1},$jscomp.string.includes$install=function(){String.prototype.includes||(String.prototype.includes=$jscomp.string.includes)},$jscomp.string.startsWith=function(r,t){var e=$jscomp.checkStringArgs(this,r,"startsWith");r+="";for(var o=e.length,n=r.length,g=Math.max(0,Math.min(t|0,e.length)),l=0;l<n&&g<o;)if(e[g++]!=r[l++])return!1;return l>=n},$jscomp.string.startsWith$install=function(){String.prototype.startsWith||(String.prototype.startsWith=$jscomp.string.startsWith)},$jscomp.string.endsWith=function(r,t){var e=$jscomp.checkStringArgs(this,r,"endsWith");r+="",t===void 0&&(t=e.length);for(var o=Math.max(0,Math.min(t|0,e.length)),n=r.length;0<n&&0<o;)if(e[--o]!=r[--n])return!1;return 0>=n},$jscomp.string.endsWith$install=function(){String.prototype.endsWith||(String.prototype.endsWith=$jscomp.string.endsWith)};var COMPILED=!0,goog=goog||{};goog.global=this,goog.isDef=function(r){return r!==void 0},goog.exportPath_=function(r,t,e){r=r.split("."),e=e||goog.global,r[0]in e||!e.execScript||e.execScript("var "+r[0]);for(var o;r.length&&(o=r.shift());)!r.length&&goog.isDef(t)?e[o]=t:e=e[o]?e[o]:e[o]={}},goog.define=function(r,t){var e=t;goog.exportPath_(r,e)},goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(r){goog.constructNamespace_(r)},goog.constructNamespace_=function(r,t){goog.exportPath_(r,t)},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(r){if(!goog.isString(r)||!r||r.search(goog.VALID_MODULE_RE_)==-1)throw Error("Invalid module identifier");if(!goog.isInModuleLoader_())throw Error("Module "+r+" has been loaded incorrectly.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=r},goog.module.get=function(r){return goog.module.getInternal_(r)},goog.module.getInternal_=function(r){},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.moduleLoaderState_!=null},goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.setTestOnly=function(r){if(goog.DISALLOW_TEST_ONLY_CODE)throw r=r||"",Error("Importing test-only code into non-debug environment"+(r?": "+r:"."))},goog.forwardDeclare=function(r){},goog.getObjectByName=function(r,t){for(var e=r.split("."),o=t||goog.global,n;n=e.shift();)if(goog.isDefAndNotNull(o[n]))o=o[n];else return null;return o},goog.globalize=function(r,t){var e=t||goog.global,o;for(o in r)e[o]=r[o]},goog.addDependency=function(r,t,e,o){if(goog.DEPENDENCIES_ENABLED){var n;r=r.replace(/\\/g,"/");for(var g=goog.dependencies_,l=0;n=t[l];l++)g.nameToPath[n]=r,g.pathIsModule[r]=!!o;for(o=0;t=e[o];o++)r in g.requires||(g.requires[r]={}),g.requires[r][t]=!0}},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(r){goog.global.console&&goog.global.console.error(r)},goog.require=function(r){},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(r){r.getInstance=function(){return r.instance_?r.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=r),r.instance_=new r)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED,goog.DEPENDENCIES_ENABLED&&(goog.dependencies_={pathIsModule:{},nameToPath:{},requires:{},visited:{},written:{},deferred:{}},goog.inHtmlDocument_=function(){var r=goog.global.document;return r!=null&&"write"in r},goog.findBasePath_=function(){if(goog.isDef(goog.global.CLOSURE_BASE_PATH))goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_())for(var r=goog.global.document.getElementsByTagName("SCRIPT"),t=r.length-1;0<=t;--t){var e=r[t].src,o=e.lastIndexOf("?"),o=o==-1?e.length:o;if(e.substr(o-7,7)=="base.js"){goog.basePath=e.substr(0,o-7);break}}},goog.importScript_=function(r,t){(goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_)(r,t)&&(goog.dependencies_.written[r]=!0)},goog.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.importModule_=function(r){goog.importScript_("",'goog.retrieveAndExecModule_("'+r+'");')&&(goog.dependencies_.written[r]=!0)},goog.queuedModules_=[],goog.wrapModule_=function(r,t){return goog.LOAD_MODULE_USING_EVAL&&goog.isDef(goog.global.JSON)?"goog.loadModule("+goog.global.JSON.stringify(t+`
//# sourceURL=`+r+`
`)+");":'goog.loadModule(function(exports) {"use strict";'+t+`
;return exports});
//# sourceURL=`+r+`
`},goog.loadQueuedModules_=function(){var r=goog.queuedModules_.length;if(0<r){var t=goog.queuedModules_;goog.queuedModules_=[];for(var e=0;e<r;e++)goog.maybeProcessDeferredPath_(t[e])}},goog.maybeProcessDeferredDep_=function(r){goog.isDeferredModule_(r)&&goog.allDepsAreAvailable_(r)&&(r=goog.getPathFromDeps_(r),goog.maybeProcessDeferredPath_(goog.basePath+r))},goog.isDeferredModule_=function(r){return(r=goog.getPathFromDeps_(r))&&goog.dependencies_.pathIsModule[r]?goog.basePath+r in goog.dependencies_.deferred:!1},goog.allDepsAreAvailable_=function(r){if((r=goog.getPathFromDeps_(r))&&r in goog.dependencies_.requires){for(var t in goog.dependencies_.requires[r])if(!goog.isProvided_(t)&&!goog.isDeferredModule_(t))return!1}return!0},goog.maybeProcessDeferredPath_=function(r){if(r in goog.dependencies_.deferred){var t=goog.dependencies_.deferred[r];delete goog.dependencies_.deferred[r],goog.globalEval(t)}},goog.loadModuleFromUrl=function(r){goog.retrieveAndExecModule_(r)},goog.loadModule=function(r){var t=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:void 0,declareLegacyNamespace:!1};var e;if(goog.isFunction(r))e=r.call(goog.global,{});else if(goog.isString(r))e=goog.loadModuleFromSource_.call(goog.global,r);else throw Error("Invalid module definition");var o=goog.moduleLoaderState_.moduleName;if(!goog.isString(o)||!o)throw Error('Invalid module name "'+o+'"');goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(o,e):goog.SEAL_MODULE_EXPORTS&&Object.seal&&Object.seal(e),goog.loadedModules_[o]=e}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(a){return eval(a),{}},goog.writeScriptSrcNode_=function(r){goog.global.document.write('<script type="text/javascript" src="'+r+'"><\/script>')},goog.appendScriptSrcNode_=function(r){var t=goog.global.document,e=t.createElement("script");e.type="text/javascript",e.src=r,e.defer=!1,e.async=!1,t.head.appendChild(e)},goog.writeScriptTag_=function(r,t){if(goog.inHtmlDocument_()){var e=goog.global.document;if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&e.readyState=="complete"){if(/\bdeps.js$/.test(r))return!1;throw Error('Cannot write "'+r+'" after document load')}var o=goog.IS_OLD_IE_;return t===void 0?o?(o=" onreadystatechange='goog.onScriptLoad_(this, "+ ++goog.lastNonModuleScriptIndex_+")' ",e.write('<script type="text/javascript" src="'+r+'"'+o+"><\/script>")):goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING?goog.appendScriptSrcNode_(r):goog.writeScriptSrcNode_(r):e.write('<script type="text/javascript">'+t+"<\/script>"),!0}return!1},goog.lastNonModuleScriptIndex_=0,goog.onScriptLoad_=function(r,t){return r.readyState=="complete"&&goog.lastNonModuleScriptIndex_==t&&goog.loadQueuedModules_(),!0},goog.writeScripts_=function(r){function t(f){if(!(f in n.written||f in n.visited)){if(n.visited[f]=!0,f in n.requires){for(var c in n.requires[f])if(!goog.isProvided_(c))if(c in n.nameToPath)t(n.nameToPath[c]);else throw Error("Undefined nameToPath for "+c)}f in o||(o[f]=!0,e.push(f))}}var e=[],o={},n=goog.dependencies_;for(t(r),r=0;r<e.length;r++){var g=e[r];goog.dependencies_.written[g]=!0}var l=goog.moduleLoaderState_;for(goog.moduleLoaderState_=null,r=0;r<e.length;r++)if(g=e[r])n.pathIsModule[g]?goog.importModule_(goog.basePath+g):goog.importScript_(goog.basePath+g);else throw goog.moduleLoaderState_=l,Error("Undefined script input");goog.moduleLoaderState_=l},goog.getPathFromDeps_=function(r){return r in goog.dependencies_.nameToPath?goog.dependencies_.nameToPath[r]:null},goog.findBasePath_(),goog.global.CLOSURE_NO_DEPS||goog.importScript_(goog.basePath+"deps.js")),goog.normalizePath_=function(r){r=r.split("/");for(var t=0;t<r.length;)r[t]=="."?r.splice(t,1):t&&r[t]==".."&&r[t-1]&&r[t-1]!=".."?r.splice(--t,2):t++;return r.join("/")},goog.loadFileSync_=function(r){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(r);var t=new goog.global.XMLHttpRequest;return t.open("get",r,!1),t.send(),t.responseText},goog.retrieveAndExecModule_=function(r){},goog.typeOf=function(r){var t=typeof r;if(t=="object")if(r){if(r instanceof Array)return"array";if(r instanceof Object)return t;var e=Object.prototype.toString.call(r);if(e=="[object Window]")return"object";if(e=="[object Array]"||typeof r.length=="number"&&typeof r.splice<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("splice"))return"array";if(e=="[object Function]"||typeof r.call<"u"&&typeof r.propertyIsEnumerable<"u"&&!r.propertyIsEnumerable("call"))return"function"}else return"null";else if(t=="function"&&typeof r.call>"u")return"object";return t},goog.isNull=function(r){return r===null},goog.isDefAndNotNull=function(r){return r!=null},goog.isArray=function(r){return goog.typeOf(r)=="array"},goog.isArrayLike=function(r){var t=goog.typeOf(r);return t=="array"||t=="object"&&typeof r.length=="number"},goog.isDateLike=function(r){return goog.isObject(r)&&typeof r.getFullYear=="function"},goog.isString=function(r){return typeof r=="string"},goog.isBoolean=function(r){return typeof r=="boolean"},goog.isNumber=function(r){return typeof r=="number"},goog.isFunction=function(r){return goog.typeOf(r)=="function"},goog.isObject=function(r){var t=typeof r;return t=="object"&&r!=null||t=="function"},goog.getUid=function(r){return r[goog.UID_PROPERTY_]||(r[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(r){return!!r[goog.UID_PROPERTY_]},goog.removeUid=function(r){r!==null&&"removeAttribute"in r&&r.removeAttribute(goog.UID_PROPERTY_);try{delete r[goog.UID_PROPERTY_]}catch{}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(r){var t=goog.typeOf(r);if(t=="object"||t=="array"){if(r.clone)return r.clone();var t=t=="array"?[]:{},e;for(e in r)t[e]=goog.cloneObject(r[e]);return t}return r},goog.bindNative_=function(r,t,e){return r.call.apply(r.bind,arguments)},goog.bindJs_=function(r,t,e){if(!r)throw Error();if(2<arguments.length){var o=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,o),r.apply(t,n)}}return function(){return r.apply(t,arguments)}},goog.bind=function(r,t,e){return Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(r,t){var e=Array.prototype.slice.call(arguments,1);return function(){var o=e.slice();return o.push.apply(o,arguments),r.apply(this,o)}},goog.mixin=function(r,t){for(var e in t)r[e]=t[e]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(r){if(goog.global.execScript)goog.global.execScript(r,"JavaScript");else if(goog.global.eval){if(goog.evalWorksForGlobals_==null)if(goog.global.eval("var _evalTest_ = 1;"),typeof goog.global._evalTest_<"u"){try{delete goog.global._evalTest_}catch{}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1;if(goog.evalWorksForGlobals_)goog.global.eval(r);else{var t=goog.global.document,e=t.createElement("SCRIPT");e.type="text/javascript",e.defer=!1,e.appendChild(t.createTextNode(r)),t.body.appendChild(e),t.body.removeChild(e)}}else throw Error("goog.globalEval not available")},goog.evalWorksForGlobals_=null,goog.getCssName=function(r,t){var e=function(n){return goog.cssNameMapping_[n]||n},o=function(n){n=n.split("-");for(var g=[],l=0;l<n.length;l++)g.push(e(n[l]));return g.join("-")},o=goog.cssNameMapping_?goog.cssNameMappingStyle_=="BY_WHOLE"?e:o:function(n){return n};return t?r+"-"+o(t):o(r)},goog.setCssNameMapping=function(r,t){goog.cssNameMapping_=r,goog.cssNameMappingStyle_=t},goog.getMsg=function(r,t){return t&&(r=r.replace(/\{\$([^}]+)}/g,function(e,o){return t!=null&&o in t?t[o]:e})),r},goog.getMsgWithFallback=function(r,t){return r},goog.exportSymbol=function(r,t,e){goog.exportPath_(r,t,e)},goog.exportProperty=function(r,t,e){r[t]=e},goog.inherits=function(r,t){function e(){}e.prototype=t.prototype,r.superClass_=t.prototype,r.prototype=new e,r.prototype.constructor=r,r.base=function(o,n,g){for(var l=Array(arguments.length-2),f=2;f<arguments.length;f++)l[f-2]=arguments[f];return t.prototype[n].apply(o,l)}},goog.base=function(r,t,e){var o=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!o)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(o.superClass_){for(var n=Array(arguments.length-1),g=1;g<arguments.length;g++)n[g-1]=arguments[g];return o.superClass_.constructor.apply(r,n)}for(n=Array(arguments.length-2),g=2;g<arguments.length;g++)n[g-2]=arguments[g];for(var g=!1,l=r.constructor;l;l=l.superClass_&&l.superClass_.constructor)if(l.prototype[t]===o)g=!0;else if(g)return l.prototype[t].apply(r,n);if(r[t]===o)return r.constructor.prototype[t].apply(r,n);throw Error("goog.base called from a method of one name to a method of a different name")},goog.scope=function(r){r.call(goog.global)},goog.defineClass=function(r,t){var e=t.constructor,o=t.statics;return e&&e!=Object.prototype.constructor||(e=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),e=goog.defineClass.createSealingConstructor_(e,r),r&&goog.inherits(e,r),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(e.prototype,t),o!=null&&(o instanceof Function?o(e):goog.defineClass.applyProperties_(e,o)),e},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(r,t){if(goog.defineClass.SEAL_CLASS_INSTANCES&&Object.seal instanceof Function){if(t&&t.prototype&&t.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_])return r;var e=function(){var o=r.apply(this,arguments)||this;return o[goog.UID_PROPERTY_]=o[goog.UID_PROPERTY_],this.constructor===e&&Object.seal(o),o};return e}return r},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(r,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e]);for(var o=0;o<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;o++)e=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[o],Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])},goog.tagUnsealableClass=function(r){},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",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.debug={},goog.debug.Error=function(r){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var t=Error().stack;t&&(this.stack=t)}r&&(this.message=String(r)),this.reportErrorToServer=!0},goog.inherits(goog.debug.Error,Error),goog.debug.Error.prototype.name="CustomError",goog.string={},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:" "},goog.string.startsWith=function(r,t){return r.lastIndexOf(t,0)==0},goog.string.endsWith=function(r,t){var e=r.length-t.length;return 0<=e&&r.indexOf(t,e)==e},goog.string.caseInsensitiveStartsWith=function(r,t){return goog.string.caseInsensitiveCompare(t,r.substr(0,t.length))==0},goog.string.caseInsensitiveEndsWith=function(r,t){return goog.string.caseInsensitiveCompare(t,r.substr(r.length-t.length,t.length))==0},goog.string.caseInsensitiveEquals=function(r,t){return r.toLowerCase()==t.toLowerCase()},goog.string.subs=function(r,t){for(var e=r.split("%s"),o="",n=Array.prototype.slice.call(arguments,1);n.length&&1<e.length;)o+=e.shift()+n.shift();return o+e.join("%s")},goog.string.collapseWhitespace=function(r){return r.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=function(r){return/^[\s\xa0]*$/.test(r)},goog.string.isEmptyString=function(r){return r.length==0},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(r){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(r))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(r){return!/[^\t\n\r ]/.test(r)},goog.string.isAlpha=function(r){return!/[^a-zA-Z]/.test(r)},goog.string.isNumeric=function(r){return!/[^0-9]/.test(r)},goog.string.isAlphaNumeric=function(r){return!/[^a-zA-Z0-9]/.test(r)},goog.string.isSpace=function(r){return r==" "},goog.string.isUnicodeChar=function(r){return r.length==1&&" "<=r&&"~">=r||""<=r&&"�">=r},goog.string.stripNewlines=function(r){return r.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(r){return r.replace(/(\r\n|\r|\n)/g,`
`)},goog.string.normalizeWhitespace=function(r){return r.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(r){return r.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(r){return r.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(r){return r.trim()}:function(r){return r.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},goog.string.trimLeft=function(r){return r.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(r){return r.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=function(r,t){var e=String(r).toLowerCase(),o=String(t).toLowerCase();return e<o?-1:e==o?0:1},goog.string.numberAwareCompare_=function(r,t,e){if(r==t)return 0;if(!r)return-1;if(!t)return 1;for(var o=r.toLowerCase().match(e),n=t.toLowerCase().match(e),g=Math.min(o.length,n.length),l=0;l<g;l++){e=o[l];var f=n[l];if(e!=f)return r=parseInt(e,10),!isNaN(r)&&(t=parseInt(f,10),!isNaN(t)&&r-t)?r-t:e<f?-1:1}return o.length!=n.length?o.length-n.length:r<t?-1:1},goog.string.intAwareCompare=function(r,t){return goog.string.numberAwareCompare_(r,t,/\d+|\D+/g)},goog.string.floatAwareCompare=function(r,t){return goog.string.numberAwareCompare_(r,t,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(r){return encodeURIComponent(String(r))},goog.string.urlDecode=function(r){return decodeURIComponent(r.replace(/\+/g," "))},goog.string.newLineToBr=function(r,t){return r.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>")},goog.string.htmlEscape=function(r,t){if(t)r=r.replace(goog.string.AMP_RE_,"&").replace(goog.string.LT_RE_,"<").replace(goog.string.GT_RE_,">").replace(goog.string.QUOT_RE_,""").replace(goog.string.SINGLE_QUOTE_RE_,"'").replace(goog.string.NULL_RE_,"�"),goog.string.DETECT_DOUBLE_ESCAPING&&(r=r.replace(goog.string.E_RE_,"e"));else{if(!goog.string.ALL_RE_.test(r))return r;r.indexOf("&")!=-1&&(r=r.replace(goog.string.AMP_RE_,"&")),r.indexOf("<")!=-1&&(r=r.replace(goog.string.LT_RE_,"<")),r.indexOf(">")!=-1&&(r=r.replace(goog.string.GT_RE_,">")),r.indexOf('"')!=-1&&(r=r.replace(goog.string.QUOT_RE_,""")),r.indexOf("'")!=-1&&(r=r.replace(goog.string.SINGLE_QUOTE_RE_,"'")),r.indexOf("\0")!=-1&&(r=r.replace(goog.string.NULL_RE_,"�")),goog.string.DETECT_DOUBLE_ESCAPING&&r.indexOf("e")!=-1&&(r=r.replace(goog.string.E_RE_,"e"))}return r},goog.string.AMP_RE_=/&/g,goog.string.LT_RE_=/</g,goog.string.GT_RE_=/>/g,goog.string.QUOT_RE_=/"/g,goog.string.SINGLE_QUOTE_RE_=/'/g,goog.string.NULL_RE_=/\x00/g,goog.string.E_RE_=/e/g,goog.string.ALL_RE_=goog.string.DETECT_DOUBLE_ESCAPING?/[\x00&<>"'e]/:/[\x00&<>"']/,goog.string.unescapeEntities=function(r){return goog.string.contains(r,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(r):goog.string.unescapePureXmlEntities_(r):r},goog.string.unescapeEntitiesWithDocument=function(r,t){return goog.string.contains(r,"&")?goog.string.unescapeEntitiesUsingDom_(r,t):r},goog.string.unescapeEntitiesUsingDom_=function(r,t){var e={"&":"&","<":"<",">":">",""":'"'},o;return o=t?t.createElement("div"):goog.global.document.createElement("div"),r.replace(goog.string.HTML_ENTITY_PATTERN_,function(n,g){var l=e[n];if(l)return l;if(g.charAt(0)=="#"){var f=+("0"+g.substr(1));isNaN(f)||(l=String.fromCharCode(f))}return l||(o.innerHTML=n+" ",l=o.firstChild.nodeValue.slice(0,-1)),e[n]=l})},goog.string.unescapePureXmlEntities_=function(r){return r.replace(/&([^;]+);/g,function(t,e){switch(e){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:if(e.charAt(0)=="#"){var o=+("0"+e.substr(1));if(!isNaN(o))return String.fromCharCode(o)}return t}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(r,t){return goog.string.newLineToBr(r.replace(/ /g,"  "),t)},goog.string.preserveSpaces=function(r){return r.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(r,t){for(var e=t.length,o=0;o<e;o++){var n=e==1?t:t.charAt(o);if(r.charAt(0)==n&&r.charAt(r.length-1)==n)return r.substring(1,r.length-1)}return r},goog.string.truncate=function(r,t,e){return e&&(r=goog.string.unescapeEntities(r)),r.length>t&&(r=r.substring(0,t-3)+"..."),e&&(r=goog.string.htmlEscape(r)),r},goog.string.truncateMiddle=function(r,t,e,o){if(e&&(r=goog.string.unescapeEntities(r)),o&&r.length>t){o>t&&(o=t);var n=r.length-o;r=r.substring(0,t-o)+"..."+r.substring(n)}else r.length>t&&(o=Math.floor(t/2),n=r.length-o,r=r.substring(0,o+t%2)+"..."+r.substring(n));return e&&(r=goog.string.htmlEscape(r)),r},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(r){r=String(r);for(var t=['"'],e=0;e<r.length;e++){var o=r.charAt(e),n=o.charCodeAt(0);t[e+1]=goog.string.specialEscapeChars_[o]||(31<n&&127>n?o:goog.string.escapeChar(o))}return t.push('"'),t.join("")},goog.string.escapeString=function(r){for(var t=[],e=0;e<r.length;e++)t[e]=goog.string.escapeChar(r.charAt(e));return t.join("")},goog.string.escapeChar=function(r){if(r in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[r];if(r in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[r]=goog.string.specialEscapeChars_[r];var t,e=r.charCodeAt(0);return 31<e&&127>e?t=r:(256>e?(t="\\x",(16>e||256<e)&&(t+="0")):(t="\\u",4096>e&&(t+="0")),t+=e.toString(16).toUpperCase()),goog.string.jsEscapeCache_[r]=t},goog.string.contains=function(r,t){return r.indexOf(t)!=-1},goog.string.caseInsensitiveContains=function(r,t){return goog.string.contains(r.toLowerCase(),t.toLowerCase())},goog.string.countOf=function(r,t){return r&&t?r.split(t).length-1:0},goog.string.removeAt=function(r,t,e){var o=r;return 0<=t&&t<r.length&&0<e&&(o=r.substr(0,t)+r.substr(t+e,r.length-t-e)),o},goog.string.remove=function(r,t){var e=new RegExp(goog.string.regExpEscape(t),"");return r.replace(e,"")},goog.string.removeAll=function(r,t){var e=new RegExp(goog.string.regExpEscape(t),"g");return r.replace(e,"")},goog.string.regExpEscape=function(r){return String(r).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(r,t){return r.repeat(t)}:function(r,t){return Array(t+1).join(r)},goog.string.padNumber=function(r,t,e){return r=goog.isDef(e)?r.toFixed(e):String(r),e=r.indexOf("."),e==-1&&(e=r.length),goog.string.repeat("0",Math.max(0,t-e))+r},goog.string.makeSafe=function(r){return r==null?"":String(r)},goog.string.buildString=function(r){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=function(r,t){for(var e=0,o=goog.string.trim(String(r)).split("."),n=goog.string.trim(String(t)).split("."),g=Math.max(o.length,n.length),l=0;e==0&&l<g;l++){var f=o[l]||"",c=n[l]||"",_=RegExp("(\\d*)(\\D*)","g"),m=RegExp("(\\d*)(\\D*)","g");do{var E=_.exec(f)||["","",""],w=m.exec(c)||["","",""];if(E[0].length==0&&w[0].length==0)break;var e=E[1].length==0?0:parseInt(E[1],10),B=w[1].length==0?0:parseInt(w[1],10),e=goog.string.compareElements_(e,B)||goog.string.compareElements_(E[2].length==0,w[2].length==0)||goog.string.compareElements_(E[2],w[2])}while(e==0)}return e},goog.string.compareElements_=function(r,t){return r<t?-1:r>t?1:0},goog.string.hashCode=function(r){for(var t=0,e=0;e<r.length;++e)t=31*t+r.charCodeAt(e)>>>0;return t},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(r){var t=Number(r);return t==0&&goog.string.isEmptyOrWhitespace(r)?NaN:t},goog.string.isLowerCamelCase=function(r){return/^[a-z]+([A-Z][a-z]*)*$/.test(r)},goog.string.isUpperCamelCase=function(r){return/^([A-Z][a-z]*)+$/.test(r)},goog.string.toCamelCase=function(r){return String(r).replace(/\-([a-z])/g,function(t,e){return e.toUpperCase()})},goog.string.toSelectorCase=function(r){return String(r).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(r,t){var e=goog.isString(t)?goog.string.regExpEscape(t):"\\s";return r.replace(new RegExp("(^"+(e?"|["+e+"]+":"")+")([a-z])","g"),function(o,n,g){return n+g.toUpperCase()})},goog.string.capitalize=function(r){return String(r.charAt(0)).toUpperCase()+String(r.substr(1)).toLowerCase()},goog.string.parseInt=function(r){return isFinite(r)&&(r=String(r)),goog.isString(r)?/^\s*-?0x/i.test(r)?parseInt(r,16):parseInt(r,10):NaN},goog.string.splitLimit=function(r,t,e){r=r.split(t);for(var o=[];0<e&&r.length;)o.push(r.shift()),e--;return r.length&&o.push(r.join(t)),o},goog.string.editDistance=function(r,t){var e=[],o=[];if(r==t)return 0;if(!r.length||!t.length)return Math.max(r.length,t.length);for(var n=0;n<t.length+1;n++)e[n]=n;for(n=0;n<r.length;n++){o[0]=n+1;for(var g=0;g<t.length;g++)o[g+1]=Math.min(o[g]+1,e[g+1]+1,e[g]+ +(r[n]!=t[g]));for(g=0;g<e.length;g++)e[g]=o[g]}return o[t.length]},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(r,t){t.unshift(r),goog.debug.Error.call(this,goog.string.subs.apply(null,t)),t.shift(),this.messagePattern=r},goog.inherits(goog.asserts.AssertionError,goog.debug.Error),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(r){throw r},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.doAssertFailure_=function(r,t,e,o){var n="Assertion failed";if(e)var n=n+(": "+e),g=o;else r&&(n+=": "+r,g=t);r=new goog.asserts.AssertionError(""+n,g||[]),goog.asserts.errorHandler_(r)},goog.asserts.setErrorHandler=function(r){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=r)},goog.asserts.assert=function(r,t,e){return goog.asserts.ENABLE_ASSERTS&&!r&&goog.asserts.doAssertFailure_("",null,t,Array.prototype.slice.call(arguments,2)),r},goog.asserts.fail=function(r,t){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(r?": "+r:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(r,t,e){return goog.asserts.ENABLE_ASSERTS&&!goog.isNumber(r)&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(r),r],t,Array.prototype.slice.call(arguments,2)),r},goog.asserts.assertString=function(r,t,e){return goog.asserts.ENABLE_ASSERTS&&!goog.isString(r)&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(r),r],t,Array.prototype.slice.call(arguments,2)),r},goog.asserts.assertFunction=function(r,t,e){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(r)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(r),r],t,Array.prototype.slice.call(arguments,2)),r},goog.asserts.assertObject=function(r,t,e){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(r)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(r),r],t,Array.prototype.slice.call(arguments,2)),r},goog.asserts.assertArray=function(r,t,e){return goog.asserts.ENABLE_ASSERTS&&!goog.isArray(r)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(r),r],t,Array.prototype.slice.call(arguments,2)),r},goog.asserts.assertBoolean=function(r,t,e){return goog.asserts.ENABLE_ASSERTS&&!goog.isBoolean(r)&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(r),r],t,Array.prototype.slice.call(arguments,2)),r},goog.asserts.assertElement=function(r,t,e){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(r)&&r.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(r),r],t,Array.prototype.slice.call(arguments,2)),r},goog.asserts.assertInstanceof=function(r,t,e,o){return!goog.asserts.ENABLE_ASSERTS||r instanceof t||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(t),goog.asserts.getType_(r)],e,Array.prototype.slice.call(arguments,3)),r},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var r in Object.prototype)goog.asserts.fail(r+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(r){return r instanceof Function?r.displayName||r.name||"unknown type name":r instanceof Object?r.constructor.displayName||r.constructor.name||Object.prototype.toString.call(r):r===null?"null":typeof r};var jspb={Map:function(r,t){this.arr_=r,this.valueCtor_=t,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()}};jspb.Map.prototype.loadFromArray_=function(){for(var r=0;r<this.arr_.length;r++){var t=this.arr_[r],e=t[0];this.map_[e.toString()]=new jspb.Map.Entry_(e,t[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var r=this.map_,t;for(t in r)if(Object.prototype.hasOwnProperty.call(r,t)){var e=r[t].valueWrapper;e&&e.toArray()}}}else{for(this.arr_.length=0,r=this.stringKeys_(),r.sort(),t=0;t<r.length;t++){var o=this.map_[r[t]];(e=o.valueWrapper)&&e.toArray(),this.arr_.push([o.key,o.value])}this.arrClean=!0}return this.arr_},jspb.Map.prototype.toObject=function(r,t){for(var e=this.toArray(),o=[],n=0;n<e.length;n++){var g=this.map_[e[n][0].toString()];this.wrapEntry_(g);var l=g.valueWrapper;l?(goog.asserts.assert(t),o.push([g.key,t(r,l)])):o.push([g.key,g.value])}return o},jspb.Map.fromObject=function(r,t,e){t=new jspb.Map([],t);for(var o=0;o<r.length;o++){var n=r[o][0],g=e(r[o][1]);t.set(n,g)}return t},jspb.Map.ArrayIteratorIterable_=function(r){this.idx_=0,this.arr_=r},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},$jscomp.initSymbol(),typeof Symbol<"u"&&($jscomp.initSymbol(),$jscomp.initSymbolIterator(),jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},jspb.Map.prototype.del=function(r){r=r.toString();var t=this.map_.hasOwnProperty(r);return delete this.map_[r],this.arrClean=!1,t},jspb.Map.prototype.getEntryList=function(){var r=[],t=this.stringKeys_();t.sort();for(var e=0;e<t.length;e++){var o=this.map_[t[e]];r.push([o.key,o.value])}return r},jspb.Map.prototype.entries=function(){var r=[],t=this.stringKeys_();t.sort();for(var e=0;e<t.length;e++){var o=this.map_[t[e]];r.push([o.key,this.wrapEntry_(o)])}return new jspb.Map.ArrayIteratorIterable_(r)},jspb.Map.prototype.keys=function(){var r=[],t=this.stringKeys_();t.sort();for(var e=0;e<t.length;e++)r.push(this.map_[t[e]].key);return new jspb.Map.ArrayIteratorIterable_(r)},jspb.Map.prototype.values=function(){var r=[],t=this.stringKeys_();t.sort();for(var e=0;e<t.length;e++)r.push(this.wrapEntry_(this.map_[t[e]]));return new jspb.Map.ArrayIteratorIterable_(r)},jspb.Map.prototype.forEach=function(r,t){var e=this.stringKeys_();e.sort();for(var o=0;o<e.length;o