kinesis-local
Version:
A Mock API for AWS Kinesis
1,561 lines • 8.85 MB
JavaScript
#!/usr/bin/env node
'use strict';
var $i_crypto = require("crypto");
var $i_fs = require("fs");
var $i_net = require("net");
var $i_os = require("os");
var $i_path = require("path");
var $i_stream = require("stream");
var $i_tls = require("tls");
var $p;
var $fileLevelThis = this;
function $Char(c) {
this.c = c;
}
$p = $Char.prototype;
$p.toString = (function() {
return String.fromCharCode(this.c);
});
function $Long(lo, hi) {
this.l = lo;
this.h = hi;
}
$p = $Long.prototype;
$p.toString = (function() {
return $s_RTLong__toString__I__I__T(this.l, this.h);
});
function $noIsInstance(arg0) {
throw new TypeError("Cannot call isInstance() on a Class representing a JS trait/object");
}
function $objectClone(arg0) {
return Object.create(Object.getPrototypeOf(arg0), Object.getOwnPropertyDescriptors(arg0));
}
function $objectOrArrayClone(arg0) {
return (arg0.$classData.Z ? arg0.a8() : $objectClone(arg0));
}
function $objectGetClass(arg0) {
switch ((typeof arg0)) {
case "string": {
return $d_T.l();
}
case "number": {
if ($isInt(arg0)) {
if ((((arg0 << 24) >> 24) === arg0)) {
return $d_jl_Byte.l();
} else if ((((arg0 << 16) >> 16) === arg0)) {
return $d_jl_Short.l();
} else {
return $d_jl_Integer.l();
}
} else if ($isFloat(arg0)) {
return $d_jl_Float.l();
} else {
return $d_jl_Double.l();
}
}
case "boolean": {
return $d_jl_Boolean.l();
}
case "undefined": {
return $d_jl_Void.l();
}
default: {
if ((arg0 instanceof $Long)) {
return $d_jl_Long.l();
} else if ((arg0 instanceof $Char)) {
return $d_jl_Character.l();
} else if ((!(!(arg0 && arg0.$classData)))) {
return arg0.$classData.l();
} else {
return null;
}
}
}
}
function $objectClassName(arg0) {
switch ((typeof arg0)) {
case "string": {
return "java.lang.String";
}
case "number": {
if ($isInt(arg0)) {
if ((((arg0 << 24) >> 24) === arg0)) {
return "java.lang.Byte";
} else if ((((arg0 << 16) >> 16) === arg0)) {
return "java.lang.Short";
} else {
return "java.lang.Integer";
}
} else if ($isFloat(arg0)) {
return "java.lang.Float";
} else {
return "java.lang.Double";
}
}
case "boolean": {
return "java.lang.Boolean";
}
case "undefined": {
return "java.lang.Void";
}
default: {
if ((arg0 instanceof $Long)) {
return "java.lang.Long";
} else if ((arg0 instanceof $Char)) {
return "java.lang.Character";
} else if ((!(!(arg0 && arg0.$classData)))) {
return arg0.$classData.N;
} else {
return null.bM4();
}
}
}
}
function $dp_charAt__I__C(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__charAt__I__C(instance, x0);
} else {
return instance.w5(x0);
}
}
function $dp_codePointAt__I__I(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__codePointAt__I__I(instance, x0);
} else {
return instance.bLT(x0);
}
}
function $dp_codePointBefore__I__I(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__codePointBefore__I__I(instance, x0);
} else {
return instance.bLU(x0);
}
}
function $dp_compareTo__O__I(instance, x0) {
switch ((typeof instance)) {
case "string": {
return $f_T__compareTo__O__I(instance, x0);
}
case "number": {
return $f_jl_Double__compareTo__O__I(instance, x0);
}
case "boolean": {
return $f_jl_Boolean__compareTo__O__I(instance, x0);
}
default: {
if ((instance instanceof $Long)) {
return $f_jl_Long__compareTo__O__I(instance.l, instance.h, x0);
} else if ((instance instanceof $Char)) {
return $f_jl_Character__compareTo__O__I(instance.c, x0);
} else {
return instance.cY(x0);
}
}
}
}
function $dp_compareTo__T__I(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__compareTo__T__I(instance, x0);
} else {
return instance.bLV(x0);
}
}
function $dp_compareToIgnoreCase__T__I(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__compareToIgnoreCase__T__I(instance, x0);
} else {
return instance.bLW(x0);
}
}
function $dp_equals__O__Z(instance, x0) {
switch ((typeof instance)) {
case "string": {
return $f_T__equals__O__Z(instance, x0);
}
case "number": {
return $f_jl_Double__equals__O__Z(instance, x0);
}
case "boolean": {
return $f_jl_Boolean__equals__O__Z(instance, x0);
}
case "undefined": {
return $f_jl_Void__equals__O__Z(instance, x0);
}
default: {
if (((!(!(instance && instance.$classData))) || (instance === null))) {
return instance.b(x0);
} else if ((instance instanceof $Long)) {
return $f_jl_Long__equals__O__Z(instance.l, instance.h, x0);
} else if ((instance instanceof $Char)) {
return $f_jl_Character__equals__O__Z(instance.c, x0);
} else {
return $c_O.prototype.b.call(instance, x0);
}
}
}
}
function $dp_getBytes__T__AB(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__getBytes__T__AB(instance, x0);
} else {
return instance.bM2(x0);
}
}
function $dp_getBytes__Ljava_nio_charset_Charset__AB(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__getBytes__Ljava_nio_charset_Charset__AB(instance, x0);
} else {
return instance.bM3(x0);
}
}
function $dp_getChars__I__I__AC__I__V(instance, x0, x1, x2, x3) {
if (((typeof instance) === "string")) {
return $f_T__getChars__I__I__AC__I__V(instance, x0, x1, x2, x3);
} else {
return instance.baw(x0, x1, x2, x3);
}
}
function $dp_hashCode__I(instance) {
switch ((typeof instance)) {
case "string": {
return $f_T__hashCode__I(instance);
}
case "number": {
return $f_jl_Double__hashCode__I(instance);
}
case "boolean": {
return $f_jl_Boolean__hashCode__I(instance);
}
case "undefined": {
return $f_jl_Void__hashCode__I(instance);
}
default: {
if (((!(!(instance && instance.$classData))) || (instance === null))) {
return instance.g();
} else if ((instance instanceof $Long)) {
return $f_jl_Long__hashCode__I(instance.l, instance.h);
} else if ((instance instanceof $Char)) {
return $f_jl_Character__hashCode__I(instance.c);
} else {
return $c_O.prototype.g.call(instance);
}
}
}
}
function $dp_indexOf__I__I(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__indexOf__I__I(instance, x0);
} else {
return instance.bM7(x0);
}
}
function $dp_indexOf__I__I__I(instance, x0, x1) {
if (((typeof instance) === "string")) {
return $f_T__indexOf__I__I__I(instance, x0, x1);
} else {
return instance.bM6(x0, x1);
}
}
function $dp_lastIndexOf__I__I(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__lastIndexOf__I__I(instance, x0);
} else {
return instance.bMb(x0);
}
}
function $dp_length__I(instance) {
if (((typeof instance) === "string")) {
return $f_T__length__I(instance);
} else {
return instance.y();
}
}
function $dp_regionMatches__Z__I__T__I__I__Z(instance, x0, x1, x2, x3, x4) {
if (((typeof instance) === "string")) {
return $f_T__regionMatches__Z__I__T__I__I__Z(instance, x0, x1, x2, x3, x4);
} else {
return instance.bMf(x0, x1, x2, x3, x4);
}
}
function $dp_repeat__I__T(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__repeat__I__T(instance, x0);
} else {
return instance.bMh(x0);
}
}
function $dp_replaceAll__T__T__T(instance, x0, x1) {
if (((typeof instance) === "string")) {
return $f_T__replaceAll__T__T__T(instance, x0, x1);
} else {
return instance.bMi(x0, x1);
}
}
function $dp_replaceFirst__T__T__T(instance, x0, x1) {
if (((typeof instance) === "string")) {
return $f_T__replaceFirst__T__T__T(instance, x0, x1);
} else {
return instance.bMj(x0, x1);
}
}
function $dp_split__T__I__AT(instance, x0, x1) {
if (((typeof instance) === "string")) {
return $f_T__split__T__I__AT(instance, x0, x1);
} else {
return instance.bMm(x0, x1);
}
}
function $dp_subSequence__I__I__jl_CharSequence(instance, x0, x1) {
if (((typeof instance) === "string")) {
return $f_T__subSequence__I__I__jl_CharSequence(instance, x0, x1);
} else {
return instance.a7o(x0, x1);
}
}
function $dp_toCharArray__AC(instance) {
if (((typeof instance) === "string")) {
return $f_T__toCharArray__AC(instance);
} else {
return instance.bgr();
}
}
function $dp_toLowerCase__ju_Locale__T(instance, x0) {
if (((typeof instance) === "string")) {
return $f_T__toLowerCase__ju_Locale__T(instance, x0);
} else {
return instance.bMr(x0);
}
}
function $dp_toString__T(instance) {
return ((instance === (void 0)) ? "undefined" : instance.toString());
}
function $dp_trim__T(instance) {
if (((typeof instance) === "string")) {
return $f_T__trim__T(instance);
} else {
return instance.bMs();
}
}
function $checkIntDivisor(arg0) {
if ((arg0 === 0)) {
throw new $c_jl_ArithmeticException("/ by zero");
} else {
return arg0;
}
}
function $doubleToInt(arg0) {
return ((arg0 > 2147483647) ? 2147483647 : ((arg0 < (-2147483648)) ? (-2147483648) : (arg0 | 0)));
}
function $cToS(arg0) {
return String.fromCharCode(arg0);
}
var $fpBitsDataView = new DataView(new ArrayBuffer(8));
function $floatToBits(arg0) {
var dataView = $fpBitsDataView;
dataView.setFloat32(0, arg0, true);
return dataView.getInt32(0, true);
}
function $floatFromBits(arg0) {
var dataView = $fpBitsDataView;
dataView.setInt32(0, arg0, true);
return dataView.getFloat32(0, true);
}
function $doubleToBits(arg0) {
var dataView = $fpBitsDataView;
return $s_RTLong__fromDoubleBits__D__O__J(arg0, dataView);
}
function $doubleFromBits(arg0) {
var dataView = $fpBitsDataView;
return $s_RTLong__bitsToDouble__I__I__O__D(arg0.l, arg0.h, dataView);
}
function $resolveSuperRef(arg0, arg1) {
var getPrototypeOf = Object.getPrototyeOf;
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
var superProto = arg0.prototype;
while ((superProto !== null)) {
var desc = getOwnPropertyDescriptor(superProto, arg1);
if ((desc !== (void 0))) {
return desc;
}
superProto = getPrototypeOf(superProto);
}
}
function $superGet(arg0, arg1, arg2) {
var desc = $resolveSuperRef(arg0, arg2);
if ((desc !== (void 0))) {
var getter = desc.get;
return ((getter !== (void 0)) ? getter.call(arg1) : getter.value);
}
}
function $superSet(arg0, arg1, arg2, arg3) {
var desc = $resolveSuperRef(arg0, arg2);
if ((desc !== (void 0))) {
var setter = desc.set;
if ((setter !== (void 0))) {
setter.call(arg1, arg3);
return (void 0);
}
}
throw new TypeError((("super has no setter '" + arg2) + "'."));
}
function $moduleDefault(arg0) {
return (((arg0 && ((typeof arg0) === "object")) && ("default" in arg0)) ? arg0["default"] : arg0);
}
function $arraycopyGeneric(arg0, arg1, arg2, arg3, arg4) {
if (((arg0 !== arg2) || (((arg3 - arg1) >>> 0) > (arg4 >>> 0)))) {
for (var i = 0; (i < arg4); i = ((i + 1) | 0)) {
arg2[((arg3 + i) | 0)] = arg0[((arg1 + i) | 0)];
}
} else {
for (var i = ((arg4 - 1) | 0); (i >= 0); i = ((i - 1) | 0)) {
arg2[((arg3 + i) | 0)] = arg0[((arg1 + i) | 0)];
}
}
}
var $lastIDHash = 0;
var $idHashCodeMap = new WeakMap();
function $systemIdentityHashCode(obj) {
switch ((typeof obj)) {
case "string": {
return $f_T__hashCode__I(obj);
}
case "number": {
return $f_jl_Double__hashCode__I(obj);
}
case "bigint": {
var biHash = 0;
if ((obj < BigInt(0))) {
obj = (~obj);
}
while ((obj !== BigInt(0))) {
biHash = (biHash ^ Number(BigInt.asIntN(32, obj)));
obj = (obj >> BigInt(32));
}
return biHash;
}
case "boolean": {
return (obj ? 1231 : 1237);
}
case "undefined": {
return 0;
}
case "symbol": {
var description = obj.description;
return ((description === (void 0)) ? 0 : $f_T__hashCode__I(description));
}
default: {
if ((obj === null)) {
return 0;
} else {
var hash = $idHashCodeMap.get(obj);
if ((hash === (void 0))) {
hash = (($lastIDHash + 1) | 0);
$lastIDHash = hash;
$idHashCodeMap.set(obj, hash);
}
return hash;
}
}
}
}
function $isByte(arg0) {
return ((((typeof arg0) === "number") && (((arg0 << 24) >> 24) === arg0)) && ((1 / arg0) !== (1 / (-0))));
}
function $isShort(arg0) {
return ((((typeof arg0) === "number") && (((arg0 << 16) >> 16) === arg0)) && ((1 / arg0) !== (1 / (-0))));
}
function $isInt(arg0) {
return ((((typeof arg0) === "number") && ((arg0 | 0) === arg0)) && ((1 / arg0) !== (1 / (-0))));
}
function $isFloat(arg0) {
return (((typeof arg0) === "number") && ((arg0 !== arg0) || (Math.fround(arg0) === arg0)));
}
function $bC(arg0) {
return new $Char(arg0);
}
var $bC0 = $bC(0);
function $bL(arg0, arg1) {
return new $Long(arg0, arg1);
}
var $bL0 = $bL(0, 0);
function $uC(arg0) {
return ((arg0 === null) ? 0 : arg0.c);
}
function $uJ(arg0) {
return ((arg0 === null) ? $bL0 : arg0);
}
function $ct_O__($thiz) {
return $thiz;
}
/** @constructor */
function $c_O() {
}
$p = $c_O.prototype;
$p.constructor = $c_O;
/** @constructor */
function $h_O() {
}
$h_O.prototype = $p;
$p.g = (function() {
return $systemIdentityHashCode(this);
});
$p.b = (function(that) {
return (this === that);
});
$p.e = (function() {
var i = this.g();
return (($objectClassName(this) + "@") + (i >>> 0.0).toString(16));
});
$p.toString = (function() {
return this.e();
});
function $ac_O(arg) {
if (((typeof arg) === "number")) {
this.a = new Array(arg);
for (var i = 0; (i < arg); (i++)) {
this.a[i] = null;
}
} else {
this.a = arg;
}
}
$p = $ac_O.prototype = new $h_O();
$p.constructor = $ac_O;
$p.a4 = (function(srcPos, dest, destPos, length) {
$arraycopyGeneric(this.a, srcPos, dest.a, destPos, length);
});
$p.a8 = (function() {
return new $ac_O(this.a.slice());
});
function $ah_O() {
}
$ah_O.prototype = $p;
function $ac_Z(arg) {
if (((typeof arg) === "number")) {
this.a = new Array(arg);
for (var i = 0; (i < arg); (i++)) {
this.a[i] = false;
}
} else {
this.a = arg;
}
}
$p = $ac_Z.prototype = new $h_O();
$p.constructor = $ac_Z;
$p.a4 = (function(srcPos, dest, destPos, length) {
$arraycopyGeneric(this.a, srcPos, dest.a, destPos, length);
});
$p.a8 = (function() {
return new $ac_Z(this.a.slice());
});
function $ac_C(arg) {
if (((typeof arg) === "number")) {
this.a = new Uint16Array(arg);
} else {
this.a = arg;
}
}
$p = $ac_C.prototype = new $h_O();
$p.constructor = $ac_C;
$p.a4 = (function(srcPos, dest, destPos, length) {
dest.a.set(this.a.subarray(srcPos, ((srcPos + length) | 0)), destPos);
});
$p.a8 = (function() {
return new $ac_C(this.a.slice());
});
function $ac_B(arg) {
if (((typeof arg) === "number")) {
this.a = new Int8Array(arg);
} else {
this.a = arg;
}
}
$p = $ac_B.prototype = new $h_O();
$p.constructor = $ac_B;
$p.a4 = (function(srcPos, dest, destPos, length) {
dest.a.set(this.a.subarray(srcPos, ((srcPos + length) | 0)), destPos);
});
$p.a8 = (function() {
return new $ac_B(this.a.slice());
});
function $ac_S(arg) {
if (((typeof arg) === "number")) {
this.a = new Int16Array(arg);
} else {
this.a = arg;
}
}
$p = $ac_S.prototype = new $h_O();
$p.constructor = $ac_S;
$p.a4 = (function(srcPos, dest, destPos, length) {
dest.a.set(this.a.subarray(srcPos, ((srcPos + length) | 0)), destPos);
});
$p.a8 = (function() {
return new $ac_S(this.a.slice());
});
function $ac_I(arg) {
if (((typeof arg) === "number")) {
this.a = new Int32Array(arg);
} else {
this.a = arg;
}
}
$p = $ac_I.prototype = new $h_O();
$p.constructor = $ac_I;
$p.a4 = (function(srcPos, dest, destPos, length) {
dest.a.set(this.a.subarray(srcPos, ((srcPos + length) | 0)), destPos);
});
$p.a8 = (function() {
return new $ac_I(this.a.slice());
});
function $ac_J(arg) {
if (((typeof arg) === "number")) {
arg = (arg << 1);
this.a = new Int32Array(arg);
} else {
this.a = arg;
}
}
$p = $ac_J.prototype = new $h_O();
$p.constructor = $ac_J;
$p.a4 = (function(srcPos, dest, destPos, length) {
dest.a.set(this.a.subarray((srcPos << 1), (((srcPos + length) | 0) << 1)), (destPos << 1));
});
$p.a8 = (function() {
return new $ac_J(this.a.slice());
});
function $ac_F(arg) {
if (((typeof arg) === "number")) {
this.a = new Float32Array(arg);
} else {
this.a = arg;
}
}
$p = $ac_F.prototype = new $h_O();
$p.constructor = $ac_F;
$p.a4 = (function(srcPos, dest, destPos, length) {
dest.a.set(this.a.subarray(srcPos, ((srcPos + length) | 0)), destPos);
});
$p.a8 = (function() {
return new $ac_F(this.a.slice());
});
function $ac_D(arg) {
if (((typeof arg) === "number")) {
this.a = new Float64Array(arg);
} else {
this.a = arg;
}
}
$p = $ac_D.prototype = new $h_O();
$p.constructor = $ac_D;
$p.a4 = (function(srcPos, dest, destPos, length) {
dest.a.set(this.a.subarray(srcPos, ((srcPos + length) | 0)), destPos);
});
$p.a8 = (function() {
return new $ac_D(this.a.slice());
});
function $TypeData() {
this.C = (void 0);
this.n = null;
this.O = null;
this.B = null;
this.D = 0;
this.z = null;
this.E = "";
this.L = (void 0);
this.A = (void 0);
this.F = (void 0);
this.w = (void 0);
this.J = false;
this.N = "";
this.X = false;
this.Y = false;
this.Z = false;
this.I = (void 0);
}
$p = $TypeData.prototype;
$p.p = (function(zero, arrayEncodedName, displayName, arrayClass, typedArrayClass) {
this.n = ({});
this.z = zero;
this.E = arrayEncodedName;
var self = this;
this.F = ((that) => (that === self));
this.N = displayName;
this.X = true;
this.I = ((obj) => false);
if ((arrayClass !== (void 0))) {
this.A = new $TypeData().y(this, arrayClass, typedArrayClass, (arrayEncodedName === "J"));
}
return this;
});
$p.i = (function(kindOrCtor, fullName, ancestors, isInstance) {
var internalName = Object.getOwnPropertyNames(ancestors)[0];
this.n = ancestors;
this.E = (("L" + fullName) + ";");
this.F = ((that) => (!(!that.n[internalName])));
this.J = (kindOrCtor === 2);
this.N = fullName;
this.Y = (kindOrCtor === 1);
this.I = (isInstance || ((obj) => (!(!((obj && obj.$classData) && obj.$classData.n[internalName])))));
if (((typeof kindOrCtor) !== "number")) {
kindOrCtor.prototype.$classData = this;
}
return this;
});
$p.y = (function(componentData, arrayClass, typedArrayClass, isLongArray, isAssignableFromFun) {
arrayClass.prototype.$classData = this;
var name = ("[" + componentData.E);
this.C = arrayClass;
this.n = ({
U: 1,
a: 1
});
this.O = componentData;
this.B = componentData;
this.D = 1;
this.E = name;
this.N = name;
this.Z = true;
var self = this;
this.F = (isAssignableFromFun || ((that) => (self === that)));
this.w = (isLongArray ? ((array) => {
var len = (array.length | 0);
var result = new arrayClass(len);
var u = result.a;
for (var i = 0; (i < len); i = ((i + 1) | 0)) {
var srcElem = array[i];
u[(i << 1)] = srcElem.l;
u[(((i << 1) + 1) | 0)] = srcElem.h;
}
return result;
}) : (typedArrayClass ? ((array) => new arrayClass(new typedArrayClass(array))) : ((array) => new arrayClass(array))));
this.I = ((obj) => (obj instanceof arrayClass));
return this;
});
$p.a = (function(componentData) {
function ArrayClass(arg) {
if (((typeof arg) === "number")) {
this.a = new Array(arg);
for (var i = 0; (i < arg); (i++)) {
this.a[i] = null;
}
} else {
this.a = arg;
}
}
var $p = ArrayClass.prototype = new $ah_O();
$p.constructor = ArrayClass;
$p.a4 = (function(srcPos, dest, destPos, length) {
$arraycopyGeneric(this.a, srcPos, dest.a, destPos, length);
});
$p.a8 = (function() {
return new ArrayClass(this.a.slice());
});
$p.$classData = this;
var arrayBase = (componentData.B || componentData);
var arrayDepth = (componentData.D + 1);
var name = ("[" + componentData.E);
this.C = ArrayClass;
this.n = ({
U: 1,
a: 1
});
this.O = componentData;
this.B = arrayBase;
this.D = arrayDepth;
this.E = name;
this.N = name;
this.Z = true;
var isAssignableFromFun = ((that) => {
var thatDepth = that.D;
return ((thatDepth === arrayDepth) ? arrayBase.F(that.B) : ((thatDepth > arrayDepth) && (arrayBase === $d_O)));
});
this.F = isAssignableFromFun;
this.w = ((array) => new ArrayClass(array));
var self = this;
this.I = ((obj) => {
var data = (obj && obj.$classData);
return ((!(!data)) && ((data === self) || isAssignableFromFun(data)));
});
return this;
});
$p.r = (function() {
if ((!this.A)) {
this.A = new $TypeData().a(this);
}
return this.A;
});
$p.l = (function() {
if ((!this.L)) {
this.L = new $c_jl_Class(this);
}
return this.L;
});
$p.R = (function(that) {
return ((this === that) || this.F(that));
});
$p.S = (function() {
return (this.P ? this.P.l() : null);
});
$p.Q = (function() {
return (this.O ? this.O.l() : null);
});
$p.U = (function(length) {
if ((this === $d_V)) {
throw $ct_jl_IllegalArgumentException__(new $c_jl_IllegalArgumentException());
}
return new (this.r().C)(length);
});
function $isArrayOf_O(obj, depth) {
var data = (obj && obj.$classData);
if ((!data)) {
return false;
} else {
var arrayDepth = data.D;
return ((arrayDepth === depth) ? (!data.B.X) : (arrayDepth > depth));
}
}
function $isArrayOf_Z(obj, depth) {
return (!(!(((obj && obj.$classData) && (obj.$classData.D === depth)) && (obj.$classData.B === $d_Z))));
}
function $isArrayOf_C(obj, depth) {
return (!(!(((obj && obj.$classData) && (obj.$classData.D === depth)) && (obj.$classData.B === $d_C))));
}
function $isArrayOf_B(obj, depth) {
return (!(!(((obj && obj.$classData) && (obj.$classData.D === depth)) && (obj.$classData.B === $d_B))));
}
function $isArrayOf_S(obj, depth) {
return (!(!(((obj && obj.$classData) && (obj.$classData.D === depth)) && (obj.$classData.B === $d_S))));
}
function $isArrayOf_I(obj, depth) {
return (!(!(((obj && obj.$classData) && (obj.$classData.D === depth)) && (obj.$classData.B === $d_I))));
}
function $isArrayOf_J(obj, depth) {
return (!(!(((obj && obj.$classData) && (obj.$classData.D === depth)) && (obj.$classData.B === $d_J))));
}
function $isArrayOf_F(obj, depth) {
return (!(!(((obj && obj.$classData) && (obj.$classData.D === depth)) && (obj.$classData.B === $d_F))));
}
function $isArrayOf_D(obj, depth) {
return (!(!(((obj && obj.$classData) && (obj.$classData.D === depth)) && (obj.$classData.B === $d_D))));
}
var $d_O = new $TypeData();
$d_O.n = ({});
$d_O.E = "Ljava.lang.Object;";
$d_O.F = ((that) => (!that.X));
$d_O.N = "java.lang.Object";
$d_O.I = ((obj) => (obj !== null));
$d_O.A = new $TypeData().y($d_O, $ac_O, (void 0), false, ((that) => {
var thatDepth = that.D;
return ((thatDepth === 1) ? (!that.B.X) : (thatDepth > 1));
}));
$c_O.prototype.$classData = $d_O;
var $d_V = new $TypeData().p((void 0), "V", "void", (void 0), (void 0));
var $d_Z = new $TypeData().p(false, "Z", "boolean", $ac_Z, (void 0));
var $d_C = new $TypeData().p(0, "C", "char", $ac_C, Uint16Array);
var $d_B = new $TypeData().p(0, "B", "byte", $ac_B, Int8Array);
var $d_S = new $TypeData().p(0, "S", "short", $ac_S, Int16Array);
var $d_I = new $TypeData().p(0, "I", "int", $ac_I, Int32Array);
var $d_J = new $TypeData().p($bL0, "J", "long", $ac_J, Int32Array);
var $d_F = new $TypeData().p(0.0, "F", "float", $ac_F, Float32Array);
var $d_D = new $TypeData().p(0.0, "D", "double", $ac_D, Float64Array);
/** @constructor */
function $c_Lcats_Eval$FnStack() {
}
$p = $c_Lcats_Eval$FnStack.prototype = new $h_O();
$p.constructor = $c_Lcats_Eval$FnStack;
/** @constructor */
function $h_Lcats_Eval$FnStack() {
}
$h_Lcats_Eval$FnStack.prototype = $p;
/** @constructor */
function $c_Lcats_EvalInstances1() {
}
$p = $c_Lcats_EvalInstances1.prototype = new $h_O();
$p.constructor = $c_Lcats_EvalInstances1;
/** @constructor */
function $h_Lcats_EvalInstances1() {
}
$h_Lcats_EvalInstances1.prototype = $p;
function $f_Lcats_FlatMapArityFunctions__flatMap2__O__O__F2__O($thiz, f0, f1, f) {
return $thiz.fE($thiz.cz(f0, f1, f));
}
function $p_Lcats_Foldable$__loop$3__F2__Lcats_Eval__sc_Iterator__Lcats_Eval($thiz, f$19, lb$2, it) {
$m_Lcats_Eval$();
return new $c_Lcats_Eval$$anon$5(new $c_sjsr_AnonFunction0_$$Lambda$2bf0f8dc580d6edeb2d6a336c52a1bab3049702d((() => (it.r() ? f$19.ad(it.o(), $p_Lcats_Foldable$__loop$3__F2__Lcats_Eval__sc_Iterator__Lcats_Eval($thiz, f$19, lb$2, it)) : lb$2))));
}
/** @constructor */
function $c_Lcats_Foldable$() {
this.ahj = null;
$n_Lcats_Foldable$ = this;
this.ahj = new $c_Lcats_Foldable$$anon$2();
}
$p = $c_Lcats_Foldable$.prototype = new $h_O();
$p.constructor = $c_Lcats_Foldable$;
/** @constructor */
function $h_Lcats_Foldable$() {
}
$h_Lcats_Foldable$.prototype = $p;
$p.bbB = (function(iterable, lb, f) {
return ($m_Lcats_Eval$(), new $c_Lcats_Always(new $c_sjsr_AnonFunction0_$$Lambda$2bf0f8dc580d6edeb2d6a336c52a1bab3049702d((() => iterable.q())))).qh(new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((it) => $p_Lcats_Foldable$__loop$3__F2__Lcats_Eval__sc_Iterator__Lcats_Eval(this, f, lb, it))));
});
var $d_Lcats_Foldable$ = new $TypeData().i($c_Lcats_Foldable$, "cats.Foldable$", ({
xA: 1
}));
var $n_Lcats_Foldable$;
function $m_Lcats_Foldable$() {
if ((!$n_Lcats_Foldable$)) {
$n_Lcats_Foldable$ = new $c_Lcats_Foldable$();
}
return $n_Lcats_Foldable$;
}
/** @constructor */
function $c_Lcats_Foldable$Source() {
}
$p = $c_Lcats_Foldable$Source.prototype = new $h_O();
$p.constructor = $c_Lcats_Foldable$Source;
/** @constructor */
function $h_Lcats_Foldable$Source() {
}
$h_Lcats_Foldable$Source.prototype = $p;
/** @constructor */
function $c_Lcats_Foldable$Source$() {
this.avb = null;
$n_Lcats_Foldable$Source$ = this;
this.avb = new $c_Lcats_Foldable$Source$$anon$3();
}
$p = $c_Lcats_Foldable$Source$.prototype = new $h_O();
$p.constructor = $c_Lcats_Foldable$Source$;
/** @constructor */
function $h_Lcats_Foldable$Source$() {
}
$h_Lcats_Foldable$Source$.prototype = $p;
$p.bue = (function(fa, F) {
return F.ke(fa, new $c_Lcats_Now(this.avb), new $c_sjsr_AnonFunction2_$$Lambda$770e9b86e03b055b1d78d82135c9f39ea48d32d7(((a, evalSrc) => new $c_Lcats_Later(new $c_sjsr_AnonFunction0_$$Lambda$2bf0f8dc580d6edeb2d6a336c52a1bab3049702d(((evalSrc$2) => (() => new $c_Lcats_Foldable$Source$$anon$4(a, evalSrc$2)))(evalSrc)))))).dK();
});
var $d_Lcats_Foldable$Source$ = new $TypeData().i($c_Lcats_Foldable$Source$, "cats.Foldable$Source$", ({
xD: 1
}));
var $n_Lcats_Foldable$Source$;
function $m_Lcats_Foldable$Source$() {
if ((!$n_Lcats_Foldable$Source$)) {
$n_Lcats_Foldable$Source$ = new $c_Lcats_Foldable$Source$();
}
return $n_Lcats_Foldable$Source$;
}
function $f_Lcats_SemigroupalArityFunctions__map2__O__O__F2__Lcats_Semigroupal__Lcats_Functor__O($thiz, f0, f1, f, semigroupal, functor) {
return functor.F(semigroupal.c8(f0, f1), new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((x$1) => {
if ((x$1 !== null)) {
var a0 = x$1.m();
var a1 = x$1.n();
return f.ad(a0, a1);
}
throw new $c_s_MatchError(x$1);
})));
}
function $f_Lcats_SemigroupalArityFunctions__imap2__O__O__F2__F1__Lcats_Semigroupal__Lcats_Invariant__O($thiz, f0, f1, f, g, semigroupal, invariant) {
return invariant.ch(semigroupal.c8(f0, f1), new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((x$1) => {
if ((x$1 !== null)) {
var a0 = x$1.m();
var a1 = x$1.n();
return f.ad(a0, a1);
}
throw new $c_s_MatchError(x$1);
})), new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((z) => {
matchResult4: {
var \u03b42$___1;
var \u03b42$___2;
var x10 = g.d(z);
if ((x10 !== null)) {
var \u03b42$___1 = x10.m();
var \u03b42$___2 = x10.n();
break matchResult4;
}
throw new $c_s_MatchError(x10);
}
return $ct_T2__O__O__(new $c_T2(), \u03b42$___1, \u03b42$___2);
})));
}
function $f_Lcats_SemigroupalArityFunctions__tuple2__O__O__Lcats_Semigroupal__Lcats_Invariant__O($thiz, f0, f1, semigroupal, invariant) {
return $f_Lcats_SemigroupalArityFunctions__imap2__O__O__F2__F1__Lcats_Semigroupal__Lcats_Invariant__O($thiz, f0, f1, new $c_sjsr_AnonFunction2_$$Lambda$770e9b86e03b055b1d78d82135c9f39ea48d32d7(((_1, _2) => $ct_T2__O__O__(new $c_T2(), _1, _2))), new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((x) => x)), semigroupal, invariant);
}
function $f_Lcats_SemigroupalArityFunctions__map4__O__O__O__O__F4__Lcats_Semigroupal__Lcats_Functor__O($thiz, f0, f1, f2, f3, f, semigroupal, functor) {
return functor.F(semigroupal.c8(f0, semigroupal.c8(f1, semigroupal.c8(f2, f3))), new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((x$1) => {
if ((x$1 !== null)) {
var x41 = x$1.n();
var a0 = x$1.m();
if ((x41 !== null)) {
var x43 = x41.n();
var a1 = x41.m();
if ((x43 !== null)) {
var a2 = x43.m();
var a3 = x43.n();
return f.b66(a0, a1, a2, a3);
}
}
}
throw new $c_s_MatchError(x$1);
})));
}
function $f_Lcats_SemigroupalArityFunctions__imap4__O__O__O__O__F4__F1__Lcats_Semigroupal__Lcats_Invariant__O($thiz, f0, f1, f2, f3, f, g, semigroupal, invariant) {
return invariant.ch(semigroupal.c8(f0, semigroupal.c8(f1, semigroupal.c8(f2, f3))), new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((x$1) => {
if ((x$1 !== null)) {
var x53 = x$1.n();
var a0 = x$1.m();
if ((x53 !== null)) {
var x55 = x53.n();
var a1 = x53.m();
if ((x55 !== null)) {
var a2 = x55.m();
var a3 = x55.n();
return f.b66(a0, a1, a2, a3);
}
}
}
throw new $c_s_MatchError(x$1);
})), new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((z) => {
matchResult14: {
var \u03b46$___1;
var \u03b46$___2;
var \u03b46$___3;
var \u03b46$___4;
var x58 = g.d(z);
if ((x58 !== null)) {
var \u03b46$___1 = x58.ll;
var \u03b46$___2 = x58.m7;
var \u03b46$___3 = x58.kG;
var \u03b46$___4 = x58.kH;
break matchResult14;
}
throw new $c_s_MatchError(x58);
}
return $ct_T2__O__O__(new $c_T2(), \u03b46$___1, $ct_T2__O__O__(new $c_T2(), \u03b46$___2, $ct_T2__O__O__(new $c_T2(), \u03b46$___3, \u03b46$___4)));
})));
}
function $f_Lcats_SemigroupalArityFunctions__tuple4__O__O__O__O__Lcats_Semigroupal__Lcats_Invariant__O($thiz, f0, f1, f2, f3, semigroupal, invariant) {
return $f_Lcats_SemigroupalArityFunctions__imap4__O__O__O__O__F4__F1__Lcats_Semigroupal__Lcats_Invariant__O($thiz, f0, f1, f2, f3, new $c_sjsr_AnonFunction4_$$Lambda$120c664e6fb20e1c3552e9e8baf775b7682c102c(((_1, _2, _3, _4) => new $c_T4(_1, _2, _3, _4))), new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((x) => x)), semigroupal, invariant);
}
/** @constructor */
function $c_Lcats_Show$ShowInterpolator$() {
}
$p = $c_Lcats_Show$ShowInterpolator$.prototype = new $h_O();
$p.constructor = $c_Lcats_Show$ShowInterpolator$;
/** @constructor */
function $h_Lcats_Show$ShowInterpolator$() {
}
$h_Lcats_Show$ShowInterpolator$.prototype = $p;
$p.e = (function() {
return "ShowInterpolator";
});
$p.aub = (function(this$, args) {
var f = ((str) => $m_s_StringContext$().bdH(str));
var parts = this$.Tb;
$m_s_StringContext$().b7h(args, parts);
var pi = parts.q();
var ai = args.q();
var x0 = pi.o();
var bldr = $ct_jl_StringBuilder__T__(new $c_jl_StringBuilder(), f(x0));
while (ai.r()) {
var obj = ai.o();
bldr.s = (("" + bldr.s) + obj);
var x0$1 = pi.o();
var str$1 = f(x0$1);
bldr.s = (("" + bldr.s) + str$1);
}
return bldr.s;
});
var $d_Lcats_Show$ShowInterpolator$ = new $TypeData().i($c_Lcats_Show$ShowInterpolator$, "cats.Show$ShowInterpolator$", ({
yd: 1
}));
var $n_Lcats_Show$ShowInterpolator$;
function $m_Lcats_Show$ShowInterpolator$() {
if ((!$n_Lcats_Show$ShowInterpolator$)) {
$n_Lcats_Show$ShowInterpolator$ = new $c_Lcats_Show$ShowInterpolator$();
}
return $n_Lcats_Show$ShowInterpolator$;
}
/** @constructor */
function $c_Lcats_Show$Shown$() {
}
$p = $c_Lcats_Show$Shown$.prototype = new $h_O();
$p.constructor = $c_Lcats_Show$Shown$;
/** @constructor */
function $h_Lcats_Show$Shown$() {
}
$h_Lcats_Show$Shown$.prototype = $p;
$p.afM = (function(x, z) {
return z.cn(x);
});
$p.bs9 = (function(this$, x$0) {
return ((x$0 instanceof $c_Lcats_Show$Shown) && (this$ === ((x$0 === null) ? null : x$0.N2)));
});
$p.bDm = (function(this$, n) {
if ((n === 0)) {
return this$;
}
throw $ct_jl_IndexOutOfBoundsException__T__(new $c_jl_IndexOutOfBoundsException(), ("" + n));
});
var $d_Lcats_Show$Shown$ = new $TypeData().i($c_Lcats_Show$Shown$, "cats.Show$Shown$", ({
ye: 1
}));
var $n_Lcats_Show$Shown$;
function $m_Lcats_Show$Shown$() {
if ((!$n_Lcats_Show$Shown$)) {
$n_Lcats_Show$Shown$ = new $c_Lcats_Show$Shown$();
}
return $n_Lcats_Show$Shown$;
}
/** @constructor */
function $c_Lcats_Traverse$() {
}
$p = $c_Lcats_Traverse$.prototype = new $h_O();
$p.constructor = $c_Lcats_Traverse$;
/** @constructor */
function $h_Lcats_Traverse$() {
}
$h_Lcats_Traverse$.prototype = $p;
$p.a7G = (function(fa, f, G) {
var this$4 = fa.q();
var z = G.L($m_Lcats_data_Chain$().gU);
var f$1 = ((x$1, x$2) => $f_Lcats_FlatMap__map2__O__O__F2__O(G, x$1, f.d(x$2), new $c_sjsr_AnonFunction2_$$Lambda$770e9b86e03b055b1d78d82135c9f39ea48d32d7(((x$1$2, x$2$2) => x$1$2.vZ(x$2$2)))));
if ($is_sc_IndexedSeq(this$4)) {
var at = 0;
var end = this$4.y();
var acc = z;
while (true) {
if ((at === end)) {
return acc;
} else {
var temp$at = ((1 + at) | 0);
var x0 = acc;
var x1 = this$4.R(at);
var temp$acc = f$1(x0, x1);
at = temp$at;
acc = temp$acc;
}
}
} else {
var result = z;
while (this$4.r()) {
var x0$1 = result;
var x1$1 = this$4.o();
result = f$1(x0$1, x1$1);
}
return result;
}
});
$p.a7I = (function(fa, f, G) {
var iter = fa.q();
if (iter.r()) {
var first = iter.o();
var z = f.d(first);
var f$1 = ((x$1, x$2) => G.au(x$1, f.d(x$2)));
if ($is_sc_IndexedSeq(iter)) {
var at = 0;
var end = iter.y();
var acc = z;
var $x_1;
while (true) {
if ((at !== end)) {
var temp$at = ((1 + at) | 0);
var x0 = acc;
var x1 = iter.R(at);
var temp$acc = f$1(x0, x1);
at = temp$at;
acc = temp$acc;
continue;
}
var $x_1 = acc;
break;
}
} else {
var result = z;
while (iter.r()) {
var x0$1 = result;
var x1$1 = iter.o();
result = f$1(x0$1, x1$1);
}
var $x_1 = result;
}
return G.af($x_1);
} else {
return G.a1();
}
});
var $d_Lcats_Traverse$ = new $TypeData().i($c_Lcats_Traverse$, "cats.Traverse$", ({
yh: 1
}));
var $n_Lcats_Traverse$;
function $m_Lcats_Traverse$() {
if ((!$n_Lcats_Traverse$)) {
$n_Lcats_Traverse$ = new $c_Lcats_Traverse$();
}
return $n_Lcats_Traverse$;
}
/** @constructor */
function $c_Lcats_TraverseFilter$() {
}
$p = $c_Lcats_TraverseFilter$.prototype = new $h_O();
$p.constructor = $c_Lcats_TraverseFilter$;
/** @constructor */
function $h_Lcats_TraverseFilter$() {
}
$h_Lcats_TraverseFilter$.prototype = $p;
$p.agV = (function(fa, f, G) {
var this$4 = fa.q();
var z = G.L($m_Lcats_data_Chain$().gU);
var f$1 = ((x$1, x$2) => $f_Lcats_FlatMap__map2__O__O__F2__O(G, x$1, f.d(x$2), new $c_sjsr_AnonFunction2_$$Lambda$770e9b86e03b055b1d78d82135c9f39ea48d32d7(((x$1$2, x$2$2) => {
var x9 = $ct_T2__O__O__(new $c_T2(), x$1$2, x$2$2);
var x12 = x9.cP;
var x13 = x9.cQ;
if ((x13 instanceof $c_s_Some)) {
return x12.vZ(x13.z);
}
if (($m_s_None$() === x13)) {
return x12;
}
throw new $c_s_MatchError(x9);
}))));
if ($is_sc_IndexedSeq(this$4)) {
var at = 0;
var end = this$4.y();
var acc = z;
while (true) {
if ((at === end)) {
return acc;
} else {
var temp$at = ((1 + at) | 0);
var x0 = acc;
var x1 = this$4.R(at);
var temp$acc = f$1(x0, x1);
at = temp$at;
acc = temp$acc;
}
}
} else {
var result = z;
while (this$4.r()) {
var x0$1 = result;
var x1$1 = this$4.o();
result = f$1(x0$1, x1$1);
}
return result;
}
});
var $d_Lcats_TraverseFilter$ = new $TypeData().i($c_Lcats_TraverseFilter$, "cats.TraverseFilter$", ({
yl: 1
}));
var $n_Lcats_TraverseFilter$;
function $m_Lcats_TraverseFilter$() {
if ((!$n_Lcats_TraverseFilter$)) {
$n_Lcats_TraverseFilter$ = new $c_Lcats_TraverseFilter$();
}
return $n_Lcats_TraverseFilter$;
}
/** @constructor */
function $c_Lcats_compat_FoldableCompat$() {
}
$p = $c_Lcats_compat_FoldableCompat$.prototype = new $h_O();
$p.constructor = $c_Lcats_compat_FoldableCompat$;
/** @constructor */
function $h_Lcats_compat_FoldableCompat$() {
}
$h_Lcats_compat_FoldableCompat$.prototype = $p;
$p.a7B = (function(fa, F) {
return F.ke(fa, ($m_Lcats_Eval$(), new $c_Lcats_Now($m_sci_LazyList$().b6)), new $c_sjsr_AnonFunction2_$$Lambda$770e9b86e03b055b1d78d82135c9f39ea48d32d7(((a$1, eb) => eb.jC(new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((_$2) => {
$m_sci_LazyList$();
return $m_sci_LazyList$cons$().bmx(new $c_sjsr_AnonFunction0_$$Lambda$2bf0f8dc580d6edeb2d6a336c52a1bab3049702d((() => a$1)), new $c_sjsr_AnonFunction0_$$Lambda$2bf0f8dc580d6edeb2d6a336c52a1bab3049702d(((_$2$2) => (() => _$2$2))(_$2)));
})))))).dK();
});
var $d_Lcats_compat_FoldableCompat$ = new $TypeData().i($c_Lcats_compat_FoldableCompat$, "cats.compat.FoldableCompat$", ({
yI: 1
}));
var $n_Lcats_compat_FoldableCompat$;
function $m_Lcats_compat_FoldableCompat$() {
if ((!$n_Lcats_compat_FoldableCompat$)) {
$n_Lcats_compat_FoldableCompat$ = new $c_Lcats_compat_FoldableCompat$();
}
return $n_Lcats_compat_FoldableCompat$;
}
/** @constructor */
function $c_Lcats_data_AndThenInstances1() {
}
$p = $c_Lcats_data_AndThenInstances1.prototype = new $h_O();
$p.constructor = $c_Lcats_data_AndThenInstances1;
/** @constructor */
function $h_Lcats_data_AndThenInstances1() {
}
$h_Lcats_data_AndThenInstances1.prototype = $p;
function $f_Lcats_data_ChainCompanionCompat__fromSeq__sci_Seq__Lcats_data_Chain($thiz, s) {
var lc = s.bD(1);
return ((lc < 0) ? $m_Lcats_data_Chain$().gU : ((lc > 0) ? new $c_Lcats_data_Chain$Wrap(s) : ($m_Lcats_data_Chain$(), new $c_Lcats_data_Chain$Singleton(s.u()))));
}
/** @constructor */
function $c_Lcats_data_ChainInstances3() {
}
$p = $c_Lcats_data_ChainInstances3.prototype = new $h_O();
$p.constructor = $c_Lcats_data_ChainInstances3;
/** @constructor */
function $h_Lcats_data_ChainInstances3() {
}
$h_Lcats_data_ChainInstances3.prototype = $p;
/** @constructor */
function $c_Lcats_data_EitherT$FromEitherPartiallyApplied$() {
}
$p = $c_Lcats_data_EitherT$FromEitherPartiallyApplied$.prototype = new $h_O();
$p.constructor = $c_Lcats_data_EitherT$FromEitherPartiallyApplied$;
/** @constructor */
function $h_Lcats_data_EitherT$FromEitherPartiallyApplied$() {
}
$h_Lcats_data_EitherT$FromEitherPartiallyApplied$.prototype = $p;
$p.bmT = (function(this$, either, F) {
return new $c_Lcats_data_EitherT(F.L(either));
});
var $d_Lcats_data_EitherT$FromEitherPartiallyApplied$ = new $TypeData().i($c_Lcats_data_EitherT$FromEitherPartiallyApplied$, "cats.data.EitherT$FromEitherPartiallyApplied$", ({
z2: 1
}));
var $n_Lcats_data_EitherT$FromEitherPartiallyApplied$;
function $m_Lcats_data_EitherT$FromEitherPartiallyApplied$() {
if ((!$n_Lcats_data_EitherT$FromEitherPartiallyApplied$)) {
$n_Lcats_data_EitherT$FromEitherPartiallyApplied$ = new $c_Lcats_data_EitherT$FromEitherPartiallyApplied$();
}
return $n_Lcats_data_EitherT$FromEitherPartiallyApplied$;
}
/** @constructor */
function $c_Lcats_data_EitherT$LeftTPartiallyApplied$() {
}
$p = $c_Lcats_data_EitherT$LeftTPartiallyApplied$.prototype = new $h_O();
$p.constructor = $c_Lcats_data_EitherT$LeftTPartiallyApplied$;
/** @constructor */
function $h_Lcats_data_EitherT$LeftTPartiallyApplied$() {
}
$h_Lcats_data_EitherT$LeftTPartiallyApplied$.prototype = $p;
$p.a59 = (function(this$, a, F) {
return new $c_Lcats_data_EitherT(F.L(new $c_s_util_Left(a)));
});
var $d_Lcats_data_EitherT$LeftTPartiallyApplied$ = new $TypeData().i($c_Lcats_data_EitherT$LeftTPartiallyApplied$, "cats.data.EitherT$LeftTPartiallyApplied$", ({
z3: 1
}));
var $n_Lcats_data_EitherT$LeftTPartiallyApplied$;
function $m_Lcats_data_EitherT$LeftTPartiallyApplied$() {
if ((!$n_Lcats_data_EitherT$LeftTPartiallyApplied$)) {
$n_Lcats_data_EitherT$LeftTPartiallyApplied$ = new $c_Lcats_data_EitherT$LeftTPartiallyApplied$();
}
return $n_Lcats_data_EitherT$LeftTPartiallyApplied$;
}
/** @constructor */
function $c_Lcats_data_EitherT$PurePartiallyApplied$() {
}
$p = $c_Lcats_data_EitherT$PurePartiallyApplied$.prototype = new $h_O();
$p.constructor = $c_Lcats_data_EitherT$PurePartiallyApplied$;
/** @constructor */
function $h_Lcats_data_EitherT$PurePartiallyApplied$() {
}
$h_Lcats_data_EitherT$PurePartiallyApplied$.prototype = $p;
$p.a59 = (function(this$, b, F) {
return new $c_Lcats_data_EitherT(F.L(new $c_s_util_Right(b)));
});
var $d_Lcats_data_EitherT$PurePartiallyApplied$ = new $TypeData().i($c_Lcats_data_EitherT$PurePartiallyApplied$, "cats.data.EitherT$PurePartiallyApplied$", ({
z4: 1
}));
var $n_Lcats_data_EitherT$PurePartiallyApplied$;
function $m_Lcats_data_EitherT$PurePartiallyApplied$() {
if ((!$n_Lcats_data_EitherT$PurePartiallyApplied$)) {
$n_Lcats_data_EitherT$PurePartiallyApplied$ = new $c_Lcats_data_EitherT$PurePartiallyApplied$();
}
return $n_Lcats_data_EitherT$PurePartiallyApplied$;
}
/** @constructor */
function $c_Lcats_data_EitherT$RightPartiallyApplied$() {
}
$p = $c_Lcats_data_EitherT$RightPartiallyApplied$.prototype = new $h_O();
$p.constructor = $c_Lcats_data_EitherT$RightPartiallyApplied$;
/** @constructor */
function $h_Lcats_data_EitherT$RightPartiallyApplied$() {
}
$h_Lcats_data_EitherT$RightPartiallyApplied$.prototype = $p;
$p.bmS = (function(this$, fb, F) {
return new $c_Lcats_data_EitherT(F.F(fb, new $c_sjsr_AnonFunction1_$$Lambda$412915ce24663401f4bc24349a746e1dbd693dc1(((_$35) => new $c_s_util_Right(_$35)))));
});
var $d_Lcats_data_EitherT$RightPartiallyApplied$ = new $TypeData().i($c_Lcats_data_EitherT$RightPartiallyApplied$, "cats.data.EitherT$RightPartiallyApplied$", ({
z5: 1
}));
var $n_Lcats_data_EitherT$RightPartiallyApplied$;
function $m_Lcats_data_EitherT$RightPartiallyApplied$() {
if ((!$n_Lcats_data_EitherT$RightPartiallyApplied$)) {
$n_Lcats_data_EitherT$RightPartiallyApplied$ = new $c_Lcats_data_EitherT$RightPartiallyApplied$();
}
return $n_Lcats_data_EitherT$RightPartiallyApplied$;
}
function $f_Lcats_data_IorFunctions__fromEither__s_util_Either__Lcats_data_Ior($thiz, eab) {
if ((eab instanceof $c_s_util_Left)) {
return new $c_Lcats_data_Ior$Left(eab.O);
}
if ((eab instanceof $c_s_util_Right)) {
return new $c_Lcats_data_Ior$Right(eab.p);
}
throw new $c_s_MatchError(eab);
}
/** @constructor */
function $c_Lcats_data_IorInstances0() {
}
$p = $c_Lcats_data_IorInstances0.prototype = new $h_O();
$p.constructor = $c_Lcats_data_IorInstances0;
/** @constructor */
function $h_Lcats_data_IorInstances0() {
}
$h_Lcats_data_IorInstances0.prototype = $p;
function $f_Lcats_data_KleisliFunctions__liftF__O__Lcats_data_Kleisli($thiz, x) {
$m_Lcats_data_Kleisli$();
return new $c_Lcats_data_Kleisli(new $c_Lcats_data_StrictConstFunction1(x));
}
function $f_Lcats_data_KleisliFunctions__pure__O__Lcats_Applicative__Lcats_data_Kleisli($thiz, x, F) {
return $f_Lcats_data_KleisliFunctions__liftF__O__Lcats_data_Kleisli($thiz, F.L(x));
}
/** @constructor */
function $c_Lcats_data_KleisliInstances9() {
}
$p = $c_Lcats_data_KleisliInstances9.prototype = new $h_O();
$p.constructor = $c_Lcats_data_KleisliInstances9;
/** @constructor */
function $h_Lcats_data_KleisliInstances9() {
}
$h_Lcats_data_KleisliInstances9.prototype = $p;
/** @constructor */
function $c_Lcats_data_NonEmptyChainInstances3() {
}
$p = $c_Lcats_data_NonEmptyChainInstances3.prototype = new $h_O();
$p.constructor = $c_Lcats_data_NonEmptyChainInstances3;
/** @constructor */
function $h_Lcats_data_NonEmptyChainInstances3() {
}
$h_Lcats_data_NonEmptyChainInstances3.prototype = $p;
/** @constructor */
function $c_Lcats_data_NonEmptyChainOps$() {
}
$p = $c_Lcats_data_NonEmptyChainOps$.prototype = new $h_O();
$p.constructor = $c_Lcats_data_NonEmptyChainOps$;
/** @constructor */
function $h_Lcats_data_NonEmptyChainOps$() {
}
$h_Lcats_data_NonEmptyChainOps$.prototype = $p;
$p.bgQ = (function(this$) {
return ($m_Lcats_data_NonEmptyChainImpl$(), this$).GN().f();
});
$p.WE = (function(this$) {
return this.bgQ(this$).m();
});
$p.bHQ = (function(this$) {
return this.bgQ(this$).n();
});
$p.bEE = (function(this$, f, g) {
var iter = ($m_Lcats_data_NonEmptyChainImpl$(), this$).q();
var result = f.d(iter.o());
while (iter.r()) {
result = g.ad(result, iter.o());
}
return result;
});
var $d_Lcats_data_NonEmptyChainOps$ = new $TypeData().i($c_Lcats_data_NonEmptyChainOps$, "cats.data.NonEmptyChainOps$", ({
zH: 1
}));
var $n_Lcats_data_NonEmptyChainOps$;
function $m_Lcats_data_NonEmptyChainOps$() {
if ((!$n_Lcats_data_NonEmptyChainOps$)) {
$n_Lcats_data_NonEmptyChainOps$ = new $c_Lcats_data_NonEmptyChainOps$();
}
return $n_Lcats_data_NonEmptyChainOps$;
}
/** @constructor */
function $c_Lcats_data_NonEmptyListInstances1() {
}
$p = $c_Lcats_data_NonEmptyListInstances1.prototype = new $h_O();
$p.constructor = $c_Lcats_data_NonEmptyListInstances1;
/** @constructor */
function $h_Lcats_data_NonEmptyListInstances1() {
}
$h_Lcats_data_NonEmptyListInstances1.prototype = $p;
/** @constructor */
function $c_Lcats_data_OptionT$PurePartiallyApplied$() {
}
$p = $c_Lcats_data_OptionT$PurePartiallyApplied$.prototype = new $h_O();
$p.constructor = $c_Lcats_data_OptionT$PurePartiallyApplied$;
/** @constructor */
function $h_Lcats_data_OptionT$PurePartiallyApplied$() {
}
$h_Lcats_data_OptionT$PurePartiallyApplied$.prototype = $p;
$p.bmR = (function(this$, value, F) {
return new $c_Lcats_data_OptionT(F.L(new $c_s_Some(value)));
});
var $d_Lcats_data_OptionT$PurePartiallyApplied$ = new $TypeData().i($c_Lcats_data_OptionT$PurePartiallyApplied$, "cats.data.OptionT$PurePartiallyApplied$", ({
zP: 1
}));
var $n_Lcats_data_OptionT$PurePartiallyApplied$;
function $m_Lcats_data_OptionT$PurePartiallyApplied$() {
if ((!$n_Lcats_data_OptionT$PurePartiallyApplied$)) {
$n_Lcats_data_OptionT$PurePartiallyApplied$ = new $c_Lcats_data_OptionT$PurePartiallyApplied$();
}
return $n_Lcats_data_OptionT$PurePartiallyApplied$;
}
/** @constructor */
function $c_Lcats_data_OptionTInstances3() {
}
$p = $c_Lcats_data_OptionTInstances3.prototype = new $h_O();
$p.constructor = $c_Lcats_data_OptionTInstances3;
/** @constructor */
function $h_Lcats_data_OptionTInstances3() {
}
$h_Lcats_data_OptionTInstances3.prototype = $p;
/** @constructor */
function $c_Lcats_data_ScalaVersionSpecificPackage() {
}
$p = $c_Lcats_data_ScalaVersionSpecificPackage.prototype = new $h_O();
$p.constructor = $c_Lcats_data_ScalaVersionSpecificPackage;
/** @constructor */
function $h_Lcats_data_ScalaVersionSpecificPackage() {
}
$h_Lcats_data_ScalaVersionSpecificPackage.prototype = $p;
function $f_Lcats_data_ValidatedFunctions__invalidNel__O__Lcats_data_Validated($thiz, e) {
return new $c_Lcats_data_Validated$Invalid(($m_Lcats_data_NonEmptyList$(), new $c_Lcats_data_NonEmptyList(e, $m_sci_Nil$())));
}
/** @constructor */
function $c_Lcats_data_ValidatedInstances2() {
}
$p = $c_Lcats_data_ValidatedInstances2.prototype = new $h_O();
$p.constructor = $c_Lcats_data_ValidatedInstances2;
/** @constructor */
function $h_Lcats_data_ValidatedInstances2() {
}
$h_Lcats_data_ValidatedInstances2.prototype = $p;
/** @constructor */
function $c_Lcats_effect_ContState$() {
this.avz = null;
$n_Lcats_effect_ContState$ = this;
this.avz = new $c_s_util_Right(null);
}
$p = $c_Lcats_effect_ContState$.prototype = new $h_O();
$p.constructor = $c_Lcats_effect_ContState$;
/** @constructor */
function $h_Lcats_effect_ContState$() {
}
$h_Lcats_effect_ContState$.prototype = $p;
var $d_Lcats_effect_ContState$ = new $TypeData().i($c_Lcats_effect_ContState$, "cats.effect.ContState$", ({
A7: 1
}));
var $n_Lcats_effect_ContState$;
function $m_Lcats_effect_ContState$() {
if ((!$n_Lcats_effect_ContState$)) {
$n_Lcats_effect_ContState$ = new $c_Lcats_effect_ContState$();
}
return $n_Lcats_effect_ContState$;
}
/** @constructor */
function $c_Lcats_effect_CpuStarvationCheckPlatform() {
}
$p = $c_Lcats_effect_CpuStarvationCheckPlatform.prototype = new $h_O();
$p.constructor = $c_Lcats_effect_CpuStarvationCheckPlatform;
/** @constructor */
function $h_Lcats_effect_CpuStarvationCheckPlatform() {
}
$h_Lcats_effect_CpuStarvationCheckPlatform