@cruglobal/godtools-shared 1.3.0-PR861-SNAPSHOT.1814 → 1.3.0-SNAPSHOT.1807

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.
@@ -14,72 +14,72 @@
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
16
  var log2 = Math.log2;
17
- var protoOf = kotlin_kotlin.$_$.x6;
18
- var initMetadataForInterface = kotlin_kotlin.$_$.l6;
19
- var toString = kotlin_kotlin.$_$.a7;
17
+ var protoOf = kotlin_kotlin.$_$.t6;
18
+ var initMetadataForInterface = kotlin_kotlin.$_$.h6;
19
+ var toString = kotlin_kotlin.$_$.w6;
20
20
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
21
21
  var Unit_instance = kotlin_kotlin.$_$.k2;
22
- var initMetadataForClass = kotlin_kotlin.$_$.i6;
23
- var Enum = kotlin_kotlin.$_$.w8;
22
+ var initMetadataForClass = kotlin_kotlin.$_$.e6;
23
+ var Enum = kotlin_kotlin.$_$.r8;
24
24
  var VOID = kotlin_kotlin.$_$.d;
25
- var emptyMap = kotlin_kotlin.$_$.p3;
26
- var equals = kotlin_kotlin.$_$.b6;
25
+ var emptyMap = kotlin_kotlin.$_$.m3;
26
+ var equals = kotlin_kotlin.$_$.x5;
27
27
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
28
- var dropLast = kotlin_kotlin.$_$.n3;
29
- var joinTo = kotlin_kotlin.$_$.c4;
28
+ var dropLast = kotlin_kotlin.$_$.k3;
29
+ var joinTo = kotlin_kotlin.$_$.z3;
30
30
  var Regex_init_$Create$ = kotlin_kotlin.$_$.s;
31
31
  var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.d2;
32
- var numberToInt = kotlin_kotlin.$_$.v6;
33
- var roundToInt = kotlin_kotlin.$_$.b7;
32
+ var numberToInt = kotlin_kotlin.$_$.r6;
33
+ var roundToInt = kotlin_kotlin.$_$.x6;
34
34
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
35
- var padStart = kotlin_kotlin.$_$.a8;
36
- var charArrayOf = kotlin_kotlin.$_$.v5;
37
- var trimEnd = kotlin_kotlin.$_$.r8;
38
- var isNaN_0 = kotlin_kotlin.$_$.o9;
39
- var joinTo_0 = kotlin_kotlin.$_$.b4;
40
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.q9;
41
- var numberToDouble = kotlin_kotlin.$_$.u6;
42
- var getStringHashCode = kotlin_kotlin.$_$.g6;
43
- var THROW_CCE = kotlin_kotlin.$_$.g9;
44
- var initMetadataForObject = kotlin_kotlin.$_$.n6;
35
+ var padStart = kotlin_kotlin.$_$.w7;
36
+ var charArrayOf = kotlin_kotlin.$_$.s5;
37
+ var trimEnd = kotlin_kotlin.$_$.m8;
38
+ var isNaN_0 = kotlin_kotlin.$_$.k9;
39
+ var joinTo_0 = kotlin_kotlin.$_$.y3;
40
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.m9;
41
+ var numberToDouble = kotlin_kotlin.$_$.q6;
42
+ var getStringHashCode = kotlin_kotlin.$_$.c6;
43
+ var THROW_CCE = kotlin_kotlin.$_$.b9;
44
+ var initMetadataForObject = kotlin_kotlin.$_$.j6;
45
45
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
46
- var charSequenceLength = kotlin_kotlin.$_$.y5;
47
- var charSequenceGet = kotlin_kotlin.$_$.x5;
46
+ var charSequenceLength = kotlin_kotlin.$_$.u5;
47
+ var charSequenceGet = kotlin_kotlin.$_$.t5;
48
48
  var toString_0 = kotlin_kotlin.$_$.x1;
49
49
  var arrayConcat = kotlin_kotlin.$_$.a;
50
- var listOf = kotlin_kotlin.$_$.h4;
51
- var withSign = kotlin_kotlin.$_$.c7;
52
- var trimMargin = kotlin_kotlin.$_$.s8;
53
- var hashCode = kotlin_kotlin.$_$.h6;
54
- var initMetadataForCompanion = kotlin_kotlin.$_$.j6;
55
- var coerceAtLeast = kotlin_kotlin.$_$.d7;
56
- var getNumberHashCode = kotlin_kotlin.$_$.e6;
57
- var isInterface = kotlin_kotlin.$_$.q6;
58
- var contentEquals = kotlin_kotlin.$_$.h3;
59
- var coerceAtLeast_0 = kotlin_kotlin.$_$.f7;
50
+ var listOf = kotlin_kotlin.$_$.e4;
51
+ var withSign = kotlin_kotlin.$_$.y6;
52
+ var trimMargin = kotlin_kotlin.$_$.n8;
53
+ var hashCode = kotlin_kotlin.$_$.d6;
54
+ var initMetadataForCompanion = kotlin_kotlin.$_$.f6;
55
+ var coerceAtLeast = kotlin_kotlin.$_$.z6;
56
+ var getNumberHashCode = kotlin_kotlin.$_$.a6;
57
+ var isInterface = kotlin_kotlin.$_$.m6;
58
+ var contentEquals = kotlin_kotlin.$_$.e3;
59
+ var coerceAtLeast_0 = kotlin_kotlin.$_$.b7;
60
60
  var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.e2;
61
61
  var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.f2;
62
- var coerceIn = kotlin_kotlin.$_$.h7;
62
+ var coerceIn = kotlin_kotlin.$_$.d7;
63
63
  var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.c2;
64
- var uintToDouble = kotlin_kotlin.$_$.x9;
65
- var toByte = kotlin_kotlin.$_$.y6;
64
+ var uintToDouble = kotlin_kotlin.$_$.t9;
65
+ var toByte = kotlin_kotlin.$_$.u6;
66
66
  var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.b2;
67
- var UInt = kotlin_kotlin.$_$.i9;
67
+ var UInt = kotlin_kotlin.$_$.e9;
68
68
  var UInt__hashCode_impl_z2mhuw = kotlin_kotlin.$_$.g2;
69
- var objectCreate = kotlin_kotlin.$_$.w6;
69
+ var objectCreate = kotlin_kotlin.$_$.s6;
70
70
  //endregion
71
71
  //region block: pre-declaration
72
72
  function toHSL() {
73
- return this.c2y().d2y();
73
+ return this.n2x().o2x();
74
74
  }
75
75
  function toXYZ() {
76
- return this.c2y().j2y();
76
+ return this.n2x().u2x();
77
77
  }
78
78
  function toLAB() {
79
- return this.j2y().k2y();
79
+ return this.u2x().v2x();
80
80
  }
81
81
  function toLCHab() {
82
- return this.k2y().q2y();
82
+ return this.v2x().b2y();
83
83
  }
84
84
  initMetadataForInterface(Color, 'Color');
85
85
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -89,14 +89,13 @@
89
89
  initMetadataForClass(WhitePoint, 'WhitePoint');
90
90
  initMetadataForObject(Illuminant, 'Illuminant');
91
91
  initMetadataForClass(Matrix, 'Matrix');
92
- initMetadataForClass(Vector, 'Vector');
93
92
  initMetadataForCompanion(Companion);
94
93
  initMetadataForClass(HSL, 'HSL', VOID, VOID, [Color]);
95
94
  initMetadataForClass(HWB, 'HWB', VOID, VOID, [Color]);
96
95
  initMetadataForClass(ICtCp, 'ICtCp', VOID, VOID, [Color]);
97
96
  initMetadataForObject(PqNonlinearity, 'PqNonlinearity');
98
97
  function invoke(l, a, b, alpha) {
99
- return this.b31(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
98
+ return this.l30(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
100
99
  }
101
100
  initMetadataForInterface(LABColorSpace, 'LABColorSpace', VOID, VOID, [WhitePointColorSpace]);
102
101
  initMetadataForCompanion(Companion_0, VOID, [LABColorSpace]);
@@ -113,7 +112,7 @@
113
112
  initMetadataForClass(GammaTransferFunctions, 'GammaTransferFunctions');
114
113
  initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
115
114
  function invoke_0(r, g, b, alpha) {
116
- return this.b31(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
115
+ return this.l30(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
117
116
  }
118
117
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace', VOID, VOID, [WhitePointColorSpace]);
119
118
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -130,11 +129,11 @@
130
129
  initMetadataForCompanion(Companion_3);
131
130
  initMetadataForClass(RGBInt, 'RGBInt', VOID, VOID, [Color]);
132
131
  function invoke_1(x, y, z, alpha) {
133
- return this.b31(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
132
+ return this.l30(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
134
133
  }
135
134
  function invoke$default(x, y, z, alpha, $super) {
136
135
  alpha = alpha === VOID ? 1.0 : alpha;
137
- return $super === VOID ? this.w31(x, y, z, alpha) : invoke_1(x, y, z, alpha);
136
+ return $super === VOID ? this.g31(x, y, z, alpha) : invoke_1(x, y, z, alpha);
138
137
  }
139
138
  initMetadataForInterface(XYZColorSpace, 'XYZColorSpace', VOID, VOID, [WhitePointColorSpace]);
140
139
  initMetadataForCompanion(Companion_4, VOID, [XYZColorSpace]);
@@ -146,15 +145,15 @@
146
145
  function Color() {
147
146
  }
148
147
  function convertTo(_this__u8e3s4, space) {
149
- return space.w2y(_this__u8e3s4);
148
+ return space.h2y(_this__u8e3s4);
150
149
  }
151
150
  function ColorComponentInfo(name, isPolar, min, max) {
152
- this.x2y_1 = name;
153
- this.y2y_1 = isPolar;
154
- this.z2y_1 = min;
155
- this.a2z_1 = max;
151
+ this.i2y_1 = name;
152
+ this.j2y_1 = isPolar;
153
+ this.k2y_1 = min;
154
+ this.l2y_1 = max;
156
155
  // Inline function 'kotlin.require' call
157
- if (!(this.z2y_1 <= this.a2z_1)) {
156
+ if (!(this.k2y_1 <= this.l2y_1)) {
158
157
  var message = 'min must be less than or equal to max';
159
158
  throw IllegalArgumentException_init_$Create$(toString(message));
160
159
  }
@@ -221,7 +220,7 @@
221
220
  var _iterator__ex2g4s = tmp0.j();
222
221
  while (_iterator__ex2g4s.k()) {
223
222
  var element = _iterator__ex2g4s.l();
224
- if (equals(element.n1(), _this__u8e3s4.b2y())) {
223
+ if (equals(element.n1(), _this__u8e3s4.m2x())) {
225
224
  tmp$ret$1 = element;
226
225
  break $l$block;
227
226
  }
@@ -242,17 +241,17 @@
242
241
  if (tmp2_elvis_lhs == null) {
243
242
  var tmp_1;
244
243
  if (_this__u8e3s4 instanceof RGB) {
245
- var tmp4_subject = _this__u8e3s4.i2y_1;
246
- tmp_1 = equals(tmp4_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().b30_1) ? renderFn(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().x2z_1) ? renderFn(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().c30_1) ? renderFn(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().y2z_1) ? renderFn(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().s2z_1) ? renderFn(_this__u8e3s4, 'srgb-linear', unitsPercent, alphaPercent, renderAlpha) : null;
244
+ var tmp4_subject = _this__u8e3s4.t2x_1;
245
+ tmp_1 = equals(tmp4_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().m2z_1) ? renderFn(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().i2z_1) ? renderFn(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().n2z_1) ? renderFn(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().j2z_1) ? renderFn(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().d2z_1) ? renderFn(_this__u8e3s4, 'srgb-linear', unitsPercent, alphaPercent, renderAlpha) : null;
247
246
  } else {
248
247
  if (_this__u8e3s4 instanceof HSL) {
249
248
  tmp_1 = renderHsl(_this__u8e3s4, legacyFormat, legacyName, hueUnit, alphaPercent, renderAlpha);
250
249
  } else {
251
250
  if (_this__u8e3s4 instanceof LAB) {
252
- tmp_1 = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().q2z_1), alphaPercent, renderAlpha);
251
+ tmp_1 = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().b2z_1), alphaPercent, renderAlpha);
253
252
  } else {
254
253
  if (_this__u8e3s4 instanceof LCHab) {
255
- tmp_1 = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().o2z_1), hueUnit, alphaPercent, renderAlpha);
254
+ tmp_1 = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().z2y_1), hueUnit, alphaPercent, renderAlpha);
256
255
  } else {
257
256
  if (_this__u8e3s4 instanceof HWB) {
258
257
  tmp_1 = renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
@@ -264,7 +263,7 @@
264
263
  tmp_1 = renderOklch(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
265
264
  } else {
266
265
  if (_this__u8e3s4 instanceof XYZ) {
267
- tmp_1 = _this__u8e3s4.p2y_1.b2z().equals(Illuminant_getInstance().k2z_1) ? renderFn(_this__u8e3s4, 'xyz-d65', unitsPercent, alphaPercent, renderAlpha) : renderFn(_this__u8e3s4.e2z(XYZColorSpaces_getInstance().d2z_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
266
+ tmp_1 = _this__u8e3s4.a2y_1.m2y().equals(Illuminant_getInstance().v2y_1) ? renderFn(_this__u8e3s4, 'xyz-d65', unitsPercent, alphaPercent, renderAlpha) : renderFn(_this__u8e3s4.p2y(XYZColorSpaces_getInstance().o2y_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
268
267
  } else {
269
268
  tmp_1 = null;
270
269
  }
@@ -285,40 +284,40 @@
285
284
  // Inline function 'kotlin.text.buildString' call
286
285
  // Inline function 'kotlin.apply' call
287
286
  var this_0 = StringBuilder_init_$Create$();
288
- this_0.a8('color(').a8(name).a8(' ');
289
- var tmp = dropLast(_this__u8e3s4.h5(), 1);
287
+ this_0.r7('color(').r7(name).r7(' ');
288
+ var tmp = dropLast(_this__u8e3s4.a5(), 1);
290
289
  joinTo(tmp, this_0, ' ', VOID, VOID, VOID, VOID, renderFn$lambda(unitsPercent));
291
- this_0.a8(renderAlpha(_this__u8e3s4, false, renderAlpha_0, alphaPercent));
292
- this_0.a8(')');
290
+ this_0.r7(renderAlpha(_this__u8e3s4, false, renderAlpha_0, alphaPercent));
291
+ this_0.r7(')');
293
292
  return this_0.toString();
294
293
  }
295
294
  function get_dashName(_this__u8e3s4) {
296
- var tmp0 = _this__u8e3s4.b2y().a2();
295
+ var tmp0 = _this__u8e3s4.m2x().w1();
297
296
  // Inline function 'kotlin.text.replace' call
298
297
  // Inline function 'kotlin.text.lowercase' call
299
298
  // Inline function 'kotlin.js.asDynamic' call
300
- return '--' + Regex_init_$Create$('\\W').ac(tmp0, '-').toLowerCase();
299
+ return '--' + Regex_init_$Create$('\\W').rb(tmp0, '-').toLowerCase();
301
300
  }
302
301
  function renderSRGB(_this__u8e3s4, commas, namedRgba, rgbPercent, alphaPercent, renderAlpha) {
303
- return renderColorFn(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.e2y_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.d30())), rgbPercent ? render(_this__u8e3s4.f2y_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.d30())), rgbPercent ? render(_this__u8e3s4.g2y_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.d30()))], alphaPercent, renderAlpha, commas);
302
+ return renderColorFn(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.p2x_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.o2z())), rgbPercent ? render(_this__u8e3s4.q2x_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.o2z())), rgbPercent ? render(_this__u8e3s4.r2x_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.o2z()))], alphaPercent, renderAlpha, commas);
304
303
  }
305
304
  function renderHsl(_this__u8e3s4, commas, namedHsla, hueUnit, alphaPercent, renderAlpha) {
306
- return renderColorFn(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.f30_1, true), render(_this__u8e3s4.g30_1, true)], alphaPercent, renderAlpha, commas);
305
+ return renderColorFn(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.q2z_1, true), render(_this__u8e3s4.r2z_1, true)], alphaPercent, renderAlpha, commas);
307
306
  }
