kaitai-struct-compiler 0.10.0-SNAPSHOT20220621.211648.0a3dcbfb → 0.10.0-SNAPSHOT20220707.221105.bdee2103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@
6
6
  } else {
7
7
  root.KaitaiStructCompiler = factory();
8
8
  }
9
- }(this, function () {
9
+ }(typeof self !== 'undefined' ? self : this, function () {
10
10
 
11
11
  var exports = {};
12
12
  var __ScalaJSEnv = { exportsNamespace: exports };
@@ -1864,7 +1864,7 @@ function $f_Lio_kaitai_struct_translators_CommonLiterals__strLiteralAsciiChar__C
1864
1864
  } else {
1865
1865
  var x = $m_s_None$();
1866
1866
  if ((x === x1)) {
1867
- return (((code >= 32) && (code < 128)) ? $as_T($g.String.fromCharCode(code)) : $thiz.strLiteralGenericCC__C__T(code))
1867
+ return (((code >= 32) && (code < 127)) ? $as_T($g.String.fromCharCode(code)) : $thiz.strLiteralGenericCC__C__T(code))
1868
1868
  } else {
1869
1869
  throw new $c_s_MatchError().init___O(x1)
1870
1870
  }
@@ -2192,30 +2192,6 @@ function $isArrayOf_ju_Formattable(obj, depth) {
2192
2192
  function $asArrayOf_ju_Formattable(obj, depth) {
2193
2193
  return (($isArrayOf_ju_Formattable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.util.Formattable;", depth))
2194
2194
  }
2195
- function $is_ju_Map(obj) {
2196
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.ju_Map)))
2197
- }
2198
- function $as_ju_Map(obj) {
2199
- return (($is_ju_Map(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.util.Map"))
2200
- }
2201
- function $isArrayOf_ju_Map(obj, depth) {
2202
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.ju_Map)))
2203
- }
2204
- function $asArrayOf_ju_Map(obj, depth) {
2205
- return (($isArrayOf_ju_Map(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.util.Map;", depth))
2206
- }
2207
- function $is_ju_Map$Entry(obj) {
2208
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.ju_Map$Entry)))
2209
- }
2210
- function $as_ju_Map$Entry(obj) {
2211
- return (($is_ju_Map$Entry(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.util.Map$Entry"))
2212
- }
2213
- function $isArrayOf_ju_Map$Entry(obj, depth) {
2214
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.ju_Map$Entry)))
2215
- }
2216
- function $asArrayOf_ju_Map$Entry(obj, depth) {
2217
- return (($isArrayOf_ju_Map$Entry(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.util.Map$Entry;", depth))
2218
- }
2219
2195
  function $f_s_Proxy__equals__O__Z($thiz, that) {
2220
2196
  return ((that !== null) && (((that === $thiz) || (that === $thiz.self__O())) || $objectEquals(that, $thiz.self__O())))
2221
2197
  }
@@ -2352,17 +2328,6 @@ function $isArrayOf_sc_GenTraversableOnce(obj, depth) {
2352
2328
  function $asArrayOf_sc_GenTraversableOnce(obj, depth) {
2353
2329
  return (($isArrayOf_sc_GenTraversableOnce(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.GenTraversableOnce;", depth))
2354
2330
  }
2355
- function $f_sc_convert_LowPriorityWrapAsJava__mapAsJavaMap__sc_Map__ju_Map($thiz, m) {
2356
- if ((m === null)) {
2357
- return null
2358
- } else if (((m instanceof $c_sc_convert_Wrappers$JMapWrapper) && ($as_sc_convert_Wrappers$JMapWrapper(m).scala$collection$convert$Wrappers$JMapWrapper$$$outer__sc_convert_Wrappers() === $m_sc_convert_Wrappers$()))) {
2359
- var x2 = $as_sc_convert_Wrappers$JMapWrapper(m);
2360
- var wrapped = x2.underlying__ju_Map();
2361
- return wrapped
2362
- } else {
2363
- return new $c_sc_convert_Wrappers$MapWrapper().init___sc_convert_Wrappers__sc_Map($m_sc_convert_Wrappers$(), m)
2364
- }
2365
- }
2366
2331
  function $f_sci_VectorPointer__copyOf__AO__AO($thiz, a) {
2367
2332
  var copy = $newArrayObject($d_O.getArrayOf(), [a.u.length]);
2368
2333
  $systemArraycopy(a, 0, copy, 0, a.u.length);
@@ -4430,9 +4395,9 @@ function $h_Lio_kaitai_struct_Version$() {
4430
4395
  $h_Lio_kaitai_struct_Version$.prototype = $c_Lio_kaitai_struct_Version$.prototype;
4431
4396
  $c_Lio_kaitai_struct_Version$.prototype.init___ = (function() {
4432
4397
  this.name$1 = "kaitai-struct-compiler-js";
4433
- this.version$1 = "0.10-SNAPSHOT20220621.211648.0a3dcbfb";
4434
- this.gitCommit$1 = "0a3dcbfb";
4435
- this.gitTime$1 = "2022-06-21T21:16:48+00:00";
4398
+ this.version$1 = "0.10-SNAPSHOT20220707.221105.bdee2103";
4399
+ this.gitCommit$1 = "bdee2103";
4400
+ this.gitTime$1 = "2022-07-07T22:11:05+00:00";
4436
4401
  return this
4437
4402
  });
4438
4403
  var $d_Lio_kaitai_struct_Version$ = new $TypeData().initClass({
@@ -7883,9 +7848,28 @@ $c_Lio_kaitai_struct_format_JavaScriptKSYParser$.prototype.yamlToSpecs__O__Lio_k
7883
7848
  var firstSpec = this$1.fromYaml__O__s_Option__sci_List__Lio_kaitai_struct_format_MetaSpec__Lio_kaitai_struct_format_ClassSpec(yamlScala, fileName, $m_sci_Nil$(), $m_Lio_kaitai_struct_format_MetaSpec$().OPAQUE$1);
7884
7849
  var specs = new $c_Lio_kaitai_struct_format_JavaScriptClassSpecs().init___Lio_kaitai_struct_JavaScriptImporter__Lio_kaitai_struct_format_ClassSpec(importer, firstSpec);
7885
7850
  return $m_Lio_kaitai_struct_Main$().importAndPrecompile__Lio_kaitai_struct_format_ClassSpecs__Lio_kaitai_struct_RuntimeConfig__s_concurrent_Future(specs, config).map__F1__s_concurrent_ExecutionContext__s_concurrent_Future(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, specs$1) {
7886
- return (function(x$1$2) {
7887
- $as_sc_Iterable(x$1$2);
7888
- return specs$1
7851
+ return (function(problems$2) {
7852
+ var problems = $as_sc_Iterable(problems$2);
7853
+ var x1 = problems.find__F1__s_Option(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this$1) {
7854
+ return (function(p$2) {
7855
+ var p = $as_Lio_kaitai_struct_problems_CompilationProblem(p$2);
7856
+ var x = p.severity__Lio_kaitai_struct_problems_ProblemSeverity();
7857
+ var x$2 = $m_Lio_kaitai_struct_problems_ProblemSeverity$Warning$();
7858
+ return (!((x !== null) && (x === x$2)))
7859
+ })
7860
+ })($this)));
7861
+ if ((x1 instanceof $c_s_Some)) {
7862
+ var x2 = $as_s_Some(x1);
7863
+ var problem = $as_Lio_kaitai_struct_problems_CompilationProblem(x2.value$2);
7864
+ throw new $c_Lio_kaitai_struct_problems_CompilationProblemException().init___Lio_kaitai_struct_problems_CompilationProblem(problem)
7865
+ } else {
7866
+ var x$1 = $m_s_None$();
7867
+ if ((x$1 === x1)) {
7868
+ return specs$1
7869
+ } else {
7870
+ throw new $c_s_MatchError().init___O(x1)
7871
+ }
7872
+ }
7889
7873
  })
7890
7874
  })(this, specs)), $m_s_concurrent_ExecutionContext$Implicits$().global__s_concurrent_ExecutionContext())
7891
7875
  });
@@ -15227,18 +15211,6 @@ function $m_ju_Arrays$() {
15227
15211
  };
15228
15212
  return $n_ju_Arrays$
15229
15213
  }
15230
- function $is_ju_Collection(obj) {
15231
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.ju_Collection)))
15232
- }
15233
- function $as_ju_Collection(obj) {
15234
- return (($is_ju_Collection(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "java.util.Collection"))
15235
- }
15236
- function $isArrayOf_ju_Collection(obj, depth) {
15237
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.ju_Collection)))
15238
- }
15239
- function $asArrayOf_ju_Collection(obj, depth) {
15240
- return (($isArrayOf_ju_Collection(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.util.Collection;", depth))
15241
- }
15242
15214
  /** @constructor */
15243
15215
  function $c_ju_Formatter$() {
15244
15216
  $c_O.call(this);
@@ -23802,7 +23774,7 @@ $c_Lio_kaitai_struct_problems_CompilationProblem.prototype.localizedInType__Lio_
23802
23774
  }
23803
23775
  });
23804
23776
  $c_Lio_kaitai_struct_problems_CompilationProblem.prototype.message__T = (function() {
23805
- return ((((this.coords__Lio_kaitai_struct_problems_ProblemCoords().message__T() + ": ") + this.severity__Lio_kaitai_struct_problems_ProblemSeverity().message__T()) + ": ") + this.text__T())
23777
+ return (((((this.coords__Lio_kaitai_struct_problems_ProblemCoords().message__T() + ":\n\t") + this.severity__Lio_kaitai_struct_problems_ProblemSeverity().message__T()) + ": ") + this.text__T()) + "\n")
23806
23778
  });
23807
23779
  function $as_Lio_kaitai_struct_problems_CompilationProblem(obj) {
23808
23780
  return (((obj instanceof $c_Lio_kaitai_struct_problems_CompilationProblem) || (obj === null)) ? obj : $throwClassCastException(obj, "io.kaitai.struct.problems.CompilationProblem"))
@@ -24498,73 +24470,6 @@ function $asArrayOf_jl_Throwable(obj, depth) {
24498
24470
  return (($isArrayOf_jl_Throwable(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Ljava.lang.Throwable;", depth))
24499
24471
  }
24500
24472
  /** @constructor */
24501
- function $c_ju_AbstractMap() {
24502
- $c_O.call(this)
24503
- }
24504
- $c_ju_AbstractMap.prototype = new $h_O();
24505
- $c_ju_AbstractMap.prototype.constructor = $c_ju_AbstractMap;
24506
- /** @constructor */
24507
- function $h_ju_AbstractMap() {
24508
- /*<skip>*/
24509
- }
24510
- $h_ju_AbstractMap.prototype = $c_ju_AbstractMap.prototype;
24511
- $c_ju_AbstractMap.prototype.equals__O__Z = (function(o) {
24512
- if ((o === this)) {
24513
- return true
24514
- } else if ($is_ju_Map(o)) {
24515
- var x2 = $as_ju_Map(o);
24516
- if ((this.size__I() === x2.size__I())) {
24517
- var __self = new $c_sc_convert_Wrappers$MapWrapper$$anon$2().init___sc_convert_Wrappers$MapWrapper(this);
24518
- var __self$1 = new $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3().init___sc_convert_Wrappers$MapWrapper$$anon$2(__self);
24519
- inlinereturn$8: {
24520
- while (__self$1.ui$1.hasNext__Z()) {
24521
- var arg1 = __self$1.next__ju_Map$Entry();
24522
- var a = x2.get__O__O(arg1.k$1$1);
24523
- var b = arg1.v$1$1;
24524
- if ((!((a === null) ? (b === null) : $objectEquals(a, b)))) {
24525
- var jsx$1 = true;
24526
- break inlinereturn$8
24527
- }
24528
- };
24529
- var jsx$1 = false
24530
- };
24531
- return (!jsx$1)
24532
- } else {
24533
- return false
24534
- }
24535
- } else {
24536
- return false
24537
- }
24538
- });
24539
- $c_ju_AbstractMap.prototype.toString__T = (function() {
24540
- var result = "{";
24541
- var first = true;
24542
- var this$1 = new $c_sc_convert_Wrappers$MapWrapper$$anon$2().init___sc_convert_Wrappers$MapWrapper(this);
24543
- var iter = new $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3().init___sc_convert_Wrappers$MapWrapper$$anon$2(this$1);
24544
- while (iter.ui$1.hasNext__Z()) {
24545
- var entry = iter.next__ju_Map$Entry();
24546
- if (first) {
24547
- first = false
24548
- } else {
24549
- result = (result + ", ")
24550
- };
24551
- result = (((("" + result) + entry.k$1$1) + "=") + entry.v$1$1)
24552
- };
24553
- return (result + "}")
24554
- });
24555
- $c_ju_AbstractMap.prototype.hashCode__I = (function() {
24556
- var __self = new $c_sc_convert_Wrappers$MapWrapper$$anon$2().init___sc_convert_Wrappers$MapWrapper(this);
24557
- var __self$1 = new $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3().init___sc_convert_Wrappers$MapWrapper$$anon$2(__self);
24558
- var result = 0;
24559
- while (__self$1.ui$1.hasNext__Z()) {
24560
- var arg1 = result;
24561
- var arg2 = __self$1.next__ju_Map$Entry();
24562
- var prev = $uI(arg1);
24563
- result = ((arg2.hashCode__I() + prev) | 0)
24564
- };
24565
- return $uI(result)
24566
- });
24567
- /** @constructor */
24568
24473
  function $c_ju_regex_Matcher() {
24569
24474
  $c_O.call(this);
24570
24475
  this.pattern0$1 = null;
@@ -25132,6 +25037,15 @@ function $f_sc_Iterator__foreach__F1__V($thiz, f) {
25132
25037
  f.apply__O__O($thiz.next__O())
25133
25038
  }
25134
25039
  }
25040
+ function $f_sc_Iterator__find__F1__s_Option($thiz, p) {
25041
+ while ($thiz.hasNext__Z()) {
25042
+ var a = $thiz.next__O();
25043
+ if ($uZ(p.apply__O__O(a))) {
25044
+ return new $c_s_Some().init___O(a)
25045
+ }
25046
+ };
25047
+ return $m_s_None$()
25048
+ }
25135
25049
  function $f_sc_Iterator__toStream__sci_Stream($thiz) {
25136
25050
  if ($thiz.hasNext__Z()) {
25137
25051
  var hd = $thiz.next__O();
@@ -25399,91 +25313,6 @@ var $d_sc_TraversableOnce$reducer$1$ = new $TypeData().initClass({
25399
25313
  });
25400
25314
  $c_sc_TraversableOnce$reducer$1$.prototype.$classData = $d_sc_TraversableOnce$reducer$1$;
25401
25315
  /** @constructor */
25402
- function $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3() {
25403
- $c_O.call(this);
25404
- this.ui$1 = null;
25405
- this.prev$1 = null;
25406
- this.$$outer$1 = null
25407
- }
25408
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3.prototype = new $h_O();
25409
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3.prototype.constructor = $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3;
25410
- /** @constructor */
25411
- function $h_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3() {
25412
- /*<skip>*/
25413
- }
25414
- $h_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3.prototype = $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3.prototype;
25415
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3.prototype.next__ju_Map$Entry = (function() {
25416
- var x1 = $as_T2(this.ui$1.next__O());
25417
- if ((x1 === null)) {
25418
- throw new $c_s_MatchError().init___O(x1)
25419
- };
25420
- var k = x1.$$und1__O();
25421
- var v = x1.$$und2__O();
25422
- this.prev$1 = new $c_s_Some().init___O(k);
25423
- return new $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4().init___sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3__O__O(this, k, v)
25424
- });
25425
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3.prototype.init___sc_convert_Wrappers$MapWrapper$$anon$2 = (function($$outer) {
25426
- if (($$outer === null)) {
25427
- throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null)
25428
- } else {
25429
- this.$$outer$1 = $$outer
25430
- };
25431
- this.ui$1 = $$outer.$$outer$3.scala$collection$convert$Wrappers$MapWrapper$$underlying$f.iterator__sc_Iterator();
25432
- this.prev$1 = $m_s_None$();
25433
- return this
25434
- });
25435
- var $d_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3 = new $TypeData().initClass({
25436
- sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3: 0
25437
- }, false, "scala.collection.convert.Wrappers$MapWrapper$$anon$2$$anon$3", {
25438
- sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3: 1,
25439
- O: 1,
25440
- ju_Iterator: 1
25441
- });
25442
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3.prototype.$classData = $d_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3;
25443
- /** @constructor */
25444
- function $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4() {
25445
- $c_O.call(this);
25446
- this.$$outer$1 = null;
25447
- this.k$1$1 = null;
25448
- this.v$1$1 = null
25449
- }
25450
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4.prototype = new $h_O();
25451
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4.prototype.constructor = $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4;
25452
- /** @constructor */
25453
- function $h_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4() {
25454
- /*<skip>*/
25455
- }
25456
- $h_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4.prototype = $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4.prototype;
25457
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4.prototype.equals__O__Z = (function(other) {
25458
- if ($is_ju_Map$Entry(other)) {
25459
- var x2 = $as_ju_Map$Entry(other);
25460
- return ($m_sr_BoxesRunTime$().equals__O__O__Z(this.k$1$1, x2.k$1$1) && $m_sr_BoxesRunTime$().equals__O__O__Z(this.v$1$1, x2.v$1$1))
25461
- } else {
25462
- return false
25463
- }
25464
- });
25465
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4.prototype.hashCode__I = (function() {
25466
- return (((this.k$1$1 === null) ? 0 : $objectHashCode(this.k$1$1)) ^ ((this.v$1$1 === null) ? 0 : $objectHashCode(this.v$1$1)))
25467
- });
25468
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4.prototype.init___sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3__O__O = (function($$outer, k$1, v$1) {
25469
- if (($$outer === null)) {
25470
- throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null)
25471
- } else {
25472
- this.$$outer$1 = $$outer
25473
- };
25474
- this.k$1$1 = k$1;
25475
- this.v$1$1 = v$1;
25476
- return this
25477
- });
25478
- var $d_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4 = new $TypeData().initClass({
25479
- sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4: 0
25480
- }, false, "scala.collection.convert.Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4", {
25481
- sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4: 1,
25482
- O: 1,
25483
- ju_Map$Entry: 1
25484
- });
25485
- $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4.prototype.$classData = $d_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3$$anon$4;
25486
- /** @constructor */
25487
25316
  function $c_sc_package$WrappedCanBuildFrom() {
25488
25317
  /*<skip>*/
25489
25318
  }
@@ -27838,8 +27667,7 @@ $c_Lio_kaitai_struct_format_AttrSpec$.prototype.parseSwitch__p1__sci_Map__sci_Li
27838
27667
  })(this, path, metaDef, arg));
27839
27668
  var bf = $m_sci_Map$().ReusableCBF$4;
27840
27669
  var cases = $as_sci_Map($f_sc_TraversableLike__map__F1__scg_CanBuildFrom__O(_cases, f, bf));
27841
- var this$10 = $m_sc_JavaConversions$();
27842
- if ($f_sc_convert_LowPriorityWrapAsJava__mapAsJavaMap__sc_Map__ju_Map(this$10, cases).containsKey__O__Z($m_Lio_kaitai_struct_datatype_DataType$SwitchType$().ELSE$undCONST$1)) {
27670
+ if (cases.contains__O__Z($m_Lio_kaitai_struct_datatype_DataType$SwitchType$().ELSE$undCONST$1)) {
27843
27671
  var addCases = $as_sci_Map($m_s_Predef$().Map$2.apply__sc_Seq__sc_GenMap($m_sci_Nil$()))
27844
27672
  } else {
27845
27673
  var x1 = new $c_T2().init___O__O(arg.size$1, arg.sizeEos$1);
@@ -27854,16 +27682,16 @@ $c_Lio_kaitai_struct_format_AttrSpec$.prototype.parseSwitch__p1__sci_Map__sci_Li
27854
27682
  var self$1 = $m_Lio_kaitai_struct_datatype_DataType$SwitchType$().ELSE$undCONST$1;
27855
27683
  var y = new $c_Lio_kaitai_struct_datatype_DataType$BytesLimitType().init___Lio_kaitai_struct_exprlang_Ast$expr__s_Option__Z__s_Option__s_Option(sizeValue, $m_s_None$(), false, $m_s_None$(), arg.process$1);
27856
27684
  var array$1 = [new $c_T2().init___O__O(self$1, y)];
27857
- var this$16 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$());
27685
+ var this$15 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$());
27858
27686
  var i$1 = 0;
27859
27687
  var len = $uI(array$1.length);
27860
27688
  while ((i$1 < len)) {
27861
27689
  var index$1 = i$1;
27862
27690
  var arg1 = array$1[index$1];
27863
- this$16.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1));
27691
+ this$15.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1));
27864
27692
  i$1 = ((1 + i$1) | 0)
27865
27693
  };
