git-semver-tagger 1.9.13 → 1.9.15

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.
@@ -7,9 +7,9 @@
7
7
  var getPropertyCallableRef = kotlin_kotlin.$_$.c9;
8
8
  var CliktError = kotlin_clikt_clikt.$_$.a;
9
9
  var VOID = kotlin_kotlin.$_$.c;
10
- var Unit_instance = kotlin_kotlin.$_$.v3;
11
- var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.d;
12
- var Regex_init_$Create$ = kotlin_kotlin.$_$.u;
10
+ var Unit_instance = kotlin_kotlin.$_$.v;
11
+ var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.w;
12
+ var Regex_init_$Create$ = kotlin_kotlin.$_$.n1;
13
13
  var VersionRegex = kotlin_com_zegreatrob_tools_tagger_core.$_$.c;
14
14
  var CliktCommand = kotlin_clikt_clikt_mordant.$_$.a;
15
15
  var context = kotlin_clikt_clikt.$_$.e;
@@ -30,7 +30,7 @@
30
30
  var emptyList = kotlin_kotlin.$_$.j5;
31
31
  var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
32
32
  var collectionSizeOrDefault = kotlin_kotlin.$_$.t4;
33
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
33
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.y;
34
34
  var Companion_instance_0 = kotlin_clikt_clikt.$_$.s;
35
35
  var get_jsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.i;
36
36
  var JsonArray = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
@@ -38,7 +38,7 @@
38
38
  var split = kotlin_kotlin.$_$.mc;
39
39
  var Companion_instance_1 = kotlin_clikt_clikt.$_$.r;
40
40
  var listOf = kotlin_kotlin.$_$.f6;
41
- var Regex_init_$Create$_0 = kotlin_kotlin.$_$.t;
41
+ var Regex_init_$Create$_0 = kotlin_kotlin.$_$.m1;
42
42
  var readFromFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.b;
43
43
  var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
44
44
  var TaggerConfig = kotlin_com_zegreatrob_tools_tagger_json.$_$.a;
@@ -50,7 +50,7 @@
50
50
  var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
51
51
  var isInterface = kotlin_kotlin.$_$.t9;
52
52
  var last = kotlin_kotlin.$_$.dc;
53
- var toString = kotlin_kotlin.$_$.n1;
53
+ var toString = kotlin_kotlin.$_$.g2;
54
54
  var JsonObjectBuilder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
55
55
  var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.h;
56
56
  var get_contentOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.g;
@@ -81,7 +81,7 @@
81
81
  initMetadataForClass(Tagger, 'Tagger', Tagger, CliktCommand);
82
82
  //endregion
83
83
  function Versions() {
84
- this.s2n_1 = '1.9.13';
84
+ this.p2n_1 = '1.9.15';
85
85
  }
86
86
  var Versions_instance;
87
87
  function Versions_getInstance() {
@@ -89,11 +89,11 @@
89
89
  }
90
90
  function _get_gitRepoArgument__zxde8($this) {
91
91
  var tmp = KProperty1;
92
- return $this.i2o_1.m1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
92
+ return $this.f2o_1.j1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
93
93
  }
94
94
  function _get_gitRepoOption__rk7ta0($this) {
95
95
  var tmp = KProperty1;
96
- return $this.j2o_1.m1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
96
+ return $this.g2o_1.j1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
97
97
  }
98
98
  function _get_workingDirectory__eyfbj($this) {
99
99
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8($this);
@@ -108,45 +108,45 @@
108
108
  }
