kaitai-struct-compiler 0.11.0-SNAPSHOT20250501.162508.91aeb53 → 0.11.0-SNAPSHOT20250819.142119.0b6aa5d

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-SNAPSHOT20250819.142119.0b6aa5d";
3037
+ this.Lio_kaitai_struct_Version$__f_gitTime = "2025-08-19T14:21:19Z"
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);
@@ -35690,16 +35883,23 @@ $c_Lio_kaitai_struct_GraphvizClassCompiler.prototype.affectedVars__Lio_kaitai_st
35690
35883
  return this$5.appendedAll__sc_IterableOnce__sci_List(suffix$3)
35691
35884
  } else if (((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$IntNum) || ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$FloatNum) || ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Str) || (e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Bool))))) {
35692
35885
  return $m_sci_Nil$()
35886
+ } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$InterpolatedStr)) {
35887
+ var x15 = $as_Lio_kaitai_struct_exprlang_Ast$expr$InterpolatedStr(e);
35888
+ var exprs = $n(x15).Lio_kaitai_struct_exprlang_Ast$expr$InterpolatedStr__f_elts;
35889
+ return $n($as_sc_IterableOnceOps($n(exprs).flatMap__F1__O(new $c_sjsr_AnonFunction1(((e$3$2) => {
35890
+ var e$3 = $as_Lio_kaitai_struct_exprlang_Ast$expr(e$3$2);
35891
+ return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(e$3)
35892
+ }))))).toList__sci_List()
35693
35893
  } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$EnumByLabel)) {
35694
35894
  return $m_sci_Nil$()
35695
35895
  } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$EnumById)) {
35696
- var x16 = $as_Lio_kaitai_struct_exprlang_Ast$expr$EnumById(e);
35697
- var id = $n(x16).Lio_kaitai_struct_exprlang_Ast$expr$EnumById__f_id;
35896
+ var x17 = $as_Lio_kaitai_struct_exprlang_Ast$expr$EnumById(e);
35897
+ var id = $n(x17).Lio_kaitai_struct_exprlang_Ast$expr$EnumById__f_id;
35698
35898
  return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(id)
35699
35899
  } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Attribute)) {
35700
- var x19 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Attribute(e);
35701
- var value = $n(x19).Lio_kaitai_struct_exprlang_Ast$expr$Attribute__f_value;
35702
- var attr = $n(x19).Lio_kaitai_struct_exprlang_Ast$expr$Attribute__f_attr;
35900
+ var x20 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Attribute(e);
35901
+ var value = $n(x20).Lio_kaitai_struct_exprlang_Ast$expr$Attribute__f_value;
35902
+ var attr = $n(x20).Lio_kaitai_struct_exprlang_Ast$expr$Attribute__f_attr;
35703
35903
  if (($n(attr).Lio_kaitai_struct_exprlang_Ast$identifier__f_name === $m_Lio_kaitai_struct_format_Identifier$().Lio_kaitai_struct_format_Identifier$__f_SIZEOF)) {
35704
35904
  matchEnd5: {
35705
35905
  var vars;
@@ -35756,9 +35956,9 @@ $c_Lio_kaitai_struct_GraphvizClassCompiler.prototype.affectedVars__Lio_kaitai_st
35756
35956
  return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(value)
35757
35957
  }
35758
35958
  } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Call)) {
35759
- var x20 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Call(e);
35760
- var func = $n(x20).Lio_kaitai_struct_exprlang_Ast$expr$Call__f_func;
35761
- var args = $n(x20).Lio_kaitai_struct_exprlang_Ast$expr$Call__f_args;
35959
+ var x21 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Call(e);
35960
+ var func = $n(x21).Lio_kaitai_struct_exprlang_Ast$expr$Call__f_func;
35961
+ var args = $n(x21).Lio_kaitai_struct_exprlang_Ast$expr$Call__f_args;
35762
35962
  matchEnd6: {
35763
35963
  var fromFunc;
35764
35964
  if ((func instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Attribute)) {
@@ -35776,15 +35976,15 @@ $c_Lio_kaitai_struct_GraphvizClassCompiler.prototype.affectedVars__Lio_kaitai_st
35776
35976
  };
35777
35977
  return $n(this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(new $c_Lio_kaitai_struct_exprlang_Ast$expr$List(args))).$colon$colon$colon__sci_List__sci_List(fromFunc)
35778
35978
  } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Subscript)) {
35779
- var x21 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Subscript(e);
35780
- var value$2 = $n(x21).Lio_kaitai_struct_exprlang_Ast$expr$Subscript__f_value;
35781
- var idx = $n(x21).Lio_kaitai_struct_exprlang_Ast$expr$Subscript__f_idx;
35979
+ var x22 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Subscript(e);
35980
+ var value$2 = $n(x22).Lio_kaitai_struct_exprlang_Ast$expr$Subscript__f_value;
35981
+ var idx = $n(x22).Lio_kaitai_struct_exprlang_Ast$expr$Subscript__f_idx;
35782
35982
  var this$21 = $n(this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(value$2));
35783
35983
  var suffix$4 = this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(idx);
35784
35984
  return this$21.appendedAll__sc_IterableOnce__sci_List(suffix$4)
35785
35985
  } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$Name)) {
35786
- var x22 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Name(e);
35787
- var id$3 = $n(x22).Lio_kaitai_struct_exprlang_Ast$expr$Name__f_id;
35986
+ var x23 = $as_Lio_kaitai_struct_exprlang_Ast$expr$Name(e);
35987
+ var id$3 = $n(x23).Lio_kaitai_struct_exprlang_Ast$expr$Name__f_id;
35788
35988
  var this$22 = $n($n(id$3).Lio_kaitai_struct_exprlang_Ast$identifier__f_name);
35789
35989
  if (((this$22.length >= 0) && ($as_T(this$22.substring(0, 1)) === "_"))) {
35790
35990
  return $m_sci_Nil$()
@@ -35796,15 +35996,15 @@ $c_Lio_kaitai_struct_GraphvizClassCompiler.prototype.affectedVars__Lio_kaitai_st
35796
35996
  return $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$3)
35797
35997
  }
