kaitai-struct-compiler 0.11.0-SNAPSHOT20250501.162508.91aeb53 → 0.11.0-SNAPSHOT20250814.145539.cc2621d

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.
@@ -1842,186 +1842,192 @@ function $m_Lfastparse_package$() {
1842
1842
  }
1843
1843
  /** @constructor */
1844
1844
  function $c_Lio_kaitai_struct_EncodingList$() {
1845
- this.Lio_kaitai_struct_EncodingList$__f_canonicalToAlias = null;
1845
+ this.Lio_kaitai_struct_EncodingList$__f_canonicalToAliasEntries = null;
1846
+ this.Lio_kaitai_struct_EncodingList$__f_canonicalSet = null;
1846
1847
  $n_Lio_kaitai_struct_EncodingList$ = this;
1847
- var this$214 = $n($m_s_Predef$().s_Predef$__f_Map);
1848
- var this$5 = $n($m_s_Predef$().s_Predef$__f_Set);
1848
+ $n($m_s_package$().s_package$__f_List);
1849
+ $n($m_s_package$().s_package$__f_List);
1849
1850
  var array = ["US-ASCII", "US_ASCII", "IBM367", "cp367", "csASCII", "iso-ir-6"];
1850
1851
  var elems = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array);
1851
- var y = this$5.from__sc_IterableOnce__sci_Set(elems);
1852
+ var y = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems);
1852
1853
  var $$x34 = new $c_T2("ASCII", y);
1853
- var this$11 = $n($m_s_Predef$().s_Predef$__f_Set);
1854
+ $n($m_s_package$().s_package$__f_List);
1854
1855
  var array$1 = ["UTF8", "UTF_8", "ISO-10646/UTF-8", "ISO-10646/UTF8", "cp65001", "csUTF8", "unicode-1-1-utf-8", "unicode-2-0-utf-8"];
1855
1856
  var elems$1 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$1);
1856
- var y$1 = this$11.from__sc_IterableOnce__sci_Set(elems$1);
1857
+ var y$1 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$1);
1857
1858
  var $$x33 = new $c_T2("UTF-8", y$1);
1858
- var this$17 = $n($m_s_Predef$().s_Predef$__f_Set);
1859
+ $n($m_s_package$().s_package$__f_List);
1859
1860
  var array$2 = ["UTF16BE", "UTF16-BE", "UTF-16-BE", "UTF_16BE", "UTF16_BE", "UTF_16_BE", "csUTF16BE"];
1860
1861
  var elems$2 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$2);
1861
- var y$2 = this$17.from__sc_IterableOnce__sci_Set(elems$2);
1862
+ var y$2 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$2);
1862
1863
  var $$x32 = new $c_T2("UTF-16BE", y$2);
1863
- var this$23 = $n($m_s_Predef$().s_Predef$__f_Set);
1864
+ $n($m_s_package$().s_package$__f_List);
1864
1865
  var array$3 = ["UTF16LE", "UTF16-LE", "UTF-16-LE", "UTF_16LE", "UTF16_LE", "UTF_16_LE", "csUTF16LE"];
1865
1866
  var elems$3 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$3);
1866
- var y$3 = this$23.from__sc_IterableOnce__sci_Set(elems$3);
1867
+ var y$3 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$3);
1867
1868
  var $$x31 = new $c_T2("UTF-16LE", y$3);
1868
- var this$29 = $n($m_s_Predef$().s_Predef$__f_Set);
1869
+ $n($m_s_package$().s_package$__f_List);
1869
1870
  var array$4 = ["UTF32BE", "UTF32-BE", "UTF-32-BE", "UTF_32BE", "UTF32_BE", "UTF_32_BE", "csUTF32BE"];
1870
1871
  var elems$4 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$4);
1871
- var y$4 = this$29.from__sc_IterableOnce__sci_Set(elems$4);
1872
+ var y$4 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$4);
1872
1873
  var $$x30 = new $c_T2("UTF-32BE", y$4);
1873
- var this$35 = $n($m_s_Predef$().s_Predef$__f_Set);
1874
+ $n($m_s_package$().s_package$__f_List);
1874
1875
  var array$5 = ["UTF32LE", "UTF32-LE", "UTF-32-LE", "UTF_32LE", "UTF32_LE", "UTF_32_LE", "csUTF32LE"];
1875
1876
  var elems$5 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$5);
1876
- var y$5 = this$35.from__sc_IterableOnce__sci_Set(elems$5);
1877
+ var y$5 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$5);
1877
1878
  var $$x29 = new $c_T2("UTF-32LE", y$5);
1878
- var this$41 = $n($m_s_Predef$().s_Predef$__f_Set);
1879
- var array$6 = ["ISO8859-1", "ISO_8859-1", "ISO88591", "ISO_8859_1", "ISO8859_1", "8859_1", "8859-1", "88591", "latin1", "L1", "csISOLatin1", "iso-ir-100", "IBM819", "cp819", "windows-28591"];
1879
+ $n($m_s_package$().s_package$__f_List);
1880
+ var array$6 = ["ISO8859-1", "ISO_8859-1", "ISO88591", "ISO_8859_1", "ISO8859_1", "8859_1", "8859-1", "88591", "latin1", "latin-1", "latin_1", "L1", "csISOLatin1", "iso-ir-100", "IBM819", "cp819", "windows-28591"];
1880
1881
  var elems$6 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$6);
1881
- var y$6 = this$41.from__sc_IterableOnce__sci_Set(elems$6);
1882
+ var y$6 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$6);
1882
1883
  var $$x28 = new $c_T2("ISO-8859-1", y$6);
1883
- var this$47 = $n($m_s_Predef$().s_Predef$__f_Set);
1884
- var array$7 = ["ISO8859-2", "ISO_8859-2", "ISO88592", "ISO_8859_2", "ISO8859_2", "8859_2", "8859-2", "88592", "latin2", "L2", "csISOLatin2", "iso-ir-101", "IBM1111", "windows-28592"];
1884
+ $n($m_s_package$().s_package$__f_List);
1885
+ var array$7 = ["ISO8859-2", "ISO_8859-2", "ISO88592", "ISO_8859_2", "ISO8859_2", "8859_2", "8859-2", "88592", "latin2", "latin-2", "latin_2", "L2", "csISOLatin2", "iso-ir-101", "IBM1111", "windows-28592"];
1885
1886
  var elems$7 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$7);
1886
- var y$7 = this$47.from__sc_IterableOnce__sci_Set(elems$7);
1887
+ var y$7 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$7);
1887
1888
  var $$x27 = new $c_T2("ISO-8859-2", y$7);
1888
- var this$53 = $n($m_s_Predef$().s_Predef$__f_Set);
1889
- var array$8 = ["ISO8859-3", "ISO_8859-3", "ISO88593", "ISO_8859_3", "ISO8859_3", "8859_3", "8859-3", "88593", "latin3", "L3", "csISOLatin3", "iso-ir-109", "windows-28593"];
1889
+ $n($m_s_package$().s_package$__f_List);
1890
+ var array$8 = ["ISO8859-3", "ISO_8859-3", "ISO88593", "ISO_8859_3", "ISO8859_3", "8859_3", "8859-3", "88593", "latin3", "latin-3", "latin_3", "L3", "csISOLatin3", "iso-ir-109", "windows-28593"];
1890
1891
  var elems$8 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$8);
1891
- var y$8 = this$53.from__sc_IterableOnce__sci_Set(elems$8);
1892
+ var y$8 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$8);
1892
1893
  var $$x26 = new $c_T2("ISO-8859-3", y$8);
1893
- var this$59 = $n($m_s_Predef$().s_Predef$__f_Set);
1894
- var array$9 = ["ISO8859-4", "ISO_8859-4", "ISO88594", "ISO_8859_4", "ISO8859_4", "8859_4", "8859-4", "88594", "latin4", "L4", "csISOLatin4", "iso-ir-110", "windows-28594"];
1894
+ $n($m_s_package$().s_package$__f_List);
1895
+ var array$9 = ["ISO8859-4", "ISO_8859-4", "ISO88594", "ISO_8859_4", "ISO8859_4", "8859_4", "8859-4", "88594", "latin4", "latin-4", "latin_4", "L4", "csISOLatin4", "iso-ir-110", "windows-28594"];
1895
1896
  var elems$9 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$9);
1896
- var y$9 = this$59.from__sc_IterableOnce__sci_Set(elems$9);
1897
+ var y$9 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$9);
1897
1898
  var $$x25 = new $c_T2("ISO-8859-4", y$9);
1898
- var this$65 = $n($m_s_Predef$().s_Predef$__f_Set);
1899
+ $n($m_s_package$().s_package$__f_List);
1899
1900
  var array$10 = ["ISO8859-5", "ISO_8859-5", "ISO88595", "ISO_8859_5", "ISO8859_5", "8859_5", "8859-5", "88595", "cyrillic", "csISOLatinCyrillic", "iso-ir-144", "windows-28595"];
1900
1901
  var elems$10 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$10);
1901
- var y$10 = this$65.from__sc_IterableOnce__sci_Set(elems$10);
1902
+ var y$10 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$10);
1902
1903
  var $$x24 = new $c_T2("ISO-8859-5", y$10);
1903
- var this$71 = $n($m_s_Predef$().s_Predef$__f_Set);
1904
+ $n($m_s_package$().s_package$__f_List);
1904
1905
  var array$11 = ["ISO8859-6", "ISO_8859-6", "ISO88596", "ISO_8859_6", "ISO8859_6", "8859_6", "8859-6", "88596", "arabic", "csISOLatinArabic", "iso-ir-127", "windows-28596", "ECMA-114", "ASMO-708"];
1905
1906
  var elems$11 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$11);
1906
- var y$11 = this$71.from__sc_IterableOnce__sci_Set(elems$11);
1907
+ var y$11 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$11);
1907
1908
  var $$x23 = new $c_T2("ISO-8859-6", y$11);
1908
- var this$77 = $n($m_s_Predef$().s_Predef$__f_Set);
1909
+ $n($m_s_package$().s_package$__f_List);
1909
1910
  var array$12 = ["ISO8859-7", "ISO_8859-7", "ISO88597", "ISO_8859_7", "ISO8859_7", "8859_7", "8859-7", "88597", "greek", "greek8", "csISOLatinGreek", "iso-ir-126", "windows-28597", "ECMA-118", "ELOT_928"];
1910
1911
  var elems$12 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$12);
1911
- var y$12 = this$77.from__sc_IterableOnce__sci_Set(elems$12);
1912
+ var y$12 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$12);
1912
1913
  var $$x22 = new $c_T2("ISO-8859-7", y$12);
1913
- var this$83 = $n($m_s_Predef$().s_Predef$__f_Set);
1914
+ $n($m_s_package$().s_package$__f_List);
1914
1915
  var array$13 = ["ISO8859-8", "ISO_8859-8", "ISO88598", "ISO_8859_8", "ISO8859_8", "8859_8", "8859-8", "88598", "hebrew", "csISOLatinHebrew", "iso-ir-138", "windows-28598"];
1915
1916
  var elems$13 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$13);
1916
- var y$13 = this$83.from__sc_IterableOnce__sci_Set(elems$13);
1917
+ var y$13 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$13);
1917
1918
  var $$x21 = new $c_T2("ISO-8859-8", y$13);
1918
- var this$89 = $n($m_s_Predef$().s_Predef$__f_Set);
1919
- var array$14 = ["ISO8859-9", "ISO_8859-9", "ISO88599", "ISO_8859_9", "ISO8859_9", "8859_9", "8859-9", "88599", "latin5", "L5", "csISOLatin5", "iso-ir-148", "windows-28599"];
1919
+ $n($m_s_package$().s_package$__f_List);
1920
+ var array$14 = ["ISO8859-9", "ISO_8859-9", "ISO88599", "ISO_8859_9", "ISO8859_9", "8859_9", "8859-9", "88599", "latin5", "latin-5", "latin_5", "L5", "csISOLatin5", "iso-ir-148", "windows-28599"];
1920
1921
  var elems$14 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$14);
1921
- var y$14 = this$89.from__sc_IterableOnce__sci_Set(elems$14);
1922
+ var y$14 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$14);
1922
1923
  var $$x20 = new $c_T2("ISO-8859-9", y$14);
1923
- var this$95 = $n($m_s_Predef$().s_Predef$__f_Set);
1924
- var array$15 = ["ISO8859-10", "ISO_8859-10", "ISO885910", "ISO_8859_10", "ISO8859_10", "8859_10", "8859-10", "885910", "latin6", "L6", "csISOLatin6", "iso-ir-157"];
1924
+ $n($m_s_package$().s_package$__f_List);
1925
+ var array$15 = ["ISO8859-10", "ISO_8859-10", "ISO885910", "ISO_8859_10", "ISO8859_10", "8859_10", "8859-10", "885910", "latin6", "latin-6", "latin_6", "L6", "csISOLatin6", "iso-ir-157"];
1925
1926
  var elems$15 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$15);
