@cf-platform/cim
Version:
消息队列库
1,058 lines • 245 kB
JavaScript
(function() {
function e(r, t, o) {
function n(f, y) {
if (!t[f]) {
if (!r[f]) {
var c = typeof require == "function" && require;
if (!y && c)
return c(f, !0);
if (g)
return g(f, !0);
var j = new Error("Cannot find module '" + f + "'");
throw j.code = "MODULE_NOT_FOUND", j;
}
var E = t[f] = { exports: {} };
r[f][0].call(E.exports, function(v) {
var I = r[f][1][v];
return n(I || v);
}, E, E.exports, e, r, t, o);
}
return t[f].exports;
}
for (var g = typeof require == "function" && require, p = 0; p < o.length; p++)
n(o[p]);
return n;
}
return e;
})()({ 1: [function(e, r, t) {
var o = e("google-protobuf"), n = o, g = Function("return this")();
n.exportSymbol("proto.com.farsunset.cim.sdk.web.model.Message", null, g), proto.com.farsunset.cim.sdk.web.model.Message = function(p) {
o.Message.initialize(this, p, 0, -1, null, null);
}, n.inherits(proto.com.farsunset.cim.sdk.web.model.Message, o.Message), n.DEBUG && !COMPILED && (proto.com.farsunset.cim.sdk.web.model.Message.displayName = "proto.com.farsunset.cim.sdk.web.model.Message"), o.Message.GENERATE_TO_OBJECT && (proto.com.farsunset.cim.sdk.web.model.Message.prototype.toObject = function(p) {
return proto.com.farsunset.cim.sdk.web.model.Message.toObject(p, this);
}, proto.com.farsunset.cim.sdk.web.model.Message.toObject = function(p, f) {
var y = {
id: o.Message.getFieldWithDefault(f, 1, 0),
action: o.Message.getFieldWithDefault(f, 2, ""),
content: o.Message.getFieldWithDefault(f, 3, ""),
sender: o.Message.getFieldWithDefault(f, 4, ""),
receiver: o.Message.getFieldWithDefault(f, 5, ""),
extra: o.Message.getFieldWithDefault(f, 6, ""),
title: o.Message.getFieldWithDefault(f, 7, ""),
format: o.Message.getFieldWithDefault(f, 8, ""),
timestamp: o.Message.getFieldWithDefault(f, 9, 0)
};
return p && (y.$jspbMessageInstance = f), y;
}), proto.com.farsunset.cim.sdk.web.model.Message.deserializeBinary = function(p) {
var f = new o.BinaryReader(p), y = new proto.com.farsunset.cim.sdk.web.model.Message();
return proto.com.farsunset.cim.sdk.web.model.Message.deserializeBinaryFromReader(y, f);
}, proto.com.farsunset.cim.sdk.web.model.Message.deserializeBinaryFromReader = function(p, f) {
for (; f.nextField() && !f.isEndGroup(); ) {
var y = f.getFieldNumber();
switch (y) {
case 1:
var c = (
/** @type {number} */
f.readInt64()
);
p.setId(c);
break;
case 2:
var c = (
/** @type {string} */
f.readString()
);
p.setAction(c);
break;
case 3:
var c = (
/** @type {string} */
f.readString()
);
p.setContent(c);
break;
case 4:
var c = (
/** @type {string} */
f.readString()
);
p.setSender(c);
break;
case 5:
var c = (
/** @type {string} */
f.readString()
);
p.setReceiver(c);
break;
case 6:
var c = (
/** @type {string} */
f.readString()
);
p.setExtra(c);
break;
case 7:
var c = (
/** @type {string} */
f.readString()
);
p.setTitle(c);
break;
case 8:
var c = (
/** @type {string} */
f.readString()
);
p.setFormat(c);
break;
case 9:
var c = (
/** @type {number} */
f.readInt64()
);
p.setTimestamp(c);
break;
default:
f.skipField();
break;
}
}
return p;
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.serializeBinary = function() {
var p = new o.BinaryWriter();
return proto.com.farsunset.cim.sdk.web.model.Message.serializeBinaryToWriter(this, p), p.getResultBuffer();
}, proto.com.farsunset.cim.sdk.web.model.Message.serializeBinaryToWriter = function(p, f) {
var y = void 0;
y = p.getId(), y !== 0 && f.writeInt64(
1,
y
), y = p.getAction(), y.length > 0 && f.writeString(
2,
y
), y = p.getContent(), y.length > 0 && f.writeString(
3,
y
), y = p.getSender(), y.length > 0 && f.writeString(
4,
y
), y = p.getReceiver(), y.length > 0 && f.writeString(
5,
y
), y = p.getExtra(), y.length > 0 && f.writeString(
6,
y
), y = p.getTitle(), y.length > 0 && f.writeString(
7,
y
), y = p.getFormat(), y.length > 0 && f.writeString(
8,
y
), y = p.getTimestamp(), y !== 0 && f.writeInt64(
9,
y
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.getId = function() {
return (
/** @type {number} */
o.Message.getFieldWithDefault(this, 1, 0)
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.setId = function(p) {
o.Message.setProto3IntField(this, 1, p);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.getAction = function() {
return (
/** @type {string} */
o.Message.getFieldWithDefault(this, 2, "")
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.setAction = function(p) {
o.Message.setProto3StringField(this, 2, p);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.getContent = function() {
return (
/** @type {string} */
o.Message.getFieldWithDefault(this, 3, "")
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.setContent = function(p) {
o.Message.setProto3StringField(this, 3, p);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.getSender = function() {
return (
/** @type {string} */
o.Message.getFieldWithDefault(this, 4, "")
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.setSender = function(p) {
o.Message.setProto3StringField(this, 4, p);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.getReceiver = function() {
return (
/** @type {string} */
o.Message.getFieldWithDefault(this, 5, "")
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.setReceiver = function(p) {
o.Message.setProto3StringField(this, 5, p);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.getExtra = function() {
return (
/** @type {string} */
o.Message.getFieldWithDefault(this, 6, "")
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.setExtra = function(p) {
o.Message.setProto3StringField(this, 6, p);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.getTitle = function() {
return (
/** @type {string} */
o.Message.getFieldWithDefault(this, 7, "")
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.setTitle = function(p) {
o.Message.setProto3StringField(this, 7, p);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.getFormat = function() {
return (
/** @type {string} */
o.Message.getFieldWithDefault(this, 8, "")
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.setFormat = function(p) {
o.Message.setProto3StringField(this, 8, p);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.getTimestamp = function() {
return (
/** @type {number} */
o.Message.getFieldWithDefault(this, 9, 0)
);
}, proto.com.farsunset.cim.sdk.web.model.Message.prototype.setTimestamp = function(p) {
o.Message.setProto3IntField(this, 9, p);
}, n.object.extend(t, proto.com.farsunset.cim.sdk.web.model);
}, { "google-protobuf": 3 }], 2: [function(e, r, t) {
var o = e("./Message_pb");
r.exports = {
DataProto: o
};
}, { "./Message_pb": 1 }], 3: [function(require, module, exports) {
(function(global, Buffer) {
var $jscomp = { scope: {}, getGlobal: function(e) {
return typeof window < "u" && window === e ? e : typeof global < "u" ? global : e;
} };
$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(e) {
return "jscomp_symbol_" + e + $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(e) {
$jscomp.initSymbolIterator(), $jscomp.initSymbol(), $jscomp.initSymbolIterator();
var r = e[Symbol.iterator];
if (r)
return r.call(e);
var t = 0;
return { next: function() {
return t < e.length ? { done: !1, value: e[t++] } : { done: !0 };
} };
}, $jscomp.arrayFromIterator = function(e) {
for (var r, t = []; !(r = e.next()).done; )
t.push(r.value);
return t;
}, $jscomp.arrayFromIterable = function(e) {
return e instanceof Array ? e : $jscomp.arrayFromIterator($jscomp.makeIterator(e));
}, $jscomp.inherits = function(e, r) {
function t() {
}
t.prototype = r.prototype, e.prototype = new t(), e.prototype.constructor = e;
for (var o in r)
if (Object.defineProperties) {
var n = Object.getOwnPropertyDescriptor(r, o);
n && Object.defineProperty(e, o, n);
} else
e[o] = r[o];
}, $jscomp.array = $jscomp.array || {}, $jscomp.iteratorFromArray = function(e, r) {
$jscomp.initSymbolIterator(), e instanceof String && (e += "");
var t = 0, o = { next: function() {
if (t < e.length) {
var n = t++;
return { value: r(n, e[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(e, r, t) {
e instanceof String && (e = String(e));
for (var o = e.length, n = 0; n < o; n++) {
var g = e[n];
if (r.call(t, g, n, e))
return { i: n, v: g };
}
return { i: -1, v: void 0 };
}, $jscomp.array.from = function(e, r, t) {
$jscomp.initSymbolIterator(), r = r ?? function(p) {
return p;
};
var o = [];
$jscomp.initSymbol(), $jscomp.initSymbolIterator();
var n = e[Symbol.iterator];
if (typeof n == "function" && (e = n.call(e)), typeof e.next == "function")
for (; !(n = e.next()).done; )
o.push(r.call(t, n.value));
else
for (var n = e.length, g = 0; g < n; g++)
o.push(r.call(t, e[g]));
return o;
}, $jscomp.array.of = function(e) {
return $jscomp.array.from(arguments);
}, $jscomp.array.entries = function() {
return $jscomp.iteratorFromArray(this, function(e, r) {
return [e, r];
});
}, $jscomp.array.installHelper_ = function(e, r) {
!Array.prototype[e] && Object.defineProperties && Object.defineProperty && Object.defineProperty(Array.prototype, e, { configurable: !0, enumerable: !1, writable: !0, value: r });
}, $jscomp.array.entries$install = function() {
$jscomp.array.installHelper_("entries", $jscomp.array.entries);
}, $jscomp.array.keys = function() {
return $jscomp.iteratorFromArray(this, function(e) {
return e;
});
}, $jscomp.array.keys$install = function() {
$jscomp.array.installHelper_("keys", $jscomp.array.keys);
}, $jscomp.array.values = function() {
return $jscomp.iteratorFromArray(this, function(e, r) {
return r;
});
}, $jscomp.array.values$install = function() {
$jscomp.array.installHelper_("values", $jscomp.array.values);
}, $jscomp.array.copyWithin = function(e, r, t) {
var o = this.length;
if (e = Number(e), r = Number(r), t = Number(t ?? o), e < r)
for (t = Math.min(t, o); r < t; )
r in this ? this[e++] = this[r++] : (delete this[e++], r++);
else
for (t = Math.min(t, o + r - e), e += t - r; t > r; )
--t in this ? this[--e] = this[t] : delete this[e];
return this;
}, $jscomp.array.copyWithin$install = function() {
$jscomp.array.installHelper_("copyWithin", $jscomp.array.copyWithin);
}, $jscomp.array.fill = function(e, r, t) {
var o = this.length || 0;
for (0 > r && (r = Math.max(0, o + r)), (t == null || t > o) && (t = o), t = Number(t), 0 > t && (t = Math.max(0, o + t)), r = Number(r || 0); r < t; r++)
this[r] = e;
return this;
}, $jscomp.array.fill$install = function() {
$jscomp.array.installHelper_("fill", $jscomp.array.fill);
}, $jscomp.array.find = function(e, r) {
return $jscomp.findInternal(this, e, r).v;
}, $jscomp.array.find$install = function() {
$jscomp.array.installHelper_("find", $jscomp.array.find);
}, $jscomp.array.findIndex = function(e, r) {
return $jscomp.findInternal(this, e, r).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 e = $jscomp.global.Map;
if (!e || !e.prototype.entries || typeof Object.seal != "function")
return !1;
try {
var r = Object.seal({ x: 4 }), t = new e($jscomp.makeIterator([[r, "s"]]));
if (t.get(r) != "s" || t.size != 1 || t.get({ x: 4 }) || t.set({ x: 4 }, "t") != t || t.size != 2)
return !1;
var o = t.entries(), n = o.next();
return n.done || n.value[0] != r || 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(e) {
if (this.data_ = {}, this.head_ = $jscomp.Map.createHead(), this.size = 0, e) {
e = $jscomp.makeIterator(e);
for (var r; !(r = e.next()).done; )
r = r.value, this.set(r[0], r[1]);
}
}, $jscomp.Map.prototype.set = function(e, r) {
var t = $jscomp.Map.maybeGetEntry(this, e);
return t.list || (t.list = this.data_[t.id] = []), t.entry ? t.entry.value = r : (t.entry = { next: this.head_, previous: this.head_.previous, head: this.head_, key: e, value: r }, t.list.push(t.entry), this.head_.previous.next = t.entry, this.head_.previous = t.entry, this.size++), this;
}, $jscomp.Map.prototype.delete = function(e) {
return e = $jscomp.Map.maybeGetEntry(this, e), e.entry && e.list ? (e.list.splice(e.index, 1), e.list.length || delete this.data_[e.id], e.entry.previous.next = e.entry.next, e.entry.next.previous = e.entry.previous, e.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(e) {
return !!$jscomp.Map.maybeGetEntry(this, e).entry;
}, $jscomp.Map.prototype.get = function(e) {
return (e = $jscomp.Map.maybeGetEntry(this, e).entry) && e.value;
}, $jscomp.Map.prototype.entries = function() {
return $jscomp.Map.makeIterator_(this, function(e) {
return [e.key, e.value];
});
}, $jscomp.Map.prototype.keys = function() {
return $jscomp.Map.makeIterator_(this, function(e) {
return e.key;
});
}, $jscomp.Map.prototype.values = function() {
return $jscomp.Map.makeIterator_(this, function(e) {
return e.value;
});
}, $jscomp.Map.prototype.forEach = function(e, r) {
for (var t = this.entries(), o; !(o = t.next()).done; )
o = o.value, e.call(r, o[1], o[0], this);
}, $jscomp.Map.maybeGetEntry = function(e, r) {
var t = $jscomp.Map.getId(r), o = e.data_[t];
if (o && Object.prototype.hasOwnProperty.call(e.data_, t))
for (var n = 0; n < o.length; n++) {
var g = o[n];
if (r !== r && g.key !== g.key || r === g.key)
return { id: t, list: o, index: n, entry: g };
}
return { id: t, list: o, index: -1, entry: void 0 };
}, $jscomp.Map.makeIterator_ = function(e, r) {
var t = e.head_, o = { next: function() {
if (t) {
for (; t.head != e.head_; )
t = t.previous;
for (; t.next != t.head; )
return t = t.next, { done: !1, value: r(t) };
t = 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 e = {};
return e.previous = e.next = e.head = e;
}, $jscomp.Map.getId = function(e) {
if (!(e instanceof Object))
return "p_" + e;
if (!($jscomp.Map.idKey in e))
try {
$jscomp.Map.defineProperty(e, $jscomp.Map.idKey, { value: ++$jscomp.Map.mapIndex_ });
} catch {
}
return $jscomp.Map.idKey in e ? e[$jscomp.Map.idKey] : "o_ " + e;
}, $jscomp.Map.defineProperty = Object.defineProperty ? function(e, r, t) {
Object.defineProperty(e, r, { value: String(t) });
} : function(e, r, t) {
e[r] = String(t);
}, $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(e) {
if (e = Number(e) >>> 0, e === 0)
return 32;
var r = 0;
return !(e & 4294901760) && (e <<= 16, r += 16), !(e & 4278190080) && (e <<= 8, r += 8), !(e & 4026531840) && (e <<= 4, r += 4), !(e & 3221225472) && (e <<= 2, r += 2), !(e & 2147483648) && r++, r;
}, $jscomp.math.imul = function(e, r) {
e = Number(e), r = Number(r);
var t = e & 65535, o = r & 65535;
return t * o + ((e >>> 16 & 65535) * o + t * (r >>> 16 & 65535) << 16 >>> 0) | 0;
}, $jscomp.math.sign = function(e) {
return e = Number(e), e === 0 || isNaN(e) ? e : 0 < e ? 1 : -1;
}, $jscomp.math.log10 = function(e) {
return Math.log(e) / Math.LN10;
}, $jscomp.math.log2 = function(e) {
return Math.log(e) / Math.LN2;
}, $jscomp.math.log1p = function(e) {
if (e = Number(e), 0.25 > e && -0.25 < e) {
for (var r = e, t = 1, o = e, n = 0, g = 1; n != o; )
r *= e, g *= -1, o = (n = o) + g * r / ++t;
return o;
}
return Math.log(1 + e);
}, $jscomp.math.expm1 = function(e) {
if (e = Number(e), 0.25 > e && -0.25 < e) {
for (var r = e, t = 1, o = e, n = 0; n != o; )
r *= e / ++t, o = (n = o) + r;
return o;
}
return Math.exp(e) - 1;
}, $jscomp.math.cosh = function(e) {
return e = Number(e), (Math.exp(e) + Math.exp(-e)) / 2;
}, $jscomp.math.sinh = function(e) {
return e = Number(e), e === 0 ? e : (Math.exp(e) - Math.exp(-e)) / 2;
}, $jscomp.math.tanh = function(e) {
if (e = Number(e), e === 0)
return e;
var r = Math.exp(-2 * Math.abs(e)), r = (1 - r) / (1 + r);
return 0 > e ? -r : r;
}, $jscomp.math.acosh = function(e) {
return e = Number(e), Math.log(e + Math.sqrt(e * e - 1));
}, $jscomp.math.asinh = function(e) {
if (e = Number(e), e === 0)
return e;
var r = Math.log(Math.abs(e) + Math.sqrt(e * e + 1));
return 0 > e ? -r : r;
}, $jscomp.math.atanh = function(e) {
return e = Number(e), ($jscomp.math.log1p(e) - $jscomp.math.log1p(-e)) / 2;
}, $jscomp.math.hypot = function(e, r, t) {
e = Number(e), r = Number(r);
var o, n, g, p = Math.max(Math.abs(e), Math.abs(r));
for (o = 2; o < arguments.length; o++)
p = Math.max(p, Math.abs(arguments[o]));
if (1e100 < p || 1e-100 > p) {
for (e /= p, r /= p, g = e * e + r * r, o = 2; o < arguments.length; o++)
n = Number(arguments[o]) / p, g += n * n;
return Math.sqrt(g) * p;
}
for (g = e * e + r * r, o = 2; o < arguments.length; o++)
n = Number(arguments[o]), g += n * n;
return Math.sqrt(g);
}, $jscomp.math.trunc = function(e) {
if (e = Number(e), isNaN(e) || e === 1 / 0 || e === -1 / 0 || e === 0)
return e;
var r = Math.floor(Math.abs(e));
return 0 > e ? -r : r;
}, $jscomp.math.cbrt = function(e) {
if (e === 0)
return e;
e = Number(e);
var r = Math.pow(Math.abs(e), 1 / 3);
return 0 > e ? -r : r;
}, $jscomp.number = $jscomp.number || {}, $jscomp.number.isFinite = function(e) {
return typeof e != "number" ? !1 : !isNaN(e) && e !== 1 / 0 && e !== -1 / 0;
}, $jscomp.number.isInteger = function(e) {
return $jscomp.number.isFinite(e) ? e === Math.floor(e) : !1;
}, $jscomp.number.isNaN = function(e) {
return typeof e == "number" && isNaN(e);
}, $jscomp.number.isSafeInteger = function(e) {
return $jscomp.number.isInteger(e) && Math.abs(e) <= $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(e, r) {
for (var t = 1; t < arguments.length; t++) {
var o = arguments[t];
if (o)
for (var n in o)
Object.prototype.hasOwnProperty.call(o, n) && (e[n] = o[n]);
}
return e;
}, $jscomp.object.is = function(e, r) {
return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
}, $jscomp.ASSUME_NO_NATIVE_SET = !1, $jscomp.Set$isConformant = function() {
if ($jscomp.ASSUME_NO_NATIVE_SET)
return !1;
var e = $jscomp.global.Set;
if (!e || !e.prototype.entries || typeof Object.seal != "function")
return !1;
try {
var r = Object.seal({ x: 4 }), t = new e($jscomp.makeIterator([r]));
if (!t.has(r) || t.size != 1 || t.add(r) != t || t.size != 1 || t.add({ x: 4 }) != t || t.size != 2)
return !1;
var o = t.entries(), n = o.next();
return n.done || n.value[0] != r || n.value[1] != r ? !1 : (n = o.next(), n.done || n.value[0] == r || n.value[0].x != 4 || n.value[1] != n.value[0] ? !1 : o.next().done);
} catch {
return !1;
}
}, $jscomp.Set = function(e) {
if (this.map_ = new $jscomp.Map(), e) {
e = $jscomp.makeIterator(e);
for (var r; !(r = e.next()).done; )
this.add(r.value);
}
this.size = this.map_.size;
}, $jscomp.Set.prototype.add = function(e) {
return this.map_.set(e, e), this.size = this.map_.size, this;
}, $jscomp.Set.prototype.delete = function(e) {
return e = this.map_.delete(e), this.size = this.map_.size, e;
}, $jscomp.Set.prototype.clear = function() {
this.map_.clear(), this.size = 0;
}, $jscomp.Set.prototype.has = function(e) {
return this.map_.has(e);
}, $jscomp.Set.prototype.entries = function() {
return this.map_.entries();
}, $jscomp.Set.prototype.values = function() {
return this.map_.values();
}, $jscomp.Set.prototype.forEach = function(e, r) {
var t = this;
this.map_.forEach(function(o) {
return e.call(r, o, o, t);
});
}, $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(e, r, t) {
if (e == null)
throw new TypeError("The 'this' value for String.prototype." + t + " must not be null or undefined");
if (r instanceof RegExp)
throw new TypeError("First argument to String.prototype." + t + " must not be a regular expression");
return e + "";
}, $jscomp.string.fromCodePoint = function(e) {
for (var r = "", t = 0; t < arguments.length; t++) {
var o = Number(arguments[t]);
if (0 > o || 1114111 < o || o !== Math.floor(o))
throw new RangeError("invalid_code_point " + o);
65535 >= o ? r += String.fromCharCode(o) : (o -= 65536, r += String.fromCharCode(o >>> 10 & 1023 | 55296), r += String.fromCharCode(o & 1023 | 56320));
}
return r;
}, $jscomp.string.repeat = function(e) {
var r = $jscomp.checkStringArgs(this, null, "repeat");
if (0 > e || 1342177279 < e)
throw new RangeError("Invalid count value");
e |= 0;
for (var t = ""; e; )
e & 1 && (t += r), (e >>>= 1) && (r += r);
return t;
}, $jscomp.string.repeat$install = function() {
String.prototype.repeat || (String.prototype.repeat = $jscomp.string.repeat);
}, $jscomp.string.codePointAt = function(e) {
var r = $jscomp.checkStringArgs(this, null, "codePointAt"), t = r.length;
if (e = Number(e) || 0, 0 <= e && e < t) {
e |= 0;
var o = r.charCodeAt(e);
return 55296 > o || 56319 < o || e + 1 === t ? o : (e = r.charCodeAt(e + 1), 56320 > e || 57343 < e ? o : 1024 * (o - 55296) + e + 9216);
}
}, $jscomp.string.codePointAt$install = function() {
String.prototype.codePointAt || (String.prototype.codePointAt = $jscomp.string.codePointAt);
}, $jscomp.string.includes = function(e, r) {
return $jscomp.checkStringArgs(this, e, "includes").indexOf(e, r || 0) !== -1;
}, $jscomp.string.includes$install = function() {
String.prototype.includes || (String.prototype.includes = $jscomp.string.includes);
}, $jscomp.string.startsWith = function(e, r) {
var t = $jscomp.checkStringArgs(this, e, "startsWith");
e += "";
for (var o = t.length, n = e.length, g = Math.max(0, Math.min(r | 0, t.length)), p = 0; p < n && g < o; )
if (t[g++] != e[p++])
return !1;
return p >= n;
}, $jscomp.string.startsWith$install = function() {
String.prototype.startsWith || (String.prototype.startsWith = $jscomp.string.startsWith);
}, $jscomp.string.endsWith = function(e, r) {
var t = $jscomp.checkStringArgs(this, e, "endsWith");
e += "", r === void 0 && (r = t.length);
for (var o = Math.max(0, Math.min(r | 0, t.length)), n = e.length; 0 < n && 0 < o; )
if (t[--o] != e[--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(e) {
return e !== void 0;
}, goog.exportPath_ = function(e, r, t) {
e = e.split("."), t = t || goog.global, e[0] in t || !t.execScript || t.execScript("var " + e[0]);
for (var o; e.length && (o = e.shift()); )
!e.length && goog.isDef(r) ? t[o] = r : t = t[o] ? t[o] : t[o] = {};
}, goog.define = function(e, r) {
var t = r;
goog.exportPath_(e, t);
}, goog.DEBUG = !0, goog.LOCALE = "en", goog.TRUSTED_SITE = !0, goog.STRICT_MODE_COMPATIBLE = !1, goog.DISALLOW_TEST_ONLY_CODE = !goog.DEBUG, goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING = !1, goog.provide = function(e) {
goog.constructNamespace_(e);
}, goog.constructNamespace_ = function(e, r) {
goog.exportPath_(e, r);
}, goog.VALID_MODULE_RE_ = /^[a-zA-Z_$][a-zA-Z0-9._$]*$/, goog.module = function(e) {
if (!goog.isString(e) || !e || e.search(goog.VALID_MODULE_RE_) == -1)
throw Error("Invalid module identifier");
if (!goog.isInModuleLoader_())
throw Error("Module " + e + " has been loaded incorrectly.");
if (goog.moduleLoaderState_.moduleName)
throw Error("goog.module may only be called once per module.");
goog.moduleLoaderState_.moduleName = e;
}, goog.module.get = function(e) {
return goog.module.getInternal_(e);
}, goog.module.getInternal_ = function(e) {
}, goog.moduleLoaderState_ = null, goog.isInModuleLoader_ = function() {
return goog.moduleLoaderState_ != null;
}, goog.module.declareLegacyNamespace = function() {
goog.moduleLoaderState_.declareLegacyNamespace = !0;
}, goog.setTestOnly = function(e) {
if (goog.DISALLOW_TEST_ONLY_CODE)
throw e = e || "", Error("Importing test-only code into non-debug environment" + (e ? ": " + e : "."));
}, goog.forwardDeclare = function(e) {
}, goog.getObjectByName = function(e, r) {
for (var t = e.split("."), o = r || goog.global, n; n = t.shift(); )
if (goog.isDefAndNotNull(o[n]))
o = o[n];
else
return null;
return o;
}, goog.globalize = function(e, r) {
var t = r || goog.global, o;
for (o in e)
t[o] = e[o];
}, goog.addDependency = function(e, r, t, o) {
if (goog.DEPENDENCIES_ENABLED) {
var n;
e = e.replace(/\\/g, "/");
for (var g = goog.dependencies_, p = 0; n = r[p]; p++)
g.nameToPath[n] = e, g.pathIsModule[e] = !!o;
for (o = 0; r = t[o]; o++)
e in g.requires || (g.requires[e] = {}), g.requires[e][r] = !0;
}
}, goog.ENABLE_DEBUG_LOADER = !0, goog.logToConsole_ = function(e) {
goog.global.console && goog.global.console.error(e);
}, goog.require = function(e) {
}, goog.basePath = "", goog.nullFunction = function() {
}, goog.abstractMethod = function() {
throw Error("unimplemented abstract method");
}, goog.addSingletonGetter = function(e) {
e.getInstance = function() {
return e.instance_ ? e.instance_ : (goog.DEBUG && (goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = e), e.instance_ = new e());
};
}, goog.instantiatedSingletons_ = [], goog.LOAD_MODULE_USING_EVAL = !0, goog.SEAL_MODULE_EXPORTS = goog.DEBUG, goog.loadedModules_ = {}, goog.DEPENDENCIES_ENABLED = !COMPILED, goog.DEPENDENCIES_ENABLED && (goog.dependencies_ = { pathIsModule: {}, nameToPath: {}, requires: {}, visited: {}, written: {}, deferred: {} }, goog.inHtmlDocument_ = function() {
var e = goog.global.document;
return e != null && "write" in e;
}, goog.findBasePath_ = function() {
if (goog.isDef(goog.global.CLOSURE_BASE_PATH))
goog.basePath = goog.global.CLOSURE_BASE_PATH;
else if (goog.inHtmlDocument_())
for (var e = goog.global.document.getElementsByTagName("SCRIPT"), r = e.length - 1; 0 <= r; --r) {
var t = e[r].src, o = t.lastIndexOf("?"), o = o == -1 ? t.length : o;
if (t.substr(o - 7, 7) == "base.js") {
goog.basePath = t.substr(0, o - 7);
break;
}
}
}, goog.importScript_ = function(e, r) {
(goog.global.CLOSURE_IMPORT_SCRIPT || goog.writeScriptTag_)(e, r) && (goog.dependencies_.written[e] = !0);
}, goog.IS_OLD_IE_ = !(goog.global.atob || !goog.global.document || !goog.global.document.all), goog.importModule_ = function(e) {
goog.importScript_("", 'goog.retrieveAndExecModule_("' + e + '");') && (goog.dependencies_.written[e] = !0);
}, goog.queuedModules_ = [], goog.wrapModule_ = function(e, r) {
return goog.LOAD_MODULE_USING_EVAL && goog.isDef(goog.global.JSON) ? "goog.loadModule(" + goog.global.JSON.stringify(r + `
//# sourceURL=` + e + `
`) + ");" : 'goog.loadModule(function(exports) {"use strict";' + r + `
;return exports});
//# sourceURL=` + e + `
`;
}, goog.loadQueuedModules_ = function() {
var e = goog.queuedModules_.length;
if (0 < e) {
var r = goog.queuedModules_;
goog.queuedModules_ = [];
for (var t = 0; t < e; t++)
goog.maybeProcessDeferredPath_(r[t]);
}
}, goog.maybeProcessDeferredDep_ = function(e) {
goog.isDeferredModule_(e) && goog.allDepsAreAvailable_(e) && (e = goog.getPathFromDeps_(e), goog.maybeProcessDeferredPath_(goog.basePath + e));
}, goog.isDeferredModule_ = function(e) {
return (e = goog.getPathFromDeps_(e)) && goog.dependencies_.pathIsModule[e] ? goog.basePath + e in goog.dependencies_.deferred : !1;
}, goog.allDepsAreAvailable_ = function(e) {
if ((e = goog.getPathFromDeps_(e)) && e in goog.dependencies_.requires) {
for (var r in goog.dependencies_.requires[e])
if (!goog.isProvided_(r) && !goog.isDeferredModule_(r))
return !1;
}
return !0;
}, goog.maybeProcessDeferredPath_ = function(e) {
if (e in goog.dependencies_.deferred) {
var r = goog.dependencies_.deferred[e];
delete goog.dependencies_.deferred[e], goog.globalEval(r);
}
}, goog.loadModuleFromUrl = function(e) {
goog.retrieveAndExecModule_(e);
}, goog.loadModule = function(e) {
var r = goog.moduleLoaderState_;
try {
goog.moduleLoaderState_ = { moduleName: void 0, declareLegacyNamespace: !1 };
var t;
if (goog.isFunction(e))
t = e.call(goog.global, {});
else if (goog.isString(e))
t = goog.loadModuleFromSource_.call(goog.global, e);
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, t) : goog.SEAL_MODULE_EXPORTS && Object.seal && Object.seal(t), goog.loadedModules_[o] = t;
} finally {
goog.moduleLoaderState_ = r;
}
}, goog.loadModuleFromSource_ = function(a) {
return eval(a), {};
}, goog.writeScriptSrcNode_ = function(e) {
goog.global.document.write('<script type="text/javascript" src="' + e + '"><\/script>');
}, goog.appendScriptSrcNode_ = function(e) {
var r = goog.global.document, t = r.createElement("script");
t.type = "text/javascript", t.src = e, t.defer = !1, t.async = !1, r.head.appendChild(t);
}, goog.writeScriptTag_ = function(e, r) {
if (goog.inHtmlDocument_()) {
var t = goog.global.document;
if (!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING && t.readyState == "complete") {
if (/\bdeps.js$/.test(e))
return !1;
throw Error('Cannot write "' + e + '" after document load');
}
var o = goog.IS_OLD_IE_;
return r === void 0 ? o ? (o = " onreadystatechange='goog.onScriptLoad_(this, " + ++goog.lastNonModuleScriptIndex_ + ")' ", t.write('<script type="text/javascript" src="' + e + '"' + o + "><\/script>")) : goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING ? goog.appendScriptSrcNode_(e) : goog.writeScriptSrcNode_(e) : t.write('<script type="text/javascript">' + r + "<\/script>"), !0;
}
return !1;
}, goog.lastNonModuleScriptIndex_ = 0, goog.onScriptLoad_ = function(e, r) {
return e.readyState == "complete" && goog.lastNonModuleScriptIndex_ == r && goog.loadQueuedModules_(), !0;
}, goog.writeScripts_ = function(e) {
function r(f) {
if (!(f in n.written || f in n.visited)) {
if (n.visited[f] = !0, f in n.requires) {
for (var y in n.requires[f])
if (!goog.isProvided_(y))
if (y in n.nameToPath)
r(n.nameToPath[y]);
else
throw Error("Undefined nameToPath for " + y);
}
f in o || (o[f] = !0, t.push(f));
}
}
var t = [], o = {}, n = goog.dependencies_;
for (r(e), e = 0; e < t.length; e++) {
var g = t[e];
goog.dependencies_.written[g] = !0;
}
var p = goog.moduleLoaderState_;
for (goog.moduleLoaderState_ = null, e = 0; e < t.length; e++)
if (g = t[e])
n.pathIsModule[g] ? goog.importModule_(goog.basePath + g) : goog.importScript_(goog.basePath + g);
else
throw goog.moduleLoaderState_ = p, Error("Undefined script input");
goog.moduleLoaderState_ = p;
}, goog.getPathFromDeps_ = function(e) {
return e in goog.dependencies_.nameToPath ? goog.dependencies_.nameToPath[e] : null;
}, goog.findBasePath_(), goog.global.CLOSURE_NO_DEPS || goog.importScript_(goog.basePath + "deps.js")), goog.normalizePath_ = function(e) {
e = e.split("/");
for (var r = 0; r < e.length; )
e[r] == "." ? e.splice(r, 1) : r && e[r] == ".." && e[r - 1] && e[r - 1] != ".." ? e.splice(--r, 2) : r++;
return e.join("/");
}, goog.loadFileSync_ = function(e) {
if (goog.global.CLOSURE_LOAD_FILE_SYNC)
return goog.global.CLOSURE_LOAD_FILE_SYNC(e);
var r = new goog.global.XMLHttpRequest();
return r.open("get", e, !1), r.send(), r.responseText;
}, goog.retrieveAndExecModule_ = function(e) {
}, goog.typeOf = function(e) {
var r = typeof e;
if (r == "object")
if (e) {
if (e instanceof Array)
return "array";
if (e instanceof Object)
return r;
var t = Object.prototype.toString.call(e);
if (t == "[object Window]")
return "object";
if (t == "[object Array]" || typeof e.length == "number" && typeof e.splice < "u" && typeof e.propertyIsEnumerable < "u" && !e.propertyIsEnumerable("splice"))
return "array";
if (t == "[object Function]" || typeof e.call < "u" && typeof e.propertyIsEnumerable < "u" && !e.propertyIsEnumerable("call"))
return "function";
} else
return "null";
else if (r == "function" && typeof e.call > "u")
return "object";
return r;
}, goog.isNull = function(e) {
return e === null;
}, goog.isDefAndNotNull = function(e) {
return e != null;
}, goog.isArray = function(e) {
return goog.typeOf(e) == "array";
}, goog.isArrayLike = function(e) {
var r = goog.typeOf(e);
return r == "array" || r == "object" && typeof e.length == "number";
}, goog.isDateLike = function(e) {
return goog.isObject(e) && typeof e.getFullYear == "function";
}, goog.isString = function(e) {
return typeof e == "string";
}, goog.isBoolean = function(e) {
return typeof e == "boolean";
}, goog.isNumber = function(e) {
return typeof e == "number";
}, goog.isFunction = function(e) {
return goog.typeOf(e) == "function";
}, goog.isObject = function(e) {
var r = typeof e;
return r == "object" && e != null || r == "function";
}, goog.getUid = function(e) {
return e[goog.UID_PROPERTY_] || (e[goog.UID_PROPERTY_] = ++goog.uidCounter_);
}, goog.hasUid = function(e) {
return !!e[goog.UID_PROPERTY_];
}, goog.removeUid = function(e) {
e !== null && "removeAttribute" in e && e.removeAttribute(goog.UID_PROPERTY_);
try {
delete e[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(e) {
var r = goog.typeOf(e);
if (r == "object" || r == "array") {
if (e.clone)
return e.clone();
var r = r == "array" ? [] : {}, t;
for (t in e)
r[t] = goog.cloneObject(e[t]);
return r;
}
return e;
}, goog.bindNative_ = function(e, r, t) {
return e.call.apply(e.bind, arguments);
}, goog.bindJs_ = function(e, r, t) {
if (!e)
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), e.apply(r, n);
};
}
return function() {
return e.apply(r, arguments);
};
}, goog.bind = function(e, r, t) {
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(e, r) {
var t = Array.prototype.slice.call(arguments, 1);
return function() {
var o = t.slice();
return o.push.apply(o, arguments), e.apply(this, o);
};
}, goog.mixin = function(e, r) {
for (var t in r)
e[t] = r[t];
}, goog.now = goog.TRUSTED_SITE && Date.now || function() {
return +/* @__PURE__ */ new Date();
}, goog.globalEval = function(e) {
if (goog.global.execScript)
goog.global.execScript(e, "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(e);
else {
var r = goog.global.document, t = r.createElement("SCRIPT");
t.type = "text/javascript", t.defer = !1, t.appendChild(r.createTextNode(e)), r.body.appendChild(t), r.body.removeChild(t);
}
} else
throw Error("goog.globalEval not available");
}, goog.evalWorksForGlobals_ = null, goog.getCssName = function(e, r) {
var t = function(n) {
return goog.cssNameMapping_[n] || n;
}, o = function(n) {
n = n.split("-");
for (var g = [], p = 0; p < n.length; p++)
g.push(t(n[p]));
return g.join("-");
}, o = goog.cssNameMapping_ ? goog.cssNameMappingStyle_ == "BY_WHOLE" ? t : o : function(n) {
return n;
};
return r ? e + "-" + o(r) : o(e);
}, goog.setCssNameMapping = function(e, r) {
goog.cssNameMapping_ = e, goog.cssNameMappingStyle_ = r;
}, goog.getMsg = function(e, r) {
return r && (e = e.replace(/\{\$([^}]+)}/g, function(t, o) {
return r != null && o in r ? r[o] : t;
})), e;
}, goog.getMsgWithFallback = function(e, r) {
return e;
}, goog.exportSymbol = function(e, r, t) {
goog.exportPath_(e, r, t);
}, goog.exportProperty = function(e, r, t) {
e[r] = t;
}, goog.inherits = function(e, r) {
function t() {
}
t.prototype = r.prototype, e.superClass_ = r.prototype, e.prototype = new t(), e.prototype.constructor = e, e.base = function(o, n, g) {
for (var p = Array(arguments.length - 2), f = 2; f < arguments.length; f++)
p[f - 2] = arguments[f];
return r.prototype[n].apply(o, p);
};
}, goog.base = function(e, r, t) {
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(e, n);
}
for (n = Array(arguments.length - 2), g = 2; g < arguments.length; g++)
n[g - 2] = arguments[g];
for (var g = !1, p = e.constructor; p; p = p.superClass_ && p.superClass_.constructor)
if (p.prototype[r] === o)
g = !0;
else if (g)
return p.prototype[r].apply(e, n);
if (e[r] === o)
return e.constructor.prototype[r].apply(e, n);
throw Error("goog.base called from a method of one name to a method of a different name");
}, goog.scope = function(e) {
e.call(goog.global);
}, goog.defineClass = function(e, r) {
var t = r.constructor, o = r.statics;
return t && t != Object.prototype.constructor || (t = function() {
throw Error("cannot instantiate an interface (no constructor defined).");
}), t = goog.defineClass.createSealingConstructor_(t, e), e && goog.inherits(t, e), delete r.constructor, delete r.statics, goog.defineClass.applyProperties_(t.prototype, r), o != null && (o instanceof Function ? o(t) : goog.defineClass.applyProperties_(t, o)), t;
}, goog.defineClass.SEAL_CLASS_INSTANCES = goog.DEBUG, goog.defineClass.createSealingConstructor_ = function(e, r) {
if (goog.defineClass.SEAL_CLASS_INSTANCES && Object.seal instanceof Function) {
if (r && r.prototype && r.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_])
return e;
var t = function() {
var o = e.apply(this, arguments) || this;
return o[goog.UID_PROPERTY_] = o[goog.UID_PROPERTY_], this.constructor === t && Object.seal(o), o;
};
return t;
}
return e;
}, goog.defineClass.OBJECT_PROTOTYPE_FIELDS_ = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "), goog.defineClass.applyProperties_ = function(e, r) {
for (var t in r)
Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
for (var o = 0; o < goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length; o++)
t = goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[o], Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
}, goog.tagUnsealableClass = function(e) {
}, goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_ = "goog_defineClass_legacy_unsealable";
var jspb = { BinaryConstants: {}, ConstBinaryMessage: function() {
}, BinaryMessage: function() {
} };
jspb.BinaryConstants.FieldType = { INVALID: -1, DOUBLE: 1, FLOAT: 2, INT64: 3, UINT64: 4, INT32: 5, FIXED64: 6, FIXED32: 7, BOOL: 8, STRING: 9, GROUP: 10, MESSAGE: 11, BYTES: 12, UINT32: 13, ENUM: 14, SFIXED32: 15, SFIXED64: 16, SINT32: 17, SINT64: 18, FHASH64: 30, VHASH64: 31 }, jspb.BinaryConstants.WireType = { INVALID: -1, VARINT: 0, FIXED64: 1, DELIMITED: 2, START_GROUP: 3, END_GROUP: 4, FIXED32: 5 }, jspb.BinaryConstants.FieldTypeToWireType = function(e) {
var r = jspb.BinaryConstants.FieldType, t = jspb.BinaryConstants.WireType;
switch (e) {
case r.INT32:
case r.INT64:
case r.UINT32:
case r.UINT64:
case r.SINT32:
case r.SINT64:
case r.BOOL:
case r.ENUM:
case r.VHASH64:
return t.VARINT;
case r.DOUBLE:
case r.FIXED64:
case r.SFIXED64:
case r.FHASH64:
return t.FIXED64;
case r.STRING:
case r.MESSAGE:
case r.BYTES:
return t.DELIMITED;
case r.FLOAT:
case r.FIXED32:
case r.SFIXED32:
return t.FIXED32;
default:
return t.INVALID;
}
}, jspb.BinaryConstants.INVALID_FIELD_NUMBER = -1, jspb.BinaryConstants.FLOAT32_EPS = 1401298464324817e-60, jspb.BinaryConstants.FLOAT32_MIN = 11754943508222875e-54, jspb.BinaryConstants.FLOAT32_MAX = 34028234663852886e22, jspb.BinaryConstants.FLOAT64_EPS = 5e-324, jspb.BinaryConstants.FLOAT64_MIN = 22250738585072014e-324, jspb.BinaryConstants.FLOAT64_MAX = 17976931348623157e292, jspb.BinaryConstants.TWO_TO_20 = 1048576, jspb.BinaryConstants.TWO_TO_23 = 8388608, jspb.BinaryConstants.TWO_TO_31 = 2147483648, jspb.BinaryConstants.TWO_TO_32 = 4294967296, jspb.BinaryConstants.TWO_TO_52 = 4503599627370496, jspb.BinaryConstants.TWO_TO_63 = 9223372036854776e3, jspb.BinaryConstants.TWO_TO_64 = 18446744073709552e3, jspb.BinaryConstants.ZERO_HASH = "\0\0\0\0\0\0\0\0", goog.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(e) {
if (Error.captureStackTrace)
Error.captureStackTrace(this, goog.debug.Error);
else {
var r = Error().stack;
r && (this.stack = r);
}
e && (this.message = String(e)), 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(e, r) {
return e.lastIndexOf(r, 0) == 0;
}, goog.string.endsWith = function(e, r) {
var t = e.length - r.length;
return 0 <= t && e.indexOf(r, t) == t;
}, goog.string.caseInsensitiveStartsWith = function(e, r) {
return goog.string.caseInsensitiveCompare(r, e.substr(0, r.length)) == 0;
}, goog.string.caseInsensitiveEndsWith = function(e, r) {
return goog.string.caseInsensitiveCompare(r, e.substr(e.length - r.length, r.length)) == 0;
}, goog.string.caseInsensit