35798
35998
  } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$List)) {
35799
- var x23 = $as_Lio_kaitai_struct_exprlang_Ast$expr$List(e);
35800
- var elts = $n(x23).Lio_kaitai_struct_exprlang_Ast$expr$List__f_elts;
35801
- return $n($as_sc_IterableOnceOps($n(elts).flatMap__F1__O(new $c_sjsr_AnonFunction1(((e$3$2) => {
35802
- var e$3 = $as_Lio_kaitai_struct_exprlang_Ast$expr(e$3$2);
35803
- return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(e$3)
35999
+ var x24 = $as_Lio_kaitai_struct_exprlang_Ast$expr$List(e);
36000
+ var elts = $n(x24).Lio_kaitai_struct_exprlang_Ast$expr$List__f_elts;
36001
+ return $n($as_sc_IterableOnceOps($n(elts).flatMap__F1__O(new $c_sjsr_AnonFunction1(((e$4$2) => {
36002
+ var e$4 = $as_Lio_kaitai_struct_exprlang_Ast$expr(e$4$2);
36003
+ return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(e$4)
35804
36004
  }))))).toList__sci_List()
35805
36005
  } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$CastToType)) {
35806
- var x24 = $as_Lio_kaitai_struct_exprlang_Ast$expr$CastToType(e);
35807
- var expr = $n(x24).Lio_kaitai_struct_exprlang_Ast$expr$CastToType__f_value;
36006
+ var x25 = $as_Lio_kaitai_struct_exprlang_Ast$expr$CastToType(e);
36007
+ var expr = $n(x25).Lio_kaitai_struct_exprlang_Ast$expr$CastToType__f_value;
35808
36008
  return this.affectedVars__Lio_kaitai_struct_exprlang_Ast$expr__sci_List(expr)
35809
36009
  } else if ((e instanceof $c_Lio_kaitai_struct_exprlang_Ast$expr$ByteSizeOfType)) {
35810
36010
  return $m_sci_Nil$()
@@ -37520,137 +37720,6 @@ function $m_Lio_kaitai_struct_format_EnumValueSpec$() {
37520
37720
  };
37521
37721
  return $n_Lio_kaitai_struct_format_EnumValueSpec$
37522
37722
  }
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
37723
  function $is_Lio_kaitai_struct_format_MemberSpec(obj) {
37655
37724
  return (!(!((obj && obj.$classData) && obj.$classData.ancestors.Lio_kaitai_struct_format_MemberSpec)))
37656
37725
  }
@@ -37668,13 +37737,15 @@ function $c_Lio_kaitai_struct_format_MetaSpec$() {
37668
37737
  this.Lio_kaitai_struct_format_MetaSpec$__f_OPAQUE = null;
37669
37738
  this.Lio_kaitai_struct_format_MetaSpec$__f_LEGAL_KEYS = null;
37670
37739
  this.Lio_kaitai_struct_format_MetaSpec$__f_ReKsVersion = null;
37740
+ this.Lio_kaitai_struct_format_MetaSpec$__f_MIN_ALLOWED_KS_VERSION_0_6 = null;
37671
37741
  $n_Lio_kaitai_struct_format_MetaSpec$ = this;
37672
37742
  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
37743
  var this$4 = $n($m_s_Predef$().s_Predef$__f_Set);
37674
37744
  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
37745
  var elems = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array);
37676
37746
  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$()))
37747
+ 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$()));
37748
+ 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
37749
  }
37679
37750
  $c_Lio_kaitai_struct_format_MetaSpec$.prototype = new $h_O();
37680
37751
  $c_Lio_kaitai_struct_format_MetaSpec$.prototype.constructor = $c_Lio_kaitai_struct_format_MetaSpec$;
@@ -37711,48 +37782,61 @@ $c_Lio_kaitai_struct_format_MetaSpec$.prototype.fromYaml__O__sci_List__Lio_kaita
37711
37782
  var verStr = $as_T(arg1);
37712
37783
  if ((!$n($m_Lio_kaitai_struct_format_MetaSpec$().Lio_kaitai_struct_format_MetaSpec$__f_ReKsVersion).matches__jl_CharSequence__Z(verStr))) {
37713
37784
  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)))
37785
+ var this$2 = $n(path);
37786
+ 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
37787
  };
37721
37788
  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);