1926
- var y$15 = this$95.from__sc_IterableOnce__sci_Set(elems$15);
1927
+ var y$15 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$15);
1927
1928
  var $$x19 = new $c_T2("ISO-8859-10", y$15);
1928
- var this$101 = $n($m_s_Predef$().s_Predef$__f_Set);
1929
+ $n($m_s_package$().s_package$__f_List);
1929
1930
  var array$16 = ["ISO8859-11", "ISO_8859-11", "ISO885911", "ISO_8859_11", "ISO8859_11", "8859_11", "8859-11", "885911", "thai", "csTIS620", "TIS-620"];
1930
1931
  var elems$16 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$16);
1931
- var y$16 = this$101.from__sc_IterableOnce__sci_Set(elems$16);
1932
+ var y$16 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$16);
1932
1933
  var $$x18 = new $c_T2("ISO-8859-11", y$16);
1933
- var this$107 = $n($m_s_Predef$().s_Predef$__f_Set);
1934
- var array$17 = ["ISO8859-13", "ISO_8859-13", "ISO885913", "ISO_8859_13", "ISO8859_13", "8859_13", "8859-13", "885913", "latin7", "L7", "csISO885913", "windows-28603"];
1934
+ $n($m_s_package$().s_package$__f_List);
1935
+ var array$17 = ["ISO8859-13", "ISO_8859-13", "ISO885913", "ISO_8859_13", "ISO8859_13", "8859_13", "8859-13", "885913", "latin7", "latin-7", "latin_7", "L7", "csISO885913", "windows-28603"];
1935
1936
  var elems$17 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$17);
1936
- var y$17 = this$107.from__sc_IterableOnce__sci_Set(elems$17);
1937
+ var y$17 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$17);
1937
1938
  var $$x17 = new $c_T2("ISO-8859-13", y$17);
1938
- var this$113 = $n($m_s_Predef$().s_Predef$__f_Set);
1939
- var array$18 = ["ISO8859-14", "ISO_8859-14", "ISO885914", "ISO_8859_14", "ISO8859_14", "8859_14", "8859-14", "885914", "latin8", "L8", "csISO885914", "iso-ir-199", "iso-celtic"];
1939
+ $n($m_s_package$().s_package$__f_List);
1940
+ var array$18 = ["ISO8859-14", "ISO_8859-14", "ISO885914", "ISO_8859_14", "ISO8859_14", "8859_14", "8859-14", "885914", "latin8", "latin-8", "latin_8", "L8", "csISO885914", "iso-ir-199", "iso-celtic"];
1940
1941
  var elems$18 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$18);
1941
- var y$18 = this$113.from__sc_IterableOnce__sci_Set(elems$18);
1942
+ var y$18 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$18);
1942
1943
  var $$x16 = new $c_T2("ISO-8859-14", y$18);
1943
- var this$119 = $n($m_s_Predef$().s_Predef$__f_Set);
1944
- var array$19 = ["ISO8859-15", "ISO_8859-15", "ISO885915", "ISO_8859_15", "ISO8859_15", "8859_15", "8859-15", "885915", "latin9", "L9", "csISO885915", "windows-28605"];
1944
+ $n($m_s_package$().s_package$__f_List);
1945
+ var array$19 = ["ISO8859-15", "ISO_8859-15", "ISO885915", "ISO_8859_15", "ISO8859_15", "8859_15", "8859-15", "885915", "latin9", "latin-9", "latin_9", "L9", "csISO885915", "windows-28605"];
1945
1946
  var elems$19 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$19);
1946
- var y$19 = this$119.from__sc_IterableOnce__sci_Set(elems$19);
1947
+ var y$19 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$19);
1947
1948
  var $$x15 = new $c_T2("ISO-8859-15", y$19);
1948
- var this$125 = $n($m_s_Predef$().s_Predef$__f_Set);
1949
- var array$20 = ["ISO8859-16", "ISO_8859-16", "ISO885916", "ISO_8859_16", "ISO8859_16", "8859_16", "8859-16", "885916", "latin10", "L10", "csISO885916"];
1949
+ $n($m_s_package$().s_package$__f_List);
1950
+ var array$20 = ["ISO8859-16", "ISO_8859-16", "ISO885916", "ISO_8859_16", "ISO8859_16", "8859_16", "8859-16", "885916", "latin10", "latin-10", "latin_10", "L10", "csISO885916"];
1950
1951
  var elems$20 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$20);
1951
- var y$20 = this$125.from__sc_IterableOnce__sci_Set(elems$20);
1952
+ var y$20 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$20);
1952
1953
  var $$x14 = new $c_T2("ISO-8859-16", y$20);
1953
- var this$131 = $n($m_s_Predef$().s_Predef$__f_Set);
1954
+ $n($m_s_package$().s_package$__f_List);
1954
1955
  var array$21 = ["cp1250", "cswindows1250"];
1955
1956
  var elems$21 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$21);
1956
- var y$21 = this$131.from__sc_IterableOnce__sci_Set(elems$21);
1957
+ var y$21 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$21);
1957
1958
  var $$x13 = new $c_T2("windows-1250", y$21);
1958
- var this$137 = $n($m_s_Predef$().s_Predef$__f_Set);
1959
+ $n($m_s_package$().s_package$__f_List);
1959
1960
  var array$22 = ["cp1251", "cswindows1251"];
1960
1961
  var elems$22 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$22);
1961
- var y$22 = this$137.from__sc_IterableOnce__sci_Set(elems$22);
1962
+ var y$22 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$22);
1962
1963
  var $$x12 = new $c_T2("windows-1251", y$22);
1963
- var this$143 = $n($m_s_Predef$().s_Predef$__f_Set);
1964
+ $n($m_s_package$().s_package$__f_List);
1964
1965
  var array$23 = ["cp1252", "cswindows1252"];
1965
1966
  var elems$23 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$23);
1966
- var y$23 = this$143.from__sc_IterableOnce__sci_Set(elems$23);
1967
+ var y$23 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$23);
1967
1968
  var $$x11 = new $c_T2("windows-1252", y$23);
1968
- var this$149 = $n($m_s_Predef$().s_Predef$__f_Set);
1969
+ $n($m_s_package$().s_package$__f_List);
1969
1970
  var array$24 = ["cp1253", "cswindows1253"];
1970
1971
  var elems$24 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$24);
1971
- var y$24 = this$149.from__sc_IterableOnce__sci_Set(elems$24);
1972
+ var y$24 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$24);
1972
1973
  var $$x10 = new $c_T2("windows-1253", y$24);
1973
- var this$155 = $n($m_s_Predef$().s_Predef$__f_Set);
1974
+ $n($m_s_package$().s_package$__f_List);
1974
1975
  var array$25 = ["cp1254", "cswindows1254"];
1975
1976
  var elems$25 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$25);
1976
- var y$25 = this$155.from__sc_IterableOnce__sci_Set(elems$25);
1977
+ var y$25 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$25);
1977
1978
  var $$x9 = new $c_T2("windows-1254", y$25);
1978
- var this$161 = $n($m_s_Predef$().s_Predef$__f_Set);
1979
+ $n($m_s_package$().s_package$__f_List);
1979
1980
  var array$26 = ["cp1255", "cswindows1255"];
1980
1981
  var elems$26 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$26);
1981
- var y$26 = this$161.from__sc_IterableOnce__sci_Set(elems$26);
1982
+ var y$26 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$26);
1982
1983
  var $$x8 = new $c_T2("windows-1255", y$26);
1983
- var this$167 = $n($m_s_Predef$().s_Predef$__f_Set);
1984
+ $n($m_s_package$().s_package$__f_List);
1984
1985
  var array$27 = ["cp1256", "cswindows1256"];
1985
1986
  var elems$27 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$27);
1986
- var y$27 = this$167.from__sc_IterableOnce__sci_Set(elems$27);
1987
+ var y$27 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$27);
1987
1988
  var $$x7 = new $c_T2("windows-1256", y$27);
1988
- var this$173 = $n($m_s_Predef$().s_Predef$__f_Set);
1989
+ $n($m_s_package$().s_package$__f_List);
1989
1990
  var array$28 = ["cp1257", "cswindows1257"];
1990
1991
  var elems$28 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$28);
1991
- var y$28 = this$173.from__sc_IterableOnce__sci_Set(elems$28);
1992
+ var y$28 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$28);
1992
1993
  var $$x6 = new $c_T2("windows-1257", y$28);
1993
- var this$179 = $n($m_s_Predef$().s_Predef$__f_Set);
1994
+ $n($m_s_package$().s_package$__f_List);
1994
1995
  var array$29 = ["cp1258", "cswindows1258"];
1995
1996
  var elems$29 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$29);
1996
- var y$29 = this$179.from__sc_IterableOnce__sci_Set(elems$29);
1997
+ var y$29 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$29);
1997
1998
  var $$x5 = new $c_T2("windows-1258", y$29);
1998
- var this$185 = $n($m_s_Predef$().s_Predef$__f_Set);
1999
+ $n($m_s_package$().s_package$__f_List);
1999
2000
  var array$30 = ["cp437", "437", "csPC8CodePage437"];
2000
2001
  var elems$30 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$30);
2001
- var y$30 = this$185.from__sc_IterableOnce__sci_Set(elems$30);
2002
+ var y$30 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$30);
2002
2003
  var $$x4 = new $c_T2("IBM437", y$30);
2003
- var this$191 = $n($m_s_Predef$().s_Predef$__f_Set);
2004
+ $n($m_s_package$().s_package$__f_List);
2004
2005
  var array$31 = ["cp866", "866", "csIBM866"];
2005
2006
  var elems$31 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$31);
2006
- var y$31 = this$191.from__sc_IterableOnce__sci_Set(elems$31);
2007
+ var y$31 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$31);
2007
2008
  var $$x3 = new $c_T2("IBM866", y$31);
2008
- var this$197 = $n($m_s_Predef$().s_Predef$__f_Set);
2009
+ $n($m_s_package$().s_package$__f_List);
2009
2010
  var array$32 = ["Shift-JIS", "ShiftJIS", "S-JIS", "S_JIS", "SJIS", "PCK", "csShiftJIS"];
2010
2011
  var elems$32 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$32);
2011
- var y$32 = this$197.from__sc_IterableOnce__sci_Set(elems$32);
2012
+ var y$32 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$32);
2012
2013
  var $$x2 = new $c_T2("Shift_JIS", y$32);
2013
- var this$203 = $n($m_s_Predef$().s_Predef$__f_Set);
2014
+ $n($m_s_package$().s_package$__f_List);
2014
2015
  var array$33 = ["csBig5"];
2015
2016
  var elems$33 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$33);
2016
- var y$33 = this$203.from__sc_IterableOnce__sci_Set(elems$33);
2017
+ var y$33 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$33);
2017
2018
  var $$x1 = new $c_T2("Big5", y$33);
2018
- var this$209 = $n($m_s_Predef$().s_Predef$__f_Set);
2019
+ $n($m_s_package$().s_package$__f_List);
2019
2020
  var array$34 = ["EUCKR", "EUC_KR", "csEUCKR", "korean", "iso-ir-149"];
2020
2021
  var elems$34 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$34);
2021
- var y$34 = this$209.from__sc_IterableOnce__sci_Set(elems$34);
2022
+ var y$34 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$34);
2022
2023
  var array$35 = [$$x34, $$x33, $$x32, $$x31, $$x30, $$x29, $$x28, $$x27, $$x26, $$x25, $$x24, $$x23, $$x22, $$x21, $$x20, $$x19, $$x18, $$x17, $$x16, $$x15, $$x14, $$x13, $$x12, $$x11, $$x10, $$x9, $$x8, $$x7, $$x6, $$x5, $$x4, $$x3, $$x2, $$x1, new $c_T2("EUC-KR", y$34)];
2023
2024
  var elems$35 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$35);
2024
- this.Lio_kaitai_struct_EncodingList$__f_canonicalToAlias = this$214.from__sc_IterableOnce__sci_Map(elems$35)
2025
+ this.Lio_kaitai_struct_EncodingList$__f_canonicalToAliasEntries = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$35);
2026
+ var this$216 = $n($n(this.Lio_kaitai_struct_EncodingList$__f_canonicalToAliasEntries).map__F1__sci_List(new $c_sjsr_AnonFunction1(((x$1$2) => {
2027
+ var x$1 = $as_T2(x$1$2);
2028
+ return $as_T($n(x$1).T2__f__1)
2029
+ }))));
2030
+ this.Lio_kaitai_struct_EncodingList$__f_canonicalSet = $m_sci_Set$().from__sc_IterableOnce__sci_Set(this$216)
2025
2031
  }
2026
2032
  $c_Lio_kaitai_struct_EncodingList$.prototype = new $h_O();
2027
2033
  $c_Lio_kaitai_struct_EncodingList$.prototype.constructor = $c_Lio_kaitai_struct_EncodingList$;
