mrs-toolbox-cli 0.0.128 → 0.0.129

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.
@@ -59,21 +59,21 @@
59
59
  initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
60
60
  function invoke$default(r, g, b, alpha, $super) {
61
61
  alpha = alpha === VOID ? 1.0 : alpha;
62
- return $super === VOID ? this.d76(r, g, b, alpha) : $super.d76.call(this, r, g, b, alpha);
62
+ return $super === VOID ? this.g76(r, g, b, alpha) : $super.g76.call(this, r, g, b, alpha);
63
63
  }
64
64
  function invoke(r, g, b, alpha) {
65
- return this.d76(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
65
+ return this.g76(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
66
66
  }
67
67
  function invoke$default_0(r, g, b, alpha, $super) {
68
68
  alpha = alpha === VOID ? 1.0 : alpha;
69
- return $super === VOID ? this.n76(r, g, b, alpha) : invoke(r, g, b, alpha);
69
+ return $super === VOID ? this.q76(r, g, b, alpha) : invoke(r, g, b, alpha);
70
70
  }
71
71
  function from255(r, g, b, alpha) {
72
- return this.d76(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
72
+ return this.g76(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
73
73
  }
74
74
  function from255$default(r, g, b, alpha, $super) {
75
75
  alpha = alpha === VOID ? 255 : alpha;
76
- return $super === VOID ? this.o76(r, g, b, alpha) : from255(r, g, b, alpha);
76
+ return $super === VOID ? this.r76(r, g, b, alpha) : from255(r, g, b, alpha);
77
77
  }
78
78
  function invoke_0(hex) {
79
79
  var tmp = parseHex(validateHex(hex), 0);
@@ -89,7 +89,7 @@
89
89
  } else {
90
90
  tmp_2 = 255;
91
91
  }
92
- return this.o76(tmp, tmp_0, tmp_1, tmp_2);
92
+ return this.r76(tmp, tmp_0, tmp_1, tmp_2);
93
93
  }
94
94
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace');
95
95
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -111,19 +111,19 @@
111
111
  initMetadataForClass(xyY, 'xyY');
112
112
  //endregion
113
113
  function ColorComponentInfo(name, isPolar) {
114
- this.v74_1 = name;
115
- this.w74_1 = isPolar;
114
+ this.y74_1 = name;
115
+ this.z74_1 = isPolar;
116
116
  }
117
117
  function WhitePoint(name, chromaticity) {
118
- this.x74_1 = name;
119
- this.y74_1 = chromaticity;
118
+ this.a75_1 = name;
119
+ this.b75_1 = chromaticity;
120
120
  }
121
121
  protoOf(WhitePoint).toString = function () {
122
- return this.x74_1;
122
+ return this.a75_1;
123
123
  };
124
124
  protoOf(WhitePoint).hashCode = function () {
125
- var result = getStringHashCode(this.x74_1);
126
- result = imul(result, 31) + this.y74_1.hashCode() | 0;
125
+ var result = getStringHashCode(this.a75_1);
126
+ result = imul(result, 31) + this.b75_1.hashCode() | 0;
127
127
  return result;
128
128
  };
129
129
  protoOf(WhitePoint).equals = function (other) {
@@ -132,22 +132,22 @@
132
132
  if (!(other instanceof WhitePoint))
133
133
  return false;
134
134
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
135
- if (!(this.x74_1 === tmp0_other_with_cast.x74_1))
135
+ if (!(this.a75_1 === tmp0_other_with_cast.a75_1))
136
136
  return false;
137
- if (!this.y74_1.equals(tmp0_other_with_cast.y74_1))
137
+ if (!this.b75_1.equals(tmp0_other_with_cast.b75_1))
138
138
  return false;
139
139
  return true;
140
140
  };
141
141
  function Illuminant() {
142
142
  Illuminant_instance = this;
143
- this.z74_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
144
- this.a75_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
145
- this.b75_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
146
- this.c75_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
147
- this.d75_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
148
- this.e75_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
149
- this.f75_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
150
- this.g75_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
143
+ this.c75_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
144
+ this.d75_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
145
+ this.e75_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
146
+ this.f75_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
147
+ this.g75_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
148
+ this.h75_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
149
+ this.i75_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
150
+ this.j75_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
151
151
  }
152
152
  var Illuminant_instance;
153
153
  function Illuminant_getInstance() {
@@ -271,22 +271,22 @@
271
271
  function Matrix__equals_impl_g5p8p9($this, other) {
272
272
  if (!(other instanceof Matrix))
273
273
  return false;
274
- var tmp0_other_with_cast = other instanceof Matrix ? other.h75_1 : THROW_CCE();
274
+ var tmp0_other_with_cast = other instanceof Matrix ? other.k75_1 : THROW_CCE();
275
275
  if (!equals($this, tmp0_other_with_cast))
276
276
  return false;
277
277
  return true;
278
278
  }
279
279
  function Matrix(rowMajor) {
280
- this.h75_1 = rowMajor;
280
+ this.k75_1 = rowMajor;
281
281
  }
282
282
  protoOf(Matrix).toString = function () {
283
- return Matrix__toString_impl_l0abk0(this.h75_1);
283
+ return Matrix__toString_impl_l0abk0(this.k75_1);
284
284
  };
285
285
  protoOf(Matrix).hashCode = function () {
286
- return Matrix__hashCode_impl_s9ntm9(this.h75_1);
286
+ return Matrix__hashCode_impl_s9ntm9(this.k75_1);
287
287
  };
288
288
  protoOf(Matrix).equals = function (other) {
289
- return Matrix__equals_impl_g5p8p9(this.h75_1, other);
289
+ return Matrix__equals_impl_g5p8p9(this.k75_1, other);
290
290
  };
291
291
  function inverse(_this__u8e3s4, inPlace) {
292
292
  inPlace = inPlace === VOID ? false : inPlace;
@@ -350,22 +350,22 @@
350
350
  function Vector__equals_impl_hy6igl($this, other) {
351
351
  if (!(other instanceof Vector))
352
352
  return false;
353
- var tmp0_other_with_cast = other instanceof Vector ? other.i75_1 : THROW_CCE();
353
+ var tmp0_other_with_cast = other instanceof Vector ? other.l75_1 : THROW_CCE();
354
354
  if (!equals($this, tmp0_other_with_cast))
355
355
  return false;
356
356
  return true;
357
357
  }
358
358
  function Vector(values) {
359
- this.i75_1 = values;
359
+ this.l75_1 = values;
360
360
  }
361
361
  protoOf(Vector).toString = function () {
362
- return Vector__toString_impl_hn2ybi(this.i75_1);
362
+ return Vector__toString_impl_hn2ybi(this.l75_1);
363
363
  };
364
364
  protoOf(Vector).hashCode = function () {
365
- return Vector__hashCode_impl_442yhd(this.i75_1);
365
+ return Vector__hashCode_impl_442yhd(this.l75_1);
366
366
  };
367
367
  protoOf(Vector).equals = function (other) {
368
- return Vector__equals_impl_hy6igl(this.i75_1, other);
368
+ return Vector__equals_impl_hy6igl(this.l75_1, other);
369
369
  };
370
370
  function dot_0(_this__u8e3s4, v0, v1, v2) {
371
371
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
@@ -376,7 +376,7 @@
376
376
  }
377
377
  function Companion() {
378
378
  Companion_instance = this;
379
- this.j75_1 = componentInfoList([new ColorComponentInfo('code', false)]);
379
+ this.m75_1 = componentInfoList([new ColorComponentInfo('code', false)]);
380
380
  }
381
381
  var Companion_instance;
382
382
  function Companion_getInstance() {
@@ -386,35 +386,35 @@
386
386
  }
387
387
  function Ansi16(code) {
388
388
  Companion_getInstance();
389
- this.k75_1 = code;
389
+ this.n75_1 = code;
390
390
  }
391
- protoOf(Ansi16).l75 = function () {
392
- switch (this.k75_1) {
391
+ protoOf(Ansi16).o75 = function () {
392
+ switch (this.n75_1) {
393
393
  case 30:
394
394
  case 40:
395
- return Companion_getInstance_2().m75(0.0, 0.0, 0.0);
395
+ return Companion_getInstance_2().p75(0.0, 0.0, 0.0);
396
396
  case 90:
397
397
  case 100:
398
- return Companion_getInstance_2().n75(128, 128, 128);
398
+ return Companion_getInstance_2().q75(128, 128, 128);
399
399
  case 37:
400
400
  case 47:
401
- return Companion_getInstance_2().n75(192, 192, 192);
401
+ return Companion_getInstance_2().q75(192, 192, 192);
402
402
  case 97:
403
403
  case 107:
404
- return Companion_getInstance_2().m75(1.0, 1.0, 1.0);
404
+ return Companion_getInstance_2().p75(1.0, 1.0, 1.0);
405
405
  }
406
- var color = this.k75_1 % 10 | 0;
407
- var mul = this.k75_1 > 50 ? 1.0 : 0.5;
406
+ var color = this.n75_1 % 10 | 0;
407
+ var mul = this.n75_1 > 50 ? 1.0 : 0.5;
408
408
  var r = (color % 2 | 0) * mul;
409
409
  var g = ((color / 2 | 0) % 2 | 0) * mul;
410
410
  var b = ((color / 4 | 0) % 2 | 0) * mul;
411
- return Companion_getInstance_2().m75(r, g, b);
411
+ return Companion_getInstance_2().p75(r, g, b);
412
412
  };
413
413
  protoOf(Ansi16).toString = function () {
414
- return 'Ansi16(code=' + this.k75_1 + ')';
414
+ return 'Ansi16(code=' + this.n75_1 + ')';
415
415
  };
416
416
  protoOf(Ansi16).hashCode = function () {
417
- return this.k75_1;
417
+ return this.n75_1;
418
418
  };
419
419
  protoOf(Ansi16).equals = function (other) {
420
420
  if (this === other)
@@ -422,13 +422,13 @@
422
422
  if (!(other instanceof Ansi16))
423
423
  return false;
424
424
  var tmp0_other_with_cast = other instanceof Ansi16 ? other : THROW_CCE();
425
- if (!(this.k75_1 === tmp0_other_with_cast.k75_1))
425
+ if (!(this.n75_1 === tmp0_other_with_cast.n75_1))
426
426
  return false;
427
427
  return true;
428
428
  };
429
429
  function Companion_0() {
430
430
  Companion_instance_0 = this;
431
- this.o75_1 = componentInfoList([new ColorComponentInfo('code', false)]);
431
+ this.r75_1 = componentInfoList([new ColorComponentInfo('code', false)]);
432
432
  }
433
433
  var Companion_instance_0;
434
434
  function Companion_getInstance_0() {
@@ -438,16 +438,16 @@
438
438
  }
439
439
  function Ansi256(code) {
440
440
  Companion_getInstance_0();
441
- this.p75_1 = code;
442
- }
443
- protoOf(Ansi256).l75 = function () {
444
- if (this.p75_1 < 16)
445
- return this.q75().l75();
446
- if (this.p75_1 >= 232) {
447
- var c = imul(this.p75_1 - 232 | 0, 10) + 8 | 0;
448
- return Companion_getInstance_2().n75(c, c, c);
441
+ this.s75_1 = code;
442
+ }
443
+ protoOf(Ansi256).o75 = function () {
444
+ if (this.s75_1 < 16)
445
+ return this.t75().o75();
446
+ if (this.s75_1 >= 232) {
447
+ var c = imul(this.s75_1 - 232 | 0, 10) + 8 | 0;
448
+ return Companion_getInstance_2().q75(c, c, c);
449
449
  }
450
- var c_0 = this.p75_1 - 16 | 0;
450
+ var c_0 = this.s75_1 - 16 | 0;
451
451
  var rem = c_0 % 36 | 0;
452
452
  // Inline function 'kotlin.math.floor' call
453
453
  var x = c_0 / 36.0;
@@ -456,16 +456,16 @@
456
456
  var x_0 = rem / 6.0;
457
457
  var g = Math.floor(x_0) / 5.0;
458
458
  var b = (rem % 6 | 0) / 5.0;
459
- return Companion_getInstance_2().r75(r, g, b);
459
+ return Companion_getInstance_2().u75(r, g, b);
460
460
  };
461
- protoOf(Ansi256).q75 = function () {
462
- return this.p75_1 < 8 ? new Ansi16(this.p75_1 + 30 | 0) : this.p75_1 < 16 ? new Ansi16((this.p75_1 - 8 | 0) + 90 | 0) : this.l75().q75();
461
+ protoOf(Ansi256).t75 = function () {
462
+ return this.s75_1 < 8 ? new Ansi16(this.s75_1 + 30 | 0) : this.s75_1 < 16 ? new Ansi16((this.s75_1 - 8 | 0) + 90 | 0) : this.o75().t75();
463
463
  };
464
464
  protoOf(Ansi256).toString = function () {
465
- return 'Ansi256(code=' + this.p75_1 + ')';
465
+ return 'Ansi256(code=' + this.s75_1 + ')';
466
466
  };
467
467
  protoOf(Ansi256).hashCode = function () {
468
- return this.p75_1;
468
+ return this.s75_1;
469
469
  };
470
470
  protoOf(Ansi256).equals = function (other) {
471
471
  if (this === other)
@@ -473,13 +473,13 @@
473
473
  if (!(other instanceof Ansi256))
474
474
  return false;
475
475
  var tmp0_other_with_cast = other instanceof Ansi256 ? other : THROW_CCE();
476
- if (!(this.p75_1 === tmp0_other_with_cast.p75_1))
476
+ if (!(this.s75_1 === tmp0_other_with_cast.s75_1))
477
477
  return false;
478
478
  return true;
479
479
  };
480
480
  function Companion_1() {
481
481
  Companion_instance_1 = this;
482
- this.x75_1 = polarComponentInfo('HSV');
482
+ this.a76_1 = polarComponentInfo('HSV');
483
483
  }
484
484
  var Companion_instance_1;
485
485
  function Companion_getInstance_1() {
@@ -498,27 +498,27 @@
498
498
  function HSV(h, s, v, alpha) {
499
499
  Companion_getInstance_1();
500
500
  alpha = alpha === VOID ? 1.0 : alpha;
501
- this.y75_1 = h;
502
- this.z75_1 = s;
503
- this.a76_1 = v;
504
- this.b76_1 = alpha;
505
- }
506
- protoOf(HSV).l75 = function () {
507
- if (this.z75_1 < 1.0E-7)
508
- return Companion_getInstance_2().d76(this.a76_1, this.a76_1, this.a76_1, this.b76_1);
509
- var v = this.a76_1;
510
- var h = normalizeDeg_0(this.y75_1) / 60.0;
511
- var s = this.z75_1;
512
- return SRGB_getInstance().d76(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.b76_1);
501
+ this.b76_1 = h;
502
+ this.c76_1 = s;
503
+ this.d76_1 = v;
504
+ this.e76_1 = alpha;
505
+ }
506
+ protoOf(HSV).o75 = function () {
507
+ if (this.c76_1 < 1.0E-7)
508
+ return Companion_getInstance_2().g76(this.d76_1, this.d76_1, this.d76_1, this.e76_1);
509
+ var v = this.d76_1;
510
+ var h = normalizeDeg_0(this.b76_1) / 60.0;
511
+ var s = this.c76_1;
512
+ return SRGB_getInstance().g76(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.e76_1);
513
513
  };
514
514
  protoOf(HSV).toString = function () {
515
- return 'HSV(h=' + this.y75_1 + ', s=' + this.z75_1 + ', v=' + this.a76_1 + ', alpha=' + this.b76_1 + ')';
515
+ return 'HSV(h=' + this.b76_1 + ', s=' + this.c76_1 + ', v=' + this.d76_1 + ', alpha=' + this.e76_1 + ')';
516
516
  };
517
517
  protoOf(HSV).hashCode = function () {
518
- var result = getNumberHashCode(this.y75_1);
519
- result = imul(result, 31) + getNumberHashCode(this.z75_1) | 0;
520
- result = imul(result, 31) + getNumberHashCode(this.a76_1) | 0;
521
- result = imul(result, 31) + getNumberHashCode(this.b76_1) | 0;
518
+ var result = getNumberHashCode(this.b76_1);
519
+ result = imul(result, 31) + getNumberHashCode(this.c76_1) | 0;
520
+ result = imul(result, 31) + getNumberHashCode(this.d76_1) | 0;
521
+ result = imul(result, 31) + getNumberHashCode(this.e76_1) | 0;
522
522
  return result;
523
523
  };
524
524
  protoOf(HSV).equals = function (other) {
@@ -527,30 +527,30 @@
527
527
  if (!(other instanceof HSV))
528
528
  return false;
529
529
  var tmp0_other_with_cast = other instanceof HSV ? other : THROW_CCE();
530
- if (!equals(this.y75_1, tmp0_other_with_cast.y75_1))
530
+ if (!equals(this.b76_1, tmp0_other_with_cast.b76_1))
531
531
  return false;
532
- if (!equals(this.z75_1, tmp0_other_with_cast.z75_1))
532
+ if (!equals(this.c76_1, tmp0_other_with_cast.c76_1))
533
533
  return false;
534
- if (!equals(this.a76_1, tmp0_other_with_cast.a76_1))
534
+ if (!equals(this.d76_1, tmp0_other_with_cast.d76_1))
535
535
  return false;
536
- if (!equals(this.b76_1, tmp0_other_with_cast.b76_1))
536
+ if (!equals(this.e76_1, tmp0_other_with_cast.e76_1))
537
537
  return false;
538
538
  return true;
539
539
  };
540
540
  function GammaTransferFunctions(gamma) {
541
- this.k76_1 = gamma;
541
+ this.n76_1 = gamma;
542
542
  }
543
- protoOf(GammaTransferFunctions).l76 = function (x) {
544
- return spow(x, this.k76_1);
543
+ protoOf(GammaTransferFunctions).o76 = function (x) {
544
+ return spow(x, this.n76_1);
545
545
  };
546
- protoOf(GammaTransferFunctions).m76 = function (x) {
547
- return spow(x, 1.0 / this.k76_1);
546
+ protoOf(GammaTransferFunctions).p76 = function (x) {
547
+ return spow(x, 1.0 / this.n76_1);
548
548
  };
549
549
  protoOf(GammaTransferFunctions).toString = function () {
550
- return 'GammaTransferFunctions(gamma=' + this.k76_1 + ')';
550
+ return 'GammaTransferFunctions(gamma=' + this.n76_1 + ')';
551
551
  };
552
552
  protoOf(GammaTransferFunctions).hashCode = function () {
553
- return getNumberHashCode(this.k76_1);
553
+ return getNumberHashCode(this.n76_1);
554
554
  };
555
555
  protoOf(GammaTransferFunctions).equals = function (other) {
556
556
  if (this === other)
@@ -558,16 +558,16 @@
558
558
  if (!(other instanceof GammaTransferFunctions))
559
559
  return false;
560
560
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
561
- if (!equals(this.k76_1, tmp0_other_with_cast.k76_1))
561
+ if (!equals(this.n76_1, tmp0_other_with_cast.n76_1))
562
562
  return false;
563
563
  return true;
564
564
  };
565
565
  function LinearTransferFunctions() {
566
566
  }
567
- protoOf(LinearTransferFunctions).l76 = function (x) {
567
+ protoOf(LinearTransferFunctions).o76 = function (x) {
568
568
  return x;
569
569
  };
570
- protoOf(LinearTransferFunctions).m76 = function (x) {
570
+ protoOf(LinearTransferFunctions).p76 = function (x) {
571
571
  return x;
572
572
  };
573
573
  var LinearTransferFunctions_instance;
@@ -578,31 +578,31 @@
578
578
  }
579
579
  function Companion_2() {
580
580
  Companion_instance_2 = this;
581
- this.c76_1 = RGBColorSpaces_getInstance().u76_1;
581
+ this.f76_1 = RGBColorSpaces_getInstance().x76_1;
582
582
  }
583
- protoOf(Companion_2).s76 = function () {
584
- return this.c76_1.s76();
585
- };
586
- protoOf(Companion_2).r76 = function () {
587
- return this.c76_1.r76();
583
+ protoOf(Companion_2).v76 = function () {
584
+ return this.f76_1.v76();
588
585
  };
589
- protoOf(Companion_2).q76 = function () {
590
- return this.c76_1.q76();
586
+ protoOf(Companion_2).u76 = function () {
587
+ return this.f76_1.u76();
591
588
  };
592
589
  protoOf(Companion_2).t76 = function () {
593
- return this.c76_1.t76();
590
+ return this.f76_1.t76();
591
+ };
592
+ protoOf(Companion_2).w76 = function () {
593
+ return this.f76_1.w76();
594
594
  };
595
- protoOf(Companion_2).o76 = function (r, g, b, alpha) {
596
- return this.c76_1.o76(r, g, b, alpha);
595
+ protoOf(Companion_2).r76 = function (r, g, b, alpha) {
596
+ return this.f76_1.r76(r, g, b, alpha);
597
597
  };
598
- protoOf(Companion_2).d76 = function (r, g, b, alpha) {
599
- return this.c76_1.d76(r, g, b, alpha);
598
+ protoOf(Companion_2).g76 = function (r, g, b, alpha) {
599
+ return this.f76_1.g76(r, g, b, alpha);
600
600
  };
601
- protoOf(Companion_2).n76 = function (r, g, b, alpha) {
602
- return this.c76_1.n76(r, g, b, alpha);
601
+ protoOf(Companion_2).q76 = function (r, g, b, alpha) {
602
+ return this.f76_1.q76(r, g, b, alpha);
603
603
  };
604
- protoOf(Companion_2).p76 = function (hex) {
605
- return this.c76_1.p76(hex);
604
+ protoOf(Companion_2).s76 = function (hex) {
605
+ return this.f76_1.s76(hex);
606
606
  };
607
607
  var Companion_instance_2;
608
608
  function Companion_getInstance_2() {
@@ -612,43 +612,43 @@
612
612
  }
613
613
  function RGB(r, g, b, alpha, space) {
614
614
  Companion_getInstance_2();
615
- this.s75_1 = r;
616
- this.t75_1 = g;
617
- this.u75_1 = b;
618
- this.v75_1 = alpha;
619
- this.w75_1 = space;
615
+ this.v75_1 = r;
616
+ this.w75_1 = g;
617
+ this.x75_1 = b;
618
+ this.y75_1 = alpha;
619
+ this.z75_1 = space;
620
620
  }
621
- protoOf(RGB).g77 = function () {
621
+ protoOf(RGB).j77 = function () {
622
622
  // Inline function 'kotlin.math.roundToInt' call
623
- var this_0 = this.s75_1 * 255;
623
+ var this_0 = this.v75_1 * 255;
624
624
  return roundToInt(this_0);
625
625
  };
626
- protoOf(RGB).h77 = function () {
626
+ protoOf(RGB).k77 = function () {
627
627
  // Inline function 'kotlin.math.roundToInt' call
628
- var this_0 = this.t75_1 * 255;
628
+ var this_0 = this.w75_1 * 255;
629
629
  return roundToInt(this_0);
630
630
  };
631
- protoOf(RGB).i77 = function () {
631
+ protoOf(RGB).l77 = function () {
632
632
  // Inline function 'kotlin.math.roundToInt' call
633
- var this_0 = this.u75_1 * 255;
633
+ var this_0 = this.x75_1 * 255;
634
634
  return roundToInt(this_0);
635
635
  };
636
- protoOf(RGB).j77 = function (space) {
637
- var f = SRGB_getInstance().h76_1;
638
- return equals(this.w75_1, space) ? this : equals(this.w75_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().v76_1) ? space.d76(f.l76(this.s75_1), f.l76(this.t75_1), f.l76(this.u75_1), this.v75_1) : equals(this.w75_1, RGBColorSpaces_getInstance().v76_1) && equals(space, SRGB_getInstance()) ? space.d76(f.m76(this.s75_1), f.m76(this.t75_1), f.m76(this.u75_1), this.v75_1) : this.k77().q77(space);
636
+ protoOf(RGB).m77 = function (space) {
637
+ var f = SRGB_getInstance().k76_1;
638
+ return equals(this.z75_1, space) ? this : equals(this.z75_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().y76_1) ? space.g76(f.o76(this.v75_1), f.o76(this.w75_1), f.o76(this.x75_1), this.y75_1) : equals(this.z75_1, RGBColorSpaces_getInstance().y76_1) && equals(space, SRGB_getInstance()) ? space.g76(f.p76(this.v75_1), f.p76(this.w75_1), f.p76(this.x75_1), this.y75_1) : this.n77().t77(space);
639
639
  };
640
- protoOf(RGB).r77 = function () {
641
- return this.s77(coerceIn(this.s75_1, 0.0, 1.0), coerceIn(this.t75_1, 0.0, 1.0), coerceIn(this.u75_1, 0.0, 1.0), coerceIn(this.v75_1, 0.0, 1.0));
640
+ protoOf(RGB).u77 = function () {
641
+ return this.v77(coerceIn(this.v75_1, 0.0, 1.0), coerceIn(this.w75_1, 0.0, 1.0), coerceIn(this.x75_1, 0.0, 1.0), coerceIn(this.y75_1, 0.0, 1.0));
642
642
  };
643
- protoOf(RGB).t77 = function () {
643
+ protoOf(RGB).w77 = function () {
644
644
  var tmp$ret$3;
645
645
  $l$block: {
646
646
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
647
647
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
648
- var $this$toSRGB = this.j77(SRGB_getInstance());
649
- var r = $this$toSRGB.s75_1;
650
- var g = $this$toSRGB.t75_1;
651
- var b = $this$toSRGB.u75_1;
648
+ var $this$toSRGB = this.m77(SRGB_getInstance());
649
+ var r = $this$toSRGB.v75_1;
650
+ var g = $this$toSRGB.w75_1;
651
+ var b = $this$toSRGB.x75_1;
652
652
  // Inline function 'kotlin.comparisons.minOf' call
653
653
  var min = Math.min(r, g, b);
654
654
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -670,94 +670,94 @@
670
670
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSV.<anonymous>' call
671
671
  var h_0 = normalizeDeg(h);
672
672
  var s = max === 0.0 ? 0.0 : chroma / max;
673
- tmp$ret$3 = new HSV(h_0, s, max, this.v75_1);
673
+ tmp$ret$3 = new HSV(h_0, s, max, this.y75_1);
674
674
  break $l$block;
675
675
  }
676
676
  return tmp$ret$3;
677
677
  };
678
- protoOf(RGB).k77 = function () {
679
- var f = this.w75_1.q76();
678
+ protoOf(RGB).n77 = function () {
679
+ var f = this.z75_1.t76();
680
680
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
681
- var this_0 = _Matrix___init__impl__q3kp4w(this.w75_1.r76());
682
- var v0 = f.l76(this.s75_1);
683
- var v1 = f.l76(this.t75_1);
684
- var v2 = f.l76(this.u75_1);
681
+ var this_0 = _Matrix___init__impl__q3kp4w(this.z75_1.u76());
682
+ var v0 = f.o76(this.v75_1);
683
+ var v1 = f.o76(this.w75_1);
684
+ var v2 = f.o76(this.x75_1);
685
685
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
686
686
  var x = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
687
687
  var y = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
688
688
  var z = Matrix__get_impl_xogbpk(this_0, 0, 2) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 2) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 2) * v2;
689
- return XYZColorSpace(this.w75_1.t76()).d76(x, y, z, this.v75_1);
689
+ return XYZColorSpace(this.z75_1.w76()).g76(x, y, z, this.y75_1);
690
690
  };
691
- protoOf(RGB).q75 = function () {
691
+ protoOf(RGB).t75 = function () {
692
692
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
693
- var $this$toSRGB = this.j77(SRGB_getInstance());
693
+ var $this$toSRGB = this.m77(SRGB_getInstance());
694
694
  // Inline function 'kotlin.math.roundToInt' call
695
- var this_0 = $this$toSRGB.t77().a76_1 * 100;
695
+ var this_0 = $this$toSRGB.w77().d76_1 * 100;
696
696
  var value = roundToInt(this_0);
697
697
  if (value === 30)
698
698
  return new Ansi16(30);
699
699
  var v = value / 50 | 0;
700
700
  // Inline function 'kotlin.math.roundToInt' call
701
- var this_1 = $this$toSRGB.u75_1;
701
+ var this_1 = $this$toSRGB.x75_1;
702
702
  var tmp$ret$1 = roundToInt(this_1);
703
703
  var tmp = imul(tmp$ret$1, 4);
704
704
  // Inline function 'kotlin.math.roundToInt' call
705
- var this_2 = $this$toSRGB.t75_1;
705
+ var this_2 = $this$toSRGB.w75_1;
706
706
  var tmp$ret$2 = roundToInt(this_2);
707
707
  var tmp_0 = tmp | imul(tmp$ret$2, 2);
708
708
  // Inline function 'kotlin.math.roundToInt' call
709
- var this_3 = $this$toSRGB.s75_1;
709
+ var this_3 = $this$toSRGB.v75_1;
710
710
  var ansi = 30 + (tmp_0 | roundToInt(this_3)) | 0;
711
711
  return new Ansi16(v === 2 ? ansi + 60 | 0 : ansi);
712
712
  };
713
- protoOf(RGB).u77 = function () {
713
+ protoOf(RGB).x77 = function () {
714
714
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
715
- var $this$toSRGB = this.j77(SRGB_getInstance());
716
- var ri = $this$toSRGB.g77();
717
- var gi = $this$toSRGB.h77();
718
- var bi = $this$toSRGB.i77();
715
+ var $this$toSRGB = this.m77(SRGB_getInstance());
716
+ var ri = $this$toSRGB.j77();
717
+ var gi = $this$toSRGB.k77();
718
+ var bi = $this$toSRGB.l77();
719
719
  var tmp;
720
720
  if (ri === gi && gi === bi) {
721
721
  tmp = ri < 8 ? 16 : ri > 248 ? 231 : roundToInt((ri - 8 | 0) / 247.0 * 24.0) + 232 | 0;
722
722
  } else {
723
723
  // Inline function 'kotlin.math.roundToInt' call
724
- var this_0 = $this$toSRGB.s75_1 * 5;
724
+ var this_0 = $this$toSRGB.v75_1 * 5;
725
725
  var tmp$ret$0 = roundToInt(this_0);
726
726
  var tmp_0 = 16 + imul(36, tmp$ret$0) | 0;
727
727
  // Inline function 'kotlin.math.roundToInt' call
728
- var this_1 = $this$toSRGB.t75_1 * 5;
728
+ var this_1 = $this$toSRGB.w75_1 * 5;
729
729
  var tmp$ret$1 = roundToInt(this_1);
730
730
  var tmp_1 = tmp_0 + imul(6, tmp$ret$1) | 0;
731
731
  // Inline function 'kotlin.math.roundToInt' call
732
- var this_2 = $this$toSRGB.u75_1 * 5;
732
+ var this_2 = $this$toSRGB.x75_1 * 5;
733
733
  tmp = tmp_1 + roundToInt(this_2) | 0;
734
734
  }
735
735
  var code = tmp;
736
736
  return new Ansi256(code);
737
737
  };
738
- protoOf(RGB).l75 = function () {
739
- return this.j77(RGBColorSpaces_getInstance().u76_1);
738
+ protoOf(RGB).o75 = function () {
739
+ return this.m77(RGBColorSpaces_getInstance().x76_1);
740
740
  };
741
- protoOf(RGB).v77 = function (r, g, b, alpha, space) {
741
+ protoOf(RGB).y77 = function (r, g, b, alpha, space) {
742
742
  return new RGB(r, g, b, alpha, space);
743
743
  };
744
- protoOf(RGB).s77 = function (r, g, b, alpha, space, $super) {
745
- r = r === VOID ? this.s75_1 : r;
746
- g = g === VOID ? this.t75_1 : g;
747
- b = b === VOID ? this.u75_1 : b;
748
- alpha = alpha === VOID ? this.v75_1 : alpha;
749
- space = space === VOID ? this.w75_1 : space;
750
- return $super === VOID ? this.v77(r, g, b, alpha, space) : $super.v77.call(this, r, g, b, alpha, space);
744
+ protoOf(RGB).v77 = function (r, g, b, alpha, space, $super) {
745
+ r = r === VOID ? this.v75_1 : r;
746
+ g = g === VOID ? this.w75_1 : g;
747
+ b = b === VOID ? this.x75_1 : b;
748
+ alpha = alpha === VOID ? this.y75_1 : alpha;
749
+ space = space === VOID ? this.z75_1 : space;
750
+ return $super === VOID ? this.y77(r, g, b, alpha, space) : $super.y77.call(this, r, g, b, alpha, space);
751
751
  };
752
752
  protoOf(RGB).toString = function () {
753
- return 'RGB(r=' + this.s75_1 + ', g=' + this.t75_1 + ', b=' + this.u75_1 + ', alpha=' + this.v75_1 + ', space=' + toString_0(this.w75_1) + ')';
753
+ return 'RGB(r=' + this.v75_1 + ', g=' + this.w75_1 + ', b=' + this.x75_1 + ', alpha=' + this.y75_1 + ', space=' + toString_0(this.z75_1) + ')';
754
754
  };
755
755
  protoOf(RGB).hashCode = function () {
756
- var result = getNumberHashCode(this.s75_1);
757
- result = imul(result, 31) + getNumberHashCode(this.t75_1) | 0;
758
- result = imul(result, 31) + getNumberHashCode(this.u75_1) | 0;
759
- result = imul(result, 31) + getNumberHashCode(this.v75_1) | 0;
760
- result = imul(result, 31) + hashCode(this.w75_1) | 0;
756
+ var result = getNumberHashCode(this.v75_1);
757
+ result = imul(result, 31) + getNumberHashCode(this.w75_1) | 0;
758
+ result = imul(result, 31) + getNumberHashCode(this.x75_1) | 0;
759
+ result = imul(result, 31) + getNumberHashCode(this.y75_1) | 0;
760
+ result = imul(result, 31) + hashCode(this.z75_1) | 0;
761
761
  return result;
762
762
  };
763
763
  protoOf(RGB).equals = function (other) {
@@ -766,15 +766,15 @@
766
766
  if (!(other instanceof RGB))
767
767
  return false;
768
768
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
769
- if (!equals(this.s75_1, tmp0_other_with_cast.s75_1))
769
+ if (!equals(this.v75_1, tmp0_other_with_cast.v75_1))
770
770
  return false;
771
- if (!equals(this.t75_1, tmp0_other_with_cast.t75_1))
771
+ if (!equals(this.w75_1, tmp0_other_with_cast.w75_1))
772
772
  return false;
773
- if (!equals(this.u75_1, tmp0_other_with_cast.u75_1))
773
+ if (!equals(this.x75_1, tmp0_other_with_cast.x75_1))
774
774
  return false;
775
- if (!equals(this.v75_1, tmp0_other_with_cast.v75_1))
775
+ if (!equals(this.y75_1, tmp0_other_with_cast.y75_1))
776
776
  return false;
777
- if (!equals(this.w75_1, tmp0_other_with_cast.w75_1))
777
+ if (!equals(this.z75_1, tmp0_other_with_cast.z75_1))
778
778
  return false;
779
779
  return true;
780
780
  };
@@ -876,18 +876,18 @@
876
876
  var ACES_AP1_B;
877
877
  function RGBColorSpaces() {
878
878
  RGBColorSpaces_instance = this;
879
- this.u76_1 = SRGB_getInstance();
880
- this.v76_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().e75_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
881
- this.w76_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
882
- this.x76_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
883
- this.y76_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
884
- this.z76_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
885
- this.a77_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().e75_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));
886
- this.b77_1 = BT2020Space_getInstance();
887
- this.c77_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().e75_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
888
- this.d77_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));
889
- this.e77_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().e75_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
890
- this.f77_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().c75_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));
879
+ this.x76_1 = SRGB_getInstance();
880
+ this.y76_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().h75_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
881
+ this.z76_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
882
+ this.a77_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
883
+ this.b77_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
884
+ this.c77_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
885
+ this.d77_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().h75_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));
886
+ this.e77_1 = BT2020Space_getInstance();
887
+ this.f77_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().h75_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
888
+ this.g77_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));
889
+ this.h77_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().h75_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
890
+ this.i77_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().f75_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));
891
891
  }
892
892
  var RGBColorSpaces_instance;
893
893
  function RGBColorSpaces_getInstance() {
@@ -897,29 +897,29 @@
897
897
  }
898
898
  function SRGB() {
899
899
  SRGB_instance = this;
900
- this.e76_1 = 'sRGB';
901
- this.f76_1 = rectangularComponentInfo('RGB');
902
- this.g76_1 = Illuminant_getInstance().e75_1;
903
- this.h76_1 = SRGBTransferFunctions_instance;
904
- this.i76_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.g76_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
905
- this.j76_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.i76_1)));
906
- }
900
+ this.h76_1 = 'sRGB';
901
+ this.i76_1 = rectangularComponentInfo('RGB');
902
+ this.j76_1 = Illuminant_getInstance().h75_1;
903
+ this.k76_1 = SRGBTransferFunctions_instance;
904
+ this.l76_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.j76_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
905
+ this.m76_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.l76_1)));
906
+ }
907
+ protoOf(SRGB).w76 = function () {
908
+ return this.j76_1;
909
+ };
907
910
  protoOf(SRGB).t76 = function () {
908
- return this.g76_1;
911
+ return this.k76_1;
909
912
  };
910
- protoOf(SRGB).q76 = function () {
911
- return this.h76_1;
913
+ protoOf(SRGB).u76 = function () {
914
+ return this.l76_1;
912
915
  };
913
- protoOf(SRGB).r76 = function () {
914
- return this.i76_1;
915
- };
916
- protoOf(SRGB).s76 = function () {
917
- return this.j76_1;
916
+ protoOf(SRGB).v76 = function () {
917
+ return this.m76_1;
918
918
  };
919
919
  protoOf(SRGB).toString = function () {
920
- return this.e76_1;
920
+ return this.h76_1;
921
921
  };
922
- protoOf(SRGB).d76 = function (r, g, b, alpha) {
922
+ protoOf(SRGB).g76 = function (r, g, b, alpha) {
923
923
  return new RGB(r, g, b, alpha, this);
924
924
  };
925
925
  var SRGB_instance;
@@ -934,14 +934,14 @@
934
934
  }
935
935
  function ACESccTransferFunctions() {
936
936
  ACESccTransferFunctions_instance = this;
937
- this.w77_1 = 3.0517578125E-5;
938
- this.x77_1 = 1.52587890625E-5;
939
- this.y77_1 = -0.3013698630136986;
937
+ this.z77_1 = 3.0517578125E-5;
938
+ this.a78_1 = 1.52587890625E-5;
939
+ this.b78_1 = -0.3013698630136986;
940
940
  var tmp = this;
941
941
  // Inline function 'kotlin.math.log2' call
942
- tmp.z77_1 = (log2(65504.0) + 9.72) / 17.52;
942
+ tmp.c78_1 = (log2(65504.0) + 9.72) / 17.52;
943
943
  }
944
- protoOf(ACESccTransferFunctions).l76 = function (x) {
944
+ protoOf(ACESccTransferFunctions).o76 = function (x) {
945
945
  var tmp;
946
946
  var tmp_0 = x;
947
947
  ACESccTransferFunctions_getInstance();
@@ -950,7 +950,7 @@
950
950
  ACESccTransferFunctions_getInstance();
951
951
  tmp = (tmp_1 - 1.52587890625E-5) * 2.0;
952
952
  } else {
953
- if (x < this.z77_1) {
953
+ if (x < this.c78_1) {
954
954
  // Inline function 'kotlin.math.pow' call
955
955
  var x_0 = x * 17.52 - 9.72;
956
956
  tmp = Math.pow(2.0, x_0);
@@ -960,7 +960,7 @@
960
960
  }
961
961
  return tmp;
962
962
  };
963
- protoOf(ACESccTransferFunctions).m76 = function (x) {
963
+ protoOf(ACESccTransferFunctions).p76 = function (x) {
964
964
  var tmp;
965
965
  var tmp_0 = x;
966
966
  ACESccTransferFunctions_getInstance();
@@ -983,20 +983,20 @@
983
983
  }
984
984
  function ACEScctTransferFunctions() {
985
985
  ACEScctTransferFunctions_instance = this;
986
- this.a78_1 = 10.5402377416545;
987
- this.b78_1 = 0.0729055341958355;
986
+ this.d78_1 = 10.5402377416545;
987
+ this.e78_1 = 0.0729055341958355;
988
988
  var tmp = this;
989
989
  // Inline function 'kotlin.math.log2' call
990
- tmp.c78_1 = (log2(65504.0) + 9.72) / 17.52;
990
+ tmp.f78_1 = (log2(65504.0) + 9.72) / 17.52;
991
991
  }
992
- protoOf(ACEScctTransferFunctions).l76 = function (x) {
992
+ protoOf(ACEScctTransferFunctions).o76 = function (x) {
993
993
  var tmp;
994
994
  if (x <= 0.155251141552511) {
995
995
  ACEScctTransferFunctions_getInstance();
996
996
  var tmp_0 = x - 0.0729055341958355;
997
997
  ACEScctTransferFunctions_getInstance();
998
998
  tmp = tmp_0 / 10.5402377416545;
999
- } else if (x < this.c78_1) {
999
+ } else if (x < this.f78_1) {
1000
1000
  // Inline function 'kotlin.math.pow' call
1001
1001
  var x_0 = x * 17.52 - 9.72;
1002
1002
  tmp = Math.pow(2.0, x_0);
@@ -1005,7 +1005,7 @@
1005
1005
  }
1006
1006
  return tmp;
1007
1007
  };
1008
- protoOf(ACEScctTransferFunctions).m76 = function (x) {
1008
+ protoOf(ACEScctTransferFunctions).p76 = function (x) {
1009
1009
  var tmp;
1010
1010
  if (x < 0.0078125) {
1011
1011
  ACEScctTransferFunctions_getInstance();
@@ -1026,30 +1026,30 @@
1026
1026
  }
1027
1027
  function BT2020Space() {
1028
1028
  BT2020Space_instance = this;
1029
- this.d78_1 = 'BT.2020';
1030
- this.e78_1 = rectangularComponentInfo('RGB');
1031
- this.f78_1 = Illuminant_getInstance().e75_1;
1032
- this.g78_1 = BT2020TransferFunctions_getInstance();
1033
- this.h78_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.f78_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
1034
- this.i78_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.h78_1)));
1035
- }
1036
- protoOf(BT2020Space).t76 = function () {
1037
- return this.f78_1;
1029
+ this.g78_1 = 'BT.2020';
1030
+ this.h78_1 = rectangularComponentInfo('RGB');
1031
+ this.i78_1 = Illuminant_getInstance().h75_1;
1032
+ this.j78_1 = BT2020TransferFunctions_getInstance();
1033
+ this.k78_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.i78_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
1034
+ this.l78_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.k78_1)));
1035
+ }
1036
+ protoOf(BT2020Space).w76 = function () {
1037
+ return this.i78_1;
1038
1038
  };
1039
- protoOf(BT2020Space).q76 = function () {
1040
- return this.g78_1;
1039
+ protoOf(BT2020Space).t76 = function () {
1040
+ return this.j78_1;
1041
1041
  };
1042
- protoOf(BT2020Space).d76 = function (r, g, b, alpha) {
1042
+ protoOf(BT2020Space).g76 = function (r, g, b, alpha) {
1043
1043
  return new RGB(r, g, b, alpha, this);
1044
1044
  };
1045
- protoOf(BT2020Space).r76 = function () {
1046
- return this.h78_1;
1045
+ protoOf(BT2020Space).u76 = function () {
1046
+ return this.k78_1;
1047
1047
  };
1048
- protoOf(BT2020Space).s76 = function () {
1049
- return this.i78_1;
1048
+ protoOf(BT2020Space).v76 = function () {
1049
+ return this.l78_1;
1050
1050
  };
1051
1051
  protoOf(BT2020Space).toString = function () {
1052
- return this.d78_1;
1052
+ return this.g78_1;
1053
1053
  };
1054
1054
  var BT2020Space_instance;
1055
1055
  function BT2020Space_getInstance() {
@@ -1059,12 +1059,12 @@
1059
1059
  }
1060
1060
  function BT709TransferFunctions() {
1061
1061
  BT709TransferFunctions_instance = this;
1062
- this.j78_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1062
+ this.m78_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1063
1063
  }
1064
- protoOf(BT709TransferFunctions).l76 = function (x) {
1065
- return numberToDouble(x < this.j78_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1064
+ protoOf(BT709TransferFunctions).o76 = function (x) {
1065
+ return numberToDouble(x < this.m78_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1066
1066
  };
1067
- protoOf(BT709TransferFunctions).m76 = function (x) {
1067
+ protoOf(BT709TransferFunctions).p76 = function (x) {
1068
1068
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1069
1069
  };
1070
1070
  var BT709TransferFunctions_instance;
@@ -1075,10 +1075,10 @@
1075
1075
  }
1076
1076
  function SRGBTransferFunctions() {
1077
1077
  }
1078
- protoOf(SRGBTransferFunctions).m76 = function (x) {
1078
+ protoOf(SRGBTransferFunctions).p76 = function (x) {
1079
1079
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1080
1080
  };
1081
- protoOf(SRGBTransferFunctions).l76 = function (x) {
1081
+ protoOf(SRGBTransferFunctions).o76 = function (x) {
1082
1082
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1083
1083
  };
1084
1084
  var SRGBTransferFunctions_instance;
@@ -1086,9 +1086,9 @@
1086
1086
  return SRGBTransferFunctions_instance;
1087
1087
  }
1088
1088
  function ROMMTransferFunctions() {
1089
- this.k78_1 = 0.001953;
1089
+ this.n78_1 = 0.001953;
1090
1090
  }
1091
- protoOf(ROMMTransferFunctions).l76 = function (x) {
1091
+ protoOf(ROMMTransferFunctions).o76 = function (x) {
1092
1092
  var tmp;
1093
1093
  var tmp_0 = x;
1094
1094
  if (tmp_0 < 16 * 0.001953) {
@@ -1098,7 +1098,7 @@
1098
1098
  }
1099
1099
  return tmp;
1100
1100
  };
1101
- protoOf(ROMMTransferFunctions).m76 = function (x) {
1101
+ protoOf(ROMMTransferFunctions).p76 = function (x) {
1102
1102
  var tmp;
1103
1103
  var tmp_0 = x;
1104
1104
  if (tmp_0 < 0.001953) {
@@ -1114,13 +1114,13 @@
1114
1114
  }
1115
1115
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1116
1116
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1117
- var primaries = _Matrix___init__impl__q3kp4w_0(r.l78_1, g.l78_1, b.l78_1, r.m78_1, g.m78_1, b.m78_1, r.o78(), g.o78(), b.o78());
1118
- var wp = whitePoint.y74_1;
1117
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.o78_1, g.o78_1, b.o78_1, r.p78_1, g.p78_1, b.p78_1, r.r78(), g.r78(), b.r78());
1118
+ var wp = whitePoint.b75_1;
1119
1119
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1120
1120
  var this_0 = inverse(primaries);
1121
- var v0 = wp.p78();
1122
- var v1 = wp.n78_1;
1123
- var v2 = wp.q78();
1121
+ var v0 = wp.s78();
1122
+ var v1 = wp.q78_1;
1123
+ var v2 = wp.t78();
1124
1124
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
1125
1125
  var x = Matrix__get_impl_xogbpk(this_0, 0, 0) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 0) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 0) * v2;
1126
1126
  var y = Matrix__get_impl_xogbpk(this_0, 0, 1) * v0 + Matrix__get_impl_xogbpk(this_0, 1, 1) * v1 + Matrix__get_impl_xogbpk(this_0, 2, 1) * v2;
@@ -1128,41 +1128,41 @@
1128
1128
  return dotDiagonal(primaries, x, y, z);
1129
1129
  }
1130
1130
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b) {
1131
- this.r78_1 = name;
1132
- this.s78_1 = whitePoint;
1133
- this.t78_1 = transferFunctions;
1134
- this.u78_1 = r;
1135
- this.v78_1 = g;
1136
- this.w78_1 = b;
1137
- this.x78_1 = rectangularComponentInfo('RGB');
1138
- this.y78_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.s78_1, this.u78_1, this.v78_1, this.w78_1));
1139
- this.z78_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.y78_1)));
1140
- }
1141
- protoOf(RGBColorSpaceImpl).t76 = function () {
1142
- return this.s78_1;
1131
+ this.u78_1 = name;
1132
+ this.v78_1 = whitePoint;
1133
+ this.w78_1 = transferFunctions;
1134
+ this.x78_1 = r;
1135
+ this.y78_1 = g;
1136
+ this.z78_1 = b;
1137
+ this.a79_1 = rectangularComponentInfo('RGB');
1138
+ this.b79_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.v78_1, this.x78_1, this.y78_1, this.z78_1));
1139
+ this.c79_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.b79_1)));
1140
+ }
1141
+ protoOf(RGBColorSpaceImpl).w76 = function () {
1142
+ return this.v78_1;
1143
1143
  };
1144
- protoOf(RGBColorSpaceImpl).q76 = function () {
1145
- return this.t78_1;
1144
+ protoOf(RGBColorSpaceImpl).t76 = function () {
1145
+ return this.w78_1;
1146
1146
  };
1147
- protoOf(RGBColorSpaceImpl).r76 = function () {
1148
- return this.y78_1;
1147
+ protoOf(RGBColorSpaceImpl).u76 = function () {
1148
+ return this.b79_1;
1149
1149
  };
1150
- protoOf(RGBColorSpaceImpl).s76 = function () {
1151
- return this.z78_1;
1150
+ protoOf(RGBColorSpaceImpl).v76 = function () {
1151
+ return this.c79_1;
1152
1152
  };
1153
1153
  protoOf(RGBColorSpaceImpl).toString = function () {
1154
- return this.r78_1;
1154
+ return this.u78_1;
1155
1155
  };
1156
- protoOf(RGBColorSpaceImpl).d76 = function (r, g, b, alpha) {
1156
+ protoOf(RGBColorSpaceImpl).g76 = function (r, g, b, alpha) {
1157
1157
  return new RGB(r, g, b, alpha, this);
1158
1158
  };
1159
1159
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1160
- var result = getStringHashCode(this.r78_1);
1161
- result = imul(result, 31) + this.s78_1.hashCode() | 0;
1162
- result = imul(result, 31) + hashCode(this.t78_1) | 0;
1163
- result = imul(result, 31) + this.u78_1.hashCode() | 0;
1160
+ var result = getStringHashCode(this.u78_1);
1164
1161
  result = imul(result, 31) + this.v78_1.hashCode() | 0;
1165
- result = imul(result, 31) + this.w78_1.hashCode() | 0;
1162
+ result = imul(result, 31) + hashCode(this.w78_1) | 0;
1163
+ result = imul(result, 31) + this.x78_1.hashCode() | 0;
1164
+ result = imul(result, 31) + this.y78_1.hashCode() | 0;
1165
+ result = imul(result, 31) + this.z78_1.hashCode() | 0;
1166
1166
  return result;
1167
1167
  };
1168
1168
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1171,35 +1171,35 @@
1171
1171
  if (!(other instanceof RGBColorSpaceImpl))
1172
1172
  return false;
1173
1173
  var tmp0_other_with_cast = other instanceof RGBColorSpaceImpl ? other : THROW_CCE();
1174
- if (!(this.r78_1 === tmp0_other_with_cast.r78_1))
1174
+ if (!(this.u78_1 === tmp0_other_with_cast.u78_1))
1175
1175
  return false;
1176
- if (!this.s78_1.equals(tmp0_other_with_cast.s78_1))
1176
+ if (!this.v78_1.equals(tmp0_other_with_cast.v78_1))
1177
1177
  return false;
1178
- if (!equals(this.t78_1, tmp0_other_with_cast.t78_1))
1178
+ if (!equals(this.w78_1, tmp0_other_with_cast.w78_1))
1179
1179
  return false;
1180
- if (!this.u78_1.equals(tmp0_other_with_cast.u78_1))
1180
+ if (!this.x78_1.equals(tmp0_other_with_cast.x78_1))
1181
1181
  return false;
1182
- if (!this.v78_1.equals(tmp0_other_with_cast.v78_1))
1182
+ if (!this.y78_1.equals(tmp0_other_with_cast.y78_1))
1183
1183
  return false;
1184
- if (!this.w78_1.equals(tmp0_other_with_cast.w78_1))
1184
+ if (!this.z78_1.equals(tmp0_other_with_cast.z78_1))
1185
1185
  return false;
1186
1186
  return true;
1187
1187
  };
1188
1188
  function BT2020TransferFunctions() {
1189
1189
  BT2020TransferFunctions_instance = this;
1190
- this.a79_1 = 1.0993;
1191
- this.b79_1 = 0.0181;
1190
+ this.d79_1 = 1.0993;
1191
+ this.e79_1 = 0.0181;
1192
1192
  var tmp = this;
1193
1193
  BT2020TransferFunctions_getInstance();
1194
1194
  // Inline function 'kotlin.math.pow' call
1195
1195
  BT2020TransferFunctions_getInstance();
1196
1196
  var tmp_0 = 1.0993 * Math.pow(0.0181, 0.45);
1197
1197
  BT2020TransferFunctions_getInstance();
1198
- tmp.c79_1 = tmp_0 - (1.0993 - 1);
1198
+ tmp.f79_1 = tmp_0 - (1.0993 - 1);
1199
1199
  }
1200
- protoOf(BT2020TransferFunctions).l76 = function (x) {
1200
+ protoOf(BT2020TransferFunctions).o76 = function (x) {
1201
1201
  var tmp;
1202
- if (x < this.c79_1) {
1202
+ if (x < this.f79_1) {
1203
1203
  tmp = x / 4.5;
1204
1204
  } else {
1205
1205
  BT2020TransferFunctions_getInstance();
@@ -1209,7 +1209,7 @@
1209
1209
  }
1210
1210
  return numberToDouble(tmp);
1211
1211
  };
1212
- protoOf(BT2020TransferFunctions).m76 = function (x) {
1212
+ protoOf(BT2020TransferFunctions).p76 = function (x) {
1213
1213
  var tmp;
1214
1214
  var tmp_0 = x;
1215
1215
  BT2020TransferFunctions_getInstance();
@@ -1247,13 +1247,13 @@
1247
1247
  }
1248
1248
  function Companion_3() {
1249
1249
  Companion_instance_3 = this;
1250
- this.d79_1 = XYZColorSpaces_getInstance().e79_1;
1250
+ this.g79_1 = XYZColorSpaces_getInstance().h79_1;
1251
1251
  }
1252
- protoOf(Companion_3).t76 = function () {
1253
- return this.d79_1.t76();
1252
+ protoOf(Companion_3).w76 = function () {
1253
+ return this.g79_1.w76();
1254
1254
  };
1255
- protoOf(Companion_3).d76 = function (x, y, z, alpha) {
1256
- return this.d79_1.d76(x, y, z, alpha);
1255
+ protoOf(Companion_3).g76 = function (x, y, z, alpha) {
1256
+ return this.g79_1.g76(x, y, z, alpha);
1257
1257
  };
1258
1258
  var Companion_instance_3;
1259
1259
  function Companion_getInstance_3() {
@@ -1262,65 +1262,65 @@
1262
1262
  return Companion_instance_3;
1263
1263
  }
1264
1264
  function adaptToM($this, space, m, mi) {
1265
- if (space.t76().equals($this.p77_1.t76()))
1265
+ if (space.w76().equals($this.s77_1.w76()))
1266
1266
  return $this;
1267
- var transform = chromaticAdaptationMatrix(space, $this.p77_1.t76().y74_1, m, mi);
1267
+ var transform = chromaticAdaptationMatrix(space, $this.s77_1.w76().b75_1, m, mi);
1268
1268
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1269
- var v0 = $this.l77_1;
1270
- var v1 = $this.m77_1;
1271
- var v2 = $this.n77_1;
1269
+ var v0 = $this.o77_1;
1270
+ var v1 = $this.p77_1;
1271
+ var v2 = $this.q77_1;
1272
1272
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
1273
1273
  var xx = Matrix__get_impl_xogbpk(transform, 0, 0) * v0 + Matrix__get_impl_xogbpk(transform, 1, 0) * v1 + Matrix__get_impl_xogbpk(transform, 2, 0) * v2;
1274
1274
  var yy = Matrix__get_impl_xogbpk(transform, 0, 1) * v0 + Matrix__get_impl_xogbpk(transform, 1, 1) * v1 + Matrix__get_impl_xogbpk(transform, 2, 1) * v2;
1275
1275
  var zz = Matrix__get_impl_xogbpk(transform, 0, 2) * v0 + Matrix__get_impl_xogbpk(transform, 1, 2) * v1 + Matrix__get_impl_xogbpk(transform, 2, 2) * v2;
1276
- return space.d76(xx, yy, zz, $this.o77_1);
1276
+ return space.g76(xx, yy, zz, $this.r77_1);
1277
1277
  }
1278
1278
  function XYZ(x, y, z, alpha, space) {
1279
1279
  Companion_getInstance_3();
1280
- this.l77_1 = x;
1281
- this.m77_1 = y;
1282
- this.n77_1 = z;
1283
- this.o77_1 = alpha;
1284
- this.p77_1 = space;
1280
+ this.o77_1 = x;
1281
+ this.p77_1 = y;
1282
+ this.q77_1 = z;
1283
+ this.r77_1 = alpha;
1284
+ this.s77_1 = space;
1285
1285
  }
1286
- protoOf(XYZ).g79 = function (space) {
1286
+ protoOf(XYZ).j79 = function (space) {
1287
1287
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
1288
1288
  };
1289
- protoOf(XYZ).q77 = function (space) {
1290
- var tmp0_container = this.g79(XYZColorSpace(space.t76()));
1289
+ protoOf(XYZ).t77 = function (space) {
1290
+ var tmp0_container = this.j79(XYZColorSpace(space.w76()));
1291
1291
  var x = tmp0_container.xf();
1292
1292
  var y = tmp0_container.yf();
1293
1293
  var z = tmp0_container.ok();
1294
- var f = space.q76();
1294
+ var f = space.t76();
1295
1295
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1296
- var this_0 = _Matrix___init__impl__q3kp4w(space.s76());
1296
+ var this_0 = _Matrix___init__impl__q3kp4w(space.v76());
1297
1297
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
1298
1298
  var r = Matrix__get_impl_xogbpk(this_0, 0, 0) * x + Matrix__get_impl_xogbpk(this_0, 1, 0) * y + Matrix__get_impl_xogbpk(this_0, 2, 0) * z;
1299
1299
  var g = Matrix__get_impl_xogbpk(this_0, 0, 1) * x + Matrix__get_impl_xogbpk(this_0, 1, 1) * y + Matrix__get_impl_xogbpk(this_0, 2, 1) * z;
1300
1300
  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;
1301
- return space.d76(f.m76(r), f.m76(g), f.m76(b), this.o77_1);
1301
+ return space.g76(f.p76(r), f.p76(g), f.p76(b), this.r77_1);
1302
1302
  };
1303
- protoOf(XYZ).l75 = function () {
1304
- return this.q77(RGBColorSpaces_getInstance().u76_1);
1303
+ protoOf(XYZ).o75 = function () {
1304
+ return this.t77(RGBColorSpaces_getInstance().x76_1);
1305
1305
  };
1306
1306
  protoOf(XYZ).xf = function () {
1307
- return this.l77_1;
1307
+ return this.o77_1;
1308
1308
  };
1309
1309
  protoOf(XYZ).yf = function () {
1310
- return this.m77_1;
1310
+ return this.p77_1;
1311
1311
  };
1312
1312
  protoOf(XYZ).ok = function () {
1313
- return this.n77_1;
1313
+ return this.q77_1;
1314
1314
  };
1315
1315
  protoOf(XYZ).toString = function () {
1316
- return 'XYZ(x=' + this.l77_1 + ', y=' + this.m77_1 + ', z=' + this.n77_1 + ', alpha=' + this.o77_1 + ', space=' + toString_0(this.p77_1) + ')';
1316
+ return 'XYZ(x=' + this.o77_1 + ', y=' + this.p77_1 + ', z=' + this.q77_1 + ', alpha=' + this.r77_1 + ', space=' + toString_0(this.s77_1) + ')';
1317
1317
  };
1318
1318
  protoOf(XYZ).hashCode = function () {
1319
- var result = getNumberHashCode(this.l77_1);
1320
- result = imul(result, 31) + getNumberHashCode(this.m77_1) | 0;
1321
- result = imul(result, 31) + getNumberHashCode(this.n77_1) | 0;
1322
- result = imul(result, 31) + getNumberHashCode(this.o77_1) | 0;
1323
- result = imul(result, 31) + hashCode(this.p77_1) | 0;
1319
+ var result = getNumberHashCode(this.o77_1);
1320
+ result = imul(result, 31) + getNumberHashCode(this.p77_1) | 0;
1321
+ result = imul(result, 31) + getNumberHashCode(this.q77_1) | 0;
1322
+ result = imul(result, 31) + getNumberHashCode(this.r77_1) | 0;
1323
+ result = imul(result, 31) + hashCode(this.s77_1) | 0;
1324
1324
  return result;
1325
1325
  };
1326
1326
  protoOf(XYZ).equals = function (other) {
@@ -1329,25 +1329,25 @@
1329
1329
  if (!(other instanceof XYZ))
1330
1330
  return false;
1331
1331
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
1332
- if (!equals(this.l77_1, tmp0_other_with_cast.l77_1))
1332
+ if (!equals(this.o77_1, tmp0_other_with_cast.o77_1))
1333
1333
  return false;
1334
- if (!equals(this.m77_1, tmp0_other_with_cast.m77_1))
1334
+ if (!equals(this.p77_1, tmp0_other_with_cast.p77_1))
1335
1335
  return false;
1336
- if (!equals(this.n77_1, tmp0_other_with_cast.n77_1))
1336
+ if (!equals(this.q77_1, tmp0_other_with_cast.q77_1))
1337
1337
  return false;
1338
- if (!equals(this.o77_1, tmp0_other_with_cast.o77_1))
1338
+ if (!equals(this.r77_1, tmp0_other_with_cast.r77_1))
1339
1339
  return false;
1340
- if (!equals(this.p77_1, tmp0_other_with_cast.p77_1))
1340
+ if (!equals(this.s77_1, tmp0_other_with_cast.s77_1))
1341
1341
  return false;
1342
1342
  return true;
1343
1343
  };
1344
1344
  function XYZColorSpace(whitePoint) {
1345
- return whitePoint.equals(Illuminant_getInstance().e75_1) ? XYZColorSpaces_getInstance().e79_1 : whitePoint.equals(Illuminant_getInstance().c75_1) ? XYZColorSpaces_getInstance().f79_1 : new XYZColorSpaceImpl(whitePoint);
1345
+ return whitePoint.equals(Illuminant_getInstance().h75_1) ? XYZColorSpaces_getInstance().h79_1 : whitePoint.equals(Illuminant_getInstance().f75_1) ? XYZColorSpaces_getInstance().i79_1 : new XYZColorSpaceImpl(whitePoint);
1346
1346
  }
1347
1347
  function XYZColorSpaces() {
1348
1348
  XYZColorSpaces_instance = this;
1349
- this.e79_1 = new XYZColorSpaceImpl(Illuminant_getInstance().e75_1);
1350
- this.f79_1 = new XYZColorSpaceImpl(Illuminant_getInstance().c75_1);
1349
+ this.h79_1 = new XYZColorSpaceImpl(Illuminant_getInstance().h75_1);
1350
+ this.i79_1 = new XYZColorSpaceImpl(Illuminant_getInstance().f75_1);
1351
1351
  }
1352
1352
  var XYZColorSpaces_instance;
1353
1353
  function XYZColorSpaces_getInstance() {
@@ -1358,26 +1358,26 @@
1358
1358
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
1359
1359
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
1360
1360
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
1361
- var dstWp = _this__u8e3s4.t76().y74_1;
1362
- var src = dot_0(xyzToLms, srcWp.p78(), srcWp.n78_1, srcWp.q78());
1363
- var dst = dot_0(xyzToLms, dstWp.p78(), dstWp.n78_1, dstWp.q78());
1361
+ var dstWp = _this__u8e3s4.w76().b75_1;
1362
+ var src = dot_0(xyzToLms, srcWp.s78(), srcWp.q78_1, srcWp.t78());
1363
+ var dst = dot_0(xyzToLms, dstWp.s78(), dstWp.q78_1, dstWp.t78());
1364
1364
  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);
1365
1365
  }
1366
1366
  function XYZColorSpaceImpl(whitePoint) {
1367
- this.h79_1 = whitePoint;
1368
- this.i79_1 = rectangularComponentInfo('XYZ');
1367
+ this.k79_1 = whitePoint;
1368
+ this.l79_1 = rectangularComponentInfo('XYZ');
1369
1369
  }
1370
- protoOf(XYZColorSpaceImpl).t76 = function () {
1371
- return this.h79_1;
1370
+ protoOf(XYZColorSpaceImpl).w76 = function () {
1371
+ return this.k79_1;
1372
1372
  };
1373
1373
  protoOf(XYZColorSpaceImpl).toString = function () {
1374
- return 'XYZColorSpace(' + this.h79_1.toString() + ')';
1374
+ return 'XYZColorSpace(' + this.k79_1.toString() + ')';
1375
1375
  };
1376
- protoOf(XYZColorSpaceImpl).d76 = function (x, y, z, alpha) {
1376
+ protoOf(XYZColorSpaceImpl).g76 = function (x, y, z, alpha) {
1377
1377
  return new XYZ(x, y, z, alpha, this);
1378
1378
  };
1379
1379
  protoOf(XYZColorSpaceImpl).hashCode = function () {
1380
- return this.h79_1.hashCode();
1380
+ return this.k79_1.hashCode();
1381
1381
  };
1382
1382
  protoOf(XYZColorSpaceImpl).equals = function (other) {
1383
1383
  if (this === other)
@@ -1385,7 +1385,7 @@
1385
1385
  if (!(other instanceof XYZColorSpaceImpl))
1386
1386
  return false;
1387
1387
  var tmp0_other_with_cast = other instanceof XYZColorSpaceImpl ? other : THROW_CCE();
1388
- if (!this.h79_1.equals(tmp0_other_with_cast.h79_1))
1388
+ if (!this.k79_1.equals(tmp0_other_with_cast.k79_1))
1389
1389
  return false;
1390
1390
  return true;
1391
1391
  };
@@ -1399,26 +1399,26 @@
1399
1399
  }
1400
1400
  function xyY(x, y, Y) {
1401
1401
  Y = Y === VOID ? 1.0 : Y;
1402
- this.l78_1 = x;
1403
- this.m78_1 = y;
1404
- this.n78_1 = Y;
1402
+ this.o78_1 = x;
1403
+ this.p78_1 = y;
1404
+ this.q78_1 = Y;
1405
1405
  }
1406
- protoOf(xyY).o78 = function () {
1407
- return 1 - this.l78_1 - this.m78_1;
1406
+ protoOf(xyY).r78 = function () {
1407
+ return 1 - this.o78_1 - this.p78_1;
1408
1408
  };
1409
- protoOf(xyY).p78 = function () {
1410
- return this.l78_1 * this.n78_1 / this.m78_1;
1409
+ protoOf(xyY).s78 = function () {
1410
+ return this.o78_1 * this.q78_1 / this.p78_1;
1411
1411
  };
1412
- protoOf(xyY).q78 = function () {
1413
- return (1 - this.l78_1 - this.m78_1) * this.n78_1 / this.m78_1;
1412
+ protoOf(xyY).t78 = function () {
1413
+ return (1 - this.o78_1 - this.p78_1) * this.q78_1 / this.p78_1;
1414
1414
  };
1415
1415
  protoOf(xyY).toString = function () {
1416
- return 'xyY(x=' + this.l78_1 + ', y=' + this.m78_1 + ', Y=' + this.n78_1 + ')';
1416
+ return 'xyY(x=' + this.o78_1 + ', y=' + this.p78_1 + ', Y=' + this.q78_1 + ')';
1417
1417
  };
1418
1418
  protoOf(xyY).hashCode = function () {
1419
- var result = getNumberHashCode(this.l78_1);
1420
- result = imul(result, 31) + getNumberHashCode(this.m78_1) | 0;
1421
- result = imul(result, 31) + getNumberHashCode(this.n78_1) | 0;
1419
+ var result = getNumberHashCode(this.o78_1);
1420
+ result = imul(result, 31) + getNumberHashCode(this.p78_1) | 0;
1421
+ result = imul(result, 31) + getNumberHashCode(this.q78_1) | 0;
1422
1422
  return result;
1423
1423
  };
1424
1424
  protoOf(xyY).equals = function (other) {
@@ -1427,36 +1427,36 @@
1427
1427
  if (!(other instanceof xyY))
1428
1428
  return false;
1429
1429
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
1430
- if (!equals(this.l78_1, tmp0_other_with_cast.l78_1))
1430
+ if (!equals(this.o78_1, tmp0_other_with_cast.o78_1))
1431
1431
  return false;
1432
- if (!equals(this.m78_1, tmp0_other_with_cast.m78_1))
1432
+ if (!equals(this.p78_1, tmp0_other_with_cast.p78_1))
1433
1433
  return false;
1434
- if (!equals(this.n78_1, tmp0_other_with_cast.n78_1))
1434
+ if (!equals(this.q78_1, tmp0_other_with_cast.q78_1))
1435
1435
  return false;
1436
1436
  return true;
1437
1437
  };
1438
1438
  //region block: post-declaration
1439
- protoOf(Companion_2).n75 = from255$default;
1440
- protoOf(Companion_2).m75 = invoke$default;
1441
- protoOf(Companion_2).r75 = invoke$default_0;
1442
- protoOf(SRGB).m75 = invoke$default;
1443
- protoOf(SRGB).n76 = invoke;
1444
- protoOf(SRGB).r75 = invoke$default_0;
1445
- protoOf(SRGB).p76 = invoke_0;
1446
- protoOf(SRGB).o76 = from255;
1447
- protoOf(SRGB).n75 = from255$default;
1448
- protoOf(BT2020Space).m75 = invoke$default;
1449
- protoOf(BT2020Space).n76 = invoke;
1450
- protoOf(BT2020Space).r75 = invoke$default_0;
1451
- protoOf(BT2020Space).p76 = invoke_0;
1452
- protoOf(BT2020Space).o76 = from255;
1453
- protoOf(BT2020Space).n75 = from255$default;
1454
- protoOf(RGBColorSpaceImpl).m75 = invoke$default;
1455
- protoOf(RGBColorSpaceImpl).n76 = invoke;
1456
- protoOf(RGBColorSpaceImpl).r75 = invoke$default_0;
1457
- protoOf(RGBColorSpaceImpl).p76 = invoke_0;
1458
- protoOf(RGBColorSpaceImpl).o76 = from255;
1459
- protoOf(RGBColorSpaceImpl).n75 = from255$default;
1439
+ protoOf(Companion_2).q75 = from255$default;
1440
+ protoOf(Companion_2).p75 = invoke$default;
1441
+ protoOf(Companion_2).u75 = invoke$default_0;
1442
+ protoOf(SRGB).p75 = invoke$default;
1443
+ protoOf(SRGB).q76 = invoke;
1444
+ protoOf(SRGB).u75 = invoke$default_0;
1445
+ protoOf(SRGB).s76 = invoke_0;
1446
+ protoOf(SRGB).r76 = from255;
1447
+ protoOf(SRGB).q75 = from255$default;
1448
+ protoOf(BT2020Space).p75 = invoke$default;
1449
+ protoOf(BT2020Space).q76 = invoke;
1450
+ protoOf(BT2020Space).u75 = invoke$default_0;
1451
+ protoOf(BT2020Space).s76 = invoke_0;
1452
+ protoOf(BT2020Space).r76 = from255;
1453
+ protoOf(BT2020Space).q75 = from255$default;
1454
+ protoOf(RGBColorSpaceImpl).p75 = invoke$default;
1455
+ protoOf(RGBColorSpaceImpl).q76 = invoke;
1456
+ protoOf(RGBColorSpaceImpl).u75 = invoke$default_0;
1457
+ protoOf(RGBColorSpaceImpl).s76 = invoke_0;
1458
+ protoOf(RGBColorSpaceImpl).r76 = from255;
1459
+ protoOf(RGBColorSpaceImpl).q75 = from255$default;
1460
1460
  //endregion
1461
1461
  //region block: init
1462
1462
  LinearTransferFunctions_instance = new LinearTransferFunctions();