37789
+ var this$3 = $n(ver);
37790
+ var that = $m_Lio_kaitai_struct_format_MetaSpec$().Lio_kaitai_struct_format_MetaSpec$__f_MIN_ALLOWED_KS_VERSION_0_6;
37791
+ if ($f_s_math_Ordered__$less__O__Z(this$3, that)) {
37792
+ var x = $n(ver).Lio_kaitai_struct_format_KSVersion__f_nums;
37793
+ $n($m_s_package$().s_package$__f_List);
37794
+ var array = [0, 1];
37795
+ var elems = $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array);
37796
+ var x$2 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems);
37797
+ if (((x === null) ? (x$2 === null) : $n(x).equals__O__Z(x$2))) {
37798
+ var extraHelp = " (if you meant 0.10, use ks-version: '0.10' to prevent YAML from interpreting it as a float)"
37799
+ } else {
37800
+ var extraHelp = ""
37801
+ };
37802
+ var $$x2 = $m_Lio_kaitai_struct_problems_KSYParseError$();
37803
+ var this$8 = $n(path);
37804
+ 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"))))
37805
+ };
37806
+ var this$10 = $n(ver);
37807
+ var this$9 = $m_Lio_kaitai_struct_format_KSVersion$();
37808
+ var that$1 = $as_Lio_kaitai_struct_format_KSVersion($n(this$9.Lio_kaitai_struct_format_KSVersion$__f__current).get__O());
37809
+ if ($f_s_math_Ordered__$greater__O__Z(this$10, that$1)) {
37810
+ var $$x4 = $m_Lio_kaitai_struct_problems_KSYParseError$();
37811
+ var this$11 = $m_Lio_kaitai_struct_format_KSVersion$();
37812
+ var $$x3 = $as_Lio_kaitai_struct_format_KSVersion($n(this$11.Lio_kaitai_struct_format_KSVersion$__f__current).get__O());
37813
+ var this$16 = $n(path);
37730
37814
  $n($m_s_package$().s_package$__f_List);
37731
37815
  var array$1 = ["ks-version"];
37732
37816
  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)))
37817
+ var suffix = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$1);
37818
+ 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
37819
  }
37736
37820
  };
37737
37821
  var endian = $m_Lio_kaitai_struct_datatype_Endianness$().fromYaml__s_Option__sci_List__s_Option($n(srcMap).get__O__s_Option("endian"), path);
37738
37822
  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
37823
  $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
37824
  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();
37825
+ var this$18 = $n(id);
37826
+ if ((!this$18.isEmpty__Z())) {
37827
+ var arg1$1 = this$18.get__O();
37744
37828
  var idStr = $as_T(arg1$1);
37745
- var $$x4 = $m_Lio_kaitai_struct_format_Identifier$();
37746
- var this$21 = $n(path);
37829
+ var $$x5 = $m_Lio_kaitai_struct_format_Identifier$();
37830
+ var this$23 = $n(path);
37747
37831
  $n($m_s_package$().s_package$__f_List);
37748
37832
  var array$2 = ["id"];
37749
37833
  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))
37834
+ var suffix$1 = $m_sci_Nil$().prependedAll__sc_IterableOnce__sci_List(elems$2);
37835
+ $n($$x5).checkIdentifierSource__T__T__sci_List__V(idStr, "meta", this$23.appendedAll__sc_IterableOnce__sci_List(suffix$1))
37752
37836
  };
37753
37837
  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()));
37838
+ var this$24 = $n($m_Lio_kaitai_struct_format_ParseUtils$().getOptValueBool__sci_Map__T__sci_List__s_Option(srcMap, "ks-debug", path));
37839
+ var forceDebug = $uZ((this$24.isEmpty__Z() ? false : this$24.get__O()));
37756
37840
  var opaqueTypes = $m_Lio_kaitai_struct_format_ParseUtils$().getOptValueBool__sci_Map__T__sci_List__s_Option(srcMap, "ks-opaque-types", path);
37757
37841
  var zeroCopySubstream = $m_Lio_kaitai_struct_format_ParseUtils$().getOptValueBool__sci_Map__T__sci_List__s_Option(srcMap, "ks-zero-copy-substream", path);
37758
37842
  var imports = $m_Lio_kaitai_struct_format_ParseUtils$().getListStr__sci_Map__T__sci_List__sci_List(srcMap, "imports", path);
