git-digger 1.5.42 → 1.5.44

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.
Files changed (64) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +5104 -0
  2. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
  3. package/kotlin/bin/digger +0 -0
  4. package/kotlin/clikt-clikt-mordant.js +303 -0
  5. package/kotlin/clikt-clikt-mordant.js.map +1 -0
  6. package/kotlin/clikt-clikt.js +6742 -0
  7. package/kotlin/clikt-clikt.js.map +1 -0
  8. package/kotlin/colormath-root-colormath.js +1627 -0
  9. package/kotlin/colormath-root-colormath.js.map +1 -0
  10. package/kotlin/command-line-tools-digger-cli.js +563 -0
  11. package/kotlin/command-line-tools-digger-cli.js.map +1 -0
  12. package/kotlin/kotlin-kotlin-stdlib.js +11651 -0
  13. package/kotlin/kotlin-kotlin-stdlib.js.map +1 -0
  14. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
  15. package/kotlin/{kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map → kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map} +1 -1
  16. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +3509 -0
  17. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
  18. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1118 -0
  19. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
  20. package/kotlin/mordant-mordant-omnibus.js +8 -0
  21. package/kotlin/{mordant-mordant-omnibus.mjs.map → mordant-mordant-omnibus.js.map} +1 -1
  22. package/kotlin/mordant-mordant.js +10271 -0
  23. package/kotlin/mordant-mordant.js.map +1 -0
  24. package/kotlin/tools-cli-tools.js +29 -0
  25. package/kotlin/tools-cli-tools.js.map +1 -0
  26. package/kotlin/tools-digger-core.js +659 -0
  27. package/kotlin/tools-digger-core.js.map +1 -0
  28. package/kotlin/tools-digger-json.js +256 -0
  29. package/kotlin/tools-digger-json.js.map +1 -0
  30. package/kotlin/tools-digger-model.js +107 -0
  31. package/kotlin/tools-digger-model.js.map +1 -0
  32. package/kotlin/tools-git-adapter.js +255 -0
  33. package/kotlin/tools-git-adapter.js.map +1 -0
  34. package/package.json +2 -2
  35. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.mjs +0 -5119
  36. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +0 -1
  37. package/kotlin/clikt-clikt-mordant.mjs +0 -310
  38. package/kotlin/clikt-clikt-mordant.mjs.map +0 -1
  39. package/kotlin/clikt-clikt.mjs +0 -6663
  40. package/kotlin/clikt-clikt.mjs.map +0 -1
  41. package/kotlin/colormath-root-colormath.mjs +0 -1675
  42. package/kotlin/colormath-root-colormath.mjs.map +0 -1
  43. package/kotlin/command-line-tools-digger-cli.mjs +0 -498
  44. package/kotlin/command-line-tools-digger-cli.mjs.map +0 -1
  45. package/kotlin/kotlin-kotlin-stdlib.mjs +0 -11790
  46. package/kotlin/kotlin-kotlin-stdlib.mjs.map +0 -1
  47. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +0 -4
  48. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.mjs +0 -3640
  49. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.mjs.map +0 -1
  50. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.mjs +0 -1140
  51. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.mjs.map +0 -1
  52. package/kotlin/mordant-mordant-omnibus.mjs +0 -4
  53. package/kotlin/mordant-mordant.mjs +0 -10332
  54. package/kotlin/mordant-mordant.mjs.map +0 -1
  55. package/kotlin/tools-cli-tools.mjs +0 -30
  56. package/kotlin/tools-cli-tools.mjs.map +0 -1
  57. package/kotlin/tools-digger-core.mjs +0 -666
  58. package/kotlin/tools-digger-core.mjs.map +0 -1
  59. package/kotlin/tools-digger-json.mjs +0 -263
  60. package/kotlin/tools-digger-json.mjs.map +0 -1
  61. package/kotlin/tools-digger-model.mjs +0 -109
  62. package/kotlin/tools-digger-model.mjs.map +0 -1
  63. package/kotlin/tools-git-adapter.mjs +0 -261
  64. package/kotlin/tools-git-adapter.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/AllContributionCommits.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Collections.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/collections/Collections.kt","../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/AlwaysLeftParent.kt","../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/CommitInspectionResult.kt","../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/Contribution.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/js/src/kotlin/text/stringJs.kt","../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/CurrentContributionCommits.kt","../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/DiggerCore.kt","../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/MessageDigResult.kt","../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/MessageDigger.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Maps.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/collections/Maps.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Sequences.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/src/kotlin/util/Result.kt","../../../../../../tools/digger-core/src/commonMain/kotlin/com/zegreatrob/tools/digger/core/SemverType.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["allContributionCommits","<this>","tagRefs","fullLog","set","list","e","key","element","item","sortIntoTagSets","log","earlierTag","nextTag","tagPairs","index","alwaysLeftParent","accumulator","<init>","storyId","ease","authors","semver","result","contribution","commitRefs","messageDigResults","lastCommit","firstCommit","commitInspectionResult","digResult","allAuthors","mergedStoryIds","currentContributionCommits","previousTag","currentRelevantTags","headCommitId","lastTwoTags","label","gitWrapper","messageDigger","tagRegex","currentContributionData","currentTag","allContributionData","tag","coauthors","majorRegex","minorRegex","patchRegex","noneRegex","storyIdRegex","easeRegex","group","regex","digIntoMessage","input","cleaned","first","last","messageDigResult","getSemver","it","groupMatches","groupName","highestPrioritySemver","messageDigResult$lambda"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAMAA,CAAIC,a,EACAC,O,EACAC,OAFJH,EAG0C;A;QCqnDtCI,MAAU,uB;QACVC,OAAW,yB;QACD,oBDtnDA,OCsnDA,I;WAAA,qB,EAAM;A,UAAXC,IAAK,qB;;UACNC,MAAmB,CAAnBA,CDtnDiB,K;MCunDb,IAAA,GAAI,GAAI,GAAJ,CAAJ,C,CACK;A,QAAL,IAAK,GAAI,CAAJ,C;;IACb,C;;;sBA/3BgB,yB;QA2FA,sBAqyBT,IAryBS,I;WAAA,uB,EAAM;A,UAAjBC,UAAW,uB;;;;0BAorBH,0BAAa,wBDxgDZ,OCwgDY,EAAwB,EAAxB,CAAb,C;UAuEA,sBD/kDC,OC+kDD,I;aAAA,uB,EACT;A,YADCC,OAAQ,uB;;wBACiB,I,CDhlDJ,K;QCglDtB,aAAY,GAAI,SAAJ,C;MAAmB,C;MA5vBT,IA6vBnB,aDjlDkC,ICo1BL,ODp1BK,CAAY,KAAZ,CCo1Bf,C,CAAgC;A,QAAZ,WAAY,GAAI,OAAJ,C;;IAAW,C;ID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kotlinx_kotlinx_serialization_json, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_datetime) {
2
+ 'use strict';
3
+ //region block: imports
4
+ var imul = Math.imul;
5
+ var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
6
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.f4;
7
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
8
+ var Unit_instance = kotlin_kotlin.$_$.i3;
9
+ var KtList = kotlin_kotlin.$_$.p3;
10
+ var getKClass = kotlin_kotlin.$_$.f;
11
+ var arrayOf = kotlin_kotlin.$_$.kc;
12
+ var createKType = kotlin_kotlin.$_$.c;
13
+ var createInvariantKTypeProjection = kotlin_kotlin.$_$.b;
14
+ var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
15
+ var THROW_CCE = kotlin_kotlin.$_$.yb;
16
+ var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
17
+ var isInterface = kotlin_kotlin.$_$.f8;
18
+ var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
19
+ var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
20
+ var protoOf = kotlin_kotlin.$_$.q8;
21
+ var initMetadataForCompanion = kotlin_kotlin.$_$.s7;
22
+ var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
23
+ var InstantIso8601Serializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.a;
24
+ var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
25
+ var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
26
+ var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
27
+ var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
28
+ var initMetadataForObject = kotlin_kotlin.$_$.w7;
29
+ var VOID = kotlin_kotlin.$_$.g;
30
+ var toString = kotlin_kotlin.$_$.t8;
31
+ var toString_0 = kotlin_kotlin.$_$.vc;
32
+ var getStringHashCode = kotlin_kotlin.$_$.p7;
33
+ var hashCode = kotlin_kotlin.$_$.q7;
34
+ var equals = kotlin_kotlin.$_$.k7;
35
+ var initMetadataForClass = kotlin_kotlin.$_$.r7;
36
+ //endregion
37
+ //region block: pre-declaration
38
+ initMetadataForCompanion(Companion);
39
+ initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
40
+ initMetadataForClass(ContributionJson, 'ContributionJson', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
41
+ //endregion
42
+ function toJsonString(_this__u8e3s4) {
43
+ var tmp2 = Default_getInstance();
44
+ // Inline function 'kotlin.collections.map' call
45
+ // Inline function 'kotlin.collections.mapTo' call
46
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(_this__u8e3s4, 10));
47
+ var _iterator__ex2g4s = _this__u8e3s4.m();
48
+ while (_iterator__ex2g4s.n()) {
49
+ var item = _iterator__ex2g4s.o();
50
+ // Inline function 'com.zegreatrob.tools.digger.json.toJsonString.stub_for_inlining' call
51
+ var tmp$ret$0 = toJsonModel(item);
52
+ destination.e(tmp$ret$0);
53
+ }
54
+ // Inline function 'kotlinx.serialization.encodeToString' call
55
+ // Inline function 'kotlinx.serialization.serializer' call
56
+ var this_0 = tmp2.tm();
57
+ // Inline function 'kotlinx.serialization.internal.cast' call
58
+ var this_1 = serializer(this_0, createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(ContributionJson), arrayOf([]), false))]), false));
59
+ var tmp$ret$4 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
60
+ return tmp2.q1b(tmp$ret$4, destination);
61
+ }
62
+ function toJsonString_0(_this__u8e3s4) {
63
+ var tmp0 = Default_getInstance();
64
+ // Inline function 'kotlinx.serialization.encodeToString' call
65
+ var value = toJsonModel(_this__u8e3s4);
66
+ // Inline function 'kotlinx.serialization.serializer' call
67
+ var this_0 = tmp0.tm();
68
+ // Inline function 'kotlinx.serialization.internal.cast' call
69
+ var this_1 = serializer(this_0, createKType(getKClass(ContributionJson), arrayOf([]), false));
70
+ var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
71
+ return tmp0.q1b(tmp$ret$1, value);
72
+ }
73
+ function Companion() {
74
+ Companion_instance = this;
75
+ var tmp = this;
76
+ // Inline function 'kotlin.arrayOf' call
77
+ // Inline function 'kotlin.js.unsafeCast' call
78
+ // Inline function 'kotlin.js.asDynamic' call
79
+ tmp.j1e_1 = [null, null, new ArrayListSerializer(StringSerializer_getInstance()), null, null, null, null, null, null, null, null, null];
80
+ }
81
+ var Companion_instance;
82
+ function Companion_getInstance() {
83
+ if (Companion_instance == null)
84
+ new Companion();
85
+ return Companion_instance;
86
+ }
87
+ function $serializer() {
88
+ $serializer_instance = this;
89
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.digger.json.ContributionJson', this, 12);
90
+ tmp0_serialDesc.cq('lastCommit', false);
91
+ tmp0_serialDesc.cq('firstCommit', false);
92
+ tmp0_serialDesc.cq('authors', false);
93
+ tmp0_serialDesc.cq('dateTime', true);
94
+ tmp0_serialDesc.cq('firstCommitDateTime', true);
95
+ tmp0_serialDesc.cq('commitCount', false);
96
+ tmp0_serialDesc.cq('ease', true);
97
+ tmp0_serialDesc.cq('storyId', true);
98
+ tmp0_serialDesc.cq('semver', true);
99
+ tmp0_serialDesc.cq('label', true);
100
+ tmp0_serialDesc.cq('tagName', true);
101
+ tmp0_serialDesc.cq('tagDateTime', true);
102
+ this.k1e_1 = tmp0_serialDesc;
103
+ }
104
+ protoOf($serializer).l1e = function (encoder, value) {
105
+ var tmp0_desc = this.k1e_1;
106
+ var tmp1_output = encoder.ql(tmp0_desc);
107
+ var tmp2_cached = Companion_getInstance().j1e_1;
108
+ tmp1_output.nm(tmp0_desc, 0, value.m1e_1);
109
+ tmp1_output.nm(tmp0_desc, 1, value.n1e_1);
110
+ tmp1_output.pm(tmp0_desc, 2, tmp2_cached[2], value.o1e_1);
111
+ if (tmp1_output.wm(tmp0_desc, 3) ? true : !(value.p1e_1 == null)) {
112
+ tmp1_output.rm(tmp0_desc, 3, InstantIso8601Serializer_getInstance(), value.p1e_1);
113
+ }
114
+ if (tmp1_output.wm(tmp0_desc, 4) ? true : !(value.q1e_1 == null)) {
115
+ tmp1_output.rm(tmp0_desc, 4, InstantIso8601Serializer_getInstance(), value.q1e_1);
116
+ }
117
+ tmp1_output.im(tmp0_desc, 5, value.r1e_1);
118
+ if (tmp1_output.wm(tmp0_desc, 6) ? true : !(value.s1e_1 == null)) {
119
+ tmp1_output.rm(tmp0_desc, 6, IntSerializer_getInstance(), value.s1e_1);
120
+ }
121
+ if (tmp1_output.wm(tmp0_desc, 7) ? true : !(value.t1e_1 == null)) {
122
+ tmp1_output.rm(tmp0_desc, 7, StringSerializer_getInstance(), value.t1e_1);
123
+ }
124
+ if (tmp1_output.wm(tmp0_desc, 8) ? true : !(value.u1e_1 == null)) {
125
+ tmp1_output.rm(tmp0_desc, 8, StringSerializer_getInstance(), value.u1e_1);
126
+ }
127
+ if (tmp1_output.wm(tmp0_desc, 9) ? true : !(value.v1e_1 == null)) {
128
+ tmp1_output.rm(tmp0_desc, 9, StringSerializer_getInstance(), value.v1e_1);
129
+ }
130
+ if (tmp1_output.wm(tmp0_desc, 10) ? true : !(value.w1e_1 == null)) {
131
+ tmp1_output.rm(tmp0_desc, 10, StringSerializer_getInstance(), value.w1e_1);
132
+ }
133
+ if (tmp1_output.wm(tmp0_desc, 11) ? true : !(value.x1e_1 == null)) {
134
+ tmp1_output.rm(tmp0_desc, 11, InstantIso8601Serializer_getInstance(), value.x1e_1);
135
+ }
136
+ tmp1_output.rl(tmp0_desc);
137
+ };
138
+ protoOf($serializer).pj = function (encoder, value) {
139
+ return this.l1e(encoder, value instanceof ContributionJson ? value : THROW_CCE());
140
+ };
141
+ protoOf($serializer).oj = function () {
142
+ return this.k1e_1;
143
+ };
144
+ protoOf($serializer).eq = function () {
145
+ var tmp0_cached = Companion_getInstance().j1e_1;
146
+ // Inline function 'kotlin.arrayOf' call
147
+ // Inline function 'kotlin.js.unsafeCast' call
148
+ // Inline function 'kotlin.js.asDynamic' call
149
+ return [StringSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[2], get_nullable(InstantIso8601Serializer_getInstance()), get_nullable(InstantIso8601Serializer_getInstance()), IntSerializer_getInstance(), get_nullable(IntSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(InstantIso8601Serializer_getInstance())];
150
+ };
151
+ var $serializer_instance;
152
+ function $serializer_getInstance() {
153
+ if ($serializer_instance == null)
154
+ new $serializer();
155
+ return $serializer_instance;
156
+ }
157
+ function ContributionJson(lastCommit, firstCommit, authors, dateTime, firstCommitDateTime, commitCount, ease, storyId, semver, label, tagName, tagDateTime) {
158
+ Companion_getInstance();
159
+ dateTime = dateTime === VOID ? null : dateTime;
160
+ firstCommitDateTime = firstCommitDateTime === VOID ? null : firstCommitDateTime;
161
+ ease = ease === VOID ? null : ease;
162
+ storyId = storyId === VOID ? null : storyId;
163
+ semver = semver === VOID ? null : semver;
164
+ label = label === VOID ? null : label;
165
+ tagName = tagName === VOID ? null : tagName;
166
+ tagDateTime = tagDateTime === VOID ? null : tagDateTime;
167
+ this.m1e_1 = lastCommit;
168
+ this.n1e_1 = firstCommit;
169
+ this.o1e_1 = authors;
170
+ this.p1e_1 = dateTime;
171
+ this.q1e_1 = firstCommitDateTime;
172
+ this.r1e_1 = commitCount;
173
+ this.s1e_1 = ease;
174
+ this.t1e_1 = storyId;
175
+ this.u1e_1 = semver;
176
+ this.v1e_1 = label;
177
+ this.w1e_1 = tagName;
178
+ this.x1e_1 = tagDateTime;
179
+ }
180
+ protoOf(ContributionJson).toString = function () {
181
+ return 'ContributionJson(lastCommit=' + this.m1e_1 + ', firstCommit=' + this.n1e_1 + ', authors=' + toString(this.o1e_1) + ', dateTime=' + toString_0(this.p1e_1) + ', firstCommitDateTime=' + toString_0(this.q1e_1) + ', commitCount=' + this.r1e_1 + ', ease=' + this.s1e_1 + ', storyId=' + this.t1e_1 + ', semver=' + this.u1e_1 + ', label=' + this.v1e_1 + ', tagName=' + this.w1e_1 + ', tagDateTime=' + toString_0(this.x1e_1) + ')';
182
+ };
183
+ protoOf(ContributionJson).hashCode = function () {
184
+ var result = getStringHashCode(this.m1e_1);
185
+ result = imul(result, 31) + getStringHashCode(this.n1e_1) | 0;
186
+ result = imul(result, 31) + hashCode(this.o1e_1) | 0;
187
+ result = imul(result, 31) + (this.p1e_1 == null ? 0 : this.p1e_1.hashCode()) | 0;
188
+ result = imul(result, 31) + (this.q1e_1 == null ? 0 : this.q1e_1.hashCode()) | 0;
189
+ result = imul(result, 31) + this.r1e_1 | 0;
190
+ result = imul(result, 31) + (this.s1e_1 == null ? 0 : this.s1e_1) | 0;
191
+ result = imul(result, 31) + (this.t1e_1 == null ? 0 : getStringHashCode(this.t1e_1)) | 0;
192
+ result = imul(result, 31) + (this.u1e_1 == null ? 0 : getStringHashCode(this.u1e_1)) | 0;
193
+ result = imul(result, 31) + (this.v1e_1 == null ? 0 : getStringHashCode(this.v1e_1)) | 0;
194
+ result = imul(result, 31) + (this.w1e_1 == null ? 0 : getStringHashCode(this.w1e_1)) | 0;
195
+ result = imul(result, 31) + (this.x1e_1 == null ? 0 : this.x1e_1.hashCode()) | 0;
196
+ return result;
197
+ };
198
+ protoOf(ContributionJson).equals = function (other) {
199
+ if (this === other)
200
+ return true;
201
+ if (!(other instanceof ContributionJson))
202
+ return false;
203
+ var tmp0_other_with_cast = other instanceof ContributionJson ? other : THROW_CCE();
204
+ if (!(this.m1e_1 === tmp0_other_with_cast.m1e_1))
205
+ return false;
206
+ if (!(this.n1e_1 === tmp0_other_with_cast.n1e_1))
207
+ return false;
208
+ if (!equals(this.o1e_1, tmp0_other_with_cast.o1e_1))
209
+ return false;
210
+ if (!equals(this.p1e_1, tmp0_other_with_cast.p1e_1))
211
+ return false;
212
+ if (!equals(this.q1e_1, tmp0_other_with_cast.q1e_1))
213
+ return false;
214
+ if (!(this.r1e_1 === tmp0_other_with_cast.r1e_1))
215
+ return false;
216
+ if (!(this.s1e_1 == tmp0_other_with_cast.s1e_1))
217
+ return false;
218
+ if (!(this.t1e_1 == tmp0_other_with_cast.t1e_1))
219
+ return false;
220
+ if (!(this.u1e_1 == tmp0_other_with_cast.u1e_1))
221
+ return false;
222
+ if (!(this.v1e_1 == tmp0_other_with_cast.v1e_1))
223
+ return false;
224
+ if (!(this.w1e_1 == tmp0_other_with_cast.w1e_1))
225
+ return false;
226
+ if (!equals(this.x1e_1, tmp0_other_with_cast.x1e_1))
227
+ return false;
228
+ return true;
229
+ };
230
+ function toJsonModel(_this__u8e3s4) {
231
+ var tmp0_lastCommit = _this__u8e3s4.f19_1;
232
+ var tmp1_firstCommit = _this__u8e3s4.g19_1;
233
+ var tmp2_authors = _this__u8e3s4.h19_1;
234
+ var tmp3_dateTime = _this__u8e3s4.j19_1;
235
+ var tmp4_firstCommitDateTime = _this__u8e3s4.k19_1;
236
+ var tmp5_ease = _this__u8e3s4.l19_1;
237
+ var tmp6_storyId = _this__u8e3s4.m19_1;
238
+ var tmp7_semver = _this__u8e3s4.n19_1;
239
+ var tmp8_label = _this__u8e3s4.o19_1;
240
+ var tmp9_tagName = _this__u8e3s4.p19_1;
241
+ var tmp10_tagDateTime = _this__u8e3s4.q19_1;
242
+ var tmp11_commitCount = _this__u8e3s4.i19_1;
243
+ return new ContributionJson(tmp0_lastCommit, tmp1_firstCommit, tmp2_authors, tmp3_dateTime, tmp4_firstCommitDateTime, tmp11_commitCount, tmp5_ease, tmp6_storyId, tmp7_semver, tmp8_label, tmp9_tagName, tmp10_tagDateTime);
244
+ }
245
+ //region block: post-declaration
246
+ protoOf($serializer).fq = typeParametersSerializers;
247
+ //endregion
248
+ //region block: exports
249
+ _.$_$ = _.$_$ || {};
250
+ _.$_$.a = toJsonString_0;
251
+ _.$_$.b = toJsonString;
252
+ //endregion
253
+ return _;
254
+ }(module.exports, require('./kotlinx-serialization-kotlinx-serialization-json.js'), require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./Kotlin-DateTime-library-kotlinx-datetime.js')));
255
+
256
+ //# sourceMappingURL=tools-digger-json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../tools/digger-json/src/commonMain/kotlin/com/zegreatrob/tools/digger/json/ContributionDataJson.kt","../../../../../digger-cli/build/compileSync/js/main/productionExecutable/kotlin/common/src/generated/_Collections.kt","../../../../../../../../../../../mnt/agent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/SerialFormat.kt","../../../../../../../../../../../mnt/agent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/Serializers.kt","../../../../../../../../../../../mnt/agent/work/b2fef8360e1bcf3d/core/commonMain/src/kotlinx/serialization/internal/Platform.common.kt"],"sourcesContent":[null,null,null,null,null],"names":["toJsonString","<this>","item","serialize","encoder","value","childSerializers","<init>","lastCommit","firstCommit","authors","dateTime","firstCommitDateTime","commitCount","ease","storyId","semver","label","tagName","tagDateTime","result","toJsonModel"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAwBAA,CAAIC,aAAJD,EAAoD;A,eAAA,qB;;;sBC4/CnC,wBAAa,wBD5/C0C,aC4/C1C,EAAwB,EAAxB,CAAb,C;QAuEA,oBDnkDuD,aCmkDvD,I;WAAA,qB,EACT;A,UADCE,OAAQ,qB;;sBDnkD2D,YCokD1C,IDpkD0C,C;MC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IACA,iB;IACA,oB;IACA,mB;IACA,kB;IACA,oB;IACA,wB;EAZgC,C;mDATpC;A,IAAA,6a;EAAA,C;mDAAA;A,QAAAa,sC;IAAA,6D;IAAA,oD;IAAA,gF;IAAA,gF;IAAA,0C;IAAA,qE;IAAA,wF;IAAA,wF;IAAA,wF;IAAA,wF;IAAA,gF;IAAA,a;EAAA,C;sDAAA;A,IAAA,mB;MAAA,W;IAAA,yC;MAAA,Y;QAAA,8E;IAAA,iD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,W;EAAA,C;sBAyCAC,CAAYpB,aAAZoB,EAAyC;A,QACxB,qC;QACC,sC;QACJ,kC;QACC,mC;QACW,8C;QACf,+B;QACG,kC;QACD,iC;QACD,gC;QACE,kC;QACI,uC;QACA,uC;IACjB,OAbwC,qBACxB,eADwB,EAEvB,gBAFuB,EAG3B,YAH2B,EAI1B,aAJ0B,EAKf,wBALe,EAYvB,iBAZuB,EAM9B,SAN8B,EAO3B,YAP2B,EAQ5B,WAR4B,EAS7B,UAT6B,EAU3B,YAV2B,EAWvB,iBAXuB,C;EAazC,C;;;;;;;;;;;"}
@@ -0,0 +1,107 @@
1
+ (function (_, kotlin_kotlin) {
2
+ 'use strict';
3
+ //region block: imports
4
+ var imul = Math.imul;
5
+ var protoOf = kotlin_kotlin.$_$.q8;
6
+ var VOID = kotlin_kotlin.$_$.g;
7
+ var toString = kotlin_kotlin.$_$.t8;
8
+ var toString_0 = kotlin_kotlin.$_$.vc;
9
+ var getStringHashCode = kotlin_kotlin.$_$.p7;
10
+ var hashCode = kotlin_kotlin.$_$.q7;
11
+ var THROW_CCE = kotlin_kotlin.$_$.yb;
12
+ var equals = kotlin_kotlin.$_$.k7;
13
+ var initMetadataForClass = kotlin_kotlin.$_$.r7;
14
+ //endregion
15
+ //region block: pre-declaration
16
+ initMetadataForClass(Contribution, 'Contribution');
17
+ //endregion
18
+ function Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
19
+ this.f19_1 = lastCommit;
20
+ this.g19_1 = firstCommit;
21
+ this.h19_1 = authors;
22
+ this.i19_1 = commitCount;
23
+ this.j19_1 = dateTime;
24
+ this.k19_1 = firstCommitDateTime;
25
+ this.l19_1 = ease;
26
+ this.m19_1 = storyId;
27
+ this.n19_1 = semver;
28
+ this.o19_1 = label;
29
+ this.p19_1 = tagName;
30
+ this.q19_1 = tagDateTime;
31
+ }
32
+ protoOf(Contribution).r19 = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) {
33
+ return new Contribution(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
34
+ };
35
+ protoOf(Contribution).s19 = function (lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime, $super) {
36
+ lastCommit = lastCommit === VOID ? this.f19_1 : lastCommit;
37
+ firstCommit = firstCommit === VOID ? this.g19_1 : firstCommit;
38
+ authors = authors === VOID ? this.h19_1 : authors;
39
+ commitCount = commitCount === VOID ? this.i19_1 : commitCount;
40
+ dateTime = dateTime === VOID ? this.j19_1 : dateTime;
41
+ firstCommitDateTime = firstCommitDateTime === VOID ? this.k19_1 : firstCommitDateTime;
42
+ ease = ease === VOID ? this.l19_1 : ease;
43
+ storyId = storyId === VOID ? this.m19_1 : storyId;
44
+ semver = semver === VOID ? this.n19_1 : semver;
45
+ label = label === VOID ? this.o19_1 : label;
46
+ tagName = tagName === VOID ? this.p19_1 : tagName;
47
+ tagDateTime = tagDateTime === VOID ? this.q19_1 : tagDateTime;
48
+ return $super === VOID ? this.r19(lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime) : $super.r19.call(this, lastCommit, firstCommit, authors, commitCount, dateTime, firstCommitDateTime, ease, storyId, semver, label, tagName, tagDateTime);
49
+ };
50
+ protoOf(Contribution).toString = function () {
51
+ return 'Contribution(lastCommit=' + this.f19_1 + ', firstCommit=' + this.g19_1 + ', authors=' + toString(this.h19_1) + ', commitCount=' + this.i19_1 + ', dateTime=' + toString_0(this.j19_1) + ', firstCommitDateTime=' + toString_0(this.k19_1) + ', ease=' + this.l19_1 + ', storyId=' + this.m19_1 + ', semver=' + this.n19_1 + ', label=' + this.o19_1 + ', tagName=' + this.p19_1 + ', tagDateTime=' + toString_0(this.q19_1) + ')';
52
+ };
53
+ protoOf(Contribution).hashCode = function () {
54
+ var result = getStringHashCode(this.f19_1);
55
+ result = imul(result, 31) + getStringHashCode(this.g19_1) | 0;
56
+ result = imul(result, 31) + hashCode(this.h19_1) | 0;
57
+ result = imul(result, 31) + this.i19_1 | 0;
58
+ result = imul(result, 31) + (this.j19_1 == null ? 0 : this.j19_1.hashCode()) | 0;
59
+ result = imul(result, 31) + (this.k19_1 == null ? 0 : this.k19_1.hashCode()) | 0;
60
+ result = imul(result, 31) + (this.l19_1 == null ? 0 : this.l19_1) | 0;
61
+ result = imul(result, 31) + (this.m19_1 == null ? 0 : getStringHashCode(this.m19_1)) | 0;
62
+ result = imul(result, 31) + (this.n19_1 == null ? 0 : getStringHashCode(this.n19_1)) | 0;
63
+ result = imul(result, 31) + (this.o19_1 == null ? 0 : getStringHashCode(this.o19_1)) | 0;
64
+ result = imul(result, 31) + (this.p19_1 == null ? 0 : getStringHashCode(this.p19_1)) | 0;
65
+ result = imul(result, 31) + (this.q19_1 == null ? 0 : this.q19_1.hashCode()) | 0;
66
+ return result;
67
+ };
68
+ protoOf(Contribution).equals = function (other) {
69
+ if (this === other)
70
+ return true;
71
+ if (!(other instanceof Contribution))
72
+ return false;
73
+ var tmp0_other_with_cast = other instanceof Contribution ? other : THROW_CCE();
74
+ if (!(this.f19_1 === tmp0_other_with_cast.f19_1))
75
+ return false;
76
+ if (!(this.g19_1 === tmp0_other_with_cast.g19_1))
77
+ return false;
78
+ if (!equals(this.h19_1, tmp0_other_with_cast.h19_1))
79
+ return false;
80
+ if (!(this.i19_1 === tmp0_other_with_cast.i19_1))
81
+ return false;
82
+ if (!equals(this.j19_1, tmp0_other_with_cast.j19_1))
83
+ return false;
84
+ if (!equals(this.k19_1, tmp0_other_with_cast.k19_1))
85
+ return false;
86
+ if (!(this.l19_1 == tmp0_other_with_cast.l19_1))
87
+ return false;
88
+ if (!(this.m19_1 == tmp0_other_with_cast.m19_1))
89
+ return false;
90
+ if (!(this.n19_1 == tmp0_other_with_cast.n19_1))
91
+ return false;
92
+ if (!(this.o19_1 == tmp0_other_with_cast.o19_1))
93
+ return false;
94
+ if (!(this.p19_1 == tmp0_other_with_cast.p19_1))
95
+ return false;
96
+ if (!equals(this.q19_1, tmp0_other_with_cast.q19_1))
97
+ return false;
98
+ return true;
99
+ };
100
+ //region block: exports
101
+ _.$_$ = _.$_$ || {};
102
+ _.$_$.a = Contribution;
103
+ //endregion
104
+ return _;
105
+ }(module.exports, require('./kotlin-kotlin-stdlib.js')));
106
+
107
+ //# sourceMappingURL=tools-digger-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../tools/digger-model/src/commonMain/kotlin/com/zegreatrob/tools/digger/model/Contribution.kt"],"sourcesContent":[null],"names":["<init>","lastCommit","firstCommit","authors","commitCount","dateTime","firstCommitDateTime","ease","storyId","semver","label","tagName","tagDateTime","result"],"mappings":";;;;;;;;;;;;;;;;;uBAIuBA,CACnBC,U,EACAC,W,EACAC,O,EACAC,W,EACAC,Q,EACAC,mB,EACAC,I,EACAC,O,EACAC,M,EACAC,K,EACAC,O,EACAC,WAZmBZ,EAAA;A,IACnB,uB;IACA,wB;IACA,oB;IACA,wB;IACA,qB;IACA,gC;IACA,iB;IACA,oB;IACA,mB;IACA,kB;IACA,oB;IACA,wB;EAZmB,C;0KAJvB;A,IAAA,yJ;EAAA,C;;uCAAA,I,CAAA,K;yCAAA,I,CAAA,K;iCAAA,I,CAAA,K;yCAAA,I,CAAA,K;mCAAA,I,CAAA,K;yDAAA,I,CAAA,K;2BAAA,I,CAAA,K;iCAAA,I,CAAA,K;+BAAA,I,CAAA,K;6BAAA,I,CAAA,K;iCAAA,I,CAAA,K;yCAAA,I,CAAA,K;;;+CAAA;A,IAAA,ya;EAAA,C;+CAAA;A,QAAAa,sC;IAAA,6D;IAAA,oD;IAAA,0C;IAAA,gF;IAAA,gF;IAAA,qE;IAAA,wF;IAAA,wF;IAAA,wF;IAAA,wF;IAAA,gF;IAAA,a;EAAA,C;kDAAA;A,IAAA,mB;MAAA,W;IAAA,qC;MAAA,Y;QAAA,0E;IAAA,iD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,iD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,gD;MAAA,Y;IAAA,oD;MAAA,Y;IAAA,W;EAAA,C;;;;;;;"}
@@ -0,0 +1,255 @@
1
+ (function (_, childProcess, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_datetime) {
2
+ 'use strict';
3
+ //region block: imports
4
+ var imul = Math.imul;
5
+ var toString = kotlin_kotlin.$_$.t8;
6
+ var protoOf = kotlin_kotlin.$_$.q8;
7
+ var getStringHashCode = kotlin_kotlin.$_$.p7;
8
+ var hashCode = kotlin_kotlin.$_$.q7;
9
+ var THROW_CCE = kotlin_kotlin.$_$.yb;
10
+ var equals = kotlin_kotlin.$_$.k7;
11
+ var initMetadataForClass = kotlin_kotlin.$_$.r7;
12
+ var plus = kotlin_kotlin.$_$.p5;
13
+ var emptyMap = kotlin_kotlin.$_$.o4;
14
+ var VOID = kotlin_kotlin.$_$.g;
15
+ var split = kotlin_kotlin.$_$.wa;
16
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
17
+ var joinToString = kotlin_kotlin.$_$.y4;
18
+ var reversed = kotlin_kotlin.$_$.w5;
19
+ var Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
20
+ var last = kotlin_kotlin.$_$.e5;
21
+ var Unit_instance = kotlin_kotlin.$_$.i3;
22
+ var isBlank = kotlin_kotlin.$_$.ia;
23
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.f4;
24
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
25
+ var charSequenceLength = kotlin_kotlin.$_$.h7;
26
+ var listOf = kotlin_kotlin.$_$.i5;
27
+ var isCharSequence = kotlin_kotlin.$_$.b8;
28
+ var trim = kotlin_kotlin.$_$.ib;
29
+ var emptyList = kotlin_kotlin.$_$.n4;
30
+ var listOf_0 = kotlin_kotlin.$_$.h5;
31
+ var plus_0 = kotlin_kotlin.$_$.s5;
32
+ var first = kotlin_kotlin.$_$.r4;
33
+ var copyToArray = kotlin_kotlin.$_$.k4;
34
+ var to = kotlin_kotlin.$_$.wc;
35
+ var json = kotlin_kotlin.$_$.j8;
36
+ var Exception_init_$Create$ = kotlin_kotlin.$_$.z;
37
+ var toList = kotlin_kotlin.$_$.j6;
38
+ //endregion
39
+ //region block: pre-declaration
40
+ initMetadataForClass(CommitRef, 'CommitRef');
41
+ initMetadataForClass(GitAdapter, 'GitAdapter');
42
+ initMetadataForClass(TagRef, 'TagRef');
43
+ //endregion
44
+ function CommitRef(id, authorEmail, committerEmail, dateTime, parents, fullMessage) {
45
+ this.t19_1 = id;
46
+ this.u19_1 = authorEmail;
47
+ this.v19_1 = committerEmail;
48
+ this.w19_1 = dateTime;
49
+ this.x19_1 = parents;
50
+ this.y19_1 = fullMessage;
51
+ }
52
+ protoOf(CommitRef).toString = function () {
53
+ return 'CommitRef(id=' + this.t19_1 + ', authorEmail=' + this.u19_1 + ', committerEmail=' + this.v19_1 + ', dateTime=' + this.w19_1.toString() + ', parents=' + toString(this.x19_1) + ', fullMessage=' + this.y19_1 + ')';
54
+ };
55
+ protoOf(CommitRef).hashCode = function () {
56
+ var result = getStringHashCode(this.t19_1);
57
+ result = imul(result, 31) + getStringHashCode(this.u19_1) | 0;
58
+ result = imul(result, 31) + getStringHashCode(this.v19_1) | 0;
59
+ result = imul(result, 31) + this.w19_1.hashCode() | 0;
60
+ result = imul(result, 31) + hashCode(this.x19_1) | 0;
61
+ result = imul(result, 31) + getStringHashCode(this.y19_1) | 0;
62
+ return result;
63
+ };
64
+ protoOf(CommitRef).equals = function (other) {
65
+ if (this === other)
66
+ return true;
67
+ if (!(other instanceof CommitRef))
68
+ return false;
69
+ var tmp0_other_with_cast = other instanceof CommitRef ? other : THROW_CCE();
70
+ if (!(this.t19_1 === tmp0_other_with_cast.t19_1))
71
+ return false;
72
+ if (!(this.u19_1 === tmp0_other_with_cast.u19_1))
73
+ return false;
74
+ if (!(this.v19_1 === tmp0_other_with_cast.v19_1))
75
+ return false;
76
+ if (!this.w19_1.equals(tmp0_other_with_cast.w19_1))
77
+ return false;
78
+ if (!equals(this.x19_1, tmp0_other_with_cast.x19_1))
79
+ return false;
80
+ if (!(this.y19_1 === tmp0_other_with_cast.y19_1))
81
+ return false;
82
+ return true;
83
+ };
84
+ function runProcess($this, args, env) {
85
+ return runProcess_0(args, $this.z19_1, plus(env, $this.a1a_1));
86
+ }
87
+ function runProcess$default($this, args, env, $super) {
88
+ env = env === VOID ? emptyMap() : env;
89
+ return runProcess($this, args, env);
90
+ }
91
+ function parseTagRefs($this, outputText) {
92
+ // Inline function 'kotlin.collections.mapNotNull' call
93
+ var tmp0 = split(outputText, ['\n']);
94
+ // Inline function 'kotlin.collections.mapNotNullTo' call
95
+ var destination = ArrayList_init_$Create$();
96
+ // Inline function 'kotlin.collections.forEach' call
97
+ var _iterator__ex2g4s = tmp0.m();
98
+ while (_iterator__ex2g4s.n()) {
99
+ var element = _iterator__ex2g4s.o();
100
+ // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
101
+ // Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseTagRefs.<anonymous>' call
102
+ var commaSplit = split(element, [',']);
103
+ var tmp;
104
+ if (commaSplit.p() >= 3) {
105
+ tmp = new TagRef(joinToString(commaSplit.s1(0, commaSplit.p() - 2 | 0), ''), reversed(commaSplit).q(1), Companion_getInstance().w18(last(commaSplit)));
106
+ } else {
107
+ tmp = null;
108
+ }
109
+ var tmp0_safe_receiver = tmp;
110
+ if (tmp0_safe_receiver == null)
111
+ null;
112
+ else {
113
+ // Inline function 'kotlin.let' call
114
+ // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
115
+ destination.e(tmp0_safe_receiver);
116
+ }
117
+ }
118
+ var output = destination;
119
+ return output;
120
+ }
121
+ function parseLog($this, outputText) {
122
+ // Inline function 'kotlin.collections.filter' call
123
+ var tmp0 = split(outputText, [$this.b1a_1 + '\n']);
124
+ // Inline function 'kotlin.collections.filterTo' call
125
+ var destination = ArrayList_init_$Create$();
126
+ var _iterator__ex2g4s = tmp0.m();
127
+ while (_iterator__ex2g4s.n()) {
128
+ var element = _iterator__ex2g4s.o();
129
+ // Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.stub_for_inlining' call
130
+ // Inline function 'kotlin.text.isNotBlank' call
131
+ if (!isBlank(element)) {
132
+ destination.e(element);
133
+ }
134
+ }
135
+ // Inline function 'kotlin.collections.map' call
136
+ // Inline function 'kotlin.collections.mapTo' call
137
+ var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
138
+ var _iterator__ex2g4s_0 = destination.m();
139
+ while (_iterator__ex2g4s_0.n()) {
140
+ var item = _iterator__ex2g4s_0.o();
141
+ // Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>' call
142
+ var elements = split(item, ['\n']);
143
+ var tmp = elements.q(0);
144
+ var tmp_0 = elements.q(1);
145
+ var tmp_1 = elements.q(2);
146
+ var tmp_2 = Companion_getInstance().w18(elements.q(3));
147
+ // Inline function 'kotlin.collections.filter' call
148
+ var tmp0_0 = split(elements.q(4), [' ']);
149
+ // Inline function 'kotlin.collections.filterTo' call
150
+ var destination_1 = ArrayList_init_$Create$();
151
+ var _iterator__ex2g4s_1 = tmp0_0.m();
152
+ while (_iterator__ex2g4s_1.n()) {
153
+ var element_0 = _iterator__ex2g4s_1.o();
154
+ // Inline function 'com.zegreatrob.tools.adapter.git.GitAdapter.parseLog.<anonymous>.<anonymous>' call
155
+ // Inline function 'kotlin.text.isNotEmpty' call
156
+ if (charSequenceLength(element_0) > 0) {
157
+ destination_1.e(element_0);
158
+ }
159
+ }
160
+ var tmp$ret$8 = new CommitRef(tmp, tmp_0, tmp_1, tmp_2, destination_1, joinToString(elements.s1(5, elements.p()), '\n'));
161
+ destination_0.e(tmp$ret$8);
162
+ }
163
+ return destination_0;
164
+ }
165
+ function GitAdapter(workingDirectory, env) {
166
+ env = env === VOID ? emptyMap() : env;
167
+ this.z19_1 = workingDirectory;
168
+ this.a1a_1 = env;
169
+ this.b1a_1 = '--------!--------';
170
+ this.c1a_1 = '%H%n%ae%n%ce%n%aI%n%P%n%B%n' + this.b1a_1;
171
+ }
172
+ protoOf(GitAdapter).d1a = function () {
173
+ // Inline function 'kotlin.text.trim' call
174
+ var this_0 = runProcess$default(this, listOf(['git', '--no-pager', 'rev-parse', 'HEAD']));
175
+ return toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
176
+ };
177
+ protoOf(GitAdapter).e1a = function () {
178
+ return parseTagRefs(this, runProcess$default(this, listOf(['git', '--no-pager', 'tag', '--list', '--sort=-taggerdate', '--format=%(refname:strip=2),%(*objectname),%(creatordate:iso-strict)'])));
179
+ };
180
+ protoOf(GitAdapter).f1a = function () {
181
+ return parseLog(this, runProcess$default(this, listOf(['git', '--no-pager', 'log', '--format=' + this.c1a_1])));
182
+ };
183
+ protoOf(GitAdapter).g1a = function (begin, end) {
184
+ return parseLog(this, runProcess$default(this, plus_0(listOf(['git', '--no-pager', 'log', '--format=' + this.c1a_1, begin]), !(end == null) ? listOf_0(end) : emptyList())));
185
+ };
186
+ protoOf(GitAdapter).h1a = function (begin, end, $super) {
187
+ end = end === VOID ? null : end;
188
+ return $super === VOID ? this.g1a(begin, end) : $super.g1a.call(this, begin, end);
189
+ };
190
+ function TagRef(name, commitId, dateTime) {
191
+ this.i1a_1 = name;
192
+ this.j1a_1 = commitId;
193
+ this.k1a_1 = dateTime;
194
+ }
195
+ protoOf(TagRef).toString = function () {
196
+ return 'TagRef(name=' + this.i1a_1 + ', commitId=' + this.j1a_1 + ', dateTime=' + this.k1a_1.toString() + ')';
197
+ };
198
+ protoOf(TagRef).hashCode = function () {
199
+ var result = getStringHashCode(this.i1a_1);
200
+ result = imul(result, 31) + getStringHashCode(this.j1a_1) | 0;
201
+ result = imul(result, 31) + this.k1a_1.hashCode() | 0;
202
+ return result;
203
+ };
204
+ protoOf(TagRef).equals = function (other) {
205
+ if (this === other)
206
+ return true;
207
+ if (!(other instanceof TagRef))
208
+ return false;
209
+ var tmp0_other_with_cast = other instanceof TagRef ? other : THROW_CCE();
210
+ if (!(this.i1a_1 === tmp0_other_with_cast.i1a_1))
211
+ return false;
212
+ if (!(this.j1a_1 === tmp0_other_with_cast.j1a_1))
213
+ return false;
214
+ if (!this.k1a_1.equals(tmp0_other_with_cast.k1a_1))
215
+ return false;
216
+ return true;
217
+ };
218
+ function runProcess_0(args, workingDirectory, env) {
219
+ var tmp;
220
+ if (env === VOID) {
221
+ // Inline function 'kotlin.collections.mapOf' call
222
+ tmp = emptyMap();
223
+ } else {
224
+ tmp = env;
225
+ }
226
+ env = tmp;
227
+ var program = first(args);
228
+ // Inline function 'kotlin.collections.toTypedArray' call
229
+ var this_0 = args.s1(1, args.p());
230
+ var tmp$ret$1 = copyToArray(this_0);
231
+ var spawn = childProcess.spawnSync(program, tmp$ret$1, json([to('cwd', workingDirectory), to('maxBuffer', 10485760), to('env', toJson(env))]));
232
+ if (spawn.status != 0) {
233
+ var tmp0_safe_receiver = spawn.stderr;
234
+ // Inline function 'kotlin.js.unsafeCast' call
235
+ var tmp$ret$2 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.toString('utf8');
236
+ throw Exception_init_$Create$(tmp$ret$2);
237
+ }
238
+ var tmp1_safe_receiver = spawn.stdout;
239
+ // Inline function 'kotlin.js.unsafeCast' call
240
+ return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString('utf8');
241
+ }
242
+ function toJson(_this__u8e3s4) {
243
+ // Inline function 'kotlin.collections.toTypedArray' call
244
+ var this_0 = toList(_this__u8e3s4);
245
+ var tmp$ret$0 = copyToArray(this_0);
246
+ return json(tmp$ret$0.slice());
247
+ }
248
+ //region block: exports
249
+ _.$_$ = _.$_$ || {};
250
+ _.$_$.a = GitAdapter;
251
+ //endregion
252
+ return _;
253
+ }(module.exports, require('node:child_process'), require('./kotlin-kotlin-stdlib.js'), require('./Kotlin-DateTime-library-kotlinx-datetime.js')));
254
+
255
+ //# sourceMappingURL=tools-git-adapter.js.map