@tuprolog/2p-full 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/2p-bdd.js +147 -147
  2. package/2p-bdd.js.map +1 -1
  3. package/2p-core.js +2583 -2583
  4. package/2p-core.js.map +1 -1
  5. package/2p-io-lib.js +844 -844
  6. package/2p-io-lib.js.map +1 -1
  7. package/2p-oop-lib.js +898 -898
  8. package/2p-oop-lib.js.map +1 -1
  9. package/2p-parser-core.js +113 -113
  10. package/2p-parser-core.js.map +1 -1
  11. package/2p-parser-impl.js +1487 -1487
  12. package/2p-parser-impl.js.map +1 -1
  13. package/2p-parser-theory.js +78 -78
  14. package/2p-parser-theory.js.map +1 -1
  15. package/2p-repl.js +98 -98
  16. package/2p-repl.js.map +1 -1
  17. package/2p-solve-plp.js +1 -1
  18. package/2p-solve-plp.js.map +1 -1
  19. package/2p-solve-problog.js +1298 -1298
  20. package/2p-solve-problog.js.map +1 -1
  21. package/2p-solve-prolog.js +913 -913
  22. package/2p-solve-prolog.js.map +1 -1
  23. package/2p-solve.js +4266 -4266
  24. package/2p-solve.js.map +1 -1
  25. package/2p-theory.js +1613 -1613
  26. package/2p-theory.js.map +1 -1
  27. package/2p-unify.js +333 -333
  28. package/2p-unify.js.map +1 -1
  29. package/2p-utils.js +388 -388
  30. package/2p-utils.js.map +1 -1
  31. package/clikt-clikt-mordant.js +88 -88
  32. package/clikt-clikt-mordant.js.map +1 -1
  33. package/clikt-clikt.js +2034 -2034
  34. package/clikt-clikt.js.map +1 -1
  35. package/colormath-root-colormath.js +456 -456
  36. package/colormath-root-colormath.js.map +1 -1
  37. package/kotlin-kotlin-stdlib.js +2405 -2405
  38. package/kotlin-kotlin-stdlib.js.map +1 -1
  39. package/kt-math.js +1454 -1454
  40. package/kt-math.js.map +1 -1
  41. package/mordant-mordant.js +1791 -1791
  42. package/mordant-mordant.js.map +1 -1
  43. package/okio-parent-okio-nodefilesystem.js +39 -39
  44. package/okio-parent-okio-nodefilesystem.js.map +1 -1
  45. package/okio-parent-okio.js +650 -650
  46. package/okio-parent-okio.js.map +1 -1
  47. package/package.json +1 -1
@@ -54,7 +54,7 @@
54
54
  //endregion
55
55
  //region block: pre-declaration
56
56
  function toXYZ() {
57
- return this.toSRGB_edbzwr_k$().toXYZ_1tsvtq_k$();
57
+ return this.m58().n58();
58
58
  }
59
59
  initMetadataForInterface(Color, 'Color');
60
60
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -72,21 +72,21 @@
72
72
  initMetadataForObject(PqNonlinearity, 'PqNonlinearity');
73
73
  function invoke$default(r, g, b, alpha, $super) {
74
74
  alpha = alpha === VOID ? 1.0 : alpha;
75
- return $super === VOID ? this.invoke_22floo_k$(r, g, b, alpha) : $super.invoke_22floo_k$.call(this, r, g, b, alpha);
75
+ return $super === VOID ? this.y59(r, g, b, alpha) : $super.y59.call(this, r, g, b, alpha);
76
76
  }
