@flock/wirespec 0.10.19 → 0.10.21

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.
@@ -54,7 +54,7 @@
54
54
  //endregion
55
55
  //region block: pre-declaration
56
56
  function toXYZ() {
57
- return this.d2e().e2e();
57
+ return this.r2e().s2e();
58
58
  }
59
59
  initMetadataForInterface(Color, 'Color');
60
60
  initMetadataForClass(ColorComponentInfo, 'ColorComponentInfo');
@@ -73,21 +73,21 @@
73
73
  initMetadataForObject(LinearTransferFunctions, 'LinearTransferFunctions');
74
74
  function invoke$default(r, g, b, alpha, $super) {
75
75
  alpha = alpha === VOID ? 1.0 : alpha;
76
- return $super === VOID ? this.o2f(r, g, b, alpha) : $super.o2f.call(this, r, g, b, alpha);
76
+ return $super === VOID ? this.c2g(r, g, b, alpha) : $super.c2g.call(this, r, g, b, alpha);
77
77
  }
78
78
  function invoke(r, g, b, alpha) {
79
- return this.o2f(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
79
+ return this.c2g(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
80
80
  }
81
81
  function invoke$default_0(r, g, b, alpha, $super) {
82
82
  alpha = alpha === VOID ? 1.0 : alpha;
83
- return $super === VOID ? this.t2g(r, g, b, alpha) : invoke(r, g, b, alpha);
83
+ return $super === VOID ? this.h2h(r, g, b, alpha) : invoke(r, g, b, alpha);
84
84
  }
85
85
  function from255(r, g, b, alpha) {
86
- return this.o2f(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
86
+ return this.c2g(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
87
87
  }
88
88
  function from255$default(r, g, b, alpha, $super) {
89
89
  alpha = alpha === VOID ? 255 : alpha;
90
- return $super === VOID ? this.u2g(r, g, b, alpha) : from255(r, g, b, alpha);
90
+ return $super === VOID ? this.i2h(r, g, b, alpha) : from255(r, g, b, alpha);
91
91
  }
92
92
  function invoke_0(hex) {
93
93
  var tmp = parseHex(validateHex(hex), 0);
@@ -103,7 +103,7 @@
103
103
  } else {
104
104
  tmp_2 = 255;
105
105
  }
106
- return this.u2g(tmp, tmp_0, tmp_1, tmp_2);
106
+ return this.i2h(tmp, tmp_0, tmp_1, tmp_2);
107
107
  }
108
108
  initMetadataForInterface(RGBColorSpace, 'RGBColorSpace');
109
109
  initMetadataForCompanion(Companion_2, VOID, [RGBColorSpace]);
@@ -127,28 +127,28 @@
127
127
  function Color() {
128
128
  }
129
129
  function ColorComponentInfo(name, isPolar, min, max) {
130
- this.k2e_1 = name;
131
- this.l2e_1 = isPolar;
132
- this.m2e_1 = min;
133
- this.n2e_1 = max;
130
+ this.y2e_1 = name;
131
+ this.z2e_1 = isPolar;
132
+ this.a2f_1 = min;
133
+ this.b2f_1 = max;
134
134
  // Inline function 'kotlin.require' call
135
135
  // Inline function 'kotlin.contracts.contract' call
136
- if (!(this.m2e_1 <= this.n2e_1)) {
136
+ if (!(this.a2f_1 <= this.b2f_1)) {
137
137
  // Inline function 'com.github.ajalt.colormath.ColorComponentInfo.<anonymous>' call
138
138
  var message = 'min must be less than or equal to max';
139
139
  throw IllegalArgumentException_init_$Create$(toString(message));
140
140
  }
141
141
  }
142
142
  function WhitePoint(name, chromaticity) {
143
- this.o2e_1 = name;
144
- this.p2e_1 = chromaticity;
143
+ this.c2f_1 = name;
144
+ this.d2f_1 = chromaticity;
145
145
  }
146
146
  protoOf(WhitePoint).toString = function () {
147
- return this.o2e_1;
147
+ return this.c2f_1;
148
148
  };
149
149
  protoOf(WhitePoint).hashCode = function () {
150
- var result = getStringHashCode(this.o2e_1);
151
- result = imul(result, 31) + this.p2e_1.hashCode() | 0;
150
+ var result = getStringHashCode(this.c2f_1);
151
+ result = imul(result, 31) + this.d2f_1.hashCode() | 0;
152
152
  return result;
153
153
  };
154
154
  protoOf(WhitePoint).equals = function (other) {
@@ -157,22 +157,22 @@
157
157
  if (!(other instanceof WhitePoint))
158
158
  return false;
159
159
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
160
- if (!(this.o2e_1 === tmp0_other_with_cast.o2e_1))
160
+ if (!(this.c2f_1 === tmp0_other_with_cast.c2f_1))
161
161
  return false;
162
- if (!this.p2e_1.equals(tmp0_other_with_cast.p2e_1))
162
+ if (!this.d2f_1.equals(tmp0_other_with_cast.d2f_1))
163
163
  return false;
164
164
  return true;
165
165
  };
166
166
  function Illuminant() {
167
167
  Illuminant_instance = this;
168
- this.q2e_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
169
- this.r2e_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
170
- this.s2e_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
171
- this.t2e_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
172
- this.u2e_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
173
- this.v2e_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
174
- this.w2e_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
175
- this.x2e_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
168
+ this.e2f_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
169
+ this.f2f_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
170
+ this.g2f_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
171
+ this.h2f_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
172
+ this.i2f_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
173
+ this.j2f_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
174
+ this.k2f_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
175
+ this.l2f_1 = new WhitePoint('E', xyY_init_$Create$(1.0 / 3.0, 1.0 / 3.0));
176
176
  }
177
177
  var Illuminant_instance;
178
178
  function Illuminant_getInstance() {
@@ -307,22 +307,22 @@
307
307
  function Matrix__equals_impl_g5p8p9($this, other) {
308
308
  if (!(other instanceof Matrix))
309
309
  return false;
310
- var tmp0_other_with_cast = other instanceof Matrix ? other.y2e_1 : THROW_CCE();
310
+ var tmp0_other_with_cast = other instanceof Matrix ? other.m2f_1 : THROW_CCE();
311
311
  if (!equals($this, tmp0_other_with_cast))
312
312
  return false;
313
313
  return true;
314
314
  }
315
315
  function Matrix(rowMajor) {
316
- this.y2e_1 = rowMajor;
316
+ this.m2f_1 = rowMajor;
317
317
  }
318
318
  protoOf(Matrix).toString = function () {
319
- return Matrix__toString_impl_l0abk0(this.y2e_1);
319
+ return Matrix__toString_impl_l0abk0(this.m2f_1);
320
320
  };
321
321
  protoOf(Matrix).hashCode = function () {
322
- return Matrix__hashCode_impl_s9ntm9(this.y2e_1);
322
+ return Matrix__hashCode_impl_s9ntm9(this.m2f_1);
323
323
  };
324
324
  protoOf(Matrix).equals = function (other) {
325
- return Matrix__equals_impl_g5p8p9(this.y2e_1, other);
325
+ return Matrix__equals_impl_g5p8p9(this.m2f_1, other);
326
326
  };
327
327
  function inverse(_this__u8e3s4, inPlace) {
328
328
  inPlace = inPlace === VOID ? false : inPlace;
@@ -403,10 +403,10 @@
403
403
  }
404
404
  function Companion() {
405
405
  Companion_instance = this;
406
- this.z2e_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
406
+ this.n2f_1 = componentInfoList([new ColorComponentInfo('code', false, 30.0, 107.0)]);
407
407
  }
408
- protoOf(Companion).a2f = function () {
409
- return this.z2e_1;
408
+ protoOf(Companion).o2f = function () {
409
+ return this.n2f_1;
410
410
  };
411
411
  var Companion_instance;
412
412
  function Companion_getInstance() {
@@ -416,38 +416,38 @@
416
416
  }
417
417
  function Ansi16(code) {
418
418
  Companion_getInstance();
419
- this.b2f_1 = code;
419
+ this.p2f_1 = code;
420
420
  }
421
- protoOf(Ansi16).c2e = function () {
421
+ protoOf(Ansi16).q2e = function () {
422
422
  return Companion_getInstance();
423
423
  };
424
- protoOf(Ansi16).d2e = function () {
425
- switch (this.b2f_1) {
424
+ protoOf(Ansi16).r2e = function () {
425
+ switch (this.p2f_1) {
426
426
  case 30:
427
427
  case 40:
428
- return Companion_getInstance_2().c2f(0.0, 0.0, 0.0);
428
+ return Companion_getInstance_2().q2f(0.0, 0.0, 0.0);
429
429
  case 90:
430
430
  case 100:
431
- return Companion_getInstance_2().d2f(128, 128, 128);
431
+ return Companion_getInstance_2().r2f(128, 128, 128);
432
432
  case 37:
433
433
  case 47:
434
- return Companion_getInstance_2().d2f(192, 192, 192);
434
+ return Companion_getInstance_2().r2f(192, 192, 192);
435
435
  case 97:
436
436
  case 107:
437
- return Companion_getInstance_2().c2f(1.0, 1.0, 1.0);
437
+ return Companion_getInstance_2().q2f(1.0, 1.0, 1.0);
438
438
  }
439
- var color = this.b2f_1 % 10 | 0;
440
- var mul = this.b2f_1 > 50 ? 1.0 : 0.5;
439
+ var color = this.p2f_1 % 10 | 0;
440
+ var mul = this.p2f_1 > 50 ? 1.0 : 0.5;
441
441
  var r = (color % 2 | 0) * mul;
442
442
  var g = ((color / 2 | 0) % 2 | 0) * mul;
443
443
  var b = ((color / 4 | 0) % 2 | 0) * mul;
444
- return Companion_getInstance_2().c2f(r, g, b);
444
+ return Companion_getInstance_2().q2f(r, g, b);
445
445
  };
446
446
  protoOf(Ansi16).toString = function () {
447
- return 'Ansi16(code=' + this.b2f_1 + ')';
447
+ return 'Ansi16(code=' + this.p2f_1 + ')';
448
448
  };
449
449
  protoOf(Ansi16).hashCode = function () {
450
- return this.b2f_1;
450
+ return this.p2f_1;
451
451
  };
452
452
  protoOf(Ansi16).equals = function (other) {
453
453
  if (this === other)
@@ -455,16 +455,16 @@
455
455
  if (!(other instanceof Ansi16))
456
456
  return false;
457
457
  var tmp0_other_with_cast = other instanceof Ansi16 ? other : THROW_CCE();
458
- if (!(this.b2f_1 === tmp0_other_with_cast.b2f_1))
458
+ if (!(this.p2f_1 === tmp0_other_with_cast.p2f_1))
459
459
  return false;
460
460
  return true;
461
461
  };
462
462
  function Companion_0() {
463
463
  Companion_instance_0 = this;
464
- this.e2f_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
464
+ this.s2f_1 = componentInfoList([new ColorComponentInfo('code', false, 0.0, 255.0)]);
465
465
  }
466
- protoOf(Companion_0).a2f = function () {
467
- return this.e2f_1;
466
+ protoOf(Companion_0).o2f = function () {
467
+ return this.s2f_1;
468
468
  };
469
469
  var Companion_instance_0;
470
470
  function Companion_getInstance_0() {
@@ -474,19 +474,19 @@
474
474
  }
475
475
  function Ansi256(code) {
476
476
  Companion_getInstance_0();
477
- this.f2f_1 = code;
477
+ this.t2f_1 = code;
478
478
  }
479
- protoOf(Ansi256).c2e = function () {
479
+ protoOf(Ansi256).q2e = function () {
480
480
  return Companion_getInstance_0();
481
481
  };
482
- protoOf(Ansi256).d2e = function () {
483
- if (this.f2f_1 < 16)
484
- return this.g2f().d2e();
485
- if (this.f2f_1 >= 232) {
486
- var c = imul(this.f2f_1 - 232 | 0, 10) + 8 | 0;
487
- return Companion_getInstance_2().d2f(c, c, c);
482
+ protoOf(Ansi256).r2e = function () {
483
+ if (this.t2f_1 < 16)
484
+ return this.u2f().r2e();
485
+ if (this.t2f_1 >= 232) {
486
+ var c = imul(this.t2f_1 - 232 | 0, 10) + 8 | 0;
487
+ return Companion_getInstance_2().r2f(c, c, c);
488
488
  }
489
- var c_0 = this.f2f_1 - 16 | 0;
489
+ var c_0 = this.t2f_1 - 16 | 0;
490
490
  var rem = c_0 % 36 | 0;
491
491
  // Inline function 'kotlin.math.floor' call
492
492
  var x = c_0 / 36.0;
@@ -495,16 +495,16 @@
495
495
  var x_0 = rem / 6.0;
496
496
  var g = Math.floor(x_0) / 5.0;
497
497
  var b = (rem % 6 | 0) / 5.0;
498
- return Companion_getInstance_2().h2f(r, g, b);
498
+ return Companion_getInstance_2().v2f(r, g, b);
499
499
  };
500
- protoOf(Ansi256).g2f = function () {
501
- return this.f2f_1 < 8 ? new Ansi16(this.f2f_1 + 30 | 0) : this.f2f_1 < 16 ? new Ansi16((this.f2f_1 - 8 | 0) + 90 | 0) : this.d2e().g2f();
500
+ protoOf(Ansi256).u2f = function () {
501
+ return this.t2f_1 < 8 ? new Ansi16(this.t2f_1 + 30 | 0) : this.t2f_1 < 16 ? new Ansi16((this.t2f_1 - 8 | 0) + 90 | 0) : this.r2e().u2f();
502
502
  };
503
503
  protoOf(Ansi256).toString = function () {
504
- return 'Ansi256(code=' + this.f2f_1 + ')';
504
+ return 'Ansi256(code=' + this.t2f_1 + ')';
505
505
  };
506
506
  protoOf(Ansi256).hashCode = function () {
507
- return this.f2f_1;
507
+ return this.t2f_1;
508
508
  };
509
509
  protoOf(Ansi256).equals = function (other) {
510
510
  if (this === other)
@@ -512,16 +512,16 @@
512
512
  if (!(other instanceof Ansi256))
513
513
  return false;
514
514
  var tmp0_other_with_cast = other instanceof Ansi256 ? other : THROW_CCE();
515
- if (!(this.f2f_1 === tmp0_other_with_cast.f2f_1))
515
+ if (!(this.t2f_1 === tmp0_other_with_cast.t2f_1))
516
516
  return false;
517
517
  return true;
518
518
  };
519
519
  function Companion_1() {
520
520
  Companion_instance_1 = this;
521
- this.i2f_1 = polarComponentInfo('HSV', 0.0, 1.0);
521
+ this.w2f_1 = polarComponentInfo('HSV', 0.0, 1.0);
522
522
  }
523
- protoOf(Companion_1).a2f = function () {
524
- return this.i2f_1;
523
+ protoOf(Companion_1).o2f = function () {
524
+ return this.w2f_1;
525
525
  };
526
526
  var Companion_instance_1;
527
527
  function Companion_getInstance_1() {
@@ -540,30 +540,30 @@
540
540
  function HSV(h, s, v, alpha) {
541
541
  Companion_getInstance_1();
542
542
  alpha = alpha === VOID ? 1.0 : alpha;
543
- this.j2f_1 = h;
544
- this.k2f_1 = s;
545
- this.l2f_1 = v;
546
- this.m2f_1 = alpha;
543
+ this.x2f_1 = h;
544
+ this.y2f_1 = s;
545
+ this.z2f_1 = v;
546
+ this.a2g_1 = alpha;
547
547
  }
548
- protoOf(HSV).c2e = function () {
548
+ protoOf(HSV).q2e = function () {
549
549
  return Companion_getInstance_1();
550
550
  };
551
- protoOf(HSV).d2e = function () {
552
- if (this.k2f_1 < 1.0E-7)
553
- return Companion_getInstance_2().o2f(this.l2f_1, this.l2f_1, this.l2f_1, this.m2f_1);
554
- var v = this.l2f_1;
555
- var h = normalizeDeg_0(this.j2f_1) / 60.0;
556
- var s = this.k2f_1;
557
- return SRGB_getInstance().o2f(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.m2f_1);
551
+ protoOf(HSV).r2e = function () {
552
+ if (this.y2f_1 < 1.0E-7)
553
+ return Companion_getInstance_2().c2g(this.z2f_1, this.z2f_1, this.z2f_1, this.a2g_1);
554
+ var v = this.z2f_1;
555
+ var h = normalizeDeg_0(this.x2f_1) / 60.0;
556
+ var s = this.y2f_1;
557
+ return SRGB_getInstance().c2g(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.a2g_1);
558
558
  };
559
559
  protoOf(HSV).toString = function () {
560
- return 'HSV(h=' + this.j2f_1 + ', s=' + this.k2f_1 + ', v=' + this.l2f_1 + ', alpha=' + this.m2f_1 + ')';
560
+ return 'HSV(h=' + this.x2f_1 + ', s=' + this.y2f_1 + ', v=' + this.z2f_1 + ', alpha=' + this.a2g_1 + ')';
561
561
  };
562
562
  protoOf(HSV).hashCode = function () {
563
- var result = getNumberHashCode(this.j2f_1);
564
- result = imul(result, 31) + getNumberHashCode(this.k2f_1) | 0;
565
- result = imul(result, 31) + getNumberHashCode(this.l2f_1) | 0;
566
- result = imul(result, 31) + getNumberHashCode(this.m2f_1) | 0;
563
+ var result = getNumberHashCode(this.x2f_1);
564
+ result = imul(result, 31) + getNumberHashCode(this.y2f_1) | 0;
565
+ result = imul(result, 31) + getNumberHashCode(this.z2f_1) | 0;
566
+ result = imul(result, 31) + getNumberHashCode(this.a2g_1) | 0;
567
567
  return result;
568
568
  };
569
569
  protoOf(HSV).equals = function (other) {
@@ -572,13 +572,13 @@
572
572
  if (!(other instanceof HSV))
573
573
  return false;
574
574
  var tmp0_other_with_cast = other instanceof HSV ? other : THROW_CCE();
575
- if (!equals(this.j2f_1, tmp0_other_with_cast.j2f_1))
575
+ if (!equals(this.x2f_1, tmp0_other_with_cast.x2f_1))
576
576
  return false;
577
- if (!equals(this.k2f_1, tmp0_other_with_cast.k2f_1))
577
+ if (!equals(this.y2f_1, tmp0_other_with_cast.y2f_1))
578
578
  return false;
579
- if (!equals(this.l2f_1, tmp0_other_with_cast.l2f_1))
579
+ if (!equals(this.z2f_1, tmp0_other_with_cast.z2f_1))
580
580
  return false;
581
- if (!equals(this.m2f_1, tmp0_other_with_cast.m2f_1))
581
+ if (!equals(this.a2g_1, tmp0_other_with_cast.a2g_1))
582
582
  return false;
583
583
  return true;
584
584
  };
@@ -620,46 +620,46 @@
620
620
  var ICTCP_LMS_TO_XYZ;
621
621
  function ICtCp() {
622
622
  }
623
- protoOf(ICtCp).u2f = function () {
624
- var fo = RGBColorSpaces_getInstance().c2g_1.h2g();
623
+ protoOf(ICtCp).i2g = function () {
624
+ var fo = RGBColorSpaces_getInstance().q2g_1.v2g();
625
625
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
626
626
  var this_0 = get_ICTCP_ICTCP_to_LMS();
627
- var v0 = this.q2f_1;
628
- var v1 = this.r2f_1;
629
- var v2 = this.s2f_1;
627
+ var v0 = this.e2g_1;
628
+ var v1 = this.f2g_1;
629
+ var v2 = this.g2g_1;
630
630
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>' call
631
631
  var l = 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;
632
632
  var m = 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;
633
633
  var s = 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;
634
634
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
635
635
  var this_1 = get_ICTCP_LMS_to_RGB();
636
- var v0_0 = PqNonlinearity_instance.q2g(l);
637
- var v1_0 = PqNonlinearity_instance.q2g(m);
638
- var v2_0 = PqNonlinearity_instance.q2g(s);
636
+ var v0_0 = PqNonlinearity_instance.e2h(l);
637
+ var v1_0 = PqNonlinearity_instance.e2h(m);
638
+ var v2_0 = PqNonlinearity_instance.e2h(s);
639
639
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>.<anonymous>' call
640
640
  var r = Matrix__get_impl_xogbpk(this_1, 0, 0) * v0_0 + Matrix__get_impl_xogbpk(this_1, 1, 0) * v1_0 + Matrix__get_impl_xogbpk(this_1, 2, 0) * v2_0;
641
641
  var g = Matrix__get_impl_xogbpk(this_1, 0, 1) * v0_0 + Matrix__get_impl_xogbpk(this_1, 1, 1) * v1_0 + Matrix__get_impl_xogbpk(this_1, 2, 1) * v2_0;
642
642
  var b = Matrix__get_impl_xogbpk(this_1, 0, 2) * v0_0 + Matrix__get_impl_xogbpk(this_1, 1, 2) * v1_0 + Matrix__get_impl_xogbpk(this_1, 2, 2) * v2_0;
643
- return RGBColorSpaces_getInstance().c2g_1.o2f(fo.r2g(r), fo.r2g(g), fo.r2g(b), this.t2f_1);
643
+ return RGBColorSpaces_getInstance().q2g_1.c2g(fo.f2h(r), fo.f2h(g), fo.f2h(b), this.h2g_1);
644
644
  };
645
645
  function PqNonlinearity() {
646
- this.i2g_1 = 0.1593017578125;
647
- this.j2g_1 = 78.84375;
648
- this.k2g_1 = 0.8359375;
649
- this.l2g_1 = 18.8515625;
650
- this.m2g_1 = 18.6875;
651
- this.n2g_1 = 10000.0;
652
- this.o2g_1 = 6.277394636015326;
653
- this.p2g_1 = 0.012683313515655966;
654
- }
655
- protoOf(PqNonlinearity).q2g = function (x) {
646
+ this.w2g_1 = 0.1593017578125;
647
+ this.x2g_1 = 78.84375;
648
+ this.y2g_1 = 0.8359375;
649
+ this.z2g_1 = 18.8515625;
650
+ this.a2h_1 = 18.6875;
651
+ this.b2h_1 = 10000.0;
652
+ this.c2h_1 = 6.277394636015326;
653
+ this.d2h_1 = 0.012683313515655966;
654
+ }
655
+ protoOf(PqNonlinearity).e2h = function (x) {
656
656
  var vp = spow(x, 0.012683313515655966);
657
657
  var n = coerceAtLeast(vp - 0.8359375, 0.0);
658
658
  var tmp = n / (18.8515625 - 18.6875 * vp);
659
659
  var l = spow_0(tmp, 6.277394636015326);
660
660
  return 10000.0 * l;
661
661
  };
662
- protoOf(PqNonlinearity).r2g = function (x) {
662
+ protoOf(PqNonlinearity).f2h = function (x) {
663
663
  var tmp = x / 10000.0;
664
664
  var yp = spow_0(tmp, 0.1593017578125);
665
665
  var tmp_0 = 0.8359375 + 18.8515625 * yp;
@@ -685,19 +685,19 @@
685
685
  }
686
686
  }
687
687
  function GammaTransferFunctions(gamma) {
688
- this.s2g_1 = gamma;
688
+ this.g2h_1 = gamma;
689
689
  }
690
- protoOf(GammaTransferFunctions).q2g = function (x) {
691
- return spow(x, this.s2g_1);
690
+ protoOf(GammaTransferFunctions).e2h = function (x) {
691
+ return spow(x, this.g2h_1);
692
692
  };
693
- protoOf(GammaTransferFunctions).r2g = function (x) {
694
- return spow(x, 1.0 / this.s2g_1);
693
+ protoOf(GammaTransferFunctions).f2h = function (x) {
694
+ return spow(x, 1.0 / this.g2h_1);
695
695
  };
696
696
  protoOf(GammaTransferFunctions).toString = function () {
697
- return 'GammaTransferFunctions(gamma=' + this.s2g_1 + ')';
697
+ return 'GammaTransferFunctions(gamma=' + this.g2h_1 + ')';
698
698
  };
699
699
  protoOf(GammaTransferFunctions).hashCode = function () {
700
- return getNumberHashCode(this.s2g_1);
700
+ return getNumberHashCode(this.g2h_1);
701
701
  };
702
702
  protoOf(GammaTransferFunctions).equals = function (other) {
703
703
  if (this === other)
@@ -705,16 +705,16 @@
705
705
  if (!(other instanceof GammaTransferFunctions))
706
706
  return false;
707
707
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
708
- if (!equals(this.s2g_1, tmp0_other_with_cast.s2g_1))
708
+ if (!equals(this.g2h_1, tmp0_other_with_cast.g2h_1))
709
709
  return false;
710
710
  return true;
711
711
  };
712
712
  function LinearTransferFunctions() {
713
713
  }
714
- protoOf(LinearTransferFunctions).q2g = function (x) {
714
+ protoOf(LinearTransferFunctions).e2h = function (x) {
715
715
  return x;
716
716
  };
717
- protoOf(LinearTransferFunctions).r2g = function (x) {
717
+ protoOf(LinearTransferFunctions).f2h = function (x) {
718
718
  return x;
719
719
  };
720
720
  var LinearTransferFunctions_instance;
@@ -725,43 +725,43 @@
725
725
  }
726
726
  function Companion_2() {
727
727
  Companion_instance_2 = this;
728
- this.n2f_1 = RGBColorSpaces_getInstance().v2f_1;
728
+ this.b2g_1 = RGBColorSpaces_getInstance().j2g_1;
729
729
  }
730
- protoOf(Companion_2).a2f = function () {
731
- return this.n2f_1.a2f();
730
+ protoOf(Companion_2).o2f = function () {
731
+ return this.b2g_1.o2f();
732
732
  };
733
- protoOf(Companion_2).x2g = function () {
734
- return this.n2f_1.x2g();
733
+ protoOf(Companion_2).l2h = function () {
734
+ return this.b2g_1.l2h();
735
735
  };
736
- protoOf(Companion_2).w2g = function () {
737
- return this.n2f_1.w2g();
736
+ protoOf(Companion_2).k2h = function () {
737
+ return this.b2g_1.k2h();
738
738
  };
739
739
  protoOf(Companion_2).r2 = function () {
740
- return this.n2f_1.r2();
740
+ return this.b2g_1.r2();
741
741
  };
742
- protoOf(Companion_2).h2g = function () {
743
- return this.n2f_1.h2g();
742
+ protoOf(Companion_2).v2g = function () {
743
+ return this.b2g_1.v2g();
744
744
  };
745
- protoOf(Companion_2).y2g = function () {
746
- return this.n2f_1.y2g();
745
+ protoOf(Companion_2).m2h = function () {
746
+ return this.b2g_1.m2h();
747
747
  };
748
- protoOf(Companion_2).u2g = function (r, g, b, alpha) {
749
- return this.n2f_1.u2g(r, g, b, alpha);
748
+ protoOf(Companion_2).i2h = function (r, g, b, alpha) {
749
+ return this.b2g_1.i2h(r, g, b, alpha);
750
750
  };
751
- protoOf(Companion_2).o2f = function (r, g, b, alpha) {
752
- return this.n2f_1.o2f(r, g, b, alpha);
751
+ protoOf(Companion_2).c2g = function (r, g, b, alpha) {
752
+ return this.b2g_1.c2g(r, g, b, alpha);
753
753
  };
754
- protoOf(Companion_2).t2g = function (r, g, b, alpha) {
755
- return this.n2f_1.t2g(r, g, b, alpha);
754
+ protoOf(Companion_2).h2h = function (r, g, b, alpha) {
755
+ return this.b2g_1.h2h(r, g, b, alpha);
756
756
  };
757
- protoOf(Companion_2).v2g = function (hex) {
758
- return this.n2f_1.v2g(hex);
757
+ protoOf(Companion_2).j2h = function (hex) {
758
+ return this.b2g_1.j2h(hex);
759
759
  };
760
760
  protoOf(Companion_2).equals = function (other) {
761
- return equals(RGBColorSpaces_getInstance().v2f_1, other);
761
+ return equals(RGBColorSpaces_getInstance().j2g_1, other);
762
762
  };
763
763
  protoOf(Companion_2).hashCode = function () {
764
- return hashCode(RGBColorSpaces_getInstance().v2f_1);
764
+ return hashCode(RGBColorSpaces_getInstance().j2g_1);
765
765
  };
766
766
  var Companion_instance_2;
767
767
  function Companion_getInstance_2() {
@@ -770,47 +770,47 @@
770
770
  return Companion_instance_2;
771
771
  }
772
772
  function clamp$copy(receiver, p0, p1, p2, p3) {
773
- return receiver.z2g(p0, p1, p2, p3);
773
+ return receiver.n2h(p0, p1, p2, p3);
774
774
  }
775
775
  function RGB(r, g, b, alpha, space) {
776
776
  Companion_getInstance_2();
777
- this.f2e_1 = r;
778
- this.g2e_1 = g;
779
- this.h2e_1 = b;
780
- this.i2e_1 = alpha;
781
- this.j2e_1 = space;
777
+ this.t2e_1 = r;
778
+ this.u2e_1 = g;
779
+ this.v2e_1 = b;
780
+ this.w2e_1 = alpha;
781
+ this.x2e_1 = space;
782
782
  }
783
- protoOf(RGB).c2e = function () {
784
- return this.j2e_1;
783
+ protoOf(RGB).q2e = function () {
784
+ return this.x2e_1;
785
785
  };
786
- protoOf(RGB).a2h = function () {
786
+ protoOf(RGB).o2h = function () {
787
787
  // Inline function 'kotlin.math.roundToInt' call
788
- var this_0 = this.f2e_1 * 255;
788
+ var this_0 = this.t2e_1 * 255;
789
789
  return roundToInt(this_0);
790
790
  };
791
- protoOf(RGB).b2h = function () {
791
+ protoOf(RGB).p2h = function () {
792
792
  // Inline function 'kotlin.math.roundToInt' call
793
- var this_0 = this.g2e_1 * 255;
793
+ var this_0 = this.u2e_1 * 255;
794
794
  return roundToInt(this_0);
795
795
  };
796
- protoOf(RGB).c2h = function () {
796
+ protoOf(RGB).q2h = function () {
797
797
  // Inline function 'kotlin.math.roundToInt' call
798
- var this_0 = this.h2e_1 * 255;
798
+ var this_0 = this.v2e_1 * 255;
799
799
  return roundToInt(this_0);
800
800
  };
801
- protoOf(RGB).d2h = function (space) {
802
- var f = SRGB_getInstance().h2g();
803
- return equals(this.j2e_1, space) ? this : equals(this.j2e_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().w2f_1) ? space.o2f(f.q2g(this.f2e_1), f.q2g(this.g2e_1), f.q2g(this.h2e_1), this.i2e_1) : equals(this.j2e_1, RGBColorSpaces_getInstance().w2f_1) && equals(space, SRGB_getInstance()) ? space.o2f(f.r2g(this.f2e_1), f.r2g(this.g2e_1), f.r2g(this.h2e_1), this.i2e_1) : this.e2e().j2h(space);
801
+ protoOf(RGB).r2h = function (space) {
802
+ var f = SRGB_getInstance().v2g();
803
+ return equals(this.x2e_1, space) ? this : equals(this.x2e_1, SRGB_getInstance()) && equals(space, RGBColorSpaces_getInstance().k2g_1) ? space.c2g(f.e2h(this.t2e_1), f.e2h(this.u2e_1), f.e2h(this.v2e_1), this.w2e_1) : equals(this.x2e_1, RGBColorSpaces_getInstance().k2g_1) && equals(space, SRGB_getInstance()) ? space.c2g(f.f2h(this.t2e_1), f.f2h(this.u2e_1), f.f2h(this.v2e_1), this.w2e_1) : this.s2e().x2h(space);
804
804
  };
805
- protoOf(RGB).k2h = function () {
805
+ protoOf(RGB).y2h = function () {
806
806
  var tmp$ret$3;
807
807
  $l$block: {
808
808
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
809
809
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
810
- var $this$toSRGB = this.d2h(SRGB_getInstance());
811
- var r = $this$toSRGB.f2e_1;
812
- var g = $this$toSRGB.g2e_1;
813
- var b = $this$toSRGB.h2e_1;
810
+ var $this$toSRGB = this.r2h(SRGB_getInstance());
811
+ var r = $this$toSRGB.t2e_1;
812
+ var g = $this$toSRGB.u2e_1;
813
+ var b = $this$toSRGB.v2e_1;
814
814
  // Inline function 'kotlin.comparisons.minOf' call
815
815
  var min = Math.min(r, g, b);
816
816
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -832,81 +832,81 @@
832
832
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSV.<anonymous>' call
833
833
  var h_0 = normalizeDeg(h);
834
834
  var s = max === 0.0 ? 0.0 : chroma / max;
835
- tmp$ret$3 = new HSV(h_0, s, max, this.i2e_1);
835
+ tmp$ret$3 = new HSV(h_0, s, max, this.w2e_1);
836
836
  break $l$block;
837
837
  }
838
838
  return tmp$ret$3;
839
839
  };
840
- protoOf(RGB).e2e = function () {
841
- var f = this.j2e_1.h2g();
840
+ protoOf(RGB).s2e = function () {
841
+ var f = this.x2e_1.v2g();
842
842
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
843
- var this_0 = _Matrix___init__impl__q3kp4w(this.j2e_1.w2g());
844
- var v0 = f.q2g(this.f2e_1);
845
- var v1 = f.q2g(this.g2e_1);
846
- var v2 = f.q2g(this.h2e_1);
843
+ var this_0 = _Matrix___init__impl__q3kp4w(this.x2e_1.k2h());
844
+ var v0 = f.e2h(this.t2e_1);
845
+ var v1 = f.e2h(this.u2e_1);
846
+ var v2 = f.e2h(this.v2e_1);
847
847
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
848
848
  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;
849
849
  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;
850
850
  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;
851
- return XYZColorSpace_0(this.j2e_1.y2g()).o2f(x, y, z, this.i2e_1);
851
+ return XYZColorSpace_0(this.x2e_1.m2h()).c2g(x, y, z, this.w2e_1);
852
852
  };
853
- protoOf(RGB).g2f = function () {
853
+ protoOf(RGB).u2f = function () {
854
854
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
855
- var $this$toSRGB = this.d2h(SRGB_getInstance());
855
+ var $this$toSRGB = this.r2h(SRGB_getInstance());
856
856
  // Inline function 'kotlin.math.roundToInt' call
857
- var this_0 = $this$toSRGB.k2h().l2f_1 * 100;
857
+ var this_0 = $this$toSRGB.y2h().z2f_1 * 100;
858
858
  var value = roundToInt(this_0);
859
859
  if (value === 30)
860
860
  return new Ansi16(30);
861
861
  var v = value / 50 | 0;
862
862
  // Inline function 'kotlin.math.roundToInt' call
863
- var this_1 = $this$toSRGB.h2e_1;
863
+ var this_1 = $this$toSRGB.v2e_1;
864
864
  var tmp$ret$1 = roundToInt(this_1);
865
865
  var tmp = imul(tmp$ret$1, 4);
866
866
  // Inline function 'kotlin.math.roundToInt' call
867
- var this_2 = $this$toSRGB.g2e_1;
867
+ var this_2 = $this$toSRGB.u2e_1;
868
868
  var tmp$ret$2 = roundToInt(this_2);
869
869
  var tmp_0 = tmp | imul(tmp$ret$2, 2);
870
870
  // Inline function 'kotlin.math.roundToInt' call
871
- var this_3 = $this$toSRGB.f2e_1;
871
+ var this_3 = $this$toSRGB.t2e_1;
872
872
  var ansi = 30 + (tmp_0 | roundToInt(this_3)) | 0;
873
873
  return new Ansi16(v === 2 ? ansi + 60 | 0 : ansi);
874
874
  };
875
- protoOf(RGB).l2h = function () {
875
+ protoOf(RGB).z2h = function () {
876
876
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
877
- var $this$toSRGB = this.d2h(SRGB_getInstance());
878
- var ri = $this$toSRGB.a2h();
879
- var gi = $this$toSRGB.b2h();
880
- var bi = $this$toSRGB.c2h();
877
+ var $this$toSRGB = this.r2h(SRGB_getInstance());
878
+ var ri = $this$toSRGB.o2h();
879
+ var gi = $this$toSRGB.p2h();
880
+ var bi = $this$toSRGB.q2h();
881
881
  var tmp;
882
882
  if (ri === gi && gi === bi) {
883
883
  tmp = ri < 8 ? 16 : ri > 248 ? 231 : roundToInt((ri - 8 | 0) / 247.0 * 24.0) + 232 | 0;
884
884
  } else {
885
885
  // Inline function 'kotlin.math.roundToInt' call
886
- var this_0 = $this$toSRGB.f2e_1 * 5;
886
+ var this_0 = $this$toSRGB.t2e_1 * 5;
887
887
  var tmp$ret$0 = roundToInt(this_0);
888
888
  var tmp_0 = 16 + imul(36, tmp$ret$0) | 0;
889
889
  // Inline function 'kotlin.math.roundToInt' call
890
- var this_1 = $this$toSRGB.g2e_1 * 5;
890
+ var this_1 = $this$toSRGB.u2e_1 * 5;
891
891
  var tmp$ret$1 = roundToInt(this_1);
892
892
  var tmp_1 = tmp_0 + imul(6, tmp$ret$1) | 0;
893
893
  // Inline function 'kotlin.math.roundToInt' call
894
- var this_2 = $this$toSRGB.h2e_1 * 5;
894
+ var this_2 = $this$toSRGB.v2e_1 * 5;
895
895
  tmp = tmp_1 + roundToInt(this_2) | 0;
896
896
  }
897
897
  var code = tmp;
898
898
  return new Ansi256(code);
899
899
  };
900
- protoOf(RGB).d2e = function () {
901
- return this.d2h(RGBColorSpaces_getInstance().v2f_1);
900
+ protoOf(RGB).r2e = function () {
901
+ return this.r2h(RGBColorSpaces_getInstance().j2g_1);
902
902
  };
903
- protoOf(RGB).m2h = function () {
903
+ protoOf(RGB).a2i = function () {
904
904
  // Inline function 'com.github.ajalt.colormath.internal.clamp3' call
905
- var v1 = this.f2e_1;
906
- var v2 = this.g2e_1;
907
- var v3 = this.h2e_1;
908
- var alpha = this.i2e_1;
909
- var tmp0_container = this.c2e().a2f();
905
+ var v1 = this.t2e_1;
906
+ var v2 = this.u2e_1;
907
+ var v3 = this.v2e_1;
908
+ var alpha = this.w2e_1;
909
+ var tmp0_container = this.q2e().o2f();
910
910
  // Inline function 'kotlin.collections.component1' call
911
911
  var c1 = tmp0_container.k(0);
912
912
  // Inline function 'kotlin.collections.component2' call
@@ -917,16 +917,16 @@
917
917
  var tmp_0;
918
918
  var tmp_1;
919
919
  var tmp_2;
920
- var containsLower = c1.m2e_1;
921
- if (v1 <= c1.n2e_1 ? containsLower <= v1 : false) {
922
- var containsLower_0 = c2.m2e_1;
923
- tmp_2 = v2 <= c2.n2e_1 ? containsLower_0 <= v2 : false;
920
+ var containsLower = c1.a2f_1;
921
+ if (v1 <= c1.b2f_1 ? containsLower <= v1 : false) {
922
+ var containsLower_0 = c2.a2f_1;
923
+ tmp_2 = v2 <= c2.b2f_1 ? containsLower_0 <= v2 : false;
924
924
  } else {
925
925
  tmp_2 = false;
926
926
  }
927
927
  if (tmp_2) {
928
- var containsLower_1 = c3.m2e_1;
929
- tmp_1 = v3 <= c3.n2e_1 ? containsLower_1 <= v3 : false;
928
+ var containsLower_1 = c3.a2f_1;
929
+ tmp_1 = v3 <= c3.b2f_1 ? containsLower_1 <= v3 : false;
930
930
  } else {
931
931
  tmp_1 = false;
932
932
  }
@@ -938,30 +938,30 @@
938
938
  if (tmp_0) {
939
939
  tmp = this;
940
940
  } else {
941
- tmp = clamp$copy(this, coerceIn(v1, c1.m2e_1, c1.n2e_1), coerceIn(v2, c2.m2e_1, c2.n2e_1), coerceIn(v3, c3.m2e_1, c3.n2e_1), coerceIn(alpha, 0.0, 1.0));
941
+ tmp = clamp$copy(this, coerceIn(v1, c1.a2f_1, c1.b2f_1), coerceIn(v2, c2.a2f_1, c2.b2f_1), coerceIn(v3, c3.a2f_1, c3.b2f_1), coerceIn(alpha, 0.0, 1.0));
942
942
  }
943
943
  return tmp;
944
944
  };
945
- protoOf(RGB).n2h = function (r, g, b, alpha, space) {
945
+ protoOf(RGB).b2i = function (r, g, b, alpha, space) {
946
946
  return new RGB(r, g, b, alpha, space);
947
947
  };
948
- protoOf(RGB).z2g = function (r, g, b, alpha, space, $super) {
949
- r = r === VOID ? this.f2e_1 : r;
950
- g = g === VOID ? this.g2e_1 : g;
951
- b = b === VOID ? this.h2e_1 : b;
952
- alpha = alpha === VOID ? this.i2e_1 : alpha;
953
- space = space === VOID ? this.j2e_1 : space;
954
- return $super === VOID ? this.n2h(r, g, b, alpha, space) : $super.n2h.call(this, r, g, b, alpha, space);
948
+ protoOf(RGB).n2h = function (r, g, b, alpha, space, $super) {
949
+ r = r === VOID ? this.t2e_1 : r;
950
+ g = g === VOID ? this.u2e_1 : g;
951
+ b = b === VOID ? this.v2e_1 : b;
952
+ alpha = alpha === VOID ? this.w2e_1 : alpha;
953
+ space = space === VOID ? this.x2e_1 : space;
954
+ return $super === VOID ? this.b2i(r, g, b, alpha, space) : $super.b2i.call(this, r, g, b, alpha, space);
955
955
  };
956
956
  protoOf(RGB).toString = function () {
957
- return 'RGB(r=' + this.f2e_1 + ', g=' + this.g2e_1 + ', b=' + this.h2e_1 + ', alpha=' + this.i2e_1 + ', space=' + toString(this.j2e_1) + ')';
957
+ return 'RGB(r=' + this.t2e_1 + ', g=' + this.u2e_1 + ', b=' + this.v2e_1 + ', alpha=' + this.w2e_1 + ', space=' + toString(this.x2e_1) + ')';
958
958
  };
959
959
  protoOf(RGB).hashCode = function () {
960
- var result = getNumberHashCode(this.f2e_1);
961
- result = imul(result, 31) + getNumberHashCode(this.g2e_1) | 0;
962
- result = imul(result, 31) + getNumberHashCode(this.h2e_1) | 0;
963
- result = imul(result, 31) + getNumberHashCode(this.i2e_1) | 0;
964
- result = imul(result, 31) + hashCode(this.j2e_1) | 0;
960
+ var result = getNumberHashCode(this.t2e_1);
961
+ result = imul(result, 31) + getNumberHashCode(this.u2e_1) | 0;
962
+ result = imul(result, 31) + getNumberHashCode(this.v2e_1) | 0;
963
+ result = imul(result, 31) + getNumberHashCode(this.w2e_1) | 0;
964
+ result = imul(result, 31) + hashCode(this.x2e_1) | 0;
965
965
  return result;
966
966
  };
967
967
  protoOf(RGB).equals = function (other) {
@@ -970,15 +970,15 @@
970
970
  if (!(other instanceof RGB))
971
971
  return false;
972
972
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
973
- if (!equals(this.f2e_1, tmp0_other_with_cast.f2e_1))
973
+ if (!equals(this.t2e_1, tmp0_other_with_cast.t2e_1))
974
974
  return false;
975
- if (!equals(this.g2e_1, tmp0_other_with_cast.g2e_1))
975
+ if (!equals(this.u2e_1, tmp0_other_with_cast.u2e_1))
976
976
  return false;
977
- if (!equals(this.h2e_1, tmp0_other_with_cast.h2e_1))
977
+ if (!equals(this.v2e_1, tmp0_other_with_cast.v2e_1))
978
978
  return false;
979
- if (!equals(this.i2e_1, tmp0_other_with_cast.i2e_1))
979
+ if (!equals(this.w2e_1, tmp0_other_with_cast.w2e_1))
980
980
  return false;
981
- if (!equals(this.j2e_1, tmp0_other_with_cast.j2e_1))
981
+ if (!equals(this.x2e_1, tmp0_other_with_cast.x2e_1))
982
982
  return false;
983
983
  return true;
984
984
  };
@@ -1079,17 +1079,17 @@
1079
1079
  }
1080
1080
  var ACES_AP1_B;
1081
1081
  function RGBColorSpaces$SRGB$lambda($this$$receiver, it) {
1082
- return it.d2e();
1082
+ return it.r2e();
1083
1083
  }
1084
1084
  function RGBColorSpaces$BT2020$lambda($this$$receiver, color) {
1085
1085
  var tmp;
1086
1086
  if (color instanceof RGB) {
1087
- tmp = color.d2h($this$$receiver);
1087
+ tmp = color.r2h($this$$receiver);
1088
1088
  } else {
1089
1089
  if (color instanceof ICtCp) {
1090
- tmp = color.u2f();
1090
+ tmp = color.i2g();
1091
1091
  } else {
1092
- tmp = color.e2e().j2h($this$$receiver);
1092
+ tmp = color.s2e().x2h($this$$receiver);
1093
1093
  }
1094
1094
  }
1095
1095
  return tmp;
@@ -1097,29 +1097,29 @@
1097
1097
  function RGBColorSpaces() {
1098
1098
  RGBColorSpaces_instance = this;
1099
1099
  var tmp = this;
1100
- var tmp_0 = Illuminant_getInstance().v2e_1;
1100
+ var tmp_0 = Illuminant_getInstance().j2f_1;
1101
1101
  var tmp_1 = SRGBTransferFunctions_instance;
1102
1102
  var tmp_2 = get_SRGB_R();
1103
1103
  var tmp_3 = get_SRGB_G();
1104
1104
  var tmp_4 = get_SRGB_B();
1105
- tmp.v2f_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1106
- this.w2f_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().v2e_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1107
- this.x2f_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1108
- this.y2f_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1109
- this.z2f_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1110
- this.a2g_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1111
- this.b2g_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().v2e_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));
1105
+ tmp.j2g_1 = new RGBColorSpaceImpl('sRGB', tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, RGBColorSpaces$SRGB$lambda);
1106
+ this.k2g_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().j2f_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
1107
+ this.l2g_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
1108
+ this.m2g_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1109
+ this.n2g_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1110
+ this.o2g_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
1111
+ this.p2g_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().j2f_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));
1112
1112
  var tmp_5 = this;
1113
- var tmp_6 = Illuminant_getInstance().v2e_1;
1113
+ var tmp_6 = Illuminant_getInstance().j2f_1;
1114
1114
  var tmp_7 = BT2020TransferFunctions_getInstance();
1115
1115
  var tmp_8 = xyY_init_$Create$(0.708, 0.292);
1116
1116
  var tmp_9 = xyY_init_$Create$(0.17, 0.797);
1117
1117
  var tmp_10 = xyY_init_$Create$(0.131, 0.046);
1118
- tmp_5.c2g_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1119
- this.d2g_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().v2e_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1120
- this.e2g_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));
1121
- this.f2g_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().v2e_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1122
- this.g2g_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().t2e_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));
1118
+ tmp_5.q2g_1 = new RGBColorSpaceImpl('BT.2020', tmp_6, tmp_7, tmp_8, tmp_9, tmp_10, RGBColorSpaces$BT2020$lambda);
1119
+ this.r2g_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().j2f_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
1120
+ this.s2g_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));
1121
+ this.t2g_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().j2f_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
1122
+ this.u2g_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().h2f_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));
1123
1123
  }
1124
1124
  var RGBColorSpaces_instance;
1125
1125
  function RGBColorSpaces_getInstance() {
@@ -1129,43 +1129,43 @@
1129
1129
  }
1130
1130
  function SRGB() {
1131
1131
  SRGB_instance = this;
1132
- this.p2f_1 = RGBColorSpaces_getInstance().v2f_1;
1132
+ this.d2g_1 = RGBColorSpaces_getInstance().j2g_1;
1133
1133
  }
1134
- protoOf(SRGB).a2f = function () {
1135
- return this.p2f_1.a2f();
1134
+ protoOf(SRGB).o2f = function () {
1135
+ return this.d2g_1.o2f();
1136
1136
  };
1137
- protoOf(SRGB).x2g = function () {
1138
- return this.p2f_1.x2g();
1137
+ protoOf(SRGB).l2h = function () {
1138
+ return this.d2g_1.l2h();
1139
1139
  };
1140
- protoOf(SRGB).w2g = function () {
1141
- return this.p2f_1.w2g();
1140
+ protoOf(SRGB).k2h = function () {
1141
+ return this.d2g_1.k2h();
1142
1142
  };
1143
1143
  protoOf(SRGB).r2 = function () {
1144
- return this.p2f_1.r2();
1144
+ return this.d2g_1.r2();
1145
1145
  };
1146
- protoOf(SRGB).h2g = function () {
1147
- return this.p2f_1.h2g();
1146
+ protoOf(SRGB).v2g = function () {
1147
+ return this.d2g_1.v2g();
1148
1148
  };
1149
- protoOf(SRGB).y2g = function () {
1150
- return this.p2f_1.y2g();
1149
+ protoOf(SRGB).m2h = function () {
1150
+ return this.d2g_1.m2h();
1151
1151
  };
1152
- protoOf(SRGB).u2g = function (r, g, b, alpha) {
1153
- return this.p2f_1.u2g(r, g, b, alpha);
1152
+ protoOf(SRGB).i2h = function (r, g, b, alpha) {
1153
+ return this.d2g_1.i2h(r, g, b, alpha);
1154
1154
  };
1155
- protoOf(SRGB).o2f = function (r, g, b, alpha) {
1156
- return this.p2f_1.o2f(r, g, b, alpha);
1155
+ protoOf(SRGB).c2g = function (r, g, b, alpha) {
1156
+ return this.d2g_1.c2g(r, g, b, alpha);
1157
1157
  };
1158
- protoOf(SRGB).t2g = function (r, g, b, alpha) {
1159
- return this.p2f_1.t2g(r, g, b, alpha);
1158
+ protoOf(SRGB).h2h = function (r, g, b, alpha) {
1159
+ return this.d2g_1.h2h(r, g, b, alpha);
1160
1160
  };
1161
- protoOf(SRGB).v2g = function (hex) {
1162
- return this.p2f_1.v2g(hex);
1161
+ protoOf(SRGB).j2h = function (hex) {
1162
+ return this.d2g_1.j2h(hex);
1163
1163
  };
1164
1164
  protoOf(SRGB).equals = function (other) {
1165
- return equals(RGBColorSpaces_getInstance().v2f_1, other);
1165
+ return equals(RGBColorSpaces_getInstance().j2g_1, other);
1166
1166
  };
1167
1167
  protoOf(SRGB).hashCode = function () {
1168
- return hashCode(RGBColorSpaces_getInstance().v2f_1);
1168
+ return hashCode(RGBColorSpaces_getInstance().j2g_1);
1169
1169
  };
1170
1170
  protoOf(SRGB).toString = function () {
1171
1171
  return 'sRGB';
@@ -1177,39 +1177,39 @@
1177
1177
  return SRGB_instance;
1178
1178
  }
1179
1179
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b, convertImpl) {
1180
- this.o2h_1 = name;
1181
- this.p2h_1 = whitePoint;
1182
- this.q2h_1 = transferFunctions;
1183
- this.r2h_1 = r;
1184
- this.s2h_1 = g;
1185
- this.t2h_1 = b;
1186
- this.u2h_1 = convertImpl;
1187
- this.v2h_1 = zeroOneComponentInfo('RGB');
1188
- this.w2h_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.p2h_1, this.r2h_1, this.s2h_1, this.t2h_1));
1189
- this.x2h_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.w2h_1)));
1180
+ this.c2i_1 = name;
1181
+ this.d2i_1 = whitePoint;
1182
+ this.e2i_1 = transferFunctions;
1183
+ this.f2i_1 = r;
1184
+ this.g2i_1 = g;
1185
+ this.h2i_1 = b;
1186
+ this.i2i_1 = convertImpl;
1187
+ this.j2i_1 = zeroOneComponentInfo('RGB');
1188
+ this.k2i_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.d2i_1, this.f2i_1, this.g2i_1, this.h2i_1));
1189
+ this.l2i_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.k2i_1)));
1190
1190
  }
1191
1191
  protoOf(RGBColorSpaceImpl).r2 = function () {
1192
- return this.o2h_1;
1192
+ return this.c2i_1;
1193
1193
  };
1194
- protoOf(RGBColorSpaceImpl).y2g = function () {
1195
- return this.p2h_1;
1194
+ protoOf(RGBColorSpaceImpl).m2h = function () {
1195
+ return this.d2i_1;
1196
1196
  };
1197
- protoOf(RGBColorSpaceImpl).h2g = function () {
1198
- return this.q2h_1;
1197
+ protoOf(RGBColorSpaceImpl).v2g = function () {
1198
+ return this.e2i_1;
1199
1199
  };
1200
- protoOf(RGBColorSpaceImpl).a2f = function () {
1201
- return this.v2h_1;
1200
+ protoOf(RGBColorSpaceImpl).o2f = function () {
1201
+ return this.j2i_1;
1202
1202
  };
1203
- protoOf(RGBColorSpaceImpl).w2g = function () {
1204
- return this.w2h_1;
1203
+ protoOf(RGBColorSpaceImpl).k2h = function () {
1204
+ return this.k2i_1;
1205
1205
  };
1206
- protoOf(RGBColorSpaceImpl).x2g = function () {
1207
- return this.x2h_1;
1206
+ protoOf(RGBColorSpaceImpl).l2h = function () {
1207
+ return this.l2i_1;
1208
1208
  };
1209
1209
  protoOf(RGBColorSpaceImpl).toString = function () {
1210
- return this.o2h_1;
1210
+ return this.c2i_1;
1211
1211
  };
1212
- protoOf(RGBColorSpaceImpl).o2f = function (r, g, b, alpha) {
1212
+ protoOf(RGBColorSpaceImpl).c2g = function (r, g, b, alpha) {
1213
1213
  return new RGB(r, g, b, alpha, this);
1214
1214
  };
1215
1215
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -1217,42 +1217,42 @@
1217
1217
  return true;
1218
1218
  if (!(!(other == null) ? isInterface(other, RGBColorSpace) : false))
1219
1219
  return false;
1220
- if (!(this.o2h_1 === other.r2()))
1220
+ if (!(this.c2i_1 === other.r2()))
1221
1221
  return false;
1222
- if (!this.p2h_1.equals(other.y2g()))
1222
+ if (!this.d2i_1.equals(other.m2h()))
1223
1223
  return false;
1224
- if (!equals(this.q2h_1, other.h2g()))
1224
+ if (!equals(this.e2i_1, other.v2g()))
1225
1225
  return false;
1226
1226
  if (other instanceof RGBColorSpaceImpl) {
1227
- if (!this.r2h_1.equals(other.r2h_1))
1227
+ if (!this.f2i_1.equals(other.f2i_1))
1228
1228
  return false;
1229
- if (!this.s2h_1.equals(other.s2h_1))
1229
+ if (!this.g2i_1.equals(other.g2i_1))
1230
1230
  return false;
1231
- if (!this.t2h_1.equals(other.t2h_1))
1231
+ if (!this.h2i_1.equals(other.h2i_1))
1232
1232
  return false;
1233
1233
  } else {
1234
- if (!contentEquals(this.w2h_1, other.w2g()))
1234
+ if (!contentEquals(this.k2i_1, other.k2h()))
1235
1235
  return false;
1236
- if (!contentEquals(this.x2h_1, other.x2g()))
1236
+ if (!contentEquals(this.l2i_1, other.l2h()))
1237
1237
  return false;
1238
1238
  }
1239
1239
  return true;
1240
1240
  };
1241
1241
  protoOf(RGBColorSpaceImpl).hashCode = function () {
1242
- var result = getStringHashCode(this.o2h_1);
1243
- result = imul(31, result) + this.p2h_1.hashCode() | 0;
1244
- result = imul(31, result) + hashCode(this.q2h_1) | 0;
1245
- result = imul(31, result) + this.r2h_1.hashCode() | 0;
1246
- result = imul(31, result) + this.s2h_1.hashCode() | 0;
1247
- result = imul(31, result) + this.t2h_1.hashCode() | 0;
1242
+ var result = getStringHashCode(this.c2i_1);
1243
+ result = imul(31, result) + this.d2i_1.hashCode() | 0;
1244
+ result = imul(31, result) + hashCode(this.e2i_1) | 0;
1245
+ result = imul(31, result) + this.f2i_1.hashCode() | 0;
1246
+ result = imul(31, result) + this.g2i_1.hashCode() | 0;
1247
+ result = imul(31, result) + this.h2i_1.hashCode() | 0;
1248
1248
  return result;
1249
1249
  };
1250
1250
  function SRGBTransferFunctions() {
1251
1251
  }
1252
- protoOf(SRGBTransferFunctions).r2g = function (x) {
1252
+ protoOf(SRGBTransferFunctions).f2h = function (x) {
1253
1253
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 1 / 2.4) - 0.055;
1254
1254
  };
1255
- protoOf(SRGBTransferFunctions).q2g = function (x) {
1255
+ protoOf(SRGBTransferFunctions).e2h = function (x) {
1256
1256
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
1257
1257
  };
1258
1258
  var SRGBTransferFunctions_instance;
@@ -1265,14 +1265,14 @@
1265
1265
  }
1266
1266
  function ACESccTransferFunctions() {
1267
1267
  ACESccTransferFunctions_instance = this;
1268
- this.y2h_1 = 3.0517578125E-5;
1269
- this.z2h_1 = 1.52587890625E-5;
1270
- this.a2i_1 = -0.3013698630136986;
1268
+ this.m2i_1 = 3.0517578125E-5;
1269
+ this.n2i_1 = 1.52587890625E-5;
1270
+ this.o2i_1 = -0.3013698630136986;
1271
1271
  var tmp = this;
1272
1272
  // Inline function 'kotlin.math.log2' call
1273
- tmp.b2i_1 = (log2(65504.0) + 9.72) / 17.52;
1273
+ tmp.p2i_1 = (log2(65504.0) + 9.72) / 17.52;
1274
1274
  }
1275
- protoOf(ACESccTransferFunctions).q2g = function (x) {
1275
+ protoOf(ACESccTransferFunctions).e2h = function (x) {
1276
1276
  var tmp;
1277
1277
  var tmp_0 = x;
1278
1278
  ACESccTransferFunctions_getInstance();
@@ -1281,7 +1281,7 @@
1281
1281
  ACESccTransferFunctions_getInstance();
1282
1282
  tmp = (tmp_1 - 1.52587890625E-5) * 2.0;
1283
1283
  } else {
1284
- if (x < this.b2i_1) {
1284
+ if (x < this.p2i_1) {
1285
1285
  // Inline function 'kotlin.math.pow' call
1286
1286
  var x_0 = x * 17.52 - 9.72;
1287
1287
  tmp = Math.pow(2.0, x_0);
@@ -1291,7 +1291,7 @@
1291
1291
  }
1292
1292
  return tmp;
1293
1293
  };
1294
- protoOf(ACESccTransferFunctions).r2g = function (x) {
1294
+ protoOf(ACESccTransferFunctions).f2h = function (x) {
1295
1295
  var tmp;
1296
1296
  var tmp_0 = x;
1297
1297
  ACESccTransferFunctions_getInstance();
@@ -1314,20 +1314,20 @@
1314
1314
  }
1315
1315
  function ACEScctTransferFunctions() {
1316
1316
  ACEScctTransferFunctions_instance = this;
1317
- this.c2i_1 = 10.5402377416545;
1318
- this.d2i_1 = 0.0729055341958355;
1317
+ this.q2i_1 = 10.5402377416545;
1318
+ this.r2i_1 = 0.0729055341958355;
1319
1319
  var tmp = this;
1320
1320
  // Inline function 'kotlin.math.log2' call
1321
- tmp.e2i_1 = (log2(65504.0) + 9.72) / 17.52;
1321
+ tmp.s2i_1 = (log2(65504.0) + 9.72) / 17.52;
1322
1322
  }
1323
- protoOf(ACEScctTransferFunctions).q2g = function (x) {
1323
+ protoOf(ACEScctTransferFunctions).e2h = function (x) {
1324
1324
  var tmp;
1325
1325
  if (x <= 0.155251141552511) {
1326
1326
  ACEScctTransferFunctions_getInstance();
1327
1327
  var tmp_0 = x - 0.0729055341958355;
1328
1328
  ACEScctTransferFunctions_getInstance();
1329
1329
  tmp = tmp_0 / 10.5402377416545;
1330
- } else if (x < this.e2i_1) {
1330
+ } else if (x < this.s2i_1) {
1331
1331
  // Inline function 'kotlin.math.pow' call
1332
1332
  var x_0 = x * 17.52 - 9.72;
1333
1333
  tmp = Math.pow(2.0, x_0);
@@ -1336,7 +1336,7 @@
1336
1336
  }
1337
1337
  return tmp;
1338
1338
  };
1339
- protoOf(ACEScctTransferFunctions).r2g = function (x) {
1339
+ protoOf(ACEScctTransferFunctions).f2h = function (x) {
1340
1340
  var tmp;
1341
1341
  if (x < 0.0078125) {
1342
1342
  ACEScctTransferFunctions_getInstance();
@@ -1357,19 +1357,19 @@
1357
1357
  }
1358
1358
  function BT2020TransferFunctions() {
1359
1359
  BT2020TransferFunctions_instance = this;
1360
- this.f2i_1 = 1.0993;
1361
- this.g2i_1 = 0.0181;
1360
+ this.t2i_1 = 1.0993;
1361
+ this.u2i_1 = 0.0181;
1362
1362
  var tmp = this;
1363
1363
  BT2020TransferFunctions_getInstance();
1364
1364
  // Inline function 'kotlin.math.pow' call
1365
1365
  BT2020TransferFunctions_getInstance();
1366
1366
  var tmp_0 = 1.0993 * Math.pow(0.0181, 0.45);
1367
1367
  BT2020TransferFunctions_getInstance();
1368
- tmp.h2i_1 = tmp_0 - (1.0993 - 1);
1368
+ tmp.v2i_1 = tmp_0 - (1.0993 - 1);
1369
1369
  }
1370
- protoOf(BT2020TransferFunctions).q2g = function (x) {
1370
+ protoOf(BT2020TransferFunctions).e2h = function (x) {
1371
1371
  var tmp;
1372
- if (x < this.h2i_1) {
1372
+ if (x < this.v2i_1) {
1373
1373
  tmp = x / 4.5;
1374
1374
  } else {
1375
1375
  BT2020TransferFunctions_getInstance();
@@ -1379,7 +1379,7 @@
1379
1379
  }
1380
1380
  return numberToDouble(tmp);
1381
1381
  };
1382
- protoOf(BT2020TransferFunctions).r2g = function (x) {
1382
+ protoOf(BT2020TransferFunctions).f2h = function (x) {
1383
1383
  var tmp;
1384
1384
  var tmp_0 = x;
1385
1385
  BT2020TransferFunctions_getInstance();
@@ -1401,12 +1401,12 @@
1401
1401
  }
1402
1402
  function BT709TransferFunctions() {
1403
1403
  BT709TransferFunctions_instance = this;
1404
- this.i2i_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1404
+ this.w2i_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
1405
1405
  }
1406
- protoOf(BT709TransferFunctions).q2g = function (x) {
1407
- return numberToDouble(x < this.i2i_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1406
+ protoOf(BT709TransferFunctions).e2h = function (x) {
1407
+ return numberToDouble(x < this.w2i_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 1 / 0.45));
1408
1408
  };
1409
- protoOf(BT709TransferFunctions).r2g = function (x) {
1409
+ protoOf(BT709TransferFunctions).f2h = function (x) {
1410
1410
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
1411
1411
  };
1412
1412
  var BT709TransferFunctions_instance;
@@ -1416,9 +1416,9 @@
1416
1416
  return BT709TransferFunctions_instance;
1417
1417
  }
1418
1418
  function ROMMTransferFunctions() {
1419
- this.j2i_1 = 0.001953;
1419
+ this.x2i_1 = 0.001953;
1420
1420
  }
1421
- protoOf(ROMMTransferFunctions).q2g = function (x) {
1421
+ protoOf(ROMMTransferFunctions).e2h = function (x) {
1422
1422
  var tmp;
1423
1423
  var tmp_0 = x;
1424
1424
  if (tmp_0 < 16 * 0.001953) {
@@ -1428,7 +1428,7 @@
1428
1428
  }
1429
1429
  return tmp;
1430
1430
  };
1431
- protoOf(ROMMTransferFunctions).r2g = function (x) {
1431
+ protoOf(ROMMTransferFunctions).f2h = function (x) {
1432
1432
  var tmp;
1433
1433
  var tmp_0 = x;
1434
1434
  if (tmp_0 < 0.001953) {
@@ -1444,13 +1444,13 @@
1444
1444
  }
1445
1445
  function rgbToXyzMatrix(whitePoint, r, g, b) {
1446
1446
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1447
- var primaries = _Matrix___init__impl__q3kp4w_0(r.k2i_1, g.k2i_1, b.k2i_1, r.l2i_1, g.l2i_1, b.l2i_1, r.n2i(), g.n2i(), b.n2i());
1448
- var wp = whitePoint.p2e_1;
1447
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.y2i_1, g.y2i_1, b.y2i_1, r.z2i_1, g.z2i_1, b.z2i_1, r.b2j(), g.b2j(), b.b2j());
1448
+ var wp = whitePoint.d2f_1;
1449
1449
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1450
1450
  var this_0 = inverse(primaries);
1451
- var v0 = wp.o2i();
1452
- var v1 = wp.m2i_1;
1453
- var v2 = wp.p2i();
1451
+ var v0 = wp.c2j();
1452
+ var v1 = wp.a2j_1;
1453
+ var v2 = wp.d2j();
1454
1454
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
1455
1455
  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;
1456
1456
  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;
@@ -1461,9 +1461,9 @@
1461
1461
  _init_properties_RGBColorSpaces_kt__nc9fsz();
1462
1462
  var tmp;
1463
1463
  if (color instanceof RGB) {
1464
- tmp = color.d2h($this$$receiver);
1464
+ tmp = color.r2h($this$$receiver);
1465
1465
  } else {
1466
- tmp = color.e2e().j2h($this$$receiver);
1466
+ tmp = color.s2e().x2h($this$$receiver);
1467
1467
  }
1468
1468
  return tmp;
1469
1469
  }
@@ -1485,22 +1485,22 @@
1485
1485
  }
1486
1486
  function Companion_3() {
1487
1487
  Companion_instance_3 = this;
1488
- this.q2i_1 = XYZColorSpaces_getInstance().r2i_1;
1488
+ this.e2j_1 = XYZColorSpaces_getInstance().f2j_1;
1489
1489
  }
1490
- protoOf(Companion_3).a2f = function () {
1491
- return this.q2i_1.a2f();
1490
+ protoOf(Companion_3).o2f = function () {
1491
+ return this.e2j_1.o2f();
1492
1492
  };
1493
- protoOf(Companion_3).y2g = function () {
1494
- return this.q2i_1.y2g();
1493
+ protoOf(Companion_3).m2h = function () {
1494
+ return this.e2j_1.m2h();
1495
1495
  };
1496
- protoOf(Companion_3).o2f = function (x, y, z, alpha) {
1497
- return this.q2i_1.o2f(x, y, z, alpha);
1496
+ protoOf(Companion_3).c2g = function (x, y, z, alpha) {
1497
+ return this.e2j_1.c2g(x, y, z, alpha);
1498
1498
  };
1499
1499
  protoOf(Companion_3).hashCode = function () {
1500
- return hashCode(XYZColorSpaces_getInstance().r2i_1);
1500
+ return hashCode(XYZColorSpaces_getInstance().f2j_1);
1501
1501
  };
1502
1502
  protoOf(Companion_3).equals = function (other) {
1503
- return equals(XYZColorSpaces_getInstance().r2i_1, other);
1503
+ return equals(XYZColorSpaces_getInstance().f2j_1, other);
1504
1504
  };
1505
1505
  var Companion_instance_3;
1506
1506
  function Companion_getInstance_3() {
@@ -1509,71 +1509,71 @@
1509
1509
  return Companion_instance_3;
1510
1510
  }
1511
1511
  function adaptToM($this, space, m, mi) {
1512
- if (space.y2g().equals($this.i2h_1.y2g()))
1512
+ if (space.m2h().equals($this.w2h_1.m2h()))
1513
1513
  return $this;
1514
- var transform = chromaticAdaptationMatrix(space, $this.i2h_1.y2g().p2e_1, m, mi);
1514
+ var transform = chromaticAdaptationMatrix(space, $this.w2h_1.m2h().d2f_1, m, mi);
1515
1515
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1516
- var v0 = $this.e2h_1;
1517
- var v1 = $this.f2h_1;
1518
- var v2 = $this.g2h_1;
1516
+ var v0 = $this.s2h_1;
1517
+ var v1 = $this.t2h_1;
1518
+ var v2 = $this.u2h_1;
1519
1519
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
1520
1520
  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;
1521
1521
  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;
1522
1522
  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;
1523
- return space.o2f(xx, yy, zz, $this.h2h_1);
1523
+ return space.c2g(xx, yy, zz, $this.v2h_1);
1524
1524
  }
1525
1525
  function XYZ(x, y, z, alpha, space) {
1526
1526
  Companion_getInstance_3();
1527
- this.e2h_1 = x;
1528
- this.f2h_1 = y;
1529
- this.g2h_1 = z;
1530
- this.h2h_1 = alpha;
1531
- this.i2h_1 = space;
1527
+ this.s2h_1 = x;
1528
+ this.t2h_1 = y;
1529
+ this.u2h_1 = z;
1530
+ this.v2h_1 = alpha;
1531
+ this.w2h_1 = space;
1532
1532
  }
1533
- protoOf(XYZ).c2e = function () {
1534
- return this.i2h_1;
1533
+ protoOf(XYZ).q2e = function () {
1534
+ return this.w2h_1;
1535
1535
  };
1536
- protoOf(XYZ).t2i = function (space) {
1536
+ protoOf(XYZ).h2j = function (space) {
1537
1537
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
1538
1538
  };
1539
- protoOf(XYZ).j2h = function (space) {
1540
- var tmp0_container = this.t2i(XYZColorSpace_0(space.y2g()));
1539
+ protoOf(XYZ).x2h = function (space) {
1540
+ var tmp0_container = this.h2j(XYZColorSpace_0(space.m2h()));
1541
1541
  var x = tmp0_container.qd();
1542
1542
  var y = tmp0_container.rd();
1543
1543
  var z = tmp0_container.qh();
1544
- var f = space.h2g();
1544
+ var f = space.v2g();
1545
1545
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1546
- var this_0 = _Matrix___init__impl__q3kp4w(space.x2g());
1546
+ var this_0 = _Matrix___init__impl__q3kp4w(space.l2h());
1547
1547
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
1548
1548
  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;
1549
1549
  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;
1550
1550
  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;
1551
- return space.o2f(f.r2g(r), f.r2g(g), f.r2g(b), this.h2h_1);
1551
+ return space.c2g(f.f2h(r), f.f2h(g), f.f2h(b), this.v2h_1);
1552
1552
  };
1553
- protoOf(XYZ).d2e = function () {
1554
- return this.j2h(RGBColorSpaces_getInstance().v2f_1);
1553
+ protoOf(XYZ).r2e = function () {
1554
+ return this.x2h(RGBColorSpaces_getInstance().j2g_1);
1555
1555
  };
1556
- protoOf(XYZ).e2e = function () {
1556
+ protoOf(XYZ).s2e = function () {
1557
1557
  return this;
1558
1558
  };
1559
1559
  protoOf(XYZ).qd = function () {
1560
- return this.e2h_1;
1560
+ return this.s2h_1;
1561
1561
  };
1562
1562
  protoOf(XYZ).rd = function () {
1563
- return this.f2h_1;
1563
+ return this.t2h_1;
1564
1564
  };
1565
1565
  protoOf(XYZ).qh = function () {
1566
- return this.g2h_1;
1566
+ return this.u2h_1;
1567
1567
  };
1568
1568
  protoOf(XYZ).toString = function () {
1569
- return 'XYZ(x=' + this.e2h_1 + ', y=' + this.f2h_1 + ', z=' + this.g2h_1 + ', alpha=' + this.h2h_1 + ', space=' + toString(this.i2h_1) + ')';
1569
+ return 'XYZ(x=' + this.s2h_1 + ', y=' + this.t2h_1 + ', z=' + this.u2h_1 + ', alpha=' + this.v2h_1 + ', space=' + toString(this.w2h_1) + ')';
1570
1570
  };
1571
1571
  protoOf(XYZ).hashCode = function () {
1572
- var result = getNumberHashCode(this.e2h_1);
1573
- result = imul(result, 31) + getNumberHashCode(this.f2h_1) | 0;
1574
- result = imul(result, 31) + getNumberHashCode(this.g2h_1) | 0;
1575
- result = imul(result, 31) + getNumberHashCode(this.h2h_1) | 0;
1576
- result = imul(result, 31) + hashCode(this.i2h_1) | 0;
1572
+ var result = getNumberHashCode(this.s2h_1);
1573
+ result = imul(result, 31) + getNumberHashCode(this.t2h_1) | 0;
1574
+ result = imul(result, 31) + getNumberHashCode(this.u2h_1) | 0;
1575
+ result = imul(result, 31) + getNumberHashCode(this.v2h_1) | 0;
1576
+ result = imul(result, 31) + hashCode(this.w2h_1) | 0;
1577
1577
  return result;
1578
1578
  };
1579
1579
  protoOf(XYZ).equals = function (other) {
@@ -1582,27 +1582,27 @@
1582
1582
  if (!(other instanceof XYZ))
1583
1583
  return false;
1584
1584
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
1585
- if (!equals(this.e2h_1, tmp0_other_with_cast.e2h_1))
1585
+ if (!equals(this.s2h_1, tmp0_other_with_cast.s2h_1))
1586
1586
  return false;
1587
- if (!equals(this.f2h_1, tmp0_other_with_cast.f2h_1))
1587
+ if (!equals(this.t2h_1, tmp0_other_with_cast.t2h_1))
1588
1588
  return false;
1589
- if (!equals(this.g2h_1, tmp0_other_with_cast.g2h_1))
1589
+ if (!equals(this.u2h_1, tmp0_other_with_cast.u2h_1))
1590
1590
  return false;
1591
- if (!equals(this.h2h_1, tmp0_other_with_cast.h2h_1))
1591
+ if (!equals(this.v2h_1, tmp0_other_with_cast.v2h_1))
1592
1592
  return false;
1593
- if (!equals(this.i2h_1, tmp0_other_with_cast.i2h_1))
1593
+ if (!equals(this.w2h_1, tmp0_other_with_cast.w2h_1))
1594
1594
  return false;
1595
1595
  return true;
1596
1596
  };
1597
1597
  function XYZColorSpace() {
1598
1598
  }
1599
1599
  function XYZColorSpace_0(whitePoint) {
1600
- return whitePoint.equals(Illuminant_getInstance().v2e_1) ? XYZColorSpaces_getInstance().r2i_1 : whitePoint.equals(Illuminant_getInstance().t2e_1) ? XYZColorSpaces_getInstance().s2i_1 : new XYZColorSpaceImpl(whitePoint);
1600
+ return whitePoint.equals(Illuminant_getInstance().j2f_1) ? XYZColorSpaces_getInstance().f2j_1 : whitePoint.equals(Illuminant_getInstance().h2f_1) ? XYZColorSpaces_getInstance().g2j_1 : new XYZColorSpaceImpl(whitePoint);
1601
1601
  }
1602
1602
  function XYZColorSpaces() {
1603
1603
  XYZColorSpaces_instance = this;
1604
- this.r2i_1 = new XYZColorSpaceImpl(Illuminant_getInstance().v2e_1);
1605
- this.s2i_1 = new XYZColorSpaceImpl(Illuminant_getInstance().t2e_1);
1604
+ this.f2j_1 = new XYZColorSpaceImpl(Illuminant_getInstance().j2f_1);
1605
+ this.g2j_1 = new XYZColorSpaceImpl(Illuminant_getInstance().h2f_1);
1606
1606
  }
1607
1607
  var XYZColorSpaces_instance;
1608
1608
  function XYZColorSpaces_getInstance() {
@@ -1613,34 +1613,34 @@
1613
1613
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
1614
1614
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
1615
1615
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
1616
- var dstWp = _this__u8e3s4.y2g().p2e_1;
1617
- var src = dot_0(xyzToLms, srcWp.o2i(), srcWp.m2i_1, srcWp.p2i());
1618
- var dst = dot_0(xyzToLms, dstWp.o2i(), dstWp.m2i_1, dstWp.p2i());
1616
+ var dstWp = _this__u8e3s4.m2h().d2f_1;
1617
+ var src = dot_0(xyzToLms, srcWp.c2j(), srcWp.a2j_1, srcWp.d2j());
1618
+ var dst = dot_0(xyzToLms, dstWp.c2j(), dstWp.a2j_1, dstWp.d2j());
1619
1619
  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);
1620
1620
  }
1621
1621
  function XYZColorSpaceImpl(whitePoint) {
1622
- this.u2i_1 = whitePoint;
1623
- this.v2i_1 = zeroOneComponentInfo('XYZ');
1622
+ this.i2j_1 = whitePoint;
1623
+ this.j2j_1 = zeroOneComponentInfo('XYZ');
1624
1624
  }
1625
- protoOf(XYZColorSpaceImpl).y2g = function () {
1626
- return this.u2i_1;
1625
+ protoOf(XYZColorSpaceImpl).m2h = function () {
1626
+ return this.i2j_1;
1627
1627
  };
1628
- protoOf(XYZColorSpaceImpl).a2f = function () {
1629
- return this.v2i_1;
1628
+ protoOf(XYZColorSpaceImpl).o2f = function () {
1629
+ return this.j2j_1;
1630
1630
  };
1631
1631
  protoOf(XYZColorSpaceImpl).toString = function () {
1632
- return 'XYZColorSpace(' + this.u2i_1.toString() + ')';
1632
+ return 'XYZColorSpace(' + this.i2j_1.toString() + ')';
1633
1633
  };
1634
- protoOf(XYZColorSpaceImpl).o2f = function (x, y, z, alpha) {
1634
+ protoOf(XYZColorSpaceImpl).c2g = function (x, y, z, alpha) {
1635
1635
  return new XYZ(x, y, z, alpha, this);
1636
1636
  };
1637
1637
  protoOf(XYZColorSpaceImpl).hashCode = function () {
1638
- return this.u2i_1.hashCode();
1638
+ return this.i2j_1.hashCode();
1639
1639
  };
1640
1640
  protoOf(XYZColorSpaceImpl).equals = function (other) {
1641
1641
  var tmp;
1642
1642
  if (!(other == null) ? isInterface(other, XYZColorSpace) : false) {
1643
- tmp = this.u2i_1.equals(other.y2g());
1643
+ tmp = this.i2j_1.equals(other.m2h());
1644
1644
  } else {
1645
1645
  tmp = false;
1646
1646
  }
@@ -1656,26 +1656,26 @@
1656
1656
  }
1657
1657
  function xyY(x, y, Y) {
1658
1658
  Y = Y === VOID ? 1.0 : Y;
1659
- this.k2i_1 = x;
1660
- this.l2i_1 = y;
1661
- this.m2i_1 = Y;
1659
+ this.y2i_1 = x;
1660
+ this.z2i_1 = y;
1661
+ this.a2j_1 = Y;
1662
1662
  }
1663
- protoOf(xyY).n2i = function () {
1664
- return 1 - this.k2i_1 - this.l2i_1;
1663
+ protoOf(xyY).b2j = function () {
1664
+ return 1 - this.y2i_1 - this.z2i_1;
1665
1665
  };
1666
- protoOf(xyY).o2i = function () {
1667
- return this.k2i_1 * this.m2i_1 / this.l2i_1;
1666
+ protoOf(xyY).c2j = function () {
1667
+ return this.y2i_1 * this.a2j_1 / this.z2i_1;
1668
1668
  };
1669
- protoOf(xyY).p2i = function () {
1670
- return (1 - this.k2i_1 - this.l2i_1) * this.m2i_1 / this.l2i_1;
1669
+ protoOf(xyY).d2j = function () {
1670
+ return (1 - this.y2i_1 - this.z2i_1) * this.a2j_1 / this.z2i_1;
1671
1671
  };
1672
1672
  protoOf(xyY).toString = function () {
1673
- return 'xyY(x=' + this.k2i_1 + ', y=' + this.l2i_1 + ', Y=' + this.m2i_1 + ')';
1673
+ return 'xyY(x=' + this.y2i_1 + ', y=' + this.z2i_1 + ', Y=' + this.a2j_1 + ')';
1674
1674
  };
1675
1675
  protoOf(xyY).hashCode = function () {
1676
- var result = getNumberHashCode(this.k2i_1);
1677
- result = imul(result, 31) + getNumberHashCode(this.l2i_1) | 0;
1678
- result = imul(result, 31) + getNumberHashCode(this.m2i_1) | 0;
1676
+ var result = getNumberHashCode(this.y2i_1);
1677
+ result = imul(result, 31) + getNumberHashCode(this.z2i_1) | 0;
1678
+ result = imul(result, 31) + getNumberHashCode(this.a2j_1) | 0;
1679
1679
  return result;
1680
1680
  };
1681
1681
  protoOf(xyY).equals = function (other) {
@@ -1684,30 +1684,30 @@
1684
1684
  if (!(other instanceof xyY))
1685
1685
  return false;
1686
1686
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
1687
- if (!equals(this.k2i_1, tmp0_other_with_cast.k2i_1))
1687
+ if (!equals(this.y2i_1, tmp0_other_with_cast.y2i_1))
1688
1688
  return false;
1689
- if (!equals(this.l2i_1, tmp0_other_with_cast.l2i_1))
1689
+ if (!equals(this.z2i_1, tmp0_other_with_cast.z2i_1))
1690
1690
  return false;
1691
- if (!equals(this.m2i_1, tmp0_other_with_cast.m2i_1))
1691
+ if (!equals(this.a2j_1, tmp0_other_with_cast.a2j_1))
1692
1692
  return false;
1693
1693
  return true;
1694
1694
  };
1695
1695
  //region block: post-declaration
1696
- protoOf(Ansi16).e2e = toXYZ;
1697
- protoOf(Ansi256).e2e = toXYZ;
1698
- protoOf(HSV).e2e = toXYZ;
1699
- protoOf(Companion_2).d2f = from255$default;
1700
- protoOf(Companion_2).c2f = invoke$default;
1701
- protoOf(Companion_2).h2f = invoke$default_0;
1702
- protoOf(SRGB).d2f = from255$default;
1703
- protoOf(SRGB).c2f = invoke$default;
1704
- protoOf(SRGB).h2f = invoke$default_0;
1705
- protoOf(RGBColorSpaceImpl).c2f = invoke$default;
1706
- protoOf(RGBColorSpaceImpl).t2g = invoke;
1707
- protoOf(RGBColorSpaceImpl).h2f = invoke$default_0;
1708
- protoOf(RGBColorSpaceImpl).v2g = invoke_0;
1709
- protoOf(RGBColorSpaceImpl).u2g = from255;
1710
- protoOf(RGBColorSpaceImpl).d2f = from255$default;
1696
+ protoOf(Ansi16).s2e = toXYZ;
1697
+ protoOf(Ansi256).s2e = toXYZ;
1698
+ protoOf(HSV).s2e = toXYZ;
1699
+ protoOf(Companion_2).r2f = from255$default;
1700
+ protoOf(Companion_2).q2f = invoke$default;
1701
+ protoOf(Companion_2).v2f = invoke$default_0;
1702
+ protoOf(SRGB).r2f = from255$default;
1703
+ protoOf(SRGB).q2f = invoke$default;
1704
+ protoOf(SRGB).v2f = invoke$default_0;
1705
+ protoOf(RGBColorSpaceImpl).q2f = invoke$default;
1706
+ protoOf(RGBColorSpaceImpl).h2h = invoke;
1707
+ protoOf(RGBColorSpaceImpl).v2f = invoke$default_0;
1708
+ protoOf(RGBColorSpaceImpl).j2h = invoke_0;
1709
+ protoOf(RGBColorSpaceImpl).i2h = from255;
1710
+ protoOf(RGBColorSpaceImpl).r2f = from255$default;
1711
1711
  //endregion
1712
1712
  //region block: init
1713
1713
  PqNonlinearity_instance = new PqNonlinearity();