@continuous-excellence/coupling-cli 1.1.513 → 1.1.515

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +8 -8
  2. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +21 -21
  3. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
  4. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +6 -6
  5. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
  6. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +8 -8
  7. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
  8. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +4 -4
  9. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +13 -13
  10. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +22 -22
  11. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +11 -11
  12. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +16 -16
  13. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +2 -2
  14. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +150 -91
  15. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs.map +1 -1
  16. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +17 -17
  17. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
  18. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +14 -14
  19. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +2 -2
  20. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +51 -45
  21. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs.map +1 -1
  22. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +14 -14
  23. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +68 -50
  24. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs.map +1 -1
  25. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +16 -16
  26. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +224 -163
  27. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs.map +1 -1
  28. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +8 -4
  29. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs.map +1 -1
  30. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +116 -116
  31. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +32 -32
  32. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
  33. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +132 -132
  34. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +46 -46
  35. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +31 -31
  36. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +25 -25
  37. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
  38. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +12 -12
  39. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +5 -5
  40. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
  41. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +9 -9
  42. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +138 -138
  43. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +2 -16
  44. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs.map +1 -1
  45. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
  46. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
  47. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
  48. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +5 -5
  49. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +28 -28
  50. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +198 -198
  51. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +3 -3
  52. package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +15 -15
  53. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +7 -7
  54. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +64 -64
  55. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +16 -16
  56. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
  57. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +5 -5
  58. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
  59. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
  60. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
  61. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
  62. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +21 -21
  63. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
  64. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +114 -114
  65. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +126 -126
  66. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +57 -57
  67. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +16 -16
  68. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  69. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  70. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
  71. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
  72. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
  73. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
  74. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
  75. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +39 -39
  76. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +3 -3
  77. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
  78. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
  79. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +53 -53
  80. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
  81. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
  82. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +14 -14
  83. package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
  84. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
  85. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
  86. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
  87. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +21 -21
  88. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +54 -54
  89. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
  90. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
  91. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
  92. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -17
  93. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
  94. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +208 -208
  95. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
  96. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +122 -122
  97. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
  98. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
  99. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
  100. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
  101. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +53 -53
  102. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
  103. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +5 -5
  104. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
  105. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +13 -13
  106. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +8 -8
  107. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
  108. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
  109. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +53 -53
  110. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
  111. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +51 -51
  112. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
  113. package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +97 -97
  114. package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +28 -28
  115. package/package.json +1 -1
@@ -22,10 +22,7 @@ import {
22
22
  defaultValidator1sj61jsw6ozwy as defaultValidator,
23
23
  } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs';
24
24
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
25
- import {
26
- required1ljgj4a2kckgf as required,
27
- default2v6m45aspyoyr as default_0,
28
- } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs';
25
+ import { default2v6m45aspyoyr as default_0 } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs';
29
26
  import { selfAndAncestors2dend8wm8aud9 as selfAndAncestors } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/core/Context.mjs';