@@ -44894,6 +44978,198 @@ function $asArrayOf_Lio_kaitai_struct_format_InstanceSpec(obj, depth) {
44894
44978
  return (($isArrayOf_Lio_kaitai_struct_format_InstanceSpec(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.kaitai.struct.format.InstanceSpec;", depth))
44895
44979
  }
44896
44980
  /** @constructor */
44981
+ function $c_Lio_kaitai_struct_format_KSVersion(nums) {
44982
+ this.Lio_kaitai_struct_format_KSVersion__f_nums = null;
44983
+ this.Lio_kaitai_struct_format_KSVersion__f_nums = nums
44984
+ }
44985
+ $c_Lio_kaitai_struct_format_KSVersion.prototype = new $h_O();
44986
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.constructor = $c_Lio_kaitai_struct_format_KSVersion;
44987
+ /** @constructor */
44988
+ function $h_Lio_kaitai_struct_format_KSVersion() {
44989
+ /*<skip>*/
44990
+ }
44991
+ $h_Lio_kaitai_struct_format_KSVersion.prototype = $c_Lio_kaitai_struct_format_KSVersion.prototype;
44992
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.compareTo__O__I = (function(that) {
44993
+ return this.compare__Lio_kaitai_struct_format_KSVersion__I($as_Lio_kaitai_struct_format_KSVersion(that))
44994
+ });
44995
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.compare__Lio_kaitai_struct_format_KSVersion__I = (function(that) {
44996
+ var nonLocalReturnKey1 = $ct_O__(new $c_O());
44997
+ try {
44998
+ var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
44999
+ var that$1 = $n(that).Lio_kaitai_struct_format_KSVersion__f_nums;
45000
+ var this$2 = $n($as_sci_List($f_sc_IterableOps__zipAll__sc_Iterable__O__O__O(this$1, that$1, 0, 0)));
45001
+ var these = this$2;
45002
+ while ((!$n(these).isEmpty__Z())) {
45003
+ var arg1 = $n(these).head__O();
45004
+ var x0$1 = $as_T2(arg1);
45005
+ if ((x0$1 !== null)) {
45006
+ var this$3 = $n(x0$1);
45007
+ var thisNum = $uI(this$3.T2__f__1);
45008
+ var this$4 = $n(x0$1);
45009
+ var otherNum = $uI(this$4.T2__f__2);
45010
+ if ((thisNum < otherNum)) {
45011
+ throw new $c_sr_NonLocalReturnControl$mcI$sp(nonLocalReturnKey1, (-1))
45012
+ } else if ((thisNum > otherNum)) {
45013
+ throw new $c_sr_NonLocalReturnControl$mcI$sp(nonLocalReturnKey1, 1)
45014
+ }
45015
+ } else {
45016
+ throw new $c_s_MatchError(x0$1)
45017
+ };
45018
+ these = $as_sci_List($n(these).tail__O())
45019
+ };
45020
+ return 0
45021
+ } catch (e) {
45022
+ if ((e instanceof $c_sr_NonLocalReturnControl)) {
45023
+ var ex = $as_sr_NonLocalReturnControl(e);
45024
+ if (($n(ex).sr_NonLocalReturnControl__f_key === nonLocalReturnKey1)) {
45025
+ return $n(ex).value$mcI$sp__I()
45026
+ } else {
45027
+ throw $n(ex)
45028
+ }
45029
+ } else {
45030
+ throw e
45031
+ }
45032
+ }
45033
+ });
45034
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.equals__O__Z = (function(that) {
45035
+ if ((that instanceof $c_Lio_kaitai_struct_format_KSVersion)) {
45036
+ var x2 = $as_Lio_kaitai_struct_format_KSVersion(that);
45037
+ return (this.compare__Lio_kaitai_struct_format_KSVersion__I(x2) === 0)
45038
+ } else {
45039
+ return false
45040
+ }
45041
+ });
45042
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.hashCode__I = (function() {
45043
+ var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45044
+ var i = 0;
45045
+ var these = this$1;
45046
+ var last = (-1);
45047
+ while ((!$n(these).isEmpty__Z())) {
45048
+ var arg1 = $n(these).head__O();
45049
+ var x$1 = $uI(arg1);
45050
+ if ((x$1 !== 0)) {
45051
+ last = i
45052
+ };
45053
+ these = $as_sc_LinearSeq($n(these).tail__O());
45054
+ i = ((1 + i) | 0)
45055
+ };
45056
+ var lastNonZeroNum = last;
45057
+ var this$2 = $n($n(this.Lio_kaitai_struct_format_KSVersion__f_nums).take__I__sci_List(((1 + lastNonZeroNum) | 0)));
45058
+ return $m_s_util_hashing_MurmurHash3$().seqHash__sc_Seq__I(this$2)
45059
+ });
45060
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.toString__T = (function() {
45061
+ var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45062
+ return $f_sc_IterableOnceOps__mkString__T__T__T__T(this$1, "", ".", "")
45063
+ });
45064
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.toInt__I = (function() {
45065
+ if (($n(this.Lio_kaitai_struct_format_KSVersion__f_nums).length__I() > 3)) {
45066
+ throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int can have max 3 components, but " + this) + " is given"))
45067
+ };
45068
+ var this$2 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45069
+ $n($m_s_package$().s_package$__f_List);
45070
+ var n = ((3 - $n(this.Lio_kaitai_struct_format_KSVersion__f_nums).length__I()) | 0);
45071
+ var b = new $c_scm_ListBuffer();
45072
+ var i = 0;
45073
+ while ((i < n)) {
45074
+ b.addOne__O__scm_ListBuffer(0);
45075
+ i = ((1 + i) | 0)
45076
+ };
45077
+ var suffix = b.toList__sci_List();
45078
+ var nums2 = this$2.appendedAll__sc_IterableOnce__sci_List(suffix);
45079
+ var this$3 = $n(nums2);
45080
+ var acc = 0;
45081
+ var these = this$3;
45082
+ while ((!$n(these).isEmpty__Z())) {
45083
+ var arg1 = acc;
45084
+ var arg2 = $n(these).head__O();
45085
+ var sum = $uI(arg1);
45086
+ var comp = $uI(arg2);
45087
+ if (((comp < 0) || (comp > 999))) {
45088
+ throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int only allows components [0..999], but " + comp) + " was used"))
45089
+ };
45090
+ acc = ((Math.imul(1000, sum) + comp) | 0);
45091
+ these = $as_sc_LinearSeq($n(these).tail__O())
45092
+ };
45093
+ return $uI(acc)
45094
+ });
45095
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.toPerlVersion__T = (function() {
45096
+ if (($n(this.Lio_kaitai_struct_format_KSVersion__f_nums).length__I() > 3)) {
45097
+ throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int can have max 3 components, but " + this) + " is given"))
45098
+ };
45099
+ var this$1 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45100
+ var these = this$1;
45101
+ while ((!$n(these).isEmpty__Z())) {
45102
+ var arg1 = $n(these).head__O();
45103
+ var comp = $uI(arg1);
45104
+ if (((comp < 0) || (comp > 999))) {
45105
+ throw $ct_jl_RuntimeException__T__(new $c_jl_RuntimeException(), (("C-style version int only allows components [0..999], but " + comp) + " was used"))
45106
+ };
45107
+ these = $as_sci_List($n(these).tail__O())
45108
+ };
45109
+ var this$3 = $n(this.Lio_kaitai_struct_format_KSVersion__f_nums);
45110
+ $n($m_s_package$().s_package$__f_List);
45111
+ var n = ((3 - $n(this.Lio_kaitai_struct_format_KSVersion__f_nums).length__I()) | 0);
45112
+ var b = new $c_scm_ListBuffer();
45113
+ var i = 0;
45114
+ while ((i < n)) {
45115
+ b.addOne__O__scm_ListBuffer(0);
45116
+ i = ((1 + i) | 0)
45117
+ };
45118
+ var suffix = b.toList__sci_List();
45119
+ var x1 = this$3.appendedAll__sc_IterableOnce__sci_List(suffix);
45120
+ matchEnd9: {
45121
+ var x$2___1;
45122
+ var x$2___2;
45123
+ var x$2___3;
45124
+ if ((x1 instanceof $c_sci_$colon$colon)) {
45125
+ var x2 = $as_sci_$colon$colon(x1);
45126
+ var v1 = $uI($n(x2).sci_$colon$colon__f_head);
45127
+ var p3 = $n(x2).sci_$colon$colon__f_next;
45128
+ if ((p3 instanceof $c_sci_$colon$colon)) {
45129
+ var x4 = $as_sci_$colon$colon(p3);
45130
+ var v2 = $uI($n(x4).sci_$colon$colon__f_head);
45131
+ var p5 = $n(x4).sci_$colon$colon__f_next;
45132
+ if ((p5 instanceof $c_sci_$colon$colon)) {
45133
+ var x6 = $as_sci_$colon$colon(p5);
45134
+ var v3 = $uI($n(x6).sci_$colon$colon__f_head);
45135
+ var x$2___1 = v1;
45136
+ var x$2___2 = v2;
45137
+ var x$2___3 = v3;
45138
+ break matchEnd9
45139
+ }
45140
+ }
45141
+ };
45142
+ throw new $c_s_MatchError(x1)
45143
+ };
45144
+ var v1$2 = $uI(x$2___1);
45145
+ var v2$2 = $uI(x$2___2);
45146
+ var v3$2 = $uI(x$2___3);
45147
+ var $$x1 = $m_sc_StringOps$();
45148
+ var array = [v1$2, v2$2, v3$2];
45149
+ return $n($$x1).format$extension__T__sci_Seq__T("%d.%03d_%03d", $ct_sjsr_WrappedVarArgs__sjs_js_Array__(new $c_sjsr_WrappedVarArgs(), array))
45150
+ });
45151
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.compare__O__I = (function(that) {
45152
+ return this.compare__Lio_kaitai_struct_format_KSVersion__I($as_Lio_kaitai_struct_format_KSVersion(that))
45153
+ });
45154
+ function $as_Lio_kaitai_struct_format_KSVersion(obj) {
45155
+ return (((obj instanceof $c_Lio_kaitai_struct_format_KSVersion) || (obj === null)) ? obj : $throwClassCastException(obj, "io.kaitai.struct.format.KSVersion"))
45156
+ }
45157
+ function $isArrayOf_Lio_kaitai_struct_format_KSVersion(obj, depth) {
45158
+ return (!(!(((obj && obj.$classData) && (obj.$classData.arrayDepth === depth)) && obj.$classData.arrayBase.ancestors.Lio_kaitai_struct_format_KSVersion)))
45159
+ }
45160
+ function $asArrayOf_Lio_kaitai_struct_format_KSVersion(obj, depth) {
45161
+ return (($isArrayOf_Lio_kaitai_struct_format_KSVersion(obj, depth) || (obj === null)) ? obj : $throwArrayCastException(obj, "Lio.kaitai.struct.format.KSVersion;", depth))
45162
+ }
45163
+ var $d_Lio_kaitai_struct_format_KSVersion = new $TypeData().initClass({
45164
+ Lio_kaitai_struct_format_KSVersion: 0
45165
+ }, false, "io.kaitai.struct.format.KSVersion", {
45166
+ Lio_kaitai_struct_format_KSVersion: 1,
45167
+ O: 1,
45168
+ s_math_Ordered: 1,
45169
+ jl_Comparable: 1
45170
+ });
45171
+ $c_Lio_kaitai_struct_format_KSVersion.prototype.$classData = $d_Lio_kaitai_struct_format_KSVersion;
45172
+ /** @constructor */
44897
45173
  function $c_Lio_kaitai_struct_languages_CppCompiler$() {
44898
45174
  /*<skip>*/
44899
45175
  }
@@ -46945,6 +47221,9 @@ function $f_sc_IterableOps__concat__sc_IterableOnce__O($thiz, suffix) {
46945
47221
  };
46946
47222
  return $n($$x2).from__sc_IterableOnce__O($$x1)
46947
47223
  }
47224
+ function $f_sc_IterableOps__zipAll__sc_Iterable__O__O__O($thiz, that, thisElem, thatElem) {
47225
+ return $n($thiz.iterableFactory__sc_IterableFactory()).from__sc_IterableOnce__O(new $c_sc_View$ZipAll($thiz, that, thisElem, thatElem))
47226
+ }
46948
47227
  function $is_sc_IterableOps(obj) {
46949
47228
  return (!(!((obj && obj.$classData) && obj.$classData.ancestors.sc_IterableOps)))
46950
47229
  }
@@ -55874,17 +56153,6 @@ function $f_sc_StrictOptimizedIterableOps__flatten__F1__O($thiz, toIterableOnce)
55874
56153
  };
55875
56154
  return $n(b).result__O()
55876
56155
  }
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
56156
  function $f_sc_StrictOptimizedIterableOps__zipWithIndex__O($thiz) {
55889
56157
  var b = $n($thiz.iterableFactory__sc_IterableFactory()).newBuilder__scm_Builder();
55890
56158
  var i = 0;
@@ -68431,6 +68699,58 @@ var $d_sc_Iterator$$anon$10 = new $TypeData().initClass({
68431
68699
  });
68432
68700
  $c_sc_Iterator$$anon$10.prototype.$classData = $d_sc_Iterator$$anon$10;
68433
68701
  /** @constructor */
68702
+ function $c_sc_Iterator$$anon$15(outer, that$2, thisElem$1, thatElem$1) {
68703
+ this.sc_Iterator$$anon$15__f_thatIterator = null;
68704
+ this.sc_Iterator$$anon$15__f_$outer = null;
68705
+ this.sc_Iterator$$anon$15__f_thisElem$1 = null;
68706
+ this.sc_Iterator$$anon$15__f_thatElem$1 = null;
68707
+ if ((outer === null)) {
68708
+ $n(null)
68709
+ } else {
68710
+ this.sc_Iterator$$anon$15__f_$outer = outer
68711
+ };
68712
+ this.sc_Iterator$$anon$15__f_thisElem$1 = thisElem$1;
68713
+ this.sc_Iterator$$anon$15__f_thatElem$1 = thatElem$1;
68714
+ this.sc_Iterator$$anon$15__f_thatIterator = $n(that$2).iterator__sc_Iterator()
68715
+ }
68716
+ $c_sc_Iterator$$anon$15.prototype = new $h_sc_AbstractIterator();
68717
+ $c_sc_Iterator$$anon$15.prototype.constructor = $c_sc_Iterator$$anon$15;
68718
+ /** @constructor */
68719
+ function $h_sc_Iterator$$anon$15() {
68720
+ /*<skip>*/
68721
+ }
68722
+ $h_sc_Iterator$$anon$15.prototype = $c_sc_Iterator$$anon$15.prototype;
68723
+ $c_sc_Iterator$$anon$15.prototype.knownSize__I = (function() {
68724
+ var thisSize = $n(this.sc_Iterator$$anon$15__f_$outer).knownSize__I();
68725
+ var thatSize = $n(this.sc_Iterator$$anon$15__f_thatIterator).knownSize__I();
68726
+ return (((thisSize < 0) || (thatSize < 0)) ? (-1) : ((thisSize > thatSize) ? thisSize : thatSize))
68727
+ });
68728
+ $c_sc_Iterator$$anon$15.prototype.hasNext__Z = (function() {
68729
+ return ($n(this.sc_Iterator$$anon$15__f_$outer).hasNext__Z() || $n(this.sc_Iterator$$anon$15__f_thatIterator).hasNext__Z())
68730
+ });
68731
+ $c_sc_Iterator$$anon$15.prototype.next__T2 = (function() {
68732
+ var next1 = $n(this.sc_Iterator$$anon$15__f_$outer).hasNext__Z();
68733
+ var next2 = $n(this.sc_Iterator$$anon$15__f_thatIterator).hasNext__Z();
68734
+ if ((!(next1 || next2))) {
68735
+ throw $ct_ju_NoSuchElementException__(new $c_ju_NoSuchElementException())
68736
+ };
68737
+ 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))
68738
+ });
68739
+ $c_sc_Iterator$$anon$15.prototype.next__O = (function() {
68740
+ return this.next__T2()
68741
+ });
68742
+ var $d_sc_Iterator$$anon$15 = new $TypeData().initClass({
68743
+ sc_Iterator$$anon$15: 0
68744
+ }, false, "scala.collection.Iterator$$anon$15", {
68745
+ sc_Iterator$$anon$15: 1,
68746
+ sc_AbstractIterator: 1,
68747
+ O: 1,
68748
+ sc_Iterator: 1,
68749
+ sc_IterableOnce: 1,
68750
+ sc_IterableOnceOps: 1
68751
+ });
68752
+ $c_sc_Iterator$$anon$15.prototype.$classData = $d_sc_Iterator$$anon$15;
68753
+ /** @constructor */
68434
68754
  function $c_sc_Iterator$$anon$19() {
68435
68755
  /*<skip>*/
68436
68756
  }