27866
- var addCases = $as_sci_Map(this$16.elems$1);
27694
+ var addCases = $as_sci_Map(this$15.elems$1);
27867
27695
  break matchEnd20
27868
27696
  }
27869
27697
  };
@@ -27874,16 +27702,16 @@ $c_Lio_kaitai_struct_format_AttrSpec$.prototype.parseSwitch__p1__sci_Map__sci_Li
27874
27702
  var self$2 = $m_Lio_kaitai_struct_datatype_DataType$SwitchType$().ELSE$undCONST$1;
27875
27703
  var y$1 = new $c_Lio_kaitai_struct_datatype_DataType$BytesEosType().init___s_Option__Z__s_Option__s_Option($m_s_None$(), false, $m_s_None$(), arg.process$1);
27876
27704
  var array$2 = [new $c_T2().init___O__O(self$2, y$1)];
27877
- var this$22 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$());
27705
+ var this$21 = new $c_scm_MapBuilder().init___sc_GenMap($m_sci_Map$EmptyMap$());
27878
27706
  var i$2 = 0;
27879
27707
  var len$1 = $uI(array$2.length);
27880
27708
  while ((i$2 < len$1)) {
27881
27709
  var index$2 = i$2;
27882
27710
  var arg1$1 = array$2[index$2];
27883
- this$22.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1$1));
27711
+ this$21.$$plus$eq__T2__scm_MapBuilder($as_T2(arg1$1));
27884
27712
  i$2 = ((1 + i$2) | 0)
27885
27713
  };
27886
- var addCases = $as_sci_Map(this$22.elems$1);
27714
+ var addCases = $as_sci_Map(this$21.elems$1);
27887
27715
  break matchEnd20
27888
27716
  };
27889
27717
  var p7 = $as_s_Option(x1.$$und1$f);
@@ -28678,7 +28506,8 @@ $c_Lio_kaitai_struct_format_EnumSpec$.prototype.init___ = (function() {
28678
28506
  });
