git-digger 1.7.8 → 1.7.9
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.
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +61 -185
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +10 -13
- package/kotlin/clikt-clikt-mordant.js.map +1 -1
- package/kotlin/clikt-clikt.js +116 -292
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +25 -43
- package/kotlin/colormath-root-colormath.js.map +1 -1
- package/kotlin/command-line-tools-digger-cli.js +8 -27
- package/kotlin/command-line-tools-digger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +255 -386
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +55 -89
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +20 -34
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant-omnibus.js.map +1 -1
- package/kotlin/mordant-mordant.js +114 -304
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +1 -1
- package/kotlin/tools-cli-tools.js.map +1 -1
- package/kotlin/tools-digger-core.js +22 -51
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +11 -12
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +7 -7
- package/kotlin/tools-digger-model.js.map +1 -1
- package/kotlin/tools-git-adapter.js +12 -18
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,80 +2,80 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
5
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.l8;
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.r8;
|
|
7
|
+
var initMetadataForObject = kotlin_kotlin.$_$.x7;
|
|
8
8
|
var charSequenceLength = kotlin_kotlin.$_$.j7;
|
|
9
9
|
var equals = kotlin_kotlin.$_$.m7;
|
|
10
10
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
11
11
|
var addAll = kotlin_kotlin.$_$.x3;
|
|
12
12
|
var Unit_instance = kotlin_kotlin.$_$.j3;
|
|
13
13
|
var joinToString = kotlin_kotlin.$_$.z4;
|
|
14
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
14
|
+
var isInterface = kotlin_kotlin.$_$.g8;
|
|
15
15
|
var listOf = kotlin_kotlin.$_$.j5;
|
|
16
16
|
var Ansi256 = kotlin_colormath_root_colormath.$_$.b;
|
|
17
17
|
var listOf_0 = kotlin_kotlin.$_$.i5;
|
|
18
18
|
var Ansi16 = kotlin_colormath_root_colormath.$_$.a;
|
|
19
19
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
20
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
21
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
20
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.tc;
|
|
21
|
+
var get_lastIndex = kotlin_kotlin.$_$.ma;
|
|
22
22
|
var emptyList = kotlin_kotlin.$_$.o4;
|
|
23
23
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
24
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
25
|
-
var split = kotlin_kotlin.$_$.
|
|
24
|
+
var startsWith = kotlin_kotlin.$_$.ya;
|
|
25
|
+
var split = kotlin_kotlin.$_$.xa;
|
|
26
26
|
var last = kotlin_kotlin.$_$.f5;
|
|
27
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
28
|
-
var drop = kotlin_kotlin.$_$.
|
|
27
|
+
var isBlank = kotlin_kotlin.$_$.ja;
|
|
28
|
+
var drop = kotlin_kotlin.$_$.da;
|
|
29
29
|
var VOID = kotlin_kotlin.$_$.g;
|
|
30
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
30
|
+
var endsWith = kotlin_kotlin.$_$.ea;
|
|
31
31
|
var charSequenceSubSequence = kotlin_kotlin.$_$.k7;
|
|
32
|
-
var toIntOrNull = kotlin_kotlin.$_$.
|
|
32
|
+
var toIntOrNull = kotlin_kotlin.$_$.db;
|
|
33
33
|
var get_lastIndex_0 = kotlin_kotlin.$_$.c5;
|
|
34
34
|
var getOrNull = kotlin_kotlin.$_$.v4;
|
|
35
|
-
var to = kotlin_kotlin.$_$.
|
|
35
|
+
var to = kotlin_kotlin.$_$.xc;
|
|
36
36
|
var Companion_getInstance = kotlin_colormath_root_colormath.$_$.c;
|
|
37
37
|
var toList = kotlin_kotlin.$_$.l6;
|
|
38
|
-
var toString = kotlin_kotlin.$_$.
|
|
39
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
40
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
41
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
42
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
43
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
38
|
+
var toString = kotlin_kotlin.$_$.u8;
|
|
39
|
+
var getStringHashCode = kotlin_kotlin.$_$.q7;
|
|
40
|
+
var hashCode = kotlin_kotlin.$_$.r7;
|
|
41
|
+
var THROW_CCE = kotlin_kotlin.$_$.zb;
|
|
42
|
+
var initMetadataForClass = kotlin_kotlin.$_$.s7;
|
|
43
|
+
var toList_0 = kotlin_kotlin.$_$.x9;
|
|
44
44
|
var charSequenceGet = kotlin_kotlin.$_$.i7;
|
|
45
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
45
|
+
var isWhitespace = kotlin_kotlin.$_$.la;
|
|
46
46
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
|
|
47
47
|
var lastOrNull = kotlin_kotlin.$_$.e5;
|
|
48
48
|
var get_lastIndex_1 = kotlin_kotlin.$_$.d5;
|
|
49
49
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
50
50
|
var mutableMapOf = kotlin_kotlin.$_$.p5;
|
|
51
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
51
|
+
var objectCreate = kotlin_kotlin.$_$.q8;
|
|
52
52
|
var get_lastIndex_2 = kotlin_kotlin.$_$.b5;
|
|
53
53
|
var last_0 = kotlin_kotlin.$_$.g5;
|
|
54
|
-
var Enum = kotlin_kotlin.$_$.
|
|
55
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
54
|
+
var Enum = kotlin_kotlin.$_$.rb;
|
|
55
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.t7;
|
|
56
56
|
var toString_0 = kotlin_kotlin.$_$.t1;
|
|
57
57
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.g4;
|
|
58
58
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
59
59
|
var KtList = kotlin_kotlin.$_$.q3;
|
|
60
60
|
var Collection = kotlin_kotlin.$_$.l3;
|
|
61
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
61
|
+
var toString_1 = kotlin_kotlin.$_$.wc;
|
|
62
62
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
63
63
|
var checkBuilderCapacity = kotlin_kotlin.$_$.d4;
|
|
64
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
65
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
64
|
+
var coerceAtLeast = kotlin_kotlin.$_$.y8;
|
|
65
|
+
var coerceAtMost = kotlin_kotlin.$_$.a9;
|
|
66
66
|
var plus = kotlin_kotlin.$_$.t5;
|
|
67
67
|
var firstOrNull = kotlin_kotlin.$_$.r4;
|
|
68
68
|
var plus_0 = kotlin_kotlin.$_$.u5;
|
|
69
69
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
70
|
-
var contains = kotlin_kotlin.$_$.
|
|
71
|
-
var repeat = kotlin_kotlin.$_$.
|
|
70
|
+
var contains = kotlin_kotlin.$_$.ba;
|
|
71
|
+
var repeat = kotlin_kotlin.$_$.ta;
|
|
72
72
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
73
|
-
var lazy = kotlin_kotlin.$_$.
|
|
74
|
-
var take = kotlin_kotlin.$_$.
|
|
75
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
76
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
77
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
78
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
73
|
+
var lazy = kotlin_kotlin.$_$.rc;
|
|
74
|
+
var take = kotlin_kotlin.$_$.cb;
|
|
75
|
+
var KProperty1 = kotlin_kotlin.$_$.i9;
|
|
76
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.p7;
|
|
77
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.v7;
|
|
78
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.n7;
|
|
79
79
|
var mapOf = kotlin_kotlin.$_$.l5;
|
|
80
80
|
var emptyMap = kotlin_kotlin.$_$.p4;
|
|
81
81
|
var toMutableMap = kotlin_kotlin.$_$.p6;
|
|
@@ -85,31 +85,31 @@
|
|
|
85
85
|
var mapCapacity = kotlin_kotlin.$_$.k5;
|
|
86
86
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
87
87
|
var sortedWith = kotlin_kotlin.$_$.d6;
|
|
88
|
-
var coerceIn = kotlin_kotlin.$_$.
|
|
89
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
88
|
+
var coerceIn = kotlin_kotlin.$_$.c9;
|
|
89
|
+
var ensureNotNull = kotlin_kotlin.$_$.oc;
|
|
90
90
|
var zip = kotlin_kotlin.$_$.u6;
|
|
91
|
-
var numberToInt = kotlin_kotlin.$_$.
|
|
91
|
+
var numberToInt = kotlin_kotlin.$_$.o8;
|
|
92
92
|
var sum = kotlin_kotlin.$_$.f6;
|
|
93
93
|
var FunctionAdapter = kotlin_kotlin.$_$.d7;
|
|
94
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
94
|
+
var Comparator = kotlin_kotlin.$_$.qb;
|
|
95
95
|
var compareValues = kotlin_kotlin.$_$.w6;
|
|
96
|
-
var until = kotlin_kotlin.$_$.
|
|
96
|
+
var until = kotlin_kotlin.$_$.d9;
|
|
97
97
|
var get_indices = kotlin_kotlin.$_$.y4;
|
|
98
98
|
var checkCountOverflow = kotlin_kotlin.$_$.e4;
|
|
99
99
|
var checkIndexOverflow = kotlin_kotlin.$_$.f4;
|
|
100
|
-
var getNumberHashCode = kotlin_kotlin.$_$.
|
|
100
|
+
var getNumberHashCode = kotlin_kotlin.$_$.o7;
|
|
101
101
|
var asList = kotlin_kotlin.$_$.y3;
|
|
102
102
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
103
103
|
var flatten = kotlin_kotlin.$_$.u4;
|
|
104
104
|
var print = kotlin_kotlin.$_$.c7;
|
|
105
105
|
var println = kotlin_kotlin.$_$.a7;
|
|
106
106
|
var println_0 = kotlin_kotlin.$_$.b7;
|
|
107
|
-
var toInt = kotlin_kotlin.$_$.
|
|
107
|
+
var toInt = kotlin_kotlin.$_$.eb;
|
|
108
108
|
var drop_0 = kotlin_kotlin.$_$.n4;
|
|
109
|
-
var chunked = kotlin_kotlin.$_$.
|
|
109
|
+
var chunked = kotlin_kotlin.$_$.z9;
|
|
110
110
|
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.f1;
|
|
111
|
-
var Exception = kotlin_kotlin.$_$.
|
|
112
|
-
var generateSequence = kotlin_kotlin.$_$.
|
|
111
|
+
var Exception = kotlin_kotlin.$_$.sb;
|
|
112
|
+
var generateSequence = kotlin_kotlin.$_$.p9;
|
|
113
113
|
//endregion
|
|
114
114
|
//region block: pre-declaration
|
|
115
115
|
initMetadataForObject(AnsiCodes, 'AnsiCodes');
|
|
@@ -379,7 +379,6 @@
|
|
|
379
379
|
tmp = listOf([select, 5, it.d20_1]);
|
|
380
380
|
} else {
|
|
381
381
|
// Inline function 'kotlin.run' call
|
|
382
|
-
// Inline function 'com.github.ajalt.mordant.internal.toAnsi.<anonymous>' call
|
|
383
382
|
var $this$run = it.b1z().k22();
|
|
384
383
|
tmp = listOf([select, 2, $this$run.y21(), $this$run.z21(), $this$run.a22()]);
|
|
385
384
|
}
|
|
@@ -395,7 +394,6 @@
|
|
|
395
394
|
tmp = null;
|
|
396
395
|
} else {
|
|
397
396
|
// Inline function 'kotlin.let' call
|
|
398
|
-
// Inline function 'com.github.ajalt.mordant.internal.makeHyperlinkTag.<anonymous>' call
|
|
399
397
|
tmp = 'id=' + hyperlinkId;
|
|
400
398
|
}
|
|
401
399
|
var tmp0_elvis_lhs = tmp;
|
|
@@ -406,7 +404,6 @@
|
|
|
406
404
|
// Inline function 'kotlin.text.buildString' call
|
|
407
405
|
// Inline function 'kotlin.apply' call
|
|
408
406
|
var this_0 = StringBuilder_init_$Create$();
|
|
409
|
-
// Inline function 'com.github.ajalt.mordant.internal.renderLinesAnsi.<anonymous>' call
|
|
410
407
|
var iterator = lines.c25_1.p();
|
|
411
408
|
var index = 0;
|
|
412
409
|
while (iterator.q()) {
|
|
@@ -446,7 +443,6 @@
|
|
|
446
443
|
tmp_1 = null;
|
|
447
444
|
} else {
|
|
448
445
|
// Inline function 'kotlin.let' call
|
|
449
|
-
// Inline function 'com.github.ajalt.mordant.internal.downsample.<anonymous>' call
|
|
450
446
|
var tmp_2;
|
|
451
447
|
if (tmp29_safe_receiver instanceof Ansi16) {
|
|
452
448
|
tmp_2 = tmp29_safe_receiver;
|
|
@@ -463,7 +459,6 @@
|
|
|
463
459
|
tmp_4 = null;
|
|
464
460
|
} else {
|
|
465
461
|
// Inline function 'kotlin.let' call
|
|
466
|
-
// Inline function 'com.github.ajalt.mordant.internal.downsample.<anonymous>' call
|
|
467
462
|
var tmp_5;
|
|
468
463
|
if (tmp30_safe_receiver instanceof Ansi16) {
|
|
469
464
|
tmp_5 = tmp30_safe_receiver;
|
|
@@ -478,8 +473,6 @@
|
|
|
478
473
|
|
|
479
474
|
var this_0 = style.a25();
|
|
480
475
|
var tmp_7;
|
|
481
|
-
// Inline function 'com.github.ajalt.mordant.internal.downsample.<anonymous>' call
|
|
482
|
-
|
|
483
476
|
if (hyperlinks) {
|
|
484
477
|
tmp_7 = this_0;
|
|
485
478
|
} else {
|
|
@@ -491,8 +484,6 @@
|
|
|
491
484
|
|
|
492
485
|
var this_1 = style.b25();
|
|
493
486
|
var tmp_9;
|
|
494
|
-
// Inline function 'com.github.ajalt.mordant.internal.downsample.<anonymous>' call
|
|
495
|
-
|
|
496
487
|
if (hyperlinks) {
|
|
497
488
|
tmp_9 = this_1;
|
|
498
489
|
} else {
|
|
@@ -509,7 +500,6 @@
|
|
|
509
500
|
tmp_10 = null;
|
|
510
501
|
} else {
|
|
511
502
|
// Inline function 'kotlin.let' call
|
|
512
|
-
// Inline function 'com.github.ajalt.mordant.internal.downsample.<anonymous>' call
|
|
513
503
|
var tmp_11;
|
|
514
504
|
var tmp_12;
|
|
515
505
|
if (tmp31_safe_receiver instanceof Ansi16) {
|
|
@@ -532,7 +522,6 @@
|
|
|
532
522
|
tmp_14 = null;
|
|
533
523
|
} else {
|
|
534
524
|
// Inline function 'kotlin.let' call
|
|
535
|
-
// Inline function 'com.github.ajalt.mordant.internal.downsample.<anonymous>' call
|
|
536
525
|
var tmp_15;
|
|
537
526
|
var tmp_16;
|
|
538
527
|
if (tmp32_safe_receiver instanceof Ansi16) {
|
|
@@ -553,8 +542,6 @@
|
|
|
553
542
|
|
|
554
543
|
var this_2 = style.a25();
|
|
555
544
|
var tmp_18;
|
|
556
|
-
// Inline function 'com.github.ajalt.mordant.internal.downsample.<anonymous>' call
|
|
557
|
-
|
|
558
545
|
if (hyperlinks) {
|
|
559
546
|
tmp_18 = this_2;
|
|
560
547
|
} else {
|
|
@@ -566,8 +553,6 @@
|
|
|
566
553
|
|
|
567
554
|
var this_3 = style.b25();
|
|
568
555
|
var tmp_20;
|
|
569
|
-
// Inline function 'com.github.ajalt.mordant.internal.downsample.<anonymous>' call
|
|
570
|
-
|
|
571
556
|
if (hyperlinks) {
|
|
572
557
|
tmp_20 = this_3;
|
|
573
558
|
} else {
|
|
@@ -701,7 +686,6 @@
|
|
|
701
686
|
// Inline function 'kotlin.takeUnless' call
|
|
702
687
|
var this_0 = last(params);
|
|
703
688
|
var tmp;
|
|
704
|
-
// Inline function 'com.github.ajalt.mordant.internal.updateStyleWithOsc.<anonymous>' call
|
|
705
689
|
if (!isBlank(this_0)) {
|
|
706
690
|
tmp = this_0;
|
|
707
691
|
} else {
|
|
@@ -719,7 +703,6 @@
|
|
|
719
703
|
var _iterator__ex2g4s = params.p();
|
|
720
704
|
while (_iterator__ex2g4s.q()) {
|
|
721
705
|
var element = _iterator__ex2g4s.r();
|
|
722
|
-
// Inline function 'com.github.ajalt.mordant.internal.updateStyleWithOsc.<anonymous>' call
|
|
723
706
|
if (startsWith(element, 'id=')) {
|
|
724
707
|
tmp$ret$5 = element;
|
|
725
708
|
break $l$block;
|
|
@@ -744,8 +727,6 @@
|
|
|
744
727
|
var _iterator__ex2g4s = tmp0.p();
|
|
745
728
|
while (_iterator__ex2g4s.q()) {
|
|
746
729
|
var element = _iterator__ex2g4s.r();
|
|
747
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
748
|
-
// Inline function 'com.github.ajalt.mordant.internal.updateStyleWithCsi.<anonymous>' call
|
|
749
730
|
var tmp;
|
|
750
731
|
// Inline function 'kotlin.text.isEmpty' call
|
|
751
732
|
if (charSequenceLength(element) === 0) {
|
|
@@ -758,7 +739,6 @@
|
|
|
758
739
|
null;
|
|
759
740
|
else {
|
|
760
741
|
// Inline function 'kotlin.let' call
|
|
761
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
762
742
|
destination.e(tmp0_safe_receiver);
|
|
763
743
|
}
|
|
764
744
|
}
|
|
@@ -987,7 +967,6 @@
|
|
|
987
967
|
var _iterator__ex2g4s = parseAnsi_0.p();
|
|
988
968
|
while (_iterator__ex2g4s.q()) {
|
|
989
969
|
var element = _iterator__ex2g4s.r();
|
|
990
|
-
// Inline function 'com.github.ajalt.mordant.internal.parseText.<anonymous>' call
|
|
991
970
|
var list = splitWords(element);
|
|
992
971
|
addAll(destination, list);
|
|
993
972
|
}
|
|
@@ -1055,9 +1034,9 @@
|
|
|
1055
1034
|
// Inline function 'kotlin.text.substring' call
|
|
1056
1035
|
var startIndex = idxAfterLastCmd;
|
|
1057
1036
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1058
|
-
var tmp$ret$
|
|
1037
|
+
var tmp$ret$5 = text.substring(startIndex);
|
|
1059
1038
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1060
|
-
var element_0 = new Chunk(tmp$ret$
|
|
1039
|
+
var element_0 = new Chunk(tmp$ret$5, style);
|
|
1061
1040
|
parts.e(element_0);
|
|
1062
1041
|
}
|
|
1063
1042
|
return parts;
|
|
@@ -1093,9 +1072,9 @@
|
|
|
1093
1072
|
// Inline function 'kotlin.text.substring' call
|
|
1094
1073
|
var endIndex_0 = i;
|
|
1095
1074
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1096
|
-
var tmp$ret$
|
|
1075
|
+
var tmp$ret$5 = t.substring(tmp6, endIndex_0);
|
|
1097
1076
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1098
|
-
var element_0 = chunk.o25(tmp$ret$
|
|
1077
|
+
var element_0 = chunk.o25(tmp$ret$5);
|
|
1099
1078
|
chunks.e(element_0);
|
|
1100
1079
|
}
|
|
1101
1080
|
return chunks;
|
|
@@ -1129,11 +1108,10 @@
|
|
|
1129
1108
|
null;
|
|
1130
1109
|
else {
|
|
1131
1110
|
// Inline function 'kotlin.let' call
|
|
1132
|
-
// Inline function 'com.github.ajalt.mordant.internal.splitLines.<anonymous>' call
|
|
1133
1111
|
if (endsWith(tmp36_safe_receiver.l25_1, '\n')) {
|
|
1134
1112
|
// Inline function 'kotlin.collections.listOf' call
|
|
1135
|
-
var tmp$ret$
|
|
1136
|
-
lines.e(new Line(tmp$ret$
|
|
1113
|
+
var tmp$ret$6 = emptyList();
|
|
1114
|
+
lines.e(new Line(tmp$ret$6, tmp36_safe_receiver.m25_1));
|
|
1137
1115
|
}
|
|
1138
1116
|
}
|
|
1139
1117
|
return lines;
|
|
@@ -5164,7 +5142,6 @@
|
|
|
5164
5142
|
var value = tmp1.w1(key);
|
|
5165
5143
|
var tmp;
|
|
5166
5144
|
if (value == null) {
|
|
5167
|
-
// Inline function 'com.github.ajalt.mordant.internal.gen.buildSeqTrie.<anonymous>' call
|
|
5168
5145
|
var answer = IntTrie_init_$Create$([]);
|
|
5169
5146
|
tmp1.e2(key, answer);
|
|
5170
5147
|
tmp = answer;
|
|
@@ -5358,14 +5335,12 @@
|
|
|
5358
5335
|
var _iterator__ex2g4s = this_0.p();
|
|
5359
5336
|
while (_iterator__ex2g4s.q()) {
|
|
5360
5337
|
var item = _iterator__ex2g4s.r();
|
|
5361
|
-
// Inline function 'com.github.ajalt.mordant.rendering.Lines.withStyle.<anonymous>' call
|
|
5362
5338
|
// Inline function 'kotlin.collections.map' call
|
|
5363
5339
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5364
5340
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(item, 10));
|
|
5365
5341
|
var _iterator__ex2g4s_0 = item.p();
|
|
5366
5342
|
while (_iterator__ex2g4s_0.q()) {
|
|
5367
5343
|
var item_0 = _iterator__ex2g4s_0.r();
|
|
5368
|
-
// Inline function 'com.github.ajalt.mordant.rendering.Lines.withStyle.<anonymous>.<anonymous>' call
|
|
5369
5344
|
var tmp$ret$0 = item_0.h27(style);
|
|
5370
5345
|
destination_0.e(tmp$ret$0);
|
|
5371
5346
|
}
|
|
@@ -5450,7 +5425,6 @@
|
|
|
5450
5425
|
while (_iterator__ex2g4s.q()) {
|
|
5451
5426
|
var element = _iterator__ex2g4s.r();
|
|
5452
5427
|
var tmp = sum;
|
|
5453
|
-
// Inline function 'com.github.ajalt.mordant.rendering.<get-lineWidth>.<anonymous>' call
|
|
5454
5428
|
sum = tmp + element.k27() | 0;
|
|
5455
5429
|
}
|
|
5456
5430
|
return sum;
|
|
@@ -5464,7 +5438,6 @@
|
|
|
5464
5438
|
var element = parts[inductionVariable];
|
|
5465
5439
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5466
5440
|
var tmp = sum;
|
|
5467
|
-
// Inline function 'com.github.ajalt.mordant.rendering.flatLine.<anonymous>' call
|
|
5468
5441
|
var tmp_0;
|
|
5469
5442
|
if (!(element == null) ? isInterface(element, Collection) : false) {
|
|
5470
5443
|
tmp_0 = element.s();
|
|
@@ -5486,7 +5459,6 @@
|
|
|
5486
5459
|
var _iterator__ex2g4s = part.p();
|
|
5487
5460
|
while (_iterator__ex2g4s.q()) {
|
|
5488
5461
|
var item = _iterator__ex2g4s.r();
|
|
5489
|
-
// Inline function 'com.github.ajalt.mordant.rendering.flatLine.<anonymous>' call
|
|
5490
5462
|
var tmp$ret$2 = item instanceof Span ? item : THROW_CCE();
|
|
5491
5463
|
line.e(tmp$ret$2);
|
|
5492
5464
|
}
|
|
@@ -5521,8 +5493,6 @@
|
|
|
5521
5493
|
do {
|
|
5522
5494
|
var index = inductionVariable;
|
|
5523
5495
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5524
|
-
// Inline function 'kotlin.collections.MutableList.<anonymous>' call
|
|
5525
|
-
// Inline function 'com.github.ajalt.mordant.rendering.setSize.<anonymous>' call
|
|
5526
5496
|
var tmp$ret$0 = get_EMPTY_LINE();
|
|
5527
5497
|
list.e(tmp$ret$0);
|
|
5528
5498
|
}
|
|
@@ -5545,7 +5515,6 @@
|
|
|
5545
5515
|
checkBuilderCapacity(capacity);
|
|
5546
5516
|
// Inline function 'kotlin.apply' call
|
|
5547
5517
|
var this_0 = ArrayList_init_$Create$_0(capacity);
|
|
5548
|
-
// Inline function 'com.github.ajalt.mordant.rendering.setSize.<anonymous>' call
|
|
5549
5518
|
// Inline function 'kotlin.repeat' call
|
|
5550
5519
|
var times = -scrollDown | 0;
|
|
5551
5520
|
var inductionVariable_0 = 0;
|
|
@@ -5553,7 +5522,6 @@
|
|
|
5553
5522
|
do {
|
|
5554
5523
|
var index_0 = inductionVariable_0;
|
|
5555
5524
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5556
|
-
// Inline function 'com.github.ajalt.mordant.rendering.setSize.<anonymous>.<anonymous>' call
|
|
5557
5525
|
this_0.e(emptyLine);
|
|
5558
5526
|
}
|
|
5559
5527
|
while (inductionVariable_0 < times);
|
|
@@ -5587,14 +5555,12 @@
|
|
|
5587
5555
|
checkBuilderCapacity(newHeight);
|
|
5588
5556
|
// Inline function 'kotlin.apply' call
|
|
5589
5557
|
var this_1 = ArrayList_init_$Create$_0(newHeight);
|
|
5590
|
-
// Inline function 'com.github.ajalt.mordant.rendering.setSize.<anonymous>' call
|
|
5591
5558
|
// Inline function 'kotlin.repeat' call
|
|
5592
5559
|
var inductionVariable_1 = 0;
|
|
5593
5560
|
if (inductionVariable_1 < topEmptyLineCount)
|
|
5594
5561
|
do {
|
|
5595
5562
|
var index_1 = inductionVariable_1;
|
|
5596
5563
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
5597
|
-
// Inline function 'com.github.ajalt.mordant.rendering.setSize.<anonymous>.<anonymous>' call
|
|
5598
5564
|
this_1.e(emptyLine);
|
|
5599
5565
|
}
|
|
5600
5566
|
while (inductionVariable_1 < topEmptyLineCount);
|
|
@@ -5602,9 +5568,8 @@
|
|
|
5602
5568
|
var _iterator__ex2g4s = offsetLines.s1(0, coerceAtMost(newHeight, offsetLines.s())).p();
|
|
5603
5569
|
while (_iterator__ex2g4s.q()) {
|
|
5604
5570
|
var item = _iterator__ex2g4s.r();
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
this_1.e(tmp$ret$6);
|
|
5571
|
+
var tmp$ret$13 = Line_init_$Create$(resizeLine(item, scrollRight, newWidth, textAlign));
|
|
5572
|
+
this_1.e(tmp$ret$13);
|
|
5608
5573
|
}
|
|
5609
5574
|
// Inline function 'kotlin.repeat' call
|
|
5610
5575
|
var times_0 = (newHeight - topEmptyLineCount | 0) - offsetLines.s() | 0;
|
|
@@ -5613,12 +5578,11 @@
|
|
|
5613
5578
|
do {
|
|
5614
5579
|
var index_2 = inductionVariable_2;
|
|
5615
5580
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
5616
|
-
// Inline function 'com.github.ajalt.mordant.rendering.setSize.<anonymous>.<anonymous>' call
|
|
5617
5581
|
this_1.e(emptyLine);
|
|
5618
5582
|
}
|
|
5619
5583
|
while (inductionVariable_2 < times_0);
|
|
5620
|
-
var tmp$ret$
|
|
5621
|
-
return new Lines(tmp$ret$
|
|
5584
|
+
var tmp$ret$20 = this_1.c5();
|
|
5585
|
+
return new Lines(tmp$ret$20);
|
|
5622
5586
|
}
|
|
5623
5587
|
function resizeLine(line, scrollRight, newWidth, textAlign) {
|
|
5624
5588
|
var width = 0;
|
|
@@ -5665,7 +5629,6 @@
|
|
|
5665
5629
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
5666
5630
|
// Inline function 'kotlin.apply' call
|
|
5667
5631
|
var this_0 = ArrayList_init_$Create$();
|
|
5668
|
-
// Inline function 'com.github.ajalt.mordant.rendering.resizeLine.<anonymous>' call
|
|
5669
5632
|
if (!(startSpan == null)) {
|
|
5670
5633
|
this_0.e(startSpan);
|
|
5671
5634
|
}
|
|
@@ -5708,8 +5671,6 @@
|
|
|
5708
5671
|
// Inline function 'kotlin.apply' call
|
|
5709
5672
|
|
|
5710
5673
|
var this_1 = ArrayList_init_$Create$_0(capacity);
|
|
5711
|
-
// Inline function 'com.github.ajalt.mordant.rendering.resizeLine.<anonymous>' call
|
|
5712
|
-
|
|
5713
5674
|
this_1.e(l);
|
|
5714
5675
|
this_1.u(outputLine);
|
|
5715
5676
|
this_1.e(r);
|
|
@@ -5764,7 +5725,6 @@
|
|
|
5764
5725
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
5765
5726
|
// Inline function 'kotlin.require' call
|
|
5766
5727
|
if (!(charSequenceLength(text) > 0)) {
|
|
5767
|
-
// Inline function 'com.github.ajalt.mordant.rendering.Companion.word.<anonymous>' call
|
|
5768
5728
|
var message = 'Span text cannot be empty';
|
|
5769
5729
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
5770
5730
|
}
|
|
@@ -5774,29 +5734,24 @@
|
|
|
5774
5734
|
while (inductionVariable < charSequenceLength(text)) {
|
|
5775
5735
|
var element = charSequenceGet(text, inductionVariable);
|
|
5776
5736
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5777
|
-
// Inline function 'com.github.ajalt.mordant.rendering.Companion.word.<anonymous>' call
|
|
5778
5737
|
if (isWhitespace(element)) {
|
|
5779
5738
|
count = count + 1 | 0;
|
|
5780
5739
|
}
|
|
5781
5740
|
}
|
|
5782
5741
|
// Inline function 'kotlin.let' call
|
|
5783
|
-
// Inline function 'com.github.ajalt.mordant.rendering.Companion.word.<anonymous>' call
|
|
5784
5742
|
var it = count;
|
|
5785
5743
|
// Inline function 'kotlin.require' call
|
|
5786
5744
|
if (!(it === 0 || it === text.length)) {
|
|
5787
|
-
// Inline function 'com.github.ajalt.mordant.rendering.Companion.word.<anonymous>' call
|
|
5788
5745
|
var message_0 = 'Spans must contain either all whitespace, or no whitespace: "' + text + '"';
|
|
5789
5746
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
5790
5747
|
}
|
|
5791
5748
|
// Inline function 'kotlin.require' call
|
|
5792
5749
|
if (!!contains(text, '\n')) {
|
|
5793
|
-
// Inline function 'com.github.ajalt.mordant.rendering.Companion.word.<anonymous>' call
|
|
5794
5750
|
var message_1 = 'Spans cannot contain newlines';
|
|
5795
5751
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
5796
5752
|
}
|
|
5797
5753
|
// Inline function 'kotlin.require' call
|
|
5798
5754
|
if (!!contains(text, '\x1B[')) {
|
|
5799
|
-
// Inline function 'com.github.ajalt.mordant.rendering.Companion.word.<anonymous>' call
|
|
5800
5755
|
var message_2 = 'Spans cannot contain ANSI codes';
|
|
5801
5756
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
5802
5757
|
}
|
|
@@ -5906,7 +5861,6 @@
|
|
|
5906
5861
|
tmp = null;
|
|
5907
5862
|
} else {
|
|
5908
5863
|
// Inline function 'kotlin.let' call
|
|
5909
|
-
// Inline function 'com.github.ajalt.mordant.rendering.TextStyle.<anonymous>' call
|
|
5910
5864
|
tmp = generateHyperlinkId();
|
|
5911
5865
|
}
|
|
5912
5866
|
return new TxtStyle(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, hyperlink, tmp);
|
|
@@ -6116,7 +6070,6 @@
|
|
|
6116
6070
|
var tmp0_elvis_lhs = this.p28_1.w1(style);
|
|
6117
6071
|
var tmp;
|
|
6118
6072
|
if (tmp0_elvis_lhs == null) {
|
|
6119
|
-
// Inline function 'com.github.ajalt.mordant.rendering.Theme.style.<anonymous>' call
|
|
6120
6073
|
tmp = default_0;
|
|
6121
6074
|
} else {
|
|
6122
6075
|
tmp = tmp0_elvis_lhs;
|
|
@@ -6188,7 +6141,6 @@
|
|
|
6188
6141
|
this.r29_1 = max;
|
|
6189
6142
|
// Inline function 'kotlin.require' call
|
|
6190
6143
|
if (!(this.q29_1 <= this.r29_1)) {
|
|
6191
|
-
// Inline function 'com.github.ajalt.mordant.rendering.WidthRange.<anonymous>' call
|
|
6192
6144
|
var message = 'Range min cannot be larger than max';
|
|
6193
6145
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6194
6146
|
}
|
|
@@ -6230,7 +6182,6 @@
|
|
|
6230
6182
|
var _iterator__ex2g4s = _this__u8e3s4.p();
|
|
6231
6183
|
$l$loop: while (_iterator__ex2g4s.q()) {
|
|
6232
6184
|
var it = _iterator__ex2g4s.r();
|
|
6233
|
-
// Inline function 'com.github.ajalt.mordant.rendering.maxWidthRange.<anonymous>' call
|
|
6234
6185
|
var tmp0_elvis_lhs = it.c29(t, width - paddingWidth | 0);
|
|
6235
6186
|
var tmp;
|
|
6236
6187
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -6412,13 +6363,11 @@
|
|
|
6412
6363
|
this.v2a_1 = paddingWidth;
|
|
6413
6364
|
// Inline function 'kotlin.require' call
|
|
6414
6365
|
if (!(this.m2a_1 > 0)) {
|
|
6415
|
-
// Inline function 'com.github.ajalt.mordant.table.Content.<anonymous>' call
|
|
6416
6366
|
var message = 'rowSpan must be greater than 0';
|
|
6417
6367
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6418
6368
|
}
|
|
6419
6369
|
// Inline function 'kotlin.require' call
|
|
6420
6370
|
if (!(this.n2a_1 > 0)) {
|
|
6421
|
-
// Inline function 'com.github.ajalt.mordant.table.Content.<anonymous>' call
|
|
6422
6371
|
var message_0 = 'columnSpan must be greater than 0';
|
|
6423
6372
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
6424
6373
|
}
|
|
@@ -6506,14 +6455,12 @@
|
|
|
6506
6455
|
tmp$ret$0 = null;
|
|
6507
6456
|
break $l$block;
|
|
6508
6457
|
}
|
|
6509
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.measureColumn.<anonymous>.<anonymous>' call
|
|
6510
6458
|
var row = iterator.r();
|
|
6511
6459
|
var tmp_0 = getOrNull(row, x);
|
|
6512
6460
|
var tmp57_safe_receiver = tmp_0 instanceof Content ? tmp_0 : null;
|
|
6513
6461
|
var tmp0_elvis_lhs = tmp57_safe_receiver == null ? null : tmp57_safe_receiver.v2a_1;
|
|
6514
6462
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
6515
6463
|
while (iterator.q()) {
|
|
6516
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.measureColumn.<anonymous>.<anonymous>' call
|
|
6517
6464
|
var row_0 = iterator.r();
|
|
6518
6465
|
var tmp_1 = getOrNull(row_0, x);
|
|
6519
6466
|
var tmp57_safe_receiver_0 = tmp_1 instanceof Content ? tmp_1 : null;
|
|
@@ -6537,7 +6484,6 @@
|
|
|
6537
6484
|
var _iterator__ex2g4s = $this.a2b_1.p();
|
|
6538
6485
|
$l$loop: while (_iterator__ex2g4s.q()) {
|
|
6539
6486
|
var it = _iterator__ex2g4s.r();
|
|
6540
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.measureColumn.<anonymous>' call
|
|
6541
6487
|
var cell = getOrNull(it, x);
|
|
6542
6488
|
var tmp_2;
|
|
6543
6489
|
if (cell == null) {
|
|
@@ -6593,8 +6539,6 @@
|
|
|
6593
6539
|
do {
|
|
6594
6540
|
var index = inductionVariable;
|
|
6595
6541
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6596
|
-
// Inline function 'kotlin.collections.MutableList.<anonymous>' call
|
|
6597
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6598
6542
|
list.e(0);
|
|
6599
6543
|
}
|
|
6600
6544
|
while (inductionVariable < size);
|
|
@@ -6610,10 +6554,8 @@
|
|
|
6610
6554
|
do {
|
|
6611
6555
|
var index_0 = inductionVariable_0;
|
|
6612
6556
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
var tmp$ret$3 = measureColumn($this, index_0, t, availableWidth);
|
|
6616
|
-
list_0.e(tmp$ret$3);
|
|
6557
|
+
var tmp$ret$5 = measureColumn($this, index_0, t, availableWidth);
|
|
6558
|
+
list_0.e(tmp$ret$5);
|
|
6617
6559
|
}
|
|
6618
6560
|
while (inductionVariable_0 < size_0);
|
|
6619
6561
|
var measurements = list_0;
|
|
@@ -6623,9 +6565,8 @@
|
|
|
6623
6565
|
var _iterator__ex2g4s = measurements.p();
|
|
6624
6566
|
while (_iterator__ex2g4s.q()) {
|
|
6625
6567
|
var item = _iterator__ex2g4s.r();
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
destination.e(tmp$ret$7);
|
|
6568
|
+
var tmp$ret$11 = item.r29_1;
|
|
6569
|
+
destination.e(tmp$ret$11);
|
|
6629
6570
|
}
|
|
6630
6571
|
var widths = destination;
|
|
6631
6572
|
// Inline function 'kotlin.collections.groupBy' call
|
|
@@ -6635,13 +6576,11 @@
|
|
|
6635
6576
|
var _iterator__ex2g4s_0 = tmp0.p();
|
|
6636
6577
|
while (_iterator__ex2g4s_0.q()) {
|
|
6637
6578
|
var element = _iterator__ex2g4s_0.r();
|
|
6638
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6639
6579
|
var key = element.ae_1.x2a_1;
|
|
6640
6580
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
6641
6581
|
var value = destination_0.w1(key);
|
|
6642
6582
|
var tmp;
|
|
6643
6583
|
if (value == null) {
|
|
6644
|
-
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
6645
6584
|
var answer = ArrayList_init_$Create$();
|
|
6646
6585
|
destination_0.e2(key, answer);
|
|
6647
6586
|
tmp = answer;
|
|
@@ -6658,9 +6597,7 @@
|
|
|
6658
6597
|
var _iterator__ex2g4s_1 = destination_0.x().p();
|
|
6659
6598
|
while (_iterator__ex2g4s_1.q()) {
|
|
6660
6599
|
var element_0 = _iterator__ex2g4s_1.r();
|
|
6661
|
-
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
6662
6600
|
var tmp_0 = element_0.y();
|
|
6663
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6664
6601
|
// Inline function 'kotlin.collections.map' call
|
|
6665
6602
|
var this_0 = element_0.z();
|
|
6666
6603
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -6668,9 +6605,8 @@
|
|
|
6668
6605
|
var _iterator__ex2g4s_2 = this_0.p();
|
|
6669
6606
|
while (_iterator__ex2g4s_2.q()) {
|
|
6670
6607
|
var item_0 = _iterator__ex2g4s_2.r();
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
destination_2.e(tmp$ret$15);
|
|
6608
|
+
var tmp$ret$19 = item_0.zd_1;
|
|
6609
|
+
destination_2.e(tmp$ret$19);
|
|
6674
6610
|
}
|
|
6675
6611
|
destination_1.e2(tmp_0, destination_2);
|
|
6676
6612
|
}
|
|
@@ -6682,16 +6618,13 @@
|
|
|
6682
6618
|
var _iterator__ex2g4s_3 = shrinkPriorities.x().p();
|
|
6683
6619
|
while (_iterator__ex2g4s_3.q()) {
|
|
6684
6620
|
var element_1 = _iterator__ex2g4s_3.r();
|
|
6685
|
-
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
6686
6621
|
var tmp_1 = element_1.y();
|
|
6687
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6688
6622
|
// Inline function 'kotlin.collections.sumOf' call
|
|
6689
6623
|
var sum = 0;
|
|
6690
6624
|
var _iterator__ex2g4s_4 = element_1.z().p();
|
|
6691
6625
|
while (_iterator__ex2g4s_4.q()) {
|
|
6692
6626
|
var element_2 = _iterator__ex2g4s_4.r();
|
|
6693
6627
|
var tmp_2 = sum;
|
|
6694
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>.<anonymous>' call
|
|
6695
6628
|
sum = tmp_2 + measurements.t(element_2).q29_1 | 0;
|
|
6696
6629
|
}
|
|
6697
6630
|
var tmp_3 = sum;
|
|
@@ -6701,12 +6634,11 @@
|
|
|
6701
6634
|
while (_iterator__ex2g4s_5.q()) {
|
|
6702
6635
|
var element_3 = _iterator__ex2g4s_5.r();
|
|
6703
6636
|
var tmp_4 = sum_0;
|
|
6704
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>.<anonymous>' call
|
|
6705
6637
|
sum_0 = tmp_4 + measurements.t(element_3).r29_1 | 0;
|
|
6706
6638
|
}
|
|
6707
|
-
var tmp$ret$
|
|
6708
|
-
var tmp$ret$
|
|
6709
|
-
destination_3.e2(tmp_1, tmp$ret$
|
|
6639
|
+
var tmp$ret$30 = sum_0;
|
|
6640
|
+
var tmp$ret$31 = new WidthRange(tmp_3, tmp$ret$30);
|
|
6641
|
+
destination_3.e2(tmp_1, tmp$ret$31);
|
|
6710
6642
|
}
|
|
6711
6643
|
var priorityMeasurements = destination_3;
|
|
6712
6644
|
var remainingWidth = availableWidth;
|
|
@@ -6716,12 +6648,11 @@
|
|
|
6716
6648
|
var this_1 = priorityMeasurements.x();
|
|
6717
6649
|
// Inline function 'kotlin.comparisons.compareByDescending' call
|
|
6718
6650
|
var tmp_5 = TableImpl$calculateColumnWidths$lambda;
|
|
6719
|
-
var tmp$ret$
|
|
6651
|
+
var tmp$ret$36 = new sam$kotlin_Comparator$0(tmp_5);
|
|
6720
6652
|
// Inline function 'kotlin.collections.forEach' call
|
|
6721
|
-
var _iterator__ex2g4s_6 = sortedWith(this_1, tmp$ret$
|
|
6653
|
+
var _iterator__ex2g4s_6 = sortedWith(this_1, tmp$ret$36).p();
|
|
6722
6654
|
while (_iterator__ex2g4s_6.q()) {
|
|
6723
6655
|
var element_4 = _iterator__ex2g4s_6.r();
|
|
6724
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6725
6656
|
// Inline function 'kotlin.collections.component1' call
|
|
6726
6657
|
var p = element_4.y();
|
|
6727
6658
|
// Inline function 'kotlin.collections.component2' call
|
|
@@ -6733,7 +6664,6 @@
|
|
|
6733
6664
|
var _iterator__ex2g4s_7 = tmp0_0.p();
|
|
6734
6665
|
while (_iterator__ex2g4s_7.q()) {
|
|
6735
6666
|
var element_5 = _iterator__ex2g4s_7.r();
|
|
6736
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>.<anonymous>' call
|
|
6737
6667
|
if (element_5.y() < p) {
|
|
6738
6668
|
destination_4.e(element_5);
|
|
6739
6669
|
}
|
|
@@ -6744,7 +6674,6 @@
|
|
|
6744
6674
|
while (_iterator__ex2g4s_8.q()) {
|
|
6745
6675
|
var element_6 = _iterator__ex2g4s_8.r();
|
|
6746
6676
|
var tmp_6 = sum_1;
|
|
6747
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>.<anonymous>' call
|
|
6748
6677
|
sum_1 = tmp_6 + element_6.z().q29_1 | 0;
|
|
6749
6678
|
}
|
|
6750
6679
|
var lowerMin = sum_1;
|
|
@@ -6757,8 +6686,8 @@
|
|
|
6757
6686
|
var this_2 = allocatedWidths.x();
|
|
6758
6687
|
// Inline function 'kotlin.comparisons.compareByDescending' call
|
|
6759
6688
|
var tmp_7 = TableImpl$calculateColumnWidths$lambda_0;
|
|
6760
|
-
var tmp$ret$
|
|
6761
|
-
var _iterator__ex2g4s_9 = sortedWith(this_2, tmp$ret$
|
|
6689
|
+
var tmp$ret$48 = new sam$kotlin_Comparator$0(tmp_7);
|
|
6690
|
+
var _iterator__ex2g4s_9 = sortedWith(this_2, tmp$ret$48).p();
|
|
6762
6691
|
while (_iterator__ex2g4s_9.q()) {
|
|
6763
6692
|
var _destruct__k2r9zo = _iterator__ex2g4s_9.r();
|
|
6764
6693
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -6772,10 +6701,9 @@
|
|
|
6772
6701
|
var _iterator__ex2g4s_10 = indexes.p();
|
|
6773
6702
|
while (_iterator__ex2g4s_10.q()) {
|
|
6774
6703
|
var item_1 = _iterator__ex2g4s_10.r();
|
|
6775
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6776
6704
|
var tmp0_elvis_lhs = $this.f2b_1.t(item_1).z2a_1;
|
|
6777
|
-
var tmp$ret$
|
|
6778
|
-
destination_5.e(tmp$ret$
|
|
6705
|
+
var tmp$ret$52 = tmp0_elvis_lhs == null ? measurements.t(item_1).r29_1 : tmp0_elvis_lhs;
|
|
6706
|
+
destination_5.e(tmp$ret$52);
|
|
6779
6707
|
}
|
|
6780
6708
|
var weights = destination_5;
|
|
6781
6709
|
var distributedWidths = distributeWidths($this, weights, w);
|
|
@@ -6797,7 +6725,6 @@
|
|
|
6797
6725
|
var _iterator__ex2g4s = weights.p();
|
|
6798
6726
|
while (_iterator__ex2g4s.q()) {
|
|
6799
6727
|
var item = _iterator__ex2g4s.r();
|
|
6800
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.distributeWidths.<anonymous>' call
|
|
6801
6728
|
destination.e(0);
|
|
6802
6729
|
}
|
|
6803
6730
|
return destination;
|
|
@@ -6808,7 +6735,6 @@
|
|
|
6808
6735
|
while (_iterator__ex2g4s_0.q()) {
|
|
6809
6736
|
var element = _iterator__ex2g4s_0.r();
|
|
6810
6737
|
var tmp = sum_0;
|
|
6811
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.distributeWidths.<anonymous>' call
|
|
6812
6738
|
sum_0 = tmp + element;
|
|
6813
6739
|
}
|
|
6814
6740
|
var totalWeight = sum_0;
|
|
@@ -6818,7 +6744,6 @@
|
|
|
6818
6744
|
var _iterator__ex2g4s_1 = weights.p();
|
|
6819
6745
|
while (_iterator__ex2g4s_1.q()) {
|
|
6820
6746
|
var item_0 = _iterator__ex2g4s_1.r();
|
|
6821
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.distributeWidths.<anonymous>' call
|
|
6822
6747
|
var tmp$ret$6 = numberToInt(item_0 / totalWeight * totalWidth);
|
|
6823
6748
|
destination_0.e(tmp$ret$6);
|
|
6824
6749
|
}
|
|
@@ -6830,7 +6755,6 @@
|
|
|
6830
6755
|
do {
|
|
6831
6756
|
var index = inductionVariable;
|
|
6832
6757
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6833
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.distributeWidths.<anonymous>' call
|
|
6834
6758
|
widths.a2(index, widths.t(index) + 1 | 0);
|
|
6835
6759
|
}
|
|
6836
6760
|
while (inductionVariable < times);
|
|
@@ -6872,17 +6796,13 @@
|
|
|
6872
6796
|
};
|
|
6873
6797
|
function TableImpl$calculateColumnWidths$lambda(a, b) {
|
|
6874
6798
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
6875
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6876
6799
|
var tmp = b.y();
|
|
6877
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6878
6800
|
var tmp$ret$1 = a.y();
|
|
6879
6801
|
return compareValues(tmp, tmp$ret$1);
|
|
6880
6802
|
}
|
|
6881
6803
|
function TableImpl$calculateColumnWidths$lambda_0(a, b) {
|
|
6882
6804
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
6883
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6884
6805
|
var tmp = b.y();
|
|
6885
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.calculateColumnWidths.<anonymous>' call
|
|
6886
6806
|
var tmp$ret$1 = a.y();
|
|
6887
6807
|
return compareValues(tmp, tmp$ret$1);
|
|
6888
6808
|
}
|
|
@@ -6899,13 +6819,12 @@
|
|
|
6899
6819
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6900
6820
|
// Inline function 'kotlin.require' call
|
|
6901
6821
|
if (!!this.a2b_1.m()) {
|
|
6902
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.<anonymous>' call
|
|
6903
6822
|
var message = 'Table cannot be empty';
|
|
6904
6823
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
6905
6824
|
}
|
|
6906
6825
|
var tmp = this;
|
|
6907
6826
|
var tmp0 = this.f2b_1;
|
|
6908
|
-
var tmp$ret$
|
|
6827
|
+
var tmp$ret$3;
|
|
6909
6828
|
$l$block_0: {
|
|
6910
6829
|
// Inline function 'kotlin.collections.any' call
|
|
6911
6830
|
var tmp_0;
|
|
@@ -6915,21 +6834,20 @@
|
|
|
6915
6834
|
tmp_0 = false;
|
|
6916
6835
|
}
|
|
6917
6836
|
if (tmp_0) {
|
|
6918
|
-
tmp$ret$
|
|
6837
|
+
tmp$ret$3 = false;
|
|
6919
6838
|
break $l$block_0;
|
|
6920
6839
|
}
|
|
6921
6840
|
var _iterator__ex2g4s = tmp0.p();
|
|
6922
6841
|
while (_iterator__ex2g4s.q()) {
|
|
6923
6842
|
var element = _iterator__ex2g4s.r();
|
|
6924
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.expand.<anonymous>' call
|
|
6925
6843
|
if (!(element.z2a_1 == null)) {
|
|
6926
|
-
tmp$ret$
|
|
6844
|
+
tmp$ret$3 = true;
|
|
6927
6845
|
break $l$block_0;
|
|
6928
6846
|
}
|
|
6929
6847
|
}
|
|
6930
|
-
tmp$ret$
|
|
6848
|
+
tmp$ret$3 = false;
|
|
6931
6849
|
}
|
|
6932
|
-
tmp.i2b_1 = tmp$ret$
|
|
6850
|
+
tmp.i2b_1 = tmp$ret$3;
|
|
6933
6851
|
this.j2b_1 = this.f2b_1.s();
|
|
6934
6852
|
var tmp_1 = this;
|
|
6935
6853
|
// Inline function 'kotlin.collections.List' call
|
|
@@ -6942,8 +6860,6 @@
|
|
|
6942
6860
|
do {
|
|
6943
6861
|
var index = inductionVariable;
|
|
6944
6862
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6945
|
-
// Inline function 'kotlin.collections.MutableList.<anonymous>' call
|
|
6946
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.rowBorders.<anonymous>' call
|
|
6947
6863
|
var tmp_2;
|
|
6948
6864
|
if (index === 0 && !(this.g2b_1 == null)) {
|
|
6949
6865
|
tmp_2 = this.g2b_1.y29_1;
|
|
@@ -6951,7 +6867,7 @@
|
|
|
6951
6867
|
tmp_2 = this.g2b_1.a2a_1;
|
|
6952
6868
|
} else {
|
|
6953
6869
|
var tmp0_0 = until(0, this.j2b_1);
|
|
6954
|
-
var tmp$ret$
|
|
6870
|
+
var tmp$ret$5;
|
|
6955
6871
|
$l$block_2: {
|
|
6956
6872
|
// Inline function 'kotlin.collections.any' call
|
|
6957
6873
|
var tmp_3;
|
|
@@ -6961,7 +6877,7 @@
|
|
|
6961
6877
|
tmp_3 = false;
|
|
6962
6878
|
}
|
|
6963
6879
|
if (tmp_3) {
|
|
6964
|
-
tmp$ret$
|
|
6880
|
+
tmp$ret$5 = false;
|
|
6965
6881
|
break $l$block_2;
|
|
6966
6882
|
}
|
|
6967
6883
|
var inductionVariable_0 = tmp0_0.yf_1;
|
|
@@ -6970,20 +6886,19 @@
|
|
|
6970
6886
|
do {
|
|
6971
6887
|
var element_0 = inductionVariable_0;
|
|
6972
6888
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6973
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.rowBorders.<anonymous>.<anonymous>' call
|
|
6974
6889
|
var x = element_0;
|
|
6975
6890
|
if (get_t(getCell(this, x, index)) || get_b(getCell(this, x, index - 1 | 0))) {
|
|
6976
|
-
tmp$ret$
|
|
6891
|
+
tmp$ret$5 = true;
|
|
6977
6892
|
break $l$block_2;
|
|
6978
6893
|
}
|
|
6979
6894
|
}
|
|
6980
6895
|
while (!(element_0 === last));
|
|
6981
|
-
tmp$ret$
|
|
6896
|
+
tmp$ret$5 = false;
|
|
6982
6897
|
}
|
|
6983
|
-
tmp_2 = tmp$ret$
|
|
6898
|
+
tmp_2 = tmp$ret$5;
|
|
6984
6899
|
}
|
|
6985
|
-
var tmp$ret$
|
|
6986
|
-
list.e(tmp$ret$
|
|
6900
|
+
var tmp$ret$7 = tmp_2;
|
|
6901
|
+
list.e(tmp$ret$7);
|
|
6987
6902
|
}
|
|
6988
6903
|
while (inductionVariable < size);
|
|
6989
6904
|
tmp_1.k2b_1 = list;
|
|
@@ -6998,8 +6913,6 @@
|
|
|
6998
6913
|
do {
|
|
6999
6914
|
var index_0 = inductionVariable_1;
|
|
7000
6915
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
7001
|
-
// Inline function 'kotlin.collections.MutableList.<anonymous>' call
|
|
7002
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.columnBorders.<anonymous>' call
|
|
7003
6916
|
var tmp_5;
|
|
7004
6917
|
if (index_0 === 0 && !(this.g2b_1 == null)) {
|
|
7005
6918
|
tmp_5 = this.g2b_1.x29_1;
|
|
@@ -7007,7 +6920,7 @@
|
|
|
7007
6920
|
tmp_5 = this.g2b_1.z29_1;
|
|
7008
6921
|
} else {
|
|
7009
6922
|
var tmp0_1 = get_indices(this.a2b_1);
|
|
7010
|
-
var tmp$ret$
|
|
6923
|
+
var tmp$ret$12;
|
|
7011
6924
|
$l$block_4: {
|
|
7012
6925
|
// Inline function 'kotlin.collections.any' call
|
|
7013
6926
|
var tmp_6;
|
|
@@ -7017,7 +6930,7 @@
|
|
|
7017
6930
|
tmp_6 = false;
|
|
7018
6931
|
}
|
|
7019
6932
|
if (tmp_6) {
|
|
7020
|
-
tmp$ret$
|
|
6933
|
+
tmp$ret$12 = false;
|
|
7021
6934
|
break $l$block_4;
|
|
7022
6935
|
}
|
|
7023
6936
|
var inductionVariable_2 = tmp0_1.yf_1;
|
|
@@ -7026,26 +6939,25 @@
|
|
|
7026
6939
|
do {
|
|
7027
6940
|
var element_1 = inductionVariable_2;
|
|
7028
6941
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
7029
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.columnBorders.<anonymous>.<anonymous>' call
|
|
7030
6942
|
var y = element_1;
|
|
7031
6943
|
if (get_l(getCell(this, index_0, y)) || get_r(getCell(this, index_0 - 1 | 0, y))) {
|
|
7032
|
-
tmp$ret$
|
|
6944
|
+
tmp$ret$12 = true;
|
|
7033
6945
|
break $l$block_4;
|
|
7034
6946
|
}
|
|
7035
6947
|
}
|
|
7036
6948
|
while (!(element_1 === last_0));
|
|
7037
|
-
tmp$ret$
|
|
6949
|
+
tmp$ret$12 = false;
|
|
7038
6950
|
}
|
|
7039
|
-
tmp_5 = tmp$ret$
|
|
6951
|
+
tmp_5 = tmp$ret$12;
|
|
7040
6952
|
}
|
|
7041
|
-
var tmp$ret$
|
|
7042
|
-
list_0.e(tmp$ret$
|
|
6953
|
+
var tmp$ret$14 = tmp_5;
|
|
6954
|
+
list_0.e(tmp$ret$14);
|
|
7043
6955
|
}
|
|
7044
6956
|
while (inductionVariable_1 < size_0);
|
|
7045
6957
|
tmp_4.l2b_1 = list_0;
|
|
7046
6958
|
var tmp_7 = this;
|
|
7047
6959
|
var tmp0_2 = this.l2b_1;
|
|
7048
|
-
var tmp$ret$
|
|
6960
|
+
var tmp$ret$19;
|
|
7049
6961
|
$l$block_5: {
|
|
7050
6962
|
// Inline function 'kotlin.collections.count' call
|
|
7051
6963
|
var tmp_8;
|
|
@@ -7055,22 +6967,21 @@
|
|
|
7055
6967
|
tmp_8 = false;
|
|
7056
6968
|
}
|
|
7057
6969
|
if (tmp_8) {
|
|
7058
|
-
tmp$ret$
|
|
6970
|
+
tmp$ret$19 = 0;
|
|
7059
6971
|
break $l$block_5;
|
|
7060
6972
|
}
|
|
7061
6973
|
var count = 0;
|
|
7062
6974
|
var _iterator__ex2g4s_0 = tmp0_2.p();
|
|
7063
6975
|
while (_iterator__ex2g4s_0.q()) {
|
|
7064
6976
|
var element_2 = _iterator__ex2g4s_0.r();
|
|
7065
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.borderWidth.<anonymous>' call
|
|
7066
6977
|
if (element_2) {
|
|
7067
6978
|
count = count + 1 | 0;
|
|
7068
6979
|
checkCountOverflow(count);
|
|
7069
6980
|
}
|
|
7070
6981
|
}
|
|
7071
|
-
tmp$ret$
|
|
6982
|
+
tmp$ret$19 = count;
|
|
7072
6983
|
}
|
|
7073
|
-
tmp_7.m2b_1 = tmp$ret$
|
|
6984
|
+
tmp_7.m2b_1 = tmp$ret$19;
|
|
7074
6985
|
}
|
|
7075
6986
|
protoOf(TableImpl).c29 = function (t, width) {
|
|
7076
6987
|
if (this.i2b_1)
|
|
@@ -7086,8 +6997,6 @@
|
|
|
7086
6997
|
do {
|
|
7087
6998
|
var index = inductionVariable;
|
|
7088
6999
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7089
|
-
// Inline function 'kotlin.collections.MutableList.<anonymous>' call
|
|
7090
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.measure.<anonymous>' call
|
|
7091
7000
|
var tmp$ret$0 = measureColumn(this, index, t, remainingWidth);
|
|
7092
7001
|
list.e(tmp$ret$0);
|
|
7093
7002
|
}
|
|
@@ -7099,7 +7008,6 @@
|
|
|
7099
7008
|
while (_iterator__ex2g4s.q()) {
|
|
7100
7009
|
var element = _iterator__ex2g4s.r();
|
|
7101
7010
|
var tmp = sum;
|
|
7102
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.measure.<anonymous>' call
|
|
7103
7011
|
sum = tmp + element.q29_1 | 0;
|
|
7104
7012
|
}
|
|
7105
7013
|
var tmp_0 = sum + this.m2b_1 | 0;
|
|
@@ -7109,11 +7017,10 @@
|
|
|
7109
7017
|
while (_iterator__ex2g4s_0.q()) {
|
|
7110
7018
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
7111
7019
|
var tmp_1 = sum_0;
|
|
7112
|
-
// Inline function 'com.github.ajalt.mordant.table.TableImpl.measure.<anonymous>' call
|
|
7113
7020
|
sum_0 = tmp_1 + element_0.r29_1 | 0;
|
|
7114
7021
|
}
|
|
7115
|
-
var tmp$ret$
|
|
7116
|
-
return new WidthRange(tmp_0, tmp$ret$
|
|
7022
|
+
var tmp$ret$8 = sum_0;
|
|
7023
|
+
return new WidthRange(tmp_0, tmp$ret$8 + this.m2b_1 | 0);
|
|
7117
7024
|
};
|
|
7118
7025
|
protoOf(TableImpl).d29 = function (t, width) {
|
|
7119
7026
|
return (new TableRenderer(this.a2b_1, this.b2b_1, this.c2b_1, this.d2b_1, this.e2b_1, this.j2b_1, calculateColumnWidths(this, t, width), this.l2b_1, this.k2b_1, this.g2b_1, t)).c2c();
|
|
@@ -7151,7 +7058,6 @@
|
|
|
7151
7058
|
null;
|
|
7152
7059
|
else {
|
|
7153
7060
|
// Inline function 'kotlin.let' call
|
|
7154
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.drawBottomBorder.<anonymous>' call
|
|
7155
7061
|
line.e(tmp61_safe_receiver);
|
|
7156
7062
|
}
|
|
7157
7063
|
}
|
|
@@ -7164,7 +7070,6 @@
|
|
|
7164
7070
|
null;
|
|
7165
7071
|
else {
|
|
7166
7072
|
// Inline function 'kotlin.let' call
|
|
7167
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.drawBottomBorder.<anonymous>' call
|
|
7168
7073
|
line.e(tmp62_safe_receiver);
|
|
7169
7074
|
}
|
|
7170
7075
|
}
|
|
@@ -7215,7 +7120,6 @@
|
|
|
7215
7120
|
null;
|
|
7216
7121
|
else {
|
|
7217
7122
|
// Inline function 'kotlin.let' call
|
|
7218
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.drawLeftBorderForColumn.<anonymous>' call
|
|
7219
7123
|
$this.b2c_1.t(tableLineY).e(tmp63_safe_receiver);
|
|
7220
7124
|
}
|
|
7221
7125
|
}
|
|
@@ -7258,8 +7162,6 @@
|
|
|
7258
7162
|
do {
|
|
7259
7163
|
var index = inductionVariable;
|
|
7260
7164
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7261
|
-
// Inline function 'kotlin.collections.MutableList.<anonymous>' call
|
|
7262
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.renderCell.<anonymous>' call
|
|
7263
7165
|
list.e(space);
|
|
7264
7166
|
}
|
|
7265
7167
|
while (inductionVariable < size);
|
|
@@ -7276,14 +7178,13 @@
|
|
|
7276
7178
|
var element = inductionVariable_0;
|
|
7277
7179
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
7278
7180
|
var tmp_0 = sum;
|
|
7279
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.renderCell.<anonymous>' call
|
|
7280
7181
|
var it = element;
|
|
7281
7182
|
sum = tmp_0 + $this.u2b_1.t(it) | 0;
|
|
7282
7183
|
}
|
|
7283
7184
|
while (!(element === last));
|
|
7284
7185
|
var tmp_1 = sum;
|
|
7285
7186
|
var tmp4 = until(x + 1 | 0, x + cell.n2a_1 | 0);
|
|
7286
|
-
var tmp$ret$
|
|
7187
|
+
var tmp$ret$7;
|
|
7287
7188
|
$l$block: {
|
|
7288
7189
|
// Inline function 'kotlin.collections.count' call
|
|
7289
7190
|
var tmp_2;
|
|
@@ -7293,7 +7194,7 @@
|
|
|
7293
7194
|
tmp_2 = false;
|
|
7294
7195
|
}
|
|
7295
7196
|
if (tmp_2) {
|
|
7296
|
-
tmp$ret$
|
|
7197
|
+
tmp$ret$7 = 0;
|
|
7297
7198
|
break $l$block;
|
|
7298
7199
|
}
|
|
7299
7200
|
var count = 0;
|
|
@@ -7303,7 +7204,6 @@
|
|
|
7303
7204
|
do {
|
|
7304
7205
|
var element_0 = inductionVariable_1;
|
|
7305
7206
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
7306
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.renderCell.<anonymous>' call
|
|
7307
7207
|
var it_0 = element_0;
|
|
7308
7208
|
if ($this.v2b_1.t(it_0 + 1 | 0)) {
|
|
7309
7209
|
count = count + 1 | 0;
|
|
@@ -7311,9 +7211,9 @@
|
|
|
7311
7211
|
}
|
|
7312
7212
|
}
|
|
7313
7213
|
while (!(element_0 === last_0));
|
|
7314
|
-
tmp$ret$
|
|
7214
|
+
tmp$ret$7 = count;
|
|
7315
7215
|
}
|
|
7316
|
-
var cellWidth = coerceAtLeast(tmp_1 + tmp$ret$
|
|
7216
|
+
var cellWidth = coerceAtLeast(tmp_1 + tmp$ret$7 | 0, 0);
|
|
7317
7217
|
// Inline function 'kotlin.collections.sumOf' call
|
|
7318
7218
|
var sum_0 = 0;
|
|
7319
7219
|
var progression_0 = until(y, y + cell.m2a_1 | 0);
|
|
@@ -7324,14 +7224,13 @@
|
|
|
7324
7224
|
var element_1 = inductionVariable_2;
|
|
7325
7225
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
7326
7226
|
var tmp_3 = sum_0;
|
|
7327
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.renderCell.<anonymous>' call
|
|
7328
7227
|
var it_1 = element_1;
|
|
7329
7228
|
sum_0 = tmp_3 + $this.a2c_1.t(it_1) | 0;
|
|
7330
7229
|
}
|
|
7331
7230
|
while (!(element_1 === last_1));
|
|
7332
7231
|
var tmp_4 = sum_0;
|
|
7333
7232
|
var tmp8 = until(y + 1 | 0, y + cell.m2a_1 | 0);
|
|
7334
|
-
var tmp$ret$
|
|
7233
|
+
var tmp$ret$11;
|
|
7335
7234
|
$l$block_0: {
|
|
7336
7235
|
// Inline function 'kotlin.collections.count' call
|
|
7337
7236
|
var tmp_5;
|
|
@@ -7341,7 +7240,7 @@
|
|
|
7341
7240
|
tmp_5 = false;
|
|
7342
7241
|
}
|
|
7343
7242
|
if (tmp_5) {
|
|
7344
|
-
tmp$ret$
|
|
7243
|
+
tmp$ret$11 = 0;
|
|
7345
7244
|
break $l$block_0;
|
|
7346
7245
|
}
|
|
7347
7246
|
var count_0 = 0;
|
|
@@ -7351,7 +7250,6 @@
|
|
|
7351
7250
|
do {
|
|
7352
7251
|
var element_2 = inductionVariable_3;
|
|
7353
7252
|
inductionVariable_3 = inductionVariable_3 + 1 | 0;
|
|
7354
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.renderCell.<anonymous>' call
|
|
7355
7253
|
var it_2 = element_2;
|
|
7356
7254
|
if ($this.w2b_1.t(it_2 + 1 | 0)) {
|
|
7357
7255
|
count_0 = count_0 + 1 | 0;
|
|
@@ -7359,9 +7257,9 @@
|
|
|
7359
7257
|
}
|
|
7360
7258
|
}
|
|
7361
7259
|
while (!(element_2 === last_2));
|
|
7362
|
-
tmp$ret$
|
|
7260
|
+
tmp$ret$11 = count_0;
|
|
7363
7261
|
}
|
|
7364
|
-
var cellHeight = tmp_4 + tmp$ret$
|
|
7262
|
+
var cellHeight = tmp_4 + tmp$ret$11 | 0;
|
|
7365
7263
|
tmp = setSize(cell.l2a_1.d29($this.y2b_1, cellWidth).g27(cell.s2a_1), cellWidth, cellHeight, cell.u2a_1, cell.t2a_1).c25_1;
|
|
7366
7264
|
} else {
|
|
7367
7265
|
noWhenBranchMatchedException();
|
|
@@ -7459,7 +7357,6 @@
|
|
|
7459
7357
|
var _iterator__ex2g4s = this_0.p();
|
|
7460
7358
|
while (_iterator__ex2g4s.q()) {
|
|
7461
7359
|
var item = _iterator__ex2g4s.r();
|
|
7462
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.renderedRows.<anonymous>' call
|
|
7463
7360
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
7464
7361
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
7465
7362
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(item, 10));
|
|
@@ -7469,7 +7366,6 @@
|
|
|
7469
7366
|
var item_0 = _iterator__ex2g4s_0.r();
|
|
7470
7367
|
var _unary__edvuaz = index;
|
|
7471
7368
|
index = _unary__edvuaz + 1 | 0;
|
|
7472
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.renderedRows.<anonymous>.<anonymous>' call
|
|
7473
7369
|
var x = checkIndexOverflow(_unary__edvuaz);
|
|
7474
7370
|
var tmp_0;
|
|
7475
7371
|
if (item_0 instanceof Content) {
|
|
@@ -7483,7 +7379,6 @@
|
|
|
7483
7379
|
var element = inductionVariable;
|
|
7484
7380
|
inductionVariable = inductionVariable + 1 | 0;
|
|
7485
7381
|
var tmp_1 = sum_0;
|
|
7486
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.renderedRows.<anonymous>.<anonymous>.<anonymous>' call
|
|
7487
7382
|
var it = element;
|
|
7488
7383
|
sum_0 = tmp_1 + this.u2b_1.t(it) | 0;
|
|
7489
7384
|
}
|
|
@@ -7510,7 +7405,6 @@
|
|
|
7510
7405
|
var item_1 = _iterator__ex2g4s_1.r();
|
|
7511
7406
|
var _unary__edvuaz_0 = index_0;
|
|
7512
7407
|
index_0 = _unary__edvuaz_0 + 1 | 0;
|
|
7513
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.rowHeights.<anonymous>' call
|
|
7514
7408
|
var y = checkIndexOverflow(_unary__edvuaz_0);
|
|
7515
7409
|
var tmp0 = withIndex(item_1);
|
|
7516
7410
|
var tmp$ret$8;
|
|
@@ -7521,7 +7415,6 @@
|
|
|
7521
7415
|
tmp$ret$8 = null;
|
|
7522
7416
|
break $l$block;
|
|
7523
7417
|
}
|
|
7524
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.rowHeights.<anonymous>.<anonymous>' call
|
|
7525
7418
|
var destruct = iterator.r();
|
|
7526
7419
|
var x_0 = destruct.w9();
|
|
7527
7420
|
var it_0 = destruct.x9();
|
|
@@ -7530,7 +7423,6 @@
|
|
|
7530
7423
|
var tmp0_elvis_lhs = tmp59_safe_receiver == null ? null : tmp59_safe_receiver.b2a();
|
|
7531
7424
|
var maxValue = tmp_3 / (tmp0_elvis_lhs == null ? 1 : tmp0_elvis_lhs) | 0;
|
|
7532
7425
|
while (iterator.q()) {
|
|
7533
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.rowHeights.<anonymous>.<anonymous>' call
|
|
7534
7426
|
var destruct_0 = iterator.r();
|
|
7535
7427
|
var x_1 = destruct_0.w9();
|
|
7536
7428
|
var it_1 = destruct_0.x9();
|
|
@@ -7570,7 +7462,6 @@
|
|
|
7570
7462
|
var _iterator__ex2g4s_2 = tmp0_0.p();
|
|
7571
7463
|
while (_iterator__ex2g4s_2.q()) {
|
|
7572
7464
|
var element_0 = _iterator__ex2g4s_2.r();
|
|
7573
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.tableLines.<anonymous>' call
|
|
7574
7465
|
if (element_0) {
|
|
7575
7466
|
count = count + 1 | 0;
|
|
7576
7467
|
checkCountOverflow(count);
|
|
@@ -7587,8 +7478,6 @@
|
|
|
7587
7478
|
do {
|
|
7588
7479
|
var index_1 = inductionVariable_0;
|
|
7589
7480
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
7590
|
-
// Inline function 'kotlin.collections.MutableList.<anonymous>' call
|
|
7591
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.tableLines.<anonymous>' call
|
|
7592
7481
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7593
7482
|
var tmp$ret$17 = ArrayList_init_$Create$();
|
|
7594
7483
|
list.e(tmp$ret$17);
|
|
@@ -7630,7 +7519,6 @@
|
|
|
7630
7519
|
var _iterator__ex2g4s = this_0.p();
|
|
7631
7520
|
while (_iterator__ex2g4s.q()) {
|
|
7632
7521
|
var item = _iterator__ex2g4s.r();
|
|
7633
|
-
// Inline function 'com.github.ajalt.mordant.table.TableRenderer.render.<anonymous>' call
|
|
7634
7522
|
var tmp$ret$0 = Line_init_$Create$(item);
|
|
7635
7523
|
destination.e(tmp$ret$0);
|
|
7636
7524
|
}
|
|
@@ -7681,19 +7569,16 @@
|
|
|
7681
7569
|
this.z2a_1 = expandWeight;
|
|
7682
7570
|
// Inline function 'kotlin.require' call
|
|
7683
7571
|
if (!(this.y2a_1 == null || this.y2a_1 > 0)) {
|
|
7684
|
-
// Inline function 'com.github.ajalt.mordant.table.ColumnWidth.<anonymous>' call
|
|
7685
7572
|
var message = 'width must be greater than zero';
|
|
7686
7573
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
7687
7574
|
}
|
|
7688
7575
|
// Inline function 'kotlin.require' call
|
|
7689
7576
|
if (!(this.z2a_1 == null || this.z2a_1 > 0.0)) {
|
|
7690
|
-
// Inline function 'com.github.ajalt.mordant.table.ColumnWidth.<anonymous>' call
|
|
7691
7577
|
var message_0 = 'expandWeight must be greater than zero';
|
|
7692
7578
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
7693
7579
|
}
|
|
7694
7580
|
// Inline function 'kotlin.require' call
|
|
7695
7581
|
if (!(this.y2a_1 == null || this.z2a_1 == null)) {
|
|
7696
|
-
// Inline function 'com.github.ajalt.mordant.table.ColumnWidth.<anonymous>' call
|
|
7697
7582
|
var message_1 = 'Cannot set both width and expandWeight';
|
|
7698
7583
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
7699
7584
|
}
|
|
@@ -7747,7 +7632,6 @@
|
|
|
7747
7632
|
var _iterator__ex2g4s = cells.p();
|
|
7748
7633
|
while (_iterator__ex2g4s.q()) {
|
|
7749
7634
|
var element = _iterator__ex2g4s.r();
|
|
7750
|
-
// Inline function 'com.github.ajalt.mordant.table.VerticalLayoutBuilderInstance.cellsFrom.<anonymous>' call
|
|
7751
7635
|
this.e2c_1.l2d([element], init);
|
|
7752
7636
|
}
|
|
7753
7637
|
};
|
|
@@ -7848,7 +7732,6 @@
|
|
|
7848
7732
|
var _iterator__ex2g4s = cells.p();
|
|
7849
7733
|
while (_iterator__ex2g4s.q()) {
|
|
7850
7734
|
var item = _iterator__ex2g4s.r();
|
|
7851
|
-
// Inline function 'com.github.ajalt.mordant.table.SectionBuilderInstance.rowFrom.<anonymous>' call
|
|
7852
7735
|
var tmp$ret$1 = new CellBuilderInstance(getCellContent(item));
|
|
7853
7736
|
destination.e(tmp$ret$1);
|
|
7854
7737
|
}
|
|
@@ -8017,8 +7900,6 @@
|
|
|
8017
7900
|
do {
|
|
8018
7901
|
var index = inductionVariable;
|
|
8019
7902
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8020
|
-
// Inline function 'kotlin.collections.MutableList.<anonymous>' call
|
|
8021
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildSection.<anonymous>' call
|
|
8022
7903
|
var tmp$ret$0 = ArrayList_init_$Create$_0(section.i2d_1.s());
|
|
8023
7904
|
list.e(tmp$ret$0);
|
|
8024
7905
|
}
|
|
@@ -8054,14 +7935,12 @@
|
|
|
8054
7935
|
tmp$ret$0 = null;
|
|
8055
7936
|
break $l$block;
|
|
8056
7937
|
}
|
|
8057
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8058
7938
|
var it = iterator.r();
|
|
8059
7939
|
var tmp89_safe_receiver = getOrNull(section.i2d_1, it);
|
|
8060
7940
|
var tmp90_safe_receiver = tmp89_safe_receiver == null ? null : tmp89_safe_receiver.x2d_1;
|
|
8061
7941
|
var tmp0_elvis_lhs = tmp90_safe_receiver == null ? null : tmp90_safe_receiver.s();
|
|
8062
7942
|
var maxValue = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
8063
7943
|
while (iterator.q()) {
|
|
8064
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8065
7944
|
var it_0 = iterator.r();
|
|
8066
7945
|
var tmp89_safe_receiver_0 = getOrNull(section.i2d_1, it_0);
|
|
8067
7946
|
var tmp90_safe_receiver_0 = tmp89_safe_receiver_0 == null ? null : tmp89_safe_receiver_0.x2d_1;
|
|
@@ -8082,7 +7961,6 @@
|
|
|
8082
7961
|
// Inline function 'com.github.ajalt.mordant.widgets.Companion.invoke' call
|
|
8083
7962
|
// Inline function 'kotlin.apply' call
|
|
8084
7963
|
var this_0 = new Builder(0, 0, 0, 0);
|
|
8085
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8086
7964
|
this_0.j2e(1);
|
|
8087
7965
|
var b = this_0;
|
|
8088
7966
|
var tmp_0 = new Padding(b.f2e_1, b.g2e_1, b.h2e_1, b.i2e_1);
|
|
@@ -8122,7 +8000,6 @@
|
|
|
8122
8000
|
// Inline function 'kotlin.takeIf' call
|
|
8123
8001
|
var this_1 = borders.z29_1;
|
|
8124
8002
|
var tmp_10;
|
|
8125
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8126
8003
|
if (columnSpan === 1) {
|
|
8127
8004
|
tmp_10 = this_1;
|
|
8128
8005
|
} else {
|
|
@@ -8132,14 +8009,13 @@
|
|
|
8132
8009
|
// Inline function 'kotlin.takeIf' call
|
|
8133
8010
|
var this_2 = borders.a2a_1;
|
|
8134
8011
|
var tmp_12;
|
|
8135
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8136
8012
|
if (rowSpan === 1) {
|
|
8137
8013
|
tmp_12 = this_2;
|
|
8138
8014
|
} else {
|
|
8139
8015
|
tmp_12 = null;
|
|
8140
8016
|
}
|
|
8141
|
-
var tmp$ret$
|
|
8142
|
-
var builtCell = new Content(content, rowSpan, columnSpan, borders.x29_1, borders.y29_1, tmp_11, tmp$ret$
|
|
8017
|
+
var tmp$ret$10 = tmp_12;
|
|
8018
|
+
var builtCell = new Content(content, rowSpan, columnSpan, borders.x29_1, borders.y29_1, tmp_11, tmp$ret$10, style, textAlign, verticalAlign, padding.n2e_1 + padding.l2e_1 | 0);
|
|
8143
8019
|
var lastX = (startingX + columnSpan | 0) - 1 | 0;
|
|
8144
8020
|
var inductionVariable = startingX;
|
|
8145
8021
|
if (inductionVariable <= lastX)
|
|
@@ -8159,7 +8035,6 @@
|
|
|
8159
8035
|
// Inline function 'kotlin.takeIf' call
|
|
8160
8036
|
var this_3 = borders.x29_1;
|
|
8161
8037
|
var tmp_14;
|
|
8162
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8163
8038
|
if (x === startingX) {
|
|
8164
8039
|
tmp_14 = this_3;
|
|
8165
8040
|
} else {
|
|
@@ -8169,7 +8044,6 @@
|
|
|
8169
8044
|
// Inline function 'kotlin.takeIf' call
|
|
8170
8045
|
var this_4 = borders.y29_1;
|
|
8171
8046
|
var tmp_16;
|
|
8172
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8173
8047
|
if (y === startingY) {
|
|
8174
8048
|
tmp_16 = this_4;
|
|
8175
8049
|
} else {
|
|
@@ -8179,7 +8053,6 @@
|
|
|
8179
8053
|
// Inline function 'kotlin.takeIf' call
|
|
8180
8054
|
var this_5 = borders.z29_1;
|
|
8181
8055
|
var tmp_18;
|
|
8182
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8183
8056
|
if (x === lastX) {
|
|
8184
8057
|
tmp_18 = this_5;
|
|
8185
8058
|
} else {
|
|
@@ -8189,21 +8062,19 @@
|
|
|
8189
8062
|
// Inline function 'kotlin.takeIf' call
|
|
8190
8063
|
var this_6 = borders.a2a_1;
|
|
8191
8064
|
var tmp_20;
|
|
8192
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8193
8065
|
if (y === lastY) {
|
|
8194
8066
|
tmp_20 = this_6;
|
|
8195
8067
|
} else {
|
|
8196
8068
|
tmp_20 = null;
|
|
8197
8069
|
}
|
|
8198
|
-
var tmp$ret$
|
|
8199
|
-
tmp_13 = new SpanRef(builtCell, tmp_15, tmp_17, tmp_19, tmp$ret$
|
|
8070
|
+
var tmp$ret$18 = tmp_20;
|
|
8071
|
+
tmp_13 = new SpanRef(builtCell, tmp_15, tmp_17, tmp_19, tmp$ret$18);
|
|
8200
8072
|
}
|
|
8201
8073
|
var c = tmp_13;
|
|
8202
8074
|
var tableRow = getRow(rows, y);
|
|
8203
8075
|
var existing = getCell_0(tableRow, x);
|
|
8204
8076
|
// Inline function 'kotlin.require' call
|
|
8205
8077
|
if (!(existing === Empty_getInstance())) {
|
|
8206
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.insertCell.<anonymous>' call
|
|
8207
8078
|
var message = 'Invalid table: cell spans cannot overlap';
|
|
8208
8079
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
8209
8080
|
}
|
|
@@ -8274,7 +8145,6 @@
|
|
|
8274
8145
|
var iterator = listOf([this.e2e_1.c2d_1, this.e2e_1.d2d_1, this.e2e_1.e2d_1]).p();
|
|
8275
8146
|
if (!iterator.q())
|
|
8276
8147
|
throw NoSuchElementException_init_$Create$();
|
|
8277
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>' call
|
|
8278
8148
|
var tmp0 = iterator.r().i2d_1;
|
|
8279
8149
|
var tmp$ret$0;
|
|
8280
8150
|
$l$block: {
|
|
@@ -8284,10 +8154,8 @@
|
|
|
8284
8154
|
tmp$ret$0 = null;
|
|
8285
8155
|
break $l$block;
|
|
8286
8156
|
}
|
|
8287
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>.<anonymous>' call
|
|
8288
8157
|
var maxValue = iterator_0.r().x2d_1.s();
|
|
8289
8158
|
while (iterator_0.q()) {
|
|
8290
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>.<anonymous>' call
|
|
8291
8159
|
var v = iterator_0.r().x2d_1.s();
|
|
8292
8160
|
if (compareTo(maxValue, v) < 0) {
|
|
8293
8161
|
maxValue = v;
|
|
@@ -8298,7 +8166,6 @@
|
|
|
8298
8166
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
8299
8167
|
var maxValue_0 = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
8300
8168
|
while (iterator.q()) {
|
|
8301
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>' call
|
|
8302
8169
|
var tmp0_0 = iterator.r().i2d_1;
|
|
8303
8170
|
var tmp$ret$4;
|
|
8304
8171
|
$l$block_0: {
|
|
@@ -8308,10 +8175,8 @@
|
|
|
8308
8175
|
tmp$ret$4 = null;
|
|
8309
8176
|
break $l$block_0;
|
|
8310
8177
|
}
|
|
8311
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>.<anonymous>' call
|
|
8312
8178
|
var maxValue_1 = iterator_1.r().x2d_1.s();
|
|
8313
8179
|
while (iterator_1.q()) {
|
|
8314
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>.<anonymous>' call
|
|
8315
8180
|
var v_0 = iterator_1.r().x2d_1.s();
|
|
8316
8181
|
if (compareTo(maxValue_1, v_0) < 0) {
|
|
8317
8182
|
maxValue_1 = v_0;
|
|
@@ -8333,7 +8198,6 @@
|
|
|
8333
8198
|
var this_0 = flatten(listOf([header, body, footer]));
|
|
8334
8199
|
var tmp;
|
|
8335
8200
|
if (this_0.m()) {
|
|
8336
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>' call
|
|
8337
8201
|
var tmp0_elvis_lhs_1 = this.e2e_1.z2c_1;
|
|
8338
8202
|
var b = tmp0_elvis_lhs_1 == null ? Borders_ALL_getInstance() : tmp0_elvis_lhs_1;
|
|
8339
8203
|
var cell = new Content(EmptyWidget_instance, 1, 1, b.x29_1, b.y29_1, b.z29_1, b.a2a_1, null, TextAlign_LEFT_getInstance(), VerticalAlign_TOP_getInstance(), 0);
|
|
@@ -8346,10 +8210,8 @@
|
|
|
8346
8210
|
var iterator_2 = rows.p();
|
|
8347
8211
|
if (!iterator_2.q())
|
|
8348
8212
|
throw NoSuchElementException_init_$Create$();
|
|
8349
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>' call
|
|
8350
8213
|
var maxValue_2 = iterator_2.r().s();
|
|
8351
8214
|
while (iterator_2.q()) {
|
|
8352
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>' call
|
|
8353
8215
|
var v_2 = iterator_2.r().s();
|
|
8354
8216
|
if (compareTo(maxValue_2, v_2) < 0) {
|
|
8355
8217
|
maxValue_2 = v_2;
|
|
@@ -8365,8 +8227,6 @@
|
|
|
8365
8227
|
do {
|
|
8366
8228
|
var index = inductionVariable;
|
|
8367
8229
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8368
|
-
// Inline function 'kotlin.collections.MutableList.<anonymous>' call
|
|
8369
|
-
// Inline function 'com.github.ajalt.mordant.table.TableLayout.buildTable.<anonymous>' call
|
|
8370
8230
|
var tmp88_safe_receiver = this.e2e_1.b2d_1.w1(index);
|
|
8371
8231
|
var tmp0_elvis_lhs_2 = tmp88_safe_receiver == null ? null : tmp88_safe_receiver.p2e();
|
|
8372
8232
|
var tmp$ret$14 = tmp0_elvis_lhs_2 == null ? Companion_getInstance_3().m2c_1 : tmp0_elvis_lhs_2;
|
|
@@ -8403,7 +8263,6 @@
|
|
|
8403
8263
|
do {
|
|
8404
8264
|
var index = inductionVariable;
|
|
8405
8265
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8406
|
-
// Inline function 'com.github.ajalt.mordant.table.getRow.<anonymous>' call
|
|
8407
8266
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8408
8267
|
var tmp$ret$0 = ArrayList_init_$Create$();
|
|
8409
8268
|
_this__u8e3s4.e(tmp$ret$0);
|
|
@@ -8423,7 +8282,6 @@
|
|
|
8423
8282
|
do {
|
|
8424
8283
|
var index = inductionVariable;
|
|
8425
8284
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8426
|
-
// Inline function 'com.github.ajalt.mordant.table.ensureSize.<anonymous>' call
|
|
8427
8285
|
_this__u8e3s4.e(Empty_getInstance());
|
|
8428
8286
|
}
|
|
8429
8287
|
while (inductionVariable < times);
|
|
@@ -8442,7 +8300,6 @@
|
|
|
8442
8300
|
var _iterator__ex2g4s = this_0.p();
|
|
8443
8301
|
while (_iterator__ex2g4s.q()) {
|
|
8444
8302
|
var item = _iterator__ex2g4s.r();
|
|
8445
|
-
// Inline function 'com.github.ajalt.mordant.table.Companion.fromTableBuilder.<anonymous>' call
|
|
8446
8303
|
// Inline function 'kotlin.check' call
|
|
8447
8304
|
if (!(item.s() === 1)) {
|
|
8448
8305
|
throw IllegalStateException_init_$Create$('Check failed.');
|
|
@@ -8450,8 +8307,8 @@
|
|
|
8450
8307
|
var tmp = item.t(0);
|
|
8451
8308
|
var cell = tmp instanceof Content ? tmp : THROW_CCE();
|
|
8452
8309
|
aligned = aligned || !listOf([null, TextAlign_NONE_getInstance()]).d1(cell.t2a_1);
|
|
8453
|
-
var tmp$ret$
|
|
8454
|
-
destination.e(tmp$ret$
|
|
8310
|
+
var tmp$ret$1 = new VerticalLayoutCell(cell.l2a_1, cell.s2a_1, cell.t2a_1);
|
|
8311
|
+
destination.e(tmp$ret$1);
|
|
8455
8312
|
}
|
|
8456
8313
|
var cells = destination;
|
|
8457
8314
|
var tmp0_elvis_lhs = builder.u2c();
|
|
@@ -8469,7 +8326,6 @@
|
|
|
8469
8326
|
this.u2e_1 = hasAlignedCells;
|
|
8470
8327
|
// Inline function 'kotlin.require' call
|
|
8471
8328
|
if (!(this.r2e_1 >= 0)) {
|
|
8472
|
-
// Inline function 'com.github.ajalt.mordant.table.VerticalLayout.<anonymous>' call
|
|
8473
8329
|
var message = 'layout spacing cannot be negative';
|
|
8474
8330
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
8475
8331
|
}
|
|
@@ -8481,7 +8337,6 @@
|
|
|
8481
8337
|
var _iterator__ex2g4s = this.q2e_1.p();
|
|
8482
8338
|
$l$loop: while (_iterator__ex2g4s.q()) {
|
|
8483
8339
|
var it = _iterator__ex2g4s.r();
|
|
8484
|
-
// Inline function 'com.github.ajalt.mordant.table.VerticalLayout.measure.<anonymous>' call
|
|
8485
8340
|
var tmp0_elvis_lhs = it.v2e_1.c29(t, width);
|
|
8486
8341
|
var tmp;
|
|
8487
8342
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -8520,7 +8375,6 @@
|
|
|
8520
8375
|
do {
|
|
8521
8376
|
var index_0 = inductionVariable;
|
|
8522
8377
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8523
|
-
// Inline function 'com.github.ajalt.mordant.table.VerticalLayout.render.<anonymous>' call
|
|
8524
8378
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8525
8379
|
lines.e(spacingLine);
|
|
8526
8380
|
}
|
|
@@ -8533,7 +8387,6 @@
|
|
|
8533
8387
|
var this_0 = rendered.c25_1;
|
|
8534
8388
|
var tmp;
|
|
8535
8389
|
if (this_0.m()) {
|
|
8536
|
-
// Inline function 'com.github.ajalt.mordant.table.VerticalLayout.render.<anonymous>' call
|
|
8537
8390
|
tmp = listOf_0(get_EMPTY_LINE());
|
|
8538
8391
|
} else {
|
|
8539
8392
|
tmp = this_0;
|
|
@@ -8624,7 +8477,6 @@
|
|
|
8624
8477
|
// Inline function 'com.github.ajalt.mordant.internal.update' call
|
|
8625
8478
|
while (true) {
|
|
8626
8479
|
var old = tmp0.z();
|
|
8627
|
-
// Inline function 'com.github.ajalt.mordant.terminal.Terminal.updateSize.<anonymous>' call
|
|
8628
8480
|
var newValue = detectSize(this.h29_1, this.m29_1, this.i29_1, this.j29_1, this.k29_1, this.l29_1);
|
|
8629
8481
|
if (tmp0.p2f(old, newValue)) {
|
|
8630
8482
|
tmp$ret$1 = to(old, newValue);
|
|
@@ -8761,7 +8613,6 @@
|
|
|
8761
8613
|
tmp = null;
|
|
8762
8614
|
} else {
|
|
8763
8615
|
// Inline function 'kotlin.let' call
|
|
8764
|
-
// Inline function 'com.github.ajalt.mordant.terminal.TerminalDetection.ansiLevel.<anonymous>' call
|
|
8765
8616
|
tmp = to(firstOrNull(tmp108_safe_receiver), lastOrNull(tmp108_safe_receiver));
|
|
8766
8617
|
}
|
|
8767
8618
|
var tmp0_elvis_lhs = tmp;
|
|
@@ -8936,14 +8787,11 @@
|
|
|
8936
8787
|
var _iterator__ex2g4s = tmp120_safe_receiver.p();
|
|
8937
8788
|
while (_iterator__ex2g4s.q()) {
|
|
8938
8789
|
var element = _iterator__ex2g4s.r();
|
|
8939
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
8940
|
-
// Inline function 'com.github.ajalt.mordant.terminal.TerminalDetection.minttyVersionSupportsHyperlinks.<anonymous>' call
|
|
8941
8790
|
var tmp0_safe_receiver = toIntOrNull(element);
|
|
8942
8791
|
if (tmp0_safe_receiver == null)
|
|
8943
8792
|
null;
|
|
8944
8793
|
else {
|
|
8945
8794
|
// Inline function 'kotlin.let' call
|
|
8946
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
8947
8795
|
destination.e(tmp0_safe_receiver);
|
|
8948
8796
|
}
|
|
8949
8797
|
}
|
|
@@ -8975,7 +8823,6 @@
|
|
|
8975
8823
|
var _iterator__ex2g4s = tmp0.p();
|
|
8976
8824
|
while (_iterator__ex2g4s.q()) {
|
|
8977
8825
|
var element = _iterator__ex2g4s.r();
|
|
8978
|
-
// Inline function 'com.github.ajalt.mordant.terminal.TerminalDetection.ciSupportsColor.<anonymous>' call
|
|
8979
8826
|
if (!(getEnv(element) == null)) {
|
|
8980
8827
|
tmp$ret$0 = true;
|
|
8981
8828
|
break $l$block_0;
|
|
@@ -9141,7 +8988,6 @@
|
|
|
9141
8988
|
var _iterator__ex2g4s = this_0.p();
|
|
9142
8989
|
while (_iterator__ex2g4s.q()) {
|
|
9143
8990
|
var item = _iterator__ex2g4s.r();
|
|
9144
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.<get-keys>.<anonymous>' call
|
|
9145
8991
|
var tmp$ret$0 = item.u9_1;
|
|
9146
8992
|
destination.e(tmp$ret$0);
|
|
9147
8993
|
}
|
|
@@ -9155,7 +9001,6 @@
|
|
|
9155
9001
|
var _iterator__ex2g4s = this_0.p();
|
|
9156
9002
|
while (_iterator__ex2g4s.q()) {
|
|
9157
9003
|
var item = _iterator__ex2g4s.r();
|
|
9158
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.<get-values>.<anonymous>' call
|
|
9159
9004
|
var tmp$ret$0 = item.v9_1;
|
|
9160
9005
|
destination.e(tmp$ret$0);
|
|
9161
9006
|
}
|
|
@@ -9177,7 +9022,6 @@
|
|
|
9177
9022
|
this.k2g_1 = entrySpacing;
|
|
9178
9023
|
// Inline function 'kotlin.require' call
|
|
9179
9024
|
if (!(this.j2g_1 >= 0)) {
|
|
9180
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.<anonymous>' call
|
|
9181
9025
|
var message = 'Spacing cannot be negative';
|
|
9182
9026
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9183
9027
|
}
|
|
@@ -9195,7 +9039,6 @@
|
|
|
9195
9039
|
var _iterator__ex2g4s = listOf([termMeasurement, descMeasurement]).p();
|
|
9196
9040
|
$l$loop: while (_iterator__ex2g4s.q()) {
|
|
9197
9041
|
var it = _iterator__ex2g4s.r();
|
|
9198
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.measure.<anonymous>' call
|
|
9199
9042
|
var tmp_0;
|
|
9200
9043
|
if (it == null) {
|
|
9201
9044
|
continue $l$loop;
|
|
@@ -9226,7 +9069,6 @@
|
|
|
9226
9069
|
var _iterator__ex2g4s = this_0.p();
|
|
9227
9070
|
while (_iterator__ex2g4s.q()) {
|
|
9228
9071
|
var item = _iterator__ex2g4s.r();
|
|
9229
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.render.<anonymous>' call
|
|
9230
9072
|
var tmp$ret$0 = item.c29(t, width);
|
|
9231
9073
|
destination.e(tmp$ret$0);
|
|
9232
9074
|
}
|
|
@@ -9239,7 +9081,6 @@
|
|
|
9239
9081
|
var _iterator__ex2g4s_0 = termMeasurements.p();
|
|
9240
9082
|
while (_iterator__ex2g4s_0.q()) {
|
|
9241
9083
|
var element = _iterator__ex2g4s_0.r();
|
|
9242
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.render.<anonymous>' call
|
|
9243
9084
|
if (element.r29_1 <= maxInlineTermWidth || (this.i2g_1 && ((element.r29_1 + this.j2g_1 | 0) + maxDescWidth | 0) <= width)) {
|
|
9244
9085
|
destination_0.e(element);
|
|
9245
9086
|
}
|
|
@@ -9250,7 +9091,6 @@
|
|
|
9250
9091
|
var _iterator__ex2g4s_1 = destination_0.p();
|
|
9251
9092
|
$l$loop: while (_iterator__ex2g4s_1.q()) {
|
|
9252
9093
|
var it = _iterator__ex2g4s_1.r();
|
|
9253
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.render.<anonymous>' call
|
|
9254
9094
|
var tmp;
|
|
9255
9095
|
if (it == null) {
|
|
9256
9096
|
continue $l$loop;
|
|
@@ -9285,7 +9125,6 @@
|
|
|
9285
9125
|
do {
|
|
9286
9126
|
var index_0 = inductionVariable;
|
|
9287
9127
|
inductionVariable = inductionVariable + 1 | 0;
|
|
9288
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.render.<anonymous>' call
|
|
9289
9128
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9290
9129
|
var element_0 = emptyList();
|
|
9291
9130
|
lines.e(element_0);
|
|
@@ -9305,7 +9144,6 @@
|
|
|
9305
9144
|
do {
|
|
9306
9145
|
var index_1 = inductionVariable_0;
|
|
9307
9146
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
9308
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.render.<anonymous>' call
|
|
9309
9147
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9310
9148
|
var element_1 = emptyList();
|
|
9311
9149
|
lines.e(element_1);
|
|
@@ -9331,11 +9169,10 @@
|
|
|
9331
9169
|
var _iterator__ex2g4s_2 = zip(termLines, descLines).p();
|
|
9332
9170
|
while (_iterator__ex2g4s_2.q()) {
|
|
9333
9171
|
var item_0 = _iterator__ex2g4s_2.r();
|
|
9334
|
-
// Inline function 'com.github.ajalt.mordant.widgets.DefinitionList.render.<anonymous>' call
|
|
9335
9172
|
var t_0 = item_0.w9();
|
|
9336
9173
|
var d = item_0.x9();
|
|
9337
|
-
var tmp$ret$
|
|
9338
|
-
lines.e(tmp$ret$
|
|
9174
|
+
var tmp$ret$21 = flatLine([t_0, Companion_instance_0.j25((this.j2g_1 + termWidth | 0) - get_lineWidth(t_0) | 0), d]);
|
|
9175
|
+
lines.e(tmp$ret$21);
|
|
9339
9176
|
}
|
|
9340
9177
|
if (termLines.s() > descLines.s()) {
|
|
9341
9178
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
@@ -9347,9 +9184,8 @@
|
|
|
9347
9184
|
var _iterator__ex2g4s_3 = drop_0(descLines, termLines.s()).p();
|
|
9348
9185
|
while (_iterator__ex2g4s_3.q()) {
|
|
9349
9186
|
var item_1 = _iterator__ex2g4s_3.r();
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
lines.e(tmp$ret$13);
|
|
9187
|
+
var tmp$ret$24 = item_1.m() ? item_1 : Line_init_$Create$(plus(paddingLeft, item_1));
|
|
9188
|
+
lines.e(tmp$ret$24);
|
|
9353
9189
|
}
|
|
9354
9190
|
}
|
|
9355
9191
|
}
|
|
@@ -9359,9 +9195,8 @@
|
|
|
9359
9195
|
var _iterator__ex2g4s_4 = lines.p();
|
|
9360
9196
|
while (_iterator__ex2g4s_4.q()) {
|
|
9361
9197
|
var item_2 = _iterator__ex2g4s_4.r();
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
destination_1.e(tmp$ret$15);
|
|
9198
|
+
var tmp$ret$26 = Line_init_$Create$(item_2);
|
|
9199
|
+
destination_1.e(tmp$ret$26);
|
|
9365
9200
|
}
|
|
9366
9201
|
return new Lines(destination_1);
|
|
9367
9202
|
};
|
|
@@ -9433,25 +9268,21 @@
|
|
|
9433
9268
|
this.n2e_1 = left;
|
|
9434
9269
|
// Inline function 'kotlin.require' call
|
|
9435
9270
|
if (!(this.k2e_1 >= 0)) {
|
|
9436
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Padding.<anonymous>' call
|
|
9437
9271
|
var message = 'Invalid negative top padding';
|
|
9438
9272
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9439
9273
|
}
|
|
9440
9274
|
// Inline function 'kotlin.require' call
|
|
9441
9275
|
if (!(this.l2e_1 >= 0)) {
|
|
9442
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Padding.<anonymous>' call
|
|
9443
9276
|
var message_0 = 'Invalid negative right padding';
|
|
9444
9277
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9445
9278
|
}
|
|
9446
9279
|
// Inline function 'kotlin.require' call
|
|
9447
9280
|
if (!(this.m2e_1 >= 0)) {
|
|
9448
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Padding.<anonymous>' call
|
|
9449
9281
|
var message_1 = 'Invalid negative bottom padding';
|
|
9450
9282
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
9451
9283
|
}
|
|
9452
9284
|
// Inline function 'kotlin.require' call
|
|
9453
9285
|
if (!(this.n2e_1 >= 0)) {
|
|
9454
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Padding.<anonymous>' call
|
|
9455
9286
|
var message_2 = 'Invalid negative left padding';
|
|
9456
9287
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
9457
9288
|
}
|
|
@@ -9538,7 +9369,6 @@
|
|
|
9538
9369
|
do {
|
|
9539
9370
|
var index = inductionVariable;
|
|
9540
9371
|
inductionVariable = inductionVariable + 1 | 0;
|
|
9541
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Padded.render.<anonymous>' call
|
|
9542
9372
|
output.e(get_EMPTY_LINE());
|
|
9543
9373
|
}
|
|
9544
9374
|
while (inductionVariable < times);
|
|
@@ -9556,7 +9386,6 @@
|
|
|
9556
9386
|
do {
|
|
9557
9387
|
var index_0 = inductionVariable_0;
|
|
9558
9388
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
9559
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Padded.render.<anonymous>' call
|
|
9560
9389
|
output.e(get_EMPTY_LINE());
|
|
9561
9390
|
}
|
|
9562
9391
|
while (inductionVariable_0 < times_0);
|
|
@@ -9663,7 +9492,6 @@
|
|
|
9663
9492
|
var _iterator__ex2g4s_0 = chunked(span.f25_1, wrapWidth).p();
|
|
9664
9493
|
while (_iterator__ex2g4s_0.q()) {
|
|
9665
9494
|
var element = _iterator__ex2g4s_0.r();
|
|
9666
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.wrap.<anonymous>' call
|
|
9667
9495
|
if (element.length === wrapWidth) {
|
|
9668
9496
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9669
9497
|
var element_0 = Line_init_$Create$(listOf_0(Companion_instance_0.p25(element, span.g25_1)));
|
|
@@ -9701,7 +9529,6 @@
|
|
|
9701
9529
|
// Inline function 'kotlin.collections.indexOfLast' call
|
|
9702
9530
|
var iterator = line.v(line.s());
|
|
9703
9531
|
while (iterator.e4()) {
|
|
9704
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.lastNonWhitespace.<anonymous>' call
|
|
9705
9532
|
if (!iterator.g4().q27()) {
|
|
9706
9533
|
tmp$ret$1 = iterator.f4();
|
|
9707
9534
|
break $l$block;
|
|
@@ -9774,7 +9601,6 @@
|
|
|
9774
9601
|
var _iterator__ex2g4s = line.p();
|
|
9775
9602
|
while (_iterator__ex2g4s.q()) {
|
|
9776
9603
|
var element = _iterator__ex2g4s.r();
|
|
9777
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.justifyLine.<anonymous>' call
|
|
9778
9604
|
if (element.q27()) {
|
|
9779
9605
|
count = count + 1 | 0;
|
|
9780
9606
|
checkCountOverflow(count);
|
|
@@ -9824,7 +9650,6 @@
|
|
|
9824
9650
|
do {
|
|
9825
9651
|
var index = inductionVariable;
|
|
9826
9652
|
inductionVariable = inductionVariable + 1 | 0;
|
|
9827
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.wrap.breakLine.<anonymous>' call
|
|
9828
9653
|
line._v.c2(get_lastIndex_0(line._v));
|
|
9829
9654
|
}
|
|
9830
9655
|
while (inductionVariable < times);
|
|
@@ -9861,13 +9686,11 @@
|
|
|
9861
9686
|
this.v2g_1 = tabWidth;
|
|
9862
9687
|
// Inline function 'kotlin.require' call
|
|
9863
9688
|
if (!(this.u2g_1 == null || this.u2g_1 >= 0)) {
|
|
9864
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.<anonymous>' call
|
|
9865
9689
|
var message = 'width cannot be negative';
|
|
9866
9690
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
9867
9691
|
}
|
|
9868
9692
|
// Inline function 'kotlin.require' call
|
|
9869
9693
|
if (!(this.v2g_1 == null || this.v2g_1 >= 0)) {
|
|
9870
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.<anonymous>' call
|
|
9871
9694
|
var message_0 = 'tab width cannot be negative';
|
|
9872
9695
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
9873
9696
|
}
|
|
@@ -9886,26 +9709,22 @@
|
|
|
9886
9709
|
tmp$ret$0 = null;
|
|
9887
9710
|
break $l$block;
|
|
9888
9711
|
}
|
|
9889
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>' call
|
|
9890
9712
|
// Inline function 'kotlin.collections.sumOf' call
|
|
9891
9713
|
var sum = 0;
|
|
9892
9714
|
var _iterator__ex2g4s = iterator.r().p();
|
|
9893
9715
|
while (_iterator__ex2g4s.q()) {
|
|
9894
9716
|
var element = _iterator__ex2g4s.r();
|
|
9895
9717
|
var tmp_0 = sum;
|
|
9896
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>.<anonymous>' call
|
|
9897
9718
|
sum = tmp_0 + element.k27() | 0;
|
|
9898
9719
|
}
|
|
9899
9720
|
var maxValue = sum;
|
|
9900
9721
|
while (iterator.q()) {
|
|
9901
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>' call
|
|
9902
9722
|
// Inline function 'kotlin.collections.sumOf' call
|
|
9903
9723
|
var sum_0 = 0;
|
|
9904
9724
|
var _iterator__ex2g4s_0 = iterator.r().p();
|
|
9905
9725
|
while (_iterator__ex2g4s_0.q()) {
|
|
9906
9726
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
9907
9727
|
var tmp_1 = sum_0;
|
|
9908
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>.<anonymous>' call
|
|
9909
9728
|
sum_0 = tmp_1 + element_0.k27() | 0;
|
|
9910
9729
|
}
|
|
9911
9730
|
var v = sum_0;
|
|
@@ -9928,7 +9747,6 @@
|
|
|
9928
9747
|
tmp$ret$7 = null;
|
|
9929
9748
|
break $l$block_0;
|
|
9930
9749
|
}
|
|
9931
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>' call
|
|
9932
9750
|
var tmp0_0 = iterator_0.r();
|
|
9933
9751
|
var tmp$ret$8;
|
|
9934
9752
|
$l$block_1: {
|
|
@@ -9938,10 +9756,8 @@
|
|
|
9938
9756
|
tmp$ret$8 = null;
|
|
9939
9757
|
break $l$block_1;
|
|
9940
9758
|
}
|
|
9941
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>.<anonymous>' call
|
|
9942
9759
|
var maxValue_0 = iterator_1.r().k27();
|
|
9943
9760
|
while (iterator_1.q()) {
|
|
9944
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>.<anonymous>' call
|
|
9945
9761
|
var v_0 = iterator_1.r().k27();
|
|
9946
9762
|
if (compareTo(maxValue_0, v_0) < 0) {
|
|
9947
9763
|
maxValue_0 = v_0;
|
|
@@ -9952,7 +9768,6 @@
|
|
|
9952
9768
|
var tmp0_elvis_lhs_0 = tmp$ret$8;
|
|
9953
9769
|
var maxValue_1 = tmp0_elvis_lhs_0 == null ? 0 : tmp0_elvis_lhs_0;
|
|
9954
9770
|
while (iterator_0.q()) {
|
|
9955
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>' call
|
|
9956
9771
|
var tmp0_1 = iterator_0.r();
|
|
9957
9772
|
var tmp$ret$12;
|
|
9958
9773
|
$l$block_2: {
|
|
@@ -9962,10 +9777,8 @@
|
|
|
9962
9777
|
tmp$ret$12 = null;
|
|
9963
9778
|
break $l$block_2;
|
|
9964
9779
|
}
|
|
9965
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>.<anonymous>' call
|
|
9966
9780
|
var maxValue_2 = iterator_2.r().k27();
|
|
9967
9781
|
while (iterator_2.q()) {
|
|
9968
|
-
// Inline function 'com.github.ajalt.mordant.widgets.Text.measure.<anonymous>.<anonymous>' call
|
|
9969
9782
|
var v_1 = iterator_2.r().k27();
|
|
9970
9783
|
if (compareTo(maxValue_2, v_1) < 0) {
|
|
9971
9784
|
maxValue_2 = v_1;
|
|
@@ -10030,7 +9843,6 @@
|
|
|
10030
9843
|
var _iterator__ex2g4s = interceptors.p();
|
|
10031
9844
|
while (_iterator__ex2g4s.q()) {
|
|
10032
9845
|
var element = _iterator__ex2g4s.r();
|
|
10033
|
-
// Inline function 'com.github.ajalt.mordant.internal.sendInterceptedPrintRequest.<anonymous>' call
|
|
10034
9846
|
var acc = accumulator;
|
|
10035
9847
|
accumulator = element.z2g(acc);
|
|
10036
9848
|
}
|
|
@@ -10116,7 +9928,6 @@
|
|
|
10116
9928
|
_init_properties_JsCompat_kt__ibi28b();
|
|
10117
9929
|
// Inline function 'kotlin.require' call
|
|
10118
9930
|
if (!get_isNode()) {
|
|
10119
|
-
// Inline function 'com.github.ajalt.mordant.internal.nodeRequire.<anonymous>' call
|
|
10120
9931
|
var message = 'Module not available: ' + mod;
|
|
10121
9932
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
10122
9933
|
}
|
|
@@ -10139,7 +9950,6 @@
|
|
|
10139
9950
|
}
|
|
10140
9951
|
// Inline function 'kotlin.require' call
|
|
10141
9952
|
if (!tmp_2) {
|
|
10142
|
-
// Inline function 'com.github.ajalt.mordant.internal.nodeRequire.<anonymous>' call
|
|
10143
9953
|
var message_0 = 'Module not available: ' + mod;
|
|
10144
9954
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
10145
9955
|
}
|