@cruglobal/godtools-shared 1.3.0-SNAPSHOT.1886 → 1.3.0-SNAPSHOT.2149

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.$_$.g7;
18
- var initMetadataForInterface = kotlin_kotlin.$_$.u6;
19
- var toString = kotlin_kotlin.$_$.i7;
17
+ var protoOf = kotlin_kotlin.$_$.j7;
18
+ var initMetadataForInterface = kotlin_kotlin.$_$.x6;
19
+ var toString = kotlin_kotlin.$_$.l7;
20
20
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
21
- var Unit_instance = kotlin_kotlin.$_$.k2;
22
- var initMetadataForClass = kotlin_kotlin.$_$.r6;
23
- var Enum = kotlin_kotlin.$_$.g9;
21
+ var Unit_instance = kotlin_kotlin.$_$.l2;
22
+ var initMetadataForClass = kotlin_kotlin.$_$.u6;
23
+ var Enum = kotlin_kotlin.$_$.j9;
24
24
  var VOID = kotlin_kotlin.$_$.b;
25
- var emptyMap = kotlin_kotlin.$_$.m3;
26
- var equals = kotlin_kotlin.$_$.k6;
25
+ var emptyMap = kotlin_kotlin.$_$.n3;
26
+ var equals = kotlin_kotlin.$_$.n6;
27
27
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.t;
28
- var dropLast = kotlin_kotlin.$_$.k3;
29
- var joinTo = kotlin_kotlin.$_$.z3;
28
+ var dropLast = kotlin_kotlin.$_$.l3;
29
+ var joinTo = kotlin_kotlin.$_$.a4;
30
30
  var Regex_init_$Create$ = kotlin_kotlin.$_$.q;
31
31
  var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.d2;
32
- var numberToInt = kotlin_kotlin.$_$.e7;
33
- var roundToInt = kotlin_kotlin.$_$.j7;
32
+ var numberToInt = kotlin_kotlin.$_$.h7;
33
+ var roundToInt = kotlin_kotlin.$_$.m7;
34
34
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
35
- var padStart = kotlin_kotlin.$_$.k8;
36
- var charArrayOf = kotlin_kotlin.$_$.e6;
37
- var trimEnd = kotlin_kotlin.$_$.b9;
38
- var isNaN_0 = kotlin_kotlin.$_$.y9;
39
- var joinTo_0 = kotlin_kotlin.$_$.y3;
40
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.aa;
41
- var numberToDouble = kotlin_kotlin.$_$.d7;
42
- var getStringHashCode = kotlin_kotlin.$_$.p6;
43
- var THROW_CCE = kotlin_kotlin.$_$.q9;
44
- var initMetadataForObject = kotlin_kotlin.$_$.w6;
35
+ var padStart = kotlin_kotlin.$_$.n8;
36
+ var charArrayOf = kotlin_kotlin.$_$.h6;
37
+ var trimEnd = kotlin_kotlin.$_$.e9;
38
+ var isNaN_0 = kotlin_kotlin.$_$.ba;
39
+ var joinTo_0 = kotlin_kotlin.$_$.z3;
40
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.da;
41
+ var numberToDouble = kotlin_kotlin.$_$.g7;
42
+ var getStringHashCode = kotlin_kotlin.$_$.s6;
43
+ var THROW_CCE = kotlin_kotlin.$_$.t9;
44
+ var initMetadataForObject = kotlin_kotlin.$_$.z6;
45
45
  var arrayConcat = kotlin_kotlin.$_$.a;
46
- var listOf = kotlin_kotlin.$_$.e4;
46
+ var listOf = kotlin_kotlin.$_$.f4;
47
47
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
48
- var charSequenceLength = kotlin_kotlin.$_$.h6;
49
- var charSequenceGet = kotlin_kotlin.$_$.g6;
48
+ var charSequenceLength = kotlin_kotlin.$_$.k6;
49
+ var charSequenceGet = kotlin_kotlin.$_$.j6;
50
50
  var toString_0 = kotlin_kotlin.$_$.x1;
51
- var withSign = kotlin_kotlin.$_$.k7;
52
- var trimMargin = kotlin_kotlin.$_$.c9;
53
- var hashCode = kotlin_kotlin.$_$.q6;
54
- var initMetadataForCompanion = kotlin_kotlin.$_$.s6;
55
- var coerceAtLeast = kotlin_kotlin.$_$.l7;
56
- var getNumberHashCode = kotlin_kotlin.$_$.n6;
57
- var isInterface = kotlin_kotlin.$_$.z6;
58
- var contentEquals = kotlin_kotlin.$_$.e3;
59
- var coerceAtLeast_0 = kotlin_kotlin.$_$.n7;
51
+ var withSign = kotlin_kotlin.$_$.n7;
52
+ var trimMargin = kotlin_kotlin.$_$.f9;
53
+ var hashCode = kotlin_kotlin.$_$.t6;
54
+ var initMetadataForCompanion = kotlin_kotlin.$_$.v6;
55
+ var coerceAtLeast = kotlin_kotlin.$_$.o7;
56
+ var getNumberHashCode = kotlin_kotlin.$_$.q6;
57
+ var isInterface = kotlin_kotlin.$_$.c7;
58
+ var contentEquals = kotlin_kotlin.$_$.f3;
59
+ var coerceAtLeast_0 = kotlin_kotlin.$_$.q7;
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.$_$.p7;
62
+ var coerceIn = kotlin_kotlin.$_$.s7;
63
63
  var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.c2;
64
- var uintToDouble = kotlin_kotlin.$_$.ha;
65
- var toByte = kotlin_kotlin.$_$.h7;
64
+ var uintToDouble = kotlin_kotlin.$_$.ka;
65
+ var toByte = kotlin_kotlin.$_$.k7;
66
66
  var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.b2;
67
- var UInt = kotlin_kotlin.$_$.s9;
67
+ var UInt = kotlin_kotlin.$_$.v9;
68
68
  var UInt__hashCode_impl_z2mhuw = kotlin_kotlin.$_$.g2;
69
- var objectCreate = kotlin_kotlin.$_$.f7;
69
+ var objectCreate = kotlin_kotlin.$_$.i7;
70
70
  //endregion
71
71
  //region block: pre-declaration
72
72
  function toHSL() {
73
- return this.c2v().d2v();
73
+ return this.e2w().f2w();
74
74
  }
75
75
  function toXYZ() {
76
- return this.c2v().j2v();
76
+ return this.e2w().l2w();
77
77
  }
78
78
  function toLAB() {
79
- return this.j2v().k2v();
79
+ return this.l2w().m2w();
80
80
  }
81
81
  function toLCHab() {
82
- return this.k2v().q2v();
82
+ return this.m2w().s2w();
83
83
  }
84
84
  initMetadataForInterface(Color, 'Color');
85
85
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -96,7 +96,7 @@
96
96
  initMetadataForClass(ICtCp, 'ICtCp', VOID, VOID, [Color]);
97
97
  initMetadataForObject(PqNonlinearity, 'PqNonlinearity');
98
98
  function invoke(l, a, b, alpha) {
99
- return this.b2y(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
99
+ return this.d2z(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
100
100
  }
101
101
  initMetadataForInterface(LABColorSpace, 'LABColorSpace', VOID, VOID, [WhitePointColorSpace]);
102
102
  initMetadataForCompanion(Companion_0, VOID, [LABColorSpace]);
@@ -111,7 +111,7 @@
111
111
  initMetadataForClass(Oklab, 'Oklab', VOID, VOID, [Color]);
112
112
  initMetadataForClass(Oklch, 'Oklch', VOID, VOID, [Color]);
113
113
  function invoke_0(r, g, b, alpha) {
114
- return this.b2y(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
114
+ return this.d2z(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
115
115
  }
116
116
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace', VOID, VOID, [WhitePointColorSpace]);
117
117
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -130,11 +130,11 @@
130
130
  initMetadataForCompanion(Companion_3);
131
131
  initMetadataForClass(RGBInt, 'RGBInt', VOID, VOID, [Color]);
132
132
  function invoke_1(x, y, z, alpha) {
133
- return this.b2y(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
133
+ return this.d2z(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
134
134
  }
135
135
  function invoke$default(x, y, z, alpha, $super) {
136
136
  alpha = alpha === VOID ? 1.0 : alpha;
137
- return $super === VOID ? this.w2y(x, y, z, alpha) : invoke_1(x, y, z, alpha);
137
+ return $super === VOID ? this.y2z(x, y, z, alpha) : invoke_1(x, y, z, alpha);
138
138
  }
139
139
  initMetadataForInterface(XYZColorSpace, 'XYZColorSpace', VOID, VOID, [WhitePointColorSpace]);
140
140
  initMetadataForCompanion(Companion_4, VOID, [XYZColorSpace]);
@@ -146,15 +146,15 @@
146
146
  function Color() {
147
147
  }
148
148
  function convertTo(_this__u8e3s4, space) {
149
- return space.w2v(_this__u8e3s4);
149
+ return space.y2w(_this__u8e3s4);
150
150
  }
151
151
  function ColorComponentInfo(name, isPolar, min, max) {
152
- this.x2v_1 = name;
153
- this.y2v_1 = isPolar;
154
- this.z2v_1 = min;
155
- this.a2w_1 = max;
152
+ this.z2w_1 = name;
153
+ this.a2x_1 = isPolar;
154
+ this.b2x_1 = min;
155
+ this.c2x_1 = max;
156
156
  // Inline function 'kotlin.require' call
157
- if (!(this.z2v_1 <= this.a2w_1)) {
157
+ if (!(this.b2x_1 <= this.c2x_1)) {
158
158
  var message = 'min must be less than or equal to max';
159
159
  throw IllegalArgumentException_init_$Create$(toString(message));
160
160
  }
@@ -221,7 +221,7 @@
221
221
  var _iterator__ex2g4s = tmp0.l();
222
222
  while (_iterator__ex2g4s.m()) {
223
223
  var element = _iterator__ex2g4s.n();
224
- if (equals(element.j1(), _this__u8e3s4.b2v())) {
224
+ if (equals(element.j1(), _this__u8e3s4.d2w())) {
225
225
  tmp$ret$1 = element;
226
226
  break $l$block;
227
227
  }
@@ -242,17 +242,17 @@
242
242
  if (tmp2_elvis_lhs == null) {
243
243
  var tmp_1;
244
244
  if (_this__u8e3s4 instanceof RGB) {
245
- var tmp4_subject = _this__u8e3s4.i2v_1;
246
- tmp_1 = equals(tmp4_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().b2x_1) ? renderFn(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().x2w_1) ? renderFn(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().c2x_1) ? renderFn(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().y2w_1) ? renderFn(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().s2w_1) ? renderFn(_this__u8e3s4, 'srgb-linear', unitsPercent, alphaPercent, renderAlpha) : null;
245
+ var tmp4_subject = _this__u8e3s4.k2w_1;
246
+ tmp_1 = equals(tmp4_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().d2y_1) ? renderFn(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().z2x_1) ? renderFn(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().e2y_1) ? renderFn(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().a2y_1) ? renderFn(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : equals(tmp4_subject, RGBColorSpaces_getInstance().u2x_1) ? renderFn(_this__u8e3s4, 'srgb-linear', unitsPercent, alphaPercent, renderAlpha) : null;
247
247
  } else {
248
248
  if (_this__u8e3s4 instanceof HSL) {
249
249
  tmp_1 = renderHsl(_this__u8e3s4, legacyFormat, legacyName, hueUnit, alphaPercent, renderAlpha);
250
250
  } else {
251
251
  if (_this__u8e3s4 instanceof LAB) {
252
- tmp_1 = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().q2w_1), alphaPercent, renderAlpha);
252
+ tmp_1 = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().s2x_1), alphaPercent, renderAlpha);
253
253
  } else {
254
254
  if (_this__u8e3s4 instanceof LCHab) {
255
- tmp_1 = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().o2w_1), hueUnit, alphaPercent, renderAlpha);
255
+ tmp_1 = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().q2x_1), hueUnit, alphaPercent, renderAlpha);
256
256
  } else {
257
257
  if (_this__u8e3s4 instanceof HWB) {
258
258
  tmp_1 = renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
@@ -264,7 +264,7 @@
264
264
  tmp_1 = renderOklch(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
265
265
  } else {
266
266
  if (_this__u8e3s4 instanceof XYZ) {
267
- tmp_1 = _this__u8e3s4.p2v_1.b2w().equals(Illuminant_getInstance().k2w_1) ? renderFn(_this__u8e3s4, 'xyz-d65', unitsPercent, alphaPercent, renderAlpha) : renderFn(_this__u8e3s4.e2w(XYZColorSpaces_getInstance().d2w_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
267
+ tmp_1 = _this__u8e3s4.r2w_1.d2x().equals(Illuminant_getInstance().m2x_1) ? renderFn(_this__u8e3s4, 'xyz-d65', unitsPercent, alphaPercent, renderAlpha) : renderFn(_this__u8e3s4.g2x(XYZColorSpaces_getInstance().f2x_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
268
268
  } else {
269
269
  tmp_1 = null;
270
270
  }
@@ -293,32 +293,32 @@
293
293
  return this_0.toString();
294
294
  }
295
295
  function get_dashName(_this__u8e3s4) {
296
- var tmp0 = _this__u8e3s4.b2v().s1();
296
+ var tmp0 = _this__u8e3s4.d2w().s1();
297
297
  // Inline function 'kotlin.text.replace' call
298
298
  // Inline function 'kotlin.text.lowercase' call
299
299
  // Inline function 'kotlin.js.asDynamic' call
300
300
  return '--' + Regex_init_$Create$('\\W').ya(tmp0, '-').toLowerCase();
301
301
  }
302
302
  function renderSRGB(_this__u8e3s4, commas, namedRgba, rgbPercent, alphaPercent, renderAlpha) {
303
- return renderColorFn(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.e2v_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.d2x())), rgbPercent ? render(_this__u8e3s4.f2v_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.d2x())), rgbPercent ? render(_this__u8e3s4.g2v_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.d2x()))], alphaPercent, renderAlpha, commas);
303
+ return renderColorFn(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.g2w_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.f2y())), rgbPercent ? render(_this__u8e3s4.h2w_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.f2y())), rgbPercent ? render(_this__u8e3s4.i2w_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.f2y()))], alphaPercent, renderAlpha, commas);
304
304
  }
305
305
  function renderHsl(_this__u8e3s4, commas, namedHsla, hueUnit, alphaPercent, renderAlpha) {
306
- return renderColorFn(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.f2x_1, true), render(_this__u8e3s4.g2x_1, true)], alphaPercent, renderAlpha, commas);
306
+ return renderColorFn(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.h2y_1, true), render(_this__u8e3s4.i2y_1, true)], alphaPercent, renderAlpha, commas);
307
307
  }
308
308
  function renderLab(_this__u8e3s4, alphaPercent, renderAlpha) {
309
- return renderColorFn(_this__u8e3s4, 'lab', [render(_this__u8e3s4.r2v_1 / 100, true), render(_this__u8e3s4.s2v_1), render(_this__u8e3s4.t2v_1)], alphaPercent, renderAlpha);
309
+ return renderColorFn(_this__u8e3s4, 'lab', [render(_this__u8e3s4.t2w_1 / 100, true), render(_this__u8e3s4.u2w_1), render(_this__u8e3s4.v2w_1)], alphaPercent, renderAlpha);
310
310
  }
