git-digger 1.8.0 → 1.8.1
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 +2 -5910
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +99 -99
- package/kotlin/clikt-clikt.js +2068 -2068
- package/kotlin/colormath-root-colormath.js +480 -480
- package/kotlin/command-line-tools-digger-cli.js +75 -75
- package/kotlin/command-line-tools-digger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +2980 -2491
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1073 -1206
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +361 -361
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1688 -1696
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +4 -4
- package/kotlin/tools-digger-core.js +221 -221
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +130 -130
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +60 -60
- package/kotlin/tools-digger-model.js.map +1 -1
- package/kotlin/tools-git-adapter.js +96 -96
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +2 -3
|
@@ -4,64 +4,64 @@
|
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
6
6
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
7
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
8
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
7
|
+
var Unit_instance = kotlin_kotlin.$_$.d3;
|
|
8
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.z3;
|
|
9
9
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
10
|
-
var to = kotlin_kotlin.$_$.
|
|
11
|
-
var firstOrNull = kotlin_kotlin.$_$.
|
|
12
|
-
var Pair = kotlin_kotlin.$_$.
|
|
13
|
-
var listOf = kotlin_kotlin.$_$.
|
|
14
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
15
|
-
var getOrNull = kotlin_kotlin.$_$.
|
|
16
|
-
var plus = kotlin_kotlin.$_$.
|
|
17
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
18
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
19
|
-
var last = kotlin_kotlin.$_$.
|
|
20
|
-
var toString = kotlin_kotlin.$_$.
|
|
21
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
22
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
23
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
24
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
25
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
26
|
-
var equals = kotlin_kotlin.$_$.
|
|
27
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
28
|
-
var lastOrNull = kotlin_kotlin.$_$.
|
|
29
|
-
var maxOrNull = kotlin_kotlin.$_$.
|
|
10
|
+
var to = kotlin_kotlin.$_$.hc;
|
|
11
|
+
var firstOrNull = kotlin_kotlin.$_$.j4;
|
|
12
|
+
var Pair = kotlin_kotlin.$_$.gb;
|
|
13
|
+
var listOf = kotlin_kotlin.$_$.a5;
|
|
14
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.y3;
|
|
15
|
+
var getOrNull = kotlin_kotlin.$_$.n4;
|
|
16
|
+
var plus = kotlin_kotlin.$_$.l5;
|
|
17
|
+
var emptyList = kotlin_kotlin.$_$.g4;
|
|
18
|
+
var plus_0 = kotlin_kotlin.$_$.m5;
|
|
19
|
+
var last = kotlin_kotlin.$_$.x4;
|
|
20
|
+
var toString = kotlin_kotlin.$_$.i8;
|
|
21
|
+
var toString_0 = kotlin_kotlin.$_$.gc;
|
|
22
|
+
var protoOf = kotlin_kotlin.$_$.f8;
|
|
23
|
+
var getStringHashCode = kotlin_kotlin.$_$.f7;
|
|
24
|
+
var hashCode = kotlin_kotlin.$_$.g7;
|
|
25
|
+
var THROW_CCE = kotlin_kotlin.$_$.jb;
|
|
26
|
+
var equals = kotlin_kotlin.$_$.b7;
|
|
27
|
+
var initMetadataForClass = kotlin_kotlin.$_$.h7;
|
|
28
|
+
var lastOrNull = kotlin_kotlin.$_$.w4;
|
|
29
|
+
var maxOrNull = kotlin_kotlin.$_$.e5;
|
|
30
30
|
var Contribution = kotlin_com_zegreatrob_tools_digger_model.$_$.a;
|
|
31
|
-
var listOf_0 = kotlin_kotlin.$_$.
|
|
32
|
-
var addAll = kotlin_kotlin.$_$.
|
|
33
|
-
var toSet = kotlin_kotlin.$_$.
|
|
34
|
-
var sorted = kotlin_kotlin.$_$.
|
|
35
|
-
var toList = kotlin_kotlin.$_$.
|
|
36
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
31
|
+
var listOf_0 = kotlin_kotlin.$_$.b5;
|
|
32
|
+
var addAll = kotlin_kotlin.$_$.r3;
|
|
33
|
+
var toSet = kotlin_kotlin.$_$.f6;
|
|
34
|
+
var sorted = kotlin_kotlin.$_$.u5;
|
|
35
|
+
var toList = kotlin_kotlin.$_$.b6;
|
|
36
|
+
var joinToString = kotlin_kotlin.$_$.r4;
|
|
37
37
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
38
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
38
|
+
var initMetadataForObject = kotlin_kotlin.$_$.m7;
|
|
39
39
|
var VOID = kotlin_kotlin.$_$.g;
|
|
40
|
-
var take = kotlin_kotlin.$_$.
|
|
40
|
+
var take = kotlin_kotlin.$_$.x5;
|
|
41
41
|
var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.h;
|
|
42
42
|
var Regex_init_$Create$_0 = kotlin_kotlin.$_$.u;
|
|
43
|
-
var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.
|
|
44
|
-
var contains = kotlin_kotlin.$_$.
|
|
45
|
-
var mapOf = kotlin_kotlin.$_$.
|
|
43
|
+
var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
44
|
+
var contains = kotlin_kotlin.$_$.n9;
|
|
45
|
+
var mapOf = kotlin_kotlin.$_$.d5;
|
|
46
46
|
var RegexOption_MULTILINE_getInstance = kotlin_kotlin.$_$.i;
|
|
47
|
-
var setOf = kotlin_kotlin.$_$.
|
|
48
|
-
var Regex = kotlin_kotlin.$_$.
|
|
49
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
50
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
51
|
-
var substring = kotlin_kotlin.$_$.
|
|
52
|
-
var Char = kotlin_kotlin.$_$.
|
|
53
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
54
|
-
var mapNotNull = kotlin_kotlin.$_$.
|
|
55
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
56
|
-
var maxOrNull_0 = kotlin_kotlin.$_$.
|
|
57
|
-
var get = kotlin_kotlin.$_$.
|
|
58
|
-
var toIntOrNull = kotlin_kotlin.$_$.
|
|
59
|
-
var Companion_instance = kotlin_kotlin.$_$.
|
|
60
|
-
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.
|
|
61
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
62
|
-
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.
|
|
63
|
-
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.
|
|
64
|
-
var Enum = kotlin_kotlin.$_$.
|
|
47
|
+
var setOf = kotlin_kotlin.$_$.q5;
|
|
48
|
+
var Regex = kotlin_kotlin.$_$.k9;
|
|
49
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.r9;
|
|
50
|
+
var lastIndexOf = kotlin_kotlin.$_$.z9;
|
|
51
|
+
var substring = kotlin_kotlin.$_$.ma;
|
|
52
|
+
var Char = kotlin_kotlin.$_$.ya;
|
|
53
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.k1;
|
|
54
|
+
var mapNotNull = kotlin_kotlin.$_$.e9;
|
|
55
|
+
var toList_0 = kotlin_kotlin.$_$.j9;
|
|
56
|
+
var maxOrNull_0 = kotlin_kotlin.$_$.g9;
|
|
57
|
+
var get = kotlin_kotlin.$_$.t9;
|
|
58
|
+
var toIntOrNull = kotlin_kotlin.$_$.oa;
|
|
59
|
+
var Companion_instance = kotlin_kotlin.$_$.y2;
|
|
60
|
+
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.n1;
|
|
61
|
+
var createFailure = kotlin_kotlin.$_$.xb;
|
|
62
|
+
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.q1;
|
|
63
|
+
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.o1;
|
|
64
|
+
var Enum = kotlin_kotlin.$_$.bb;
|
|
65
65
|
//endregion
|
|
66
66
|
//region block: pre-declaration
|
|
67
67
|
initMetadataForClass(CommitInspectionResult, 'CommitInspectionResult');
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
77
77
|
var set = HashSet_init_$Create$();
|
|
78
78
|
var list = ArrayList_init_$Create$();
|
|
79
|
-
var _iterator__ex2g4s = tagRefs.
|
|
80
|
-
while (_iterator__ex2g4s.
|
|
81
|
-
var e = _iterator__ex2g4s.
|
|
82
|
-
var key = e.
|
|
79
|
+
var _iterator__ex2g4s = tagRefs.m();
|
|
80
|
+
while (_iterator__ex2g4s.n()) {
|
|
81
|
+
var e = _iterator__ex2g4s.o();
|
|
82
|
+
var key = e.vw_1;
|
|
83
83
|
if (set.e(key)) {
|
|
84
84
|
list.e(e);
|
|
85
85
|
}
|
|
@@ -87,19 +87,19 @@
|
|
|
87
87
|
// Inline function 'kotlin.collections.filter' call
|
|
88
88
|
// Inline function 'kotlin.collections.filterTo' call
|
|
89
89
|
var destination = ArrayList_init_$Create$();
|
|
90
|
-
var _iterator__ex2g4s_0 = list.
|
|
91
|
-
while (_iterator__ex2g4s_0.
|
|
92
|
-
var element = _iterator__ex2g4s_0.
|
|
90
|
+
var _iterator__ex2g4s_0 = list.m();
|
|
91
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
92
|
+
var element = _iterator__ex2g4s_0.o();
|
|
93
93
|
// Inline function 'kotlin.collections.map' call
|
|
94
94
|
// Inline function 'kotlin.collections.mapTo' call
|
|
95
95
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(fullLog, 10));
|
|
96
|
-
var _iterator__ex2g4s_1 = fullLog.
|
|
97
|
-
while (_iterator__ex2g4s_1.
|
|
98
|
-
var item = _iterator__ex2g4s_1.
|
|
99
|
-
var tmp$ret$2 = item.
|
|
96
|
+
var _iterator__ex2g4s_1 = fullLog.m();
|
|
97
|
+
while (_iterator__ex2g4s_1.n()) {
|
|
98
|
+
var item = _iterator__ex2g4s_1.o();
|
|
99
|
+
var tmp$ret$2 = item.fw_1;
|
|
100
100
|
destination_0.e(tmp$ret$2);
|
|
101
101
|
}
|
|
102
|
-
if (destination_0.d1(element.
|
|
102
|
+
if (destination_0.d1(element.vw_1)) {
|
|
103
103
|
destination.e(element);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
@@ -110,18 +110,18 @@
|
|
|
110
110
|
var this_0 = tagPairs(tagRefs);
|
|
111
111
|
// Inline function 'kotlin.collections.mapTo' call
|
|
112
112
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
113
|
-
var _iterator__ex2g4s = this_0.
|
|
114
|
-
while (_iterator__ex2g4s.
|
|
115
|
-
var item = _iterator__ex2g4s.
|
|
116
|
-
var earlierTag = item.
|
|
117
|
-
var nextTag = item.
|
|
113
|
+
var _iterator__ex2g4s = this_0.m();
|
|
114
|
+
while (_iterator__ex2g4s.n()) {
|
|
115
|
+
var item = _iterator__ex2g4s.o();
|
|
116
|
+
var earlierTag = item.y9();
|
|
117
|
+
var nextTag = item.z9();
|
|
118
118
|
var tmp;
|
|
119
119
|
if (earlierTag == null && !(nextTag == null)) {
|
|
120
|
-
tmp = _this__u8e3s4.
|
|
120
|
+
tmp = _this__u8e3s4.sw('^' + nextTag.vw_1, 'HEAD');
|
|
121
121
|
} else if (!(earlierTag == null) && !(nextTag == null)) {
|
|
122
|
-
tmp = _this__u8e3s4.
|
|
122
|
+
tmp = _this__u8e3s4.sw('^' + nextTag.vw_1, earlierTag.vw_1);
|
|
123
123
|
} else if (!(earlierTag == null)) {
|
|
124
|
-
tmp = _this__u8e3s4.
|
|
124
|
+
tmp = _this__u8e3s4.tw(earlierTag.vw_1);
|
|
125
125
|
} else {
|
|
126
126
|
tmp = alwaysLeftParent(log);
|
|
127
127
|
}
|
|
@@ -131,11 +131,11 @@
|
|
|
131
131
|
// Inline function 'kotlin.collections.filter' call
|
|
132
132
|
// Inline function 'kotlin.collections.filterTo' call
|
|
133
133
|
var destination_0 = ArrayList_init_$Create$();
|
|
134
|
-
var _iterator__ex2g4s_0 = destination.
|
|
135
|
-
while (_iterator__ex2g4s_0.
|
|
136
|
-
var element = _iterator__ex2g4s_0.
|
|
134
|
+
var _iterator__ex2g4s_0 = destination.m();
|
|
135
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
136
|
+
var element = _iterator__ex2g4s_0.o();
|
|
137
137
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
138
|
-
if (!element.
|
|
138
|
+
if (!element.x9_1.j()) {
|
|
139
139
|
destination_0.e(element);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
148
148
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
149
149
|
var index = 0;
|
|
150
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
151
|
-
while (_iterator__ex2g4s.
|
|
152
|
-
var item = _iterator__ex2g4s.
|
|
150
|
+
var _iterator__ex2g4s = _this__u8e3s4.m();
|
|
151
|
+
while (_iterator__ex2g4s.n()) {
|
|
152
|
+
var item = _iterator__ex2g4s.o();
|
|
153
153
|
var _unary__edvuaz = index;
|
|
154
154
|
index = _unary__edvuaz + 1 | 0;
|
|
155
155
|
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
@@ -161,14 +161,14 @@
|
|
|
161
161
|
function alwaysLeftParent(_this__u8e3s4) {
|
|
162
162
|
// Inline function 'kotlin.collections.fold' call
|
|
163
163
|
var accumulator = emptyList();
|
|
164
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
165
|
-
while (_iterator__ex2g4s.
|
|
166
|
-
var element = _iterator__ex2g4s.
|
|
164
|
+
var _iterator__ex2g4s = _this__u8e3s4.m();
|
|
165
|
+
while (_iterator__ex2g4s.n()) {
|
|
166
|
+
var element = _iterator__ex2g4s.o();
|
|
167
167
|
var acc = accumulator;
|
|
168
168
|
var tmp;
|
|
169
|
-
if (acc.
|
|
169
|
+
if (acc.j()) {
|
|
170
170
|
tmp = plus_0(acc, element);
|
|
171
|
-
} else if (element.
|
|
171
|
+
} else if (element.fw_1 === firstOrNull(last(acc).jw_1)) {
|
|
172
172
|
tmp = plus_0(acc, element);
|
|
173
173
|
} else {
|
|
174
174
|
tmp = acc;
|
|
@@ -178,19 +178,19 @@
|
|
|
178
178
|
return accumulator;
|
|
179
179
|
}
|
|
180
180
|
function CommitInspectionResult(storyId, ease, authors, semver) {
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
181
|
+
this.xw_1 = storyId;
|
|
182
|
+
this.yw_1 = ease;
|
|
183
|
+
this.zw_1 = authors;
|
|
184
|
+
this.ax_1 = semver;
|
|
185
185
|
}
|
|
186
186
|
protoOf(CommitInspectionResult).toString = function () {
|
|
187
|
-
return 'CommitInspectionResult(storyId=' + this.
|
|
187
|
+
return 'CommitInspectionResult(storyId=' + this.xw_1 + ', ease=' + this.yw_1 + ', authors=' + toString(this.zw_1) + ', semver=' + toString_0(this.ax_1) + ')';
|
|
188
188
|
};
|
|
189
189
|
protoOf(CommitInspectionResult).hashCode = function () {
|
|
190
|
-
var result = this.
|
|
191
|
-
result = imul(result, 31) + (this.
|
|
192
|
-
result = imul(result, 31) + hashCode(this.
|
|
193
|
-
result = imul(result, 31) + (this.
|
|
190
|
+
var result = this.xw_1 == null ? 0 : getStringHashCode(this.xw_1);
|
|
191
|
+
result = imul(result, 31) + (this.yw_1 == null ? 0 : this.yw_1) | 0;
|
|
192
|
+
result = imul(result, 31) + hashCode(this.zw_1) | 0;
|
|
193
|
+
result = imul(result, 31) + (this.ax_1 == null ? 0 : this.ax_1.hashCode()) | 0;
|
|
194
194
|
return result;
|
|
195
195
|
};
|
|
196
196
|
protoOf(CommitInspectionResult).equals = function (other) {
|
|
@@ -199,13 +199,13 @@
|
|
|
199
199
|
if (!(other instanceof CommitInspectionResult))
|
|
200
200
|
return false;
|
|
201
201
|
var tmp0_other_with_cast = other instanceof CommitInspectionResult ? other : THROW_CCE();
|
|
202
|
-
if (!(this.
|
|
202
|
+
if (!(this.xw_1 == tmp0_other_with_cast.xw_1))
|
|
203
203
|
return false;
|
|
204
|
-
if (!(this.
|
|
204
|
+
if (!(this.yw_1 == tmp0_other_with_cast.yw_1))
|
|
205
205
|
return false;
|
|
206
|
-
if (!equals(this.
|
|
206
|
+
if (!equals(this.zw_1, tmp0_other_with_cast.zw_1))
|
|
207
207
|
return false;
|
|
208
|
-
if (!equals(this.
|
|
208
|
+
if (!equals(this.ax_1, tmp0_other_with_cast.ax_1))
|
|
209
209
|
return false;
|
|
210
210
|
return true;
|
|
211
211
|
};
|
|
@@ -213,30 +213,30 @@
|
|
|
213
213
|
// Inline function 'kotlin.collections.map' call
|
|
214
214
|
// Inline function 'kotlin.collections.mapTo' call
|
|
215
215
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(commitRefs, 10));
|
|
216
|
-
var _iterator__ex2g4s = commitRefs.
|
|
217
|
-
while (_iterator__ex2g4s.
|
|
218
|
-
var item = _iterator__ex2g4s.
|
|
219
|
-
var tmp$ret$0 = commitInspectionResult(item, _this__u8e3s4.
|
|
216
|
+
var _iterator__ex2g4s = commitRefs.m();
|
|
217
|
+
while (_iterator__ex2g4s.n()) {
|
|
218
|
+
var item = _iterator__ex2g4s.o();
|
|
219
|
+
var tmp$ret$0 = commitInspectionResult(item, _this__u8e3s4.hx(item.kw_1));
|
|
220
220
|
destination.e(tmp$ret$0);
|
|
221
221
|
}
|
|
222
222
|
var messageDigResults = destination;
|
|
223
223
|
var lastCommit = firstOrNull(commitRefs);
|
|
224
224
|
var firstCommit = lastOrNull(commitRefs);
|
|
225
|
-
var tmp1_elvis_lhs = lastCommit == null ? null : lastCommit.
|
|
225
|
+
var tmp1_elvis_lhs = lastCommit == null ? null : lastCommit.fw_1;
|
|
226
226
|
var tmp7_lastCommit = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
227
|
-
var tmp3_elvis_lhs = firstCommit == null ? null : firstCommit.
|
|
227
|
+
var tmp3_elvis_lhs = firstCommit == null ? null : firstCommit.fw_1;
|
|
228
228
|
var tmp8_firstCommit = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
229
229
|
var tmp9_authors = allAuthors(messageDigResults);
|
|
230
|
-
var tmp10_dateTime = lastCommit == null ? null : lastCommit.
|
|
231
|
-
var tmp11_firstCommitDateTime = firstCommit == null ? null : firstCommit.
|
|
230
|
+
var tmp10_dateTime = lastCommit == null ? null : lastCommit.iw_1;
|
|
231
|
+
var tmp11_firstCommitDateTime = firstCommit == null ? null : firstCommit.iw_1;
|
|
232
232
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
233
233
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
234
234
|
var destination_0 = ArrayList_init_$Create$();
|
|
235
235
|
// Inline function 'kotlin.collections.forEach' call
|
|
236
|
-
var _iterator__ex2g4s_0 = messageDigResults.
|
|
237
|
-
while (_iterator__ex2g4s_0.
|
|
238
|
-
var element = _iterator__ex2g4s_0.
|
|
239
|
-
var tmp0_safe_receiver = element.
|
|
236
|
+
var _iterator__ex2g4s_0 = messageDigResults.m();
|
|
237
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
238
|
+
var element = _iterator__ex2g4s_0.o();
|
|
239
|
+
var tmp0_safe_receiver = element.yw_1;
|
|
240
240
|
if (tmp0_safe_receiver == null)
|
|
241
241
|
null;
|
|
242
242
|
else {
|
|
@@ -250,10 +250,10 @@
|
|
|
250
250
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
251
251
|
var destination_1 = ArrayList_init_$Create$();
|
|
252
252
|
// Inline function 'kotlin.collections.forEach' call
|
|
253
|
-
var _iterator__ex2g4s_1 = messageDigResults.
|
|
254
|
-
while (_iterator__ex2g4s_1.
|
|
255
|
-
var element_0 = _iterator__ex2g4s_1.
|
|
256
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
253
|
+
var _iterator__ex2g4s_1 = messageDigResults.m();
|
|
254
|
+
while (_iterator__ex2g4s_1.n()) {
|
|
255
|
+
var element_0 = _iterator__ex2g4s_1.o();
|
|
256
|
+
var tmp0_safe_receiver_0 = element_0.ax_1;
|
|
257
257
|
if (tmp0_safe_receiver_0 == null)
|
|
258
258
|
null;
|
|
259
259
|
else {
|
|
@@ -264,28 +264,28 @@
|
|
|
264
264
|
var tmp6_safe_receiver = highestPrioritySemver(destination_1);
|
|
265
265
|
var tmp14_semver = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.toString();
|
|
266
266
|
// Inline function 'kotlin.collections.count' call
|
|
267
|
-
var tmp15_commitCount = commitRefs.
|
|
267
|
+
var tmp15_commitCount = commitRefs.p();
|
|
268
268
|
return new Contribution(tmp7_lastCommit, tmp8_firstCommit, tmp9_authors, tmp15_commitCount, tmp10_dateTime, tmp11_firstCommitDateTime, tmp12_ease, tmp13_storyId, tmp14_semver, null, null, null);
|
|
269
269
|
}
|
|
270
270
|
function commitInspectionResult(_this__u8e3s4, digResult) {
|
|
271
|
-
return new CommitInspectionResult(digResult.
|
|
271
|
+
return new CommitInspectionResult(digResult.ix_1, digResult.jx_1, plus(listOf_0([_this__u8e3s4.hw_1, _this__u8e3s4.gw_1]), digResult.kx_1), digResult.lx_1);
|
|
272
272
|
}
|
|
273
273
|
function allAuthors(messageDigResults) {
|
|
274
274
|
// Inline function 'kotlin.collections.flatMap' call
|
|
275
275
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
276
276
|
var destination = ArrayList_init_$Create$();
|
|
277
|
-
var _iterator__ex2g4s = messageDigResults.
|
|
278
|
-
while (_iterator__ex2g4s.
|
|
279
|
-
var element = _iterator__ex2g4s.
|
|
280
|
-
var list = element.
|
|
277
|
+
var _iterator__ex2g4s = messageDigResults.m();
|
|
278
|
+
while (_iterator__ex2g4s.n()) {
|
|
279
|
+
var element = _iterator__ex2g4s.o();
|
|
280
|
+
var list = element.zw_1;
|
|
281
281
|
addAll(destination, list);
|
|
282
282
|
}
|
|
283
283
|
// Inline function 'kotlin.collections.map' call
|
|
284
284
|
// Inline function 'kotlin.collections.mapTo' call
|
|
285
285
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
286
|
-
var _iterator__ex2g4s_0 = destination.
|
|
287
|
-
while (_iterator__ex2g4s_0.
|
|
288
|
-
var item = _iterator__ex2g4s_0.
|
|
286
|
+
var _iterator__ex2g4s_0 = destination.m();
|
|
287
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
288
|
+
var item = _iterator__ex2g4s_0.o();
|
|
289
289
|
// Inline function 'kotlin.text.lowercase' call
|
|
290
290
|
// Inline function 'kotlin.js.asDynamic' call
|
|
291
291
|
var tmp$ret$5 = item.toLowerCase();
|
|
@@ -298,10 +298,10 @@
|
|
|
298
298
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
299
299
|
var destination = ArrayList_init_$Create$();
|
|
300
300
|
// Inline function 'kotlin.collections.forEach' call
|
|
301
|
-
var _iterator__ex2g4s = messageDigResults.
|
|
302
|
-
while (_iterator__ex2g4s.
|
|
303
|
-
var element = _iterator__ex2g4s.
|
|
304
|
-
var tmp0_safe_receiver = element.
|
|
301
|
+
var _iterator__ex2g4s = messageDigResults.m();
|
|
302
|
+
while (_iterator__ex2g4s.n()) {
|
|
303
|
+
var element = _iterator__ex2g4s.o();
|
|
304
|
+
var tmp0_safe_receiver = element.xw_1;
|
|
305
305
|
if (tmp0_safe_receiver == null)
|
|
306
306
|
null;
|
|
307
307
|
else {
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
// Inline function 'kotlin.let' call
|
|
313
313
|
var tmp;
|
|
314
314
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
315
|
-
if (!destination.
|
|
315
|
+
if (!destination.j()) {
|
|
316
316
|
tmp = joinToString(sorted(toSet(destination)), ', ');
|
|
317
317
|
} else {
|
|
318
318
|
tmp = null;
|
|
@@ -322,21 +322,21 @@
|
|
|
322
322
|
function currentContributionCommits(_this__u8e3s4, previousTag) {
|
|
323
323
|
var tmp;
|
|
324
324
|
if (previousTag == null) {
|
|
325
|
-
tmp = _this__u8e3s4.
|
|
325
|
+
tmp = _this__u8e3s4.rw();
|
|
326
326
|
} else {
|
|
327
|
-
tmp = _this__u8e3s4.
|
|
327
|
+
tmp = _this__u8e3s4.sw('^' + previousTag.uw_1, 'HEAD');
|
|
328
328
|
}
|
|
329
329
|
return tmp;
|
|
330
330
|
}
|
|
331
331
|
function tagRefs($this) {
|
|
332
332
|
// Inline function 'kotlin.collections.filter' call
|
|
333
|
-
var tmp0 = $this.
|
|
333
|
+
var tmp0 = $this.nx_1.qw();
|
|
334
334
|
// Inline function 'kotlin.collections.filterTo' call
|
|
335
335
|
var destination = ArrayList_init_$Create$();
|
|
336
|
-
var _iterator__ex2g4s = tmp0.
|
|
337
|
-
while (_iterator__ex2g4s.
|
|
338
|
-
var element = _iterator__ex2g4s.
|
|
339
|
-
if ($this.
|
|
336
|
+
var _iterator__ex2g4s = tmp0.m();
|
|
337
|
+
while (_iterator__ex2g4s.n()) {
|
|
338
|
+
var element = _iterator__ex2g4s.o();
|
|
339
|
+
if ($this.px_1.hc(element.uw_1)) {
|
|
340
340
|
destination.e(element);
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
// Inline function 'kotlin.let' call
|
|
347
347
|
var latestTag = getOrNull(lastTwoTags, 0);
|
|
348
348
|
var tmp;
|
|
349
|
-
if ((latestTag == null ? null : latestTag.
|
|
349
|
+
if ((latestTag == null ? null : latestTag.vw_1) === headCommitId) {
|
|
350
350
|
tmp = to(latestTag, getOrNull(lastTwoTags, 1));
|
|
351
351
|
} else {
|
|
352
352
|
tmp = to(null, latestTag);
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
}
|
|
356
356
|
function Defaults() {
|
|
357
357
|
Defaults_instance = this;
|
|
358
|
-
this.
|
|
358
|
+
this.qx_1 = Regex_init_$Create$('.*');
|
|
359
359
|
}
|
|
360
360
|
var Defaults_instance;
|
|
361
361
|
function Defaults_getInstance() {
|
|
@@ -364,61 +364,61 @@
|
|
|
364
364
|
return Defaults_instance;
|
|
365
365
|
}
|
|
366
366
|
function DiggerCore(label, gitWrapper, messageDigger, tagRegex) {
|
|
367
|
-
tagRegex = tagRegex === VOID ? Defaults_getInstance().
|
|
368
|
-
this.
|
|
369
|
-
this.
|
|
370
|
-
this.
|
|
371
|
-
this.
|
|
367
|
+
tagRegex = tagRegex === VOID ? Defaults_getInstance().qx_1 : tagRegex;
|
|
368
|
+
this.mx_1 = label;
|
|
369
|
+
this.nx_1 = gitWrapper;
|
|
370
|
+
this.ox_1 = messageDigger;
|
|
371
|
+
this.px_1 = tagRegex;
|
|
372
372
|
}
|
|
373
|
-
protoOf(DiggerCore).
|
|
373
|
+
protoOf(DiggerCore).rx = function () {
|
|
374
374
|
// Inline function 'kotlin.with' call
|
|
375
|
-
var $this$with = this.
|
|
376
|
-
var _destruct__k2r9zo = currentRelevantTags(this, $this$with.
|
|
377
|
-
var currentTag = _destruct__k2r9zo.
|
|
378
|
-
var previousTag = _destruct__k2r9zo.
|
|
379
|
-
var tmp = contribution(this.
|
|
380
|
-
var tmp_0 = currentTag == null ? null : currentTag.
|
|
381
|
-
return tmp.
|
|
375
|
+
var $this$with = this.nx_1;
|
|
376
|
+
var _destruct__k2r9zo = currentRelevantTags(this, $this$with.pw(), take(tagRefs(this), 2));
|
|
377
|
+
var currentTag = _destruct__k2r9zo.y9();
|
|
378
|
+
var previousTag = _destruct__k2r9zo.z9();
|
|
379
|
+
var tmp = contribution(this.ox_1, currentContributionCommits($this$with, previousTag));
|
|
380
|
+
var tmp_0 = currentTag == null ? null : currentTag.uw_1;
|
|
381
|
+
return tmp.ew(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.mx_1, tmp_0, currentTag == null ? null : currentTag.ww_1);
|
|
382
382
|
};
|
|
383
|
-
protoOf(DiggerCore).
|
|
383
|
+
protoOf(DiggerCore).sx = function () {
|
|
384
384
|
// Inline function 'kotlin.collections.map' call
|
|
385
|
-
var this_0 = allContributionCommits(this.
|
|
385
|
+
var this_0 = allContributionCommits(this.nx_1, tagRefs(this), this.nx_1.rw());
|
|
386
386
|
// Inline function 'kotlin.collections.mapTo' call
|
|
387
387
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
388
|
-
var _iterator__ex2g4s = this_0.
|
|
389
|
-
while (_iterator__ex2g4s.
|
|
390
|
-
var item = _iterator__ex2g4s.
|
|
391
|
-
var tmp$ret$0 = to(item.
|
|
388
|
+
var _iterator__ex2g4s = this_0.m();
|
|
389
|
+
while (_iterator__ex2g4s.n()) {
|
|
390
|
+
var item = _iterator__ex2g4s.o();
|
|
391
|
+
var tmp$ret$0 = to(item.w9_1, contribution(this.ox_1, toList(item.x9_1)));
|
|
392
392
|
destination.e(tmp$ret$0);
|
|
393
393
|
}
|
|
394
394
|
// Inline function 'kotlin.collections.map' call
|
|
395
395
|
// Inline function 'kotlin.collections.mapTo' call
|
|
396
396
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
397
|
-
var _iterator__ex2g4s_0 = destination.
|
|
398
|
-
while (_iterator__ex2g4s_0.
|
|
399
|
-
var item_0 = _iterator__ex2g4s_0.
|
|
400
|
-
var tag = item_0.
|
|
401
|
-
var contribution_0 = item_0.
|
|
402
|
-
var tmp = tag == null ? null : tag.
|
|
403
|
-
var tmp$ret$3 = contribution_0.
|
|
397
|
+
var _iterator__ex2g4s_0 = destination.m();
|
|
398
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
399
|
+
var item_0 = _iterator__ex2g4s_0.o();
|
|
400
|
+
var tag = item_0.y9();
|
|
401
|
+
var contribution_0 = item_0.z9();
|
|
402
|
+
var tmp = tag == null ? null : tag.uw_1;
|
|
403
|
+
var tmp$ret$3 = contribution_0.ew(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.mx_1, tmp, tag == null ? null : tag.ww_1);
|
|
404
404
|
destination_0.e(tmp$ret$3);
|
|
405
405
|
}
|
|
406
406
|
return destination_0;
|
|
407
407
|
};
|
|
408
408
|
function MessageDigResult(storyId, ease, coauthors, semver) {
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
409
|
+
this.ix_1 = storyId;
|
|
410
|
+
this.jx_1 = ease;
|
|
411
|
+
this.kx_1 = coauthors;
|
|
412
|
+
this.lx_1 = semver;
|
|
413
413
|
}
|
|
414
414
|
protoOf(MessageDigResult).toString = function () {
|
|
415
|
-
return 'MessageDigResult(storyId=' + this.
|
|
415
|
+
return 'MessageDigResult(storyId=' + this.ix_1 + ', ease=' + this.jx_1 + ', coauthors=' + toString(this.kx_1) + ', semver=' + toString_0(this.lx_1) + ')';
|
|
416
416
|
};
|
|
417
417
|
protoOf(MessageDigResult).hashCode = function () {
|
|
418
|
-
var result = this.
|
|
419
|
-
result = imul(result, 31) + (this.
|
|
420
|
-
result = imul(result, 31) + hashCode(this.
|
|
421
|
-
result = imul(result, 31) + (this.
|
|
418
|
+
var result = this.ix_1 == null ? 0 : getStringHashCode(this.ix_1);
|
|
419
|
+
result = imul(result, 31) + (this.jx_1 == null ? 0 : this.jx_1) | 0;
|
|
420
|
+
result = imul(result, 31) + hashCode(this.kx_1) | 0;
|
|
421
|
+
result = imul(result, 31) + (this.lx_1 == null ? 0 : this.lx_1.hashCode()) | 0;
|
|
422
422
|
return result;
|
|
423
423
|
};
|
|
424
424
|
protoOf(MessageDigResult).equals = function (other) {
|
|
@@ -427,24 +427,24 @@
|
|
|
427
427
|
if (!(other instanceof MessageDigResult))
|
|
428
428
|
return false;
|
|
429
429
|
var tmp0_other_with_cast = other instanceof MessageDigResult ? other : THROW_CCE();
|
|
430
|
-
if (!(this.
|
|
430
|
+
if (!(this.ix_1 == tmp0_other_with_cast.ix_1))
|
|
431
431
|
return false;
|
|
432
|
-
if (!(this.
|
|
432
|
+
if (!(this.jx_1 == tmp0_other_with_cast.jx_1))
|
|
433
433
|
return false;
|
|
434
|
-
if (!equals(this.
|
|
434
|
+
if (!equals(this.kx_1, tmp0_other_with_cast.kx_1))
|
|
435
435
|
return false;
|
|
436
|
-
if (!equals(this.
|
|
436
|
+
if (!equals(this.lx_1, tmp0_other_with_cast.lx_1))
|
|
437
437
|
return false;
|
|
438
438
|
return true;
|
|
439
439
|
};
|
|
440
440
|
function Defaults_0() {
|
|
441
441
|
Defaults_instance_0 = this;
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
444
|
-
this.
|
|
445
|
-
this.
|
|
446
|
-
this.
|
|
447
|
-
this.
|
|
442
|
+
this.tx_1 = Regex_init_$Create$_0('\\[major\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
443
|
+
this.ux_1 = Regex_init_$Create$_0('\\[minor\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
444
|
+
this.vx_1 = Regex_init_$Create$_0('\\[patch\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
445
|
+
this.wx_1 = Regex_init_$Create$_0('\\[none\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
446
|
+
this.xx_1 = Regex_init_$Create$('\\[(?<storyId>.*?)\\]');
|
|
447
|
+
this.yx_1 = Regex_init_$Create$('-(?<ease>[1-5])-');
|
|
448
448
|
}
|
|
449
449
|
var Defaults_instance_0;
|
|
450
450
|
function Defaults_getInstance_0() {
|
|
@@ -453,28 +453,28 @@
|
|
|
453
453
|
return Defaults_instance_0;
|
|
454
454
|
}
|
|
455
455
|
function MessageDigger(majorRegex, minorRegex, patchRegex, noneRegex, storyIdRegex, easeRegex) {
|
|
456
|
-
majorRegex = majorRegex === VOID ? Defaults_getInstance_0().
|
|
457
|
-
minorRegex = minorRegex === VOID ? Defaults_getInstance_0().
|
|
458
|
-
patchRegex = patchRegex === VOID ? Defaults_getInstance_0().
|
|
459
|
-
noneRegex = noneRegex === VOID ? Defaults_getInstance_0().
|
|
460
|
-
storyIdRegex = storyIdRegex === VOID ? Defaults_getInstance_0().
|
|
461
|
-
easeRegex = easeRegex === VOID ? Defaults_getInstance_0().
|
|
462
|
-
if (!contains(storyIdRegex.
|
|
463
|
-
throw RuntimeException_init_$Create$('StoryIdRegex must include a storyId group. The regex was: ' + storyIdRegex.
|
|
456
|
+
majorRegex = majorRegex === VOID ? Defaults_getInstance_0().tx_1 : majorRegex;
|
|
457
|
+
minorRegex = minorRegex === VOID ? Defaults_getInstance_0().ux_1 : minorRegex;
|
|
458
|
+
patchRegex = patchRegex === VOID ? Defaults_getInstance_0().vx_1 : patchRegex;
|
|
459
|
+
noneRegex = noneRegex === VOID ? Defaults_getInstance_0().wx_1 : noneRegex;
|
|
460
|
+
storyIdRegex = storyIdRegex === VOID ? Defaults_getInstance_0().xx_1 : storyIdRegex;
|
|
461
|
+
easeRegex = easeRegex === VOID ? Defaults_getInstance_0().yx_1 : easeRegex;
|
|
462
|
+
if (!contains(storyIdRegex.bc_1, '?<storyId>')) {
|
|
463
|
+
throw RuntimeException_init_$Create$('StoryIdRegex must include a storyId group. The regex was: ' + storyIdRegex.bc_1);
|
|
464
464
|
}
|
|
465
|
-
if (!contains(easeRegex.
|
|
466
|
-
throw RuntimeException_init_$Create$('EaseRegex must include an ease group. The regex was: ' + easeRegex.
|
|
465
|
+
if (!contains(easeRegex.bc_1, '?<ease>')) {
|
|
466
|
+
throw RuntimeException_init_$Create$('EaseRegex must include an ease group. The regex was: ' + easeRegex.bc_1);
|
|
467
467
|
}
|
|
468
|
-
this.
|
|
468
|
+
this.bx_1 = mapOf([to('major', majorRegex), to('minor', minorRegex), to('patch', patchRegex), to('none', noneRegex)]);
|
|
469
469
|
var tmp = this;
|
|
470
470
|
// Inline function 'kotlin.collections.map' call
|
|
471
|
-
var this_0 = this.
|
|
471
|
+
var this_0 = this.bx_1;
|
|
472
472
|
// Inline function 'kotlin.collections.mapTo' call
|
|
473
|
-
var destination = ArrayList_init_$Create$_0(this_0.
|
|
473
|
+
var destination = ArrayList_init_$Create$_0(this_0.p());
|
|
474
474
|
// Inline function 'kotlin.collections.iterator' call
|
|
475
|
-
var _iterator__ex2g4s = this_0.x().
|
|
476
|
-
while (_iterator__ex2g4s.
|
|
477
|
-
var item = _iterator__ex2g4s.
|
|
475
|
+
var _iterator__ex2g4s = this_0.x().m();
|
|
476
|
+
while (_iterator__ex2g4s.n()) {
|
|
477
|
+
var item = _iterator__ex2g4s.o();
|
|
478
478
|
// Inline function 'kotlin.collections.component1' call
|
|
479
479
|
var group = item.y();
|
|
480
480
|
// Inline function 'kotlin.collections.component2' call
|
|
@@ -482,24 +482,24 @@
|
|
|
482
482
|
var tmp$ret$3 = '(?<' + group + '>' + cleaned(regex) + ')?';
|
|
483
483
|
destination.e(tmp$ret$3);
|
|
484
484
|
}
|
|
485
|
-
tmp.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
488
|
-
this.
|
|
489
|
-
this.
|
|
490
|
-
}
|
|
491
|
-
protoOf(MessageDigger).
|
|
492
|
-
return messageDigResult(this.
|
|
485
|
+
tmp.cx_1 = joinToString(destination, '');
|
|
486
|
+
this.dx_1 = '(' + cleaned(storyIdRegex) + ')?';
|
|
487
|
+
this.ex_1 = '(' + cleaned(easeRegex) + ')?';
|
|
488
|
+
this.fx_1 = '(Co-authored-by: .* <(?<coAuthors>.*)>)?';
|
|
489
|
+
this.gx_1 = new Regex(this.cx_1 + this.dx_1 + this.ex_1 + this.fx_1, setOf([RegexOption_IGNORE_CASE_getInstance(), RegexOption_MULTILINE_getInstance()]));
|
|
490
|
+
}
|
|
491
|
+
protoOf(MessageDigger).hx = function (input) {
|
|
492
|
+
return messageDigResult(this.gx_1.kc(input));
|
|
493
493
|
};
|
|
494
494
|
function cleaned(_this__u8e3s4) {
|
|
495
|
-
var first = firstOrNull_0(_this__u8e3s4.
|
|
496
|
-
var last = lastIndexOf(_this__u8e3s4.
|
|
495
|
+
var first = firstOrNull_0(_this__u8e3s4.bc_1);
|
|
496
|
+
var last = lastIndexOf(_this__u8e3s4.bc_1, '/');
|
|
497
497
|
var tmp;
|
|
498
498
|
var tmp_0 = first;
|
|
499
499
|
if (equals(tmp_0 == null ? null : new Char(tmp_0), new Char(_Char___init__impl__6a9atx(47)))) {
|
|
500
|
-
tmp = substring(_this__u8e3s4.
|
|
500
|
+
tmp = substring(_this__u8e3s4.bc_1, 1, last);
|
|
501
501
|
} else {
|
|
502
|
-
tmp = _this__u8e3s4.
|
|
502
|
+
tmp = _this__u8e3s4.bc_1;
|
|
503
503
|
}
|
|
504
504
|
return tmp;
|
|
505
505
|
}
|
|
@@ -509,10 +509,10 @@
|
|
|
509
509
|
var tmp$ret$1;
|
|
510
510
|
$l$block: {
|
|
511
511
|
// Inline function 'kotlin.sequences.firstNotNullOfOrNull' call
|
|
512
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
513
|
-
while (_iterator__ex2g4s.
|
|
514
|
-
var element = _iterator__ex2g4s.
|
|
515
|
-
var result = get(element.
|
|
512
|
+
var _iterator__ex2g4s = _this__u8e3s4.m();
|
|
513
|
+
while (_iterator__ex2g4s.n()) {
|
|
514
|
+
var element = _iterator__ex2g4s.o();
|
|
515
|
+
var result = get(element.sc(), 'storyId');
|
|
516
516
|
if (!(result == null)) {
|
|
517
517
|
tmp$ret$1 = result;
|
|
518
518
|
break $l$block;
|
|
@@ -521,14 +521,14 @@
|
|
|
521
521
|
tmp$ret$1 = null;
|
|
522
522
|
}
|
|
523
523
|
var tmp0_safe_receiver = tmp$ret$1;
|
|
524
|
-
var tmp5_storyId = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
524
|
+
var tmp5_storyId = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.oc_1;
|
|
525
525
|
var tmp$ret$3;
|
|
526
526
|
$l$block_0: {
|
|
527
527
|
// Inline function 'kotlin.sequences.firstNotNullOfOrNull' call
|
|
528
|
-
var _iterator__ex2g4s_0 = _this__u8e3s4.
|
|
529
|
-
while (_iterator__ex2g4s_0.
|
|
530
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
531
|
-
var result_0 = get(element_0.
|
|
528
|
+
var _iterator__ex2g4s_0 = _this__u8e3s4.m();
|
|
529
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
530
|
+
var element_0 = _iterator__ex2g4s_0.o();
|
|
531
|
+
var result_0 = get(element_0.sc(), 'ease');
|
|
532
532
|
if (!(result_0 == null)) {
|
|
533
533
|
tmp$ret$3 = result_0;
|
|
534
534
|
break $l$block_0;
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
tmp$ret$3 = null;
|
|
538
538
|
}
|
|
539
539
|
var tmp1_safe_receiver = tmp$ret$3;
|
|
540
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
540
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.oc_1;
|
|
541
541
|
var tmp6_ease = tmp2_safe_receiver == null ? null : toIntOrNull(tmp2_safe_receiver);
|
|
542
542
|
return new MessageDigResult(tmp5_storyId, tmp6_ease, tmp3_coauthors, tmp4_semver);
|
|
543
543
|
}
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
var tmp;
|
|
550
550
|
try {
|
|
551
551
|
// Inline function 'kotlin.Companion.success' call
|
|
552
|
-
var value = get(_this__u8e3s4.
|
|
552
|
+
var value = get(_this__u8e3s4.sc(), groupName);
|
|
553
553
|
tmp = _Result___init__impl__xyqfz8(value);
|
|
554
554
|
} catch ($p) {
|
|
555
555
|
var tmp_0;
|
|
@@ -577,8 +577,8 @@
|
|
|
577
577
|
return maxOrNull(_this__u8e3s4);
|
|
578
578
|
}
|
|
579
579
|
function messageDigResult$lambda(it) {
|
|
580
|
-
var tmp0_safe_receiver = get(it.
|
|
581
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
580
|
+
var tmp0_safe_receiver = get(it.sc(), 'coAuthors');
|
|
581
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.oc_1;
|
|
582
582
|
}
|
|
583
583
|
function messageDigResult$lambda_0(it) {
|
|
584
584
|
return getSemver(it);
|