@@ -75065,216 +75385,6 @@ function $m_Lio_kaitai_struct_format_IoIdentifier$() {
75065
75385
  return $n_Lio_kaitai_struct_format_IoIdentifier$
75066
75386
  }
75067
75387
  /** @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
75388
  function $c_Lio_kaitai_struct_format_ParamDefSpec(path, id, dataType, doc) {
75279
75389
  this.Lio_kaitai_struct_format_ParamDefSpec__f_path = null;
75280
75390
  this.Lio_kaitai_struct_format_ParamDefSpec__f_id = null;
@@ -77601,9 +77711,6 @@ function $f_sc_MapOps__contains__O__Z($thiz, key) {
77601
77711
  function $f_sc_MapOps__map__F1__sc_IterableOps($thiz, f) {
77602
77712
  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
77713
  }
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
77714
  function $f_sc_MapOps__concat__sc_IterableOnce__sc_IterableOps($thiz, suffix) {
77608
77715
  var $$x2 = $thiz.mapFactory__sc_MapFactory();
77609
77716
  if ($is_sc_Iterable(suffix)) {
@@ -77629,18 +77736,6 @@ function $f_sc_MapOps__addString__scm_StringBuilder__T__T__T__scm_StringBuilder(
77629
77736
  var this$3 = new $c_sc_Iterator$$anon$9(this$2, f);
77630
77737
  return $f_sc_IterableOnceOps__addString__scm_StringBuilder__T__T__T__scm_StringBuilder(this$3, sb, start, sep, end)
77631
77738
  }
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
77739
  function $f_sc_StrictOptimizedSeqOps__distinctBy__F1__O($thiz, f) {
77645
77740
  var builder = $thiz.newSpecificBuilder__scm_Builder();
77646
77741
  var seen = $ct_scm_HashSet__(new $c_scm_HashSet());
@@ -85379,16 +85474,6 @@ function $f_sc_StrictOptimizedMapOps__map__F1__sc_IterableOps($thiz, f) {
85379
85474
  };
85380
85475
  return $as_sc_IterableOps($n(b).result__O())
85381
85476
  }
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
85477
  function $f_sc_StrictOptimizedMapOps__concat__sc_IterableOnce__sc_IterableOps($thiz, suffix) {
85393
85478
  var b = $n($thiz.mapFactory__sc_MapFactory()).newBuilder__scm_Builder();
85394
85479
  var this$1 = $n(b);
@@ -91991,6 +92076,59 @@ function $h_sc_View$TakeRight() {
91991
92076
  }
91992
92077
  $h_sc_View$TakeRight.prototype = $c_sc_View$TakeRight.prototype;
91993
92078
  /** @constructor */