311
311
  function renderLCH(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
312
- return renderColorFn(_this__u8e3s4, 'lch', [render(_this__u8e3s4.i2x_1 / 100, true), render(_this__u8e3s4.j2x_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
312
+ return renderColorFn(_this__u8e3s4, 'lch', [render(_this__u8e3s4.k2y_1 / 100, true), render(_this__u8e3s4.l2y_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
313
313
  }
314
314
  function renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
315
- return renderColorFn(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.n2x_1, true), render(_this__u8e3s4.o2x_1, true)], alphaPercent, renderAlpha);
315
+ return renderColorFn(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.p2y_1, true), render(_this__u8e3s4.q2y_1, true)], alphaPercent, renderAlpha);
316
316
  }
317
317
  function renderOklab(_this__u8e3s4, alphaPercent, renderAlpha) {
318
- return renderColorFn(_this__u8e3s4, 'oklab', [render(_this__u8e3s4.p2x_1, true), render(_this__u8e3s4.q2x_1), render(_this__u8e3s4.r2x_1)], alphaPercent, renderAlpha);
318
+ return renderColorFn(_this__u8e3s4, 'oklab', [render(_this__u8e3s4.r2y_1, true), render(_this__u8e3s4.s2y_1), render(_this__u8e3s4.t2y_1)], alphaPercent, renderAlpha);
319
319
  }
320
320
  function renderOklch(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
321
- return renderColorFn(_this__u8e3s4, 'oklch', [render(_this__u8e3s4.s2x_1, true), render(_this__u8e3s4.t2x_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
321
+ return renderColorFn(_this__u8e3s4, 'oklch', [render(_this__u8e3s4.u2y_1, true), render(_this__u8e3s4.v2y_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
322
322
  }
323
323
  function render(_this__u8e3s4, percent, precision) {
324
324
  percent = percent === VOID ? false : percent;
@@ -345,8 +345,8 @@
345
345
  }
346
346
  function renderAlpha(_this__u8e3s4, commas, renderAlpha, alphaPercent) {
347
347
  var tmp;
348
- if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) || (renderAlpha.equals(RenderCondition_AUTO_getInstance()) && !isNaN_0(_this__u8e3s4.a2v()) && !(_this__u8e3s4.a2v() === 1.0))) {
349
- tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.a2v()), alphaPercent);
348
+ if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) || (renderAlpha.equals(RenderCondition_AUTO_getInstance()) && !isNaN_0(_this__u8e3s4.c2w()) && !(_this__u8e3s4.c2w() === 1.0))) {
349
+ tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.c2w()), alphaPercent);
350
350
  } else {
351
351
  tmp = '';
352
352
  }
@@ -366,16 +366,16 @@
366
366
  }
