@flock/wirespec 0.9.23 → 0.9.24

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 (44) hide show
  1. package/arrow-arrow-annotations.js +1 -1
  2. package/arrow-arrow-atomic.js +17 -18
  3. package/arrow-arrow-atomic.js.map +1 -1
  4. package/arrow-arrow-continuations.js +4 -4
  5. package/arrow-arrow-core.js +96 -99
  6. package/arrow-arrow-core.js.map +1 -1
  7. package/clikt-clikt.js +2045 -2060
  8. package/clikt-clikt.js.map +1 -1
  9. package/colormath-root-colormath.js +552 -444
  10. package/colormath-root-colormath.js.map +1 -1
  11. package/kotlin-kotlin-stdlib.js +7794 -7837
  12. package/kotlin-kotlin-stdlib.js.map +1 -1
  13. package/{kotlin-kotlin-test-kotlin-test-js-ir.js → kotlin-kotlin-test.js} +3 -3
  14. package/kotlin-openapi-bindings.js +5331 -5326
  15. package/kotlin-openapi-bindings.js.map +1 -1
  16. package/kotlin-rgxgen.js +2051 -2052
  17. package/kotlin-rgxgen.js.map +1 -1
  18. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +1 -1
  19. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2151 -2187
  20. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  21. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1571 -1731
  22. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
  23. package/markdown.js +2308 -2317
  24. package/markdown.js.map +1 -1
  25. package/mordant-mordant.js +2405 -2492
  26. package/mordant-mordant.js.map +1 -1
  27. package/package.json +2 -2
  28. package/resources-library.js +1 -1
  29. package/wirespec-src-compiler-core.js +2578 -2457
  30. package/wirespec-src-compiler-core.js.map +1 -1
  31. package/wirespec-src-compiler-lib.js +706 -600
  32. package/wirespec-src-compiler-lib.js.map +1 -1
  33. package/wirespec-src-converter-openapi.js +1494 -1477
  34. package/wirespec-src-converter-openapi.js.map +1 -1
  35. package/wirespec-src-plugin-arguments.js +127 -124
  36. package/wirespec-src-plugin-arguments.js.map +1 -1
  37. package/wirespec-src-plugin-cli.js +236 -231
  38. package/wirespec-src-plugin-cli.js.map +1 -1
  39. package/wirespec-src-plugin-npm.d.ts +24 -7
  40. package/wirespec-src-plugin-npm.js +71 -71
  41. package/wirespec-src-plugin-npm.js.map +1 -1
  42. package/wirespec-src-tools-generator.js +176 -181
  43. package/wirespec-src-tools-generator.js.map +1 -1
  44. /package/{kotlin-kotlin-test-kotlin-test-js-ir.js.map → kotlin-kotlin-test.js.map} +0 -0
@@ -9,17 +9,16 @@
9
9
  }
10
10
  root['colormath-root-colormath'] = factory(typeof this['colormath-root-colormath'] === 'undefined' ? {} : this['colormath-root-colormath'], this['kotlin-kotlin-stdlib']);
11
11
  }