92079
+ function $c_sc_View$ZipAll(underlying, other, thisElem, thatElem) {
92080
+ this.sc_View$ZipAll__f_underlying = null;
92081
+ this.sc_View$ZipAll__f_other = null;
92082
+ this.sc_View$ZipAll__f_thisElem = null;
92083
+ this.sc_View$ZipAll__f_thatElem = null;
92084
+ this.sc_View$ZipAll__f_underlying = underlying;
92085
+ this.sc_View$ZipAll__f_other = other;
92086
+ this.sc_View$ZipAll__f_thisElem = thisElem;
92087
+ this.sc_View$ZipAll__f_thatElem = thatElem
92088
+ }
92089
+ $c_sc_View$ZipAll.prototype = new $h_sc_AbstractView();
92090
+ $c_sc_View$ZipAll.prototype.constructor = $c_sc_View$ZipAll;
92091
+ /** @constructor */
92092
+ function $h_sc_View$ZipAll() {
92093
+ /*<skip>*/
92094
+ }
92095
+ $h_sc_View$ZipAll.prototype = $c_sc_View$ZipAll.prototype;
92096
+ $c_sc_View$ZipAll.prototype.iterator__sc_Iterator = (function() {
92097
+ var this$1 = $n($n(this.sc_View$ZipAll__f_underlying).iterator__sc_Iterator());
92098
+ var that = this.sc_View$ZipAll__f_other;
92099
+ var thisElem = this.sc_View$ZipAll__f_thisElem;
92100
+ var thatElem = this.sc_View$ZipAll__f_thatElem;
92101
+ return new $c_sc_Iterator$$anon$15(this$1, that, thisElem, thatElem)
92102
+ });
92103
+ $c_sc_View$ZipAll.prototype.knownSize__I = (function() {
92104
+ var s1 = $n(this.sc_View$ZipAll__f_underlying).knownSize__I();
92105
+ if ((s1 === (-1))) {
92106
+ return (-1)
92107
+ } else {
92108
+ var s2 = $n(this.sc_View$ZipAll__f_other).knownSize__I();
92109
+ return ((s2 === (-1)) ? (-1) : ((s1 > s2) ? s1 : s2))
92110
+ }
92111
+ });
92112
+ $c_sc_View$ZipAll.prototype.isEmpty__Z = (function() {
92113
+ return ($n(this.sc_View$ZipAll__f_underlying).isEmpty__Z() && $n(this.sc_View$ZipAll__f_other).isEmpty__Z())
92114
+ });
92115
+ var $d_sc_View$ZipAll = new $TypeData().initClass({
92116
+ sc_View$ZipAll: 0
92117
+ }, false, "scala.collection.View$ZipAll", {
92118
+ sc_View$ZipAll: 1,
92119
+ sc_AbstractView: 1,
92120
+ sc_AbstractIterable: 1,
92121
+ O: 1,
92122
+ sc_Iterable: 1,
92123
+ sc_IterableOnce: 1,
92124
+ sc_IterableOps: 1,
92125
+ sc_IterableOnceOps: 1,
92126
+ sc_IterableFactoryDefaults: 1,
92127
+ sc_View: 1,
92128
+ Ljava_io_Serializable: 1
92129
+ });
92130
+ $c_sc_View$ZipAll.prototype.$classData = $d_sc_View$ZipAll;
92131
+ /** @constructor */
91994
92132
  function $c_sc_AbstractSet() {
91995
92133
  /*<skip>*/
91996
92134
  }