367
367
  function renderHue(_this__u8e3s4, hueUnit) {
368
368
  var tmp;
369
- if (isNaN_0(_this__u8e3s4.u2x())) {
369
+ if (isNaN_0(_this__u8e3s4.w2y())) {
370
370
  tmp = 'none';
371
371
  } else {
372
372
  var tmp_0;
373
373
  switch (hueUnit.r1_1) {
374
374
  case 0:
375
- tmp_0 = render(_this__u8e3s4.u2x());
375
+ tmp_0 = render(_this__u8e3s4.w2y());
376
376
  break;
377
377
  case 1:
378
- tmp_0 = render(_this__u8e3s4.u2x()) + 'deg';
378
+ tmp_0 = render(_this__u8e3s4.w2y()) + 'deg';
379
379
  break;
380
380
  case 2:
381
381
  tmp_0 = render(hueAsRad(_this__u8e3s4)) + 'rad';
@@ -412,27 +412,27 @@
412
412
  return AngleUnit_AUTO_instance;
413
413
  }
414
414
  function hueAsRad(_this__u8e3s4) {
415
- return degToRad(_this__u8e3s4.u2x());
415
+ return degToRad(_this__u8e3s4.w2y());
416
416
  }
417
417
  function hueAsGrad(_this__u8e3s4) {
418
- return degToGrad(_this__u8e3s4.u2x());
418
+ return degToGrad(_this__u8e3s4.w2y());
419
419
  }
420
420
  function hueAsTurns(_this__u8e3s4) {
421
- return degToTurns(_this__u8e3s4.u2x());
421
+ return degToTurns(_this__u8e3s4.w2y());
422
422
  }
423
423
  function hueOr(_this__u8e3s4, whenNaN) {
424
- return isNaN_0(_this__u8e3s4.u2x()) ? numberToDouble(whenNaN) : _this__u8e3s4.u2x();
424
+ return isNaN_0(_this__u8e3s4.w2y()) ? numberToDouble(whenNaN) : _this__u8e3s4.w2y();
425
425
  }
426
426
  function WhitePoint(name, chromaticity) {
427
- this.v2x_1 = name;
428
- this.w2x_1 = chromaticity;
427
+ this.x2y_1 = name;
428
+ this.y2y_1 = chromaticity;
429
429
  }
430
430
  protoOf(WhitePoint).toString = function () {
431
- return this.v2x_1;
431
+ return this.x2y_1;
432
432
  };
433
433
  protoOf(WhitePoint).hashCode = function () {
434
- var result = getStringHashCode(this.v2x_1);
435
- result = imul(result, 31) + this.w2x_1.hashCode() | 0;
434
+ var result = getStringHashCode(this.x2y_1);
435
+ result = imul(result, 31) + this.y2y_1.hashCode() | 0;
436
436
  return result;
437
437
  };
438
438
  protoOf(WhitePoint).equals = function (other) {
@@ -441,22 +441,22 @@
441
441
  if (!(other instanceof WhitePoint))
442
442
  return false;
443
443
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
444
- if (!(this.v2x_1 === tmp0_other_with_cast.v2x_1))
444
+ if (!(this.x2y_1 === tmp0_other_with_cast.x2y_1))
445
445
  return false;
446
- if (!this.w2x_1.equals(tmp0_other_with_cast.w2x_1))
446
+ if (!this.y2y_1.equals(tmp0_other_with_cast.y2y_1))
447
447
  return false;
448
448
  return true;
449
449
  };
450
450
  function Illuminant() {
451
451
  Illuminant_instance = this;
452
- this.f2w_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
453
- this.g2w_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
454
- this.h2w_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
455
- this.i2w_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
456
- this.j2w_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
457
- this.k2w_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
458
- this.l2w_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
459
- this.m2w_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
452
+ this.h2x_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
453
+ this.i2x_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
454
+ this.j2x_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
455
+ this.k2x_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
456
+ this.l2x_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
457
+ this.m2x_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
458
+ this.n2x_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
459
+ this.o2x_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
460
460
  }
461
461
  var Illuminant_instance;
462
462
  function Illuminant_getInstance() {
@@ -608,22 +608,22 @@
608
608
  function Matrix__equals_impl_g5p8p9($this, other) {
609
609
  if (!(other instanceof Matrix))
610
610
  return false;
611
- var tmp0_other_with_cast = other instanceof Matrix ? other.x2x_1 : THROW_CCE();
611
+ var tmp0_other_with_cast = other instanceof Matrix ? other.z2y_1 : THROW_CCE();
612
612
  if (!equals($this, tmp0_other_with_cast))
613
613
  return false;
614
614
  return true;
615
615
  }
616
616
  function Matrix(rowMajor) {
617
- this.x2x_1 = rowMajor;
617
+ this.z2y_1 = rowMajor;
618
618
  }
619
619
  protoOf(Matrix).toString = function () {
620
- return Matrix__toString_impl_l0abk0(this.x2x_1);
620
+ return Matrix__toString_impl_l0abk0(this.z2y_1);
621
621
  };
622
622
  protoOf(Matrix).hashCode = function () {
623
- return Matrix__hashCode_impl_s9ntm9(this.x2x_1);
623
+ return Matrix__hashCode_impl_s9ntm9(this.z2y_1);
624
624
  };
625
625
  protoOf(Matrix).equals = function (other) {
626
- return Matrix__equals_impl_g5p8p9(this.x2x_1, other);
626
+ return Matrix__equals_impl_g5p8p9(this.z2y_1, other);
627
627
  };
628
628
  function inverse(_this__u8e3s4, inPlace) {
629
629
  inPlace = inPlace === VOID ? false : inPlace;
@@ -701,22 +701,22 @@
701
701
  function Vector__equals_impl_hy6igl($this, other) {
702
702
  if (!(other instanceof Vector))
703
703
  return false;
704
- var tmp0_other_with_cast = other instanceof Vector ? other.y2x_1 : THROW_CCE();
704
+ var tmp0_other_with_cast = other instanceof Vector ? other.a2z_1 : THROW_CCE();
705
705
  if (!equals($this, tmp0_other_with_cast))
706
706
  return false;
707
707
  return true;
708
708
  }
709
709
  function Vector(values) {
710
- this.y2x_1 = values;
710
+ this.a2z_1 = values;
711
711
  }
712
712
  protoOf(Vector).toString = function () {
713
- return Vector__toString_impl_hn2ybi(this.y2x_1);
713
+ return Vector__toString_impl_hn2ybi(this.a2z_1);
714
714
  };
715
715
  protoOf(Vector).hashCode = function () {
716
- return Vector__hashCode_impl_442yhd(this.y2x_1);
716
+ return Vector__hashCode_impl_442yhd(this.a2z_1);
717
717
  };
718
718
  protoOf(Vector).equals = function (other) {
719
- return Vector__equals_impl_hy6igl(this.y2x_1, other);
719
+ return Vector__equals_impl_hy6igl(this.a2z_1, other);
720
720
  };
721
721
  function dot_0(_this__u8e3s4, v0, v1, v2) {
722
722
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
@@ -730,13 +730,13 @@
730
730
  }
731
731
  function Companion() {
732
732
  Companion_instance = this;
733
- this.z2x_1 = polarComponentInfo('HSL', 0.0, 1.0);
733
+ this.b2z_1 = polarComponentInfo('HSL', 0.0, 1.0);
734
734
  }
735
735
  protoOf(Companion).s1 = function () {
736
736
  return 'HSL';
737
737
  };
738
- protoOf(Companion).w2v = function (color) {
739
- return color.d2v();
738
+ protoOf(Companion).y2w = function (color) {
739
+ return color.f2w();
740
740
  };
741
741
  var Companion_instance;
742
742
  function Companion_getInstance() {
@@ -758,53 +758,53 @@
758
758
  function HSL(h, s, l, alpha) {
759
759
  Companion_getInstance();
760
760
  alpha = alpha === VOID ? 1.0 : alpha;
761
- this.e2x_1 = h;
762
- this.f2x_1 = s;
763
- this.g2x_1 = l;
764
- this.h2x_1 = alpha;
761
+ this.g2y_1 = h;
762
+ this.h2y_1 = s;
763
+ this.i2y_1 = l;
764
+ this.j2y_1 = alpha;
765
765
  }
766
- protoOf(HSL).u2x = function () {
767
- return this.e2x_1;
766
+ protoOf(HSL).w2y = function () {
767
+ return this.g2y_1;
768
768
  };
769
- protoOf(HSL).a2v = function () {
770
- return this.h2x_1;
769
+ protoOf(HSL).c2w = function () {
770
+ return this.j2y_1;
771
771
  };
772
- protoOf(HSL).b2v = function () {
772
+ protoOf(HSL).d2w = function () {
773
773
  return Companion_getInstance();
774
774
  };
775
- protoOf(HSL).c2v = function () {
776
- if (this.f2x_1 < 1.0E-7)
777
- return Companion_getInstance_2().b2y(this.g2x_1, this.g2x_1, this.g2x_1, this.h2x_1);
775
+ protoOf(HSL).e2w = function () {
776
+ if (this.h2y_1 < 1.0E-7)
777
+ return Companion_getInstance_2().d2z(this.i2y_1, this.i2y_1, this.i2y_1, this.j2y_1);
778
778
  var h = normalizeDeg(hueOr(this, 0)) / 30.0;
779
- var s = this.f2x_1;
780
- var l = this.g2x_1;
781
- return SRGB_getInstance().b2y(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.h2x_1);
779
+ var s = this.h2y_1;
780
+ var l = this.i2y_1;
781
+ return SRGB_getInstance().d2z(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.j2y_1);
782
782
  };
783
- protoOf(HSL).d2v = function () {
783
+ protoOf(HSL).f2w = function () {
784
784
  return this;
785
785
  };
786
786
  protoOf(HSL).i4 = function () {
787
787
  // Inline function 'kotlin.floatArrayOf' call
788
- return new Float32Array([this.e2x_1, this.f2x_1, this.g2x_1, this.h2x_1]);
788
+ return new Float32Array([this.g2y_1, this.h2y_1, this.i2y_1, this.j2y_1]);
789
789
  };
790
- protoOf(HSL).d2y = function (h, s, l, alpha) {
790
+ protoOf(HSL).f2z = function (h, s, l, alpha) {
791
791
  return new HSL(h, s, l, alpha);
792
792
  };
793
- protoOf(HSL).e2y = function (h, s, l, alpha, $super) {
794
- h = h === VOID ? this.e2x_1 : h;
795
- s = s === VOID ? this.f2x_1 : s;
796
- l = l === VOID ? this.g2x_1 : l;
797
- alpha = alpha === VOID ? this.h2x_1 : alpha;
798
- return $super === VOID ? this.d2y(h, s, l, alpha) : $super.d2y.call(this, h, s, l, alpha);
793
+ protoOf(HSL).g2z = function (h, s, l, alpha, $super) {
794
+ h = h === VOID ? this.g2y_1 : h;
795
+ s = s === VOID ? this.h2y_1 : s;
796
+ l = l === VOID ? this.i2y_1 : l;
797
+ alpha = alpha === VOID ? this.j2y_1 : alpha;
798
+ return $super === VOID ? this.f2z(h, s, l, alpha) : $super.f2z.call(this, h, s, l, alpha);
799
799
  };
800
800
  protoOf(HSL).toString = function () {
801
- return 'HSL(h=' + this.e2x_1 + ', s=' + this.f2x_1 + ', l=' + this.g2x_1 + ', alpha=' + this.h2x_1 + ')';
801
+ return 'HSL(h=' + this.g2y_1 + ', s=' + this.h2y_1 + ', l=' + this.i2y_1 + ', alpha=' + this.j2y_1 + ')';
802
802
  };
803
803
  protoOf(HSL).hashCode = function () {
804
- var result = getNumberHashCode(this.e2x_1);
805
- result = imul(result, 31) + getNumberHashCode(this.f2x_1) | 0;
806
- result = imul(result, 31) + getNumberHashCode(this.g2x_1) | 0;
807
- result = imul(result, 31) + getNumberHashCode(this.h2x_1) | 0;
804
+ var result = getNumberHashCode(this.g2y_1);
805
+ result = imul(result, 31) + getNumberHashCode(this.h2y_1) | 0;
806
+ result = imul(result, 31) + getNumberHashCode(this.i2y_1) | 0;
807
+ result = imul(result, 31) + getNumberHashCode(this.j2y_1) | 0;
808
808
  return result;
809
809
  };
810
810
  protoOf(HSL).equals = function (other) {
@@ -813,13 +813,13 @@
813
813
  if (!(other instanceof HSL))
814
814
  return false;
815
815
  var tmp0_other_with_cast = other instanceof HSL ? other : THROW_CCE();
816
- if (!equals(this.e2x_1, tmp0_other_with_cast.e2x_1))
816
+ if (!equals(this.g2y_1, tmp0_other_with_cast.g2y_1))
817
817
  return false;
818
- if (!equals(this.f2x_1, tmp0_other_with_cast.f2x_1))
818
+ if (!equals(this.h2y_1, tmp0_other_with_cast.h2y_1))
819
819
  return false;
820
- if (!equals(this.g2x_1, tmp0_other_with_cast.g2x_1))
820
+ if (!equals(this.i2y_1, tmp0_other_with_cast.i2y_1))
821
821
  return false;
822
- if (!equals(this.h2x_1, tmp0_other_with_cast.h2x_1))
822
+ if (!equals(this.j2y_1, tmp0_other_with_cast.j2y_1))
823
823
  return false;
824
824
  return true;
825
825
  };
@@ -863,43 +863,43 @@
863
863
  var ICTCP_LMS_TO_XYZ;
864
864
  function ICtCp() {
865
865
  }
866
- protoOf(ICtCp).j2y = function () {
867
- var fo = RGBColorSpaces_getInstance().y2w_1.k2y();
866
+ protoOf(ICtCp).l2z = function () {
867
+ var fo = RGBColorSpaces_getInstance().a2y_1.m2z();
868
868
  var tmp0 = get_ICTCP_ICTCP_to_LMS();
869
- var tmp2 = this.f2y_1;
870
- var tmp4 = this.g2y_1;
869
+ var tmp2 = this.h2z_1;
870
+ var tmp4 = this.i2z_1;
871
871
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
872
- var v2 = this.h2y_1;
872
+ var v2 = this.j2z_1;
873
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
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
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
876
  var tmp0_1 = get_ICTCP_LMS_to_RGB();
877
- var tmp2_1 = PqNonlinearity_instance.t2y(tmp0_0);
878
- var tmp4_0 = PqNonlinearity_instance.t2y(tmp2_0);
877
+ var tmp2_1 = PqNonlinearity_instance.v2z(tmp0_0);
878
+ var tmp4_0 = PqNonlinearity_instance.v2z(tmp2_0);
879
879
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
880
- var v2_0 = PqNonlinearity_instance.t2y(s);
880
+ var v2_0 = PqNonlinearity_instance.v2z(s);
881
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
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
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().y2w_1.b2y(fo.u2y(tmp0_2), fo.u2y(tmp2_2), fo.u2y(b), this.i2y_1);
884
+ return RGBColorSpaces_getInstance().a2y_1.d2z(fo.w2z(tmp0_2), fo.w2z(tmp2_2), fo.w2z(b), this.k2z_1);
885
885
  };
886
886
  function PqNonlinearity() {
887
- this.l2y_1 = 0.1593017578125;
888
- this.m2y_1 = 78.84375;
889
- this.n2y_1 = 0.8359375;
890
- this.o2y_1 = 18.8515625;
891
- this.p2y_1 = 18.6875;
892
- this.q2y_1 = 10000.0;
893
- this.r2y_1 = 6.277394636015326;
894
- this.s2y_1 = 0.012683313515655966;
895
- }
896
- protoOf(PqNonlinearity).t2y = function (x) {
887
+ this.n2z_1 = 0.1593017578125;
888
+ this.o2z_1 = 78.84375;
889
+ this.p2z_1 = 0.8359375;
890
+ this.q2z_1 = 18.8515625;
891
+ this.r2z_1 = 18.6875;
892
+ this.s2z_1 = 10000.0;
893
+ this.t2z_1 = 6.277394636015326;
894
+ this.u2z_1 = 0.012683313515655966;
895
+ }
896
+ protoOf(PqNonlinearity).v2z = function (x) {
897
897
  var vp = spow(x, 0.012683313515655966);
898
898
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
899
899
  var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
900
900
  return 10000.0 * l;
901
901
  };
902
- protoOf(PqNonlinearity).u2y = function (x) {
902
+ protoOf(PqNonlinearity).w2z = function (x) {
903
903
  var yp = spow_0(x / 10000.0, 0.1593017578125);
904
904
  return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
905
905
  };
@@ -923,28 +923,28 @@
923
923
  }
924
924
  function Companion_0() {
925
925
  Companion_instance_0 = this;
926
- this.v2y_1 = LABColorSpaces_getInstance().p2w_1;
926
+ this.x2z_1 = LABColorSpaces_getInstance().r2x_1;
927
927
  }
928
928
  protoOf(Companion_0).equals = function (other) {
929
- return equals(LABColorSpaces_getInstance().p2w_1, other);
929
+ return equals(LABColorSpaces_getInstance().r2x_1, other);
930
930
  };
931
931
  protoOf(Companion_0).hashCode = function () {
932
- return hashCode(LABColorSpaces_getInstance().p2w_1);
932
+ return hashCode(LABColorSpaces_getInstance().r2x_1);
933
933
  };
934
- protoOf(Companion_0).b2y = function (l, a, b, alpha) {
935
- return this.v2y_1.b2y(l, a, b, alpha);
934
+ protoOf(Companion_0).d2z = function (l, a, b, alpha) {
935
+ return this.x2z_1.d2z(l, a, b, alpha);
936
936
  };
937
- protoOf(Companion_0).w2y = function (l, a, b, alpha) {
938
- return this.v2y_1.w2y(l, a, b, alpha);
937
+ protoOf(Companion_0).y2z = function (l, a, b, alpha) {
938
+ return this.x2z_1.y2z(l, a, b, alpha);
939
939
  };
940
- protoOf(Companion_0).b2w = function () {
941
- return this.v2y_1.b2w();
940
+ protoOf(Companion_0).d2x = function () {
941
+ return this.x2z_1.d2x();
942
942
  };
943
943
  protoOf(Companion_0).s1 = function () {
944
- return this.v2y_1.s1();
944
+ return this.x2z_1.s1();
945
945
  };
946
- protoOf(Companion_0).w2v = function (color) {
947
- return this.v2y_1.w2v(color);
946
+ protoOf(Companion_0).y2w = function (color) {
947
+ return this.x2z_1.y2w(color);
948
948
  };
949
949
  var Companion_instance_0;
950
950
  function Companion_getInstance_0() {
@@ -954,34 +954,34 @@
954
954
  }
955
955
  function LAB(l, a, b, alpha, space) {
956
956
  Companion_getInstance_0();
957
- this.r2v_1 = l;
958
- this.s2v_1 = a;
959
- this.t2v_1 = b;
960
- this.u2v_1 = alpha;
961
- this.v2v_1 = space;
962
- }
963
- protoOf(LAB).a2v = function () {
964
- return this.u2v_1;
965
- };
966
- protoOf(LAB).b2v = function () {
967
- return this.v2v_1;
968
- };
969
- protoOf(LAB).c2v = function () {
970
- return this.r2v_1 === 0.0 ? Companion_getInstance_2().b2y(0.0, 0.0, 0.0, this.u2v_1) : this.j2v().c2v();
971
- };
972
- protoOf(LAB).j2v = function () {
973
- var xyzSpace = XYZColorSpace_0(this.v2v_1.b2w());
974
- if (this.r2v_1 === 0.0)
975
- return xyzSpace.x2y(0.0, 0.0, 0.0);
976
- var fy = (this.r2v_1 + 16) / 116.0;
977
- var fz = fy - this.t2v_1 / 200.0;
978
- var fx = this.s2v_1 / 500.0 + fy;
957
+ this.t2w_1 = l;
958
+ this.u2w_1 = a;
959
+ this.v2w_1 = b;
960
+ this.w2w_1 = alpha;
961
+ this.x2w_1 = space;
962
+ }
963
+ protoOf(LAB).c2w = function () {
964
+ return this.w2w_1;
965
+ };
966
+ protoOf(LAB).d2w = function () {
967
+ return this.x2w_1;
968
+ };
969
+ protoOf(LAB).e2w = function () {
970
+ return this.t2w_1 === 0.0 ? Companion_getInstance_2().d2z(0.0, 0.0, 0.0, this.w2w_1) : this.l2w().e2w();
971
+ };
972
+ protoOf(LAB).l2w = function () {
973
+ var xyzSpace = XYZColorSpace_0(this.x2w_1.d2x());
974
+ if (this.t2w_1 === 0.0)
975
+ return xyzSpace.z2z(0.0, 0.0, 0.0);
976
+ var fy = (this.t2w_1 + 16) / 116.0;
977
+ var fz = fy - this.v2w_1 / 200.0;
978
+ var fx = this.u2w_1 / 500.0 + fy;
979
979
  var tmp;
980
- if (this.r2v_1 > 8.0) {
980
+ if (this.t2w_1 > 8.0) {
981
981
  // Inline function 'kotlin.math.pow' call
982
982
  tmp = Math.pow(fy, 3);
983
983
  } else {
984
- tmp = this.r2v_1 / 903.2962962962963;
984
+ tmp = this.t2w_1 / 903.2962962962963;
985
985
  }
986
986
  var yr = tmp;
987
987
  // Inline function 'kotlin.math.pow' call
@@ -992,13 +992,13 @@
992
992
  // Inline function 'kotlin.let' call
993
993
  var it_0 = Math.pow(fx, 3);
994
994
  var xr = it_0 > 0.008856451679035631 ? it_0 : (116 * fx - 16) / 903.2962962962963;
995
- var wp = this.v2v_1.b2w().w2x_1;
996
- return xyzSpace.w2y(xr * wp.b2z(), yr * wp.a2z_1, zr * wp.c2z(), this.u2v_1);
995
+ var wp = this.x2w_1.d2x().y2y_1;
996
+ return xyzSpace.y2z(xr * wp.d30(), yr * wp.c30_1, zr * wp.e30(), this.w2w_1);
997
997
  };
998
- protoOf(LAB).q2v = function () {
999
- var tmp0 = this.s2v_1;
998
+ protoOf(LAB).s2w = function () {
999
+ var tmp0 = this.u2w_1;
1000
1000
  // Inline function 'com.github.ajalt.colormath.internal.toPolarModel' call
1001
- var b = this.t2v_1;
1001
+ var b = this.v2w_1;
1002
1002
  // Inline function 'kotlin.math.sqrt' call
1003
1003
  var x = tmp0 * tmp0 + b * b;
1004
1004
  var c = Math.sqrt(x);
@@ -1012,24 +1012,24 @@
1012
1012
  }
1013
1013
  var h = tmp;
1014
1014
  var h_0 = normalizeDeg(h);
1015
- return LCHabColorSpace_0(this.v2v_1.b2w()).b2y(this.r2v_1, c, h_0, this.u2v_1);
1015
+ return LCHabColorSpace_0(this.x2w_1.d2x()).d2z(this.t2w_1, c, h_0, this.w2w_1);
1016
1016
  };
1017
- protoOf(LAB).k2v = function () {
1017
+ protoOf(LAB).m2w = function () {
1018
1018
  return this;
1019
1019
  };
1020
1020
  protoOf(LAB).i4 = function () {
1021
1021
  // Inline function 'kotlin.floatArrayOf' call
1022
- return new Float32Array([this.r2v_1, this.s2v_1, this.t2v_1, this.u2v_1]);
1022
+ return new Float32Array([this.t2w_1, this.u2w_1, this.v2w_1, this.w2w_1]);
1023
1023
  };
1024
1024
  protoOf(LAB).toString = function () {
1025
- return 'LAB(l=' + this.r2v_1 + ', a=' + this.s2v_1 + ', b=' + this.t2v_1 + ', alpha=' + this.u2v_1 + ', space=' + toString(this.v2v_1) + ')';
1025
+ return 'LAB(l=' + this.t2w_1 + ', a=' + this.u2w_1 + ', b=' + this.v2w_1 + ', alpha=' + this.w2w_1 + ', space=' + toString(this.x2w_1) + ')';
1026
1026
  };
1027
1027
  protoOf(LAB).hashCode = function () {
1028
- var result = getNumberHashCode(this.r2v_1);
1029
- result = imul(result, 31) + getNumberHashCode(this.s2v_1) | 0;
1030
- result = imul(result, 31) + getNumberHashCode(this.t2v_1) | 0;
1031
- result = imul(result, 31) + getNumberHashCode(this.u2v_1) | 0;
1032
- result = imul(result, 31) + hashCode(this.v2v_1) | 0;
1028
+ var result = getNumberHashCode(this.t2w_1);
1029
+ result = imul(result, 31) + getNumberHashCode(this.u2w_1) | 0;
1030
+ result = imul(result, 31) + getNumberHashCode(this.v2w_1) | 0;
1031
+ result = imul(result, 31) + getNumberHashCode(this.w2w_1) | 0;
1032
+ result = imul(result, 31) + hashCode(this.x2w_1) | 0;
1033
1033
  return result;
1034
1034
  };
1035
1035
  protoOf(LAB).equals = function (other) {
@@ -1038,15 +1038,15 @@
1038
1038
  if (!(other instanceof LAB))
1039
1039
  return false;
1040
1040
  var tmp0_other_with_cast = other instanceof LAB ? other : THROW_CCE();
1041
- if (!equals(this.r2v_1, tmp0_other_with_cast.r2v_1))
1041
+ if (!equals(this.t2w_1, tmp0_other_with_cast.t2w_1))
1042
1042
  return false;
1043
- if (!equals(this.s2v_1, tmp0_other_with_cast.s2v_1))
1043
+ if (!equals(this.u2w_1, tmp0_other_with_cast.u2w_1))
1044
1044
  return false;
1045
- if (!equals(this.t2v_1, tmp0_other_with_cast.t2v_1))
1045
+ if (!equals(this.v2w_1, tmp0_other_with_cast.v2w_1))
1046
1046
  return false;
1047
- if (!equals(this.u2v_1, tmp0_other_with_cast.u2v_1))
1047
+ if (!equals(this.w2w_1, tmp0_other_with_cast.w2w_1))
1048
1048
  return false;
1049
- if (!equals(this.v2v_1, tmp0_other_with_cast.v2v_1))
1049
+ if (!equals(this.x2w_1, tmp0_other_with_cast.x2w_1))
1050
1050
  return false;
1051
1051
  return true;
1052
1052
  };
@@ -1054,8 +1054,8 @@
1054
1054
  }
1055
1055
  function LABColorSpaces() {
1056
1056
  LABColorSpaces_instance = this;
1057
- this.p2w_1 = new LABColorSpaceImpl(Illuminant_getInstance().k2w_1);
1058
- this.q2w_1 = new LABColorSpaceImpl(Illuminant_getInstance().i2w_1);
1057
+ this.r2x_1 = new LABColorSpaceImpl(Illuminant_getInstance().m2x_1);
1058
+ this.s2x_1 = new LABColorSpaceImpl(Illuminant_getInstance().k2x_1);
1059
1059
  }
1060
1060
  var LABColorSpaces_instance;
1061
1061
  function LABColorSpaces_getInstance() {
@@ -1064,70 +1064,70 @@
1064
1064
  return LABColorSpaces_instance;
1065
1065
  }
1066
1066
  function LABColorSpaceImpl(whitePoint) {
1067
- this.d2z_1 = whitePoint;
1068
- this.e2z_1 = threeComponentInfo('L', 0.0, 100.0, 'A', -128.0, 128.0, 'B', -128.0, 128.0);
1067
+ this.f30_1 = whitePoint;
1068
+ this.g30_1 = threeComponentInfo('L', 0.0, 100.0, 'A', -128.0, 128.0, 'B', -128.0, 128.0);
1069
1069
  }
1070
- protoOf(LABColorSpaceImpl).b2w = function () {
1071
- return this.d2z_1;
1070
+ protoOf(LABColorSpaceImpl).d2x = function () {
1071
+ return this.f30_1;
1072
1072
  };
1073
1073
  protoOf(LABColorSpaceImpl).s1 = function () {
1074
1074
  return 'LAB';
1075
1075
  };
1076
- protoOf(LABColorSpaceImpl).w2v = function (color) {
1076
+ protoOf(LABColorSpaceImpl).y2w = function (color) {
1077
1077
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1078
1078
  var tmp;
1079
- var tmp_0 = color.b2v();
1079
+ var tmp_0 = color.d2w();
1080
1080
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1081
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2w();
1082
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().k2w_1 : tmp1_elvis_lhs).equals(this.b2w())) {
1083
- tmp = color.k2v();
1081
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d2x();
1082
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().m2x_1 : tmp1_elvis_lhs).equals(this.d2x())) {
1083
+ tmp = color.m2w();
1084
1084
  } else {
1085
- tmp = color.j2v().e2w(XYZColorSpace_0(this.b2w())).k2v();
1085
+ tmp = color.l2w().g2x(XYZColorSpace_0(this.d2x())).m2w();
1086
1086
  }
1087
1087
  return tmp;
1088
1088
  };
1089
1089
  protoOf(LABColorSpaceImpl).toString = function () {
1090
- return 'LABColorSpace(' + this.d2z_1.toString() + ')';
1090
+ return 'LABColorSpace(' + this.f30_1.toString() + ')';
1091
1091
  };
1092
- protoOf(LABColorSpaceImpl).b2y = function (l, a, b, alpha) {
1092
+ protoOf(LABColorSpaceImpl).d2z = function (l, a, b, alpha) {
1093
1093
  return new LAB(l, a, b, alpha, this);
1094
1094
  };
1095
1095
  protoOf(LABColorSpaceImpl).hashCode = function () {
1096
- return this.d2z_1.hashCode();
1096
+ return this.f30_1.hashCode();
1097
1097
  };
1098
1098
  protoOf(LABColorSpaceImpl).equals = function (other) {
1099
1099
  var tmp;
1100
1100
  if (!(other == null) ? isInterface(other, LABColorSpace) : false) {
1101
- tmp = this.d2z_1.equals(other.b2w());
1101
+ tmp = this.f30_1.equals(other.d2x());
1102
1102
  } else {
1103
1103
  tmp = false;
1104
1104
  }
1105
1105
  return tmp;
1106
1106
  };
1107
1107
  function LABColorSpace_0(whitePoint) {
1108
- return whitePoint.equals(Illuminant_getInstance().k2w_1) ? LABColorSpaces_getInstance().p2w_1 : whitePoint.equals(Illuminant_getInstance().i2w_1) ? LABColorSpaces_getInstance().q2w_1 : new LABColorSpaceImpl(whitePoint);
1108
+ return whitePoint.equals(Illuminant_getInstance().m2x_1) ? LABColorSpaces_getInstance().r2x_1 : whitePoint.equals(Illuminant_getInstance().k2x_1) ? LABColorSpaces_getInstance().s2x_1 : new LABColorSpaceImpl(whitePoint);
1109
1109
  }
1110
1110
  function Companion_1() {
1111
1111
  Companion_instance_1 = this;
1112
- this.f2z_1 = LCHabColorSpaces_getInstance().n2w_1;
1112
+ this.h30_1 = LCHabColorSpaces_getInstance().p2x_1;
1113
1113
  }
1114
1114
  protoOf(Companion_1).equals = function (other) {
1115
- return equals(LCHabColorSpaces_getInstance().n2w_1, other);
1115
+ return equals(LCHabColorSpaces_getInstance().p2x_1, other);
1116
1116
  };
1117
1117
  protoOf(Companion_1).hashCode = function () {
1118
- return hashCode(LCHabColorSpaces_getInstance().n2w_1);
1118
+ return hashCode(LCHabColorSpaces_getInstance().p2x_1);
1119
1119
  };
1120
- protoOf(Companion_1).b2y = function (l, c, h, alpha) {
1121
- return this.f2z_1.b2y(l, c, h, alpha);
1120
+ protoOf(Companion_1).d2z = function (l, c, h, alpha) {
1121
+ return this.h30_1.d2z(l, c, h, alpha);
1122
1122
  };
1123
- protoOf(Companion_1).b2w = function () {
1124
- return this.f2z_1.b2w();
1123
+ protoOf(Companion_1).d2x = function () {
1124
+ return this.h30_1.d2x();
1125
1125
  };
1126
1126
  protoOf(Companion_1).s1 = function () {
1127
- return this.f2z_1.s1();
1127
+ return this.h30_1.s1();
1128
1128
  };
1129
- protoOf(Companion_1).w2v = function (color) {
1130
- return this.f2z_1.w2v(color);
1129
+ protoOf(Companion_1).y2w = function (color) {
1130
+ return this.h30_1.y2w(color);
1131
1131
  };
1132
1132
  var Companion_instance_1;
1133
1133
  function Companion_getInstance_1() {
@@ -1137,54 +1137,54 @@
1137
1137
  }
1138
1138
  function LCHab(l, c, h, alpha, space) {
1139
1139
  Companion_getInstance_1();
1140
- this.i2x_1 = l;
1141
- this.j2x_1 = c;
1142
- this.k2x_1 = h;
1143
- this.l2x_1 = alpha;
1144
- this.m2x_1 = space;
1140
+ this.k2y_1 = l;
1141
+ this.l2y_1 = c;
1142
+ this.m2y_1 = h;
1143
+ this.n2y_1 = alpha;
1144
+ this.o2y_1 = space;
1145
1145
  }
1146
- protoOf(LCHab).u2x = function () {
1147
- return this.k2x_1;
1146
+ protoOf(LCHab).w2y = function () {
1147
+ return this.m2y_1;
1148
1148
  };
1149
- protoOf(LCHab).a2v = function () {
1150
- return this.l2x_1;
1149
+ protoOf(LCHab).c2w = function () {
1150
+ return this.n2y_1;
1151
1151
  };
1152
- protoOf(LCHab).b2v = function () {
1153
- return this.m2x_1;
1152
+ protoOf(LCHab).d2w = function () {
1153
+ return this.o2y_1;
1154
1154
  };
1155
- protoOf(LCHab).c2v = function () {
1156
- return this.k2v().c2v();
1155
+ protoOf(LCHab).e2w = function () {
1156
+ return this.m2w().e2w();
1157
1157
  };
1158
- protoOf(LCHab).j2v = function () {
1159
- return this.k2v().j2v();
1158
+ protoOf(LCHab).l2w = function () {
1159
+ return this.m2w().l2w();
1160
1160
  };
1161
- protoOf(LCHab).k2v = function () {
1162
- var tmp0 = this.j2x_1;
1161
+ protoOf(LCHab).m2w = function () {
1162
+ var tmp0 = this.l2y_1;
1163
1163
  // Inline function 'com.github.ajalt.colormath.internal.fromPolarModel' call
1164
- var h = this.k2x_1;
1164
+ var h = this.m2y_1;
1165
1165
  var hDegrees = isNaN_0(h) ? 0.0 : degToRad(h);
1166
1166
  // Inline function 'kotlin.math.cos' call
1167
1167
  var a = tmp0 * Math.cos(hDegrees);
1168
1168
  // Inline function 'kotlin.math.sin' call
1169
1169
  var b = tmp0 * Math.sin(hDegrees);
1170
- return LABColorSpace_0(this.m2x_1.b2w()).b2y(this.i2x_1, a, b, this.l2x_1);
1170
+ return LABColorSpace_0(this.o2y_1.d2x()).d2z(this.k2y_1, a, b, this.n2y_1);
1171
1171
  };
1172
- protoOf(LCHab).q2v = function () {
1172
+ protoOf(LCHab).s2w = function () {
1173
1173
  return this;
1174
1174
  };
1175
1175
  protoOf(LCHab).i4 = function () {
1176
1176
  // Inline function 'kotlin.floatArrayOf' call
1177
- return new Float32Array([this.i2x_1, this.j2x_1, this.k2x_1, this.l2x_1]);
1177
+ return new Float32Array([this.k2y_1, this.l2y_1, this.m2y_1, this.n2y_1]);
1178
1178
  };
1179
1179
  protoOf(LCHab).toString = function () {
1180
- return 'LCHab(l=' + this.i2x_1 + ', c=' + this.j2x_1 + ', h=' + this.k2x_1 + ', alpha=' + this.l2x_1 + ', space=' + toString(this.m2x_1) + ')';
1180
+ return 'LCHab(l=' + this.k2y_1 + ', c=' + this.l2y_1 + ', h=' + this.m2y_1 + ', alpha=' + this.n2y_1 + ', space=' + toString(this.o2y_1) + ')';
1181
1181
  };
1182
1182
  protoOf(LCHab).hashCode = function () {
1183
- var result = getNumberHashCode(this.i2x_1);
1184
- result = imul(result, 31) + getNumberHashCode(this.j2x_1) | 0;
1185
- result = imul(result, 31) + getNumberHashCode(this.k2x_1) | 0;
1186
- result = imul(result, 31) + getNumberHashCode(this.l2x_1) | 0;
1187
- result = imul(result, 31) + hashCode(this.m2x_1) | 0;
1183
+ var result = getNumberHashCode(this.k2y_1);
1184
+ result = imul(result, 31) + getNumberHashCode(this.l2y_1) | 0;
1185
+ result = imul(result, 31) + getNumberHashCode(this.m2y_1) | 0;
1186
+ result = imul(result, 31) + getNumberHashCode(this.n2y_1) | 0;
1187
+ result = imul(result, 31) + hashCode(this.o2y_1) | 0;
1188
1188
  return result;
1189
1189
  };
1190
1190
  protoOf(LCHab).equals = function (other) {
@@ -1193,15 +1193,15 @@
1193
1193
  if (!(other instanceof LCHab))
1194
1194
  return false;
1195
1195
  var tmp0_other_with_cast = other instanceof LCHab ? other : THROW_CCE();
1196
- if (!equals(this.i2x_1, tmp0_other_with_cast.i2x_1))
1196
+ if (!equals(this.k2y_1, tmp0_other_with_cast.k2y_1))
1197
1197
  return false;
1198
- if (!equals(this.j2x_1, tmp0_other_with_cast.j2x_1))
1198
+ if (!equals(this.l2y_1, tmp0_other_with_cast.l2y_1))
1199
1199
  return false;
1200
- if (!equals(this.k2x_1, tmp0_other_with_cast.k2x_1))
1200
+ if (!equals(this.m2y_1, tmp0_other_with_cast.m2y_1))
1201
1201
  return false;
1202
- if (!equals(this.l2x_1, tmp0_other_with_cast.l2x_1))
1202
+ if (!equals(this.n2y_1, tmp0_other_with_cast.n2y_1))
1203
1203
  return false;
1204
- if (!equals(this.m2x_1, tmp0_other_with_cast.m2x_1))
1204
+ if (!equals(this.o2y_1, tmp0_other_with_cast.o2y_1))
1205
1205
  return false;
1206
1206
  return true;
1207
1207
  };
@@ -1209,8 +1209,8 @@
1209
1209
  }
1210
1210
  function LCHabColorSpaces() {
1211
1211
  LCHabColorSpaces_instance = this;
1212
- this.n2w_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().k2w_1);
1213
- this.o2w_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().i2w_1);
1212
+ this.p2x_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().m2x_1);
1213
+ this.q2x_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().k2x_1);
1214
1214
  }
1215
1215
  var LCHabColorSpaces_instance;
1216
1216
  function LCHabColorSpaces_getInstance() {
@@ -1219,44 +1219,44 @@
1219
1219
  return LCHabColorSpaces_instance;
1220
1220
  }
1221
1221
  function LCHabColorSpace_0(whitePoint) {
1222
- return whitePoint.equals(Illuminant_getInstance().k2w_1) ? LCHabColorSpaces_getInstance().n2w_1 : whitePoint.equals(Illuminant_getInstance().i2w_1) ? LCHabColorSpaces_getInstance().o2w_1 : new LCHabColorSpaceImpl(whitePoint);
1222
+ return whitePoint.equals(Illuminant_getInstance().m2x_1) ? LCHabColorSpaces_getInstance().p2x_1 : whitePoint.equals(Illuminant_getInstance().k2x_1) ? LCHabColorSpaces_getInstance().q2x_1 : new LCHabColorSpaceImpl(whitePoint);
1223
1223
  }
1224
1224
  function LCHabColorSpaceImpl(whitePoint) {
1225
- this.g2z_1 = whitePoint;
1226
- this.h2z_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)]);
1225
+ this.i30_1 = whitePoint;
1226
+ this.j30_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
1227
  }
1228
- protoOf(LCHabColorSpaceImpl).b2w = function () {
1229
- return this.g2z_1;
1228
+ protoOf(LCHabColorSpaceImpl).d2x = function () {
1229
+ return this.i30_1;
1230
1230
  };
1231
1231
  protoOf(LCHabColorSpaceImpl).s1 = function () {
1232
1232
  return 'LCHab';
1233
1233
  };
1234
- protoOf(LCHabColorSpaceImpl).w2v = function (color) {
1234
+ protoOf(LCHabColorSpaceImpl).y2w = function (color) {
1235
1235
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1236
1236
  var tmp;
1237
- var tmp_0 = color.b2v();
1237
+ var tmp_0 = color.d2w();
1238
1238
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1239
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2w();
1240
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().k2w_1 : tmp1_elvis_lhs).equals(this.b2w())) {
1241
- tmp = color.q2v();
1239
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d2x();
1240
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().m2x_1 : tmp1_elvis_lhs).equals(this.d2x())) {
1241
+ tmp = color.s2w();
1242
1242
  } else {
1243
- tmp = color.j2v().e2w(XYZColorSpace_0(this.b2w())).q2v();
1243
+ tmp = color.l2w().g2x(XYZColorSpace_0(this.d2x())).s2w();
1244
1244
  }
1245
1245
  return tmp;
1246
1246
  };
1247
1247
  protoOf(LCHabColorSpaceImpl).toString = function () {
1248
- return 'LCHabColorSpace(' + this.g2z_1.toString() + ')';
1248
+ return 'LCHabColorSpace(' + this.i30_1.toString() + ')';
1249
1249
  };
1250
- protoOf(LCHabColorSpaceImpl).b2y = function (l, c, h, alpha) {
1250
+ protoOf(LCHabColorSpaceImpl).d2z = function (l, c, h, alpha) {
1251
1251
  return new LCHab(l, c, h, alpha, this);
1252
1252
  };
1253
1253
  protoOf(LCHabColorSpaceImpl).hashCode = function () {
1254
- return this.g2z_1.hashCode();
1254
+ return this.i30_1.hashCode();
1255
1255
  };
1256
1256
  protoOf(LCHabColorSpaceImpl).equals = function (other) {
1257
1257
  var tmp;
1258
1258
  if (!(other == null) ? isInterface(other, LCHabColorSpace) : false) {
1259
- tmp = this.g2z_1.equals(other.b2w());
1259
+ tmp = this.i30_1.equals(other.d2x());
1260
1260
  } else {
1261
1261
  tmp = false;
1262
1262
  }
@@ -1268,37 +1268,37 @@
1268
1268
  }
1269
1269
  function Companion_2() {
1270
1270
  Companion_instance_2 = this;
1271
- this.a2y_1 = RGBColorSpaces_getInstance().r2w_1;
1271
+ this.c2z_1 = RGBColorSpaces_getInstance().t2x_1;
1272
1272
  }
1273
1273
  protoOf(Companion_2).equals = function (other) {
1274
- return equals(RGBColorSpaces_getInstance().r2w_1, other);
1274
+ return equals(RGBColorSpaces_getInstance().t2x_1, other);
1275
1275
  };
1276
1276
  protoOf(Companion_2).hashCode = function () {
1277
- return hashCode(RGBColorSpaces_getInstance().r2w_1);
1277
+ return hashCode(RGBColorSpaces_getInstance().t2x_1);
1278
1278
  };
1279
- protoOf(Companion_2).b2y = function (r, g, b, alpha) {
1280
- return this.a2y_1.b2y(r, g, b, alpha);
1279
+ protoOf(Companion_2).d2z = function (r, g, b, alpha) {
1280
+ return this.c2z_1.d2z(r, g, b, alpha);
1281
1281
  };
1282
- protoOf(Companion_2).w2y = function (r, g, b, alpha) {
1283
- return this.a2y_1.w2y(r, g, b, alpha);
1282
+ protoOf(Companion_2).y2z = function (r, g, b, alpha) {
1283
+ return this.c2z_1.y2z(r, g, b, alpha);
1284
1284
  };
1285
- protoOf(Companion_2).k2y = function () {
1286
- return this.a2y_1.k2y();
1285
+ protoOf(Companion_2).m2z = function () {
1286
+ return this.c2z_1.m2z();
1287
1287
  };
1288
- protoOf(Companion_2).i2z = function () {
1289
- return this.a2y_1.i2z();
1288
+ protoOf(Companion_2).k30 = function () {
1289
+ return this.c2z_1.k30();
1290
1290
  };
1291
- protoOf(Companion_2).j2z = function () {
1292
- return this.a2y_1.j2z();
1291
+ protoOf(Companion_2).l30 = function () {
1292
+ return this.c2z_1.l30();
1293
1293
  };
1294
- protoOf(Companion_2).b2w = function () {
1295
- return this.a2y_1.b2w();
1294
+ protoOf(Companion_2).d2x = function () {
1295
+ return this.c2z_1.d2x();
1296
1296
  };
1297
1297
  protoOf(Companion_2).s1 = function () {
1298
- return this.a2y_1.s1();
1298
+ return this.c2z_1.s1();
1299
1299
  };
1300
- protoOf(Companion_2).w2v = function (color) {
1301
- return this.a2y_1.w2v(color);
1300
+ protoOf(Companion_2).y2w = function (color) {
1301
+ return this.c2z_1.y2w(color);
1302
1302
  };
1303
1303
  var Companion_instance_2;
1304
1304
  function Companion_getInstance_2() {
@@ -1308,36 +1308,36 @@
1308
1308
  }
1309
1309
  function RGB(r, g, b, alpha, space) {
1310
1310
  Companion_getInstance_2();
1311
- this.e2v_1 = r;
1312
- this.f2v_1 = g;
1313
- this.g2v_1 = b;
1314
- this.h2v_1 = alpha;
1315
- this.i2v_1 = space;
1311
+ this.g2w_1 = r;
1312
+ this.h2w_1 = g;
1313
+ this.i2w_1 = b;
1314
+ this.j2w_1 = alpha;
1315
+ this.k2w_1 = space;
1316
1316
  }
1317
- protoOf(RGB).a2v = function () {
1318
- return this.h2v_1;
1317
+ protoOf(RGB).c2w = function () {
1318
+ return this.j2w_1;
1319
1319
  };
1320
- protoOf(RGB).b2v = function () {
1321
- return this.i2v_1;
1320
+ protoOf(RGB).d2w = function () {
1321
+ return this.k2w_1;
1322
1322
  };
1323
- protoOf(RGB).d2x = function () {
1323
+ protoOf(RGB).f2y = function () {
1324
1324
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
1325
- var $this$toSRGB = this.k2z(SRGB_getInstance());
1326
- return _RGBInt___init__impl__lqova7_1($this$toSRGB.e2v_1, $this$toSRGB.f2v_1, $this$toSRGB.g2v_1, nanToOne($this$toSRGB.h2v_1));
1325
+ var $this$toSRGB = this.m30(SRGB_getInstance());
1326
+ return _RGBInt___init__impl__lqova7_1($this$toSRGB.g2w_1, $this$toSRGB.h2w_1, $this$toSRGB.i2w_1, nanToOne($this$toSRGB.j2w_1));
1327
1327
  };
1328
- protoOf(RGB).k2z = function (space) {
1329
- var f = SRGB_getInstance().k2y();
1330
- return equals(this.i2v_1, space) ? this : equals(this.i2v_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().s2w_1) ? space.b2y(f.t2y(this.e2v_1), f.t2y(this.f2v_1), f.t2y(this.g2v_1), this.h2v_1) : equals(this.i2v_1, RGBColorSpaces_getInstance().s2w_1) && equals(space, SRGB_getInstance()) ? space.b2y(f.u2y(this.e2v_1), f.u2y(this.f2v_1), f.u2y(this.g2v_1), this.h2v_1) : this.j2v().m2z(space);
1328
+ protoOf(RGB).m30 = function (space) {
1329
+ var f = SRGB_getInstance().m2z();
1330
+ return equals(this.k2w_1, space) ? this : equals(this.k2w_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().u2x_1) ? space.d2z(f.v2z(this.g2w_1), f.v2z(this.h2w_1), f.v2z(this.i2w_1), this.j2w_1) : equals(this.k2w_1, RGBColorSpaces_getInstance().u2x_1) && equals(space, SRGB_getInstance()) ? space.d2z(f.w2z(this.g2w_1), f.w2z(this.h2w_1), f.w2z(this.i2w_1), this.j2w_1) : this.l2w().o30(space);
1331
1331
  };
1332
- protoOf(RGB).d2v = function () {
1332
+ protoOf(RGB).f2w = function () {
1333
1333
  var tmp$ret$3;
1334
1334
  $l$block: {
1335
1335
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
1336
1336
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
1337
- var $this$toSRGB = this.k2z(SRGB_getInstance());
1338
- var r = $this$toSRGB.e2v_1;
1339
- var g = $this$toSRGB.f2v_1;
1340
- var b = $this$toSRGB.g2v_1;
1337
+ var $this$toSRGB = this.m30(SRGB_getInstance());
1338
+ var r = $this$toSRGB.g2w_1;
1339
+ var g = $this$toSRGB.h2w_1;
1340
+ var b = $this$toSRGB.i2w_1;
1341
1341
  // Inline function 'kotlin.comparisons.minOf' call
1342
1342
  var min = Math.min(r, g, b);
1343
1343
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -1347,39 +1347,39 @@
1347
1347
  var h_0 = normalizeDeg_0(h);
1348
1348
  var l = (min + max) / 2.0;
1349
1349
  var s = max === min ? 0.0 : l <= 0.5 ? chroma / (max + min) : chroma / (2 - max - min);
1350
- tmp$ret$3 = new HSL(h_0, s, l, this.h2v_1);
1350
+ tmp$ret$3 = new HSL(h_0, s, l, this.j2w_1);
1351
1351
  break $l$block;
1352
1352
  }
1353
1353
  return tmp$ret$3;
1354
1354
  };
1355
- protoOf(RGB).j2v = function () {
1356
- var f = this.i2v_1.k2y();
1357
- var tmp0 = _Matrix___init__impl__q3kp4w(this.i2v_1.i2z());
1358
- var tmp2 = f.t2y(this.e2v_1);
1359
- var tmp4 = f.t2y(this.f2v_1);
1355
+ protoOf(RGB).l2w = function () {
1356
+ var f = this.k2w_1.m2z();
1357
+ var tmp0 = _Matrix___init__impl__q3kp4w(this.k2w_1.k30());
1358
+ var tmp2 = f.v2z(this.g2w_1);
1359
+ var tmp4 = f.v2z(this.h2w_1);
1360
1360
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1361
- var v2 = f.t2y(this.g2v_1);
1361
+ var v2 = f.v2z(this.i2w_1);
1362
1362
  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;
1363
1363
  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;
1364
1364
  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;
1365
- return XYZColorSpace_0(this.i2v_1.b2w()).b2y(tmp0_0, tmp2_0, z, this.h2v_1);
1365
+ return XYZColorSpace_0(this.k2w_1.d2x()).d2z(tmp0_0, tmp2_0, z, this.j2w_1);
1366
1366
  };
1367
- protoOf(RGB).c2v = function () {
1368
- return this.k2z(RGBColorSpaces_getInstance().r2w_1);
1367
+ protoOf(RGB).e2w = function () {
1368
+ return this.m30(RGBColorSpaces_getInstance().t2x_1);
1369
1369
  };
1370
1370
  protoOf(RGB).i4 = function () {
1371
1371
  // Inline function 'kotlin.floatArrayOf' call
1372
- return new Float32Array([this.e2v_1, this.f2v_1, this.g2v_1, this.h2v_1]);
1372
+ return new Float32Array([this.g2w_1, this.h2w_1, this.i2w_1, this.j2w_1]);
1373
1373
  };
1374
1374
  protoOf(RGB).toString = function () {
1375
- return 'RGB(r=' + this.e2v_1 + ', g=' + this.f2v_1 + ', b=' + this.g2v_1 + ', alpha=' + this.h2v_1 + ', space=' + toString(this.i2v_1) + ')';
1375
+ return 'RGB(r=' + this.g2w_1 + ', g=' + this.h2w_1 + ', b=' + this.i2w_1 + ', alpha=' + this.j2w_1 + ', space=' + toString(this.k2w_1) + ')';
1376
1376
  };
1377
1377
  protoOf(RGB).hashCode = function () {
1378
- var result = getNumberHashCode(this.e2v_1);
1379
- result = imul(result, 31) + getNumberHashCode(this.f2v_1) | 0;
1380
- result = imul(result, 31) + getNumberHashCode(this.g2v_1) | 0;
1381
- result = imul(result, 31) + getNumberHashCode(this.h2v_1) | 0;
1382
- result = imul(result, 31) + hashCode(this.i2v_1) | 0;
1378
+ var result = getNumberHashCode(this.g2w_1);
1379
+ result = imul(result, 31) + getNumberHashCode(this.h2w_1) | 0;
1380
+ result = imul(result, 31) + getNumberHashCode(this.i2w_1) | 0;
1381
+ result = imul(result, 31) + getNumberHashCode(this.j2w_1) | 0;
1382
+ result = imul(result, 31) + hashCode(this.k2w_1) | 0;
1383
1383
  return result;
1384
1384
  };
1385
1385
  protoOf(RGB).equals = function (other) {
@@ -1388,32 +1388,32 @@
1388
1388
  if (!(other instanceof RGB))
1389
1389
  return false;
1390
1390
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
1391
- if (!equals(this.e2v_1, tmp0_other_with_cast.e2v_1))
1391
+ if (!equals(this.g2w_1, tmp0_other_with_cast.g2w_1))
1392
1392
  return false;
1393
- if (!equals(this.f2v_1, tmp0_other_with_cast.f2v_1))
1393
+ if (!equals(this.h2w_1, tmp0_other_with_cast.h2w_1))
1394
1394
  return false;
1395
- if (!equals(this.g2v_1, tmp0_other_with_cast.g2v_1))
1395
+ if (!equals(this.i2w_1, tmp0_other_with_cast.i2w_1))
1396
1396
  return false;
1397
- if (!equals(this.h2v_1, tmp0_other_with_cast.h2v_1))
1397
+ if (!equals(this.j2w_1, tmp0_other_with_cast.j2w_1))
1398
1398
  return false;
1399
- if (!equals(this.i2v_1, tmp0_other_with_cast.i2v_1))
1399
+ if (!equals(this.k2w_1, tmp0_other_with_cast.k2w_1))
1400
1400
  return false;
1401
1401
  return true;
1402
1402
  };
1403
1403
  function GammaTransferFunctions(gamma) {
1404
- this.n2z_1 = gamma;
1404
+ this.p30_1 = gamma;
1405
1405
  }
1406
- protoOf(GammaTransferFunctions).t2y = function (x) {
1407
- return spow(x, this.n2z_1);
1406
+ protoOf(GammaTransferFunctions).v2z = function (x) {
1407
+ return spow(x, this.p30_1);
1408
1408
  };
1409
- protoOf(GammaTransferFunctions).u2y = function (x) {
1410
- return spow(x, 1.0 / this.n2z_1);
1409
+ protoOf(GammaTransferFunctions).w2z = function (x) {
1410
+ return spow(x, 1.0 / this.p30_1);
1411
1411
  };
1412
1412
  protoOf(GammaTransferFunctions).toString = function () {
1413
- return 'GammaTransferFunctions(gamma=' + this.n2z_1 + ')';
1413
+ return 'GammaTransferFunctions(gamma=' + this.p30_1 + ')';
1414
1414
  };
1415
1415
  protoOf(GammaTransferFunctions).hashCode = function () {
1416
- return getNumberHashCode(this.n2z_1);
1416
+ return getNumberHashCode(this.p30_1);
1417
1417
  };
1418
1418
  protoOf(GammaTransferFunctions).equals = function (other) {
1419
1419
  if (this === other)
@@ -1421,16 +1421,16 @@
1421
1421
  if (!(other instanceof GammaTransferFunctions))
1422
1422
  return false;
1423
1423
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
1424
- if (!equals(this.n2z_1, tmp0_other_with_cast.n2z_1))
1424
+ if (!equals(this.p30_1, tmp0_other_with_cast.p30_1))
1425
1425
  return false;
1426
1426
  return true;
1427
1427
  };
1428
1428
  function LinearTransferFunctions() {
1429
1429
  }
1430
- protoOf(LinearTransferFunctions).t2y = function (x) {
1430
+ protoOf(LinearTransferFunctions).v2z = function (x) {
1431
1431
  return x;
1432
1432
  };
1433
- protoOf(LinearTransferFunctions).u2y = function (x) {
1433
+ protoOf(LinearTransferFunctions).w2z = function (x) {
1434
1434
  return x;
1435
1435
  };
1436
1436
  var LinearTransferFunctions_instance;
@@ -1491,40 +1491,40 @@
1491
1491
  var ACES_AP1_B;
1492
1492
  function SRGB() {
1493
1493
  SRGB_instance = this;
1494
- this.c2y_1 = RGBColorSpaces_getInstance().r2w_1;
1494
+ this.e2z_1 = RGBColorSpaces_getInstance().t2x_1;
1495
1495
  }
1496
1496
  protoOf(SRGB).equals = function (other) {
1497
- return equals(RGBColorSpaces_getInstance().r2w_1, other);
1497
+ return equals(RGBColorSpaces_getInstance().t2x_1, other);
1498
1498
  };
1499
1499
  protoOf(SRGB).hashCode = function () {
1500
- return hashCode(RGBColorSpaces_getInstance().r2w_1);
1500
+ return hashCode(RGBColorSpaces_getInstance().t2x_1);
1501
1501
  };
1502
1502
  protoOf(SRGB).toString = function () {
1503
1503
  return 'sRGB';
1504
1504
  };
1505
- protoOf(SRGB).b2y = function (r, g, b, alpha) {
1506
- return this.c2y_1.b2y(r, g, b, alpha);
1505
+ protoOf(SRGB).d2z = function (r, g, b, alpha) {
1506
+ return this.e2z_1.d2z(r, g, b, alpha);
1507
1507
  };
1508
- protoOf(SRGB).w2y = function (r, g, b, alpha) {
1509
- return this.c2y_1.w2y(r, g, b, alpha);
1508
+ protoOf(SRGB).y2z = function (r, g, b, alpha) {
1509
+ return this.e2z_1.y2z(r, g, b, alpha);
1510
1510
  };
1511
- protoOf(SRGB).k2y = function () {
1512
- return this.c2y_1.k2y();
1511
+ protoOf(SRGB).m2z = function () {
1512
+ return this.e2z_1.m2z();
1513
1513
  };
1514
- protoOf(SRGB).i2z = function () {
1515
- return this.c2y_1.i2z();
1514
+ protoOf(SRGB).k30 = function () {
1515
+ return this.e2z_1.k30();
1516
1516
  };
1517
- protoOf(SRGB).j2z = function () {
1518
- return this.c2y_1.j2z();
1517
+ protoOf(SRGB).l30 = function () {
1518
+ return this.e2z_1.l30();
1519
1519
  };
1520
- protoOf(SRGB).b2w = function () {
1521
- return this.c2y_1.b2w();
1520
+ protoOf(SRGB).d2x = function () {
1521
+ return this.e2z_1.d2x();
1522
1522
  };
1523
1523
  protoOf(SRGB).s1 = function () {
1524
- return this.c2y_1.s1();
1524
+ return this.e2z_1.s1();
1525
1525
  };
1526
- protoOf(SRGB).w2v = function (color) {
1527
- return this.c2y_1.w2v(color);
1526
+ protoOf(SRGB).y2w = function (color) {
1527
+ return this.e2z_1.y2w(color);
1528
1528
  };
1529
1529
  var SRGB_instance;
1530
1530
  function SRGB_getInstance() {
@@ -1533,17 +1533,17 @@
1533
1533
  return SRGB_instance;
1534
1534
  }
1535
1535
  function RGBColorSpaces$SRGB$lambda($this$RGBColorSpaceImpl, it) {
1536
- return it.c2v();
1536
+ return it.e2w();
1537
1537
  }
1538
1538
  function RGBColorSpaces$BT2020$lambda($this$RGBColorSpaceImpl, color) {
1539
1539
  var tmp;
1540
1540
  if (color instanceof RGB) {
1541
- tmp = color.k2z($this$RGBColorSpaceImpl);
1541
+ tmp = color.m30($this$RGBColorSpaceImpl);
1542
1542
  } else {
1543
1543
  if (color instanceof ICtCp) {
1544
- tmp = color.j2y();
1544
+ tmp = color.l2z();
1545
1545
  } else {
1546
- tmp = color.j2v().m2z($this$RGBColorSpaceImpl);
1546
+ tmp = color.l2w().o30($this$RGBColorSpaceImpl);
1547
1547
  }
1548
1548
  }
1549
1549
  return tmp;
@@ -1551,29 +1551,29 @@
1551
1551
  function RGBColorSpaces() {
1552
1552
  RGBColorSpaces_instance = this;
1553
1553
  var tmp = this;
1554
- var tmp_0 = Illuminant_getInstance().k2w_1;
1554
+ var tmp_0 = Illuminant_getInstance().m2x_1;
1555
1555
  var tmp_1 = SRGBTransferFunctions_instance;
1556
1556
  var tmp_2 = get_SRGB_R();
1557
1557
  var tmp_3 = get_SRGB_G();
1558
1558
  var tmp_4 = get_SRGB_B();
1559
- tmp.r2w_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1560
- this.s2w_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().k2w_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1561
- this.t2w_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1562
- this.u2w_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1563
- this.v2w_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1564
- this.w2w_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1565
- this.x2w_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().k2w_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));
1559
+ tmp.t2x_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1560
+ this.u2x_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().m2x_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1561
+ this.v2x_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1562
+ this.w2x_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1563
+ this.x2x_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1564
+ this.y2x_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1565
+ this.z2x_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().m2x_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));
1566
1566
  var tmp_5 = this;
1567
- var tmp_6 = Illuminant_getInstance().k2w_1;
1567
+ var tmp_6 = Illuminant_getInstance().m2x_1;
1568
1568
  var tmp_7 = BT2020TransferFunctions_getInstance();
1569
1569
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
1570
1570
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
1571
1571
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
1572
- tmp_5.y2w_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1573
- this.z2w_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().k2w_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1574
- this.a2x_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));
1575
- this.b2x_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().k2w_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1576
- this.c2x_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().i2w_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));
1572
+ tmp_5.a2y_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1573
+ this.b2y_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().m2x_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1574
+ this.c2y_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));
1575
+ this.d2y_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().m2x_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1576
+ this.e2y_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().k2x_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));
1577
1577
  }
1578
1578
  var RGBColorSpaces_instance;
1579
1579
  function RGBColorSpaces_getInstance() {
@@ -1582,39 +1582,39 @@
1582
1582
  return RGBColorSpaces_instance;
1583
1583
  }
1584
1584
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
1585
- this.o2z_1 = name;
1586
- this.p2z_1 = whitePoint;
1587
- this.q2z_1 = transferFunctions;
1588
- this.r2z_1 = r;
1589
- this.s2z_1 = g;
1590
- this.t2z_1 = b;
1591
- this.u2z_1 = convertImpl;
1592
- this.v2z_1 = zeroOneComponentInfo('RGB');
1593
- this.w2z_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.p2z_1, this.r2z_1, this.s2z_1, this.t2z_1));
1594
- this.x2z_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.w2z_1)));
1585
+ this.q30_1 = name;
1586
+ this.r30_1 = whitePoint;
1587
+ this.s30_1 = transferFunctions;
1588
+ this.t30_1 = r;
1589
+ this.u30_1 = g;
1590
+ this.v30_1 = b;
1591
+ this.w30_1 = convertImpl;
1592
+ this.x30_1 = zeroOneComponentInfo('RGB');
1593
+ this.y30_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.r30_1, this.t30_1, this.u30_1, this.v30_1));
1594
+ this.z30_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.y30_1)));
1595
1595
  }
1596
1596
  protoOf(RGBColorSpaceImpl).s1 = function () {
1597
- return this.o2z_1;
1597
+ return this.q30_1;
1598
1598
  };
1599
- protoOf(RGBColorSpaceImpl).b2w = function () {
1600
- return this.p2z_1;
1599
+ protoOf(RGBColorSpaceImpl).d2x = function () {
1600
+ return this.r30_1;
1601
1601
  };
1602
- protoOf(RGBColorSpaceImpl).k2y = function () {
1603
- return this.q2z_1;
1602
+ protoOf(RGBColorSpaceImpl).m2z = function () {
1603
+ return this.s30_1;
1604
1604
  };
1605
- protoOf(RGBColorSpaceImpl).w2v = function (color) {
1606
- return this.u2z_1(this, color);
1605
+ protoOf(RGBColorSpaceImpl).y2w = function (color) {
1606
+ return this.w30_1(this, color);
1607
1607
  };
1608
- protoOf(RGBColorSpaceImpl).i2z = function () {
1609
- return this.w2z_1;
1608
+ protoOf(RGBColorSpaceImpl).k30 = function () {
1609
+ return this.y30_1;
1610
1610
  };
1611
- protoOf(RGBColorSpaceImpl).j2z = function () {
1612
- return this.x2z_1;
1611
+ protoOf(RGBColorSpaceImpl).l30 = function () {
1612
+ return this.z30_1;
1613
1613
  };
1614
1614
  protoOf(RGBColorSpaceImpl).toString = function () {
1615
- return this.o2z_1;
1615
+ return this.q30_1;
1616
1616
  };
1617
- protoOf(RGBColorSpaceImpl).b2y = function (r, g, b, alpha) {
1617
+ protoOf(RGBColorSpaceImpl).d2z = function (r, g, b, alpha) {
1618
1618
  return new RGB(r, g, b, alpha, this);
1619
1619
  };
1620
1620
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1622,42 +1622,42 @@
1622
1622
  return true;
1623
1623
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
1624
1624
  return false;
1625
- if (!(this.o2z_1 === other.s1()))
1625
+ if (!(this.q30_1 === other.s1()))
1626
1626
  return false;
1627
- if (!this.p2z_1.equals(other.b2w()))
1627
+ if (!this.r30_1.equals(other.d2x()))
1628
1628
  return false;
1629
- if (!equals(this.q2z_1, other.k2y()))
1629
+ if (!equals(this.s30_1, other.m2z()))
1630
1630
  return false;
1631
1631
  if (other instanceof RGBColorSpaceImpl) {
1632
- if (!this.r2z_1.equals(other.r2z_1))
1632
+ if (!this.t30_1.equals(other.t30_1))
1633
1633
  return false;
1634
- if (!this.s2z_1.equals(other.s2z_1))
1634
+ if (!this.u30_1.equals(other.u30_1))
1635
1635
  return false;
1636
- if (!this.t2z_1.equals(other.t2z_1))
1636
+ if (!this.v30_1.equals(other.v30_1))
1637
1637
  return false;
1638
1638
  } else {
1639
- if (!contentEquals(this.w2z_1, other.i2z()))
1639
+ if (!contentEquals(this.y30_1, other.k30()))
1640
1640
  return false;
1641
- if (!contentEquals(this.x2z_1, other.j2z()))
1641
+ if (!contentEquals(this.z30_1, other.l30()))
1642
1642
  return false;
1643
1643
  }
1644
1644
  return true;
1645
1645
  };
1646
1646
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1647
- var result = getStringHashCode(this.o2z_1);
1648
- result = imul(31, result) + this.p2z_1.hashCode() | 0;
1649
- result = imul(31, result) + hashCode(this.q2z_1) | 0;
1650
- result = imul(31, result) + this.r2z_1.hashCode() | 0;
1651
- result = imul(31, result) + this.s2z_1.hashCode() | 0;
1652
- result = imul(31, result) + this.t2z_1.hashCode() | 0;
1647
+ var result = getStringHashCode(this.q30_1);
1648
+ result = imul(31, result) + this.r30_1.hashCode() | 0;
1649
+ result = imul(31, result) + hashCode(this.s30_1) | 0;
1650
+ result = imul(31, result) + this.t30_1.hashCode() | 0;
1651
+ result = imul(31, result) + this.u30_1.hashCode() | 0;
1652
+ result = imul(31, result) + this.v30_1.hashCode() | 0;
1653
1653
  return result;
1654
1654
  };
1655
1655
  function SRGBTransferFunctions() {
1656
1656
  }
1657
- protoOf(SRGBTransferFunctions).u2y = function (x) {
1657
+ protoOf(SRGBTransferFunctions).w2z = function (x) {
1658
1658
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1659
1659
  };
1660
- protoOf(SRGBTransferFunctions).t2y = function (x) {
1660
+ protoOf(SRGBTransferFunctions).v2z = function (x) {
1661
1661
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1662
1662
  };
1663
1663
  var SRGBTransferFunctions_instance;
@@ -1670,18 +1670,18 @@
1670
1670
  }
1671
1671
  function ACESccTransferFunctions() {
1672
1672
  ACESccTransferFunctions_instance = this;
1673
- this.y2z_1 = 3.0517578125E-5;
1674
- this.z2z_1 = 1.52587890625E-5;
1675
- this.a30_1 = -0.3013698630136986;
1673
+ this.a31_1 = 3.0517578125E-5;
1674
+ this.b31_1 = 1.52587890625E-5;
1675
+ this.c31_1 = -0.3013698630136986;
1676
1676
  var tmp = this;
1677
1677
  // Inline function 'kotlin.math.log2' call
1678
- tmp.b30_1 = (log2(65504.0) + 9.72) / 17.52;
1678
+ tmp.d31_1 = (log2(65504.0) + 9.72) / 17.52;
1679
1679
  }
1680
- protoOf(ACESccTransferFunctions).t2y = function (x) {
1680
+ protoOf(ACESccTransferFunctions).v2z = function (x) {
1681
1681
  var tmp;
1682
1682
  if (x <= -0.3013698630136986) {
1683
1683
  tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
1684
- } else if (x < this.b30_1) {
1684
+ } else if (x < this.d31_1) {
1685
1685
  // Inline function 'kotlin.math.pow' call
1686
1686
  var x_0 = x * 17.52 - 9.72;
1687
1687
  tmp = Math.pow(2.0, x_0);
@@ -1690,7 +1690,7 @@
1690
1690
  }
1691
1691
  return tmp;
1692
1692
  };
1693
- protoOf(ACESccTransferFunctions).u2y = function (x) {
1693
+ protoOf(ACESccTransferFunctions).w2z = function (x) {
1694
1694
  var tmp;
1695
1695
  if (x < 3.0517578125E-5) {
1696
1696
  // Inline function 'kotlin.math.log2' call
@@ -1710,17 +1710,17 @@
1710
1710
  }
1711
1711
  function ACEScctTransferFunctions() {
1712
1712
  ACEScctTransferFunctions_instance = this;
1713
- this.c30_1 = 10.5402377416545;
1714
- this.d30_1 = 0.0729055341958355;
1713
+ this.e31_1 = 10.5402377416545;
1714
+ this.f31_1 = 0.0729055341958355;
1715
1715
  var tmp = this;
1716
1716
  // Inline function 'kotlin.math.log2' call
1717
- tmp.e30_1 = (log2(65504.0) + 9.72) / 17.52;
1717
+ tmp.g31_1 = (log2(65504.0) + 9.72) / 17.52;
1718
1718
  }
1719
- protoOf(ACEScctTransferFunctions).t2y = function (x) {
1719
+ protoOf(ACEScctTransferFunctions).v2z = function (x) {
1720
1720
  var tmp;
1721
1721
  if (x <= 0.155251141552511) {
1722
1722
  tmp = (x - 0.0729055341958355) / 10.5402377416545;
1723
- } else if (x < this.e30_1) {
1723
+ } else if (x < this.g31_1) {
1724
1724
  // Inline function 'kotlin.math.pow' call
1725
1725
  var x_0 = x * 17.52 - 9.72;
1726
1726
  tmp = Math.pow(2.0, x_0);
@@ -1729,7 +1729,7 @@
1729
1729
  }
1730
1730
  return tmp;
1731
1731
  };
1732
- protoOf(ACEScctTransferFunctions).u2y = function (x) {
1732
+ protoOf(ACEScctTransferFunctions).w2z = function (x) {
1733
1733
  var tmp;
1734
1734
  if (x < 0.0078125) {
1735
1735
  tmp = 10.5402377416545 * x + 0.0729055341958355;
@@ -1747,16 +1747,16 @@
1747
1747
  }
1748
1748
  function BT2020TransferFunctions() {
1749
1749
  BT2020TransferFunctions_instance = this;
1750
- this.f30_1 = 1.0993;
1751
- this.g30_1 = 0.0181;
1750
+ this.h31_1 = 1.0993;
1751
+ this.i31_1 = 0.0181;
1752
1752
  var tmp = this;
1753
1753
  // Inline function 'kotlin.math.pow' call
1754
- tmp.h30_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1754
+ tmp.j31_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1755
1755
  }
1756
- protoOf(BT2020TransferFunctions).t2y = function (x) {
1757
- return numberToDouble(x < this.h30_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1756
+ protoOf(BT2020TransferFunctions).v2z = function (x) {
1757
+ return numberToDouble(x < this.j31_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1758
1758
  };
1759
- protoOf(BT2020TransferFunctions).u2y = function (x) {
1759
+ protoOf(BT2020TransferFunctions).w2z = function (x) {
1760
1760
  return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - (1.0993 - 1);
1761
1761
  };
1762
1762
  var BT2020TransferFunctions_instance;
@@ -1767,12 +1767,12 @@
1767
1767
  }
1768
1768
  function BT709TransferFunctions() {
1769
1769
  BT709TransferFunctions_instance = this;
1770
- this.i30_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1770
+ this.k31_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1771
1771
  }
1772
- protoOf(BT709TransferFunctions).t2y = function (x) {
1773
- return numberToDouble(x < this.i30_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1772
+ protoOf(BT709TransferFunctions).v2z = function (x) {
1773
+ return numberToDouble(x < this.k31_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1774
1774
  };
1775
- protoOf(BT709TransferFunctions).u2y = function (x) {
1775
+ protoOf(BT709TransferFunctions).w2z = function (x) {
1776
1776
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1777
1777
  };
1778
1778
  var BT709TransferFunctions_instance;
@@ -1782,12 +1782,12 @@
1782
1782
  return BT709TransferFunctions_instance;
1783
1783
  }
1784
1784
  function ROMMTransferFunctions() {
1785
- this.j30_1 = 0.001953;
1785
+ this.l31_1 = 0.001953;
1786
1786
  }
1787
- protoOf(ROMMTransferFunctions).t2y = function (x) {
1787
+ protoOf(ROMMTransferFunctions).v2z = function (x) {
1788
1788
  return x < 16 * 0.001953 ? x / 16.0 : spow(x, 1.8);
1789
1789
  };
1790
- protoOf(ROMMTransferFunctions).u2y = function (x) {
1790
+ protoOf(ROMMTransferFunctions).w2z = function (x) {
1791
1791
  return x < 0.001953 ? x * 16.0 : spow(x, 1.0 / 1.8);
1792
1792
  };
1793
1793
  var ROMMTransferFunctions_instance;
@@ -1796,13 +1796,13 @@
1796
1796
  }
1797
1797
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1798
1798
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1799
- var primaries = _Matrix___init__impl__q3kp4w_0(r.y2y_1, g.y2y_1, b.y2y_1, r.z2y_1, g.z2y_1, b.z2y_1, r.k30(), g.k30(), b.k30());
1800
- var wp = whitePoint.w2x_1;
1799
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.a30_1, g.a30_1, b.a30_1, r.b30_1, g.b30_1, b.b30_1, r.m31(), g.m31(), b.m31());
1800
+ var wp = whitePoint.y2y_1;
1801
1801
  var tmp0 = inverse(primaries);
1802
- var tmp2 = wp.b2z();
1803
- var tmp4 = wp.a2z_1;
1802
+ var tmp2 = wp.d30();
1803
+ var tmp4 = wp.c30_1;
1804
1804
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1805
- var v2 = wp.c2z();
1805
+ var v2 = wp.e30();
1806
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
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
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;
@@ -1812,9 +1812,9 @@
1812
1812
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1813
1813
  var tmp;
1814
1814
  if (color instanceof RGB) {
1815
- tmp = color.k2z($this$RGBColorSpaceImpl);
1815
+ tmp = color.m30($this$RGBColorSpaceImpl);
1816
1816
  } else {
1817
- tmp = color.j2v().m2z($this$RGBColorSpaceImpl);
1817
+ tmp = color.l2w().o30($this$RGBColorSpaceImpl);
1818
1818
  }
1819
1819
  return tmp;
1820
1820
  }
@@ -1842,16 +1842,16 @@
1842
1842
  }
1843
1843
  function Companion_3() {
1844
1844
  Companion_instance_3 = this;
1845
- this.l30_1 = threeComponentInfo('R', 0.0, 255.0, 'G', 0.0, 255.0, 'B', 0.0, 255.0);
1845
+ this.n31_1 = threeComponentInfo('R', 0.0, 255.0, 'G', 0.0, 255.0, 'B', 0.0, 255.0);
1846
1846
  }
1847
1847
  protoOf(Companion_3).s1 = function () {
1848
1848
  return 'RGBInt';
1849
1849
  };
1850
- protoOf(Companion_3).m30 = function (color) {
1851
- return color.c2v().d2x();
1850
+ protoOf(Companion_3).o31 = function (color) {
1851
+ return color.e2w().f2y();
1852
1852
  };
1853
- protoOf(Companion_3).w2v = function (color) {
1854
- return new RGBInt(this.m30(color));
1853
+ protoOf(Companion_3).y2w = function (color) {
1854
+ return new RGBInt(this.o31(color));
1855
1855
  };
1856
1856
  var Companion_instance_3;
1857
1857
  function Companion_getInstance_3() {
@@ -1983,7 +1983,7 @@
1983
1983
  return (_UByte___get_data__impl__jof9qr(this_0) & 255) / 255.0;
1984
1984
  }
1985
1985
  function RGBInt__toSRGB_impl_m0acyy($this) {
1986
- return Companion_getInstance_2().b2y(_RGBInt___get_redFloat__impl__lnt6cx($this), _RGBInt___get_greenFloat__impl__opq1mn($this), _RGBInt___get_blueFloat__impl__jt6mw2($this), _RGBInt___get_alpha__impl__yl2tay($this));
1986
+ return Companion_getInstance_2().d2z(_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
1987
  }
1988
1988
  function RGBInt__toArray_impl_73rlu9($this) {
1989
1989
  // Inline function 'kotlin.UByte.toFloat' call
@@ -2022,59 +2022,59 @@
2022
2022
  function RGBInt__equals_impl_qmmpmc($this, other) {
2023
2023
  if (!(other instanceof RGBInt))
2024
2024
  return false;
2025
- if (!($this === (other instanceof RGBInt ? other.l2z_1 : THROW_CCE())))
2025
+ if (!($this === (other instanceof RGBInt ? other.n30_1 : THROW_CCE())))
2026
2026
  return false;
2027
2027
  return true;
2028
2028
  }
2029
2029
  function RGBInt(argb) {
2030
2030
  Companion_getInstance_3();
2031
- this.l2z_1 = argb;
2031
+ this.n30_1 = argb;
2032
2032
  }
2033
- protoOf(RGBInt).a2v = function () {
2034
- return _RGBInt___get_alpha__impl__yl2tay(this.l2z_1);
2033
+ protoOf(RGBInt).c2w = function () {
2034
+ return _RGBInt___get_alpha__impl__yl2tay(this.n30_1);
2035
2035
  };
2036
- protoOf(RGBInt).b2v = function () {
2037
- return _RGBInt___get_space__impl__emgnsy(this.l2z_1);
2036
+ protoOf(RGBInt).d2w = function () {
2037
+ return _RGBInt___get_space__impl__emgnsy(this.n30_1);
2038
2038
  };
2039
- protoOf(RGBInt).c2v = function () {
2040
- return RGBInt__toSRGB_impl_m0acyy(this.l2z_1);
2039
+ protoOf(RGBInt).e2w = function () {
2040
+ return RGBInt__toSRGB_impl_m0acyy(this.n30_1);
2041
2041
  };
2042
2042
  protoOf(RGBInt).i4 = function () {
2043
- return RGBInt__toArray_impl_73rlu9(this.l2z_1);
2043
+ return RGBInt__toArray_impl_73rlu9(this.n30_1);
2044
2044
  };
2045
2045
  protoOf(RGBInt).toString = function () {
2046
- return RGBInt__toString_impl_cf5r29(this.l2z_1);
2046
+ return RGBInt__toString_impl_cf5r29(this.n30_1);
2047
2047
  };
2048
2048
  protoOf(RGBInt).hashCode = function () {
2049
- return RGBInt__hashCode_impl_y6bnv4(this.l2z_1);
2049
+ return RGBInt__hashCode_impl_y6bnv4(this.n30_1);
2050
2050
  };
2051
2051
  protoOf(RGBInt).equals = function (other) {
2052
- return RGBInt__equals_impl_qmmpmc(this.l2z_1, other);
2052
+ return RGBInt__equals_impl_qmmpmc(this.n30_1, other);
2053
2053
  };
2054
2054
  function Companion_4() {
2055
2055
  Companion_instance_4 = this;
2056
- this.n30_1 = XYZColorSpaces_getInstance().c2w_1;
2056
+ this.p31_1 = XYZColorSpaces_getInstance().e2x_1;
2057
2057
  }
2058
2058
  protoOf(Companion_4).hashCode = function () {
2059
- return hashCode(XYZColorSpaces_getInstance().c2w_1);
2059
+ return hashCode(XYZColorSpaces_getInstance().e2x_1);
2060
2060
  };
2061
2061
  protoOf(Companion_4).equals = function (other) {
2062
- return equals(XYZColorSpaces_getInstance().c2w_1, other);
2062
+ return equals(XYZColorSpaces_getInstance().e2x_1, other);
2063
2063
  };
2064
- protoOf(Companion_4).b2y = function (x, y, z, alpha) {
2065
- return this.n30_1.b2y(x, y, z, alpha);
2064
+ protoOf(Companion_4).d2z = function (x, y, z, alpha) {
2065
+ return this.p31_1.d2z(x, y, z, alpha);
2066
2066
  };
2067
- protoOf(Companion_4).w2y = function (x, y, z, alpha) {
2068
- return this.n30_1.w2y(x, y, z, alpha);
2067
+ protoOf(Companion_4).y2z = function (x, y, z, alpha) {
2068
+ return this.p31_1.y2z(x, y, z, alpha);
2069
2069
  };
2070
- protoOf(Companion_4).b2w = function () {
2071
- return this.n30_1.b2w();
2070
+ protoOf(Companion_4).d2x = function () {
2071
+ return this.p31_1.d2x();
2072
2072
  };
2073
2073
  protoOf(Companion_4).s1 = function () {
2074
- return this.n30_1.s1();
2074
+ return this.p31_1.s1();
2075
2075
  };
2076
- protoOf(Companion_4).w2v = function (color) {
2077
- return this.n30_1.w2v(color);
2076
+ protoOf(Companion_4).y2w = function (color) {
2077
+ return this.p31_1.y2w(color);
2078
2078
  };
2079
2079
  var Companion_instance_4;
2080
2080
  function Companion_getInstance_4() {
@@ -2083,17 +2083,17 @@
2083
2083
  return Companion_instance_4;
2084
2084
  }
2085
2085
  function adaptToM($this, space, m, mi) {
2086
- if (space.b2w().equals($this.p2v_1.b2w()))
2086
+ if (space.d2x().equals($this.r2w_1.d2x()))
2087
2087
  return $this;
2088
- var transform = chromaticAdaptationMatrix(space, $this.p2v_1.b2w().w2x_1, m, mi);
2089
- var tmp2 = $this.l2v_1;
2090
- var tmp4 = $this.m2v_1;
2088
+ var transform = chromaticAdaptationMatrix(space, $this.r2w_1.d2x().y2y_1, m, mi);
2089
+ var tmp2 = $this.n2w_1;
2090
+ var tmp4 = $this.o2w_1;
2091
2091
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2092
- var v2 = $this.n2v_1;
2092
+ var v2 = $this.p2w_1;
2093
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
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
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.b2y(tmp0, tmp2_0, zz, $this.o2v_1);
2096
+ return space.d2z(tmp0, tmp2_0, zz, $this.q2w_1);
2097
2097
  }
2098
2098
  function toLAB$f(t) {
2099
2099
  var tmp;
@@ -2107,71 +2107,71 @@
2107
2107
  }
2108
2108
  function XYZ(x, y, z, alpha, space) {
2109
2109
  Companion_getInstance_4();
2110
- this.l2v_1 = x;
2111
- this.m2v_1 = y;
2112
- this.n2v_1 = z;
2113
- this.o2v_1 = alpha;
2114
- this.p2v_1 = space;
2110
+ this.n2w_1 = x;
2111
+ this.o2w_1 = y;
2112
+ this.p2w_1 = z;
2113
+ this.q2w_1 = alpha;
2114
+ this.r2w_1 = space;
2115
2115
  }
2116
- protoOf(XYZ).a2v = function () {
2117
- return this.o2v_1;
2116
+ protoOf(XYZ).c2w = function () {
2117
+ return this.q2w_1;
2118
2118
  };
2119
- protoOf(XYZ).b2v = function () {
2120
- return this.p2v_1;
2119
+ protoOf(XYZ).d2w = function () {
2120
+ return this.r2w_1;
2121
2121
  };
2122
- protoOf(XYZ).e2w = function (space) {
2122
+ protoOf(XYZ).g2x = function (space) {
2123
2123
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
2124
2124
  };
2125
- protoOf(XYZ).m2z = function (space) {
2126
- var _destruct__k2r9zo = this.e2w(XYZColorSpace_0(space.b2w()));
2125
+ protoOf(XYZ).o30 = function (space) {
2126
+ var _destruct__k2r9zo = this.g2x(XYZColorSpace_0(space.d2x()));
2127
2127
  var x = _destruct__k2r9zo.pd();
2128
2128
  var y = _destruct__k2r9zo.qd();
2129
- var z = _destruct__k2r9zo.o30();
2130
- var f = space.k2y();
2129
+ var z = _destruct__k2r9zo.q31();
2130
+ var f = space.m2z();
2131
2131
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2132
- var this_0 = _Matrix___init__impl__q3kp4w(space.j2z());
2132
+ var this_0 = _Matrix___init__impl__q3kp4w(space.l30());
2133
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
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;
2135
2135
  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.b2y(f.u2y(tmp0), f.u2y(tmp2), f.u2y(b), this.o2v_1);
2136
+ return space.d2z(f.w2z(tmp0), f.w2z(tmp2), f.w2z(b), this.q2w_1);
2137
2137
  };
2138
- protoOf(XYZ).c2v = function () {
2139
- return this.m2z(RGBColorSpaces_getInstance().r2w_1);
2138
+ protoOf(XYZ).e2w = function () {
2139
+ return this.o30(RGBColorSpaces_getInstance().t2x_1);
2140
2140
  };
2141
- protoOf(XYZ).k2v = function () {
2142
- var fx = toLAB$f(this.l2v_1 / this.p2v_1.b2w().w2x_1.b2z());
2143
- var fy = toLAB$f(this.m2v_1 / this.p2v_1.b2w().w2x_1.a2z_1);
2144
- var fz = toLAB$f(this.n2v_1 / this.p2v_1.b2w().w2x_1.c2z());
2141
+ protoOf(XYZ).m2w = function () {
2142
+ var fx = toLAB$f(this.n2w_1 / this.r2w_1.d2x().y2y_1.d30());
2143
+ var fy = toLAB$f(this.o2w_1 / this.r2w_1.d2x().y2y_1.c30_1);
2144
+ var fz = toLAB$f(this.p2w_1 / this.r2w_1.d2x().y2y_1.e30());
2145
2145
  var l = 116 * fy - 16;
2146
2146
  var a = 500 * (fx - fy);
2147
2147
  var b = 200 * (fy - fz);
2148
- return LABColorSpace_0(this.p2v_1.b2w()).w2y(l, a, b, this.o2v_1);
2148
+ return LABColorSpace_0(this.r2w_1.d2x()).y2z(l, a, b, this.q2w_1);
2149
2149
  };
2150
- protoOf(XYZ).j2v = function () {
2150
+ protoOf(XYZ).l2w = function () {
2151
2151
  return this;
2152
2152
  };
2153
2153
  protoOf(XYZ).i4 = function () {
2154
2154
  // Inline function 'kotlin.floatArrayOf' call
2155
- return new Float32Array([this.l2v_1, this.m2v_1, this.n2v_1, this.o2v_1]);
2155
+ return new Float32Array([this.n2w_1, this.o2w_1, this.p2w_1, this.q2w_1]);
2156
2156
  };
2157
2157
  protoOf(XYZ).pd = function () {
2158
- return this.l2v_1;
2158
+ return this.n2w_1;
2159
2159
  };
2160
2160
  protoOf(XYZ).qd = function () {
2161
- return this.m2v_1;
2161
+ return this.o2w_1;
2162
2162
  };
2163
- protoOf(XYZ).o30 = function () {
2164
- return this.n2v_1;
2163
+ protoOf(XYZ).q31 = function () {
2164
+ return this.p2w_1;
2165
2165
  };
2166
2166
  protoOf(XYZ).toString = function () {
2167
- return 'XYZ(x=' + this.l2v_1 + ', y=' + this.m2v_1 + ', z=' + this.n2v_1 + ', alpha=' + this.o2v_1 + ', space=' + toString(this.p2v_1) + ')';
2167
+ return 'XYZ(x=' + this.n2w_1 + ', y=' + this.o2w_1 + ', z=' + this.p2w_1 + ', alpha=' + this.q2w_1 + ', space=' + toString(this.r2w_1) + ')';
2168
2168
  };
2169
2169
  protoOf(XYZ).hashCode = function () {
2170
- var result = getNumberHashCode(this.l2v_1);
2171
- result = imul(result, 31) + getNumberHashCode(this.m2v_1) | 0;
2172
- result = imul(result, 31) + getNumberHashCode(this.n2v_1) | 0;
2173
- result = imul(result, 31) + getNumberHashCode(this.o2v_1) | 0;
2174
- result = imul(result, 31) + hashCode(this.p2v_1) | 0;
2170
+ var result = getNumberHashCode(this.n2w_1);
2171
+ result = imul(result, 31) + getNumberHashCode(this.o2w_1) | 0;
2172
+ result = imul(result, 31) + getNumberHashCode(this.p2w_1) | 0;
2173
+ result = imul(result, 31) + getNumberHashCode(this.q2w_1) | 0;
2174
+ result = imul(result, 31) + hashCode(this.r2w_1) | 0;
2175
2175
  return result;
2176
2176
  };
2177
2177
  protoOf(XYZ).equals = function (other) {
@@ -2180,15 +2180,15 @@
2180
2180
  if (!(other instanceof XYZ))
2181
2181
  return false;
2182
2182
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
2183
- if (!equals(this.l2v_1, tmp0_other_with_cast.l2v_1))
2183
+ if (!equals(this.n2w_1, tmp0_other_with_cast.n2w_1))
2184
2184
  return false;
2185
- if (!equals(this.m2v_1, tmp0_other_with_cast.m2v_1))
2185
+ if (!equals(this.o2w_1, tmp0_other_with_cast.o2w_1))
2186
2186
  return false;
2187
- if (!equals(this.n2v_1, tmp0_other_with_cast.n2v_1))
2187
+ if (!equals(this.p2w_1, tmp0_other_with_cast.p2w_1))
2188
2188
  return false;
2189
- if (!equals(this.o2v_1, tmp0_other_with_cast.o2v_1))
2189
+ if (!equals(this.q2w_1, tmp0_other_with_cast.q2w_1))
2190
2190
  return false;
2191
- if (!equals(this.p2v_1, tmp0_other_with_cast.p2v_1))
2191
+ if (!equals(this.r2w_1, tmp0_other_with_cast.r2w_1))
2192
2192
  return false;
2193
2193
  return true;
2194
2194
  };
@@ -2196,8 +2196,8 @@
2196
2196
  }
2197
2197
  function XYZColorSpaces() {
2198
2198
  XYZColorSpaces_instance = this;
2199
- this.c2w_1 = new XYZColorSpaceImpl(Illuminant_getInstance().k2w_1);
2200
- this.d2w_1 = new XYZColorSpaceImpl(Illuminant_getInstance().i2w_1);
2199
+ this.e2x_1 = new XYZColorSpaceImpl(Illuminant_getInstance().m2x_1);
2200
+ this.f2x_1 = new XYZColorSpaceImpl(Illuminant_getInstance().k2x_1);
2201
2201
  }
2202
2202
  var XYZColorSpaces_instance;
2203
2203
  function XYZColorSpaces_getInstance() {
@@ -2206,42 +2206,42 @@
2206
2206
  return XYZColorSpaces_instance;
2207
2207
  }
2208
2208
  function XYZColorSpace_0(whitePoint) {
2209
- return whitePoint.equals(Illuminant_getInstance().k2w_1) ? XYZColorSpaces_getInstance().c2w_1 : whitePoint.equals(Illuminant_getInstance().i2w_1) ? XYZColorSpaces_getInstance().d2w_1 : new XYZColorSpaceImpl(whitePoint);
2209
+ return whitePoint.equals(Illuminant_getInstance().m2x_1) ? XYZColorSpaces_getInstance().e2x_1 : whitePoint.equals(Illuminant_getInstance().k2x_1) ? XYZColorSpaces_getInstance().f2x_1 : new XYZColorSpaceImpl(whitePoint);
2210
2210
  }
2211
2211
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
2212
2212
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
2213
2213
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
2214
- var dstWp = _this__u8e3s4.b2w().w2x_1;
2215
- var src = dot_0(xyzToLms, srcWp.b2z(), srcWp.a2z_1, srcWp.c2z());
2216
- var dst = dot_0(xyzToLms, dstWp.b2z(), dstWp.a2z_1, dstWp.c2z());
2214
+ var dstWp = _this__u8e3s4.d2x().y2y_1;
2215
+ var src = dot_0(xyzToLms, srcWp.d30(), srcWp.c30_1, srcWp.e30());
2216
+ var dst = dot_0(xyzToLms, dstWp.d30(), dstWp.c30_1, dstWp.e30());
2217
2217
  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
2218
  }
2219
2219
  function XYZColorSpaceImpl(whitePoint) {
2220
- this.p30_1 = whitePoint;
2221
- this.q30_1 = zeroOneComponentInfo('XYZ');
2220
+ this.r31_1 = whitePoint;
2221
+ this.s31_1 = zeroOneComponentInfo('XYZ');
2222
2222
  }
2223
- protoOf(XYZColorSpaceImpl).b2w = function () {
2224
- return this.p30_1;
2223
+ protoOf(XYZColorSpaceImpl).d2x = function () {
2224
+ return this.r31_1;
2225
2225
  };
2226
2226
  protoOf(XYZColorSpaceImpl).s1 = function () {
2227
2227
  return 'XYZ';
2228
2228
  };
2229
- protoOf(XYZColorSpaceImpl).w2v = function (color) {
2230
- return color.j2v().e2w(this);
2229
+ protoOf(XYZColorSpaceImpl).y2w = function (color) {
2230
+ return color.l2w().g2x(this);
2231
2231
  };
2232
2232
  protoOf(XYZColorSpaceImpl).toString = function () {
2233
- return 'XYZColorSpace(' + this.p30_1.toString() + ')';
2233
+ return 'XYZColorSpace(' + this.r31_1.toString() + ')';
2234
2234
  };
2235
- protoOf(XYZColorSpaceImpl).b2y = function (x, y, z, alpha) {
2235
+ protoOf(XYZColorSpaceImpl).d2z = function (x, y, z, alpha) {
2236
2236
  return new XYZ(x, y, z, alpha, this);
2237
2237
  };
2238
2238
  protoOf(XYZColorSpaceImpl).hashCode = function () {
2239
- return this.p30_1.hashCode();
2239
+ return this.r31_1.hashCode();
2240
2240
  };
2241
2241
  protoOf(XYZColorSpaceImpl).equals = function (other) {
2242
2242
  var tmp;
2243
2243
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
2244
- tmp = this.p30_1.equals(other.b2w());
2244
+ tmp = this.r31_1.equals(other.d2x());
2245
2245
  } else {
2246
2246
  tmp = false;
2247
2247
  }
@@ -2257,26 +2257,26 @@
2257
2257
  }
2258
2258
  function xyY(x, y, Y) {
2259
2259
  Y = Y === VOID ? 1.0 : Y;
2260
- this.y2y_1 = x;
2261
- this.z2y_1 = y;
2262
- this.a2z_1 = Y;
2260
+ this.a30_1 = x;
2261
+ this.b30_1 = y;
2262
+ this.c30_1 = Y;
2263
2263
  }
2264
- protoOf(xyY).k30 = function () {
2265
- return 1 - this.y2y_1 - this.z2y_1;
2264
+ protoOf(xyY).m31 = function () {
2265
+ return 1 - this.a30_1 - this.b30_1;
2266
2266
  };
2267
- protoOf(xyY).b2z = function () {
2268
- return this.y2y_1 * this.a2z_1 / this.z2y_1;
2267
+ protoOf(xyY).d30 = function () {
2268
+ return this.a30_1 * this.c30_1 / this.b30_1;
2269
2269
  };
2270
- protoOf(xyY).c2z = function () {
2271
- return (1 - this.y2y_1 - this.z2y_1) * this.a2z_1 / this.z2y_1;
2270
+ protoOf(xyY).e30 = function () {
2271
+ return (1 - this.a30_1 - this.b30_1) * this.c30_1 / this.b30_1;
2272
2272
  };
2273
2273
  protoOf(xyY).toString = function () {
2274
- return 'xyY(x=' + this.y2y_1 + ', y=' + this.z2y_1 + ', Y=' + this.a2z_1 + ')';
2274
+ return 'xyY(x=' + this.a30_1 + ', y=' + this.b30_1 + ', Y=' + this.c30_1 + ')';
2275
2275
  };
2276
2276
  protoOf(xyY).hashCode = function () {
2277
- var result = getNumberHashCode(this.y2y_1);
2278
- result = imul(result, 31) + getNumberHashCode(this.z2y_1) | 0;
2279
- result = imul(result, 31) + getNumberHashCode(this.a2z_1) | 0;
2277
+ var result = getNumberHashCode(this.a30_1);
2278
+ result = imul(result, 31) + getNumberHashCode(this.b30_1) | 0;
2279
+ result = imul(result, 31) + getNumberHashCode(this.c30_1) | 0;
2280
2280
  return result;
2281
2281
  };
2282
2282
  protoOf(xyY).equals = function (other) {
@@ -2285,33 +2285,33 @@
2285
2285
  if (!(other instanceof xyY))
2286
2286
  return false;
2287
2287
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
2288
- if (!equals(this.y2y_1, tmp0_other_with_cast.y2y_1))
2288
+ if (!equals(this.a30_1, tmp0_other_with_cast.a30_1))
2289
2289
  return false;
2290
- if (!equals(this.z2y_1, tmp0_other_with_cast.z2y_1))
2290
+ if (!equals(this.b30_1, tmp0_other_with_cast.b30_1))
2291
2291
  return false;
2292
- if (!equals(this.a2z_1, tmp0_other_with_cast.a2z_1))
2292
+ if (!equals(this.c30_1, tmp0_other_with_cast.c30_1))
2293
2293
  return false;
2294
2294
  return true;
2295
2295
  };
2296
2296
  //region block: post-declaration
2297
- protoOf(HSL).j2v = toXYZ;
2298
- protoOf(HSL).k2v = toLAB;
2299
- protoOf(HSL).q2v = toLCHab;
2300
- protoOf(LAB).d2v = toHSL;
2301
- protoOf(LABColorSpaceImpl).w2y = invoke;
2302
- protoOf(LCHab).d2v = toHSL;
2303
- protoOf(RGB).k2v = toLAB;
2304
- protoOf(RGB).q2v = toLCHab;
2305
- protoOf(RGBColorSpaceImpl).w2y = invoke_0;
2306
- protoOf(RGBInt).d2v = toHSL;
2307
- protoOf(RGBInt).j2v = toXYZ;
2308
- protoOf(RGBInt).k2v = toLAB;
2309
- protoOf(RGBInt).q2v = toLCHab;
2310
- protoOf(Companion_4).x2y = invoke$default;
2311
- protoOf(XYZ).d2v = toHSL;
2312
- protoOf(XYZ).q2v = toLCHab;
2313
- protoOf(XYZColorSpaceImpl).w2y = invoke_1;
2314
- protoOf(XYZColorSpaceImpl).x2y = invoke$default;
2297
+ protoOf(HSL).l2w = toXYZ;
2298
+ protoOf(HSL).m2w = toLAB;
2299
+ protoOf(HSL).s2w = toLCHab;
2300
+ protoOf(LAB).f2w = toHSL;
2301
+ protoOf(LABColorSpaceImpl).y2z = invoke;
2302
+ protoOf(LCHab).f2w = toHSL;
2303
+ protoOf(RGB).m2w = toLAB;
2304
+ protoOf(RGB).s2w = toLCHab;
2305
+ protoOf(RGBColorSpaceImpl).y2z = invoke_0;
2306
+ protoOf(RGBInt).f2w = toHSL;
2307
+ protoOf(RGBInt).l2w = toXYZ;
2308
+ protoOf(RGBInt).m2w = toLAB;
2309
+ protoOf(RGBInt).s2w = toLCHab;
2310
+ protoOf(Companion_4).z2z = invoke$default;
2311
+ protoOf(XYZ).f2w = toHSL;
2312
+ protoOf(XYZ).s2w = toLCHab;
2313
+ protoOf(XYZColorSpaceImpl).y2z = invoke_1;
2314
+ protoOf(XYZColorSpaceImpl).z2z = invoke$default;
2315
2315
  //endregion
2316
2316
  //region block: init
2317
2317
  PqNonlinearity_instance = new PqNonlinearity();