12
- }(this, function (_, kotlin_kotlin) {
12
+ }(globalThis, function (_, kotlin_kotlin) {
13
13
  'use strict';
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
16
  var log2 = Math.log2;
17
- var protoOf = kotlin_kotlin.$_$.qa;
18
- var classMeta = kotlin_kotlin.$_$.l9;
19
- var setMetadataFor = kotlin_kotlin.$_$.ra;
20
- var getStringHashCode = kotlin_kotlin.$_$.t9;
21
- var THROW_CCE = kotlin_kotlin.$_$.ye;
22
- var objectMeta = kotlin_kotlin.$_$.pa;
17
+ var protoOf = kotlin_kotlin.$_$.ta;
18
+ var initMetadataForClass = kotlin_kotlin.$_$.u9;
19
+ var getStringHashCode = kotlin_kotlin.$_$.s9;
20
+ var THROW_CCE = kotlin_kotlin.$_$.af;
21
+ var initMetadataForObject = kotlin_kotlin.$_$.z9;
23
22
  var charSequenceLength = kotlin_kotlin.$_$.j9;
24
23
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
25
24
  var charSequenceGet = kotlin_kotlin.$_$.i9;
@@ -32,56 +31,60 @@
32
31
  var collectionSizeOrDefault = kotlin_kotlin.$_$.h5;
33
32
  var arrayConcat = kotlin_kotlin.$_$.a;
34
33
  var listOf = kotlin_kotlin.$_$.f7;
35
- var withSign = kotlin_kotlin.$_$.xa;
34
+ var withSign = kotlin_kotlin.$_$.za;
35
+ var trimMargin = kotlin_kotlin.$_$.ee;
36
+ var hashCode = kotlin_kotlin.$_$.t9;
37
+ var equals = kotlin_kotlin.$_$.n9;
36
38
  var VOID = kotlin_kotlin.$_$.g;
37
- var coerceAtLeast = kotlin_kotlin.$_$.ab;
38
- var getNumberHashCode = kotlin_kotlin.$_$.r9;
39
- var equals = kotlin_kotlin.$_$.o9;
40
- var numberToDouble = kotlin_kotlin.$_$.ma;
41
- var interfaceMeta = kotlin_kotlin.$_$.v9;
42
- var roundToInt = kotlin_kotlin.$_$.wa;
43
- var coerceIn = kotlin_kotlin.$_$.eb;
39
+ var toString_0 = kotlin_kotlin.$_$.xa;
40
+ var initMetadataForCompanion = kotlin_kotlin.$_$.v9;
41
+ var coerceAtLeast = kotlin_kotlin.$_$.cb;
42
+ var getNumberHashCode = kotlin_kotlin.$_$.q9;
43
+ var numberToDouble = kotlin_kotlin.$_$.qa;
44
+ var initMetadataForInterface = kotlin_kotlin.$_$.x9;
45
+ var roundToInt = kotlin_kotlin.$_$.ya;
46
+ var coerceIn = kotlin_kotlin.$_$.gb;
44
47
  var DoubleCompanionObject_instance = kotlin_kotlin.$_$.s3;
45
- var hashCode = kotlin_kotlin.$_$.u9;
46
- var Char = kotlin_kotlin.$_$.ie;
47
- var toInt = kotlin_kotlin.$_$.sd;
48
- var numberRangeToNumber = kotlin_kotlin.$_$.ka;
49
- var slice = kotlin_kotlin.$_$.ed;
50
- var toString_0 = kotlin_kotlin.$_$.va;
48
+ var Char = kotlin_kotlin.$_$.ke;
49
+ var toInt = kotlin_kotlin.$_$.ud;
50
+ var numberRangeToNumber = kotlin_kotlin.$_$.oa;
51
+ var slice = kotlin_kotlin.$_$.gd;
51
52
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.j1;
52
- var startsWith = kotlin_kotlin.$_$.hd;
53
- var coerceAtLeast_0 = kotlin_kotlin.$_$.cb;
54
- var objectCreate = kotlin_kotlin.$_$.oa;
53
+ var startsWith = kotlin_kotlin.$_$.jd;
54
+ var coerceAtLeast_0 = kotlin_kotlin.$_$.eb;
55
+ var objectCreate = kotlin_kotlin.$_$.sa;
55
56
  //endregion
56
57
  //region block: pre-declaration
57
- setMetadataFor(ColorComponentInfo, 'ColorComponentInfo', classMeta);
58
- setMetadataFor(WhitePoint, 'WhitePoint', classMeta);
59
- setMetadataFor(Illuminant, 'Illuminant', objectMeta);
60
- setMetadataFor(Companion, 'Companion', objectMeta);
61
- setMetadataFor(Ansi16, 'Ansi16', classMeta);
62
- setMetadataFor(Companion_0, 'Companion', objectMeta);
63
- setMetadataFor(Ansi256, 'Ansi256', classMeta);
64
- setMetadataFor(Companion_1, 'Companion', objectMeta);
65
- setMetadataFor(HSV, 'HSV', classMeta);
66
- setMetadataFor(GammaTransferFunctions, 'GammaTransferFunctions', classMeta);
67
- setMetadataFor(LinearTransferFunctions, 'LinearTransferFunctions', objectMeta);
58
+ initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
59
+ initMetadataForClass(WhitePoint, 'WhitePoint');
60
+ initMetadataForObject(Illuminant, 'Illuminant');
61
+ initMetadataForClass(Matrix, 'Matrix');
62
+ initMetadataForClass(Vector, 'Vector');
63
+ initMetadataForCompanion(Companion);
64
+ initMetadataForClass(Ansi16, 'Ansi16');
65
+ initMetadataForCompanion(Companion_0);
66
+ initMetadataForClass(Ansi256, 'Ansi256');
67
+ initMetadataForCompanion(Companion_1);
68
+ initMetadataForClass(HSV, 'HSV');
69
+ initMetadataForClass(GammaTransferFunctions, 'GammaTransferFunctions');
70
+ initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
68
71
  function invoke$default(r, g, b, alpha, $super) {
69
72
  alpha = alpha === VOID ? 1.0 : alpha;
70
- return $super === VOID ? this.e34(r, g, b, alpha) : $super.e34.call(this, r, g, b, alpha);
73
+ return $super === VOID ? this.c35(r, g, b, alpha) : $super.c35.call(this, r, g, b, alpha);
71
74
  }
72
75
  function invoke(r, g, b, alpha) {
73
- return this.e34(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
76
+ return this.c35(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
74
77
  }
75
78
  function invoke$default_0(r, g, b, alpha, $super) {
76
79
  alpha = alpha === VOID ? 1.0 : alpha;
77
- return $super === VOID ? this.o34(r, g, b, alpha) : invoke(r, g, b, alpha);
80
+ return $super === VOID ? this.m35(r, g, b, alpha) : invoke(r, g, b, alpha);
78
81
  }
79
82
  function from255(r, g, b, alpha) {
80
- return this.e34(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
83
+ return this.c35(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
81
84
  }
82
85
  function from255$default(r, g, b, alpha, $super) {
83
86
  alpha = alpha === VOID ? 255 : alpha;
84
- return $super === VOID ? this.p34(r, g, b, alpha) : from255(r, g, b, alpha);
87
+ return $super === VOID ? this.n35(r, g, b, alpha) : from255(r, g, b, alpha);
85
88
  }
86
89
  function invoke_0(hex) {
87
90
  var tmp = parseHex(validateHex(hex), 0);
@@ -92,46 +95,46 @@
92
95
  // Inline function 'kotlin.contracts.contract' call
93
96
  // Inline function 'com.github.ajalt.colormath.model.RGBColorSpace.invoke.<anonymous>' call
94
97
  var it = get_hexLength(hex);
95
- if (it === 4 ? true : it === 8) {
98
+ if (it === 4 || it === 8) {
96
99
  tmp_2 = parseHex(hex, 3);
97
100
  } else {
98
101
  tmp_2 = 255;
99
102
  }
100
- return this.p34(tmp, tmp_0, tmp_1, tmp_2);
101
- }
102
- setMetadataFor(RGBColorSpace, 'RGBColorSpace', interfaceMeta);
103
- setMetadataFor(Companion_2, 'Companion', objectMeta, VOID, [RGBColorSpace]);
104
- setMetadataFor(RGB, 'RGB', classMeta);
105
- setMetadataFor(RGBColorSpaces, 'RGBColorSpaces', objectMeta);
106
- setMetadataFor(SRGB, 'SRGB', objectMeta, VOID, [RGBColorSpace]);
107
- setMetadataFor(ACESccTransferFunctions, 'ACESccTransferFunctions', objectMeta);
108
- setMetadataFor(ACEScctTransferFunctions, 'ACEScctTransferFunctions', objectMeta);
109
- setMetadataFor(BT2020Space, 'BT2020Space', objectMeta, VOID, [RGBColorSpace]);
110
- setMetadataFor(BT709TransferFunctions, 'BT709TransferFunctions', objectMeta);
111
- setMetadataFor(SRGBTransferFunctions, 'SRGBTransferFunctions', objectMeta);
112
- setMetadataFor(ROMMTransferFunctions, 'ROMMTransferFunctions', objectMeta);
113
- setMetadataFor(RGBColorSpaceImpl, 'RGBColorSpaceImpl', classMeta, VOID, [RGBColorSpace]);
114
- setMetadataFor(BT2020TransferFunctions, 'BT2020TransferFunctions', objectMeta);
115
- setMetadataFor(Companion_3, 'Companion', objectMeta);
116
- setMetadataFor(XYZ, 'XYZ', classMeta);
117
- setMetadataFor(XYZColorSpaces, 'XYZColorSpaces', objectMeta);
118
- setMetadataFor(XYZColorSpaceImpl, 'XYZColorSpaceImpl', classMeta);
119
- setMetadataFor(xyY, 'xyY', classMeta);
103
+ return this.n35(tmp, tmp_0, tmp_1, tmp_2);
104
+ }
105
+ initMetadataForInterface(RGBColorSpace, 'RGBColorSpace');
106
+ initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
107
+ initMetadataForClass(RGB, 'RGB');
108
+ initMetadataForObject(RGBColorSpaces, 'RGBColorSpaces');
109
+ initMetadataForObject(SRGB, 'SRGB', VOID, VOID, [RGBColorSpace]);
110
+ initMetadataForObject(ACESccTransferFunctions, 'ACESccTransferFunctions');
111
+ initMetadataForObject(ACEScctTransferFunctions, 'ACEScctTransferFunctions');
112
+ initMetadataForObject(BT2020Space, 'BT2020Space', VOID, VOID, [RGBColorSpace]);
113
+ initMetadataForObject(BT709TransferFunctions, 'BT709TransferFunctions');
114
+ initMetadataForObject(SRGBTransferFunctions, 'SRGBTransferFunctions');
115
+ initMetadataForObject(ROMMTransferFunctions, 'ROMMTransferFunctions');
116
+ initMetadataForClass(RGBColorSpaceImpl, 'RGBColorSpaceImpl', VOID, VOID, [RGBColorSpace]);
117
+ initMetadataForObject(BT2020TransferFunctions, 'BT2020TransferFunctions');
118
+ initMetadataForCompanion(Companion_3);
119
+ initMetadataForClass(XYZ, 'XYZ');
120
+ initMetadataForObject(XYZColorSpaces, 'XYZColorSpaces');
121
+ initMetadataForClass(XYZColorSpaceImpl, 'XYZColorSpaceImpl');
122
+ initMetadataForClass(xyY, 'xyY');
120
123
  //endregion
121
124
  function ColorComponentInfo(name, isPolar) {
122
- this.y32_1 = name;
123
- this.z32_1 = isPolar;
125
+ this.u33_1 = name;
126
+ this.v33_1 = isPolar;
124
127
  }
125
128
  function WhitePoint(name, chromaticity) {
126
- this.a33_1 = name;
127
- this.b33_1 = chromaticity;
129
+ this.w33_1 = name;
130
+ this.x33_1 = chromaticity;
128
131
  }
129
132
  protoOf(WhitePoint).toString = function () {
130
- return this.a33_1;
133
+ return this.w33_1;
131
134
  };
132
135
  protoOf(WhitePoint).hashCode = function () {
133
- var result = getStringHashCode(this.a33_1);
134
- result = imul(result, 31) + this.b33_1.hashCode() | 0;
136
+ var result = getStringHashCode(this.w33_1);
137
+ result = imul(result, 31) + this.x33_1.hashCode() | 0;
135
138
  return result;
136
139
  };
137
140
  protoOf(WhitePoint).equals = function (other) {
@@ -140,22 +143,22 @@
140
143
  if (!(other instanceof WhitePoint))
141
144
  return false;
142
145
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
143
- if (!(this.a33_1 === tmp0_other_with_cast.a33_1))
146
+ if (!(this.w33_1 === tmp0_other_with_cast.w33_1))
144
147
  return false;
145
- if (!this.b33_1.equals(tmp0_other_with_cast.b33_1))
148
+ if (!this.x33_1.equals(tmp0_other_with_cast.x33_1))
146
149
  return false;
147
150
  return true;
148
151
  };
149
152
  function Illuminant() {
150
153
  Illuminant_instance = this;
151
- this.c33_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
152
- this.d33_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
153
- this.e33_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
154
- this.f33_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
155
- this.g33_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
156
- this.h33_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
157
- this.i33_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
158
- this.j33_1 = new WhitePoint('E', xyY_init_$Create$(0.3333333333333333, 0.3333333333333333));
154
+ this.y33_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
155
+ this.z33_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
156
+ this.a34_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
157
+ this.b34_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
158
+ this.c34_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
159
+ this.d34_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
160
+ this.e34_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
161
+ this.f34_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
159
162
  }
160
163
  var Illuminant_instance;
161
164
  function Illuminant_getInstance() {
@@ -174,7 +177,7 @@
174
177
  inductionVariable = inductionVariable + 1 | 0;
175
178
  // Inline function 'com.github.ajalt.colormath.internal.rectangularComponentInfo.<anonymous>' call
176
179
  var tmp$ret$0 = toString(item);
177
- destination.s(tmp$ret$0);
180
+ destination.e(tmp$ret$0);
178
181
  }
179
182
  var tmp$ret$3 = copyToArray(destination);
180
183
  return rectangularComponentInfo_0(tmp$ret$3.slice());
@@ -189,7 +192,7 @@
189
192
  inductionVariable = inductionVariable + 1 | 0;
190
193
  // Inline function 'com.github.ajalt.colormath.internal.polarComponentInfo.<anonymous>' call
191
194
  var tmp$ret$0 = new ColorComponentInfo(toString(item), item === _Char___init__impl__6a9atx(72));
192
- destination.s(tmp$ret$0);
195
+ destination.e(tmp$ret$0);
193
196
  }
194
197
  return plus(destination, new ColorComponentInfo('alpha', false));
195
198
  }
@@ -198,12 +201,12 @@
198
201
  var this_0 = plus(asList(names), 'alpha');
199
202
  // Inline function 'kotlin.collections.mapTo' call
200
203
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
201
- var tmp0_iterator = this_0.v();
202
- while (tmp0_iterator.w()) {
203
- var item = tmp0_iterator.y();
204
+ var tmp0_iterator = this_0.g();
205
+ while (tmp0_iterator.h()) {
206
+ var item = tmp0_iterator.i();
204
207
  // Inline function 'com.github.ajalt.colormath.internal.rectangularComponentInfo.<anonymous>' call
205
208
  var tmp$ret$0 = new ColorComponentInfo(item, false);
206
- destination.s(tmp$ret$0);
209
+ destination.e(tmp$ret$0);
207
210
  }
208
211
  return destination;
209
212
  }
@@ -270,6 +273,32 @@
270
273
  function Matrix__set_impl_s2l54c_0($this, x, y, value) {
271
274
  return Matrix__set_impl_s2l54c($this, x, y, value);
272
275
  }
276
+ function Matrix__toString_impl_l0abk0($this) {
277
+ return trimMargin('Mat3(\n | ' + Matrix__get_impl_xogbpk($this, 0, 0) + ', ' + Matrix__get_impl_xogbpk($this, 1, 0) + ', ' + Matrix__get_impl_xogbpk($this, 2, 0) + ', \n | ' + Matrix__get_impl_xogbpk($this, 0, 1) + ', ' + Matrix__get_impl_xogbpk($this, 1, 1) + ', ' + Matrix__get_impl_xogbpk($this, 2, 1) + ', \n | ' + Matrix__get_impl_xogbpk($this, 0, 2) + ', ' + Matrix__get_impl_xogbpk($this, 1, 2) + ', ' + Matrix__get_impl_xogbpk($this, 2, 2) + ', \n |)\n ');
278
+ }
279
+ function Matrix__hashCode_impl_s9ntm9($this) {
280
+ return hashCode($this);
281
+ }
282
+ function Matrix__equals_impl_g5p8p9($this, other) {
283
+ if (!(other instanceof Matrix))
284
+ return false;
285
+ var tmp0_other_with_cast = other instanceof Matrix ? other.g34_1 : THROW_CCE();
286
+ if (!equals($this, tmp0_other_with_cast))
287
+ return false;
288
+ return true;
289
+ }
290
+ function Matrix(rowMajor) {
291
+ this.g34_1 = rowMajor;
292
+ }
293
+ protoOf(Matrix).toString = function () {
294
+ return Matrix__toString_impl_l0abk0(this.g34_1);
295
+ };
296
+ protoOf(Matrix).hashCode = function () {
297
+ return Matrix__hashCode_impl_s9ntm9(this.g34_1);
298
+ };
299
+ protoOf(Matrix).equals = function (other) {
300
+ return Matrix__equals_impl_g5p8p9(this.g34_1, other);
301
+ };
273
302
  function inverse(_this__u8e3s4, inPlace) {
274
303
  inPlace = inPlace === VOID ? false : inPlace;
275
304
  var a = Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 0);
@@ -323,6 +352,32 @@
323
352
  function _Vector___get_s__impl__pzuljk($this) {
324
353
  return _Vector___get_values__impl__3gdbp5($this)[2];
325
354
  }
355
+ function Vector__toString_impl_hn2ybi($this) {
356
+ return 'Vector(values=' + toString_0($this) + ')';
357
+ }
358
+ function Vector__hashCode_impl_442yhd($this) {
359
+ return hashCode($this);
360
+ }
361
+ function Vector__equals_impl_hy6igl($this, other) {
362
+ if (!(other instanceof Vector))
363
+ return false;
364
+ var tmp0_other_with_cast = other instanceof Vector ? other.h34_1 : THROW_CCE();
365
+ if (!equals($this, tmp0_other_with_cast))
366
+ return false;
367
+ return true;
368
+ }
369
+ function Vector(values) {
370
+ this.h34_1 = values;
371
+ }
372
+ protoOf(Vector).toString = function () {
373
+ return Vector__toString_impl_hn2ybi(this.h34_1);
374
+ };
375
+ protoOf(Vector).hashCode = function () {
376
+ return Vector__hashCode_impl_442yhd(this.h34_1);
377
+ };
378
+ protoOf(Vector).equals = function (other) {
379
+ return Vector__equals_impl_hy6igl(this.h34_1, other);
380
+ };
326
381
  function dot_0(_this__u8e3s4, v0, v1, v2) {
327
382
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
328
383
  return _Vector___init__impl__y7x4qq_0(Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 0) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 0) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 0) * v2, Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 1) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 1) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 1) * v2, Matrix__get_impl_xogbpk(_this__u8e3s4, 0, 2) * v0 + Matrix__get_impl_xogbpk(_this__u8e3s4, 1, 2) * v1 + Matrix__get_impl_xogbpk(_this__u8e3s4, 2, 2) * v2);
@@ -332,7 +387,7 @@
332
387
  }
333
388
  function Companion() {
334
389
  Companion_instance = this;
335
- this.k33_1 = componentInfoList([new ColorComponentInfo('code', false)]);
390
+ this.i34_1 = componentInfoList([new ColorComponentInfo('code', false)]);
336
391
  }
337
392
  var Companion_instance;
338
393
  function Companion_getInstance() {
@@ -342,35 +397,35 @@
342
397
  }
343
398
  function Ansi16(code) {
344
399
  Companion_getInstance();
345
- this.l33_1 = code;
400
+ this.j34_1 = code;
346
401
  }