@@ -94030,9 +94168,6 @@ $c_sc_AbstractMap.prototype.isDefinedAt__O__Z = (function(key) {
94030
94168
  $c_sc_AbstractMap.prototype.map__F1__sc_IterableOps = (function(f) {
94031
94169
  return $f_sc_MapOps__map__F1__sc_IterableOps(this, f)
94032
94170
  });
94033
- $c_sc_AbstractMap.prototype.flatMap__F1__sc_IterableOps = (function(f) {
94034
- return $f_sc_MapOps__flatMap__F1__sc_IterableOps(this, f)
94035
- });
94036
94171
  $c_sc_AbstractMap.prototype.concat__sc_IterableOnce__sc_IterableOps = (function(suffix) {
94037
94172
  return $f_sc_MapOps__concat__sc_IterableOnce__sc_IterableOps(this, suffix)
94038
94173
  });
@@ -94435,9 +94570,6 @@ $c_sc_AbstractMapView.prototype.contains__O__Z = (function(key) {
94435
94570
  $c_sc_AbstractMapView.prototype.isDefinedAt__O__Z = (function(key) {
94436
94571
  return $f_sc_MapOps__contains__O__Z(this, key)
94437
94572
  });
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
94573
  $c_sc_AbstractMapView.prototype.addString__scm_StringBuilder__T__T__T__scm_StringBuilder = (function(sb, start, sep, end) {
94442
94574
  return $f_sc_MapOps__addString__scm_StringBuilder__T__T__T__scm_StringBuilder(this, sb, start, sep, end)
94443
94575
  });
@@ -101465,7 +101597,7 @@ $c_Lio_kaitai_struct_languages_RubyCompiler.prototype.debugClassSequence__sci_Li
101465
101597
  $c_Lio_kaitai_struct_languages_RubyCompiler.prototype.classToString__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(toStringExpr) {
101466
101598
  var this$1 = $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_out);
101467
101599
  $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");
101600
+ $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_out).puts__T__V("def to_s");
101469
101601
  $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_out).inc__V();
101470
101602
  var $$x1 = $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_out);
101471
101603
  var this$2 = $n(this.Lio_kaitai_struct_languages_RubyCompiler__f_translator);
@@ -104993,7 +105125,7 @@ $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.classConstructorHeader__
104993
105125
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._io = _io");
104994
105126
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._parent = _parent");
104995
105127
  if ((name === rootClassName)) {
104996
- $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._root = _root if _root else self")
105128
+ $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._root = _root or self")
104997
105129
  } else {
104998
105130
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("self._root = _root")
104999
105131
  };
@@ -105580,7 +105712,7 @@ $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.debugClassSequence__sci_
105580
105712
  $c_Lio_kaitai_struct_languages_PythonCompiler.prototype.classToString__Lio_kaitai_struct_exprlang_Ast$expr__V = (function(toStringExpr) {
105581
105713
  var this$1 = $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out);
105582
105714
  $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):");
105715
+ $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).puts__T__V("def __str__(self):");
105584
105716
  $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out).inc__V();
