您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A better way to set your Supersubs in Fantasyleague.com's Classic Premier League fantasy football game.
当前为
// ==UserScript== // @name Hypersubs // @version 0.3.0 // @author J // @namespace Hypersubs-For-Fantasy-League-Classic-by-J // @description A better way to set your Supersubs in Fantasyleague.com's Classic Premier League fantasy football game. // @match http://www.fantasyleague.com/Classic/* // @match https://www.fantasyleague.com/Classic/* // @require https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js // @icon http://img9.imageshack.us/img9/6439/hypersubs.png // @grant GM_getValue // @grant GM_setValue // ==/UserScript== ///////////////////////////////////////////////////////////////////////////////////// // // Hypersubs provides a more convenient way to set your Supersubs in // Fantasyleague.com's Classic Premier League fantasy football game. // // Hypersubs automatically makes clear-cut choices for you, like fielding all // of your full backs when you have no more than two active in a block of fixtures. // (You can still choose to avoid dangerous fixtures if you wish and have // sufficient players available for the position.) Overall, you save a lot of // clicks and can focus on the key decisions, which Hypersubs highlights. // // // WHAT YOU NEED // // To use this version of Hypersubs, you need either: // // Firefox v47.0 with the Greasemonkey extension v3.8+ // or // Chrome v51.0 with the Tampermonkey extension v4.0+ // // or newer compatible versions. // // // LIMITATIONS AND DISCLAIMERS // // This version of Hypersubs is intended to be compatible with the Fantasyleague.com // Classic Premier League competition as of August 2016. Other competitions are not // supported. // // Hypersubs relies on the existing structure of the Fantasy League web site. // It will stop working properly as soon as Fantasy League change how their // Supersubs pages are structured. // // Use at your own risk. This program was written as a personal exercise to learn // the basics of a few technologies. It may well have bugs. Always be sure to // check the Fantasy League site or their confirmation email to be certain that // everything went right! // ///////////////////////////////////////////////////////////////////////////////////// // The Scala.js runtime (licenced by EPFL: https://github.com/scala-js/scala-js/blob/master/LICENSE), // with Hypersubs embedded as a JavaScript program. // Uses jquery-facade by Querki Inc.: https://github.com/jducoeur/jquery-facade (function(){ 'use strict'; /* Scala.js runtime support * Copyright 2013 LAMP/EPFL * Author: Sébastien Doeraene */ /* ---------------------------------- * * The top-level Scala.js environment * * ---------------------------------- */ // Get the environment info var $env = (typeof __ScalaJSEnv === "object" && __ScalaJSEnv) ? __ScalaJSEnv : {}; // Global scope var $g = (typeof $env["global"] === "object" && $env["global"]) ? $env["global"] : ((typeof global === "object" && global && global["Object"] === Object) ? global : this); $env["global"] = $g; // Where to send exports var $e = (typeof $env["exportsNamespace"] === "object" && $env["exportsNamespace"]) ? $env["exportsNamespace"] : $g; $env["exportsNamespace"] = $e; // Freeze the environment info $g["Object"]["freeze"]($env); // Linking info - must be in sync with scala.scalajs.runtime.LinkingInfo var $linkingInfo = { "envInfo": $env, "semantics": { "asInstanceOfs": 1, "moduleInit": 2, "strictFloats": false, "productionMode": false }, "assumingES6": false, "linkerVersion": "0.6.10" }; $g["Object"]["freeze"]($linkingInfo); $g["Object"]["freeze"]($linkingInfo["semantics"]); // Snapshots of builtins and polyfills var $imul = $g["Math"]["imul"] || (function(a, b) { // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul var ah = (a >>> 16) & 0xffff; var al = a & 0xffff; var bh = (b >>> 16) & 0xffff; var bl = b & 0xffff; // the shift by 0 fixes the sign on the high part // the final |0 converts the unsigned value into a signed value return ((al * bl) + (((ah * bl + al * bh) << 16) >>> 0) | 0); }); var $fround = $g["Math"]["fround"] || (function(v) { return +v; }); var $clz32 = $g["Math"]["clz32"] || (function(i) { // See Hacker's Delight, Section 5-3 if (i === 0) return 32; var r = 1; if ((i & 0xffff0000) === 0) { i <<= 16; r += 16; }; if ((i & 0xff000000) === 0) { i <<= 8; r += 8; }; if ((i & 0xf0000000) === 0) { i <<= 4; r += 4; }; if ((i & 0xc0000000) === 0) { i <<= 2; r += 2; }; return r + (i >> 31); }); // Other fields var $lastIDHash = 0; // last value attributed to an id hash code var $idHashCodeMap = $g["WeakMap"] ? new $g["WeakMap"]() : null; // Core mechanism var $makeIsArrayOfPrimitive = function(primitiveData) { return function(obj, depth) { return !!(obj && obj.$classData && (obj.$classData.arrayDepth === depth) && (obj.$classData.arrayBase === primitiveData)); } }; var $makeAsArrayOfPrimitive = function(isInstanceOfFunction, arrayEncodedName) { return function(obj, depth) { if (isInstanceOfFunction(obj, depth) || (obj === null)) return obj; else $throwArrayCastException(obj, arrayEncodedName, depth); } }; /** Encode a property name for runtime manipulation * Usage: * env.propertyName({someProp:0}) * Returns: * "someProp" * Useful when the property is renamed by a global optimizer (like Closure) * but we must still get hold of a string of that name for runtime * reflection. */ var $propertyName = function(obj) { for (var prop in obj) return prop; }; // Runtime functions var $isScalaJSObject = function(obj) { return !!(obj && obj.$classData); }; var $throwClassCastException = function(instance, classFullName) { throw new $c_sjsr_UndefinedBehaviorError().init___jl_Throwable( new $c_jl_ClassCastException().init___T( instance + " is not an instance of " + classFullName)); }; var $throwArrayCastException = function(instance, classArrayEncodedName, depth) { for (; depth; --depth) classArrayEncodedName = "[" + classArrayEncodedName; $throwClassCastException(instance, classArrayEncodedName); }; var $noIsInstance = function(instance) { throw new $g["TypeError"]( "Cannot call isInstance() on a Class representing a raw JS trait/object"); }; var $makeNativeArrayWrapper = function(arrayClassData, nativeArray) { return new arrayClassData.constr(nativeArray); }; var $newArrayObject = function(arrayClassData, lengths) { return $newArrayObjectInternal(arrayClassData, lengths, 0); }; var $newArrayObjectInternal = function(arrayClassData, lengths, lengthIndex) { var result = new arrayClassData.constr(lengths[lengthIndex]); if (lengthIndex < lengths.length-1) { var subArrayClassData = arrayClassData.componentData; var subLengthIndex = lengthIndex+1; var underlying = result.u; for (var i = 0; i < underlying.length; i++) { underlying[i] = $newArrayObjectInternal( subArrayClassData, lengths, subLengthIndex); } } return result; }; var $objectToString = function(instance) { if (instance === void 0) return "undefined"; else return instance.toString(); }; var $objectGetClass = function(instance) { switch (typeof instance) { case "string": return $d_T.getClassOf(); case "number": { var v = instance | 0; if (v === instance) { // is the value integral? if ($isByte(v)) return $d_jl_Byte.getClassOf(); else if ($isShort(v)) return $d_jl_Short.getClassOf(); else return $d_jl_Integer.getClassOf(); } else { if ($isFloat(instance)) return $d_jl_Float.getClassOf(); else return $d_jl_Double.getClassOf(); } } case "boolean": return $d_jl_Boolean.getClassOf(); case "undefined": return $d_sr_BoxedUnit.getClassOf(); default: if (instance === null) return instance.getClass__jl_Class(); else if ($is_sjsr_RuntimeLong(instance)) return $d_jl_Long.getClassOf(); else if ($isScalaJSObject(instance)) return instance.$classData.getClassOf(); else return null; // Exception? } }; var $objectClone = function(instance) { if ($isScalaJSObject(instance) || (instance === null)) return instance.clone__O(); else throw new $c_jl_CloneNotSupportedException().init___(); }; var $objectNotify = function(instance) { // final and no-op in java.lang.Object if (instance === null) instance.notify__V(); }; var $objectNotifyAll = function(instance) { // final and no-op in java.lang.Object if (instance === null) instance.notifyAll__V(); }; var $objectFinalize = function(instance) { if ($isScalaJSObject(instance) || (instance === null)) instance.finalize__V(); // else no-op }; var $objectEquals = function(instance, rhs) { if ($isScalaJSObject(instance) || (instance === null)) return instance.equals__O__Z(rhs); else if (typeof instance === "number") return typeof rhs === "number" && $numberEquals(instance, rhs); else return instance === rhs; }; var $numberEquals = function(lhs, rhs) { return (lhs === rhs) ? ( // 0.0.equals(-0.0) must be false lhs !== 0 || 1/lhs === 1/rhs ) : ( // are they both NaN? (lhs !== lhs) && (rhs !== rhs) ); }; var $objectHashCode = function(instance) { switch (typeof instance) { case "string": return $m_sjsr_RuntimeString$().hashCode__T__I(instance); case "number": return $m_sjsr_Bits$().numberHashCode__D__I(instance); case "boolean": return instance ? 1231 : 1237; case "undefined": return 0; default: if ($isScalaJSObject(instance) || instance === null) return instance.hashCode__I(); else if ($idHashCodeMap === null) return 42; else return $systemIdentityHashCode(instance); } }; var $comparableCompareTo = function(instance, rhs) { switch (typeof instance) { case "string": $as_T(rhs); return instance === rhs ? 0 : (instance < rhs ? -1 : 1); case "number": $as_jl_Number(rhs); return $m_jl_Double$().compare__D__D__I(instance, rhs); case "boolean": $asBoolean(rhs); return instance - rhs; // yes, this gives the right result default: return instance.compareTo__O__I(rhs); } }; var $charSequenceLength = function(instance) { if (typeof(instance) === "string") return $uI(instance["length"]); else return instance.length__I(); }; var $charSequenceCharAt = function(instance, index) { if (typeof(instance) === "string") return $uI(instance["charCodeAt"](index)) & 0xffff; else return instance.charAt__I__C(index); }; var $charSequenceSubSequence = function(instance, start, end) { if (typeof(instance) === "string") return $as_T(instance["substring"](start, end)); else return instance.subSequence__I__I__jl_CharSequence(start, end); }; var $booleanBooleanValue = function(instance) { if (typeof instance === "boolean") return instance; else return instance.booleanValue__Z(); }; var $numberByteValue = function(instance) { if (typeof instance === "number") return (instance << 24) >> 24; else return instance.byteValue__B(); }; var $numberShortValue = function(instance) { if (typeof instance === "number") return (instance << 16) >> 16; else return instance.shortValue__S(); }; var $numberIntValue = function(instance) { if (typeof instance === "number") return instance | 0; else return instance.intValue__I(); }; var $numberLongValue = function(instance) { if (typeof instance === "number") return $m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong(instance); else return instance.longValue__J(); }; var $numberFloatValue = function(instance) { if (typeof instance === "number") return $fround(instance); else return instance.floatValue__F(); }; var $numberDoubleValue = function(instance) { if (typeof instance === "number") return instance; else return instance.doubleValue__D(); }; var $isNaN = function(instance) { return instance !== instance; }; var $isInfinite = function(instance) { return !$g["isFinite"](instance) && !$isNaN(instance); }; var $doubleToInt = function(x) { return (x > 2147483647) ? (2147483647) : ((x < -2147483648) ? -2147483648 : (x | 0)); }; /** Instantiates a JS object with variadic arguments to the constructor. */ var $newJSObjectWithVarargs = function(ctor, args) { // This basically emulates the ECMAScript specification for 'new'. var instance = $g["Object"]["create"](ctor.prototype); var result = ctor["apply"](instance, args); switch (typeof result) { case "string": case "number": case "boolean": case "undefined": case "symbol": return instance; default: return result === null ? instance : result; } }; var $resolveSuperRef = function(initialProto, propName) { var getPrototypeOf = $g["Object"]["getPrototypeOf"]; var getOwnPropertyDescriptor = $g["Object"]["getOwnPropertyDescriptor"]; var superProto = getPrototypeOf(initialProto); while (superProto !== null) { var desc = getOwnPropertyDescriptor(superProto, propName); if (desc !== void 0) return desc; superProto = getPrototypeOf(superProto); } return void 0; }; var $superGet = function(initialProto, self, propName) { var desc = $resolveSuperRef(initialProto, propName); if (desc !== void 0) { var getter = desc["get"]; if (getter !== void 0) return getter["call"](self); else return desc["value"]; } return void 0; }; var $superSet = function(initialProto, self, propName, value) { var desc = $resolveSuperRef(initialProto, propName); if (desc !== void 0) { var setter = desc["set"]; if (setter !== void 0) { setter["call"](self, value); return void 0; } } throw new $g["TypeError"]("super has no setter '" + propName + "'."); }; var $propertiesOf = function(obj) { var result = []; for (var prop in obj) result["push"](prop); return result; }; var $systemArraycopy = function(src, srcPos, dest, destPos, length) { var srcu = src.u; var destu = dest.u; if (srcu !== destu || destPos < srcPos || srcPos + length < destPos) { for (var i = 0; i < length; i++) destu[destPos+i] = srcu[srcPos+i]; } else { for (var i = length-1; i >= 0; i--) destu[destPos+i] = srcu[srcPos+i]; } }; var $systemIdentityHashCode = ($idHashCodeMap !== null) ? (function(obj) { switch (typeof obj) { case "string": case "number": case "boolean": case "undefined": return $objectHashCode(obj); 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(obj) { if ($isScalaJSObject(obj)) { var hash = obj["$idHashCode$0"]; if (hash !== void 0) { return hash; } else if (!$g["Object"]["isSealed"](obj)) { hash = ($lastIDHash + 1) | 0; $lastIDHash = hash; obj["$idHashCode$0"] = hash; return hash; } else { return 42; } } else if (obj === null) { return 0; } else { return $objectHashCode(obj); } }); // is/as for hijacked boxed classes (the non-trivial ones) var $isByte = function(v) { return (v << 24 >> 24) === v && 1/v !== 1/-0; }; var $isShort = function(v) { return (v << 16 >> 16) === v && 1/v !== 1/-0; }; var $isInt = function(v) { return (v | 0) === v && 1/v !== 1/-0; }; var $isFloat = function(v) { return typeof v === "number"; }; var $asUnit = function(v) { if (v === void 0 || v === null) return v; else $throwClassCastException(v, "scala.runtime.BoxedUnit"); }; var $asBoolean = function(v) { if (typeof v === "boolean" || v === null) return v; else $throwClassCastException(v, "java.lang.Boolean"); }; var $asByte = function(v) { if ($isByte(v) || v === null) return v; else $throwClassCastException(v, "java.lang.Byte"); }; var $asShort = function(v) { if ($isShort(v) || v === null) return v; else $throwClassCastException(v, "java.lang.Short"); }; var $asInt = function(v) { if ($isInt(v) || v === null) return v; else $throwClassCastException(v, "java.lang.Integer"); }; var $asFloat = function(v) { if ($isFloat(v) || v === null) return v; else $throwClassCastException(v, "java.lang.Float"); }; var $asDouble = function(v) { if (typeof v === "number" || v === null) return v; else $throwClassCastException(v, "java.lang.Double"); }; // Unboxes var $uZ = function(value) { return !!$asBoolean(value); }; var $uB = function(value) { return $asByte(value) | 0; }; var $uS = function(value) { return $asShort(value) | 0; }; var $uI = function(value) { return $asInt(value) | 0; }; var $uJ = function(value) { return null === value ? $m_sjsr_RuntimeLong$().Zero$1 : $as_sjsr_RuntimeLong(value); }; var $uF = function(value) { /* Here, it is fine to use + instead of fround, because asFloat already * ensures that the result is either null or a float. */ return +$asFloat(value); }; var $uD = function(value) { return +$asDouble(value); }; // TypeArray conversions var $byteArray2TypedArray = function(value) { return new $g["Int8Array"](value.u); }; var $shortArray2TypedArray = function(value) { return new $g["Int16Array"](value.u); }; var $charArray2TypedArray = function(value) { return new $g["Uint16Array"](value.u); }; var $intArray2TypedArray = function(value) { return new $g["Int32Array"](value.u); }; var $floatArray2TypedArray = function(value) { return new $g["Float32Array"](value.u); }; var $doubleArray2TypedArray = function(value) { return new $g["Float64Array"](value.u); }; var $typedArray2ByteArray = function(value) { var arrayClassData = $d_B.getArrayOf(); return new arrayClassData.constr(new $g["Int8Array"](value)); }; var $typedArray2ShortArray = function(value) { var arrayClassData = $d_S.getArrayOf(); return new arrayClassData.constr(new $g["Int16Array"](value)); }; var $typedArray2CharArray = function(value) { var arrayClassData = $d_C.getArrayOf(); return new arrayClassData.constr(new $g["Uint16Array"](value)); }; var $typedArray2IntArray = function(value) { var arrayClassData = $d_I.getArrayOf(); return new arrayClassData.constr(new $g["Int32Array"](value)); }; var $typedArray2FloatArray = function(value) { var arrayClassData = $d_F.getArrayOf(); return new arrayClassData.constr(new $g["Float32Array"](value)); }; var $typedArray2DoubleArray = function(value) { var arrayClassData = $d_D.getArrayOf(); return new arrayClassData.constr(new $g["Float64Array"](value)); }; /* We have to force a non-elidable *read* of $e, otherwise Closure will * eliminate it altogether, along with all the exports, which is ... er ... * plain wrong. */ this["__ScalaJSExportsNamespace"] = $e; // TypeData class /** @constructor */ var $TypeData = function() { // Runtime support this.constr = void 0; this.parentData = void 0; this.ancestors = null; this.componentData = null; this.arrayBase = null; this.arrayDepth = 0; this.zero = null; this.arrayEncodedName = ""; this._classOf = void 0; this._arrayOf = void 0; this.isArrayOf = void 0; // java.lang.Class support this["name"] = ""; this["isPrimitive"] = false; this["isInterface"] = false; this["isArrayClass"] = false; this["isRawJSType"] = false; this["isInstance"] = void 0; }; $TypeData.prototype.initPrim = function( zero, arrayEncodedName, displayName) { // Runtime support this.ancestors = {}; this.componentData = null; this.zero = zero; this.arrayEncodedName = arrayEncodedName; this.isArrayOf = function(obj, depth) { return false; }; // java.lang.Class support this["name"] = displayName; this["isPrimitive"] = true; this["isInstance"] = function(obj) { return false; }; return this; }; $TypeData.prototype.initClass = function( internalNameObj, isInterface, fullName, ancestors, isRawJSType, parentData, isInstance, isArrayOf) { var internalName = $propertyName(internalNameObj); isInstance = isInstance || function(obj) { return !!(obj && obj.$classData && obj.$classData.ancestors[internalName]); }; isArrayOf = isArrayOf || function(obj, depth) { return !!(obj && obj.$classData && (obj.$classData.arrayDepth === depth) && obj.$classData.arrayBase.ancestors[internalName]) }; // Runtime support this.parentData = parentData; this.ancestors = ancestors; this.arrayEncodedName = "L"+fullName+";"; this.isArrayOf = isArrayOf; // java.lang.Class support this["name"] = fullName; this["isInterface"] = isInterface; this["isRawJSType"] = !!isRawJSType; this["isInstance"] = isInstance; return this; }; $TypeData.prototype.initArray = function( componentData) { // The constructor var componentZero0 = componentData.zero; // The zero for the Long runtime representation // is a special case here, since the class has not // been defined yet, when this file is read var componentZero = (componentZero0 == "longZero") ? $m_sjsr_RuntimeLong$().Zero$1 : componentZero0; /** @constructor */ var ArrayClass = function(arg) { if (typeof(arg) === "number") { // arg is the length of the array this.u = new Array(arg); for (var i = 0; i < arg; i++) this.u[i] = componentZero; } else { // arg is a native array that we wrap this.u = arg; } } ArrayClass.prototype = new $h_O; ArrayClass.prototype.constructor = ArrayClass; ArrayClass.prototype.clone__O = function() { if (this.u instanceof Array) return new ArrayClass(this.u["slice"](0)); else // The underlying Array is a TypedArray return new ArrayClass(new this.u.constructor(this.u)); }; ArrayClass.prototype.$classData = this; // Don't generate reflective call proxies. The compiler special cases // reflective calls to methods on scala.Array // The data var encodedName = "[" + componentData.arrayEncodedName; var componentBase = componentData.arrayBase || componentData; var arrayDepth = componentData.arrayDepth + 1; var isInstance = function(obj) { return componentBase.isArrayOf(obj, arrayDepth); } // Runtime support this.constr = ArrayClass; this.parentData = $d_O; this.ancestors = {O: 1, jl_Cloneable: 1, Ljava_io_Serializable: 1}; this.componentData = componentData; this.arrayBase = componentBase; this.arrayDepth = arrayDepth; this.zero = null; this.arrayEncodedName = encodedName; this._classOf = undefined; this._arrayOf = undefined; this.isArrayOf = undefined; // java.lang.Class support this["name"] = encodedName; this["isPrimitive"] = false; this["isInterface"] = false; this["isArrayClass"] = true; this["isInstance"] = isInstance; return this; }; $TypeData.prototype.getClassOf = function() { if (!this._classOf) this._classOf = new $c_jl_Class().init___jl_ScalaJSClassData(this); return this._classOf; }; $TypeData.prototype.getArrayOf = function() { if (!this._arrayOf) this._arrayOf = new $TypeData().initArray(this); return this._arrayOf; }; // java.lang.Class support $TypeData.prototype["getFakeInstance"] = function() { if (this === $d_T) return "some string"; else if (this === $d_jl_Boolean) return false; else if (this === $d_jl_Byte || this === $d_jl_Short || this === $d_jl_Integer || this === $d_jl_Float || this === $d_jl_Double) return 0; else if (this === $d_jl_Long) return $m_sjsr_RuntimeLong$().Zero$1; else if (this === $d_sr_BoxedUnit) return void 0; else return {$classData: this}; }; $TypeData.prototype["getSuperclass"] = function() { return this.parentData ? this.parentData.getClassOf() : null; }; $TypeData.prototype["getComponentType"] = function() { return this.componentData ? this.componentData.getClassOf() : null; }; $TypeData.prototype["newArrayOfThisClass"] = function(lengths) { var arrayClassData = this; for (var i = 0; i < lengths.length; i++) arrayClassData = arrayClassData.getArrayOf(); return $newArrayObject(arrayClassData, lengths); }; // Create primitive types var $d_V = new $TypeData().initPrim(undefined, "V", "void"); var $d_Z = new $TypeData().initPrim(false, "Z", "boolean"); var $d_C = new $TypeData().initPrim(0, "C", "char"); var $d_B = new $TypeData().initPrim(0, "B", "byte"); var $d_S = new $TypeData().initPrim(0, "S", "short"); var $d_I = new $TypeData().initPrim(0, "I", "int"); var $d_J = new $TypeData().initPrim("longZero", "J", "long"); var $d_F = new $TypeData().initPrim(0.0, "F", "float"); var $d_D = new $TypeData().initPrim(0.0, "D", "double"); // Instance tests for array of primitives var $isArrayOf_Z = $makeIsArrayOfPrimitive($d_Z); $d_Z.isArrayOf = $isArrayOf_Z; var $isArrayOf_C = $makeIsArrayOfPrimitive($d_C); $d_C.isArrayOf = $isArrayOf_C; var $isArrayOf_B = $makeIsArrayOfPrimitive($d_B); $d_B.isArrayOf = $isArrayOf_B; var $isArrayOf_S = $makeIsArrayOfPrimitive($d_S); $d_S.isArrayOf = $isArrayOf_S; var $isArrayOf_I = $makeIsArrayOfPrimitive($d_I); $d_I.isArrayOf = $isArrayOf_I; var $isArrayOf_J = $makeIsArrayOfPrimitive($d_J); $d_J.isArrayOf = $isArrayOf_J; var $isArrayOf_F = $makeIsArrayOfPrimitive($d_F); $d_F.isArrayOf = $isArrayOf_F; var $isArrayOf_D = $makeIsArrayOfPrimitive($d_D); $d_D.isArrayOf = $isArrayOf_D; // asInstanceOfs for array of primitives var $asArrayOf_Z = $makeAsArrayOfPrimitive($isArrayOf_Z, "Z"); var $asArrayOf_C = $makeAsArrayOfPrimitive($isArrayOf_C, "C"); var $asArrayOf_B = $makeAsArrayOfPrimitive($isArrayOf_B, "B"); var $asArrayOf_S = $makeAsArrayOfPrimitive($isArrayOf_S, "S"); var $asArrayOf_I = $makeAsArrayOfPrimitive($isArrayOf_I, "I"); var $asArrayOf_J = $makeAsArrayOfPrimitive($isArrayOf_J, "J"); var $asArrayOf_F = $makeAsArrayOfPrimitive($isArrayOf_F, "F"); var $asArrayOf_D = $makeAsArrayOfPrimitive($isArrayOf_D, "D"); function $is_F0(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.F0))) } function $as_F0(obj) { return (($is_F0(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.Function0")) } function $isArrayOf_F0(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.F0))) } function $asArrayOf_F0(obj, depth) { return (($isArrayOf_F0(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.Function0;", depth)) } /** @constructor */ function $c_O() { /*<skip>*/ } /** @constructor */ function $h_O() { /*<skip>*/ } $h_O.prototype = $c_O.prototype; $c_O.prototype.init___ = (function() { return this }); $c_O.prototype.equals__O__Z = (function(that) { return (this === that) }); $c_O.prototype.toString__T = (function() { var jsx$2 = $objectGetClass(this).getName__T(); var i = this.hashCode__I(); var x = $uD((i >>> 0)); var jsx$1 = x.toString(16); return ((jsx$2 + "@") + $as_T(jsx$1)) }); $c_O.prototype.hashCode__I = (function() { return $systemIdentityHashCode(this) }); $c_O.prototype.toString = (function() { return this.toString__T() }); function $is_O(obj) { return (obj !== null) } function $as_O(obj) { return obj } function $isArrayOf_O(obj, depth) { var data = (obj && obj.$classData); if ((!data)) { return false } else { var arrayDepth = (data.arrayDepth || 0); return ((!(arrayDepth < depth)) && ((arrayDepth > depth) || (!data.arrayBase.isPrimitive))) } } function $asArrayOf_O(obj, depth) { return (($isArrayOf_O(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Object;", depth)) } var $d_O = new $TypeData().initClass({ O: 0 }, false, "java.lang.Object", { O: 1 }, (void 0), (void 0), $is_O, $isArrayOf_O); $c_O.prototype.$classData = $d_O; function $is_jl_Comparable(obj) { return (!(!(((((obj && obj.$classData) && obj.$classData.ancestors.jl_Comparable) || ((typeof obj) === "string")) || ((typeof obj) === "number")) || ((typeof obj) === "boolean")))) } function $as_jl_Comparable(obj) { return (($is_jl_Comparable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Comparable")) } function $isArrayOf_jl_Comparable(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Comparable))) } function $asArrayOf_jl_Comparable(obj, depth) { return (($isArrayOf_jl_Comparable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Comparable;", depth)) } function $s_s_PartialFunction$class__applyOrElse__s_PartialFunction__O__F1__O($$this, x, $default) { return ($$this.isDefinedAt__O__Z(x) ? $$this.apply__O__O(x) : $default.apply__O__O(x)) } function $s_s_Product2$class__productElement__s_Product2__I__O($$this, n) { switch (n) { case 0: { return $$this.$$und1__O(); break } case 1: { return $$this.$$und2__O(); break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + n)) } } } function $s_s_Product3$class__productElement__s_Product3__I__O($$this, n) { switch (n) { case 0: { return $$this.$$und1$1; break } case 1: { return $$this.$$und2$1; break } case 2: { return $$this.$$und3$1; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + n)) } } } function $s_s_Proxy$class__toString__s_Proxy__T($$this) { return ("" + $$this.self$1) } function $s_s_Proxy$class__equals__s_Proxy__O__Z($$this, that) { return ((that !== null) && (((that === $$this) || (that === $$this.self$1)) || $objectEquals(that, $$this.self$1))) } function $s_s_math_Numeric$IntIsIntegral$class__plus__s_math_Numeric$IntIsIntegral__I__I__I($$this, x, y) { return ((x + y) | 0) } function $s_s_math_Ordering$BooleanOrdering$class__compare__s_math_Ordering$BooleanOrdering__Z__Z__I($$this, x, y) { if ((x === false)) { if ((y === true)) { return (-1) } }; if ((x === true)) { if ((y === false)) { return 1 } }; return 0 } function $s_s_math_Ordering$IntOrdering$class__compare__s_math_Ordering$IntOrdering__I__I__I($$this, x, y) { return ((x < y) ? (-1) : ((x === y) ? 0 : 1)) } function $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z($$this, x, y) { return ($$this.compare__O__O__I(x, y) >= 0) } function $s_s_math_Ordering$class__equiv__s_math_Ordering__O__O__Z($$this, x, y) { return ($$this.compare__O__O__I(x, y) === 0) } function $s_s_math_Ordering$class__lt__s_math_Ordering__O__O__Z($$this, x, y) { return ($$this.compare__O__O__I(x, y) < 0) } function $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z($$this, x, y) { return ($$this.compare__O__O__I(x, y) <= 0) } function $s_s_reflect_ClassTag$class__newArray__s_reflect_ClassTag__I__O($$this, len) { var x1 = $$this.runtimeClass__jl_Class(); return ((x1 === $d_B.getClassOf()) ? $newArrayObject($d_B.getArrayOf(), [len]) : ((x1 === $d_S.getClassOf()) ? $newArrayObject($d_S.getArrayOf(), [len]) : ((x1 === $d_C.getClassOf()) ? $newArrayObject($d_C.getArrayOf(), [len]) : ((x1 === $d_I.getClassOf()) ? $newArrayObject($d_I.getArrayOf(), [len]) : ((x1 === $d_J.getClassOf()) ? $newArrayObject($d_J.getArrayOf(), [len]) : ((x1 === $d_F.getClassOf()) ? $newArrayObject($d_F.getArrayOf(), [len]) : ((x1 === $d_D.getClassOf()) ? $newArrayObject($d_D.getArrayOf(), [len]) : ((x1 === $d_Z.getClassOf()) ? $newArrayObject($d_Z.getArrayOf(), [len]) : ((x1 === $d_V.getClassOf()) ? $newArrayObject($d_sr_BoxedUnit.getArrayOf(), [len]) : $m_jl_reflect_Array$().newInstance__jl_Class__I__O($$this.runtimeClass__jl_Class(), len)))))))))) } function $s_s_reflect_ClassTag$class__equals__s_reflect_ClassTag__O__Z($$this, x) { if ($is_s_reflect_ClassTag(x)) { var x$2 = $$this.runtimeClass__jl_Class(); var x$3 = $as_s_reflect_ClassTag(x).runtimeClass__jl_Class(); return (x$2 === x$3) } else { return false } } function $s_s_reflect_ClassTag$class__prettyprint$1__p0__s_reflect_ClassTag__jl_Class__T($$this, clazz) { if (clazz.isArray__Z()) { var jsx$2 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Array[", "]"])); if ((clazz !== null)) { var jsx$1 = clazz.getComponentType__jl_Class() } else if ($is_s_reflect_ClassTag(clazz)) { var x3 = $as_s_reflect_ClassTag(clazz); var jsx$1 = x3.runtimeClass__jl_Class() } else { var jsx$1; throw new $c_jl_UnsupportedOperationException().init___T(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["unsupported schematic ", " (", ")"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([clazz, $objectGetClass(clazz)]))) }; return jsx$2.s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$s_s_reflect_ClassTag$class__prettyprint$1__p0__s_reflect_ClassTag__jl_Class__T($$this, jsx$1)])) } else { return clazz.getName__T() } } function $s_s_util_control_NoStackTrace$class__fillInStackTrace__s_util_control_NoStackTrace__jl_Throwable($$this) { var this$1 = $m_s_util_control_NoStackTrace$(); if (this$1.$$undnoSuppression$1) { return $c_jl_Throwable.prototype.fillInStackTrace__jl_Throwable.call($$this) } else { return $as_jl_Throwable($$this) } } function $s_sc_GenMapLike$class__liftedTree1$1__p0__sc_GenMapLike__sc_GenMap__Z($$this, x2$1) { try { var this$1 = $$this.iterator__sc_Iterator(); var res = true; while ((res && this$1.hasNext__Z())) { var arg1 = this$1.next__O(); var x0$1 = $as_T2(arg1); if ((x0$1 !== null)) { var k = x0$1.$$und1__O(); var v = x0$1.$$und2__O(); var x1$2 = x2$1.get__O__s_Option(k); matchEnd6: { if ($is_s_Some(x1$2)) { var x2 = $as_s_Some(x1$2); var p3 = x2.x$2; if ($m_sr_BoxesRunTime$().equals__O__O__Z(v, p3)) { res = true; break matchEnd6 } }; res = false; break matchEnd6 } } else { throw new $c_s_MatchError().init___O(x0$1) } }; return res } catch (e) { if ($is_jl_ClassCastException(e)) { $as_jl_ClassCastException(e); return false } else { throw e } } } function $s_sc_GenMapLike$class__equals__sc_GenMapLike__O__Z($$this, that) { if ($is_sc_GenMap(that)) { var x2 = $as_sc_GenMap(that); return (($$this === x2) || (($$this.size__I() === x2.size__I()) && $s_sc_GenMapLike$class__liftedTree1$1__p0__sc_GenMapLike__sc_GenMap__Z($$this, x2))) } else { return false } } function $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z($$this, that) { if ($is_sc_GenSeq(that)) { var x2 = $as_sc_GenSeq(that); return $$this.sameElements__sc_GenIterable__Z(x2) } else { return false } } function $s_sc_GenSeqLike$class__indexOf__sc_GenSeqLike__O__I__I($$this, elem, from) { return $$this.indexWhere__F1__I__I(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, elem$1) { return (function(x$1$2) { return $m_sr_BoxesRunTime$().equals__O__O__Z(elem$1, x$1$2) }) })($$this, elem)), from) } function $s_sc_GenSeqLike$class__isDefinedAt__sc_GenSeqLike__I__Z($$this, idx) { return ((idx >= 0) && (idx < $$this.length__I())) } function $s_sc_GenSetLike$class__liftedTree1$1__p0__sc_GenSetLike__sc_GenSet__Z($$this, x2$1) { try { return $$this.subsetOf__sc_GenSet__Z(x2$1) } catch (e) { if ($is_jl_ClassCastException(e)) { $as_jl_ClassCastException(e); return false } else { throw e } } } function $s_sc_GenSetLike$class__equals__sc_GenSetLike__O__Z($$this, that) { if ($is_sc_GenSet(that)) { var x2 = $as_sc_GenSet(that); return (($$this === x2) || (($$this.size__I() === x2.size__I()) && $s_sc_GenSetLike$class__liftedTree1$1__p0__sc_GenSetLike__sc_GenSet__Z($$this, x2))) } else { return false } } function $is_sc_GenTraversableOnce(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_GenTraversableOnce))) } function $as_sc_GenTraversableOnce(obj) { return (($is_sc_GenTraversableOnce(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.GenTraversableOnce")) } function $isArrayOf_sc_GenTraversableOnce(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_GenTraversableOnce))) } function $asArrayOf_sc_GenTraversableOnce(obj, depth) { return (($isArrayOf_sc_GenTraversableOnce(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.GenTraversableOnce;", depth)) } function $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I($$this, len) { return (($$this.length__I() - len) | 0) } function $s_sc_IndexedSeqOptimized$class__last__sc_IndexedSeqOptimized__O($$this) { return (($$this.length__I() > 0) ? $$this.apply__I__O((((-1) + $$this.length__I()) | 0)) : $s_sc_TraversableLike$class__last__sc_TraversableLike__O($$this)) } function $s_sc_IndexedSeqOptimized$class__forall__sc_IndexedSeqOptimized__F1__Z($$this, p) { return ($s_sc_IndexedSeqOptimized$class__prefixLengthImpl__p0__sc_IndexedSeqOptimized__F1__Z__I($$this, p, true) === $$this.length__I()) } function $s_sc_IndexedSeqOptimized$class__reduceLeft__sc_IndexedSeqOptimized__F2__O($$this, op) { return (($$this.length__I() > 0) ? $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O($$this, 1, $$this.length__I(), $$this.apply__I__O(0), op) : $s_sc_TraversableOnce$class__reduceLeft__sc_TraversableOnce__F2__O($$this, op)) } function $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O($$this, from, until) { var lo = ((from > 0) ? from : 0); var x = ((until > 0) ? until : 0); var y = $$this.length__I(); var hi = ((x < y) ? x : y); var x$1 = ((hi - lo) | 0); var elems = ((x$1 > 0) ? x$1 : 0); var b = $$this.newBuilder__scm_Builder(); b.sizeHint__I__V(elems); var i = lo; while ((i < hi)) { b.$$plus$eq__O__scm_Builder($$this.apply__I__O(i)); i = ((1 + i) | 0) }; return b.result__O() } function $s_sc_IndexedSeqOptimized$class__segmentLength__sc_IndexedSeqOptimized__F1__I__I($$this, p, from) { var len = $$this.length__I(); var i = from; while (((i < len) && $uZ(p.apply__O__O($$this.apply__I__O(i))))) { i = ((1 + i) | 0) }; return ((i - from) | 0) } function $s_sc_IndexedSeqOptimized$class__negLength__p0__sc_IndexedSeqOptimized__I__I($$this, n) { return ((n >= $$this.length__I()) ? (-1) : n) } function $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O($$this, start, end, z, op) { _foldl: while (true) { if ((start === end)) { return z } else { var temp$start = ((1 + start) | 0); var temp$z = op.apply__O__O__O(z, $$this.apply__I__O(start)); start = temp$start; z = temp$z; continue _foldl } } } function $s_sc_IndexedSeqOptimized$class__zip__sc_IndexedSeqOptimized__sc_GenIterable__scg_CanBuildFrom__O($$this, that, bf) { if ($is_sc_IndexedSeq(that)) { var x2 = $as_sc_IndexedSeq(that); var b = bf.apply__O__scm_Builder($$this.repr__O()); var i = 0; var x = $$this.length__I(); var that$1 = x2.length__I(); var len = ((x < that$1) ? x : that$1); b.sizeHint__I__V(len); while ((i < len)) { b.$$plus$eq__O__scm_Builder(new $c_T2().init___O__O($$this.apply__I__O(i), x2.apply__I__O(i))); i = ((1 + i) | 0) }; return b.result__O() } else { return $s_sc_IterableLike$class__zip__sc_IterableLike__sc_GenIterable__scg_CanBuildFrom__O($$this, that, bf) } } function $s_sc_IndexedSeqOptimized$class__zipWithIndex__sc_IndexedSeqOptimized__scg_CanBuildFrom__O($$this, bf) { var b = bf.apply__O__scm_Builder($$this.repr__O()); var len = $$this.length__I(); b.sizeHint__I__V(len); var i = 0; while ((i < len)) { b.$$plus$eq__O__scm_Builder(new $c_T2().init___O__O($$this.apply__I__O(i), i)); i = ((1 + i) | 0) }; return b.result__O() } function $s_sc_IndexedSeqOptimized$class__copyToArray__sc_IndexedSeqOptimized__O__I__I__V($$this, xs, start, len) { var i = 0; var j = start; var x = $$this.length__I(); var x$1 = ((x < len) ? x : len); var that = (($m_sr_ScalaRunTime$().array$undlength__O__I(xs) - start) | 0); var end = ((x$1 < that) ? x$1 : that); while ((i < end)) { $m_sr_ScalaRunTime$().array$undupdate__O__I__O__V(xs, j, $$this.apply__I__O(i)); i = ((1 + i) | 0); j = ((1 + j) | 0) } } function $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z($$this, that) { if ($is_sc_IndexedSeq(that)) { var x2 = $as_sc_IndexedSeq(that); var len = $$this.length__I(); if ((len === x2.length__I())) { var i = 0; while (((i < len) && $m_sr_BoxesRunTime$().equals__O__O__Z($$this.apply__I__O(i), x2.apply__I__O(i)))) { i = ((1 + i) | 0) }; return (i === len) } else { return false } } else { return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z($$this, that) } } function $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V($$this, f) { var i = 0; var len = $$this.length__I(); while ((i < len)) { f.apply__O__O($$this.apply__I__O(i)); i = ((1 + i) | 0) } } function $s_sc_IndexedSeqOptimized$class__reverse__sc_IndexedSeqOptimized__O($$this) { var b = $$this.newBuilder__scm_Builder(); b.sizeHint__I__V($$this.length__I()); var i = $$this.length__I(); while ((i > 0)) { i = (((-1) + i) | 0); b.$$plus$eq__O__scm_Builder($$this.apply__I__O(i)) }; return b.result__O() } function $s_sc_IndexedSeqOptimized$class__init__sc_IndexedSeqOptimized__O($$this) { return (($$this.length__I() > 0) ? $$this.slice__I__I__O(0, (((-1) + $$this.length__I()) | 0)) : $s_sc_TraversableLike$class__init__sc_TraversableLike__O($$this)) } function $s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O($$this) { return ($s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z($$this) ? $s_sc_TraversableLike$class__tail__sc_TraversableLike__O($$this) : $$this.slice__I__I__O(1, $$this.length__I())) } function $s_sc_IndexedSeqOptimized$class__prefixLengthImpl__p0__sc_IndexedSeqOptimized__F1__Z__I($$this, p, expectTrue) { var i = 0; while (((i < $$this.length__I()) && ($uZ(p.apply__O__O($$this.apply__I__O(i))) === expectTrue))) { i = ((1 + i) | 0) }; return i } function $s_sc_IndexedSeqOptimized$class__exists__sc_IndexedSeqOptimized__F1__Z($$this, p) { return ($s_sc_IndexedSeqOptimized$class__prefixLengthImpl__p0__sc_IndexedSeqOptimized__F1__Z__I($$this, p, false) !== $$this.length__I()) } function $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z($$this) { return ($$this.length__I() === 0) } function $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O($$this) { return ($s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z($$this) ? new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I($$this, 0, $$this.length__I()).next__O() : $$this.apply__I__O(0)) } function $s_sc_IndexedSeqOptimized$class__span__sc_IndexedSeqOptimized__F1__T2($$this, p) { var n = $s_sc_IndexedSeqOptimized$class__segmentLength__sc_IndexedSeqOptimized__F1__I__I($$this, p, 0); return $s_sc_IndexedSeqOptimized$class__splitAt__sc_IndexedSeqOptimized__I__T2($$this, n) } function $s_sc_IndexedSeqOptimized$class__indexWhere__sc_IndexedSeqOptimized__F1__I__I($$this, p, from) { var start = ((from > 0) ? from : 0); var len = $$this.length__I(); var i = start; while (true) { if ((i < len)) { var arg1 = $$this.apply__I__O(i); var jsx$1 = (!$uZ(p.apply__O__O(arg1))) } else { var jsx$1 = false }; if (jsx$1) { i = ((1 + i) | 0) } else { break } }; return $s_sc_IndexedSeqOptimized$class__negLength__p0__sc_IndexedSeqOptimized__I__I($$this, ((start + ((i - start) | 0)) | 0)) } function $s_sc_IndexedSeqOptimized$class__splitAt__sc_IndexedSeqOptimized__I__T2($$this, n) { return new $c_T2().init___O__O($$this.slice__I__I__O(0, n), $$this.slice__I__I__O(n, $$this.length__I())) } function $s_sc_IterableLike$class__drop__sc_IterableLike__I__O($$this, n) { var b = $$this.newBuilder__scm_Builder(); var lo = ((n < 0) ? 0 : n); var delta = ((-lo) | 0); $s_scm_Builder$class__sizeHint__scm_Builder__sc_TraversableLike__I__V(b, $$this, delta); var i = 0; var it = $$this.iterator__sc_Iterator(); while (((i < n) && it.hasNext__Z())) { it.next__O(); i = ((1 + i) | 0) }; return $as_scm_Builder(b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable(it)).result__O() } function $s_sc_IterableLike$class__zip__sc_IterableLike__sc_GenIterable__scg_CanBuildFrom__O($$this, that, bf) { var b = bf.apply__O__scm_Builder($$this.repr__O()); var these = $$this.iterator__sc_Iterator(); var those = that.iterator__sc_Iterator(); while ((these.hasNext__Z() && those.hasNext__Z())) { b.$$plus$eq__O__scm_Builder(new $c_T2().init___O__O(these.next__O(), those.next__O())) }; return b.result__O() } function $s_sc_IterableLike$class__copyToArray__sc_IterableLike__O__I__I__V($$this, xs, start, len) { var i = start; var x = ((start + len) | 0); var that = $m_sr_ScalaRunTime$().array$undlength__O__I(xs); var end = ((x < that) ? x : that); var it = $$this.iterator__sc_Iterator(); while (((i < end) && it.hasNext__Z())) { $m_sr_ScalaRunTime$().array$undupdate__O__I__O__V(xs, i, it.next__O()); i = ((1 + i) | 0) } } function $s_sc_IterableLike$class__take__sc_IterableLike__I__O($$this, n) { var b = $$this.newBuilder__scm_Builder(); if ((n <= 0)) { return b.result__O() } else { b.sizeHintBounded__I__sc_TraversableLike__V(n, $$this); var i = 0; var it = $$this.iterator__sc_Iterator(); while (((i < n) && it.hasNext__Z())) { b.$$plus$eq__O__scm_Builder(it.next__O()); i = ((1 + i) | 0) }; return b.result__O() } } function $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z($$this, that) { var these = $$this.iterator__sc_Iterator(); var those = that.iterator__sc_Iterator(); while ((these.hasNext__Z() && those.hasNext__Z())) { if ((!$m_sr_BoxesRunTime$().equals__O__O__Z(these.next__O(), those.next__O()))) { return false } }; return ((!these.hasNext__Z()) && (!those.hasNext__Z())) } function $s_sc_IterableLike$class__zipWithIndex__sc_IterableLike__scg_CanBuildFrom__O($$this, bf) { var b = bf.apply__O__scm_Builder($$this.repr__O()); var i = new $c_sr_IntRef().init___I(0); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, b$1, i$1) { return (function(x$2) { b$1.$$plus$eq__O__scm_Builder(new $c_T2().init___O__O(x$2, i$1.elem$1)); i$1.elem$1 = ((1 + i$1.elem$1) | 0) }) })($$this, b, i))); return b.result__O() } function $s_sc_Iterator$class__isEmpty__sc_Iterator__Z($$this) { return (!$$this.hasNext__Z()) } function $s_sc_Iterator$class__toStream__sc_Iterator__sci_Stream($$this) { if ($$this.hasNext__Z()) { var hd = $$this.next__O(); var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($$this$1) { return (function() { return $$this$1.toStream__sci_Stream() }) })($$this)); return new $c_sci_Stream$Cons().init___O__F0(hd, tl) } else { $m_sci_Stream$(); return $m_sci_Stream$Empty$() } } function $s_sc_Iterator$class__drop__sc_Iterator__I__sc_Iterator($$this, n) { var j = 0; while (((j < n) && $$this.hasNext__Z())) { $$this.next__O(); j = ((1 + j) | 0) }; return $$this } function $s_sc_Iterator$class__toString__sc_Iterator__T($$this) { return (($$this.hasNext__Z() ? "non-empty" : "empty") + " iterator") } function $s_sc_Iterator$class__exists__sc_Iterator__F1__Z($$this, p) { var res = false; while (((!res) && $$this.hasNext__Z())) { res = $uZ(p.apply__O__O($$this.next__O())) }; return res } function $s_sc_Iterator$class__foreach__sc_Iterator__F1__V($$this, f) { while ($$this.hasNext__Z()) { f.apply__O__O($$this.next__O()) } } function $s_sc_Iterator$class__forall__sc_Iterator__F1__Z($$this, p) { var res = true; while ((res && $$this.hasNext__Z())) { res = $uZ(p.apply__O__O($$this.next__O())) }; return res } function $s_sc_LinearSeqOptimized$class__foldLeft__sc_LinearSeqOptimized__O__F2__O($$this, z, op) { var acc = z; var these = $$this; while ((!these.isEmpty__Z())) { acc = op.apply__O__O__O(acc, these.head__O()); these = $as_sc_LinearSeqOptimized(these.tail__O()) }; return acc } function $s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I($$this, len) { return ((len < 0) ? 1 : $s_sc_LinearSeqOptimized$class__loop$1__p0__sc_LinearSeqOptimized__I__sc_LinearSeqOptimized__I__I($$this, 0, $$this, len)) } function $s_sc_LinearSeqOptimized$class__isDefinedAt__sc_LinearSeqOptimized__I__Z($$this, x) { return ((x >= 0) && ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I($$this, x) > 0)) } function $s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O($$this, n) { var rest = $$this.drop__I__sc_LinearSeqOptimized(n); if (((n < 0) || rest.isEmpty__Z())) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + n)) }; return rest.head__O() } function $s_sc_LinearSeqOptimized$class__exists__sc_LinearSeqOptimized__F1__Z($$this, p) { var these = $$this; while ((!these.isEmpty__Z())) { if ($uZ(p.apply__O__O(these.head__O()))) { return true }; these = $as_sc_LinearSeqOptimized(these.tail__O()) }; return false } function $s_sc_LinearSeqOptimized$class__loop$1__p0__sc_LinearSeqOptimized__I__sc_LinearSeqOptimized__I__I($$this, i, xs, len$1) { _loop: while (true) { if ((i === len$1)) { return (xs.isEmpty__Z() ? 0 : 1) } else if (xs.isEmpty__Z()) { return (-1) } else { var temp$i = ((1 + i) | 0); var temp$xs = $as_sc_LinearSeqOptimized(xs.tail__O()); i = temp$i; xs = temp$xs; continue _loop } } } function $s_sc_LinearSeqOptimized$class__forall__sc_LinearSeqOptimized__F1__Z($$this, p) { var these = $$this; while ((!these.isEmpty__Z())) { if ((!$uZ(p.apply__O__O(these.head__O())))) { return false }; these = $as_sc_LinearSeqOptimized(these.tail__O()) }; return true } function $s_sc_LinearSeqOptimized$class__length__sc_LinearSeqOptimized__I($$this) { var these = $$this; var len = 0; while ((!these.isEmpty__Z())) { len = ((1 + len) | 0); these = $as_sc_LinearSeqOptimized(these.tail__O()) }; return len } function $s_sc_LinearSeqOptimized$class__last__sc_LinearSeqOptimized__O($$this) { if ($$this.isEmpty__Z()) { throw new $c_ju_NoSuchElementException().init___() }; var these = $$this; var nx = $as_sc_LinearSeqOptimized(these.tail__O()); while ((!nx.isEmpty__Z())) { these = nx; nx = $as_sc_LinearSeqOptimized(nx.tail__O()) }; return these.head__O() } function $s_sc_LinearSeqOptimized$class__span__sc_LinearSeqOptimized__F1__T2($$this, p) { var these = $$this; var b = $$this.companion__scg_GenericCompanion().newBuilder__scm_Builder(); while (((!these.isEmpty__Z()) && $uZ(p.apply__O__O(these.head__O())))) { b.$$plus$eq__O__scm_Builder(these.head__O()); these = $as_sc_LinearSeqOptimized(these.tail__O()) }; return new $c_T2().init___O__O(b.result__O(), these) } function $s_sc_LinearSeqOptimized$class__sameElements__sc_LinearSeqOptimized__sc_GenIterable__Z($$this, that) { if ($is_sc_LinearSeq(that)) { var x2 = $as_sc_LinearSeq(that); if (($$this === x2)) { return true } else { var these = $$this; var those = x2; while ((((!these.isEmpty__Z()) && (!those.isEmpty__Z())) && $m_sr_BoxesRunTime$().equals__O__O__Z(these.head__O(), those.head__O()))) { these = $as_sc_LinearSeqOptimized(these.tail__O()); those = $as_sc_LinearSeq(those.tail__O()) }; return (these.isEmpty__Z() && those.isEmpty__Z()) } } else { return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z($$this, that) } } function $s_sc_LinearSeqOptimized$class__indexWhere__sc_LinearSeqOptimized__F1__I__I($$this, p, from) { var i = from; var these = $$this.drop__I__sc_LinearSeqOptimized(from); while (true) { var this$1 = these; if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$1)) { if ($uZ(p.apply__O__O(these.head__O()))) { return i }; i = ((1 + i) | 0); these = $as_sc_LinearSeqOptimized(these.tail__O()) } else { break } }; return (-1) } function $s_sc_LinearSeqOptimized$class__contains__sc_LinearSeqOptimized__O__Z($$this, elem) { var these = $$this; while ((!these.isEmpty__Z())) { if ($m_sr_BoxesRunTime$().equals__O__O__Z(these.head__O(), elem)) { return true }; these = $as_sc_LinearSeqOptimized(these.tail__O()) }; return false } function $s_sc_LinearSeqOptimized$class__reduceLeft__sc_LinearSeqOptimized__F2__O($$this, f) { if ($$this.isEmpty__Z()) { throw new $c_jl_UnsupportedOperationException().init___T("empty.reduceLeft") } else { return $as_sc_LinearSeqOptimized($$this.tail__O()).foldLeft__O__F2__O($$this.head__O(), f) } } function $s_sc_MapLike$class__filterNot__sc_MapLike__F1__sc_Map($$this, p) { var elem = $as_sc_Map($$this); var res = new $c_sr_ObjectRef().init___O(elem); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, res$1, p$1) { return (function(kv$2) { var kv = $as_T2(kv$2); if ($uZ(p$1.apply__O__O(kv))) { res$1.elem$1 = $as_sc_Map(res$1.elem$1).$$minus__O__sc_Map(kv.$$und1__O()) } }) })($$this, res, p))); return $as_sc_Map(res.elem$1) } function $s_sc_MapLike$class__addString__sc_MapLike__scm_StringBuilder__T__T__T__scm_StringBuilder($$this, b, start, sep, end) { var this$2 = $$this.iterator__sc_Iterator(); var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1) { return (function(x0$1$2) { var x0$1 = $as_T2(x0$1$2); if ((x0$1 !== null)) { var k = x0$1.$$und1__O(); var v = x0$1.$$und2__O(); return (("" + $m_s_Predef$any2stringadd$().$$plus$extension__O__T__T(k, " -> ")) + v) } else { throw new $c_s_MatchError().init___O(x0$1) } }) })($$this)); var this$3 = new $c_sc_Iterator$$anon$11().init___sc_Iterator__F1(this$2, f); return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this$3, b, start, sep, end) } function $s_sc_MapLike$class__apply__sc_MapLike__O__O($$this, key) { var x1 = $$this.get__O__s_Option(key); var x = $m_s_None$(); if ((x === x1)) { return $$this.$default__O__O(key) } else if ($is_s_Some(x1)) { var x2 = $as_s_Some(x1); var value = x2.x$2; return value } else { throw new $c_s_MatchError().init___O(x1) } } function $s_sc_MapLike$class__isEmpty__sc_MapLike__Z($$this) { return ($$this.size__I() === 0) } function $s_sc_MapLike$class__contains__sc_MapLike__O__Z($$this, key) { return $$this.get__O__s_Option(key).isDefined__Z() } function $s_sc_MapLike$class__$default__sc_MapLike__O__O($$this, key) { throw new $c_ju_NoSuchElementException().init___T(("key not found: " + key)) } function $s_sc_SeqLike$class__isEmpty__sc_SeqLike__Z($$this) { return ($$this.lengthCompare__I__I(0) === 0) } function $s_sc_SeqLike$class__$$plus$colon__sc_SeqLike__O__scg_CanBuildFrom__O($$this, elem, bf) { var b = bf.apply__O__scm_Builder($$this.repr__O()); b.$$plus$eq__O__scm_Builder(elem); b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable($$this.thisCollection__sc_Seq()); return b.result__O() } function $s_sc_SeqLike$class__reverse__sc_SeqLike__O($$this) { var elem = $m_sci_Nil$(); var xs = new $c_sr_ObjectRef().init___O(elem); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, xs$1) { return (function(x$2) { var this$2 = $as_sci_List(xs$1.elem$1); xs$1.elem$1 = new $c_sci_$colon$colon().init___O__sci_List(x$2, this$2) }) })($$this, xs))); var b = $$this.newBuilder__scm_Builder(); $s_scm_Builder$class__sizeHint__scm_Builder__sc_TraversableLike__V(b, $$this); var this$3 = $as_sci_List(xs.elem$1); var these = this$3; while ((!these.isEmpty__Z())) { var arg1 = these.head__O(); b.$$plus$eq__O__scm_Builder(arg1); these = $as_sci_List(these.tail__O()) }; return b.result__O() } function $s_sc_SeqLike$class__sortWith__sc_SeqLike__F2__O($$this, lt) { var ord = new $c_s_math_Ordering$$anon$9().init___F2(lt); return $s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O($$this, ord) } function $s_sc_SeqLike$class__reverseIterator__sc_SeqLike__sc_Iterator($$this) { return $$this.toCollection__O__sc_Seq($$this.reverse__O()).iterator__sc_Iterator() } function $s_sc_SeqLike$class__$$colon$plus__sc_SeqLike__O__scg_CanBuildFrom__O($$this, elem, bf) { var b = bf.apply__O__scm_Builder($$this.repr__O()); b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable($$this.thisCollection__sc_Seq()); b.$$plus$eq__O__scm_Builder(elem); return b.result__O() } function $s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O($$this, ord) { var len = $$this.length__I(); var b = $$this.newBuilder__scm_Builder(); if ((len === 1)) { b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable($$this) } else if ((len > 1)) { b.sizeHint__I__V(len); var arr = $newArrayObject($d_O.getArrayOf(), [len]); var i = new $c_sr_IntRef().init___I(0); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, arr$1, i$1) { return (function(x$2) { arr$1.u[i$1.elem$1] = x$2; i$1.elem$1 = ((1 + i$1.elem$1) | 0) }) })($$this, arr, i))); $m_ju_Arrays$().sort__AO__ju_Comparator__V(arr, ord); i.elem$1 = 0; while ((i.elem$1 < arr.u.length)) { b.$$plus$eq__O__scm_Builder(arr.u[i.elem$1]); i.elem$1 = ((1 + i.elem$1) | 0) } }; return b.result__O() } function $s_sc_SeqLike$class__diff__sc_SeqLike__sc_GenSeq__O($$this, that) { var occ = $s_sc_SeqLike$class__occCounts__p0__sc_SeqLike__sc_Seq__scm_Map($$this, that.seq__sc_Seq()); var b = $$this.newBuilder__scm_Builder(); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, occ$1, b$1) { return (function(x$2) { var ox = $uI(occ$1.apply__O__O(x$2)); return ((ox === 0) ? b$1.$$plus$eq__O__scm_Builder(x$2) : (occ$1.update__O__O__V(x$2, (((-1) + ox) | 0)), (void 0))) }) })($$this, occ, b))); return b.result__O() } function $s_sc_SeqLike$class__contains__sc_SeqLike__O__Z($$this, elem) { return $$this.exists__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, elem$1) { return (function(x$12$2) { return $m_sr_BoxesRunTime$().equals__O__O__Z(x$12$2, elem$1) }) })($$this, elem))) } function $s_sc_SeqLike$class__indexWhere__sc_SeqLike__F1__I__I($$this, p, from) { var i = from; var it = $$this.iterator__sc_Iterator().drop__I__sc_Iterator(from); while (it.hasNext__Z()) { if ($uZ(p.apply__O__O(it.next__O()))) { return i } else { i = ((1 + i) | 0) } }; return (-1) } function $s_sc_SeqLike$class__occCounts__p0__sc_SeqLike__sc_Seq__scm_Map($$this, sq) { var occ = new $c_sc_SeqLike$$anon$1().init___sc_SeqLike($$this); sq.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, occ$1) { return (function(y$2) { var value = ((1 + $uI(occ$1.apply__O__O(y$2))) | 0); occ$1.put__O__O__s_Option(y$2, value) }) })($$this, occ))); return occ } function $s_sc_SeqLike$class__lengthCompare__sc_SeqLike__I__I($$this, len) { if ((len < 0)) { return 1 } else { var i = 0; var it = $$this.iterator__sc_Iterator(); while (it.hasNext__Z()) { if ((i === len)) { return (it.hasNext__Z() ? 1 : 0) }; it.next__O(); i = ((1 + i) | 0) }; return ((i - len) | 0) } } function $s_sc_SetLike$class__isEmpty__sc_SetLike__Z($$this) { return ($$this.size__I() === 0) } function $s_sc_SetLike$class__$$plus$plus__sc_SetLike__sc_GenTraversableOnce__sc_Set($$this, elems) { var x$1 = $as_sc_Set($$this); return $as_sc_Set(elems.seq__sc_TraversableOnce().$$div$colon__O__F2__O(x$1, new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($$this$1) { return (function(x$2$2, x$3$2) { var x$2 = $as_sc_Set(x$2$2); return x$2.$$plus__O__sc_Set(x$3$2) }) })($$this)))) } function $s_sc_SetLike$class__toBuffer__sc_SetLike__scm_Buffer($$this) { var result = new $c_scm_ArrayBuffer().init___I($$this.size__I()); var xs = $$this.seq__sc_TraversableOnce(); result.$$plus$plus$eq__sc_TraversableOnce__scm_ArrayBuffer(xs); return result } function $s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O($$this, cbf) { var b = cbf.apply__scm_Builder(); $s_scm_Builder$class__sizeHint__scm_Builder__sc_TraversableLike__V(b, $$this); b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable($$this.thisCollection__sc_Traversable()); return b.result__O() } function $s_sc_TraversableLike$class__toString__sc_TraversableLike__T($$this) { return $$this.mkString__T__T__T__T(($$this.stringPrefix__T() + "("), ", ", ")") } function $s_sc_TraversableLike$class__flatMap__sc_TraversableLike__F1__scg_CanBuildFrom__O($$this, f, bf) { var b = bf.apply__O__scm_Builder($$this.repr__O()); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, b$1, f$1) { return (function(x$2) { return $as_scm_Builder(b$1.$$plus$plus$eq__sc_TraversableOnce__scg_Growable($as_sc_GenTraversableOnce(f$1.apply__O__O(x$2)).seq__sc_TraversableOnce())) }) })($$this, b, f))); return b.result__O() } function $s_sc_TraversableLike$class__span__sc_TraversableLike__F1__T2($$this, p) { var l = $$this.newBuilder__scm_Builder(); var r = $$this.newBuilder__scm_Builder(); var toLeft = new $c_sr_BooleanRef().init___Z(true); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, l$1, r$1, toLeft$1, p$1) { return (function(x$2) { toLeft$1.elem$1 = (toLeft$1.elem$1 && $uZ(p$1.apply__O__O(x$2))); return (toLeft$1.elem$1 ? l$1 : r$1).$$plus$eq__O__scm_Builder(x$2) }) })($$this, l, r, toLeft, p))); return new $c_T2().init___O__O(l.result__O(), r.result__O()) } function $s_sc_TraversableLike$class__map__sc_TraversableLike__F1__scg_CanBuildFrom__O($$this, f, bf) { var b = $s_sc_TraversableLike$class__builder$1__p0__sc_TraversableLike__scg_CanBuildFrom__scm_Builder($$this, bf); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, b$1, f$1) { return (function(x$2) { return b$1.$$plus$eq__O__scm_Builder(f$1.apply__O__O(x$2)) }) })($$this, b, f))); return b.result__O() } function $s_sc_TraversableLike$class__init__sc_TraversableLike__O($$this) { if ($$this.isEmpty__Z()) { throw new $c_jl_UnsupportedOperationException().init___T("empty.init") }; var elem = $$this.head__O(); var lst = new $c_sr_ObjectRef().init___O(elem); var follow = new $c_sr_BooleanRef().init___Z(false); var b = $$this.newBuilder__scm_Builder(); $s_scm_Builder$class__sizeHint__scm_Builder__sc_TraversableLike__I__V(b, $$this, (-1)); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, lst$1, follow$1, b$1) { return (function(x$2) { if (follow$1.elem$1) { b$1.$$plus$eq__O__scm_Builder(lst$1.elem$1) } else { follow$1.elem$1 = true }; lst$1.elem$1 = x$2 }) })($$this, lst, follow, b))); return b.result__O() } function $s_sc_TraversableLike$class__filterImpl__p0__sc_TraversableLike__F1__Z__O($$this, p, isFlipped) { var b = $$this.newBuilder__scm_Builder(); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, p$1, isFlipped$1, b$1) { return (function(x$2) { return (($uZ(p$1.apply__O__O(x$2)) !== isFlipped$1) ? b$1.$$plus$eq__O__scm_Builder(x$2) : (void 0)) }) })($$this, p, isFlipped, b))); return b.result__O() } function $s_sc_TraversableLike$class__tail__sc_TraversableLike__O($$this) { if ($$this.isEmpty__Z()) { throw new $c_jl_UnsupportedOperationException().init___T("empty.tail") }; return $$this.drop__I__O(1) } function $s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O($$this, that, bf) { var b = bf.apply__O__scm_Builder($$this.repr__O()); if ($is_sc_IndexedSeqLike(that)) { var delta = that.seq__sc_TraversableOnce().size__I(); $s_scm_Builder$class__sizeHint__scm_Builder__sc_TraversableLike__I__V(b, $$this, delta) }; b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable($$this.thisCollection__sc_Traversable()); b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable(that.seq__sc_TraversableOnce()); return b.result__O() } function $s_sc_TraversableLike$class__lastOption__sc_TraversableLike__s_Option($$this) { return ($$this.isEmpty__Z() ? $m_s_None$() : new $c_s_Some().init___O($$this.last__O())) } function $s_sc_TraversableLike$class__builder$1__p0__sc_TraversableLike__scg_CanBuildFrom__scm_Builder($$this, bf$1) { var b = bf$1.apply__O__scm_Builder($$this.repr__O()); $s_scm_Builder$class__sizeHint__scm_Builder__sc_TraversableLike__V(b, $$this); return b } function $s_sc_TraversableLike$class__stringPrefix__sc_TraversableLike__T($$this) { var this$1 = $$this.repr__O(); var string = $objectGetClass(this$1).getName__T(); var idx1 = $m_sjsr_RuntimeString$().lastIndexOf__T__I__I(string, 46); if ((idx1 !== (-1))) { var thiz = string; var beginIndex = ((1 + idx1) | 0); string = $as_T(thiz.substring(beginIndex)) }; var idx2 = $m_sjsr_RuntimeString$().indexOf__T__I__I(string, 36); if ((idx2 !== (-1))) { var thiz$1 = string; string = $as_T(thiz$1.substring(0, idx2)) }; return string } function $s_sc_TraversableLike$class__partition__sc_TraversableLike__F1__T2($$this, p) { var l = $$this.newBuilder__scm_Builder(); var r = $$this.newBuilder__scm_Builder(); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, l$1, r$1, p$1) { return (function(x$2) { return ($uZ(p$1.apply__O__O(x$2)) ? l$1 : r$1).$$plus$eq__O__scm_Builder(x$2) }) })($$this, l, r, p))); return new $c_T2().init___O__O(l.result__O(), r.result__O()) } function $s_sc_TraversableLike$class__last__sc_TraversableLike__O($$this) { var elem = $$this.head__O(); var lst = new $c_sr_ObjectRef().init___O(elem); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, lst$1) { return (function(x$2) { lst$1.elem$1 = x$2 }) })($$this, lst))); return lst.elem$1 } function $s_sc_TraversableLike$class__groupBy__sc_TraversableLike__F1__sci_Map($$this, f) { var m = new $c_scm_HashMap().init___(); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, m$1, f$1) { return (function(elem$2) { var key = f$1.apply__O__O(elem$2); var x1 = m$1.get__O__s_Option(key); if ($is_s_Some(x1)) { var x2 = $as_s_Some(x1); var v = x2.x$2; var jsx$1 = v } else { var x = $m_s_None$(); if ((x === x1)) { var d = $$this$1.newBuilder__scm_Builder(); m$1.update__O__O__V(key, d); var jsx$1 = d } else { var jsx$1; throw new $c_s_MatchError().init___O(x1) } }; var bldr = $as_scm_Builder(jsx$1); return bldr.$$plus$eq__O__scm_Builder(elem$2) }) })($$this, m, f))); var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$2) { return (function(check$ifrefutable$1$2) { var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); return (check$ifrefutable$1 !== null) }) })($$this)); new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(m, p).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$3, b$1) { return (function(x$2$2) { var x$2 = $as_T2(x$2$2); if ((x$2 !== null)) { var k = x$2.$$und1__O(); var v$1 = $as_scm_Builder(x$2.$$und2__O()); return b$1.$$plus$eq__O__scm_Builder(new $c_T2().init___O__O(k, v$1.result__O())) } else { throw new $c_s_MatchError().init___O(x$2) } }) })($$this, b))); return $as_sci_Map(b.elems$1) } function $s_sc_TraversableOnce$class__to__sc_TraversableOnce__scg_CanBuildFrom__O($$this, cbf) { var b = cbf.apply__scm_Builder(); b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable($$this.seq__sc_TraversableOnce()); return b.result__O() } function $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder($$this, b, start, sep, end) { var first = new $c_sr_BooleanRef().init___Z(true); b.append__T__scm_StringBuilder(start); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, first$1, b$1, sep$1) { return (function(x$2) { if (first$1.elem$1) { b$1.append__O__scm_StringBuilder(x$2); first$1.elem$1 = false; return (void 0) } else { b$1.append__T__scm_StringBuilder(sep$1); return b$1.append__O__scm_StringBuilder(x$2) } }) })($$this, first, b, sep))); b.append__T__scm_StringBuilder(end); return b } function $s_sc_TraversableOnce$class__count__sc_TraversableOnce__F1__I($$this, p) { var cnt = new $c_sr_IntRef().init___I(0); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, cnt$1, p$1) { return (function(x$2) { if ($uZ(p$1.apply__O__O(x$2))) { cnt$1.elem$1 = ((1 + cnt$1.elem$1) | 0) } }) })($$this, cnt, p))); return cnt.elem$1 } function $s_sc_TraversableOnce$class__reduceLeft__sc_TraversableOnce__F2__O($$this, op) { if ($$this.isEmpty__Z()) { throw new $c_jl_UnsupportedOperationException().init___T("empty.reduceLeft") }; var first = new $c_sr_BooleanRef().init___Z(true); var acc = new $c_sr_ObjectRef().init___O(0); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, first$1, acc$1, op$1) { return (function(x$2) { if (first$1.elem$1) { acc$1.elem$1 = x$2; first$1.elem$1 = false } else { acc$1.elem$1 = op$1.apply__O__O__O(acc$1.elem$1, x$2) } }) })($$this, first, acc, op))); return acc.elem$1 } function $s_sc_TraversableOnce$class__foldLeft__sc_TraversableOnce__O__F2__O($$this, z, op) { var result = new $c_sr_ObjectRef().init___O(z); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, result$1, op$1) { return (function(x$2) { result$1.elem$1 = op$1.apply__O__O__O(result$1.elem$1, x$2) }) })($$this, result, op))); return result.elem$1 } function $s_sc_TraversableOnce$class__max__sc_TraversableOnce__s_math_Ordering__O($$this, cmp) { if ($$this.isEmpty__Z()) { throw new $c_jl_UnsupportedOperationException().init___T("empty.max") }; return $$this.reduceLeft__F2__O(new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($$this$1, cmp$1) { return (function(x$2, y$2) { return (cmp$1.gteq__O__O__Z(x$2, y$2) ? x$2 : y$2) }) })($$this, cmp))) } function $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T($$this, start, sep, end) { var this$1 = $$this.addString__scm_StringBuilder__T__T__T__scm_StringBuilder(new $c_scm_StringBuilder().init___(), start, sep, end); var this$2 = this$1.underlying$5; return this$2.content$1 } function $s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z($$this) { return (!$$this.isEmpty__Z()) } function $s_sc_TraversableOnce$class__size__sc_TraversableOnce__I($$this) { var result = new $c_sr_IntRef().init___I(0); $$this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, result$1) { return (function(x$2) { result$1.elem$1 = ((1 + result$1.elem$1) | 0) }) })($$this, result))); return result.elem$1 } function $s_sc_TraversableOnce$class__sum__sc_TraversableOnce__s_math_Numeric__O($$this, num) { return $$this.foldLeft__O__F2__O(0, new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($$this$1, num$1) { return (function(x$2, y$2) { var x = $uI(x$2); var y = $uI(y$2); return $s_s_math_Numeric$IntIsIntegral$class__plus__s_math_Numeric$IntIsIntegral__I__I__I(num$1, x, y) }) })($$this, num))) } function $s_scg_GenericTraversableTemplate$class__flatten__scg_GenericTraversableTemplate__F1__sc_GenTraversable($$this, asTraversable) { var b = $$this.companion__scg_GenericCompanion().newBuilder__scm_Builder(); $as_sc_GenTraversableOnce($$this).seq__sc_TraversableOnce().foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, b$1, asTraversable$1) { return (function(xs$2) { return $as_scm_Builder(b$1.$$plus$plus$eq__sc_TraversableOnce__scg_Growable($as_sc_GenTraversableOnce(asTraversable$1.apply__O__O(xs$2)).seq__sc_TraversableOnce())) }) })($$this, b, asTraversable))); return $as_sc_GenTraversable(b.result__O()) } function $s_scg_Growable$class__loop$1__p0__scg_Growable__sc_LinearSeq__V($$this, xs) { x: { _loop: while (true) { var this$1 = xs; if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$1)) { $$this.$$plus$eq__O__scg_Growable(xs.head__O()); xs = $as_sc_LinearSeq(xs.tail__O()); continue _loop }; break x } } } function $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable($$this, xs) { if ($is_sc_LinearSeq(xs)) { var x2 = $as_sc_LinearSeq(xs); $s_scg_Growable$class__loop$1__p0__scg_Growable__sc_LinearSeq__V($$this, x2) } else { xs.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1) { return (function(elem$2) { return $$this$1.$$plus$eq__O__scg_Growable(elem$2) }) })($$this))) }; return $$this } function $is_scg_Subtractable(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scg_Subtractable))) } function $as_scg_Subtractable(obj) { return (($is_scg_Subtractable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.generic.Subtractable")) } function $isArrayOf_scg_Subtractable(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scg_Subtractable))) } function $asArrayOf_scg_Subtractable(obj, depth) { return (($isArrayOf_scg_Subtractable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.generic.Subtractable;", depth)) } function $s_scg_Subtractable$class__$$minus$minus__scg_Subtractable__sc_GenTraversableOnce__scg_Subtractable($$this, xs) { var x$1 = $$this.repr__scg_Subtractable(); return $as_scg_Subtractable(xs.seq__sc_TraversableOnce().$$div$colon__O__F2__O(x$1, new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($$this$1) { return (function(x$2$2, x$3$2) { var x$2 = $as_scg_Subtractable(x$2$2); return x$2.$$minus__O__scg_Subtractable(x$3$2) }) })($$this)))) } function $s_sci_DefaultMap$class__$$plus__sci_DefaultMap__T2__sci_Map($$this, kv) { var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(b, $$this); var elem = new $c_T2().init___O__O(kv.$$und1__O(), kv.$$und2__O()); b.$$plus$eq__T2__scm_MapBuilder(elem); return $as_sci_Map(b.elems$1) } function $s_sci_DefaultMap$class__$$minus__sci_DefaultMap__O__sci_Map($$this, key) { var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, key$1) { return (function(kv$2) { var kv = $as_T2(kv$2); return (!$m_sr_BoxesRunTime$().equals__O__O__Z(kv.$$und1__O(), key$1)) }) })($$this, key)); new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1($$this, p).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$2, b$1) { return (function(kv$3$2) { var kv$3 = $as_T2(kv$3$2); return b$1.$$plus$eq__O__scm_Builder(kv$3) }) })($$this, b))); return $as_sci_Map(b.elems$1) } function $s_sci_StringLike$class__slice__sci_StringLike__I__I__O($$this, from, until) { var start = ((from > 0) ? from : 0); var that = $$this.length__I(); var end = ((until < that) ? until : that); if ((start >= end)) { return $$this.newBuilder__scm_Builder().result__O() } else { var jsx$1 = $$this.newBuilder__scm_Builder(); var thiz = $$this.toString__T(); var x = $as_T(thiz.substring(start, end)); return $as_scm_Builder(jsx$1.$$plus$plus$eq__sc_TraversableOnce__scg_Growable(new $c_sci_StringOps().init___T(x))).result__O() } } function $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T($$this, marginChar) { var buf = new $c_scm_StringBuilder().init___(); var this$1 = new $c_sci_StringLike$$anon$1().init___sci_StringLike($$this); while (this$1.hasNext__Z()) { var arg1 = this$1.next__T(); var len = $uI(arg1.length); var index = 0; while (true) { if ((index < len)) { var index$1 = index; var jsx$1 = ((65535 & $uI(arg1.charCodeAt(index$1))) <= 32) } else { var jsx$1 = false }; if (jsx$1) { index = ((1 + index) | 0) } else { break } }; if ((index < len)) { var index$2 = index; var jsx$3 = ((65535 & $uI(arg1.charCodeAt(index$2))) === marginChar) } else { var jsx$3 = false }; if (jsx$3) { var beginIndex = ((1 + index) | 0); var jsx$2 = $as_T(arg1.substring(beginIndex)) } else { var jsx$2 = arg1 }; buf.append__T__scm_StringBuilder(jsx$2) }; var this$7 = buf.underlying$5; return this$7.content$1 } function $s_sci_StringLike$class__scala$collection$immutable$StringLike$$isLineBreak__sci_StringLike__C__Z($$this, c) { return ((c === 10) || (c === 12)) } function $s_sci_VectorPointer$class__gotoFreshPosWritable1__sci_VectorPointer__I__I__I__V($$this, oldIndex, newIndex, xor) { $s_sci_VectorPointer$class__stabilize__sci_VectorPointer__I__V($$this, oldIndex); $s_sci_VectorPointer$class__gotoFreshPosWritable0__sci_VectorPointer__I__I__I__V($$this, oldIndex, newIndex, xor) } function $s_sci_VectorPointer$class__getElem__sci_VectorPointer__I__I__O($$this, index, xor) { if ((xor < 32)) { return $$this.display0__AO().u[(31 & index)] } else if ((xor < 1024)) { return $asArrayOf_O($$this.display1__AO().u[(31 & (index >> 5))], 1).u[(31 & index)] } else if ((xor < 32768)) { return $asArrayOf_O($asArrayOf_O($$this.display2__AO().u[(31 & (index >> 10))], 1).u[(31 & (index >> 5))], 1).u[(31 & index)] } else if ((xor < 1048576)) { return $asArrayOf_O($asArrayOf_O($asArrayOf_O($$this.display3__AO().u[(31 & (index >> 15))], 1).u[(31 & (index >> 10))], 1).u[(31 & (index >> 5))], 1).u[(31 & index)] } else if ((xor < 33554432)) { return $asArrayOf_O($asArrayOf_O($asArrayOf_O($asArrayOf_O($$this.display4__AO().u[(31 & (index >> 20))], 1).u[(31 & (index >> 15))], 1).u[(31 & (index >> 10))], 1).u[(31 & (index >> 5))], 1).u[(31 & index)] } else if ((xor < 1073741824)) { return $asArrayOf_O($asArrayOf_O($asArrayOf_O($asArrayOf_O($asArrayOf_O($$this.display5__AO().u[(31 & (index >> 25))], 1).u[(31 & (index >> 20))], 1).u[(31 & (index >> 15))], 1).u[(31 & (index >> 10))], 1).u[(31 & (index >> 5))], 1).u[(31 & index)] } else { throw new $c_jl_IllegalArgumentException().init___() } } function $s_sci_VectorPointer$class__gotoNextBlockStartWritable__sci_VectorPointer__I__I__V($$this, index, xor) { if ((xor < 1024)) { if (($$this.depth__I() === 1)) { $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1__AO().u[0] = $$this.display0__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO() } else if ((xor < 32768)) { if (($$this.depth__I() === 2)) { $$this.display2$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display2__AO().u[0] = $$this.display1__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO(); $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO() } else if ((xor < 1048576)) { if (($$this.depth__I() === 3)) { $$this.display3$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display3__AO().u[0] = $$this.display2__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display2$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO(); $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO(); $$this.display3__AO().u[(31 & (index >> 15))] = $$this.display2__AO() } else if ((xor < 33554432)) { if (($$this.depth__I() === 4)) { $$this.display4$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display4__AO().u[0] = $$this.display3__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display2$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display3$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO(); $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO(); $$this.display3__AO().u[(31 & (index >> 15))] = $$this.display2__AO(); $$this.display4__AO().u[(31 & (index >> 20))] = $$this.display3__AO() } else if ((xor < 1073741824)) { if (($$this.depth__I() === 5)) { $$this.display5$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display5__AO().u[0] = $$this.display4__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display2$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display3$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display4$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO(); $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO(); $$this.display3__AO().u[(31 & (index >> 15))] = $$this.display2__AO(); $$this.display4__AO().u[(31 & (index >> 20))] = $$this.display3__AO(); $$this.display5__AO().u[(31 & (index >> 25))] = $$this.display4__AO() } else { throw new $c_jl_IllegalArgumentException().init___() } } function $s_sci_VectorPointer$class__gotoPosWritable0__sci_VectorPointer__I__I__V($$this, newIndex, xor) { var x1 = (((-1) + $$this.depth__I()) | 0); switch (x1) { case 5: { var a = $$this.display5__AO(); $$this.display5$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a)); var array = $$this.display5__AO(); var index = (31 & (newIndex >> 25)); $$this.display4$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array, index)); var array$1 = $$this.display4__AO(); var index$1 = (31 & (newIndex >> 20)); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$1, index$1)); var array$2 = $$this.display3__AO(); var index$2 = (31 & (newIndex >> 15)); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$2, index$2)); var array$3 = $$this.display2__AO(); var index$3 = (31 & (newIndex >> 10)); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$3, index$3)); var array$4 = $$this.display1__AO(); var index$4 = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$4, index$4)); break } case 4: { var a$1 = $$this.display4__AO(); $$this.display4$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$1)); var array$5 = $$this.display4__AO(); var index$5 = (31 & (newIndex >> 20)); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$5, index$5)); var array$6 = $$this.display3__AO(); var index$6 = (31 & (newIndex >> 15)); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$6, index$6)); var array$7 = $$this.display2__AO(); var index$7 = (31 & (newIndex >> 10)); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$7, index$7)); var array$8 = $$this.display1__AO(); var index$8 = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$8, index$8)); break } case 3: { var a$2 = $$this.display3__AO(); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$2)); var array$9 = $$this.display3__AO(); var index$9 = (31 & (newIndex >> 15)); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$9, index$9)); var array$10 = $$this.display2__AO(); var index$10 = (31 & (newIndex >> 10)); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$10, index$10)); var array$11 = $$this.display1__AO(); var index$11 = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$11, index$11)); break } case 2: { var a$3 = $$this.display2__AO(); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$3)); var array$12 = $$this.display2__AO(); var index$12 = (31 & (newIndex >> 10)); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$12, index$12)); var array$13 = $$this.display1__AO(); var index$13 = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$13, index$13)); break } case 1: { var a$4 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$4)); var array$14 = $$this.display1__AO(); var index$14 = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$14, index$14)); break } case 0: { var a$5 = $$this.display0__AO(); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$5)); break } default: { throw new $c_s_MatchError().init___O(x1) } } } function $s_sci_VectorPointer$class__debug__sci_VectorPointer__V($$this) { return (void 0) } function $s_sci_VectorPointer$class__stabilize__sci_VectorPointer__I__V($$this, index) { var x1 = (((-1) + $$this.depth__I()) | 0); switch (x1) { case 5: { var a = $$this.display5__AO(); $$this.display5$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a)); var a$1 = $$this.display4__AO(); $$this.display4$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$1)); var a$2 = $$this.display3__AO(); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$2)); var a$3 = $$this.display2__AO(); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$3)); var a$4 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$4)); $$this.display5__AO().u[(31 & (index >> 25))] = $$this.display4__AO(); $$this.display4__AO().u[(31 & (index >> 20))] = $$this.display3__AO(); $$this.display3__AO().u[(31 & (index >> 15))] = $$this.display2__AO(); $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO(); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO(); break } case 4: { var a$5 = $$this.display4__AO(); $$this.display4$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$5)); var a$6 = $$this.display3__AO(); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$6)); var a$7 = $$this.display2__AO(); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$7)); var a$8 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$8)); $$this.display4__AO().u[(31 & (index >> 20))] = $$this.display3__AO(); $$this.display3__AO().u[(31 & (index >> 15))] = $$this.display2__AO(); $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO(); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO(); break } case 3: { var a$9 = $$this.display3__AO(); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$9)); var a$10 = $$this.display2__AO(); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$10)); var a$11 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$11)); $$this.display3__AO().u[(31 & (index >> 15))] = $$this.display2__AO(); $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO(); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO(); break } case 2: { var a$12 = $$this.display2__AO(); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$12)); var a$13 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$13)); $$this.display2__AO().u[(31 & (index >> 10))] = $$this.display1__AO(); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO(); break } case 1: { var a$14 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$14)); $$this.display1__AO().u[(31 & (index >> 5))] = $$this.display0__AO(); break } case 0: { break } default: { throw new $c_s_MatchError().init___O(x1) } } } function $s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array, index) { var x = array.u[index]; array.u[index] = null; var a = $asArrayOf_O(x, 1); return $s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a) } function $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V($$this, that, depth) { $$this.depth$und$eq__I__V(depth); var x1 = (((-1) + depth) | 0); switch (x1) { case (-1): { break } case 0: { $$this.display0$und$eq__AO__V(that.display0__AO()); break } case 1: { $$this.display1$und$eq__AO__V(that.display1__AO()); $$this.display0$und$eq__AO__V(that.display0__AO()); break } case 2: { $$this.display2$und$eq__AO__V(that.display2__AO()); $$this.display1$und$eq__AO__V(that.display1__AO()); $$this.display0$und$eq__AO__V(that.display0__AO()); break } case 3: { $$this.display3$und$eq__AO__V(that.display3__AO()); $$this.display2$und$eq__AO__V(that.display2__AO()); $$this.display1$und$eq__AO__V(that.display1__AO()); $$this.display0$und$eq__AO__V(that.display0__AO()); break } case 4: { $$this.display4$und$eq__AO__V(that.display4__AO()); $$this.display3$und$eq__AO__V(that.display3__AO()); $$this.display2$und$eq__AO__V(that.display2__AO()); $$this.display1$und$eq__AO__V(that.display1__AO()); $$this.display0$und$eq__AO__V(that.display0__AO()); break } case 5: { $$this.display5$und$eq__AO__V(that.display5__AO()); $$this.display4$und$eq__AO__V(that.display4__AO()); $$this.display3$und$eq__AO__V(that.display3__AO()); $$this.display2$und$eq__AO__V(that.display2__AO()); $$this.display1$und$eq__AO__V(that.display1__AO()); $$this.display0$und$eq__AO__V(that.display0__AO()); break } default: { throw new $c_s_MatchError().init___O(x1) } } } function $s_sci_VectorPointer$class__gotoNextBlockStart__sci_VectorPointer__I__I__V($$this, index, xor) { if ((xor < 1024)) { $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[(31 & (index >> 5))], 1)) } else if ((xor < 32768)) { $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[(31 & (index >> 10))], 1)); $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[0], 1)) } else if ((xor < 1048576)) { $$this.display2$und$eq__AO__V($asArrayOf_O($$this.display3__AO().u[(31 & (index >> 15))], 1)); $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[0], 1)); $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[0], 1)) } else if ((xor < 33554432)) { $$this.display3$und$eq__AO__V($asArrayOf_O($$this.display4__AO().u[(31 & (index >> 20))], 1)); $$this.display2$und$eq__AO__V($asArrayOf_O($$this.display3__AO().u[0], 1)); $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[0], 1)); $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[0], 1)) } else if ((xor < 1073741824)) { $$this.display4$und$eq__AO__V($asArrayOf_O($$this.display5__AO().u[(31 & (index >> 25))], 1)); $$this.display3$und$eq__AO__V($asArrayOf_O($$this.display4__AO().u[0], 1)); $$this.display2$und$eq__AO__V($asArrayOf_O($$this.display3__AO().u[0], 1)); $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[0], 1)); $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[0], 1)) } else { throw new $c_jl_IllegalArgumentException().init___() } } function $s_sci_VectorPointer$class__gotoPos__sci_VectorPointer__I__I__V($$this, index, xor) { if ((xor >= 32)) { if ((xor < 1024)) { $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[(31 & (index >> 5))], 1)) } else if ((xor < 32768)) { $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[(31 & (index >> 10))], 1)); $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[(31 & (index >> 5))], 1)) } else if ((xor < 1048576)) { $$this.display2$und$eq__AO__V($asArrayOf_O($$this.display3__AO().u[(31 & (index >> 15))], 1)); $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[(31 & (index >> 10))], 1)); $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[(31 & (index >> 5))], 1)) } else if ((xor < 33554432)) { $$this.display3$und$eq__AO__V($asArrayOf_O($$this.display4__AO().u[(31 & (index >> 20))], 1)); $$this.display2$und$eq__AO__V($asArrayOf_O($$this.display3__AO().u[(31 & (index >> 15))], 1)); $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[(31 & (index >> 10))], 1)); $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[(31 & (index >> 5))], 1)) } else if ((xor < 1073741824)) { $$this.display4$und$eq__AO__V($asArrayOf_O($$this.display5__AO().u[(31 & (index >> 25))], 1)); $$this.display3$und$eq__AO__V($asArrayOf_O($$this.display4__AO().u[(31 & (index >> 20))], 1)); $$this.display2$und$eq__AO__V($asArrayOf_O($$this.display3__AO().u[(31 & (index >> 15))], 1)); $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[(31 & (index >> 10))], 1)); $$this.display0$und$eq__AO__V($asArrayOf_O($$this.display1__AO().u[(31 & (index >> 5))], 1)) } else { throw new $c_jl_IllegalArgumentException().init___() } } } function $s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a) { var b = $newArrayObject($d_O.getArrayOf(), [a.u.length]); var length = a.u.length; $systemArraycopy(a, 0, b, 0, length); return b } function $s_sci_VectorPointer$class__gotoPosWritable1__sci_VectorPointer__I__I__I__V($$this, oldIndex, newIndex, xor) { if ((xor < 32)) { var a = $$this.display0__AO(); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a)) } else if ((xor < 1024)) { var a$1 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$1)); $$this.display1__AO().u[(31 & (oldIndex >> 5))] = $$this.display0__AO(); var array = $$this.display1__AO(); var index = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array, index)) } else if ((xor < 32768)) { var a$2 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$2)); var a$3 = $$this.display2__AO(); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$3)); $$this.display1__AO().u[(31 & (oldIndex >> 5))] = $$this.display0__AO(); $$this.display2__AO().u[(31 & (oldIndex >> 10))] = $$this.display1__AO(); var array$1 = $$this.display2__AO(); var index$1 = (31 & (newIndex >> 10)); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$1, index$1)); var array$2 = $$this.display1__AO(); var index$2 = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$2, index$2)) } else if ((xor < 1048576)) { var a$4 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$4)); var a$5 = $$this.display2__AO(); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$5)); var a$6 = $$this.display3__AO(); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$6)); $$this.display1__AO().u[(31 & (oldIndex >> 5))] = $$this.display0__AO(); $$this.display2__AO().u[(31 & (oldIndex >> 10))] = $$this.display1__AO(); $$this.display3__AO().u[(31 & (oldIndex >> 15))] = $$this.display2__AO(); var array$3 = $$this.display3__AO(); var index$3 = (31 & (newIndex >> 15)); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$3, index$3)); var array$4 = $$this.display2__AO(); var index$4 = (31 & (newIndex >> 10)); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$4, index$4)); var array$5 = $$this.display1__AO(); var index$5 = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$5, index$5)) } else if ((xor < 33554432)) { var a$7 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$7)); var a$8 = $$this.display2__AO(); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$8)); var a$9 = $$this.display3__AO(); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$9)); var a$10 = $$this.display4__AO(); $$this.display4$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$10)); $$this.display1__AO().u[(31 & (oldIndex >> 5))] = $$this.display0__AO(); $$this.display2__AO().u[(31 & (oldIndex >> 10))] = $$this.display1__AO(); $$this.display3__AO().u[(31 & (oldIndex >> 15))] = $$this.display2__AO(); $$this.display4__AO().u[(31 & (oldIndex >> 20))] = $$this.display3__AO(); var array$6 = $$this.display4__AO(); var index$6 = (31 & (newIndex >> 20)); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$6, index$6)); var array$7 = $$this.display3__AO(); var index$7 = (31 & (newIndex >> 15)); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$7, index$7)); var array$8 = $$this.display2__AO(); var index$8 = (31 & (newIndex >> 10)); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$8, index$8)); var array$9 = $$this.display1__AO(); var index$9 = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$9, index$9)) } else if ((xor < 1073741824)) { var a$11 = $$this.display1__AO(); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$11)); var a$12 = $$this.display2__AO(); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$12)); var a$13 = $$this.display3__AO(); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$13)); var a$14 = $$this.display4__AO(); $$this.display4$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$14)); var a$15 = $$this.display5__AO(); $$this.display5$und$eq__AO__V($s_sci_VectorPointer$class__copyOf__sci_VectorPointer__AO__AO($$this, a$15)); $$this.display1__AO().u[(31 & (oldIndex >> 5))] = $$this.display0__AO(); $$this.display2__AO().u[(31 & (oldIndex >> 10))] = $$this.display1__AO(); $$this.display3__AO().u[(31 & (oldIndex >> 15))] = $$this.display2__AO(); $$this.display4__AO().u[(31 & (oldIndex >> 20))] = $$this.display3__AO(); $$this.display5__AO().u[(31 & (oldIndex >> 25))] = $$this.display4__AO(); var array$10 = $$this.display5__AO(); var index$10 = (31 & (newIndex >> 25)); $$this.display4$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$10, index$10)); var array$11 = $$this.display4__AO(); var index$11 = (31 & (newIndex >> 20)); $$this.display3$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$11, index$11)); var array$12 = $$this.display3__AO(); var index$12 = (31 & (newIndex >> 15)); $$this.display2$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$12, index$12)); var array$13 = $$this.display2__AO(); var index$13 = (31 & (newIndex >> 10)); $$this.display1$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$13, index$13)); var array$14 = $$this.display1__AO(); var index$14 = (31 & (newIndex >> 5)); $$this.display0$und$eq__AO__V($s_sci_VectorPointer$class__nullSlotAndCopy__sci_VectorPointer__AO__I__AO($$this, array$14, index$14)) } else { throw new $c_jl_IllegalArgumentException().init___() } } function $s_sci_VectorPointer$class__copyRange__sci_VectorPointer__AO__I__I__AO($$this, array, oldLeft, newLeft) { var elems = $newArrayObject($d_O.getArrayOf(), [32]); var length = ((32 - ((newLeft > oldLeft) ? newLeft : oldLeft)) | 0); $systemArraycopy(array, oldLeft, elems, newLeft, length); return elems } function $s_sci_VectorPointer$class__gotoFreshPosWritable0__sci_VectorPointer__I__I__I__V($$this, oldIndex, newIndex, xor) { if ((xor >= 32)) { if ((xor < 1024)) { if (($$this.depth__I() === 1)) { $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display1__AO().u[(31 & (oldIndex >> 5))] = $$this.display0__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) } else if ((xor < 32768)) { if (($$this.depth__I() === 2)) { $$this.display2$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display2__AO().u[(31 & (oldIndex >> 10))] = $$this.display1__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[(31 & (newIndex >> 10))], 1)); if (($$this.display1__AO() === null)) { $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) } else if ((xor < 1048576)) { if (($$this.depth__I() === 3)) { $$this.display3$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display3__AO().u[(31 & (oldIndex >> 15))] = $$this.display2__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display2$und$eq__AO__V($asArrayOf_O($$this.display3__AO().u[(31 & (newIndex >> 15))], 1)); if (($$this.display2__AO() === null)) { $$this.display2$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[(31 & (newIndex >> 10))], 1)); if (($$this.display1__AO() === null)) { $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) } else if ((xor < 33554432)) { if (($$this.depth__I() === 4)) { $$this.display4$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display4__AO().u[(31 & (oldIndex >> 20))] = $$this.display3__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display3$und$eq__AO__V($asArrayOf_O($$this.display4__AO().u[(31 & (newIndex >> 20))], 1)); if (($$this.display3__AO() === null)) { $$this.display3$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display2$und$eq__AO__V($asArrayOf_O($$this.display3__AO().u[(31 & (newIndex >> 15))], 1)); if (($$this.display2__AO() === null)) { $$this.display2$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[(31 & (newIndex >> 10))], 1)); if (($$this.display1__AO() === null)) { $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) } else if ((xor < 1073741824)) { if (($$this.depth__I() === 5)) { $$this.display5$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])); $$this.display5__AO().u[(31 & (oldIndex >> 25))] = $$this.display4__AO(); $$this.depth$und$eq__I__V(((1 + $$this.depth__I()) | 0)) }; $$this.display4$und$eq__AO__V($asArrayOf_O($$this.display5__AO().u[(31 & (newIndex >> 25))], 1)); if (($$this.display4__AO() === null)) { $$this.display4$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display3$und$eq__AO__V($asArrayOf_O($$this.display4__AO().u[(31 & (newIndex >> 20))], 1)); if (($$this.display3__AO() === null)) { $$this.display3$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display2$und$eq__AO__V($asArrayOf_O($$this.display3__AO().u[(31 & (newIndex >> 15))], 1)); if (($$this.display2__AO() === null)) { $$this.display2$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display1$und$eq__AO__V($asArrayOf_O($$this.display2__AO().u[(31 & (newIndex >> 10))], 1)); if (($$this.display1__AO() === null)) { $$this.display1$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) }; $$this.display0$und$eq__AO__V($newArrayObject($d_O.getArrayOf(), [32])) } else { throw new $c_jl_IllegalArgumentException().init___() } } } function $s_scm_ArrayOps$class__copyToArray__scm_ArrayOps__O__I__I__V($$this, xs, start, len) { var y = $m_sr_ScalaRunTime$().array$undlength__O__I($$this.repr__O()); var l = ((len < y) ? len : y); if (((($m_sr_ScalaRunTime$().array$undlength__O__I(xs) - start) | 0) < l)) { var x = (($m_sr_ScalaRunTime$().array$undlength__O__I(xs) - start) | 0); l = ((x > 0) ? x : 0) }; $m_s_Array$().copy__O__I__O__I__I__V($$this.repr__O(), 0, xs, start, l) } function $s_scm_BufferLike$class__$$minus$eq__scm_Buffer__O__scm_Buffer($$this, x) { var i = $$this.indexOf__O__I(x); if ((i !== (-1))) { $$this.remove__I__O(i) }; return $$this } function $s_scm_BufferLike$class__clone__scm_Buffer__scm_Buffer($$this) { var bf = $$this.companion__scg_GenericCompanion().newBuilder__scm_Builder(); bf.$$plus$plus$eq__sc_TraversableOnce__scg_Growable($$this); return $as_scm_Buffer(bf.result__O()) } function $s_scm_Builder$class__sizeHint__scm_Builder__sc_TraversableLike__V($$this, coll) { if ($is_sc_IndexedSeqLike(coll)) { $$this.sizeHint__I__V(coll.size__I()) } } function $s_scm_Builder$class__sizeHint__scm_Builder__sc_TraversableLike__I__V($$this, coll, delta) { if ($is_sc_IndexedSeqLike(coll)) { $$this.sizeHint__I__V(((coll.size__I() + delta) | 0)) } } function $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V($$this, size, boundingColl) { if ($is_sc_IndexedSeqLike(boundingColl)) { var that = boundingColl.size__I(); $$this.sizeHint__I__V(((size < that) ? size : that)) } } function $s_scm_FlatHashTable$HashUtils$class__improve__scm_FlatHashTable$HashUtils__I__I__I($$this, hcode, seed) { var improved = $m_s_util_hashing_package$().byteswap32__I__I(hcode); var rotation = ((seed % 32) | 0); var rotated = (((improved >>> rotation) | 0) | (improved << ((32 - rotation) | 0))); return rotated } function $s_scm_FlatHashTable$HashUtils$class__entryToElem__scm_FlatHashTable$HashUtils__O__O($$this, entry) { return ((entry === $m_scm_FlatHashTable$NullSentinel$()) ? null : entry) } function $s_scm_FlatHashTable$HashUtils$class__elemToEntry__scm_FlatHashTable$HashUtils__O__O($$this, elem) { return ((elem === null) ? $m_scm_FlatHashTable$NullSentinel$() : elem) } function $s_scm_FlatHashTable$class__growTable__p0__scm_FlatHashTable__V($$this) { var oldtable = $$this.table$5; $$this.table$5 = $newArrayObject($d_O.getArrayOf(), [$imul(2, $$this.table$5.u.length)]); $$this.tableSize$5 = 0; var tableLength = $$this.table$5.u.length; $s_scm_FlatHashTable$class__nnSizeMapReset__scm_FlatHashTable__I__V($$this, tableLength); $$this.seedvalue$5 = $s_scm_FlatHashTable$class__tableSizeSeed__scm_FlatHashTable__I($$this); $$this.threshold$5 = $m_scm_FlatHashTable$().newThreshold__I__I__I($$this.$$undloadFactor$5, $$this.table$5.u.length); var i = 0; while ((i < oldtable.u.length)) { var entry = oldtable.u[i]; if ((entry !== null)) { $s_scm_FlatHashTable$class__addEntry__scm_FlatHashTable__O__Z($$this, entry) }; i = ((1 + i) | 0) } } function $s_scm_FlatHashTable$class__removeElem__scm_FlatHashTable__O__Z($$this, elem) { var removalEntry = $s_scm_FlatHashTable$HashUtils$class__elemToEntry__scm_FlatHashTable$HashUtils__O__O($$this, elem); var hcode = $objectHashCode(removalEntry); var h = $s_scm_FlatHashTable$class__index__scm_FlatHashTable__I__I($$this, hcode); var curEntry = $$this.table$5.u[h]; while ((curEntry !== null)) { if ($m_sr_BoxesRunTime$().equals__O__O__Z(curEntry, removalEntry)) { var h0 = h; var h1 = ((((1 + h0) | 0) % $$this.table$5.u.length) | 0); while (($$this.table$5.u[h1] !== null)) { var hcode$1 = $objectHashCode($$this.table$5.u[h1]); var h2 = $s_scm_FlatHashTable$class__index__scm_FlatHashTable__I__I($$this, hcode$1); if (((h2 !== h1) && $s_scm_FlatHashTable$class__precedes$1__p0__scm_FlatHashTable__I__I__Z($$this, h2, h0))) { $$this.table$5.u[h0] = $$this.table$5.u[h1]; h0 = h1 }; h1 = ((((1 + h1) | 0) % $$this.table$5.u.length) | 0) }; $$this.table$5.u[h0] = null; $$this.tableSize$5 = (((-1) + $$this.tableSize$5) | 0); var h$1 = h0; $s_scm_FlatHashTable$class__nnSizeMapRemove__scm_FlatHashTable__I__V($$this, h$1); return true }; h = ((((1 + h) | 0) % $$this.table$5.u.length) | 0); curEntry = $$this.table$5.u[h] }; return false } function $s_scm_FlatHashTable$class__calcSizeMapSize__scm_FlatHashTable__I__I($$this, tableLength) { return ((1 + (tableLength >> 5)) | 0) } function $s_scm_FlatHashTable$class__nnSizeMapAdd__scm_FlatHashTable__I__V($$this, h) { if (($$this.sizemap$5 !== null)) { var p = (h >> 5); var ev$1 = $$this.sizemap$5; ev$1.u[p] = ((1 + ev$1.u[p]) | 0) } } function $s_scm_FlatHashTable$class__nnSizeMapRemove__scm_FlatHashTable__I__V($$this, h) { if (($$this.sizemap$5 !== null)) { var ev$2 = $$this.sizemap$5; var ev$3 = (h >> 5); ev$2.u[ev$3] = (((-1) + ev$2.u[ev$3]) | 0) } } function $s_scm_FlatHashTable$class__$$init$__scm_FlatHashTable__V($$this) { $$this.$$undloadFactor$5 = 450; $$this.table$5 = $newArrayObject($d_O.getArrayOf(), [$s_scm_FlatHashTable$class__capacity__scm_FlatHashTable__I__I($$this, 32)]); $$this.tableSize$5 = 0; $$this.threshold$5 = $m_scm_FlatHashTable$().newThreshold__I__I__I($$this.$$undloadFactor$5, $s_scm_FlatHashTable$class__capacity__scm_FlatHashTable__I__I($$this, 32)); $$this.sizemap$5 = null; $$this.seedvalue$5 = $s_scm_FlatHashTable$class__tableSizeSeed__scm_FlatHashTable__I($$this) } function $s_scm_FlatHashTable$class__findElemImpl__p0__scm_FlatHashTable__O__O($$this, elem) { var searchEntry = $s_scm_FlatHashTable$HashUtils$class__elemToEntry__scm_FlatHashTable$HashUtils__O__O($$this, elem); var hcode = $objectHashCode(searchEntry); var h = $s_scm_FlatHashTable$class__index__scm_FlatHashTable__I__I($$this, hcode); var curEntry = $$this.table$5.u[h]; while (((curEntry !== null) && (!$m_sr_BoxesRunTime$().equals__O__O__Z(curEntry, searchEntry)))) { h = ((((1 + h) | 0) % $$this.table$5.u.length) | 0); curEntry = $$this.table$5.u[h] }; return curEntry } function $s_scm_FlatHashTable$class__addEntry__scm_FlatHashTable__O__Z($$this, newEntry) { var hcode = $objectHashCode(newEntry); var h = $s_scm_FlatHashTable$class__index__scm_FlatHashTable__I__I($$this, hcode); var curEntry = $$this.table$5.u[h]; while ((curEntry !== null)) { if ($m_sr_BoxesRunTime$().equals__O__O__Z(curEntry, newEntry)) { return false }; h = ((((1 + h) | 0) % $$this.table$5.u.length) | 0); curEntry = $$this.table$5.u[h] }; $$this.table$5.u[h] = newEntry; $$this.tableSize$5 = ((1 + $$this.tableSize$5) | 0); var h$1 = h; $s_scm_FlatHashTable$class__nnSizeMapAdd__scm_FlatHashTable__I__V($$this, h$1); if (($$this.tableSize$5 >= $$this.threshold$5)) { $s_scm_FlatHashTable$class__growTable__p0__scm_FlatHashTable__V($$this) }; return true } function $s_scm_FlatHashTable$class__addElem__scm_FlatHashTable__O__Z($$this, elem) { var newEntry = $s_scm_FlatHashTable$HashUtils$class__elemToEntry__scm_FlatHashTable$HashUtils__O__O($$this, elem); return $s_scm_FlatHashTable$class__addEntry__scm_FlatHashTable__O__Z($$this, newEntry) } function $s_scm_FlatHashTable$class__index__scm_FlatHashTable__I__I($$this, hcode) { var seed = $$this.seedvalue$5; var improved = $s_scm_FlatHashTable$HashUtils$class__improve__scm_FlatHashTable$HashUtils__I__I__I($$this, hcode, seed); var ones = (((-1) + $$this.table$5.u.length) | 0); return (((improved >>> ((32 - $m_jl_Integer$().bitCount__I__I(ones)) | 0)) | 0) & ones) } function $s_scm_FlatHashTable$class__precedes$1__p0__scm_FlatHashTable__I__I__Z($$this, i, j) { var d = ($$this.table$5.u.length >> 1); return ((i <= j) ? (((j - i) | 0) < d) : (((i - j) | 0) > d)) } function $s_scm_FlatHashTable$class__tableSizeSeed__scm_FlatHashTable__I($$this) { return $m_jl_Integer$().bitCount__I__I((((-1) + $$this.table$5.u.length) | 0)) } function $s_scm_FlatHashTable$class__capacity__scm_FlatHashTable__I__I($$this, expectedSize) { return ((expectedSize === 0) ? 1 : $m_scm_HashTable$().powerOfTwo__I__I(expectedSize)) } function $s_scm_FlatHashTable$class__nnSizeMapReset__scm_FlatHashTable__I__V($$this, tableLength) { if (($$this.sizemap$5 !== null)) { var nsize = $s_scm_FlatHashTable$class__calcSizeMapSize__scm_FlatHashTable__I__I($$this, tableLength); if (($$this.sizemap$5.u.length !== nsize)) { $$this.sizemap$5 = $newArrayObject($d_I.getArrayOf(), [nsize]) } else { $m_ju_Arrays$().fill__AI__I__V($$this.sizemap$5, 0) } } } function $s_scm_FlatHashTable$class__initWithContents__scm_FlatHashTable__scm_FlatHashTable$Contents__V($$this, c) { if ((c !== null)) { $$this.$$undloadFactor$5 = c.loadFactor__I(); $$this.table$5 = c.table__AO(); $$this.tableSize$5 = c.tableSize__I(); $$this.threshold$5 = c.threshold__I(); $$this.seedvalue$5 = c.seedvalue__I(); $$this.sizemap$5 = c.sizemap__AI() } } function $s_scm_FlatHashTable$class__containsElem__scm_FlatHashTable__O__Z($$this, elem) { return ($s_scm_FlatHashTable$class__findElemImpl__p0__scm_FlatHashTable__O__O($$this, elem) !== null) } function $is_scm_HashEntry(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_HashEntry))) } function $as_scm_HashEntry(obj) { return (($is_scm_HashEntry(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.HashEntry")) } function $isArrayOf_scm_HashEntry(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_HashEntry))) } function $asArrayOf_scm_HashEntry(obj, depth) { return (($isArrayOf_scm_HashEntry(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.HashEntry;", depth)) } var $d_scm_HashEntry = new $TypeData().initClass({ scm_HashEntry: 0 }, true, "scala.collection.mutable.HashEntry", { scm_HashEntry: 1 }); function $s_scm_HashTable$HashUtils$class__improve__scm_HashTable$HashUtils__I__I__I($$this, hcode, seed) { var i = $m_s_util_hashing_package$().byteswap32__I__I(hcode); var rotation = ((seed % 32) | 0); var rotated = (((i >>> rotation) | 0) | (i << ((32 - rotation) | 0))); return rotated } function $s_scm_HashTable$class__scala$collection$mutable$HashTable$$lastPopulatedIndex__scm_HashTable__I($$this) { var idx = (((-1) + $$this.table$5.u.length) | 0); while ((($$this.table$5.u[idx] === null) && (idx > 0))) { idx = (((-1) + idx) | 0) }; return idx } function $s_scm_HashTable$class__initWithContents__scm_HashTable__scm_HashTable$Contents__V($$this, c) { if ((c !== null)) { $$this.$$undloadFactor$5 = c.loadFactor__I(); $$this.table$5 = c.table__Ascm_HashEntry(); $$this.tableSize$5 = c.tableSize__I(); $$this.threshold$5 = c.threshold__I(); $$this.seedvalue$5 = c.seedvalue__I(); $$this.sizemap$5 = c.sizemap__AI() } } function $s_scm_HashTable$class__findEntry__scm_HashTable__O__scm_HashEntry($$this, key) { var hcode = $m_sr_ScalaRunTime$().hash__O__I(key); return $s_scm_HashTable$class__scala$collection$mutable$HashTable$$findEntry0__scm_HashTable__O__I__scm_HashEntry($$this, key, $s_scm_HashTable$class__index__scm_HashTable__I__I($$this, hcode)) } function $s_scm_HashTable$class__scala$collection$mutable$HashTable$$findEntry0__scm_HashTable__O__I__scm_HashEntry($$this, key, h) { var e = $$this.table$5.u[h]; while (true) { if ((e !== null)) { var key1 = e.key$1; var jsx$1 = (!$m_sr_BoxesRunTime$().equals__O__O__Z(key1, key)) } else { var jsx$1 = false }; if (jsx$1) { e = $as_scm_HashEntry(e.next$1) } else { break } }; return e } function $s_scm_HashTable$class__nnSizeMapAdd__scm_HashTable__I__V($$this, h) { if (($$this.sizemap$5 !== null)) { var ev$1 = $$this.sizemap$5; var ev$2 = (h >> 5); ev$1.u[ev$2] = ((1 + ev$1.u[ev$2]) | 0) } } function $s_scm_HashTable$class__nnSizeMapRemove__scm_HashTable__I__V($$this, h) { if (($$this.sizemap$5 !== null)) { var ev$3 = $$this.sizemap$5; var ev$4 = (h >> 5); ev$3.u[ev$4] = (((-1) + ev$3.u[ev$4]) | 0) } } function $s_scm_HashTable$class__calcSizeMapSize__scm_HashTable__I__I($$this, tableLength) { return ((1 + (tableLength >> 5)) | 0) } function $s_scm_HashTable$class__resize__p0__scm_HashTable__I__V($$this, newSize) { var oldTable = $$this.table$5; $$this.table$5 = $newArrayObject($d_scm_HashEntry.getArrayOf(), [newSize]); var tableLength = $$this.table$5.u.length; $s_scm_HashTable$class__nnSizeMapReset__scm_HashTable__I__V($$this, tableLength); var i = (((-1) + oldTable.u.length) | 0); while ((i >= 0)) { var e = oldTable.u[i]; while ((e !== null)) { var key = e.key$1; var hcode = $m_sr_ScalaRunTime$().hash__O__I(key); var h = $s_scm_HashTable$class__index__scm_HashTable__I__I($$this, hcode); var e1 = $as_scm_HashEntry(e.next$1); e.next$1 = $$this.table$5.u[h]; $$this.table$5.u[h] = e; e = e1; $s_scm_HashTable$class__nnSizeMapAdd__scm_HashTable__I__V($$this, h) }; i = (((-1) + i) | 0) }; $$this.threshold$5 = $m_scm_HashTable$().newThreshold__I__I__I($$this.$$undloadFactor$5, newSize) } function $s_scm_HashTable$class__removeEntry__scm_HashTable__O__scm_HashEntry($$this, key) { var hcode = $m_sr_ScalaRunTime$().hash__O__I(key); var h = $s_scm_HashTable$class__index__scm_HashTable__I__I($$this, hcode); var e = $$this.table$5.u[h]; if ((e !== null)) { var key1 = e.key$1; if ($m_sr_BoxesRunTime$().equals__O__O__Z(key1, key)) { $$this.table$5.u[h] = $as_scm_HashEntry(e.next$1); $$this.tableSize$5 = (((-1) + $$this.tableSize$5) | 0); $s_scm_HashTable$class__nnSizeMapRemove__scm_HashTable__I__V($$this, h); return e } else { var e1 = $as_scm_HashEntry(e.next$1); while (true) { if ((e1 !== null)) { var key1$1 = e1.key$1; var jsx$1 = (!$m_sr_BoxesRunTime$().equals__O__O__Z(key1$1, key)) } else { var jsx$1 = false }; if (jsx$1) { e = e1; e1 = $as_scm_HashEntry(e1.next$1) } else { break } }; if ((e1 !== null)) { e.next$1 = e1.next$1; $$this.tableSize$5 = (((-1) + $$this.tableSize$5) | 0); $s_scm_HashTable$class__nnSizeMapRemove__scm_HashTable__I__V($$this, h); return e1 } } }; return null } function $s_scm_HashTable$class__$$init$__scm_HashTable__V($$this) { $$this.$$undloadFactor$5 = 750; $$this.table$5 = $newArrayObject($d_scm_HashEntry.getArrayOf(), [$m_scm_HashTable$().capacity__I__I(16)]); $$this.tableSize$5 = 0; $$this.threshold$5 = $s_scm_HashTable$class__initialThreshold__p0__scm_HashTable__I__I($$this, $$this.$$undloadFactor$5); $$this.sizemap$5 = null; $$this.seedvalue$5 = $s_scm_HashTable$class__tableSizeSeed__scm_HashTable__I($$this) } function $s_scm_HashTable$class__index__scm_HashTable__I__I($$this, hcode) { var ones = (((-1) + $$this.table$5.u.length) | 0); var seed = $$this.seedvalue$5; var improved = $s_scm_HashTable$HashUtils$class__improve__scm_HashTable$HashUtils__I__I__I($$this, hcode, seed); var shifted = ((improved >> ((32 - $m_jl_Integer$().bitCount__I__I(ones)) | 0)) & ones); return shifted } function $s_scm_HashTable$class__scala$collection$mutable$HashTable$$addEntry0__scm_HashTable__scm_HashEntry__I__V($$this, e, h) { e.next$1 = $$this.table$5.u[h]; $$this.table$5.u[h] = e; $$this.tableSize$5 = ((1 + $$this.tableSize$5) | 0); $s_scm_HashTable$class__nnSizeMapAdd__scm_HashTable__I__V($$this, h); if (($$this.tableSize$5 > $$this.threshold$5)) { $s_scm_HashTable$class__resize__p0__scm_HashTable__I__V($$this, $imul(2, $$this.table$5.u.length)) } } function $s_scm_HashTable$class__initialThreshold__p0__scm_HashTable__I__I($$this, _loadFactor) { return $m_scm_HashTable$().newThreshold__I__I__I(_loadFactor, $m_scm_HashTable$().capacity__I__I(16)) } function $s_scm_HashTable$class__findOrAddEntry__scm_HashTable__O__O__scm_HashEntry($$this, key, value) { var hcode = $m_sr_ScalaRunTime$().hash__O__I(key); var h = $s_scm_HashTable$class__index__scm_HashTable__I__I($$this, hcode); var e = $s_scm_HashTable$class__scala$collection$mutable$HashTable$$findEntry0__scm_HashTable__O__I__scm_HashEntry($$this, key, h); return ((e !== null) ? e : ($s_scm_HashTable$class__scala$collection$mutable$HashTable$$addEntry0__scm_HashTable__scm_HashEntry__I__V($$this, new $c_scm_DefaultEntry().init___O__O(key, value), h), null)) } function $s_scm_HashTable$class__nnSizeMapReset__scm_HashTable__I__V($$this, tableLength) { if (($$this.sizemap$5 !== null)) { var nsize = $s_scm_HashTable$class__calcSizeMapSize__scm_HashTable__I__I($$this, tableLength); if (($$this.sizemap$5.u.length !== nsize)) { $$this.sizemap$5 = $newArrayObject($d_I.getArrayOf(), [nsize]) } else { $m_ju_Arrays$().fill__AI__I__V($$this.sizemap$5, 0) } } } function $s_scm_HashTable$class__tableSizeSeed__scm_HashTable__I($$this) { return $m_jl_Integer$().bitCount__I__I((((-1) + $$this.table$5.u.length) | 0)) } function $s_scm_Map$class__withDefaultValue__scm_Map__O__scm_Map($$this, d) { return new $c_scm_Map$WithDefault().init___scm_Map__F1($$this, new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this$1, d$1) { return (function(x$2) { return d$1 }) })($$this, d))) } function $s_scm_MapLike$class__updated__scm_MapLike__O__O__scm_Map($$this, key, value) { return $$this.$$plus__T2__scm_Map(new $c_T2().init___O__O(key, value)) } function $s_scm_MapLike$class__update__scm_MapLike__O__O__V($$this, key, value) { $$this.$$plus$eq__T2__scm_MapLike(new $c_T2().init___O__O(key, value)) } function $s_scm_ResizableArray$class__copyToArray__scm_ResizableArray__O__I__I__V($$this, xs, start, len) { var that = (($m_sr_ScalaRunTime$().array$undlength__O__I(xs) - start) | 0); var x = ((len < that) ? len : that); var that$1 = $$this.size0$6; var len1 = ((x < that$1) ? x : that$1); $m_s_Array$().copy__O__I__O__I__I__V($$this.array$6, 0, xs, start, len1) } function $s_scm_ResizableArray$class__ensureSize__scm_ResizableArray__I__V($$this, n) { var arrayLength = new $c_sjsr_RuntimeLong().init___I($$this.array$6.u.length); if (new $c_sjsr_RuntimeLong().init___I(n).$$greater__sjsr_RuntimeLong__Z(arrayLength)) { var newSize = new $c_sjsr_RuntimeLong().init___I__I(2, 0).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(arrayLength); while (new $c_sjsr_RuntimeLong().init___I(n).$$greater__sjsr_RuntimeLong__Z(newSize)) { newSize = new $c_sjsr_RuntimeLong().init___I__I(2, 0).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(newSize) }; if (newSize.$$greater__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I__I(2147483647, 0))) { newSize = new $c_sjsr_RuntimeLong().init___I__I(2147483647, 0) }; var newArray = $newArrayObject($d_O.getArrayOf(), [newSize.lo$2]); var src = $$this.array$6; var length = $$this.size0$6; $systemArraycopy(src, 0, newArray, 0, length); $$this.array$6 = newArray } } function $s_scm_ResizableArray$class__foreach__scm_ResizableArray__F1__V($$this, f) { var i = 0; var top = $$this.size0$6; while ((i < top)) { f.apply__O__O($$this.array$6.u[i]); i = ((1 + i) | 0) } } function $s_scm_ResizableArray$class__apply__scm_ResizableArray__I__O($$this, idx) { if ((idx >= $$this.size0$6)) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + idx)) }; return $$this.array$6.u[idx] } function $s_scm_ResizableArray$class__reduceToSize__scm_ResizableArray__I__V($$this, sz) { $m_s_Predef$().require__Z__V((sz <= $$this.size0$6)); while (($$this.size0$6 > sz)) { $$this.size0$6 = (((-1) + $$this.size0$6) | 0); $$this.array$6.u[$$this.size0$6] = null } } function $s_scm_ResizableArray$class__$$init$__scm_ResizableArray__V($$this) { var x = $$this.initialSize$6; $$this.array$6 = $newArrayObject($d_O.getArrayOf(), [((x > 1) ? x : 1)]); $$this.size0$6 = 0 } /** @constructor */ function $c_Lhypersubs_Club() { $c_O.call(this); this.name$1 = null; this.hasStrongAttack$1 = false; this.hasStrongDefense$1 = false } $c_Lhypersubs_Club.prototype = new $h_O(); $c_Lhypersubs_Club.prototype.constructor = $c_Lhypersubs_Club; /** @constructor */ function $h_Lhypersubs_Club() { /*<skip>*/ } $h_Lhypersubs_Club.prototype = $c_Lhypersubs_Club.prototype; $c_Lhypersubs_Club.prototype.toString__T = (function() { return this.name$1 }); $c_Lhypersubs_Club.prototype.isSafeDefendingAgainst__Lhypersubs_Opposition__Z = (function(opposition) { return (this.hasStrongDefense$1 || (!opposition.hasStrongAttack__Z())) }); $c_Lhypersubs_Club.prototype.init___T = (function(name) { this.name$1 = name; this.hasStrongAttack$1 = false; this.hasStrongDefense$1 = false; return this }); function $is_Lhypersubs_Club(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_Club))) } function $as_Lhypersubs_Club(obj) { return (($is_Lhypersubs_Club(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.Club")) } function $isArrayOf_Lhypersubs_Club(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_Club))) } function $asArrayOf_Lhypersubs_Club(obj, depth) { return (($isArrayOf_Lhypersubs_Club(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.Club;", depth)) } var $d_Lhypersubs_Club = new $TypeData().initClass({ Lhypersubs_Club: 0 }, false, "hypersubs.Club", { Lhypersubs_Club: 1, O: 1 }); $c_Lhypersubs_Club.prototype.$classData = $d_Lhypersubs_Club; /** @constructor */ function $c_Lhypersubs_Club$() { $c_O.call(this); this.values$1 = null; this.shirtPics$1 = null } $c_Lhypersubs_Club$.prototype = new $h_O(); $c_Lhypersubs_Club$.prototype.constructor = $c_Lhypersubs_Club$; /** @constructor */ function $h_Lhypersubs_Club$() { /*<skip>*/ } $h_Lhypersubs_Club$.prototype = $c_Lhypersubs_Club$.prototype; $c_Lhypersubs_Club$.prototype.init___ = (function() { $n_Lhypersubs_Club$ = this; this.values$1 = $as_scm_Map($m_scm_Map$().apply__sc_Seq__sc_GenMap($m_sci_Nil$())); this.shirtPics$1 = $as_scm_Map($m_scm_Map$().apply__sc_Seq__sc_GenMap($m_sci_Nil$())); return this }); $c_Lhypersubs_Club$.prototype.refreshStrengthsFromPreferences__Z = (function() { var attacks = this.normalize$1__p1__T__AT($m_Lhypersubs_Preferences$().strongAttacks__T()); var defenses = this.normalize$1__p1__T__AT($m_Lhypersubs_Preferences$().strongDefenses__T()); var somethingChanged = new $c_sr_BooleanRef().init___Z(false); var this$2 = $m_Lhypersubs_Club$().values$1; var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$1$2) { var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); return (check$ifrefutable$1 !== null) })); new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(this$2, p).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(attacks$1, defenses$1, somethingChanged$1) { return (function(x$2$2) { var x$2 = $as_T2(x$2$2); if ((x$2 !== null)) { var clubName = $as_T(x$2.$$und1__O()); var club = $as_Lhypersubs_Club(x$2.$$und2__O()); var wasStrongAttack = club.hasStrongAttack$1; var wasStrongDefense = club.hasStrongDefense$1; var elem = $as_T(clubName.toUpperCase()); var len = attacks$1.u.length; var i = 0; while (true) { if ((i < len)) { var index = i; var arg1 = attacks$1.u[index]; var jsx$1 = (!$m_sr_BoxesRunTime$().equals__O__O__Z(elem, arg1)) } else { var jsx$1 = false }; if (jsx$1) { i = ((1 + i) | 0) } else { break } }; var n = i; club.hasStrongAttack$1 = (((n >= attacks$1.u.length) ? (-1) : n) >= 0); var elem$1 = $as_T(clubName.toUpperCase()); var len$1 = defenses$1.u.length; var i$1 = 0; while (true) { if ((i$1 < len$1)) { var index$1 = i$1; var arg1$1 = defenses$1.u[index$1]; var jsx$2 = (!$m_sr_BoxesRunTime$().equals__O__O__Z(elem$1, arg1$1)) } else { var jsx$2 = false }; if (jsx$2) { i$1 = ((1 + i$1) | 0) } else { break } }; var n$1 = i$1; club.hasStrongDefense$1 = (((n$1 >= defenses$1.u.length) ? (-1) : n$1) >= 0); if (((wasStrongAttack !== club.hasStrongAttack$1) || (wasStrongDefense !== club.hasStrongDefense$1))) { somethingChanged$1.elem$1 = true } } else { throw new $c_s_MatchError().init___O(x$2) } }) })(attacks, defenses, somethingChanged))); return somethingChanged.elem$1 }); $c_Lhypersubs_Club$.prototype.normalize$1__p1__T__AT = (function(clubList) { var thiz = $m_sjsr_RuntimeString$().replaceAll__T__T__T__T(clubList, "\\s+", ""); var thiz$1 = $as_T(thiz.toUpperCase()); return $m_sjsr_RuntimeString$().split__T__T__I__AT(thiz$1, ",", 0) }); $c_Lhypersubs_Club$.prototype.apply__T__Lhypersubs_Club = (function(clubName) { var this$1 = $m_Lhypersubs_Club$().values$1; var x1 = this$1.get__O__s_Option(clubName); if ($is_s_Some(x1)) { var x2 = $as_s_Some(x1); var v = x2.x$2; var jsx$1 = v } else { var x = $m_s_None$(); if ((x === x1)) { var d = new $c_Lhypersubs_Club().init___T(clubName); this$1.update__O__O__V(clubName, d); var jsx$1 = d } else { var jsx$1; throw new $c_s_MatchError().init___O(x1) } }; return $as_Lhypersubs_Club(jsx$1) }); var $d_Lhypersubs_Club$ = new $TypeData().initClass({ Lhypersubs_Club$: 0 }, false, "hypersubs.Club$", { Lhypersubs_Club$: 1, O: 1 }); $c_Lhypersubs_Club$.prototype.$classData = $d_Lhypersubs_Club$; var $n_Lhypersubs_Club$ = (void 0); function $m_Lhypersubs_Club$() { if ((!$n_Lhypersubs_Club$)) { $n_Lhypersubs_Club$ = new $c_Lhypersubs_Club$().init___() }; return $n_Lhypersubs_Club$ } /** @constructor */ function $c_Lhypersubs_Opposition() { $c_O.call(this); this.exists$1 = false } $c_Lhypersubs_Opposition.prototype = new $h_O(); $c_Lhypersubs_Opposition.prototype.constructor = $c_Lhypersubs_Opposition; /** @constructor */ function $h_Lhypersubs_Opposition() { /*<skip>*/ } $h_Lhypersubs_Opposition.prototype = $c_Lhypersubs_Opposition.prototype; $c_Lhypersubs_Opposition.prototype.init___Z = (function(exists) { this.exists$1 = exists; return this }); function $is_Lhypersubs_Opposition(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_Opposition))) } function $as_Lhypersubs_Opposition(obj) { return (($is_Lhypersubs_Opposition(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.Opposition")) } function $isArrayOf_Lhypersubs_Opposition(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_Opposition))) } function $asArrayOf_Lhypersubs_Opposition(obj, depth) { return (($isArrayOf_Lhypersubs_Opposition(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.Opposition;", depth)) } /** @constructor */ function $c_Lhypersubs_Player$() { $c_O.call(this) } $c_Lhypersubs_Player$.prototype = new $h_O(); $c_Lhypersubs_Player$.prototype.constructor = $c_Lhypersubs_Player$; /** @constructor */ function $h_Lhypersubs_Player$() { /*<skip>*/ } $h_Lhypersubs_Player$.prototype = $c_Lhypersubs_Player$.prototype; $c_Lhypersubs_Player$.prototype.init___ = (function() { return this }); $c_Lhypersubs_Player$.prototype.hypersubs$Player$$AvoidDanger__s_math_Ordering = (function() { $m_s_package$(); var ord = $m_s_math_Ordering$Boolean$(); var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$1$2) { var x$1 = $as_Lhypersubs_Player(x$1$2); return (!x$1.isSafe__Z()) })); return new $c_s_math_Ordering$$anon$5().init___s_math_Ordering__F1(ord, f) }); $c_Lhypersubs_Player$.prototype.hypersubs$Player$$PrioritizePlayingAssumeSafe__s_math_Ordering = (function() { $m_s_package$(); var ord1 = $m_s_math_Ordering$Boolean$(); var ord2 = $m_s_math_Ordering$Int$(); var this$1 = $m_s_math_Ordering$(); var evidence$1 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord3 = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$1, evidence$1); var ord = new $c_s_math_Ordering$$anon$12().init___s_math_Ordering__s_math_Ordering__s_math_Ordering(ord1, ord2, ord3); var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(p$2) { var p = $as_Lhypersubs_Player(p$2); return new $c_T3().init___O__O__O((!p.opposition$1.exists$1), ((-p.status$1.likelihoodToPlay$1) | 0), p) })); return new $c_s_math_Ordering$$anon$5().init___s_math_Ordering__F1(ord, f) }); var $d_Lhypersubs_Player$ = new $TypeData().initClass({ Lhypersubs_Player$: 0 }, false, "hypersubs.Player$", { Lhypersubs_Player$: 1, O: 1 }); $c_Lhypersubs_Player$.prototype.$classData = $d_Lhypersubs_Player$; var $n_Lhypersubs_Player$ = (void 0); function $m_Lhypersubs_Player$() { if ((!$n_Lhypersubs_Player$)) { $n_Lhypersubs_Player$ = new $c_Lhypersubs_Player$().init___() }; return $n_Lhypersubs_Player$ } /** @constructor */ function $c_Lhypersubs_Position() { $c_O.call(this); this.name$1 = null; this.fullName$1 = null; this.isSafe$1 = false; this.min$1 = 0; this.max$1 = 0 } $c_Lhypersubs_Position.prototype = new $h_O(); $c_Lhypersubs_Position.prototype.constructor = $c_Lhypersubs_Position; /** @constructor */ function $h_Lhypersubs_Position() { /*<skip>*/ } $h_Lhypersubs_Position.prototype = $c_Lhypersubs_Position.prototype; $c_Lhypersubs_Position.prototype.compare__Lhypersubs_Position__I = (function(another) { return ((-$m_Lhypersubs_package$().compareStrings__T__T__I(this.name$1, another.name$1)) | 0) }); $c_Lhypersubs_Position.prototype.init___T__T__Z__I__I = (function(name, fullName, isSafe, min, max) { this.name$1 = name; this.fullName$1 = fullName; this.isSafe$1 = isSafe; this.min$1 = min; this.max$1 = max; return this }); $c_Lhypersubs_Position.prototype.toString__T = (function() { return this.name$1 }); function $is_Lhypersubs_Position(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_Position))) } function $as_Lhypersubs_Position(obj) { return (($is_Lhypersubs_Position(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.Position")) } function $isArrayOf_Lhypersubs_Position(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_Position))) } function $asArrayOf_Lhypersubs_Position(obj, depth) { return (($isArrayOf_Lhypersubs_Position(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.Position;", depth)) } /** @constructor */ function $c_Lhypersubs_Position$() { $c_O.call(this); this.All$1 = null } $c_Lhypersubs_Position$.prototype = new $h_O(); $c_Lhypersubs_Position$.prototype.constructor = $c_Lhypersubs_Position$; /** @constructor */ function $h_Lhypersubs_Position$() { /*<skip>*/ } $h_Lhypersubs_Position$.prototype = $c_Lhypersubs_Position$.prototype; $c_Lhypersubs_Position$.prototype.init___ = (function() { $n_Lhypersubs_Position$ = this; var self = $m_Lhypersubs_GK$(); var jsx$4 = new $c_T2().init___O__O(self, 0); var self$1 = $m_Lhypersubs_FB$(); var jsx$3 = new $c_T2().init___O__O(self$1, 1); var self$2 = $m_Lhypersubs_CB$(); var jsx$2 = new $c_T2().init___O__O(self$2, 2); var self$3 = $m_Lhypersubs_MF$(); var jsx$1 = new $c_T2().init___O__O(self$3, 2); var self$4 = $m_Lhypersubs_ST$(); var array = [jsx$4, jsx$3, jsx$2, jsx$1, new $c_T2().init___O__O(self$4, 2)]; var this$12 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$12.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; this.All$1 = $as_sci_Map(this$12.elems$1); return this }); var $d_Lhypersubs_Position$ = new $TypeData().initClass({ Lhypersubs_Position$: 0 }, false, "hypersubs.Position$", { Lhypersubs_Position$: 1, O: 1 }); $c_Lhypersubs_Position$.prototype.$classData = $d_Lhypersubs_Position$; var $n_Lhypersubs_Position$ = (void 0); function $m_Lhypersubs_Position$() { if ((!$n_Lhypersubs_Position$)) { $n_Lhypersubs_Position$ = new $c_Lhypersubs_Position$().init___() }; return $n_Lhypersubs_Position$ } /** @constructor */ function $c_Lhypersubs_Preferences$() { $c_O.call(this) } $c_Lhypersubs_Preferences$.prototype = new $h_O(); $c_Lhypersubs_Preferences$.prototype.constructor = $c_Lhypersubs_Preferences$; /** @constructor */ function $h_Lhypersubs_Preferences$() { /*<skip>*/ } $h_Lhypersubs_Preferences$.prototype = $c_Lhypersubs_Preferences$.prototype; $c_Lhypersubs_Preferences$.prototype.alwaysRequireNext__Z = (function() { return $uZ($g.GM_getValue("alwaysRequireNext", true)) }); $c_Lhypersubs_Preferences$.prototype.init___ = (function() { return this }); $c_Lhypersubs_Preferences$.prototype.strongDefenses$und$eq__T__V = (function(value) { $g.GM_setValue("strongDefenses", value) }); $c_Lhypersubs_Preferences$.prototype.showHypersubsShortcuts$und$eq__Z__V = (function(value) { $g.GM_setValue("showHypersubsShortcuts", value) }); $c_Lhypersubs_Preferences$.prototype.pruneConfirmation$und$eq__Z__V = (function(value) { $g.GM_setValue("pruneConfirmation", value) }); $c_Lhypersubs_Preferences$.prototype.showMoreInfoButton__Z = (function() { return $uZ($g.GM_getValue("showMoreInfoButton", true)) }); $c_Lhypersubs_Preferences$.prototype.strongAttacks$und$eq__T__V = (function(value) { $g.GM_setValue("strongAttacks", value) }); $c_Lhypersubs_Preferences$.prototype.pruneConfirmation__Z = (function() { return $uZ($g.GM_getValue("pruneConfirmation", false)) }); $c_Lhypersubs_Preferences$.prototype.massageZlatansEgo__Z = (function() { return $uZ($g.GM_getValue("massageZlatansEgo", false)) }); $c_Lhypersubs_Preferences$.prototype.showLeagueTransfers__Z = (function() { return $uZ($g.GM_getValue("showLeagueTransfers", true)) }); $c_Lhypersubs_Preferences$.prototype.animate$und$eq__Z__V = (function(value) { $g.GM_setValue("animate", value) }); $c_Lhypersubs_Preferences$.prototype.showLeagueTransfers$und$eq__Z__V = (function(value) { $g.GM_setValue("showLeagueTransfers", value) }); $c_Lhypersubs_Preferences$.prototype.smartFill$und$eq__Z__V = (function(value) { $g.GM_setValue("smartFill", value) }); $c_Lhypersubs_Preferences$.prototype.showMoreInfoButton$und$eq__Z__V = (function(value) { $g.GM_setValue("showMoreInfoButton", value) }); $c_Lhypersubs_Preferences$.prototype.massageZlatansEgo$und$eq__Z__V = (function(value) { $g.GM_setValue("massageZlatansEgo", value) }); $c_Lhypersubs_Preferences$.prototype.showHypersubsShortcuts__Z = (function() { return $uZ($g.GM_getValue("showHypersubsShortcuts", true)) }); $c_Lhypersubs_Preferences$.prototype.strongDefenses__T = (function() { return $as_T($g.GM_getValue("strongDefenses", "MC, MU, CHE, ARS, TOT")) }); $c_Lhypersubs_Preferences$.prototype.animate__Z = (function() { return $uZ($g.GM_getValue("animate", true)) }); $c_Lhypersubs_Preferences$.prototype.smartFill__Z = (function() { return $uZ($g.GM_getValue("smartFill", true)) }); $c_Lhypersubs_Preferences$.prototype.strongAttacks__T = (function() { return $as_T($g.GM_getValue("strongAttacks", "MC, MU, CHE, ARS, TOT")) }); $c_Lhypersubs_Preferences$.prototype.alwaysRequireNext$und$eq__Z__V = (function(value) { $g.GM_setValue("alwaysRequireNext", value) }); var $d_Lhypersubs_Preferences$ = new $TypeData().initClass({ Lhypersubs_Preferences$: 0 }, false, "hypersubs.Preferences$", { Lhypersubs_Preferences$: 1, O: 1 }); $c_Lhypersubs_Preferences$.prototype.$classData = $d_Lhypersubs_Preferences$; var $n_Lhypersubs_Preferences$ = (void 0); function $m_Lhypersubs_Preferences$() { if ((!$n_Lhypersubs_Preferences$)) { $n_Lhypersubs_Preferences$ = new $c_Lhypersubs_Preferences$().init___() }; return $n_Lhypersubs_Preferences$ } /** @constructor */ function $c_Lhypersubs_SessionState$() { $c_O.call(this); this.GreaseMonkeySetting$1 = null } $c_Lhypersubs_SessionState$.prototype = new $h_O(); $c_Lhypersubs_SessionState$.prototype.constructor = $c_Lhypersubs_SessionState$; /** @constructor */ function $h_Lhypersubs_SessionState$() { /*<skip>*/ } $h_Lhypersubs_SessionState$.prototype = $c_Lhypersubs_SessionState$.prototype; $c_Lhypersubs_SessionState$.prototype.init___ = (function() { this.GreaseMonkeySetting$1 = "Hypersubs_INTERNALfixturesJustSet"; return this }); $c_Lhypersubs_SessionState$.prototype.subsJustSet$und$eq__Lhypersubs_SubsJustSetStatus__V = (function(newStatus) { $g.GM_setValue(this.GreaseMonkeySetting$1, newStatus.gmValue__I()) }); $c_Lhypersubs_SessionState$.prototype.subsJustSet__Lhypersubs_SubsJustSetStatus = (function() { return $m_Lhypersubs_SubsJustSetStatus$().apply__I__Lhypersubs_SubsJustSetStatus($uI($g.GM_getValue(this.GreaseMonkeySetting$1))) }); var $d_Lhypersubs_SessionState$ = new $TypeData().initClass({ Lhypersubs_SessionState$: 0 }, false, "hypersubs.SessionState$", { Lhypersubs_SessionState$: 1, O: 1 }); $c_Lhypersubs_SessionState$.prototype.$classData = $d_Lhypersubs_SessionState$; var $n_Lhypersubs_SessionState$ = (void 0); function $m_Lhypersubs_SessionState$() { if ((!$n_Lhypersubs_SessionState$)) { $n_Lhypersubs_SessionState$ = new $c_Lhypersubs_SessionState$().init___() }; return $n_Lhypersubs_SessionState$ } /** @constructor */ function $c_Lhypersubs_Status() { $c_O.call(this); this.description$1 = null; this.countsAsInactive$1 = false; this.likelihoodToPlay$1 = 0 } $c_Lhypersubs_Status.prototype = new $h_O(); $c_Lhypersubs_Status.prototype.constructor = $c_Lhypersubs_Status; /** @constructor */ function $h_Lhypersubs_Status() { /*<skip>*/ } $h_Lhypersubs_Status.prototype = $c_Lhypersubs_Status.prototype; $c_Lhypersubs_Status.prototype.init___T__Z__I = (function(description, countsAsInactive, likelihoodToPlay) { this.description$1 = description; this.countsAsInactive$1 = countsAsInactive; this.likelihoodToPlay$1 = likelihoodToPlay; return this }); function $is_Lhypersubs_Status(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_Status))) } function $as_Lhypersubs_Status(obj) { return (($is_Lhypersubs_Status(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.Status")) } function $isArrayOf_Lhypersubs_Status(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_Status))) } function $asArrayOf_Lhypersubs_Status(obj, depth) { return (($isArrayOf_Lhypersubs_Status(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.Status;", depth)) } var $d_Lhypersubs_Status = new $TypeData().initClass({ Lhypersubs_Status: 0 }, false, "hypersubs.Status", { Lhypersubs_Status: 1, O: 1 }); $c_Lhypersubs_Status.prototype.$classData = $d_Lhypersubs_Status; /** @constructor */ function $c_Lhypersubs_SubsJustSetStatus() { $c_O.call(this) } $c_Lhypersubs_SubsJustSetStatus.prototype = new $h_O(); $c_Lhypersubs_SubsJustSetStatus.prototype.constructor = $c_Lhypersubs_SubsJustSetStatus; /** @constructor */ function $h_Lhypersubs_SubsJustSetStatus() { /*<skip>*/ } $h_Lhypersubs_SubsJustSetStatus.prototype = $c_Lhypersubs_SubsJustSetStatus.prototype; function $is_Lhypersubs_SubsJustSetStatus(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_SubsJustSetStatus))) } function $as_Lhypersubs_SubsJustSetStatus(obj) { return (($is_Lhypersubs_SubsJustSetStatus(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.SubsJustSetStatus")) } function $isArrayOf_Lhypersubs_SubsJustSetStatus(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_SubsJustSetStatus))) } function $asArrayOf_Lhypersubs_SubsJustSetStatus(obj, depth) { return (($isArrayOf_Lhypersubs_SubsJustSetStatus(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.SubsJustSetStatus;", depth)) } /** @constructor */ function $c_Lhypersubs_SubsJustSetStatus$() { $c_O.call(this) } $c_Lhypersubs_SubsJustSetStatus$.prototype = new $h_O(); $c_Lhypersubs_SubsJustSetStatus$.prototype.constructor = $c_Lhypersubs_SubsJustSetStatus$; /** @constructor */ function $h_Lhypersubs_SubsJustSetStatus$() { /*<skip>*/ } $h_Lhypersubs_SubsJustSetStatus$.prototype = $c_Lhypersubs_SubsJustSetStatus$.prototype; $c_Lhypersubs_SubsJustSetStatus$.prototype.init___ = (function() { return this }); $c_Lhypersubs_SubsJustSetStatus$.prototype.apply__I__Lhypersubs_SubsJustSetStatus = (function(gmValue) { return ((gmValue < 0) ? $m_Lhypersubs_No$() : new $c_Lhypersubs_Yes().init___I(gmValue)) }); var $d_Lhypersubs_SubsJustSetStatus$ = new $TypeData().initClass({ Lhypersubs_SubsJustSetStatus$: 0 }, false, "hypersubs.SubsJustSetStatus$", { Lhypersubs_SubsJustSetStatus$: 1, O: 1 }); $c_Lhypersubs_SubsJustSetStatus$.prototype.$classData = $d_Lhypersubs_SubsJustSetStatus$; var $n_Lhypersubs_SubsJustSetStatus$ = (void 0); function $m_Lhypersubs_SubsJustSetStatus$() { if ((!$n_Lhypersubs_SubsJustSetStatus$)) { $n_Lhypersubs_SubsJustSetStatus$ = new $c_Lhypersubs_SubsJustSetStatus$().init___() }; return $n_Lhypersubs_SubsJustSetStatus$ } /** @constructor */ function $c_Lhypersubs_gui_CancelConfirmationDialog$() { $c_O.call(this); this.Title$1 = null; this.YesText$1 = null; this.NoText$1 = null } $c_Lhypersubs_gui_CancelConfirmationDialog$.prototype = new $h_O(); $c_Lhypersubs_gui_CancelConfirmationDialog$.prototype.constructor = $c_Lhypersubs_gui_CancelConfirmationDialog$; /** @constructor */ function $h_Lhypersubs_gui_CancelConfirmationDialog$() { /*<skip>*/ } $h_Lhypersubs_gui_CancelConfirmationDialog$.prototype = $c_Lhypersubs_gui_CancelConfirmationDialog$.prototype; $c_Lhypersubs_gui_CancelConfirmationDialog$.prototype.init___ = (function() { this.Title$1 = "\"Can't stop now, don't you know, I ain't never gonna let you go...\""; this.YesText$1 = "Yes, exit"; this.NoText$1 = "No, I'll stay"; return this }); $c_Lhypersubs_gui_CancelConfirmationDialog$.prototype.Title__T = (function() { return this.Title$1 }); $c_Lhypersubs_gui_CancelConfirmationDialog$.prototype.YesText__T = (function() { return this.YesText$1 }); $c_Lhypersubs_gui_CancelConfirmationDialog$.prototype.NoText__T = (function() { return this.NoText$1 }); var $d_Lhypersubs_gui_CancelConfirmationDialog$ = new $TypeData().initClass({ Lhypersubs_gui_CancelConfirmationDialog$: 0 }, false, "hypersubs.gui.CancelConfirmationDialog$", { Lhypersubs_gui_CancelConfirmationDialog$: 1, O: 1 }); $c_Lhypersubs_gui_CancelConfirmationDialog$.prototype.$classData = $d_Lhypersubs_gui_CancelConfirmationDialog$; var $n_Lhypersubs_gui_CancelConfirmationDialog$ = (void 0); function $m_Lhypersubs_gui_CancelConfirmationDialog$() { if ((!$n_Lhypersubs_gui_CancelConfirmationDialog$)) { $n_Lhypersubs_gui_CancelConfirmationDialog$ = new $c_Lhypersubs_gui_CancelConfirmationDialog$().init___() }; return $n_Lhypersubs_gui_CancelConfirmationDialog$ } /** @constructor */ function $c_Lhypersubs_gui_HelpDialog$() { $c_O.call(this); this.Title$1 = null; this.CloseText$1 = null } $c_Lhypersubs_gui_HelpDialog$.prototype = new $h_O(); $c_Lhypersubs_gui_HelpDialog$.prototype.constructor = $c_Lhypersubs_gui_HelpDialog$; /** @constructor */ function $h_Lhypersubs_gui_HelpDialog$() { /*<skip>*/ } $h_Lhypersubs_gui_HelpDialog$.prototype = $c_Lhypersubs_gui_HelpDialog$.prototype; $c_Lhypersubs_gui_HelpDialog$.prototype.init___ = (function() { this.Title$1 = "\"Now I find I've changed my mind, and opened up the...\""; this.CloseText$1 = "Close"; return this }); $c_Lhypersubs_gui_HelpDialog$.prototype.Title__T = (function() { return this.Title$1 }); $c_Lhypersubs_gui_HelpDialog$.prototype.CloseText__T = (function() { return this.CloseText$1 }); var $d_Lhypersubs_gui_HelpDialog$ = new $TypeData().initClass({ Lhypersubs_gui_HelpDialog$: 0 }, false, "hypersubs.gui.HelpDialog$", { Lhypersubs_gui_HelpDialog$: 1, O: 1 }); $c_Lhypersubs_gui_HelpDialog$.prototype.$classData = $d_Lhypersubs_gui_HelpDialog$; var $n_Lhypersubs_gui_HelpDialog$ = (void 0); function $m_Lhypersubs_gui_HelpDialog$() { if ((!$n_Lhypersubs_gui_HelpDialog$)) { $n_Lhypersubs_gui_HelpDialog$ = new $c_Lhypersubs_gui_HelpDialog$().init___() }; return $n_Lhypersubs_gui_HelpDialog$ } /** @constructor */ function $c_Lhypersubs_gui_MainDialog$() { $c_O.call(this); this.DefaultWidth$1 = 0; this.DefaultHeight$1 = 0 } $c_Lhypersubs_gui_MainDialog$.prototype = new $h_O(); $c_Lhypersubs_gui_MainDialog$.prototype.constructor = $c_Lhypersubs_gui_MainDialog$; /** @constructor */ function $h_Lhypersubs_gui_MainDialog$() { /*<skip>*/ } $h_Lhypersubs_gui_MainDialog$.prototype = $c_Lhypersubs_gui_MainDialog$.prototype; $c_Lhypersubs_gui_MainDialog$.prototype.init___ = (function() { this.DefaultWidth$1 = 900; this.DefaultHeight$1 = 725; return this }); $c_Lhypersubs_gui_MainDialog$.prototype.DefaultHeight__I = (function() { return this.DefaultHeight$1 }); $c_Lhypersubs_gui_MainDialog$.prototype.DefaultWidth__I = (function() { return this.DefaultWidth$1 }); var $d_Lhypersubs_gui_MainDialog$ = new $TypeData().initClass({ Lhypersubs_gui_MainDialog$: 0 }, false, "hypersubs.gui.MainDialog$", { Lhypersubs_gui_MainDialog$: 1, O: 1 }); $c_Lhypersubs_gui_MainDialog$.prototype.$classData = $d_Lhypersubs_gui_MainDialog$; var $n_Lhypersubs_gui_MainDialog$ = (void 0); function $m_Lhypersubs_gui_MainDialog$() { if ((!$n_Lhypersubs_gui_MainDialog$)) { $n_Lhypersubs_gui_MainDialog$ = new $c_Lhypersubs_gui_MainDialog$().init___() }; return $n_Lhypersubs_gui_MainDialog$ } /** @constructor */ function $c_Lhypersubs_gui_MainDialog$FlangeCounter$() { $c_O.call(this); this.$$outer$1 = null } $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype = new $h_O(); $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype.constructor = $c_Lhypersubs_gui_MainDialog$FlangeCounter$; /** @constructor */ function $h_Lhypersubs_gui_MainDialog$FlangeCounter$() { /*<skip>*/ } $h_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype = $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype; $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype.init___Lhypersubs_gui_MainDialog = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$1 = $$outer }; return this }); $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype.tooltip__p1__Lorg_scalajs_dom_raw_Element__T = (function(elem) { var div = (0, $m_Lorg_querki_jquery_package$().$$$1)(elem); var number = $as_T(div.text()); var jsx$2 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Fixture Block #", "<br/>", "<br/>"])); var jsx$1 = this.$$outer$1.stateSnap__Lhypersubs_gui_package$GUIState().supersubs$1.flanges$1; var this$2 = new $c_sci_StringOps().init___T(number); var this$4 = $m_jl_Integer$(); var $$this = this$2.repr$1; var text = jsx$2.s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([number, $as_Lhypersubs_page_Flange(jsx$1.apply__I__O((((-1) + this$4.parseInt__T__I__I($$this, 10)) | 0))).date$1])); if ($uZ(div.hasClass("hypersubs-flange-current"))) { text = (text + "Displayed right now.") } else if ($uZ(div.hasClass("hypersubs-flange-reviewed"))) { text = (text + "Already done.") } else if ($uZ(div.hasClass("hypersubs-flange-skipped"))) { text = (text + "Filled by Hypersubs (not shown).<br/>Review the confirmation page/email later!") } else { text = (text + "Coming up later.") }; if ($uZ(div.hasClass("hypersubs-flange-danger"))) { text = (text + "<br/>(The red number means that one<br/>or more of the selected defensive<br/>players has a dangerous fixture.)") }; return text }); $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype.hypersubs$gui$MainDialog$FlangeCounter$$hideTip__Lorg_scalajs_dom_raw_Element__Lorg_querki_jquery_JQuery = (function(elem) { var tooltipDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-flange-tooltip .explanation"); tooltipDiv.removeClass("hypersubs-tooltip-visible"); return tooltipDiv.addClass("hypersubs-tooltip-invisible") }); $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype.create__p1__I__Lorg_querki_jquery_JQuery = (function(numberOfFlanges) { var isEmpty$4 = (numberOfFlanges < 1); if (isEmpty$4) { /*<skip>*/ }; var lastElement$4 = (isEmpty$4 ? 0 : numberOfFlanges); inlinereturn$6: { if ((!isEmpty$4)) { var i = 1; while (true) { var arg1 = i; var jsx$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-flange-counter"); var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div class='hypersubs-flange cantselect'>", "</div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([arg1])); jsx$1.append(a); if ((i === lastElement$4)) { break inlinereturn$6 }; i = ((1 + i) | 0) } } }; $m_Lorg_querki_jquery_package$(); var jq = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-flange-counter .hypersubs-flange"); return new $c_Lorg_querki_jquery_JQueryExtensions().init___Lorg_querki_jquery_JQuery(jq).foreach__F1__Lorg_querki_jquery_JQuery(new $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2().init___Lhypersubs_gui_MainDialog$FlangeCounter$(this)) }); $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype.hypersubs$gui$MainDialog$FlangeCounter$$showTip__Lorg_scalajs_dom_raw_Element__Lhypersubs_jqueryui$JQueryUI = (function(elem) { var tooltipDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-flange-tooltip .explanation"); tooltipDiv.addClass("hypersubs-tooltip-visible"); tooltipDiv.removeClass("hypersubs-tooltip-invisible"); tooltipDiv.html(this.tooltip__p1__Lorg_scalajs_dom_raw_Element__T(elem)); return tooltipDiv.position($m_Lhypersubs_package$().loc2JSDict__Lhypersubs_package$Location__sjs_js_Dictionary(new $c_Lhypersubs_package$Location().init___T__T__sjs_js_Any__T__T("right top", "left bottom", (0, $m_Lorg_querki_jquery_package$().$$$1)(elem), "1px -3px", "fit"))) }); $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype.update__Lhypersubs_gui_package$GUIState__Lorg_querki_jquery_JQuery = (function(newState) { var existingFlangeMarkers = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-flange-counter .hypersubs-flange"); var flangeMarkers = (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(existingFlangeMarkers)).matchesNothing__Z() ? (this.create__p1__I__Lorg_querki_jquery_JQuery(newState.numberOfFlanges$1), (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-flange-counter .hypersubs-flange")) : existingFlangeMarkers); if ((newState.currentFlange$1 > 0)) { (0, $m_Lorg_querki_jquery_package$().$$$1)(flangeMarkers[(((-1) + newState.currentFlange$1) | 0)]).removeClass("hypersubs-flange-current") }; var currentMarker = (0, $m_Lorg_querki_jquery_package$().$$$1)(flangeMarkers[newState.currentFlange$1]); if (newState.hypersubs$1.isDangerouslySelected__Z()) { currentMarker.addClass("hypersubs-flange-danger") } else { currentMarker.removeClass("hypersubs-flange-danger") }; return (newState.hypersubs$1.isComplete__Z() ? (newState.skip$1 ? currentMarker.addClass("hypersubs-flange-skipped") : (currentMarker.addClass("hypersubs-flange-current"), currentMarker.addClass("hypersubs-flange-reviewed"))) : (currentMarker.addClass("hypersubs-flange-current"), currentMarker.removeClass("hypersubs-flange-reviewed"))) }); var $d_Lhypersubs_gui_MainDialog$FlangeCounter$ = new $TypeData().initClass({ Lhypersubs_gui_MainDialog$FlangeCounter$: 0 }, false, "hypersubs.gui.MainDialog$FlangeCounter$", { Lhypersubs_gui_MainDialog$FlangeCounter$: 1, O: 1 }); $c_Lhypersubs_gui_MainDialog$FlangeCounter$.prototype.$classData = $d_Lhypersubs_gui_MainDialog$FlangeCounter$; /** @constructor */ function $c_Lhypersubs_gui_MainDialog$Text$() { $c_O.call(this); this.Preferences$1 = null; this.Smartfill$1 = null; this.Reset$1 = null; this.Cancel$1 = null; this.Finish$1 = null; this.Next$1 = null; this.Tips$1 = null } $c_Lhypersubs_gui_MainDialog$Text$.prototype = new $h_O(); $c_Lhypersubs_gui_MainDialog$Text$.prototype.constructor = $c_Lhypersubs_gui_MainDialog$Text$; /** @constructor */ function $h_Lhypersubs_gui_MainDialog$Text$() { /*<skip>*/ } $h_Lhypersubs_gui_MainDialog$Text$.prototype = $c_Lhypersubs_gui_MainDialog$Text$.prototype; $c_Lhypersubs_gui_MainDialog$Text$.prototype.init___ = (function() { $n_Lhypersubs_gui_MainDialog$Text$ = this; this.Preferences$1 = "Preferences..."; this.Smartfill$1 = "Smartfill"; this.Reset$1 = "Reset"; this.Cancel$1 = "Cancel"; this.Finish$1 = "Finish"; this.Next$1 = "Next"; var self = this.Preferences$1; var jsx$5 = new $c_T2().init___O__O(self, "Adjust your Hypersubs preferences."); var self$1 = this.Smartfill$1; var jsx$4 = new $c_T2().init___O__O(self$1, ""); var self$2 = this.Reset$1; var jsx$3 = new $c_T2().init___O__O(self$2, ""); var self$3 = this.Cancel$1; var jsx$2 = new $c_T2().init___O__O(self$3, "Exit Hypersubs without saving any selections for any fixture."); var self$4 = this.Finish$1; var jsx$1 = new $c_T2().init___O__O(self$4, "Close the Hypersubs window and save your selections."); var self$5 = this.Next$1; var array = [jsx$5, jsx$4, jsx$3, jsx$2, jsx$1, new $c_T2().init___O__O(self$5, "Begin picking players for the next set of fixtures.")]; var this$14 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$14.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; this.Tips$1 = $as_sci_Map(this$14.elems$1); return this }); $c_Lhypersubs_gui_MainDialog$Text$.prototype.Preferences__T = (function() { return this.Preferences$1 }); $c_Lhypersubs_gui_MainDialog$Text$.prototype.Reset__T = (function() { return this.Reset$1 }); $c_Lhypersubs_gui_MainDialog$Text$.prototype.Next__T = (function() { return this.Next$1 }); $c_Lhypersubs_gui_MainDialog$Text$.prototype.Finish__T = (function() { return this.Finish$1 }); $c_Lhypersubs_gui_MainDialog$Text$.prototype.Cancel__T = (function() { return this.Cancel$1 }); $c_Lhypersubs_gui_MainDialog$Text$.prototype.Smartfill__T = (function() { return this.Smartfill$1 }); var $d_Lhypersubs_gui_MainDialog$Text$ = new $TypeData().initClass({ Lhypersubs_gui_MainDialog$Text$: 0 }, false, "hypersubs.gui.MainDialog$Text$", { Lhypersubs_gui_MainDialog$Text$: 1, O: 1 }); $c_Lhypersubs_gui_MainDialog$Text$.prototype.$classData = $d_Lhypersubs_gui_MainDialog$Text$; var $n_Lhypersubs_gui_MainDialog$Text$ = (void 0); function $m_Lhypersubs_gui_MainDialog$Text$() { if ((!$n_Lhypersubs_gui_MainDialog$Text$)) { $n_Lhypersubs_gui_MainDialog$Text$ = new $c_Lhypersubs_gui_MainDialog$Text$().init___() }; return $n_Lhypersubs_gui_MainDialog$Text$ } /** @constructor */ function $c_Lhypersubs_gui_NameBoxMetrics$Squeeze() { $c_O.call(this); this.name$1 = null; this.fontSize$1 = 0; this.minFontSize$1 = 0; this.maxFontSize$1 = 0; this.isZlatan$1 = false; this.fontWeight$1 = null; this.bitmap$0$1 = false } $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype = new $h_O(); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.constructor = $c_Lhypersubs_gui_NameBoxMetrics$Squeeze; /** @constructor */ function $h_Lhypersubs_gui_NameBoxMetrics$Squeeze() { /*<skip>*/ } $h_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype = $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype; $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.canReduce__p1__Z = (function() { return (this.fontSize$1 > this.minFontSize$1) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.shrinkABit__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze = (function() { var name = this.name$1; var fontSize = (((-1) + this.fontSize$1) | 0); return new $c_Lhypersubs_gui_NameBoxMetrics$Squeeze().init___Lhypersubs_gui_SqueezableName__I__I__I__Z(name, fontSize, this.minFontSize$1, this.maxFontSize$1, this.isZlatan$1) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.fullInitialism__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze = (function() { var name = this.name$1.allToInitials__Lhypersubs_gui_SqueezableName(); var fontSize = this.maxFontSize$1; return new $c_Lhypersubs_gui_NameBoxMetrics$Squeeze().init___Lhypersubs_gui_SqueezableName__I__I__I__Z(name, fontSize, this.minFontSize$1, this.maxFontSize$1, this.isZlatan$1).shrinkIfNecessary__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze() }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.improve__Lhypersubs_gui_NameBoxMetrics$Squeeze = (function() { if (this.fitsHeight__p1__Z()) { return this.abbreviateFirstNames__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze().doLastNameWidths__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze() } else { var shortened = this.partialInitialism__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze(); return (shortened.fitsHeight__p1__Z() ? shortened.doLastNameWidths__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze() : this.fullInitialism__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze()) } }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.fitsWidth__p1__sc_Seq__Z = (function(words) { return (this.width__p1__sc_Seq__D(words) <= (this.isZlatan$1 ? $m_Lhypersubs_gui_NameBoxMetrics$().ZlatanMaxWidth$1 : $m_Lhypersubs_gui_NameBoxMetrics$().NameMaxWidth$1)) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.fontWeight__T = (function() { return ((!this.bitmap$0$1) ? this.fontWeight$lzycompute__p1__T() : this.fontWeight$1) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.doLastNameWidths__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze = (function() { var asSmallAsReasonable = this.shrinkIfNecessary__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze(); return (asSmallAsReasonable.fitsLastName__p1__Z() ? asSmallAsReasonable : this.fullInitialism__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze()) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.shrinkIfNecessary__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze = (function() { var _$this = this; _shrinkIfNecessary: while (true) { if ((_$this.fitsLastName__p1__Z() || (!_$this.canReduce__p1__Z()))) { return _$this } else { _$this = _$this.shrinkABit__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze(); continue _shrinkIfNecessary } } }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.fitsLastName__p1__Z = (function() { return this.fitsWidth__p1__sc_Seq__Z(this.name$1.lastNames$1) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.height__I__D = (function(narrowing) { var testDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-player-name-height-test"); var a = ((($m_Lhypersubs_gui_NameBoxMetrics$().NameMaxWidth$1 - narrowing) | 0) + "px"); testDiv.css("width", a); var a$1 = (this.fontSize$1 + "px"); testDiv.css("font-size", a$1); var a$2 = (this.fontSize$1 + "px"); testDiv.css("line-height", a$2); var a$3 = this.fontWeight__T(); testDiv.css("font-weight", a$3); testDiv.html(this.name$1.fullNameString__T()); return $uD(testDiv.height()) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.init___Lhypersubs_gui_SqueezableName__I__I__I__Z = (function(name, fontSize, minFontSize, maxFontSize, isZlatan) { this.name$1 = name; this.fontSize$1 = fontSize; this.minFontSize$1 = minFontSize; this.maxFontSize$1 = maxFontSize; this.isZlatan$1 = isZlatan; return this }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.fitsHeight__p1__Z = (function() { return (this.height__I__D(4) <= $m_Lhypersubs_gui_NameBoxMetrics$().NameMaxHeight$1) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.fontWeight$lzycompute__p1__T = (function() { if ((!this.bitmap$0$1)) { this.fontWeight$1 = (this.isZlatan$1 ? "bold" : "normal"); this.bitmap$0$1 = true }; return this.fontWeight$1 }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.partialInitialism__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze = (function() { var name = this.name$1.firstNamesToInitials__Lhypersubs_gui_SqueezableName(); var fontSize = this.fontSize$1; return new $c_Lhypersubs_gui_NameBoxMetrics$Squeeze().init___Lhypersubs_gui_SqueezableName__I__I__I__Z(name, fontSize, this.minFontSize$1, this.maxFontSize$1, this.isZlatan$1) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.abbreviateFirstNames__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze = (function() { return (this.fitsWidth__p1__sc_Seq__Z(this.name$1.firstNames$1) ? this : this.partialInitialism__p1__Lhypersubs_gui_NameBoxMetrics$Squeeze()) }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.width__p1__sc_Seq__D = (function(words) { var testDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-player-name-width-test"); var a = (this.fontSize$1 + "px"); testDiv.css("font-size", a); var a$1 = (this.fontSize$1 + "px"); testDiv.css("line-height", a$1); var a$2 = this.fontWeight__T(); testDiv.css("font-weight", a$2); var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$6$2) { var x$6 = $as_T(x$6$2); var thiz = $m_sjsr_RuntimeString$().replaceAll__T__T__T__T(x$6, "-", "- "); var xs = $m_sjsr_RuntimeString$().split__T__T__I__AT(thiz, " ", 0); return new $c_scm_ArrayOps$ofRef().init___AO(xs) })); var this$17 = $m_sc_Seq$(); testDiv.html($as_sc_TraversableOnce(words.flatMap__F1__scg_CanBuildFrom__O(jsx$1, this$17.ReusableCBFInstance$2)).mkString__T__T("<br/>")); return $uD(testDiv.width()) }); function $is_Lhypersubs_gui_NameBoxMetrics$Squeeze(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_NameBoxMetrics$Squeeze))) } function $as_Lhypersubs_gui_NameBoxMetrics$Squeeze(obj) { return (($is_Lhypersubs_gui_NameBoxMetrics$Squeeze(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.NameBoxMetrics$Squeeze")) } function $isArrayOf_Lhypersubs_gui_NameBoxMetrics$Squeeze(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_NameBoxMetrics$Squeeze))) } function $asArrayOf_Lhypersubs_gui_NameBoxMetrics$Squeeze(obj, depth) { return (($isArrayOf_Lhypersubs_gui_NameBoxMetrics$Squeeze(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.NameBoxMetrics$Squeeze;", depth)) } var $d_Lhypersubs_gui_NameBoxMetrics$Squeeze = new $TypeData().initClass({ Lhypersubs_gui_NameBoxMetrics$Squeeze: 0 }, false, "hypersubs.gui.NameBoxMetrics$Squeeze", { Lhypersubs_gui_NameBoxMetrics$Squeeze: 1, O: 1 }); $c_Lhypersubs_gui_NameBoxMetrics$Squeeze.prototype.$classData = $d_Lhypersubs_gui_NameBoxMetrics$Squeeze; /** @constructor */ function $c_Lhypersubs_gui_PlayerBox() { $c_O.call(this); this.parent$1 = null; this.eachCircleDiv$1 = null } $c_Lhypersubs_gui_PlayerBox.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerBox.prototype.constructor = $c_Lhypersubs_gui_PlayerBox; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox.prototype = $c_Lhypersubs_gui_PlayerBox.prototype; $c_Lhypersubs_gui_PlayerBox.prototype.settingsChanged__V = (function() { var dangerChangedSoStartOver = $m_Lhypersubs_Club$().refreshStrengthsFromPreferences__Z(); this.refresh__Lorg_querki_jquery_JQuery(); if (dangerChangedSoStartOver) { this.resetFlange__Z__V(this.parent$1.stateSnap__Lhypersubs_gui_package$GUIState().smartFill$1) } }); $c_Lhypersubs_gui_PlayerBox.prototype.shiftViewToCurrentState__Lhypersubs_gui_PlayerBox$Transition__Lorg_querki_jquery_JQuery = (function(transition) { var newState = this.parent$1.stateSnap__Lhypersubs_gui_package$GUIState(); var newSelections = newState.hypersubs$1; this.movePlayers__p1__Lhypersubs_gui_PlayerBox$Transition__Lhypersubs_hsubs_Selection__V(transition, newSelections); this.updatePosGroupSelectors__p1__Lhypersubs_hsubs_Selection__O(newSelections); return this.parent$1.playerBoxUpdated__Z__Lorg_querki_jquery_JQuery(false) }); $c_Lhypersubs_gui_PlayerBox.prototype.updatePosGroupSelectors__p1__Lhypersubs_hsubs_Selection__O = (function(newSelection) { $m_Lorg_querki_jquery_package$(); var jq = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-squad .hypersubs-selector"); new $c_Lorg_querki_jquery_JQueryExtensions().init___Lorg_querki_jquery_JQuery(jq).foreach__F1__Lorg_querki_jquery_JQuery(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(newSelection$2) { return (function(selector$2) { var jsx$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)(selector$2); var a = ((22 + $imul(48, newSelection$2.greatestChoosableCount__I())) | 0); jsx$1.height(a) }) })(newSelection))); var fillingAdvice = new $c_Lhypersubs_gui_PlayerBox$FillingAdvice().init___Lhypersubs_hsubs_Selection(newSelection); (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-advice-gk").html(fillingAdvice.advicePickExactlyNOfOnePos__p1__Lhypersubs_Position__T($m_Lhypersubs_GK$())); (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-advice-fb").html(fillingAdvice.advicePickExactlyNOfOnePos__p1__Lhypersubs_Position__T($m_Lhypersubs_FB$())); (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-advice-cb").html(""); (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-advice-mf").html(""); (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-advice-st").html(""); var x1 = fillingAdvice.cbmfst__Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice(); if ($is_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(x1)) { var x2 = $as_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(x1); var locator = x2.locator$2; var text = x2.text$2; return (0, $m_Lorg_querki_jquery_package$().$$$1)(locator).html(text) } else { var x = $m_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$(); if ((x === x1)) { return (void 0) } else { throw new $c_s_MatchError().init___O(x1) } } }); $c_Lhypersubs_gui_PlayerBox.prototype.init___Lhypersubs_gui_MainDialog = (function(parent) { this.parent$1 = parent; $m_Lhypersubs_Club$().refreshStrengthsFromPreferences__Z(); this.eachCircleDiv$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-content .hypersubs-player"); $m_Lhypersubs_gui_PlayerCircle$(); var jquery = this.eachCircleDiv$1; jquery.PlayerCircle(); this.eachCircleDiv$1.click($m_Lorg_querki_jquery_package$().ft02EventHandler__F1__sjs_js_$bar(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(circle$2) { arg$outer.hypersubs$gui$PlayerBox$$pickOrHint__Lorg_scalajs_dom_raw_Element__V(circle$2) }) })(this)))); this.eachCircleDiv$1.hover($m_Lorg_querki_jquery_package$().ft02EventHandler__F1__sjs_js_$bar(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$1) { return (function(circle$2$1) { arg$outer$1.hypersubs$gui$PlayerBox$$showCircleTooltip__Lorg_scalajs_dom_raw_Element__V(circle$2$1) }) })(this))), $m_Lorg_querki_jquery_package$().ft02EventHandler__F1__sjs_js_$bar(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$2) { return (function(circle$2$2) { arg$outer$2.hypersubs$gui$PlayerBox$$hideCircleTooltip__Lorg_scalajs_dom_raw_Element__V(circle$2$2) }) })(this)))); return this }); $c_Lhypersubs_gui_PlayerBox.prototype.hypersubs$gui$PlayerBox$$showCircleTooltip__Lorg_scalajs_dom_raw_Element__V = (function(circle) { var this$2 = ($m_Lhypersubs_gui_PlayerCircle$(), new $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem().init___Lorg_scalajs_dom_raw_Element(circle)).player__s_Option(); if ((!this$2.isEmpty__Z())) { var v1 = this$2.get__O(); var hoveredPlayer = $as_Lhypersubs_Player(v1); if ((!$uZ((0, $m_Lorg_querki_jquery_package$().$$$1)(circle).is(":animated")))) { if ($as_Lhypersubs_hsubs_package$MatchdayRole(this.parent$1.stateSnap__Lhypersubs_gui_package$GUIState().hypersubs$1.roleOf$1.apply__O__O(hoveredPlayer)).isInLimbo__Z()) { (0, $m_Lorg_querki_jquery_package$().$$$1)(circle).addClass("hypersubs-player-hover") }; var tooltipDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-player-tooltip .explanation"); tooltipDiv.addClass("hypersubs-tooltip-visible"); var jsx$1 = hoveredPlayer.fullHTML__T(); var this$13 = ($m_Lhypersubs_gui_PlayerCircle$(), new $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem().init___Lorg_scalajs_dom_raw_Element(circle)).colorExplanation__s_Option(); tooltipDiv.html((("" + jsx$1) + (this$13.isEmpty__Z() ? "" : this$13.get__O()))); tooltipDiv.removeClass("hypersubs-tooltip-invisible"); tooltipDiv.position($m_Lhypersubs_package$().loc2JSDict__Lhypersubs_package$Location__sjs_js_Dictionary(new $c_Lhypersubs_package$Location().init___T__T__sjs_js_Any__T__T("left top", "right bottom", (0, $m_Lorg_querki_jquery_package$().$$$1)(circle), "-12px -12px", "fit"))) } } }); $c_Lhypersubs_gui_PlayerBox.prototype.refresh__Lorg_querki_jquery_JQuery = (function() { $m_Lorg_querki_jquery_package$(); var jq = this.eachCircleDiv$1; return new $c_Lorg_querki_jquery_JQueryExtensions().init___Lorg_querki_jquery_JQuery(jq).foreach__F1__Lorg_querki_jquery_JQuery(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(circleDiv$2) { $m_Lhypersubs_gui_PlayerCircle$(); var jquery = (0, $m_Lorg_querki_jquery_package$().$$$1)(circleDiv$2); new $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle().init___Lorg_querki_jquery_JQuery(jquery).refresh__sjs_js_Object() }))) }); $c_Lhypersubs_gui_PlayerBox.prototype.shiftViewToGivenFlange__I__Z__Z__V = (function(flangeNumber, smartFill, allowSkipping) { var this$1 = this.parent$1; this$1.gui$2.mutableState$1.loadFlange__I__Z__V(flangeNumber, smartFill); var newState = this.parent$1.stateSnap__Lhypersubs_gui_package$GUIState(); if ((newState.skip$1 && allowSkipping)) { newState.supersubs$1.setCheckboxes__I__Lhypersubs_hsubs_Selection__V(flangeNumber, newState.hypersubs$1); this.parent$1.playerBoxUpdated__Z__Lorg_querki_jquery_JQuery(true); this.shiftViewToGivenFlange__I__Z__Z__V(((1 + flangeNumber) | 0), smartFill, allowSkipping) } else { var jsx$2 = newState.hypersubs$1.allPlayers__sc_Seq(); var array = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-content .hypersubs-player").toArray(); var jsx$1 = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array); var this$8 = $m_sc_Seq$(); $as_sc_TraversableLike(jsx$2.zip__sc_GenIterable__scg_CanBuildFrom__O(jsx$1, this$8.ReusableCBFInstance$2)).withFilter__F1__scg_FilterMonadic(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$1$2) { var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); return (check$ifrefutable$1 !== null) }))).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$3$2) { var x$3 = $as_T2(x$3$2); if ((x$3 !== null)) { var player = $as_Lhypersubs_Player(x$3.$$und1__O()); var circle = x$3.$$und2__O(); $m_Lhypersubs_gui_PlayerCircle$(); var jquery = (0, $m_Lorg_querki_jquery_package$().$$$1)(circle); return new $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle().init___Lorg_querki_jquery_JQuery(jquery).setPlayer__Lhypersubs_Player__sjs_js_Any(player) } else { throw new $c_s_MatchError().init___O(x$3) } }))); this.shiftViewToCurrentState__Lhypersubs_gui_PlayerBox$Transition__Lorg_querki_jquery_JQuery($m_Lhypersubs_gui_PlayerBox$Instant$()) } }); $c_Lhypersubs_gui_PlayerBox.prototype.hypersubs$gui$PlayerBox$$hideCircleTooltip__Lorg_scalajs_dom_raw_Element__V = (function(circle) { (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-undo-hint").stop(true, true); (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-undo-hint").css("opacity", 0); (0, $m_Lorg_querki_jquery_package$().$$$1)(circle).removeClass("hypersubs-player-hover"); (0, $m_Lorg_querki_jquery_package$().$$$1)("selector").css("cursor", "default"); var tooltipDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-player-tooltip .explanation"); tooltipDiv.removeClass("hypersubs-tooltip-visible"); tooltipDiv.addClass("hypersubs-tooltip-invisible") }); $c_Lhypersubs_gui_PlayerBox.prototype.movePlayers__p1__Lhypersubs_gui_PlayerBox$Transition__Lhypersubs_hsubs_Selection__V = (function(transition, newSelections) { if ((!transition.isSmooth$1)) { this.eachCircleDiv$1.stop(true, true) }; $m_Lorg_querki_jquery_package$(); var jq = this.eachCircleDiv$1; new $c_Lorg_querki_jquery_JQueryExtensions().init___Lorg_querki_jquery_JQuery(jq).foreach__F1__Lorg_querki_jquery_JQuery(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(transition$2, newSelections$1) { return (function(div$2) { $m_Lhypersubs_gui_PlayerCircle$(); var jquery = (0, $m_Lorg_querki_jquery_package$().$$$1)(div$2); new $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle().init___Lorg_querki_jquery_JQuery(jquery).move__Lhypersubs_gui_PlayerBox$Transition__Lhypersubs_hsubs_Selection__sjs_js_Any(transition$2, newSelections$1) }) })(transition, newSelections))) }); $c_Lhypersubs_gui_PlayerBox.prototype.hypersubs$gui$PlayerBox$$pickOrHint__Lorg_scalajs_dom_raw_Element__V = (function(circle) { var oldState = this.parent$1.stateSnap__Lhypersubs_gui_package$GUIState(); var this$2 = ($m_Lhypersubs_gui_PlayerCircle$(), new $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem().init___Lorg_scalajs_dom_raw_Element(circle)).player__s_Option(); if ((!this$2.isEmpty__Z())) { var arg1 = this$2.get__O(); var pickedPlayer = $as_Lhypersubs_Player(arg1); var oldSelection = oldState.hypersubs$1; if ($as_Lhypersubs_hsubs_package$MatchdayRole(oldSelection.roleOf$1.apply__O__O(pickedPlayer)).isInLimbo__Z()) { (0, $m_Lorg_querki_jquery_package$().$$$1)(circle).removeClass("hypersubs-player-hover"); (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-player-tooltip .explanation").removeClass("hypersubs-tooltip-visible"); (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-player-tooltip .explanation").addClass("hypersubs-tooltip-invisible"); var this$13 = this.parent$1; this$13.gui$2.mutableState$1.hypersubs$1 = oldSelection.pickOneManually__Lhypersubs_Player__Lhypersubs_hsubs_Selection(pickedPlayer); this.shiftViewToCurrentState__Lhypersubs_gui_PlayerBox$Transition__Lorg_querki_jquery_JQuery(new $c_Lhypersubs_gui_PlayerBox$Smooth().init___Lhypersubs_hsubs_Selection(oldSelection)) } else { var hintDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-undo-hint"); hintDiv.stop(true, true); hintDiv.css("opacity", 0); hintDiv.position($m_Lhypersubs_package$().loc2JSDict__Lhypersubs_package$Location__sjs_js_Dictionary(new $c_Lhypersubs_package$Location().init___T__T__sjs_js_Any__T__T("left top", "right bottom", (0, $m_Lorg_querki_jquery_package$().$$$1)(circle), "-12px -12px", "fit"))); hintDiv.animate($m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("opacity", 0.9)])), 500, "swing") } } }); $c_Lhypersubs_gui_PlayerBox.prototype.resetFlange__Z__V = (function(smartFill) { this.shiftViewToGivenFlange__I__Z__Z__V(this.parent$1.stateSnap__Lhypersubs_gui_package$GUIState().currentFlange$1, smartFill, false) }); var $d_Lhypersubs_gui_PlayerBox = new $TypeData().initClass({ Lhypersubs_gui_PlayerBox: 0 }, false, "hypersubs.gui.PlayerBox", { Lhypersubs_gui_PlayerBox: 1, O: 1 }); $c_Lhypersubs_gui_PlayerBox.prototype.$classData = $d_Lhypersubs_gui_PlayerBox; /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$() { $c_O.call(this); this.ColorScheme$1 = null } $c_Lhypersubs_gui_PlayerBox$.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerBox$.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$.prototype = $c_Lhypersubs_gui_PlayerBox$.prototype; $c_Lhypersubs_gui_PlayerBox$.prototype.init___ = (function() { $n_Lhypersubs_gui_PlayerBox$ = this; var jsx$2 = $as_sc_TraversableLike($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_Lhypersubs_gui_PlayerBox$Colors().init___T__T__T__T__T("white", "#FFFFFF", "#CCCCCC", "#AAAAAA", "idle"), new $c_Lhypersubs_gui_PlayerBox$Colors().init___T__T__T__T__T("red", "#F7ABAB", "#FF5151", "#7A5555", "dangerous fixture"), new $c_Lhypersubs_gui_PlayerBox$Colors().init___T__T__T__T__T("orange", "#FFB05B", "#AF793F", "#C48746", "dangerous, but presumably won't play"), new $c_Lhypersubs_gui_PlayerBox$Colors().init___T__T__T__T__T("grey", "#BFBFBF", "#929292", "#555555", "presumably won't play"), new $c_Lhypersubs_gui_PlayerBox$Colors().init___T__T__T__T__T("green", "#AADB81", "#73995C", "#637F4B", "ready for action"), new $c_Lhypersubs_gui_PlayerBox$Colors().init___T__T__T__T__T("blue", "#ACC2F2", "#84C9B3", "#6AA08E", "can play if ready")]))); var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(scheme$2) { var scheme = $as_Lhypersubs_gui_PlayerBox$Colors(scheme$2); var self = scheme.name$1; return new $c_T2().init___O__O(self, scheme) })); var this$3 = $m_sc_Seq$(); this.ColorScheme$1 = $as_sc_TraversableOnce(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$3.ReusableCBFInstance$2)).toMap__s_Predef$$less$colon$less__sci_Map($m_s_Predef$().singleton$und$less$colon$less$2); return this }); var $d_Lhypersubs_gui_PlayerBox$ = new $TypeData().initClass({ Lhypersubs_gui_PlayerBox$: 0 }, false, "hypersubs.gui.PlayerBox$", { Lhypersubs_gui_PlayerBox$: 1, O: 1 }); $c_Lhypersubs_gui_PlayerBox$.prototype.$classData = $d_Lhypersubs_gui_PlayerBox$; var $n_Lhypersubs_gui_PlayerBox$ = (void 0); function $m_Lhypersubs_gui_PlayerBox$() { if ((!$n_Lhypersubs_gui_PlayerBox$)) { $n_Lhypersubs_gui_PlayerBox$ = new $c_Lhypersubs_gui_PlayerBox$().init___() }; return $n_Lhypersubs_gui_PlayerBox$ } /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$FillingAdvice() { $c_O.call(this); this.selection$1 = null } $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$FillingAdvice; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$FillingAdvice() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype = $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype; $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype.hypersubs$gui$PlayerBox$FillingAdvice$$advicePickNtoMFromOnePos$1__Lhypersubs_Position__Lhypersubs_hsubs_PosGroupPick__T = (function(position, posGroup$2) { var singlePosPick = $as_Lhypersubs_hsubs_PosPick(posGroup$2.singlePosPicks$1.apply__O__O(position)); var choosable = singlePosPick.choosable$1.size__I(); var a = singlePosPick.min$1; var min = ((a > 0) ? a : 0); var a$1 = singlePosPick.max$1; var max = ((a$1 < choosable) ? a$1 : choosable); return ((min === max) ? new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["", " ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([min, $m_Lhypersubs_gui_PlayerBox$FillingAdvice$().hypersubs$gui$PlayerBox$FillingAdvice$$maybePlural__I__T__T(min, position.name$1)])) : new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["", " to ", " ", "s"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([min, max, position.name$1]))) }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype.advicePickNtoMFromVarious__p1__sc_Seq__T = (function(positions) { var posGroup = $as_Lhypersubs_hsubs_PosGroupPick(this.selection$1.posGroupsByPosition$1.apply__O__O(positions.head__O())); var totalNeeded = posGroup.slotsLeft$1; var overallPart = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Pick ", " "])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([totalNeeded])); var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer, posGroup$2) { return (function(position$2) { var position = $as_Lhypersubs_Position(position$2); return arg$outer.hypersubs$gui$PlayerBox$FillingAdvice$$advicePickNtoMFromOnePos$1__Lhypersubs_Position__Lhypersubs_hsubs_PosGroupPick__T(position, posGroup$2) }) })(this, posGroup)); var this$1 = $m_sc_Seq$(); var specificPart = (("(" + $as_sc_TraversableOnce(positions.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).mkString__T__T(", ")) + ")"); return new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["", " ", "."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([overallPart, specificPart])) }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype.cbmfst__Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice = (function() { var poss = $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_CB$(), $m_Lhypersubs_MF$(), $m_Lhypersubs_ST$()]))); var posGroup = $as_Lhypersubs_hsubs_PosGroupPick(this.selection$1.posGroupsByPosition$1.apply__O__O(poss.head__O())); var totalNeeded = posGroup.slotsLeft$1; var relevantPoss = $as_sc_Seq(poss.filter__F1__O(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(posGroup$1) { return (function(x$4$2) { var x$4 = $as_Lhypersubs_Position(x$4$2); return ($as_Lhypersubs_hsubs_PosPick(posGroup$1.singlePosPicks$1.apply__O__O(x$4)).choosable$1.size__I() > 0) }) })(posGroup)))); if ((totalNeeded === 0)) { return $m_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$() } else if ((relevantPoss.size__I() === 1)) { var thiz = $as_Lhypersubs_Position(relevantPoss.head__O()).name$1; return new $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice().init___T__T(("#hypersubs-advice-" + $as_T(thiz.toLowerCase())), this.advicePickExactlyNOfOnePos__p1__Lhypersubs_Position__T($as_Lhypersubs_Position(relevantPoss.head__O()))) } else { return ((totalNeeded === 1) ? new $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice().init___T__T("#hypersubs-advice-mf", this.advicePickExactly1FromAnyOf__p1__sc_Seq__T(relevantPoss)) : new $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice().init___T__T("#hypersubs-advice-mf", this.advicePickNtoMFromVarious__p1__sc_Seq__T(relevantPoss))) } }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype.advicePickExactly1FromAnyOf__p1__sc_Seq__T = (function(positions) { var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$5$2) { var x$5 = $as_Lhypersubs_Position(x$5$2); return x$5.name$1 })); var this$1 = $m_sc_Seq$(); return (("Pick 1 " + $as_sc_TraversableOnce(positions.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).mkString__T__T("/")) + ".") }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype.advicePickExactlyNOfOnePos__p1__Lhypersubs_Position__T = (function(pos) { var exactRequirement = $as_Lhypersubs_hsubs_PosGroupPick(this.selection$1.posGroupsByPosition$1.apply__O__O(pos)).slotsLeft$1; return ((exactRequirement > 0) ? new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Pick ", " ", "."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([exactRequirement, $m_Lhypersubs_gui_PlayerBox$FillingAdvice$().hypersubs$gui$PlayerBox$FillingAdvice$$maybePlural__I__T__T(exactRequirement, pos.name$1)])) : "") }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype.init___Lhypersubs_hsubs_Selection = (function(selection) { this.selection$1 = selection; return this }); var $d_Lhypersubs_gui_PlayerBox$FillingAdvice = new $TypeData().initClass({ Lhypersubs_gui_PlayerBox$FillingAdvice: 0 }, false, "hypersubs.gui.PlayerBox$FillingAdvice", { Lhypersubs_gui_PlayerBox$FillingAdvice: 1, O: 1 }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice.prototype.$classData = $d_Lhypersubs_gui_PlayerBox$FillingAdvice; /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$FillingAdvice$() { $c_O.call(this) } $c_Lhypersubs_gui_PlayerBox$FillingAdvice$.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$FillingAdvice$; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$FillingAdvice$() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$FillingAdvice$.prototype = $c_Lhypersubs_gui_PlayerBox$FillingAdvice$.prototype; $c_Lhypersubs_gui_PlayerBox$FillingAdvice$.prototype.init___ = (function() { return this }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$.prototype.hypersubs$gui$PlayerBox$FillingAdvice$$maybePlural__I__T__T = (function(count, posNameOrNames) { return ((count === 1) ? posNameOrNames : (posNameOrNames + "s")) }); var $d_Lhypersubs_gui_PlayerBox$FillingAdvice$ = new $TypeData().initClass({ Lhypersubs_gui_PlayerBox$FillingAdvice$: 0 }, false, "hypersubs.gui.PlayerBox$FillingAdvice$", { Lhypersubs_gui_PlayerBox$FillingAdvice$: 1, O: 1 }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$.prototype.$classData = $d_Lhypersubs_gui_PlayerBox$FillingAdvice$; var $n_Lhypersubs_gui_PlayerBox$FillingAdvice$ = (void 0); function $m_Lhypersubs_gui_PlayerBox$FillingAdvice$() { if ((!$n_Lhypersubs_gui_PlayerBox$FillingAdvice$)) { $n_Lhypersubs_gui_PlayerBox$FillingAdvice$ = new $c_Lhypersubs_gui_PlayerBox$FillingAdvice$().init___() }; return $n_Lhypersubs_gui_PlayerBox$FillingAdvice$ } /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice() { $c_O.call(this) } $c_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice.prototype = $c_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice.prototype; /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$Transition() { $c_O.call(this); this.isSmooth$1 = false } $c_Lhypersubs_gui_PlayerBox$Transition.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerBox$Transition.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$Transition; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$Transition() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$Transition.prototype = $c_Lhypersubs_gui_PlayerBox$Transition.prototype; $c_Lhypersubs_gui_PlayerBox$Transition.prototype.init___Z = (function(isSmooth) { this.isSmooth$1 = isSmooth; return this }); function $is_Lhypersubs_gui_PlayerBox$Transition(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_PlayerBox$Transition))) } function $as_Lhypersubs_gui_PlayerBox$Transition(obj) { return (($is_Lhypersubs_gui_PlayerBox$Transition(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.PlayerBox$Transition")) } function $isArrayOf_Lhypersubs_gui_PlayerBox$Transition(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_PlayerBox$Transition))) } function $asArrayOf_Lhypersubs_gui_PlayerBox$Transition(obj, depth) { return (($isArrayOf_Lhypersubs_gui_PlayerBox$Transition(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.PlayerBox$Transition;", depth)) } /** @constructor */ function $c_Lhypersubs_gui_PlayerCircle$() { $c_O.call(this); this.options$1 = null } $c_Lhypersubs_gui_PlayerCircle$.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerCircle$.prototype.constructor = $c_Lhypersubs_gui_PlayerCircle$; /** @constructor */ function $h_Lhypersubs_gui_PlayerCircle$() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerCircle$.prototype = $c_Lhypersubs_gui_PlayerCircle$.prototype; $c_Lhypersubs_gui_PlayerCircle$.prototype.init___ = (function() { $n_Lhypersubs_gui_PlayerCircle$ = this; var jqueryStatic = $m_Lorg_querki_jquery_package$().$$$1; jqueryStatic.widget("hypersubs.PlayerCircle", new $c_Lhypersubs_gui_PlayerCirclePrototype()); this.options$1 = $as_scm_Map($m_scm_Map$().apply__sc_Seq__sc_GenMap($m_sci_Nil$())).withDefaultValue__O__scm_Map(new $c_Lhypersubs_gui_PlayerCircle$Options().init___s_Option__s_Option($m_s_None$(), $m_s_None$())); return this }); var $d_Lhypersubs_gui_PlayerCircle$ = new $TypeData().initClass({ Lhypersubs_gui_PlayerCircle$: 0 }, false, "hypersubs.gui.PlayerCircle$", { Lhypersubs_gui_PlayerCircle$: 1, O: 1 }); $c_Lhypersubs_gui_PlayerCircle$.prototype.$classData = $d_Lhypersubs_gui_PlayerCircle$; var $n_Lhypersubs_gui_PlayerCircle$ = (void 0); function $m_Lhypersubs_gui_PlayerCircle$() { if ((!$n_Lhypersubs_gui_PlayerCircle$)) { $n_Lhypersubs_gui_PlayerCircle$ = new $c_Lhypersubs_gui_PlayerCircle$().init___() }; return $n_Lhypersubs_gui_PlayerCircle$ } /** @constructor */ function $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem() { $c_O.call(this); this.elem$1 = null } $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem.prototype.constructor = $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem; /** @constructor */ function $h_Lhypersubs_gui_PlayerCircle$ConvenienceForElem() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerCircle$ConvenienceForElem.prototype = $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem.prototype; $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem.prototype.player__s_Option = (function() { return $as_Lhypersubs_gui_PlayerCircle$Options($m_Lhypersubs_gui_PlayerCircle$().options$1.apply__O__O($as_T(this.elem$1.id))).player$1 }); $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem.prototype.colorExplanation__s_Option = (function() { return $as_Lhypersubs_gui_PlayerCircle$Options($m_Lhypersubs_gui_PlayerCircle$().options$1.apply__O__O($as_T(this.elem$1.id))).colorExplanation$1 }); $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem.prototype.init___Lorg_scalajs_dom_raw_Element = (function(elem) { this.elem$1 = elem; return this }); var $d_Lhypersubs_gui_PlayerCircle$ConvenienceForElem = new $TypeData().initClass({ Lhypersubs_gui_PlayerCircle$ConvenienceForElem: 0 }, false, "hypersubs.gui.PlayerCircle$ConvenienceForElem", { Lhypersubs_gui_PlayerCircle$ConvenienceForElem: 1, O: 1 }); $c_Lhypersubs_gui_PlayerCircle$ConvenienceForElem.prototype.$classData = $d_Lhypersubs_gui_PlayerCircle$ConvenienceForElem; /** @constructor */ function $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle() { $c_O.call(this); this.jquery$1 = null } $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle.prototype.constructor = $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle; /** @constructor */ function $h_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle.prototype = $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle.prototype; $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle.prototype.init___Lorg_querki_jquery_JQuery = (function(jquery) { this.jquery$1 = jquery; return this }); $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle.prototype.setPlayer__Lhypersubs_Player__sjs_js_Any = (function(player) { $m_Lhypersubs_gui_PlayerCircle$(); var jquery = this.jquery$1; return jquery.PlayerCircle("setPlayer", player) }); $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle.prototype.move__Lhypersubs_gui_PlayerBox$Transition__Lhypersubs_hsubs_Selection__sjs_js_Any = (function(transition, newSelection) { $m_Lhypersubs_gui_PlayerCircle$(); var jquery = this.jquery$1; return jquery.PlayerCircle("move", transition, newSelection) }); $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle.prototype.refresh__sjs_js_Object = (function() { $m_Lhypersubs_gui_PlayerCircle$(); var jquery = this.jquery$1; return jquery.PlayerCircle("refresh") }); var $d_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle = new $TypeData().initClass({ Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle: 0 }, false, "hypersubs.gui.PlayerCircle$ConvenienceMethodsForPlayerCircle", { Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle: 1, O: 1 }); $c_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle.prototype.$classData = $d_Lhypersubs_gui_PlayerCircle$ConvenienceMethodsForPlayerCircle; /** @constructor */ function $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle() { $c_O.call(this); this.pc$1 = null } $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle.prototype.constructor = $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle; /** @constructor */ function $h_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle.prototype = $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle.prototype; $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle.prototype.setOptions__s_Option__s_Option__V = (function(player, colorExplanation) { $m_Lhypersubs_gui_PlayerCircle$().options$1.update__O__O__V($as_T(this.pc$1.circleID), new $c_Lhypersubs_gui_PlayerCircle$Options().init___s_Option__s_Option(player, colorExplanation)) }); $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle.prototype.player__s_Option = (function() { return $as_Lhypersubs_gui_PlayerCircle$Options($m_Lhypersubs_gui_PlayerCircle$().options$1.apply__O__O($as_T(this.pc$1.circleID))).player$1 }); $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle.prototype.init___sjs_js_Object = (function(pc) { this.pc$1 = pc; return this }); var $d_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle = new $TypeData().initClass({ Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle: 0 }, false, "hypersubs.gui.PlayerCircle$MoreConvenienceForPlayerCircle", { Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle: 1, O: 1 }); $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle.prototype.$classData = $d_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle; /** @constructor */ function $c_Lhypersubs_gui_PreferencesDialog$() { $c_O.call(this); this.Title$1 = null; this.SaveText$1 = null; this.CancelText$1 = null } $c_Lhypersubs_gui_PreferencesDialog$.prototype = new $h_O(); $c_Lhypersubs_gui_PreferencesDialog$.prototype.constructor = $c_Lhypersubs_gui_PreferencesDialog$; /** @constructor */ function $h_Lhypersubs_gui_PreferencesDialog$() { /*<skip>*/ } $h_Lhypersubs_gui_PreferencesDialog$.prototype = $c_Lhypersubs_gui_PreferencesDialog$.prototype; $c_Lhypersubs_gui_PreferencesDialog$.prototype.init___ = (function() { this.Title$1 = "\"...each careful step along the byway...\""; this.SaveText$1 = "Save"; this.CancelText$1 = "Cancel"; return this }); $c_Lhypersubs_gui_PreferencesDialog$.prototype.Title__T = (function() { return this.Title$1 }); $c_Lhypersubs_gui_PreferencesDialog$.prototype.SaveText__T = (function() { return this.SaveText$1 }); $c_Lhypersubs_gui_PreferencesDialog$.prototype.CancelText__T = (function() { return this.CancelText$1 }); var $d_Lhypersubs_gui_PreferencesDialog$ = new $TypeData().initClass({ Lhypersubs_gui_PreferencesDialog$: 0 }, false, "hypersubs.gui.PreferencesDialog$", { Lhypersubs_gui_PreferencesDialog$: 1, O: 1 }); $c_Lhypersubs_gui_PreferencesDialog$.prototype.$classData = $d_Lhypersubs_gui_PreferencesDialog$; var $n_Lhypersubs_gui_PreferencesDialog$ = (void 0); function $m_Lhypersubs_gui_PreferencesDialog$() { if ((!$n_Lhypersubs_gui_PreferencesDialog$)) { $n_Lhypersubs_gui_PreferencesDialog$ = new $c_Lhypersubs_gui_PreferencesDialog$().init___() }; return $n_Lhypersubs_gui_PreferencesDialog$ } /** @constructor */ function $c_Lhypersubs_gui_SquadShape$AddDetermineCoords() { $c_O.call(this); this.role$1 = null; this.evidence$1$1 = null } $c_Lhypersubs_gui_SquadShape$AddDetermineCoords.prototype = new $h_O(); $c_Lhypersubs_gui_SquadShape$AddDetermineCoords.prototype.constructor = $c_Lhypersubs_gui_SquadShape$AddDetermineCoords; /** @constructor */ function $h_Lhypersubs_gui_SquadShape$AddDetermineCoords() { /*<skip>*/ } $h_Lhypersubs_gui_SquadShape$AddDetermineCoords.prototype = $c_Lhypersubs_gui_SquadShape$AddDetermineCoords.prototype; $c_Lhypersubs_gui_SquadShape$AddDetermineCoords.prototype.init___O__Lhypersubs_gui_SquadShape$CoordProperty = (function(role, evidence$1) { this.role$1 = role; this.evidence$1$1 = evidence$1; return this }); $c_Lhypersubs_gui_SquadShape$AddDetermineCoords.prototype.coords__Z__Lhypersubs_package$Coords = (function(absolute) { var e = this.evidence$1$1; var value = this.role$1; return e.coords__Lhypersubs_hsubs_package$MatchdayRole__Z__Lhypersubs_package$Coords($as_Lhypersubs_hsubs_package$MatchdayRole(value), absolute) }); var $d_Lhypersubs_gui_SquadShape$AddDetermineCoords = new $TypeData().initClass({ Lhypersubs_gui_SquadShape$AddDetermineCoords: 0 }, false, "hypersubs.gui.SquadShape$AddDetermineCoords", { Lhypersubs_gui_SquadShape$AddDetermineCoords: 1, O: 1 }); $c_Lhypersubs_gui_SquadShape$AddDetermineCoords.prototype.$classData = $d_Lhypersubs_gui_SquadShape$AddDetermineCoords; /** @constructor */ function $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$() { $c_O.call(this); this.X$1 = null; this.Y$1 = null } $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$.prototype = new $h_O(); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$.prototype.constructor = $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$; /** @constructor */ function $h_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$() { /*<skip>*/ } $h_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$.prototype = $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$.prototype; $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$.prototype.init___ = (function() { $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$ = this; this.X$1 = $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([0, 65, 0, 65, 0]))); this.Y$1 = $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([0, 50, 100, 150, 200]))); return this }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$.prototype.coords__Lhypersubs_hsubs_package$OnTheBench__Z__Lhypersubs_package$Coords = (function(role, absolute) { return new $c_Lhypersubs_package$Coords().init___D__D(($uD((0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-bench").position().left) + $uI(this.X$1.apply__I__O(role.index$1))), ($uD((0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-bench").position().top) + $uI(this.Y$1.apply__I__O(role.index$1)))) }); var $d_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$ = new $TypeData().initClass({ Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$: 0 }, false, "hypersubs.gui.SquadShape$CoordsOfRole$Bench$", { Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$: 1, O: 1 }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$.prototype.$classData = $d_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$; var $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$ = (void 0); function $m_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$() { if ((!$n_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$)) { $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$ = new $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$().init___() }; return $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$ } /** @constructor */ function $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$() { $c_O.call(this); this.X$1 = null; this.Y$1 = null } $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$.prototype = new $h_O(); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$.prototype.constructor = $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$; /** @constructor */ function $h_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$() { /*<skip>*/ } $h_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$.prototype = $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$.prototype; $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$.prototype.init___ = (function() { $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$ = this; this.X$1 = $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([7, 74, 7, 74, 7, 74, 7, 74, 7, 74]))); this.Y$1 = $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([5, 53, 101, 149, 197, 245, 293, 341, 389, 437]))); return this }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$.prototype.coords__Lhypersubs_hsubs_package$InLimbo__Z__Lhypersubs_package$Coords = (function(role, absolute) { var offsetX = $uI(this.X$1.apply__I__O(role.index$1)); var offsetY = $uI(this.Y$1.apply__I__O(role.index$1)); return new $c_Lhypersubs_package$Coords().init___D__D((offsetX + this.outerX$1__p1__Lhypersubs_hsubs_package$InLimbo__Z__D(role, absolute)), (offsetY + this.outerY$1__p1__Lhypersubs_hsubs_package$InLimbo__Z__D(role, absolute))) }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$.prototype.outerX$1__p1__Lhypersubs_hsubs_package$InLimbo__Z__D = (function(role$1, absolute$1) { if (absolute$1) { var jsx$5 = $uD((0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-squad").position().left); var jsx$4 = $m_Lorg_querki_jquery_package$().$$$1; var a = (("#hypersubs-squad .hypersubs-selector[position='" + role$1.position$1.name$1) + "']"); var jsx$3 = jsx$4(a); var jsx$2 = jsx$3.position(); var jsx$1 = jsx$2.left; return (jsx$5 + $uD(jsx$1)) } else { return 0.0 } }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$.prototype.outerY$1__p1__Lhypersubs_hsubs_package$InLimbo__Z__D = (function(role$1, absolute$1) { if (absolute$1) { var jsx$5 = $uD((0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-squad").position().top); var jsx$4 = $m_Lorg_querki_jquery_package$().$$$1; var a = (("#hypersubs-squad .hypersubs-selector[position='" + role$1.position$1.name$1) + "']"); var jsx$3 = jsx$4(a); var jsx$2 = jsx$3.position(); var jsx$1 = jsx$2.top; return (jsx$5 + $uD(jsx$1)) } else { return 0.0 } }); var $d_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$ = new $TypeData().initClass({ Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$: 0 }, false, "hypersubs.gui.SquadShape$CoordsOfRole$Limbo$", { Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$: 1, O: 1 }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$.prototype.$classData = $d_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$; var $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$ = (void 0); function $m_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$() { if ((!$n_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$)) { $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$ = new $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$().init___() }; return $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$ } /** @constructor */ function $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$() { $c_O.call(this); this.X$1 = null; this.Y$1 = null } $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$.prototype = new $h_O(); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$.prototype.constructor = $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$; /** @constructor */ function $h_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$() { /*<skip>*/ } $h_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$.prototype = $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$.prototype; $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$.prototype.init___ = (function() { $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$ = this; var self = $m_Lhypersubs_GK$(); var y = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([10])))])); var jsx$4 = new $c_T2().init___O__O(self, y); var self$1 = $m_Lhypersubs_FB$(); var y$1 = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([205, 205])))])); var jsx$3 = new $c_T2().init___O__O(self$1, y$1); var self$2 = $m_Lhypersubs_CB$(); var y$2 = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([120, 120, 120]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([140, 140])))])); var jsx$2 = new $c_T2().init___O__O(self$2, y$2); var self$3 = $m_Lhypersubs_MF$(); var y$3 = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([372, 305, 305, 372, 372]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([350, 305, 305, 350]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([325, 325, 325])))])); var jsx$1 = new $c_T2().init___O__O(self$3, y$3); var self$4 = $m_Lhypersubs_ST$(); var y$4 = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([457, 487, 457]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([467, 467]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([477])))])); var array = [jsx$4, jsx$3, jsx$2, jsx$1, new $c_T2().init___O__O(self$4, y$4)]; var this$12 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$12.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; this.X$1 = $as_sci_Map(this$12.elems$1); var self$5 = $m_Lhypersubs_GK$(); var y$5 = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([106])))])); var jsx$8 = new $c_T2().init___O__O(self$5, y$5); var self$6 = $m_Lhypersubs_FB$(); var y$6 = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([6, 206])))])); var jsx$7 = new $c_T2().init___O__O(self$6, y$6); var self$7 = $m_Lhypersubs_CB$(); var y$7 = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([31, 106, 181]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([66, 146])))])); var jsx$6 = new $c_T2().init___O__O(self$7, y$7); var self$8 = $m_Lhypersubs_MF$(); var y$8 = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([6, 56, 156, 206, 106]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([4, 68, 144, 208]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([26, 106, 186])))])); var jsx$5 = new $c_T2().init___O__O(self$8, y$8); var self$9 = $m_Lhypersubs_ST$(); var y$9 = $m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([16, 106, 196]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([66, 146]))), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([106])))])); var array$1 = [jsx$8, jsx$7, jsx$6, jsx$5, new $c_T2().init___O__O(self$9, y$9)]; var this$24 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i$1 = 0; var len$1 = $uI(array$1.length); while ((i$1 < len$1)) { var index$1 = i$1; var arg1$1 = array$1[index$1]; this$24.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1$1)); i$1 = ((1 + i$1) | 0) }; this.Y$1 = $as_sci_Map(this$24.elems$1); return this }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$.prototype.coords__Lhypersubs_hsubs_package$InTheTeam__Z__Lhypersubs_package$Coords = (function(role, absolute) { var baseX = $uD((0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-team").position().left); var baseY = $uD((0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-team").position().top); var position = role.position$1; var XCoords = $as_sc_Seq(this.X$1.apply__O__O(position)); var YCoords = $as_sc_Seq(this.Y$1.apply__O__O(position)); var a = role.of$1; var b = position.min$1; var assumedTotalInPosition = ((a > b) ? a : b); var teamShapeIndex = ((position.max$1 - assumedTotalInPosition) | 0); return new $c_Lhypersubs_package$Coords().init___D__D((baseX + $uI($as_sc_SeqLike(XCoords.apply__I__O(teamShapeIndex)).apply__I__O(role.index$1))), (baseY + $uI($as_sc_SeqLike(YCoords.apply__I__O(teamShapeIndex)).apply__I__O(role.index$1)))) }); var $d_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$ = new $TypeData().initClass({ Lhypersubs_gui_SquadShape$CoordsOfRole$Team$: 0 }, false, "hypersubs.gui.SquadShape$CoordsOfRole$Team$", { Lhypersubs_gui_SquadShape$CoordsOfRole$Team$: 1, O: 1 }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$.prototype.$classData = $d_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$; var $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$ = (void 0); function $m_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$() { if ((!$n_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$)) { $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$ = new $c_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$().init___() }; return $n_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$ } /** @constructor */ function $c_Lhypersubs_gui_SqueezableName() { $c_O.call(this); this.firstNames$1 = null; this.lastNames$1 = null; this.isPureInitialism$1 = false } $c_Lhypersubs_gui_SqueezableName.prototype = new $h_O(); $c_Lhypersubs_gui_SqueezableName.prototype.constructor = $c_Lhypersubs_gui_SqueezableName; /** @constructor */ function $h_Lhypersubs_gui_SqueezableName() { /*<skip>*/ } $h_Lhypersubs_gui_SqueezableName.prototype = $c_Lhypersubs_gui_SqueezableName.prototype; $c_Lhypersubs_gui_SqueezableName.prototype.allToInitials__Lhypersubs_gui_SqueezableName = (function() { var jsx$6 = this.firstNames$1; var jsx$5 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(name$2) { var name = $as_T(name$2); return $m_Lhypersubs_gui_SqueezableName$().hypersubs$gui$SqueezableName$$toInitialsTotal__T__T(name) })); var this$1 = $m_sc_Seq$(); var jsx$4 = $as_sc_TraversableLike(jsx$6.map__F1__scg_CanBuildFrom__O(jsx$5, this$1.ReusableCBFInstance$2)); var jsx$3 = this.lastNames$1; var jsx$2 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(name$2$1) { var name$1 = $as_T(name$2$1); return $m_Lhypersubs_gui_SqueezableName$().hypersubs$gui$SqueezableName$$toInitialsTotal__T__T(name$1) })); var this$2 = $m_sc_Seq$(); var jsx$1 = $as_sc_GenTraversableOnce(jsx$3.map__F1__scg_CanBuildFrom__O(jsx$2, this$2.ReusableCBFInstance$2)); var this$3 = $m_sc_Seq$(); var initials = $as_sc_Seq(jsx$4.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$1, this$3.ReusableCBFInstance$2)); $m_sc_Seq$(); $m_sci_Seq$(); var this$6 = new $c_scm_ListBuffer().init___(); return new $c_Lhypersubs_gui_SqueezableName().init___sc_Seq__sc_Seq__Z(this$6.toList__sci_List(), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([initials.mkString__T()]))), true) }); $c_Lhypersubs_gui_SqueezableName.prototype.toString__T = (function() { return ((this.firstNames$1.mkString__T__T(" ") + " / ") + this.lastNames$1.mkString__T__T(" ")) }); $c_Lhypersubs_gui_SqueezableName.prototype.firstNamesToInitials__Lhypersubs_gui_SqueezableName = (function() { var jsx$2 = this.firstNames$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(name$2) { var name = $as_T(name$2); return $m_Lhypersubs_gui_SqueezableName$().hypersubs$gui$SqueezableName$$toInitialsDotted__T__T(name) })); var this$1 = $m_sc_Seq$(); return new $c_Lhypersubs_gui_SqueezableName().init___sc_Seq__sc_Seq__Z($as_sc_Seq(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)), this.lastNames$1, this.isPureInitialism$1) }); $c_Lhypersubs_gui_SqueezableName.prototype.fullNameString__T = (function() { var jsx$2 = this.firstNames$1; var jsx$1 = this.lastNames$1; var this$1 = $m_sc_Seq$(); var combined = $as_sc_TraversableOnce(jsx$2.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).mkString__T__T(" "); return (this.isPureInitialism$1 ? combined : $m_sjsr_RuntimeString$().replaceAll__T__T__T__T(combined, "-", "- ")) }); $c_Lhypersubs_gui_SqueezableName.prototype.init___sc_Seq__sc_Seq__Z = (function(firstNames, lastNames, isPureInitialism) { this.firstNames$1 = firstNames; this.lastNames$1 = lastNames; this.isPureInitialism$1 = isPureInitialism; return this }); function $is_Lhypersubs_gui_SqueezableName(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_SqueezableName))) } function $as_Lhypersubs_gui_SqueezableName(obj) { return (($is_Lhypersubs_gui_SqueezableName(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.SqueezableName")) } function $isArrayOf_Lhypersubs_gui_SqueezableName(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_SqueezableName))) } function $asArrayOf_Lhypersubs_gui_SqueezableName(obj, depth) { return (($isArrayOf_Lhypersubs_gui_SqueezableName(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.SqueezableName;", depth)) } var $d_Lhypersubs_gui_SqueezableName = new $TypeData().initClass({ Lhypersubs_gui_SqueezableName: 0 }, false, "hypersubs.gui.SqueezableName", { Lhypersubs_gui_SqueezableName: 1, O: 1 }); $c_Lhypersubs_gui_SqueezableName.prototype.$classData = $d_Lhypersubs_gui_SqueezableName; /** @constructor */ function $c_Lhypersubs_gui_SqueezableName$() { $c_O.call(this); this.Cache$1 = null; this.VonTypeWords$1 = null } $c_Lhypersubs_gui_SqueezableName$.prototype = new $h_O(); $c_Lhypersubs_gui_SqueezableName$.prototype.constructor = $c_Lhypersubs_gui_SqueezableName$; /** @constructor */ function $h_Lhypersubs_gui_SqueezableName$() { /*<skip>*/ } $h_Lhypersubs_gui_SqueezableName$.prototype = $c_Lhypersubs_gui_SqueezableName$.prototype; $c_Lhypersubs_gui_SqueezableName$.prototype.init___ = (function() { $n_Lhypersubs_gui_SqueezableName$ = this; this.Cache$1 = $as_scm_Map($m_scm_Map$().apply__sc_Seq__sc_GenMap($m_sci_Nil$())); this.VonTypeWords$1 = $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["de", "da", "di", "do", "das", "dos", "st.", "of", "ben", "bin", "von", "af", "dalla", "al", "el", "auf", "der", "die", "das", "des", "du", "van", "boa", "vaz"]))); return this }); $c_Lhypersubs_gui_SqueezableName$.prototype.hypersubs$gui$SqueezableName$$startsLastName__T__Z = (function(word) { var this$2 = new $c_sci_StringOps().init___T(word); var c = $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this$2); if ((c === null)) { var c$1 = 0 } else { var this$4 = $as_jl_Character(c); var c$1 = this$4.value$1 }; var this$7 = $m_jl_Character$(); if ((!this$7.isUpperCase__I__Z(c$1))) { return true } else { return this.VonTypeWords$1.contains__O__Z($as_T(word.toLowerCase())) } }); $c_Lhypersubs_gui_SqueezableName$.prototype.separateNames__p1__sc_Seq__T2 = (function(names) { if ((names.size__I() < 2)) { $m_sc_Seq$(); $m_sci_Seq$(); var this$3 = new $c_scm_ListBuffer().init___(); return new $c_T2().init___O__O(this$3.toList__sci_List(), names) } else { var x1 = $as_sc_TraversableLike($as_sc_TraversableLike(names.tail__O()).init__O()).span__F1__T2(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(word$2) { var word = $as_T(word$2); return (!$m_Lhypersubs_gui_SqueezableName$().hypersubs$gui$SqueezableName$$startsLastName__T__Z(word)) }))); if ((x1 !== null)) { var preVon = $as_sc_Seq(x1.$$und1__O()); var vonOnwards = $as_sc_Seq(x1.$$und2__O()); var x$3_$_$$und1$f = preVon; var x$3_$_$$und2$f = vonOnwards } else { var x$3_$_$$und1$f; var x$3_$_$$und2$f; throw new $c_s_MatchError().init___O(x1) }; var preVon$2 = $as_sc_Seq(x$3_$_$$und1$f); var vonOnwards$2 = $as_sc_Seq(x$3_$_$$und2$f); var x$4 = $as_T(names.head__O()); var this$4 = $m_sc_Seq$(); var jsx$2 = preVon$2.$$plus$colon__O__scg_CanBuildFrom__O(x$4, this$4.ReusableCBFInstance$2); var jsx$1 = names.last__O(); var this$5 = $m_sc_Seq$(); return new $c_T2().init___O__O(jsx$2, vonOnwards$2.$$colon$plus__O__scg_CanBuildFrom__O(jsx$1, this$5.ReusableCBFInstance$2)) } }); $c_Lhypersubs_gui_SqueezableName$.prototype.hypersubs$gui$SqueezableName$$toInitialsDotted__T__T = (function(name) { var this$2 = new $c_sci_StringOps().init___T(name); var c = $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this$2); if ((c === null)) { var c$1 = 0 } else { var this$4 = $as_jl_Character(c); var c$1 = this$4.value$1 }; return (new $c_jl_Character().init___C(c$1) + ".") }); $c_Lhypersubs_gui_SqueezableName$.prototype.fromString__T__Lhypersubs_gui_SqueezableName = (function(nameData) { var elem$1 = null; elem$1 = null; var elem$1$1 = 0; elem$1$1 = 0; var nameString = $as_T(nameData.trim()); var this$4 = this.Cache$1; var x1 = this$4.get__O__s_Option(nameString); if ($is_s_Some(x1)) { var x2 = $as_s_Some(x1); var v = x2.x$2; var jsx$1 = v } else { var x = $m_s_None$(); if ((x === x1)) { var this$5 = $m_Lhypersubs_gui_SqueezableName$(); if (((1 & elem$1$1) === 0)) { if (((1 & elem$1$1) === 0)) { var xs = $m_sjsr_RuntimeString$().split__T__T__I__AT(nameString, "\\s+", 0); var x1$1 = this$5.separateNames__p1__sc_Seq__T2(new $c_scm_WrappedArray$ofRef().init___AO(xs)); if ((x1$1 !== null)) { var firsts = $as_sc_Seq(x1$1.$$und1__O()); var lasts = $as_sc_Seq(x1$1.$$und2__O()); var x$5_$_$$und1$f = firsts; var x$5_$_$$und2$f = lasts } else { var x$5_$_$$und1$f; var x$5_$_$$und2$f; throw new $c_s_MatchError().init___O(x1$1) }; var firsts$2 = $as_sc_Seq(x$5_$_$$und1$f); var lasts$2 = $as_sc_Seq(x$5_$_$$und2$f); elem$1 = new $c_Lhypersubs_gui_SqueezableName().init___sc_Seq__sc_Seq__Z(firsts$2, lasts$2, false); elem$1$1 = (1 | elem$1$1) }; var d = $as_Lhypersubs_gui_SqueezableName(elem$1) } else { var d = $as_Lhypersubs_gui_SqueezableName(elem$1) }; this$4.update__O__O__V(nameString, d); var jsx$1 = d } else { var jsx$1; throw new $c_s_MatchError().init___O(x1) } }; return $as_Lhypersubs_gui_SqueezableName(jsx$1) }); $c_Lhypersubs_gui_SqueezableName$.prototype.hypersubs$gui$SqueezableName$$toInitialsTotal__T__T = (function(name) { var this$2 = new $c_sci_StringOps().init___T(name); var c = $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this$2); if ((c === null)) { var c$1 = 0 } else { var this$4 = $as_jl_Character(c); var c$1 = this$4.value$1 }; var jsx$3 = new $c_jl_Character().init___C(c$1); var this$8 = new $c_sci_StringOps().init___T(name); var x = $as_T($s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O(this$8)); var this$10 = new $c_sci_StringOps().init___T(x); var b = new $c_scm_StringBuilder().init___(); var i = 0; var $$this$1 = this$10.repr$1; var len = $uI($$this$1.length); while ((i < len)) { var arg1 = this$10.apply__I__O(i); if ((arg1 === null)) { var x$1 = 0 } else { var this$16 = $as_jl_Character(arg1); var x$1 = this$16.value$1 }; if (((x$1 === 46) !== true)) { if ((arg1 === null)) { var jsx$1 = 0 } else { var this$18 = $as_jl_Character(arg1); var jsx$1 = this$18.value$1 }; b.$$plus$eq__C__scm_StringBuilder(jsx$1) }; i = ((1 + i) | 0) }; var this$19 = b.underlying$5; var x$2 = this$19.content$1; var this$21 = new $c_sci_StringOps().init___T(x$2); var b$1 = new $c_scm_StringBuilder().init___(); var i$1 = 0; var $$this$3 = this$21.repr$1; var len$1 = $uI($$this$3.length); while ((i$1 < len$1)) { var arg1$1 = this$21.apply__I__O(i$1); if ((arg1$1 === null)) { var x$2$1 = 0 } else { var this$27 = $as_jl_Character(arg1$1); var x$2$1 = this$27.value$1 }; var this$30 = $m_jl_Character$(); if ((this$30.isLowerCase__I__Z(x$2$1) !== true)) { if ((arg1$1 === null)) { var jsx$2 = 0 } else { var this$32 = $as_jl_Character(arg1$1); var jsx$2 = this$32.value$1 }; b$1.$$plus$eq__C__scm_StringBuilder(jsx$2) }; i$1 = ((1 + i$1) | 0) }; var this$33 = b$1.underlying$5; return (("" + jsx$3) + this$33.content$1) }); var $d_Lhypersubs_gui_SqueezableName$ = new $TypeData().initClass({ Lhypersubs_gui_SqueezableName$: 0 }, false, "hypersubs.gui.SqueezableName$", { Lhypersubs_gui_SqueezableName$: 1, O: 1 }); $c_Lhypersubs_gui_SqueezableName$.prototype.$classData = $d_Lhypersubs_gui_SqueezableName$; var $n_Lhypersubs_gui_SqueezableName$ = (void 0); function $m_Lhypersubs_gui_SqueezableName$() { if ((!$n_Lhypersubs_gui_SqueezableName$)) { $n_Lhypersubs_gui_SqueezableName$ = new $c_Lhypersubs_gui_SqueezableName$().init___() }; return $n_Lhypersubs_gui_SqueezableName$ } /** @constructor */ function $c_Lhypersubs_gui_package$() { $c_O.call(this); this.ThemePath$1 = null; this.HypersubsDialogCSS$1 = null; this.HypersubsHTML$1 = null } $c_Lhypersubs_gui_package$.prototype = new $h_O(); $c_Lhypersubs_gui_package$.prototype.constructor = $c_Lhypersubs_gui_package$; /** @constructor */ function $h_Lhypersubs_gui_package$() { /*<skip>*/ } $h_Lhypersubs_gui_package$.prototype = $c_Lhypersubs_gui_package$.prototype; $c_Lhypersubs_gui_package$.prototype.init___ = (function() { $n_Lhypersubs_gui_package$ = this; this.ThemePath$1 = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/le-frog"; var x = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".hypersubs-dialog { font-size: 13px; position: absolute; color: white; }\n |.hypersubs-dialog p { margin: 9px 0px 3px 0px; }\n |.hypersubs-dialog ul { margin: 1px; }\n |.hypersubs-dialog ul li { margin: 3px 5px 3px 20px; }\n |.hypersubs-dialog h2 { color: white; margin-top: 15px; font-size: 19px; }\n |.hypersubs-dialog h3 { color: white; margin-top: 15px; font-size: 18px; }\n |.hypersubs-dialog em { color: yellow; }\n |.hypersubs-dialog .button-name { }\n |.hypersubs-dialog .question { color: #dddddd; font-weight: bold; text-decoration: underline; }\n |.cantselect { -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; cursor: default; }\n |"])).raw__sc_Seq__T($m_sci_Nil$()); var this$2 = new $c_sci_StringOps().init___T(x); var General = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$2, 124); var x$1 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-main-dialog { font-size: 13px; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; }\n |#hypersubs-content { position: absolute; top: 0px; left: 0px; width: 800px; height: 630px; font-size: 13px; color: black; }\n |#hypersubs-team-and-bench { position: absolute; top: 0px; left: 0px; height: 325px; width: 855px; overflow: auto; }\n |#hypersubs-squad { position: absolute; top: 300px; left: 0px; width: 880px; height: 320px; }\n |#hypersubs-team { position: absolute; top: 20px; left: 235px; width: 600px; height: 281px; border: 2px solid #f2f2f2; }\n |#hypersubs-bench { position: absolute; top: 30px; left: 45px; border-radius: 5px; width: 145px; height: 260px; text-align: center; }\n |#hypersubs-selector-container { position: absolute; top: 30px; width: 860px; height: 300px; overflow: auto; }\n |#hypersubs-selector-container .hypersubs-selector { position: relative; float: left; top: 0px; left: 10px; width: 145px; min-height: 290px; background-color: #3A8104; border-radius: 0px; padding: 5px; }\n |#hypersubs-right-column { position: absolute; top: 22px; left: 861px; width: 25px; height: 608px; }\n |"])).raw__sc_Seq__T($m_sci_Nil$()); var this$4 = new $c_sci_StringOps().init___T(x$1); var MainDialogBigDivs = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$4, 124); var x$2 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-content .hypersubs-player { position: absolute; width: 70px; height: 70px; border-radius: 50%; cursor: default; text-align: center;}\n |#hypersubs-content .hypersubs-player .topBit { position: absolute; width: 70px; height: 15px; overflow: hidden; color: #444444; }\n |#hypersubs-content .hypersubs-player .club { font-size: 10px; margin-right: 3px; }\n |#hypersubs-content .hypersubs-player .position { font-size: 10px; font-weight: 900; }\n |#hypersubs-content .hypersubs-player .middleBit { position: absolute; height: "])).raw__sc_Seq__T($m_sci_Nil$()); var this$6 = new $c_sci_StringOps().init___T(x$2); var jsx$8 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$6, 124); var jsx$7 = $m_Lhypersubs_gui_NameBoxMetrics$().NameMaxHeight$1; var jsx$6 = $m_Lhypersubs_gui_NameBoxMetrics$().NameMaxWidth$1; var x$3 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["px; top: 16px; margin: 0px; padding: 0px; }\n |#hypersubs-content .hypersubs-player .name { position: absolute; left: 0px; top: 50%; height: "])).raw__sc_Seq__T($m_sci_Nil$()); var this$8 = new $c_sci_StringOps().init___T(x$3); var jsx$5 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$8, 124); var jsx$4 = $m_Lhypersubs_gui_NameBoxMetrics$().NameMaxHeight$1; var jsx$3 = $m_Lhypersubs_gui_NameBoxMetrics$().NameMaxWidth$1; var x$4 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["px; overflow: visible; }\n |#hypersubs-content .hypersubs-player .lowerBit { position: absolute; width: 70px; top: 48px; height: 16px; overflow: hidden; }\n |#hypersubs-content .hypersubs-player .vs { font-size: 9px; margin-right: 1px; }\n |#hypersubs-content .hypersubs-player .opponent { font-size: 12px; }\n |#hypersubs-content .hypersubs-player .inactive { font-size: 12px; }\n |#hypersubs-content .hypersubs-player .status { position: absolute; bottom: 3px; right: 1px; overflow: hidden; width: 16px; height: 16px; background: url("])).raw__sc_Seq__T($m_sci_Nil$()); var this$10 = new $c_sci_StringOps().init___T(x$4); var jsx$2 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$10, 124); var jsx$1 = $m_Lhypersubs_gui_package$InjuryIcons$().Tweaked$1; var x$5 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([") no-repeat 0 0 }\n |.hypersubs-player-hover { border: 2px solid #333333 !important; cursor: pointer !important; }\n |.hypersubs-player-name-test { position: fixed; visibility: hidden; text-align: center }\n |#hypersubs-player-name-height-test { top: 100px; left: 300px; height: auto; }\n |#hypersubs-player-name-width-test { top: 100px; left: 600px; height: auto; width: auto; }\n |"])).raw__sc_Seq__T($m_sci_Nil$()); var this$12 = new $c_sci_StringOps().init___T(x$5); var PlayerCircles = ((((((((((("" + jsx$8) + jsx$7) + "px; left: 4px; width: ") + jsx$6) + jsx$5) + jsx$4) + "px; width: ") + jsx$3) + jsx$2) + jsx$1) + $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$12, 124)); var x$6 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-flange-counter { position: absolute; width: 18px; height: auto; bottom: 3px; left: 2px; }\n |#hypersubs-flange-counter .hypersubs-flange { position: relative; float: left; width: 15px; height: 15px; margin: 2px; padding: 1px; font-size: 11px; border-radius: 3px; text-align: center; overflow: hidden; }\n |#hypersubs-flange-counter .hypersubs-flange-current { margin: 1px; border: 1px solid red; }\n |#hypersubs-flange-counter .hypersubs-flange-skipped { margin: 1px; border: 1px solid rgba(115,153,92,1); }\n |#hypersubs-flange-counter .hypersubs-flange-reviewed { background-color: rgba(115,153,92,1); }\n |#hypersubs-flange-counter .hypersubs-flange-danger { color: red; }\n |"])).raw__sc_Seq__T($m_sci_Nil$()); var this$14 = new $c_sci_StringOps().init___T(x$6); var FlangeCounter = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$14, 124); var x$7 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".hypersubs-tooltip-invisible { opacity: 0; }\n |.hypersubs-tooltip-visible { z-index: "])).raw__sc_Seq__T($m_sci_Nil$()); var this$16 = new $c_sci_StringOps().init___T(x$7); var jsx$12 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$16, 124); var jsx$11 = $m_Lhypersubs_gui_package$Z$().Tooltip$1; var x$8 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["; transition: opacity 0.1s linear 1.0s; -moz-transition: opacity 0.1s linear 1.0s; \n | -webkit-transition: opacity 0.1s linear 1.0s; font-family: Candara, Tahoma, Geneva, sans-serif; font-size: 12px; \n | padding: 5px; position: fixed; opacity: 0.9; background-color: #9FDAEE; color: black; text-align: left; \n | border: 1px dotted blue; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); }\n |#hypersubs-player-tooltip .explanation { border-top-right-radius: 7px; border-bottom-right-radius: 7px; border-bottom-left-radius: 7px; }\n |#hypersubs-player-tooltip .name { min-width: 250px; text-align: center; text-decoration: underline; font-size: 14px; margin-bottom: 2px;}\n |#hypersubs-player-tooltip .shirtPic { position:relative; float:left; margin-right: 2px;}\n |#hypersubs-player-tooltip .clubAndPos { }\n |#hypersubs-player-tooltip .opponent { }\n |#hypersubs-player-tooltip .status { }\n |#hypersubs-player-tooltip .color { }\n |#hypersubs-flange-tooltip .explanation { text-align: center; border-top-left-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; }\n |#hypersubs-undo-hint { position: fixed; font-size: 14px; font-family: Candara, Tahoma, Geneva, sans-serif; border: 1px dotted black; \n | background-color: yellow; color: black; padding: 5px; z-index: "])).raw__sc_Seq__T($m_sci_Nil$()); var this$18 = new $c_sci_StringOps().init___T(x$8); var jsx$10 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$18, 124); var jsx$9 = $m_Lhypersubs_gui_package$Z$().UndoHint$1; var x$9 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["; border-top-right-radius: 7px; \n | border-bottom-right-radius: 7px; border-bottom-left-radius: 7px; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); \n | -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); height: auto; width: 255px; opacity: 0.0;}\n |"])).raw__sc_Seq__T($m_sci_Nil$()); var this$20 = new $c_sci_StringOps().init___T(x$9); var Tooltips = ((((("" + jsx$12) + jsx$11) + jsx$10) + jsx$9) + $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$20, 124)); var x$10 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-help-button { position: absolute; left: 1px; top: 2px; width: 20px; height: 20px; }\n |.hypersubs-secondary-dialog { font-size: 14px; font-family: Candara, Tahoma, Geneva, sans-serif; }\n |"])).raw__sc_Seq__T($m_sci_Nil$()); var this$22 = new $c_sci_StringOps().init___T(x$10); var Help = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$22, 124); var x$11 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-preferences-dialog { }\n |.hypersubs-setting-item { padding: 3px; }\n |.hypersubs-textfield { width: 260px; }\n |"])).raw__sc_Seq__T($m_sci_Nil$()); var this$24 = new $c_sci_StringOps().init___T(x$11); var SettingsDialog = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$24, 124); var x$12 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".hypersubs-vertical { transform: rotate(270deg); -webkit-transform: rotate(270deg); -moz-transform: rotate(270deg); }\n |.hypersubs-title { font-size: 18px; color: yellow; letter-spacing: 1px; }\n |#hypersubs-title-bench { position: absolute; top: 120px; left: -120px; width: 200px; height: 20px; color: yellow; }\n |#hypersubs-title-team { position: absolute; top: 65px; left: -117px; width: 200px; height: 20px; color: yellow; }\n |.hypersubs-advice { position: absolute; font-size: 13px; color: yellow; text-align: center; height: 20px; top: 13px; }\n |#hypersubs-advice-gk { left: 15px; width: 145px; }\n |#hypersubs-advice-fb { left: 195px; width: 145px; }\n |#hypersubs-advice-cb { left: 375px; width: 145px; }\n |#hypersubs-advice-mf { left: 375px; width: 465px; }\n |#hypersubs-advice-st { left: 695px; width: 145px; }\n |"])).raw__sc_Seq__T($m_sci_Nil$()); var this$26 = new $c_sci_StringOps().init___T(x$12); var LabelsAndAdvice = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$26, 124); this.HypersubsDialogCSS$1 = (((((((("" + General) + MainDialogBigDivs) + PlayerCircles) + FlangeCounter) + Tooltips) + Help) + SettingsDialog) + LabelsAndAdvice); var x$13 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div id='hypersubs-main-dialog'>\n | <div id='hypersubs-player-tooltip'><div class='explanation hypersubs-tooltip-invisible'></div></div>\n | <div id='hypersubs-flange-tooltip'><div class='explanation hypersubs-tooltip-invisible'></div></div>\n | <div id='hypersubs-content' class='cantselect'>\n | <div id='hypersubs-player-name-height-test' class='hypersubs-player-name-test'></div>\n | <div id='hypersubs-player-name-width-test' class='hypersubs-player-name-test'></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-1'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-2'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-3'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-4'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-5'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-6'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-7'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-8'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-9'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-10'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-11'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-12'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-13'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-14'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-15'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div class='hypersubs-player cantselect' id='hypersubs-player-number-16'><div class='topBit'><span class='club'></span><span class='position'></span></div><div class='middleBit'><span class='name'></span></div><div class='lowerBit'></div><div class='status'></div></div>\n | <div id='hypersubs-squad' class='cantselect'>\n | <div id='hypersubs-advice-gk' class='hypersubs-advice cantselect'></div>\n | <div id='hypersubs-advice-fb' class='hypersubs-advice cantselect'></div>\n | <div id='hypersubs-advice-cb' class='hypersubs-advice cantselect'></div>\n | <div id='hypersubs-advice-mf' class='hypersubs-advice cantselect'></div>\n | <div id='hypersubs-advice-st' class='hypersubs-advice cantselect'></div>\n | <div id='hypersubs-selector-container' class='cantselect'>\n | <div class='hypersubs-selector cantselect' position='GK' style='margin-right: 22px'></div>\n | <div class='hypersubs-selector cantselect' position='FB' style='margin-right: 22px'></div>\n | <div class='hypersubs-selector cantselect' position='CB' style='margin-right: 5px'></div>\n | <div class='hypersubs-selector cantselect' position='MF' style='margin-right: 5px'></div>\n | <div class='hypersubs-selector cantselect' position='ST'></div>\n | </div>\n | </div>\n | <div id='hypersubs-team-and-bench' class='cantselect'>\n | <div id='hypersubs-team' class='cantselect'><div id='hypersubs-title-team' class='hypersubs-title hypersubs-vertical'>The pitch</div></div>\n | <div id='hypersubs-bench' class='cantselect'><div id='hypersubs-title-bench' class='hypersubs-title hypersubs-vertical'>The bench</div></div>\n | </div>\n | </div>\n | <div id='hypersubs-right-column' class='cantselect'>\n | <div id='hypersubs-help-button'></div>\n | <div id='hypersubs-flange-counter'></div>\n | </div>\n |</div>\n |<div id='hypersubs-undo-hint'>Use the buttons below to start over if you want to undo any selections or change how Hypersubs automatically selects players. Or click the question mark in the top right-hand corner for more help.</div>\n |<div id='hypersubs-preferences-dialog' class='hypersubs-secondary-dialog'>\n | <div id='hypersubs-setting-animate' title='If checked, players smoothly slide into position when selected/benched.' class='hypersubs-setting-item'>\n | <input type='checkbox'/> Animate selections\n | </div>\n | <div id='hypersubs-setting-smartfill' title='If checked, Hypersubs will automatically Smartfill your team whenever you start Hypersubs or click Next. If unchecked, Smartfill will be disabled instead.' class='hypersubs-setting-item'>\n | <input type='checkbox'/> Smartfill each new set of fixtures\n | </div>\n | <div id='hypersubs-setting-always-require-next' title=\"If you uncheck this box, the Hypersubs window won't even show fixtures that are so straightforward that all 11 players can be automatically selected (in which you would normally just click 'Next'). Hypersubs will only display those fixtures where you need to make choices. This makes setting your Hypersubs quicker.\" class='hypersubs-setting-item'>\n | <input type='checkbox'/> Always require me to click Next\n | </div>\n | <div id='hypersubs-setting-show-hypersubs-shortcuts' title='If checked, direct links to the Supersubs/Hypersubs page appear in the Your Teams section of the site.' class='hypersubs-setting-item'>\n | <input type='checkbox'/> Show shortcuts to Hypersubs\n | </div>\n | <div id='hypersubs-setting-prune-confirmation' title='If checked, the Supersubs confirmation page will list only players who have opponents. This should make it faster to confirm that everything is as you prefer.' class='hypersubs-setting-item'><input type='checkbox'/>\n | Hide inactive players on the confirmation page\n | </div>\n | <div id='hypersubs-setting-show-league-transfers' title=\"Bonus feature: If checked, each team's remaining transfers will be shown on league pages. (Only works if all team names in the league are unique, and only where you have the rights to access the League Report.)\" class='hypersubs-setting-item'>\n | <input type='checkbox'/> Show remaining transfers in leagues\n | </div>\n | <div id='hypersubs-setting-show-more-info-button' title='Bonus feature: If checked, a More Info button will appear in the Your Teams section of the site. The button allows you to conveniently access some pertinent information about each of your teams.' class='hypersubs-setting-item'>\n | <input type='checkbox'/> Show More Info button\n | </div>\n | <div id='hypersubs-setting-massage-his-ego' title=\"Bonus feature: If checked, Zlatan's name will be highlighted in team screens and in the Hypersubs window.\" class='hypersubs-setting-item'>\n | <input type='checkbox'/> Massage His ego\n | </div>\n | <div id='hypersubs-setting-strong-attacks' title=\"The clubs with the strongest attacks. A defender playing against these clubs will be highlighted as dangerous unless he plays for a club with a strong defense. (Dangerous players are not picked automatically except when there's no choice.) Use Fantasyleague.com's abbreviations. Separate with commas.\" class='hypersubs-setting-item'>\n | Clubs with a strong attack:<br/> <input type='text' class='hypersubs-textfield' />\n | </div>\n | <div id='hypersubs-setting-strong-defenses' title=\"The clubs with the strongest defenses. Players from these clubs are never highlighted as dangerous. (Dangerous players are not picked automatically except when there's no choice.) Use Fantasyleague.com's abbreviations. Separate with commas.\" class='hypersubs-setting-item'>\n | Clubs with a strong defense:<br/> <input type='text' class='hypersubs-textfield'/>\n | </div>\n |</div>\n |<div id='hypersubs-confirmation-dialog' class='hypersubs-secondary-dialog'>\n | <p>Really exit without saving any of your Hypersubs?</p><p>If you do, you can set your Supersubs normally or reload the page to start over from the first upcoming set of fixtures.</p> \n |</div>\n |<div id='hypersubs-help-dialog' class='hypersubs-secondary-dialog'>\n | <h2>Hypersubs "])).raw__sc_Seq__T($m_sci_Nil$()); var this$28 = new $c_sci_StringOps().init___T(x$13); var jsx$20 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$28, 124); var jsx$19 = $m_Lhypersubs_Hypersubs$().Version$1; var x$14 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([" Help</h2>\n | <h3>Instructions</h3><p>Click on players to pick them for your team. The <span class='button-name'>Reset</span> button lets you undo your selections. Click <span class='button-name'>Next</span> to move to the \n | next set of fixtures, and remember to click <span class='button-name'>Finish</span> to actually set your Supersubs on the Fantasy League site. Review your team on the site to make sure that everything went to plan.</p>\n | <p>If you have the \"Smartfill\" option enabled, Hypersubs will automatically pick players that seem like obvious selections (for instance, fielding active players rather than inactive ones). \n | Often, all the choices will be clear-cut, and all you have to do is accept what Smartfill suggests by clicking <span class='button-name'>Next</span>.</p> \n | <p>For greater manual control, click <span class='button-name'>Disable Smartfill</span>. (With Smartfill off, Hypersubs will automatically only truly trivial \"choices\" such as picking \"just anybody\" when everyone is idle.)</p> \n | <p>By default, Smartfill turns on each time you start working on a new set of fixtures. You can change this, and other things, through the <span class='button-name'>Preferences</span> button.</p>\n | <p>If you're wondering why a player has an unusual background color, hover the mouse over the player to find out.</p>\n | <h3>Frequently Asked Questions</h3>\n | <p><span class='question'>Hypersubs has selected a player who I want to leave on the bench. How do I unselect him?</span> Answer: You can disable Smartfill (see above). Or you can go to Preferences \n | and set the Strong Attacks and Strong Defenses to your liking so that the player will be highlighted as dangerous and won't be selected automatically. Or you can even hit \n | Cancel and set Supersubs in the traditional way, if you really want.</p>\n | <p><span class='question'>How do I go back to a previous set of fixtures?</span> Answer: Currently, the only way to do that is to close the Hypersubs window (e.g., with Cancel) and reload the page to start over.</p>\n | <p><span class='question'>Hypersubs works great, but clicking Next so many times seems unnecessary, don't you think?</span> Answer: You can unselect \"Always require me to click Next\" in the Preferences to speed up you Hypersubs even more. \n | If you do, make sure the Strong Attacks and Strong Defenses are to your liking and be extra sure to take a look at the confirmation page.</p>\n | <p><span class='question'>Isn't there any way of quickly telling if a player has a home or away fixture?</span> Answer: In the main Hypersubs view, capital letters indicate a home fixture for the player and lowercase letters indicate away an away fixture. (Also, the mouseover text spells out the fixtures.)</p>\n | <p><span class='question'>The bonus features are nice. Could you also add a feature that automatically updates my teams' points in real time during the weekend?</span> Answer: I won't, because Fantasy League want us to pay for that functionality with a Silver or Gold upgrade.</p>\n | <h3>Limitations and Disclaimers</h3>\n | <p>This version of Hypersubs is compatible with the Fantasyleague.com Classic Premier League competition as of "])).raw__sc_Seq__T($m_sci_Nil$()); var this$30 = new $c_sci_StringOps().init___T(x$14); var jsx$18 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$30, 124); var jsx$17 = $m_Lhypersubs_Hypersubs$().SiteCompatibilityCheckedDate$1; var x$15 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([". Other competitions are not supported.</p>\n | <p>Hypersubs relies on the existing structure of the Fantasy League web site. <em>It will stop working properly — possibly without any warning! — as soon as Fantasy League change how their Supersubs pages are structured.</em></p>\n | <p>Hypersubs only works in:</p>\n | <ul><li>Chrome v"])).raw__sc_Seq__T($m_sci_Nil$()); var this$32 = new $c_sci_StringOps().init___T(x$15); var jsx$16 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$32, 124); var jsx$15 = $m_Lhypersubs_Hypersubs$().ChromeThreshold$1; var x$16 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".0+ with the Tampermonkey extension, and</li><li>Firefox v"])).raw__sc_Seq__T($m_sci_Nil$()); var this$34 = new $c_sci_StringOps().init___T(x$16); var jsx$14 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$34, 124); var jsx$13 = $m_Lhypersubs_Hypersubs$().FirefoxThreshold$1; var x$17 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".0+ with the Greasemonkey extension.</li></ul>\n | <p>Use at your own risk. This program was written as an exercise to learn a few technologies. Again, be sure to check the Fantasy League site or their confirmation email to be certain that everything went right!</p>\n |</div>\";\n |"])).raw__sc_Seq__T($m_sci_Nil$()); var this$36 = new $c_sci_StringOps().init___T(x$17); this.HypersubsHTML$1 = ((((((((("" + jsx$20) + jsx$19) + jsx$18) + jsx$17) + jsx$16) + jsx$15) + jsx$14) + jsx$13) + $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$36, 124)); return this }); var $d_Lhypersubs_gui_package$ = new $TypeData().initClass({ Lhypersubs_gui_package$: 0 }, false, "hypersubs.gui.package$", { Lhypersubs_gui_package$: 1, O: 1 }); $c_Lhypersubs_gui_package$.prototype.$classData = $d_Lhypersubs_gui_package$; var $n_Lhypersubs_gui_package$ = (void 0); function $m_Lhypersubs_gui_package$() { if ((!$n_Lhypersubs_gui_package$)) { $n_Lhypersubs_gui_package$ = new $c_Lhypersubs_gui_package$().init___() }; return $n_Lhypersubs_gui_package$ } /** @constructor */ function $c_Lhypersubs_gui_package$GUI() { $c_O.call(this); this.mutableState$1 = null; this.mainDialog$1 = null } $c_Lhypersubs_gui_package$GUI.prototype = new $h_O(); $c_Lhypersubs_gui_package$GUI.prototype.constructor = $c_Lhypersubs_gui_package$GUI; /** @constructor */ function $h_Lhypersubs_gui_package$GUI() { /*<skip>*/ } $h_Lhypersubs_gui_package$GUI.prototype = $c_Lhypersubs_gui_package$GUI.prototype; $c_Lhypersubs_gui_package$GUI.prototype.init___Lhypersubs_page_Supersubs = (function(supersubs) { this.mutableState$1 = new $c_Lhypersubs_gui_package$GUIState$Mutable().init___Lhypersubs_page_Supersubs__Z__I__T__T__I__Lhypersubs_hsubs_Selection__Z(supersubs, false, 0, "", "", 0, null, false); var jsx$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)("head"); var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<link rel='stylesheet' href='", "/jquery-ui.css' type='text/css' />"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_package$().ThemePath$1])); jsx$1.append(a); var jsx$2 = (0, $m_Lorg_querki_jquery_package$().$$$1)("head"); var a$1 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<style type='text/css'>", "</style>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_package$().HypersubsDialogCSS$1])); jsx$2.append(a$1); var jsx$3 = (0, $m_Lorg_querki_jquery_package$().$$$1)("body"); var a$2 = $m_Lhypersubs_gui_package$().HypersubsHTML$1; jsx$3.append(a$2); this.mainDialog$1 = new $c_Lhypersubs_gui_MainDialog().init___Lhypersubs_gui_package$GUI(this); return this }); function $is_Lhypersubs_gui_package$GUI(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_package$GUI))) } function $as_Lhypersubs_gui_package$GUI(obj) { return (($is_Lhypersubs_gui_package$GUI(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.package$GUI")) } function $isArrayOf_Lhypersubs_gui_package$GUI(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_package$GUI))) } function $asArrayOf_Lhypersubs_gui_package$GUI(obj, depth) { return (($isArrayOf_Lhypersubs_gui_package$GUI(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.package$GUI;", depth)) } var $d_Lhypersubs_gui_package$GUI = new $TypeData().initClass({ Lhypersubs_gui_package$GUI: 0 }, false, "hypersubs.gui.package$GUI", { Lhypersubs_gui_package$GUI: 1, O: 1 }); $c_Lhypersubs_gui_package$GUI.prototype.$classData = $d_Lhypersubs_gui_package$GUI; /** @constructor */ function $c_Lhypersubs_gui_package$HSubsDialog() { $c_O.call(this); this.div$1 = null } $c_Lhypersubs_gui_package$HSubsDialog.prototype = new $h_O(); $c_Lhypersubs_gui_package$HSubsDialog.prototype.constructor = $c_Lhypersubs_gui_package$HSubsDialog; /** @constructor */ function $h_Lhypersubs_gui_package$HSubsDialog() { /*<skip>*/ } $h_Lhypersubs_gui_package$HSubsDialog.prototype = $c_Lhypersubs_gui_package$HSubsDialog.prototype; $c_Lhypersubs_gui_package$HSubsDialog.prototype.init___T__sjs_js_Object__Z = (function(selector, options, primary) { this.div$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)(selector); var jquery = this.div$1; jquery.dialog(options); $m_Lorg_querki_jquery_package$(); var jq = this.buttons__Lorg_querki_jquery_JQuery(); new $c_Lorg_querki_jquery_JQueryExtensions().init___Lorg_querki_jquery_JQuery(jq).foreach__F1__Lorg_querki_jquery_JQuery(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(button$2) { arg$outer.hypersubs$gui$HSubsDialog$$configureButton__Lorg_scalajs_dom_raw_Element__V(button$2) }) })(this))); if ((!primary)) { var jsx$1 = this.jQueryUIDialogWidget__p1__Lorg_querki_jquery_JQuery(); var this$8 = $m_Lhypersubs_gui_package$HSubsDialog$().SecondaryDialogOpacity$1; var a = ("" + this$8); jsx$1.css("opacity", a) }; return this }); $c_Lhypersubs_gui_package$HSubsDialog.prototype.buttons__Lorg_querki_jquery_JQuery = (function() { return this.jQueryUIDialogWidget__p1__Lorg_querki_jquery_JQuery().find(".ui-dialog-buttonpane button") }); $c_Lhypersubs_gui_package$HSubsDialog.prototype.hypersubs$gui$HSubsDialog$$configureButton__Lorg_scalajs_dom_raw_Element__V = (function(button) { var config = $as_Lhypersubs_gui_package$HSubsDialog$ButtonConfig(this.buttonConfig__sci_Map().apply__O__O($as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(button).text()))); var this$1 = config.icon$1; if ((!this$1.isEmpty__Z())) { var arg1 = this$1.get__O(); var pic = $as_T(arg1); var jquery = (0, $m_Lorg_querki_jquery_package$().$$$1)(button); var jsx$1 = $m_sjs_js_Dictionary$(); var y = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("primary", pic)])); jquery.button(jsx$1.apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("icons", y)]))) }; var jsx$2 = (0, $m_Lorg_querki_jquery_package$().$$$1)(button); var a = config.float$1; jsx$2.css("float", a); var jsx$3 = (0, $m_Lorg_querki_jquery_package$().$$$1)(button); var a$1 = config.tip$1; jsx$3.attr("title", a$1); (0, $m_Lorg_querki_jquery_package$().$$$1)(button).click($m_Lorg_querki_jquery_package$().f02EventHandler__F0__sjs_js_$bar(config.onClick$1)) }); $c_Lhypersubs_gui_package$HSubsDialog.prototype.close__Lorg_querki_jquery_JQuery = (function() { var jquery = this.div$1; return jquery.dialog("close") }); $c_Lhypersubs_gui_package$HSubsDialog.prototype.jQueryUIDialogWidget__p1__Lorg_querki_jquery_JQuery = (function() { var jquery = this.div$1; return jquery.dialog("widget") }); $c_Lhypersubs_gui_package$HSubsDialog.prototype.buttonSet__Lorg_querki_jquery_JQuery = (function() { return this.jQueryUIDialogWidget__p1__Lorg_querki_jquery_JQuery().find(".ui-dialog-buttonpane .ui-dialog-buttonset") }); $c_Lhypersubs_gui_package$HSubsDialog.prototype.open__Lorg_querki_jquery_JQuery = (function() { var jquery = this.div$1; return jquery.dialog("open") }); $c_Lhypersubs_gui_package$HSubsDialog.prototype.findButton__T__Lorg_querki_jquery_JQuery = (function(text) { var jsx$1 = this.jQueryUIDialogWidget__p1__Lorg_querki_jquery_JQuery(); var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".ui-dialog-buttonpane button:contains('", "')"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([text])); return jsx$1.find(a) }); /** @constructor */ function $c_Lhypersubs_gui_package$HSubsDialog$() { $c_O.call(this); this.SecondaryDialogOpacity$1 = 0.0 } $c_Lhypersubs_gui_package$HSubsDialog$.prototype = new $h_O(); $c_Lhypersubs_gui_package$HSubsDialog$.prototype.constructor = $c_Lhypersubs_gui_package$HSubsDialog$; /** @constructor */ function $h_Lhypersubs_gui_package$HSubsDialog$() { /*<skip>*/ } $h_Lhypersubs_gui_package$HSubsDialog$.prototype = $c_Lhypersubs_gui_package$HSubsDialog$.prototype; $c_Lhypersubs_gui_package$HSubsDialog$.prototype.init___ = (function() { this.SecondaryDialogOpacity$1 = 0.94; return this }); var $d_Lhypersubs_gui_package$HSubsDialog$ = new $TypeData().initClass({ Lhypersubs_gui_package$HSubsDialog$: 0 }, false, "hypersubs.gui.package$HSubsDialog$", { Lhypersubs_gui_package$HSubsDialog$: 1, O: 1 }); $c_Lhypersubs_gui_package$HSubsDialog$.prototype.$classData = $d_Lhypersubs_gui_package$HSubsDialog$; var $n_Lhypersubs_gui_package$HSubsDialog$ = (void 0); function $m_Lhypersubs_gui_package$HSubsDialog$() { if ((!$n_Lhypersubs_gui_package$HSubsDialog$)) { $n_Lhypersubs_gui_package$HSubsDialog$ = new $c_Lhypersubs_gui_package$HSubsDialog$().init___() }; return $n_Lhypersubs_gui_package$HSubsDialog$ } /** @constructor */ function $c_Lhypersubs_gui_package$InjuryIcons$() { $c_O.call(this); this.Tweaked$1 = null; this.Offset$1 = null } $c_Lhypersubs_gui_package$InjuryIcons$.prototype = new $h_O(); $c_Lhypersubs_gui_package$InjuryIcons$.prototype.constructor = $c_Lhypersubs_gui_package$InjuryIcons$; /** @constructor */ function $h_Lhypersubs_gui_package$InjuryIcons$() { /*<skip>*/ } $h_Lhypersubs_gui_package$InjuryIcons$.prototype = $c_Lhypersubs_gui_package$InjuryIcons$.prototype; $c_Lhypersubs_gui_package$InjuryIcons$.prototype.init___ = (function() { $n_Lhypersubs_gui_package$InjuryIcons$ = this; this.Tweaked$1 = "http://img31.imageshack.us/img31/1733/injuryicons16x16transpa.gif"; var self = $m_Lhypersubs_LateFitnessTest$(); var jsx$5 = new $c_T2().init___O__O(self, "0px 0px"); var self$1 = $m_Lhypersubs_InternationalDuty$(); var jsx$4 = new $c_T2().init___O__O(self$1, "-16px 0px"); var self$2 = $m_Lhypersubs_Injured$(); var jsx$3 = new $c_T2().init___O__O(self$2, "-32px 0px"); var self$3 = $m_Lhypersubs_Suspended$(); var jsx$2 = new $c_T2().init___O__O(self$3, "-48px 0px"); var self$4 = $m_Lhypersubs_Doubtful$(); var jsx$1 = new $c_T2().init___O__O(self$4, "-64px 0px"); var self$5 = $m_Lhypersubs_Ineligible$(); var array = [jsx$5, jsx$4, jsx$3, jsx$2, jsx$1, new $c_T2().init___O__O(self$5, "-80px 0px")]; var this$14 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$14.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; this.Offset$1 = $as_sci_Map(this$14.elems$1); return this }); var $d_Lhypersubs_gui_package$InjuryIcons$ = new $TypeData().initClass({ Lhypersubs_gui_package$InjuryIcons$: 0 }, false, "hypersubs.gui.package$InjuryIcons$", { Lhypersubs_gui_package$InjuryIcons$: 1, O: 1 }); $c_Lhypersubs_gui_package$InjuryIcons$.prototype.$classData = $d_Lhypersubs_gui_package$InjuryIcons$; var $n_Lhypersubs_gui_package$InjuryIcons$ = (void 0); function $m_Lhypersubs_gui_package$InjuryIcons$() { if ((!$n_Lhypersubs_gui_package$InjuryIcons$)) { $n_Lhypersubs_gui_package$InjuryIcons$ = new $c_Lhypersubs_gui_package$InjuryIcons$().init___() }; return $n_Lhypersubs_gui_package$InjuryIcons$ } /** @constructor */ function $c_Lhypersubs_gui_package$Z$() { $c_O.call(this); this.Tooltip$1 = 0; this.UndoHint$1 = 0; this.AnimatedPlayer$1 = 0; this.StaticPlayer$1 = 0 } $c_Lhypersubs_gui_package$Z$.prototype = new $h_O(); $c_Lhypersubs_gui_package$Z$.prototype.constructor = $c_Lhypersubs_gui_package$Z$; /** @constructor */ function $h_Lhypersubs_gui_package$Z$() { /*<skip>*/ } $h_Lhypersubs_gui_package$Z$.prototype = $c_Lhypersubs_gui_package$Z$.prototype; $c_Lhypersubs_gui_package$Z$.prototype.init___ = (function() { this.Tooltip$1 = 2100; this.UndoHint$1 = 2000; this.AnimatedPlayer$1 = 2200; this.StaticPlayer$1 = 1800; return this }); var $d_Lhypersubs_gui_package$Z$ = new $TypeData().initClass({ Lhypersubs_gui_package$Z$: 0 }, false, "hypersubs.gui.package$Z$", { Lhypersubs_gui_package$Z$: 1, O: 1 }); $c_Lhypersubs_gui_package$Z$.prototype.$classData = $d_Lhypersubs_gui_package$Z$; var $n_Lhypersubs_gui_package$Z$ = (void 0); function $m_Lhypersubs_gui_package$Z$() { if ((!$n_Lhypersubs_gui_package$Z$)) { $n_Lhypersubs_gui_package$Z$ = new $c_Lhypersubs_gui_package$Z$().init___() }; return $n_Lhypersubs_gui_package$Z$ } /** @constructor */ function $c_Lhypersubs_hsubs_FillStrategy() { $c_O.call(this) } $c_Lhypersubs_hsubs_FillStrategy.prototype = new $h_O(); $c_Lhypersubs_hsubs_FillStrategy.prototype.constructor = $c_Lhypersubs_hsubs_FillStrategy; /** @constructor */ function $h_Lhypersubs_hsubs_FillStrategy() { /*<skip>*/ } $h_Lhypersubs_hsubs_FillStrategy.prototype = $c_Lhypersubs_hsubs_FillStrategy.prototype; $c_Lhypersubs_hsubs_FillStrategy.prototype.fieldUrgentsBenchLeftovers__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick = (function(original) { var urgentPositionExists = original.positions$1.exists__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer, original$1) { return (function(pick$2) { var pick = $as_Lhypersubs_hsubs_PosPick(pick$2); return arg$outer.hypersubs$hsubs$FillStrategy$$isUrgent$1__Lhypersubs_hsubs_PosPick__Lhypersubs_hsubs_PosGroupPick__Z(pick, original$1) }) })(this, original))); var urgentsDone = (urgentPositionExists ? original.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$1, original$1$1) { return (function(pick$2$1) { var pick$1 = $as_Lhypersubs_hsubs_PosPick(pick$2$1); return arg$outer$1.hypersubs$hsubs$FillStrategy$$benchUnlessUrgent$1__Lhypersubs_hsubs_PosPick__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosPick(pick$1, original$1$1) }) })(this, original))) : original); var completesBenched = (original.isComplete__Z() ? urgentsDone.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$19$2) { var x$19 = $as_Lhypersubs_hsubs_PosPick(x$19$2); return x$19.bench__sc_Seq__Lhypersubs_hsubs_PosPick(x$19.choosable$1) }))) : urgentsDone.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(pick$2$2) { var pick$3 = $as_Lhypersubs_hsubs_PosPick(pick$2$2); return (pick$3.isComplete__Z() ? pick$3.bench__sc_Seq__Lhypersubs_hsubs_PosPick(pick$3.choosable$1) : pick$3) })))); var idlesPruned = new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick().init___Lhypersubs_hsubs_PosGroupPick(completesBenched).pruneAdditionalIdlesNotNeededToAvoidDanger__Lhypersubs_hsubs_PosGroupPick(); return idlesPruned }); $c_Lhypersubs_hsubs_FillStrategy.prototype.fillEachToMin__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick = (function(original) { return original.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$16$2) { var x$16 = $as_Lhypersubs_hsubs_PosPick(x$16$2); return new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(x$16).fillToMin__Lhypersubs_hsubs_PosPick() }))) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.fillToGlobalMax__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick = (function(original) { var jsx$2 = original.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(pos$2) { var pos = $as_Lhypersubs_hsubs_PosPick(pos$2); return arg$outer.hypersubs$hsubs$FillStrategy$$bestOfPosition$1__Lhypersubs_hsubs_PosPick__sc_Seq(pos) }) })(this)); var this$1 = $m_sc_Seq$(); var bestsOfAll = $as_sc_Seq(jsx$2.flatMap__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)); var ord = new $c_Lhypersubs_Player$$anon$1().init___(); var selected = $as_sc_Seq($as_sc_IterableLike($s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(bestsOfAll, ord)).take__I__O(original.slotsLeft$1)); var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$18$2) { var x$18 = $as_Lhypersubs_Player(x$18$2); return x$18.position$1 })); var selectedByPos = $s_sc_TraversableLike$class__groupBy__sc_TraversableLike__F1__sci_Map(selected, f); return original.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$1, selectedByPos$1) { return (function(pick$2) { var pick = $as_Lhypersubs_hsubs_PosPick(pick$2); return arg$outer$1.hypersubs$hsubs$FillStrategy$$fieldIfNewlySelected$1__Lhypersubs_hsubs_PosPick__sci_Map__Lhypersubs_hsubs_PosPick(pick, selectedByPos$1) }) })(this, selectedByPos))) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.hypersubs$hsubs$FillStrategy$$fieldIfNewlySelected$1__Lhypersubs_hsubs_PosPick__sci_Map__Lhypersubs_hsubs_PosPick = (function(pick, selectedByPos$1) { var key = pick.position$1; if (selectedByPos$1.contains__O__Z(key)) { return pick.field__sc_Seq__Lhypersubs_hsubs_PosPick($as_sc_Seq(selectedByPos$1.apply__O__O(pick.position$1))) } else { return pick } }); $c_Lhypersubs_hsubs_FillStrategy.prototype.hypersubs$hsubs$FillStrategy$$bestOfPosition$1__Lhypersubs_hsubs_PosPick__sc_Seq = (function(pos) { var this$2 = pos.choosable$1; var ord = new $c_Lhypersubs_Player$$anon$1().init___(); return $as_sc_Seq($as_sc_IterableLike($s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$2, ord)).take__I__O(pos.max$1)) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.hypersubs$hsubs$FillStrategy$$benchUnlessUrgent$1__Lhypersubs_hsubs_PosPick__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosPick = (function(pick, original$1) { return (this.hypersubs$hsubs$FillStrategy$$isUrgent$1__Lhypersubs_hsubs_PosPick__Lhypersubs_hsubs_PosGroupPick__Z(pick, original$1) ? pick : pick.bench__sc_Seq__Lhypersubs_hsubs_PosPick(pick.choosable$1)) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.hasOnlyUniqueDangerPosAndExtraIdles$1__p1__Lhypersubs_hsubs_PosGroupPick__sc_Seq__Z = (function(original$2, dangerPositions$1) { return ((dangerPositions$1.size__I() === 1) && original$2.positions$1.forall__F1__Z(new $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1().init___Lhypersubs_hsubs_FillStrategy(this))) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.hypersubs$hsubs$FillStrategy$$fieldAndBench$1__Lhypersubs_hsubs_PosGroupPick__sc_Seq__sc_Seq__Lhypersubs_hsubs_PosGroupPick = (function(source, fielded, benched) { return source.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(fielded$1) { return (function(x$22$2) { var x$22 = $as_Lhypersubs_hsubs_PosPick(x$22$2); return x$22.field__sc_Seq__Lhypersubs_hsubs_PosPick(fielded$1) }) })(fielded))).derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(benched$1) { return (function(x$23$2) { var x$23 = $as_Lhypersubs_hsubs_PosPick(x$23$2); return x$23.bench__sc_Seq__Lhypersubs_hsubs_PosPick(benched$1) }) })(benched))) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.fillUpIfComplete__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick = (function(original) { var done = original.positions$1.forall__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(x$17$2) { var x$17 = $as_Lhypersubs_hsubs_PosPick(x$17$2); return (arg$outer.suitablesForFill__Lhypersubs_hsubs_PosPick__I(x$17) === 0) }) })(this))); if (done) { var original$1 = new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick().init___Lhypersubs_hsubs_PosGroupPick(original).fillEachToMin__Lhypersubs_hsubs_PosGroupPick(); return new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick().init___Lhypersubs_hsubs_PosGroupPick(original$1).fillToGlobalMax__Lhypersubs_hsubs_PosGroupPick() } else { return original } }); $c_Lhypersubs_hsubs_FillStrategy.prototype.pruneAdditionalIdlesNotNeededToAvoidDanger__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick = (function(original) { var x1 = original.positions$1.partition__F1__T2(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$20$2) { var x$20 = $as_Lhypersubs_hsubs_PosPick(x$20$2); return new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(x$20).containsDanger__Z() }))); if ((x1 !== null)) { var dangerPositions = $as_sc_Seq(x1.$$und1__O()); var idlePositions = $as_sc_Seq(x1.$$und2__O()); var x$21_$_$$und1$f = dangerPositions; var x$21_$_$$und2$f = idlePositions } else { var x$21_$_$$und1$f; var x$21_$_$$und2$f; throw new $c_s_MatchError().init___O(x1) }; var dangerPositions$2 = $as_sc_Seq(x$21_$_$$und1$f); $as_sc_Seq(x$21_$_$$und2$f); return (this.hasOnlyUniqueDangerPosAndExtraIdles$1__p1__Lhypersubs_hsubs_PosGroupPick__sc_Seq__Z(original, dangerPositions$2) ? this.prune$1__p1__Lhypersubs_hsubs_PosGroupPick__sc_Seq__Lhypersubs_hsubs_PosGroupPick(original, dangerPositions$2) : original) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.hypersubs$hsubs$FillStrategy$$isUrgent$1__Lhypersubs_hsubs_PosPick__Lhypersubs_hsubs_PosGroupPick__Z = (function(pick, original$1) { return ((original$1.slotsLeft$1 > 0) && (pick.min$1 === original$1.slotsLeft$1)) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.forcedChoices__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick = (function(original) { return original.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(x$15$2) { var x$15 = $as_Lhypersubs_hsubs_PosPick(x$15$2); return new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(x$15).forcedChoices__Lhypersubs_hsubs_FillStrategy__Lhypersubs_hsubs_PosPick(arg$outer) }) })(this))) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.prune$1__p1__Lhypersubs_hsubs_PosGroupPick__sc_Seq__Lhypersubs_hsubs_PosGroupPick = (function(original$2, dangerPositions$1) { var pick = $as_Lhypersubs_hsubs_PosPick(dangerPositions$1.head__O()); var jsx$2 = original$2.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$24$2) { var x$24 = $as_Lhypersubs_hsubs_PosPick(x$24$2); return x$24.choosable$1 })); var this$1 = $m_sc_Seq$(); var x1 = $as_sc_TraversableLike(jsx$2.flatMap__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).partition__F1__T2(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$25$2) { var x$25 = $as_Lhypersubs_Player(x$25$2); return x$25.opposition$1.exists$1 }))); if ((x1 !== null)) { var dangerous = $as_sc_Seq(x1.$$und1__O()); var idles = $as_sc_Seq(x1.$$und2__O()); var x$26_$_$$und1$f = dangerous; var x$26_$_$$und2$f = idles } else { var x$26_$_$$und1$f; var x$26_$_$$und2$f; throw new $c_s_MatchError().init___O(x1) }; var dangerous$2 = $as_sc_Seq(x$26_$_$$und1$f); var idles$2 = $as_sc_Seq(x$26_$_$$und2$f); var this$2 = dangerous$2.toSet__sci_Set(); var this$3 = new $c_sc_SetLike$$anon$1().init___sc_SetLike(this$2); var this$4 = $s_sc_Iterator$class__toStream__sc_Iterator__sci_Stream(this$3); var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(pick$1) { return (function(x$27$2) { var x$27 = $as_sci_Set(x$27$2); return (x$27.size__I() <= pick$1.max$1) }) })(pick)); var combinationsOfDangerousPlayersToFieldWithNotTooMany = this$4.filter__F1__sci_Stream(p); var jsx$3 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(dangerous$1) { return (function(comb$2) { var comb = $as_sci_Set(comb$2); var jsx$4 = $s_sc_SetLike$class__toBuffer__sc_SetLike__scm_Buffer(comb); var this$5 = dangerous$1.toSet__sci_Set().diff__sc_GenSet__sc_Set(comb.toSet__sci_Set()); return new $c_T2().init___O__O(jsx$4, $s_sc_SetLike$class__toBuffer__sc_SetLike__scm_Buffer(this$5)) }) })(dangerous$2)); var this$6 = $m_sc_Seq$(); var allCombsOfFieldedAndBenchedDangerous = $as_sc_Seq(combinationsOfDangerousPlayersToFieldWithNotTooMany.map__F1__scg_CanBuildFrom__O(jsx$3, this$6.ReusableCBFInstance$2)); var jsx$5 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer, original$2$1) { return (function(comb$2$1) { var comb$1 = $as_T2(comb$2$1); var original = arg$outer.hypersubs$hsubs$FillStrategy$$fieldAndBench$1__Lhypersubs_hsubs_PosGroupPick__sc_Seq__sc_Seq__Lhypersubs_hsubs_PosGroupPick(original$2$1, $as_sc_Seq(comb$1.$$und1__O()), $as_sc_Seq(comb$1.$$und2__O())); var original$1 = new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick().init___Lhypersubs_hsubs_PosGroupPick(original).fillEachToMin__Lhypersubs_hsubs_PosGroupPick(); return new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick().init___Lhypersubs_hsubs_PosGroupPick(original$1).fillToGlobalMax__Lhypersubs_hsubs_PosGroupPick() }) })(this, original$2)); var this$9 = $m_sc_Seq$(); var potentialCompleteGroups = $as_sc_Seq(allCombsOfFieldedAndBenchedDangerous.map__F1__scg_CanBuildFrom__O(jsx$5, this$9.ReusableCBFInstance$2)); var jsx$6 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$1, idles$1) { return (function(potentialGroup$2) { var potentialGroup = $as_Lhypersubs_hsubs_PosGroupPick(potentialGroup$2); return arg$outer$1.hypersubs$hsubs$FillStrategy$$idlesChosen$1__Lhypersubs_hsubs_PosGroupPick__sc_Seq__sci_Set(potentialGroup, idles$1) }) })(this, idles$2)); var this$10 = $m_sc_Seq$(); var potentialChosenIdles = $as_sc_Seq(potentialCompleteGroups.map__F1__scg_CanBuildFrom__O(jsx$6, this$10.ReusableCBFInstance$2)); var idlesPickedAlways = $as_sci_Set(potentialChosenIdles.foldLeft__O__F2__O(idles$2.toSet__sci_Set(), new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function(x$29$2, x$30$2) { var x$29 = $as_sci_Set(x$29$2); var x$30 = $as_sci_Set(x$30$2); return $as_sci_Set(x$29.intersect__sc_GenSet__O(x$30)) })))); var idlesPickedMaybe = $as_sci_Set(potentialChosenIdles.foldLeft__O__F2__O($m_s_Predef$().Set$2.apply__sc_Seq__sc_GenTraversable($m_sci_Nil$()), new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function(x$31$2, x$32$2) { var x$31 = $as_sci_Set(x$31$2); var x$32 = $as_sci_Set(x$32$2); return $as_sci_Set(x$31.union__sc_GenSet__sc_Set(x$32)) })))); var this$11 = idles$2.toSet__sci_Set().diff__sc_GenSet__sc_Set(idlesPickedMaybe); var idlesPickedNever = $s_sc_SetLike$class__toBuffer__sc_SetLike__scm_Buffer(this$11); return this.hypersubs$hsubs$FillStrategy$$fieldAndBench$1__Lhypersubs_hsubs_PosGroupPick__sc_Seq__sc_Seq__Lhypersubs_hsubs_PosGroupPick(original$2, $s_sc_SetLike$class__toBuffer__sc_SetLike__scm_Buffer(idlesPickedAlways), idlesPickedNever.toSeq__sc_Seq()) }); $c_Lhypersubs_hsubs_FillStrategy.prototype.hypersubs$hsubs$FillStrategy$$idlesChosen$1__Lhypersubs_hsubs_PosGroupPick__sc_Seq__sci_Set = (function(potentialGroup, idles$1) { var jsx$2 = potentialGroup.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$28$2) { var x$28 = $as_Lhypersubs_hsubs_PosPick(x$28$2); return x$28.chosen$1 })); var this$1 = $m_sc_Seq$(); return $as_sc_TraversableOnce($as_sc_TraversableLike(jsx$2.flatMap__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).filter__F1__O(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(idles$1$1) { return (function(elem$2) { return idles$1$1.contains__O__Z(elem$2) }) })(idles$1)))).toSet__sci_Set() }); /** @constructor */ function $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick() { $c_O.call(this); this.original$1 = null } $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick.prototype = new $h_O(); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick.prototype.constructor = $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick; /** @constructor */ function $h_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick() { /*<skip>*/ } $h_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick.prototype = $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick.prototype; $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick.prototype.fillEachToMin__Lhypersubs_hsubs_PosGroupPick = (function() { return this.original$1.fillStrategy$1.fillEachToMin__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(this.original$1) }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick.prototype.pruneAdditionalIdlesNotNeededToAvoidDanger__Lhypersubs_hsubs_PosGroupPick = (function() { return this.original$1.fillStrategy$1.pruneAdditionalIdlesNotNeededToAvoidDanger__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(this.original$1) }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick.prototype.fillToGlobalMax__Lhypersubs_hsubs_PosGroupPick = (function() { return this.original$1.fillStrategy$1.fillToGlobalMax__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(this.original$1) }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick.prototype.init___Lhypersubs_hsubs_PosGroupPick = (function(original) { this.original$1 = original; return this }); var $d_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick = new $TypeData().initClass({ Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick: 0 }, false, "hypersubs.hsubs.FillStrategy$StrategicPosGroupPick", { Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick: 1, O: 1 }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick.prototype.$classData = $d_Lhypersubs_hsubs_FillStrategy$StrategicPosGroupPick; /** @constructor */ function $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick() { $c_O.call(this); this.pick$1 = null } $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype = new $h_O(); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype.constructor = $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick; /** @constructor */ function $h_Lhypersubs_hsubs_FillStrategy$StrategicPosPick() { /*<skip>*/ } $h_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype = $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype; $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype.fieldOnlyOnesAvailable__Lhypersubs_hsubs_PosPick = (function() { return ((this.pick$1.choosable$1.size__I() === this.pick$1.min$1) ? this.pick$1.field__sc_Seq__Lhypersubs_hsubs_PosPick(this.pick$1.choosable$1) : this.pick$1) }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype.containsDanger__Z = (function() { var pick = this.pick$1; return (new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(pick).dangerCount__I() > 0) }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype.fillToMinWhenNobodyPlaying__Lhypersubs_hsubs_FillStrategy__Lhypersubs_hsubs_PosPick = (function(strategy) { var activePlayersCount = strategy.suitablesForFill__Lhypersubs_hsubs_PosPick__I(this.pick$1); if ((activePlayersCount === 0)) { var pick = this.pick$1; return new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(pick).fillToMin__Lhypersubs_hsubs_PosPick() } else { return this.pick$1 } }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype.dangerCount__I = (function() { return (this.pick$1.position$1.isSafe$1 ? 0 : this.pick$1.choosable$1.count__F1__I(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(player$2) { var player = $as_Lhypersubs_Player(player$2); return (!player.isSafe__Z()) })))) }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype.forcedChoices__Lhypersubs_hsubs_FillStrategy__Lhypersubs_hsubs_PosPick = (function(strategy) { var pick = this.pick$1; var pick$1 = new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(pick).fieldOnlyOnesAvailable__Lhypersubs_hsubs_PosPick(); return new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(pick$1).fillToMinWhenNobodyPlaying__Lhypersubs_hsubs_FillStrategy__Lhypersubs_hsubs_PosPick(strategy) }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype.fillToMin__Lhypersubs_hsubs_PosPick = (function() { var jsx$1 = this.pick$1; var this$2 = this.pick$1.choosable$1; var ord = new $c_Lhypersubs_Player$$anon$1().init___(); return jsx$1.field__sc_Seq__Lhypersubs_hsubs_PosPick($as_sc_Seq($as_sc_IterableLike($s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$2, ord)).take__I__O(this.pick$1.min$1))) }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype.init___Lhypersubs_hsubs_PosPick = (function(pick) { this.pick$1 = pick; return this }); var $d_Lhypersubs_hsubs_FillStrategy$StrategicPosPick = new $TypeData().initClass({ Lhypersubs_hsubs_FillStrategy$StrategicPosPick: 0 }, false, "hypersubs.hsubs.FillStrategy$StrategicPosPick", { Lhypersubs_hsubs_FillStrategy$StrategicPosPick: 1, O: 1 }); $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick.prototype.$classData = $d_Lhypersubs_hsubs_FillStrategy$StrategicPosPick; /** @constructor */ function $c_Lhypersubs_hsubs_PosGroupPick() { $c_O.call(this); this.positions$1 = null; this.totalChosen$1 = 0; this.slotsLeft$1 = 0; this.fillStrategy$1 = null; this.singlePosPicks$1 = null } $c_Lhypersubs_hsubs_PosGroupPick.prototype = new $h_O(); $c_Lhypersubs_hsubs_PosGroupPick.prototype.constructor = $c_Lhypersubs_hsubs_PosGroupPick; /** @constructor */ function $h_Lhypersubs_hsubs_PosGroupPick() { /*<skip>*/ } $h_Lhypersubs_hsubs_PosGroupPick.prototype = $c_Lhypersubs_hsubs_PosGroupPick.prototype; $c_Lhypersubs_hsubs_PosGroupPick.prototype.pickOneManually__Lhypersubs_Player__Lhypersubs_hsubs_PosGroupPick = (function(chosenOne) { var this$1 = this.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer, chosenOne$1) { return (function(singlePos$2) { var singlePos = $as_Lhypersubs_hsubs_PosPick(singlePos$2); return arg$outer.hypersubs$hsubs$PosGroupPick$$fieldIfPlayersPos$1__Lhypersubs_hsubs_PosPick__Lhypersubs_Player__Lhypersubs_hsubs_PosPick(singlePos, chosenOne$1) }) })(this, chosenOne))); var this$2 = this$1.fillStrategy$1.fieldUrgentsBenchLeftovers__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(this$1); return this$2.fillStrategy$1.doYourBest__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(this$2) }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.totalPlayers__I = (function() { var jsx$2 = this.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$4$2) { var x$4 = $as_Lhypersubs_hsubs_PosPick(x$4$2); return x$4.playersInSquad__I() })); var this$1 = $m_sc_Seq$(); return $uI($as_sc_TraversableOnce(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).sum__s_math_Numeric__O($m_s_math_Numeric$IntIsIntegral$())) }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.greatestChoosableCount__I = (function() { var jsx$2 = this.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$8$2) { var x$8 = $as_Lhypersubs_hsubs_PosPick(x$8$2); return x$8.choosable$1.size__I() })); var this$1 = $m_sc_Seq$(); return $uI($as_sc_TraversableOnce(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).max__s_math_Ordering__O($m_s_math_Ordering$Int$())) }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.isEquivalentTo__Lhypersubs_hsubs_PosGroupPick__Z = (function(another) { var jsx$2 = this.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$10$2) { var x$10 = $as_Lhypersubs_hsubs_PosPick(x$10$2); return x$10.position$1 })); var this$1 = $m_sc_Seq$(); return $as_sc_IterableLike(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).forall__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer, another$1) { return (function(pos$2) { var pos = $as_Lhypersubs_Position(pos$2); return $as_Lhypersubs_hsubs_PosPick(arg$outer.singlePosPicks$1.apply__O__O(pos)).isEquivalentTo__Lhypersubs_hsubs_PosPick__Z($as_Lhypersubs_hsubs_PosPick(another$1.singlePosPicks$1.apply__O__O(pos))) }) })(this, another))) }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.toString__T = (function() { var jsx$2 = this.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$11$2) { var x$11 = $as_Lhypersubs_hsubs_PosPick(x$11$2); return x$11.chosen$1 })); var this$1 = $m_sc_Seq$(); var this$3 = $as_sc_SeqLike(jsx$2.flatMap__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)); var this$2 = $m_s_math_Ordering$(); var evidence$1 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$2, evidence$1); var chosen = $as_sc_Seq($s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$3, ord)); var jsx$4 = this.positions$1; var jsx$3 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$12$2) { var x$12 = $as_Lhypersubs_hsubs_PosPick(x$12$2); return x$12.choosable$1 })); var this$4 = $m_sc_Seq$(); var this$6 = $as_sc_SeqLike(jsx$4.flatMap__F1__scg_CanBuildFrom__O(jsx$3, this$4.ReusableCBFInstance$2)); var this$5 = $m_s_math_Ordering$(); var evidence$1$1 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord$1 = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$5, evidence$1$1); var choosable = $as_sc_Seq($s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$6, ord$1)); var jsx$6 = this.positions$1; var jsx$5 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$13$2) { var x$13 = $as_Lhypersubs_hsubs_PosPick(x$13$2); return x$13.onTheBench$1 })); var this$7 = $m_sc_Seq$(); var this$9 = $as_sc_SeqLike(jsx$6.flatMap__F1__scg_CanBuildFrom__O(jsx$5, this$7.ReusableCBFInstance$2)); var this$8 = $m_s_math_Ordering$(); var evidence$1$2 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord$2 = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$8, evidence$1$2); var bench = $as_sc_Seq($s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$9, ord$2)); var jsx$8 = this.positions$1; var jsx$7 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$14$2) { var x$14 = $as_Lhypersubs_hsubs_PosPick(x$14$2); return x$14.position$1 })); var this$10 = $m_sc_Seq$(); var intro = (("BOX FOR: " + $as_sc_TraversableOnce(jsx$8.map__F1__scg_CanBuildFrom__O(jsx$7, this$10.ReusableCBFInstance$2)).mkString__T__T(" ")) + "\n"); return (((((((((intro + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["CHOSEN (", "): \\t"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([chosen.size__I()]))) + chosen.mkString__T__T(" --- ")) + "\n") + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["CHOOSE (", ") FROM:\\t"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.slotsLeft$1]))) + choosable.mkString__T__T(" --- ")) + "\n") + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["BENCH (", ") :\\t"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([bench.size__I()]))) + bench.mkString__T__T(" --- ")) + "\n") }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.isComplete__Z = (function() { return (this.slotsLeft$1 === 0) }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.derive__F1__Lhypersubs_hsubs_PosGroupPick = (function(formula) { var jsx$1 = this.positions$1; var this$1 = $m_sc_Seq$(); var newPositions = $as_sc_Seq(jsx$1.map__F1__scg_CanBuildFrom__O(formula, this$1.ReusableCBFInstance$2)); var jsx$2 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$3$2) { var x$3 = $as_Lhypersubs_hsubs_PosPick(x$3$2); return x$3.chosenCount$1 })); var this$2 = $m_sc_Seq$(); var nowChosen = $uI($as_sc_TraversableOnce(newPositions.map__F1__scg_CanBuildFrom__O(jsx$2, this$2.ReusableCBFInstance$2)).sum__s_math_Numeric__O($m_s_math_Numeric$IntIsIntegral$())); var newlyChosen = ((nowChosen - this.totalChosen$1) | 0); return new $c_Lhypersubs_hsubs_PosGroupPick().init___sc_Seq__I__I__Lhypersubs_hsubs_FillStrategy(newPositions, nowChosen, ((this.slotsLeft$1 - newlyChosen) | 0), this.fillStrategy$1) }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.reset__Lhypersubs_hsubs_PosGroupPick = (function() { var this$1 = this.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$9$2) { var x$9 = $as_Lhypersubs_hsubs_PosPick(x$9$2); return x$9.reset__Lhypersubs_hsubs_PosPick() }))); var this$2 = this$1.fillStrategy$1.forcedChoices__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(this$1); return this$2.fillStrategy$1.doYourBest__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(this$2) }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.benchSize__I = (function() { return ((((this.totalPlayers__I() - this.slotsLeft$1) | 0) - this.totalChosen$1) | 0) }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.allPlayers__sc_Seq = (function() { return $as_sc_Seq(this.positions$1.foldLeft__O__F2__O($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable($m_sci_Nil$()), new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function(x$5$2, x$6$2) { var x$5 = $as_sc_Seq(x$5$2); var x$6 = $as_Lhypersubs_hsubs_PosPick(x$6$2); var jsx$1 = x$6.allPlayers__sc_Seq(); var this$1 = $m_sc_Seq$(); return $as_sc_Seq(x$5.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)) })))) }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.hypersubs$hsubs$PosGroupPick$$fieldIfPlayersPos$1__Lhypersubs_hsubs_PosPick__Lhypersubs_Player__Lhypersubs_hsubs_PosPick = (function(singlePos, chosenOne$1) { var x = singlePos.position$1; var x$2 = chosenOne$1.position$1; if ((x === x$2)) { return singlePos.field__Lhypersubs_Player__Lhypersubs_hsubs_PosPick(chosenOne$1) } else { return singlePos } }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.init___sc_Seq__I__I__Lhypersubs_hsubs_FillStrategy = (function(positions, totalChosen, slotsLeft, fillStrategy) { this.positions$1 = positions; this.totalChosen$1 = totalChosen; this.slotsLeft$1 = slotsLeft; this.fillStrategy$1 = fillStrategy; var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$1$2) { var x$1 = $as_Lhypersubs_hsubs_PosPick(x$1$2); return x$1.position$1 })); var this$1 = $s_sc_TraversableLike$class__groupBy__sc_TraversableLike__F1__sci_Map(positions, f); var f$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$2$2) { var x$2 = $as_sc_Seq(x$2$2); return $as_Lhypersubs_hsubs_PosPick(x$2.head__O()) })); this.singlePosPicks$1 = new $c_sci_MapLike$$anon$2().init___sci_MapLike__F1(this$1, f$1); return this }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.isDangerouslySelected__Z = (function() { return this.positions$1.exists__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$7$2) { var x$7 = $as_Lhypersubs_hsubs_PosPick(x$7$2); return x$7.isDangerouslySelected__Z() }))) }); function $is_Lhypersubs_hsubs_PosGroupPick(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_hsubs_PosGroupPick))) } function $as_Lhypersubs_hsubs_PosGroupPick(obj) { return (($is_Lhypersubs_hsubs_PosGroupPick(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.hsubs.PosGroupPick")) } function $isArrayOf_Lhypersubs_hsubs_PosGroupPick(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_hsubs_PosGroupPick))) } function $asArrayOf_Lhypersubs_hsubs_PosGroupPick(obj, depth) { return (($isArrayOf_Lhypersubs_hsubs_PosGroupPick(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.hsubs.PosGroupPick;", depth)) } var $d_Lhypersubs_hsubs_PosGroupPick = new $TypeData().initClass({ Lhypersubs_hsubs_PosGroupPick: 0 }, false, "hypersubs.hsubs.PosGroupPick", { Lhypersubs_hsubs_PosGroupPick: 1, O: 1 }); $c_Lhypersubs_hsubs_PosGroupPick.prototype.$classData = $d_Lhypersubs_hsubs_PosGroupPick; /** @constructor */ function $c_Lhypersubs_hsubs_PosGroupPick$() { $c_O.call(this) } $c_Lhypersubs_hsubs_PosGroupPick$.prototype = new $h_O(); $c_Lhypersubs_hsubs_PosGroupPick$.prototype.constructor = $c_Lhypersubs_hsubs_PosGroupPick$; /** @constructor */ function $h_Lhypersubs_hsubs_PosGroupPick$() { /*<skip>*/ } $h_Lhypersubs_hsubs_PosGroupPick$.prototype = $c_Lhypersubs_hsubs_PosGroupPick$.prototype; $c_Lhypersubs_hsubs_PosGroupPick$.prototype.init___ = (function() { return this }); $c_Lhypersubs_hsubs_PosGroupPick$.prototype.apply__sci_Map__sc_Seq__I__Z__Lhypersubs_hsubs_PosGroupPick = (function(squad, positions, size, smartFill) { var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(squad$1) { return (function(pos$2) { var pos = $as_Lhypersubs_Position(pos$2); return $m_Lhypersubs_hsubs_PosPick$().apply__Lhypersubs_Position__sc_Seq__Lhypersubs_hsubs_PosPick(pos, $as_sc_Seq(squad$1.apply__O__O(pos))) }) })(squad)); var this$1 = $m_sc_Seq$(); var singlePosPicks = $as_sc_Seq(positions.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)); var newGroup = new $c_Lhypersubs_hsubs_PosGroupPick().init___sc_Seq__I__I__Lhypersubs_hsubs_FillStrategy(singlePosPicks, 0, size, (smartFill ? $m_Lhypersubs_hsubs_Smartfill$() : $m_Lhypersubs_hsubs_Stupidfill$())); return newGroup.reset__Lhypersubs_hsubs_PosGroupPick() }); var $d_Lhypersubs_hsubs_PosGroupPick$ = new $TypeData().initClass({ Lhypersubs_hsubs_PosGroupPick$: 0 }, false, "hypersubs.hsubs.PosGroupPick$", { Lhypersubs_hsubs_PosGroupPick$: 1, O: 1 }); $c_Lhypersubs_hsubs_PosGroupPick$.prototype.$classData = $d_Lhypersubs_hsubs_PosGroupPick$; var $n_Lhypersubs_hsubs_PosGroupPick$ = (void 0); function $m_Lhypersubs_hsubs_PosGroupPick$() { if ((!$n_Lhypersubs_hsubs_PosGroupPick$)) { $n_Lhypersubs_hsubs_PosGroupPick$ = new $c_Lhypersubs_hsubs_PosGroupPick$().init___() }; return $n_Lhypersubs_hsubs_PosGroupPick$ } /** @constructor */ function $c_Lhypersubs_hsubs_PosPick() { $c_O.call(this); this.position$1 = null; this.choosable$1 = null; this.chosen$1 = null; this.onTheBench$1 = null; this.min$1 = 0; this.max$1 = 0; this.chosenCount$1 = 0 } $c_Lhypersubs_hsubs_PosPick.prototype = new $h_O(); $c_Lhypersubs_hsubs_PosPick.prototype.constructor = $c_Lhypersubs_hsubs_PosPick; /** @constructor */ function $h_Lhypersubs_hsubs_PosPick() { /*<skip>*/ } $h_Lhypersubs_hsubs_PosPick.prototype = $c_Lhypersubs_hsubs_PosPick.prototype; $c_Lhypersubs_hsubs_PosPick.prototype.isEquivalentTo__Lhypersubs_hsubs_PosPick__Z = (function(another) { if ((this.min$1 === another.min$1)) { var jsx$4 = $m_sr_BoxesRunTime$(); var this$2 = this.choosable$1; var this$1 = $m_s_math_Ordering$(); var evidence$1 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$1, evidence$1); var jsx$3 = $s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$2, ord); var this$4 = another.choosable$1; var this$3 = $m_s_math_Ordering$(); var evidence$1$1 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord$1 = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$3, evidence$1$1); var jsx$2 = jsx$4.equals__O__O__Z(jsx$3, $s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$4, ord$1)) } else { var jsx$2 = false }; if (jsx$2) { var jsx$6 = $m_sr_BoxesRunTime$(); var this$6 = this.chosen$1; var this$5 = $m_s_math_Ordering$(); var evidence$1$2 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord$2 = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$5, evidence$1$2); var jsx$5 = $s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$6, ord$2); var this$8 = another.chosen$1; var this$7 = $m_s_math_Ordering$(); var evidence$1$3 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord$3 = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$7, evidence$1$3); var jsx$1 = jsx$6.equals__O__O__Z(jsx$5, $s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$8, ord$3)) } else { var jsx$1 = false }; if (jsx$1) { var jsx$8 = $m_sr_BoxesRunTime$(); var this$10 = this.onTheBench$1; var this$9 = $m_s_math_Ordering$(); var evidence$1$4 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord$4 = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$9, evidence$1$4); var jsx$7 = $s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$10, ord$4); var this$12 = another.onTheBench$1; var this$11 = $m_s_math_Ordering$(); var evidence$1$5 = $m_s_Predef$().singleton$und$less$colon$less$2; var ord$5 = new $c_s_math_LowPriorityOrderingImplicits$$anon$6().init___s_math_LowPriorityOrderingImplicits__F1(this$11, evidence$1$5); return jsx$8.equals__O__O__Z(jsx$7, $s_sc_SeqLike$class__sorted__sc_SeqLike__s_math_Ordering__O(this$12, ord$5)) } else { return false } }); $c_Lhypersubs_hsubs_PosPick.prototype.bench__sc_Seq__Lhypersubs_hsubs_PosPick = (function(somePlayers) { var targets = $as_sc_Seq(somePlayers.filter__F1__O(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(x$1$2) { var x$1 = $as_Lhypersubs_Player(x$1$2); var x = x$1.position$1; var x$2 = arg$outer.position$1; return (x === x$2) }) })(this)))); var jsx$4 = this.position$1; var this$1 = this.choosable$1; var jsx$3 = $as_sc_Seq($s_sc_SeqLike$class__diff__sc_SeqLike__sc_GenSeq__O(this$1, targets)); var jsx$2 = this.chosen$1; var jsx$1 = this.onTheBench$1; var this$2 = $m_sc_Seq$(); return new $c_Lhypersubs_hsubs_PosPick().init___Lhypersubs_Position__sc_Seq__sc_Seq__sc_Seq__I__I(jsx$4, jsx$3, jsx$2, $as_sc_Seq(jsx$1.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(targets, this$2.ReusableCBFInstance$2)), this.min$1, this.max$1) }); $c_Lhypersubs_hsubs_PosPick.prototype.init___Lhypersubs_Position__sc_Seq__sc_Seq__sc_Seq__I__I = (function(position, choosable, chosen, onTheBench, min, max) { this.position$1 = position; this.choosable$1 = choosable; this.chosen$1 = chosen; this.onTheBench$1 = onTheBench; this.min$1 = min; this.max$1 = max; this.chosenCount$1 = chosen.size__I(); return this }); $c_Lhypersubs_hsubs_PosPick.prototype.unbench__sc_Seq__Lhypersubs_hsubs_PosPick = (function(targets) { var jsx$4 = this.position$1; var jsx$3 = this.choosable$1; var this$1 = $m_sc_Seq$(); var jsx$2 = $as_sc_Seq(jsx$3.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(targets, this$1.ReusableCBFInstance$2)); var jsx$1 = this.chosen$1; var this$2 = this.onTheBench$1; return new $c_Lhypersubs_hsubs_PosPick().init___Lhypersubs_Position__sc_Seq__sc_Seq__sc_Seq__I__I(jsx$4, jsx$2, jsx$1, $as_sc_Seq($s_sc_SeqLike$class__diff__sc_SeqLike__sc_GenSeq__O(this$2, targets)), this.min$1, this.max$1) }); $c_Lhypersubs_hsubs_PosPick.prototype.minimumBenchSize__I = (function() { var jsx$1 = this.onTheBench$1.size__I(); var b = ((this.choosable$1.size__I() - this.max$1) | 0); return ((jsx$1 + ((b < 0) ? 0 : b)) | 0) }); $c_Lhypersubs_hsubs_PosPick.prototype.toString__T = (function() { var jsx$8 = this.chosen$1; var jsx$7 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$3$2) { var x$3 = $as_Lhypersubs_Player(x$3$2); return x$3.name$1 })); var this$1 = $m_sc_Seq$(); var jsx$6 = jsx$8.map__F1__scg_CanBuildFrom__O(jsx$7, this$1.ReusableCBFInstance$2); var jsx$5 = this.choosable$1; var jsx$4 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$4$2) { var x$4 = $as_Lhypersubs_Player(x$4$2); return x$4.name$1 })); var this$2 = $m_sc_Seq$(); var jsx$3 = jsx$5.map__F1__scg_CanBuildFrom__O(jsx$4, this$2.ReusableCBFInstance$2); var jsx$2 = this.onTheBench$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$5$2) { var x$5 = $as_Lhypersubs_Player(x$5$2); return x$5.name$1 })); var this$3 = $m_sc_Seq$(); return ((((jsx$6 + " <--- ") + jsx$3) + " ---> ") + jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$3.ReusableCBFInstance$2)) }); $c_Lhypersubs_hsubs_PosPick.prototype.isComplete__Z = (function() { return (this.max$1 === 0) }); $c_Lhypersubs_hsubs_PosPick.prototype.playersInSquad__I = (function() { return ((((this.chosenCount$1 + this.onTheBench$1.size__I()) | 0) + this.choosable$1.size__I()) | 0) }); $c_Lhypersubs_hsubs_PosPick.prototype.reset__Lhypersubs_hsubs_PosPick = (function() { return this.unfield__sc_Seq__Lhypersubs_hsubs_PosPick(this.chosen$1).unbench__sc_Seq__Lhypersubs_hsubs_PosPick(this.onTheBench$1) }); $c_Lhypersubs_hsubs_PosPick.prototype.allPlayers__sc_Seq = (function() { var jsx$4 = this.chosen$1; var jsx$3 = this.choosable$1; var this$1 = $m_sc_Seq$(); var jsx$2 = $as_sc_TraversableLike(jsx$4.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$3, this$1.ReusableCBFInstance$2)); var jsx$1 = this.onTheBench$1; var this$2 = $m_sc_Seq$(); return $as_sc_Seq(jsx$2.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$1, this$2.ReusableCBFInstance$2)) }); $c_Lhypersubs_hsubs_PosPick.prototype.field__sc_Seq__Lhypersubs_hsubs_PosPick = (function(somePlayers) { var targets = $as_sc_Seq(somePlayers.filter__F1__O(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(x$2$2) { var x$2 = $as_Lhypersubs_Player(x$2$2); var x = x$2.position$1; var x$3 = arg$outer.position$1; return (x === x$3) }) })(this)))); var jsx$3 = this.position$1; var this$1 = this.choosable$1; var jsx$2 = $as_sc_Seq($s_sc_SeqLike$class__diff__sc_SeqLike__sc_GenSeq__O(this$1, targets)); var jsx$1 = this.chosen$1; var this$2 = $m_sc_Seq$(); return new $c_Lhypersubs_hsubs_PosPick().init___Lhypersubs_Position__sc_Seq__sc_Seq__sc_Seq__I__I(jsx$3, jsx$2, $as_sc_Seq(jsx$1.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(targets, this$2.ReusableCBFInstance$2)), this.onTheBench$1, ((this.min$1 - targets.size__I()) | 0), ((this.max$1 - targets.size__I()) | 0)) }); $c_Lhypersubs_hsubs_PosPick.prototype.unfield__sc_Seq__Lhypersubs_hsubs_PosPick = (function(targets) { var jsx$3 = this.position$1; var jsx$2 = this.choosable$1; var this$1 = $m_sc_Seq$(); var jsx$1 = $as_sc_Seq(jsx$2.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(targets, this$1.ReusableCBFInstance$2)); var this$2 = this.chosen$1; return new $c_Lhypersubs_hsubs_PosPick().init___Lhypersubs_Position__sc_Seq__sc_Seq__sc_Seq__I__I(jsx$3, jsx$1, $as_sc_Seq($s_sc_SeqLike$class__diff__sc_SeqLike__sc_GenSeq__O(this$2, targets)), this.onTheBench$1, ((this.min$1 + targets.size__I()) | 0), ((this.max$1 + targets.size__I()) | 0)) }); $c_Lhypersubs_hsubs_PosPick.prototype.isDangerouslySelected__Z = (function() { return this.chosen$1.exists__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(player$2) { var player = $as_Lhypersubs_Player(player$2); return (!player.isSafe__Z()) }))) }); $c_Lhypersubs_hsubs_PosPick.prototype.field__Lhypersubs_Player__Lhypersubs_hsubs_PosPick = (function(somePlayer) { return this.field__sc_Seq__Lhypersubs_hsubs_PosPick($as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([somePlayer])))) }); function $is_Lhypersubs_hsubs_PosPick(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_hsubs_PosPick))) } function $as_Lhypersubs_hsubs_PosPick(obj) { return (($is_Lhypersubs_hsubs_PosPick(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.hsubs.PosPick")) } function $isArrayOf_Lhypersubs_hsubs_PosPick(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_hsubs_PosPick))) } function $asArrayOf_Lhypersubs_hsubs_PosPick(obj, depth) { return (($isArrayOf_Lhypersubs_hsubs_PosPick(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.hsubs.PosPick;", depth)) } var $d_Lhypersubs_hsubs_PosPick = new $TypeData().initClass({ Lhypersubs_hsubs_PosPick: 0 }, false, "hypersubs.hsubs.PosPick", { Lhypersubs_hsubs_PosPick: 1, O: 1 }); $c_Lhypersubs_hsubs_PosPick.prototype.$classData = $d_Lhypersubs_hsubs_PosPick; /** @constructor */ function $c_Lhypersubs_hsubs_PosPick$() { $c_O.call(this) } $c_Lhypersubs_hsubs_PosPick$.prototype = new $h_O(); $c_Lhypersubs_hsubs_PosPick$.prototype.constructor = $c_Lhypersubs_hsubs_PosPick$; /** @constructor */ function $h_Lhypersubs_hsubs_PosPick$() { /*<skip>*/ } $h_Lhypersubs_hsubs_PosPick$.prototype = $c_Lhypersubs_hsubs_PosPick$.prototype; $c_Lhypersubs_hsubs_PosPick$.prototype.init___ = (function() { return this }); $c_Lhypersubs_hsubs_PosPick$.prototype.apply__Lhypersubs_Position__sc_Seq__Lhypersubs_hsubs_PosPick = (function(position, choosable) { return new $c_Lhypersubs_hsubs_PosPick().init___Lhypersubs_Position__sc_Seq__sc_Seq__sc_Seq__I__I(position, choosable, $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable($m_sci_Nil$())), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable($m_sci_Nil$())), position.min$1, position.max$1) }); var $d_Lhypersubs_hsubs_PosPick$ = new $TypeData().initClass({ Lhypersubs_hsubs_PosPick$: 0 }, false, "hypersubs.hsubs.PosPick$", { Lhypersubs_hsubs_PosPick$: 1, O: 1 }); $c_Lhypersubs_hsubs_PosPick$.prototype.$classData = $d_Lhypersubs_hsubs_PosPick$; var $n_Lhypersubs_hsubs_PosPick$ = (void 0); function $m_Lhypersubs_hsubs_PosPick$() { if ((!$n_Lhypersubs_hsubs_PosPick$)) { $n_Lhypersubs_hsubs_PosPick$ = new $c_Lhypersubs_hsubs_PosPick$().init___() }; return $n_Lhypersubs_hsubs_PosPick$ } /** @constructor */ function $c_Lhypersubs_hsubs_Selection() { $c_O.call(this); this.posGroups$1 = null; this.roleOf$1 = null; this.posGroupsByPosition$1 = null } $c_Lhypersubs_hsubs_Selection.prototype = new $h_O(); $c_Lhypersubs_hsubs_Selection.prototype.constructor = $c_Lhypersubs_hsubs_Selection; /** @constructor */ function $h_Lhypersubs_hsubs_Selection() { /*<skip>*/ } $h_Lhypersubs_hsubs_Selection.prototype = $c_Lhypersubs_hsubs_Selection.prototype; $c_Lhypersubs_hsubs_Selection.prototype.pickOneManually__Lhypersubs_Player__Lhypersubs_hsubs_Selection = (function(chosenOne) { var targetGroup = $as_Lhypersubs_hsubs_PosGroupPick(this.posGroupsByPosition$1.apply__O__O(chosenOne.position$1)); var jsx$3 = $m_Lhypersubs_hsubs_Selection$(); var jsx$2 = this.posGroups$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(chosenOne$1, targetGroup$1) { return (function(group$2) { var group = $as_Lhypersubs_hsubs_PosGroupPick(group$2); return ((group === targetGroup$1) ? group.pickOneManually__Lhypersubs_Player__Lhypersubs_hsubs_PosGroupPick(chosenOne$1) : group) }) })(chosenOne, targetGroup)); var this$1 = $m_sc_Seq$(); return jsx$3.hypersubs$hsubs$Selection$$apply__sc_Seq__Lhypersubs_hsubs_Selection($as_sc_Seq(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2))) }); $c_Lhypersubs_hsubs_Selection.prototype.greatestChoosableCount__I = (function() { var jsx$2 = this.posGroups$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$3$2) { var x$3 = $as_Lhypersubs_hsubs_PosGroupPick(x$3$2); return x$3.greatestChoosableCount__I() })); var this$1 = $m_sc_Seq$(); return $uI($as_sc_TraversableOnce(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).max__s_math_Ordering__O($m_s_math_Ordering$Int$())) }); $c_Lhypersubs_hsubs_Selection.prototype.init___sc_Seq__sci_Map = (function(posGroups, roleOf) { this.posGroups$1 = posGroups; this.roleOf$1 = roleOf; var this$1 = $m_Lhypersubs_Position$().All$1; var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(x$1$2) { var x$1 = $uI(x$1$2); return $as_Lhypersubs_hsubs_PosGroupPick(arg$outer.posGroups$1.apply__I__O(x$1)) }) })(this)); this.posGroupsByPosition$1 = new $c_sci_MapLike$$anon$2().init___sci_MapLike__F1(this$1, f); return this }); $c_Lhypersubs_hsubs_Selection.prototype.isEquivalentTo__Lhypersubs_hsubs_Selection__Z = (function(another) { var this$1 = $m_Lhypersubs_Position$().All$1; var this$2 = new $c_sci_MapLike$ImmutableDefaultKeySet().init___sci_MapLike(this$1); var this$3 = this$2.$$outer$f.keysIterator__sc_Iterator(); var res = true; while ((res && this$3.hasNext__Z())) { var arg1 = this$3.next__O(); var pos = $as_Lhypersubs_Position(arg1); res = $as_Lhypersubs_hsubs_PosGroupPick(this.posGroupsByPosition$1.apply__O__O(pos)).isEquivalentTo__Lhypersubs_hsubs_PosGroupPick__Z($as_Lhypersubs_hsubs_PosGroupPick(another.posGroupsByPosition$1.apply__O__O(pos))) }; return res }); $c_Lhypersubs_hsubs_Selection.prototype.isComplete__Z = (function() { return this.posGroups$1.forall__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$4$2) { var x$4 = $as_Lhypersubs_hsubs_PosGroupPick(x$4$2); return x$4.isComplete__Z() }))) }); $c_Lhypersubs_hsubs_Selection.prototype.allPlayers__sc_Seq = (function() { return $as_sc_Seq(this.posGroups$1.foldLeft__O__F2__O($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable($m_sci_Nil$()), new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function(x$5$2, x$6$2) { var x$5 = $as_sc_Seq(x$5$2); var x$6 = $as_Lhypersubs_hsubs_PosGroupPick(x$6$2); var jsx$1 = x$6.allPlayers__sc_Seq(); var this$1 = $m_sc_Seq$(); return $as_sc_Seq(x$5.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)) })))) }); $c_Lhypersubs_hsubs_Selection.prototype.isDangerouslySelected__Z = (function() { return this.posGroups$1.exists__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$2$2) { var x$2 = $as_Lhypersubs_hsubs_PosGroupPick(x$2$2); return x$2.isDangerouslySelected__Z() }))) }); function $is_Lhypersubs_hsubs_Selection(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_hsubs_Selection))) } function $as_Lhypersubs_hsubs_Selection(obj) { return (($is_Lhypersubs_hsubs_Selection(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.hsubs.Selection")) } function $isArrayOf_Lhypersubs_hsubs_Selection(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_hsubs_Selection))) } function $asArrayOf_Lhypersubs_hsubs_Selection(obj, depth) { return (($isArrayOf_Lhypersubs_hsubs_Selection(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.hsubs.Selection;", depth)) } var $d_Lhypersubs_hsubs_Selection = new $TypeData().initClass({ Lhypersubs_hsubs_Selection: 0 }, false, "hypersubs.hsubs.Selection", { Lhypersubs_hsubs_Selection: 1, O: 1 }); $c_Lhypersubs_hsubs_Selection.prototype.$classData = $d_Lhypersubs_hsubs_Selection; /** @constructor */ function $c_Lhypersubs_hsubs_Selection$() { $c_O.call(this) } $c_Lhypersubs_hsubs_Selection$.prototype = new $h_O(); $c_Lhypersubs_hsubs_Selection$.prototype.constructor = $c_Lhypersubs_hsubs_Selection$; /** @constructor */ function $h_Lhypersubs_hsubs_Selection$() { /*<skip>*/ } $h_Lhypersubs_hsubs_Selection$.prototype = $c_Lhypersubs_hsubs_Selection$.prototype; $c_Lhypersubs_hsubs_Selection$.prototype.init___ = (function() { return this }); $c_Lhypersubs_hsubs_Selection$.prototype.indexByPlayer__p1__sc_Seq__sci_Map = (function(posGroups) { var indexed = $as_scm_Map($m_scm_Map$().apply__sc_Seq__sc_GenMap($m_sci_Nil$())); var benchStartForCL = new $c_sr_IntRef().init___I(0); posGroups.foreach__F1__V(new $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1().init___scm_Map__sr_IntRef(indexed, benchStartForCL)); var ev = $m_s_Predef$().singleton$und$less$colon$less$2; var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); indexed.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this, b$1, ev$1) { return (function(x$2) { return b$1.$$plus$eq__O__scm_Builder(x$2) }) })(indexed, b, ev))); return $as_sci_Map(b.elems$1) }); $c_Lhypersubs_hsubs_Selection$.prototype.hypersubs$hsubs$Selection$$addToIndex__Lhypersubs_hsubs_PosPick__scm_Map__I__V = (function(singlePos, indexed, benchStart) { var self = $m_Lhypersubs_hsubs_package$Limbo$(); var y = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(singlePos$1) { return (function() { return singlePos$1.choosable$1 }) })(singlePos)); var jsx$2 = new $c_T2().init___O__O(self, y); var self$1 = $m_Lhypersubs_hsubs_package$Bench$(); var y$1 = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(singlePos$1$1) { return (function() { return singlePos$1$1.onTheBench$1 }) })(singlePos)); var jsx$1 = new $c_T2().init___O__O(self$1, y$1); var self$2 = $m_Lhypersubs_hsubs_package$Team$(); var y$2 = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(singlePos$1$2) { return (function() { return singlePos$1$2.chosen$1 }) })(singlePos)); var array = [jsx$2, jsx$1, new $c_T2().init___O__O(self$2, y$2)]; var this$8 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$8.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; var playersPerArea = $as_sci_Map(this$8.elems$1); var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$1$2) { var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); return (check$ifrefutable$1 !== null) })); new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(playersPerArea, p).foreach__F1__V(new $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2().init___Lhypersubs_hsubs_PosPick__scm_Map__I__sci_Map(singlePos, indexed, benchStart, playersPerArea)) }); $c_Lhypersubs_hsubs_Selection$.prototype.hypersubs$hsubs$Selection$$apply__sc_Seq__Lhypersubs_hsubs_Selection = (function(posGroups) { return new $c_Lhypersubs_hsubs_Selection().init___sc_Seq__sci_Map(posGroups, this.indexByPlayer__p1__sc_Seq__sci_Map(posGroups)) }); $c_Lhypersubs_hsubs_Selection$.prototype.apply__sc_Seq__Z__Lhypersubs_hsubs_Selection = (function(squad, smartFill) { var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$7$2) { var x$7 = $as_Lhypersubs_Player(x$7$2); return x$7.position$1 })); var playersByPosition = $s_sc_TraversableLike$class__groupBy__sc_TraversableLike__F1__sci_Map(squad, f); return $m_Lhypersubs_hsubs_Selection$().hypersubs$hsubs$Selection$$apply__sc_Seq__Lhypersubs_hsubs_Selection($as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_hsubs_PosGroupPick$().apply__sci_Map__sc_Seq__I__Z__Lhypersubs_hsubs_PosGroupPick(playersByPosition, $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_GK$()]))), 1, smartFill), $m_Lhypersubs_hsubs_PosGroupPick$().apply__sci_Map__sc_Seq__I__Z__Lhypersubs_hsubs_PosGroupPick(playersByPosition, $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_FB$()]))), 2, smartFill), $m_Lhypersubs_hsubs_PosGroupPick$().apply__sci_Map__sc_Seq__I__Z__Lhypersubs_hsubs_PosGroupPick(playersByPosition, $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_CB$(), $m_Lhypersubs_MF$(), $m_Lhypersubs_ST$()]))), 8, smartFill)])))) }); var $d_Lhypersubs_hsubs_Selection$ = new $TypeData().initClass({ Lhypersubs_hsubs_Selection$: 0 }, false, "hypersubs.hsubs.Selection$", { Lhypersubs_hsubs_Selection$: 1, O: 1 }); $c_Lhypersubs_hsubs_Selection$.prototype.$classData = $d_Lhypersubs_hsubs_Selection$; var $n_Lhypersubs_hsubs_Selection$ = (void 0); function $m_Lhypersubs_hsubs_Selection$() { if ((!$n_Lhypersubs_hsubs_Selection$)) { $n_Lhypersubs_hsubs_Selection$ = new $c_Lhypersubs_hsubs_Selection$().init___() }; return $n_Lhypersubs_hsubs_Selection$ } /** @constructor */ function $c_Lhypersubs_hsubs_Smartfill$SmartGroup() { $c_O.call(this); this.group$1 = null } $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype = new $h_O(); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.constructor = $c_Lhypersubs_hsubs_Smartfill$SmartGroup; /** @constructor */ function $h_Lhypersubs_hsubs_Smartfill$SmartGroup() { /*<skip>*/ } $h_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype = $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype; $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.hypersubs$hsubs$Smartfill$SmartGroup$$benchLikelyUndesirables$1__Lhypersubs_hsubs_PosPick__Lhypersubs_hsubs_PosPick = (function(pick) { return pick.bench__sc_Seq__Lhypersubs_hsubs_PosPick($as_sc_Seq(pick.choosable$1.filter__F1__O(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(player$2) { var player = $as_Lhypersubs_Player(player$2); return ((!player.isLikelyActive__Z()) || (!player.isSafe__Z())) }))))) }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.hypersubs$hsubs$Smartfill$SmartGroup$$hasEnoughChoosables$1__Lhypersubs_hsubs_PosPick__Z = (function(pick) { return (pick.choosable$1.size__I() >= pick.min$1) }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.hypersubs$hsubs$Smartfill$SmartGroup$$fitsInPositionAndIsChoosable$1__Lhypersubs_hsubs_PosPick__I = (function(pick) { var a = pick.max$1; var b = pick.choosable$1.size__I(); return ((a < b) ? a : b) }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.hypersubs$hsubs$Smartfill$SmartGroup$$isCrowded$1__Lhypersubs_hsubs_PosPick__Z = (function(pick) { return (new $c_Lhypersubs_hsubs_Smartfill$SmartPosPick().init___Lhypersubs_hsubs_PosPick(pick).likelyActiveCount__I() > pick.max$1) }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.pruneSelection__Lhypersubs_hsubs_PosGroupPick = (function() { var jsx$2 = this.group$1.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(pick$2) { var pick = $as_Lhypersubs_hsubs_PosPick(pick$2); return arg$outer.hypersubs$hsubs$Smartfill$SmartGroup$$benchLikelyUndesirables$1__Lhypersubs_hsubs_PosPick__Lhypersubs_hsubs_PosPick(pick) }) })(this)); var this$1 = $m_sc_Seq$(); var hypotheticalTeam = $as_sc_Seq(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)); var jsx$3 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$1) { return (function(pick$2$1) { var pick$1 = $as_Lhypersubs_hsubs_PosPick(pick$2$1); return arg$outer$1.hypersubs$hsubs$Smartfill$SmartGroup$$fitsInPositionAndIsChoosable$1__Lhypersubs_hsubs_PosPick__I(pick$1) }) })(this)); var this$2 = $m_sc_Seq$(); var groupTotalOfFittingChoosables = $uI($as_sc_TraversableOnce(hypotheticalTeam.map__F1__scg_CanBuildFrom__O(jsx$3, this$2.ReusableCBFInstance$2)).sum__s_math_Numeric__O($m_s_math_Numeric$IntIsIntegral$())); return ((hypotheticalTeam.forall__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$2) { return (function(pick$2$2) { var pick$3 = $as_Lhypersubs_hsubs_PosPick(pick$2$2); return arg$outer$2.hypersubs$hsubs$Smartfill$SmartGroup$$hasEnoughChoosables$1__Lhypersubs_hsubs_PosPick__Z(pick$3) }) })(this))) && (groupTotalOfFittingChoosables >= this.group$1.slotsLeft$1)) ? this.group$1.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$39$2) { var x$39 = $as_Lhypersubs_hsubs_PosPick(x$39$2); return new $c_Lhypersubs_hsubs_Smartfill$SmartPosPick().init___Lhypersubs_hsubs_PosPick(x$39).benchAllInactives__Lhypersubs_hsubs_PosPick() }))) : this.group$1) }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.likelyActiveCount__I = (function() { var jsx$2 = this.group$1.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$38$2) { var x$38 = $as_Lhypersubs_hsubs_PosPick(x$38$2); return new $c_Lhypersubs_hsubs_Smartfill$SmartPosPick().init___Lhypersubs_hsubs_PosPick(x$38).likelyActiveCount__I() })); var this$2 = $m_sc_Seq$(); return $uI($as_sc_TraversableOnce(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$2.ReusableCBFInstance$2)).sum__s_math_Numeric__O($m_s_math_Numeric$IntIsIntegral$())) }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.hypersubs$hsubs$Smartfill$SmartGroup$$isNonTrivial$1__Lhypersubs_hsubs_PosPick__Z = (function(pick) { return (this.hypersubs$hsubs$Smartfill$SmartGroup$$isCrowded$1__Lhypersubs_hsubs_PosPick__Z(pick) || new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(pick).containsDanger__Z()) }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.init___Lhypersubs_hsubs_PosGroupPick = (function(group) { this.group$1 = group; return this }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.hypersubs$hsubs$Smartfill$SmartGroup$$probableUnimportantSlotsInSinglePick$1__Lhypersubs_hsubs_PosPick__I = (function(pick) { var b = ((pick.min$1 - new $c_Lhypersubs_hsubs_Smartfill$SmartPosPick().init___Lhypersubs_hsubs_PosPick(pick).likelyActiveCount__I()) | 0); return ((b < 0) ? 0 : b) }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.fieldUnconflictingSafes__Lhypersubs_hsubs_PosGroupPick = (function() { var jsx$3 = this.group$1.slotsLeft$1; var jsx$2 = this.group$1.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(pick$2) { var pick = $as_Lhypersubs_hsubs_PosPick(pick$2); return arg$outer.hypersubs$hsubs$Smartfill$SmartGroup$$probableUnimportantSlotsInSinglePick$1__Lhypersubs_hsubs_PosPick__I(pick) }) })(this)); var this$1 = $m_sc_Seq$(); var unimportantSlotsAtLeast = ((jsx$3 - $uI($as_sc_TraversableOnce(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)).sum__s_math_Numeric__O($m_s_math_Numeric$IntIsIntegral$()))) | 0); var group = this.group$1; var groupTotalActivesLowEnough = (new $c_Lhypersubs_hsubs_Smartfill$SmartGroup().init___Lhypersubs_hsubs_PosGroupPick(group).likelyActiveCount__I() <= unimportantSlotsAtLeast); return ((groupTotalActivesLowEnough && (this.group$1.positions$1.count__F1__I(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$1) { return (function(pick$2$1) { var pick$1 = $as_Lhypersubs_hsubs_PosPick(pick$2$1); return arg$outer$1.hypersubs$hsubs$Smartfill$SmartGroup$$isCrowded$1__Lhypersubs_hsubs_PosPick__Z(pick$1) }) })(this))) <= 1)) ? this.group$1.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$2) { return (function(pick$2$2) { var pick$3 = $as_Lhypersubs_hsubs_PosPick(pick$2$2); return (arg$outer$2.hypersubs$hsubs$Smartfill$SmartGroup$$isNonTrivial$1__Lhypersubs_hsubs_PosPick__Z(pick$3) ? pick$3 : new $c_Lhypersubs_hsubs_Smartfill$SmartPosPick().init___Lhypersubs_hsubs_PosPick(pick$3).fieldAllActives__Lhypersubs_hsubs_PosPick()) }) })(this))) : this.group$1) }); var $d_Lhypersubs_hsubs_Smartfill$SmartGroup = new $TypeData().initClass({ Lhypersubs_hsubs_Smartfill$SmartGroup: 0 }, false, "hypersubs.hsubs.Smartfill$SmartGroup", { Lhypersubs_hsubs_Smartfill$SmartGroup: 1, O: 1 }); $c_Lhypersubs_hsubs_Smartfill$SmartGroup.prototype.$classData = $d_Lhypersubs_hsubs_Smartfill$SmartGroup; /** @constructor */ function $c_Lhypersubs_hsubs_Smartfill$SmartPosPick() { $c_O.call(this); this.pick$1 = null } $c_Lhypersubs_hsubs_Smartfill$SmartPosPick.prototype = new $h_O(); $c_Lhypersubs_hsubs_Smartfill$SmartPosPick.prototype.constructor = $c_Lhypersubs_hsubs_Smartfill$SmartPosPick; /** @constructor */ function $h_Lhypersubs_hsubs_Smartfill$SmartPosPick() { /*<skip>*/ } $h_Lhypersubs_hsubs_Smartfill$SmartPosPick.prototype = $c_Lhypersubs_hsubs_Smartfill$SmartPosPick.prototype; $c_Lhypersubs_hsubs_Smartfill$SmartPosPick.prototype.fieldAllActives__Lhypersubs_hsubs_PosPick = (function() { return this.pick$1.field__sc_Seq__Lhypersubs_hsubs_PosPick($as_sc_Seq(this.pick$1.choosable$1.filter__F1__O(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$35$2) { var x$35 = $as_Lhypersubs_Player(x$35$2); return x$35.isLikelyActive__Z() }))))) }); $c_Lhypersubs_hsubs_Smartfill$SmartPosPick.prototype.likelyActiveCount__I = (function() { return this.pick$1.choosable$1.count__F1__I(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$37$2) { var x$37 = $as_Lhypersubs_Player(x$37$2); return x$37.isLikelyActive__Z() }))) }); $c_Lhypersubs_hsubs_Smartfill$SmartPosPick.prototype.init___Lhypersubs_hsubs_PosPick = (function(pick) { this.pick$1 = pick; return this }); $c_Lhypersubs_hsubs_Smartfill$SmartPosPick.prototype.benchAllInactives__Lhypersubs_hsubs_PosPick = (function() { var jsx$1 = this.pick$1; var this$1 = this.pick$1.choosable$1; var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$36$2) { var x$36 = $as_Lhypersubs_Player(x$36$2); return x$36.isLikelyActive__Z() })); return jsx$1.bench__sc_Seq__Lhypersubs_hsubs_PosPick($as_sc_Seq($s_sc_TraversableLike$class__filterImpl__p0__sc_TraversableLike__F1__Z__O(this$1, p, true))) }); var $d_Lhypersubs_hsubs_Smartfill$SmartPosPick = new $TypeData().initClass({ Lhypersubs_hsubs_Smartfill$SmartPosPick: 0 }, false, "hypersubs.hsubs.Smartfill$SmartPosPick", { Lhypersubs_hsubs_Smartfill$SmartPosPick: 1, O: 1 }); $c_Lhypersubs_hsubs_Smartfill$SmartPosPick.prototype.$classData = $d_Lhypersubs_hsubs_Smartfill$SmartPosPick; /** @constructor */ function $c_Lhypersubs_hsubs_package$HypersubsArea() { $c_O.call(this) } $c_Lhypersubs_hsubs_package$HypersubsArea.prototype = new $h_O(); $c_Lhypersubs_hsubs_package$HypersubsArea.prototype.constructor = $c_Lhypersubs_hsubs_package$HypersubsArea; /** @constructor */ function $h_Lhypersubs_hsubs_package$HypersubsArea() { /*<skip>*/ } $h_Lhypersubs_hsubs_package$HypersubsArea.prototype = $c_Lhypersubs_hsubs_package$HypersubsArea.prototype; function $is_Lhypersubs_hsubs_package$HypersubsArea(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_hsubs_package$HypersubsArea))) } function $as_Lhypersubs_hsubs_package$HypersubsArea(obj) { return (($is_Lhypersubs_hsubs_package$HypersubsArea(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.hsubs.package$HypersubsArea")) } function $isArrayOf_Lhypersubs_hsubs_package$HypersubsArea(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_hsubs_package$HypersubsArea))) } function $asArrayOf_Lhypersubs_hsubs_package$HypersubsArea(obj, depth) { return (($isArrayOf_Lhypersubs_hsubs_package$HypersubsArea(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.hsubs.package$HypersubsArea;", depth)) } /** @constructor */ function $c_Lhypersubs_hsubs_package$MatchdayRole() { $c_O.call(this); this.group$1 = null; this.position$1 = null; this.index$1 = 0; this.of$1 = 0 } $c_Lhypersubs_hsubs_package$MatchdayRole.prototype = new $h_O(); $c_Lhypersubs_hsubs_package$MatchdayRole.prototype.constructor = $c_Lhypersubs_hsubs_package$MatchdayRole; /** @constructor */ function $h_Lhypersubs_hsubs_package$MatchdayRole() { /*<skip>*/ } $h_Lhypersubs_hsubs_package$MatchdayRole.prototype = $c_Lhypersubs_hsubs_package$MatchdayRole.prototype; $c_Lhypersubs_hsubs_package$MatchdayRole.prototype.init___Lhypersubs_hsubs_package$HypersubsArea__Lhypersubs_Position__I__I = (function(group, position, index, of) { this.group$1 = group; this.position$1 = position; this.index$1 = index; this.of$1 = of; return this }); $c_Lhypersubs_hsubs_package$MatchdayRole.prototype.isInLimbo__Z = (function() { var x = this.group$1; var x$2 = $m_Lhypersubs_hsubs_package$Limbo$(); return ((x !== null) && (x === x$2)) }); function $is_Lhypersubs_hsubs_package$MatchdayRole(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_hsubs_package$MatchdayRole))) } function $as_Lhypersubs_hsubs_package$MatchdayRole(obj) { return (($is_Lhypersubs_hsubs_package$MatchdayRole(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.hsubs.package$MatchdayRole")) } function $isArrayOf_Lhypersubs_hsubs_package$MatchdayRole(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_hsubs_package$MatchdayRole))) } function $asArrayOf_Lhypersubs_hsubs_package$MatchdayRole(obj, depth) { return (($isArrayOf_Lhypersubs_hsubs_package$MatchdayRole(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.hsubs.package$MatchdayRole;", depth)) } /** @constructor */ function $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI() { $c_O.call(this); this.jquery$1 = null } $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype = new $h_O(); $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype.constructor = $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI; /** @constructor */ function $h_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI() { /*<skip>*/ } $h_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype = $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype; $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype.init___Lorg_querki_jquery_JQuery = (function(jquery) { this.jquery$1 = jquery; return this }); $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype.buttonFlag__T__Z = (function(name) { return $uZ(this.jquery$1.button("option", name)) }); $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype.dialogPosition__Lhypersubs_package$Location__V = (function(position) { this.jquery$1.dialog("option", "position", $m_Lhypersubs_package$().loc2JSDict__Lhypersubs_package$Location__sjs_js_Dictionary(position)) }); $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype.dialogOption__T__T__Lorg_querki_jquery_JQuery = (function(name, value) { return this.jquery$1.dialog("option", name, value) }); $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype.buttonOption__T__sjs_js_Any__Lorg_querki_jquery_JQuery = (function(name, value) { return this.jquery$1.button("option", name, value) }); var $d_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI = new $TypeData().initClass({ Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI: 0 }, false, "hypersubs.jqueryui$ConvenienceMethodsForJQueryUI", { Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI: 1, O: 1 }); $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI.prototype.$classData = $d_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI; /** @constructor */ function $c_Lhypersubs_package$() { $c_O.call(this); this.Window$1 = null; this.Document$1 = null; this.stringCollator$1 = null } $c_Lhypersubs_package$.prototype = new $h_O(); $c_Lhypersubs_package$.prototype.constructor = $c_Lhypersubs_package$; /** @constructor */ function $h_Lhypersubs_package$() { /*<skip>*/ } $h_Lhypersubs_package$.prototype = $c_Lhypersubs_package$.prototype; $c_Lhypersubs_package$.prototype.init___ = (function() { $n_Lhypersubs_package$ = this; this.Window$1 = $m_Lorg_scalajs_dom_package$().window__Lorg_scalajs_dom_raw_Window().self; this.Document$1 = $m_Lorg_scalajs_dom_package$().document__Lorg_scalajs_dom_raw_HTMLDocument(); this.stringCollator$1 = new $g.Intl.Collator("uk"); return this }); $c_Lhypersubs_package$.prototype.httpOrHttps__s_Option = (function() { var this$1 = new $c_s_Some().init___O($as_T(this.Window$1.location.protocol)); var arg1 = this$1.x$2; var p = $as_T(arg1); if (((p === "https:") || (p === "http:"))) { var protocol = this$1 } else { var protocol = $m_s_None$() }; if (protocol.isEmpty__Z()) { this.log__O__V(("Unexpected protocol: " + $as_T(this.Window$1.location.protocol))) }; return protocol }); $c_Lhypersubs_package$.prototype.loc2JSDict__Lhypersubs_package$Location__sjs_js_Dictionary = (function(location) { var jsx$5 = $m_sjs_js_Dictionary$(); var s = location.my$1; var jsx$4 = new $c_T2().init___O__O("my", s); var s$1 = location.at$1; var jsx$3 = new $c_T2().init___O__O("at", s$1); var y = location.of$1; var jsx$2 = new $c_T2().init___O__O("of", y); var s$2 = location.offset$1; var jsx$1 = new $c_T2().init___O__O("offset", s$2); var s$3 = location.collision$1; return jsx$5.apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([jsx$4, jsx$3, jsx$2, jsx$1, new $c_T2().init___O__O("collision", s$3)])) }); $c_Lhypersubs_package$.prototype.alert__F1 = (function() { return new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(message$2) { $g.alert(message$2) })) }); $c_Lhypersubs_package$.prototype.compareStrings__T__T__I = (function(s1, s2) { var doubleResultFromJS = $uD(this.stringCollator$1.compare(s1, s2)); return ((doubleResultFromJS < 0) ? (-1) : ((doubleResultFromJS > 0) ? 1 : 0)) }); $c_Lhypersubs_package$.prototype.log__O__V = (function(message) { var x = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Hypersubs: ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([((message === null) ? "null" : $objectToString(message))])); var this$2 = $m_s_Console$(); var this$3 = $as_Ljava_io_PrintStream(this$2.outVar$2.v$1); this$3.java$lang$JSConsoleBasedPrintStream$$printString__T__V((x + "\n")) }); $c_Lhypersubs_package$.prototype.error__T__sr_Nothing$ = (function(message) { throw new $c_Lhypersubs_package$HypersubsException().init___T(message) }); var $d_Lhypersubs_package$ = new $TypeData().initClass({ Lhypersubs_package$: 0 }, false, "hypersubs.package$", { Lhypersubs_package$: 1, O: 1 }); $c_Lhypersubs_package$.prototype.$classData = $d_Lhypersubs_package$; var $n_Lhypersubs_package$ = (void 0); function $m_Lhypersubs_package$() { if ((!$n_Lhypersubs_package$)) { $n_Lhypersubs_package$ = new $c_Lhypersubs_package$().init___() }; return $n_Lhypersubs_package$ } /** @constructor */ function $c_Lhypersubs_package$BlingThrowable() { $c_O.call(this); this.throwable$1 = null } $c_Lhypersubs_package$BlingThrowable.prototype = new $h_O(); $c_Lhypersubs_package$BlingThrowable.prototype.constructor = $c_Lhypersubs_package$BlingThrowable; /** @constructor */ function $h_Lhypersubs_package$BlingThrowable() { /*<skip>*/ } $h_Lhypersubs_package$BlingThrowable.prototype = $c_Lhypersubs_package$BlingThrowable.prototype; $c_Lhypersubs_package$BlingThrowable.prototype.init___jl_Throwable = (function(throwable) { this.throwable$1 = throwable; return this }); var $d_Lhypersubs_package$BlingThrowable = new $TypeData().initClass({ Lhypersubs_package$BlingThrowable: 0 }, false, "hypersubs.package$BlingThrowable", { Lhypersubs_package$BlingThrowable: 1, O: 1 }); $c_Lhypersubs_package$BlingThrowable.prototype.$classData = $d_Lhypersubs_package$BlingThrowable; /** @constructor */ function $c_Lhypersubs_package$JQueryOps() { $c_O.call(this); this.q$1 = null } $c_Lhypersubs_package$JQueryOps.prototype = new $h_O(); $c_Lhypersubs_package$JQueryOps.prototype.constructor = $c_Lhypersubs_package$JQueryOps; /** @constructor */ function $h_Lhypersubs_package$JQueryOps() { /*<skip>*/ } $h_Lhypersubs_package$JQueryOps.prototype = $c_Lhypersubs_package$JQueryOps.prototype; $c_Lhypersubs_package$JQueryOps.prototype.init___Lorg_querki_jquery_JQuery = (function(q) { this.q$1 = q; return this }); $c_Lhypersubs_package$JQueryOps.prototype.matchesMoreThanOnce__Z = (function() { return ($uI(this.q$1.length) > 1) }); $c_Lhypersubs_package$JQueryOps.prototype.matchesNothing__Z = (function() { return ($uI(this.q$1.length) === 0) }); $c_Lhypersubs_package$JQueryOps.prototype.appearsThoughItShouldnt__T__Z = (function(message) { var v1 = $uI(this.q$1.length); var fails = (!(v1 < 1)); if (fails) { $m_Lhypersubs_package$().log__O__V(message) }; return fails }); $c_Lhypersubs_package$JQueryOps.prototype.headOption__s_Option = (function() { $m_Lhypersubs_package$(); var q = this.q$1; if (new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(q).matchesNothing__Z()) { return $m_s_None$() } else { return new $c_s_Some().init___O(this.q$1[0]) } }); $c_Lhypersubs_package$JQueryOps.prototype.failsToMatchAtLeastOnce__T__Z = (function(message) { var v1 = $uI(this.q$1.length); var fails = (!(v1 >= 1)); if (fails) { $m_Lhypersubs_package$().log__O__V(message) }; return fails }); $c_Lhypersubs_package$JQueryOps.prototype.matchesExactlyOnce__Z = (function() { return ($uI(this.q$1.length) === 1) }); $c_Lhypersubs_package$JQueryOps.prototype.failsToMatchExactlyOnce__T__Z = (function(message) { var v1 = $uI(this.q$1.length); var fails = (!(v1 === 1)); if (fails) { $m_Lhypersubs_package$().log__O__V(message) }; return fails }); $c_Lhypersubs_package$JQueryOps.prototype.failsToMatchAtMostOnce__T__Z = (function(message) { var v1 = $uI(this.q$1.length); var fails = (!(v1 <= 1)); if (fails) { $m_Lhypersubs_package$().log__O__V(message) }; return fails }); var $d_Lhypersubs_package$JQueryOps = new $TypeData().initClass({ Lhypersubs_package$JQueryOps: 0 }, false, "hypersubs.package$JQueryOps", { Lhypersubs_package$JQueryOps: 1, O: 1 }); $c_Lhypersubs_package$JQueryOps.prototype.$classData = $d_Lhypersubs_package$JQueryOps; /** @constructor */ function $c_Lhypersubs_package$RegexContext() { $c_O.call(this); this.interpolated$1 = null } $c_Lhypersubs_package$RegexContext.prototype = new $h_O(); $c_Lhypersubs_package$RegexContext.prototype.constructor = $c_Lhypersubs_package$RegexContext; /** @constructor */ function $h_Lhypersubs_package$RegexContext() { /*<skip>*/ } $h_Lhypersubs_package$RegexContext.prototype = $c_Lhypersubs_package$RegexContext.prototype; $c_Lhypersubs_package$RegexContext.prototype.init___s_StringContext = (function(interpolated) { this.interpolated$1 = interpolated; return this }); $c_Lhypersubs_package$RegexContext.prototype.r__s_util_matching_Regex = (function() { var jsx$3 = this.interpolated$1.parts$1.mkString__T(); var jsx$2 = $as_sc_TraversableLike(this.interpolated$1.parts$1.tail__O()); var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$1$2) { $as_T(x$1$2); return "unnamedGroup" })); var this$1 = $m_sc_Seq$(); return new $c_s_util_matching_Regex().init___T__sc_Seq(jsx$3, $as_sc_Seq(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2))) }); var $d_Lhypersubs_package$RegexContext = new $TypeData().initClass({ Lhypersubs_package$RegexContext: 0 }, false, "hypersubs.package$RegexContext", { Lhypersubs_package$RegexContext: 1, O: 1 }); $c_Lhypersubs_package$RegexContext.prototype.$classData = $d_Lhypersubs_package$RegexContext; /** @constructor */ function $c_Lhypersubs_page_FixtureRow() { $c_O.call(this); this.checkbox$1 = null; this.player$1 = null } $c_Lhypersubs_page_FixtureRow.prototype = new $h_O(); $c_Lhypersubs_page_FixtureRow.prototype.constructor = $c_Lhypersubs_page_FixtureRow; /** @constructor */ function $h_Lhypersubs_page_FixtureRow() { /*<skip>*/ } $h_Lhypersubs_page_FixtureRow.prototype = $c_Lhypersubs_page_FixtureRow.prototype; $c_Lhypersubs_page_FixtureRow.prototype.init___T__I__Lorg_scalajs_dom_raw_Element = (function(currentDate, shirtNumber, rowElem) { var found = (0, $m_Lorg_querki_jquery_package$().$$$1)(rowElem).find("td:nth(0) input[type='checkbox']"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(found)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of ", " elements: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["checkbox", $uI(found.length)]))) }; var this$6 = new $c_s_Some().init___O(found); this.checkbox$1 = this$6.x$2; var found$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)(rowElem).find("td:nth(1) div[class*='pos']"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(found$1)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of ", " elements: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["playing position", $uI(found$1.length)]))) }; var this$12 = $m_Lhypersubs_page_FixtureRow$().extractPosition__Lorg_querki_jquery_JQuery__s_Option(found$1); var position = $as_Lhypersubs_Position((this$12.isEmpty__Z() ? $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["The ", " is missing or has an unexpected format in: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["playing position", $as_T(found$1.html())]))) : this$12.get__O())); var found$2 = (0, $m_Lorg_querki_jquery_package$().$$$1)(rowElem).find("td:nth(2)"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(found$2)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of ", " elements: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["player name", $uI(found$2.length)]))) }; var this$18 = $m_Lhypersubs_page_FixtureRow$().extractText__Lorg_querki_jquery_JQuery__s_Option(found$2); var name = $as_T((this$18.isEmpty__Z() ? $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["The ", " is missing or has an unexpected format in: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["player name", $as_T(found$2.html())]))) : this$18.get__O())); var found$3 = (0, $m_Lorg_querki_jquery_package$().$$$1)(rowElem).find("td:nth(3)"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(found$3)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of ", " elements: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["status", $uI(found$3.length)]))) }; var this$24 = $m_Lhypersubs_page_FixtureRow$().extractStatus__Lorg_querki_jquery_JQuery__s_Option(found$3); var statusOfficial = $as_Lhypersubs_Status((this$24.isEmpty__Z() ? $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["The ", " is missing or has an unexpected format in: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["status", $as_T(found$3.html())]))) : this$24.get__O())); var found$4 = (0, $m_Lorg_querki_jquery_package$().$$$1)(rowElem).find("td:nth(3)"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(found$4)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of ", " elements: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["status title", $uI(found$4.length)]))) }; var this$30 = $m_Lhypersubs_page_FixtureRow$().extractStatusDetails__Lorg_querki_jquery_JQuery__s_Option(found$4); var statusDetailsOfficial = $as_T((this$30.isEmpty__Z() ? $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["The ", " is missing or has an unexpected format in: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["status title", $as_T(found$4.html())]))) : this$30.get__O())); var x$2 = $m_Lhypersubs_Injured$(); if (((statusOfficial !== null) && (statusOfficial === x$2))) { var wasInjured = $m_Lhypersubs_page_FixtureRow$().statusEnded__T__T__Z(currentDate, statusDetailsOfficial) } else { var wasInjured = false }; var x$4 = $m_Lhypersubs_Suspended$(); if (((statusOfficial !== null) && (statusOfficial === x$4))) { var jsx$1 = true } else { var x$6 = $m_Lhypersubs_InternationalDuty$(); var jsx$1 = ((statusOfficial !== null) && (statusOfficial === x$6)) }; if (jsx$1) { var isBack = $m_Lhypersubs_page_FixtureRow$().statusEnded__T__T__Z(currentDate, statusDetailsOfficial) } else { var isBack = false }; if (wasInjured) { var _1 = $m_Lhypersubs_Doubtful$(); var _2 = (statusDetailsOfficial + "<br/>(expected to return by this time)"); var x1_$_$$und1$f = _1; var x1_$_$$und2$f = _2 } else if (isBack) { var _1$1 = $m_Lhypersubs_ReadyToPlay$(); var x1_$_$$und1$f = _1$1; var x1_$_$$und2$f = statusDetailsOfficial } else { var x1_$_$$und1$f = statusOfficial; var x1_$_$$und2$f = statusDetailsOfficial }; var statusModified = $as_Lhypersubs_Status(x1_$_$$und1$f); var statusDetailsModified = $as_T(x1_$_$$und2$f); var jsx$2 = $m_Lhypersubs_Club$(); var found$5 = (0, $m_Lorg_querki_jquery_package$().$$$1)(rowElem).find("td:nth(4)"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(found$5)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of ", " elements: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["club name", $uI(found$5.length)]))) }; var this$36 = $m_Lhypersubs_page_FixtureRow$().extractText__Lorg_querki_jquery_JQuery__s_Option(found$5); var club = jsx$2.apply__T__Lhypersubs_Club($as_T((this$36.isEmpty__Z() ? $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["The ", " is missing or has an unexpected format in: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["club name", $as_T(found$5.html())]))) : this$36.get__O()))); if ((!$m_Lhypersubs_Club$().shirtPics$1.contains__O__Z(club))) { var jsx$3 = $m_Lhypersubs_Club$().shirtPics$1; var found$6 = (0, $m_Lorg_querki_jquery_package$().$$$1)(rowElem).find("td:nth(5) div[class*='club-tiny-']"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(found$6)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of ", " elements: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["club shirt pic", $uI(found$6.length)]))) }; var this$43 = $m_Lhypersubs_page_FixtureRow$().extractPicName__Lorg_querki_jquery_JQuery__s_Option(found$6); var y = (this$43.isEmpty__Z() ? $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["The ", " is missing or has an unexpected format in: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["club shirt pic", $as_T(found$6.html())]))) : this$43.get__O()); jsx$3.$$plus$eq__T2__scm_MapLike(new $c_T2().init___O__O(club, y)) }; var found$7 = (0, $m_Lorg_querki_jquery_package$().$$$1)(rowElem).find("td:nth(6)"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(found$7)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of ", " elements: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["opponent", $uI(found$7.length)]))) }; var this$50 = $m_Lhypersubs_page_FixtureRow$().extractOpposition__Lorg_querki_jquery_JQuery__s_Option(found$7); var opposition = $as_Lhypersubs_Opposition((this$50.isEmpty__Z() ? $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["The ", " is missing or has an unexpected format in: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["opponent", $as_T(found$7.html())]))) : this$50.get__O())); var found$8 = (0, $m_Lorg_querki_jquery_package$().$$$1)(rowElem).find("td:nth(6)"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(found$8)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of ", " elements: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["opponent", $uI(found$8.length)]))) }; var this$56 = $m_Lhypersubs_page_FixtureRow$().extractHome__Lorg_querki_jquery_JQuery__s_Option(found$8); var isAtHome = $uZ((this$56.isEmpty__Z() ? $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["The ", " is missing or has an unexpected format in: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["opponent", $as_T(found$8.html())]))) : this$56.get__O())); this.player$1 = new $c_Lhypersubs_Player().init___I__T__Lhypersubs_Position__Lhypersubs_Club__Lhypersubs_Opposition__Z__Lhypersubs_Status__T(shirtNumber, name, position, club, opposition, isAtHome, statusModified, statusDetailsModified); return this }); $c_Lhypersubs_page_FixtureRow.prototype.setCheckbox__Z__Lorg_querki_jquery_JQuery = (function(isSelected) { return (0, $m_Lorg_querki_jquery_package$().$$$1)(this.checkbox$1).prop("checked", isSelected) }); function $is_Lhypersubs_page_FixtureRow(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_page_FixtureRow))) } function $as_Lhypersubs_page_FixtureRow(obj) { return (($is_Lhypersubs_page_FixtureRow(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.page.FixtureRow")) } function $isArrayOf_Lhypersubs_page_FixtureRow(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_page_FixtureRow))) } function $asArrayOf_Lhypersubs_page_FixtureRow(obj, depth) { return (($isArrayOf_Lhypersubs_page_FixtureRow(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.page.FixtureRow;", depth)) } var $d_Lhypersubs_page_FixtureRow = new $TypeData().initClass({ Lhypersubs_page_FixtureRow: 0 }, false, "hypersubs.page.FixtureRow", { Lhypersubs_page_FixtureRow: 1, O: 1 }); $c_Lhypersubs_page_FixtureRow.prototype.$classData = $d_Lhypersubs_page_FixtureRow; /** @constructor */ function $c_Lhypersubs_page_FixtureRow$() { $c_O.call(this); this.Months$1 = null; this.CodesOnPageToPositions$1 = null; this.CodesOnPageToStatuses$1 = null } $c_Lhypersubs_page_FixtureRow$.prototype = new $h_O(); $c_Lhypersubs_page_FixtureRow$.prototype.constructor = $c_Lhypersubs_page_FixtureRow$; /** @constructor */ function $h_Lhypersubs_page_FixtureRow$() { /*<skip>*/ } $h_Lhypersubs_page_FixtureRow$.prototype = $c_Lhypersubs_page_FixtureRow$.prototype; $c_Lhypersubs_page_FixtureRow$.prototype.extractText__Lorg_querki_jquery_JQuery__s_Option = (function(rowElem) { var this$1 = new $c_s_Some().init___O($as_T(rowElem.text())); var arg1 = this$1.x$2; var x$8 = $as_T(arg1); var this$3 = new $c_sci_StringOps().init___T(x$8); if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$3)) { return this$1 } else { return $m_s_None$() } }); $c_Lhypersubs_page_FixtureRow$.prototype.init___ = (function() { $n_Lhypersubs_page_FixtureRow$ = this; this.Months$1 = $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]))); var y = $m_Lhypersubs_GK$(); var jsx$4 = new $c_T2().init___O__O("pos1", y); var y$1 = $m_Lhypersubs_FB$(); var jsx$3 = new $c_T2().init___O__O("pos2", y$1); var y$2 = $m_Lhypersubs_CB$(); var jsx$2 = new $c_T2().init___O__O("pos3", y$2); var y$3 = $m_Lhypersubs_MF$(); var jsx$1 = new $c_T2().init___O__O("pos4", y$3); var y$4 = $m_Lhypersubs_ST$(); var array = [jsx$4, jsx$3, jsx$2, jsx$1, new $c_T2().init___O__O("pos6", y$4)]; var this$12 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$12.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; this.CodesOnPageToPositions$1 = $as_sci_Map(this$12.elems$1); var y$5 = $m_Lhypersubs_Ineligible$(); var jsx$10 = new $c_T2().init___O__O("ineligible", y$5); var y$6 = $m_Lhypersubs_Suspended$(); var jsx$9 = new $c_T2().init___O__O("suspended", y$6); var y$7 = $m_Lhypersubs_InternationalDuty$(); var jsx$8 = new $c_T2().init___O__O("internationalduty", y$7); var y$8 = $m_Lhypersubs_Injured$(); var jsx$7 = new $c_T2().init___O__O("injured", y$8); var y$9 = $m_Lhypersubs_Doubtful$(); var jsx$6 = new $c_T2().init___O__O("doubtful", y$9); var y$10 = $m_Lhypersubs_LateFitnessTest$(); var jsx$5 = new $c_T2().init___O__O("latefitnesstest", y$10); var y$11 = $m_Lhypersubs_ReadyToPlay$(); var array$1 = [jsx$10, jsx$9, jsx$8, jsx$7, jsx$6, jsx$5, new $c_T2().init___O__O("ready", y$11)]; var this$28 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i$1 = 0; var len$1 = $uI(array$1.length); while ((i$1 < len$1)) { var index$1 = i$1; var arg1$1 = array$1[index$1]; this$28.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1$1)); i$1 = ((1 + i$1) | 0) }; this.CodesOnPageToStatuses$1 = $as_sci_Map(this$28.elems$1); return this }); $c_Lhypersubs_page_FixtureRow$.prototype.statusEnded__T__T__Z = (function(date, statusDetails) { matchEnd4: { var x1$2_$_$$und1$1; var x1$2_$_$$und2$1; var x1$2_$_$$und3$1; $m_Lhypersubs_package$(); var interpolated = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".*(\\d+)", "/(\\d+)", "/(\\d+)", ".*"])); var o7 = new $c_Lhypersubs_package$RegexContext().init___s_StringContext(interpolated).r__s_util_matching_Regex().unapplySeq__jl_CharSequence__s_Option(statusDetails); if ((!o7.isEmpty__Z())) { if ((o7.get__O() !== null)) { var this$2 = $as_sc_LinearSeqOptimized(o7.get__O()); var jsx$1 = ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$2, 3) === 0) } else { var jsx$1 = false }; if (jsx$1) { var this$3 = $as_sc_LinearSeqOptimized(o7.get__O()); var day = $as_T($s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this$3, 0)); var this$4 = $as_sc_LinearSeqOptimized(o7.get__O()); var month = $as_T($s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this$4, 1)); var this$5 = $as_sc_LinearSeqOptimized(o7.get__O()); var year = $as_T($s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this$5, 2)); var this$7 = new $c_sci_StringOps().init___T(day); var this$9 = $m_jl_Integer$(); var $$this = this$7.repr$1; var _1 = this$9.parseInt__T__I__I($$this, 10); var this$11 = new $c_sci_StringOps().init___T(month); var this$13 = $m_jl_Integer$(); var $$this$1 = this$11.repr$1; var _2 = this$13.parseInt__T__I__I($$this$1, 10); var this$15 = new $c_sci_StringOps().init___T(year); var this$17 = $m_jl_Integer$(); var $$this$2 = this$15.repr$1; var _3 = this$17.parseInt__T__I__I($$this$2, 10); var x1$2_$_$$und1$1 = _1; var x1$2_$_$$und2$1 = _2; var x1$2_$_$$und3$1 = _3; break matchEnd4 } }; $m_Lhypersubs_package$().log__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Warning: Failed to find return date in status details: ", ". Treating status as being immediately over."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([statusDetails]))); return true }; var expiryDay = $uI(x1$2_$_$$und1$1); var expiryMonth = $uI(x1$2_$_$$und2$1); var expiryYear = $uI(x1$2_$_$$und3$1); matchEnd4$2: { var x1$4_$_$$und1$f; var x1$4_$_$$und2$f; var x1$4_$_$$und1$mcI$sp$f; var x1$4_$_$$und2$mcI$sp$f; $m_Lhypersubs_package$(); var interpolated$1 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".*\\s+(\\d+)", "-([A-Z][a-z][a-z])", "\\s+.*"])); var o7$2 = new $c_Lhypersubs_package$RegexContext().init___s_StringContext(interpolated$1).r__s_util_matching_Regex().unapplySeq__jl_CharSequence__s_Option(date); if ((!o7$2.isEmpty__Z())) { if ((o7$2.get__O() !== null)) { var this$19 = $as_sc_LinearSeqOptimized(o7$2.get__O()); var jsx$2 = ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$19, 2) === 0) } else { var jsx$2 = false }; if (jsx$2) { var this$20 = $as_sc_LinearSeqOptimized(o7$2.get__O()); var day$2 = $as_T($s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this$20, 0)); var this$21 = $as_sc_LinearSeqOptimized(o7$2.get__O()); var month$2 = $as_T($s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this$21, 1)); var this$23 = new $c_sci_StringOps().init___T(day$2); var this$25 = $m_jl_Integer$(); var $$this$3 = this$23.repr$1; var _1$mcI$sp = this$25.parseInt__T__I__I($$this$3, 10); var _2$mcI$sp = this.Months$1.indexOf__O__I(month$2); var x1$4_$_$$und1$f = null; var x1$4_$_$$und2$f = null; var x1$4_$_$$und1$mcI$sp$f = _1$mcI$sp; var x1$4_$_$$und2$mcI$sp$f = _2$mcI$sp; break matchEnd4$2 } }; $m_Lhypersubs_package$().log__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Warning: Failed to parse fixture date: ", ". This can cause glitches in the durations of injuries/suspensions/etc."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([date]))); return true }; var fixtureDay = x1$4_$_$$und1$mcI$sp$f; var fixtureMonth = x1$4_$_$$und2$mcI$sp$f; if ((fixtureMonth < 0)) { $m_Lhypersubs_package$().log__O__V("Warning: Failed to parse date information. This can cause glitches in the durations of injuries/suspensions/etc."); return true }; var realTime = new $g.Date(); var realYear = $uI(realTime.getUTCFullYear()); var realMonth = $uI(realTime.getUTCMonth()); var expiryDate = new $g.Date(expiryYear, (((-1) + expiryMonth) | 0), expiryDay); var fixtureYear = (((realMonth < 6) || (fixtureMonth > 5)) ? realYear : ((1 + realYear) | 0)); var fixtureDate = new $g.Date(fixtureYear, fixtureMonth, fixtureDay); return ($uD(expiryDate.valueOf()) <= $uD(fixtureDate.valueOf())) }); $c_Lhypersubs_page_FixtureRow$.prototype.hypersubs$page$FixtureRow$$parseStatusString$1__T__Lhypersubs_Status = (function(classString) { var thiz = $as_T(classString.toLowerCase()); var xs = $m_sjsr_RuntimeString$().split__T__T__I__AT(thiz, " ", 0); var jsx$1 = $m_s_reflect_ClassTag$(); var schematic = $objectGetClass(xs); var b = new $c_scm_ArrayBuilder$ofRef().init___s_reflect_ClassTag(jsx$1.apply__jl_Class__s_reflect_ClassTag(schematic.getComponentType__jl_Class())); var i = 0; var len = xs.u.length; while ((i < len)) { var index = i; var arg1 = xs.u[index]; var key = $as_T(arg1); if (($m_Lhypersubs_page_FixtureRow$().CodesOnPageToStatuses$1.contains__O__Z(key) !== false)) { b.$$plus$eq__O__scm_ArrayBuilder$ofRef(arg1) }; i = ((1 + i) | 0) }; var xs$1 = b.result__AO(); var elems$2 = []; var i$1 = 0; var len$1 = xs$1.u.length; while ((i$1 < len$1)) { var index$1 = i$1; var arg1$1 = xs$1.u[index$1]; var x$10 = $as_T(arg1$1); var elem = $as_Lhypersubs_Status($m_Lhypersubs_page_FixtureRow$().CodesOnPageToStatuses$1.apply__O__O(x$10)); var unboxedElem = ((elem === null) ? null : elem); elems$2.push(unboxedElem); i$1 = ((1 + i$1) | 0) }; var xs$2 = $makeNativeArrayWrapper($d_Lhypersubs_Status.getArrayOf(), elems$2); var b$1 = new $c_scm_ArrayBuilder$ofRef().init___s_reflect_ClassTag(new $c_s_reflect_ClassTag$ClassClassTag().init___jl_Class($d_Lhypersubs_Status.getClassOf())); var i$2 = 0; var len$2 = xs$2.u.length; while ((i$2 < len$2)) { var index$2 = i$2; var arg1$2 = xs$2.u[index$2]; var x$11 = $as_Lhypersubs_Status(arg1$2); var x$2 = $m_Lhypersubs_Ineligible$(); if (((!((x$11 !== null) && (x$11 === x$2))) !== false)) { b$1.$$plus$eq__O__scm_ArrayBuilder$ofRef(arg1$2) }; i$2 = ((1 + i$2) | 0) }; var eligibleStatuses = $asArrayOf_Lhypersubs_Status(b$1.result__AO(), 1); if ((eligibleStatuses.u.length === 0)) { $m_Lhypersubs_package$().log__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected player status type: ", ". Treating as ready to play."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([classString]))); return $m_Lhypersubs_UnknownPlayerStatus$() } else { var cmp = $m_s_math_Ordering$Int$(); if ((eligibleStatuses.u.length === 0)) { throw new $c_jl_UnsupportedOperationException().init___T("empty.minBy") }; var elem$1 = null; elem$1 = null; var elem$1$1 = null; elem$1$1 = null; var elem$1$2 = false; elem$1$2 = true; var i$3 = 0; var len$3 = eligibleStatuses.u.length; while ((i$3 < len$3)) { var index$3 = i$3; var arg1$3 = eligibleStatuses.u[index$3]; var x$12 = $as_Lhypersubs_Status(arg1$3); var fx = x$12.likelihoodToPlay$1; if (elem$1$2) { var jsx$2 = true } else { var y = elem$1; var jsx$2 = $s_s_math_Ordering$class__lt__s_math_Ordering__O__O__Z(cmp, fx, y) }; if (jsx$2) { elem$1$1 = arg1$3; elem$1 = fx; elem$1$2 = false }; i$3 = ((1 + i$3) | 0) }; return $as_Lhypersubs_Status(elem$1$1) } }); $c_Lhypersubs_page_FixtureRow$.prototype.extractOpposition__Lorg_querki_jquery_JQuery__s_Option = (function(opponentDiv) { var thiz = $as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(opponentDiv).text()); var opponentNamePlusLocation = $as_T(thiz.trim()); var paren = $uI(opponentNamePlusLocation.indexOf("(")); if ((opponentNamePlusLocation === null)) { var jsx$1; throw new $c_jl_NullPointerException().init___() } else { var jsx$1 = opponentNamePlusLocation }; if ((jsx$1 === "")) { return new $c_s_Some().init___O($m_Lhypersubs_NoOpponent$()) } else if ((paren < 0)) { return $m_s_None$() } else { var oppName = $as_T(opponentNamePlusLocation.substring(0, paren)); if ((oppName === null)) { var jsx$2; throw new $c_jl_NullPointerException().init___() } else { var jsx$2 = oppName }; if ((jsx$2 === "")) { return $m_s_None$() } else { return new $c_s_Some().init___O(new $c_Lhypersubs_Opponent().init___Lhypersubs_Club($m_Lhypersubs_Club$().apply__T__Lhypersubs_Club(oppName))) } } }); $c_Lhypersubs_page_FixtureRow$.prototype.extractStatus__Lorg_querki_jquery_JQuery__s_Option = (function(td) { var statusDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)(td).find("div[class*='playerstatus']"); if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(statusDiv)).matchesMoreThanOnce__Z()) { return $m_s_None$() } else if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(statusDiv)).matchesNothing__Z()) { return new $c_s_Some().init___O($m_Lhypersubs_ReadyToPlay$()) } else { var value = (0, $m_Lorg_querki_jquery_package$().$$$1)(statusDiv).attr("class"); var this$10 = ((value === (void 0)) ? $m_s_None$() : new $c_s_Some().init___O(value)); if (this$10.isEmpty__Z()) { return $m_s_None$() } else { var arg1 = this$10.get__O(); var classString = $as_T(arg1); return new $c_s_Some().init___O($m_Lhypersubs_page_FixtureRow$().hypersubs$page$FixtureRow$$parseStatusString$1__T__Lhypersubs_Status(classString)) } } }); $c_Lhypersubs_page_FixtureRow$.prototype.extractStatusDetails__Lorg_querki_jquery_JQuery__s_Option = (function(td) { var statusDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)(td).find("div[class*='playerstatus']"); if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(statusDiv)).matchesNothing__Z()) { return new $c_s_Some().init___O("") } else if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(statusDiv)).matchesMoreThanOnce__Z()) { return $m_s_None$() } else { var value = (0, $m_Lorg_querki_jquery_package$().$$$1)(statusDiv).attr("title"); var this$10 = ((value === (void 0)) ? $m_s_None$() : new $c_s_Some().init___O(value)); return (this$10.isEmpty__Z() ? new $c_s_Some().init___O("") : this$10) } }); $c_Lhypersubs_page_FixtureRow$.prototype.extractHome__Lorg_querki_jquery_JQuery__s_Option = (function(opponentDiv) { var thiz = $as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(opponentDiv).text()); var opponentNamePlusLocation = $as_T(thiz.trim()); var paren = $uI(opponentNamePlusLocation.indexOf("(")); if ((opponentNamePlusLocation === null)) { var jsx$1; throw new $c_jl_NullPointerException().init___() } else { var jsx$1 = opponentNamePlusLocation }; if ((jsx$1 === "")) { return new $c_s_Some().init___O(true) } else if (((paren < 0) || (((2 + paren) | 0) >= $uI(opponentNamePlusLocation.length)))) { return $m_s_None$() } else { var index = ((1 + paren) | 0); var groundLetter = (65535 & $uI(opponentNamePlusLocation.charCodeAt(index))); if (((groundLetter !== 104) && (groundLetter !== 97))) { var jsx$2 = true } else { var index$1 = ((2 + paren) | 0); var jsx$2 = ((65535 & $uI(opponentNamePlusLocation.charCodeAt(index$1))) !== 41) }; if (jsx$2) { return $m_s_None$() } else { return new $c_s_Some().init___O((groundLetter === 104)) } } }); $c_Lhypersubs_page_FixtureRow$.prototype.extractPicName__Lorg_querki_jquery_JQuery__s_Option = (function(picDiv) { var value = (0, $m_Lorg_querki_jquery_package$().$$$1)(picDiv).attr("class"); var this$4 = ((value === (void 0)) ? $m_s_None$() : new $c_s_Some().init___O(value)); if (this$4.isEmpty__Z()) { var this$6 = $m_s_None$() } else { var arg1 = this$4.get__O(); var x$13 = $as_T(arg1); var this$6 = new $c_s_Some().init___O($m_sjsr_RuntimeString$().split__T__T__I__AT(x$13, " ", 0)) }; if (this$6.isEmpty__Z()) { return $m_s_None$() } else { var v1 = this$6.get__O(); var classes = $asArrayOf_T(v1, 1); var jsx$1 = $m_s_reflect_ClassTag$(); var schematic = $objectGetClass(classes); var b = new $c_scm_ArrayBuilder$ofRef().init___s_reflect_ClassTag(jsx$1.apply__jl_Class__s_reflect_ClassTag(schematic.getComponentType__jl_Class())); var i = 0; var len = classes.u.length; while ((i < len)) { var index = i; var arg1$1 = classes.u[index]; var x$14 = $as_T(arg1$1); if ((($uI(x$14.indexOf("club-tiny-")) === 0) !== false)) { b.$$plus$eq__O__scm_ArrayBuilder$ofRef(arg1$1) }; i = ((1 + i) | 0) }; var xs = b.result__AO(); var this$15 = new $c_scm_ArrayOps$ofRef().init___AO(xs); var this$16 = $s_sc_TraversableLike$class__lastOption__sc_TraversableLike__s_Option(this$15); if (this$16.isEmpty__Z()) { return $m_s_None$() } else { var arg1$2 = this$16.get__O(); var classWithPrefix = $as_T(arg1$2); var beginIndex = $uI("club-tiny-".length); return new $c_s_Some().init___O($as_T(classWithPrefix.substring(beginIndex))) } } }); $c_Lhypersubs_page_FixtureRow$.prototype.extractPosition__Lorg_querki_jquery_JQuery__s_Option = (function(posDiv) { (0, $m_Lorg_querki_jquery_package$().$$$1)(posDiv).attr("class"); var value = (0, $m_Lorg_querki_jquery_package$().$$$1)(posDiv).attr("class"); var this$4 = ((value === (void 0)) ? $m_s_None$() : new $c_s_Some().init___O(value)); if (this$4.isEmpty__Z()) { var this$7 = $m_s_None$() } else { var arg1 = this$4.get__O(); var x$9 = $as_T(arg1); var thiz = $as_T(x$9.toLowerCase()); var this$7 = new $c_s_Some().init___O($m_sjsr_RuntimeString$().split__T__T__I__AT(thiz, " ", 0)) }; if (this$7.isEmpty__Z()) { return $m_s_None$() } else { var v1 = this$7.get__O(); var classes = $asArrayOf_T(v1, 1); var jsx$1 = $m_s_reflect_ClassTag$(); var schematic = $objectGetClass(classes); var b = new $c_scm_ArrayBuilder$ofRef().init___s_reflect_ClassTag(jsx$1.apply__jl_Class__s_reflect_ClassTag(schematic.getComponentType__jl_Class())); var i = 0; var len = classes.u.length; while ((i < len)) { var index = i; var arg1$1 = classes.u[index]; var key = $as_T(arg1$1); if (($m_Lhypersubs_page_FixtureRow$().CodesOnPageToPositions$1.contains__O__Z(key) !== false)) { b.$$plus$eq__O__scm_ArrayBuilder$ofRef(arg1$1) }; i = ((1 + i) | 0) }; var xs = b.result__AO(); var this$14 = new $c_scm_ArrayOps$ofRef().init___AO(xs); var this$15 = $s_sc_TraversableLike$class__lastOption__sc_TraversableLike__s_Option(this$14); if (this$15.isEmpty__Z()) { return $m_s_None$() } else { var arg1$2 = this$15.get__O(); var lastPosClass = $as_T(arg1$2); return new $c_s_Some().init___O($as_Lhypersubs_Position($m_Lhypersubs_page_FixtureRow$().CodesOnPageToPositions$1.apply__O__O(lastPosClass))) } } }); var $d_Lhypersubs_page_FixtureRow$ = new $TypeData().initClass({ Lhypersubs_page_FixtureRow$: 0 }, false, "hypersubs.page.FixtureRow$", { Lhypersubs_page_FixtureRow$: 1, O: 1 }); $c_Lhypersubs_page_FixtureRow$.prototype.$classData = $d_Lhypersubs_page_FixtureRow$; var $n_Lhypersubs_page_FixtureRow$ = (void 0); function $m_Lhypersubs_page_FixtureRow$() { if ((!$n_Lhypersubs_page_FixtureRow$)) { $n_Lhypersubs_page_FixtureRow$ = new $c_Lhypersubs_page_FixtureRow$().init___() }; return $n_Lhypersubs_page_FixtureRow$ } /** @constructor */ function $c_Lhypersubs_page_Flange() { $c_O.call(this); this.date$1 = null; this.fixtures$1 = null } $c_Lhypersubs_page_Flange.prototype = new $h_O(); $c_Lhypersubs_page_Flange.prototype.constructor = $c_Lhypersubs_page_Flange; /** @constructor */ function $h_Lhypersubs_page_Flange() { /*<skip>*/ } $h_Lhypersubs_page_Flange.prototype = $c_Lhypersubs_page_Flange.prototype; $c_Lhypersubs_page_Flange.prototype.squad__sc_Seq = (function() { var jsx$2 = this.fixtures$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$4$2) { var x$4 = $as_Lhypersubs_page_FixtureRow(x$4$2); return x$4.player$1 })); var this$1 = $m_sc_Seq$(); return $as_sc_Seq(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)) }); $c_Lhypersubs_page_Flange.prototype.parseDate__p1__Lorg_scalajs_dom_raw_Element__T = (function(flangeDiv) { var headerOfSmallFixtureInfoTableOnTheRight = (0, $m_Lorg_querki_jquery_package$().$$$1)(flangeDiv).find("table[class='general narrowFixtures'] thead th"); if ((!($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(headerOfSmallFixtureInfoTableOnTheRight)).matchesExactlyOnce__Z())) { $m_Lhypersubs_package$().error__T__sr_Nothing$("Failed to find a unique fixture block date. A change/bug in the FL site?") }; var thiz = $as_T(headerOfSmallFixtureInfoTableOnTheRight.text()); var x = $as_T(thiz.trim()); var this$8 = new $c_sci_StringOps().init___T(x); if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$8)) { return $as_T(headerOfSmallFixtureInfoTableOnTheRight.text()) } else { return "(no date given)" } }); $c_Lhypersubs_page_Flange.prototype.setCheckboxes__sc_Seq__V = (function(selection) { var jsx$1 = this.fixtures$1; var this$1 = $m_sc_Seq$(); $as_sc_TraversableLike(jsx$1.zip__sc_GenIterable__scg_CanBuildFrom__O(selection, this$1.ReusableCBFInstance$2)).withFilter__F1__scg_FilterMonadic(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$2$2) { var check$ifrefutable$2 = $as_T2(check$ifrefutable$2$2); return (check$ifrefutable$2 !== null) }))).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$5$2) { var x$5 = $as_T2(x$5$2); if ((x$5 !== null)) { var playerRow = $as_Lhypersubs_page_FixtureRow(x$5.$$und1__O()); var role = x$5.$$und2$mcZ$sp__Z(); return playerRow.setCheckbox__Z__Lorg_querki_jquery_JQuery(role) } else { throw new $c_s_MatchError().init___O(x$5) } }))) }); $c_Lhypersubs_page_Flange.prototype.init___Lorg_scalajs_dom_raw_Element = (function(flangeDiv) { this.date$1 = this.parseDate__p1__Lorg_scalajs_dom_raw_Element__T(flangeDiv); this.fixtures$1 = this.parseFixtures__p1__Lorg_scalajs_dom_raw_Element__sc_Seq(flangeDiv); return this }); $c_Lhypersubs_page_Flange.prototype.parseFixtures__p1__Lorg_scalajs_dom_raw_Element__sc_Seq = (function(flangeDiv) { var rowsInFlange = (0, $m_Lorg_querki_jquery_package$().$$$1)(flangeDiv).find("table[class='general'] tbody tr"); if (($uI(rowsInFlange.length) !== 16)) { $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of players in fixture block: ", ". A change/bug in the FL site?"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$uI(rowsInFlange.length)]))) }; var array = rowsInFlange.toArray(); var this$6 = $m_sc_Seq$(); $m_sjs_js_WrappedArray$(); var b = new $c_sjs_js_WrappedArray().init___(); var len = $uI(array.length); var i = 0; while ((i < len)) { var index = i; var elem = new $c_T2().init___O__O(array[index], i); b.array$6.push(elem); i = ((1 + i) | 0) }; var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$1$2) { var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); return (check$ifrefutable$1 !== null) })); var jsx$2 = new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(b, p); var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(x$3$2) { var x$3 = $as_T2(x$3$2); if ((x$3 !== null)) { var playerRow = x$3.$$und1__O(); var index$1 = x$3.$$und2$mcI$sp__I(); return new $c_Lhypersubs_page_FixtureRow().init___T__I__Lorg_scalajs_dom_raw_Element(arg$outer.date$1, index$1, playerRow) } else { throw new $c_s_MatchError().init___O(x$3) } }) })(this)); var this$8 = $m_sc_Seq$(); return $as_sc_Seq(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$8.ReusableCBFInstance$2)) }); function $is_Lhypersubs_page_Flange(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_page_Flange))) } function $as_Lhypersubs_page_Flange(obj) { return (($is_Lhypersubs_page_Flange(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.page.Flange")) } function $isArrayOf_Lhypersubs_page_Flange(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_page_Flange))) } function $asArrayOf_Lhypersubs_page_Flange(obj, depth) { return (($isArrayOf_Lhypersubs_page_Flange(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.page.Flange;", depth)) } var $d_Lhypersubs_page_Flange = new $TypeData().initClass({ Lhypersubs_page_Flange: 0 }, false, "hypersubs.page.Flange", { Lhypersubs_page_Flange: 1, O: 1 }); $c_Lhypersubs_page_Flange.prototype.$classData = $d_Lhypersubs_page_Flange; /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip() { $c_O.call(this); this.tooltipDiv$1 = null } $c_Lhypersubs_page_MoreInfoTooltip.prototype = new $h_O(); $c_Lhypersubs_page_MoreInfoTooltip.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip.prototype = $c_Lhypersubs_page_MoreInfoTooltip.prototype; $c_Lhypersubs_page_MoreInfoTooltip.prototype.isVisible__Z = (function() { return $uZ(this.tooltipDiv$1.hasClass("hypersubs-more-info-tooltip-visible")) }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.init___Lorg_querki_jquery_JQuery = (function(tooltipDiv) { this.tooltipDiv$1 = tooltipDiv; tooltipDiv.click($m_Lorg_querki_jquery_package$().f02EventHandler__F0__sjs_js_$bar(new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer) { return (function() { arg$outer.hide__V() }) })(this)))); return this }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.table__p1__Lorg_querki_jquery_JQuery = (function() { return this.tooltipDiv$1.find("table") }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.findFragment$1__p1__T__Lorg_querki_jquery_JQuery__T = (function(selector, teamInfoPanel$1) { return $as_T(teamInfoPanel$1.find(selector).text()) }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.hide__V = (function() { if (this.isVisible__Z()) { this.toggleVisibility__p1__Lorg_querki_jquery_JQuery() } }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.hypersubs$page$MoreInfoTooltip$$fetchTeam__Lorg_scalajs_dom_raw_Element__Lhypersubs_page_MoreInfoTooltip$TeamInfo = (function(sourceWrapper) { var subs = (0, $m_Lorg_querki_jquery_package$().$$$1)(sourceWrapper).find("div.supersubs-set"); var mainInfo = (0, $m_Lorg_querki_jquery_package$().$$$1)(sourceWrapper).find("#mainInfo"); var teamInfoPanel = mainInfo.find("table.general:nth(1)"); if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(subs)).failsToMatchAtMostOnce__T__Z(("More than one supersubs-set element: " + $uI(subs.length)))) { return $m_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$() }; if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(mainInfo)).failsToMatchExactlyOnce__T__Z(("Unexpected number of mainInfo elements: " + $uI(mainInfo.length)))) { return $m_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$() }; if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(teamInfoPanel)).failsToMatchExactlyOnce__T__Z("Couldn't find team info panel.")) { return $m_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$() }; return new $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo().init___T__T__T__T__T__T__Lhypersubs_page_MoreInfoTooltip$SubsUntil($m_sjsr_RuntimeString$().replaceAll__T__T__T__T(this.findFragment$1__p1__T__Lorg_querki_jquery_JQuery__T("thead tr th:nth(0)", teamInfoPanel), "Team: ", ""), this.findFragment$1__p1__T__Lorg_querki_jquery_JQuery__T("tbody tr:nth(0) td:nth(1)", teamInfoPanel), this.findFragment$1__p1__T__Lorg_querki_jquery_JQuery__T("tbody tr:nth(2) td:nth(1)", teamInfoPanel), this.findFragment$1__p1__T__Lorg_querki_jquery_JQuery__T("tbody tr:nth(2) td:nth(4)", teamInfoPanel), this.findFragment$1__p1__T__Lorg_querki_jquery_JQuery__T("tbody tr:nth(3) td:nth(4)", teamInfoPanel), this.findFragment$1__p1__T__Lorg_querki_jquery_JQuery__T("tbody tr:nth(4) td:nth(4)", teamInfoPanel), (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(subs)).matchesNothing__Z() ? $m_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$() : new $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil().init___T($as_T(subs.text())))) }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.addInfoForAllTeams__p1__V = (function() { var teamTrs = (0, $m_Lorg_querki_jquery_package$().$$$1)("#userTeams table.myTeams tbody tr"); if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(teamTrs)).matchesNothing__Z()) { this.addInfo__Lhypersubs_page_MoreInfoTooltip$TeamInfo__Lorg_querki_jquery_JQuery($m_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$()) } else { var x1 = $m_Lhypersubs_package$().httpOrHttps__s_Option(); var x = $m_s_None$(); if ((x === x1)) { $m_Lhypersubs_package$().log__O__V("Aborting team info retrieval due to invalid protocol."); return (void 0) } else if ($is_s_Some(x1)) { var x2 = $as_s_Some(x1); var protocol = $as_T(x2.x$2); var teamTrs$1 = teamTrs.toArray(); var sourceURLPrefix = (protocol + "//www.fantasyleague.com/Classic/Team/Default.aspx?"); this.hypersubs$page$MoreInfoTooltip$$addFrom$1__I__sjs_js_Array__T__V(0, teamTrs$1, sourceURLPrefix) } else { throw new $c_s_MatchError().init___O(x1) } } }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.toggle__Lorg_scalajs_dom_raw_Element__V = (function(anchor) { if (this.isVisible__Z()) { this.toggleVisibility__p1__Lorg_querki_jquery_JQuery() } else { this.toggleVisibility__p1__Lorg_querki_jquery_JQuery(); this.tooltipDiv$1.html($m_Lhypersubs_page_MoreInfoTooltip$().HTML$1); var jquery = this.tooltipDiv$1; jquery.position($m_Lhypersubs_package$().loc2JSDict__Lhypersubs_package$Location__sjs_js_Dictionary(new $c_Lhypersubs_package$Location().init___T__T__sjs_js_Any__T__T("right top", "left bottom", anchor, "2px -2px", "fit"))); this.addInfoForAllTeams__p1__V() } }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.addInfo__Lhypersubs_page_MoreInfoTooltip$TeamInfo__Lorg_querki_jquery_JQuery = (function(teamInfo) { var jsx$1 = this.table__p1__Lorg_querki_jquery_JQuery(); var a = teamInfo.toHTML__T(); return jsx$1.append(a) }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.hypersubs$page$MoreInfoTooltip$$addFrom$1__I__sjs_js_Array__T__V = (function(index, teamTrs$1, sourceURLPrefix$1) { var this$2 = new $c_sjs_js_WrappedArray().init___sjs_js_Array(teamTrs$1); var this$3 = new $c_s_PartialFunction$Lifted().init___s_PartialFunction(this$2); var this$4 = this$3.apply__O__s_Option(index); var f = new $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1().init___Lhypersubs_page_MoreInfoTooltip__sjs_js_Array__T__I(this, teamTrs$1, sourceURLPrefix$1, index); if ((!this$4.isEmpty__Z())) { var v1 = this$4.get__O(); f.apply__Lorg_scalajs_dom_raw_Element__O(v1) } }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.toggleVisibility__p1__Lorg_querki_jquery_JQuery = (function() { this.tooltipDiv$1.toggleClass("hypersubs-more-info-tooltip-visible"); return this.tooltipDiv$1.toggleClass("hypersubs-more-info-tooltip-invisible") }); var $d_Lhypersubs_page_MoreInfoTooltip = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip: 0 }, false, "hypersubs.page.MoreInfoTooltip", { Lhypersubs_page_MoreInfoTooltip: 1, O: 1 }); $c_Lhypersubs_page_MoreInfoTooltip.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip; /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$() { $c_O.call(this); this.HTML$1 = null; this.CSS$1 = null } $c_Lhypersubs_page_MoreInfoTooltip$.prototype = new $h_O(); $c_Lhypersubs_page_MoreInfoTooltip$.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$.prototype = $c_Lhypersubs_page_MoreInfoTooltip$.prototype; $c_Lhypersubs_page_MoreInfoTooltip$.prototype.init___ = (function() { $n_Lhypersubs_page_MoreInfoTooltip$ = this; this.HTML$1 = "<table><tr><th width='230'>Team</th><th width='80' class='hypersubs-right-aligned'>Points</th><th>Live?</th><th>Position</th><th>Transfers</th><th width='120' class='hypersubs-right-aligned'>Subs Set Until</th></tr></table>"; var this$2 = new $c_sci_StringOps().init___T(".hypersubs-more-info-tooltip-invisible { \n | opacity: 0; \n |}\n |.hypersubs-more-info-tooltip-visible { \n | z-index: 2500; font-family: Candara, Tahoma, Geneva, sans-serif; \n | font-size: 12px; \n | padding: 5px; \n | position: fixed; \n | opacity: 0.95; \n | background-color: #9FDAEE; \n | color: black; \n | text-align: left; \n | border: 1px dotted blue; \n | box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); \n | -webkit-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); \n | -moz-box-shadow: 5px 5px rgba(0, 0, 0, 0.1); \n |}\n |#hypersubs-more-info-tooltip .explanation { \n | border-top-left-radius: 7px; \n | border-bottom-right-radius: 7px; \n | border-bottom-left-radius: 7px; \n |}\n |#hypersubs-more-info-tooltip .explanation table th { \n | font-weight: bold; \n | font-size: 15px; \n | padding: 3px 6px 3px 3px; \n |}\n |#hypersubs-more-info-tooltip .explanation table td { \n | font-size: 14px; padding: 3px 6px 3px 3px;\n | }\n |#hypersubs-more-info-tooltip .explanation table .hypersubs-right-aligned { \n | text-align: right; \n |}"); this.CSS$1 = $s_sci_StringLike$class__stripMargin__sci_StringLike__C__T(this$2, 124); return this }); var $d_Lhypersubs_page_MoreInfoTooltip$ = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip$: 0 }, false, "hypersubs.page.MoreInfoTooltip$", { Lhypersubs_page_MoreInfoTooltip$: 1, O: 1 }); $c_Lhypersubs_page_MoreInfoTooltip$.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip$; var $n_Lhypersubs_page_MoreInfoTooltip$ = (void 0); function $m_Lhypersubs_page_MoreInfoTooltip$() { if ((!$n_Lhypersubs_page_MoreInfoTooltip$)) { $n_Lhypersubs_page_MoreInfoTooltip$ = new $c_Lhypersubs_page_MoreInfoTooltip$().init___() }; return $n_Lhypersubs_page_MoreInfoTooltip$ } /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil() { $c_O.call(this); this.description$1 = null } $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype = new $h_O(); $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$SubsUntil() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype = $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype; $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype.toString__T = (function() { return this.description$1 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype.init___T = (function(description) { this.description$1 = description; return this }); /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo() { $c_O.call(this); this.name$1 = null; this.leaguePosition$1 = null; this.subsUntil$1 = null; this.week$1 = 0; this.total$1 = 0; this.transfers$1 = 0; this.live$1 = false } $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype = new $h_O(); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$TeamInfo() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype = $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype; $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype.liveStatus__T = (function() { return (this.live$1 ? "live" : " ") }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype.toHTML__T = (function() { return ((("" + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<tr><td>", "</td><td class='hypersubs-right-aligned'> ", " + ", " = ", "</td>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.name$1, ((this.total$1 - this.week$1) | 0), this.week$1, this.total$1]))) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<td>", "</td><td class='hypersubs-right-aligned'>", "</td><td class='hypersubs-right-aligned'>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.liveStatus__T(), this.leaguePosition$1]))) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["", "</td><td class='hypersubs-right-aligned'>", "</td></tr>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.transfers$1, this.subsUntil$1]))) }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype.init___T__T__T__T__T__T__Lhypersubs_page_MoreInfoTooltip$SubsUntil = (function(name, weekString, totalString, transferString, leaguePosition, packageMetal, subsUntil) { this.name$1 = name; this.leaguePosition$1 = leaguePosition; this.subsUntil$1 = subsUntil; var this$2 = new $c_sci_StringOps().init___T(weekString); var this$4 = $m_jl_Integer$(); var $$this = this$2.repr$1; this.week$1 = this$4.parseInt__T__I__I($$this, 10); var this$6 = new $c_sci_StringOps().init___T(totalString); var this$8 = $m_jl_Integer$(); var $$this$1 = this$6.repr$1; this.total$1 = this$8.parseInt__T__I__I($$this$1, 10); var this$10 = new $c_sci_StringOps().init___T(transferString); var this$12 = $m_jl_Integer$(); var $$this$2 = this$10.repr$1; this.transfers$1 = this$12.parseInt__T__I__I($$this$2, 10); this.live$1 = ((packageMetal === "Silver") || (packageMetal === "Gold")); return this }); var $d_Lhypersubs_page_MoreInfoTooltip$TeamInfo = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip$TeamInfo: 0 }, false, "hypersubs.page.MoreInfoTooltip$TeamInfo", { Lhypersubs_page_MoreInfoTooltip$TeamInfo: 1, O: 1 }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip$TeamInfo; /** @constructor */ function $c_Lhypersubs_page_OFLPage() { $c_O.call(this); this.description$1 = null } $c_Lhypersubs_page_OFLPage.prototype = new $h_O(); $c_Lhypersubs_page_OFLPage.prototype.constructor = $c_Lhypersubs_page_OFLPage; /** @constructor */ function $h_Lhypersubs_page_OFLPage() { /*<skip>*/ } $h_Lhypersubs_page_OFLPage.prototype = $c_Lhypersubs_page_OFLPage.prototype; $c_Lhypersubs_page_OFLPage.prototype.toString__T = (function() { return this.description$1 }); $c_Lhypersubs_page_OFLPage.prototype.addMoreInfoFunction__V = (function() { var thElem = (0, $m_Lorg_querki_jquery_package$().$$$1)("#userTeams table.myTeams thead th:first"); if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(thElem)).failsToMatchExactlyOnce__T__Z("No place to insert More Info button found on page. This may be due to not being logged in or not having any teams, for instance.")) { return (void 0) }; var h2Elem = thElem.find("h2"); if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(h2Elem)).failsToMatchExactlyOnce__T__Z("No place to insert More Info button found on page; h2 element missing.")) { return (void 0) }; var tooltip = this.addMoreInfoTooltip$1__p1__Lhypersubs_page_MoreInfoTooltip(); var button = this.addMoreInfoButton$1__p1__Lorg_querki_jquery_JQuery__Lorg_querki_jquery_JQuery__Lorg_querki_jquery_JQuery(thElem, h2Elem); button.click($m_Lorg_querki_jquery_package$().ft02EventHandler__F1__sjs_js_$bar(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(tooltip$1) { return (function(anchor$2) { tooltip$1.toggle__Lorg_scalajs_dom_raw_Element__V(anchor$2) }) })(tooltip)))) }); $c_Lhypersubs_page_OFLPage.prototype.augmentGeneric__p1__V = (function() { this.fixTextsInPitchView__p1__Lorg_querki_jquery_JQuery(); if ($m_Lhypersubs_Preferences$().showHypersubsShortcuts__Z()) { this.addHypersubsShortcuts__V() }; if ($m_Lhypersubs_Preferences$().showMoreInfoButton__Z()) { this.addMoreInfoFunction__V() }; if ($m_Lhypersubs_Preferences$().massageZlatansEgo__Z()) { this.highlightZlatan__V() } }); $c_Lhypersubs_page_OFLPage.prototype.fixTextsInPitchView__p1__Lorg_querki_jquery_JQuery = (function() { (0, $m_Lorg_querki_jquery_package$().$$$1)("div#pitch div#players ul li a cufon.cufon-canvas").css("margin-top", "-6px"); return (0, $m_Lorg_querki_jquery_package$().$$$1)("div#pitch div#teamTop h1 cufon.cufon-canvas").css("top", "-5px") }); $c_Lhypersubs_page_OFLPage.prototype.highlightZlatan__V = (function() { var zlatanPitchLi = (0, $m_Lorg_querki_jquery_package$().$$$1)("div#pitch div#players ul li:contains('Z Ibrahimovic')"); var zlatanPitchA = zlatanPitchLi.find("a:contains('Z Ibrahimovic')"); zlatanPitchA.find("cufon.cufon-canvas:first cufontext").text(""); zlatanPitchA.find("cufon.cufon-canvas:last cufontext").text(""); zlatanPitchA.find("cufon.cufon-canvas canvas").hide(); zlatanPitchLi.find("div.details span.pos").hide(); zlatanPitchA.append("<span style='position: absolute; bottom: 9px; left: 0px; font-size: 25px; color: #CC3333; letter-spacing: 3px; transform: rotate(-8deg); -webkit-transform: rotate(-8deg);'>ZLATAN</span>"); var zlatanBenchA = (0, $m_Lorg_querki_jquery_package$().$$$1)("div#pitch div#subs ul li a:contains('Z Ibrahimovic')"); zlatanBenchA.text("ZLATAN"); var zlatanRow = (0, $m_Lorg_querki_jquery_package$().$$$1)("div#teamlistView table.pitch tr:contains('Z Ibrahimovic')"); zlatanRow.find("td").css("padding", "2px 2px 2px 2px"); var zlatanCell = zlatanRow.find("td:contains('Z Ibrahimovic')"); zlatanCell.css("padding", "0px 2px"); var zlatanA = (0, $m_Lorg_querki_jquery_package$().$$$1)("div#teamlistView table.pitch td a:contains('Z Ibrahimovic')"); zlatanA.text("ZLATAN"); zlatanA.css("font-weight", "1000").css("font-size", "17px").css("color", "#CC3333") }); $c_Lhypersubs_page_OFLPage.prototype.preloadSetup__V = (function() { /*<skip>*/ }); $c_Lhypersubs_page_OFLPage.prototype.addMoreInfoTooltip$1__p1__Lhypersubs_page_MoreInfoTooltip = (function() { var jsx$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)("head"); var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<style type='text/css'>", "</style>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_page_MoreInfoTooltip$().CSS$1])); jsx$1.append(a); (0, $m_Lorg_querki_jquery_package$().$$$1)("body").append("<div id='hypersubs-more-info-tooltip'><div class='explanation hypersubs-more-info-tooltip-invisible'></div></div>"); return new $c_Lhypersubs_page_MoreInfoTooltip().init___Lorg_querki_jquery_JQuery((0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-more-info-tooltip .explanation")) }); $c_Lhypersubs_page_OFLPage.prototype.abort__V = (function() { /*<skip>*/ }); $c_Lhypersubs_page_OFLPage.prototype.addHypersubsShortcuts__V = (function() { $m_Lorg_querki_jquery_package$(); var jq = (0, $m_Lorg_querki_jquery_package$().$$$1)("#userTeams table.myTeams tbody tr").filter((function(f) { return (function() { return f.apply__O__O(this) }) })(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(teamTr$2) { return $m_Lhypersubs_page_OFLPage$().isClassicPrem__Lorg_scalajs_dom_raw_Element__Z(teamTr$2) })))); new $c_Lorg_querki_jquery_JQueryExtensions().init___Lorg_querki_jquery_JQuery(jq).foreach__F1__Lorg_querki_jquery_JQuery(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(BallStyle$1, HStyle$1, urlPrefix$1) { return (function(teamTr$2$1) { var hLink = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<a href=\"", "", "\" style=\"", "\">H</a>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([urlPrefix$1, $m_Lhypersubs_page_OFLPage$().teamID__Lorg_scalajs_dom_raw_Element__T(teamTr$2$1), HStyle$1])); var shortcut = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<span style=\"", "\" title=Hypersubs>", "</span>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([BallStyle$1, hLink])); (0, $m_Lorg_querki_jquery_package$().$$$1)(teamTr$2$1).find("td:nth(2)").attr("width", 40).append(shortcut) }) })("background: none; margin-top: 0px; height: 14px; width: 14px; background-color: rgba(170,219,129,1); border-radius: 6px; right: 0px;", "font-size: 11px; font-weight: bold; vertical-align: top; margin: 0 0 0 3px; color: white; text-decoration: none;", "http://www.fantasyleague.com/Classic/Team/Supersubs.aspx?"))) }); $c_Lhypersubs_page_OFLPage.prototype.init___T = (function(description) { this.description$1 = description; return this }); $c_Lhypersubs_page_OFLPage.prototype.addMoreInfoButton$1__p1__Lorg_querki_jquery_JQuery__Lorg_querki_jquery_JQuery__Lorg_querki_jquery_JQuery = (function(thElem, h2Elem) { thElem.append("<div id='hypersubs-more-info-button' style='display: inline; font-size: 11px; padding: 3px; width: 60px; font-weight: bold; color: rgba(27,117,208,1); text-decoration: underline; background-color: rgba(170,219,129,1); border: 1px solid rgba(130,189,109,1); border-radius: 0px; cursor: pointer !important;'>More Info</div>"); h2Elem.css("display", "inline"); var button = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-more-info-button"); button.position($m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("my", "right"), new $c_T2().init___O__O("at", "right"), new $c_T2().init___O__O("of", thElem), new $c_T2().init___O__O("offset", "0px 0px")]))); return button }); $c_Lhypersubs_page_OFLPage.prototype.augment__V = (function() { this.augmentGeneric__p1__V(); if ((!this.usesSubsStatus__Z())) { $m_Lhypersubs_SessionState$().subsJustSet$und$eq__Lhypersubs_SubsJustSetStatus__V($m_Lhypersubs_No$()) }; this.augmentSpecific__V() }); /** @constructor */ function $c_Lhypersubs_page_OFLPage$() { $c_O.call(this) } $c_Lhypersubs_page_OFLPage$.prototype = new $h_O(); $c_Lhypersubs_page_OFLPage$.prototype.constructor = $c_Lhypersubs_page_OFLPage$; /** @constructor */ function $h_Lhypersubs_page_OFLPage$() { /*<skip>*/ } $h_Lhypersubs_page_OFLPage$.prototype = $c_Lhypersubs_page_OFLPage$.prototype; $c_Lhypersubs_page_OFLPage$.prototype.init___ = (function() { return this }); $c_Lhypersubs_page_OFLPage$.prototype.teamID__Lorg_scalajs_dom_raw_Element__T = (function(teamTr) { var this$1 = this.teamLinkURL__p1__Lorg_scalajs_dom_raw_Element__s_Option(teamTr); if (this$1.isEmpty__Z()) { var this$4 = $m_s_None$() } else { var arg1 = this$1.get__O(); var teamURL = $as_T(arg1); var idPartStart = $uI(teamURL.indexOf("teamid=")); var this$4 = new $c_s_Some().init___O(new $c_T2().init___O__O(teamURL, idPartStart)) }; var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$1$2) { var x$1 = $as_T2(x$1$2); if ((x$1 !== null)) { var idPartStart$1 = x$1.$$und2$mcI$sp__I(); return (idPartStart$1 >= 0) } else { throw new $c_s_MatchError().init___O(x$1) } })); var this$5 = new $c_s_Option$WithFilter().init___s_Option__F1(this$4, p); var this$6 = this$5.$$outer$f; var p$1 = this$5.p$1; var this$7 = ((this$6.isEmpty__Z() || $uZ(p$1.apply__O__O(this$6.get__O()))) ? this$6 : $m_s_None$()); if (this$7.isEmpty__Z()) { var id = $m_s_None$() } else { var arg1$1 = this$7.get__O(); var x$2 = $as_T2(arg1$1); if ((x$2 !== null)) { var teamURL$1 = $as_T(x$2.$$und1__O()); var idPartStart$2 = x$2.$$und2$mcI$sp__I(); var jsx$1 = $as_T(teamURL$1.substring(idPartStart$2)) } else { var jsx$1; throw new $c_s_MatchError().init___O(x$2) }; var id = new $c_s_Some().init___O(jsx$1) }; return $as_T((id.isEmpty__Z() ? ($m_Lhypersubs_package$().log__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Undefined team ID: ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(teamTr).html())]))), $m_Lhypersubs_package$().error__T__sr_Nothing$("Unexpected formatting in My Teams list. A change/bug in the FL site?")) : id.get__O())) }); $c_Lhypersubs_page_OFLPage$.prototype.isClassicPrem__Lorg_scalajs_dom_raw_Element__Z = (function(teamTr) { var this$1 = this.teamLinkURL__p1__Lorg_scalajs_dom_raw_Element__s_Option(teamTr); if ((!this$1.isEmpty__Z())) { var arg1 = this$1.get__O(); var x$3 = $as_T(arg1); $m_Lhypersubs_package$(); var interpolated = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".*/Classic/.*"])); var o7 = new $c_Lhypersubs_package$RegexContext().init___s_StringContext(interpolated).r__s_util_matching_Regex().unapplySeq__jl_CharSequence__s_Option(x$3); if ((!o7.isEmpty__Z())) { if ((o7.get__O() !== null)) { var this$3 = $as_sc_LinearSeqOptimized(o7.get__O()); var jsx$1 = ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$3, 0) === 0) } else { var jsx$1 = false }; if (jsx$1) { return true } }; return false } else { return false } }); $c_Lhypersubs_page_OFLPage$.prototype.teamLinkURL__p1__Lorg_scalajs_dom_raw_Element__s_Option = (function(teamTr) { var value = (0, $m_Lorg_querki_jquery_package$().$$$1)(teamTr).find("td:nth(1) a").attr("href"); return ((value === (void 0)) ? $m_s_None$() : new $c_s_Some().init___O(value)) }); $c_Lhypersubs_page_OFLPage$.prototype.apply__T__Lhypersubs_page_OFLPage = (function(url) { $m_Lhypersubs_package$(); var interpolated = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".*/Supersubs\\.aspx.*"])); var o10 = new $c_Lhypersubs_package$RegexContext().init___s_StringContext(interpolated).r__s_util_matching_Regex().unapplySeq__jl_CharSequence__s_Option(url); if ((!o10.isEmpty__Z())) { if ((o10.get__O() !== null)) { var this$2 = $as_sc_LinearSeqOptimized(o10.get__O()); var jsx$1 = ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$2, 0) === 0) } else { var jsx$1 = false }; if (jsx$1) { return $m_Lhypersubs_page_SupersubsPage$() } }; $m_Lhypersubs_package$(); var interpolated$1 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".*/SupersubsConfirmation\\.aspx.*"])); var o12 = new $c_Lhypersubs_package$RegexContext().init___s_StringContext(interpolated$1).r__s_util_matching_Regex().unapplySeq__jl_CharSequence__s_Option(url); if ((!o12.isEmpty__Z())) { if ((o12.get__O() !== null)) { var this$4 = $as_sc_LinearSeqOptimized(o12.get__O()); var jsx$2 = ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$4, 0) === 0) } else { var jsx$2 = false }; if (jsx$2) { return $m_Lhypersubs_page_ConfirmationPage$() } }; $m_Lhypersubs_package$(); var interpolated$2 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".*/FriendsLeague/View\\.aspx.*"])); var o14 = new $c_Lhypersubs_package$RegexContext().init___s_StringContext(interpolated$2).r__s_util_matching_Regex().unapplySeq__jl_CharSequence__s_Option(url); if ((!o14.isEmpty__Z())) { if ((o14.get__O() !== null)) { var this$6 = $as_sc_LinearSeqOptimized(o14.get__O()); var jsx$3 = ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$6, 0) === 0) } else { var jsx$3 = false }; if (jsx$3) { return $m_Lhypersubs_page_LeaguePage$() } }; $m_Lhypersubs_package$(); var interpolated$3 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".*/PremierLeague/Default\\.aspx.*"])); var o16 = new $c_Lhypersubs_package$RegexContext().init___s_StringContext(interpolated$3).r__s_util_matching_Regex().unapplySeq__jl_CharSequence__s_Option(url); if ((!o16.isEmpty__Z())) { if ((o16.get__O() !== null)) { var this$8 = $as_sc_LinearSeqOptimized(o16.get__O()); var jsx$4 = ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$8, 0) === 0) } else { var jsx$4 = false }; if (jsx$4) { return $m_Lhypersubs_page_LeaguePage$() } }; return $m_Lhypersubs_page_MiscellaneousPage$() }); var $d_Lhypersubs_page_OFLPage$ = new $TypeData().initClass({ Lhypersubs_page_OFLPage$: 0 }, false, "hypersubs.page.OFLPage$", { Lhypersubs_page_OFLPage$: 1, O: 1 }); $c_Lhypersubs_page_OFLPage$.prototype.$classData = $d_Lhypersubs_page_OFLPage$; var $n_Lhypersubs_page_OFLPage$ = (void 0); function $m_Lhypersubs_page_OFLPage$() { if ((!$n_Lhypersubs_page_OFLPage$)) { $n_Lhypersubs_page_OFLPage$ = new $c_Lhypersubs_page_OFLPage$().init___() }; return $n_Lhypersubs_page_OFLPage$ } /** @constructor */ function $c_Lhypersubs_page_Supersubs() { $c_O.call(this); this.teamName$1 = null; this.flanges$1 = null; this.flangeCount$1 = 0 } $c_Lhypersubs_page_Supersubs.prototype = new $h_O(); $c_Lhypersubs_page_Supersubs.prototype.constructor = $c_Lhypersubs_page_Supersubs; /** @constructor */ function $h_Lhypersubs_page_Supersubs() { /*<skip>*/ } $h_Lhypersubs_page_Supersubs.prototype = $c_Lhypersubs_page_Supersubs.prototype; $c_Lhypersubs_page_Supersubs.prototype.init___ = (function() { this.teamName$1 = this.readTeamName__p1__T(); this.flanges$1 = this.readFlanges__p1__sc_Seq(); this.flangeCount$1 = this.flanges$1.size__I(); return this }); $c_Lhypersubs_page_Supersubs.prototype.squad__I__sc_Seq = (function(flangeNumber) { $as_Lhypersubs_page_Flange(this.flanges$1.apply__I__O(flangeNumber)).squad__sc_Seq(); return $as_Lhypersubs_page_Flange(this.flanges$1.apply__I__O(flangeNumber)).squad__sc_Seq() }); $c_Lhypersubs_page_Supersubs.prototype.date__I__T = (function(flangeNumber) { return $as_Lhypersubs_page_Flange(this.flanges$1.apply__I__O(flangeNumber)).date$1 }); $c_Lhypersubs_page_Supersubs.prototype.readTeamName__p1__T = (function() { var x1 = $as_T($m_Lhypersubs_package$().Document$1.title); $m_Lhypersubs_package$(); var interpolated = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".*Classic\\s*-\\s*Team\\s*-\\s*(.+)", "\\s*-\\s*Fantasy\\s+League.*"])); var o7 = new $c_Lhypersubs_package$RegexContext().init___s_StringContext(interpolated).r__s_util_matching_Regex().unapplySeq__jl_CharSequence__s_Option(x1); if ((!o7.isEmpty__Z())) { if ((o7.get__O() !== null)) { var this$2 = $as_sc_LinearSeqOptimized(o7.get__O()); var jsx$1 = ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$2, 1) === 0) } else { var jsx$1 = false }; if (jsx$1) { var this$3 = $as_sc_LinearSeqOptimized(o7.get__O()); var teamName = $as_T($s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this$3, 0)); return teamName } }; return "(couldn't determine team name)" }); $c_Lhypersubs_page_Supersubs.prototype.readFlanges__p1__sc_Seq = (function() { var array = (0, $m_Lorg_querki_jquery_package$().$$$1)("#supersubs div[id^=fixtureBlock]").toArray(); var this$7 = $m_sc_Seq$(); $m_sjs_js_WrappedArray$(); var b = new $c_sjs_js_WrappedArray().init___(); $uI(array.length); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; var elem = new $c_Lhypersubs_page_Flange().init___Lorg_scalajs_dom_raw_Element(arg1); b.array$6.push(elem); i = ((1 + i) | 0) }; return b }); $c_Lhypersubs_page_Supersubs.prototype.setCheckboxes__I__Lhypersubs_hsubs_Selection__V = (function(flangeNumber, selection) { $as_Lhypersubs_page_Flange(this.flanges$1.apply__I__O(flangeNumber)).setCheckboxes__sc_Seq__V($m_Lhypersubs_page_SupersubsPage$().hypersubsToSupersubs__Lhypersubs_hsubs_Selection__sc_Seq(selection)) }); function $is_Lhypersubs_page_Supersubs(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_page_Supersubs))) } function $as_Lhypersubs_page_Supersubs(obj) { return (($is_Lhypersubs_page_Supersubs(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.page.Supersubs")) } function $isArrayOf_Lhypersubs_page_Supersubs(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_page_Supersubs))) } function $asArrayOf_Lhypersubs_page_Supersubs(obj, depth) { return (($isArrayOf_Lhypersubs_page_Supersubs(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.page.Supersubs;", depth)) } var $d_Lhypersubs_page_Supersubs = new $TypeData().initClass({ Lhypersubs_page_Supersubs: 0 }, false, "hypersubs.page.Supersubs", { Lhypersubs_page_Supersubs: 1, O: 1 }); $c_Lhypersubs_page_Supersubs.prototype.$classData = $d_Lhypersubs_page_Supersubs; /** @constructor */ function $c_Lorg_querki_jquery_JQueryExtensions() { $c_O.call(this); this.jq$1 = null } $c_Lorg_querki_jquery_JQueryExtensions.prototype = new $h_O(); $c_Lorg_querki_jquery_JQueryExtensions.prototype.constructor = $c_Lorg_querki_jquery_JQueryExtensions; /** @constructor */ function $h_Lorg_querki_jquery_JQueryExtensions() { /*<skip>*/ } $h_Lorg_querki_jquery_JQueryExtensions.prototype = $c_Lorg_querki_jquery_JQueryExtensions.prototype; $c_Lorg_querki_jquery_JQueryExtensions.prototype.init___Lorg_querki_jquery_JQuery = (function(jq) { this.jq$1 = jq; return this }); $c_Lorg_querki_jquery_JQueryExtensions.prototype.foreach__F1__Lorg_querki_jquery_JQuery = (function(func) { this.jq$1.each((function(f) { return (function() { return f.apply__O__O(this) }) })(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(func$1) { return (function(e$2) { func$1.apply__O__O(e$2) }) })(func)))); return this.jq$1 }); var $d_Lorg_querki_jquery_JQueryExtensions = new $TypeData().initClass({ Lorg_querki_jquery_JQueryExtensions: 0 }, false, "org.querki.jquery.JQueryExtensions", { Lorg_querki_jquery_JQueryExtensions: 1, O: 1 }); $c_Lorg_querki_jquery_JQueryExtensions.prototype.$classData = $d_Lorg_querki_jquery_JQueryExtensions; /** @constructor */ function $c_Lorg_querki_jquery_package$() { $c_O.call(this); this.$$$1 = null } $c_Lorg_querki_jquery_package$.prototype = new $h_O(); $c_Lorg_querki_jquery_package$.prototype.constructor = $c_Lorg_querki_jquery_package$; /** @constructor */ function $h_Lorg_querki_jquery_package$() { /*<skip>*/ } $h_Lorg_querki_jquery_package$.prototype = $c_Lorg_querki_jquery_package$.prototype; $c_Lorg_querki_jquery_package$.prototype.init___ = (function() { $n_Lorg_querki_jquery_package$ = this; this.$$$1 = $g.jQuery; return this }); $c_Lorg_querki_jquery_package$.prototype.ft02EventHandler__F1__sjs_js_$bar = (function(func) { var a = (function(f) { return (function() { return f.apply__O__O(this) }) })(func); return a }); $c_Lorg_querki_jquery_package$.prototype.$$__Lorg_querki_jquery_JQueryStatic$ = (function() { return this.$$$1 }); $c_Lorg_querki_jquery_package$.prototype.f12EventHandler__F1__sjs_js_$bar = (function(func) { var a = (function(f) { return (function(arg1) { return f.apply__O__O(arg1) }) })(func); return a }); $c_Lorg_querki_jquery_package$.prototype.f02EventHandler__F0__sjs_js_$bar = (function(func) { var a = (function(f) { return (function() { return f.apply__O() }) })(func); return a }); var $d_Lorg_querki_jquery_package$ = new $TypeData().initClass({ Lorg_querki_jquery_package$: 0 }, false, "org.querki.jquery.package$", { Lorg_querki_jquery_package$: 1, O: 1 }); $c_Lorg_querki_jquery_package$.prototype.$classData = $d_Lorg_querki_jquery_package$; var $n_Lorg_querki_jquery_package$ = (void 0); function $m_Lorg_querki_jquery_package$() { if ((!$n_Lorg_querki_jquery_package$)) { $n_Lorg_querki_jquery_package$ = new $c_Lorg_querki_jquery_package$().init___() }; return $n_Lorg_querki_jquery_package$ } /** @constructor */ function $c_Lorg_scalajs_dom_package$() { $c_O.call(this); this.ApplicationCache$1 = null; this.Blob$1 = null; this.BlobPropertyBag$1 = null; this.ClipboardEventInit$1 = null; this.DOMException$1 = null; this.Event$1 = null; this.EventException$1 = null; this.EventSource$1 = null; this.FileReader$1 = null; this.FormData$1 = null; this.KeyboardEvent$1 = null; this.MediaError$1 = null; this.MutationEvent$1 = null; this.MutationObserverInit$1 = null; this.Node$1 = null; this.NodeFilter$1 = null; this.PerformanceNavigation$1 = null; this.PositionError$1 = null; this.Range$1 = null; this.TextEvent$1 = null; this.TextTrack$1 = null; this.VisibilityState$1 = null; this.WebSocket$1 = null; this.WheelEvent$1 = null; this.XMLHttpRequest$1 = null; this.XPathResult$1 = null; this.window$1 = null; this.document$1 = null; this.console$1 = null; this.bitmap$0$1 = 0 } $c_Lorg_scalajs_dom_package$.prototype = new $h_O(); $c_Lorg_scalajs_dom_package$.prototype.constructor = $c_Lorg_scalajs_dom_package$; /** @constructor */ function $h_Lorg_scalajs_dom_package$() { /*<skip>*/ } $h_Lorg_scalajs_dom_package$.prototype = $c_Lorg_scalajs_dom_package$.prototype; $c_Lorg_scalajs_dom_package$.prototype.init___ = (function() { return this }); $c_Lorg_scalajs_dom_package$.prototype.document__Lorg_scalajs_dom_raw_HTMLDocument = (function() { return (((134217728 & this.bitmap$0$1) === 0) ? this.document$lzycompute__p1__Lorg_scalajs_dom_raw_HTMLDocument() : this.document$1) }); $c_Lorg_scalajs_dom_package$.prototype.window__Lorg_scalajs_dom_raw_Window = (function() { return (((67108864 & this.bitmap$0$1) === 0) ? this.window$lzycompute__p1__Lorg_scalajs_dom_raw_Window() : this.window$1) }); $c_Lorg_scalajs_dom_package$.prototype.window$lzycompute__p1__Lorg_scalajs_dom_raw_Window = (function() { if (((67108864 & this.bitmap$0$1) === 0)) { this.window$1 = $g; this.bitmap$0$1 = (67108864 | this.bitmap$0$1) }; return this.window$1 }); $c_Lorg_scalajs_dom_package$.prototype.document$lzycompute__p1__Lorg_scalajs_dom_raw_HTMLDocument = (function() { if (((134217728 & this.bitmap$0$1) === 0)) { this.document$1 = this.window__Lorg_scalajs_dom_raw_Window().document; this.bitmap$0$1 = (134217728 | this.bitmap$0$1) }; return this.document$1 }); var $d_Lorg_scalajs_dom_package$ = new $TypeData().initClass({ Lorg_scalajs_dom_package$: 0 }, false, "org.scalajs.dom.package$", { Lorg_scalajs_dom_package$: 1, O: 1 }); $c_Lorg_scalajs_dom_package$.prototype.$classData = $d_Lorg_scalajs_dom_package$; var $n_Lorg_scalajs_dom_package$ = (void 0); function $m_Lorg_scalajs_dom_package$() { if ((!$n_Lorg_scalajs_dom_package$)) { $n_Lorg_scalajs_dom_package$ = new $c_Lorg_scalajs_dom_package$().init___() }; return $n_Lorg_scalajs_dom_package$ } /** @constructor */ function $c_jl_Class() { $c_O.call(this); this.data$1 = null } $c_jl_Class.prototype = new $h_O(); $c_jl_Class.prototype.constructor = $c_jl_Class; /** @constructor */ function $h_jl_Class() { /*<skip>*/ } $h_jl_Class.prototype = $c_jl_Class.prototype; $c_jl_Class.prototype.getName__T = (function() { return $as_T(this.data$1.name) }); $c_jl_Class.prototype.getComponentType__jl_Class = (function() { return $as_jl_Class(this.data$1.getComponentType()) }); $c_jl_Class.prototype.isPrimitive__Z = (function() { return $uZ(this.data$1.isPrimitive) }); $c_jl_Class.prototype.toString__T = (function() { return ((this.isInterface__Z() ? "interface " : (this.isPrimitive__Z() ? "" : "class ")) + this.getName__T()) }); $c_jl_Class.prototype.isAssignableFrom__jl_Class__Z = (function(that) { return ((this.isPrimitive__Z() || that.isPrimitive__Z()) ? ((this === that) || ((this === $d_S.getClassOf()) ? (that === $d_B.getClassOf()) : ((this === $d_I.getClassOf()) ? ((that === $d_B.getClassOf()) || (that === $d_S.getClassOf())) : ((this === $d_F.getClassOf()) ? (((that === $d_B.getClassOf()) || (that === $d_S.getClassOf())) || (that === $d_I.getClassOf())) : ((this === $d_D.getClassOf()) && ((((that === $d_B.getClassOf()) || (that === $d_S.getClassOf())) || (that === $d_I.getClassOf())) || (that === $d_F.getClassOf()))))))) : this.isInstance__O__Z(that.getFakeInstance__p1__O())) }); $c_jl_Class.prototype.isInstance__O__Z = (function(obj) { return $uZ(this.data$1.isInstance(obj)) }); $c_jl_Class.prototype.init___jl_ScalaJSClassData = (function(data) { this.data$1 = data; return this }); $c_jl_Class.prototype.getFakeInstance__p1__O = (function() { return this.data$1.getFakeInstance() }); $c_jl_Class.prototype.newArrayOfThisClass__sjs_js_Array__O = (function(dimensions) { return this.data$1.newArrayOfThisClass(dimensions) }); $c_jl_Class.prototype.isArray__Z = (function() { return $uZ(this.data$1.isArrayClass) }); $c_jl_Class.prototype.isInterface__Z = (function() { return $uZ(this.data$1.isInterface) }); function $is_jl_Class(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_Class))) } function $as_jl_Class(obj) { return (($is_jl_Class(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Class")) } function $isArrayOf_jl_Class(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Class))) } function $asArrayOf_jl_Class(obj, depth) { return (($isArrayOf_jl_Class(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Class;", depth)) } var $d_jl_Class = new $TypeData().initClass({ jl_Class: 0 }, false, "java.lang.Class", { jl_Class: 1, O: 1 }); $c_jl_Class.prototype.$classData = $d_jl_Class; /** @constructor */ function $c_jl_System$() { $c_O.call(this); this.out$1 = null; this.err$1 = null; this.in$1 = null; this.getHighPrecisionTime$1 = null } $c_jl_System$.prototype = new $h_O(); $c_jl_System$.prototype.constructor = $c_jl_System$; /** @constructor */ function $h_jl_System$() { /*<skip>*/ } $h_jl_System$.prototype = $c_jl_System$.prototype; $c_jl_System$.prototype.init___ = (function() { $n_jl_System$ = this; this.out$1 = new $c_jl_JSConsoleBasedPrintStream().init___jl_Boolean(false); this.err$1 = new $c_jl_JSConsoleBasedPrintStream().init___jl_Boolean(true); this.in$1 = null; var x = $g.performance; if ($uZ((!(!x)))) { var x$1 = $g.performance.now; if ($uZ((!(!x$1)))) { var jsx$1 = (function() { return $uD($g.performance.now()) }) } else { var x$2 = $g.performance.webkitNow; if ($uZ((!(!x$2)))) { var jsx$1 = (function() { return $uD($g.performance.webkitNow()) }) } else { var jsx$1 = (function() { return $uD(new $g.Date().getTime()) }) } } } else { var jsx$1 = (function() { return $uD(new $g.Date().getTime()) }) }; this.getHighPrecisionTime$1 = jsx$1; return this }); var $d_jl_System$ = new $TypeData().initClass({ jl_System$: 0 }, false, "java.lang.System$", { jl_System$: 1, O: 1 }); $c_jl_System$.prototype.$classData = $d_jl_System$; var $n_jl_System$ = (void 0); function $m_jl_System$() { if ((!$n_jl_System$)) { $n_jl_System$ = new $c_jl_System$().init___() }; return $n_jl_System$ } /** @constructor */ function $c_jl_reflect_Array$() { $c_O.call(this) } $c_jl_reflect_Array$.prototype = new $h_O(); $c_jl_reflect_Array$.prototype.constructor = $c_jl_reflect_Array$; /** @constructor */ function $h_jl_reflect_Array$() { /*<skip>*/ } $h_jl_reflect_Array$.prototype = $c_jl_reflect_Array$.prototype; $c_jl_reflect_Array$.prototype.init___ = (function() { return this }); $c_jl_reflect_Array$.prototype.newInstance__jl_Class__I__O = (function(componentType, length) { return componentType.newArrayOfThisClass__sjs_js_Array__O([length]) }); var $d_jl_reflect_Array$ = new $TypeData().initClass({ jl_reflect_Array$: 0 }, false, "java.lang.reflect.Array$", { jl_reflect_Array$: 1, O: 1 }); $c_jl_reflect_Array$.prototype.$classData = $d_jl_reflect_Array$; var $n_jl_reflect_Array$ = (void 0); function $m_jl_reflect_Array$() { if ((!$n_jl_reflect_Array$)) { $n_jl_reflect_Array$ = new $c_jl_reflect_Array$().init___() }; return $n_jl_reflect_Array$ } /** @constructor */ function $c_ju_Arrays$() { $c_O.call(this); this.inPlaceSortThreshold$1 = 0 } $c_ju_Arrays$.prototype = new $h_O(); $c_ju_Arrays$.prototype.constructor = $c_ju_Arrays$; /** @constructor */ function $h_ju_Arrays$() { /*<skip>*/ } $h_ju_Arrays$.prototype = $c_ju_Arrays$.prototype; $c_ju_Arrays$.prototype.init___ = (function() { return this }); $c_ju_Arrays$.prototype.binarySearch__AI__I__I = (function(a, key) { var startIndex = 0; var endIndex = a.u.length; _binarySearchImpl: while (true) { if ((startIndex === endIndex)) { return (((-1) - startIndex) | 0) } else { var mid = ((((startIndex + endIndex) | 0) >>> 1) | 0); var elem = a.u[mid]; if ((key < elem)) { endIndex = mid; continue _binarySearchImpl } else if ($m_sr_BoxesRunTime$().equals__O__O__Z(key, elem)) { return mid } else { startIndex = ((1 + mid) | 0); continue _binarySearchImpl } } } }); $c_ju_Arrays$.prototype.java$util$Arrays$$insertionSortAnyRef__AO__I__I__s_math_Ordering__V = (function(a, start, end, ord) { var n = ((end - start) | 0); if ((n >= 2)) { if ((ord.compare__O__O__I(a.u[start], a.u[((1 + start) | 0)]) > 0)) { var temp = a.u[start]; a.u[start] = a.u[((1 + start) | 0)]; a.u[((1 + start) | 0)] = temp }; var m = 2; while ((m < n)) { var next = a.u[((start + m) | 0)]; if ((ord.compare__O__O__I(next, a.u[(((-1) + ((start + m) | 0)) | 0)]) < 0)) { var iA = start; var iB = (((-1) + ((start + m) | 0)) | 0); while ((((iB - iA) | 0) > 1)) { var ix = ((((iA + iB) | 0) >>> 1) | 0); if ((ord.compare__O__O__I(next, a.u[ix]) < 0)) { iB = ix } else { iA = ix } }; var ix$2 = ((iA + ((ord.compare__O__O__I(next, a.u[iA]) < 0) ? 0 : 1)) | 0); var i = ((start + m) | 0); while ((i > ix$2)) { a.u[i] = a.u[(((-1) + i) | 0)]; i = (((-1) + i) | 0) }; a.u[ix$2] = next }; m = ((1 + m) | 0) } } }); $c_ju_Arrays$.prototype.fill__AI__I__V = (function(a, value) { var toIndex = a.u.length; var i = 0; while ((i !== toIndex)) { a.u[i] = value; i = ((1 + i) | 0) } }); $c_ju_Arrays$.prototype.sort__AO__ju_Comparator__V = (function(array, comparator) { var ord = new $c_ju_Arrays$$anon$3().init___ju_Comparator(comparator); var end = array.u.length; if ((end > 16)) { this.java$util$Arrays$$stableSplitMergeAnyRef__AO__AO__I__I__s_math_Ordering__V(array, $newArrayObject($d_O.getArrayOf(), [array.u.length]), 0, end, ord) } else { this.java$util$Arrays$$insertionSortAnyRef__AO__I__I__s_math_Ordering__V(array, 0, end, ord) } }); $c_ju_Arrays$.prototype.java$util$Arrays$$stableSplitMergeAnyRef__AO__AO__I__I__s_math_Ordering__V = (function(a, temp, start, end, ord) { var length = ((end - start) | 0); if ((length > 16)) { var middle = ((start + ((length / 2) | 0)) | 0); this.java$util$Arrays$$stableSplitMergeAnyRef__AO__AO__I__I__s_math_Ordering__V(a, temp, start, middle, ord); this.java$util$Arrays$$stableSplitMergeAnyRef__AO__AO__I__I__s_math_Ordering__V(a, temp, middle, end, ord); var outIndex = start; var leftInIndex = start; var rightInIndex = middle; while ((outIndex < end)) { if (((leftInIndex < middle) && ((rightInIndex >= end) || ord.lteq__O__O__Z(a.u[leftInIndex], a.u[rightInIndex])))) { temp.u[outIndex] = a.u[leftInIndex]; leftInIndex = ((1 + leftInIndex) | 0) } else { temp.u[outIndex] = a.u[rightInIndex]; rightInIndex = ((1 + rightInIndex) | 0) }; outIndex = ((1 + outIndex) | 0) }; $systemArraycopy(temp, start, a, start, length) } else { this.java$util$Arrays$$insertionSortAnyRef__AO__I__I__s_math_Ordering__V(a, start, end, ord) } }); var $d_ju_Arrays$ = new $TypeData().initClass({ ju_Arrays$: 0 }, false, "java.util.Arrays$", { ju_Arrays$: 1, O: 1 }); $c_ju_Arrays$.prototype.$classData = $d_ju_Arrays$; var $n_ju_Arrays$ = (void 0); function $m_ju_Arrays$() { if ((!$n_ju_Arrays$)) { $n_ju_Arrays$ = new $c_ju_Arrays$().init___() }; return $n_ju_Arrays$ } /** @constructor */ function $c_s_DeprecatedConsole() { $c_O.call(this) } $c_s_DeprecatedConsole.prototype = new $h_O(); $c_s_DeprecatedConsole.prototype.constructor = $c_s_DeprecatedConsole; /** @constructor */ function $h_s_DeprecatedConsole() { /*<skip>*/ } $h_s_DeprecatedConsole.prototype = $c_s_DeprecatedConsole.prototype; /** @constructor */ function $c_s_FallbackArrayBuilding() { $c_O.call(this) } $c_s_FallbackArrayBuilding.prototype = new $h_O(); $c_s_FallbackArrayBuilding.prototype.constructor = $c_s_FallbackArrayBuilding; /** @constructor */ function $h_s_FallbackArrayBuilding() { /*<skip>*/ } $h_s_FallbackArrayBuilding.prototype = $c_s_FallbackArrayBuilding.prototype; /** @constructor */ function $c_s_LowPriorityImplicits() { $c_O.call(this) } $c_s_LowPriorityImplicits.prototype = new $h_O(); $c_s_LowPriorityImplicits.prototype.constructor = $c_s_LowPriorityImplicits; /** @constructor */ function $h_s_LowPriorityImplicits() { /*<skip>*/ } $h_s_LowPriorityImplicits.prototype = $c_s_LowPriorityImplicits.prototype; $c_s_LowPriorityImplicits.prototype.unwrapString__sci_WrappedString__T = (function(ws) { return ((ws !== null) ? ws.self$4 : null) }); /** @constructor */ function $c_s_Option$WithFilter() { $c_O.call(this); this.p$1 = null; this.$$outer$f = null } $c_s_Option$WithFilter.prototype = new $h_O(); $c_s_Option$WithFilter.prototype.constructor = $c_s_Option$WithFilter; /** @constructor */ function $h_s_Option$WithFilter() { /*<skip>*/ } $h_s_Option$WithFilter.prototype = $c_s_Option$WithFilter.prototype; $c_s_Option$WithFilter.prototype.init___s_Option__F1 = (function($$outer, p) { this.p$1 = p; if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; return this }); var $d_s_Option$WithFilter = new $TypeData().initClass({ s_Option$WithFilter: 0 }, false, "scala.Option$WithFilter", { s_Option$WithFilter: 1, O: 1 }); $c_s_Option$WithFilter.prototype.$classData = $d_s_Option$WithFilter; /** @constructor */ function $c_s_PartialFunction$() { $c_O.call(this); this.scala$PartialFunction$$fallback$undpf$f = null; this.scala$PartialFunction$$constFalse$f = null; this.empty$undpf$1 = null } $c_s_PartialFunction$.prototype = new $h_O(); $c_s_PartialFunction$.prototype.constructor = $c_s_PartialFunction$; /** @constructor */ function $h_s_PartialFunction$() { /*<skip>*/ } $h_s_PartialFunction$.prototype = $c_s_PartialFunction$.prototype; $c_s_PartialFunction$.prototype.init___ = (function() { $n_s_PartialFunction$ = this; this.scala$PartialFunction$$fallback$undpf$f = new $c_s_PartialFunction$$anonfun$4().init___(); this.scala$PartialFunction$$constFalse$f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) { return (function(x$1$2) { return false }) })(this)); this.empty$undpf$1 = new $c_s_PartialFunction$$anon$1().init___(); return this }); $c_s_PartialFunction$.prototype.scala$PartialFunction$$fallbackOccurred__O__Z = (function(x) { return (this.scala$PartialFunction$$fallback$undpf$f === x) }); var $d_s_PartialFunction$ = new $TypeData().initClass({ s_PartialFunction$: 0 }, false, "scala.PartialFunction$", { s_PartialFunction$: 1, O: 1 }); $c_s_PartialFunction$.prototype.$classData = $d_s_PartialFunction$; var $n_s_PartialFunction$ = (void 0); function $m_s_PartialFunction$() { if ((!$n_s_PartialFunction$)) { $n_s_PartialFunction$ = new $c_s_PartialFunction$().init___() }; return $n_s_PartialFunction$ } /** @constructor */ function $c_s_Predef$ArrowAssoc$() { $c_O.call(this) } $c_s_Predef$ArrowAssoc$.prototype = new $h_O(); $c_s_Predef$ArrowAssoc$.prototype.constructor = $c_s_Predef$ArrowAssoc$; /** @constructor */ function $h_s_Predef$ArrowAssoc$() { /*<skip>*/ } $h_s_Predef$ArrowAssoc$.prototype = $c_s_Predef$ArrowAssoc$.prototype; $c_s_Predef$ArrowAssoc$.prototype.init___ = (function() { return this }); $c_s_Predef$ArrowAssoc$.prototype.$$minus$greater$extension__O__O__T2 = (function($$this, y) { return new $c_T2().init___O__O($$this, y) }); var $d_s_Predef$ArrowAssoc$ = new $TypeData().initClass({ s_Predef$ArrowAssoc$: 0 }, false, "scala.Predef$ArrowAssoc$", { s_Predef$ArrowAssoc$: 1, O: 1 }); $c_s_Predef$ArrowAssoc$.prototype.$classData = $d_s_Predef$ArrowAssoc$; var $n_s_Predef$ArrowAssoc$ = (void 0); function $m_s_Predef$ArrowAssoc$() { if ((!$n_s_Predef$ArrowAssoc$)) { $n_s_Predef$ArrowAssoc$ = new $c_s_Predef$ArrowAssoc$().init___() }; return $n_s_Predef$ArrowAssoc$ } /** @constructor */ function $c_s_Predef$any2stringadd$() { $c_O.call(this) } $c_s_Predef$any2stringadd$.prototype = new $h_O(); $c_s_Predef$any2stringadd$.prototype.constructor = $c_s_Predef$any2stringadd$; /** @constructor */ function $h_s_Predef$any2stringadd$() { /*<skip>*/ } $h_s_Predef$any2stringadd$.prototype = $c_s_Predef$any2stringadd$.prototype; $c_s_Predef$any2stringadd$.prototype.init___ = (function() { return this }); $c_s_Predef$any2stringadd$.prototype.$$plus$extension__O__T__T = (function($$this, other) { return (("" + $m_sjsr_RuntimeString$().valueOf__O__T($$this)) + other) }); var $d_s_Predef$any2stringadd$ = new $TypeData().initClass({ s_Predef$any2stringadd$: 0 }, false, "scala.Predef$any2stringadd$", { s_Predef$any2stringadd$: 1, O: 1 }); $c_s_Predef$any2stringadd$.prototype.$classData = $d_s_Predef$any2stringadd$; var $n_s_Predef$any2stringadd$ = (void 0); function $m_s_Predef$any2stringadd$() { if ((!$n_s_Predef$any2stringadd$)) { $n_s_Predef$any2stringadd$ = new $c_s_Predef$any2stringadd$().init___() }; return $n_s_Predef$any2stringadd$ } /** @constructor */ function $c_s_math_Ordered$() { $c_O.call(this) } $c_s_math_Ordered$.prototype = new $h_O(); $c_s_math_Ordered$.prototype.constructor = $c_s_math_Ordered$; /** @constructor */ function $h_s_math_Ordered$() { /*<skip>*/ } $h_s_math_Ordered$.prototype = $c_s_math_Ordered$.prototype; $c_s_math_Ordered$.prototype.init___ = (function() { return this }); var $d_s_math_Ordered$ = new $TypeData().initClass({ s_math_Ordered$: 0 }, false, "scala.math.Ordered$", { s_math_Ordered$: 1, O: 1 }); $c_s_math_Ordered$.prototype.$classData = $d_s_math_Ordered$; var $n_s_math_Ordered$ = (void 0); function $m_s_math_Ordered$() { if ((!$n_s_math_Ordered$)) { $n_s_math_Ordered$ = new $c_s_math_Ordered$().init___() }; return $n_s_math_Ordered$ } /** @constructor */ function $c_s_package$() { $c_O.call(this); this.AnyRef$1 = null; this.Traversable$1 = null; this.Iterable$1 = null; this.Seq$1 = null; this.IndexedSeq$1 = null; this.Iterator$1 = null; this.List$1 = null; this.Nil$1 = null; this.$$colon$colon$1 = null; this.$$plus$colon$1 = null; this.$$colon$plus$1 = null; this.Stream$1 = null; this.$$hash$colon$colon$1 = null; this.Vector$1 = null; this.StringBuilder$1 = null; this.Range$1 = null; this.BigDecimal$1 = null; this.BigInt$1 = null; this.Equiv$1 = null; this.Fractional$1 = null; this.Integral$1 = null; this.Numeric$1 = null; this.Ordered$1 = null; this.Ordering$1 = null; this.Either$1 = null; this.Left$1 = null; this.Right$1 = null; this.bitmap$0$1 = 0 } $c_s_package$.prototype = new $h_O(); $c_s_package$.prototype.constructor = $c_s_package$; /** @constructor */ function $h_s_package$() { /*<skip>*/ } $h_s_package$.prototype = $c_s_package$.prototype; $c_s_package$.prototype.init___ = (function() { $n_s_package$ = this; this.AnyRef$1 = new $c_s_package$$anon$1().init___(); this.Traversable$1 = $m_sc_Traversable$(); this.Iterable$1 = $m_sc_Iterable$(); this.Seq$1 = $m_sc_Seq$(); this.IndexedSeq$1 = $m_sc_IndexedSeq$(); this.Iterator$1 = $m_sc_Iterator$(); this.List$1 = $m_sci_List$(); this.Nil$1 = $m_sci_Nil$(); this.$$colon$colon$1 = $m_sci_$colon$colon$(); this.$$plus$colon$1 = $m_sc_$plus$colon$(); this.$$colon$plus$1 = $m_sc_$colon$plus$(); this.Stream$1 = $m_sci_Stream$(); this.$$hash$colon$colon$1 = $m_sci_Stream$$hash$colon$colon$(); this.Vector$1 = $m_sci_Vector$(); this.StringBuilder$1 = $m_scm_StringBuilder$(); this.Range$1 = $m_sci_Range$(); this.Equiv$1 = $m_s_math_Equiv$(); this.Fractional$1 = $m_s_math_Fractional$(); this.Integral$1 = $m_s_math_Integral$(); this.Numeric$1 = $m_s_math_Numeric$(); this.Ordered$1 = $m_s_math_Ordered$(); this.Ordering$1 = $m_s_math_Ordering$(); this.Either$1 = $m_s_util_Either$(); this.Left$1 = $m_s_util_Left$(); this.Right$1 = $m_s_util_Right$(); return this }); var $d_s_package$ = new $TypeData().initClass({ s_package$: 0 }, false, "scala.package$", { s_package$: 1, O: 1 }); $c_s_package$.prototype.$classData = $d_s_package$; var $n_s_package$ = (void 0); function $m_s_package$() { if ((!$n_s_package$)) { $n_s_package$ = new $c_s_package$().init___() }; return $n_s_package$ } /** @constructor */ function $c_s_reflect_ClassManifestFactory$() { $c_O.call(this); this.Byte$1 = null; this.Short$1 = null; this.Char$1 = null; this.Int$1 = null; this.Long$1 = null; this.Float$1 = null; this.Double$1 = null; this.Boolean$1 = null; this.Unit$1 = null; this.Any$1 = null; this.Object$1 = null; this.AnyVal$1 = null; this.Nothing$1 = null; this.Null$1 = null } $c_s_reflect_ClassManifestFactory$.prototype = new $h_O(); $c_s_reflect_ClassManifestFactory$.prototype.constructor = $c_s_reflect_ClassManifestFactory$; /** @constructor */ function $h_s_reflect_ClassManifestFactory$() { /*<skip>*/ } $h_s_reflect_ClassManifestFactory$.prototype = $c_s_reflect_ClassManifestFactory$.prototype; $c_s_reflect_ClassManifestFactory$.prototype.init___ = (function() { $n_s_reflect_ClassManifestFactory$ = this; this.Byte$1 = $m_s_reflect_ManifestFactory$ByteManifest$(); this.Short$1 = $m_s_reflect_ManifestFactory$ShortManifest$(); this.Char$1 = $m_s_reflect_ManifestFactory$CharManifest$(); this.Int$1 = $m_s_reflect_ManifestFactory$IntManifest$(); this.Long$1 = $m_s_reflect_ManifestFactory$LongManifest$(); this.Float$1 = $m_s_reflect_ManifestFactory$FloatManifest$(); this.Double$1 = $m_s_reflect_ManifestFactory$DoubleManifest$(); this.Boolean$1 = $m_s_reflect_ManifestFactory$BooleanManifest$(); this.Unit$1 = $m_s_reflect_ManifestFactory$UnitManifest$(); this.Any$1 = $m_s_reflect_ManifestFactory$AnyManifest$(); this.Object$1 = $m_s_reflect_ManifestFactory$ObjectManifest$(); this.AnyVal$1 = $m_s_reflect_ManifestFactory$AnyValManifest$(); this.Nothing$1 = $m_s_reflect_ManifestFactory$NothingManifest$(); this.Null$1 = $m_s_reflect_ManifestFactory$NullManifest$(); return this }); var $d_s_reflect_ClassManifestFactory$ = new $TypeData().initClass({ s_reflect_ClassManifestFactory$: 0 }, false, "scala.reflect.ClassManifestFactory$", { s_reflect_ClassManifestFactory$: 1, O: 1 }); $c_s_reflect_ClassManifestFactory$.prototype.$classData = $d_s_reflect_ClassManifestFactory$; var $n_s_reflect_ClassManifestFactory$ = (void 0); function $m_s_reflect_ClassManifestFactory$() { if ((!$n_s_reflect_ClassManifestFactory$)) { $n_s_reflect_ClassManifestFactory$ = new $c_s_reflect_ClassManifestFactory$().init___() }; return $n_s_reflect_ClassManifestFactory$ } /** @constructor */ function $c_s_reflect_ManifestFactory$() { $c_O.call(this) } $c_s_reflect_ManifestFactory$.prototype = new $h_O(); $c_s_reflect_ManifestFactory$.prototype.constructor = $c_s_reflect_ManifestFactory$; /** @constructor */ function $h_s_reflect_ManifestFactory$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$.prototype = $c_s_reflect_ManifestFactory$.prototype; $c_s_reflect_ManifestFactory$.prototype.init___ = (function() { return this }); var $d_s_reflect_ManifestFactory$ = new $TypeData().initClass({ s_reflect_ManifestFactory$: 0 }, false, "scala.reflect.ManifestFactory$", { s_reflect_ManifestFactory$: 1, O: 1 }); $c_s_reflect_ManifestFactory$.prototype.$classData = $d_s_reflect_ManifestFactory$; var $n_s_reflect_ManifestFactory$ = (void 0); function $m_s_reflect_ManifestFactory$() { if ((!$n_s_reflect_ManifestFactory$)) { $n_s_reflect_ManifestFactory$ = new $c_s_reflect_ManifestFactory$().init___() }; return $n_s_reflect_ManifestFactory$ } /** @constructor */ function $c_s_reflect_package$() { $c_O.call(this); this.ClassManifest$1 = null; this.Manifest$1 = null } $c_s_reflect_package$.prototype = new $h_O(); $c_s_reflect_package$.prototype.constructor = $c_s_reflect_package$; /** @constructor */ function $h_s_reflect_package$() { /*<skip>*/ } $h_s_reflect_package$.prototype = $c_s_reflect_package$.prototype; $c_s_reflect_package$.prototype.init___ = (function() { $n_s_reflect_package$ = this; this.ClassManifest$1 = $m_s_reflect_ClassManifestFactory$(); this.Manifest$1 = $m_s_reflect_ManifestFactory$(); return this }); var $d_s_reflect_package$ = new $TypeData().initClass({ s_reflect_package$: 0 }, false, "scala.reflect.package$", { s_reflect_package$: 1, O: 1 }); $c_s_reflect_package$.prototype.$classData = $d_s_reflect_package$; var $n_s_reflect_package$ = (void 0); function $m_s_reflect_package$() { if ((!$n_s_reflect_package$)) { $n_s_reflect_package$ = new $c_s_reflect_package$().init___() }; return $n_s_reflect_package$ } /** @constructor */ function $c_s_sys_package$() { $c_O.call(this) } $c_s_sys_package$.prototype = new $h_O(); $c_s_sys_package$.prototype.constructor = $c_s_sys_package$; /** @constructor */ function $h_s_sys_package$() { /*<skip>*/ } $h_s_sys_package$.prototype = $c_s_sys_package$.prototype; $c_s_sys_package$.prototype.init___ = (function() { return this }); $c_s_sys_package$.prototype.error__T__sr_Nothing$ = (function(message) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(new $c_jl_RuntimeException().init___T(message)) }); var $d_s_sys_package$ = new $TypeData().initClass({ s_sys_package$: 0 }, false, "scala.sys.package$", { s_sys_package$: 1, O: 1 }); $c_s_sys_package$.prototype.$classData = $d_s_sys_package$; var $n_s_sys_package$ = (void 0); function $m_s_sys_package$() { if ((!$n_s_sys_package$)) { $n_s_sys_package$ = new $c_s_sys_package$().init___() }; return $n_s_sys_package$ } /** @constructor */ function $c_s_util_DynamicVariable() { $c_O.call(this); this.v$1 = null } $c_s_util_DynamicVariable.prototype = new $h_O(); $c_s_util_DynamicVariable.prototype.constructor = $c_s_util_DynamicVariable; /** @constructor */ function $h_s_util_DynamicVariable() { /*<skip>*/ } $h_s_util_DynamicVariable.prototype = $c_s_util_DynamicVariable.prototype; $c_s_util_DynamicVariable.prototype.toString__T = (function() { return (("DynamicVariable(" + this.v$1) + ")") }); $c_s_util_DynamicVariable.prototype.init___O = (function(init) { this.v$1 = init; return this }); var $d_s_util_DynamicVariable = new $TypeData().initClass({ s_util_DynamicVariable: 0 }, false, "scala.util.DynamicVariable", { s_util_DynamicVariable: 1, O: 1 }); $c_s_util_DynamicVariable.prototype.$classData = $d_s_util_DynamicVariable; /** @constructor */ function $c_s_util_Either$() { $c_O.call(this) } $c_s_util_Either$.prototype = new $h_O(); $c_s_util_Either$.prototype.constructor = $c_s_util_Either$; /** @constructor */ function $h_s_util_Either$() { /*<skip>*/ } $h_s_util_Either$.prototype = $c_s_util_Either$.prototype; $c_s_util_Either$.prototype.init___ = (function() { return this }); var $d_s_util_Either$ = new $TypeData().initClass({ s_util_Either$: 0 }, false, "scala.util.Either$", { s_util_Either$: 1, O: 1 }); $c_s_util_Either$.prototype.$classData = $d_s_util_Either$; var $n_s_util_Either$ = (void 0); function $m_s_util_Either$() { if ((!$n_s_util_Either$)) { $n_s_util_Either$ = new $c_s_util_Either$().init___() }; return $n_s_util_Either$ } /** @constructor */ function $c_s_util_Try() { $c_O.call(this) } $c_s_util_Try.prototype = new $h_O(); $c_s_util_Try.prototype.constructor = $c_s_util_Try; /** @constructor */ function $h_s_util_Try() { /*<skip>*/ } $h_s_util_Try.prototype = $c_s_util_Try.prototype; /** @constructor */ function $c_s_util_control_Breaks() { $c_O.call(this); this.scala$util$control$Breaks$$breakException$1 = null } $c_s_util_control_Breaks.prototype = new $h_O(); $c_s_util_control_Breaks.prototype.constructor = $c_s_util_control_Breaks; /** @constructor */ function $h_s_util_control_Breaks() { /*<skip>*/ } $h_s_util_control_Breaks.prototype = $c_s_util_control_Breaks.prototype; $c_s_util_control_Breaks.prototype.init___ = (function() { this.scala$util$control$Breaks$$breakException$1 = new $c_s_util_control_BreakControl().init___(); return this }); var $d_s_util_control_Breaks = new $TypeData().initClass({ s_util_control_Breaks: 0 }, false, "scala.util.control.Breaks", { s_util_control_Breaks: 1, O: 1 }); $c_s_util_control_Breaks.prototype.$classData = $d_s_util_control_Breaks; function $is_s_util_control_ControlThrowable(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.s_util_control_ControlThrowable))) } function $as_s_util_control_ControlThrowable(obj) { return (($is_s_util_control_ControlThrowable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.util.control.ControlThrowable")) } function $isArrayOf_s_util_control_ControlThrowable(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.s_util_control_ControlThrowable))) } function $asArrayOf_s_util_control_ControlThrowable(obj, depth) { return (($isArrayOf_s_util_control_ControlThrowable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.util.control.ControlThrowable;", depth)) } /** @constructor */ function $c_s_util_control_NonFatal$() { $c_O.call(this) } $c_s_util_control_NonFatal$.prototype = new $h_O(); $c_s_util_control_NonFatal$.prototype.constructor = $c_s_util_control_NonFatal$; /** @constructor */ function $h_s_util_control_NonFatal$() { /*<skip>*/ } $h_s_util_control_NonFatal$.prototype = $c_s_util_control_NonFatal$.prototype; $c_s_util_control_NonFatal$.prototype.init___ = (function() { return this }); $c_s_util_control_NonFatal$.prototype.apply__jl_Throwable__Z = (function(t) { return (!($is_jl_VirtualMachineError(t) || ($is_jl_ThreadDeath(t) || ($is_jl_InterruptedException(t) || ($is_jl_LinkageError(t) || $is_s_util_control_ControlThrowable(t)))))) }); $c_s_util_control_NonFatal$.prototype.unapply__jl_Throwable__s_Option = (function(t) { return (this.apply__jl_Throwable__Z(t) ? new $c_s_Some().init___O(t) : $m_s_None$()) }); var $d_s_util_control_NonFatal$ = new $TypeData().initClass({ s_util_control_NonFatal$: 0 }, false, "scala.util.control.NonFatal$", { s_util_control_NonFatal$: 1, O: 1 }); $c_s_util_control_NonFatal$.prototype.$classData = $d_s_util_control_NonFatal$; var $n_s_util_control_NonFatal$ = (void 0); function $m_s_util_control_NonFatal$() { if ((!$n_s_util_control_NonFatal$)) { $n_s_util_control_NonFatal$ = new $c_s_util_control_NonFatal$().init___() }; return $n_s_util_control_NonFatal$ } /** @constructor */ function $c_s_util_hashing_MurmurHash3() { $c_O.call(this) } $c_s_util_hashing_MurmurHash3.prototype = new $h_O(); $c_s_util_hashing_MurmurHash3.prototype.constructor = $c_s_util_hashing_MurmurHash3; /** @constructor */ function $h_s_util_hashing_MurmurHash3() { /*<skip>*/ } $h_s_util_hashing_MurmurHash3.prototype = $c_s_util_hashing_MurmurHash3.prototype; $c_s_util_hashing_MurmurHash3.prototype.mixLast__I__I__I = (function(hash, data) { var k = data; k = $imul((-862048943), k); var i = k; k = ((i << 15) | ((i >>> (-15)) | 0)); k = $imul(461845907, k); return (hash ^ k) }); $c_s_util_hashing_MurmurHash3.prototype.mix__I__I__I = (function(hash, data) { var h = this.mixLast__I__I__I(hash, data); var i = h; h = ((i << 13) | ((i >>> (-13)) | 0)); return (((-430675100) + $imul(5, h)) | 0) }); $c_s_util_hashing_MurmurHash3.prototype.avalanche__p1__I__I = (function(hash) { var h = hash; h = (h ^ ((h >>> 16) | 0)); h = $imul((-2048144789), h); h = (h ^ ((h >>> 13) | 0)); h = $imul((-1028477387), h); h = (h ^ ((h >>> 16) | 0)); return h }); $c_s_util_hashing_MurmurHash3.prototype.unorderedHash__sc_TraversableOnce__I__I = (function(xs, seed) { var a = new $c_sr_IntRef().init___I(0); var b = new $c_sr_IntRef().init___I(0); var n = new $c_sr_IntRef().init___I(0); var c = new $c_sr_IntRef().init___I(1); xs.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, a$1, b$1, n$1, c$1) { return (function(x$2) { var h = $m_sr_ScalaRunTime$().hash__O__I(x$2); a$1.elem$1 = ((a$1.elem$1 + h) | 0); b$1.elem$1 = (b$1.elem$1 ^ h); if ((h !== 0)) { c$1.elem$1 = $imul(c$1.elem$1, h) }; n$1.elem$1 = ((1 + n$1.elem$1) | 0) }) })(this, a, b, n, c))); var h$1 = seed; h$1 = this.mix__I__I__I(h$1, a.elem$1); h$1 = this.mix__I__I__I(h$1, b.elem$1); h$1 = this.mixLast__I__I__I(h$1, c.elem$1); return this.finalizeHash__I__I__I(h$1, n.elem$1) }); $c_s_util_hashing_MurmurHash3.prototype.productHash__s_Product__I__I = (function(x, seed) { var arr = x.productArity__I(); if ((arr === 0)) { var this$1 = x.productPrefix__T(); return $m_sjsr_RuntimeString$().hashCode__T__I(this$1) } else { var h = seed; var i = 0; while ((i < arr)) { h = this.mix__I__I__I(h, $m_sr_ScalaRunTime$().hash__O__I(x.productElement__I__O(i))); i = ((1 + i) | 0) }; return this.finalizeHash__I__I__I(h, arr) } }); $c_s_util_hashing_MurmurHash3.prototype.finalizeHash__I__I__I = (function(hash, length) { return this.avalanche__p1__I__I((hash ^ length)) }); $c_s_util_hashing_MurmurHash3.prototype.orderedHash__sc_TraversableOnce__I__I = (function(xs, seed) { var n = new $c_sr_IntRef().init___I(0); var h = new $c_sr_IntRef().init___I(seed); xs.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, n$1, h$1) { return (function(x$2) { h$1.elem$1 = $this.mix__I__I__I(h$1.elem$1, $m_sr_ScalaRunTime$().hash__O__I(x$2)); n$1.elem$1 = ((1 + n$1.elem$1) | 0) }) })(this, n, h))); return this.finalizeHash__I__I__I(h.elem$1, n.elem$1) }); $c_s_util_hashing_MurmurHash3.prototype.listHash__sci_List__I__I = (function(xs, seed) { var n = 0; var h = seed; var elems = xs; while ((!elems.isEmpty__Z())) { var head = elems.head__O(); var tail = $as_sci_List(elems.tail__O()); h = this.mix__I__I__I(h, $m_sr_ScalaRunTime$().hash__O__I(head)); n = ((1 + n) | 0); elems = tail }; return this.finalizeHash__I__I__I(h, n) }); /** @constructor */ function $c_s_util_hashing_package$() { $c_O.call(this) } $c_s_util_hashing_package$.prototype = new $h_O(); $c_s_util_hashing_package$.prototype.constructor = $c_s_util_hashing_package$; /** @constructor */ function $h_s_util_hashing_package$() { /*<skip>*/ } $h_s_util_hashing_package$.prototype = $c_s_util_hashing_package$.prototype; $c_s_util_hashing_package$.prototype.init___ = (function() { return this }); $c_s_util_hashing_package$.prototype.byteswap32__I__I = (function(v) { var hc = $imul((-1640532531), v); hc = $m_jl_Integer$().reverseBytes__I__I(hc); return $imul((-1640532531), hc) }); var $d_s_util_hashing_package$ = new $TypeData().initClass({ s_util_hashing_package$: 0 }, false, "scala.util.hashing.package$", { s_util_hashing_package$: 1, O: 1 }); $c_s_util_hashing_package$.prototype.$classData = $d_s_util_hashing_package$; var $n_s_util_hashing_package$ = (void 0); function $m_s_util_hashing_package$() { if ((!$n_s_util_hashing_package$)) { $n_s_util_hashing_package$ = new $c_s_util_hashing_package$().init___() }; return $n_s_util_hashing_package$ } /** @constructor */ function $c_sc_$colon$plus$() { $c_O.call(this) } $c_sc_$colon$plus$.prototype = new $h_O(); $c_sc_$colon$plus$.prototype.constructor = $c_sc_$colon$plus$; /** @constructor */ function $h_sc_$colon$plus$() { /*<skip>*/ } $h_sc_$colon$plus$.prototype = $c_sc_$colon$plus$.prototype; $c_sc_$colon$plus$.prototype.init___ = (function() { return this }); var $d_sc_$colon$plus$ = new $TypeData().initClass({ sc_$colon$plus$: 0 }, false, "scala.collection.$colon$plus$", { sc_$colon$plus$: 1, O: 1 }); $c_sc_$colon$plus$.prototype.$classData = $d_sc_$colon$plus$; var $n_sc_$colon$plus$ = (void 0); function $m_sc_$colon$plus$() { if ((!$n_sc_$colon$plus$)) { $n_sc_$colon$plus$ = new $c_sc_$colon$plus$().init___() }; return $n_sc_$colon$plus$ } /** @constructor */ function $c_sc_$plus$colon$() { $c_O.call(this) } $c_sc_$plus$colon$.prototype = new $h_O(); $c_sc_$plus$colon$.prototype.constructor = $c_sc_$plus$colon$; /** @constructor */ function $h_sc_$plus$colon$() { /*<skip>*/ } $h_sc_$plus$colon$.prototype = $c_sc_$plus$colon$.prototype; $c_sc_$plus$colon$.prototype.init___ = (function() { return this }); var $d_sc_$plus$colon$ = new $TypeData().initClass({ sc_$plus$colon$: 0 }, false, "scala.collection.$plus$colon$", { sc_$plus$colon$: 1, O: 1 }); $c_sc_$plus$colon$.prototype.$classData = $d_sc_$plus$colon$; var $n_sc_$plus$colon$ = (void 0); function $m_sc_$plus$colon$() { if ((!$n_sc_$plus$colon$)) { $n_sc_$plus$colon$ = new $c_sc_$plus$colon$().init___() }; return $n_sc_$plus$colon$ } /** @constructor */ function $c_sc_Iterator$() { $c_O.call(this); this.empty$1 = null } $c_sc_Iterator$.prototype = new $h_O(); $c_sc_Iterator$.prototype.constructor = $c_sc_Iterator$; /** @constructor */ function $h_sc_Iterator$() { /*<skip>*/ } $h_sc_Iterator$.prototype = $c_sc_Iterator$.prototype; $c_sc_Iterator$.prototype.init___ = (function() { $n_sc_Iterator$ = this; this.empty$1 = new $c_sc_Iterator$$anon$2().init___(); return this }); var $d_sc_Iterator$ = new $TypeData().initClass({ sc_Iterator$: 0 }, false, "scala.collection.Iterator$", { sc_Iterator$: 1, O: 1 }); $c_sc_Iterator$.prototype.$classData = $d_sc_Iterator$; var $n_sc_Iterator$ = (void 0); function $m_sc_Iterator$() { if ((!$n_sc_Iterator$)) { $n_sc_Iterator$ = new $c_sc_Iterator$().init___() }; return $n_sc_Iterator$ } function $is_sc_TraversableOnce(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_TraversableOnce))) } function $as_sc_TraversableOnce(obj) { return (($is_sc_TraversableOnce(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.TraversableOnce")) } function $isArrayOf_sc_TraversableOnce(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_TraversableOnce))) } function $asArrayOf_sc_TraversableOnce(obj, depth) { return (($isArrayOf_sc_TraversableOnce(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.TraversableOnce;", depth)) } /** @constructor */ function $c_scg_GenMapFactory() { $c_O.call(this) } $c_scg_GenMapFactory.prototype = new $h_O(); $c_scg_GenMapFactory.prototype.constructor = $c_scg_GenMapFactory; /** @constructor */ function $h_scg_GenMapFactory() { /*<skip>*/ } $h_scg_GenMapFactory.prototype = $c_scg_GenMapFactory.prototype; $c_scg_GenMapFactory.prototype.apply__sc_Seq__sc_GenMap = (function(elems) { return $as_sc_GenMap($as_scm_Builder(this.newBuilder__scm_Builder().$$plus$plus$eq__sc_TraversableOnce__scg_Growable(elems)).result__O()) }); $c_scg_GenMapFactory.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_MapBuilder().init___sc_GenMap(this.empty__sc_GenMap()) }); /** @constructor */ function $c_scg_GenericCompanion() { $c_O.call(this) } $c_scg_GenericCompanion.prototype = new $h_O(); $c_scg_GenericCompanion.prototype.constructor = $c_scg_GenericCompanion; /** @constructor */ function $h_scg_GenericCompanion() { /*<skip>*/ } $h_scg_GenericCompanion.prototype = $c_scg_GenericCompanion.prototype; $c_scg_GenericCompanion.prototype.apply__sc_Seq__sc_GenTraversable = (function(elems) { if (elems.isEmpty__Z()) { return this.empty__sc_GenTraversable() } else { var b = this.newBuilder__scm_Builder(); b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable(elems); return $as_sc_GenTraversable(b.result__O()) } }); $c_scg_GenericCompanion.prototype.empty__sc_GenTraversable = (function() { return $as_sc_GenTraversable(this.newBuilder__scm_Builder().result__O()) }); function $is_scg_Growable(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scg_Growable))) } function $as_scg_Growable(obj) { return (($is_scg_Growable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.generic.Growable")) } function $isArrayOf_scg_Growable(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scg_Growable))) } function $asArrayOf_scg_Growable(obj, depth) { return (($isArrayOf_scg_Growable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.generic.Growable;", depth)) } /** @constructor */ function $c_sci_HashMap$Merger() { $c_O.call(this) } $c_sci_HashMap$Merger.prototype = new $h_O(); $c_sci_HashMap$Merger.prototype.constructor = $c_sci_HashMap$Merger; /** @constructor */ function $h_sci_HashMap$Merger() { /*<skip>*/ } $h_sci_HashMap$Merger.prototype = $c_sci_HashMap$Merger.prototype; /** @constructor */ function $c_sci_Stream$$hash$colon$colon$() { $c_O.call(this) } $c_sci_Stream$$hash$colon$colon$.prototype = new $h_O(); $c_sci_Stream$$hash$colon$colon$.prototype.constructor = $c_sci_Stream$$hash$colon$colon$; /** @constructor */ function $h_sci_Stream$$hash$colon$colon$() { /*<skip>*/ } $h_sci_Stream$$hash$colon$colon$.prototype = $c_sci_Stream$$hash$colon$colon$.prototype; $c_sci_Stream$$hash$colon$colon$.prototype.init___ = (function() { return this }); var $d_sci_Stream$$hash$colon$colon$ = new $TypeData().initClass({ sci_Stream$$hash$colon$colon$: 0 }, false, "scala.collection.immutable.Stream$$hash$colon$colon$", { sci_Stream$$hash$colon$colon$: 1, O: 1 }); $c_sci_Stream$$hash$colon$colon$.prototype.$classData = $d_sci_Stream$$hash$colon$colon$; var $n_sci_Stream$$hash$colon$colon$ = (void 0); function $m_sci_Stream$$hash$colon$colon$() { if ((!$n_sci_Stream$$hash$colon$colon$)) { $n_sci_Stream$$hash$colon$colon$ = new $c_sci_Stream$$hash$colon$colon$().init___() }; return $n_sci_Stream$$hash$colon$colon$ } /** @constructor */ function $c_sci_Stream$ConsWrapper() { $c_O.call(this); this.tl$1 = null } $c_sci_Stream$ConsWrapper.prototype = new $h_O(); $c_sci_Stream$ConsWrapper.prototype.constructor = $c_sci_Stream$ConsWrapper; /** @constructor */ function $h_sci_Stream$ConsWrapper() { /*<skip>*/ } $h_sci_Stream$ConsWrapper.prototype = $c_sci_Stream$ConsWrapper.prototype; $c_sci_Stream$ConsWrapper.prototype.init___F0 = (function(tl) { this.tl$1 = tl; return this }); $c_sci_Stream$ConsWrapper.prototype.$$hash$colon$colon__O__sci_Stream = (function(hd) { var tl = this.tl$1; return new $c_sci_Stream$Cons().init___O__F0(hd, tl) }); $c_sci_Stream$ConsWrapper.prototype.$$hash$colon$colon$colon__sci_Stream__sci_Stream = (function(prefix) { return prefix.append__F0__sci_Stream(this.tl$1) }); var $d_sci_Stream$ConsWrapper = new $TypeData().initClass({ sci_Stream$ConsWrapper: 0 }, false, "scala.collection.immutable.Stream$ConsWrapper", { sci_Stream$ConsWrapper: 1, O: 1 }); $c_sci_Stream$ConsWrapper.prototype.$classData = $d_sci_Stream$ConsWrapper; /** @constructor */ function $c_sci_StreamIterator$LazyCell() { $c_O.call(this); this.st$1 = null; this.v$1 = null; this.$$outer$f = null; this.bitmap$0$1 = false } $c_sci_StreamIterator$LazyCell.prototype = new $h_O(); $c_sci_StreamIterator$LazyCell.prototype.constructor = $c_sci_StreamIterator$LazyCell; /** @constructor */ function $h_sci_StreamIterator$LazyCell() { /*<skip>*/ } $h_sci_StreamIterator$LazyCell.prototype = $c_sci_StreamIterator$LazyCell.prototype; $c_sci_StreamIterator$LazyCell.prototype.init___sci_StreamIterator__F0 = (function($$outer, st) { this.st$1 = st; if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; return this }); $c_sci_StreamIterator$LazyCell.prototype.v$lzycompute__p1__sci_Stream = (function() { if ((!this.bitmap$0$1)) { this.v$1 = $as_sci_Stream(this.st$1.apply__O()); this.bitmap$0$1 = true }; this.st$1 = null; return this.v$1 }); $c_sci_StreamIterator$LazyCell.prototype.v__sci_Stream = (function() { return ((!this.bitmap$0$1) ? this.v$lzycompute__p1__sci_Stream() : this.v$1) }); var $d_sci_StreamIterator$LazyCell = new $TypeData().initClass({ sci_StreamIterator$LazyCell: 0 }, false, "scala.collection.immutable.StreamIterator$LazyCell", { sci_StreamIterator$LazyCell: 1, O: 1 }); $c_sci_StreamIterator$LazyCell.prototype.$classData = $d_sci_StreamIterator$LazyCell; /** @constructor */ function $c_sci_StringOps$() { $c_O.call(this) } $c_sci_StringOps$.prototype = new $h_O(); $c_sci_StringOps$.prototype.constructor = $c_sci_StringOps$; /** @constructor */ function $h_sci_StringOps$() { /*<skip>*/ } $h_sci_StringOps$.prototype = $c_sci_StringOps$.prototype; $c_sci_StringOps$.prototype.init___ = (function() { return this }); $c_sci_StringOps$.prototype.equals$extension__T__O__Z = (function($$this, x$1) { if ($is_sci_StringOps(x$1)) { var StringOps$1 = ((x$1 === null) ? null : $as_sci_StringOps(x$1).repr$1); return ($$this === StringOps$1) } else { return false } }); $c_sci_StringOps$.prototype.slice$extension__T__I__I__T = (function($$this, from, until) { var start = ((from < 0) ? 0 : from); if (((until <= start) || (start >= $uI($$this.length)))) { return "" }; var end = ((until > $uI($$this.length)) ? $uI($$this.length) : until); return $as_T($$this.substring(start, end)) }); var $d_sci_StringOps$ = new $TypeData().initClass({ sci_StringOps$: 0 }, false, "scala.collection.immutable.StringOps$", { sci_StringOps$: 1, O: 1 }); $c_sci_StringOps$.prototype.$classData = $d_sci_StringOps$; var $n_sci_StringOps$ = (void 0); function $m_sci_StringOps$() { if ((!$n_sci_StringOps$)) { $n_sci_StringOps$ = new $c_sci_StringOps$().init___() }; return $n_sci_StringOps$ } /** @constructor */ function $c_sci_WrappedString$() { $c_O.call(this) } $c_sci_WrappedString$.prototype = new $h_O(); $c_sci_WrappedString$.prototype.constructor = $c_sci_WrappedString$; /** @constructor */ function $h_sci_WrappedString$() { /*<skip>*/ } $h_sci_WrappedString$.prototype = $c_sci_WrappedString$.prototype; $c_sci_WrappedString$.prototype.init___ = (function() { return this }); $c_sci_WrappedString$.prototype.newBuilder__scm_Builder = (function() { var this$2 = new $c_scm_StringBuilder().init___(); var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) { return (function(x$2) { var x = $as_T(x$2); return new $c_sci_WrappedString().init___T(x) }) })(this)); return new $c_scm_Builder$$anon$1().init___scm_Builder__F1(this$2, f) }); var $d_sci_WrappedString$ = new $TypeData().initClass({ sci_WrappedString$: 0 }, false, "scala.collection.immutable.WrappedString$", { sci_WrappedString$: 1, O: 1 }); $c_sci_WrappedString$.prototype.$classData = $d_sci_WrappedString$; var $n_sci_WrappedString$ = (void 0); function $m_sci_WrappedString$() { if ((!$n_sci_WrappedString$)) { $n_sci_WrappedString$ = new $c_sci_WrappedString$().init___() }; return $n_sci_WrappedString$ } /** @constructor */ function $c_scm_ArrayOps$ofRef$() { $c_O.call(this) } $c_scm_ArrayOps$ofRef$.prototype = new $h_O(); $c_scm_ArrayOps$ofRef$.prototype.constructor = $c_scm_ArrayOps$ofRef$; /** @constructor */ function $h_scm_ArrayOps$ofRef$() { /*<skip>*/ } $h_scm_ArrayOps$ofRef$.prototype = $c_scm_ArrayOps$ofRef$.prototype; $c_scm_ArrayOps$ofRef$.prototype.init___ = (function() { return this }); $c_scm_ArrayOps$ofRef$.prototype.equals$extension__AO__O__Z = (function($$this, x$1) { if ($is_scm_ArrayOps$ofRef(x$1)) { var ofRef$1 = ((x$1 === null) ? null : $as_scm_ArrayOps$ofRef(x$1).repr$1); return ($$this === ofRef$1) } else { return false } }); var $d_scm_ArrayOps$ofRef$ = new $TypeData().initClass({ scm_ArrayOps$ofRef$: 0 }, false, "scala.collection.mutable.ArrayOps$ofRef$", { scm_ArrayOps$ofRef$: 1, O: 1 }); $c_scm_ArrayOps$ofRef$.prototype.$classData = $d_scm_ArrayOps$ofRef$; var $n_scm_ArrayOps$ofRef$ = (void 0); function $m_scm_ArrayOps$ofRef$() { if ((!$n_scm_ArrayOps$ofRef$)) { $n_scm_ArrayOps$ofRef$ = new $c_scm_ArrayOps$ofRef$().init___() }; return $n_scm_ArrayOps$ofRef$ } /** @constructor */ function $c_scm_FlatHashTable$() { $c_O.call(this) } $c_scm_FlatHashTable$.prototype = new $h_O(); $c_scm_FlatHashTable$.prototype.constructor = $c_scm_FlatHashTable$; /** @constructor */ function $h_scm_FlatHashTable$() { /*<skip>*/ } $h_scm_FlatHashTable$.prototype = $c_scm_FlatHashTable$.prototype; $c_scm_FlatHashTable$.prototype.init___ = (function() { return this }); $c_scm_FlatHashTable$.prototype.newThreshold__I__I__I = (function(_loadFactor, size) { var assertion = (_loadFactor < 500); if ((!assertion)) { throw new $c_jl_AssertionError().init___O("assertion failed: loadFactor too large; must be < 0.5") }; return new $c_sjsr_RuntimeLong().init___I(size).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(_loadFactor)).$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(1000, 0)).lo$2 }); var $d_scm_FlatHashTable$ = new $TypeData().initClass({ scm_FlatHashTable$: 0 }, false, "scala.collection.mutable.FlatHashTable$", { scm_FlatHashTable$: 1, O: 1 }); $c_scm_FlatHashTable$.prototype.$classData = $d_scm_FlatHashTable$; var $n_scm_FlatHashTable$ = (void 0); function $m_scm_FlatHashTable$() { if ((!$n_scm_FlatHashTable$)) { $n_scm_FlatHashTable$ = new $c_scm_FlatHashTable$().init___() }; return $n_scm_FlatHashTable$ } /** @constructor */ function $c_scm_FlatHashTable$NullSentinel$() { $c_O.call(this) } $c_scm_FlatHashTable$NullSentinel$.prototype = new $h_O(); $c_scm_FlatHashTable$NullSentinel$.prototype.constructor = $c_scm_FlatHashTable$NullSentinel$; /** @constructor */ function $h_scm_FlatHashTable$NullSentinel$() { /*<skip>*/ } $h_scm_FlatHashTable$NullSentinel$.prototype = $c_scm_FlatHashTable$NullSentinel$.prototype; $c_scm_FlatHashTable$NullSentinel$.prototype.init___ = (function() { return this }); $c_scm_FlatHashTable$NullSentinel$.prototype.toString__T = (function() { return "NullSentinel" }); $c_scm_FlatHashTable$NullSentinel$.prototype.hashCode__I = (function() { return 0 }); var $d_scm_FlatHashTable$NullSentinel$ = new $TypeData().initClass({ scm_FlatHashTable$NullSentinel$: 0 }, false, "scala.collection.mutable.FlatHashTable$NullSentinel$", { scm_FlatHashTable$NullSentinel$: 1, O: 1 }); $c_scm_FlatHashTable$NullSentinel$.prototype.$classData = $d_scm_FlatHashTable$NullSentinel$; var $n_scm_FlatHashTable$NullSentinel$ = (void 0); function $m_scm_FlatHashTable$NullSentinel$() { if ((!$n_scm_FlatHashTable$NullSentinel$)) { $n_scm_FlatHashTable$NullSentinel$ = new $c_scm_FlatHashTable$NullSentinel$().init___() }; return $n_scm_FlatHashTable$NullSentinel$ } /** @constructor */ function $c_scm_HashTable$() { $c_O.call(this) } $c_scm_HashTable$.prototype = new $h_O(); $c_scm_HashTable$.prototype.constructor = $c_scm_HashTable$; /** @constructor */ function $h_scm_HashTable$() { /*<skip>*/ } $h_scm_HashTable$.prototype = $c_scm_HashTable$.prototype; $c_scm_HashTable$.prototype.init___ = (function() { return this }); $c_scm_HashTable$.prototype.capacity__I__I = (function(expectedSize) { return ((expectedSize === 0) ? 1 : this.powerOfTwo__I__I(expectedSize)) }); $c_scm_HashTable$.prototype.newThreshold__I__I__I = (function(_loadFactor, size) { return new $c_sjsr_RuntimeLong().init___I(size).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(_loadFactor)).$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(1000, 0)).lo$2 }); $c_scm_HashTable$.prototype.powerOfTwo__I__I = (function(target) { var c = (((-1) + target) | 0); c = (c | ((c >>> 1) | 0)); c = (c | ((c >>> 2) | 0)); c = (c | ((c >>> 4) | 0)); c = (c | ((c >>> 8) | 0)); c = (c | ((c >>> 16) | 0)); return ((1 + c) | 0) }); var $d_scm_HashTable$ = new $TypeData().initClass({ scm_HashTable$: 0 }, false, "scala.collection.mutable.HashTable$", { scm_HashTable$: 1, O: 1 }); $c_scm_HashTable$.prototype.$classData = $d_scm_HashTable$; var $n_scm_HashTable$ = (void 0); function $m_scm_HashTable$() { if ((!$n_scm_HashTable$)) { $n_scm_HashTable$ = new $c_scm_HashTable$().init___() }; return $n_scm_HashTable$ } /** @constructor */ function $c_sjs_js_$bar$() { $c_O.call(this) } $c_sjs_js_$bar$.prototype = new $h_O(); $c_sjs_js_$bar$.prototype.constructor = $c_sjs_js_$bar$; /** @constructor */ function $h_sjs_js_$bar$() { /*<skip>*/ } $h_sjs_js_$bar$.prototype = $c_sjs_js_$bar$.prototype; $c_sjs_js_$bar$.prototype.init___ = (function() { return this }); $c_sjs_js_$bar$.prototype.from__O__sjs_js_$bar$Evidence__sjs_js_$bar = (function(a, ev) { return a }); var $d_sjs_js_$bar$ = new $TypeData().initClass({ sjs_js_$bar$: 0 }, false, "scala.scalajs.js.$bar$", { sjs_js_$bar$: 1, O: 1 }); $c_sjs_js_$bar$.prototype.$classData = $d_sjs_js_$bar$; var $n_sjs_js_$bar$ = (void 0); function $m_sjs_js_$bar$() { if ((!$n_sjs_js_$bar$)) { $n_sjs_js_$bar$ = new $c_sjs_js_$bar$().init___() }; return $n_sjs_js_$bar$ } /** @constructor */ function $c_sjs_js_$bar$EvidenceLowestPrioImplicits() { $c_O.call(this) } $c_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype = new $h_O(); $c_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype.constructor = $c_sjs_js_$bar$EvidenceLowestPrioImplicits; /** @constructor */ function $h_sjs_js_$bar$EvidenceLowestPrioImplicits() { /*<skip>*/ } $h_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype = $c_sjs_js_$bar$EvidenceLowestPrioImplicits.prototype; /** @constructor */ function $c_sjs_js_ArrayOps$() { $c_O.call(this) } $c_sjs_js_ArrayOps$.prototype = new $h_O(); $c_sjs_js_ArrayOps$.prototype.constructor = $c_sjs_js_ArrayOps$; /** @constructor */ function $h_sjs_js_ArrayOps$() { /*<skip>*/ } $h_sjs_js_ArrayOps$.prototype = $c_sjs_js_ArrayOps$.prototype; $c_sjs_js_ArrayOps$.prototype.init___ = (function() { return this }); $c_sjs_js_ArrayOps$.prototype.scala$scalajs$js$ArrayOps$$throwUnsupported__T__sr_Nothing$ = (function(msg) { throw new $c_jl_UnsupportedOperationException().init___T(msg) }); var $d_sjs_js_ArrayOps$ = new $TypeData().initClass({ sjs_js_ArrayOps$: 0 }, false, "scala.scalajs.js.ArrayOps$", { sjs_js_ArrayOps$: 1, O: 1 }); $c_sjs_js_ArrayOps$.prototype.$classData = $d_sjs_js_ArrayOps$; var $n_sjs_js_ArrayOps$ = (void 0); function $m_sjs_js_ArrayOps$() { if ((!$n_sjs_js_ArrayOps$)) { $n_sjs_js_ArrayOps$ = new $c_sjs_js_ArrayOps$().init___() }; return $n_sjs_js_ArrayOps$ } /** @constructor */ function $c_sjs_js_Dictionary$() { $c_O.call(this) } $c_sjs_js_Dictionary$.prototype = new $h_O(); $c_sjs_js_Dictionary$.prototype.constructor = $c_sjs_js_Dictionary$; /** @constructor */ function $h_sjs_js_Dictionary$() { /*<skip>*/ } $h_sjs_js_Dictionary$.prototype = $c_sjs_js_Dictionary$.prototype; $c_sjs_js_Dictionary$.prototype.init___ = (function() { return this }); $c_sjs_js_Dictionary$.prototype.apply__sc_Seq__sjs_js_Dictionary = (function(properties) { var result = this.empty__sjs_js_Dictionary(); properties.withFilter__F1__scg_FilterMonadic(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) { return (function(check$ifrefutable$1$2) { var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); return (check$ifrefutable$1 !== null) }) })(this))).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$2, result$1) { return (function(x$1$2) { var x$1 = $as_T2(x$1$2); if ((x$1 !== null)) { var key = $as_T(x$1.$$und1__O()); var value = x$1.$$und2__O(); result$1[key] = value } else { throw new $c_s_MatchError().init___O(x$1) } }) })(this, result))); return result }); $c_sjs_js_Dictionary$.prototype.empty__sjs_js_Dictionary = (function() { return {} }); var $d_sjs_js_Dictionary$ = new $TypeData().initClass({ sjs_js_Dictionary$: 0 }, false, "scala.scalajs.js.Dictionary$", { sjs_js_Dictionary$: 1, O: 1 }); $c_sjs_js_Dictionary$.prototype.$classData = $d_sjs_js_Dictionary$; var $n_sjs_js_Dictionary$ = (void 0); function $m_sjs_js_Dictionary$() { if ((!$n_sjs_js_Dictionary$)) { $n_sjs_js_Dictionary$ = new $c_sjs_js_Dictionary$().init___() }; return $n_sjs_js_Dictionary$ } /** @constructor */ function $c_sjs_js_WrappedDictionary$Cache$() { $c_O.call(this); this.safeHasOwnProperty$1 = null } $c_sjs_js_WrappedDictionary$Cache$.prototype = new $h_O(); $c_sjs_js_WrappedDictionary$Cache$.prototype.constructor = $c_sjs_js_WrappedDictionary$Cache$; /** @constructor */ function $h_sjs_js_WrappedDictionary$Cache$() { /*<skip>*/ } $h_sjs_js_WrappedDictionary$Cache$.prototype = $c_sjs_js_WrappedDictionary$Cache$.prototype; $c_sjs_js_WrappedDictionary$Cache$.prototype.init___ = (function() { $n_sjs_js_WrappedDictionary$Cache$ = this; this.safeHasOwnProperty$1 = $g.Object.prototype.hasOwnProperty; return this }); var $d_sjs_js_WrappedDictionary$Cache$ = new $TypeData().initClass({ sjs_js_WrappedDictionary$Cache$: 0 }, false, "scala.scalajs.js.WrappedDictionary$Cache$", { sjs_js_WrappedDictionary$Cache$: 1, O: 1 }); $c_sjs_js_WrappedDictionary$Cache$.prototype.$classData = $d_sjs_js_WrappedDictionary$Cache$; var $n_sjs_js_WrappedDictionary$Cache$ = (void 0); function $m_sjs_js_WrappedDictionary$Cache$() { if ((!$n_sjs_js_WrappedDictionary$Cache$)) { $n_sjs_js_WrappedDictionary$Cache$ = new $c_sjs_js_WrappedDictionary$Cache$().init___() }; return $n_sjs_js_WrappedDictionary$Cache$ } /** @constructor */ function $c_sjsr_Bits$() { $c_O.call(this); this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f = false; this.arrayBuffer$1 = null; this.int32Array$1 = null; this.float32Array$1 = null; this.float64Array$1 = null; this.areTypedArraysBigEndian$1 = false; this.highOffset$1 = 0; this.lowOffset$1 = 0 } $c_sjsr_Bits$.prototype = new $h_O(); $c_sjsr_Bits$.prototype.constructor = $c_sjsr_Bits$; /** @constructor */ function $h_sjsr_Bits$() { /*<skip>*/ } $h_sjsr_Bits$.prototype = $c_sjsr_Bits$.prototype; $c_sjsr_Bits$.prototype.init___ = (function() { $n_sjsr_Bits$ = this; var x = ((($g.ArrayBuffer && $g.Int32Array) && $g.Float32Array) && $g.Float64Array); this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f = $uZ((!(!x))); this.arrayBuffer$1 = (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f ? new $g.ArrayBuffer(8) : null); this.int32Array$1 = (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f ? new $g.Int32Array(this.arrayBuffer$1, 0, 2) : null); this.float32Array$1 = (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f ? new $g.Float32Array(this.arrayBuffer$1, 0, 2) : null); this.float64Array$1 = (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f ? new $g.Float64Array(this.arrayBuffer$1, 0, 1) : null); if ((!this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f)) { var jsx$1 = true } else { this.int32Array$1[0] = 16909060; var jsx$1 = ($uB(new $g.Int8Array(this.arrayBuffer$1, 0, 8)[0]) === 1) }; this.areTypedArraysBigEndian$1 = jsx$1; this.highOffset$1 = (this.areTypedArraysBigEndian$1 ? 0 : 1); this.lowOffset$1 = (this.areTypedArraysBigEndian$1 ? 1 : 0); return this }); $c_sjsr_Bits$.prototype.numberHashCode__D__I = (function(value) { var iv = $uI((value | 0)); if (((iv === value) && ((1.0 / value) !== (-Infinity)))) { return iv } else { var this$1 = this.doubleToLongBits__D__J(value); return (this$1.lo$2 ^ this$1.hi$2) } }); $c_sjsr_Bits$.prototype.doubleToLongBitsPolyfill__p1__D__J = (function(value) { if ((value !== value)) { var _3 = $uD($g.Math.pow(2.0, 51)); var x1_$_$$und1$1 = false; var x1_$_$$und2$1 = 2047; var x1_$_$$und3$1 = _3 } else if (((value === Infinity) || (value === (-Infinity)))) { var _1 = (value < 0); var x1_$_$$und1$1 = _1; var x1_$_$$und2$1 = 2047; var x1_$_$$und3$1 = 0.0 } else if ((value === 0.0)) { var _1$1 = ((1 / value) === (-Infinity)); var x1_$_$$und1$1 = _1$1; var x1_$_$$und2$1 = 0; var x1_$_$$und3$1 = 0.0 } else { var s = (value < 0); var av = (s ? (-value) : value); if ((av >= $uD($g.Math.pow(2.0, (-1022))))) { var twoPowFbits = $uD($g.Math.pow(2.0, 52)); var a = ($uD($g.Math.log(av)) / 0.6931471805599453); var x = $uD($g.Math.floor(a)); var a$1 = $uI((x | 0)); var e = ((a$1 < 1023) ? a$1 : 1023); var b = e; var n = ((av / $uD($g.Math.pow(2.0, b))) * twoPowFbits); var w = $uD($g.Math.floor(n)); var f = (n - w); var f$1 = ((f < 0.5) ? w : ((f > 0.5) ? (1 + w) : (((w % 2) !== 0) ? (1 + w) : w))); if (((f$1 / twoPowFbits) >= 2)) { e = ((1 + e) | 0); f$1 = 1.0 }; if ((e > 1023)) { e = 2047; f$1 = 0.0 } else { e = ((1023 + e) | 0); f$1 = (f$1 - twoPowFbits) }; var _2 = e; var _3$1 = f$1; var x1_$_$$und1$1 = s; var x1_$_$$und2$1 = _2; var x1_$_$$und3$1 = _3$1 } else { var n$1 = (av / $uD($g.Math.pow(2.0, (-1074)))); var w$1 = $uD($g.Math.floor(n$1)); var f$2 = (n$1 - w$1); var _3$2 = ((f$2 < 0.5) ? w$1 : ((f$2 > 0.5) ? (1 + w$1) : (((w$1 % 2) !== 0) ? (1 + w$1) : w$1))); var x1_$_$$und1$1 = s; var x1_$_$$und2$1 = 0; var x1_$_$$und3$1 = _3$2 } }; var s$1 = $uZ(x1_$_$$und1$1); var e$1 = $uI(x1_$_$$und2$1); var f$3 = $uD(x1_$_$$und3$1); var x$1 = (f$3 / 4.294967296E9); var hif = $uI((x$1 | 0)); var hi = (((s$1 ? (-2147483648) : 0) | (e$1 << 20)) | hif); var lo = $uI((f$3 | 0)); return new $c_sjsr_RuntimeLong().init___I(hi).$$less$less__I__sjsr_RuntimeLong(32).$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I((-1), 0).$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(lo))) }); $c_sjsr_Bits$.prototype.doubleToLongBits__D__J = (function(value) { if (this.scala$scalajs$runtime$Bits$$$undareTypedArraysSupported$f) { this.float64Array$1[0] = value; return new $c_sjsr_RuntimeLong().init___I($uI(this.int32Array$1[this.highOffset$1])).$$less$less__I__sjsr_RuntimeLong(32).$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I((-1), 0).$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I($uI(this.int32Array$1[this.lowOffset$1])))) } else { return this.doubleToLongBitsPolyfill__p1__D__J(value) } }); var $d_sjsr_Bits$ = new $TypeData().initClass({ sjsr_Bits$: 0 }, false, "scala.scalajs.runtime.Bits$", { sjsr_Bits$: 1, O: 1 }); $c_sjsr_Bits$.prototype.$classData = $d_sjsr_Bits$; var $n_sjsr_Bits$ = (void 0); function $m_sjsr_Bits$() { if ((!$n_sjsr_Bits$)) { $n_sjsr_Bits$ = new $c_sjsr_Bits$().init___() }; return $n_sjsr_Bits$ } /** @constructor */ function $c_sjsr_RuntimeString$() { $c_O.call(this); this.CASE$undINSENSITIVE$undORDER$1 = null; this.bitmap$0$1 = false } $c_sjsr_RuntimeString$.prototype = new $h_O(); $c_sjsr_RuntimeString$.prototype.constructor = $c_sjsr_RuntimeString$; /** @constructor */ function $h_sjsr_RuntimeString$() { /*<skip>*/ } $h_sjsr_RuntimeString$.prototype = $c_sjsr_RuntimeString$.prototype; $c_sjsr_RuntimeString$.prototype.init___ = (function() { return this }); $c_sjsr_RuntimeString$.prototype.indexOf__T__I__I__I = (function(thiz, ch, fromIndex) { var str = this.fromCodePoint__p1__I__T(ch); return $uI(thiz.indexOf(str, fromIndex)) }); $c_sjsr_RuntimeString$.prototype.split__T__T__I__AT = (function(thiz, regex, limit) { if ((thiz === null)) { throw new $c_jl_NullPointerException().init___() }; var this$1 = $m_ju_regex_Pattern$(); return this$1.compile__T__I__ju_regex_Pattern(regex, 0).split__jl_CharSequence__I__AT(thiz, limit) }); $c_sjsr_RuntimeString$.prototype.valueOf__O__T = (function(value) { return ((value === null) ? "null" : $objectToString(value)) }); $c_sjsr_RuntimeString$.prototype.lastIndexOf__T__I__I = (function(thiz, ch) { var str = this.fromCodePoint__p1__I__T(ch); return $uI(thiz.lastIndexOf(str)) }); $c_sjsr_RuntimeString$.prototype.indexOf__T__I__I = (function(thiz, ch) { var str = this.fromCodePoint__p1__I__T(ch); return $uI(thiz.indexOf(str)) }); $c_sjsr_RuntimeString$.prototype.fromCodePoint__p1__I__T = (function(codePoint) { if ((((-65536) & codePoint) === 0)) { var array = [codePoint]; var jsx$2 = $g.String; var jsx$1 = jsx$2.fromCharCode.apply(jsx$2, array); return $as_T(jsx$1) } else if (((codePoint < 0) || (codePoint > 1114111))) { throw new $c_jl_IllegalArgumentException().init___() } else { var offsetCp = (((-65536) + codePoint) | 0); var array$1 = [(55296 | (offsetCp >> 10)), (56320 | (1023 & offsetCp))]; var jsx$4 = $g.String; var jsx$3 = jsx$4.fromCharCode.apply(jsx$4, array$1); return $as_T(jsx$3) } }); $c_sjsr_RuntimeString$.prototype.hashCode__T__I = (function(thiz) { var res = 0; var mul = 1; var i = (((-1) + $uI(thiz.length)) | 0); while ((i >= 0)) { var jsx$1 = res; var index = i; res = ((jsx$1 + $imul((65535 & $uI(thiz.charCodeAt(index))), mul)) | 0); mul = $imul(31, mul); i = (((-1) + i) | 0) }; return res }); $c_sjsr_RuntimeString$.prototype.replaceAll__T__T__T__T = (function(thiz, regex, replacement) { if ((thiz === null)) { throw new $c_jl_NullPointerException().init___() }; var this$1 = $m_ju_regex_Pattern$(); var this$2 = this$1.compile__T__I__ju_regex_Pattern(regex, 0); return new $c_ju_regex_Matcher().init___ju_regex_Pattern__jl_CharSequence__I__I(this$2, thiz, 0, $uI(thiz.length)).replaceAll__T__T(replacement) }); var $d_sjsr_RuntimeString$ = new $TypeData().initClass({ sjsr_RuntimeString$: 0 }, false, "scala.scalajs.runtime.RuntimeString$", { sjsr_RuntimeString$: 1, O: 1 }); $c_sjsr_RuntimeString$.prototype.$classData = $d_sjsr_RuntimeString$; var $n_sjsr_RuntimeString$ = (void 0); function $m_sjsr_RuntimeString$() { if ((!$n_sjsr_RuntimeString$)) { $n_sjsr_RuntimeString$ = new $c_sjsr_RuntimeString$().init___() }; return $n_sjsr_RuntimeString$ } /** @constructor */ function $c_sjsr_StackTrace$() { $c_O.call(this); this.isRhino$1 = false; this.decompressedClasses$1 = null; this.decompressedPrefixes$1 = null; this.compressedPrefixes$1 = null; this.bitmap$0$1 = 0 } $c_sjsr_StackTrace$.prototype = new $h_O(); $c_sjsr_StackTrace$.prototype.constructor = $c_sjsr_StackTrace$; /** @constructor */ function $h_sjsr_StackTrace$() { /*<skip>*/ } $h_sjsr_StackTrace$.prototype = $c_sjsr_StackTrace$.prototype; $c_sjsr_StackTrace$.prototype.compressedPrefixes$lzycompute__p1__sjs_js_Array = (function() { if (((8 & this.bitmap$0$1) === 0)) { this.compressedPrefixes$1 = $g.Object.keys(this.decompressedPrefixes__p1__sjs_js_Dictionary()); this.bitmap$0$1 = (8 | this.bitmap$0$1) }; return this.compressedPrefixes$1 }); $c_sjsr_StackTrace$.prototype.extractFirefox__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var x = $as_T(e.stack); var jsx$2 = x.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("(?:\\n@:0)?\\s+$", "m"), ""); var x$1 = $as_T(jsx$2); var jsx$1 = x$1.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^(?:\\((\\S*)\\))?@", "gm"), "{anonymous}($1)@"); var x$2 = $as_T(jsx$1); return x$2.split("\n") }); $c_sjsr_StackTrace$.prototype.extractOpera10a__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var lineRE = $m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("Line (\\d+).*script (?:in )?(\\S+)(?:: In function (\\S+))?$", "i"); var x = $as_T(e.stacktrace); var lines = x.split("\n"); var result = []; var i = 0; var len = $uI(lines.length); while ((i < len)) { var mtch = lineRE.exec($as_T(lines[i])); if ((mtch !== null)) { var value = mtch[3]; var fnName = $as_T(((value === (void 0)) ? "{anonymous}" : value)); var value$1 = mtch[2]; if ((value$1 === (void 0))) { var jsx$3; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$3 = value$1 }; var value$2 = mtch[1]; if ((value$2 === (void 0))) { var jsx$2; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$2 = value$2 }; var jsx$1 = result.push(((((fnName + "()@") + jsx$3) + ":") + jsx$2)); $uI(jsx$1) }; i = ((2 + i) | 0) }; return result }); $c_sjsr_StackTrace$.prototype.init___ = (function() { return this }); $c_sjsr_StackTrace$.prototype.isRhino__p1__Z = (function() { return (((1 & this.bitmap$0$1) === 0) ? this.isRhino$lzycompute__p1__Z() : this.isRhino$1) }); $c_sjsr_StackTrace$.prototype.extractOpera10b__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var lineRE = $m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("^(.*)@(.+):(\\d+)$"); var x = $as_T(e.stacktrace); var lines = x.split("\n"); var result = []; var i = 0; var len = $uI(lines.length); while ((i < len)) { var mtch = lineRE.exec($as_T(lines[i])); if ((mtch !== null)) { var value = mtch[1]; if ((value === (void 0))) { var fnName = "global code" } else { var x$3 = $as_T(value); var fnName = (x$3 + "()") }; var value$1 = mtch[2]; if ((value$1 === (void 0))) { var jsx$3; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$3 = value$1 }; var value$2 = mtch[3]; if ((value$2 === (void 0))) { var jsx$2; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$2 = value$2 }; var jsx$1 = result.push(((((fnName + "@") + jsx$3) + ":") + jsx$2)); $uI(jsx$1) }; i = ((1 + i) | 0) }; return result }); $c_sjsr_StackTrace$.prototype.decodeClassName__p1__T__T = (function(encodedName) { var encoded = (((65535 & $uI(encodedName.charCodeAt(0))) === 36) ? $as_T(encodedName.substring(1)) : encodedName); var dict = this.decompressedClasses__p1__sjs_js_Dictionary(); if ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, encoded))) { var dict$1 = this.decompressedClasses__p1__sjs_js_Dictionary(); if ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict$1, encoded))) { var jsx$1 = dict$1[encoded] } else { var jsx$1; throw new $c_ju_NoSuchElementException().init___T(("key not found: " + encoded)) }; var base = $as_T(jsx$1) } else { var base = this.loop$1__p1__I__T__T(0, encoded) }; var thiz = $as_T(base.split("_").join(".")); return $as_T(thiz.split("$und").join("_")) }); $c_sjsr_StackTrace$.prototype.extract__sjs_js_Dynamic__Ajl_StackTraceElement = (function(stackdata) { var lines = this.normalizeStackTraceLines__p1__sjs_js_Dynamic__sjs_js_Array(stackdata); return this.normalizedLinesToStackTrace__p1__sjs_js_Array__Ajl_StackTraceElement(lines) }); $c_sjsr_StackTrace$.prototype.extractChrome__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var x = ($as_T(e.stack) + "\n"); var jsx$6 = x.replace($m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("^[\\s\\S]+?\\s+at\\s+"), " at "); var x$1 = $as_T(jsx$6); var jsx$5 = x$1.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^\\s+(at eval )?at\\s+", "gm"), ""); var x$2 = $as_T(jsx$5); var jsx$4 = x$2.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^([^\\(]+?)([\\n])", "gm"), "{anonymous}() ($1)$2"); var x$3 = $as_T(jsx$4); var jsx$3 = x$3.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^Object.<anonymous>\\s*\\(([^\\)]+)\\)", "gm"), "{anonymous}() ($1)"); var x$4 = $as_T(jsx$3); var jsx$2 = x$4.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^([^\\(]+|\\{anonymous\\}\\(\\)) \\((.+)\\)$", "gm"), "$1@$2"); var x$5 = $as_T(jsx$2); var jsx$1 = x$5.split("\n"); return jsx$1.slice(0, (-1)) }); $c_sjsr_StackTrace$.prototype.decompressedClasses__p1__sjs_js_Dictionary = (function() { return (((2 & this.bitmap$0$1) === 0) ? this.decompressedClasses$lzycompute__p1__sjs_js_Dictionary() : this.decompressedClasses$1) }); $c_sjsr_StackTrace$.prototype.compressedPrefixes__p1__sjs_js_Array = (function() { return (((8 & this.bitmap$0$1) === 0) ? this.compressedPrefixes$lzycompute__p1__sjs_js_Array() : this.compressedPrefixes$1) }); $c_sjsr_StackTrace$.prototype.extractClassMethod__p1__T__T2 = (function(functionName) { var PatC = $m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("^(?:Object\\.|\\[object Object\\]\\.)?(?:ScalaJS\\.c\\.|\\$c_)([^\\.]+)(?:\\.prototype)?\\.([^\\.]+)$"); var PatS = $m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("^(?:Object\\.|\\[object Object\\]\\.)?(?:ScalaJS\\.(?:s|f)\\.|\\$(?:s|f)_)((?:_[^_]|[^_])+)__([^\\.]+)$"); var PatM = $m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("^(?:Object\\.|\\[object Object\\]\\.)?(?:ScalaJS\\.m\\.|\\$m_)([^\\.]+)$"); var isModule = false; var mtch = PatC.exec(functionName); if ((mtch === null)) { mtch = PatS.exec(functionName); if ((mtch === null)) { mtch = PatM.exec(functionName); isModule = true } }; if ((mtch !== null)) { var value = mtch[1]; if ((value === (void 0))) { var jsx$1; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$1 = value }; var className = this.decodeClassName__p1__T__T($as_T(jsx$1)); if (isModule) { var methodName = "<clinit>" } else { var value$1 = mtch[2]; if ((value$1 === (void 0))) { var jsx$2; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$2 = value$1 }; var methodName = this.decodeMethodName__p1__T__T($as_T(jsx$2)) }; return new $c_T2().init___O__O(className, methodName) } else { return new $c_T2().init___O__O("<jscode>", functionName) } }); $c_sjsr_StackTrace$.prototype.isRhino$lzycompute__p1__Z = (function() { if (((1 & this.bitmap$0$1) === 0)) { this.isRhino$1 = this.liftedTree1$1__p1__Z(); this.bitmap$0$1 = (1 | this.bitmap$0$1) }; return this.isRhino$1 }); $c_sjsr_StackTrace$.prototype.decompressedPrefixes$lzycompute__p1__sjs_js_Dictionary = (function() { if (((4 & this.bitmap$0$1) === 0)) { this.decompressedPrefixes$1 = { "sjsr_": "scala_scalajs_runtime_", "sjs_": "scala_scalajs_", "sci_": "scala_collection_immutable_", "scm_": "scala_collection_mutable_", "scg_": "scala_collection_generic_", "sc_": "scala_collection_", "sr_": "scala_runtime_", "s_": "scala_", "jl_": "java_lang_", "ju_": "java_util_" }; this.bitmap$0$1 = (4 | this.bitmap$0$1) }; return this.decompressedPrefixes$1 }); $c_sjsr_StackTrace$.prototype.extract__jl_Throwable__Ajl_StackTraceElement = (function(throwable) { return this.extract__sjs_js_Dynamic__Ajl_StackTraceElement(throwable.stackdata) }); $c_sjsr_StackTrace$.prototype.decompressedClasses$lzycompute__p1__sjs_js_Dictionary = (function() { if (((2 & this.bitmap$0$1) === 0)) { var dict = { "O": "java_lang_Object", "T": "java_lang_String", "V": "scala_Unit", "Z": "scala_Boolean", "C": "scala_Char", "B": "scala_Byte", "S": "scala_Short", "I": "scala_Int", "J": "scala_Long", "F": "scala_Float", "D": "scala_Double" }; var index = 0; while ((index <= 22)) { if ((index >= 2)) { dict[("T" + index)] = ("scala_Tuple" + index) }; dict[("F" + index)] = ("scala_Function" + index); index = ((1 + index) | 0) }; this.decompressedClasses$1 = dict; this.bitmap$0$1 = (2 | this.bitmap$0$1) }; return this.decompressedClasses$1 }); $c_sjsr_StackTrace$.prototype.normalizeStackTraceLines__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var x = (!e); if ($uZ((!(!x)))) { return [] } else if (this.isRhino__p1__Z()) { return this.extractRhino__p1__sjs_js_Dynamic__sjs_js_Array(e) } else { var x$1 = (e.arguments && e.stack); if ($uZ((!(!x$1)))) { return this.extractChrome__p1__sjs_js_Dynamic__sjs_js_Array(e) } else { var x$2 = (e.stack && e.sourceURL); if ($uZ((!(!x$2)))) { return this.extractSafari__p1__sjs_js_Dynamic__sjs_js_Array(e) } else { var x$3 = (e.stack && e.number); if ($uZ((!(!x$3)))) { return this.extractIE__p1__sjs_js_Dynamic__sjs_js_Array(e) } else { var x$4 = (e.stack && e.fileName); if ($uZ((!(!x$4)))) { return this.extractFirefox__p1__sjs_js_Dynamic__sjs_js_Array(e) } else { var x$5 = (e.message && e["opera#sourceloc"]); if ($uZ((!(!x$5)))) { var x$6 = (!e.stacktrace); if ($uZ((!(!x$6)))) { return this.extractOpera9__p1__sjs_js_Dynamic__sjs_js_Array(e) } else { var x$7 = ((e.message.indexOf("\n") > (-1)) && (e.message.split("\n").length > e.stacktrace.split("\n").length)); if ($uZ((!(!x$7)))) { return this.extractOpera9__p1__sjs_js_Dynamic__sjs_js_Array(e) } else { return this.extractOpera10a__p1__sjs_js_Dynamic__sjs_js_Array(e) } } } else { var x$8 = ((e.message && e.stack) && e.stacktrace); if ($uZ((!(!x$8)))) { var x$9 = (e.stacktrace.indexOf("called from line") < 0); if ($uZ((!(!x$9)))) { return this.extractOpera10b__p1__sjs_js_Dynamic__sjs_js_Array(e) } else { return this.extractOpera11__p1__sjs_js_Dynamic__sjs_js_Array(e) } } else { var x$10 = (e.stack && (!e.fileName)); if ($uZ((!(!x$10)))) { return this.extractChrome__p1__sjs_js_Dynamic__sjs_js_Array(e) } else { return this.extractOther__p1__sjs_js_Dynamic__sjs_js_Array(e) } } } } } } } } }); $c_sjsr_StackTrace$.prototype.extractOpera11__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var lineRE = $m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("^.*line (\\d+), column (\\d+)(?: in (.+))? in (\\S+):$"); var x = $as_T(e.stacktrace); var lines = x.split("\n"); var result = []; var i = 0; var len = $uI(lines.length); while ((i < len)) { var mtch = lineRE.exec($as_T(lines[i])); if ((mtch !== null)) { var value = mtch[4]; if ((value === (void 0))) { var jsx$4; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$4 = value }; var jsx$3 = $as_T(jsx$4); var value$1 = mtch[1]; if ((value$1 === (void 0))) { var jsx$2; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$2 = value$1 }; var value$2 = mtch[2]; if ((value$2 === (void 0))) { var jsx$1; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$1 = value$2 }; var location = ((((jsx$3 + ":") + jsx$2) + ":") + jsx$1); var value$3 = mtch[2]; var fnName0 = $as_T(((value$3 === (void 0)) ? "global code" : value$3)); var x$1 = $as_T(fnName0.replace($m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("<anonymous function: (\\S+)>"), "$1")); var jsx$5 = x$1.replace($m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("<anonymous function>"), "{anonymous}"); var fnName = $as_T(jsx$5); $uI(result.push(((fnName + "@") + location))) }; i = ((2 + i) | 0) }; return result }); $c_sjsr_StackTrace$.prototype.normalizedLinesToStackTrace__p1__sjs_js_Array__Ajl_StackTraceElement = (function(lines) { var NormalizedFrameLine = $m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("^([^\\@]*)\\@(.*):([0-9]+)$"); var NormalizedFrameLineWithColumn = $m_sjsr_StackTrace$StringRE$().re$extension0__T__sjs_js_RegExp("^([^\\@]*)\\@(.*):([0-9]+):([0-9]+)$"); var trace = []; var i = 0; while ((i < $uI(lines.length))) { var line = $as_T(lines[i]); if ((line === null)) { var jsx$1; throw new $c_jl_NullPointerException().init___() } else { var jsx$1 = line }; if ((jsx$1 !== "")) { var mtch1 = NormalizedFrameLineWithColumn.exec(line); if ((mtch1 !== null)) { var value = mtch1[1]; if ((value === (void 0))) { var jsx$2; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$2 = value }; var x1 = this.extractClassMethod__p1__T__T2($as_T(jsx$2)); if ((x1 !== null)) { var className = $as_T(x1.$$und1__O()); var methodName = $as_T(x1.$$und2__O()); var x$1_$_$$und1$f = className; var x$1_$_$$und2$f = methodName } else { var x$1_$_$$und1$f; var x$1_$_$$und2$f; throw new $c_s_MatchError().init___O(x1) }; var className$2 = $as_T(x$1_$_$$und1$f); var methodName$2 = $as_T(x$1_$_$$und2$f); var value$1 = mtch1[2]; if ((value$1 === (void 0))) { var jsx$4; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$4 = value$1 }; var fileName = $as_T(jsx$4); var value$2 = mtch1[3]; if ((value$2 === (void 0))) { var jsx$5; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$5 = value$2 }; var x = $as_T(jsx$5); var this$12 = new $c_sci_StringOps().init___T(x); var this$14 = $m_jl_Integer$(); var $$this = this$12.repr$1; var lineNumber = this$14.parseInt__T__I__I($$this, 10); var value$3 = mtch1[4]; if ((value$3 === (void 0))) { var jsx$6; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$6 = value$3 }; var x$2 = $as_T(jsx$6); var this$19 = new $c_sci_StringOps().init___T(x$2); var this$21 = $m_jl_Integer$(); var $$this$1 = this$19.repr$1; var value$4 = this$21.parseInt__T__I__I($$this$1, 10); var jsx$3 = trace.push({ "declaringClass": className$2, "methodName": methodName$2, "fileName": fileName, "lineNumber": lineNumber, "columnNumber": ((value$4 === (void 0)) ? (void 0) : value$4) }); $uI(jsx$3) } else { var mtch2 = NormalizedFrameLine.exec(line); if ((mtch2 !== null)) { var value$5 = mtch2[1]; if ((value$5 === (void 0))) { var jsx$7; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$7 = value$5 }; var x1$2 = this.extractClassMethod__p1__T__T2($as_T(jsx$7)); if ((x1$2 !== null)) { var className$3 = $as_T(x1$2.$$und1__O()); var methodName$3 = $as_T(x1$2.$$und2__O()); var x$2$1_$_$$und1$f = className$3; var x$2$1_$_$$und2$f = methodName$3 } else { var x$2$1_$_$$und1$f; var x$2$1_$_$$und2$f; throw new $c_s_MatchError().init___O(x1$2) }; var className$4 = $as_T(x$2$1_$_$$und1$f); var methodName$4 = $as_T(x$2$1_$_$$und2$f); var value$6 = mtch2[2]; if ((value$6 === (void 0))) { var jsx$9; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$9 = value$6 }; var fileName$1 = $as_T(jsx$9); var value$7 = mtch2[3]; if ((value$7 === (void 0))) { var jsx$10; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$10 = value$7 }; var x$3 = $as_T(jsx$10); var this$43 = new $c_sci_StringOps().init___T(x$3); var this$45 = $m_jl_Integer$(); var $$this$2 = this$43.repr$1; var lineNumber$1 = this$45.parseInt__T__I__I($$this$2, 10); var jsx$8 = trace.push({ "declaringClass": className$4, "methodName": methodName$4, "fileName": fileName$1, "lineNumber": lineNumber$1, "columnNumber": (void 0) }); $uI(jsx$8) } else { $uI(trace.push({ "declaringClass": "<jscode>", "methodName": line, "fileName": null, "lineNumber": (-1), "columnNumber": (void 0) })) } } }; i = ((1 + i) | 0) }; var value$8 = $env.sourceMapper; var mappedTrace = ((value$8 === (void 0)) ? trace : value$8(trace)); var result = $newArrayObject($d_jl_StackTraceElement.getArrayOf(), [$uI(mappedTrace.length)]); i = 0; while ((i < $uI(mappedTrace.length))) { var jsSte = mappedTrace[i]; var ste = new $c_jl_StackTraceElement().init___T__T__T__I($as_T(jsSte.declaringClass), $as_T(jsSte.methodName), $as_T(jsSte.fileName), $uI(jsSte.lineNumber)); var value$9 = jsSte.columnNumber; if ((value$9 !== (void 0))) { var columnNumber = $uI(value$9); ste.setColumnNumber(columnNumber) }; result.u[i] = ste; i = ((1 + i) | 0) }; return result }); $c_sjsr_StackTrace$.prototype.extractOpera9__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var lineRE = $m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("Line (\\d+).*script (?:in )?(\\S+)", "i"); var x = $as_T(e.message); var lines = x.split("\n"); var result = []; var i = 2; var len = $uI(lines.length); while ((i < len)) { var mtch = lineRE.exec($as_T(lines[i])); if ((mtch !== null)) { var value = mtch[2]; if ((value === (void 0))) { var jsx$3; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$3 = value }; var value$1 = mtch[1]; if ((value$1 === (void 0))) { var jsx$2; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$2 = value$1 }; var jsx$1 = result.push(((("{anonymous}()@" + jsx$3) + ":") + jsx$2)); $uI(jsx$1) }; i = ((2 + i) | 0) }; return result }); $c_sjsr_StackTrace$.prototype.extractSafari__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var x = $as_T(e.stack); var jsx$3 = x.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("\\[native code\\]\\n", "m"), ""); var x$1 = $as_T(jsx$3); var jsx$2 = x$1.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^(?=\\w+Error\\:).*$\\n", "m"), ""); var x$2 = $as_T(jsx$2); var jsx$1 = x$2.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^@", "gm"), "{anonymous}()@"); var x$3 = $as_T(jsx$1); return x$3.split("\n") }); $c_sjsr_StackTrace$.prototype.loop$1__p1__I__T__T = (function(i, encoded$1) { _loop: while (true) { if ((i < $uI(this.compressedPrefixes__p1__sjs_js_Array().length))) { var prefix = $as_T(this.compressedPrefixes__p1__sjs_js_Array()[i]); if ((($uI(encoded$1.length) >= 0) && ($as_T(encoded$1.substring(0, $uI(prefix.length))) === prefix))) { var dict = this.decompressedPrefixes__p1__sjs_js_Dictionary(); if ($uZ($m_sjs_js_WrappedDictionary$Cache$().safeHasOwnProperty$1.call(dict, prefix))) { var jsx$2 = dict[prefix] } else { var jsx$2; throw new $c_ju_NoSuchElementException().init___T(("key not found: " + prefix)) }; var jsx$1 = $as_T(jsx$2); var beginIndex = $uI(prefix.length); return (("" + jsx$1) + $as_T(encoded$1.substring(beginIndex))) } else { i = ((1 + i) | 0); continue _loop } } else { return ((($uI(encoded$1.length) >= 0) && ($as_T(encoded$1.substring(0, $uI("L".length))) === "L")) ? $as_T(encoded$1.substring(1)) : encoded$1) } } }); $c_sjsr_StackTrace$.prototype.liftedTree1$1__p1__Z = (function() { try { $g.Packages.org.mozilla.javascript.JavaScriptException; return true } catch (e) { var e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e); if ((e$2 !== null)) { if ($is_sjs_js_JavaScriptException(e$2)) { return false } else { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(e$2) } } else { throw e } } }); $c_sjsr_StackTrace$.prototype.decompressedPrefixes__p1__sjs_js_Dictionary = (function() { return (((4 & this.bitmap$0$1) === 0) ? this.decompressedPrefixes$lzycompute__p1__sjs_js_Dictionary() : this.decompressedPrefixes$1) }); $c_sjsr_StackTrace$.prototype.extractRhino__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var value = e.stack; var x = $as_T(((value === (void 0)) ? "" : value)); var jsx$3 = x.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^\\s+at\\s+", "gm"), ""); var x$1 = $as_T(jsx$3); var jsx$2 = x$1.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^(.+?)(?: \\((.+)\\))?$", "gm"), "$2@$1"); var x$2 = $as_T(jsx$2); var jsx$1 = x$2.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("\\r\\n?", "gm"), "\n"); var x$3 = $as_T(jsx$1); return x$3.split("\n") }); $c_sjsr_StackTrace$.prototype.extractOther__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { return [] }); $c_sjsr_StackTrace$.prototype.extractIE__p1__sjs_js_Dynamic__sjs_js_Array = (function(e) { var x = $as_T(e.stack); var jsx$3 = x.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^\\s*at\\s+(.*)$", "gm"), "$1"); var x$1 = $as_T(jsx$3); var jsx$2 = x$1.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^Anonymous function\\s+", "gm"), "{anonymous}() "); var x$2 = $as_T(jsx$2); var jsx$1 = x$2.replace($m_sjsr_StackTrace$StringRE$().re$extension1__T__T__sjs_js_RegExp("^([^\\(]+|\\{anonymous\\}\\(\\))\\s+\\((.+)\\)$", "gm"), "$1@$2"); var x$3 = $as_T(jsx$1); var qual$1 = x$3.split("\n"); return qual$1.slice(1) }); $c_sjsr_StackTrace$.prototype.decodeMethodName__p1__T__T = (function(encodedName) { if ((($uI(encodedName.length) >= 0) && ($as_T(encodedName.substring(0, $uI("init___".length))) === "init___"))) { return "<init>" } else { var methodNameLen = $uI(encodedName.indexOf("__")); return ((methodNameLen < 0) ? encodedName : $as_T(encodedName.substring(0, methodNameLen))) } }); var $d_sjsr_StackTrace$ = new $TypeData().initClass({ sjsr_StackTrace$: 0 }, false, "scala.scalajs.runtime.StackTrace$", { sjsr_StackTrace$: 1, O: 1 }); $c_sjsr_StackTrace$.prototype.$classData = $d_sjsr_StackTrace$; var $n_sjsr_StackTrace$ = (void 0); function $m_sjsr_StackTrace$() { if ((!$n_sjsr_StackTrace$)) { $n_sjsr_StackTrace$ = new $c_sjsr_StackTrace$().init___() }; return $n_sjsr_StackTrace$ } /** @constructor */ function $c_sjsr_StackTrace$StringRE$() { $c_O.call(this) } $c_sjsr_StackTrace$StringRE$.prototype = new $h_O(); $c_sjsr_StackTrace$StringRE$.prototype.constructor = $c_sjsr_StackTrace$StringRE$; /** @constructor */ function $h_sjsr_StackTrace$StringRE$() { /*<skip>*/ } $h_sjsr_StackTrace$StringRE$.prototype = $c_sjsr_StackTrace$StringRE$.prototype; $c_sjsr_StackTrace$StringRE$.prototype.init___ = (function() { return this }); $c_sjsr_StackTrace$StringRE$.prototype.re$extension1__T__T__sjs_js_RegExp = (function($$this, mods) { return new $g.RegExp($$this, mods) }); $c_sjsr_StackTrace$StringRE$.prototype.re$extension0__T__sjs_js_RegExp = (function($$this) { return new $g.RegExp($$this) }); var $d_sjsr_StackTrace$StringRE$ = new $TypeData().initClass({ sjsr_StackTrace$StringRE$: 0 }, false, "scala.scalajs.runtime.StackTrace$StringRE$", { sjsr_StackTrace$StringRE$: 1, O: 1 }); $c_sjsr_StackTrace$StringRE$.prototype.$classData = $d_sjsr_StackTrace$StringRE$; var $n_sjsr_StackTrace$StringRE$ = (void 0); function $m_sjsr_StackTrace$StringRE$() { if ((!$n_sjsr_StackTrace$StringRE$)) { $n_sjsr_StackTrace$StringRE$ = new $c_sjsr_StackTrace$StringRE$().init___() }; return $n_sjsr_StackTrace$StringRE$ } /** @constructor */ function $c_sjsr_package$() { $c_O.call(this) } $c_sjsr_package$.prototype = new $h_O(); $c_sjsr_package$.prototype.constructor = $c_sjsr_package$; /** @constructor */ function $h_sjsr_package$() { /*<skip>*/ } $h_sjsr_package$.prototype = $c_sjsr_package$.prototype; $c_sjsr_package$.prototype.init___ = (function() { return this }); $c_sjsr_package$.prototype.unwrapJavaScriptException__jl_Throwable__O = (function(th) { if ($is_sjs_js_JavaScriptException(th)) { var x2 = $as_sjs_js_JavaScriptException(th); var e = x2.exception$4; return e } else { return th } }); $c_sjsr_package$.prototype.wrapJavaScriptException__O__jl_Throwable = (function(e) { if ($is_jl_Throwable(e)) { var x2 = $as_jl_Throwable(e); return x2 } else { return new $c_sjs_js_JavaScriptException().init___O(e) } }); var $d_sjsr_package$ = new $TypeData().initClass({ sjsr_package$: 0 }, false, "scala.scalajs.runtime.package$", { sjsr_package$: 1, O: 1 }); $c_sjsr_package$.prototype.$classData = $d_sjsr_package$; var $n_sjsr_package$ = (void 0); function $m_sjsr_package$() { if ((!$n_sjsr_package$)) { $n_sjsr_package$ = new $c_sjsr_package$().init___() }; return $n_sjsr_package$ } /** @constructor */ function $c_sr_BoxesRunTime$() { $c_O.call(this) } $c_sr_BoxesRunTime$.prototype = new $h_O(); $c_sr_BoxesRunTime$.prototype.constructor = $c_sr_BoxesRunTime$; /** @constructor */ function $h_sr_BoxesRunTime$() { /*<skip>*/ } $h_sr_BoxesRunTime$.prototype = $c_sr_BoxesRunTime$.prototype; $c_sr_BoxesRunTime$.prototype.init___ = (function() { return this }); $c_sr_BoxesRunTime$.prototype.equalsCharObject__jl_Character__O__Z = (function(xc, y) { if ($is_jl_Character(y)) { var x2 = $as_jl_Character(y); return (xc.value$1 === x2.value$1) } else if ($is_jl_Number(y)) { var x3 = $as_jl_Number(y); if (((typeof x3) === "number")) { var x2$1 = $uD(x3); return (x2$1 === xc.value$1) } else if ($is_sjsr_RuntimeLong(x3)) { var x3$1 = $uJ(x3); return x3$1.equals__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I(xc.value$1)) } else { return ((x3 === null) ? (xc === null) : $objectEquals(x3, xc)) } } else { return ((xc === null) && (y === null)) } }); $c_sr_BoxesRunTime$.prototype.equalsNumObject__jl_Number__O__Z = (function(xn, y) { if ($is_jl_Number(y)) { var x2 = $as_jl_Number(y); return this.equalsNumNum__jl_Number__jl_Number__Z(xn, x2) } else if ($is_jl_Character(y)) { var x3 = $as_jl_Character(y); if (((typeof xn) === "number")) { var x2$1 = $uD(xn); return (x2$1 === x3.value$1) } else if ($is_sjsr_RuntimeLong(xn)) { var x3$1 = $uJ(xn); return x3$1.equals__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I(x3.value$1)) } else { return ((xn === null) ? (x3 === null) : $objectEquals(xn, x3)) } } else { return ((xn === null) ? (y === null) : $objectEquals(xn, y)) } }); $c_sr_BoxesRunTime$.prototype.equals__O__O__Z = (function(x, y) { if ((x === y)) { return true } else if ($is_jl_Number(x)) { var x2 = $as_jl_Number(x); return this.equalsNumObject__jl_Number__O__Z(x2, y) } else if ($is_jl_Character(x)) { var x3 = $as_jl_Character(x); return this.equalsCharObject__jl_Character__O__Z(x3, y) } else { return ((x === null) ? (y === null) : $objectEquals(x, y)) } }); $c_sr_BoxesRunTime$.prototype.equalsNumNum__jl_Number__jl_Number__Z = (function(xn, yn) { if (((typeof xn) === "number")) { var x2 = $uD(xn); if (((typeof yn) === "number")) { var x2$2 = $uD(yn); return (x2 === x2$2) } else if ($is_sjsr_RuntimeLong(yn)) { var x3 = $uJ(yn); return (x2 === x3.toDouble__D()) } else if ($is_s_math_ScalaNumber(yn)) { var x4 = $as_s_math_ScalaNumber(yn); return x4.equals__O__Z(x2) } else { return false } } else if ($is_sjsr_RuntimeLong(xn)) { var x3$2 = $uJ(xn); if ($is_sjsr_RuntimeLong(yn)) { var x2$3 = $uJ(yn); return x3$2.equals__sjsr_RuntimeLong__Z(x2$3) } else if (((typeof yn) === "number")) { var x3$3 = $uD(yn); return (x3$2.toDouble__D() === x3$3) } else if ($is_s_math_ScalaNumber(yn)) { var x4$2 = $as_s_math_ScalaNumber(yn); return x4$2.equals__O__Z(x3$2) } else { return false } } else { return ((xn === null) ? (yn === null) : $objectEquals(xn, yn)) } }); var $d_sr_BoxesRunTime$ = new $TypeData().initClass({ sr_BoxesRunTime$: 0 }, false, "scala.runtime.BoxesRunTime$", { sr_BoxesRunTime$: 1, O: 1 }); $c_sr_BoxesRunTime$.prototype.$classData = $d_sr_BoxesRunTime$; var $n_sr_BoxesRunTime$ = (void 0); function $m_sr_BoxesRunTime$() { if ((!$n_sr_BoxesRunTime$)) { $n_sr_BoxesRunTime$ = new $c_sr_BoxesRunTime$().init___() }; return $n_sr_BoxesRunTime$ } var $d_sr_Null$ = new $TypeData().initClass({ sr_Null$: 0 }, false, "scala.runtime.Null$", { sr_Null$: 1, O: 1 }); /** @constructor */ function $c_sr_ScalaRunTime$() { $c_O.call(this) } $c_sr_ScalaRunTime$.prototype = new $h_O(); $c_sr_ScalaRunTime$.prototype.constructor = $c_sr_ScalaRunTime$; /** @constructor */ function $h_sr_ScalaRunTime$() { /*<skip>*/ } $h_sr_ScalaRunTime$.prototype = $c_sr_ScalaRunTime$.prototype; $c_sr_ScalaRunTime$.prototype.init___ = (function() { return this }); $c_sr_ScalaRunTime$.prototype.array$undlength__O__I = (function(xs) { if ($isArrayOf_O(xs, 1)) { var x2 = $asArrayOf_O(xs, 1); return x2.u.length } else if ($isArrayOf_I(xs, 1)) { var x3 = $asArrayOf_I(xs, 1); return x3.u.length } else if ($isArrayOf_D(xs, 1)) { var x4 = $asArrayOf_D(xs, 1); return x4.u.length } else if ($isArrayOf_J(xs, 1)) { var x5 = $asArrayOf_J(xs, 1); return x5.u.length } else if ($isArrayOf_F(xs, 1)) { var x6 = $asArrayOf_F(xs, 1); return x6.u.length } else if ($isArrayOf_C(xs, 1)) { var x7 = $asArrayOf_C(xs, 1); return x7.u.length } else if ($isArrayOf_B(xs, 1)) { var x8 = $asArrayOf_B(xs, 1); return x8.u.length } else if ($isArrayOf_S(xs, 1)) { var x9 = $asArrayOf_S(xs, 1); return x9.u.length } else if ($isArrayOf_Z(xs, 1)) { var x10 = $asArrayOf_Z(xs, 1); return x10.u.length } else if ($isArrayOf_sr_BoxedUnit(xs, 1)) { var x11 = $asArrayOf_sr_BoxedUnit(xs, 1); return x11.u.length } else if ((xs === null)) { throw new $c_jl_NullPointerException().init___() } else { throw new $c_s_MatchError().init___O(xs) } }); $c_sr_ScalaRunTime$.prototype.hash__O__I = (function(x) { if ((x === null)) { return 0 } else if ($is_jl_Number(x)) { var n = $as_jl_Number(x); if (((typeof n) === "number")) { var x2 = $uD(n); return $m_sr_Statics$().doubleHash__D__I(x2) } else if ($is_sjsr_RuntimeLong(n)) { var x3 = $uJ(n); return $m_sr_Statics$().longHash__J__I(x3) } else { return $objectHashCode(n) } } else { return $objectHashCode(x) } }); $c_sr_ScalaRunTime$.prototype.array$undupdate__O__I__O__V = (function(xs, idx, value) { if ($isArrayOf_O(xs, 1)) { var x2 = $asArrayOf_O(xs, 1); x2.u[idx] = value } else if ($isArrayOf_I(xs, 1)) { var x3 = $asArrayOf_I(xs, 1); x3.u[idx] = $uI(value) } else if ($isArrayOf_D(xs, 1)) { var x4 = $asArrayOf_D(xs, 1); x4.u[idx] = $uD(value) } else if ($isArrayOf_J(xs, 1)) { var x5 = $asArrayOf_J(xs, 1); x5.u[idx] = $uJ(value) } else if ($isArrayOf_F(xs, 1)) { var x6 = $asArrayOf_F(xs, 1); x6.u[idx] = $uF(value) } else if ($isArrayOf_C(xs, 1)) { var x7 = $asArrayOf_C(xs, 1); if ((value === null)) { var jsx$1 = 0 } else { var this$2 = $as_jl_Character(value); var jsx$1 = this$2.value$1 }; x7.u[idx] = jsx$1 } else if ($isArrayOf_B(xs, 1)) { var x8 = $asArrayOf_B(xs, 1); x8.u[idx] = $uB(value) } else if ($isArrayOf_S(xs, 1)) { var x9 = $asArrayOf_S(xs, 1); x9.u[idx] = $uS(value) } else if ($isArrayOf_Z(xs, 1)) { var x10 = $asArrayOf_Z(xs, 1); x10.u[idx] = $uZ(value) } else if ($isArrayOf_sr_BoxedUnit(xs, 1)) { var x11 = $asArrayOf_sr_BoxedUnit(xs, 1); x11.u[idx] = $asUnit(value) } else if ((xs === null)) { throw new $c_jl_NullPointerException().init___() } else { throw new $c_s_MatchError().init___O(xs) } }); $c_sr_ScalaRunTime$.prototype.$$undtoString__s_Product__T = (function(x) { var this$1 = x.productIterator__sc_Iterator(); var start = (x.productPrefix__T() + "("); return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this$1, start, ",", ")") }); $c_sr_ScalaRunTime$.prototype.array$undapply__O__I__O = (function(xs, idx) { if ($isArrayOf_O(xs, 1)) { var x2 = $asArrayOf_O(xs, 1); return x2.u[idx] } else if ($isArrayOf_I(xs, 1)) { var x3 = $asArrayOf_I(xs, 1); return x3.u[idx] } else if ($isArrayOf_D(xs, 1)) { var x4 = $asArrayOf_D(xs, 1); return x4.u[idx] } else if ($isArrayOf_J(xs, 1)) { var x5 = $asArrayOf_J(xs, 1); return x5.u[idx] } else if ($isArrayOf_F(xs, 1)) { var x6 = $asArrayOf_F(xs, 1); return x6.u[idx] } else if ($isArrayOf_C(xs, 1)) { var x7 = $asArrayOf_C(xs, 1); var c = x7.u[idx]; return new $c_jl_Character().init___C(c) } else if ($isArrayOf_B(xs, 1)) { var x8 = $asArrayOf_B(xs, 1); return x8.u[idx] } else if ($isArrayOf_S(xs, 1)) { var x9 = $asArrayOf_S(xs, 1); return x9.u[idx] } else if ($isArrayOf_Z(xs, 1)) { var x10 = $asArrayOf_Z(xs, 1); return x10.u[idx] } else if ($isArrayOf_sr_BoxedUnit(xs, 1)) { var x11 = $asArrayOf_sr_BoxedUnit(xs, 1); return x11.u[idx] } else if ((xs === null)) { throw new $c_jl_NullPointerException().init___() } else { throw new $c_s_MatchError().init___O(xs) } }); var $d_sr_ScalaRunTime$ = new $TypeData().initClass({ sr_ScalaRunTime$: 0 }, false, "scala.runtime.ScalaRunTime$", { sr_ScalaRunTime$: 1, O: 1 }); $c_sr_ScalaRunTime$.prototype.$classData = $d_sr_ScalaRunTime$; var $n_sr_ScalaRunTime$ = (void 0); function $m_sr_ScalaRunTime$() { if ((!$n_sr_ScalaRunTime$)) { $n_sr_ScalaRunTime$ = new $c_sr_ScalaRunTime$().init___() }; return $n_sr_ScalaRunTime$ } /** @constructor */ function $c_sr_Statics$() { $c_O.call(this) } $c_sr_Statics$.prototype = new $h_O(); $c_sr_Statics$.prototype.constructor = $c_sr_Statics$; /** @constructor */ function $h_sr_Statics$() { /*<skip>*/ } $h_sr_Statics$.prototype = $c_sr_Statics$.prototype; $c_sr_Statics$.prototype.init___ = (function() { return this }); $c_sr_Statics$.prototype.mixLast__I__I__I = (function(hash, data) { var k = data; k = $imul((-862048943), k); var i = k; k = ((i << 15) | ((i >>> (-15)) | 0)); k = $imul(461845907, k); return (hash ^ k) }); $c_sr_Statics$.prototype.doubleHash__D__I = (function(dv) { var iv = $doubleToInt(dv); if ((iv === dv)) { return iv } else { var lv = $m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong(dv); return ((lv.toDouble__D() === dv) ? (lv.lo$2 ^ lv.hi$2) : $m_sjsr_Bits$().numberHashCode__D__I(dv)) } }); $c_sr_Statics$.prototype.anyHash__O__I = (function(x) { if ((x === null)) { return 0 } else if (((typeof x) === "number")) { var x3 = $uD(x); return this.doubleHash__D__I(x3) } else if ($is_sjsr_RuntimeLong(x)) { var x4 = $uJ(x); return this.longHash__J__I(x4) } else { return $objectHashCode(x) } }); $c_sr_Statics$.prototype.avalanche__I__I = (function(h0) { var h = h0; h = (h ^ ((h >>> 16) | 0)); h = $imul((-2048144789), h); h = (h ^ ((h >>> 13) | 0)); h = $imul((-1028477387), h); h = (h ^ ((h >>> 16) | 0)); return h }); $c_sr_Statics$.prototype.mix__I__I__I = (function(hash, data) { var h = this.mixLast__I__I__I(hash, data); var i = h; h = ((i << 13) | ((i >>> (-13)) | 0)); return (((-430675100) + $imul(5, h)) | 0) }); $c_sr_Statics$.prototype.longHash__J__I = (function(lv) { var lo = lv.lo$2; var hi = lv.hi$2; return ((hi === (lo >> 31)) ? lo : (lo ^ hi)) }); $c_sr_Statics$.prototype.finalizeHash__I__I__I = (function(hash, length) { return this.avalanche__I__I((hash ^ length)) }); var $d_sr_Statics$ = new $TypeData().initClass({ sr_Statics$: 0 }, false, "scala.runtime.Statics$", { sr_Statics$: 1, O: 1 }); $c_sr_Statics$.prototype.$classData = $d_sr_Statics$; var $n_sr_Statics$ = (void 0); function $m_sr_Statics$() { if ((!$n_sr_Statics$)) { $n_sr_Statics$ = new $c_sr_Statics$().init___() }; return $n_sr_Statics$ } /** @constructor */ function $c_Lhypersubs_Hypersubs$() { $c_O.call(this); this.Version$1 = null; this.FirefoxThreshold$1 = 0; this.ChromeThreshold$1 = 0; this.SiteCompatibilityCheckedDate$1 = null; this.Page$1 = null; this.bitmap$0$1 = false } $c_Lhypersubs_Hypersubs$.prototype = new $h_O(); $c_Lhypersubs_Hypersubs$.prototype.constructor = $c_Lhypersubs_Hypersubs$; /** @constructor */ function $h_Lhypersubs_Hypersubs$() { /*<skip>*/ } $h_Lhypersubs_Hypersubs$.prototype = $c_Lhypersubs_Hypersubs$.prototype; $c_Lhypersubs_Hypersubs$.prototype.init___ = (function() { this.Version$1 = "v0.3.0"; this.FirefoxThreshold$1 = 47; this.ChromeThreshold$1 = 51; this.SiteCompatibilityCheckedDate$1 = "August 2016"; return this }); $c_Lhypersubs_Hypersubs$.prototype.Page$lzycompute__p1__Lhypersubs_page_OFLPage = (function() { if ((!this.bitmap$0$1)) { this.Page$1 = $m_Lhypersubs_page_OFLPage$().apply__T__Lhypersubs_page_OFLPage($as_T($m_Lhypersubs_package$().Window$1.location.pathname)); this.bitmap$0$1 = true }; return this.Page$1 }); $c_Lhypersubs_Hypersubs$.prototype.main__V = (function() { this.checkBrowser__p1__V(); $m_Lhypersubs_package$(); var q = (0, $m_Lorg_querki_jquery_package$().$$$1)("body div#mainContent"); if (new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(q).failsToMatchExactlyOnce__T__Z("Additional page load ignored.")) { return (void 0) }; this.Page__Lhypersubs_page_OFLPage().preloadSetup__V(); (0, $m_Lorg_querki_jquery_package$().$$$1)($m_Lhypersubs_package$().Document$1).ready((function() { $m_Lhypersubs_Hypersubs$().onDOMReady__V() })) }); $c_Lhypersubs_Hypersubs$.prototype.isSupported$1__p1__T__T__I__Z = (function(browserInfo, browserName, majorVersionThreshold) { var x = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([".*(", ")/(\\\\d+)\\\\S+.*"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([browserName])); var this$2 = new $c_sci_StringOps().init___T(x); var groupNames = $m_sci_Nil$(); var $$this = this$2.repr$1; var BrowserSlashVersion = new $c_s_util_matching_Regex().init___T__sc_Seq($$this, groupNames); var o8 = BrowserSlashVersion.unapplySeq__jl_CharSequence__s_Option(browserInfo); if ((!o8.isEmpty__Z())) { if ((o8.get__O() !== null)) { var this$4 = $as_sc_LinearSeqOptimized(o8.get__O()); var jsx$1 = ($s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$4, 2) === 0) } else { var jsx$1 = false }; if (jsx$1) { var this$5 = $as_sc_LinearSeqOptimized(o8.get__O()); var versionString = $as_T($s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this$5, 1)); var this$7 = new $c_sci_StringOps().init___T(versionString); var this$9 = $m_jl_Integer$(); var $$this$1 = this$7.repr$1; var version = this$9.parseInt__T__I__I($$this$1, 10); if (((version >= 0) && (version < majorVersionThreshold))) { var jsx$2 = $m_Lhypersubs_package$().alert__F1(); var s = (("" + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["You appear to have version ", " of ", ", which is not recognized by Hypersubs.\\n\\n"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([version, browserName]))) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["To use Hypersubs, please install a new version of ", " (v", "+)."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([browserName, majorVersionThreshold]))); jsx$2.apply__O__O(s) }; return true } }; return false }); $c_Lhypersubs_Hypersubs$.prototype.onDOMReady__V = (function() { $m_Lhypersubs_package$().log__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Hypersubs ", ". Now on a ", ": ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.Version$1, this.Page__Lhypersubs_page_OFLPage(), $as_T($m_Lhypersubs_package$().Window$1.location.pathname)]))); try { var x1 = new $c_s_util_Success().init___O(($m_Lhypersubs_Hypersubs$().Page__Lhypersubs_page_OFLPage().augment__V(), (void 0))) } catch (e) { var e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e); if ((e$2 !== null)) { matchEnd8: { var x1; var o11 = $m_s_util_control_NonFatal$().unapply__jl_Throwable__s_Option(e$2); if ((!o11.isEmpty__Z())) { var e$3 = $as_jl_Throwable(o11.get__O()); var x1 = new $c_s_util_Failure().init___jl_Throwable(e$3); break matchEnd8 }; throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(e$2) } } else { var x1; throw e } }; if ((!$is_s_util_Success(x1))) { if ($is_s_util_Failure(x1)) { var x4 = $as_s_util_Failure(x1); var problem = x4.exception$2; this.abort__jl_Throwable__V(problem) } else { throw new $c_s_MatchError().init___O(x1) } } }); $c_Lhypersubs_Hypersubs$.prototype.checkBrowser__p1__V = (function() { if (this.isSupported$1__p1__T__T__I__Z($as_T($g.navigator.userAgent), "Chrome", this.ChromeThreshold$1)) { var v = $g.jQuery; if ((v === (void 0))) { $m_Lhypersubs_package$().alert__F1().apply__O__O("Failed to load the jQuery framework required by Hypersubs.\n\nOne reason this may occur in Chrome is installing Hypersubs as a regular Chrome script rather than a Tampermonkey script.\n\nMake sure you have installed Hypersubs using the Tampermonkey extension (and remove any other installations of Hypersubs)."); $m_Lhypersubs_package$().error__T__sr_Nothing$("Failed to load jQuery") } } else if ((!this.isSupported$1__p1__T__T__I__Z($as_T($g.navigator.userAgent), "Firefox", this.FirefoxThreshold$1))) { var jsx$1 = $m_Lhypersubs_package$().alert__F1(); var s = ((("" + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["You don't appear to be running Firefox or Chrome.\\n\\nHypersubs only works with Firefox ", ".0+ "])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.FirefoxThreshold$1]))) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["(with the Greasemonkey extension) and Chrome ", ".0+ (with the Tampermonkey extension).\\n\\n"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.ChromeThreshold$1]))) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Your browser info was detected as:\\n", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$as_T($g.navigator.userAgent)]))); jsx$1.apply__O__O(s); $m_Lhypersubs_package$().error__T__sr_Nothing$("Incompatible browser.") } }); $c_Lhypersubs_Hypersubs$.prototype.Page__Lhypersubs_page_OFLPage = (function() { return ((!this.bitmap$0$1) ? this.Page$lzycompute__p1__Lhypersubs_page_OFLPage() : this.Page$1) }); $c_Lhypersubs_Hypersubs$.prototype.abort__jl_Throwable__V = (function(problem) { $m_Lhypersubs_package$().log__O__V("Failed to launch. Aborting."); $m_Lhypersubs_package$().log__O__V(problem); problem.printStackTrace__Ljava_io_PrintStream__V($m_jl_System$().err$1); var jsx$1 = $m_Lhypersubs_package$().alert__F1(); $m_Lhypersubs_package$(); var this$2 = new $c_Lhypersubs_package$BlingThrowable().init___jl_Throwable(problem); var s = this$2.throwable$1.getMessage__T(); jsx$1.apply__O__O(s); $m_Lhypersubs_SessionState$().subsJustSet$und$eq__Lhypersubs_SubsJustSetStatus__V($m_Lhypersubs_No$()); this.Page__Lhypersubs_page_OFLPage().abort__V() }); $c_Lhypersubs_Hypersubs$.prototype.$$js$exported$meth$main__O = (function() { this.main__V() }); $c_Lhypersubs_Hypersubs$.prototype.main = (function() { return this.$$js$exported$meth$main__O() }); var $d_Lhypersubs_Hypersubs$ = new $TypeData().initClass({ Lhypersubs_Hypersubs$: 0 }, false, "hypersubs.Hypersubs$", { Lhypersubs_Hypersubs$: 1, O: 1, sjs_js_JSApp: 1 }); $c_Lhypersubs_Hypersubs$.prototype.$classData = $d_Lhypersubs_Hypersubs$; var $n_Lhypersubs_Hypersubs$ = (void 0); function $m_Lhypersubs_Hypersubs$() { if ((!$n_Lhypersubs_Hypersubs$)) { $n_Lhypersubs_Hypersubs$ = new $c_Lhypersubs_Hypersubs$().init___() }; return $n_Lhypersubs_Hypersubs$ } $e.hypersubs = ($e.hypersubs || {}); $e.hypersubs.Hypersubs = $m_Lhypersubs_Hypersubs$; /** @constructor */ function $c_Lhypersubs_gui_MainDialog() { $c_Lhypersubs_gui_package$HSubsDialog.call(this); this.gui$2 = null; this.hypersubs$gui$MainDialog$$playerBox$2 = null; this.cancelDialog$2 = null; this.hypersubs$gui$MainDialog$$preferencesDialog$2 = null; this.hypersubs$gui$MainDialog$$helpDialog$2 = null; this.FlangeCounter$module$2 = null } $c_Lhypersubs_gui_MainDialog.prototype = new $h_Lhypersubs_gui_package$HSubsDialog(); $c_Lhypersubs_gui_MainDialog.prototype.constructor = $c_Lhypersubs_gui_MainDialog; /** @constructor */ function $h_Lhypersubs_gui_MainDialog() { /*<skip>*/ } $h_Lhypersubs_gui_MainDialog.prototype = $c_Lhypersubs_gui_MainDialog.prototype; $c_Lhypersubs_gui_MainDialog.prototype.FlangeCounter__Lhypersubs_gui_MainDialog$FlangeCounter$ = (function() { return ((this.FlangeCounter$module$2 === null) ? this.FlangeCounter$lzycompute__p2__Lhypersubs_gui_MainDialog$FlangeCounter$() : this.FlangeCounter$module$2) }); $c_Lhypersubs_gui_MainDialog.prototype.FlangeCounter$lzycompute__p2__Lhypersubs_gui_MainDialog$FlangeCounter$ = (function() { if ((this.FlangeCounter$module$2 === null)) { this.FlangeCounter$module$2 = new $c_Lhypersubs_gui_MainDialog$FlangeCounter$().init___Lhypersubs_gui_MainDialog(this) }; return this.FlangeCounter$module$2 }); $c_Lhypersubs_gui_MainDialog.prototype.dragKludge__p2__V = (function() { var jquery = (0, $m_Lorg_querki_jquery_package$().$$$1)("div.ui-dialog"); var jsx$1 = $m_sjs_js_Dictionary$(); var y = (function(arg$outer) { return (function(event$2, ui$2) { return arg$outer.hypersubs$gui$MainDialog$$removeDraggingClass$1__Lorg_scalajs_dom_raw_Event__O__Lorg_querki_jquery_JQuery(event$2, ui$2) }) })(this); jquery.draggable(jsx$1.apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("start", y)]))) }); $c_Lhypersubs_gui_MainDialog.prototype.updateButtons__p2__Lhypersubs_gui_package$GUIState__Lorg_querki_jquery_JQuery = (function(newState) { var nextButton = this.findButton__T__Lorg_querki_jquery_JQuery($m_Lhypersubs_gui_MainDialog$Text$().Next$1); var finishButton = this.findButton__T__Lorg_querki_jquery_JQuery($m_Lhypersubs_gui_MainDialog$Text$().Finish$1); var smartFillButton = this.findButton__T__Lorg_querki_jquery_JQuery($m_Lhypersubs_gui_MainDialog$Text$().Smartfill$1); var resetButton = this.findButton__T__Lorg_querki_jquery_JQuery($m_Lhypersubs_gui_MainDialog$Text$().Reset$1); var thisFlangeComplete = newState.hypersubs$1.isComplete__Z(); var smartFill = newState.smartFill$1; var enterButton = $m_s_None$(); if ((newState.currentFlange$1 < (((-1) + newState.numberOfFlanges$1) | 0))) { var jsx$1 = new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(nextButton); var s = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["", " "])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_MainDialog$Text$().Next$1])); jsx$1.buttonOption__T__sjs_js_Any__Lorg_querki_jquery_JQuery("label", s); var jsx$2 = new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(nextButton); var value = (!thisFlangeComplete); jsx$2.buttonOption__T__sjs_js_Any__Lorg_querki_jquery_JQuery("disabled", value); enterButton = new $c_s_Some().init___O(nextButton) } else { var jsx$3 = new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(nextButton); var s$1 = $m_Lhypersubs_gui_MainDialog$Text$().Next$1; jsx$3.buttonOption__T__sjs_js_Any__Lorg_querki_jquery_JQuery("label", s$1); new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(nextButton).buttonOption__T__sjs_js_Any__Lorg_querki_jquery_JQuery("disabled", true); enterButton = (thisFlangeComplete ? new $c_s_Some().init___O(finishButton) : $m_s_None$()) }; var jsx$4 = new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(finishButton); var value$1 = (!thisFlangeComplete); jsx$4.buttonOption__T__sjs_js_Any__Lorg_querki_jquery_JQuery("disabled", value$1); var this$11 = enterButton; if (this$11.isEmpty__Z()) { var jsx$5 = true } else { var arg1 = this$11.get__O(); var jsx$5 = (!new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(arg1).buttonFlag__T__Z("disabled")) }; if (jsx$5) { var this$13 = this$11 } else { var this$13 = $m_s_None$() }; if ((!this$13.isEmpty__Z())) { var arg1$1 = this$13.get__O(); arg1$1.focus() }; var hypersubsNow = newState.hypersubs$1; var hypersubsIfResetClicked = $m_Lhypersubs_hsubs_Selection$().apply__sc_Seq__Z__Lhypersubs_hsubs_Selection(newState.supersubs$1.squad__I__sc_Seq(newState.currentFlange$1), $m_Lhypersubs_Preferences$().smartFill__Z()); var resetWontDoAnything = (hypersubsNow.isEquivalentTo__Lhypersubs_hsubs_Selection__Z(hypersubsIfResetClicked) && (smartFill === $m_Lhypersubs_Preferences$().smartFill__Z())); if (resetWontDoAnything) { var _2 = (smartFill ? "Nothing to reset at the moment. The block of fixtures has been initialized using Smartfill as set in Preferences." : "Nothing to reset at the moment. Only trivial choices have been made."); var x1_$_$$und1$f = false; var x1_$_$$und2$f = _2 } else { var x1_$_$$und1$f = true; var x1_$_$$und2$f = "Start over on the currently visible matches." }; var resetEnabled = $uZ(x1_$_$$und1$f); var resetExplanation = $as_T(x1_$_$$und2$f); var jsx$6 = new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(resetButton); var value$2 = (!resetEnabled); jsx$6.buttonOption__T__sjs_js_Any__Lorg_querki_jquery_JQuery("disabled", value$2); resetButton.attr("title", resetExplanation); var hypersubsIfSmartFillClicked = $m_Lhypersubs_hsubs_Selection$().apply__sc_Seq__Z__Lhypersubs_hsubs_Selection(newState.supersubs$1.squad__I__sc_Seq(newState.currentFlange$1), (!newState.smartFill$1)); var smartWontDoAnything = hypersubsNow.isEquivalentTo__Lhypersubs_hsubs_Selection__Z(hypersubsIfSmartFillClicked); var smartWillJustReset = hypersubsIfSmartFillClicked.isEquivalentTo__Lhypersubs_hsubs_Selection__Z(hypersubsIfResetClicked); var doneNonAutomatically = (thisFlangeComplete && resetEnabled); if (doneNonAutomatically) { var _2$1 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Selection complete. Use ", " to undo."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_MainDialog$Text$().Reset$1])); var x1$2_$_$$und1$f = false; var x1$2_$_$$und2$f = _2$1 } else if ((smartWontDoAnything && (!smartFill))) { var x1$2_$_$$und1$f = false; var x1$2_$_$$und2$f = "Smartfill is unable to help you with this set of fixtures. Choose the players yourself." } else if ((smartWillJustReset && (!smartFill))) { var x1$2_$_$$und1$f = false; var x1$2_$_$$und2$f = "Use Reset to go back to your default Smartfill setting and start over." } else if ((smartWontDoAnything && smartFill)) { var x1$2_$_$$und1$f = true; var x1$2_$_$$und2$f = "Disable automatic Smartfill selection for the visible fixtures. Use Preferences to disable Smartfill permanently." } else if ((smartWillJustReset && smartFill)) { var x1$2_$_$$und1$f = true; var x1$2_$_$$und2$f = "Disable automatic Smartfill selection for the visible fixtures. Use Preferences to disable Smartfill permanently." } else if (smartFill) { var x1$2_$_$$und1$f = true; var x1$2_$_$$und2$f = "Disable automatic Smartfill selection for the visible fixtures. Use Preferences to disable Smartfill permanently." } else { var x1$2_$_$$und1$f = true; var x1$2_$_$$und2$f = "Quickly make selections such as fielding active defenders in \"safe\" matches. Use Preferences to enable Smartfill permanently and adjust which matches count as unsafe." }; var smartEnabled = $uZ(x1$2_$_$$und1$f); var smartExplanation = $as_T(x1$2_$_$$und2$f); var jsx$8 = new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(smartFillButton); if (smartFill) { var s$2 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Disable ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_MainDialog$Text$().Smartfill$1])); var jsx$7 = s$2 } else { var s$3 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Do ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_MainDialog$Text$().Smartfill$1])); var jsx$7 = s$3 }; jsx$8.buttonOption__T__sjs_js_Any__Lorg_querki_jquery_JQuery("label", jsx$7); var jsx$9 = new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(smartFillButton); var value$3 = (!smartEnabled); jsx$9.buttonOption__T__sjs_js_Any__Lorg_querki_jquery_JQuery("disabled", value$3); return smartFillButton.attr("title", smartExplanation) }); $c_Lhypersubs_gui_MainDialog.prototype.hypersubs$gui$MainDialog$$removeDraggingClass$1__Lorg_scalajs_dom_raw_Event__O__Lorg_querki_jquery_JQuery = (function(event, ui) { return (0, $m_Lorg_querki_jquery_package$().$$$1)("div.ui-dialog").removeClass("ui-draggable-dragging") }); $c_Lhypersubs_gui_MainDialog.prototype.browserResizeKludge__p2__V = (function() { (0, $m_Lorg_querki_jquery_package$().$$$1)($m_Lhypersubs_package$().Window$1).resize($m_Lorg_querki_jquery_package$().f12EventHandler__F1__sjs_js_$bar(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(event$2) { if ((!$uZ((0, $m_Lorg_querki_jquery_package$().$$$1)(event$2.target).hasClass("ui-resizable")))) { arg$outer.moveToTopCenter__V() } }) })(this)))) }); $c_Lhypersubs_gui_MainDialog.prototype.addHelpButton__Lorg_querki_jquery_JQuery = (function() { var buttonDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-help-button"); var jsx$1 = $m_sjs_js_Dictionary$(); var y = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("primary", "ui-icon-help")])); buttonDiv.button(jsx$1.apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("icons", y), new $c_T2().init___O__O("text", false)]))); return buttonDiv.click($m_Lorg_querki_jquery_package$().f02EventHandler__F0__sjs_js_$bar(new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer) { return (function() { return arg$outer.hypersubs$gui$MainDialog$$helpDialog$2.open__Lorg_querki_jquery_JQuery() }) })(this)))) }); $c_Lhypersubs_gui_MainDialog.prototype.updateDialogTitle__p2__Lhypersubs_gui_package$GUIState__Lorg_querki_jquery_JQuery = (function(newState) { var jquery = this.div$1; return new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(jquery).dialogOption__T__T__Lorg_querki_jquery_JQuery("title", new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Hypersubs — #", " of ", " Sets of Fixtures (", ") — ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([((1 + newState.currentFlange$1) | 0), newState.numberOfFlanges$1, newState.date$1, newState.teamName$1]))) }); $c_Lhypersubs_gui_MainDialog.prototype.stateSnap__Lhypersubs_gui_package$GUIState = (function() { return this.gui$2.mutableState$1 }); $c_Lhypersubs_gui_MainDialog.prototype.hypersubs$gui$MainDialog$$moveToNextFlange__V = (function() { var state = this.stateSnap__Lhypersubs_gui_package$GUIState(); state.supersubs$1.setCheckboxes__I__Lhypersubs_hsubs_Selection__V(state.currentFlange$1, state.hypersubs$1); var this$1 = this.gui$2; var flangeNumber = ((1 + state.currentFlange$1) | 0); var smartFill = $m_Lhypersubs_Preferences$().smartFill__Z(); var this$2 = this$1.mainDialog$1; this$2.hypersubs$gui$MainDialog$$playerBox$2.shiftViewToGivenFlange__I__Z__Z__V(flangeNumber, smartFill, true) }); $c_Lhypersubs_gui_MainDialog.prototype.finish__V = (function() { var state = this.stateSnap__Lhypersubs_gui_package$GUIState(); state.supersubs$1.setCheckboxes__I__Lhypersubs_hsubs_Selection__V(state.currentFlange$1, state.hypersubs$1); $m_Lhypersubs_SessionState$().subsJustSet$und$eq__Lhypersubs_SubsJustSetStatus__V($m_Lhypersubs_SubsJustSetStatus$().apply__I__Lhypersubs_SubsJustSetStatus(((1 + state.currentFlange$1) | 0))); this.cancelDialog$2.reallyExit$3 = true; this.close__Lorg_querki_jquery_JQuery(); var jsx$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)("body"); var a = ((((((("" + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div id='confirmationconfirmation' style='font-family: Candara, Tahoma, Geneva, sans-serif; letter-spacing: 0px;"])).s__sc_Seq__T($m_sci_Nil$())) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["border-radius: 0px; border-style: solid; border-color: #4CA20B; border-width: 3px 0px 3px 0px; background-color: #285C00;"])).s__sc_Seq__T($m_sci_Nil$())) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([" z-index: 10000; position: fixed; top: ", "px; left: ", "px;"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([(($uI($m_Lhypersubs_package$().Window$1.innerHeight) / 2) | 0), (($uI($m_Lhypersubs_package$().Window$1.innerWidth) / 2) | 0)]))) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["width: 780px; height: 130px; margin-top: -65px; margin-left: -390px; text-align: center'>"])).s__sc_Seq__T($m_sci_Nil$())) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div style='margin-top: 35px; color: white; font-size: 36px; line-height: 40px;'>"])).s__sc_Seq__T($m_sci_Nil$())) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Setting Hypersubs for ", " of ", " sets of fixtures.</div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([((1 + state.currentFlange$1) | 0), state.numberOfFlanges$1]))) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div style='color: yellow; font-size: 15px; line-height: 25px;'>(Waiting for the Fantasy League site to confirm.)</div></div>"])).s__sc_Seq__T($m_sci_Nil$())); jsx$1.prepend(a); var jquery = (0, $m_Lorg_querki_jquery_package$().$$$1)($m_Lhypersubs_package$().Window$1); jquery.unload($m_Lorg_querki_jquery_package$().f02EventHandler__F0__sjs_js_$bar(new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function() { return (0, $m_Lorg_querki_jquery_package$().$$$1)("#confirmationconfirmation").css("display", "none") })))); $m_Lhypersubs_package$(); var q = (0, $m_Lorg_querki_jquery_package$().$$$1)("#selection_submit"); var this$26 = new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(q).headOption__s_Option(); if ((!this$26.isEmpty__Z())) { var arg1 = this$26.get__O(); arg1.click() } }); $c_Lhypersubs_gui_MainDialog.prototype.moveToTopCenter__V = (function() { var jquery = this.div$1; new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(jquery).dialogPosition__Lhypersubs_package$Location__V(new $c_Lhypersubs_package$Location().init___T__T__sjs_js_Any__T__T("center top", "center top", (0, $m_Lorg_querki_jquery_package$().$$$1)("body"), "0 100", "fit")) }); $c_Lhypersubs_gui_MainDialog.prototype.init___Lhypersubs_gui_package$GUI = (function(gui) { this.gui$2 = gui; $c_Lhypersubs_gui_package$HSubsDialog.prototype.init___T__sjs_js_Object__Z.call(this, "#hypersubs-main-dialog", $m_Lhypersubs_gui_MainDialog$Options$(), true); this.hypersubs$gui$MainDialog$$playerBox$2 = new $c_Lhypersubs_gui_PlayerBox().init___Lhypersubs_gui_MainDialog(this); this.cancelDialog$2 = new $c_Lhypersubs_gui_CancelConfirmationDialog().init___Lhypersubs_gui_MainDialog(this); this.hypersubs$gui$MainDialog$$preferencesDialog$2 = new $c_Lhypersubs_gui_PreferencesDialog().init___Lhypersubs_gui_MainDialog(this); this.hypersubs$gui$MainDialog$$helpDialog$2 = new $c_Lhypersubs_gui_HelpDialog().init___Lhypersubs_gui_MainDialog(this); this.addHelpButton__Lorg_querki_jquery_JQuery(); this.dragKludge__p2__V(); this.browserResizeKludge__p2__V(); this.buttonSet__Lorg_querki_jquery_JQuery().css("float", "none"); return this }); $c_Lhypersubs_gui_MainDialog.prototype.buttonConfig__sci_Map = (function() { var self = $m_Lhypersubs_gui_MainDialog$Text$().Preferences$1; var y = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0($as_T($m_Lhypersubs_gui_MainDialog$Text$().Tips$1.apply__O__O($m_Lhypersubs_gui_MainDialog$Text$().Preferences$1)), new $c_s_Some().init___O("ui-icon-wrench"), "left", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer) { return (function() { arg$outer.hypersubs$gui$MainDialog$$preferencesDialog$2.open__Lorg_querki_jquery_JQuery() }) })(this))); var jsx$5 = new $c_T2().init___O__O(self, y); var self$1 = $m_Lhypersubs_gui_MainDialog$Text$().Smartfill$1; var y$1 = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0($as_T($m_Lhypersubs_gui_MainDialog$Text$().Tips$1.apply__O__O($m_Lhypersubs_gui_MainDialog$Text$().Smartfill$1)), $m_s_None$(), "left", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer$1) { return (function() { arg$outer$1.hypersubs$gui$MainDialog$$toggleSmartfill__V() }) })(this))); var jsx$4 = new $c_T2().init___O__O(self$1, y$1); var self$2 = $m_Lhypersubs_gui_MainDialog$Text$().Reset$1; var y$2 = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0($as_T($m_Lhypersubs_gui_MainDialog$Text$().Tips$1.apply__O__O($m_Lhypersubs_gui_MainDialog$Text$().Reset$1)), new $c_s_Some().init___O("ui-icon-arrowreturnthick-1-s"), "left", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer$2) { return (function() { arg$outer$2.hypersubs$gui$MainDialog$$playerBox$2.resetFlange__Z__V($m_Lhypersubs_Preferences$().smartFill__Z()) }) })(this))); var jsx$3 = new $c_T2().init___O__O(self$2, y$2); var self$3 = $m_Lhypersubs_gui_MainDialog$Text$().Cancel$1; var y$3 = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0($as_T($m_Lhypersubs_gui_MainDialog$Text$().Tips$1.apply__O__O($m_Lhypersubs_gui_MainDialog$Text$().Cancel$1)), new $c_s_Some().init___O("ui-icon-closethick"), "right", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer$3) { return (function() { arg$outer$3.close__Lorg_querki_jquery_JQuery() }) })(this))); var jsx$2 = new $c_T2().init___O__O(self$3, y$3); var self$4 = $m_Lhypersubs_gui_MainDialog$Text$().Finish$1; var y$4 = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0($as_T($m_Lhypersubs_gui_MainDialog$Text$().Tips$1.apply__O__O($m_Lhypersubs_gui_MainDialog$Text$().Finish$1)), new $c_s_Some().init___O("ui-icon-check"), "right", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer$4) { return (function() { arg$outer$4.finish__V() }) })(this))); var jsx$1 = new $c_T2().init___O__O(self$4, y$4); var self$5 = $m_Lhypersubs_gui_MainDialog$Text$().Next$1; var y$5 = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0($as_T($m_Lhypersubs_gui_MainDialog$Text$().Tips$1.apply__O__O($m_Lhypersubs_gui_MainDialog$Text$().Next$1)), new $c_s_Some().init___O("ui-icon-arrowthick-1-e"), "right", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer$5) { return (function() { arg$outer$5.hypersubs$gui$MainDialog$$moveToNextFlange__V() }) })(this))); var array = [jsx$5, jsx$4, jsx$3, jsx$2, jsx$1, new $c_T2().init___O__O(self$5, y$5)]; var this$14 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$14.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; return $as_sci_Map(this$14.elems$1) }); $c_Lhypersubs_gui_MainDialog.prototype.playerBoxUpdated__Z__Lorg_querki_jquery_JQuery = (function(flangeCounterOnly) { var newState = this.stateSnap__Lhypersubs_gui_package$GUIState(); if ((!flangeCounterOnly)) { this.updateButtons__p2__Lhypersubs_gui_package$GUIState__Lorg_querki_jquery_JQuery(newState); this.updateDialogTitle__p2__Lhypersubs_gui_package$GUIState__Lorg_querki_jquery_JQuery(newState) }; return this.FlangeCounter__Lhypersubs_gui_MainDialog$FlangeCounter$().update__Lhypersubs_gui_package$GUIState__Lorg_querki_jquery_JQuery(newState) }); $c_Lhypersubs_gui_MainDialog.prototype.hypersubs$gui$MainDialog$$toggleSmartfill__V = (function() { var state = this.stateSnap__Lhypersubs_gui_package$GUIState(); var flangeNumber = state.currentFlange$1; var smartFill = (!state.smartFill$1); this.hypersubs$gui$MainDialog$$playerBox$2.shiftViewToGivenFlange__I__Z__Z__V(flangeNumber, smartFill, false) }); function $is_Lhypersubs_gui_MainDialog(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_MainDialog))) } function $as_Lhypersubs_gui_MainDialog(obj) { return (($is_Lhypersubs_gui_MainDialog(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.MainDialog")) } function $isArrayOf_Lhypersubs_gui_MainDialog(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_MainDialog))) } function $asArrayOf_Lhypersubs_gui_MainDialog(obj, depth) { return (($isArrayOf_Lhypersubs_gui_MainDialog(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.MainDialog;", depth)) } var $d_Lhypersubs_gui_MainDialog = new $TypeData().initClass({ Lhypersubs_gui_MainDialog: 0 }, false, "hypersubs.gui.MainDialog", { Lhypersubs_gui_MainDialog: 1, Lhypersubs_gui_package$HSubsDialog: 1, O: 1 }); $c_Lhypersubs_gui_MainDialog.prototype.$classData = $d_Lhypersubs_gui_MainDialog; /** @constructor */ function $c_Lhypersubs_gui_SecondaryDialog() { $c_Lhypersubs_gui_package$HSubsDialog.call(this); this.parent$2 = null } $c_Lhypersubs_gui_SecondaryDialog.prototype = new $h_Lhypersubs_gui_package$HSubsDialog(); $c_Lhypersubs_gui_SecondaryDialog.prototype.constructor = $c_Lhypersubs_gui_SecondaryDialog; /** @constructor */ function $h_Lhypersubs_gui_SecondaryDialog() { /*<skip>*/ } $h_Lhypersubs_gui_SecondaryDialog.prototype = $c_Lhypersubs_gui_SecondaryDialog.prototype; $c_Lhypersubs_gui_SecondaryDialog.prototype.init___Lhypersubs_gui_MainDialog__T__sjs_js_Object = (function(parent, selector, options) { this.parent$2 = parent; $c_Lhypersubs_gui_package$HSubsDialog.prototype.init___T__sjs_js_Object__Z.call(this, selector, options, false); return this }); $c_Lhypersubs_gui_SecondaryDialog.prototype.open__Lorg_querki_jquery_JQuery = (function() { var jquery = this.div$1; new $c_Lhypersubs_jqueryui$ConvenienceMethodsForJQueryUI().init___Lorg_querki_jquery_JQuery(jquery).dialogPosition__Lhypersubs_package$Location__V(new $c_Lhypersubs_package$Location().init___T__T__sjs_js_Any__T__T("center", "center", this.parent$2.div$1, "0 0", "fit")); return $c_Lhypersubs_gui_package$HSubsDialog.prototype.open__Lorg_querki_jquery_JQuery.call(this) }); /** @constructor */ function $c_Lhypersubs_gui_SquadShape$CoordsOfRole$() { $c_O.call(this) } $c_Lhypersubs_gui_SquadShape$CoordsOfRole$.prototype = new $h_O(); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$.prototype.constructor = $c_Lhypersubs_gui_SquadShape$CoordsOfRole$; /** @constructor */ function $h_Lhypersubs_gui_SquadShape$CoordsOfRole$() { /*<skip>*/ } $h_Lhypersubs_gui_SquadShape$CoordsOfRole$.prototype = $c_Lhypersubs_gui_SquadShape$CoordsOfRole$.prototype; $c_Lhypersubs_gui_SquadShape$CoordsOfRole$.prototype.init___ = (function() { return this }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$.prototype.coords__Lhypersubs_hsubs_package$MatchdayRole__Z__Lhypersubs_package$Coords = (function(role, absolute) { if ($is_Lhypersubs_hsubs_package$InLimbo(role)) { var x2 = $as_Lhypersubs_hsubs_package$InLimbo(role); return $m_Lhypersubs_gui_SquadShape$CoordsOfRole$Limbo$().coords__Lhypersubs_hsubs_package$InLimbo__Z__Lhypersubs_package$Coords(x2, absolute) } else if ($is_Lhypersubs_hsubs_package$OnTheBench(role)) { var x3 = $as_Lhypersubs_hsubs_package$OnTheBench(role); return $m_Lhypersubs_gui_SquadShape$CoordsOfRole$Bench$().coords__Lhypersubs_hsubs_package$OnTheBench__Z__Lhypersubs_package$Coords(x3, absolute) } else if ($is_Lhypersubs_hsubs_package$InTheTeam(role)) { var x4 = $as_Lhypersubs_hsubs_package$InTheTeam(role); return $m_Lhypersubs_gui_SquadShape$CoordsOfRole$Team$().coords__Lhypersubs_hsubs_package$InTheTeam__Z__Lhypersubs_package$Coords(x4, absolute) } else { throw new $c_s_MatchError().init___O(role) } }); var $d_Lhypersubs_gui_SquadShape$CoordsOfRole$ = new $TypeData().initClass({ Lhypersubs_gui_SquadShape$CoordsOfRole$: 0 }, false, "hypersubs.gui.SquadShape$CoordsOfRole$", { Lhypersubs_gui_SquadShape$CoordsOfRole$: 1, O: 1, Lhypersubs_gui_SquadShape$CoordProperty: 1 }); $c_Lhypersubs_gui_SquadShape$CoordsOfRole$.prototype.$classData = $d_Lhypersubs_gui_SquadShape$CoordsOfRole$; var $n_Lhypersubs_gui_SquadShape$CoordsOfRole$ = (void 0); function $m_Lhypersubs_gui_SquadShape$CoordsOfRole$() { if ((!$n_Lhypersubs_gui_SquadShape$CoordsOfRole$)) { $n_Lhypersubs_gui_SquadShape$CoordsOfRole$ = new $c_Lhypersubs_gui_SquadShape$CoordsOfRole$().init___() }; return $n_Lhypersubs_gui_SquadShape$CoordsOfRole$ } /** @constructor */ function $c_Lhypersubs_gui_package$GUIState$Mutable() { $c_O.call(this); this.supersubs$1 = null; this.smartFill$1 = false; this.currentFlange$1 = 0; this.teamName$1 = null; this.date$1 = null; this.numberOfFlanges$1 = 0; this.hypersubs$1 = null; this.skip$1 = false } $c_Lhypersubs_gui_package$GUIState$Mutable.prototype = new $h_O(); $c_Lhypersubs_gui_package$GUIState$Mutable.prototype.constructor = $c_Lhypersubs_gui_package$GUIState$Mutable; /** @constructor */ function $h_Lhypersubs_gui_package$GUIState$Mutable() { /*<skip>*/ } $h_Lhypersubs_gui_package$GUIState$Mutable.prototype = $c_Lhypersubs_gui_package$GUIState$Mutable.prototype; $c_Lhypersubs_gui_package$GUIState$Mutable.prototype.init___Lhypersubs_page_Supersubs__Z__I__T__T__I__Lhypersubs_hsubs_Selection__Z = (function(supersubs, smartFill, currentFlange, teamName, date, numberOfFlanges, hypersubs, skip) { this.supersubs$1 = supersubs; this.smartFill$1 = smartFill; this.currentFlange$1 = currentFlange; this.teamName$1 = teamName; this.date$1 = date; this.numberOfFlanges$1 = numberOfFlanges; this.hypersubs$1 = hypersubs; this.skip$1 = skip; return this }); $c_Lhypersubs_gui_package$GUIState$Mutable.prototype.loadFlange__I__Z__V = (function(flangeNumber, smartFill) { this.smartFill$1 = smartFill; this.currentFlange$1 = flangeNumber; this.teamName$1 = this.supersubs$1.teamName$1; this.date$1 = this.supersubs$1.date__I__T(flangeNumber); this.numberOfFlanges$1 = this.supersubs$1.flangeCount$1; this.hypersubs$1 = $m_Lhypersubs_hsubs_Selection$().apply__sc_Seq__Z__Lhypersubs_hsubs_Selection(this.supersubs$1.squad__I__sc_Seq(flangeNumber), smartFill); this.skip$1 = (((!$m_Lhypersubs_Preferences$().alwaysRequireNext__Z()) && (flangeNumber < (((-1) + this.supersubs$1.flangeCount$1) | 0))) && this.hypersubs$1.isComplete__Z()) }); var $d_Lhypersubs_gui_package$GUIState$Mutable = new $TypeData().initClass({ Lhypersubs_gui_package$GUIState$Mutable: 0 }, false, "hypersubs.gui.package$GUIState$Mutable", { Lhypersubs_gui_package$GUIState$Mutable: 1, O: 1, Lhypersubs_gui_package$GUIState: 1 }); $c_Lhypersubs_gui_package$GUIState$Mutable.prototype.$classData = $d_Lhypersubs_gui_package$GUIState$Mutable; /** @constructor */ function $c_Lhypersubs_hsubs_Smartfill$() { $c_Lhypersubs_hsubs_FillStrategy.call(this) } $c_Lhypersubs_hsubs_Smartfill$.prototype = new $h_Lhypersubs_hsubs_FillStrategy(); $c_Lhypersubs_hsubs_Smartfill$.prototype.constructor = $c_Lhypersubs_hsubs_Smartfill$; /** @constructor */ function $h_Lhypersubs_hsubs_Smartfill$() { /*<skip>*/ } $h_Lhypersubs_hsubs_Smartfill$.prototype = $c_Lhypersubs_hsubs_Smartfill$.prototype; $c_Lhypersubs_hsubs_Smartfill$.prototype.init___ = (function() { return this }); $c_Lhypersubs_hsubs_Smartfill$.prototype.doYourBest__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick = (function(original) { var filledToMinIfNoActives = original.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$34$2) { var x$34 = $as_Lhypersubs_hsubs_PosPick(x$34$2); return new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(x$34).fillToMinWhenNobodyPlaying__Lhypersubs_hsubs_FillStrategy__Lhypersubs_hsubs_PosPick($m_Lhypersubs_hsubs_Smartfill$()) }))); var triviallyAddedActives = filledToMinIfNoActives.derive__F1__Lhypersubs_hsubs_PosGroupPick(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(pick$2) { var pick = $as_Lhypersubs_hsubs_PosPick(pick$2); return $m_Lhypersubs_hsubs_Smartfill$().hypersubs$hsubs$Smartfill$$fieldSafeActivesUnderMin$1__Lhypersubs_hsubs_PosPick__Lhypersubs_hsubs_PosPick(pick) }))); var filledWithSafes = new $c_Lhypersubs_hsubs_Smartfill$SmartGroup().init___Lhypersubs_hsubs_PosGroupPick(triviallyAddedActives).fieldUnconflictingSafes__Lhypersubs_hsubs_PosGroupPick(); var pruned = new $c_Lhypersubs_hsubs_Smartfill$SmartGroup().init___Lhypersubs_hsubs_PosGroupPick(filledWithSafes).pruneSelection__Lhypersubs_hsubs_PosGroupPick(); var teamFilledUpIfDone = this.fillUpIfComplete__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(pruned); var unneededBenched = teamFilledUpIfDone.fillStrategy$1.fieldUrgentsBenchLeftovers__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(teamFilledUpIfDone); return unneededBenched }); $c_Lhypersubs_hsubs_Smartfill$.prototype.hypersubs$hsubs$Smartfill$$fieldSafeActivesUnderMin$1__Lhypersubs_hsubs_PosPick__Lhypersubs_hsubs_PosPick = (function(pick) { return (((!new $c_Lhypersubs_hsubs_FillStrategy$StrategicPosPick().init___Lhypersubs_hsubs_PosPick(pick).containsDanger__Z()) && (new $c_Lhypersubs_hsubs_Smartfill$SmartPosPick().init___Lhypersubs_hsubs_PosPick(pick).likelyActiveCount__I() <= pick.min$1)) ? new $c_Lhypersubs_hsubs_Smartfill$SmartPosPick().init___Lhypersubs_hsubs_PosPick(pick).fieldAllActives__Lhypersubs_hsubs_PosPick() : pick) }); $c_Lhypersubs_hsubs_Smartfill$.prototype.suitablesForFill__Lhypersubs_hsubs_PosPick__I = (function(pick) { return new $c_Lhypersubs_hsubs_Smartfill$SmartPosPick().init___Lhypersubs_hsubs_PosPick(pick).likelyActiveCount__I() }); var $d_Lhypersubs_hsubs_Smartfill$ = new $TypeData().initClass({ Lhypersubs_hsubs_Smartfill$: 0 }, false, "hypersubs.hsubs.Smartfill$", { Lhypersubs_hsubs_Smartfill$: 1, Lhypersubs_hsubs_FillStrategy: 1, O: 1 }); $c_Lhypersubs_hsubs_Smartfill$.prototype.$classData = $d_Lhypersubs_hsubs_Smartfill$; var $n_Lhypersubs_hsubs_Smartfill$ = (void 0); function $m_Lhypersubs_hsubs_Smartfill$() { if ((!$n_Lhypersubs_hsubs_Smartfill$)) { $n_Lhypersubs_hsubs_Smartfill$ = new $c_Lhypersubs_hsubs_Smartfill$().init___() }; return $n_Lhypersubs_hsubs_Smartfill$ } /** @constructor */ function $c_Lhypersubs_hsubs_Stupidfill$() { $c_Lhypersubs_hsubs_FillStrategy.call(this) } $c_Lhypersubs_hsubs_Stupidfill$.prototype = new $h_Lhypersubs_hsubs_FillStrategy(); $c_Lhypersubs_hsubs_Stupidfill$.prototype.constructor = $c_Lhypersubs_hsubs_Stupidfill$; /** @constructor */ function $h_Lhypersubs_hsubs_Stupidfill$() { /*<skip>*/ } $h_Lhypersubs_hsubs_Stupidfill$.prototype = $c_Lhypersubs_hsubs_Stupidfill$.prototype; $c_Lhypersubs_hsubs_Stupidfill$.prototype.init___ = (function() { return this }); $c_Lhypersubs_hsubs_Stupidfill$.prototype.doYourBest__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick = (function(original) { var this$1 = this.fillUpIfComplete__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(original); return this$1.fillStrategy$1.fieldUrgentsBenchLeftovers__Lhypersubs_hsubs_PosGroupPick__Lhypersubs_hsubs_PosGroupPick(this$1) }); $c_Lhypersubs_hsubs_Stupidfill$.prototype.suitablesForFill__Lhypersubs_hsubs_PosPick__I = (function(pick) { return pick.choosable$1.count__F1__I(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$33$2) { var x$33 = $as_Lhypersubs_Player(x$33$2); return x$33.opposition$1.exists$1 }))) }); var $d_Lhypersubs_hsubs_Stupidfill$ = new $TypeData().initClass({ Lhypersubs_hsubs_Stupidfill$: 0 }, false, "hypersubs.hsubs.Stupidfill$", { Lhypersubs_hsubs_Stupidfill$: 1, Lhypersubs_hsubs_FillStrategy: 1, O: 1 }); $c_Lhypersubs_hsubs_Stupidfill$.prototype.$classData = $d_Lhypersubs_hsubs_Stupidfill$; var $n_Lhypersubs_hsubs_Stupidfill$ = (void 0); function $m_Lhypersubs_hsubs_Stupidfill$() { if ((!$n_Lhypersubs_hsubs_Stupidfill$)) { $n_Lhypersubs_hsubs_Stupidfill$ = new $c_Lhypersubs_hsubs_Stupidfill$().init___() }; return $n_Lhypersubs_hsubs_Stupidfill$ } /** @constructor */ function $c_Lhypersubs_hsubs_package$InLimbo() { $c_Lhypersubs_hsubs_package$MatchdayRole.call(this) } $c_Lhypersubs_hsubs_package$InLimbo.prototype = new $h_Lhypersubs_hsubs_package$MatchdayRole(); $c_Lhypersubs_hsubs_package$InLimbo.prototype.constructor = $c_Lhypersubs_hsubs_package$InLimbo; /** @constructor */ function $h_Lhypersubs_hsubs_package$InLimbo() { /*<skip>*/ } $h_Lhypersubs_hsubs_package$InLimbo.prototype = $c_Lhypersubs_hsubs_package$InLimbo.prototype; $c_Lhypersubs_hsubs_package$InLimbo.prototype.init___Lhypersubs_Position__I__I = (function(position, index, of) { $c_Lhypersubs_hsubs_package$MatchdayRole.prototype.init___Lhypersubs_hsubs_package$HypersubsArea__Lhypersubs_Position__I__I.call(this, $m_Lhypersubs_hsubs_package$Limbo$(), position, index, of); return this }); function $is_Lhypersubs_hsubs_package$InLimbo(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_hsubs_package$InLimbo))) } function $as_Lhypersubs_hsubs_package$InLimbo(obj) { return (($is_Lhypersubs_hsubs_package$InLimbo(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.hsubs.package$InLimbo")) } function $isArrayOf_Lhypersubs_hsubs_package$InLimbo(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_hsubs_package$InLimbo))) } function $asArrayOf_Lhypersubs_hsubs_package$InLimbo(obj, depth) { return (($isArrayOf_Lhypersubs_hsubs_package$InLimbo(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.hsubs.package$InLimbo;", depth)) } var $d_Lhypersubs_hsubs_package$InLimbo = new $TypeData().initClass({ Lhypersubs_hsubs_package$InLimbo: 0 }, false, "hypersubs.hsubs.package$InLimbo", { Lhypersubs_hsubs_package$InLimbo: 1, Lhypersubs_hsubs_package$MatchdayRole: 1, O: 1 }); $c_Lhypersubs_hsubs_package$InLimbo.prototype.$classData = $d_Lhypersubs_hsubs_package$InLimbo; /** @constructor */ function $c_Lhypersubs_hsubs_package$InTheTeam() { $c_Lhypersubs_hsubs_package$MatchdayRole.call(this) } $c_Lhypersubs_hsubs_package$InTheTeam.prototype = new $h_Lhypersubs_hsubs_package$MatchdayRole(); $c_Lhypersubs_hsubs_package$InTheTeam.prototype.constructor = $c_Lhypersubs_hsubs_package$InTheTeam; /** @constructor */ function $h_Lhypersubs_hsubs_package$InTheTeam() { /*<skip>*/ } $h_Lhypersubs_hsubs_package$InTheTeam.prototype = $c_Lhypersubs_hsubs_package$InTheTeam.prototype; $c_Lhypersubs_hsubs_package$InTheTeam.prototype.init___Lhypersubs_Position__I__I = (function(position, index, of) { $c_Lhypersubs_hsubs_package$MatchdayRole.prototype.init___Lhypersubs_hsubs_package$HypersubsArea__Lhypersubs_Position__I__I.call(this, $m_Lhypersubs_hsubs_package$Team$(), position, index, of); return this }); function $is_Lhypersubs_hsubs_package$InTheTeam(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_hsubs_package$InTheTeam))) } function $as_Lhypersubs_hsubs_package$InTheTeam(obj) { return (($is_Lhypersubs_hsubs_package$InTheTeam(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.hsubs.package$InTheTeam")) } function $isArrayOf_Lhypersubs_hsubs_package$InTheTeam(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_hsubs_package$InTheTeam))) } function $asArrayOf_Lhypersubs_hsubs_package$InTheTeam(obj, depth) { return (($isArrayOf_Lhypersubs_hsubs_package$InTheTeam(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.hsubs.package$InTheTeam;", depth)) } var $d_Lhypersubs_hsubs_package$InTheTeam = new $TypeData().initClass({ Lhypersubs_hsubs_package$InTheTeam: 0 }, false, "hypersubs.hsubs.package$InTheTeam", { Lhypersubs_hsubs_package$InTheTeam: 1, Lhypersubs_hsubs_package$MatchdayRole: 1, O: 1 }); $c_Lhypersubs_hsubs_package$InTheTeam.prototype.$classData = $d_Lhypersubs_hsubs_package$InTheTeam; /** @constructor */ function $c_Lhypersubs_hsubs_package$OnTheBench() { $c_Lhypersubs_hsubs_package$MatchdayRole.call(this) } $c_Lhypersubs_hsubs_package$OnTheBench.prototype = new $h_Lhypersubs_hsubs_package$MatchdayRole(); $c_Lhypersubs_hsubs_package$OnTheBench.prototype.constructor = $c_Lhypersubs_hsubs_package$OnTheBench; /** @constructor */ function $h_Lhypersubs_hsubs_package$OnTheBench() { /*<skip>*/ } $h_Lhypersubs_hsubs_package$OnTheBench.prototype = $c_Lhypersubs_hsubs_package$OnTheBench.prototype; $c_Lhypersubs_hsubs_package$OnTheBench.prototype.init___Lhypersubs_Position__I__I = (function(position, index, of) { $c_Lhypersubs_hsubs_package$MatchdayRole.prototype.init___Lhypersubs_hsubs_package$HypersubsArea__Lhypersubs_Position__I__I.call(this, $m_Lhypersubs_hsubs_package$Bench$(), position, index, of); return this }); function $is_Lhypersubs_hsubs_package$OnTheBench(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_hsubs_package$OnTheBench))) } function $as_Lhypersubs_hsubs_package$OnTheBench(obj) { return (($is_Lhypersubs_hsubs_package$OnTheBench(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.hsubs.package$OnTheBench")) } function $isArrayOf_Lhypersubs_hsubs_package$OnTheBench(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_hsubs_package$OnTheBench))) } function $asArrayOf_Lhypersubs_hsubs_package$OnTheBench(obj, depth) { return (($isArrayOf_Lhypersubs_hsubs_package$OnTheBench(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.hsubs.package$OnTheBench;", depth)) } var $d_Lhypersubs_hsubs_package$OnTheBench = new $TypeData().initClass({ Lhypersubs_hsubs_package$OnTheBench: 0 }, false, "hypersubs.hsubs.package$OnTheBench", { Lhypersubs_hsubs_package$OnTheBench: 1, Lhypersubs_hsubs_package$MatchdayRole: 1, O: 1 }); $c_Lhypersubs_hsubs_package$OnTheBench.prototype.$classData = $d_Lhypersubs_hsubs_package$OnTheBench; /** @constructor */ function $c_Lhypersubs_page_ConfirmationPage$() { $c_Lhypersubs_page_OFLPage.call(this) } $c_Lhypersubs_page_ConfirmationPage$.prototype = new $h_Lhypersubs_page_OFLPage(); $c_Lhypersubs_page_ConfirmationPage$.prototype.constructor = $c_Lhypersubs_page_ConfirmationPage$; /** @constructor */ function $h_Lhypersubs_page_ConfirmationPage$() { /*<skip>*/ } $h_Lhypersubs_page_ConfirmationPage$.prototype = $c_Lhypersubs_page_ConfirmationPage$.prototype; $c_Lhypersubs_page_ConfirmationPage$.prototype.init___ = (function() { $c_Lhypersubs_page_OFLPage.prototype.init___T.call(this, "confirmation page"); return this }); $c_Lhypersubs_page_ConfirmationPage$.prototype.setup__p2__T2 = (function() { var subsSet = $m_Lhypersubs_SessionState$().subsJustSet__Lhypersubs_SubsJustSetStatus(); $m_Lhypersubs_SessionState$().subsJustSet$und$eq__Lhypersubs_SubsJustSetStatus__V($m_Lhypersubs_No$()); var prune = $m_Lhypersubs_Preferences$().pruneConfirmation__Z(); var pruneMessage = (prune ? "Will prune inactive players from view." : "Won't prune inactive players from view."); if ($is_Lhypersubs_Yes(subsSet)) { var x2 = $as_Lhypersubs_Yes(subsSet); var doneCount = x2.flangeCount$2; var doneMessage = (doneCount + " fixture block(s) set using Hypersubs.") } else { var x = $m_Lhypersubs_No$(); if ((x === subsSet)) { var doneMessage = "No Hypersubs set just before loading this page." } else { var doneMessage; throw new $c_s_MatchError().init___O(subsSet) } }; $m_Lhypersubs_package$().log__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Augmenting confirmation page. ", " ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([pruneMessage, doneMessage]))); return new $c_T2().init___O__O(subsSet, prune) }); $c_Lhypersubs_page_ConfirmationPage$.prototype.addHypersubsLabelsToBlocksOfFixtures__p2__Lorg_scalajs_dom_raw_Element__I__V = (function(fixtureData, doneCount) { var array = (0, $m_Lorg_querki_jquery_package$().$$$1)(fixtureData).find("thead tr").toArray(); var array$1 = []; var len = $uI(array.length); var i = 0; while ((i < len)) { var index = i; var elem = new $c_T2().init___O__O(array[index], i); array$1.push(elem); i = ((1 + i) | 0) }; var this$8 = new $c_sjs_js_ArrayOps().init___sjs_js_Array(array$1); var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$1$2) { var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); return (check$ifrefutable$1 !== null) })); new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(this$8, p).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(doneCount$1) { return (function(x$2$2) { var x$2 = $as_T2(x$2$2); if ((x$2 !== null)) { var blockHeader = x$2.$$und1__O(); var index$1 = x$2.$$und2$mcI$sp__I(); var thisBlockDone = (index$1 < doneCount$1); var text = (thisBlockDone ? "Hypersubs set" : "Hypersubs NOT SET"); var color = (thisBlockDone ? "green" : "orange"); var dateElem = (0, $m_Lorg_querki_jquery_package$().$$$1)(blockHeader).find("th:nth(1)"); var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div style='position: relative; float: right; font-weight: bold; color: ", "; '>", "</div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([color, text])); return dateElem.append(a) } else { throw new $c_s_MatchError().init___O(x$2) } }) })(doneCount))) }); $c_Lhypersubs_page_ConfirmationPage$.prototype.updatePlayerRows__p2__Lorg_scalajs_dom_raw_Element__Z__Lorg_querki_jquery_JQuery = (function(fixtureData, prune) { $m_Lorg_querki_jquery_package$(); var jq = (0, $m_Lorg_querki_jquery_package$().$$$1)(fixtureData).children("tbody"); return new $c_Lorg_querki_jquery_JQueryExtensions().init___Lorg_querki_jquery_JQuery(jq).foreach__F1__Lorg_querki_jquery_JQuery(new $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1().init___Z(prune)) }); $c_Lhypersubs_page_ConfirmationPage$.prototype.usesSubsStatus__Z = (function() { return true }); $c_Lhypersubs_page_ConfirmationPage$.prototype.augmentSpecific__V = (function() { var x1 = this.setup__p2__T2(); if ((x1 !== null)) { var subsSet = $as_Lhypersubs_SubsJustSetStatus(x1.$$und1__O()); var prune = x1.$$und2$mcZ$sp__Z(); var x$1_$_$$und1$f = subsSet; var x$1_$_$$und2$f = prune } else { var x$1_$_$$und1$f; var x$1_$_$$und2$f; throw new $c_s_MatchError().init___O(x1) }; var subsSet$2 = $as_Lhypersubs_SubsJustSetStatus(x$1_$_$$und1$f); var prune$2 = $uZ(x$1_$_$$und2$f); var fixtureBlockDivs = (0, $m_Lorg_querki_jquery_package$().$$$1)("div.content table.general"); if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(fixtureBlockDivs)).failsToMatchAtLeastOnce__T__Z("Didn't find any fixture data on the confirmation page. Can't proceed.")) { return (void 0) }; if (($uI(fixtureBlockDivs.length) > 1)) { $m_Lhypersubs_package$().error__T__sr_Nothing$("Unexpected formatting on confirmation page. A change/bug in the FL site?") }; if ($is_Lhypersubs_Yes(subsSet$2)) { var x2 = $as_Lhypersubs_Yes(subsSet$2); var doneCount = x2.flangeCount$2; this.addHypersubsLabelsToBlocksOfFixtures__p2__Lorg_scalajs_dom_raw_Element__I__V(fixtureBlockDivs[0], doneCount) } else { var x = $m_Lhypersubs_No$(); if ((!(x === subsSet$2))) { throw new $c_s_MatchError().init___O(subsSet$2) } }; this.updatePlayerRows__p2__Lorg_scalajs_dom_raw_Element__Z__Lorg_querki_jquery_JQuery(fixtureBlockDivs[0], prune$2) }); $c_Lhypersubs_page_ConfirmationPage$.prototype.hypersubs$page$ConfirmationPage$$isReallyPruneable$1__Lorg_scalajs_dom_raw_Element__Z = (function(playerRow) { var kids = (0, $m_Lorg_querki_jquery_package$().$$$1)(playerRow).find("td"); var pageHasRightShape = ((($uI(kids.length) === 3) && $uZ((0, $m_Lorg_querki_jquery_package$().$$$1)(kids[1]).hasClass("text-right"))) && $uZ((0, $m_Lorg_querki_jquery_package$().$$$1)(kids[1]).hasClass("highlight"))); if (pageHasRightShape) { var thiz = $as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(playerRow).children("td:nth(2)").text()); return ($as_T(thiz.trim()) === "") } else { return false } }); $c_Lhypersubs_page_ConfirmationPage$.prototype.hypersubs$page$ConfirmationPage$$isPlayingButNotSelected$1__Lorg_scalajs_dom_raw_Element__Z = (function(playerRow) { return ($uI((0, $m_Lorg_querki_jquery_package$().$$$1)(playerRow).find("td:contains('Playing but not selected')").length) > 0) }); var $d_Lhypersubs_page_ConfirmationPage$ = new $TypeData().initClass({ Lhypersubs_page_ConfirmationPage$: 0 }, false, "hypersubs.page.ConfirmationPage$", { Lhypersubs_page_ConfirmationPage$: 1, Lhypersubs_page_OFLPage: 1, O: 1 }); $c_Lhypersubs_page_ConfirmationPage$.prototype.$classData = $d_Lhypersubs_page_ConfirmationPage$; var $n_Lhypersubs_page_ConfirmationPage$ = (void 0); function $m_Lhypersubs_page_ConfirmationPage$() { if ((!$n_Lhypersubs_page_ConfirmationPage$)) { $n_Lhypersubs_page_ConfirmationPage$ = new $c_Lhypersubs_page_ConfirmationPage$().init___() }; return $n_Lhypersubs_page_ConfirmationPage$ } /** @constructor */ function $c_Lhypersubs_page_LeaguePage$() { $c_Lhypersubs_page_OFLPage.call(this); this.usesSubsStatus$2 = false } $c_Lhypersubs_page_LeaguePage$.prototype = new $h_Lhypersubs_page_OFLPage(); $c_Lhypersubs_page_LeaguePage$.prototype.constructor = $c_Lhypersubs_page_LeaguePage$; /** @constructor */ function $h_Lhypersubs_page_LeaguePage$() { /*<skip>*/ } $h_Lhypersubs_page_LeaguePage$.prototype = $c_Lhypersubs_page_LeaguePage$.prototype; $c_Lhypersubs_page_LeaguePage$.prototype.init___ = (function() { $c_Lhypersubs_page_OFLPage.prototype.init___T.call(this, "league page"); this.usesSubsStatus$2 = false; return this }); $c_Lhypersubs_page_LeaguePage$.prototype.hypersubs$page$LeaguePage$$displayTransferColumn__sci_Map__V = (function(transfersMade) { var dgpHeader = (0, $m_Lorg_querki_jquery_package$().$$$1)("div.content table.general thead th:contains('DGP')"); var insertLocation = $uI(dgpHeader.index()); var teamLocation = $uI((0, $m_Lorg_querki_jquery_package$().$$$1)("div.content table.general thead th:contains('Team')").index()); var managerLocation = $uI((0, $m_Lorg_querki_jquery_package$().$$$1)("div.content table.general thead th:contains('Manager')").index()); if ((((insertLocation < 0) || (teamLocation < 0)) || (managerLocation < 0))) { $m_Lhypersubs_package$().log__O__V("Couldn't find the appropriate kind of league table; aborting."); return (void 0) }; dgpHeader.after("<th style='width: 26px;' title='Transfers Left'>TR</th>"); $m_Lorg_querki_jquery_package$(); var jq = (0, $m_Lorg_querki_jquery_package$().$$$1)("div.content table.general tbody tr"); new $c_Lorg_querki_jquery_JQueryExtensions().init___Lorg_querki_jquery_JQuery(jq).foreach__F1__Lorg_querki_jquery_JQuery(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(transfersMade$1, insertLocation$1, teamLocation$1, managerLocation$1) { return (function(leagueTableRow$2) { var jsx$3 = (0, $m_Lorg_querki_jquery_package$().$$$1)(leagueTableRow$2); var a = (("td:nth(" + managerLocation$1) + ")"); var jsx$2 = jsx$3.find(a); var jsx$1 = jsx$2.text(); var thiz = $as_T(jsx$1); $as_T(thiz.trim()); var jsx$6 = (0, $m_Lorg_querki_jquery_package$().$$$1)(leagueTableRow$2); var a$1 = (("td:nth(" + teamLocation$1) + ")"); var jsx$5 = jsx$6.find(a$1); var jsx$4 = jsx$5.text(); var thiz$1 = $as_T(jsx$4); var teamName = $as_T(thiz$1.trim()); var jsx$7 = (0, $m_Lorg_querki_jquery_package$().$$$1)(leagueTableRow$2); var a$2 = (("td:nth(" + insertLocation$1) + ")"); var dgpCell = jsx$7.find(a$2); var a$3 = (("<td>" + ((25 - $uI(transfersMade$1.apply__O__O(teamName))) | 0)) + "</td>"); dgpCell.after(a$3) }) })(transfersMade, insertLocation, teamLocation, managerLocation))) }); $c_Lhypersubs_page_LeaguePage$.prototype.showLeagueTransfers__p2__V = (function() { var openTabs = (0, $m_Lorg_querki_jquery_package$().$$$1)("#mainContent div.content ul.tabs li.tab-cur"); var thiz = $as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(openTabs[0]).text()); if (($as_T(thiz.trim()) === "League Table")) { var thiz$1 = $as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(openTabs[1]).text()); var correctTabOpen = ($as_T(thiz$1.trim()) === "Season") } else { var correctTabOpen = false }; if ((!correctTabOpen)) { $m_Lhypersubs_package$().log__O__V("Not in the League Table / Season tab; won't augment the page."); return (void 0) }; $m_Lhypersubs_package$(); var this$9 = new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(openTabs); var v1 = $uI(this$9.q$1.length); var fails = (!(v1 === 2)); if (fails) { $m_Lhypersubs_package$().log__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Unexpected number of open tabs on the league page: ", ". Won't augment the page."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$uI(openTabs.length)]))) }; if (fails) { return (void 0) }; $m_Lhypersubs_package$().log__O__V("Augmenting league page."); this.createTransferColumn__p2__V() }); $c_Lhypersubs_page_LeaguePage$.prototype.createTransferColumn__p2__V = (function() { var pathWithinSite = (0, $m_Lorg_querki_jquery_package$().$$$1)("#mainContent div.content ul.tabs li:contains('League Report') a").attr("href"); if ((pathWithinSite === (void 0))) { $m_Lhypersubs_package$().log__O__V("Aborting league page augmentation due to invalid link."); return (void 0) }; var x1 = $m_Lhypersubs_package$().httpOrHttps__s_Option(); var x = $m_s_None$(); if ((x === x1)) { var fullURL; $m_Lhypersubs_package$().log__O__V("Aborting league page augmentation due to invalid protocol."); return (void 0) } else if ($is_s_Some(x1)) { var x2 = $as_s_Some(x1); var protocol = $as_T(x2.x$2); var fullURL = ((protocol + "//www.fantasyleague.com") + pathWithinSite) } else { var fullURL; throw new $c_s_MatchError().init___O(x1) }; var reportWrapper = (0, $m_Lorg_querki_jquery_package$().$$$1)("<div style='display: none'></div>"); reportWrapper.load((fullURL + " #mainContent div.content"), null, (function(f) { return (function(arg1, arg2, arg3) { return f.apply__O__O__O__O__O(this, arg1, arg2, arg3) }) })(new $c_sjsr_AnonFunction4().init___sjs_js_Function4((function(thiz$2, x$2$2, x$3$2, x$4$2) { $as_T(x$2$2); $as_T(x$3$2); $m_Lhypersubs_page_LeaguePage$().hypersubs$page$LeaguePage$$BAR__Lorg_scalajs_dom_raw_Element__V(thiz$2) })))) }); $c_Lhypersubs_page_LeaguePage$.prototype.loadTransfersMade__p2__Lorg_querki_jquery_JQuery__s_Option = (function(report) { var teams = report.find("div.league-tab div table:not(.general) tbody").toArray(); var array = []; $uI(teams.length); var i = 0; var len = $uI(teams.length); while ((i < len)) { var index = i; var arg1 = teams[index]; var thiz = $as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(arg1).find("tr:nth(0) th:nth(1)").text()); var beginIndex = $uI("Team: ".length); var thiz$1 = $as_T(thiz.substring(beginIndex)); var elem = $as_T(thiz$1.trim()); array.push(elem); i = ((1 + i) | 0) }; var array$1 = []; $uI(teams.length); var i$1 = 0; var len$1 = $uI(teams.length); while ((i$1 < len$1)) { var index$1 = i$1; var arg1$1 = teams[index$1]; var thiz$2 = $as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(arg1$1).find("tr:nth(0) th:nth(2)").text()); var thiz$3 = $as_T(thiz$2.trim()); var beginIndex$1 = $uI("Transfers Done: ".length); var x = $as_T(thiz$3.substring(beginIndex$1)); var this$26 = new $c_sci_StringOps().init___T(x); var this$28 = $m_jl_Integer$(); var $$this = this$26.repr$1; var elem$1 = this$28.parseInt__T__I__I($$this, 10); array$1.push(elem$1); i$1 = ((1 + i$1) | 0) }; var i$2 = 0; while (true) { if ((i$2 < $uI(array.length))) { var index$2 = i$2; var arg1$2 = array[index$2]; var x$7 = $as_T(arg1$2); if ((x$7 === null)) { var jsx$3; throw new $c_jl_NullPointerException().init___() } else { var jsx$3 = x$7 }; var jsx$2 = ((jsx$3 === "") === false) } else { var jsx$2 = false }; if (jsx$2) { i$2 = ((1 + i$2) | 0) } else { break } }; if ((i$2 !== $uI(array.length))) { var jsx$1 = true } else { var i$3 = 0; while (true) { if ((i$3 < $uI(array$1.length))) { var index$3 = i$3; var arg1$3 = array$1[index$3]; var x$8 = $uI(arg1$3); var x$1 = $fround(x$8); var jsx$4 = ((x$1 !== x$1) === false) } else { var jsx$4 = false }; if (jsx$4) { i$3 = ((1 + i$3) | 0) } else { break } }; var jsx$1 = (i$3 !== $uI(array$1.length)) }; if (jsx$1) { $m_Lhypersubs_package$().log__O__V("Unexpected structure in the League Report page; a change/bug in the FL site?"); return $m_s_None$() } else { var jsx$5 = $uI(array.length); var this$37 = $m_sci_Set$(); var cbf = new $c_scg_GenSetFactory$$anon$1().init___scg_GenSetFactory(this$37); var b = cbf.apply__scm_Builder(); b.sizeHint__I__V($uI(array.length)); b.$$plus$plus$eq__sc_TraversableOnce__scg_Growable(new $c_sjs_js_WrappedArray().init___sjs_js_Array(array)); if ((jsx$5 !== $as_sci_Set(b.result__O()).size__I())) { $m_Lhypersubs_package$().log__O__V("Team names in the league are not unique."); return $m_s_None$() } else { var array$2 = []; var i$4 = 0; var x$2 = $uI(array.length); var that = $uI(array$1.length); var len$2 = ((x$2 < that) ? x$2 : that); while ((i$4 < len$2)) { var index$4 = i$4; var jsx$6 = array[index$4]; var index$5 = i$4; var elem$2 = new $c_T2().init___O__O(jsx$6, array$1[index$5]); array$2.push(elem$2); i$4 = ((1 + i$4) | 0) }; var b$1 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i$5 = 0; var len$3 = $uI(array$2.length); while ((i$5 < len$3)) { var index$6 = i$5; var arg1$4 = array$2[index$6]; b$1.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1$4)); i$5 = ((1 + i$5) | 0) }; return new $c_s_Some().init___O($as_sci_Map(b$1.elems$1)) } } }); $c_Lhypersubs_page_LeaguePage$.prototype.usesSubsStatus__Z = (function() { return this.usesSubsStatus$2 }); $c_Lhypersubs_page_LeaguePage$.prototype.augmentSpecific__V = (function() { if ($m_Lhypersubs_Preferences$().showLeagueTransfers__Z()) { this.showLeagueTransfers__p2__V() } }); $c_Lhypersubs_page_LeaguePage$.prototype.hypersubs$page$LeaguePage$$BAR__Lorg_scalajs_dom_raw_Element__V = (function(reportWrapper) { var report = (0, $m_Lorg_querki_jquery_package$().$$$1)(reportWrapper).find("div.content"); if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(report)).failsToMatchAtLeastOnce__T__Z("Failed to load League Report data.")) { return (void 0) }; if (($m_Lhypersubs_package$(), new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(report)).failsToMatchExactlyOnce__T__Z("Unexpected number of content elements in the League Report page; a change/bug in the FL site?")) { return (void 0) }; var this$7 = this.loadTransfersMade__p2__Lorg_querki_jquery_JQuery__s_Option(report); if ((!this$7.isEmpty__Z())) { var arg1 = this$7.get__O(); var transfersMade = $as_sci_Map(arg1); $m_Lhypersubs_page_LeaguePage$().hypersubs$page$LeaguePage$$displayTransferColumn__sci_Map__V(transfersMade) } }); var $d_Lhypersubs_page_LeaguePage$ = new $TypeData().initClass({ Lhypersubs_page_LeaguePage$: 0 }, false, "hypersubs.page.LeaguePage$", { Lhypersubs_page_LeaguePage$: 1, Lhypersubs_page_OFLPage: 1, O: 1 }); $c_Lhypersubs_page_LeaguePage$.prototype.$classData = $d_Lhypersubs_page_LeaguePage$; var $n_Lhypersubs_page_LeaguePage$ = (void 0); function $m_Lhypersubs_page_LeaguePage$() { if ((!$n_Lhypersubs_page_LeaguePage$)) { $n_Lhypersubs_page_LeaguePage$ = new $c_Lhypersubs_page_LeaguePage$().init___() }; return $n_Lhypersubs_page_LeaguePage$ } /** @constructor */ function $c_Lhypersubs_page_MiscellaneousPage$() { $c_Lhypersubs_page_OFLPage.call(this) } $c_Lhypersubs_page_MiscellaneousPage$.prototype = new $h_Lhypersubs_page_OFLPage(); $c_Lhypersubs_page_MiscellaneousPage$.prototype.constructor = $c_Lhypersubs_page_MiscellaneousPage$; /** @constructor */ function $h_Lhypersubs_page_MiscellaneousPage$() { /*<skip>*/ } $h_Lhypersubs_page_MiscellaneousPage$.prototype = $c_Lhypersubs_page_MiscellaneousPage$.prototype; $c_Lhypersubs_page_MiscellaneousPage$.prototype.init___ = (function() { $c_Lhypersubs_page_OFLPage.prototype.init___T.call(this, "miscellaneous page"); return this }); $c_Lhypersubs_page_MiscellaneousPage$.prototype.usesSubsStatus__Z = (function() { return false }); $c_Lhypersubs_page_MiscellaneousPage$.prototype.augmentSpecific__V = (function() { /*<skip>*/ }); var $d_Lhypersubs_page_MiscellaneousPage$ = new $TypeData().initClass({ Lhypersubs_page_MiscellaneousPage$: 0 }, false, "hypersubs.page.MiscellaneousPage$", { Lhypersubs_page_MiscellaneousPage$: 1, Lhypersubs_page_OFLPage: 1, O: 1 }); $c_Lhypersubs_page_MiscellaneousPage$.prototype.$classData = $d_Lhypersubs_page_MiscellaneousPage$; var $n_Lhypersubs_page_MiscellaneousPage$ = (void 0); function $m_Lhypersubs_page_MiscellaneousPage$() { if ((!$n_Lhypersubs_page_MiscellaneousPage$)) { $n_Lhypersubs_page_MiscellaneousPage$ = new $c_Lhypersubs_page_MiscellaneousPage$().init___() }; return $n_Lhypersubs_page_MiscellaneousPage$ } /** @constructor */ function $c_Lhypersubs_page_SupersubsPage$() { $c_Lhypersubs_page_OFLPage.call(this); this.usesSubsStatus$2 = false; this.SplashScreenID$2 = null; this.gui$2 = null } $c_Lhypersubs_page_SupersubsPage$.prototype = new $h_Lhypersubs_page_OFLPage(); $c_Lhypersubs_page_SupersubsPage$.prototype.constructor = $c_Lhypersubs_page_SupersubsPage$; /** @constructor */ function $h_Lhypersubs_page_SupersubsPage$() { /*<skip>*/ } $h_Lhypersubs_page_SupersubsPage$.prototype = $c_Lhypersubs_page_SupersubsPage$.prototype; $c_Lhypersubs_page_SupersubsPage$.prototype.init___ = (function() { $c_Lhypersubs_page_OFLPage.prototype.init___T.call(this, "supersubs page"); $n_Lhypersubs_page_SupersubsPage$ = this; this.usesSubsStatus$2 = false; this.SplashScreenID$2 = "hypersubs-splash"; this.gui$2 = $m_s_None$(); return this }); $c_Lhypersubs_page_SupersubsPage$.prototype.hypersubs$page$SupersubsPage$$launchApp__V = (function() { $m_Lhypersubs_package$().log__O__V("Launching."); this.hideSplashScreen__p2__Lorg_querki_jquery_JQuery(); var this$1 = this.gui$2; if ((!this$1.isEmpty__Z())) { var arg1 = this$1.get__O(); var gui = $as_Lhypersubs_gui_package$GUI(arg1); gui.mainDialog$1.open__Lorg_querki_jquery_JQuery(); var smartFill = $m_Lhypersubs_Preferences$().smartFill__Z(); var this$2 = gui.mainDialog$1; this$2.hypersubs$gui$MainDialog$$playerBox$2.shiftViewToGivenFlange__I__Z__Z__V(0, smartFill, true) } }); $c_Lhypersubs_page_SupersubsPage$.prototype.hypersubs$page$SupersubsPage$$posPickToSupersubs__Lhypersubs_hsubs_PosPick__sc_Seq = (function(posPick) { var jsx$2 = posPick.chosen$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(player$2) { var player = $as_Lhypersubs_Player(player$2); return new $c_Lhypersubs_page_SupersubsPage$SingleSupersub().init___I__Z(player.shirtNumber$1, true) })); var this$1 = $m_sc_Seq$(); var chosen = $as_sc_Seq(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)); var jsx$4 = posPick.choosable$1; var jsx$3 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(player$2$1) { var player$1 = $as_Lhypersubs_Player(player$2$1); return new $c_Lhypersubs_page_SupersubsPage$SingleSupersub().init___I__Z(player$1.shirtNumber$1, false) })); var this$2 = $m_sc_Seq$(); var limbo = $as_sc_Seq(jsx$4.map__F1__scg_CanBuildFrom__O(jsx$3, this$2.ReusableCBFInstance$2)); var jsx$6 = posPick.onTheBench$1; var jsx$5 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(player$2$2) { var player$3 = $as_Lhypersubs_Player(player$2$2); return new $c_Lhypersubs_page_SupersubsPage$SingleSupersub().init___I__Z(player$3.shirtNumber$1, false) })); var this$3 = $m_sc_Seq$(); var benched = $as_sc_Seq(jsx$6.map__F1__scg_CanBuildFrom__O(jsx$5, this$3.ReusableCBFInstance$2)); var this$4 = $m_sc_Seq$(); var jsx$7 = $as_sc_TraversableLike(chosen.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(limbo, this$4.ReusableCBFInstance$2)); var this$5 = $m_sc_Seq$(); return $as_sc_Seq(jsx$7.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(benched, this$5.ReusableCBFInstance$2)) }); $c_Lhypersubs_page_SupersubsPage$.prototype.hypersubs$page$SupersubsPage$$themeLoadWaiter$1__I__sr_IntRef__sr_BooleanRef__sr_IntRef__sr_VolatileByteRef__I = (function(WaitInterval$1, patience$1, stillNeedToWaitForThemeToLoad$1, themeLoadWaiter$lzy$1, bitmap$0$1) { return (((1 & bitmap$0$1.elem$1) === 0) ? this.themeLoadWaiter$lzycompute$1__p2__I__sr_IntRef__sr_BooleanRef__sr_IntRef__sr_VolatileByteRef__I(WaitInterval$1, patience$1, stillNeedToWaitForThemeToLoad$1, themeLoadWaiter$lzy$1, bitmap$0$1) : themeLoadWaiter$lzy$1.elem$1) }); $c_Lhypersubs_page_SupersubsPage$.prototype.preloadSetup__V = (function() { var SplashStyle = ("font-family: Candara, Tahoma, Geneva, sans-serif; border-width: 3px 0px 3px 0px; border-style: solid; border-color: #4CA20B; background-color: #285C00; " + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["top: ", "px; left: ", "px; width: 440px; height: 150px; margin-left: -220px; margin-top: -350px; text-align: center; z-index: 10000; position: fixed;"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([(($uI($m_Lhypersubs_package$().Window$1.innerHeight) / 2) | 0), (($uI($m_Lhypersubs_package$().Window$1.innerWidth) / 2) | 0)]))); var jsx$1 = $m_Lorg_querki_jquery_package$().$$$1; var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div id='", "' style='", "'></div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.SplashScreenID$2, SplashStyle])); var SplashDiv = jsx$1(a); var HypersubsDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("<div style='letter-spacing: 4px; margin-top: 35px; color: white; font-size: 40px;'>HYPERSUBS</div>"); var WillStartDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)("<div style='color: yellow; font-size: 15px; line-height: 25px;'>Will start in a moment.</div>"); SplashDiv.append(HypersubsDiv, WillStartDiv); (0, $m_Lorg_querki_jquery_package$().$$$1)("body").prepend(SplashDiv) }); $c_Lhypersubs_page_SupersubsPage$.prototype.hypersubsToSupersubs__Lhypersubs_hsubs_Selection__sc_Seq = (function(hypersubs) { var jsx$2 = hypersubs.posGroups$1; var jsx$1 = new $c_Lhypersubs_page_SupersubsPage$$anonfun$2().init___(); var this$1 = $m_sc_Seq$(); var partials = $as_sc_Seq(jsx$2.flatMap__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)); var this$2 = $as_sc_SeqLike(partials.flatten__F1__sc_GenTraversable($m_s_Predef$().singleton$und$less$colon$less$2)); var lt = new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function(a$2, b$2) { var a = $as_Lhypersubs_page_SupersubsPage$SingleSupersub(a$2); var b = $as_Lhypersubs_page_SupersubsPage$SingleSupersub(b$2); return (a.playerNumber$1 < b.playerNumber$1) })); var jsx$4 = $as_sc_TraversableLike($s_sc_SeqLike$class__sortWith__sc_SeqLike__F2__O(this$2, lt)); var jsx$3 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$1$2) { var x$1 = $as_Lhypersubs_page_SupersubsPage$SingleSupersub(x$1$2); return x$1.isSelected$1 })); var this$3 = $m_sc_Seq$(); return $as_sc_Seq(jsx$4.map__F1__scg_CanBuildFrom__O(jsx$3, this$3.ReusableCBFInstance$2)) }); $c_Lhypersubs_page_SupersubsPage$.prototype.launchOnceJQueryUIThemeReady__p2__V = (function() { var themeLoadWaiter$lzy = new $c_sr_IntRef().init___I(0); var bitmap$0 = new $c_sr_VolatileByteRef().init___B(0); var patience = new $c_sr_IntRef().init___I(200); var stillNeedToWaitForThemeToLoad = new $c_sr_BooleanRef().init___Z(true); this.hypersubs$page$SupersubsPage$$themeLoadWaiter$1__I__sr_IntRef__sr_BooleanRef__sr_IntRef__sr_VolatileByteRef__I(50, patience, stillNeedToWaitForThemeToLoad, themeLoadWaiter$lzy, bitmap$0) }); $c_Lhypersubs_page_SupersubsPage$.prototype.usesSubsStatus__Z = (function() { return this.usesSubsStatus$2 }); $c_Lhypersubs_page_SupersubsPage$.prototype.loadDataFromOFLSite__Lhypersubs_page_Supersubs = (function() { try { var x1 = new $c_s_util_Success().init___O(new $c_Lhypersubs_page_Supersubs().init___()) } catch (e) { var e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e); if ((e$2 !== null)) { matchEnd8: { var x1; var o11 = $m_s_util_control_NonFatal$().unapply__jl_Throwable__s_Option(e$2); if ((!o11.isEmpty__Z())) { var e$3 = $as_jl_Throwable(o11.get__O()); var x1 = new $c_s_util_Failure().init___jl_Throwable(e$3); break matchEnd8 }; throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(e$2) } } else { var x1; throw e } }; if ($is_s_util_Success(x1)) { var x2 = $as_s_util_Success(x1); var subsOnPage = $as_Lhypersubs_page_Supersubs(x2.value$2); $m_Lhypersubs_package$().log__O__V(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Loaded Supersubs data for ", " sets of fixtures."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([subsOnPage.flanges$1.size__I()]))); return subsOnPage } else if ($is_s_util_Failure(x1)) { var x3 = $as_s_util_Failure(x1); var problem = x3.exception$2; $m_Lhypersubs_package$().log__O__V("Failed to read the Supersubs page; aborting."); $m_Lhypersubs_package$().log__O__V(problem); this.hideSplashScreen__p2__Lorg_querki_jquery_JQuery(); var jsx$1 = $m_Lhypersubs_package$(); $m_Lhypersubs_package$(); var this$3 = new $c_Lhypersubs_package$BlingThrowable().init___jl_Throwable(problem); jsx$1.error__T__sr_Nothing$(("Failed to read the Supersubs page: " + this$3.throwable$1.getMessage__T())) } else { throw new $c_s_MatchError().init___O(x1) } }); $c_Lhypersubs_page_SupersubsPage$.prototype.abort__V = (function() { this.hideSplashScreen__p2__Lorg_querki_jquery_JQuery() }); $c_Lhypersubs_page_SupersubsPage$.prototype.augmentSpecific__V = (function() { $m_Lhypersubs_package$(); var q = (0, $m_Lorg_querki_jquery_package$().$$$1)("#mainContent:contains('You are not the owner of this team')"); var ownershipIssue = new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(q).appearsThoughItShouldnt__T__Z("Someone else's supersubs page visited; not starting Hypersubs."); $m_Lhypersubs_package$(); var q$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)("#mainContent:contains('You have entered an invalid team ID')"); var teamIDIssue = new $c_Lhypersubs_package$JQueryOps().init___Lorg_querki_jquery_JQuery(q$1).appearsThoughItShouldnt__T__Z("This is not your supersubs page. Not starting Hypersubs."); if ((ownershipIssue || teamIDIssue)) { this.hideSplashScreen__p2__Lorg_querki_jquery_JQuery(); return (void 0) }; var supersubs = this.loadDataFromOFLSite__Lhypersubs_page_Supersubs(); if (supersubs.flanges$1.isEmpty__Z()) { $m_Lhypersubs_package$().log__O__V("No fixtures found. Nothing to do; aborting."); this.hideSplashScreen__p2__Lorg_querki_jquery_JQuery(); return (void 0) }; this.gui$2 = new $c_s_Some().init___O(new $c_Lhypersubs_gui_package$GUI().init___Lhypersubs_page_Supersubs(supersubs)); this.launchOnceJQueryUIThemeReady__p2__V() }); $c_Lhypersubs_page_SupersubsPage$.prototype.themeLoadWaiter$lzycompute$1__p2__I__sr_IntRef__sr_BooleanRef__sr_IntRef__sr_VolatileByteRef__I = (function(WaitInterval$1, patience$1, stillNeedToWaitForThemeToLoad$1, themeLoadWaiter$lzy$1, bitmap$0$1) { if (((1 & bitmap$0$1.elem$1) === 0)) { themeLoadWaiter$lzy$1.elem$1 = $uI($m_Lhypersubs_package$().Window$1.setInterval((function(WaitInterval$1$1, patience$1$1, stillNeedToWaitForThemeToLoad$1$1, themeLoadWaiter$lzy$1$1, bitmap$0$1$1) { return (function() { patience$1$1.elem$1 = (((-1) + patience$1$1.elem$1) | 0); try { var thiz = $as_T((0, $m_Lorg_querki_jquery_package$().$$$1)(".ui-icon").css("background-image")); var str = $m_Lhypersubs_gui_package$().ThemePath$1; stillNeedToWaitForThemeToLoad$1$1.elem$1 = ($uI(thiz.indexOf(str)) < 0) } catch (e) { var e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e); if ($is_jl_Exception(e$2)) { var problem = $as_jl_Exception(e$2); $m_Lhypersubs_package$().log__O__V(problem) } else { throw e } }; if ((patience$1$1.elem$1 === 0)) { $m_Lhypersubs_package$().log__O__V("jQuery UI theme loading unexpectedly slowly. Will launch anyway."); stillNeedToWaitForThemeToLoad$1$1.elem$1 = false }; if ((!stillNeedToWaitForThemeToLoad$1$1.elem$1)) { $m_Lhypersubs_package$().Window$1.clearInterval($m_Lhypersubs_page_SupersubsPage$().hypersubs$page$SupersubsPage$$themeLoadWaiter$1__I__sr_IntRef__sr_BooleanRef__sr_IntRef__sr_VolatileByteRef__I(WaitInterval$1$1, patience$1$1, stillNeedToWaitForThemeToLoad$1$1, themeLoadWaiter$lzy$1$1, bitmap$0$1$1)); $m_Lhypersubs_page_SupersubsPage$().hypersubs$page$SupersubsPage$$launchApp__V() } }) })(WaitInterval$1, patience$1, stillNeedToWaitForThemeToLoad$1, themeLoadWaiter$lzy$1, bitmap$0$1), WaitInterval$1)); bitmap$0$1.elem$1 = (1 | bitmap$0$1.elem$1) }; return themeLoadWaiter$lzy$1.elem$1 }); $c_Lhypersubs_page_SupersubsPage$.prototype.hideSplashScreen__p2__Lorg_querki_jquery_JQuery = (function() { var jsx$2 = $m_Lorg_querki_jquery_package$().$$$1; var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.SplashScreenID$2])); var jsx$1 = jsx$2(a); return jsx$1.hide() }); var $d_Lhypersubs_page_SupersubsPage$ = new $TypeData().initClass({ Lhypersubs_page_SupersubsPage$: 0 }, false, "hypersubs.page.SupersubsPage$", { Lhypersubs_page_SupersubsPage$: 1, Lhypersubs_page_OFLPage: 1, O: 1 }); $c_Lhypersubs_page_SupersubsPage$.prototype.$classData = $d_Lhypersubs_page_SupersubsPage$; var $n_Lhypersubs_page_SupersubsPage$ = (void 0); function $m_Lhypersubs_page_SupersubsPage$() { if ((!$n_Lhypersubs_page_SupersubsPage$)) { $n_Lhypersubs_page_SupersubsPage$ = new $c_Lhypersubs_page_SupersubsPage$().init___() }; return $n_Lhypersubs_page_SupersubsPage$ } /** @constructor */ function $c_jl_Number() { $c_O.call(this) } $c_jl_Number.prototype = new $h_O(); $c_jl_Number.prototype.constructor = $c_jl_Number; /** @constructor */ function $h_jl_Number() { /*<skip>*/ } $h_jl_Number.prototype = $c_jl_Number.prototype; function $is_jl_Number(obj) { return (!(!(((obj && obj.$classData) && obj.$classData.ancestors.jl_Number) || ((typeof obj) === "number")))) } function $as_jl_Number(obj) { return (($is_jl_Number(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Number")) } function $isArrayOf_jl_Number(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Number))) } function $asArrayOf_jl_Number(obj, depth) { return (($isArrayOf_jl_Number(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Number;", depth)) } /** @constructor */ function $c_jl_StackTraceElement() { $c_O.call(this); this.declaringClass$1 = null; this.methodName$1 = null; this.fileName$1 = null; this.lineNumber$1 = 0; this.columnNumber$1 = 0 } $c_jl_StackTraceElement.prototype = new $h_O(); $c_jl_StackTraceElement.prototype.constructor = $c_jl_StackTraceElement; /** @constructor */ function $h_jl_StackTraceElement() { /*<skip>*/ } $h_jl_StackTraceElement.prototype = $c_jl_StackTraceElement.prototype; $c_jl_StackTraceElement.prototype.$$js$exported$meth$getColumnNumber__O = (function() { return this.columnNumber$1 }); $c_jl_StackTraceElement.prototype.init___T__T__T__I = (function(declaringClass, methodName, fileName, lineNumber) { this.declaringClass$1 = declaringClass; this.methodName$1 = methodName; this.fileName$1 = fileName; this.lineNumber$1 = lineNumber; this.columnNumber$1 = (-1); return this }); $c_jl_StackTraceElement.prototype.equals__O__Z = (function(that) { if ($is_jl_StackTraceElement(that)) { var x2 = $as_jl_StackTraceElement(that); return ((((this.fileName$1 === x2.fileName$1) && (this.lineNumber$1 === x2.lineNumber$1)) && (this.declaringClass$1 === x2.declaringClass$1)) && (this.methodName$1 === x2.methodName$1)) } else { return false } }); $c_jl_StackTraceElement.prototype.$$js$exported$meth$setColumnNumber__I__O = (function(columnNumber) { this.columnNumber$1 = columnNumber }); $c_jl_StackTraceElement.prototype.toString__T = (function() { var result = ""; if ((this.declaringClass$1 !== "<jscode>")) { result = ((("" + result) + this.declaringClass$1) + ".") }; result = (("" + result) + this.methodName$1); if ((this.fileName$1 === null)) { result = (result + "(Unknown Source)") } else { result = (("" + result) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["(", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.fileName$1]))); if ((this.lineNumber$1 >= 0)) { result = (("" + result) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([":", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.lineNumber$1]))); if ((this.columnNumber$1 >= 0)) { result = (("" + result) + new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([":", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.columnNumber$1]))) } }; result = (result + ")") }; return result }); $c_jl_StackTraceElement.prototype.hashCode__I = (function() { var this$1 = this.declaringClass$1; var jsx$1 = $m_sjsr_RuntimeString$().hashCode__T__I(this$1); var this$2 = this.methodName$1; return (jsx$1 ^ $m_sjsr_RuntimeString$().hashCode__T__I(this$2)) }); $c_jl_StackTraceElement.prototype.setColumnNumber = (function(arg$1) { var prep0 = $uI(arg$1); return this.$$js$exported$meth$setColumnNumber__I__O(prep0) }); $c_jl_StackTraceElement.prototype.getColumnNumber = (function() { return this.$$js$exported$meth$getColumnNumber__O() }); function $is_jl_StackTraceElement(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_StackTraceElement))) } function $as_jl_StackTraceElement(obj) { return (($is_jl_StackTraceElement(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.StackTraceElement")) } function $isArrayOf_jl_StackTraceElement(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_StackTraceElement))) } function $asArrayOf_jl_StackTraceElement(obj, depth) { return (($isArrayOf_jl_StackTraceElement(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.StackTraceElement;", depth)) } var $d_jl_StackTraceElement = new $TypeData().initClass({ jl_StackTraceElement: 0 }, false, "java.lang.StackTraceElement", { jl_StackTraceElement: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_StackTraceElement.prototype.$classData = $d_jl_StackTraceElement; /** @constructor */ function $c_jl_Throwable() { $c_O.call(this); this.s$1 = null; this.e$1 = null; this.stackTrace$1 = null } $c_jl_Throwable.prototype = new $h_O(); $c_jl_Throwable.prototype.constructor = $c_jl_Throwable; /** @constructor */ function $h_jl_Throwable() { /*<skip>*/ } $h_jl_Throwable.prototype = $c_jl_Throwable.prototype; $c_jl_Throwable.prototype.fillInStackTrace__jl_Throwable = (function() { var v = $g.Error.captureStackTrace; if ((v === (void 0))) { try { var e$1 = {}.undef() } catch (e) { var e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e); if ((e$2 !== null)) { if ($is_sjs_js_JavaScriptException(e$2)) { var x5 = $as_sjs_js_JavaScriptException(e$2); var e$3 = x5.exception$4; var e$1 = e$3 } else { var e$1; throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(e$2) } } else { var e$1; throw e } }; this.stackdata = e$1 } else { $g.Error.captureStackTrace(this); this.stackdata = this }; return this }); $c_jl_Throwable.prototype.getMessage__T = (function() { return this.s$1 }); $c_jl_Throwable.prototype.toString__T = (function() { var className = $objectGetClass(this).getName__T(); var message = this.getMessage__T(); return ((message === null) ? className : ((className + ": ") + message)) }); $c_jl_Throwable.prototype.getStackTrace__Ajl_StackTraceElement = (function() { if ((this.stackTrace$1 === null)) { this.stackTrace$1 = $m_sjsr_StackTrace$().extract__jl_Throwable__Ajl_StackTraceElement(this) }; return this.stackTrace$1 }); $c_jl_Throwable.prototype.init___T__jl_Throwable = (function(s, e) { this.s$1 = s; this.e$1 = e; this.fillInStackTrace__jl_Throwable(); return this }); $c_jl_Throwable.prototype.printStackTrace__Ljava_io_PrintStream__V = (function(s) { var f = (function($this, s$1) { return (function(x$1$2) { var x$1 = $as_T(x$1$2); s$1.println__T__V(x$1) }) })(this, s); this.getStackTrace__Ajl_StackTraceElement(); var arg1 = this.toString__T(); f(arg1); if ((this.stackTrace$1.u.length !== 0)) { var i = 0; while ((i < this.stackTrace$1.u.length)) { var arg1$1 = (" at " + this.stackTrace$1.u[i]); f(arg1$1); i = ((1 + i) | 0) } } else { f(" <no stack trace available>") }; var wCause = this; while (true) { var jsx$2 = wCause; var this$1 = wCause; if ((jsx$2 !== this$1.e$1)) { var this$2 = wCause; var jsx$1 = (this$2.e$1 !== null) } else { var jsx$1 = false }; if (jsx$1) { var parentTrace = wCause.getStackTrace__Ajl_StackTraceElement(); var this$3 = wCause; wCause = this$3.e$1; var thisTrace = wCause.getStackTrace__Ajl_StackTraceElement(); var thisLength = thisTrace.u.length; var parentLength = parentTrace.u.length; var arg1$2 = ("Caused by: " + wCause.toString__T()); f(arg1$2); if ((thisLength !== 0)) { var sameFrameCount = 0; while (true) { if (((sameFrameCount < thisLength) && (sameFrameCount < parentLength))) { var x = thisTrace.u[(((-1) + ((thisLength - sameFrameCount) | 0)) | 0)]; var x$2 = parentTrace.u[(((-1) + ((parentLength - sameFrameCount) | 0)) | 0)]; var jsx$3 = ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2)) } else { var jsx$3 = false }; if (jsx$3) { sameFrameCount = ((1 + sameFrameCount) | 0) } else { break } }; if ((sameFrameCount > 0)) { sameFrameCount = (((-1) + sameFrameCount) | 0) }; var lengthToPrint = ((thisLength - sameFrameCount) | 0); var i$2 = 0; while ((i$2 < lengthToPrint)) { var arg1$3 = (" at " + thisTrace.u[i$2]); f(arg1$3); i$2 = ((1 + i$2) | 0) }; if ((sameFrameCount > 0)) { var arg1$4 = ((" ... " + sameFrameCount) + " more"); f(arg1$4) } } else { f(" <no stack trace available>") } } else { break } } }); function $is_jl_Throwable(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_Throwable))) } function $as_jl_Throwable(obj) { return (($is_jl_Throwable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Throwable")) } function $isArrayOf_jl_Throwable(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Throwable))) } function $asArrayOf_jl_Throwable(obj, depth) { return (($isArrayOf_jl_Throwable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Throwable;", depth)) } /** @constructor */ function $c_ju_regex_Matcher() { $c_O.call(this); this.pattern0$1 = null; this.input0$1 = null; this.regionStart0$1 = 0; this.regionEnd0$1 = 0; this.regexp$1 = null; this.inputstr$1 = null; this.lastMatch$1 = null; this.lastMatchIsValid$1 = false; this.canStillFind$1 = false; this.appendPos$1 = 0 } $c_ju_regex_Matcher.prototype = new $h_O(); $c_ju_regex_Matcher.prototype.constructor = $c_ju_regex_Matcher; /** @constructor */ function $h_ju_regex_Matcher() { /*<skip>*/ } $h_ju_regex_Matcher.prototype = $c_ju_regex_Matcher.prototype; $c_ju_regex_Matcher.prototype.find__Z = (function() { if (this.canStillFind$1) { this.lastMatchIsValid$1 = true; this.lastMatch$1 = this.regexp$1.exec(this.inputstr$1); if ((this.lastMatch$1 !== null)) { var value = this.lastMatch$1[0]; if ((value === (void 0))) { var jsx$1; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$1 = value }; var thiz = $as_T(jsx$1); if ((thiz === null)) { var jsx$2; throw new $c_jl_NullPointerException().init___() } else { var jsx$2 = thiz }; if ((jsx$2 === "")) { var ev$1 = this.regexp$1; ev$1.lastIndex = ((1 + $uI(ev$1.lastIndex)) | 0) } } else { this.canStillFind$1 = false }; return (this.lastMatch$1 !== null) } else { return false } }); $c_ju_regex_Matcher.prototype.ensureLastMatch__p1__sjs_js_RegExp$ExecResult = (function() { if ((this.lastMatch$1 === null)) { throw new $c_jl_IllegalStateException().init___T("No match available") }; return this.lastMatch$1 }); $c_ju_regex_Matcher.prototype.group__I__T = (function(group) { var value = this.ensureLastMatch__p1__sjs_js_RegExp$ExecResult()[group]; return $as_T(((value === (void 0)) ? null : value)) }); $c_ju_regex_Matcher.prototype.matches__Z = (function() { this.reset__ju_regex_Matcher(); this.find__Z(); if ((this.lastMatch$1 !== null)) { if ((this.start__I() !== 0)) { var jsx$1 = true } else { var jsx$2 = this.end__I(); var thiz = this.inputstr$1; var jsx$1 = (jsx$2 !== $uI(thiz.length)) } } else { var jsx$1 = false }; if (jsx$1) { this.reset__ju_regex_Matcher() }; return (this.lastMatch$1 !== null) }); $c_ju_regex_Matcher.prototype.groupCount__I = (function() { return (((-1) + $uI(this.ensureLastMatch__p1__sjs_js_RegExp$ExecResult().length)) | 0) }); $c_ju_regex_Matcher.prototype.appendTail__jl_StringBuffer__jl_StringBuffer = (function(sb) { var thiz = this.inputstr$1; var beginIndex = this.appendPos$1; sb.append__T__jl_StringBuffer($as_T(thiz.substring(beginIndex))); var thiz$1 = this.inputstr$1; this.appendPos$1 = $uI(thiz$1.length); return sb }); $c_ju_regex_Matcher.prototype.end__I = (function() { var jsx$1 = this.start__I(); var thiz = this.group__T(); return ((jsx$1 + $uI(thiz.length)) | 0) }); $c_ju_regex_Matcher.prototype.init___ju_regex_Pattern__jl_CharSequence__I__I = (function(pattern0, input0, regionStart0, regionEnd0) { this.pattern0$1 = pattern0; this.input0$1 = input0; this.regionStart0$1 = regionStart0; this.regionEnd0$1 = regionEnd0; this.regexp$1 = this.pattern0$1.newJSRegExp__sjs_js_RegExp(); this.inputstr$1 = $objectToString($charSequenceSubSequence(this.input0$1, this.regionStart0$1, this.regionEnd0$1)); this.lastMatch$1 = null; this.lastMatchIsValid$1 = false; this.canStillFind$1 = true; this.appendPos$1 = 0; return this }); $c_ju_regex_Matcher.prototype.appendReplacement__jl_StringBuffer__T__ju_regex_Matcher = (function(sb, replacement) { var thiz = this.inputstr$1; var beginIndex = this.appendPos$1; var endIndex = this.start__I(); sb.append__T__jl_StringBuffer($as_T(thiz.substring(beginIndex, endIndex))); var len = $uI(replacement.length); var i = 0; while ((i < len)) { var index = i; var x1 = (65535 & $uI(replacement.charCodeAt(index))); switch (x1) { case 36: { i = ((1 + i) | 0); var j = i; while (true) { if ((i < len)) { var index$1 = i; var c = (65535 & $uI(replacement.charCodeAt(index$1))); var jsx$1 = ((c >= 48) && (c <= 57)) } else { var jsx$1 = false }; if (jsx$1) { i = ((1 + i) | 0) } else { break } }; var this$8 = $m_jl_Integer$(); var endIndex$1 = i; var s = $as_T(replacement.substring(j, endIndex$1)); var group = this$8.parseInt__T__I__I(s, 10); sb.append__T__jl_StringBuffer(this.group__I__T(group)); break } case 92: { i = ((1 + i) | 0); if ((i < len)) { var index$2 = i; sb.append__C__jl_StringBuffer((65535 & $uI(replacement.charCodeAt(index$2)))) }; i = ((1 + i) | 0); break } default: { sb.append__C__jl_StringBuffer(x1); i = ((1 + i) | 0) } } }; this.appendPos$1 = this.end__I(); return this }); $c_ju_regex_Matcher.prototype.replaceAll__T__T = (function(replacement) { this.reset__ju_regex_Matcher(); var sb = new $c_jl_StringBuffer().init___(); while (this.find__Z()) { this.appendReplacement__jl_StringBuffer__T__ju_regex_Matcher(sb, replacement) }; this.appendTail__jl_StringBuffer__jl_StringBuffer(sb); return sb.content$1 }); $c_ju_regex_Matcher.prototype.group__T = (function() { var value = this.ensureLastMatch__p1__sjs_js_RegExp$ExecResult()[0]; if ((value === (void 0))) { var jsx$1; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$1 = value }; return $as_T(jsx$1) }); $c_ju_regex_Matcher.prototype.start__I = (function() { return $uI(this.ensureLastMatch__p1__sjs_js_RegExp$ExecResult().index) }); $c_ju_regex_Matcher.prototype.reset__ju_regex_Matcher = (function() { this.regexp$1.lastIndex = 0; this.lastMatch$1 = null; this.lastMatchIsValid$1 = false; this.canStillFind$1 = true; this.appendPos$1 = 0; return this }); var $d_ju_regex_Matcher = new $TypeData().initClass({ ju_regex_Matcher: 0 }, false, "java.util.regex.Matcher", { ju_regex_Matcher: 1, O: 1, ju_regex_MatchResult: 1 }); $c_ju_regex_Matcher.prototype.$classData = $d_ju_regex_Matcher; /** @constructor */ function $c_s_LowPriorityImplicits$$anon$4() { $c_O.call(this) } $c_s_LowPriorityImplicits$$anon$4.prototype = new $h_O(); $c_s_LowPriorityImplicits$$anon$4.prototype.constructor = $c_s_LowPriorityImplicits$$anon$4; /** @constructor */ function $h_s_LowPriorityImplicits$$anon$4() { /*<skip>*/ } $h_s_LowPriorityImplicits$$anon$4.prototype = $c_s_LowPriorityImplicits$$anon$4.prototype; $c_s_LowPriorityImplicits$$anon$4.prototype.apply__scm_Builder = (function() { $m_sci_IndexedSeq$(); $m_sci_Vector$(); return new $c_sci_VectorBuilder().init___() }); $c_s_LowPriorityImplicits$$anon$4.prototype.apply__O__scm_Builder = (function(from) { $as_T(from); $m_sci_IndexedSeq$(); $m_sci_Vector$(); return new $c_sci_VectorBuilder().init___() }); $c_s_LowPriorityImplicits$$anon$4.prototype.init___s_LowPriorityImplicits = (function($$outer) { return this }); var $d_s_LowPriorityImplicits$$anon$4 = new $TypeData().initClass({ s_LowPriorityImplicits$$anon$4: 0 }, false, "scala.LowPriorityImplicits$$anon$4", { s_LowPriorityImplicits$$anon$4: 1, O: 1, scg_CanBuildFrom: 1 }); $c_s_LowPriorityImplicits$$anon$4.prototype.$classData = $d_s_LowPriorityImplicits$$anon$4; /** @constructor */ function $c_s_Predef$$anon$3() { $c_O.call(this) } $c_s_Predef$$anon$3.prototype = new $h_O(); $c_s_Predef$$anon$3.prototype.constructor = $c_s_Predef$$anon$3; /** @constructor */ function $h_s_Predef$$anon$3() { /*<skip>*/ } $h_s_Predef$$anon$3.prototype = $c_s_Predef$$anon$3.prototype; $c_s_Predef$$anon$3.prototype.init___ = (function() { return this }); $c_s_Predef$$anon$3.prototype.apply__scm_Builder = (function() { return new $c_scm_StringBuilder().init___() }); $c_s_Predef$$anon$3.prototype.apply__O__scm_Builder = (function(from) { $as_T(from); return new $c_scm_StringBuilder().init___() }); var $d_s_Predef$$anon$3 = new $TypeData().initClass({ s_Predef$$anon$3: 0 }, false, "scala.Predef$$anon$3", { s_Predef$$anon$3: 1, O: 1, scg_CanBuildFrom: 1 }); $c_s_Predef$$anon$3.prototype.$classData = $d_s_Predef$$anon$3; /** @constructor */ function $c_s_package$$anon$1() { $c_O.call(this) } $c_s_package$$anon$1.prototype = new $h_O(); $c_s_package$$anon$1.prototype.constructor = $c_s_package$$anon$1; /** @constructor */ function $h_s_package$$anon$1() { /*<skip>*/ } $h_s_package$$anon$1.prototype = $c_s_package$$anon$1.prototype; $c_s_package$$anon$1.prototype.init___ = (function() { return this }); $c_s_package$$anon$1.prototype.toString__T = (function() { return "object AnyRef" }); var $d_s_package$$anon$1 = new $TypeData().initClass({ s_package$$anon$1: 0 }, false, "scala.package$$anon$1", { s_package$$anon$1: 1, O: 1, s_Specializable: 1 }); $c_s_package$$anon$1.prototype.$classData = $d_s_package$$anon$1; /** @constructor */ function $c_s_util_hashing_MurmurHash3$() { $c_s_util_hashing_MurmurHash3.call(this); this.arraySeed$2 = 0; this.stringSeed$2 = 0; this.productSeed$2 = 0; this.symmetricSeed$2 = 0; this.traversableSeed$2 = 0; this.seqSeed$2 = 0; this.mapSeed$2 = 0; this.setSeed$2 = 0 } $c_s_util_hashing_MurmurHash3$.prototype = new $h_s_util_hashing_MurmurHash3(); $c_s_util_hashing_MurmurHash3$.prototype.constructor = $c_s_util_hashing_MurmurHash3$; /** @constructor */ function $h_s_util_hashing_MurmurHash3$() { /*<skip>*/ } $h_s_util_hashing_MurmurHash3$.prototype = $c_s_util_hashing_MurmurHash3$.prototype; $c_s_util_hashing_MurmurHash3$.prototype.init___ = (function() { $n_s_util_hashing_MurmurHash3$ = this; this.seqSeed$2 = $m_sjsr_RuntimeString$().hashCode__T__I("Seq"); this.mapSeed$2 = $m_sjsr_RuntimeString$().hashCode__T__I("Map"); this.setSeed$2 = $m_sjsr_RuntimeString$().hashCode__T__I("Set"); return this }); $c_s_util_hashing_MurmurHash3$.prototype.seqHash__sc_Seq__I = (function(xs) { if ($is_sci_List(xs)) { var x2 = $as_sci_List(xs); return this.listHash__sci_List__I__I(x2, this.seqSeed$2) } else { return this.orderedHash__sc_TraversableOnce__I__I(xs, this.seqSeed$2) } }); var $d_s_util_hashing_MurmurHash3$ = new $TypeData().initClass({ s_util_hashing_MurmurHash3$: 0 }, false, "scala.util.hashing.MurmurHash3$", { s_util_hashing_MurmurHash3$: 1, s_util_hashing_MurmurHash3: 1, O: 1 }); $c_s_util_hashing_MurmurHash3$.prototype.$classData = $d_s_util_hashing_MurmurHash3$; var $n_s_util_hashing_MurmurHash3$ = (void 0); function $m_s_util_hashing_MurmurHash3$() { if ((!$n_s_util_hashing_MurmurHash3$)) { $n_s_util_hashing_MurmurHash3$ = new $c_s_util_hashing_MurmurHash3$().init___() }; return $n_s_util_hashing_MurmurHash3$ } /** @constructor */ function $c_sc_TraversableLike$WithFilter() { $c_O.call(this); this.p$1 = null; this.$$outer$f = null } $c_sc_TraversableLike$WithFilter.prototype = new $h_O(); $c_sc_TraversableLike$WithFilter.prototype.constructor = $c_sc_TraversableLike$WithFilter; /** @constructor */ function $h_sc_TraversableLike$WithFilter() { /*<skip>*/ } $h_sc_TraversableLike$WithFilter.prototype = $c_sc_TraversableLike$WithFilter.prototype; $c_sc_TraversableLike$WithFilter.prototype.foreach__F1__V = (function(f) { this.$$outer$f.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, f$1) { return (function(x$2) { return ($uZ($this.p$1.apply__O__O(x$2)) ? f$1.apply__O__O(x$2) : (void 0)) }) })(this, f))) }); $c_sc_TraversableLike$WithFilter.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { var b = bf.apply__O__scm_Builder(this.$$outer$f.repr__O()); this.$$outer$f.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, f$1, b$1) { return (function(x$2) { return ($uZ($this.p$1.apply__O__O(x$2)) ? b$1.$$plus$eq__O__scm_Builder(f$1.apply__O__O(x$2)) : (void 0)) }) })(this, f, b))); return b.result__O() }); $c_sc_TraversableLike$WithFilter.prototype.init___sc_TraversableLike__F1 = (function($$outer, p) { this.p$1 = p; if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; return this }); var $d_sc_TraversableLike$WithFilter = new $TypeData().initClass({ sc_TraversableLike$WithFilter: 0 }, false, "scala.collection.TraversableLike$WithFilter", { sc_TraversableLike$WithFilter: 1, O: 1, scg_FilterMonadic: 1 }); $c_sc_TraversableLike$WithFilter.prototype.$classData = $d_sc_TraversableLike$WithFilter; /** @constructor */ function $c_scg_GenMapFactory$MapCanBuildFrom() { $c_O.call(this); this.$$outer$f = null } $c_scg_GenMapFactory$MapCanBuildFrom.prototype = new $h_O(); $c_scg_GenMapFactory$MapCanBuildFrom.prototype.constructor = $c_scg_GenMapFactory$MapCanBuildFrom; /** @constructor */ function $h_scg_GenMapFactory$MapCanBuildFrom() { /*<skip>*/ } $h_scg_GenMapFactory$MapCanBuildFrom.prototype = $c_scg_GenMapFactory$MapCanBuildFrom.prototype; $c_scg_GenMapFactory$MapCanBuildFrom.prototype.apply__scm_Builder = (function() { return this.$$outer$f.newBuilder__scm_Builder() }); $c_scg_GenMapFactory$MapCanBuildFrom.prototype.apply__O__scm_Builder = (function(from) { $as_sc_GenMap(from); return this.$$outer$f.newBuilder__scm_Builder() }); $c_scg_GenMapFactory$MapCanBuildFrom.prototype.init___scg_GenMapFactory = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; return this }); var $d_scg_GenMapFactory$MapCanBuildFrom = new $TypeData().initClass({ scg_GenMapFactory$MapCanBuildFrom: 0 }, false, "scala.collection.generic.GenMapFactory$MapCanBuildFrom", { scg_GenMapFactory$MapCanBuildFrom: 1, O: 1, scg_CanBuildFrom: 1 }); $c_scg_GenMapFactory$MapCanBuildFrom.prototype.$classData = $d_scg_GenMapFactory$MapCanBuildFrom; /** @constructor */ function $c_scg_GenSetFactory() { $c_scg_GenericCompanion.call(this) } $c_scg_GenSetFactory.prototype = new $h_scg_GenericCompanion(); $c_scg_GenSetFactory.prototype.constructor = $c_scg_GenSetFactory; /** @constructor */ function $h_scg_GenSetFactory() { /*<skip>*/ } $h_scg_GenSetFactory.prototype = $c_scg_GenSetFactory.prototype; /** @constructor */ function $c_scg_GenSetFactory$$anon$1() { $c_O.call(this); this.$$outer$1 = null } $c_scg_GenSetFactory$$anon$1.prototype = new $h_O(); $c_scg_GenSetFactory$$anon$1.prototype.constructor = $c_scg_GenSetFactory$$anon$1; /** @constructor */ function $h_scg_GenSetFactory$$anon$1() { /*<skip>*/ } $h_scg_GenSetFactory$$anon$1.prototype = $c_scg_GenSetFactory$$anon$1.prototype; $c_scg_GenSetFactory$$anon$1.prototype.apply__scm_Builder = (function() { return this.$$outer$1.newBuilder__scm_Builder() }); $c_scg_GenSetFactory$$anon$1.prototype.apply__O__scm_Builder = (function(from) { return this.apply__sc_GenSet__scm_Builder($as_sc_GenSet(from)) }); $c_scg_GenSetFactory$$anon$1.prototype.init___scg_GenSetFactory = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$1 = $$outer }; return this }); $c_scg_GenSetFactory$$anon$1.prototype.apply__sc_GenSet__scm_Builder = (function(from) { return this.$$outer$1.newBuilder__scm_Builder() }); var $d_scg_GenSetFactory$$anon$1 = new $TypeData().initClass({ scg_GenSetFactory$$anon$1: 0 }, false, "scala.collection.generic.GenSetFactory$$anon$1", { scg_GenSetFactory$$anon$1: 1, O: 1, scg_CanBuildFrom: 1 }); $c_scg_GenSetFactory$$anon$1.prototype.$classData = $d_scg_GenSetFactory$$anon$1; /** @constructor */ function $c_scg_GenTraversableFactory() { $c_scg_GenericCompanion.call(this); this.ReusableCBFInstance$2 = null } $c_scg_GenTraversableFactory.prototype = new $h_scg_GenericCompanion(); $c_scg_GenTraversableFactory.prototype.constructor = $c_scg_GenTraversableFactory; /** @constructor */ function $h_scg_GenTraversableFactory() { /*<skip>*/ } $h_scg_GenTraversableFactory.prototype = $c_scg_GenTraversableFactory.prototype; $c_scg_GenTraversableFactory.prototype.init___ = (function() { this.ReusableCBFInstance$2 = new $c_scg_GenTraversableFactory$$anon$1().init___scg_GenTraversableFactory(this); return this }); /** @constructor */ function $c_scg_GenTraversableFactory$GenericCanBuildFrom() { $c_O.call(this); this.$$outer$f = null } $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype = new $h_O(); $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype.constructor = $c_scg_GenTraversableFactory$GenericCanBuildFrom; /** @constructor */ function $h_scg_GenTraversableFactory$GenericCanBuildFrom() { /*<skip>*/ } $h_scg_GenTraversableFactory$GenericCanBuildFrom.prototype = $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype; $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype.apply__scm_Builder = (function() { return this.$$outer$f.newBuilder__scm_Builder() }); $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype.apply__O__scm_Builder = (function(from) { var from$1 = $as_sc_GenTraversable(from); return from$1.companion__scg_GenericCompanion().newBuilder__scm_Builder() }); $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype.init___scg_GenTraversableFactory = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; return this }); function $is_scg_GenTraversableFactory$GenericCanBuildFrom(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scg_GenTraversableFactory$GenericCanBuildFrom))) } function $as_scg_GenTraversableFactory$GenericCanBuildFrom(obj) { return (($is_scg_GenTraversableFactory$GenericCanBuildFrom(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.generic.GenTraversableFactory$GenericCanBuildFrom")) } function $isArrayOf_scg_GenTraversableFactory$GenericCanBuildFrom(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scg_GenTraversableFactory$GenericCanBuildFrom))) } function $asArrayOf_scg_GenTraversableFactory$GenericCanBuildFrom(obj, depth) { return (($isArrayOf_scg_GenTraversableFactory$GenericCanBuildFrom(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.generic.GenTraversableFactory$GenericCanBuildFrom;", depth)) } /** @constructor */ function $c_scg_MapFactory() { $c_scg_GenMapFactory.call(this) } $c_scg_MapFactory.prototype = new $h_scg_GenMapFactory(); $c_scg_MapFactory.prototype.constructor = $c_scg_MapFactory; /** @constructor */ function $h_scg_MapFactory() { /*<skip>*/ } $h_scg_MapFactory.prototype = $c_scg_MapFactory.prototype; /** @constructor */ function $c_sci_HashMap$$anon$2() { $c_sci_HashMap$Merger.call(this); this.invert$2 = null; this.mergef$1$f = null } $c_sci_HashMap$$anon$2.prototype = new $h_sci_HashMap$Merger(); $c_sci_HashMap$$anon$2.prototype.constructor = $c_sci_HashMap$$anon$2; /** @constructor */ function $h_sci_HashMap$$anon$2() { /*<skip>*/ } $h_sci_HashMap$$anon$2.prototype = $c_sci_HashMap$$anon$2.prototype; $c_sci_HashMap$$anon$2.prototype.init___F2 = (function(mergef$1) { this.mergef$1$f = mergef$1; this.invert$2 = new $c_sci_HashMap$$anon$2$$anon$3().init___sci_HashMap$$anon$2(this); return this }); $c_sci_HashMap$$anon$2.prototype.apply__T2__T2__T2 = (function(kv1, kv2) { return $as_T2(this.mergef$1$f.apply__O__O__O(kv1, kv2)) }); var $d_sci_HashMap$$anon$2 = new $TypeData().initClass({ sci_HashMap$$anon$2: 0 }, false, "scala.collection.immutable.HashMap$$anon$2", { sci_HashMap$$anon$2: 1, sci_HashMap$Merger: 1, O: 1 }); $c_sci_HashMap$$anon$2.prototype.$classData = $d_sci_HashMap$$anon$2; /** @constructor */ function $c_sci_HashMap$$anon$2$$anon$3() { $c_sci_HashMap$Merger.call(this); this.$$outer$2 = null } $c_sci_HashMap$$anon$2$$anon$3.prototype = new $h_sci_HashMap$Merger(); $c_sci_HashMap$$anon$2$$anon$3.prototype.constructor = $c_sci_HashMap$$anon$2$$anon$3; /** @constructor */ function $h_sci_HashMap$$anon$2$$anon$3() { /*<skip>*/ } $h_sci_HashMap$$anon$2$$anon$3.prototype = $c_sci_HashMap$$anon$2$$anon$3.prototype; $c_sci_HashMap$$anon$2$$anon$3.prototype.apply__T2__T2__T2 = (function(kv1, kv2) { return $as_T2(this.$$outer$2.mergef$1$f.apply__O__O__O(kv2, kv1)) }); $c_sci_HashMap$$anon$2$$anon$3.prototype.init___sci_HashMap$$anon$2 = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; return this }); var $d_sci_HashMap$$anon$2$$anon$3 = new $TypeData().initClass({ sci_HashMap$$anon$2$$anon$3: 0 }, false, "scala.collection.immutable.HashMap$$anon$2$$anon$3", { sci_HashMap$$anon$2$$anon$3: 1, sci_HashMap$Merger: 1, O: 1 }); $c_sci_HashMap$$anon$2$$anon$3.prototype.$classData = $d_sci_HashMap$$anon$2$$anon$3; /** @constructor */ function $c_sci_List$$anon$1() { $c_O.call(this) } $c_sci_List$$anon$1.prototype = new $h_O(); $c_sci_List$$anon$1.prototype.constructor = $c_sci_List$$anon$1; /** @constructor */ function $h_sci_List$$anon$1() { /*<skip>*/ } $h_sci_List$$anon$1.prototype = $c_sci_List$$anon$1.prototype; $c_sci_List$$anon$1.prototype.init___ = (function() { return this }); $c_sci_List$$anon$1.prototype.apply__O__O = (function(x) { return this }); $c_sci_List$$anon$1.prototype.toString__T = (function() { return "<function1>" }); $c_sci_List$$anon$1.prototype.apply$mcZI$sp__I__Z = (function(v1) { return $uZ(this) }); var $d_sci_List$$anon$1 = new $TypeData().initClass({ sci_List$$anon$1: 0 }, false, "scala.collection.immutable.List$$anon$1", { sci_List$$anon$1: 1, O: 1, F1: 1 }); $c_sci_List$$anon$1.prototype.$classData = $d_sci_List$$anon$1; function $is_scm_Builder(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_Builder))) } function $as_scm_Builder(obj) { return (($is_scm_Builder(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.Builder")) } function $isArrayOf_scm_Builder(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_Builder))) } function $asArrayOf_scm_Builder(obj, depth) { return (($isArrayOf_scm_Builder(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.Builder;", depth)) } /** @constructor */ function $c_sjs_js_$bar$EvidenceLowPrioImplicits() { $c_sjs_js_$bar$EvidenceLowestPrioImplicits.call(this) } $c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype = new $h_sjs_js_$bar$EvidenceLowestPrioImplicits(); $c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype.constructor = $c_sjs_js_$bar$EvidenceLowPrioImplicits; /** @constructor */ function $h_sjs_js_$bar$EvidenceLowPrioImplicits() { /*<skip>*/ } $h_sjs_js_$bar$EvidenceLowPrioImplicits.prototype = $c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype; $c_sjs_js_$bar$EvidenceLowPrioImplicits.prototype.left__sjs_js_$bar$Evidence__sjs_js_$bar$Evidence = (function(ev) { return $m_sjs_js_$bar$ReusableEvidence$() }); /** @constructor */ function $c_sjs_js_$bar$ReusableEvidence$() { $c_O.call(this) } $c_sjs_js_$bar$ReusableEvidence$.prototype = new $h_O(); $c_sjs_js_$bar$ReusableEvidence$.prototype.constructor = $c_sjs_js_$bar$ReusableEvidence$; /** @constructor */ function $h_sjs_js_$bar$ReusableEvidence$() { /*<skip>*/ } $h_sjs_js_$bar$ReusableEvidence$.prototype = $c_sjs_js_$bar$ReusableEvidence$.prototype; $c_sjs_js_$bar$ReusableEvidence$.prototype.init___ = (function() { return this }); var $d_sjs_js_$bar$ReusableEvidence$ = new $TypeData().initClass({ sjs_js_$bar$ReusableEvidence$: 0 }, false, "scala.scalajs.js.$bar$ReusableEvidence$", { sjs_js_$bar$ReusableEvidence$: 1, O: 1, sjs_js_$bar$Evidence: 1 }); $c_sjs_js_$bar$ReusableEvidence$.prototype.$classData = $d_sjs_js_$bar$ReusableEvidence$; var $n_sjs_js_$bar$ReusableEvidence$ = (void 0); function $m_sjs_js_$bar$ReusableEvidence$() { if ((!$n_sjs_js_$bar$ReusableEvidence$)) { $n_sjs_js_$bar$ReusableEvidence$ = new $c_sjs_js_$bar$ReusableEvidence$().init___() }; return $n_sjs_js_$bar$ReusableEvidence$ } /** @constructor */ function $c_sr_AbstractFunction0() { $c_O.call(this) } $c_sr_AbstractFunction0.prototype = new $h_O(); $c_sr_AbstractFunction0.prototype.constructor = $c_sr_AbstractFunction0; /** @constructor */ function $h_sr_AbstractFunction0() { /*<skip>*/ } $h_sr_AbstractFunction0.prototype = $c_sr_AbstractFunction0.prototype; $c_sr_AbstractFunction0.prototype.toString__T = (function() { return "<function0>" }); /** @constructor */ function $c_sr_AbstractFunction1() { $c_O.call(this) } $c_sr_AbstractFunction1.prototype = new $h_O(); $c_sr_AbstractFunction1.prototype.constructor = $c_sr_AbstractFunction1; /** @constructor */ function $h_sr_AbstractFunction1() { /*<skip>*/ } $h_sr_AbstractFunction1.prototype = $c_sr_AbstractFunction1.prototype; $c_sr_AbstractFunction1.prototype.toString__T = (function() { return "<function1>" }); $c_sr_AbstractFunction1.prototype.apply$mcZI$sp__I__Z = (function(v1) { return $uZ(this.apply__O__O(v1)) }); /** @constructor */ function $c_sr_AbstractFunction2() { $c_O.call(this) } $c_sr_AbstractFunction2.prototype = new $h_O(); $c_sr_AbstractFunction2.prototype.constructor = $c_sr_AbstractFunction2; /** @constructor */ function $h_sr_AbstractFunction2() { /*<skip>*/ } $h_sr_AbstractFunction2.prototype = $c_sr_AbstractFunction2.prototype; $c_sr_AbstractFunction2.prototype.toString__T = (function() { return "<function2>" }); /** @constructor */ function $c_sr_AbstractFunction4() { $c_O.call(this) } $c_sr_AbstractFunction4.prototype = new $h_O(); $c_sr_AbstractFunction4.prototype.constructor = $c_sr_AbstractFunction4; /** @constructor */ function $h_sr_AbstractFunction4() { /*<skip>*/ } $h_sr_AbstractFunction4.prototype = $c_sr_AbstractFunction4.prototype; $c_sr_AbstractFunction4.prototype.toString__T = (function() { return "<function4>" }); /** @constructor */ function $c_sr_AbstractFunction5() { $c_O.call(this) } $c_sr_AbstractFunction5.prototype = new $h_O(); $c_sr_AbstractFunction5.prototype.constructor = $c_sr_AbstractFunction5; /** @constructor */ function $h_sr_AbstractFunction5() { /*<skip>*/ } $h_sr_AbstractFunction5.prototype = $c_sr_AbstractFunction5.prototype; /** @constructor */ function $c_sr_BooleanRef() { $c_O.call(this); this.elem$1 = false } $c_sr_BooleanRef.prototype = new $h_O(); $c_sr_BooleanRef.prototype.constructor = $c_sr_BooleanRef; /** @constructor */ function $h_sr_BooleanRef() { /*<skip>*/ } $h_sr_BooleanRef.prototype = $c_sr_BooleanRef.prototype; $c_sr_BooleanRef.prototype.toString__T = (function() { var value = this.elem$1; return ("" + value) }); $c_sr_BooleanRef.prototype.init___Z = (function(elem) { this.elem$1 = elem; return this }); var $d_sr_BooleanRef = new $TypeData().initClass({ sr_BooleanRef: 0 }, false, "scala.runtime.BooleanRef", { sr_BooleanRef: 1, O: 1, Ljava_io_Serializable: 1 }); $c_sr_BooleanRef.prototype.$classData = $d_sr_BooleanRef; function $isArrayOf_sr_BoxedUnit(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sr_BoxedUnit))) } function $asArrayOf_sr_BoxedUnit(obj, depth) { return (($isArrayOf_sr_BoxedUnit(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.runtime.BoxedUnit;", depth)) } var $d_sr_BoxedUnit = new $TypeData().initClass({ sr_BoxedUnit: 0 }, false, "scala.runtime.BoxedUnit", { sr_BoxedUnit: 1, O: 1, Ljava_io_Serializable: 1 }, (void 0), (void 0), (function(x) { return (x === (void 0)) })); /** @constructor */ function $c_sr_IntRef() { $c_O.call(this); this.elem$1 = 0 } $c_sr_IntRef.prototype = new $h_O(); $c_sr_IntRef.prototype.constructor = $c_sr_IntRef; /** @constructor */ function $h_sr_IntRef() { /*<skip>*/ } $h_sr_IntRef.prototype = $c_sr_IntRef.prototype; $c_sr_IntRef.prototype.toString__T = (function() { var value = this.elem$1; return ("" + value) }); $c_sr_IntRef.prototype.init___I = (function(elem) { this.elem$1 = elem; return this }); var $d_sr_IntRef = new $TypeData().initClass({ sr_IntRef: 0 }, false, "scala.runtime.IntRef", { sr_IntRef: 1, O: 1, Ljava_io_Serializable: 1 }); $c_sr_IntRef.prototype.$classData = $d_sr_IntRef; /** @constructor */ function $c_sr_ObjectRef() { $c_O.call(this); this.elem$1 = null } $c_sr_ObjectRef.prototype = new $h_O(); $c_sr_ObjectRef.prototype.constructor = $c_sr_ObjectRef; /** @constructor */ function $h_sr_ObjectRef() { /*<skip>*/ } $h_sr_ObjectRef.prototype = $c_sr_ObjectRef.prototype; $c_sr_ObjectRef.prototype.toString__T = (function() { return $m_sjsr_RuntimeString$().valueOf__O__T(this.elem$1) }); $c_sr_ObjectRef.prototype.init___O = (function(elem) { this.elem$1 = elem; return this }); var $d_sr_ObjectRef = new $TypeData().initClass({ sr_ObjectRef: 0 }, false, "scala.runtime.ObjectRef", { sr_ObjectRef: 1, O: 1, Ljava_io_Serializable: 1 }); $c_sr_ObjectRef.prototype.$classData = $d_sr_ObjectRef; /** @constructor */ function $c_sr_VolatileByteRef() { $c_O.call(this); this.elem$1 = 0 } $c_sr_VolatileByteRef.prototype = new $h_O(); $c_sr_VolatileByteRef.prototype.constructor = $c_sr_VolatileByteRef; /** @constructor */ function $h_sr_VolatileByteRef() { /*<skip>*/ } $h_sr_VolatileByteRef.prototype = $c_sr_VolatileByteRef.prototype; $c_sr_VolatileByteRef.prototype.toString__T = (function() { var value = this.elem$1; return ("" + value) }); $c_sr_VolatileByteRef.prototype.init___B = (function(elem) { this.elem$1 = elem; return this }); var $d_sr_VolatileByteRef = new $TypeData().initClass({ sr_VolatileByteRef: 0 }, false, "scala.runtime.VolatileByteRef", { sr_VolatileByteRef: 1, O: 1, Ljava_io_Serializable: 1 }); $c_sr_VolatileByteRef.prototype.$classData = $d_sr_VolatileByteRef; /** @constructor */ function $c_Lhypersubs_Player() { $c_O.call(this); this.shirtNumber$1 = 0; this.name$1 = null; this.position$1 = null; this.club$1 = null; this.opponentOfClub$1 = null; this.isAtHome$1 = false; this.status$1 = null; this.opposition$1 = null; this.statusDetails$1 = null } $c_Lhypersubs_Player.prototype = new $h_O(); $c_Lhypersubs_Player.prototype.constructor = $c_Lhypersubs_Player; /** @constructor */ function $h_Lhypersubs_Player() { /*<skip>*/ } $h_Lhypersubs_Player.prototype = $c_Lhypersubs_Player.prototype; $c_Lhypersubs_Player.prototype.isA__Lhypersubs_Position__Z = (function(position) { var x = this.position$1; return (x === position) }); $c_Lhypersubs_Player.prototype.fullHTML__T = (function() { var nameDiv = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div class='name'>", "</div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.name$1])); var this$1 = $m_Lhypersubs_Club$().shirtPics$1; var key = this.club$1; var x1 = this$1.get__O__s_Option(key); if ($is_s_Some(x1)) { var x2 = $as_s_Some(x1); var v = x2.x$2; var jsx$1 = v } else { var x = $m_s_None$(); if ((x === x1)) { var jsx$1 = "missing-shirt-pic-will-not-load" } else { var jsx$1; throw new $c_s_MatchError().init___O(x1) } }; var shirt = $as_T(jsx$1); var shirtPicDiv = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div class='shirtPic club-medium club-medium-", "", "'></div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([shirt, (this.isA__Lhypersubs_Position__Z($m_Lhypersubs_GK$()) ? "-gk" : "")])); var clubAndPosDiv = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div class='club-and-pos'>", " for ", "</div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.position$1.fullName$1, this.club$1])); var homeToOrAwayAt = (this.isAtHome$1 ? "at home to " : "away at "); var x1$1 = this.opponentOfClub$1; var x$1 = $m_Lhypersubs_NoOpponent$(); if ((x$1 === x1$1)) { var opponentDescr = "no game in this set of fixtures" } else if ($is_Lhypersubs_Opponent(x1$1)) { var x2$1 = $as_Lhypersubs_Opponent(x1$1); var opposingClub = x2$1.club$2; var opponentDescr = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["game ", "", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([homeToOrAwayAt, opposingClub])) } else { var opponentDescr; throw new $c_s_MatchError().init___O(x1$1) }; var opponentDiv = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div class='opponent'>", "</div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([opponentDescr])); var x$3 = this.status$1; var x$4 = $m_Lhypersubs_ReadyToPlay$(); if ((((x$3 !== null) && (x$3 === x$4)) || (!this.opponentOfClub$1.exists$1))) { var statusDescr = $m_s_None$() } else { var statusDescr = new $c_s_Some().init___O((("" + this.status$1.description$1) + this.statusDetails$1)) }; if (statusDescr.isEmpty__Z()) { var this$2 = $m_s_None$() } else { var arg1 = statusDescr.get__O(); var descr = $as_T(arg1); var this$2 = new $c_s_Some().init___O(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div class='status'>", "</div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([descr]))) }; var statusDiv = $as_T((this$2.isEmpty__Z() ? "" : this$2.get__O())); return ((((("" + nameDiv) + shirtPicDiv) + clubAndPosDiv) + opponentDiv) + statusDiv) }); $c_Lhypersubs_Player.prototype.toString__T = (function() { var warning = (this.isSafe__Z() ? "" : " DANGER!"); var jsx$1 = $m_s_Predef$any2stringadd$(); var self = this.opposition$1; var opponentInfo = jsx$1.$$plus$extension__O__T__T(self, (this.opposition$1.exists$1 ? new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([" (", ")", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.status$1, warning])) : "")); return new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["", "(", " ", ")", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.name$1, this.club$1, this.position$1, opponentInfo])) }); $c_Lhypersubs_Player.prototype.compareTo__O__I = (function(that) { return this.compare__Lhypersubs_Player__I($as_Lhypersubs_Player(that)) }); $c_Lhypersubs_Player.prototype.isProbablySafeAnyway__Z = (function() { var x = this.status$1; var x$2 = $m_Lhypersubs_Ineligible$(); if (((x !== null) && (x === x$2))) { return true } else { return (this.status$1.likelihoodToPlay$1 <= $m_Lhypersubs_Injured$().likelihoodToPlay$1) } }); $c_Lhypersubs_Player.prototype.isSafe__Z = (function() { return (this.position$1.isSafe$1 || this.club$1.isSafeDefendingAgainst__Lhypersubs_Opposition__Z(this.opposition$1)) }); $c_Lhypersubs_Player.prototype.init___I__T__Lhypersubs_Position__Lhypersubs_Club__Lhypersubs_Opposition__Z__Lhypersubs_Status__T = (function(shirtNumber, name, position, club, opponentOfClub, isAtHome, status, statusDetailsRaw) { this.shirtNumber$1 = shirtNumber; this.name$1 = name; this.position$1 = position; this.club$1 = club; this.opponentOfClub$1 = opponentOfClub; this.isAtHome$1 = isAtHome; this.status$1 = status; var x$2 = $m_Lhypersubs_Ineligible$(); this.opposition$1 = (((status !== null) && (status === x$2)) ? $m_Lhypersubs_NoOpponent$() : opponentOfClub); var x$4 = $m_Lhypersubs_Injured$(); if ((!((status !== null) && (status === x$4)))) { var x$6 = $m_Lhypersubs_LateFitnessTest$(); var jsx$3 = (!((status !== null) && (status === x$6))) } else { var jsx$3 = false }; if (jsx$3) { var x$8 = $m_Lhypersubs_Doubtful$(); var jsx$2 = (!((status !== null) && (status === x$8))) } else { var jsx$2 = false }; if (jsx$2) { var jsx$1 = "" } else { if ((statusDetailsRaw === null)) { var jsx$4; throw new $c_jl_NullPointerException().init___() } else { var jsx$4 = statusDetailsRaw }; if ((jsx$4 === "")) { var jsx$1 = "" } else { var jsx$1 = (": " + statusDetailsRaw) } }; this.statusDetails$1 = jsx$1; return this }); $c_Lhypersubs_Player.prototype.compare__Lhypersubs_Player__I = (function(another) { var zDiff = (((this.name$1 === "Zlatan Ibrahimovic") && (another.name$1 !== "Zlatan Ibrahimovic")) ? (-1) : (((this.name$1 !== "Zlatan Ibrahimovic") && (another.name$1 === "Zlatan Ibrahimovic")) ? 1 : 0)); var posDiff = this.position$1.compare__Lhypersubs_Position__I(another.position$1); var nameDiff = $m_Lhypersubs_package$().compareStrings__T__T__I(this.name$1, another.name$1); var this$1 = this.club$1; var another$1 = another.club$1; var clubDiff = $m_Lhypersubs_package$().compareStrings__T__T__I(this$1.name$1, another$1.name$1); return ((zDiff !== 0) ? zDiff : ((posDiff !== 0) ? posDiff : ((nameDiff !== 0) ? nameDiff : clubDiff))) }); $c_Lhypersubs_Player.prototype.isLikelyActive__Z = (function() { return (this.opposition$1.exists$1 && (!this.status$1.countsAsInactive$1)) }); function $is_Lhypersubs_Player(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_Player))) } function $as_Lhypersubs_Player(obj) { return (($is_Lhypersubs_Player(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.Player")) } function $isArrayOf_Lhypersubs_Player(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_Player))) } function $asArrayOf_Lhypersubs_Player(obj, depth) { return (($isArrayOf_Lhypersubs_Player(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.Player;", depth)) } var $d_Lhypersubs_Player = new $TypeData().initClass({ Lhypersubs_Player: 0 }, false, "hypersubs.Player", { Lhypersubs_Player: 1, O: 1, s_math_Ordered: 1, jl_Comparable: 1 }); $c_Lhypersubs_Player.prototype.$classData = $d_Lhypersubs_Player; /** @constructor */ function $c_Lhypersubs_gui_CancelConfirmationDialog() { $c_Lhypersubs_gui_SecondaryDialog.call(this); this.reallyExit$3 = false } $c_Lhypersubs_gui_CancelConfirmationDialog.prototype = new $h_Lhypersubs_gui_SecondaryDialog(); $c_Lhypersubs_gui_CancelConfirmationDialog.prototype.constructor = $c_Lhypersubs_gui_CancelConfirmationDialog; /** @constructor */ function $h_Lhypersubs_gui_CancelConfirmationDialog() { /*<skip>*/ } $h_Lhypersubs_gui_CancelConfirmationDialog.prototype = $c_Lhypersubs_gui_CancelConfirmationDialog.prototype; $c_Lhypersubs_gui_CancelConfirmationDialog.prototype.init___Lhypersubs_gui_MainDialog = (function(parent) { $c_Lhypersubs_gui_SecondaryDialog.prototype.init___Lhypersubs_gui_MainDialog__T__sjs_js_Object.call(this, parent, "#hypersubs-confirmation-dialog", $m_Lhypersubs_gui_CancelConfirmationDialog$Options$()); this.reallyExit$3 = false; this.parent$2.div$1.bind("dialogbeforeclose", (function(f) { return (function(arg1) { return f.apply__O__O__O(this, arg1) }) })(new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function(arg$outer) { return (function(mainDialog$2, closeEvent$2) { return arg$outer.hypersubs$gui$CancelConfirmationDialog$$exitOrRequestConfirmation__Lorg_scalajs_dom_raw_Element__Lorg_scalajs_dom_raw_Event__Z(mainDialog$2, closeEvent$2) }) })(this)))); return this }); $c_Lhypersubs_gui_CancelConfirmationDialog.prototype.hypersubs$gui$CancelConfirmationDialog$$exitOrRequestConfirmation__Lorg_scalajs_dom_raw_Element__Lorg_scalajs_dom_raw_Event__Z = (function(mainDialog, closeEvent) { return (this.reallyExit$3 || (this.open__Lorg_querki_jquery_JQuery(), false)) }); $c_Lhypersubs_gui_CancelConfirmationDialog.prototype.buttonConfig__sci_Map = (function() { var self = $m_Lhypersubs_gui_CancelConfirmationDialog$().YesText$1; var y = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0("", $m_s_None$(), "right", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer) { return (function() { arg$outer.reallyExit$3 = true; arg$outer.close__Lorg_querki_jquery_JQuery(); arg$outer.parent$2.close__Lorg_querki_jquery_JQuery() }) })(this))); var jsx$1 = new $c_T2().init___O__O(self, y); var self$1 = $m_Lhypersubs_gui_CancelConfirmationDialog$().NoText$1; var y$1 = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0("", $m_s_None$(), "right", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer$1) { return (function() { arg$outer$1.close__Lorg_querki_jquery_JQuery() }) })(this))); var array = [jsx$1, new $c_T2().init___O__O(self$1, y$1)]; var this$6 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$6.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; return $as_sci_Map(this$6.elems$1) }); var $d_Lhypersubs_gui_CancelConfirmationDialog = new $TypeData().initClass({ Lhypersubs_gui_CancelConfirmationDialog: 0 }, false, "hypersubs.gui.CancelConfirmationDialog", { Lhypersubs_gui_CancelConfirmationDialog: 1, Lhypersubs_gui_SecondaryDialog: 1, Lhypersubs_gui_package$HSubsDialog: 1, O: 1 }); $c_Lhypersubs_gui_CancelConfirmationDialog.prototype.$classData = $d_Lhypersubs_gui_CancelConfirmationDialog; $e.hypersubs = ($e.hypersubs || {}); $e.hypersubs.gui = ($e.hypersubs.gui || {}); /** @constructor */ $e.hypersubs.gui.CancelConfirmationDialog = (function(arg$1) { var $thiz = new $c_Lhypersubs_gui_CancelConfirmationDialog(); var prep0 = $as_Lhypersubs_gui_MainDialog(arg$1); $c_Lhypersubs_gui_CancelConfirmationDialog.prototype.init___Lhypersubs_gui_MainDialog.call($thiz, prep0); return $thiz }); $e.hypersubs.gui.CancelConfirmationDialog.prototype = $c_Lhypersubs_gui_CancelConfirmationDialog.prototype; /** @constructor */ function $c_Lhypersubs_gui_HelpDialog() { $c_Lhypersubs_gui_SecondaryDialog.call(this) } $c_Lhypersubs_gui_HelpDialog.prototype = new $h_Lhypersubs_gui_SecondaryDialog(); $c_Lhypersubs_gui_HelpDialog.prototype.constructor = $c_Lhypersubs_gui_HelpDialog; /** @constructor */ function $h_Lhypersubs_gui_HelpDialog() { /*<skip>*/ } $h_Lhypersubs_gui_HelpDialog.prototype = $c_Lhypersubs_gui_HelpDialog.prototype; $c_Lhypersubs_gui_HelpDialog.prototype.init___Lhypersubs_gui_MainDialog = (function(parent) { $c_Lhypersubs_gui_SecondaryDialog.prototype.init___Lhypersubs_gui_MainDialog__T__sjs_js_Object.call(this, parent, "#hypersubs-help-dialog", $m_Lhypersubs_gui_HelpDialog$Options$()); return this }); $c_Lhypersubs_gui_HelpDialog.prototype.buttonConfig__sci_Map = (function() { var self = $m_Lhypersubs_gui_HelpDialog$().CloseText$1; var y = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0("", $m_s_None$(), "right", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer) { return (function() { arg$outer.close__Lorg_querki_jquery_JQuery() }) })(this))); var array = [new $c_T2().init___O__O(self, y)]; var this$4 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$4.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; return $as_sci_Map(this$4.elems$1) }); var $d_Lhypersubs_gui_HelpDialog = new $TypeData().initClass({ Lhypersubs_gui_HelpDialog: 0 }, false, "hypersubs.gui.HelpDialog", { Lhypersubs_gui_HelpDialog: 1, Lhypersubs_gui_SecondaryDialog: 1, Lhypersubs_gui_package$HSubsDialog: 1, O: 1 }); $c_Lhypersubs_gui_HelpDialog.prototype.$classData = $d_Lhypersubs_gui_HelpDialog; /** @constructor */ function $c_Lhypersubs_gui_NameBoxMetrics$() { $c_O.call(this); this.NameMaxWidth$1 = 0; this.ZlatanMaxWidth$1 = 0; this.NameMaxHeight$1 = 0; this.Cache$1 = null; this.MaxPlayerNameFontSize$1 = 0; this.MinPlayerNameFontSize$1 = 0 } $c_Lhypersubs_gui_NameBoxMetrics$.prototype = new $h_O(); $c_Lhypersubs_gui_NameBoxMetrics$.prototype.constructor = $c_Lhypersubs_gui_NameBoxMetrics$; /** @constructor */ function $h_Lhypersubs_gui_NameBoxMetrics$() { /*<skip>*/ } $h_Lhypersubs_gui_NameBoxMetrics$.prototype = $c_Lhypersubs_gui_NameBoxMetrics$.prototype; $c_Lhypersubs_gui_NameBoxMetrics$.prototype.getForName__T__I__I__Lhypersubs_gui_NameBoxMetrics = (function(fullNameRaw, defaultFontSize, minFontSize) { var elem$1 = null; elem$1 = null; var elem$1$1 = null; elem$1$1 = null; var elem$1$2 = 0; elem$1$2 = 0; var fullName = $m_sjsr_RuntimeString$().replaceAll__T__T__T__T(fullNameRaw, "#*", ""); var isZlatan = ($m_Lhypersubs_Preferences$().massageZlatansEgo__Z() && (fullName === "Zlatan Ibrahimovic")); var usedName = (isZlatan ? "ZLATAN" : fullName); var id = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["", "#", "#", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([usedName, defaultFontSize, minFontSize])); var this$4 = this.Cache$1; var x1 = this$4.get__O__s_Option(id); if ($is_s_Some(x1)) { var x2 = $as_s_Some(x1); var v = x2.x$2; var jsx$1 = v } else { var x = $m_s_None$(); if ((x === x1)) { $m_Lhypersubs_gui_NameBoxMetrics$(); if (((2 & elem$1$2) === 0)) { if (((2 & elem$1$2) === 0)) { if (((1 & elem$1$2) === 0)) { if (((1 & elem$1$2) === 0)) { elem$1 = new $c_Lhypersubs_gui_NameBoxMetrics$Squeeze().init___Lhypersubs_gui_SqueezableName__I__I__I__Z($m_Lhypersubs_gui_SqueezableName$().fromString__T__Lhypersubs_gui_SqueezableName(usedName), (isZlatan ? ((2 + defaultFontSize) | 0) : defaultFontSize), minFontSize, defaultFontSize, isZlatan).improve__Lhypersubs_gui_NameBoxMetrics$Squeeze(); elem$1$2 = (1 | elem$1$2) }; var jsx$8 = $as_Lhypersubs_gui_NameBoxMetrics$Squeeze(elem$1) } else { var jsx$8 = $as_Lhypersubs_gui_NameBoxMetrics$Squeeze(elem$1) }; var jsx$7 = jsx$8.name$1.fullNameString__T(); if (((1 & elem$1$2) === 0)) { if (((1 & elem$1$2) === 0)) { elem$1 = new $c_Lhypersubs_gui_NameBoxMetrics$Squeeze().init___Lhypersubs_gui_SqueezableName__I__I__I__Z($m_Lhypersubs_gui_SqueezableName$().fromString__T__Lhypersubs_gui_SqueezableName(usedName), (isZlatan ? ((2 + defaultFontSize) | 0) : defaultFontSize), minFontSize, defaultFontSize, isZlatan).improve__Lhypersubs_gui_NameBoxMetrics$Squeeze(); elem$1$2 = (1 | elem$1$2) }; var jsx$6 = $as_Lhypersubs_gui_NameBoxMetrics$Squeeze(elem$1) } else { var jsx$6 = $as_Lhypersubs_gui_NameBoxMetrics$Squeeze(elem$1) }; var jsx$5 = jsx$6.fontSize$1; if (((1 & elem$1$2) === 0)) { if (((1 & elem$1$2) === 0)) { elem$1 = new $c_Lhypersubs_gui_NameBoxMetrics$Squeeze().init___Lhypersubs_gui_SqueezableName__I__I__I__Z($m_Lhypersubs_gui_SqueezableName$().fromString__T__Lhypersubs_gui_SqueezableName(usedName), (isZlatan ? ((2 + defaultFontSize) | 0) : defaultFontSize), minFontSize, defaultFontSize, isZlatan).improve__Lhypersubs_gui_NameBoxMetrics$Squeeze(); elem$1$2 = (1 | elem$1$2) }; var jsx$4 = $as_Lhypersubs_gui_NameBoxMetrics$Squeeze(elem$1) } else { var jsx$4 = $as_Lhypersubs_gui_NameBoxMetrics$Squeeze(elem$1) }; var jsx$3 = jsx$4.height__I__D(0); if (((1 & elem$1$2) === 0)) { if (((1 & elem$1$2) === 0)) { elem$1 = new $c_Lhypersubs_gui_NameBoxMetrics$Squeeze().init___Lhypersubs_gui_SqueezableName__I__I__I__Z($m_Lhypersubs_gui_SqueezableName$().fromString__T__Lhypersubs_gui_SqueezableName(usedName), (isZlatan ? ((2 + defaultFontSize) | 0) : defaultFontSize), minFontSize, defaultFontSize, isZlatan).improve__Lhypersubs_gui_NameBoxMetrics$Squeeze(); elem$1$2 = (1 | elem$1$2) }; var jsx$2 = $as_Lhypersubs_gui_NameBoxMetrics$Squeeze(elem$1) } else { var jsx$2 = $as_Lhypersubs_gui_NameBoxMetrics$Squeeze(elem$1) }; elem$1$1 = new $c_Lhypersubs_gui_NameBoxMetrics().init___T__I__D__T(jsx$7, jsx$5, jsx$3, jsx$2.fontWeight__T()); elem$1$2 = (2 | elem$1$2) }; var d = $as_Lhypersubs_gui_NameBoxMetrics(elem$1$1) } else { var d = $as_Lhypersubs_gui_NameBoxMetrics(elem$1$1) }; this$4.update__O__O__V(id, d); var jsx$1 = d } else { var jsx$1; throw new $c_s_MatchError().init___O(x1) } }; return $as_Lhypersubs_gui_NameBoxMetrics(jsx$1) }); $c_Lhypersubs_gui_NameBoxMetrics$.prototype.init___ = (function() { $n_Lhypersubs_gui_NameBoxMetrics$ = this; this.NameMaxWidth$1 = 62; this.ZlatanMaxWidth$1 = 67; this.NameMaxHeight$1 = 36; this.Cache$1 = $as_scm_Map($m_scm_Map$().apply__sc_Seq__sc_GenMap($m_sci_Nil$())); this.MaxPlayerNameFontSize$1 = 14; this.MinPlayerNameFontSize$1 = 9; return this }); var $d_Lhypersubs_gui_NameBoxMetrics$ = new $TypeData().initClass({ Lhypersubs_gui_NameBoxMetrics$: 0 }, false, "hypersubs.gui.NameBoxMetrics$", { Lhypersubs_gui_NameBoxMetrics$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_NameBoxMetrics$.prototype.$classData = $d_Lhypersubs_gui_NameBoxMetrics$; var $n_Lhypersubs_gui_NameBoxMetrics$ = (void 0); function $m_Lhypersubs_gui_NameBoxMetrics$() { if ((!$n_Lhypersubs_gui_NameBoxMetrics$)) { $n_Lhypersubs_gui_NameBoxMetrics$ = new $c_Lhypersubs_gui_NameBoxMetrics$().init___() }; return $n_Lhypersubs_gui_NameBoxMetrics$ } function $s_Lhypersubs_gui_PlayerCirclePrototype__hypersubs$gui$PlayerCirclePrototype$$teleport__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_hsubs_package$MatchdayRole__Lhypersubs_package$Coords__Lorg_querki_jquery_JQuery($this, destination, newCoords) { if (destination.isInLimbo__Z()) { var jsx$1 = $m_Lorg_querki_jquery_package$().$$$1; var a = (("#hypersubs-squad .hypersubs-selector[position='" + destination.position$1.name$1) + "']"); var parentElement = jsx$1(a) } else { var parentElement = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-content") }; var circleDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element); var a$1 = (newCoords.x$1 + "px"); circleDiv.css("left", a$1); var a$2 = (newCoords.y$1 + "px"); circleDiv.css("top", a$2); return parentElement.append(circleDiv) } function $s_Lhypersubs_gui_PlayerCirclePrototype__setInfo__p2__Lhypersubs_gui_PlayerCirclePrototype__V($this) { var this$2 = ($m_Lhypersubs_gui_PlayerCircle$(), new $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle().init___sjs_js_Object($this)).player__s_Option(); if ((!this$2.isEmpty__Z())) { var arg1 = this$2.get__O(); var p = $as_Lhypersubs_Player(arg1); var this$3 = $m_Lhypersubs_gui_NameBoxMetrics$(); var fullName = p.name$1; var metrics = this$3.getForName__T__I__I__Lhypersubs_gui_NameBoxMetrics(fullName, this$3.MaxPlayerNameFontSize$1, this$3.MinPlayerNameFontSize$1); var nameHeight = (2 + metrics.height$1); var nameDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element).find(".name"); var a = (metrics.fontSize$1 + "px"); nameDiv.css("font-size", a); var a$1 = (metrics.fontSize$1 + "px"); nameDiv.css("line-height", a$1); var a$2 = (nameHeight + "px"); nameDiv.css("height", a$2); var a$3 = ((-(nameHeight / 2)) + "px"); nameDiv.css("margin-top", a$3); var a$4 = metrics.fontWeight$1; nameDiv.css("font-weight", a$4); nameDiv.css("color", ((metrics.fontWeight$1 === "bold") ? "#CC3333" : "black")); nameDiv.css("transform", ((metrics.fontWeight$1 === "bold") ? "rotate(-8deg)" : "none")); nameDiv.css("-webkit-transform", ((metrics.fontWeight$1 === "bold") ? "rotate(-8deg)" : "none")); nameDiv.html(metrics.possiblySqueezedName$1); (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element).find(".club").html(p.club$1.name$1); (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element).find(".position").html(p.position$1.name$1); (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element).find(".lowerBit").html(p.opposition$1.toHTML__Z__T(p.isAtHome$1)); var x = p.status$1; var x$2 = $m_Lhypersubs_UnknownPlayerStatus$(); if (((x !== null) && (x === x$2))) { var jsx$1 = true } else { var x$3 = p.status$1; var x$4 = $m_Lhypersubs_ReadyToPlay$(); var jsx$1 = ((x$3 !== null) && (x$3 === x$4)) }; if (jsx$1) { (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element).find(".status").css("display", "none") } else { (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element).find(".status").css("display", "block"); var jsx$2 = (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element).find(".status"); var a$5 = $m_Lhypersubs_gui_package$InjuryIcons$().Offset$1.apply__O__O(p.status$1); jsx$2.css("background-position", a$5) } } } function $s_Lhypersubs_gui_PlayerCirclePrototype__hypersubs$gui$PlayerCirclePrototype$$slide__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_hsubs_package$MatchdayRole__Lhypersubs_package$Coords__Lorg_querki_jquery_JQuery($this, earlierRole, newCoords) { var circleDiv = (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element); var parent = (0, $m_Lorg_querki_jquery_package$().$$$1)("#hypersubs-content"); if (earlierRole.isInLimbo__Z()) { var evidence$1 = $m_Lhypersubs_gui_SquadShape$CoordsOfRole$(); var baseCoords = new $c_Lhypersubs_gui_SquadShape$AddDetermineCoords().init___O__Lhypersubs_gui_SquadShape$CoordProperty(earlierRole, evidence$1).coords__Z__Lhypersubs_package$Coords(true); var a = baseCoords.y$1; var b = ((-2.0) + ($uD(parent.height()) - $uD(circleDiv.height()))); var x$6 = $uD($g.Math.min(a, b)); var x$7 = baseCoords.x$1; var animStartCoords = new $c_Lhypersubs_package$Coords().init___D__D(x$7, x$6); var a$1 = (animStartCoords.x$1 + "px"); circleDiv.css("left", a$1); var a$2 = (animStartCoords.y$1 + "px"); circleDiv.css("top", a$2) }; parent.append(circleDiv); var delay = (earlierRole.isInLimbo__Z() ? 0 : 300); var a$3 = $m_Lhypersubs_gui_package$Z$().AnimatedPlayer$1; circleDiv.css("z-index", a$3); var jsx$4 = circleDiv.delay(delay); var jsx$3 = $m_sjs_js_Dictionary$(); var s = (newCoords.x$1 + "px"); var jsx$2 = new $c_T2().init___O__O("left", s); var s$1 = (newCoords.y$1 + "px"); var jsx$1 = jsx$3.apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([jsx$2, new $c_T2().init___O__O("top", s$1)])); var a$4 = (400 * $uD($g.Math.random())); var a$5 = (700 + $uD($g.Math.floor(a$4))); return jsx$4.animate(jsx$1, a$5, "swing", (function(f) { return (function() { return f.apply__O__O(this) }) })(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(thiz$2) { var jsx$5 = (0, $m_Lorg_querki_jquery_package$().$$$1)(thiz$2); var a$6 = $m_Lhypersubs_gui_package$Z$().StaticPlayer$1; return jsx$5.css("z-index", a$6) })))) } function $s_Lhypersubs_gui_PlayerCirclePrototype__setPlayer__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_Player__Lorg_querki_jquery_JQuery($this, newPlayer) { var value = (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $this).element).attr("id"); if ((value === (void 0))) { var jsx$1; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$1 = value }; $this.circleID = $as_T(jsx$1); ($m_Lhypersubs_gui_PlayerCircle$(), new $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle().init___sjs_js_Object($this)).setOptions__s_Option__s_Option__V(new $c_s_Some().init___O(newPlayer), $m_s_None$()); return $this.refresh() } function $s_Lhypersubs_gui_PlayerCirclePrototype__refresh__Lhypersubs_gui_PlayerCirclePrototype__Lorg_querki_jquery_JQuery($this) { $s_Lhypersubs_gui_PlayerCirclePrototype__setInfo__p2__Lhypersubs_gui_PlayerCirclePrototype__V($this); var color = $s_Lhypersubs_gui_PlayerCirclePrototype__determineColor__p2__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_gui_PlayerBox$Colors($this); ($m_Lhypersubs_gui_PlayerCircle$(), new $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle().init___sjs_js_Object($this)).setOptions__s_Option__s_Option__V(($m_Lhypersubs_gui_PlayerCircle$(), new $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle().init___sjs_js_Object($this)).player__s_Option(), new $c_s_Some().init___O(color.reasonDiv__T())); return color.applyToDiv__Lorg_scalajs_dom_raw_Element__Lorg_querki_jquery_JQuery(($m_Lhypersubs_gui_PlayerCircle$(), $this).element) } function $s_Lhypersubs_gui_PlayerCirclePrototype__move__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_gui_PlayerBox$Transition__Lhypersubs_hsubs_Selection__V($this, transition, newSelection) { var this$2 = ($m_Lhypersubs_gui_PlayerCircle$(), new $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle().init___sjs_js_Object($this)).player__s_Option(); if (($this === null)) { var $$outer$2; throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { var $$outer$2 = $this }; if ((!this$2.isEmpty__Z())) { var v1 = this$2.get__O(); var player = $as_Lhypersubs_Player(v1); var destination = $as_Lhypersubs_hsubs_package$MatchdayRole(newSelection.roleOf$1.apply__O__O(player)); var evidence$1 = $m_Lhypersubs_gui_SquadShape$CoordsOfRole$(); var newCoords = new $c_Lhypersubs_gui_SquadShape$AddDetermineCoords().init___O__Lhypersubs_gui_SquadShape$CoordProperty(destination, evidence$1).coords__Z__Lhypersubs_package$Coords(false); var x = $m_Lhypersubs_gui_PlayerBox$Instant$(); if ((x === transition)) { $s_Lhypersubs_gui_PlayerCirclePrototype__hypersubs$gui$PlayerCirclePrototype$$teleport__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_hsubs_package$MatchdayRole__Lhypersubs_package$Coords__Lorg_querki_jquery_JQuery($$outer$2, destination, newCoords) } else if ($is_Lhypersubs_gui_PlayerBox$Smooth(transition)) { var x2 = $as_Lhypersubs_gui_PlayerBox$Smooth(transition); var oldSelection = x2.from$2; var coord = newCoords.x$1; var jsx$2 = $uD($g.Math.round(coord)); var arg1 = (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $$outer$2).element).position(); var a = $uD(arg1.left); if ((!$m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong(jsx$2).equals__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong($uD($g.Math.round(a)))))) { var jsx$1 = true } else { var coord$1 = newCoords.y$1; var jsx$3 = $uD($g.Math.round(coord$1)); var arg1$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)(($m_Lhypersubs_gui_PlayerCircle$(), $$outer$2).element).position(); var a$1 = $uD(arg1$1.top); var jsx$1 = (!$m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong(jsx$3).equals__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().fromDouble__D__sjsr_RuntimeLong($uD($g.Math.round(a$1))))) }; if (jsx$1) { if ((destination.isInLimbo__Z() || (!$m_Lhypersubs_Preferences$().animate__Z()))) { $s_Lhypersubs_gui_PlayerCirclePrototype__hypersubs$gui$PlayerCirclePrototype$$teleport__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_hsubs_package$MatchdayRole__Lhypersubs_package$Coords__Lorg_querki_jquery_JQuery($$outer$2, destination, newCoords) } else { $s_Lhypersubs_gui_PlayerCirclePrototype__hypersubs$gui$PlayerCirclePrototype$$slide__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_hsubs_package$MatchdayRole__Lhypersubs_package$Coords__Lorg_querki_jquery_JQuery($$outer$2, $as_Lhypersubs_hsubs_package$MatchdayRole(oldSelection.roleOf$1.apply__O__O(player)), newCoords) } } } else { throw new $c_s_MatchError().init___O(transition) } } } function $s_Lhypersubs_gui_PlayerCirclePrototype__determineColor__p2__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_gui_PlayerBox$Colors($this) { var x1 = ($m_Lhypersubs_gui_PlayerCircle$(), new $c_Lhypersubs_gui_PlayerCircle$MoreConvenienceForPlayerCircle().init___sjs_js_Object($this)).player__s_Option(); var x = $m_s_None$(); if ((x === x1)) { var colorName = "white" } else if ($is_s_Some(x1)) { var x2 = $as_s_Some(x1); var p = $as_Lhypersubs_Player(x2.x$2); if ((!p.opposition$1.exists$1)) { var colorName = "white" } else if (((!p.isSafe__Z()) && p.isProbablySafeAnyway__Z())) { var colorName = "orange" } else if ((!p.isSafe__Z())) { var colorName = "red" } else if ((!p.isLikelyActive__Z())) { var colorName = "grey" } else { var x$3 = p.status$1; var x$4 = $m_Lhypersubs_ReadyToPlay$(); if (((x$3 !== null) && (x$3 === x$4))) { var colorName = "green" } else { var colorName = "blue" } } } else { var colorName; throw new $c_s_MatchError().init___O(x1) }; return $as_Lhypersubs_gui_PlayerBox$Colors($m_Lhypersubs_gui_PlayerBox$().ColorScheme$1.apply__O__O(colorName)) } /** @constructor */ function $c_Lhypersubs_gui_PlayerCirclePrototype() { $g.Object.call(this); $g.Object.defineProperties(this, { "circleID": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); this.circleID = "" } /** @constructor */ function $h_Lhypersubs_gui_PlayerCirclePrototype() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerCirclePrototype.prototype = $g.Object.prototype; $c_Lhypersubs_gui_PlayerCirclePrototype.prototype = new $h_Lhypersubs_gui_PlayerCirclePrototype(); $c_Lhypersubs_gui_PlayerCirclePrototype.prototype.constructor = $c_Lhypersubs_gui_PlayerCirclePrototype; $c_Lhypersubs_gui_PlayerCirclePrototype.prototype.setPlayer = (function(arg$1) { var prep0 = $as_Lhypersubs_Player(arg$1); return $s_Lhypersubs_gui_PlayerCirclePrototype__setPlayer__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_Player__Lorg_querki_jquery_JQuery(this, prep0) }); $c_Lhypersubs_gui_PlayerCirclePrototype.prototype.refresh = (function() { return $s_Lhypersubs_gui_PlayerCirclePrototype__refresh__Lhypersubs_gui_PlayerCirclePrototype__Lorg_querki_jquery_JQuery(this) }); $c_Lhypersubs_gui_PlayerCirclePrototype.prototype.move = (function(arg$1, arg$2) { var prep0 = $as_Lhypersubs_gui_PlayerBox$Transition(arg$1); var prep1 = $as_Lhypersubs_hsubs_Selection(arg$2); $s_Lhypersubs_gui_PlayerCirclePrototype__move__Lhypersubs_gui_PlayerCirclePrototype__Lhypersubs_gui_PlayerBox$Transition__Lhypersubs_hsubs_Selection__V(this, prep0, prep1) }); /** @constructor */ function $c_Lhypersubs_gui_PreferencesDialog() { $c_Lhypersubs_gui_SecondaryDialog.call(this) } $c_Lhypersubs_gui_PreferencesDialog.prototype = new $h_Lhypersubs_gui_SecondaryDialog(); $c_Lhypersubs_gui_PreferencesDialog.prototype.constructor = $c_Lhypersubs_gui_PreferencesDialog; /** @constructor */ function $h_Lhypersubs_gui_PreferencesDialog() { /*<skip>*/ } $h_Lhypersubs_gui_PreferencesDialog.prototype = $c_Lhypersubs_gui_PreferencesDialog.prototype; $c_Lhypersubs_gui_PreferencesDialog.prototype.checkboxValue__p3__T__Z = (function(id) { var jsx$2 = $m_Lorg_querki_jquery_package$().$$$1; var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-setting-", " input"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([id])); var jsx$1 = jsx$2(a); var value = jsx$1.prop("checked"); return $uZ(((value === (void 0)) ? $m_Lhypersubs_package$().error__T__sr_Nothing$(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["Missing checked property on checkbox ", "."])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([id]))) : value)) }); $c_Lhypersubs_gui_PreferencesDialog.prototype.textFieldValue__p3__T__T = (function(id) { var jsx$3 = $m_Lorg_querki_jquery_package$().$$$1; var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-setting-", " input"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([id])); var jsx$2 = jsx$3(a); var jsx$1 = jsx$2.val(); return $as_T(jsx$1) }); $c_Lhypersubs_gui_PreferencesDialog.prototype.init___Lhypersubs_gui_MainDialog = (function(parent) { $c_Lhypersubs_gui_SecondaryDialog.prototype.init___Lhypersubs_gui_MainDialog__T__sjs_js_Object.call(this, parent, "#hypersubs-preferences-dialog", $m_Lhypersubs_gui_PreferencesDialog$Options$()); return this }); $c_Lhypersubs_gui_PreferencesDialog.prototype.hypersubs$gui$PreferencesDialog$$saveAndExit__Lorg_querki_jquery_JQuery = (function() { $m_Lhypersubs_Preferences$().smartFill$und$eq__Z__V(this.checkboxValue__p3__T__Z("smartfill")); $m_Lhypersubs_Preferences$().alwaysRequireNext$und$eq__Z__V(this.checkboxValue__p3__T__Z("always-require-next")); $m_Lhypersubs_Preferences$().showHypersubsShortcuts$und$eq__Z__V(this.checkboxValue__p3__T__Z("show-hypersubs-shortcuts")); $m_Lhypersubs_Preferences$().showLeagueTransfers$und$eq__Z__V(this.checkboxValue__p3__T__Z("show-league-transfers")); $m_Lhypersubs_Preferences$().showMoreInfoButton$und$eq__Z__V(this.checkboxValue__p3__T__Z("show-more-info-button")); $m_Lhypersubs_Preferences$().pruneConfirmation$und$eq__Z__V(this.checkboxValue__p3__T__Z("prune-confirmation")); $m_Lhypersubs_Preferences$().massageZlatansEgo$und$eq__Z__V(this.checkboxValue__p3__T__Z("massage-his-ego")); $m_Lhypersubs_Preferences$().animate$und$eq__Z__V(this.checkboxValue__p3__T__Z("animate")); $m_Lhypersubs_Preferences$().strongAttacks$und$eq__T__V(this.textFieldValue__p3__T__T("strong-attacks")); $m_Lhypersubs_Preferences$().strongDefenses$und$eq__T__V(this.textFieldValue__p3__T__T("strong-defenses")); var this$1 = this.parent$2; this$1.hypersubs$gui$MainDialog$$playerBox$2.settingsChanged__V(); return this.close__Lorg_querki_jquery_JQuery() }); $c_Lhypersubs_gui_PreferencesDialog.prototype.open__Lorg_querki_jquery_JQuery = (function() { var getters = $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O("animate", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function() { return $m_Lhypersubs_Preferences$().animate__Z() }))), new $c_T2().init___O__O("smartfill", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function() { return $m_Lhypersubs_Preferences$().smartFill__Z() }))), new $c_T2().init___O__O("always-require-next", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function() { return $m_Lhypersubs_Preferences$().alwaysRequireNext__Z() }))), new $c_T2().init___O__O("prune-confirmation", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function() { return $m_Lhypersubs_Preferences$().pruneConfirmation__Z() }))), new $c_T2().init___O__O("show-hypersubs-shortcuts", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function() { return $m_Lhypersubs_Preferences$().showHypersubsShortcuts__Z() }))), new $c_T2().init___O__O("show-league-transfers", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function() { return $m_Lhypersubs_Preferences$().showLeagueTransfers__Z() }))), new $c_T2().init___O__O("show-more-info-button", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function() { return $m_Lhypersubs_Preferences$().showMoreInfoButton__Z() }))), new $c_T2().init___O__O("massage-his-ego", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function() { return $m_Lhypersubs_Preferences$().massageZlatansEgo__Z() })))]))); getters.withFilter__F1__scg_FilterMonadic(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$1$2) { var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); return (check$ifrefutable$1 !== null) }))).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(x$1$2) { var x$1 = $as_T2(x$1$2); if ((x$1 !== null)) { var prefName = $as_T(x$1.$$und1__O()); var getter = $as_F0(x$1.$$und2__O()); var jsx$2 = $m_Lorg_querki_jquery_package$().$$$1; var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-setting-", " input"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([prefName])); var jsx$1 = jsx$2(a); var value = $uZ(getter.apply__O()); return jsx$1.prop("checked", value) } else { throw new $c_s_MatchError().init___O(x$1) } }))); var jsx$4 = $m_Lorg_querki_jquery_package$().$$$1; var a$1 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-setting-strong-attacks input"])).s__sc_Seq__T($m_sci_Nil$()); var jsx$3 = jsx$4(a$1); jsx$3.val($m_Lhypersubs_Preferences$().strongAttacks__T()); var jsx$6 = $m_Lorg_querki_jquery_package$().$$$1; var a$2 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["#hypersubs-setting-strong-defenses input"])).s__sc_Seq__T($m_sci_Nil$()); var jsx$5 = jsx$6(a$2); jsx$5.val($m_Lhypersubs_Preferences$().strongDefenses__T()); $c_Lhypersubs_gui_SecondaryDialog.prototype.open__Lorg_querki_jquery_JQuery.call(this); return this.findButton__T__Lorg_querki_jquery_JQuery($m_Lhypersubs_gui_PreferencesDialog$().SaveText$1).focus() }); $c_Lhypersubs_gui_PreferencesDialog.prototype.buttonConfig__sci_Map = (function() { var self = $m_Lhypersubs_gui_PreferencesDialog$().SaveText$1; var y = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0("Save your preferences and close this window.", new $c_s_Some().init___O("ui-icon-check"), "right", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer) { return (function() { arg$outer.hypersubs$gui$PreferencesDialog$$saveAndExit__Lorg_querki_jquery_JQuery() }) })(this))); var jsx$1 = new $c_T2().init___O__O(self, y); var self$1 = $m_Lhypersubs_gui_PreferencesDialog$().CancelText$1; var y$1 = new $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig().init___T__s_Option__T__F0("Close this window and retain earlier preferences.", new $c_s_Some().init___O("ui-icon-closethick"), "right", new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(arg$outer$1) { return (function() { arg$outer$1.close__Lorg_querki_jquery_JQuery() }) })(this))); var array = [jsx$1, new $c_T2().init___O__O(self$1, y$1)]; var this$6 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(array.length); while ((i < len)) { var index = i; var arg1 = array[index]; this$6.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; return $as_sci_Map(this$6.elems$1) }); var $d_Lhypersubs_gui_PreferencesDialog = new $TypeData().initClass({ Lhypersubs_gui_PreferencesDialog: 0 }, false, "hypersubs.gui.PreferencesDialog", { Lhypersubs_gui_PreferencesDialog: 1, Lhypersubs_gui_SecondaryDialog: 1, Lhypersubs_gui_package$HSubsDialog: 1, O: 1 }); $c_Lhypersubs_gui_PreferencesDialog.prototype.$classData = $d_Lhypersubs_gui_PreferencesDialog; $e.hypersubs = ($e.hypersubs || {}); $e.hypersubs.gui = ($e.hypersubs.gui || {}); /** @constructor */ $e.hypersubs.gui.PreferencesDialog = (function(arg$1) { var $thiz = new $c_Lhypersubs_gui_PreferencesDialog(); var prep0 = $as_Lhypersubs_gui_MainDialog(arg$1); $c_Lhypersubs_gui_PreferencesDialog.prototype.init___Lhypersubs_gui_MainDialog.call($thiz, prep0); return $thiz }); $e.hypersubs.gui.PreferencesDialog.prototype = $c_Lhypersubs_gui_PreferencesDialog.prototype; /** @constructor */ function $c_Lhypersubs_gui_package$DefaultOptions(arg$1, arg$2) { var title = $as_T(arg$1); var buttonNames = $as_sc_Seq(arg$2); $g.Object.call(this); $g.Object.defineProperties(this, { "title": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); $g.Object.defineProperties(this, { "dialogClass": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); $g.Object.defineProperties(this, { "autoOpen": { "configurable": true, "enumerable": true, "writable": true, "value": false } }); $g.Object.defineProperties(this, { "show": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); $g.Object.defineProperties(this, { "hide": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); $g.Object.defineProperties(this, { "modal": { "configurable": true, "enumerable": true, "writable": true, "value": false } }); $g.Object.defineProperties(this, { "buttons": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); this.title = title; this.dialogClass = "hypersubs-dialog"; this.autoOpen = false; this.show = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_s_Predef$ArrowAssoc$().$$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("effect"), "fade"), $m_s_Predef$ArrowAssoc$().$$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("duration"), 200)])); this.hide = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_s_Predef$ArrowAssoc$().$$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("effect"), "fade"), $m_s_Predef$ArrowAssoc$().$$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("duration"), 200)])); this.modal = true; this.buttons = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary($as_sc_Seq(buttonNames.map__F1__scg_CanBuildFrom__O(new $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3().init___Lhypersubs_gui_package$DefaultOptions(this), $m_sc_Seq$().canBuildFrom__scg_CanBuildFrom()))) } /** @constructor */ function $h_Lhypersubs_gui_package$DefaultOptions() { /*<skip>*/ } $h_Lhypersubs_gui_package$DefaultOptions.prototype = $g.Object.prototype; $c_Lhypersubs_gui_package$DefaultOptions.prototype = new $h_Lhypersubs_gui_package$DefaultOptions(); $c_Lhypersubs_gui_package$DefaultOptions.prototype.constructor = $c_Lhypersubs_gui_package$DefaultOptions; /** @constructor */ function $c_Ljava_io_OutputStream() { $c_O.call(this) } $c_Ljava_io_OutputStream.prototype = new $h_O(); $c_Ljava_io_OutputStream.prototype.constructor = $c_Ljava_io_OutputStream; /** @constructor */ function $h_Ljava_io_OutputStream() { /*<skip>*/ } $h_Ljava_io_OutputStream.prototype = $c_Ljava_io_OutputStream.prototype; function $isArrayOf_jl_Boolean(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Boolean))) } function $asArrayOf_jl_Boolean(obj, depth) { return (($isArrayOf_jl_Boolean(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Boolean;", depth)) } var $d_jl_Boolean = new $TypeData().initClass({ jl_Boolean: 0 }, false, "java.lang.Boolean", { jl_Boolean: 1, O: 1, Ljava_io_Serializable: 1, jl_Comparable: 1 }, (void 0), (void 0), (function(x) { return ((typeof x) === "boolean") })); /** @constructor */ function $c_jl_Character() { $c_O.call(this); this.value$1 = 0 } $c_jl_Character.prototype = new $h_O(); $c_jl_Character.prototype.constructor = $c_jl_Character; /** @constructor */ function $h_jl_Character() { /*<skip>*/ } $h_jl_Character.prototype = $c_jl_Character.prototype; $c_jl_Character.prototype.equals__O__Z = (function(that) { if ($is_jl_Character(that)) { var jsx$1 = this.value$1; var this$1 = $as_jl_Character(that); return (jsx$1 === this$1.value$1) } else { return false } }); $c_jl_Character.prototype.compareTo__O__I = (function(o) { var that = $as_jl_Character(o); var x = this.value$1; var y = that.value$1; return ((x - y) | 0) }); $c_jl_Character.prototype.toString__T = (function() { var c = this.value$1; return $as_T($g.String.fromCharCode(c)) }); $c_jl_Character.prototype.init___C = (function(value) { this.value$1 = value; return this }); $c_jl_Character.prototype.hashCode__I = (function() { return this.value$1 }); function $is_jl_Character(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_Character))) } function $as_jl_Character(obj) { return (($is_jl_Character(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Character")) } function $isArrayOf_jl_Character(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Character))) } function $asArrayOf_jl_Character(obj, depth) { return (($isArrayOf_jl_Character(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Character;", depth)) } var $d_jl_Character = new $TypeData().initClass({ jl_Character: 0 }, false, "java.lang.Character", { jl_Character: 1, O: 1, Ljava_io_Serializable: 1, jl_Comparable: 1 }); $c_jl_Character.prototype.$classData = $d_jl_Character; /** @constructor */ function $c_jl_Character$() { $c_O.call(this); this.TYPE$1 = null; this.MIN$undVALUE$1 = 0; this.MAX$undVALUE$1 = 0; this.SIZE$1 = 0; this.MIN$undRADIX$1 = 0; this.MAX$undRADIX$1 = 0; this.MIN$undHIGH$undSURROGATE$1 = 0; this.MAX$undHIGH$undSURROGATE$1 = 0; this.MIN$undLOW$undSURROGATE$1 = 0; this.MAX$undLOW$undSURROGATE$1 = 0; this.MIN$undSURROGATE$1 = 0; this.MAX$undSURROGATE$1 = 0; this.MIN$undCODE$undPOINT$1 = 0; this.MAX$undCODE$undPOINT$1 = 0; this.MIN$undSUPPLEMENTARY$undCODE$undPOINT$1 = 0; this.HighSurrogateMask$1 = 0; this.HighSurrogateID$1 = 0; this.LowSurrogateMask$1 = 0; this.LowSurrogateID$1 = 0; this.SurrogateUsefulPartMask$1 = 0; this.java$lang$Character$$charTypesFirst256$1 = null; this.charTypeIndices$1 = null; this.charTypes$1 = null; this.isMirroredIndices$1 = null; this.bitmap$0$1 = 0 } $c_jl_Character$.prototype = new $h_O(); $c_jl_Character$.prototype.constructor = $c_jl_Character$; /** @constructor */ function $h_jl_Character$() { /*<skip>*/ } $h_jl_Character$.prototype = $c_jl_Character$.prototype; $c_jl_Character$.prototype.init___ = (function() { return this }); $c_jl_Character$.prototype.isLowerCaseGE256__p1__I__Z = (function(c) { return ((((((((((((((((((c >= 688) && (c <= 696)) || ((c >= 704) && (c <= 705))) || ((c >= 736) && (c <= 740))) || (c === 837)) || (c === 890)) || ((c >= 7468) && (c <= 7530))) || (c === 7544)) || ((c >= 7579) && (c <= 7615))) || (c === 8305)) || (c === 8319)) || ((c >= 8336) && (c <= 8348))) || ((c >= 8560) && (c <= 8575))) || ((c >= 9424) && (c <= 9449))) || ((c >= 11388) && (c <= 11389))) || (c === 42864)) || ((c >= 43000) && (c <= 43001))) || (this.getTypeGE256__p1__I__B(c) === 2)) }); $c_jl_Character$.prototype.getType__I__I = (function(codePoint) { return ((codePoint < 0) ? 0 : ((codePoint < 256) ? this.java$lang$Character$$charTypesFirst256__AB().u[codePoint] : this.getTypeGE256__p1__I__B(codePoint))) }); $c_jl_Character$.prototype.charTypeIndices__p1__AI = (function() { return (((2 & this.bitmap$0$1) === 0) ? this.charTypeIndices$lzycompute__p1__AI() : this.charTypeIndices$1) }); $c_jl_Character$.prototype.charTypeIndices$lzycompute__p1__AI = (function() { if (((2 & this.bitmap$0$1) === 0)) { var xs = new $c_sjs_js_WrappedArray().init___sjs_js_Array([257, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 2, 1, 1, 1, 2, 1, 3, 2, 4, 1, 2, 1, 3, 3, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 3, 1, 1, 1, 2, 2, 1, 1, 3, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 2, 1, 2, 2, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 69, 1, 27, 18, 4, 12, 14, 5, 7, 1, 1, 1, 17, 112, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 5, 2, 1, 1, 3, 1, 1, 1, 2, 1, 17, 1, 9, 35, 1, 2, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 2, 2, 51, 48, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 38, 2, 1, 6, 1, 39, 1, 1, 1, 4, 1, 1, 45, 1, 1, 1, 2, 1, 2, 1, 1, 8, 27, 5, 3, 2, 11, 5, 1, 3, 2, 1, 2, 2, 11, 1, 2, 2, 32, 1, 10, 21, 10, 4, 2, 1, 99, 1, 1, 7, 1, 1, 6, 2, 2, 1, 4, 2, 10, 3, 2, 1, 14, 1, 1, 1, 1, 30, 27, 2, 89, 11, 1, 14, 10, 33, 9, 2, 1, 3, 1, 5, 22, 4, 1, 9, 1, 3, 1, 5, 2, 15, 1, 25, 3, 2, 1, 65, 1, 1, 11, 55, 27, 1, 3, 1, 54, 1, 1, 1, 1, 3, 8, 4, 1, 2, 1, 7, 10, 2, 2, 10, 1, 1, 6, 1, 7, 1, 1, 2, 1, 8, 2, 2, 2, 22, 1, 7, 1, 1, 3, 4, 2, 1, 1, 3, 4, 2, 2, 2, 2, 1, 1, 8, 1, 4, 2, 1, 3, 2, 2, 10, 2, 2, 6, 1, 1, 5, 2, 1, 1, 6, 4, 2, 2, 22, 1, 7, 1, 2, 1, 2, 1, 2, 2, 1, 1, 3, 2, 4, 2, 2, 3, 3, 1, 7, 4, 1, 1, 7, 10, 2, 3, 1, 11, 2, 1, 1, 9, 1, 3, 1, 22, 1, 7, 1, 2, 1, 5, 2, 1, 1, 3, 5, 1, 2, 1, 1, 2, 1, 2, 1, 15, 2, 2, 2, 10, 1, 1, 15, 1, 2, 1, 8, 2, 2, 2, 22, 1, 7, 1, 2, 1, 5, 2, 1, 1, 1, 1, 1, 4, 2, 2, 2, 2, 1, 8, 1, 1, 4, 2, 1, 3, 2, 2, 10, 1, 1, 6, 10, 1, 1, 1, 6, 3, 3, 1, 4, 3, 2, 1, 1, 1, 2, 3, 2, 3, 3, 3, 12, 4, 2, 1, 2, 3, 3, 1, 3, 1, 2, 1, 6, 1, 14, 10, 3, 6, 1, 1, 6, 3, 1, 8, 1, 3, 1, 23, 1, 10, 1, 5, 3, 1, 3, 4, 1, 3, 1, 4, 7, 2, 1, 2, 6, 2, 2, 2, 10, 8, 7, 1, 2, 2, 1, 8, 1, 3, 1, 23, 1, 10, 1, 5, 2, 1, 1, 1, 1, 5, 1, 1, 2, 1, 2, 2, 7, 2, 7, 1, 1, 2, 2, 2, 10, 1, 2, 15, 2, 1, 8, 1, 3, 1, 41, 2, 1, 3, 4, 1, 3, 1, 3, 1, 1, 8, 1, 8, 2, 2, 2, 10, 6, 3, 1, 6, 2, 2, 1, 18, 3, 24, 1, 9, 1, 1, 2, 7, 3, 1, 4, 3, 3, 1, 1, 1, 8, 18, 2, 1, 12, 48, 1, 2, 7, 4, 1, 6, 1, 8, 1, 10, 2, 37, 2, 1, 1, 2, 2, 1, 1, 2, 1, 6, 4, 1, 7, 1, 3, 1, 1, 1, 1, 2, 2, 1, 4, 1, 2, 6, 1, 2, 1, 2, 5, 1, 1, 1, 6, 2, 10, 2, 4, 32, 1, 3, 15, 1, 1, 3, 2, 6, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 8, 1, 36, 4, 14, 1, 5, 1, 2, 5, 11, 1, 36, 1, 8, 1, 6, 1, 2, 5, 4, 2, 37, 43, 2, 4, 1, 6, 1, 2, 2, 2, 1, 10, 6, 6, 2, 2, 4, 3, 1, 3, 2, 7, 3, 4, 13, 1, 2, 2, 6, 1, 1, 1, 10, 3, 1, 2, 38, 1, 1, 5, 1, 2, 43, 1, 1, 332, 1, 4, 2, 7, 1, 1, 1, 4, 2, 41, 1, 4, 2, 33, 1, 4, 2, 7, 1, 1, 1, 4, 2, 15, 1, 57, 1, 4, 2, 67, 2, 3, 9, 20, 3, 16, 10, 6, 85, 11, 1, 620, 2, 17, 1, 26, 1, 1, 3, 75, 3, 3, 15, 13, 1, 4, 3, 11, 18, 3, 2, 9, 18, 2, 12, 13, 1, 3, 1, 2, 12, 52, 2, 1, 7, 8, 1, 2, 11, 3, 1, 3, 1, 1, 1, 2, 10, 6, 10, 6, 6, 1, 4, 3, 1, 1, 10, 6, 35, 1, 52, 8, 41, 1, 1, 5, 70, 10, 29, 3, 3, 4, 2, 3, 4, 2, 1, 6, 3, 4, 1, 3, 2, 10, 30, 2, 5, 11, 44, 4, 17, 7, 2, 6, 10, 1, 3, 34, 23, 2, 3, 2, 2, 53, 1, 1, 1, 7, 1, 1, 1, 1, 2, 8, 6, 10, 2, 1, 10, 6, 10, 6, 7, 1, 6, 82, 4, 1, 47, 1, 1, 5, 1, 1, 5, 1, 2, 7, 4, 10, 7, 10, 9, 9, 3, 2, 1, 30, 1, 4, 2, 2, 1, 1, 2, 2, 10, 44, 1, 1, 2, 3, 1, 1, 3, 2, 8, 4, 36, 8, 8, 2, 2, 3, 5, 10, 3, 3, 10, 30, 6, 2, 64, 8, 8, 3, 1, 13, 1, 7, 4, 1, 4, 2, 1, 2, 9, 44, 63, 13, 1, 34, 37, 39, 21, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 8, 6, 2, 6, 2, 8, 8, 8, 8, 6, 2, 6, 2, 8, 1, 1, 1, 1, 1, 1, 1, 1, 8, 8, 14, 2, 8, 8, 8, 8, 8, 8, 5, 1, 2, 4, 1, 1, 1, 3, 3, 1, 2, 4, 1, 3, 4, 2, 2, 4, 1, 3, 8, 5, 3, 2, 3, 1, 2, 4, 1, 2, 1, 11, 5, 6, 2, 1, 1, 1, 2, 1, 1, 1, 8, 1, 1, 5, 1, 9, 1, 1, 4, 2, 3, 1, 1, 1, 11, 1, 1, 1, 10, 1, 5, 5, 6, 1, 1, 2, 6, 3, 1, 1, 1, 10, 3, 1, 1, 1, 13, 3, 27, 21, 13, 4, 1, 3, 12, 15, 2, 1, 4, 1, 2, 1, 3, 2, 3, 1, 1, 1, 2, 1, 5, 6, 1, 1, 1, 1, 1, 1, 4, 1, 1, 4, 1, 4, 1, 2, 2, 2, 5, 1, 4, 1, 1, 2, 1, 1, 16, 35, 1, 1, 4, 1, 6, 5, 5, 2, 4, 1, 2, 1, 2, 1, 7, 1, 31, 2, 2, 1, 1, 1, 31, 268, 8, 4, 20, 2, 7, 1, 1, 81, 1, 30, 25, 40, 6, 18, 12, 39, 25, 11, 21, 60, 78, 22, 183, 1, 9, 1, 54, 8, 111, 1, 144, 1, 103, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 30, 44, 5, 1, 1, 31, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16, 256, 131, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 63, 1, 1, 1, 1, 32, 1, 1, 258, 48, 21, 2, 6, 3, 10, 166, 47, 1, 47, 1, 1, 1, 3, 2, 1, 1, 1, 1, 1, 1, 4, 1, 1, 2, 1, 6, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 6, 1, 1, 1, 1, 3, 1, 1, 5, 4, 1, 2, 38, 1, 1, 5, 1, 2, 56, 7, 1, 1, 14, 1, 23, 9, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 32, 2, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 9, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 10, 2, 68, 26, 1, 89, 12, 214, 26, 12, 4, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 9, 4, 2, 1, 5, 2, 3, 1, 1, 1, 2, 1, 86, 2, 2, 2, 2, 1, 1, 90, 1, 3, 1, 5, 41, 3, 94, 1, 2, 4, 10, 27, 5, 36, 12, 16, 31, 1, 10, 30, 8, 1, 15, 32, 10, 39, 15, 63, 1, 256, 6582, 10, 64, 20941, 51, 21, 1, 1143, 3, 55, 9, 40, 6, 2, 268, 1, 3, 16, 10, 2, 20, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 1, 70, 10, 2, 6, 8, 23, 9, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 77, 2, 1, 7, 1, 3, 1, 4, 1, 23, 2, 2, 1, 4, 4, 6, 2, 1, 1, 6, 52, 4, 8, 2, 50, 16, 1, 9, 2, 10, 6, 18, 6, 3, 1, 4, 10, 28, 8, 2, 23, 11, 2, 11, 1, 29, 3, 3, 1, 47, 1, 2, 4, 2, 1, 4, 13, 1, 1, 10, 4, 2, 32, 41, 6, 2, 2, 2, 2, 9, 3, 1, 8, 1, 1, 2, 10, 2, 4, 16, 1, 6, 3, 1, 1, 4, 48, 1, 1, 3, 2, 2, 5, 2, 1, 1, 1, 24, 2, 1, 2, 11, 1, 2, 2, 2, 1, 2, 1, 1, 10, 6, 2, 6, 2, 6, 9, 7, 1, 7, 145, 35, 2, 1, 2, 1, 2, 1, 1, 1, 2, 10, 6, 11172, 12, 23, 4, 49, 4, 2048, 6400, 366, 2, 106, 38, 7, 12, 5, 5, 1, 1, 10, 1, 13, 1, 5, 1, 1, 1, 2, 1, 2, 1, 108, 16, 17, 363, 1, 1, 16, 64, 2, 54, 40, 12, 1, 1, 2, 16, 7, 1, 1, 1, 6, 7, 9, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 4, 3, 3, 1, 4, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 3, 1, 1, 1, 2, 4, 5, 1, 135, 2, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 2, 10, 2, 3, 2, 26, 1, 1, 1, 1, 1, 1, 26, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 10, 1, 45, 2, 31, 3, 6, 2, 6, 2, 6, 2, 3, 3, 2, 1, 1, 1, 2, 1, 1, 4, 2, 10, 3, 2, 2, 12, 1, 26, 1, 19, 1, 2, 1, 15, 2, 14, 34, 123, 5, 3, 4, 45, 3, 9, 53, 4, 17, 1, 5, 12, 52, 45, 1, 130, 29, 3, 49, 47, 31, 1, 4, 12, 17, 1, 8, 1, 53, 30, 1, 1, 36, 4, 8, 1, 5, 42, 40, 40, 78, 2, 10, 854, 6, 2, 1, 1, 44, 1, 2, 3, 1, 2, 23, 1, 1, 8, 160, 22, 6, 3, 1, 26, 5, 1, 64, 56, 6, 2, 64, 1, 3, 1, 2, 5, 4, 4, 1, 3, 1, 27, 4, 3, 4, 1, 8, 8, 9, 7, 29, 2, 1, 128, 54, 3, 7, 22, 2, 8, 19, 5, 8, 128, 73, 535, 31, 385, 1, 1, 1, 53, 15, 7, 4, 20, 10, 16, 2, 1, 45, 3, 4, 2, 2, 2, 1, 4, 14, 25, 7, 10, 6, 3, 36, 5, 1, 8, 1, 10, 4, 60, 2, 1, 48, 3, 9, 2, 4, 4, 7, 10, 1190, 43, 1, 1, 1, 2, 6, 1, 1, 8, 10, 2358, 879, 145, 99, 13, 4, 2956, 1071, 13265, 569, 1223, 69, 11, 1, 46, 16, 4, 13, 16480, 2, 8190, 246, 10, 39, 2, 60, 2, 3, 3, 6, 8, 8, 2, 7, 30, 4, 48, 34, 66, 3, 1, 186, 87, 9, 18, 142, 26, 26, 26, 7, 1, 18, 26, 26, 1, 1, 2, 2, 1, 2, 2, 2, 4, 1, 8, 4, 1, 1, 1, 7, 1, 11, 26, 26, 2, 1, 4, 2, 8, 1, 7, 1, 26, 2, 1, 4, 1, 5, 1, 1, 3, 7, 1, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 28, 2, 25, 1, 25, 1, 6, 25, 1, 25, 1, 6, 25, 1, 25, 1, 6, 25, 1, 25, 1, 6, 25, 1, 25, 1, 6, 1, 1, 2, 50, 5632, 4, 1, 27, 1, 2, 1, 1, 2, 1, 1, 10, 1, 4, 1, 1, 1, 1, 6, 1, 4, 1, 1, 1, 1, 1, 1, 3, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 4, 1, 7, 1, 4, 1, 4, 1, 1, 1, 10, 1, 17, 5, 3, 1, 5, 1, 17, 52, 2, 270, 44, 4, 100, 12, 15, 2, 14, 2, 15, 1, 15, 32, 11, 5, 31, 1, 60, 4, 43, 75, 29, 13, 43, 5, 9, 7, 2, 174, 33, 15, 6, 1, 70, 3, 20, 12, 37, 1, 5, 21, 17, 15, 63, 1, 1, 1, 182, 1, 4, 3, 62, 2, 4, 12, 24, 147, 70, 4, 11, 48, 70, 58, 116, 2188, 42711, 41, 4149, 11, 222, 16354, 542, 722403, 1, 30, 96, 128, 240, 65040, 65534, 2, 65534]); var len = $uI(xs.array$6.length); var array = $newArrayObject($d_I.getArrayOf(), [len]); var elem$1 = 0; elem$1 = 0; var this$5 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(xs, 0, $uI(xs.array$6.length)); while (this$5.hasNext__Z()) { var arg1 = this$5.next__O(); array.u[elem$1] = $uI(arg1); elem$1 = ((1 + elem$1) | 0) }; this.charTypeIndices$1 = this.uncompressDeltas__p1__AI__AI(array); this.bitmap$0$1 = (2 | this.bitmap$0$1) }; return this.charTypeIndices$1 }); $c_jl_Character$.prototype.digit__C__I__I = (function(c, radix) { return (((radix > 36) || (radix < 2)) ? (-1) : ((((c >= 48) && (c <= 57)) && ((((-48) + c) | 0) < radix)) ? (((-48) + c) | 0) : ((((c >= 65) && (c <= 90)) && ((((-65) + c) | 0) < (((-10) + radix) | 0))) ? (((-55) + c) | 0) : ((((c >= 97) && (c <= 122)) && ((((-97) + c) | 0) < (((-10) + radix) | 0))) ? (((-87) + c) | 0) : ((((c >= 65313) && (c <= 65338)) && ((((-65313) + c) | 0) < (((-10) + radix) | 0))) ? (((-65303) + c) | 0) : ((((c >= 65345) && (c <= 65370)) && ((((-65345) + c) | 0) < (((-10) + radix) | 0))) ? (((-65303) + c) | 0) : (-1))))))) }); $c_jl_Character$.prototype.charTypes$lzycompute__p1__AB = (function() { if (((4 & this.bitmap$0$1) === 0)) { var xs = new $c_sjs_js_WrappedArray().init___sjs_js_Array([1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 1, 2, 5, 1, 3, 2, 1, 3, 2, 1, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 2, 4, 27, 4, 27, 4, 27, 4, 27, 4, 27, 6, 1, 2, 1, 2, 4, 27, 1, 2, 0, 4, 2, 24, 0, 27, 1, 24, 1, 0, 1, 0, 1, 2, 1, 0, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 25, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 28, 6, 7, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 1, 0, 4, 24, 0, 2, 0, 24, 20, 0, 26, 0, 6, 20, 6, 24, 6, 24, 6, 24, 6, 0, 5, 0, 5, 24, 0, 16, 0, 25, 24, 26, 24, 28, 6, 24, 0, 24, 5, 4, 5, 6, 9, 24, 5, 6, 5, 24, 5, 6, 16, 28, 6, 4, 6, 28, 6, 5, 9, 5, 28, 5, 24, 0, 16, 5, 6, 5, 6, 0, 5, 6, 5, 0, 9, 5, 6, 4, 28, 24, 4, 0, 5, 6, 4, 6, 4, 6, 4, 6, 0, 24, 0, 5, 6, 0, 24, 0, 5, 0, 5, 0, 6, 0, 6, 8, 5, 6, 8, 6, 5, 8, 6, 8, 6, 8, 5, 6, 5, 6, 24, 9, 24, 4, 5, 0, 5, 0, 6, 8, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 6, 5, 8, 6, 0, 8, 0, 8, 6, 5, 0, 8, 0, 5, 0, 5, 6, 0, 9, 5, 26, 11, 28, 26, 0, 6, 8, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 6, 0, 8, 6, 0, 6, 0, 6, 0, 6, 0, 5, 0, 5, 0, 9, 6, 5, 6, 0, 6, 8, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 6, 5, 8, 6, 0, 6, 8, 0, 8, 6, 0, 5, 0, 5, 6, 0, 9, 24, 26, 0, 6, 8, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 6, 5, 8, 6, 8, 6, 0, 8, 0, 8, 6, 0, 6, 8, 0, 5, 0, 5, 6, 0, 9, 28, 5, 11, 0, 6, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 8, 6, 8, 0, 8, 0, 8, 6, 0, 5, 0, 8, 0, 9, 11, 28, 26, 28, 0, 8, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 6, 8, 0, 6, 0, 6, 0, 6, 0, 5, 0, 5, 6, 0, 9, 0, 11, 28, 0, 8, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 6, 5, 8, 6, 8, 0, 6, 8, 0, 8, 6, 0, 8, 0, 5, 0, 5, 6, 0, 9, 0, 5, 0, 8, 0, 5, 0, 5, 0, 5, 0, 5, 8, 6, 0, 8, 0, 8, 6, 5, 0, 8, 0, 5, 6, 0, 9, 11, 0, 28, 5, 0, 8, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 6, 0, 8, 6, 0, 6, 0, 8, 0, 8, 24, 0, 5, 6, 5, 6, 0, 26, 5, 4, 6, 24, 9, 24, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 6, 5, 6, 0, 6, 5, 0, 5, 0, 4, 0, 6, 0, 9, 0, 5, 0, 5, 28, 24, 28, 24, 28, 6, 28, 9, 11, 28, 6, 28, 6, 28, 6, 21, 22, 21, 22, 8, 5, 0, 5, 0, 6, 8, 6, 24, 6, 5, 6, 0, 6, 0, 28, 6, 28, 0, 28, 24, 28, 24, 0, 5, 8, 6, 8, 6, 8, 6, 8, 6, 5, 9, 24, 5, 8, 6, 5, 6, 5, 8, 5, 8, 5, 6, 5, 6, 8, 6, 8, 6, 5, 8, 9, 8, 6, 28, 1, 0, 1, 0, 1, 0, 5, 24, 4, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 6, 24, 11, 0, 5, 28, 0, 5, 0, 20, 5, 24, 5, 12, 5, 21, 22, 0, 5, 24, 10, 0, 5, 0, 5, 6, 0, 5, 6, 24, 0, 5, 6, 0, 5, 0, 5, 0, 6, 0, 5, 6, 8, 6, 8, 6, 8, 6, 24, 4, 24, 26, 5, 6, 0, 9, 0, 11, 0, 24, 20, 24, 6, 12, 0, 9, 0, 5, 4, 5, 0, 5, 6, 5, 0, 5, 0, 5, 0, 6, 8, 6, 8, 0, 8, 6, 8, 6, 0, 28, 0, 24, 9, 5, 0, 5, 0, 5, 0, 8, 5, 8, 0, 9, 11, 0, 28, 5, 6, 8, 0, 24, 5, 8, 6, 8, 6, 0, 6, 8, 6, 8, 6, 8, 6, 0, 6, 9, 0, 9, 0, 24, 4, 24, 0, 6, 8, 5, 6, 8, 6, 8, 6, 8, 6, 8, 5, 0, 9, 24, 28, 6, 28, 0, 6, 8, 5, 8, 6, 8, 6, 8, 6, 8, 5, 9, 5, 6, 8, 6, 8, 6, 8, 6, 8, 0, 24, 5, 8, 6, 8, 6, 0, 24, 9, 0, 5, 9, 5, 4, 24, 0, 24, 0, 6, 24, 6, 8, 6, 5, 6, 5, 8, 6, 5, 0, 2, 4, 2, 4, 2, 4, 6, 0, 6, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 1, 0, 2, 1, 2, 1, 2, 0, 1, 0, 2, 0, 1, 0, 1, 0, 1, 0, 1, 2, 1, 2, 0, 2, 3, 2, 3, 2, 3, 2, 0, 2, 1, 3, 27, 2, 27, 2, 0, 2, 1, 3, 27, 2, 0, 2, 1, 0, 27, 2, 1, 27, 0, 2, 0, 2, 1, 3, 27, 0, 12, 16, 20, 24, 29, 30, 21, 29, 30, 21, 29, 24, 13, 14, 16, 12, 24, 29, 30, 24, 23, 24, 25, 21, 22, 24, 25, 24, 23, 24, 12, 16, 0, 16, 11, 4, 0, 11, 25, 21, 22, 4, 11, 25, 21, 22, 0, 4, 0, 26, 0, 6, 7, 6, 7, 6, 0, 28, 1, 28, 1, 28, 2, 1, 2, 1, 2, 28, 1, 28, 25, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 2, 1, 2, 5, 2, 28, 2, 1, 25, 1, 2, 28, 25, 28, 2, 28, 11, 10, 1, 2, 10, 11, 0, 25, 28, 25, 28, 25, 28, 25, 28, 25, 28, 25, 28, 25, 28, 25, 28, 25, 28, 25, 28, 25, 28, 25, 28, 21, 22, 28, 25, 28, 25, 28, 25, 28, 0, 28, 0, 28, 0, 11, 28, 11, 28, 25, 28, 25, 28, 25, 28, 25, 28, 0, 28, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 11, 28, 25, 21, 22, 25, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 25, 28, 25, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 25, 21, 22, 21, 22, 25, 21, 22, 25, 28, 25, 28, 25, 0, 28, 0, 1, 0, 2, 0, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 4, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 28, 1, 2, 1, 2, 6, 1, 2, 0, 24, 11, 24, 2, 0, 2, 0, 2, 0, 5, 0, 4, 24, 0, 6, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 6, 24, 29, 30, 29, 30, 24, 29, 30, 24, 29, 30, 24, 20, 24, 20, 24, 29, 30, 24, 29, 30, 21, 22, 21, 22, 21, 22, 21, 22, 24, 4, 24, 20, 0, 28, 0, 28, 0, 28, 0, 28, 0, 12, 24, 28, 4, 5, 10, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 28, 21, 22, 21, 22, 21, 22, 21, 22, 20, 21, 22, 28, 10, 6, 8, 20, 4, 28, 10, 4, 5, 24, 28, 0, 5, 0, 6, 27, 4, 5, 20, 5, 24, 4, 5, 0, 5, 0, 5, 0, 28, 11, 28, 5, 0, 28, 0, 5, 28, 0, 11, 28, 11, 28, 11, 28, 11, 28, 11, 28, 0, 28, 5, 0, 28, 5, 0, 5, 4, 5, 0, 28, 0, 5, 4, 24, 5, 4, 24, 5, 9, 5, 0, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 6, 7, 24, 6, 24, 4, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 6, 5, 10, 6, 24, 0, 27, 4, 27, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 4, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 4, 27, 1, 2, 1, 2, 0, 1, 2, 1, 2, 0, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 0, 4, 2, 5, 6, 5, 6, 5, 6, 5, 8, 6, 8, 28, 0, 11, 28, 26, 28, 0, 5, 24, 0, 8, 5, 8, 6, 0, 24, 9, 0, 6, 5, 24, 5, 0, 9, 5, 6, 24, 5, 6, 8, 0, 24, 5, 0, 6, 8, 5, 6, 8, 6, 8, 6, 8, 24, 0, 4, 9, 0, 24, 0, 5, 6, 8, 6, 8, 6, 0, 5, 6, 5, 6, 8, 0, 9, 0, 24, 5, 4, 5, 28, 5, 8, 0, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 0, 5, 4, 24, 5, 8, 6, 8, 24, 5, 4, 8, 6, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 8, 6, 8, 6, 8, 24, 8, 6, 0, 9, 0, 5, 0, 5, 0, 5, 0, 19, 18, 5, 0, 5, 0, 2, 0, 2, 0, 5, 6, 5, 25, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 27, 0, 5, 21, 22, 0, 5, 0, 5, 0, 5, 26, 28, 0, 6, 24, 21, 22, 24, 0, 6, 0, 24, 20, 23, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 24, 21, 22, 24, 23, 24, 0, 24, 20, 21, 22, 21, 22, 21, 22, 24, 25, 20, 25, 0, 24, 26, 24, 0, 5, 0, 5, 0, 16, 0, 24, 26, 24, 21, 22, 24, 25, 24, 20, 24, 9, 24, 25, 24, 1, 21, 24, 22, 27, 23, 27, 2, 21, 25, 22, 25, 21, 22, 24, 21, 22, 24, 5, 4, 5, 4, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 26, 25, 27, 28, 26, 0, 28, 25, 28, 0, 16, 28, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 24, 0, 11, 0, 28, 10, 11, 28, 11, 0, 28, 0, 28, 6, 0, 5, 0, 5, 0, 5, 0, 11, 0, 5, 10, 5, 10, 0, 5, 0, 24, 5, 0, 5, 24, 10, 0, 1, 2, 5, 0, 9, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 24, 11, 0, 5, 11, 0, 24, 5, 0, 24, 0, 5, 0, 5, 0, 5, 6, 0, 6, 0, 6, 5, 0, 5, 0, 5, 0, 6, 0, 6, 11, 0, 24, 0, 5, 11, 24, 0, 5, 0, 24, 5, 0, 11, 5, 0, 11, 0, 5, 0, 11, 0, 8, 6, 8, 5, 6, 24, 0, 11, 9, 0, 6, 8, 5, 8, 6, 8, 6, 24, 16, 24, 0, 5, 0, 9, 0, 6, 5, 6, 8, 6, 0, 9, 24, 0, 6, 8, 5, 8, 6, 8, 5, 24, 0, 9, 0, 5, 6, 8, 6, 8, 6, 8, 6, 0, 9, 0, 5, 0, 10, 0, 24, 0, 5, 0, 5, 0, 5, 0, 5, 8, 0, 6, 4, 0, 5, 0, 28, 0, 28, 0, 28, 8, 6, 28, 8, 16, 6, 28, 6, 28, 6, 28, 0, 28, 6, 28, 0, 28, 0, 11, 0, 1, 2, 1, 2, 0, 2, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 0, 2, 0, 2, 0, 2, 1, 2, 1, 0, 1, 0, 1, 0, 1, 0, 2, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 1, 25, 2, 25, 2, 1, 25, 2, 25, 2, 1, 25, 2, 25, 2, 1, 25, 2, 25, 2, 1, 25, 2, 25, 2, 1, 2, 0, 9, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 25, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 11, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 28, 0, 5, 0, 5, 0, 5, 0, 5, 0, 16, 0, 16, 0, 6, 0, 18, 0, 18, 0]); var len = $uI(xs.array$6.length); var array = $newArrayObject($d_B.getArrayOf(), [len]); var elem$1 = 0; elem$1 = 0; var this$5 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(xs, 0, $uI(xs.array$6.length)); while (this$5.hasNext__Z()) { var arg1 = this$5.next__O(); array.u[elem$1] = $uB(arg1); elem$1 = ((1 + elem$1) | 0) }; this.charTypes$1 = array; this.bitmap$0$1 = (4 | this.bitmap$0$1) }; return this.charTypes$1 }); $c_jl_Character$.prototype.getTypeGE256__p1__I__B = (function(codePoint) { var idx = ((1 + $m_ju_Arrays$().binarySearch__AI__I__I(this.charTypeIndices__p1__AI(), codePoint)) | 0); return this.charTypes__p1__AB().u[((idx < 0) ? ((-idx) | 0) : idx)] }); $c_jl_Character$.prototype.charTypes__p1__AB = (function() { return (((4 & this.bitmap$0$1) === 0) ? this.charTypes$lzycompute__p1__AB() : this.charTypes$1) }); $c_jl_Character$.prototype.java$lang$Character$$charTypesFirst256__AB = (function() { return (((1 & this.bitmap$0$1) === 0) ? this.java$lang$Character$$charTypesFirst256$lzycompute__p1__AB() : this.java$lang$Character$$charTypesFirst256$1) }); $c_jl_Character$.prototype.isUpperCase__I__Z = (function(c) { return ((((c >= 8544) && (c <= 8559)) || ((c >= 9398) && (c <= 9423))) || (this.getType__I__I(c) === 1)) }); $c_jl_Character$.prototype.java$lang$Character$$charTypesFirst256$lzycompute__p1__AB = (function() { if (((1 & this.bitmap$0$1) === 0)) { var xs = new $c_sjs_js_WrappedArray().init___sjs_js_Array([15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 24, 24, 24, 26, 24, 24, 24, 21, 22, 24, 25, 24, 20, 24, 24, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 24, 24, 25, 25, 25, 24, 24, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 21, 24, 22, 27, 23, 27, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 21, 25, 22, 25, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 24, 26, 26, 26, 26, 28, 24, 27, 28, 5, 29, 25, 16, 28, 27, 28, 25, 11, 11, 27, 2, 24, 24, 27, 11, 5, 30, 11, 11, 11, 24, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 25, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 25, 2, 2, 2, 2, 2, 2, 2, 2]); var len = $uI(xs.array$6.length); var array = $newArrayObject($d_B.getArrayOf(), [len]); var elem$1 = 0; elem$1 = 0; var this$5 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(xs, 0, $uI(xs.array$6.length)); while (this$5.hasNext__Z()) { var arg1 = this$5.next__O(); array.u[elem$1] = $uB(arg1); elem$1 = ((1 + elem$1) | 0) }; this.java$lang$Character$$charTypesFirst256$1 = array; this.bitmap$0$1 = (1 | this.bitmap$0$1) }; return this.java$lang$Character$$charTypesFirst256$1 }); $c_jl_Character$.prototype.uncompressDeltas__p1__AI__AI = (function(deltas) { var end = deltas.u.length; var isEmpty$4 = (end <= 1); if (isEmpty$4) { /*<skip>*/ }; var lastElement$4 = (isEmpty$4 ? 0 : (((-1) + end) | 0)); inlinereturn$8: { if ((!isEmpty$4)) { var i = 1; while (true) { var v1 = i; deltas.u[v1] = ((deltas.u[v1] + deltas.u[(((-1) + v1) | 0)]) | 0); if ((i === lastElement$4)) { break inlinereturn$8 }; i = ((1 + i) | 0) } } }; return deltas }); $c_jl_Character$.prototype.isLowerCase__I__Z = (function(c) { return ((c < 256) ? (((c === 170) || (c === 186)) || (this.java$lang$Character$$charTypesFirst256__AB().u[c] === 2)) : this.isLowerCaseGE256__p1__I__Z(c)) }); var $d_jl_Character$ = new $TypeData().initClass({ jl_Character$: 0 }, false, "java.lang.Character$", { jl_Character$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_jl_Character$.prototype.$classData = $d_jl_Character$; var $n_jl_Character$ = (void 0); function $m_jl_Character$() { if ((!$n_jl_Character$)) { $n_jl_Character$ = new $c_jl_Character$().init___() }; return $n_jl_Character$ } /** @constructor */ function $c_jl_Double$() { $c_O.call(this); this.TYPE$1 = null; this.POSITIVE$undINFINITY$1 = 0.0; this.NEGATIVE$undINFINITY$1 = 0.0; this.NaN$1 = 0.0; this.MAX$undVALUE$1 = 0.0; this.MIN$undVALUE$1 = 0.0; this.MAX$undEXPONENT$1 = 0; this.MIN$undEXPONENT$1 = 0; this.SIZE$1 = 0; this.doubleStrPat$1 = null; this.bitmap$0$1 = false } $c_jl_Double$.prototype = new $h_O(); $c_jl_Double$.prototype.constructor = $c_jl_Double$; /** @constructor */ function $h_jl_Double$() { /*<skip>*/ } $h_jl_Double$.prototype = $c_jl_Double$.prototype; $c_jl_Double$.prototype.init___ = (function() { return this }); $c_jl_Double$.prototype.compare__D__D__I = (function(a, b) { if ((a !== a)) { return ((b !== b) ? 0 : 1) } else if ((b !== b)) { return (-1) } else if ((a === b)) { if ((a === 0.0)) { var ainf = (1.0 / a); return ((ainf === (1.0 / b)) ? 0 : ((ainf < 0) ? (-1) : 1)) } else { return 0 } } else { return ((a < b) ? (-1) : 1) } }); var $d_jl_Double$ = new $TypeData().initClass({ jl_Double$: 0 }, false, "java.lang.Double$", { jl_Double$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_jl_Double$.prototype.$classData = $d_jl_Double$; var $n_jl_Double$ = (void 0); function $m_jl_Double$() { if ((!$n_jl_Double$)) { $n_jl_Double$ = new $c_jl_Double$().init___() }; return $n_jl_Double$ } /** @constructor */ function $c_jl_Error() { $c_jl_Throwable.call(this) } $c_jl_Error.prototype = new $h_jl_Throwable(); $c_jl_Error.prototype.constructor = $c_jl_Error; /** @constructor */ function $h_jl_Error() { /*<skip>*/ } $h_jl_Error.prototype = $c_jl_Error.prototype; /** @constructor */ function $c_jl_Exception() { $c_jl_Throwable.call(this) } $c_jl_Exception.prototype = new $h_jl_Throwable(); $c_jl_Exception.prototype.constructor = $c_jl_Exception; /** @constructor */ function $h_jl_Exception() { /*<skip>*/ } $h_jl_Exception.prototype = $c_jl_Exception.prototype; function $is_jl_Exception(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_Exception))) } function $as_jl_Exception(obj) { return (($is_jl_Exception(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.Exception")) } function $isArrayOf_jl_Exception(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Exception))) } function $asArrayOf_jl_Exception(obj, depth) { return (($isArrayOf_jl_Exception(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Exception;", depth)) } /** @constructor */ function $c_jl_Integer$() { $c_O.call(this); this.TYPE$1 = null; this.MIN$undVALUE$1 = 0; this.MAX$undVALUE$1 = 0; this.SIZE$1 = 0; this.BYTES$1 = 0 } $c_jl_Integer$.prototype = new $h_O(); $c_jl_Integer$.prototype.constructor = $c_jl_Integer$; /** @constructor */ function $h_jl_Integer$() { /*<skip>*/ } $h_jl_Integer$.prototype = $c_jl_Integer$.prototype; $c_jl_Integer$.prototype.init___ = (function() { return this }); $c_jl_Integer$.prototype.fail$1__p1__T__sr_Nothing$ = (function(s$1) { throw new $c_jl_NumberFormatException().init___T(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["For input string: \"", "\""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([s$1]))) }); $c_jl_Integer$.prototype.parseInt__T__I__I = (function(s, radix) { if ((s === null)) { var jsx$1 = true } else { var this$2 = new $c_sci_StringOps().init___T(s); var $$this = this$2.repr$1; var jsx$1 = ($uI($$this.length) === 0) }; if (((jsx$1 || (radix < 2)) || (radix > 36))) { this.fail$1__p1__T__sr_Nothing$(s) } else { var i = ((((65535 & $uI(s.charCodeAt(0))) === 45) || ((65535 & $uI(s.charCodeAt(0))) === 43)) ? 1 : 0); var this$12 = new $c_sci_StringOps().init___T(s); var $$this$1 = this$12.repr$1; if (($uI($$this$1.length) <= i)) { this.fail$1__p1__T__sr_Nothing$(s) } else { while (true) { var jsx$2 = i; var this$16 = new $c_sci_StringOps().init___T(s); var $$this$2 = this$16.repr$1; if ((jsx$2 < $uI($$this$2.length))) { var jsx$3 = $m_jl_Character$(); var index = i; if ((jsx$3.digit__C__I__I((65535 & $uI(s.charCodeAt(index))), radix) < 0)) { this.fail$1__p1__T__sr_Nothing$(s) }; i = ((1 + i) | 0) } else { break } }; var res = $uD($g.parseInt(s, radix)); return (((res !== res) || ((res > 2147483647) || (res < (-2147483648)))) ? this.fail$1__p1__T__sr_Nothing$(s) : $doubleToInt(res)) } } }); $c_jl_Integer$.prototype.bitCount__I__I = (function(i) { var t1 = ((i - (1431655765 & (i >> 1))) | 0); var t2 = (((858993459 & t1) + (858993459 & (t1 >> 2))) | 0); return ($imul(16843009, (252645135 & ((t2 + (t2 >> 4)) | 0))) >> 24) }); $c_jl_Integer$.prototype.reverseBytes__I__I = (function(i) { var byte3 = ((i >>> 24) | 0); var byte2 = (65280 & ((i >>> 8) | 0)); var byte1 = (16711680 & (i << 8)); var byte0 = (i << 24); return (((byte0 | byte1) | byte2) | byte3) }); var $d_jl_Integer$ = new $TypeData().initClass({ jl_Integer$: 0 }, false, "java.lang.Integer$", { jl_Integer$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_jl_Integer$.prototype.$classData = $d_jl_Integer$; var $n_jl_Integer$ = (void 0); function $m_jl_Integer$() { if ((!$n_jl_Integer$)) { $n_jl_Integer$ = new $c_jl_Integer$().init___() }; return $n_jl_Integer$ } /** @constructor */ function $c_ju_regex_Pattern() { $c_O.call(this); this.jsRegExp$1 = null; this.$$undpattern$1 = null; this.$$undflags$1 = 0 } $c_ju_regex_Pattern.prototype = new $h_O(); $c_ju_regex_Pattern.prototype.constructor = $c_ju_regex_Pattern; /** @constructor */ function $h_ju_regex_Pattern() { /*<skip>*/ } $h_ju_regex_Pattern.prototype = $c_ju_regex_Pattern.prototype; $c_ju_regex_Pattern.prototype.init___sjs_js_RegExp__T__I = (function(jsRegExp, _pattern, _flags) { this.jsRegExp$1 = jsRegExp; this.$$undpattern$1 = _pattern; this.$$undflags$1 = _flags; return this }); $c_ju_regex_Pattern.prototype.toString__T = (function() { return this.$$undpattern$1 }); $c_ju_regex_Pattern.prototype.split__jl_CharSequence__I__AT = (function(input, limit) { var lim = ((limit > 0) ? limit : 2147483647); var result = []; var inputStr = $objectToString(input); var matcher = new $c_ju_regex_Matcher().init___ju_regex_Pattern__jl_CharSequence__I__I(this, inputStr, 0, $uI(inputStr.length)); var prevEnd = 0; while ((($uI(result.length) < (((-1) + lim) | 0)) && matcher.find__Z())) { var beginIndex = prevEnd; var endIndex = matcher.start__I(); result.push($as_T(inputStr.substring(beginIndex, endIndex))); prevEnd = matcher.end__I() }; var beginIndex$1 = prevEnd; result.push($as_T(inputStr.substring(beginIndex$1))); if ((((prevEnd === 0) && ($uI(result.length) === 2)) && ((lim > 2) || (!matcher.find__Z())))) { var xs = new $c_sjs_js_WrappedArray().init___sjs_js_Array([inputStr]); var len = $uI(xs.array$6.length); var array = $newArrayObject($d_T.getArrayOf(), [len]); var elem$1 = 0; elem$1 = 0; var this$9 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(xs, 0, $uI(xs.array$6.length)); while (this$9.hasNext__Z()) { var arg1 = this$9.next__O(); array.u[elem$1] = arg1; elem$1 = ((1 + elem$1) | 0) }; return array } else { var len$1 = $uI(result.length); if ((limit === 0)) { while (true) { if ((len$1 > 1)) { var thiz = $as_T(result[(((-1) + len$1) | 0)]); if ((thiz === null)) { var jsx$2; throw new $c_jl_NullPointerException().init___() } else { var jsx$2 = thiz }; var jsx$1 = (jsx$2 === "") } else { var jsx$1 = false }; if (jsx$1) { len$1 = (((-1) + len$1) | 0) } else { break } } }; var actualResult = $newArrayObject($d_T.getArrayOf(), [len$1]); var len$2 = actualResult.u.length; var i = 0; var j = 0; var x = $uI(result.length); var x$1 = ((x < len$2) ? x : len$2); var that = actualResult.u.length; var end = ((x$1 < that) ? x$1 : that); while ((i < end)) { var jsx$3 = j; var index = i; actualResult.u[jsx$3] = result[index]; i = ((1 + i) | 0); j = ((1 + j) | 0) }; return actualResult } }); $c_ju_regex_Pattern.prototype.newJSRegExp__sjs_js_RegExp = (function() { var r = new $g.RegExp(this.jsRegExp$1); if ((r !== this.jsRegExp$1)) { return r } else { var jsFlags = ((($uZ(this.jsRegExp$1.global) ? "g" : "") + ($uZ(this.jsRegExp$1.ignoreCase) ? "i" : "")) + ($uZ(this.jsRegExp$1.multiline) ? "m" : "")); return new $g.RegExp($as_T(this.jsRegExp$1.source), jsFlags) } }); var $d_ju_regex_Pattern = new $TypeData().initClass({ ju_regex_Pattern: 0 }, false, "java.util.regex.Pattern", { ju_regex_Pattern: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_ju_regex_Pattern.prototype.$classData = $d_ju_regex_Pattern; /** @constructor */ function $c_ju_regex_Pattern$() { $c_O.call(this); this.UNIX$undLINES$1 = 0; this.CASE$undINSENSITIVE$1 = 0; this.COMMENTS$1 = 0; this.MULTILINE$1 = 0; this.LITERAL$1 = 0; this.DOTALL$1 = 0; this.UNICODE$undCASE$1 = 0; this.CANON$undEQ$1 = 0; this.UNICODE$undCHARACTER$undCLASS$1 = 0; this.java$util$regex$Pattern$$splitHackPat$1 = null; this.java$util$regex$Pattern$$flagHackPat$1 = null } $c_ju_regex_Pattern$.prototype = new $h_O(); $c_ju_regex_Pattern$.prototype.constructor = $c_ju_regex_Pattern$; /** @constructor */ function $h_ju_regex_Pattern$() { /*<skip>*/ } $h_ju_regex_Pattern$.prototype = $c_ju_regex_Pattern$.prototype; $c_ju_regex_Pattern$.prototype.init___ = (function() { $n_ju_regex_Pattern$ = this; this.java$util$regex$Pattern$$splitHackPat$1 = new $g.RegExp("^\\\\Q(.|\\n|\\r)\\\\E$"); this.java$util$regex$Pattern$$flagHackPat$1 = new $g.RegExp("^\\(\\?([idmsuxU]*)(?:-([idmsuxU]*))?\\)"); return this }); $c_ju_regex_Pattern$.prototype.compile__T__I__ju_regex_Pattern = (function(regex, flags) { if (((16 & flags) !== 0)) { var x1 = new $c_T2().init___O__O(this.quote__T__T(regex), flags) } else { var m = this.java$util$regex$Pattern$$splitHackPat$1.exec(regex); if ((m !== null)) { var value = m[1]; if ((value === (void 0))) { var jsx$1; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$1 = value }; var this$4 = new $c_s_Some().init___O(new $c_T2().init___O__O(this.quote__T__T($as_T(jsx$1)), flags)) } else { var this$4 = $m_s_None$() }; if (this$4.isEmpty__Z()) { var m$1 = this.java$util$regex$Pattern$$flagHackPat$1.exec(regex); if ((m$1 !== null)) { var value$1 = m$1[0]; if ((value$1 === (void 0))) { var jsx$2; throw new $c_ju_NoSuchElementException().init___T("undefined.get") } else { var jsx$2 = value$1 }; var thiz = $as_T(jsx$2); var beginIndex = $uI(thiz.length); var newPat = $as_T(regex.substring(beginIndex)); var value$2 = m$1[1]; if ((value$2 === (void 0))) { var flags1 = flags } else { var chars = $as_T(value$2); var this$15 = new $c_sci_StringOps().init___T(chars); var start = 0; var $$this = this$15.repr$1; var end = $uI($$this.length); var z = flags; x: { var jsx$3; _foldl: while (true) { if ((start === end)) { var jsx$3 = z; break x } else { var temp$start = ((1 + start) | 0); var arg1 = z; var arg2 = this$15.apply__I__O(start); var f = $uI(arg1); if ((arg2 === null)) { var c = 0 } else { var this$19 = $as_jl_Character(arg2); var c = this$19.value$1 }; var temp$z = (f | this.java$util$regex$Pattern$$charToFlag__C__I(c)); start = temp$start; z = temp$z; continue _foldl } } }; var flags1 = $uI(jsx$3) }; var value$3 = m$1[2]; if ((value$3 === (void 0))) { var flags2 = flags1 } else { var chars$3 = $as_T(value$3); var this$24 = new $c_sci_StringOps().init___T(chars$3); var start$1 = 0; var $$this$1 = this$24.repr$1; var end$1 = $uI($$this$1.length); var z$1 = flags1; x$1: { var jsx$4; _foldl$1: while (true) { if ((start$1 === end$1)) { var jsx$4 = z$1; break x$1 } else { var temp$start$1 = ((1 + start$1) | 0); var arg1$1 = z$1; var arg2$1 = this$24.apply__I__O(start$1); var f$1 = $uI(arg1$1); if ((arg2$1 === null)) { var c$1 = 0 } else { var this$28 = $as_jl_Character(arg2$1); var c$1 = this$28.value$1 }; var temp$z$1 = (f$1 & (~this.java$util$regex$Pattern$$charToFlag__C__I(c$1))); start$1 = temp$start$1; z$1 = temp$z$1; continue _foldl$1 } } }; var flags2 = $uI(jsx$4) }; var this$29 = new $c_s_Some().init___O(new $c_T2().init___O__O(newPat, flags2)) } else { var this$29 = $m_s_None$() } } else { var this$29 = this$4 }; var x1 = $as_T2((this$29.isEmpty__Z() ? new $c_T2().init___O__O(regex, flags) : this$29.get__O())) }; if ((x1 !== null)) { var jsPattern = $as_T(x1.$$und1__O()); var flags1$1 = x1.$$und2$mcI$sp__I(); var x$1_$_$$und1$f = jsPattern; var x$1_$_$$und2$f = flags1$1 } else { var x$1_$_$$und1$f; var x$1_$_$$und2$f; throw new $c_s_MatchError().init___O(x1) }; var jsPattern$2 = $as_T(x$1_$_$$und1$f); var flags1$2 = $uI(x$1_$_$$und2$f); var jsFlags = (("g" + (((2 & flags1$2) !== 0) ? "i" : "")) + (((8 & flags1$2) !== 0) ? "m" : "")); var jsRegExp = new $g.RegExp(jsPattern$2, jsFlags); return new $c_ju_regex_Pattern().init___sjs_js_RegExp__T__I(jsRegExp, regex, flags1$2) }); $c_ju_regex_Pattern$.prototype.quote__T__T = (function(s) { var result = ""; var i = 0; while ((i < $uI(s.length))) { var index = i; var c = (65535 & $uI(s.charCodeAt(index))); var jsx$2 = result; switch (c) { case 92: case 46: case 40: case 41: case 91: case 93: case 123: case 125: case 124: case 63: case 42: case 43: case 94: case 36: { var jsx$1 = ("\\" + new $c_jl_Character().init___C(c)); break } default: { var jsx$1 = new $c_jl_Character().init___C(c) } }; result = (("" + jsx$2) + jsx$1); i = ((1 + i) | 0) }; return result }); $c_ju_regex_Pattern$.prototype.java$util$regex$Pattern$$charToFlag__C__I = (function(c) { switch (c) { case 105: { return 2; break } case 100: { return 1; break } case 109: { return 8; break } case 115: { return 32; break } case 117: { return 64; break } case 120: { return 4; break } case 85: { return 256; break } default: { $m_s_sys_package$().error__T__sr_Nothing$("bad in-pattern flag") } } }); var $d_ju_regex_Pattern$ = new $TypeData().initClass({ ju_regex_Pattern$: 0 }, false, "java.util.regex.Pattern$", { ju_regex_Pattern$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_ju_regex_Pattern$.prototype.$classData = $d_ju_regex_Pattern$; var $n_ju_regex_Pattern$ = (void 0); function $m_ju_regex_Pattern$() { if ((!$n_ju_regex_Pattern$)) { $n_ju_regex_Pattern$ = new $c_ju_regex_Pattern$().init___() }; return $n_ju_regex_Pattern$ } /** @constructor */ function $c_s_Console$() { $c_s_DeprecatedConsole.call(this); this.outVar$2 = null; this.errVar$2 = null; this.inVar$2 = null } $c_s_Console$.prototype = new $h_s_DeprecatedConsole(); $c_s_Console$.prototype.constructor = $c_s_Console$; /** @constructor */ function $h_s_Console$() { /*<skip>*/ } $h_s_Console$.prototype = $c_s_Console$.prototype; $c_s_Console$.prototype.init___ = (function() { $n_s_Console$ = this; this.outVar$2 = new $c_s_util_DynamicVariable().init___O($m_jl_System$().out$1); this.errVar$2 = new $c_s_util_DynamicVariable().init___O($m_jl_System$().err$1); this.inVar$2 = new $c_s_util_DynamicVariable().init___O(null); return this }); var $d_s_Console$ = new $TypeData().initClass({ s_Console$: 0 }, false, "scala.Console$", { s_Console$: 1, s_DeprecatedConsole: 1, O: 1, s_io_AnsiColor: 1 }); $c_s_Console$.prototype.$classData = $d_s_Console$; var $n_s_Console$ = (void 0); function $m_s_Console$() { if ((!$n_s_Console$)) { $n_s_Console$ = new $c_s_Console$().init___() }; return $n_s_Console$ } /** @constructor */ function $c_s_PartialFunction$$anon$1() { $c_O.call(this); this.lift$1 = null } $c_s_PartialFunction$$anon$1.prototype = new $h_O(); $c_s_PartialFunction$$anon$1.prototype.constructor = $c_s_PartialFunction$$anon$1; /** @constructor */ function $h_s_PartialFunction$$anon$1() { /*<skip>*/ } $h_s_PartialFunction$$anon$1.prototype = $c_s_PartialFunction$$anon$1.prototype; $c_s_PartialFunction$$anon$1.prototype.init___ = (function() { this.lift$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) { return (function(x$2) { return $m_s_None$() }) })(this)); return this }); $c_s_PartialFunction$$anon$1.prototype.apply__O__O = (function(v1) { this.apply__O__sr_Nothing$(v1) }); $c_s_PartialFunction$$anon$1.prototype.toString__T = (function() { return "<function1>" }); $c_s_PartialFunction$$anon$1.prototype.apply$mcZI$sp__I__Z = (function(v1) { return $uZ(this.apply__O__sr_Nothing$(v1)) }); $c_s_PartialFunction$$anon$1.prototype.isDefinedAt__O__Z = (function(x) { return false }); $c_s_PartialFunction$$anon$1.prototype.applyOrElse__O__F1__O = (function(x, $default) { return $s_s_PartialFunction$class__applyOrElse__s_PartialFunction__O__F1__O(this, x, $default) }); $c_s_PartialFunction$$anon$1.prototype.apply__O__sr_Nothing$ = (function(x) { throw new $c_s_MatchError().init___O(x) }); var $d_s_PartialFunction$$anon$1 = new $TypeData().initClass({ s_PartialFunction$$anon$1: 0 }, false, "scala.PartialFunction$$anon$1", { s_PartialFunction$$anon$1: 1, O: 1, s_PartialFunction: 1, F1: 1 }); $c_s_PartialFunction$$anon$1.prototype.$classData = $d_s_PartialFunction$$anon$1; /** @constructor */ function $c_s_PartialFunction$Lifted() { $c_sr_AbstractFunction1.call(this); this.pf$2 = null } $c_s_PartialFunction$Lifted.prototype = new $h_sr_AbstractFunction1(); $c_s_PartialFunction$Lifted.prototype.constructor = $c_s_PartialFunction$Lifted; /** @constructor */ function $h_s_PartialFunction$Lifted() { /*<skip>*/ } $h_s_PartialFunction$Lifted.prototype = $c_s_PartialFunction$Lifted.prototype; $c_s_PartialFunction$Lifted.prototype.apply__O__O = (function(v1) { return this.apply__O__s_Option(v1) }); $c_s_PartialFunction$Lifted.prototype.init___s_PartialFunction = (function(pf) { this.pf$2 = pf; return this }); $c_s_PartialFunction$Lifted.prototype.apply__O__s_Option = (function(x) { var z = this.pf$2.applyOrElse__O__F1__O(x, $m_s_PartialFunction$().scala$PartialFunction$$fallback$undpf$f); return ((!$m_s_PartialFunction$().scala$PartialFunction$$fallbackOccurred__O__Z(z)) ? new $c_s_Some().init___O(z) : $m_s_None$()) }); var $d_s_PartialFunction$Lifted = new $TypeData().initClass({ s_PartialFunction$Lifted: 0 }, false, "scala.PartialFunction$Lifted", { s_PartialFunction$Lifted: 1, sr_AbstractFunction1: 1, O: 1, F1: 1 }); $c_s_PartialFunction$Lifted.prototype.$classData = $d_s_PartialFunction$Lifted; /** @constructor */ function $c_s_Predef$() { $c_s_LowPriorityImplicits.call(this); this.Map$2 = null; this.Set$2 = null; this.ClassManifest$2 = null; this.Manifest$2 = null; this.NoManifest$2 = null; this.StringCanBuildFrom$2 = null; this.singleton$und$less$colon$less$2 = null; this.scala$Predef$$singleton$und$eq$colon$eq$f = null } $c_s_Predef$.prototype = new $h_s_LowPriorityImplicits(); $c_s_Predef$.prototype.constructor = $c_s_Predef$; /** @constructor */ function $h_s_Predef$() { /*<skip>*/ } $h_s_Predef$.prototype = $c_s_Predef$.prototype; $c_s_Predef$.prototype.init___ = (function() { $n_s_Predef$ = this; $m_s_package$(); $m_sci_List$(); this.Map$2 = $m_sci_Map$(); this.Set$2 = $m_sci_Set$(); this.ClassManifest$2 = $m_s_reflect_package$().ClassManifest$1; this.Manifest$2 = $m_s_reflect_package$().Manifest$1; this.NoManifest$2 = $m_s_reflect_NoManifest$(); this.StringCanBuildFrom$2 = new $c_s_Predef$$anon$3().init___(); this.singleton$und$less$colon$less$2 = new $c_s_Predef$$anon$1().init___(); this.scala$Predef$$singleton$und$eq$colon$eq$f = new $c_s_Predef$$anon$2().init___(); return this }); $c_s_Predef$.prototype.assert__Z__V = (function(assertion) { if ((!assertion)) { throw new $c_jl_AssertionError().init___O("assertion failed") } }); $c_s_Predef$.prototype.require__Z__V = (function(requirement) { if ((!requirement)) { throw new $c_jl_IllegalArgumentException().init___T("requirement failed") } }); $c_s_Predef$.prototype.ArrowAssoc__O__O = (function(self) { return self }); var $d_s_Predef$ = new $TypeData().initClass({ s_Predef$: 0 }, false, "scala.Predef$", { s_Predef$: 1, s_LowPriorityImplicits: 1, O: 1, s_DeprecatedPredef: 1 }); $c_s_Predef$.prototype.$classData = $d_s_Predef$; var $n_s_Predef$ = (void 0); function $m_s_Predef$() { if ((!$n_s_Predef$)) { $n_s_Predef$ = new $c_s_Predef$().init___() }; return $n_s_Predef$ } /** @constructor */ function $c_s_StringContext$() { $c_O.call(this) } $c_s_StringContext$.prototype = new $h_O(); $c_s_StringContext$.prototype.constructor = $c_s_StringContext$; /** @constructor */ function $h_s_StringContext$() { /*<skip>*/ } $h_s_StringContext$.prototype = $c_s_StringContext$.prototype; $c_s_StringContext$.prototype.init___ = (function() { return this }); $c_s_StringContext$.prototype.treatEscapes0__p1__T__Z__T = (function(str, strict) { var len = $uI(str.length); var x1 = $m_sjsr_RuntimeString$().indexOf__T__I__I(str, 92); switch (x1) { case (-1): { return str; break } default: { return this.replace$1__p1__I__T__Z__I__T(x1, str, strict, len) } } }); $c_s_StringContext$.prototype.loop$1__p1__I__I__T__Z__I__jl_StringBuilder__T = (function(i, next, str$1, strict$1, len$1, b$1) { _loop: while (true) { if ((next >= 0)) { if ((next > i)) { b$1.append__jl_CharSequence__I__I__jl_StringBuilder(str$1, i, next) }; var idx = ((1 + next) | 0); if ((idx >= len$1)) { throw new $c_s_StringContext$InvalidEscapeException().init___T__I(str$1, next) }; var index = idx; var x1 = (65535 & $uI(str$1.charCodeAt(index))); switch (x1) { case 98: { var c = 8; break } case 116: { var c = 9; break } case 110: { var c = 10; break } case 102: { var c = 12; break } case 114: { var c = 13; break } case 34: { var c = 34; break } case 39: { var c = 39; break } case 92: { var c = 92; break } default: { if (((x1 >= 48) && (x1 <= 55))) { if (strict$1) { throw new $c_s_StringContext$InvalidEscapeException().init___T__I(str$1, next) }; var index$1 = idx; var leadch = (65535 & $uI(str$1.charCodeAt(index$1))); var oct = (((-48) + leadch) | 0); idx = ((1 + idx) | 0); if ((idx < len$1)) { var index$2 = idx; var jsx$2 = ((65535 & $uI(str$1.charCodeAt(index$2))) >= 48) } else { var jsx$2 = false }; if (jsx$2) { var index$3 = idx; var jsx$1 = ((65535 & $uI(str$1.charCodeAt(index$3))) <= 55) } else { var jsx$1 = false }; if (jsx$1) { var jsx$3 = oct; var index$4 = idx; oct = (((-48) + (($imul(8, jsx$3) + (65535 & $uI(str$1.charCodeAt(index$4)))) | 0)) | 0); idx = ((1 + idx) | 0); if (((idx < len$1) && (leadch <= 51))) { var index$5 = idx; var jsx$5 = ((65535 & $uI(str$1.charCodeAt(index$5))) >= 48) } else { var jsx$5 = false }; if (jsx$5) { var index$6 = idx; var jsx$4 = ((65535 & $uI(str$1.charCodeAt(index$6))) <= 55) } else { var jsx$4 = false }; if (jsx$4) { var jsx$6 = oct; var index$7 = idx; oct = (((-48) + (($imul(8, jsx$6) + (65535 & $uI(str$1.charCodeAt(index$7)))) | 0)) | 0); idx = ((1 + idx) | 0) } }; idx = (((-1) + idx) | 0); var c = (65535 & oct) } else { var c; throw new $c_s_StringContext$InvalidEscapeException().init___T__I(str$1, next) } } }; idx = ((1 + idx) | 0); b$1.append__C__jl_StringBuilder(c); var temp$i = idx; var temp$next = $m_sjsr_RuntimeString$().indexOf__T__I__I__I(str$1, 92, idx); i = temp$i; next = temp$next; continue _loop } else { if ((i < len$1)) { b$1.append__jl_CharSequence__I__I__jl_StringBuilder(str$1, i, len$1) }; return b$1.content$1 } } }); $c_s_StringContext$.prototype.replace$1__p1__I__T__Z__I__T = (function(first, str$1, strict$1, len$1) { var b = new $c_jl_StringBuilder().init___(); return this.loop$1__p1__I__I__T__Z__I__jl_StringBuilder__T(0, first, str$1, strict$1, len$1, b) }); var $d_s_StringContext$ = new $TypeData().initClass({ s_StringContext$: 0 }, false, "scala.StringContext$", { s_StringContext$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_StringContext$.prototype.$classData = $d_s_StringContext$; var $n_s_StringContext$ = (void 0); function $m_s_StringContext$() { if ((!$n_s_StringContext$)) { $n_s_StringContext$ = new $c_s_StringContext$().init___() }; return $n_s_StringContext$ } /** @constructor */ function $c_s_math_Fractional$() { $c_O.call(this) } $c_s_math_Fractional$.prototype = new $h_O(); $c_s_math_Fractional$.prototype.constructor = $c_s_math_Fractional$; /** @constructor */ function $h_s_math_Fractional$() { /*<skip>*/ } $h_s_math_Fractional$.prototype = $c_s_math_Fractional$.prototype; $c_s_math_Fractional$.prototype.init___ = (function() { return this }); var $d_s_math_Fractional$ = new $TypeData().initClass({ s_math_Fractional$: 0 }, false, "scala.math.Fractional$", { s_math_Fractional$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Fractional$.prototype.$classData = $d_s_math_Fractional$; var $n_s_math_Fractional$ = (void 0); function $m_s_math_Fractional$() { if ((!$n_s_math_Fractional$)) { $n_s_math_Fractional$ = new $c_s_math_Fractional$().init___() }; return $n_s_math_Fractional$ } /** @constructor */ function $c_s_math_Integral$() { $c_O.call(this) } $c_s_math_Integral$.prototype = new $h_O(); $c_s_math_Integral$.prototype.constructor = $c_s_math_Integral$; /** @constructor */ function $h_s_math_Integral$() { /*<skip>*/ } $h_s_math_Integral$.prototype = $c_s_math_Integral$.prototype; $c_s_math_Integral$.prototype.init___ = (function() { return this }); var $d_s_math_Integral$ = new $TypeData().initClass({ s_math_Integral$: 0 }, false, "scala.math.Integral$", { s_math_Integral$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Integral$.prototype.$classData = $d_s_math_Integral$; var $n_s_math_Integral$ = (void 0); function $m_s_math_Integral$() { if ((!$n_s_math_Integral$)) { $n_s_math_Integral$ = new $c_s_math_Integral$().init___() }; return $n_s_math_Integral$ } /** @constructor */ function $c_s_math_Numeric$() { $c_O.call(this) } $c_s_math_Numeric$.prototype = new $h_O(); $c_s_math_Numeric$.prototype.constructor = $c_s_math_Numeric$; /** @constructor */ function $h_s_math_Numeric$() { /*<skip>*/ } $h_s_math_Numeric$.prototype = $c_s_math_Numeric$.prototype; $c_s_math_Numeric$.prototype.init___ = (function() { return this }); var $d_s_math_Numeric$ = new $TypeData().initClass({ s_math_Numeric$: 0 }, false, "scala.math.Numeric$", { s_math_Numeric$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Numeric$.prototype.$classData = $d_s_math_Numeric$; var $n_s_math_Numeric$ = (void 0); function $m_s_math_Numeric$() { if ((!$n_s_math_Numeric$)) { $n_s_math_Numeric$ = new $c_s_math_Numeric$().init___() }; return $n_s_math_Numeric$ } function $is_s_math_ScalaNumber(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.s_math_ScalaNumber))) } function $as_s_math_ScalaNumber(obj) { return (($is_s_math_ScalaNumber(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.math.ScalaNumber")) } function $isArrayOf_s_math_ScalaNumber(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.s_math_ScalaNumber))) } function $asArrayOf_s_math_ScalaNumber(obj, depth) { return (($isArrayOf_s_math_ScalaNumber(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.math.ScalaNumber;", depth)) } /** @constructor */ function $c_s_reflect_ClassTag$() { $c_O.call(this) } $c_s_reflect_ClassTag$.prototype = new $h_O(); $c_s_reflect_ClassTag$.prototype.constructor = $c_s_reflect_ClassTag$; /** @constructor */ function $h_s_reflect_ClassTag$() { /*<skip>*/ } $h_s_reflect_ClassTag$.prototype = $c_s_reflect_ClassTag$.prototype; $c_s_reflect_ClassTag$.prototype.init___ = (function() { return this }); $c_s_reflect_ClassTag$.prototype.apply__jl_Class__s_reflect_ClassTag = (function(runtimeClass1) { return ((runtimeClass1 === $d_B.getClassOf()) ? $m_s_reflect_ManifestFactory$ByteManifest$() : ((runtimeClass1 === $d_S.getClassOf()) ? $m_s_reflect_ManifestFactory$ShortManifest$() : ((runtimeClass1 === $d_C.getClassOf()) ? $m_s_reflect_ManifestFactory$CharManifest$() : ((runtimeClass1 === $d_I.getClassOf()) ? $m_s_reflect_ManifestFactory$IntManifest$() : ((runtimeClass1 === $d_J.getClassOf()) ? $m_s_reflect_ManifestFactory$LongManifest$() : ((runtimeClass1 === $d_F.getClassOf()) ? $m_s_reflect_ManifestFactory$FloatManifest$() : ((runtimeClass1 === $d_D.getClassOf()) ? $m_s_reflect_ManifestFactory$DoubleManifest$() : ((runtimeClass1 === $d_Z.getClassOf()) ? $m_s_reflect_ManifestFactory$BooleanManifest$() : ((runtimeClass1 === $d_V.getClassOf()) ? $m_s_reflect_ManifestFactory$UnitManifest$() : ((runtimeClass1 === $d_O.getClassOf()) ? $m_s_reflect_ManifestFactory$ObjectManifest$() : ((runtimeClass1 === $d_sr_Nothing$.getClassOf()) ? $m_s_reflect_ManifestFactory$NothingManifest$() : ((runtimeClass1 === $d_sr_Null$.getClassOf()) ? $m_s_reflect_ManifestFactory$NullManifest$() : new $c_s_reflect_ClassTag$ClassClassTag().init___jl_Class(runtimeClass1))))))))))))) }); var $d_s_reflect_ClassTag$ = new $TypeData().initClass({ s_reflect_ClassTag$: 0 }, false, "scala.reflect.ClassTag$", { s_reflect_ClassTag$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_reflect_ClassTag$.prototype.$classData = $d_s_reflect_ClassTag$; var $n_s_reflect_ClassTag$ = (void 0); function $m_s_reflect_ClassTag$() { if ((!$n_s_reflect_ClassTag$)) { $n_s_reflect_ClassTag$ = new $c_s_reflect_ClassTag$().init___() }; return $n_s_reflect_ClassTag$ } /** @constructor */ function $c_s_util_Left$() { $c_O.call(this) } $c_s_util_Left$.prototype = new $h_O(); $c_s_util_Left$.prototype.constructor = $c_s_util_Left$; /** @constructor */ function $h_s_util_Left$() { /*<skip>*/ } $h_s_util_Left$.prototype = $c_s_util_Left$.prototype; $c_s_util_Left$.prototype.init___ = (function() { return this }); $c_s_util_Left$.prototype.toString__T = (function() { return "Left" }); var $d_s_util_Left$ = new $TypeData().initClass({ s_util_Left$: 0 }, false, "scala.util.Left$", { s_util_Left$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_util_Left$.prototype.$classData = $d_s_util_Left$; var $n_s_util_Left$ = (void 0); function $m_s_util_Left$() { if ((!$n_s_util_Left$)) { $n_s_util_Left$ = new $c_s_util_Left$().init___() }; return $n_s_util_Left$ } /** @constructor */ function $c_s_util_Right$() { $c_O.call(this) } $c_s_util_Right$.prototype = new $h_O(); $c_s_util_Right$.prototype.constructor = $c_s_util_Right$; /** @constructor */ function $h_s_util_Right$() { /*<skip>*/ } $h_s_util_Right$.prototype = $c_s_util_Right$.prototype; $c_s_util_Right$.prototype.init___ = (function() { return this }); $c_s_util_Right$.prototype.toString__T = (function() { return "Right" }); var $d_s_util_Right$ = new $TypeData().initClass({ s_util_Right$: 0 }, false, "scala.util.Right$", { s_util_Right$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_util_Right$.prototype.$classData = $d_s_util_Right$; var $n_s_util_Right$ = (void 0); function $m_s_util_Right$() { if ((!$n_s_util_Right$)) { $n_s_util_Right$ = new $c_s_util_Right$().init___() }; return $n_s_util_Right$ } /** @constructor */ function $c_s_util_control_NoStackTrace$() { $c_O.call(this); this.$$undnoSuppression$1 = false } $c_s_util_control_NoStackTrace$.prototype = new $h_O(); $c_s_util_control_NoStackTrace$.prototype.constructor = $c_s_util_control_NoStackTrace$; /** @constructor */ function $h_s_util_control_NoStackTrace$() { /*<skip>*/ } $h_s_util_control_NoStackTrace$.prototype = $c_s_util_control_NoStackTrace$.prototype; $c_s_util_control_NoStackTrace$.prototype.init___ = (function() { this.$$undnoSuppression$1 = false; return this }); var $d_s_util_control_NoStackTrace$ = new $TypeData().initClass({ s_util_control_NoStackTrace$: 0 }, false, "scala.util.control.NoStackTrace$", { s_util_control_NoStackTrace$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_util_control_NoStackTrace$.prototype.$classData = $d_s_util_control_NoStackTrace$; var $n_s_util_control_NoStackTrace$ = (void 0); function $m_s_util_control_NoStackTrace$() { if ((!$n_s_util_control_NoStackTrace$)) { $n_s_util_control_NoStackTrace$ = new $c_s_util_control_NoStackTrace$().init___() }; return $n_s_util_control_NoStackTrace$ } /** @constructor */ function $c_s_util_matching_Regex() { $c_O.call(this); this.pattern$1 = null; this.scala$util$matching$Regex$$groupNames$f = null } $c_s_util_matching_Regex.prototype = new $h_O(); $c_s_util_matching_Regex.prototype.constructor = $c_s_util_matching_Regex; /** @constructor */ function $h_s_util_matching_Regex() { /*<skip>*/ } $h_s_util_matching_Regex.prototype = $c_s_util_matching_Regex.prototype; $c_s_util_matching_Regex.prototype.init___T__sc_Seq = (function(regex, groupNames) { var this$1 = $m_ju_regex_Pattern$(); $c_s_util_matching_Regex.prototype.init___ju_regex_Pattern__sc_Seq.call(this, this$1.compile__T__I__ju_regex_Pattern(regex, 0), groupNames); return this }); $c_s_util_matching_Regex.prototype.init___ju_regex_Pattern__sc_Seq = (function(pattern, groupNames) { this.pattern$1 = pattern; this.scala$util$matching$Regex$$groupNames$f = groupNames; return this }); $c_s_util_matching_Regex.prototype.toString__T = (function() { return this.pattern$1.$$undpattern$1 }); $c_s_util_matching_Regex.prototype.unapplySeq__jl_CharSequence__s_Option = (function(s) { if ((s === null)) { return $m_s_None$() } else { var this$1 = this.pattern$1; var m = new $c_ju_regex_Matcher().init___ju_regex_Pattern__jl_CharSequence__I__I(this$1, s, 0, $charSequenceLength(s)); if (m.matches__Z()) { var end = m.groupCount__I(); var this$5 = new $c_sci_Range$Inclusive().init___I__I__I(1, end, 1); var this$6 = $m_sci_List$(); var cbf = this$6.ReusableCBFInstance$2; var this$8 = $as_sci_List($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this$5, cbf)); var f = (function($this, m$1) { return (function(x$1$2) { var x$1 = $uI(x$1$2); return m$1.group__I__T(x$1) }) })(this, m); var this$7 = $m_sci_List$(); var bf = this$7.ReusableCBFInstance$2; if ((bf === $m_sci_List$().ReusableCBFInstance$2)) { if ((this$8 === $m_sci_Nil$())) { var jsx$1 = $m_sci_Nil$() } else { var arg1 = this$8.head__O(); var h = new $c_sci_$colon$colon().init___O__sci_List(f(arg1), $m_sci_Nil$()); var t = h; var rest = $as_sci_List(this$8.tail__O()); while ((rest !== $m_sci_Nil$())) { var arg1$1 = rest.head__O(); var nx = new $c_sci_$colon$colon().init___O__sci_List(f(arg1$1), $m_sci_Nil$()); t.tl$5 = nx; t = nx; rest = $as_sci_List(rest.tail__O()) }; var jsx$1 = h } } else { var b = $s_sc_TraversableLike$class__builder$1__p0__sc_TraversableLike__scg_CanBuildFrom__scm_Builder(this$8, bf); var these = this$8; while ((!these.isEmpty__Z())) { var arg1$2 = these.head__O(); b.$$plus$eq__O__scm_Builder(f(arg1$2)); these = $as_sci_List(these.tail__O()) }; var jsx$1 = b.result__O() }; return new $c_s_Some().init___O(jsx$1) } else { return $m_s_None$() } } }); var $d_s_util_matching_Regex = new $TypeData().initClass({ s_util_matching_Regex: 0 }, false, "scala.util.matching.Regex", { s_util_matching_Regex: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_util_matching_Regex.prototype.$classData = $d_s_util_matching_Regex; /** @constructor */ function $c_sc_IndexedSeq$$anon$1() { $c_scg_GenTraversableFactory$GenericCanBuildFrom.call(this) } $c_sc_IndexedSeq$$anon$1.prototype = new $h_scg_GenTraversableFactory$GenericCanBuildFrom(); $c_sc_IndexedSeq$$anon$1.prototype.constructor = $c_sc_IndexedSeq$$anon$1; /** @constructor */ function $h_sc_IndexedSeq$$anon$1() { /*<skip>*/ } $h_sc_IndexedSeq$$anon$1.prototype = $c_sc_IndexedSeq$$anon$1.prototype; $c_sc_IndexedSeq$$anon$1.prototype.init___ = (function() { $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype.init___scg_GenTraversableFactory.call(this, $m_sc_IndexedSeq$()); return this }); $c_sc_IndexedSeq$$anon$1.prototype.apply__scm_Builder = (function() { $m_sc_IndexedSeq$(); $m_sci_IndexedSeq$(); $m_sci_Vector$(); return new $c_sci_VectorBuilder().init___() }); var $d_sc_IndexedSeq$$anon$1 = new $TypeData().initClass({ sc_IndexedSeq$$anon$1: 0 }, false, "scala.collection.IndexedSeq$$anon$1", { sc_IndexedSeq$$anon$1: 1, scg_GenTraversableFactory$GenericCanBuildFrom: 1, O: 1, scg_CanBuildFrom: 1 }); $c_sc_IndexedSeq$$anon$1.prototype.$classData = $d_sc_IndexedSeq$$anon$1; /** @constructor */ function $c_scg_GenSeqFactory() { $c_scg_GenTraversableFactory.call(this) } $c_scg_GenSeqFactory.prototype = new $h_scg_GenTraversableFactory(); $c_scg_GenSeqFactory.prototype.constructor = $c_scg_GenSeqFactory; /** @constructor */ function $h_scg_GenSeqFactory() { /*<skip>*/ } $h_scg_GenSeqFactory.prototype = $c_scg_GenSeqFactory.prototype; /** @constructor */ function $c_scg_GenTraversableFactory$$anon$1() { $c_scg_GenTraversableFactory$GenericCanBuildFrom.call(this); this.$$outer$2 = null } $c_scg_GenTraversableFactory$$anon$1.prototype = new $h_scg_GenTraversableFactory$GenericCanBuildFrom(); $c_scg_GenTraversableFactory$$anon$1.prototype.constructor = $c_scg_GenTraversableFactory$$anon$1; /** @constructor */ function $h_scg_GenTraversableFactory$$anon$1() { /*<skip>*/ } $h_scg_GenTraversableFactory$$anon$1.prototype = $c_scg_GenTraversableFactory$$anon$1.prototype; $c_scg_GenTraversableFactory$$anon$1.prototype.apply__scm_Builder = (function() { return this.$$outer$2.newBuilder__scm_Builder() }); $c_scg_GenTraversableFactory$$anon$1.prototype.init___scg_GenTraversableFactory = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype.init___scg_GenTraversableFactory.call(this, $$outer); return this }); var $d_scg_GenTraversableFactory$$anon$1 = new $TypeData().initClass({ scg_GenTraversableFactory$$anon$1: 0 }, false, "scala.collection.generic.GenTraversableFactory$$anon$1", { scg_GenTraversableFactory$$anon$1: 1, scg_GenTraversableFactory$GenericCanBuildFrom: 1, O: 1, scg_CanBuildFrom: 1 }); $c_scg_GenTraversableFactory$$anon$1.prototype.$classData = $d_scg_GenTraversableFactory$$anon$1; /** @constructor */ function $c_scg_ImmutableMapFactory() { $c_scg_MapFactory.call(this) } $c_scg_ImmutableMapFactory.prototype = new $h_scg_MapFactory(); $c_scg_ImmutableMapFactory.prototype.constructor = $c_scg_ImmutableMapFactory; /** @constructor */ function $h_scg_ImmutableMapFactory() { /*<skip>*/ } $h_scg_ImmutableMapFactory.prototype = $c_scg_ImmutableMapFactory.prototype; /** @constructor */ function $c_scg_MutableMapFactory() { $c_scg_MapFactory.call(this) } $c_scg_MutableMapFactory.prototype = new $h_scg_MapFactory(); $c_scg_MutableMapFactory.prototype.constructor = $c_scg_MutableMapFactory; /** @constructor */ function $h_scg_MutableMapFactory() { /*<skip>*/ } $h_scg_MutableMapFactory.prototype = $c_scg_MutableMapFactory.prototype; $c_scg_MutableMapFactory.prototype.newBuilder__scm_Builder = (function() { return $as_scm_Builder(this.empty__sc_Map()) }); /** @constructor */ function $c_sci_$colon$colon$() { $c_O.call(this) } $c_sci_$colon$colon$.prototype = new $h_O(); $c_sci_$colon$colon$.prototype.constructor = $c_sci_$colon$colon$; /** @constructor */ function $h_sci_$colon$colon$() { /*<skip>*/ } $h_sci_$colon$colon$.prototype = $c_sci_$colon$colon$.prototype; $c_sci_$colon$colon$.prototype.init___ = (function() { return this }); $c_sci_$colon$colon$.prototype.toString__T = (function() { return "::" }); var $d_sci_$colon$colon$ = new $TypeData().initClass({ sci_$colon$colon$: 0 }, false, "scala.collection.immutable.$colon$colon$", { sci_$colon$colon$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_$colon$colon$.prototype.$classData = $d_sci_$colon$colon$; var $n_sci_$colon$colon$ = (void 0); function $m_sci_$colon$colon$() { if ((!$n_sci_$colon$colon$)) { $n_sci_$colon$colon$ = new $c_sci_$colon$colon$().init___() }; return $n_sci_$colon$colon$ } /** @constructor */ function $c_sci_Range$() { $c_O.call(this); this.MAX$undPRINT$1 = 0 } $c_sci_Range$.prototype = new $h_O(); $c_sci_Range$.prototype.constructor = $c_sci_Range$; /** @constructor */ function $h_sci_Range$() { /*<skip>*/ } $h_sci_Range$.prototype = $c_sci_Range$.prototype; $c_sci_Range$.prototype.init___ = (function() { this.MAX$undPRINT$1 = 512; return this }); $c_sci_Range$.prototype.count__I__I__I__Z__I = (function(start, end, step, isInclusive) { if ((step === 0)) { throw new $c_jl_IllegalArgumentException().init___T("step cannot be 0.") }; var isEmpty = ((start === end) ? (!isInclusive) : ((start < end) ? (step < 0) : (step > 0))); if (isEmpty) { return 0 } else { var gap = new $c_sjsr_RuntimeLong().init___I(end).$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(start)); var jumps = gap.$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(step)); var hasStub = (isInclusive || gap.$$percent__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(step)).notEquals__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong())); var result = jumps.$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I((hasStub ? 1 : 0))); return (result.$$greater__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I__I(2147483647, 0)) ? (-1) : result.lo$2) } }); $c_sci_Range$.prototype.description__p1__I__I__I__Z__T = (function(start, end, step, isInclusive) { return ((((start + (isInclusive ? " to " : " until ")) + end) + " by ") + step) }); $c_sci_Range$.prototype.scala$collection$immutable$Range$$fail__I__I__I__Z__sr_Nothing$ = (function(start, end, step, isInclusive) { throw new $c_jl_IllegalArgumentException().init___T((this.description__p1__I__I__I__Z__T(start, end, step, isInclusive) + ": seqs cannot contain more than Int.MaxValue elements.")) }); var $d_sci_Range$ = new $TypeData().initClass({ sci_Range$: 0 }, false, "scala.collection.immutable.Range$", { sci_Range$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Range$.prototype.$classData = $d_sci_Range$; var $n_sci_Range$ = (void 0); function $m_sci_Range$() { if ((!$n_sci_Range$)) { $n_sci_Range$ = new $c_sci_Range$().init___() }; return $n_sci_Range$ } /** @constructor */ function $c_sci_Stream$StreamCanBuildFrom() { $c_scg_GenTraversableFactory$GenericCanBuildFrom.call(this) } $c_sci_Stream$StreamCanBuildFrom.prototype = new $h_scg_GenTraversableFactory$GenericCanBuildFrom(); $c_sci_Stream$StreamCanBuildFrom.prototype.constructor = $c_sci_Stream$StreamCanBuildFrom; /** @constructor */ function $h_sci_Stream$StreamCanBuildFrom() { /*<skip>*/ } $h_sci_Stream$StreamCanBuildFrom.prototype = $c_sci_Stream$StreamCanBuildFrom.prototype; $c_sci_Stream$StreamCanBuildFrom.prototype.init___ = (function() { $c_scg_GenTraversableFactory$GenericCanBuildFrom.prototype.init___scg_GenTraversableFactory.call(this, $m_sci_Stream$()); return this }); var $d_sci_Stream$StreamCanBuildFrom = new $TypeData().initClass({ sci_Stream$StreamCanBuildFrom: 0 }, false, "scala.collection.immutable.Stream$StreamCanBuildFrom", { sci_Stream$StreamCanBuildFrom: 1, scg_GenTraversableFactory$GenericCanBuildFrom: 1, O: 1, scg_CanBuildFrom: 1 }); $c_sci_Stream$StreamCanBuildFrom.prototype.$classData = $d_sci_Stream$StreamCanBuildFrom; /** @constructor */ function $c_sci_Stream$StreamWithFilter() { $c_sc_TraversableLike$WithFilter.call(this); this.p$2 = null } $c_sci_Stream$StreamWithFilter.prototype = new $h_sc_TraversableLike$WithFilter(); $c_sci_Stream$StreamWithFilter.prototype.constructor = $c_sci_Stream$StreamWithFilter; /** @constructor */ function $h_sci_Stream$StreamWithFilter() { /*<skip>*/ } $h_sci_Stream$StreamWithFilter.prototype = $c_sci_Stream$StreamWithFilter.prototype; $c_sci_Stream$StreamWithFilter.prototype.foreach__F1__V = (function(f) { var this$1 = $as_sci_Stream(this.$$outer$f); var _$this = this$1; x: { _foreach: while (true) { if ((!_$this.isEmpty__Z())) { var arg1 = _$this.head__O(); if ($uZ(this.p$2.apply__O__O(arg1))) { f.apply__O__O(arg1) }; _$this = $as_sci_Stream(_$this.tail__O()); continue _foreach }; break x } } }); $c_sci_Stream$StreamWithFilter.prototype.tailMap$1__p2__sci_Stream__F1__sci_Stream = (function(coll, f$3) { var head = null; var tail = new $c_sr_ObjectRef().init___O(coll); while (true) { if ($as_sci_Stream(tail.elem$1).isEmpty__Z()) { return $m_sci_Stream$Empty$() }; head = $as_sci_Stream(tail.elem$1).head__O(); tail.elem$1 = $as_sci_Stream($as_sci_Stream(tail.elem$1).tail__O()); if ($uZ(this.p$2.apply__O__O(head))) { var hd = f$3.apply__O__O(head); var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, f$3$1, tail$1) { return (function() { return $this.tailMap$1__p2__sci_Stream__F1__sci_Stream($as_sci_Stream(tail$1.elem$1), f$3$1) }) })(this, f$3, tail)); return new $c_sci_Stream$Cons().init___O__F0(hd, tl) } } }); $c_sci_Stream$StreamWithFilter.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { var this$1 = $as_sci_Stream(this.$$outer$f); if ($is_sci_Stream$StreamBuilder(bf.apply__O__scm_Builder(this$1))) { $as_sci_Stream(this.$$outer$f); var x = this.tailMap$1__p2__sci_Stream__F1__sci_Stream($as_sci_Stream(this.$$outer$f), f); return x } else { return $c_sc_TraversableLike$WithFilter.prototype.map__F1__scg_CanBuildFrom__O.call(this, f, bf) } }); $c_sci_Stream$StreamWithFilter.prototype.init___sci_Stream__F1 = (function($$outer, p) { this.p$2 = p; $c_sc_TraversableLike$WithFilter.prototype.init___sc_TraversableLike__F1.call(this, $$outer, p); return this }); var $d_sci_Stream$StreamWithFilter = new $TypeData().initClass({ sci_Stream$StreamWithFilter: 0 }, false, "scala.collection.immutable.Stream$StreamWithFilter", { sci_Stream$StreamWithFilter: 1, sc_TraversableLike$WithFilter: 1, O: 1, scg_FilterMonadic: 1 }); $c_sci_Stream$StreamWithFilter.prototype.$classData = $d_sci_Stream$StreamWithFilter; /** @constructor */ function $c_scm_StringBuilder$() { $c_O.call(this) } $c_scm_StringBuilder$.prototype = new $h_O(); $c_scm_StringBuilder$.prototype.constructor = $c_scm_StringBuilder$; /** @constructor */ function $h_scm_StringBuilder$() { /*<skip>*/ } $h_scm_StringBuilder$.prototype = $c_scm_StringBuilder$.prototype; $c_scm_StringBuilder$.prototype.init___ = (function() { return this }); var $d_scm_StringBuilder$ = new $TypeData().initClass({ scm_StringBuilder$: 0 }, false, "scala.collection.mutable.StringBuilder$", { scm_StringBuilder$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_StringBuilder$.prototype.$classData = $d_scm_StringBuilder$; var $n_scm_StringBuilder$ = (void 0); function $m_scm_StringBuilder$() { if ((!$n_scm_StringBuilder$)) { $n_scm_StringBuilder$ = new $c_scm_StringBuilder$().init___() }; return $n_scm_StringBuilder$ } /** @constructor */ function $c_sjs_js_$bar$Evidence$() { $c_sjs_js_$bar$EvidenceLowPrioImplicits.call(this) } $c_sjs_js_$bar$Evidence$.prototype = new $h_sjs_js_$bar$EvidenceLowPrioImplicits(); $c_sjs_js_$bar$Evidence$.prototype.constructor = $c_sjs_js_$bar$Evidence$; /** @constructor */ function $h_sjs_js_$bar$Evidence$() { /*<skip>*/ } $h_sjs_js_$bar$Evidence$.prototype = $c_sjs_js_$bar$Evidence$.prototype; $c_sjs_js_$bar$Evidence$.prototype.init___ = (function() { return this }); $c_sjs_js_$bar$Evidence$.prototype.base__sjs_js_$bar$Evidence = (function() { return $m_sjs_js_$bar$ReusableEvidence$() }); var $d_sjs_js_$bar$Evidence$ = new $TypeData().initClass({ sjs_js_$bar$Evidence$: 0 }, false, "scala.scalajs.js.$bar$Evidence$", { sjs_js_$bar$Evidence$: 1, sjs_js_$bar$EvidenceLowPrioImplicits: 1, sjs_js_$bar$EvidenceLowestPrioImplicits: 1, O: 1 }); $c_sjs_js_$bar$Evidence$.prototype.$classData = $d_sjs_js_$bar$Evidence$; var $n_sjs_js_$bar$Evidence$ = (void 0); function $m_sjs_js_$bar$Evidence$() { if ((!$n_sjs_js_$bar$Evidence$)) { $n_sjs_js_$bar$Evidence$ = new $c_sjs_js_$bar$Evidence$().init___() }; return $n_sjs_js_$bar$Evidence$ } /** @constructor */ function $c_sjsr_AnonFunction0() { $c_sr_AbstractFunction0.call(this); this.f$2 = null } $c_sjsr_AnonFunction0.prototype = new $h_sr_AbstractFunction0(); $c_sjsr_AnonFunction0.prototype.constructor = $c_sjsr_AnonFunction0; /** @constructor */ function $h_sjsr_AnonFunction0() { /*<skip>*/ } $h_sjsr_AnonFunction0.prototype = $c_sjsr_AnonFunction0.prototype; $c_sjsr_AnonFunction0.prototype.apply__O = (function() { return (0, this.f$2)() }); $c_sjsr_AnonFunction0.prototype.init___sjs_js_Function0 = (function(f) { this.f$2 = f; return this }); var $d_sjsr_AnonFunction0 = new $TypeData().initClass({ sjsr_AnonFunction0: 0 }, false, "scala.scalajs.runtime.AnonFunction0", { sjsr_AnonFunction0: 1, sr_AbstractFunction0: 1, O: 1, F0: 1 }); $c_sjsr_AnonFunction0.prototype.$classData = $d_sjsr_AnonFunction0; /** @constructor */ function $c_sjsr_AnonFunction1() { $c_sr_AbstractFunction1.call(this); this.f$2 = null } $c_sjsr_AnonFunction1.prototype = new $h_sr_AbstractFunction1(); $c_sjsr_AnonFunction1.prototype.constructor = $c_sjsr_AnonFunction1; /** @constructor */ function $h_sjsr_AnonFunction1() { /*<skip>*/ } $h_sjsr_AnonFunction1.prototype = $c_sjsr_AnonFunction1.prototype; $c_sjsr_AnonFunction1.prototype.apply__O__O = (function(arg1) { return (0, this.f$2)(arg1) }); $c_sjsr_AnonFunction1.prototype.init___sjs_js_Function1 = (function(f) { this.f$2 = f; return this }); var $d_sjsr_AnonFunction1 = new $TypeData().initClass({ sjsr_AnonFunction1: 0 }, false, "scala.scalajs.runtime.AnonFunction1", { sjsr_AnonFunction1: 1, sr_AbstractFunction1: 1, O: 1, F1: 1 }); $c_sjsr_AnonFunction1.prototype.$classData = $d_sjsr_AnonFunction1; /** @constructor */ function $c_sjsr_AnonFunction2() { $c_sr_AbstractFunction2.call(this); this.f$2 = null } $c_sjsr_AnonFunction2.prototype = new $h_sr_AbstractFunction2(); $c_sjsr_AnonFunction2.prototype.constructor = $c_sjsr_AnonFunction2; /** @constructor */ function $h_sjsr_AnonFunction2() { /*<skip>*/ } $h_sjsr_AnonFunction2.prototype = $c_sjsr_AnonFunction2.prototype; $c_sjsr_AnonFunction2.prototype.init___sjs_js_Function2 = (function(f) { this.f$2 = f; return this }); $c_sjsr_AnonFunction2.prototype.apply__O__O__O = (function(arg1, arg2) { return (0, this.f$2)(arg1, arg2) }); var $d_sjsr_AnonFunction2 = new $TypeData().initClass({ sjsr_AnonFunction2: 0 }, false, "scala.scalajs.runtime.AnonFunction2", { sjsr_AnonFunction2: 1, sr_AbstractFunction2: 1, O: 1, F2: 1 }); $c_sjsr_AnonFunction2.prototype.$classData = $d_sjsr_AnonFunction2; /** @constructor */ function $c_sjsr_AnonFunction4() { $c_sr_AbstractFunction4.call(this); this.f$2 = null } $c_sjsr_AnonFunction4.prototype = new $h_sr_AbstractFunction4(); $c_sjsr_AnonFunction4.prototype.constructor = $c_sjsr_AnonFunction4; /** @constructor */ function $h_sjsr_AnonFunction4() { /*<skip>*/ } $h_sjsr_AnonFunction4.prototype = $c_sjsr_AnonFunction4.prototype; $c_sjsr_AnonFunction4.prototype.apply__O__O__O__O__O = (function(arg1, arg2, arg3, arg4) { return (0, this.f$2)(arg1, arg2, arg3, arg4) }); $c_sjsr_AnonFunction4.prototype.init___sjs_js_Function4 = (function(f) { this.f$2 = f; return this }); var $d_sjsr_AnonFunction4 = new $TypeData().initClass({ sjsr_AnonFunction4: 0 }, false, "scala.scalajs.runtime.AnonFunction4", { sjsr_AnonFunction4: 1, sr_AbstractFunction4: 1, O: 1, F4: 1 }); $c_sjsr_AnonFunction4.prototype.$classData = $d_sjsr_AnonFunction4; /** @constructor */ function $c_sjsr_RuntimeLong$() { $c_O.call(this); this.TwoPow32$1 = 0.0; this.TwoPow53$1 = 0.0; this.UnsignedSafeDoubleHiMask$1 = 0; this.AskQuotient$1 = 0; this.AskRemainder$1 = 0; this.AskBoth$1 = 0; this.Zero$1 = null; this.One$1 = null; this.MinusOne$1 = null; this.MinValue$1 = null; this.MaxValue$1 = null } $c_sjsr_RuntimeLong$.prototype = new $h_O(); $c_sjsr_RuntimeLong$.prototype.constructor = $c_sjsr_RuntimeLong$; /** @constructor */ function $h_sjsr_RuntimeLong$() { /*<skip>*/ } $h_sjsr_RuntimeLong$.prototype = $c_sjsr_RuntimeLong$.prototype; $c_sjsr_RuntimeLong$.prototype.init___ = (function() { $n_sjsr_RuntimeLong$ = this; this.Zero$1 = new $c_sjsr_RuntimeLong().init___I__I(0, 0); this.One$1 = new $c_sjsr_RuntimeLong().init___I__I(1, 0); this.MinusOne$1 = new $c_sjsr_RuntimeLong().init___I__I((-1), (-1)); this.MinValue$1 = new $c_sjsr_RuntimeLong().init___I__I(0, (-2147483648)); this.MaxValue$1 = new $c_sjsr_RuntimeLong().init___I__I((-1), 2147483647); return this }); $c_sjsr_RuntimeLong$.prototype.Zero__sjsr_RuntimeLong = (function() { return this.Zero$1 }); $c_sjsr_RuntimeLong$.prototype.fromDouble__D__sjsr_RuntimeLong = (function(value) { if ((value !== value)) { return this.Zero$1 } else if ((value < (-9.223372036854776E18))) { return this.MinValue$1 } else if ((value >= 9.223372036854776E18)) { return this.MaxValue$1 } else { var neg = (value < 0); var absValue = (neg ? (-value) : value); var lo = $uI((absValue | 0)); var x = (absValue / 4.294967296E9); var hi = $uI((x | 0)); return (neg ? new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0))) : new $c_sjsr_RuntimeLong().init___I__I(lo, hi)) } }); var $d_sjsr_RuntimeLong$ = new $TypeData().initClass({ sjsr_RuntimeLong$: 0 }, false, "scala.scalajs.runtime.RuntimeLong$", { sjsr_RuntimeLong$: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sjsr_RuntimeLong$.prototype.$classData = $d_sjsr_RuntimeLong$; var $n_sjsr_RuntimeLong$ = (void 0); function $m_sjsr_RuntimeLong$() { if ((!$n_sjsr_RuntimeLong$)) { $n_sjsr_RuntimeLong$ = new $c_sjsr_RuntimeLong$().init___() }; return $n_sjsr_RuntimeLong$ } /** @constructor */ function $c_sr_AbstractPartialFunction() { $c_O.call(this) } $c_sr_AbstractPartialFunction.prototype = new $h_O(); $c_sr_AbstractPartialFunction.prototype.constructor = $c_sr_AbstractPartialFunction; /** @constructor */ function $h_sr_AbstractPartialFunction() { /*<skip>*/ } $h_sr_AbstractPartialFunction.prototype = $c_sr_AbstractPartialFunction.prototype; $c_sr_AbstractPartialFunction.prototype.apply__O__O = (function(x) { return this.applyOrElse__O__F1__O(x, $m_s_PartialFunction$().empty$undpf$1) }); $c_sr_AbstractPartialFunction.prototype.toString__T = (function() { return "<function1>" }); $c_sr_AbstractPartialFunction.prototype.apply$mcZI$sp__I__Z = (function(x) { return $uZ(this.applyOrElse__O__F1__O(x, $m_s_PartialFunction$().empty$undpf$1)) }); var $d_sr_Nothing$ = new $TypeData().initClass({ sr_Nothing$: 0 }, false, "scala.runtime.Nothing$", { sr_Nothing$: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); /** @constructor */ function $c_Lhypersubs_gui_CancelConfirmationDialog$Options$() { $c_Lhypersubs_gui_package$DefaultOptions.call(this, $m_Lhypersubs_gui_CancelConfirmationDialog$().Title__T(), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_CancelConfirmationDialog$().YesText__T(), $m_Lhypersubs_gui_CancelConfirmationDialog$().NoText__T()])))); $g.Object.defineProperties(this, { "width": { "configurable": true, "enumerable": true, "writable": true, "value": 0 } }); $g.Object.defineProperties(this, { "position": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); this.width = 500; this.position = "center" } /** @constructor */ function $h_Lhypersubs_gui_CancelConfirmationDialog$Options$() { /*<skip>*/ } $h_Lhypersubs_gui_CancelConfirmationDialog$Options$.prototype = $c_Lhypersubs_gui_package$DefaultOptions.prototype; $c_Lhypersubs_gui_CancelConfirmationDialog$Options$.prototype = new $h_Lhypersubs_gui_CancelConfirmationDialog$Options$(); $c_Lhypersubs_gui_CancelConfirmationDialog$Options$.prototype.constructor = $c_Lhypersubs_gui_CancelConfirmationDialog$Options$; var $n_Lhypersubs_gui_CancelConfirmationDialog$Options$ = (void 0); function $m_Lhypersubs_gui_CancelConfirmationDialog$Options$() { if ((!$n_Lhypersubs_gui_CancelConfirmationDialog$Options$)) { $n_Lhypersubs_gui_CancelConfirmationDialog$Options$ = new $c_Lhypersubs_gui_CancelConfirmationDialog$Options$() }; return $n_Lhypersubs_gui_CancelConfirmationDialog$Options$ } /** @constructor */ function $c_Lhypersubs_gui_HelpDialog$Options$() { $c_Lhypersubs_gui_package$DefaultOptions.call(this, $m_Lhypersubs_gui_HelpDialog$().Title__T(), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_HelpDialog$().CloseText__T()])))); $g.Object.defineProperties(this, { "width": { "configurable": true, "enumerable": true, "writable": true, "value": 0 } }); $g.Object.defineProperties(this, { "height": { "configurable": true, "enumerable": true, "writable": true, "value": 0 } }); this.width = 600; this.height = 600 } /** @constructor */ function $h_Lhypersubs_gui_HelpDialog$Options$() { /*<skip>*/ } $h_Lhypersubs_gui_HelpDialog$Options$.prototype = $c_Lhypersubs_gui_package$DefaultOptions.prototype; $c_Lhypersubs_gui_HelpDialog$Options$.prototype = new $h_Lhypersubs_gui_HelpDialog$Options$(); $c_Lhypersubs_gui_HelpDialog$Options$.prototype.constructor = $c_Lhypersubs_gui_HelpDialog$Options$; var $n_Lhypersubs_gui_HelpDialog$Options$ = (void 0); function $m_Lhypersubs_gui_HelpDialog$Options$() { if ((!$n_Lhypersubs_gui_HelpDialog$Options$)) { $n_Lhypersubs_gui_HelpDialog$Options$ = new $c_Lhypersubs_gui_HelpDialog$Options$() }; return $n_Lhypersubs_gui_HelpDialog$Options$ } /** @constructor */ function $c_Lhypersubs_gui_MainDialog$Options$() { $c_Lhypersubs_gui_package$DefaultOptions.call(this, "Hypersubs", $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_MainDialog$Text$().Preferences__T(), $m_Lhypersubs_gui_MainDialog$Text$().Smartfill__T(), $m_Lhypersubs_gui_MainDialog$Text$().Reset__T(), $m_Lhypersubs_gui_MainDialog$Text$().Cancel__T(), $m_Lhypersubs_gui_MainDialog$Text$().Finish__T(), $m_Lhypersubs_gui_MainDialog$Text$().Next__T()])))); $g.Object.defineProperties(this, { "position": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); $g.Object.defineProperties(this, { "width": { "configurable": true, "enumerable": true, "writable": true, "value": 0 } }); $g.Object.defineProperties(this, { "height": { "configurable": true, "enumerable": true, "writable": true, "value": 0 } }); this.position = $m_Lhypersubs_package$().loc2JSDict__Lhypersubs_package$Location__sjs_js_Dictionary(new $c_Lhypersubs_package$Location().init___T__T__sjs_js_Any__T__T("center top", "center top", $m_Lorg_querki_jquery_package$().$$__Lorg_querki_jquery_JQueryStatic$()($m_sjs_js_$bar$().from__O__sjs_js_$bar$Evidence__sjs_js_$bar("body", $m_sjs_js_$bar$Evidence$().left__sjs_js_$bar$Evidence__sjs_js_$bar$Evidence($m_sjs_js_$bar$Evidence$().left__sjs_js_$bar$Evidence__sjs_js_$bar$Evidence($m_sjs_js_$bar$Evidence$().left__sjs_js_$bar$Evidence__sjs_js_$bar$Evidence($m_sjs_js_$bar$Evidence$().base__sjs_js_$bar$Evidence()))))), "0 100", $m_Lhypersubs_package$Location$().apply$default$5__T())); this.width = $m_Lhypersubs_gui_MainDialog$().DefaultWidth__I(); this.height = $m_Lhypersubs_gui_MainDialog$().DefaultHeight__I() } /** @constructor */ function $h_Lhypersubs_gui_MainDialog$Options$() { /*<skip>*/ } $h_Lhypersubs_gui_MainDialog$Options$.prototype = $c_Lhypersubs_gui_package$DefaultOptions.prototype; $c_Lhypersubs_gui_MainDialog$Options$.prototype = new $h_Lhypersubs_gui_MainDialog$Options$(); $c_Lhypersubs_gui_MainDialog$Options$.prototype.constructor = $c_Lhypersubs_gui_MainDialog$Options$; var $n_Lhypersubs_gui_MainDialog$Options$ = (void 0); function $m_Lhypersubs_gui_MainDialog$Options$() { if ((!$n_Lhypersubs_gui_MainDialog$Options$)) { $n_Lhypersubs_gui_MainDialog$Options$ = new $c_Lhypersubs_gui_MainDialog$Options$() }; return $n_Lhypersubs_gui_MainDialog$Options$ } /** @constructor */ function $c_Lhypersubs_gui_PreferencesDialog$Options$() { $c_Lhypersubs_gui_package$DefaultOptions.call(this, $m_Lhypersubs_gui_PreferencesDialog$().Title__T(), $as_sc_Seq($m_sc_Seq$().apply__sc_Seq__sc_GenTraversable(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_Lhypersubs_gui_PreferencesDialog$().SaveText__T(), $m_Lhypersubs_gui_PreferencesDialog$().CancelText__T()])))); $g.Object.defineProperties(this, { "width": { "configurable": true, "enumerable": true, "writable": true, "value": 0 } }); $g.Object.defineProperties(this, { "show": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); $g.Object.defineProperties(this, { "hide": { "configurable": true, "enumerable": true, "writable": true, "value": null } }); this.width = 340; this.show = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_s_Predef$ArrowAssoc$().$$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("effect"), "fade"), $m_s_Predef$ArrowAssoc$().$$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("duration"), 400)])); this.hide = $m_sjs_js_Dictionary$().apply__sc_Seq__sjs_js_Dictionary(new $c_sjs_js_WrappedArray().init___sjs_js_Array([$m_s_Predef$ArrowAssoc$().$$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("effect"), "fade"), $m_s_Predef$ArrowAssoc$().$$minus$greater$extension__O__O__T2($m_s_Predef$().ArrowAssoc__O__O("duration"), 400)])) } /** @constructor */ function $h_Lhypersubs_gui_PreferencesDialog$Options$() { /*<skip>*/ } $h_Lhypersubs_gui_PreferencesDialog$Options$.prototype = $c_Lhypersubs_gui_package$DefaultOptions.prototype; $c_Lhypersubs_gui_PreferencesDialog$Options$.prototype = new $h_Lhypersubs_gui_PreferencesDialog$Options$(); $c_Lhypersubs_gui_PreferencesDialog$Options$.prototype.constructor = $c_Lhypersubs_gui_PreferencesDialog$Options$; var $n_Lhypersubs_gui_PreferencesDialog$Options$ = (void 0); function $m_Lhypersubs_gui_PreferencesDialog$Options$() { if ((!$n_Lhypersubs_gui_PreferencesDialog$Options$)) { $n_Lhypersubs_gui_PreferencesDialog$Options$ = new $c_Lhypersubs_gui_PreferencesDialog$Options$() }; return $n_Lhypersubs_gui_PreferencesDialog$Options$ } /** @constructor */ function $c_Ljava_io_FilterOutputStream() { $c_Ljava_io_OutputStream.call(this); this.out$2 = null } $c_Ljava_io_FilterOutputStream.prototype = new $h_Ljava_io_OutputStream(); $c_Ljava_io_FilterOutputStream.prototype.constructor = $c_Ljava_io_FilterOutputStream; /** @constructor */ function $h_Ljava_io_FilterOutputStream() { /*<skip>*/ } $h_Ljava_io_FilterOutputStream.prototype = $c_Ljava_io_FilterOutputStream.prototype; $c_Ljava_io_FilterOutputStream.prototype.init___Ljava_io_OutputStream = (function(out) { this.out$2 = out; return this }); function $is_T(obj) { return ((typeof obj) === "string") } function $as_T(obj) { return (($is_T(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.String")) } function $isArrayOf_T(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.T))) } function $asArrayOf_T(obj, depth) { return (($isArrayOf_T(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.String;", depth)) } var $d_T = new $TypeData().initClass({ T: 0 }, false, "java.lang.String", { T: 1, O: 1, Ljava_io_Serializable: 1, jl_CharSequence: 1, jl_Comparable: 1 }, (void 0), (void 0), $is_T); /** @constructor */ function $c_jl_AssertionError() { $c_jl_Error.call(this) } $c_jl_AssertionError.prototype = new $h_jl_Error(); $c_jl_AssertionError.prototype.constructor = $c_jl_AssertionError; /** @constructor */ function $h_jl_AssertionError() { /*<skip>*/ } $h_jl_AssertionError.prototype = $c_jl_AssertionError.prototype; $c_jl_AssertionError.prototype.init___O = (function(o) { var s = $objectToString(o); $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_jl_AssertionError = new $TypeData().initClass({ jl_AssertionError: 0 }, false, "java.lang.AssertionError", { jl_AssertionError: 1, jl_Error: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_AssertionError.prototype.$classData = $d_jl_AssertionError; function $isArrayOf_jl_Byte(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Byte))) } function $asArrayOf_jl_Byte(obj, depth) { return (($isArrayOf_jl_Byte(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Byte;", depth)) } var $d_jl_Byte = new $TypeData().initClass({ jl_Byte: 0 }, false, "java.lang.Byte", { jl_Byte: 1, jl_Number: 1, O: 1, Ljava_io_Serializable: 1, jl_Comparable: 1 }, (void 0), (void 0), (function(x) { return $isByte(x) })); /** @constructor */ function $c_jl_CloneNotSupportedException() { $c_jl_Exception.call(this) } $c_jl_CloneNotSupportedException.prototype = new $h_jl_Exception(); $c_jl_CloneNotSupportedException.prototype.constructor = $c_jl_CloneNotSupportedException; /** @constructor */ function $h_jl_CloneNotSupportedException() { /*<skip>*/ } $h_jl_CloneNotSupportedException.prototype = $c_jl_CloneNotSupportedException.prototype; $c_jl_CloneNotSupportedException.prototype.init___ = (function() { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); return this }); var $d_jl_CloneNotSupportedException = new $TypeData().initClass({ jl_CloneNotSupportedException: 0 }, false, "java.lang.CloneNotSupportedException", { jl_CloneNotSupportedException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_CloneNotSupportedException.prototype.$classData = $d_jl_CloneNotSupportedException; function $isArrayOf_jl_Double(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Double))) } function $asArrayOf_jl_Double(obj, depth) { return (($isArrayOf_jl_Double(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Double;", depth)) } var $d_jl_Double = new $TypeData().initClass({ jl_Double: 0 }, false, "java.lang.Double", { jl_Double: 1, jl_Number: 1, O: 1, Ljava_io_Serializable: 1, jl_Comparable: 1 }, (void 0), (void 0), (function(x) { return ((typeof x) === "number") })); function $isArrayOf_jl_Float(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Float))) } function $asArrayOf_jl_Float(obj, depth) { return (($isArrayOf_jl_Float(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Float;", depth)) } var $d_jl_Float = new $TypeData().initClass({ jl_Float: 0 }, false, "java.lang.Float", { jl_Float: 1, jl_Number: 1, O: 1, Ljava_io_Serializable: 1, jl_Comparable: 1 }, (void 0), (void 0), (function(x) { return $isFloat(x) })); function $isArrayOf_jl_Integer(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Integer))) } function $asArrayOf_jl_Integer(obj, depth) { return (($isArrayOf_jl_Integer(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Integer;", depth)) } var $d_jl_Integer = new $TypeData().initClass({ jl_Integer: 0 }, false, "java.lang.Integer", { jl_Integer: 1, jl_Number: 1, O: 1, Ljava_io_Serializable: 1, jl_Comparable: 1 }, (void 0), (void 0), (function(x) { return $isInt(x) })); function $is_jl_InterruptedException(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_InterruptedException))) } function $as_jl_InterruptedException(obj) { return (($is_jl_InterruptedException(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.InterruptedException")) } function $isArrayOf_jl_InterruptedException(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_InterruptedException))) } function $asArrayOf_jl_InterruptedException(obj, depth) { return (($isArrayOf_jl_InterruptedException(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.InterruptedException;", depth)) } /** @constructor */ function $c_jl_JSConsoleBasedPrintStream$DummyOutputStream() { $c_Ljava_io_OutputStream.call(this) } $c_jl_JSConsoleBasedPrintStream$DummyOutputStream.prototype = new $h_Ljava_io_OutputStream(); $c_jl_JSConsoleBasedPrintStream$DummyOutputStream.prototype.constructor = $c_jl_JSConsoleBasedPrintStream$DummyOutputStream; /** @constructor */ function $h_jl_JSConsoleBasedPrintStream$DummyOutputStream() { /*<skip>*/ } $h_jl_JSConsoleBasedPrintStream$DummyOutputStream.prototype = $c_jl_JSConsoleBasedPrintStream$DummyOutputStream.prototype; $c_jl_JSConsoleBasedPrintStream$DummyOutputStream.prototype.init___ = (function() { return this }); var $d_jl_JSConsoleBasedPrintStream$DummyOutputStream = new $TypeData().initClass({ jl_JSConsoleBasedPrintStream$DummyOutputStream: 0 }, false, "java.lang.JSConsoleBasedPrintStream$DummyOutputStream", { jl_JSConsoleBasedPrintStream$DummyOutputStream: 1, Ljava_io_OutputStream: 1, O: 1, Ljava_io_Closeable: 1, Ljava_io_Flushable: 1 }); $c_jl_JSConsoleBasedPrintStream$DummyOutputStream.prototype.$classData = $d_jl_JSConsoleBasedPrintStream$DummyOutputStream; function $is_jl_LinkageError(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_LinkageError))) } function $as_jl_LinkageError(obj) { return (($is_jl_LinkageError(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.LinkageError")) } function $isArrayOf_jl_LinkageError(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_LinkageError))) } function $asArrayOf_jl_LinkageError(obj, depth) { return (($isArrayOf_jl_LinkageError(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.LinkageError;", depth)) } function $isArrayOf_jl_Long(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Long))) } function $asArrayOf_jl_Long(obj, depth) { return (($isArrayOf_jl_Long(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Long;", depth)) } var $d_jl_Long = new $TypeData().initClass({ jl_Long: 0 }, false, "java.lang.Long", { jl_Long: 1, jl_Number: 1, O: 1, Ljava_io_Serializable: 1, jl_Comparable: 1 }, (void 0), (void 0), (function(x) { return $is_sjsr_RuntimeLong(x) })); /** @constructor */ function $c_jl_RuntimeException() { $c_jl_Exception.call(this) } $c_jl_RuntimeException.prototype = new $h_jl_Exception(); $c_jl_RuntimeException.prototype.constructor = $c_jl_RuntimeException; /** @constructor */ function $h_jl_RuntimeException() { /*<skip>*/ } $h_jl_RuntimeException.prototype = $c_jl_RuntimeException.prototype; $c_jl_RuntimeException.prototype.init___T = (function(s) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_jl_RuntimeException = new $TypeData().initClass({ jl_RuntimeException: 0 }, false, "java.lang.RuntimeException", { jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_RuntimeException.prototype.$classData = $d_jl_RuntimeException; function $isArrayOf_jl_Short(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_Short))) } function $asArrayOf_jl_Short(obj, depth) { return (($isArrayOf_jl_Short(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Short;", depth)) } var $d_jl_Short = new $TypeData().initClass({ jl_Short: 0 }, false, "java.lang.Short", { jl_Short: 1, jl_Number: 1, O: 1, Ljava_io_Serializable: 1, jl_Comparable: 1 }, (void 0), (void 0), (function(x) { return $isShort(x) })); /** @constructor */ function $c_jl_StringBuffer() { $c_O.call(this); this.content$1 = null } $c_jl_StringBuffer.prototype = new $h_O(); $c_jl_StringBuffer.prototype.constructor = $c_jl_StringBuffer; /** @constructor */ function $h_jl_StringBuffer() { /*<skip>*/ } $h_jl_StringBuffer.prototype = $c_jl_StringBuffer.prototype; $c_jl_StringBuffer.prototype.init___ = (function() { $c_jl_StringBuffer.prototype.init___T.call(this, ""); return this }); $c_jl_StringBuffer.prototype.subSequence__I__I__jl_CharSequence = (function(start, end) { var thiz = this.content$1; return $as_T(thiz.substring(start, end)) }); $c_jl_StringBuffer.prototype.toString__T = (function() { return this.content$1 }); $c_jl_StringBuffer.prototype.length__I = (function() { var thiz = this.content$1; return $uI(thiz.length) }); $c_jl_StringBuffer.prototype.append__T__jl_StringBuffer = (function(s) { this.content$1 = (("" + this.content$1) + ((s === null) ? "null" : s)); return this }); $c_jl_StringBuffer.prototype.init___T = (function(content) { this.content$1 = content; return this }); $c_jl_StringBuffer.prototype.append__C__jl_StringBuffer = (function(c) { return this.append__T__jl_StringBuffer($as_T($g.String.fromCharCode(c))) }); var $d_jl_StringBuffer = new $TypeData().initClass({ jl_StringBuffer: 0 }, false, "java.lang.StringBuffer", { jl_StringBuffer: 1, O: 1, jl_CharSequence: 1, jl_Appendable: 1, Ljava_io_Serializable: 1 }); $c_jl_StringBuffer.prototype.$classData = $d_jl_StringBuffer; /** @constructor */ function $c_jl_StringBuilder() { $c_O.call(this); this.content$1 = null } $c_jl_StringBuilder.prototype = new $h_O(); $c_jl_StringBuilder.prototype.constructor = $c_jl_StringBuilder; /** @constructor */ function $h_jl_StringBuilder() { /*<skip>*/ } $h_jl_StringBuilder.prototype = $c_jl_StringBuilder.prototype; $c_jl_StringBuilder.prototype.init___ = (function() { $c_jl_StringBuilder.prototype.init___T.call(this, ""); return this }); $c_jl_StringBuilder.prototype.append__T__jl_StringBuilder = (function(s) { this.content$1 = (("" + this.content$1) + ((s === null) ? "null" : s)); return this }); $c_jl_StringBuilder.prototype.subSequence__I__I__jl_CharSequence = (function(start, end) { var thiz = this.content$1; return $as_T(thiz.substring(start, end)) }); $c_jl_StringBuilder.prototype.toString__T = (function() { return this.content$1 }); $c_jl_StringBuilder.prototype.init___jl_CharSequence = (function(csq) { $c_jl_StringBuilder.prototype.init___T.call(this, $objectToString(csq)); return this }); $c_jl_StringBuilder.prototype.append__O__jl_StringBuilder = (function(obj) { return ((obj === null) ? this.append__T__jl_StringBuilder(null) : this.append__T__jl_StringBuilder($objectToString(obj))) }); $c_jl_StringBuilder.prototype.init___I = (function(initialCapacity) { $c_jl_StringBuilder.prototype.init___T.call(this, ""); return this }); $c_jl_StringBuilder.prototype.append__jl_CharSequence__I__I__jl_StringBuilder = (function(csq, start, end) { return ((csq === null) ? this.append__jl_CharSequence__I__I__jl_StringBuilder("null", start, end) : this.append__T__jl_StringBuilder($objectToString($charSequenceSubSequence(csq, start, end)))) }); $c_jl_StringBuilder.prototype.length__I = (function() { var thiz = this.content$1; return $uI(thiz.length) }); $c_jl_StringBuilder.prototype.append__C__jl_StringBuilder = (function(c) { return this.append__T__jl_StringBuilder($as_T($g.String.fromCharCode(c))) }); $c_jl_StringBuilder.prototype.init___T = (function(content) { this.content$1 = content; return this }); $c_jl_StringBuilder.prototype.reverse__jl_StringBuilder = (function() { var original = this.content$1; var result = ""; var i = 0; while ((i < $uI(original.length))) { var index = i; var c = (65535 & $uI(original.charCodeAt(index))); if ((((64512 & c) === 55296) && (((1 + i) | 0) < $uI(original.length)))) { var index$1 = ((1 + i) | 0); var c2 = (65535 & $uI(original.charCodeAt(index$1))); if (((64512 & c2) === 56320)) { result = ((("" + $as_T($g.String.fromCharCode(c))) + $as_T($g.String.fromCharCode(c2))) + result); i = ((2 + i) | 0) } else { result = (("" + $as_T($g.String.fromCharCode(c))) + result); i = ((1 + i) | 0) } } else { result = (("" + $as_T($g.String.fromCharCode(c))) + result); i = ((1 + i) | 0) } }; this.content$1 = result; return this }); var $d_jl_StringBuilder = new $TypeData().initClass({ jl_StringBuilder: 0 }, false, "java.lang.StringBuilder", { jl_StringBuilder: 1, O: 1, jl_CharSequence: 1, jl_Appendable: 1, Ljava_io_Serializable: 1 }); $c_jl_StringBuilder.prototype.$classData = $d_jl_StringBuilder; function $is_jl_ThreadDeath(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_ThreadDeath))) } function $as_jl_ThreadDeath(obj) { return (($is_jl_ThreadDeath(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.ThreadDeath")) } function $isArrayOf_jl_ThreadDeath(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_ThreadDeath))) } function $asArrayOf_jl_ThreadDeath(obj, depth) { return (($isArrayOf_jl_ThreadDeath(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.ThreadDeath;", depth)) } function $is_jl_VirtualMachineError(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_VirtualMachineError))) } function $as_jl_VirtualMachineError(obj) { return (($is_jl_VirtualMachineError(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.VirtualMachineError")) } function $isArrayOf_jl_VirtualMachineError(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_VirtualMachineError))) } function $asArrayOf_jl_VirtualMachineError(obj, depth) { return (($isArrayOf_jl_VirtualMachineError(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.VirtualMachineError;", depth)) } /** @constructor */ function $c_s_Array$() { $c_s_FallbackArrayBuilding.call(this) } $c_s_Array$.prototype = new $h_s_FallbackArrayBuilding(); $c_s_Array$.prototype.constructor = $c_s_Array$; /** @constructor */ function $h_s_Array$() { /*<skip>*/ } $h_s_Array$.prototype = $c_s_Array$.prototype; $c_s_Array$.prototype.init___ = (function() { return this }); $c_s_Array$.prototype.range__I__I__I__AI = (function(start, end, step) { if ((step === 0)) { throw new $c_jl_IllegalArgumentException().init___T("zero step") }; var elems$2 = []; $m_sci_Range$().count__I__I__I__Z__I(start, end, step, false); var i = start; while (((step < 0) ? (end < i) : (i < end))) { var elem = i; elems$2.push(elem); i = ((i + step) | 0) }; return $makeNativeArrayWrapper($d_I.getArrayOf(), elems$2) }); $c_s_Array$.prototype.slowcopy__p2__O__I__O__I__I__V = (function(src, srcPos, dest, destPos, length) { var i = srcPos; var j = destPos; var srcUntil = ((srcPos + length) | 0); while ((i < srcUntil)) { $m_sr_ScalaRunTime$().array$undupdate__O__I__O__V(dest, j, $m_sr_ScalaRunTime$().array$undapply__O__I__O(src, i)); i = ((1 + i) | 0); j = ((1 + j) | 0) } }); $c_s_Array$.prototype.copy__O__I__O__I__I__V = (function(src, srcPos, dest, destPos, length) { var srcClass = $objectGetClass(src); if ((srcClass.isArray__Z() && $objectGetClass(dest).isAssignableFrom__jl_Class__Z(srcClass))) { $systemArraycopy(src, srcPos, dest, destPos, length) } else { this.slowcopy__p2__O__I__O__I__I__V(src, srcPos, dest, destPos, length) } }); var $d_s_Array$ = new $TypeData().initClass({ s_Array$: 0 }, false, "scala.Array$", { s_Array$: 1, s_FallbackArrayBuilding: 1, O: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_Array$.prototype.$classData = $d_s_Array$; var $n_s_Array$ = (void 0); function $m_s_Array$() { if ((!$n_s_Array$)) { $n_s_Array$ = new $c_s_Array$().init___() }; return $n_s_Array$ } /** @constructor */ function $c_s_Predef$$eq$colon$eq() { $c_O.call(this) } $c_s_Predef$$eq$colon$eq.prototype = new $h_O(); $c_s_Predef$$eq$colon$eq.prototype.constructor = $c_s_Predef$$eq$colon$eq; /** @constructor */ function $h_s_Predef$$eq$colon$eq() { /*<skip>*/ } $h_s_Predef$$eq$colon$eq.prototype = $c_s_Predef$$eq$colon$eq.prototype; $c_s_Predef$$eq$colon$eq.prototype.toString__T = (function() { return "<function1>" }); $c_s_Predef$$eq$colon$eq.prototype.apply$mcZI$sp__I__Z = (function(v1) { return $uZ(v1) }); /** @constructor */ function $c_s_Predef$$less$colon$less() { $c_O.call(this) } $c_s_Predef$$less$colon$less.prototype = new $h_O(); $c_s_Predef$$less$colon$less.prototype.constructor = $c_s_Predef$$less$colon$less; /** @constructor */ function $h_s_Predef$$less$colon$less() { /*<skip>*/ } $h_s_Predef$$less$colon$less.prototype = $c_s_Predef$$less$colon$less.prototype; $c_s_Predef$$less$colon$less.prototype.toString__T = (function() { return "<function1>" }); $c_s_Predef$$less$colon$less.prototype.apply$mcZI$sp__I__Z = (function(v1) { return $uZ(v1) }); /** @constructor */ function $c_s_math_Equiv$() { $c_O.call(this) } $c_s_math_Equiv$.prototype = new $h_O(); $c_s_math_Equiv$.prototype.constructor = $c_s_math_Equiv$; /** @constructor */ function $h_s_math_Equiv$() { /*<skip>*/ } $h_s_math_Equiv$.prototype = $c_s_math_Equiv$.prototype; $c_s_math_Equiv$.prototype.init___ = (function() { return this }); var $d_s_math_Equiv$ = new $TypeData().initClass({ s_math_Equiv$: 0 }, false, "scala.math.Equiv$", { s_math_Equiv$: 1, O: 1, s_math_LowPriorityEquiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Equiv$.prototype.$classData = $d_s_math_Equiv$; var $n_s_math_Equiv$ = (void 0); function $m_s_math_Equiv$() { if ((!$n_s_math_Equiv$)) { $n_s_math_Equiv$ = new $c_s_math_Equiv$().init___() }; return $n_s_math_Equiv$ } /** @constructor */ function $c_s_math_Ordering$() { $c_O.call(this) } $c_s_math_Ordering$.prototype = new $h_O(); $c_s_math_Ordering$.prototype.constructor = $c_s_math_Ordering$; /** @constructor */ function $h_s_math_Ordering$() { /*<skip>*/ } $h_s_math_Ordering$.prototype = $c_s_math_Ordering$.prototype; $c_s_math_Ordering$.prototype.init___ = (function() { return this }); var $d_s_math_Ordering$ = new $TypeData().initClass({ s_math_Ordering$: 0 }, false, "scala.math.Ordering$", { s_math_Ordering$: 1, O: 1, s_math_LowPriorityOrderingImplicits: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Ordering$.prototype.$classData = $d_s_math_Ordering$; var $n_s_math_Ordering$ = (void 0); function $m_s_math_Ordering$() { if ((!$n_s_math_Ordering$)) { $n_s_math_Ordering$ = new $c_s_math_Ordering$().init___() }; return $n_s_math_Ordering$ } /** @constructor */ function $c_s_reflect_NoManifest$() { $c_O.call(this) } $c_s_reflect_NoManifest$.prototype = new $h_O(); $c_s_reflect_NoManifest$.prototype.constructor = $c_s_reflect_NoManifest$; /** @constructor */ function $h_s_reflect_NoManifest$() { /*<skip>*/ } $h_s_reflect_NoManifest$.prototype = $c_s_reflect_NoManifest$.prototype; $c_s_reflect_NoManifest$.prototype.init___ = (function() { return this }); $c_s_reflect_NoManifest$.prototype.toString__T = (function() { return "<?>" }); var $d_s_reflect_NoManifest$ = new $TypeData().initClass({ s_reflect_NoManifest$: 0 }, false, "scala.reflect.NoManifest$", { s_reflect_NoManifest$: 1, O: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_reflect_NoManifest$.prototype.$classData = $d_s_reflect_NoManifest$; var $n_s_reflect_NoManifest$ = (void 0); function $m_s_reflect_NoManifest$() { if ((!$n_s_reflect_NoManifest$)) { $n_s_reflect_NoManifest$ = new $c_s_reflect_NoManifest$().init___() }; return $n_s_reflect_NoManifest$ } /** @constructor */ function $c_sc_AbstractIterator() { $c_O.call(this) } $c_sc_AbstractIterator.prototype = new $h_O(); $c_sc_AbstractIterator.prototype.constructor = $c_sc_AbstractIterator; /** @constructor */ function $h_sc_AbstractIterator() { /*<skip>*/ } $h_sc_AbstractIterator.prototype = $c_sc_AbstractIterator.prototype; $c_sc_AbstractIterator.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sc_AbstractIterator.prototype.isEmpty__Z = (function() { return $s_sc_Iterator$class__isEmpty__sc_Iterator__Z(this) }); $c_sc_AbstractIterator.prototype.toList__sci_List = (function() { var this$1 = $m_sci_List$(); var cbf = this$1.ReusableCBFInstance$2; return $as_sci_List($s_sc_TraversableOnce$class__to__sc_TraversableOnce__scg_CanBuildFrom__O(this, cbf)) }); $c_sc_AbstractIterator.prototype.mkString__T__T = (function(sep) { return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, "", sep, "") }); $c_sc_AbstractIterator.prototype.toString__T = (function() { return $s_sc_Iterator$class__toString__sc_Iterator__T(this) }); $c_sc_AbstractIterator.prototype.foreach__F1__V = (function(f) { $s_sc_Iterator$class__foreach__sc_Iterator__F1__V(this, f) }); $c_sc_AbstractIterator.prototype.foldLeft__O__F2__O = (function(z, op) { return $s_sc_TraversableOnce$class__foldLeft__sc_TraversableOnce__O__F2__O(this, z, op) }); $c_sc_AbstractIterator.prototype.toVector__sci_Vector = (function() { $m_sci_Vector$(); var cbf = $m_sc_IndexedSeq$().ReusableCBF$6; return $as_sci_Vector($s_sc_TraversableOnce$class__to__sc_TraversableOnce__scg_CanBuildFrom__O(this, cbf)) }); $c_sc_AbstractIterator.prototype.size__I = (function() { return $s_sc_TraversableOnce$class__size__sc_TraversableOnce__I(this) }); $c_sc_AbstractIterator.prototype.toStream__sci_Stream = (function() { return $s_sc_Iterator$class__toStream__sc_Iterator__sci_Stream(this) }); $c_sc_AbstractIterator.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) { return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this, b, start, sep, end) }); $c_sc_AbstractIterator.prototype.max__s_math_Ordering__O = (function(cmp) { return $s_sc_TraversableOnce$class__max__sc_TraversableOnce__s_math_Ordering__O(this, cmp) }); $c_sc_AbstractIterator.prototype.$$div$colon__O__F2__O = (function(z, op) { return $s_sc_TraversableOnce$class__foldLeft__sc_TraversableOnce__O__F2__O(this, z, op) }); $c_sc_AbstractIterator.prototype.toSet__sci_Set = (function() { var this$1 = $m_sci_Set$(); var cbf = new $c_scg_GenSetFactory$$anon$1().init___scg_GenSetFactory(this$1); return $as_sci_Set($s_sc_TraversableOnce$class__to__sc_TraversableOnce__scg_CanBuildFrom__O(this, cbf)) }); $c_sc_AbstractIterator.prototype.isTraversableAgain__Z = (function() { return false }); $c_sc_AbstractIterator.prototype.drop__I__sc_Iterator = (function(n) { return $s_sc_Iterator$class__drop__sc_Iterator__I__sc_Iterator(this, n) }); $c_sc_AbstractIterator.prototype.toMap__s_Predef$$less$colon$less__sci_Map = (function(ev) { var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); while (this.hasNext__Z()) { var arg1 = this.next__O(); b.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)) }; return $as_sci_Map(b.elems$1) }); $c_sc_AbstractIterator.prototype.sum__s_math_Numeric__O = (function(num) { return $s_sc_TraversableOnce$class__sum__sc_TraversableOnce__s_math_Numeric__O(this, num) }); $c_sc_AbstractIterator.prototype.reduceLeft__F2__O = (function(op) { return $s_sc_TraversableOnce$class__reduceLeft__sc_TraversableOnce__F2__O(this, op) }); /** @constructor */ function $c_scg_SetFactory() { $c_scg_GenSetFactory.call(this) } $c_scg_SetFactory.prototype = new $h_scg_GenSetFactory(); $c_scg_SetFactory.prototype.constructor = $c_scg_SetFactory; /** @constructor */ function $h_scg_SetFactory() { /*<skip>*/ } $h_scg_SetFactory.prototype = $c_scg_SetFactory.prototype; /** @constructor */ function $c_sci_ListSet$ListSetBuilder() { $c_O.call(this); this.elems$1 = null; this.seen$1 = null } $c_sci_ListSet$ListSetBuilder.prototype = new $h_O(); $c_sci_ListSet$ListSetBuilder.prototype.constructor = $c_sci_ListSet$ListSetBuilder; /** @constructor */ function $h_sci_ListSet$ListSetBuilder() { /*<skip>*/ } $h_sci_ListSet$ListSetBuilder.prototype = $c_sci_ListSet$ListSetBuilder.prototype; $c_sci_ListSet$ListSetBuilder.prototype.result__sci_ListSet = (function() { var this$2 = this.elems$1; var z = $m_sci_ListSet$EmptyListSet$(); var this$3 = this$2.scala$collection$mutable$ListBuffer$$start$6; var acc = z; var these = this$3; while ((!these.isEmpty__Z())) { var arg1 = acc; var arg2 = these.head__O(); var x$1 = $as_sci_ListSet(arg1); acc = new $c_sci_ListSet$Node().init___sci_ListSet__O(x$1, arg2); these = $as_sc_LinearSeqOptimized(these.tail__O()) }; return $as_sci_ListSet(acc) }); $c_sci_ListSet$ListSetBuilder.prototype.init___ = (function() { $c_sci_ListSet$ListSetBuilder.prototype.init___sci_ListSet.call(this, $m_sci_ListSet$EmptyListSet$()); return this }); $c_sci_ListSet$ListSetBuilder.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__sci_ListSet$ListSetBuilder(elem) }); $c_sci_ListSet$ListSetBuilder.prototype.init___sci_ListSet = (function(initial) { var this$1 = new $c_scm_ListBuffer().init___().$$plus$plus$eq__sc_TraversableOnce__scm_ListBuffer(initial); this.elems$1 = $as_scm_ListBuffer($s_sc_SeqLike$class__reverse__sc_SeqLike__O(this$1)); var this$2 = new $c_scm_HashSet().init___(); this.seen$1 = $as_scm_HashSet($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$2, initial)); return this }); $c_sci_ListSet$ListSetBuilder.prototype.result__O = (function() { return this.result__sci_ListSet() }); $c_sci_ListSet$ListSetBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_sci_ListSet$ListSetBuilder.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__sci_ListSet$ListSetBuilder(elem) }); $c_sci_ListSet$ListSetBuilder.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_sci_ListSet$ListSetBuilder.prototype.$$plus$eq__O__sci_ListSet$ListSetBuilder = (function(x) { var this$1 = this.seen$1; if ((!$s_scm_FlatHashTable$class__containsElem__scm_FlatHashTable__O__Z(this$1, x))) { this.elems$1.$$plus$eq__O__scm_ListBuffer(x); this.seen$1.$$plus$eq__O__scm_HashSet(x) }; return this }); $c_sci_ListSet$ListSetBuilder.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); function $is_sci_ListSet$ListSetBuilder(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_ListSet$ListSetBuilder))) } function $as_sci_ListSet$ListSetBuilder(obj) { return (($is_sci_ListSet$ListSetBuilder(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.ListSet$ListSetBuilder")) } function $isArrayOf_sci_ListSet$ListSetBuilder(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_ListSet$ListSetBuilder))) } function $asArrayOf_sci_ListSet$ListSetBuilder(obj, depth) { return (($isArrayOf_sci_ListSet$ListSetBuilder(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.ListSet$ListSetBuilder;", depth)) } var $d_sci_ListSet$ListSetBuilder = new $TypeData().initClass({ sci_ListSet$ListSetBuilder: 0 }, false, "scala.collection.immutable.ListSet$ListSetBuilder", { sci_ListSet$ListSetBuilder: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1 }); $c_sci_ListSet$ListSetBuilder.prototype.$classData = $d_sci_ListSet$ListSetBuilder; /** @constructor */ function $c_sci_Map$() { $c_scg_ImmutableMapFactory.call(this) } $c_sci_Map$.prototype = new $h_scg_ImmutableMapFactory(); $c_sci_Map$.prototype.constructor = $c_sci_Map$; /** @constructor */ function $h_sci_Map$() { /*<skip>*/ } $h_sci_Map$.prototype = $c_sci_Map$.prototype; $c_sci_Map$.prototype.init___ = (function() { return this }); $c_sci_Map$.prototype.empty__sc_GenMap = (function() { return $m_sci_Map$EmptyMap$() }); var $d_sci_Map$ = new $TypeData().initClass({ sci_Map$: 0 }, false, "scala.collection.immutable.Map$", { sci_Map$: 1, scg_ImmutableMapFactory: 1, scg_MapFactory: 1, scg_GenMapFactory: 1, O: 1 }); $c_sci_Map$.prototype.$classData = $d_sci_Map$; var $n_sci_Map$ = (void 0); function $m_sci_Map$() { if ((!$n_sci_Map$)) { $n_sci_Map$ = new $c_sci_Map$().init___() }; return $n_sci_Map$ } /** @constructor */ function $c_scm_DefaultEntry() { $c_O.call(this); this.key$1 = null; this.value$1 = null; this.next$1 = null } $c_scm_DefaultEntry.prototype = new $h_O(); $c_scm_DefaultEntry.prototype.constructor = $c_scm_DefaultEntry; /** @constructor */ function $h_scm_DefaultEntry() { /*<skip>*/ } $h_scm_DefaultEntry.prototype = $c_scm_DefaultEntry.prototype; $c_scm_DefaultEntry.prototype.chainString__T = (function() { var jsx$3 = this.key$1; var jsx$2 = this.value$1; if ((this.next$1 !== null)) { var this$1 = $as_scm_DefaultEntry(this.next$1); var jsx$1 = (" -> " + this$1.chainString__T()) } else { var jsx$1 = "" }; return ((((("(kv: " + jsx$3) + ", ") + jsx$2) + ")") + jsx$1) }); $c_scm_DefaultEntry.prototype.init___O__O = (function(key, value) { this.key$1 = key; this.value$1 = value; return this }); $c_scm_DefaultEntry.prototype.toString__T = (function() { return this.chainString__T() }); function $is_scm_DefaultEntry(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_DefaultEntry))) } function $as_scm_DefaultEntry(obj) { return (($is_scm_DefaultEntry(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.DefaultEntry")) } function $isArrayOf_scm_DefaultEntry(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_DefaultEntry))) } function $asArrayOf_scm_DefaultEntry(obj, depth) { return (($isArrayOf_scm_DefaultEntry(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.DefaultEntry;", depth)) } var $d_scm_DefaultEntry = new $TypeData().initClass({ scm_DefaultEntry: 0 }, false, "scala.collection.mutable.DefaultEntry", { scm_DefaultEntry: 1, O: 1, scm_HashEntry: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_DefaultEntry.prototype.$classData = $d_scm_DefaultEntry; /** @constructor */ function $c_scm_GrowingBuilder() { $c_O.call(this); this.empty$1 = null; this.elems$1 = null } $c_scm_GrowingBuilder.prototype = new $h_O(); $c_scm_GrowingBuilder.prototype.constructor = $c_scm_GrowingBuilder; /** @constructor */ function $h_scm_GrowingBuilder() { /*<skip>*/ } $h_scm_GrowingBuilder.prototype = $c_scm_GrowingBuilder.prototype; $c_scm_GrowingBuilder.prototype.init___scg_Growable = (function(empty) { this.empty$1 = empty; this.elems$1 = empty; return this }); $c_scm_GrowingBuilder.prototype.$$plus$eq__O__scm_GrowingBuilder = (function(x) { this.elems$1.$$plus$eq__O__scg_Growable(x); return this }); $c_scm_GrowingBuilder.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__scm_GrowingBuilder(elem) }); $c_scm_GrowingBuilder.prototype.result__O = (function() { return this.elems$1 }); $c_scm_GrowingBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_GrowingBuilder.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__scm_GrowingBuilder(elem) }); $c_scm_GrowingBuilder.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_scm_GrowingBuilder.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); var $d_scm_GrowingBuilder = new $TypeData().initClass({ scm_GrowingBuilder: 0 }, false, "scala.collection.mutable.GrowingBuilder", { scm_GrowingBuilder: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1 }); $c_scm_GrowingBuilder.prototype.$classData = $d_scm_GrowingBuilder; /** @constructor */ function $c_scm_LazyBuilder() { $c_O.call(this); this.parts$1 = null } $c_scm_LazyBuilder.prototype = new $h_O(); $c_scm_LazyBuilder.prototype.constructor = $c_scm_LazyBuilder; /** @constructor */ function $h_scm_LazyBuilder() { /*<skip>*/ } $h_scm_LazyBuilder.prototype = $c_scm_LazyBuilder.prototype; $c_scm_LazyBuilder.prototype.init___ = (function() { this.parts$1 = new $c_scm_ListBuffer().init___(); return this }); $c_scm_LazyBuilder.prototype.$$plus$plus$eq__sc_TraversableOnce__scm_LazyBuilder = (function(xs) { this.parts$1.$$plus$eq__O__scm_ListBuffer(xs); return this }); $c_scm_LazyBuilder.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__scm_LazyBuilder(elem) }); $c_scm_LazyBuilder.prototype.$$plus$eq__O__scm_LazyBuilder = (function(x) { var jsx$1 = this.parts$1; $m_sci_List$(); var xs = new $c_sjs_js_WrappedArray().init___sjs_js_Array([x]); var this$2 = $m_sci_List$(); var cbf = this$2.ReusableCBFInstance$2; jsx$1.$$plus$eq__O__scm_ListBuffer($as_sci_List($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(xs, cbf))); return this }); $c_scm_LazyBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_LazyBuilder.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__scm_LazyBuilder(elem) }); $c_scm_LazyBuilder.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_scm_LazyBuilder.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return this.$$plus$plus$eq__sc_TraversableOnce__scm_LazyBuilder(xs) }); /** @constructor */ function $c_scm_Map$() { $c_scg_MutableMapFactory.call(this) } $c_scm_Map$.prototype = new $h_scg_MutableMapFactory(); $c_scm_Map$.prototype.constructor = $c_scm_Map$; /** @constructor */ function $h_scm_Map$() { /*<skip>*/ } $h_scm_Map$.prototype = $c_scm_Map$.prototype; $c_scm_Map$.prototype.init___ = (function() { return this }); $c_scm_Map$.prototype.empty__sc_Map = (function() { return new $c_scm_HashMap().init___() }); $c_scm_Map$.prototype.empty__sc_GenMap = (function() { return new $c_scm_HashMap().init___() }); var $d_scm_Map$ = new $TypeData().initClass({ scm_Map$: 0 }, false, "scala.collection.mutable.Map$", { scm_Map$: 1, scg_MutableMapFactory: 1, scg_MapFactory: 1, scg_GenMapFactory: 1, O: 1 }); $c_scm_Map$.prototype.$classData = $d_scm_Map$; var $n_scm_Map$ = (void 0); function $m_scm_Map$() { if ((!$n_scm_Map$)) { $n_scm_Map$ = new $c_scm_Map$().init___() }; return $n_scm_Map$ } /** @constructor */ function $c_scm_MapBuilder() { $c_O.call(this); this.empty$1 = null; this.elems$1 = null } $c_scm_MapBuilder.prototype = new $h_O(); $c_scm_MapBuilder.prototype.constructor = $c_scm_MapBuilder; /** @constructor */ function $h_scm_MapBuilder() { /*<skip>*/ } $h_scm_MapBuilder.prototype = $c_scm_MapBuilder.prototype; $c_scm_MapBuilder.prototype.$$plus$eq__T2__scm_MapBuilder = (function(x) { this.elems$1 = this.elems$1.$$plus__T2__sc_GenMap(x); return this }); $c_scm_MapBuilder.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__T2__scm_MapBuilder($as_T2(elem)) }); $c_scm_MapBuilder.prototype.result__O = (function() { return this.elems$1 }); $c_scm_MapBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_MapBuilder.prototype.init___sc_GenMap = (function(empty) { this.empty$1 = empty; this.elems$1 = empty; return this }); $c_scm_MapBuilder.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__T2__scm_MapBuilder($as_T2(elem)) }); $c_scm_MapBuilder.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_scm_MapBuilder.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); var $d_scm_MapBuilder = new $TypeData().initClass({ scm_MapBuilder: 0 }, false, "scala.collection.mutable.MapBuilder", { scm_MapBuilder: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1 }); $c_scm_MapBuilder.prototype.$classData = $d_scm_MapBuilder; /** @constructor */ function $c_scm_SetBuilder() { $c_O.call(this); this.empty$1 = null; this.elems$1 = null } $c_scm_SetBuilder.prototype = new $h_O(); $c_scm_SetBuilder.prototype.constructor = $c_scm_SetBuilder; /** @constructor */ function $h_scm_SetBuilder() { /*<skip>*/ } $h_scm_SetBuilder.prototype = $c_scm_SetBuilder.prototype; $c_scm_SetBuilder.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__scm_SetBuilder(elem) }); $c_scm_SetBuilder.prototype.result__O = (function() { return this.elems$1 }); $c_scm_SetBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_SetBuilder.prototype.$$plus$eq__O__scm_SetBuilder = (function(x) { this.elems$1 = this.elems$1.$$plus__O__sc_Set(x); return this }); $c_scm_SetBuilder.prototype.init___sc_Set = (function(empty) { this.empty$1 = empty; this.elems$1 = empty; return this }); $c_scm_SetBuilder.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__scm_SetBuilder(elem) }); $c_scm_SetBuilder.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_scm_SetBuilder.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); var $d_scm_SetBuilder = new $TypeData().initClass({ scm_SetBuilder: 0 }, false, "scala.collection.mutable.SetBuilder", { scm_SetBuilder: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1 }); $c_scm_SetBuilder.prototype.$classData = $d_scm_SetBuilder; /** @constructor */ function $c_scm_WrappedArrayBuilder() { $c_O.call(this); this.tag$1 = null; this.manifest$1 = null; this.elems$1 = null; this.capacity$1 = 0; this.size$1 = 0 } $c_scm_WrappedArrayBuilder.prototype = new $h_O(); $c_scm_WrappedArrayBuilder.prototype.constructor = $c_scm_WrappedArrayBuilder; /** @constructor */ function $h_scm_WrappedArrayBuilder() { /*<skip>*/ } $h_scm_WrappedArrayBuilder.prototype = $c_scm_WrappedArrayBuilder.prototype; $c_scm_WrappedArrayBuilder.prototype.init___s_reflect_ClassTag = (function(tag) { this.tag$1 = tag; this.manifest$1 = tag; this.capacity$1 = 0; this.size$1 = 0; return this }); $c_scm_WrappedArrayBuilder.prototype.ensureSize__p1__I__V = (function(size) { if ((this.capacity$1 < size)) { var newsize = ((this.capacity$1 === 0) ? 16 : $imul(2, this.capacity$1)); while ((newsize < size)) { newsize = $imul(2, newsize) }; this.resize__p1__I__V(newsize) } }); $c_scm_WrappedArrayBuilder.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__scm_WrappedArrayBuilder(elem) }); $c_scm_WrappedArrayBuilder.prototype.$$plus$eq__O__scm_WrappedArrayBuilder = (function(elem) { this.ensureSize__p1__I__V(((1 + this.size$1) | 0)); this.elems$1.update__I__O__V(this.size$1, elem); this.size$1 = ((1 + this.size$1) | 0); return this }); $c_scm_WrappedArrayBuilder.prototype.mkArray__p1__I__scm_WrappedArray = (function(size) { var schematic = this.tag$1; if ($is_jl_Class(schematic)) { var x2 = $as_jl_Class(schematic); var runtimeClass = x2.getComponentType__jl_Class() } else if ((schematic !== null)) { var runtimeClass = schematic.runtimeClass__jl_Class() } else { var runtimeClass; throw new $c_jl_UnsupportedOperationException().init___T(new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["unsupported schematic ", " (", ")"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([schematic, $objectGetClass(schematic)]))) }; var newelems = ((runtimeClass === $d_B.getClassOf()) ? new $c_scm_WrappedArray$ofByte().init___AB($newArrayObject($d_B.getArrayOf(), [size])) : ((runtimeClass === $d_S.getClassOf()) ? new $c_scm_WrappedArray$ofShort().init___AS($newArrayObject($d_S.getArrayOf(), [size])) : ((runtimeClass === $d_C.getClassOf()) ? new $c_scm_WrappedArray$ofChar().init___AC($newArrayObject($d_C.getArrayOf(), [size])) : ((runtimeClass === $d_I.getClassOf()) ? new $c_scm_WrappedArray$ofInt().init___AI($newArrayObject($d_I.getArrayOf(), [size])) : ((runtimeClass === $d_J.getClassOf()) ? new $c_scm_WrappedArray$ofLong().init___AJ($newArrayObject($d_J.getArrayOf(), [size])) : ((runtimeClass === $d_F.getClassOf()) ? new $c_scm_WrappedArray$ofFloat().init___AF($newArrayObject($d_F.getArrayOf(), [size])) : ((runtimeClass === $d_D.getClassOf()) ? new $c_scm_WrappedArray$ofDouble().init___AD($newArrayObject($d_D.getArrayOf(), [size])) : ((runtimeClass === $d_Z.getClassOf()) ? new $c_scm_WrappedArray$ofBoolean().init___AZ($newArrayObject($d_Z.getArrayOf(), [size])) : ((runtimeClass === $d_V.getClassOf()) ? new $c_scm_WrappedArray$ofUnit().init___Asr_BoxedUnit($newArrayObject($d_sr_BoxedUnit.getArrayOf(), [size])) : new $c_scm_WrappedArray$ofRef().init___AO($asArrayOf_O(this.tag$1.newArray__I__O(size), 1))))))))))); if ((this.size$1 > 0)) { $m_s_Array$().copy__O__I__O__I__I__V(this.elems$1.array__O(), 0, newelems.array__O(), 0, this.size$1) }; return newelems }); $c_scm_WrappedArrayBuilder.prototype.result__O = (function() { return this.result__scm_WrappedArray() }); $c_scm_WrappedArrayBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_WrappedArrayBuilder.prototype.resize__p1__I__V = (function(size) { this.elems$1 = this.mkArray__p1__I__scm_WrappedArray(size); this.capacity$1 = size }); $c_scm_WrappedArrayBuilder.prototype.result__scm_WrappedArray = (function() { return (((this.capacity$1 !== 0) && (this.capacity$1 === this.size$1)) ? this.elems$1 : this.mkArray__p1__I__scm_WrappedArray(this.size$1)) }); $c_scm_WrappedArrayBuilder.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__scm_WrappedArrayBuilder(elem) }); $c_scm_WrappedArrayBuilder.prototype.sizeHint__I__V = (function(size) { if ((this.capacity$1 < size)) { this.resize__p1__I__V(size) } }); $c_scm_WrappedArrayBuilder.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); var $d_scm_WrappedArrayBuilder = new $TypeData().initClass({ scm_WrappedArrayBuilder: 0 }, false, "scala.collection.mutable.WrappedArrayBuilder", { scm_WrappedArrayBuilder: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1 }); $c_scm_WrappedArrayBuilder.prototype.$classData = $d_scm_WrappedArrayBuilder; /** @constructor */ function $c_sjsr_RuntimeLong() { $c_jl_Number.call(this); this.lo$2 = 0; this.hi$2 = 0 } $c_sjsr_RuntimeLong.prototype = new $h_jl_Number(); $c_sjsr_RuntimeLong.prototype.constructor = $c_sjsr_RuntimeLong; /** @constructor */ function $h_sjsr_RuntimeLong() { /*<skip>*/ } $h_sjsr_RuntimeLong.prototype = $c_sjsr_RuntimeLong.prototype; $c_sjsr_RuntimeLong.prototype.longValue__J = (function() { return $uJ(this) }); $c_sjsr_RuntimeLong.prototype.$$bar__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) { return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 | b.lo$2), (this.hi$2 | b.hi$2)) }); $c_sjsr_RuntimeLong.prototype.$$greater$eq__sjsr_RuntimeLong__Z = (function(b) { var ahi = this.hi$2; var bhi = b.hi$2; if ((ahi === bhi)) { var a = this.lo$2; var b$1 = b.lo$2; return (((-2147483648) ^ a) >= ((-2147483648) ^ b$1)) } else { return (bhi < ahi) } }); $c_sjsr_RuntimeLong.prototype.unsigned$und$percent__p2__I__I__I__I__sjsr_RuntimeLong = (function(alo, ahi, blo, bhi) { if ((((-2097152) & ahi) === 0)) { if ((((-2097152) & bhi) === 0)) { var aDouble = ((4.294967296E9 * ahi) + $uD((alo >>> 0))); var bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0))); var rDouble = (aDouble % bDouble); var jsx$1 = $uI((rDouble | 0)); var x = (rDouble / 4.294967296E9); return new $c_sjsr_RuntimeLong().init___I__I(jsx$1, $uI((x | 0))) } else { return new $c_sjsr_RuntimeLong().init___I__I(alo, ahi) } } else { return (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0)) ? new $c_sjsr_RuntimeLong().init___I__I((alo & (((-1) + blo) | 0)), 0) : (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0)) ? new $c_sjsr_RuntimeLong().init___I__I(alo, (ahi & (((-1) + bhi) | 0))) : $as_sjsr_RuntimeLong(this.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 1)))) } }); $c_sjsr_RuntimeLong.prototype.byteValue__B = (function() { return this.toByte__B() }); $c_sjsr_RuntimeLong.prototype.toShort__S = (function() { return ((this.lo$2 << 16) >> 16) }); $c_sjsr_RuntimeLong.prototype.equals__O__Z = (function(that) { if ($is_sjsr_RuntimeLong(that)) { var x2 = $as_sjsr_RuntimeLong(that); return ((this.lo$2 === x2.lo$2) && (this.hi$2 === x2.hi$2)) } else { return false } }); $c_sjsr_RuntimeLong.prototype.$$less__sjsr_RuntimeLong__Z = (function(b) { var ahi = this.hi$2; var bhi = b.hi$2; if ((ahi === bhi)) { var a = this.lo$2; var b$1 = b.lo$2; return (((-2147483648) ^ a) < ((-2147483648) ^ b$1)) } else { return (ahi < bhi) } }); $c_sjsr_RuntimeLong.prototype.$$times__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) { var alo = this.lo$2; var ahi = this.hi$2; var blo = b.lo$2; var bhi = b.hi$2; var a0 = (65535 & alo); var a1 = ((alo >>> 16) | 0); var a2 = (65535 & ahi); var a3 = ((ahi >>> 16) | 0); var b0 = (65535 & blo); var b1 = ((blo >>> 16) | 0); var b2 = (65535 & bhi); var b3 = ((bhi >>> 16) | 0); var c0 = $imul(a0, b0); var c1 = ((c0 >>> 16) | 0); c1 = ((c1 + $imul(a1, b0)) | 0); var c2 = ((c1 >>> 16) | 0); c1 = (((65535 & c1) + $imul(a0, b1)) | 0); c2 = ((c2 + ((c1 >>> 16) | 0)) | 0); var c3 = ((c2 >>> 16) | 0); c2 = (((65535 & c2) + $imul(a2, b0)) | 0); c3 = ((c3 + ((c2 >>> 16) | 0)) | 0); c2 = (((65535 & c2) + $imul(a1, b1)) | 0); c3 = ((c3 + ((c2 >>> 16) | 0)) | 0); c2 = (((65535 & c2) + $imul(a0, b2)) | 0); c3 = ((c3 + ((c2 >>> 16) | 0)) | 0); c3 = ((((((((c3 + $imul(a3, b0)) | 0) + $imul(a2, b1)) | 0) + $imul(a1, b2)) | 0) + $imul(a0, b3)) | 0); return new $c_sjsr_RuntimeLong().init___I__I(((65535 & c0) | (c1 << 16)), ((65535 & c2) | (c3 << 16))) }); $c_sjsr_RuntimeLong.prototype.init___I__I__I = (function(l, m, h) { $c_sjsr_RuntimeLong.prototype.init___I__I.call(this, (l | (m << 22)), ((m >> 10) | (h << 12))); return this }); $c_sjsr_RuntimeLong.prototype.$$percent__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) { var alo = this.lo$2; var ahi = this.hi$2; var blo = b.lo$2; var bhi = b.hi$2; if (((blo | bhi) === 0)) { throw new $c_jl_ArithmeticException().init___T("/ by zero") }; if ((ahi === (alo >> 31))) { return ((bhi === (blo >> 31)) ? ((blo !== (-1)) ? new $c_sjsr_RuntimeLong().init___I(((alo % blo) | 0)) : $m_sjsr_RuntimeLong$().Zero$1) : (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0))) ? $m_sjsr_RuntimeLong$().Zero$1 : this)) } else { var neg = (ahi < 0); var absLo = alo; var absHi = ahi; if (neg) { absLo = ((-alo) | 0); absHi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0)) }; var _2 = absLo; var _3 = absHi; var neg$1 = (bhi < 0); var absLo$1 = blo; var absHi$1 = bhi; if (neg$1) { absLo$1 = ((-blo) | 0); absHi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0)) }; var _2$1 = absLo$1; var _3$1 = absHi$1; var absR = this.unsigned$und$percent__p2__I__I__I__I__sjsr_RuntimeLong(_2, _3, _2$1, _3$1); if (neg) { var lo = absR.lo$2; var hi = absR.hi$2; return new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0))) } else { return absR } } }); $c_sjsr_RuntimeLong.prototype.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar = (function(alo, ahi, blo, bhi, ask) { var shift = ((((bhi !== 0) ? $clz32(bhi) : ((32 + $clz32(blo)) | 0)) - ((ahi !== 0) ? $clz32(ahi) : ((32 + $clz32(alo)) | 0))) | 0); var n = shift; if ((n === 0)) { var initialBShift_$_$$und1$f = null; var initialBShift_$_$$und2$f = null; var initialBShift_$_$$und1$mcI$sp$f = blo; var initialBShift_$_$$und2$mcI$sp$f = bhi } else if ((n < 32)) { var _1$mcI$sp = (blo << n); var _2$mcI$sp = (((blo >>> ((-n) | 0)) | 0) | (bhi << n)); var initialBShift_$_$$und1$f = null; var initialBShift_$_$$und2$f = null; var initialBShift_$_$$und1$mcI$sp$f = _1$mcI$sp; var initialBShift_$_$$und2$mcI$sp$f = _2$mcI$sp } else { var _2$mcI$sp$1 = (blo << n); var initialBShift_$_$$und1$f = null; var initialBShift_$_$$und2$f = null; var initialBShift_$_$$und1$mcI$sp$f = 0; var initialBShift_$_$$und2$mcI$sp$f = _2$mcI$sp$1 }; var bShiftLo = initialBShift_$_$$und1$mcI$sp$f; var bShiftHi = initialBShift_$_$$und2$mcI$sp$f; var remLo = alo; var remHi = ahi; var quotLo = 0; var quotHi = 0; while (((shift >= 0) && (((-2097152) & remHi) !== 0))) { var alo$1 = remLo; var ahi$1 = remHi; var blo$1 = bShiftLo; var bhi$1 = bShiftHi; if (((ahi$1 === bhi$1) ? (((-2147483648) ^ alo$1) >= ((-2147483648) ^ blo$1)) : (((-2147483648) ^ ahi$1) >= ((-2147483648) ^ bhi$1)))) { var alo$2 = remLo; var ahi$2 = remHi; var blo$2 = bShiftLo; var bhi$2 = bShiftHi; var lo = ((alo$2 - blo$2) | 0); var _2$mcI$sp$2 = ((((ahi$2 - bhi$2) | 0) + ((((-2147483648) ^ alo$2) < ((-2147483648) ^ lo)) ? (-1) : 0)) | 0); remLo = lo; remHi = _2$mcI$sp$2; if ((shift < 32)) { quotLo = (quotLo | (1 << shift)) } else { quotHi = (quotHi | (1 << shift)) } }; shift = (((-1) + shift) | 0); var lo$1 = bShiftLo; var hi = bShiftHi; var _1$mcI$sp$1 = (((lo$1 >>> 1) | 0) | (hi << (-1))); var _2$mcI$sp$3 = ((hi >>> 1) | 0); bShiftLo = _1$mcI$sp$1; bShiftHi = _2$mcI$sp$3 }; var alo$3 = remLo; var ahi$3 = remHi; if (((ahi$3 === bhi) ? (((-2147483648) ^ alo$3) >= ((-2147483648) ^ blo)) : (((-2147483648) ^ ahi$3) >= ((-2147483648) ^ bhi)))) { var lo$2 = remLo; var hi$1 = remHi; var remDouble = ((4.294967296E9 * hi$1) + $uD((lo$2 >>> 0))); var bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0))); if ((ask !== 1)) { var rem_div_bDouble = (remDouble / bDouble); var alo$4 = quotLo; var ahi$4 = quotHi; var blo$3 = $uI((rem_div_bDouble | 0)); var x = (rem_div_bDouble / 4.294967296E9); var bhi$3 = $uI((x | 0)); var lo$3 = ((alo$4 + blo$3) | 0); var _2$mcI$sp$4 = ((((ahi$4 + bhi$3) | 0) + ((((-2147483648) ^ lo$3) < ((-2147483648) ^ alo$4)) ? 1 : 0)) | 0); quotLo = lo$3; quotHi = _2$mcI$sp$4 }; if ((ask !== 0)) { var rem_mod_bDouble = (remDouble % bDouble); remLo = $uI((rem_mod_bDouble | 0)); var x$1 = (rem_mod_bDouble / 4.294967296E9); remHi = $uI((x$1 | 0)) } }; if ((ask === 0)) { var a = new $c_sjsr_RuntimeLong().init___I__I(quotLo, quotHi); return a } else if ((ask === 1)) { var a$1 = new $c_sjsr_RuntimeLong().init___I__I(remLo, remHi); return a$1 } else { var _1 = quotLo; var _2 = quotHi; var _3 = remLo; var _4 = remHi; var a$2 = [_1, _2, _3, _4]; return a$2 } }); $c_sjsr_RuntimeLong.prototype.toString__T = (function() { var lo = this.lo$2; var hi = this.hi$2; if ((hi === (lo >> 31))) { return ("" + lo) } else if ((hi < 0)) { var _1$mcI$sp = ((-lo) | 0); var _2$mcI$sp = ((lo !== 0) ? (~hi) : ((-hi) | 0)); return ("-" + this.toUnsignedString__p2__I__I__T(_1$mcI$sp, _2$mcI$sp)) } else { return this.toUnsignedString__p2__I__I__T(lo, hi) } }); $c_sjsr_RuntimeLong.prototype.$$less$eq__sjsr_RuntimeLong__Z = (function(b) { var ahi = this.hi$2; var bhi = b.hi$2; if ((ahi === bhi)) { var a = this.lo$2; var b$1 = b.lo$2; return (((-2147483648) ^ b$1) >= ((-2147483648) ^ a)) } else { return (ahi < bhi) } }); $c_sjsr_RuntimeLong.prototype.init___I__I = (function(lo, hi) { this.lo$2 = lo; this.hi$2 = hi; return this }); $c_sjsr_RuntimeLong.prototype.compareTo__O__I = (function(x$1) { var that = $as_sjsr_RuntimeLong(x$1); return this.compareTo__sjsr_RuntimeLong__I($as_sjsr_RuntimeLong(that)) }); $c_sjsr_RuntimeLong.prototype.$$amp__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) { return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 & b.lo$2), (this.hi$2 & b.hi$2)) }); $c_sjsr_RuntimeLong.prototype.compareTo__sjsr_RuntimeLong__I = (function(b) { var ahi = this.hi$2; var bhi = b.hi$2; if ((ahi === bhi)) { var alo = this.lo$2; var blo = b.lo$2; return ((alo === blo) ? 0 : ((((-2147483648) ^ alo) < ((-2147483648) ^ blo)) ? (-1) : 1)) } else { return ((ahi < bhi) ? (-1) : 1) } }); $c_sjsr_RuntimeLong.prototype.$$greater$greater$greater__I__sjsr_RuntimeLong = (function(n0) { var n = (63 & n0); var hi = this.hi$2; return ((n === 0) ? this : ((n < 32) ? new $c_sjsr_RuntimeLong().init___I__I((((this.lo$2 >>> n) | 0) | (hi << ((-n) | 0))), ((hi >>> n) | 0)) : new $c_sjsr_RuntimeLong().init___I__I(((hi >>> n) | 0), 0))) }); $c_sjsr_RuntimeLong.prototype.$$greater__sjsr_RuntimeLong__Z = (function(b) { var ahi = this.hi$2; var bhi = b.hi$2; if ((ahi === bhi)) { var a = this.lo$2; var b$1 = b.lo$2; return (((-2147483648) ^ b$1) < ((-2147483648) ^ a)) } else { return (bhi < ahi) } }); $c_sjsr_RuntimeLong.prototype.$$less$less__I__sjsr_RuntimeLong = (function(n0) { var n = (63 & n0); var lo = this.lo$2; return ((n === 0) ? this : ((n < 32) ? new $c_sjsr_RuntimeLong().init___I__I((lo << n), (((lo >>> ((-n) | 0)) | 0) | (this.hi$2 << n))) : new $c_sjsr_RuntimeLong().init___I__I(0, (lo << n)))) }); $c_sjsr_RuntimeLong.prototype.toInt__I = (function() { return this.lo$2 }); $c_sjsr_RuntimeLong.prototype.init___I = (function(value) { $c_sjsr_RuntimeLong.prototype.init___I__I.call(this, value, (value >> 31)); return this }); $c_sjsr_RuntimeLong.prototype.notEquals__sjsr_RuntimeLong__Z = (function(b) { return (!((this.lo$2 === b.lo$2) && (this.hi$2 === b.hi$2))) }); $c_sjsr_RuntimeLong.prototype.unary$und$minus__sjsr_RuntimeLong = (function() { var lo = this.lo$2; var hi = this.hi$2; return new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0))) }); $c_sjsr_RuntimeLong.prototype.shortValue__S = (function() { return this.toShort__S() }); $c_sjsr_RuntimeLong.prototype.$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) { var alo = this.lo$2; var ahi = this.hi$2; var blo = b.lo$2; var bhi = b.hi$2; var lo = ((alo + blo) | 0); var _2$mcI$sp = ((((ahi + bhi) | 0) + ((((-2147483648) ^ lo) < ((-2147483648) ^ alo)) ? 1 : 0)) | 0); return new $c_sjsr_RuntimeLong().init___I__I(lo, _2$mcI$sp) }); $c_sjsr_RuntimeLong.prototype.toDouble__D = (function() { var lo = this.lo$2; var hi = this.hi$2; if ((hi < 0)) { var _1$mcI$sp = ((-lo) | 0); var _2$mcI$sp = ((lo !== 0) ? (~hi) : ((-hi) | 0)); return (-((4.294967296E9 * $uD((_2$mcI$sp >>> 0))) + $uD((_1$mcI$sp >>> 0)))) } else { return ((4.294967296E9 * hi) + $uD((lo >>> 0))) } }); $c_sjsr_RuntimeLong.prototype.$$greater$greater__I__sjsr_RuntimeLong = (function(n0) { var n = (63 & n0); var hi = this.hi$2; return ((n === 0) ? this : ((n < 32) ? new $c_sjsr_RuntimeLong().init___I__I((((this.lo$2 >>> n) | 0) | (hi << ((-n) | 0))), (hi >> n)) : new $c_sjsr_RuntimeLong().init___I__I((hi >> n), (hi >> 31)))) }); $c_sjsr_RuntimeLong.prototype.unsigned$und$div__p2__I__I__I__I__sjsr_RuntimeLong = (function(alo, ahi, blo, bhi) { if ((((-2097152) & ahi) === 0)) { if ((((-2097152) & bhi) === 0)) { var aDouble = ((4.294967296E9 * ahi) + $uD((alo >>> 0))); var bDouble = ((4.294967296E9 * bhi) + $uD((blo >>> 0))); var rDouble = (aDouble / bDouble); var jsx$1 = $uI((rDouble | 0)); var x = (rDouble / 4.294967296E9); return new $c_sjsr_RuntimeLong().init___I__I(jsx$1, $uI((x | 0))) } else { return $m_sjsr_RuntimeLong$().Zero$1 } } else if (((bhi === 0) && ((blo & (((-1) + blo) | 0)) === 0))) { var pow = ((31 - $clz32(blo)) | 0); return ((pow === 0) ? new $c_sjsr_RuntimeLong().init___I__I(alo, ahi) : new $c_sjsr_RuntimeLong().init___I__I((((alo >>> pow) | 0) | (ahi << ((-pow) | 0))), ((ahi >>> pow) | 0))) } else if (((blo === 0) && ((bhi & (((-1) + bhi) | 0)) === 0))) { var pow$2 = ((31 - $clz32(bhi)) | 0); return new $c_sjsr_RuntimeLong().init___I__I(((ahi >>> pow$2) | 0), 0) } else { return $as_sjsr_RuntimeLong(this.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar(alo, ahi, blo, bhi, 0)) } }); $c_sjsr_RuntimeLong.prototype.$$div__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) { var alo = this.lo$2; var ahi = this.hi$2; var blo = b.lo$2; var bhi = b.hi$2; if (((blo | bhi) === 0)) { throw new $c_jl_ArithmeticException().init___T("/ by zero") }; if ((ahi === (alo >> 31))) { return ((bhi === (blo >> 31)) ? (((alo === (-2147483648)) && (blo === (-1))) ? new $c_sjsr_RuntimeLong().init___I__I((-2147483648), 0) : new $c_sjsr_RuntimeLong().init___I(((alo / blo) | 0))) : (((alo === (-2147483648)) && ((blo === (-2147483648)) && (bhi === 0))) ? $m_sjsr_RuntimeLong$().MinusOne$1 : $m_sjsr_RuntimeLong$().Zero$1)) } else { var neg = (ahi < 0); var absLo = alo; var absHi = ahi; if (neg) { absLo = ((-alo) | 0); absHi = ((alo !== 0) ? (~ahi) : ((-ahi) | 0)) }; var _2 = absLo; var _3 = absHi; var neg$1 = (bhi < 0); var absLo$1 = blo; var absHi$1 = bhi; if (neg$1) { absLo$1 = ((-blo) | 0); absHi$1 = ((blo !== 0) ? (~bhi) : ((-bhi) | 0)) }; var _2$1 = absLo$1; var _3$1 = absHi$1; var absR = this.unsigned$und$div__p2__I__I__I__I__sjsr_RuntimeLong(_2, _3, _2$1, _3$1); if ((neg === neg$1)) { return absR } else { var lo = absR.lo$2; var hi = absR.hi$2; return new $c_sjsr_RuntimeLong().init___I__I(((-lo) | 0), ((lo !== 0) ? (~hi) : ((-hi) | 0))) } } }); $c_sjsr_RuntimeLong.prototype.toByte__B = (function() { return ((this.lo$2 << 24) >> 24) }); $c_sjsr_RuntimeLong.prototype.doubleValue__D = (function() { return this.toDouble__D() }); $c_sjsr_RuntimeLong.prototype.hashCode__I = (function() { return (this.lo$2 ^ this.hi$2) }); $c_sjsr_RuntimeLong.prototype.intValue__I = (function() { return this.lo$2 }); $c_sjsr_RuntimeLong.prototype.toUnsignedString__p2__I__I__T = (function(lo, hi) { if ((((-2097152) & hi) === 0)) { var this$5 = ((4.294967296E9 * hi) + $uD((lo >>> 0))); return ("" + this$5) } else { var quotRem = this.unsignedDivModHelper__p2__I__I__I__I__I__sjs_js_$bar(lo, hi, 1000000000, 0, 2); var quotLo = $uI(quotRem["0"]); var quotHi = $uI(quotRem["1"]); var rem = $uI(quotRem["2"]); var quot = ((4.294967296E9 * quotHi) + $uD((quotLo >>> 0))); var remStr = ("" + rem); return ((("" + quot) + $as_T("000000000".substring($uI(remStr.length)))) + remStr) } }); $c_sjsr_RuntimeLong.prototype.compareTo__jl_Long__I = (function(that) { return this.compareTo__sjsr_RuntimeLong__I($as_sjsr_RuntimeLong(that)) }); $c_sjsr_RuntimeLong.prototype.unary$und$tilde__sjsr_RuntimeLong = (function() { return new $c_sjsr_RuntimeLong().init___I__I((~this.lo$2), (~this.hi$2)) }); $c_sjsr_RuntimeLong.prototype.floatValue__F = (function() { return this.toFloat__F() }); $c_sjsr_RuntimeLong.prototype.$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) { var alo = this.lo$2; var ahi = this.hi$2; var blo = b.lo$2; var bhi = b.hi$2; var lo = ((alo - blo) | 0); var _2$mcI$sp = ((((ahi - bhi) | 0) + ((((-2147483648) ^ alo) < ((-2147483648) ^ lo)) ? (-1) : 0)) | 0); return new $c_sjsr_RuntimeLong().init___I__I(lo, _2$mcI$sp) }); $c_sjsr_RuntimeLong.prototype.toFloat__F = (function() { return $fround(this.toDouble__D()) }); $c_sjsr_RuntimeLong.prototype.$$up__sjsr_RuntimeLong__sjsr_RuntimeLong = (function(b) { return new $c_sjsr_RuntimeLong().init___I__I((this.lo$2 ^ b.lo$2), (this.hi$2 ^ b.hi$2)) }); $c_sjsr_RuntimeLong.prototype.equals__sjsr_RuntimeLong__Z = (function(b) { return ((this.lo$2 === b.lo$2) && (this.hi$2 === b.hi$2)) }); function $is_sjsr_RuntimeLong(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjsr_RuntimeLong))) } function $as_sjsr_RuntimeLong(obj) { return (($is_sjsr_RuntimeLong(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.runtime.RuntimeLong")) } function $isArrayOf_sjsr_RuntimeLong(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjsr_RuntimeLong))) } function $asArrayOf_sjsr_RuntimeLong(obj, depth) { return (($isArrayOf_sjsr_RuntimeLong(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.runtime.RuntimeLong;", depth)) } var $d_sjsr_RuntimeLong = new $TypeData().initClass({ sjsr_RuntimeLong: 0 }, false, "scala.scalajs.runtime.RuntimeLong", { sjsr_RuntimeLong: 1, jl_Number: 1, O: 1, Ljava_io_Serializable: 1, jl_Comparable: 1 }); $c_sjsr_RuntimeLong.prototype.$classData = $d_sjsr_RuntimeLong; /** @constructor */ function $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2() { $c_sr_AbstractFunction1.call(this); this.$$outer$2 = null } $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2.prototype = new $h_sr_AbstractFunction1(); $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2.prototype.constructor = $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2; /** @constructor */ function $h_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2() { /*<skip>*/ } $h_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2.prototype = $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2.prototype; $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2.prototype.apply__O__O = (function(v1) { this.apply__Lorg_scalajs_dom_raw_Element__V(v1) }); $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2.prototype.init___Lhypersubs_gui_MainDialog$FlangeCounter$ = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; return this }); $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2.prototype.apply__Lorg_scalajs_dom_raw_Element__V = (function(flangeBox) { (0, $m_Lorg_querki_jquery_package$().$$$1)(flangeBox).hover($m_Lorg_querki_jquery_package$().ft02EventHandler__F1__sjs_js_$bar(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer) { return (function(elem$2) { return arg$outer.$$outer$2.hypersubs$gui$MainDialog$FlangeCounter$$showTip__Lorg_scalajs_dom_raw_Element__Lhypersubs_jqueryui$JQueryUI(elem$2) }) })(this))), $m_Lorg_querki_jquery_package$().ft02EventHandler__F1__sjs_js_$bar(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$1) { return (function(elem$2$1) { return arg$outer$1.$$outer$2.hypersubs$gui$MainDialog$FlangeCounter$$hideTip__Lorg_scalajs_dom_raw_Element__Lorg_querki_jquery_JQuery(elem$2$1) }) })(this)))) }); var $d_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2 = new $TypeData().initClass({ Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2: 0 }, false, "hypersubs.gui.MainDialog$FlangeCounter$$anonfun$create$2", { Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2: 1, sr_AbstractFunction1: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2.prototype.$classData = $d_Lhypersubs_gui_MainDialog$FlangeCounter$$anonfun$create$2; /** @constructor */ function $c_Lhypersubs_gui_NameBoxMetrics() { $c_O.call(this); this.possiblySqueezedName$1 = null; this.fontSize$1 = 0; this.height$1 = 0.0; this.fontWeight$1 = null } $c_Lhypersubs_gui_NameBoxMetrics.prototype = new $h_O(); $c_Lhypersubs_gui_NameBoxMetrics.prototype.constructor = $c_Lhypersubs_gui_NameBoxMetrics; /** @constructor */ function $h_Lhypersubs_gui_NameBoxMetrics() { /*<skip>*/ } $h_Lhypersubs_gui_NameBoxMetrics.prototype = $c_Lhypersubs_gui_NameBoxMetrics.prototype; $c_Lhypersubs_gui_NameBoxMetrics.prototype.productPrefix__T = (function() { return "NameBoxMetrics" }); $c_Lhypersubs_gui_NameBoxMetrics.prototype.productArity__I = (function() { return 4 }); $c_Lhypersubs_gui_NameBoxMetrics.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_gui_NameBoxMetrics(x$1)) { var NameBoxMetrics$1 = $as_Lhypersubs_gui_NameBoxMetrics(x$1); return ((((this.possiblySqueezedName$1 === NameBoxMetrics$1.possiblySqueezedName$1) && (this.fontSize$1 === NameBoxMetrics$1.fontSize$1)) && (this.height$1 === NameBoxMetrics$1.height$1)) && (this.fontWeight$1 === NameBoxMetrics$1.fontWeight$1)) } else { return false } }); $c_Lhypersubs_gui_NameBoxMetrics.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.possiblySqueezedName$1; break } case 1: { return this.fontSize$1; break } case 2: { return this.height$1; break } case 3: { return this.fontWeight$1; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_gui_NameBoxMetrics.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_gui_NameBoxMetrics.prototype.init___T__I__D__T = (function(possiblySqueezedName, fontSize, height, fontWeight) { this.possiblySqueezedName$1 = possiblySqueezedName; this.fontSize$1 = fontSize; this.height$1 = height; this.fontWeight$1 = fontWeight; return this }); $c_Lhypersubs_gui_NameBoxMetrics.prototype.hashCode__I = (function() { var acc = (-889275714); acc = $m_sr_Statics$().mix__I__I__I(acc, $m_sr_Statics$().anyHash__O__I(this.possiblySqueezedName$1)); acc = $m_sr_Statics$().mix__I__I__I(acc, this.fontSize$1); acc = $m_sr_Statics$().mix__I__I__I(acc, $m_sr_Statics$().doubleHash__D__I(this.height$1)); acc = $m_sr_Statics$().mix__I__I__I(acc, $m_sr_Statics$().anyHash__O__I(this.fontWeight$1)); return $m_sr_Statics$().finalizeHash__I__I__I(acc, 4) }); $c_Lhypersubs_gui_NameBoxMetrics.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_gui_NameBoxMetrics(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_NameBoxMetrics))) } function $as_Lhypersubs_gui_NameBoxMetrics(obj) { return (($is_Lhypersubs_gui_NameBoxMetrics(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.NameBoxMetrics")) } function $isArrayOf_Lhypersubs_gui_NameBoxMetrics(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_NameBoxMetrics))) } function $asArrayOf_Lhypersubs_gui_NameBoxMetrics(obj, depth) { return (($isArrayOf_Lhypersubs_gui_NameBoxMetrics(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.NameBoxMetrics;", depth)) } var $d_Lhypersubs_gui_NameBoxMetrics = new $TypeData().initClass({ Lhypersubs_gui_NameBoxMetrics: 0 }, false, "hypersubs.gui.NameBoxMetrics", { Lhypersubs_gui_NameBoxMetrics: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_NameBoxMetrics.prototype.$classData = $d_Lhypersubs_gui_NameBoxMetrics; /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$Colors() { $c_O.call(this); this.name$1 = null; this.lighter$1 = null; this.darker$1 = null; this.border$1 = null; this.reason$1 = null } $c_Lhypersubs_gui_PlayerBox$Colors.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$Colors; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$Colors() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$Colors.prototype = $c_Lhypersubs_gui_PlayerBox$Colors.prototype; $c_Lhypersubs_gui_PlayerBox$Colors.prototype.productPrefix__T = (function() { return "Colors" }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.productArity__I = (function() { return 5 }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_gui_PlayerBox$Colors(x$1)) { var Colors$1 = $as_Lhypersubs_gui_PlayerBox$Colors(x$1); return (((((this.name$1 === Colors$1.name$1) && (this.lighter$1 === Colors$1.lighter$1)) && (this.darker$1 === Colors$1.darker$1)) && (this.border$1 === Colors$1.border$1)) && (this.reason$1 === Colors$1.reason$1)) } else { return false } }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.reasonDiv__T = (function() { return new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<div class='color'>", " means: ", "</div>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.name$1, this.reason$1])) }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.name$1; break } case 1: { return this.lighter$1; break } case 2: { return this.darker$1; break } case 3: { return this.border$1; break } case 4: { return this.reason$1; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.applyToDiv__Lorg_scalajs_dom_raw_Element__Lorg_querki_jquery_JQuery = (function(element) { var jsx$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)(element); var a = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["linear-gradient(top, ", " 0%, ", " 100%)"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.lighter$1, this.darker$1])); jsx$1.css("background", a); var jsx$2 = (0, $m_Lorg_querki_jquery_package$().$$$1)(element); var a$1 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["-moz-linear-gradient(top, ", " 0%, ", " 100%)"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.lighter$1, this.darker$1])); jsx$2.css("background", a$1); var jsx$3 = (0, $m_Lorg_querki_jquery_package$().$$$1)(element); var a$2 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["-webkit-linear-gradient(top, ", " 0%, ", " 100%)"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.lighter$1, this.darker$1])); jsx$3.css("background", a$2); var jsx$4 = (0, $m_Lorg_querki_jquery_package$().$$$1)(element); var a$3 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["1px solid ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.border$1])); return jsx$4.css("border", a$3) }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.init___T__T__T__T__T = (function(name, lighter, darker, border, reason) { this.name$1 = name; this.lighter$1 = lighter; this.darker$1 = darker; this.border$1 = border; this.reason$1 = reason; return this }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_gui_PlayerBox$Colors(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_PlayerBox$Colors))) } function $as_Lhypersubs_gui_PlayerBox$Colors(obj) { return (($is_Lhypersubs_gui_PlayerBox$Colors(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.PlayerBox$Colors")) } function $isArrayOf_Lhypersubs_gui_PlayerBox$Colors(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_PlayerBox$Colors))) } function $asArrayOf_Lhypersubs_gui_PlayerBox$Colors(obj, depth) { return (($isArrayOf_Lhypersubs_gui_PlayerBox$Colors(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.PlayerBox$Colors;", depth)) } var $d_Lhypersubs_gui_PlayerBox$Colors = new $TypeData().initClass({ Lhypersubs_gui_PlayerBox$Colors: 0 }, false, "hypersubs.gui.PlayerBox$Colors", { Lhypersubs_gui_PlayerBox$Colors: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_PlayerBox$Colors.prototype.$classData = $d_Lhypersubs_gui_PlayerBox$Colors; /** @constructor */ function $c_Lhypersubs_gui_PlayerCircle$Options() { $c_O.call(this); this.player$1 = null; this.colorExplanation$1 = null } $c_Lhypersubs_gui_PlayerCircle$Options.prototype = new $h_O(); $c_Lhypersubs_gui_PlayerCircle$Options.prototype.constructor = $c_Lhypersubs_gui_PlayerCircle$Options; /** @constructor */ function $h_Lhypersubs_gui_PlayerCircle$Options() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerCircle$Options.prototype = $c_Lhypersubs_gui_PlayerCircle$Options.prototype; $c_Lhypersubs_gui_PlayerCircle$Options.prototype.productPrefix__T = (function() { return "Options" }); $c_Lhypersubs_gui_PlayerCircle$Options.prototype.productArity__I = (function() { return 2 }); $c_Lhypersubs_gui_PlayerCircle$Options.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_gui_PlayerCircle$Options(x$1)) { var Options$1 = $as_Lhypersubs_gui_PlayerCircle$Options(x$1); var x = this.player$1; var x$2 = Options$1.player$1; if (((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))) { var x$3 = this.colorExplanation$1; var x$4 = Options$1.colorExplanation$1; return ((x$3 === null) ? (x$4 === null) : x$3.equals__O__Z(x$4)) } else { return false } } else { return false } }); $c_Lhypersubs_gui_PlayerCircle$Options.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.player$1; break } case 1: { return this.colorExplanation$1; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_gui_PlayerCircle$Options.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_gui_PlayerCircle$Options.prototype.init___s_Option__s_Option = (function(player, colorExplanation) { this.player$1 = player; this.colorExplanation$1 = colorExplanation; return this }); $c_Lhypersubs_gui_PlayerCircle$Options.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_Lhypersubs_gui_PlayerCircle$Options.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_gui_PlayerCircle$Options(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_PlayerCircle$Options))) } function $as_Lhypersubs_gui_PlayerCircle$Options(obj) { return (($is_Lhypersubs_gui_PlayerCircle$Options(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.PlayerCircle$Options")) } function $isArrayOf_Lhypersubs_gui_PlayerCircle$Options(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_PlayerCircle$Options))) } function $asArrayOf_Lhypersubs_gui_PlayerCircle$Options(obj, depth) { return (($isArrayOf_Lhypersubs_gui_PlayerCircle$Options(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.PlayerCircle$Options;", depth)) } var $d_Lhypersubs_gui_PlayerCircle$Options = new $TypeData().initClass({ Lhypersubs_gui_PlayerCircle$Options: 0 }, false, "hypersubs.gui.PlayerCircle$Options", { Lhypersubs_gui_PlayerCircle$Options: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_PlayerCircle$Options.prototype.$classData = $d_Lhypersubs_gui_PlayerCircle$Options; /** @constructor */ function $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3() { $c_sr_AbstractFunction1.call(this) } $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3.prototype = new $h_sr_AbstractFunction1(); $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3.prototype.constructor = $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3; /** @constructor */ function $h_Lhypersubs_gui_package$DefaultOptions$$anonfun$3() { /*<skip>*/ } $h_Lhypersubs_gui_package$DefaultOptions$$anonfun$3.prototype = $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3.prototype; $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3.prototype.apply__O__O = (function(v1) { return this.apply__T__T2($as_T(v1)) }); $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3.prototype.apply__T__T2 = (function(name) { var $this = new $g.Object(); $this.text = null; $this.click = null; $this.text = name; $this.click = (function() { return (void 0) }); return new $c_T2().init___O__O(name, $this) }); $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3.prototype.init___Lhypersubs_gui_package$DefaultOptions = (function($$outer) { return this }); var $d_Lhypersubs_gui_package$DefaultOptions$$anonfun$3 = new $TypeData().initClass({ Lhypersubs_gui_package$DefaultOptions$$anonfun$3: 0 }, false, "hypersubs.gui.package$DefaultOptions$$anonfun$3", { Lhypersubs_gui_package$DefaultOptions$$anonfun$3: 1, sr_AbstractFunction1: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_package$DefaultOptions$$anonfun$3.prototype.$classData = $d_Lhypersubs_gui_package$DefaultOptions$$anonfun$3; /** @constructor */ function $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig() { $c_O.call(this); this.tip$1 = null; this.icon$1 = null; this.float$1 = null; this.onClick$1 = null } $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype = new $h_O(); $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.constructor = $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig; /** @constructor */ function $h_Lhypersubs_gui_package$HSubsDialog$ButtonConfig() { /*<skip>*/ } $h_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype = $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype; $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.productPrefix__T = (function() { return "ButtonConfig" }); $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.init___T__s_Option__T__F0 = (function(tip, icon, $float, onClick) { this.tip$1 = tip; this.icon$1 = icon; this.float$1 = $float; this.onClick$1 = onClick; return this }); $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.productArity__I = (function() { return 4 }); $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_gui_package$HSubsDialog$ButtonConfig(x$1)) { var ButtonConfig$1 = $as_Lhypersubs_gui_package$HSubsDialog$ButtonConfig(x$1); if ((this.tip$1 === ButtonConfig$1.tip$1)) { var x = this.icon$1; var x$2 = ButtonConfig$1.icon$1; var jsx$1 = ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2)) } else { var jsx$1 = false }; if ((jsx$1 && (this.float$1 === ButtonConfig$1.float$1))) { var x$3 = this.onClick$1; var x$4 = ButtonConfig$1.onClick$1; return (x$3 === x$4) } else { return false } } else { return false } }); $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.tip$1; break } case 1: { return this.icon$1; break } case 2: { return this.float$1; break } case 3: { return this.onClick$1; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_gui_package$HSubsDialog$ButtonConfig(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_package$HSubsDialog$ButtonConfig))) } function $as_Lhypersubs_gui_package$HSubsDialog$ButtonConfig(obj) { return (($is_Lhypersubs_gui_package$HSubsDialog$ButtonConfig(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.package$HSubsDialog$ButtonConfig")) } function $isArrayOf_Lhypersubs_gui_package$HSubsDialog$ButtonConfig(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_package$HSubsDialog$ButtonConfig))) } function $asArrayOf_Lhypersubs_gui_package$HSubsDialog$ButtonConfig(obj, depth) { return (($isArrayOf_Lhypersubs_gui_package$HSubsDialog$ButtonConfig(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.package$HSubsDialog$ButtonConfig;", depth)) } var $d_Lhypersubs_gui_package$HSubsDialog$ButtonConfig = new $TypeData().initClass({ Lhypersubs_gui_package$HSubsDialog$ButtonConfig: 0 }, false, "hypersubs.gui.package$HSubsDialog$ButtonConfig", { Lhypersubs_gui_package$HSubsDialog$ButtonConfig: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_package$HSubsDialog$ButtonConfig.prototype.$classData = $d_Lhypersubs_gui_package$HSubsDialog$ButtonConfig; /** @constructor */ function $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1() { $c_sr_AbstractFunction1.call(this) } $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1.prototype = new $h_sr_AbstractFunction1(); $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1.prototype.constructor = $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1; /** @constructor */ function $h_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1() { /*<skip>*/ } $h_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1.prototype = $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1.prototype; $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1.prototype.apply__O__O = (function(v1) { return this.apply__Lhypersubs_hsubs_PosPick__Z($as_Lhypersubs_hsubs_PosPick(v1)) }); $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1.prototype.init___Lhypersubs_hsubs_FillStrategy = (function($$outer) { return this }); $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1.prototype.apply__Lhypersubs_hsubs_PosPick__Z = (function(pick) { return pick.choosable$1.forall__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(player$2) { var player = $as_Lhypersubs_Player(player$2); return ((!player.opposition$1.exists$1) || (!player.isSafe__Z())) }))) }); var $d_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1 = new $TypeData().initClass({ Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1: 0 }, false, "hypersubs.hsubs.FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1", { Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1: 1, sr_AbstractFunction1: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1.prototype.$classData = $d_Lhypersubs_hsubs_FillStrategy$$anonfun$hasOnlyUniqueDangerPosAndExtraIdles$1$1; /** @constructor */ function $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2() { $c_sr_AbstractFunction1.call(this); this.singlePos$1$f = null; this.indexed$2$f = null; this.benchStart$1$f = 0; this.playersPerArea$1$2 = null } $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2.prototype = new $h_sr_AbstractFunction1(); $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2.prototype.constructor = $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2; /** @constructor */ function $h_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2() { /*<skip>*/ } $h_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2.prototype = $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2.prototype; $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2.prototype.apply__O__O = (function(v1) { this.apply__T2__V($as_T2(v1)) }); $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2.prototype.apply__T2__V = (function(x$11) { if ((x$11 !== null)) { var area = $as_Lhypersubs_hsubs_package$HypersubsArea(x$11.$$und1__O()); var players = $as_sc_Seq($as_F0(this.playersPerArea$1$2.apply__O__O(area)).apply__O()); var x = $m_Lhypersubs_hsubs_package$Limbo$(); if ((x === area)) { var this$1 = $m_sc_Seq$(); $as_sc_TraversableLike(players.zipWithIndex__scg_CanBuildFrom__O(this$1.ReusableCBFInstance$2)).withFilter__F1__scg_FilterMonadic(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$2$2) { var check$ifrefutable$2 = $as_T2(check$ifrefutable$2$2); return (check$ifrefutable$2 !== null) }))).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer, players$1) { return (function(x$8$2) { var x$8 = $as_T2(x$8$2); if ((x$8 !== null)) { var player = $as_Lhypersubs_Player(x$8.$$und1__O()); var i = x$8.$$und2$mcI$sp__I(); var jsx$1 = arg$outer.indexed$2$f; var y = new $c_Lhypersubs_hsubs_package$InLimbo().init___Lhypersubs_Position__I__I(arg$outer.singlePos$1$f.position$1, i, players$1.size__I()); return $as_scm_Map(jsx$1.$$plus$eq__T2__scm_MapLike(new $c_T2().init___O__O(player, y))) } else { throw new $c_s_MatchError().init___O(x$8) } }) })(this, players))) } else { var x$3 = $m_Lhypersubs_hsubs_package$Team$(); if ((x$3 === area)) { var this$4 = $m_sc_Seq$(); $as_sc_TraversableLike(players.zipWithIndex__scg_CanBuildFrom__O(this$4.ReusableCBFInstance$2)).withFilter__F1__scg_FilterMonadic(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$3$2) { var check$ifrefutable$3 = $as_T2(check$ifrefutable$3$2); return (check$ifrefutable$3 !== null) }))).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$1, players$1$1) { return (function(x$9$2) { var x$9 = $as_T2(x$9$2); if ((x$9 !== null)) { var player$1 = $as_Lhypersubs_Player(x$9.$$und1__O()); var i$1 = x$9.$$und2$mcI$sp__I(); var jsx$2 = arg$outer$1.indexed$2$f; var y$1 = new $c_Lhypersubs_hsubs_package$InTheTeam().init___Lhypersubs_Position__I__I(arg$outer$1.singlePos$1$f.position$1, i$1, players$1$1.size__I()); return $as_scm_Map(jsx$2.$$plus$eq__T2__scm_MapLike(new $c_T2().init___O__O(player$1, y$1))) } else { throw new $c_s_MatchError().init___O(x$9) } }) })(this, players))) } else { var x$5 = $m_Lhypersubs_hsubs_package$Bench$(); if ((x$5 === area)) { var this$7 = $m_sc_Seq$(); $as_sc_TraversableLike(players.zipWithIndex__scg_CanBuildFrom__O(this$7.ReusableCBFInstance$2)).withFilter__F1__scg_FilterMonadic(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(check$ifrefutable$4$2) { var check$ifrefutable$4 = $as_T2(check$ifrefutable$4$2); return (check$ifrefutable$4 !== null) }))).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer$2, players$1$2) { return (function(x$10$2) { var x$10 = $as_T2(x$10$2); if ((x$10 !== null)) { var player$2 = $as_Lhypersubs_Player(x$10.$$und1__O()); var i$2 = x$10.$$und2$mcI$sp__I(); var jsx$3 = arg$outer$2.indexed$2$f; var y$2 = new $c_Lhypersubs_hsubs_package$OnTheBench().init___Lhypersubs_Position__I__I(arg$outer$2.singlePos$1$f.position$1, ((arg$outer$2.benchStart$1$f + i$2) | 0), players$1$2.size__I()); return $as_scm_Map(jsx$3.$$plus$eq__T2__scm_MapLike(new $c_T2().init___O__O(player$2, y$2))) } else { throw new $c_s_MatchError().init___O(x$10) } }) })(this, players))) } else { throw new $c_s_MatchError().init___O(area) } } } } else { throw new $c_s_MatchError().init___O(x$11) } }); $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2.prototype.init___Lhypersubs_hsubs_PosPick__scm_Map__I__sci_Map = (function(singlePos$1, indexed$2, benchStart$1, playersPerArea$1) { this.singlePos$1$f = singlePos$1; this.indexed$2$f = indexed$2; this.benchStart$1$f = benchStart$1; this.playersPerArea$1$2 = playersPerArea$1; return this }); var $d_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2 = new $TypeData().initClass({ Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2: 0 }, false, "hypersubs.hsubs.Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2", { Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2: 1, sr_AbstractFunction1: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2.prototype.$classData = $d_Lhypersubs_hsubs_Selection$$anonfun$hypersubs$hsubs$Selection$$addToIndex$2; /** @constructor */ function $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1() { $c_sr_AbstractFunction1.call(this); this.indexed$1$f = null; this.benchStartForCL$1$f = null } $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1.prototype = new $h_sr_AbstractFunction1(); $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1.prototype.constructor = $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1; /** @constructor */ function $h_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1() { /*<skip>*/ } $h_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1.prototype = $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1.prototype; $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1.prototype.apply__Lhypersubs_hsubs_PosGroupPick__V = (function(posGroup) { var benchOffset = new $c_sr_IntRef().init___I(0); posGroup.positions$1.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer, benchOffset$1) { return (function(singlePos$2) { var singlePos = $as_Lhypersubs_hsubs_PosPick(singlePos$2); $m_Lhypersubs_hsubs_Selection$().hypersubs$hsubs$Selection$$addToIndex__Lhypersubs_hsubs_PosPick__scm_Map__I__V(singlePos, arg$outer.indexed$1$f, ((arg$outer.benchStartForCL$1$f.elem$1 + benchOffset$1.elem$1) | 0)); benchOffset$1.elem$1 = ((benchOffset$1.elem$1 + singlePos.minimumBenchSize__I()) | 0) }) })(this, benchOffset))); this.benchStartForCL$1$f.elem$1 = ((this.benchStartForCL$1$f.elem$1 + posGroup.benchSize__I()) | 0) }); $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1.prototype.apply__O__O = (function(v1) { this.apply__Lhypersubs_hsubs_PosGroupPick__V($as_Lhypersubs_hsubs_PosGroupPick(v1)) }); $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1.prototype.init___scm_Map__sr_IntRef = (function(indexed$1, benchStartForCL$1) { this.indexed$1$f = indexed$1; this.benchStartForCL$1$f = benchStartForCL$1; return this }); var $d_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1 = new $TypeData().initClass({ Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1: 0 }, false, "hypersubs.hsubs.Selection$$anonfun$indexByPlayer$1", { Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1: 1, sr_AbstractFunction1: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1.prototype.$classData = $d_Lhypersubs_hsubs_Selection$$anonfun$indexByPlayer$1; /** @constructor */ function $c_Lhypersubs_package$Coords() { $c_O.call(this); this.x$1 = 0.0; this.y$1 = 0.0 } $c_Lhypersubs_package$Coords.prototype = new $h_O(); $c_Lhypersubs_package$Coords.prototype.constructor = $c_Lhypersubs_package$Coords; /** @constructor */ function $h_Lhypersubs_package$Coords() { /*<skip>*/ } $h_Lhypersubs_package$Coords.prototype = $c_Lhypersubs_package$Coords.prototype; $c_Lhypersubs_package$Coords.prototype.productPrefix__T = (function() { return "Coords" }); $c_Lhypersubs_package$Coords.prototype.productArity__I = (function() { return 2 }); $c_Lhypersubs_package$Coords.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_package$Coords(x$1)) { var Coords$1 = $as_Lhypersubs_package$Coords(x$1); return ((this.x$1 === Coords$1.x$1) && (this.y$1 === Coords$1.y$1)) } else { return false } }); $c_Lhypersubs_package$Coords.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.x$1; break } case 1: { return this.y$1; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_package$Coords.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_package$Coords.prototype.init___D__D = (function(x, y) { this.x$1 = x; this.y$1 = y; return this }); $c_Lhypersubs_package$Coords.prototype.hashCode__I = (function() { var acc = (-889275714); acc = $m_sr_Statics$().mix__I__I__I(acc, $m_sr_Statics$().doubleHash__D__I(this.x$1)); acc = $m_sr_Statics$().mix__I__I__I(acc, $m_sr_Statics$().doubleHash__D__I(this.y$1)); return $m_sr_Statics$().finalizeHash__I__I__I(acc, 2) }); $c_Lhypersubs_package$Coords.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_package$Coords(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_package$Coords))) } function $as_Lhypersubs_package$Coords(obj) { return (($is_Lhypersubs_package$Coords(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.package$Coords")) } function $isArrayOf_Lhypersubs_package$Coords(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_package$Coords))) } function $asArrayOf_Lhypersubs_package$Coords(obj, depth) { return (($isArrayOf_Lhypersubs_package$Coords(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.package$Coords;", depth)) } var $d_Lhypersubs_package$Coords = new $TypeData().initClass({ Lhypersubs_package$Coords: 0 }, false, "hypersubs.package$Coords", { Lhypersubs_package$Coords: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_package$Coords.prototype.$classData = $d_Lhypersubs_package$Coords; /** @constructor */ function $c_Lhypersubs_package$HypersubsException() { $c_jl_RuntimeException.call(this) } $c_Lhypersubs_package$HypersubsException.prototype = new $h_jl_RuntimeException(); $c_Lhypersubs_package$HypersubsException.prototype.constructor = $c_Lhypersubs_package$HypersubsException; /** @constructor */ function $h_Lhypersubs_package$HypersubsException() { /*<skip>*/ } $h_Lhypersubs_package$HypersubsException.prototype = $c_Lhypersubs_package$HypersubsException.prototype; $c_Lhypersubs_package$HypersubsException.prototype.init___T = (function(message) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, message, null); return this }); var $d_Lhypersubs_package$HypersubsException = new $TypeData().initClass({ Lhypersubs_package$HypersubsException: 0 }, false, "hypersubs.package$HypersubsException", { Lhypersubs_package$HypersubsException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_package$HypersubsException.prototype.$classData = $d_Lhypersubs_package$HypersubsException; /** @constructor */ function $c_Lhypersubs_package$Location() { $c_O.call(this); this.my$1 = null; this.at$1 = null; this.of$1 = null; this.offset$1 = null; this.collision$1 = null } $c_Lhypersubs_package$Location.prototype = new $h_O(); $c_Lhypersubs_package$Location.prototype.constructor = $c_Lhypersubs_package$Location; /** @constructor */ function $h_Lhypersubs_package$Location() { /*<skip>*/ } $h_Lhypersubs_package$Location.prototype = $c_Lhypersubs_package$Location.prototype; $c_Lhypersubs_package$Location.prototype.productPrefix__T = (function() { return "Location" }); $c_Lhypersubs_package$Location.prototype.productArity__I = (function() { return 5 }); $c_Lhypersubs_package$Location.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_package$Location(x$1)) { var Location$1 = $as_Lhypersubs_package$Location(x$1); return (((((this.my$1 === Location$1.my$1) && (this.at$1 === Location$1.at$1)) && $m_sr_BoxesRunTime$().equals__O__O__Z(this.of$1, Location$1.of$1)) && (this.offset$1 === Location$1.offset$1)) && (this.collision$1 === Location$1.collision$1)) } else { return false } }); $c_Lhypersubs_package$Location.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.my$1; break } case 1: { return this.at$1; break } case 2: { return this.of$1; break } case 3: { return this.offset$1; break } case 4: { return this.collision$1; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_package$Location.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_package$Location.prototype.init___T__T__sjs_js_Any__T__T = (function(my, at, of, offset, collision) { this.my$1 = my; this.at$1 = at; this.of$1 = of; this.offset$1 = offset; this.collision$1 = collision; return this }); $c_Lhypersubs_package$Location.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_Lhypersubs_package$Location.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_package$Location(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_package$Location))) } function $as_Lhypersubs_package$Location(obj) { return (($is_Lhypersubs_package$Location(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.package$Location")) } function $isArrayOf_Lhypersubs_package$Location(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_package$Location))) } function $asArrayOf_Lhypersubs_package$Location(obj, depth) { return (($isArrayOf_Lhypersubs_package$Location(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.package$Location;", depth)) } var $d_Lhypersubs_package$Location = new $TypeData().initClass({ Lhypersubs_package$Location: 0 }, false, "hypersubs.package$Location", { Lhypersubs_package$Location: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_package$Location.prototype.$classData = $d_Lhypersubs_package$Location; /** @constructor */ function $c_Lhypersubs_package$Location$() { $c_sr_AbstractFunction5.call(this) } $c_Lhypersubs_package$Location$.prototype = new $h_sr_AbstractFunction5(); $c_Lhypersubs_package$Location$.prototype.constructor = $c_Lhypersubs_package$Location$; /** @constructor */ function $h_Lhypersubs_package$Location$() { /*<skip>*/ } $h_Lhypersubs_package$Location$.prototype = $c_Lhypersubs_package$Location$.prototype; $c_Lhypersubs_package$Location$.prototype.init___ = (function() { return this }); $c_Lhypersubs_package$Location$.prototype.apply$default$5__T = (function() { return "fit" }); $c_Lhypersubs_package$Location$.prototype.toString__T = (function() { return "Location" }); var $d_Lhypersubs_package$Location$ = new $TypeData().initClass({ Lhypersubs_package$Location$: 0 }, false, "hypersubs.package$Location$", { Lhypersubs_package$Location$: 1, sr_AbstractFunction5: 1, O: 1, F5: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_package$Location$.prototype.$classData = $d_Lhypersubs_package$Location$; var $n_Lhypersubs_package$Location$ = (void 0); function $m_Lhypersubs_package$Location$() { if ((!$n_Lhypersubs_package$Location$)) { $n_Lhypersubs_package$Location$ = new $c_Lhypersubs_package$Location$().init___() }; return $n_Lhypersubs_package$Location$ } /** @constructor */ function $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1() { $c_sr_AbstractFunction1.call(this); this.prune$1$f = false } $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1.prototype = new $h_sr_AbstractFunction1(); $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1.prototype.constructor = $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1; /** @constructor */ function $h_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1() { /*<skip>*/ } $h_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1.prototype = $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1.prototype; $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1.prototype.apply__O__O = (function(v1) { this.apply__Lorg_scalajs_dom_raw_Element__V(v1) }); $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1.prototype.apply__Lorg_scalajs_dom_raw_Element__V = (function(playersOfBlock) { var count = new $c_sr_IntRef().init___I(0); var currentlyInPlayingButNotSelectedRowsAtTheEndOfTheBlockOutput = new $c_sr_BooleanRef().init___Z(false); $m_Lorg_querki_jquery_package$(); var jq = (0, $m_Lorg_querki_jquery_package$().$$$1)(playersOfBlock).children("tr"); new $c_Lorg_querki_jquery_JQueryExtensions().init___Lorg_querki_jquery_JQuery(jq).foreach__F1__Lorg_querki_jquery_JQuery(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(arg$outer, count$1, currentlyInPlayingButNotSelectedRowsAtTheEndOfTheBlockOutput$1) { return (function(playerRow$2) { if ((arg$outer.prune$1$f && $m_Lhypersubs_page_ConfirmationPage$().hypersubs$page$ConfirmationPage$$isReallyPruneable$1__Lorg_scalajs_dom_raw_Element__Z(playerRow$2))) { (0, $m_Lorg_querki_jquery_package$().$$$1)(playerRow$2).css("display", "none") } else if ($m_Lhypersubs_page_ConfirmationPage$().hypersubs$page$ConfirmationPage$$isPlayingButNotSelected$1__Lorg_scalajs_dom_raw_Element__Z(playerRow$2)) { count$1.elem$1 = 0; currentlyInPlayingButNotSelectedRowsAtTheEndOfTheBlockOutput$1.elem$1 = true } else if (arg$outer.prune$1$f) { count$1.elem$1 = ((1 + count$1.elem$1) | 0); var qual$1 = (0, $m_Lorg_querki_jquery_package$().$$$1)(playerRow$2); qual$1.toggleClass("on"); var qual$2 = (0, $m_Lorg_querki_jquery_package$().$$$1)(playerRow$2); qual$2.toggleClass("off") }; if (currentlyInPlayingButNotSelectedRowsAtTheEndOfTheBlockOutput$1.elem$1) { (0, $m_Lorg_querki_jquery_package$().$$$1)(playerRow$2).find("td").css("color", "#ff0000") } }) })(this, count, currentlyInPlayingButNotSelectedRowsAtTheEndOfTheBlockOutput))) }); $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1.prototype.init___Z = (function(prune$1) { this.prune$1$f = prune$1; return this }); var $d_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1 = new $TypeData().initClass({ Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1: 0 }, false, "hypersubs.page.ConfirmationPage$$anonfun$updatePlayerRows$1", { Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1: 1, sr_AbstractFunction1: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1.prototype.$classData = $d_Lhypersubs_page_ConfirmationPage$$anonfun$updatePlayerRows$1; /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1() { $c_sr_AbstractFunction1.call(this); this.$$outer$2 = null; this.teamTrs$1$f = null; this.sourceURLPrefix$1$f = null; this.index$1$f = 0 } $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1.prototype = new $h_sr_AbstractFunction1(); $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1.prototype = $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1.prototype; $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1.prototype.apply__O__O = (function(v1) { return this.apply__Lorg_scalajs_dom_raw_Element__O(v1) }); $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1.prototype.init___Lhypersubs_page_MoreInfoTooltip__sjs_js_Array__T__I = (function($$outer, teamTrs$1, sourceURLPrefix$1, index$1) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; this.teamTrs$1$f = teamTrs$1; this.sourceURLPrefix$1$f = sourceURLPrefix$1; this.index$1$f = index$1; return this }); $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1.prototype.apply__Lorg_scalajs_dom_raw_Element__O = (function(teamTr) { if ($m_Lhypersubs_page_OFLPage$().isClassicPrem__Lorg_scalajs_dom_raw_Element__Z(teamTr)) { var dataWrapper = (0, $m_Lorg_querki_jquery_package$().$$$1)("<div style='display: none'></div>"); return dataWrapper.load(((("" + this.sourceURLPrefix$1$f) + $m_Lhypersubs_page_OFLPage$().teamID__Lorg_scalajs_dom_raw_Element__T(teamTr)) + " #wrapper"), null, (function(f) { return (function(arg1, arg2, arg3) { return f.apply__O__O__O__O__O(this, arg1, arg2, arg3) }) })(new $c_sjsr_AnonFunction4().init___sjs_js_Function4((function(arg$outer) { return (function(thiz$2, x$4$2, x$5$2, x$6$2) { $as_T(x$4$2); $as_T(x$5$2); arg$outer.$$outer$2.addInfo__Lhypersubs_page_MoreInfoTooltip$TeamInfo__Lorg_querki_jquery_JQuery(arg$outer.$$outer$2.hypersubs$page$MoreInfoTooltip$$fetchTeam__Lorg_scalajs_dom_raw_Element__Lhypersubs_page_MoreInfoTooltip$TeamInfo(thiz$2)); arg$outer.$$outer$2.hypersubs$page$MoreInfoTooltip$$addFrom$1__I__sjs_js_Array__T__V(((1 + arg$outer.index$1$f) | 0), arg$outer.teamTrs$1$f, arg$outer.sourceURLPrefix$1$f) }) })(this)))) } else { this.$$outer$2.hypersubs$page$MoreInfoTooltip$$addFrom$1__I__sjs_js_Array__T__V(((1 + this.index$1$f) | 0), this.teamTrs$1$f, this.sourceURLPrefix$1$f); return (void 0) } }); var $d_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1 = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1: 0 }, false, "hypersubs.page.MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1", { Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1: 1, sr_AbstractFunction1: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip$$anonfun$hypersubs$page$MoreInfoTooltip$$addFrom$1$1; /** @constructor */ function $c_Lhypersubs_page_SupersubsPage$$anonfun$2() { $c_sr_AbstractFunction1.call(this) } $c_Lhypersubs_page_SupersubsPage$$anonfun$2.prototype = new $h_sr_AbstractFunction1(); $c_Lhypersubs_page_SupersubsPage$$anonfun$2.prototype.constructor = $c_Lhypersubs_page_SupersubsPage$$anonfun$2; /** @constructor */ function $h_Lhypersubs_page_SupersubsPage$$anonfun$2() { /*<skip>*/ } $h_Lhypersubs_page_SupersubsPage$$anonfun$2.prototype = $c_Lhypersubs_page_SupersubsPage$$anonfun$2.prototype; $c_Lhypersubs_page_SupersubsPage$$anonfun$2.prototype.init___ = (function() { return this }); $c_Lhypersubs_page_SupersubsPage$$anonfun$2.prototype.apply__O__O = (function(v1) { return this.apply__Lhypersubs_hsubs_PosGroupPick__sc_Seq($as_Lhypersubs_hsubs_PosGroupPick(v1)) }); $c_Lhypersubs_page_SupersubsPage$$anonfun$2.prototype.apply__Lhypersubs_hsubs_PosGroupPick__sc_Seq = (function(groupPick) { var jsx$2 = groupPick.positions$1; var jsx$1 = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(posPick$2) { var posPick = $as_Lhypersubs_hsubs_PosPick(posPick$2); return $m_Lhypersubs_page_SupersubsPage$().hypersubs$page$SupersubsPage$$posPickToSupersubs__Lhypersubs_hsubs_PosPick__sc_Seq(posPick) })); var this$1 = $m_sc_Seq$(); return $as_sc_Seq(jsx$2.map__F1__scg_CanBuildFrom__O(jsx$1, this$1.ReusableCBFInstance$2)) }); var $d_Lhypersubs_page_SupersubsPage$$anonfun$2 = new $TypeData().initClass({ Lhypersubs_page_SupersubsPage$$anonfun$2: 0 }, false, "hypersubs.page.SupersubsPage$$anonfun$2", { Lhypersubs_page_SupersubsPage$$anonfun$2: 1, sr_AbstractFunction1: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_SupersubsPage$$anonfun$2.prototype.$classData = $d_Lhypersubs_page_SupersubsPage$$anonfun$2; /** @constructor */ function $c_Lhypersubs_page_SupersubsPage$SingleSupersub() { $c_O.call(this); this.playerNumber$1 = 0; this.isSelected$1 = false } $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype = new $h_O(); $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.constructor = $c_Lhypersubs_page_SupersubsPage$SingleSupersub; /** @constructor */ function $h_Lhypersubs_page_SupersubsPage$SingleSupersub() { /*<skip>*/ } $h_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype = $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype; $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.productPrefix__T = (function() { return "SingleSupersub" }); $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.productArity__I = (function() { return 2 }); $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_page_SupersubsPage$SingleSupersub(x$1)) { var SingleSupersub$1 = $as_Lhypersubs_page_SupersubsPage$SingleSupersub(x$1); return ((this.playerNumber$1 === SingleSupersub$1.playerNumber$1) && (this.isSelected$1 === SingleSupersub$1.isSelected$1)) } else { return false } }); $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.playerNumber$1; break } case 1: { return this.isSelected$1; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.init___I__Z = (function(playerNumber, isSelected) { this.playerNumber$1 = playerNumber; this.isSelected$1 = isSelected; return this }); $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.hashCode__I = (function() { var acc = (-889275714); acc = $m_sr_Statics$().mix__I__I__I(acc, this.playerNumber$1); acc = $m_sr_Statics$().mix__I__I__I(acc, (this.isSelected$1 ? 1231 : 1237)); return $m_sr_Statics$().finalizeHash__I__I__I(acc, 2) }); $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_page_SupersubsPage$SingleSupersub(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_page_SupersubsPage$SingleSupersub))) } function $as_Lhypersubs_page_SupersubsPage$SingleSupersub(obj) { return (($is_Lhypersubs_page_SupersubsPage$SingleSupersub(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.page.SupersubsPage$SingleSupersub")) } function $isArrayOf_Lhypersubs_page_SupersubsPage$SingleSupersub(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_page_SupersubsPage$SingleSupersub))) } function $asArrayOf_Lhypersubs_page_SupersubsPage$SingleSupersub(obj, depth) { return (($isArrayOf_Lhypersubs_page_SupersubsPage$SingleSupersub(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.page.SupersubsPage$SingleSupersub;", depth)) } var $d_Lhypersubs_page_SupersubsPage$SingleSupersub = new $TypeData().initClass({ Lhypersubs_page_SupersubsPage$SingleSupersub: 0 }, false, "hypersubs.page.SupersubsPage$SingleSupersub", { Lhypersubs_page_SupersubsPage$SingleSupersub: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_SupersubsPage$SingleSupersub.prototype.$classData = $d_Lhypersubs_page_SupersubsPage$SingleSupersub; /** @constructor */ function $c_jl_ArithmeticException() { $c_jl_RuntimeException.call(this) } $c_jl_ArithmeticException.prototype = new $h_jl_RuntimeException(); $c_jl_ArithmeticException.prototype.constructor = $c_jl_ArithmeticException; /** @constructor */ function $h_jl_ArithmeticException() { /*<skip>*/ } $h_jl_ArithmeticException.prototype = $c_jl_ArithmeticException.prototype; $c_jl_ArithmeticException.prototype.init___T = (function(s) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_jl_ArithmeticException = new $TypeData().initClass({ jl_ArithmeticException: 0 }, false, "java.lang.ArithmeticException", { jl_ArithmeticException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_ArithmeticException.prototype.$classData = $d_jl_ArithmeticException; /** @constructor */ function $c_jl_ClassCastException() { $c_jl_RuntimeException.call(this) } $c_jl_ClassCastException.prototype = new $h_jl_RuntimeException(); $c_jl_ClassCastException.prototype.constructor = $c_jl_ClassCastException; /** @constructor */ function $h_jl_ClassCastException() { /*<skip>*/ } $h_jl_ClassCastException.prototype = $c_jl_ClassCastException.prototype; $c_jl_ClassCastException.prototype.init___T = (function(s) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); function $is_jl_ClassCastException(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.jl_ClassCastException))) } function $as_jl_ClassCastException(obj) { return (($is_jl_ClassCastException(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.lang.ClassCastException")) } function $isArrayOf_jl_ClassCastException(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.jl_ClassCastException))) } function $asArrayOf_jl_ClassCastException(obj, depth) { return (($isArrayOf_jl_ClassCastException(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.ClassCastException;", depth)) } var $d_jl_ClassCastException = new $TypeData().initClass({ jl_ClassCastException: 0 }, false, "java.lang.ClassCastException", { jl_ClassCastException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_ClassCastException.prototype.$classData = $d_jl_ClassCastException; /** @constructor */ function $c_jl_IllegalArgumentException() { $c_jl_RuntimeException.call(this) } $c_jl_IllegalArgumentException.prototype = new $h_jl_RuntimeException(); $c_jl_IllegalArgumentException.prototype.constructor = $c_jl_IllegalArgumentException; /** @constructor */ function $h_jl_IllegalArgumentException() { /*<skip>*/ } $h_jl_IllegalArgumentException.prototype = $c_jl_IllegalArgumentException.prototype; $c_jl_IllegalArgumentException.prototype.init___ = (function() { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); return this }); $c_jl_IllegalArgumentException.prototype.init___T = (function(s) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_jl_IllegalArgumentException = new $TypeData().initClass({ jl_IllegalArgumentException: 0 }, false, "java.lang.IllegalArgumentException", { jl_IllegalArgumentException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_IllegalArgumentException.prototype.$classData = $d_jl_IllegalArgumentException; /** @constructor */ function $c_jl_IllegalStateException() { $c_jl_RuntimeException.call(this) } $c_jl_IllegalStateException.prototype = new $h_jl_RuntimeException(); $c_jl_IllegalStateException.prototype.constructor = $c_jl_IllegalStateException; /** @constructor */ function $h_jl_IllegalStateException() { /*<skip>*/ } $h_jl_IllegalStateException.prototype = $c_jl_IllegalStateException.prototype; $c_jl_IllegalStateException.prototype.init___T = (function(s) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_jl_IllegalStateException = new $TypeData().initClass({ jl_IllegalStateException: 0 }, false, "java.lang.IllegalStateException", { jl_IllegalStateException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_IllegalStateException.prototype.$classData = $d_jl_IllegalStateException; /** @constructor */ function $c_jl_IndexOutOfBoundsException() { $c_jl_RuntimeException.call(this) } $c_jl_IndexOutOfBoundsException.prototype = new $h_jl_RuntimeException(); $c_jl_IndexOutOfBoundsException.prototype.constructor = $c_jl_IndexOutOfBoundsException; /** @constructor */ function $h_jl_IndexOutOfBoundsException() { /*<skip>*/ } $h_jl_IndexOutOfBoundsException.prototype = $c_jl_IndexOutOfBoundsException.prototype; $c_jl_IndexOutOfBoundsException.prototype.init___T = (function(s) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_jl_IndexOutOfBoundsException = new $TypeData().initClass({ jl_IndexOutOfBoundsException: 0 }, false, "java.lang.IndexOutOfBoundsException", { jl_IndexOutOfBoundsException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_IndexOutOfBoundsException.prototype.$classData = $d_jl_IndexOutOfBoundsException; /** @constructor */ function $c_jl_NullPointerException() { $c_jl_RuntimeException.call(this) } $c_jl_NullPointerException.prototype = new $h_jl_RuntimeException(); $c_jl_NullPointerException.prototype.constructor = $c_jl_NullPointerException; /** @constructor */ function $h_jl_NullPointerException() { /*<skip>*/ } $h_jl_NullPointerException.prototype = $c_jl_NullPointerException.prototype; $c_jl_NullPointerException.prototype.init___ = (function() { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); return this }); var $d_jl_NullPointerException = new $TypeData().initClass({ jl_NullPointerException: 0 }, false, "java.lang.NullPointerException", { jl_NullPointerException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_NullPointerException.prototype.$classData = $d_jl_NullPointerException; /** @constructor */ function $c_jl_UnsupportedOperationException() { $c_jl_RuntimeException.call(this) } $c_jl_UnsupportedOperationException.prototype = new $h_jl_RuntimeException(); $c_jl_UnsupportedOperationException.prototype.constructor = $c_jl_UnsupportedOperationException; /** @constructor */ function $h_jl_UnsupportedOperationException() { /*<skip>*/ } $h_jl_UnsupportedOperationException.prototype = $c_jl_UnsupportedOperationException.prototype; $c_jl_UnsupportedOperationException.prototype.init___T = (function(s) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_jl_UnsupportedOperationException = new $TypeData().initClass({ jl_UnsupportedOperationException: 0 }, false, "java.lang.UnsupportedOperationException", { jl_UnsupportedOperationException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_UnsupportedOperationException.prototype.$classData = $d_jl_UnsupportedOperationException; /** @constructor */ function $c_ju_NoSuchElementException() { $c_jl_RuntimeException.call(this) } $c_ju_NoSuchElementException.prototype = new $h_jl_RuntimeException(); $c_ju_NoSuchElementException.prototype.constructor = $c_ju_NoSuchElementException; /** @constructor */ function $h_ju_NoSuchElementException() { /*<skip>*/ } $h_ju_NoSuchElementException.prototype = $c_ju_NoSuchElementException.prototype; $c_ju_NoSuchElementException.prototype.init___ = (function() { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); return this }); $c_ju_NoSuchElementException.prototype.init___T = (function(s) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_ju_NoSuchElementException = new $TypeData().initClass({ ju_NoSuchElementException: 0 }, false, "java.util.NoSuchElementException", { ju_NoSuchElementException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_ju_NoSuchElementException.prototype.$classData = $d_ju_NoSuchElementException; /** @constructor */ function $c_s_MatchError() { $c_jl_RuntimeException.call(this); this.obj$4 = null; this.objString$4 = null; this.bitmap$0$4 = false } $c_s_MatchError.prototype = new $h_jl_RuntimeException(); $c_s_MatchError.prototype.constructor = $c_s_MatchError; /** @constructor */ function $h_s_MatchError() { /*<skip>*/ } $h_s_MatchError.prototype = $c_s_MatchError.prototype; $c_s_MatchError.prototype.objString$lzycompute__p4__T = (function() { if ((!this.bitmap$0$4)) { this.objString$4 = ((this.obj$4 === null) ? "null" : this.liftedTree1$1__p4__T()); this.bitmap$0$4 = true }; return this.objString$4 }); $c_s_MatchError.prototype.ofClass$1__p4__T = (function() { var this$1 = this.obj$4; return ("of class " + $objectGetClass(this$1).getName__T()) }); $c_s_MatchError.prototype.liftedTree1$1__p4__T = (function() { try { return ((($objectToString(this.obj$4) + " (") + this.ofClass$1__p4__T()) + ")") } catch (e) { var e$2 = $m_sjsr_package$().wrapJavaScriptException__O__jl_Throwable(e); if ((e$2 !== null)) { return ("an instance " + this.ofClass$1__p4__T()) } else { throw e } } }); $c_s_MatchError.prototype.getMessage__T = (function() { return this.objString__p4__T() }); $c_s_MatchError.prototype.objString__p4__T = (function() { return ((!this.bitmap$0$4) ? this.objString$lzycompute__p4__T() : this.objString$4) }); $c_s_MatchError.prototype.init___O = (function(obj) { this.obj$4 = obj; $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); return this }); var $d_s_MatchError = new $TypeData().initClass({ s_MatchError: 0 }, false, "scala.MatchError", { s_MatchError: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_s_MatchError.prototype.$classData = $d_s_MatchError; /** @constructor */ function $c_s_Option() { $c_O.call(this) } $c_s_Option.prototype = new $h_O(); $c_s_Option.prototype.constructor = $c_s_Option; /** @constructor */ function $h_s_Option() { /*<skip>*/ } $h_s_Option.prototype = $c_s_Option.prototype; $c_s_Option.prototype.isDefined__Z = (function() { return (!this.isEmpty__Z()) }); /** @constructor */ function $c_s_Predef$$anon$1() { $c_s_Predef$$less$colon$less.call(this) } $c_s_Predef$$anon$1.prototype = new $h_s_Predef$$less$colon$less(); $c_s_Predef$$anon$1.prototype.constructor = $c_s_Predef$$anon$1; /** @constructor */ function $h_s_Predef$$anon$1() { /*<skip>*/ } $h_s_Predef$$anon$1.prototype = $c_s_Predef$$anon$1.prototype; $c_s_Predef$$anon$1.prototype.init___ = (function() { return this }); $c_s_Predef$$anon$1.prototype.apply__O__O = (function(x) { return x }); var $d_s_Predef$$anon$1 = new $TypeData().initClass({ s_Predef$$anon$1: 0 }, false, "scala.Predef$$anon$1", { s_Predef$$anon$1: 1, s_Predef$$less$colon$less: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_Predef$$anon$1.prototype.$classData = $d_s_Predef$$anon$1; /** @constructor */ function $c_s_Predef$$anon$2() { $c_s_Predef$$eq$colon$eq.call(this) } $c_s_Predef$$anon$2.prototype = new $h_s_Predef$$eq$colon$eq(); $c_s_Predef$$anon$2.prototype.constructor = $c_s_Predef$$anon$2; /** @constructor */ function $h_s_Predef$$anon$2() { /*<skip>*/ } $h_s_Predef$$anon$2.prototype = $c_s_Predef$$anon$2.prototype; $c_s_Predef$$anon$2.prototype.init___ = (function() { return this }); $c_s_Predef$$anon$2.prototype.apply__O__O = (function(x) { return x }); var $d_s_Predef$$anon$2 = new $TypeData().initClass({ s_Predef$$anon$2: 0 }, false, "scala.Predef$$anon$2", { s_Predef$$anon$2: 1, s_Predef$$eq$colon$eq: 1, O: 1, F1: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_Predef$$anon$2.prototype.$classData = $d_s_Predef$$anon$2; /** @constructor */ function $c_s_StringContext() { $c_O.call(this); this.parts$1 = null } $c_s_StringContext.prototype = new $h_O(); $c_s_StringContext.prototype.constructor = $c_s_StringContext; /** @constructor */ function $h_s_StringContext() { /*<skip>*/ } $h_s_StringContext.prototype = $c_s_StringContext.prototype; $c_s_StringContext.prototype.productPrefix__T = (function() { return "StringContext" }); $c_s_StringContext.prototype.productArity__I = (function() { return 1 }); $c_s_StringContext.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_s_StringContext(x$1)) { var StringContext$1 = $as_s_StringContext(x$1); var x = this.parts$1; var x$2 = StringContext$1.parts$1; return ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2)) } else { return false } }); $c_s_StringContext.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.parts$1; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_s_StringContext.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_s_StringContext.prototype.checkLengths__sc_Seq__V = (function(args) { if ((this.parts$1.length__I() !== ((1 + args.length__I()) | 0))) { throw new $c_jl_IllegalArgumentException().init___T((((("wrong number of arguments (" + args.length__I()) + ") for interpolated string with ") + this.parts$1.length__I()) + " parts")) } }); $c_s_StringContext.prototype.s__sc_Seq__T = (function(args) { var f = (function($this) { return (function(str$2) { var str = $as_T(str$2); var this$1 = $m_s_StringContext$(); return this$1.treatEscapes0__p1__T__Z__T(str, false) }) })(this); this.checkLengths__sc_Seq__V(args); var pi = this.parts$1.iterator__sc_Iterator(); var ai = args.iterator__sc_Iterator(); var arg1 = pi.next__O(); var bldr = new $c_jl_StringBuilder().init___T($as_T(f(arg1))); while (ai.hasNext__Z()) { bldr.append__O__jl_StringBuilder(ai.next__O()); var arg1$1 = pi.next__O(); bldr.append__T__jl_StringBuilder($as_T(f(arg1$1))) }; return bldr.content$1 }); $c_s_StringContext.prototype.raw__sc_Seq__T = (function(args) { var f = (function($this) { return (function(x$2) { var x = $as_T(x$2); return x }) })(this); this.checkLengths__sc_Seq__V(args); var pi = this.parts$1.iterator__sc_Iterator(); var ai = args.iterator__sc_Iterator(); var arg1 = pi.next__O(); var bldr = new $c_jl_StringBuilder().init___T($as_T(f(arg1))); while (ai.hasNext__Z()) { bldr.append__O__jl_StringBuilder(ai.next__O()); var arg1$1 = pi.next__O(); bldr.append__T__jl_StringBuilder($as_T(f(arg1$1))) }; return bldr.content$1 }); $c_s_StringContext.prototype.init___sc_Seq = (function(parts) { this.parts$1 = parts; return this }); $c_s_StringContext.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_s_StringContext.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_s_StringContext(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.s_StringContext))) } function $as_s_StringContext(obj) { return (($is_s_StringContext(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.StringContext")) } function $isArrayOf_s_StringContext(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.s_StringContext))) } function $asArrayOf_s_StringContext(obj, depth) { return (($isArrayOf_s_StringContext(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.StringContext;", depth)) } var $d_s_StringContext = new $TypeData().initClass({ s_StringContext: 0 }, false, "scala.StringContext", { s_StringContext: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_StringContext.prototype.$classData = $d_s_StringContext; function $is_s_reflect_ClassTag(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.s_reflect_ClassTag))) } function $as_s_reflect_ClassTag(obj) { return (($is_s_reflect_ClassTag(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.reflect.ClassTag")) } function $isArrayOf_s_reflect_ClassTag(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.s_reflect_ClassTag))) } function $asArrayOf_s_reflect_ClassTag(obj, depth) { return (($isArrayOf_s_reflect_ClassTag(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.reflect.ClassTag;", depth)) } /** @constructor */ function $c_s_util_control_BreakControl() { $c_jl_Throwable.call(this) } $c_s_util_control_BreakControl.prototype = new $h_jl_Throwable(); $c_s_util_control_BreakControl.prototype.constructor = $c_s_util_control_BreakControl; /** @constructor */ function $h_s_util_control_BreakControl() { /*<skip>*/ } $h_s_util_control_BreakControl.prototype = $c_s_util_control_BreakControl.prototype; $c_s_util_control_BreakControl.prototype.init___ = (function() { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); return this }); $c_s_util_control_BreakControl.prototype.fillInStackTrace__jl_Throwable = (function() { return $s_s_util_control_NoStackTrace$class__fillInStackTrace__s_util_control_NoStackTrace__jl_Throwable(this) }); var $d_s_util_control_BreakControl = new $TypeData().initClass({ s_util_control_BreakControl: 0 }, false, "scala.util.control.BreakControl", { s_util_control_BreakControl: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1, s_util_control_ControlThrowable: 1, s_util_control_NoStackTrace: 1 }); $c_s_util_control_BreakControl.prototype.$classData = $d_s_util_control_BreakControl; function $is_sc_GenTraversable(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_GenTraversable))) } function $as_sc_GenTraversable(obj) { return (($is_sc_GenTraversable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.GenTraversable")) } function $isArrayOf_sc_GenTraversable(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_GenTraversable))) } function $asArrayOf_sc_GenTraversable(obj, depth) { return (($isArrayOf_sc_GenTraversable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.GenTraversable;", depth)) } /** @constructor */ function $c_sc_Iterable$() { $c_scg_GenTraversableFactory.call(this) } $c_sc_Iterable$.prototype = new $h_scg_GenTraversableFactory(); $c_sc_Iterable$.prototype.constructor = $c_sc_Iterable$; /** @constructor */ function $h_sc_Iterable$() { /*<skip>*/ } $h_sc_Iterable$.prototype = $c_sc_Iterable$.prototype; $c_sc_Iterable$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_sc_Iterable$.prototype.newBuilder__scm_Builder = (function() { $m_sci_Iterable$(); return new $c_scm_ListBuffer().init___() }); var $d_sc_Iterable$ = new $TypeData().initClass({ sc_Iterable$: 0 }, false, "scala.collection.Iterable$", { sc_Iterable$: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_sc_Iterable$.prototype.$classData = $d_sc_Iterable$; var $n_sc_Iterable$ = (void 0); function $m_sc_Iterable$() { if ((!$n_sc_Iterable$)) { $n_sc_Iterable$ = new $c_sc_Iterable$().init___() }; return $n_sc_Iterable$ } /** @constructor */ function $c_sc_Iterator$$anon$11() { $c_sc_AbstractIterator.call(this); this.$$outer$2 = null; this.f$3$2 = null } $c_sc_Iterator$$anon$11.prototype = new $h_sc_AbstractIterator(); $c_sc_Iterator$$anon$11.prototype.constructor = $c_sc_Iterator$$anon$11; /** @constructor */ function $h_sc_Iterator$$anon$11() { /*<skip>*/ } $h_sc_Iterator$$anon$11.prototype = $c_sc_Iterator$$anon$11.prototype; $c_sc_Iterator$$anon$11.prototype.next__O = (function() { return this.f$3$2.apply__O__O(this.$$outer$2.next__O()) }); $c_sc_Iterator$$anon$11.prototype.init___sc_Iterator__F1 = (function($$outer, f$3) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; this.f$3$2 = f$3; return this }); $c_sc_Iterator$$anon$11.prototype.hasNext__Z = (function() { return this.$$outer$2.hasNext__Z() }); var $d_sc_Iterator$$anon$11 = new $TypeData().initClass({ sc_Iterator$$anon$11: 0 }, false, "scala.collection.Iterator$$anon$11", { sc_Iterator$$anon$11: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sc_Iterator$$anon$11.prototype.$classData = $d_sc_Iterator$$anon$11; /** @constructor */ function $c_sc_Iterator$$anon$13() { $c_sc_AbstractIterator.call(this); this.hd$2 = null; this.hdDefined$2 = false; this.$$outer$2 = null; this.p$1$2 = null } $c_sc_Iterator$$anon$13.prototype = new $h_sc_AbstractIterator(); $c_sc_Iterator$$anon$13.prototype.constructor = $c_sc_Iterator$$anon$13; /** @constructor */ function $h_sc_Iterator$$anon$13() { /*<skip>*/ } $h_sc_Iterator$$anon$13.prototype = $c_sc_Iterator$$anon$13.prototype; $c_sc_Iterator$$anon$13.prototype.next__O = (function() { if (this.hasNext__Z()) { this.hdDefined$2 = false; return this.hd$2 } else { return $m_sc_Iterator$().empty$1.next__O() } }); $c_sc_Iterator$$anon$13.prototype.init___sc_Iterator__F1 = (function($$outer, p$1) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; this.p$1$2 = p$1; this.hdDefined$2 = false; return this }); $c_sc_Iterator$$anon$13.prototype.hasNext__Z = (function() { if (this.hdDefined$2) { return true } else { do { if ((!this.$$outer$2.hasNext__Z())) { return false }; this.hd$2 = this.$$outer$2.next__O() } while ((!$uZ(this.p$1$2.apply__O__O(this.hd$2)))); this.hdDefined$2 = true; return true } }); var $d_sc_Iterator$$anon$13 = new $TypeData().initClass({ sc_Iterator$$anon$13: 0 }, false, "scala.collection.Iterator$$anon$13", { sc_Iterator$$anon$13: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sc_Iterator$$anon$13.prototype.$classData = $d_sc_Iterator$$anon$13; /** @constructor */ function $c_sc_Iterator$$anon$2() { $c_sc_AbstractIterator.call(this) } $c_sc_Iterator$$anon$2.prototype = new $h_sc_AbstractIterator(); $c_sc_Iterator$$anon$2.prototype.constructor = $c_sc_Iterator$$anon$2; /** @constructor */ function $h_sc_Iterator$$anon$2() { /*<skip>*/ } $h_sc_Iterator$$anon$2.prototype = $c_sc_Iterator$$anon$2.prototype; $c_sc_Iterator$$anon$2.prototype.init___ = (function() { return this }); $c_sc_Iterator$$anon$2.prototype.next__O = (function() { this.next__sr_Nothing$() }); $c_sc_Iterator$$anon$2.prototype.next__sr_Nothing$ = (function() { throw new $c_ju_NoSuchElementException().init___T("next on empty iterator") }); $c_sc_Iterator$$anon$2.prototype.hasNext__Z = (function() { return false }); var $d_sc_Iterator$$anon$2 = new $TypeData().initClass({ sc_Iterator$$anon$2: 0 }, false, "scala.collection.Iterator$$anon$2", { sc_Iterator$$anon$2: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sc_Iterator$$anon$2.prototype.$classData = $d_sc_Iterator$$anon$2; /** @constructor */ function $c_sc_LinearSeqLike$$anon$1() { $c_sc_AbstractIterator.call(this); this.these$2 = null } $c_sc_LinearSeqLike$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_sc_LinearSeqLike$$anon$1.prototype.constructor = $c_sc_LinearSeqLike$$anon$1; /** @constructor */ function $h_sc_LinearSeqLike$$anon$1() { /*<skip>*/ } $h_sc_LinearSeqLike$$anon$1.prototype = $c_sc_LinearSeqLike$$anon$1.prototype; $c_sc_LinearSeqLike$$anon$1.prototype.init___sc_LinearSeqLike = (function($$outer) { this.these$2 = $$outer; return this }); $c_sc_LinearSeqLike$$anon$1.prototype.next__O = (function() { if (this.hasNext__Z()) { var result = this.these$2.head__O(); this.these$2 = $as_sc_LinearSeqLike(this.these$2.tail__O()); return result } else { return $m_sc_Iterator$().empty$1.next__O() } }); $c_sc_LinearSeqLike$$anon$1.prototype.toList__sci_List = (function() { var xs = this.these$2.toList__sci_List(); this.these$2 = $as_sc_LinearSeqLike(this.these$2.take__I__O(0)); return xs }); $c_sc_LinearSeqLike$$anon$1.prototype.hasNext__Z = (function() { return (!this.these$2.isEmpty__Z()) }); var $d_sc_LinearSeqLike$$anon$1 = new $TypeData().initClass({ sc_LinearSeqLike$$anon$1: 0 }, false, "scala.collection.LinearSeqLike$$anon$1", { sc_LinearSeqLike$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sc_LinearSeqLike$$anon$1.prototype.$classData = $d_sc_LinearSeqLike$$anon$1; /** @constructor */ function $c_sc_MapLike$$anon$1() { $c_sc_AbstractIterator.call(this); this.iter$2 = null } $c_sc_MapLike$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_sc_MapLike$$anon$1.prototype.constructor = $c_sc_MapLike$$anon$1; /** @constructor */ function $h_sc_MapLike$$anon$1() { /*<skip>*/ } $h_sc_MapLike$$anon$1.prototype = $c_sc_MapLike$$anon$1.prototype; $c_sc_MapLike$$anon$1.prototype.next__O = (function() { return $as_T2(this.iter$2.next__O()).$$und1__O() }); $c_sc_MapLike$$anon$1.prototype.hasNext__Z = (function() { return this.iter$2.hasNext__Z() }); $c_sc_MapLike$$anon$1.prototype.init___sc_MapLike = (function($$outer) { this.iter$2 = $$outer.iterator__sc_Iterator(); return this }); var $d_sc_MapLike$$anon$1 = new $TypeData().initClass({ sc_MapLike$$anon$1: 0 }, false, "scala.collection.MapLike$$anon$1", { sc_MapLike$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sc_MapLike$$anon$1.prototype.$classData = $d_sc_MapLike$$anon$1; /** @constructor */ function $c_sc_SetLike$$anon$1() { $c_sc_AbstractIterator.call(this); this.elms$2 = null; this.len$2 = 0; this.itr$2 = null; this.$$outer$2 = null } $c_sc_SetLike$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_sc_SetLike$$anon$1.prototype.constructor = $c_sc_SetLike$$anon$1; /** @constructor */ function $h_sc_SetLike$$anon$1() { /*<skip>*/ } $h_sc_SetLike$$anon$1.prototype = $c_sc_SetLike$$anon$1.prototype; $c_sc_SetLike$$anon$1.prototype.next__O = (function() { return this.next__sc_Set() }); $c_sc_SetLike$$anon$1.prototype.hasNext__Z = (function() { return ((this.len$2 <= this.elms$2.size__I()) || this.itr$2.hasNext__Z()) }); $c_sc_SetLike$$anon$1.prototype.init___sc_SetLike = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; var this$1 = $m_s_Predef$(); var cbf = new $c_s_LowPriorityImplicits$$anon$4().init___s_LowPriorityImplicits(this$1); this.elms$2 = $as_sci_IndexedSeq($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O($$outer, cbf)); this.len$2 = 0; this.itr$2 = $m_sc_Iterator$().empty$1; return this }); $c_sc_SetLike$$anon$1.prototype.next__sc_Set = (function() { if ((!this.itr$2.hasNext__Z())) { if ((this.len$2 > this.elms$2.size__I())) { $m_sc_Iterator$().empty$1.next__O() } else { this.itr$2 = new $c_sc_SetLike$SubsetsItr().init___sc_SetLike__sc_IndexedSeq__I(this.$$outer$2, this.elms$2, this.len$2); this.len$2 = ((1 + this.len$2) | 0) } }; return $as_sc_Set(this.itr$2.next__O()) }); var $d_sc_SetLike$$anon$1 = new $TypeData().initClass({ sc_SetLike$$anon$1: 0 }, false, "scala.collection.SetLike$$anon$1", { sc_SetLike$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sc_SetLike$$anon$1.prototype.$classData = $d_sc_SetLike$$anon$1; /** @constructor */ function $c_sc_SetLike$SubsetsItr() { $c_sc_AbstractIterator.call(this); this.elms$2 = null; this.len$2 = 0; this.scala$collection$SetLike$SubsetsItr$$idxs$2 = null; this.$$undhasNext$2 = false; this.$$outer$f = null } $c_sc_SetLike$SubsetsItr.prototype = new $h_sc_AbstractIterator(); $c_sc_SetLike$SubsetsItr.prototype.constructor = $c_sc_SetLike$SubsetsItr; /** @constructor */ function $h_sc_SetLike$SubsetsItr() { /*<skip>*/ } $h_sc_SetLike$SubsetsItr.prototype = $c_sc_SetLike$SubsetsItr.prototype; $c_sc_SetLike$SubsetsItr.prototype.next__O = (function() { return this.next__sc_Set() }); $c_sc_SetLike$SubsetsItr.prototype.hasNext__Z = (function() { return this.$$undhasNext$2 }); $c_sc_SetLike$SubsetsItr.prototype.init___sc_SetLike__sc_IndexedSeq__I = (function($$outer, elms, len) { this.elms$2 = elms; this.len$2 = len; if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; var this$1 = $m_s_Array$(); var end = ((1 + len) | 0); this.scala$collection$SetLike$SubsetsItr$$idxs$2 = this$1.range__I__I__I__AI(0, end, 1); this.$$undhasNext$2 = true; this.scala$collection$SetLike$SubsetsItr$$idxs$2.u[len] = elms.size__I(); return this }); $c_sc_SetLike$SubsetsItr.prototype.next__sc_Set = (function() { if ((!this.$$undhasNext$2)) { $m_sc_Iterator$().empty$1.next__O() }; var buf = this.$$outer$f.newBuilder__scm_Builder(); var xs = this.scala$collection$SetLike$SubsetsItr$$idxs$2; var until = this.len$2; var x = ((until > 0) ? until : 0); var y = xs.u.length; var hi = ((x < y) ? x : y); var elems = ((hi > 0) ? hi : 0); var b = new $c_scm_ArrayBuilder$ofInt().init___(); b.sizeHint__I__V(elems); var i = 0; while ((i < hi)) { var idx = i; var elem = xs.u[idx]; b.$$plus$eq__I__scm_ArrayBuilder$ofInt(elem); i = ((1 + i) | 0) }; var xs$1 = b.result__AI(); var i$1 = 0; var len = xs$1.u.length; while ((i$1 < len)) { var idx$1 = i$1; var arg1 = xs$1.u[idx$1]; buf.$$plus$eq__O__scm_Builder(this.elms$2.apply__I__O(arg1)); i$1 = ((1 + i$1) | 0) }; var result = $as_sc_Set(buf.result__O()); var i$2 = (((-1) + this.len$2) | 0); while (((i$2 >= 0) && (this.scala$collection$SetLike$SubsetsItr$$idxs$2.u[i$2] === (((-1) + this.scala$collection$SetLike$SubsetsItr$$idxs$2.u[((1 + i$2) | 0)]) | 0)))) { i$2 = (((-1) + i$2) | 0) }; if ((i$2 < 0)) { this.$$undhasNext$2 = false } else { var ev$1 = i$2; this.scala$collection$SetLike$SubsetsItr$$idxs$2.u[ev$1] = ((1 + this.scala$collection$SetLike$SubsetsItr$$idxs$2.u[ev$1]) | 0); var x$1 = ((1 + i$2) | 0); var end = this.len$2; var isEmpty$4 = (x$1 >= end); if (isEmpty$4) { /*<skip>*/ }; var lastElement$4 = (isEmpty$4 ? (((-1) + x$1) | 0) : (((-1) + end) | 0)); inlinereturn$38: { if ((!isEmpty$4)) { var i$3 = x$1; while (true) { var v1 = i$3; this.scala$collection$SetLike$SubsetsItr$$idxs$2.u[v1] = ((1 + this.scala$collection$SetLike$SubsetsItr$$idxs$2.u[(((-1) + v1) | 0)]) | 0); if ((i$3 === lastElement$4)) { break inlinereturn$38 }; i$3 = ((1 + i$3) | 0) } } } }; return result }); var $d_sc_SetLike$SubsetsItr = new $TypeData().initClass({ sc_SetLike$SubsetsItr: 0 }, false, "scala.collection.SetLike$SubsetsItr", { sc_SetLike$SubsetsItr: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sc_SetLike$SubsetsItr.prototype.$classData = $d_sc_SetLike$SubsetsItr; /** @constructor */ function $c_sc_Traversable$() { $c_scg_GenTraversableFactory.call(this); this.breaks$3 = null } $c_sc_Traversable$.prototype = new $h_scg_GenTraversableFactory(); $c_sc_Traversable$.prototype.constructor = $c_sc_Traversable$; /** @constructor */ function $h_sc_Traversable$() { /*<skip>*/ } $h_sc_Traversable$.prototype = $c_sc_Traversable$.prototype; $c_sc_Traversable$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); $n_sc_Traversable$ = this; this.breaks$3 = new $c_s_util_control_Breaks().init___(); return this }); $c_sc_Traversable$.prototype.newBuilder__scm_Builder = (function() { $m_sci_Traversable$(); return new $c_scm_ListBuffer().init___() }); var $d_sc_Traversable$ = new $TypeData().initClass({ sc_Traversable$: 0 }, false, "scala.collection.Traversable$", { sc_Traversable$: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_sc_Traversable$.prototype.$classData = $d_sc_Traversable$; var $n_sc_Traversable$ = (void 0); function $m_sc_Traversable$() { if ((!$n_sc_Traversable$)) { $n_sc_Traversable$ = new $c_sc_Traversable$().init___() }; return $n_sc_Traversable$ } /** @constructor */ function $c_scg_ImmutableSetFactory() { $c_scg_SetFactory.call(this) } $c_scg_ImmutableSetFactory.prototype = new $h_scg_SetFactory(); $c_scg_ImmutableSetFactory.prototype.constructor = $c_scg_ImmutableSetFactory; /** @constructor */ function $h_scg_ImmutableSetFactory() { /*<skip>*/ } $h_scg_ImmutableSetFactory.prototype = $c_scg_ImmutableSetFactory.prototype; $c_scg_ImmutableSetFactory.prototype.empty__sc_GenTraversable = (function() { return this.emptyInstance__sci_Set() }); $c_scg_ImmutableSetFactory.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_SetBuilder().init___sc_Set(this.emptyInstance__sci_Set()) }); /** @constructor */ function $c_scg_MutableSetFactory() { $c_scg_SetFactory.call(this) } $c_scg_MutableSetFactory.prototype = new $h_scg_SetFactory(); $c_scg_MutableSetFactory.prototype.constructor = $c_scg_MutableSetFactory; /** @constructor */ function $h_scg_MutableSetFactory() { /*<skip>*/ } $h_scg_MutableSetFactory.prototype = $c_scg_MutableSetFactory.prototype; $c_scg_MutableSetFactory.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_GrowingBuilder().init___scg_Growable($as_scg_Growable(this.empty__sc_GenTraversable())) }); /** @constructor */ function $c_sci_Iterable$() { $c_scg_GenTraversableFactory.call(this) } $c_sci_Iterable$.prototype = new $h_scg_GenTraversableFactory(); $c_sci_Iterable$.prototype.constructor = $c_sci_Iterable$; /** @constructor */ function $h_sci_Iterable$() { /*<skip>*/ } $h_sci_Iterable$.prototype = $c_sci_Iterable$.prototype; $c_sci_Iterable$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_sci_Iterable$.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_ListBuffer().init___() }); var $d_sci_Iterable$ = new $TypeData().initClass({ sci_Iterable$: 0 }, false, "scala.collection.immutable.Iterable$", { sci_Iterable$: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_sci_Iterable$.prototype.$classData = $d_sci_Iterable$; var $n_sci_Iterable$ = (void 0); function $m_sci_Iterable$() { if ((!$n_sci_Iterable$)) { $n_sci_Iterable$ = new $c_sci_Iterable$().init___() }; return $n_sci_Iterable$ } /** @constructor */ function $c_sci_ListMap$$anon$1() { $c_sc_AbstractIterator.call(this); this.self$2 = null } $c_sci_ListMap$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_sci_ListMap$$anon$1.prototype.constructor = $c_sci_ListMap$$anon$1; /** @constructor */ function $h_sci_ListMap$$anon$1() { /*<skip>*/ } $h_sci_ListMap$$anon$1.prototype = $c_sci_ListMap$$anon$1.prototype; $c_sci_ListMap$$anon$1.prototype.next__O = (function() { return this.next__T2() }); $c_sci_ListMap$$anon$1.prototype.init___sci_ListMap = (function($$outer) { this.self$2 = $$outer; return this }); $c_sci_ListMap$$anon$1.prototype.next__T2 = (function() { if ((!this.hasNext__Z())) { throw new $c_ju_NoSuchElementException().init___T("next on empty iterator") } else { var res = new $c_T2().init___O__O(this.self$2.key__O(), this.self$2.value__O()); this.self$2 = this.self$2.next__sci_ListMap(); return res } }); $c_sci_ListMap$$anon$1.prototype.hasNext__Z = (function() { return (!this.self$2.isEmpty__Z()) }); var $d_sci_ListMap$$anon$1 = new $TypeData().initClass({ sci_ListMap$$anon$1: 0 }, false, "scala.collection.immutable.ListMap$$anon$1", { sci_ListMap$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sci_ListMap$$anon$1.prototype.$classData = $d_sci_ListMap$$anon$1; /** @constructor */ function $c_sci_ListSet$$anon$1() { $c_sc_AbstractIterator.call(this); this.that$2 = null } $c_sci_ListSet$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_sci_ListSet$$anon$1.prototype.constructor = $c_sci_ListSet$$anon$1; /** @constructor */ function $h_sci_ListSet$$anon$1() { /*<skip>*/ } $h_sci_ListSet$$anon$1.prototype = $c_sci_ListSet$$anon$1.prototype; $c_sci_ListSet$$anon$1.prototype.next__O = (function() { var this$1 = this.that$2; if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$1)) { var res = this.that$2.head__O(); this.that$2 = this.that$2.tail__sci_ListSet(); return res } else { return $m_sc_Iterator$().empty$1.next__O() } }); $c_sci_ListSet$$anon$1.prototype.init___sci_ListSet = (function($$outer) { this.that$2 = $$outer; return this }); $c_sci_ListSet$$anon$1.prototype.hasNext__Z = (function() { var this$1 = this.that$2; return $s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$1) }); var $d_sci_ListSet$$anon$1 = new $TypeData().initClass({ sci_ListSet$$anon$1: 0 }, false, "scala.collection.immutable.ListSet$$anon$1", { sci_ListSet$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sci_ListSet$$anon$1.prototype.$classData = $d_sci_ListSet$$anon$1; /** @constructor */ function $c_sci_Stream$StreamBuilder() { $c_scm_LazyBuilder.call(this) } $c_sci_Stream$StreamBuilder.prototype = new $h_scm_LazyBuilder(); $c_sci_Stream$StreamBuilder.prototype.constructor = $c_sci_Stream$StreamBuilder; /** @constructor */ function $h_sci_Stream$StreamBuilder() { /*<skip>*/ } $h_sci_Stream$StreamBuilder.prototype = $c_sci_Stream$StreamBuilder.prototype; $c_sci_Stream$StreamBuilder.prototype.init___ = (function() { $c_scm_LazyBuilder.prototype.init___.call(this); return this }); $c_sci_Stream$StreamBuilder.prototype.result__O = (function() { return this.result__sci_Stream() }); $c_sci_Stream$StreamBuilder.prototype.result__sci_Stream = (function() { var this$1 = this.parts$1; return $as_sci_Stream(this$1.scala$collection$mutable$ListBuffer$$start$6.toStream__sci_Stream().flatMap__F1__scg_CanBuildFrom__O(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) { return (function(x$5$2) { var x$5 = $as_sc_TraversableOnce(x$5$2); return x$5.toStream__sci_Stream() }) })(this)), ($m_sci_Stream$(), new $c_sci_Stream$StreamCanBuildFrom().init___()))) }); function $is_sci_Stream$StreamBuilder(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Stream$StreamBuilder))) } function $as_sci_Stream$StreamBuilder(obj) { return (($is_sci_Stream$StreamBuilder(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.Stream$StreamBuilder")) } function $isArrayOf_sci_Stream$StreamBuilder(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_Stream$StreamBuilder))) } function $asArrayOf_sci_Stream$StreamBuilder(obj, depth) { return (($isArrayOf_sci_Stream$StreamBuilder(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.Stream$StreamBuilder;", depth)) } var $d_sci_Stream$StreamBuilder = new $TypeData().initClass({ sci_Stream$StreamBuilder: 0 }, false, "scala.collection.immutable.Stream$StreamBuilder", { sci_Stream$StreamBuilder: 1, scm_LazyBuilder: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1 }); $c_sci_Stream$StreamBuilder.prototype.$classData = $d_sci_Stream$StreamBuilder; /** @constructor */ function $c_sci_StreamIterator() { $c_sc_AbstractIterator.call(this); this.these$2 = null } $c_sci_StreamIterator.prototype = new $h_sc_AbstractIterator(); $c_sci_StreamIterator.prototype.constructor = $c_sci_StreamIterator; /** @constructor */ function $h_sci_StreamIterator() { /*<skip>*/ } $h_sci_StreamIterator.prototype = $c_sci_StreamIterator.prototype; $c_sci_StreamIterator.prototype.next__O = (function() { if ($s_sc_Iterator$class__isEmpty__sc_Iterator__Z(this)) { return $m_sc_Iterator$().empty$1.next__O() } else { var cur = this.these$2.v__sci_Stream(); var result = cur.head__O(); this.these$2 = new $c_sci_StreamIterator$LazyCell().init___sci_StreamIterator__F0(this, new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, cur$1) { return (function() { return $as_sci_Stream(cur$1.tail__O()) }) })(this, cur))); return result } }); $c_sci_StreamIterator.prototype.toList__sci_List = (function() { var this$1 = this.toStream__sci_Stream(); var this$2 = $m_sci_List$(); var cbf = this$2.ReusableCBFInstance$2; return $as_sci_List($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this$1, cbf)) }); $c_sci_StreamIterator.prototype.init___sci_Stream = (function(self) { this.these$2 = new $c_sci_StreamIterator$LazyCell().init___sci_StreamIterator__F0(this, new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, self$1) { return (function() { return self$1 }) })(this, self))); return this }); $c_sci_StreamIterator.prototype.hasNext__Z = (function() { var this$1 = this.these$2.v__sci_Stream(); return $s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$1) }); $c_sci_StreamIterator.prototype.toStream__sci_Stream = (function() { var result = this.these$2.v__sci_Stream(); this.these$2 = new $c_sci_StreamIterator$LazyCell().init___sci_StreamIterator__F0(this, new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this) { return (function() { $m_sci_Stream$(); return $m_sci_Stream$Empty$() }) })(this))); return result }); var $d_sci_StreamIterator = new $TypeData().initClass({ sci_StreamIterator: 0 }, false, "scala.collection.immutable.StreamIterator", { sci_StreamIterator: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sci_StreamIterator.prototype.$classData = $d_sci_StreamIterator; /** @constructor */ function $c_sci_StringLike$$anon$1() { $c_sc_AbstractIterator.call(this); this.str$2 = null; this.len$2 = 0; this.index$2 = 0; this.$$outer$2 = null } $c_sci_StringLike$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_sci_StringLike$$anon$1.prototype.constructor = $c_sci_StringLike$$anon$1; /** @constructor */ function $h_sci_StringLike$$anon$1() { /*<skip>*/ } $h_sci_StringLike$$anon$1.prototype = $c_sci_StringLike$$anon$1.prototype; $c_sci_StringLike$$anon$1.prototype.next__O = (function() { return this.next__T() }); $c_sci_StringLike$$anon$1.prototype.next__T = (function() { if ((this.index$2 >= this.len$2)) { throw new $c_ju_NoSuchElementException().init___T("next on empty iterator") }; var start = this.index$2; while (((this.index$2 < this.len$2) && (!$s_sci_StringLike$class__scala$collection$immutable$StringLike$$isLineBreak__sci_StringLike__C__Z(this.$$outer$2, this.$$outer$2.apply__I__C(this.index$2))))) { this.index$2 = ((1 + this.index$2) | 0) }; this.index$2 = ((1 + this.index$2) | 0); var thiz = this.str$2; var x = this.index$2; var that = this.len$2; var endIndex = ((x < that) ? x : that); return $as_T(thiz.substring(start, endIndex)) }); $c_sci_StringLike$$anon$1.prototype.hasNext__Z = (function() { return (this.index$2 < this.len$2) }); $c_sci_StringLike$$anon$1.prototype.init___sci_StringLike = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; this.str$2 = $$outer.toString__T(); var thiz = this.str$2; this.len$2 = $uI(thiz.length); this.index$2 = 0; return this }); var $d_sci_StringLike$$anon$1 = new $TypeData().initClass({ sci_StringLike$$anon$1: 0 }, false, "scala.collection.immutable.StringLike$$anon$1", { sci_StringLike$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sci_StringLike$$anon$1.prototype.$classData = $d_sci_StringLike$$anon$1; /** @constructor */ function $c_sci_Traversable$() { $c_scg_GenTraversableFactory.call(this) } $c_sci_Traversable$.prototype = new $h_scg_GenTraversableFactory(); $c_sci_Traversable$.prototype.constructor = $c_sci_Traversable$; /** @constructor */ function $h_sci_Traversable$() { /*<skip>*/ } $h_sci_Traversable$.prototype = $c_sci_Traversable$.prototype; $c_sci_Traversable$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_sci_Traversable$.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_ListBuffer().init___() }); var $d_sci_Traversable$ = new $TypeData().initClass({ sci_Traversable$: 0 }, false, "scala.collection.immutable.Traversable$", { sci_Traversable$: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_sci_Traversable$.prototype.$classData = $d_sci_Traversable$; var $n_sci_Traversable$ = (void 0); function $m_sci_Traversable$() { if ((!$n_sci_Traversable$)) { $n_sci_Traversable$ = new $c_sci_Traversable$().init___() }; return $n_sci_Traversable$ } /** @constructor */ function $c_sci_TrieIterator() { $c_sc_AbstractIterator.call(this); this.elems$2 = null; this.scala$collection$immutable$TrieIterator$$depth$f = 0; this.scala$collection$immutable$TrieIterator$$arrayStack$f = null; this.scala$collection$immutable$TrieIterator$$posStack$f = null; this.scala$collection$immutable$TrieIterator$$arrayD$f = null; this.scala$collection$immutable$TrieIterator$$posD$f = 0; this.scala$collection$immutable$TrieIterator$$subIter$f = null } $c_sci_TrieIterator.prototype = new $h_sc_AbstractIterator(); $c_sci_TrieIterator.prototype.constructor = $c_sci_TrieIterator; /** @constructor */ function $h_sci_TrieIterator() { /*<skip>*/ } $h_sci_TrieIterator.prototype = $c_sci_TrieIterator.prototype; $c_sci_TrieIterator.prototype.isContainer__p2__O__Z = (function(x) { return ($is_sci_HashMap$HashMap1(x) || $is_sci_HashSet$HashSet1(x)) }); $c_sci_TrieIterator.prototype.next__O = (function() { if ((this.scala$collection$immutable$TrieIterator$$subIter$f !== null)) { var el = this.scala$collection$immutable$TrieIterator$$subIter$f.next__O(); if ((!this.scala$collection$immutable$TrieIterator$$subIter$f.hasNext__Z())) { this.scala$collection$immutable$TrieIterator$$subIter$f = null }; return el } else { return this.next0__p2__Asci_Iterable__I__O(this.scala$collection$immutable$TrieIterator$$arrayD$f, this.scala$collection$immutable$TrieIterator$$posD$f) } }); $c_sci_TrieIterator.prototype.initPosStack__AI = (function() { return $newArrayObject($d_I.getArrayOf(), [6]) }); $c_sci_TrieIterator.prototype.hasNext__Z = (function() { return ((this.scala$collection$immutable$TrieIterator$$subIter$f !== null) || (this.scala$collection$immutable$TrieIterator$$depth$f >= 0)) }); $c_sci_TrieIterator.prototype.next0__p2__Asci_Iterable__I__O = (function(elems, i) { _next0: while (true) { if ((i === (((-1) + elems.u.length) | 0))) { this.scala$collection$immutable$TrieIterator$$depth$f = (((-1) + this.scala$collection$immutable$TrieIterator$$depth$f) | 0); if ((this.scala$collection$immutable$TrieIterator$$depth$f >= 0)) { this.scala$collection$immutable$TrieIterator$$arrayD$f = this.scala$collection$immutable$TrieIterator$$arrayStack$f.u[this.scala$collection$immutable$TrieIterator$$depth$f]; this.scala$collection$immutable$TrieIterator$$posD$f = this.scala$collection$immutable$TrieIterator$$posStack$f.u[this.scala$collection$immutable$TrieIterator$$depth$f]; this.scala$collection$immutable$TrieIterator$$arrayStack$f.u[this.scala$collection$immutable$TrieIterator$$depth$f] = null } else { this.scala$collection$immutable$TrieIterator$$arrayD$f = null; this.scala$collection$immutable$TrieIterator$$posD$f = 0 } } else { this.scala$collection$immutable$TrieIterator$$posD$f = ((1 + this.scala$collection$immutable$TrieIterator$$posD$f) | 0) }; var m = elems.u[i]; if (this.isContainer__p2__O__Z(m)) { return this.getElem__O__O(m) } else if (this.isTrie__p2__O__Z(m)) { if ((this.scala$collection$immutable$TrieIterator$$depth$f >= 0)) { this.scala$collection$immutable$TrieIterator$$arrayStack$f.u[this.scala$collection$immutable$TrieIterator$$depth$f] = this.scala$collection$immutable$TrieIterator$$arrayD$f; this.scala$collection$immutable$TrieIterator$$posStack$f.u[this.scala$collection$immutable$TrieIterator$$depth$f] = this.scala$collection$immutable$TrieIterator$$posD$f }; this.scala$collection$immutable$TrieIterator$$depth$f = ((1 + this.scala$collection$immutable$TrieIterator$$depth$f) | 0); this.scala$collection$immutable$TrieIterator$$arrayD$f = this.getElems__p2__sci_Iterable__Asci_Iterable(m); this.scala$collection$immutable$TrieIterator$$posD$f = 0; var temp$elems = this.getElems__p2__sci_Iterable__Asci_Iterable(m); elems = temp$elems; i = 0; continue _next0 } else { this.scala$collection$immutable$TrieIterator$$subIter$f = m.iterator__sc_Iterator(); return this.next__O() } } }); $c_sci_TrieIterator.prototype.getElems__p2__sci_Iterable__Asci_Iterable = (function(x) { if ($is_sci_HashMap$HashTrieMap(x)) { var x2 = $as_sci_HashMap$HashTrieMap(x); var jsx$1 = x2.elems$6 } else if ($is_sci_HashSet$HashTrieSet(x)) { var x3 = $as_sci_HashSet$HashTrieSet(x); var jsx$1 = x3.elems$5 } else { var jsx$1; throw new $c_s_MatchError().init___O(x) }; return $asArrayOf_sci_Iterable(jsx$1, 1) }); $c_sci_TrieIterator.prototype.init___Asci_Iterable = (function(elems) { this.elems$2 = elems; this.scala$collection$immutable$TrieIterator$$depth$f = 0; this.scala$collection$immutable$TrieIterator$$arrayStack$f = this.initArrayStack__AAsci_Iterable(); this.scala$collection$immutable$TrieIterator$$posStack$f = this.initPosStack__AI(); this.scala$collection$immutable$TrieIterator$$arrayD$f = this.elems$2; this.scala$collection$immutable$TrieIterator$$posD$f = 0; this.scala$collection$immutable$TrieIterator$$subIter$f = null; return this }); $c_sci_TrieIterator.prototype.isTrie__p2__O__Z = (function(x) { return ($is_sci_HashMap$HashTrieMap(x) || $is_sci_HashSet$HashTrieSet(x)) }); $c_sci_TrieIterator.prototype.initArrayStack__AAsci_Iterable = (function() { return $newArrayObject($d_sci_Iterable.getArrayOf().getArrayOf(), [6]) }); /** @constructor */ function $c_sci_Vector$$anon$1() { $c_sc_AbstractIterator.call(this); this.i$2 = 0; this.$$outer$2 = null } $c_sci_Vector$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_sci_Vector$$anon$1.prototype.constructor = $c_sci_Vector$$anon$1; /** @constructor */ function $h_sci_Vector$$anon$1() { /*<skip>*/ } $h_sci_Vector$$anon$1.prototype = $c_sci_Vector$$anon$1.prototype; $c_sci_Vector$$anon$1.prototype.next__O = (function() { if ((this.i$2 > 0)) { this.i$2 = (((-1) + this.i$2) | 0); return this.$$outer$2.apply__I__O(this.i$2) } else { return $m_sc_Iterator$().empty$1.next__O() } }); $c_sci_Vector$$anon$1.prototype.hasNext__Z = (function() { return (this.i$2 > 0) }); $c_sci_Vector$$anon$1.prototype.init___sci_Vector = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; this.i$2 = $$outer.length__I(); return this }); var $d_sci_Vector$$anon$1 = new $TypeData().initClass({ sci_Vector$$anon$1: 0 }, false, "scala.collection.immutable.Vector$$anon$1", { sci_Vector$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sci_Vector$$anon$1.prototype.$classData = $d_sci_Vector$$anon$1; /** @constructor */ function $c_sci_VectorBuilder() { $c_O.call(this); this.blockIndex$1 = 0; this.lo$1 = 0; this.depth$1 = 0; this.display0$1 = null; this.display1$1 = null; this.display2$1 = null; this.display3$1 = null; this.display4$1 = null; this.display5$1 = null } $c_sci_VectorBuilder.prototype = new $h_O(); $c_sci_VectorBuilder.prototype.constructor = $c_sci_VectorBuilder; /** @constructor */ function $h_sci_VectorBuilder() { /*<skip>*/ } $h_sci_VectorBuilder.prototype = $c_sci_VectorBuilder.prototype; $c_sci_VectorBuilder.prototype.display3__AO = (function() { return this.display3$1 }); $c_sci_VectorBuilder.prototype.init___ = (function() { this.display0$1 = $newArrayObject($d_O.getArrayOf(), [32]); this.depth$1 = 1; this.blockIndex$1 = 0; this.lo$1 = 0; return this }); $c_sci_VectorBuilder.prototype.depth__I = (function() { return this.depth$1 }); $c_sci_VectorBuilder.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__sci_VectorBuilder(elem) }); $c_sci_VectorBuilder.prototype.display5$und$eq__AO__V = (function(x$1) { this.display5$1 = x$1 }); $c_sci_VectorBuilder.prototype.display0__AO = (function() { return this.display0$1 }); $c_sci_VectorBuilder.prototype.display4__AO = (function() { return this.display4$1 }); $c_sci_VectorBuilder.prototype.display2$und$eq__AO__V = (function(x$1) { this.display2$1 = x$1 }); $c_sci_VectorBuilder.prototype.$$plus$eq__O__sci_VectorBuilder = (function(elem) { if ((this.lo$1 >= this.display0$1.u.length)) { var newBlockIndex = ((32 + this.blockIndex$1) | 0); var xor = (this.blockIndex$1 ^ newBlockIndex); $s_sci_VectorPointer$class__gotoNextBlockStartWritable__sci_VectorPointer__I__I__V(this, newBlockIndex, xor); this.blockIndex$1 = newBlockIndex; this.lo$1 = 0 }; this.display0$1.u[this.lo$1] = elem; this.lo$1 = ((1 + this.lo$1) | 0); return this }); $c_sci_VectorBuilder.prototype.result__O = (function() { return this.result__sci_Vector() }); $c_sci_VectorBuilder.prototype.display1$und$eq__AO__V = (function(x$1) { this.display1$1 = x$1 }); $c_sci_VectorBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_sci_VectorBuilder.prototype.display4$und$eq__AO__V = (function(x$1) { this.display4$1 = x$1 }); $c_sci_VectorBuilder.prototype.display1__AO = (function() { return this.display1$1 }); $c_sci_VectorBuilder.prototype.display5__AO = (function() { return this.display5$1 }); $c_sci_VectorBuilder.prototype.result__sci_Vector = (function() { var size = ((this.blockIndex$1 + this.lo$1) | 0); if ((size === 0)) { var this$1 = $m_sci_Vector$(); return this$1.NIL$6 }; var s = new $c_sci_Vector().init___I__I__I(0, size, 0); var depth = this.depth$1; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s, this, depth); if ((this.depth$1 > 1)) { var xor = (((-1) + size) | 0); $s_sci_VectorPointer$class__gotoPos__sci_VectorPointer__I__I__V(s, 0, xor) }; return s }); $c_sci_VectorBuilder.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__sci_VectorBuilder(elem) }); $c_sci_VectorBuilder.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_sci_VectorBuilder.prototype.depth$und$eq__I__V = (function(x$1) { this.depth$1 = x$1 }); $c_sci_VectorBuilder.prototype.display2__AO = (function() { return this.display2$1 }); $c_sci_VectorBuilder.prototype.display0$und$eq__AO__V = (function(x$1) { this.display0$1 = x$1 }); $c_sci_VectorBuilder.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $as_sci_VectorBuilder($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs)) }); $c_sci_VectorBuilder.prototype.display3$und$eq__AO__V = (function(x$1) { this.display3$1 = x$1 }); function $is_sci_VectorBuilder(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_VectorBuilder))) } function $as_sci_VectorBuilder(obj) { return (($is_sci_VectorBuilder(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.VectorBuilder")) } function $isArrayOf_sci_VectorBuilder(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_VectorBuilder))) } function $asArrayOf_sci_VectorBuilder(obj, depth) { return (($isArrayOf_sci_VectorBuilder(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.VectorBuilder;", depth)) } var $d_sci_VectorBuilder = new $TypeData().initClass({ sci_VectorBuilder: 0 }, false, "scala.collection.immutable.VectorBuilder", { sci_VectorBuilder: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1, sci_VectorPointer: 1 }); $c_sci_VectorBuilder.prototype.$classData = $d_sci_VectorBuilder; /** @constructor */ function $c_scm_Builder$$anon$1() { $c_O.call(this); this.self$1 = null; this.f$1$1 = null } $c_scm_Builder$$anon$1.prototype = new $h_O(); $c_scm_Builder$$anon$1.prototype.constructor = $c_scm_Builder$$anon$1; /** @constructor */ function $h_scm_Builder$$anon$1() { /*<skip>*/ } $h_scm_Builder$$anon$1.prototype = $c_scm_Builder$$anon$1.prototype; $c_scm_Builder$$anon$1.prototype.init___scm_Builder__F1 = (function($$outer, f$1) { this.f$1$1 = f$1; this.self$1 = $$outer; return this }); $c_scm_Builder$$anon$1.prototype.equals__O__Z = (function(that) { return $s_s_Proxy$class__equals__s_Proxy__O__Z(this, that) }); $c_scm_Builder$$anon$1.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__scm_Builder$$anon$1(elem) }); $c_scm_Builder$$anon$1.prototype.toString__T = (function() { return $s_s_Proxy$class__toString__s_Proxy__T(this) }); $c_scm_Builder$$anon$1.prototype.$$plus$plus$eq__sc_TraversableOnce__scm_Builder$$anon$1 = (function(xs) { this.self$1.$$plus$plus$eq__sc_TraversableOnce__scg_Growable(xs); return this }); $c_scm_Builder$$anon$1.prototype.result__O = (function() { return this.f$1$1.apply__O__O(this.self$1.result__O()) }); $c_scm_Builder$$anon$1.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundColl) { this.self$1.sizeHintBounded__I__sc_TraversableLike__V(size, boundColl) }); $c_scm_Builder$$anon$1.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__scm_Builder$$anon$1(elem) }); $c_scm_Builder$$anon$1.prototype.$$plus$eq__O__scm_Builder$$anon$1 = (function(x) { this.self$1.$$plus$eq__O__scm_Builder(x); return this }); $c_scm_Builder$$anon$1.prototype.hashCode__I = (function() { return this.self$1.hashCode__I() }); $c_scm_Builder$$anon$1.prototype.sizeHint__I__V = (function(size) { this.self$1.sizeHint__I__V(size) }); $c_scm_Builder$$anon$1.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return this.$$plus$plus$eq__sc_TraversableOnce__scm_Builder$$anon$1(xs) }); var $d_scm_Builder$$anon$1 = new $TypeData().initClass({ scm_Builder$$anon$1: 0 }, false, "scala.collection.mutable.Builder$$anon$1", { scm_Builder$$anon$1: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1, s_Proxy: 1 }); $c_scm_Builder$$anon$1.prototype.$classData = $d_scm_Builder$$anon$1; /** @constructor */ function $c_scm_FlatHashTable$$anon$1() { $c_sc_AbstractIterator.call(this); this.i$2 = 0; this.$$outer$2 = null } $c_scm_FlatHashTable$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_scm_FlatHashTable$$anon$1.prototype.constructor = $c_scm_FlatHashTable$$anon$1; /** @constructor */ function $h_scm_FlatHashTable$$anon$1() { /*<skip>*/ } $h_scm_FlatHashTable$$anon$1.prototype = $c_scm_FlatHashTable$$anon$1.prototype; $c_scm_FlatHashTable$$anon$1.prototype.next__O = (function() { if (this.hasNext__Z()) { this.i$2 = ((1 + this.i$2) | 0); var this$1 = this.$$outer$2; var entry = this.$$outer$2.table$5.u[(((-1) + this.i$2) | 0)]; return $s_scm_FlatHashTable$HashUtils$class__entryToElem__scm_FlatHashTable$HashUtils__O__O(this$1, entry) } else { return $m_sc_Iterator$().empty$1.next__O() } }); $c_scm_FlatHashTable$$anon$1.prototype.init___scm_FlatHashTable = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$2 = $$outer }; this.i$2 = 0; return this }); $c_scm_FlatHashTable$$anon$1.prototype.hasNext__Z = (function() { while (((this.i$2 < this.$$outer$2.table$5.u.length) && (this.$$outer$2.table$5.u[this.i$2] === null))) { this.i$2 = ((1 + this.i$2) | 0) }; return (this.i$2 < this.$$outer$2.table$5.u.length) }); var $d_scm_FlatHashTable$$anon$1 = new $TypeData().initClass({ scm_FlatHashTable$$anon$1: 0 }, false, "scala.collection.mutable.FlatHashTable$$anon$1", { scm_FlatHashTable$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_scm_FlatHashTable$$anon$1.prototype.$classData = $d_scm_FlatHashTable$$anon$1; /** @constructor */ function $c_scm_HashMap$$anon$3() { $c_sc_AbstractIterator.call(this); this.iter$2 = null } $c_scm_HashMap$$anon$3.prototype = new $h_sc_AbstractIterator(); $c_scm_HashMap$$anon$3.prototype.constructor = $c_scm_HashMap$$anon$3; /** @constructor */ function $h_scm_HashMap$$anon$3() { /*<skip>*/ } $h_scm_HashMap$$anon$3.prototype = $c_scm_HashMap$$anon$3.prototype; $c_scm_HashMap$$anon$3.prototype.next__O = (function() { return $as_scm_DefaultEntry(this.iter$2.next__O()).key$1 }); $c_scm_HashMap$$anon$3.prototype.init___scm_HashMap = (function($$outer) { this.iter$2 = new $c_scm_HashTable$$anon$1().init___scm_HashTable($$outer); return this }); $c_scm_HashMap$$anon$3.prototype.hasNext__Z = (function() { return this.iter$2.hasNext__Z() }); var $d_scm_HashMap$$anon$3 = new $TypeData().initClass({ scm_HashMap$$anon$3: 0 }, false, "scala.collection.mutable.HashMap$$anon$3", { scm_HashMap$$anon$3: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_scm_HashMap$$anon$3.prototype.$classData = $d_scm_HashMap$$anon$3; /** @constructor */ function $c_scm_HashTable$$anon$1() { $c_sc_AbstractIterator.call(this); this.iterTable$2 = null; this.idx$2 = 0; this.es$2 = null } $c_scm_HashTable$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_scm_HashTable$$anon$1.prototype.constructor = $c_scm_HashTable$$anon$1; /** @constructor */ function $h_scm_HashTable$$anon$1() { /*<skip>*/ } $h_scm_HashTable$$anon$1.prototype = $c_scm_HashTable$$anon$1.prototype; $c_scm_HashTable$$anon$1.prototype.init___scm_HashTable = (function($$outer) { this.iterTable$2 = $$outer.table$5; this.idx$2 = $s_scm_HashTable$class__scala$collection$mutable$HashTable$$lastPopulatedIndex__scm_HashTable__I($$outer); this.es$2 = this.iterTable$2.u[this.idx$2]; return this }); $c_scm_HashTable$$anon$1.prototype.next__O = (function() { return this.next__scm_HashEntry() }); $c_scm_HashTable$$anon$1.prototype.next__scm_HashEntry = (function() { var res = this.es$2; this.es$2 = $as_scm_HashEntry(this.es$2.next$1); while (((this.es$2 === null) && (this.idx$2 > 0))) { this.idx$2 = (((-1) + this.idx$2) | 0); this.es$2 = this.iterTable$2.u[this.idx$2] }; return res }); $c_scm_HashTable$$anon$1.prototype.hasNext__Z = (function() { return (this.es$2 !== null) }); var $d_scm_HashTable$$anon$1 = new $TypeData().initClass({ scm_HashTable$$anon$1: 0 }, false, "scala.collection.mutable.HashTable$$anon$1", { scm_HashTable$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_scm_HashTable$$anon$1.prototype.$classData = $d_scm_HashTable$$anon$1; /** @constructor */ function $c_scm_Iterable$() { $c_scg_GenTraversableFactory.call(this) } $c_scm_Iterable$.prototype = new $h_scg_GenTraversableFactory(); $c_scm_Iterable$.prototype.constructor = $c_scm_Iterable$; /** @constructor */ function $h_scm_Iterable$() { /*<skip>*/ } $h_scm_Iterable$.prototype = $c_scm_Iterable$.prototype; $c_scm_Iterable$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_scm_Iterable$.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_ArrayBuffer().init___() }); var $d_scm_Iterable$ = new $TypeData().initClass({ scm_Iterable$: 0 }, false, "scala.collection.mutable.Iterable$", { scm_Iterable$: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_scm_Iterable$.prototype.$classData = $d_scm_Iterable$; var $n_scm_Iterable$ = (void 0); function $m_scm_Iterable$() { if ((!$n_scm_Iterable$)) { $n_scm_Iterable$ = new $c_scm_Iterable$().init___() }; return $n_scm_Iterable$ } /** @constructor */ function $c_scm_ListBuffer$$anon$1() { $c_sc_AbstractIterator.call(this); this.cursor$2 = null } $c_scm_ListBuffer$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_scm_ListBuffer$$anon$1.prototype.constructor = $c_scm_ListBuffer$$anon$1; /** @constructor */ function $h_scm_ListBuffer$$anon$1() { /*<skip>*/ } $h_scm_ListBuffer$$anon$1.prototype = $c_scm_ListBuffer$$anon$1.prototype; $c_scm_ListBuffer$$anon$1.prototype.init___scm_ListBuffer = (function($$outer) { this.cursor$2 = ($$outer.scala$collection$mutable$ListBuffer$$start$6.isEmpty__Z() ? $m_sci_Nil$() : $$outer.scala$collection$mutable$ListBuffer$$start$6); return this }); $c_scm_ListBuffer$$anon$1.prototype.next__O = (function() { if ((!this.hasNext__Z())) { throw new $c_ju_NoSuchElementException().init___T("next on empty Iterator") } else { var ans = this.cursor$2.head__O(); this.cursor$2 = $as_sci_List(this.cursor$2.tail__O()); return ans } }); $c_scm_ListBuffer$$anon$1.prototype.hasNext__Z = (function() { return (this.cursor$2 !== $m_sci_Nil$()) }); var $d_scm_ListBuffer$$anon$1 = new $TypeData().initClass({ scm_ListBuffer$$anon$1: 0 }, false, "scala.collection.mutable.ListBuffer$$anon$1", { scm_ListBuffer$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_scm_ListBuffer$$anon$1.prototype.$classData = $d_scm_ListBuffer$$anon$1; /** @constructor */ function $c_sr_ScalaRunTime$$anon$1() { $c_sc_AbstractIterator.call(this); this.c$2 = 0; this.cmax$2 = 0; this.x$2$2 = null } $c_sr_ScalaRunTime$$anon$1.prototype = new $h_sc_AbstractIterator(); $c_sr_ScalaRunTime$$anon$1.prototype.constructor = $c_sr_ScalaRunTime$$anon$1; /** @constructor */ function $h_sr_ScalaRunTime$$anon$1() { /*<skip>*/ } $h_sr_ScalaRunTime$$anon$1.prototype = $c_sr_ScalaRunTime$$anon$1.prototype; $c_sr_ScalaRunTime$$anon$1.prototype.next__O = (function() { var result = this.x$2$2.productElement__I__O(this.c$2); this.c$2 = ((1 + this.c$2) | 0); return result }); $c_sr_ScalaRunTime$$anon$1.prototype.init___s_Product = (function(x$2) { this.x$2$2 = x$2; this.c$2 = 0; this.cmax$2 = x$2.productArity__I(); return this }); $c_sr_ScalaRunTime$$anon$1.prototype.hasNext__Z = (function() { return (this.c$2 < this.cmax$2) }); var $d_sr_ScalaRunTime$$anon$1 = new $TypeData().initClass({ sr_ScalaRunTime$$anon$1: 0 }, false, "scala.runtime.ScalaRunTime$$anon$1", { sr_ScalaRunTime$$anon$1: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sr_ScalaRunTime$$anon$1.prototype.$classData = $d_sr_ScalaRunTime$$anon$1; /** @constructor */ function $c_Lhypersubs_CB$() { $c_Lhypersubs_Position.call(this) } $c_Lhypersubs_CB$.prototype = new $h_Lhypersubs_Position(); $c_Lhypersubs_CB$.prototype.constructor = $c_Lhypersubs_CB$; /** @constructor */ function $h_Lhypersubs_CB$() { /*<skip>*/ } $h_Lhypersubs_CB$.prototype = $c_Lhypersubs_CB$.prototype; $c_Lhypersubs_CB$.prototype.init___ = (function() { $c_Lhypersubs_Position.prototype.init___T__T__Z__I__I.call(this, "CB", "centre back", false, 2, 3); return this }); $c_Lhypersubs_CB$.prototype.productPrefix__T = (function() { return "CB" }); $c_Lhypersubs_CB$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_CB$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_CB$.prototype.hashCode__I = (function() { return 2143 }); $c_Lhypersubs_CB$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_CB$ = new $TypeData().initClass({ Lhypersubs_CB$: 0 }, false, "hypersubs.CB$", { Lhypersubs_CB$: 1, Lhypersubs_Position: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_CB$.prototype.$classData = $d_Lhypersubs_CB$; var $n_Lhypersubs_CB$ = (void 0); function $m_Lhypersubs_CB$() { if ((!$n_Lhypersubs_CB$)) { $n_Lhypersubs_CB$ = new $c_Lhypersubs_CB$().init___() }; return $n_Lhypersubs_CB$ } /** @constructor */ function $c_Lhypersubs_Doubtful$() { $c_Lhypersubs_Status.call(this) } $c_Lhypersubs_Doubtful$.prototype = new $h_Lhypersubs_Status(); $c_Lhypersubs_Doubtful$.prototype.constructor = $c_Lhypersubs_Doubtful$; /** @constructor */ function $h_Lhypersubs_Doubtful$() { /*<skip>*/ } $h_Lhypersubs_Doubtful$.prototype = $c_Lhypersubs_Doubtful$.prototype; $c_Lhypersubs_Doubtful$.prototype.init___ = (function() { $c_Lhypersubs_Status.prototype.init___T__Z__I.call(this, "doubtful", false, 1000); return this }); $c_Lhypersubs_Doubtful$.prototype.productPrefix__T = (function() { return "Doubtful" }); $c_Lhypersubs_Doubtful$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_Doubtful$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_Doubtful$.prototype.toString__T = (function() { return "Doubtful" }); $c_Lhypersubs_Doubtful$.prototype.hashCode__I = (function() { return 1424352513 }); $c_Lhypersubs_Doubtful$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_Doubtful$ = new $TypeData().initClass({ Lhypersubs_Doubtful$: 0 }, false, "hypersubs.Doubtful$", { Lhypersubs_Doubtful$: 1, Lhypersubs_Status: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_Doubtful$.prototype.$classData = $d_Lhypersubs_Doubtful$; var $n_Lhypersubs_Doubtful$ = (void 0); function $m_Lhypersubs_Doubtful$() { if ((!$n_Lhypersubs_Doubtful$)) { $n_Lhypersubs_Doubtful$ = new $c_Lhypersubs_Doubtful$().init___() }; return $n_Lhypersubs_Doubtful$ } /** @constructor */ function $c_Lhypersubs_FB$() { $c_Lhypersubs_Position.call(this) } $c_Lhypersubs_FB$.prototype = new $h_Lhypersubs_Position(); $c_Lhypersubs_FB$.prototype.constructor = $c_Lhypersubs_FB$; /** @constructor */ function $h_Lhypersubs_FB$() { /*<skip>*/ } $h_Lhypersubs_FB$.prototype = $c_Lhypersubs_FB$.prototype; $c_Lhypersubs_FB$.prototype.init___ = (function() { $c_Lhypersubs_Position.prototype.init___T__T__Z__I__I.call(this, "FB", "full back", false, 2, 2); return this }); $c_Lhypersubs_FB$.prototype.productPrefix__T = (function() { return "FB" }); $c_Lhypersubs_FB$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_FB$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_FB$.prototype.hashCode__I = (function() { return 2236 }); $c_Lhypersubs_FB$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_FB$ = new $TypeData().initClass({ Lhypersubs_FB$: 0 }, false, "hypersubs.FB$", { Lhypersubs_FB$: 1, Lhypersubs_Position: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_FB$.prototype.$classData = $d_Lhypersubs_FB$; var $n_Lhypersubs_FB$ = (void 0); function $m_Lhypersubs_FB$() { if ((!$n_Lhypersubs_FB$)) { $n_Lhypersubs_FB$ = new $c_Lhypersubs_FB$().init___() }; return $n_Lhypersubs_FB$ } /** @constructor */ function $c_Lhypersubs_GK$() { $c_Lhypersubs_Position.call(this) } $c_Lhypersubs_GK$.prototype = new $h_Lhypersubs_Position(); $c_Lhypersubs_GK$.prototype.constructor = $c_Lhypersubs_GK$; /** @constructor */ function $h_Lhypersubs_GK$() { /*<skip>*/ } $h_Lhypersubs_GK$.prototype = $c_Lhypersubs_GK$.prototype; $c_Lhypersubs_GK$.prototype.init___ = (function() { $c_Lhypersubs_Position.prototype.init___T__T__Z__I__I.call(this, "GK", "goalkeeper", false, 1, 1); return this }); $c_Lhypersubs_GK$.prototype.productPrefix__T = (function() { return "GK" }); $c_Lhypersubs_GK$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_GK$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_GK$.prototype.hashCode__I = (function() { return 2276 }); $c_Lhypersubs_GK$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_GK$ = new $TypeData().initClass({ Lhypersubs_GK$: 0 }, false, "hypersubs.GK$", { Lhypersubs_GK$: 1, Lhypersubs_Position: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_GK$.prototype.$classData = $d_Lhypersubs_GK$; var $n_Lhypersubs_GK$ = (void 0); function $m_Lhypersubs_GK$() { if ((!$n_Lhypersubs_GK$)) { $n_Lhypersubs_GK$ = new $c_Lhypersubs_GK$().init___() }; return $n_Lhypersubs_GK$ } /** @constructor */ function $c_Lhypersubs_Ineligible$() { $c_Lhypersubs_Status.call(this) } $c_Lhypersubs_Ineligible$.prototype = new $h_Lhypersubs_Status(); $c_Lhypersubs_Ineligible$.prototype.constructor = $c_Lhypersubs_Ineligible$; /** @constructor */ function $h_Lhypersubs_Ineligible$() { /*<skip>*/ } $h_Lhypersubs_Ineligible$.prototype = $c_Lhypersubs_Ineligible$.prototype; $c_Lhypersubs_Ineligible$.prototype.init___ = (function() { $c_Lhypersubs_Status.prototype.init___T__Z__I.call(this, "ineligible to play in this match", true, 10001); return this }); $c_Lhypersubs_Ineligible$.prototype.productPrefix__T = (function() { return "Ineligible" }); $c_Lhypersubs_Ineligible$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_Ineligible$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_Ineligible$.prototype.toString__T = (function() { return "Ineligible" }); $c_Lhypersubs_Ineligible$.prototype.hashCode__I = (function() { return 1683631644 }); $c_Lhypersubs_Ineligible$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_Ineligible$ = new $TypeData().initClass({ Lhypersubs_Ineligible$: 0 }, false, "hypersubs.Ineligible$", { Lhypersubs_Ineligible$: 1, Lhypersubs_Status: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_Ineligible$.prototype.$classData = $d_Lhypersubs_Ineligible$; var $n_Lhypersubs_Ineligible$ = (void 0); function $m_Lhypersubs_Ineligible$() { if ((!$n_Lhypersubs_Ineligible$)) { $n_Lhypersubs_Ineligible$ = new $c_Lhypersubs_Ineligible$().init___() }; return $n_Lhypersubs_Ineligible$ } /** @constructor */ function $c_Lhypersubs_Injured$() { $c_Lhypersubs_Status.call(this) } $c_Lhypersubs_Injured$.prototype = new $h_Lhypersubs_Status(); $c_Lhypersubs_Injured$.prototype.constructor = $c_Lhypersubs_Injured$; /** @constructor */ function $h_Lhypersubs_Injured$() { /*<skip>*/ } $h_Lhypersubs_Injured$.prototype = $c_Lhypersubs_Injured$.prototype; $c_Lhypersubs_Injured$.prototype.init___ = (function() { $c_Lhypersubs_Status.prototype.init___T__Z__I.call(this, "injured", false, 100); return this }); $c_Lhypersubs_Injured$.prototype.productPrefix__T = (function() { return "Injured" }); $c_Lhypersubs_Injured$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_Injured$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_Injured$.prototype.toString__T = (function() { return "Injured" }); $c_Lhypersubs_Injured$.prototype.hashCode__I = (function() { return (-681009855) }); $c_Lhypersubs_Injured$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_Injured$ = new $TypeData().initClass({ Lhypersubs_Injured$: 0 }, false, "hypersubs.Injured$", { Lhypersubs_Injured$: 1, Lhypersubs_Status: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_Injured$.prototype.$classData = $d_Lhypersubs_Injured$; var $n_Lhypersubs_Injured$ = (void 0); function $m_Lhypersubs_Injured$() { if ((!$n_Lhypersubs_Injured$)) { $n_Lhypersubs_Injured$ = new $c_Lhypersubs_Injured$().init___() }; return $n_Lhypersubs_Injured$ } /** @constructor */ function $c_Lhypersubs_InternationalDuty$() { $c_Lhypersubs_Status.call(this) } $c_Lhypersubs_InternationalDuty$.prototype = new $h_Lhypersubs_Status(); $c_Lhypersubs_InternationalDuty$.prototype.constructor = $c_Lhypersubs_InternationalDuty$; /** @constructor */ function $h_Lhypersubs_InternationalDuty$() { /*<skip>*/ } $h_Lhypersubs_InternationalDuty$.prototype = $c_Lhypersubs_InternationalDuty$.prototype; $c_Lhypersubs_InternationalDuty$.prototype.init___ = (function() { $c_Lhypersubs_Status.prototype.init___T__Z__I.call(this, "on duty elsewhere", false, 10); return this }); $c_Lhypersubs_InternationalDuty$.prototype.productPrefix__T = (function() { return "InternationalDuty" }); $c_Lhypersubs_InternationalDuty$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_InternationalDuty$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_InternationalDuty$.prototype.toString__T = (function() { return "InternationalDuty" }); $c_Lhypersubs_InternationalDuty$.prototype.hashCode__I = (function() { return (-1562286492) }); $c_Lhypersubs_InternationalDuty$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_InternationalDuty$ = new $TypeData().initClass({ Lhypersubs_InternationalDuty$: 0 }, false, "hypersubs.InternationalDuty$", { Lhypersubs_InternationalDuty$: 1, Lhypersubs_Status: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_InternationalDuty$.prototype.$classData = $d_Lhypersubs_InternationalDuty$; var $n_Lhypersubs_InternationalDuty$ = (void 0); function $m_Lhypersubs_InternationalDuty$() { if ((!$n_Lhypersubs_InternationalDuty$)) { $n_Lhypersubs_InternationalDuty$ = new $c_Lhypersubs_InternationalDuty$().init___() }; return $n_Lhypersubs_InternationalDuty$ } /** @constructor */ function $c_Lhypersubs_LateFitnessTest$() { $c_Lhypersubs_Status.call(this) } $c_Lhypersubs_LateFitnessTest$.prototype = new $h_Lhypersubs_Status(); $c_Lhypersubs_LateFitnessTest$.prototype.constructor = $c_Lhypersubs_LateFitnessTest$; /** @constructor */ function $h_Lhypersubs_LateFitnessTest$() { /*<skip>*/ } $h_Lhypersubs_LateFitnessTest$.prototype = $c_Lhypersubs_LateFitnessTest$.prototype; $c_Lhypersubs_LateFitnessTest$.prototype.init___ = (function() { $c_Lhypersubs_Status.prototype.init___T__Z__I.call(this, "late fitness test", false, 2000); return this }); $c_Lhypersubs_LateFitnessTest$.prototype.productPrefix__T = (function() { return "LateFitnessTest" }); $c_Lhypersubs_LateFitnessTest$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_LateFitnessTest$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_LateFitnessTest$.prototype.toString__T = (function() { return "LateFitnessTest" }); $c_Lhypersubs_LateFitnessTest$.prototype.hashCode__I = (function() { return (-1029901324) }); $c_Lhypersubs_LateFitnessTest$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_LateFitnessTest$ = new $TypeData().initClass({ Lhypersubs_LateFitnessTest$: 0 }, false, "hypersubs.LateFitnessTest$", { Lhypersubs_LateFitnessTest$: 1, Lhypersubs_Status: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_LateFitnessTest$.prototype.$classData = $d_Lhypersubs_LateFitnessTest$; var $n_Lhypersubs_LateFitnessTest$ = (void 0); function $m_Lhypersubs_LateFitnessTest$() { if ((!$n_Lhypersubs_LateFitnessTest$)) { $n_Lhypersubs_LateFitnessTest$ = new $c_Lhypersubs_LateFitnessTest$().init___() }; return $n_Lhypersubs_LateFitnessTest$ } /** @constructor */ function $c_Lhypersubs_MF$() { $c_Lhypersubs_Position.call(this) } $c_Lhypersubs_MF$.prototype = new $h_Lhypersubs_Position(); $c_Lhypersubs_MF$.prototype.constructor = $c_Lhypersubs_MF$; /** @constructor */ function $h_Lhypersubs_MF$() { /*<skip>*/ } $h_Lhypersubs_MF$.prototype = $c_Lhypersubs_MF$.prototype; $c_Lhypersubs_MF$.prototype.init___ = (function() { $c_Lhypersubs_Position.prototype.init___T__T__Z__I__I.call(this, "MF", "midfielder", true, 3, 5); return this }); $c_Lhypersubs_MF$.prototype.productPrefix__T = (function() { return "MF" }); $c_Lhypersubs_MF$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_MF$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_MF$.prototype.hashCode__I = (function() { return 2457 }); $c_Lhypersubs_MF$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_MF$ = new $TypeData().initClass({ Lhypersubs_MF$: 0 }, false, "hypersubs.MF$", { Lhypersubs_MF$: 1, Lhypersubs_Position: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_MF$.prototype.$classData = $d_Lhypersubs_MF$; var $n_Lhypersubs_MF$ = (void 0); function $m_Lhypersubs_MF$() { if ((!$n_Lhypersubs_MF$)) { $n_Lhypersubs_MF$ = new $c_Lhypersubs_MF$().init___() }; return $n_Lhypersubs_MF$ } /** @constructor */ function $c_Lhypersubs_No$() { $c_Lhypersubs_SubsJustSetStatus.call(this); this.gmValue$2 = 0 } $c_Lhypersubs_No$.prototype = new $h_Lhypersubs_SubsJustSetStatus(); $c_Lhypersubs_No$.prototype.constructor = $c_Lhypersubs_No$; /** @constructor */ function $h_Lhypersubs_No$() { /*<skip>*/ } $h_Lhypersubs_No$.prototype = $c_Lhypersubs_No$.prototype; $c_Lhypersubs_No$.prototype.init___ = (function() { this.gmValue$2 = (-1); return this }); $c_Lhypersubs_No$.prototype.productPrefix__T = (function() { return "No" }); $c_Lhypersubs_No$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_No$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_No$.prototype.toString__T = (function() { return "No" }); $c_Lhypersubs_No$.prototype.gmValue__I = (function() { return this.gmValue$2 }); $c_Lhypersubs_No$.prototype.hashCode__I = (function() { return 2529 }); $c_Lhypersubs_No$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_No$ = new $TypeData().initClass({ Lhypersubs_No$: 0 }, false, "hypersubs.No$", { Lhypersubs_No$: 1, Lhypersubs_SubsJustSetStatus: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_No$.prototype.$classData = $d_Lhypersubs_No$; var $n_Lhypersubs_No$ = (void 0); function $m_Lhypersubs_No$() { if ((!$n_Lhypersubs_No$)) { $n_Lhypersubs_No$ = new $c_Lhypersubs_No$().init___() }; return $n_Lhypersubs_No$ } /** @constructor */ function $c_Lhypersubs_NoOpponent$() { $c_Lhypersubs_Opposition.call(this) } $c_Lhypersubs_NoOpponent$.prototype = new $h_Lhypersubs_Opposition(); $c_Lhypersubs_NoOpponent$.prototype.constructor = $c_Lhypersubs_NoOpponent$; /** @constructor */ function $h_Lhypersubs_NoOpponent$() { /*<skip>*/ } $h_Lhypersubs_NoOpponent$.prototype = $c_Lhypersubs_NoOpponent$.prototype; $c_Lhypersubs_NoOpponent$.prototype.init___ = (function() { $c_Lhypersubs_Opposition.prototype.init___Z.call(this, false); return this }); $c_Lhypersubs_NoOpponent$.prototype.productPrefix__T = (function() { return "NoOpponent" }); $c_Lhypersubs_NoOpponent$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_NoOpponent$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_NoOpponent$.prototype.toString__T = (function() { return "(inactive)" }); $c_Lhypersubs_NoOpponent$.prototype.hasStrongAttack__Z = (function() { return false }); $c_Lhypersubs_NoOpponent$.prototype.hashCode__I = (function() { return (-1330520482) }); $c_Lhypersubs_NoOpponent$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); $c_Lhypersubs_NoOpponent$.prototype.toHTML__Z__T = (function(facedAtHome) { return "<span class='inactive'>(idle)</span>" }); var $d_Lhypersubs_NoOpponent$ = new $TypeData().initClass({ Lhypersubs_NoOpponent$: 0 }, false, "hypersubs.NoOpponent$", { Lhypersubs_NoOpponent$: 1, Lhypersubs_Opposition: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_NoOpponent$.prototype.$classData = $d_Lhypersubs_NoOpponent$; var $n_Lhypersubs_NoOpponent$ = (void 0); function $m_Lhypersubs_NoOpponent$() { if ((!$n_Lhypersubs_NoOpponent$)) { $n_Lhypersubs_NoOpponent$ = new $c_Lhypersubs_NoOpponent$().init___() }; return $n_Lhypersubs_NoOpponent$ } /** @constructor */ function $c_Lhypersubs_Opponent() { $c_Lhypersubs_Opposition.call(this); this.club$2 = null } $c_Lhypersubs_Opponent.prototype = new $h_Lhypersubs_Opposition(); $c_Lhypersubs_Opponent.prototype.constructor = $c_Lhypersubs_Opponent; /** @constructor */ function $h_Lhypersubs_Opponent() { /*<skip>*/ } $h_Lhypersubs_Opponent.prototype = $c_Lhypersubs_Opponent.prototype; $c_Lhypersubs_Opponent.prototype.productPrefix__T = (function() { return "Opponent" }); $c_Lhypersubs_Opponent.prototype.productArity__I = (function() { return 1 }); $c_Lhypersubs_Opponent.prototype.init___Lhypersubs_Club = (function(club) { this.club$2 = club; $c_Lhypersubs_Opposition.prototype.init___Z.call(this, true); return this }); $c_Lhypersubs_Opponent.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_Opponent(x$1)) { var Opponent$1 = $as_Lhypersubs_Opponent(x$1); var x = this.club$2; var x$2 = Opponent$1.club$2; return (x === x$2) } else { return false } }); $c_Lhypersubs_Opponent.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.club$2; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_Opponent.prototype.toString__T = (function() { return new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array([" vs. ", ""])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.club$2])) }); $c_Lhypersubs_Opponent.prototype.hasStrongAttack__Z = (function() { return this.club$2.hasStrongAttack$1 }); $c_Lhypersubs_Opponent.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_Lhypersubs_Opponent.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); $c_Lhypersubs_Opponent.prototype.toHTML__Z__T = (function(facedAtHome) { if (facedAtHome) { var thiz = this.club$2.name$1; var nameString = $as_T(thiz.toUpperCase()) } else { var thiz$1 = this.club$2.name$1; var nameString = $as_T(thiz$1.toLowerCase()) }; return new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["<span class='vs'>vs.</span><span class='opponent'>", "</span>"])).s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([nameString])) }); function $is_Lhypersubs_Opponent(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_Opponent))) } function $as_Lhypersubs_Opponent(obj) { return (($is_Lhypersubs_Opponent(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.Opponent")) } function $isArrayOf_Lhypersubs_Opponent(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_Opponent))) } function $asArrayOf_Lhypersubs_Opponent(obj, depth) { return (($isArrayOf_Lhypersubs_Opponent(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.Opponent;", depth)) } var $d_Lhypersubs_Opponent = new $TypeData().initClass({ Lhypersubs_Opponent: 0 }, false, "hypersubs.Opponent", { Lhypersubs_Opponent: 1, Lhypersubs_Opposition: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_Opponent.prototype.$classData = $d_Lhypersubs_Opponent; /** @constructor */ function $c_Lhypersubs_ReadyToPlay$() { $c_Lhypersubs_Status.call(this) } $c_Lhypersubs_ReadyToPlay$.prototype = new $h_Lhypersubs_Status(); $c_Lhypersubs_ReadyToPlay$.prototype.constructor = $c_Lhypersubs_ReadyToPlay$; /** @constructor */ function $h_Lhypersubs_ReadyToPlay$() { /*<skip>*/ } $h_Lhypersubs_ReadyToPlay$.prototype = $c_Lhypersubs_ReadyToPlay$.prototype; $c_Lhypersubs_ReadyToPlay$.prototype.init___ = (function() { $c_Lhypersubs_Status.prototype.init___T__Z__I.call(this, "ready to play", false, 10000); return this }); $c_Lhypersubs_ReadyToPlay$.prototype.productPrefix__T = (function() { return "ReadyToPlay" }); $c_Lhypersubs_ReadyToPlay$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_ReadyToPlay$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_ReadyToPlay$.prototype.toString__T = (function() { return "ReadyToPlay" }); $c_Lhypersubs_ReadyToPlay$.prototype.hashCode__I = (function() { return 1787412402 }); $c_Lhypersubs_ReadyToPlay$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_ReadyToPlay$ = new $TypeData().initClass({ Lhypersubs_ReadyToPlay$: 0 }, false, "hypersubs.ReadyToPlay$", { Lhypersubs_ReadyToPlay$: 1, Lhypersubs_Status: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_ReadyToPlay$.prototype.$classData = $d_Lhypersubs_ReadyToPlay$; var $n_Lhypersubs_ReadyToPlay$ = (void 0); function $m_Lhypersubs_ReadyToPlay$() { if ((!$n_Lhypersubs_ReadyToPlay$)) { $n_Lhypersubs_ReadyToPlay$ = new $c_Lhypersubs_ReadyToPlay$().init___() }; return $n_Lhypersubs_ReadyToPlay$ } /** @constructor */ function $c_Lhypersubs_ST$() { $c_Lhypersubs_Position.call(this) } $c_Lhypersubs_ST$.prototype = new $h_Lhypersubs_Position(); $c_Lhypersubs_ST$.prototype.constructor = $c_Lhypersubs_ST$; /** @constructor */ function $h_Lhypersubs_ST$() { /*<skip>*/ } $h_Lhypersubs_ST$.prototype = $c_Lhypersubs_ST$.prototype; $c_Lhypersubs_ST$.prototype.init___ = (function() { $c_Lhypersubs_Position.prototype.init___T__T__Z__I__I.call(this, "ST", "striker", true, 1, 3); return this }); $c_Lhypersubs_ST$.prototype.productPrefix__T = (function() { return "ST" }); $c_Lhypersubs_ST$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_ST$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_ST$.prototype.hashCode__I = (function() { return 2657 }); $c_Lhypersubs_ST$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_ST$ = new $TypeData().initClass({ Lhypersubs_ST$: 0 }, false, "hypersubs.ST$", { Lhypersubs_ST$: 1, Lhypersubs_Position: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_ST$.prototype.$classData = $d_Lhypersubs_ST$; var $n_Lhypersubs_ST$ = (void 0); function $m_Lhypersubs_ST$() { if ((!$n_Lhypersubs_ST$)) { $n_Lhypersubs_ST$ = new $c_Lhypersubs_ST$().init___() }; return $n_Lhypersubs_ST$ } /** @constructor */ function $c_Lhypersubs_Suspended$() { $c_Lhypersubs_Status.call(this) } $c_Lhypersubs_Suspended$.prototype = new $h_Lhypersubs_Status(); $c_Lhypersubs_Suspended$.prototype.constructor = $c_Lhypersubs_Suspended$; /** @constructor */ function $h_Lhypersubs_Suspended$() { /*<skip>*/ } $h_Lhypersubs_Suspended$.prototype = $c_Lhypersubs_Suspended$.prototype; $c_Lhypersubs_Suspended$.prototype.init___ = (function() { $c_Lhypersubs_Status.prototype.init___T__Z__I.call(this, "suspended", false, 2); return this }); $c_Lhypersubs_Suspended$.prototype.productPrefix__T = (function() { return "Suspended" }); $c_Lhypersubs_Suspended$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_Suspended$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_Suspended$.prototype.toString__T = (function() { return "Suspended" }); $c_Lhypersubs_Suspended$.prototype.hashCode__I = (function() { return 342339003 }); $c_Lhypersubs_Suspended$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_Suspended$ = new $TypeData().initClass({ Lhypersubs_Suspended$: 0 }, false, "hypersubs.Suspended$", { Lhypersubs_Suspended$: 1, Lhypersubs_Status: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_Suspended$.prototype.$classData = $d_Lhypersubs_Suspended$; var $n_Lhypersubs_Suspended$ = (void 0); function $m_Lhypersubs_Suspended$() { if ((!$n_Lhypersubs_Suspended$)) { $n_Lhypersubs_Suspended$ = new $c_Lhypersubs_Suspended$().init___() }; return $n_Lhypersubs_Suspended$ } /** @constructor */ function $c_Lhypersubs_UnknownPlayerStatus$() { $c_Lhypersubs_Status.call(this) } $c_Lhypersubs_UnknownPlayerStatus$.prototype = new $h_Lhypersubs_Status(); $c_Lhypersubs_UnknownPlayerStatus$.prototype.constructor = $c_Lhypersubs_UnknownPlayerStatus$; /** @constructor */ function $h_Lhypersubs_UnknownPlayerStatus$() { /*<skip>*/ } $h_Lhypersubs_UnknownPlayerStatus$.prototype = $c_Lhypersubs_UnknownPlayerStatus$.prototype; $c_Lhypersubs_UnknownPlayerStatus$.prototype.init___ = (function() { $c_Lhypersubs_Status.prototype.init___T__Z__I.call(this, "unknown status type; considered OK", false, 9999); return this }); $c_Lhypersubs_UnknownPlayerStatus$.prototype.productPrefix__T = (function() { return "UnknownPlayerStatus" }); $c_Lhypersubs_UnknownPlayerStatus$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_UnknownPlayerStatus$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_UnknownPlayerStatus$.prototype.toString__T = (function() { return "UnknownPlayerStatus" }); $c_Lhypersubs_UnknownPlayerStatus$.prototype.hashCode__I = (function() { return (-818769027) }); $c_Lhypersubs_UnknownPlayerStatus$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_UnknownPlayerStatus$ = new $TypeData().initClass({ Lhypersubs_UnknownPlayerStatus$: 0 }, false, "hypersubs.UnknownPlayerStatus$", { Lhypersubs_UnknownPlayerStatus$: 1, Lhypersubs_Status: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_UnknownPlayerStatus$.prototype.$classData = $d_Lhypersubs_UnknownPlayerStatus$; var $n_Lhypersubs_UnknownPlayerStatus$ = (void 0); function $m_Lhypersubs_UnknownPlayerStatus$() { if ((!$n_Lhypersubs_UnknownPlayerStatus$)) { $n_Lhypersubs_UnknownPlayerStatus$ = new $c_Lhypersubs_UnknownPlayerStatus$().init___() }; return $n_Lhypersubs_UnknownPlayerStatus$ } /** @constructor */ function $c_Lhypersubs_Yes() { $c_Lhypersubs_SubsJustSetStatus.call(this); this.flangeCount$2 = 0; this.gmValue$2 = 0 } $c_Lhypersubs_Yes.prototype = new $h_Lhypersubs_SubsJustSetStatus(); $c_Lhypersubs_Yes.prototype.constructor = $c_Lhypersubs_Yes; /** @constructor */ function $h_Lhypersubs_Yes() { /*<skip>*/ } $h_Lhypersubs_Yes.prototype = $c_Lhypersubs_Yes.prototype; $c_Lhypersubs_Yes.prototype.productPrefix__T = (function() { return "Yes" }); $c_Lhypersubs_Yes.prototype.productArity__I = (function() { return 1 }); $c_Lhypersubs_Yes.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_Yes(x$1)) { var Yes$1 = $as_Lhypersubs_Yes(x$1); return (this.flangeCount$2 === Yes$1.flangeCount$2) } else { return false } }); $c_Lhypersubs_Yes.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.flangeCount$2; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_Yes.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_Yes.prototype.gmValue__I = (function() { return this.gmValue$2 }); $c_Lhypersubs_Yes.prototype.init___I = (function(flangeCount) { this.flangeCount$2 = flangeCount; this.gmValue$2 = flangeCount; return this }); $c_Lhypersubs_Yes.prototype.hashCode__I = (function() { var acc = (-889275714); acc = $m_sr_Statics$().mix__I__I__I(acc, this.flangeCount$2); return $m_sr_Statics$().finalizeHash__I__I__I(acc, 1) }); $c_Lhypersubs_Yes.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_Yes(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_Yes))) } function $as_Lhypersubs_Yes(obj) { return (($is_Lhypersubs_Yes(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.Yes")) } function $isArrayOf_Lhypersubs_Yes(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_Yes))) } function $asArrayOf_Lhypersubs_Yes(obj, depth) { return (($isArrayOf_Lhypersubs_Yes(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.Yes;", depth)) } var $d_Lhypersubs_Yes = new $TypeData().initClass({ Lhypersubs_Yes: 0 }, false, "hypersubs.Yes", { Lhypersubs_Yes: 1, Lhypersubs_SubsJustSetStatus: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_Yes.prototype.$classData = $d_Lhypersubs_Yes; /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice() { $c_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice.call(this); this.locator$2 = null; this.text$2 = null } $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype = new $h_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice(); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype = $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype; $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.init___T__T = (function(locator, text) { this.locator$2 = locator; this.text$2 = text; return this }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.productPrefix__T = (function() { return "Advice" }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.productArity__I = (function() { return 2 }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(x$1)) { var Advice$1 = $as_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(x$1); return ((this.locator$2 === Advice$1.locator$2) && (this.text$2 === Advice$1.text$2)) } else { return false } }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.locator$2; break } case 1: { return this.text$2; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_PlayerBox$FillingAdvice$Advice))) } function $as_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(obj) { return (($is_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.PlayerBox$FillingAdvice$Advice")) } function $isArrayOf_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_PlayerBox$FillingAdvice$Advice))) } function $asArrayOf_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(obj, depth) { return (($isArrayOf_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.PlayerBox$FillingAdvice$Advice;", depth)) } var $d_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice = new $TypeData().initClass({ Lhypersubs_gui_PlayerBox$FillingAdvice$Advice: 0 }, false, "hypersubs.gui.PlayerBox$FillingAdvice$Advice", { Lhypersubs_gui_PlayerBox$FillingAdvice$Advice: 1, Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice.prototype.$classData = $d_Lhypersubs_gui_PlayerBox$FillingAdvice$Advice; /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$() { $c_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice.call(this) } $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype = new $h_Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice(); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype = $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype; $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype.init___ = (function() { return this }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype.productPrefix__T = (function() { return "NoAdvice" }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype.toString__T = (function() { return "NoAdvice" }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype.hashCode__I = (function() { return 185779769 }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$ = new $TypeData().initClass({ Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$: 0 }, false, "hypersubs.gui.PlayerBox$FillingAdvice$NoAdvice$", { Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$: 1, Lhypersubs_gui_PlayerBox$FillingAdvice$CBMFSTAdvice: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$.prototype.$classData = $d_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$; var $n_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$ = (void 0); function $m_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$() { if ((!$n_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$)) { $n_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$ = new $c_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$().init___() }; return $n_Lhypersubs_gui_PlayerBox$FillingAdvice$NoAdvice$ } /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$Instant$() { $c_Lhypersubs_gui_PlayerBox$Transition.call(this) } $c_Lhypersubs_gui_PlayerBox$Instant$.prototype = new $h_Lhypersubs_gui_PlayerBox$Transition(); $c_Lhypersubs_gui_PlayerBox$Instant$.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$Instant$; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$Instant$() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$Instant$.prototype = $c_Lhypersubs_gui_PlayerBox$Instant$.prototype; $c_Lhypersubs_gui_PlayerBox$Instant$.prototype.init___ = (function() { $c_Lhypersubs_gui_PlayerBox$Transition.prototype.init___Z.call(this, false); return this }); $c_Lhypersubs_gui_PlayerBox$Instant$.prototype.productPrefix__T = (function() { return "Instant" }); $c_Lhypersubs_gui_PlayerBox$Instant$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_gui_PlayerBox$Instant$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_gui_PlayerBox$Instant$.prototype.toString__T = (function() { return "Instant" }); $c_Lhypersubs_gui_PlayerBox$Instant$.prototype.hashCode__I = (function() { return (-672743999) }); $c_Lhypersubs_gui_PlayerBox$Instant$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_gui_PlayerBox$Instant$ = new $TypeData().initClass({ Lhypersubs_gui_PlayerBox$Instant$: 0 }, false, "hypersubs.gui.PlayerBox$Instant$", { Lhypersubs_gui_PlayerBox$Instant$: 1, Lhypersubs_gui_PlayerBox$Transition: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_PlayerBox$Instant$.prototype.$classData = $d_Lhypersubs_gui_PlayerBox$Instant$; var $n_Lhypersubs_gui_PlayerBox$Instant$ = (void 0); function $m_Lhypersubs_gui_PlayerBox$Instant$() { if ((!$n_Lhypersubs_gui_PlayerBox$Instant$)) { $n_Lhypersubs_gui_PlayerBox$Instant$ = new $c_Lhypersubs_gui_PlayerBox$Instant$().init___() }; return $n_Lhypersubs_gui_PlayerBox$Instant$ } /** @constructor */ function $c_Lhypersubs_gui_PlayerBox$Smooth() { $c_Lhypersubs_gui_PlayerBox$Transition.call(this); this.from$2 = null } $c_Lhypersubs_gui_PlayerBox$Smooth.prototype = new $h_Lhypersubs_gui_PlayerBox$Transition(); $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.constructor = $c_Lhypersubs_gui_PlayerBox$Smooth; /** @constructor */ function $h_Lhypersubs_gui_PlayerBox$Smooth() { /*<skip>*/ } $h_Lhypersubs_gui_PlayerBox$Smooth.prototype = $c_Lhypersubs_gui_PlayerBox$Smooth.prototype; $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.productPrefix__T = (function() { return "Smooth" }); $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.productArity__I = (function() { return 1 }); $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_gui_PlayerBox$Smooth(x$1)) { var Smooth$1 = $as_Lhypersubs_gui_PlayerBox$Smooth(x$1); var x = this.from$2; var x$2 = Smooth$1.from$2; return (x === x$2) } else { return false } }); $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.from$2; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.init___Lhypersubs_hsubs_Selection = (function(from) { this.from$2 = from; $c_Lhypersubs_gui_PlayerBox$Transition.prototype.init___Z.call(this, true); return this }); function $is_Lhypersubs_gui_PlayerBox$Smooth(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_gui_PlayerBox$Smooth))) } function $as_Lhypersubs_gui_PlayerBox$Smooth(obj) { return (($is_Lhypersubs_gui_PlayerBox$Smooth(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.gui.PlayerBox$Smooth")) } function $isArrayOf_Lhypersubs_gui_PlayerBox$Smooth(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_gui_PlayerBox$Smooth))) } function $asArrayOf_Lhypersubs_gui_PlayerBox$Smooth(obj, depth) { return (($isArrayOf_Lhypersubs_gui_PlayerBox$Smooth(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.gui.PlayerBox$Smooth;", depth)) } var $d_Lhypersubs_gui_PlayerBox$Smooth = new $TypeData().initClass({ Lhypersubs_gui_PlayerBox$Smooth: 0 }, false, "hypersubs.gui.PlayerBox$Smooth", { Lhypersubs_gui_PlayerBox$Smooth: 1, Lhypersubs_gui_PlayerBox$Transition: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_gui_PlayerBox$Smooth.prototype.$classData = $d_Lhypersubs_gui_PlayerBox$Smooth; /** @constructor */ function $c_Lhypersubs_hsubs_package$Bench$() { $c_Lhypersubs_hsubs_package$HypersubsArea.call(this) } $c_Lhypersubs_hsubs_package$Bench$.prototype = new $h_Lhypersubs_hsubs_package$HypersubsArea(); $c_Lhypersubs_hsubs_package$Bench$.prototype.constructor = $c_Lhypersubs_hsubs_package$Bench$; /** @constructor */ function $h_Lhypersubs_hsubs_package$Bench$() { /*<skip>*/ } $h_Lhypersubs_hsubs_package$Bench$.prototype = $c_Lhypersubs_hsubs_package$Bench$.prototype; $c_Lhypersubs_hsubs_package$Bench$.prototype.init___ = (function() { return this }); $c_Lhypersubs_hsubs_package$Bench$.prototype.productPrefix__T = (function() { return "Bench" }); $c_Lhypersubs_hsubs_package$Bench$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_hsubs_package$Bench$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_hsubs_package$Bench$.prototype.toString__T = (function() { return "Bench" }); $c_Lhypersubs_hsubs_package$Bench$.prototype.hashCode__I = (function() { return 64070160 }); $c_Lhypersubs_hsubs_package$Bench$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_hsubs_package$Bench$ = new $TypeData().initClass({ Lhypersubs_hsubs_package$Bench$: 0 }, false, "hypersubs.hsubs.package$Bench$", { Lhypersubs_hsubs_package$Bench$: 1, Lhypersubs_hsubs_package$HypersubsArea: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_hsubs_package$Bench$.prototype.$classData = $d_Lhypersubs_hsubs_package$Bench$; var $n_Lhypersubs_hsubs_package$Bench$ = (void 0); function $m_Lhypersubs_hsubs_package$Bench$() { if ((!$n_Lhypersubs_hsubs_package$Bench$)) { $n_Lhypersubs_hsubs_package$Bench$ = new $c_Lhypersubs_hsubs_package$Bench$().init___() }; return $n_Lhypersubs_hsubs_package$Bench$ } /** @constructor */ function $c_Lhypersubs_hsubs_package$Limbo$() { $c_Lhypersubs_hsubs_package$HypersubsArea.call(this) } $c_Lhypersubs_hsubs_package$Limbo$.prototype = new $h_Lhypersubs_hsubs_package$HypersubsArea(); $c_Lhypersubs_hsubs_package$Limbo$.prototype.constructor = $c_Lhypersubs_hsubs_package$Limbo$; /** @constructor */ function $h_Lhypersubs_hsubs_package$Limbo$() { /*<skip>*/ } $h_Lhypersubs_hsubs_package$Limbo$.prototype = $c_Lhypersubs_hsubs_package$Limbo$.prototype; $c_Lhypersubs_hsubs_package$Limbo$.prototype.init___ = (function() { return this }); $c_Lhypersubs_hsubs_package$Limbo$.prototype.productPrefix__T = (function() { return "Limbo" }); $c_Lhypersubs_hsubs_package$Limbo$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_hsubs_package$Limbo$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_hsubs_package$Limbo$.prototype.toString__T = (function() { return "Limbo" }); $c_Lhypersubs_hsubs_package$Limbo$.prototype.hashCode__I = (function() { return 73423549 }); $c_Lhypersubs_hsubs_package$Limbo$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_hsubs_package$Limbo$ = new $TypeData().initClass({ Lhypersubs_hsubs_package$Limbo$: 0 }, false, "hypersubs.hsubs.package$Limbo$", { Lhypersubs_hsubs_package$Limbo$: 1, Lhypersubs_hsubs_package$HypersubsArea: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_hsubs_package$Limbo$.prototype.$classData = $d_Lhypersubs_hsubs_package$Limbo$; var $n_Lhypersubs_hsubs_package$Limbo$ = (void 0); function $m_Lhypersubs_hsubs_package$Limbo$() { if ((!$n_Lhypersubs_hsubs_package$Limbo$)) { $n_Lhypersubs_hsubs_package$Limbo$ = new $c_Lhypersubs_hsubs_package$Limbo$().init___() }; return $n_Lhypersubs_hsubs_package$Limbo$ } /** @constructor */ function $c_Lhypersubs_hsubs_package$Team$() { $c_Lhypersubs_hsubs_package$HypersubsArea.call(this) } $c_Lhypersubs_hsubs_package$Team$.prototype = new $h_Lhypersubs_hsubs_package$HypersubsArea(); $c_Lhypersubs_hsubs_package$Team$.prototype.constructor = $c_Lhypersubs_hsubs_package$Team$; /** @constructor */ function $h_Lhypersubs_hsubs_package$Team$() { /*<skip>*/ } $h_Lhypersubs_hsubs_package$Team$.prototype = $c_Lhypersubs_hsubs_package$Team$.prototype; $c_Lhypersubs_hsubs_package$Team$.prototype.init___ = (function() { return this }); $c_Lhypersubs_hsubs_package$Team$.prototype.productPrefix__T = (function() { return "Team" }); $c_Lhypersubs_hsubs_package$Team$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_hsubs_package$Team$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_hsubs_package$Team$.prototype.toString__T = (function() { return "Team" }); $c_Lhypersubs_hsubs_package$Team$.prototype.hashCode__I = (function() { return 2602621 }); $c_Lhypersubs_hsubs_package$Team$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_hsubs_package$Team$ = new $TypeData().initClass({ Lhypersubs_hsubs_package$Team$: 0 }, false, "hypersubs.hsubs.package$Team$", { Lhypersubs_hsubs_package$Team$: 1, Lhypersubs_hsubs_package$HypersubsArea: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_hsubs_package$Team$.prototype.$classData = $d_Lhypersubs_hsubs_package$Team$; var $n_Lhypersubs_hsubs_package$Team$ = (void 0); function $m_Lhypersubs_hsubs_package$Team$() { if ((!$n_Lhypersubs_hsubs_package$Team$)) { $n_Lhypersubs_hsubs_package$Team$ = new $c_Lhypersubs_hsubs_package$Team$().init___() }; return $n_Lhypersubs_hsubs_package$Team$ } /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$() { $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.call(this) } $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype = new $h_Lhypersubs_page_MoreInfoTooltip$SubsUntil(); $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype = $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype; $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype.init___ = (function() { $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype.init___T.call(this, "NOT SET"); return this }); $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype.productPrefix__T = (function() { return "SubsNotSet" }); $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype.hashCode__I = (function() { return 170026178 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$ = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip$SubsNotSet$: 0 }, false, "hypersubs.page.MoreInfoTooltip$SubsNotSet$", { Lhypersubs_page_MoreInfoTooltip$SubsNotSet$: 1, Lhypersubs_page_MoreInfoTooltip$SubsUntil: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$; var $n_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$ = (void 0); function $m_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$() { if ((!$n_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$)) { $n_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$ = new $c_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$().init___() }; return $n_Lhypersubs_page_MoreInfoTooltip$SubsNotSet$ } /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil() { $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.call(this); this.textOnPage$2 = null } $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype = new $h_Lhypersubs_page_MoreInfoTooltip$SubsUntil(); $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype = $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype; $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype.productPrefix__T = (function() { return "SubsSetUntil" }); $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype.productArity__I = (function() { return 1 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil(x$1)) { var SubsSetUntil$1 = $as_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil(x$1); return (this.textOnPage$2 === SubsSetUntil$1.textOnPage$2) } else { return false } }); $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.textOnPage$2; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype.init___T = (function(textOnPage) { this.textOnPage$2 = textOnPage; $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype.init___T.call(this, $m_sjsr_RuntimeString$().replaceAll__T__T__T__T($m_sjsr_RuntimeString$().replaceAll__T__T__T__T(textOnPage, "Supersubs set until ", ""), "View", "")); return this }); $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lhypersubs_page_MoreInfoTooltip$SubsSetUntil))) } function $as_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil(obj) { return (($is_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "hypersubs.page.MoreInfoTooltip$SubsSetUntil")) } function $isArrayOf_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lhypersubs_page_MoreInfoTooltip$SubsSetUntil))) } function $asArrayOf_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil(obj, depth) { return (($isArrayOf_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lhypersubs.page.MoreInfoTooltip$SubsSetUntil;", depth)) } var $d_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip$SubsSetUntil: 0 }, false, "hypersubs.page.MoreInfoTooltip$SubsSetUntil", { Lhypersubs_page_MoreInfoTooltip$SubsSetUntil: 1, Lhypersubs_page_MoreInfoTooltip$SubsUntil: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip$SubsSetUntil; /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$() { $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.call(this) } $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype = new $h_Lhypersubs_page_MoreInfoTooltip$SubsUntil(); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype = $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype; $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype.init___ = (function() { $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype.init___T.call(this, "ERROR"); return this }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype.productPrefix__T = (function() { return "SubsStatusError" }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype.hashCode__I = (function() { return 1280458979 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$ = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip$SubsStatusError$: 0 }, false, "hypersubs.page.MoreInfoTooltip$SubsStatusError$", { Lhypersubs_page_MoreInfoTooltip$SubsStatusError$: 1, Lhypersubs_page_MoreInfoTooltip$SubsUntil: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$; var $n_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$ = (void 0); function $m_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$() { if ((!$n_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$)) { $n_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$ = new $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$().init___() }; return $n_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$ } /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$() { $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.call(this) } $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype = new $h_Lhypersubs_page_MoreInfoTooltip$SubsUntil(); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype = $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype; $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype.init___ = (function() { $c_Lhypersubs_page_MoreInfoTooltip$SubsUntil.prototype.init___T.call(this, "N/A"); return this }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype.productPrefix__T = (function() { return "SubsStatusNA" }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype.hashCode__I = (function() { return (-59931496) }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$ = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$: 0 }, false, "hypersubs.page.MoreInfoTooltip$SubsStatusNA$", { Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$: 1, Lhypersubs_page_MoreInfoTooltip$SubsUntil: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$; var $n_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$ = (void 0); function $m_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$() { if ((!$n_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$)) { $n_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$ = new $c_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$().init___() }; return $n_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$ } /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$() { $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.call(this) } $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype = new $h_Lhypersubs_page_MoreInfoTooltip$TeamInfo(); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype = $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype; $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype.init___ = (function() { $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype.init___T__T__T__T__T__T__Lhypersubs_page_MoreInfoTooltip$SubsUntil.call(this, "ERROR", "0", "0", "0", "0", "", $m_Lhypersubs_page_MoreInfoTooltip$SubsStatusError$()); return this }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype.productPrefix__T = (function() { return "TeamInfoError" }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype.toString__T = (function() { return "TeamInfoError" }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype.hashCode__I = (function() { return 2037227517 }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$ = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip$TeamInfoError$: 0 }, false, "hypersubs.page.MoreInfoTooltip$TeamInfoError$", { Lhypersubs_page_MoreInfoTooltip$TeamInfoError$: 1, Lhypersubs_page_MoreInfoTooltip$TeamInfo: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$; var $n_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$ = (void 0); function $m_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$() { if ((!$n_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$)) { $n_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$ = new $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$().init___() }; return $n_Lhypersubs_page_MoreInfoTooltip$TeamInfoError$ } /** @constructor */ function $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$() { $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.call(this) } $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype = new $h_Lhypersubs_page_MoreInfoTooltip$TeamInfo(); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype.constructor = $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$; /** @constructor */ function $h_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$() { /*<skip>*/ } $h_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype = $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype; $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype.init___ = (function() { $c_Lhypersubs_page_MoreInfoTooltip$TeamInfo.prototype.init___T__T__T__T__T__T__Lhypersubs_page_MoreInfoTooltip$SubsUntil.call(this, "N/A", "0", "0", "0", "0", "N/A", $m_Lhypersubs_page_MoreInfoTooltip$SubsStatusNA$()); return this }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype.productPrefix__T = (function() { return "TeamInfoNA" }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype.productArity__I = (function() { return 0 }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype.toString__T = (function() { return "TeamInfoNA" }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype.hashCode__I = (function() { return 205654974 }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$ = new $TypeData().initClass({ Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$: 0 }, false, "hypersubs.page.MoreInfoTooltip$TeamInfoNA$", { Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$: 1, Lhypersubs_page_MoreInfoTooltip$TeamInfo: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$.prototype.$classData = $d_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$; var $n_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$ = (void 0); function $m_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$() { if ((!$n_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$)) { $n_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$ = new $c_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$().init___() }; return $n_Lhypersubs_page_MoreInfoTooltip$TeamInfoNA$ } /** @constructor */ function $c_Ljava_io_PrintStream() { $c_Ljava_io_FilterOutputStream.call(this); this.java$io$PrintStream$$autoFlush$f = false; this.charset$3 = null; this.java$io$PrintStream$$encoder$3 = null; this.java$io$PrintStream$$closing$3 = false; this.java$io$PrintStream$$closed$3 = false; this.errorFlag$3 = false; this.bitmap$0$3 = false } $c_Ljava_io_PrintStream.prototype = new $h_Ljava_io_FilterOutputStream(); $c_Ljava_io_PrintStream.prototype.constructor = $c_Ljava_io_PrintStream; /** @constructor */ function $h_Ljava_io_PrintStream() { /*<skip>*/ } $h_Ljava_io_PrintStream.prototype = $c_Ljava_io_PrintStream.prototype; $c_Ljava_io_PrintStream.prototype.init___Ljava_io_OutputStream__Z__Ljava_nio_charset_Charset = (function(_out, autoFlush, charset) { this.java$io$PrintStream$$autoFlush$f = autoFlush; this.charset$3 = charset; $c_Ljava_io_FilterOutputStream.prototype.init___Ljava_io_OutputStream.call(this, _out); this.java$io$PrintStream$$closing$3 = false; this.java$io$PrintStream$$closed$3 = false; this.errorFlag$3 = false; return this }); $c_Ljava_io_PrintStream.prototype.println__T__V = (function(s) { this.print__T__V(s); this.java$lang$JSConsoleBasedPrintStream$$printString__T__V("\n") }); function $is_Ljava_io_PrintStream(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Ljava_io_PrintStream))) } function $as_Ljava_io_PrintStream(obj) { return (($is_Ljava_io_PrintStream(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.io.PrintStream")) } function $isArrayOf_Ljava_io_PrintStream(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Ljava_io_PrintStream))) } function $asArrayOf_Ljava_io_PrintStream(obj, depth) { return (($isArrayOf_Ljava_io_PrintStream(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.io.PrintStream;", depth)) } /** @constructor */ function $c_T2() { $c_O.call(this); this.$$und1$f = null; this.$$und2$f = null } $c_T2.prototype = new $h_O(); $c_T2.prototype.constructor = $c_T2; /** @constructor */ function $h_T2() { /*<skip>*/ } $h_T2.prototype = $c_T2.prototype; $c_T2.prototype.productPrefix__T = (function() { return "Tuple2" }); $c_T2.prototype.productArity__I = (function() { return 2 }); $c_T2.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_T2(x$1)) { var Tuple2$1 = $as_T2(x$1); return ($m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und1__O(), Tuple2$1.$$und1__O()) && $m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und2__O(), Tuple2$1.$$und2__O())) } else { return false } }); $c_T2.prototype.productElement__I__O = (function(n) { return $s_s_Product2$class__productElement__s_Product2__I__O(this, n) }); $c_T2.prototype.init___O__O = (function(_1, _2) { this.$$und1$f = _1; this.$$und2$f = _2; return this }); $c_T2.prototype.toString__T = (function() { return (((("(" + this.$$und1__O()) + ",") + this.$$und2__O()) + ")") }); $c_T2.prototype.$$und2__O = (function() { return this.$$und2$f }); $c_T2.prototype.$$und2$mcI$sp__I = (function() { return $uI(this.$$und2__O()) }); $c_T2.prototype.$$und2$mcZ$sp__Z = (function() { return $uZ(this.$$und2__O()) }); $c_T2.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_T2.prototype.$$und1__O = (function() { return this.$$und1$f }); $c_T2.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_T2(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.T2))) } function $as_T2(obj) { return (($is_T2(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.Tuple2")) } function $isArrayOf_T2(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.T2))) } function $asArrayOf_T2(obj, depth) { return (($isArrayOf_T2(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.Tuple2;", depth)) } var $d_T2 = new $TypeData().initClass({ T2: 0 }, false, "scala.Tuple2", { T2: 1, O: 1, s_Product2: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_T2.prototype.$classData = $d_T2; /** @constructor */ function $c_T3() { $c_O.call(this); this.$$und1$1 = null; this.$$und2$1 = null; this.$$und3$1 = null } $c_T3.prototype = new $h_O(); $c_T3.prototype.constructor = $c_T3; /** @constructor */ function $h_T3() { /*<skip>*/ } $h_T3.prototype = $c_T3.prototype; $c_T3.prototype.productPrefix__T = (function() { return "Tuple3" }); $c_T3.prototype.productArity__I = (function() { return 3 }); $c_T3.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_T3(x$1)) { var Tuple3$1 = $as_T3(x$1); return (($m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und1$1, Tuple3$1.$$und1$1) && $m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und2$1, Tuple3$1.$$und2$1)) && $m_sr_BoxesRunTime$().equals__O__O__Z(this.$$und3$1, Tuple3$1.$$und3$1)) } else { return false } }); $c_T3.prototype.productElement__I__O = (function(n) { return $s_s_Product3$class__productElement__s_Product3__I__O(this, n) }); $c_T3.prototype.toString__T = (function() { return (((((("(" + this.$$und1$1) + ",") + this.$$und2$1) + ",") + this.$$und3$1) + ")") }); $c_T3.prototype.init___O__O__O = (function(_1, _2, _3) { this.$$und1$1 = _1; this.$$und2$1 = _2; this.$$und3$1 = _3; return this }); $c_T3.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_T3.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_T3(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.T3))) } function $as_T3(obj) { return (($is_T3(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.Tuple3")) } function $isArrayOf_T3(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.T3))) } function $asArrayOf_T3(obj, depth) { return (($isArrayOf_T3(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.Tuple3;", depth)) } var $d_T3 = new $TypeData().initClass({ T3: 0 }, false, "scala.Tuple3", { T3: 1, O: 1, s_Product3: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_T3.prototype.$classData = $d_T3; /** @constructor */ function $c_jl_NumberFormatException() { $c_jl_IllegalArgumentException.call(this) } $c_jl_NumberFormatException.prototype = new $h_jl_IllegalArgumentException(); $c_jl_NumberFormatException.prototype.constructor = $c_jl_NumberFormatException; /** @constructor */ function $h_jl_NumberFormatException() { /*<skip>*/ } $h_jl_NumberFormatException.prototype = $c_jl_NumberFormatException.prototype; $c_jl_NumberFormatException.prototype.init___T = (function(s) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_jl_NumberFormatException = new $TypeData().initClass({ jl_NumberFormatException: 0 }, false, "java.lang.NumberFormatException", { jl_NumberFormatException: 1, jl_IllegalArgumentException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_jl_NumberFormatException.prototype.$classData = $d_jl_NumberFormatException; /** @constructor */ function $c_s_None$() { $c_s_Option.call(this) } $c_s_None$.prototype = new $h_s_Option(); $c_s_None$.prototype.constructor = $c_s_None$; /** @constructor */ function $h_s_None$() { /*<skip>*/ } $h_s_None$.prototype = $c_s_None$.prototype; $c_s_None$.prototype.init___ = (function() { return this }); $c_s_None$.prototype.productPrefix__T = (function() { return "None" }); $c_s_None$.prototype.productArity__I = (function() { return 0 }); $c_s_None$.prototype.isEmpty__Z = (function() { return true }); $c_s_None$.prototype.get__O = (function() { this.get__sr_Nothing$() }); $c_s_None$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_s_None$.prototype.toString__T = (function() { return "None" }); $c_s_None$.prototype.get__sr_Nothing$ = (function() { throw new $c_ju_NoSuchElementException().init___T("None.get") }); $c_s_None$.prototype.hashCode__I = (function() { return 2433880 }); $c_s_None$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_s_None$ = new $TypeData().initClass({ s_None$: 0 }, false, "scala.None$", { s_None$: 1, s_Option: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_None$.prototype.$classData = $d_s_None$; var $n_s_None$ = (void 0); function $m_s_None$() { if ((!$n_s_None$)) { $n_s_None$ = new $c_s_None$().init___() }; return $n_s_None$ } /** @constructor */ function $c_s_PartialFunction$$anonfun$4() { $c_sr_AbstractPartialFunction.call(this) } $c_s_PartialFunction$$anonfun$4.prototype = new $h_sr_AbstractPartialFunction(); $c_s_PartialFunction$$anonfun$4.prototype.constructor = $c_s_PartialFunction$$anonfun$4; /** @constructor */ function $h_s_PartialFunction$$anonfun$4() { /*<skip>*/ } $h_s_PartialFunction$$anonfun$4.prototype = $c_s_PartialFunction$$anonfun$4.prototype; $c_s_PartialFunction$$anonfun$4.prototype.init___ = (function() { return this }); $c_s_PartialFunction$$anonfun$4.prototype.isDefinedAt__O__Z = (function(x1) { return true }); $c_s_PartialFunction$$anonfun$4.prototype.applyOrElse__O__F1__O = (function(x1, $default) { return $m_s_PartialFunction$().scala$PartialFunction$$fallback$undpf$f }); var $d_s_PartialFunction$$anonfun$4 = new $TypeData().initClass({ s_PartialFunction$$anonfun$4: 0 }, false, "scala.PartialFunction$$anonfun$4", { s_PartialFunction$$anonfun$4: 1, sr_AbstractPartialFunction: 1, O: 1, F1: 1, s_PartialFunction: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_PartialFunction$$anonfun$4.prototype.$classData = $d_s_PartialFunction$$anonfun$4; /** @constructor */ function $c_s_Some() { $c_s_Option.call(this); this.x$2 = null } $c_s_Some.prototype = new $h_s_Option(); $c_s_Some.prototype.constructor = $c_s_Some; /** @constructor */ function $h_s_Some() { /*<skip>*/ } $h_s_Some.prototype = $c_s_Some.prototype; $c_s_Some.prototype.productPrefix__T = (function() { return "Some" }); $c_s_Some.prototype.productArity__I = (function() { return 1 }); $c_s_Some.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_s_Some(x$1)) { var Some$1 = $as_s_Some(x$1); return $m_sr_BoxesRunTime$().equals__O__O__Z(this.x$2, Some$1.x$2) } else { return false } }); $c_s_Some.prototype.isEmpty__Z = (function() { return false }); $c_s_Some.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.x$2; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_s_Some.prototype.get__O = (function() { return this.x$2 }); $c_s_Some.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_s_Some.prototype.init___O = (function(x) { this.x$2 = x; return this }); $c_s_Some.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_s_Some.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_s_Some(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.s_Some))) } function $as_s_Some(obj) { return (($is_s_Some(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.Some")) } function $isArrayOf_s_Some(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.s_Some))) } function $asArrayOf_s_Some(obj, depth) { return (($isArrayOf_s_Some(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.Some;", depth)) } var $d_s_Some = new $TypeData().initClass({ s_Some: 0 }, false, "scala.Some", { s_Some: 1, s_Option: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_Some.prototype.$classData = $d_s_Some; /** @constructor */ function $c_s_StringContext$InvalidEscapeException() { $c_jl_IllegalArgumentException.call(this); this.index$5 = 0 } $c_s_StringContext$InvalidEscapeException.prototype = new $h_jl_IllegalArgumentException(); $c_s_StringContext$InvalidEscapeException.prototype.constructor = $c_s_StringContext$InvalidEscapeException; /** @constructor */ function $h_s_StringContext$InvalidEscapeException() { /*<skip>*/ } $h_s_StringContext$InvalidEscapeException.prototype = $c_s_StringContext$InvalidEscapeException.prototype; $c_s_StringContext$InvalidEscapeException.prototype.init___T__I = (function(str, index) { this.index$5 = index; var jsx$3 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["invalid escape ", " index ", " in \"", "\". Use \\\\\\\\ for literal \\\\."])); $m_s_Predef$().require__Z__V(((index >= 0) && (index < $uI(str.length)))); if ((index === (((-1) + $uI(str.length)) | 0))) { var jsx$1 = "at terminal" } else { var jsx$2 = new $c_s_StringContext().init___sc_Seq(new $c_sjs_js_WrappedArray().init___sjs_js_Array(["'\\\\", "' not one of ", " at"])); var index$1 = ((1 + index) | 0); var c = (65535 & $uI(str.charCodeAt(index$1))); var jsx$1 = jsx$2.s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_jl_Character().init___C(c), "[\\b, \\t, \\n, \\f, \\r, \\\\, \\\", \\']"])) }; var s = jsx$3.s__sc_Seq__T(new $c_sjs_js_WrappedArray().init___sjs_js_Array([jsx$1, index, str])); $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, s, null); return this }); var $d_s_StringContext$InvalidEscapeException = new $TypeData().initClass({ s_StringContext$InvalidEscapeException: 0 }, false, "scala.StringContext$InvalidEscapeException", { s_StringContext$InvalidEscapeException: 1, jl_IllegalArgumentException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1 }); $c_s_StringContext$InvalidEscapeException.prototype.$classData = $d_s_StringContext$InvalidEscapeException; /** @constructor */ function $c_s_util_Failure() { $c_s_util_Try.call(this); this.exception$2 = null } $c_s_util_Failure.prototype = new $h_s_util_Try(); $c_s_util_Failure.prototype.constructor = $c_s_util_Failure; /** @constructor */ function $h_s_util_Failure() { /*<skip>*/ } $h_s_util_Failure.prototype = $c_s_util_Failure.prototype; $c_s_util_Failure.prototype.productPrefix__T = (function() { return "Failure" }); $c_s_util_Failure.prototype.productArity__I = (function() { return 1 }); $c_s_util_Failure.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_s_util_Failure(x$1)) { var Failure$1 = $as_s_util_Failure(x$1); var x = this.exception$2; var x$2 = Failure$1.exception$2; return ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2)) } else { return false } }); $c_s_util_Failure.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.exception$2; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_s_util_Failure.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_s_util_Failure.prototype.init___jl_Throwable = (function(exception) { this.exception$2 = exception; return this }); $c_s_util_Failure.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_s_util_Failure.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_s_util_Failure(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.s_util_Failure))) } function $as_s_util_Failure(obj) { return (($is_s_util_Failure(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.util.Failure")) } function $isArrayOf_s_util_Failure(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.s_util_Failure))) } function $asArrayOf_s_util_Failure(obj, depth) { return (($isArrayOf_s_util_Failure(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.util.Failure;", depth)) } var $d_s_util_Failure = new $TypeData().initClass({ s_util_Failure: 0 }, false, "scala.util.Failure", { s_util_Failure: 1, s_util_Try: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_util_Failure.prototype.$classData = $d_s_util_Failure; /** @constructor */ function $c_s_util_Success() { $c_s_util_Try.call(this); this.value$2 = null } $c_s_util_Success.prototype = new $h_s_util_Try(); $c_s_util_Success.prototype.constructor = $c_s_util_Success; /** @constructor */ function $h_s_util_Success() { /*<skip>*/ } $h_s_util_Success.prototype = $c_s_util_Success.prototype; $c_s_util_Success.prototype.productPrefix__T = (function() { return "Success" }); $c_s_util_Success.prototype.productArity__I = (function() { return 1 }); $c_s_util_Success.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_s_util_Success(x$1)) { var Success$1 = $as_s_util_Success(x$1); return $m_sr_BoxesRunTime$().equals__O__O__Z(this.value$2, Success$1.value$2) } else { return false } }); $c_s_util_Success.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.value$2; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_s_util_Success.prototype.toString__T = (function() { return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this) }); $c_s_util_Success.prototype.init___O = (function(value) { this.value$2 = value; return this }); $c_s_util_Success.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_s_util_Success.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_s_util_Success(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.s_util_Success))) } function $as_s_util_Success(obj) { return (($is_s_util_Success(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.util.Success")) } function $isArrayOf_s_util_Success(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.s_util_Success))) } function $asArrayOf_s_util_Success(obj, depth) { return (($isArrayOf_s_util_Success(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.util.Success;", depth)) } var $d_s_util_Success = new $TypeData().initClass({ s_util_Success: 0 }, false, "scala.util.Success", { s_util_Success: 1, s_util_Try: 1, O: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_util_Success.prototype.$classData = $d_s_util_Success; function $is_sc_TraversableLike(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_TraversableLike))) } function $as_sc_TraversableLike(obj) { return (($is_sc_TraversableLike(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.TraversableLike")) } function $isArrayOf_sc_TraversableLike(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_TraversableLike))) } function $asArrayOf_sc_TraversableLike(obj, depth) { return (($isArrayOf_sc_TraversableLike(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.TraversableLike;", depth)) } /** @constructor */ function $c_scg_SeqFactory() { $c_scg_GenSeqFactory.call(this) } $c_scg_SeqFactory.prototype = new $h_scg_GenSeqFactory(); $c_scg_SeqFactory.prototype.constructor = $c_scg_SeqFactory; /** @constructor */ function $h_scg_SeqFactory() { /*<skip>*/ } $h_scg_SeqFactory.prototype = $c_scg_SeqFactory.prototype; /** @constructor */ function $c_sci_HashMap$HashTrieMap$$anon$1() { $c_sci_TrieIterator.call(this) } $c_sci_HashMap$HashTrieMap$$anon$1.prototype = new $h_sci_TrieIterator(); $c_sci_HashMap$HashTrieMap$$anon$1.prototype.constructor = $c_sci_HashMap$HashTrieMap$$anon$1; /** @constructor */ function $h_sci_HashMap$HashTrieMap$$anon$1() { /*<skip>*/ } $h_sci_HashMap$HashTrieMap$$anon$1.prototype = $c_sci_HashMap$HashTrieMap$$anon$1.prototype; $c_sci_HashMap$HashTrieMap$$anon$1.prototype.init___sci_HashMap$HashTrieMap = (function($$outer) { $c_sci_TrieIterator.prototype.init___Asci_Iterable.call(this, $$outer.elems$6); return this }); $c_sci_HashMap$HashTrieMap$$anon$1.prototype.getElem__O__O = (function(x) { return $as_sci_HashMap$HashMap1(x).ensurePair__T2() }); var $d_sci_HashMap$HashTrieMap$$anon$1 = new $TypeData().initClass({ sci_HashMap$HashTrieMap$$anon$1: 0 }, false, "scala.collection.immutable.HashMap$HashTrieMap$$anon$1", { sci_HashMap$HashTrieMap$$anon$1: 1, sci_TrieIterator: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sci_HashMap$HashTrieMap$$anon$1.prototype.$classData = $d_sci_HashMap$HashTrieMap$$anon$1; /** @constructor */ function $c_sci_HashSet$HashTrieSet$$anon$1() { $c_sci_TrieIterator.call(this) } $c_sci_HashSet$HashTrieSet$$anon$1.prototype = new $h_sci_TrieIterator(); $c_sci_HashSet$HashTrieSet$$anon$1.prototype.constructor = $c_sci_HashSet$HashTrieSet$$anon$1; /** @constructor */ function $h_sci_HashSet$HashTrieSet$$anon$1() { /*<skip>*/ } $h_sci_HashSet$HashTrieSet$$anon$1.prototype = $c_sci_HashSet$HashTrieSet$$anon$1.prototype; $c_sci_HashSet$HashTrieSet$$anon$1.prototype.init___sci_HashSet$HashTrieSet = (function($$outer) { $c_sci_TrieIterator.prototype.init___Asci_Iterable.call(this, $$outer.elems$5); return this }); $c_sci_HashSet$HashTrieSet$$anon$1.prototype.getElem__O__O = (function(cc) { return $as_sci_HashSet$HashSet1(cc).key$6 }); var $d_sci_HashSet$HashTrieSet$$anon$1 = new $TypeData().initClass({ sci_HashSet$HashTrieSet$$anon$1: 0 }, false, "scala.collection.immutable.HashSet$HashTrieSet$$anon$1", { sci_HashSet$HashTrieSet$$anon$1: 1, sci_TrieIterator: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1 }); $c_sci_HashSet$HashTrieSet$$anon$1.prototype.$classData = $d_sci_HashSet$HashTrieSet$$anon$1; /** @constructor */ function $c_sci_Set$() { $c_scg_ImmutableSetFactory.call(this) } $c_sci_Set$.prototype = new $h_scg_ImmutableSetFactory(); $c_sci_Set$.prototype.constructor = $c_sci_Set$; /** @constructor */ function $h_sci_Set$() { /*<skip>*/ } $h_sci_Set$.prototype = $c_sci_Set$.prototype; $c_sci_Set$.prototype.init___ = (function() { return this }); $c_sci_Set$.prototype.emptyInstance__sci_Set = (function() { return $m_sci_Set$EmptySet$() }); var $d_sci_Set$ = new $TypeData().initClass({ sci_Set$: 0 }, false, "scala.collection.immutable.Set$", { sci_Set$: 1, scg_ImmutableSetFactory: 1, scg_SetFactory: 1, scg_GenSetFactory: 1, scg_GenericCompanion: 1, O: 1, scg_GenericSeqCompanion: 1 }); $c_sci_Set$.prototype.$classData = $d_sci_Set$; var $n_sci_Set$ = (void 0); function $m_sci_Set$() { if ((!$n_sci_Set$)) { $n_sci_Set$ = new $c_sci_Set$().init___() }; return $n_sci_Set$ } /** @constructor */ function $c_sci_VectorIterator() { $c_sc_AbstractIterator.call(this); this.endIndex$2 = 0; this.blockIndex$2 = 0; this.lo$2 = 0; this.endLo$2 = 0; this.$$undhasNext$2 = false; this.depth$2 = 0; this.display0$2 = null; this.display1$2 = null; this.display2$2 = null; this.display3$2 = null; this.display4$2 = null; this.display5$2 = null } $c_sci_VectorIterator.prototype = new $h_sc_AbstractIterator(); $c_sci_VectorIterator.prototype.constructor = $c_sci_VectorIterator; /** @constructor */ function $h_sci_VectorIterator() { /*<skip>*/ } $h_sci_VectorIterator.prototype = $c_sci_VectorIterator.prototype; $c_sci_VectorIterator.prototype.next__O = (function() { if ((!this.$$undhasNext$2)) { throw new $c_ju_NoSuchElementException().init___T("reached iterator end") }; var res = this.display0$2.u[this.lo$2]; this.lo$2 = ((1 + this.lo$2) | 0); if ((this.lo$2 === this.endLo$2)) { if ((((this.blockIndex$2 + this.lo$2) | 0) < this.endIndex$2)) { var newBlockIndex = ((32 + this.blockIndex$2) | 0); var xor = (this.blockIndex$2 ^ newBlockIndex); $s_sci_VectorPointer$class__gotoNextBlockStart__sci_VectorPointer__I__I__V(this, newBlockIndex, xor); this.blockIndex$2 = newBlockIndex; var x = ((this.endIndex$2 - this.blockIndex$2) | 0); this.endLo$2 = ((x < 32) ? x : 32); this.lo$2 = 0 } else { this.$$undhasNext$2 = false } }; return res }); $c_sci_VectorIterator.prototype.display3__AO = (function() { return this.display3$2 }); $c_sci_VectorIterator.prototype.depth__I = (function() { return this.depth$2 }); $c_sci_VectorIterator.prototype.display5$und$eq__AO__V = (function(x$1) { this.display5$2 = x$1 }); $c_sci_VectorIterator.prototype.init___I__I = (function(_startIndex, endIndex) { this.endIndex$2 = endIndex; this.blockIndex$2 = ((-32) & _startIndex); this.lo$2 = (31 & _startIndex); var x = ((endIndex - this.blockIndex$2) | 0); this.endLo$2 = ((x < 32) ? x : 32); this.$$undhasNext$2 = (((this.blockIndex$2 + this.lo$2) | 0) < endIndex); return this }); $c_sci_VectorIterator.prototype.display0__AO = (function() { return this.display0$2 }); $c_sci_VectorIterator.prototype.display4__AO = (function() { return this.display4$2 }); $c_sci_VectorIterator.prototype.display2$und$eq__AO__V = (function(x$1) { this.display2$2 = x$1 }); $c_sci_VectorIterator.prototype.display1$und$eq__AO__V = (function(x$1) { this.display1$2 = x$1 }); $c_sci_VectorIterator.prototype.hasNext__Z = (function() { return this.$$undhasNext$2 }); $c_sci_VectorIterator.prototype.display4$und$eq__AO__V = (function(x$1) { this.display4$2 = x$1 }); $c_sci_VectorIterator.prototype.display1__AO = (function() { return this.display1$2 }); $c_sci_VectorIterator.prototype.display5__AO = (function() { return this.display5$2 }); $c_sci_VectorIterator.prototype.depth$und$eq__I__V = (function(x$1) { this.depth$2 = x$1 }); $c_sci_VectorIterator.prototype.display2__AO = (function() { return this.display2$2 }); $c_sci_VectorIterator.prototype.display0$und$eq__AO__V = (function(x$1) { this.display0$2 = x$1 }); $c_sci_VectorIterator.prototype.display3$und$eq__AO__V = (function(x$1) { this.display3$2 = x$1 }); var $d_sci_VectorIterator = new $TypeData().initClass({ sci_VectorIterator: 0 }, false, "scala.collection.immutable.VectorIterator", { sci_VectorIterator: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sci_VectorPointer: 1 }); $c_sci_VectorIterator.prototype.$classData = $d_sci_VectorIterator; /** @constructor */ function $c_scm_ArrayBuilder() { $c_O.call(this) } $c_scm_ArrayBuilder.prototype = new $h_O(); $c_scm_ArrayBuilder.prototype.constructor = $c_scm_ArrayBuilder; /** @constructor */ function $h_scm_ArrayBuilder() { /*<skip>*/ } $h_scm_ArrayBuilder.prototype = $c_scm_ArrayBuilder.prototype; $c_scm_ArrayBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); /** @constructor */ function $c_sjsr_UndefinedBehaviorError() { $c_jl_Error.call(this) } $c_sjsr_UndefinedBehaviorError.prototype = new $h_jl_Error(); $c_sjsr_UndefinedBehaviorError.prototype.constructor = $c_sjsr_UndefinedBehaviorError; /** @constructor */ function $h_sjsr_UndefinedBehaviorError() { /*<skip>*/ } $h_sjsr_UndefinedBehaviorError.prototype = $c_sjsr_UndefinedBehaviorError.prototype; $c_sjsr_UndefinedBehaviorError.prototype.fillInStackTrace__jl_Throwable = (function() { return $c_jl_Throwable.prototype.fillInStackTrace__jl_Throwable.call(this) }); $c_sjsr_UndefinedBehaviorError.prototype.init___jl_Throwable = (function(cause) { $c_sjsr_UndefinedBehaviorError.prototype.init___T__jl_Throwable.call(this, ("An undefined behavior was detected" + ((cause === null) ? "" : (": " + cause.getMessage__T()))), cause); return this }); $c_sjsr_UndefinedBehaviorError.prototype.init___T__jl_Throwable = (function(message, cause) { $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, message, cause); return this }); var $d_sjsr_UndefinedBehaviorError = new $TypeData().initClass({ sjsr_UndefinedBehaviorError: 0 }, false, "scala.scalajs.runtime.UndefinedBehaviorError", { sjsr_UndefinedBehaviorError: 1, jl_Error: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1, s_util_control_ControlThrowable: 1, s_util_control_NoStackTrace: 1 }); $c_sjsr_UndefinedBehaviorError.prototype.$classData = $d_sjsr_UndefinedBehaviorError; /** @constructor */ function $c_Lhypersubs_Player$$anon$1() { $c_O.call(this) } $c_Lhypersubs_Player$$anon$1.prototype = new $h_O(); $c_Lhypersubs_Player$$anon$1.prototype.constructor = $c_Lhypersubs_Player$$anon$1; /** @constructor */ function $h_Lhypersubs_Player$$anon$1() { /*<skip>*/ } $h_Lhypersubs_Player$$anon$1.prototype = $c_Lhypersubs_Player$$anon$1.prototype; $c_Lhypersubs_Player$$anon$1.prototype.init___ = (function() { return this }); $c_Lhypersubs_Player$$anon$1.prototype.reverse__s_math_Ordering = (function() { return new $c_s_math_Ordering$$anon$4().init___s_math_Ordering(this) }); $c_Lhypersubs_Player$$anon$1.prototype.gteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_Lhypersubs_Player$$anon$1.prototype.compare__O__O__I = (function(x, y) { return this.compare__Lhypersubs_Player__Lhypersubs_Player__I($as_Lhypersubs_Player(x), $as_Lhypersubs_Player(y)) }); $c_Lhypersubs_Player$$anon$1.prototype.lteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_Lhypersubs_Player$$anon$1.prototype.compare__Lhypersubs_Player__Lhypersubs_Player__I = (function(me, you) { var this$1 = $m_Lhypersubs_Player$().hypersubs$Player$$AvoidDanger__s_math_Ordering(); var dangerDiffers = (!$s_s_math_Ordering$class__equiv__s_math_Ordering__O__O__Z(this$1, me, you)); var bothSafe = (me.isSafe__Z() && you.isSafe__Z()); if (dangerDiffers) { var ordering = $m_Lhypersubs_Player$().hypersubs$Player$$AvoidDanger__s_math_Ordering() } else if (bothSafe) { var ordering = $m_Lhypersubs_Player$().hypersubs$Player$$PrioritizePlayingAssumeSafe__s_math_Ordering() } else { var this$2 = $m_Lhypersubs_Player$(); var ordering = this$2.hypersubs$Player$$PrioritizePlayingAssumeSafe__s_math_Ordering().reverse__s_math_Ordering() }; return ordering.compare__O__O__I(me, you) }); var $d_Lhypersubs_Player$$anon$1 = new $TypeData().initClass({ Lhypersubs_Player$$anon$1: 0 }, false, "hypersubs.Player$$anon$1", { Lhypersubs_Player$$anon$1: 1, O: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_Lhypersubs_Player$$anon$1.prototype.$classData = $d_Lhypersubs_Player$$anon$1; /** @constructor */ function $c_jl_JSConsoleBasedPrintStream() { $c_Ljava_io_PrintStream.call(this); this.isErr$4 = null; this.flushed$4 = false; this.buffer$4 = null } $c_jl_JSConsoleBasedPrintStream.prototype = new $h_Ljava_io_PrintStream(); $c_jl_JSConsoleBasedPrintStream.prototype.constructor = $c_jl_JSConsoleBasedPrintStream; /** @constructor */ function $h_jl_JSConsoleBasedPrintStream() { /*<skip>*/ } $h_jl_JSConsoleBasedPrintStream.prototype = $c_jl_JSConsoleBasedPrintStream.prototype; $c_jl_JSConsoleBasedPrintStream.prototype.init___jl_Boolean = (function(isErr) { this.isErr$4 = isErr; var out = new $c_jl_JSConsoleBasedPrintStream$DummyOutputStream().init___(); $c_Ljava_io_PrintStream.prototype.init___Ljava_io_OutputStream__Z__Ljava_nio_charset_Charset.call(this, out, false, null); this.flushed$4 = true; this.buffer$4 = ""; return this }); $c_jl_JSConsoleBasedPrintStream.prototype.print__T__V = (function(s) { this.java$lang$JSConsoleBasedPrintStream$$printString__T__V(((s === null) ? "null" : s)) }); $c_jl_JSConsoleBasedPrintStream.prototype.java$lang$JSConsoleBasedPrintStream$$printString__T__V = (function(s) { var rest = s; while ((rest !== "")) { var thiz = rest; var nlPos = $uI(thiz.indexOf("\n")); if ((nlPos < 0)) { this.buffer$4 = (("" + this.buffer$4) + rest); this.flushed$4 = false; rest = "" } else { var jsx$1 = this.buffer$4; var thiz$1 = rest; this.doWriteLine__p4__T__V((("" + jsx$1) + $as_T(thiz$1.substring(0, nlPos)))); this.buffer$4 = ""; this.flushed$4 = true; var thiz$2 = rest; var beginIndex = ((1 + nlPos) | 0); rest = $as_T(thiz$2.substring(beginIndex)) } } }); $c_jl_JSConsoleBasedPrintStream.prototype.doWriteLine__p4__T__V = (function(line) { var x = $g.console; if ($uZ((!(!x)))) { var x$1 = this.isErr$4; if ($uZ(x$1)) { var x$2 = $g.console.error; var jsx$1 = $uZ((!(!x$2))) } else { var jsx$1 = false }; if (jsx$1) { $g.console.error(line) } else { $g.console.log(line) } } }); var $d_jl_JSConsoleBasedPrintStream = new $TypeData().initClass({ jl_JSConsoleBasedPrintStream: 0 }, false, "java.lang.JSConsoleBasedPrintStream", { jl_JSConsoleBasedPrintStream: 1, Ljava_io_PrintStream: 1, Ljava_io_FilterOutputStream: 1, Ljava_io_OutputStream: 1, O: 1, Ljava_io_Closeable: 1, Ljava_io_Flushable: 1, jl_Appendable: 1 }); $c_jl_JSConsoleBasedPrintStream.prototype.$classData = $d_jl_JSConsoleBasedPrintStream; /** @constructor */ function $c_ju_Arrays$$anon$3() { $c_O.call(this); this.cmp$1$1 = null } $c_ju_Arrays$$anon$3.prototype = new $h_O(); $c_ju_Arrays$$anon$3.prototype.constructor = $c_ju_Arrays$$anon$3; /** @constructor */ function $h_ju_Arrays$$anon$3() { /*<skip>*/ } $h_ju_Arrays$$anon$3.prototype = $c_ju_Arrays$$anon$3.prototype; $c_ju_Arrays$$anon$3.prototype.reverse__s_math_Ordering = (function() { return new $c_s_math_Ordering$$anon$4().init___s_math_Ordering(this) }); $c_ju_Arrays$$anon$3.prototype.init___ju_Comparator = (function(cmp$1) { this.cmp$1$1 = cmp$1; return this }); $c_ju_Arrays$$anon$3.prototype.gteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_ju_Arrays$$anon$3.prototype.compare__O__O__I = (function(x, y) { return this.cmp$1$1.compare__O__O__I(x, y) }); $c_ju_Arrays$$anon$3.prototype.lteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z(this, x, y) }); var $d_ju_Arrays$$anon$3 = new $TypeData().initClass({ ju_Arrays$$anon$3: 0 }, false, "java.util.Arrays$$anon$3", { ju_Arrays$$anon$3: 1, O: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_ju_Arrays$$anon$3.prototype.$classData = $d_ju_Arrays$$anon$3; /** @constructor */ function $c_s_math_LowPriorityOrderingImplicits$$anon$6() { $c_O.call(this); this.evidence$1$1$1 = null } $c_s_math_LowPriorityOrderingImplicits$$anon$6.prototype = new $h_O(); $c_s_math_LowPriorityOrderingImplicits$$anon$6.prototype.constructor = $c_s_math_LowPriorityOrderingImplicits$$anon$6; /** @constructor */ function $h_s_math_LowPriorityOrderingImplicits$$anon$6() { /*<skip>*/ } $h_s_math_LowPriorityOrderingImplicits$$anon$6.prototype = $c_s_math_LowPriorityOrderingImplicits$$anon$6.prototype; $c_s_math_LowPriorityOrderingImplicits$$anon$6.prototype.reverse__s_math_Ordering = (function() { return new $c_s_math_Ordering$$anon$4().init___s_math_Ordering(this) }); $c_s_math_LowPriorityOrderingImplicits$$anon$6.prototype.init___s_math_LowPriorityOrderingImplicits__F1 = (function($$outer, evidence$1$1) { this.evidence$1$1$1 = evidence$1$1; return this }); $c_s_math_LowPriorityOrderingImplicits$$anon$6.prototype.gteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_s_math_LowPriorityOrderingImplicits$$anon$6.prototype.compare__O__O__I = (function(x, y) { return $comparableCompareTo($as_jl_Comparable(this.evidence$1$1$1.apply__O__O(x)), y) }); $c_s_math_LowPriorityOrderingImplicits$$anon$6.prototype.lteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z(this, x, y) }); var $d_s_math_LowPriorityOrderingImplicits$$anon$6 = new $TypeData().initClass({ s_math_LowPriorityOrderingImplicits$$anon$6: 0 }, false, "scala.math.LowPriorityOrderingImplicits$$anon$6", { s_math_LowPriorityOrderingImplicits$$anon$6: 1, O: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_LowPriorityOrderingImplicits$$anon$6.prototype.$classData = $d_s_math_LowPriorityOrderingImplicits$$anon$6; /** @constructor */ function $c_s_math_Ordering$$anon$12() { $c_O.call(this); this.ord1$7$1 = null; this.ord2$7$1 = null; this.ord3$7$1 = null } $c_s_math_Ordering$$anon$12.prototype = new $h_O(); $c_s_math_Ordering$$anon$12.prototype.constructor = $c_s_math_Ordering$$anon$12; /** @constructor */ function $h_s_math_Ordering$$anon$12() { /*<skip>*/ } $h_s_math_Ordering$$anon$12.prototype = $c_s_math_Ordering$$anon$12.prototype; $c_s_math_Ordering$$anon$12.prototype.reverse__s_math_Ordering = (function() { return new $c_s_math_Ordering$$anon$4().init___s_math_Ordering(this) }); $c_s_math_Ordering$$anon$12.prototype.gteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_s_math_Ordering$$anon$12.prototype.compare__O__O__I = (function(x, y) { return this.compare__T3__T3__I($as_T3(x), $as_T3(y)) }); $c_s_math_Ordering$$anon$12.prototype.init___s_math_Ordering__s_math_Ordering__s_math_Ordering = (function(ord1$7, ord2$7, ord3$7) { this.ord1$7$1 = ord1$7; this.ord2$7$1 = ord2$7; this.ord3$7$1 = ord3$7; return this }); $c_s_math_Ordering$$anon$12.prototype.compare__T3__T3__I = (function(x, y) { var compare1 = this.ord1$7$1.compare__O__O__I(x.$$und1$1, y.$$und1$1); if ((compare1 !== 0)) { return compare1 }; var compare2 = this.ord2$7$1.compare__O__O__I(x.$$und2$1, y.$$und2$1); if ((compare2 !== 0)) { return compare2 }; var compare3 = this.ord3$7$1.compare__O__O__I(x.$$und3$1, y.$$und3$1); if ((compare3 !== 0)) { return compare3 }; return 0 }); $c_s_math_Ordering$$anon$12.prototype.lteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z(this, x, y) }); var $d_s_math_Ordering$$anon$12 = new $TypeData().initClass({ s_math_Ordering$$anon$12: 0 }, false, "scala.math.Ordering$$anon$12", { s_math_Ordering$$anon$12: 1, O: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Ordering$$anon$12.prototype.$classData = $d_s_math_Ordering$$anon$12; /** @constructor */ function $c_s_math_Ordering$$anon$4() { $c_O.call(this); this.$$outer$1 = null } $c_s_math_Ordering$$anon$4.prototype = new $h_O(); $c_s_math_Ordering$$anon$4.prototype.constructor = $c_s_math_Ordering$$anon$4; /** @constructor */ function $h_s_math_Ordering$$anon$4() { /*<skip>*/ } $h_s_math_Ordering$$anon$4.prototype = $c_s_math_Ordering$$anon$4.prototype; $c_s_math_Ordering$$anon$4.prototype.reverse__s_math_Ordering = (function() { return this.$$outer$1 }); $c_s_math_Ordering$$anon$4.prototype.init___s_math_Ordering = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$1 = $$outer }; return this }); $c_s_math_Ordering$$anon$4.prototype.gteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_s_math_Ordering$$anon$4.prototype.compare__O__O__I = (function(x, y) { return this.$$outer$1.compare__O__O__I(y, x) }); $c_s_math_Ordering$$anon$4.prototype.lteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z(this, x, y) }); var $d_s_math_Ordering$$anon$4 = new $TypeData().initClass({ s_math_Ordering$$anon$4: 0 }, false, "scala.math.Ordering$$anon$4", { s_math_Ordering$$anon$4: 1, O: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Ordering$$anon$4.prototype.$classData = $d_s_math_Ordering$$anon$4; /** @constructor */ function $c_s_math_Ordering$$anon$5() { $c_O.call(this); this.$$outer$1 = null; this.f$2$1 = null } $c_s_math_Ordering$$anon$5.prototype = new $h_O(); $c_s_math_Ordering$$anon$5.prototype.constructor = $c_s_math_Ordering$$anon$5; /** @constructor */ function $h_s_math_Ordering$$anon$5() { /*<skip>*/ } $h_s_math_Ordering$$anon$5.prototype = $c_s_math_Ordering$$anon$5.prototype; $c_s_math_Ordering$$anon$5.prototype.reverse__s_math_Ordering = (function() { return new $c_s_math_Ordering$$anon$4().init___s_math_Ordering(this) }); $c_s_math_Ordering$$anon$5.prototype.gteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_s_math_Ordering$$anon$5.prototype.compare__O__O__I = (function(x, y) { return this.$$outer$1.compare__O__O__I(this.f$2$1.apply__O__O(x), this.f$2$1.apply__O__O(y)) }); $c_s_math_Ordering$$anon$5.prototype.init___s_math_Ordering__F1 = (function($$outer, f$2) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$1 = $$outer }; this.f$2$1 = f$2; return this }); $c_s_math_Ordering$$anon$5.prototype.lteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z(this, x, y) }); var $d_s_math_Ordering$$anon$5 = new $TypeData().initClass({ s_math_Ordering$$anon$5: 0 }, false, "scala.math.Ordering$$anon$5", { s_math_Ordering$$anon$5: 1, O: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Ordering$$anon$5.prototype.$classData = $d_s_math_Ordering$$anon$5; /** @constructor */ function $c_s_math_Ordering$$anon$9() { $c_O.call(this); this.cmp$1$1 = null } $c_s_math_Ordering$$anon$9.prototype = new $h_O(); $c_s_math_Ordering$$anon$9.prototype.constructor = $c_s_math_Ordering$$anon$9; /** @constructor */ function $h_s_math_Ordering$$anon$9() { /*<skip>*/ } $h_s_math_Ordering$$anon$9.prototype = $c_s_math_Ordering$$anon$9.prototype; $c_s_math_Ordering$$anon$9.prototype.reverse__s_math_Ordering = (function() { return new $c_s_math_Ordering$$anon$4().init___s_math_Ordering(this) }); $c_s_math_Ordering$$anon$9.prototype.init___F2 = (function(cmp$1) { this.cmp$1$1 = cmp$1; return this }); $c_s_math_Ordering$$anon$9.prototype.gteq__O__O__Z = (function(x, y) { return (!$uZ(this.cmp$1$1.apply__O__O__O(x, y))) }); $c_s_math_Ordering$$anon$9.prototype.compare__O__O__I = (function(x, y) { return ($uZ(this.cmp$1$1.apply__O__O__O(x, y)) ? (-1) : ($uZ(this.cmp$1$1.apply__O__O__O(y, x)) ? 1 : 0)) }); $c_s_math_Ordering$$anon$9.prototype.lteq__O__O__Z = (function(x, y) { return (!$uZ(this.cmp$1$1.apply__O__O__O(y, x))) }); var $d_s_math_Ordering$$anon$9 = new $TypeData().initClass({ s_math_Ordering$$anon$9: 0 }, false, "scala.math.Ordering$$anon$9", { s_math_Ordering$$anon$9: 1, O: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Ordering$$anon$9.prototype.$classData = $d_s_math_Ordering$$anon$9; /** @constructor */ function $c_s_reflect_ClassTag$ClassClassTag() { $c_O.call(this); this.runtimeClass$1 = null } $c_s_reflect_ClassTag$ClassClassTag.prototype = new $h_O(); $c_s_reflect_ClassTag$ClassClassTag.prototype.constructor = $c_s_reflect_ClassTag$ClassClassTag; /** @constructor */ function $h_s_reflect_ClassTag$ClassClassTag() { /*<skip>*/ } $h_s_reflect_ClassTag$ClassClassTag.prototype = $c_s_reflect_ClassTag$ClassClassTag.prototype; $c_s_reflect_ClassTag$ClassClassTag.prototype.newArray__I__O = (function(len) { return $s_s_reflect_ClassTag$class__newArray__s_reflect_ClassTag__I__O(this, len) }); $c_s_reflect_ClassTag$ClassClassTag.prototype.equals__O__Z = (function(x) { return $s_s_reflect_ClassTag$class__equals__s_reflect_ClassTag__O__Z(this, x) }); $c_s_reflect_ClassTag$ClassClassTag.prototype.toString__T = (function() { return $s_s_reflect_ClassTag$class__prettyprint$1__p0__s_reflect_ClassTag__jl_Class__T(this, this.runtimeClass$1) }); $c_s_reflect_ClassTag$ClassClassTag.prototype.runtimeClass__jl_Class = (function() { return this.runtimeClass$1 }); $c_s_reflect_ClassTag$ClassClassTag.prototype.init___jl_Class = (function(runtimeClass) { this.runtimeClass$1 = runtimeClass; return this }); $c_s_reflect_ClassTag$ClassClassTag.prototype.hashCode__I = (function() { return $m_sr_ScalaRunTime$().hash__O__I(this.runtimeClass$1) }); var $d_s_reflect_ClassTag$ClassClassTag = new $TypeData().initClass({ s_reflect_ClassTag$ClassClassTag: 0 }, false, "scala.reflect.ClassTag$ClassClassTag", { s_reflect_ClassTag$ClassClassTag: 1, O: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ClassTag$ClassClassTag.prototype.$classData = $d_s_reflect_ClassTag$ClassClassTag; function $is_sc_GenIterable(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_GenIterable))) } function $as_sc_GenIterable(obj) { return (($is_sc_GenIterable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.GenIterable")) } function $isArrayOf_sc_GenIterable(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_GenIterable))) } function $asArrayOf_sc_GenIterable(obj, depth) { return (($isArrayOf_sc_GenIterable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.GenIterable;", depth)) } /** @constructor */ function $c_sc_Seq$() { $c_scg_SeqFactory.call(this) } $c_sc_Seq$.prototype = new $h_scg_SeqFactory(); $c_sc_Seq$.prototype.constructor = $c_sc_Seq$; /** @constructor */ function $h_sc_Seq$() { /*<skip>*/ } $h_sc_Seq$.prototype = $c_sc_Seq$.prototype; $c_sc_Seq$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_sc_Seq$.prototype.canBuildFrom__scg_CanBuildFrom = (function() { return this.ReusableCBFInstance$2 }); $c_sc_Seq$.prototype.newBuilder__scm_Builder = (function() { $m_sci_Seq$(); return new $c_scm_ListBuffer().init___() }); var $d_sc_Seq$ = new $TypeData().initClass({ sc_Seq$: 0 }, false, "scala.collection.Seq$", { sc_Seq$: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_sc_Seq$.prototype.$classData = $d_sc_Seq$; var $n_sc_Seq$ = (void 0); function $m_sc_Seq$() { if ((!$n_sc_Seq$)) { $n_sc_Seq$ = new $c_sc_Seq$().init___() }; return $n_sc_Seq$ } /** @constructor */ function $c_scg_IndexedSeqFactory() { $c_scg_SeqFactory.call(this) } $c_scg_IndexedSeqFactory.prototype = new $h_scg_SeqFactory(); $c_scg_IndexedSeqFactory.prototype.constructor = $c_scg_IndexedSeqFactory; /** @constructor */ function $h_scg_IndexedSeqFactory() { /*<skip>*/ } $h_scg_IndexedSeqFactory.prototype = $c_scg_IndexedSeqFactory.prototype; /** @constructor */ function $c_sci_HashMap$() { $c_scg_ImmutableMapFactory.call(this); this.defaultMerger$4 = null } $c_sci_HashMap$.prototype = new $h_scg_ImmutableMapFactory(); $c_sci_HashMap$.prototype.constructor = $c_sci_HashMap$; /** @constructor */ function $h_sci_HashMap$() { /*<skip>*/ } $h_sci_HashMap$.prototype = $c_sci_HashMap$.prototype; $c_sci_HashMap$.prototype.init___ = (function() { $n_sci_HashMap$ = this; var mergef = new $c_sjsr_AnonFunction2().init___sjs_js_Function2((function($this) { return (function(a$2, b$2) { var a = $as_T2(a$2); $as_T2(b$2); return a }) })(this)); this.defaultMerger$4 = new $c_sci_HashMap$$anon$2().init___F2(mergef); return this }); $c_sci_HashMap$.prototype.scala$collection$immutable$HashMap$$makeHashTrieMap__I__sci_HashMap__I__sci_HashMap__I__I__sci_HashMap$HashTrieMap = (function(hash0, elem0, hash1, elem1, level, size) { var index0 = (31 & ((hash0 >>> level) | 0)); var index1 = (31 & ((hash1 >>> level) | 0)); if ((index0 !== index1)) { var bitmap = ((1 << index0) | (1 << index1)); var elems = $newArrayObject($d_sci_HashMap.getArrayOf(), [2]); if ((index0 < index1)) { elems.u[0] = elem0; elems.u[1] = elem1 } else { elems.u[0] = elem1; elems.u[1] = elem0 }; return new $c_sci_HashMap$HashTrieMap().init___I__Asci_HashMap__I(bitmap, elems, size) } else { var elems$2 = $newArrayObject($d_sci_HashMap.getArrayOf(), [1]); var bitmap$2 = (1 << index0); elems$2.u[0] = this.scala$collection$immutable$HashMap$$makeHashTrieMap__I__sci_HashMap__I__sci_HashMap__I__I__sci_HashMap$HashTrieMap(hash0, elem0, hash1, elem1, ((5 + level) | 0), size); return new $c_sci_HashMap$HashTrieMap().init___I__Asci_HashMap__I(bitmap$2, elems$2, size) } }); $c_sci_HashMap$.prototype.scala$collection$immutable$HashMap$$keepBits__I__I__I = (function(bitmap, keep) { var result = 0; var current = bitmap; var kept = keep; while ((kept !== 0)) { var lsb = (current ^ (current & (((-1) + current) | 0))); if (((1 & kept) !== 0)) { result = (result | lsb) }; current = (current & (~lsb)); kept = ((kept >>> 1) | 0) }; return result }); $c_sci_HashMap$.prototype.empty__sc_GenMap = (function() { return $m_sci_HashMap$EmptyHashMap$() }); var $d_sci_HashMap$ = new $TypeData().initClass({ sci_HashMap$: 0 }, false, "scala.collection.immutable.HashMap$", { sci_HashMap$: 1, scg_ImmutableMapFactory: 1, scg_MapFactory: 1, scg_GenMapFactory: 1, O: 1, scg_BitOperations$Int: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_HashMap$.prototype.$classData = $d_sci_HashMap$; var $n_sci_HashMap$ = (void 0); function $m_sci_HashMap$() { if ((!$n_sci_HashMap$)) { $n_sci_HashMap$ = new $c_sci_HashMap$().init___() }; return $n_sci_HashMap$ } /** @constructor */ function $c_sci_Seq$() { $c_scg_SeqFactory.call(this) } $c_sci_Seq$.prototype = new $h_scg_SeqFactory(); $c_sci_Seq$.prototype.constructor = $c_sci_Seq$; /** @constructor */ function $h_sci_Seq$() { /*<skip>*/ } $h_sci_Seq$.prototype = $c_sci_Seq$.prototype; $c_sci_Seq$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_sci_Seq$.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_ListBuffer().init___() }); var $d_sci_Seq$ = new $TypeData().initClass({ sci_Seq$: 0 }, false, "scala.collection.immutable.Seq$", { sci_Seq$: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_sci_Seq$.prototype.$classData = $d_sci_Seq$; var $n_sci_Seq$ = (void 0); function $m_sci_Seq$() { if ((!$n_sci_Seq$)) { $n_sci_Seq$ = new $c_sci_Seq$().init___() }; return $n_sci_Seq$ } /** @constructor */ function $c_scm_ArrayBuilder$ofInt() { $c_scm_ArrayBuilder.call(this); this.elems$2 = null; this.capacity$2 = 0; this.size$2 = 0 } $c_scm_ArrayBuilder$ofInt.prototype = new $h_scm_ArrayBuilder(); $c_scm_ArrayBuilder$ofInt.prototype.constructor = $c_scm_ArrayBuilder$ofInt; /** @constructor */ function $h_scm_ArrayBuilder$ofInt() { /*<skip>*/ } $h_scm_ArrayBuilder$ofInt.prototype = $c_scm_ArrayBuilder$ofInt.prototype; $c_scm_ArrayBuilder$ofInt.prototype.init___ = (function() { this.capacity$2 = 0; this.size$2 = 0; return this }); $c_scm_ArrayBuilder$ofInt.prototype.$$plus$plus$eq__sc_TraversableOnce__scm_ArrayBuilder$ofInt = (function(xs) { if ($is_scm_WrappedArray$ofInt(xs)) { var x2 = $as_scm_WrappedArray$ofInt(xs); this.ensureSize__p2__I__V(((this.size$2 + x2.length__I()) | 0)); $m_s_Array$().copy__O__I__O__I__I__V(x2.array$6, 0, this.elems$2, this.size$2, x2.length__I()); this.size$2 = ((this.size$2 + x2.length__I()) | 0); return this } else { return $as_scm_ArrayBuilder$ofInt($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs)) } }); $c_scm_ArrayBuilder$ofInt.prototype.equals__O__Z = (function(other) { if ($is_scm_ArrayBuilder$ofInt(other)) { var x2 = $as_scm_ArrayBuilder$ofInt(other); return ((this.size$2 === x2.size$2) && (this.elems$2 === x2.elems$2)) } else { return false } }); $c_scm_ArrayBuilder$ofInt.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__I__scm_ArrayBuilder$ofInt($uI(elem)) }); $c_scm_ArrayBuilder$ofInt.prototype.toString__T = (function() { return "ArrayBuilder.ofInt" }); $c_scm_ArrayBuilder$ofInt.prototype.result__O = (function() { return this.result__AI() }); $c_scm_ArrayBuilder$ofInt.prototype.resize__p2__I__V = (function(size) { this.elems$2 = this.mkArray__p2__I__AI(size); this.capacity$2 = size }); $c_scm_ArrayBuilder$ofInt.prototype.result__AI = (function() { return (((this.capacity$2 !== 0) && (this.capacity$2 === this.size$2)) ? this.elems$2 : this.mkArray__p2__I__AI(this.size$2)) }); $c_scm_ArrayBuilder$ofInt.prototype.$$plus$eq__I__scm_ArrayBuilder$ofInt = (function(elem) { this.ensureSize__p2__I__V(((1 + this.size$2) | 0)); this.elems$2.u[this.size$2] = elem; this.size$2 = ((1 + this.size$2) | 0); return this }); $c_scm_ArrayBuilder$ofInt.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__I__scm_ArrayBuilder$ofInt($uI(elem)) }); $c_scm_ArrayBuilder$ofInt.prototype.mkArray__p2__I__AI = (function(size) { var newelems = $newArrayObject($d_I.getArrayOf(), [size]); if ((this.size$2 > 0)) { $m_s_Array$().copy__O__I__O__I__I__V(this.elems$2, 0, newelems, 0, this.size$2) }; return newelems }); $c_scm_ArrayBuilder$ofInt.prototype.sizeHint__I__V = (function(size) { if ((this.capacity$2 < size)) { this.resize__p2__I__V(size) } }); $c_scm_ArrayBuilder$ofInt.prototype.ensureSize__p2__I__V = (function(size) { if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); while ((newsize < size)) { newsize = $imul(2, newsize) }; this.resize__p2__I__V(newsize) } }); $c_scm_ArrayBuilder$ofInt.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return this.$$plus$plus$eq__sc_TraversableOnce__scm_ArrayBuilder$ofInt(xs) }); function $is_scm_ArrayBuilder$ofInt(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_ArrayBuilder$ofInt))) } function $as_scm_ArrayBuilder$ofInt(obj) { return (($is_scm_ArrayBuilder$ofInt(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.ArrayBuilder$ofInt")) } function $isArrayOf_scm_ArrayBuilder$ofInt(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_ArrayBuilder$ofInt))) } function $asArrayOf_scm_ArrayBuilder$ofInt(obj, depth) { return (($isArrayOf_scm_ArrayBuilder$ofInt(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.ArrayBuilder$ofInt;", depth)) } var $d_scm_ArrayBuilder$ofInt = new $TypeData().initClass({ scm_ArrayBuilder$ofInt: 0 }, false, "scala.collection.mutable.ArrayBuilder$ofInt", { scm_ArrayBuilder$ofInt: 1, scm_ArrayBuilder: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_ArrayBuilder$ofInt.prototype.$classData = $d_scm_ArrayBuilder$ofInt; /** @constructor */ function $c_scm_ArrayBuilder$ofRef() { $c_scm_ArrayBuilder.call(this); this.evidence$2$2 = null; this.elems$2 = null; this.capacity$2 = 0; this.size$2 = 0 } $c_scm_ArrayBuilder$ofRef.prototype = new $h_scm_ArrayBuilder(); $c_scm_ArrayBuilder$ofRef.prototype.constructor = $c_scm_ArrayBuilder$ofRef; /** @constructor */ function $h_scm_ArrayBuilder$ofRef() { /*<skip>*/ } $h_scm_ArrayBuilder$ofRef.prototype = $c_scm_ArrayBuilder$ofRef.prototype; $c_scm_ArrayBuilder$ofRef.prototype.init___s_reflect_ClassTag = (function(evidence$2) { this.evidence$2$2 = evidence$2; this.capacity$2 = 0; this.size$2 = 0; return this }); $c_scm_ArrayBuilder$ofRef.prototype.$$plus$plus$eq__sc_TraversableOnce__scm_ArrayBuilder$ofRef = (function(xs) { if ($is_scm_WrappedArray$ofRef(xs)) { var x2 = $as_scm_WrappedArray$ofRef(xs); this.ensureSize__p2__I__V(((this.size$2 + x2.length__I()) | 0)); $m_s_Array$().copy__O__I__O__I__I__V(x2.array$6, 0, this.elems$2, this.size$2, x2.length__I()); this.size$2 = ((this.size$2 + x2.length__I()) | 0); return this } else { return $as_scm_ArrayBuilder$ofRef($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs)) } }); $c_scm_ArrayBuilder$ofRef.prototype.equals__O__Z = (function(other) { if ($is_scm_ArrayBuilder$ofRef(other)) { var x2 = $as_scm_ArrayBuilder$ofRef(other); return ((this.size$2 === x2.size$2) && (this.elems$2 === x2.elems$2)) } else { return false } }); $c_scm_ArrayBuilder$ofRef.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__scm_ArrayBuilder$ofRef(elem) }); $c_scm_ArrayBuilder$ofRef.prototype.toString__T = (function() { return "ArrayBuilder.ofRef" }); $c_scm_ArrayBuilder$ofRef.prototype.result__O = (function() { return this.result__AO() }); $c_scm_ArrayBuilder$ofRef.prototype.resize__p2__I__V = (function(size) { this.elems$2 = this.mkArray__p2__I__AO(size); this.capacity$2 = size }); $c_scm_ArrayBuilder$ofRef.prototype.$$plus$eq__O__scm_ArrayBuilder$ofRef = (function(elem) { this.ensureSize__p2__I__V(((1 + this.size$2) | 0)); this.elems$2.u[this.size$2] = elem; this.size$2 = ((1 + this.size$2) | 0); return this }); $c_scm_ArrayBuilder$ofRef.prototype.result__AO = (function() { return (((this.capacity$2 !== 0) && (this.capacity$2 === this.size$2)) ? this.elems$2 : this.mkArray__p2__I__AO(this.size$2)) }); $c_scm_ArrayBuilder$ofRef.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__scm_ArrayBuilder$ofRef(elem) }); $c_scm_ArrayBuilder$ofRef.prototype.sizeHint__I__V = (function(size) { if ((this.capacity$2 < size)) { this.resize__p2__I__V(size) } }); $c_scm_ArrayBuilder$ofRef.prototype.ensureSize__p2__I__V = (function(size) { if (((this.capacity$2 < size) || (this.capacity$2 === 0))) { var newsize = ((this.capacity$2 === 0) ? 16 : $imul(2, this.capacity$2)); while ((newsize < size)) { newsize = $imul(2, newsize) }; this.resize__p2__I__V(newsize) } }); $c_scm_ArrayBuilder$ofRef.prototype.mkArray__p2__I__AO = (function(size) { var newelems = $asArrayOf_O(this.evidence$2$2.newArray__I__O(size), 1); if ((this.size$2 > 0)) { $m_s_Array$().copy__O__I__O__I__I__V(this.elems$2, 0, newelems, 0, this.size$2) }; return newelems }); $c_scm_ArrayBuilder$ofRef.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return this.$$plus$plus$eq__sc_TraversableOnce__scm_ArrayBuilder$ofRef(xs) }); function $is_scm_ArrayBuilder$ofRef(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_ArrayBuilder$ofRef))) } function $as_scm_ArrayBuilder$ofRef(obj) { return (($is_scm_ArrayBuilder$ofRef(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.ArrayBuilder$ofRef")) } function $isArrayOf_scm_ArrayBuilder$ofRef(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_ArrayBuilder$ofRef))) } function $asArrayOf_scm_ArrayBuilder$ofRef(obj, depth) { return (($isArrayOf_scm_ArrayBuilder$ofRef(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.ArrayBuilder$ofRef;", depth)) } var $d_scm_ArrayBuilder$ofRef = new $TypeData().initClass({ scm_ArrayBuilder$ofRef: 0 }, false, "scala.collection.mutable.ArrayBuilder$ofRef", { scm_ArrayBuilder$ofRef: 1, scm_ArrayBuilder: 1, O: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_ArrayBuilder$ofRef.prototype.$classData = $d_scm_ArrayBuilder$ofRef; /** @constructor */ function $c_scm_IndexedSeq$() { $c_scg_SeqFactory.call(this) } $c_scm_IndexedSeq$.prototype = new $h_scg_SeqFactory(); $c_scm_IndexedSeq$.prototype.constructor = $c_scm_IndexedSeq$; /** @constructor */ function $h_scm_IndexedSeq$() { /*<skip>*/ } $h_scm_IndexedSeq$.prototype = $c_scm_IndexedSeq$.prototype; $c_scm_IndexedSeq$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_scm_IndexedSeq$.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_ArrayBuffer().init___() }); var $d_scm_IndexedSeq$ = new $TypeData().initClass({ scm_IndexedSeq$: 0 }, false, "scala.collection.mutable.IndexedSeq$", { scm_IndexedSeq$: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_scm_IndexedSeq$.prototype.$classData = $d_scm_IndexedSeq$; var $n_scm_IndexedSeq$ = (void 0); function $m_scm_IndexedSeq$() { if ((!$n_scm_IndexedSeq$)) { $n_scm_IndexedSeq$ = new $c_scm_IndexedSeq$().init___() }; return $n_scm_IndexedSeq$ } /** @constructor */ function $c_sjs_js_WrappedArray$() { $c_scg_SeqFactory.call(this) } $c_sjs_js_WrappedArray$.prototype = new $h_scg_SeqFactory(); $c_sjs_js_WrappedArray$.prototype.constructor = $c_sjs_js_WrappedArray$; /** @constructor */ function $h_sjs_js_WrappedArray$() { /*<skip>*/ } $h_sjs_js_WrappedArray$.prototype = $c_sjs_js_WrappedArray$.prototype; $c_sjs_js_WrappedArray$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_sjs_js_WrappedArray$.prototype.newBuilder__scm_Builder = (function() { return new $c_sjs_js_WrappedArray().init___() }); var $d_sjs_js_WrappedArray$ = new $TypeData().initClass({ sjs_js_WrappedArray$: 0 }, false, "scala.scalajs.js.WrappedArray$", { sjs_js_WrappedArray$: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_sjs_js_WrappedArray$.prototype.$classData = $d_sjs_js_WrappedArray$; var $n_sjs_js_WrappedArray$ = (void 0); function $m_sjs_js_WrappedArray$() { if ((!$n_sjs_js_WrappedArray$)) { $n_sjs_js_WrappedArray$ = new $c_sjs_js_WrappedArray$().init___() }; return $n_sjs_js_WrappedArray$ } /** @constructor */ function $c_s_math_Ordering$Boolean$() { $c_O.call(this) } $c_s_math_Ordering$Boolean$.prototype = new $h_O(); $c_s_math_Ordering$Boolean$.prototype.constructor = $c_s_math_Ordering$Boolean$; /** @constructor */ function $h_s_math_Ordering$Boolean$() { /*<skip>*/ } $h_s_math_Ordering$Boolean$.prototype = $c_s_math_Ordering$Boolean$.prototype; $c_s_math_Ordering$Boolean$.prototype.init___ = (function() { return this }); $c_s_math_Ordering$Boolean$.prototype.reverse__s_math_Ordering = (function() { return new $c_s_math_Ordering$$anon$4().init___s_math_Ordering(this) }); $c_s_math_Ordering$Boolean$.prototype.gteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_s_math_Ordering$Boolean$.prototype.compare__O__O__I = (function(x, y) { var x$1 = $uZ(x); var y$1 = $uZ(y); return $s_s_math_Ordering$BooleanOrdering$class__compare__s_math_Ordering$BooleanOrdering__Z__Z__I(this, x$1, y$1) }); $c_s_math_Ordering$Boolean$.prototype.lteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z(this, x, y) }); var $d_s_math_Ordering$Boolean$ = new $TypeData().initClass({ s_math_Ordering$Boolean$: 0 }, false, "scala.math.Ordering$Boolean$", { s_math_Ordering$Boolean$: 1, O: 1, s_math_Ordering$BooleanOrdering: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Ordering$Boolean$.prototype.$classData = $d_s_math_Ordering$Boolean$; var $n_s_math_Ordering$Boolean$ = (void 0); function $m_s_math_Ordering$Boolean$() { if ((!$n_s_math_Ordering$Boolean$)) { $n_s_math_Ordering$Boolean$ = new $c_s_math_Ordering$Boolean$().init___() }; return $n_s_math_Ordering$Boolean$ } /** @constructor */ function $c_s_math_Ordering$Int$() { $c_O.call(this) } $c_s_math_Ordering$Int$.prototype = new $h_O(); $c_s_math_Ordering$Int$.prototype.constructor = $c_s_math_Ordering$Int$; /** @constructor */ function $h_s_math_Ordering$Int$() { /*<skip>*/ } $h_s_math_Ordering$Int$.prototype = $c_s_math_Ordering$Int$.prototype; $c_s_math_Ordering$Int$.prototype.init___ = (function() { return this }); $c_s_math_Ordering$Int$.prototype.reverse__s_math_Ordering = (function() { return new $c_s_math_Ordering$$anon$4().init___s_math_Ordering(this) }); $c_s_math_Ordering$Int$.prototype.gteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_s_math_Ordering$Int$.prototype.compare__O__O__I = (function(x, y) { var x$1 = $uI(x); var y$1 = $uI(y); return $s_s_math_Ordering$IntOrdering$class__compare__s_math_Ordering$IntOrdering__I__I__I(this, x$1, y$1) }); $c_s_math_Ordering$Int$.prototype.lteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z(this, x, y) }); var $d_s_math_Ordering$Int$ = new $TypeData().initClass({ s_math_Ordering$Int$: 0 }, false, "scala.math.Ordering$Int$", { s_math_Ordering$Int$: 1, O: 1, s_math_Ordering$IntOrdering: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_s_math_Ordering$Int$.prototype.$classData = $d_s_math_Ordering$Int$; var $n_s_math_Ordering$Int$ = (void 0); function $m_s_math_Ordering$Int$() { if ((!$n_s_math_Ordering$Int$)) { $n_s_math_Ordering$Int$ = new $c_s_math_Ordering$Int$().init___() }; return $n_s_math_Ordering$Int$ } /** @constructor */ function $c_s_reflect_AnyValManifest() { $c_O.call(this); this.toString$1 = null } $c_s_reflect_AnyValManifest.prototype = new $h_O(); $c_s_reflect_AnyValManifest.prototype.constructor = $c_s_reflect_AnyValManifest; /** @constructor */ function $h_s_reflect_AnyValManifest() { /*<skip>*/ } $h_s_reflect_AnyValManifest.prototype = $c_s_reflect_AnyValManifest.prototype; $c_s_reflect_AnyValManifest.prototype.equals__O__Z = (function(that) { return (this === that) }); $c_s_reflect_AnyValManifest.prototype.toString__T = (function() { return this.toString$1 }); $c_s_reflect_AnyValManifest.prototype.hashCode__I = (function() { return $systemIdentityHashCode(this) }); /** @constructor */ function $c_s_reflect_ManifestFactory$ClassTypeManifest() { $c_O.call(this); this.prefix$1 = null; this.runtimeClass1$1 = null; this.typeArguments$1 = null } $c_s_reflect_ManifestFactory$ClassTypeManifest.prototype = new $h_O(); $c_s_reflect_ManifestFactory$ClassTypeManifest.prototype.constructor = $c_s_reflect_ManifestFactory$ClassTypeManifest; /** @constructor */ function $h_s_reflect_ManifestFactory$ClassTypeManifest() { /*<skip>*/ } $h_s_reflect_ManifestFactory$ClassTypeManifest.prototype = $c_s_reflect_ManifestFactory$ClassTypeManifest.prototype; /** @constructor */ function $c_sc_IndexedSeq$() { $c_scg_IndexedSeqFactory.call(this); this.ReusableCBF$6 = null } $c_sc_IndexedSeq$.prototype = new $h_scg_IndexedSeqFactory(); $c_sc_IndexedSeq$.prototype.constructor = $c_sc_IndexedSeq$; /** @constructor */ function $h_sc_IndexedSeq$() { /*<skip>*/ } $h_sc_IndexedSeq$.prototype = $c_sc_IndexedSeq$.prototype; $c_sc_IndexedSeq$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); $n_sc_IndexedSeq$ = this; this.ReusableCBF$6 = new $c_sc_IndexedSeq$$anon$1().init___(); return this }); $c_sc_IndexedSeq$.prototype.newBuilder__scm_Builder = (function() { $m_sci_IndexedSeq$(); $m_sci_Vector$(); return new $c_sci_VectorBuilder().init___() }); var $d_sc_IndexedSeq$ = new $TypeData().initClass({ sc_IndexedSeq$: 0 }, false, "scala.collection.IndexedSeq$", { sc_IndexedSeq$: 1, scg_IndexedSeqFactory: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_sc_IndexedSeq$.prototype.$classData = $d_sc_IndexedSeq$; var $n_sc_IndexedSeq$ = (void 0); function $m_sc_IndexedSeq$() { if ((!$n_sc_IndexedSeq$)) { $n_sc_IndexedSeq$ = new $c_sc_IndexedSeq$().init___() }; return $n_sc_IndexedSeq$ } /** @constructor */ function $c_sc_IndexedSeqLike$Elements() { $c_sc_AbstractIterator.call(this); this.end$2 = 0; this.index$2 = 0; this.$$outer$f = null } $c_sc_IndexedSeqLike$Elements.prototype = new $h_sc_AbstractIterator(); $c_sc_IndexedSeqLike$Elements.prototype.constructor = $c_sc_IndexedSeqLike$Elements; /** @constructor */ function $h_sc_IndexedSeqLike$Elements() { /*<skip>*/ } $h_sc_IndexedSeqLike$Elements.prototype = $c_sc_IndexedSeqLike$Elements.prototype; $c_sc_IndexedSeqLike$Elements.prototype.next__O = (function() { if ((this.index$2 >= this.end$2)) { $m_sc_Iterator$().empty$1.next__O() }; var x = this.$$outer$f.apply__I__O(this.index$2); this.index$2 = ((1 + this.index$2) | 0); return x }); $c_sc_IndexedSeqLike$Elements.prototype.init___sc_IndexedSeqLike__I__I = (function($$outer, start, end) { this.end$2 = end; if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; this.index$2 = start; return this }); $c_sc_IndexedSeqLike$Elements.prototype.hasNext__Z = (function() { return (this.index$2 < this.end$2) }); $c_sc_IndexedSeqLike$Elements.prototype.drop__I__sc_Iterator = (function(n) { return ((n <= 0) ? new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this.$$outer$f, this.index$2, this.end$2) : ((((this.index$2 + n) | 0) >= this.end$2) ? new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this.$$outer$f, this.end$2, this.end$2) : new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this.$$outer$f, ((this.index$2 + n) | 0), this.end$2))) }); var $d_sc_IndexedSeqLike$Elements = new $TypeData().initClass({ sc_IndexedSeqLike$Elements: 0 }, false, "scala.collection.IndexedSeqLike$Elements", { sc_IndexedSeqLike$Elements: 1, sc_AbstractIterator: 1, O: 1, sc_Iterator: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_BufferedIterator: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sc_IndexedSeqLike$Elements.prototype.$classData = $d_sc_IndexedSeqLike$Elements; /** @constructor */ function $c_sci_HashSet$() { $c_scg_ImmutableSetFactory.call(this) } $c_sci_HashSet$.prototype = new $h_scg_ImmutableSetFactory(); $c_sci_HashSet$.prototype.constructor = $c_sci_HashSet$; /** @constructor */ function $h_sci_HashSet$() { /*<skip>*/ } $h_sci_HashSet$.prototype = $c_sci_HashSet$.prototype; $c_sci_HashSet$.prototype.init___ = (function() { return this }); $c_sci_HashSet$.prototype.scala$collection$immutable$HashSet$$keepBits__I__I__I = (function(bitmap, keep) { var result = 0; var current = bitmap; var kept = keep; while ((kept !== 0)) { var lsb = (current ^ (current & (((-1) + current) | 0))); if (((1 & kept) !== 0)) { result = (result | lsb) }; current = (current & (~lsb)); kept = ((kept >>> 1) | 0) }; return result }); $c_sci_HashSet$.prototype.scala$collection$immutable$HashSet$$makeHashTrieSet__I__sci_HashSet__I__sci_HashSet__I__sci_HashSet$HashTrieSet = (function(hash0, elem0, hash1, elem1, level) { var index0 = (31 & ((hash0 >>> level) | 0)); var index1 = (31 & ((hash1 >>> level) | 0)); if ((index0 !== index1)) { var bitmap = ((1 << index0) | (1 << index1)); var elems = $newArrayObject($d_sci_HashSet.getArrayOf(), [2]); if ((index0 < index1)) { elems.u[0] = elem0; elems.u[1] = elem1 } else { elems.u[0] = elem1; elems.u[1] = elem0 }; return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(bitmap, elems, ((elem0.size__I() + elem1.size__I()) | 0)) } else { var elems$2 = $newArrayObject($d_sci_HashSet.getArrayOf(), [1]); var bitmap$2 = (1 << index0); var child = this.scala$collection$immutable$HashSet$$makeHashTrieSet__I__sci_HashSet__I__sci_HashSet__I__sci_HashSet$HashTrieSet(hash0, elem0, hash1, elem1, ((5 + level) | 0)); elems$2.u[0] = child; return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(bitmap$2, elems$2, child.size0$5) } }); $c_sci_HashSet$.prototype.emptyInstance__sci_Set = (function() { return $m_sci_HashSet$EmptyHashSet$() }); var $d_sci_HashSet$ = new $TypeData().initClass({ sci_HashSet$: 0 }, false, "scala.collection.immutable.HashSet$", { sci_HashSet$: 1, scg_ImmutableSetFactory: 1, scg_SetFactory: 1, scg_GenSetFactory: 1, scg_GenericCompanion: 1, O: 1, scg_GenericSeqCompanion: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_HashSet$.prototype.$classData = $d_sci_HashSet$; var $n_sci_HashSet$ = (void 0); function $m_sci_HashSet$() { if ((!$n_sci_HashSet$)) { $n_sci_HashSet$ = new $c_sci_HashSet$().init___() }; return $n_sci_HashSet$ } /** @constructor */ function $c_sci_IndexedSeq$() { $c_scg_IndexedSeqFactory.call(this) } $c_sci_IndexedSeq$.prototype = new $h_scg_IndexedSeqFactory(); $c_sci_IndexedSeq$.prototype.constructor = $c_sci_IndexedSeq$; /** @constructor */ function $h_sci_IndexedSeq$() { /*<skip>*/ } $h_sci_IndexedSeq$.prototype = $c_sci_IndexedSeq$.prototype; $c_sci_IndexedSeq$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_sci_IndexedSeq$.prototype.newBuilder__scm_Builder = (function() { $m_sci_Vector$(); return new $c_sci_VectorBuilder().init___() }); var $d_sci_IndexedSeq$ = new $TypeData().initClass({ sci_IndexedSeq$: 0 }, false, "scala.collection.immutable.IndexedSeq$", { sci_IndexedSeq$: 1, scg_IndexedSeqFactory: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1 }); $c_sci_IndexedSeq$.prototype.$classData = $d_sci_IndexedSeq$; var $n_sci_IndexedSeq$ = (void 0); function $m_sci_IndexedSeq$() { if ((!$n_sci_IndexedSeq$)) { $n_sci_IndexedSeq$ = new $c_sci_IndexedSeq$().init___() }; return $n_sci_IndexedSeq$ } /** @constructor */ function $c_sci_ListSet$() { $c_scg_ImmutableSetFactory.call(this) } $c_sci_ListSet$.prototype = new $h_scg_ImmutableSetFactory(); $c_sci_ListSet$.prototype.constructor = $c_sci_ListSet$; /** @constructor */ function $h_sci_ListSet$() { /*<skip>*/ } $h_sci_ListSet$.prototype = $c_sci_ListSet$.prototype; $c_sci_ListSet$.prototype.init___ = (function() { return this }); $c_sci_ListSet$.prototype.emptyInstance__sci_Set = (function() { return $m_sci_ListSet$EmptyListSet$() }); $c_sci_ListSet$.prototype.newBuilder__scm_Builder = (function() { return new $c_sci_ListSet$ListSetBuilder().init___() }); var $d_sci_ListSet$ = new $TypeData().initClass({ sci_ListSet$: 0 }, false, "scala.collection.immutable.ListSet$", { sci_ListSet$: 1, scg_ImmutableSetFactory: 1, scg_SetFactory: 1, scg_GenSetFactory: 1, scg_GenericCompanion: 1, O: 1, scg_GenericSeqCompanion: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_ListSet$.prototype.$classData = $d_sci_ListSet$; var $n_sci_ListSet$ = (void 0); function $m_sci_ListSet$() { if ((!$n_sci_ListSet$)) { $n_sci_ListSet$ = new $c_sci_ListSet$().init___() }; return $n_sci_ListSet$ } /** @constructor */ function $c_scm_HashSet$() { $c_scg_MutableSetFactory.call(this) } $c_scm_HashSet$.prototype = new $h_scg_MutableSetFactory(); $c_scm_HashSet$.prototype.constructor = $c_scm_HashSet$; /** @constructor */ function $h_scm_HashSet$() { /*<skip>*/ } $h_scm_HashSet$.prototype = $c_scm_HashSet$.prototype; $c_scm_HashSet$.prototype.init___ = (function() { return this }); $c_scm_HashSet$.prototype.empty__sc_GenTraversable = (function() { return new $c_scm_HashSet().init___() }); var $d_scm_HashSet$ = new $TypeData().initClass({ scm_HashSet$: 0 }, false, "scala.collection.mutable.HashSet$", { scm_HashSet$: 1, scg_MutableSetFactory: 1, scg_SetFactory: 1, scg_GenSetFactory: 1, scg_GenericCompanion: 1, O: 1, scg_GenericSeqCompanion: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_HashSet$.prototype.$classData = $d_scm_HashSet$; var $n_scm_HashSet$ = (void 0); function $m_scm_HashSet$() { if ((!$n_scm_HashSet$)) { $n_scm_HashSet$ = new $c_scm_HashSet$().init___() }; return $n_scm_HashSet$ } /** @constructor */ function $c_sjs_js_JavaScriptException() { $c_jl_RuntimeException.call(this); this.exception$4 = null } $c_sjs_js_JavaScriptException.prototype = new $h_jl_RuntimeException(); $c_sjs_js_JavaScriptException.prototype.constructor = $c_sjs_js_JavaScriptException; /** @constructor */ function $h_sjs_js_JavaScriptException() { /*<skip>*/ } $h_sjs_js_JavaScriptException.prototype = $c_sjs_js_JavaScriptException.prototype; $c_sjs_js_JavaScriptException.prototype.productPrefix__T = (function() { return "JavaScriptException" }); $c_sjs_js_JavaScriptException.prototype.productArity__I = (function() { return 1 }); $c_sjs_js_JavaScriptException.prototype.fillInStackTrace__jl_Throwable = (function() { var e = this.exception$4; this.stackdata = e; return this }); $c_sjs_js_JavaScriptException.prototype.equals__O__Z = (function(x$1) { if ((this === x$1)) { return true } else if ($is_sjs_js_JavaScriptException(x$1)) { var JavaScriptException$1 = $as_sjs_js_JavaScriptException(x$1); return $m_sr_BoxesRunTime$().equals__O__O__Z(this.exception$4, JavaScriptException$1.exception$4) } else { return false } }); $c_sjs_js_JavaScriptException.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.exception$4; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_sjs_js_JavaScriptException.prototype.toString__T = (function() { return $objectToString(this.exception$4) }); $c_sjs_js_JavaScriptException.prototype.init___O = (function(exception) { this.exception$4 = exception; $c_jl_Throwable.prototype.init___T__jl_Throwable.call(this, null, null); return this }); $c_sjs_js_JavaScriptException.prototype.hashCode__I = (function() { var this$2 = $m_s_util_hashing_MurmurHash3$(); return this$2.productHash__s_Product__I__I(this, (-889275714)) }); $c_sjs_js_JavaScriptException.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_sjs_js_JavaScriptException(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sjs_js_JavaScriptException))) } function $as_sjs_js_JavaScriptException(obj) { return (($is_sjs_js_JavaScriptException(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.scalajs.js.JavaScriptException")) } function $isArrayOf_sjs_js_JavaScriptException(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sjs_js_JavaScriptException))) } function $asArrayOf_sjs_js_JavaScriptException(obj, depth) { return (($isArrayOf_sjs_js_JavaScriptException(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.scalajs.js.JavaScriptException;", depth)) } var $d_sjs_js_JavaScriptException = new $TypeData().initClass({ sjs_js_JavaScriptException: 0 }, false, "scala.scalajs.js.JavaScriptException", { sjs_js_JavaScriptException: 1, jl_RuntimeException: 1, jl_Exception: 1, jl_Throwable: 1, O: 1, Ljava_io_Serializable: 1, s_Product: 1, s_Equals: 1, s_Serializable: 1 }); $c_sjs_js_JavaScriptException.prototype.$classData = $d_sjs_js_JavaScriptException; /** @constructor */ function $c_s_reflect_ManifestFactory$BooleanManifest$() { $c_s_reflect_AnyValManifest.call(this) } $c_s_reflect_ManifestFactory$BooleanManifest$.prototype = new $h_s_reflect_AnyValManifest(); $c_s_reflect_ManifestFactory$BooleanManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$BooleanManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$BooleanManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$BooleanManifest$.prototype = $c_s_reflect_ManifestFactory$BooleanManifest$.prototype; $c_s_reflect_ManifestFactory$BooleanManifest$.prototype.init___ = (function() { this.toString$1 = "Boolean"; return this }); $c_s_reflect_ManifestFactory$BooleanManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_Z.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$BooleanManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_Z.getClassOf() }); var $d_s_reflect_ManifestFactory$BooleanManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$BooleanManifest$: 0 }, false, "scala.reflect.ManifestFactory$BooleanManifest$", { s_reflect_ManifestFactory$BooleanManifest$: 1, s_reflect_AnyValManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$BooleanManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$BooleanManifest$; var $n_s_reflect_ManifestFactory$BooleanManifest$ = (void 0); function $m_s_reflect_ManifestFactory$BooleanManifest$() { if ((!$n_s_reflect_ManifestFactory$BooleanManifest$)) { $n_s_reflect_ManifestFactory$BooleanManifest$ = new $c_s_reflect_ManifestFactory$BooleanManifest$().init___() }; return $n_s_reflect_ManifestFactory$BooleanManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$ByteManifest$() { $c_s_reflect_AnyValManifest.call(this) } $c_s_reflect_ManifestFactory$ByteManifest$.prototype = new $h_s_reflect_AnyValManifest(); $c_s_reflect_ManifestFactory$ByteManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$ByteManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$ByteManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$ByteManifest$.prototype = $c_s_reflect_ManifestFactory$ByteManifest$.prototype; $c_s_reflect_ManifestFactory$ByteManifest$.prototype.init___ = (function() { this.toString$1 = "Byte"; return this }); $c_s_reflect_ManifestFactory$ByteManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_B.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$ByteManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_B.getClassOf() }); var $d_s_reflect_ManifestFactory$ByteManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$ByteManifest$: 0 }, false, "scala.reflect.ManifestFactory$ByteManifest$", { s_reflect_ManifestFactory$ByteManifest$: 1, s_reflect_AnyValManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$ByteManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$ByteManifest$; var $n_s_reflect_ManifestFactory$ByteManifest$ = (void 0); function $m_s_reflect_ManifestFactory$ByteManifest$() { if ((!$n_s_reflect_ManifestFactory$ByteManifest$)) { $n_s_reflect_ManifestFactory$ByteManifest$ = new $c_s_reflect_ManifestFactory$ByteManifest$().init___() }; return $n_s_reflect_ManifestFactory$ByteManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$CharManifest$() { $c_s_reflect_AnyValManifest.call(this) } $c_s_reflect_ManifestFactory$CharManifest$.prototype = new $h_s_reflect_AnyValManifest(); $c_s_reflect_ManifestFactory$CharManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$CharManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$CharManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$CharManifest$.prototype = $c_s_reflect_ManifestFactory$CharManifest$.prototype; $c_s_reflect_ManifestFactory$CharManifest$.prototype.init___ = (function() { this.toString$1 = "Char"; return this }); $c_s_reflect_ManifestFactory$CharManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_C.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$CharManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_C.getClassOf() }); var $d_s_reflect_ManifestFactory$CharManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$CharManifest$: 0 }, false, "scala.reflect.ManifestFactory$CharManifest$", { s_reflect_ManifestFactory$CharManifest$: 1, s_reflect_AnyValManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$CharManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$CharManifest$; var $n_s_reflect_ManifestFactory$CharManifest$ = (void 0); function $m_s_reflect_ManifestFactory$CharManifest$() { if ((!$n_s_reflect_ManifestFactory$CharManifest$)) { $n_s_reflect_ManifestFactory$CharManifest$ = new $c_s_reflect_ManifestFactory$CharManifest$().init___() }; return $n_s_reflect_ManifestFactory$CharManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$DoubleManifest$() { $c_s_reflect_AnyValManifest.call(this) } $c_s_reflect_ManifestFactory$DoubleManifest$.prototype = new $h_s_reflect_AnyValManifest(); $c_s_reflect_ManifestFactory$DoubleManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$DoubleManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$DoubleManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$DoubleManifest$.prototype = $c_s_reflect_ManifestFactory$DoubleManifest$.prototype; $c_s_reflect_ManifestFactory$DoubleManifest$.prototype.init___ = (function() { this.toString$1 = "Double"; return this }); $c_s_reflect_ManifestFactory$DoubleManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_D.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$DoubleManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_D.getClassOf() }); var $d_s_reflect_ManifestFactory$DoubleManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$DoubleManifest$: 0 }, false, "scala.reflect.ManifestFactory$DoubleManifest$", { s_reflect_ManifestFactory$DoubleManifest$: 1, s_reflect_AnyValManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$DoubleManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$DoubleManifest$; var $n_s_reflect_ManifestFactory$DoubleManifest$ = (void 0); function $m_s_reflect_ManifestFactory$DoubleManifest$() { if ((!$n_s_reflect_ManifestFactory$DoubleManifest$)) { $n_s_reflect_ManifestFactory$DoubleManifest$ = new $c_s_reflect_ManifestFactory$DoubleManifest$().init___() }; return $n_s_reflect_ManifestFactory$DoubleManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$FloatManifest$() { $c_s_reflect_AnyValManifest.call(this) } $c_s_reflect_ManifestFactory$FloatManifest$.prototype = new $h_s_reflect_AnyValManifest(); $c_s_reflect_ManifestFactory$FloatManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$FloatManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$FloatManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$FloatManifest$.prototype = $c_s_reflect_ManifestFactory$FloatManifest$.prototype; $c_s_reflect_ManifestFactory$FloatManifest$.prototype.init___ = (function() { this.toString$1 = "Float"; return this }); $c_s_reflect_ManifestFactory$FloatManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_F.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$FloatManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_F.getClassOf() }); var $d_s_reflect_ManifestFactory$FloatManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$FloatManifest$: 0 }, false, "scala.reflect.ManifestFactory$FloatManifest$", { s_reflect_ManifestFactory$FloatManifest$: 1, s_reflect_AnyValManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$FloatManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$FloatManifest$; var $n_s_reflect_ManifestFactory$FloatManifest$ = (void 0); function $m_s_reflect_ManifestFactory$FloatManifest$() { if ((!$n_s_reflect_ManifestFactory$FloatManifest$)) { $n_s_reflect_ManifestFactory$FloatManifest$ = new $c_s_reflect_ManifestFactory$FloatManifest$().init___() }; return $n_s_reflect_ManifestFactory$FloatManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$IntManifest$() { $c_s_reflect_AnyValManifest.call(this) } $c_s_reflect_ManifestFactory$IntManifest$.prototype = new $h_s_reflect_AnyValManifest(); $c_s_reflect_ManifestFactory$IntManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$IntManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$IntManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$IntManifest$.prototype = $c_s_reflect_ManifestFactory$IntManifest$.prototype; $c_s_reflect_ManifestFactory$IntManifest$.prototype.init___ = (function() { this.toString$1 = "Int"; return this }); $c_s_reflect_ManifestFactory$IntManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_I.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$IntManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_I.getClassOf() }); var $d_s_reflect_ManifestFactory$IntManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$IntManifest$: 0 }, false, "scala.reflect.ManifestFactory$IntManifest$", { s_reflect_ManifestFactory$IntManifest$: 1, s_reflect_AnyValManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$IntManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$IntManifest$; var $n_s_reflect_ManifestFactory$IntManifest$ = (void 0); function $m_s_reflect_ManifestFactory$IntManifest$() { if ((!$n_s_reflect_ManifestFactory$IntManifest$)) { $n_s_reflect_ManifestFactory$IntManifest$ = new $c_s_reflect_ManifestFactory$IntManifest$().init___() }; return $n_s_reflect_ManifestFactory$IntManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$LongManifest$() { $c_s_reflect_AnyValManifest.call(this) } $c_s_reflect_ManifestFactory$LongManifest$.prototype = new $h_s_reflect_AnyValManifest(); $c_s_reflect_ManifestFactory$LongManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$LongManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$LongManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$LongManifest$.prototype = $c_s_reflect_ManifestFactory$LongManifest$.prototype; $c_s_reflect_ManifestFactory$LongManifest$.prototype.init___ = (function() { this.toString$1 = "Long"; return this }); $c_s_reflect_ManifestFactory$LongManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_J.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$LongManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_J.getClassOf() }); var $d_s_reflect_ManifestFactory$LongManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$LongManifest$: 0 }, false, "scala.reflect.ManifestFactory$LongManifest$", { s_reflect_ManifestFactory$LongManifest$: 1, s_reflect_AnyValManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$LongManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$LongManifest$; var $n_s_reflect_ManifestFactory$LongManifest$ = (void 0); function $m_s_reflect_ManifestFactory$LongManifest$() { if ((!$n_s_reflect_ManifestFactory$LongManifest$)) { $n_s_reflect_ManifestFactory$LongManifest$ = new $c_s_reflect_ManifestFactory$LongManifest$().init___() }; return $n_s_reflect_ManifestFactory$LongManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$PhantomManifest() { $c_s_reflect_ManifestFactory$ClassTypeManifest.call(this); this.toString$2 = null } $c_s_reflect_ManifestFactory$PhantomManifest.prototype = new $h_s_reflect_ManifestFactory$ClassTypeManifest(); $c_s_reflect_ManifestFactory$PhantomManifest.prototype.constructor = $c_s_reflect_ManifestFactory$PhantomManifest; /** @constructor */ function $h_s_reflect_ManifestFactory$PhantomManifest() { /*<skip>*/ } $h_s_reflect_ManifestFactory$PhantomManifest.prototype = $c_s_reflect_ManifestFactory$PhantomManifest.prototype; $c_s_reflect_ManifestFactory$PhantomManifest.prototype.equals__O__Z = (function(that) { return (this === that) }); $c_s_reflect_ManifestFactory$PhantomManifest.prototype.toString__T = (function() { return this.toString$2 }); $c_s_reflect_ManifestFactory$PhantomManifest.prototype.hashCode__I = (function() { return $systemIdentityHashCode(this) }); /** @constructor */ function $c_s_reflect_ManifestFactory$ShortManifest$() { $c_s_reflect_AnyValManifest.call(this) } $c_s_reflect_ManifestFactory$ShortManifest$.prototype = new $h_s_reflect_AnyValManifest(); $c_s_reflect_ManifestFactory$ShortManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$ShortManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$ShortManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$ShortManifest$.prototype = $c_s_reflect_ManifestFactory$ShortManifest$.prototype; $c_s_reflect_ManifestFactory$ShortManifest$.prototype.init___ = (function() { this.toString$1 = "Short"; return this }); $c_s_reflect_ManifestFactory$ShortManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_S.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$ShortManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_S.getClassOf() }); var $d_s_reflect_ManifestFactory$ShortManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$ShortManifest$: 0 }, false, "scala.reflect.ManifestFactory$ShortManifest$", { s_reflect_ManifestFactory$ShortManifest$: 1, s_reflect_AnyValManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$ShortManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$ShortManifest$; var $n_s_reflect_ManifestFactory$ShortManifest$ = (void 0); function $m_s_reflect_ManifestFactory$ShortManifest$() { if ((!$n_s_reflect_ManifestFactory$ShortManifest$)) { $n_s_reflect_ManifestFactory$ShortManifest$ = new $c_s_reflect_ManifestFactory$ShortManifest$().init___() }; return $n_s_reflect_ManifestFactory$ShortManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$UnitManifest$() { $c_s_reflect_AnyValManifest.call(this) } $c_s_reflect_ManifestFactory$UnitManifest$.prototype = new $h_s_reflect_AnyValManifest(); $c_s_reflect_ManifestFactory$UnitManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$UnitManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$UnitManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$UnitManifest$.prototype = $c_s_reflect_ManifestFactory$UnitManifest$.prototype; $c_s_reflect_ManifestFactory$UnitManifest$.prototype.init___ = (function() { this.toString$1 = "Unit"; return this }); $c_s_reflect_ManifestFactory$UnitManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_sr_BoxedUnit.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$UnitManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_V.getClassOf() }); var $d_s_reflect_ManifestFactory$UnitManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$UnitManifest$: 0 }, false, "scala.reflect.ManifestFactory$UnitManifest$", { s_reflect_ManifestFactory$UnitManifest$: 1, s_reflect_AnyValManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$UnitManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$UnitManifest$; var $n_s_reflect_ManifestFactory$UnitManifest$ = (void 0); function $m_s_reflect_ManifestFactory$UnitManifest$() { if ((!$n_s_reflect_ManifestFactory$UnitManifest$)) { $n_s_reflect_ManifestFactory$UnitManifest$ = new $c_s_reflect_ManifestFactory$UnitManifest$().init___() }; return $n_s_reflect_ManifestFactory$UnitManifest$ } function $is_sc_IterableLike(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_IterableLike))) } function $as_sc_IterableLike(obj) { return (($is_sc_IterableLike(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.IterableLike")) } function $isArrayOf_sc_IterableLike(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_IterableLike))) } function $asArrayOf_sc_IterableLike(obj, depth) { return (($isArrayOf_sc_IterableLike(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.IterableLike;", depth)) } /** @constructor */ function $c_sci_List$() { $c_scg_SeqFactory.call(this); this.partialNotApplied$5 = null } $c_sci_List$.prototype = new $h_scg_SeqFactory(); $c_sci_List$.prototype.constructor = $c_sci_List$; /** @constructor */ function $h_sci_List$() { /*<skip>*/ } $h_sci_List$.prototype = $c_sci_List$.prototype; $c_sci_List$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); $n_sci_List$ = this; this.partialNotApplied$5 = new $c_sci_List$$anon$1().init___(); return this }); $c_sci_List$.prototype.empty__sc_GenTraversable = (function() { return $m_sci_Nil$() }); $c_sci_List$.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_ListBuffer().init___() }); var $d_sci_List$ = new $TypeData().initClass({ sci_List$: 0 }, false, "scala.collection.immutable.List$", { sci_List$: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_List$.prototype.$classData = $d_sci_List$; var $n_sci_List$ = (void 0); function $m_sci_List$() { if ((!$n_sci_List$)) { $n_sci_List$ = new $c_sci_List$().init___() }; return $n_sci_List$ } /** @constructor */ function $c_sci_Stream$() { $c_scg_SeqFactory.call(this) } $c_sci_Stream$.prototype = new $h_scg_SeqFactory(); $c_sci_Stream$.prototype.constructor = $c_sci_Stream$; /** @constructor */ function $h_sci_Stream$() { /*<skip>*/ } $h_sci_Stream$.prototype = $c_sci_Stream$.prototype; $c_sci_Stream$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_sci_Stream$.prototype.filteredTail__sci_Stream__F1__sci_Stream$Cons = (function(stream, p) { var hd = stream.head__O(); var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, stream$1, p$1) { return (function() { return $as_sci_Stream(stream$1.tail__O()).filter__F1__sci_Stream(p$1) }) })(this, stream, p)); return new $c_sci_Stream$Cons().init___O__F0(hd, tl) }); $c_sci_Stream$.prototype.from__I__I__sci_Stream = (function(start, step) { var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, start$1, step$1) { return (function() { return $this.from__I__I__sci_Stream(((start$1 + step$1) | 0), step$1) }) })(this, start, step)); return new $c_sci_Stream$Cons().init___O__F0(start, tl) }); $c_sci_Stream$.prototype.empty__sc_GenTraversable = (function() { return $m_sci_Stream$Empty$() }); $c_sci_Stream$.prototype.newBuilder__scm_Builder = (function() { return new $c_sci_Stream$StreamBuilder().init___() }); var $d_sci_Stream$ = new $TypeData().initClass({ sci_Stream$: 0 }, false, "scala.collection.immutable.Stream$", { sci_Stream$: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Stream$.prototype.$classData = $d_sci_Stream$; var $n_sci_Stream$ = (void 0); function $m_sci_Stream$() { if ((!$n_sci_Stream$)) { $n_sci_Stream$ = new $c_sci_Stream$().init___() }; return $n_sci_Stream$ } /** @constructor */ function $c_scm_ArrayBuffer$() { $c_scg_SeqFactory.call(this) } $c_scm_ArrayBuffer$.prototype = new $h_scg_SeqFactory(); $c_scm_ArrayBuffer$.prototype.constructor = $c_scm_ArrayBuffer$; /** @constructor */ function $h_scm_ArrayBuffer$() { /*<skip>*/ } $h_scm_ArrayBuffer$.prototype = $c_scm_ArrayBuffer$.prototype; $c_scm_ArrayBuffer$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_scm_ArrayBuffer$.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_ArrayBuffer().init___() }); var $d_scm_ArrayBuffer$ = new $TypeData().initClass({ scm_ArrayBuffer$: 0 }, false, "scala.collection.mutable.ArrayBuffer$", { scm_ArrayBuffer$: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_ArrayBuffer$.prototype.$classData = $d_scm_ArrayBuffer$; var $n_scm_ArrayBuffer$ = (void 0); function $m_scm_ArrayBuffer$() { if ((!$n_scm_ArrayBuffer$)) { $n_scm_ArrayBuffer$ = new $c_scm_ArrayBuffer$().init___() }; return $n_scm_ArrayBuffer$ } /** @constructor */ function $c_scm_ListBuffer$() { $c_scg_SeqFactory.call(this) } $c_scm_ListBuffer$.prototype = new $h_scg_SeqFactory(); $c_scm_ListBuffer$.prototype.constructor = $c_scm_ListBuffer$; /** @constructor */ function $h_scm_ListBuffer$() { /*<skip>*/ } $h_scm_ListBuffer$.prototype = $c_scm_ListBuffer$.prototype; $c_scm_ListBuffer$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); return this }); $c_scm_ListBuffer$.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_GrowingBuilder().init___scg_Growable(new $c_scm_ListBuffer().init___()) }); var $d_scm_ListBuffer$ = new $TypeData().initClass({ scm_ListBuffer$: 0 }, false, "scala.collection.mutable.ListBuffer$", { scm_ListBuffer$: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_ListBuffer$.prototype.$classData = $d_scm_ListBuffer$; var $n_scm_ListBuffer$ = (void 0); function $m_scm_ListBuffer$() { if ((!$n_scm_ListBuffer$)) { $n_scm_ListBuffer$ = new $c_scm_ListBuffer$().init___() }; return $n_scm_ListBuffer$ } /** @constructor */ function $c_s_reflect_ManifestFactory$AnyManifest$() { $c_s_reflect_ManifestFactory$PhantomManifest.call(this) } $c_s_reflect_ManifestFactory$AnyManifest$.prototype = new $h_s_reflect_ManifestFactory$PhantomManifest(); $c_s_reflect_ManifestFactory$AnyManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$AnyManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$AnyManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$AnyManifest$.prototype = $c_s_reflect_ManifestFactory$AnyManifest$.prototype; $c_s_reflect_ManifestFactory$AnyManifest$.prototype.init___ = (function() { this.toString$2 = "Any"; var prefix = $m_s_None$(); var typeArguments = $m_sci_Nil$(); this.prefix$1 = prefix; this.runtimeClass1$1 = $d_O.getClassOf(); this.typeArguments$1 = typeArguments; return this }); $c_s_reflect_ManifestFactory$AnyManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_O.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$AnyManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_O.getClassOf() }); var $d_s_reflect_ManifestFactory$AnyManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$AnyManifest$: 0 }, false, "scala.reflect.ManifestFactory$AnyManifest$", { s_reflect_ManifestFactory$AnyManifest$: 1, s_reflect_ManifestFactory$PhantomManifest: 1, s_reflect_ManifestFactory$ClassTypeManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$AnyManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$AnyManifest$; var $n_s_reflect_ManifestFactory$AnyManifest$ = (void 0); function $m_s_reflect_ManifestFactory$AnyManifest$() { if ((!$n_s_reflect_ManifestFactory$AnyManifest$)) { $n_s_reflect_ManifestFactory$AnyManifest$ = new $c_s_reflect_ManifestFactory$AnyManifest$().init___() }; return $n_s_reflect_ManifestFactory$AnyManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$AnyValManifest$() { $c_s_reflect_ManifestFactory$PhantomManifest.call(this) } $c_s_reflect_ManifestFactory$AnyValManifest$.prototype = new $h_s_reflect_ManifestFactory$PhantomManifest(); $c_s_reflect_ManifestFactory$AnyValManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$AnyValManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$AnyValManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$AnyValManifest$.prototype = $c_s_reflect_ManifestFactory$AnyValManifest$.prototype; $c_s_reflect_ManifestFactory$AnyValManifest$.prototype.init___ = (function() { this.toString$2 = "AnyVal"; var prefix = $m_s_None$(); var typeArguments = $m_sci_Nil$(); this.prefix$1 = prefix; this.runtimeClass1$1 = $d_O.getClassOf(); this.typeArguments$1 = typeArguments; return this }); $c_s_reflect_ManifestFactory$AnyValManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_O.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$AnyValManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_O.getClassOf() }); var $d_s_reflect_ManifestFactory$AnyValManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$AnyValManifest$: 0 }, false, "scala.reflect.ManifestFactory$AnyValManifest$", { s_reflect_ManifestFactory$AnyValManifest$: 1, s_reflect_ManifestFactory$PhantomManifest: 1, s_reflect_ManifestFactory$ClassTypeManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$AnyValManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$AnyValManifest$; var $n_s_reflect_ManifestFactory$AnyValManifest$ = (void 0); function $m_s_reflect_ManifestFactory$AnyValManifest$() { if ((!$n_s_reflect_ManifestFactory$AnyValManifest$)) { $n_s_reflect_ManifestFactory$AnyValManifest$ = new $c_s_reflect_ManifestFactory$AnyValManifest$().init___() }; return $n_s_reflect_ManifestFactory$AnyValManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$NothingManifest$() { $c_s_reflect_ManifestFactory$PhantomManifest.call(this) } $c_s_reflect_ManifestFactory$NothingManifest$.prototype = new $h_s_reflect_ManifestFactory$PhantomManifest(); $c_s_reflect_ManifestFactory$NothingManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$NothingManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$NothingManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$NothingManifest$.prototype = $c_s_reflect_ManifestFactory$NothingManifest$.prototype; $c_s_reflect_ManifestFactory$NothingManifest$.prototype.init___ = (function() { this.toString$2 = "Nothing"; var prefix = $m_s_None$(); var typeArguments = $m_sci_Nil$(); this.prefix$1 = prefix; this.runtimeClass1$1 = $d_sr_Nothing$.getClassOf(); this.typeArguments$1 = typeArguments; return this }); $c_s_reflect_ManifestFactory$NothingManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_O.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$NothingManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_sr_Nothing$.getClassOf() }); var $d_s_reflect_ManifestFactory$NothingManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$NothingManifest$: 0 }, false, "scala.reflect.ManifestFactory$NothingManifest$", { s_reflect_ManifestFactory$NothingManifest$: 1, s_reflect_ManifestFactory$PhantomManifest: 1, s_reflect_ManifestFactory$ClassTypeManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$NothingManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$NothingManifest$; var $n_s_reflect_ManifestFactory$NothingManifest$ = (void 0); function $m_s_reflect_ManifestFactory$NothingManifest$() { if ((!$n_s_reflect_ManifestFactory$NothingManifest$)) { $n_s_reflect_ManifestFactory$NothingManifest$ = new $c_s_reflect_ManifestFactory$NothingManifest$().init___() }; return $n_s_reflect_ManifestFactory$NothingManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$NullManifest$() { $c_s_reflect_ManifestFactory$PhantomManifest.call(this) } $c_s_reflect_ManifestFactory$NullManifest$.prototype = new $h_s_reflect_ManifestFactory$PhantomManifest(); $c_s_reflect_ManifestFactory$NullManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$NullManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$NullManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$NullManifest$.prototype = $c_s_reflect_ManifestFactory$NullManifest$.prototype; $c_s_reflect_ManifestFactory$NullManifest$.prototype.init___ = (function() { this.toString$2 = "Null"; var prefix = $m_s_None$(); var typeArguments = $m_sci_Nil$(); this.prefix$1 = prefix; this.runtimeClass1$1 = $d_sr_Null$.getClassOf(); this.typeArguments$1 = typeArguments; return this }); $c_s_reflect_ManifestFactory$NullManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_O.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$NullManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_sr_Null$.getClassOf() }); var $d_s_reflect_ManifestFactory$NullManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$NullManifest$: 0 }, false, "scala.reflect.ManifestFactory$NullManifest$", { s_reflect_ManifestFactory$NullManifest$: 1, s_reflect_ManifestFactory$PhantomManifest: 1, s_reflect_ManifestFactory$ClassTypeManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$NullManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$NullManifest$; var $n_s_reflect_ManifestFactory$NullManifest$ = (void 0); function $m_s_reflect_ManifestFactory$NullManifest$() { if ((!$n_s_reflect_ManifestFactory$NullManifest$)) { $n_s_reflect_ManifestFactory$NullManifest$ = new $c_s_reflect_ManifestFactory$NullManifest$().init___() }; return $n_s_reflect_ManifestFactory$NullManifest$ } /** @constructor */ function $c_s_reflect_ManifestFactory$ObjectManifest$() { $c_s_reflect_ManifestFactory$PhantomManifest.call(this) } $c_s_reflect_ManifestFactory$ObjectManifest$.prototype = new $h_s_reflect_ManifestFactory$PhantomManifest(); $c_s_reflect_ManifestFactory$ObjectManifest$.prototype.constructor = $c_s_reflect_ManifestFactory$ObjectManifest$; /** @constructor */ function $h_s_reflect_ManifestFactory$ObjectManifest$() { /*<skip>*/ } $h_s_reflect_ManifestFactory$ObjectManifest$.prototype = $c_s_reflect_ManifestFactory$ObjectManifest$.prototype; $c_s_reflect_ManifestFactory$ObjectManifest$.prototype.init___ = (function() { this.toString$2 = "Object"; var prefix = $m_s_None$(); var typeArguments = $m_sci_Nil$(); this.prefix$1 = prefix; this.runtimeClass1$1 = $d_O.getClassOf(); this.typeArguments$1 = typeArguments; return this }); $c_s_reflect_ManifestFactory$ObjectManifest$.prototype.newArray__I__O = (function(len) { return $newArrayObject($d_O.getArrayOf(), [len]) }); $c_s_reflect_ManifestFactory$ObjectManifest$.prototype.runtimeClass__jl_Class = (function() { return $d_O.getClassOf() }); var $d_s_reflect_ManifestFactory$ObjectManifest$ = new $TypeData().initClass({ s_reflect_ManifestFactory$ObjectManifest$: 0 }, false, "scala.reflect.ManifestFactory$ObjectManifest$", { s_reflect_ManifestFactory$ObjectManifest$: 1, s_reflect_ManifestFactory$PhantomManifest: 1, s_reflect_ManifestFactory$ClassTypeManifest: 1, O: 1, s_reflect_Manifest: 1, s_reflect_ClassTag: 1, s_reflect_ClassManifestDeprecatedApis: 1, s_reflect_OptManifest: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_Equals: 1 }); $c_s_reflect_ManifestFactory$ObjectManifest$.prototype.$classData = $d_s_reflect_ManifestFactory$ObjectManifest$; var $n_s_reflect_ManifestFactory$ObjectManifest$ = (void 0); function $m_s_reflect_ManifestFactory$ObjectManifest$() { if ((!$n_s_reflect_ManifestFactory$ObjectManifest$)) { $n_s_reflect_ManifestFactory$ObjectManifest$ = new $c_s_reflect_ManifestFactory$ObjectManifest$().init___() }; return $n_s_reflect_ManifestFactory$ObjectManifest$ } function $is_sc_GenMap(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_GenMap))) } function $as_sc_GenMap(obj) { return (($is_sc_GenMap(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.GenMap")) } function $isArrayOf_sc_GenMap(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_GenMap))) } function $asArrayOf_sc_GenMap(obj, depth) { return (($isArrayOf_sc_GenMap(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.GenMap;", depth)) } function $is_sc_GenSeq(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_GenSeq))) } function $as_sc_GenSeq(obj) { return (($is_sc_GenSeq(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.GenSeq")) } function $isArrayOf_sc_GenSeq(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_GenSeq))) } function $asArrayOf_sc_GenSeq(obj, depth) { return (($isArrayOf_sc_GenSeq(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.GenSeq;", depth)) } /** @constructor */ function $c_sci_Vector$() { $c_scg_IndexedSeqFactory.call(this); this.NIL$6 = null; this.Log2ConcatFaster$6 = 0; this.TinyAppendFaster$6 = 0 } $c_sci_Vector$.prototype = new $h_scg_IndexedSeqFactory(); $c_sci_Vector$.prototype.constructor = $c_sci_Vector$; /** @constructor */ function $h_sci_Vector$() { /*<skip>*/ } $h_sci_Vector$.prototype = $c_sci_Vector$.prototype; $c_sci_Vector$.prototype.init___ = (function() { $c_scg_GenTraversableFactory.prototype.init___.call(this); $n_sci_Vector$ = this; this.NIL$6 = new $c_sci_Vector().init___I__I__I(0, 0, 0); return this }); $c_sci_Vector$.prototype.empty__sc_GenTraversable = (function() { return this.NIL$6 }); $c_sci_Vector$.prototype.newBuilder__scm_Builder = (function() { return new $c_sci_VectorBuilder().init___() }); var $d_sci_Vector$ = new $TypeData().initClass({ sci_Vector$: 0 }, false, "scala.collection.immutable.Vector$", { sci_Vector$: 1, scg_IndexedSeqFactory: 1, scg_SeqFactory: 1, scg_GenSeqFactory: 1, scg_GenTraversableFactory: 1, scg_GenericCompanion: 1, O: 1, scg_TraversableFactory: 1, scg_GenericSeqCompanion: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Vector$.prototype.$classData = $d_sci_Vector$; var $n_sci_Vector$ = (void 0); function $m_sci_Vector$() { if ((!$n_sci_Vector$)) { $n_sci_Vector$ = new $c_sci_Vector$().init___() }; return $n_sci_Vector$ } /** @constructor */ function $c_s_math_Numeric$IntIsIntegral$() { $c_O.call(this) } $c_s_math_Numeric$IntIsIntegral$.prototype = new $h_O(); $c_s_math_Numeric$IntIsIntegral$.prototype.constructor = $c_s_math_Numeric$IntIsIntegral$; /** @constructor */ function $h_s_math_Numeric$IntIsIntegral$() { /*<skip>*/ } $h_s_math_Numeric$IntIsIntegral$.prototype = $c_s_math_Numeric$IntIsIntegral$.prototype; $c_s_math_Numeric$IntIsIntegral$.prototype.reverse__s_math_Ordering = (function() { return new $c_s_math_Ordering$$anon$4().init___s_math_Ordering(this) }); $c_s_math_Numeric$IntIsIntegral$.prototype.init___ = (function() { return this }); $c_s_math_Numeric$IntIsIntegral$.prototype.gteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__gteq__s_math_Ordering__O__O__Z(this, x, y) }); $c_s_math_Numeric$IntIsIntegral$.prototype.compare__O__O__I = (function(x, y) { var x$1 = $uI(x); var y$1 = $uI(y); return $s_s_math_Ordering$IntOrdering$class__compare__s_math_Ordering$IntOrdering__I__I__I(this, x$1, y$1) }); $c_s_math_Numeric$IntIsIntegral$.prototype.lteq__O__O__Z = (function(x, y) { return $s_s_math_Ordering$class__lteq__s_math_Ordering__O__O__Z(this, x, y) }); var $d_s_math_Numeric$IntIsIntegral$ = new $TypeData().initClass({ s_math_Numeric$IntIsIntegral$: 0 }, false, "scala.math.Numeric$IntIsIntegral$", { s_math_Numeric$IntIsIntegral$: 1, O: 1, s_math_Numeric$IntIsIntegral: 1, s_math_Integral: 1, s_math_Numeric: 1, s_math_Ordering: 1, ju_Comparator: 1, s_math_PartialOrdering: 1, s_math_Equiv: 1, s_Serializable: 1, Ljava_io_Serializable: 1, s_math_Ordering$IntOrdering: 1 }); $c_s_math_Numeric$IntIsIntegral$.prototype.$classData = $d_s_math_Numeric$IntIsIntegral$; var $n_s_math_Numeric$IntIsIntegral$ = (void 0); function $m_s_math_Numeric$IntIsIntegral$() { if ((!$n_s_math_Numeric$IntIsIntegral$)) { $n_s_math_Numeric$IntIsIntegral$ = new $c_s_math_Numeric$IntIsIntegral$().init___() }; return $n_s_math_Numeric$IntIsIntegral$ } /** @constructor */ function $c_sc_AbstractTraversable() { $c_O.call(this) } $c_sc_AbstractTraversable.prototype = new $h_O(); $c_sc_AbstractTraversable.prototype.constructor = $c_sc_AbstractTraversable; /** @constructor */ function $h_sc_AbstractTraversable() { /*<skip>*/ } $h_sc_AbstractTraversable.prototype = $c_sc_AbstractTraversable.prototype; $c_sc_AbstractTraversable.prototype.flatten__F1__sc_GenTraversable = (function(asTraversable) { return $s_scg_GenericTraversableTemplate$class__flatten__scg_GenericTraversableTemplate__F1__sc_GenTraversable(this, asTraversable) }); $c_sc_AbstractTraversable.prototype.toList__sci_List = (function() { var this$1 = $m_sci_List$(); var cbf = this$1.ReusableCBFInstance$2; return $as_sci_List($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_sc_AbstractTraversable.prototype.flatMap__F1__scg_CanBuildFrom__O = (function(f, bf) { return $s_sc_TraversableLike$class__flatMap__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) }); $c_sc_AbstractTraversable.prototype.count__F1__I = (function(p) { return $s_sc_TraversableOnce$class__count__sc_TraversableOnce__F1__I(this, p) }); $c_sc_AbstractTraversable.prototype.mkString__T__T = (function(sep) { return this.mkString__T__T__T__T("", sep, "") }); $c_sc_AbstractTraversable.prototype.mkString__T__T__T__T = (function(start, sep, end) { return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, start, sep, end) }); $c_sc_AbstractTraversable.prototype.withFilter__F1__scg_FilterMonadic = (function(p) { return new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(this, p) }); $c_sc_AbstractTraversable.prototype.init__O = (function() { return $s_sc_TraversableLike$class__init__sc_TraversableLike__O(this) }); $c_sc_AbstractTraversable.prototype.foldLeft__O__F2__O = (function(z, op) { return $s_sc_TraversableOnce$class__foldLeft__sc_TraversableOnce__O__F2__O(this, z, op) }); $c_sc_AbstractTraversable.prototype.toVector__sci_Vector = (function() { $m_sci_Vector$(); var cbf = $m_sc_IndexedSeq$().ReusableCBF$6; return $as_sci_Vector($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_sc_AbstractTraversable.prototype.filter__F1__O = (function(p) { return $s_sc_TraversableLike$class__filterImpl__p0__sc_TraversableLike__F1__Z__O(this, p, false) }); $c_sc_AbstractTraversable.prototype.span__F1__T2 = (function(p) { return $s_sc_TraversableLike$class__span__sc_TraversableLike__F1__T2(this, p) }); $c_sc_AbstractTraversable.prototype.mkString__T = (function() { return this.mkString__T__T("") }); $c_sc_AbstractTraversable.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, that, bf) }); $c_sc_AbstractTraversable.prototype.partition__F1__T2 = (function(p) { return $s_sc_TraversableLike$class__partition__sc_TraversableLike__F1__T2(this, p) }); $c_sc_AbstractTraversable.prototype.last__O = (function() { return $s_sc_TraversableLike$class__last__sc_TraversableLike__O(this) }); $c_sc_AbstractTraversable.prototype.tail__O = (function() { return $s_sc_TraversableLike$class__tail__sc_TraversableLike__O(this) }); $c_sc_AbstractTraversable.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) { return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this, b, start, sep, end) }); $c_sc_AbstractTraversable.prototype.max__s_math_Ordering__O = (function(cmp) { return $s_sc_TraversableOnce$class__max__sc_TraversableOnce__s_math_Ordering__O(this, cmp) }); $c_sc_AbstractTraversable.prototype.toSet__sci_Set = (function() { var this$1 = $m_sci_Set$(); var cbf = new $c_scg_GenSetFactory$$anon$1().init___scg_GenSetFactory(this$1); return $as_sci_Set($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_sc_AbstractTraversable.prototype.repr__O = (function() { return this }); $c_sc_AbstractTraversable.prototype.$$div$colon__O__F2__O = (function(z, op) { return this.foldLeft__O__F2__O(z, op) }); $c_sc_AbstractTraversable.prototype.isTraversableAgain__Z = (function() { return true }); $c_sc_AbstractTraversable.prototype.toMap__s_Predef$$less$colon$less__sci_Map = (function(ev) { var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); this.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($$this, b$1, ev$1) { return (function(x$2) { return b$1.$$plus$eq__O__scm_Builder(x$2) }) })(this, b, ev))); return $as_sci_Map(b.elems$1) }); $c_sc_AbstractTraversable.prototype.sum__s_math_Numeric__O = (function(num) { return $s_sc_TraversableOnce$class__sum__sc_TraversableOnce__s_math_Numeric__O(this, num) }); $c_sc_AbstractTraversable.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { return $s_sc_TraversableLike$class__map__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) }); $c_sc_AbstractTraversable.prototype.reduceLeft__F2__O = (function(op) { return $s_sc_TraversableOnce$class__reduceLeft__sc_TraversableOnce__F2__O(this, op) }); $c_sc_AbstractTraversable.prototype.newBuilder__scm_Builder = (function() { return this.companion__scg_GenericCompanion().newBuilder__scm_Builder() }); $c_sc_AbstractTraversable.prototype.stringPrefix__T = (function() { return $s_sc_TraversableLike$class__stringPrefix__sc_TraversableLike__T(this) }); function $is_sc_SeqLike(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_SeqLike))) } function $as_sc_SeqLike(obj) { return (($is_sc_SeqLike(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.SeqLike")) } function $isArrayOf_sc_SeqLike(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_SeqLike))) } function $asArrayOf_sc_SeqLike(obj, depth) { return (($isArrayOf_sc_SeqLike(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.SeqLike;", depth)) } function $is_sc_GenSet(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_GenSet))) } function $as_sc_GenSet(obj) { return (($is_sc_GenSet(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.GenSet")) } function $isArrayOf_sc_GenSet(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_GenSet))) } function $asArrayOf_sc_GenSet(obj, depth) { return (($isArrayOf_sc_GenSet(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.GenSet;", depth)) } function $is_sc_IndexedSeqLike(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_IndexedSeqLike))) } function $as_sc_IndexedSeqLike(obj) { return (($is_sc_IndexedSeqLike(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.IndexedSeqLike")) } function $isArrayOf_sc_IndexedSeqLike(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_IndexedSeqLike))) } function $asArrayOf_sc_IndexedSeqLike(obj, depth) { return (($isArrayOf_sc_IndexedSeqLike(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.IndexedSeqLike;", depth)) } function $is_sc_LinearSeqLike(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_LinearSeqLike))) } function $as_sc_LinearSeqLike(obj) { return (($is_sc_LinearSeqLike(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.LinearSeqLike")) } function $isArrayOf_sc_LinearSeqLike(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_LinearSeqLike))) } function $asArrayOf_sc_LinearSeqLike(obj, depth) { return (($isArrayOf_sc_LinearSeqLike(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.LinearSeqLike;", depth)) } function $is_sc_LinearSeqOptimized(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_LinearSeqOptimized))) } function $as_sc_LinearSeqOptimized(obj) { return (($is_sc_LinearSeqOptimized(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.LinearSeqOptimized")) } function $isArrayOf_sc_LinearSeqOptimized(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_LinearSeqOptimized))) } function $asArrayOf_sc_LinearSeqOptimized(obj, depth) { return (($isArrayOf_sc_LinearSeqOptimized(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.LinearSeqOptimized;", depth)) } function $is_sc_SetLike(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_SetLike))) } function $as_sc_SetLike(obj) { return (($is_sc_SetLike(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.SetLike")) } function $isArrayOf_sc_SetLike(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_SetLike))) } function $asArrayOf_sc_SetLike(obj, depth) { return (($isArrayOf_sc_SetLike(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.SetLike;", depth)) } /** @constructor */ function $c_sc_AbstractIterable() { $c_sc_AbstractTraversable.call(this) } $c_sc_AbstractIterable.prototype = new $h_sc_AbstractTraversable(); $c_sc_AbstractIterable.prototype.constructor = $c_sc_AbstractIterable; /** @constructor */ function $h_sc_AbstractIterable() { /*<skip>*/ } $h_sc_AbstractIterable.prototype = $c_sc_AbstractIterable.prototype; $c_sc_AbstractIterable.prototype.head__O = (function() { return this.iterator__sc_Iterator().next__O() }); $c_sc_AbstractIterable.prototype.exists__F1__Z = (function(p) { var this$1 = this.iterator__sc_Iterator(); return $s_sc_Iterator$class__exists__sc_Iterator__F1__Z(this$1, p) }); $c_sc_AbstractIterable.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_IterableLike$class__sameElements__sc_IterableLike__sc_GenIterable__Z(this, that) }); $c_sc_AbstractIterable.prototype.forall__F1__Z = (function(p) { var this$1 = this.iterator__sc_Iterator(); return $s_sc_Iterator$class__forall__sc_Iterator__F1__Z(this$1, p) }); $c_sc_AbstractIterable.prototype.foreach__F1__V = (function(f) { var this$1 = this.iterator__sc_Iterator(); $s_sc_Iterator$class__foreach__sc_Iterator__F1__V(this$1, f) }); $c_sc_AbstractIterable.prototype.zipWithIndex__scg_CanBuildFrom__O = (function(bf) { return $s_sc_IterableLike$class__zipWithIndex__sc_IterableLike__scg_CanBuildFrom__O(this, bf) }); $c_sc_AbstractIterable.prototype.take__I__O = (function(n) { return $s_sc_IterableLike$class__take__sc_IterableLike__I__O(this, n) }); $c_sc_AbstractIterable.prototype.drop__I__O = (function(n) { return $s_sc_IterableLike$class__drop__sc_IterableLike__I__O(this, n) }); $c_sc_AbstractIterable.prototype.toStream__sci_Stream = (function() { return this.iterator__sc_Iterator().toStream__sci_Stream() }); $c_sc_AbstractIterable.prototype.copyToArray__O__I__I__V = (function(xs, start, len) { $s_sc_IterableLike$class__copyToArray__sc_IterableLike__O__I__I__V(this, xs, start, len) }); $c_sc_AbstractIterable.prototype.zip__sc_GenIterable__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_IterableLike$class__zip__sc_IterableLike__sc_GenIterable__scg_CanBuildFrom__O(this, that, bf) }); function $is_sci_Iterable(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Iterable))) } function $as_sci_Iterable(obj) { return (($is_sci_Iterable(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.Iterable")) } function $isArrayOf_sci_Iterable(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_Iterable))) } function $asArrayOf_sci_Iterable(obj, depth) { return (($isArrayOf_sci_Iterable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.Iterable;", depth)) } var $d_sci_Iterable = new $TypeData().initClass({ sci_Iterable: 0 }, true, "scala.collection.immutable.Iterable", { sci_Iterable: 1, sci_Traversable: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, s_Immutable: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1 }); /** @constructor */ function $c_sci_StringOps() { $c_O.call(this); this.repr$1 = null } $c_sci_StringOps.prototype = new $h_O(); $c_sci_StringOps.prototype.constructor = $c_sci_StringOps; /** @constructor */ function $h_sci_StringOps() { /*<skip>*/ } $h_sci_StringOps.prototype = $c_sci_StringOps.prototype; $c_sci_StringOps.prototype.seq__sc_TraversableOnce = (function() { var $$this = this.repr$1; return new $c_sci_WrappedString().init___T($$this) }); $c_sci_StringOps.prototype.head__O = (function() { return $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this) }); $c_sci_StringOps.prototype.apply__I__O = (function(idx) { var $$this = this.repr$1; var c = (65535 & $uI($$this.charCodeAt(idx))); return new $c_jl_Character().init___C(c) }); $c_sci_StringOps.prototype.lengthCompare__I__I = (function(len) { return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len) }); $c_sci_StringOps.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that) }); $c_sci_StringOps.prototype.exists__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__exists__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_sci_StringOps.prototype.toList__sci_List = (function() { var this$1 = $m_sci_List$(); var cbf = this$1.ReusableCBFInstance$2; return $as_sci_List($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_sci_StringOps.prototype.isEmpty__Z = (function() { return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this) }); $c_sci_StringOps.prototype.thisCollection__sc_Traversable = (function() { var $$this = this.repr$1; return new $c_sci_WrappedString().init___T($$this) }); $c_sci_StringOps.prototype.equals__O__Z = (function(x$1) { return $m_sci_StringOps$().equals$extension__T__O__Z(this.repr$1, x$1) }); $c_sci_StringOps.prototype.apply__I__C = (function(index) { var $$this = this.repr$1; return (65535 & $uI($$this.charCodeAt(index))) }); $c_sci_StringOps.prototype.mkString__T__T = (function(sep) { return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, "", sep, "") }); $c_sci_StringOps.prototype.mkString__T__T__T__T = (function(start, sep, end) { return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, start, sep, end) }); $c_sci_StringOps.prototype.withFilter__F1__scg_FilterMonadic = (function(p) { return new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(this, p) }); $c_sci_StringOps.prototype.forall__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__forall__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_sci_StringOps.prototype.init__O = (function() { return $s_sc_IndexedSeqOptimized$class__init__sc_IndexedSeqOptimized__O(this) }); $c_sci_StringOps.prototype.toString__T = (function() { var $$this = this.repr$1; return $$this }); $c_sci_StringOps.prototype.foreach__F1__V = (function(f) { $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f) }); $c_sci_StringOps.prototype.compareTo__O__I = (function(that) { var other = $as_T(that); var $$this = this.repr$1; return (($$this === other) ? 0 : ($uZ(($$this < other)) ? (-1) : 1)) }); $c_sci_StringOps.prototype.foldLeft__O__F2__O = (function(z, op) { var $$this = this.repr$1; return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, $uI($$this.length), z, op) }); $c_sci_StringOps.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_IndexedSeqOptimized$class__indexWhere__sc_IndexedSeqOptimized__F1__I__I(this, p, from) }); $c_sci_StringOps.prototype.slice__I__I__O = (function(from, until) { return $m_sci_StringOps$().slice$extension__T__I__I__T(this.repr$1, from, until) }); $c_sci_StringOps.prototype.toVector__sci_Vector = (function() { $m_sci_Vector$(); var cbf = $m_sc_IndexedSeq$().ReusableCBF$6; return $as_sci_Vector($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_sci_StringOps.prototype.filter__F1__O = (function(p) { return $s_sc_TraversableLike$class__filterImpl__p0__sc_TraversableLike__F1__Z__O(this, p, false) }); $c_sci_StringOps.prototype.reverse__O = (function() { return $s_sc_IndexedSeqOptimized$class__reverse__sc_IndexedSeqOptimized__O(this) }); $c_sci_StringOps.prototype.size__I = (function() { var $$this = this.repr$1; return $uI($$this.length) }); $c_sci_StringOps.prototype.iterator__sc_Iterator = (function() { var $$this = this.repr$1; return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $uI($$this.length)) }); $c_sci_StringOps.prototype.span__F1__T2 = (function(p) { return $s_sc_IndexedSeqOptimized$class__span__sc_IndexedSeqOptimized__F1__T2(this, p) }); $c_sci_StringOps.prototype.length__I = (function() { var $$this = this.repr$1; return $uI($$this.length) }); $c_sci_StringOps.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, that, bf) }); $c_sci_StringOps.prototype.partition__F1__T2 = (function(p) { return $s_sc_TraversableLike$class__partition__sc_TraversableLike__F1__T2(this, p) }); $c_sci_StringOps.prototype.take__I__O = (function(n) { return $m_sci_StringOps$().slice$extension__T__I__I__T(this.repr$1, 0, n) }); $c_sci_StringOps.prototype.toStream__sci_Stream = (function() { var $$this = this.repr$1; var this$3 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $uI($$this.length)); return $s_sc_Iterator$class__toStream__sc_Iterator__sci_Stream(this$3) }); $c_sci_StringOps.prototype.last__O = (function() { return $s_sc_IndexedSeqOptimized$class__last__sc_IndexedSeqOptimized__O(this) }); $c_sci_StringOps.prototype.drop__I__O = (function(n) { var $$this = this.repr$1; var until = $uI($$this.length); return $m_sci_StringOps$().slice$extension__T__I__I__T(this.repr$1, n, until) }); $c_sci_StringOps.prototype.thisCollection__sc_Seq = (function() { var $$this = this.repr$1; return new $c_sci_WrappedString().init___T($$this) }); $c_sci_StringOps.prototype.tail__O = (function() { return $s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O(this) }); $c_sci_StringOps.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) { return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this, b, start, sep, end) }); $c_sci_StringOps.prototype.max__s_math_Ordering__O = (function(cmp) { return $s_sc_TraversableOnce$class__max__sc_TraversableOnce__s_math_Ordering__O(this, cmp) }); $c_sci_StringOps.prototype.repr__O = (function() { return this.repr$1 }); $c_sci_StringOps.prototype.toSet__sci_Set = (function() { var this$1 = $m_sci_Set$(); var cbf = new $c_scg_GenSetFactory$$anon$1().init___scg_GenSetFactory(this$1); return $as_sci_Set($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_sci_StringOps.prototype.$$div$colon__O__F2__O = (function(z, op) { var $$this = this.repr$1; return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, $uI($$this.length), z, op) }); $c_sci_StringOps.prototype.copyToArray__O__I__I__V = (function(xs, start, len) { $s_sc_IndexedSeqOptimized$class__copyToArray__sc_IndexedSeqOptimized__O__I__I__V(this, xs, start, len) }); $c_sci_StringOps.prototype.hashCode__I = (function() { var $$this = this.repr$1; return $m_sjsr_RuntimeString$().hashCode__T__I($$this) }); $c_sci_StringOps.prototype.isTraversableAgain__Z = (function() { return true }); $c_sci_StringOps.prototype.init___T = (function(repr) { this.repr$1 = repr; return this }); $c_sci_StringOps.prototype.toMap__s_Predef$$less$colon$less__sci_Map = (function(ev) { var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var $$this = this.repr$1; var len = $uI($$this.length); while ((i < len)) { var arg1 = this.apply__I__O(i); b.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; return $as_sci_Map(b.elems$1) }); $c_sci_StringOps.prototype.sum__s_math_Numeric__O = (function(num) { return $s_sc_TraversableOnce$class__sum__sc_TraversableOnce__s_math_Numeric__O(this, num) }); $c_sci_StringOps.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { return $s_sc_TraversableLike$class__map__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) }); $c_sci_StringOps.prototype.toCollection__O__sc_Seq = (function(repr) { var repr$1 = $as_T(repr); return new $c_sci_WrappedString().init___T(repr$1) }); $c_sci_StringOps.prototype.reduceLeft__F2__O = (function(op) { return $s_sc_IndexedSeqOptimized$class__reduceLeft__sc_IndexedSeqOptimized__F2__O(this, op) }); $c_sci_StringOps.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_StringBuilder().init___() }); $c_sci_StringOps.prototype.stringPrefix__T = (function() { return $s_sc_TraversableLike$class__stringPrefix__sc_TraversableLike__T(this) }); function $is_sci_StringOps(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_StringOps))) } function $as_sci_StringOps(obj) { return (($is_sci_StringOps(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.StringOps")) } function $isArrayOf_sci_StringOps(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_StringOps))) } function $asArrayOf_sci_StringOps(obj, depth) { return (($isArrayOf_sci_StringOps(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.StringOps;", depth)) } var $d_sci_StringOps = new $TypeData().initClass({ sci_StringOps: 0 }, false, "scala.collection.immutable.StringOps", { sci_StringOps: 1, O: 1, sci_StringLike: 1, sc_IndexedSeqOptimized: 1, sc_IndexedSeqLike: 1, sc_SeqLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenIterableLike: 1, sc_GenSeqLike: 1, s_math_Ordered: 1, jl_Comparable: 1 }); $c_sci_StringOps.prototype.$classData = $d_sci_StringOps; function $is_sc_Seq(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_Seq))) } function $as_sc_Seq(obj) { return (($is_sc_Seq(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.Seq")) } function $isArrayOf_sc_Seq(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_Seq))) } function $asArrayOf_sc_Seq(obj, depth) { return (($isArrayOf_sc_Seq(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.Seq;", depth)) } /** @constructor */ function $c_scm_ArrayOps$ofRef() { $c_O.call(this); this.repr$1 = null } $c_scm_ArrayOps$ofRef.prototype = new $h_O(); $c_scm_ArrayOps$ofRef.prototype.constructor = $c_scm_ArrayOps$ofRef; /** @constructor */ function $h_scm_ArrayOps$ofRef() { /*<skip>*/ } $h_scm_ArrayOps$ofRef.prototype = $c_scm_ArrayOps$ofRef.prototype; $c_scm_ArrayOps$ofRef.prototype.seq__sc_TraversableOnce = (function() { var $$this = this.repr$1; return new $c_scm_WrappedArray$ofRef().init___AO($$this) }); $c_scm_ArrayOps$ofRef.prototype.head__O = (function() { return $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayOps$ofRef.prototype.apply__I__O = (function(index) { var $$this = this.repr$1; return $$this.u[index] }); $c_scm_ArrayOps$ofRef.prototype.lengthCompare__I__I = (function(len) { return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len) }); $c_scm_ArrayOps$ofRef.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that) }); $c_scm_ArrayOps$ofRef.prototype.exists__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__exists__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_scm_ArrayOps$ofRef.prototype.toList__sci_List = (function() { var this$1 = $m_sci_List$(); var cbf = this$1.ReusableCBFInstance$2; return $as_sci_List($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_scm_ArrayOps$ofRef.prototype.isEmpty__Z = (function() { return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this) }); $c_scm_ArrayOps$ofRef.prototype.thisCollection__sc_Traversable = (function() { var $$this = this.repr$1; return new $c_scm_WrappedArray$ofRef().init___AO($$this) }); $c_scm_ArrayOps$ofRef.prototype.equals__O__Z = (function(x$1) { return $m_scm_ArrayOps$ofRef$().equals$extension__AO__O__Z(this.repr$1, x$1) }); $c_scm_ArrayOps$ofRef.prototype.mkString__T__T = (function(sep) { return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, "", sep, "") }); $c_scm_ArrayOps$ofRef.prototype.mkString__T__T__T__T = (function(start, sep, end) { return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, start, sep, end) }); $c_scm_ArrayOps$ofRef.prototype.forall__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__forall__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_scm_ArrayOps$ofRef.prototype.withFilter__F1__scg_FilterMonadic = (function(p) { return new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(this, p) }); $c_scm_ArrayOps$ofRef.prototype.init__O = (function() { return $s_sc_IndexedSeqOptimized$class__init__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayOps$ofRef.prototype.toString__T = (function() { return $s_sc_TraversableLike$class__toString__sc_TraversableLike__T(this) }); $c_scm_ArrayOps$ofRef.prototype.foreach__F1__V = (function(f) { $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f) }); $c_scm_ArrayOps$ofRef.prototype.foldLeft__O__F2__O = (function(z, op) { var $$this = this.repr$1; return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, $$this.u.length, z, op) }); $c_scm_ArrayOps$ofRef.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_IndexedSeqOptimized$class__indexWhere__sc_IndexedSeqOptimized__F1__I__I(this, p, from) }); $c_scm_ArrayOps$ofRef.prototype.slice__I__I__O = (function(from, until) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, from, until) }); $c_scm_ArrayOps$ofRef.prototype.toVector__sci_Vector = (function() { $m_sci_Vector$(); var cbf = $m_sc_IndexedSeq$().ReusableCBF$6; return $as_sci_Vector($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_scm_ArrayOps$ofRef.prototype.filter__F1__O = (function(p) { return $s_sc_TraversableLike$class__filterImpl__p0__sc_TraversableLike__F1__Z__O(this, p, false) }); $c_scm_ArrayOps$ofRef.prototype.reverse__O = (function() { return $s_sc_IndexedSeqOptimized$class__reverse__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayOps$ofRef.prototype.size__I = (function() { var $$this = this.repr$1; return $$this.u.length }); $c_scm_ArrayOps$ofRef.prototype.init___AO = (function(repr) { this.repr$1 = repr; return this }); $c_scm_ArrayOps$ofRef.prototype.iterator__sc_Iterator = (function() { var $$this = this.repr$1; return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $$this.u.length) }); $c_scm_ArrayOps$ofRef.prototype.span__F1__T2 = (function(p) { return $s_sc_IndexedSeqOptimized$class__span__sc_IndexedSeqOptimized__F1__T2(this, p) }); $c_scm_ArrayOps$ofRef.prototype.length__I = (function() { var $$this = this.repr$1; return $$this.u.length }); $c_scm_ArrayOps$ofRef.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, that, bf) }); $c_scm_ArrayOps$ofRef.prototype.partition__F1__T2 = (function(p) { return $s_sc_TraversableLike$class__partition__sc_TraversableLike__F1__T2(this, p) }); $c_scm_ArrayOps$ofRef.prototype.take__I__O = (function(n) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, 0, n) }); $c_scm_ArrayOps$ofRef.prototype.toStream__sci_Stream = (function() { var $$this = this.repr$1; var this$2 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $$this.u.length); return $s_sc_Iterator$class__toStream__sc_Iterator__sci_Stream(this$2) }); $c_scm_ArrayOps$ofRef.prototype.last__O = (function() { return $s_sc_IndexedSeqOptimized$class__last__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayOps$ofRef.prototype.drop__I__O = (function(n) { var $$this = this.repr$1; var until = $$this.u.length; return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, n, until) }); $c_scm_ArrayOps$ofRef.prototype.thisCollection__sc_Seq = (function() { var $$this = this.repr$1; return new $c_scm_WrappedArray$ofRef().init___AO($$this) }); $c_scm_ArrayOps$ofRef.prototype.tail__O = (function() { return $s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayOps$ofRef.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) { return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this, b, start, sep, end) }); $c_scm_ArrayOps$ofRef.prototype.max__s_math_Ordering__O = (function(cmp) { return $s_sc_TraversableOnce$class__max__sc_TraversableOnce__s_math_Ordering__O(this, cmp) }); $c_scm_ArrayOps$ofRef.prototype.repr__O = (function() { return this.repr$1 }); $c_scm_ArrayOps$ofRef.prototype.toSet__sci_Set = (function() { var this$1 = $m_sci_Set$(); var cbf = new $c_scg_GenSetFactory$$anon$1().init___scg_GenSetFactory(this$1); return $as_sci_Set($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_scm_ArrayOps$ofRef.prototype.$$div$colon__O__F2__O = (function(z, op) { var $$this = this.repr$1; return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, $$this.u.length, z, op) }); $c_scm_ArrayOps$ofRef.prototype.copyToArray__O__I__I__V = (function(xs, start, len) { $s_scm_ArrayOps$class__copyToArray__scm_ArrayOps__O__I__I__V(this, xs, start, len) }); $c_scm_ArrayOps$ofRef.prototype.hashCode__I = (function() { var $$this = this.repr$1; return $$this.hashCode__I() }); $c_scm_ArrayOps$ofRef.prototype.isTraversableAgain__Z = (function() { return true }); $c_scm_ArrayOps$ofRef.prototype.toMap__s_Predef$$less$colon$less__sci_Map = (function(ev) { var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var $$this = this.repr$1; var len = $$this.u.length; while ((i < len)) { var index = i; var $$this$1 = this.repr$1; var arg1 = $$this$1.u[index]; b.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; return $as_sci_Map(b.elems$1) }); $c_scm_ArrayOps$ofRef.prototype.sum__s_math_Numeric__O = (function(num) { return $s_sc_TraversableOnce$class__sum__sc_TraversableOnce__s_math_Numeric__O(this, num) }); $c_scm_ArrayOps$ofRef.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { return $s_sc_TraversableLike$class__map__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) }); $c_scm_ArrayOps$ofRef.prototype.toCollection__O__sc_Seq = (function(repr) { var repr$1 = $asArrayOf_O(repr, 1); return new $c_scm_WrappedArray$ofRef().init___AO(repr$1) }); $c_scm_ArrayOps$ofRef.prototype.reduceLeft__F2__O = (function(op) { return $s_sc_IndexedSeqOptimized$class__reduceLeft__sc_IndexedSeqOptimized__F2__O(this, op) }); $c_scm_ArrayOps$ofRef.prototype.newBuilder__scm_Builder = (function() { var $$this = this.repr$1; var jsx$1 = $m_s_reflect_ClassTag$(); var schematic = $objectGetClass($$this); return new $c_scm_ArrayBuilder$ofRef().init___s_reflect_ClassTag(jsx$1.apply__jl_Class__s_reflect_ClassTag(schematic.getComponentType__jl_Class())) }); $c_scm_ArrayOps$ofRef.prototype.stringPrefix__T = (function() { return $s_sc_TraversableLike$class__stringPrefix__sc_TraversableLike__T(this) }); function $is_scm_ArrayOps$ofRef(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_ArrayOps$ofRef))) } function $as_scm_ArrayOps$ofRef(obj) { return (($is_scm_ArrayOps$ofRef(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.ArrayOps$ofRef")) } function $isArrayOf_scm_ArrayOps$ofRef(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_ArrayOps$ofRef))) } function $asArrayOf_scm_ArrayOps$ofRef(obj, depth) { return (($isArrayOf_scm_ArrayOps$ofRef(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.ArrayOps$ofRef;", depth)) } var $d_scm_ArrayOps$ofRef = new $TypeData().initClass({ scm_ArrayOps$ofRef: 0 }, false, "scala.collection.mutable.ArrayOps$ofRef", { scm_ArrayOps$ofRef: 1, O: 1, scm_ArrayOps: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, scm_IndexedSeqLike: 1, sc_IndexedSeqLike: 1, sc_SeqLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenIterableLike: 1, sc_GenSeqLike: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1 }); $c_scm_ArrayOps$ofRef.prototype.$classData = $d_scm_ArrayOps$ofRef; function $is_sc_Map(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_Map))) } function $as_sc_Map(obj) { return (($is_sc_Map(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.Map")) } function $isArrayOf_sc_Map(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_Map))) } function $asArrayOf_sc_Map(obj, depth) { return (($isArrayOf_sc_Map(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.Map;", depth)) } function $is_sc_Set(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_Set))) } function $as_sc_Set(obj) { return (($is_sc_Set(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.Set")) } function $isArrayOf_sc_Set(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_Set))) } function $asArrayOf_sc_Set(obj, depth) { return (($isArrayOf_sc_Set(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.Set;", depth)) } /** @constructor */ function $c_scm_AbstractIterable() { $c_sc_AbstractIterable.call(this) } $c_scm_AbstractIterable.prototype = new $h_sc_AbstractIterable(); $c_scm_AbstractIterable.prototype.constructor = $c_scm_AbstractIterable; /** @constructor */ function $h_scm_AbstractIterable() { /*<skip>*/ } $h_scm_AbstractIterable.prototype = $c_scm_AbstractIterable.prototype; /** @constructor */ function $c_sjs_js_ArrayOps() { $c_O.call(this); this.scala$scalajs$js$ArrayOps$$array$f = null } $c_sjs_js_ArrayOps.prototype = new $h_O(); $c_sjs_js_ArrayOps.prototype.constructor = $c_sjs_js_ArrayOps; /** @constructor */ function $h_sjs_js_ArrayOps() { /*<skip>*/ } $h_sjs_js_ArrayOps.prototype = $c_sjs_js_ArrayOps.prototype; $c_sjs_js_ArrayOps.prototype.seq__sc_TraversableOnce = (function() { return this.seq__sc_IndexedSeq() }); $c_sjs_js_ArrayOps.prototype.seq__sc_IndexedSeq = (function() { return new $c_sjs_js_WrappedArray().init___sjs_js_Array(this.scala$scalajs$js$ArrayOps$$array$f) }); $c_sjs_js_ArrayOps.prototype.init___ = (function() { $c_sjs_js_ArrayOps.prototype.init___sjs_js_Array.call(this, []); return this }); $c_sjs_js_ArrayOps.prototype.head__O = (function() { return $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_ArrayOps.prototype.apply__I__O = (function(index) { return this.scala$scalajs$js$ArrayOps$$array$f[index] }); $c_sjs_js_ArrayOps.prototype.lengthCompare__I__I = (function(len) { return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len) }); $c_sjs_js_ArrayOps.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that) }); $c_sjs_js_ArrayOps.prototype.exists__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__exists__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_sjs_js_ArrayOps.prototype.toList__sci_List = (function() { var this$1 = $m_sci_List$(); var cbf = this$1.ReusableCBFInstance$2; return $as_sci_List($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_sjs_js_ArrayOps.prototype.isEmpty__Z = (function() { return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this) }); $c_sjs_js_ArrayOps.prototype.thisCollection__sc_Traversable = (function() { return this.thisCollection__scm_IndexedSeq() }); $c_sjs_js_ArrayOps.prototype.equals__O__Z = (function(that) { return $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z(this, that) }); $c_sjs_js_ArrayOps.prototype.mkString__T__T = (function(sep) { return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, "", sep, "") }); $c_sjs_js_ArrayOps.prototype.mkString__T__T__T__T = (function(start, sep, end) { return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, start, sep, end) }); $c_sjs_js_ArrayOps.prototype.$$plus$eq__O__scg_Growable = (function(elem) { this.scala$scalajs$js$ArrayOps$$array$f.push(elem); return this }); $c_sjs_js_ArrayOps.prototype.withFilter__F1__scg_FilterMonadic = (function(p) { return new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(this, p) }); $c_sjs_js_ArrayOps.prototype.forall__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__forall__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_sjs_js_ArrayOps.prototype.thisCollection__scm_IndexedSeq = (function() { var repr = this.scala$scalajs$js$ArrayOps$$array$f; return new $c_sjs_js_WrappedArray().init___sjs_js_Array(repr) }); $c_sjs_js_ArrayOps.prototype.init__O = (function() { return $s_sc_IndexedSeqOptimized$class__init__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_ArrayOps.prototype.toString__T = (function() { return $s_sc_TraversableLike$class__toString__sc_TraversableLike__T(this) }); $c_sjs_js_ArrayOps.prototype.foreach__F1__V = (function(f) { $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f) }); $c_sjs_js_ArrayOps.prototype.foldLeft__O__F2__O = (function(z, op) { return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, $uI(this.scala$scalajs$js$ArrayOps$$array$f.length), z, op) }); $c_sjs_js_ArrayOps.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_IndexedSeqOptimized$class__indexWhere__sc_IndexedSeqOptimized__F1__I__I(this, p, from) }); $c_sjs_js_ArrayOps.prototype.slice__I__I__O = (function(from, until) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, from, until) }); $c_sjs_js_ArrayOps.prototype.toVector__sci_Vector = (function() { $m_sci_Vector$(); var cbf = $m_sc_IndexedSeq$().ReusableCBF$6; return $as_sci_Vector($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_sjs_js_ArrayOps.prototype.filter__F1__O = (function(p) { return $s_sc_TraversableLike$class__filterImpl__p0__sc_TraversableLike__F1__Z__O(this, p, false) }); $c_sjs_js_ArrayOps.prototype.reverse__O = (function() { return $s_sc_IndexedSeqOptimized$class__reverse__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_ArrayOps.prototype.size__I = (function() { return $uI(this.scala$scalajs$js$ArrayOps$$array$f.length) }); $c_sjs_js_ArrayOps.prototype.result__O = (function() { return this.scala$scalajs$js$ArrayOps$$array$f }); $c_sjs_js_ArrayOps.prototype.iterator__sc_Iterator = (function() { return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $uI(this.scala$scalajs$js$ArrayOps$$array$f.length)) }); $c_sjs_js_ArrayOps.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_sjs_js_ArrayOps.prototype.span__F1__T2 = (function(p) { return $s_sc_IndexedSeqOptimized$class__span__sc_IndexedSeqOptimized__F1__T2(this, p) }); $c_sjs_js_ArrayOps.prototype.length__I = (function() { return $uI(this.scala$scalajs$js$ArrayOps$$array$f.length) }); $c_sjs_js_ArrayOps.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, that, bf) }); $c_sjs_js_ArrayOps.prototype.partition__F1__T2 = (function(p) { return $s_sc_TraversableLike$class__partition__sc_TraversableLike__F1__T2(this, p) }); $c_sjs_js_ArrayOps.prototype.take__I__O = (function(n) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, 0, n) }); $c_sjs_js_ArrayOps.prototype.toStream__sci_Stream = (function() { var this$1 = new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $uI(this.scala$scalajs$js$ArrayOps$$array$f.length)); return $s_sc_Iterator$class__toStream__sc_Iterator__sci_Stream(this$1) }); $c_sjs_js_ArrayOps.prototype.last__O = (function() { return $s_sc_IndexedSeqOptimized$class__last__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_ArrayOps.prototype.drop__I__O = (function(n) { var until = $uI(this.scala$scalajs$js$ArrayOps$$array$f.length); return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, n, until) }); $c_sjs_js_ArrayOps.prototype.thisCollection__sc_Seq = (function() { return this.thisCollection__scm_IndexedSeq() }); $c_sjs_js_ArrayOps.prototype.tail__O = (function() { return $s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_ArrayOps.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) { return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this, b, start, sep, end) }); $c_sjs_js_ArrayOps.prototype.max__s_math_Ordering__O = (function(cmp) { return $s_sc_TraversableOnce$class__max__sc_TraversableOnce__s_math_Ordering__O(this, cmp) }); $c_sjs_js_ArrayOps.prototype.repr__O = (function() { return this.scala$scalajs$js$ArrayOps$$array$f }); $c_sjs_js_ArrayOps.prototype.toSet__sci_Set = (function() { var this$1 = $m_sci_Set$(); var cbf = new $c_scg_GenSetFactory$$anon$1().init___scg_GenSetFactory(this$1); return $as_sci_Set($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this, cbf)) }); $c_sjs_js_ArrayOps.prototype.$$div$colon__O__F2__O = (function(z, op) { return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, $uI(this.scala$scalajs$js$ArrayOps$$array$f.length), z, op) }); $c_sjs_js_ArrayOps.prototype.$$plus$eq__O__scm_Builder = (function(elem) { this.scala$scalajs$js$ArrayOps$$array$f.push(elem); return this }); $c_sjs_js_ArrayOps.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_sjs_js_ArrayOps.prototype.copyToArray__O__I__I__V = (function(xs, start, len) { $s_sc_IndexedSeqOptimized$class__copyToArray__sc_IndexedSeqOptimized__O__I__I__V(this, xs, start, len) }); $c_sjs_js_ArrayOps.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this.seq__sc_IndexedSeq()) }); $c_sjs_js_ArrayOps.prototype.isTraversableAgain__Z = (function() { return true }); $c_sjs_js_ArrayOps.prototype.toMap__s_Predef$$less$colon$less__sci_Map = (function(ev) { var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var i = 0; var len = $uI(this.scala$scalajs$js$ArrayOps$$array$f.length); while ((i < len)) { var index = i; var arg1 = this.scala$scalajs$js$ArrayOps$$array$f[index]; b.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); i = ((1 + i) | 0) }; return $as_sci_Map(b.elems$1) }); $c_sjs_js_ArrayOps.prototype.sum__s_math_Numeric__O = (function(num) { return $s_sc_TraversableOnce$class__sum__sc_TraversableOnce__s_math_Numeric__O(this, num) }); $c_sjs_js_ArrayOps.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { return $s_sc_TraversableLike$class__map__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) }); $c_sjs_js_ArrayOps.prototype.init___sjs_js_Array = (function(array) { this.scala$scalajs$js$ArrayOps$$array$f = array; return this }); $c_sjs_js_ArrayOps.prototype.toCollection__O__sc_Seq = (function(repr) { return new $c_sjs_js_WrappedArray().init___sjs_js_Array(repr) }); $c_sjs_js_ArrayOps.prototype.reduceLeft__F2__O = (function(op) { var length = $uI(this.scala$scalajs$js$ArrayOps$$array$f.length); if ((length <= 0)) { $m_sjs_js_ArrayOps$().scala$scalajs$js$ArrayOps$$throwUnsupported__T__sr_Nothing$("empty.reduceLeft") }; var start = 1; var z = this.scala$scalajs$js$ArrayOps$$array$f[0]; _loop: while (true) { if ((start === length)) { return z } else { var temp$start = ((1 + start) | 0); var jsx$1 = z; var index = start; var temp$z = op.apply__O__O__O(jsx$1, this.scala$scalajs$js$ArrayOps$$array$f[index]); start = temp$start; z = temp$z; continue _loop } } }); $c_sjs_js_ArrayOps.prototype.newBuilder__scm_Builder = (function() { return new $c_sjs_js_ArrayOps().init___() }); $c_sjs_js_ArrayOps.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); $c_sjs_js_ArrayOps.prototype.stringPrefix__T = (function() { return $s_sc_TraversableLike$class__stringPrefix__sc_TraversableLike__T(this) }); var $d_sjs_js_ArrayOps = new $TypeData().initClass({ sjs_js_ArrayOps: 0 }, false, "scala.scalajs.js.ArrayOps", { sjs_js_ArrayOps: 1, O: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, scm_IndexedSeqLike: 1, sc_IndexedSeqLike: 1, sc_SeqLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenIterableLike: 1, sc_GenSeqLike: 1, sc_IndexedSeqOptimized: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1 }); $c_sjs_js_ArrayOps.prototype.$classData = $d_sjs_js_ArrayOps; function $is_sc_IndexedSeq(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_IndexedSeq))) } function $as_sc_IndexedSeq(obj) { return (($is_sc_IndexedSeq(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.IndexedSeq")) } function $isArrayOf_sc_IndexedSeq(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_IndexedSeq))) } function $asArrayOf_sc_IndexedSeq(obj, depth) { return (($isArrayOf_sc_IndexedSeq(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.IndexedSeq;", depth)) } function $is_sc_LinearSeq(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_LinearSeq))) } function $as_sc_LinearSeq(obj) { return (($is_sc_LinearSeq(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.LinearSeq")) } function $isArrayOf_sc_LinearSeq(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_LinearSeq))) } function $asArrayOf_sc_LinearSeq(obj, depth) { return (($isArrayOf_sc_LinearSeq(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.LinearSeq;", depth)) } /** @constructor */ function $c_sc_AbstractSeq() { $c_sc_AbstractIterable.call(this) } $c_sc_AbstractSeq.prototype = new $h_sc_AbstractIterable(); $c_sc_AbstractSeq.prototype.constructor = $c_sc_AbstractSeq; /** @constructor */ function $h_sc_AbstractSeq() { /*<skip>*/ } $h_sc_AbstractSeq.prototype = $c_sc_AbstractSeq.prototype; $c_sc_AbstractSeq.prototype.indexOf__O__I__I = (function(elem, from) { return $s_sc_GenSeqLike$class__indexOf__sc_GenSeqLike__O__I__I(this, elem, from) }); $c_sc_AbstractSeq.prototype.lengthCompare__I__I = (function(len) { return $s_sc_SeqLike$class__lengthCompare__sc_SeqLike__I__I(this, len) }); $c_sc_AbstractSeq.prototype.isEmpty__Z = (function() { return $s_sc_SeqLike$class__isEmpty__sc_SeqLike__Z(this) }); $c_sc_AbstractSeq.prototype.equals__O__Z = (function(that) { return $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z(this, that) }); $c_sc_AbstractSeq.prototype.$$colon$plus__O__scg_CanBuildFrom__O = (function(elem, bf) { return $s_sc_SeqLike$class__$$colon$plus__sc_SeqLike__O__scg_CanBuildFrom__O(this, elem, bf) }); $c_sc_AbstractSeq.prototype.toString__T = (function() { return $s_sc_TraversableLike$class__toString__sc_TraversableLike__T(this) }); $c_sc_AbstractSeq.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_SeqLike$class__indexWhere__sc_SeqLike__F1__I__I(this, p, from) }); $c_sc_AbstractSeq.prototype.reverse__O = (function() { return $s_sc_SeqLike$class__reverse__sc_SeqLike__O(this) }); $c_sc_AbstractSeq.prototype.size__I = (function() { return this.length__I() }); $c_sc_AbstractSeq.prototype.$$plus$colon__O__scg_CanBuildFrom__O = (function(elem, bf) { return $s_sc_SeqLike$class__$$plus$colon__sc_SeqLike__O__scg_CanBuildFrom__O(this, elem, bf) }); $c_sc_AbstractSeq.prototype.apply$mcZI$sp__I__Z = (function(v1) { return $uZ(this.apply__O__O(v1)) }); $c_sc_AbstractSeq.prototype.contains__O__Z = (function(elem) { return $s_sc_SeqLike$class__contains__sc_SeqLike__O__Z(this, elem) }); $c_sc_AbstractSeq.prototype.thisCollection__sc_Seq = (function() { return this }); $c_sc_AbstractSeq.prototype.toSeq__sc_Seq = (function() { return this.thisCollection__sc_Seq() }); $c_sc_AbstractSeq.prototype.indexOf__O__I = (function(elem) { return this.indexOf__O__I__I(elem, 0) }); $c_sc_AbstractSeq.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this.seq__sc_Seq()) }); $c_sc_AbstractSeq.prototype.applyOrElse__O__F1__O = (function(x, $default) { return $s_s_PartialFunction$class__applyOrElse__s_PartialFunction__O__F1__O(this, x, $default) }); $c_sc_AbstractSeq.prototype.toCollection__O__sc_Seq = (function(repr) { return $as_sc_Seq(repr) }); /** @constructor */ function $c_sc_AbstractMap() { $c_sc_AbstractIterable.call(this) } $c_sc_AbstractMap.prototype = new $h_sc_AbstractIterable(); $c_sc_AbstractMap.prototype.constructor = $c_sc_AbstractMap; /** @constructor */ function $h_sc_AbstractMap() { /*<skip>*/ } $h_sc_AbstractMap.prototype = $c_sc_AbstractMap.prototype; $c_sc_AbstractMap.prototype.apply__O__O = (function(key) { return $s_sc_MapLike$class__apply__sc_MapLike__O__O(this, key) }); $c_sc_AbstractMap.prototype.isEmpty__Z = (function() { return $s_sc_MapLike$class__isEmpty__sc_MapLike__Z(this) }); $c_sc_AbstractMap.prototype.equals__O__Z = (function(that) { return $s_sc_GenMapLike$class__equals__sc_GenMapLike__O__Z(this, that) }); $c_sc_AbstractMap.prototype.toString__T = (function() { return $s_sc_TraversableLike$class__toString__sc_TraversableLike__T(this) }); $c_sc_AbstractMap.prototype.keysIterator__sc_Iterator = (function() { return new $c_sc_MapLike$$anon$1().init___sc_MapLike(this) }); $c_sc_AbstractMap.prototype.apply$mcZI$sp__I__Z = (function(v1) { return $uZ(this.apply__O__O(v1)) }); $c_sc_AbstractMap.prototype.$default__O__O = (function(key) { return $s_sc_MapLike$class__$default__sc_MapLike__O__O(this, key) }); $c_sc_AbstractMap.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) { return $s_sc_MapLike$class__addString__sc_MapLike__scm_StringBuilder__T__T__T__scm_StringBuilder(this, b, start, sep, end) }); $c_sc_AbstractMap.prototype.contains__O__Z = (function(key) { return $s_sc_MapLike$class__contains__sc_MapLike__O__Z(this, key) }); $c_sc_AbstractMap.prototype.isDefinedAt__O__Z = (function(key) { return this.contains__O__Z(key) }); $c_sc_AbstractMap.prototype.hashCode__I = (function() { var this$1 = $m_s_util_hashing_MurmurHash3$(); var xs = this.seq__sc_Map(); return this$1.unorderedHash__sc_TraversableOnce__I__I(xs, this$1.mapSeed$2) }); $c_sc_AbstractMap.prototype.applyOrElse__O__F1__O = (function(x, $default) { return $s_s_PartialFunction$class__applyOrElse__s_PartialFunction__O__F1__O(this, x, $default) }); $c_sc_AbstractMap.prototype.stringPrefix__T = (function() { return "Map" }); $c_sc_AbstractMap.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_MapBuilder().init___sc_GenMap(this.empty__sc_Map()) }); /** @constructor */ function $c_sc_AbstractSet() { $c_sc_AbstractIterable.call(this) } $c_sc_AbstractSet.prototype = new $h_sc_AbstractIterable(); $c_sc_AbstractSet.prototype.constructor = $c_sc_AbstractSet; /** @constructor */ function $h_sc_AbstractSet() { /*<skip>*/ } $h_sc_AbstractSet.prototype = $c_sc_AbstractSet.prototype; $c_sc_AbstractSet.prototype.isEmpty__Z = (function() { return $s_sc_SetLike$class__isEmpty__sc_SetLike__Z(this) }); $c_sc_AbstractSet.prototype.equals__O__Z = (function(that) { return $s_sc_GenSetLike$class__equals__sc_GenSetLike__O__Z(this, that) }); $c_sc_AbstractSet.prototype.toString__T = (function() { return $s_sc_TraversableLike$class__toString__sc_TraversableLike__T(this) }); $c_sc_AbstractSet.prototype.subsetOf__sc_GenSet__Z = (function(that) { return this.forall__F1__Z(that) }); $c_sc_AbstractSet.prototype.apply$mcZI$sp__I__Z = (function(v1) { return this.contains__O__Z(v1) }); $c_sc_AbstractSet.prototype.diff__sc_GenSet__sc_Set = (function(that) { return $as_sc_Set($s_scg_Subtractable$class__$$minus$minus__scg_Subtractable__sc_GenTraversableOnce__scg_Subtractable(this, that)) }); $c_sc_AbstractSet.prototype.hashCode__I = (function() { var this$1 = $m_s_util_hashing_MurmurHash3$(); var xs = this.seq__sc_Set(); return this$1.unorderedHash__sc_TraversableOnce__I__I(xs, this$1.setSeed$2) }); $c_sc_AbstractSet.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { return $s_sc_TraversableLike$class__map__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) }); $c_sc_AbstractSet.prototype.intersect__sc_GenSet__O = (function(that) { return this.filter__F1__O(that) }); $c_sc_AbstractSet.prototype.$$plus$plus__sc_GenTraversableOnce__sc_Set = (function(elems) { return $s_sc_SetLike$class__$$plus$plus__sc_SetLike__sc_GenTraversableOnce__sc_Set(this, elems) }); $c_sc_AbstractSet.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_SetBuilder().init___sc_Set(this.empty__sc_Set()) }); $c_sc_AbstractSet.prototype.stringPrefix__T = (function() { return "Set" }); $c_sc_AbstractSet.prototype.union__sc_GenSet__sc_Set = (function(that) { return this.$$plus$plus__sc_GenTraversableOnce__sc_Set(that) }); function $is_sci_Set(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Set))) } function $as_sci_Set(obj) { return (($is_sci_Set(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.Set")) } function $isArrayOf_sci_Set(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_Set))) } function $asArrayOf_sci_Set(obj, depth) { return (($isArrayOf_sci_Set(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.Set;", depth)) } function $is_sci_Map(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Map))) } function $as_sci_Map(obj) { return (($is_sci_Map(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.Map")) } function $isArrayOf_sci_Map(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_Map))) } function $asArrayOf_sci_Map(obj, depth) { return (($isArrayOf_sci_Map(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.Map;", depth)) } /** @constructor */ function $c_sc_MapLike$MappedValues() { $c_sc_AbstractMap.call(this); this.f$4 = null; this.$$outer$f = null } $c_sc_MapLike$MappedValues.prototype = new $h_sc_AbstractMap(); $c_sc_MapLike$MappedValues.prototype.constructor = $c_sc_MapLike$MappedValues; /** @constructor */ function $h_sc_MapLike$MappedValues() { /*<skip>*/ } $h_sc_MapLike$MappedValues.prototype = $c_sc_MapLike$MappedValues.prototype; $c_sc_MapLike$MappedValues.prototype.foreach__F1__V = (function(g) { var this$1 = this.$$outer$f; var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) { return (function(check$ifrefutable$1$2) { var check$ifrefutable$1 = $as_T2(check$ifrefutable$1$2); return (check$ifrefutable$1 !== null) }) })(this)); new $c_sc_TraversableLike$WithFilter().init___sc_TraversableLike__F1(this$1, p).foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$2, g$1) { return (function(x$1$2) { var x$1 = $as_T2(x$1$2); if ((x$1 !== null)) { var k = x$1.$$und1__O(); var v = x$1.$$und2__O(); return g$1.apply__O__O(new $c_T2().init___O__O(k, this$2.f$4.apply__O__O(v))) } else { throw new $c_s_MatchError().init___O(x$1) } }) })(this, g))) }); $c_sc_MapLike$MappedValues.prototype.init___sc_MapLike__F1 = (function($$outer, f) { this.f$4 = f; if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; return this }); $c_sc_MapLike$MappedValues.prototype.size__I = (function() { return this.$$outer$f.size__I() }); $c_sc_MapLike$MappedValues.prototype.iterator__sc_Iterator = (function() { var this$1 = this.$$outer$f.iterator__sc_Iterator(); var p = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) { return (function(check$ifrefutable$2$2) { var check$ifrefutable$2 = $as_T2(check$ifrefutable$2$2); return (check$ifrefutable$2 !== null) }) })(this)); var this$3 = new $c_sc_Iterator$$anon$13().init___sc_Iterator__F1(this$1, p); var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$2) { return (function(x$2$2) { var x$2 = $as_T2(x$2$2); if ((x$2 !== null)) { var k = x$2.$$und1__O(); var v = x$2.$$und2__O(); return new $c_T2().init___O__O(k, this$2.f$4.apply__O__O(v)) } else { throw new $c_s_MatchError().init___O(x$2) } }) })(this)); return new $c_sc_Iterator$$anon$11().init___sc_Iterator__F1(this$3, f) }); $c_sc_MapLike$MappedValues.prototype.get__O__s_Option = (function(key) { var this$1 = this.$$outer$f.get__O__s_Option(key); var f = this.f$4; return (this$1.isEmpty__Z() ? $m_s_None$() : new $c_s_Some().init___O(f.apply__O__O(this$1.get__O()))) }); $c_sc_MapLike$MappedValues.prototype.contains__O__Z = (function(key) { return this.$$outer$f.contains__O__Z(key) }); function $is_sci_IndexedSeq(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_IndexedSeq))) } function $as_sci_IndexedSeq(obj) { return (($is_sci_IndexedSeq(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.IndexedSeq")) } function $isArrayOf_sci_IndexedSeq(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_IndexedSeq))) } function $asArrayOf_sci_IndexedSeq(obj, depth) { return (($isArrayOf_sci_IndexedSeq(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.IndexedSeq;", depth)) } /** @constructor */ function $c_sc_Map$WithDefault() { $c_sc_AbstractMap.call(this); this.underlying$4 = null; this.d$4 = null } $c_sc_Map$WithDefault.prototype = new $h_sc_AbstractMap(); $c_sc_Map$WithDefault.prototype.constructor = $c_sc_Map$WithDefault; /** @constructor */ function $h_sc_Map$WithDefault() { /*<skip>*/ } $h_sc_Map$WithDefault.prototype = $c_sc_Map$WithDefault.prototype; $c_sc_Map$WithDefault.prototype.init___sc_Map__F1 = (function(underlying, d) { this.underlying$4 = underlying; this.d$4 = d; return this }); $c_sc_Map$WithDefault.prototype.iterator__sc_Iterator = (function() { return this.underlying$4.iterator__sc_Iterator() }); $c_sc_Map$WithDefault.prototype.size__I = (function() { return this.underlying$4.size__I() }); $c_sc_Map$WithDefault.prototype.$default__O__O = (function(key) { return this.d$4.apply__O__O(key) }); $c_sc_Map$WithDefault.prototype.get__O__s_Option = (function(key) { return this.underlying$4.get__O__s_Option(key) }); /** @constructor */ function $c_sc_MapLike$DefaultKeySet() { $c_sc_AbstractSet.call(this); this.$$outer$f = null } $c_sc_MapLike$DefaultKeySet.prototype = new $h_sc_AbstractSet(); $c_sc_MapLike$DefaultKeySet.prototype.constructor = $c_sc_MapLike$DefaultKeySet; /** @constructor */ function $h_sc_MapLike$DefaultKeySet() { /*<skip>*/ } $h_sc_MapLike$DefaultKeySet.prototype = $c_sc_MapLike$DefaultKeySet.prototype; $c_sc_MapLike$DefaultKeySet.prototype.foreach__F1__V = (function(f) { var this$1 = this.$$outer$f.keysIterator__sc_Iterator(); $s_sc_Iterator$class__foreach__sc_Iterator__F1__V(this$1, f) }); $c_sc_MapLike$DefaultKeySet.prototype.size__I = (function() { return this.$$outer$f.size__I() }); $c_sc_MapLike$DefaultKeySet.prototype.iterator__sc_Iterator = (function() { return this.$$outer$f.keysIterator__sc_Iterator() }); $c_sc_MapLike$DefaultKeySet.prototype.init___sc_MapLike = (function($$outer) { if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; return this }); $c_sc_MapLike$DefaultKeySet.prototype.contains__O__Z = (function(key) { return this.$$outer$f.contains__O__Z(key) }); /** @constructor */ function $c_sci_AbstractMap() { $c_sc_AbstractMap.call(this) } $c_sci_AbstractMap.prototype = new $h_sc_AbstractMap(); $c_sci_AbstractMap.prototype.constructor = $c_sci_AbstractMap; /** @constructor */ function $h_sci_AbstractMap() { /*<skip>*/ } $h_sci_AbstractMap.prototype = $c_sci_AbstractMap.prototype; $c_sci_AbstractMap.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_AbstractMap.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_AbstractMap.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_AbstractMap.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Iterable$() }); $c_sci_AbstractMap.prototype.empty__sc_Map = (function() { return this.empty__sci_Map() }); $c_sci_AbstractMap.prototype.empty__sci_Map = (function() { return $m_sci_Map$EmptyMap$() }); $c_sci_AbstractMap.prototype.seq__sc_Map = (function() { return this }); $c_sci_AbstractMap.prototype.toMap__s_Predef$$less$colon$less__sci_Map = (function(ev) { return this }); /** @constructor */ function $c_sci_ListSet() { $c_sc_AbstractSet.call(this) } $c_sci_ListSet.prototype = new $h_sc_AbstractSet(); $c_sci_ListSet.prototype.constructor = $c_sci_ListSet; /** @constructor */ function $h_sci_ListSet() { /*<skip>*/ } $h_sci_ListSet.prototype = $c_sci_ListSet.prototype; $c_sci_ListSet.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_ListSet.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_ListSet.prototype.head__O = (function() { throw new $c_ju_NoSuchElementException().init___T("Set has no elements") }); $c_sci_ListSet.prototype.apply__O__O = (function(v1) { return this.contains__O__Z(v1) }); $c_sci_ListSet.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_ListSet(elem) }); $c_sci_ListSet.prototype.isEmpty__Z = (function() { return true }); $c_sci_ListSet.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_ListSet.prototype.scala$collection$immutable$ListSet$$unchecked$undouter__sci_ListSet = (function() { throw new $c_ju_NoSuchElementException().init___T("Empty ListSet has no outer pointer") }); $c_sci_ListSet.prototype.$$plus__O__sci_ListSet = (function(elem) { return new $c_sci_ListSet$Node().init___sci_ListSet__O(this, elem) }); $c_sci_ListSet.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_ListSet$() }); $c_sci_ListSet.prototype.size__I = (function() { return 0 }); $c_sci_ListSet.prototype.iterator__sc_Iterator = (function() { return new $c_sci_ListSet$$anon$1().init___sci_ListSet(this) }); $c_sci_ListSet.prototype.$$minus__O__sc_Set = (function(elem) { return this.$$minus__O__sci_ListSet(elem) }); $c_sci_ListSet.prototype.empty__sc_Set = (function() { return $m_sci_ListSet$EmptyListSet$() }); $c_sci_ListSet.prototype.seq__sc_Set = (function() { return this }); $c_sci_ListSet.prototype.contains__O__Z = (function(elem) { return false }); $c_sci_ListSet.prototype.tail__O = (function() { return this.tail__sci_ListSet() }); $c_sci_ListSet.prototype.$$plus$plus__sc_GenTraversableOnce__sci_ListSet = (function(xs) { if (xs.isEmpty__Z()) { return this } else { var this$1 = new $c_sci_ListSet$ListSetBuilder().init___sci_ListSet(this); var xs$1 = xs.seq__sc_TraversableOnce(); return $as_sci_ListSet$ListSetBuilder($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$1, xs$1)).result__sci_ListSet() } }); $c_sci_ListSet.prototype.toSet__sci_Set = (function() { return this }); $c_sci_ListSet.prototype.$$minus__O__sci_ListSet = (function(elem) { return this }); $c_sci_ListSet.prototype.tail__sci_ListSet = (function() { throw new $c_ju_NoSuchElementException().init___T("Next of an empty set") }); $c_sci_ListSet.prototype.$$plus__O__sc_Set = (function(elem) { return this.$$plus__O__sci_ListSet(elem) }); $c_sci_ListSet.prototype.$$plus$plus__sc_GenTraversableOnce__sc_Set = (function(elems) { return this.$$plus$plus__sc_GenTraversableOnce__sci_ListSet(elems) }); $c_sci_ListSet.prototype.stringPrefix__T = (function() { return "ListSet" }); function $is_sci_ListSet(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_ListSet))) } function $as_sci_ListSet(obj) { return (($is_sci_ListSet(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.ListSet")) } function $isArrayOf_sci_ListSet(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_ListSet))) } function $asArrayOf_sci_ListSet(obj, depth) { return (($isArrayOf_sci_ListSet(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.ListSet;", depth)) } /** @constructor */ function $c_sci_Set$EmptySet$() { $c_sc_AbstractSet.call(this) } $c_sci_Set$EmptySet$.prototype = new $h_sc_AbstractSet(); $c_sci_Set$EmptySet$.prototype.constructor = $c_sci_Set$EmptySet$; /** @constructor */ function $h_sci_Set$EmptySet$() { /*<skip>*/ } $h_sci_Set$EmptySet$.prototype = $c_sci_Set$EmptySet$.prototype; $c_sci_Set$EmptySet$.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_Set$EmptySet$.prototype.init___ = (function() { return this }); $c_sci_Set$EmptySet$.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_Set$EmptySet$.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this }); $c_sci_Set$EmptySet$.prototype.apply__O__O = (function(v1) { return false }); $c_sci_Set$EmptySet$.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_Set$EmptySet$.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Set$() }); $c_sci_Set$EmptySet$.prototype.foreach__F1__V = (function(f) { /*<skip>*/ }); $c_sci_Set$EmptySet$.prototype.size__I = (function() { return 0 }); $c_sci_Set$EmptySet$.prototype.iterator__sc_Iterator = (function() { return $m_sc_Iterator$().empty$1 }); $c_sci_Set$EmptySet$.prototype.$$minus__O__sc_Set = (function(elem) { return this }); $c_sci_Set$EmptySet$.prototype.empty__sc_Set = (function() { return $m_sci_Set$EmptySet$() }); $c_sci_Set$EmptySet$.prototype.seq__sc_Set = (function() { return this }); $c_sci_Set$EmptySet$.prototype.contains__O__Z = (function(elem) { return false }); $c_sci_Set$EmptySet$.prototype.toSet__sci_Set = (function() { return this }); $c_sci_Set$EmptySet$.prototype.$$plus__O__sc_Set = (function(elem) { return new $c_sci_Set$Set1().init___O(elem) }); var $d_sci_Set$EmptySet$ = new $TypeData().initClass({ sci_Set$EmptySet$: 0 }, false, "scala.collection.immutable.Set$EmptySet$", { sci_Set$EmptySet$: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Set$EmptySet$.prototype.$classData = $d_sci_Set$EmptySet$; var $n_sci_Set$EmptySet$ = (void 0); function $m_sci_Set$EmptySet$() { if ((!$n_sci_Set$EmptySet$)) { $n_sci_Set$EmptySet$ = new $c_sci_Set$EmptySet$().init___() }; return $n_sci_Set$EmptySet$ } /** @constructor */ function $c_sci_Set$Set1() { $c_sc_AbstractSet.call(this); this.elem1$4 = null } $c_sci_Set$Set1.prototype = new $h_sc_AbstractSet(); $c_sci_Set$Set1.prototype.constructor = $c_sci_Set$Set1; /** @constructor */ function $h_sci_Set$Set1() { /*<skip>*/ } $h_sci_Set$Set1.prototype = $c_sci_Set$Set1.prototype; $c_sci_Set$Set1.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_Set$Set1.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_Set$Set1.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_Set$Set1.prototype.apply__O__O = (function(v1) { return this.contains__O__Z(v1) }); $c_sci_Set$Set1.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_Set$Set1.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Set$() }); $c_sci_Set$Set1.prototype.forall__F1__Z = (function(p) { return $uZ(p.apply__O__O(this.elem1$4)) }); $c_sci_Set$Set1.prototype.foreach__F1__V = (function(f) { f.apply__O__O(this.elem1$4) }); $c_sci_Set$Set1.prototype.size__I = (function() { return 1 }); $c_sci_Set$Set1.prototype.init___O = (function(elem1) { this.elem1$4 = elem1; return this }); $c_sci_Set$Set1.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.elem1$4]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); $c_sci_Set$Set1.prototype.$$minus__O__sc_Set = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_Set$Set1.prototype.empty__sc_Set = (function() { return $m_sci_Set$EmptySet$() }); $c_sci_Set$Set1.prototype.seq__sc_Set = (function() { return this }); $c_sci_Set$Set1.prototype.$$plus__O__sci_Set = (function(elem) { return (this.contains__O__Z(elem) ? this : new $c_sci_Set$Set2().init___O__O(this.elem1$4, elem)) }); $c_sci_Set$Set1.prototype.contains__O__Z = (function(elem) { return $m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem1$4) }); $c_sci_Set$Set1.prototype.toSet__sci_Set = (function() { return this }); $c_sci_Set$Set1.prototype.$$plus__O__sc_Set = (function(elem) { return this.$$plus__O__sci_Set(elem) }); $c_sci_Set$Set1.prototype.$$minus__O__sci_Set = (function(elem) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem1$4) ? $m_sci_Set$EmptySet$() : this) }); var $d_sci_Set$Set1 = new $TypeData().initClass({ sci_Set$Set1: 0 }, false, "scala.collection.immutable.Set$Set1", { sci_Set$Set1: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Set$Set1.prototype.$classData = $d_sci_Set$Set1; /** @constructor */ function $c_sci_Set$Set2() { $c_sc_AbstractSet.call(this); this.elem1$4 = null; this.elem2$4 = null } $c_sci_Set$Set2.prototype = new $h_sc_AbstractSet(); $c_sci_Set$Set2.prototype.constructor = $c_sci_Set$Set2; /** @constructor */ function $h_sci_Set$Set2() { /*<skip>*/ } $h_sci_Set$Set2.prototype = $c_sci_Set$Set2.prototype; $c_sci_Set$Set2.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_Set$Set2.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_Set$Set2.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_Set$Set2.prototype.apply__O__O = (function(v1) { return this.contains__O__Z(v1) }); $c_sci_Set$Set2.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_Set$Set2.prototype.init___O__O = (function(elem1, elem2) { this.elem1$4 = elem1; this.elem2$4 = elem2; return this }); $c_sci_Set$Set2.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Set$() }); $c_sci_Set$Set2.prototype.forall__F1__Z = (function(p) { return ($uZ(p.apply__O__O(this.elem1$4)) && $uZ(p.apply__O__O(this.elem2$4))) }); $c_sci_Set$Set2.prototype.foreach__F1__V = (function(f) { f.apply__O__O(this.elem1$4); f.apply__O__O(this.elem2$4) }); $c_sci_Set$Set2.prototype.size__I = (function() { return 2 }); $c_sci_Set$Set2.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.elem1$4, this.elem2$4]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); $c_sci_Set$Set2.prototype.$$minus__O__sc_Set = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_Set$Set2.prototype.empty__sc_Set = (function() { return $m_sci_Set$EmptySet$() }); $c_sci_Set$Set2.prototype.seq__sc_Set = (function() { return this }); $c_sci_Set$Set2.prototype.$$plus__O__sci_Set = (function(elem) { return (this.contains__O__Z(elem) ? this : new $c_sci_Set$Set3().init___O__O__O(this.elem1$4, this.elem2$4, elem)) }); $c_sci_Set$Set2.prototype.contains__O__Z = (function(elem) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem1$4) || $m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem2$4)) }); $c_sci_Set$Set2.prototype.toSet__sci_Set = (function() { return this }); $c_sci_Set$Set2.prototype.$$plus__O__sc_Set = (function(elem) { return this.$$plus__O__sci_Set(elem) }); $c_sci_Set$Set2.prototype.$$minus__O__sci_Set = (function(elem) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem1$4) ? new $c_sci_Set$Set1().init___O(this.elem2$4) : ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem2$4) ? new $c_sci_Set$Set1().init___O(this.elem1$4) : this)) }); var $d_sci_Set$Set2 = new $TypeData().initClass({ sci_Set$Set2: 0 }, false, "scala.collection.immutable.Set$Set2", { sci_Set$Set2: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Set$Set2.prototype.$classData = $d_sci_Set$Set2; /** @constructor */ function $c_sci_Set$Set3() { $c_sc_AbstractSet.call(this); this.elem1$4 = null; this.elem2$4 = null; this.elem3$4 = null } $c_sci_Set$Set3.prototype = new $h_sc_AbstractSet(); $c_sci_Set$Set3.prototype.constructor = $c_sci_Set$Set3; /** @constructor */ function $h_sci_Set$Set3() { /*<skip>*/ } $h_sci_Set$Set3.prototype = $c_sci_Set$Set3.prototype; $c_sci_Set$Set3.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_Set$Set3.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_Set$Set3.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_Set$Set3.prototype.apply__O__O = (function(v1) { return this.contains__O__Z(v1) }); $c_sci_Set$Set3.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_Set$Set3.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Set$() }); $c_sci_Set$Set3.prototype.forall__F1__Z = (function(p) { return (($uZ(p.apply__O__O(this.elem1$4)) && $uZ(p.apply__O__O(this.elem2$4))) && $uZ(p.apply__O__O(this.elem3$4))) }); $c_sci_Set$Set3.prototype.foreach__F1__V = (function(f) { f.apply__O__O(this.elem1$4); f.apply__O__O(this.elem2$4); f.apply__O__O(this.elem3$4) }); $c_sci_Set$Set3.prototype.init___O__O__O = (function(elem1, elem2, elem3) { this.elem1$4 = elem1; this.elem2$4 = elem2; this.elem3$4 = elem3; return this }); $c_sci_Set$Set3.prototype.size__I = (function() { return 3 }); $c_sci_Set$Set3.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.elem1$4, this.elem2$4, this.elem3$4]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); $c_sci_Set$Set3.prototype.$$minus__O__sc_Set = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_Set$Set3.prototype.empty__sc_Set = (function() { return $m_sci_Set$EmptySet$() }); $c_sci_Set$Set3.prototype.seq__sc_Set = (function() { return this }); $c_sci_Set$Set3.prototype.$$plus__O__sci_Set = (function(elem) { return (this.contains__O__Z(elem) ? this : new $c_sci_Set$Set4().init___O__O__O__O(this.elem1$4, this.elem2$4, this.elem3$4, elem)) }); $c_sci_Set$Set3.prototype.contains__O__Z = (function(elem) { return (($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem1$4) || $m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem2$4)) || $m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem3$4)) }); $c_sci_Set$Set3.prototype.toSet__sci_Set = (function() { return this }); $c_sci_Set$Set3.prototype.$$plus__O__sc_Set = (function(elem) { return this.$$plus__O__sci_Set(elem) }); $c_sci_Set$Set3.prototype.$$minus__O__sci_Set = (function(elem) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem1$4) ? new $c_sci_Set$Set2().init___O__O(this.elem2$4, this.elem3$4) : ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem2$4) ? new $c_sci_Set$Set2().init___O__O(this.elem1$4, this.elem3$4) : ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem3$4) ? new $c_sci_Set$Set2().init___O__O(this.elem1$4, this.elem2$4) : this))) }); var $d_sci_Set$Set3 = new $TypeData().initClass({ sci_Set$Set3: 0 }, false, "scala.collection.immutable.Set$Set3", { sci_Set$Set3: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Set$Set3.prototype.$classData = $d_sci_Set$Set3; /** @constructor */ function $c_sci_Set$Set4() { $c_sc_AbstractSet.call(this); this.elem1$4 = null; this.elem2$4 = null; this.elem3$4 = null; this.elem4$4 = null } $c_sci_Set$Set4.prototype = new $h_sc_AbstractSet(); $c_sci_Set$Set4.prototype.constructor = $c_sci_Set$Set4; /** @constructor */ function $h_sci_Set$Set4() { /*<skip>*/ } $h_sci_Set$Set4.prototype = $c_sci_Set$Set4.prototype; $c_sci_Set$Set4.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_Set$Set4.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_Set$Set4.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_Set$Set4.prototype.apply__O__O = (function(v1) { return this.contains__O__Z(v1) }); $c_sci_Set$Set4.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_Set$Set4.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Set$() }); $c_sci_Set$Set4.prototype.forall__F1__Z = (function(p) { return ((($uZ(p.apply__O__O(this.elem1$4)) && $uZ(p.apply__O__O(this.elem2$4))) && $uZ(p.apply__O__O(this.elem3$4))) && $uZ(p.apply__O__O(this.elem4$4))) }); $c_sci_Set$Set4.prototype.foreach__F1__V = (function(f) { f.apply__O__O(this.elem1$4); f.apply__O__O(this.elem2$4); f.apply__O__O(this.elem3$4); f.apply__O__O(this.elem4$4) }); $c_sci_Set$Set4.prototype.size__I = (function() { return 4 }); $c_sci_Set$Set4.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.elem1$4, this.elem2$4, this.elem3$4, this.elem4$4]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); $c_sci_Set$Set4.prototype.$$minus__O__sc_Set = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_Set$Set4.prototype.empty__sc_Set = (function() { return $m_sci_Set$EmptySet$() }); $c_sci_Set$Set4.prototype.seq__sc_Set = (function() { return this }); $c_sci_Set$Set4.prototype.$$plus__O__sci_Set = (function(elem) { if (this.contains__O__Z(elem)) { return this } else { var this$1 = new $c_sci_HashSet().init___(); var elem1 = this.elem1$4; var elem2 = this.elem2$4; var array = [this.elem3$4, this.elem4$4, elem]; var this$2 = this$1.$$plus__O__sci_HashSet(elem1).$$plus__O__sci_HashSet(elem2); var start = 0; var end = $uI(array.length); var z = this$2; x: { var jsx$1; _foldl: while (true) { if ((start === end)) { var jsx$1 = z; break x } else { var temp$start = ((1 + start) | 0); var arg1 = z; var index = start; var arg2 = array[index]; var x$2 = $as_sc_Set(arg1); var temp$z = x$2.$$plus__O__sc_Set(arg2); start = temp$start; z = temp$z; continue _foldl } } }; return $as_sci_HashSet($as_sc_Set(jsx$1)) } }); $c_sci_Set$Set4.prototype.contains__O__Z = (function(elem) { return ((($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem1$4) || $m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem2$4)) || $m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem3$4)) || $m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem4$4)) }); $c_sci_Set$Set4.prototype.init___O__O__O__O = (function(elem1, elem2, elem3, elem4) { this.elem1$4 = elem1; this.elem2$4 = elem2; this.elem3$4 = elem3; this.elem4$4 = elem4; return this }); $c_sci_Set$Set4.prototype.toSet__sci_Set = (function() { return this }); $c_sci_Set$Set4.prototype.$$plus__O__sc_Set = (function(elem) { return this.$$plus__O__sci_Set(elem) }); $c_sci_Set$Set4.prototype.$$minus__O__sci_Set = (function(elem) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem1$4) ? new $c_sci_Set$Set3().init___O__O__O(this.elem2$4, this.elem3$4, this.elem4$4) : ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem2$4) ? new $c_sci_Set$Set3().init___O__O__O(this.elem1$4, this.elem3$4, this.elem4$4) : ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem3$4) ? new $c_sci_Set$Set3().init___O__O__O(this.elem1$4, this.elem2$4, this.elem4$4) : ($m_sr_BoxesRunTime$().equals__O__O__Z(elem, this.elem4$4) ? new $c_sci_Set$Set3().init___O__O__O(this.elem1$4, this.elem2$4, this.elem3$4) : this)))) }); var $d_sci_Set$Set4 = new $TypeData().initClass({ sci_Set$Set4: 0 }, false, "scala.collection.immutable.Set$Set4", { sci_Set$Set4: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Set$Set4.prototype.$classData = $d_sci_Set$Set4; function $is_scm_IndexedSeq(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_IndexedSeq))) } function $as_scm_IndexedSeq(obj) { return (($is_scm_IndexedSeq(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.IndexedSeq")) } function $isArrayOf_scm_IndexedSeq(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_IndexedSeq))) } function $asArrayOf_scm_IndexedSeq(obj, depth) { return (($isArrayOf_scm_IndexedSeq(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.IndexedSeq;", depth)) } /** @constructor */ function $c_sci_HashSet() { $c_sc_AbstractSet.call(this) } $c_sci_HashSet.prototype = new $h_sc_AbstractSet(); $c_sci_HashSet.prototype.constructor = $c_sci_HashSet; /** @constructor */ function $h_sci_HashSet() { /*<skip>*/ } $h_sci_HashSet.prototype = $c_sci_HashSet.prototype; $c_sci_HashSet.prototype.updated0__O__I__I__sci_HashSet = (function(key, hash, level) { return new $c_sci_HashSet$HashSet1().init___O__I(key, hash) }); $c_sci_HashSet.prototype.diff__sc_GenSet__sci_HashSet = (function(that) { if ($is_sci_HashSet(that)) { var x2 = $as_sci_HashSet(that); var size = this.size__I(); var x = ((6 + size) | 0); var buffer = $newArrayObject($d_sci_HashSet.getArrayOf(), [((x < 224) ? x : 224)]); var s = this.diff0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet(x2, 0, buffer, 0); return ((s === null) ? $m_sci_HashSet$EmptyHashSet$() : s) } else { return $as_sci_HashSet($as_sc_Set($s_scg_Subtractable$class__$$minus$minus__scg_Subtractable__sc_GenTraversableOnce__scg_Subtractable(this, that))) } }); $c_sci_HashSet.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_HashSet.prototype.computeHash__O__I = (function(key) { return this.improve__I__I($m_sr_ScalaRunTime$().hash__O__I(key)) }); $c_sci_HashSet.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_HashSet.prototype.init___ = (function() { return this }); $c_sci_HashSet.prototype.apply__O__O = (function(v1) { return this.contains__O__Z(v1) }); $c_sci_HashSet.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_HashSet(elem) }); $c_sci_HashSet.prototype.$$plus__O__sci_HashSet = (function(e) { return this.updated0__O__I__I__sci_HashSet(e, this.computeHash__O__I(e), 0) }); $c_sci_HashSet.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_HashSet.prototype.union0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { return that }); $c_sci_HashSet.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_HashSet$() }); $c_sci_HashSet.prototype.foreach__F1__V = (function(f) { /*<skip>*/ }); $c_sci_HashSet.prototype.filter__F1__sci_HashSet = (function(p) { var size = this.size__I(); var x = ((6 + size) | 0); var buffer = $newArrayObject($d_sci_HashSet.getArrayOf(), [((x < 224) ? x : 224)]); var s = this.filter0__F1__Z__I__Asci_HashSet__I__sci_HashSet(p, false, 0, buffer, 0); return ((s === null) ? $m_sci_HashSet$EmptyHashSet$() : s) }); $c_sci_HashSet.prototype.subsetOf__sc_GenSet__Z = (function(that) { if ($is_sci_HashSet(that)) { var x2 = $as_sci_HashSet(that); return this.subsetOf0__sci_HashSet__I__Z(x2, 0) } else { var this$1 = this.iterator__sc_Iterator(); return $s_sc_Iterator$class__forall__sc_Iterator__F1__Z(this$1, that) } }); $c_sci_HashSet.prototype.union0__sci_HashSet$LeafHashSet__I__sci_HashSet = (function(that, level) { return that }); $c_sci_HashSet.prototype.filter__F1__O = (function(p) { return this.filter__F1__sci_HashSet(p) }); $c_sci_HashSet.prototype.intersect__sc_GenSet__sci_HashSet = (function(that) { if ($is_sci_HashSet(that)) { var x2 = $as_sci_HashSet(that); var x = this.size__I(); var that$1 = x2.size__I(); var size = ((x < that$1) ? x : that$1); var x$1 = ((6 + size) | 0); var buffer = $newArrayObject($d_sci_HashSet.getArrayOf(), [((x$1 < 224) ? x$1 : 224)]); var s = this.intersect0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet(x2, 0, buffer, 0); return ((s === null) ? $m_sci_HashSet$EmptyHashSet$() : s) } else { return this.filter__F1__sci_HashSet(that) } }); $c_sci_HashSet.prototype.size__I = (function() { return 0 }); $c_sci_HashSet.prototype.iterator__sc_Iterator = (function() { return $m_sc_Iterator$().empty$1 }); $c_sci_HashSet.prototype.$$minus__O__sc_Set = (function(elem) { return this.$$minus__O__sci_HashSet(elem) }); $c_sci_HashSet.prototype.empty__sc_Set = (function() { return $m_sci_HashSet$EmptyHashSet$() }); $c_sci_HashSet.prototype.removed0__O__I__I__sci_HashSet = (function(key, hash, level) { return this }); $c_sci_HashSet.prototype.$$minus__O__sci_HashSet = (function(e) { var s = this.removed0__O__I__I__sci_HashSet(e, this.computeHash__O__I(e), 0); return ((s === null) ? $m_sci_HashSet$EmptyHashSet$() : s) }); $c_sci_HashSet.prototype.improve__I__I = (function(hcode) { var h = ((hcode + (~(hcode << 9))) | 0); h = (h ^ ((h >>> 14) | 0)); h = ((h + (h << 4)) | 0); return (h ^ ((h >>> 10) | 0)) }); $c_sci_HashSet.prototype.intersect0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { return null }); $c_sci_HashSet.prototype.seq__sc_Set = (function() { return this }); $c_sci_HashSet.prototype.union__sc_GenSet__sci_HashSet = (function(that) { if ($is_sci_HashSet(that)) { var x2 = $as_sci_HashSet(that); var size = ((this.size__I() + x2.size__I()) | 0); var x = ((6 + size) | 0); var buffer = $newArrayObject($d_sci_HashSet.getArrayOf(), [((x < 224) ? x : 224)]); var s = this.union0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet(x2, 0, buffer, 0); return ((s === null) ? $m_sci_HashSet$EmptyHashSet$() : s) } else { return $as_sci_HashSet($s_sc_SetLike$class__$$plus$plus__sc_SetLike__sc_GenTraversableOnce__sc_Set(this, that)) } }); $c_sci_HashSet.prototype.contains__O__Z = (function(e) { return this.get0__O__I__I__Z(e, this.computeHash__O__I(e), 0) }); $c_sci_HashSet.prototype.diff__sc_GenSet__sc_Set = (function(that) { return this.diff__sc_GenSet__sci_HashSet(that) }); $c_sci_HashSet.prototype.toSet__sci_Set = (function() { return this }); $c_sci_HashSet.prototype.diff0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { return null }); $c_sci_HashSet.prototype.filter0__F1__Z__I__Asci_HashSet__I__sci_HashSet = (function(p, negate, level, buffer, offset0) { return null }); $c_sci_HashSet.prototype.$$plus__O__sc_Set = (function(elem) { return this.$$plus__O__sci_HashSet(elem) }); $c_sci_HashSet.prototype.intersect__sc_GenSet__O = (function(that) { return this.intersect__sc_GenSet__sci_HashSet(that) }); $c_sci_HashSet.prototype.get0__O__I__I__Z = (function(key, hash, level) { return false }); $c_sci_HashSet.prototype.subsetOf0__sci_HashSet__I__Z = (function(that, level) { return true }); $c_sci_HashSet.prototype.union__sc_GenSet__sc_Set = (function(that) { return this.union__sc_GenSet__sci_HashSet(that) }); function $is_sci_HashSet(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_HashSet))) } function $as_sci_HashSet(obj) { return (($is_sci_HashSet(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.HashSet")) } function $isArrayOf_sci_HashSet(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_HashSet))) } function $asArrayOf_sci_HashSet(obj, depth) { return (($isArrayOf_sci_HashSet(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.HashSet;", depth)) } var $d_sci_HashSet = new $TypeData().initClass({ sci_HashSet: 0 }, false, "scala.collection.immutable.HashSet", { sci_HashSet: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_HashSet.prototype.$classData = $d_sci_HashSet; /** @constructor */ function $c_sci_ListSet$EmptyListSet$() { $c_sci_ListSet.call(this) } $c_sci_ListSet$EmptyListSet$.prototype = new $h_sci_ListSet(); $c_sci_ListSet$EmptyListSet$.prototype.constructor = $c_sci_ListSet$EmptyListSet$; /** @constructor */ function $h_sci_ListSet$EmptyListSet$() { /*<skip>*/ } $h_sci_ListSet$EmptyListSet$.prototype = $c_sci_ListSet$EmptyListSet$.prototype; $c_sci_ListSet$EmptyListSet$.prototype.init___ = (function() { return this }); var $d_sci_ListSet$EmptyListSet$ = new $TypeData().initClass({ sci_ListSet$EmptyListSet$: 0 }, false, "scala.collection.immutable.ListSet$EmptyListSet$", { sci_ListSet$EmptyListSet$: 1, sci_ListSet: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_ListSet$EmptyListSet$.prototype.$classData = $d_sci_ListSet$EmptyListSet$; var $n_sci_ListSet$EmptyListSet$ = (void 0); function $m_sci_ListSet$EmptyListSet$() { if ((!$n_sci_ListSet$EmptyListSet$)) { $n_sci_ListSet$EmptyListSet$ = new $c_sci_ListSet$EmptyListSet$().init___() }; return $n_sci_ListSet$EmptyListSet$ } /** @constructor */ function $c_sci_ListSet$Node() { $c_sci_ListSet.call(this); this.head$5 = null; this.$$outer$f = null } $c_sci_ListSet$Node.prototype = new $h_sci_ListSet(); $c_sci_ListSet$Node.prototype.constructor = $c_sci_ListSet$Node; /** @constructor */ function $h_sci_ListSet$Node() { /*<skip>*/ } $h_sci_ListSet$Node.prototype = $c_sci_ListSet$Node.prototype; $c_sci_ListSet$Node.prototype.head__O = (function() { return this.head$5 }); $c_sci_ListSet$Node.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_ListSet(elem) }); $c_sci_ListSet$Node.prototype.isEmpty__Z = (function() { return false }); $c_sci_ListSet$Node.prototype.scala$collection$immutable$ListSet$$unchecked$undouter__sci_ListSet = (function() { return this.$$outer$f }); $c_sci_ListSet$Node.prototype.$$plus__O__sci_ListSet = (function(e) { return (this.containsInternal__p5__sci_ListSet__O__Z(this, e) ? this : new $c_sci_ListSet$Node().init___sci_ListSet__O(this, e)) }); $c_sci_ListSet$Node.prototype.sizeInternal__p5__sci_ListSet__I__I = (function(n, acc) { _sizeInternal: while (true) { if (n.isEmpty__Z()) { return acc } else { var temp$n = n.scala$collection$immutable$ListSet$$unchecked$undouter__sci_ListSet(); var temp$acc = ((1 + acc) | 0); n = temp$n; acc = temp$acc; continue _sizeInternal } } }); $c_sci_ListSet$Node.prototype.size__I = (function() { return this.sizeInternal__p5__sci_ListSet__I__I(this, 0) }); $c_sci_ListSet$Node.prototype.$$minus__O__sc_Set = (function(elem) { return this.$$minus__O__sci_ListSet(elem) }); $c_sci_ListSet$Node.prototype.init___sci_ListSet__O = (function($$outer, head) { this.head$5 = head; if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; return this }); $c_sci_ListSet$Node.prototype.contains__O__Z = (function(e) { return this.containsInternal__p5__sci_ListSet__O__Z(this, e) }); $c_sci_ListSet$Node.prototype.tail__O = (function() { return this.$$outer$f }); $c_sci_ListSet$Node.prototype.$$minus__O__sci_ListSet = (function(e) { if ($m_sr_BoxesRunTime$().equals__O__O__Z(e, this.head$5)) { return this.$$outer$f } else { var tail = this.$$outer$f.$$minus__O__sci_ListSet(e); return new $c_sci_ListSet$Node().init___sci_ListSet__O(tail, this.head$5) } }); $c_sci_ListSet$Node.prototype.containsInternal__p5__sci_ListSet__O__Z = (function(n, e) { _containsInternal: while (true) { if ((!n.isEmpty__Z())) { if ($m_sr_BoxesRunTime$().equals__O__O__Z(n.head__O(), e)) { return true } else { n = n.scala$collection$immutable$ListSet$$unchecked$undouter__sci_ListSet(); continue _containsInternal } } else { return false } } }); $c_sci_ListSet$Node.prototype.$$plus__O__sc_Set = (function(elem) { return this.$$plus__O__sci_ListSet(elem) }); $c_sci_ListSet$Node.prototype.tail__sci_ListSet = (function() { return this.$$outer$f }); var $d_sci_ListSet$Node = new $TypeData().initClass({ sci_ListSet$Node: 0 }, false, "scala.collection.immutable.ListSet$Node", { sci_ListSet$Node: 1, sci_ListSet: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_ListSet$Node.prototype.$classData = $d_sci_ListSet$Node; /** @constructor */ function $c_sci_MapLike$ImmutableDefaultKeySet() { $c_sc_MapLike$DefaultKeySet.call(this) } $c_sci_MapLike$ImmutableDefaultKeySet.prototype = new $h_sc_MapLike$DefaultKeySet(); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.constructor = $c_sci_MapLike$ImmutableDefaultKeySet; /** @constructor */ function $h_sci_MapLike$ImmutableDefaultKeySet() { /*<skip>*/ } $h_sci_MapLike$ImmutableDefaultKeySet.prototype = $c_sci_MapLike$ImmutableDefaultKeySet.prototype; $c_sci_MapLike$ImmutableDefaultKeySet.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.apply__O__O = (function(v1) { return this.$$outer$f.contains__O__Z(v1) }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Set$() }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.init___sci_MapLike = (function($$outer) { $c_sc_MapLike$DefaultKeySet.prototype.init___sc_MapLike.call(this, $$outer); return this }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.empty__sc_Set = (function() { return $m_sci_Set$EmptySet$() }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.$$minus__O__sc_Set = (function(elem) { return this.$$minus__O__sci_Set(elem) }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.$$plus__O__sci_Set = (function(elem) { return (this.$$outer$f.contains__O__Z(elem) ? this : $as_sci_Set($as_sc_SetLike($m_sci_Set$().apply__sc_Seq__sc_GenTraversable($m_sci_Nil$())).$$plus$plus__sc_GenTraversableOnce__sc_Set(this).$$plus__O__sc_Set(elem))) }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.seq__sc_Set = (function() { return this }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.toSet__sci_Set = (function() { return this }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.$$plus__O__sc_Set = (function(elem) { return this.$$plus__O__sci_Set(elem) }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.$$minus__O__sci_Set = (function(elem) { return (this.$$outer$f.contains__O__Z(elem) ? $as_sci_Set($as_sc_SetLike($m_sci_Set$().apply__sc_Seq__sc_GenTraversable($m_sci_Nil$())).$$plus$plus__sc_GenTraversableOnce__sc_Set(this).$$minus__O__sc_Set(elem)) : this) }); var $d_sci_MapLike$ImmutableDefaultKeySet = new $TypeData().initClass({ sci_MapLike$ImmutableDefaultKeySet: 0 }, false, "scala.collection.immutable.MapLike$ImmutableDefaultKeySet", { sci_MapLike$ImmutableDefaultKeySet: 1, sc_MapLike$DefaultKeySet: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, s_Serializable: 1, Ljava_io_Serializable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1 }); $c_sci_MapLike$ImmutableDefaultKeySet.prototype.$classData = $d_sci_MapLike$ImmutableDefaultKeySet; /** @constructor */ function $c_scm_AbstractSeq() { $c_sc_AbstractSeq.call(this) } $c_scm_AbstractSeq.prototype = new $h_sc_AbstractSeq(); $c_scm_AbstractSeq.prototype.constructor = $c_scm_AbstractSeq; /** @constructor */ function $h_scm_AbstractSeq() { /*<skip>*/ } $h_scm_AbstractSeq.prototype = $c_scm_AbstractSeq.prototype; $c_scm_AbstractSeq.prototype.seq__sc_TraversableOnce = (function() { return this.seq__scm_Seq() }); $c_scm_AbstractSeq.prototype.seq__scm_Seq = (function() { return this }); function $is_scm_Map(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_Map))) } function $as_scm_Map(obj) { return (($is_scm_Map(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.Map")) } function $isArrayOf_scm_Map(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_Map))) } function $asArrayOf_scm_Map(obj, depth) { return (($isArrayOf_scm_Map(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.Map;", depth)) } /** @constructor */ function $c_sci_HashSet$EmptyHashSet$() { $c_sci_HashSet.call(this) } $c_sci_HashSet$EmptyHashSet$.prototype = new $h_sci_HashSet(); $c_sci_HashSet$EmptyHashSet$.prototype.constructor = $c_sci_HashSet$EmptyHashSet$; /** @constructor */ function $h_sci_HashSet$EmptyHashSet$() { /*<skip>*/ } $h_sci_HashSet$EmptyHashSet$.prototype = $c_sci_HashSet$EmptyHashSet$.prototype; $c_sci_HashSet$EmptyHashSet$.prototype.init___ = (function() { return this }); var $d_sci_HashSet$EmptyHashSet$ = new $TypeData().initClass({ sci_HashSet$EmptyHashSet$: 0 }, false, "scala.collection.immutable.HashSet$EmptyHashSet$", { sci_HashSet$EmptyHashSet$: 1, sci_HashSet: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_HashSet$EmptyHashSet$.prototype.$classData = $d_sci_HashSet$EmptyHashSet$; var $n_sci_HashSet$EmptyHashSet$ = (void 0); function $m_sci_HashSet$EmptyHashSet$() { if ((!$n_sci_HashSet$EmptyHashSet$)) { $n_sci_HashSet$EmptyHashSet$ = new $c_sci_HashSet$EmptyHashSet$().init___() }; return $n_sci_HashSet$EmptyHashSet$ } /** @constructor */ function $c_sci_HashSet$HashTrieSet() { $c_sci_HashSet.call(this); this.bitmap$5 = 0; this.elems$5 = null; this.size0$5 = 0 } $c_sci_HashSet$HashTrieSet.prototype = new $h_sci_HashSet(); $c_sci_HashSet$HashTrieSet.prototype.constructor = $c_sci_HashSet$HashTrieSet; /** @constructor */ function $h_sci_HashSet$HashTrieSet() { /*<skip>*/ } $h_sci_HashSet$HashTrieSet.prototype = $c_sci_HashSet$HashTrieSet.prototype; $c_sci_HashSet$HashTrieSet.prototype.updated0__O__I__I__sci_HashSet = (function(key, hash, level) { var index = (31 & ((hash >>> level) | 0)); var mask = (1 << index); var offset = $m_jl_Integer$().bitCount__I__I((this.bitmap$5 & (((-1) + mask) | 0))); if (((this.bitmap$5 & mask) !== 0)) { var sub = this.elems$5.u[offset]; var subNew = sub.updated0__O__I__I__sci_HashSet(key, hash, ((5 + level) | 0)); if ((sub === subNew)) { return this } else { var elemsNew = $newArrayObject($d_sci_HashSet.getArrayOf(), [this.elems$5.u.length]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$5, 0, elemsNew, 0, this.elems$5.u.length); elemsNew.u[offset] = subNew; return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(this.bitmap$5, elemsNew, ((this.size0$5 + ((subNew.size__I() - sub.size__I()) | 0)) | 0)) } } else { var elemsNew$2 = $newArrayObject($d_sci_HashSet.getArrayOf(), [((1 + this.elems$5.u.length) | 0)]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$5, 0, elemsNew$2, 0, offset); elemsNew$2.u[offset] = new $c_sci_HashSet$HashSet1().init___O__I(key, hash); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$5, offset, elemsNew$2, ((1 + offset) | 0), ((this.elems$5.u.length - offset) | 0)); var bitmapNew = (this.bitmap$5 | mask); return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(bitmapNew, elemsNew$2, ((1 + this.size0$5) | 0)) } }); $c_sci_HashSet$HashTrieSet.prototype.union0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { if ((that === this)) { return this } else if ($is_sci_HashSet$LeafHashSet(that)) { var x2 = $as_sci_HashSet$LeafHashSet(that); return this.union0__sci_HashSet$LeafHashSet__I__sci_HashSet(x2, level) } else if ($is_sci_HashSet$HashTrieSet(that)) { var x3 = $as_sci_HashSet$HashTrieSet(that); var a = this.elems$5; var abm = this.bitmap$5; var ai = 0; var b = x3.elems$5; var bbm = x3.bitmap$5; var bi = 0; var offset = offset0; var rs = 0; while (((abm | bbm) !== 0)) { var alsb = (abm ^ (abm & (((-1) + abm) | 0))); var blsb = (bbm ^ (bbm & (((-1) + bbm) | 0))); if ((alsb === blsb)) { var sub1 = a.u[ai].union0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet(b.u[bi], ((5 + level) | 0), buffer, offset); rs = ((rs + sub1.size__I()) | 0); buffer.u[offset] = sub1; offset = ((1 + offset) | 0); abm = (abm & (~alsb)); ai = ((1 + ai) | 0); bbm = (bbm & (~blsb)); bi = ((1 + bi) | 0) } else { var i = (((-1) + alsb) | 0); var j = (((-1) + blsb) | 0); if ((((i < j) !== (i < 0)) !== (j < 0))) { var sub1$2 = a.u[ai]; rs = ((rs + sub1$2.size__I()) | 0); buffer.u[offset] = sub1$2; offset = ((1 + offset) | 0); abm = (abm & (~alsb)); ai = ((1 + ai) | 0) } else { var sub1$3 = b.u[bi]; rs = ((rs + sub1$3.size__I()) | 0); buffer.u[offset] = sub1$3; offset = ((1 + offset) | 0); bbm = (bbm & (~blsb)); bi = ((1 + bi) | 0) } } }; if ((rs === this.size0$5)) { return this } else if ((rs === x3.size0$5)) { return x3 } else { var length = ((offset - offset0) | 0); var elems = $newArrayObject($d_sci_HashSet.getArrayOf(), [length]); $systemArraycopy(buffer, offset0, elems, 0, length); return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I((this.bitmap$5 | x3.bitmap$5), elems, rs) } } else { return this } }); $c_sci_HashSet$HashTrieSet.prototype.foreach__F1__V = (function(f) { var i = 0; while ((i < this.elems$5.u.length)) { this.elems$5.u[i].foreach__F1__V(f); i = ((1 + i) | 0) } }); $c_sci_HashSet$HashTrieSet.prototype.union0__sci_HashSet$LeafHashSet__I__sci_HashSet = (function(that, level) { var index = (31 & ((that.hash__I() >>> level) | 0)); var mask = (1 << index); var offset = $m_jl_Integer$().bitCount__I__I((this.bitmap$5 & (((-1) + mask) | 0))); if (((this.bitmap$5 & mask) !== 0)) { var sub = this.elems$5.u[offset]; var sub1 = sub.union0__sci_HashSet$LeafHashSet__I__sci_HashSet(that, ((5 + level) | 0)); if ((sub === sub1)) { return this } else { var elems1 = $newArrayObject($d_sci_HashSet.getArrayOf(), [this.elems$5.u.length]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$5, 0, elems1, 0, this.elems$5.u.length); elems1.u[offset] = sub1; return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(this.bitmap$5, elems1, ((this.size0$5 + ((sub1.size__I() - sub.size__I()) | 0)) | 0)) } } else { var elems1$2 = $newArrayObject($d_sci_HashSet.getArrayOf(), [((1 + this.elems$5.u.length) | 0)]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$5, 0, elems1$2, 0, offset); elems1$2.u[offset] = that; $m_s_Array$().copy__O__I__O__I__I__V(this.elems$5, offset, elems1$2, ((1 + offset) | 0), ((this.elems$5.u.length - offset) | 0)); var bitmap1 = (this.bitmap$5 | mask); return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(bitmap1, elems1$2, ((this.size0$5 + that.size__I()) | 0)) } }); $c_sci_HashSet$HashTrieSet.prototype.size__I = (function() { return this.size0$5 }); $c_sci_HashSet$HashTrieSet.prototype.iterator__sc_Iterator = (function() { return new $c_sci_HashSet$HashTrieSet$$anon$1().init___sci_HashSet$HashTrieSet(this) }); $c_sci_HashSet$HashTrieSet.prototype.removed0__O__I__I__sci_HashSet = (function(key, hash, level) { var index = (31 & ((hash >>> level) | 0)); var mask = (1 << index); var offset = $m_jl_Integer$().bitCount__I__I((this.bitmap$5 & (((-1) + mask) | 0))); if (((this.bitmap$5 & mask) !== 0)) { var sub = this.elems$5.u[offset]; var subNew = sub.removed0__O__I__I__sci_HashSet(key, hash, ((5 + level) | 0)); if ((sub === subNew)) { return this } else if ((subNew === null)) { var bitmapNew = (this.bitmap$5 ^ mask); if ((bitmapNew !== 0)) { var elemsNew = $newArrayObject($d_sci_HashSet.getArrayOf(), [(((-1) + this.elems$5.u.length) | 0)]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$5, 0, elemsNew, 0, offset); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$5, ((1 + offset) | 0), elemsNew, offset, (((-1) + ((this.elems$5.u.length - offset) | 0)) | 0)); var sizeNew = ((this.size0$5 - sub.size__I()) | 0); return (((elemsNew.u.length === 1) && (!$is_sci_HashSet$HashTrieSet(elemsNew.u[0]))) ? elemsNew.u[0] : new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(bitmapNew, elemsNew, sizeNew)) } else { return null } } else if (((this.elems$5.u.length === 1) && (!$is_sci_HashSet$HashTrieSet(subNew)))) { return subNew } else { var elemsNew$2 = $newArrayObject($d_sci_HashSet.getArrayOf(), [this.elems$5.u.length]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$5, 0, elemsNew$2, 0, this.elems$5.u.length); elemsNew$2.u[offset] = subNew; var sizeNew$2 = ((this.size0$5 + ((subNew.size__I() - sub.size__I()) | 0)) | 0); return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(this.bitmap$5, elemsNew$2, sizeNew$2) } } else { return this } }); $c_sci_HashSet$HashTrieSet.prototype.intersect0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { if ((that === this)) { return this } else if ($is_sci_HashSet$LeafHashSet(that)) { var x2 = $as_sci_HashSet$LeafHashSet(that); return x2.intersect0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet(this, level, buffer, offset0) } else if ($is_sci_HashSet$HashTrieSet(that)) { var x3 = $as_sci_HashSet$HashTrieSet(that); var a = this.elems$5; var abm = this.bitmap$5; var ai = 0; var b = x3.elems$5; var bbm = x3.bitmap$5; var bi = 0; if (((abm & bbm) === 0)) { return null }; var offset = offset0; var rs = 0; var rbm = 0; while (((abm & bbm) !== 0)) { var alsb = (abm ^ (abm & (((-1) + abm) | 0))); var blsb = (bbm ^ (bbm & (((-1) + bbm) | 0))); if ((alsb === blsb)) { var sub1 = a.u[ai].intersect0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet(b.u[bi], ((5 + level) | 0), buffer, offset); if ((sub1 !== null)) { rs = ((rs + sub1.size__I()) | 0); rbm = (rbm | alsb); buffer.u[offset] = sub1; offset = ((1 + offset) | 0) }; abm = (abm & (~alsb)); ai = ((1 + ai) | 0); bbm = (bbm & (~blsb)); bi = ((1 + bi) | 0) } else { var i = (((-1) + alsb) | 0); var j = (((-1) + blsb) | 0); if ((((i < j) !== (i < 0)) !== (j < 0))) { abm = (abm & (~alsb)); ai = ((1 + ai) | 0) } else { bbm = (bbm & (~blsb)); bi = ((1 + bi) | 0) } } }; if ((rbm === 0)) { return null } else if ((rs === this.size0$5)) { return this } else if ((rs === x3.size0$5)) { return x3 } else { var length = ((offset - offset0) | 0); if (((length === 1) && (!$is_sci_HashSet$HashTrieSet(buffer.u[offset0])))) { return buffer.u[offset0] } else { var elems = $newArrayObject($d_sci_HashSet.getArrayOf(), [length]); $systemArraycopy(buffer, offset0, elems, 0, length); return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(rbm, elems, rs) } } } else { return null } }); $c_sci_HashSet$HashTrieSet.prototype.diff0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { if ((that === this)) { return null } else if ($is_sci_HashSet$HashSet1(that)) { var x2 = $as_sci_HashSet$HashSet1(that); return this.removed0__O__I__I__sci_HashSet(x2.key$6, x2.hash$6, level) } else if ($is_sci_HashSet$HashTrieSet(that)) { var x3 = $as_sci_HashSet$HashTrieSet(that); var a = this.elems$5; var abm = this.bitmap$5; var ai = 0; var b = x3.elems$5; var bbm = x3.bitmap$5; var bi = 0; var offset = offset0; var rs = 0; var rbm = 0; while ((abm !== 0)) { var alsb = (abm ^ (abm & (((-1) + abm) | 0))); var blsb = (bbm ^ (bbm & (((-1) + bbm) | 0))); if ((alsb === blsb)) { var sub1 = a.u[ai].diff0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet(b.u[bi], ((5 + level) | 0), buffer, offset); if ((sub1 !== null)) { rs = ((rs + sub1.size__I()) | 0); rbm = (rbm | alsb); buffer.u[offset] = sub1; offset = ((1 + offset) | 0) }; abm = (abm & (~alsb)); ai = ((1 + ai) | 0); bbm = (bbm & (~blsb)); bi = ((1 + bi) | 0) } else { var i = (((-1) + alsb) | 0); var j = (((-1) + blsb) | 0); if ((((i < j) !== (i < 0)) !== (j < 0))) { var sub1$2 = a.u[ai]; rs = ((rs + sub1$2.size__I()) | 0); rbm = (rbm | alsb); buffer.u[offset] = sub1$2; offset = ((1 + offset) | 0); abm = (abm & (~alsb)); ai = ((1 + ai) | 0) } else { bbm = (bbm & (~blsb)); bi = ((1 + bi) | 0) } } }; if ((rbm === 0)) { return null } else if ((rs === this.size0$5)) { return this } else { var length = ((offset - offset0) | 0); if (((length === 1) && (!$is_sci_HashSet$HashTrieSet(buffer.u[offset0])))) { return buffer.u[offset0] } else { var elems = $newArrayObject($d_sci_HashSet.getArrayOf(), [length]); $systemArraycopy(buffer, offset0, elems, 0, length); return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(rbm, elems, rs) } } } else if ($is_sci_HashSet$HashSetCollision1(that)) { var x4 = $as_sci_HashSet$HashSetCollision1(that); return this.removeAll$1__p5__sci_HashSet__sci_ListSet__I__sci_HashSet$HashSetCollision1__sci_HashSet(this, x4.ks$6, level, x4) } else { return this } }); $c_sci_HashSet$HashTrieSet.prototype.init___I__Asci_HashSet__I = (function(bitmap, elems, size0) { this.bitmap$5 = bitmap; this.elems$5 = elems; this.size0$5 = size0; $m_s_Predef$().assert__Z__V(($m_jl_Integer$().bitCount__I__I(bitmap) === elems.u.length)); return this }); $c_sci_HashSet$HashTrieSet.prototype.filter0__F1__Z__I__Asci_HashSet__I__sci_HashSet = (function(p, negate, level, buffer, offset0) { var offset = offset0; var rs = 0; var kept = 0; var i = 0; while ((i < this.elems$5.u.length)) { var result = this.elems$5.u[i].filter0__F1__Z__I__Asci_HashSet__I__sci_HashSet(p, negate, ((5 + level) | 0), buffer, offset); if ((result !== null)) { buffer.u[offset] = result; offset = ((1 + offset) | 0); rs = ((rs + result.size__I()) | 0); kept = (kept | (1 << i)) }; i = ((1 + i) | 0) }; if ((offset === offset0)) { return null } else if ((rs === this.size0$5)) { return this } else if (((offset === ((1 + offset0) | 0)) && (!$is_sci_HashSet$HashTrieSet(buffer.u[offset0])))) { return buffer.u[offset0] } else { var length = ((offset - offset0) | 0); var elems1 = $newArrayObject($d_sci_HashSet.getArrayOf(), [length]); $systemArraycopy(buffer, offset0, elems1, 0, length); var bitmap1 = ((length === this.elems$5.u.length) ? this.bitmap$5 : $m_sci_HashSet$().scala$collection$immutable$HashSet$$keepBits__I__I__I(this.bitmap$5, kept)); return new $c_sci_HashSet$HashTrieSet().init___I__Asci_HashSet__I(bitmap1, elems1, rs) } }); $c_sci_HashSet$HashTrieSet.prototype.get0__O__I__I__Z = (function(key, hash, level) { var index = (31 & ((hash >>> level) | 0)); var mask = (1 << index); if ((this.bitmap$5 === (-1))) { return this.elems$5.u[(31 & index)].get0__O__I__I__Z(key, hash, ((5 + level) | 0)) } else if (((this.bitmap$5 & mask) !== 0)) { var offset = $m_jl_Integer$().bitCount__I__I((this.bitmap$5 & (((-1) + mask) | 0))); return this.elems$5.u[offset].get0__O__I__I__Z(key, hash, ((5 + level) | 0)) } else { return false } }); $c_sci_HashSet$HashTrieSet.prototype.removeAll$1__p5__sci_HashSet__sci_ListSet__I__sci_HashSet$HashSetCollision1__sci_HashSet = (function(s, r, level$4, x4$1) { _removeAll: while (true) { if ((r.isEmpty__Z() || (s === null))) { return s } else { var temp$s = s.removed0__O__I__I__sci_HashSet(r.head__O(), x4$1.hash$6, level$4); var temp$r = r.tail__sci_ListSet(); s = temp$s; r = temp$r; continue _removeAll } } }); $c_sci_HashSet$HashTrieSet.prototype.subsetOf0__sci_HashSet__I__Z = (function(that, level) { if ((that === this)) { return true } else { if ($is_sci_HashSet$HashTrieSet(that)) { var x2 = $as_sci_HashSet$HashTrieSet(that); if ((this.size0$5 <= x2.size0$5)) { var abm = this.bitmap$5; var a = this.elems$5; var ai = 0; var b = x2.elems$5; var bbm = x2.bitmap$5; var bi = 0; if (((abm & bbm) === abm)) { while ((abm !== 0)) { var alsb = (abm ^ (abm & (((-1) + abm) | 0))); var blsb = (bbm ^ (bbm & (((-1) + bbm) | 0))); if ((alsb === blsb)) { if ((!a.u[ai].subsetOf0__sci_HashSet__I__Z(b.u[bi], ((5 + level) | 0)))) { return false }; abm = (abm & (~alsb)); ai = ((1 + ai) | 0) }; bbm = (bbm & (~blsb)); bi = ((1 + bi) | 0) }; return true } else { return false } } }; return false } }); function $is_sci_HashSet$HashTrieSet(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_HashSet$HashTrieSet))) } function $as_sci_HashSet$HashTrieSet(obj) { return (($is_sci_HashSet$HashTrieSet(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.HashSet$HashTrieSet")) } function $isArrayOf_sci_HashSet$HashTrieSet(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_HashSet$HashTrieSet))) } function $asArrayOf_sci_HashSet$HashTrieSet(obj, depth) { return (($isArrayOf_sci_HashSet$HashTrieSet(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.HashSet$HashTrieSet;", depth)) } var $d_sci_HashSet$HashTrieSet = new $TypeData().initClass({ sci_HashSet$HashTrieSet: 0 }, false, "scala.collection.immutable.HashSet$HashTrieSet", { sci_HashSet$HashTrieSet: 1, sci_HashSet: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_HashSet$HashTrieSet.prototype.$classData = $d_sci_HashSet$HashTrieSet; /** @constructor */ function $c_sci_HashSet$LeafHashSet() { $c_sci_HashSet.call(this) } $c_sci_HashSet$LeafHashSet.prototype = new $h_sci_HashSet(); $c_sci_HashSet$LeafHashSet.prototype.constructor = $c_sci_HashSet$LeafHashSet; /** @constructor */ function $h_sci_HashSet$LeafHashSet() { /*<skip>*/ } $h_sci_HashSet$LeafHashSet.prototype = $c_sci_HashSet$LeafHashSet.prototype; function $is_sci_HashSet$LeafHashSet(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_HashSet$LeafHashSet))) } function $as_sci_HashSet$LeafHashSet(obj) { return (($is_sci_HashSet$LeafHashSet(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.HashSet$LeafHashSet")) } function $isArrayOf_sci_HashSet$LeafHashSet(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_HashSet$LeafHashSet))) } function $asArrayOf_sci_HashSet$LeafHashSet(obj, depth) { return (($isArrayOf_sci_HashSet$LeafHashSet(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.HashSet$LeafHashSet;", depth)) } /** @constructor */ function $c_sci_ListMap() { $c_sci_AbstractMap.call(this) } $c_sci_ListMap.prototype = new $h_sci_AbstractMap(); $c_sci_ListMap.prototype.constructor = $c_sci_ListMap; /** @constructor */ function $h_sci_ListMap() { /*<skip>*/ } $h_sci_ListMap.prototype = $c_sci_ListMap.prototype; $c_sci_ListMap.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_ListMap.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_ListMap(elem) }); $c_sci_ListMap.prototype.value__O = (function() { throw new $c_ju_NoSuchElementException().init___T("empty map") }); $c_sci_ListMap.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_ListMap.prototype.empty__sc_Map = (function() { return $m_sci_ListMap$EmptyListMap$() }); $c_sci_ListMap.prototype.$$minus__O__sc_Map = (function(key) { return this.$$minus__O__sci_ListMap(key) }); $c_sci_ListMap.prototype.empty__sci_Map = (function() { return $m_sci_ListMap$EmptyListMap$() }); $c_sci_ListMap.prototype.seq__sc_Map = (function() { return this }); $c_sci_ListMap.prototype.size__I = (function() { return 0 }); $c_sci_ListMap.prototype.iterator__sc_Iterator = (function() { var this$1 = new $c_sci_ListMap$$anon$1().init___sci_ListMap(this); var this$2 = $m_sci_List$(); var cbf = this$2.ReusableCBFInstance$2; var this$3 = $as_sci_List($s_sc_TraversableOnce$class__to__sc_TraversableOnce__scg_CanBuildFrom__O(this$1, cbf)); return $s_sc_SeqLike$class__reverseIterator__sc_SeqLike__sc_Iterator(this$3) }); $c_sci_ListMap.prototype.key__O = (function() { throw new $c_ju_NoSuchElementException().init___T("empty map") }); $c_sci_ListMap.prototype.updated__O__O__sci_ListMap = (function(key, value) { return new $c_sci_ListMap$Node().init___sci_ListMap__O__O(this, key, value) }); $c_sci_ListMap.prototype.$$minus__O__sci_ListMap = (function(key) { return this }); $c_sci_ListMap.prototype.get__O__s_Option = (function(key) { return $m_s_None$() }); $c_sci_ListMap.prototype.next__sci_ListMap = (function() { throw new $c_ju_NoSuchElementException().init___T("empty map") }); $c_sci_ListMap.prototype.$$plus__T2__sc_GenMap = (function(kv) { return this.updated__O__O__sci_ListMap(kv.$$und1__O(), kv.$$und2__O()) }); function $is_sci_ListMap(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_ListMap))) } function $as_sci_ListMap(obj) { return (($is_sci_ListMap(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.ListMap")) } function $isArrayOf_sci_ListMap(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_ListMap))) } function $asArrayOf_sci_ListMap(obj, depth) { return (($isArrayOf_sci_ListMap(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.ListMap;", depth)) } /** @constructor */ function $c_sci_Map$EmptyMap$() { $c_sci_AbstractMap.call(this) } $c_sci_Map$EmptyMap$.prototype = new $h_sci_AbstractMap(); $c_sci_Map$EmptyMap$.prototype.constructor = $c_sci_Map$EmptyMap$; /** @constructor */ function $h_sci_Map$EmptyMap$() { /*<skip>*/ } $h_sci_Map$EmptyMap$.prototype = $c_sci_Map$EmptyMap$.prototype; $c_sci_Map$EmptyMap$.prototype.init___ = (function() { return this }); $c_sci_Map$EmptyMap$.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this }); $c_sci_Map$EmptyMap$.prototype.$$minus__O__sc_Map = (function(key) { return this }); $c_sci_Map$EmptyMap$.prototype.iterator__sc_Iterator = (function() { return $m_sc_Iterator$().empty$1 }); $c_sci_Map$EmptyMap$.prototype.size__I = (function() { return 0 }); $c_sci_Map$EmptyMap$.prototype.get__O__s_Option = (function(key) { return $m_s_None$() }); $c_sci_Map$EmptyMap$.prototype.$$plus__T2__sc_GenMap = (function(kv) { var key = kv.$$und1__O(); var value = kv.$$und2__O(); return new $c_sci_Map$Map1().init___O__O(key, value) }); var $d_sci_Map$EmptyMap$ = new $TypeData().initClass({ sci_Map$EmptyMap$: 0 }, false, "scala.collection.immutable.Map$EmptyMap$", { sci_Map$EmptyMap$: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Map$EmptyMap$.prototype.$classData = $d_sci_Map$EmptyMap$; var $n_sci_Map$EmptyMap$ = (void 0); function $m_sci_Map$EmptyMap$() { if ((!$n_sci_Map$EmptyMap$)) { $n_sci_Map$EmptyMap$ = new $c_sci_Map$EmptyMap$().init___() }; return $n_sci_Map$EmptyMap$ } /** @constructor */ function $c_sci_Map$Map1() { $c_sci_AbstractMap.call(this); this.key1$5 = null; this.value1$5 = null } $c_sci_Map$Map1.prototype = new $h_sci_AbstractMap(); $c_sci_Map$Map1.prototype.constructor = $c_sci_Map$Map1; /** @constructor */ function $h_sci_Map$Map1() { /*<skip>*/ } $h_sci_Map$Map1.prototype = $c_sci_Map$Map1.prototype; $c_sci_Map$Map1.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_Map(elem) }); $c_sci_Map$Map1.prototype.init___O__O = (function(key1, value1) { this.key1$5 = key1; this.value1$5 = value1; return this }); $c_sci_Map$Map1.prototype.foreach__F1__V = (function(f) { f.apply__O__O(new $c_T2().init___O__O(this.key1$5, this.value1$5)) }); $c_sci_Map$Map1.prototype.$$minus__O__sc_Map = (function(key) { return this.$$minus__O__sci_Map(key) }); $c_sci_Map$Map1.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O(this.key1$5, this.value1$5)]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); $c_sci_Map$Map1.prototype.size__I = (function() { return 1 }); $c_sci_Map$Map1.prototype.updated__O__O__sci_Map = (function(key, value) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_sci_Map$Map1().init___O__O(this.key1$5, value) : new $c_sci_Map$Map2().init___O__O__O__O(this.key1$5, this.value1$5, key, value)) }); $c_sci_Map$Map1.prototype.get__O__s_Option = (function(key) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_s_Some().init___O(this.value1$5) : $m_s_None$()) }); $c_sci_Map$Map1.prototype.$$minus__O__sci_Map = (function(key) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? $m_sci_Map$EmptyMap$() : this) }); $c_sci_Map$Map1.prototype.$$plus__T2__sc_GenMap = (function(kv) { return this.updated__O__O__sci_Map(kv.$$und1__O(), kv.$$und2__O()) }); var $d_sci_Map$Map1 = new $TypeData().initClass({ sci_Map$Map1: 0 }, false, "scala.collection.immutable.Map$Map1", { sci_Map$Map1: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Map$Map1.prototype.$classData = $d_sci_Map$Map1; /** @constructor */ function $c_sci_Map$Map2() { $c_sci_AbstractMap.call(this); this.key1$5 = null; this.value1$5 = null; this.key2$5 = null; this.value2$5 = null } $c_sci_Map$Map2.prototype = new $h_sci_AbstractMap(); $c_sci_Map$Map2.prototype.constructor = $c_sci_Map$Map2; /** @constructor */ function $h_sci_Map$Map2() { /*<skip>*/ } $h_sci_Map$Map2.prototype = $c_sci_Map$Map2.prototype; $c_sci_Map$Map2.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_Map(elem) }); $c_sci_Map$Map2.prototype.foreach__F1__V = (function(f) { f.apply__O__O(new $c_T2().init___O__O(this.key1$5, this.value1$5)); f.apply__O__O(new $c_T2().init___O__O(this.key2$5, this.value2$5)) }); $c_sci_Map$Map2.prototype.$$minus__O__sc_Map = (function(key) { return this.$$minus__O__sci_Map(key) }); $c_sci_Map$Map2.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O(this.key1$5, this.value1$5), new $c_T2().init___O__O(this.key2$5, this.value2$5)]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); $c_sci_Map$Map2.prototype.size__I = (function() { return 2 }); $c_sci_Map$Map2.prototype.updated__O__O__sci_Map = (function(key, value) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_sci_Map$Map2().init___O__O__O__O(this.key1$5, value, this.key2$5, this.value2$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key2$5) ? new $c_sci_Map$Map2().init___O__O__O__O(this.key1$5, this.value1$5, this.key2$5, value) : new $c_sci_Map$Map3().init___O__O__O__O__O__O(this.key1$5, this.value1$5, this.key2$5, this.value2$5, key, value))) }); $c_sci_Map$Map2.prototype.get__O__s_Option = (function(key) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_s_Some().init___O(this.value1$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key2$5) ? new $c_s_Some().init___O(this.value2$5) : $m_s_None$())) }); $c_sci_Map$Map2.prototype.init___O__O__O__O = (function(key1, value1, key2, value2) { this.key1$5 = key1; this.value1$5 = value1; this.key2$5 = key2; this.value2$5 = value2; return this }); $c_sci_Map$Map2.prototype.$$minus__O__sci_Map = (function(key) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_sci_Map$Map1().init___O__O(this.key2$5, this.value2$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key2$5) ? new $c_sci_Map$Map1().init___O__O(this.key1$5, this.value1$5) : this)) }); $c_sci_Map$Map2.prototype.$$plus__T2__sc_GenMap = (function(kv) { return this.updated__O__O__sci_Map(kv.$$und1__O(), kv.$$und2__O()) }); var $d_sci_Map$Map2 = new $TypeData().initClass({ sci_Map$Map2: 0 }, false, "scala.collection.immutable.Map$Map2", { sci_Map$Map2: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Map$Map2.prototype.$classData = $d_sci_Map$Map2; /** @constructor */ function $c_sci_Map$Map3() { $c_sci_AbstractMap.call(this); this.key1$5 = null; this.value1$5 = null; this.key2$5 = null; this.value2$5 = null; this.key3$5 = null; this.value3$5 = null } $c_sci_Map$Map3.prototype = new $h_sci_AbstractMap(); $c_sci_Map$Map3.prototype.constructor = $c_sci_Map$Map3; /** @constructor */ function $h_sci_Map$Map3() { /*<skip>*/ } $h_sci_Map$Map3.prototype = $c_sci_Map$Map3.prototype; $c_sci_Map$Map3.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_Map(elem) }); $c_sci_Map$Map3.prototype.foreach__F1__V = (function(f) { f.apply__O__O(new $c_T2().init___O__O(this.key1$5, this.value1$5)); f.apply__O__O(new $c_T2().init___O__O(this.key2$5, this.value2$5)); f.apply__O__O(new $c_T2().init___O__O(this.key3$5, this.value3$5)) }); $c_sci_Map$Map3.prototype.init___O__O__O__O__O__O = (function(key1, value1, key2, value2, key3, value3) { this.key1$5 = key1; this.value1$5 = value1; this.key2$5 = key2; this.value2$5 = value2; this.key3$5 = key3; this.value3$5 = value3; return this }); $c_sci_Map$Map3.prototype.$$minus__O__sc_Map = (function(key) { return this.$$minus__O__sci_Map(key) }); $c_sci_Map$Map3.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O(this.key1$5, this.value1$5), new $c_T2().init___O__O(this.key2$5, this.value2$5), new $c_T2().init___O__O(this.key3$5, this.value3$5)]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); $c_sci_Map$Map3.prototype.size__I = (function() { return 3 }); $c_sci_Map$Map3.prototype.updated__O__O__sci_Map = (function(key, value) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_sci_Map$Map3().init___O__O__O__O__O__O(this.key1$5, value, this.key2$5, this.value2$5, this.key3$5, this.value3$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key2$5) ? new $c_sci_Map$Map3().init___O__O__O__O__O__O(this.key1$5, this.value1$5, this.key2$5, value, this.key3$5, this.value3$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key3$5) ? new $c_sci_Map$Map3().init___O__O__O__O__O__O(this.key1$5, this.value1$5, this.key2$5, this.value2$5, this.key3$5, value) : new $c_sci_Map$Map4().init___O__O__O__O__O__O__O__O(this.key1$5, this.value1$5, this.key2$5, this.value2$5, this.key3$5, this.value3$5, key, value)))) }); $c_sci_Map$Map3.prototype.get__O__s_Option = (function(key) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_s_Some().init___O(this.value1$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key2$5) ? new $c_s_Some().init___O(this.value2$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key3$5) ? new $c_s_Some().init___O(this.value3$5) : $m_s_None$()))) }); $c_sci_Map$Map3.prototype.$$minus__O__sci_Map = (function(key) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_sci_Map$Map2().init___O__O__O__O(this.key2$5, this.value2$5, this.key3$5, this.value3$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key2$5) ? new $c_sci_Map$Map2().init___O__O__O__O(this.key1$5, this.value1$5, this.key3$5, this.value3$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key3$5) ? new $c_sci_Map$Map2().init___O__O__O__O(this.key1$5, this.value1$5, this.key2$5, this.value2$5) : this))) }); $c_sci_Map$Map3.prototype.$$plus__T2__sc_GenMap = (function(kv) { return this.updated__O__O__sci_Map(kv.$$und1__O(), kv.$$und2__O()) }); var $d_sci_Map$Map3 = new $TypeData().initClass({ sci_Map$Map3: 0 }, false, "scala.collection.immutable.Map$Map3", { sci_Map$Map3: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Map$Map3.prototype.$classData = $d_sci_Map$Map3; /** @constructor */ function $c_sci_Map$Map4() { $c_sci_AbstractMap.call(this); this.key1$5 = null; this.value1$5 = null; this.key2$5 = null; this.value2$5 = null; this.key3$5 = null; this.value3$5 = null; this.key4$5 = null; this.value4$5 = null } $c_sci_Map$Map4.prototype = new $h_sci_AbstractMap(); $c_sci_Map$Map4.prototype.constructor = $c_sci_Map$Map4; /** @constructor */ function $h_sci_Map$Map4() { /*<skip>*/ } $h_sci_Map$Map4.prototype = $c_sci_Map$Map4.prototype; $c_sci_Map$Map4.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_Map(elem) }); $c_sci_Map$Map4.prototype.foreach__F1__V = (function(f) { f.apply__O__O(new $c_T2().init___O__O(this.key1$5, this.value1$5)); f.apply__O__O(new $c_T2().init___O__O(this.key2$5, this.value2$5)); f.apply__O__O(new $c_T2().init___O__O(this.key3$5, this.value3$5)); f.apply__O__O(new $c_T2().init___O__O(this.key4$5, this.value4$5)) }); $c_sci_Map$Map4.prototype.$$minus__O__sc_Map = (function(key) { return this.$$minus__O__sci_Map(key) }); $c_sci_Map$Map4.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O(this.key1$5, this.value1$5), new $c_T2().init___O__O(this.key2$5, this.value2$5), new $c_T2().init___O__O(this.key3$5, this.value3$5), new $c_T2().init___O__O(this.key4$5, this.value4$5)]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); $c_sci_Map$Map4.prototype.size__I = (function() { return 4 }); $c_sci_Map$Map4.prototype.init___O__O__O__O__O__O__O__O = (function(key1, value1, key2, value2, key3, value3, key4, value4) { this.key1$5 = key1; this.value1$5 = value1; this.key2$5 = key2; this.value2$5 = value2; this.key3$5 = key3; this.value3$5 = value3; this.key4$5 = key4; this.value4$5 = value4; return this }); $c_sci_Map$Map4.prototype.updated__O__O__sci_Map = (function(key, value) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_sci_Map$Map4().init___O__O__O__O__O__O__O__O(this.key1$5, value, this.key2$5, this.value2$5, this.key3$5, this.value3$5, this.key4$5, this.value4$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key2$5) ? new $c_sci_Map$Map4().init___O__O__O__O__O__O__O__O(this.key1$5, this.value1$5, this.key2$5, value, this.key3$5, this.value3$5, this.key4$5, this.value4$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key3$5) ? new $c_sci_Map$Map4().init___O__O__O__O__O__O__O__O(this.key1$5, this.value1$5, this.key2$5, this.value2$5, this.key3$5, value, this.key4$5, this.value4$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key4$5) ? new $c_sci_Map$Map4().init___O__O__O__O__O__O__O__O(this.key1$5, this.value1$5, this.key2$5, this.value2$5, this.key3$5, this.value3$5, this.key4$5, value) : new $c_sci_HashMap().init___().$$plus__T2__T2__sc_Seq__sci_HashMap(new $c_T2().init___O__O(this.key1$5, this.value1$5), new $c_T2().init___O__O(this.key2$5, this.value2$5), new $c_sjs_js_WrappedArray().init___sjs_js_Array([new $c_T2().init___O__O(this.key3$5, this.value3$5), new $c_T2().init___O__O(this.key4$5, this.value4$5), new $c_T2().init___O__O(key, value)])))))) }); $c_sci_Map$Map4.prototype.get__O__s_Option = (function(key) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_s_Some().init___O(this.value1$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key2$5) ? new $c_s_Some().init___O(this.value2$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key3$5) ? new $c_s_Some().init___O(this.value3$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key4$5) ? new $c_s_Some().init___O(this.value4$5) : $m_s_None$())))) }); $c_sci_Map$Map4.prototype.$$minus__O__sci_Map = (function(key) { return ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key1$5) ? new $c_sci_Map$Map3().init___O__O__O__O__O__O(this.key2$5, this.value2$5, this.key3$5, this.value3$5, this.key4$5, this.value4$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key2$5) ? new $c_sci_Map$Map3().init___O__O__O__O__O__O(this.key1$5, this.value1$5, this.key3$5, this.value3$5, this.key4$5, this.value4$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key3$5) ? new $c_sci_Map$Map3().init___O__O__O__O__O__O(this.key1$5, this.value1$5, this.key2$5, this.value2$5, this.key4$5, this.value4$5) : ($m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key4$5) ? new $c_sci_Map$Map3().init___O__O__O__O__O__O(this.key1$5, this.value1$5, this.key2$5, this.value2$5, this.key3$5, this.value3$5) : this)))) }); $c_sci_Map$Map4.prototype.$$plus__T2__sc_GenMap = (function(kv) { return this.updated__O__O__sci_Map(kv.$$und1__O(), kv.$$und2__O()) }); var $d_sci_Map$Map4 = new $TypeData().initClass({ sci_Map$Map4: 0 }, false, "scala.collection.immutable.Map$Map4", { sci_Map$Map4: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Map$Map4.prototype.$classData = $d_sci_Map$Map4; /** @constructor */ function $c_sci_MapLike$$anon$2() { $c_sc_MapLike$MappedValues.call(this) } $c_sci_MapLike$$anon$2.prototype = new $h_sc_MapLike$MappedValues(); $c_sci_MapLike$$anon$2.prototype.constructor = $c_sci_MapLike$$anon$2; /** @constructor */ function $h_sci_MapLike$$anon$2() { /*<skip>*/ } $h_sci_MapLike$$anon$2.prototype = $c_sci_MapLike$$anon$2.prototype; $c_sci_MapLike$$anon$2.prototype.init___sci_MapLike__F1 = (function($$outer, f$1) { $c_sc_MapLike$MappedValues.prototype.init___sc_MapLike__F1.call(this, $$outer, f$1); return this }); $c_sci_MapLike$$anon$2.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_MapLike$$anon$2.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_MapLike$$anon$2.prototype.$$minus__O__scg_Subtractable = (function(elem) { return $s_sci_DefaultMap$class__$$minus__sci_DefaultMap__O__sci_Map(this, elem) }); $c_sci_MapLike$$anon$2.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_MapLike$$anon$2.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Iterable$() }); $c_sci_MapLike$$anon$2.prototype.$$minus__O__sc_Map = (function(key) { return $s_sci_DefaultMap$class__$$minus__sci_DefaultMap__O__sci_Map(this, key) }); $c_sci_MapLike$$anon$2.prototype.empty__sc_Map = (function() { return $m_sci_Map$EmptyMap$() }); $c_sci_MapLike$$anon$2.prototype.seq__sc_Map = (function() { return this }); $c_sci_MapLike$$anon$2.prototype.toMap__s_Predef$$less$colon$less__sci_Map = (function(ev) { return this }); $c_sci_MapLike$$anon$2.prototype.$$plus__T2__sc_GenMap = (function(kv) { return $s_sci_DefaultMap$class__$$plus__sci_DefaultMap__T2__sci_Map(this, kv) }); var $d_sci_MapLike$$anon$2 = new $TypeData().initClass({ sci_MapLike$$anon$2: 0 }, false, "scala.collection.immutable.MapLike$$anon$2", { sci_MapLike$$anon$2: 1, sc_MapLike$MappedValues: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sc_DefaultMap: 1, sci_DefaultMap: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1 }); $c_sci_MapLike$$anon$2.prototype.$classData = $d_sci_MapLike$$anon$2; function $is_scm_Set(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_Set))) } function $as_scm_Set(obj) { return (($is_scm_Set(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.Set")) } function $isArrayOf_scm_Set(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_Set))) } function $asArrayOf_scm_Set(obj, depth) { return (($isArrayOf_scm_Set(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.Set;", depth)) } /** @constructor */ function $c_sci_HashMap() { $c_sci_AbstractMap.call(this) } $c_sci_HashMap.prototype = new $h_sci_AbstractMap(); $c_sci_HashMap.prototype.constructor = $c_sci_HashMap; /** @constructor */ function $h_sci_HashMap() { /*<skip>*/ } $h_sci_HashMap.prototype = $c_sci_HashMap.prototype; $c_sci_HashMap.prototype.computeHash__O__I = (function(key) { return this.improve__I__I($m_sr_ScalaRunTime$().hash__O__I(key)) }); $c_sci_HashMap.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_HashMap.prototype.repr__scg_Subtractable = (function() { return this }); $c_sci_HashMap.prototype.init___ = (function() { return this }); $c_sci_HashMap.prototype.filter__F1__sci_HashMap = (function(p) { $m_sci_HashMap$(); var size = this.size__I(); var x = ((6 + size) | 0); var buffer = $newArrayObject($d_sci_HashMap.getArrayOf(), [((x < 224) ? x : 224)]); $m_sci_HashMap$(); var m = this.filter0__F1__Z__I__Asci_HashMap__I__sci_HashMap(p, false, 0, buffer, 0); return ((m === null) ? $m_sci_HashMap$EmptyHashMap$() : m) }); $c_sci_HashMap.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__sci_HashMap(elem) }); $c_sci_HashMap.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_HashMap.prototype.updated0__O__I__I__O__T2__sci_HashMap$Merger__sci_HashMap = (function(key, hash, level, value, kv, merger) { return new $c_sci_HashMap$HashMap1().init___O__I__O__T2(key, hash, value, kv) }); $c_sci_HashMap.prototype.get0__O__I__I__s_Option = (function(key, hash, level) { return $m_s_None$() }); $c_sci_HashMap.prototype.$$plus__T2__sci_HashMap = (function(kv) { return this.updated0__O__I__I__O__T2__sci_HashMap$Merger__sci_HashMap(kv.$$und1__O(), this.computeHash__O__I(kv.$$und1__O()), 0, kv.$$und2__O(), kv, null) }); $c_sci_HashMap.prototype.foreach__F1__V = (function(f) { /*<skip>*/ }); $c_sci_HashMap.prototype.empty__sc_Map = (function() { $m_sci_HashMap$(); return $m_sci_HashMap$EmptyHashMap$() }); $c_sci_HashMap.prototype.$$minus__O__sc_Map = (function(key) { return this.$$minus__O__sci_HashMap(key) }); $c_sci_HashMap.prototype.removed0__O__I__I__sci_HashMap = (function(key, hash, level) { return this }); $c_sci_HashMap.prototype.filter0__F1__Z__I__Asci_HashMap__I__sci_HashMap = (function(p, negate, level, buffer, offset0) { return null }); $c_sci_HashMap.prototype.$$minus__O__sci_HashMap = (function(key) { return this.removed0__O__I__I__sci_HashMap(key, this.computeHash__O__I(key), 0) }); $c_sci_HashMap.prototype.empty__sci_Map = (function() { $m_sci_HashMap$(); return $m_sci_HashMap$EmptyHashMap$() }); $c_sci_HashMap.prototype.filter__F1__O = (function(p) { return this.filter__F1__sci_HashMap(p) }); $c_sci_HashMap.prototype.size__I = (function() { return 0 }); $c_sci_HashMap.prototype.seq__sc_Map = (function() { return this }); $c_sci_HashMap.prototype.iterator__sc_Iterator = (function() { return $m_sc_Iterator$().empty$1 }); $c_sci_HashMap.prototype.improve__I__I = (function(hcode) { var h = ((hcode + (~(hcode << 9))) | 0); h = (h ^ ((h >>> 14) | 0)); h = ((h + (h << 4)) | 0); return (h ^ ((h >>> 10) | 0)) }); $c_sci_HashMap.prototype.get__O__s_Option = (function(key) { return this.get0__O__I__I__s_Option(key, this.computeHash__O__I(key), 0) }); $c_sci_HashMap.prototype.$$plus__T2__T2__sc_Seq__sci_HashMap = (function(elem1, elem2, elems) { var this$2 = this.$$plus__T2__sci_HashMap(elem1).$$plus__T2__sci_HashMap(elem2); var this$1 = $m_sci_HashMap$(); var bf = new $c_scg_GenMapFactory$MapCanBuildFrom().init___scg_GenMapFactory(this$1); return $as_sci_HashMap($s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O(this$2, elems, bf)) }); $c_sci_HashMap.prototype.$$plus__T2__sc_GenMap = (function(kv) { return this.$$plus__T2__sci_HashMap(kv) }); function $is_sci_HashMap(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_HashMap))) } function $as_sci_HashMap(obj) { return (($is_sci_HashMap(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.HashMap")) } function $isArrayOf_sci_HashMap(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_HashMap))) } function $asArrayOf_sci_HashMap(obj, depth) { return (($isArrayOf_sci_HashMap(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.HashMap;", depth)) } var $d_sci_HashMap = new $TypeData().initClass({ sci_HashMap: 0 }, false, "scala.collection.immutable.HashMap", { sci_HashMap: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1, sc_CustomParallelizable: 1 }); $c_sci_HashMap.prototype.$classData = $d_sci_HashMap; /** @constructor */ function $c_sci_HashSet$HashSet1() { $c_sci_HashSet$LeafHashSet.call(this); this.key$6 = null; this.hash$6 = 0 } $c_sci_HashSet$HashSet1.prototype = new $h_sci_HashSet$LeafHashSet(); $c_sci_HashSet$HashSet1.prototype.constructor = $c_sci_HashSet$HashSet1; /** @constructor */ function $h_sci_HashSet$HashSet1() { /*<skip>*/ } $h_sci_HashSet$HashSet1.prototype = $c_sci_HashSet$HashSet1.prototype; $c_sci_HashSet$HashSet1.prototype.updated0__O__I__I__sci_HashSet = (function(key, hash, level) { if (((hash === this.hash$6) && $m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key$6))) { return this } else if ((hash !== this.hash$6)) { return $m_sci_HashSet$().scala$collection$immutable$HashSet$$makeHashTrieSet__I__sci_HashSet__I__sci_HashSet__I__sci_HashSet$HashTrieSet(this.hash$6, this, hash, new $c_sci_HashSet$HashSet1().init___O__I(key, hash), level) } else { var this$2 = $m_sci_ListSet$EmptyListSet$(); var elem = this.key$6; return new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(hash, new $c_sci_ListSet$Node().init___sci_ListSet__O(this$2, elem).$$plus__O__sci_ListSet(key)) } }); $c_sci_HashSet$HashSet1.prototype.union0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { return that.union0__sci_HashSet$LeafHashSet__I__sci_HashSet(this, level) }); $c_sci_HashSet$HashSet1.prototype.init___O__I = (function(key, hash) { this.key$6 = key; this.hash$6 = hash; return this }); $c_sci_HashSet$HashSet1.prototype.foreach__F1__V = (function(f) { f.apply__O__O(this.key$6) }); $c_sci_HashSet$HashSet1.prototype.union0__sci_HashSet$LeafHashSet__I__sci_HashSet = (function(that, level) { if ((that.hash__I() !== this.hash$6)) { return $m_sci_HashSet$().scala$collection$immutable$HashSet$$makeHashTrieSet__I__sci_HashSet__I__sci_HashSet__I__sci_HashSet$HashTrieSet(this.hash$6, this, that.hash__I(), that, level) } else if ($is_sci_HashSet$HashSet1(that)) { var x2 = $as_sci_HashSet$HashSet1(that); if ($m_sr_BoxesRunTime$().equals__O__O__Z(this.key$6, x2.key$6)) { return this } else { var jsx$1 = this.hash$6; var this$2 = $m_sci_ListSet$EmptyListSet$(); var elem = this.key$6; return new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(jsx$1, new $c_sci_ListSet$Node().init___sci_ListSet__O(this$2, elem).$$plus__O__sci_ListSet(x2.key$6)) } } else if ($is_sci_HashSet$HashSetCollision1(that)) { var x3 = $as_sci_HashSet$HashSetCollision1(that); var ks1 = x3.ks$6.$$plus__O__sci_ListSet(this.key$6); return ((ks1.size__I() === x3.ks$6.size__I()) ? x3 : new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(this.hash$6, ks1)) } else { throw new $c_s_MatchError().init___O(that) } }); $c_sci_HashSet$HashSet1.prototype.size__I = (function() { return 1 }); $c_sci_HashSet$HashSet1.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.key$6]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); $c_sci_HashSet$HashSet1.prototype.removed0__O__I__I__sci_HashSet = (function(key, hash, level) { return (((hash === this.hash$6) && $m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key$6)) ? null : this) }); $c_sci_HashSet$HashSet1.prototype.intersect0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { return (that.get0__O__I__I__Z(this.key$6, this.hash$6, level) ? this : null) }); $c_sci_HashSet$HashSet1.prototype.diff0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { return (that.get0__O__I__I__Z(this.key$6, this.hash$6, level) ? null : this) }); $c_sci_HashSet$HashSet1.prototype.filter0__F1__Z__I__Asci_HashSet__I__sci_HashSet = (function(p, negate, level, buffer, offset0) { return ((negate !== $uZ(p.apply__O__O(this.key$6))) ? this : null) }); $c_sci_HashSet$HashSet1.prototype.hash__I = (function() { return this.hash$6 }); $c_sci_HashSet$HashSet1.prototype.get0__O__I__I__Z = (function(key, hash, level) { return ((hash === this.hash$6) && $m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key$6)) }); $c_sci_HashSet$HashSet1.prototype.subsetOf0__sci_HashSet__I__Z = (function(that, level) { return that.get0__O__I__I__Z(this.key$6, this.hash$6, level) }); function $is_sci_HashSet$HashSet1(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_HashSet$HashSet1))) } function $as_sci_HashSet$HashSet1(obj) { return (($is_sci_HashSet$HashSet1(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.HashSet$HashSet1")) } function $isArrayOf_sci_HashSet$HashSet1(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_HashSet$HashSet1))) } function $asArrayOf_sci_HashSet$HashSet1(obj, depth) { return (($isArrayOf_sci_HashSet$HashSet1(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.HashSet$HashSet1;", depth)) } var $d_sci_HashSet$HashSet1 = new $TypeData().initClass({ sci_HashSet$HashSet1: 0 }, false, "scala.collection.immutable.HashSet$HashSet1", { sci_HashSet$HashSet1: 1, sci_HashSet$LeafHashSet: 1, sci_HashSet: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_HashSet$HashSet1.prototype.$classData = $d_sci_HashSet$HashSet1; /** @constructor */ function $c_sci_HashSet$HashSetCollision1() { $c_sci_HashSet$LeafHashSet.call(this); this.hash$6 = 0; this.ks$6 = null } $c_sci_HashSet$HashSetCollision1.prototype = new $h_sci_HashSet$LeafHashSet(); $c_sci_HashSet$HashSetCollision1.prototype.constructor = $c_sci_HashSet$HashSetCollision1; /** @constructor */ function $h_sci_HashSet$HashSetCollision1() { /*<skip>*/ } $h_sci_HashSet$HashSetCollision1.prototype = $c_sci_HashSet$HashSetCollision1.prototype; $c_sci_HashSet$HashSetCollision1.prototype.updated0__O__I__I__sci_HashSet = (function(key, hash, level) { return ((hash === this.hash$6) ? new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(hash, this.ks$6.$$plus__O__sci_ListSet(key)) : $m_sci_HashSet$().scala$collection$immutable$HashSet$$makeHashTrieSet__I__sci_HashSet__I__sci_HashSet__I__sci_HashSet$HashTrieSet(this.hash$6, this, hash, new $c_sci_HashSet$HashSet1().init___O__I(key, hash), level)) }); $c_sci_HashSet$HashSetCollision1.prototype.union0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { if ($is_sci_HashSet$LeafHashSet(that)) { var x2 = $as_sci_HashSet$LeafHashSet(that); return this.union0__sci_HashSet$LeafHashSet__I__sci_HashSet(x2, level) } else if ($is_sci_HashSet$HashTrieSet(that)) { var x3 = $as_sci_HashSet$HashTrieSet(that); return x3.union0__sci_HashSet$LeafHashSet__I__sci_HashSet(this, level) } else { return this } }); $c_sci_HashSet$HashSetCollision1.prototype.foreach__F1__V = (function(f) { var this$1 = this.ks$6; var this$2 = new $c_sci_ListSet$$anon$1().init___sci_ListSet(this$1); $s_sc_Iterator$class__foreach__sc_Iterator__F1__V(this$2, f) }); $c_sci_HashSet$HashSetCollision1.prototype.union0__sci_HashSet$LeafHashSet__I__sci_HashSet = (function(that, level) { if ((that.hash__I() !== this.hash$6)) { return $m_sci_HashSet$().scala$collection$immutable$HashSet$$makeHashTrieSet__I__sci_HashSet__I__sci_HashSet__I__sci_HashSet$HashTrieSet(this.hash$6, this, that.hash__I(), that, level) } else if ($is_sci_HashSet$HashSet1(that)) { var x2 = $as_sci_HashSet$HashSet1(that); var ks1 = this.ks$6.$$plus__O__sci_ListSet(x2.key$6); return ((ks1.size__I() === this.ks$6.size__I()) ? this : new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(this.hash$6, ks1)) } else if ($is_sci_HashSet$HashSetCollision1(that)) { var x3 = $as_sci_HashSet$HashSetCollision1(that); var ks1$2 = this.ks$6.$$plus$plus__sc_GenTraversableOnce__sci_ListSet(x3.ks$6); var x1$2 = ks1$2.size__I(); switch (x1$2) { default: { return ((x1$2 === this.ks$6.size__I()) ? this : ((x1$2 === x3.ks$6.size__I()) ? x3 : new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(this.hash$6, ks1$2))) } } } else { throw new $c_s_MatchError().init___O(that) } }); $c_sci_HashSet$HashSetCollision1.prototype.size__I = (function() { return this.ks$6.size__I() }); $c_sci_HashSet$HashSetCollision1.prototype.iterator__sc_Iterator = (function() { var this$1 = this.ks$6; return new $c_sci_ListSet$$anon$1().init___sci_ListSet(this$1) }); $c_sci_HashSet$HashSetCollision1.prototype.removed0__O__I__I__sci_HashSet = (function(key, hash, level) { if ((hash === this.hash$6)) { var ks1 = this.ks$6.$$minus__O__sci_ListSet(key); var x1 = ks1.size__I(); switch (x1) { case 0: { return null; break } case 1: { return new $c_sci_HashSet$HashSet1().init___O__I(ks1.head__O(), hash); break } default: { return ((x1 === this.ks$6.size__I()) ? this : new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(hash, ks1)) } } } else { return this } }); $c_sci_HashSet$HashSetCollision1.prototype.intersect0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { var this$1 = this.ks$6; var b = new $c_scm_SetBuilder().init___sc_Set($m_sci_ListSet$EmptyListSet$()); var this$3 = new $c_sci_ListSet$$anon$1().init___sci_ListSet(this$1); while (true) { var this$4 = this$3.that$2; if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$4)) { var arg1 = this$3.next__O(); if ((that.get0__O__I__I__Z(arg1, this.hash$6, level) !== false)) { b.$$plus$eq__O__scm_SetBuilder(arg1) } } else { break } }; var ks1 = $as_sci_ListSet(b.elems$1); var x1 = ks1.size__I(); return ((x1 === 0) ? null : ((x1 === this.ks$6.size__I()) ? this : ((x1 === that.size__I()) ? that : ((x1 === 1) ? new $c_sci_HashSet$HashSet1().init___O__I(ks1.head__O(), this.hash$6) : new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(this.hash$6, ks1))))) }); $c_sci_HashSet$HashSetCollision1.prototype.init___I__sci_ListSet = (function(hash, ks) { this.hash$6 = hash; this.ks$6 = ks; return this }); $c_sci_HashSet$HashSetCollision1.prototype.diff0__sci_HashSet__I__Asci_HashSet__I__sci_HashSet = (function(that, level, buffer, offset0) { var this$1 = this.ks$6; var b = new $c_scm_SetBuilder().init___sc_Set($m_sci_ListSet$EmptyListSet$()); var this$3 = new $c_sci_ListSet$$anon$1().init___sci_ListSet(this$1); while (true) { var this$4 = this$3.that$2; if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$4)) { var arg1 = this$3.next__O(); if ((that.get0__O__I__I__Z(arg1, this.hash$6, level) !== true)) { b.$$plus$eq__O__scm_SetBuilder(arg1) } } else { break } }; var ks1 = $as_sci_ListSet(b.elems$1); var x1 = ks1.size__I(); return ((x1 === 0) ? null : ((x1 === this.ks$6.size__I()) ? this : ((x1 === 1) ? new $c_sci_HashSet$HashSet1().init___O__I(ks1.head__O(), this.hash$6) : new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(this.hash$6, ks1)))) }); $c_sci_HashSet$HashSetCollision1.prototype.filter0__F1__Z__I__Asci_HashSet__I__sci_HashSet = (function(p, negate, level, buffer, offset0) { if (negate) { var this$1 = this.ks$6; var ks1 = $as_sci_ListSet($s_sc_TraversableLike$class__filterImpl__p0__sc_TraversableLike__F1__Z__O(this$1, p, true)) } else { var this$2 = this.ks$6; var ks1 = $as_sci_ListSet($s_sc_TraversableLike$class__filterImpl__p0__sc_TraversableLike__F1__Z__O(this$2, p, false)) }; var x1 = ks1.size__I(); switch (x1) { case 0: { return null; break } case 1: { return new $c_sci_HashSet$HashSet1().init___O__I(ks1.head__O(), this.hash$6); break } default: { return ((x1 === this.ks$6.size__I()) ? this : new $c_sci_HashSet$HashSetCollision1().init___I__sci_ListSet(this.hash$6, ks1)) } } }); $c_sci_HashSet$HashSetCollision1.prototype.hash__I = (function() { return this.hash$6 }); $c_sci_HashSet$HashSetCollision1.prototype.get0__O__I__I__Z = (function(key, hash, level) { return ((hash === this.hash$6) && this.ks$6.contains__O__Z(key)) }); $c_sci_HashSet$HashSetCollision1.prototype.subsetOf0__sci_HashSet__I__Z = (function(that, level) { var this$1 = this.ks$6; var this$2 = new $c_sci_ListSet$$anon$1().init___sci_ListSet(this$1); var res = true; while (true) { if (res) { var this$3 = this$2.that$2; var jsx$1 = $s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$3) } else { var jsx$1 = false }; if (jsx$1) { var arg1 = this$2.next__O(); res = that.get0__O__I__I__Z(arg1, this.hash$6, level) } else { break } }; return res }); function $is_sci_HashSet$HashSetCollision1(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_HashSet$HashSetCollision1))) } function $as_sci_HashSet$HashSetCollision1(obj) { return (($is_sci_HashSet$HashSetCollision1(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.HashSet$HashSetCollision1")) } function $isArrayOf_sci_HashSet$HashSetCollision1(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_HashSet$HashSetCollision1))) } function $asArrayOf_sci_HashSet$HashSetCollision1(obj, depth) { return (($isArrayOf_sci_HashSet$HashSetCollision1(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.HashSet$HashSetCollision1;", depth)) } var $d_sci_HashSet$HashSetCollision1 = new $TypeData().initClass({ sci_HashSet$HashSetCollision1: 0 }, false, "scala.collection.immutable.HashSet$HashSetCollision1", { sci_HashSet$HashSetCollision1: 1, sci_HashSet$LeafHashSet: 1, sci_HashSet: 1, sc_AbstractSet: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, sci_Set: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_HashSet$HashSetCollision1.prototype.$classData = $d_sci_HashSet$HashSetCollision1; /** @constructor */ function $c_sci_List() { $c_sc_AbstractSeq.call(this) } $c_sci_List.prototype = new $h_sc_AbstractSeq(); $c_sci_List.prototype.constructor = $c_sci_List; /** @constructor */ function $h_sci_List() { /*<skip>*/ } $h_sci_List.prototype = $c_sci_List.prototype; $c_sci_List.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_List.prototype.apply__I__O = (function(n) { return $s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this, n) }); $c_sci_List.prototype.lengthCompare__I__I = (function(len) { return $s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this, len) }); $c_sci_List.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_LinearSeqOptimized$class__sameElements__sc_LinearSeqOptimized__sc_GenIterable__Z(this, that) }); $c_sci_List.prototype.apply__O__O = (function(v1) { var n = $uI(v1); return $s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this, n) }); $c_sci_List.prototype.exists__F1__Z = (function(p) { return $s_sc_LinearSeqOptimized$class__exists__sc_LinearSeqOptimized__F1__Z(this, p) }); $c_sci_List.prototype.toList__sci_List = (function() { return this }); $c_sci_List.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_List.prototype.flatMap__F1__scg_CanBuildFrom__O = (function(f, bf) { if ((bf === $m_sci_List$().ReusableCBFInstance$2)) { if ((this === $m_sci_Nil$())) { return $m_sci_Nil$() } else { var rest = this; var found = new $c_sr_BooleanRef().init___Z(false); var h = new $c_sr_ObjectRef().init___O(null); var t = new $c_sr_ObjectRef().init___O(null); while ((rest !== $m_sci_Nil$())) { $as_sc_GenTraversableOnce(f.apply__O__O(rest.head__O())).seq__sc_TraversableOnce().foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, found$1, h$1, t$1) { return (function(b$2) { if ((!found$1.elem$1)) { h$1.elem$1 = new $c_sci_$colon$colon().init___O__sci_List(b$2, $m_sci_Nil$()); t$1.elem$1 = $as_sci_$colon$colon(h$1.elem$1); found$1.elem$1 = true } else { var nx = new $c_sci_$colon$colon().init___O__sci_List(b$2, $m_sci_Nil$()); $as_sci_$colon$colon(t$1.elem$1).tl$5 = nx; t$1.elem$1 = nx } }) })(this, found, h, t))); rest = $as_sci_List(rest.tail__O()) }; return ((!found.elem$1) ? $m_sci_Nil$() : $as_sci_$colon$colon(h.elem$1)) } } else { return $s_sc_TraversableLike$class__flatMap__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) } }); $c_sci_List.prototype.drop__I__sc_LinearSeqOptimized = (function(n) { return this.drop__I__sci_List(n) }); $c_sci_List.prototype.take__I__sci_List = (function(n) { if ((this.isEmpty__Z() || (n <= 0))) { return $m_sci_Nil$() } else { var h = new $c_sci_$colon$colon().init___O__sci_List(this.head__O(), $m_sci_Nil$()); var t = h; var rest = $as_sci_List(this.tail__O()); var i = 1; while (true) { if (rest.isEmpty__Z()) { return this }; if ((i < n)) { i = ((1 + i) | 0); var nx = new $c_sci_$colon$colon().init___O__sci_List(rest.head__O(), $m_sci_Nil$()); t.tl$5 = nx; t = nx; rest = $as_sci_List(rest.tail__O()) } else { break } }; return h } }); $c_sci_List.prototype.forall__F1__Z = (function(p) { return $s_sc_LinearSeqOptimized$class__forall__sc_LinearSeqOptimized__F1__Z(this, p) }); $c_sci_List.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_List$() }); $c_sci_List.prototype.foreach__F1__V = (function(f) { var these = this; while ((!these.isEmpty__Z())) { f.apply__O__O(these.head__O()); these = $as_sci_List(these.tail__O()) } }); $c_sci_List.prototype.foldLeft__O__F2__O = (function(z, op) { return $s_sc_LinearSeqOptimized$class__foldLeft__sc_LinearSeqOptimized__O__F2__O(this, z, op) }); $c_sci_List.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_LinearSeqOptimized$class__indexWhere__sc_LinearSeqOptimized__F1__I__I(this, p, from) }); $c_sci_List.prototype.$$colon$colon$colon__sci_List__sci_List = (function(prefix) { return (this.isEmpty__Z() ? prefix : (prefix.isEmpty__Z() ? this : new $c_scm_ListBuffer().init___().$$plus$plus$eq__sc_TraversableOnce__scm_ListBuffer(prefix).prependToList__sci_List__sci_List(this))) }); $c_sci_List.prototype.reverse__O = (function() { return this.reverse__sci_List() }); $c_sci_List.prototype.$$plus$colon__O__scg_CanBuildFrom__O = (function(elem, bf) { return ($is_scg_GenTraversableFactory$GenericCanBuildFrom(bf) ? new $c_sci_$colon$colon().init___O__sci_List(elem, this) : $s_sc_SeqLike$class__$$plus$colon__sc_SeqLike__O__scg_CanBuildFrom__O(this, elem, bf)) }); $c_sci_List.prototype.iterator__sc_Iterator = (function() { return new $c_sc_LinearSeqLike$$anon$1().init___sc_LinearSeqLike(this) }); $c_sci_List.prototype.drop__I__sci_List = (function(n) { var these = this; var count = n; while (((!these.isEmpty__Z()) && (count > 0))) { these = $as_sci_List(these.tail__O()); count = (((-1) + count) | 0) }; return these }); $c_sci_List.prototype.span__F1__T2 = (function(p) { var b = new $c_scm_ListBuffer().init___(); var these = this; while (((!these.isEmpty__Z()) && $uZ(p.apply__O__O(these.head__O())))) { b.$$plus$eq__O__scm_ListBuffer(these.head__O()); these = $as_sci_List(these.tail__O()) }; return new $c_T2().init___O__O(b.toList__sci_List(), these) }); $c_sci_List.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) { return ((bf === $m_sci_List$().ReusableCBFInstance$2) ? that.seq__sc_TraversableOnce().toList__sci_List().$$colon$colon$colon__sci_List__sci_List(this) : $s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, that, bf)) }); $c_sci_List.prototype.length__I = (function() { return $s_sc_LinearSeqOptimized$class__length__sc_LinearSeqOptimized__I(this) }); $c_sci_List.prototype.seq__sc_Seq = (function() { return this }); $c_sci_List.prototype.take__I__O = (function(n) { return this.take__I__sci_List(n) }); $c_sci_List.prototype.toStream__sci_Stream = (function() { return (this.isEmpty__Z() ? $m_sci_Stream$Empty$() : new $c_sci_Stream$Cons().init___O__F0(this.head__O(), new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this) { return (function() { return $as_sci_List($this.tail__O()).toStream__sci_Stream() }) })(this)))) }); $c_sci_List.prototype.last__O = (function() { return $s_sc_LinearSeqOptimized$class__last__sc_LinearSeqOptimized__O(this) }); $c_sci_List.prototype.drop__I__O = (function(n) { return this.drop__I__sci_List(n) }); $c_sci_List.prototype.contains__O__Z = (function(elem) { return $s_sc_LinearSeqOptimized$class__contains__sc_LinearSeqOptimized__O__Z(this, elem) }); $c_sci_List.prototype.thisCollection__sc_Seq = (function() { return this }); $c_sci_List.prototype.isDefinedAt__O__Z = (function(x) { var x$1 = $uI(x); return $s_sc_LinearSeqOptimized$class__isDefinedAt__sc_LinearSeqOptimized__I__Z(this, x$1) }); $c_sci_List.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) }); $c_sci_List.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { if ((bf === $m_sci_List$().ReusableCBFInstance$2)) { if ((this === $m_sci_Nil$())) { return $m_sci_Nil$() } else { var h = new $c_sci_$colon$colon().init___O__sci_List(f.apply__O__O(this.head__O()), $m_sci_Nil$()); var t = h; var rest = $as_sci_List(this.tail__O()); while ((rest !== $m_sci_Nil$())) { var nx = new $c_sci_$colon$colon().init___O__sci_List(f.apply__O__O(rest.head__O()), $m_sci_Nil$()); t.tl$5 = nx; t = nx; rest = $as_sci_List(rest.tail__O()) }; return h } } else { return $s_sc_TraversableLike$class__map__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) } }); $c_sci_List.prototype.toCollection__O__sc_Seq = (function(repr) { var repr$1 = $as_sc_LinearSeqLike(repr); return $as_sc_LinearSeq(repr$1) }); $c_sci_List.prototype.reduceLeft__F2__O = (function(f) { return $s_sc_LinearSeqOptimized$class__reduceLeft__sc_LinearSeqOptimized__F2__O(this, f) }); $c_sci_List.prototype.reverse__sci_List = (function() { var result = $m_sci_Nil$(); var these = this; while ((!these.isEmpty__Z())) { var x$4 = these.head__O(); var this$1 = result; result = new $c_sci_$colon$colon().init___O__sci_List(x$4, this$1); these = $as_sci_List(these.tail__O()) }; return result }); $c_sci_List.prototype.stringPrefix__T = (function() { return "List" }); function $is_sci_List(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_List))) } function $as_sci_List(obj) { return (($is_sci_List(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.List")) } function $isArrayOf_sci_List(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_List))) } function $asArrayOf_sci_List(obj, depth) { return (($isArrayOf_sci_List(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.List;", depth)) } /** @constructor */ function $c_sci_ListMap$EmptyListMap$() { $c_sci_ListMap.call(this) } $c_sci_ListMap$EmptyListMap$.prototype = new $h_sci_ListMap(); $c_sci_ListMap$EmptyListMap$.prototype.constructor = $c_sci_ListMap$EmptyListMap$; /** @constructor */ function $h_sci_ListMap$EmptyListMap$() { /*<skip>*/ } $h_sci_ListMap$EmptyListMap$.prototype = $c_sci_ListMap$EmptyListMap$.prototype; $c_sci_ListMap$EmptyListMap$.prototype.init___ = (function() { return this }); var $d_sci_ListMap$EmptyListMap$ = new $TypeData().initClass({ sci_ListMap$EmptyListMap$: 0 }, false, "scala.collection.immutable.ListMap$EmptyListMap$", { sci_ListMap$EmptyListMap$: 1, sci_ListMap: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_ListMap$EmptyListMap$.prototype.$classData = $d_sci_ListMap$EmptyListMap$; var $n_sci_ListMap$EmptyListMap$ = (void 0); function $m_sci_ListMap$EmptyListMap$() { if ((!$n_sci_ListMap$EmptyListMap$)) { $n_sci_ListMap$EmptyListMap$ = new $c_sci_ListMap$EmptyListMap$().init___() }; return $n_sci_ListMap$EmptyListMap$ } /** @constructor */ function $c_sci_ListMap$Node() { $c_sci_ListMap.call(this); this.key$6 = null; this.value$6 = null; this.$$outer$f = null } $c_sci_ListMap$Node.prototype = new $h_sci_ListMap(); $c_sci_ListMap$Node.prototype.constructor = $c_sci_ListMap$Node; /** @constructor */ function $h_sci_ListMap$Node() { /*<skip>*/ } $h_sci_ListMap$Node.prototype = $c_sci_ListMap$Node.prototype; $c_sci_ListMap$Node.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.remove0__p6__O__sci_ListMap__sci_List__sci_ListMap(elem, this, $m_sci_Nil$()) }); $c_sci_ListMap$Node.prototype.value__O = (function() { return this.value$6 }); $c_sci_ListMap$Node.prototype.apply__O__O = (function(k) { return this.apply0__p6__sci_ListMap__O__O(this, k) }); $c_sci_ListMap$Node.prototype.isEmpty__Z = (function() { return false }); $c_sci_ListMap$Node.prototype.apply0__p6__sci_ListMap__O__O = (function(cur, k) { _apply0: while (true) { if (cur.isEmpty__Z()) { throw new $c_ju_NoSuchElementException().init___T(("key not found: " + k)) } else if ($m_sr_BoxesRunTime$().equals__O__O__Z(k, cur.key__O())) { return cur.value__O() } else { cur = cur.next__sci_ListMap(); continue _apply0 } } }); $c_sci_ListMap$Node.prototype.$$minus__O__sc_Map = (function(key) { return this.remove0__p6__O__sci_ListMap__sci_List__sci_ListMap(key, this, $m_sci_Nil$()) }); $c_sci_ListMap$Node.prototype.size0__p6__sci_ListMap__I__I = (function(cur, acc) { _size0: while (true) { if (cur.isEmpty__Z()) { return acc } else { var temp$cur = cur.next__sci_ListMap(); var temp$acc = ((1 + acc) | 0); cur = temp$cur; acc = temp$acc; continue _size0 } } }); $c_sci_ListMap$Node.prototype.size__I = (function() { return this.size0__p6__sci_ListMap__I__I(this, 0) }); $c_sci_ListMap$Node.prototype.key__O = (function() { return this.key$6 }); $c_sci_ListMap$Node.prototype.updated__O__O__sci_ListMap = (function(k, v) { var m = this.remove0__p6__O__sci_ListMap__sci_List__sci_ListMap(k, this, $m_sci_Nil$()); return new $c_sci_ListMap$Node().init___sci_ListMap__O__O(m, k, v) }); $c_sci_ListMap$Node.prototype.$$minus__O__sci_ListMap = (function(k) { return this.remove0__p6__O__sci_ListMap__sci_List__sci_ListMap(k, this, $m_sci_Nil$()) }); $c_sci_ListMap$Node.prototype.get__O__s_Option = (function(k) { return this.get0__p6__sci_ListMap__O__s_Option(this, k) }); $c_sci_ListMap$Node.prototype.get0__p6__sci_ListMap__O__s_Option = (function(cur, k) { _get0: while (true) { if ($m_sr_BoxesRunTime$().equals__O__O__Z(k, cur.key__O())) { return new $c_s_Some().init___O(cur.value__O()) } else { var this$1 = cur.next__sci_ListMap(); if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$1)) { cur = cur.next__sci_ListMap(); continue _get0 } else { return $m_s_None$() } } } }); $c_sci_ListMap$Node.prototype.init___sci_ListMap__O__O = (function($$outer, key, value) { this.key$6 = key; this.value$6 = value; if (($$outer === null)) { throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null) } else { this.$$outer$f = $$outer }; return this }); $c_sci_ListMap$Node.prototype.remove0__p6__O__sci_ListMap__sci_List__sci_ListMap = (function(k, cur, acc) { _remove0: while (true) { if (cur.isEmpty__Z()) { var this$1 = acc; return $as_sci_ListMap($s_sc_LinearSeqOptimized$class__last__sc_LinearSeqOptimized__O(this$1)) } else if ($m_sr_BoxesRunTime$().equals__O__O__Z(k, cur.key__O())) { var x$4 = cur.next__sci_ListMap(); var this$2 = acc; var acc$1 = x$4; var these = this$2; while ((!these.isEmpty__Z())) { var arg1 = acc$1; var arg2 = these.head__O(); var x0$1 = $as_sci_ListMap(arg1); var x1$1 = $as_sci_ListMap(arg2); acc$1 = new $c_sci_ListMap$Node().init___sci_ListMap__O__O(x0$1, x1$1.key__O(), x1$1.value__O()); these = $as_sc_LinearSeqOptimized(these.tail__O()) }; return $as_sci_ListMap(acc$1) } else { var temp$cur = cur.next__sci_ListMap(); var x$5 = cur; var this$3 = acc; var temp$acc = new $c_sci_$colon$colon().init___O__sci_List(x$5, this$3); cur = temp$cur; acc = temp$acc; continue _remove0 } } }); $c_sci_ListMap$Node.prototype.next__sci_ListMap = (function() { return this.$$outer$f }); var $d_sci_ListMap$Node = new $TypeData().initClass({ sci_ListMap$Node: 0 }, false, "scala.collection.immutable.ListMap$Node", { sci_ListMap$Node: 1, sci_ListMap: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_ListMap$Node.prototype.$classData = $d_sci_ListMap$Node; /** @constructor */ function $c_sci_Range() { $c_sc_AbstractSeq.call(this); this.start$4 = 0; this.end$4 = 0; this.step$4 = 0; this.isEmpty$4 = false; this.numRangeElements$4 = 0; this.lastElement$4 = 0; this.terminalElement$4 = 0 } $c_sci_Range.prototype = new $h_sc_AbstractSeq(); $c_sci_Range.prototype.constructor = $c_sci_Range; /** @constructor */ function $h_sci_Range() { /*<skip>*/ } $h_sci_Range.prototype = $c_sci_Range.prototype; $c_sci_Range.prototype.dropRight__I__sci_Range = (function(n) { if ((n <= 0)) { return this } else if ((this.numRangeElements$4 >= 0)) { return this.take__I__sci_Range(((this.numRangeElements$4 - n) | 0)) } else { var y = ((this.last__I() - $imul(this.step$4, n)) | 0); if ((((this.step$4 > 0) && (y < this.start$4)) || ((this.step$4 < 0) && (y > this.start$4)))) { var value = this.start$4; return new $c_sci_Range().init___I__I__I(value, value, this.step$4) } else { return new $c_sci_Range$Inclusive().init___I__I__I(this.start$4, y, this.step$4) } } }); $c_sci_Range.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_Range.prototype.isInclusive__Z = (function() { return false }); $c_sci_Range.prototype.head__O = (function() { return this.head__I() }); $c_sci_Range.prototype.apply__I__O = (function(idx) { return this.apply$mcII$sp__I__I(idx) }); $c_sci_Range.prototype.apply__O__O = (function(v1) { var idx = $uI(v1); return this.apply$mcII$sp__I__I(idx) }); $c_sci_Range.prototype.isEmpty__Z = (function() { return this.isEmpty$4 }); $c_sci_Range.prototype.longLength__p4__J = (function() { return this.gap__p4__J().$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.step$4)).$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I((this.hasStub__p4__Z() ? 1 : 0))) }); $c_sci_Range.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_Range.prototype.locationAfterN__p4__I__I = (function(n) { return ((this.start$4 + $imul(this.step$4, n)) | 0) }); $c_sci_Range.prototype.equals__O__Z = (function(other) { if ($is_sci_Range(other)) { var x2 = $as_sci_Range(other); if (this.isEmpty$4) { return x2.isEmpty$4 } else if (($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(x2) && (this.start$4 === x2.start$4))) { var l0 = this.last__I(); return ((l0 === x2.last__I()) && ((this.start$4 === l0) || (this.step$4 === x2.step$4))) } else { return false } } else { return $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z(this, other) } }); $c_sci_Range.prototype.argTakeWhile__p4__F1__J = (function(p) { if (this.isEmpty$4) { return new $c_sjsr_RuntimeLong().init___I(this.start$4) } else { var current = this.start$4; var stop = this.last__I(); while (((current !== stop) && p.apply$mcZI$sp__I__Z(current))) { current = ((current + this.step$4) | 0) }; return (((current !== stop) || (!p.apply$mcZI$sp__I__Z(current))) ? new $c_sjsr_RuntimeLong().init___I(current) : new $c_sjsr_RuntimeLong().init___I(current).$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.step$4))) } }); $c_sci_Range.prototype.apply$mcII$sp__I__I = (function(idx) { this.scala$collection$immutable$Range$$validateMaxLength__V(); if (((idx < 0) || (idx >= this.numRangeElements$4))) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + idx)) } else { return ((this.start$4 + $imul(this.step$4, idx)) | 0) } }); $c_sci_Range.prototype.init___I__I__I = (function(start, end, step) { this.start$4 = start; this.end$4 = end; this.step$4 = step; this.isEmpty$4 = ((((start > end) && (step > 0)) || ((start < end) && (step < 0))) || ((start === end) && (!this.isInclusive__Z()))); if ((step === 0)) { var jsx$1; throw new $c_jl_IllegalArgumentException().init___T("step cannot be 0.") } else if (this.isEmpty$4) { var jsx$1 = 0 } else { var len = this.longLength__p4__J(); var jsx$1 = (len.$$greater__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I__I(2147483647, 0)) ? (-1) : len.lo$2) }; this.numRangeElements$4 = jsx$1; if (this.isEmpty$4) { var jsx$2 = ((start - step) | 0) } else { switch (step) { case 1: { var jsx$2 = (this.isInclusive__Z() ? end : (((-1) + end) | 0)); break } case (-1): { var jsx$2 = (this.isInclusive__Z() ? end : ((1 + end) | 0)); break } default: { var remainder = this.gap__p4__J().$$percent__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(step)).lo$2; var jsx$2 = ((remainder !== 0) ? ((end - remainder) | 0) : (this.isInclusive__Z() ? end : ((end - step) | 0))) } } }; this.lastElement$4 = jsx$2; this.terminalElement$4 = ((this.lastElement$4 + step) | 0); return this }); $c_sci_Range.prototype.init__sci_Range = (function() { if (this.isEmpty$4) { var this$1 = $m_sci_Nil$(); $s_sc_TraversableLike$class__init__sc_TraversableLike__O(this$1) }; return this.dropRight__I__sci_Range(1) }); $c_sci_Range.prototype.init__O = (function() { return this.init__sci_Range() }); $c_sci_Range.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_IndexedSeq$() }); $c_sci_Range.prototype.toString__T = (function() { var endStr = (((this.numRangeElements$4 > $m_sci_Range$().MAX$undPRINT$1) || ((!this.isEmpty$4) && (this.numRangeElements$4 < 0))) ? ", ... )" : ")"); var this$1 = this.take__I__sci_Range($m_sci_Range$().MAX$undPRINT$1); return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this$1, "Range(", ", ", endStr) }); $c_sci_Range.prototype.foreach__F1__V = (function(f) { if ((!this.isEmpty$4)) { var i = this.start$4; while (true) { f.apply__O__O(i); if ((i === this.lastElement$4)) { return (void 0) }; i = ((i + this.step$4) | 0) } } }); $c_sci_Range.prototype.hasStub__p4__Z = (function() { return (this.isInclusive__Z() || (!this.isExact__p4__Z())) }); $c_sci_Range.prototype.copy__I__I__I__sci_Range = (function(start, end, step) { return new $c_sci_Range().init___I__I__I(start, end, step) }); $c_sci_Range.prototype.tail__sci_Range = (function() { if (this.isEmpty$4) { $m_sci_Nil$().tail__sci_List() }; return this.drop__I__sci_Range(1) }); $c_sci_Range.prototype.reverse__O = (function() { return this.reverse__sci_Range() }); $c_sci_Range.prototype.size__I = (function() { return this.length__I() }); $c_sci_Range.prototype.iterator__sc_Iterator = (function() { return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, this.length__I()) }); $c_sci_Range.prototype.span__F1__T2 = (function(p) { var border = this.argTakeWhile__p4__F1__J(p); if (border.equals__sjsr_RuntimeLong__Z(new $c_sjsr_RuntimeLong().init___I(this.start$4))) { var value = this.start$4; return new $c_T2().init___O__O(new $c_sci_Range().init___I__I__I(value, value, this.step$4), this) } else { var x = ((border.lo$2 - this.step$4) | 0); if ((x === this.last__I())) { var value$1 = this.last__I(); return new $c_T2().init___O__O(this, new $c_sci_Range().init___I__I__I(value$1, value$1, this.step$4)) } else { return new $c_T2().init___O__O(new $c_sci_Range$Inclusive().init___I__I__I(this.start$4, x, this.step$4), new $c_sci_Range$Inclusive().init___I__I__I(((x + this.step$4) | 0), this.last__I(), this.step$4)) } } }); $c_sci_Range.prototype.scala$collection$immutable$Range$$validateMaxLength__V = (function() { if ((this.numRangeElements$4 < 0)) { $m_sci_Range$().scala$collection$immutable$Range$$fail__I__I__I__Z__sr_Nothing$(this.start$4, this.end$4, this.step$4, this.isInclusive__Z()) } }); $c_sci_Range.prototype.length__I = (function() { return ((this.numRangeElements$4 < 0) ? $m_sci_Range$().scala$collection$immutable$Range$$fail__I__I__I__Z__sr_Nothing$(this.start$4, this.end$4, this.step$4, this.isInclusive__Z()) : this.numRangeElements$4) }); $c_sci_Range.prototype.seq__sc_Seq = (function() { return this }); $c_sci_Range.prototype.drop__I__sci_Range = (function(n) { if (((n <= 0) || this.isEmpty$4)) { return this } else if (((n >= this.numRangeElements$4) && (this.numRangeElements$4 >= 0))) { var value = this.end$4; return new $c_sci_Range().init___I__I__I(value, value, this.step$4) } else { return this.copy__I__I__I__sci_Range(this.locationAfterN__p4__I__I(n), this.end$4, this.step$4) } }); $c_sci_Range.prototype.take__I__O = (function(n) { return this.take__I__sci_Range(n) }); $c_sci_Range.prototype.max__s_math_Ordering__I = (function(ord) { return ((ord === $m_s_math_Ordering$Int$()) ? ((this.step$4 > 0) ? this.last__I() : this.head__I()) : $uI($s_sc_TraversableOnce$class__max__sc_TraversableOnce__s_math_Ordering__O(this, ord))) }); $c_sci_Range.prototype.reverse__sci_Range = (function() { return (this.isEmpty$4 ? this : new $c_sci_Range$Inclusive().init___I__I__I(this.last__I(), this.start$4, ((-this.step$4) | 0))) }); $c_sci_Range.prototype.isExact__p4__Z = (function() { return this.gap__p4__J().$$percent__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.step$4)).equals__sjsr_RuntimeLong__Z($m_sjsr_RuntimeLong$().Zero__sjsr_RuntimeLong()) }); $c_sci_Range.prototype.last__O = (function() { return this.last__I() }); $c_sci_Range.prototype.drop__I__O = (function(n) { return this.drop__I__sci_Range(n) }); $c_sci_Range.prototype.tail__O = (function() { return this.tail__sci_Range() }); $c_sci_Range.prototype.thisCollection__sc_Seq = (function() { return this }); $c_sci_Range.prototype.max__s_math_Ordering__O = (function(cmp) { return this.max__s_math_Ordering__I(cmp) }); $c_sci_Range.prototype.take__I__sci_Range = (function(n) { if (((n <= 0) || this.isEmpty$4)) { var value = this.start$4; return new $c_sci_Range().init___I__I__I(value, value, this.step$4) } else { return (((n >= this.numRangeElements$4) && (this.numRangeElements$4 >= 0)) ? this : new $c_sci_Range$Inclusive().init___I__I__I(this.start$4, this.locationAfterN__p4__I__I((((-1) + n) | 0)), this.step$4)) } }); $c_sci_Range.prototype.last__I = (function() { if (this.isEmpty$4) { var this$1 = $m_sci_Nil$(); return $uI($s_sc_LinearSeqOptimized$class__last__sc_LinearSeqOptimized__O(this$1)) } else { return this.lastElement$4 } }); $c_sci_Range.prototype.isDefinedAt__O__Z = (function(x) { var idx = $uI(x); return $s_sc_GenSeqLike$class__isDefinedAt__sc_GenSeqLike__I__Z(this, idx) }); $c_sci_Range.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) }); $c_sci_Range.prototype.sum__s_math_Numeric__O = (function(num) { return this.sum__s_math_Numeric__I(num) }); $c_sci_Range.prototype.sum__s_math_Numeric__I = (function(num) { if ((num === $m_s_math_Numeric$IntIsIntegral$())) { return (this.isEmpty$4 ? 0 : ((this.numRangeElements$4 === 1) ? this.head__I() : new $c_sjsr_RuntimeLong().init___I(this.numRangeElements$4).$$times__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.head__I()).$$plus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.last__I()))).$$div__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I__I(2, 0)).lo$2)) } else if (this.isEmpty$4) { return 0 } else { var acc = 0; var i = this.head__I(); while (true) { var x = acc; var y = i; var x$1 = $uI(x); acc = $s_s_math_Numeric$IntIsIntegral$class__plus__s_math_Numeric$IntIsIntegral__I__I__I(num, x$1, y); if ((i === this.lastElement$4)) { var x$2 = acc; var x$3 = $uI(x$2); return x$3 }; i = ((i + this.step$4) | 0) } } }); $c_sci_Range.prototype.head__I = (function() { return (this.isEmpty$4 ? $m_sci_Nil$().head__sr_Nothing$() : this.start$4) }); $c_sci_Range.prototype.toCollection__O__sc_Seq = (function(repr) { return $as_sc_IndexedSeq(repr) }); $c_sci_Range.prototype.gap__p4__J = (function() { return new $c_sjsr_RuntimeLong().init___I(this.end$4).$$minus__sjsr_RuntimeLong__sjsr_RuntimeLong(new $c_sjsr_RuntimeLong().init___I(this.start$4)) }); function $is_sci_Range(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Range))) } function $as_sci_Range(obj) { return (($is_sci_Range(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.Range")) } function $isArrayOf_sci_Range(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_Range))) } function $asArrayOf_sci_Range(obj, depth) { return (($isArrayOf_sci_Range(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.Range;", depth)) } var $d_sci_Range = new $TypeData().initClass({ sci_Range: 0 }, false, "scala.collection.immutable.Range", { sci_Range: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, sci_IndexedSeq: 1, sci_Seq: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Range.prototype.$classData = $d_sci_Range; /** @constructor */ function $c_sci_Stream() { $c_sc_AbstractSeq.call(this) } $c_sci_Stream.prototype = new $h_sc_AbstractSeq(); $c_sci_Stream.prototype.constructor = $c_sci_Stream; /** @constructor */ function $h_sci_Stream() { /*<skip>*/ } $h_sci_Stream.prototype = $c_sci_Stream.prototype; $c_sci_Stream.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_Stream.prototype.reverse__sci_Stream = (function() { var elem = $m_sci_Stream$Empty$(); var result = new $c_sr_ObjectRef().init___O(elem); var these = this; while ((!these.isEmpty__Z())) { $m_sci_Stream$(); var stream = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, result$1) { return (function() { return $as_sci_Stream(result$1.elem$1) }) })(this, result)); var r = new $c_sci_Stream$ConsWrapper().init___F0(stream).$$hash$colon$colon__O__sci_Stream(these.head__O()); r.tail__O(); result.elem$1 = r; these = $as_sci_Stream(these.tail__O()) }; return $as_sci_Stream(result.elem$1) }); $c_sci_Stream.prototype.apply__I__O = (function(n) { return $s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this, n) }); $c_sci_Stream.prototype.lengthCompare__I__I = (function(len) { return $s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this, len) }); $c_sci_Stream.prototype.apply__O__O = (function(v1) { var n = $uI(v1); return $s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this, n) }); $c_sci_Stream.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_LinearSeqOptimized$class__sameElements__sc_LinearSeqOptimized__sc_GenIterable__Z(this, that) }); $c_sci_Stream.prototype.flatten__F1__sc_GenTraversable = (function(asTraversable) { return this.flatten__F1__sci_Stream(asTraversable) }); $c_sci_Stream.prototype.exists__F1__Z = (function(p) { return $s_sc_LinearSeqOptimized$class__exists__sc_LinearSeqOptimized__F1__Z(this, p) }); $c_sci_Stream.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_Stream.prototype.flatMap__F1__scg_CanBuildFrom__O = (function(f, bf) { if ($is_sci_Stream$StreamBuilder(bf.apply__O__scm_Builder(this))) { if (this.isEmpty__Z()) { var x$1 = $m_sci_Stream$Empty$() } else { var nonEmptyPrefix = new $c_sr_ObjectRef().init___O(this); var prefix = $as_sc_GenTraversableOnce(f.apply__O__O($as_sci_Stream(nonEmptyPrefix.elem$1).head__O())).toStream__sci_Stream(); while (((!$as_sci_Stream(nonEmptyPrefix.elem$1).isEmpty__Z()) && prefix.isEmpty__Z())) { nonEmptyPrefix.elem$1 = $as_sci_Stream($as_sci_Stream(nonEmptyPrefix.elem$1).tail__O()); if ((!$as_sci_Stream(nonEmptyPrefix.elem$1).isEmpty__Z())) { prefix = $as_sc_GenTraversableOnce(f.apply__O__O($as_sci_Stream(nonEmptyPrefix.elem$1).head__O())).toStream__sci_Stream() } }; var x$1 = ($as_sci_Stream(nonEmptyPrefix.elem$1).isEmpty__Z() ? ($m_sci_Stream$(), $m_sci_Stream$Empty$()) : prefix.append__F0__sci_Stream(new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, f$1, nonEmptyPrefix$1) { return (function() { var x = $as_sci_Stream($as_sci_Stream(nonEmptyPrefix$1.elem$1).tail__O()).flatMap__F1__scg_CanBuildFrom__O(f$1, ($m_sci_Stream$(), new $c_sci_Stream$StreamCanBuildFrom().init___())); return $as_sci_Stream(x) }) })(this, f, nonEmptyPrefix)))) }; return x$1 } else { return $s_sc_TraversableLike$class__flatMap__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) } }); $c_sci_Stream.prototype.drop__I__sc_LinearSeqOptimized = (function(n) { return this.drop__I__sci_Stream(n) }); $c_sci_Stream.prototype.mkString__T__T = (function(sep) { return this.mkString__T__T__T__T("", sep, "") }); $c_sci_Stream.prototype.mkString__T__T__T__T = (function(start, sep, end) { this.force__sci_Stream(); return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, start, sep, end) }); $c_sci_Stream.prototype.withFilter__F1__scg_FilterMonadic = (function(p) { return new $c_sci_Stream$StreamWithFilter().init___sci_Stream__F1(this, p) }); $c_sci_Stream.prototype.forall__F1__Z = (function(p) { return $s_sc_LinearSeqOptimized$class__forall__sc_LinearSeqOptimized__F1__Z(this, p) }); $c_sci_Stream.prototype.init__O = (function() { return this.init__sci_Stream() }); $c_sci_Stream.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Stream$() }); $c_sci_Stream.prototype.toString__T = (function() { return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this, "Stream(", ", ", ")") }); $c_sci_Stream.prototype.foreach__F1__V = (function(f) { var _$this = this; x: { _foreach: while (true) { if ((!_$this.isEmpty__Z())) { f.apply__O__O(_$this.head__O()); _$this = $as_sci_Stream(_$this.tail__O()); continue _foreach }; break x } } }); $c_sci_Stream.prototype.foldLeft__O__F2__O = (function(z, op) { var _$this = this; _foldLeft: while (true) { if (_$this.isEmpty__Z()) { return z } else { var temp$_$this = $as_sci_Stream(_$this.tail__O()); var temp$z = op.apply__O__O__O(z, _$this.head__O()); _$this = temp$_$this; z = temp$z; continue _foldLeft } } }); $c_sci_Stream.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_LinearSeqOptimized$class__indexWhere__sc_LinearSeqOptimized__F1__I__I(this, p, from) }); $c_sci_Stream.prototype.filter__F1__sci_Stream = (function(p) { var rest = this; while (((!rest.isEmpty__Z()) && (!$uZ(p.apply__O__O(rest.head__O()))))) { rest = $as_sci_Stream(rest.tail__O()) }; var this$1 = rest; if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$1)) { return $m_sci_Stream$().filteredTail__sci_Stream__F1__sci_Stream$Cons(rest, p) } else { return $m_sci_Stream$Empty$() } }); $c_sci_Stream.prototype.filter__F1__O = (function(p) { return this.filter__F1__sci_Stream(p) }); $c_sci_Stream.prototype.reverse__O = (function() { return this.reverse__sci_Stream() }); $c_sci_Stream.prototype.$$plus$colon__O__scg_CanBuildFrom__O = (function(elem, bf) { if ($is_sci_Stream$StreamBuilder(bf.apply__O__scm_Builder(this))) { var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this) { return (function() { return $this }) })(this)); var x = new $c_sci_Stream$Cons().init___O__F0(elem, tl); return x } else { return $s_sc_SeqLike$class__$$plus$colon__sc_SeqLike__O__scg_CanBuildFrom__O(this, elem, bf) } }); $c_sci_Stream.prototype.iterator__sc_Iterator = (function() { return new $c_sci_StreamIterator().init___sci_Stream(this) }); $c_sci_Stream.prototype.span__F1__T2 = (function(p) { return $s_sc_LinearSeqOptimized$class__span__sc_LinearSeqOptimized__F1__T2(this, p) }); $c_sci_Stream.prototype.length__I = (function() { var len = 0; var left = this; while ((!left.isEmpty__Z())) { len = ((1 + len) | 0); left = $as_sci_Stream(left.tail__O()) }; return len }); $c_sci_Stream.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) { if ($is_sci_Stream$StreamBuilder(bf.apply__O__scm_Builder(this))) { if (this.isEmpty__Z()) { var x$1 = that.toStream__sci_Stream() } else { var hd = this.head__O(); var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, that$1) { return (function() { var x = $as_sci_Stream($this.tail__O()).$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(that$1, ($m_sci_Stream$(), new $c_sci_Stream$StreamCanBuildFrom().init___())); return $as_sci_Stream(x) }) })(this, that)); var x$1 = new $c_sci_Stream$Cons().init___O__F0(hd, tl) }; return x$1 } else { return $s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, that, bf) } }); $c_sci_Stream.prototype.zipWithIndex__scg_CanBuildFrom__O = (function(bf) { var this$1 = $m_sci_Stream$(); return this.zip__sc_GenIterable__scg_CanBuildFrom__O(this$1.from__I__I__sci_Stream(0, 1), bf) }); $c_sci_Stream.prototype.mkString__T = (function() { return this.mkString__T__T__T__T("", "", "") }); $c_sci_Stream.prototype.seq__sc_Seq = (function() { return this }); $c_sci_Stream.prototype.partition__F1__T2 = (function(p) { var jsx$1 = this.filter__F1__sci_Stream(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, p$1) { return (function(x$1$2) { return $uZ(p$1.apply__O__O(x$1$2)) }) })(this, p))); $m_sci_Stream$(); var b = new $c_sci_Stream$StreamBuilder().init___(); var _$this = this; x: { _foreach: while (true) { if ((!_$this.isEmpty__Z())) { var arg1 = _$this.head__O(); if (($uZ(p.apply__O__O(arg1)) !== true)) { b.$$plus$eq__O__scm_LazyBuilder(arg1) }; _$this = $as_sci_Stream(_$this.tail__O()); continue _foreach }; break x } }; return new $c_T2().init___O__O(jsx$1, b.result__sci_Stream()) }); $c_sci_Stream.prototype.take__I__O = (function(n) { return this.take__I__sci_Stream(n) }); $c_sci_Stream.prototype.toStream__sci_Stream = (function() { return this }); $c_sci_Stream.prototype.last__O = (function() { return $s_sc_LinearSeqOptimized$class__last__sc_LinearSeqOptimized__O(this) }); $c_sci_Stream.prototype.flatten__F1__sci_Stream = (function(asTraversable) { var st = new $c_sr_ObjectRef().init___O(this); while (true) { var this$2 = $as_sci_Stream(st.elem$1); if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$2)) { var h = $as_sc_GenTraversableOnce(asTraversable.apply__O__O($as_sci_Stream(st.elem$1).head__O())); if (h.isEmpty__Z()) { st.elem$1 = $as_sci_Stream($as_sci_Stream(st.elem$1).tail__O()) } else { var x$4 = h.toStream__sci_Stream(); $m_sci_Stream$(); var stream = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, asTraversable$1, st$1) { return (function() { return $as_sci_Stream($as_sci_Stream(st$1.elem$1).tail__O()).flatten__F1__sci_Stream(asTraversable$1) }) })(this, asTraversable, st)); return new $c_sci_Stream$ConsWrapper().init___F0(stream).$$hash$colon$colon$colon__sci_Stream__sci_Stream(x$4) } } else { break } }; $m_sci_Stream$(); return $m_sci_Stream$Empty$() }); $c_sci_Stream.prototype.drop__I__O = (function(n) { return this.drop__I__sci_Stream(n) }); $c_sci_Stream.prototype.drop__I__sci_Stream = (function(n) { var _$this = this; _drop: while (true) { if (((n <= 0) || _$this.isEmpty__Z())) { return _$this } else { var temp$_$this = $as_sci_Stream(_$this.tail__O()); var temp$n = (((-1) + n) | 0); _$this = temp$_$this; n = temp$n; continue _drop } } }); $c_sci_Stream.prototype.thisCollection__sc_Seq = (function() { return this }); $c_sci_Stream.prototype.contains__O__Z = (function(elem) { return $s_sc_LinearSeqOptimized$class__contains__sc_LinearSeqOptimized__O__Z(this, elem) }); $c_sci_Stream.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) { b.append__T__scm_StringBuilder(start); if ((!this.isEmpty__Z())) { b.append__O__scm_StringBuilder(this.head__O()); var cursor = this; var n = 1; if (cursor.tailDefined__Z()) { var scout = $as_sci_Stream(this.tail__O()); if (scout.isEmpty__Z()) { b.append__T__scm_StringBuilder(end); return b }; if ((cursor !== scout)) { cursor = scout; if (scout.tailDefined__Z()) { scout = $as_sci_Stream(scout.tail__O()); while (((cursor !== scout) && scout.tailDefined__Z())) { b.append__T__scm_StringBuilder(sep).append__O__scm_StringBuilder(cursor.head__O()); n = ((1 + n) | 0); cursor = $as_sci_Stream(cursor.tail__O()); scout = $as_sci_Stream(scout.tail__O()); if (scout.tailDefined__Z()) { scout = $as_sci_Stream(scout.tail__O()) } } } }; if ((!scout.tailDefined__Z())) { while ((cursor !== scout)) { b.append__T__scm_StringBuilder(sep).append__O__scm_StringBuilder(cursor.head__O()); n = ((1 + n) | 0); cursor = $as_sci_Stream(cursor.tail__O()) }; var this$1 = cursor; if ($s_sc_TraversableOnce$class__nonEmpty__sc_TraversableOnce__Z(this$1)) { b.append__T__scm_StringBuilder(sep).append__O__scm_StringBuilder(cursor.head__O()) } } else { var runner = this; var k = 0; while ((runner !== scout)) { runner = $as_sci_Stream(runner.tail__O()); scout = $as_sci_Stream(scout.tail__O()); k = ((1 + k) | 0) }; if (((cursor === scout) && (k > 0))) { b.append__T__scm_StringBuilder(sep).append__O__scm_StringBuilder(cursor.head__O()); n = ((1 + n) | 0); cursor = $as_sci_Stream(cursor.tail__O()) }; while ((cursor !== scout)) { b.append__T__scm_StringBuilder(sep).append__O__scm_StringBuilder(cursor.head__O()); n = ((1 + n) | 0); cursor = $as_sci_Stream(cursor.tail__O()) }; n = ((n - k) | 0) } }; if ((!cursor.isEmpty__Z())) { if ((!cursor.tailDefined__Z())) { b.append__T__scm_StringBuilder(sep).append__T__scm_StringBuilder("?") } else { b.append__T__scm_StringBuilder(sep).append__T__scm_StringBuilder("...") } } }; b.append__T__scm_StringBuilder(end); return b }); $c_sci_Stream.prototype.force__sci_Stream = (function() { var these = this; var those = this; if ((!these.isEmpty__Z())) { these = $as_sci_Stream(these.tail__O()) }; while ((those !== these)) { if (these.isEmpty__Z()) { return this }; these = $as_sci_Stream(these.tail__O()); if (these.isEmpty__Z()) { return this }; these = $as_sci_Stream(these.tail__O()); if ((these === those)) { return this }; those = $as_sci_Stream(those.tail__O()) }; return this }); $c_sci_Stream.prototype.isDefinedAt__O__Z = (function(x) { var x$1 = $uI(x); return $s_sc_LinearSeqOptimized$class__isDefinedAt__sc_LinearSeqOptimized__I__Z(this, x$1) }); $c_sci_Stream.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) }); $c_sci_Stream.prototype.init__sci_Stream = (function() { if (this.isEmpty__Z()) { return $as_sci_Stream($s_sc_TraversableLike$class__init__sc_TraversableLike__O(this)) } else if ($as_sc_SeqLike(this.tail__O()).isEmpty__Z()) { return $m_sci_Stream$Empty$() } else { var hd = this.head__O(); var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this) { return (function() { return $as_sci_Stream($this.tail__O()).init__sci_Stream() }) })(this)); return new $c_sci_Stream$Cons().init___O__F0(hd, tl) } }); $c_sci_Stream.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { if ($is_sci_Stream$StreamBuilder(bf.apply__O__scm_Builder(this))) { if (this.isEmpty__Z()) { var x$1 = $m_sci_Stream$Empty$() } else { var hd = f.apply__O__O(this.head__O()); var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, f$1) { return (function() { var x = $as_sci_Stream($this.tail__O()).map__F1__scg_CanBuildFrom__O(f$1, ($m_sci_Stream$(), new $c_sci_Stream$StreamCanBuildFrom().init___())); return $as_sci_Stream(x) }) })(this, f)); var x$1 = new $c_sci_Stream$Cons().init___O__F0(hd, tl) }; return x$1 } else { return $s_sc_TraversableLike$class__map__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) } }); $c_sci_Stream.prototype.take__I__sci_Stream = (function(n) { if (((n <= 0) || this.isEmpty__Z())) { $m_sci_Stream$(); return $m_sci_Stream$Empty$() } else if ((n === 1)) { var hd = this.head__O(); var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this) { return (function() { $m_sci_Stream$(); return $m_sci_Stream$Empty$() }) })(this)); return new $c_sci_Stream$Cons().init___O__F0(hd, tl) } else { var hd$1 = this.head__O(); var tl$1 = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function(this$2$1, n$1) { return (function() { return $as_sci_Stream(this$2$1.tail__O()).take__I__sci_Stream((((-1) + n$1) | 0)) }) })(this, n)); return new $c_sci_Stream$Cons().init___O__F0(hd$1, tl$1) } }); $c_sci_Stream.prototype.toCollection__O__sc_Seq = (function(repr) { var repr$1 = $as_sc_LinearSeqLike(repr); return $as_sc_LinearSeq(repr$1) }); $c_sci_Stream.prototype.reduceLeft__F2__O = (function(f) { if (this.isEmpty__Z()) { throw new $c_jl_UnsupportedOperationException().init___T("empty.reduceLeft") } else { var reducedRes = this.head__O(); var left = $as_sci_Stream(this.tail__O()); while ((!left.isEmpty__Z())) { reducedRes = f.apply__O__O__O(reducedRes, left.head__O()); left = $as_sci_Stream(left.tail__O()) }; return reducedRes } }); $c_sci_Stream.prototype.append__F0__sci_Stream = (function(rest) { if (this.isEmpty__Z()) { return $as_sc_GenTraversableOnce(rest.apply__O()).toStream__sci_Stream() } else { var hd = this.head__O(); var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, rest$1) { return (function() { return $as_sci_Stream($this.tail__O()).append__F0__sci_Stream(rest$1) }) })(this, rest)); return new $c_sci_Stream$Cons().init___O__F0(hd, tl) } }); $c_sci_Stream.prototype.stringPrefix__T = (function() { return "Stream" }); $c_sci_Stream.prototype.zip__sc_GenIterable__scg_CanBuildFrom__O = (function(that, bf) { if ($is_sci_Stream$StreamBuilder(bf.apply__O__scm_Builder(this))) { if ((this.isEmpty__Z() || that.isEmpty__Z())) { var x$1 = $m_sci_Stream$Empty$() } else { var hd = new $c_T2().init___O__O(this.head__O(), that.head__O()); var tl = new $c_sjsr_AnonFunction0().init___sjs_js_Function0((function($this, that$1) { return (function() { var x = $as_sci_Stream($this.tail__O()).zip__sc_GenIterable__scg_CanBuildFrom__O($as_sc_GenIterable(that$1.tail__O()), ($m_sci_Stream$(), new $c_sci_Stream$StreamCanBuildFrom().init___())); return $as_sci_Stream(x) }) })(this, that)); var x$1 = new $c_sci_Stream$Cons().init___O__F0(hd, tl) }; return x$1 } else { return $s_sc_IterableLike$class__zip__sc_IterableLike__sc_GenIterable__scg_CanBuildFrom__O(this, that, bf) } }); function $is_sci_Stream(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Stream))) } function $as_sci_Stream(obj) { return (($is_sci_Stream(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.Stream")) } function $isArrayOf_sci_Stream(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_Stream))) } function $asArrayOf_sci_Stream(obj, depth) { return (($isArrayOf_sci_Stream(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.Stream;", depth)) } function $is_scm_Buffer(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_Buffer))) } function $as_scm_Buffer(obj) { return (($is_scm_Buffer(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.Buffer")) } function $isArrayOf_scm_Buffer(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_Buffer))) } function $asArrayOf_scm_Buffer(obj, depth) { return (($isArrayOf_scm_Buffer(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.Buffer;", depth)) } /** @constructor */ function $c_sci_HashMap$EmptyHashMap$() { $c_sci_HashMap.call(this) } $c_sci_HashMap$EmptyHashMap$.prototype = new $h_sci_HashMap(); $c_sci_HashMap$EmptyHashMap$.prototype.constructor = $c_sci_HashMap$EmptyHashMap$; /** @constructor */ function $h_sci_HashMap$EmptyHashMap$() { /*<skip>*/ } $h_sci_HashMap$EmptyHashMap$.prototype = $c_sci_HashMap$EmptyHashMap$.prototype; $c_sci_HashMap$EmptyHashMap$.prototype.init___ = (function() { return this }); var $d_sci_HashMap$EmptyHashMap$ = new $TypeData().initClass({ sci_HashMap$EmptyHashMap$: 0 }, false, "scala.collection.immutable.HashMap$EmptyHashMap$", { sci_HashMap$EmptyHashMap$: 1, sci_HashMap: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1, sc_CustomParallelizable: 1 }); $c_sci_HashMap$EmptyHashMap$.prototype.$classData = $d_sci_HashMap$EmptyHashMap$; var $n_sci_HashMap$EmptyHashMap$ = (void 0); function $m_sci_HashMap$EmptyHashMap$() { if ((!$n_sci_HashMap$EmptyHashMap$)) { $n_sci_HashMap$EmptyHashMap$ = new $c_sci_HashMap$EmptyHashMap$().init___() }; return $n_sci_HashMap$EmptyHashMap$ } /** @constructor */ function $c_sci_HashMap$HashMap1() { $c_sci_HashMap.call(this); this.key$6 = null; this.hash$6 = 0; this.value$6 = null; this.kv$6 = null } $c_sci_HashMap$HashMap1.prototype = new $h_sci_HashMap(); $c_sci_HashMap$HashMap1.prototype.constructor = $c_sci_HashMap$HashMap1; /** @constructor */ function $h_sci_HashMap$HashMap1() { /*<skip>*/ } $h_sci_HashMap$HashMap1.prototype = $c_sci_HashMap$HashMap1.prototype; $c_sci_HashMap$HashMap1.prototype.ensurePair__T2 = (function() { if ((this.kv$6 !== null)) { return this.kv$6 } else { this.kv$6 = new $c_T2().init___O__O(this.key$6, this.value$6); return this.kv$6 } }); $c_sci_HashMap$HashMap1.prototype.init___O__I__O__T2 = (function(key, hash, value, kv) { this.key$6 = key; this.hash$6 = hash; this.value$6 = value; this.kv$6 = kv; return this }); $c_sci_HashMap$HashMap1.prototype.updated0__O__I__I__O__T2__sci_HashMap$Merger__sci_HashMap = (function(key, hash, level, value, kv, merger) { if (((hash === this.hash$6) && $m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key$6))) { if ((merger === null)) { return ((this.value$6 === value) ? this : new $c_sci_HashMap$HashMap1().init___O__I__O__T2(key, hash, value, kv)) } else { var nkv = merger.apply__T2__T2__T2(this.kv$6, kv); return new $c_sci_HashMap$HashMap1().init___O__I__O__T2(nkv.$$und1__O(), hash, nkv.$$und2__O(), nkv) } } else if ((hash !== this.hash$6)) { var that = new $c_sci_HashMap$HashMap1().init___O__I__O__T2(key, hash, value, kv); return $m_sci_HashMap$().scala$collection$immutable$HashMap$$makeHashTrieMap__I__sci_HashMap__I__sci_HashMap__I__I__sci_HashMap$HashTrieMap(this.hash$6, this, hash, that, level, 2) } else { var this$2 = $m_sci_ListMap$EmptyListMap$(); var key$1 = this.key$6; var value$1 = this.value$6; return new $c_sci_HashMap$HashMapCollision1().init___I__sci_ListMap(hash, new $c_sci_ListMap$Node().init___sci_ListMap__O__O(this$2, key$1, value$1).updated__O__O__sci_ListMap(key, value)) } }); $c_sci_HashMap$HashMap1.prototype.get0__O__I__I__s_Option = (function(key, hash, level) { return (((hash === this.hash$6) && $m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key$6)) ? new $c_s_Some().init___O(this.value$6) : $m_s_None$()) }); $c_sci_HashMap$HashMap1.prototype.foreach__F1__V = (function(f) { f.apply__O__O(this.ensurePair__T2()) }); $c_sci_HashMap$HashMap1.prototype.removed0__O__I__I__sci_HashMap = (function(key, hash, level) { return (((hash === this.hash$6) && $m_sr_BoxesRunTime$().equals__O__O__Z(key, this.key$6)) ? ($m_sci_HashMap$(), $m_sci_HashMap$EmptyHashMap$()) : this) }); $c_sci_HashMap$HashMap1.prototype.filter0__F1__Z__I__Asci_HashMap__I__sci_HashMap = (function(p, negate, level, buffer, offset0) { return ((negate !== $uZ(p.apply__O__O(this.ensurePair__T2()))) ? this : null) }); $c_sci_HashMap$HashMap1.prototype.size__I = (function() { return 1 }); $c_sci_HashMap$HashMap1.prototype.iterator__sc_Iterator = (function() { $m_sc_Iterator$(); var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array([this.ensurePair__T2()]); return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length)) }); function $is_sci_HashMap$HashMap1(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_HashMap$HashMap1))) } function $as_sci_HashMap$HashMap1(obj) { return (($is_sci_HashMap$HashMap1(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.HashMap$HashMap1")) } function $isArrayOf_sci_HashMap$HashMap1(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_HashMap$HashMap1))) } function $asArrayOf_sci_HashMap$HashMap1(obj, depth) { return (($isArrayOf_sci_HashMap$HashMap1(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.HashMap$HashMap1;", depth)) } var $d_sci_HashMap$HashMap1 = new $TypeData().initClass({ sci_HashMap$HashMap1: 0 }, false, "scala.collection.immutable.HashMap$HashMap1", { sci_HashMap$HashMap1: 1, sci_HashMap: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1, sc_CustomParallelizable: 1 }); $c_sci_HashMap$HashMap1.prototype.$classData = $d_sci_HashMap$HashMap1; /** @constructor */ function $c_sci_HashMap$HashMapCollision1() { $c_sci_HashMap.call(this); this.hash$6 = 0; this.kvs$6 = null } $c_sci_HashMap$HashMapCollision1.prototype = new $h_sci_HashMap(); $c_sci_HashMap$HashMapCollision1.prototype.constructor = $c_sci_HashMap$HashMapCollision1; /** @constructor */ function $h_sci_HashMap$HashMapCollision1() { /*<skip>*/ } $h_sci_HashMap$HashMapCollision1.prototype = $c_sci_HashMap$HashMapCollision1.prototype; $c_sci_HashMap$HashMapCollision1.prototype.updated0__O__I__I__O__T2__sci_HashMap$Merger__sci_HashMap = (function(key, hash, level, value, kv, merger) { if ((hash === this.hash$6)) { if ((merger === null)) { var jsx$1 = true } else { var this$1 = this.kvs$6; var jsx$1 = (!$s_sc_MapLike$class__contains__sc_MapLike__O__Z(this$1, key)) }; if (jsx$1) { return new $c_sci_HashMap$HashMapCollision1().init___I__sci_ListMap(hash, this.kvs$6.updated__O__O__sci_ListMap(key, value)) } else { var this$2 = this.kvs$6; var kv$1 = merger.apply__T2__T2__T2(new $c_T2().init___O__O(key, this.kvs$6.apply__O__O(key)), kv); return new $c_sci_HashMap$HashMapCollision1().init___I__sci_ListMap(hash, this$2.updated__O__O__sci_ListMap(kv$1.$$und1__O(), kv$1.$$und2__O())) } } else { var that = new $c_sci_HashMap$HashMap1().init___O__I__O__T2(key, hash, value, kv); return $m_sci_HashMap$().scala$collection$immutable$HashMap$$makeHashTrieMap__I__sci_HashMap__I__sci_HashMap__I__I__sci_HashMap$HashTrieMap(this.hash$6, this, hash, that, level, ((1 + this.kvs$6.size__I()) | 0)) } }); $c_sci_HashMap$HashMapCollision1.prototype.get0__O__I__I__s_Option = (function(key, hash, level) { return ((hash === this.hash$6) ? this.kvs$6.get__O__s_Option(key) : $m_s_None$()) }); $c_sci_HashMap$HashMapCollision1.prototype.foreach__F1__V = (function(f) { var this$1 = this.kvs$6; var this$2 = this$1.iterator__sc_Iterator(); $s_sc_Iterator$class__foreach__sc_Iterator__F1__V(this$2, f) }); $c_sci_HashMap$HashMapCollision1.prototype.removed0__O__I__I__sci_HashMap = (function(key, hash, level) { if ((hash === this.hash$6)) { var kvs1 = this.kvs$6.$$minus__O__sci_ListMap(key); var x1 = kvs1.size__I(); switch (x1) { case 0: { $m_sci_HashMap$(); return $m_sci_HashMap$EmptyHashMap$(); break } case 1: { var kv = $as_T2(kvs1.iterator__sc_Iterator().next__O()); return new $c_sci_HashMap$HashMap1().init___O__I__O__T2(kv.$$und1__O(), hash, kv.$$und2__O(), kv); break } default: { return ((x1 === this.kvs$6.size__I()) ? this : new $c_sci_HashMap$HashMapCollision1().init___I__sci_ListMap(hash, kvs1)) } } } else { return this } }); $c_sci_HashMap$HashMapCollision1.prototype.filter0__F1__Z__I__Asci_HashMap__I__sci_HashMap = (function(p, negate, level, buffer, offset0) { if (negate) { var this$1 = this.kvs$6; var kvs1 = $as_sci_ListMap($s_sc_MapLike$class__filterNot__sc_MapLike__F1__sc_Map(this$1, p)) } else { var this$2 = this.kvs$6; var kvs1 = $as_sci_ListMap($s_sc_TraversableLike$class__filterImpl__p0__sc_TraversableLike__F1__Z__O(this$2, p, false)) }; var x1 = kvs1.size__I(); switch (x1) { case 0: { return null; break } case 1: { var x1$2 = $as_T2(kvs1.iterator__sc_Iterator().next__O()); if ((x1$2 !== null)) { var k = x1$2.$$und1__O(); var v = x1$2.$$und2__O(); var x$1_$_$$und1$1 = x1$2; var x$1_$_$$und2$1 = k; var x$1_$_$$und3$1 = v } else { var x$1_$_$$und1$1; var x$1_$_$$und2$1; var x$1_$_$$und3$1; throw new $c_s_MatchError().init___O(x1$2) }; var kv = $as_T2(x$1_$_$$und1$1); var k$2 = x$1_$_$$und2$1; var v$2 = x$1_$_$$und3$1; return new $c_sci_HashMap$HashMap1().init___O__I__O__T2(k$2, this.hash$6, v$2, kv); break } default: { return ((x1 === this.kvs$6.size__I()) ? this : new $c_sci_HashMap$HashMapCollision1().init___I__sci_ListMap(this.hash$6, kvs1)) } } }); $c_sci_HashMap$HashMapCollision1.prototype.iterator__sc_Iterator = (function() { return this.kvs$6.iterator__sc_Iterator() }); $c_sci_HashMap$HashMapCollision1.prototype.size__I = (function() { return this.kvs$6.size__I() }); $c_sci_HashMap$HashMapCollision1.prototype.init___I__sci_ListMap = (function(hash, kvs) { this.hash$6 = hash; this.kvs$6 = kvs; return this }); var $d_sci_HashMap$HashMapCollision1 = new $TypeData().initClass({ sci_HashMap$HashMapCollision1: 0 }, false, "scala.collection.immutable.HashMap$HashMapCollision1", { sci_HashMap$HashMapCollision1: 1, sci_HashMap: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1, sc_CustomParallelizable: 1 }); $c_sci_HashMap$HashMapCollision1.prototype.$classData = $d_sci_HashMap$HashMapCollision1; /** @constructor */ function $c_sci_HashMap$HashTrieMap() { $c_sci_HashMap.call(this); this.bitmap$6 = 0; this.elems$6 = null; this.size0$6 = 0 } $c_sci_HashMap$HashTrieMap.prototype = new $h_sci_HashMap(); $c_sci_HashMap$HashTrieMap.prototype.constructor = $c_sci_HashMap$HashTrieMap; /** @constructor */ function $h_sci_HashMap$HashTrieMap() { /*<skip>*/ } $h_sci_HashMap$HashTrieMap.prototype = $c_sci_HashMap$HashTrieMap.prototype; $c_sci_HashMap$HashTrieMap.prototype.updated0__O__I__I__O__T2__sci_HashMap$Merger__sci_HashMap = (function(key, hash, level, value, kv, merger) { var index = (31 & ((hash >>> level) | 0)); var mask = (1 << index); var offset = $m_jl_Integer$().bitCount__I__I((this.bitmap$6 & (((-1) + mask) | 0))); if (((this.bitmap$6 & mask) !== 0)) { var sub = this.elems$6.u[offset]; var subNew = sub.updated0__O__I__I__O__T2__sci_HashMap$Merger__sci_HashMap(key, hash, ((5 + level) | 0), value, kv, merger); if ((subNew === sub)) { return this } else { var elemsNew = $newArrayObject($d_sci_HashMap.getArrayOf(), [this.elems$6.u.length]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$6, 0, elemsNew, 0, this.elems$6.u.length); elemsNew.u[offset] = subNew; return new $c_sci_HashMap$HashTrieMap().init___I__Asci_HashMap__I(this.bitmap$6, elemsNew, ((this.size0$6 + ((subNew.size__I() - sub.size__I()) | 0)) | 0)) } } else { var elemsNew$2 = $newArrayObject($d_sci_HashMap.getArrayOf(), [((1 + this.elems$6.u.length) | 0)]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$6, 0, elemsNew$2, 0, offset); elemsNew$2.u[offset] = new $c_sci_HashMap$HashMap1().init___O__I__O__T2(key, hash, value, kv); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$6, offset, elemsNew$2, ((1 + offset) | 0), ((this.elems$6.u.length - offset) | 0)); return new $c_sci_HashMap$HashTrieMap().init___I__Asci_HashMap__I((this.bitmap$6 | mask), elemsNew$2, ((1 + this.size0$6) | 0)) } }); $c_sci_HashMap$HashTrieMap.prototype.get0__O__I__I__s_Option = (function(key, hash, level) { var index = (31 & ((hash >>> level) | 0)); var mask = (1 << index); if ((this.bitmap$6 === (-1))) { return this.elems$6.u[(31 & index)].get0__O__I__I__s_Option(key, hash, ((5 + level) | 0)) } else if (((this.bitmap$6 & mask) !== 0)) { var offset = $m_jl_Integer$().bitCount__I__I((this.bitmap$6 & (((-1) + mask) | 0))); return this.elems$6.u[offset].get0__O__I__I__s_Option(key, hash, ((5 + level) | 0)) } else { return $m_s_None$() } }); $c_sci_HashMap$HashTrieMap.prototype.foreach__F1__V = (function(f) { var i = 0; while ((i < this.elems$6.u.length)) { this.elems$6.u[i].foreach__F1__V(f); i = ((1 + i) | 0) } }); $c_sci_HashMap$HashTrieMap.prototype.removed0__O__I__I__sci_HashMap = (function(key, hash, level) { var index = (31 & ((hash >>> level) | 0)); var mask = (1 << index); var offset = $m_jl_Integer$().bitCount__I__I((this.bitmap$6 & (((-1) + mask) | 0))); if (((this.bitmap$6 & mask) !== 0)) { var sub = this.elems$6.u[offset]; var subNew = sub.removed0__O__I__I__sci_HashMap(key, hash, ((5 + level) | 0)); if ((subNew === sub)) { return this } else if ($s_sc_MapLike$class__isEmpty__sc_MapLike__Z(subNew)) { var bitmapNew = (this.bitmap$6 ^ mask); if ((bitmapNew !== 0)) { var elemsNew = $newArrayObject($d_sci_HashMap.getArrayOf(), [(((-1) + this.elems$6.u.length) | 0)]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$6, 0, elemsNew, 0, offset); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$6, ((1 + offset) | 0), elemsNew, offset, (((-1) + ((this.elems$6.u.length - offset) | 0)) | 0)); var sizeNew = ((this.size0$6 - sub.size__I()) | 0); return (((elemsNew.u.length === 1) && (!$is_sci_HashMap$HashTrieMap(elemsNew.u[0]))) ? elemsNew.u[0] : new $c_sci_HashMap$HashTrieMap().init___I__Asci_HashMap__I(bitmapNew, elemsNew, sizeNew)) } else { $m_sci_HashMap$(); return $m_sci_HashMap$EmptyHashMap$() } } else if (((this.elems$6.u.length === 1) && (!$is_sci_HashMap$HashTrieMap(subNew)))) { return subNew } else { var elemsNew$2 = $newArrayObject($d_sci_HashMap.getArrayOf(), [this.elems$6.u.length]); $m_s_Array$().copy__O__I__O__I__I__V(this.elems$6, 0, elemsNew$2, 0, this.elems$6.u.length); elemsNew$2.u[offset] = subNew; var sizeNew$2 = ((this.size0$6 + ((subNew.size__I() - sub.size__I()) | 0)) | 0); return new $c_sci_HashMap$HashTrieMap().init___I__Asci_HashMap__I(this.bitmap$6, elemsNew$2, sizeNew$2) } } else { return this } }); $c_sci_HashMap$HashTrieMap.prototype.filter0__F1__Z__I__Asci_HashMap__I__sci_HashMap = (function(p, negate, level, buffer, offset0) { var offset = offset0; var rs = 0; var kept = 0; var i = 0; while ((i < this.elems$6.u.length)) { var result = this.elems$6.u[i].filter0__F1__Z__I__Asci_HashMap__I__sci_HashMap(p, negate, ((5 + level) | 0), buffer, offset); if ((result !== null)) { buffer.u[offset] = result; offset = ((1 + offset) | 0); rs = ((rs + result.size__I()) | 0); kept = (kept | (1 << i)) }; i = ((1 + i) | 0) }; if ((offset === offset0)) { return null } else if ((rs === this.size0$6)) { return this } else if (((offset === ((1 + offset0) | 0)) && (!$is_sci_HashMap$HashTrieMap(buffer.u[offset0])))) { return buffer.u[offset0] } else { var length = ((offset - offset0) | 0); var elems1 = $newArrayObject($d_sci_HashMap.getArrayOf(), [length]); $systemArraycopy(buffer, offset0, elems1, 0, length); var bitmap1 = ((length === this.elems$6.u.length) ? this.bitmap$6 : $m_sci_HashMap$().scala$collection$immutable$HashMap$$keepBits__I__I__I(this.bitmap$6, kept)); return new $c_sci_HashMap$HashTrieMap().init___I__Asci_HashMap__I(bitmap1, elems1, rs) } }); $c_sci_HashMap$HashTrieMap.prototype.iterator__sc_Iterator = (function() { return new $c_sci_HashMap$HashTrieMap$$anon$1().init___sci_HashMap$HashTrieMap(this) }); $c_sci_HashMap$HashTrieMap.prototype.size__I = (function() { return this.size0$6 }); $c_sci_HashMap$HashTrieMap.prototype.init___I__Asci_HashMap__I = (function(bitmap, elems, size0) { this.bitmap$6 = bitmap; this.elems$6 = elems; this.size0$6 = size0; return this }); function $is_sci_HashMap$HashTrieMap(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_HashMap$HashTrieMap))) } function $as_sci_HashMap$HashTrieMap(obj) { return (($is_sci_HashMap$HashTrieMap(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.HashMap$HashTrieMap")) } function $isArrayOf_sci_HashMap$HashTrieMap(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_HashMap$HashTrieMap))) } function $asArrayOf_sci_HashMap$HashTrieMap(obj, depth) { return (($isArrayOf_sci_HashMap$HashTrieMap(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.HashMap$HashTrieMap;", depth)) } var $d_sci_HashMap$HashTrieMap = new $TypeData().initClass({ sci_HashMap$HashTrieMap: 0 }, false, "scala.collection.immutable.HashMap$HashTrieMap", { sci_HashMap$HashTrieMap: 1, sci_HashMap: 1, sci_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, sci_Map: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sci_MapLike: 1, s_Serializable: 1, Ljava_io_Serializable: 1, sc_CustomParallelizable: 1 }); $c_sci_HashMap$HashTrieMap.prototype.$classData = $d_sci_HashMap$HashTrieMap; /** @constructor */ function $c_sci_Range$Inclusive() { $c_sci_Range.call(this) } $c_sci_Range$Inclusive.prototype = new $h_sci_Range(); $c_sci_Range$Inclusive.prototype.constructor = $c_sci_Range$Inclusive; /** @constructor */ function $h_sci_Range$Inclusive() { /*<skip>*/ } $h_sci_Range$Inclusive.prototype = $c_sci_Range$Inclusive.prototype; $c_sci_Range$Inclusive.prototype.isInclusive__Z = (function() { return true }); $c_sci_Range$Inclusive.prototype.init___I__I__I = (function(start, end, step) { $c_sci_Range.prototype.init___I__I__I.call(this, start, end, step); return this }); $c_sci_Range$Inclusive.prototype.copy__I__I__I__sci_Range = (function(start, end, step) { return new $c_sci_Range$Inclusive().init___I__I__I(start, end, step) }); var $d_sci_Range$Inclusive = new $TypeData().initClass({ sci_Range$Inclusive: 0 }, false, "scala.collection.immutable.Range$Inclusive", { sci_Range$Inclusive: 1, sci_Range: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, sci_IndexedSeq: 1, sci_Seq: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Range$Inclusive.prototype.$classData = $d_sci_Range$Inclusive; /** @constructor */ function $c_sci_Stream$Cons() { $c_sci_Stream.call(this); this.hd$5 = null; this.tlVal$5 = null; this.tlGen$5 = null } $c_sci_Stream$Cons.prototype = new $h_sci_Stream(); $c_sci_Stream$Cons.prototype.constructor = $c_sci_Stream$Cons; /** @constructor */ function $h_sci_Stream$Cons() { /*<skip>*/ } $h_sci_Stream$Cons.prototype = $c_sci_Stream$Cons.prototype; $c_sci_Stream$Cons.prototype.head__O = (function() { return this.hd$5 }); $c_sci_Stream$Cons.prototype.tail__sci_Stream = (function() { if ((!this.tailDefined__Z())) { if ((!this.tailDefined__Z())) { this.tlVal$5 = $as_sci_Stream(this.tlGen$5.apply__O()); this.tlGen$5 = null } }; return this.tlVal$5 }); $c_sci_Stream$Cons.prototype.tailDefined__Z = (function() { return (this.tlGen$5 === null) }); $c_sci_Stream$Cons.prototype.isEmpty__Z = (function() { return false }); $c_sci_Stream$Cons.prototype.tail__O = (function() { return this.tail__sci_Stream() }); $c_sci_Stream$Cons.prototype.init___O__F0 = (function(hd, tl) { this.hd$5 = hd; this.tlGen$5 = tl; return this }); var $d_sci_Stream$Cons = new $TypeData().initClass({ sci_Stream$Cons: 0 }, false, "scala.collection.immutable.Stream$Cons", { sci_Stream$Cons: 1, sci_Stream: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, sci_LinearSeq: 1, sci_Seq: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_LinearSeq: 1, sc_LinearSeqLike: 1, sc_LinearSeqOptimized: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Stream$Cons.prototype.$classData = $d_sci_Stream$Cons; /** @constructor */ function $c_sci_Stream$Empty$() { $c_sci_Stream.call(this) } $c_sci_Stream$Empty$.prototype = new $h_sci_Stream(); $c_sci_Stream$Empty$.prototype.constructor = $c_sci_Stream$Empty$; /** @constructor */ function $h_sci_Stream$Empty$() { /*<skip>*/ } $h_sci_Stream$Empty$.prototype = $c_sci_Stream$Empty$.prototype; $c_sci_Stream$Empty$.prototype.init___ = (function() { return this }); $c_sci_Stream$Empty$.prototype.head__O = (function() { this.head__sr_Nothing$() }); $c_sci_Stream$Empty$.prototype.tailDefined__Z = (function() { return false }); $c_sci_Stream$Empty$.prototype.isEmpty__Z = (function() { return true }); $c_sci_Stream$Empty$.prototype.tail__sr_Nothing$ = (function() { throw new $c_jl_UnsupportedOperationException().init___T("tail of empty stream") }); $c_sci_Stream$Empty$.prototype.head__sr_Nothing$ = (function() { throw new $c_ju_NoSuchElementException().init___T("head of empty stream") }); $c_sci_Stream$Empty$.prototype.tail__O = (function() { this.tail__sr_Nothing$() }); var $d_sci_Stream$Empty$ = new $TypeData().initClass({ sci_Stream$Empty$: 0 }, false, "scala.collection.immutable.Stream$Empty$", { sci_Stream$Empty$: 1, sci_Stream: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, sci_LinearSeq: 1, sci_Seq: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_LinearSeq: 1, sc_LinearSeqLike: 1, sc_LinearSeqOptimized: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sci_Stream$Empty$.prototype.$classData = $d_sci_Stream$Empty$; var $n_sci_Stream$Empty$ = (void 0); function $m_sci_Stream$Empty$() { if ((!$n_sci_Stream$Empty$)) { $n_sci_Stream$Empty$ = new $c_sci_Stream$Empty$().init___() }; return $n_sci_Stream$Empty$ } /** @constructor */ function $c_sci_Vector() { $c_sc_AbstractSeq.call(this); this.startIndex$4 = 0; this.endIndex$4 = 0; this.focus$4 = 0; this.dirty$4 = false; this.depth$4 = 0; this.display0$4 = null; this.display1$4 = null; this.display2$4 = null; this.display3$4 = null; this.display4$4 = null; this.display5$4 = null } $c_sci_Vector.prototype = new $h_sc_AbstractSeq(); $c_sci_Vector.prototype.constructor = $c_sci_Vector; /** @constructor */ function $h_sci_Vector() { /*<skip>*/ } $h_sci_Vector.prototype = $c_sci_Vector.prototype; $c_sci_Vector.prototype.checkRangeConvert__p4__I__I = (function(index) { var idx = ((index + this.startIndex$4) | 0); if (((index >= 0) && (idx < this.endIndex$4))) { return idx } else { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + index)) } }); $c_sci_Vector.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_Vector.prototype.display3__AO = (function() { return this.display3$4 }); $c_sci_Vector.prototype.gotoPosWritable__p4__I__I__I__V = (function(oldIndex, newIndex, xor) { if (this.dirty$4) { $s_sci_VectorPointer$class__gotoPosWritable1__sci_VectorPointer__I__I__I__V(this, oldIndex, newIndex, xor) } else { $s_sci_VectorPointer$class__gotoPosWritable0__sci_VectorPointer__I__I__V(this, newIndex, xor); this.dirty$4 = true } }); $c_sci_Vector.prototype.head__O = (function() { if ($s_sc_SeqLike$class__isEmpty__sc_SeqLike__Z(this)) { throw new $c_jl_UnsupportedOperationException().init___T("empty.head") }; return this.apply__I__O(0) }); $c_sci_Vector.prototype.apply__I__O = (function(index) { var idx = this.checkRangeConvert__p4__I__I(index); var xor = (idx ^ this.focus$4); return $s_sci_VectorPointer$class__getElem__sci_VectorPointer__I__I__O(this, idx, xor) }); $c_sci_Vector.prototype.depth__I = (function() { return this.depth$4 }); $c_sci_Vector.prototype.lengthCompare__I__I = (function(len) { return ((this.length__I() - len) | 0) }); $c_sci_Vector.prototype.apply__O__O = (function(v1) { return this.apply__I__O($uI(v1)) }); $c_sci_Vector.prototype.take__I__sci_Vector = (function(n) { if ((n <= 0)) { var this$1 = $m_sci_Vector$(); return this$1.NIL$6 } else { return ((this.startIndex$4 < ((this.endIndex$4 - n) | 0)) ? this.dropBack0__p4__I__sci_Vector(((this.startIndex$4 + n) | 0)) : this) } }); $c_sci_Vector.prototype.initIterator__sci_VectorIterator__V = (function(s) { var depth = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s, this, depth); if (this.dirty$4) { var index = this.focus$4; $s_sci_VectorPointer$class__stabilize__sci_VectorPointer__I__V(s, index) }; if ((s.depth$2 > 1)) { var index$1 = this.startIndex$4; var xor = (this.startIndex$4 ^ this.focus$4); $s_sci_VectorPointer$class__gotoPos__sci_VectorPointer__I__I__V(s, index$1, xor) } }); $c_sci_Vector.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_Vector.prototype.init___I__I__I = (function(startIndex, endIndex, focus) { this.startIndex$4 = startIndex; this.endIndex$4 = endIndex; this.focus$4 = focus; this.dirty$4 = false; return this }); $c_sci_Vector.prototype.init__sci_Vector = (function() { if ($s_sc_SeqLike$class__isEmpty__sc_SeqLike__Z(this)) { throw new $c_jl_UnsupportedOperationException().init___T("empty.init") }; return this.dropRight__I__sci_Vector(1) }); $c_sci_Vector.prototype.display5$und$eq__AO__V = (function(x$1) { this.display5$4 = x$1 }); $c_sci_Vector.prototype.$$colon$plus__O__scg_CanBuildFrom__O = (function(elem, bf) { return ((((bf === ($m_sci_IndexedSeq$(), $m_sc_IndexedSeq$().ReusableCBF$6)) || (bf === $m_sci_Seq$().ReusableCBFInstance$2)) || (bf === $m_sc_Seq$().ReusableCBFInstance$2)) ? this.appendBack__O__sci_Vector(elem) : $s_sc_SeqLike$class__$$colon$plus__sc_SeqLike__O__scg_CanBuildFrom__O(this, elem, bf)) }); $c_sci_Vector.prototype.init__O = (function() { return this.init__sci_Vector() }); $c_sci_Vector.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_Vector$() }); $c_sci_Vector.prototype.cleanLeftEdge__p4__I__V = (function(cutIndex) { if ((cutIndex < 32)) { this.zeroLeft__p4__AO__I__V(this.display0$4, cutIndex) } else if ((cutIndex < 1024)) { this.zeroLeft__p4__AO__I__V(this.display0$4, (31 & cutIndex)); this.display1$4 = this.copyRight__p4__AO__I__AO(this.display1$4, ((cutIndex >>> 5) | 0)) } else if ((cutIndex < 32768)) { this.zeroLeft__p4__AO__I__V(this.display0$4, (31 & cutIndex)); this.display1$4 = this.copyRight__p4__AO__I__AO(this.display1$4, (31 & ((cutIndex >>> 5) | 0))); this.display2$4 = this.copyRight__p4__AO__I__AO(this.display2$4, ((cutIndex >>> 10) | 0)) } else if ((cutIndex < 1048576)) { this.zeroLeft__p4__AO__I__V(this.display0$4, (31 & cutIndex)); this.display1$4 = this.copyRight__p4__AO__I__AO(this.display1$4, (31 & ((cutIndex >>> 5) | 0))); this.display2$4 = this.copyRight__p4__AO__I__AO(this.display2$4, (31 & ((cutIndex >>> 10) | 0))); this.display3$4 = this.copyRight__p4__AO__I__AO(this.display3$4, ((cutIndex >>> 15) | 0)) } else if ((cutIndex < 33554432)) { this.zeroLeft__p4__AO__I__V(this.display0$4, (31 & cutIndex)); this.display1$4 = this.copyRight__p4__AO__I__AO(this.display1$4, (31 & ((cutIndex >>> 5) | 0))); this.display2$4 = this.copyRight__p4__AO__I__AO(this.display2$4, (31 & ((cutIndex >>> 10) | 0))); this.display3$4 = this.copyRight__p4__AO__I__AO(this.display3$4, (31 & ((cutIndex >>> 15) | 0))); this.display4$4 = this.copyRight__p4__AO__I__AO(this.display4$4, ((cutIndex >>> 20) | 0)) } else if ((cutIndex < 1073741824)) { this.zeroLeft__p4__AO__I__V(this.display0$4, (31 & cutIndex)); this.display1$4 = this.copyRight__p4__AO__I__AO(this.display1$4, (31 & ((cutIndex >>> 5) | 0))); this.display2$4 = this.copyRight__p4__AO__I__AO(this.display2$4, (31 & ((cutIndex >>> 10) | 0))); this.display3$4 = this.copyRight__p4__AO__I__AO(this.display3$4, (31 & ((cutIndex >>> 15) | 0))); this.display4$4 = this.copyRight__p4__AO__I__AO(this.display4$4, (31 & ((cutIndex >>> 20) | 0))); this.display5$4 = this.copyRight__p4__AO__I__AO(this.display5$4, ((cutIndex >>> 25) | 0)) } else { throw new $c_jl_IllegalArgumentException().init___() } }); $c_sci_Vector.prototype.display0__AO = (function() { return this.display0$4 }); $c_sci_Vector.prototype.display2$und$eq__AO__V = (function(x$1) { this.display2$4 = x$1 }); $c_sci_Vector.prototype.display4__AO = (function() { return this.display4$4 }); $c_sci_Vector.prototype.shiftTopLevel__p4__I__I__V = (function(oldLeft, newLeft) { var x1 = (((-1) + this.depth$4) | 0); switch (x1) { case 0: { var array = this.display0$4; this.display0$4 = $s_sci_VectorPointer$class__copyRange__sci_VectorPointer__AO__I__I__AO(this, array, oldLeft, newLeft); break } case 1: { var array$1 = this.display1$4; this.display1$4 = $s_sci_VectorPointer$class__copyRange__sci_VectorPointer__AO__I__I__AO(this, array$1, oldLeft, newLeft); break } case 2: { var array$2 = this.display2$4; this.display2$4 = $s_sci_VectorPointer$class__copyRange__sci_VectorPointer__AO__I__I__AO(this, array$2, oldLeft, newLeft); break } case 3: { var array$3 = this.display3$4; this.display3$4 = $s_sci_VectorPointer$class__copyRange__sci_VectorPointer__AO__I__I__AO(this, array$3, oldLeft, newLeft); break } case 4: { var array$4 = this.display4$4; this.display4$4 = $s_sci_VectorPointer$class__copyRange__sci_VectorPointer__AO__I__I__AO(this, array$4, oldLeft, newLeft); break } case 5: { var array$5 = this.display5$4; this.display5$4 = $s_sci_VectorPointer$class__copyRange__sci_VectorPointer__AO__I__I__AO(this, array$5, oldLeft, newLeft); break } default: { throw new $c_s_MatchError().init___O(x1) } } }); $c_sci_Vector.prototype.tail__sci_Vector = (function() { if ($s_sc_SeqLike$class__isEmpty__sc_SeqLike__Z(this)) { throw new $c_jl_UnsupportedOperationException().init___T("empty.tail") }; return this.drop__I__sci_Vector(1) }); $c_sci_Vector.prototype.toVector__sci_Vector = (function() { return this }); $c_sci_Vector.prototype.appendBack__O__sci_Vector = (function(value) { if ((this.endIndex$4 !== this.startIndex$4)) { var blockIndex = ((-32) & this.endIndex$4); var lo = (31 & this.endIndex$4); if ((this.endIndex$4 !== blockIndex)) { var s = new $c_sci_Vector().init___I__I__I(this.startIndex$4, ((1 + this.endIndex$4) | 0), blockIndex); var depth = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s, this, depth); s.dirty$4 = this.dirty$4; s.gotoPosWritable__p4__I__I__I__V(this.focus$4, blockIndex, (this.focus$4 ^ blockIndex)); s.display0$4.u[lo] = value; return s } else { var shift = (this.startIndex$4 & (~(((-1) + (1 << $imul(5, (((-1) + this.depth$4) | 0)))) | 0))); var shiftBlocks = ((this.startIndex$4 >>> $imul(5, (((-1) + this.depth$4) | 0))) | 0); if ((shift !== 0)) { $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(this); if ((this.depth$4 > 1)) { var newBlockIndex = ((blockIndex - shift) | 0); var newFocus = ((this.focus$4 - shift) | 0); var s$2 = new $c_sci_Vector().init___I__I__I(((this.startIndex$4 - shift) | 0), ((((1 + this.endIndex$4) | 0) - shift) | 0), newBlockIndex); var depth$1 = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s$2, this, depth$1); s$2.dirty$4 = this.dirty$4; s$2.shiftTopLevel__p4__I__I__V(shiftBlocks, 0); $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(s$2); s$2.gotoFreshPosWritable__p4__I__I__I__V(newFocus, newBlockIndex, (newFocus ^ newBlockIndex)); s$2.display0$4.u[lo] = value; $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(s$2); return s$2 } else { var newBlockIndex$2 = (((-32) + blockIndex) | 0); var newFocus$2 = this.focus$4; var s$3 = new $c_sci_Vector().init___I__I__I(((this.startIndex$4 - shift) | 0), ((((1 + this.endIndex$4) | 0) - shift) | 0), newBlockIndex$2); var depth$2 = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s$3, this, depth$2); s$3.dirty$4 = this.dirty$4; s$3.shiftTopLevel__p4__I__I__V(shiftBlocks, 0); s$3.gotoPosWritable__p4__I__I__I__V(newFocus$2, newBlockIndex$2, (newFocus$2 ^ newBlockIndex$2)); s$3.display0$4.u[((32 - shift) | 0)] = value; $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(s$3); return s$3 } } else { var newFocus$3 = this.focus$4; var s$4 = new $c_sci_Vector().init___I__I__I(this.startIndex$4, ((1 + this.endIndex$4) | 0), blockIndex); var depth$3 = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s$4, this, depth$3); s$4.dirty$4 = this.dirty$4; s$4.gotoFreshPosWritable__p4__I__I__I__V(newFocus$3, blockIndex, (newFocus$3 ^ blockIndex)); s$4.display0$4.u[lo] = value; if ((s$4.depth$4 === ((1 + this.depth$4) | 0))) { $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(s$4) }; return s$4 } } } else { var elems = $newArrayObject($d_O.getArrayOf(), [32]); elems.u[0] = value; var s$5 = new $c_sci_Vector().init___I__I__I(0, 1, 0); s$5.depth$4 = 1; s$5.display0$4 = elems; return s$5 } }); $c_sci_Vector.prototype.cleanRightEdge__p4__I__V = (function(cutIndex) { if ((cutIndex <= 32)) { this.zeroRight__p4__AO__I__V(this.display0$4, cutIndex) } else if ((cutIndex <= 1024)) { this.zeroRight__p4__AO__I__V(this.display0$4, ((1 + (31 & (((-1) + cutIndex) | 0))) | 0)); this.display1$4 = this.copyLeft__p4__AO__I__AO(this.display1$4, ((cutIndex >>> 5) | 0)) } else if ((cutIndex <= 32768)) { this.zeroRight__p4__AO__I__V(this.display0$4, ((1 + (31 & (((-1) + cutIndex) | 0))) | 0)); this.display1$4 = this.copyLeft__p4__AO__I__AO(this.display1$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 5) | 0))) | 0)); this.display2$4 = this.copyLeft__p4__AO__I__AO(this.display2$4, ((cutIndex >>> 10) | 0)) } else if ((cutIndex <= 1048576)) { this.zeroRight__p4__AO__I__V(this.display0$4, ((1 + (31 & (((-1) + cutIndex) | 0))) | 0)); this.display1$4 = this.copyLeft__p4__AO__I__AO(this.display1$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 5) | 0))) | 0)); this.display2$4 = this.copyLeft__p4__AO__I__AO(this.display2$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 10) | 0))) | 0)); this.display3$4 = this.copyLeft__p4__AO__I__AO(this.display3$4, ((cutIndex >>> 15) | 0)) } else if ((cutIndex <= 33554432)) { this.zeroRight__p4__AO__I__V(this.display0$4, ((1 + (31 & (((-1) + cutIndex) | 0))) | 0)); this.display1$4 = this.copyLeft__p4__AO__I__AO(this.display1$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 5) | 0))) | 0)); this.display2$4 = this.copyLeft__p4__AO__I__AO(this.display2$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 10) | 0))) | 0)); this.display3$4 = this.copyLeft__p4__AO__I__AO(this.display3$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 15) | 0))) | 0)); this.display4$4 = this.copyLeft__p4__AO__I__AO(this.display4$4, ((cutIndex >>> 20) | 0)) } else if ((cutIndex <= 1073741824)) { this.zeroRight__p4__AO__I__V(this.display0$4, ((1 + (31 & (((-1) + cutIndex) | 0))) | 0)); this.display1$4 = this.copyLeft__p4__AO__I__AO(this.display1$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 5) | 0))) | 0)); this.display2$4 = this.copyLeft__p4__AO__I__AO(this.display2$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 10) | 0))) | 0)); this.display3$4 = this.copyLeft__p4__AO__I__AO(this.display3$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 15) | 0))) | 0)); this.display4$4 = this.copyLeft__p4__AO__I__AO(this.display4$4, ((1 + (31 & (((((-1) + cutIndex) | 0) >>> 20) | 0))) | 0)); this.display5$4 = this.copyLeft__p4__AO__I__AO(this.display5$4, ((cutIndex >>> 25) | 0)) } else { throw new $c_jl_IllegalArgumentException().init___() } }); $c_sci_Vector.prototype.preClean__p4__I__V = (function(depth) { this.depth$4 = depth; var x1 = (((-1) + depth) | 0); switch (x1) { case 0: { this.display1$4 = null; this.display2$4 = null; this.display3$4 = null; this.display4$4 = null; this.display5$4 = null; break } case 1: { this.display2$4 = null; this.display3$4 = null; this.display4$4 = null; this.display5$4 = null; break } case 2: { this.display3$4 = null; this.display4$4 = null; this.display5$4 = null; break } case 3: { this.display4$4 = null; this.display5$4 = null; break } case 4: { this.display5$4 = null; break } case 5: { break } default: { throw new $c_s_MatchError().init___O(x1) } } }); $c_sci_Vector.prototype.$$plus$colon__O__scg_CanBuildFrom__O = (function(elem, bf) { return ((((bf === ($m_sci_IndexedSeq$(), $m_sc_IndexedSeq$().ReusableCBF$6)) || (bf === $m_sci_Seq$().ReusableCBFInstance$2)) || (bf === $m_sc_Seq$().ReusableCBFInstance$2)) ? this.appendFront__O__sci_Vector(elem) : $s_sc_SeqLike$class__$$plus$colon__sc_SeqLike__O__scg_CanBuildFrom__O(this, elem, bf)) }); $c_sci_Vector.prototype.iterator__sc_Iterator = (function() { return this.iterator__sci_VectorIterator() }); $c_sci_Vector.prototype.display1$und$eq__AO__V = (function(x$1) { this.display1$4 = x$1 }); $c_sci_Vector.prototype.zeroRight__p4__AO__I__V = (function(array, index) { var i = index; while ((i < array.u.length)) { array.u[i] = null; i = ((1 + i) | 0) } }); $c_sci_Vector.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) { if ((((bf === ($m_sci_IndexedSeq$(), $m_sc_IndexedSeq$().ReusableCBF$6)) || (bf === $m_sci_Seq$().ReusableCBFInstance$2)) || (bf === $m_sc_Seq$().ReusableCBFInstance$2))) { if (that.isEmpty__Z()) { return this } else { var again = ((!that.isTraversableAgain__Z()) ? that.toVector__sci_Vector() : that.seq__sc_TraversableOnce()); var x1 = again.size__I(); switch (x1) { default: { if (((x1 <= 2) || (x1 < (this.length__I() >> 5)))) { var v = new $c_sr_ObjectRef().init___O(this); again.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, v$1) { return (function(x$2) { v$1.elem$1 = $as_sci_Vector($as_sci_Vector(v$1.elem$1).$$colon$plus__O__scg_CanBuildFrom__O(x$2, ($m_sci_Vector$(), $m_sc_IndexedSeq$().ReusableCBF$6))) }) })(this, v))); return $as_sci_Vector(v.elem$1) } else if (((this.length__I() < (x1 >> 5)) && $is_sci_Vector(again))) { var v$2 = $as_sci_Vector(again); var ri = new $c_sci_Vector$$anon$1().init___sci_Vector(this); while (ri.hasNext__Z()) { var x$1 = ri.next__O(); v$2 = $as_sci_Vector(v$2.$$plus$colon__O__scg_CanBuildFrom__O(x$1, ($m_sci_Vector$(), $m_sc_IndexedSeq$().ReusableCBF$6))) }; return v$2 } else { return $s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, again, bf) } } } } } else { return $s_sc_TraversableLike$class__$$plus$plus__sc_TraversableLike__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, that.seq__sc_TraversableOnce(), bf) } }); $c_sci_Vector.prototype.length__I = (function() { return ((this.endIndex$4 - this.startIndex$4) | 0) }); $c_sci_Vector.prototype.seq__sc_Seq = (function() { return this }); $c_sci_Vector.prototype.display4$und$eq__AO__V = (function(x$1) { this.display4$4 = x$1 }); $c_sci_Vector.prototype.gotoFreshPosWritable__p4__I__I__I__V = (function(oldIndex, newIndex, xor) { if (this.dirty$4) { $s_sci_VectorPointer$class__gotoFreshPosWritable1__sci_VectorPointer__I__I__I__V(this, oldIndex, newIndex, xor) } else { $s_sci_VectorPointer$class__gotoFreshPosWritable0__sci_VectorPointer__I__I__I__V(this, oldIndex, newIndex, xor); this.dirty$4 = true } }); $c_sci_Vector.prototype.dropRight__I__sci_Vector = (function(n) { if ((n <= 0)) { return this } else if ((((this.endIndex$4 - n) | 0) > this.startIndex$4)) { return this.dropBack0__p4__I__sci_Vector(((this.endIndex$4 - n) | 0)) } else { var this$1 = $m_sci_Vector$(); return this$1.NIL$6 } }); $c_sci_Vector.prototype.display1__AO = (function() { return this.display1$4 }); $c_sci_Vector.prototype.take__I__O = (function(n) { return this.take__I__sci_Vector(n) }); $c_sci_Vector.prototype.last__O = (function() { if ($s_sc_SeqLike$class__isEmpty__sc_SeqLike__Z(this)) { throw new $c_jl_UnsupportedOperationException().init___T("empty.last") }; return this.apply__I__O((((-1) + this.length__I()) | 0)) }); $c_sci_Vector.prototype.drop__I__O = (function(n) { return this.drop__I__sci_Vector(n) }); $c_sci_Vector.prototype.display5__AO = (function() { return this.display5$4 }); $c_sci_Vector.prototype.tail__O = (function() { return this.tail__sci_Vector() }); $c_sci_Vector.prototype.thisCollection__sc_Seq = (function() { return this }); $c_sci_Vector.prototype.requiredDepth__p4__I__I = (function(xor) { if ((xor < 32)) { return 1 } else if ((xor < 1024)) { return 2 } else if ((xor < 32768)) { return 3 } else if ((xor < 1048576)) { return 4 } else if ((xor < 33554432)) { return 5 } else if ((xor < 1073741824)) { return 6 } else { throw new $c_jl_IllegalArgumentException().init___() } }); $c_sci_Vector.prototype.iterator__sci_VectorIterator = (function() { var s = new $c_sci_VectorIterator().init___I__I(this.startIndex$4, this.endIndex$4); this.initIterator__sci_VectorIterator__V(s); return s }); $c_sci_Vector.prototype.isDefinedAt__O__Z = (function(x) { var idx = $uI(x); return $s_sc_GenSeqLike$class__isDefinedAt__sc_GenSeqLike__I__Z(this, idx) }); $c_sci_Vector.prototype.dropBack0__p4__I__sci_Vector = (function(cutIndex) { var blockIndex = ((-32) & (((-1) + cutIndex) | 0)); var xor = (this.startIndex$4 ^ (((-1) + cutIndex) | 0)); var d = this.requiredDepth__p4__I__I(xor); var shift = (this.startIndex$4 & (~(((-1) + (1 << $imul(5, d))) | 0))); var s = new $c_sci_Vector().init___I__I__I(((this.startIndex$4 - shift) | 0), ((cutIndex - shift) | 0), ((blockIndex - shift) | 0)); var depth = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s, this, depth); s.dirty$4 = this.dirty$4; s.gotoPosWritable__p4__I__I__I__V(this.focus$4, blockIndex, (this.focus$4 ^ blockIndex)); s.preClean__p4__I__V(d); s.cleanRightEdge__p4__I__V(((cutIndex - shift) | 0)); return s }); $c_sci_Vector.prototype.zeroLeft__p4__AO__I__V = (function(array, index) { var i = 0; while ((i < index)) { array.u[i] = null; i = ((1 + i) | 0) } }); $c_sci_Vector.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) }); $c_sci_Vector.prototype.depth$und$eq__I__V = (function(x$1) { this.depth$4 = x$1 }); $c_sci_Vector.prototype.display2__AO = (function() { return this.display2$4 }); $c_sci_Vector.prototype.dropFront0__p4__I__sci_Vector = (function(cutIndex) { var blockIndex = ((-32) & cutIndex); var xor = (cutIndex ^ (((-1) + this.endIndex$4) | 0)); var d = this.requiredDepth__p4__I__I(xor); var shift = (cutIndex & (~(((-1) + (1 << $imul(5, d))) | 0))); var s = new $c_sci_Vector().init___I__I__I(((cutIndex - shift) | 0), ((this.endIndex$4 - shift) | 0), ((blockIndex - shift) | 0)); var depth = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s, this, depth); s.dirty$4 = this.dirty$4; s.gotoPosWritable__p4__I__I__I__V(this.focus$4, blockIndex, (this.focus$4 ^ blockIndex)); s.preClean__p4__I__V(d); s.cleanLeftEdge__p4__I__V(((cutIndex - shift) | 0)); return s }); $c_sci_Vector.prototype.display0$und$eq__AO__V = (function(x$1) { this.display0$4 = x$1 }); $c_sci_Vector.prototype.appendFront__O__sci_Vector = (function(value) { if ((this.endIndex$4 !== this.startIndex$4)) { var blockIndex = ((-32) & (((-1) + this.startIndex$4) | 0)); var lo = (31 & (((-1) + this.startIndex$4) | 0)); if ((this.startIndex$4 !== ((32 + blockIndex) | 0))) { var s = new $c_sci_Vector().init___I__I__I((((-1) + this.startIndex$4) | 0), this.endIndex$4, blockIndex); var depth = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s, this, depth); s.dirty$4 = this.dirty$4; s.gotoPosWritable__p4__I__I__I__V(this.focus$4, blockIndex, (this.focus$4 ^ blockIndex)); s.display0$4.u[lo] = value; return s } else { var freeSpace = (((1 << $imul(5, this.depth$4)) - this.endIndex$4) | 0); var shift = (freeSpace & (~(((-1) + (1 << $imul(5, (((-1) + this.depth$4) | 0)))) | 0))); var shiftBlocks = ((freeSpace >>> $imul(5, (((-1) + this.depth$4) | 0))) | 0); if ((shift !== 0)) { $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(this); if ((this.depth$4 > 1)) { var newBlockIndex = ((blockIndex + shift) | 0); var newFocus = ((this.focus$4 + shift) | 0); var s$2 = new $c_sci_Vector().init___I__I__I((((((-1) + this.startIndex$4) | 0) + shift) | 0), ((this.endIndex$4 + shift) | 0), newBlockIndex); var depth$1 = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s$2, this, depth$1); s$2.dirty$4 = this.dirty$4; s$2.shiftTopLevel__p4__I__I__V(0, shiftBlocks); $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(s$2); s$2.gotoFreshPosWritable__p4__I__I__I__V(newFocus, newBlockIndex, (newFocus ^ newBlockIndex)); s$2.display0$4.u[lo] = value; return s$2 } else { var newBlockIndex$2 = ((32 + blockIndex) | 0); var newFocus$2 = this.focus$4; var s$3 = new $c_sci_Vector().init___I__I__I((((((-1) + this.startIndex$4) | 0) + shift) | 0), ((this.endIndex$4 + shift) | 0), newBlockIndex$2); var depth$2 = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s$3, this, depth$2); s$3.dirty$4 = this.dirty$4; s$3.shiftTopLevel__p4__I__I__V(0, shiftBlocks); s$3.gotoPosWritable__p4__I__I__I__V(newFocus$2, newBlockIndex$2, (newFocus$2 ^ newBlockIndex$2)); s$3.display0$4.u[(((-1) + shift) | 0)] = value; $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(s$3); return s$3 } } else if ((blockIndex < 0)) { var move = (((1 << $imul(5, ((1 + this.depth$4) | 0))) - (1 << $imul(5, this.depth$4))) | 0); var newBlockIndex$3 = ((blockIndex + move) | 0); var newFocus$3 = ((this.focus$4 + move) | 0); var s$4 = new $c_sci_Vector().init___I__I__I((((((-1) + this.startIndex$4) | 0) + move) | 0), ((this.endIndex$4 + move) | 0), newBlockIndex$3); var depth$3 = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s$4, this, depth$3); s$4.dirty$4 = this.dirty$4; $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(s$4); s$4.gotoFreshPosWritable__p4__I__I__I__V(newFocus$3, newBlockIndex$3, (newFocus$3 ^ newBlockIndex$3)); s$4.display0$4.u[lo] = value; $s_sci_VectorPointer$class__debug__sci_VectorPointer__V(s$4); return s$4 } else { var newFocus$4 = this.focus$4; var s$5 = new $c_sci_Vector().init___I__I__I((((-1) + this.startIndex$4) | 0), this.endIndex$4, blockIndex); var depth$4 = this.depth$4; $s_sci_VectorPointer$class__initFrom__sci_VectorPointer__sci_VectorPointer__I__V(s$5, this, depth$4); s$5.dirty$4 = this.dirty$4; s$5.gotoFreshPosWritable__p4__I__I__I__V(newFocus$4, blockIndex, (newFocus$4 ^ blockIndex)); s$5.display0$4.u[lo] = value; return s$5 } } } else { var elems = $newArrayObject($d_O.getArrayOf(), [32]); elems.u[31] = value; var s$6 = new $c_sci_Vector().init___I__I__I(31, 32, 0); s$6.depth$4 = 1; s$6.display0$4 = elems; return s$6 } }); $c_sci_Vector.prototype.drop__I__sci_Vector = (function(n) { if ((n <= 0)) { return this } else if ((this.startIndex$4 < ((this.endIndex$4 - n) | 0))) { return this.dropFront0__p4__I__sci_Vector(((this.startIndex$4 + n) | 0)) } else { var this$1 = $m_sci_Vector$(); return this$1.NIL$6 } }); $c_sci_Vector.prototype.toCollection__O__sc_Seq = (function(repr) { return $as_sc_IndexedSeq(repr) }); $c_sci_Vector.prototype.copyLeft__p4__AO__I__AO = (function(array, right) { var a2 = $newArrayObject($d_O.getArrayOf(), [array.u.length]); $systemArraycopy(array, 0, a2, 0, right); return a2 }); $c_sci_Vector.prototype.copyRight__p4__AO__I__AO = (function(array, left) { var a2 = $newArrayObject($d_O.getArrayOf(), [array.u.length]); var length = ((a2.u.length - left) | 0); $systemArraycopy(array, left, a2, left, length); return a2 }); $c_sci_Vector.prototype.display3$und$eq__AO__V = (function(x$1) { this.display3$4 = x$1 }); function $is_sci_Vector(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Vector))) } function $as_sci_Vector(obj) { return (($is_sci_Vector(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.Vector")) } function $isArrayOf_sci_Vector(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_Vector))) } function $asArrayOf_sci_Vector(obj, depth) { return (($isArrayOf_sci_Vector(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.Vector;", depth)) } var $d_sci_Vector = new $TypeData().initClass({ sci_Vector: 0 }, false, "scala.collection.immutable.Vector", { sci_Vector: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, sci_IndexedSeq: 1, sci_Seq: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, sci_VectorPointer: 1, s_Serializable: 1, Ljava_io_Serializable: 1, sc_CustomParallelizable: 1 }); $c_sci_Vector.prototype.$classData = $d_sci_Vector; /** @constructor */ function $c_sci_WrappedString() { $c_sc_AbstractSeq.call(this); this.self$4 = null } $c_sci_WrappedString.prototype = new $h_sc_AbstractSeq(); $c_sci_WrappedString.prototype.constructor = $c_sci_WrappedString; /** @constructor */ function $h_sci_WrappedString() { /*<skip>*/ } $h_sci_WrappedString.prototype = $c_sci_WrappedString.prototype; $c_sci_WrappedString.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sci_WrappedString.prototype.head__O = (function() { return $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this) }); $c_sci_WrappedString.prototype.apply__I__O = (function(idx) { var thiz = this.self$4; var c = (65535 & $uI(thiz.charCodeAt(idx))); return new $c_jl_Character().init___C(c) }); $c_sci_WrappedString.prototype.lengthCompare__I__I = (function(len) { return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len) }); $c_sci_WrappedString.prototype.apply__O__O = (function(v1) { var n = $uI(v1); var thiz = this.self$4; var c = (65535 & $uI(thiz.charCodeAt(n))); return new $c_jl_Character().init___C(c) }); $c_sci_WrappedString.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that) }); $c_sci_WrappedString.prototype.exists__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__exists__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_sci_WrappedString.prototype.isEmpty__Z = (function() { return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this) }); $c_sci_WrappedString.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sci_WrappedString.prototype.apply__I__C = (function(n) { var thiz = this.self$4; return (65535 & $uI(thiz.charCodeAt(n))) }); $c_sci_WrappedString.prototype.forall__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__forall__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_sci_WrappedString.prototype.init__O = (function() { return $s_sc_IndexedSeqOptimized$class__init__sc_IndexedSeqOptimized__O(this) }); $c_sci_WrappedString.prototype.companion__scg_GenericCompanion = (function() { return $m_sci_IndexedSeq$() }); $c_sci_WrappedString.prototype.toString__T = (function() { return this.self$4 }); $c_sci_WrappedString.prototype.foreach__F1__V = (function(f) { $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f) }); $c_sci_WrappedString.prototype.compareTo__O__I = (function(that) { var other = $as_T(that); var thiz = this.self$4; return ((thiz === other) ? 0 : ($uZ((thiz < other)) ? (-1) : 1)) }); $c_sci_WrappedString.prototype.foldLeft__O__F2__O = (function(z, op) { var thiz = this.self$4; return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, $uI(thiz.length), z, op) }); $c_sci_WrappedString.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_IndexedSeqOptimized$class__indexWhere__sc_IndexedSeqOptimized__F1__I__I(this, p, from) }); $c_sci_WrappedString.prototype.slice__I__I__O = (function(from, until) { return this.slice__I__I__sci_WrappedString(from, until) }); $c_sci_WrappedString.prototype.reverse__O = (function() { return $s_sc_IndexedSeqOptimized$class__reverse__sc_IndexedSeqOptimized__O(this) }); $c_sci_WrappedString.prototype.iterator__sc_Iterator = (function() { var thiz = this.self$4; return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $uI(thiz.length)) }); $c_sci_WrappedString.prototype.span__F1__T2 = (function(p) { return $s_sc_IndexedSeqOptimized$class__span__sc_IndexedSeqOptimized__F1__T2(this, p) }); $c_sci_WrappedString.prototype.zipWithIndex__scg_CanBuildFrom__O = (function(bf) { return $s_sc_IndexedSeqOptimized$class__zipWithIndex__sc_IndexedSeqOptimized__scg_CanBuildFrom__O(this, bf) }); $c_sci_WrappedString.prototype.mkString__T = (function() { return this.self$4 }); $c_sci_WrappedString.prototype.length__I = (function() { var thiz = this.self$4; return $uI(thiz.length) }); $c_sci_WrappedString.prototype.seq__sc_Seq = (function() { return this }); $c_sci_WrappedString.prototype.take__I__O = (function(n) { return this.slice__I__I__sci_WrappedString(0, n) }); $c_sci_WrappedString.prototype.last__O = (function() { return $s_sc_IndexedSeqOptimized$class__last__sc_IndexedSeqOptimized__O(this) }); $c_sci_WrappedString.prototype.drop__I__O = (function(n) { var thiz = this.self$4; var until = $uI(thiz.length); return this.slice__I__I__sci_WrappedString(n, until) }); $c_sci_WrappedString.prototype.thisCollection__sc_Seq = (function() { return this }); $c_sci_WrappedString.prototype.tail__O = (function() { return $s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O(this) }); $c_sci_WrappedString.prototype.isDefinedAt__O__Z = (function(x) { var idx = $uI(x); return $s_sc_GenSeqLike$class__isDefinedAt__sc_GenSeqLike__I__Z(this, idx) }); $c_sci_WrappedString.prototype.copyToArray__O__I__I__V = (function(xs, start, len) { $s_sc_IndexedSeqOptimized$class__copyToArray__sc_IndexedSeqOptimized__O__I__I__V(this, xs, start, len) }); $c_sci_WrappedString.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) }); $c_sci_WrappedString.prototype.init___T = (function(self) { this.self$4 = self; return this }); $c_sci_WrappedString.prototype.slice__I__I__sci_WrappedString = (function(from, until) { var start = ((from < 0) ? 0 : from); if ((until <= start)) { var jsx$1 = true } else { var thiz = this.self$4; var jsx$1 = (start >= $uI(thiz.length)) }; if (jsx$1) { return new $c_sci_WrappedString().init___T("") }; var thiz$1 = this.self$4; if ((until > $uI(thiz$1.length))) { var thiz$2 = this.self$4; var end = $uI(thiz$2.length) } else { var end = until }; var thiz$3 = $m_s_Predef$().unwrapString__sci_WrappedString__T(this); return new $c_sci_WrappedString().init___T($as_T(thiz$3.substring(start, end))) }); $c_sci_WrappedString.prototype.toCollection__O__sc_Seq = (function(repr) { var repr$1 = $as_sci_WrappedString(repr); return repr$1 }); $c_sci_WrappedString.prototype.reduceLeft__F2__O = (function(op) { return $s_sc_IndexedSeqOptimized$class__reduceLeft__sc_IndexedSeqOptimized__F2__O(this, op) }); $c_sci_WrappedString.prototype.newBuilder__scm_Builder = (function() { return $m_sci_WrappedString$().newBuilder__scm_Builder() }); $c_sci_WrappedString.prototype.zip__sc_GenIterable__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_IndexedSeqOptimized$class__zip__sc_IndexedSeqOptimized__sc_GenIterable__scg_CanBuildFrom__O(this, that, bf) }); function $is_sci_WrappedString(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_WrappedString))) } function $as_sci_WrappedString(obj) { return (($is_sci_WrappedString(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.WrappedString")) } function $isArrayOf_sci_WrappedString(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_WrappedString))) } function $asArrayOf_sci_WrappedString(obj, depth) { return (($isArrayOf_sci_WrappedString(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.WrappedString;", depth)) } var $d_sci_WrappedString = new $TypeData().initClass({ sci_WrappedString: 0 }, false, "scala.collection.immutable.WrappedString", { sci_WrappedString: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, sci_IndexedSeq: 1, sci_Seq: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, sci_StringLike: 1, sc_IndexedSeqOptimized: 1, s_math_Ordered: 1, jl_Comparable: 1 }); $c_sci_WrappedString.prototype.$classData = $d_sci_WrappedString; /** @constructor */ function $c_sci_$colon$colon() { $c_sci_List.call(this); this.head$5 = null; this.tl$5 = null } $c_sci_$colon$colon.prototype = new $h_sci_List(); $c_sci_$colon$colon.prototype.constructor = $c_sci_$colon$colon; /** @constructor */ function $h_sci_$colon$colon() { /*<skip>*/ } $h_sci_$colon$colon.prototype = $c_sci_$colon$colon.prototype; $c_sci_$colon$colon.prototype.productPrefix__T = (function() { return "::" }); $c_sci_$colon$colon.prototype.head__O = (function() { return this.head$5 }); $c_sci_$colon$colon.prototype.productArity__I = (function() { return 2 }); $c_sci_$colon$colon.prototype.isEmpty__Z = (function() { return false }); $c_sci_$colon$colon.prototype.productElement__I__O = (function(x$1) { switch (x$1) { case 0: { return this.head$5; break } case 1: { return this.tl$5; break } default: { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) } } }); $c_sci_$colon$colon.prototype.tail__O = (function() { return this.tl$5 }); $c_sci_$colon$colon.prototype.init___O__sci_List = (function(head, tl) { this.head$5 = head; this.tl$5 = tl; return this }); $c_sci_$colon$colon.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); function $is_sci_$colon$colon(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_$colon$colon))) } function $as_sci_$colon$colon(obj) { return (($is_sci_$colon$colon(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.immutable.$colon$colon")) } function $isArrayOf_sci_$colon$colon(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sci_$colon$colon))) } function $asArrayOf_sci_$colon$colon(obj, depth) { return (($isArrayOf_sci_$colon$colon(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.immutable.$colon$colon;", depth)) } var $d_sci_$colon$colon = new $TypeData().initClass({ sci_$colon$colon: 0 }, false, "scala.collection.immutable.$colon$colon", { sci_$colon$colon: 1, sci_List: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, sci_LinearSeq: 1, sci_Seq: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_LinearSeq: 1, sc_LinearSeqLike: 1, s_Product: 1, sc_LinearSeqOptimized: 1, Ljava_io_Serializable: 1, s_Serializable: 1 }); $c_sci_$colon$colon.prototype.$classData = $d_sci_$colon$colon; /** @constructor */ function $c_sci_Nil$() { $c_sci_List.call(this) } $c_sci_Nil$.prototype = new $h_sci_List(); $c_sci_Nil$.prototype.constructor = $c_sci_Nil$; /** @constructor */ function $h_sci_Nil$() { /*<skip>*/ } $h_sci_Nil$.prototype = $c_sci_Nil$.prototype; $c_sci_Nil$.prototype.init___ = (function() { return this }); $c_sci_Nil$.prototype.head__O = (function() { this.head__sr_Nothing$() }); $c_sci_Nil$.prototype.productPrefix__T = (function() { return "Nil" }); $c_sci_Nil$.prototype.productArity__I = (function() { return 0 }); $c_sci_Nil$.prototype.equals__O__Z = (function(that) { if ($is_sc_GenSeq(that)) { var x2 = $as_sc_GenSeq(that); return x2.isEmpty__Z() } else { return false } }); $c_sci_Nil$.prototype.tail__sci_List = (function() { throw new $c_jl_UnsupportedOperationException().init___T("tail of empty list") }); $c_sci_Nil$.prototype.isEmpty__Z = (function() { return true }); $c_sci_Nil$.prototype.productElement__I__O = (function(x$1) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1)) }); $c_sci_Nil$.prototype.head__sr_Nothing$ = (function() { throw new $c_ju_NoSuchElementException().init___T("head of empty list") }); $c_sci_Nil$.prototype.tail__O = (function() { return this.tail__sci_List() }); $c_sci_Nil$.prototype.productIterator__sc_Iterator = (function() { return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this) }); var $d_sci_Nil$ = new $TypeData().initClass({ sci_Nil$: 0 }, false, "scala.collection.immutable.Nil$", { sci_Nil$: 1, sci_List: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, sci_LinearSeq: 1, sci_Seq: 1, sci_Iterable: 1, sci_Traversable: 1, s_Immutable: 1, sc_LinearSeq: 1, sc_LinearSeqLike: 1, s_Product: 1, sc_LinearSeqOptimized: 1, Ljava_io_Serializable: 1, s_Serializable: 1 }); $c_sci_Nil$.prototype.$classData = $d_sci_Nil$; var $n_sci_Nil$ = (void 0); function $m_sci_Nil$() { if ((!$n_sci_Nil$)) { $n_sci_Nil$ = new $c_sci_Nil$().init___() }; return $n_sci_Nil$ } /** @constructor */ function $c_scm_AbstractMap() { $c_sc_AbstractMap.call(this) } $c_scm_AbstractMap.prototype = new $h_sc_AbstractMap(); $c_scm_AbstractMap.prototype.constructor = $c_scm_AbstractMap; /** @constructor */ function $h_scm_AbstractMap() { /*<skip>*/ } $h_scm_AbstractMap.prototype = $c_scm_AbstractMap.prototype; $c_scm_AbstractMap.prototype.companion__scg_GenericCompanion = (function() { return $m_scm_Iterable$() }); $c_scm_AbstractMap.prototype.$$plus__T2__scm_Map = (function(kv) { return $as_scm_Map($as_scm_Map($as_scg_Growable(this.empty__sc_Map()).$$plus$plus$eq__sc_TraversableOnce__scg_Growable(this)).$$plus$eq__T2__scm_MapLike(kv)) }); $c_scm_AbstractMap.prototype.withDefaultValue__O__scm_Map = (function(d) { return $s_scm_Map$class__withDefaultValue__scm_Map__O__scm_Map(this, d) }); $c_scm_AbstractMap.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_AbstractMap.prototype.updated__O__O__scm_Map = (function(key, value) { return $s_scm_MapLike$class__updated__scm_MapLike__O__O__scm_Map(this, key, value) }); $c_scm_AbstractMap.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_scm_AbstractMap.prototype.$$minus__O__scm_Map = (function(key) { return $as_scm_Map($as_scm_Map($as_scg_Growable(this.empty__sc_Map()).$$plus$plus$eq__sc_TraversableOnce__scg_Growable(this)).$$minus$eq__O__scm_MapLike(key)) }); $c_scm_AbstractMap.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); $c_scm_AbstractMap.prototype.newBuilder__scm_Builder = (function() { return $as_scm_Builder(this.empty__sc_Map()) }); /** @constructor */ function $c_scm_AbstractSet() { $c_scm_AbstractIterable.call(this) } $c_scm_AbstractSet.prototype = new $h_scm_AbstractIterable(); $c_scm_AbstractSet.prototype.constructor = $c_scm_AbstractSet; /** @constructor */ function $h_scm_AbstractSet() { /*<skip>*/ } $h_scm_AbstractSet.prototype = $c_scm_AbstractSet.prototype; $c_scm_AbstractSet.prototype.isEmpty__Z = (function() { return $s_sc_SetLike$class__isEmpty__sc_SetLike__Z(this) }); $c_scm_AbstractSet.prototype.equals__O__Z = (function(that) { return $s_sc_GenSetLike$class__equals__sc_GenSetLike__O__Z(this, that) }); $c_scm_AbstractSet.prototype.toString__T = (function() { return $s_sc_TraversableLike$class__toString__sc_TraversableLike__T(this) }); $c_scm_AbstractSet.prototype.subsetOf__sc_GenSet__Z = (function(that) { var this$1 = new $c_scm_FlatHashTable$$anon$1().init___scm_FlatHashTable(this); return $s_sc_Iterator$class__forall__sc_Iterator__F1__Z(this$1, that) }); $c_scm_AbstractSet.prototype.apply$mcZI$sp__I__Z = (function(v1) { return $s_scm_FlatHashTable$class__containsElem__scm_FlatHashTable__O__Z(this, v1) }); $c_scm_AbstractSet.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_AbstractSet.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_scm_AbstractSet.prototype.hashCode__I = (function() { var this$1 = $m_s_util_hashing_MurmurHash3$(); return this$1.unorderedHash__sc_TraversableOnce__I__I(this, this$1.setSeed$2) }); $c_scm_AbstractSet.prototype.map__F1__scg_CanBuildFrom__O = (function(f, bf) { return $s_sc_TraversableLike$class__map__sc_TraversableLike__F1__scg_CanBuildFrom__O(this, f, bf) }); $c_scm_AbstractSet.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); $c_scm_AbstractSet.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_HashSet().init___() }); $c_scm_AbstractSet.prototype.stringPrefix__T = (function() { return "Set" }); /** @constructor */ function $c_scm_AbstractBuffer() { $c_scm_AbstractSeq.call(this) } $c_scm_AbstractBuffer.prototype = new $h_scm_AbstractSeq(); $c_scm_AbstractBuffer.prototype.constructor = $c_scm_AbstractBuffer; /** @constructor */ function $h_scm_AbstractBuffer() { /*<skip>*/ } $h_scm_AbstractBuffer.prototype = $c_scm_AbstractBuffer.prototype; $c_scm_AbstractBuffer.prototype.$$minus$eq__O__scm_Buffer = (function(x) { return $s_scm_BufferLike$class__$$minus$eq__scm_Buffer__O__scm_Buffer(this, x) }); $c_scm_AbstractBuffer.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); /** @constructor */ function $c_scm_Map$WithDefault() { $c_sc_Map$WithDefault.call(this); this.underlying$5 = null; this.d$5 = null } $c_scm_Map$WithDefault.prototype = new $h_sc_Map$WithDefault(); $c_scm_Map$WithDefault.prototype.constructor = $c_scm_Map$WithDefault; /** @constructor */ function $h_scm_Map$WithDefault() { /*<skip>*/ } $h_scm_Map$WithDefault.prototype = $c_scm_Map$WithDefault.prototype; $c_scm_Map$WithDefault.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_scm_Map$WithDefault.prototype.updated__O__O__scm_Map$WithDefault = (function(key, value) { return new $c_scm_Map$WithDefault().init___scm_Map__F1(this.underlying$5.updated__O__O__scm_Map(key, value), this.d$5) }); $c_scm_Map$WithDefault.prototype.repr__scg_Subtractable = (function() { return this }); $c_scm_Map$WithDefault.prototype.$$minus$eq__O__scm_MapLike = (function(key) { return this.$$minus$eq__O__scm_Map$WithDefault(key) }); $c_scm_Map$WithDefault.prototype.$$minus__O__scg_Subtractable = (function(elem) { return this.$$minus__O__scm_Map$WithDefault(elem) }); $c_scm_Map$WithDefault.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_scm_Map$WithDefault.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__T2__scm_Map$WithDefault($as_T2(elem)) }); $c_scm_Map$WithDefault.prototype.companion__scg_GenericCompanion = (function() { return $m_scm_Iterable$() }); $c_scm_Map$WithDefault.prototype.$$minus__O__scm_Map$WithDefault = (function(key) { return new $c_scm_Map$WithDefault().init___scm_Map__F1(this.underlying$5.$$minus__O__scm_Map(key), this.d$5) }); $c_scm_Map$WithDefault.prototype.$$plus__T2__scm_Map = (function(kv) { return this.updated__O__O__scm_Map$WithDefault(kv.$$und1__O(), kv.$$und2__O()) }); $c_scm_Map$WithDefault.prototype.empty__sc_Map = (function() { return this.empty__scm_Map$WithDefault() }); $c_scm_Map$WithDefault.prototype.$$minus__O__sc_Map = (function(key) { return this.$$minus__O__scm_Map$WithDefault(key) }); $c_scm_Map$WithDefault.prototype.update__O__O__V = (function(key, value) { $s_scm_MapLike$class__update__scm_MapLike__O__O__V(this, key, value) }); $c_scm_Map$WithDefault.prototype.result__O = (function() { return this }); $c_scm_Map$WithDefault.prototype.seq__sc_Map = (function() { return this }); $c_scm_Map$WithDefault.prototype.empty__scm_Map = (function() { return this.empty__scm_Map$WithDefault() }); $c_scm_Map$WithDefault.prototype.withDefaultValue__O__scm_Map = (function(d) { return new $c_scm_Map$WithDefault().init___scm_Map__F1(this.underlying$5, new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, d$1) { return (function(x$2) { return d$1 }) })(this, d))) }); $c_scm_Map$WithDefault.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_Map$WithDefault.prototype.$$minus$eq__O__scm_Map$WithDefault = (function(key) { this.underlying$5.$$minus$eq__O__scm_MapLike(key); return this }); $c_scm_Map$WithDefault.prototype.updated__O__O__scm_Map = (function(key, value) { return this.updated__O__O__scm_Map$WithDefault(key, value) }); $c_scm_Map$WithDefault.prototype.$$plus$eq__T2__scm_MapLike = (function(kv) { return this.$$plus$eq__T2__scm_Map$WithDefault(kv) }); $c_scm_Map$WithDefault.prototype.init___scm_Map__F1 = (function(underlying, d) { this.underlying$5 = underlying; this.d$5 = d; $c_sc_Map$WithDefault.prototype.init___sc_Map__F1.call(this, underlying, d); return this }); $c_scm_Map$WithDefault.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__T2__scm_Map$WithDefault($as_T2(elem)) }); $c_scm_Map$WithDefault.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_scm_Map$WithDefault.prototype.empty__scm_Map$WithDefault = (function() { return new $c_scm_Map$WithDefault().init___scm_Map__F1(this.underlying$5.empty__scm_Map(), this.d$5) }); $c_scm_Map$WithDefault.prototype.$$minus__O__scm_Map = (function(key) { return this.$$minus__O__scm_Map$WithDefault(key) }); $c_scm_Map$WithDefault.prototype.$$plus$eq__T2__scm_Map$WithDefault = (function(kv) { this.underlying$5.$$plus$eq__T2__scm_MapLike(kv); return this }); $c_scm_Map$WithDefault.prototype.$$plus__T2__sc_GenMap = (function(kv) { return this.updated__O__O__scm_Map$WithDefault(kv.$$und1__O(), kv.$$und2__O()) }); $c_scm_Map$WithDefault.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); $c_scm_Map$WithDefault.prototype.newBuilder__scm_Builder = (function() { return this.empty__scm_Map$WithDefault() }); var $d_scm_Map$WithDefault = new $TypeData().initClass({ scm_Map$WithDefault: 0 }, false, "scala.collection.mutable.Map$WithDefault", { scm_Map$WithDefault: 1, sc_Map$WithDefault: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, s_Serializable: 1, Ljava_io_Serializable: 1, scm_Map: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_MapLike: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1, scg_Shrinkable: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1 }); $c_scm_Map$WithDefault.prototype.$classData = $d_scm_Map$WithDefault; /** @constructor */ function $c_scm_WrappedArray() { $c_scm_AbstractSeq.call(this) } $c_scm_WrappedArray.prototype = new $h_scm_AbstractSeq(); $c_scm_WrappedArray.prototype.constructor = $c_scm_WrappedArray; /** @constructor */ function $h_scm_WrappedArray() { /*<skip>*/ } $h_scm_WrappedArray.prototype = $c_scm_WrappedArray.prototype; $c_scm_WrappedArray.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_scm_WrappedArray.prototype.head__O = (function() { return $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this) }); $c_scm_WrappedArray.prototype.lengthCompare__I__I = (function(len) { return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len) }); $c_scm_WrappedArray.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that) }); $c_scm_WrappedArray.prototype.exists__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__exists__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_scm_WrappedArray.prototype.isEmpty__Z = (function() { return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this) }); $c_scm_WrappedArray.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_scm_WrappedArray.prototype.forall__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__forall__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_scm_WrappedArray.prototype.companion__scg_GenericCompanion = (function() { return $m_scm_IndexedSeq$() }); $c_scm_WrappedArray.prototype.init__O = (function() { return $s_sc_IndexedSeqOptimized$class__init__sc_IndexedSeqOptimized__O(this) }); $c_scm_WrappedArray.prototype.foreach__F1__V = (function(f) { $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f) }); $c_scm_WrappedArray.prototype.foldLeft__O__F2__O = (function(z, op) { return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, this.length__I(), z, op) }); $c_scm_WrappedArray.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_IndexedSeqOptimized$class__indexWhere__sc_IndexedSeqOptimized__F1__I__I(this, p, from) }); $c_scm_WrappedArray.prototype.slice__I__I__O = (function(from, until) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, from, until) }); $c_scm_WrappedArray.prototype.reverse__O = (function() { return $s_sc_IndexedSeqOptimized$class__reverse__sc_IndexedSeqOptimized__O(this) }); $c_scm_WrappedArray.prototype.seq__scm_Seq = (function() { return this }); $c_scm_WrappedArray.prototype.iterator__sc_Iterator = (function() { return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, this.length__I()) }); $c_scm_WrappedArray.prototype.span__F1__T2 = (function(p) { return $s_sc_IndexedSeqOptimized$class__span__sc_IndexedSeqOptimized__F1__T2(this, p) }); $c_scm_WrappedArray.prototype.seq__sc_Seq = (function() { return this }); $c_scm_WrappedArray.prototype.zipWithIndex__scg_CanBuildFrom__O = (function(bf) { return $s_sc_IndexedSeqOptimized$class__zipWithIndex__sc_IndexedSeqOptimized__scg_CanBuildFrom__O(this, bf) }); $c_scm_WrappedArray.prototype.take__I__O = (function(n) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, 0, n) }); $c_scm_WrappedArray.prototype.last__O = (function() { return $s_sc_IndexedSeqOptimized$class__last__sc_IndexedSeqOptimized__O(this) }); $c_scm_WrappedArray.prototype.drop__I__O = (function(n) { var until = this.length__I(); return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, n, until) }); $c_scm_WrappedArray.prototype.thisCollection__sc_Seq = (function() { return this }); $c_scm_WrappedArray.prototype.tail__O = (function() { return $s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O(this) }); $c_scm_WrappedArray.prototype.isDefinedAt__O__Z = (function(x) { var idx = $uI(x); return $s_sc_GenSeqLike$class__isDefinedAt__sc_GenSeqLike__I__Z(this, idx) }); $c_scm_WrappedArray.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) }); $c_scm_WrappedArray.prototype.copyToArray__O__I__I__V = (function(xs, start, len) { $s_sc_IndexedSeqOptimized$class__copyToArray__sc_IndexedSeqOptimized__O__I__I__V(this, xs, start, len) }); $c_scm_WrappedArray.prototype.toCollection__O__sc_Seq = (function(repr) { var repr$1 = $as_scm_WrappedArray(repr); return repr$1 }); $c_scm_WrappedArray.prototype.reduceLeft__F2__O = (function(op) { return $s_sc_IndexedSeqOptimized$class__reduceLeft__sc_IndexedSeqOptimized__F2__O(this, op) }); $c_scm_WrappedArray.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_WrappedArrayBuilder().init___s_reflect_ClassTag(this.elemTag__s_reflect_ClassTag()) }); $c_scm_WrappedArray.prototype.stringPrefix__T = (function() { return "WrappedArray" }); $c_scm_WrappedArray.prototype.zip__sc_GenIterable__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_IndexedSeqOptimized$class__zip__sc_IndexedSeqOptimized__sc_GenIterable__scg_CanBuildFrom__O(this, that, bf) }); function $is_scm_WrappedArray(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_WrappedArray))) } function $as_scm_WrappedArray(obj) { return (($is_scm_WrappedArray(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.WrappedArray")) } function $isArrayOf_scm_WrappedArray(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_WrappedArray))) } function $asArrayOf_scm_WrappedArray(obj, depth) { return (($isArrayOf_scm_WrappedArray(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.WrappedArray;", depth)) } /** @constructor */ function $c_scm_HashMap() { $c_scm_AbstractMap.call(this); this.$$undloadFactor$5 = 0; this.table$5 = null; this.tableSize$5 = 0; this.threshold$5 = 0; this.sizemap$5 = null; this.seedvalue$5 = 0 } $c_scm_HashMap.prototype = new $h_scm_AbstractMap(); $c_scm_HashMap.prototype.constructor = $c_scm_HashMap; /** @constructor */ function $h_scm_HashMap() { /*<skip>*/ } $h_scm_HashMap.prototype = $c_scm_HashMap.prototype; $c_scm_HashMap.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_scm_HashMap.prototype.repr__scg_Subtractable = (function() { return this }); $c_scm_HashMap.prototype.put__O__O__s_Option = (function(key, value) { var e = $as_scm_DefaultEntry($s_scm_HashTable$class__findOrAddEntry__scm_HashTable__O__O__scm_HashEntry(this, key, value)); if ((e === null)) { return $m_s_None$() } else { var v = e.value$1; e.value$1 = value; return new $c_s_Some().init___O(v) } }); $c_scm_HashMap.prototype.init___ = (function() { $c_scm_HashMap.prototype.init___scm_HashTable$Contents.call(this, null); return this }); $c_scm_HashMap.prototype.$$minus$eq__O__scm_MapLike = (function(key) { return this.$$minus$eq__O__scm_HashMap(key) }); $c_scm_HashMap.prototype.apply__O__O = (function(key) { var result = $as_scm_DefaultEntry($s_scm_HashTable$class__findEntry__scm_HashTable__O__scm_HashEntry(this, key)); return ((result === null) ? this.$default__O__O(key) : result.value$1) }); $c_scm_HashMap.prototype.$$minus__O__scg_Subtractable = (function(elem) { var this$2 = new $c_scm_HashMap().init___(); return $as_scm_Map($as_scm_Map($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$2, this)).$$minus$eq__O__scm_MapLike(elem)) }); $c_scm_HashMap.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_scm_HashMap.prototype.$$plus$eq__T2__scm_HashMap = (function(kv) { var key = kv.$$und1__O(); var value = kv.$$und2__O(); var e = $as_scm_DefaultEntry($s_scm_HashTable$class__findOrAddEntry__scm_HashTable__O__O__scm_HashEntry(this, key, value)); if ((e !== null)) { e.value$1 = kv.$$und2__O() }; return this }); $c_scm_HashMap.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__T2__scm_HashMap($as_T2(elem)) }); $c_scm_HashMap.prototype.foreach__F1__V = (function(f) { var iterTable = this.table$5; var idx = $s_scm_HashTable$class__scala$collection$mutable$HashTable$$lastPopulatedIndex__scm_HashTable__I(this); var es = iterTable.u[idx]; while ((es !== null)) { var arg1 = es; var e = $as_scm_DefaultEntry(arg1); f.apply__O__O(new $c_T2().init___O__O(e.key$1, e.value$1)); es = $as_scm_HashEntry(es.next$1); while (((es === null) && (idx > 0))) { idx = (((-1) + idx) | 0); es = iterTable.u[idx] } } }); $c_scm_HashMap.prototype.empty__sc_Map = (function() { return new $c_scm_HashMap().init___() }); $c_scm_HashMap.prototype.$$minus__O__sc_Map = (function(key) { var this$2 = new $c_scm_HashMap().init___(); return $as_scm_Map($as_scm_Map($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$2, this)).$$minus$eq__O__scm_MapLike(key)) }); $c_scm_HashMap.prototype.keysIterator__sc_Iterator = (function() { return new $c_scm_HashMap$$anon$3().init___scm_HashMap(this) }); $c_scm_HashMap.prototype.size__I = (function() { return this.tableSize$5 }); $c_scm_HashMap.prototype.update__O__O__V = (function(key, value) { this.put__O__O__s_Option(key, value) }); $c_scm_HashMap.prototype.seq__sc_Map = (function() { return this }); $c_scm_HashMap.prototype.result__O = (function() { return this }); $c_scm_HashMap.prototype.empty__scm_Map = (function() { return new $c_scm_HashMap().init___() }); $c_scm_HashMap.prototype.iterator__sc_Iterator = (function() { var this$1 = new $c_scm_HashTable$$anon$1().init___scm_HashTable(this); var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) { return (function(e$2) { var e = $as_scm_DefaultEntry(e$2); return new $c_T2().init___O__O(e.key$1, e.value$1) }) })(this)); return new $c_sc_Iterator$$anon$11().init___sc_Iterator__F1(this$1, f) }); $c_scm_HashMap.prototype.init___scm_HashTable$Contents = (function(contents) { $s_scm_HashTable$class__$$init$__scm_HashTable__V(this); $s_scm_HashTable$class__initWithContents__scm_HashTable__scm_HashTable$Contents__V(this, contents); return this }); $c_scm_HashMap.prototype.get__O__s_Option = (function(key) { var e = $as_scm_DefaultEntry($s_scm_HashTable$class__findEntry__scm_HashTable__O__scm_HashEntry(this, key)); return ((e === null) ? $m_s_None$() : new $c_s_Some().init___O(e.value$1)) }); $c_scm_HashMap.prototype.$$plus$eq__T2__scm_MapLike = (function(kv) { return this.$$plus$eq__T2__scm_HashMap(kv) }); $c_scm_HashMap.prototype.$$minus$eq__O__scm_HashMap = (function(key) { $s_scm_HashTable$class__removeEntry__scm_HashTable__O__scm_HashEntry(this, key); return this }); $c_scm_HashMap.prototype.contains__O__Z = (function(key) { return ($s_scm_HashTable$class__findEntry__scm_HashTable__O__scm_HashEntry(this, key) !== null) }); $c_scm_HashMap.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__T2__scm_HashMap($as_T2(elem)) }); $c_scm_HashMap.prototype.$$plus__T2__sc_GenMap = (function(kv) { var this$2 = new $c_scm_HashMap().init___(); return $as_scm_Map($as_scm_Map($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$2, this)).$$plus$eq__T2__scm_MapLike(kv)) }); var $d_scm_HashMap = new $TypeData().initClass({ scm_HashMap: 0 }, false, "scala.collection.mutable.HashMap", { scm_HashMap: 1, scm_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, scm_Map: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_MapLike: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1, scg_Shrinkable: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_HashTable: 1, scm_HashTable$HashUtils: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_HashMap.prototype.$classData = $d_scm_HashMap; /** @constructor */ function $c_sc_SeqLike$$anon$1() { $c_scm_HashMap.call(this) } $c_sc_SeqLike$$anon$1.prototype = new $h_scm_HashMap(); $c_sc_SeqLike$$anon$1.prototype.constructor = $c_sc_SeqLike$$anon$1; /** @constructor */ function $h_sc_SeqLike$$anon$1() { /*<skip>*/ } $h_sc_SeqLike$$anon$1.prototype = $c_sc_SeqLike$$anon$1.prototype; $c_sc_SeqLike$$anon$1.prototype.$default__O__O = (function(key) { return 0 }); $c_sc_SeqLike$$anon$1.prototype.init___sc_SeqLike = (function($$outer) { $c_scm_HashMap.prototype.init___scm_HashTable$Contents.call(this, null); return this }); var $d_sc_SeqLike$$anon$1 = new $TypeData().initClass({ sc_SeqLike$$anon$1: 0 }, false, "scala.collection.SeqLike$$anon$1", { sc_SeqLike$$anon$1: 1, scm_HashMap: 1, scm_AbstractMap: 1, sc_AbstractMap: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Map: 1, sc_GenMap: 1, sc_GenMapLike: 1, sc_MapLike: 1, s_PartialFunction: 1, F1: 1, scg_Subtractable: 1, scm_Map: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_MapLike: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1, scg_Shrinkable: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_HashTable: 1, scm_HashTable$HashUtils: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_sc_SeqLike$$anon$1.prototype.$classData = $d_sc_SeqLike$$anon$1; /** @constructor */ function $c_scm_HashSet() { $c_scm_AbstractSet.call(this); this.$$undloadFactor$5 = 0; this.table$5 = null; this.tableSize$5 = 0; this.threshold$5 = 0; this.sizemap$5 = null; this.seedvalue$5 = 0 } $c_scm_HashSet.prototype = new $h_scm_AbstractSet(); $c_scm_HashSet.prototype.constructor = $c_scm_HashSet; /** @constructor */ function $h_scm_HashSet() { /*<skip>*/ } $h_scm_HashSet.prototype = $c_scm_HashSet.prototype; $c_scm_HashSet.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_scm_HashSet.prototype.repr__scg_Subtractable = (function() { return this }); $c_scm_HashSet.prototype.init___ = (function() { $c_scm_HashSet.prototype.init___scm_FlatHashTable$Contents.call(this, null); return this }); $c_scm_HashSet.prototype.apply__O__O = (function(v1) { return $s_scm_FlatHashTable$class__containsElem__scm_FlatHashTable__O__Z(this, v1) }); $c_scm_HashSet.prototype.$$minus__O__scg_Subtractable = (function(elem) { var this$1 = new $c_scm_HashSet().init___(); var this$2 = $as_scm_HashSet($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$1, this)); return this$2.$$minus$eq__O__scm_HashSet(elem) }); $c_scm_HashSet.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_scm_HashSet.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__scm_HashSet(elem) }); $c_scm_HashSet.prototype.companion__scg_GenericCompanion = (function() { return $m_scm_HashSet$() }); $c_scm_HashSet.prototype.foreach__F1__V = (function(f) { var i = 0; var len = this.table$5.u.length; while ((i < len)) { var curEntry = this.table$5.u[i]; if ((curEntry !== null)) { f.apply__O__O($s_scm_FlatHashTable$HashUtils$class__entryToElem__scm_FlatHashTable$HashUtils__O__O(this, curEntry)) }; i = ((1 + i) | 0) } }); $c_scm_HashSet.prototype.size__I = (function() { return this.tableSize$5 }); $c_scm_HashSet.prototype.result__O = (function() { return this }); $c_scm_HashSet.prototype.iterator__sc_Iterator = (function() { return new $c_scm_FlatHashTable$$anon$1().init___scm_FlatHashTable(this) }); $c_scm_HashSet.prototype.$$minus__O__sc_Set = (function(elem) { var this$1 = new $c_scm_HashSet().init___(); var this$2 = $as_scm_HashSet($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$1, this)); return this$2.$$minus$eq__O__scm_HashSet(elem) }); $c_scm_HashSet.prototype.init___scm_FlatHashTable$Contents = (function(contents) { $s_scm_FlatHashTable$class__$$init$__scm_FlatHashTable__V(this); $s_scm_FlatHashTable$class__initWithContents__scm_FlatHashTable__scm_FlatHashTable$Contents__V(this, contents); return this }); $c_scm_HashSet.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__scm_HashSet(elem) }); $c_scm_HashSet.prototype.$$minus$eq__O__scm_HashSet = (function(elem) { $s_scm_FlatHashTable$class__removeElem__scm_FlatHashTable__O__Z(this, elem); return this }); $c_scm_HashSet.prototype.$$plus__O__sc_Set = (function(elem) { var this$1 = new $c_scm_HashSet().init___(); var this$2 = $as_scm_HashSet($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$1, this)); return this$2.$$plus$eq__O__scm_HashSet(elem) }); $c_scm_HashSet.prototype.$$plus$plus__sc_GenTraversableOnce__sc_Set = (function(elems) { var this$1 = new $c_scm_HashSet().init___(); var this$2 = $as_scm_HashSet($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$1, this)); var xs = elems.seq__sc_TraversableOnce(); return $as_scm_Set($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this$2, xs)) }); $c_scm_HashSet.prototype.$$plus$eq__O__scm_HashSet = (function(elem) { $s_scm_FlatHashTable$class__addElem__scm_FlatHashTable__O__Z(this, elem); return this }); function $is_scm_HashSet(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_HashSet))) } function $as_scm_HashSet(obj) { return (($is_scm_HashSet(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.HashSet")) } function $isArrayOf_scm_HashSet(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_HashSet))) } function $asArrayOf_scm_HashSet(obj, depth) { return (($isArrayOf_scm_HashSet(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.HashSet;", depth)) } var $d_scm_HashSet = new $TypeData().initClass({ scm_HashSet: 0 }, false, "scala.collection.mutable.HashSet", { scm_HashSet: 1, scm_AbstractSet: 1, scm_AbstractIterable: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_Set: 1, sc_Set: 1, F1: 1, sc_GenSet: 1, sc_GenSetLike: 1, scg_GenericSetTemplate: 1, sc_SetLike: 1, scg_Subtractable: 1, scm_SetLike: 1, sc_script_Scriptable: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1, scg_Shrinkable: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_FlatHashTable: 1, scm_FlatHashTable$HashUtils: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_HashSet.prototype.$classData = $d_scm_HashSet; /** @constructor */ function $c_scm_WrappedArray$ofBoolean() { $c_scm_WrappedArray.call(this); this.array$6 = null } $c_scm_WrappedArray$ofBoolean.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofBoolean.prototype.constructor = $c_scm_WrappedArray$ofBoolean; /** @constructor */ function $h_scm_WrappedArray$ofBoolean() { /*<skip>*/ } $h_scm_WrappedArray$ofBoolean.prototype = $c_scm_WrappedArray$ofBoolean.prototype; $c_scm_WrappedArray$ofBoolean.prototype.apply__I__O = (function(index) { return this.apply$mcZI$sp__I__Z(index) }); $c_scm_WrappedArray$ofBoolean.prototype.apply__O__O = (function(v1) { var index = $uI(v1); return this.apply$mcZI$sp__I__Z(index) }); $c_scm_WrappedArray$ofBoolean.prototype.update__I__O__V = (function(index, elem) { this.update__I__Z__V(index, $uZ(elem)) }); $c_scm_WrappedArray$ofBoolean.prototype.apply$mcZI$sp__I__Z = (function(index) { return this.array$6.u[index] }); $c_scm_WrappedArray$ofBoolean.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofBoolean.prototype.update__I__Z__V = (function(index, elem) { this.array$6.u[index] = elem }); $c_scm_WrappedArray$ofBoolean.prototype.elemTag__s_reflect_ClassTag = (function() { return $m_s_reflect_ManifestFactory$BooleanManifest$() }); $c_scm_WrappedArray$ofBoolean.prototype.init___AZ = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofBoolean.prototype.array__O = (function() { return this.array$6 }); var $d_scm_WrappedArray$ofBoolean = new $TypeData().initClass({ scm_WrappedArray$ofBoolean: 0 }, false, "scala.collection.mutable.WrappedArray$ofBoolean", { scm_WrappedArray$ofBoolean: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofBoolean.prototype.$classData = $d_scm_WrappedArray$ofBoolean; /** @constructor */ function $c_scm_WrappedArray$ofByte() { $c_scm_WrappedArray.call(this); this.array$6 = null } $c_scm_WrappedArray$ofByte.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofByte.prototype.constructor = $c_scm_WrappedArray$ofByte; /** @constructor */ function $h_scm_WrappedArray$ofByte() { /*<skip>*/ } $h_scm_WrappedArray$ofByte.prototype = $c_scm_WrappedArray$ofByte.prototype; $c_scm_WrappedArray$ofByte.prototype.apply__I__O = (function(index) { return this.apply__I__B(index) }); $c_scm_WrappedArray$ofByte.prototype.apply__O__O = (function(v1) { return this.apply__I__B($uI(v1)) }); $c_scm_WrappedArray$ofByte.prototype.update__I__O__V = (function(index, elem) { this.update__I__B__V(index, $uB(elem)) }); $c_scm_WrappedArray$ofByte.prototype.apply__I__B = (function(index) { return this.array$6.u[index] }); $c_scm_WrappedArray$ofByte.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofByte.prototype.elemTag__s_reflect_ClassTag = (function() { return $m_s_reflect_ManifestFactory$ByteManifest$() }); $c_scm_WrappedArray$ofByte.prototype.array__O = (function() { return this.array$6 }); $c_scm_WrappedArray$ofByte.prototype.init___AB = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofByte.prototype.update__I__B__V = (function(index, elem) { this.array$6.u[index] = elem }); var $d_scm_WrappedArray$ofByte = new $TypeData().initClass({ scm_WrappedArray$ofByte: 0 }, false, "scala.collection.mutable.WrappedArray$ofByte", { scm_WrappedArray$ofByte: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofByte.prototype.$classData = $d_scm_WrappedArray$ofByte; /** @constructor */ function $c_scm_WrappedArray$ofChar() { $c_scm_WrappedArray.call(this); this.array$6 = null } $c_scm_WrappedArray$ofChar.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofChar.prototype.constructor = $c_scm_WrappedArray$ofChar; /** @constructor */ function $h_scm_WrappedArray$ofChar() { /*<skip>*/ } $h_scm_WrappedArray$ofChar.prototype = $c_scm_WrappedArray$ofChar.prototype; $c_scm_WrappedArray$ofChar.prototype.apply__I__O = (function(index) { var c = this.apply__I__C(index); return new $c_jl_Character().init___C(c) }); $c_scm_WrappedArray$ofChar.prototype.apply__O__O = (function(v1) { var c = this.apply__I__C($uI(v1)); return new $c_jl_Character().init___C(c) }); $c_scm_WrappedArray$ofChar.prototype.update__I__O__V = (function(index, elem) { if ((elem === null)) { var jsx$1 = 0 } else { var this$2 = $as_jl_Character(elem); var jsx$1 = this$2.value$1 }; this.update__I__C__V(index, jsx$1) }); $c_scm_WrappedArray$ofChar.prototype.apply__I__C = (function(index) { return this.array$6.u[index] }); $c_scm_WrappedArray$ofChar.prototype.update__I__C__V = (function(index, elem) { this.array$6.u[index] = elem }); $c_scm_WrappedArray$ofChar.prototype.init___AC = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofChar.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofChar.prototype.elemTag__s_reflect_ClassTag = (function() { return $m_s_reflect_ManifestFactory$CharManifest$() }); $c_scm_WrappedArray$ofChar.prototype.array__O = (function() { return this.array$6 }); var $d_scm_WrappedArray$ofChar = new $TypeData().initClass({ scm_WrappedArray$ofChar: 0 }, false, "scala.collection.mutable.WrappedArray$ofChar", { scm_WrappedArray$ofChar: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofChar.prototype.$classData = $d_scm_WrappedArray$ofChar; /** @constructor */ function $c_scm_WrappedArray$ofDouble() { $c_scm_WrappedArray.call(this); this.array$6 = null } $c_scm_WrappedArray$ofDouble.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofDouble.prototype.constructor = $c_scm_WrappedArray$ofDouble; /** @constructor */ function $h_scm_WrappedArray$ofDouble() { /*<skip>*/ } $h_scm_WrappedArray$ofDouble.prototype = $c_scm_WrappedArray$ofDouble.prototype; $c_scm_WrappedArray$ofDouble.prototype.apply__I__O = (function(index) { return this.apply$mcDI$sp__I__D(index) }); $c_scm_WrappedArray$ofDouble.prototype.apply__O__O = (function(v1) { var index = $uI(v1); return this.apply$mcDI$sp__I__D(index) }); $c_scm_WrappedArray$ofDouble.prototype.update__I__O__V = (function(index, elem) { this.update__I__D__V(index, $uD(elem)) }); $c_scm_WrappedArray$ofDouble.prototype.init___AD = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofDouble.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofDouble.prototype.update__I__D__V = (function(index, elem) { this.array$6.u[index] = elem }); $c_scm_WrappedArray$ofDouble.prototype.elemTag__s_reflect_ClassTag = (function() { return $m_s_reflect_ManifestFactory$DoubleManifest$() }); $c_scm_WrappedArray$ofDouble.prototype.array__O = (function() { return this.array$6 }); $c_scm_WrappedArray$ofDouble.prototype.apply$mcDI$sp__I__D = (function(index) { return this.array$6.u[index] }); var $d_scm_WrappedArray$ofDouble = new $TypeData().initClass({ scm_WrappedArray$ofDouble: 0 }, false, "scala.collection.mutable.WrappedArray$ofDouble", { scm_WrappedArray$ofDouble: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofDouble.prototype.$classData = $d_scm_WrappedArray$ofDouble; /** @constructor */ function $c_scm_WrappedArray$ofFloat() { $c_scm_WrappedArray.call(this); this.array$6 = null } $c_scm_WrappedArray$ofFloat.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofFloat.prototype.constructor = $c_scm_WrappedArray$ofFloat; /** @constructor */ function $h_scm_WrappedArray$ofFloat() { /*<skip>*/ } $h_scm_WrappedArray$ofFloat.prototype = $c_scm_WrappedArray$ofFloat.prototype; $c_scm_WrappedArray$ofFloat.prototype.apply__I__O = (function(index) { return this.apply$mcFI$sp__I__F(index) }); $c_scm_WrappedArray$ofFloat.prototype.apply__O__O = (function(v1) { var index = $uI(v1); return this.apply$mcFI$sp__I__F(index) }); $c_scm_WrappedArray$ofFloat.prototype.update__I__O__V = (function(index, elem) { this.update__I__F__V(index, $uF(elem)) }); $c_scm_WrappedArray$ofFloat.prototype.init___AF = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofFloat.prototype.apply$mcFI$sp__I__F = (function(index) { return this.array$6.u[index] }); $c_scm_WrappedArray$ofFloat.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofFloat.prototype.update__I__F__V = (function(index, elem) { this.array$6.u[index] = elem }); $c_scm_WrappedArray$ofFloat.prototype.elemTag__s_reflect_ClassTag = (function() { return $m_s_reflect_ManifestFactory$FloatManifest$() }); $c_scm_WrappedArray$ofFloat.prototype.array__O = (function() { return this.array$6 }); var $d_scm_WrappedArray$ofFloat = new $TypeData().initClass({ scm_WrappedArray$ofFloat: 0 }, false, "scala.collection.mutable.WrappedArray$ofFloat", { scm_WrappedArray$ofFloat: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofFloat.prototype.$classData = $d_scm_WrappedArray$ofFloat; /** @constructor */ function $c_scm_WrappedArray$ofInt() { $c_scm_WrappedArray.call(this); this.array$6 = null } $c_scm_WrappedArray$ofInt.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofInt.prototype.constructor = $c_scm_WrappedArray$ofInt; /** @constructor */ function $h_scm_WrappedArray$ofInt() { /*<skip>*/ } $h_scm_WrappedArray$ofInt.prototype = $c_scm_WrappedArray$ofInt.prototype; $c_scm_WrappedArray$ofInt.prototype.apply__I__O = (function(index) { return this.apply$mcII$sp__I__I(index) }); $c_scm_WrappedArray$ofInt.prototype.apply__O__O = (function(v1) { var index = $uI(v1); return this.apply$mcII$sp__I__I(index) }); $c_scm_WrappedArray$ofInt.prototype.update__I__O__V = (function(index, elem) { this.update__I__I__V(index, $uI(elem)) }); $c_scm_WrappedArray$ofInt.prototype.update__I__I__V = (function(index, elem) { this.array$6.u[index] = elem }); $c_scm_WrappedArray$ofInt.prototype.apply$mcII$sp__I__I = (function(index) { return this.array$6.u[index] }); $c_scm_WrappedArray$ofInt.prototype.init___AI = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofInt.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofInt.prototype.elemTag__s_reflect_ClassTag = (function() { return $m_s_reflect_ManifestFactory$IntManifest$() }); $c_scm_WrappedArray$ofInt.prototype.array__O = (function() { return this.array$6 }); function $is_scm_WrappedArray$ofInt(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_WrappedArray$ofInt))) } function $as_scm_WrappedArray$ofInt(obj) { return (($is_scm_WrappedArray$ofInt(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.WrappedArray$ofInt")) } function $isArrayOf_scm_WrappedArray$ofInt(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_WrappedArray$ofInt))) } function $asArrayOf_scm_WrappedArray$ofInt(obj, depth) { return (($isArrayOf_scm_WrappedArray$ofInt(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.WrappedArray$ofInt;", depth)) } var $d_scm_WrappedArray$ofInt = new $TypeData().initClass({ scm_WrappedArray$ofInt: 0 }, false, "scala.collection.mutable.WrappedArray$ofInt", { scm_WrappedArray$ofInt: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofInt.prototype.$classData = $d_scm_WrappedArray$ofInt; /** @constructor */ function $c_scm_WrappedArray$ofLong() { $c_scm_WrappedArray.call(this); this.array$6 = null } $c_scm_WrappedArray$ofLong.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofLong.prototype.constructor = $c_scm_WrappedArray$ofLong; /** @constructor */ function $h_scm_WrappedArray$ofLong() { /*<skip>*/ } $h_scm_WrappedArray$ofLong.prototype = $c_scm_WrappedArray$ofLong.prototype; $c_scm_WrappedArray$ofLong.prototype.apply__I__O = (function(index) { return this.apply$mcJI$sp__I__J(index) }); $c_scm_WrappedArray$ofLong.prototype.apply__O__O = (function(v1) { var index = $uI(v1); return this.apply$mcJI$sp__I__J(index) }); $c_scm_WrappedArray$ofLong.prototype.init___AJ = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofLong.prototype.update__I__O__V = (function(index, elem) { this.update__I__J__V(index, $uJ(elem)) }); $c_scm_WrappedArray$ofLong.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofLong.prototype.update__I__J__V = (function(index, elem) { this.array$6.u[index] = elem }); $c_scm_WrappedArray$ofLong.prototype.elemTag__s_reflect_ClassTag = (function() { return $m_s_reflect_ManifestFactory$LongManifest$() }); $c_scm_WrappedArray$ofLong.prototype.array__O = (function() { return this.array$6 }); $c_scm_WrappedArray$ofLong.prototype.apply$mcJI$sp__I__J = (function(index) { return this.array$6.u[index] }); var $d_scm_WrappedArray$ofLong = new $TypeData().initClass({ scm_WrappedArray$ofLong: 0 }, false, "scala.collection.mutable.WrappedArray$ofLong", { scm_WrappedArray$ofLong: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofLong.prototype.$classData = $d_scm_WrappedArray$ofLong; /** @constructor */ function $c_scm_WrappedArray$ofRef() { $c_scm_WrappedArray.call(this); this.array$6 = null; this.elemTag$6 = null; this.bitmap$0$6 = false } $c_scm_WrappedArray$ofRef.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofRef.prototype.constructor = $c_scm_WrappedArray$ofRef; /** @constructor */ function $h_scm_WrappedArray$ofRef() { /*<skip>*/ } $h_scm_WrappedArray$ofRef.prototype = $c_scm_WrappedArray$ofRef.prototype; $c_scm_WrappedArray$ofRef.prototype.apply__O__O = (function(v1) { return this.apply__I__O($uI(v1)) }); $c_scm_WrappedArray$ofRef.prototype.apply__I__O = (function(index) { return this.array$6.u[index] }); $c_scm_WrappedArray$ofRef.prototype.update__I__O__V = (function(index, elem) { this.array$6.u[index] = elem }); $c_scm_WrappedArray$ofRef.prototype.elemTag$lzycompute__p6__s_reflect_ClassTag = (function() { if ((!this.bitmap$0$6)) { var jsx$1 = $m_s_reflect_ClassTag$(); var this$1 = this.array$6; var schematic = $objectGetClass(this$1); this.elemTag$6 = jsx$1.apply__jl_Class__s_reflect_ClassTag(schematic.getComponentType__jl_Class()); this.bitmap$0$6 = true }; return this.elemTag$6 }); $c_scm_WrappedArray$ofRef.prototype.init___AO = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofRef.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofRef.prototype.elemTag__s_reflect_ClassTag = (function() { return ((!this.bitmap$0$6) ? this.elemTag$lzycompute__p6__s_reflect_ClassTag() : this.elemTag$6) }); $c_scm_WrappedArray$ofRef.prototype.array__O = (function() { return this.array$6 }); function $is_scm_WrappedArray$ofRef(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_WrappedArray$ofRef))) } function $as_scm_WrappedArray$ofRef(obj) { return (($is_scm_WrappedArray$ofRef(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.WrappedArray$ofRef")) } function $isArrayOf_scm_WrappedArray$ofRef(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_WrappedArray$ofRef))) } function $asArrayOf_scm_WrappedArray$ofRef(obj, depth) { return (($isArrayOf_scm_WrappedArray$ofRef(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.WrappedArray$ofRef;", depth)) } var $d_scm_WrappedArray$ofRef = new $TypeData().initClass({ scm_WrappedArray$ofRef: 0 }, false, "scala.collection.mutable.WrappedArray$ofRef", { scm_WrappedArray$ofRef: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofRef.prototype.$classData = $d_scm_WrappedArray$ofRef; /** @constructor */ function $c_scm_WrappedArray$ofShort() { $c_scm_WrappedArray.call(this); this.array$6 = null } $c_scm_WrappedArray$ofShort.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofShort.prototype.constructor = $c_scm_WrappedArray$ofShort; /** @constructor */ function $h_scm_WrappedArray$ofShort() { /*<skip>*/ } $h_scm_WrappedArray$ofShort.prototype = $c_scm_WrappedArray$ofShort.prototype; $c_scm_WrappedArray$ofShort.prototype.apply__I__O = (function(index) { return this.apply__I__S(index) }); $c_scm_WrappedArray$ofShort.prototype.apply__O__O = (function(v1) { return this.apply__I__S($uI(v1)) }); $c_scm_WrappedArray$ofShort.prototype.init___AS = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofShort.prototype.update__I__O__V = (function(index, elem) { this.update__I__S__V(index, $uS(elem)) }); $c_scm_WrappedArray$ofShort.prototype.update__I__S__V = (function(index, elem) { this.array$6.u[index] = elem }); $c_scm_WrappedArray$ofShort.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofShort.prototype.elemTag__s_reflect_ClassTag = (function() { return $m_s_reflect_ManifestFactory$ShortManifest$() }); $c_scm_WrappedArray$ofShort.prototype.array__O = (function() { return this.array$6 }); $c_scm_WrappedArray$ofShort.prototype.apply__I__S = (function(index) { return this.array$6.u[index] }); var $d_scm_WrappedArray$ofShort = new $TypeData().initClass({ scm_WrappedArray$ofShort: 0 }, false, "scala.collection.mutable.WrappedArray$ofShort", { scm_WrappedArray$ofShort: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofShort.prototype.$classData = $d_scm_WrappedArray$ofShort; /** @constructor */ function $c_scm_WrappedArray$ofUnit() { $c_scm_WrappedArray.call(this); this.array$6 = null } $c_scm_WrappedArray$ofUnit.prototype = new $h_scm_WrappedArray(); $c_scm_WrappedArray$ofUnit.prototype.constructor = $c_scm_WrappedArray$ofUnit; /** @constructor */ function $h_scm_WrappedArray$ofUnit() { /*<skip>*/ } $h_scm_WrappedArray$ofUnit.prototype = $c_scm_WrappedArray$ofUnit.prototype; $c_scm_WrappedArray$ofUnit.prototype.apply__I__O = (function(index) { this.apply$mcVI$sp__I__V(index) }); $c_scm_WrappedArray$ofUnit.prototype.apply__O__O = (function(v1) { var index = $uI(v1); this.apply$mcVI$sp__I__V(index) }); $c_scm_WrappedArray$ofUnit.prototype.apply$mcVI$sp__I__V = (function(index) { this.array$6.u[index] }); $c_scm_WrappedArray$ofUnit.prototype.update__I__O__V = (function(index, elem) { this.update__I__sr_BoxedUnit__V(index, $asUnit(elem)) }); $c_scm_WrappedArray$ofUnit.prototype.length__I = (function() { return this.array$6.u.length }); $c_scm_WrappedArray$ofUnit.prototype.init___Asr_BoxedUnit = (function(array) { this.array$6 = array; return this }); $c_scm_WrappedArray$ofUnit.prototype.elemTag__s_reflect_ClassTag = (function() { return $m_s_reflect_ManifestFactory$UnitManifest$() }); $c_scm_WrappedArray$ofUnit.prototype.array__O = (function() { return this.array$6 }); $c_scm_WrappedArray$ofUnit.prototype.update__I__sr_BoxedUnit__V = (function(index, elem) { this.array$6.u[index] = elem }); var $d_scm_WrappedArray$ofUnit = new $TypeData().initClass({ scm_WrappedArray$ofUnit: 0 }, false, "scala.collection.mutable.WrappedArray$ofUnit", { scm_WrappedArray$ofUnit: 1, scm_WrappedArray: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_WrappedArray$ofUnit.prototype.$classData = $d_scm_WrappedArray$ofUnit; /** @constructor */ function $c_scm_ListBuffer() { $c_scm_AbstractBuffer.call(this); this.scala$collection$mutable$ListBuffer$$start$6 = null; this.last0$6 = null; this.exported$6 = false; this.len$6 = 0 } $c_scm_ListBuffer.prototype = new $h_scm_AbstractBuffer(); $c_scm_ListBuffer.prototype.constructor = $c_scm_ListBuffer; /** @constructor */ function $h_scm_ListBuffer() { /*<skip>*/ } $h_scm_ListBuffer.prototype = $c_scm_ListBuffer.prototype; $c_scm_ListBuffer.prototype.copy__p6__V = (function() { if (this.scala$collection$mutable$ListBuffer$$start$6.isEmpty__Z()) { return (void 0) }; var cursor = this.scala$collection$mutable$ListBuffer$$start$6; var this$1 = this.last0$6; var limit = this$1.tl$5; this.clear__V(); while ((cursor !== limit)) { this.$$plus$eq__O__scm_ListBuffer(cursor.head__O()); cursor = $as_sci_List(cursor.tail__O()) } }); $c_scm_ListBuffer.prototype.indexOf__O__I__I = (function(elem, from) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_GenSeqLike$class__indexOf__sc_GenSeqLike__O__I__I(this$1, elem, from) }); $c_scm_ListBuffer.prototype.repr__scg_Subtractable = (function() { return this }); $c_scm_ListBuffer.prototype.init___ = (function() { this.scala$collection$mutable$ListBuffer$$start$6 = $m_sci_Nil$(); this.exported$6 = false; this.len$6 = 0; return this }); $c_scm_ListBuffer.prototype.head__O = (function() { return this.scala$collection$mutable$ListBuffer$$start$6.head__O() }); $c_scm_ListBuffer.prototype.apply__I__O = (function(n) { if (((n < 0) || (n >= this.len$6))) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + n)) } else { var this$2 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__apply__sc_LinearSeqOptimized__I__O(this$2, n) } }); $c_scm_ListBuffer.prototype.lengthCompare__I__I = (function(len) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__lengthCompare__sc_LinearSeqOptimized__I__I(this$1, len) }); $c_scm_ListBuffer.prototype.apply__O__O = (function(v1) { return this.apply__I__O($uI(v1)) }); $c_scm_ListBuffer.prototype.sameElements__sc_GenIterable__Z = (function(that) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__sameElements__sc_LinearSeqOptimized__sc_GenIterable__Z(this$1, that) }); $c_scm_ListBuffer.prototype.$$minus__O__scg_Subtractable = (function(elem) { var this$1 = new $c_scm_ListBuffer().init___().$$plus$plus$eq__sc_TraversableOnce__scm_ListBuffer(this); return this$1.$$minus$eq__O__scm_ListBuffer(elem) }); $c_scm_ListBuffer.prototype.exists__F1__Z = (function(p) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__exists__sc_LinearSeqOptimized__F1__Z(this$1, p) }); $c_scm_ListBuffer.prototype.toList__sci_List = (function() { this.exported$6 = (!this.scala$collection$mutable$ListBuffer$$start$6.isEmpty__Z()); return this.scala$collection$mutable$ListBuffer$$start$6 }); $c_scm_ListBuffer.prototype.isEmpty__Z = (function() { return this.scala$collection$mutable$ListBuffer$$start$6.isEmpty__Z() }); $c_scm_ListBuffer.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_scm_ListBuffer.prototype.equals__O__Z = (function(that) { if ($is_scm_ListBuffer(that)) { var x2 = $as_scm_ListBuffer(that); return this.scala$collection$mutable$ListBuffer$$start$6.equals__O__Z(x2.scala$collection$mutable$ListBuffer$$start$6) } else { return $s_sc_GenSeqLike$class__equals__sc_GenSeqLike__O__Z(this, that) } }); $c_scm_ListBuffer.prototype.count__F1__I = (function(p) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_TraversableOnce$class__count__sc_TraversableOnce__F1__I(this$1, p) }); $c_scm_ListBuffer.prototype.mkString__T__T__T__T = (function(start, sep, end) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this$1, start, sep, end) }); $c_scm_ListBuffer.prototype.mkString__T__T = (function(sep) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this$1, "", sep, "") }); $c_scm_ListBuffer.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__scm_ListBuffer(elem) }); $c_scm_ListBuffer.prototype.forall__F1__Z = (function(p) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__forall__sc_LinearSeqOptimized__F1__Z(this$1, p) }); $c_scm_ListBuffer.prototype.companion__scg_GenericCompanion = (function() { return $m_scm_ListBuffer$() }); $c_scm_ListBuffer.prototype.foreach__F1__V = (function(f) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; var these = this$1; while ((!these.isEmpty__Z())) { f.apply__O__O(these.head__O()); these = $as_sci_List(these.tail__O()) } }); $c_scm_ListBuffer.prototype.foldLeft__O__F2__O = (function(z, op) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__foldLeft__sc_LinearSeqOptimized__O__F2__O(this$1, z, op) }); $c_scm_ListBuffer.prototype.indexWhere__F1__I__I = (function(p, from) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__indexWhere__sc_LinearSeqOptimized__F1__I__I(this$1, p, from) }); $c_scm_ListBuffer.prototype.size__I = (function() { return this.len$6 }); $c_scm_ListBuffer.prototype.result__O = (function() { return this.toList__sci_List() }); $c_scm_ListBuffer.prototype.iterator__sc_Iterator = (function() { return new $c_scm_ListBuffer$$anon$1().init___scm_ListBuffer(this) }); $c_scm_ListBuffer.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_ListBuffer.prototype.mkString__T = (function() { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_TraversableOnce$class__mkString__sc_TraversableOnce__T__T__T__T(this$1, "", "", "") }); $c_scm_ListBuffer.prototype.length__I = (function() { return this.len$6 }); $c_scm_ListBuffer.prototype.seq__sc_Seq = (function() { return this }); $c_scm_ListBuffer.prototype.remove__I__O = (function(n) { if (((n < 0) || (n >= this.len$6))) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + n)) }; if (this.exported$6) { this.copy__p6__V() }; var old = this.scala$collection$mutable$ListBuffer$$start$6.head__O(); if ((n === 0)) { this.scala$collection$mutable$ListBuffer$$start$6 = $as_sci_List(this.scala$collection$mutable$ListBuffer$$start$6.tail__O()) } else { var cursor = this.scala$collection$mutable$ListBuffer$$start$6; var i = 1; while ((i < n)) { cursor = $as_sci_List(cursor.tail__O()); i = ((1 + i) | 0) }; old = $as_sc_IterableLike(cursor.tail__O()).head__O(); if ((this.last0$6 === cursor.tail__O())) { this.last0$6 = $as_sci_$colon$colon(cursor) }; $as_sci_$colon$colon(cursor).tl$5 = $as_sci_List($as_sc_TraversableLike(cursor.tail__O()).tail__O()) }; this.reduceLengthBy__p6__I__V(1); return old }); $c_scm_ListBuffer.prototype.$$minus$eq__O__scm_ListBuffer = (function(elem) { if (this.exported$6) { this.copy__p6__V() }; if ((!this.scala$collection$mutable$ListBuffer$$start$6.isEmpty__Z())) { if ($m_sr_BoxesRunTime$().equals__O__O__Z(this.scala$collection$mutable$ListBuffer$$start$6.head__O(), elem)) { this.scala$collection$mutable$ListBuffer$$start$6 = $as_sci_List(this.scala$collection$mutable$ListBuffer$$start$6.tail__O()); this.reduceLengthBy__p6__I__V(1) } else { var cursor = this.scala$collection$mutable$ListBuffer$$start$6; while (((!$as_sc_SeqLike(cursor.tail__O()).isEmpty__Z()) && (!$m_sr_BoxesRunTime$().equals__O__O__Z($as_sc_IterableLike(cursor.tail__O()).head__O(), elem)))) { cursor = $as_sci_List(cursor.tail__O()) }; if ((!$as_sc_SeqLike(cursor.tail__O()).isEmpty__Z())) { var z = $as_sci_$colon$colon(cursor); var x = z.tl$5; var x$2 = this.last0$6; if (((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))) { this.last0$6 = z }; z.tl$5 = $as_sci_List($as_sc_TraversableLike(cursor.tail__O()).tail__O()); this.reduceLengthBy__p6__I__V(1) } } }; return this }); $c_scm_ListBuffer.prototype.toStream__sci_Stream = (function() { return this.scala$collection$mutable$ListBuffer$$start$6.toStream__sci_Stream() }); $c_scm_ListBuffer.prototype.last__O = (function() { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__last__sc_LinearSeqOptimized__O(this$1) }); $c_scm_ListBuffer.prototype.prependToList__sci_List__sci_List = (function(xs) { if (this.scala$collection$mutable$ListBuffer$$start$6.isEmpty__Z()) { return xs } else { if (this.exported$6) { this.copy__p6__V() }; this.last0$6.tl$5 = xs; return this.toList__sci_List() } }); $c_scm_ListBuffer.prototype.reduceLengthBy__p6__I__V = (function(num) { this.len$6 = ((this.len$6 - num) | 0); if ((this.len$6 <= 0)) { this.last0$6 = null } }); $c_scm_ListBuffer.prototype.contains__O__Z = (function(elem) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__contains__sc_LinearSeqOptimized__O__Z(this$1, elem) }); $c_scm_ListBuffer.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(b, start, sep, end) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_TraversableOnce$class__addString__sc_TraversableOnce__scm_StringBuilder__T__T__T__scm_StringBuilder(this$1, b, start, sep, end) }); $c_scm_ListBuffer.prototype.$$plus$eq__O__scm_ListBuffer = (function(x) { if (this.exported$6) { this.copy__p6__V() }; if (this.scala$collection$mutable$ListBuffer$$start$6.isEmpty__Z()) { this.last0$6 = new $c_sci_$colon$colon().init___O__sci_List(x, $m_sci_Nil$()); this.scala$collection$mutable$ListBuffer$$start$6 = this.last0$6 } else { var last1 = this.last0$6; this.last0$6 = new $c_sci_$colon$colon().init___O__sci_List(x, $m_sci_Nil$()); last1.tl$5 = this.last0$6 }; this.len$6 = ((1 + this.len$6) | 0); return this }); $c_scm_ListBuffer.prototype.toSeq__sc_Seq = (function() { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return this$1 }); $c_scm_ListBuffer.prototype.max__s_math_Ordering__O = (function(cmp) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_TraversableOnce$class__max__sc_TraversableOnce__s_math_Ordering__O(this$1, cmp) }); $c_scm_ListBuffer.prototype.$$minus$eq__O__scm_Buffer = (function(x) { return this.$$minus$eq__O__scm_ListBuffer(x) }); $c_scm_ListBuffer.prototype.isDefinedAt__O__Z = (function(x) { var x$1 = $uI(x); var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__isDefinedAt__sc_LinearSeqOptimized__I__Z(this$1, x$1) }); $c_scm_ListBuffer.prototype.toSet__sci_Set = (function() { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; var this$2 = $m_sci_Set$(); var cbf = new $c_scg_GenSetFactory$$anon$1().init___scg_GenSetFactory(this$2); return $as_sci_Set($s_sc_TraversableLike$class__to__sc_TraversableLike__scg_CanBuildFrom__O(this$1, cbf)) }); $c_scm_ListBuffer.prototype.$$div$colon__O__F2__O = (function(z, op) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__foldLeft__sc_LinearSeqOptimized__O__F2__O(this$1, z, op) }); $c_scm_ListBuffer.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__scm_ListBuffer(elem) }); $c_scm_ListBuffer.prototype.indexOf__O__I = (function(elem) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_GenSeqLike$class__indexOf__sc_GenSeqLike__O__I__I(this$1, elem, 0) }); $c_scm_ListBuffer.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_scm_ListBuffer.prototype.toMap__s_Predef$$less$colon$less__sci_Map = (function(ev) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; var b = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$()); var these = this$1; while ((!these.isEmpty__Z())) { var arg1 = these.head__O(); b.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1)); these = $as_sci_List(these.tail__O()) }; return $as_sci_Map(b.elems$1) }); $c_scm_ListBuffer.prototype.sum__s_math_Numeric__O = (function(num) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_TraversableOnce$class__sum__sc_TraversableOnce__s_math_Numeric__O(this$1, num) }); $c_scm_ListBuffer.prototype.clear__V = (function() { this.scala$collection$mutable$ListBuffer$$start$6 = $m_sci_Nil$(); this.last0$6 = null; this.exported$6 = false; this.len$6 = 0 }); $c_scm_ListBuffer.prototype.$$plus$plus$eq__sc_TraversableOnce__scm_ListBuffer = (function(xs) { _$plus$plus$eq: while (true) { var x1 = xs; if ((x1 !== null)) { if ((x1 === this)) { var n = this.len$6; xs = $as_sc_TraversableOnce($s_sc_IterableLike$class__take__sc_IterableLike__I__O(this, n)); continue _$plus$plus$eq } }; return $as_scm_ListBuffer($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs)) } }); $c_scm_ListBuffer.prototype.reduceLeft__F2__O = (function(op) { var this$1 = this.scala$collection$mutable$ListBuffer$$start$6; return $s_sc_LinearSeqOptimized$class__reduceLeft__sc_LinearSeqOptimized__F2__O(this$1, op) }); $c_scm_ListBuffer.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return this.$$plus$plus$eq__sc_TraversableOnce__scm_ListBuffer(xs) }); $c_scm_ListBuffer.prototype.stringPrefix__T = (function() { return "ListBuffer" }); function $is_scm_ListBuffer(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_ListBuffer))) } function $as_scm_ListBuffer(obj) { return (($is_scm_ListBuffer(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.ListBuffer")) } function $isArrayOf_scm_ListBuffer(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_ListBuffer))) } function $asArrayOf_scm_ListBuffer(obj, depth) { return (($isArrayOf_scm_ListBuffer(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.ListBuffer;", depth)) } var $d_scm_ListBuffer = new $TypeData().initClass({ scm_ListBuffer: 0 }, false, "scala.collection.mutable.ListBuffer", { scm_ListBuffer: 1, scm_AbstractBuffer: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_Buffer: 1, scm_BufferLike: 1, scg_Growable: 1, scg_Clearable: 1, scg_Shrinkable: 1, sc_script_Scriptable: 1, scg_Subtractable: 1, scm_Builder: 1, scg_SeqForwarder: 1, scg_IterableForwarder: 1, scg_TraversableForwarder: 1, Ljava_io_Serializable: 1 }); $c_scm_ListBuffer.prototype.$classData = $d_scm_ListBuffer; /** @constructor */ function $c_scm_StringBuilder() { $c_scm_AbstractSeq.call(this); this.underlying$5 = null } $c_scm_StringBuilder.prototype = new $h_scm_AbstractSeq(); $c_scm_StringBuilder.prototype.constructor = $c_scm_StringBuilder; /** @constructor */ function $h_scm_StringBuilder() { /*<skip>*/ } $h_scm_StringBuilder.prototype = $c_scm_StringBuilder.prototype; $c_scm_StringBuilder.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_scm_StringBuilder.prototype.init___ = (function() { $c_scm_StringBuilder.prototype.init___I__T.call(this, 16, ""); return this }); $c_scm_StringBuilder.prototype.$$plus$eq__C__scm_StringBuilder = (function(x) { this.append__C__scm_StringBuilder(x); return this }); $c_scm_StringBuilder.prototype.head__O = (function() { return $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this) }); $c_scm_StringBuilder.prototype.apply__I__O = (function(idx) { var this$1 = this.underlying$5; var thiz = this$1.content$1; var c = (65535 & $uI(thiz.charCodeAt(idx))); return new $c_jl_Character().init___C(c) }); $c_scm_StringBuilder.prototype.lengthCompare__I__I = (function(len) { return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len) }); $c_scm_StringBuilder.prototype.apply__O__O = (function(v1) { var index = $uI(v1); var this$1 = this.underlying$5; var thiz = this$1.content$1; var c = (65535 & $uI(thiz.charCodeAt(index))); return new $c_jl_Character().init___C(c) }); $c_scm_StringBuilder.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that) }); $c_scm_StringBuilder.prototype.exists__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__exists__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_scm_StringBuilder.prototype.isEmpty__Z = (function() { return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this) }); $c_scm_StringBuilder.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_scm_StringBuilder.prototype.subSequence__I__I__jl_CharSequence = (function(start, end) { var this$1 = this.underlying$5; var thiz = this$1.content$1; return $as_T(thiz.substring(start, end)) }); $c_scm_StringBuilder.prototype.apply__I__C = (function(index) { var this$1 = this.underlying$5; var thiz = this$1.content$1; return (65535 & $uI(thiz.charCodeAt(index))) }); $c_scm_StringBuilder.prototype.$$plus$eq__O__scg_Growable = (function(elem) { if ((elem === null)) { var jsx$1 = 0 } else { var this$2 = $as_jl_Character(elem); var jsx$1 = this$2.value$1 }; return this.$$plus$eq__C__scm_StringBuilder(jsx$1) }); $c_scm_StringBuilder.prototype.forall__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__forall__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_scm_StringBuilder.prototype.init__O = (function() { return $s_sc_IndexedSeqOptimized$class__init__sc_IndexedSeqOptimized__O(this) }); $c_scm_StringBuilder.prototype.toString__T = (function() { var this$1 = this.underlying$5; return this$1.content$1 }); $c_scm_StringBuilder.prototype.companion__scg_GenericCompanion = (function() { return $m_scm_IndexedSeq$() }); $c_scm_StringBuilder.prototype.foreach__F1__V = (function(f) { $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f) }); $c_scm_StringBuilder.prototype.compareTo__O__I = (function(that) { var other = $as_T(that); var this$1 = this.underlying$5; var thiz = this$1.content$1; return ((thiz === other) ? 0 : ($uZ((thiz < other)) ? (-1) : 1)) }); $c_scm_StringBuilder.prototype.foldLeft__O__F2__O = (function(z, op) { var this$1 = this.underlying$5; var thiz = this$1.content$1; return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, $uI(thiz.length), z, op) }); $c_scm_StringBuilder.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_IndexedSeqOptimized$class__indexWhere__sc_IndexedSeqOptimized__F1__I__I(this, p, from) }); $c_scm_StringBuilder.prototype.slice__I__I__O = (function(from, until) { return $s_sci_StringLike$class__slice__sci_StringLike__I__I__O(this, from, until) }); $c_scm_StringBuilder.prototype.reverse__O = (function() { return this.reverse__scm_StringBuilder() }); $c_scm_StringBuilder.prototype.result__O = (function() { var this$1 = this.underlying$5; return this$1.content$1 }); $c_scm_StringBuilder.prototype.append__T__scm_StringBuilder = (function(s) { this.underlying$5.append__T__jl_StringBuilder(s); return this }); $c_scm_StringBuilder.prototype.seq__scm_Seq = (function() { return this }); $c_scm_StringBuilder.prototype.iterator__sc_Iterator = (function() { var this$1 = this.underlying$5; var thiz = this$1.content$1; return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $uI(thiz.length)) }); $c_scm_StringBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_StringBuilder.prototype.span__F1__T2 = (function(p) { return $s_sc_IndexedSeqOptimized$class__span__sc_IndexedSeqOptimized__F1__T2(this, p) }); $c_scm_StringBuilder.prototype.init___I__T = (function(initCapacity, initValue) { $c_scm_StringBuilder.prototype.init___jl_StringBuilder.call(this, new $c_jl_StringBuilder().init___I((($uI(initValue.length) + initCapacity) | 0)).append__T__jl_StringBuilder(initValue)); return this }); $c_scm_StringBuilder.prototype.mkString__T = (function() { var this$1 = this.underlying$5; return this$1.content$1 }); $c_scm_StringBuilder.prototype.zipWithIndex__scg_CanBuildFrom__O = (function(bf) { return $s_sc_IndexedSeqOptimized$class__zipWithIndex__sc_IndexedSeqOptimized__scg_CanBuildFrom__O(this, bf) }); $c_scm_StringBuilder.prototype.length__I = (function() { var this$1 = this.underlying$5; var thiz = this$1.content$1; return $uI(thiz.length) }); $c_scm_StringBuilder.prototype.seq__sc_Seq = (function() { return this }); $c_scm_StringBuilder.prototype.take__I__O = (function(n) { return $s_sci_StringLike$class__slice__sci_StringLike__I__I__O(this, 0, n) }); $c_scm_StringBuilder.prototype.last__O = (function() { return $s_sc_IndexedSeqOptimized$class__last__sc_IndexedSeqOptimized__O(this) }); $c_scm_StringBuilder.prototype.drop__I__O = (function(n) { var this$1 = this.underlying$5; var thiz = this$1.content$1; var until = $uI(thiz.length); return $s_sci_StringLike$class__slice__sci_StringLike__I__I__O(this, n, until) }); $c_scm_StringBuilder.prototype.thisCollection__sc_Seq = (function() { return this }); $c_scm_StringBuilder.prototype.tail__O = (function() { return $s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O(this) }); $c_scm_StringBuilder.prototype.init___jl_StringBuilder = (function(underlying) { this.underlying$5 = underlying; return this }); $c_scm_StringBuilder.prototype.append__O__scm_StringBuilder = (function(x) { this.underlying$5.append__T__jl_StringBuilder($m_sjsr_RuntimeString$().valueOf__O__T(x)); return this }); $c_scm_StringBuilder.prototype.isDefinedAt__O__Z = (function(x) { var idx = $uI(x); return $s_sc_GenSeqLike$class__isDefinedAt__sc_GenSeqLike__I__Z(this, idx) }); $c_scm_StringBuilder.prototype.$$plus$eq__O__scm_Builder = (function(elem) { if ((elem === null)) { var jsx$1 = 0 } else { var this$2 = $as_jl_Character(elem); var jsx$1 = this$2.value$1 }; return this.$$plus$eq__C__scm_StringBuilder(jsx$1) }); $c_scm_StringBuilder.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_scm_StringBuilder.prototype.copyToArray__O__I__I__V = (function(xs, start, len) { $s_sc_IndexedSeqOptimized$class__copyToArray__sc_IndexedSeqOptimized__O__I__I__V(this, xs, start, len) }); $c_scm_StringBuilder.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) }); $c_scm_StringBuilder.prototype.reverse__scm_StringBuilder = (function() { return new $c_scm_StringBuilder().init___jl_StringBuilder(new $c_jl_StringBuilder().init___jl_CharSequence(this.underlying$5).reverse__jl_StringBuilder()) }); $c_scm_StringBuilder.prototype.append__C__scm_StringBuilder = (function(x) { this.underlying$5.append__C__jl_StringBuilder(x); return this }); $c_scm_StringBuilder.prototype.toCollection__O__sc_Seq = (function(repr) { var repr$1 = $as_scm_StringBuilder(repr); return repr$1 }); $c_scm_StringBuilder.prototype.reduceLeft__F2__O = (function(op) { return $s_sc_IndexedSeqOptimized$class__reduceLeft__sc_IndexedSeqOptimized__F2__O(this, op) }); $c_scm_StringBuilder.prototype.newBuilder__scm_Builder = (function() { return new $c_scm_GrowingBuilder().init___scg_Growable(new $c_scm_StringBuilder().init___()) }); $c_scm_StringBuilder.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return $s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs) }); $c_scm_StringBuilder.prototype.zip__sc_GenIterable__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_IndexedSeqOptimized$class__zip__sc_IndexedSeqOptimized__sc_GenIterable__scg_CanBuildFrom__O(this, that, bf) }); function $is_scm_StringBuilder(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_StringBuilder))) } function $as_scm_StringBuilder(obj) { return (($is_scm_StringBuilder(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.StringBuilder")) } function $isArrayOf_scm_StringBuilder(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_StringBuilder))) } function $asArrayOf_scm_StringBuilder(obj, depth) { return (($isArrayOf_scm_StringBuilder(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.StringBuilder;", depth)) } var $d_scm_StringBuilder = new $TypeData().initClass({ scm_StringBuilder: 0 }, false, "scala.collection.mutable.StringBuilder", { scm_StringBuilder: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, jl_CharSequence: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, sci_StringLike: 1, sc_IndexedSeqOptimized: 1, s_math_Ordered: 1, jl_Comparable: 1, scm_Builder: 1, scg_Growable: 1, scg_Clearable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_StringBuilder.prototype.$classData = $d_scm_StringBuilder; /** @constructor */ function $c_sjs_js_WrappedArray() { $c_scm_AbstractBuffer.call(this); this.array$6 = null } $c_sjs_js_WrappedArray.prototype = new $h_scm_AbstractBuffer(); $c_sjs_js_WrappedArray.prototype.constructor = $c_sjs_js_WrappedArray; /** @constructor */ function $h_sjs_js_WrappedArray() { /*<skip>*/ } $h_sjs_js_WrappedArray.prototype = $c_sjs_js_WrappedArray.prototype; $c_sjs_js_WrappedArray.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_sjs_js_WrappedArray.prototype.repr__scg_Subtractable = (function() { return this }); $c_sjs_js_WrappedArray.prototype.init___ = (function() { $c_sjs_js_WrappedArray.prototype.init___sjs_js_Array.call(this, []); return this }); $c_sjs_js_WrappedArray.prototype.head__O = (function() { return $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_WrappedArray.prototype.apply__I__O = (function(index) { return this.array$6[index] }); $c_sjs_js_WrappedArray.prototype.lengthCompare__I__I = (function(len) { return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len) }); $c_sjs_js_WrappedArray.prototype.apply__O__O = (function(v1) { var index = $uI(v1); return this.array$6[index] }); $c_sjs_js_WrappedArray.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that) }); $c_sjs_js_WrappedArray.prototype.$$minus__O__scg_Subtractable = (function(elem) { return $s_scm_BufferLike$class__clone__scm_Buffer__scm_Buffer(this).$$minus$eq__O__scm_Buffer(elem) }); $c_sjs_js_WrappedArray.prototype.exists__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__exists__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_sjs_js_WrappedArray.prototype.isEmpty__Z = (function() { return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this) }); $c_sjs_js_WrappedArray.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_sjs_js_WrappedArray.prototype.$$plus$eq__O__scg_Growable = (function(elem) { this.array$6.push(elem); return this }); $c_sjs_js_WrappedArray.prototype.forall__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__forall__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_sjs_js_WrappedArray.prototype.init__O = (function() { return $s_sc_IndexedSeqOptimized$class__init__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_WrappedArray.prototype.companion__scg_GenericCompanion = (function() { return $m_sjs_js_WrappedArray$() }); $c_sjs_js_WrappedArray.prototype.foreach__F1__V = (function(f) { $s_sc_IndexedSeqOptimized$class__foreach__sc_IndexedSeqOptimized__F1__V(this, f) }); $c_sjs_js_WrappedArray.prototype.foldLeft__O__F2__O = (function(z, op) { return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, $uI(this.array$6.length), z, op) }); $c_sjs_js_WrappedArray.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_IndexedSeqOptimized$class__indexWhere__sc_IndexedSeqOptimized__F1__I__I(this, p, from) }); $c_sjs_js_WrappedArray.prototype.slice__I__I__O = (function(from, until) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, from, until) }); $c_sjs_js_WrappedArray.prototype.reverse__O = (function() { return $s_sc_IndexedSeqOptimized$class__reverse__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_WrappedArray.prototype.result__O = (function() { return this }); $c_sjs_js_WrappedArray.prototype.seq__scm_Seq = (function() { return this }); $c_sjs_js_WrappedArray.prototype.iterator__sc_Iterator = (function() { return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $uI(this.array$6.length)) }); $c_sjs_js_WrappedArray.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_sjs_js_WrappedArray.prototype.span__F1__T2 = (function(p) { return $s_sc_IndexedSeqOptimized$class__span__sc_IndexedSeqOptimized__F1__T2(this, p) }); $c_sjs_js_WrappedArray.prototype.zipWithIndex__scg_CanBuildFrom__O = (function(bf) { return $s_sc_IndexedSeqOptimized$class__zipWithIndex__sc_IndexedSeqOptimized__scg_CanBuildFrom__O(this, bf) }); $c_sjs_js_WrappedArray.prototype.length__I = (function() { return $uI(this.array$6.length) }); $c_sjs_js_WrappedArray.prototype.seq__sc_Seq = (function() { return this }); $c_sjs_js_WrappedArray.prototype.remove__I__O = (function(n) { return this.array$6.splice(n, 1)[0] }); $c_sjs_js_WrappedArray.prototype.take__I__O = (function(n) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, 0, n) }); $c_sjs_js_WrappedArray.prototype.last__O = (function() { return $s_sc_IndexedSeqOptimized$class__last__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_WrappedArray.prototype.drop__I__O = (function(n) { var until = $uI(this.array$6.length); return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, n, until) }); $c_sjs_js_WrappedArray.prototype.thisCollection__sc_Seq = (function() { return this }); $c_sjs_js_WrappedArray.prototype.tail__O = (function() { return $s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O(this) }); $c_sjs_js_WrappedArray.prototype.isDefinedAt__O__Z = (function(x) { var idx = $uI(x); return $s_sc_GenSeqLike$class__isDefinedAt__sc_GenSeqLike__I__Z(this, idx) }); $c_sjs_js_WrappedArray.prototype.$$plus$eq__O__scm_Builder = (function(elem) { this.array$6.push(elem); return this }); $c_sjs_js_WrappedArray.prototype.sizeHint__I__V = (function(size) { /*<skip>*/ }); $c_sjs_js_WrappedArray.prototype.copyToArray__O__I__I__V = (function(xs, start, len) { $s_sc_IndexedSeqOptimized$class__copyToArray__sc_IndexedSeqOptimized__O__I__I__V(this, xs, start, len) }); $c_sjs_js_WrappedArray.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) }); $c_sjs_js_WrappedArray.prototype.init___sjs_js_Array = (function(array) { this.array$6 = array; return this }); $c_sjs_js_WrappedArray.prototype.toCollection__O__sc_Seq = (function(repr) { return $as_scm_IndexedSeq(repr) }); $c_sjs_js_WrappedArray.prototype.reduceLeft__F2__O = (function(op) { return $s_sc_IndexedSeqOptimized$class__reduceLeft__sc_IndexedSeqOptimized__F2__O(this, op) }); $c_sjs_js_WrappedArray.prototype.stringPrefix__T = (function() { return "WrappedArray" }); $c_sjs_js_WrappedArray.prototype.zip__sc_GenIterable__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_IndexedSeqOptimized$class__zip__sc_IndexedSeqOptimized__sc_GenIterable__scg_CanBuildFrom__O(this, that, bf) }); var $d_sjs_js_WrappedArray = new $TypeData().initClass({ sjs_js_WrappedArray: 0 }, false, "scala.scalajs.js.WrappedArray", { sjs_js_WrappedArray: 1, scm_AbstractBuffer: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_Buffer: 1, scm_BufferLike: 1, scg_Growable: 1, scg_Clearable: 1, scg_Shrinkable: 1, sc_script_Scriptable: 1, scg_Subtractable: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_IndexedSeqLike: 1, scm_IndexedSeqLike: 1, scm_ArrayLike: 1, scm_IndexedSeqOptimized: 1, sc_IndexedSeqOptimized: 1, scm_Builder: 1 }); $c_sjs_js_WrappedArray.prototype.$classData = $d_sjs_js_WrappedArray; /** @constructor */ function $c_scm_ArrayBuffer() { $c_scm_AbstractBuffer.call(this); this.initialSize$6 = 0; this.array$6 = null; this.size0$6 = 0 } $c_scm_ArrayBuffer.prototype = new $h_scm_AbstractBuffer(); $c_scm_ArrayBuffer.prototype.constructor = $c_scm_ArrayBuffer; /** @constructor */ function $h_scm_ArrayBuffer() { /*<skip>*/ } $h_scm_ArrayBuffer.prototype = $c_scm_ArrayBuffer.prototype; $c_scm_ArrayBuffer.prototype.seq__sc_TraversableOnce = (function() { return this }); $c_scm_ArrayBuffer.prototype.repr__scg_Subtractable = (function() { return this }); $c_scm_ArrayBuffer.prototype.$$plus$eq__O__scm_ArrayBuffer = (function(elem) { var n = ((1 + this.size0$6) | 0); $s_scm_ResizableArray$class__ensureSize__scm_ResizableArray__I__V(this, n); this.array$6.u[this.size0$6] = elem; this.size0$6 = ((1 + this.size0$6) | 0); return this }); $c_scm_ArrayBuffer.prototype.init___ = (function() { $c_scm_ArrayBuffer.prototype.init___I.call(this, 16); return this }); $c_scm_ArrayBuffer.prototype.head__O = (function() { return $s_sc_IndexedSeqOptimized$class__head__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayBuffer.prototype.remove__I__I__V = (function(n, count) { var requirement = (count >= 0); if ((!requirement)) { throw new $c_jl_IllegalArgumentException().init___T("requirement failed: removing negative number of elements") }; if (((n < 0) || (n > ((this.size0$6 - count) | 0)))) { throw new $c_jl_IndexOutOfBoundsException().init___T(("" + n)) }; var m = ((n + count) | 0); var len = ((this.size0$6 - ((n + count) | 0)) | 0); var src = this.array$6; var dest = this.array$6; $systemArraycopy(src, m, dest, n, len); var sz = ((this.size0$6 - count) | 0); $s_scm_ResizableArray$class__reduceToSize__scm_ResizableArray__I__V(this, sz) }); $c_scm_ArrayBuffer.prototype.apply__I__O = (function(idx) { return $s_scm_ResizableArray$class__apply__scm_ResizableArray__I__O(this, idx) }); $c_scm_ArrayBuffer.prototype.lengthCompare__I__I = (function(len) { return $s_sc_IndexedSeqOptimized$class__lengthCompare__sc_IndexedSeqOptimized__I__I(this, len) }); $c_scm_ArrayBuffer.prototype.apply__O__O = (function(v1) { var idx = $uI(v1); return $s_scm_ResizableArray$class__apply__scm_ResizableArray__I__O(this, idx) }); $c_scm_ArrayBuffer.prototype.sameElements__sc_GenIterable__Z = (function(that) { return $s_sc_IndexedSeqOptimized$class__sameElements__sc_IndexedSeqOptimized__sc_GenIterable__Z(this, that) }); $c_scm_ArrayBuffer.prototype.$$minus__O__scg_Subtractable = (function(elem) { return $s_scm_BufferLike$class__clone__scm_Buffer__scm_Buffer(this).$$minus$eq__O__scm_Buffer(elem) }); $c_scm_ArrayBuffer.prototype.exists__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__exists__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_scm_ArrayBuffer.prototype.isEmpty__Z = (function() { return $s_sc_IndexedSeqOptimized$class__isEmpty__sc_IndexedSeqOptimized__Z(this) }); $c_scm_ArrayBuffer.prototype.thisCollection__sc_Traversable = (function() { return this }); $c_scm_ArrayBuffer.prototype.$$plus$eq__O__scg_Growable = (function(elem) { return this.$$plus$eq__O__scm_ArrayBuffer(elem) }); $c_scm_ArrayBuffer.prototype.forall__F1__Z = (function(p) { return $s_sc_IndexedSeqOptimized$class__forall__sc_IndexedSeqOptimized__F1__Z(this, p) }); $c_scm_ArrayBuffer.prototype.init__O = (function() { return $s_sc_IndexedSeqOptimized$class__init__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayBuffer.prototype.companion__scg_GenericCompanion = (function() { return $m_scm_ArrayBuffer$() }); $c_scm_ArrayBuffer.prototype.foreach__F1__V = (function(f) { $s_scm_ResizableArray$class__foreach__scm_ResizableArray__F1__V(this, f) }); $c_scm_ArrayBuffer.prototype.foldLeft__O__F2__O = (function(z, op) { return $s_sc_IndexedSeqOptimized$class__foldl__p0__sc_IndexedSeqOptimized__I__I__O__F2__O(this, 0, this.size0$6, z, op) }); $c_scm_ArrayBuffer.prototype.indexWhere__F1__I__I = (function(p, from) { return $s_sc_IndexedSeqOptimized$class__indexWhere__sc_IndexedSeqOptimized__F1__I__I(this, p, from) }); $c_scm_ArrayBuffer.prototype.slice__I__I__O = (function(from, until) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, from, until) }); $c_scm_ArrayBuffer.prototype.reverse__O = (function() { return $s_sc_IndexedSeqOptimized$class__reverse__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayBuffer.prototype.result__O = (function() { return this }); $c_scm_ArrayBuffer.prototype.seq__scm_Seq = (function() { return this }); $c_scm_ArrayBuffer.prototype.iterator__sc_Iterator = (function() { return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, this.size0$6) }); $c_scm_ArrayBuffer.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) { $s_scm_Builder$class__sizeHintBounded__scm_Builder__I__sc_TraversableLike__V(this, size, boundingColl) }); $c_scm_ArrayBuffer.prototype.span__F1__T2 = (function(p) { return $s_sc_IndexedSeqOptimized$class__span__sc_IndexedSeqOptimized__F1__T2(this, p) }); $c_scm_ArrayBuffer.prototype.init___I = (function(initialSize) { this.initialSize$6 = initialSize; $s_scm_ResizableArray$class__$$init$__scm_ResizableArray__V(this); return this }); $c_scm_ArrayBuffer.prototype.length__I = (function() { return this.size0$6 }); $c_scm_ArrayBuffer.prototype.zipWithIndex__scg_CanBuildFrom__O = (function(bf) { return $s_sc_IndexedSeqOptimized$class__zipWithIndex__sc_IndexedSeqOptimized__scg_CanBuildFrom__O(this, bf) }); $c_scm_ArrayBuffer.prototype.seq__sc_Seq = (function() { return this }); $c_scm_ArrayBuffer.prototype.remove__I__O = (function(n) { var result = $s_scm_ResizableArray$class__apply__scm_ResizableArray__I__O(this, n); this.remove__I__I__V(n, 1); return result }); $c_scm_ArrayBuffer.prototype.take__I__O = (function(n) { return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, 0, n) }); $c_scm_ArrayBuffer.prototype.last__O = (function() { return $s_sc_IndexedSeqOptimized$class__last__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayBuffer.prototype.drop__I__O = (function(n) { var until = this.size0$6; return $s_sc_IndexedSeqOptimized$class__slice__sc_IndexedSeqOptimized__I__I__O(this, n, until) }); $c_scm_ArrayBuffer.prototype.thisCollection__sc_Seq = (function() { return this }); $c_scm_ArrayBuffer.prototype.tail__O = (function() { return $s_sc_IndexedSeqOptimized$class__tail__sc_IndexedSeqOptimized__O(this) }); $c_scm_ArrayBuffer.prototype.$$plus$plus$eq__sc_TraversableOnce__scm_ArrayBuffer = (function(xs) { if ($is_sc_IndexedSeqLike(xs)) { var x2 = $as_sc_IndexedSeqLike(xs); var n = x2.length__I(); var n$1 = ((this.size0$6 + n) | 0); $s_scm_ResizableArray$class__ensureSize__scm_ResizableArray__I__V(this, n$1); x2.copyToArray__O__I__I__V(this.array$6, this.size0$6, n); this.size0$6 = ((this.size0$6 + n) | 0); return this } else { return $as_scm_ArrayBuffer($s_scg_Growable$class__$$plus$plus$eq__scg_Growable__sc_TraversableOnce__scg_Growable(this, xs)) } }); $c_scm_ArrayBuffer.prototype.isDefinedAt__O__Z = (function(x) { var idx = $uI(x); return $s_sc_GenSeqLike$class__isDefinedAt__sc_GenSeqLike__I__Z(this, idx) }); $c_scm_ArrayBuffer.prototype.$$plus$eq__O__scm_Builder = (function(elem) { return this.$$plus$eq__O__scm_ArrayBuffer(elem) }); $c_scm_ArrayBuffer.prototype.sizeHint__I__V = (function(len) { if (((len > this.size0$6) && (len >= 1))) { var newarray = $newArrayObject($d_O.getArrayOf(), [len]); var src = this.array$6; var length = this.size0$6; $systemArraycopy(src, 0, newarray, 0, length); this.array$6 = newarray } }); $c_scm_ArrayBuffer.prototype.copyToArray__O__I__I__V = (function(xs, start, len) { $s_scm_ResizableArray$class__copyToArray__scm_ResizableArray__O__I__I__V(this, xs, start, len) }); $c_scm_ArrayBuffer.prototype.hashCode__I = (function() { return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this) }); $c_scm_ArrayBuffer.prototype.toCollection__O__sc_Seq = (function(repr) { return $as_scm_IndexedSeq(repr) }); $c_scm_ArrayBuffer.prototype.reduceLeft__F2__O = (function(op) { return $s_sc_IndexedSeqOptimized$class__reduceLeft__sc_IndexedSeqOptimized__F2__O(this, op) }); $c_scm_ArrayBuffer.prototype.$$plus$plus$eq__sc_TraversableOnce__scg_Growable = (function(xs) { return this.$$plus$plus$eq__sc_TraversableOnce__scm_ArrayBuffer(xs) }); $c_scm_ArrayBuffer.prototype.stringPrefix__T = (function() { return "ArrayBuffer" }); $c_scm_ArrayBuffer.prototype.zip__sc_GenIterable__scg_CanBuildFrom__O = (function(that, bf) { return $s_sc_IndexedSeqOptimized$class__zip__sc_IndexedSeqOptimized__sc_GenIterable__scg_CanBuildFrom__O(this, that, bf) }); function $is_scm_ArrayBuffer(obj) { return (!(!((obj && obj.$classData) && obj.$classData.ancestors.scm_ArrayBuffer))) } function $as_scm_ArrayBuffer(obj) { return (($is_scm_ArrayBuffer(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.mutable.ArrayBuffer")) } function $isArrayOf_scm_ArrayBuffer(obj, depth) { return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.scm_ArrayBuffer))) } function $asArrayOf_scm_ArrayBuffer(obj, depth) { return (($isArrayOf_scm_ArrayBuffer(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.mutable.ArrayBuffer;", depth)) } var $d_scm_ArrayBuffer = new $TypeData().initClass({ scm_ArrayBuffer: 0 }, false, "scala.collection.mutable.ArrayBuffer", { scm_ArrayBuffer: 1, scm_AbstractBuffer: 1, scm_AbstractSeq: 1, sc_AbstractSeq: 1, sc_AbstractIterable: 1, sc_AbstractTraversable: 1, O: 1, sc_Traversable: 1, sc_TraversableLike: 1, scg_HasNewBuilder: 1, scg_FilterMonadic: 1, sc_TraversableOnce: 1, sc_GenTraversableOnce: 1, sc_GenTraversableLike: 1, sc_Parallelizable: 1, sc_GenTraversable: 1, scg_GenericTraversableTemplate: 1, sc_Iterable: 1, sc_GenIterable: 1, sc_GenIterableLike: 1, sc_IterableLike: 1, s_Equals: 1, sc_Seq: 1, s_PartialFunction: 1, F1: 1, sc_GenSeq: 1, sc_GenSeqLike: 1, sc_SeqLike: 1, scm_Seq: 1, scm_Iterable: 1, scm_Traversable: 1, s_Mutable: 1, scm_SeqLike: 1, scm_Cloneable: 1, s_Cloneable: 1, jl_Cloneable: 1, scm_Buffer: 1, scm_BufferLike: 1, scg_Growable: 1, scg_Clearable: 1, scg_Shrinkable: 1, sc_script_Scriptable: 1, scg_Subtractable: 1, scm_IndexedSeqOptimized: 1, scm_IndexedSeqLike: 1, sc_IndexedSeqLike: 1, sc_IndexedSeqOptimized: 1, scm_Builder: 1, scm_ResizableArray: 1, scm_IndexedSeq: 1, sc_IndexedSeq: 1, sc_CustomParallelizable: 1, s_Serializable: 1, Ljava_io_Serializable: 1 }); $c_scm_ArrayBuffer.prototype.$classData = $d_scm_ArrayBuffer; }).call(this); //# sourceMappingURL=hypersubs-fastopt.js.map hypersubs.Hypersubs().main();