347
- protoOf(Ansi16).m33 = function () {
348
- switch (this.l33_1) {
402
+ protoOf(Ansi16).k34 = function () {
403
+ switch (this.j34_1) {
349
404
  case 30:
350
405
  case 40:
351
- return Companion_getInstance_2().n33(0.0, 0.0, 0.0);
406
+ return Companion_getInstance_2().l34(0.0, 0.0, 0.0);
352
407
  case 90:
353
408
  case 100:
354
- return Companion_getInstance_2().o33(128, 128, 128);
409
+ return Companion_getInstance_2().m34(128, 128, 128);
355
410
  case 37:
356
411
  case 47:
357
- return Companion_getInstance_2().o33(192, 192, 192);
412
+ return Companion_getInstance_2().m34(192, 192, 192);
358
413
  case 97:
359
414
  case 107:
360
- return Companion_getInstance_2().n33(1.0, 1.0, 1.0);
415
+ return Companion_getInstance_2().l34(1.0, 1.0, 1.0);
361
416
  }
362
- var color = this.l33_1 % 10 | 0;
363
- var mul = this.l33_1 > 50 ? 1.0 : 0.5;
417
+ var color = this.j34_1 % 10 | 0;
418
+ var mul = this.j34_1 > 50 ? 1.0 : 0.5;
364
419
  var r = (color % 2 | 0) * mul;
365
420
  var g = ((color / 2 | 0) % 2 | 0) * mul;
366
421
  var b = ((color / 4 | 0) % 2 | 0) * mul;
367
- return Companion_getInstance_2().n33(r, g, b);
422
+ return Companion_getInstance_2().l34(r, g, b);
368
423
  };
369
424
  protoOf(Ansi16).toString = function () {
370
- return 'Ansi16(code=' + this.l33_1 + ')';
425
+ return 'Ansi16(code=' + this.j34_1 + ')';
371
426
  };
372
427
  protoOf(Ansi16).hashCode = function () {
373
- return this.l33_1;
428
+ return this.j34_1;
374
429
  };
375
430
  protoOf(Ansi16).equals = function (other) {
376
431
  if (this === other)
@@ -378,13 +433,13 @@
378
433
  if (!(other instanceof Ansi16))
379
434
  return false;
380
435
  var tmp0_other_with_cast = other instanceof Ansi16 ? other : THROW_CCE();
381
- if (!(this.l33_1 === tmp0_other_with_cast.l33_1))
436
+ if (!(this.j34_1 === tmp0_other_with_cast.j34_1))
382
437
  return false;
383
438
  return true;
384
439
  };
385
440
  function Companion_0() {
386
441
  Companion_instance_0 = this;
387
- this.p33_1 = componentInfoList([new ColorComponentInfo('code', false)]);
442
+ this.n34_1 = componentInfoList([new ColorComponentInfo('code', false)]);
388
443
  }
389
444
  var Companion_instance_0;
390
445
  function Companion_getInstance_0() {
@@ -394,16 +449,16 @@
394
449
  }
395
450
  function Ansi256(code) {
396
451
  Companion_getInstance_0();
397
- this.q33_1 = code;
398
- }
399
- protoOf(Ansi256).m33 = function () {
400
- if (this.q33_1 < 16)
401
- return this.r33().m33();
402
- if (this.q33_1 >= 232) {
403
- var c = imul(this.q33_1 - 232 | 0, 10) + 8 | 0;
404
- return Companion_getInstance_2().o33(c, c, c);
452
+ this.o34_1 = code;
453
+ }
454
+ protoOf(Ansi256).k34 = function () {
455
+ if (this.o34_1 < 16)
456
+ return this.p34().k34();
457
+ if (this.o34_1 >= 232) {
458
+ var c = imul(this.o34_1 - 232 | 0, 10) + 8 | 0;
459
+ return Companion_getInstance_2().m34(c, c, c);
405
460
  }
406
- var c_0 = this.q33_1 - 16 | 0;
461
+ var c_0 = this.o34_1 - 16 | 0;
407
462
  var rem = c_0 % 36 | 0;
408
463
  // Inline function 'kotlin.math.floor' call
409
464
  var x = c_0 / 36.0;
@@ -412,16 +467,16 @@
412
467
  var x_0 = rem / 6.0;
413
468
  var g = Math.floor(x_0) / 5.0;
414
469
  var b = (rem % 6 | 0) / 5.0;
415
- return Companion_getInstance_2().s33(r, g, b);
470
+ return Companion_getInstance_2().q34(r, g, b);
416
471
  };
417
- protoOf(Ansi256).r33 = function () {
418
- return this.q33_1 < 8 ? new Ansi16(this.q33_1 + 30 | 0) : this.q33_1 < 16 ? new Ansi16((this.q33_1 - 8 | 0) + 90 | 0) : this.m33().r33();
472
+ protoOf(Ansi256).p34 = function () {
473
+ return this.o34_1 < 8 ? new Ansi16(this.o34_1 + 30 | 0) : this.o34_1 < 16 ? new Ansi16((this.o34_1 - 8 | 0) + 90 | 0) : this.k34().p34();
419
474
  };
420
475
  protoOf(Ansi256).toString = function () {
421
- return 'Ansi256(code=' + this.q33_1 + ')';
476
+ return 'Ansi256(code=' + this.o34_1 + ')';
422
477
  };
423
478
  protoOf(Ansi256).hashCode = function () {
424
- return this.q33_1;
479
+ return this.o34_1;
425
480
  };
426
481
  protoOf(Ansi256).equals = function (other) {
427
482
  if (this === other)
@@ -429,13 +484,13 @@
429
484
  if (!(other instanceof Ansi256))
430
485
  return false;
431
486
  var tmp0_other_with_cast = other instanceof Ansi256 ? other : THROW_CCE();
432
- if (!(this.q33_1 === tmp0_other_with_cast.q33_1))
487
+ if (!(this.o34_1 === tmp0_other_with_cast.o34_1))
433
488
  return false;
434
489
  return true;
435
490
  };
436
491
  function Companion_1() {
437
492
  Companion_instance_1 = this;
438
- this.y33_1 = polarComponentInfo('HSV');
493
+ this.w34_1 = polarComponentInfo('HSV');
439
494
  }
440
495
  var Companion_instance_1;
441
496
  function Companion_getInstance_1() {
@@ -454,27 +509,27 @@
454
509
  function HSV(h, s, v, alpha) {
455
510
  Companion_getInstance_1();
456
511
  alpha = alpha === VOID ? 1.0 : alpha;
457
- this.z33_1 = h;
458
- this.a34_1 = s;
459
- this.b34_1 = v;
460
- this.c34_1 = alpha;
461
- }
462
- protoOf(HSV).m33 = function () {
463
- if (this.a34_1 < 1.0E-7)
464
- return Companion_getInstance_2().e34(this.b34_1, this.b34_1, this.b34_1, this.c34_1);
465
- var v = this.b34_1;
466
- var h = normalizeDeg_0(this.z33_1) / 60.0;
467
- var s = this.a34_1;
468
- return SRGB_getInstance().e34(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.c34_1);
512
+ this.x34_1 = h;
513
+ this.y34_1 = s;
514
+ this.z34_1 = v;
515
+ this.a35_1 = alpha;
516
+ }
517
+ protoOf(HSV).k34 = function () {
518
+ if (this.y34_1 < 1.0E-7)
519
+ return Companion_getInstance_2().c35(this.z34_1, this.z34_1, this.z34_1, this.a35_1);
520
+ var v = this.z34_1;
521
+ var h = normalizeDeg_0(this.x34_1) / 60.0;
522
+ var s = this.y34_1;
523
+ return SRGB_getInstance().c35(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.a35_1);
469
524
  };
470
525
  protoOf(HSV).toString = function () {
471
- return 'HSV(h=' + this.z33_1 + ', s=' + this.a34_1 + ', v=' + this.b34_1 + ', alpha=' + this.c34_1 + ')';
526
+ return 'HSV(h=' + this.x34_1 + ', s=' + this.y34_1 + ', v=' + this.z34_1 + ', alpha=' + this.a35_1 + ')';
472
527
  };
473
528
  protoOf(HSV).hashCode = function () {
474
- var result = getNumberHashCode(this.z33_1);
475
- result = imul(result, 31) + getNumberHashCode(this.a34_1) | 0;
476
- result = imul(result, 31) + getNumberHashCode(this.b34_1) | 0;
477
- result = imul(result, 31) + getNumberHashCode(this.c34_1) | 0;
529
+ var result = getNumberHashCode(this.x34_1);
530
+ result = imul(result, 31) + getNumberHashCode(this.y34_1) | 0;
531
+ result = imul(result, 31) + getNumberHashCode(this.z34_1) | 0;
532
+ result = imul(result, 31) + getNumberHashCode(this.a35_1) | 0;
478
533
  return result;
479
534
  };
480
535
  protoOf(HSV).equals = function (other) {
@@ -483,30 +538,30 @@
483
538
  if (!(other instanceof HSV))
484
539
  return false;
485
540
  var tmp0_other_with_cast = other instanceof HSV ? other : THROW_CCE();
486
- if (!equals(this.z33_1, tmp0_other_with_cast.z33_1))
541
+ if (!equals(this.x34_1, tmp0_other_with_cast.x34_1))
487
542
  return false;
488
- if (!equals(this.a34_1, tmp0_other_with_cast.a34_1))
543
+ if (!equals(this.y34_1, tmp0_other_with_cast.y34_1))
489
544
  return false;
490
- if (!equals(this.b34_1, tmp0_other_with_cast.b34_1))
545
+ if (!equals(this.z34_1, tmp0_other_with_cast.z34_1))
491
546
  return false;
492
- if (!equals(this.c34_1, tmp0_other_with_cast.c34_1))
547
+ if (!equals(this.a35_1, tmp0_other_with_cast.a35_1))
493
548
  return false;
494
549
  return true;
495
550
  };
496
551
  function GammaTransferFunctions(gamma) {
497
- this.l34_1 = gamma;
552
+ this.j35_1 = gamma;
498
553
  }
499
- protoOf(GammaTransferFunctions).m34 = function (x) {
500
- return spow(x, this.l34_1);
554
+ protoOf(GammaTransferFunctions).k35 = function (x) {
555
+ return spow(x, this.j35_1);
501
556
  };
502
- protoOf(GammaTransferFunctions).n34 = function (x) {
503
- return spow(x, 1.0 / this.l34_1);
557
+ protoOf(GammaTransferFunctions).l35 = function (x) {
558
+ return spow(x, 1.0 / this.j35_1);
504
559
  };
505
560
  protoOf(GammaTransferFunctions).toString = function () {
506
- return 'GammaTransferFunctions(gamma=' + this.l34_1 + ')';
561
+ return 'GammaTransferFunctions(gamma=' + this.j35_1 + ')';
507
562
  };
508
563
  protoOf(GammaTransferFunctions).hashCode = function () {
509
- return getNumberHashCode(this.l34_1);
564
+ return getNumberHashCode(this.j35_1);
510
565
  };
511
566
  protoOf(GammaTransferFunctions).equals = function (other) {
512
567
  if (this === other)
@@ -514,16 +569,16 @@
514
569
  if (!(other instanceof GammaTransferFunctions))
515
570
  return false;
516
571
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
517
- if (!equals(this.l34_1, tmp0_other_with_cast.l34_1))
572
+ if (!equals(this.j35_1, tmp0_other_with_cast.j35_1))
518
573
  return false;
519
574
  return true;
520
575
  };
521
576
  function LinearTransferFunctions() {
522
577
  }
523
- protoOf(LinearTransferFunctions).m34 = function (x) {
578
+ protoOf(LinearTransferFunctions).k35 = function (x) {
524
579
  return x;
525
580
  };
526
- protoOf(LinearTransferFunctions).n34 = function (x) {
581
+ protoOf(LinearTransferFunctions).l35 = function (x) {
527
582
  return x;
528
583
  };
529
584
  var LinearTransferFunctions_instance;
@@ -534,31 +589,31 @@
534
589
  }
535
590
  function Companion_2() {
536
591
  Companion_instance_2 = this;
537
- this.d34_1 = RGBColorSpaces_getInstance().u34_1;
592
+ this.b35_1 = RGBColorSpaces_getInstance().s35_1;
538
593
  }
539
- protoOf(Companion_2).s34 = function () {
540
- return this.d34_1.s34();
594
+ protoOf(Companion_2).q35 = function () {
595
+ return this.b35_1.q35();
541
596
  };
542
- protoOf(Companion_2).r34 = function () {
543
- return this.d34_1.r34();
597
+ protoOf(Companion_2).p35 = function () {
598
+ return this.b35_1.p35();
544
599
  };
545
- protoOf(Companion_2).q34 = function () {
546
- return this.d34_1.q34();
600
+ protoOf(Companion_2).o35 = function () {
601
+ return this.b35_1.o35();
547
602
  };
548
- protoOf(Companion_2).t34 = function () {
549
- return this.d34_1.t34();
603
+ protoOf(Companion_2).r35 = function () {
604
+ return this.b35_1.r35();
550
605
  };
551
- protoOf(Companion_2).p34 = function (r, g, b, alpha) {
552
- return this.d34_1.p34(r, g, b, alpha);
606
+ protoOf(Companion_2).n35 = function (r, g, b, alpha) {
607
+ return this.b35_1.n35(r, g, b, alpha);
553
608
  };
554
- protoOf(Companion_2).e34 = function (r, g, b, alpha) {
555
- return this.d34_1.e34(r, g, b, alpha);
609
+ protoOf(Companion_2).c35 = function (r, g, b, alpha) {
610
+ return this.b35_1.c35(r, g, b, alpha);
556
611
  };
557
- protoOf(Companion_2).o34 = function (r, g, b, alpha) {
558
- return this.d34_1.o34(r, g, b, alpha);
612
+ protoOf(Companion_2).m35 = function (r, g, b, alpha) {
613
+ return this.b35_1.m35(r, g, b, alpha);
559
614
  };
560
- protoOf(Companion_2).w28 = function (hex) {
561
- return this.d34_1.w28(hex);
615
+ protoOf(Companion_2).q29 = function (hex) {
616
+ return this.b35_1.q29(hex);
562
617
  };
563
618
  var Companion_instance_2;
564
619
  function Companion_getInstance_2() {
@@ -568,43 +623,43 @@
568
623
  }
569
624
  function RGB(r, g, b, alpha, space) {
570
625
  Companion_getInstance_2();
571
- this.t33_1 = r;
572
- this.u33_1 = g;
573
- this.v33_1 = b;
574
- this.w33_1 = alpha;
575
- this.x33_1 = space;
626
+ this.r34_1 = r;
627
+ this.s34_1 = g;
628
+ this.t34_1 = b;
629
+ this.u34_1 = alpha;
630
+ this.v34_1 = space;
576
631
  }
577
- protoOf(RGB).g35 = function () {
632
+ protoOf(RGB).e36 = function () {
578
633
  // Inline function 'kotlin.math.roundToInt' call
579
- var this_0 = this.t33_1 * 255;
634
+ var this_0 = this.r34_1 * 255;
580
635
  return roundToInt(this_0);
581
636
  };
582
- protoOf(RGB).h35 = function () {
637
+ protoOf(RGB).f36 = function () {
583
638
  // Inline function 'kotlin.math.roundToInt' call
584
- var this_0 = this.u33_1 * 255;
639
+ var this_0 = this.s34_1 * 255;
585
640
  return roundToInt(this_0);
586
641
  };
587
- protoOf(RGB).i35 = function () {
642
+ protoOf(RGB).g36 = function () {
588
643
  // Inline function 'kotlin.math.roundToInt' call
589
- var this_0 = this.v33_1 * 255;
644
+ var this_0 = this.t34_1 * 255;
590
645
  return roundToInt(this_0);
591
646
  };
592
- protoOf(RGB).j35 = function (space) {
593
- var f = SRGB_getInstance().i34_1;
594
- return equals(this.x33_1, space) ? this : (equals(this.x33_1, SRGB_getInstance()) ? equals(space, RGBColorSpaces_getInstance().v34_1) : false) ? space.e34(f.m34(this.t33_1), f.m34(this.u33_1), f.m34(this.v33_1), this.w33_1) : (equals(this.x33_1, RGBColorSpaces_getInstance().v34_1) ? equals(space, SRGB_getInstance()) : false) ? space.e34(f.n34(this.t33_1), f.n34(this.u33_1), f.n34(this.v33_1), this.w33_1) : this.k35().q35(space);
647
+ protoOf(RGB).h36 = function (space) {
648
+ var f = SRGB_getInstance().g35_1;
649
+ return equals(this.v34_1, space) ? this : equals(this.v34_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().t35_1) ? space.c35(f.k35(this.r34_1), f.k35(this.s34_1), f.k35(this.t34_1), this.u34_1) : equals(this.v34_1, RGBColorSpaces_getInstance().t35_1) && equals(space, SRGB_getInstance()) ? space.c35(f.l35(this.r34_1), f.l35(this.s34_1), f.l35(this.t34_1), this.u34_1) : this.i36().o36(space);
595
650
  };
596
- protoOf(RGB).r35 = function () {
597
- return this.s35(coerceIn(this.t33_1, 0.0, 1.0), coerceIn(this.u33_1, 0.0, 1.0), coerceIn(this.v33_1, 0.0, 1.0), coerceIn(this.w33_1, 0.0, 1.0));
651
+ protoOf(RGB).p36 = function () {
652
+ return this.q36(coerceIn(this.r34_1, 0.0, 1.0), coerceIn(this.s34_1, 0.0, 1.0), coerceIn(this.t34_1, 0.0, 1.0), coerceIn(this.u34_1, 0.0, 1.0));
598
653
  };
599
- protoOf(RGB).t35 = function () {
654
+ protoOf(RGB).r36 = function () {
600
655
  var tmp$ret$3;
601
656
  $l$block: {
602
657
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
603
658
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
604
- var $this$toSRGB = this.j35(SRGB_getInstance());
605
- var r = $this$toSRGB.t33_1;
606
- var g = $this$toSRGB.u33_1;
607
- var b = $this$toSRGB.v33_1;
659
+ var $this$toSRGB = this.h36(SRGB_getInstance());
660
+ var r = $this$toSRGB.r34_1;
661
+ var g = $this$toSRGB.s34_1;
662
+ var b = $this$toSRGB.t34_1;
608
663
  // Inline function 'kotlin.comparisons.minOf' call
609
664
  var min = Math.min(r, g, b);
610
665
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -626,94 +681,94 @@
626
681
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSV.<anonymous>' call
627
682
  var h_0 = normalizeDeg(h);
628
683
  var s = max === 0.0 ? 0.0 : chroma / max;
629
- tmp$ret$3 = new HSV(h_0, s, max, this.w33_1);
684
+ tmp$ret$3 = new HSV(h_0, s, max, this.u34_1);
630
685
  break $l$block;
631
686
  }
632
687
  return tmp$ret$3;
633
688
  };
634
- protoOf(RGB).k35 = function () {
635
- var f = this.x33_1.q34();
689
+ protoOf(RGB).i36 = function () {
690
+ var f = this.v34_1.o35();
636
691
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
637
- var this_0 = _Matrix___init__impl__q3kp4w(this.x33_1.r34());
638
- var v0 = f.m34(this.t33_1);
639
- var v1 = f.m34(this.u33_1);
640
- var v2 = f.m34(this.v33_1);
692
+ var this_0 = _Matrix___init__impl__q3kp4w(this.v34_1.p35());
693
+ var v0 = f.k35(this.r34_1);
694
+ var v1 = f.k35(this.s34_1);
695
+ var v2 = f.k35(this.t34_1);
641
696
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
642
697
  var x = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
643
698
  var y = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
644
699
  var z = Matrix__get_impl_xogbpk(this_0, 0, 2) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 2) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 2) * v2;
645
- return XYZColorSpace(this.x33_1.t34()).e34(x, y, z, this.w33_1);
700
+ return XYZColorSpace(this.v34_1.r35()).c35(x, y, z, this.u34_1);
646
701
  };
647
- protoOf(RGB).r33 = function () {
702
+ protoOf(RGB).p34 = function () {
648
703
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
649
- var $this$toSRGB = this.j35(SRGB_getInstance());
704
+ var $this$toSRGB = this.h36(SRGB_getInstance());
650
705
  // Inline function 'kotlin.math.roundToInt' call
651
- var this_0 = $this$toSRGB.t35().b34_1 * 100;
706
+ var this_0 = $this$toSRGB.r36().z34_1 * 100;
652
707
  var value = roundToInt(this_0);
653
708
  if (value === 30)
654
709
  return new Ansi16(30);
655
710
  var v = value / 50 | 0;
656
711
  // Inline function 'kotlin.math.roundToInt' call
657
- var this_1 = $this$toSRGB.v33_1;
712
+ var this_1 = $this$toSRGB.t34_1;
658
713
  var tmp$ret$1 = roundToInt(this_1);
659
714
  var tmp = imul(tmp$ret$1, 4);
660
715
  // Inline function 'kotlin.math.roundToInt' call
661
- var this_2 = $this$toSRGB.u33_1;
716
+ var this_2 = $this$toSRGB.s34_1;
662
717
  var tmp$ret$2 = roundToInt(this_2);
663
718
  var tmp_0 = tmp | imul(tmp$ret$2, 2);
664
719
  // Inline function 'kotlin.math.roundToInt' call
665
- var this_3 = $this$toSRGB.t33_1;
720
+ var this_3 = $this$toSRGB.r34_1;
666
721
  var ansi = 30 + (tmp_0 | roundToInt(this_3)) | 0;
667
722
  return new Ansi16(v === 2 ? ansi + 60 | 0 : ansi);
668
723
  };
669
- protoOf(RGB).u35 = function () {
724
+ protoOf(RGB).s36 = function () {
670
725
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
671
- var $this$toSRGB = this.j35(SRGB_getInstance());
672
- var ri = $this$toSRGB.g35();
673
- var gi = $this$toSRGB.h35();
674
- var bi = $this$toSRGB.i35();
726
+ var $this$toSRGB = this.h36(SRGB_getInstance());
727
+ var ri = $this$toSRGB.e36();
728
+ var gi = $this$toSRGB.f36();
729
+ var bi = $this$toSRGB.g36();
675
730
  var tmp;
676
- if (ri === gi ? gi === bi : false) {
731
+ if (ri === gi && gi === bi) {
677
732
  tmp = ri < 8 ? 16 : ri > 248 ? 231 : roundToInt((ri - 8 | 0) / 247.0 * 24.0) + 232 | 0;
678
733
  } else {
679
734
  // Inline function 'kotlin.math.roundToInt' call
680
- var this_0 = $this$toSRGB.t33_1 * 5;
735
+ var this_0 = $this$toSRGB.r34_1 * 5;
681
736
  var tmp$ret$0 = roundToInt(this_0);
682
737
  var tmp_0 = 16 + imul(36, tmp$ret$0) | 0;
683
738
  // Inline function 'kotlin.math.roundToInt' call
684
- var this_1 = $this$toSRGB.u33_1 * 5;
739
+ var this_1 = $this$toSRGB.s34_1 * 5;
685
740
  var tmp$ret$1 = roundToInt(this_1);
686
741
  var tmp_1 = tmp_0 + imul(6, tmp$ret$1) | 0;
687
742
  // Inline function 'kotlin.math.roundToInt' call
688
- var this_2 = $this$toSRGB.v33_1 * 5;
743
+ var this_2 = $this$toSRGB.t34_1 * 5;
689
744
  tmp = tmp_1 + roundToInt(this_2) | 0;
690
745
  }
691
746
  var code = tmp;
692
747
  return new Ansi256(code);
693
748
  };
694
- protoOf(RGB).m33 = function () {
695
- return this.j35(RGBColorSpaces_getInstance().u34_1);
749
+ protoOf(RGB).k34 = function () {
750
+ return this.h36(RGBColorSpaces_getInstance().s35_1);
696
751
  };
697
- protoOf(RGB).v35 = function (r, g, b, alpha, space) {
752
+ protoOf(RGB).t36 = function (r, g, b, alpha, space) {
698
753
  return new RGB(r, g, b, alpha, space);
699
754
  };
700
- protoOf(RGB).s35 = function (r, g, b, alpha, space, $super) {
701
- r = r === VOID ? this.t33_1 : r;
702
- g = g === VOID ? this.u33_1 : g;
703
- b = b === VOID ? this.v33_1 : b;
704
- alpha = alpha === VOID ? this.w33_1 : alpha;
705
- space = space === VOID ? this.x33_1 : space;
706
- return $super === VOID ? this.v35(r, g, b, alpha, space) : $super.v35.call(this, r, g, b, alpha, space);
755
+ protoOf(RGB).q36 = function (r, g, b, alpha, space, $super) {
756
+ r = r === VOID ? this.r34_1 : r;
757
+ g = g === VOID ? this.s34_1 : g;
758
+ b = b === VOID ? this.t34_1 : b;
759
+ alpha = alpha === VOID ? this.u34_1 : alpha;
760
+ space = space === VOID ? this.v34_1 : space;
761
+ return $super === VOID ? this.t36(r, g, b, alpha, space) : $super.t36.call(this, r, g, b, alpha, space);
707
762
  };
708
763
  protoOf(RGB).toString = function () {
709
- return 'RGB(r=' + this.t33_1 + ', g=' + this.u33_1 + ', b=' + this.v33_1 + ', alpha=' + this.w33_1 + ', space=' + this.x33_1 + ')';
764
+ return 'RGB(r=' + this.r34_1 + ', g=' + this.s34_1 + ', b=' + this.t34_1 + ', alpha=' + this.u34_1 + ', space=' + toString_0(this.v34_1) + ')';
710
765
  };
711
766
  protoOf(RGB).hashCode = function () {
712
- var result = getNumberHashCode(this.t33_1);
713
- result = imul(result, 31) + getNumberHashCode(this.u33_1) | 0;
714
- result = imul(result, 31) + getNumberHashCode(this.v33_1) | 0;
715
- result = imul(result, 31) + getNumberHashCode(this.w33_1) | 0;
716
- result = imul(result, 31) + hashCode(this.x33_1) | 0;
767
+ var result = getNumberHashCode(this.r34_1);
768
+ result = imul(result, 31) + getNumberHashCode(this.s34_1) | 0;
769
+ result = imul(result, 31) + getNumberHashCode(this.t34_1) | 0;
770
+ result = imul(result, 31) + getNumberHashCode(this.u34_1) | 0;
771
+ result = imul(result, 31) + hashCode(this.v34_1) | 0;
717
772
  return result;
718
773
  };
719
774
  protoOf(RGB).equals = function (other) {
@@ -722,15 +777,15 @@
722
777
  if (!(other instanceof RGB))
723
778
  return false;
724
779
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
725
- if (!equals(this.t33_1, tmp0_other_with_cast.t33_1))
780
+ if (!equals(this.r34_1, tmp0_other_with_cast.r34_1))
726
781
  return false;
727
- if (!equals(this.u33_1, tmp0_other_with_cast.u33_1))
782
+ if (!equals(this.s34_1, tmp0_other_with_cast.s34_1))
728
783
  return false;
729
- if (!equals(this.v33_1, tmp0_other_with_cast.v33_1))
784
+ if (!equals(this.t34_1, tmp0_other_with_cast.t34_1))
730
785
  return false;
731
- if (!equals(this.w33_1, tmp0_other_with_cast.w33_1))
786
+ if (!equals(this.u34_1, tmp0_other_with_cast.u34_1))
732
787
  return false;
733
- if (!equals(this.x33_1, tmp0_other_with_cast.x33_1))
788
+ if (!equals(this.v34_1, tmp0_other_with_cast.v34_1))
734
789
  return false;
735
790
  return true;
736
791
  };
@@ -832,18 +887,18 @@
832
887
  var ACES_AP1_B;
833
888
  function RGBColorSpaces() {
834
889
  RGBColorSpaces_instance = this;
835
- this.u34_1 = SRGB_getInstance();
836
- this.v34_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().h33_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
837
- this.w34_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
838
- this.x34_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
839
- this.y34_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
840
- this.z34_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
841
- this.a35_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().h33_1, new GammaTransferFunctions(2.19921875), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.21, 0.71), xyY_init_$Create$(0.15, 0.06));
842
- this.b35_1 = BT2020Space_getInstance();
843
- this.c35_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().h33_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
844
- this.d35_1 = RGBColorSpace_0('DCI P3', new WhitePoint('DCI P3', xyY_init_$Create$(0.314, 0.351)), new GammaTransferFunctions(2.6), xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
845
- this.e35_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().h33_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
846
- this.f35_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().f33_1, ROMMTransferFunctions_instance, xyY_init_$Create$(0.7347, 0.2653), xyY_init_$Create$(0.1596, 0.8404), xyY_init_$Create$(0.0366, 1.0E-4));
890
+ this.s35_1 = SRGB_getInstance();
891
+ this.t35_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().d34_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
892
+ this.u35_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
893
+ this.v35_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
894
+ this.w35_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
895
+ this.x35_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
896
+ this.y35_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().d34_1, new GammaTransferFunctions(2.19921875), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.21, 0.71), xyY_init_$Create$(0.15, 0.06));
897
+ this.z35_1 = BT2020Space_getInstance();
898
+ this.a36_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().d34_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
899
+ this.b36_1 = RGBColorSpace_0('DCI P3', new WhitePoint('DCI P3', xyY_init_$Create$(0.314, 0.351)), new GammaTransferFunctions(2.6), xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
900
+ this.c36_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().d34_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
901
+ this.d36_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().b34_1, ROMMTransferFunctions_instance, xyY_init_$Create$(0.7347, 0.2653), xyY_init_$Create$(0.1596, 0.8404), xyY_init_$Create$(0.0366, 1.0E-4));
847
902
  }
848
903
  var RGBColorSpaces_instance;
849
904
  function RGBColorSpaces_getInstance() {
@@ -853,29 +908,29 @@
853
908
  }
854
909
  function SRGB() {
855
910
  SRGB_instance = this;
856
- this.f34_1 = 'sRGB';
857
- this.g34_1 = rectangularComponentInfo('RGB');
858
- this.h34_1 = Illuminant_getInstance().h33_1;
859
- this.i34_1 = SRGBTransferFunctions_instance;
860
- this.j34_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.h34_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
861
- this.k34_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.j34_1)));
911
+ this.d35_1 = 'sRGB';
912
+ this.e35_1 = rectangularComponentInfo('RGB');
913
+ this.f35_1 = Illuminant_getInstance().d34_1;
914
+ this.g35_1 = SRGBTransferFunctions_instance;
915
+ this.h35_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.f35_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
916
+ this.i35_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.h35_1)));
862
917
  }
863
- protoOf(SRGB).t34 = function () {
864
- return this.h34_1;
918
+ protoOf(SRGB).r35 = function () {
919
+ return this.f35_1;
865
920
  };
866
- protoOf(SRGB).q34 = function () {
867
- return this.i34_1;
921
+ protoOf(SRGB).o35 = function () {
922
+ return this.g35_1;
868
923
  };
869
- protoOf(SRGB).r34 = function () {
870
- return this.j34_1;
924
+ protoOf(SRGB).p35 = function () {
925
+ return this.h35_1;
871
926
  };
872
- protoOf(SRGB).s34 = function () {
873
- return this.k34_1;
927
+ protoOf(SRGB).q35 = function () {
928
+ return this.i35_1;
874
929
  };
875
930
  protoOf(SRGB).toString = function () {
876
- return this.f34_1;
931
+ return this.d35_1;
877
932
  };
878
- protoOf(SRGB).e34 = function (r, g, b, alpha) {
933
+ protoOf(SRGB).c35 = function (r, g, b, alpha) {
879
934
  return new RGB(r, g, b, alpha, this);
880
935
  };
881
936
  var SRGB_instance;
@@ -890,30 +945,39 @@
890
945
  }
891
946
  function ACESccTransferFunctions() {
892
947
  ACESccTransferFunctions_instance = this;
893
- this.w35_1 = 3.0517578125E-5;
894
- this.x35_1 = 1.52587890625E-5;
895
- this.y35_1 = -0.3013698630136986;
948
+ this.u36_1 = 3.0517578125E-5;
949
+ this.v36_1 = 1.52587890625E-5;
950
+ this.w36_1 = -0.3013698630136986;
896
951
  var tmp = this;
897
952
  // Inline function 'kotlin.math.log2' call
898
- tmp.z35_1 = (log2(65504.0) + 9.72) / 17.52;
953
+ tmp.x36_1 = (log2(65504.0) + 9.72) / 17.52;
899
954
  }
900
- protoOf(ACESccTransferFunctions).m34 = function (x) {
955
+ protoOf(ACESccTransferFunctions).k35 = function (x) {
901
956
  var tmp;
902
- if (x <= -0.3013698630136986) {
903
- tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
904
- } else if (x < this.z35_1) {
905
- // Inline function 'kotlin.math.pow' call
906
- var x_0 = x * 17.52 - 9.72;
907
- tmp = Math.pow(2.0, x_0);
957
+ var tmp_0 = x;
958
+ ACESccTransferFunctions_getInstance();
959
+ if (tmp_0 <= -0.3013698630136986) {
960
+ var tmp_1 = spow_0(2.0, x * 17.52 - 9.72);
961
+ ACESccTransferFunctions_getInstance();
962
+ tmp = (tmp_1 - 1.52587890625E-5) * 2.0;
908
963
  } else {
909
- tmp = 65504.0;
964
+ if (x < this.x36_1) {
965
+ // Inline function 'kotlin.math.pow' call
966
+ var x_0 = x * 17.52 - 9.72;
967
+ tmp = Math.pow(2.0, x_0);
968
+ } else {
969
+ tmp = 65504.0;
970
+ }
910
971
  }
911
972
  return tmp;
912
973
  };
913
- protoOf(ACESccTransferFunctions).n34 = function (x) {
974
+ protoOf(ACESccTransferFunctions).l35 = function (x) {
914
975
  var tmp;
915
- if (x < 3.0517578125E-5) {
976
+ var tmp_0 = x;
977
+ ACESccTransferFunctions_getInstance();
978
+ if (tmp_0 < 3.0517578125E-5) {
916
979
  // Inline function 'kotlin.math.log2' call
980
+ ACESccTransferFunctions_getInstance();
917
981
  var x_0 = 1.52587890625E-5 + coerceAtLeast_0(x, 0.0) / 2.0;
918
982
  tmp = (log2(x_0) + 9.72) / 17.52;
919
983
  } else {
@@ -930,17 +994,20 @@
930
994
  }
931
995
  function ACEScctTransferFunctions() {
932
996
  ACEScctTransferFunctions_instance = this;
933
- this.a36_1 = 10.5402377416545;
934
- this.b36_1 = 0.0729055341958355;
997
+ this.y36_1 = 10.5402377416545;
998
+ this.z36_1 = 0.0729055341958355;
935
999
  var tmp = this;
936
1000
  // Inline function 'kotlin.math.log2' call
937
- tmp.c36_1 = (log2(65504.0) + 9.72) / 17.52;
1001
+ tmp.a37_1 = (log2(65504.0) + 9.72) / 17.52;
938
1002
  }
939
- protoOf(ACEScctTransferFunctions).m34 = function (x) {
1003
+ protoOf(ACEScctTransferFunctions).k35 = function (x) {
940
1004
  var tmp;
941
1005
  if (x <= 0.155251141552511) {
942
- tmp = (x - 0.0729055341958355) / 10.5402377416545;
943
- } else if (x < this.c36_1) {
1006
+ ACEScctTransferFunctions_getInstance();
1007
+ var tmp_0 = x - 0.0729055341958355;
1008
+ ACEScctTransferFunctions_getInstance();
1009
+ tmp = tmp_0 / 10.5402377416545;
1010
+ } else if (x < this.a37_1) {
944
1011
  // Inline function 'kotlin.math.pow' call
945
1012
  var x_0 = x * 17.52 - 9.72;
946
1013
  tmp = Math.pow(2.0, x_0);
@@ -949,10 +1016,13 @@
949
1016
  }
950
1017
  return tmp;
951
1018
  };
952
- protoOf(ACEScctTransferFunctions).n34 = function (x) {
1019
+ protoOf(ACEScctTransferFunctions).l35 = function (x) {
953
1020
  var tmp;
954
1021
  if (x < 0.0078125) {
955
- tmp = 10.5402377416545 * x + 0.0729055341958355;
1022
+ ACEScctTransferFunctions_getInstance();
1023
+ var tmp_0 = 10.5402377416545 * x;
1024
+ ACEScctTransferFunctions_getInstance();
1025
+ tmp = tmp_0 + 0.0729055341958355;
956
1026
  } else {
957
1027
  // Inline function 'kotlin.math.log2' call
958
1028
  tmp = (log2(x) + 9.72) / 17.52;
@@ -967,30 +1037,30 @@
967
1037
  }
968
1038
  function BT2020Space() {
969
1039
  BT2020Space_instance = this;
970
- this.d36_1 = 'BT.2020';
971
- this.e36_1 = rectangularComponentInfo('RGB');
972
- this.f36_1 = Illuminant_getInstance().h33_1;
973
- this.g36_1 = BT2020TransferFunctions_getInstance();
974
- this.h36_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.f36_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
975
- this.i36_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.h36_1)));
1040
+ this.b37_1 = 'BT.2020';
1041
+ this.c37_1 = rectangularComponentInfo('RGB');
1042
+ this.d37_1 = Illuminant_getInstance().d34_1;
1043
+ this.e37_1 = BT2020TransferFunctions_getInstance();
1044
+ this.f37_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.d37_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
1045
+ this.g37_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.f37_1)));
976
1046
  }
977
- protoOf(BT2020Space).t34 = function () {
978
- return this.f36_1;
1047
+ protoOf(BT2020Space).r35 = function () {
1048
+ return this.d37_1;
979
1049
  };
980
- protoOf(BT2020Space).q34 = function () {
981
- return this.g36_1;
1050
+ protoOf(BT2020Space).o35 = function () {
1051
+ return this.e37_1;
982
1052
  };
983
- protoOf(BT2020Space).e34 = function (r, g, b, alpha) {
1053
+ protoOf(BT2020Space).c35 = function (r, g, b, alpha) {
984
1054
  return new RGB(r, g, b, alpha, this);
985
1055
  };
986
- protoOf(BT2020Space).r34 = function () {
987
- return this.h36_1;
1056
+ protoOf(BT2020Space).p35 = function () {
1057
+ return this.f37_1;
988
1058
  };
989
- protoOf(BT2020Space).s34 = function () {
990
- return this.i36_1;
1059
+ protoOf(BT2020Space).q35 = function () {
1060
+ return this.g37_1;
991
1061
  };
992
1062
  protoOf(BT2020Space).toString = function () {
993
- return this.d36_1;
1063
+ return this.b37_1;
994
1064
  };
995
1065
  var BT2020Space_instance;
996
1066
  function BT2020Space_getInstance() {
@@ -1000,12 +1070,12 @@
1000
1070
  }
1001
1071
  function BT709TransferFunctions() {
1002
1072
  BT709TransferFunctions_instance = this;
1003
- this.j36_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1073
+ this.h37_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1004
1074
  }
1005
- protoOf(BT709TransferFunctions).m34 = function (x) {
1006
- return numberToDouble(x < this.j36_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 2.2222222222222223));
1075
+ protoOf(BT709TransferFunctions).k35 = function (x) {
1076
+ return numberToDouble(x < this.h37_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1007
1077
  };
1008
- protoOf(BT709TransferFunctions).n34 = function (x) {
1078
+ protoOf(BT709TransferFunctions).l35 = function (x) {
1009
1079
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1010
1080
  };
1011
1081
  var BT709TransferFunctions_instance;
@@ -1016,10 +1086,10 @@
1016
1086
  }
1017
1087
  function SRGBTransferFunctions() {
1018
1088
  }
1019
- protoOf(SRGBTransferFunctions).n34 = function (x) {
1020
- return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 0.4166666666666667) - 0.055;
1089
+ protoOf(SRGBTransferFunctions).l35 = function (x) {
1090
+ return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1021
1091
  };
1022
- protoOf(SRGBTransferFunctions).m34 = function (x) {
1092
+ protoOf(SRGBTransferFunctions).k35 = function (x) {
1023
1093
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1024
1094
  };
1025
1095
  var SRGBTransferFunctions_instance;
@@ -1027,13 +1097,27 @@
1027
1097
  return SRGBTransferFunctions_instance;
1028
1098
  }
1029
1099
  function ROMMTransferFunctions() {
1030
- this.k36_1 = 0.001953;
1100
+ this.i37_1 = 0.001953;
1031
1101
  }
1032
- protoOf(ROMMTransferFunctions).m34 = function (x) {
1033
- return x < 0.031248 ? x / 16.0 : spow(x, 1.8);
1102
+ protoOf(ROMMTransferFunctions).k35 = function (x) {
1103
+ var tmp;
1104
+ var tmp_0 = x;
1105
+ if (tmp_0 < 16 * 0.001953) {
1106
+ tmp = x / 16.0;
1107
+ } else {
1108
+ tmp = spow(x, 1.8);
1109
+ }
1110
+ return tmp;
1034
1111
  };
1035
- protoOf(ROMMTransferFunctions).n34 = function (x) {
1036
- return x < 0.001953 ? x * 16.0 : spow(x, 0.5555555555555556);
1112
+ protoOf(ROMMTransferFunctions).l35 = function (x) {
1113
+ var tmp;
1114
+ var tmp_0 = x;
1115
+ if (tmp_0 < 0.001953) {
1116
+ tmp = x * 16.0;
1117
+ } else {
1118
+ tmp = spow(x, 1.0 / 1.8);
1119
+ }
1120
+ return tmp;
1037
1121
  };
1038
1122
  var ROMMTransferFunctions_instance;
1039
1123
  function ROMMTransferFunctions_getInstance() {
@@ -1041,13 +1125,13 @@
1041
1125
  }
1042
1126
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1043
1127
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1044
- var primaries = _Matrix___init__impl__q3kp4w_0(r.l36_1, g.l36_1, b.l36_1, r.m36_1, g.m36_1, b.m36_1, r.o36(), g.o36(), b.o36());
1045
- var wp = whitePoint.b33_1;
1128
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.j37_1, g.j37_1, b.j37_1, r.k37_1, g.k37_1, b.k37_1, r.m37(), g.m37(), b.m37());
1129
+ var wp = whitePoint.x33_1;
1046
1130
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1047
1131
  var this_0 = inverse(primaries);
1048
- var v0 = wp.p36();
1049
- var v1 = wp.n36_1;
1050
- var v2 = wp.q36();
1132
+ var v0 = wp.n37();
1133
+ var v1 = wp.l37_1;
1134
+ var v2 = wp.o37();
1051
1135
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
1052
1136
  var x = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
1053
1137
  var y = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
@@ -1055,41 +1139,41 @@
1055
1139
  return dotDiagonal(primaries, x, y, z);
1056
1140
  }
1057
1141
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b) {
1058
- this.r36_1 = name;
1059
- this.s36_1 = whitePoint;
1060
- this.t36_1 = transferFunctions;
1061
- this.u36_1 = r;
1062
- this.v36_1 = g;
1063
- this.w36_1 = b;
1064
- this.x36_1 = rectangularComponentInfo('RGB');
1065
- this.y36_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.s36_1, this.u36_1, this.v36_1, this.w36_1));
1066
- this.z36_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.y36_1)));
1142
+ this.p37_1 = name;
1143
+ this.q37_1 = whitePoint;
1144
+ this.r37_1 = transferFunctions;
1145
+ this.s37_1 = r;
1146
+ this.t37_1 = g;
1147
+ this.u37_1 = b;
1148
+ this.v37_1 = rectangularComponentInfo('RGB');
1149
+ this.w37_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.q37_1, this.s37_1, this.t37_1, this.u37_1));
1150
+ this.x37_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.w37_1)));
1067
1151
  }
1068
- protoOf(RGBColorSpaceImpl).t34 = function () {
1069
- return this.s36_1;
1152
+ protoOf(RGBColorSpaceImpl).r35 = function () {
1153
+ return this.q37_1;
1070
1154
  };
1071
- protoOf(RGBColorSpaceImpl).q34 = function () {
1072
- return this.t36_1;
1155
+ protoOf(RGBColorSpaceImpl).o35 = function () {
1156
+ return this.r37_1;
1073
1157
  };
1074
- protoOf(RGBColorSpaceImpl).r34 = function () {
1075
- return this.y36_1;
1158
+ protoOf(RGBColorSpaceImpl).p35 = function () {
1159
+ return this.w37_1;
1076
1160
  };
1077
- protoOf(RGBColorSpaceImpl).s34 = function () {
1078
- return this.z36_1;
1161
+ protoOf(RGBColorSpaceImpl).q35 = function () {
1162
+ return this.x37_1;
1079
1163
  };
1080
1164
  protoOf(RGBColorSpaceImpl).toString = function () {
1081
- return this.r36_1;
1165
+ return this.p37_1;
1082
1166
  };
1083
- protoOf(RGBColorSpaceImpl).e34 = function (r, g, b, alpha) {
1167
+ protoOf(RGBColorSpaceImpl).c35 = function (r, g, b, alpha) {
1084
1168
  return new RGB(r, g, b, alpha, this);
1085
1169
  };
1086
1170
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1087
- var result = getStringHashCode(this.r36_1);
1088
- result = imul(result, 31) + this.s36_1.hashCode() | 0;
1089
- result = imul(result, 31) + hashCode(this.t36_1) | 0;
1090
- result = imul(result, 31) + this.u36_1.hashCode() | 0;
1091
- result = imul(result, 31) + this.v36_1.hashCode() | 0;
1092
- result = imul(result, 31) + this.w36_1.hashCode() | 0;
1171
+ var result = getStringHashCode(this.p37_1);
1172
+ result = imul(result, 31) + this.q37_1.hashCode() | 0;
1173
+ result = imul(result, 31) + hashCode(this.r37_1) | 0;
1174
+ result = imul(result, 31) + this.s37_1.hashCode() | 0;
1175
+ result = imul(result, 31) + this.t37_1.hashCode() | 0;
1176
+ result = imul(result, 31) + this.u37_1.hashCode() | 0;
1093
1177
  return result;
1094
1178
  };
1095
1179
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1098,33 +1182,57 @@
1098
1182
  if (!(other instanceof RGBColorSpaceImpl))
1099
1183
  return false;
1100
1184
  var tmp0_other_with_cast = other instanceof RGBColorSpaceImpl ? other : THROW_CCE();
1101
- if (!(this.r36_1 === tmp0_other_with_cast.r36_1))
1185
+ if (!(this.p37_1 === tmp0_other_with_cast.p37_1))
1102
1186
  return false;
1103
- if (!this.s36_1.equals(tmp0_other_with_cast.s36_1))
1187
+ if (!this.q37_1.equals(tmp0_other_with_cast.q37_1))
1104
1188
  return false;
1105
- if (!equals(this.t36_1, tmp0_other_with_cast.t36_1))
1189
+ if (!equals(this.r37_1, tmp0_other_with_cast.r37_1))
1106
1190
  return false;
1107
- if (!this.u36_1.equals(tmp0_other_with_cast.u36_1))
1191
+ if (!this.s37_1.equals(tmp0_other_with_cast.s37_1))
1108
1192
  return false;
1109
- if (!this.v36_1.equals(tmp0_other_with_cast.v36_1))
1193
+ if (!this.t37_1.equals(tmp0_other_with_cast.t37_1))
1110
1194
  return false;
1111
- if (!this.w36_1.equals(tmp0_other_with_cast.w36_1))
1195
+ if (!this.u37_1.equals(tmp0_other_with_cast.u37_1))
1112
1196
  return false;
1113
1197
  return true;
1114
1198
  };
1115
1199
  function BT2020TransferFunctions() {
1116
1200
  BT2020TransferFunctions_instance = this;
1117
- this.a37_1 = 1.0993;
1118
- this.b37_1 = 0.0181;
1201
+ this.y37_1 = 1.0993;
1202
+ this.z37_1 = 0.0181;
1119
1203
  var tmp = this;
1204
+ BT2020TransferFunctions_getInstance();
1120
1205
  // Inline function 'kotlin.math.pow' call
1121
- tmp.c37_1 = 1.0993 * Math.pow(0.0181, 0.45) - 0.09929999999999994;
1206
+ BT2020TransferFunctions_getInstance();
1207
+ var tmp_0 = 1.0993 * Math.pow(0.0181, 0.45);
1208
+ BT2020TransferFunctions_getInstance();
1209
+ tmp.a38_1 = tmp_0 - (1.0993 - 1);
1122
1210
  }
1123
- protoOf(BT2020TransferFunctions).m34 = function (x) {
1124
- return numberToDouble(x < this.c37_1 ? x / 4.5 : spow_0((x + 0.09929999999999994) / 1.0993, 2.2222222222222223));
1211
+ protoOf(BT2020TransferFunctions).k35 = function (x) {
1212
+ var tmp;
1213
+ if (x < this.a38_1) {
1214
+ tmp = x / 4.5;
1215
+ } else {
1216
+ BT2020TransferFunctions_getInstance();
1217
+ var tmp_0 = x + (1.0993 - 1);
1218
+ BT2020TransferFunctions_getInstance();
1219
+ tmp = spow_0(tmp_0 / 1.0993, 1 / 0.45);
1220
+ }
1221
+ return numberToDouble(tmp);
1125
1222
  };
1126
- protoOf(BT2020TransferFunctions).n34 = function (x) {
1127
- return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - 0.09929999999999994;
1223
+ protoOf(BT2020TransferFunctions).l35 = function (x) {
1224
+ var tmp;
1225
+ var tmp_0 = x;
1226
+ BT2020TransferFunctions_getInstance();
1227
+ if (tmp_0 < 0.0181) {
1228
+ tmp = 4.5 * x;
1229
+ } else {
1230
+ BT2020TransferFunctions_getInstance();
1231
+ var tmp_1 = 1.0993 * spow(x, 0.45);
1232
+ BT2020TransferFunctions_getInstance();
1233
+ tmp = tmp_1 - (1.0993 - 1);
1234
+ }
1235
+ return tmp;
1128
1236
  };
1129
1237
  var BT2020TransferFunctions_instance;
1130
1238
  function BT2020TransferFunctions_getInstance() {
@@ -1150,13 +1258,13 @@
1150
1258
  }
1151
1259
  function Companion_3() {
1152
1260
  Companion_instance_3 = this;
1153
- this.d37_1 = XYZColorSpaces_getInstance().e37_1;
1261
+ this.b38_1 = XYZColorSpaces_getInstance().c38_1;
1154
1262
  }
1155
- protoOf(Companion_3).t34 = function () {
1156
- return this.d37_1.t34();
1263
+ protoOf(Companion_3).r35 = function () {
1264
+ return this.b38_1.r35();
1157
1265
  };
1158
- protoOf(Companion_3).e34 = function (x, y, z, alpha) {
1159
- return this.d37_1.e34(x, y, z, alpha);
1266
+ protoOf(Companion_3).c35 = function (x, y, z, alpha) {
1267
+ return this.b38_1.c35(x, y, z, alpha);
1160
1268
  };
1161
1269
  var Companion_instance_3;
1162
1270
  function Companion_getInstance_3() {
@@ -1165,65 +1273,65 @@
1165
1273
  return Companion_instance_3;
1166
1274
  }
1167
1275
  function adaptToM($this, space, m, mi) {
1168
- if (space.t34().equals($this.p35_1.t34()))
1276
+ if (space.r35().equals($this.n36_1.r35()))
1169
1277
  return $this;
1170
- var transform = chromaticAdaptationMatrix(space, $this.p35_1.t34().b33_1, m, mi);
1278
+ var transform = chromaticAdaptationMatrix(space, $this.n36_1.r35().x33_1, m, mi);
1171
1279
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1172
- var v0 = $this.l35_1;
1173
- var v1 = $this.m35_1;
1174
- var v2 = $this.n35_1;
1280
+ var v0 = $this.j36_1;
1281
+ var v1 = $this.k36_1;
1282
+ var v2 = $this.l36_1;
1175
1283
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
1176
1284
  var xx = Matrix__get_impl_xogbpk(transform, 0, 0) * v0 + Matrix__get_impl_xogbpk(transform, 1, 0) * v1 + Matrix__get_impl_xogbpk(transform, 2, 0) * v2;
1177
1285
  var yy = Matrix__get_impl_xogbpk(transform, 0, 1) * v0 + Matrix__get_impl_xogbpk(transform, 1, 1) * v1 + Matrix__get_impl_xogbpk(transform, 2, 1) * v2;
1178
1286
  var zz = Matrix__get_impl_xogbpk(transform, 0, 2) * v0 + Matrix__get_impl_xogbpk(transform, 1, 2) * v1 + Matrix__get_impl_xogbpk(transform, 2, 2) * v2;
1179
- return space.e34(xx, yy, zz, $this.o35_1);
1287
+ return space.c35(xx, yy, zz, $this.m36_1);
1180
1288
  }
1181
1289
  function XYZ(x, y, z, alpha, space) {
1182
1290
  Companion_getInstance_3();
1183
- this.l35_1 = x;
1184
- this.m35_1 = y;
1185
- this.n35_1 = z;
1186
- this.o35_1 = alpha;
1187
- this.p35_1 = space;
1291
+ this.j36_1 = x;
1292
+ this.k36_1 = y;
1293
+ this.l36_1 = z;
1294
+ this.m36_1 = alpha;
1295
+ this.n36_1 = space;
1188
1296
  }
1189
- protoOf(XYZ).g37 = function (space) {
1297
+ protoOf(XYZ).e38 = function (space) {
1190
1298
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
1191
1299
  };
1192
- protoOf(XYZ).q35 = function (space) {
1193
- var tmp0_container = this.g37(XYZColorSpace(space.t34()));
1194
- var x = tmp0_container.jd();
1195
- var y = tmp0_container.kd();
1196
- var z = tmp0_container.dh();
1197
- var f = space.q34();
1300
+ protoOf(XYZ).o36 = function (space) {
1301
+ var tmp0_container = this.e38(XYZColorSpace(space.r35()));
1302
+ var x = tmp0_container.nd();
1303
+ var y = tmp0_container.od();
1304
+ var z = tmp0_container.hh();
1305
+ var f = space.o35();
1198
1306
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1199
- var this_0 = _Matrix___init__impl__q3kp4w(space.s34());
1307
+ var this_0 = _Matrix___init__impl__q3kp4w(space.q35());
1200
1308
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
1201
1309
  var r = Matrix__get_impl_xogbpk(this_0, 0, 0) * x + Matrix__get_impl_xogbpk(this_0, 1, 0) * y + Matrix__get_impl_xogbpk(this_0, 2, 0) * z;
1202
1310
  var g = Matrix__get_impl_xogbpk(this_0, 0, 1) * x + Matrix__get_impl_xogbpk(this_0, 1, 1) * y + Matrix__get_impl_xogbpk(this_0, 2, 1) * z;
1203
1311
  var b = Matrix__get_impl_xogbpk(this_0, 0, 2) * x + Matrix__get_impl_xogbpk(this_0, 1, 2) * y + Matrix__get_impl_xogbpk(this_0, 2, 2) * z;
1204
- return space.e34(f.n34(r), f.n34(g), f.n34(b), this.o35_1);
1312
+ return space.c35(f.l35(r), f.l35(g), f.l35(b), this.m36_1);
1205
1313
  };
1206
- protoOf(XYZ).m33 = function () {
1207
- return this.q35(RGBColorSpaces_getInstance().u34_1);
1314
+ protoOf(XYZ).k34 = function () {
1315
+ return this.o36(RGBColorSpaces_getInstance().s35_1);
1208
1316
  };
1209
- protoOf(XYZ).jd = function () {
1210
- return this.l35_1;
1317
+ protoOf(XYZ).nd = function () {
1318
+ return this.j36_1;
1211
1319
  };
1212
- protoOf(XYZ).kd = function () {
1213
- return this.m35_1;
1320
+ protoOf(XYZ).od = function () {
1321
+ return this.k36_1;
1214
1322
  };
1215
- protoOf(XYZ).dh = function () {
1216
- return this.n35_1;
1323
+ protoOf(XYZ).hh = function () {
1324
+ return this.l36_1;
1217
1325
  };
1218
1326
  protoOf(XYZ).toString = function () {
1219
- return 'XYZ(x=' + this.l35_1 + ', y=' + this.m35_1 + ', z=' + this.n35_1 + ', alpha=' + this.o35_1 + ', space=' + this.p35_1 + ')';
1327
+ return 'XYZ(x=' + this.j36_1 + ', y=' + this.k36_1 + ', z=' + this.l36_1 + ', alpha=' + this.m36_1 + ', space=' + toString_0(this.n36_1) + ')';
1220
1328
  };
1221
1329
  protoOf(XYZ).hashCode = function () {
1222
- var result = getNumberHashCode(this.l35_1);
1223
- result = imul(result, 31) + getNumberHashCode(this.m35_1) | 0;
1224
- result = imul(result, 31) + getNumberHashCode(this.n35_1) | 0;
1225
- result = imul(result, 31) + getNumberHashCode(this.o35_1) | 0;
1226
- result = imul(result, 31) + hashCode(this.p35_1) | 0;
1330
+ var result = getNumberHashCode(this.j36_1);
1331
+ result = imul(result, 31) + getNumberHashCode(this.k36_1) | 0;
1332
+ result = imul(result, 31) + getNumberHashCode(this.l36_1) | 0;
1333
+ result = imul(result, 31) + getNumberHashCode(this.m36_1) | 0;
1334
+ result = imul(result, 31) + hashCode(this.n36_1) | 0;
1227
1335
  return result;
1228
1336
  };
1229
1337
  protoOf(XYZ).equals = function (other) {
@@ -1232,25 +1340,25 @@
1232
1340
  if (!(other instanceof XYZ))
1233
1341
  return false;
1234
1342
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
1235
- if (!equals(this.l35_1, tmp0_other_with_cast.l35_1))
1343
+ if (!equals(this.j36_1, tmp0_other_with_cast.j36_1))
1236
1344
  return false;
1237
- if (!equals(this.m35_1, tmp0_other_with_cast.m35_1))
1345
+ if (!equals(this.k36_1, tmp0_other_with_cast.k36_1))
1238
1346
  return false;
1239
- if (!equals(this.n35_1, tmp0_other_with_cast.n35_1))
1347
+ if (!equals(this.l36_1, tmp0_other_with_cast.l36_1))
1240
1348
  return false;
1241
- if (!equals(this.o35_1, tmp0_other_with_cast.o35_1))
1349
+ if (!equals(this.m36_1, tmp0_other_with_cast.m36_1))
1242
1350
  return false;
1243
- if (!equals(this.p35_1, tmp0_other_with_cast.p35_1))
1351
+ if (!equals(this.n36_1, tmp0_other_with_cast.n36_1))
1244
1352
  return false;
1245
1353
  return true;
1246
1354
  };
1247
1355
  function XYZColorSpace(whitePoint) {
1248
- return whitePoint.equals(Illuminant_getInstance().h33_1) ? XYZColorSpaces_getInstance().e37_1 : whitePoint.equals(Illuminant_getInstance().f33_1) ? XYZColorSpaces_getInstance().f37_1 : new XYZColorSpaceImpl(whitePoint);
1356
+ return whitePoint.equals(Illuminant_getInstance().d34_1) ? XYZColorSpaces_getInstance().c38_1 : whitePoint.equals(Illuminant_getInstance().b34_1) ? XYZColorSpaces_getInstance().d38_1 : new XYZColorSpaceImpl(whitePoint);
1249
1357
  }
1250
1358
  function XYZColorSpaces() {
1251
1359
  XYZColorSpaces_instance = this;
1252
- this.e37_1 = new XYZColorSpaceImpl(Illuminant_getInstance().h33_1);
1253
- this.f37_1 = new XYZColorSpaceImpl(Illuminant_getInstance().f33_1);
1360
+ this.c38_1 = new XYZColorSpaceImpl(Illuminant_getInstance().d34_1);
1361
+ this.d38_1 = new XYZColorSpaceImpl(Illuminant_getInstance().b34_1);
1254
1362
  }
1255
1363
  var XYZColorSpaces_instance;
1256
1364
  function XYZColorSpaces_getInstance() {
@@ -1261,26 +1369,26 @@
1261
1369
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
1262
1370
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
1263
1371
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
1264
- var dstWp = _this__u8e3s4.t34().b33_1;
1265
- var src = dot_0(xyzToLms, srcWp.p36(), srcWp.n36_1, srcWp.q36());
1266
- var dst = dot_0(xyzToLms, dstWp.p36(), dstWp.n36_1, dstWp.q36());
1372
+ var dstWp = _this__u8e3s4.r35().x33_1;
1373
+ var src = dot_0(xyzToLms, srcWp.n37(), srcWp.l37_1, srcWp.o37());
1374
+ var dst = dot_0(xyzToLms, dstWp.n37(), dstWp.l37_1, dstWp.o37());
1267
1375
  return dot(dotDiagonal(lmsToXyz, _Vector___get_l__impl__envr1l(dst) / _Vector___get_l__impl__envr1l(src), _Vector___get_m__impl__e5qq0m(dst) / _Vector___get_m__impl__e5qq0m(src), _Vector___get_s__impl__pzuljk(dst) / _Vector___get_s__impl__pzuljk(src)), xyzToLms);
1268
1376
  }
1269
1377
  function XYZColorSpaceImpl(whitePoint) {
1270
- this.h37_1 = whitePoint;
1271
- this.i37_1 = rectangularComponentInfo('XYZ');
1378
+ this.f38_1 = whitePoint;
1379
+ this.g38_1 = rectangularComponentInfo('XYZ');
1272
1380
  }
1273
- protoOf(XYZColorSpaceImpl).t34 = function () {
1274
- return this.h37_1;
1381
+ protoOf(XYZColorSpaceImpl).r35 = function () {
1382
+ return this.f38_1;
1275
1383
  };
1276
1384
  protoOf(XYZColorSpaceImpl).toString = function () {
1277
- return 'XYZColorSpace(' + this.h37_1 + ')';
1385
+ return 'XYZColorSpace(' + this.f38_1.toString() + ')';
1278
1386
  };
1279
- protoOf(XYZColorSpaceImpl).e34 = function (x, y, z, alpha) {
1387
+ protoOf(XYZColorSpaceImpl).c35 = function (x, y, z, alpha) {
1280
1388
  return new XYZ(x, y, z, alpha, this);
1281
1389
  };
1282
1390
  protoOf(XYZColorSpaceImpl).hashCode = function () {
1283
- return this.h37_1.hashCode();
1391
+ return this.f38_1.hashCode();
1284
1392
  };
1285
1393
  protoOf(XYZColorSpaceImpl).equals = function (other) {
1286
1394
  if (this === other)
@@ -1288,7 +1396,7 @@
1288
1396
  if (!(other instanceof XYZColorSpaceImpl))
1289
1397
  return false;
1290
1398
  var tmp0_other_with_cast = other instanceof XYZColorSpaceImpl ? other : THROW_CCE();
1291
- if (!this.h37_1.equals(tmp0_other_with_cast.h37_1))
1399
+ if (!this.f38_1.equals(tmp0_other_with_cast.f38_1))
1292
1400
  return false;
1293
1401
  return true;
1294
1402
  };
@@ -1302,26 +1410,26 @@
1302
1410
  }
1303
1411
  function xyY(x, y, Y) {
1304
1412
  Y = Y === VOID ? 1.0 : Y;
1305
- this.l36_1 = x;
1306
- this.m36_1 = y;
1307
- this.n36_1 = Y;
1413
+ this.j37_1 = x;
1414
+ this.k37_1 = y;
1415
+ this.l37_1 = Y;
1308
1416
  }
1309
- protoOf(xyY).o36 = function () {
1310
- return 1 - this.l36_1 - this.m36_1;
1417
+ protoOf(xyY).m37 = function () {
1418
+ return 1 - this.j37_1 - this.k37_1;
1311
1419
  };
1312
- protoOf(xyY).p36 = function () {
1313
- return this.l36_1 * this.n36_1 / this.m36_1;
1420
+ protoOf(xyY).n37 = function () {
1421
+ return this.j37_1 * this.l37_1 / this.k37_1;
1314
1422
  };
1315
- protoOf(xyY).q36 = function () {
1316
- return (1 - this.l36_1 - this.m36_1) * this.n36_1 / this.m36_1;
1423
+ protoOf(xyY).o37 = function () {
1424
+ return (1 - this.j37_1 - this.k37_1) * this.l37_1 / this.k37_1;
1317
1425
  };
1318
1426
  protoOf(xyY).toString = function () {
1319
- return 'xyY(x=' + this.l36_1 + ', y=' + this.m36_1 + ', Y=' + this.n36_1 + ')';
1427
+ return 'xyY(x=' + this.j37_1 + ', y=' + this.k37_1 + ', Y=' + this.l37_1 + ')';
1320
1428
  };
1321
1429
  protoOf(xyY).hashCode = function () {
1322
- var result = getNumberHashCode(this.l36_1);
1323
- result = imul(result, 31) + getNumberHashCode(this.m36_1) | 0;
1324
- result = imul(result, 31) + getNumberHashCode(this.n36_1) | 0;
1430
+ var result = getNumberHashCode(this.j37_1);
1431
+ result = imul(result, 31) + getNumberHashCode(this.k37_1) | 0;
1432
+ result = imul(result, 31) + getNumberHashCode(this.l37_1) | 0;
1325
1433
  return result;
1326
1434
  };
1327
1435
  protoOf(xyY).equals = function (other) {
@@ -1330,36 +1438,36 @@
1330
1438
  if (!(other instanceof xyY))
1331
1439
  return false;
1332
1440
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
1333
- if (!equals(this.l36_1, tmp0_other_with_cast.l36_1))
1441
+ if (!equals(this.j37_1, tmp0_other_with_cast.j37_1))
1334
1442
  return false;
1335
- if (!equals(this.m36_1, tmp0_other_with_cast.m36_1))
1443
+ if (!equals(this.k37_1, tmp0_other_with_cast.k37_1))
1336
1444
  return false;
1337
- if (!equals(this.n36_1, tmp0_other_with_cast.n36_1))
1445
+ if (!equals(this.l37_1, tmp0_other_with_cast.l37_1))
1338
1446
  return false;
1339
1447
  return true;
1340
1448
  };
1341
1449
  //region block: post-declaration
1342
- protoOf(Companion_2).o33 = from255$default;
1343
- protoOf(Companion_2).n33 = invoke$default;
1344
- protoOf(Companion_2).s33 = invoke$default_0;
1345
- protoOf(SRGB).n33 = invoke$default;
1346
- protoOf(SRGB).o34 = invoke;
1347
- protoOf(SRGB).s33 = invoke$default_0;
1348
- protoOf(SRGB).w28 = invoke_0;
1349
- protoOf(SRGB).p34 = from255;
1350
- protoOf(SRGB).o33 = from255$default;
1351
- protoOf(BT2020Space).n33 = invoke$default;
1352
- protoOf(BT2020Space).o34 = invoke;
1353
- protoOf(BT2020Space).s33 = invoke$default_0;
1354
- protoOf(BT2020Space).w28 = invoke_0;
1355
- protoOf(BT2020Space).p34 = from255;
1356
- protoOf(BT2020Space).o33 = from255$default;
1357
- protoOf(RGBColorSpaceImpl).n33 = invoke$default;
1358
- protoOf(RGBColorSpaceImpl).o34 = invoke;
1359
- protoOf(RGBColorSpaceImpl).s33 = invoke$default_0;
1360
- protoOf(RGBColorSpaceImpl).w28 = invoke_0;
1361
- protoOf(RGBColorSpaceImpl).p34 = from255;
1362
- protoOf(RGBColorSpaceImpl).o33 = from255$default;
1450
+ protoOf(Companion_2).m34 = from255$default;
1451
+ protoOf(Companion_2).l34 = invoke$default;
1452
+ protoOf(Companion_2).q34 = invoke$default_0;
1453
+ protoOf(SRGB).l34 = invoke$default;
1454
+ protoOf(SRGB).m35 = invoke;
1455
+ protoOf(SRGB).q34 = invoke$default_0;
1456
+ protoOf(SRGB).q29 = invoke_0;
1457
+ protoOf(SRGB).n35 = from255;
1458
+ protoOf(SRGB).m34 = from255$default;
1459
+ protoOf(BT2020Space).l34 = invoke$default;
1460
+ protoOf(BT2020Space).m35 = invoke;
1461
+ protoOf(BT2020Space).q34 = invoke$default_0;
1462
+ protoOf(BT2020Space).q29 = invoke_0;
1463
+ protoOf(BT2020Space).n35 = from255;
1464
+ protoOf(BT2020Space).m34 = from255$default;
1465
+ protoOf(RGBColorSpaceImpl).l34 = invoke$default;
1466
+ protoOf(RGBColorSpaceImpl).m35 = invoke;
1467
+ protoOf(RGBColorSpaceImpl).q34 = invoke$default_0;
1468
+ protoOf(RGBColorSpaceImpl).q29 = invoke_0;
1469
+ protoOf(RGBColorSpaceImpl).n35 = from255;
1470
+ protoOf(RGBColorSpaceImpl).m34 = from255$default;
1363
1471
  //endregion
1364
1472
  //region block: init
1365
1473
  LinearTransferFunctions_instance = new LinearTransferFunctions();