77
77
  function invoke(r, g, b, alpha) {
78
- return this.invoke_22floo_k$(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
78
+ return this.y59(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
79
79
  }
80
80
  function invoke$default_0(r, g, b, alpha, $super) {
81
81
  alpha = alpha === VOID ? 1.0 : alpha;
82
- return $super === VOID ? this.invoke_m0jwvs_k$(r, g, b, alpha) : invoke(r, g, b, alpha);
82
+ return $super === VOID ? this.c5b(r, g, b, alpha) : invoke(r, g, b, alpha);
83
83
  }
84
84
  function from255(r, g, b, alpha) {
85
- return this.invoke_22floo_k$(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
85
+ return this.y59(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
86
86
  }
87
87
  function from255$default(r, g, b, alpha, $super) {
88
88
  alpha = alpha === VOID ? 255 : alpha;
89
- return $super === VOID ? this.from255_9wuvmg_k$(r, g, b, alpha) : from255(r, g, b, alpha);
89
+ return $super === VOID ? this.e5b(r, g, b, alpha) : from255(r, g, b, alpha);
90
90
  }
91
91
  function invoke_0(hex) {
92
92
  var tmp = parseHex(validateHex(hex), 0);
@@ -100,7 +100,7 @@
100
100
  } else {
101
101
  tmp_2 = 255;
102
102
  }
103
- return this.from255_9wuvmg_k$(tmp, tmp_0, tmp_1, tmp_2);
103
+ return this.e5b(tmp, tmp_0, tmp_1, tmp_2);
104
104
  }
105
105
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace');
106
106
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -126,26 +126,26 @@
126
126
  function Color() {
127
127
  }
128
128
  function ColorComponentInfo(name, isPolar, min, max) {
129
- this.name_1 = name;
130
- this.isPolar_1 = isPolar;
131
- this.min_1 = min;
132
- this.max_1 = max;
129
+ this.t58_1 = name;
130
+ this.u58_1 = isPolar;
131
+ this.v58_1 = min;
132
+ this.w58_1 = max;
133
133
  // Inline function 'kotlin.require' call
134
- if (!(this.min_1 <= this.max_1)) {
134
+ if (!(this.v58_1 <= this.w58_1)) {
135
135
  var message = 'min must be less than or equal to max';
136
136
  throw IllegalArgumentException_init_$Create$(toString(message));
137
137
  }
138
138
  }
139
139
  function WhitePoint(name, chromaticity) {
140
- this.name_1 = name;
141
- this.chromaticity_1 = chromaticity;
140
+ this.x58_1 = name;
141
+ this.y58_1 = chromaticity;
142
142
  }
143
143
  protoOf(WhitePoint).toString = function () {
144
- return this.name_1;
144
+ return this.x58_1;
145
145
  };
146
146
  protoOf(WhitePoint).hashCode = function () {
147
- var result = getStringHashCode(this.name_1);
148
- result = imul(result, 31) + this.chromaticity_1.hashCode() | 0;
147
+ var result = getStringHashCode(this.x58_1);
148
+ result = imul(result, 31) + this.y58_1.hashCode() | 0;
149
149
  return result;
150
150
  };
151
151
  protoOf(WhitePoint).equals = function (other) {
@@ -154,22 +154,22 @@
154
154
  if (!(other instanceof WhitePoint))
155
155
  return false;
156
156
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
157
- if (!(this.name_1 === tmp0_other_with_cast.name_1))
157
+ if (!(this.x58_1 === tmp0_other_with_cast.x58_1))
158
158
  return false;
159
- if (!this.chromaticity_1.equals(tmp0_other_with_cast.chromaticity_1))
159
+ if (!this.y58_1.equals(tmp0_other_with_cast.y58_1))
160
160
  return false;
161
161
  return true;
162
162
  };
163
163
  function Illuminant() {
164
164
  Illuminant_instance = this;
165
- this.A_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
166
- this.B_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
167
- this.C_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
168
- this.D50__1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
169
- this.D55__1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
170
- this.D65__1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
171
- this.D75__1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
172
- this.E_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
165
+ this.z58_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
166
+ this.a59_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
167
+ this.b59_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
168
+ this.c59_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
169
+ this.d59_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
170
+ this.e59_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
171
+ this.f59_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
172
+ this.g59_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
173
173
  }
174
174
  var Illuminant_instance;
175
175
  function Illuminant_getInstance() {
@@ -198,10 +198,10 @@
198
198
  var item = charSequenceGet(name, inductionVariable);
199
199
  inductionVariable = inductionVariable + 1 | 0;
200
200
  var tmp$ret$5 = new ColorComponentInfo(toString_0(item), false, 0.0, 1.0);
201
- this_0.add_utx5q5_k$(tmp$ret$5);
201
+ this_0.l(tmp$ret$5);
202
202
  }
203
- this_0.add_utx5q5_k$(get_alphaInfo());
204
- return this_0.build_nmwvly_k$();
203
+ this_0.l(get_alphaInfo());
204
+ return this_0.y2();
205
205
  }
206
206
  function polarComponentInfo(name, l, r) {
207
207
  _init_properties_ColorSpaceUtils_kt__cnwylg();
@@ -215,10 +215,10 @@
215
215
  var item = charSequenceGet(name, inductionVariable);
216
216
  inductionVariable = inductionVariable + 1 | 0;
217
217
  var tmp$ret$5 = new ColorComponentInfo(toString_0(item), item === _Char___init__impl__6a9atx(72), item === _Char___init__impl__6a9atx(72) ? 0.0 : l, item === _Char___init__impl__6a9atx(72) ? 360.0 : r);
218
- this_0.add_utx5q5_k$(tmp$ret$5);
218
+ this_0.l(tmp$ret$5);
219
219
  }
220
- this_0.add_utx5q5_k$(get_alphaInfo());
221
- return this_0.build_nmwvly_k$();
220
+ this_0.l(get_alphaInfo());
221
+ return this_0.y2();
222
222
  }
223
223
  var properties_initialized_ColorSpaceUtils_kt_kskdoe;
224
224
  function _init_properties_ColorSpaceUtils_kt__cnwylg() {
@@ -296,22 +296,22 @@
296
296
  function Matrix__equals_impl_g5p8p9($this, other) {
297
297
  if (!(other instanceof Matrix))
298
298
  return false;
299
- var tmp0_other_with_cast = other instanceof Matrix ? other.rowMajor_1 : THROW_CCE();
299
+ var tmp0_other_with_cast = other instanceof Matrix ? other.h59_1 : THROW_CCE();
300
300
  if (!equals($this, tmp0_other_with_cast))
301
301
  return false;
302
302
  return true;
303
303
  }
304
304
  function Matrix(rowMajor) {
305
- this.rowMajor_1 = rowMajor;
305
+ this.h59_1 = rowMajor;
306
306
  }
307
307
  protoOf(Matrix).toString = function () {
308
- return Matrix__toString_impl_l0abk0(this.rowMajor_1);
308
+ return Matrix__toString_impl_l0abk0(this.h59_1);
309
309
  };
310
310
  protoOf(Matrix).hashCode = function () {
311
- return Matrix__hashCode_impl_s9ntm9(this.rowMajor_1);
311
+ return Matrix__hashCode_impl_s9ntm9(this.h59_1);
312
312
  };
313
313
  protoOf(Matrix).equals = function (other) {
314
- return Matrix__equals_impl_g5p8p9(this.rowMajor_1, other);
314
+ return Matrix__equals_impl_g5p8p9(this.h59_1, other);
315
315
  };
316
316
  function inverse(_this__u8e3s4, inPlace) {
317
317
  inPlace = inPlace === VOID ? false : inPlace;
@@ -389,22 +389,22 @@
389
389
  function Vector__equals_impl_hy6igl($this, other) {
390
390
  if (!(other instanceof Vector))
391
391
  return false;
392
- var tmp0_other_with_cast = other instanceof Vector ? other.values_1 : THROW_CCE();
392
+ var tmp0_other_with_cast = other instanceof Vector ? other.i59_1 : THROW_CCE();
393
393
  if (!equals($this, tmp0_other_with_cast))
394
394
  return false;
395
395
  return true;
396
396
  }
397
397
  function Vector(values) {
398
- this.values_1 = values;
398
+ this.i59_1 = values;
399
399
  }
400
400
  protoOf(Vector).toString = function () {
401
- return Vector__toString_impl_hn2ybi(this.values_1);
401
+ return Vector__toString_impl_hn2ybi(this.i59_1);
402
402
  };
403
403
  protoOf(Vector).hashCode = function () {
404
- return Vector__hashCode_impl_442yhd(this.values_1);
404
+ return Vector__hashCode_impl_442yhd(this.i59_1);
405
405
  };
406
406
  protoOf(Vector).equals = function (other) {
407
- return Vector__equals_impl_hy6igl(this.values_1, other);
407
+ return Vector__equals_impl_hy6igl(this.i59_1, other);
408
408
  };
409
409
  function dot_0(_this__u8e3s4, v0, v1, v2) {
410
410
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
@@ -418,13 +418,13 @@
418
418
  }
419
419
  function Companion() {
420
420
  Companion_instance = this;
421
- this.components_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
421
+ this.j59_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
422
422
  }
423
- protoOf(Companion).get_name_woqyms_k$ = function () {
423
+ protoOf(Companion).o2 = function () {
424
424
  return 'Ansi16';
425
425
  };
426
- protoOf(Companion).get_components_rknech_k$ = function () {
427
- return this.components_1;
426
+ protoOf(Companion).k59 = function () {
427
+ return this.j59_1;
428
428
  };
429
429
  var Companion_instance;
430
430
  function Companion_getInstance() {
@@ -434,38 +434,38 @@
434
434
  }
435
435
  function Ansi16(code) {
436
436
  Companion_getInstance();
437
- this.code_1 = code;
437
+ this.l59_1 = code;
438
438
  }
439
- protoOf(Ansi16).get_space_iyncv1_k$ = function () {
439
+ protoOf(Ansi16).l58 = function () {
440
440
  return Companion_getInstance();
441
441
  };
442
- protoOf(Ansi16).toSRGB_edbzwr_k$ = function () {
443
- switch (this.code_1) {
442
+ protoOf(Ansi16).m58 = function () {
443
+ switch (this.l59_1) {
444
444
  case 30:
445
445
  case 40:
446
- return Companion_getInstance_2().invoke$default_gkk1m7_k$(0.0, 0.0, 0.0);
446
+ return Companion_getInstance_2().m59(0.0, 0.0, 0.0);
447
447
  case 90:
448
448
  case 100:
449
- return Companion_getInstance_2().from255$default_5v5syp_k$(128, 128, 128);
449
+ return Companion_getInstance_2().n59(128, 128, 128);
450
450
  case 37:
451
451
  case 47:
452
- return Companion_getInstance_2().from255$default_5v5syp_k$(192, 192, 192);
452
+ return Companion_getInstance_2().n59(192, 192, 192);
453
453
  case 97:
454
454
  case 107:
455
- return Companion_getInstance_2().invoke$default_gkk1m7_k$(1.0, 1.0, 1.0);
455
+ return Companion_getInstance_2().m59(1.0, 1.0, 1.0);
456
456
  }
457
- var color = this.code_1 % 10 | 0;
458
- var mul = this.code_1 > 50 ? 1.0 : 0.5;
457
+ var color = this.l59_1 % 10 | 0;
458
+ var mul = this.l59_1 > 50 ? 1.0 : 0.5;
459
459
  var r = (color % 2 | 0) * mul;
460
460
  var g = ((color / 2 | 0) % 2 | 0) * mul;
461
461
  var b = ((color / 4 | 0) % 2 | 0) * mul;
462
- return Companion_getInstance_2().invoke$default_gkk1m7_k$(r, g, b);
462
+ return Companion_getInstance_2().m59(r, g, b);
463
463
  };
464
464
  protoOf(Ansi16).toString = function () {
465
- return 'Ansi16(code=' + this.code_1 + ')';
465
+ return 'Ansi16(code=' + this.l59_1 + ')';
466
466
  };
467
467
  protoOf(Ansi16).hashCode = function () {
468
- return this.code_1;
468
+ return this.l59_1;
469
469
  };
470
470
  protoOf(Ansi16).equals = function (other) {
471
471
  if (this === other)
@@ -473,19 +473,19 @@
473
473
  if (!(other instanceof Ansi16))
474
474
  return false;
475
475
  var tmp0_other_with_cast = other instanceof Ansi16 ? other : THROW_CCE();
476
- if (!(this.code_1 === tmp0_other_with_cast.code_1))
476
+ if (!(this.l59_1 === tmp0_other_with_cast.l59_1))
477
477
  return false;
478
478
  return true;
479
479
  };
480
480
  function Companion_0() {
481
481
  Companion_instance_0 = this;
482
- this.components_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
482
+ this.o59_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
483
483
  }
484
- protoOf(Companion_0).get_name_woqyms_k$ = function () {
484
+ protoOf(Companion_0).o2 = function () {
485
485
  return 'Ansi256';
486
486
  };
487
- protoOf(Companion_0).get_components_rknech_k$ = function () {
488
- return this.components_1;
487
+ protoOf(Companion_0).k59 = function () {
488
+ return this.o59_1;
489
489
  };
490
490
  var Companion_instance_0;
491
491
  function Companion_getInstance_0() {
@@ -495,19 +495,19 @@
495
495
  }
496
496
  function Ansi256(code) {
497
497
  Companion_getInstance_0();
498
- this.code_1 = code;
498
+ this.p59_1 = code;
499
499
  }
500
- protoOf(Ansi256).get_space_iyncv1_k$ = function () {
500
+ protoOf(Ansi256).l58 = function () {
501
501
  return Companion_getInstance_0();
502
502
  };
503
- protoOf(Ansi256).toSRGB_edbzwr_k$ = function () {
504
- if (this.code_1 < 16)
505
- return this.toAnsi16_x1330j_k$().toSRGB_edbzwr_k$();
506
- if (this.code_1 >= 232) {
507
- var c = imul(this.code_1 - 232 | 0, 10) + 8 | 0;
508
- return Companion_getInstance_2().from255$default_5v5syp_k$(c, c, c);
503
+ protoOf(Ansi256).m58 = function () {
504
+ if (this.p59_1 < 16)
505
+ return this.q59().m58();
506
+ if (this.p59_1 >= 232) {
507
+ var c = imul(this.p59_1 - 232 | 0, 10) + 8 | 0;
508
+ return Companion_getInstance_2().n59(c, c, c);
509
509
  }
510
- var c_0 = this.code_1 - 16 | 0;
510
+ var c_0 = this.p59_1 - 16 | 0;
511
511
  var rem = c_0 % 36 | 0;
512
512
  // Inline function 'kotlin.math.floor' call
513
513
  var x = c_0 / 36.0;
@@ -516,16 +516,16 @@
516
516
  var x_0 = rem / 6.0;
517
517
  var g = Math.floor(x_0) / 5.0;
518
518
  var b = (rem % 6 | 0) / 5.0;
519
- return Companion_getInstance_2().invoke$default_nb5sz3_k$(r, g, b);
519
+ return Companion_getInstance_2().r59(r, g, b);
520
520
  };
521
- protoOf(Ansi256).toAnsi16_x1330j_k$ = function () {
522
- return this.code_1 < 8 ? new Ansi16(this.code_1 + 30 | 0) : this.code_1 < 16 ? new Ansi16((this.code_1 - 8 | 0) + 90 | 0) : this.toSRGB_edbzwr_k$().toAnsi16_x1330j_k$();
521
+ protoOf(Ansi256).q59 = function () {
522
+ return this.p59_1 < 8 ? new Ansi16(this.p59_1 + 30 | 0) : this.p59_1 < 16 ? new Ansi16((this.p59_1 - 8 | 0) + 90 | 0) : this.m58().q59();
523
523
  };
524
524
  protoOf(Ansi256).toString = function () {
525
- return 'Ansi256(code=' + this.code_1 + ')';
525
+ return 'Ansi256(code=' + this.p59_1 + ')';
526
526
  };
527
527
  protoOf(Ansi256).hashCode = function () {
528
- return this.code_1;
528
+ return this.p59_1;
529
529
  };
530
530
  protoOf(Ansi256).equals = function (other) {
531
531
  if (this === other)
@@ -533,19 +533,19 @@
533
533
  if (!(other instanceof Ansi256))
534
534
  return false;
535
535
  var tmp0_other_with_cast = other instanceof Ansi256 ? other : THROW_CCE();
536
- if (!(this.code_1 === tmp0_other_with_cast.code_1))
536
+ if (!(this.p59_1 === tmp0_other_with_cast.p59_1))
537
537
  return false;
538
538
  return true;
539
539
  };
540
540
  function Companion_1() {
541
541
  Companion_instance_1 = this;
542
- this.components_1 = polarComponentInfo('HSV', 0.0, 1.0);
542
+ this.s59_1 = polarComponentInfo('HSV', 0.0, 1.0);
543
543
  }
544
- protoOf(Companion_1).get_name_woqyms_k$ = function () {
544
+ protoOf(Companion_1).o2 = function () {
545
545
  return 'HSV';
546
546
  };
547
- protoOf(Companion_1).get_components_rknech_k$ = function () {
548
- return this.components_1;
547
+ protoOf(Companion_1).k59 = function () {
548
+ return this.s59_1;
549
549
  };
550
550
  var Companion_instance_1;
551
551
  function Companion_getInstance_1() {
@@ -564,30 +564,30 @@
564
564
  function HSV(h, s, v, alpha) {
565
565
  Companion_getInstance_1();
566
566
  alpha = alpha === VOID ? 1.0 : alpha;
567
- this.h_1 = h;
568
- this.s_1 = s;
569
- this.v_1 = v;
570
- this.alpha_1 = alpha;
567
+ this.t59_1 = h;
568
+ this.u59_1 = s;
569
+ this.v59_1 = v;
570
+ this.w59_1 = alpha;
571
571
  }
572
- protoOf(HSV).get_space_iyncv1_k$ = function () {
572
+ protoOf(HSV).l58 = function () {
573
573
  return Companion_getInstance_1();
574
574
  };
575
- protoOf(HSV).toSRGB_edbzwr_k$ = function () {
576
- if (this.s_1 < 1.0E-7)
577
- return Companion_getInstance_2().invoke_22floo_k$(this.v_1, this.v_1, this.v_1, this.alpha_1);
578
- var v = this.v_1;
579
- var h = normalizeDeg(this.h_1) / 60.0;
580
- var s = this.s_1;
581
- return SRGB_getInstance().invoke_22floo_k$(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.alpha_1);
575
+ protoOf(HSV).m58 = function () {
576
+ if (this.u59_1 < 1.0E-7)
577
+ return Companion_getInstance_2().y59(this.v59_1, this.v59_1, this.v59_1, this.w59_1);
578
+ var v = this.v59_1;
579
+ var h = normalizeDeg(this.t59_1) / 60.0;
580
+ var s = this.u59_1;
581
+ return SRGB_getInstance().y59(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.w59_1);
582
582
  };
583
583
  protoOf(HSV).toString = function () {
584
- return 'HSV(h=' + this.h_1 + ', s=' + this.s_1 + ', v=' + this.v_1 + ', alpha=' + this.alpha_1 + ')';
584
+ return 'HSV(h=' + this.t59_1 + ', s=' + this.u59_1 + ', v=' + this.v59_1 + ', alpha=' + this.w59_1 + ')';
585
585
  };
586
586
  protoOf(HSV).hashCode = function () {
587
- var result = getNumberHashCode(this.h_1);
588
- result = imul(result, 31) + getNumberHashCode(this.s_1) | 0;
589
- result = imul(result, 31) + getNumberHashCode(this.v_1) | 0;
590
- result = imul(result, 31) + getNumberHashCode(this.alpha_1) | 0;
587
+ var result = getNumberHashCode(this.t59_1);
588
+ result = imul(result, 31) + getNumberHashCode(this.u59_1) | 0;
589
+ result = imul(result, 31) + getNumberHashCode(this.v59_1) | 0;
590
+ result = imul(result, 31) + getNumberHashCode(this.w59_1) | 0;
591
591
  return result;
592
592
  };
593
593
  protoOf(HSV).equals = function (other) {
@@ -596,13 +596,13 @@
596
596
  if (!(other instanceof HSV))
597
597
  return false;
598
598
  var tmp0_other_with_cast = other instanceof HSV ? other : THROW_CCE();
599
- if (!equals(this.h_1, tmp0_other_with_cast.h_1))
599
+ if (!equals(this.t59_1, tmp0_other_with_cast.t59_1))
600
600
  return false;
601
- if (!equals(this.s_1, tmp0_other_with_cast.s_1))
601
+ if (!equals(this.u59_1, tmp0_other_with_cast.u59_1))
602
602
  return false;
603
- if (!equals(this.v_1, tmp0_other_with_cast.v_1))
603
+ if (!equals(this.v59_1, tmp0_other_with_cast.v59_1))
604
604
  return false;
605
- if (!equals(this.alpha_1, tmp0_other_with_cast.alpha_1))
605
+ if (!equals(this.w59_1, tmp0_other_with_cast.w59_1))
606
606
  return false;
607
607
  return true;
608
608
  };
@@ -644,43 +644,43 @@
644
644
  var ICTCP_LMS_TO_XYZ;
645
645
  function ICtCp() {
646
646
  }
647
- protoOf(ICtCp).toBT2020_x2ndl5_k$ = function () {
648
- var fo = RGBColorSpaces_getInstance().BT2020__1.get_transferFunctions_9s8at5_k$();
647
+ protoOf(ICtCp).e5a = function () {
648
+ var fo = RGBColorSpaces_getInstance().m5a_1.r5a();
649
649
  var tmp0 = get_ICTCP_ICTCP_to_LMS();
650
- var tmp2 = this.i_1;
651
- var tmp4 = this.ct_1;
650
+ var tmp2 = this.a5a_1;
651
+ var tmp4 = this.b5a_1;
652
652
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
653
- var v2 = this.cp_1;
653
+ var v2 = this.c5a_1;
654
654
  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;
655
655
  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;
656
656
  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;
657
657
  var tmp0_1 = get_ICTCP_LMS_to_RGB();
658
- var tmp2_1 = PqNonlinearity_instance.eotf_gr849w_k$(tmp0_0);
659
- var tmp4_0 = PqNonlinearity_instance.eotf_gr849w_k$(tmp2_0);
658
+ var tmp2_1 = PqNonlinearity_instance.a5b(tmp0_0);
659
+ var tmp4_0 = PqNonlinearity_instance.a5b(tmp2_0);
660
660
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
661
- var v2_0 = PqNonlinearity_instance.eotf_gr849w_k$(s);
661
+ var v2_0 = PqNonlinearity_instance.a5b(s);
662
662
  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;
663
663
  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;
664
664
  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;
665
- return RGBColorSpaces_getInstance().BT2020__1.invoke_22floo_k$(fo.oetf_ymcw4w_k$(tmp0_2), fo.oetf_ymcw4w_k$(tmp2_2), fo.oetf_ymcw4w_k$(b), this.alpha_1);
665
+ return RGBColorSpaces_getInstance().m5a_1.y59(fo.b5b(tmp0_2), fo.b5b(tmp2_2), fo.b5b(b), this.d5a_1);
666
666
  };
667
667
  function PqNonlinearity() {
668
- this.m1__1 = 0.1593017578125;
669
- this.m2__1 = 78.84375;
670
- this.c1__1 = 0.8359375;
671
- this.c2__1 = 18.8515625;
672
- this.c3__1 = 18.6875;
673
- this.lp_1 = 10000.0;
674
- this.m1d_1 = 6.277394636015326;
675
- this.m2d_1 = 0.012683313515655966;
676
- }
677
- protoOf(PqNonlinearity).eotf_gr849w_k$ = function (x) {
668
+ this.s5a_1 = 0.1593017578125;
669
+ this.t5a_1 = 78.84375;
670
+ this.u5a_1 = 0.8359375;
671
+ this.v5a_1 = 18.8515625;
672
+ this.w5a_1 = 18.6875;
673
+ this.x5a_1 = 10000.0;
674
+ this.y5a_1 = 6.277394636015326;
675
+ this.z5a_1 = 0.012683313515655966;
676
+ }
677
+ protoOf(PqNonlinearity).a5b = function (x) {
678
678
  var vp = spow(x, 0.012683313515655966);
679
679
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
680
680
  var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
681
681
  return 10000.0 * l;
682
682
  };
683
- protoOf(PqNonlinearity).oetf_ymcw4w_k$ = function (x) {
683
+ protoOf(PqNonlinearity).b5b = function (x) {
684
684
  var yp = spow_0(x / 10000.0, 0.1593017578125);
685
685
  return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
686
686
  };
@@ -704,43 +704,43 @@
704
704
  }
705
705
  function Companion_2() {
706
706
  Companion_instance_2 = this;
707
- this.$$delegate_0__1 = RGBColorSpaces_getInstance().SRGB_1;
707
+ this.x59_1 = RGBColorSpaces_getInstance().f5a_1;
708
708
  }
709
- protoOf(Companion_2).invoke_22floo_k$ = function (r, g, b, alpha) {
710
- return this.$$delegate_0__1.invoke_22floo_k$(r, g, b, alpha);
709
+ protoOf(Companion_2).y59 = function (r, g, b, alpha) {
710
+ return this.x59_1.y59(r, g, b, alpha);
711
711
  };
712
- protoOf(Companion_2).invoke_m0jwvs_k$ = function (r, g, b, alpha) {
713
- return this.$$delegate_0__1.invoke_m0jwvs_k$(r, g, b, alpha);
712
+ protoOf(Companion_2).c5b = function (r, g, b, alpha) {
713
+ return this.x59_1.c5b(r, g, b, alpha);
714
714
  };
715
- protoOf(Companion_2).invoke_lt562m_k$ = function (hex) {
716
- return this.$$delegate_0__1.invoke_lt562m_k$(hex);
715
+ protoOf(Companion_2).d5b = function (hex) {
716
+ return this.x59_1.d5b(hex);
717
717
  };
718
- protoOf(Companion_2).from255_9wuvmg_k$ = function (r, g, b, alpha) {
719
- return this.$$delegate_0__1.from255_9wuvmg_k$(r, g, b, alpha);
718
+ protoOf(Companion_2).e5b = function (r, g, b, alpha) {
719
+ return this.x59_1.e5b(r, g, b, alpha);
720
720
  };
721
- protoOf(Companion_2).get_transferFunctions_9s8at5_k$ = function () {
722
- return this.$$delegate_0__1.get_transferFunctions_9s8at5_k$();
721
+ protoOf(Companion_2).r5a = function () {
722
+ return this.x59_1.r5a();
723
723
  };
724
- protoOf(Companion_2).get_matrixToXyz_7xl20k_k$ = function () {
725
- return this.$$delegate_0__1.get_matrixToXyz_7xl20k_k$();
724
+ protoOf(Companion_2).f5b = function () {
725
+ return this.x59_1.f5b();
726
726
  };
727
- protoOf(Companion_2).get_matrixFromXyz_wlcz1h_k$ = function () {
728
- return this.$$delegate_0__1.get_matrixFromXyz_wlcz1h_k$();
727
+ protoOf(Companion_2).g5b = function () {
728
+ return this.x59_1.g5b();
729
729
  };
730
- protoOf(Companion_2).get_whitePoint_g4n5ow_k$ = function () {
731
- return this.$$delegate_0__1.get_whitePoint_g4n5ow_k$();
730
+ protoOf(Companion_2).h5b = function () {
731
+ return this.x59_1.h5b();
732
732
  };
733
- protoOf(Companion_2).get_name_woqyms_k$ = function () {
734
- return this.$$delegate_0__1.get_name_woqyms_k$();
733
+ protoOf(Companion_2).o2 = function () {
734
+ return this.x59_1.o2();
735
735
  };
736
- protoOf(Companion_2).get_components_rknech_k$ = function () {
737
- return this.$$delegate_0__1.get_components_rknech_k$();
736
+ protoOf(Companion_2).k59 = function () {
737
+ return this.x59_1.k59();
738
738
  };
739
739
  protoOf(Companion_2).equals = function (other) {
740
- return equals(RGBColorSpaces_getInstance().SRGB_1, other);
740
+ return equals(RGBColorSpaces_getInstance().f5a_1, other);
741
741
  };
742
742
  protoOf(Companion_2).hashCode = function () {
743
- return hashCode(RGBColorSpaces_getInstance().SRGB_1);
743
+ return hashCode(RGBColorSpaces_getInstance().f5a_1);
744
744
  };
745
745
  var Companion_instance_2;
746
746
  function Companion_getInstance_2() {
@@ -750,43 +750,43 @@
750
750
  }
751
751
  function RGB(r, g, b, alpha, space) {
752
752
  Companion_getInstance_2();
753
- this.r_1 = r;
754
- this.g_1 = g;
755
- this.b_1 = b;
756
- this.alpha_1 = alpha;
757
- this.space_1 = space;
753
+ this.o58_1 = r;
754
+ this.p58_1 = g;
755
+ this.q58_1 = b;
756
+ this.r58_1 = alpha;
757
+ this.s58_1 = space;
758
758
  }
759
- protoOf(RGB).get_space_iyncv1_k$ = function () {
760
- return this.space_1;
759
+ protoOf(RGB).l58 = function () {
760
+ return this.s58_1;
761
761
  };
762
- protoOf(RGB).get_redInt_iy5nzb_k$ = function () {
762
+ protoOf(RGB).i5b = function () {
763
763
  // Inline function 'kotlin.math.roundToInt' call
764
- var this_0 = this.r_1 * 255;
764
+ var this_0 = this.o58_1 * 255;
765
765
  return roundToInt(this_0);
766
766
  };
767
- protoOf(RGB).get_greenInt_serb63_k$ = function () {
767
+ protoOf(RGB).j5b = function () {
768
768
  // Inline function 'kotlin.math.roundToInt' call
769
- var this_0 = this.g_1 * 255;
769
+ var this_0 = this.p58_1 * 255;
770
770
  return roundToInt(this_0);
771
771
  };
772
- protoOf(RGB).get_blueInt_103sy4_k$ = function () {
772
+ protoOf(RGB).k5b = function () {
773
773
  // Inline function 'kotlin.math.roundToInt' call
774
- var this_0 = this.b_1 * 255;
774
+ var this_0 = this.q58_1 * 255;
775
775
  return roundToInt(this_0);
776
776
  };
777
- protoOf(RGB).convertTo_ymjy3u_k$ = function (space) {
778
- var f = SRGB_getInstance().get_transferFunctions_9s8at5_k$();
779
- return equals(this.space_1, space) ? this : equals(this.space_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().LinearSRGB_1) ? space.invoke_22floo_k$(f.eotf_gr849w_k$(this.r_1), f.eotf_gr849w_k$(this.g_1), f.eotf_gr849w_k$(this.b_1), this.alpha_1) : equals(this.space_1, RGBColorSpaces_getInstance().LinearSRGB_1) && equals(space, SRGB_getInstance()) ? space.invoke_22floo_k$(f.oetf_ymcw4w_k$(this.r_1), f.oetf_ymcw4w_k$(this.g_1), f.oetf_ymcw4w_k$(this.b_1), this.alpha_1) : this.toXYZ_1tsvtq_k$().toRGB_vphcti_k$(space);
777
+ protoOf(RGB).l5b = function (space) {
778
+ var f = SRGB_getInstance().r5a();
779
+ return equals(this.s58_1, space) ? this : equals(this.s58_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().g5a_1) ? space.y59(f.a5b(this.o58_1), f.a5b(this.p58_1), f.a5b(this.q58_1), this.r58_1) : equals(this.s58_1, RGBColorSpaces_getInstance().g5a_1) && equals(space, SRGB_getInstance()) ? space.y59(f.b5b(this.o58_1), f.b5b(this.p58_1), f.b5b(this.q58_1), this.r58_1) : this.n58().r5b(space);
780
780
  };
781
- protoOf(RGB).toHSV_1tsjtc_k$ = function () {
781
+ protoOf(RGB).s5b = function () {
782
782
  var tmp$ret$0;
783
783
  $l$block: {
784
784
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
785
785
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
786
- var $this$toSRGB = this.convertTo_ymjy3u_k$(SRGB_getInstance());
787
- var r = $this$toSRGB.r_1;
788
- var g = $this$toSRGB.g_1;
789
- var b = $this$toSRGB.b_1;
786
+ var $this$toSRGB = this.l5b(SRGB_getInstance());
787
+ var r = $this$toSRGB.o58_1;
788
+ var g = $this$toSRGB.p58_1;
789
+ var b = $this$toSRGB.q58_1;
790
790
  // Inline function 'kotlin.comparisons.minOf' call
791
791
  var min = Math.min(r, g, b);
792
792
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -795,100 +795,100 @@
795
795
  var h = (chroma < 1.0E-7 ? NaN : r === max ? (g - b) / chroma : g === max ? 2 + (b - r) / chroma : b === max ? 4 + (r - g) / chroma : 0.0) * 60;
796
796
  var h_0 = normalizeDeg_0(h);
797
797
  var s = max === 0.0 ? 0.0 : chroma / max;
798
- tmp$ret$0 = new HSV(h_0, s, max, this.alpha_1);
798
+ tmp$ret$0 = new HSV(h_0, s, max, this.r58_1);
799
799
  break $l$block;
800
800
  }
801
801
  return tmp$ret$0;
802
802
  };
803
- protoOf(RGB).toXYZ_1tsvtq_k$ = function () {
804
- var f = this.space_1.get_transferFunctions_9s8at5_k$();
805
- var tmp0 = _Matrix___init__impl__q3kp4w(this.space_1.get_matrixToXyz_7xl20k_k$());
806
- var tmp2 = f.eotf_gr849w_k$(this.r_1);
807
- var tmp4 = f.eotf_gr849w_k$(this.g_1);
803
+ protoOf(RGB).n58 = function () {
804
+ var f = this.s58_1.r5a();
805
+ var tmp0 = _Matrix___init__impl__q3kp4w(this.s58_1.f5b());
806
+ var tmp2 = f.a5b(this.o58_1);
807
+ var tmp4 = f.a5b(this.p58_1);
808
808
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
809
- var v2 = f.eotf_gr849w_k$(this.b_1);
809
+ var v2 = f.a5b(this.q58_1);
810
810
  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;
811
811
  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;
812
812
  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;
813
- return XYZColorSpace_0(this.space_1.get_whitePoint_g4n5ow_k$()).invoke_22floo_k$(tmp0_0, tmp2_0, z, this.alpha_1);
813
+ return XYZColorSpace_0(this.s58_1.h5b()).y59(tmp0_0, tmp2_0, z, this.r58_1);
814
814
  };
815
- protoOf(RGB).toAnsi16_x1330j_k$ = function () {
815
+ protoOf(RGB).q59 = function () {
816
816
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
817
- var $this$toSRGB = this.convertTo_ymjy3u_k$(SRGB_getInstance());
817
+ var $this$toSRGB = this.l5b(SRGB_getInstance());
818
818
  // Inline function 'kotlin.math.roundToInt' call
819
- var this_0 = $this$toSRGB.toHSV_1tsjtc_k$().v_1 * 100;
819
+ var this_0 = $this$toSRGB.s5b().v59_1 * 100;
820
820
  var value = roundToInt(this_0);
821
821
  if (value === 30)
822
822
  return new Ansi16(30);
823
823
  var v = value / 50 | 0;
824
824
  // Inline function 'kotlin.math.roundToInt' call
825
- var this_1 = $this$toSRGB.b_1;
825
+ var this_1 = $this$toSRGB.q58_1;
826
826
  var tmp$ret$3 = roundToInt(this_1);
827
827
  var tmp = imul(tmp$ret$3, 4);
828
828
  // Inline function 'kotlin.math.roundToInt' call
829
- var this_2 = $this$toSRGB.g_1;
829
+ var this_2 = $this$toSRGB.p58_1;
830
830
  var tmp$ret$4 = roundToInt(this_2);
831
831
  var tmp_0 = tmp | imul(tmp$ret$4, 2);
832
832
  // Inline function 'kotlin.math.roundToInt' call
833
- var this_3 = $this$toSRGB.r_1;
833
+ var this_3 = $this$toSRGB.o58_1;
834
834
  var ansi = 30 + (tmp_0 | roundToInt(this_3)) | 0;
835
835
  return new Ansi16(v === 2 ? ansi + 60 | 0 : ansi);
836
836
  };
837
- protoOf(RGB).toAnsi256_ti2uk5_k$ = function () {
837
+ protoOf(RGB).t5b = function () {
838
838
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
839
- var $this$toSRGB = this.convertTo_ymjy3u_k$(SRGB_getInstance());
840
- var ri = $this$toSRGB.get_redInt_iy5nzb_k$();
841
- var gi = $this$toSRGB.get_greenInt_serb63_k$();
842
- var bi = $this$toSRGB.get_blueInt_103sy4_k$();
839
+ var $this$toSRGB = this.l5b(SRGB_getInstance());
840
+ var ri = $this$toSRGB.i5b();
841
+ var gi = $this$toSRGB.j5b();
842
+ var bi = $this$toSRGB.k5b();
843
843
  var tmp;
844
844
  if (ri === gi && gi === bi) {
845
845
  tmp = ri < 8 ? 16 : ri > 248 ? 231 : roundToInt((ri - 8 | 0) / 247.0 * 24.0) + 232 | 0;
846
846
  } else {
847
847
  // Inline function 'kotlin.math.roundToInt' call
848
- var this_0 = $this$toSRGB.r_1 * 5;
848
+ var this_0 = $this$toSRGB.o58_1 * 5;
849
849
  var tmp$ret$2 = roundToInt(this_0);
850
850
  var tmp_0 = 16 + imul(36, tmp$ret$2) | 0;
851
851
  // Inline function 'kotlin.math.roundToInt' call
852
- var this_1 = $this$toSRGB.g_1 * 5;
852
+ var this_1 = $this$toSRGB.p58_1 * 5;
853
853
  var tmp$ret$3 = roundToInt(this_1);
854
854
  var tmp_1 = tmp_0 + imul(6, tmp$ret$3) | 0;
855
855
  // Inline function 'kotlin.math.roundToInt' call
856
- var this_2 = $this$toSRGB.b_1 * 5;
856
+ var this_2 = $this$toSRGB.q58_1 * 5;
857
857
  tmp = tmp_1 + roundToInt(this_2) | 0;
858
858
  }
859
859
  var code = tmp;
860
860
  return new Ansi256(code);
861
861
  };
862
- protoOf(RGB).toSRGB_edbzwr_k$ = function () {
863
- return this.convertTo_ymjy3u_k$(RGBColorSpaces_getInstance().SRGB_1);
862
+ protoOf(RGB).m58 = function () {
863
+ return this.l5b(RGBColorSpaces_getInstance().f5a_1);
864
864
  };
865
- protoOf(RGB).clamp_1keny3_k$ = function () {
866
- var tmp2 = this.r_1;
867
- var tmp4 = this.g_1;
868
- var tmp6 = this.b_1;
865
+ protoOf(RGB).u5b = function () {
866
+ var tmp2 = this.o58_1;
867
+ var tmp4 = this.p58_1;
868
+ var tmp6 = this.q58_1;
869
869
  // Inline function 'com.github.ajalt.colormath.internal.clamp3' call
870
- var alpha = this.alpha_1;
871
- var _destruct__k2r9zo = this.get_space_iyncv1_k$().get_components_rknech_k$();
870
+ var alpha = this.r58_1;
871
+ var _destruct__k2r9zo = this.l58().k59();
872
872
  // Inline function 'kotlin.collections.component1' call
873
- var c1 = _destruct__k2r9zo.get_c1px32_k$(0);
873
+ var c1 = _destruct__k2r9zo.x(0);
874
874
  // Inline function 'kotlin.collections.component2' call
875
- var c2 = _destruct__k2r9zo.get_c1px32_k$(1);
875
+ var c2 = _destruct__k2r9zo.x(1);
876
876
  // Inline function 'kotlin.collections.component3' call
877
- var c3 = _destruct__k2r9zo.get_c1px32_k$(2);
877
+ var c3 = _destruct__k2r9zo.x(2);
878
878
  var tmp;
879
879
  var tmp_0;
880
880
  var tmp_1;
881
881
  var tmp_2;
882
- var containsLower = c1.min_1;
883
- if (tmp2 <= c1.max_1 ? containsLower <= tmp2 : false) {
884
- var containsLower_0 = c2.min_1;
885
- tmp_2 = tmp4 <= c2.max_1 ? containsLower_0 <= tmp4 : false;
882
+ var containsLower = c1.v58_1;
883
+ if (tmp2 <= c1.w58_1 ? containsLower <= tmp2 : false) {
884
+ var containsLower_0 = c2.v58_1;
885
+ tmp_2 = tmp4 <= c2.w58_1 ? containsLower_0 <= tmp4 : false;
886
886
  } else {
887
887
  tmp_2 = false;
888
888
  }
889
889
  if (tmp_2) {
890
- var containsLower_1 = c3.min_1;
891
- tmp_1 = tmp6 <= c3.max_1 ? containsLower_1 <= tmp6 : false;
890
+ var containsLower_1 = c3.v58_1;
891
+ tmp_1 = tmp6 <= c3.w58_1 ? containsLower_1 <= tmp6 : false;
892
892
  } else {
893
893
  tmp_1 = false;
894
894
  }
@@ -900,34 +900,34 @@
900
900
  if (tmp_0) {
901
901
  tmp = this;
902
902
  } else {
903
- var tmp2_0 = coerceIn(tmp2, c1.min_1, c1.max_1);
904
- var tmp4_0 = coerceIn(tmp4, c2.min_1, c2.max_1);
905
- var tmp6_0 = coerceIn(tmp6, c3.min_1, c3.max_1);
903
+ var tmp2_0 = coerceIn(tmp2, c1.v58_1, c1.w58_1);
904
+ var tmp4_0 = coerceIn(tmp4, c2.v58_1, c2.w58_1);
905
+ var tmp6_0 = coerceIn(tmp6, c3.v58_1, c3.w58_1);
906
906
  var p3 = coerceIn(alpha, 0.0, 1.0);
907
- tmp = this.copy$default_mth4uh_k$(tmp2_0, tmp4_0, tmp6_0, p3);
907
+ tmp = this.v5b(tmp2_0, tmp4_0, tmp6_0, p3);
908
908
  }
909
909
  return tmp;
910
910
  };
911
- protoOf(RGB).copy_h90kdf_k$ = function (r, g, b, alpha, space) {
911
+ protoOf(RGB).w5b = function (r, g, b, alpha, space) {
912
912
  return new RGB(r, g, b, alpha, space);
913
913
  };
914
- protoOf(RGB).copy$default_mth4uh_k$ = function (r, g, b, alpha, space, $super) {
915
- r = r === VOID ? this.r_1 : r;
916
- g = g === VOID ? this.g_1 : g;
917
- b = b === VOID ? this.b_1 : b;
918
- alpha = alpha === VOID ? this.alpha_1 : alpha;
919
- space = space === VOID ? this.space_1 : space;
920
- return $super === VOID ? this.copy_h90kdf_k$(r, g, b, alpha, space) : $super.copy_h90kdf_k$.call(this, r, g, b, alpha, space);
914
+ protoOf(RGB).v5b = function (r, g, b, alpha, space, $super) {
915
+ r = r === VOID ? this.o58_1 : r;
916
+ g = g === VOID ? this.p58_1 : g;
917
+ b = b === VOID ? this.q58_1 : b;
918
+ alpha = alpha === VOID ? this.r58_1 : alpha;
919
+ space = space === VOID ? this.s58_1 : space;
920
+ return $super === VOID ? this.w5b(r, g, b, alpha, space) : $super.w5b.call(this, r, g, b, alpha, space);
921
921
  };
922
922
  protoOf(RGB).toString = function () {
923
- return 'RGB(r=' + this.r_1 + ', g=' + this.g_1 + ', b=' + this.b_1 + ', alpha=' + this.alpha_1 + ', space=' + toString(this.space_1) + ')';
923
+ return 'RGB(r=' + this.o58_1 + ', g=' + this.p58_1 + ', b=' + this.q58_1 + ', alpha=' + this.r58_1 + ', space=' + toString(this.s58_1) + ')';
924
924
  };
925
925
  protoOf(RGB).hashCode = function () {
926
- var result = getNumberHashCode(this.r_1);
927
- result = imul(result, 31) + getNumberHashCode(this.g_1) | 0;
928
- result = imul(result, 31) + getNumberHashCode(this.b_1) | 0;
929
- result = imul(result, 31) + getNumberHashCode(this.alpha_1) | 0;
930
- result = imul(result, 31) + hashCode(this.space_1) | 0;
926
+ var result = getNumberHashCode(this.o58_1);
927
+ result = imul(result, 31) + getNumberHashCode(this.p58_1) | 0;
928
+ result = imul(result, 31) + getNumberHashCode(this.q58_1) | 0;
929
+ result = imul(result, 31) + getNumberHashCode(this.r58_1) | 0;
930
+ result = imul(result, 31) + hashCode(this.s58_1) | 0;
931
931
  return result;
932
932
  };
933
933
  protoOf(RGB).equals = function (other) {
@@ -936,32 +936,32 @@
936
936
  if (!(other instanceof RGB))
937
937
  return false;
938
938
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
939
- if (!equals(this.r_1, tmp0_other_with_cast.r_1))
939
+ if (!equals(this.o58_1, tmp0_other_with_cast.o58_1))
940
940
  return false;
941
- if (!equals(this.g_1, tmp0_other_with_cast.g_1))
941
+ if (!equals(this.p58_1, tmp0_other_with_cast.p58_1))
942
942
  return false;
943
- if (!equals(this.b_1, tmp0_other_with_cast.b_1))
943
+ if (!equals(this.q58_1, tmp0_other_with_cast.q58_1))
944
944
  return false;
945
- if (!equals(this.alpha_1, tmp0_other_with_cast.alpha_1))
945
+ if (!equals(this.r58_1, tmp0_other_with_cast.r58_1))
946
946
  return false;
947
- if (!equals(this.space_1, tmp0_other_with_cast.space_1))
947
+ if (!equals(this.s58_1, tmp0_other_with_cast.s58_1))
948
948
  return false;
949
949
  return true;
950
950
  };
951
951
  function GammaTransferFunctions(gamma) {
952
- this.gamma_1 = gamma;
952
+ this.x5b_1 = gamma;
953
953
  }
954
- protoOf(GammaTransferFunctions).eotf_gr849w_k$ = function (x) {
955
- return spow(x, this.gamma_1);
954
+ protoOf(GammaTransferFunctions).a5b = function (x) {
955
+ return spow(x, this.x5b_1);
956
956
  };
957
- protoOf(GammaTransferFunctions).oetf_ymcw4w_k$ = function (x) {
958
- return spow(x, 1.0 / this.gamma_1);
957
+ protoOf(GammaTransferFunctions).b5b = function (x) {
958
+ return spow(x, 1.0 / this.x5b_1);
959
959
  };
960
960
  protoOf(GammaTransferFunctions).toString = function () {
961
- return 'GammaTransferFunctions(gamma=' + this.gamma_1 + ')';
961
+ return 'GammaTransferFunctions(gamma=' + this.x5b_1 + ')';
962
962
  };
963
963
  protoOf(GammaTransferFunctions).hashCode = function () {
964
- return getNumberHashCode(this.gamma_1);
964
+ return getNumberHashCode(this.x5b_1);
965
965
  };
966
966
  protoOf(GammaTransferFunctions).equals = function (other) {
967
967
  if (this === other)
@@ -969,16 +969,16 @@
969
969
  if (!(other instanceof GammaTransferFunctions))
970
970
  return false;
971
971
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
972
- if (!equals(this.gamma_1, tmp0_other_with_cast.gamma_1))
972
+ if (!equals(this.x5b_1, tmp0_other_with_cast.x5b_1))
973
973
  return false;
974
974
  return true;
975
975
  };
976
976
  function LinearTransferFunctions() {
977
977
  }
978
- protoOf(LinearTransferFunctions).eotf_gr849w_k$ = function (x) {
978
+ protoOf(LinearTransferFunctions).a5b = function (x) {
979
979
  return x;
980
980
  };
981
- protoOf(LinearTransferFunctions).oetf_ymcw4w_k$ = function (x) {
981
+ protoOf(LinearTransferFunctions).b5b = function (x) {
982
982
  return x;
983
983
  };
984
984
  var LinearTransferFunctions_instance;
@@ -1067,43 +1067,43 @@
1067
1067
  var ACES_AP1_B;
1068
1068
  function SRGB() {
1069
1069
  SRGB_instance = this;
1070
- this.$$delegate_0__1 = RGBColorSpaces_getInstance().SRGB_1;
1070
+ this.z59_1 = RGBColorSpaces_getInstance().f5a_1;
1071
1071
  }
1072
- protoOf(SRGB).invoke_22floo_k$ = function (r, g, b, alpha) {
1073
- return this.$$delegate_0__1.invoke_22floo_k$(r, g, b, alpha);
1072
+ protoOf(SRGB).y59 = function (r, g, b, alpha) {
1073
+ return this.z59_1.y59(r, g, b, alpha);
1074
1074
  };
1075
- protoOf(SRGB).invoke_m0jwvs_k$ = function (r, g, b, alpha) {
1076
- return this.$$delegate_0__1.invoke_m0jwvs_k$(r, g, b, alpha);
1075
+ protoOf(SRGB).c5b = function (r, g, b, alpha) {
1076
+ return this.z59_1.c5b(r, g, b, alpha);
1077
1077
  };
1078
- protoOf(SRGB).invoke_lt562m_k$ = function (hex) {
1079
- return this.$$delegate_0__1.invoke_lt562m_k$(hex);
1078
+ protoOf(SRGB).d5b = function (hex) {
1079
+ return this.z59_1.d5b(hex);
1080
1080
  };
1081
- protoOf(SRGB).from255_9wuvmg_k$ = function (r, g, b, alpha) {
1082
- return this.$$delegate_0__1.from255_9wuvmg_k$(r, g, b, alpha);
1081
+ protoOf(SRGB).e5b = function (r, g, b, alpha) {
1082
+ return this.z59_1.e5b(r, g, b, alpha);
1083
1083
  };
1084
- protoOf(SRGB).get_transferFunctions_9s8at5_k$ = function () {
1085
- return this.$$delegate_0__1.get_transferFunctions_9s8at5_k$();
1084
+ protoOf(SRGB).r5a = function () {
1085
+ return this.z59_1.r5a();
1086
1086
  };
1087
- protoOf(SRGB).get_matrixToXyz_7xl20k_k$ = function () {
1088
- return this.$$delegate_0__1.get_matrixToXyz_7xl20k_k$();
1087
+ protoOf(SRGB).f5b = function () {
1088
+ return this.z59_1.f5b();
1089
1089
  };
1090
- protoOf(SRGB).get_matrixFromXyz_wlcz1h_k$ = function () {
1091
- return this.$$delegate_0__1.get_matrixFromXyz_wlcz1h_k$();
1090
+ protoOf(SRGB).g5b = function () {
1091
+ return this.z59_1.g5b();
1092
1092
  };
1093
- protoOf(SRGB).get_whitePoint_g4n5ow_k$ = function () {
1094
- return this.$$delegate_0__1.get_whitePoint_g4n5ow_k$();
1093
+ protoOf(SRGB).h5b = function () {
1094
+ return this.z59_1.h5b();
1095
1095
  };
1096
- protoOf(SRGB).get_name_woqyms_k$ = function () {
1097
- return this.$$delegate_0__1.get_name_woqyms_k$();
1096
+ protoOf(SRGB).o2 = function () {
1097
+ return this.z59_1.o2();
1098
1098
  };
1099
- protoOf(SRGB).get_components_rknech_k$ = function () {
1100
- return this.$$delegate_0__1.get_components_rknech_k$();
1099
+ protoOf(SRGB).k59 = function () {
1100
+ return this.z59_1.k59();
1101
1101
  };
1102
1102
  protoOf(SRGB).equals = function (other) {
1103
- return equals(RGBColorSpaces_getInstance().SRGB_1, other);
1103
+ return equals(RGBColorSpaces_getInstance().f5a_1, other);
1104
1104
  };
1105
1105
  protoOf(SRGB).hashCode = function () {
1106
- return hashCode(RGBColorSpaces_getInstance().SRGB_1);
1106
+ return hashCode(RGBColorSpaces_getInstance().f5a_1);
1107
1107
  };
1108
1108
  protoOf(SRGB).toString = function () {
1109
1109
  return 'sRGB';
@@ -1115,17 +1115,17 @@
1115
1115
  return SRGB_instance;
1116
1116
  }
1117
1117
  function RGBColorSpaces$SRGB$lambda($this$RGBColorSpaceImpl, it) {
1118
- return it.toSRGB_edbzwr_k$();
1118
+ return it.m58();
1119
1119
  }
1120
1120
  function RGBColorSpaces$BT2020$lambda($this$RGBColorSpaceImpl, color) {
1121
1121
  var tmp;
1122
1122
  if (color instanceof RGB) {
1123
- tmp = color.convertTo_ymjy3u_k$($this$RGBColorSpaceImpl);
1123
+ tmp = color.l5b($this$RGBColorSpaceImpl);
1124
1124
  } else {
1125
1125
  if (color instanceof ICtCp) {
1126
- tmp = color.toBT2020_x2ndl5_k$();
1126
+ tmp = color.e5a();
1127
1127
  } else {
1128
- tmp = color.toXYZ_1tsvtq_k$().toRGB_vphcti_k$($this$RGBColorSpaceImpl);
1128
+ tmp = color.n58().r5b($this$RGBColorSpaceImpl);
1129
1129
  }
1130
1130
  }
1131
1131
  return tmp;
@@ -1133,29 +1133,29 @@
1133
1133
  function RGBColorSpaces() {
1134
1134
  RGBColorSpaces_instance = this;
1135
1135
  var tmp = this;
1136
- var tmp_0 = Illuminant_getInstance().D65__1;
1136
+ var tmp_0 = Illuminant_getInstance().e59_1;
1137
1137
  var tmp_1 = SRGBTransferFunctions_instance;
1138
1138
  var tmp_2 = get_SRGB_R();
1139
1139
  var tmp_3 = get_SRGB_G();
1140
1140
  var tmp_4 = get_SRGB_B();
1141
- tmp.SRGB_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1142
- this.LinearSRGB_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().D65__1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1143
- this.ACES_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1144
- this.ACEScc_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1145
- this.ACEScct_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1146
- this.ACEScg_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1147
- this.AdobeRGB_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().D65__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));
1141
+ tmp.f5a_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1142
+ this.g5a_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().e59_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1143
+ this.h5a_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1144
+ this.i5a_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1145
+ this.j5a_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1146
+ this.k5a_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1147
+ this.l5a_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().e59_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));
1148
1148
  var tmp_5 = this;
1149
- var tmp_6 = Illuminant_getInstance().D65__1;
1149
+ var tmp_6 = Illuminant_getInstance().e59_1;
1150
1150
  var tmp_7 = BT2020TransferFunctions_getInstance();
1151
1151
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
1152
1152
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
1153
1153
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
1154
- tmp_5.BT2020__1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1155
- this.BT709__1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().D65__1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1156
- this.DCI_P3__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));
1157
- this.DisplayP3__1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().D65__1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1158
- this.ROMM_RGB_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().D50__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));
1154
+ tmp_5.m5a_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1155
+ this.n5a_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().e59_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1156
+ this.o5a_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));
1157
+ this.p5a_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().e59_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1158
+ this.q5a_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().c59_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));
1159
1159
  }
1160
1160
  var RGBColorSpaces_instance;
1161
1161
  function RGBColorSpaces_getInstance() {
@@ -1164,39 +1164,39 @@
1164
1164
  return RGBColorSpaces_instance;
1165
1165
  }
1166
1166
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
1167
- this.name_1 = name;
1168
- this.whitePoint_1 = whitePoint;
1169
- this.transferFunctions_1 = transferFunctions;
1170
- this.r_1 = r;
1171
- this.g_1 = g;
1172
- this.b_1 = b;
1173
- this.convertImpl_1 = convertImpl;
1174
- this.components_1 = zeroOneComponentInfo('RGB');
1175
- this.matrixToXyz_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.whitePoint_1, this.r_1, this.g_1, this.b_1));
1176
- this.matrixFromXyz_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.matrixToXyz_1)));
1167
+ this.y5b_1 = name;
1168
+ this.z5b_1 = whitePoint;
1169
+ this.a5c_1 = transferFunctions;
1170
+ this.b5c_1 = r;
1171
+ this.c5c_1 = g;
1172
+ this.d5c_1 = b;
1173
+ this.e5c_1 = convertImpl;
1174
+ this.f5c_1 = zeroOneComponentInfo('RGB');
1175
+ this.g5c_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.z5b_1, this.b5c_1, this.c5c_1, this.d5c_1));
1176
+ this.h5c_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.g5c_1)));
1177
1177
  }
1178
- protoOf(RGBColorSpaceImpl).get_name_woqyms_k$ = function () {
1179
- return this.name_1;
1178
+ protoOf(RGBColorSpaceImpl).o2 = function () {
1179
+ return this.y5b_1;
1180
1180
  };
1181
- protoOf(RGBColorSpaceImpl).get_whitePoint_g4n5ow_k$ = function () {
1182
- return this.whitePoint_1;
1181
+ protoOf(RGBColorSpaceImpl).h5b = function () {
1182
+ return this.z5b_1;
1183
1183
  };
1184
- protoOf(RGBColorSpaceImpl).get_transferFunctions_9s8at5_k$ = function () {
1185
- return this.transferFunctions_1;
1184
+ protoOf(RGBColorSpaceImpl).r5a = function () {
1185
+ return this.a5c_1;
1186
1186
  };
1187
- protoOf(RGBColorSpaceImpl).get_components_rknech_k$ = function () {
1188
- return this.components_1;
1187
+ protoOf(RGBColorSpaceImpl).k59 = function () {
1188
+ return this.f5c_1;
1189
1189
  };
1190
- protoOf(RGBColorSpaceImpl).get_matrixToXyz_7xl20k_k$ = function () {
1191
- return this.matrixToXyz_1;
1190
+ protoOf(RGBColorSpaceImpl).f5b = function () {
1191
+ return this.g5c_1;
1192
1192
  };
1193
- protoOf(RGBColorSpaceImpl).get_matrixFromXyz_wlcz1h_k$ = function () {
1194
- return this.matrixFromXyz_1;
1193
+ protoOf(RGBColorSpaceImpl).g5b = function () {
1194
+ return this.h5c_1;
1195
1195
  };
1196
1196
  protoOf(RGBColorSpaceImpl).toString = function () {
1197
- return this.name_1;
1197
+ return this.y5b_1;
1198
1198
  };
1199
- protoOf(RGBColorSpaceImpl).invoke_22floo_k$ = function (r, g, b, alpha) {
1199
+ protoOf(RGBColorSpaceImpl).y59 = function (r, g, b, alpha) {
1200
1200
  return new RGB(r, g, b, alpha, this);
1201
1201
  };
1202
1202
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1204,42 +1204,42 @@
1204
1204
  return true;
1205
1205
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
1206
1206
  return false;
1207
- if (!(this.name_1 === other.get_name_woqyms_k$()))
1207
+ if (!(this.y5b_1 === other.o2()))
1208
1208
  return false;
1209
- if (!this.whitePoint_1.equals(other.get_whitePoint_g4n5ow_k$()))
1209
+ if (!this.z5b_1.equals(other.h5b()))
1210
1210
  return false;
1211
- if (!equals(this.transferFunctions_1, other.get_transferFunctions_9s8at5_k$()))
1211
+ if (!equals(this.a5c_1, other.r5a()))
1212
1212
  return false;
1213
1213
  if (other instanceof RGBColorSpaceImpl) {
1214
- if (!this.r_1.equals(other.r_1))
1214
+ if (!this.b5c_1.equals(other.b5c_1))
1215
1215
  return false;
1216
- if (!this.g_1.equals(other.g_1))
1216
+ if (!this.c5c_1.equals(other.c5c_1))
1217
1217
  return false;
1218
- if (!this.b_1.equals(other.b_1))
1218
+ if (!this.d5c_1.equals(other.d5c_1))
1219
1219
  return false;
1220
1220
  } else {
1221
- if (!contentEquals(this.matrixToXyz_1, other.get_matrixToXyz_7xl20k_k$()))
1221
+ if (!contentEquals(this.g5c_1, other.f5b()))
1222
1222
  return false;
1223
- if (!contentEquals(this.matrixFromXyz_1, other.get_matrixFromXyz_wlcz1h_k$()))
1223
+ if (!contentEquals(this.h5c_1, other.g5b()))
1224
1224
  return false;
1225
1225
  }
1226
1226
  return true;
1227
1227
  };
1228
1228
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1229
- var result = getStringHashCode(this.name_1);
1230
- result = imul(31, result) + this.whitePoint_1.hashCode() | 0;
1231
- result = imul(31, result) + hashCode(this.transferFunctions_1) | 0;
1232
- result = imul(31, result) + this.r_1.hashCode() | 0;
1233
- result = imul(31, result) + this.g_1.hashCode() | 0;
1234
- result = imul(31, result) + this.b_1.hashCode() | 0;
1229
+ var result = getStringHashCode(this.y5b_1);
1230
+ result = imul(31, result) + this.z5b_1.hashCode() | 0;
1231
+ result = imul(31, result) + hashCode(this.a5c_1) | 0;
1232
+ result = imul(31, result) + this.b5c_1.hashCode() | 0;
1233
+ result = imul(31, result) + this.c5c_1.hashCode() | 0;
1234
+ result = imul(31, result) + this.d5c_1.hashCode() | 0;
1235
1235
  return result;
1236
1236
  };
1237
1237
  function SRGBTransferFunctions() {
1238
1238
  }
1239
- protoOf(SRGBTransferFunctions).oetf_ymcw4w_k$ = function (x) {
1239
+ protoOf(SRGBTransferFunctions).b5b = function (x) {
1240
1240
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1241
1241
  };
1242
- protoOf(SRGBTransferFunctions).eotf_gr849w_k$ = function (x) {
1242
+ protoOf(SRGBTransferFunctions).a5b = function (x) {
1243
1243
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1244
1244
  };
1245
1245
  var SRGBTransferFunctions_instance;
@@ -1252,18 +1252,18 @@
1252
1252
  }
1253
1253
  function ACESccTransferFunctions() {
1254
1254
  ACESccTransferFunctions_instance = this;
1255
- this.twoN15__1 = 3.0517578125E-5;
1256
- this.twoN16__1 = 1.52587890625E-5;
1257
- this.eotfC1__1 = -0.3013698630136986;
1255
+ this.i5c_1 = 3.0517578125E-5;
1256
+ this.j5c_1 = 1.52587890625E-5;
1257
+ this.k5c_1 = -0.3013698630136986;
1258
1258
  var tmp = this;
1259
1259
  // Inline function 'kotlin.math.log2' call
1260
- tmp.eotfC2__1 = (log2(65504.0) + 9.72) / 17.52;
1260
+ tmp.l5c_1 = (log2(65504.0) + 9.72) / 17.52;
1261
1261
  }
1262
- protoOf(ACESccTransferFunctions).eotf_gr849w_k$ = function (x) {
1262
+ protoOf(ACESccTransferFunctions).a5b = function (x) {
1263
1263
  var tmp;
1264
1264
  if (x <= -0.3013698630136986) {
1265
1265
  tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
1266
- } else if (x < this.eotfC2__1) {
1266
+ } else if (x < this.l5c_1) {
1267
1267
  // Inline function 'kotlin.math.pow' call
1268
1268
  var x_0 = x * 17.52 - 9.72;
1269
1269
  tmp = Math.pow(2.0, x_0);
@@ -1272,7 +1272,7 @@
1272
1272
  }
1273
1273
  return tmp;
1274
1274
  };
1275
- protoOf(ACESccTransferFunctions).oetf_ymcw4w_k$ = function (x) {
1275
+ protoOf(ACESccTransferFunctions).b5b = function (x) {
1276
1276
  var tmp;
1277
1277
  if (x < 3.0517578125E-5) {
1278
1278
  // Inline function 'kotlin.math.log2' call
@@ -1292,17 +1292,17 @@
1292
1292
  }
1293
1293
  function ACEScctTransferFunctions() {
1294
1294
  ACEScctTransferFunctions_instance = this;
1295
- this.a_1 = 10.5402377416545;
1296
- this.b_1 = 0.0729055341958355;
1295
+ this.m5c_1 = 10.5402377416545;
1296
+ this.n5c_1 = 0.0729055341958355;
1297
1297
  var tmp = this;
1298
1298
  // Inline function 'kotlin.math.log2' call
1299
- tmp.eotfC2__1 = (log2(65504.0) + 9.72) / 17.52;
1299
+ tmp.o5c_1 = (log2(65504.0) + 9.72) / 17.52;
1300
1300
  }
1301
- protoOf(ACEScctTransferFunctions).eotf_gr849w_k$ = function (x) {
1301
+ protoOf(ACEScctTransferFunctions).a5b = function (x) {
1302
1302
  var tmp;
1303
1303
  if (x <= 0.155251141552511) {
1304
1304
  tmp = (x - 0.0729055341958355) / 10.5402377416545;
1305
- } else if (x < this.eotfC2__1) {
1305
+ } else if (x < this.o5c_1) {
1306
1306
  // Inline function 'kotlin.math.pow' call
1307
1307
  var x_0 = x * 17.52 - 9.72;
1308
1308
  tmp = Math.pow(2.0, x_0);
@@ -1311,7 +1311,7 @@
1311
1311
  }
1312
1312
  return tmp;
1313
1313
  };
1314
- protoOf(ACEScctTransferFunctions).oetf_ymcw4w_k$ = function (x) {
1314
+ protoOf(ACEScctTransferFunctions).b5b = function (x) {
1315
1315
  var tmp;
1316
1316
  if (x < 0.0078125) {
1317
1317
  tmp = 10.5402377416545 * x + 0.0729055341958355;
@@ -1329,16 +1329,16 @@
1329
1329
  }
1330
1330
  function BT2020TransferFunctions() {
1331
1331
  BT2020TransferFunctions_instance = this;
1332
- this.a_1 = 1.0993;
1333
- this.b_1 = 0.0181;
1332
+ this.p5c_1 = 1.0993;
1333
+ this.q5c_1 = 0.0181;
1334
1334
  var tmp = this;
1335
1335
  // Inline function 'kotlin.math.pow' call
1336
- tmp.eotfCutoff_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1336
+ tmp.r5c_1 = 1.0993 * Math.pow(0.0181, 0.45) - (1.0993 - 1);
1337
1337
  }
1338
- protoOf(BT2020TransferFunctions).eotf_gr849w_k$ = function (x) {
1339
- return numberToDouble(x < this.eotfCutoff_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1338
+ protoOf(BT2020TransferFunctions).a5b = function (x) {
1339
+ return numberToDouble(x < this.r5c_1 ? x / 4.5 : spow_0((x + (1.0993 - 1)) / 1.0993, 1 / 0.45));
1340
1340
  };
1341
- protoOf(BT2020TransferFunctions).oetf_ymcw4w_k$ = function (x) {
1341
+ protoOf(BT2020TransferFunctions).b5b = function (x) {
1342
1342
  return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - (1.0993 - 1);
1343
1343
  };
1344
1344
  var BT2020TransferFunctions_instance;
@@ -1349,12 +1349,12 @@
1349
1349
  }
1350
1350
  function BT709TransferFunctions() {
1351
1351
  BT709TransferFunctions_instance = this;
1352
- this.eotfC_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1352
+ this.s5c_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1353
1353
  }
1354
- protoOf(BT709TransferFunctions).eotf_gr849w_k$ = function (x) {
1355
- return numberToDouble(x < this.eotfC_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1354
+ protoOf(BT709TransferFunctions).a5b = function (x) {
1355
+ return numberToDouble(x < this.s5c_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1356
1356
  };
1357
- protoOf(BT709TransferFunctions).oetf_ymcw4w_k$ = function (x) {
1357
+ protoOf(BT709TransferFunctions).b5b = function (x) {
1358
1358
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1359
1359
  };
1360
1360
  var BT709TransferFunctions_instance;
@@ -1364,12 +1364,12 @@
1364
1364
  return BT709TransferFunctions_instance;
1365
1365
  }
1366
1366
  function ROMMTransferFunctions() {
1367
- this.c_1 = 0.001953;
1367
+ this.t5c_1 = 0.001953;
1368
1368
  }
1369
- protoOf(ROMMTransferFunctions).eotf_gr849w_k$ = function (x) {
1369
+ protoOf(ROMMTransferFunctions).a5b = function (x) {
1370
1370
  return x < 16 * 0.001953 ? x / 16.0 : spow(x, 1.8);
1371
1371
  };
1372
- protoOf(ROMMTransferFunctions).oetf_ymcw4w_k$ = function (x) {
1372
+ protoOf(ROMMTransferFunctions).b5b = function (x) {
1373
1373
  return x < 0.001953 ? x * 16.0 : spow(x, 1.0 / 1.8);
1374
1374
  };
1375
1375
  var ROMMTransferFunctions_instance;
@@ -1378,13 +1378,13 @@
1378
1378
  }
1379
1379
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1380
1380
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1381
- var primaries = _Matrix___init__impl__q3kp4w_0(r.x_1, g.x_1, b.x_1, r.y_1, g.y_1, b.y_1, r.get_z_1mhr69_k$(), g.get_z_1mhr69_k$(), b.get_z_1mhr69_k$());
1382
- var wp = whitePoint.chromaticity_1;
1381
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.u5c_1, g.u5c_1, b.u5c_1, r.v5c_1, g.v5c_1, b.v5c_1, r.x5c(), g.x5c(), b.x5c());
1382
+ var wp = whitePoint.y58_1;
1383
1383
  var tmp0 = inverse(primaries);
1384
- var tmp2 = wp.get_X_1mhr5b_k$();
1385
- var tmp4 = wp.Y_1;
1384
+ var tmp2 = wp.y5c();
1385
+ var tmp4 = wp.w5c_1;
1386
1386
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1387
- var v2 = wp.get_Z_1mhr5d_k$();
1387
+ var v2 = wp.z5c();
1388
1388
  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;
1389
1389
  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;
1390
1390
  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;
@@ -1394,9 +1394,9 @@
1394
1394
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1395
1395
  var tmp;
1396
1396
  if (color instanceof RGB) {
1397
- tmp = color.convertTo_ymjy3u_k$($this$RGBColorSpaceImpl);
1397
+ tmp = color.l5b($this$RGBColorSpaceImpl);
1398
1398
  } else {
1399
- tmp = color.toXYZ_1tsvtq_k$().toRGB_vphcti_k$($this$RGBColorSpaceImpl);
1399
+ tmp = color.n58().r5b($this$RGBColorSpaceImpl);
1400
1400
  }
1401
1401
  return tmp;
1402
1402
  }
@@ -1418,25 +1418,25 @@
1418
1418
  }
1419
1419
  function Companion_3() {
1420
1420
  Companion_instance_3 = this;
1421
- this.$$delegate_0__1 = XYZColorSpaces_getInstance().XYZ65__1;
1421
+ this.a5d_1 = XYZColorSpaces_getInstance().b5d_1;
1422
1422
  }
1423
- protoOf(Companion_3).invoke_22floo_k$ = function (x, y, z, alpha) {
1424
- return this.$$delegate_0__1.invoke_22floo_k$(x, y, z, alpha);
1423
+ protoOf(Companion_3).y59 = function (x, y, z, alpha) {
1424
+ return this.a5d_1.y59(x, y, z, alpha);
1425
1425
  };
1426
- protoOf(Companion_3).get_whitePoint_g4n5ow_k$ = function () {
1427
- return this.$$delegate_0__1.get_whitePoint_g4n5ow_k$();
1426
+ protoOf(Companion_3).h5b = function () {
1427
+ return this.a5d_1.h5b();
1428
1428
  };
1429
- protoOf(Companion_3).get_name_woqyms_k$ = function () {
1430
- return this.$$delegate_0__1.get_name_woqyms_k$();
1429
+ protoOf(Companion_3).o2 = function () {
1430
+ return this.a5d_1.o2();
1431
1431
  };
1432
- protoOf(Companion_3).get_components_rknech_k$ = function () {
1433
- return this.$$delegate_0__1.get_components_rknech_k$();
1432
+ protoOf(Companion_3).k59 = function () {
1433
+ return this.a5d_1.k59();
1434
1434
  };
1435
1435
  protoOf(Companion_3).hashCode = function () {
1436
- return hashCode(XYZColorSpaces_getInstance().XYZ65__1);
1436
+ return hashCode(XYZColorSpaces_getInstance().b5d_1);
1437
1437
  };
1438
1438
  protoOf(Companion_3).equals = function (other) {
1439
- return equals(XYZColorSpaces_getInstance().XYZ65__1, other);
1439
+ return equals(XYZColorSpaces_getInstance().b5d_1, other);
1440
1440
  };
1441
1441
  var Companion_instance_3;
1442
1442
  function Companion_getInstance_3() {
@@ -1445,69 +1445,69 @@
1445
1445
  return Companion_instance_3;
1446
1446
  }
1447
1447
  function adaptToM($this, space, m, mi) {
1448
- if (space.get_whitePoint_g4n5ow_k$().equals($this.space_1.get_whitePoint_g4n5ow_k$()))
1448
+ if (space.h5b().equals($this.q5b_1.h5b()))
1449
1449
  return $this;
1450
- var transform = chromaticAdaptationMatrix(space, $this.space_1.get_whitePoint_g4n5ow_k$().chromaticity_1, m, mi);
1451
- var tmp2 = $this.x_1;
1452
- var tmp4 = $this.y_1;
1450
+ var transform = chromaticAdaptationMatrix(space, $this.q5b_1.h5b().y58_1, m, mi);
1451
+ var tmp2 = $this.m5b_1;
1452
+ var tmp4 = $this.n5b_1;
1453
1453
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1454
- var v2 = $this.z_1;
1454
+ var v2 = $this.o5b_1;
1455
1455
  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;
1456
1456
  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;
1457
1457
  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;
1458
- return space.invoke_22floo_k$(tmp0, tmp2_0, zz, $this.alpha_1);
1458
+ return space.y59(tmp0, tmp2_0, zz, $this.p5b_1);
1459
1459
  }
1460
1460
  function XYZ(x, y, z, alpha, space) {
1461
1461
  Companion_getInstance_3();
1462
- this.x_1 = x;
1463
- this.y_1 = y;
1464
- this.z_1 = z;
1465
- this.alpha_1 = alpha;
1466
- this.space_1 = space;
1462
+ this.m5b_1 = x;
1463
+ this.n5b_1 = y;
1464
+ this.o5b_1 = z;
1465
+ this.p5b_1 = alpha;
1466
+ this.q5b_1 = space;
1467
1467
  }
1468
- protoOf(XYZ).get_space_iyncv1_k$ = function () {
1469
- return this.space_1;
1468
+ protoOf(XYZ).l58 = function () {
1469
+ return this.q5b_1;
1470
1470
  };
1471
- protoOf(XYZ).adaptTo_m4sxuh_k$ = function (space) {
1471
+ protoOf(XYZ).d5d = function (space) {
1472
1472
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
1473
1473
  };
1474
- protoOf(XYZ).toRGB_vphcti_k$ = function (space) {
1475
- var _destruct__k2r9zo = this.adaptTo_m4sxuh_k$(XYZColorSpace_0(space.get_whitePoint_g4n5ow_k$()));
1476
- var x = _destruct__k2r9zo.component1_7eebsc_k$();
1477
- var y = _destruct__k2r9zo.component2_7eebsb_k$();
1478
- var z = _destruct__k2r9zo.component3_7eebsa_k$();
1479
- var f = space.get_transferFunctions_9s8at5_k$();
1474
+ protoOf(XYZ).r5b = function (space) {
1475
+ var _destruct__k2r9zo = this.d5d(XYZColorSpace_0(space.h5b()));
1476
+ var x = _destruct__k2r9zo.ae();
1477
+ var y = _destruct__k2r9zo.be();
1478
+ var z = _destruct__k2r9zo.bk();
1479
+ var f = space.r5a();
1480
1480
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1481
- var this_0 = _Matrix___init__impl__q3kp4w(space.get_matrixFromXyz_wlcz1h_k$());
1481
+ var this_0 = _Matrix___init__impl__q3kp4w(space.g5b());
1482
1482
  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;
1483
1483
  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;
1484
1484
  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;
1485
- return space.invoke_22floo_k$(f.oetf_ymcw4w_k$(tmp0), f.oetf_ymcw4w_k$(tmp2), f.oetf_ymcw4w_k$(b), this.alpha_1);
1485
+ return space.y59(f.b5b(tmp0), f.b5b(tmp2), f.b5b(b), this.p5b_1);
1486
1486
  };
1487
- protoOf(XYZ).toSRGB_edbzwr_k$ = function () {
1488
- return this.toRGB_vphcti_k$(RGBColorSpaces_getInstance().SRGB_1);
1487
+ protoOf(XYZ).m58 = function () {
1488
+ return this.r5b(RGBColorSpaces_getInstance().f5a_1);
1489
1489
  };
1490
- protoOf(XYZ).toXYZ_1tsvtq_k$ = function () {
1490
+ protoOf(XYZ).n58 = function () {
1491
1491
  return this;
1492
1492
  };
1493
- protoOf(XYZ).component1_7eebsc_k$ = function () {
1494
- return this.x_1;
1493
+ protoOf(XYZ).ae = function () {
1494
+ return this.m5b_1;
1495
1495
  };
1496
- protoOf(XYZ).component2_7eebsb_k$ = function () {
1497
- return this.y_1;
1496
+ protoOf(XYZ).be = function () {
1497
+ return this.n5b_1;
1498
1498
  };
1499
- protoOf(XYZ).component3_7eebsa_k$ = function () {
1500
- return this.z_1;
1499
+ protoOf(XYZ).bk = function () {
1500
+ return this.o5b_1;
1501
1501
  };
1502
1502
  protoOf(XYZ).toString = function () {
1503
- return 'XYZ(x=' + this.x_1 + ', y=' + this.y_1 + ', z=' + this.z_1 + ', alpha=' + this.alpha_1 + ', space=' + toString(this.space_1) + ')';
1503
+ return 'XYZ(x=' + this.m5b_1 + ', y=' + this.n5b_1 + ', z=' + this.o5b_1 + ', alpha=' + this.p5b_1 + ', space=' + toString(this.q5b_1) + ')';
1504
1504
  };
1505
1505
  protoOf(XYZ).hashCode = function () {
1506
- var result = getNumberHashCode(this.x_1);
1507
- result = imul(result, 31) + getNumberHashCode(this.y_1) | 0;
1508
- result = imul(result, 31) + getNumberHashCode(this.z_1) | 0;
1509
- result = imul(result, 31) + getNumberHashCode(this.alpha_1) | 0;
1510
- result = imul(result, 31) + hashCode(this.space_1) | 0;
1506
+ var result = getNumberHashCode(this.m5b_1);
1507
+ result = imul(result, 31) + getNumberHashCode(this.n5b_1) | 0;
1508
+ result = imul(result, 31) + getNumberHashCode(this.o5b_1) | 0;
1509
+ result = imul(result, 31) + getNumberHashCode(this.p5b_1) | 0;
1510
+ result = imul(result, 31) + hashCode(this.q5b_1) | 0;
1511
1511
  return result;
1512
1512
  };
1513
1513
  protoOf(XYZ).equals = function (other) {
@@ -1516,15 +1516,15 @@
1516
1516
  if (!(other instanceof XYZ))
1517
1517
  return false;
1518
1518
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
1519
- if (!equals(this.x_1, tmp0_other_with_cast.x_1))
1519
+ if (!equals(this.m5b_1, tmp0_other_with_cast.m5b_1))
1520
1520
  return false;
1521
- if (!equals(this.y_1, tmp0_other_with_cast.y_1))
1521
+ if (!equals(this.n5b_1, tmp0_other_with_cast.n5b_1))
1522
1522
  return false;
1523
- if (!equals(this.z_1, tmp0_other_with_cast.z_1))
1523
+ if (!equals(this.o5b_1, tmp0_other_with_cast.o5b_1))
1524
1524
  return false;
1525
- if (!equals(this.alpha_1, tmp0_other_with_cast.alpha_1))
1525
+ if (!equals(this.p5b_1, tmp0_other_with_cast.p5b_1))
1526
1526
  return false;
1527
- if (!equals(this.space_1, tmp0_other_with_cast.space_1))
1527
+ if (!equals(this.q5b_1, tmp0_other_with_cast.q5b_1))
1528
1528
  return false;
1529
1529
  return true;
1530
1530
  };
@@ -1532,8 +1532,8 @@
1532
1532
  }
1533
1533
  function XYZColorSpaces() {
1534
1534
  XYZColorSpaces_instance = this;
1535
- this.XYZ65__1 = new XYZColorSpaceImpl(Illuminant_getInstance().D65__1);
1536
- this.XYZ50__1 = new XYZColorSpaceImpl(Illuminant_getInstance().D50__1);
1535
+ this.b5d_1 = new XYZColorSpaceImpl(Illuminant_getInstance().e59_1);
1536
+ this.c5d_1 = new XYZColorSpaceImpl(Illuminant_getInstance().c59_1);
1537
1537
  }
1538
1538
  var XYZColorSpaces_instance;
1539
1539
  function XYZColorSpaces_getInstance() {
@@ -1542,42 +1542,42 @@
1542
1542
  return XYZColorSpaces_instance;
1543
1543
  }
1544
1544
  function XYZColorSpace_0(whitePoint) {
1545
- return whitePoint.equals(Illuminant_getInstance().D65__1) ? XYZColorSpaces_getInstance().XYZ65__1 : whitePoint.equals(Illuminant_getInstance().D50__1) ? XYZColorSpaces_getInstance().XYZ50__1 : new XYZColorSpaceImpl(whitePoint);
1545
+ return whitePoint.equals(Illuminant_getInstance().e59_1) ? XYZColorSpaces_getInstance().b5d_1 : whitePoint.equals(Illuminant_getInstance().c59_1) ? XYZColorSpaces_getInstance().c5d_1 : new XYZColorSpaceImpl(whitePoint);
1546
1546
  }
1547
1547
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
1548
1548
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
1549
1549
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
1550
- var dstWp = _this__u8e3s4.get_whitePoint_g4n5ow_k$().chromaticity_1;
1551
- var src = dot_0(xyzToLms, srcWp.get_X_1mhr5b_k$(), srcWp.Y_1, srcWp.get_Z_1mhr5d_k$());
1552
- var dst = dot_0(xyzToLms, dstWp.get_X_1mhr5b_k$(), dstWp.Y_1, dstWp.get_Z_1mhr5d_k$());
1550
+ var dstWp = _this__u8e3s4.h5b().y58_1;
1551
+ var src = dot_0(xyzToLms, srcWp.y5c(), srcWp.w5c_1, srcWp.z5c());
1552
+ var dst = dot_0(xyzToLms, dstWp.y5c(), dstWp.w5c_1, dstWp.z5c());
1553
1553
  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);
1554
1554
  }
1555
1555
  function XYZColorSpaceImpl(whitePoint) {
1556
- this.whitePoint_1 = whitePoint;
1557
- this.components_1 = zeroOneComponentInfo('XYZ');
1556
+ this.e5d_1 = whitePoint;
1557
+ this.f5d_1 = zeroOneComponentInfo('XYZ');
1558
1558
  }
1559
- protoOf(XYZColorSpaceImpl).get_whitePoint_g4n5ow_k$ = function () {
1560
- return this.whitePoint_1;
1559
+ protoOf(XYZColorSpaceImpl).h5b = function () {
1560
+ return this.e5d_1;
1561
1561
  };
1562
- protoOf(XYZColorSpaceImpl).get_name_woqyms_k$ = function () {
1562
+ protoOf(XYZColorSpaceImpl).o2 = function () {
1563
1563
  return 'XYZ';
1564
1564
  };
1565
- protoOf(XYZColorSpaceImpl).get_components_rknech_k$ = function () {
1566
- return this.components_1;
1565
+ protoOf(XYZColorSpaceImpl).k59 = function () {
1566
+ return this.f5d_1;
1567
1567
  };
1568
1568
  protoOf(XYZColorSpaceImpl).toString = function () {
1569
- return 'XYZColorSpace(' + this.whitePoint_1.toString() + ')';
1569
+ return 'XYZColorSpace(' + this.e5d_1.toString() + ')';
1570
1570
  };
1571
- protoOf(XYZColorSpaceImpl).invoke_22floo_k$ = function (x, y, z, alpha) {
1571
+ protoOf(XYZColorSpaceImpl).y59 = function (x, y, z, alpha) {
1572
1572
  return new XYZ(x, y, z, alpha, this);
1573
1573
  };
1574
1574
  protoOf(XYZColorSpaceImpl).hashCode = function () {
1575
- return this.whitePoint_1.hashCode();
1575
+ return this.e5d_1.hashCode();
1576
1576
  };
1577
1577
  protoOf(XYZColorSpaceImpl).equals = function (other) {
1578
1578
  var tmp;
1579
1579
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
1580
- tmp = this.whitePoint_1.equals(other.get_whitePoint_g4n5ow_k$());
1580
+ tmp = this.e5d_1.equals(other.h5b());
1581
1581
  } else {
1582
1582
  tmp = false;
1583
1583
  }
@@ -1593,26 +1593,26 @@
1593
1593
  }
1594
1594
  function xyY(x, y, Y) {
1595
1595
  Y = Y === VOID ? 1.0 : Y;
1596
- this.x_1 = x;
1597
- this.y_1 = y;
1598
- this.Y_1 = Y;
1596
+ this.u5c_1 = x;
1597
+ this.v5c_1 = y;
1598
+ this.w5c_1 = Y;
1599
1599
  }
1600
- protoOf(xyY).get_z_1mhr69_k$ = function () {
1601
- return 1 - this.x_1 - this.y_1;
1600
+ protoOf(xyY).x5c = function () {
1601
+ return 1 - this.u5c_1 - this.v5c_1;
1602
1602
  };
1603
- protoOf(xyY).get_X_1mhr5b_k$ = function () {
1604
- return this.x_1 * this.Y_1 / this.y_1;
1603
+ protoOf(xyY).y5c = function () {
1604
+ return this.u5c_1 * this.w5c_1 / this.v5c_1;
1605
1605
  };
1606
- protoOf(xyY).get_Z_1mhr5d_k$ = function () {
1607
- return (1 - this.x_1 - this.y_1) * this.Y_1 / this.y_1;
1606
+ protoOf(xyY).z5c = function () {
1607
+ return (1 - this.u5c_1 - this.v5c_1) * this.w5c_1 / this.v5c_1;
1608
1608
  };
1609
1609
  protoOf(xyY).toString = function () {
1610
- return 'xyY(x=' + this.x_1 + ', y=' + this.y_1 + ', Y=' + this.Y_1 + ')';
1610
+ return 'xyY(x=' + this.u5c_1 + ', y=' + this.v5c_1 + ', Y=' + this.w5c_1 + ')';
1611
1611
  };
1612
1612
  protoOf(xyY).hashCode = function () {
1613
- var result = getNumberHashCode(this.x_1);
1614
- result = imul(result, 31) + getNumberHashCode(this.y_1) | 0;
1615
- result = imul(result, 31) + getNumberHashCode(this.Y_1) | 0;
1613
+ var result = getNumberHashCode(this.u5c_1);
1614
+ result = imul(result, 31) + getNumberHashCode(this.v5c_1) | 0;
1615
+ result = imul(result, 31) + getNumberHashCode(this.w5c_1) | 0;
1616
1616
  return result;
1617
1617
  };
1618
1618
  protoOf(xyY).equals = function (other) {
@@ -1621,30 +1621,30 @@
1621
1621
  if (!(other instanceof xyY))
1622
1622
  return false;
1623
1623
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
1624
- if (!equals(this.x_1, tmp0_other_with_cast.x_1))
1624
+ if (!equals(this.u5c_1, tmp0_other_with_cast.u5c_1))
1625
1625
  return false;
1626
- if (!equals(this.y_1, tmp0_other_with_cast.y_1))
1626
+ if (!equals(this.v5c_1, tmp0_other_with_cast.v5c_1))
1627
1627
  return false;
1628
- if (!equals(this.Y_1, tmp0_other_with_cast.Y_1))
1628
+ if (!equals(this.w5c_1, tmp0_other_with_cast.w5c_1))
1629
1629
  return false;
1630
1630
  return true;
1631
1631
  };
1632
1632
  //region block: post-declaration
1633
- protoOf(Ansi16).toXYZ_1tsvtq_k$ = toXYZ;
1634
- protoOf(Ansi256).toXYZ_1tsvtq_k$ = toXYZ;
1635
- protoOf(HSV).toXYZ_1tsvtq_k$ = toXYZ;
1636
- protoOf(Companion_2).invoke$default_gkk1m7_k$ = invoke$default;
1637
- protoOf(Companion_2).invoke$default_nb5sz3_k$ = invoke$default_0;
1638
- protoOf(Companion_2).from255$default_5v5syp_k$ = from255$default;
1639
- protoOf(SRGB).invoke$default_gkk1m7_k$ = invoke$default;
1640
- protoOf(SRGB).invoke$default_nb5sz3_k$ = invoke$default_0;
1641
- protoOf(SRGB).from255$default_5v5syp_k$ = from255$default;
1642
- protoOf(RGBColorSpaceImpl).invoke$default_gkk1m7_k$ = invoke$default;
1643
- protoOf(RGBColorSpaceImpl).invoke_m0jwvs_k$ = invoke;
1644
- protoOf(RGBColorSpaceImpl).invoke$default_nb5sz3_k$ = invoke$default_0;
1645
- protoOf(RGBColorSpaceImpl).invoke_lt562m_k$ = invoke_0;
1646
- protoOf(RGBColorSpaceImpl).from255_9wuvmg_k$ = from255;
1647
- protoOf(RGBColorSpaceImpl).from255$default_5v5syp_k$ = from255$default;
1633
+ protoOf(Ansi16).n58 = toXYZ;
1634
+ protoOf(Ansi256).n58 = toXYZ;
1635
+ protoOf(HSV).n58 = toXYZ;
1636
+ protoOf(Companion_2).m59 = invoke$default;
1637
+ protoOf(Companion_2).r59 = invoke$default_0;
1638
+ protoOf(Companion_2).n59 = from255$default;
1639
+ protoOf(SRGB).m59 = invoke$default;
1640
+ protoOf(SRGB).r59 = invoke$default_0;
1641
+ protoOf(SRGB).n59 = from255$default;
1642
+ protoOf(RGBColorSpaceImpl).m59 = invoke$default;
1643
+ protoOf(RGBColorSpaceImpl).c5b = invoke;
1644
+ protoOf(RGBColorSpaceImpl).r59 = invoke$default_0;
1645
+ protoOf(RGBColorSpaceImpl).d5b = invoke_0;
1646
+ protoOf(RGBColorSpaceImpl).e5b = from255;
1647
+ protoOf(RGBColorSpaceImpl).n59 = from255$default;
1648
1648
  //endregion
1649
1649
  //region block: init
1650
1650
  PqNonlinearity_instance = new PqNonlinearity();