28679
28507
  $c_Lio_kaitai_struct_format_EnumSpec$.prototype.fromYaml__O__sci_List__Lio_kaitai_struct_format_EnumSpec = (function(src, path) {
28680
28508
  var srcMap = $m_Lio_kaitai_struct_format_ParseUtils$().asMap__O__sci_List__sci_Map(src, path);
28681
- var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, path$1) {
28509
+ var memberNameMap = $as_scm_Map($m_scm_Map$().apply__sc_Seq__sc_GenMap($m_sci_Nil$()));
28510
+ var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, path$1, memberNameMap$1) {
28682
28511
  return (function(x0$1$2) {
28683
28512
  var x0$1 = $as_T2(x0$1$2);
28684
28513
  if ((x0$1 !== null)) {
@@ -28702,14 +28531,52 @@ $c_Lio_kaitai_struct_format_EnumSpec$.prototype.fromYaml__O__sci_List__Lio_kaita
28702
28531
  var jsx$1 = result;
28703
28532
  var this$5 = $m_sci_List$();
28704
28533
  var value = jsx$2.fromYaml__O__sci_List__Lio_kaitai_struct_format_EnumValueSpec(desc, $as_sci_List(path$1.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$1, this$5.ReusableCBFInstance$2)));
28534
+ var this$6 = memberNameMap$1.get__O__s_Option(value.name$1);
28535
+ if ((!this$6.isEmpty__Z())) {
28536
+ var arg1 = this$6.get__O();
28537
+ var t$1 = $uJ(arg1);
28538
+ var lo$1 = t$1.lo$2;
28539
+ var hi$1 = t$1.hi$2;
28540
+ var jsx$7 = $m_Lio_kaitai_struct_problems_KSYParseError$();
28541
+ var jsx$6 = value.name$1;
28542
+ $m_sci_List$();
28543
+ var array$1 = [$m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toString__I__I__T(lo$1, hi$1)];
28544
+ var i$1 = (((-1) + $uI(array$1.length)) | 0);
28545
+ var result$1 = $m_sci_Nil$();
28546
+ while ((i$1 >= 0)) {
28547
+ var this$10 = result$1;
28548
+ var index$1 = i$1;
28549
+ var x$1 = array$1[index$1];
28550
+ result$1 = new $c_sci_$colon$colon().init___O__sci_List(x$1, this$10);
28551
+ i$1 = (((-1) + i$1) | 0)
28552
+ };
28553
+ var jsx$5 = result$1;
28554
+ var this$11 = $m_sci_List$();
28555
+ var jsx$4 = $as_sc_TraversableOnce(path$1.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$5, this$11.ReusableCBFInstance$2)).mkString__T__T("/");
28556
+ $m_sci_List$();
28557
+ var array$2 = [$m_sjsr_RuntimeLong$().scala$scalajs$runtime$RuntimeLong$$toString__I__I__T(lo, hi)];
28558
+ var i$2 = (((-1) + $uI(array$2.length)) | 0);
28559
+ var result$2 = $m_sci_Nil$();
28560
+ while ((i$2 >= 0)) {
28561
+ var this$15 = result$2;
28562
+ var index$2 = i$2;
28563
+ var x$2 = array$2[index$2];
28564
+ result$2 = new $c_sci_$colon$colon().init___O__sci_List(x$2, this$15);
28565
+ i$2 = (((-1) + i$2) | 0)
28566
+ };
28567
+ var jsx$3 = result$2;
28568
+ var this$16 = $m_sci_List$();
28569
+ throw jsx$7.withText__T__sci_List__Lio_kaitai_struct_problems_CompilationProblemException(((("duplicate enum member ID: '" + jsx$6) + "', previously defined at /") + jsx$4), $as_sci_List(path$1.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(jsx$3, this$16.ReusableCBFInstance$2)))
28570
+ };
28571
+ memberNameMap$1.put__O__O__s_Option(value.name$1, new $c_sjsr_RuntimeLong().init___I__I(lo, hi));
28705
28572
  return new $c_T2().init___O__O(new $c_sjsr_RuntimeLong().init___I__I(lo, hi), value)
28706
28573
  } else {
28707
28574
  throw new $c_s_MatchError().init___O(x0$1)
28708
28575
  }
28709
28576
  })
28710
- })(this, path));
28577
+ })(this, path, memberNameMap));
28711
28578
  var bf = $m_sci_Map$().ReusableCBF$4;
28712
- return new $c_Lio_kaitai_struct_format_EnumSpec().init___sci_Map($as_sci_Map($f_sc_TraversableLike__map__F1__scg_CanBuildFrom__O(srcMap, f, bf)))
28579
+ return new $c_Lio_kaitai_struct_format_EnumSpec().init___sci_List__sci_Map(path, $as_sci_Map($f_sc_TraversableLike__map__F1__scg_CanBuildFrom__O(srcMap, f, bf)))
28713
28580
  });
28714
28581
  var $d_Lio_kaitai_struct_format_EnumSpec$ = new $TypeData().initClass({
28715
28582
  Lio_kaitai_struct_format_EnumSpec$: 0
@@ -31390,55 +31257,6 @@ function $m_jl_Long$() {
31390
31257
  return $n_jl_Long$
31391
31258
  }
31392
31259
  /** @constructor */
31393
- function $c_ju_AbstractCollection() {
31394
- $c_O.call(this)
31395
- }
31396
- $c_ju_AbstractCollection.prototype = new $h_O();
31397
- $c_ju_AbstractCollection.prototype.constructor = $c_ju_AbstractCollection;
31398
- /** @constructor */
31399
- function $h_ju_AbstractCollection() {
31400
- /*<skip>*/
31401
- }
31402
- $h_ju_AbstractCollection.prototype = $c_ju_AbstractCollection.prototype;
31403
- $c_ju_AbstractCollection.prototype.containsAll__ju_Collection__Z = (function(c) {
31404
- var __self = new $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3().init___sc_convert_Wrappers$MapWrapper$$anon$2(c);
31405
- inlinereturn$7: {
31406
- while (__self.ui$1.hasNext__Z()) {
31407
- var arg1 = __self.next__ju_Map$Entry();
31408
- if ((!this.contains__O__Z(arg1))) {
31409
- var jsx$1 = true;
31410
- break inlinereturn$7
31411
- }
31412
- };
31413
- var jsx$1 = false
31414
- };
31415
- return (!jsx$1)
31416
- });
31417
- $c_ju_AbstractCollection.prototype.toString__T = (function() {
31418
- var __self = new $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3().init___sc_convert_Wrappers$MapWrapper$$anon$2(this);
31419
- var result = "[";
31420
- var first = true;
31421
- while (__self.ui$1.hasNext__Z()) {
31422
- if (first) {
31423
- first = false
31424
- } else {
31425
- result = (result + ", ")
31426
- };
31427
- result = (("" + result) + __self.next__ju_Map$Entry())
31428
- };
31429
- return (result + "]")
31430
- });
31431
- $c_ju_AbstractCollection.prototype.contains__O__Z = (function(o) {
31432
- var __self = new $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3().init___sc_convert_Wrappers$MapWrapper$$anon$2(this);
31433
- while (__self.ui$1.hasNext__Z()) {
31434
- var arg1 = __self.next__ju_Map$Entry();
31435
- if (((o === null) ? (arg1 === null) : $objectEquals(o, arg1))) {
31436
- return true
31437
- }
31438
- };
31439
- return false
31440
- });
31441
- /** @constructor */
31442
31260
  function $c_ju_concurrent_atomic_AtomicReference() {
31443
31261
  $c_O.call(this);
31444
31262
  this.value$1 = null
@@ -34765,9 +34583,22 @@ $c_Lio_kaitai_struct_translators_ExpressionValidator.prototype.validate__Lio_kai
34765
34583
  if ((v instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$EnumByLabel)) {
34766
34584
  var x3 = $as_Lio_kaitai_struct_exprlang_Ast$expr$EnumByLabel(v);
34767
34585
  var enumType$2 = x3.enumName$1;
34586
+ var label = x3.label$1;
34768
34587
  var inType$2 = x3.inType$1;
34769
- this.provider$2.resolveEnum__Lio_kaitai_struct_exprlang_Ast$typeId__T__Lio_kaitai_struct_format_EnumSpec(inType$2, enumType$2.name$1);
34770
- break matchEnd36
34588
+ var enumSpec = this.provider$2.resolveEnum__Lio_kaitai_struct_exprlang_Ast$typeId__T__Lio_kaitai_struct_format_EnumSpec(inType$2, enumType$2.name$1);
34589
+ if ((!enumSpec.map$1.values__sc_Iterable().exists__F1__Z(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this, label$1) {
34590
+ return (function(x$1$2) {
34591
+ var x$1 = $as_Lio_kaitai_struct_format_EnumValueSpec(x$1$2);
34592
+ return (x$1.name$1 === label$1.name$1)
34593
+ })
34594
+ })(this, label))))) {
34595
+ var jsx$2 = label.name$1;
34596
+ var jsx$1 = enumType$2.name$1;
34597
+ var this$1 = enumSpec.path$1;
34598
+ throw new $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError().init___T__T__T(jsx$2, jsx$1, $f_sc_TraversableOnce__mkString__T__T__T__T(this$1, "", "/", ""))
34599
+ } else {
34600
+ break matchEnd36
34601
+ }
34771
34602
  };
34772
34603
  if ((v instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Name)) {
34773
34604
  var x4 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Name(v);
@@ -34822,10 +34653,10 @@ $c_Lio_kaitai_struct_translators_ExpressionValidator.prototype.validate__Lio_kai
34822
34653
  var op$4 = x8.op$1;
34823
34654
  var values = x8.values$1;
34824
34655
  if (((op$4 !== null) && (values !== null))) {
34825
- values.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) {
34656
+ values.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$2) {
34826
34657
  return (function(v$2$2) {
34827
34658
  var v$2 = $as_Lio_kaitai_struct_exprlang_Ast$expr(v$2$2);
34828
- $this.validate__Lio_kaitai_struct_exprlang_Ast$expr__V(v$2)
34659
+ this$2.validate__Lio_kaitai_struct_exprlang_Ast$expr__V(v$2)
34829
34660
  })
34830
34661
  })(this)));
34831
34662
  break matchEnd36
@@ -34867,10 +34698,10 @@ $c_Lio_kaitai_struct_translators_ExpressionValidator.prototype.validate__Lio_kai
34867
34698
  var x11 = $as_Lio_kaitai_struct_exprlang_Ast$expr$List(v);
34868
34699
  var values$2 = x11.elts$1;
34869
34700
  if ((values$2 !== null)) {
34870
- values$2.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$2) {
34701
+ values$2.foreach__F1__V(new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function(this$3) {
34871
34702
  return (function(v$3$2) {
34872
34703
  var v$3 = $as_Lio_kaitai_struct_exprlang_Ast$expr(v$3$2);
34873
- this$2.validate__Lio_kaitai_struct_exprlang_Ast$expr__V(v$3)
34704
+ this$3.validate__Lio_kaitai_struct_exprlang_Ast$expr__V(v$3)
34874
34705
  })
34875
34706
  })(this)));
34876
34707
  break matchEnd36
@@ -38218,55 +38049,6 @@ $c_sc_AbstractIterator.prototype.reduceLeft__F2__O = (function(op) {
38218
38049
  return $f_sc_TraversableOnce__reduceLeft__F2__O(this, op)
38219
38050
  });
38220
38051
  /** @constructor */
