git-semver-tagger
Version:
 
1,285 lines (1,267 loc) • 487 kB
JavaScript
(function (_, kotlin_kotlin, kotlin_colormath_root_colormath) {
'use strict';
//region block: imports
var imul = Math.imul;
var numberRangeToNumber = kotlin_kotlin.$_$.u9;
var protoOf = kotlin_kotlin.$_$.aa;
var initMetadataForObject = kotlin_kotlin.$_$.f9;
var charSequenceLength = kotlin_kotlin.$_$.r8;
var equals = kotlin_kotlin.$_$.u8;
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
var addAll = kotlin_kotlin.$_$.s4;
var Unit_instance = kotlin_kotlin.$_$.e4;
var joinToString = kotlin_kotlin.$_$.f6;
var isInterface = kotlin_kotlin.$_$.o9;
var listOf = kotlin_kotlin.$_$.q6;
var Ansi256 = kotlin_colormath_root_colormath.$_$.b;
var listOf_0 = kotlin_kotlin.$_$.p6;
var Ansi16 = kotlin_colormath_root_colormath.$_$.a;
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.z;
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ye;
var get_lastIndex = kotlin_kotlin.$_$.zb;
var emptyList = kotlin_kotlin.$_$.t5;
var Regex_init_$Create$ = kotlin_kotlin.$_$.w;
var startsWith = kotlin_kotlin.$_$.oc;
var split = kotlin_kotlin.$_$.nc;
var last = kotlin_kotlin.$_$.m6;
var isBlank = kotlin_kotlin.$_$.wb;
var drop = kotlin_kotlin.$_$.pb;
var VOID = kotlin_kotlin.$_$.f;
var endsWith = kotlin_kotlin.$_$.qb;
var charSequenceSubSequence = kotlin_kotlin.$_$.s8;
var toIntOrNull = kotlin_kotlin.$_$.yc;
var get_lastIndex_0 = kotlin_kotlin.$_$.j6;
var getOrNull = kotlin_kotlin.$_$.a6;
var to = kotlin_kotlin.$_$.df;
var Companion_getInstance = kotlin_colormath_root_colormath.$_$.c;
var toList = kotlin_kotlin.$_$.s7;
var toString = kotlin_kotlin.$_$.ea;
var getStringHashCode = kotlin_kotlin.$_$.y8;
var hashCode = kotlin_kotlin.$_$.z8;
var THROW_CCE = kotlin_kotlin.$_$.ce;
var initMetadataForClass = kotlin_kotlin.$_$.a9;
var toList_0 = kotlin_kotlin.$_$.jb;
var charSequenceGet = kotlin_kotlin.$_$.q8;
var isWhitespace = kotlin_kotlin.$_$.yb;
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.u1;
var lastOrNull = kotlin_kotlin.$_$.l6;
var get_lastIndex_1 = kotlin_kotlin.$_$.k6;
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.u;
var mutableMapOf = kotlin_kotlin.$_$.w6;
var objectCreate = kotlin_kotlin.$_$.z9;
var get_lastIndex_2 = kotlin_kotlin.$_$.h6;
var last_0 = kotlin_kotlin.$_$.n6;
var Enum = kotlin_kotlin.$_$.ud;
var initMetadataForCompanion = kotlin_kotlin.$_$.b9;
var toString_0 = kotlin_kotlin.$_$.x1;
var collectionSizeOrDefault = kotlin_kotlin.$_$.c5;
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
var KtList = kotlin_kotlin.$_$.l4;
var Collection = kotlin_kotlin.$_$.g4;
var toString_1 = kotlin_kotlin.$_$.cf;
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.l1;
var checkBuilderCapacity = kotlin_kotlin.$_$.z4;
var coerceAtLeast = kotlin_kotlin.$_$.ja;
var coerceAtMost = kotlin_kotlin.$_$.la;
var plus = kotlin_kotlin.$_$.a7;
var firstOrNull = kotlin_kotlin.$_$.w5;
var plus_0 = kotlin_kotlin.$_$.b7;
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.h1;
var contains = kotlin_kotlin.$_$.mb;
var repeat = kotlin_kotlin.$_$.ic;
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.h;
var lazy = kotlin_kotlin.$_$.we;
var take = kotlin_kotlin.$_$.uc;
var KProperty1 = kotlin_kotlin.$_$.va;
var getPropertyCallableRef = kotlin_kotlin.$_$.x8;
var initMetadataForInterface = kotlin_kotlin.$_$.d9;
var getBooleanHashCode = kotlin_kotlin.$_$.v8;
var mapOf = kotlin_kotlin.$_$.t6;
var emptyMap = kotlin_kotlin.$_$.u5;
var toMutableMap = kotlin_kotlin.$_$.w7;
var compareTo = kotlin_kotlin.$_$.t8;
var withIndex = kotlin_kotlin.$_$.a8;
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
var mapCapacity = kotlin_kotlin.$_$.r6;
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.r;
var sortedWith = kotlin_kotlin.$_$.l7;
var coerceIn = kotlin_kotlin.$_$.na;
var ensureNotNull = kotlin_kotlin.$_$.se;
var zip = kotlin_kotlin.$_$.b8;
var numberToInt = kotlin_kotlin.$_$.x9;
var sum = kotlin_kotlin.$_$.m7;
var FunctionAdapter = kotlin_kotlin.$_$.k8;
var Comparator = kotlin_kotlin.$_$.rd;
var compareValues = kotlin_kotlin.$_$.d8;
var until = kotlin_kotlin.$_$.qa;
var get_indices = kotlin_kotlin.$_$.e6;
var checkCountOverflow = kotlin_kotlin.$_$.a5;
var checkIndexOverflow = kotlin_kotlin.$_$.b5;
var getNumberHashCode = kotlin_kotlin.$_$.w8;
var asList = kotlin_kotlin.$_$.t4;
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.n1;
var flatten = kotlin_kotlin.$_$.z5;
var print = kotlin_kotlin.$_$.j8;
var println = kotlin_kotlin.$_$.h8;
var println_0 = kotlin_kotlin.$_$.i8;
var toInt = kotlin_kotlin.$_$.zc;
var drop_0 = kotlin_kotlin.$_$.s5;
var chunked = kotlin_kotlin.$_$.kb;
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.j1;
var Exception = kotlin_kotlin.$_$.vd;
var generateSequence = kotlin_kotlin.$_$.cb;
//endregion
//region block: pre-declaration
initMetadataForObject(AnsiCodes, 'AnsiCodes');
initMetadataForClass(Chunk, 'Chunk');
initMetadataForClass(CellWidthTableEntry, 'CellWidthTableEntry');
initMetadataForClass(IntTrie, 'IntTrie');
initMetadataForObject(MultiplatformSystem, 'MultiplatformSystem');
initMetadataForClass(TextAlign, 'TextAlign', VOID, Enum);
initMetadataForClass(VerticalAlign, 'VerticalAlign', VOID, Enum);
initMetadataForCompanion(Companion);
initMetadataForClass(BorderType, 'BorderType');
initMetadataForClass(BorderTypeSection, 'BorderTypeSection');
initMetadataForClass(Lines, 'Lines');
initMetadataForClass(Line, 'Line', VOID, VOID, [KtList]);
initMetadataForClass(OverflowWrap, 'OverflowWrap', VOID, Enum);
initMetadataForClass(Size, 'Size');
initMetadataForCompanion(Companion_0);
initMetadataForClass(Span, 'Span');
initMetadataForClass(AnsiLevel, 'AnsiLevel', VOID, Enum);
function invoke(text) {
return invokeStyle(this, text);
}
function plus_1(other) {
var tmp;
if (this === get_DEFAULT_STYLE()) {
tmp = other;
} else if (other === get_DEFAULT_STYLE()) {
tmp = this;
} else {
var tmp0_elvis_lhs = other.l2d();
var tmp_0 = tmp0_elvis_lhs == null ? this.l2d() : tmp0_elvis_lhs;
var tmp1_elvis_lhs = other.m2d();
var tmp_1 = tmp1_elvis_lhs == null ? this.m2d() : tmp1_elvis_lhs;
var tmp2_elvis_lhs = other.r2d();
var tmp_2 = tmp2_elvis_lhs == null ? this.r2d() : tmp2_elvis_lhs;
var tmp3_elvis_lhs = other.n2d();
var tmp_3 = tmp3_elvis_lhs == null ? this.n2d() : tmp3_elvis_lhs;
var tmp4_elvis_lhs = other.o2d();
var tmp_4 = tmp4_elvis_lhs == null ? this.o2d() : tmp4_elvis_lhs;
var tmp5_elvis_lhs = other.s2d();
var tmp_5 = tmp5_elvis_lhs == null ? this.s2d() : tmp5_elvis_lhs;
var tmp6_elvis_lhs = other.p2d();
var tmp_6 = tmp6_elvis_lhs == null ? this.p2d() : tmp6_elvis_lhs;
var tmp7_elvis_lhs = other.q2d();
var tmp_7 = tmp7_elvis_lhs == null ? this.q2d() : tmp7_elvis_lhs;
var tmp8_elvis_lhs = other.t2d();
var tmp_8 = tmp8_elvis_lhs == null ? this.t2d() : tmp8_elvis_lhs;
var tmp9_elvis_lhs = other.u2d();
tmp = new TxtStyle(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp9_elvis_lhs == null ? this.u2d() : tmp9_elvis_lhs);
}
return tmp;
}
initMetadataForInterface(TextStyle, 'TextStyle');
initMetadataForClass(TxtStyle, 'TxtStyle', VOID, VOID, [TextStyle]);
initMetadataForCompanion(Companion_1);
initMetadataForClass(Theme, 'Theme');
initMetadataForClass(BuiltTheme, 'BuiltTheme', VOID, Theme);
initMetadataForClass(ThemeBuilder, 'ThemeBuilder');
initMetadataForClass(Whitespace, 'Whitespace', VOID, Enum);
function render$default(t, width, $super) {
width = width === VOID ? t.s().h2g_1 : width;
return $super === VOID ? this.w2h(t, width) : $super.w2h.call(this, t, width);
}
initMetadataForInterface(Widget, 'Widget');
initMetadataForClass(WidthRange, 'WidthRange');
initMetadataForClass(Borders, 'Borders', VOID, Enum);
initMetadataForClass(Cell, 'Cell');
initMetadataForObject(Empty, 'Empty', VOID, Cell);
initMetadataForClass(SpanRef, 'SpanRef', VOID, Cell);
initMetadataForClass(Content, 'Content', VOID, Cell);
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
initMetadataForClass(Table, 'Table', VOID, VOID, [Widget]);
initMetadataForClass(TableImpl, 'TableImpl', VOID, Table);
initMetadataForClass(TableRenderer, 'TableRenderer');
function cellsFrom$default(cells, init, $super) {
var tmp;
if (init === VOID) {
tmp = LinearLayoutBuilder$cellsFrom$lambda;
} else {
tmp = init;
}
init = tmp;
var tmp_0;
if ($super === VOID) {
this.a2l(cells, init);
tmp_0 = Unit_instance;
} else {
tmp_0 = $super.a2l.call(this, cells, init);
}
return tmp_0;
}
function cell$default(content, init, $super) {
var tmp;
if (init === VOID) {
tmp = LinearLayoutBuilder$cell$lambda;
} else {
tmp = init;
}
init = tmp;
var tmp_0;
if ($super === VOID) {
this.c2l(content, init);
tmp_0 = Unit_instance;
} else {
tmp_0 = $super.c2l.call(this, content, init);
}
return tmp_0;
}
initMetadataForInterface(LinearLayoutBuilder, 'LinearLayoutBuilder');
initMetadataForCompanion(Companion_2);
initMetadataForClass(ColumnWidth, 'ColumnWidth');
function padding(all) {
this.i2l(Padding_init_$Create$(all));
}
initMetadataForInterface(CellStyleBuilder, 'CellStyleBuilder');
initMetadataForClass(VerticalLayoutBuilderInstance, 'VerticalLayoutBuilderInstance', VerticalLayoutBuilderInstance, VOID, [LinearLayoutBuilder]);
initMetadataForClass(TableBuilderInstance, 'TableBuilderInstance', TableBuilderInstance, VOID, [CellStyleBuilder]);
initMetadataForClass(SectionBuilderInstance, 'SectionBuilderInstance', SectionBuilderInstance, VOID, [CellStyleBuilder]);
initMetadataForClass(CellStyleBuilderMixin, 'CellStyleBuilderMixin', CellStyleBuilderMixin, VOID, [CellStyleBuilder]);
initMetadataForClass(RowBuilderInstance, 'RowBuilderInstance', VOID, VOID, [CellStyleBuilder]);
initMetadataForClass(CellBuilderInstance, 'CellBuilderInstance', VOID, VOID, [CellStyleBuilder]);
initMetadataForClass(CellContent, 'CellContent');
initMetadataForClass(WidgetContent, 'WidgetContent', VOID, CellContent);
initMetadataForClass(TextContent, 'TextContent', VOID, CellContent);
initMetadataForClass(TableLayout, 'TableLayout');
initMetadataForCompanion(Companion_3);
initMetadataForClass(VerticalLayout, 'VerticalLayout', VOID, VOID, [Widget]);
initMetadataForClass(VerticalLayoutCell, 'VerticalLayoutCell');
function getTerminalSize() {
return null;
}
function shouldAutoUpdateSize() {
return true;
}
initMetadataForInterface(TerminalInterface, 'TerminalInterface');
initMetadataForClass(StandardTerminalInterface, 'StandardTerminalInterface', VOID, VOID, [TerminalInterface]);
initMetadataForClass(Terminal, 'Terminal', Terminal_init_$Create$);
initMetadataForClass(PrintTerminalCursor, 'PrintTerminalCursor');
initMetadataForObject(DisabledTerminalCursor, 'DisabledTerminalCursor');
initMetadataForObject(TerminalDetection, 'TerminalDetection');
initMetadataForClass(TerminalInfo, 'TerminalInfo');
initMetadataForClass(PrintRequest, 'PrintRequest');
initMetadataForClass(DefinitionListBuilder, 'DefinitionListBuilder', DefinitionListBuilder);
initMetadataForClass(DefinitionList, 'DefinitionList', VOID, VOID, [Widget]);
initMetadataForObject(EmptyWidget, 'EmptyWidget', VOID, VOID, [Widget]);
initMetadataForCompanion(Companion_4);
initMetadataForClass(Builder, 'Builder');
initMetadataForClass(Padding, 'Padding');
initMetadataForCompanion(Companion_5);
initMetadataForClass(Padded, 'Padded', VOID, VOID, [Widget]);
initMetadataForClass(Text, 'Text', VOID, VOID, [Widget]);
initMetadataForClass(JsAtomicInt, 'JsAtomicInt');
initMetadataForClass(JsAtomicRef, 'JsAtomicRef');
initMetadataForClass(TerminalInterfaceJsCommon, 'TerminalInterfaceJsCommon', VOID, StandardTerminalInterface);
initMetadataForObject(TerminalInterfaceBrowser, 'TerminalInterfaceBrowser', VOID, TerminalInterfaceJsCommon);
initMetadataForClass(BrowserTerminalCursor, 'BrowserTerminalCursor', VOID, PrintTerminalCursor);
initMetadataForClass(TerminalInterfaceNode, 'TerminalInterfaceNode', VOID, TerminalInterfaceJsCommon);
initMetadataForClass(TerminalInterfaceJsNode, 'TerminalInterfaceJsNode', VOID, TerminalInterfaceNode);
initMetadataForClass(NodeTerminalCursor, 'NodeTerminalCursor', VOID, PrintTerminalCursor);
//endregion
function AnsiCodes() {
AnsiCodes_instance = this;
this.n2c_1 = numberRangeToNumber(30, 37);
this.o2c_1 = numberRangeToNumber(90, 97);
this.p2c_1 = 38;
this.q2c_1 = 39;
this.r2c_1 = 10;
this.s2c_1 = numberRangeToNumber(40, 47);
this.t2c_1 = numberRangeToNumber(100, 107);
this.u2c_1 = 48;
this.v2c_1 = 49;
this.w2c_1 = 5;
this.x2c_1 = 2;
this.y2c_1 = 58;
this.z2c_1 = 0;
this.a2d_1 = 1;
this.b2d_1 = 22;
this.c2d_1 = 2;
this.d2d_1 = 3;
this.e2d_1 = 23;
this.f2d_1 = 4;
this.g2d_1 = 24;
this.h2d_1 = 7;
this.i2d_1 = 27;
this.j2d_1 = 9;
this.k2d_1 = 29;
}
var AnsiCodes_instance;
function AnsiCodes_getInstance() {
if (AnsiCodes_instance == null)
new AnsiCodes();
return AnsiCodes_instance;
}
function invokeStyle(_this__u8e3s4, text) {
// Inline function 'kotlin.text.isEmpty' call
if (charSequenceLength(text) === 0)
return '';
var openStyle = {_v: _this__u8e3s4};
var style = {_v: _this__u8e3s4};
var tmp = get_ANSI_RE();
var inner = tmp.fd(text, invokeStyle$lambda(text, style, _this__u8e3s4, openStyle));
return makeTag(get_DEFAULT_STYLE(), openStyle._v) + inner + makeTag(style._v, get_DEFAULT_STYLE());
}
function makeTag(old, new_0) {
if (equals(old, new_0))
return '';
// Inline function 'kotlin.collections.mutableListOf' call
var codes = ArrayList_init_$Create$();
if (!equals(old.l2d(), new_0.l2d())) {
// Inline function 'kotlin.collections.plusAssign' call
var elements = toAnsi(new_0.l2d(), 38, 39, 0);
addAll(codes, elements);
}
if (!equals(old.m2d(), new_0.m2d())) {
// Inline function 'kotlin.collections.plusAssign' call
var elements_0 = toAnsi(new_0.m2d(), 48, 49, 10);
addAll(codes, elements_0);
}
makeTag$style(codes, old.n2d(), new_0.n2d(), 3, 23);
makeTag$style(codes, old.o2d(), new_0.o2d(), 4, 24);
makeTag$style(codes, old.p2d(), new_0.p2d(), 7, 27);
makeTag$style(codes, old.q2d(), new_0.q2d(), 9, 29);
if (old.r2d() === true && !(new_0.r2d() === true) || (old.s2d() === true && !(new_0.s2d() === true))) {
// Inline function 'kotlin.collections.plusAssign' call
codes.e(22);
if (new_0.r2d() === true) {
// Inline function 'kotlin.collections.plusAssign' call
codes.e(1);
}
if (new_0.s2d() === true) {
// Inline function 'kotlin.collections.plusAssign' call
codes.e(2);
}
} else {
makeTag$style(codes, old.r2d(), new_0.r2d(), 1, 22);
makeTag$style(codes, old.s2d(), new_0.s2d(), 2, 22);
}
var csi = codes.m() ? '' : joinToString(codes, ';', '\x1B[', 'm');
var tmp;
if (!(old.t2d() == new_0.t2d()) && !(new_0.t2d() === '__mordant_reset__')) {
tmp = csi + makeHyperlinkTag(new_0.t2d(), new_0.u2d());
} else {
tmp = csi;
}
return tmp;
}
function toAnsi(_this__u8e3s4, select, reset, offset) {
var tmp34_safe_receiver = (!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, TextStyle) : false) ? _this__u8e3s4 : null;
var tmp0_elvis_lhs = tmp34_safe_receiver == null ? null : tmp34_safe_receiver.l2d();
var it = tmp0_elvis_lhs == null ? _this__u8e3s4 : tmp0_elvis_lhs;
var tmp;
if (it == null) {
tmp = listOf_0(reset);
} else {
if (it instanceof Ansi16) {
switch (it.s28_1) {
case 39:
case 49:
tmp = listOf_0(reset);
break;
default:
tmp = listOf_0(it.s28_1 + offset | 0);
break;
}
} else {
if (it instanceof Ansi256) {
tmp = listOf([select, 5, it.w28_1]);
} else {
// Inline function 'kotlin.run' call
var $this$run = it.u27().d2b();
tmp = listOf([select, 2, $this$run.r2a(), $this$run.s2a(), $this$run.t2a()]);
}
}
}
return tmp;
}
function makeHyperlinkTag(hyperlink, hyperlinkId) {
if (hyperlink == null)
return '\x1B]8;;\x1B\\';
var tmp;
if (hyperlinkId == null) {
tmp = null;
} else {
// Inline function 'kotlin.let' call
tmp = 'id=' + hyperlinkId;
}
var tmp0_elvis_lhs = tmp;
var id = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
return '\x1B]8;' + id + ';' + hyperlink + '\x1B\\';
}
function renderLinesAnsi(lines, level, hyperlinks) {
// Inline function 'kotlin.text.buildString' call
// Inline function 'kotlin.apply' call
var this_0 = StringBuilder_init_$Create$();
var iterator = lines.v2d_1.p();
var index = 0;
while (iterator.q()) {
var i = index;
index = index + 1 | 0;
var line = iterator.r();
if (i > 0) {
this_0.i8('\n');
}
var activeStyle = get_DEFAULT_STYLE();
var _iterator__ex2g4s = line.p();
while (_iterator__ex2g4s.q()) {
var span = _iterator__ex2g4s.r();
var newStyle = downsample(span.z2d_1, level, hyperlinks);
this_0.i8(makeTag(activeStyle, newStyle));
activeStyle = newStyle;
this_0.i8(span.y2d_1);
}
this_0.i8(makeTag(activeStyle, get_DEFAULT_STYLE()));
}
return this_0.toString();
}
function downsample(style, level, hyperlinks) {
var tmp;
if (style === get_DEFAULT_STYLE()) {
tmp = style;
} else {
var tmp_0;
switch (level.q2_1) {
case 0:
tmp_0 = get_DEFAULT_STYLE();
break;
case 1:
var tmp29_safe_receiver = style.l2d();
var tmp_1;
if (tmp29_safe_receiver == null) {
tmp_1 = null;
} else {
// Inline function 'kotlin.let' call
var tmp_2;
if (tmp29_safe_receiver instanceof Ansi16) {
tmp_2 = tmp29_safe_receiver;
} else {
tmp_2 = tmp29_safe_receiver.u27().d2b().x28();
}
tmp_1 = tmp_2;
}
var tmp_3 = tmp_1;
var tmp30_safe_receiver = style.m2d();
var tmp_4;
if (tmp30_safe_receiver == null) {
tmp_4 = null;
} else {
// Inline function 'kotlin.let' call
var tmp_5;
if (tmp30_safe_receiver instanceof Ansi16) {
tmp_5 = tmp30_safe_receiver;
} else {
tmp_5 = tmp30_safe_receiver.u27().d2b().x28();
}
tmp_4 = tmp_5;
}
var tmp_6 = tmp_4;
// Inline function 'kotlin.takeIf' call
var this_0 = style.t2d();
var tmp_7;
if (hyperlinks) {
tmp_7 = this_0;
} else {
tmp_7 = null;
}
var tmp_8 = tmp_7;
// Inline function 'kotlin.takeIf' call
var this_1 = style.u2d();
var tmp_9;
if (hyperlinks) {
tmp_9 = this_1;
} else {
tmp_9 = null;
}
var tmp$ret$7 = tmp_9;
tmp_0 = copy(style, tmp_3, tmp_6, tmp_8, tmp$ret$7);
break;
case 2:
var tmp31_safe_receiver = style.l2d();
var tmp_10;
if (tmp31_safe_receiver == null) {
tmp_10 = null;
} else {
// Inline function 'kotlin.let' call
var tmp_11;
var tmp_12;
if (tmp31_safe_receiver instanceof Ansi16) {
tmp_12 = true;
} else {
tmp_12 = tmp31_safe_receiver instanceof Ansi256;
}
if (tmp_12) {
tmp_11 = tmp31_safe_receiver;
} else {
tmp_11 = tmp31_safe_receiver.u27().d2b().c2b();
}
tmp_10 = tmp_11;
}
var tmp_13 = tmp_10;
var tmp32_safe_receiver = style.m2d();
var tmp_14;
if (tmp32_safe_receiver == null) {
tmp_14 = null;
} else {
// Inline function 'kotlin.let' call
var tmp_15;
var tmp_16;
if (tmp32_safe_receiver instanceof Ansi16) {
tmp_16 = true;
} else {
tmp_16 = tmp32_safe_receiver instanceof Ansi256;
}
if (tmp_16) {
tmp_15 = tmp32_safe_receiver;
} else {
tmp_15 = tmp32_safe_receiver.u27().d2b().c2b();
}
tmp_14 = tmp_15;
}
var tmp_17 = tmp_14;
// Inline function 'kotlin.takeIf' call
var this_2 = style.t2d();
var tmp_18;
if (hyperlinks) {
tmp_18 = this_2;
} else {
tmp_18 = null;
}
var tmp_19 = tmp_18;
// Inline function 'kotlin.takeIf' call
var this_3 = style.u2d();
var tmp_20;
if (hyperlinks) {
tmp_20 = this_3;
} else {
tmp_20 = null;
}
var tmp$ret$15 = tmp_20;
tmp_0 = copy(style, tmp_13, tmp_17, tmp_19, tmp$ret$15);
break;
case 3:
tmp_0 = hyperlinks || style.t2d() == null ? style : copy(style, style.l2d(), style.m2d(), null, null);
break;
default:
noWhenBranchMatchedException();
break;
}
tmp = tmp_0;
}
return tmp;
}
function makeTag$style(codes, old, new_0, open, close) {
if (!(old === true) && new_0 === true) {
// Inline function 'kotlin.collections.plusAssign' call
codes.e(open);
} else if (old === true && !(new_0 === true)) {
// Inline function 'kotlin.collections.plusAssign' call
codes.e(close);
}
}
function invokeStyle$lambda($text, $style, $this_invokeStyle, $openStyle) {
return function (match) {
var tmp;
if (match.gd().c1_1 === get_lastIndex($text)) {
return '';
}
var new_0 = updateStyle($style._v, $this_invokeStyle, match.z());
var tmp_0;
if (match.gd().b1_1 === 0) {
$openStyle._v = new_0.b2e($this_invokeStyle);
$style._v = new_0.b2e($this_invokeStyle);
return '';
}
var tag = makeTag($style._v, new_0);
$style._v = new_0;
return tag;
};
}
function get_DEFAULT_STYLE() {
_init_properties_Constants_kt__atb1ur();
return DEFAULT_STYLE;
}
var DEFAULT_STYLE;
function get_EMPTY_LINES() {
_init_properties_Constants_kt__atb1ur();
return EMPTY_LINES;
}
var EMPTY_LINES;
function get_EMPTY_LINE() {
_init_properties_Constants_kt__atb1ur();
return EMPTY_LINE;
}
var EMPTY_LINE;
function get_SINGLE_SPACE() {
_init_properties_Constants_kt__atb1ur();
return SINGLE_SPACE;
}
var SINGLE_SPACE;
var DEFAULT_PADDING;
function get_ANSI_RE() {
_init_properties_Constants_kt__atb1ur();
return ANSI_RE;
}
var ANSI_RE;
var properties_initialized_Constants_kt_w4w61t;
function _init_properties_Constants_kt__atb1ur() {
if (!properties_initialized_Constants_kt_w4w61t) {
properties_initialized_Constants_kt_w4w61t = true;
DEFAULT_STYLE = TextStyle_0(null, null, false, false, false, false, false, false, null);
EMPTY_LINES = new Lines(emptyList());
EMPTY_LINE = new Line(emptyList(), get_DEFAULT_STYLE());
SINGLE_SPACE = Companion_instance_0.c2e(1);
DEFAULT_PADDING = Padding_init_$Create$(0);
ANSI_RE = Regex_init_$Create$('\x1B\\][^\x1B]*\x1B\\\\|\x1B(?:[@-Z\\\\-_]|\\[[0-?]*[ -/]*[@-~])');
}
}
function get_nextHyperlinkId() {
_init_properties_HyperlinkIds_kt__yuk2s2();
return nextHyperlinkId;
}
var nextHyperlinkId;
function generateHyperlinkId() {
_init_properties_HyperlinkIds_kt__yuk2s2();
return get_nextHyperlinkId().d2e().toString();
}
var properties_initialized_HyperlinkIds_kt_p1red0;
function _init_properties_HyperlinkIds_kt__yuk2s2() {
if (!properties_initialized_HyperlinkIds_kt_p1red0) {
properties_initialized_HyperlinkIds_kt_p1red0 = true;
nextHyperlinkId = MppAtomicInt(1);
}
}
function get_STANDARD_TERM_INTERFACE() {
_init_properties_MppInternal_kt__rq9lew();
return STANDARD_TERM_INTERFACE;
}
var STANDARD_TERM_INTERFACE;
var properties_initialized_MppInternal_kt_p8mksm;
function _init_properties_MppInternal_kt__rq9lew() {
if (!properties_initialized_MppInternal_kt_p8mksm) {
properties_initialized_MppInternal_kt_p8mksm = true;
STANDARD_TERM_INTERFACE = getStandardTerminalInterface();
}
}
function updateStyle(existingStyle, defaultStyle, ansi) {
if (startsWith(ansi, '\x1B]'))
return updateStyleWithOsc(ansi, existingStyle, defaultStyle);
if (startsWith(ansi, '\x1B['))
return updateStyleWithCsi(ansi, existingStyle, defaultStyle);
return existingStyle;
}
function updateStyleWithOsc(ansi, existingStyle, defaultStyle) {
if (!startsWith(ansi, '\x1B]8'))
return existingStyle;
// Inline function 'kotlin.text.substring' call
var endIndex = ansi.length - 2 | 0;
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$1 = ansi.substring(3, endIndex);
var params = split(tmp$ret$1, [';']);
if (params.m())
return existingStyle;
// Inline function 'kotlin.takeUnless' call
var this_0 = last(params);
var tmp;
if (!isBlank(this_0)) {
tmp = this_0;
} else {
tmp = null;
}
var hyperlink = tmp;
var tmp_0;
if (hyperlink == null) {
tmp_0 = defaultStyle.u2d();
} else {
// Inline function 'kotlin.collections.find' call
var tmp$ret$5;
$l$block: {
// Inline function 'kotlin.collections.firstOrNull' call
var _iterator__ex2g4s = params.p();
while (_iterator__ex2g4s.q()) {
var element = _iterator__ex2g4s.r();
if (startsWith(element, 'id=')) {
tmp$ret$5 = element;
break $l$block;
}
}
tmp$ret$5 = null;
}
var tmp37_safe_receiver = tmp$ret$5;
tmp_0 = tmp37_safe_receiver == null ? null : drop(tmp37_safe_receiver, 3);
}
var id = tmp_0;
return copy(existingStyle, VOID, VOID, hyperlink == null ? defaultStyle.t2d() : hyperlink, id);
}
function updateStyleWithCsi(ansi, existingStyle, defaultStyle) {
if (!endsWith(ansi, 'm'))
return existingStyle;
// Inline function 'kotlin.collections.mapNotNull' call
var tmp0 = split(charSequenceSubSequence(ansi, 2, ansi.length - 1 | 0), [';']);
// Inline function 'kotlin.collections.mapNotNullTo' call
var destination = ArrayList_init_$Create$();
// Inline function 'kotlin.collections.forEach' call
var _iterator__ex2g4s = tmp0.p();
while (_iterator__ex2g4s.q()) {
var element = _iterator__ex2g4s.r();
var tmp;
// Inline function 'kotlin.text.isEmpty' call
if (charSequenceLength(element) === 0) {
tmp = 0;
} else {
tmp = toIntOrNull(element);
}
var tmp0_safe_receiver = tmp;
if (tmp0_safe_receiver == null)
null;
else {
// Inline function 'kotlin.let' call
destination.e(tmp0_safe_receiver);
}
}
var codes = destination;
if (codes.m())
return defaultStyle;
var color = existingStyle.l2d();
var bgColor = existingStyle.m2d();
var bold = existingStyle.r2d();
var italic = existingStyle.n2d();
var underline = existingStyle.o2d();
var dim = existingStyle.s2d();
var inverse = existingStyle.p2d();
var strikethrough = existingStyle.q2d();
var i = 0;
$l$loop_1: while (i <= get_lastIndex_0(codes)) {
var code = codes.t(i);
if (code === 0) {
color = defaultStyle.l2d();
bgColor = defaultStyle.m2d();
var tmp0_elvis_lhs = defaultStyle.r2d();
bold = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
var tmp1_elvis_lhs = defaultStyle.n2d();
italic = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
var tmp2_elvis_lhs = defaultStyle.o2d();
underline = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
var tmp3_elvis_lhs = defaultStyle.s2d();
dim = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
var tmp4_elvis_lhs = defaultStyle.p2d();
inverse = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
var tmp5_elvis_lhs = defaultStyle.q2d();
strikethrough = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
} else {
if (code === 22) {
var tmp6_elvis_lhs = defaultStyle.r2d();
bold = tmp6_elvis_lhs == null ? false : tmp6_elvis_lhs;
var tmp7_elvis_lhs = defaultStyle.s2d();
dim = tmp7_elvis_lhs == null ? false : tmp7_elvis_lhs;
} else {
if (code === 23) {
var tmp8_elvis_lhs = defaultStyle.n2d();
italic = tmp8_elvis_lhs == null ? false : tmp8_elvis_lhs;
} else {
if (code === 24) {
var tmp9_elvis_lhs = defaultStyle.o2d();
underline = tmp9_elvis_lhs == null ? false : tmp9_elvis_lhs;
} else {
if (code === 27) {
var tmp10_elvis_lhs = defaultStyle.p2d();
inverse = tmp10_elvis_lhs == null ? false : tmp10_elvis_lhs;
} else {
if (code === 29) {
var tmp11_elvis_lhs = defaultStyle.q2d();
strikethrough = tmp11_elvis_lhs == null ? false : tmp11_elvis_lhs;
} else {
if (code === 39)
color = defaultStyle.l2d();
else {
if (code === 49)
bgColor = defaultStyle.m2d();
else {
var tmp_0;
var progression = AnsiCodes_getInstance().n2c_1;
var containsLower = progression.b1_1;
if (code <= progression.c1_1 ? containsLower <= code : false) {
tmp_0 = true;
} else {
var progression_0 = AnsiCodes_getInstance().o2c_1;
var containsLower_0 = progression_0.b1_1;
tmp_0 = code <= progression_0.c1_1 ? containsLower_0 <= code : false;
}
if (tmp_0) {
color = new Ansi16(code);
} else {
var tmp_1;
var progression_1 = AnsiCodes_getInstance().s2c_1;
var containsLower_1 = progression_1.b1_1;
if (code <= progression_1.c1_1 ? containsLower_1 <= code : false) {
tmp_1 = true;
} else {
var progression_2 = AnsiCodes_getInstance().t2c_1;
var containsLower_2 = progression_2.b1_1;
tmp_1 = code <= progression_2.c1_1 ? containsLower_2 <= code : false;
}
if (tmp_1) {
bgColor = new Ansi16(code - 10 | 0);
} else {
if (code === 38) {
var _destruct__k2r9zo = getAnsiColor(i + 1 | 0, codes);
var c = _destruct__k2r9zo.qa();
var consumed = _destruct__k2r9zo.ra();
if (c == null)
break $l$loop_1;
color = c;
i = i + consumed | 0;
} else {
if (code === 48) {
var _destruct__k2r9zo_0 = getAnsiColor(i + 1 | 0, codes);
var c_0 = _destruct__k2r9zo_0.qa();
var consumed_0 = _destruct__k2r9zo_0.ra();
if (c_0 == null)
break $l$loop_1;
bgColor = c_0;
i = i + consumed_0 | 0;
} else {
if (code === 1)
bold = true;
else {
if (code === 3)
italic = true;
else {
if (code === 4)
underline = true;
else {
if (code === 2)
dim = true;
else {
if (code === 7)
inverse = true;
else {
if (code === 9)
strikethrough = true;
else {
if (code === 58) {
var tmp_2 = i;
var tmp_3;
if (i === get_lastIndex_0(codes)) {
tmp_3 = 0;
} else if (getOrNull(codes, i + 1 | 0) === 5) {
tmp_3 = 1;
} else if (getOrNull(codes, i + 1 | 0) === 2) {
tmp_3 = 3;
} else {
break $l$loop_1;
}
i = tmp_2 + tmp_3 | 0;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
i = i + 1 | 0;
}
return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, existingStyle.t2d(), existingStyle.u2d());
}
function getAnsiColor(i, codes) {
var tmp;
switch (codes.t(i)) {
case 5:
var tmp_0;
var tmp_1;
if ((i + 1 | 0) > get_lastIndex_0(codes)) {
tmp_1 = true;
} else {
var containsArg = codes.t(i + 1 | 0);
tmp_1 = !(0 <= containsArg ? containsArg <= 255 : false);
}
if (tmp_1) {
tmp_0 = to(null, 0);
} else {
tmp_0 = to(new Ansi256(codes.t(i + 1 | 0)), 2);
}
tmp = tmp_0;
break;
case 2:
var tmp_2;
var tmp_3;
var tmp_4;
var tmp_5;
if ((i + 3 | 0) > get_lastIndex_0(codes)) {
tmp_5 = true;
} else {
var containsArg_0 = codes.t(i + 1 | 0);
tmp_5 = !(0 <= containsArg_0 ? containsArg_0 <= 255 : false);
}
if (tmp_5) {
tmp_4 = true;
} else {
var containsArg_1 = codes.t(i + 2 | 0);
tmp_4 = !(0 <= containsArg_1 ? containsArg_1 <= 255 : false);
}
if (tmp_4) {
tmp_3 = true;
} else {
var containsArg_2 = codes.t(i + 3 | 0);
tmp_3 = !(0 <= containsArg_2 ? containsArg_2 <= 255 : false);
}
if (tmp_3) {
tmp_2 = to(null, 0);
} else {
tmp_2 = to(Companion_getInstance().u28(codes.t(i + 1 | 0), codes.t(i + 2 | 0), codes.t(i + 3 | 0)), 4);
}
tmp = tmp_2;
break;
default:
tmp = to(null, 0);
break;
}
return tmp;
}
function parseText(text, defaultStyle) {
var parseAnsi_0 = parseAnsi(text, defaultStyle);
// Inline function 'kotlin.collections.flatMap' call
// Inline function 'kotlin.collections.flatMapTo' call
var destination = ArrayList_init_$Create$();
var _iterator__ex2g4s = parseAnsi_0.p();
while (_iterator__ex2g4s.q()) {
var element = _iterator__ex2g4s.r();
var list = splitWords(element);
addAll(destination, list);
}
var words = toList(destination);
var splitLines_0 = splitLines(words);
return new Lines(splitLines_0);
}
function Chunk(text, style) {
this.e2e_1 = text;
this.f2e_1 = style;
}
protoOf(Chunk).g2e = function (text, style) {
return new Chunk(text, style);
};
protoOf(Chunk).h2e = function (text, style, $super) {
text = text === VOID ? this.e2e_1 : text;
style = style === VOID ? this.f2e_1 : style;
return $super === VOID ? this.g2e(text, style) : $super.g2e.call(this, text, style);
};
protoOf(Chunk).toString = function () {
return 'Chunk(text=' + this.e2e_1 + ', style=' + toString(this.f2e_1) + ')';
};
protoOf(Chunk).hashCode = function () {
var result = getStringHashCode(this.e2e_1);
result = imul(result, 31) + hashCode(this.f2e_1) | 0;
return result;
};
protoOf(Chunk).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof Chunk))
return false;
var tmp0_other_with_cast = other instanceof Chunk ? other : THROW_CCE();
if (!(this.e2e_1 === tmp0_other_with_cast.e2e_1))
return false;
if (!equals(this.f2e_1, tmp0_other_with_cast.f2e_1))
return false;
return true;
};
function parseAnsi(text, defaultStyle) {
var commands = toList_0(get_ANSI_RE().cd(text));
if (commands.m())
return listOf_0(new Chunk(text, defaultStyle));
// Inline function 'kotlin.collections.mutableListOf' call
var parts = ArrayList_init_$Create$();
var idxAfterLastCmd = 0;
var style = defaultStyle;
var _iterator__ex2g4s = commands.p();
while (_iterator__ex2g4s.q()) {
var command = _iterator__ex2g4s.r();
if (command.gd().b1_1 > idxAfterLastCmd) {
var tmp1 = idxAfterLastCmd;
// Inline function 'kotlin.text.substring' call
var endIndex = command.gd().b1_1;
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$2 = text.substring(tmp1, endIndex);
// Inline function 'kotlin.collections.plusAssign' call
var element = new Chunk(tmp$ret$2, style);
parts.e(element);
}
idxAfterLastCmd = command.gd().c1_1 + 1 | 0;
style = updateStyle(style, defaultStyle, command.z());
}
if (idxAfterLastCmd < text.length) {
// Inline function 'kotlin.text.substring' call
var startIndex = idxAfterLastCmd;
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$5 = text.substring(startIndex);
// Inline function 'kotlin.collections.plusAssign' call
var element_0 = new Chunk(tmp$ret$5, style);
parts.e(element_0);
}
return parts;
}
function splitWords(chunk) {
// Inline function 'kotlin.collections.mutableListOf' call
var chunks = ArrayList_init_$Create$();
var i = 0;
var start = 0;
var chunkType = -1;
var t = chunk.e2e_1;
while (i < t.length) {
var c = charSequenceGet(t, i);
var type = c === _Char___init__impl__6a9atx(13) ? 0 : c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(9) || c === _Char___init__impl__6a9atx(133) || c === _Char___init__impl__6a9atx(8232) ? 1 : isWhitespace(c) ? 2 : 3;
if (i === 0) {
chunkType = type;
} else if (type === 1 || !(chunkType === type)) {
var tmp1 = start;
// Inline function 'kotlin.text.substring' call
var endIndex = i;
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$2 = t.substring(tmp1, endIndex);
// Inline function 'kotlin.collections.plusAssign' call
var element = chunk.h2e(tmp$ret$2);
chunks.e(element);
start = i;
chunkType = type;
}
i = i + 1 | 0;
}
if (!(start === i)) {
var tmp6 = start;
// Inline function 'kotlin.text.substring' call
var endIndex_0 = i;
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$5 = t.substring(tmp6, endIndex_0);
// Inline function 'kotlin.collections.plusAssign' call
var element_0 = chunk.h2e(tmp$ret$5);
chunks.e(element_0);
}
return chunks;
}
function splitLines(words) {
// Inline function 'kotlin.collections.mutableListOf' call
var lines = ArrayList_init_$Create$();
// Inline function 'kotlin.collections.mutableListOf' call
var line = ArrayList_init_$Create$();
var _iterator__ex2g4s = words.p();
while (_iterator__ex2g4s.q()) {
var word = _iterator__ex2g4s.r();
if (endsWith(word.e2e_1, '\n')) {
// Inline function 'kotlin.collections.plusAssign' call
var element = new Line(line, word.f2e_1);
lines.e(element);
// Inline function 'kotlin.collections.mutableListOf' call
line = ArrayList_init_$Create$();
} else {
line.e(Companion_instance_0.i2e(word.e2e_1, word.f2e_1));
}
}
// Inline function 'kotlin.collections.isNotEmpty' call
if (!line.m()) {
// Inline function 'kotlin.collections.plusAssign' call
var element_0 = Line_init_$Create$(line);
lines.e(element_0);
}
var tmp36_safe_receiver = lastOrNull(words);
if (tmp36_safe_receiver == null)
null;
else {
// Inline function 'kotlin.let' call
if (endsWith(tmp36_safe_receiver.e2e_1, '\n')) {
// Inline function 'kotlin.collections.listOf' call
var tmp$ret$6 = emptyList();
lines.e(new Line(tmp$ret$6, tmp36_safe_receiver.f2e_1));
}
}
return lines;
}
function stringCellWidth(string) {
var sum = 0;
var sumSinceZwj = 0;
var zwjSeq = null;
var _iterator__ex2g4s = codepointSequence(string).p();
while (_iterator__ex2g4s.q()) {
var codepoint = _iterator__ex2g4s.r();
var width = cellWidth(codepoint);
if (!(zwjSeq == null)) {
sumSinceZwj = sumSinceZwj + width | 0;
if (zwjSeq.k2e_1.l1(codepoint)) {
sumSinceZwj = 0;
}
zwjSeq = zwjSeq.j2e_1.e2(codepoint);
if (zwjSeq == null) {
sum = sum + (sumSinceZwj + 2 | 0) | 0;
sumSinceZwj = 0;
} else {
sumSinceZwj = sumSinceZwj + width | 0;
}
} else {
if (couldStartEmojiSeq(codepoint)) {
zwjSeq = get_EMOJI_SEQUENCES().j2e_1.e2(codepoint);
}
if (zwjSeq == null) {
sum = sum + width | 0;
}
}
}
return sum + sumSinceZwj | 0;
}
function cellWidth(codepoint) {
if (32 <= codepoint ? codepoint <= 126 : false)
return 1;
if (codepoint === 8 || codepoint === 127)
return -1;
var table = get_CELL_WIDTH_TABLE();
var min = 0;
var mid;
var max = get_lastIndex_1(table);
if (codepoint < table[0].l2e_1 || codepoint > table[max].m2e_1)
return 1;
while (max >= min) {
mid = (min + max | 0) / 2 | 0;
var entry = table[mid];
if (codepoint > entry.m2e_1)
min = mid + 1 | 0;
else if (codepoint < entry.l2e_1)
max = mid - 1 | 0;
else
return table[mid].n2e_1;
}
return 1;
}
function sequences1() {
// Inline function 'kotlin.intArrayOf' call
var tmp = new Int32Array([9757, 127995]);
// Inline function 'kotlin.intArrayOf' call
var tmp_0 = new Int32Array([9757, 127996]);
// Inline function 'kotlin.intArrayOf' call
var tmp_1 = new Int32Array([9757, 127997]);
// Inline function 'kotlin.intArrayOf' call
var tmp_2 = new Int32Array([9757, 127998]);
// Inline function 'kotlin.intArrayOf' call
var tmp_3 = new Int32Array([9757, 127999]);
// Inline function 'kotlin.intArrayOf' call
var tmp_4 = new Int32Array([9939, 65039, 8205, 128165]);
// Inline function 'kotlin.intArrayOf' call
var tmp_5 = new Int32Array([9977, 65039, 8205, 9792, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_6 = new Int32Array([9977, 65039, 8205, 9794, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_7 = new Int32Array([9977, 127995]);
// Inline function 'kotlin.intArrayOf' call
var tmp_8 = new Int32Array([9977, 127995, 8205, 9792, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_9 = new Int32Array([9977, 127995, 8205, 9794, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_10 = new Int32Array([9977, 127996]);
// Inline function 'kotlin.intArrayOf' call
var tmp_11 = new Int32Array([9977, 127996, 8205, 9792, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_12 = new Int32Array([9977, 127996, 8205, 9794, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_13 = new Int32Array([9977, 127997]);
// Inline function 'kotlin.intArrayOf' call
var tmp_14 = new Int32Array([9977, 127997, 8205, 9792, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_15 = new Int32Array([9977, 127997, 8205, 9794, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_16 = new Int32Array([9977, 127998]);
// Inline function 'kotlin.intArrayOf' call
var tmp_17 = new Int32Array([9977, 127998, 8205, 9792, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_18 = new Int32Array([9977, 127998, 8205, 9794, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_19 = new Int32Array([9977, 127999]);
// Inline function 'kotlin.intArrayOf' call
var tmp_20 = new Int32Array([9977, 127999, 8205, 9792, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_21 = new Int32Array([9977, 127999, 8205, 9794, 65039]);
// Inline function 'kotlin.intArrayOf' call
var tmp_22 = new Int32Array([9994, 127995]);
// Inline function 'kotlin.intArrayOf' call
var tmp_23 = new Int32Array([9994, 127996]);
// Inline function 'kotlin.intArrayOf' call
var tmp_24 = new Int32Array([9994, 127997]);
// Inline function 'kotlin.intArrayOf' call
var tmp_25 = new Int32Array([9994, 127998]);
// Inline function 'kotlin.intArrayOf' call
var tmp_26 = new Int32Array([9994, 127999]);
// Inline function 'kotlin.intArrayOf' call
var tmp_27 = new Int32Array([9995, 127995]);
// Inline function 'kotlin.intArrayOf' call
var tmp_28 = new Int32Array([9995, 127996]);
// Inline function 'kotlin.intArrayOf' call
var tmp_29 = new Int32Array([9995, 127997]);
// Inline function 'kotlin.intArrayOf' call
var tmp_30 = new Int32Array([9995, 127998]);
// Inline function 'kotlin.intArrayOf' call
var tmp_31 = new Int32Array([9995, 127999]);
// Inline function 'kotlin.intArrayOf' call
var tmp_32 = new Int32Array([9996, 127995]);
// Inline function 'kotlin.intArrayOf' call
var tmp_33 = new Int32Array([9996, 127996]);
// Inline function 'kotlin.intArrayOf' call
var tmp_34 = new Int32Array([9996, 127997]);
// Inline function 'kotlin.intArrayOf' call
var tmp_35 = new Int32Array([9996, 127998]);
// Inline function 'kotlin.intArrayOf' call
var tmp_36 = new Int32Array([9996, 127999]);
// Inline function 'kotlin.intArrayOf' call
var tmp_37 = new Int32Array([9997, 127995]);
// Inline function 'kotlin.intArrayOf' call
var tmp_38 = new Int32Array([9997, 127996]);
// Inline function 'kotlin.intArrayOf' call
var tmp_39 = new Int32Array([9997, 127997]);
// Inline function 'kotlin.intArrayOf' call
var tmp_40 = new Int32Array([9997, 127998]);
// Inline function 'kotlin.intArrayOf' call
var tmp_41 = new Int32Array([9997, 127999]);
// Inline function 'kotlin.intArrayOf' call
var tmp_42 = new Int32Array([10084, 65039, 8205, 128293]);
// Inline function 'kotlin.intArrayOf' call
var tmp_43 = new Int32Array([10084, 65039, 8205, 129657]);
// Inline function 'kotlin.intArrayOf' call
var tmp_44 = new Int32Array([127812, 8205, 129003]);
// Inline function 'kotlin.intArrayOf' call
var tmp_45 = new Int32Array([127819, 8205, 129001]);
// Inline function 'kotlin.intArrayOf' call
var tmp_46 = new Int32Array([127877, 127995]);
// Inline function 'kotlin.intArrayOf' call
var tmp_47 = new Int32Array([127877, 127996]);
// Inline function 'kotlin.intArrayOf' call
var tmp_48 = new Int32Array([127877, 127997]);
// Inline function 'kotlin.intArrayOf' call
var tmp_49 = new Int32Array([127877, 127998]);
// Inline function 'kotlin.intArrayOf' call
var tmp_50 = new Int32Array([127877, 127999]);
// Inline function 'kotlin.intArrayOf' call
var tmp_51 = new Int32Array([127938, 127995]);
// Inline function 'kotlin.intArrayOf' call
var tmp_52 = new Int32Array([127938, 127996]);
// Inline function 'kotlin.intArrayOf' call
var tmp_53 = new Int32Array([127938, 127997]);
// Inline function 'kotlin.intArrayOf' call
var tmp_54 = new