30
27
  import {
31
28
  mapNotNull3b8ce5hky4k2l as mapNotNull,
@@ -52,35 +49,35 @@ var imul = Math.imul;
52
49
  //endregion
53
50
  function _get_partyId__g79dgw($this) {
54
51
  var tmp = KProperty1();
55
- return $this.t74_1.zp($this, getPropertyCallableRef('partyId', 1, tmp, Party$_get_partyId_$ref_u36t3z_0(), null));
52
+ return $this.w74_1.zp($this, getPropertyCallableRef('partyId', 1, tmp, Party$_get_partyId_$ref_u36t3z_0(), null));
56
53
  }
57
54
  function _get_env__e67txg($this) {
58
55
  var tmp = KProperty1();
59
- return $this.u74_1.zp($this, getPropertyCallableRef('env', 1, tmp, Party$_get_env_$ref_90ho0l_0(), null));
56
+ return $this.x74_1.zp($this, getPropertyCallableRef('env', 1, tmp, Party$_get_env_$ref_90ho0l_0(), null));
60
57
  }
61
58
  function Party$lambda($this$context) {
62
59
  $this$context.q5w_1 = new (ConfigFileSource())($this$context.t5w_1);
63
60
  return Unit_instance;
64
61
  }
65
62
  function Party$partyId$delegate$lambda(_this__u8e3s4) {
66
- return _this__u8e3s4.a5u_1.e67();
63
+ return _this__u8e3s4.a5u_1.f67();
67
64
  }
68
65
  function Party$partyId$delegate$lambda_0($this) {
69
66
  return (_this__u8e3s4, it) => {
70
67
  var tmp;
71
68
  try {
72
- var it_0 = $this.y67()(_this__u8e3s4, it);
69
+ var it_0 = $this.z67()(_this__u8e3s4, it);
73
70
  tmp = PartyId(it_0);
74
71
  } catch ($p) {
75
72
  var tmp_0;
76
73
  if ($p instanceof UsageError()) {
77
74
  var err = $p;
78
75
  var tmp_1 = err;
79
- var tmp0_elvis_lhs = err.k5x_1;
76
+ var tmp0_elvis_lhs = err.l5x_1;
80
77
  var tmp_2;
81
78
  if (tmp0_elvis_lhs == null) {
82
79
  // Inline function 'kotlin.takeUnless' call
83
- var this_0 = _this__u8e3s4.d68_1;
80
+ var this_0 = _this__u8e3s4.e68_1;
84
81
  var tmp_3;
85
82
  // Inline function 'kotlin.text.isEmpty' call
86
83
  if (!(charSequenceLength(this_0) === 0)) {
@@ -93,13 +90,13 @@ function Party$partyId$delegate$lambda_0($this) {
93
90
  tmp_2 = tmp0_elvis_lhs;
94
91
  }
95
92
  var tmp1_elvis_lhs = tmp_2;
96
- tmp_1.k5x_1 = tmp1_elvis_lhs == null ? longestName(_this__u8e3s4.e68_1) : tmp1_elvis_lhs;
93
+ tmp_1.l5x_1 = tmp1_elvis_lhs == null ? longestName(_this__u8e3s4.f68_1) : tmp1_elvis_lhs;
97
94
  throw err;
98
95
  } else {
99
96
  if ($p instanceof Exception()) {
100
97
  var err_0 = $p;
101
98
  var tmp2_elvis_lhs = err_0.message;
102
- _this__u8e3s4.g68(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
99
+ _this__u8e3s4.h68(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
103
100
  } else {
104
101
  throw $p;
105
102
  }
@@ -148,47 +145,56 @@ function Party() {
148
145
  var tmp_0 = defaultEachProcessor();
149
146
  var tmp_1 = defaultAllProcessor();
150
147
  var tmp_2 = defaultValidator();
151
- var tmp0_elvis_lhs = this_0.q68();
148
+ var tmp0_elvis_lhs = this_0.r68();
152
149
  var tmp_3 = tmp0_elvis_lhs == null ? metavar : tmp0_elvis_lhs;
153
- var tmp1_elvis_lhs = this_0.p68();
154
- var tmp$ret$0 = this_0.b68(valueTransform, tmp_0, tmp_1, tmp_2, VOID, tmp_3, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
155
- var tmp_4 = required(tmp$ret$0);
150
+ var tmp1_elvis_lhs = this_0.q68();
151
+ var tmp_4 = this_0.c68(valueTransform, tmp_0, tmp_1, tmp_2, VOID, tmp_3, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
156
152
  var tmp_5 = KProperty1();
157
- tmp.t74_1 = tmp_4.i68(this, getPropertyCallableRef('partyId', 1, tmp_5, Party$_get_partyId_$ref_u36t3z(), null));
153
+ tmp.w74_1 = tmp_4.j68(this, getPropertyCallableRef('partyId', 1, tmp_5, Party$_get_partyId_$ref_u36t3z(), null));
158
154
  var tmp_6 = this;
159
155
  var tmp_7 = default_0(option(this, []), 'production');
160
156
  var tmp_8 = KProperty1();
161
- tmp_6.u74_1 = tmp_7.i68(this, getPropertyCallableRef('env', 1, tmp_8, Party$_get_env_$ref_90ho0l(), null));
157
+ tmp_6.x74_1 = tmp_7.j68(this, getPropertyCallableRef('env', 1, tmp_8, Party$_get_env_$ref_90ho0l(), null));
162
158
  }
163
159
  *g5i($completion) {
164
- // Inline function 'com.github.ajalt.clikt.core.Context.findOrSetObject' call
165
- var this_0 = this.a5t();
166
- // Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
167
- var tmp = selfAndAncestors(this_0);
168
- var tmp0_elvis_lhs = firstOrNull(mapNotNull(tmp, Party$run$lambda('partyId')));
169
- var tmp_0;
170
- if (tmp0_elvis_lhs == null) {
171
- // Inline function 'kotlin.also' call
172
- var this_1 = _get_partyId__g79dgw(this);
173
- // Inline function 'kotlin.collections.set' call
174
- this_0.c5u_1.q4('partyId', this_1);
175
- tmp_0 = this_1;
176
- } else {
177
- tmp_0 = tmp0_elvis_lhs;
160
+ var tmp0_safe_receiver = this.a5t().x5w();
161
+ var commandName = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z5r_1;
162
+ if (_get_partyId__g79dgw(this) == null && !(commandName === 'list')) {
163
+ throw UsageError().o5x('missing option --party-id');
164
+ }
165
+ var tmp1_safe_receiver = _get_partyId__g79dgw(this);
166
+ if (tmp1_safe_receiver == null)
167
+ null;
168
+ else {
169
+ // Inline function 'kotlin.let' call
170
+ // Inline function 'com.github.ajalt.clikt.core.Context.findOrSetObject' call
171
+ var this_0 = this.a5t();
172
+ // Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
173
+ var tmp = selfAndAncestors(this_0);
174
+ var tmp0_elvis_lhs = firstOrNull(mapNotNull(tmp, Party$run$lambda('partyId')));
175
+ var tmp_0;
176
+ if (tmp0_elvis_lhs == null) {
177
+ // Inline function 'kotlin.also' call
178
+ // Inline function 'kotlin.collections.set' call
179
+ this_0.c5u_1.q4('partyId', tmp1_safe_receiver);
180
+ tmp_0 = tmp1_safe_receiver;
181
+ } else {
182
+ tmp_0 = tmp0_elvis_lhs;
183
+ }
178
184
  }
179
185
  // Inline function 'com.github.ajalt.clikt.core.Context.findOrSetObject' call
180
- var this_2 = this.a5t();
186
+ var this_1 = this.a5t();
181
187
  var key = 'default_object';
182
188
  // Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
183
- var tmp_1 = selfAndAncestors(this_2);
189
+ var tmp_1 = selfAndAncestors(this_1);
184
190
  var tmp0_elvis_lhs_0 = firstOrNull(mapNotNull(tmp_1, Party$run$lambda_0(key)));
185
191
  var tmp_2;
186
192
  if (tmp0_elvis_lhs_0 == null) {
187
193
  // Inline function 'kotlin.also' call
188
- var this_3 = new (PartyContext())(_get_partyId__g79dgw(this), _get_env__e67txg(this));
194
+ var this_2 = new (PartyContext())(_get_partyId__g79dgw(this), _get_env__e67txg(this));
189
195
  // Inline function 'kotlin.collections.set' call
190
- this_2.c5u_1.q4(key, this_3);
191
- tmp_2 = this_3;
196
+ this_1.c5u_1.q4(key, this_2);
197
+ tmp_2 = this_2;
192
198
  } else {
193
199
  tmp_2 = tmp0_elvis_lhs_0;
194
200
  }
@@ -205,15 +211,15 @@ function PartyContext() {
205
211
  if (PartyContextClass === VOID) {
206
212
  class $ {
207
213
  constructor(partyId, env) {
208
- this.c74_1 = partyId;
209
- this.d74_1 = env;
214
+ this.f74_1 = partyId;
215
+ this.g74_1 = env;
210
216
  }
211
217
  toString() {
212
- return 'PartyContext(partyId=' + toString(this.c74_1) + ', env=' + this.d74_1 + ')';
218
+ return 'PartyContext(partyId=' + toString(this.f74_1) + ', env=' + this.g74_1 + ')';
213
219
  }
214
220
  hashCode() {
215
- var result = this.c74_1 == null ? 0 : this.c74_1.hashCode();
216
- result = imul(result, 31) + getStringHashCode(this.d74_1) | 0;
221
+ var result = this.f74_1 == null ? 0 : this.f74_1.hashCode();
222
+ result = imul(result, 31) + getStringHashCode(this.g74_1) | 0;
217
223
  return result;
218
224
  }
219
225
  equals(other) {
@@ -221,9 +227,9 @@ function PartyContext() {
221
227
  return true;
222
228
  if (!(other instanceof PartyContext()))
223
229
  return false;
224
- if (!equals(this.c74_1, other.c74_1))
230
+ if (!equals(this.f74_1, other.f74_1))
225
231
  return false;
226
- if (!(this.d74_1 === other.d74_1))
232
+ if (!(this.g74_1 === other.g74_1))
227
233
  return false;
228
234
  return true;
229
235
  }
@@ -234,7 +240,7 @@ function PartyContext() {
234
240
  return PartyContextClass;
235
241
  }
236
242
  function party(cannon) {
237
- return subcommands(subcommands(subcommands(subcommands(subcommands(new (Party())(), [new (PartyList())()]), [new (PartyDetails())(cannon)]), [new (CurrentPairs())(cannon)]), [new (Players())(cannon)]), [subcommands(subcommands(new (Contribution())(), [new (SaveContribution())(VOID, System_instance)]), [new (BatchContribution())()])]);
243
+ return subcommands(subcommands(subcommands(subcommands(subcommands(new (Party())(), [new (PartyList())(cannon)]), [new (PartyDetails())(cannon)]), [new (CurrentPairs())(cannon)]), [new (Players())(cannon)]), [subcommands(subcommands(new (Contribution())(), [new (SaveContribution())(VOID, System_instance)]), [new (BatchContribution())()])]);
238
244
  }
239
245
  //region block: exports
240
246
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/Party.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/util/Standard.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/text/Strings.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/parameters/options/Convert.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/Context.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/collections/Maps.kt"],"sourcesContent":[null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-partyId>","$this","<get-env>","Party$lambda","Party$partyId$delegate$lambda","Party$partyId$delegate$lambda$lambda","err","Party$run$lambda","Party$run$lambda$lambda","valueTransform","run","$completion","partyId","env","result","party","cannon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAoBYA,CAAAC,KAAAD,EAAe;A;EAAA,iH;AAET,C;yBAENE,CAAAD,KAAAC,EAAW;A;EAAA,yG;AAA6B,C;qBAPpCC,CAAA,aAAAA,EAAA;A,EAAE,+CAA+B,aAA/B,CAA+B,KAA/B,C;EAA2C,oB;AAAA,C;sCA0BsmCC,CAAA,aAAAA,EAAA;A,EAA+B,OAA7B,aAAa,CAAb,KAAa,M;AAAiB,C;wCAA2MA,C,KAAAA,E;SAAAC,CAAA,a,EAAA,EAAAA,KAAA;A;IAAU,I;iBAA6B,2BAAe,EAAf,C;YAtBl6C,QAAQ,IAAR,C;;;;YAsBu8CC,Q;oBAA+B,G;YAAgC,qBAAI,K;;QAAJ,2B;;uBAAiB,a,CAAA,K;;;UCsG3hD,MCqJqC,mBDrJ1B,MCqJ0B,MAAU,CDrJ/C,E;oBAAkB,M;;oBAAU,I;;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yD,GC2GzD,EJlKM,MIkKN,C;kBJjKO,M;;kBGsDI,gB;;QJjIX,oB;MAAA,C;;;;;;;;;;;kBAGoBE,O,EAAuBC,G;QAAvB,oB;QAAuB,gB;;iBA/B/C;A,QAAA,mF;MAAA,C;iBAAA;A,YAAAC,uD;QAAA,6D;QAAA,a;MAAA,C;oBAAA;A,QAAA,mB;UAAA,W;QAAA,uC;UAAA,Y;QAAA,qC;UAAA,Y;QAAA,kC;UAAA,Y;QAAA,W;MAAA,C;;;;;;;cAiCAC,CAAUC,MAAVD,EAAkF;A,EAS7E,OAJA,YADA,YADA,YADA,YADA,6BAAY,qBAAZ,CACA,EAAY,sBAAa,MAAb,EAAZ,CACA,EAAY,sBAAa,MAAb,EAAZ,CACA,EAAY,iBAAQ,MAAR,EAAZ,CACA,EACG,CAEK,YADA,oCAAY,iDAAZ,CACA,EAAY,6BAAZ,CAFL,CADH,C;AAID,C;;;;;"}
1
+ {"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/Party.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/util/Standard.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/text/Strings.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/parameters/options/Convert.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/Context.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/collections/Maps.kt"],"sourcesContent":[null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-partyId>","$this","<get-env>","Party$lambda","Party$partyId$delegate$lambda","Party$partyId$delegate$lambda$lambda","err","Party$run$lambda","Party$run$lambda$lambda","valueTrans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EAAZ,CACA,EAAY,sBAAa,MAAb,EAAZ,CACA,EAAY,iBAAQ,MAAR,EAAZ,CACA,EACG,CAEK,YADA,oCAAY,iDAAZ,CACA,EAAY,6BAAZ,CAFL,CADH,C;AAID,C;;;;;"}
@@ -30,24 +30,24 @@ import { CliktError136b5l5psfi1n as CliktError } from '../../../../../../clikt-c
30
30
  //endregion
31
31
  function _get_context__ps0bpe($this) {
32
32
  var tmp = KProperty1();
33
- return $this.l75_1.zp($this, getPropertyCallableRef('context', 1, tmp, PartyDetails$_get_context_$ref_q6kw5z(), null));
33
+ return $this.o75_1.zp($this, getPropertyCallableRef('context', 1, tmp, PartyDetails$_get_context_$ref_q6kw5z(), null));
34
34
  }
35
35
  function _get_partyId__g79dgw($this) {
36
36
  var tmp = KProperty1();
37
- return $this.m75_1.zp($this, getPropertyCallableRef('partyId', 1, tmp, PartyDetails$_get_partyId_$ref_gt5zd(), null));
37
+ return $this.p75_1.zp($this, getPropertyCallableRef('partyId', 1, tmp, PartyDetails$_get_partyId_$ref_gt5zd(), null));
38
38
  }
39
39
  var sam$kotlin_properties_ReadOnlyProperty$0Class;
40
40
  function sam$kotlin_properties_ReadOnlyProperty$0() {
41
41
  if (sam$kotlin_properties_ReadOnlyProperty$0Class === VOID) {
42
42
  class $ {
43
43
  constructor(function_0) {
44
- this.n75_1 = function_0;
44
+ this.q75_1 = function_0;
45
45
  }
46
46
  zp(thisRef, property) {
47
- return this.n75_1(thisRef, property);
47
+ return this.q75_1(thisRef, property);
48
48
  }
49
49
  c5() {
50
- return this.n75_1;
50
+ return this.q75_1;
51
51
  }
52
52
  equals(other) {
53
53
  var tmp;
@@ -78,13 +78,13 @@ function sam$kotlin_properties_ReadOnlyProperty$0_0() {
78
78
  if (sam$kotlin_properties_ReadOnlyProperty$0Class_0 === VOID) {
79
79
  class $ {
80
80
  constructor(function_0) {
81
- this.o75_1 = function_0;
81
+ this.r75_1 = function_0;
82
82
  }
83
83
  zp(thisRef, property) {
84
- return this.o75_1(thisRef, property);
84
+ return this.r75_1(thisRef, property);
85
85
  }
86
86
  c5() {
87
- return this.o75_1;
87
+ return this.r75_1;
88
88
  }
89
89
  equals(other) {
90
90
  var tmp;
@@ -160,22 +160,22 @@ function PartyDetails() {
160
160
  class $ extends SuspendingCliktCommand() {
161
161
  constructor(cannon) {
162
162
  super('details');
163
- this.k75_1 = cannon;
163
+ this.n75_1 = cannon;
164
164
  var tmp = this;
165
165
  // Inline function 'com.github.ajalt.clikt.core.requireObject' call
166
166
  var key = 'default_object';
167
167
  var tmp_0 = PartyDetails$context$delegate$lambda(key);
168
- tmp.l75_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
168
+ tmp.o75_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
169
169
  var tmp_1 = this;
170
170
  // Inline function 'com.github.ajalt.clikt.core.requireObject' call
171
171
  var tmp_2 = PartyDetails$partyId$delegate$lambda('partyId');
172
- tmp_1.m75_1 = new (sam$kotlin_properties_ReadOnlyProperty$0_0())(tmp_2);
172
+ tmp_1.p75_1 = new (sam$kotlin_properties_ReadOnlyProperty$0_0())(tmp_2);
173
173
  }
174
174
  *g5i($completion) {
175
- var tmp0_elvis_lhs = this.k75_1;
175
+ var tmp0_elvis_lhs = this.n75_1;
176
176
  var tmp;
177
177
  if (tmp0_elvis_lhs == null) {
178
- var tmp_0 = _get_context__ps0bpe(this).d74_1;
178
+ var tmp_0 = _get_context__ps0bpe(this).g74_1;
179
179
  tmp = yield* loadSdk(tmp_0, PartyDetails$echo$ref(this), $completion);
180
180
  } else {
181
181
  tmp = tmp0_elvis_lhs;
@@ -186,7 +186,7 @@ function PartyDetails() {
186
186
  var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.j5m_1;
187
187
  var partyDetails = tmp4_safe_receiver == null ? null : toDomain(tmp4_safe_receiver);
188
188
  if (partyDetails == null) {
189
- throw CliktError().o5x('Party not found.', VOID, VOID, true);
189
+ throw CliktError().p5x('Party not found.', VOID, VOID, true);
190
190
  }
191
191
  this.l5t('Party ID: ' + partyDetails.j54_1.toString());
192
192
  this.l5t('Name: ' + partyDetails.p54_1);
@@ -1,14 +1,14 @@
1
- import { NotBlankString__toString_impl_5tex9r2ig2s5isyc5ve as NotBlankString__toString_impl_5tex9r } from '../../../../../../types-types/kotools/types/text/NotBlankString.mjs';
2
1
  import { KProperty1ca4yb4wlo496 as KProperty1 } from '../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs';
3
2
  import { getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs';
4
- import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
5
- import { PartyListQuery2kxpn3kazmoaz as PartyListQuery } from '../gql/PartyListQuery.mjs';
6
- import { GqlQueryfz0vfezppkdu as GqlQuery } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs';
3
+ import { NotBlankString__toString_impl_5tex9r2ig2s5isyc5ve as NotBlankString__toString_impl_5tex9r } from '../../../../../../types-types/kotools/types/text/NotBlankString.mjs';
7
4
  import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
8
5
  import { collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs';
9
6
  import { toDomain13ri9vnrcp4hq as toDomain } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs';
7
+ import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
10
8
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
11
9
  import { joinToString1cxrrlmo0chqs as joinToString } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs';
10
+ import { PartyListQuery2kxpn3kazmoaz as PartyListQuery } from '../gql/PartyListQuery.mjs';
11
+ import { GqlQueryfz0vfezppkdu as GqlQuery } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs';
12
12
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
13
13
  import { ActionCannon17qqlawtblrps as ActionCannon } from '../../../../../../testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs';
14
14
  import { isInterface3d6p8outrmvmk as isInterface } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
@@ -24,12 +24,9 @@ import { withSdk35tk3ax9pa40k as withSdk } from '../WithSdk.mjs';
24
24
  //endregion
25
25
  //region block: pre-declaration
26
26
  //endregion
27
- function PartyList$run$slambda$lambda(it) {
28
- return 'Party: id = ' + NotBlankString__toString_impl_5tex9r(it.j54_1.u54_1) + ', name = ' + it.p54_1;
29
- }
30
27
  function _get_env__e67txg($this) {
31
28
  var tmp = KProperty1();
32
- return $this.e76_1.zp($this, getPropertyCallableRef('env', 1, tmp, PartyList$_get_env_$ref_drep03_0(), null));
29
+ return $this.i76_1.zp($this, getPropertyCallableRef('env', 1, tmp, PartyList$_get_env_$ref_drep03_0(), null));
33
30
  }
34
31
  function PartyList$_get_env_$ref_drep03() {
35
32
  return (p0) => _get_env__e67txg(p0);
@@ -37,6 +34,42 @@ function PartyList$_get_env_$ref_drep03() {
37
34
  function PartyList$_get_env_$ref_drep03_0() {
38
35
  return (p0) => _get_env__e67txg(p0);
39
36
  }
37
+ function PartyList$run$lambda$lambda(it) {
38
+ return 'Party: id = ' + NotBlankString__toString_impl_5tex9r(it.j54_1.u54_1) + ', name = ' + it.p54_1;
39
+ }
40
+ function PartyList$run$lambda(this$0) {
41
+ return (data) => {
42
+ var tmp1_safe_receiver = data == null ? null : data.g6y_1;
43
+ var tmp;
44
+ if (tmp1_safe_receiver == null) {
45
+ tmp = null;
46
+ } else {
47
+ // Inline function 'kotlin.collections.map' call
48
+ // Inline function 'kotlin.collections.mapTo' call
49
+ var destination = ArrayList().r2(collectionSizeOrDefault(tmp1_safe_receiver, 10));
50
+ var _iterator__ex2g4s = tmp1_safe_receiver.l1();
51
+ while (_iterator__ex2g4s.m1()) {
52
+ var item = _iterator__ex2g4s.n1();
53
+ var tmp$ret$2 = toDomain(item.i6y_1);
54
+ destination.o2(tmp$ret$2);
55
+ }
56
+ tmp = destination;
57
+ }
58
+ var tmp2_safe_receiver = tmp;
59
+ var tmp_0;
60
+ if (tmp2_safe_receiver == null) {
61
+ tmp_0 = null;
62
+ } else {
63
+ tmp_0 = joinToString(tmp2_safe_receiver, '\n', VOID, VOID, VOID, VOID, PartyList$run$lambda$lambda);
64
+ }
65
+ // Inline function 'kotlin.let' call
66
+ var tmp0_elvis_lhs = tmp_0;
67
+ // Inline function 'kotlin.let' call
68
+ var it = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
69
+ this$0.l5t(it);
70
+ return Unit_instance;
71
+ };
72
+ }
40
73
  function PartyList$echo$ref(p0) {
41
74
  return (receiver) => {
42
75
  p0.l5t(receiver);
@@ -47,43 +80,15 @@ var PartyList$run$slambdaClass;
47
80
  function PartyList$run$slambda() {
48
81
  if (PartyList$run$slambdaClass === VOID) {
49
82
  class $ {
50
- constructor(this$0) {
51
- this.f76_1 = this$0;
83
+ constructor($handleResult) {
84
+ this.j76_1 = $handleResult;
52
85
  }
53
- *m72(sdk, $completion) {
54
- var tmp0_safe_receiver = yield* sdk.g57(new (GqlQuery())(new (PartyListQuery())()), $completion);
55
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f6y_1;
56
- var tmp;
57
- if (tmp1_safe_receiver == null) {
58
- tmp = null;
59
- } else {
60
- // Inline function 'kotlin.collections.map' call
61
- // Inline function 'kotlin.collections.mapTo' call
62
- var destination = ArrayList().r2(collectionSizeOrDefault(tmp1_safe_receiver, 10));
63
- var _iterator__ex2g4s = tmp1_safe_receiver.l1();
64
- while (_iterator__ex2g4s.m1()) {
65
- var item = _iterator__ex2g4s.n1();
66
- var tmp$ret$2 = toDomain(item.h6y_1);
67
- destination.o2(tmp$ret$2);
68
- }
69
- tmp = destination;
70
- }
71
- var tmp2_safe_receiver = tmp;
72
- var tmp_0;
73
- if (tmp2_safe_receiver == null) {
74
- tmp_0 = null;
75
- } else {
76
- tmp_0 = joinToString(tmp2_safe_receiver, '\n', VOID, VOID, VOID, VOID, PartyList$run$slambda$lambda);
77
- }
78
- // Inline function 'kotlin.let' call
79
- var tmp0_elvis_lhs = tmp_0;
80
- // Inline function 'kotlin.let' call
81
- var it = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
82
- this.f76_1.l5t(it);
86
+ *p72(sdk, $completion) {
87
+ this.j76_1(yield* sdk.g57(new (GqlQuery())(new (PartyListQuery())()), $completion));
83
88
  return Unit_instance;
84
89
  }
85
90
  vd(p1, $completion) {
86
- return this.m72((!(p1 == null) ? isInterface(p1, ActionCannon()) : false) ? p1 : THROW_CCE(), $completion);
91
+ return this.p72((!(p1 == null) ? isInterface(p1, ActionCannon()) : false) ? p1 : THROW_CCE(), $completion);
87
92
  }
88
93
  }
89
94
  initMetadataForLambda($, VOID, VOID, [1]);
@@ -91,9 +96,9 @@ function PartyList$run$slambda() {
91
96
  }
92
97
  return PartyList$run$slambdaClass;
93
98
  }
94
- function PartyList$run$slambda_0(this$0) {
95
- var i = new (PartyList$run$slambda())(this$0);
96
- var l = (sdk, $completion) => i.m72(sdk, $completion);
99
+ function PartyList$run$slambda_0($handleResult) {
100
+ var i = new (PartyList$run$slambda())($handleResult);
101
+ var l = (sdk, $completion) => i.p72(sdk, $completion);
97
102
  l.$arity = 1;
98
103
  return l;
99
104
  }
@@ -101,21 +106,34 @@ var PartyListClass;
101
106
  function PartyList() {
102
107
  if (PartyListClass === VOID) {
103
108
  class $ extends SuspendingCliktCommand() {
104
- constructor() {
109
+ constructor(cannon) {
105
110
  super('list');
111
+ this.h76_1 = cannon;
106
112
  var tmp = this;
107
113
  var tmp_0 = default_0(option(this, []), 'production');
108
114
  var tmp_1 = KProperty1();
109
- tmp.e76_1 = tmp_0.i68(this, getPropertyCallableRef('env', 1, tmp_1, PartyList$_get_env_$ref_drep03(), null));
115
+ tmp.i76_1 = tmp_0.j68(this, getPropertyCallableRef('env', 1, tmp_1, PartyList$_get_env_$ref_drep03(), null));
110
116
  }
111
117
  *g5i($completion) {
112
- var tmp = _get_env__e67txg(this);
113
- var tmp_0 = PartyList$echo$ref(this);
114
- yield* withSdk(tmp, tmp_0, VOID, PartyList$run$slambda_0(this), $completion);
118
+ var handleResult = PartyList$run$lambda(this);
119
+ var tmp0_safe_receiver = this.h76_1;
120
+ var tmp;
121
+ if (tmp0_safe_receiver == null) {
122
+ tmp = null;
123
+ } else {
124
+ // Inline function 'kotlin.let' call
125
+ handleResult(yield* tmp0_safe_receiver.g57(new (GqlQuery())(new (PartyListQuery())()), $completion));
126
+ tmp = Unit_instance;
127
+ }
128
+ if (tmp == null) {
129
+ var tmp_0 = _get_env__e67txg(this);
130
+ var tmp_1 = PartyList$echo$ref(this);
131
+ yield* withSdk(tmp_0, tmp_1, VOID, PartyList$run$slambda_0(handleResult), $completion);
132
+ }
115
133
  return Unit_instance;
116
134
  }
117
135
  }
118
- initMetadataForClass($, 'PartyList', PartyList, VOID, VOID, [0]);
136
+ initMetadataForClass($, 'PartyList', VOID, VOID, VOID, [0]);
119
137
  PartyListClass = $;
120
138
  }
121
139
  return PartyListClass;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/PartyList.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/common/src/generated/_Collections.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["PartyList$run$slambda$lambda","<get-env>","$this","PartyList$echo$ref","p0","PartyList$echo$ref$lambda","invoke","$completion","item","PartyList$run$slambda","run"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;qCAiBqCA,CAAA,EAAAA,EAAA;A,EAAiD,OAA9C,cAA8C,wCAAhC,EAAgC,CAA7B,KAA6B,CAA1B,KAA0B,IAApB,WAAoB,GAAT,EAAS,CAAN,K;AAAO,C;yBAN3EC,CAAAC,KAAAD,EAAW;A;EAAA,6G;AAA6B,C;;iBAA7B,oB;;;iBAAA,oB;;2BAEFE,CAAAC,EAAAD,E;SAAAE,C,QAAAA,KAAA;A,IAAA,gB;IAAK,oB;EAAA,C;C;;;;;;;;UAAGC,CAAE,G,EAAFC,WAAAD,EACjB;A,YAAI,4BAAJ,GAAI,6D;YACE,yDADN,kBACM,M;;QACA,+B;gBAAA,I;;;;4BCiiDD,eAAa,wBDniDlB,kBCmiDkB,EAAwB,EAAxB,CAAb,C;cA2EA,oBD9mDL,kBC8mDK,K;iBAAA,sB,EACT;A,gBADCE,OAAQ,sB;gBD5mDiC,YAAV,SC6mDN,ID7mDM,CAAb,KAAa,C;YC6mDhC,WAAY,IAAI,SAAJ,C;UAAmB,C;gBAC5B,W;;YD9mDO,wB;;QACA,+B;kBAAA,I;;kBAAA,aAHN,kBAGM,EAAa,IAAb,0BAAmB,4BAAnB,C;;;YACK,iBADL,K;;iBACK,yBAAM,EAAN,iB;QACA,eAAK,EAAL,C;QAAS,oB;MAAA,C;;;;;;;;;;gCANHC,C,MAAAA,E;;UAAAT,CAAE,G,EAAFO,WAAAP,4B;;;C;;;;;;cAHY,M;kBAClB,I;oBAAS,UAAT,gBAAS,EAAQ,YAAR,C;;QAAT,4G;;UACFU,CAAAH,WAAAG,EAAU;A,kBACf,sB;oBAAK,wB;eAAb,0BAAqB,6BAArB,c;QAQJ,oB;MAAA,C;;;;;;;;;;;"}
1
+ {"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/PartyList.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/common/src/generated/_Collections.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-env>","$this","PartyList$run$lambda$lambda","PartyList$run$lambda","item","PartyList$echo$ref","p0","PartyList$echo$ref$lambda","invoke","$completion","PartyList$run$slambda","PartyList$run$slambda$lambda","cannon","run","handleResult"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;yBAaYA,CAAAC,KAAAD,EAAW;A;EAAA,6G;AAA6B,C;;iBAA7B,oB;;;iBAAA,oB;;oCAKcE,CAAA,EAAAA,EAAA;A,EAAiD,OAA9C,cAA8C,wCAAhC,EAAgC,CAA7B,KAA6B,CAA1B,KAA0B,IAApB,WAAoB,GAAT,EAAS,CAAN,K;AAAO,C;6BAH5BC,C,MAAAA,E;SAAAD,CAAE,IAAFA,KAAA;A,QACzC,qBAAN,IAAM,kBAAN,IAAM,M;;IACA,+B;YAAA,I;;;;wBCgiDD,eAAa,wBDjiDlB,kBCiiDkB,EAAwB,EAAxB,CAAb,C;UA2EA,oBD5mDL,kBC4mDK,K;aAAA,sB,EACT;A,YADCE,OAAQ,sB;YD3mDiC,YAAV,SC4mDN,ID5mDM,CAAb,KAAa,C;QC4mDhC,WAAY,IAAI,SAAJ,C;MAAmB,C;YAC5B,W;;QD7mDO,wB;;IACA,+B;cAAA,I;;cAAA,aAFN,kBAEM,EAAa,IAAb,0BAAmB,2BAAnB,C;;;QACK,iBADL,K;;aACK,yBAAM,EAAN,iB;IACA,WAAK,EAAL,C;IACf,oB;EAAA,C;C;2BAIkBC,CAAAC,EAAAD,E;SAAAE,C,QAAAA,KAAA;A,IAAA,gB;IAAK,oB;EAAA,C;C;;;;;;;;UAAGC,CAAE,G,EAAFC,WAAAD,EACtB;A,QAAA,kBAAa,GAAI,6DAAjB,C;QAAiD,oB;MAAA,C;;;;;;;;;;gCAD3BE,C,aAAAA,E;;UAAAC,CAAE,G,EAAFF,WAAAE,4B;;;C;;;;;kBAbVC,M;cAA2E,M;QAAnF,mB;kBACO,I;oBAAS,UAAT,gBAAS,EAAQ,YAAR,C;;QAAT,4G;;UACFC,CAAAJ,WAAAI,EAAU;A,YACvBC,eAAmD,0B;YAQnD,+B;;QAAQ,+B;gBAAA,I;;;UACJ,oBADJ,kBAC8B,6DAA1B,C;;;QADJ,gB;sBAEa,sB;sBAAK,wB;iBAAb,4BAAqB,qCAArB,c;;QAGT,oB;MAAA,C;;;;;;;;;;;"}
@@ -30,24 +30,24 @@ import { NotBlankString__toString_impl_5tex9r2ig2s5isyc5ve as NotBlankString__to
30
30
  //endregion
31
31
  function _get_context__ps0bpe($this) {
32
32
  var tmp = KProperty1();
33
- return $this.w76_1.zp($this, getPropertyCallableRef('context', 1, tmp, Players$_get_context_$ref_7m15sv(), null));
33
+ return $this.a77_1.zp($this, getPropertyCallableRef('context', 1, tmp, Players$_get_context_$ref_7m15sv(), null));
34
34
  }
35
35
  function _get_partyId__g79dgw($this) {
36
36
  var tmp = KProperty1();
37
- return $this.x76_1.zp($this, getPropertyCallableRef('partyId', 1, tmp, Players$_get_partyId_$ref_xbsvzh(), null));
37
+ return $this.b77_1.zp($this, getPropertyCallableRef('partyId', 1, tmp, Players$_get_partyId_$ref_xbsvzh(), null));
38
38
  }
39
39
  var sam$kotlin_properties_ReadOnlyProperty$0Class;
40
40
  function sam$kotlin_properties_ReadOnlyProperty$0() {
41
41
  if (sam$kotlin_properties_ReadOnlyProperty$0Class === VOID) {
42
42
  class $ {
43
43
  constructor(function_0) {
44
- this.y76_1 = function_0;
44
+ this.c77_1 = function_0;
45
45
  }
46
46
  zp(thisRef, property) {
47
- return this.y76_1(thisRef, property);
47
+ return this.c77_1(thisRef, property);
48
48
  }
49
49
  c5() {
50
- return this.y76_1;
50
+ return this.c77_1;
51
51
  }
52
52
  equals(other) {
53
53
  var tmp;
@@ -78,13 +78,13 @@ function sam$kotlin_properties_ReadOnlyProperty$0_0() {
78
78
  if (sam$kotlin_properties_ReadOnlyProperty$0Class_0 === VOID) {
79
79
  class $ {
80
80
  constructor(function_0) {
81
- this.z76_1 = function_0;
81
+ this.d77_1 = function_0;
82
82
  }
83
83
  zp(thisRef, property) {
84
- return this.z76_1(thisRef, property);
84
+ return this.d77_1(thisRef, property);
85
85
  }
86
86
  c5() {
87
- return this.z76_1;
87
+ return this.d77_1;
88
88
  }
89
89
  equals(other) {
90
90
  var tmp;
@@ -160,22 +160,22 @@ function Players() {
160
160
  class $ extends SuspendingCliktCommand() {
161
161
  constructor(cannon) {
162
162
  super();
163
- this.v76_1 = cannon;
163
+ this.z76_1 = cannon;
164
164
  var tmp = this;
165
165
  // Inline function 'com.github.ajalt.clikt.core.requireObject' call
166
166
  var key = 'default_object';
167
167
  var tmp_0 = Players$context$delegate$lambda(key);
168
- tmp.w76_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
168
+ tmp.a77_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
169
169
  var tmp_1 = this;
170
170
  // Inline function 'com.github.ajalt.clikt.core.requireObject' call
171
171
  var tmp_2 = Players$partyId$delegate$lambda('partyId');
172
- tmp_1.x76_1 = new (sam$kotlin_properties_ReadOnlyProperty$0_0())(tmp_2);
172
+ tmp_1.b77_1 = new (sam$kotlin_properties_ReadOnlyProperty$0_0())(tmp_2);
173
173
  }
174
174
  *g5i($completion) {
175
- var tmp0_elvis_lhs = this.v76_1;
175
+ var tmp0_elvis_lhs = this.z76_1;
176
176
  var tmp;
177
177
  if (tmp0_elvis_lhs == null) {
178
- var tmp_0 = _get_context__ps0bpe(this).d74_1;
178
+ var tmp_0 = _get_context__ps0bpe(this).g74_1;
179
179
  tmp = yield* loadSdk(tmp_0, Players$echo$ref(this), $completion);
180
180
  } else {
181
181
  tmp = tmp0_elvis_lhs;
@@ -183,8 +183,8 @@ function Players() {
183
183
  var actionCannon = tmp;
184
184
  var result = actionCannon == null ? null : (yield* actionCannon.g57(new (GqlQuery())(new (PlayersQuery())(new (PartyInput())(_get_partyId__g79dgw(this)))), $completion));
185
185
  this.l5t('Players for Party ID: ' + NotBlankString__toString_impl_5tex9r(_get_partyId__g79dgw(this).u54_1));
186
- var tmp3_safe_receiver = result == null ? null : result.k6y_1;
187
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.l6y_1;
186
+ var tmp3_safe_receiver = result == null ? null : result.l6y_1;
187
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.m6y_1;
188
188
  if (tmp4_safe_receiver == null)
189
189
  null;
190
190
  else {
@@ -192,7 +192,7 @@ function Players() {
192
192
  var _iterator__ex2g4s = tmp4_safe_receiver.l1();
193
193
  while (_iterator__ex2g4s.m1()) {
194
194
  var element = _iterator__ex2g4s.n1();
195
- this.l5t(' - ' + element.n6y_1.c5p_1 + ' ' + element.n6y_1.d5p_1);
195
+ this.l5t(' - ' + element.o6y_1.c5p_1 + ' ' + element.o6y_1.d5p_1);
196
196
  }
197
197
  }
198
198
  return Unit_instance;