308
307
  function renderLab(_this__u8e3s4, alphaPercent, renderAlpha) {
309
- return renderColorFn(_this__u8e3s4, 'lab', [render(_this__u8e3s4.r2y_1 / 100, true), render(_this__u8e3s4.s2y_1), render(_this__u8e3s4.t2y_1)], alphaPercent, renderAlpha);
308
+ return renderColorFn(_this__u8e3s4, 'lab', [render(_this__u8e3s4.c2y_1 / 100, true), render(_this__u8e3s4.d2y_1), render(_this__u8e3s4.e2y_1)], alphaPercent, renderAlpha);
310
309
  }
311
310
  function renderLCH(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
312
- return renderColorFn(_this__u8e3s4, 'lch', [render(_this__u8e3s4.i30_1 / 100, true), render(_this__u8e3s4.j30_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
311
+ return renderColorFn(_this__u8e3s4, 'lch', [render(_this__u8e3s4.t2z_1 / 100, true), render(_this__u8e3s4.u2z_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
313
312
  }
314
313
  function renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
315
- return renderColorFn(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.n30_1, true), render(_this__u8e3s4.o30_1, true)], alphaPercent, renderAlpha);
314
+ return renderColorFn(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.y2z_1, true), render(_this__u8e3s4.z2z_1, true)], alphaPercent, renderAlpha);
316
315
  }
317
316
  function renderOklab(_this__u8e3s4, alphaPercent, renderAlpha) {
318
- return renderColorFn(_this__u8e3s4, 'oklab', [render(_this__u8e3s4.p30_1, true), render(_this__u8e3s4.q30_1), render(_this__u8e3s4.r30_1)], alphaPercent, renderAlpha);
317
+ return renderColorFn(_this__u8e3s4, 'oklab', [render(_this__u8e3s4.a30_1, true), render(_this__u8e3s4.b30_1), render(_this__u8e3s4.c30_1)], alphaPercent, renderAlpha);
319
318
  }
320
319
  function renderOklch(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
321
- return renderColorFn(_this__u8e3s4, 'oklch', [render(_this__u8e3s4.s30_1, true), render(_this__u8e3s4.t30_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
320
+ return renderColorFn(_this__u8e3s4, 'oklch', [render(_this__u8e3s4.d30_1, true), render(_this__u8e3s4.e30_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
322
321
  }
323
322
  function render(_this__u8e3s4, percent, precision) {
324
323
  percent = percent === VOID ? false : percent;
@@ -345,8 +344,8 @@
345
344
  }
346
345
  function renderAlpha(_this__u8e3s4, commas, renderAlpha, alphaPercent) {
347
346
  var tmp;
348
- if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) || (renderAlpha.equals(RenderCondition_AUTO_getInstance()) && !isNaN_0(_this__u8e3s4.a2y()) && !(_this__u8e3s4.a2y() === 1.0))) {
349
- tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.a2y()), alphaPercent);
347
+ if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) || (renderAlpha.equals(RenderCondition_AUTO_getInstance()) && !isNaN_0(_this__u8e3s4.l2x()) && !(_this__u8e3s4.l2x() === 1.0))) {
348
+ tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.l2x()), alphaPercent);
350
349
  } else {
351
350
  tmp = '';
352
351
  }
@@ -358,24 +357,24 @@
358
357
  // Inline function 'kotlin.apply' call
359
358
  var this_0 = StringBuilder_init_$Create$();
360
359
  var sep = commas ? ', ' : ' ';
361
- this_0.a8(name).a8('(');
360
+ this_0.r7(name).r7('(');
362
361
  joinTo_0(components, this_0, sep);
363
- this_0.a8(renderAlpha(_this__u8e3s4, commas, renderAlpha_0, alphaPercent));
364
- this_0.a8(')');
362
+ this_0.r7(renderAlpha(_this__u8e3s4, commas, renderAlpha_0, alphaPercent));
363
+ this_0.r7(')');
365
364
  return this_0.toString();
366
365
  }
