git-semver-tagger 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.
@@ -2,48 +2,48 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var split = kotlin_kotlin.$_$.oc;
6
- var collectionSizeOrDefault = kotlin_kotlin.$_$.c5;
5
+ var split = kotlin_kotlin.$_$.xb;
6
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.w4;
7
7
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
8
- var toInt = kotlin_kotlin.$_$.cd;
9
- var Unit_instance = kotlin_kotlin.$_$.e4;
10
- var charSequenceLength = kotlin_kotlin.$_$.s8;
11
- var charSequenceGet = kotlin_kotlin.$_$.r8;
12
- var digitToIntOrNull = kotlin_kotlin.$_$.pb;
13
- var substring = kotlin_kotlin.$_$.vc;
14
- var listOf = kotlin_kotlin.$_$.p6;
15
- var protoOf = kotlin_kotlin.$_$.ba;
16
- var initMetadataForClass = kotlin_kotlin.$_$.b9;
8
+ var toInt = kotlin_kotlin.$_$.kc;
9
+ var Unit_instance = kotlin_kotlin.$_$.y3;
10
+ var charSequenceLength = kotlin_kotlin.$_$.h8;
11
+ var charSequenceGet = kotlin_kotlin.$_$.g8;
12
+ var digitToIntOrNull = kotlin_kotlin.$_$.bb;
13
+ var substring = kotlin_kotlin.$_$.dc;
14
+ var listOf = kotlin_kotlin.$_$.i6;
15
+ var protoOf = kotlin_kotlin.$_$.q9;
16
+ var initMetadataForClass = kotlin_kotlin.$_$.q8;
17
17
  var VOID = kotlin_kotlin.$_$.f;
18
- var enumEntries = kotlin_kotlin.$_$.g8;
19
- var Enum = kotlin_kotlin.$_$.xd;
18
+ var enumEntries = kotlin_kotlin.$_$.v7;
19
+ var Enum = kotlin_kotlin.$_$.ed;
20
20
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.j;
21
- var getStringHashCode = kotlin_kotlin.$_$.z8;
22
- var THROW_CCE = kotlin_kotlin.$_$.fe;
23
- var isCharSequence = kotlin_kotlin.$_$.l9;
24
- var trim = kotlin_kotlin.$_$.nd;
25
- var toString = kotlin_kotlin.$_$.fa;
26
- var Companion_instance = kotlin_kotlin.$_$.z3;
27
- var get = kotlin_kotlin.$_$.ub;
28
- var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.y1;
29
- var createFailure = kotlin_kotlin.$_$.ue;
30
- var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.a2;
31
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.c2;
32
- var substringBefore = kotlin_kotlin.$_$.tc;
33
- var contains = kotlin_kotlin.$_$.nb;
34
- var to = kotlin_kotlin.$_$.gf;
35
- var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.b2;
36
- var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.z1;
37
- var mapOf = kotlin_kotlin.$_$.t6;
21
+ var getStringHashCode = kotlin_kotlin.$_$.o8;
22
+ var THROW_CCE = kotlin_kotlin.$_$.md;
23
+ var isCharSequence = kotlin_kotlin.$_$.a9;
24
+ var trim = kotlin_kotlin.$_$.vc;
25
+ var toString = kotlin_kotlin.$_$.t9;
26
+ var Companion_instance = kotlin_kotlin.$_$.t3;
27
+ var get = kotlin_kotlin.$_$.gb;
28
+ var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.r1;
29
+ var createFailure = kotlin_kotlin.$_$.be;
30
+ var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.t1;
31
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.v1;
32
+ var substringBefore = kotlin_kotlin.$_$.bc;
33
+ var contains = kotlin_kotlin.$_$.za;
34
+ var to = kotlin_kotlin.$_$.ne;
35
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.u1;
36
+ var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.s1;
37
+ var mapOf = kotlin_kotlin.$_$.m6;
38
38
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
39
- var joinToString = kotlin_kotlin.$_$.f6;
40
- var initMetadataForObject = kotlin_kotlin.$_$.g9;
41
- var hashCode = kotlin_kotlin.$_$.a9;
42
- var equals = kotlin_kotlin.$_$.v8;
39
+ var joinToString = kotlin_kotlin.$_$.y5;
40
+ var initMetadataForObject = kotlin_kotlin.$_$.v8;
41
+ var hashCode = kotlin_kotlin.$_$.p8;
42
+ var equals = kotlin_kotlin.$_$.k8;
43
43
  var Defaults_getInstance = kotlin_com_zegreatrob_tools_digger_core.$_$.a;
44
- var initMetadataForCompanion = kotlin_kotlin.$_$.c9;
45
- var toString_0 = kotlin_kotlin.$_$.ff;
46
- var emptyList = kotlin_kotlin.$_$.t5;
44
+ var initMetadataForCompanion = kotlin_kotlin.$_$.r8;
45
+ var toString_0 = kotlin_kotlin.$_$.me;
46
+ var emptyList = kotlin_kotlin.$_$.m5;
47
47
  //endregion
48
48
  //region block: pre-declaration
