@continuous-excellence/coupling-cli 1.1.438 → 1.1.439
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 +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +27 -9
- 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 +15 -15
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +4 -4
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +193 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs.map +1 -0
- 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 +158 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +37 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +30 -30
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +25 -25
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +29 -28
- 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 +29 -29
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +10 -10
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +229 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +46 -46
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +15 -15
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +8 -8
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +82 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +173 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +43 -43
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +41 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/SaveContributionInput.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +30 -30
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +46 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +5 -5
- 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 +110 -110
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +93 -93
- 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 +211 -211
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +6 -6
- 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 +230 -230
- 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/core/MordantContext.mjs +16 -16
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +65 -65
- 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 +25 -25
- 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 +121 -121
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +134 -134
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +62 -62
- 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 +63 -63
- 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 +79 -79
- 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 +234 -234
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +152 -152
- 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 +18 -18
- 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 +59 -59
- 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 +95 -95
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/package.json +1 -1
|
@@ -22,13 +22,13 @@ function Companion() {
|
|
|
22
22
|
class $ {
|
|
23
23
|
constructor() {
|
|
24
24
|
Companion_instance = this;
|
|
25
|
-
this.
|
|
25
|
+
this.h69_1 = componentInfoList([new (ColorComponentInfo())('code', false, 30.0, 107.0)]);
|
|
26
26
|
}
|
|
27
27
|
i1() {
|
|
28
28
|
return 'Ansi16';
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
return this.
|
|
30
|
+
i69() {
|
|
31
|
+
return this.h69_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.j69_1 = code;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
f68() {
|
|
54
54
|
return Companion_getInstance_0();
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
switch (this.
|
|
56
|
+
g68() {
|
|
57
|
+
switch (this.j69_1) {
|
|
58
58
|
case 30:
|
|
59
59
|
case 40:
|
|
60
|
-
return Companion_getInstance().
|
|
60
|
+
return Companion_getInstance().k69(0.0, 0.0, 0.0);
|
|
61
61
|
case 90:
|
|
62
62
|
case 100:
|
|
63
|
-
return Companion_getInstance().
|
|
63
|
+
return Companion_getInstance().l69(128, 128, 128);
|
|
64
64
|
case 37:
|
|
65
65
|
case 47:
|
|
66
|
-
return Companion_getInstance().
|
|
66
|
+
return Companion_getInstance().l69(192, 192, 192);
|
|
67
67
|
case 97:
|
|
68
68
|
case 107:
|
|
69
|
-
return Companion_getInstance().
|
|
69
|
+
return Companion_getInstance().k69(1.0, 1.0, 1.0);
|
|
70
70
|
}
|
|
71
|
-
var color = this.
|
|
72
|
-
var mul = this.
|
|
71
|
+
var color = this.j69_1 % 10 | 0;
|
|
72
|
+
var mul = this.j69_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().k69(r, g, b);
|
|
77
77
|
}
|
|
78
78
|
toString() {
|
|
79
|
-
return 'Ansi16(code=' + this.
|
|
79
|
+
return 'Ansi16(code=' + this.j69_1 + ')';
|
|
80
80
|
}
|
|
81
81
|
hashCode() {
|
|
82
|
-
return this.
|
|
82
|
+
return this.j69_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.j69_1 === tmp0_other_with_cast.j69_1))
|
|
91
91
|
return false;
|
|
92
92
|
return true;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
protoOf($).
|
|
95
|
+
protoOf($).h68 = 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.m69_1 = componentInfoList([new (ColorComponentInfo())('code', false, 0.0, 255.0)]);
|
|
28
28
|
}
|
|
29
29
|
i1() {
|
|
30
30
|
return 'Ansi256';
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
return this.
|
|
32
|
+
i69() {
|
|
33
|
+
return this.m69_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.n69_1 = code;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
f68() {
|
|
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
|
+
g68() {
|
|
59
|
+
if (this.n69_1 < 16)
|
|
60
|
+
return this.o69().g68();
|
|
61
|
+
if (this.n69_1 >= 232) {
|
|
62
|
+
var c = imul(this.n69_1 - 232 | 0, 10) + 8 | 0;
|
|
63
|
+
return Companion_getInstance().l69(c, c, c);
|
|
64
64
|
}
|
|
65
|
-
var c_0 = this.
|
|
65
|
+
var c_0 = this.n69_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().p69(r, g, b);
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
return this.
|
|
76
|
+
o69() {
|
|
77
|
+
return this.n69_1 < 8 ? new (Ansi16())(this.n69_1 + 30 | 0) : this.n69_1 < 16 ? new (Ansi16())((this.n69_1 - 8 | 0) + 90 | 0) : this.g68().o69();
|
|
78
78
|
}
|
|
79
79
|
toString() {
|
|
80
|
-
return 'Ansi256(code=' + this.
|
|
80
|
+
return 'Ansi256(code=' + this.n69_1 + ')';
|
|
81
81
|
}
|
|
82
82
|
hashCode() {
|
|
83
|
-
return this.
|
|
83
|
+
return this.n69_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.n69_1 === tmp0_other_with_cast.n69_1))
|
|
92
92
|
return false;
|
|
93
93
|
return true;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
protoOf($).
|
|
96
|
+
protoOf($).h68 = 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.q69_1 = polarComponentInfo('HSV', 0.0, 1.0);
|
|
33
33
|
}
|
|
34
34
|
i1() {
|
|
35
35
|
return 'HSV';
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
return this.
|
|
37
|
+
i69() {
|
|
38
|
+
return this.q69_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.r69_1 = h;
|
|
68
|
+
this.s69_1 = s;
|
|
69
|
+
this.t69_1 = v;
|
|
70
|
+
this.u69_1 = alpha;
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
f68() {
|
|
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
|
+
g68() {
|
|
76
|
+
if (this.s69_1 < 1.0E-7)
|
|
77
|
+
return Companion_getInstance().w69(this.t69_1, this.t69_1, this.t69_1, this.u69_1);
|
|
78
|
+
var v = this.t69_1;
|
|
79
|
+
var h = normalizeDeg(this.r69_1) / 60.0;
|
|
80
|
+
var s = this.s69_1;
|
|
81
|
+
return SRGB_getInstance().w69(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.u69_1);
|
|
82
82
|
}
|
|
83
83
|
toString() {
|
|
84
|
-
return 'HSV(h=' + this.
|
|
84
|
+
return 'HSV(h=' + this.r69_1 + ', s=' + this.s69_1 + ', v=' + this.t69_1 + ', alpha=' + this.u69_1 + ')';
|
|
85
85
|
}
|
|
86
86
|
hashCode() {
|
|
87
|
-
var result = getNumberHashCode(this.
|
|
88
|
-
result = imul(result, 31) + getNumberHashCode(this.
|
|
89
|
-
result = imul(result, 31) + getNumberHashCode(this.
|
|
90
|
-
result = imul(result, 31) + getNumberHashCode(this.
|
|
87
|
+
var result = getNumberHashCode(this.r69_1);
|
|
88
|
+
result = imul(result, 31) + getNumberHashCode(this.s69_1) | 0;
|
|
89
|
+
result = imul(result, 31) + getNumberHashCode(this.t69_1) | 0;
|
|
90
|
+
result = imul(result, 31) + getNumberHashCode(this.u69_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.
|
|
99
|
+
if (!equals(this.r69_1, tmp0_other_with_cast.r69_1))
|
|
100
100
|
return false;
|
|
101
|
-
if (!equals(this.
|
|
101
|
+
if (!equals(this.s69_1, tmp0_other_with_cast.s69_1))
|
|
102
102
|
return false;
|
|
103
|
-
if (!equals(this.
|
|
103
|
+
if (!equals(this.t69_1, tmp0_other_with_cast.t69_1))
|
|
104
104
|
return false;
|
|
105
|
-
if (!equals(this.
|
|
105
|
+
if (!equals(this.u69_1, tmp0_other_with_cast.u69_1))
|
|
106
106
|
return false;
|
|
107
107
|
return true;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
protoOf($).
|
|
110
|
+
protoOf($).h68 = 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
|
+
c6a() {
|
|
65
|
+
var fo = RGBColorSpaces_getInstance().k6a_1.p6a();
|
|
66
66
|
var tmp0 = get_ICTCP_ICTCP_to_LMS();
|
|
67
|
-
var tmp2 = this.
|
|
68
|
-
var tmp4 = this.
|
|
67
|
+
var tmp2 = this.y69_1;
|
|
68
|
+
var tmp4 = this.z69_1;
|
|
69
69
|
// Inline function 'com.github.ajalt.colormath.internal.dot' call
|
|
70
|
-
var v2 = this.
|
|
70
|
+
var v2 = this.a6a_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.y6a(tmp0_0);
|
|
76
|
+
var tmp4_0 = PqNonlinearity_instance.y6a(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.y6a(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().k6a_1.w69(fo.z6a(tmp0_2), fo.z6a(tmp2_2), fo.z6a(b), this.b6a_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.q6a_1 = 0.1593017578125;
|
|
96
|
+
this.r6a_1 = 78.84375;
|
|
97
|
+
this.s6a_1 = 0.8359375;
|
|
98
|
+
this.t6a_1 = 18.8515625;
|
|
99
|
+
this.u6a_1 = 18.6875;
|
|
100
|
+
this.v6a_1 = 10000.0;
|
|
101
|
+
this.w6a_1 = 6.277394636015326;
|
|
102
|
+
this.x6a_1 = 0.012683313515655966;
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
y6a(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
|
+
z6a(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
|
}
|