@@ -3027,8 +3033,8 @@ function $m_Lio_kaitai_struct_Utils$() {
3027
3033
  function $c_Lio_kaitai_struct_Version$() {
3028
3034
  this.Lio_kaitai_struct_Version$__f_version = null;
3029
3035
  this.Lio_kaitai_struct_Version$__f_gitTime = null;
3030
- this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20250501.162508.91aeb53";
3031
- this.Lio_kaitai_struct_Version$__f_gitTime = "2025-05-01T16:25:08Z"
3036
+ this.Lio_kaitai_struct_Version$__f_version = "0.11-SNAPSHOT20250814.145539.cc2621d";
3037
+ this.Lio_kaitai_struct_Version$__f_gitTime = "2025-08-14T14:55:39Z"
3032
3038
  }
3033
3039
  $c_Lio_kaitai_struct_Version$.prototype = new $h_O();
3034
3040
  $c_Lio_kaitai_struct_Version$.prototype.constructor = $c_Lio_kaitai_struct_Version$;
@@ -17224,6 +17230,136 @@ function $m_Lio_kaitai_struct_format_JavaScriptKSYParser$() {
17224
17230
  return $n_Lio_kaitai_struct_format_JavaScriptKSYParser$
17225
17231
  }
17226
17232
  /** @constructor */
17233
+ function $c_Lio_kaitai_struct_format_KSVersion$() {
17234
+ this.Lio_kaitai_struct_format_KSVersion$__f__current = null;
17235
+ this.Lio_kaitai_struct_format_KSVersion$__f_minimalRuntime = null;
17236
+ $n_Lio_kaitai_struct_format_KSVersion$ = this;
17237
+ this.Lio_kaitai_struct_format_KSVersion$__f__current = $m_s_None$();
17238
+ this.Lio_kaitai_struct_format_KSVersion$__f_minimalRuntime = $m_Lio_kaitai_struct_format_KSVersion$().fromStr__T__Lio_kaitai_struct_format_KSVersion("0.11")
17239
+ }
17240
+ $c_Lio_kaitai_struct_format_KSVersion$.prototype = new $h_O();
17241
+ $c_Lio_kaitai_struct_format_KSVersion$.prototype.constructor = $c_Lio_kaitai_struct_format_KSVersion$;
17242
+ /** @constructor */
17243
+ function $h_Lio_kaitai_struct_format_KSVersion$() {
17244
+ /*<skip>*/
17245
+ }
17246
+ $h_Lio_kaitai_struct_format_KSVersion$.prototype = $c_Lio_kaitai_struct_format_KSVersion$.prototype;
17247
+ $c_Lio_kaitai_struct_format_KSVersion$.prototype.current_$eq__T__V = (function(str) {
17248
+ this.Lio_kaitai_struct_format_KSVersion$__f__current = new $c_s_Some($m_Lio_kaitai_struct_format_KSVersion$().fromStr__T__Lio_kaitai_struct_format_KSVersion(str))
17249
+ });
17250
+ $c_Lio_kaitai_struct_format_KSVersion$.prototype.fromStr__T__Lio_kaitai_struct_format_KSVersion = (function(str) {
17251
+ var $$x11 = $m_s_Predef$();
17252
+ $m_sc_ArrayOps$();
17253
+ var $$x1 = $m_sc_StringOps$();
17254
+ var x = $f_T__replaceAll__T__T__T($n(str), "-SNAPSHOT.*$", "");
17255
+ var xs = $n($$x1).split$extension__T__C__AT(x, 46);
17256
+ var f = ((x$3$2) => {
17257
+ var x$3 = $as_T(x$3$2);
17258
+ $m_sc_StringOps$();
17259
+ var this$6 = $m_jl_Integer$();
17260
+ return this$6.parseInt__T__I__I(x$3, 10)
17261
+ });
17262
+ $m_s_reflect_ManifestFactory$IntManifest$();
17263
+ var len = $n(xs).u.length;
17264
+ var ys = new $ac_I(len);
17265
+ if ((len > 0)) {
17266
+ var i = 0;
17267
+ if ((xs !== null)) {
17268
+ while ((i < len)) {
17269
+ var $$x2 = i;
17270
+ var arg1 = $n(xs).get(i);
17271
+ ys.set($$x2, $uI(f(arg1)));
17272
+ i = ((1 + i) | 0)
17273
+ }
17274
+ } else if ((xs instanceof $ac_I)) {
17275
+ var x3 = $asArrayOf_I(xs, 1);
17276
+ while ((i < len)) {
17277
+ var $$x3 = i;
17278
+ var arg1$1 = $n(x3).get(i);
17279
+ ys.set($$x3, $uI(f(arg1$1)));
17280
+ i = ((1 + i) | 0)
17281
+ }
17282
+ } else if ((xs instanceof $ac_D)) {
17283
+ var x4 = $asArrayOf_D(xs, 1);
17284
+ while ((i < len)) {
17285
+ var $$x4 = i;
17286
+ var arg1$2 = $n(x4).get(i);
17287
+ ys.set($$x4, $uI(f(arg1$2)));
17288
+ i = ((1 + i) | 0)
17289
+ }
17290
+ } else if ((xs instanceof $ac_J)) {
17291
+ var x5 = $asArrayOf_J(xs, 1);
17292
+ while ((i < len)) {
17293
+ var $$x5 = i;
17294
+ var t = $n(x5).get(i);
17295
+ var lo = t.RTLong__f_lo;
17296
+ var hi = t.RTLong__f_hi;
17297
+ ys.set($$x5, $uI(f(new $c_RTLong(lo, hi))));
17298
+ i = ((1 + i) | 0)
17299
+ }
17300
+ } else if ((xs instanceof $ac_F)) {
17301
+ var x6 = $asArrayOf_F(xs, 1);
17302
+ while ((i < len)) {
17303
+ var $$x6 = i;
17304
+ var arg1$3 = $n(x6).get(i);
17305
+ ys.set($$x6, $uI(f(arg1$3)));
17306
+ i = ((1 + i) | 0)
17307
+ }
17308
+ } else if ((xs instanceof $ac_C)) {
17309
+ var x7 = $asArrayOf_C(xs, 1);
17310
+ while ((i < len)) {
17311
+ var $$x7 = i;
17312
+ var arg1$4 = $n(x7).get(i);
17313
+ ys.set($$x7, $uI(f($bC(arg1$4))));
17314
+ i = ((1 + i) | 0)
17315
+ }
17316
+ } else if ((xs instanceof $ac_B)) {
17317
+ var x8 = $asArrayOf_B(xs, 1);
17318
+ while ((i < len)) {
17319
+ var $$x8 = i;
17320
+ var arg1$5 = $n(x8).get(i);
17321
+ ys.set($$x8, $uI(f(arg1$5)));
17322
+ i = ((1 + i) | 0)
17323
+ }
17324
+ } else if ((xs instanceof $ac_S)) {
17325
+ var x9 = $asArrayOf_S(xs, 1);
17326
+ while ((i < len)) {
17327
+ var $$x9 = i;
17328
+ var arg1$6 = $n(x9).get(i);
17329
+ ys.set($$x9, $uI(f(arg1$6)));
17330
+ i = ((1 + i) | 0)
17331
+ }
17332
+ } else if ((xs instanceof $ac_Z)) {
17333
+ var x10 = $asArrayOf_Z(xs, 1);
17334
+ while ((i < len)) {
17335
+ var $$x10 = i;
17336
+ var arg1$7 = $n(x10).get(i);
17337
+ ys.set($$x10, $uI(f(arg1$7)));
17338
+ i = ((1 + i) | 0)
17339
+ }
17340
+ } else {
17341
+ throw new $c_s_MatchError(xs)
17342
+ }
17343
+ };
17344
+ var this$10 = $n($n($$x11).wrapIntArray__AI__scm_ArraySeq$ofInt(ys));
17345
+ $m_sci_List$();
17346
+ return new $c_Lio_kaitai_struct_format_KSVersion($m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(this$10))
17347
+ });
17348
+ var $d_Lio_kaitai_struct_format_KSVersion$ = new $TypeData().initClass({
17349
+ Lio_kaitai_struct_format_KSVersion$: 0
17350
+ }, false, "io.kaitai.struct.format.KSVersion$", {
17351
+ Lio_kaitai_struct_format_KSVersion$: 1,
17352
+ O: 1
17353
+ });
17354
+ $c_Lio_kaitai_struct_format_KSVersion$.prototype.$classData = $d_Lio_kaitai_struct_format_KSVersion$;
17355
+ var $n_Lio_kaitai_struct_format_KSVersion$;
17356
+ function $m_Lio_kaitai_struct_format_KSVersion$() {
17357
+ if ((!$n_Lio_kaitai_struct_format_KSVersion$)) {
17358
+ $n_Lio_kaitai_struct_format_KSVersion$ = new $c_Lio_kaitai_struct_format_KSVersion$()
17359
+ };
17360
+ return $n_Lio_kaitai_struct_format_KSVersion$
17361
+ }
17362
+ /** @constructor */
17227
17363
  function $c_Lio_kaitai_struct_format_ParseUtils$() {
17228
17364
  /*<skip>*/
17229
17365
  }
@@ -18797,27 +18933,84 @@ function $m_Lio_kaitai_struct_precompile_CalculateSeqSizes$() {
18797
18933
  function $c_Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$() {
18798
18934
  this.Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$__f_aliasToCanonical = null;
18799
18935
  $n_Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$ = this;
18800
- var $$x1 = $as_sc_MapOps($n($m_Lio_kaitai_struct_EncodingList$().Lio_kaitai_struct_EncodingList$__f_canonicalToAlias).flatMap__F1__sc_IterableOps(new $c_sjsr_AnonFunction1(((x0$1$2) => {
18801
- var x0$1 = $as_T2(x0$1$2);
18802
- if ((x0$1 !== null)) {
18803
- var canonical = $as_T($n(x0$1).T2__f__1);
18804
- var aliases = $as_sci_Set($n(x0$1).T2__f__2);
18805
- return $as_sci_Set($n(aliases).map__F1__O(new $c_sjsr_AnonFunction1(((alias$2) => {
18806
- var alias = $as_T(alias$2);
18807
- var this$3 = $n(alias);
18808
- return new $c_T2($as_T(this$3.toUpperCase()), canonical)
18809
- }))))
18810
- } else {
18936
+ var this$1 = $n($m_Lio_kaitai_struct_EncodingList$().Lio_kaitai_struct_EncodingList$__f_canonicalToAliasEntries);
18937
+ var rest = this$1;
18938
+ var h = null;
18939
+ var t = null;
18940
+ while ((rest !== $m_sci_Nil$())) {
18941
+ var arg1 = $n(rest).head__O();
18942
+ var x0$1 = $as_T2(arg1);
18943
+ if ((x0$1 === null)) {
18811
18944
  throw new $c_s_MatchError(x0$1)
18945
+ };
18946
+ var canonical = $as_T($n(x0$1).T2__f__1);
18947
+ var aliases = $as_sci_List($n(x0$1).T2__f__2);
18948
+ var this$5 = $n(aliases);
18949
+ var f = ((canonical) => ((alias$2) => {
18950
+ var alias = $as_T(alias$2);
18951
+ var this$4 = $n(alias);
18952
+ return new $c_T2($as_T(this$4.toUpperCase()), canonical)
18953
+ }))(canonical);
18954
+ if ((this$5 === $m_sci_Nil$())) {
18955
+ var $$x1 = $m_sci_Nil$()
18956
+ } else {
18957
+ var arg1$1 = this$5.head__O();
18958
+ var h$1 = new $c_sci_$colon$colon(f(arg1$1), $m_sci_Nil$());
18959
+ var t$1 = h$1;
18960
+ var rest$1 = $as_sci_List(this$5.tail__O());
18961
+ while ((rest$1 !== $m_sci_Nil$())) {
18962
+ var arg1$2 = $n(rest$1).head__O();
18963
+ var nx = new $c_sci_$colon$colon(f(arg1$2), $m_sci_Nil$());
18964
+ $n(t$1).sci_$colon$colon__f_next = nx;
18965
+ t$1 = nx;
18966
+ rest$1 = $as_sci_List($n(rest$1).tail__O())
18967
+ };
18968
+ var $$x1 = h$1
18969
+ };
18970
+ var it = $n($$x1).iterator__sc_Iterator();
18971
+ while ($n(it).hasNext__Z()) {
18972
+ var nx$1 = new $c_sci_$colon$colon($n(it).next__O(), $m_sci_Nil$());
18973
+ if ((t === null)) {
18974
+ h = nx$1
18975
+ } else {
18976
+ $n(t).sci_$colon$colon__f_next = nx$1
18977
+ };
18978
+ t = nx$1
18979
+ };
18980
+ rest = $as_sci_List($n(rest).tail__O())
18981
+ };
18982
+ var this$11 = $n(((h === null) ? $m_sci_Nil$() : h));
18983
+ var this$10 = $n($m_Lio_kaitai_struct_EncodingList$().Lio_kaitai_struct_EncodingList$__f_canonicalToAliasEntries);
18984
+ var f$1 = ((x0$2$2) => {
18985
+ var x0$2 = $as_T2(x0$2$2);
18986
+ if ((x0$2 !== null)) {
18987
+ var canonical$1 = $as_T($n(x0$2).T2__f__1);
18988
+ var this$7 = $n(canonical$1);
18989
+ var self = $as_T(this$7.toUpperCase());
18990
+ return new $c_T2(self, canonical$1)
18991
+ } else {
18992
+ throw new $c_s_MatchError(x0$2)
18812
18993
  }
18813
- }))));
18814
- var this$4 = $n($m_Lio_kaitai_struct_EncodingList$().Lio_kaitai_struct_EncodingList$__f_canonicalToAlias);
18815
- this.Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$__f_aliasToCanonical = $as_sci_Map($n($$x1).$plus$plus__sc_IterableOnce__sc_IterableOps($as_sc_IterableOnce($n(this$4.keySet__sc_Set()).map__F1__O(new $c_sjsr_AnonFunction1(((x$2) => {
18816
- var x = $as_T(x$2);
18817
- var this$6 = $n(x);
18818
- var self = $as_T(this$6.toUpperCase());
18819
- return new $c_T2(self, x)
18820
- }))))))
18994
+ });
18995
+ if ((this$10 === $m_sci_Nil$())) {
18996
+ var suffix = $m_sci_Nil$()
18997
+ } else {
18998
+ var arg1$3 = this$10.head__O();
18999
+ var h$2 = new $c_sci_$colon$colon(f$1(arg1$3), $m_sci_Nil$());
19000
+ var t$2 = h$2;
19001
+ var rest$2 = $as_sci_List(this$10.tail__O());
19002
+ while ((rest$2 !== $m_sci_Nil$())) {
19003
+ var arg1$4 = $n(rest$2).head__O();
19004
+ var nx$2 = new $c_sci_$colon$colon(f$1(arg1$4), $m_sci_Nil$());
19005
+ $n(t$2).sci_$colon$colon__f_next = nx$2;
19006
+ t$2 = nx$2;
19007
+ rest$2 = $as_sci_List($n(rest$2).tail__O())
19008
+ };
19009
+ var suffix = h$2
19010
+ };
19011
+ var this$13 = $n(this$11.appendedAll__sc_IterableOnce__sci_List(suffix));
19012
+ var this$12 = $m_s_$less$colon$less$();
19013
+ this.Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$__f_aliasToCanonical = $m_sci_Map$().from__sc_IterableOnce__sci_Map(this$13)
18821
19014
  }
18822
19015
  $c_Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$.prototype = new $h_O();
18823
19016
  $c_Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$.prototype.constructor = $c_Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$;
@@ -18945,7 +19138,7 @@ $c_Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$.prototype.canonicaliz
18945
19138
  return $n($$x4).option2Iterable__s_Option__sc_Iterable($$x2)
18946
19139
  });
18947
19140
  $c_Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$.prototype.canonicalizeName__T__T2 = (function(original) {
18948
- if ($n($m_Lio_kaitai_struct_EncodingList$().Lio_kaitai_struct_EncodingList$__f_canonicalToAlias).contains__O__Z(original)) {
19141
+ if ($n($m_Lio_kaitai_struct_EncodingList$().Lio_kaitai_struct_EncodingList$__f_canonicalSet).contains__O__Z(original)) {
18949
19142
  return new $c_T2(original, $m_s_None$())
18950
19143
  } else {
18951
19144
  var $$x1 = $n(this.Lio_kaitai_struct_precompile_CanonicalizeEncodingNames$__f_aliasToCanonical);
@@ -37520,137 +37713,6 @@ function $m_Lio_kaitai_struct_format_EnumValueSpec$() {
37520
37713
  };
37521
37714
  return $n_Lio_kaitai_struct_format_EnumValueSpec$
37522
37715
  }
37523
- /** @constructor */
37524
- function $c_Lio_kaitai_struct_format_KSVersion$() {
37525
- this.Lio_kaitai_struct_format_KSVersion$__f__current = null;
37526
- this.Lio_kaitai_struct_format_KSVersion$__f_minimalRuntime = null;
37527
- $n_Lio_kaitai_struct_format_KSVersion$ = this;
37528
- this.Lio_kaitai_struct_format_KSVersion$__f__current = $m_s_None$();
37529
- this.Lio_kaitai_struct_format_KSVersion$__f_minimalRuntime = $m_Lio_kaitai_struct_format_KSVersion$().fromStr__T__Lio_kaitai_struct_format_KSVersion("0.11")
37530
- }
37531
- $c_Lio_kaitai_struct_format_KSVersion$.prototype = new $h_O();
37532
- $c_Lio_kaitai_struct_format_KSVersion$.prototype.constructor = $c_Lio_kaitai_struct_format_KSVersion$;
37533
- /** @constructor */
37534
- function $h_Lio_kaitai_struct_format_KSVersion$() {
37535
- /*<skip>*/
37536
- }
37537
- $h_Lio_kaitai_struct_format_KSVersion$.prototype = $c_Lio_kaitai_struct_format_KSVersion$.prototype;
37538
- $c_Lio_kaitai_struct_format_KSVersion$.prototype.current_$eq__T__V = (function(str) {
37539
- this.Lio_kaitai_struct_format_KSVersion$__f__current = new $c_s_Some($m_Lio_kaitai_struct_format_KSVersion$().fromStr__T__Lio_kaitai_struct_format_KSVersion(str))
37540
- });
37541
- $c_Lio_kaitai_struct_format_KSVersion$.prototype.fromStr__T__Lio_kaitai_struct_format_KSVersion = (function(str) {
37542
- var $$x11 = $m_s_Predef$();
37543
- $m_sc_ArrayOps$();
37544
- var $$x1 = $m_sc_StringOps$();
37545
- var x = $f_T__replaceAll__T__T__T($n(str), "-SNAPSHOT.*$", "");
37546
- var xs = $n($$x1).split$extension__T__C__AT(x, 46);
37547
- var f = ((x$2$2) => {
37548
- var x$2 = $as_T(x$2$2);
37549
- $m_sc_StringOps$();
37550
- var this$6 = $m_jl_Integer$();
37551
- return this$6.parseInt__T__I__I(x$2, 10)
37552
- });
37553
- $m_s_reflect_ManifestFactory$IntManifest$();
37554
- var len = $n(xs).u.length;
37555
- var ys = new $ac_I(len);
37556
- if ((len > 0)) {
37557
- var i = 0;
37558
- if ((xs !== null)) {
37559
- while ((i < len)) {
37560
- var $$x2 = i;
37561
- var arg1 = $n(xs).get(i);
37562
- ys.set($$x2, $uI(f(arg1)));
37563
- i = ((1 + i) | 0)
37564
- }
37565
- } else if ((xs instanceof $ac_I)) {
37566
- var x3 = $asArrayOf_I(xs, 1);
37567
- while ((i < len)) {
37568
- var $$x3 = i;
37569
- var arg1$1 = $n(x3).get(i);
37570
- ys.set($$x3, $uI(f(arg1$1)));
37571
- i = ((1 + i) | 0)
37572
- }
37573
- } else if ((xs instanceof $ac_D)) {
37574
- var x4 = $asArrayOf_D(xs, 1);
37575
- while ((i < len)) {
37576
- var $$x4 = i;
37577
- var arg1$2 = $n(x4).get(i);
37578
- ys.set($$x4, $uI(f(arg1$2)));
37579
- i = ((1 + i) | 0)
37580
- }
37581
- } else if ((xs instanceof $ac_J)) {
37582
- var x5 = $asArrayOf_J(xs, 1);
37583
- while ((i < len)) {
37584
- var $$x5 = i;
37585
- var t = $n(x5).get(i);
37586
- var lo = t.RTLong__f_lo;
37587
- var hi = t.RTLong__f_hi;
37588
- ys.set($$x5, $uI(f(new $c_RTLong(lo, hi))));
37589
- i = ((1 + i) | 0)
37590
- }
37591
- } else if ((xs instanceof $ac_F)) {
37592
- var x6 = $asArrayOf_F(xs, 1);
37593
- while ((i < len)) {
37594
- var $$x6 = i;
37595
- var arg1$3 = $n(x6).get(i);
37596
- ys.set($$x6, $uI(f(arg1$3)));
37597
- i = ((1 + i) | 0)
37598
- }
37599
- } else if ((xs instanceof $ac_C)) {
37600
- var x7 = $asArrayOf_C(xs, 1);
37601
- while ((i < len)) {
37602
- var $$x7 = i;
37603
- var arg1$4 = $n(x7).get(i);
37604
- ys.set($$x7, $uI(f($bC(arg1$4))));
37605
- i = ((1 + i) | 0)
37606
- }
37607
- } else if ((xs instanceof $ac_B)) {
37608
- var x8 = $asArrayOf_B(xs, 1);
37609
- while ((i < len)) {
37610
- var $$x8 = i;
37611
- var arg1$5 = $n(x8).get(i);
37612
- ys.set($$x8, $uI(f(arg1$5)));
37613
- i = ((1 + i) | 0)
37614
- }
37615
- } else if ((xs instanceof $ac_S)) {
37616
- var x9 = $asArrayOf_S(xs, 1);
37617
- while ((i < len)) {
37618
- var $$x9 = i;
37619
- var arg1$6 = $n(x9).get(i);
37620
- ys.set($$x9, $uI(f(arg1$6)));
37621
- i = ((1 + i) | 0)
37622
- }
37623
- } else if ((xs instanceof $ac_Z)) {
37624
- var x10 = $asArrayOf_Z(xs, 1);
37625
- while ((i < len)) {
37626
- var $$x10 = i;
37627
- var arg1$7 = $n(x10).get(i);
37628
- ys.set($$x10, $uI(f(arg1$7)));
37629
- i = ((1 + i) | 0)
37630
- }
37631
- } else {
37632
- throw new $c_s_MatchError(xs)
37633
- }
37634
- };
37635
- var this$10 = $n($n($$x11).wrapIntArray__AI__scm_ArraySeq$ofInt(ys));
37636
- $m_sci_List$();
37637
- return new $c_Lio_kaitai_struct_format_KSVersion($m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(this$10))
37638
- });
37639
- var $d_Lio_kaitai_struct_format_KSVersion$ = new $TypeData().initClass({
37640
- Lio_kaitai_struct_format_KSVersion$: 0
37641
- }, false, "io.kaitai.struct.format.KSVersion$", {
37642
- Lio_kaitai_struct_format_KSVersion$: 1,
37643
- O: 1,
37644
- Ljava_io_Serializable: 1
37645
- });
37646
- $c_Lio_kaitai_struct_format_KSVersion$.prototype.$classData = $d_Lio_kaitai_struct_format_KSVersion$;
37647
- var $n_Lio_kaitai_struct_format_KSVersion$;
37648
- function $m_Lio_kaitai_struct_format_KSVersion$() {
37649
- if ((!$n_Lio_kaitai_struct_format_KSVersion$)) {
37650
- $n_Lio_kaitai_struct_format_KSVersion$ = new $c_Lio_kaitai_struct_format_KSVersion$()
37651
- };
37652
- return $n_Lio_kaitai_struct_format_KSVersion$
37653
- }
37654
37716
  function $is_Lio_kaitai_struct_format_MemberSpec(obj) {
37655
37717
  return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lio_kaitai_struct_format_MemberSpec)))
37656
37718
  }
@@ -37668,13 +37730,15 @@ function $c_Lio_kaitai_struct_format_MetaSpec$() {
37668
37730
  this.Lio_kaitai_struct_format_MetaSpec$__f_OPAQUE = null;
37669
37731
  this.Lio_kaitai_struct_format_MetaSpec$__f_LEGAL_KEYS = null;
37670
37732
  this.Lio_kaitai_struct_format_MetaSpec$__f_ReKsVersion = null;
37733
+ this.Lio_kaitai_struct_format_MetaSpec$__f_MIN_ALLOWED_KS_VERSION_0_6 = null;
37671
37734
  $n_Lio_kaitai_struct_format_MetaSpec$ = this;
37672
37735
  this.Lio_kaitai_struct_format_MetaSpec$__f_OPAQUE = new $c_Lio_kaitai_struct_format_MetaSpec($m_sci_Nil$(), true, $m_s_None$(), $m_s_None$(), $m_s_None$(), $m_s_None$(), false, $m_s_None$(), $m_s_None$(), $m_sci_Nil$());
37673
37736
  var this$4 = $n($m_s_Predef$().s_Predef$__f_Set);
37674
37737
  var array = ["id", "imports", "endian", "bit-endian", "encoding", "title", "ks-version", "ks-debug", "ks-opaque-types", "ks-zero-copy-substream", "license", "file-extension", "xref", "tags", "application"];
37675
37738
  var elems = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array);
37676
37739
  this.Lio_kaitai_struct_format_MetaSpec$__f_LEGAL_KEYS = this$4.from__sc_IterableOnce__sci_Set(elems);
37677
- this.Lio_kaitai_struct_format_MetaSpec$__f_ReKsVersion = ($m_sc_StringOps$(), $ct_s_util_matching_Regex__T__sci_Seq__(new $c_s_util_matching_Regex(), "(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)(?:\\.(?:0|[1-9][0-9]*))?", $m_sci_Nil$()))
37740
+ this.Lio_kaitai_struct_format_MetaSpec$__f_ReKsVersion = ($m_sc_StringOps$(), $ct_s_util_matching_Regex__T__sci_Seq__(new $c_s_util_matching_Regex(), "(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)(?:\\.(?:0|[1-9][0-9]*))?", $m_sci_Nil$()));
37741
+ this.Lio_kaitai_struct_format_MetaSpec$__f_MIN_ALLOWED_KS_VERSION_0_6 = $m_Lio_kaitai_struct_format_KSVersion$().fromStr__T__Lio_kaitai_struct_format_KSVersion("0.6")
37678
37742
  }
