git-semver-tagger 1.10.0 → 1.12.0

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.
@@ -121,7 +121,7 @@
121
121
  initMetadataForClass(Tagger, 'Tagger', Tagger, CliktCommand);
122
122
  //endregion
123
123
  function Versions() {
124
- this.z2n_1 = '1.10.0';
124
+ this.b2o_1 = '1.12.0';
125
125
  }
126
126
  var Versions_instance;
127
127
  function Versions_getInstance() {
@@ -145,11 +145,11 @@
145
145
  }
146
146
  function _get_gitRepoArgument__zxde8($this) {
147
147
  var tmp = KProperty1;
148
- return $this.p2o_1.t1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
148
+ return $this.r2o_1.v1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
149
149
  }
150
150
  function _get_gitRepoOption__rk7ta0($this) {
151
151
  var tmp = KProperty1;
152
- return $this.q2o_1.t1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
152
+ return $this.s2o_1.v1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
153
153
  }
154
154
  function _get_workingDirectory__eyfbj($this) {
155
155
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8($this);
@@ -164,60 +164,75 @@
164
164
  }
165
165
  function _get_implicitPatch__bjk4pa($this) {
166
166
  var tmp = KProperty1;
167
- return $this.r2o_1.t1m($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
167
+ return $this.t2o_1.v1m($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
168
168
  }
169
169
  function _get_disableDetachedDeprecated__wab4kc($this) {
170
170
  var tmp = KProperty1;
171
- return $this.s2o_1.t1m($this, getPropertyCallableRef('disableDetachedDeprecated', 1, tmp, CalculateVersion$_get_disableDetachedDeprecated_$ref_ej45b3_0(), null));
171
+ return $this.u2o_1.v1m($this, getPropertyCallableRef('disableDetachedDeprecated', 1, tmp, CalculateVersion$_get_disableDetachedDeprecated_$ref_ej45b3_0(), null));
172
172
  }
173
173
  function _get_allowDetachedHead__iyebhm($this) {
174
174
  var tmp = KProperty1;
175
- return $this.t2o_1.t1m($this, getPropertyCallableRef('allowDetachedHead', 1, tmp, CalculateVersion$_get_allowDetachedHead_$ref_f6r7al_0(), null));
175
+ return $this.v2o_1.v1m($this, getPropertyCallableRef('allowDetachedHead', 1, tmp, CalculateVersion$_get_allowDetachedHead_$ref_f6r7al_0(), null));
176
176
  }
177
177
  function _get_disableDetached__ys8kbb($this) {
178
- var tmp0_elvis_lhs = _get_disableDetachedDeprecated__wab4kc($this);
179
- return tmp0_elvis_lhs == null ? !_get_allowDetachedHead__iyebhm($this) : tmp0_elvis_lhs;
178
+ var tmp0_safe_receiver = _get_allowDetachedHead__iyebhm($this);
179
+ var tmp;
180
+ if (tmp0_safe_receiver == null) {
181
+ tmp = null;
182
+ } else {
183
+ // Inline function 'kotlin.let' call
184
+ tmp = !tmp0_safe_receiver;
185
+ }
186
+ var tmp1_elvis_lhs = tmp;
187
+ var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? _get_disableDetachedDeprecated__wab4kc($this) : tmp1_elvis_lhs;
188
+ return tmp2_elvis_lhs == null ? true : tmp2_elvis_lhs;
180
189
  }
181
190
  function _get_forceSnapshot__vb3h7m($this) {
182
191
  var tmp = KProperty1;
183
- return $this.u2o_1.t1m($this, getPropertyCallableRef('forceSnapshot', 1, tmp, CalculateVersion$_get_forceSnapshot_$ref_8rl68v_0(), null));
192
+ return $this.w2o_1.v1m($this, getPropertyCallableRef('forceSnapshot', 1, tmp, CalculateVersion$_get_forceSnapshot_$ref_8rl68v_0(), null));
184
193
  }
185
194
  function _get_releaseBranch__pqrgbs($this) {
186
195
  var tmp = KProperty1;
187
- return $this.v2o_1.t1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
196
+ return $this.x2o_1.v1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
188
197
  }
189
198
  function _get_format__qlarck($this) {
190
199
  var tmp = KProperty1;
191
- return $this.w2o_1.t1m($this, getPropertyCallableRef('format', 1, tmp, CalculateVersion$_get_format_$ref_clhcb9_0(), null));
200
+ return $this.y2o_1.v1m($this, getPropertyCallableRef('format', 1, tmp, CalculateVersion$_get_format_$ref_clhcb9_0(), null));
192
201
  }
193
202
  function _get_majorRegex__5j6ypp($this) {
194
203
  var tmp = KProperty1;
195
- return $this.x2o_1.t1m($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
204
+ return $this.z2o_1.v1m($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
196
205
  }
197
206
  function _get_minorRegex__20z96h($this) {
198
207
  var tmp = KProperty1;
199
- return $this.y2o_1.t1m($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
208
+ return $this.a2p_1.v1m($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
200
209
  }
201
210
  function _get_patchRegex__mtlu2c($this) {
202
211
  var tmp = KProperty1;
203
- return $this.z2o_1.t1m($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
212
+ return $this.b2p_1.v1m($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
204
213
  }
205
214
  function _get_noneRegex__1tdbgi($this) {
206
215
  var tmp = KProperty1;
207
- return $this.a2p_1.t1m($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
216
+ return $this.c2p_1.v1m($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
208
217
  }
209
218
  function _get_versionRegex__7su5ss($this) {
210
219
  var tmp = KProperty1;
211
- return $this.b2p_1.t1m($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
220
+ return $this.d2p_1.v1m($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
212
221
  }
213
- function output($this, message, errorMessage) {
214
- $this.f1c(message);
222
+ function output($this, message, errorMessage, warnings) {
223
+ $this.h1c(message);
215
224
  // Inline function 'kotlin.collections.isNotEmpty' call
216
225
  if (!errorMessage.p()) {
217
- $this.f1c(errorMessage, VOID, true);
226
+ $this.h1c(errorMessage, VOID, true);
227
+ }
228
+ // Inline function 'kotlin.collections.forEach' call
229
+ var _iterator__ex2g4s = warnings.r();
230
+ while (_iterator__ex2g4s.s()) {
231
+ var element = _iterator__ex2g4s.t();
232
+ $this.h1c(element, VOID, true);
218
233
  }
219
234
  }
220
- function outputJson($this, version, snapshotReasons) {
235
+ function outputJson($this, version, snapshotReasons, warnings) {
221
236
  var isSnapshot = endsWith(version, '-SNAPSHOT');
222
237
  // Inline function 'kotlin.collections.map' call
223
238
  // Inline function 'kotlin.collections.mapTo' call
@@ -228,8 +243,8 @@
228
243
  var tmp$ret$2 = item.toString();
229
244
  destination.v(tmp$ret$2);
230
245
  }
231
- var jsonOutput = versionSuccessResponse(new VersionData(version, isSnapshot, destination));
232
- $this.f1c(jsonOutput);
246
+ var jsonOutput = versionSuccessResponse(new VersionData(version, isSnapshot, destination, warnings));
247
+ $this.h1c(jsonOutput);
233
248
  }
234
249
  function versionRegex($this) {
235
250
  var tmp = Regex_init_$Create$(_get_noneRegex__1tdbgi($this), RegexOption_IGNORE_CASE_getInstance());
@@ -247,7 +262,7 @@
247
262
  return new VersionRegex(tmp, tmp_0, tmp_1, tmp_2, tmp_3);
248
263
  }
249
264
  function CalculateVersion$lambda($this$context) {
250
- $this$context.z1c([new ConfigFileSource($this$context.v1c_1)]);
265
+ $this$context.b1d([new ConfigFileSource($this$context.x1c_1)]);
251
266
  return Unit_instance;
252
267
  }
253
268
  function CalculateVersion$_get_gitRepoArgument_$ref_ekksr7() {
@@ -377,7 +392,7 @@
377
392
  // Inline function 'com.github.ajalt.clikt.parameters.options.OptionTransformContext.require' call
378
393
  if (!$tmp4_check_this.jo(it)) {
379
394
  var tmp$ret$3 = $message;
380
- $this$copy.c1m(tmp$ret$3);
395
+ $this$copy.e1m(tmp$ret$3);
381
396
  }
382
397
  tmp = Unit_instance;
383
398
  }
@@ -400,31 +415,31 @@
400
415
  var tmp = this;
401
416
  var tmp_0 = optional(argument(this, 'git-repo'));
402
417
  var tmp_1 = KProperty1;
403
- tmp.p2o_1 = tmp_0.z1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
418
+ tmp.r2o_1 = tmp_0.b1m(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
404
419
  var tmp_2 = this;
405
420
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
406
421
  var tmp_4 = KProperty1;
407
- tmp_2.q2o_1 = tmp_3.d1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
422
+ tmp_2.s2o_1 = tmp_3.f1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
408
423
  var tmp_5 = this;
409
424
  var tmp_6 = default_0(boolean(option(this, [])), true);
410
425
  var tmp_7 = KProperty1;
411
- tmp_5.r2o_1 = tmp_6.d1n(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
426
+ tmp_5.t2o_1 = tmp_6.f1n(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
412
427
  var tmp_8 = this;
413
428
  var tmp_9 = boolean(option(this, ['--disable-detached'], VOID, VOID, true));
414
429
  var tmp_10 = KProperty1;
415
- tmp_8.s2o_1 = tmp_9.d1n(this, getPropertyCallableRef('disableDetachedDeprecated', 1, tmp_10, CalculateVersion$_get_disableDetachedDeprecated_$ref_ej45b3(), null));
430
+ tmp_8.u2o_1 = tmp_9.f1n(this, getPropertyCallableRef('disableDetachedDeprecated', 1, tmp_10, CalculateVersion$_get_disableDetachedDeprecated_$ref_ej45b3(), null));
416
431
  var tmp_11 = this;
417
- var tmp_12 = default_0(boolean(option(this, ['--allow-detached-head'])), false);
432
+ var tmp_12 = boolean(option(this, ['--allow-detached-head']));
418
433
  var tmp_13 = KProperty1;
419
- tmp_11.t2o_1 = tmp_12.d1n(this, getPropertyCallableRef('allowDetachedHead', 1, tmp_13, CalculateVersion$_get_allowDetachedHead_$ref_f6r7al(), null));
434
+ tmp_11.v2o_1 = tmp_12.f1n(this, getPropertyCallableRef('allowDetachedHead', 1, tmp_13, CalculateVersion$_get_allowDetachedHead_$ref_f6r7al(), null));
420
435
  var tmp_14 = this;
421
436
  var tmp_15 = default_0(boolean(option(this, [])), false);
422
437
  var tmp_16 = KProperty1;
423
- tmp_14.u2o_1 = tmp_15.d1n(this, getPropertyCallableRef('forceSnapshot', 1, tmp_16, CalculateVersion$_get_forceSnapshot_$ref_8rl68v(), null));
438
+ tmp_14.w2o_1 = tmp_15.f1n(this, getPropertyCallableRef('forceSnapshot', 1, tmp_16, CalculateVersion$_get_forceSnapshot_$ref_8rl68v(), null));
424
439
  var tmp_17 = this;
425
440
  var tmp_18 = option(this, []);
426
441
  var tmp_19 = KProperty1;
427
- tmp_17.v2o_1 = tmp_18.d1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_19, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
442
+ tmp_17.x2o_1 = tmp_18.f1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_19, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
428
443
  var tmp_20 = this;
429
444
  // Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
430
445
  var this_0 = option(this, ['--format'], 'Output format (default: text). Use json for structured data with version, snapshot status, and diagnostic flags.');
@@ -447,37 +462,37 @@
447
462
  var tmp$ret$0 = choice(this_0, destination, VOID, true);
448
463
  var tmp_21 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
449
464
  var tmp_22 = KProperty1;
450
- tmp_20.w2o_1 = tmp_21.d1n(this, getPropertyCallableRef('format', 1, tmp_22, CalculateVersion$_get_format_$ref_clhcb9(), null));
465
+ tmp_20.y2o_1 = tmp_21.f1n(this, getPropertyCallableRef('format', 1, tmp_22, CalculateVersion$_get_format_$ref_clhcb9(), null));
451
466
  var tmp_23 = this;
452
467
  var tmp_24 = default_0(option(this, []), Defaults_getInstance().ho_1.tb_1);
453
468
  var tmp_25 = KProperty1;
454
- tmp_23.x2o_1 = tmp_24.d1n(this, getPropertyCallableRef('majorRegex', 1, tmp_25, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
469
+ tmp_23.z2o_1 = tmp_24.f1n(this, getPropertyCallableRef('majorRegex', 1, tmp_25, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
455
470
  var tmp_26 = this;
456
471
  var tmp_27 = default_0(option(this, []), Defaults_getInstance().go_1.tb_1);
457
472
  var tmp_28 = KProperty1;
458
- tmp_26.y2o_1 = tmp_27.d1n(this, getPropertyCallableRef('minorRegex', 1, tmp_28, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
473
+ tmp_26.a2p_1 = tmp_27.f1n(this, getPropertyCallableRef('minorRegex', 1, tmp_28, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
459
474
  var tmp_29 = this;
460
475
  var tmp_30 = default_0(option(this, []), Defaults_getInstance().fo_1.tb_1);
461
476
  var tmp_31 = KProperty1;
462
- tmp_29.z2o_1 = tmp_30.d1n(this, getPropertyCallableRef('patchRegex', 1, tmp_31, CalculateVersion$_get_patchRegex_$ref_124637(), null));
477
+ tmp_29.b2p_1 = tmp_30.f1n(this, getPropertyCallableRef('patchRegex', 1, tmp_31, CalculateVersion$_get_patchRegex_$ref_124637(), null));
463
478
  var tmp_32 = this;
464
479
  var tmp_33 = default_0(option(this, []), Defaults_getInstance().eo_1.tb_1);
465
480
  var tmp_34 = KProperty1;
466
- tmp_32.a2p_1 = tmp_33.d1n(this, getPropertyCallableRef('noneRegex', 1, tmp_34, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
481
+ tmp_32.c2p_1 = tmp_33.f1n(this, getPropertyCallableRef('noneRegex', 1, tmp_34, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
467
482
  var tmp_35 = this;
468
483
  var tmp0 = option(this, []);
469
484
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
470
485
  var message = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
471
486
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
472
487
  // Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
473
- var tmp_36 = tmp0.u1l();
474
- var tmp_37 = tmp0.w1m();
475
- var tmp_38 = tmp0.v1l();
476
- var tmp_39 = tmp0.x1m(tmp_36, tmp_37, tmp_38, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
488
+ var tmp_36 = tmp0.w1l();
489
+ var tmp_37 = tmp0.y1m();
490
+ var tmp_38 = tmp0.x1l();
491
+ var tmp_39 = tmp0.z1m(tmp_36, tmp_37, tmp_38, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
477
492
  var tmp_40 = KProperty1;
478
- tmp_35.b2p_1 = tmp_39.d1n(this, getPropertyCallableRef('versionRegex', 1, tmp_40, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
493
+ tmp_35.d2p_1 = tmp_39.f1n(this, getPropertyCallableRef('versionRegex', 1, tmp_40, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
479
494
  }
480
- protoOf(CalculateVersion).s1d = function () {
495
+ protoOf(CalculateVersion).u1d = function () {
481
496
  var tmp = new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj(this)));
482
497
  var tmp_0 = _get_implicitPatch__bjk4pa(this);
483
498
  var tmp_1 = _get_disableDetached__ys8kbb(this);
@@ -489,10 +504,10 @@
489
504
  if ($this$run instanceof Success) {
490
505
  switch (_get_format__qlarck(this).y2_1) {
491
506
  case 1:
492
- outputJson(this, $this$run.ko_1, $this$run.lo_1);
507
+ outputJson(this, $this$run.ko_1, $this$run.lo_1, $this$run.mo_1);
493
508
  break;
494
509
  case 0:
495
- output(this, $this$run.ko_1, $this$run.lo_1);
510
+ output(this, $this$run.ko_1, $this$run.lo_1, $this$run.mo_1);
496
511
  break;
497
512
  default:
498
513
  noWhenBranchMatchedException();
@@ -502,7 +517,7 @@
502
517
  if ($this$run instanceof Failure) {
503
518
  switch (_get_format__qlarck(this).y2_1) {
504
519
  case 1:
505
- this.f1c(errorResponse($this$run.ba(), 'CONFIGURATION_ERROR'));
520
+ this.h1c(errorResponse($this$run.ba(), 'CONFIGURATION_ERROR'));
506
521
  throw new CliktError('', VOID, 1, false);
507
522
  case 0:
508
523
  throw new CliktError($this$run.ba());
@@ -544,12 +559,12 @@
544
559
  var _iterator__ex2g4s_0 = this_0.r();
545
560
  while (_iterator__ex2g4s_0.s()) {
546
561
  var item = _iterator__ex2g4s_0.t();
547
- var tmp$ret$2 = Companion_instance_0.v1r(get_jsonPrimitive(item).x2c());
562
+ var tmp$ret$2 = Companion_instance_0.x1r(get_jsonPrimitive(item).z2c());
548
563
  destination.v(tmp$ret$2);
549
564
  }
550
565
  return destination;
551
566
  }
552
- return Companion_instance_0.u1r(get_jsonPrimitive(cursor).x2c());
567
+ return Companion_instance_0.w1r(get_jsonPrimitive(cursor).z2c());
553
568
  } catch ($p) {
554
569
  if ($p instanceof IllegalArgumentException) {
555
570
  var _unused_var__etf5q3 = $p;
@@ -560,9 +575,9 @@
560
575
  }
561
576
  }
562
577
  function parts($this, $receiver) {
563
- var tmp0_safe_receiver = $receiver.g1e();
578
+ var tmp0_safe_receiver = $receiver.i1e();
564
579
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : split(tmp0_safe_receiver, ['.']);
565
- return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase($this, Companion_instance_1.w1r($receiver))) : tmp1_elvis_lhs;
580
+ return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase($this, Companion_instance_1.y1r($receiver))) : tmp1_elvis_lhs;
566
581
  }
567
582
  function kebabToCamelCase($this, $receiver) {
568
583
  // Inline function 'kotlin.text.toRegex' call
@@ -572,7 +587,7 @@
572
587
  return pattern.lc($receiver, transform);
573
588
  }
574
589
  function readConfigFileAsJsonElement($this) {
575
- var pwd = $this.c2p_1('PWD');
590
+ var pwd = $this.e2p_1('PWD');
576
591
  var tmp0_elvis_lhs = readFromFile('' + pwd + '/.tagger');
577
592
  var tmp;
578
593
  if (tmp0_elvis_lhs == null) {
@@ -584,19 +599,19 @@
584
599
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
585
600
  var this_0 = Default_getInstance();
586
601
  // Inline function 'kotlinx.serialization.serializer' call
587
- var this_1 = this_0.as();
602
+ var this_1 = this_0.bs();
588
603
  // Inline function 'kotlinx.serialization.internal.cast' call
589
604
  var this_2 = serializer(this_1, createKType(getKClass(TaggerConfig), arrayOf([]), false));
590
605
  var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
591
- var config = this_0.p2a(tmp$ret$1, fileContents);
606
+ var config = this_0.r2a(tmp$ret$1, fileContents);
592
607
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
593
608
  var this_3 = Default_getInstance();
594
609
  // Inline function 'kotlinx.serialization.serializer' call
595
- var this_4 = this_3.as();
610
+ var this_4 = this_3.bs();
596
611
  // Inline function 'kotlinx.serialization.internal.cast' call
597
612
  var this_5 = serializer(this_4, createKType(getKClass(TaggerConfig), arrayOf([]), false));
598
613
  var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
599
- var configAsElement = this_3.q2a(tmp$ret$4, config);
614
+ var configAsElement = this_3.s2a(tmp$ret$4, config);
600
615
  return configAsElement;
601
616
  }
602
617
  function ConfigFileSource$kebabToCamelCase$lambda(it) {
@@ -607,9 +622,9 @@
607
622
  return toString(this_0).toUpperCase();
608
623
  }
609
624
  function ConfigFileSource(envvarReader) {
610
- this.c2p_1 = envvarReader;
625
+ this.e2p_1 = envvarReader;
611
626
  }
612
- protoOf(ConfigFileSource).f1n = function (context, option) {
627
+ protoOf(ConfigFileSource).h1n = function (context, option) {
613
628
  var tmp0_elvis_lhs = readConfigFileAsJsonElement(this);
614
629
  var tmp;
615
630
  if (tmp0_elvis_lhs == null) {
@@ -622,11 +637,11 @@
622
637
  };
623
638
  function _get_file__d6iv67($this) {
624
639
  var tmp = KProperty1;
625
- return $this.s2p_1.t1m($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
640
+ return $this.u2p_1.v1m($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
626
641
  }
627
642
  function _get_merge__eb7eqv($this) {
628
643
  var tmp = KProperty1;
629
- return $this.t2p_1.t1m($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
644
+ return $this.v2p_1.v1m($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
630
645
  }
631
646
  function mergeJson($this, defaultConfig, originalData) {
632
647
  // Inline function 'kotlinx.serialization.json.buildJsonObject' call
@@ -649,9 +664,9 @@
649
664
  } else {
650
665
  tmp = value;
651
666
  }
652
- builder.f2d(key, tmp);
667
+ builder.h2d(key, tmp);
653
668
  }
654
- var mergeData = builder.z2b();
669
+ var mergeData = builder.b2c();
655
670
  return mergeData;
656
671
  }
657
672
  function GenerateSettingsFile$_get_file_$ref_3dvoj2() {
@@ -675,8 +690,8 @@
675
690
  };
676
691
  }
677
692
  function GenerateSettingsFile$run$lambda($this$Json) {
678
- $this$Json.l2b_1 = true;
679
- $this$Json.h2b_1 = true;
693
+ $this$Json.n2b_1 = true;
694
+ $this$Json.j2b_1 = true;
680
695
  return Unit_instance;
681
696
  }
682
697
  function GenerateSettingsFile() {
@@ -684,22 +699,22 @@
684
699
  var tmp = this;
685
700
  var tmp_0 = option(this, []);
686
701
  var tmp_1 = KProperty1;
687
- tmp.s2p_1 = tmp_0.d1n(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
702
+ tmp.u2p_1 = tmp_0.f1n(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
688
703
  var tmp_2 = this;
689
704
  var tmp_3 = boolean(option(this, []));
690
705
  var tmp_4 = KProperty1;
691
- tmp_2.t2p_1 = tmp_3.d1n(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
706
+ tmp_2.v2p_1 = tmp_3.f1n(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
692
707
  }
693
- protoOf(GenerateSettingsFile).s1d = function () {
708
+ protoOf(GenerateSettingsFile).u1d = function () {
694
709
  var prettyJsonFormatter = Json(VOID, GenerateSettingsFile$run$lambda);
695
710
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
696
711
  var value = get_runtimeDefaultConfig();
697
712
  // Inline function 'kotlinx.serialization.serializer' call
698
- var this_0 = prettyJsonFormatter.as();
713
+ var this_0 = prettyJsonFormatter.bs();
699
714
  // Inline function 'kotlinx.serialization.internal.cast' call
700
715
  var this_1 = serializer(this_0, createKType(getKClass(TaggerConfig), arrayOf([]), false));
701
716
  var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
702
- var defaultConfig = prettyJsonFormatter.q2a(tmp$ret$1, value);
717
+ var defaultConfig = prettyJsonFormatter.s2a(tmp$ret$1, value);
703
718
  // Inline function 'kotlin.text.orEmpty' call
704
719
  var tmp0_elvis_lhs = _get_file__d6iv67(this);
705
720
  // Inline function 'kotlin.text.ifBlank' call
@@ -711,14 +726,14 @@
711
726
  tmp = this_2;
712
727
  }
713
728
  var fileName = tmp;
714
- var pwd = this.n19().e1a_1('PWD');
729
+ var pwd = this.p19().g1a_1('PWD');
715
730
  var settingsFile = '' + pwd + '/' + fileName;
716
731
  var existingFileData = readFromFile(settingsFile);
717
732
  var tmp_0;
718
733
  if (!(existingFileData == null)) {
719
734
  var tmp_1;
720
735
  if (_get_merge__eb7eqv(this) === true) {
721
- var originalData = prettyJsonFormatter.r2a(existingFileData);
736
+ var originalData = prettyJsonFormatter.t2a(existingFileData);
722
737
  tmp_1 = mergeJson(this, defaultConfig, originalData);
723
738
  } else {
724
739
  throw new CliktError('File already exists.');
@@ -731,27 +746,27 @@
731
746
  if (_get_file__d6iv67(this) == null) {
732
747
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
733
748
  // Inline function 'kotlinx.serialization.serializer' call
734
- var this_3 = prettyJsonFormatter.as();
749
+ var this_3 = prettyJsonFormatter.bs();
735
750
  // Inline function 'kotlinx.serialization.internal.cast' call
736
751
  var this_4 = serializer(this_3, createKType(getKClass(JsonElement), arrayOf([]), false));
737
752
  var tmp$ret$7 = isInterface(this_4, KSerializer) ? this_4 : THROW_CCE();
738
- var tmp$ret$6 = prettyJsonFormatter.o2a(tmp$ret$7, outputConfig);
739
- this.f1c(tmp$ret$6);
753
+ var tmp$ret$6 = prettyJsonFormatter.q2a(tmp$ret$7, outputConfig);
754
+ this.h1c(tmp$ret$6);
740
755
  } else {
741
756
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
742
757
  // Inline function 'kotlinx.serialization.serializer' call
743
- var this_5 = prettyJsonFormatter.as();
758
+ var this_5 = prettyJsonFormatter.bs();
744
759
  // Inline function 'kotlinx.serialization.internal.cast' call
745
760
  var this_6 = serializer(this_5, createKType(getKClass(JsonElement), arrayOf([]), false));
746
761
  var tmp$ret$10 = isInterface(this_6, KSerializer) ? this_6 : THROW_CCE();
747
- var tmp$ret$9 = prettyJsonFormatter.o2a(tmp$ret$10, outputConfig);
762
+ var tmp$ret$9 = prettyJsonFormatter.q2a(tmp$ret$10, outputConfig);
748
763
  writeToFile(tmp$ret$9, settingsFile);
749
- this.f1c('Saved to ' + fileName);
764
+ this.h1c('Saved to ' + fileName);
750
765
  }
751
766
  };
752
767
  function Companion() {
753
768
  }
754
- protoOf(Companion).z2c = function () {
769
+ protoOf(Companion).b2d = function () {
755
770
  return $serializer_getInstance();
756
771
  };
757
772
  var Companion_instance_2;
@@ -761,59 +776,59 @@
761
776
  function $serializer() {
762
777
  $serializer_instance = this;
763
778
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.VersionSuccessResponse', this, 2);
764
- tmp0_serialDesc.uy('status', false);
765
- tmp0_serialDesc.uy('data', false);
766
- this.u2p_1 = tmp0_serialDesc;
767
- }
768
- protoOf($serializer).v2p = function (encoder, value) {
769
- var tmp0_desc = this.u2p_1;
770
- var tmp1_output = encoder.lr(tmp0_desc);
771
- tmp1_output.zs(tmp0_desc, 0, value.w2p_1);
772
- tmp1_output.bt(tmp0_desc, 1, $serializer_getInstance_0(), value.x2p_1);
773
- tmp1_output.mr(tmp0_desc);
779
+ tmp0_serialDesc.vy('status', false);
780
+ tmp0_serialDesc.vy('data', false);
781
+ this.w2p_1 = tmp0_serialDesc;
782
+ }
783
+ protoOf($serializer).x2p = function (encoder, value) {
784
+ var tmp0_desc = this.w2p_1;
785
+ var tmp1_output = encoder.mr(tmp0_desc);
786
+ tmp1_output.at(tmp0_desc, 0, value.y2p_1);
787
+ tmp1_output.ct(tmp0_desc, 1, $serializer_getInstance_0(), value.z2p_1);
788
+ tmp1_output.nr(tmp0_desc);
774
789
  };
775
- protoOf($serializer).po = function (encoder, value) {
776
- return this.v2p(encoder, value instanceof VersionSuccessResponse ? value : THROW_CCE());
790
+ protoOf($serializer).qo = function (encoder, value) {
791
+ return this.x2p(encoder, value instanceof VersionSuccessResponse ? value : THROW_CCE());
777
792
  };
778
- protoOf($serializer).qo = function (decoder) {
779
- var tmp0_desc = this.u2p_1;
793
+ protoOf($serializer).ro = function (decoder) {
794
+ var tmp0_desc = this.w2p_1;
780
795
  var tmp1_flag = true;
781
796
  var tmp2_index = 0;
782
797
  var tmp3_bitMask0 = 0;
783
798
  var tmp4_local0 = null;
784
799
  var tmp5_local1 = null;
785
- var tmp6_input = decoder.lr(tmp0_desc);
786
- if (tmp6_input.bs()) {
787
- tmp4_local0 = tmp6_input.vr(tmp0_desc, 0);
800
+ var tmp6_input = decoder.mr(tmp0_desc);
801
+ if (tmp6_input.cs()) {
802
+ tmp4_local0 = tmp6_input.wr(tmp0_desc, 0);
788
803
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
789
- tmp5_local1 = tmp6_input.xr(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
804
+ tmp5_local1 = tmp6_input.yr(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
790
805
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
791
806
  } else
792
807
  while (tmp1_flag) {
793
- tmp2_index = tmp6_input.cs(tmp0_desc);
808
+ tmp2_index = tmp6_input.ds(tmp0_desc);
794
809
  switch (tmp2_index) {
795
810
  case -1:
796
811
  tmp1_flag = false;
797
812
  break;
798
813
  case 0:
799
- tmp4_local0 = tmp6_input.vr(tmp0_desc, 0);
814
+ tmp4_local0 = tmp6_input.wr(tmp0_desc, 0);
800
815
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
801
816
  break;
802
817
  case 1:
803
- tmp5_local1 = tmp6_input.xr(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
818
+ tmp5_local1 = tmp6_input.yr(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
804
819
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
805
820
  break;
806
821
  default:
807
822
  throw UnknownFieldException_init_$Create$(tmp2_index);
808
823
  }
809
824
  }
810
- tmp6_input.mr(tmp0_desc);
825
+ tmp6_input.nr(tmp0_desc);
811
826
  return VersionSuccessResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
812
827
  };
813
- protoOf($serializer).oo = function () {
814
- return this.u2p_1;
828
+ protoOf($serializer).po = function () {
829
+ return this.w2p_1;
815
830
  };
816
- protoOf($serializer).wy = function () {
831
+ protoOf($serializer).xy = function () {
817
832
  // Inline function 'kotlin.arrayOf' call
818
833
  // Inline function 'kotlin.js.unsafeCast' call
819
834
  // Inline function 'kotlin.js.asDynamic' call
@@ -827,25 +842,25 @@
827
842
  }
828
843
  function VersionSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, $this) {
829
844
  if (!(3 === (3 & seen0))) {
830
- throwMissingFieldException(seen0, 3, $serializer_getInstance().u2p_1);
845
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().w2p_1);
831
846
  }
832
- $this.w2p_1 = status;
833
- $this.x2p_1 = data;
847
+ $this.y2p_1 = status;
848
+ $this.z2p_1 = data;
834
849
  return $this;
835
850
  }
836
851
  function VersionSuccessResponse_init_$Create$(seen0, status, data, serializationConstructorMarker) {
837
852
  return VersionSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, objectCreate(protoOf(VersionSuccessResponse)));
838
853
  }
839
854
  function VersionSuccessResponse(status, data) {
840
- this.w2p_1 = status;
841
- this.x2p_1 = data;
855
+ this.y2p_1 = status;
856
+ this.z2p_1 = data;
842
857
  }
843
858
  protoOf(VersionSuccessResponse).toString = function () {
844
- return 'VersionSuccessResponse(status=' + this.w2p_1 + ', data=' + this.x2p_1.toString() + ')';
859
+ return 'VersionSuccessResponse(status=' + this.y2p_1 + ', data=' + this.z2p_1.toString() + ')';
845
860
  };
846
861
  protoOf(VersionSuccessResponse).hashCode = function () {
847
- var result = getStringHashCode(this.w2p_1);
848
- result = imul(result, 31) + this.x2p_1.hashCode() | 0;
862
+ var result = getStringHashCode(this.y2p_1);
863
+ result = imul(result, 31) + this.z2p_1.hashCode() | 0;
849
864
  return result;
850
865
  };
851
866
  protoOf(VersionSuccessResponse).equals = function (other) {
@@ -853,23 +868,28 @@
853
868
  return true;
854
869
  if (!(other instanceof VersionSuccessResponse))
855
870
  return false;
856
- if (!(this.w2p_1 === other.w2p_1))
871
+ if (!(this.y2p_1 === other.y2p_1))
857
872
  return false;
858
- if (!this.x2p_1.equals(other.x2p_1))
873
+ if (!this.z2p_1.equals(other.z2p_1))
859
874
  return false;
860
875
  return true;
861
876
  };
862
877
  function VersionData$Companion$$childSerializers$_anonymous__gd9ivc() {
863
878
  return new ArrayListSerializer(StringSerializer_getInstance());
864
879
  }
880
+ function VersionData$Companion$$childSerializers$_anonymous__gd9ivc_0() {
881
+ return new ArrayListSerializer(StringSerializer_getInstance());
882
+ }
865
883
  function Companion_0() {
866
884
  Companion_instance_3 = this;
867
885
  var tmp = this;
868
886
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
887
+ var tmp_1 = lazy(tmp_0, VersionData$Companion$$childSerializers$_anonymous__gd9ivc);
888
+ var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
869
889
  // Inline function 'kotlin.arrayOf' call
870
890
  // Inline function 'kotlin.js.unsafeCast' call
871
891
  // Inline function 'kotlin.js.asDynamic' call
872
- tmp.y2p_1 = [null, null, lazy(tmp_0, VersionData$Companion$$childSerializers$_anonymous__gd9ivc)];
892
+ tmp.a2q_1 = [null, null, tmp_1, lazy(tmp_2, VersionData$Companion$$childSerializers$_anonymous__gd9ivc_0)];
873
893
  }
874
894
  var Companion_instance_3;
875
895
  function Companion_getInstance_0() {
@@ -879,78 +899,89 @@
879
899
  }
880
900
  function $serializer_0() {
881
901
  $serializer_instance_0 = this;
882
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.VersionData', this, 3);
883
- tmp0_serialDesc.uy('version', false);
884
- tmp0_serialDesc.uy('snapshot', false);
885
- tmp0_serialDesc.uy('snapshotReasons', true);
886
- this.z2p_1 = tmp0_serialDesc;
887
- }
888
- protoOf($serializer_0).a2q = function (encoder, value) {
889
- var tmp0_desc = this.z2p_1;
890
- var tmp1_output = encoder.lr(tmp0_desc);
891
- var tmp2_cached = Companion_getInstance_0().y2p_1;
892
- tmp1_output.zs(tmp0_desc, 0, value.b2q_1);
893
- tmp1_output.rs(tmp0_desc, 1, value.c2q_1);
894
- if (tmp1_output.ht(tmp0_desc, 2) ? true : !equals(value.d2q_1, emptyList())) {
895
- tmp1_output.bt(tmp0_desc, 2, tmp2_cached[2].m1(), value.d2q_1);
902
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.VersionData', this, 4);
903
+ tmp0_serialDesc.vy('version', false);
904
+ tmp0_serialDesc.vy('snapshot', false);
905
+ tmp0_serialDesc.vy('snapshotReasons', true);
906
+ tmp0_serialDesc.vy('warnings', true);
907
+ this.b2q_1 = tmp0_serialDesc;
908
+ }
909
+ protoOf($serializer_0).c2q = function (encoder, value) {
910
+ var tmp0_desc = this.b2q_1;
911
+ var tmp1_output = encoder.mr(tmp0_desc);
912
+ var tmp2_cached = Companion_getInstance_0().a2q_1;
913
+ tmp1_output.at(tmp0_desc, 0, value.d2q_1);
914
+ tmp1_output.ss(tmp0_desc, 1, value.e2q_1);
915
+ if (tmp1_output.it(tmp0_desc, 2) ? true : !equals(value.f2q_1, emptyList())) {
916
+ tmp1_output.ct(tmp0_desc, 2, tmp2_cached[2].m1(), value.f2q_1);
896
917
  }
897
- tmp1_output.mr(tmp0_desc);
918
+ if (tmp1_output.it(tmp0_desc, 3) ? true : !equals(value.g2q_1, emptyList())) {
919
+ tmp1_output.ct(tmp0_desc, 3, tmp2_cached[3].m1(), value.g2q_1);
920
+ }
921
+ tmp1_output.nr(tmp0_desc);
898
922
  };
899
- protoOf($serializer_0).po = function (encoder, value) {
900
- return this.a2q(encoder, value instanceof VersionData ? value : THROW_CCE());
923
+ protoOf($serializer_0).qo = function (encoder, value) {
924
+ return this.c2q(encoder, value instanceof VersionData ? value : THROW_CCE());
901
925
  };
902
- protoOf($serializer_0).qo = function (decoder) {
903
- var tmp0_desc = this.z2p_1;
926
+ protoOf($serializer_0).ro = function (decoder) {
927
+ var tmp0_desc = this.b2q_1;
904
928
  var tmp1_flag = true;
905
929
  var tmp2_index = 0;
906
930
  var tmp3_bitMask0 = 0;
907
931
  var tmp4_local0 = null;
908
932
  var tmp5_local1 = false;
909
933
  var tmp6_local2 = null;
910
- var tmp7_input = decoder.lr(tmp0_desc);
911
- var tmp8_cached = Companion_getInstance_0().y2p_1;
912
- if (tmp7_input.bs()) {
913
- tmp4_local0 = tmp7_input.vr(tmp0_desc, 0);
934
+ var tmp7_local3 = null;
935
+ var tmp8_input = decoder.mr(tmp0_desc);
936
+ var tmp9_cached = Companion_getInstance_0().a2q_1;
937
+ if (tmp8_input.cs()) {
938
+ tmp4_local0 = tmp8_input.wr(tmp0_desc, 0);
914
939
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
915
- tmp5_local1 = tmp7_input.nr(tmp0_desc, 1);
940
+ tmp5_local1 = tmp8_input.or(tmp0_desc, 1);
916
941
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
917
- tmp6_local2 = tmp7_input.xr(tmp0_desc, 2, tmp8_cached[2].m1(), tmp6_local2);
942
+ tmp6_local2 = tmp8_input.yr(tmp0_desc, 2, tmp9_cached[2].m1(), tmp6_local2);
918
943
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
944
+ tmp7_local3 = tmp8_input.yr(tmp0_desc, 3, tmp9_cached[3].m1(), tmp7_local3);
945
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
919
946
  } else
920
947
  while (tmp1_flag) {
921
- tmp2_index = tmp7_input.cs(tmp0_desc);
948
+ tmp2_index = tmp8_input.ds(tmp0_desc);
922
949
  switch (tmp2_index) {
923
950
  case -1:
924
951
  tmp1_flag = false;
925
952
  break;
926
953
  case 0:
927
- tmp4_local0 = tmp7_input.vr(tmp0_desc, 0);
954
+ tmp4_local0 = tmp8_input.wr(tmp0_desc, 0);
928
955
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
929
956
  break;
930
957
  case 1:
931
- tmp5_local1 = tmp7_input.nr(tmp0_desc, 1);
958
+ tmp5_local1 = tmp8_input.or(tmp0_desc, 1);
932
959
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
933
960
  break;
934
961
  case 2:
935
- tmp6_local2 = tmp7_input.xr(tmp0_desc, 2, tmp8_cached[2].m1(), tmp6_local2);
962
+ tmp6_local2 = tmp8_input.yr(tmp0_desc, 2, tmp9_cached[2].m1(), tmp6_local2);
936
963
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
937
964
  break;
965
+ case 3:
966
+ tmp7_local3 = tmp8_input.yr(tmp0_desc, 3, tmp9_cached[3].m1(), tmp7_local3);
967
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
968
+ break;
938
969
  default:
939
970
  throw UnknownFieldException_init_$Create$(tmp2_index);
940
971
  }
941
972
  }
942
- tmp7_input.mr(tmp0_desc);
943
- return VersionData_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
973
+ tmp8_input.nr(tmp0_desc);
974
+ return VersionData_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
944
975
  };
945
- protoOf($serializer_0).oo = function () {
946
- return this.z2p_1;
976
+ protoOf($serializer_0).po = function () {
977
+ return this.b2q_1;
947
978
  };
948
- protoOf($serializer_0).wy = function () {
949
- var tmp0_cached = Companion_getInstance_0().y2p_1;
979
+ protoOf($serializer_0).xy = function () {
980
+ var tmp0_cached = Companion_getInstance_0().a2q_1;
950
981
  // Inline function 'kotlin.arrayOf' call
951
982
  // Inline function 'kotlin.js.unsafeCast' call
952
983
  // Inline function 'kotlin.js.asDynamic' call
953
- return [StringSerializer_getInstance(), BooleanSerializer_getInstance(), tmp0_cached[2].m1()];
984
+ return [StringSerializer_getInstance(), BooleanSerializer_getInstance(), tmp0_cached[2].m1(), tmp0_cached[3].m1()];
954
985
  };
955
986
  var $serializer_instance_0;
956
987
  function $serializer_getInstance_0() {
@@ -958,35 +989,42 @@
958
989
  new $serializer_0();
959
990
  return $serializer_instance_0;
960
991
  }
961
- function VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, serializationConstructorMarker, $this) {
992
+ function VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, warnings, serializationConstructorMarker, $this) {
962
993
  if (!(3 === (3 & seen0))) {
963
- throwMissingFieldException(seen0, 3, $serializer_getInstance_0().z2p_1);
994
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_0().b2q_1);
964
995
  }
965
- $this.b2q_1 = version;
966
- $this.c2q_1 = snapshot;
996
+ $this.d2q_1 = version;
997
+ $this.e2q_1 = snapshot;
967
998
  if (0 === (seen0 & 4))
968
- $this.d2q_1 = emptyList();
999
+ $this.f2q_1 = emptyList();
969
1000
  else
970
- $this.d2q_1 = snapshotReasons;
1001
+ $this.f2q_1 = snapshotReasons;
1002
+ if (0 === (seen0 & 8))
1003
+ $this.g2q_1 = emptyList();
1004
+ else
1005
+ $this.g2q_1 = warnings;
971
1006
  return $this;
972
1007
  }
973
- function VersionData_init_$Create$(seen0, version, snapshot, snapshotReasons, serializationConstructorMarker) {
974
- return VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, serializationConstructorMarker, objectCreate(protoOf(VersionData)));
1008
+ function VersionData_init_$Create$(seen0, version, snapshot, snapshotReasons, warnings, serializationConstructorMarker) {
1009
+ return VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, warnings, serializationConstructorMarker, objectCreate(protoOf(VersionData)));
975
1010
  }
976
- function VersionData(version, snapshot, snapshotReasons) {
1011
+ function VersionData(version, snapshot, snapshotReasons, warnings) {
977
1012
  Companion_getInstance_0();
978
1013
  snapshotReasons = snapshotReasons === VOID ? emptyList() : snapshotReasons;
979
- this.b2q_1 = version;
980
- this.c2q_1 = snapshot;
981
- this.d2q_1 = snapshotReasons;
1014
+ warnings = warnings === VOID ? emptyList() : warnings;
1015
+ this.d2q_1 = version;
1016
+ this.e2q_1 = snapshot;
1017
+ this.f2q_1 = snapshotReasons;
1018
+ this.g2q_1 = warnings;
982
1019
  }
983
1020
  protoOf(VersionData).toString = function () {
984
- return 'VersionData(version=' + this.b2q_1 + ', snapshot=' + this.c2q_1 + ', snapshotReasons=' + toString_0(this.d2q_1) + ')';
1021
+ return 'VersionData(version=' + this.d2q_1 + ', snapshot=' + this.e2q_1 + ', snapshotReasons=' + toString_0(this.f2q_1) + ', warnings=' + toString_0(this.g2q_1) + ')';
985
1022
  };
986
1023
  protoOf(VersionData).hashCode = function () {
987
- var result = getStringHashCode(this.b2q_1);
988
- result = imul(result, 31) + getBooleanHashCode(this.c2q_1) | 0;
989
- result = imul(result, 31) + hashCode(this.d2q_1) | 0;
1024
+ var result = getStringHashCode(this.d2q_1);
1025
+ result = imul(result, 31) + getBooleanHashCode(this.e2q_1) | 0;
1026
+ result = imul(result, 31) + hashCode(this.f2q_1) | 0;
1027
+ result = imul(result, 31) + hashCode(this.g2q_1) | 0;
990
1028
  return result;
991
1029
  };
992
1030
  protoOf(VersionData).equals = function (other) {
@@ -994,17 +1032,19 @@
994
1032
  return true;
995
1033
  if (!(other instanceof VersionData))
996
1034
  return false;
997
- if (!(this.b2q_1 === other.b2q_1))
1035
+ if (!(this.d2q_1 === other.d2q_1))
1036
+ return false;
1037
+ if (!(this.e2q_1 === other.e2q_1))
998
1038
  return false;
999
- if (!(this.c2q_1 === other.c2q_1))
1039
+ if (!equals(this.f2q_1, other.f2q_1))
1000
1040
  return false;
1001
- if (!equals(this.d2q_1, other.d2q_1))
1041
+ if (!equals(this.g2q_1, other.g2q_1))
1002
1042
  return false;
1003
1043
  return true;
1004
1044
  };
1005
1045
  function Companion_1() {
1006
1046
  }
1007
- protoOf(Companion_1).z2c = function () {
1047
+ protoOf(Companion_1).b2d = function () {
1008
1048
  return $serializer_getInstance_1();
1009
1049
  };
1010
1050
  var Companion_instance_4;
@@ -1014,68 +1054,68 @@
1014
1054
  function $serializer_1() {
1015
1055
  $serializer_instance_1 = this;
1016
1056
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.ErrorResponse', this, 3);
1017
- tmp0_serialDesc.uy('status', false);
1018
- tmp0_serialDesc.uy('error', false);
1019
- tmp0_serialDesc.uy('code', false);
1020
- this.e2q_1 = tmp0_serialDesc;
1021
- }
1022
- protoOf($serializer_1).f2q = function (encoder, value) {
1023
- var tmp0_desc = this.e2q_1;
1024
- var tmp1_output = encoder.lr(tmp0_desc);
1025
- tmp1_output.zs(tmp0_desc, 0, value.g2q_1);
1026
- tmp1_output.zs(tmp0_desc, 1, value.h2q_1);
1027
- tmp1_output.zs(tmp0_desc, 2, value.i2q_1);
1028
- tmp1_output.mr(tmp0_desc);
1057
+ tmp0_serialDesc.vy('status', false);
1058
+ tmp0_serialDesc.vy('error', false);
1059
+ tmp0_serialDesc.vy('code', false);
1060
+ this.h2q_1 = tmp0_serialDesc;
1061
+ }
1062
+ protoOf($serializer_1).i2q = function (encoder, value) {
1063
+ var tmp0_desc = this.h2q_1;
1064
+ var tmp1_output = encoder.mr(tmp0_desc);
1065
+ tmp1_output.at(tmp0_desc, 0, value.j2q_1);
1066
+ tmp1_output.at(tmp0_desc, 1, value.k2q_1);
1067
+ tmp1_output.at(tmp0_desc, 2, value.l2q_1);
1068
+ tmp1_output.nr(tmp0_desc);
1029
1069
  };
1030
- protoOf($serializer_1).po = function (encoder, value) {
1031
- return this.f2q(encoder, value instanceof ErrorResponse ? value : THROW_CCE());
1070
+ protoOf($serializer_1).qo = function (encoder, value) {
1071
+ return this.i2q(encoder, value instanceof ErrorResponse ? value : THROW_CCE());
1032
1072
  };
1033
- protoOf($serializer_1).qo = function (decoder) {
1034
- var tmp0_desc = this.e2q_1;
1073
+ protoOf($serializer_1).ro = function (decoder) {
1074
+ var tmp0_desc = this.h2q_1;
1035
1075
  var tmp1_flag = true;
1036
1076
  var tmp2_index = 0;
1037
1077
  var tmp3_bitMask0 = 0;
1038
1078
  var tmp4_local0 = null;
1039
1079
  var tmp5_local1 = null;
1040
1080
  var tmp6_local2 = null;
1041
- var tmp7_input = decoder.lr(tmp0_desc);
1042
- if (tmp7_input.bs()) {
1043
- tmp4_local0 = tmp7_input.vr(tmp0_desc, 0);
1081
+ var tmp7_input = decoder.mr(tmp0_desc);
1082
+ if (tmp7_input.cs()) {
1083
+ tmp4_local0 = tmp7_input.wr(tmp0_desc, 0);
1044
1084
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1045
- tmp5_local1 = tmp7_input.vr(tmp0_desc, 1);
1085
+ tmp5_local1 = tmp7_input.wr(tmp0_desc, 1);
1046
1086
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1047
- tmp6_local2 = tmp7_input.vr(tmp0_desc, 2);
1087
+ tmp6_local2 = tmp7_input.wr(tmp0_desc, 2);
1048
1088
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1049
1089
  } else
1050
1090
  while (tmp1_flag) {
1051
- tmp2_index = tmp7_input.cs(tmp0_desc);
1091
+ tmp2_index = tmp7_input.ds(tmp0_desc);
1052
1092
  switch (tmp2_index) {
1053
1093
  case -1:
1054
1094
  tmp1_flag = false;
1055
1095
  break;
1056
1096
  case 0:
1057
- tmp4_local0 = tmp7_input.vr(tmp0_desc, 0);
1097
+ tmp4_local0 = tmp7_input.wr(tmp0_desc, 0);
1058
1098
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1059
1099
  break;
1060
1100
  case 1:
1061
- tmp5_local1 = tmp7_input.vr(tmp0_desc, 1);
1101
+ tmp5_local1 = tmp7_input.wr(tmp0_desc, 1);
1062
1102
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1063
1103
  break;
1064
1104
  case 2:
1065
- tmp6_local2 = tmp7_input.vr(tmp0_desc, 2);
1105
+ tmp6_local2 = tmp7_input.wr(tmp0_desc, 2);
1066
1106
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1067
1107
  break;
1068
1108
  default:
1069
1109
  throw UnknownFieldException_init_$Create$(tmp2_index);
1070
1110
  }
1071
1111
  }
1072
- tmp7_input.mr(tmp0_desc);
1112
+ tmp7_input.nr(tmp0_desc);
1073
1113
  return ErrorResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1074
1114
  };
1075
- protoOf($serializer_1).oo = function () {
1076
- return this.e2q_1;
1115
+ protoOf($serializer_1).po = function () {
1116
+ return this.h2q_1;
1077
1117
  };
1078
- protoOf($serializer_1).wy = function () {
1118
+ protoOf($serializer_1).xy = function () {
1079
1119
  // Inline function 'kotlin.arrayOf' call
1080
1120
  // Inline function 'kotlin.js.unsafeCast' call
1081
1121
  // Inline function 'kotlin.js.asDynamic' call
@@ -1089,28 +1129,28 @@
1089
1129
  }
1090
1130
  function ErrorResponse_init_$Init$(seen0, status, error, code, serializationConstructorMarker, $this) {
1091
1131
  if (!(7 === (7 & seen0))) {
1092
- throwMissingFieldException(seen0, 7, $serializer_getInstance_1().e2q_1);
1132
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_1().h2q_1);
1093
1133
  }
1094
- $this.g2q_1 = status;
1095
- $this.h2q_1 = error;
1096
- $this.i2q_1 = code;
1134
+ $this.j2q_1 = status;
1135
+ $this.k2q_1 = error;
1136
+ $this.l2q_1 = code;
1097
1137
  return $this;
1098
1138
  }
1099
1139
  function ErrorResponse_init_$Create$(seen0, status, error, code, serializationConstructorMarker) {
1100
1140
  return ErrorResponse_init_$Init$(seen0, status, error, code, serializationConstructorMarker, objectCreate(protoOf(ErrorResponse)));
1101
1141
  }
1102
1142
  function ErrorResponse(status, error, code) {
1103
- this.g2q_1 = status;
1104
- this.h2q_1 = error;
1105
- this.i2q_1 = code;
1143
+ this.j2q_1 = status;
1144
+ this.k2q_1 = error;
1145
+ this.l2q_1 = code;
1106
1146
  }
1107
1147
  protoOf(ErrorResponse).toString = function () {
1108
- return 'ErrorResponse(status=' + this.g2q_1 + ', error=' + this.h2q_1 + ', code=' + this.i2q_1 + ')';
1148
+ return 'ErrorResponse(status=' + this.j2q_1 + ', error=' + this.k2q_1 + ', code=' + this.l2q_1 + ')';
1109
1149
  };
1110
1150
  protoOf(ErrorResponse).hashCode = function () {
1111
- var result = getStringHashCode(this.g2q_1);
1112
- result = imul(result, 31) + getStringHashCode(this.h2q_1) | 0;
1113
- result = imul(result, 31) + getStringHashCode(this.i2q_1) | 0;
1151
+ var result = getStringHashCode(this.j2q_1);
1152
+ result = imul(result, 31) + getStringHashCode(this.k2q_1) | 0;
1153
+ result = imul(result, 31) + getStringHashCode(this.l2q_1) | 0;
1114
1154
  return result;
1115
1155
  };
1116
1156
  protoOf(ErrorResponse).equals = function (other) {
@@ -1118,17 +1158,17 @@
1118
1158
  return true;
1119
1159
  if (!(other instanceof ErrorResponse))
1120
1160
  return false;
1121
- if (!(this.g2q_1 === other.g2q_1))
1161
+ if (!(this.j2q_1 === other.j2q_1))
1122
1162
  return false;
1123
- if (!(this.h2q_1 === other.h2q_1))
1163
+ if (!(this.k2q_1 === other.k2q_1))
1124
1164
  return false;
1125
- if (!(this.i2q_1 === other.i2q_1))
1165
+ if (!(this.l2q_1 === other.l2q_1))
1126
1166
  return false;
1127
1167
  return true;
1128
1168
  };
1129
1169
  function Companion_2() {
1130
1170
  }
1131
- protoOf(Companion_2).z2c = function () {
1171
+ protoOf(Companion_2).b2d = function () {
1132
1172
  return $serializer_getInstance_2();
1133
1173
  };
1134
1174
  var Companion_instance_5;
@@ -1138,59 +1178,59 @@
1138
1178
  function $serializer_2() {
1139
1179
  $serializer_instance_2 = this;
1140
1180
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.TagSuccessResponse', this, 2);
1141
- tmp0_serialDesc.uy('status', false);
1142
- tmp0_serialDesc.uy('data', false);
1143
- this.j2q_1 = tmp0_serialDesc;
1144
- }
1145
- protoOf($serializer_2).k2q = function (encoder, value) {
1146
- var tmp0_desc = this.j2q_1;
1147
- var tmp1_output = encoder.lr(tmp0_desc);
1148
- tmp1_output.zs(tmp0_desc, 0, value.l2q_1);
1149
- tmp1_output.bt(tmp0_desc, 1, $serializer_getInstance_3(), value.m2q_1);
1150
- tmp1_output.mr(tmp0_desc);
1181
+ tmp0_serialDesc.vy('status', false);
1182
+ tmp0_serialDesc.vy('data', false);
1183
+ this.m2q_1 = tmp0_serialDesc;
1184
+ }
1185
+ protoOf($serializer_2).n2q = function (encoder, value) {
1186
+ var tmp0_desc = this.m2q_1;
1187
+ var tmp1_output = encoder.mr(tmp0_desc);
1188
+ tmp1_output.at(tmp0_desc, 0, value.o2q_1);
1189
+ tmp1_output.ct(tmp0_desc, 1, $serializer_getInstance_3(), value.p2q_1);
1190
+ tmp1_output.nr(tmp0_desc);
1151
1191
  };
1152
- protoOf($serializer_2).po = function (encoder, value) {
1153
- return this.k2q(encoder, value instanceof TagSuccessResponse ? value : THROW_CCE());
1192
+ protoOf($serializer_2).qo = function (encoder, value) {
1193
+ return this.n2q(encoder, value instanceof TagSuccessResponse ? value : THROW_CCE());
1154
1194
  };
1155
- protoOf($serializer_2).qo = function (decoder) {
1156
- var tmp0_desc = this.j2q_1;
1195
+ protoOf($serializer_2).ro = function (decoder) {
1196
+ var tmp0_desc = this.m2q_1;
1157
1197
  var tmp1_flag = true;
1158
1198
  var tmp2_index = 0;
1159
1199
  var tmp3_bitMask0 = 0;
1160
1200
  var tmp4_local0 = null;
1161
1201
  var tmp5_local1 = null;
1162
- var tmp6_input = decoder.lr(tmp0_desc);
1163
- if (tmp6_input.bs()) {
1164
- tmp4_local0 = tmp6_input.vr(tmp0_desc, 0);
1202
+ var tmp6_input = decoder.mr(tmp0_desc);
1203
+ if (tmp6_input.cs()) {
1204
+ tmp4_local0 = tmp6_input.wr(tmp0_desc, 0);
1165
1205
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1166
- tmp5_local1 = tmp6_input.xr(tmp0_desc, 1, $serializer_getInstance_3(), tmp5_local1);
1206
+ tmp5_local1 = tmp6_input.yr(tmp0_desc, 1, $serializer_getInstance_3(), tmp5_local1);
1167
1207
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1168
1208
  } else
1169
1209
  while (tmp1_flag) {
1170
- tmp2_index = tmp6_input.cs(tmp0_desc);
1210
+ tmp2_index = tmp6_input.ds(tmp0_desc);
1171
1211
  switch (tmp2_index) {
1172
1212
  case -1:
1173
1213
  tmp1_flag = false;
1174
1214
  break;
1175
1215
  case 0:
1176
- tmp4_local0 = tmp6_input.vr(tmp0_desc, 0);
1216
+ tmp4_local0 = tmp6_input.wr(tmp0_desc, 0);
1177
1217
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1178
1218
  break;
1179
1219
  case 1:
1180
- tmp5_local1 = tmp6_input.xr(tmp0_desc, 1, $serializer_getInstance_3(), tmp5_local1);
1220
+ tmp5_local1 = tmp6_input.yr(tmp0_desc, 1, $serializer_getInstance_3(), tmp5_local1);
1181
1221
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1182
1222
  break;
1183
1223
  default:
1184
1224
  throw UnknownFieldException_init_$Create$(tmp2_index);
1185
1225
  }
1186
1226
  }
1187
- tmp6_input.mr(tmp0_desc);
1227
+ tmp6_input.nr(tmp0_desc);
1188
1228
  return TagSuccessResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1189
1229
  };
1190
- protoOf($serializer_2).oo = function () {
1191
- return this.j2q_1;
1230
+ protoOf($serializer_2).po = function () {
1231
+ return this.m2q_1;
1192
1232
  };
1193
- protoOf($serializer_2).wy = function () {
1233
+ protoOf($serializer_2).xy = function () {
1194
1234
  // Inline function 'kotlin.arrayOf' call
1195
1235
  // Inline function 'kotlin.js.unsafeCast' call
1196
1236
  // Inline function 'kotlin.js.asDynamic' call
@@ -1204,25 +1244,25 @@
1204
1244
  }
1205
1245
  function TagSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, $this) {
1206
1246
  if (!(3 === (3 & seen0))) {
1207
- throwMissingFieldException(seen0, 3, $serializer_getInstance_2().j2q_1);
1247
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_2().m2q_1);
1208
1248
  }
1209
- $this.l2q_1 = status;
1210
- $this.m2q_1 = data;
1249
+ $this.o2q_1 = status;
1250
+ $this.p2q_1 = data;
1211
1251
  return $this;
1212
1252
  }
1213
1253
  function TagSuccessResponse_init_$Create$(seen0, status, data, serializationConstructorMarker) {
1214
1254
  return TagSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, objectCreate(protoOf(TagSuccessResponse)));
1215
1255
  }
1216
1256
  function TagSuccessResponse(status, data) {
1217
- this.l2q_1 = status;
1218
- this.m2q_1 = data;
1257
+ this.o2q_1 = status;
1258
+ this.p2q_1 = data;
1219
1259
  }
1220
1260
  protoOf(TagSuccessResponse).toString = function () {
1221
- return 'TagSuccessResponse(status=' + this.l2q_1 + ', data=' + this.m2q_1.toString() + ')';
1261
+ return 'TagSuccessResponse(status=' + this.o2q_1 + ', data=' + this.p2q_1.toString() + ')';
1222
1262
  };
1223
1263
  protoOf(TagSuccessResponse).hashCode = function () {
1224
- var result = getStringHashCode(this.l2q_1);
1225
- result = imul(result, 31) + this.m2q_1.hashCode() | 0;
1264
+ var result = getStringHashCode(this.o2q_1);
1265
+ result = imul(result, 31) + this.p2q_1.hashCode() | 0;
1226
1266
  return result;
1227
1267
  };
1228
1268
  protoOf(TagSuccessResponse).equals = function (other) {
@@ -1230,9 +1270,9 @@
1230
1270
  return true;
1231
1271
  if (!(other instanceof TagSuccessResponse))
1232
1272
  return false;
1233
- if (!(this.l2q_1 === other.l2q_1))
1273
+ if (!(this.o2q_1 === other.o2q_1))
1234
1274
  return false;
1235
- if (!this.m2q_1.equals(other.m2q_1))
1275
+ if (!this.p2q_1.equals(other.p2q_1))
1236
1276
  return false;
1237
1277
  return true;
1238
1278
  };
@@ -1245,50 +1285,50 @@
1245
1285
  function $serializer_3() {
1246
1286
  $serializer_instance_3 = this;
1247
1287
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.TagData', this, 1);
1248
- tmp0_serialDesc.uy('tag', false);
1249
- this.n2q_1 = tmp0_serialDesc;
1250
- }
1251
- protoOf($serializer_3).o2q = function (encoder, value) {
1252
- var tmp0_desc = this.n2q_1;
1253
- var tmp1_output = encoder.lr(tmp0_desc);
1254
- tmp1_output.zs(tmp0_desc, 0, value.p2q_1);
1255
- tmp1_output.mr(tmp0_desc);
1288
+ tmp0_serialDesc.vy('tag', false);
1289
+ this.q2q_1 = tmp0_serialDesc;
1290
+ }
1291
+ protoOf($serializer_3).r2q = function (encoder, value) {
1292
+ var tmp0_desc = this.q2q_1;
1293
+ var tmp1_output = encoder.mr(tmp0_desc);
1294
+ tmp1_output.at(tmp0_desc, 0, value.s2q_1);
1295
+ tmp1_output.nr(tmp0_desc);
1256
1296
  };
1257
- protoOf($serializer_3).po = function (encoder, value) {
1258
- return this.o2q(encoder, value instanceof TagData ? value : THROW_CCE());
1297
+ protoOf($serializer_3).qo = function (encoder, value) {
1298
+ return this.r2q(encoder, value instanceof TagData ? value : THROW_CCE());
1259
1299
  };
1260
- protoOf($serializer_3).qo = function (decoder) {
1261
- var tmp0_desc = this.n2q_1;
1300
+ protoOf($serializer_3).ro = function (decoder) {
1301
+ var tmp0_desc = this.q2q_1;
1262
1302
  var tmp1_flag = true;
1263
1303
  var tmp2_index = 0;
1264
1304
  var tmp3_bitMask0 = 0;
1265
1305
  var tmp4_local0 = null;
1266
- var tmp5_input = decoder.lr(tmp0_desc);
1267
- if (tmp5_input.bs()) {
1268
- tmp4_local0 = tmp5_input.vr(tmp0_desc, 0);
1306
+ var tmp5_input = decoder.mr(tmp0_desc);
1307
+ if (tmp5_input.cs()) {
1308
+ tmp4_local0 = tmp5_input.wr(tmp0_desc, 0);
1269
1309
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1270
1310
  } else
1271
1311
  while (tmp1_flag) {
1272
- tmp2_index = tmp5_input.cs(tmp0_desc);
1312
+ tmp2_index = tmp5_input.ds(tmp0_desc);
1273
1313
  switch (tmp2_index) {
1274
1314
  case -1:
1275
1315
  tmp1_flag = false;
1276
1316
  break;
1277
1317
  case 0:
1278
- tmp4_local0 = tmp5_input.vr(tmp0_desc, 0);
1318
+ tmp4_local0 = tmp5_input.wr(tmp0_desc, 0);
1279
1319
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1280
1320
  break;
1281
1321
  default:
1282
1322
  throw UnknownFieldException_init_$Create$(tmp2_index);
1283
1323
  }
1284
1324
  }
1285
- tmp5_input.mr(tmp0_desc);
1325
+ tmp5_input.nr(tmp0_desc);
1286
1326
  return TagData_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
1287
1327
  };
1288
- protoOf($serializer_3).oo = function () {
1289
- return this.n2q_1;
1328
+ protoOf($serializer_3).po = function () {
1329
+ return this.q2q_1;
1290
1330
  };
1291
- protoOf($serializer_3).wy = function () {
1331
+ protoOf($serializer_3).xy = function () {
1292
1332
  // Inline function 'kotlin.arrayOf' call
1293
1333
  // Inline function 'kotlin.js.unsafeCast' call
1294
1334
  // Inline function 'kotlin.js.asDynamic' call
@@ -1302,40 +1342,40 @@
1302
1342
  }
1303
1343
  function TagData_init_$Init$(seen0, tag, serializationConstructorMarker, $this) {
1304
1344
  if (!(1 === (1 & seen0))) {
1305
- throwMissingFieldException(seen0, 1, $serializer_getInstance_3().n2q_1);
1345
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_3().q2q_1);
1306
1346
  }
1307
- $this.p2q_1 = tag;
1347
+ $this.s2q_1 = tag;
1308
1348
  return $this;
1309
1349
  }
1310
1350
  function TagData_init_$Create$(seen0, tag, serializationConstructorMarker) {
1311
1351
  return TagData_init_$Init$(seen0, tag, serializationConstructorMarker, objectCreate(protoOf(TagData)));
1312
1352
  }
1313
1353
  function TagData(tag) {
1314
- this.p2q_1 = tag;
1354
+ this.s2q_1 = tag;
1315
1355
  }
1316
1356
  protoOf(TagData).toString = function () {
1317
- return 'TagData(tag=' + this.p2q_1 + ')';
1357
+ return 'TagData(tag=' + this.s2q_1 + ')';
1318
1358
  };
1319
1359
  protoOf(TagData).hashCode = function () {
1320
- return getStringHashCode(this.p2q_1);
1360
+ return getStringHashCode(this.s2q_1);
1321
1361
  };
1322
1362
  protoOf(TagData).equals = function (other) {
1323
1363
  if (this === other)
1324
1364
  return true;
1325
1365
  if (!(other instanceof TagData))
1326
1366
  return false;
1327
- if (!(this.p2q_1 === other.p2q_1))
1367
+ if (!(this.s2q_1 === other.s2q_1))
1328
1368
  return false;
1329
1369
  return true;
1330
1370
  };
1331
1371
  function versionSuccessResponse(data) {
1332
- return Default_getInstance().o2a(Companion_instance_2.z2c(), new VersionSuccessResponse('success', data));
1372
+ return Default_getInstance().q2a(Companion_instance_2.b2d(), new VersionSuccessResponse('success', data));
1333
1373
  }
1334
1374
  function tagSuccessResponse(data) {
1335
- return Default_getInstance().o2a(Companion_instance_5.z2c(), new TagSuccessResponse('success', data));
1375
+ return Default_getInstance().q2a(Companion_instance_5.b2d(), new TagSuccessResponse('success', data));
1336
1376
  }
1337
1377
  function errorResponse(message, code) {
1338
- return Default_getInstance().o2a(Companion_instance_4.z2c(), new ErrorResponse('error', message, code));
1378
+ return Default_getInstance().q2a(Companion_instance_4.b2d(), new ErrorResponse('error', message, code));
1339
1379
  }
1340
1380
  function main_0(args) {
1341
1381
  return main(cli(), platformArgCorrection(args));
@@ -1348,11 +1388,11 @@
1348
1388
  }
1349
1389
  function _get_gitRepoArgument__zxde8_0($this) {
1350
1390
  var tmp = KProperty1;
1351
- return $this.f2r_1.t1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
1391
+ return $this.i2r_1.v1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
1352
1392
  }
1353
1393
  function _get_gitRepoOption__rk7ta0_0($this) {
1354
1394
  var tmp = KProperty1;
1355
- return $this.g2r_1.t1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
1395
+ return $this.j2r_1.v1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
1356
1396
  }
1357
1397
  function _get_workingDirectory__eyfbj_0($this) {
1358
1398
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8_0($this);
@@ -1367,38 +1407,38 @@
1367
1407
  }
1368
1408
  function _get_releaseBranch__pqrgbs_0($this) {
1369
1409
  var tmp = KProperty1;
1370
- return $this.h2r_1.t1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
1410
+ return $this.k2r_1.v1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
1371
1411
  }
1372
1412
  function _get_version__2bx7w9($this) {
1373
1413
  var tmp = KProperty1;
1374
- return $this.i2r_1.t1m($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
1414
+ return $this.l2r_1.v1m($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
1375
1415
  }
1376
1416
  function _get_userName__tupjmd($this) {
1377
1417
  var tmp = KProperty1;
1378
- return $this.j2r_1.t1m($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
1418
+ return $this.m2r_1.v1m($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
1379
1419
  }
1380
1420
  function _get_userEmail__21hfkw($this) {
1381
1421
  var tmp = KProperty1;
1382
- return $this.k2r_1.t1m($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
1422
+ return $this.n2r_1.v1m($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
1383
1423
  }
1384
1424
  function _get_allowDetachedHead__iyebhm_0($this) {
1385
1425
  var tmp = KProperty1;
1386
- return $this.l2r_1.t1m($this, getPropertyCallableRef('allowDetachedHead', 1, tmp, Tag$_get_allowDetachedHead_$ref_qujqxn_0(), null));
1426
+ return $this.o2r_1.v1m($this, getPropertyCallableRef('allowDetachedHead', 1, tmp, Tag$_get_allowDetachedHead_$ref_qujqxn_0(), null));
1387
1427
  }
1388
1428
  function _get_dryRun__18z7px($this) {
1389
1429
  var tmp = KProperty1;
1390
- return $this.m2r_1.t1m($this, getPropertyCallableRef('dryRun', 1, tmp, Tag$_get_dryRun_$ref_agy9vo_0(), null));
1430
+ return $this.p2r_1.v1m($this, getPropertyCallableRef('dryRun', 1, tmp, Tag$_get_dryRun_$ref_agy9vo_0(), null));
1391
1431
  }
1392
1432
  function _get_warningsAsErrors__7mpwfd($this) {
1393
1433
  var tmp = KProperty1;
1394
- return $this.n2r_1.t1m($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
1434
+ return $this.q2r_1.v1m($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
1395
1435
  }
1396
1436
  function _get_format__qlarck_0($this) {
1397
1437
  var tmp = KProperty1;
1398
- return $this.o2r_1.t1m($this, getPropertyCallableRef('format', 1, tmp, Tag$_get_format_$ref_i96vgt_0(), null));
1438
+ return $this.r2r_1.v1m($this, getPropertyCallableRef('format', 1, tmp, Tag$_get_format_$ref_i96vgt_0(), null));
1399
1439
  }
1400
1440
  function Tag$lambda($this$context) {
1401
- $this$context.z1c([new ConfigFileSource($this$context.v1c_1)]);
1441
+ $this$context.b1d([new ConfigFileSource($this$context.x1c_1)]);
1402
1442
  return Unit_instance;
1403
1443
  }
1404
1444
  function Tag$_get_gitRepoArgument_$ref_dketaj() {
@@ -1507,39 +1547,39 @@
1507
1547
  var tmp = this;
1508
1548
  var tmp_0 = optional(argument(this, 'git-repo'));
1509
1549
  var tmp_1 = KProperty1;
1510
- tmp.f2r_1 = tmp_0.z1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
1550
+ tmp.i2r_1 = tmp_0.b1m(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
1511
1551
  var tmp_2 = this;
1512
1552
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
1513
1553
  var tmp_4 = KProperty1;
1514
- tmp_2.g2r_1 = tmp_3.d1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
1554
+ tmp_2.j2r_1 = tmp_3.f1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
1515
1555
  var tmp_5 = this;
1516
1556
  var tmp_6 = required(option(this, []));
1517
1557
  var tmp_7 = KProperty1;
1518
- tmp_5.h2r_1 = tmp_6.d1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
1558
+ tmp_5.k2r_1 = tmp_6.f1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
1519
1559
  var tmp_8 = this;
1520
1560
  var tmp_9 = required(option(this, ['--version'], 'Version to tag (required)'));
1521
1561
  var tmp_10 = KProperty1;
1522
- tmp_8.i2r_1 = tmp_9.d1n(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
1562
+ tmp_8.l2r_1 = tmp_9.f1n(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
1523
1563
  var tmp_11 = this;
1524
1564
  var tmp_12 = option(this, []);
1525
1565
  var tmp_13 = KProperty1;
1526
- tmp_11.j2r_1 = tmp_12.d1n(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
1566
+ tmp_11.m2r_1 = tmp_12.f1n(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
1527
1567
  var tmp_14 = this;
1528
1568
  var tmp_15 = option(this, []);
1529
1569
  var tmp_16 = KProperty1;
1530
- tmp_14.k2r_1 = tmp_15.d1n(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
1570
+ tmp_14.n2r_1 = tmp_15.f1n(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
1531
1571
  var tmp_17 = this;
1532
1572
  var tmp_18 = default_0(boolean(option(this, ['--allow-detached-head'])), false);
1533
1573
  var tmp_19 = KProperty1;
1534
- tmp_17.l2r_1 = tmp_18.d1n(this, getPropertyCallableRef('allowDetachedHead', 1, tmp_19, Tag$_get_allowDetachedHead_$ref_qujqxn(), null));
1574
+ tmp_17.o2r_1 = tmp_18.f1n(this, getPropertyCallableRef('allowDetachedHead', 1, tmp_19, Tag$_get_allowDetachedHead_$ref_qujqxn(), null));
1535
1575
  var tmp_20 = this;
1536
1576
  var tmp_21 = default_0(boolean(option(this, ['--dry-run'])), false);
1537
1577
  var tmp_22 = KProperty1;
1538
- tmp_20.m2r_1 = tmp_21.d1n(this, getPropertyCallableRef('dryRun', 1, tmp_22, Tag$_get_dryRun_$ref_agy9vo(), null));
1578
+ tmp_20.p2r_1 = tmp_21.f1n(this, getPropertyCallableRef('dryRun', 1, tmp_22, Tag$_get_dryRun_$ref_agy9vo(), null));
1539
1579
  var tmp_23 = this;
1540
1580
  var tmp_24 = default_0(boolean(option(this, [])), false);
1541
1581
  var tmp_25 = KProperty1;
1542
- tmp_23.n2r_1 = tmp_24.d1n(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_25, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
1582
+ tmp_23.q2r_1 = tmp_24.f1n(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_25, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
1543
1583
  var tmp_26 = this;
1544
1584
  // Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
1545
1585
  var this_0 = option(this, ['--format'], 'Output format: text (default) or json');
@@ -1562,26 +1602,26 @@
1562
1602
  var tmp$ret$0 = choice(this_0, destination, VOID, true);
1563
1603
  var tmp_27 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
1564
1604
  var tmp_28 = KProperty1;
1565
- tmp_26.o2r_1 = tmp_27.d1n(this, getPropertyCallableRef('format', 1, tmp_28, Tag$_get_format_$ref_i96vgt(), null));
1605
+ tmp_26.r2r_1 = tmp_27.f1n(this, getPropertyCallableRef('format', 1, tmp_28, Tag$_get_format_$ref_i96vgt(), null));
1566
1606
  }
1567
- protoOf(Tag).s1d = function () {
1607
+ protoOf(Tag).u1d = function () {
1568
1608
  var gitAdapter = new GitAdapter(_get_workingDirectory__eyfbj_0(this));
1569
1609
  if (_get_dryRun__18z7px(this)) {
1570
1610
  var headCommit = gitAdapter.kl();
1571
1611
  var headBranch = gitAdapter.ql().vl_1;
1572
- this.f1c("Would create annotated tag '" + _get_version__2bx7w9(this) + "' at " + headCommit + " on branch '" + headBranch + "'.");
1573
- this.f1c("Would push to remote 'origin'.");
1574
- this.f1c('(no changes made)');
1612
+ this.h1c("Would create annotated tag '" + _get_version__2bx7w9(this) + "' at " + headCommit + " on branch '" + headBranch + "'.");
1613
+ this.h1c("Would push to remote 'origin'.");
1614
+ this.h1c('(no changes made)');
1575
1615
  } else {
1576
1616
  // Inline function 'kotlin.let' call
1577
1617
  var it = tag(new TaggerCore(gitAdapter), _get_version__2bx7w9(this), _get_releaseBranch__pqrgbs_0(this), _get_userName__tupjmd(this), _get_userEmail__21hfkw(this), _get_allowDetachedHead__iyebhm_0(this));
1578
1618
  if (equals(it, Success_getInstance())) {
1579
1619
  switch (_get_format__qlarck_0(this).y2_1) {
1580
1620
  case 1:
1581
- this.f1c(tagSuccessResponse(new TagData(_get_version__2bx7w9(this))));
1621
+ this.h1c(tagSuccessResponse(new TagData(_get_version__2bx7w9(this))));
1582
1622
  break;
1583
1623
  case 0:
1584
- this.f1c('Success!');
1624
+ this.h1c('Success!');
1585
1625
  break;
1586
1626
  default:
1587
1627
  noWhenBranchMatchedException();
@@ -1591,14 +1631,14 @@
1591
1631
  if (it instanceof Error_0) {
1592
1632
  switch (_get_format__qlarck_0(this).y2_1) {
1593
1633
  case 1:
1594
- this.f1c(errorResponse(it.do_1, 'TAG_ERROR'));
1634
+ this.h1c(errorResponse(it.do_1, 'TAG_ERROR'));
1595
1635
  var tmp3_statusCode = _get_warningsAsErrors__7mpwfd(this) ? 1 : 0;
1596
1636
  throw new CliktError('', VOID, tmp3_statusCode, false);
1597
1637
  case 0:
1598
1638
  if (_get_warningsAsErrors__7mpwfd(this)) {
1599
1639
  throw new CliktError(it.do_1);
1600
1640
  } else {
1601
- this.f1c(it.do_1, VOID, true);
1641
+ this.h1c(it.do_1, VOID, true);
1602
1642
  }
1603
1643
 
1604
1644
  break;
@@ -1614,12 +1654,12 @@
1614
1654
  };
1615
1655
  function _get_quiet__c6dzoj($this) {
1616
1656
  var tmp = KProperty1;
1617
- return $this.e2s_1.t1m($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
1657
+ return $this.h2s_1.v1m($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
1618
1658
  }
1619
1659
  function Tagger$lambda($version, $this) {
1620
1660
  return function ($this$eagerOption) {
1621
1661
  var it = $version;
1622
- var tmp$ret$0 = $this.y18_1 + ' version ' + it;
1662
+ var tmp$ret$0 = $this.a19_1 + ' version ' + it;
1623
1663
  throw new PrintMessage(tmp$ret$0);
1624
1664
  };
1625
1665
  }
@@ -1636,29 +1676,29 @@
1636
1676
  function Tagger() {
1637
1677
  CliktCommand.call(this);
1638
1678
  // Inline function 'com.github.ajalt.clikt.parameters.options.versionOption' call
1639
- var version = Versions_instance.z2n_1;
1679
+ var version = Versions_instance.b2o_1;
1640
1680
  var help = 'Show the version and exit';
1641
1681
  var names = setOf('--version');
1642
1682
  eagerOption(this, names, help, VOID, VOID, VOID, Tagger$lambda(version, this));
1643
1683
  var tmp = this;
1644
1684
  var tmp_0 = flag(option(this, ['--quiet', '-q'], 'Suppress welcome message. Version goes to stdout, diagnostics to stderr (safe for: VERSION=$(tagger -q ...))'), [], false);
1645
1685
  var tmp_1 = KProperty1;
1646
- tmp.e2s_1 = tmp_0.d1n(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
1686
+ tmp.h2s_1 = tmp_0.f1n(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
1647
1687
  }
1648
- protoOf(Tagger).x1a = function (context) {
1688
+ protoOf(Tagger).z1a = function (context) {
1649
1689
  return "Output:\n Text format writes version to stdout, diagnostics to stderr.\n Command substitution captures only stdout: VERSION=$(tagger -q calculate-version ...)\n\n -SNAPSHOT is appended when HEAD is not yet tagged with the calculated version.\n After 'tagger tag', subsequent calculate-version returns bare version.\n\n Snapshot reasons (on stderr) explain why -SNAPSHOT was added:\n DIRTY - uncommitted changes in working directory\n AHEAD - local branch ahead of remote\n BEHIND - local branch behind remote\n NOT_RELEASE_BRANCH - not on configured release branch\n NO_NEW_VERSION - no new commits since last tag\n FORCED - --force-snapshot=true was used";
1650
1690
  };
1651
- protoOf(Tagger).s1d = function () {
1652
- if (!_get_quiet__c6dzoj(this) && this.n19().a1d() == null) {
1653
- this.f1c('Welcome to Tagger CLI.');
1691
+ protoOf(Tagger).u1d = function () {
1692
+ if (!_get_quiet__c6dzoj(this) && this.p19().c1d() == null) {
1693
+ this.h1c('Welcome to Tagger CLI.');
1654
1694
  }
1655
1695
  };
1656
1696
  //region block: post-declaration
1657
- protoOf($serializer).xy = typeParametersSerializers;
1658
- protoOf($serializer_0).xy = typeParametersSerializers;
1659
- protoOf($serializer_1).xy = typeParametersSerializers;
1660
- protoOf($serializer_2).xy = typeParametersSerializers;
1661
- protoOf($serializer_3).xy = typeParametersSerializers;
1697
+ protoOf($serializer).yy = typeParametersSerializers;
1698
+ protoOf($serializer_0).yy = typeParametersSerializers;
1699
+ protoOf($serializer_1).yy = typeParametersSerializers;
1700
+ protoOf($serializer_2).yy = typeParametersSerializers;
1701
+ protoOf($serializer_3).yy = typeParametersSerializers;
1662
1702
  //endregion
1663
1703
  //region block: init
1664
1704
  Versions_instance = new Versions();