49
49
  initMetadataForClass(SnapshotReason, 'SnapshotReason', VOID, Enum);
@@ -75,14 +75,14 @@
75
75
  var this_0 = split(stripPrefix(_this__u8e3s4), ['.']);
76
76
  // Inline function 'kotlin.collections.mapTo' call
77
77
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
78
- var _iterator__ex2g4s = this_0.p();
79
- while (_iterator__ex2g4s.q()) {
80
- var item = _iterator__ex2g4s.r();
78
+ var _iterator__ex2g4s = this_0.m();
79
+ while (_iterator__ex2g4s.n()) {
80
+ var item = _iterator__ex2g4s.o();
81
81
  var tmp$ret$0 = toInt(item);
82
82
  destination.e(tmp$ret$0);
83
83
  }
84
84
  // Inline function 'kotlin.let' call
85
- return destination.s() === 3 ? destination : null;
85
+ return destination.p() === 3 ? destination : null;
86
86
  }
87
87
  function stripPrefix(_this__u8e3s4) {
88
88
  var tmp$ret$1;
@@ -107,11 +107,11 @@
107
107
  return substring(_this__u8e3s4, startIndex);
108
108
  }
109
109
  function calculateNextVersion(_this__u8e3s4, implicitPatch, disableDetached, versionRegex, releaseBranch) {
110
- var gitStatus = _this__u8e3s4.b1n_1.l1m();
110
+ var gitStatus = _this__u8e3s4.i17_1.s16();
111
111
  var tmp;
112
112
  if (disableDetached) {
113
113
  // Inline function 'kotlin.text.isEmpty' call
114
- var this_0 = gitStatus.r1m_1;
114
+ var this_0 = gitStatus.y16_1;
115
115
  tmp = charSequenceLength(this_0) === 0;
116
116
  } else {
117
117
  tmp = false;
@@ -127,8 +127,8 @@
127
127
  tmp_0 = tmp0_elvis_lhs;
128
128
  }
129
129
  var _destruct__k2r9zo = tmp_0;
130
- var previousVersionNumber = _destruct__k2r9zo.qa();
131
- var lastTagDescription = _destruct__k2r9zo.ra();
130
+ var previousVersionNumber = _destruct__k2r9zo.ra();
131
+ var lastTagDescription = _destruct__k2r9zo.sa();
132
132
  var tmp1_elvis_lhs = asSemverComponents(previousVersionNumber);
133
133
  var tmp_1;
134
134
  if (tmp1_elvis_lhs == null) {
@@ -137,50 +137,50 @@
137
137
  tmp_1 = tmp1_elvis_lhs;
138
138
  }
139
139
  var previousVersionComponents = tmp_1;
140
- var incrementComponent = findAppropriateIncrement(_this__u8e3s4.b1n_1, lastTagDescription, implicitPatch, versionRegex);
141
- var tmp3_elvis_lhs = incrementComponent == null ? null : incrementComponent.f1n(previousVersionComponents);
140
+ var incrementComponent = findAppropriateIncrement(_this__u8e3s4.i17_1, lastTagDescription, implicitPatch, versionRegex);
141
+ var tmp3_elvis_lhs = incrementComponent == null ? null : incrementComponent.m17(previousVersionComponents);
142
142
  var currentVersionNumber = tmp3_elvis_lhs == null ? previousVersionNumber : tmp3_elvis_lhs;
143
143
  var reasonsToUseSnapshot = snapshotReasons(releaseBranch, currentVersionNumber, previousVersionNumber, gitStatus);
144
- return new Success_0(reasonsToUseSnapshot.m() ? currentVersionNumber : currentVersionNumber + '-SNAPSHOT', reasonsToUseSnapshot);
144
+ return new Success_0(reasonsToUseSnapshot.j() ? currentVersionNumber : currentVersionNumber + '-SNAPSHOT', reasonsToUseSnapshot);
145
145
  }
146
146
  function SnapshotReason$DIRTY() {
147
147
  SnapshotReason.call(this, 'DIRTY', 0);
148
148
  SnapshotReason_DIRTY_instance = this;
149
149
  }