37679
37743
  $c_Lio_kaitai_struct_format_MetaSpec$.prototype = new $h_O();
37680
37744
  $c_Lio_kaitai_struct_format_MetaSpec$.prototype.constructor = $c_Lio_kaitai_struct_format_MetaSpec$;
@@ -37711,48 +37775,61 @@ $c_Lio_kaitai_struct_format_MetaSpec$.prototype.fromYaml__O__sci_List__Lio_kaita
37711
37775
  var verStr = $as_T(arg1);
37712
37776
  if ((!$n($m_Lio_kaitai_struct_format_MetaSpec$().Lio_kaitai_struct_format_MetaSpec$__f_ReKsVersion).matches__jl_CharSequence__Z(verStr))) {
37713
37777
  var $$x1 = $m_Lio_kaitai_struct_problems_KSYParseError$();
37714
- var this$6 = $n(path);
37715
- $n($m_s_package$().s_package$__f_List);
37716
- var array = ["ks-version"];
37717
- var elems = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array);
37718
- var suffix = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems);
37719
- throw $n($n($$x1).withText__T__sci_List__Lio_kaitai_struct_problems_CompilationProblemException((("invalid compiler version '" + verStr) + "', expected 'X.Y' or 'X.Y.Z', where X, Y, Z are non-negative integers without leading zeros"), this$6.appendedAll__sc_IterableOnce__sci_List(suffix)))
37778
+ var this$2 = $n(path);
37779
+ throw $n($n($$x1).withText__T__sci_List__Lio_kaitai_struct_problems_CompilationProblemException((("invalid compiler version '" + verStr) + "', expected 'X.Y' or 'X.Y.Z', where X, Y, Z are non-negative integers without leading zeros"), $as_sci_List($f_sc_StrictOptimizedSeqOps__appended__O__O(this$2, "ks-version"))))
37720
37780
  };