105585
105717
  var $$x1 = $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_out);
105586
105718
  var this$2 = $n(this.Lio_kaitai_struct_languages_PythonCompiler__f_translator);
@@ -108491,9 +108623,6 @@ $h_sci_HashMap.prototype = $c_sci_HashMap.prototype;
108491
108623
  $c_sci_HashMap.prototype.map__F1__sc_IterableOps = (function(f) {
108492
108624
  return $f_sc_StrictOptimizedMapOps__map__F1__sc_IterableOps(this, f)
108493
108625
  });
108494
- $c_sci_HashMap.prototype.flatMap__F1__sc_IterableOps = (function(f) {
108495
- return $f_sc_StrictOptimizedMapOps__flatMap__F1__sc_IterableOps(this, f)
108496
- });
108497
108626
  $c_sci_HashMap.prototype.map__F1__O = (function(f) {
108498
108627
  return $f_sc_StrictOptimizedIterableOps__map__F1__O(this, f)
108499
108628
  });
@@ -116334,9 +116463,6 @@ $h_sci_TreeMap.prototype = $c_sci_TreeMap.prototype;
116334
116463
  $c_sci_TreeMap.prototype.map__F1__sc_IterableOps = (function(f) {
116335
116464
  return $f_sc_StrictOptimizedMapOps__map__F1__sc_IterableOps(this, f)
116336
116465
  });
116337
- $c_sci_TreeMap.prototype.flatMap__F1__sc_IterableOps = (function(f) {
116338
- return $f_sc_StrictOptimizedMapOps__flatMap__F1__sc_IterableOps(this, f)
116339
- });
116340
116466
  $c_sci_TreeMap.prototype.map__F1__O = (function(f) {
116341
116467
  return $f_sc_StrictOptimizedIterableOps__map__F1__O(this, f)
116342
116468
  });