150
- protoOf(SnapshotReason$DIRTY).i1n = function (_this__u8e3s4) {
151
- return !_this__u8e3s4.j1n_1.n1m_1;
150
+ protoOf(SnapshotReason$DIRTY).p17 = function (_this__u8e3s4) {
151
+ return !_this__u8e3s4.q17_1.u16_1;
152
152
  };
153
153
  var SnapshotReason_DIRTY_instance;
154
154
  function SnapshotReason$AHEAD() {
155
155
  SnapshotReason.call(this, 'AHEAD', 1);
156
156
  SnapshotReason_AHEAD_instance = this;
157
157
  }
158
- protoOf(SnapshotReason$AHEAD).i1n = function (_this__u8e3s4) {
159
- return !(_this__u8e3s4.j1n_1.o1m_1 === 0);
158
+ protoOf(SnapshotReason$AHEAD).p17 = function (_this__u8e3s4) {
159
+ return !(_this__u8e3s4.q17_1.v16_1 === 0);
160
160
  };
161
161
  var SnapshotReason_AHEAD_instance;
162
162
  function SnapshotReason$BEHIND() {
163
163
  SnapshotReason.call(this, 'BEHIND', 2);
164
164
  SnapshotReason_BEHIND_instance = this;
165
165
  }
166
- protoOf(SnapshotReason$BEHIND).i1n = function (_this__u8e3s4) {
167
- return !(_this__u8e3s4.j1n_1.p1m_1 === 0);
166
+ protoOf(SnapshotReason$BEHIND).p17 = function (_this__u8e3s4) {
167
+ return !(_this__u8e3s4.q17_1.w16_1 === 0);
168
168
  };
169
169
  var SnapshotReason_BEHIND_instance;
170
170
  function SnapshotReason$NOT_RELEASE_BRANCH() {
171
171
  SnapshotReason.call(this, 'NOT_RELEASE_BRANCH', 3);
172
172
  SnapshotReason_NOT_RELEASE_BRANCH_instance = this;
173
173
  }
174
- protoOf(SnapshotReason$NOT_RELEASE_BRANCH).i1n = function (_this__u8e3s4) {
175
- return !(_this__u8e3s4.j1n_1.q1m_1 === _this__u8e3s4.k1n_1);
174
+ protoOf(SnapshotReason$NOT_RELEASE_BRANCH).p17 = function (_this__u8e3s4) {
175
+ return !(_this__u8e3s4.q17_1.x16_1 === _this__u8e3s4.r17_1);
176
176
  };
177
177
  var SnapshotReason_NOT_RELEASE_BRANCH_instance;
178
178
  function SnapshotReason$NO_NEW_VERSION() {
179
179
  SnapshotReason.call(this, 'NO_NEW_VERSION', 4);
180
180
  SnapshotReason_NO_NEW_VERSION_instance = this;
181
181
  }
182
- protoOf(SnapshotReason$NO_NEW_VERSION).i1n = function (_this__u8e3s4) {
183
- return _this__u8e3s4.l1n_1 === _this__u8e3s4.m1n_1;
182
+ protoOf(SnapshotReason$NO_NEW_VERSION).p17 = function (_this__u8e3s4) {
183
+ return _this__u8e3s4.s17_1 === _this__u8e3s4.t17_1;
184
184
  };
185
185
  var SnapshotReason_NO_NEW_VERSION_instance;
186
186
  function values() {
@@ -206,16 +206,16 @@
206
206
  function SnapshotReason(name, ordinal) {
207
207
  Enum.call(this, name, ordinal);
208
208
  }
209
- protoOf(SnapshotReason).p1n = function (check) {
210
- return this.i1n(check);
209
+ protoOf(SnapshotReason).w17 = function (check) {
210
+ return this.p17(check);
211
211
  };
212
212
  function ChangeType$Major() {
213
213
  ChangeType.call(this, 'Major', 0, 3);
214
214
  ChangeType_Major_instance = this;
215
215
  }
216
- protoOf(ChangeType$Major).f1n = function (components) {
216
+ protoOf(ChangeType$Major).m17 = function (components) {
217
217
  // Inline function 'kotlin.collections.component1' call
218
- var major = components.t(0);
218
+ var major = components.q(0);
219
219
  return '' + (major + 1 | 0) + '.0.0';
220
220
  };
221
221
  var ChangeType_Major_instance;
@@ -223,11 +223,11 @@
223
223
  ChangeType.call(this, 'Minor', 1, 2);
224
224
  ChangeType_Minor_instance = this;
225
225
  }
226
- protoOf(ChangeType$Minor).f1n = function (components) {
226
+ protoOf(ChangeType$Minor).m17 = function (components) {
227
227
  // Inline function 'kotlin.collections.component1' call
228
- var major = components.t(0);
228
+ var major = components.q(0);
229
229
  // Inline function 'kotlin.collections.component2' call
230
- var minor = components.t(1);
230
+ var minor = components.q(1);
231
231
  return '' + major + '.' + (minor + 1 | 0) + '.0';
232
232
  };
233
233
  var ChangeType_Minor_instance;
@@ -235,13 +235,13 @@
235
235
  ChangeType.call(this, 'Patch', 2, 1);
236
236
  ChangeType_Patch_instance = this;
237
237
  }
238
- protoOf(ChangeType$Patch).f1n = function (components) {
238
+ protoOf(ChangeType$Patch).m17 = function (components) {
239
239
  // Inline function 'kotlin.collections.component1' call
240
- var major = components.t(0);
240
+ var major = components.q(0);
241
241
  // Inline function 'kotlin.collections.component2' call
242
- var minor = components.t(1);
242
+ var minor = components.q(1);
243
243
  // Inline function 'kotlin.collections.component3' call
244
- var patch = components.t(2);
244
+ var patch = components.q(2);
245
245
  return '' + major + '.' + minor + '.' + (patch + 1 | 0);
246
246
  };
247
247
  var ChangeType_Patch_instance;
@@ -249,13 +249,13 @@
249
249
  ChangeType.call(this, 'None', 3, 0);
250
250
  ChangeType_None_instance = this;
251
251
  }
252
- protoOf(ChangeType$None).f1n = function (components) {
252
+ protoOf(ChangeType$None).m17 = function (components) {
253
253
  // Inline function 'kotlin.collections.component1' call
254
- var major = components.t(0);
254
+ var major = components.q(0);
255
255
  // Inline function 'kotlin.collections.component2' call
256
- var minor = components.t(1);
256
+ var minor = components.q(1);
257
257
  // Inline function 'kotlin.collections.component3' call
258
- var patch = components.t(2);
258
+ var patch = components.q(2);
259
259
  return '' + major + '.' + minor + '.' + patch;
260
260
  };
261
261
  var ChangeType_None_instance;
@@ -271,28 +271,28 @@
271
271
  }
272
272
  function ChangeType(name, ordinal, priority) {
273
273
  Enum.call(this, name, ordinal);
274
- this.e1n_1 = priority;
274
+ this.l17_1 = priority;
275
275
  }
276
276
  function findAppropriateIncrement(gitAdapter, previousTag, implicitPatch, minorRegex) {
277
277
  // Inline function 'kotlin.also' call
278
- var this_0 = gitAdapter.k1m('HEAD', '^' + previousTag);
279
- if (this_0.m())
278
+ var this_0 = gitAdapter.r16('HEAD', '^' + previousTag);
279
+ if (this_0.j())
280
280
  return null;
281
281
  // Inline function 'kotlin.collections.map' call
282
282
  // Inline function 'kotlin.collections.mapTo' call
283
283
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
284
- var _iterator__ex2g4s = this_0.p();
285
- while (_iterator__ex2g4s.q()) {
286
- var item = _iterator__ex2g4s.r();
284
+ var _iterator__ex2g4s = this_0.m();
285
+ while (_iterator__ex2g4s.n()) {
286
+ var item = _iterator__ex2g4s.o();
287
287
  var tmp0_elvis_lhs = changeType(item, minorRegex);
288
288
  var tmp$ret$2 = tmp0_elvis_lhs == null ? implicitPatch ? ChangeType_Patch_getInstance() : null : tmp0_elvis_lhs;
289
289
  destination.e(tmp$ret$2);
290
290
  }
291
291
  // Inline function 'kotlin.collections.fold' call
292
292
  var accumulator = null;
293
- var _iterator__ex2g4s_0 = destination.p();
294
- while (_iterator__ex2g4s_0.q()) {
295
- var element = _iterator__ex2g4s_0.r();
293
+ var _iterator__ex2g4s_0 = destination.m();
294
+ while (_iterator__ex2g4s_0.n()) {
295
+ var element = _iterator__ex2g4s_0.o();
296
296
  var p0 = accumulator;
297
297
  accumulator = highestPriority(p0, element);
298
298
  }
@@ -306,29 +306,29 @@
306
306
  var tmp0 = get_entries();
307
307
  // Inline function 'kotlin.collections.filterTo' call
308
308
  var destination = ArrayList_init_$Create$_0();
309
- var _iterator__ex2g4s = tmp0.p();
310
- while (_iterator__ex2g4s.q()) {
311
- var element = _iterator__ex2g4s.r();
312
- if (element.p1n(statusCheck)) {
309
+ var _iterator__ex2g4s = tmp0.m();
310
+ while (_iterator__ex2g4s.n()) {
311
+ var element = _iterator__ex2g4s.o();
312
+ if (element.w17(statusCheck)) {
313
313
  destination.e(element);
314
314
  }
315
315
  }
316
316
  return destination;
317
317
  }
318
318
  function StatusCheck(gitStatus, releaseBranch, currentVersionNumber, previousVersionNumber) {
319
- this.j1n_1 = gitStatus;
320
- this.k1n_1 = releaseBranch;
321
- this.l1n_1 = currentVersionNumber;
322
- this.m1n_1 = previousVersionNumber;
319
+ this.q17_1 = gitStatus;
320
+ this.r17_1 = releaseBranch;
321
+ this.s17_1 = currentVersionNumber;
322
+ this.t17_1 = previousVersionNumber;
323
323
  }
324
324
  protoOf(StatusCheck).toString = function () {
325
- return 'StatusCheck(gitStatus=' + this.j1n_1.toString() + ', releaseBranch=' + this.k1n_1 + ', currentVersionNumber=' + this.l1n_1 + ', previousVersionNumber=' + this.m1n_1 + ')';
325
+ return 'StatusCheck(gitStatus=' + this.q17_1.toString() + ', releaseBranch=' + this.r17_1 + ', currentVersionNumber=' + this.s17_1 + ', previousVersionNumber=' + this.t17_1 + ')';
326
326
  };
327
327
  protoOf(StatusCheck).hashCode = function () {
328
- var result = this.j1n_1.hashCode();
329
- result = imul(result, 31) + getStringHashCode(this.k1n_1) | 0;
330
- result = imul(result, 31) + getStringHashCode(this.l1n_1) | 0;
331
- result = imul(result, 31) + getStringHashCode(this.m1n_1) | 0;
328
+ var result = this.q17_1.hashCode();
329
+ result = imul(result, 31) + getStringHashCode(this.r17_1) | 0;
330
+ result = imul(result, 31) + getStringHashCode(this.s17_1) | 0;
331
+ result = imul(result, 31) + getStringHashCode(this.t17_1) | 0;
332
332
  return result;
333
333
  };
334
334
  protoOf(StatusCheck).equals = function (other) {
@@ -337,41 +337,41 @@
337
337
  if (!(other instanceof StatusCheck))
338
338
  return false;
339
339
  var tmp0_other_with_cast = other instanceof StatusCheck ? other : THROW_CCE();
340
- if (!this.j1n_1.equals(tmp0_other_with_cast.j1n_1))
340
+ if (!this.q17_1.equals(tmp0_other_with_cast.q17_1))
341
341
  return false;
342
- if (!(this.k1n_1 === tmp0_other_with_cast.k1n_1))
342
+ if (!(this.r17_1 === tmp0_other_with_cast.r17_1))
343
343
  return false;
344
- if (!(this.l1n_1 === tmp0_other_with_cast.l1n_1))
344
+ if (!(this.s17_1 === tmp0_other_with_cast.s17_1))
345
345
  return false;
346
- if (!(this.m1n_1 === tmp0_other_with_cast.m1n_1))
346
+ if (!(this.t17_1 === tmp0_other_with_cast.t17_1))
347
347
  return false;
348
348
  return true;
349
349
  };
350
350
  function changeType(_this__u8e3s4, versionRegex) {
351
351
  // Inline function 'kotlin.text.trim' call
352
- var this_0 = _this__u8e3s4.c1m_1;
352
+ var this_0 = _this__u8e3s4.j16_1;
353
353
  var tmp$ret$0 = toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
354
354
  return changeType_0(versionRegex, tmp$ret$0);
355
355
  }
356
356
  function highestPriority(left, right) {
357
- return left == null ? right : right == null ? left : left.e1n_1 > right.e1n_1 ? left : right;
357
+ return left == null ? right : right == null ? left : left.l17_1 > right.l17_1 ? left : right;
358
358
  }
359
359
  function changeType_0(_this__u8e3s4, message) {
360
360
  var tmp;
361
- var tmp0_safe_receiver = _this__u8e3s4.o1o_1;
362
- if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zc(message)) === true) {
363
- tmp = findMatchType(message, _this__u8e3s4.o1o_1);
361
+ var tmp0_safe_receiver = _this__u8e3s4.v18_1;
362
+ if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bd(message)) === true) {
363
+ tmp = findMatchType(message, _this__u8e3s4.v18_1);
364
364
  } else {
365
- if (_this__u8e3s4.n1o_1.zc(message)) {
365
+ if (_this__u8e3s4.u18_1.bd(message)) {
366
366
  tmp = ChangeType_Major_getInstance();
367
367
  } else {
368
- if (_this__u8e3s4.m1o_1.zc(message)) {
368
+ if (_this__u8e3s4.t18_1.bd(message)) {
369
369
  tmp = ChangeType_Minor_getInstance();
370
370
  } else {
371
- if (_this__u8e3s4.l1o_1.zc(message)) {
371
+ if (_this__u8e3s4.s18_1.bd(message)) {
372
372
  tmp = ChangeType_Patch_getInstance();
373
373
  } else {
374
- if (_this__u8e3s4.k1o_1.zc(message)) {
374
+ if (_this__u8e3s4.r18_1.bd(message)) {
375
375
  tmp = ChangeType_None_getInstance();
376
376
  } else {
377
377
  tmp = null;
@@ -383,8 +383,8 @@
383
383
  return tmp;
384
384
  }
385
385
  function findMatchType(message, regex) {
386
- var tmp0_safe_receiver = regex.dd(message);
387
- var groups = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ld();
386
+ var tmp0_safe_receiver = regex.fd(message);
387
+ var groups = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.nd();
388
388
  return groupExists(groups, 'major') ? ChangeType_Major_getInstance() : groupExists(groups, 'minor') ? ChangeType_Minor_getInstance() : groupExists(groups, 'patch') ? ChangeType_Patch_getInstance() : groupExists(groups, 'none') ? ChangeType_None_getInstance() : null;
389
389
  }
390
390
  function groupExists(_this__u8e3s4, groupName) {
@@ -468,7 +468,7 @@
468
468
  }
469
469
  function FailureVersionReasons(name, ordinal, message) {
470
470
  Enum.call(this, name, ordinal);
471
- this.r1o_1 = message;
471
+ this.y18_1 = message;
472
472
  }
473
473
  function FailureVersionReasons_NoRemote_getInstance() {
474
474
  FailureVersionReasons_initEntries();
@@ -483,7 +483,7 @@
483
483
  return FailureVersionReasons_VersionMissingElements_instance;
484
484
  }
485
485
  function lastVersionAndTag(_this__u8e3s4) {
486
- var tmp0_elvis_lhs = _this__u8e3s4.b1n_1.m1m(0);
486
+ var tmp0_elvis_lhs = _this__u8e3s4.i17_1.t16(0);
487
487
  var tmp;
488
488
  if (tmp0_elvis_lhs == null) {
489
489
  return null;
@@ -518,9 +518,9 @@
518
518
  }
519
519
  function tag(_this__u8e3s4, version, releaseBranch, userName, userEmail) {
520
520
  var isSnapshot_0 = isSnapshot(version);
521
- var headTag = _this__u8e3s4.b1n_1.j1m('HEAD');
521
+ var headTag = _this__u8e3s4.i17_1.q16('HEAD');
522
522
  var alreadyTagged = !(headTag == null);
523
- var headBranch = _this__u8e3s4.b1n_1.l1m().q1m_1;
523
+ var headBranch = _this__u8e3s4.i17_1.s16().x16_1;
524
524
  var isNotOnReleaseBranch = !(headBranch === releaseBranch);
525
525
  var tmp;
526
526
  if (isSnapshot_0 || alreadyTagged || isNotOnReleaseBranch) {
@@ -528,22 +528,22 @@
528
528
  var tmp_1 = to(isSnapshot_0, 'being snapshot');
529
529
  var tmp_2 = TagErrors_instance;
530
530
  // Inline function 'kotlin.collections.filterKeys' call
531
- var this_0 = mapOf([tmp_1, to(alreadyTagged, tmp_2.t1o(headTag == null ? null : headTag.s1m_1)), to(isNotOnReleaseBranch, TagErrors_instance.u1o(releaseBranch, headBranch))]);
531
+ var this_0 = mapOf([tmp_1, to(alreadyTagged, tmp_2.a19(headTag == null ? null : headTag.z16_1)), to(isNotOnReleaseBranch, TagErrors_instance.b19(releaseBranch, headBranch))]);
532
532
  var result = LinkedHashMap_init_$Create$();
533
533
  // Inline function 'kotlin.collections.iterator' call
534
- var _iterator__ex2g4s = this_0.x().p();
535
- while (_iterator__ex2g4s.q()) {
536
- var entry = _iterator__ex2g4s.r();
534
+ var _iterator__ex2g4s = this_0.x().m();
535
+ while (_iterator__ex2g4s.n()) {
536
+ var entry = _iterator__ex2g4s.o();
537
537
  if (entry.y()) {
538
- result.m2(entry.y(), entry.z());
538
+ result.l2(entry.y(), entry.z());
539
539
  }
540
540
  }
541
- tmp = new Error_0(tmp_0.v1o(joinToString(result.g2(), ', ')));
541
+ tmp = new Error_0(tmp_0.c19(joinToString(result.f2(), ', ')));
542
542
  } else {
543
543
  // Inline function 'kotlin.runCatching' call
544
544
  var tmp_3;
545
545
  try {
546
- _this__u8e3s4.b1n_1.h1m(version, 'HEAD', userName, userEmail);
546
+ _this__u8e3s4.i17_1.o16(version, 'HEAD', userName, userEmail);
547
547
  // Inline function 'kotlin.Companion.success' call
548
548
  tmp_3 = _Result___init__impl__xyqfz8(Unit_instance);
549
549
  } catch ($p) {
@@ -564,7 +564,7 @@
564
564
  var tmp_6 = _Result___get_value__impl__bjfvqg(this_1);
565
565
  if (!(tmp_6 == null ? true : !(tmp_6 == null)))
566
566
  THROW_CCE();
567
- _this__u8e3s4.b1n_1.i1m();
567
+ _this__u8e3s4.i17_1.p16();
568
568
  // Inline function 'kotlin.Companion.success' call
569
569
  var value = Success_getInstance();
570
570
  tmp_5 = _Result___init__impl__xyqfz8(value);
@@ -590,15 +590,15 @@
590
590
  return contains(_this__u8e3s4, 'SNAPSHOT');
591
591
  }
592
592
  function TagErrors() {
593
- this.s1o_1 = 'being snapshot';
593
+ this.z18_1 = 'being snapshot';
594
594
  }
595
- protoOf(TagErrors).v1o = function (messages) {
595
+ protoOf(TagErrors).c19 = function (messages) {
596
596
  return 'skipping tag due to ' + messages;
597
597
  };
598
- protoOf(TagErrors).t1o = function (headTag) {
598
+ protoOf(TagErrors).a19 = function (headTag) {
599
599
  return 'already tagged ' + headTag;
600
600
  };
601
- protoOf(TagErrors).u1o = function (releaseBranch, headBranch) {
601
+ protoOf(TagErrors).b19 = function (releaseBranch, headBranch) {
602
602
  return 'not on release branch ' + releaseBranch + ' - branch was ' + headBranch;
603
603
  };
604
604
  var TagErrors_instance;
@@ -631,13 +631,13 @@
631
631
  }
632
632
  function Error_0(message) {
633
633
  TagResult.call(this);
634
- this.w1o_1 = message;
634
+ this.d19_1 = message;
635
635
  }
636
636
  protoOf(Error_0).toString = function () {
637
- return 'Error(message=' + this.w1o_1 + ')';
637
+ return 'Error(message=' + this.d19_1 + ')';
638
638
  };
639
639
  protoOf(Error_0).hashCode = function () {
640
- return getStringHashCode(this.w1o_1);
640
+ return getStringHashCode(this.d19_1);
641
641
  };
642
642
  protoOf(Error_0).equals = function (other) {
643
643
  if (this === other)
@@ -645,20 +645,20 @@
645
645
  if (!(other instanceof Error_0))
646
646
  return false;
647
647
  var tmp0_other_with_cast = other instanceof Error_0 ? other : THROW_CCE();
648
- if (!(this.w1o_1 === tmp0_other_with_cast.w1o_1))
648
+ if (!(this.d19_1 === tmp0_other_with_cast.d19_1))
649
649
  return false;
650
650
  return true;
651
651
  };
652
652
  function TagResult() {
653
653
  }
654
654
  function TaggerCore(adapter) {
655
- this.b1n_1 = adapter;
655
+ this.i17_1 = adapter;
656
656
  }
657
657
  protoOf(TaggerCore).toString = function () {
658
- return 'TaggerCore(adapter=' + toString(this.b1n_1) + ')';
658
+ return 'TaggerCore(adapter=' + toString(this.i17_1) + ')';
659
659
  };
660
660
  protoOf(TaggerCore).hashCode = function () {
661
- return hashCode(this.b1n_1);
661
+ return hashCode(this.i17_1);
662
662
  };
663
663
  protoOf(TaggerCore).equals = function (other) {
664
664
  if (this === other)
@@ -666,16 +666,16 @@
666
666
  if (!(other instanceof TaggerCore))
667
667
  return false;
668
668
  var tmp0_other_with_cast = other instanceof TaggerCore ? other : THROW_CCE();
669
- if (!equals(this.b1n_1, tmp0_other_with_cast.b1n_1))
669
+ if (!equals(this.i17_1, tmp0_other_with_cast.i17_1))
670
670
  return false;
671
671
  return true;
672
672
  };
673
673
  function Defaults() {
674
674
  Defaults_instance = this;
675
- this.x1o_1 = Defaults_getInstance().y1m_1;
676
- this.y1o_1 = Defaults_getInstance().x1m_1;
677
- this.z1o_1 = Defaults_getInstance().w1m_1;
678
- this.a1p_1 = Defaults_getInstance().v1m_1;
675
+ this.e19_1 = Defaults_getInstance().f17_1;
676
+ this.f19_1 = Defaults_getInstance().e17_1;
677
+ this.g19_1 = Defaults_getInstance().d17_1;
678
+ this.h19_1 = Defaults_getInstance().c17_1;
679
679
  }
680
680
  var Defaults_instance;
681
681
  function Defaults_getInstance_0() {
@@ -684,9 +684,9 @@
684
684
  return Defaults_instance;
685
685
  }
686
686
  function Companion() {
687
- this.b1p_1 = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
687
+ this.i19_1 = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
688
688
  }
689
- protoOf(Companion).c1p = function (regexPattern) {
689
+ protoOf(Companion).j19 = function (regexPattern) {
690
690
  return contains(regexPattern, '?<major>') && contains(regexPattern, '?<minor>') && contains(regexPattern, '?<patch>') && contains(regexPattern, '?<none>');
691
691
  };
692
692
  var Companion_instance_0;
@@ -694,21 +694,21 @@
694
694
  return Companion_instance_0;
695
695
  }
696
696
  function VersionRegex(none, patch, minor, major, unified) {
697
- this.k1o_1 = none;
698
- this.l1o_1 = patch;
699
- this.m1o_1 = minor;
700
- this.n1o_1 = major;
701
- this.o1o_1 = unified;
697
+ this.r18_1 = none;
698
+ this.s18_1 = patch;
699
+ this.t18_1 = minor;
700
+ this.u18_1 = major;
701
+ this.v18_1 = unified;
702
702
  }
703
703
  protoOf(VersionRegex).toString = function () {
704
- return 'VersionRegex(none=' + this.k1o_1.toString() + ', patch=' + this.l1o_1.toString() + ', minor=' + this.m1o_1.toString() + ', major=' + this.n1o_1.toString() + ', unified=' + toString_0(this.o1o_1) + ')';
704
+ return 'VersionRegex(none=' + this.r18_1.toString() + ', patch=' + this.s18_1.toString() + ', minor=' + this.t18_1.toString() + ', major=' + this.u18_1.toString() + ', unified=' + toString_0(this.v18_1) + ')';
705
705
  };
706
706
  protoOf(VersionRegex).hashCode = function () {
707
- var result = hashCode(this.k1o_1);
708
- result = imul(result, 31) + hashCode(this.l1o_1) | 0;
709
- result = imul(result, 31) + hashCode(this.m1o_1) | 0;
710
- result = imul(result, 31) + hashCode(this.n1o_1) | 0;
711
- result = imul(result, 31) + (this.o1o_1 == null ? 0 : hashCode(this.o1o_1)) | 0;
707
+ var result = hashCode(this.r18_1);
708
+ result = imul(result, 31) + hashCode(this.s18_1) | 0;
709
+ result = imul(result, 31) + hashCode(this.t18_1) | 0;
710
+ result = imul(result, 31) + hashCode(this.u18_1) | 0;
711
+ result = imul(result, 31) + (this.v18_1 == null ? 0 : hashCode(this.v18_1)) | 0;
712
712
  return result;
713
713
  };
714
714
  protoOf(VersionRegex).equals = function (other) {
@@ -717,32 +717,32 @@
717
717
  if (!(other instanceof VersionRegex))
718
718
  return false;
719
719
  var tmp0_other_with_cast = other instanceof VersionRegex ? other : THROW_CCE();
720
- if (!equals(this.k1o_1, tmp0_other_with_cast.k1o_1))
720
+ if (!equals(this.r18_1, tmp0_other_with_cast.r18_1))
721
721
  return false;
722
- if (!equals(this.l1o_1, tmp0_other_with_cast.l1o_1))
722
+ if (!equals(this.s18_1, tmp0_other_with_cast.s18_1))
723
723
  return false;
724
- if (!equals(this.m1o_1, tmp0_other_with_cast.m1o_1))
724
+ if (!equals(this.t18_1, tmp0_other_with_cast.t18_1))
725
725
  return false;
726
- if (!equals(this.n1o_1, tmp0_other_with_cast.n1o_1))
726
+ if (!equals(this.u18_1, tmp0_other_with_cast.u18_1))
727
727
  return false;
728
- if (!equals(this.o1o_1, tmp0_other_with_cast.o1o_1))
728
+ if (!equals(this.v18_1, tmp0_other_with_cast.v18_1))
729
729
  return false;
730
730
  return true;
731
731
  };
732
732
  function VersionResult$Failure$_get_message_$lambda_nuugae(it) {
733
- return it.r1o_1;
733
+ return it.y18_1;
734
734
  }
735
735
  function Success_0(version, snapshotReasons) {
736
736
  snapshotReasons = snapshotReasons === VOID ? emptyList() : snapshotReasons;
737
- this.d1p_1 = version;
738
- this.e1p_1 = snapshotReasons;
737
+ this.k19_1 = version;
738
+ this.l19_1 = snapshotReasons;
739
739
  }
740
740
  protoOf(Success_0).toString = function () {
741
- return 'Success(version=' + this.d1p_1 + ', snapshotReasons=' + toString(this.e1p_1) + ')';
741
+ return 'Success(version=' + this.k19_1 + ', snapshotReasons=' + toString(this.l19_1) + ')';
742
742
  };
743
743
  protoOf(Success_0).hashCode = function () {
744
- var result = getStringHashCode(this.d1p_1);
745
- result = imul(result, 31) + hashCode(this.e1p_1) | 0;
744
+ var result = getStringHashCode(this.k19_1);
745
+ result = imul(result, 31) + hashCode(this.l19_1) | 0;
746
746
  return result;
747
747
  };
748
748
  protoOf(Success_0).equals = function (other) {
@@ -751,23 +751,23 @@
751
751
  if (!(other instanceof Success_0))
752
752
  return false;
753
753
  var tmp0_other_with_cast = other instanceof Success_0 ? other : THROW_CCE();
754
- if (!(this.d1p_1 === tmp0_other_with_cast.d1p_1))
754
+ if (!(this.k19_1 === tmp0_other_with_cast.k19_1))
755
755
  return false;
756
- if (!equals(this.e1p_1, tmp0_other_with_cast.e1p_1))
756
+ if (!equals(this.l19_1, tmp0_other_with_cast.l19_1))
757
757
  return false;
758
758
  return true;
759
759
  };
760
760
  function Failure(reasons) {
761
- this.f1p_1 = reasons;
761
+ this.m19_1 = reasons;
762
762
  }
763
- protoOf(Failure).ma = function () {
764
- return 'Inappropriate configuration: ' + joinToString(this.f1p_1, '\n', VOID, VOID, VOID, VOID, VersionResult$Failure$_get_message_$lambda_nuugae);
763
+ protoOf(Failure).na = function () {
764
+ return 'Inappropriate configuration: ' + joinToString(this.m19_1, '\n', VOID, VOID, VOID, VOID, VersionResult$Failure$_get_message_$lambda_nuugae);
765
765
  };
766
766
  protoOf(Failure).toString = function () {
767
- return 'Failure(reasons=' + toString(this.f1p_1) + ')';
767
+ return 'Failure(reasons=' + toString(this.m19_1) + ')';
768
768
  };
769
769
  protoOf(Failure).hashCode = function () {
770
- return hashCode(this.f1p_1);
770
+ return hashCode(this.m19_1);
771
771
  };
772
772
  protoOf(Failure).equals = function (other) {
773
773
  if (this === other)
@@ -775,7 +775,7 @@
775
775
  if (!(other instanceof Failure))
776
776
  return false;
777
777
  var tmp0_other_with_cast = other instanceof Failure ? other : THROW_CCE();
778
- if (!equals(this.f1p_1, tmp0_other_with_cast.f1p_1))
778
+ if (!equals(this.m19_1, tmp0_other_with_cast.m19_1))
779
779
  return false;
780
780
  return true;
781
781
  };