37721
37781
  var ver = $m_Lio_kaitai_struct_format_KSVersion$().fromStr__T__Lio_kaitai_struct_format_KSVersion(verStr);
37722
- var this$8 = $n(ver);
37723
- var this$7 = $m_Lio_kaitai_struct_format_KSVersion$();
37724
- var that = $as_Lio_kaitai_struct_format_KSVersion($n(this$7.Lio_kaitai_struct_format_KSVersion$__f__current).get__O());
37725
- if ($f_s_math_Ordered__$greater__O__Z(this$8, that)) {
37726
- var $$x3 = $m_Lio_kaitai_struct_problems_KSYParseError$();
37727
- var this$9 = $m_Lio_kaitai_struct_format_KSVersion$();
37728
- var $$x2 = $as_Lio_kaitai_struct_format_KSVersion($n(this$9.Lio_kaitai_struct_format_KSVersion$__f__current).get__O());
37729
- var this$14 = $n(path);
37782
+ var this$3 = $n(ver);
37783
+ var that = $m_Lio_kaitai_struct_format_MetaSpec$().Lio_kaitai_struct_format_MetaSpec$__f_MIN_ALLOWED_KS_VERSION_0_6;
37784
+ if ($f_s_math_Ordered__$less__O__Z(this$3, that)) {
37785
+ var x = $n(ver).Lio_kaitai_struct_format_KSVersion__f_nums;
37786
+ $n($m_s_package$().s_package$__f_List);
37787
+ var array = [0, 1];
37788
+ var elems = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array);
37789
+ var x$2 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems);
37790
+ if (((x === null) ? (x$2 === null) : $n(x).equals__O__Z(x$2))) {
37791
+ var extraHelp = " (if you meant 0.10, use ks-version: '0.10' to prevent YAML from interpreting it as a float)"
37792
+ } else {
37793
+ var extraHelp = ""
37794
+ };
37795
+ var $$x2 = $m_Lio_kaitai_struct_problems_KSYParseError$();
37796
+ var this$8 = $n(path);
37797
+ throw $n($n($$x2).withText__T__sci_List__Lio_kaitai_struct_problems_CompilationProblemException((("minimum allowed version is 0.6, but got " + verStr) + extraHelp), $as_sci_List($f_sc_StrictOptimizedSeqOps__appended__O__O(this$8, "ks-version"))))
37798
+ };
37799
+ var this$10 = $n(ver);
37800
+ var this$9 = $m_Lio_kaitai_struct_format_KSVersion$();
37801
+ var that$1 = $as_Lio_kaitai_struct_format_KSVersion($n(this$9.Lio_kaitai_struct_format_KSVersion$__f__current).get__O());
37802
+ if ($f_s_math_Ordered__$greater__O__Z(this$10, that$1)) {
37803
+ var $$x4 = $m_Lio_kaitai_struct_problems_KSYParseError$();
37804
+ var this$11 = $m_Lio_kaitai_struct_format_KSVersion$();
37805
+ var $$x3 = $as_Lio_kaitai_struct_format_KSVersion($n(this$11.Lio_kaitai_struct_format_KSVersion$__f__current).get__O());
37806
+ var this$16 = $n(path);
37730
37807
  $n($m_s_package$().s_package$__f_List);
37731
37808
  var array$1 = ["ks-version"];
37732
37809
  var elems$1 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$1);
37733
- var suffix$1 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$1);
37734
- throw $n($n($$x3).incompatibleVersion__Lio_kaitai_struct_format_KSVersion__Lio_kaitai_struct_format_KSVersion__sci_List__Lio_kaitai_struct_problems_CompilationProblemException(ver, $$x2, this$14.appendedAll__sc_IterableOnce__sci_List(suffix$1)))
37810
+ var suffix = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$1);
37811
+ throw $n($n($$x4).incompatibleVersion__Lio_kaitai_struct_format_KSVersion__Lio_kaitai_struct_format_KSVersion__sci_List__Lio_kaitai_struct_problems_CompilationProblemException(ver, $$x3, this$16.appendedAll__sc_IterableOnce__sci_List(suffix)))
37735
37812
  }
37736
37813
  };
37737
37814
  var endian = $m_Lio_kaitai_struct_datatype_Endianness$().fromYaml__s_Option__sci_List__s_Option($n(srcMap).get__O__s_Option("endian"), path);
37738
37815
  var bitEndian = $m_Lio_kaitai_struct_datatype_BitEndianness$().fromYaml__s_Option__sci_List__s_Option($n(srcMap).get__O__s_Option("bit-endian"), path);
37739
37816
  $m_Lio_kaitai_struct_format_ParseUtils$().ensureLegalKeys__sci_Map__sci_Set__sci_List__s_Option__V(srcMap, this.Lio_kaitai_struct_format_MetaSpec$__f_LEGAL_KEYS, path, $m_s_None$());
37740
37817
  var id = $m_Lio_kaitai_struct_format_ParseUtils$().getOptValueStr__sci_Map__T__sci_List__s_Option(srcMap, "id", path);
37741
- var this$16 = $n(id);
37742
- if ((!this$16.isEmpty__Z())) {
37743
- var arg1$1 = this$16.get__O();
37818
+ var this$18 = $n(id);
37819
+ if ((!this$18.isEmpty__Z())) {
37820
+ var arg1$1 = this$18.get__O();
37744
37821
  var idStr = $as_T(arg1$1);
37745
- var $$x4 = $m_Lio_kaitai_struct_format_Identifier$();
37746
- var this$21 = $n(path);
37822
+ var $$x5 = $m_Lio_kaitai_struct_format_Identifier$();
37823
+ var this$23 = $n(path);
37747
37824
  $n($m_s_package$().s_package$__f_List);
37748
37825
  var array$2 = ["id"];
37749
37826
  var elems$2 = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array$2);
37750
- var suffix$2 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$2);
37751
- $n($$x4).checkIdentifierSource__T__T__sci_List__V(idStr, "meta", this$21.appendedAll__sc_IterableOnce__sci_List(suffix$2))
37827
+ var suffix$1 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$2);
37828
+ $n($$x5).checkIdentifierSource__T__T__sci_List__V(idStr, "meta", this$23.appendedAll__sc_IterableOnce__sci_List(suffix$1))
37752
37829
  };
37753
37830
  var encoding = $m_Lio_kaitai_struct_format_ParseUtils$().getOptValueStr__sci_Map__T__sci_List__s_Option(srcMap, "encoding", path);
37754
- var this$22 = $n($m_Lio_kaitai_struct_format_ParseUtils$().getOptValueBool__sci_Map__T__sci_List__s_Option(srcMap, "ks-debug", path));
37755
- var forceDebug = $uZ((this$22.isEmpty__Z() ? false : this$22.get__O()));
37831
+ var this$24 = $n($m_Lio_kaitai_struct_format_ParseUtils$().getOptValueBool__sci_Map__T__sci_List__s_Option(srcMap, "ks-debug", path));
37832
+ var forceDebug = $uZ((this$24.isEmpty__Z() ? false : this$24.get__O()));
37756
37833
  var opaqueTypes = $m_Lio_kaitai_struct_format_ParseUtils$().getOptValueBool__sci_Map__T__sci_List__s_Option(srcMap, "ks-opaque-types", path);
37757
37834
  var zeroCopySubstream = $m_Lio_kaitai_struct_format_ParseUtils$().getOptValueBool__sci_Map__T__sci_List__s_Option(srcMap, "ks-zero-copy-substream", path);
37758
37835
  var imports = $m_Lio_kaitai_struct_format_ParseUtils$().getListStr__sci_Map__T__sci_List__sci_List(srcMap, "imports", path);
