@continuous-excellence/coupling-cli 1.1.515 → 1.1.516
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.
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +8 -8
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +39 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +19 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +23 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +6 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +56 -12
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +60 -53
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +29 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +164 -120
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +44 -41
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +72 -50
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +73 -74
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +101 -49
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +79 -79
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +23 -23
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +117 -112
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +95 -95
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +37 -37
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +134 -134
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +26 -26
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +12 -12
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +21 -21
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +189 -189
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +29 -29
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +45 -45
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +227 -227
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +15 -15
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +4 -3
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +16 -16
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +64 -64
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +18 -18
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +5 -5
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +24 -24
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +119 -119
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +132 -132
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +60 -60
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +65 -65
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +225 -225
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +138 -138
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +16 -16
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +107 -107
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/package.json +1 -1
|
@@ -48,7 +48,7 @@ function Matrix__hashCode_impl_s9ntm9($this) {
|
|
|
48
48
|
function Matrix__equals_impl_g5p8p9($this, other) {
|
|
49
49
|
if (!(other instanceof Matrix()))
|
|
50
50
|
return false;
|
|
51
|
-
var tmp0_other_with_cast = other instanceof Matrix() ? other.
|
|
51
|
+
var tmp0_other_with_cast = other instanceof Matrix() ? other.g6d_1 : THROW_CCE();
|
|
52
52
|
if (!equals($this, tmp0_other_with_cast))
|
|
53
53
|
return false;
|
|
54
54
|
return true;
|
|
@@ -58,16 +58,16 @@ function Matrix() {
|
|
|
58
58
|
if (MatrixClass === VOID) {
|
|
59
59
|
class $ {
|
|
60
60
|
constructor(rowMajor) {
|
|
61
|
-
this.
|
|
61
|
+
this.g6d_1 = rowMajor;
|
|
62
62
|
}
|
|
63
63
|
toString() {
|
|
64
|
-
return Matrix__toString_impl_l0abk0(this.
|
|
64
|
+
return Matrix__toString_impl_l0abk0(this.g6d_1);
|
|
65
65
|
}
|
|
66
66
|
hashCode() {
|
|
67
|
-
return Matrix__hashCode_impl_s9ntm9(this.
|
|
67
|
+
return Matrix__hashCode_impl_s9ntm9(this.g6d_1);
|
|
68
68
|
}
|
|
69
69
|
equals(other) {
|
|
70
|
-
return Matrix__equals_impl_g5p8p9(this.
|
|
70
|
+
return Matrix__equals_impl_g5p8p9(this.g6d_1, other);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
initMetadataForClass($, 'Matrix');
|
|
@@ -151,7 +151,7 @@ function Vector__hashCode_impl_442yhd($this) {
|
|
|
151
151
|
function Vector__equals_impl_hy6igl($this, other) {
|
|
152
152
|
if (!(other instanceof Vector()))
|
|
153
153
|
return false;
|
|
154
|
-
var tmp0_other_with_cast = other instanceof Vector() ? other.
|
|
154
|
+
var tmp0_other_with_cast = other instanceof Vector() ? other.h6d_1 : THROW_CCE();
|
|
155
155
|
if (!equals($this, tmp0_other_with_cast))
|
|
156
156
|
return false;
|
|
157
157
|
return true;
|
|
@@ -161,16 +161,16 @@ function Vector() {
|
|
|
161
161
|
if (VectorClass === VOID) {
|
|
162
162
|
class $ {
|
|
163
163
|
constructor(values) {
|
|
164
|
-
this.
|
|
164
|
+
this.h6d_1 = values;
|
|
165
165
|
}
|
|
166
166
|
toString() {
|
|
167
|
-
return Vector__toString_impl_hn2ybi(this.
|
|
167
|
+
return Vector__toString_impl_hn2ybi(this.h6d_1);
|
|
168
168
|
}
|
|
169
169
|
hashCode() {
|
|
170
|
-
return Vector__hashCode_impl_442yhd(this.
|
|
170
|
+
return Vector__hashCode_impl_442yhd(this.h6d_1);
|
|
171
171
|
}
|
|
172
172
|
equals(other) {
|
|
173
|
-
return Vector__equals_impl_hy6igl(this.
|
|
173
|
+
return Vector__equals_impl_hy6igl(this.h6d_1, other);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
initMetadataForClass($, 'Vector');
|
|
@@ -22,13 +22,13 @@ function Companion() {
|
|
|
22
22
|
class $ {
|
|
23
23
|
constructor() {
|
|
24
24
|
Companion_instance = this;
|
|
25
|
-
this.
|
|
25
|
+
this.i6d_1 = componentInfoList([new (ColorComponentInfo())('code', false, 30.0, 107.0)]);
|
|
26
26
|
}
|
|
27
27
|
d1() {
|
|
28
28
|
return 'Ansi16';
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
return this.
|
|
30
|
+
j6d() {
|
|
31
|
+
return this.i6d_1;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
initMetadataForCompanion($);
|
|
@@ -48,38 +48,38 @@ function Ansi16() {
|
|
|
48
48
|
class $ {
|
|
49
49
|
constructor(code) {
|
|
50
50
|
Companion_getInstance_0();
|
|
51
|
-
this.
|
|
51
|
+
this.k6d_1 = code;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
g6c() {
|
|
54
54
|
return Companion_getInstance_0();
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
switch (this.
|
|
56
|
+
h6c() {
|
|
57
|
+
switch (this.k6d_1) {
|
|
58
58
|
case 30:
|
|
59
59
|
case 40:
|
|
60
|
-
return Companion_getInstance().
|
|
60
|
+
return Companion_getInstance().l6d(0.0, 0.0, 0.0);
|
|
61
61
|
case 90:
|
|
62
62
|
case 100:
|
|
63
|
-
return Companion_getInstance().
|
|
63
|
+
return Companion_getInstance().m6d(128, 128, 128);
|
|
64
64
|
case 37:
|
|
65
65
|
case 47:
|
|
66
|
-
return Companion_getInstance().
|
|
66
|
+
return Companion_getInstance().m6d(192, 192, 192);
|
|
67
67
|
case 97:
|
|
68
68
|
case 107:
|
|
69
|
-
return Companion_getInstance().
|
|
69
|
+
return Companion_getInstance().l6d(1.0, 1.0, 1.0);
|
|
70
70
|
}
|
|
71
|
-
var color = this.
|
|
72
|
-
var mul = this.
|
|
71
|
+
var color = this.k6d_1 % 10 | 0;
|
|
72
|
+
var mul = this.k6d_1 > 50 ? 1.0 : 0.5;
|
|
73
73
|
var r = (color % 2 | 0) * mul;
|
|
74
74
|
var g = ((color / 2 | 0) % 2 | 0) * mul;
|
|
75
75
|
var b = ((color / 4 | 0) % 2 | 0) * mul;
|
|
76
|
-
return Companion_getInstance().
|
|
76
|
+
return Companion_getInstance().l6d(r, g, b);
|
|
77
77
|
}
|
|
78
78
|
toString() {
|
|
79
|
-
return 'Ansi16(code=' + this.
|
|
79
|
+
return 'Ansi16(code=' + this.k6d_1 + ')';
|
|
80
80
|
}
|
|
81
81
|
hashCode() {
|
|
82
|
-
return this.
|
|
82
|
+
return this.k6d_1;
|
|
83
83
|
}
|
|
84
84
|
equals(other) {
|
|
85
85
|
if (this === other)
|
|
@@ -87,12 +87,12 @@ function Ansi16() {
|
|
|
87
87
|
if (!(other instanceof Ansi16()))
|
|
88
88
|
return false;
|
|
89
89
|
var tmp0_other_with_cast = other instanceof Ansi16() ? other : THROW_CCE();
|
|
90
|
-
if (!(this.
|
|
90
|
+
if (!(this.k6d_1 === tmp0_other_with_cast.k6d_1))
|
|
91
91
|
return false;
|
|
92
92
|
return true;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
protoOf($).
|
|
95
|
+
protoOf($).i6c = toXYZ;
|
|
96
96
|
initMetadataForClass($, 'Ansi16', VOID, VOID, [Color()]);
|
|
97
97
|
Ansi16Class = $;
|
|
98
98
|
}
|
|
@@ -24,13 +24,13 @@ function Companion() {
|
|
|
24
24
|
class $ {
|
|
25
25
|
constructor() {
|
|
26
26
|
Companion_instance = this;
|
|
27
|
-
this.
|
|
27
|
+
this.n6d_1 = componentInfoList([new (ColorComponentInfo())('code', false, 0.0, 255.0)]);
|
|
28
28
|
}
|
|
29
29
|
d1() {
|
|
30
30
|
return 'Ansi256';
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
return this.
|
|
32
|
+
j6d() {
|
|
33
|
+
return this.n6d_1;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
initMetadataForCompanion($);
|
|
@@ -50,19 +50,19 @@ function Ansi256() {
|
|
|
50
50
|
class $ {
|
|
51
51
|
constructor(code) {
|
|
52
52
|
Companion_getInstance_0();
|
|
53
|
-
this.
|
|
53
|
+
this.o6d_1 = code;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
g6c() {
|
|
56
56
|
return Companion_getInstance_0();
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
if (this.
|
|
60
|
-
return this.
|
|
61
|
-
if (this.
|
|
62
|
-
var c = imul(this.
|
|
63
|
-
return Companion_getInstance().
|
|
58
|
+
h6c() {
|
|
59
|
+
if (this.o6d_1 < 16)
|
|
60
|
+
return this.p6d().h6c();
|
|
61
|
+
if (this.o6d_1 >= 232) {
|
|
62
|
+
var c = imul(this.o6d_1 - 232 | 0, 10) + 8 | 0;
|
|
63
|
+
return Companion_getInstance().m6d(c, c, c);
|
|
64
64
|
}
|
|
65
|
-
var c_0 = this.
|
|
65
|
+
var c_0 = this.o6d_1 - 16 | 0;
|
|
66
66
|
var rem = c_0 % 36 | 0;
|
|
67
67
|
// Inline function 'kotlin.math.floor' call
|
|
68
68
|
var x = c_0 / 36.0;
|
|
@@ -71,16 +71,16 @@ function Ansi256() {
|
|
|
71
71
|
var x_0 = rem / 6.0;
|
|
72
72
|
var g = Math.floor(x_0) / 5.0;
|
|
73
73
|
var b = (rem % 6 | 0) / 5.0;
|
|
74
|
-
return Companion_getInstance().
|
|
74
|
+
return Companion_getInstance().q6d(r, g, b);
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
return this.
|
|
76
|
+
p6d() {
|
|
77
|
+
return this.o6d_1 < 8 ? new (Ansi16())(this.o6d_1 + 30 | 0) : this.o6d_1 < 16 ? new (Ansi16())((this.o6d_1 - 8 | 0) + 90 | 0) : this.h6c().p6d();
|
|
78
78
|
}
|
|
79
79
|
toString() {
|
|
80
|
-
return 'Ansi256(code=' + this.
|
|
80
|
+
return 'Ansi256(code=' + this.o6d_1 + ')';
|
|
81
81
|
}
|
|
82
82
|
hashCode() {
|
|
83
|
-
return this.
|
|
83
|
+
return this.o6d_1;
|
|
84
84
|
}
|
|
85
85
|
equals(other) {
|
|
86
86
|
if (this === other)
|
|
@@ -88,12 +88,12 @@ function Ansi256() {
|
|
|
88
88
|
if (!(other instanceof Ansi256()))
|
|
89
89
|
return false;
|
|
90
90
|
var tmp0_other_with_cast = other instanceof Ansi256() ? other : THROW_CCE();
|
|
91
|
-
if (!(this.
|
|
91
|
+
if (!(this.o6d_1 === tmp0_other_with_cast.o6d_1))
|
|
92
92
|
return false;
|
|
93
93
|
return true;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
protoOf($).
|
|
96
|
+
protoOf($).i6c = toXYZ;
|
|
97
97
|
initMetadataForClass($, 'Ansi256', VOID, VOID, [Color()]);
|
|
98
98
|
Ansi256Class = $;
|
|
99
99
|
}
|
|
@@ -29,13 +29,13 @@ function Companion() {
|
|
|
29
29
|
class $ {
|
|
30
30
|
constructor() {
|
|
31
31
|
Companion_instance = this;
|
|
32
|
-
this.
|
|
32
|
+
this.r6d_1 = polarComponentInfo('HSV', 0.0, 1.0);
|
|
33
33
|
}
|
|
34
34
|
d1() {
|
|
35
35
|
return 'HSV';
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
return this.
|
|
37
|
+
j6d() {
|
|
38
|
+
return this.r6d_1;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
initMetadataForCompanion($);
|
|
@@ -64,30 +64,30 @@ function HSV() {
|
|
|
64
64
|
constructor(h, s, v, alpha) {
|
|
65
65
|
Companion_getInstance_0();
|
|
66
66
|
alpha = alpha === VOID ? 1.0 : alpha;
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
67
|
+
this.s6d_1 = h;
|
|
68
|
+
this.t6d_1 = s;
|
|
69
|
+
this.u6d_1 = v;
|
|
70
|
+
this.v6d_1 = alpha;
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
g6c() {
|
|
73
73
|
return Companion_getInstance_0();
|
|
74
74
|
}
|
|
75
|
-
|
|
76
|
-
if (this.
|
|
77
|
-
return Companion_getInstance().
|
|
78
|
-
var v = this.
|
|
79
|
-
var h = normalizeDeg(this.
|
|
80
|
-
var s = this.
|
|
81
|
-
return SRGB_getInstance().
|
|
75
|
+
h6c() {
|
|
76
|
+
if (this.t6d_1 < 1.0E-7)
|
|
77
|
+
return Companion_getInstance().x6d(this.u6d_1, this.u6d_1, this.u6d_1, this.v6d_1);
|
|
78
|
+
var v = this.u6d_1;
|
|
79
|
+
var h = normalizeDeg(this.s6d_1) / 60.0;
|
|
80
|
+
var s = this.t6d_1;
|
|
81
|
+
return SRGB_getInstance().x6d(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.v6d_1);
|
|
82
82
|
}
|
|
83
83
|
toString() {
|
|
84
|
-
return 'HSV(h=' + this.
|
|
84
|
+
return 'HSV(h=' + this.s6d_1 + ', s=' + this.t6d_1 + ', v=' + this.u6d_1 + ', alpha=' + this.v6d_1 + ')';
|
|
85
85
|
}
|
|
86
86
|
hashCode() {
|
|
87
|
-
var result = getNumberHashCode(this.
|
|
88
|
-
result = imul(result, 31) + getNumberHashCode(this.r6d_1) | 0;
|
|
89
|
-
result = imul(result, 31) + getNumberHashCode(this.s6d_1) | 0;
|
|
87
|
+
var result = getNumberHashCode(this.s6d_1);
|
|
90
88
|
result = imul(result, 31) + getNumberHashCode(this.t6d_1) | 0;
|
|
89
|
+
result = imul(result, 31) + getNumberHashCode(this.u6d_1) | 0;
|
|
90
|
+
result = imul(result, 31) + getNumberHashCode(this.v6d_1) | 0;
|
|
91
91
|
return result;
|
|
92
92
|
}
|
|
93
93
|
equals(other) {
|
|
@@ -96,18 +96,18 @@ function HSV() {
|
|
|
96
96
|
if (!(other instanceof HSV()))
|
|
97
97
|
return false;
|
|
98
98
|
var tmp0_other_with_cast = other instanceof HSV() ? other : THROW_CCE();
|
|
99
|
-
if (!equals(this.q6d_1, tmp0_other_with_cast.q6d_1))
|
|
100
|
-
return false;
|
|
101
|
-
if (!equals(this.r6d_1, tmp0_other_with_cast.r6d_1))
|
|
102
|
-
return false;
|
|
103
99
|
if (!equals(this.s6d_1, tmp0_other_with_cast.s6d_1))
|
|
104
100
|
return false;
|
|
105
101
|
if (!equals(this.t6d_1, tmp0_other_with_cast.t6d_1))
|
|
106
102
|
return false;
|
|
103
|
+
if (!equals(this.u6d_1, tmp0_other_with_cast.u6d_1))
|
|
104
|
+
return false;
|
|
105
|
+
if (!equals(this.v6d_1, tmp0_other_with_cast.v6d_1))
|
|
106
|
+
return false;
|
|
107
107
|
return true;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
protoOf($).
|
|
110
|
+
protoOf($).i6c = toXYZ;
|
|
111
111
|
initMetadataForClass($, 'HSV', VOID, VOID, [Color()]);
|
|
112
112
|
HSVClass = $;
|
|
113
113
|
}
|
|
@@ -61,25 +61,25 @@ var ICtCpClass;
|
|
|
61
61
|
function ICtCp() {
|
|
62
62
|
if (ICtCpClass === VOID) {
|
|
63
63
|
class $ {
|
|
64
|
-
|
|
65
|
-
var fo = RGBColorSpaces_getInstance().
|
|
64
|
+
d6e() {
|
|
65
|
+
var fo = RGBColorSpaces_getInstance().l6e_1.q6e();
|
|
66
66
|
var tmp0 = get_ICTCP_ICTCP_to_LMS();
|
|
67
|
-
var tmp2 = this.
|
|
68
|
-
var tmp4 = this.
|
|
67
|
+
var tmp2 = this.z6d_1;
|
|
68
|
+
var tmp4 = this.a6e_1;
|
|
69
69
|
// Inline function 'com.github.ajalt.colormath.internal.dot' call
|
|
70
|
-
var v2 = this.
|
|
70
|
+
var v2 = this.b6e_1;
|
|
71
71
|
var tmp0_0 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
|
|
72
72
|
var tmp2_0 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
|
|
73
73
|
var s = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
|
|
74
74
|
var tmp0_1 = get_ICTCP_LMS_to_RGB();
|
|
75
|
-
var tmp2_1 = PqNonlinearity_instance.
|
|
76
|
-
var tmp4_0 = PqNonlinearity_instance.
|
|
75
|
+
var tmp2_1 = PqNonlinearity_instance.z6e(tmp0_0);
|
|
76
|
+
var tmp4_0 = PqNonlinearity_instance.z6e(tmp2_0);
|
|
77
77
|
// Inline function 'com.github.ajalt.colormath.internal.dot' call
|
|
78
|
-
var v2_0 = PqNonlinearity_instance.
|
|
78
|
+
var v2_0 = PqNonlinearity_instance.z6e(s);
|
|
79
79
|
var tmp0_2 = Matrix__get_impl_xogbpk(tmp0_1, 0, 0) * tmp2_1 + Matrix__get_impl_xogbpk(tmp0_1, 1, 0) * tmp4_0 + Matrix__get_impl_xogbpk(tmp0_1, 2, 0) * v2_0;
|
|
80
80
|
var tmp2_2 = Matrix__get_impl_xogbpk(tmp0_1, 0, 1) * tmp2_1 + Matrix__get_impl_xogbpk(tmp0_1, 1, 1) * tmp4_0 + Matrix__get_impl_xogbpk(tmp0_1, 2, 1) * v2_0;
|
|
81
81
|
var b = Matrix__get_impl_xogbpk(tmp0_1, 0, 2) * tmp2_1 + Matrix__get_impl_xogbpk(tmp0_1, 1, 2) * tmp4_0 + Matrix__get_impl_xogbpk(tmp0_1, 2, 2) * v2_0;
|
|
82
|
-
return RGBColorSpaces_getInstance().
|
|
82
|
+
return RGBColorSpaces_getInstance().l6e_1.x6d(fo.a6f(tmp0_2), fo.a6f(tmp2_2), fo.a6f(b), this.c6e_1);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
initMetadataForClass($, 'ICtCp', VOID, VOID, [Color()]);
|
|
@@ -92,22 +92,22 @@ function PqNonlinearity() {
|
|
|
92
92
|
if (PqNonlinearityClass === VOID) {
|
|
93
93
|
class $ {
|
|
94
94
|
constructor() {
|
|
95
|
-
this.
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
95
|
+
this.r6e_1 = 0.1593017578125;
|
|
96
|
+
this.s6e_1 = 78.84375;
|
|
97
|
+
this.t6e_1 = 0.8359375;
|
|
98
|
+
this.u6e_1 = 18.8515625;
|
|
99
|
+
this.v6e_1 = 18.6875;
|
|
100
|
+
this.w6e_1 = 10000.0;
|
|
101
|
+
this.x6e_1 = 6.277394636015326;
|
|
102
|
+
this.y6e_1 = 0.012683313515655966;
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
z6e(x) {
|
|
105
105
|
var vp = spow(x, 0.012683313515655966);
|
|
106
106
|
var n = coerceAtLeast(vp - 0.8359375, 0.0);
|
|
107
107
|
var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
|
|
108
108
|
return 10000.0 * l;
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
a6f(x) {
|
|
111
111
|
var yp = spow_0(x / 10000.0, 0.1593017578125);
|
|
112
112
|
return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
|
|
113
113
|
}
|