367
366
  function renderHue(_this__u8e3s4, hueUnit) {
368
367
  var tmp;
369
- if (isNaN_0(_this__u8e3s4.u30())) {
368
+ if (isNaN_0(_this__u8e3s4.f30())) {
370
369
  tmp = 'none';
371
370
  } else {
372
371
  var tmp_0;
373
- switch (hueUnit.z1_1) {
372
+ switch (hueUnit.v1_1) {
374
373
  case 0:
375
- tmp_0 = render(_this__u8e3s4.u30());
374
+ tmp_0 = render(_this__u8e3s4.f30());
376
375
  break;
377
376
  case 1:
378
- tmp_0 = render(_this__u8e3s4.u30()) + 'deg';
377
+ tmp_0 = render(_this__u8e3s4.f30()) + 'deg';
379
378
  break;
380
379
  case 2:
381
380
  tmp_0 = render(hueAsRad(_this__u8e3s4)) + 'rad';
@@ -412,27 +411,27 @@
412
411
  return AngleUnit_AUTO_instance;
413
412
  }
414
413
  function hueOr(_this__u8e3s4, whenNaN) {
415
- return isNaN_0(_this__u8e3s4.u30()) ? numberToDouble(whenNaN) : _this__u8e3s4.u30();
414
+ return isNaN_0(_this__u8e3s4.f30()) ? numberToDouble(whenNaN) : _this__u8e3s4.f30();
416
415
  }
417
416
  function hueAsRad(_this__u8e3s4) {
418
- return degToRad(_this__u8e3s4.u30());
417
+ return degToRad(_this__u8e3s4.f30());
419
418
  }
420
419
  function hueAsGrad(_this__u8e3s4) {
421
- return degToGrad(_this__u8e3s4.u30());
420
+ return degToGrad(_this__u8e3s4.f30());
422
421
  }
423
422
  function hueAsTurns(_this__u8e3s4) {
424
- return degToTurns(_this__u8e3s4.u30());
423
+ return degToTurns(_this__u8e3s4.f30());
425
424
  }
426
425
  function WhitePoint(name, chromaticity) {
427
- this.v30_1 = name;
428
- this.w30_1 = chromaticity;
426
+ this.g30_1 = name;
427
+ this.h30_1 = chromaticity;
429
428
  }
430
429
  protoOf(WhitePoint).toString = function () {
431
- return this.v30_1;
430
+ return this.g30_1;
432
431
  };
433
432
  protoOf(WhitePoint).hashCode = function () {
434
- var result = getStringHashCode(this.v30_1);
435
- result = imul(result, 31) + this.w30_1.hashCode() | 0;
433
+ var result = getStringHashCode(this.g30_1);
434
+ result = imul(result, 31) + this.h30_1.hashCode() | 0;
436
435
  return result;
437
436
  };
438
437
  protoOf(WhitePoint).equals = function (other) {
@@ -441,22 +440,22 @@
441
440
  if (!(other instanceof WhitePoint))
442
441
  return false;
443
442
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
444
- if (!(this.v30_1 === tmp0_other_with_cast.v30_1))
443
+ if (!(this.g30_1 === tmp0_other_with_cast.g30_1))
445
444
  return false;
446
- if (!this.w30_1.equals(tmp0_other_with_cast.w30_1))
445
+ if (!this.h30_1.equals(tmp0_other_with_cast.h30_1))
447
446
  return false;
448
447
  return true;
449
448
  };
450
449
  function Illuminant() {
451
450
  Illuminant_instance = this;
452
- this.f2z_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
453
- this.g2z_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
454
- this.h2z_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
455
- this.i2z_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
456
- this.j2z_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
457
- this.k2z_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
458
- this.l2z_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
459
- this.m2z_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
451
+ this.q2y_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
452
+ this.r2y_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
453
+ this.s2y_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
454
+ this.t2y_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
455
+ this.u2y_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
456
+ this.v2y_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
457
+ this.w2y_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
458
+ this.x2y_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
460
459
  }
461
460
  var Illuminant_instance;
462
461
  function Illuminant_getInstance() {
@@ -484,7 +483,7 @@
484
483
  this_0.e(tmp$ret$0);
485
484
  }
486
485
  this_0.e(get_alphaInfo());
487
- return this_0.z2();
486
+ return this_0.v2();
488
487
  }
489
488
  function threeComponentInfo(n1, l1, r1, n2, l2, r2, n3, l3, r3) {
490
489
  _init_properties_ColorSpaceUtils_kt__cnwylg();
@@ -505,7 +504,7 @@
505
504
  this_0.e(tmp$ret$0);
506
505
  }
507
506
  this_0.e(get_alphaInfo());
508
- return this_0.z2();
507
+ return this_0.v2();
509
508
  }
510
509
  function componentInfoList(c) {
511
510
  _init_properties_ColorSpaceUtils_kt__cnwylg();
@@ -608,22 +607,22 @@
608
607
  function Matrix__equals_impl_g5p8p9($this, other) {
609
608
  if (!(other instanceof Matrix))
610
609
  return false;
611
- var tmp0_other_with_cast = other instanceof Matrix ? other.x30_1 : THROW_CCE();
610
+ var tmp0_other_with_cast = other instanceof Matrix ? other.i30_1 : THROW_CCE();
612
611
  if (!equals($this, tmp0_other_with_cast))
613
612
  return false;
614
613
  return true;
615
614
  }
616
615
  function Matrix(rowMajor) {
617
- this.x30_1 = rowMajor;
616
+ this.i30_1 = rowMajor;
618
617
  }
619
618
  protoOf(Matrix).toString = function () {
620
- return Matrix__toString_impl_l0abk0(this.x30_1);
619
+ return Matrix__toString_impl_l0abk0(this.i30_1);
621
620
  };
622
621
  protoOf(Matrix).hashCode = function () {
623
- return Matrix__hashCode_impl_s9ntm9(this.x30_1);
622
+ return Matrix__hashCode_impl_s9ntm9(this.i30_1);
624
623
  };
625
624
  protoOf(Matrix).equals = function (other) {
626
- return Matrix__equals_impl_g5p8p9(this.x30_1, other);
625
+ return Matrix__equals_impl_g5p8p9(this.i30_1, other);
627
626
  };
628
627
  function inverse(_this__u8e3s4, inPlace) {
629
628
  inPlace = inPlace === VOID ? false : inPlace;
@@ -692,51 +691,25 @@
692
691
  function _Vector___get_s__impl__pzuljk($this) {
693
692
  return _Vector___get_values__impl__3gdbp5($this)[2];
694
693
  }
695
- function Vector__toString_impl_hn2ybi($this) {
696
- return 'Vector(values=' + toString($this) + ')';
697
- }
698
- function Vector__hashCode_impl_442yhd($this) {
699
- return hashCode($this);
700
- }
701
- function Vector__equals_impl_hy6igl($this, other) {
702
- if (!(other instanceof Vector))
703
- return false;
704
- var tmp0_other_with_cast = other instanceof Vector ? other.y30_1 : THROW_CCE();
705
- if (!equals($this, tmp0_other_with_cast))
706
- return false;
707
- return true;
708
- }
709
- function Vector(values) {
710
- this.y30_1 = values;
711
- }
712
- protoOf(Vector).toString = function () {
713
- return Vector__toString_impl_hn2ybi(this.y30_1);
714
- };
715
- protoOf(Vector).hashCode = function () {
716
- return Vector__hashCode_impl_442yhd(this.y30_1);
717
- };
718
- protoOf(Vector).equals = function (other) {
719
- return Vector__equals_impl_hy6igl(this.y30_1, other);
720
- };
721
694
  function dot_0(_this__u8e3s4, v0, v1, v2) {
722
695
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
723
- var tmp0 = 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;
724
- var tmp2 = 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;
696
+ var tmp4 = 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;
697
+ var tmp5 = 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;
725
698
  var p2 = 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;
726
- return _Vector___init__impl__y7x4qq_0(tmp0, tmp2, p2);
699
+ return _Vector___init__impl__y7x4qq_0(tmp4, tmp5, p2);
727
700
  }
728
701
  function dot$f($this_dot, $other, x, y) {
729
702
  return Matrix__get_impl_xogbpk($this_dot, 0, y) * Matrix__get_impl_xogbpk($other, x, 0) + Matrix__get_impl_xogbpk($this_dot, 1, y) * Matrix__get_impl_xogbpk($other, x, 1) + Matrix__get_impl_xogbpk($this_dot, 2, y) * Matrix__get_impl_xogbpk($other, x, 2);
730
703
  }
731
704
  function Companion() {
732
705
  Companion_instance = this;
733
- this.z30_1 = polarComponentInfo('HSL', 0.0, 1.0);
706
+ this.j30_1 = polarComponentInfo('HSL', 0.0, 1.0);
734
707
  }
735
- protoOf(Companion).a2 = function () {
708
+ protoOf(Companion).w1 = function () {
736
709
  return 'HSL';
737
710
  };
738
- protoOf(Companion).w2y = function (color) {
739
- return color.d2y();
711
+ protoOf(Companion).h2y = function (color) {
712
+ return color.o2x();
740
713
  };
741
714
  var Companion_instance;
742
715
  function Companion_getInstance() {
@@ -749,62 +722,62 @@
749
722
  // Inline function 'kotlin.math.min' call
750
723
  var b = 1 - l;
751
724
  var a = s * Math.min(l, b);
752
- var tmp0 = k - 3;
725
+ var tmp2 = k - 3;
753
726
  // Inline function 'kotlin.comparisons.minOf' call
754
727
  var b_0 = 9 - k;
755
- var tmp$ret$1 = Math.min(tmp0, b_0, 1.0);
728
+ var tmp$ret$1 = Math.min(tmp2, b_0, 1.0);
756
729
  return l - a * coerceAtLeast(tmp$ret$1, -1.0);
757
730
  }
758
731
  function HSL(h, s, l, alpha) {
759
732
  Companion_getInstance();
760
733
  alpha = alpha === VOID ? 1.0 : alpha;
761
- this.e30_1 = h;
762
- this.f30_1 = s;
763
- this.g30_1 = l;
764
- this.h30_1 = alpha;
734
+ this.p2z_1 = h;
735
+ this.q2z_1 = s;
736
+ this.r2z_1 = l;
737
+ this.s2z_1 = alpha;
765
738
  }
766
- protoOf(HSL).u30 = function () {
767
- return this.e30_1;
739
+ protoOf(HSL).f30 = function () {
740
+ return this.p2z_1;
768
741
  };
769
- protoOf(HSL).a2y = function () {
770
- return this.h30_1;
742
+ protoOf(HSL).l2x = function () {
743
+ return this.s2z_1;
771
744
  };
772
- protoOf(HSL).b2y = function () {
745
+ protoOf(HSL).m2x = function () {
773
746
  return Companion_getInstance();
774
747
  };
775
- protoOf(HSL).c2y = function () {
776
- if (this.f30_1 < 1.0E-7)
777
- return Companion_getInstance_2().b31(this.g30_1, this.g30_1, this.g30_1, this.h30_1);
748
+ protoOf(HSL).n2x = function () {
749
+ if (this.q2z_1 < 1.0E-7)
750
+ return Companion_getInstance_2().l30(this.r2z_1, this.r2z_1, this.r2z_1, this.s2z_1);
778
751
  var h = normalizeDeg_0(hueOr(this, 0)) / 30.0;
779
- var s = this.f30_1;
780
- var l = this.g30_1;
781
- return SRGB_getInstance().b31(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.h30_1);
752
+ var s = this.q2z_1;
753
+ var l = this.r2z_1;
754
+ return SRGB_getInstance().l30(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.s2z_1);
782
755
  };
783
- protoOf(HSL).d2y = function () {
756
+ protoOf(HSL).o2x = function () {
784
757
  return this;
785
758
  };
786
- protoOf(HSL).h5 = function () {
759
+ protoOf(HSL).a5 = function () {
787
760
  // Inline function 'kotlin.floatArrayOf' call
788
- return new Float32Array([this.e30_1, this.f30_1, this.g30_1, this.h30_1]);
761
+ return new Float32Array([this.p2z_1, this.q2z_1, this.r2z_1, this.s2z_1]);
789
762
  };
790
- protoOf(HSL).d31 = function (h, s, l, alpha) {
763
+ protoOf(HSL).n30 = function (h, s, l, alpha) {
791
764
  return new HSL(h, s, l, alpha);
792
765
  };
793
- protoOf(HSL).e31 = function (h, s, l, alpha, $super) {
794
- h = h === VOID ? this.e30_1 : h;
795
- s = s === VOID ? this.f30_1 : s;
796
- l = l === VOID ? this.g30_1 : l;
797
- alpha = alpha === VOID ? this.h30_1 : alpha;
798
- return $super === VOID ? this.d31(h, s, l, alpha) : $super.d31.call(this, h, s, l, alpha);
766
+ protoOf(HSL).o30 = function (h, s, l, alpha, $super) {
767
+ h = h === VOID ? this.p2z_1 : h;
768
+ s = s === VOID ? this.q2z_1 : s;
769
+ l = l === VOID ? this.r2z_1 : l;
770
+ alpha = alpha === VOID ? this.s2z_1 : alpha;
771
+ return $super === VOID ? this.n30(h, s, l, alpha) : $super.n30.call(this, h, s, l, alpha);
799
772
  };
800
773
  protoOf(HSL).toString = function () {
801
- return 'HSL(h=' + this.e30_1 + ', s=' + this.f30_1 + ', l=' + this.g30_1 + ', alpha=' + this.h30_1 + ')';
774
+ return 'HSL(h=' + this.p2z_1 + ', s=' + this.q2z_1 + ', l=' + this.r2z_1 + ', alpha=' + this.s2z_1 + ')';
802
775
  };
803
776
  protoOf(HSL).hashCode = function () {
804
- var result = getNumberHashCode(this.e30_1);
805
- result = imul(result, 31) + getNumberHashCode(this.f30_1) | 0;
806
- result = imul(result, 31) + getNumberHashCode(this.g30_1) | 0;
807
- result = imul(result, 31) + getNumberHashCode(this.h30_1) | 0;
777
+ var result = getNumberHashCode(this.p2z_1);
778
+ result = imul(result, 31) + getNumberHashCode(this.q2z_1) | 0;
779
+ result = imul(result, 31) + getNumberHashCode(this.r2z_1) | 0;
780
+ result = imul(result, 31) + getNumberHashCode(this.s2z_1) | 0;
808
781
  return result;
809
782
  };
810
783
  protoOf(HSL).equals = function (other) {
@@ -813,13 +786,13 @@
813
786
  if (!(other instanceof HSL))
814
787
  return false;
815
788
  var tmp0_other_with_cast = other instanceof HSL ? other : THROW_CCE();
816
- if (!equals(this.e30_1, tmp0_other_with_cast.e30_1))
789
+ if (!equals(this.p2z_1, tmp0_other_with_cast.p2z_1))
817
790
  return false;
818
- if (!equals(this.f30_1, tmp0_other_with_cast.f30_1))
791
+ if (!equals(this.q2z_1, tmp0_other_with_cast.q2z_1))
819
792
  return false;
820
- if (!equals(this.g30_1, tmp0_other_with_cast.g30_1))
793
+ if (!equals(this.r2z_1, tmp0_other_with_cast.r2z_1))
821
794
  return false;
822
- if (!equals(this.h30_1, tmp0_other_with_cast.h30_1))
795
+ if (!equals(this.s2z_1, tmp0_other_with_cast.s2z_1))
823
796
  return false;
824
797
  return true;
825
798
  };
@@ -863,43 +836,43 @@
863
836
  var ICTCP_LMS_TO_XYZ;
864
837
  function ICtCp() {
865
838
  }
866
- protoOf(ICtCp).j31 = function () {
867
- var fo = RGBColorSpaces_getInstance().y2z_1.k31();
839
+ protoOf(ICtCp).t30 = function () {
840
+ var fo = RGBColorSpaces_getInstance().j2z_1.u30();
868
841
  var tmp0 = get_ICTCP_ICTCP_to_LMS();
869
- var tmp2 = this.f31_1;
870
- var tmp4 = this.g31_1;
842
+ var tmp1 = this.p30_1;
843
+ var tmp2 = this.q30_1;
871
844
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
872
- var v2 = this.h31_1;
873
- 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;
874
- 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;
875
- 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;
876
- var tmp0_1 = get_ICTCP_LMS_to_RGB();
877
- var tmp2_1 = PqNonlinearity_instance.t31(tmp0_0);
878
- var tmp4_0 = PqNonlinearity_instance.t31(tmp2_0);
845
+ var v2 = this.r30_1;
846
+ var tmp4 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
847
+ var tmp5 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
848
+ var s = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
849
+ var tmp0_0 = get_ICTCP_LMS_to_RGB();
850
+ var tmp1_0 = PqNonlinearity_instance.d31(tmp4);
851
+ var tmp2_0 = PqNonlinearity_instance.d31(tmp5);
879
852
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
880
- var v2_0 = PqNonlinearity_instance.t31(s);
881
- 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;
882
- 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;
883
- 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;
884
- return RGBColorSpaces_getInstance().y2z_1.b31(fo.u31(tmp0_2), fo.u31(tmp2_2), fo.u31(b), this.i31_1);
853
+ var v2_0 = PqNonlinearity_instance.d31(s);
854
+ var tmp4_0 = Matrix__get_impl_xogbpk(tmp0_0, 0, 0) * tmp1_0 + Matrix__get_impl_xogbpk(tmp0_0, 1, 0) * tmp2_0 + Matrix__get_impl_xogbpk(tmp0_0, 2, 0) * v2_0;
855
+ var tmp5_0 = Matrix__get_impl_xogbpk(tmp0_0, 0, 1) * tmp1_0 + Matrix__get_impl_xogbpk(tmp0_0, 1, 1) * tmp2_0 + Matrix__get_impl_xogbpk(tmp0_0, 2, 1) * v2_0;
856
+ var b = Matrix__get_impl_xogbpk(tmp0_0, 0, 2) * tmp1_0 + Matrix__get_impl_xogbpk(tmp0_0, 1, 2) * tmp2_0 + Matrix__get_impl_xogbpk(tmp0_0, 2, 2) * v2_0;
857
+ return RGBColorSpaces_getInstance().j2z_1.l30(fo.e31(tmp4_0), fo.e31(tmp5_0), fo.e31(b), this.s30_1);
885
858
  };
886
859
  function PqNonlinearity() {
887
- this.l31_1 = 0.1593017578125;
888
- this.m31_1 = 78.84375;
889
- this.n31_1 = 0.8359375;
890
- this.o31_1 = 18.8515625;
891
- this.p31_1 = 18.6875;
892
- this.q31_1 = 10000.0;
893
- this.r31_1 = 6.277394636015326;
894
- this.s31_1 = 0.012683313515655966;
895
- }
896
- protoOf(PqNonlinearity).t31 = function (x) {
860
+ this.v30_1 = 0.1593017578125;
861
+ this.w30_1 = 78.84375;
862
+ this.x30_1 = 0.8359375;
863
+ this.y30_1 = 18.8515625;
864
+ this.z30_1 = 18.6875;
865
+ this.a31_1 = 10000.0;
866
+ this.b31_1 = 6.277394636015326;
867
+ this.c31_1 = 0.012683313515655966;
868
+ }
869
+ protoOf(PqNonlinearity).d31 = function (x) {
897
870
  var vp = spow(x, 0.012683313515655966);
898
871
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
899
872
  var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
900
873
  return 10000.0 * l;
901
874
  };
902
- protoOf(PqNonlinearity).u31 = function (x) {
875
+ protoOf(PqNonlinearity).e31 = function (x) {
903
876
  var yp = spow_0(x / 10000.0, 0.1593017578125);
904
877
  return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
905
878
  };
@@ -923,28 +896,28 @@
923
896
  }
924
897
  function Companion_0() {
925
898
  Companion_instance_0 = this;
926
- this.v31_1 = LABColorSpaces_getInstance().p2z_1;
899
+ this.f31_1 = LABColorSpaces_getInstance().a2z_1;
927
900
  }
928
901
  protoOf(Companion_0).equals = function (other) {
929
- return equals(LABColorSpaces_getInstance().p2z_1, other);
902
+ return equals(LABColorSpaces_getInstance().a2z_1, other);
930
903
  };
931
904
  protoOf(Companion_0).hashCode = function () {
932
- return hashCode(LABColorSpaces_getInstance().p2z_1);
905
+ return hashCode(LABColorSpaces_getInstance().a2z_1);
933
906
  };
934
- protoOf(Companion_0).b31 = function (l, a, b, alpha) {
935
- return this.v31_1.b31(l, a, b, alpha);
907
+ protoOf(Companion_0).l30 = function (l, a, b, alpha) {
908
+ return this.f31_1.l30(l, a, b, alpha);
936
909
  };
937
- protoOf(Companion_0).w31 = function (l, a, b, alpha) {
938
- return this.v31_1.w31(l, a, b, alpha);
910
+ protoOf(Companion_0).g31 = function (l, a, b, alpha) {
911
+ return this.f31_1.g31(l, a, b, alpha);
939
912
  };
940
- protoOf(Companion_0).b2z = function () {
941
- return this.v31_1.b2z();
913
+ protoOf(Companion_0).m2y = function () {
914
+ return this.f31_1.m2y();
942
915
  };
943
- protoOf(Companion_0).a2 = function () {
944
- return this.v31_1.a2();
916
+ protoOf(Companion_0).w1 = function () {
917
+ return this.f31_1.w1();
945
918
  };
946
- protoOf(Companion_0).w2y = function (color) {
947
- return this.v31_1.w2y(color);
919
+ protoOf(Companion_0).h2y = function (color) {
920
+ return this.f31_1.h2y(color);
948
921
  };
949
922
  var Companion_instance_0;
950
923
  function Companion_getInstance_0() {
@@ -954,34 +927,34 @@
954
927
  }
955
928
  function LAB(l, a, b, alpha, space) {
956
929
  Companion_getInstance_0();
957
- this.r2y_1 = l;
958
- this.s2y_1 = a;
959
- this.t2y_1 = b;
960
- this.u2y_1 = alpha;
961
- this.v2y_1 = space;
962
- }
963
- protoOf(LAB).a2y = function () {
964
- return this.u2y_1;
965
- };
966
- protoOf(LAB).b2y = function () {
967
- return this.v2y_1;
968
- };
969
- protoOf(LAB).c2y = function () {
970
- return this.r2y_1 === 0.0 ? Companion_getInstance_2().b31(0.0, 0.0, 0.0, this.u2y_1) : this.j2y().c2y();
971
- };
972
- protoOf(LAB).j2y = function () {
973
- var xyzSpace = XYZColorSpace_0(this.v2y_1.b2z());
974
- if (this.r2y_1 === 0.0)
975
- return xyzSpace.x31(0.0, 0.0, 0.0);
976
- var fy = (this.r2y_1 + 16) / 116.0;
977
- var fz = fy - this.t2y_1 / 200.0;
978
- var fx = this.s2y_1 / 500.0 + fy;
930
+ this.c2y_1 = l;
931
+ this.d2y_1 = a;
932
+ this.e2y_1 = b;
933
+ this.f2y_1 = alpha;
934
+ this.g2y_1 = space;
935
+ }
936
+ protoOf(LAB).l2x = function () {
937
+ return this.f2y_1;
938
+ };
939
+ protoOf(LAB).m2x = function () {
940
+ return this.g2y_1;
941
+ };
942
+ protoOf(LAB).n2x = function () {
943
+ return this.c2y_1 === 0.0 ? Companion_getInstance_2().l30(0.0, 0.0, 0.0, this.f2y_1) : this.u2x().n2x();
944
+ };
945
+ protoOf(LAB).u2x = function () {
946
+ var xyzSpace = XYZColorSpace_0(this.g2y_1.m2y());
947
+ if (this.c2y_1 === 0.0)
948
+ return xyzSpace.h31(0.0, 0.0, 0.0);
949
+ var fy = (this.c2y_1 + 16) / 116.0;
950
+ var fz = fy - this.e2y_1 / 200.0;
951
+ var fx = this.d2y_1 / 500.0 + fy;
979
952
  var tmp;
980
- if (this.r2y_1 > 8.0) {
953
+ if (this.c2y_1 > 8.0) {
981
954
  // Inline function 'kotlin.math.pow' call
982
955
  tmp = Math.pow(fy, 3);
983
956
  } else {
984
- tmp = this.r2y_1 / 903.2962962962963;
957
+ tmp = this.c2y_1 / 903.2962962962963;
985
958
  }
986
959
  var yr = tmp;
987
960
  // Inline function 'kotlin.math.pow' call
@@ -992,13 +965,13 @@
992
965
  // Inline function 'kotlin.let' call
993
966
  var it_0 = Math.pow(fx, 3);
994
967
  var xr = it_0 > 0.008856451679035631 ? it_0 : (116 * fx - 16) / 903.2962962962963;
995
- var wp = this.v2y_1.b2z().w30_1;
996
- return xyzSpace.w31(xr * wp.b32(), yr * wp.a32_1, zr * wp.c32(), this.u2y_1);
968
+ var wp = this.g2y_1.m2y().h30_1;
969
+ return xyzSpace.g31(xr * wp.l31(), yr * wp.k31_1, zr * wp.m31(), this.f2y_1);
997
970
  };
998
- protoOf(LAB).q2y = function () {
999
- var tmp0 = this.s2y_1;
971
+ protoOf(LAB).b2y = function () {
972
+ var tmp0 = this.d2y_1;
1000
973
  // Inline function 'com.github.ajalt.colormath.internal.toPolarModel' call
1001
- var b = this.t2y_1;
974
+ var b = this.e2y_1;
1002
975
  // Inline function 'kotlin.math.sqrt' call
1003
976
  var x = tmp0 * tmp0 + b * b;
1004
977
  var c = Math.sqrt(x);
@@ -1012,24 +985,24 @@
1012
985
  }
1013
986
  var h = tmp;
1014
987
  var h_0 = normalizeDeg_0(h);
1015
- return LCHabColorSpace_0(this.v2y_1.b2z()).b31(this.r2y_1, c, h_0, this.u2y_1);
988
+ return LCHabColorSpace_0(this.g2y_1.m2y()).l30(this.c2y_1, c, h_0, this.f2y_1);
1016
989
  };
1017
- protoOf(LAB).k2y = function () {
990
+ protoOf(LAB).v2x = function () {
1018
991
  return this;
1019
992
  };
1020
- protoOf(LAB).h5 = function () {
993
+ protoOf(LAB).a5 = function () {
1021
994
  // Inline function 'kotlin.floatArrayOf' call
1022
- return new Float32Array([this.r2y_1, this.s2y_1, this.t2y_1, this.u2y_1]);
995
+ return new Float32Array([this.c2y_1, this.d2y_1, this.e2y_1, this.f2y_1]);
1023
996
  };
1024
997
  protoOf(LAB).toString = function () {
1025
- return 'LAB(l=' + this.r2y_1 + ', a=' + this.s2y_1 + ', b=' + this.t2y_1 + ', alpha=' + this.u2y_1 + ', space=' + toString(this.v2y_1) + ')';
998
+ return 'LAB(l=' + this.c2y_1 + ', a=' + this.d2y_1 + ', b=' + this.e2y_1 + ', alpha=' + this.f2y_1 + ', space=' + toString(this.g2y_1) + ')';
1026
999
  };
1027
1000
  protoOf(LAB).hashCode = function () {
1028
- var result = getNumberHashCode(this.r2y_1);
1029
- result = imul(result, 31) + getNumberHashCode(this.s2y_1) | 0;
1030
- result = imul(result, 31) + getNumberHashCode(this.t2y_1) | 0;
1031
- result = imul(result, 31) + getNumberHashCode(this.u2y_1) | 0;
1032
- result = imul(result, 31) + hashCode(this.v2y_1) | 0;
1001
+ var result = getNumberHashCode(this.c2y_1);
1002
+ result = imul(result, 31) + getNumberHashCode(this.d2y_1) | 0;
1003
+ result = imul(result, 31) + getNumberHashCode(this.e2y_1) | 0;
1004
+ result = imul(result, 31) + getNumberHashCode(this.f2y_1) | 0;
1005
+ result = imul(result, 31) + hashCode(this.g2y_1) | 0;
1033
1006
  return result;
1034
1007
  };
1035
1008
  protoOf(LAB).equals = function (other) {
@@ -1038,27 +1011,27 @@
1038
1011
  if (!(other instanceof LAB))
1039
1012
  return false;
1040
1013
  var tmp0_other_with_cast = other instanceof LAB ? other : THROW_CCE();
1041
- if (!equals(this.r2y_1, tmp0_other_with_cast.r2y_1))
1014
+ if (!equals(this.c2y_1, tmp0_other_with_cast.c2y_1))
1042
1015
  return false;
1043
- if (!equals(this.s2y_1, tmp0_other_with_cast.s2y_1))
1016
+ if (!equals(this.d2y_1, tmp0_other_with_cast.d2y_1))
1044
1017
  return false;
1045
- if (!equals(this.t2y_1, tmp0_other_with_cast.t2y_1))
1018
+ if (!equals(this.e2y_1, tmp0_other_with_cast.e2y_1))
1046
1019
  return false;
1047
- if (!equals(this.u2y_1, tmp0_other_with_cast.u2y_1))
1020
+ if (!equals(this.f2y_1, tmp0_other_with_cast.f2y_1))
1048
1021
  return false;
1049
- if (!equals(this.v2y_1, tmp0_other_with_cast.v2y_1))
1022
+ if (!equals(this.g2y_1, tmp0_other_with_cast.g2y_1))
1050
1023
  return false;
1051
1024
  return true;
1052
1025
  };
1053
1026
  function LABColorSpace() {
1054
1027
  }
1055
1028
  function LABColorSpace_0(whitePoint) {
1056
- return whitePoint.equals(Illuminant_getInstance().k2z_1) ? LABColorSpaces_getInstance().p2z_1 : whitePoint.equals(Illuminant_getInstance().i2z_1) ? LABColorSpaces_getInstance().q2z_1 : new LABColorSpaceImpl(whitePoint);
1029
+ return whitePoint.equals(Illuminant_getInstance().v2y_1) ? LABColorSpaces_getInstance().a2z_1 : whitePoint.equals(Illuminant_getInstance().t2y_1) ? LABColorSpaces_getInstance().b2z_1 : new LABColorSpaceImpl(whitePoint);
1057
1030
  }
1058
1031
  function LABColorSpaces() {
1059
1032
  LABColorSpaces_instance = this;
1060
- this.p2z_1 = new LABColorSpaceImpl(Illuminant_getInstance().k2z_1);
1061
- this.q2z_1 = new LABColorSpaceImpl(Illuminant_getInstance().i2z_1);
1033
+ this.a2z_1 = new LABColorSpaceImpl(Illuminant_getInstance().v2y_1);
1034
+ this.b2z_1 = new LABColorSpaceImpl(Illuminant_getInstance().t2y_1);
1062
1035
  }
1063
1036
  var LABColorSpaces_instance;
1064
1037
  function LABColorSpaces_getInstance() {
@@ -1067,41 +1040,41 @@
1067
1040
  return LABColorSpaces_instance;
1068
1041
  }
1069
1042
  function LABColorSpaceImpl(whitePoint) {
1070
- this.d32_1 = whitePoint;
1071
- this.e32_1 = threeComponentInfo('L', 0.0, 100.0, 'A', -128.0, 128.0, 'B', -128.0, 128.0);
1043
+ this.n31_1 = whitePoint;
1044
+ this.o31_1 = threeComponentInfo('L', 0.0, 100.0, 'A', -128.0, 128.0, 'B', -128.0, 128.0);
1072
1045
  }
1073
- protoOf(LABColorSpaceImpl).b2z = function () {
1074
- return this.d32_1;
1046
+ protoOf(LABColorSpaceImpl).m2y = function () {
1047
+ return this.n31_1;
1075
1048
  };
1076
- protoOf(LABColorSpaceImpl).a2 = function () {
1049
+ protoOf(LABColorSpaceImpl).w1 = function () {
1077
1050
  return 'LAB';
1078
1051
  };
1079
- protoOf(LABColorSpaceImpl).w2y = function (color) {
1052
+ protoOf(LABColorSpaceImpl).h2y = function (color) {
1080
1053
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1081
1054
  var tmp;
1082
- var tmp_0 = color.b2y();
1055
+ var tmp_0 = color.m2x();
1083
1056
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1084
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2z();
1085
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().k2z_1 : tmp1_elvis_lhs).equals(this.b2z())) {
1086
- tmp = color.k2y();
1057
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m2y();
1058
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().v2y_1 : tmp1_elvis_lhs).equals(this.m2y())) {
1059
+ tmp = color.v2x();
1087
1060
  } else {
1088
- tmp = color.j2y().e2z(XYZColorSpace_0(this.b2z())).k2y();
1061
+ tmp = color.u2x().p2y(XYZColorSpace_0(this.m2y())).v2x();
1089
1062
  }
1090
1063
  return tmp;
1091
1064
  };
1092
1065
  protoOf(LABColorSpaceImpl).toString = function () {
1093
- return 'LABColorSpace(' + this.d32_1.toString() + ')';
1066
+ return 'LABColorSpace(' + this.n31_1.toString() + ')';
1094
1067
  };
1095
- protoOf(LABColorSpaceImpl).b31 = function (l, a, b, alpha) {
1068
+ protoOf(LABColorSpaceImpl).l30 = function (l, a, b, alpha) {
1096
1069
  return new LAB(l, a, b, alpha, this);
1097
1070
  };
1098
1071
  protoOf(LABColorSpaceImpl).hashCode = function () {
1099
- return this.d32_1.hashCode();
1072
+ return this.n31_1.hashCode();
1100
1073
  };
1101
1074
  protoOf(LABColorSpaceImpl).equals = function (other) {
1102
1075
  var tmp;
1103
1076
  if (!(other == null) ? isInterface(other, LABColorSpace) : false) {
1104
- tmp = this.d32_1.equals(other.b2z());
1077
+ tmp = this.n31_1.equals(other.m2y());
1105
1078
  } else {
1106
1079
  tmp = false;
1107
1080
  }
@@ -1109,25 +1082,25 @@
1109
1082
  };
1110
1083
  function Companion_1() {
1111
1084
  Companion_instance_1 = this;
1112
- this.f32_1 = LCHabColorSpaces_getInstance().n2z_1;
1085
+ this.p31_1 = LCHabColorSpaces_getInstance().y2y_1;
1113
1086
  }
1114
1087
  protoOf(Companion_1).equals = function (other) {
1115
- return equals(LCHabColorSpaces_getInstance().n2z_1, other);
1088
+ return equals(LCHabColorSpaces_getInstance().y2y_1, other);
1116
1089
  };
1117
1090
  protoOf(Companion_1).hashCode = function () {
1118
- return hashCode(LCHabColorSpaces_getInstance().n2z_1);
1091
+ return hashCode(LCHabColorSpaces_getInstance().y2y_1);
1119
1092
  };
1120
- protoOf(Companion_1).b31 = function (l, c, h, alpha) {
1121
- return this.f32_1.b31(l, c, h, alpha);
1093
+ protoOf(Companion_1).l30 = function (l, c, h, alpha) {
1094
+ return this.p31_1.l30(l, c, h, alpha);
1122
1095
  };
1123
- protoOf(Companion_1).b2z = function () {
1124
- return this.f32_1.b2z();
1096
+ protoOf(Companion_1).m2y = function () {
1097
+ return this.p31_1.m2y();
1125
1098
  };
1126
- protoOf(Companion_1).a2 = function () {
1127
- return this.f32_1.a2();
1099
+ protoOf(Companion_1).w1 = function () {
1100
+ return this.p31_1.w1();
1128
1101
  };
1129
- protoOf(Companion_1).w2y = function (color) {
1130
- return this.f32_1.w2y(color);
1102
+ protoOf(Companion_1).h2y = function (color) {
1103
+ return this.p31_1.h2y(color);
1131
1104
  };
1132
1105
  var Companion_instance_1;
1133
1106
  function Companion_getInstance_1() {
@@ -1137,54 +1110,54 @@
1137
1110
  }
1138
1111
  function LCHab(l, c, h, alpha, space) {
1139
1112
  Companion_getInstance_1();
1140
- this.i30_1 = l;
1141
- this.j30_1 = c;
1142
- this.k30_1 = h;
1143
- this.l30_1 = alpha;
1144
- this.m30_1 = space;
1113
+ this.t2z_1 = l;
1114
+ this.u2z_1 = c;
1115
+ this.v2z_1 = h;
1116
+ this.w2z_1 = alpha;
1117
+ this.x2z_1 = space;
1145
1118
  }
1146
- protoOf(LCHab).u30 = function () {
1147
- return this.k30_1;
1119
+ protoOf(LCHab).f30 = function () {
1120
+ return this.v2z_1;
1148
1121
  };
1149
- protoOf(LCHab).a2y = function () {
1150
- return this.l30_1;
1122
+ protoOf(LCHab).l2x = function () {
1123
+ return this.w2z_1;
1151
1124
  };
1152
- protoOf(LCHab).b2y = function () {
1153
- return this.m30_1;
1125
+ protoOf(LCHab).m2x = function () {
1126
+ return this.x2z_1;
1154
1127
  };
1155
- protoOf(LCHab).c2y = function () {
1156
- return this.k2y().c2y();
1128
+ protoOf(LCHab).n2x = function () {
1129
+ return this.v2x().n2x();
1157
1130
  };
1158
- protoOf(LCHab).j2y = function () {
1159
- return this.k2y().j2y();
1131
+ protoOf(LCHab).u2x = function () {
1132
+ return this.v2x().u2x();
1160
1133
  };
1161
- protoOf(LCHab).k2y = function () {
1162
- var tmp0 = this.j30_1;
1134
+ protoOf(LCHab).v2x = function () {
1135
+ var tmp0 = this.u2z_1;
1163
1136
  // Inline function 'com.github.ajalt.colormath.internal.fromPolarModel' call
1164
- var h = this.k30_1;
1137
+ var h = this.v2z_1;
1165
1138
  var hDegrees = isNaN_0(h) ? 0.0 : degToRad(h);
1166
1139
  // Inline function 'kotlin.math.cos' call
1167
1140
  var a = tmp0 * Math.cos(hDegrees);
1168
1141
  // Inline function 'kotlin.math.sin' call
1169
1142
  var b = tmp0 * Math.sin(hDegrees);
1170
- return LABColorSpace_0(this.m30_1.b2z()).b31(this.i30_1, a, b, this.l30_1);
1143
+ return LABColorSpace_0(this.x2z_1.m2y()).l30(this.t2z_1, a, b, this.w2z_1);
1171
1144
  };
1172
- protoOf(LCHab).q2y = function () {
1145
+ protoOf(LCHab).b2y = function () {
1173
1146
  return this;
1174
1147
  };
1175
- protoOf(LCHab).h5 = function () {
1148
+ protoOf(LCHab).a5 = function () {
1176
1149
  // Inline function 'kotlin.floatArrayOf' call
1177
- return new Float32Array([this.i30_1, this.j30_1, this.k30_1, this.l30_1]);
1150
+ return new Float32Array([this.t2z_1, this.u2z_1, this.v2z_1, this.w2z_1]);
1178
1151
  };
1179
1152
  protoOf(LCHab).toString = function () {
1180
- return 'LCHab(l=' + this.i30_1 + ', c=' + this.j30_1 + ', h=' + this.k30_1 + ', alpha=' + this.l30_1 + ', space=' + toString(this.m30_1) + ')';
1153
+ return 'LCHab(l=' + this.t2z_1 + ', c=' + this.u2z_1 + ', h=' + this.v2z_1 + ', alpha=' + this.w2z_1 + ', space=' + toString(this.x2z_1) + ')';
1181
1154
  };
1182
1155
  protoOf(LCHab).hashCode = function () {
1183
- var result = getNumberHashCode(this.i30_1);
1184
- result = imul(result, 31) + getNumberHashCode(this.j30_1) | 0;
1185
- result = imul(result, 31) + getNumberHashCode(this.k30_1) | 0;
1186
- result = imul(result, 31) + getNumberHashCode(this.l30_1) | 0;
1187
- result = imul(result, 31) + hashCode(this.m30_1) | 0;
1156
+ var result = getNumberHashCode(this.t2z_1);
1157
+ result = imul(result, 31) + getNumberHashCode(this.u2z_1) | 0;
1158
+ result = imul(result, 31) + getNumberHashCode(this.v2z_1) | 0;
1159
+ result = imul(result, 31) + getNumberHashCode(this.w2z_1) | 0;
1160
+ result = imul(result, 31) + hashCode(this.x2z_1) | 0;
1188
1161
  return result;
1189
1162
  };
1190
1163
  protoOf(LCHab).equals = function (other) {
@@ -1193,27 +1166,27 @@
1193
1166
  if (!(other instanceof LCHab))
1194
1167
  return false;
1195
1168
  var tmp0_other_with_cast = other instanceof LCHab ? other : THROW_CCE();
1196
- if (!equals(this.i30_1, tmp0_other_with_cast.i30_1))
1169
+ if (!equals(this.t2z_1, tmp0_other_with_cast.t2z_1))
1197
1170
  return false;
1198
- if (!equals(this.j30_1, tmp0_other_with_cast.j30_1))
1171
+ if (!equals(this.u2z_1, tmp0_other_with_cast.u2z_1))
1199
1172
  return false;
1200
- if (!equals(this.k30_1, tmp0_other_with_cast.k30_1))
1173
+ if (!equals(this.v2z_1, tmp0_other_with_cast.v2z_1))
1201
1174
  return false;
1202
- if (!equals(this.l30_1, tmp0_other_with_cast.l30_1))
1175
+ if (!equals(this.w2z_1, tmp0_other_with_cast.w2z_1))
1203
1176
  return false;
1204
- if (!equals(this.m30_1, tmp0_other_with_cast.m30_1))
1177
+ if (!equals(this.x2z_1, tmp0_other_with_cast.x2z_1))
1205
1178
  return false;
1206
1179
  return true;
1207
1180
  };
1208
1181
  function LCHabColorSpace() {
1209
1182
  }
1210
1183
  function LCHabColorSpace_0(whitePoint) {
1211
- return whitePoint.equals(Illuminant_getInstance().k2z_1) ? LCHabColorSpaces_getInstance().n2z_1 : whitePoint.equals(Illuminant_getInstance().i2z_1) ? LCHabColorSpaces_getInstance().o2z_1 : new LCHabColorSpaceImpl(whitePoint);
1184
+ return whitePoint.equals(Illuminant_getInstance().v2y_1) ? LCHabColorSpaces_getInstance().y2y_1 : whitePoint.equals(Illuminant_getInstance().t2y_1) ? LCHabColorSpaces_getInstance().z2y_1 : new LCHabColorSpaceImpl(whitePoint);
1212
1185
  }
1213
1186
  function LCHabColorSpaces() {
1214
1187
  LCHabColorSpaces_instance = this;
1215
- this.n2z_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().k2z_1);
1216
- this.o2z_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().i2z_1);
1188
+ this.y2y_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().v2y_1);
1189
+ this.z2y_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().t2y_1);
1217
1190
  }
1218
1191
  var LCHabColorSpaces_instance;
1219
1192
  function LCHabColorSpaces_getInstance() {
@@ -1222,41 +1195,41 @@
1222
1195
  return LCHabColorSpaces_instance;
1223
1196
  }
1224
1197
  function LCHabColorSpaceImpl(whitePoint) {
1225
- this.g32_1 = whitePoint;
1226
- this.h32_1 = componentInfoList([new ColorComponentInfo('L', false, 0.0, 100.0), new ColorComponentInfo('C', false, 0.0, 150.0), new ColorComponentInfo('H', true, 0.0, 360.0)]);
1198
+ this.q31_1 = whitePoint;
1199
+ this.r31_1 = componentInfoList([new ColorComponentInfo('L', false, 0.0, 100.0), new ColorComponentInfo('C', false, 0.0, 150.0), new ColorComponentInfo('H', true, 0.0, 360.0)]);
1227
1200
  }
1228
- protoOf(LCHabColorSpaceImpl).b2z = function () {
1229
- return this.g32_1;
1201
+ protoOf(LCHabColorSpaceImpl).m2y = function () {
1202
+ return this.q31_1;
1230
1203
  };
1231
- protoOf(LCHabColorSpaceImpl).a2 = function () {
1204
+ protoOf(LCHabColorSpaceImpl).w1 = function () {
1232
1205
  return 'LCHab';
1233
1206
  };
1234
- protoOf(LCHabColorSpaceImpl).w2y = function (color) {
1207
+ protoOf(LCHabColorSpaceImpl).h2y = function (color) {
1235
1208
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1236
1209
  var tmp;
1237
- var tmp_0 = color.b2y();
1210
+ var tmp_0 = color.m2x();
1238
1211
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1239
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2z();
1240
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().k2z_1 : tmp1_elvis_lhs).equals(this.b2z())) {
1241
- tmp = color.q2y();
1212
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m2y();
1213
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().v2y_1 : tmp1_elvis_lhs).equals(this.m2y())) {
1214
+ tmp = color.b2y();
1242
1215
  } else {
1243
- tmp = color.j2y().e2z(XYZColorSpace_0(this.b2z())).q2y();
1216
+ tmp = color.u2x().p2y(XYZColorSpace_0(this.m2y())).b2y();
1244
1217
  }
1245
1218
  return tmp;
1246
1219
  };
1247
1220
  protoOf(LCHabColorSpaceImpl).toString = function () {
1248
- return 'LCHabColorSpace(' + this.g32_1.toString() + ')';
1221
+ return 'LCHabColorSpace(' + this.q31_1.toString() + ')';
1249
1222
  };
1250
- protoOf(LCHabColorSpaceImpl).b31 = function (l, c, h, alpha) {
1223
+ protoOf(LCHabColorSpaceImpl).l30 = function (l, c, h, alpha) {
1251
1224
  return new LCHab(l, c, h, alpha, this);
1252
1225
  };
1253
1226
  protoOf(LCHabColorSpaceImpl).hashCode = function () {
1254
- return this.g32_1.hashCode();
1227
+ return this.q31_1.hashCode();
1255
1228
  };
1256
1229
  protoOf(LCHabColorSpaceImpl).equals = function (other) {
1257
1230
  var tmp;
1258
1231
  if (!(other == null) ? isInterface(other, LCHabColorSpace) : false) {
1259
- tmp = this.g32_1.equals(other.b2z());
1232
+ tmp = this.q31_1.equals(other.m2y());
1260
1233
  } else {
1261
1234
  tmp = false;
1262
1235
  }
@@ -1267,19 +1240,19 @@
1267
1240
  function Oklch() {
1268
1241
  }
1269
1242
  function GammaTransferFunctions(gamma) {
1270
- this.i32_1 = gamma;
1243
+ this.s31_1 = gamma;
1271
1244
  }
1272
- protoOf(GammaTransferFunctions).t31 = function (x) {
1273
- return spow(x, this.i32_1);
1245
+ protoOf(GammaTransferFunctions).d31 = function (x) {
1246
+ return spow(x, this.s31_1);
1274
1247
  };
1275
- protoOf(GammaTransferFunctions).u31 = function (x) {
1276
- return spow(x, 1.0 / this.i32_1);
1248
+ protoOf(GammaTransferFunctions).e31 = function (x) {
1249
+ return spow(x, 1.0 / this.s31_1);
1277
1250
  };
1278
1251
  protoOf(GammaTransferFunctions).toString = function () {
1279
- return 'GammaTransferFunctions(gamma=' + this.i32_1 + ')';
1252
+ return 'GammaTransferFunctions(gamma=' + this.s31_1 + ')';
1280
1253
  };
1281
1254
  protoOf(GammaTransferFunctions).hashCode = function () {
1282
- return getNumberHashCode(this.i32_1);
1255
+ return getNumberHashCode(this.s31_1);
1283
1256
  };
1284
1257
  protoOf(GammaTransferFunctions).equals = function (other) {
1285
1258
  if (this === other)
@@ -1287,16 +1260,16 @@
1287
1260
  if (!(other instanceof GammaTransferFunctions))
1288
1261
  return false;
1289
1262
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
1290
- if (!equals(this.i32_1, tmp0_other_with_cast.i32_1))
1263
+ if (!equals(this.s31_1, tmp0_other_with_cast.s31_1))
1291
1264
  return false;
1292
1265
  return true;
1293
1266
  };
1294
1267
  function LinearTransferFunctions() {
1295
1268
  }
1296
- protoOf(LinearTransferFunctions).t31 = function (x) {
1269
+ protoOf(LinearTransferFunctions).d31 = function (x) {
1297
1270
  return x;
1298
1271
  };
1299
- protoOf(LinearTransferFunctions).u31 = function (x) {
1272
+ protoOf(LinearTransferFunctions).e31 = function (x) {
1300
1273
  return x;
1301
1274
  };
1302
1275
  var LinearTransferFunctions_instance;
@@ -1307,37 +1280,37 @@
1307
1280
  }
1308
1281
  function Companion_2() {
1309
1282
  Companion_instance_2 = this;
1310
- this.a31_1 = RGBColorSpaces_getInstance().r2z_1;
1283
+ this.k30_1 = RGBColorSpaces_getInstance().c2z_1;
1311
1284
  }
1312
1285
  protoOf(Companion_2).equals = function (other) {
1313
- return equals(RGBColorSpaces_getInstance().r2z_1, other);
1286
+ return equals(RGBColorSpaces_getInstance().c2z_1, other);
1314
1287
  };
1315
1288
  protoOf(Companion_2).hashCode = function () {
1316
- return hashCode(RGBColorSpaces_getInstance().r2z_1);
1289
+ return hashCode(RGBColorSpaces_getInstance().c2z_1);
1317
1290
  };
1318
- protoOf(Companion_2).b31 = function (r, g, b, alpha) {
1319
- return this.a31_1.b31(r, g, b, alpha);
1291
+ protoOf(Companion_2).l30 = function (r, g, b, alpha) {
1292
+ return this.k30_1.l30(r, g, b, alpha);
1320
1293
  };
1321
- protoOf(Companion_2).w31 = function (r, g, b, alpha) {
1322
- return this.a31_1.w31(r, g, b, alpha);
1294
+ protoOf(Companion_2).g31 = function (r, g, b, alpha) {
1295
+ return this.k30_1.g31(r, g, b, alpha);
1323
1296
  };
1324
- protoOf(Companion_2).k31 = function () {
1325
- return this.a31_1.k31();
1297
+ protoOf(Companion_2).u30 = function () {
1298
+ return this.k30_1.u30();
1326
1299
  };
1327
- protoOf(Companion_2).j32 = function () {
1328
- return this.a31_1.j32();
1300
+ protoOf(Companion_2).t31 = function () {
1301
+ return this.k30_1.t31();
1329
1302
  };
1330
- protoOf(Companion_2).k32 = function () {
1331
- return this.a31_1.k32();
1303
+ protoOf(Companion_2).u31 = function () {
1304
+ return this.k30_1.u31();
1332
1305
  };
1333
- protoOf(Companion_2).b2z = function () {
1334
- return this.a31_1.b2z();
1306
+ protoOf(Companion_2).m2y = function () {
1307
+ return this.k30_1.m2y();
1335
1308
  };
1336
- protoOf(Companion_2).a2 = function () {
1337
- return this.a31_1.a2();
1309
+ protoOf(Companion_2).w1 = function () {
1310
+ return this.k30_1.w1();
1338
1311
  };
1339
- protoOf(Companion_2).w2y = function (color) {
1340
- return this.a31_1.w2y(color);
1312
+ protoOf(Companion_2).h2y = function (color) {
1313
+ return this.k30_1.h2y(color);
1341
1314
  };
1342
1315
  var Companion_instance_2;
1343
1316
  function Companion_getInstance_2() {
@@ -1347,36 +1320,36 @@
1347
1320
  }
1348
1321
  function RGB(r, g, b, alpha, space) {
1349
1322
  Companion_getInstance_2();
1350
- this.e2y_1 = r;
1351
- this.f2y_1 = g;
1352
- this.g2y_1 = b;
1353
- this.h2y_1 = alpha;
1354
- this.i2y_1 = space;
1323
+ this.p2x_1 = r;
1324
+ this.q2x_1 = g;
1325
+ this.r2x_1 = b;
1326
+ this.s2x_1 = alpha;
1327
+ this.t2x_1 = space;
1355
1328
  }
1356
- protoOf(RGB).a2y = function () {
1357
- return this.h2y_1;
1329
+ protoOf(RGB).l2x = function () {
1330
+ return this.s2x_1;
1358
1331
  };
1359
- protoOf(RGB).b2y = function () {
1360
- return this.i2y_1;
1332
+ protoOf(RGB).m2x = function () {
1333
+ return this.t2x_1;
1361
1334
  };
1362
- protoOf(RGB).d30 = function () {
1335
+ protoOf(RGB).o2z = function () {
1363
1336
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
1364
- var $this$toSRGB = this.l32(SRGB_getInstance());
1365
- return _RGBInt___init__impl__lqova7_1($this$toSRGB.e2y_1, $this$toSRGB.f2y_1, $this$toSRGB.g2y_1, nanToOne($this$toSRGB.h2y_1));
1337
+ var $this$toSRGB = this.v31(SRGB_getInstance());
1338
+ return _RGBInt___init__impl__lqova7_1($this$toSRGB.p2x_1, $this$toSRGB.q2x_1, $this$toSRGB.r2x_1, nanToOne($this$toSRGB.s2x_1));
1366
1339
  };
1367
- protoOf(RGB).l32 = function (space) {
1368
- var f = SRGB_getInstance().k31();
1369
- return equals(this.i2y_1, space) ? this : equals(this.i2y_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().s2z_1) ? space.b31(f.t31(this.e2y_1), f.t31(this.f2y_1), f.t31(this.g2y_1), this.h2y_1) : equals(this.i2y_1, RGBColorSpaces_getInstance().s2z_1) && equals(space, SRGB_getInstance()) ? space.b31(f.u31(this.e2y_1), f.u31(this.f2y_1), f.u31(this.g2y_1), this.h2y_1) : this.j2y().n32(space);
1340
+ protoOf(RGB).v31 = function (space) {
1341
+ var f = SRGB_getInstance().u30();
1342
+ return equals(this.t2x_1, space) ? this : equals(this.t2x_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().d2z_1) ? space.l30(f.d31(this.p2x_1), f.d31(this.q2x_1), f.d31(this.r2x_1), this.s2x_1) : equals(this.t2x_1, RGBColorSpaces_getInstance().d2z_1) && equals(space, SRGB_getInstance()) ? space.l30(f.e31(this.p2x_1), f.e31(this.q2x_1), f.e31(this.r2x_1), this.s2x_1) : this.u2x().x31(space);
1370
1343
  };
1371
- protoOf(RGB).d2y = function () {
1344
+ protoOf(RGB).o2x = function () {
1372
1345
  var tmp$ret$3;
1373
1346
  $l$block: {
1374
1347
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
1375
1348
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
1376
- var $this$toSRGB = this.l32(SRGB_getInstance());
1377
- var r = $this$toSRGB.e2y_1;
1378
- var g = $this$toSRGB.f2y_1;
1379
- var b = $this$toSRGB.g2y_1;
1349
+ var $this$toSRGB = this.v31(SRGB_getInstance());
1350
+ var r = $this$toSRGB.p2x_1;
1351
+ var g = $this$toSRGB.q2x_1;
1352
+ var b = $this$toSRGB.r2x_1;
1380
1353
  // Inline function 'kotlin.comparisons.minOf' call
1381
1354
  var min = Math.min(r, g, b);
1382
1355
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -1386,39 +1359,39 @@
1386
1359
  var h_0 = normalizeDeg(h);
1387
1360
  var l = (min + max) / 2.0;
1388
1361
  var s = max === min ? 0.0 : l <= 0.5 ? chroma / (max + min) : chroma / (2 - max - min);
1389
- tmp$ret$3 = new HSL(h_0, s, l, this.h2y_1);
1362
+ tmp$ret$3 = new HSL(h_0, s, l, this.s2x_1);
1390
1363
  break $l$block;
1391
1364
  }
1392
1365
  return tmp$ret$3;
1393
1366
  };
1394
- protoOf(RGB).j2y = function () {
1395
- var f = this.i2y_1.k31();
1396
- var tmp0 = _Matrix___init__impl__q3kp4w(this.i2y_1.j32());
1397
- var tmp2 = f.t31(this.e2y_1);
1398
- var tmp4 = f.t31(this.f2y_1);
1367
+ protoOf(RGB).u2x = function () {
1368
+ var f = this.t2x_1.u30();
1369
+ var tmp0 = _Matrix___init__impl__q3kp4w(this.t2x_1.t31());
1370
+ var tmp1 = f.d31(this.p2x_1);
1371
+ var tmp2 = f.d31(this.q2x_1);
1399
1372
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1400
- var v2 = f.t31(this.g2y_1);
1401
- 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;
1402
- 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;
1403
- var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
1404
- return XYZColorSpace_0(this.i2y_1.b2z()).b31(tmp0_0, tmp2_0, z, this.h2y_1);
1373
+ var v2 = f.d31(this.r2x_1);
1374
+ var tmp4 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
1375
+ var tmp5 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
1376
+ var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
1377
+ return XYZColorSpace_0(this.t2x_1.m2y()).l30(tmp4, tmp5, z, this.s2x_1);
1405
1378
  };
1406
- protoOf(RGB).c2y = function () {
1407
- return this.l32(RGBColorSpaces_getInstance().r2z_1);
1379
+ protoOf(RGB).n2x = function () {
1380
+ return this.v31(RGBColorSpaces_getInstance().c2z_1);
1408
1381
  };
1409
- protoOf(RGB).h5 = function () {
1382
+ protoOf(RGB).a5 = function () {
1410
1383
  // Inline function 'kotlin.floatArrayOf' call
1411
- return new Float32Array([this.e2y_1, this.f2y_1, this.g2y_1, this.h2y_1]);
1384
+ return new Float32Array([this.p2x_1, this.q2x_1, this.r2x_1, this.s2x_1]);
1412
1385
  };
1413
1386
  protoOf(RGB).toString = function () {
1414
- return 'RGB(r=' + this.e2y_1 + ', g=' + this.f2y_1 + ', b=' + this.g2y_1 + ', alpha=' + this.h2y_1 + ', space=' + toString(this.i2y_1) + ')';
1387
+ return 'RGB(r=' + this.p2x_1 + ', g=' + this.q2x_1 + ', b=' + this.r2x_1 + ', alpha=' + this.s2x_1 + ', space=' + toString(this.t2x_1) + ')';
1415
1388
  };
1416
1389
  protoOf(RGB).hashCode = function () {
1417
- var result = getNumberHashCode(this.e2y_1);
1418
- result = imul(result, 31) + getNumberHashCode(this.f2y_1) | 0;
1419
- result = imul(result, 31) + getNumberHashCode(this.g2y_1) | 0;
1420
- result = imul(result, 31) + getNumberHashCode(this.h2y_1) | 0;
1421
- result = imul(result, 31) + hashCode(this.i2y_1) | 0;
1390
+ var result = getNumberHashCode(this.p2x_1);
1391
+ result = imul(result, 31) + getNumberHashCode(this.q2x_1) | 0;
1392
+ result = imul(result, 31) + getNumberHashCode(this.r2x_1) | 0;
1393
+ result = imul(result, 31) + getNumberHashCode(this.s2x_1) | 0;
1394
+ result = imul(result, 31) + hashCode(this.t2x_1) | 0;
1422
1395
  return result;
1423
1396
  };
1424
1397
  protoOf(RGB).equals = function (other) {
@@ -1427,15 +1400,15 @@
1427
1400
  if (!(other instanceof RGB))
1428
1401
  return false;
1429
1402
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
1430
- if (!equals(this.e2y_1, tmp0_other_with_cast.e2y_1))
1403
+ if (!equals(this.p2x_1, tmp0_other_with_cast.p2x_1))
1431
1404
  return false;
1432
- if (!equals(this.f2y_1, tmp0_other_with_cast.f2y_1))
1405
+ if (!equals(this.q2x_1, tmp0_other_with_cast.q2x_1))
1433
1406
  return false;
1434
- if (!equals(this.g2y_1, tmp0_other_with_cast.g2y_1))
1407
+ if (!equals(this.r2x_1, tmp0_other_with_cast.r2x_1))
1435
1408
  return false;
1436
- if (!equals(this.h2y_1, tmp0_other_with_cast.h2y_1))
1409
+ if (!equals(this.s2x_1, tmp0_other_with_cast.s2x_1))
1437
1410
  return false;
1438
- if (!equals(this.i2y_1, tmp0_other_with_cast.i2y_1))
1411
+ if (!equals(this.t2x_1, tmp0_other_with_cast.t2x_1))
1439
1412
  return false;
1440
1413
  return true;
1441
1414
  };
@@ -1490,17 +1463,17 @@
1490
1463
  }
1491
1464
  var ACES_AP1_B;
1492
1465
  function RGBColorSpaces$SRGB$lambda($this$RGBColorSpaceImpl, it) {
1493
- return it.c2y();
1466
+ return it.n2x();
1494
1467
  }
1495
1468
  function RGBColorSpaces$BT2020$lambda($this$RGBColorSpaceImpl, color) {
1496
1469
  var tmp;
1497
1470
  if (color instanceof RGB) {
1498
- tmp = color.l32($this$RGBColorSpaceImpl);
1471
+ tmp = color.v31($this$RGBColorSpaceImpl);
1499
1472
  } else {
1500
1473
  if (color instanceof ICtCp) {
1501
- tmp = color.j31();
1474
+ tmp = color.t30();
1502
1475
  } else {
1503
- tmp = color.j2y().n32($this$RGBColorSpaceImpl);
1476
+ tmp = color.u2x().x31($this$RGBColorSpaceImpl);
1504
1477
  }
1505
1478
  }
1506
1479
  return tmp;
@@ -1508,29 +1481,29 @@
1508
1481
  function RGBColorSpaces() {
1509
1482
  RGBColorSpaces_instance = this;
1510
1483
  var tmp = this;
1511
- var tmp_0 = Illuminant_getInstance().k2z_1;
1484
+ var tmp_0 = Illuminant_getInstance().v2y_1;
1512
1485
  var tmp_1 = SRGBTransferFunctions_instance;
1513
1486
  var tmp_2 = get_SRGB_R();
1514
1487
  var tmp_3 = get_SRGB_G();
1515
1488
  var tmp_4 = get_SRGB_B();
1516
- tmp.r2z_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1517
- this.s2z_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().k2z_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1518
- this.t2z_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1519
- this.u2z_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1520
- this.v2z_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1521
- this.w2z_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1522
- this.x2z_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().k2z_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));
1489
+ tmp.c2z_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1490
+ this.d2z_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().v2y_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1491
+ this.e2z_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1492
+ this.f2z_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1493
+ this.g2z_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1494
+ this.h2z_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1495
+ this.i2z_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().v2y_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));
1523
1496
  var tmp_5 = this;
1524
- var tmp_6 = Illuminant_getInstance().k2z_1;
1497
+ var tmp_6 = Illuminant_getInstance().v2y_1;
1525
1498
  var tmp_7 = BT2020TransferFunctions_getInstance();
1526
1499
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
1527
1500
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
1528
1501
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
1529
- tmp_5.y2z_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1530
- this.z2z_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().k2z_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1531
- this.a30_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));
1532
- this.b30_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().k2z_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1533
- this.c30_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().i2z_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));
1502
+ tmp_5.j2z_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1503
+ this.k2z_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().v2y_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1504
+ this.l2z_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));
1505
+ this.m2z_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().v2y_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1506
+ this.n2z_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().t2y_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));
1534
1507
  }
1535
1508
  var RGBColorSpaces_instance;
1536
1509
  function RGBColorSpaces_getInstance() {
@@ -1540,40 +1513,40 @@
1540
1513
  }
1541
1514
  function SRGB() {
1542
1515
  SRGB_instance = this;
1543
- this.c31_1 = RGBColorSpaces_getInstance().r2z_1;
1516
+ this.m30_1 = RGBColorSpaces_getInstance().c2z_1;
1544
1517
  }
1545
1518
  protoOf(SRGB).equals = function (other) {
1546
- return equals(RGBColorSpaces_getInstance().r2z_1, other);
1519
+ return equals(RGBColorSpaces_getInstance().c2z_1, other);
1547
1520
  };
1548
1521
  protoOf(SRGB).hashCode = function () {
1549
- return hashCode(RGBColorSpaces_getInstance().r2z_1);
1522
+ return hashCode(RGBColorSpaces_getInstance().c2z_1);
1550
1523
  };
1551
1524
  protoOf(SRGB).toString = function () {
1552
1525
  return 'sRGB';
1553
1526
  };
1554
- protoOf(SRGB).b31 = function (r, g, b, alpha) {
1555
- return this.c31_1.b31(r, g, b, alpha);
1527
+ protoOf(SRGB).l30 = function (r, g, b, alpha) {
1528
+ return this.m30_1.l30(r, g, b, alpha);
1556
1529
  };
1557
- protoOf(SRGB).w31 = function (r, g, b, alpha) {
1558
- return this.c31_1.w31(r, g, b, alpha);
1530
+ protoOf(SRGB).g31 = function (r, g, b, alpha) {
1531
+ return this.m30_1.g31(r, g, b, alpha);
1559
1532
  };
1560
- protoOf(SRGB).k31 = function () {
1561
- return this.c31_1.k31();
1533
+ protoOf(SRGB).u30 = function () {
1534
+ return this.m30_1.u30();
1562
1535
  };
1563
- protoOf(SRGB).j32 = function () {
1564
- return this.c31_1.j32();
1536
+ protoOf(SRGB).t31 = function () {
1537
+ return this.m30_1.t31();
1565
1538
  };
1566
- protoOf(SRGB).k32 = function () {
1567
- return this.c31_1.k32();
1539
+ protoOf(SRGB).u31 = function () {
1540
+ return this.m30_1.u31();
1568
1541
  };
1569
- protoOf(SRGB).b2z = function () {
1570
- return this.c31_1.b2z();
1542
+ protoOf(SRGB).m2y = function () {
1543
+ return this.m30_1.m2y();
1571
1544
  };
1572
- protoOf(SRGB).a2 = function () {
1573
- return this.c31_1.a2();
1545
+ protoOf(SRGB).w1 = function () {
1546
+ return this.m30_1.w1();
1574
1547
  };
1575
- protoOf(SRGB).w2y = function (color) {
1576
- return this.c31_1.w2y(color);
1548
+ protoOf(SRGB).h2y = function (color) {
1549
+ return this.m30_1.h2y(color);
1577
1550
  };
1578
1551
  var SRGB_instance;
1579
1552
  function SRGB_getInstance() {
@@ -1582,39 +1555,39 @@
1582
1555
  return SRGB_instance;
1583
1556
  }
1584
1557
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
1585
- this.o32_1 = name;
1586
- this.p32_1 = whitePoint;
1587
- this.q32_1 = transferFunctions;
1588
- this.r32_1 = r;
1589
- this.s32_1 = g;
1590
- this.t32_1 = b;
1591
- this.u32_1 = convertImpl;
1592
- this.v32_1 = zeroOneComponentInfo('RGB');
1593
- this.w32_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.p32_1, this.r32_1, this.s32_1, this.t32_1));
1594
- this.x32_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.w32_1)));
1595
- }
1596
- protoOf(RGBColorSpaceImpl).a2 = function () {
1597
- return this.o32_1;
1598
- };
1599
- protoOf(RGBColorSpaceImpl).b2z = function () {
1600
- return this.p32_1;
1601
- };
1602
- protoOf(RGBColorSpaceImpl).k31 = function () {
1603
- return this.q32_1;
1604
- };
1605
- protoOf(RGBColorSpaceImpl).w2y = function (color) {
1606
- return this.u32_1(this, color);
1607
- };
1608
- protoOf(RGBColorSpaceImpl).j32 = function () {
1609
- return this.w32_1;
1558
+ this.y31_1 = name;
1559
+ this.z31_1 = whitePoint;
1560
+ this.a32_1 = transferFunctions;
1561
+ this.b32_1 = r;
1562
+ this.c32_1 = g;
1563
+ this.d32_1 = b;
1564
+ this.e32_1 = convertImpl;
1565
+ this.f32_1 = zeroOneComponentInfo('RGB');
1566
+ this.g32_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.z31_1, this.b32_1, this.c32_1, this.d32_1));
1567
+ this.h32_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.g32_1)));
1568
+ }
1569
+ protoOf(RGBColorSpaceImpl).w1 = function () {
1570
+ return this.y31_1;
1571
+ };
1572
+ protoOf(RGBColorSpaceImpl).m2y = function () {
1573
+ return this.z31_1;
1574
+ };
1575
+ protoOf(RGBColorSpaceImpl).u30 = function () {
1576
+ return this.a32_1;
1577
+ };
1578
+ protoOf(RGBColorSpaceImpl).h2y = function (color) {
1579
+ return this.e32_1(this, color);
1580
+ };
1581
+ protoOf(RGBColorSpaceImpl).t31 = function () {
1582
+ return this.g32_1;
1610
1583
  };
1611
- protoOf(RGBColorSpaceImpl).k32 = function () {
1612
- return this.x32_1;
1584
+ protoOf(RGBColorSpaceImpl).u31 = function () {
1585
+ return this.h32_1;
1613
1586
  };
1614
1587
  protoOf(RGBColorSpaceImpl).toString = function () {
1615
- return this.o32_1;
1588
+ return this.y31_1;
1616
1589
  };
1617
- protoOf(RGBColorSpaceImpl).b31 = function (r, g, b, alpha) {
1590
+ protoOf(RGBColorSpaceImpl).l30 = function (r, g, b, alpha) {
1618
1591
  return new RGB(r, g, b, alpha, this);
1619
1592
  };
1620
1593
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1622,42 +1595,42 @@
1622
1595
  return true;
1623
1596
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
1624
1597
  return false;
1625
- if (!(this.o32_1 === other.a2()))
1598
+ if (!(this.y31_1 === other.w1()))
1626
1599
  return false;
1627
- if (!this.p32_1.equals(other.b2z()))
1600
+ if (!this.z31_1.equals(other.m2y()))
1628
1601
  return false;
1629
- if (!equals(this.q32_1, other.k31()))
1602
+ if (!equals(this.a32_1, other.u30()))
1630
1603
  return false;
1631
1604
  if (other instanceof RGBColorSpaceImpl) {
1632
- if (!this.r32_1.equals(other.r32_1))
1605
+ if (!this.b32_1.equals(other.b32_1))
1633
1606
  return false;
1634
- if (!this.s32_1.equals(other.s32_1))
1607
+ if (!this.c32_1.equals(other.c32_1))
1635
1608
  return false;
1636
- if (!this.t32_1.equals(other.t32_1))
1609
+ if (!this.d32_1.equals(other.d32_1))
1637
1610
  return false;
1638
1611
  } else {
1639
- if (!contentEquals(this.w32_1, other.j32()))
1612
+ if (!contentEquals(this.g32_1, other.t31()))
1640
1613
  return false;
1641
- if (!contentEquals(this.x32_1, other.k32()))
1614
+ if (!contentEquals(this.h32_1, other.u31()))
1642
1615
  return false;
1643
1616
  }
1644
1617
  return true;
1645
1618
  };
1646
1619
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1647
- var result = getStringHashCode(this.o32_1);
1648
- result = imul(31, result) + this.p32_1.hashCode() | 0;
1649
- result = imul(31, result) + hashCode(this.q32_1) | 0;
1650
- result = imul(31, result) + this.r32_1.hashCode() | 0;
1651
- result = imul(31, result) + this.s32_1.hashCode() | 0;
1652
- result = imul(31, result) + this.t32_1.hashCode() | 0;
1620
+ var result = getStringHashCode(this.y31_1);
1621
+ result = imul(31, result) + this.z31_1.hashCode() | 0;
1622
+ result = imul(31, result) + hashCode(this.a32_1) | 0;
1623
+ result = imul(31, result) + this.b32_1.hashCode() | 0;
1624
+ result = imul(31, result) + this.c32_1.hashCode() | 0;
1625
+ result = imul(31, result) + this.d32_1.hashCode() | 0;
1653
1626
  return result;
1654
1627
  };
1655
1628
  function SRGBTransferFunctions() {
1656
1629
  }
1657
- protoOf(SRGBTransferFunctions).u31 = function (x) {
1630
+ protoOf(SRGBTransferFunctions).e31 = function (x) {
1658
1631
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1659
1632
  };
1660
- protoOf(SRGBTransferFunctions).t31 = function (x) {
1633
+ protoOf(SRGBTransferFunctions).d31 = function (x) {
1661
1634
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1662
1635
  };
1663
1636
  var SRGBTransferFunctions_instance;
@@ -1670,18 +1643,18 @@
1670
1643
  }
1671
1644
  function ACESccTransferFunctions() {
1672
1645
  ACESccTransferFunctions_instance = this;
1673
- this.y32_1 = 3.0517578125E-5;
1674
- this.z32_1 = 1.52587890625E-5;
1675
- this.a33_1 = -0.3013698630136986;
1646
+ this.i32_1 = 3.0517578125E-5;
1647
+ this.j32_1 = 1.52587890625E-5;
1648
+ this.k32_1 = -0.3013698630136986;
1676
1649
  var tmp = this;
1677
1650
  // Inline function 'kotlin.math.log2' call
1678
- tmp.b33_1 = (log2(65504.0) + 9.72) / 17.52;
1651
+ tmp.l32_1 = (log2(65504.0) + 9.72) / 17.52;
1679
1652
  }
1680
- protoOf(ACESccTransferFunctions).t31 = function (x) {
1653
+ protoOf(ACESccTransferFunctions).d31 = function (x) {
1681
1654
  var tmp;
1682
1655
  if (x <= -0.3013698630136986) {
1683
1656
  tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
1684
- } else if (x < this.b33_1) {
1657
+ } else if (x < this.l32_1) {
1685
1658
  // Inline function 'kotlin.math.pow' call
1686
1659
  var x_0 = x * 17.52 - 9.72;
1687
1660
  tmp = Math.pow(2.0, x_0);
@@ -1690,7 +1663,7 @@
1690
1663
  }
1691
1664
  return tmp;
1692
1665
  };
1693
- protoOf(ACESccTransferFunctions).u31 = function (x) {
1666
+ protoOf(ACESccTransferFunctions).e31 = function (x) {
1694
1667
  var tmp;
1695
1668
  if (x < 3.0517578125E-5) {
1696
1669
  // Inline function 'kotlin.math.log2' call
@@ -1710,17 +1683,17 @@
1710
1683
  }
1711
1684
  function ACEScctTransferFunctions() {
1712
1685
  ACEScctTransferFunctions_instance = this;
1713
- this.c33_1 = 10.5402377416545;
1714
- this.d33_1 = 0.0729055341958355;
1686
+ this.m32_1 = 10.5402377416545;
1687
+ this.n32_1 = 0.0729055341958355;
1715
1688
  var tmp = this;
1716
1689
  // Inline function 'kotlin.math.log2' call
1717
- tmp.e33_1 = (log2(65504.0) + 9.72) / 17.52;
1690
+ tmp.o32_1 = (log2(65504.0) + 9.72) / 17.52;
1718
1691
  }
1719
- protoOf(ACEScctTransferFunctions).t31 = function (x) {
1692
+ protoOf(ACEScctTransferFunctions).d31 = function (x) {
1720
1693
  var tmp;
1721
1694
  if (x <= 0.155251141552511) {
1722
1695
  tmp = (x - 0.0729055341958355) / 10.5402377416545;
1723
- } else if (x < this.e33_1) {
1696
+ } else if (x < this.o32_1) {
1724
1697
  // Inline function 'kotlin.math.pow' call
1725
1698
  var x_0 = x * 17.52 - 9.72;
1726
1699
  tmp = Math.pow(2.0, x_0);
@@ -1729,7 +1702,7 @@
1729
1702
  }
1730
1703
  return tmp;
1731
1704
  };
1732
- protoOf(ACEScctTransferFunctions).u31 = function (x) {
1705
+ protoOf(ACEScctTransferFunctions).e31 = function (x) {
1733
1706
  var tmp;
1734
1707
  if (x < 0.0078125) {
1735
1708
  tmp = 10.5402377416545 * x + 0.0729055341958355;
@@ -1747,16 +1720,16 @@
1747
1720
  }
1748
1721
  function BT2020TransferFunctions() {
1749
1722
  BT2020TransferFunctions_instance = this;
1750
- this.f33_1 = 1.0993;
1751
- this.g33_1 = 0.0181;
1723
+ this.p32_1 = 1.0993;
1724
+ this.q32_1 = 0.0181;
1752
1725
  var tmp = this;
1753
1726
  // Inline function 'kotlin.math.pow' call
1754
- tmp.h33_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1727
+ tmp.r32_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1755
1728
  }
1756
- protoOf(BT2020TransferFunctions).t31 = function (x) {
1757
- return numberToDouble(x < this.h33_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1729
+ protoOf(BT2020TransferFunctions).d31 = function (x) {
1730
+ return numberToDouble(x < this.r32_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1758
1731
  };
1759
- protoOf(BT2020TransferFunctions).u31 = function (x) {
1732
+ protoOf(BT2020TransferFunctions).e31 = function (x) {
1760
1733
  return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - (1.0993 - 1);
1761
1734
  };
1762
1735
  var BT2020TransferFunctions_instance;
@@ -1767,12 +1740,12 @@
1767
1740
  }
1768
1741
  function BT709TransferFunctions() {
1769
1742
  BT709TransferFunctions_instance = this;
1770
- this.i33_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1743
+ this.s32_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1771
1744
  }
1772
- protoOf(BT709TransferFunctions).t31 = function (x) {
1773
- return numberToDouble(x < this.i33_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1745
+ protoOf(BT709TransferFunctions).d31 = function (x) {
1746
+ return numberToDouble(x < this.s32_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1774
1747
  };
1775
- protoOf(BT709TransferFunctions).u31 = function (x) {
1748
+ protoOf(BT709TransferFunctions).e31 = function (x) {
1776
1749
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1777
1750
  };
1778
1751
  var BT709TransferFunctions_instance;
@@ -1782,12 +1755,12 @@
1782
1755
  return BT709TransferFunctions_instance;
1783
1756
  }
1784
1757
  function ROMMTransferFunctions() {
1785
- this.j33_1 = 0.001953;
1758
+ this.t32_1 = 0.001953;
1786
1759
  }
1787
- protoOf(ROMMTransferFunctions).t31 = function (x) {
1760
+ protoOf(ROMMTransferFunctions).d31 = function (x) {
1788
1761
  return x < 16 * 0.001953 ? x / 16.0 : spow(x, 1.8);
1789
1762
  };
1790
- protoOf(ROMMTransferFunctions).u31 = function (x) {
1763
+ protoOf(ROMMTransferFunctions).e31 = function (x) {
1791
1764
  return x < 0.001953 ? x * 16.0 : spow(x, 1.0 / 1.8);
1792
1765
  };
1793
1766
  var ROMMTransferFunctions_instance;
@@ -1796,25 +1769,25 @@
1796
1769
  }
1797
1770
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1798
1771
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1799
- var primaries = _Matrix___init__impl__q3kp4w_0(r.y31_1, g.y31_1, b.y31_1, r.z31_1, g.z31_1, b.z31_1, r.k33(), g.k33(), b.k33());
1800
- var wp = whitePoint.w30_1;
1772
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.i31_1, g.i31_1, b.i31_1, r.j31_1, g.j31_1, b.j31_1, r.u32(), g.u32(), b.u32());
1773
+ var wp = whitePoint.h30_1;
1801
1774
  var tmp0 = inverse(primaries);
1802
- var tmp2 = wp.b32();
1803
- var tmp4 = wp.a32_1;
1775
+ var tmp1 = wp.l31();
1776
+ var tmp2 = wp.k31_1;
1804
1777
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1805
- var v2 = wp.c32();
1806
- 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;
1807
- 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;
1808
- var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
1809
- return dotDiagonal(primaries, tmp0_0, tmp2_0, z);
1778
+ var v2 = wp.m31();
1779
+ var tmp4 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
1780
+ var tmp5 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
1781
+ var z = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
1782
+ return dotDiagonal(primaries, tmp4, tmp5, z);
1810
1783
  }
1811
1784
  function RGBColorSpace$lambda($this$RGBColorSpaceImpl, color) {
1812
1785
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1813
1786
  var tmp;
1814
1787
  if (color instanceof RGB) {
1815
- tmp = color.l32($this$RGBColorSpaceImpl);
1788
+ tmp = color.v31($this$RGBColorSpaceImpl);
1816
1789
  } else {
1817
- tmp = color.j2y().n32($this$RGBColorSpaceImpl);
1790
+ tmp = color.u2x().x31($this$RGBColorSpaceImpl);
1818
1791
  }
1819
1792
  return tmp;
1820
1793
  }
@@ -1842,16 +1815,16 @@
1842
1815
  }
1843
1816
  function Companion_3() {
1844
1817
  Companion_instance_3 = this;
1845
- this.l33_1 = threeComponentInfo('R', 0.0, 255.0, 'G', 0.0, 255.0, 'B', 0.0, 255.0);
1818
+ this.v32_1 = threeComponentInfo('R', 0.0, 255.0, 'G', 0.0, 255.0, 'B', 0.0, 255.0);
1846
1819
  }
1847
- protoOf(Companion_3).a2 = function () {
1820
+ protoOf(Companion_3).w1 = function () {
1848
1821
  return 'RGBInt';
1849
1822
  };
1850
- protoOf(Companion_3).m33 = function (color) {
1851
- return color.c2y().d30();
1823
+ protoOf(Companion_3).w32 = function (color) {
1824
+ return color.n2x().o2z();
1852
1825
  };
1853
- protoOf(Companion_3).w2y = function (color) {
1854
- return new RGBInt(this.m33(color));
1826
+ protoOf(Companion_3).h2y = function (color) {
1827
+ return new RGBInt(this.w32(color));
1855
1828
  };
1856
1829
  var Companion_instance_3;
1857
1830
  function Companion_getInstance_3() {
@@ -1864,23 +1837,23 @@
1864
1837
  // Inline function 'kotlin.toUInt' call
1865
1838
  // Inline function 'kotlin.UInt.shl' call
1866
1839
  var this_0 = _UInt___init__impl__l7qpdl(alpha);
1867
- var tmp0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) << 24);
1840
+ var tmp6 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) << 24);
1868
1841
  // Inline function 'kotlin.toUInt' call
1869
1842
  // Inline function 'kotlin.UInt.shl' call
1870
1843
  var this_1 = _UInt___init__impl__l7qpdl(r);
1871
1844
  // Inline function 'kotlin.UInt.or' call
1872
1845
  var other = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_1) << 16);
1873
- var tmp0_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0) | _UInt___get_data__impl__f0vqqw(other));
1846
+ var tmp11 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp6) | _UInt___get_data__impl__f0vqqw(other));
1874
1847
  // Inline function 'kotlin.toUInt' call
1875
1848
  // Inline function 'kotlin.UInt.shl' call
1876
1849
  var this_2 = _UInt___init__impl__l7qpdl(g);
1877
1850
  // Inline function 'kotlin.UInt.or' call
1878
1851
  var other_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_2) << 8);
1879
- var tmp0_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_0) | _UInt___get_data__impl__f0vqqw(other_0));
1852
+ var tmp14 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp11) | _UInt___get_data__impl__f0vqqw(other_0));
1880
1853
  // Inline function 'kotlin.toUInt' call
1881
1854
  // Inline function 'kotlin.UInt.or' call
1882
1855
  var other_1 = _UInt___init__impl__l7qpdl(b);
1883
- var tmp$ret$9 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_1) | _UInt___get_data__impl__f0vqqw(other_1));
1856
+ var tmp$ret$9 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp14) | _UInt___get_data__impl__f0vqqw(other_1));
1884
1857
  return _RGBInt___init__impl__lqova7(tmp$ret$9);
1885
1858
  }
1886
1859
  function _RGBInt___init__impl__lqova7_1(r, g, b, alpha) {
@@ -1983,7 +1956,7 @@
1983
1956
  return (_UByte___get_data__impl__jof9qr(this_0) & 255) / 255.0;
1984
1957
  }
1985
1958
  function RGBInt__toSRGB_impl_m0acyy($this) {
1986
- return Companion_getInstance_2().b31(_RGBInt___get_redFloat__impl__lnt6cx($this), _RGBInt___get_greenFloat__impl__opq1mn($this), _RGBInt___get_blueFloat__impl__jt6mw2($this), _RGBInt___get_alpha__impl__yl2tay($this));
1959
+ return Companion_getInstance_2().l30(_RGBInt___get_redFloat__impl__lnt6cx($this), _RGBInt___get_greenFloat__impl__opq1mn($this), _RGBInt___get_blueFloat__impl__jt6mw2($this), _RGBInt___get_alpha__impl__yl2tay($this));
1987
1960
  }
1988
1961
  function RGBInt__toArray_impl_73rlu9($this) {
1989
1962
  // Inline function 'kotlin.UByte.toFloat' call
@@ -2022,59 +1995,59 @@
2022
1995
  function RGBInt__equals_impl_qmmpmc($this, other) {
2023
1996
  if (!(other instanceof RGBInt))
2024
1997
  return false;
2025
- if (!($this === (other instanceof RGBInt ? other.m32_1 : THROW_CCE())))
1998
+ if (!($this === (other instanceof RGBInt ? other.w31_1 : THROW_CCE())))
2026
1999
  return false;
2027
2000
  return true;
2028
2001
  }
2029
2002
  function RGBInt(argb) {
2030
2003
  Companion_getInstance_3();
2031
- this.m32_1 = argb;
2004
+ this.w31_1 = argb;
2032
2005
  }
2033
- protoOf(RGBInt).a2y = function () {
2034
- return _RGBInt___get_alpha__impl__yl2tay(this.m32_1);
2006
+ protoOf(RGBInt).l2x = function () {
2007
+ return _RGBInt___get_alpha__impl__yl2tay(this.w31_1);
2035
2008
  };
2036
- protoOf(RGBInt).b2y = function () {
2037
- return _RGBInt___get_space__impl__emgnsy(this.m32_1);
2009
+ protoOf(RGBInt).m2x = function () {
2010
+ return _RGBInt___get_space__impl__emgnsy(this.w31_1);
2038
2011
  };
2039
- protoOf(RGBInt).c2y = function () {
2040
- return RGBInt__toSRGB_impl_m0acyy(this.m32_1);
2012
+ protoOf(RGBInt).n2x = function () {
2013
+ return RGBInt__toSRGB_impl_m0acyy(this.w31_1);
2041
2014
  };
2042
- protoOf(RGBInt).h5 = function () {
2043
- return RGBInt__toArray_impl_73rlu9(this.m32_1);
2015
+ protoOf(RGBInt).a5 = function () {
2016
+ return RGBInt__toArray_impl_73rlu9(this.w31_1);
2044
2017
  };
2045
2018
  protoOf(RGBInt).toString = function () {
2046
- return RGBInt__toString_impl_cf5r29(this.m32_1);
2019
+ return RGBInt__toString_impl_cf5r29(this.w31_1);
2047
2020
  };
2048
2021
  protoOf(RGBInt).hashCode = function () {
2049
- return RGBInt__hashCode_impl_y6bnv4(this.m32_1);
2022
+ return RGBInt__hashCode_impl_y6bnv4(this.w31_1);
2050
2023
  };
2051
2024
  protoOf(RGBInt).equals = function (other) {
2052
- return RGBInt__equals_impl_qmmpmc(this.m32_1, other);
2025
+ return RGBInt__equals_impl_qmmpmc(this.w31_1, other);
2053
2026
  };
2054
2027
  function Companion_4() {
2055
2028
  Companion_instance_4 = this;
2056
- this.n33_1 = XYZColorSpaces_getInstance().c2z_1;
2029
+ this.x32_1 = XYZColorSpaces_getInstance().n2y_1;
2057
2030
  }
2058
2031
  protoOf(Companion_4).hashCode = function () {
2059
- return hashCode(XYZColorSpaces_getInstance().c2z_1);
2032
+ return hashCode(XYZColorSpaces_getInstance().n2y_1);
2060
2033
  };
2061
2034
  protoOf(Companion_4).equals = function (other) {
2062
- return equals(XYZColorSpaces_getInstance().c2z_1, other);
2035
+ return equals(XYZColorSpaces_getInstance().n2y_1, other);
2063
2036
  };
2064
- protoOf(Companion_4).b31 = function (x, y, z, alpha) {
2065
- return this.n33_1.b31(x, y, z, alpha);
2037
+ protoOf(Companion_4).l30 = function (x, y, z, alpha) {
2038
+ return this.x32_1.l30(x, y, z, alpha);
2066
2039
  };
2067
- protoOf(Companion_4).w31 = function (x, y, z, alpha) {
2068
- return this.n33_1.w31(x, y, z, alpha);
2040
+ protoOf(Companion_4).g31 = function (x, y, z, alpha) {
2041
+ return this.x32_1.g31(x, y, z, alpha);
2069
2042
  };
2070
- protoOf(Companion_4).b2z = function () {
2071
- return this.n33_1.b2z();
2043
+ protoOf(Companion_4).m2y = function () {
2044
+ return this.x32_1.m2y();
2072
2045
  };
2073
- protoOf(Companion_4).a2 = function () {
2074
- return this.n33_1.a2();
2046
+ protoOf(Companion_4).w1 = function () {
2047
+ return this.x32_1.w1();
2075
2048
  };
2076
- protoOf(Companion_4).w2y = function (color) {
2077
- return this.n33_1.w2y(color);
2049
+ protoOf(Companion_4).h2y = function (color) {
2050
+ return this.x32_1.h2y(color);
2078
2051
  };
2079
2052
  var Companion_instance_4;
2080
2053
  function Companion_getInstance_4() {
@@ -2083,17 +2056,17 @@
2083
2056
  return Companion_instance_4;
2084
2057
  }
2085
2058
  function adaptToM($this, space, m, mi) {
2086
- if (space.b2z().equals($this.p2y_1.b2z()))
2059
+ if (space.m2y().equals($this.a2y_1.m2y()))
2087
2060
  return $this;
2088
- var transform = chromaticAdaptationMatrix(space, $this.p2y_1.b2z().w30_1, m, mi);
2089
- var tmp2 = $this.l2y_1;
2090
- var tmp4 = $this.m2y_1;
2061
+ var transform = chromaticAdaptationMatrix(space, $this.a2y_1.m2y().h30_1, m, mi);
2062
+ var tmp1 = $this.w2x_1;
2063
+ var tmp2 = $this.x2x_1;
2091
2064
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2092
- var v2 = $this.n2y_1;
2093
- var tmp0 = Matrix__get_impl_xogbpk(transform, 0, 0) * tmp2 + Matrix__get_impl_xogbpk(transform, 1, 0) * tmp4 + Matrix__get_impl_xogbpk(transform, 2, 0) * v2;
2094
- var tmp2_0 = Matrix__get_impl_xogbpk(transform, 0, 1) * tmp2 + Matrix__get_impl_xogbpk(transform, 1, 1) * tmp4 + Matrix__get_impl_xogbpk(transform, 2, 1) * v2;
2095
- var zz = Matrix__get_impl_xogbpk(transform, 0, 2) * tmp2 + Matrix__get_impl_xogbpk(transform, 1, 2) * tmp4 + Matrix__get_impl_xogbpk(transform, 2, 2) * v2;
2096
- return space.b31(tmp0, tmp2_0, zz, $this.o2y_1);
2065
+ var v2 = $this.y2x_1;
2066
+ var tmp4 = Matrix__get_impl_xogbpk(transform, 0, 0) * tmp1 + Matrix__get_impl_xogbpk(transform, 1, 0) * tmp2 + Matrix__get_impl_xogbpk(transform, 2, 0) * v2;
2067
+ var tmp5 = Matrix__get_impl_xogbpk(transform, 0, 1) * tmp1 + Matrix__get_impl_xogbpk(transform, 1, 1) * tmp2 + Matrix__get_impl_xogbpk(transform, 2, 1) * v2;
2068
+ var zz = Matrix__get_impl_xogbpk(transform, 0, 2) * tmp1 + Matrix__get_impl_xogbpk(transform, 1, 2) * tmp2 + Matrix__get_impl_xogbpk(transform, 2, 2) * v2;
2069
+ return space.l30(tmp4, tmp5, zz, $this.z2x_1);
2097
2070
  }
2098
2071
  function toLAB$f(t) {
2099
2072
  var tmp;
@@ -2107,71 +2080,71 @@
2107
2080
  }
2108
2081
  function XYZ(x, y, z, alpha, space) {
2109
2082
  Companion_getInstance_4();
2110
- this.l2y_1 = x;
2111
- this.m2y_1 = y;
2112
- this.n2y_1 = z;
2113
- this.o2y_1 = alpha;
2114
- this.p2y_1 = space;
2083
+ this.w2x_1 = x;
2084
+ this.x2x_1 = y;
2085
+ this.y2x_1 = z;
2086
+ this.z2x_1 = alpha;
2087
+ this.a2y_1 = space;
2115
2088
  }
2116
- protoOf(XYZ).a2y = function () {
2117
- return this.o2y_1;
2089
+ protoOf(XYZ).l2x = function () {
2090
+ return this.z2x_1;
2118
2091
  };
2119
- protoOf(XYZ).b2y = function () {
2120
- return this.p2y_1;
2092
+ protoOf(XYZ).m2x = function () {
2093
+ return this.a2y_1;
2121
2094
  };
2122
- protoOf(XYZ).e2z = function (space) {
2095
+ protoOf(XYZ).p2y = function (space) {
2123
2096
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
2124
2097
  };
2125
- protoOf(XYZ).n32 = function (space) {
2126
- var _destruct__k2r9zo = this.e2z(XYZColorSpace_0(space.b2z()));
2127
- var x = _destruct__k2r9zo.re();
2128
- var y = _destruct__k2r9zo.se();
2129
- var z = _destruct__k2r9zo.o33();
2130
- var f = space.k31();
2098
+ protoOf(XYZ).x31 = function (space) {
2099
+ var _destruct__k2r9zo = this.p2y(XYZColorSpace_0(space.m2y()));
2100
+ var x = _destruct__k2r9zo.me();
2101
+ var y = _destruct__k2r9zo.ne();
2102
+ var z = _destruct__k2r9zo.y32();
2103
+ var f = space.u30();
2131
2104
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2132
- var this_0 = _Matrix___init__impl__q3kp4w(space.k32());
2133
- var tmp0 = 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;
2134
- var tmp2 = 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;
2105
+ var this_0 = _Matrix___init__impl__q3kp4w(space.u31());
2106
+ var tmp4 = 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;
2107
+ var tmp5 = 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;
2135
2108
  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;
2136
- return space.b31(f.u31(tmp0), f.u31(tmp2), f.u31(b), this.o2y_1);
2109
+ return space.l30(f.e31(tmp4), f.e31(tmp5), f.e31(b), this.z2x_1);
2137
2110
  };
2138
- protoOf(XYZ).c2y = function () {
2139
- return this.n32(RGBColorSpaces_getInstance().r2z_1);
2111
+ protoOf(XYZ).n2x = function () {
2112
+ return this.x31(RGBColorSpaces_getInstance().c2z_1);
2140
2113
  };
2141
- protoOf(XYZ).k2y = function () {
2142
- var fx = toLAB$f(this.l2y_1 / this.p2y_1.b2z().w30_1.b32());
2143
- var fy = toLAB$f(this.m2y_1 / this.p2y_1.b2z().w30_1.a32_1);
2144
- var fz = toLAB$f(this.n2y_1 / this.p2y_1.b2z().w30_1.c32());
2114
+ protoOf(XYZ).v2x = function () {
2115
+ var fx = toLAB$f(this.w2x_1 / this.a2y_1.m2y().h30_1.l31());
2116
+ var fy = toLAB$f(this.x2x_1 / this.a2y_1.m2y().h30_1.k31_1);
2117
+ var fz = toLAB$f(this.y2x_1 / this.a2y_1.m2y().h30_1.m31());
2145
2118
  var l = 116 * fy - 16;
2146
2119
  var a = 500 * (fx - fy);
2147
2120
  var b = 200 * (fy - fz);
2148
- return LABColorSpace_0(this.p2y_1.b2z()).w31(l, a, b, this.o2y_1);
2121
+ return LABColorSpace_0(this.a2y_1.m2y()).g31(l, a, b, this.z2x_1);
2149
2122
  };
2150
- protoOf(XYZ).j2y = function () {
2123
+ protoOf(XYZ).u2x = function () {
2151
2124
  return this;
2152
2125
  };
2153
- protoOf(XYZ).h5 = function () {
2126
+ protoOf(XYZ).a5 = function () {
2154
2127
  // Inline function 'kotlin.floatArrayOf' call
2155
- return new Float32Array([this.l2y_1, this.m2y_1, this.n2y_1, this.o2y_1]);
2128
+ return new Float32Array([this.w2x_1, this.x2x_1, this.y2x_1, this.z2x_1]);
2156
2129
  };
2157
- protoOf(XYZ).re = function () {
2158
- return this.l2y_1;
2130
+ protoOf(XYZ).me = function () {
2131
+ return this.w2x_1;
2159
2132
  };
2160
- protoOf(XYZ).se = function () {
2161
- return this.m2y_1;
2133
+ protoOf(XYZ).ne = function () {
2134
+ return this.x2x_1;
2162
2135
  };
2163
- protoOf(XYZ).o33 = function () {
2164
- return this.n2y_1;
2136
+ protoOf(XYZ).y32 = function () {
2137
+ return this.y2x_1;
2165
2138
  };
2166
2139
  protoOf(XYZ).toString = function () {
2167
- return 'XYZ(x=' + this.l2y_1 + ', y=' + this.m2y_1 + ', z=' + this.n2y_1 + ', alpha=' + this.o2y_1 + ', space=' + toString(this.p2y_1) + ')';
2140
+ return 'XYZ(x=' + this.w2x_1 + ', y=' + this.x2x_1 + ', z=' + this.y2x_1 + ', alpha=' + this.z2x_1 + ', space=' + toString(this.a2y_1) + ')';
2168
2141
  };
2169
2142
  protoOf(XYZ).hashCode = function () {
2170
- var result = getNumberHashCode(this.l2y_1);
2171
- result = imul(result, 31) + getNumberHashCode(this.m2y_1) | 0;
2172
- result = imul(result, 31) + getNumberHashCode(this.n2y_1) | 0;
2173
- result = imul(result, 31) + getNumberHashCode(this.o2y_1) | 0;
2174
- result = imul(result, 31) + hashCode(this.p2y_1) | 0;
2143
+ var result = getNumberHashCode(this.w2x_1);
2144
+ result = imul(result, 31) + getNumberHashCode(this.x2x_1) | 0;
2145
+ result = imul(result, 31) + getNumberHashCode(this.y2x_1) | 0;
2146
+ result = imul(result, 31) + getNumberHashCode(this.z2x_1) | 0;
2147
+ result = imul(result, 31) + hashCode(this.a2y_1) | 0;
2175
2148
  return result;
2176
2149
  };
2177
2150
  protoOf(XYZ).equals = function (other) {
@@ -2180,27 +2153,27 @@
2180
2153
  if (!(other instanceof XYZ))
2181
2154
  return false;
2182
2155
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
2183
- if (!equals(this.l2y_1, tmp0_other_with_cast.l2y_1))
2156
+ if (!equals(this.w2x_1, tmp0_other_with_cast.w2x_1))
2184
2157
  return false;
2185
- if (!equals(this.m2y_1, tmp0_other_with_cast.m2y_1))
2158
+ if (!equals(this.x2x_1, tmp0_other_with_cast.x2x_1))
2186
2159
  return false;
2187
- if (!equals(this.n2y_1, tmp0_other_with_cast.n2y_1))
2160
+ if (!equals(this.y2x_1, tmp0_other_with_cast.y2x_1))
2188
2161
  return false;
2189
- if (!equals(this.o2y_1, tmp0_other_with_cast.o2y_1))
2162
+ if (!equals(this.z2x_1, tmp0_other_with_cast.z2x_1))
2190
2163
  return false;
2191
- if (!equals(this.p2y_1, tmp0_other_with_cast.p2y_1))
2164
+ if (!equals(this.a2y_1, tmp0_other_with_cast.a2y_1))
2192
2165
  return false;
2193
2166
  return true;
2194
2167
  };
2195
2168
  function XYZColorSpace() {
2196
2169
  }
2197
2170
  function XYZColorSpace_0(whitePoint) {
2198
- return whitePoint.equals(Illuminant_getInstance().k2z_1) ? XYZColorSpaces_getInstance().c2z_1 : whitePoint.equals(Illuminant_getInstance().i2z_1) ? XYZColorSpaces_getInstance().d2z_1 : new XYZColorSpaceImpl(whitePoint);
2171
+ return whitePoint.equals(Illuminant_getInstance().v2y_1) ? XYZColorSpaces_getInstance().n2y_1 : whitePoint.equals(Illuminant_getInstance().t2y_1) ? XYZColorSpaces_getInstance().o2y_1 : new XYZColorSpaceImpl(whitePoint);
2199
2172
  }
2200
2173
  function XYZColorSpaces() {
2201
2174
  XYZColorSpaces_instance = this;
2202
- this.c2z_1 = new XYZColorSpaceImpl(Illuminant_getInstance().k2z_1);
2203
- this.d2z_1 = new XYZColorSpaceImpl(Illuminant_getInstance().i2z_1);
2175
+ this.n2y_1 = new XYZColorSpaceImpl(Illuminant_getInstance().v2y_1);
2176
+ this.o2y_1 = new XYZColorSpaceImpl(Illuminant_getInstance().t2y_1);
2204
2177
  }
2205
2178
  var XYZColorSpaces_instance;
2206
2179
  function XYZColorSpaces_getInstance() {
@@ -2211,37 +2184,37 @@
2211
2184
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
2212
2185
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
2213
2186
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
2214
- var dstWp = _this__u8e3s4.b2z().w30_1;
2215
- var src = dot_0(xyzToLms, srcWp.b32(), srcWp.a32_1, srcWp.c32());
2216
- var dst = dot_0(xyzToLms, dstWp.b32(), dstWp.a32_1, dstWp.c32());
2187
+ var dstWp = _this__u8e3s4.m2y().h30_1;
2188
+ var src = dot_0(xyzToLms, srcWp.l31(), srcWp.k31_1, srcWp.m31());
2189
+ var dst = dot_0(xyzToLms, dstWp.l31(), dstWp.k31_1, dstWp.m31());
2217
2190
  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);
2218
2191
  }
2219
2192
  function XYZColorSpaceImpl(whitePoint) {
2220
- this.p33_1 = whitePoint;
2221
- this.q33_1 = zeroOneComponentInfo('XYZ');
2193
+ this.z32_1 = whitePoint;
2194
+ this.a33_1 = zeroOneComponentInfo('XYZ');
2222
2195
  }
2223
- protoOf(XYZColorSpaceImpl).b2z = function () {
2224
- return this.p33_1;
2196
+ protoOf(XYZColorSpaceImpl).m2y = function () {
2197
+ return this.z32_1;
2225
2198
  };
2226
- protoOf(XYZColorSpaceImpl).a2 = function () {
2199
+ protoOf(XYZColorSpaceImpl).w1 = function () {
2227
2200
  return 'XYZ';
2228
2201
  };
2229
- protoOf(XYZColorSpaceImpl).w2y = function (color) {
2230
- return color.j2y().e2z(this);
2202
+ protoOf(XYZColorSpaceImpl).h2y = function (color) {
2203
+ return color.u2x().p2y(this);
2231
2204
  };
2232
2205
  protoOf(XYZColorSpaceImpl).toString = function () {
2233
- return 'XYZColorSpace(' + this.p33_1.toString() + ')';
2206
+ return 'XYZColorSpace(' + this.z32_1.toString() + ')';
2234
2207
  };
2235
- protoOf(XYZColorSpaceImpl).b31 = function (x, y, z, alpha) {
2208
+ protoOf(XYZColorSpaceImpl).l30 = function (x, y, z, alpha) {
2236
2209
  return new XYZ(x, y, z, alpha, this);
2237
2210
  };
2238
2211
  protoOf(XYZColorSpaceImpl).hashCode = function () {
2239
- return this.p33_1.hashCode();
2212
+ return this.z32_1.hashCode();
2240
2213
  };
2241
2214
  protoOf(XYZColorSpaceImpl).equals = function (other) {
2242
2215
  var tmp;
2243
2216
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
2244
- tmp = this.p33_1.equals(other.b2z());
2217
+ tmp = this.z32_1.equals(other.m2y());
2245
2218
  } else {
2246
2219
  tmp = false;
2247
2220
  }
@@ -2257,26 +2230,26 @@
2257
2230
  }
2258
2231
  function xyY(x, y, Y) {
2259
2232
  Y = Y === VOID ? 1.0 : Y;
2260
- this.y31_1 = x;
2261
- this.z31_1 = y;
2262
- this.a32_1 = Y;
2233
+ this.i31_1 = x;
2234
+ this.j31_1 = y;
2235
+ this.k31_1 = Y;
2263
2236
  }
2264
- protoOf(xyY).k33 = function () {
2265
- return 1 - this.y31_1 - this.z31_1;
2237
+ protoOf(xyY).u32 = function () {
2238
+ return 1 - this.i31_1 - this.j31_1;
2266
2239
  };
2267
- protoOf(xyY).b32 = function () {
2268
- return this.y31_1 * this.a32_1 / this.z31_1;
2240
+ protoOf(xyY).l31 = function () {
2241
+ return this.i31_1 * this.k31_1 / this.j31_1;
2269
2242
  };
2270
- protoOf(xyY).c32 = function () {
2271
- return (1 - this.y31_1 - this.z31_1) * this.a32_1 / this.z31_1;
2243
+ protoOf(xyY).m31 = function () {
2244
+ return (1 - this.i31_1 - this.j31_1) * this.k31_1 / this.j31_1;
2272
2245
  };
2273
2246
  protoOf(xyY).toString = function () {
2274
- return 'xyY(x=' + this.y31_1 + ', y=' + this.z31_1 + ', Y=' + this.a32_1 + ')';
2247
+ return 'xyY(x=' + this.i31_1 + ', y=' + this.j31_1 + ', Y=' + this.k31_1 + ')';
2275
2248
  };
2276
2249
  protoOf(xyY).hashCode = function () {
2277
- var result = getNumberHashCode(this.y31_1);
2278
- result = imul(result, 31) + getNumberHashCode(this.z31_1) | 0;
2279
- result = imul(result, 31) + getNumberHashCode(this.a32_1) | 0;
2250
+ var result = getNumberHashCode(this.i31_1);
2251
+ result = imul(result, 31) + getNumberHashCode(this.j31_1) | 0;
2252
+ result = imul(result, 31) + getNumberHashCode(this.k31_1) | 0;
2280
2253
  return result;
2281
2254
  };
2282
2255
  protoOf(xyY).equals = function (other) {
@@ -2285,33 +2258,33 @@
2285
2258
  if (!(other instanceof xyY))
2286
2259
  return false;
2287
2260
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
2288
- if (!equals(this.y31_1, tmp0_other_with_cast.y31_1))
2261
+ if (!equals(this.i31_1, tmp0_other_with_cast.i31_1))
2289
2262
  return false;
2290
- if (!equals(this.z31_1, tmp0_other_with_cast.z31_1))
2263
+ if (!equals(this.j31_1, tmp0_other_with_cast.j31_1))
2291
2264
  return false;
2292
- if (!equals(this.a32_1, tmp0_other_with_cast.a32_1))
2265
+ if (!equals(this.k31_1, tmp0_other_with_cast.k31_1))
2293
2266
  return false;
2294
2267
  return true;
2295
2268
  };
2296
2269
  //region block: post-declaration
2297
- protoOf(HSL).j2y = toXYZ;
2298
- protoOf(HSL).k2y = toLAB;
2299
- protoOf(HSL).q2y = toLCHab;
2300
- protoOf(LAB).d2y = toHSL;
2301
- protoOf(LABColorSpaceImpl).w31 = invoke;
2302
- protoOf(LCHab).d2y = toHSL;
2303
- protoOf(RGB).k2y = toLAB;
2304
- protoOf(RGB).q2y = toLCHab;
2305
- protoOf(RGBColorSpaceImpl).w31 = invoke_0;
2306
- protoOf(RGBInt).d2y = toHSL;
2307
- protoOf(RGBInt).j2y = toXYZ;
2308
- protoOf(RGBInt).k2y = toLAB;
2309
- protoOf(RGBInt).q2y = toLCHab;
2310
- protoOf(Companion_4).x31 = invoke$default;
2311
- protoOf(XYZ).d2y = toHSL;
2312
- protoOf(XYZ).q2y = toLCHab;
2313
- protoOf(XYZColorSpaceImpl).w31 = invoke_1;
2314
- protoOf(XYZColorSpaceImpl).x31 = invoke$default;
2270
+ protoOf(HSL).u2x = toXYZ;
2271
+ protoOf(HSL).v2x = toLAB;
2272
+ protoOf(HSL).b2y = toLCHab;
2273
+ protoOf(LAB).o2x = toHSL;
2274
+ protoOf(LABColorSpaceImpl).g31 = invoke;
2275
+ protoOf(LCHab).o2x = toHSL;
2276
+ protoOf(RGB).v2x = toLAB;
2277
+ protoOf(RGB).b2y = toLCHab;
2278
+ protoOf(RGBColorSpaceImpl).g31 = invoke_0;
2279
+ protoOf(RGBInt).o2x = toHSL;
2280
+ protoOf(RGBInt).u2x = toXYZ;
2281
+ protoOf(RGBInt).v2x = toLAB;
2282
+ protoOf(RGBInt).b2y = toLCHab;
2283
+ protoOf(Companion_4).h31 = invoke$default;
2284
+ protoOf(XYZ).o2x = toHSL;
2285
+ protoOf(XYZ).b2y = toLCHab;
2286
+ protoOf(XYZColorSpaceImpl).g31 = invoke_1;
2287
+ protoOf(XYZColorSpaceImpl).h31 = invoke$default;
2315
2288
  //endregion
2316
2289
  //region block: init
2317
2290
  PqNonlinearity_instance = new PqNonlinearity();