@@ -44894,6 +44971,198 @@ function $asArrayOf_Lio_kaitai_struct_format_InstanceSpec(obj, depth) {
44894
44971
  return (($isArrayOf_Lio_kaitai_struct_format_InstanceSpec(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.kaitai.struct.format.InstanceSpec;", depth))
44895
44972
  }
44896
44973
  /** @constructor */
44974
+ function $c_Lio_kaitai_struct_format_KSVersion(nums) {
44975
+ this.Lio_kaitai_struct_format_KSVersion__f_nums = null;
44976
+ this.Lio_kaitai_struct_format_KSVersion__f_nums = nums
44977
+ }
44978
+ $c_Lio_kaitai_struct_format_KSVersion.prototype = new $h_O();
44979
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.constructor = $c_Lio_kaitai_struct_format_KSVersion;
44980
+ /** @constructor */
44981
+ function $h_Lio_kaitai_struct_format_KSVersion() {
44982
+ /*<skip>*/
44983
+ }
44984
+ $h_Lio_kaitai_struct_format_KSVersion.prototype = $c_Lio_kaitai_struct_format_KSVersion.prototype;
44985
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.compareTo__O__I = (function(that) {
44986
+ return this.compare__Lio_kaitai_struct_format_KSVersion__I($as_Lio_kaitai_struct_format_KSVersion(that))
44987
+ });
44988
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.compare__Lio_kaitai_struct_format_KSVersion__I = (function(that) {
44989
+ var nonLocalReturnKey1 = $ct_O__(new $c_O());
44990
+ try {
44991
+ var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
44992
+ var that$1 = $n(that).Lio_kaitai_struct_format_KSVersion__f_nums;
44993
+ var this$2 = $n($as_sci_List($f_sc_IterableOps__zipAll__sc_Iterable__O__O__O(this$1, that$1, 0, 0)));
44994
+ var these = this$2;
44995
+ while ((!$n(these).isEmpty__Z())) {
44996
+ var arg1 = $n(these).head__O();
44997
+ var x0$1 = $as_T2(arg1);
44998
+ if ((x0$1 !== null)) {
44999
+ var this$3 = $n(x0$1);
45000
+ var thisNum = $uI(this$3.T2__f__1);
45001
+ var this$4 = $n(x0$1);
45002
+ var otherNum = $uI(this$4.T2__f__2);
45003
+ if ((thisNum < otherNum)) {
45004
+ throw new $c_sr_NonLocalReturnControl$mcI$sp(nonLocalReturnKey1, (-1))
45005
+ } else if ((thisNum > otherNum)) {
45006
+ throw new $c_sr_NonLocalReturnControl$mcI$sp(nonLocalReturnKey1, 1)
45007
+ }
45008
+ } else {
45009
+ throw new $c_s_MatchError(x0$1)
45010
+ };
45011
+ these = $as_sci_List($n(these).tail__O())
45012
+ };
45013
+ return 0
45014
+ } catch (e) {
45015
+ if ((e instanceof $c_sr_NonLocalReturnControl)) {
45016
+ var ex = $as_sr_NonLocalReturnControl(e);
45017
+ if (($n(ex).sr_NonLocalReturnControl__f_key === nonLocalReturnKey1)) {
45018
+ return $n(ex).value$mcI$sp__I()
45019
+ } else {
45020
+ throw $n(ex)
45021
+ }
45022
+ } else {
45023
+ throw e
45024
+ }
45025
+ }
45026
+ });
45027
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.equals__O__Z = (function(that) {
45028
+ if ((that instanceof $c_Lio_kaitai_struct_format_KSVersion)) {
45029
+ var x2 = $as_Lio_kaitai_struct_format_KSVersion(that);
45030
+ return (this.compare__Lio_kaitai_struct_format_KSVersion__I(x2) === 0)
45031
+ } else {
45032
+ return false
45033
+ }
45034
+ });
45035
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.hashCode__I = (function() {
45036
+ var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45037
+ var i = 0;
45038
+ var these = this$1;
45039
+ var last = (-1);
45040
+ while ((!$n(these).isEmpty__Z())) {
45041
+ var arg1 = $n(these).head__O();
45042
+ var x$1 = $uI(arg1);
45043
+ if ((x$1 !== 0)) {
45044
+ last = i
45045
+ };
45046
+ these = $as_sc_LinearSeq($n(these).tail__O());
45047
+ i = ((1 + i) | 0)
45048
+ };
45049
+ var lastNonZeroNum = last;
45050
+ var this$2 = $n($n(this.Lio_kaitai_struct_format_KSVersion__f_nums).take__I__sci_List(((1 + lastNonZeroNum) | 0)));
45051
+ return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this$2)
45052
+ });
45053
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.toString__T = (function() {
45054
+ var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45055
+ return $f_sc_IterableOnceOps__mkString__T__T__T__T(this$1, "", ".", "")
45056
+ });
45057
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.toInt__I = (function() {
45058
+ if (($n(this.Lio_kaitai_struct_format_KSVersion__f_nums).length__I() > 3)) {
45059
+ throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int can have max 3 components, but " + this) + " is given"))
45060
+ };
45061
+ var this$2 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45062
+ $n($m_s_package$().s_package$__f_List);
45063
+ var n = ((3 - $n(this.Lio_kaitai_struct_format_KSVersion__f_nums).length__I()) | 0);
45064
+ var b = new $c_scm_ListBuffer();
45065
+ var i = 0;
45066
+ while ((i < n)) {
45067
+ b.addOne__O__scm_ListBuffer(0);
45068
+ i = ((1 + i) | 0)
45069
+ };
45070
+ var suffix = b.toList__sci_List();
45071
+ var nums2 = this$2.appendedAll__sc_IterableOnce__sci_List(suffix);
45072
+ var this$3 = $n(nums2);
45073
+ var acc = 0;
45074
+ var these = this$3;
45075
+ while ((!$n(these).isEmpty__Z())) {
45076
+ var arg1 = acc;
45077
+ var arg2 = $n(these).head__O();
45078
+ var sum = $uI(arg1);
45079
+ var comp = $uI(arg2);
45080
+ if (((comp < 0) || (comp > 999))) {
45081
+ throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int only allows components [0..999], but " + comp) + " was used"))
45082
+ };
45083
+ acc = ((Math.imul(1000, sum) + comp) | 0);
45084
+ these = $as_sc_LinearSeq($n(these).tail__O())
45085
+ };
45086
+ return $uI(acc)
45087
+ });
45088
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.toPerlVersion__T = (function() {
45089
+ if (($n(this.Lio_kaitai_struct_format_KSVersion__f_nums).length__I() > 3)) {
45090
+ throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int can have max 3 components, but " + this) + " is given"))
45091
+ };
45092
+ var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45093
+ var these = this$1;
45094
+ while ((!$n(these).isEmpty__Z())) {
45095
+ var arg1 = $n(these).head__O();
45096
+ var comp = $uI(arg1);
45097
+ if (((comp < 0) || (comp > 999))) {
45098
+ throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int only allows components [0..999], but " + comp) + " was used"))
45099
+ };
45100
+ these = $as_sci_List($n(these).tail__O())
45101
+ };
45102
+ var this$3 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45103
+ $n($m_s_package$().s_package$__f_List);
45104
+ var n = ((3 - $n(this.Lio_kaitai_struct_format_KSVersion__f_nums).length__I()) | 0);
45105
+ var b = new $c_scm_ListBuffer();
45106
+ var i = 0;
45107
+ while ((i < n)) {
45108
+ b.addOne__O__scm_ListBuffer(0);
45109
+ i = ((1 + i) | 0)
45110
+ };
45111
+ var suffix = b.toList__sci_List();
45112
+ var x1 = this$3.appendedAll__sc_IterableOnce__sci_List(suffix);
45113
+ matchEnd9: {
45114
+ var x$2___1;
45115
+ var x$2___2;
45116
+ var x$2___3;
45117
+ if ((x1 instanceof $c_sci_$colon$colon)) {
45118
+ var x2 = $as_sci_$colon$colon(x1);
45119
+ var v1 = $uI($n(x2).sci_$colon$colon__f_head);
45120
+ var p3 = $n(x2).sci_$colon$colon__f_next;
45121
+ if ((p3 instanceof $c_sci_$colon$colon)) {
45122
+ var x4 = $as_sci_$colon$colon(p3);
45123
+ var v2 = $uI($n(x4).sci_$colon$colon__f_head);
45124
+ var p5 = $n(x4).sci_$colon$colon__f_next;
45125
+ if ((p5 instanceof $c_sci_$colon$colon)) {
45126
+ var x6 = $as_sci_$colon$colon(p5);
45127
+ var v3 = $uI($n(x6).sci_$colon$colon__f_head);
45128
+ var x$2___1 = v1;
45129
+ var x$2___2 = v2;
45130
+ var x$2___3 = v3;
45131
+ break matchEnd9
45132
+ }
45133
+ }
45134
+ };
45135
+ throw new $c_s_MatchError(x1)
45136
+ };
45137
+ var v1$2 = $uI(x$2___1);
45138
+ var v2$2 = $uI(x$2___2);
45139
+ var v3$2 = $uI(x$2___3);
45140
+ var $$x1 = $m_sc_StringOps$();
45141
+ var array = [v1$2, v2$2, v3$2];
45142
+ return $n($$x1).format$extension__T__sci_Seq__T("%d.%03d_%03d", $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array))
45143
+ });
45144
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.compare__O__I = (function(that) {
45145
+ return this.compare__Lio_kaitai_struct_format_KSVersion__I($as_Lio_kaitai_struct_format_KSVersion(that))
45146
+ });
45147
+ function $as_Lio_kaitai_struct_format_KSVersion(obj) {
45148
+ return (((obj instanceof $c_Lio_kaitai_struct_format_KSVersion) || (obj === null)) ? obj : $throwClassCastException(obj, "io.kaitai.struct.format.KSVersion"))
45149
+ }
45150
+ function $isArrayOf_Lio_kaitai_struct_format_KSVersion(obj, depth) {
45151
+ return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_kaitai_struct_format_KSVersion)))
45152
+ }
45153
+ function $asArrayOf_Lio_kaitai_struct_format_KSVersion(obj, depth) {
45154
+ return (($isArrayOf_Lio_kaitai_struct_format_KSVersion(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.kaitai.struct.format.KSVersion;", depth))
45155
+ }
45156
+ var $d_Lio_kaitai_struct_format_KSVersion = new $TypeData().initClass({
45157
+ Lio_kaitai_struct_format_KSVersion: 0
45158
+ }, false, "io.kaitai.struct.format.KSVersion", {
45159
+ Lio_kaitai_struct_format_KSVersion: 1,
45160
+ O: 1,
45161
+ s_math_Ordered: 1,
45162
+ jl_Comparable: 1
45163
+ });
45164
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.$classData = $d_Lio_kaitai_struct_format_KSVersion;
45165
+ /** @constructor */
44897
45166
  function $c_Lio_kaitai_struct_languages_CppCompiler$() {
44898
45167
  /*<skip>*/
44899
45168
  }
@@ -46945,6 +47214,9 @@ function $f_sc_IterableOps__concat__sc_IterableOnce__O($thiz, suffix) {
46945
47214
  };
46946
47215
  return $n($$x2).from__sc_IterableOnce__O($$x1)
46947
47216
  }
47217
+ function $f_sc_IterableOps__zipAll__sc_Iterable__O__O__O($thiz, that, thisElem, thatElem) {
47218
+ return $n($thiz.iterableFactory__sc_IterableFactory()).from__sc_IterableOnce__O(new $c_sc_View$ZipAll($thiz, that, thisElem, thatElem))
47219
+ }
46948
47220
  function $is_sc_IterableOps(obj) {
46949
47221
  return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_IterableOps)))
46950
47222
  }
@@ -55874,17 +56146,6 @@ function $f_sc_StrictOptimizedIterableOps__flatten__F1__O($thiz, toIterableOnce)
55874
56146
  };
55875
56147
  return $n(b).result__O()
55876
56148
  }