38221
- function $c_sc_convert_Wrappers$() {
38222
- $c_O.call(this);
38223
- this.IteratorWrapper$module$1 = null;
38224
- this.JIteratorWrapper$module$1 = null;
38225
- this.JEnumerationWrapper$module$1 = null;
38226
- this.IterableWrapper$module$1 = null;
38227
- this.JIterableWrapper$module$1 = null;
38228
- this.JCollectionWrapper$module$1 = null;
38229
- this.SeqWrapper$module$1 = null;
38230
- this.MutableSeqWrapper$module$1 = null;
38231
- this.MutableBufferWrapper$module$1 = null;
38232
- this.JListWrapper$module$1 = null;
38233
- this.MutableSetWrapper$module$1 = null;
38234
- this.JSetWrapper$module$1 = null;
38235
- this.MutableMapWrapper$module$1 = null;
38236
- this.JMapWrapper$module$1 = null;
38237
- this.JConcurrentMapWrapper$module$1 = null;
38238
- this.DictionaryWrapper$module$1 = null;
38239
- this.JDictionaryWrapper$module$1 = null;
38240
- this.JPropertiesWrapper$module$1 = null
38241
- }
38242
- $c_sc_convert_Wrappers$.prototype = new $h_O();
38243
- $c_sc_convert_Wrappers$.prototype.constructor = $c_sc_convert_Wrappers$;
38244
- /** @constructor */
38245
- function $h_sc_convert_Wrappers$() {
38246
- /*<skip>*/
38247
- }
38248
- $h_sc_convert_Wrappers$.prototype = $c_sc_convert_Wrappers$.prototype;
38249
- $c_sc_convert_Wrappers$.prototype.init___ = (function() {
38250
- return this
38251
- });
38252
- var $d_sc_convert_Wrappers$ = new $TypeData().initClass({
38253
- sc_convert_Wrappers$: 0
38254
- }, false, "scala.collection.convert.Wrappers$", {
38255
- sc_convert_Wrappers$: 1,
38256
- O: 1,
38257
- sc_convert_Wrappers: 1,
38258
- s_Serializable: 1,
38259
- Ljava_io_Serializable: 1
38260
- });
38261
- $c_sc_convert_Wrappers$.prototype.$classData = $d_sc_convert_Wrappers$;
38262
- var $n_sc_convert_Wrappers$ = (void 0);
38263
- function $m_sc_convert_Wrappers$() {
38264
- if ((!$n_sc_convert_Wrappers$)) {
38265
- $n_sc_convert_Wrappers$ = new $c_sc_convert_Wrappers$().init___()
38266
- };
38267
- return $n_sc_convert_Wrappers$
38268
- }
38269
- /** @constructor */
38270
38052
  function $c_scg_SetFactory() {
38271
38053
  $c_scg_GenSetFactory.call(this)
38272
38054
  }
@@ -40451,104 +40233,6 @@ var $d_Lio_kaitai_struct_format_DocSpec = new $TypeData().initClass({
40451
40233
  });
40452
40234
  $c_Lio_kaitai_struct_format_DocSpec.prototype.$classData = $d_Lio_kaitai_struct_format_DocSpec;
40453
40235
  /** @constructor */