109
109
  function _get_implicitPatch__bjk4pa($this) {
110
110
  var tmp = KProperty1;
111
- return $this.k2o_1.m1m($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
111
+ return $this.h2o_1.j1m($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
112
112
  }
113
113
  function _get_disableDetached__ys8kbb($this) {
114
114
  var tmp = KProperty1;
115
- return $this.l2o_1.m1m($this, getPropertyCallableRef('disableDetached', 1, tmp, CalculateVersion$_get_disableDetached_$ref_yxb19o_0(), null));
115
+ return $this.i2o_1.j1m($this, getPropertyCallableRef('disableDetached', 1, tmp, CalculateVersion$_get_disableDetached_$ref_yxb19o_0(), null));
116
116
  }
117
117
  function _get_forceSnapshot__vb3h7m($this) {
118
118
  var tmp = KProperty1;
119
- return $this.m2o_1.m1m($this, getPropertyCallableRef('forceSnapshot', 1, tmp, CalculateVersion$_get_forceSnapshot_$ref_8rl68v_0(), null));
119
+ return $this.j2o_1.j1m($this, getPropertyCallableRef('forceSnapshot', 1, tmp, CalculateVersion$_get_forceSnapshot_$ref_8rl68v_0(), null));
120
120
  }
121
121
  function _get_releaseBranch__pqrgbs($this) {
122
122
  var tmp = KProperty1;
123
- return $this.n2o_1.m1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
123
+ return $this.k2o_1.j1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
124
124
  }
125
125
  function _get_majorRegex__5j6ypp($this) {
126
126
  var tmp = KProperty1;
127
- return $this.o2o_1.m1m($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
127
+ return $this.l2o_1.j1m($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
128
128
  }
129
129
  function _get_minorRegex__20z96h($this) {
130
130
  var tmp = KProperty1;
131
- return $this.p2o_1.m1m($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
131
+ return $this.m2o_1.j1m($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
132
132
  }
133
133
  function _get_patchRegex__mtlu2c($this) {
134
134
  var tmp = KProperty1;
135
- return $this.q2o_1.m1m($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
135
+ return $this.n2o_1.j1m($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
136
136
  }
137
137
  function _get_noneRegex__1tdbgi($this) {
138
138
  var tmp = KProperty1;
139
- return $this.r2o_1.m1m($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
139
+ return $this.o2o_1.j1m($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
140
140
  }
141
141
  function _get_versionRegex__7su5ss($this) {
142
142
  var tmp = KProperty1;
143
- return $this.s2o_1.m1m($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
143
+ return $this.p2o_1.j1m($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
144
144
  }
145
145
  function output($this, message, errorMessage) {
146
- $this.a1c(message);
146
+ $this.x1b(message);
147
147
  // Inline function 'kotlin.collections.isNotEmpty' call
148
- if (!errorMessage.r()) {
149
- $this.a1c(errorMessage, VOID, true);
148
+ if (!errorMessage.p()) {
149
+ $this.x1b(errorMessage, VOID, true);
150
150
  }
151
151
  }
152
152
  function versionRegex($this) {
@@ -165,7 +165,7 @@
165
165
  return new VersionRegex(tmp, tmp_0, tmp_1, tmp_2, tmp_3);
166
166
  }
167
167
  function CalculateVersion$lambda($this$context) {
168
- $this$context.u1c([new ConfigFileSource($this$context.q1c_1)]);
168
+ $this$context.r1c([new ConfigFileSource($this$context.n1c_1)]);
169
169
  return Unit_instance;
170
170
  }
171
171
  function CalculateVersion$_get_gitRepoArgument_$ref_ekksr7() {
@@ -273,9 +273,9 @@
273
273
  var tmp;
274
274
  if (!(it == null)) {
275
275
  // Inline function 'com.github.ajalt.clikt.parameters.options.OptionTransformContext.require' call
276
- if (!$tmp4_check_this.fo(it)) {
277
- var tmp$ret$2 = $message;
278
- $this$copy.v1l(tmp$ret$2);
276
+ if (!$tmp4_check_this.co(it)) {
277
+ var tmp$ret$3 = $message;
278
+ $this$copy.s1l(tmp$ret$3);
279
279
  }
280
280
  tmp = Unit_instance;
281
281
  }
@@ -298,57 +298,57 @@
298
298
  var tmp = this;
299
299
  var tmp_0 = optional(argument(this, 'git-repo'));
300
300
  var tmp_1 = KProperty1;
301
- tmp.i2o_1 = tmp_0.s1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
301
+ tmp.f2o_1 = tmp_0.p1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
302
302
  var tmp_2 = this;
303
303
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
304
304
  var tmp_4 = KProperty1;
305
- tmp_2.j2o_1 = tmp_3.w1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
305
+ tmp_2.g2o_1 = tmp_3.t1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
306
306
  var tmp_5 = this;
307
307
  var tmp_6 = default_0(boolean(option(this, [])), true);
308
308
  var tmp_7 = KProperty1;
309
- tmp_5.k2o_1 = tmp_6.w1m(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
309
+ tmp_5.h2o_1 = tmp_6.t1m(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
310
310
  var tmp_8 = this;
311
311
  var tmp_9 = default_0(boolean(option(this, [])), true);
312
312
  var tmp_10 = KProperty1;
313
- tmp_8.l2o_1 = tmp_9.w1m(this, getPropertyCallableRef('disableDetached', 1, tmp_10, CalculateVersion$_get_disableDetached_$ref_yxb19o(), null));
313
+ tmp_8.i2o_1 = tmp_9.t1m(this, getPropertyCallableRef('disableDetached', 1, tmp_10, CalculateVersion$_get_disableDetached_$ref_yxb19o(), null));
314
314
  var tmp_11 = this;
315
315
  var tmp_12 = default_0(boolean(option(this, [])), false);
316
316
  var tmp_13 = KProperty1;
317
- tmp_11.m2o_1 = tmp_12.w1m(this, getPropertyCallableRef('forceSnapshot', 1, tmp_13, CalculateVersion$_get_forceSnapshot_$ref_8rl68v(), null));
317
+ tmp_11.j2o_1 = tmp_12.t1m(this, getPropertyCallableRef('forceSnapshot', 1, tmp_13, CalculateVersion$_get_forceSnapshot_$ref_8rl68v(), null));
318
318
  var tmp_14 = this;
319
319
  var tmp_15 = option(this, []);
320
320
  var tmp_16 = KProperty1;
321
- tmp_14.n2o_1 = tmp_15.w1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_16, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
321
+ tmp_14.k2o_1 = tmp_15.t1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_16, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
322
322
  var tmp_17 = this;
323
- var tmp_18 = default_0(option(this, []), Defaults_getInstance().do_1.tb_1);
323
+ var tmp_18 = default_0(option(this, []), Defaults_getInstance().ao_1.tb_1);
324
324
  var tmp_19 = KProperty1;
325
- tmp_17.o2o_1 = tmp_18.w1m(this, getPropertyCallableRef('majorRegex', 1, tmp_19, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
325
+ tmp_17.l2o_1 = tmp_18.t1m(this, getPropertyCallableRef('majorRegex', 1, tmp_19, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
326
326
  var tmp_20 = this;
327
- var tmp_21 = default_0(option(this, []), Defaults_getInstance().co_1.tb_1);
327
+ var tmp_21 = default_0(option(this, []), Defaults_getInstance().zn_1.tb_1);
328
328
  var tmp_22 = KProperty1;
329
- tmp_20.p2o_1 = tmp_21.w1m(this, getPropertyCallableRef('minorRegex', 1, tmp_22, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
329
+ tmp_20.m2o_1 = tmp_21.t1m(this, getPropertyCallableRef('minorRegex', 1, tmp_22, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
330
330
  var tmp_23 = this;
331
- var tmp_24 = default_0(option(this, []), Defaults_getInstance().bo_1.tb_1);
331
+ var tmp_24 = default_0(option(this, []), Defaults_getInstance().yn_1.tb_1);
332
332
  var tmp_25 = KProperty1;
333
- tmp_23.q2o_1 = tmp_24.w1m(this, getPropertyCallableRef('patchRegex', 1, tmp_25, CalculateVersion$_get_patchRegex_$ref_124637(), null));
333
+ tmp_23.n2o_1 = tmp_24.t1m(this, getPropertyCallableRef('patchRegex', 1, tmp_25, CalculateVersion$_get_patchRegex_$ref_124637(), null));
334
334
  var tmp_26 = this;
335
- var tmp_27 = default_0(option(this, []), Defaults_getInstance().ao_1.tb_1);
335
+ var tmp_27 = default_0(option(this, []), Defaults_getInstance().xn_1.tb_1);
336
336
  var tmp_28 = KProperty1;
337
- tmp_26.r2o_1 = tmp_27.w1m(this, getPropertyCallableRef('noneRegex', 1, tmp_28, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
337
+ tmp_26.o2o_1 = tmp_27.t1m(this, getPropertyCallableRef('noneRegex', 1, tmp_28, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
338
338
  var tmp_29 = this;
339
339
  var tmp0 = option(this, []);
340
340
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
341
341
  var message = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
342
342
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
343
343
  // Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
344
- var tmp_30 = tmp0.n1l();
345
- var tmp_31 = tmp0.p1m();
346
- var tmp_32 = tmp0.o1l();
347
- var tmp_33 = tmp0.q1m(tmp_30, tmp_31, tmp_32, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
344
+ var tmp_30 = tmp0.k1l();
345
+ var tmp_31 = tmp0.m1m();
346
+ var tmp_32 = tmp0.l1l();
347
+ var tmp_33 = tmp0.n1m(tmp_30, tmp_31, tmp_32, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
348
348
  var tmp_34 = KProperty1;
349
- tmp_29.s2o_1 = tmp_33.w1m(this, getPropertyCallableRef('versionRegex', 1, tmp_34, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
349
+ tmp_29.p2o_1 = tmp_33.t1m(this, getPropertyCallableRef('versionRegex', 1, tmp_34, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
350
350
  }
351
- protoOf(CalculateVersion).m1d = function () {
351
+ protoOf(CalculateVersion).j1d = function () {
352
352
  var tmp = new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj(this)));
353
353
  var tmp_0 = _get_implicitPatch__bjk4pa(this);
354
354
  var tmp_1 = _get_disableDetached__ys8kbb(this);
@@ -358,10 +358,10 @@
358
358
  // Inline function 'kotlin.run' call
359
359
  var $this$run = calculateNextVersion(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
360
360
  if ($this$run instanceof Success) {
361
- output(this, $this$run.go_1, $this$run.ho_1);
361
+ output(this, $this$run.do_1, $this$run.eo_1);
362
362
  } else {
363
363
  if ($this$run instanceof Failure)
364
- throw new CliktError($this$run.e());
364
+ throw new CliktError($this$run.ba());
365
365
  else {
366
366
  noWhenBranchMatchedException();
367
367
  }
@@ -370,9 +370,9 @@
370
370
  function findInvocations($this, configAsElement, option) {
371
371
  var cursor = configAsElement;
372
372
  var parts_0 = parts($this, option);
373
- var _iterator__ex2g4s = parts_0.t();
374
- while (_iterator__ex2g4s.u()) {
375
- var part = _iterator__ex2g4s.v();
373
+ var _iterator__ex2g4s = parts_0.r();
374
+ while (_iterator__ex2g4s.s()) {
375
+ var part = _iterator__ex2g4s.t();
376
376
  if (!(cursor instanceof JsonObject))
377
377
  return emptyList();
378
378
  cursor = cursor.rc(part);
@@ -385,15 +385,15 @@
385
385
  var this_0 = cursor;
386
386
  // Inline function 'kotlin.collections.mapTo' call
387
387
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
388
- var _iterator__ex2g4s_0 = this_0.t();
389
- while (_iterator__ex2g4s_0.u()) {
390
- var item = _iterator__ex2g4s_0.v();
391
- var tmp$ret$0 = Companion_instance_0.o1r(get_jsonPrimitive(item).q2c());
392
- destination.x(tmp$ret$0);
388
+ var _iterator__ex2g4s_0 = this_0.r();
389
+ while (_iterator__ex2g4s_0.s()) {
390
+ var item = _iterator__ex2g4s_0.t();
391
+ var tmp$ret$2 = Companion_instance_0.l1r(get_jsonPrimitive(item).n2c());
392
+ destination.v(tmp$ret$2);
393
393
  }
394
394
  return destination;
395
395
  }
396
- return Companion_instance_0.n1r(get_jsonPrimitive(cursor).q2c());
396
+ return Companion_instance_0.k1r(get_jsonPrimitive(cursor).n2c());
397
397
  } catch ($p) {
398
398
  if ($p instanceof IllegalArgumentException) {
399
399
  var _unused_var__etf5q3 = $p;
@@ -403,20 +403,20 @@
403
403
  }
404
404
  }
405
405
  }
406
- function parts($this, _this__u8e3s4) {
407
- var tmp0_safe_receiver = _this__u8e3s4.a1e();
406
+ function parts($this, $receiver) {
407
+ var tmp0_safe_receiver = $receiver.x1d();
408
408
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : split(tmp0_safe_receiver, ['.']);
409
- return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase($this, Companion_instance_1.p1r(_this__u8e3s4))) : tmp1_elvis_lhs;
409
+ return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase($this, Companion_instance_1.m1r($receiver))) : tmp1_elvis_lhs;
410
410
  }
411
- function kebabToCamelCase($this, _this__u8e3s4) {
411
+ function kebabToCamelCase($this, $receiver) {
412
412
  // Inline function 'kotlin.text.toRegex' call
413
413
  var pattern = Regex_init_$Create$_0('-[a-z]');
414
414
  // Inline function 'kotlin.text.replace' call
415
415
  var transform = ConfigFileSource$kebabToCamelCase$lambda;
416
- return pattern.lc(_this__u8e3s4, transform);
416
+ return pattern.lc($receiver, transform);
417
417
  }
418
418
  function readConfigFileAsJsonElement($this) {
419
- var pwd = $this.t2o_1('PWD');
419
+ var pwd = $this.q2o_1('PWD');
420
420
  var tmp0_elvis_lhs = readFromFile('' + pwd + '/.tagger');
421
421
  var tmp;
422
422
  if (tmp0_elvis_lhs == null) {
@@ -428,32 +428,32 @@
428
428
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
429
429
  var this_0 = Default_getInstance();
430
430
  // Inline function 'kotlinx.serialization.serializer' call
431
- var this_1 = this_0.vr();
431
+ var this_1 = this_0.sr();
432
432
  // Inline function 'kotlinx.serialization.internal.cast' call
433
433
  var this_2 = serializer(this_1, createKType(getKClass(TaggerConfig), arrayOf([]), false));
434
434
  var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
435
- var config = this_0.i2a(tmp$ret$1, fileContents);
435
+ var config = this_0.f2a(tmp$ret$1, fileContents);
436
436
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
437
437
  var this_3 = Default_getInstance();
438
438
  // Inline function 'kotlinx.serialization.serializer' call
439
- var this_4 = this_3.vr();
439
+ var this_4 = this_3.sr();
440
440
  // Inline function 'kotlinx.serialization.internal.cast' call
441
441
  var this_5 = serializer(this_4, createKType(getKClass(TaggerConfig), arrayOf([]), false));
442
442
  var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
443
- var configAsElement = this_3.j2a(tmp$ret$4, config);
443
+ var configAsElement = this_3.g2a(tmp$ret$4, config);
444
444
  return configAsElement;
445
445
  }
446
446
  function ConfigFileSource$kebabToCamelCase$lambda(it) {
447
447
  // Inline function 'kotlin.text.uppercase' call
448
- var this_0 = last(it.o1());
448
+ var this_0 = last(it.m1());
449
449
  // Inline function 'kotlin.js.asDynamic' call
450
450
  // Inline function 'kotlin.js.unsafeCast' call
451
451
  return toString(this_0).toUpperCase();
452
452
  }
453
453
  function ConfigFileSource(envvarReader) {
454
- this.t2o_1 = envvarReader;
454
+ this.q2o_1 = envvarReader;
455
455
  }
456
- protoOf(ConfigFileSource).y1m = function (context, option) {
456
+ protoOf(ConfigFileSource).v1m = function (context, option) {
457
457
  var tmp0_elvis_lhs = readConfigFileAsJsonElement(this);
458
458
  var tmp;
459
459
  if (tmp0_elvis_lhs == null) {
@@ -466,24 +466,24 @@
466
466
  };
467
467
  function _get_file__d6iv67($this) {
468
468
  var tmp = KProperty1;
469
- return $this.j2p_1.m1m($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
469
+ return $this.g2p_1.j1m($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
470
470
  }
471
471
  function _get_merge__eb7eqv($this) {
472
472
  var tmp = KProperty1;
473
- return $this.k2p_1.m1m($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
473
+ return $this.h2p_1.j1m($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
474
474
  }
475
475
  function mergeJson($this, defaultConfig, originalData) {
476
476
  // Inline function 'kotlinx.serialization.json.buildJsonObject' call
477
477
  var builder = new JsonObjectBuilder();
478
478
  // Inline function 'kotlin.collections.forEach' call
479
479
  // Inline function 'kotlin.collections.iterator' call
480
- var _iterator__ex2g4s = get_jsonObject(defaultConfig).m1().t();
481
- while (_iterator__ex2g4s.u()) {
482
- var element = _iterator__ex2g4s.v();
480
+ var _iterator__ex2g4s = get_jsonObject(defaultConfig).k1().r();
481
+ while (_iterator__ex2g4s.s()) {
482
+ var element = _iterator__ex2g4s.t();
483
483
  // Inline function 'kotlin.collections.component1' call
484
- var key = element.n1();
484
+ var key = element.l1();
485
485
  // Inline function 'kotlin.collections.component2' call
486
- var value = element.o1();
486
+ var value = element.m1();
487
487
  var originalValue = get_jsonObject(originalData).rc(key);
488
488
  var tmp1_safe_receiver = originalValue == null ? null : get_jsonPrimitive(originalValue);
489
489
  var hasValue = !((tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver)) == null);
@@ -493,9 +493,9 @@
493
493
  } else {
494
494
  tmp = value;
495
495
  }
496
- builder.y2c(key, tmp);
496
+ builder.v2c(key, tmp);
497
497
  }
498
- var mergeData = builder.s2b();
498
+ var mergeData = builder.p2b();
499
499
  return mergeData;
500
500
  }
501
501
  function GenerateSettingsFile$_get_file_$ref_3dvoj2() {
@@ -519,8 +519,8 @@
519
519
  };
520
520
  }
521
521
  function GenerateSettingsFile$run$lambda($this$Json) {
522
- $this$Json.e2b_1 = true;
523
- $this$Json.a2b_1 = true;
522
+ $this$Json.b2b_1 = true;
523
+ $this$Json.x2a_1 = true;
524
524
  return Unit_instance;
525
525
  }
526
526
  function GenerateSettingsFile() {
@@ -528,22 +528,22 @@
528
528
  var tmp = this;
529
529
  var tmp_0 = option(this, []);
530
530
  var tmp_1 = KProperty1;
531
- tmp.j2p_1 = tmp_0.w1m(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
531
+ tmp.g2p_1 = tmp_0.t1m(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
532
532
  var tmp_2 = this;
533
533
  var tmp_3 = boolean(option(this, []));
534
534
  var tmp_4 = KProperty1;
535
- tmp_2.k2p_1 = tmp_3.w1m(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
535
+ tmp_2.h2p_1 = tmp_3.t1m(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
536
536
  }
537
- protoOf(GenerateSettingsFile).m1d = function () {
537
+ protoOf(GenerateSettingsFile).j1d = function () {
538
538
  var prettyJsonFormatter = Json(VOID, GenerateSettingsFile$run$lambda);
539
539
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
540
540
  var value = get_runtimeDefaultConfig();
541
541
  // Inline function 'kotlinx.serialization.serializer' call
542
- var this_0 = prettyJsonFormatter.vr();
542
+ var this_0 = prettyJsonFormatter.sr();
543
543
  // Inline function 'kotlinx.serialization.internal.cast' call
544
544
  var this_1 = serializer(this_0, createKType(getKClass(TaggerConfig), arrayOf([]), false));
545
545
  var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
546
- var defaultConfig = prettyJsonFormatter.j2a(tmp$ret$1, value);
546
+ var defaultConfig = prettyJsonFormatter.g2a(tmp$ret$1, value);
547
547
  // Inline function 'kotlin.text.orEmpty' call
548
548
  var tmp0_elvis_lhs = _get_file__d6iv67(this);
549
549
  // Inline function 'kotlin.text.ifBlank' call
@@ -555,14 +555,14 @@
555
555
  tmp = this_2;
556
556
  }
557
557
  var fileName = tmp;
558
- var pwd = this.i19().z19_1('PWD');
558
+ var pwd = this.f19().w19_1('PWD');
559
559
  var settingsFile = '' + pwd + '/' + fileName;
560
560
  var existingFileData = readFromFile(settingsFile);
561
561
  var tmp_0;
562
562
  if (!(existingFileData == null)) {
563
563
  var tmp_1;
564
564
  if (_get_merge__eb7eqv(this) === true) {
565
- var originalData = prettyJsonFormatter.k2a(existingFileData);
565
+ var originalData = prettyJsonFormatter.h2a(existingFileData);
566
566
  tmp_1 = mergeJson(this, defaultConfig, originalData);
567
567
  } else {
568
568
  throw new CliktError('File already exists.');
@@ -575,22 +575,22 @@
575
575
  if (_get_file__d6iv67(this) == null) {
576
576
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
577
577
  // Inline function 'kotlinx.serialization.serializer' call
578
- var this_3 = prettyJsonFormatter.vr();
578
+ var this_3 = prettyJsonFormatter.sr();
579
579
  // Inline function 'kotlinx.serialization.internal.cast' call
580
580
  var this_4 = serializer(this_3, createKType(getKClass(JsonElement), arrayOf([]), false));
581
581
  var tmp$ret$7 = isInterface(this_4, KSerializer) ? this_4 : THROW_CCE();
582
- var tmp$ret$8 = prettyJsonFormatter.h2a(tmp$ret$7, outputConfig);
583
- this.a1c(tmp$ret$8);
582
+ var tmp$ret$6 = prettyJsonFormatter.e2a(tmp$ret$7, outputConfig);
583
+ this.x1b(tmp$ret$6);
584
584
  } else {
585
585
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
586
586
  // Inline function 'kotlinx.serialization.serializer' call
587
- var this_5 = prettyJsonFormatter.vr();
587
+ var this_5 = prettyJsonFormatter.sr();
588
588
  // Inline function 'kotlinx.serialization.internal.cast' call
589
589
  var this_6 = serializer(this_5, createKType(getKClass(JsonElement), arrayOf([]), false));
590
590
  var tmp$ret$10 = isInterface(this_6, KSerializer) ? this_6 : THROW_CCE();
591
- var tmp$ret$11 = prettyJsonFormatter.h2a(tmp$ret$10, outputConfig);
592
- writeToFile(tmp$ret$11, settingsFile);
593
- this.a1c('Saved to ' + fileName);
591
+ var tmp$ret$9 = prettyJsonFormatter.e2a(tmp$ret$10, outputConfig);
592
+ writeToFile(tmp$ret$9, settingsFile);
593
+ this.x1b('Saved to ' + fileName);
594
594
  }
595
595
  };
596
596
  function main_0(args) {
@@ -604,11 +604,11 @@
604
604
  }
605
605
  function _get_gitRepoArgument__zxde8_0($this) {
606
606
  var tmp = KProperty1;
607
- return $this.a2q_1.m1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
607
+ return $this.x2p_1.j1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
608
608
  }
609
609
  function _get_gitRepoOption__rk7ta0_0($this) {
610
610
  var tmp = KProperty1;
611
- return $this.b2q_1.m1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
611
+ return $this.y2p_1.j1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
612
612
  }
613
613
  function _get_workingDirectory__eyfbj_0($this) {
614
614
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8_0($this);
@@ -623,26 +623,26 @@
623
623
  }
624
624
  function _get_releaseBranch__pqrgbs_0($this) {
625
625
  var tmp = KProperty1;
626
- return $this.c2q_1.m1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
626
+ return $this.z2p_1.j1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
627
627
  }
628
628
  function _get_version__2bx7w9($this) {
629
629
  var tmp = KProperty1;
630
- return $this.d2q_1.m1m($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
630
+ return $this.a2q_1.j1m($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
631
631
  }
632
632
  function _get_userName__tupjmd($this) {
633
633
  var tmp = KProperty1;
634
- return $this.e2q_1.m1m($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
634
+ return $this.b2q_1.j1m($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
635
635
  }
636
636
  function _get_userEmail__21hfkw($this) {
637
637
  var tmp = KProperty1;
638
- return $this.f2q_1.m1m($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
638
+ return $this.c2q_1.j1m($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
639
639
  }
640
640
  function _get_warningsAsErrors__7mpwfd($this) {
641
641
  var tmp = KProperty1;
642
- return $this.g2q_1.m1m($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
642
+ return $this.d2q_1.j1m($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
643
643
  }
644
644
  function Tag$lambda($this$context) {
645
- $this$context.u1c([new ConfigFileSource($this$context.q1c_1)]);
645
+ $this$context.r1c([new ConfigFileSource($this$context.n1c_1)]);
646
646
  return Unit_instance;
647
647
  }
648
648
  function Tag$_get_gitRepoArgument_$ref_dketaj() {
@@ -721,43 +721,43 @@
721
721
  var tmp = this;
722
722
  var tmp_0 = optional(argument(this, 'git-repo'));
723
723
  var tmp_1 = KProperty1;
724
- tmp.a2q_1 = tmp_0.s1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
724
+ tmp.x2p_1 = tmp_0.p1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
725
725
  var tmp_2 = this;
726
726
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
727
727
  var tmp_4 = KProperty1;
728
- tmp_2.b2q_1 = tmp_3.w1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
728
+ tmp_2.y2p_1 = tmp_3.t1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
729
729
  var tmp_5 = this;
730
730
  var tmp_6 = required(option(this, []));
731
731
  var tmp_7 = KProperty1;
732
- tmp_5.c2q_1 = tmp_6.w1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
732
+ tmp_5.z2p_1 = tmp_6.t1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
733
733
  var tmp_8 = this;
734
734
  var tmp_9 = required(option(this, []));
735
735
  var tmp_10 = KProperty1;
736
- tmp_8.d2q_1 = tmp_9.w1m(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
736
+ tmp_8.a2q_1 = tmp_9.t1m(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
737
737
  var tmp_11 = this;
738
738
  var tmp_12 = option(this, []);
739
739
  var tmp_13 = KProperty1;
740
- tmp_11.e2q_1 = tmp_12.w1m(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
740
+ tmp_11.b2q_1 = tmp_12.t1m(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
741
741
  var tmp_14 = this;
742
742
  var tmp_15 = option(this, []);
743
743
  var tmp_16 = KProperty1;
744
- tmp_14.f2q_1 = tmp_15.w1m(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
744
+ tmp_14.c2q_1 = tmp_15.t1m(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
745
745
  var tmp_17 = this;
746
746
  var tmp_18 = default_0(boolean(option(this, [])), false);
747
747
  var tmp_19 = KProperty1;
748
- tmp_17.g2q_1 = tmp_18.w1m(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_19, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
748
+ tmp_17.d2q_1 = tmp_18.t1m(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_19, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
749
749
  }
750
- protoOf(Tag).m1d = function () {
750
+ protoOf(Tag).j1d = function () {
751
751
  // Inline function 'kotlin.let' call
752
752
  var it = tag(new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj_0(this))), _get_version__2bx7w9(this), _get_releaseBranch__pqrgbs_0(this), _get_userName__tupjmd(this), _get_userEmail__21hfkw(this));
753
753
  if (equals(it, Success_getInstance())) {
754
- this.a1c('Success!');
754
+ this.x1b('Success!');
755
755
  } else {
756
756
  if (it instanceof Error_0)
757
757
  if (_get_warningsAsErrors__7mpwfd(this)) {
758
- throw new CliktError(it.zn_1);
758
+ throw new CliktError(it.wn_1);
759
759
  } else {
760
- this.a1c(it.zn_1, VOID, true);
760
+ this.x1b(it.wn_1, VOID, true);
761
761
  }
762
762
  else {
763
763
  noWhenBranchMatchedException();
@@ -766,12 +766,12 @@
766
766
  };
767
767
  function _get_quiet__c6dzoj($this) {
768
768
  var tmp = KProperty1;
769
- return $this.w2q_1.m1m($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
769
+ return $this.t2q_1.j1m($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
770
770
  }
771
771
  function Tagger$lambda($version, $this) {
772
772
  return function ($this$eagerOption) {
773
773
  var it = $version;
774
- var tmp$ret$0 = $this.t18_1 + ' version ' + it;
774
+ var tmp$ret$0 = $this.q18_1 + ' version ' + it;
775
775
  throw new PrintMessage(tmp$ret$0);
776
776
  };
777
777
  }
@@ -788,18 +788,18 @@
788
788
  function Tagger() {
789
789
  CliktCommand.call(this);
790
790
  // Inline function 'com.github.ajalt.clikt.parameters.options.versionOption' call
791
- var version = Versions_instance.s2n_1;
791
+ var version = Versions_instance.p2n_1;
792
792
  var help = 'Show the version and exit';
793
793
  var names = setOf('--version');
794
794
  eagerOption(this, names, help, VOID, VOID, VOID, Tagger$lambda(version, this));
795
795
  var tmp = this;
796
796
  var tmp_0 = flag(option(this, ['--quiet', '-q']), [], false);
797
797
  var tmp_1 = KProperty1;
798
- tmp.w2q_1 = tmp_0.w1m(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
798
+ tmp.t2q_1 = tmp_0.t1m(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
799
799
  }
800
- protoOf(Tagger).m1d = function () {
800
+ protoOf(Tagger).j1d = function () {
801
801
  if (!_get_quiet__c6dzoj(this)) {
802
- this.a1c('Welcome to Tagger CLI.');
802
+ this.x1b('Welcome to Tagger CLI.');
803
803
  }
804
804
  };
805
805
  //region block: init