55877
- function $f_sc_StrictOptimizedIterableOps__zip__sc_IterableOnce__O($thiz, that) {
55878
- var b = $n($thiz.iterableFactory__sc_IterableFactory()).newBuilder__scm_Builder();
55879
- var it1 = $thiz.iterator__sc_Iterator();
55880
- var it2 = $n(that).iterator__sc_Iterator();
55881
- while (($n(it1).hasNext__Z() && $n(it2).hasNext__Z())) {
55882
- var this$1 = $n(b);
55883
- var elem = new $c_T2($n(it1).next__O(), $n(it2).next__O());
55884
- this$1.addOne__O__scm_Growable(elem)
55885
- };
55886
- return $n(b).result__O()
55887
- }
55888
56149
  function $f_sc_StrictOptimizedIterableOps__zipWithIndex__O($thiz) {
55889
56150
  var b = $n($thiz.iterableFactory__sc_IterableFactory()).newBuilder__scm_Builder();
55890
56151
  var i = 0;
@@ -68431,6 +68692,58 @@ var $d_sc_Iterator$$anon$10 = new $TypeData().initClass({
68431
68692
  });
68432
68693
  $c_sc_Iterator$$anon$10.prototype.$classData = $d_sc_Iterator$$anon$10;
68433
68694
  /** @constructor */
68695
+ function $c_sc_Iterator$$anon$15(outer, that$2, thisElem$1, thatElem$1) {
68696
+ this.sc_Iterator$$anon$15__f_thatIterator = null;
68697
+ this.sc_Iterator$$anon$15__f_$outer = null;
68698
+ this.sc_Iterator$$anon$15__f_thisElem$1 = null;
68699
+ this.sc_Iterator$$anon$15__f_thatElem$1 = null;
68700
+ if ((outer === null)) {
68701
+ $n(null)
68702
+ } else {
68703
+ this.sc_Iterator$$anon$15__f_$outer = outer
68704
+ };
68705
+ this.sc_Iterator$$anon$15__f_thisElem$1 = thisElem$1;
68706
+ this.sc_Iterator$$anon$15__f_thatElem$1 = thatElem$1;
68707
+ this.sc_Iterator$$anon$15__f_thatIterator = $n(that$2).iterator__sc_Iterator()
68708
+ }
68709
+ $c_sc_Iterator$$anon$15.prototype = new $h_sc_AbstractIterator();
68710
+ $c_sc_Iterator$$anon$15.prototype.constructor = $c_sc_Iterator$$anon$15;
68711
+ /** @constructor */
68712
+ function $h_sc_Iterator$$anon$15() {
68713
+ /*<skip>*/
68714
+ }
68715
+ $h_sc_Iterator$$anon$15.prototype = $c_sc_Iterator$$anon$15.prototype;
68716
+ $c_sc_Iterator$$anon$15.prototype.knownSize__I = (function() {
68717
+ var thisSize = $n(this.sc_Iterator$$anon$15__f_$outer).knownSize__I();
68718
+ var thatSize = $n(this.sc_Iterator$$anon$15__f_thatIterator).knownSize__I();
68719
+ return (((thisSize < 0) || (thatSize < 0)) ? (-1) : ((thisSize > thatSize) ? thisSize : thatSize))
68720
+ });
68721
+ $c_sc_Iterator$$anon$15.prototype.hasNext__Z = (function() {
68722
+ return ($n(this.sc_Iterator$$anon$15__f_$outer).hasNext__Z() || $n(this.sc_Iterator$$anon$15__f_thatIterator).hasNext__Z())
68723
+ });
68724
+ $c_sc_Iterator$$anon$15.prototype.next__T2 = (function() {
68725
+ var next1 = $n(this.sc_Iterator$$anon$15__f_$outer).hasNext__Z();
68726
+ var next2 = $n(this.sc_Iterator$$anon$15__f_thatIterator).hasNext__Z();
68727
+ if ((!(next1 || next2))) {
68728
+ throw $ct_ju_NoSuchElementException__(new $c_ju_NoSuchElementException())
68729
+ };
68730
+ return new $c_T2((next1 ? $n(this.sc_Iterator$$anon$15__f_$outer).next__O() : this.sc_Iterator$$anon$15__f_thisElem$1), (next2 ? $n(this.sc_Iterator$$anon$15__f_thatIterator).next__O() : this.sc_Iterator$$anon$15__f_thatElem$1))
68731
+ });
68732
+ $c_sc_Iterator$$anon$15.prototype.next__O = (function() {
68733
+ return this.next__T2()
68734
+ });
68735
+ var $d_sc_Iterator$$anon$15 = new $TypeData().initClass({
68736
+ sc_Iterator$$anon$15: 0
68737
+ }, false, "scala.collection.Iterator$$anon$15", {
68738
+ sc_Iterator$$anon$15: 1,
68739
+ sc_AbstractIterator: 1,
68740
+ O: 1,
68741
+ sc_Iterator: 1,
68742
+ sc_IterableOnce: 1,
68743
+ sc_IterableOnceOps: 1
68744
+ });
68745
+ $c_sc_Iterator$$anon$15.prototype.$classData = $d_sc_Iterator$$anon$15;
68746
+ /** @constructor */
68434
68747
  function $c_sc_Iterator$$anon$19() {
68435
68748
  /*<skip>*/
68436
68749
  }
@@ -75065,216 +75378,6 @@ function $m_Lio_kaitai_struct_format_IoIdentifier$() {
75065
75378
  return $n_Lio_kaitai_struct_format_IoIdentifier$
75066
75379
  }
75067
75380
  /** @constructor */
75068
- function $c_Lio_kaitai_struct_format_KSVersion(nums) {
75069
- this.Lio_kaitai_struct_format_KSVersion__f_nums = null;
75070
- this.Lio_kaitai_struct_format_KSVersion__f_nums = nums
75071
- }
75072
- $c_Lio_kaitai_struct_format_KSVersion.prototype = new $h_O();
75073
- $c_Lio_kaitai_struct_format_KSVersion.prototype.constructor = $c_Lio_kaitai_struct_format_KSVersion;
75074
- /** @constructor */
75075
- function $h_Lio_kaitai_struct_format_KSVersion() {
75076
- /*<skip>*/
75077
- }
75078
- $h_Lio_kaitai_struct_format_KSVersion.prototype = $c_Lio_kaitai_struct_format_KSVersion.prototype;
75079
- $c_Lio_kaitai_struct_format_KSVersion.prototype.compareTo__O__I = (function(that) {
75080
- return this.compare__Lio_kaitai_struct_format_KSVersion__I($as_Lio_kaitai_struct_format_KSVersion(that))
75081
- });
75082
- $c_Lio_kaitai_struct_format_KSVersion.prototype.compare__Lio_kaitai_struct_format_KSVersion__I = (function(that) {
75083
- var nonLocalReturnKey1 = $ct_O__(new $c_O());
75084
- try {
75085
- var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75086
- var that$1 = $n(that).Lio_kaitai_struct_format_KSVersion__f_nums;
75087
- var this$2 = $n($as_sci_List($f_sc_StrictOptimizedIterableOps__zip__sc_IterableOnce__O(this$1, that$1)));
75088
- var these = this$2;
75089
- while ((!$n(these).isEmpty__Z())) {
75090
- var arg1 = $n(these).head__O();
75091
- var x0$1 = $as_T2(arg1);
75092
- if ((x0$1 !== null)) {
75093
- var this$3 = $n(x0$1);
75094
- var thisNum = $uI(this$3.T2__f__1);
75095
- var this$4 = $n(x0$1);
75096
- var otherNum = $uI(this$4.T2__f__2);
75097
- if ((thisNum < otherNum)) {
75098
- throw new $c_sr_NonLocalReturnControl$mcI$sp(nonLocalReturnKey1, (-1))
75099
- } else if ((thisNum > otherNum)) {
75100
- throw new $c_sr_NonLocalReturnControl$mcI$sp(nonLocalReturnKey1, 1)
75101
- }
75102
- } else {
75103
- throw new $c_s_MatchError(x0$1)
75104
- };
75105
- these = $as_sci_List($n(these).tail__O())
75106
- };
75107
- var this$5 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75108
- var x = this$5.length__I();
75109
- var this$7 = $n($n(that).Lio_kaitai_struct_format_KSVersion__f_nums);
75110
- var x$1 = this$7.length__I();
75111
- return ((x === x$1) ? 0 : ((x < x$1) ? (-1) : 1))
75112
- } catch (e) {
75113
- if ((e instanceof $c_sr_NonLocalReturnControl)) {
75114
- var ex = $as_sr_NonLocalReturnControl(e);
75115
- if (($n(ex).sr_NonLocalReturnControl__f_key === nonLocalReturnKey1)) {
75116
- return $n(ex).value$mcI$sp__I()
75117
- } else {
75118
- throw $n(ex)
75119
- }
75120
- } else {
75121
- throw e
75122
- }
75123
- }
75124
- });
75125
- $c_Lio_kaitai_struct_format_KSVersion.prototype.toString__T = (function() {
75126
- var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75127
- return $f_sc_IterableOnceOps__mkString__T__T__T__T(this$1, "", ".", "")
75128
- });
75129
- $c_Lio_kaitai_struct_format_KSVersion.prototype.toInt__I = (function() {
75130
- var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75131
- if ((this$1.length__I() > 3)) {
75132
- throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int can have max 3 components, but " + this) + " is given"))
75133
- };
75134
- var this$4 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75135
- $n($m_s_package$().s_package$__f_List);
75136
- var this$2 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75137
- var n = ((3 - this$2.length__I()) | 0);
75138
- var b = new $c_scm_ListBuffer();
75139
- var i = 0;
75140
- while ((i < n)) {
75141
- b.addOne__O__scm_ListBuffer(0);
75142
- i = ((1 + i) | 0)
75143
- };
75144
- var suffix = b.toList__sci_List();
75145
- var nums2 = this$4.appendedAll__sc_IterableOnce__sci_List(suffix);
75146
- var this$5 = $n(nums2);
75147
- var acc = 0;
75148
- var these = this$5;
75149
- while ((!$n(these).isEmpty__Z())) {
75150
- var arg1 = acc;
75151
- var arg2 = $n(these).head__O();
75152
- var sum = $uI(arg1);
75153
- var comp = $uI(arg2);
75154
- if (((comp < 0) || (comp > 999))) {
75155
- throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int only allows components [0..999], but " + comp) + " was used"))
75156
- };
75157
- acc = ((Math.imul(1000, sum) + comp) | 0);
75158
- these = $as_sc_LinearSeq($n(these).tail__O())
75159
- };
75160
- return $uI(acc)
75161
- });
75162
- $c_Lio_kaitai_struct_format_KSVersion.prototype.toPerlVersion__T = (function() {
75163
- var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75164
- if ((this$1.length__I() > 3)) {
75165
- throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int can have max 3 components, but " + this) + " is given"))
75166
- };
75167
- var this$2 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75168
- var these = this$2;
75169
- while ((!$n(these).isEmpty__Z())) {
75170
- var arg1 = $n(these).head__O();
75171
- var comp = $uI(arg1);
75172
- if (((comp < 0) || (comp > 999))) {
75173
- throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int only allows components [0..999], but " + comp) + " was used"))
75174
- };
75175
- these = $as_sci_List($n(these).tail__O())
75176
- };
75177
- var this$5 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75178
- $n($m_s_package$().s_package$__f_List);
75179
- var this$3 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
75180
- var n = ((3 - this$3.length__I()) | 0);
75181
- var b = new $c_scm_ListBuffer();
75182
- var i = 0;
75183
- while ((i < n)) {
75184
- b.addOne__O__scm_ListBuffer(0);
75185
- i = ((1 + i) | 0)
75186
- };
75187
- var suffix = b.toList__sci_List();
75188
- var x1 = this$5.appendedAll__sc_IterableOnce__sci_List(suffix);
75189
- matchEnd9: {
75190
- var x$1___1;
75191
- var x$1___2;
75192
- var x$1___3;
75193
- if ((x1 instanceof $c_sci_$colon$colon)) {
75194
- var x2 = $as_sci_$colon$colon(x1);
75195
- var v1 = $uI($n(x2).sci_$colon$colon__f_head);
75196
- var p3 = $n(x2).sci_$colon$colon__f_next;
75197
- if ((p3 instanceof $c_sci_$colon$colon)) {
75198
- var x4 = $as_sci_$colon$colon(p3);
75199
- var v2 = $uI($n(x4).sci_$colon$colon__f_head);
75200
- var p5 = $n(x4).sci_$colon$colon__f_next;
75201
- if ((p5 instanceof $c_sci_$colon$colon)) {
75202
- var x6 = $as_sci_$colon$colon(p5);
75203
- var v3 = $uI($n(x6).sci_$colon$colon__f_head);
75204
- var x$1___1 = v1;
75205
- var x$1___2 = v2;
75206
- var x$1___3 = v3;
75207
- break matchEnd9
75208
- }
75209
- }
75210
- };
75211
- throw new $c_s_MatchError(x1)
75212
- };
75213
- var v1$2 = $uI(x$1___1);
75214
- var v2$2 = $uI(x$1___2);
75215
- var v3$2 = $uI(x$1___3);
75216
- var $$x1 = $m_sc_StringOps$();
75217
- var array = [v1$2, v2$2, v3$2];
75218
- return $n($$x1).format$extension__T__sci_Seq__T("%d.%03d_%03d", $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array))
75219
- });
75220
- $c_Lio_kaitai_struct_format_KSVersion.prototype.productPrefix__T = (function() {
75221
- return "KSVersion"
75222
- });
75223
- $c_Lio_kaitai_struct_format_KSVersion.prototype.productArity__I = (function() {
75224
- return 1
75225
- });
75226
- $c_Lio_kaitai_struct_format_KSVersion.prototype.productElement__I__O = (function(x$1) {
75227
- return ((x$1 === 0) ? this.Lio_kaitai_struct_format_KSVersion__f_nums : $m_sr_Statics$().ioobe__I__O(x$1))
75228
- });
75229
- $c_Lio_kaitai_struct_format_KSVersion.prototype.productIterator__sc_Iterator = (function() {
75230
- return new $c_sr_ScalaRunTime$$anon$1(this)
75231
- });
75232
- $c_Lio_kaitai_struct_format_KSVersion.prototype.hashCode__I = (function() {
75233
- var this$2 = $m_s_util_hashing_MurmurHash3$();
75234
- return this$2.productHash__s_Product__I__Z__I(this, (-889275714), false)
75235
- });
75236
- $c_Lio_kaitai_struct_format_KSVersion.prototype.equals__O__Z = (function(x$1) {
75237
- if ((this === x$1)) {
75238
- return true
75239
- } else if ((x$1 instanceof $c_Lio_kaitai_struct_format_KSVersion)) {
75240
- var KSVersion$1 = $as_Lio_kaitai_struct_format_KSVersion(x$1);
75241
- var x = this.Lio_kaitai_struct_format_KSVersion__f_nums;
75242
- var x$2 = $n(KSVersion$1).Lio_kaitai_struct_format_KSVersion__f_nums;
75243
- if (((x === null) ? (x$2 === null) : $n(x).equals__O__Z(x$2))) {
75244
- $n(KSVersion$1);
75245
- return true
75246
- } else {
75247
- return false
75248
- }
75249
- } else {
75250
- return false
75251
- }
75252
- });
75253
- $c_Lio_kaitai_struct_format_KSVersion.prototype.compare__O__I = (function(that) {
75254
- return this.compare__Lio_kaitai_struct_format_KSVersion__I($as_Lio_kaitai_struct_format_KSVersion(that))
75255
- });
75256
- function $as_Lio_kaitai_struct_format_KSVersion(obj) {
75257
- return (((obj instanceof $c_Lio_kaitai_struct_format_KSVersion) || (obj === null)) ? obj : $throwClassCastException(obj, "io.kaitai.struct.format.KSVersion"))
75258
- }
75259
- function $isArrayOf_Lio_kaitai_struct_format_KSVersion(obj, depth) {
75260
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_kaitai_struct_format_KSVersion)))
75261
- }
75262
- function $asArrayOf_Lio_kaitai_struct_format_KSVersion(obj, depth) {
75263
- return (($isArrayOf_Lio_kaitai_struct_format_KSVersion(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.kaitai.struct.format.KSVersion;", depth))
75264
- }
75265
- var $d_Lio_kaitai_struct_format_KSVersion = new $TypeData().initClass({
75266
- Lio_kaitai_struct_format_KSVersion: 0
75267
- }, false, "io.kaitai.struct.format.KSVersion", {
75268
- Lio_kaitai_struct_format_KSVersion: 1,
75269
- O: 1,
75270
- s_math_Ordered: 1,
75271
- jl_Comparable: 1,
75272
- s_Product: 1,
75273
- s_Equals: 1,
75274
- Ljava_io_Serializable: 1
75275
- });
75276
- $c_Lio_kaitai_struct_format_KSVersion.prototype.$classData = $d_Lio_kaitai_struct_format_KSVersion;
75277
- /** @constructor */
75278
75381
  function $c_Lio_kaitai_struct_format_ParamDefSpec(path, id, dataType, doc) {
75279
75382
  this.Lio_kaitai_struct_format_ParamDefSpec__f_path = null;
75280
75383
  this.Lio_kaitai_struct_format_ParamDefSpec__f_id = null;
@@ -77601,9 +77704,6 @@ function $f_sc_MapOps__contains__O__Z($thiz, key) {
77601
77704
  function $f_sc_MapOps__map__F1__sc_IterableOps($thiz, f) {
77602
77705
  return $as_sc_IterableOps($n($thiz.mapFactory__sc_MapFactory()).from__sc_IterableOnce__O($ct_sc_View$Map__sc_IterableOps__F1__(new $c_sc_View$Map(), $thiz, f)))
77603
77706
  }
77604
- function $f_sc_MapOps__flatMap__F1__sc_IterableOps($thiz, f) {
77605
- return $as_sc_IterableOps($n($thiz.mapFactory__sc_MapFactory()).from__sc_IterableOnce__O(new $c_sc_View$FlatMap($thiz, f)))
77606
- }
77607
77707
  function $f_sc_MapOps__concat__sc_IterableOnce__sc_IterableOps($thiz, suffix) {
77608
77708
  var $$x2 = $thiz.mapFactory__sc_MapFactory();
77609
77709
  if ($is_sc_Iterable(suffix)) {
@@ -77629,18 +77729,6 @@ function $f_sc_MapOps__addString__scm_StringBuilder__T__T__T__scm_StringBuilder(
77629
77729
  var this$3 = new $c_sc_Iterator$$anon$9(this$2, f);
77630
77730
  return $f_sc_IterableOnceOps__addString__scm_StringBuilder__T__T__T__scm_StringBuilder(this$3, sb, start, sep, end)
77631
77731
  }
77632
- function $is_sc_MapOps(obj) {
77633
- return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_MapOps)))
77634
- }
77635
- function $as_sc_MapOps(obj) {
77636
- return (($is_sc_MapOps(obj) || (obj === null)) ? obj : $throwClassCastException(obj, "scala.collection.MapOps"))
77637
- }
77638
- function $isArrayOf_sc_MapOps(obj, depth) {
77639
- return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.sc_MapOps)))
77640
- }
77641
- function $asArrayOf_sc_MapOps(obj, depth) {
77642
- return (($isArrayOf_sc_MapOps(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lscala.collection.MapOps;", depth))
77643
- }
77644
77732
  function $f_sc_StrictOptimizedSeqOps__distinctBy__F1__O($thiz, f) {
77645
77733
  var builder = $thiz.newSpecificBuilder__scm_Builder();
77646
77734
  var seen = $ct_scm_HashSet__(new $c_scm_HashSet());
@@ -85379,16 +85467,6 @@ function $f_sc_StrictOptimizedMapOps__map__F1__sc_IterableOps($thiz, f) {
85379
85467
  };
85380
85468
  return $as_sc_IterableOps($n(b).result__O())
85381
85469
  }
85382
- function $f_sc_StrictOptimizedMapOps__flatMap__F1__sc_IterableOps($thiz, f) {
85383
- var b = $n($thiz.mapFactory__sc_MapFactory()).newBuilder__scm_Builder();
85384
- var it = $thiz.iterator__sc_Iterator();
85385
- while ($n(it).hasNext__Z()) {
85386
- var this$1 = $n(b);
85387
- var xs = $as_sc_IterableOnce($n(f).apply__O__O($n(it).next__O()));
85388
- this$1.addAll__sc_IterableOnce__scm_Growable(xs)
85389
- };
85390
- return $as_sc_IterableOps($n(b).result__O())
85391
- }
85392
85470
  function $f_sc_StrictOptimizedMapOps__concat__sc_IterableOnce__sc_IterableOps($thiz, suffix) {
85393
85471
  var b = $n($thiz.mapFactory__sc_MapFactory()).newBuilder__scm_Builder();
85394
85472
  var this$1 = $n(b);
@@ -91991,6 +92069,59 @@ function $h_sc_View$TakeRight() {
91991
92069
  }
91992
92070
  $h_sc_View$TakeRight.prototype = $c_sc_View$TakeRight.prototype;
91993
92071
  /** @constructor */
92072
+ function $c_sc_View$ZipAll(underlying, other, thisElem, thatElem) {
92073
+ this.sc_View$ZipAll__f_underlying = null;
92074
+ this.sc_View$ZipAll__f_other = null;
92075
+ this.sc_View$ZipAll__f_thisElem = null;
92076
+ this.sc_View$ZipAll__f_thatElem = null;
92077
+ this.sc_View$ZipAll__f_underlying = underlying;
92078
+ this.sc_View$ZipAll__f_other = other;
92079
+ this.sc_View$ZipAll__f_thisElem = thisElem;
92080
+ this.sc_View$ZipAll__f_thatElem = thatElem
92081
+ }
92082
+ $c_sc_View$ZipAll.prototype = new $h_sc_AbstractView();
92083
+ $c_sc_View$ZipAll.prototype.constructor = $c_sc_View$ZipAll;
92084
+ /** @constructor */
92085
+ function $h_sc_View$ZipAll() {
92086
+ /*<skip>*/
92087
+ }
92088
+ $h_sc_View$ZipAll.prototype = $c_sc_View$ZipAll.prototype;
92089
+ $c_sc_View$ZipAll.prototype.iterator__sc_Iterator = (function() {
92090
+ var this$1 = $n($n(this.sc_View$ZipAll__f_underlying).iterator__sc_Iterator());
92091
+ var that = this.sc_View$ZipAll__f_other;
92092
+ var thisElem = this.sc_View$ZipAll__f_thisElem;
92093
+ var thatElem = this.sc_View$ZipAll__f_thatElem;
92094
+ return new $c_sc_Iterator$$anon$15(this$1, that, thisElem, thatElem)
92095
+ });
92096
+ $c_sc_View$ZipAll.prototype.knownSize__I = (function() {
92097
+ var s1 = $n(this.sc_View$ZipAll__f_underlying).knownSize__I();
92098
+ if ((s1 === (-1))) {
92099
+ return (-1)
92100
+ } else {
92101
+ var s2 = $n(this.sc_View$ZipAll__f_other).knownSize__I();
92102
+ return ((s2 === (-1)) ? (-1) : ((s1 > s2) ? s1 : s2))
92103
+ }
92104
+ });
92105
+ $c_sc_View$ZipAll.prototype.isEmpty__Z = (function() {
92106
+ return ($n(this.sc_View$ZipAll__f_underlying).isEmpty__Z() && $n(this.sc_View$ZipAll__f_other).isEmpty__Z())
92107
+ });
92108
+ var $d_sc_View$ZipAll = new $TypeData().initClass({
92109
+ sc_View$ZipAll: 0
92110
+ }, false, "scala.collection.View$ZipAll", {
92111
+ sc_View$ZipAll: 1,
92112
+ sc_AbstractView: 1,
92113
+ sc_AbstractIterable: 1,
92114
+ O: 1,
92115
+ sc_Iterable: 1,
92116
+ sc_IterableOnce: 1,
92117
+ sc_IterableOps: 1,
92118
+ sc_IterableOnceOps: 1,
92119
+ sc_IterableFactoryDefaults: 1,
92120
+ sc_View: 1,
92121
+ Ljava_io_Serializable: 1
92122
+ });
92123
+ $c_sc_View$ZipAll.prototype.$classData = $d_sc_View$ZipAll;
92124
+ /** @constructor */
91994
92125
  function $c_sc_AbstractSet() {
91995
92126
  /*<skip>*/
91996
92127
  }
@@ -94030,9 +94161,6 @@ $c_sc_AbstractMap.prototype.isDefinedAt__O__Z = (function(key) {
94030
94161
  $c_sc_AbstractMap.prototype.map__F1__sc_IterableOps = (function(f) {
94031
94162
  return $f_sc_MapOps__map__F1__sc_IterableOps(this, f)
94032
94163
  });
94033
- $c_sc_AbstractMap.prototype.flatMap__F1__sc_IterableOps = (function(f) {
94034
- return $f_sc_MapOps__flatMap__F1__sc_IterableOps(this, f)
94035
- });
94036
94164
  $c_sc_AbstractMap.prototype.concat__sc_IterableOnce__sc_IterableOps = (function(suffix) {
94037
94165
  return $f_sc_MapOps__concat__sc_IterableOnce__sc_IterableOps(this, suffix)
94038
94166
  });
@@ -94435,9 +94563,6 @@ $c_sc_AbstractMapView.prototype.contains__O__Z = (function(key) {
94435
94563
  $c_sc_AbstractMapView.prototype.isDefinedAt__O__Z = (function(key) {
94436
94564
  return $f_sc_MapOps__contains__O__Z(this, key)
94437
94565
  });
94438
- $c_sc_AbstractMapView.prototype.$plus$plus__sc_IterableOnce__sc_IterableOps = (function(xs) {
94439
- return $f_sc_MapOps__concat__sc_IterableOnce__sc_IterableOps(this, xs)
94440
- });
94441
94566
  $c_sc_AbstractMapView.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(sb, start, sep, end) {
94442
94567
  return $f_sc_MapOps__addString__scm_StringBuilder__T__T__T__scm_StringBuilder(this, sb, start, sep, end)
94443
94568
  });
@@ -101465,7 +101590,7 @@ $c_Lio_kaitai_struct_languages_RubyCompiler.prototype.debugClassSequence__sci_Li
101465
101590
  $c_Lio_kaitai_struct_languages_RubyCompiler.prototype.classToString__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(toStringExpr) {
101466
101591
  var this$1 = $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_out);
101467
101592
  $n(this$1.Lio_kaitai_struct_StringLanguageOutputWriter__f_sb).append__T__scm_StringBuilder("\n");
101468
- $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_out).puts__T__V("def inspect");
101593
+ $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_out).puts__T__V("def to_s");
101469
101594
  $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_out).inc__V();
101470
101595
  var $$x1 = $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_out);
101471
101596
  var this$2 = $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_translator);
@@ -104993,7 +105118,7 @@ $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.classConstructorHeader__
104993
105118
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._io = _io");
104994
105119
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._parent = _parent");
104995
105120
  if ((name === rootClassName)) {
104996
- $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._root = _root if _root else self")
105121
+ $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._root = _root or self")
104997
105122
  } else {
104998
105123
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._root = _root")
104999
105124
  };
@@ -105580,7 +105705,7 @@ $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.debugClassSequence__sci_
105580
105705
  $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.classToString__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(toStringExpr) {
105581
105706
  var this$1 = $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out);
105582
105707
  $n(this$1.Lio_kaitai_struct_StringLanguageOutputWriter__f_sb).append__T__scm_StringBuilder("\n");
105583
- $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("def __repr__(self):");
105708
+ $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("def __str__(self):");
105584
105709
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).inc__V();
105585
105710
  var $$x1 = $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out);
105586
105711
  var this$2 = $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_translator);