40454
- function $c_Lio_kaitai_struct_format_EnumSpec() {
40455
- $c_O.call(this);
40456
- this.sortedSeq$1 = null;
40457
- this.map$1 = null;
40458
- this.name$1 = null;
40459
- this.bitmap$0$1 = false
40460
- }
40461
- $c_Lio_kaitai_struct_format_EnumSpec.prototype = new $h_O();
40462
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.constructor = $c_Lio_kaitai_struct_format_EnumSpec;
40463
- /** @constructor */
40464
- function $h_Lio_kaitai_struct_format_EnumSpec() {
40465
- /*<skip>*/
40466
- }
40467
- $h_Lio_kaitai_struct_format_EnumSpec.prototype = $c_Lio_kaitai_struct_format_EnumSpec.prototype;
40468
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.productPrefix__T = (function() {
40469
- return "EnumSpec"
40470
- });
40471
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.sortedSeq__sc_Seq = (function() {
40472
- return ((!this.bitmap$0$1) ? this.sortedSeq$lzycompute__p1__sc_Seq() : this.sortedSeq$1)
40473
- });
40474
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.productArity__I = (function() {
40475
- return 1
40476
- });
40477
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.equals__O__Z = (function(x$1) {
40478
- if ((this === x$1)) {
40479
- return true
40480
- } else if ((x$1 instanceof $c_Lio_kaitai_struct_format_EnumSpec)) {
40481
- var EnumSpec$1 = $as_Lio_kaitai_struct_format_EnumSpec(x$1);
40482
- var x = this.map$1;
40483
- var x$2 = EnumSpec$1.map$1;
40484
- return ((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))
40485
- } else {
40486
- return false
40487
- }
40488
- });
40489
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.productElement__I__O = (function(x$1) {
40490
- switch (x$1) {
40491
- case 0: {
40492
- return this.map$1;
40493
- break
40494
- }
40495
- default: {
40496
- throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1))
40497
- }
40498
- }
40499
- });
40500
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.init___sci_Map = (function(map) {
40501
- this.map$1 = map;
40502
- this.name$1 = $m_sci_Nil$();
40503
- return this
40504
- });
40505
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.toString__T = (function() {
40506
- return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this)
40507
- });
40508
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.hashCode__I = (function() {
40509
- var this$2 = $m_s_util_hashing_MurmurHash3$();
40510
- return this$2.productHash__s_Product__I__I(this, (-889275714))
40511
- });
40512
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.productIterator__sc_Iterator = (function() {
40513
- return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this)
40514
- });
40515
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.sortedSeq$lzycompute__p1__sc_Seq = (function() {
40516
- if ((!this.bitmap$0$1)) {
40517
- var this$1 = this.map$1;
40518
- var this$2 = $f_sc_MapLike__toSeq__sc_Seq(this$1);
40519
- var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) {
40520
- return (function(x$1$2) {
40521
- var x$1 = $as_T2(x$1$2);
40522
- return x$1.$$und1$mcJ$sp__J()
40523
- })
40524
- })(this));
40525
- var ord = $m_s_math_Ordering$Long$();
40526
- this.sortedSeq$1 = $as_sc_Seq($f_sc_SeqLike__sortBy__F1__s_math_Ordering__O(this$2, f, ord));
40527
- this.bitmap$0$1 = true
40528
- };
40529
- return this.sortedSeq$1
40530
- });
40531
- function $as_Lio_kaitai_struct_format_EnumSpec(obj) {
40532
- return (((obj instanceof $c_Lio_kaitai_struct_format_EnumSpec) || (obj === null)) ? obj : $throwClassCastException(obj, "io.kaitai.struct.format.EnumSpec"))
40533
- }
40534
- function $isArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) {
40535
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_kaitai_struct_format_EnumSpec)))
40536
- }
40537
- function $asArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) {
40538
- return (($isArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.kaitai.struct.format.EnumSpec;", depth))
40539
- }
40540
- var $d_Lio_kaitai_struct_format_EnumSpec = new $TypeData().initClass({
40541
- Lio_kaitai_struct_format_EnumSpec: 0
40542
- }, false, "io.kaitai.struct.format.EnumSpec", {
40543
- Lio_kaitai_struct_format_EnumSpec: 1,
40544
- O: 1,
40545
- s_Product: 1,
40546
- s_Equals: 1,
40547
- s_Serializable: 1,
40548
- Ljava_io_Serializable: 1
40549
- });
40550
- $c_Lio_kaitai_struct_format_EnumSpec.prototype.$classData = $d_Lio_kaitai_struct_format_EnumSpec;
40551
- /** @constructor */
40552
40236
  function $c_Lio_kaitai_struct_format_EnumValueSpec() {
40553
40237
  $c_O.call(this);
40554
40238
  this.name$1 = null;
@@ -43152,38 +42836,6 @@ var $d_jl_UnsupportedOperationException = new $TypeData().initClass({
43152
42836
  });
43153
42837
  $c_jl_UnsupportedOperationException.prototype.$classData = $d_jl_UnsupportedOperationException;
43154
42838
  /** @constructor */
43155
- function $c_ju_AbstractSet() {
43156
- $c_ju_AbstractCollection.call(this)
43157
- }
43158
- $c_ju_AbstractSet.prototype = new $h_ju_AbstractCollection();
43159
- $c_ju_AbstractSet.prototype.constructor = $c_ju_AbstractSet;
43160
- /** @constructor */
43161
- function $h_ju_AbstractSet() {
43162
- /*<skip>*/
43163
- }
43164
- $h_ju_AbstractSet.prototype = $c_ju_AbstractSet.prototype;
43165
- $c_ju_AbstractSet.prototype.equals__O__Z = (function(that) {
43166
- if ((that === this)) {
43167
- return true
43168
- } else if ($is_ju_Collection(that)) {
43169
- var x2 = $as_ju_Collection(that);
43170
- return ((x2.size__I() === this.size__I()) && this.containsAll__ju_Collection__Z(x2))
43171
- } else {
43172
- return false
43173
- }
43174
- });
43175
- $c_ju_AbstractSet.prototype.hashCode__I = (function() {
43176
- var __self = new $c_sc_convert_Wrappers$MapWrapper$$anon$2$$anon$3().init___sc_convert_Wrappers$MapWrapper$$anon$2(this);
43177
- var result = 0;
43178
- while (__self.ui$1.hasNext__Z()) {
43179
- var arg1 = result;
43180
- var arg2 = __self.next__ju_Map$Entry();
43181
- var prev = $uI(arg1);
43182
- result = ((arg2.hashCode__I() + prev) | 0)
43183
- };
43184
- return $uI(result)
43185
- });
43186
- /** @constructor */
43187
42839
  function $c_ju_NoSuchElementException() {
43188
42840
  $c_jl_RuntimeException.call(this)
43189
42841
  }
@@ -43891,38 +43543,6 @@ var $d_sc_Iterator$$anon$2 = new $TypeData().initClass({
43891
43543
  });
43892
43544
  $c_sc_Iterator$$anon$2.prototype.$classData = $d_sc_Iterator$$anon$2;
43893
43545
  /** @constructor */
43894
- function $c_sc_JavaConversions$() {
43895
- $c_O.call(this)
43896
- }
43897
- $c_sc_JavaConversions$.prototype = new $h_O();
43898
- $c_sc_JavaConversions$.prototype.constructor = $c_sc_JavaConversions$;
43899
- /** @constructor */
43900
- function $h_sc_JavaConversions$() {
43901
- /*<skip>*/
43902
- }
43903
- $h_sc_JavaConversions$.prototype = $c_sc_JavaConversions$.prototype;
43904
- $c_sc_JavaConversions$.prototype.init___ = (function() {
43905
- return this
43906
- });
43907
- var $d_sc_JavaConversions$ = new $TypeData().initClass({
43908
- sc_JavaConversions$: 0
43909
- }, false, "scala.collection.JavaConversions$", {
43910
- sc_JavaConversions$: 1,
43911
- O: 1,
43912
- sc_convert_WrapAsScala: 1,
43913
- sc_convert_LowPriorityWrapAsScala: 1,
43914
- sc_convert_WrapAsJava: 1,
43915
- sc_convert_LowPriorityWrapAsJava: 1
43916
- });
43917
- $c_sc_JavaConversions$.prototype.$classData = $d_sc_JavaConversions$;
43918
- var $n_sc_JavaConversions$ = (void 0);
43919
- function $m_sc_JavaConversions$() {
43920
- if ((!$n_sc_JavaConversions$)) {
43921
- $n_sc_JavaConversions$ = new $c_sc_JavaConversions$().init___()
43922
- };
43923
- return $n_sc_JavaConversions$
43924
- }
43925
- /** @constructor */
43926
43546
  function $c_sc_LinearSeqLike$$anon$1() {
43927
43547
  $c_sc_AbstractIterator.call(this);
43928
43548
  this.these$2 = null
@@ -44117,76 +43737,6 @@ var $d_sc_TraversableOnce$FlattenOps$$anon$2 = new $TypeData().initClass({
44117
43737
  });
44118
43738
  $c_sc_TraversableOnce$FlattenOps$$anon$2.prototype.$classData = $d_sc_TraversableOnce$FlattenOps$$anon$2;
44119
43739
  /** @constructor */
44120
- function $c_sc_convert_Wrappers$MapWrapper() {
44121
- $c_ju_AbstractMap.call(this);
44122
- this.scala$collection$convert$Wrappers$MapWrapper$$underlying$f = null;
44123
- this.$$outer$2 = null
44124
- }
44125
- $c_sc_convert_Wrappers$MapWrapper.prototype = new $h_ju_AbstractMap();
44126
- $c_sc_convert_Wrappers$MapWrapper.prototype.constructor = $c_sc_convert_Wrappers$MapWrapper;
44127
- /** @constructor */
44128
- function $h_sc_convert_Wrappers$MapWrapper() {
44129
- /*<skip>*/
44130
- }
44131
- $h_sc_convert_Wrappers$MapWrapper.prototype = $c_sc_convert_Wrappers$MapWrapper.prototype;
44132
- $c_sc_convert_Wrappers$MapWrapper.prototype.containsKey__O__Z = (function(key) {
44133
- try {
44134
- return this.scala$collection$convert$Wrappers$MapWrapper$$underlying$f.contains__O__Z(key)
44135
- } catch (e) {
44136
- if ((e instanceof $c_jl_ClassCastException)) {
44137
- $as_jl_ClassCastException(e);
44138
- return false
44139
- } else {
44140
- throw e
44141
- }
44142
- }
44143
- });
44144
- $c_sc_convert_Wrappers$MapWrapper.prototype.get__O__O = (function(key) {
44145
- try {
44146
- var x1 = this.scala$collection$convert$Wrappers$MapWrapper$$underlying$f.get__O__s_Option(key);
44147
- var x = $m_s_None$();
44148
- if ((x === x1)) {
44149
- return null
44150
- } else if ((x1 instanceof $c_s_Some)) {
44151
- var x2 = $as_s_Some(x1);
44152
- var v = x2.value$2;
44153
- return v
44154
- } else {
44155
- throw new $c_s_MatchError().init___O(x1)
44156
- }
44157
- } catch (e) {
44158
- if ((e instanceof $c_jl_ClassCastException)) {
44159
- $as_jl_ClassCastException(e);
44160
- return null
44161
- } else {
44162
- throw e
44163
- }
44164
- }
44165
- });
44166
- $c_sc_convert_Wrappers$MapWrapper.prototype.init___sc_convert_Wrappers__sc_Map = (function($$outer, underlying) {
44167
- this.scala$collection$convert$Wrappers$MapWrapper$$underlying$f = underlying;
44168
- if (($$outer === null)) {
44169
- throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null)
44170
- } else {
44171
- this.$$outer$2 = $$outer
44172
- };
44173
- return this
44174
- });
44175
- $c_sc_convert_Wrappers$MapWrapper.prototype.size__I = (function() {
44176
- return this.scala$collection$convert$Wrappers$MapWrapper$$underlying$f.size__I()
44177
- });
44178
- var $d_sc_convert_Wrappers$MapWrapper = new $TypeData().initClass({
44179
- sc_convert_Wrappers$MapWrapper: 0
44180
- }, false, "scala.collection.convert.Wrappers$MapWrapper", {
44181
- sc_convert_Wrappers$MapWrapper: 1,
44182
- ju_AbstractMap: 1,
44183
- O: 1,
44184
- ju_Map: 1,
44185
- s_Serializable: 1,
44186
- Ljava_io_Serializable: 1
44187
- });
44188
- $c_sc_convert_Wrappers$MapWrapper.prototype.$classData = $d_sc_convert_Wrappers$MapWrapper;
44189
- /** @constructor */
44190
43740
  function $c_scg_ImmutableSetFactory() {
44191
43741
  $c_scg_SetFactory.call(this)
44192
43742
  }
@@ -50256,6 +49806,120 @@ function $m_Lio_kaitai_struct_format_DynamicSized$() {
50256
49806
  return $n_Lio_kaitai_struct_format_DynamicSized$
50257
49807
  }
50258
49808
  /** @constructor */
49809
+ function $c_Lio_kaitai_struct_format_EnumSpec() {
49810
+ $c_O.call(this);
49811
+ this.sortedSeq$1 = null;
49812
+ this.path$1 = null;
49813
+ this.map$1 = null;
49814
+ this.name$1 = null;
49815
+ this.bitmap$0$1 = false
49816
+ }
49817
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype = new $h_O();
49818
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.constructor = $c_Lio_kaitai_struct_format_EnumSpec;
49819
+ /** @constructor */
49820
+ function $h_Lio_kaitai_struct_format_EnumSpec() {
49821
+ /*<skip>*/
49822
+ }
49823
+ $h_Lio_kaitai_struct_format_EnumSpec.prototype = $c_Lio_kaitai_struct_format_EnumSpec.prototype;
49824
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.productPrefix__T = (function() {
49825
+ return "EnumSpec"
49826
+ });
49827
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.sortedSeq__sc_Seq = (function() {
49828
+ return ((!this.bitmap$0$1) ? this.sortedSeq$lzycompute__p1__sc_Seq() : this.sortedSeq$1)
49829
+ });
49830
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.productArity__I = (function() {
49831
+ return 2
49832
+ });
49833
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.equals__O__Z = (function(x$1) {
49834
+ if ((this === x$1)) {
49835
+ return true
49836
+ } else if ((x$1 instanceof $c_Lio_kaitai_struct_format_EnumSpec)) {
49837
+ var EnumSpec$1 = $as_Lio_kaitai_struct_format_EnumSpec(x$1);
49838
+ var x = this.path$1;
49839
+ var x$2 = EnumSpec$1.path$1;
49840
+ if (((x === null) ? (x$2 === null) : x.equals__O__Z(x$2))) {
49841
+ var x$3 = this.map$1;
49842
+ var x$4 = EnumSpec$1.map$1;
49843
+ return ((x$3 === null) ? (x$4 === null) : x$3.equals__O__Z(x$4))
49844
+ } else {
49845
+ return false
49846
+ }
49847
+ } else {
49848
+ return false
49849
+ }
49850
+ });
49851
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.productElement__I__O = (function(x$1) {
49852
+ switch (x$1) {
49853
+ case 0: {
49854
+ return this.path$1;
49855
+ break
49856
+ }
49857
+ case 1: {
49858
+ return this.map$1;
49859
+ break
49860
+ }
49861
+ default: {
49862
+ throw new $c_jl_IndexOutOfBoundsException().init___T(("" + x$1))
49863
+ }
49864
+ }
49865
+ });
49866
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.toString__T = (function() {
49867
+ return $m_sr_ScalaRunTime$().$$undtoString__s_Product__T(this)
49868
+ });
49869
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.init___sci_List__sci_Map = (function(path, map) {
49870
+ this.path$1 = path;
49871
+ this.map$1 = map;
49872
+ this.name$1 = $m_sci_Nil$();
49873
+ return this
49874
+ });
49875
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.path__sci_List = (function() {
49876
+ return this.path$1
49877
+ });
49878
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.hashCode__I = (function() {
49879
+ var this$2 = $m_s_util_hashing_MurmurHash3$();
49880
+ return this$2.productHash__s_Product__I__I(this, (-889275714))
49881
+ });
49882
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.productIterator__sc_Iterator = (function() {
49883
+ return new $c_sr_ScalaRunTime$$anon$1().init___s_Product(this)
49884
+ });
49885
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.sortedSeq$lzycompute__p1__sc_Seq = (function() {
49886
+ if ((!this.bitmap$0$1)) {
49887
+ var this$1 = this.map$1;
49888
+ var this$2 = $f_sc_MapLike__toSeq__sc_Seq(this$1);
49889
+ var f = new $c_sjsr_AnonFunction1().init___sjs_js_Function1((function($this) {
49890
+ return (function(x$1$2) {
49891
+ var x$1 = $as_T2(x$1$2);
49892
+ return x$1.$$und1$mcJ$sp__J()
49893
+ })
49894
+ })(this));
49895
+ var ord = $m_s_math_Ordering$Long$();
49896
+ this.sortedSeq$1 = $as_sc_Seq($f_sc_SeqLike__sortBy__F1__s_math_Ordering__O(this$2, f, ord));
49897
+ this.bitmap$0$1 = true
49898
+ };
49899
+ return this.sortedSeq$1
49900
+ });
49901
+ function $as_Lio_kaitai_struct_format_EnumSpec(obj) {
49902
+ return (((obj instanceof $c_Lio_kaitai_struct_format_EnumSpec) || (obj === null)) ? obj : $throwClassCastException(obj, "io.kaitai.struct.format.EnumSpec"))
49903
+ }
49904
+ function $isArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) {
49905
+ return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_kaitai_struct_format_EnumSpec)))
49906
+ }
49907
+ function $asArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) {
49908
+ return (($isArrayOf_Lio_kaitai_struct_format_EnumSpec(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.kaitai.struct.format.EnumSpec;", depth))
49909
+ }
49910
+ var $d_Lio_kaitai_struct_format_EnumSpec = new $TypeData().initClass({
49911
+ Lio_kaitai_struct_format_EnumSpec: 0
49912
+ }, false, "io.kaitai.struct.format.EnumSpec", {
49913
+ Lio_kaitai_struct_format_EnumSpec: 1,
49914
+ O: 1,
49915
+ Lio_kaitai_struct_format_YAMLPath: 1,
49916
+ s_Product: 1,
49917
+ s_Equals: 1,
49918
+ s_Serializable: 1,
49919
+ Ljava_io_Serializable: 1
49920
+ });
49921
+ $c_Lio_kaitai_struct_format_EnumSpec.prototype.$classData = $d_Lio_kaitai_struct_format_EnumSpec;
49922
+ /** @constructor */
50259
49923
  function $c_Lio_kaitai_struct_format_FixedSized() {
50260
49924
  $c_O.call(this);
50261
49925
  this.n$1 = 0
@@ -54684,41 +54348,6 @@ function $asArrayOf_sc_TraversableLike(obj, depth) {
54684
54348
  return (($isArrayOf_sc_TraversableLike(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.TraversableLike;", depth))
54685
54349
  }
54686
54350
  /** @constructor */
54687
- function $c_sc_convert_Wrappers$MapWrapper$$anon$2() {
54688
- $c_ju_AbstractSet.call(this);
54689
- this.$$outer$3 = null
54690
- }
54691
- $c_sc_convert_Wrappers$MapWrapper$$anon$2.prototype = new $h_ju_AbstractSet();
54692
- $c_sc_convert_Wrappers$MapWrapper$$anon$2.prototype.constructor = $c_sc_convert_Wrappers$MapWrapper$$anon$2;
54693
- /** @constructor */
54694
- function $h_sc_convert_Wrappers$MapWrapper$$anon$2() {
54695
- /*<skip>*/
54696
- }
54697
- $h_sc_convert_Wrappers$MapWrapper$$anon$2.prototype = $c_sc_convert_Wrappers$MapWrapper$$anon$2.prototype;
54698
- $c_sc_convert_Wrappers$MapWrapper$$anon$2.prototype.init___sc_convert_Wrappers$MapWrapper = (function($$outer) {
54699
- if (($$outer === null)) {
54700
- throw $m_sjsr_package$().unwrapJavaScriptException__jl_Throwable__O(null)
54701
- } else {
54702
- this.$$outer$3 = $$outer
54703
- };
54704
- return this
54705
- });
54706
- $c_sc_convert_Wrappers$MapWrapper$$anon$2.prototype.size__I = (function() {
54707
- return this.$$outer$3.size__I()
54708
- });
54709
- var $d_sc_convert_Wrappers$MapWrapper$$anon$2 = new $TypeData().initClass({
54710
- sc_convert_Wrappers$MapWrapper$$anon$2: 0
54711
- }, false, "scala.collection.convert.Wrappers$MapWrapper$$anon$2", {
54712
- sc_convert_Wrappers$MapWrapper$$anon$2: 1,
54713
- ju_AbstractSet: 1,
54714
- ju_AbstractCollection: 1,
54715
- O: 1,
54716
- ju_Collection: 1,
54717
- jl_Iterable: 1,
54718
- ju_Set: 1
54719
- });
54720
- $c_sc_convert_Wrappers$MapWrapper$$anon$2.prototype.$classData = $d_sc_convert_Wrappers$MapWrapper$$anon$2;
54721
- /** @constructor */
54722
54351
  function $c_scg_SeqFactory() {
54723
54352
  $c_scg_GenSeqFactory.call(this)
54724
54353
  }
@@ -57472,6 +57101,41 @@ function $m_Lio_kaitai_struct_format_RootIdentifier$() {
57472
57101
  return $n_Lio_kaitai_struct_format_RootIdentifier$
57473
57102
  }
57474
57103
  /** @constructor */
57104
+ function $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError() {
57105
+ $c_Lio_kaitai_struct_precompile_NotFoundError.call(this);
57106
+ this.label$6 = null;
57107
+ this.enum$6 = null;
57108
+ this.enumDefPath$6 = null
57109
+ }
57110
+ $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype = new $h_Lio_kaitai_struct_precompile_NotFoundError();
57111
+ $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype.constructor = $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError;
57112
+ /** @constructor */
57113
+ function $h_Lio_kaitai_struct_precompile_EnumMemberNotFoundError() {
57114
+ /*<skip>*/
57115
+ }
57116
+ $h_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype = $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype;
57117
+ $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype.init___T__T__T = (function(label, $enum, enumDefPath) {
57118
+ this.label$6 = label;
57119
+ this.enum$6 = $enum;
57120
+ this.enumDefPath$6 = enumDefPath;
57121
+ var msg = (((((((("unable to find enum member '" + $enum) + "::") + label) + "' (enum '") + $enum) + "' defined at /") + enumDefPath) + ")");
57122
+ $c_jl_Throwable.prototype.init___T__jl_Throwable__Z__Z.call(this, msg, null, true, true);
57123
+ return this
57124
+ });
57125
+ var $d_Lio_kaitai_struct_precompile_EnumMemberNotFoundError = new $TypeData().initClass({
57126
+ Lio_kaitai_struct_precompile_EnumMemberNotFoundError: 0
57127
+ }, false, "io.kaitai.struct.precompile.EnumMemberNotFoundError", {
57128
+ Lio_kaitai_struct_precompile_EnumMemberNotFoundError: 1,
57129
+ Lio_kaitai_struct_precompile_NotFoundError: 1,
57130
+ Lio_kaitai_struct_precompile_ExpressionError: 1,
57131
+ jl_RuntimeException: 1,
57132
+ jl_Exception: 1,
57133
+ jl_Throwable: 1,
57134
+ O: 1,
57135
+ Ljava_io_Serializable: 1
57136
+ });
57137
+ $c_Lio_kaitai_struct_precompile_EnumMemberNotFoundError.prototype.$classData = $d_Lio_kaitai_struct_precompile_EnumMemberNotFoundError;
57138
+ /** @constructor */
57475
57139
  function $c_Lio_kaitai_struct_precompile_EnumNotFoundError() {
57476
57140
  $c_Lio_kaitai_struct_precompile_NotFoundError.call(this);
57477
57141
  this.name$6 = null;
@@ -74427,6 +74091,25 @@ function $f_sc_IndexedSeqOptimized__reverse__O($thiz) {
74427
74091
  };
74428
74092
  return b.result__O()
74429
74093
  }
74094
+ function $f_sc_IndexedSeqOptimized__find__F1__s_Option($thiz, p) {
74095
+ var len = $thiz.length__I();
74096
+ var i = 0;
74097
+ while (true) {
74098
+ if ((i < len)) {
74099
+ var arg1 = $thiz.apply__I__O(i);
74100
+ var jsx$1 = (!$uZ(p.apply__O__O(arg1)))
74101
+ } else {
74102
+ var jsx$1 = false
74103
+ };
74104
+ if (jsx$1) {
74105
+ i = ((1 + i) | 0)
74106
+ } else {
74107
+ break
74108
+ }
74109
+ };
74110
+ var i$1 = i;
74111
+ return ((i$1 < $thiz.length__I()) ? new $c_s_Some().init___O($thiz.apply__I__O(i$1)) : $m_s_None$())
74112
+ }
74430
74113
  function $f_sc_IndexedSeqOptimized__last__O($thiz) {
74431
74114
  return (($thiz.length__I() > 0) ? $thiz.apply__I__O((((-1) + $thiz.length__I()) | 0)) : $f_sc_TraversableLike__last__O($thiz))
74432
74115
  }
@@ -74456,12 +74139,12 @@ function $f_sc_IndexedSeqOptimized__copyToArray__O__I__I__V($thiz, xs, start, le
74456
74139
  j = ((1 + j) | 0)
74457
74140
  }
74458
74141
  }
74459
- function $f_sc_IndexedSeqOptimized__takeRight__I__O($thiz, n) {
74460
- return $thiz.slice__I__I__O((($thiz.length__I() - ((n > 0) ? n : 0)) | 0), $thiz.length__I())
74461
- }
74462
74142
  function $f_sc_IndexedSeqOptimized__dropRight__I__O($thiz, n) {
74463
74143
  return $thiz.slice__I__I__O(0, (($thiz.length__I() - ((n > 0) ? n : 0)) | 0))
74464
74144
  }
74145
+ function $f_sc_IndexedSeqOptimized__takeRight__I__O($thiz, n) {
74146
+ return $thiz.slice__I__I__O((($thiz.length__I() - ((n > 0) ? n : 0)) | 0), $thiz.length__I())
74147
+ }
74465
74148
  function $f_sc_IndexedSeqOptimized__reduceLeft__F2__O($thiz, op) {
74466
74149
  if (($thiz.length__I() > 0)) {
74467
74150
  var start = 1;
@@ -74536,6 +74219,16 @@ function $f_sc_LinearSeqOptimized__foldLeft__O__F2__O($thiz, z, op) {
74536
74219
  };
74537
74220
  return acc
74538
74221
  }
74222
+ function $f_sc_LinearSeqOptimized__find__F1__s_Option($thiz, p) {
74223
+ var these = $thiz;
74224
+ while ((!these.isEmpty__Z())) {
74225
+ if ($uZ(p.apply__O__O(these.head__O()))) {
74226
+ return new $c_s_Some().init___O(these.head__O())
74227
+ };
74228
+ these = $as_sc_LinearSeqOptimized(these.tail__O())
74229
+ };
74230
+ return $m_s_None$()
74231
+ }
74539
74232
  function $f_sc_LinearSeqOptimized__length__I($thiz) {
74540
74233
  var these = $thiz;
74541
74234
  var len = 0;
@@ -74570,13 +74263,6 @@ function $f_sc_LinearSeqOptimized__contains__O__Z($thiz, elem) {
74570
74263
  function $f_sc_LinearSeqOptimized__isDefinedAt__I__Z($thiz, x) {
74571
74264
  return ((x >= 0) && ($f_sc_LinearSeqOptimized__lengthCompare__I__I($thiz, x) > 0))
74572
74265
  }
74573
- function $f_sc_LinearSeqOptimized__reduceLeft__F2__O($thiz, op) {
74574
- if ($thiz.isEmpty__Z()) {
74575
- throw new $c_jl_UnsupportedOperationException().init___T("empty.reduceLeft")
74576
- } else {
74577
- return $as_sc_LinearSeqOptimized($thiz.tail__O()).foldLeft__O__F2__O($thiz.head__O(), op)
74578
- }
74579
- }
74580
74266
  function $f_sc_LinearSeqOptimized__loop$1__psc_LinearSeqOptimized__I__sc_LinearSeqOptimized__I__I($thiz, i, xs, len$1) {
74581
74267
  _loop: while (true) {
74582
74268
  if ((i === len$1)) {
@@ -74592,6 +74278,13 @@ function $f_sc_LinearSeqOptimized__loop$1__psc_LinearSeqOptimized__I__sc_LinearS
74592
74278
  }
74593
74279
  }
74594
74280
  }
74281
+ function $f_sc_LinearSeqOptimized__reduceLeft__F2__O($thiz, op) {
74282
+ if ($thiz.isEmpty__Z()) {
74283
+ throw new $c_jl_UnsupportedOperationException().init___T("empty.reduceLeft")
74284
+ } else {
74285
+ return $as_sc_LinearSeqOptimized($thiz.tail__O()).foldLeft__O__F2__O($thiz.head__O(), op)
74286
+ }
74287
+ }
74595
74288
  function $is_sc_LinearSeqOptimized(obj) {
74596
74289
  return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_LinearSeqOptimized)))
74597
74290
  }
@@ -84865,6 +84558,10 @@ $c_sc_AbstractIterable.prototype.foreach__F1__V = (function(f) {
84865
84558
  var this$1 = this.iterator__sc_Iterator();
84866
84559
  $f_sc_Iterator__foreach__F1__V(this$1, f)
84867
84560
  });
84561
+ $c_sc_AbstractIterable.prototype.find__F1__s_Option = (function(p) {
84562
+ var this$1 = this.iterator__sc_Iterator();
84563
+ return $f_sc_Iterator__find__F1__s_Option(this$1, p)
84564
+ });
84868
84565
  $c_sc_AbstractIterable.prototype.toStream__sci_Stream = (function() {
84869
84566
  return this.iterator__sc_Iterator().toStream__sci_Stream()
84870
84567
  });
@@ -85225,13 +84922,13 @@ function $h_scm_ArrayOps$ofRef() {
85225
84922
  /*<skip>*/
85226
84923
  }
85227
84924
  $h_scm_ArrayOps$ofRef.prototype = $c_scm_ArrayOps$ofRef.prototype;
85228
- $c_scm_ArrayOps$ofRef.prototype.copyToArray__O__I__V = (function(xs, start) {
85229
- $f_sc_TraversableOnce__copyToArray__O__I__V(this, xs, start)
85230
- });
85231
84925
  $c_scm_ArrayOps$ofRef.prototype.seq__sc_TraversableOnce = (function() {
85232
84926
  var $$this = this.repr$1;
85233
84927
  return new $c_scm_WrappedArray$ofRef().init___AO($$this)
85234
84928
  });
84929
+ $c_scm_ArrayOps$ofRef.prototype.copyToArray__O__I__V = (function(xs, start) {
84930
+ $f_sc_TraversableOnce__copyToArray__O__I__V(this, xs, start)
84931
+ });
85235
84932
  $c_scm_ArrayOps$ofRef.prototype.head__O = (function() {
85236
84933
  return $f_sc_IndexedSeqOptimized__head__O(this)
85237
84934
  });
@@ -85292,13 +84989,13 @@ $c_scm_ArrayOps$ofRef.prototype.toVector__sci_Vector = (function() {
85292
84989
  var cbf = $m_sc_IndexedSeq$().ReusableCBF$6;
85293
84990
  return $as_sci_Vector($f_sc_TraversableLike__to__scg_CanBuildFrom__O(this, cbf))
85294
84991
  });
84992
+ $c_scm_ArrayOps$ofRef.prototype.toBuffer__scm_Buffer = (function() {
84993
+ return $f_sc_IndexedSeqLike__toBuffer__scm_Buffer(this)
84994
+ });
85295
84995
  $c_scm_ArrayOps$ofRef.prototype.size__I = (function() {
85296
84996
  var $$this = this.repr$1;
85297
84997
  return $$this.u.length
85298
84998
  });
85299
- $c_scm_ArrayOps$ofRef.prototype.toBuffer__scm_Buffer = (function() {
85300
- return $f_sc_IndexedSeqLike__toBuffer__scm_Buffer(this)
85301
- });
85302
84999
  $c_scm_ArrayOps$ofRef.prototype.init___AO = (function(repr) {
85303
85000
  this.repr$1 = repr;
85304
85001
  return this
@@ -85617,33 +85314,33 @@ $c_sc_AbstractSeq.prototype.lengthCompare__I__I = (function(len) {
85617
85314
  $c_sc_AbstractSeq.prototype.indices__sci_Range = (function() {
85618
85315
  return $f_sc_SeqLike__indices__sci_Range(this)
85619
85316
  });
85620
- $c_sc_AbstractSeq.prototype.runWith__F1__F1 = (function(action) {
85621
- return $f_s_PartialFunction__runWith__F1__F1(this, action)
85622
- });
85623
85317
  $c_sc_AbstractSeq.prototype.isEmpty__Z = (function() {
85624
85318
  return $f_sc_SeqLike__isEmpty__Z(this)
85625
85319
  });
85320
+ $c_sc_AbstractSeq.prototype.runWith__F1__F1 = (function(action) {
85321
+ return $f_s_PartialFunction__runWith__F1__F1(this, action)
85322
+ });
85626
85323
  $c_sc_AbstractSeq.prototype.equals__O__Z = (function(that) {
85627
85324
  return $f_sc_GenSeqLike__equals__O__Z(this, that)
85628
85325
  });
85629
- $c_sc_AbstractSeq.prototype.toString__T = (function() {
85630
- return $f_sc_TraversableLike__toString__T(this)
85631
- });
85632
85326
  $c_sc_AbstractSeq.prototype.$$colon$plus__O__scg_CanBuildFrom__O = (function(elem, bf) {
85633
85327
  return $f_sc_SeqLike__$$colon$plus__O__scg_CanBuildFrom__O(this, elem, bf)
85634
85328
  });
85329
+ $c_sc_AbstractSeq.prototype.toString__T = (function() {
85330
+ return $f_sc_TraversableLike__toString__T(this)
85331
+ });
85635
85332
  $c_sc_AbstractSeq.prototype.size__I = (function() {
85636
85333
  return this.length__I()
85637
85334
  });
85638
85335
  $c_sc_AbstractSeq.prototype.thisCollection__sc_Seq = (function() {
85639
85336
  return this
85640
85337
  });
85641
- $c_sc_AbstractSeq.prototype.applyOrElse__O__F1__O = (function(x, $default) {
85642
- return $f_s_PartialFunction__applyOrElse__O__F1__O(this, x, $default)
85643
- });
85644
85338
  $c_sc_AbstractSeq.prototype.hashCode__I = (function() {
85645
85339
  return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this.seq__sc_Seq())
85646
85340
  });
85341
+ $c_sc_AbstractSeq.prototype.applyOrElse__O__F1__O = (function(x, $default) {
85342
+ return $f_s_PartialFunction__applyOrElse__O__F1__O(this, x, $default)
85343
+ });
85647
85344
  function $is_sci_Seq(obj) {
85648
85345
  return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sci_Seq)))
85649
85346
  }
@@ -86372,6 +86069,9 @@ $c_sci_Set$Set1.prototype.iterator__sc_Iterator = (function() {
86372
86069
  var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array);
86373
86070
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length))
86374
86071
  });
86072
+ $c_sci_Set$Set1.prototype.find__F1__s_Option = (function(p) {
86073
+ return ($uZ(p.apply__O__O(this.elem1$4)) ? new $c_s_Some().init___O(this.elem1$4) : $m_s_None$())
86074
+ });
86375
86075
  $c_sci_Set$Set1.prototype.empty__sc_Set = (function() {
86376
86076
  $m_sci_Set$();
86377
86077
  return $m_sci_Set$EmptySet$()
@@ -86493,6 +86193,9 @@ $c_sci_Set$Set2.prototype.iterator__sc_Iterator = (function() {
86493
86193
  var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array);
86494
86194
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length))
86495
86195
  });
86196
+ $c_sci_Set$Set2.prototype.find__F1__s_Option = (function(p) {
86197
+ return ($uZ(p.apply__O__O(this.elem1$4)) ? new $c_s_Some().init___O(this.elem1$4) : ($uZ(p.apply__O__O(this.elem2$4)) ? new $c_s_Some().init___O(this.elem2$4) : $m_s_None$()))
86198
+ });
86496
86199
  $c_sci_Set$Set2.prototype.empty__sc_Set = (function() {
86497
86200
  $m_sci_Set$();
86498
86201
  return $m_sci_Set$EmptySet$()
@@ -86617,6 +86320,9 @@ $c_sci_Set$Set3.prototype.iterator__sc_Iterator = (function() {
86617
86320
  var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array);
86618
86321
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length))
86619
86322
  });
86323
+ $c_sci_Set$Set3.prototype.find__F1__s_Option = (function(p) {
86324
+ return ($uZ(p.apply__O__O(this.elem1$4)) ? new $c_s_Some().init___O(this.elem1$4) : ($uZ(p.apply__O__O(this.elem2$4)) ? new $c_s_Some().init___O(this.elem2$4) : ($uZ(p.apply__O__O(this.elem3$4)) ? new $c_s_Some().init___O(this.elem3$4) : $m_s_None$())))
86325
+ });
86620
86326
  $c_sci_Set$Set3.prototype.empty__sc_Set = (function() {
86621
86327
  $m_sci_Set$();
86622
86328
  return $m_sci_Set$EmptySet$()
@@ -86737,6 +86443,9 @@ $c_sci_Set$Set4.prototype.iterator__sc_Iterator = (function() {
86737
86443
  var elems = new $c_sjs_js_WrappedArray().init___sjs_js_Array(array);
86738
86444
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(elems, 0, $uI(elems.array$6.length))
86739
86445
  });
86446
+ $c_sci_Set$Set4.prototype.find__F1__s_Option = (function(p) {
86447
+ return ($uZ(p.apply__O__O(this.elem1$4)) ? new $c_s_Some().init___O(this.elem1$4) : ($uZ(p.apply__O__O(this.elem2$4)) ? new $c_s_Some().init___O(this.elem2$4) : ($uZ(p.apply__O__O(this.elem3$4)) ? new $c_s_Some().init___O(this.elem3$4) : ($uZ(p.apply__O__O(this.elem4$4)) ? new $c_s_Some().init___O(this.elem4$4) : $m_s_None$()))))
86448
+ });
86740
86449
  $c_sci_Set$Set4.prototype.empty__sc_Set = (function() {
86741
86450
  $m_sci_Set$();
86742
86451
  return $m_sci_Set$EmptySet$()
@@ -89823,6 +89532,9 @@ $c_sci_Stream.prototype.filterImpl__F1__Z__O = (function(p, isFlipped) {
89823
89532
  $c_sci_Stream.prototype.iterator__sc_Iterator = (function() {
89824
89533
  return new $c_sci_StreamIterator().init___sci_Stream(this)
89825
89534
  });
89535
+ $c_sci_Stream.prototype.find__F1__s_Option = (function(p) {
89536
+ return $f_sc_LinearSeqOptimized__find__F1__s_Option(this, p)
89537
+ });
89826
89538
  $c_sci_Stream.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) {
89827
89539
  if ((bf.apply__O__scm_Builder(this) instanceof $c_sci_Stream$StreamBuilder)) {
89828
89540
  if (this.isEmpty__Z()) {
@@ -90595,6 +90307,9 @@ $c_sci_List.prototype.slice__I__I__sci_List = (function(from, until) {
90595
90307
  var lo = ((from > 0) ? from : 0);
90596
90308
  return (((until <= lo) || this.isEmpty__Z()) ? $m_sci_Nil$() : this.drop__I__sci_List(lo).take__I__sci_List(((until - lo) | 0)))
90597
90309
  });
90310
+ $c_sci_List.prototype.iterator__sc_Iterator = (function() {
90311
+ return new $c_sc_LinearSeqLike$$anon$1().init___sc_LinearSeqLike(this)
90312
+ });
90598
90313
  $c_sci_List.prototype.drop__I__sci_List = (function(n) {
90599
90314
  var these = this;
90600
90315
  var count = n;
@@ -90605,8 +90320,8 @@ $c_sci_List.prototype.drop__I__sci_List = (function(n) {
90605
90320
  };
90606
90321
  return these
90607
90322
  });
90608
- $c_sci_List.prototype.iterator__sc_Iterator = (function() {
90609
- return new $c_sc_LinearSeqLike$$anon$1().init___sc_LinearSeqLike(this)
90323
+ $c_sci_List.prototype.find__F1__s_Option = (function(p) {
90324
+ return $f_sc_LinearSeqOptimized__find__F1__s_Option(this, p)
90610
90325
  });
90611
90326
  $c_sci_List.prototype.$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O = (function(that, bf) {
90612
90327
  return ((bf === $m_sci_List$().ReusableCBFInstance$2) ? that.seq__sc_TraversableOnce().toList__sci_List().$$colon$colon$colon__sci_List__sci_List(this) : $f_sc_TraversableLike__$$plus$plus__sc_GenTraversableOnce__scg_CanBuildFrom__O(this, that, bf))
@@ -91936,12 +91651,12 @@ $c_sci_WrappedString.prototype.apply__O__O = (function(v1) {
91936
91651
  $c_sci_WrappedString.prototype.exists__F1__Z = (function(p) {
91937
91652
  return $f_sc_IndexedSeqOptimized__exists__F1__Z(this, p)
91938
91653
  });
91939
- $c_sci_WrappedString.prototype.isEmpty__Z = (function() {
91940
- return $f_sc_IndexedSeqOptimized__isEmpty__Z(this)
91941
- });
91942
91654
  $c_sci_WrappedString.prototype.toList__sci_List = (function() {
91943
91655
  return $f_sc_IndexedSeqOptimized__toList__sci_List(this)
91944
91656
  });
91657
+ $c_sci_WrappedString.prototype.isEmpty__Z = (function() {
91658
+ return $f_sc_IndexedSeqOptimized__isEmpty__Z(this)
91659
+ });
91945
91660
  $c_sci_WrappedString.prototype.seq__sc_Iterable = (function() {
91946
91661
  return this
91947
91662
  });
@@ -91952,12 +91667,12 @@ $c_sci_WrappedString.prototype.apply__I__C = (function(n) {
91952
91667
  var thiz = this.self$4;
91953
91668
  return (65535 & $uI(thiz.charCodeAt(n)))
91954
91669
  });
91955
- $c_sci_WrappedString.prototype.companion__scg_GenericCompanion = (function() {
91956
- return $m_sci_IndexedSeq$()
91957
- });
91958
91670
  $c_sci_WrappedString.prototype.toString__T = (function() {
91959
91671
  return this.self$4
91960
91672
  });
91673
+ $c_sci_WrappedString.prototype.companion__scg_GenericCompanion = (function() {
91674
+ return $m_sci_IndexedSeq$()
91675
+ });
91961
91676
  $c_sci_WrappedString.prototype.foreach__F1__V = (function(f) {
91962
91677
  $f_sc_IndexedSeqOptimized__foreach__F1__V(this, f)
91963
91678
  });
@@ -91986,6 +91701,9 @@ $c_sci_WrappedString.prototype.iterator__sc_Iterator = (function() {
91986
91701
  var thiz = this.self$4;
91987
91702
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, $uI(thiz.length))
91988
91703
  });
91704
+ $c_sci_WrappedString.prototype.find__F1__s_Option = (function(p) {
91705
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
91706
+ });
91989
91707
  $c_sci_WrappedString.prototype.mkString__T = (function() {
91990
91708
  return this.self$4
91991
91709
  });
@@ -92020,14 +91738,11 @@ $c_sci_WrappedString.prototype.init___T = (function(self) {
92020
91738
  this.self$4 = self;
92021
91739
  return this
92022
91740
  });
92023
- $c_sci_WrappedString.prototype.dropRight__I__O = (function(n) {
92024
- return $f_sc_IndexedSeqOptimized__dropRight__I__O(this, n)
92025
- });
92026
91741
  $c_sci_WrappedString.prototype.takeRight__I__O = (function(n) {
92027
91742
  return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
92028
91743
  });
92029
- $c_sci_WrappedString.prototype.toArray__s_reflect_ClassTag__O = (function(evidence$1) {
92030
- return $m_sjsr_RuntimeString$().toCharArray__T__AC(this.self$4)
91744
+ $c_sci_WrappedString.prototype.dropRight__I__O = (function(n) {
91745
+ return $f_sc_IndexedSeqOptimized__dropRight__I__O(this, n)
92031
91746
  });
92032
91747
  $c_sci_WrappedString.prototype.slice__I__I__sci_WrappedString = (function(from, until) {
92033
91748
  var start = ((from < 0) ? 0 : from);
@@ -92050,6 +91765,9 @@ $c_sci_WrappedString.prototype.slice__I__I__sci_WrappedString = (function(from,
92050
91765
  var thiz$3 = $m_s_Predef$().unwrapString__sci_WrappedString__T(this);
92051
91766
  return new $c_sci_WrappedString().init___T($as_T(thiz$3.substring(start, end)))
92052
91767
  });
91768
+ $c_sci_WrappedString.prototype.toArray__s_reflect_ClassTag__O = (function(evidence$1) {
91769
+ return $m_sjsr_RuntimeString$().toCharArray__T__AC(this.self$4)
91770
+ });
92053
91771
  $c_sci_WrappedString.prototype.reduceLeft__F2__O = (function(op) {
92054
91772
  return $f_sc_IndexedSeqOptimized__reduceLeft__F2__O(this, op)
92055
91773
  });
@@ -93253,6 +92971,9 @@ $c_scm_WrappedArray.prototype.seq__scm_Seq = (function() {
93253
92971
  $c_scm_WrappedArray.prototype.iterator__sc_Iterator = (function() {
93254
92972
  return new $c_sc_IndexedSeqLike$Elements().init___sc_IndexedSeqLike__I__I(this, 0, this.length__I())
93255
92973
  });
92974
+ $c_scm_WrappedArray.prototype.find__F1__s_Option = (function(p) {
92975
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
92976
+ });
93256
92977
  $c_scm_WrappedArray.prototype.seq__sc_Seq = (function() {
93257
92978
  return this
93258
92979
  });
@@ -93296,19 +93017,6 @@ $c_scm_WrappedArray.prototype.stringPrefix__T = (function() {
93296
93017
  return "WrappedArray"
93297
93018
  });
93298
93019
  /** @constructor */
93299
- function $c_sc_convert_Wrappers$JMapWrapper() {
93300
- /*<skip>*/
93301
- }
93302
- function $as_sc_convert_Wrappers$JMapWrapper(obj) {
93303
- return (((obj instanceof $c_sc_convert_Wrappers$JMapWrapper) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.convert.Wrappers$JMapWrapper"))
93304
- }
93305
- function $isArrayOf_sc_convert_Wrappers$JMapWrapper(obj, depth) {
93306
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_convert_Wrappers$JMapWrapper)))
93307
- }
93308
- function $asArrayOf_sc_convert_Wrappers$JMapWrapper(obj, depth) {
93309
- return (($isArrayOf_sc_convert_Wrappers$JMapWrapper(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.convert.Wrappers$JMapWrapper;", depth))
93310
- }
93311
- /** @constructor */
93312
93020
  function $c_scm_ArraySeq() {
93313
93021
  $c_scm_AbstractSeq.call(this);
93314
93022
  this.length$5 = 0;
@@ -93388,6 +93096,9 @@ $c_scm_ArraySeq.prototype.iterator__sc_Iterator = (function() {
93388
93096
  $c_scm_ArraySeq.prototype.seq__scm_Seq = (function() {
93389
93097
  return this
93390
93098
  });
93099
+ $c_scm_ArraySeq.prototype.find__F1__s_Option = (function(p) {
93100
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
93101
+ });
93391
93102
  $c_scm_ArraySeq.prototype.init___I = (function(length) {
93392
93103
  this.length$5 = length;
93393
93104
  this.array$5 = $newArrayObject($d_O.getArrayOf(), [length]);
@@ -93424,12 +93135,12 @@ $c_scm_ArraySeq.prototype.copyToArray__O__I__I__V = (function(xs, start, len) {
93424
93135
  $c_scm_ArraySeq.prototype.hashCode__I = (function() {
93425
93136
  return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this)
93426
93137
  });
93427
- $c_scm_ArraySeq.prototype.takeRight__I__O = (function(n) {
93428
- return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
93429
- });
93430
93138
  $c_scm_ArraySeq.prototype.dropRight__I__O = (function(n) {
93431
93139
  return $f_sc_IndexedSeqOptimized__dropRight__I__O(this, n)
93432
93140
  });
93141
+ $c_scm_ArraySeq.prototype.takeRight__I__O = (function(n) {
93142
+ return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
93143
+ });
93433
93144
  $c_scm_ArraySeq.prototype.reduceLeft__F2__O = (function(op) {
93434
93145
  return $f_sc_IndexedSeqOptimized__reduceLeft__F2__O(this, op)
93435
93146
  });
@@ -95141,6 +94852,10 @@ function $h_scm_ListBuffer() {
95141
94852
  /*<skip>*/
95142
94853
  }
95143
94854
  $h_scm_ListBuffer.prototype = $c_scm_ListBuffer.prototype;
94855
+ $c_scm_ListBuffer.prototype.copyToArray__O__I__V = (function(xs, start) {
94856
+ var this$1 = this.scala$collection$mutable$ListBuffer$$start$6;
94857
+ $f_sc_TraversableOnce__copyToArray__O__I__V(this$1, xs, start)
94858
+ });
95144
94859
  $c_scm_ListBuffer.prototype.copy__p6__V = (function() {
95145
94860
  if (this.isEmpty__Z()) {
95146
94861
  return (void 0)
@@ -95155,10 +94870,6 @@ $c_scm_ListBuffer.prototype.copy__p6__V = (function() {
95155
94870
  cursor = this$2.tail__sci_List()
95156
94871
  }
95157
94872
  });
95158
- $c_scm_ListBuffer.prototype.copyToArray__O__I__V = (function(xs, start) {
95159
- var this$1 = this.scala$collection$mutable$ListBuffer$$start$6;
95160
- $f_sc_TraversableOnce__copyToArray__O__I__V(this$1, xs, start)
95161
- });
95162
94873
  $c_scm_ListBuffer.prototype.head__O = (function() {
95163
94874
  return this.scala$collection$mutable$ListBuffer$$start$6.head__O()
95164
94875
  });
@@ -95270,6 +94981,10 @@ $c_scm_ListBuffer.prototype.iterator__sc_Iterator = (function() {
95270
94981
  $c_scm_ListBuffer.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) {
95271
94982
  $f_scm_Builder__sizeHintBounded__I__sc_TraversableLike__V(this, size, boundingColl)
95272
94983
  });
94984
+ $c_scm_ListBuffer.prototype.find__F1__s_Option = (function(p) {
94985
+ var this$1 = this.scala$collection$mutable$ListBuffer$$start$6;
94986
+ return $f_sc_LinearSeqOptimized__find__F1__s_Option(this$1, p)
94987
+ });
95273
94988
  $c_scm_ListBuffer.prototype.mkString__T = (function() {
95274
94989
  var this$1 = this.scala$collection$mutable$ListBuffer$$start$6;
95275
94990
  return $f_sc_TraversableOnce__mkString__T__T__T__T(this$1, "", "", "")
@@ -95566,6 +95281,9 @@ $c_scm_StringBuilder.prototype.seq__scm_Seq = (function() {
95566
95281
  $c_scm_StringBuilder.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) {
95567
95282
  $f_scm_Builder__sizeHintBounded__I__sc_TraversableLike__V(this, size, boundingColl)
95568
95283
  });
95284
+ $c_scm_StringBuilder.prototype.find__F1__s_Option = (function(p) {
95285
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
95286
+ });
95569
95287
  $c_scm_StringBuilder.prototype.init___I__T = (function(initCapacity, initValue) {
95570
95288
  var this$2 = new $c_jl_StringBuilder().init___I((($uI(initValue.length) + initCapacity) | 0));
95571
95289
  this$2.java$lang$StringBuilder$$content$f = (("" + this$2.java$lang$StringBuilder$$content$f) + initValue);
@@ -95622,12 +95340,12 @@ $c_scm_StringBuilder.prototype.copyToArray__O__I__I__V = (function(xs, start, le
95622
95340
  $c_scm_StringBuilder.prototype.hashCode__I = (function() {
95623
95341
  return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this)
95624
95342
  });
95625
- $c_scm_StringBuilder.prototype.takeRight__I__O = (function(n) {
95626
- return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
95627
- });
95628
95343
  $c_scm_StringBuilder.prototype.dropRight__I__O = (function(n) {
95629
95344
  return $f_sc_IndexedSeqOptimized__dropRight__I__O(this, n)
95630
95345
  });
95346
+ $c_scm_StringBuilder.prototype.takeRight__I__O = (function(n) {
95347
+ return $f_sc_IndexedSeqOptimized__takeRight__I__O(this, n)
95348
+ });
95631
95349
  $c_scm_StringBuilder.prototype.toArray__s_reflect_ClassTag__O = (function(evidence$1) {
95632
95350
  return $m_sjsr_RuntimeString$().toCharArray__T__AC(this.underlying$5.java$lang$StringBuilder$$content$f)
95633
95351
  });
@@ -95793,6 +95511,9 @@ $c_sjs_js_WrappedArray.prototype.seq__scm_Seq = (function() {
95793
95511
  $c_sjs_js_WrappedArray.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) {
95794
95512
  $f_scm_Builder__sizeHintBounded__I__sc_TraversableLike__V(this, size, boundingColl)
95795
95513
  });
95514
+ $c_sjs_js_WrappedArray.prototype.find__F1__s_Option = (function(p) {
95515
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
95516
+ });
95796
95517
  $c_sjs_js_WrappedArray.prototype.length__I = (function() {
95797
95518
  return $uI(this.array$6.length)
95798
95519
  });
@@ -96007,6 +95728,9 @@ $c_scm_ArrayBuffer.prototype.seq__scm_Seq = (function() {
96007
95728
  $c_scm_ArrayBuffer.prototype.sizeHintBounded__I__sc_TraversableLike__V = (function(size, boundingColl) {
96008
95729
  $f_scm_Builder__sizeHintBounded__I__sc_TraversableLike__V(this, size, boundingColl)
96009
95730
  });
95731
+ $c_scm_ArrayBuffer.prototype.find__F1__s_Option = (function(p) {
95732
+ return $f_sc_IndexedSeqOptimized__find__F1__s_Option(this, p)
95733
+ });
96010
95734
  $c_scm_ArrayBuffer.prototype.init___I = (function(initialSize) {
96011
95735
  this.initialSize$6 = initialSize;
96012
95736
  $f_scm_ResizableArray__$$init$__V(this);
@@ -96157,4 +95881,3 @@ $e.io.kaitai.struct.MainJs = $m_Lio_kaitai_struct_MainJs$;
96157
95881
  return exports.io.kaitai.struct.MainJs;
96158
95882
 
96159
95883
  }));
96160
-