@@ -108491,9 +108616,6 @@ $h_sci_HashMap.prototype = $c_sci_HashMap.prototype;
108491
108616
  $c_sci_HashMap.prototype.map__F1__sc_IterableOps = (function(f) {
108492
108617
  return $f_sc_StrictOptimizedMapOps__map__F1__sc_IterableOps(this, f)
108493
108618
  });
108494
- $c_sci_HashMap.prototype.flatMap__F1__sc_IterableOps = (function(f) {
108495
- return $f_sc_StrictOptimizedMapOps__flatMap__F1__sc_IterableOps(this, f)
108496
- });
108497
108619
  $c_sci_HashMap.prototype.map__F1__O = (function(f) {
108498
108620
  return $f_sc_StrictOptimizedIterableOps__map__F1__O(this, f)
108499
108621
  });
@@ -116334,9 +116456,6 @@ $h_sci_TreeMap.prototype = $c_sci_TreeMap.prototype;
116334
116456
  $c_sci_TreeMap.prototype.map__F1__sc_IterableOps = (function(f) {
116335
116457
  return $f_sc_StrictOptimizedMapOps__map__F1__sc_IterableOps(this, f)
116336
116458
  });
116337
- $c_sci_TreeMap.prototype.flatMap__F1__sc_IterableOps = (function(f) {
116338
- return $f_sc_StrictOptimizedMapOps__flatMap__F1__sc_IterableOps(this, f)
116339
- });
116340
116459
  $c_sci_TreeMap.prototype.map__F1__O = (function(f) {
116341
116460
  return $f_sc_StrictOptimizedIterableOps__map__F1__O(this, f)
116342
116461
  });