@cruglobal/godtools-shared 0.9.3-SNAPSHOT.1395 → 0.9.3-SNAPSHOT.1400

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.
@@ -1,107 +1,106 @@
1
1
  (function (root, factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './kotlin-kotlin-stdlib-js-ir.js'], factory);
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'));
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
6
  else {
7
- if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
8
- throw new Error("Error loading module 'colormath-root-colormath'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'colormath-root-colormath'.");
7
+ if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'colormath-root-colormath'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'colormath-root-colormath'.");
9
9
  }
10
- root['colormath-root-colormath'] = factory(typeof this['colormath-root-colormath'] === 'undefined' ? {} : this['colormath-root-colormath'], this['kotlin-kotlin-stdlib-js-ir']);
10
+ root['colormath-root-colormath'] = factory(typeof this['colormath-root-colormath'] === 'undefined' ? {} : this['colormath-root-colormath'], this['kotlin-kotlin-stdlib']);
11
11
  }
12
12
  }(this, function (_, kotlin_kotlin) {
13
13
  'use strict';
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
16
  var log2 = Math.log2;
17
- var protoOf = kotlin_kotlin.$_$.s6;
18
- var objectMeta = kotlin_kotlin.$_$.r6;
19
- var VOID = kotlin_kotlin.$_$.w9;
20
- var setMetadataFor = kotlin_kotlin.$_$.t6;
21
- var interfaceMeta = kotlin_kotlin.$_$.g6;
22
- var classMeta = kotlin_kotlin.$_$.x5;
23
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.x;
24
- var Companion_getInstance = kotlin_kotlin.$_$.k2;
25
- var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.v1;
26
- var createFailure = kotlin_kotlin.$_$.m9;
27
- var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.y1;
28
- var THROW_CCE = kotlin_kotlin.$_$.g9;
29
- var isObject = kotlin_kotlin.$_$.k6;
30
- var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.x1;
31
- var startsWith = kotlin_kotlin.$_$.d8;
32
- var Regex_init_$Create$ = kotlin_kotlin.$_$.q;
33
- var endsWith = kotlin_kotlin.$_$.q7;
34
- var coerceAtLeast = kotlin_kotlin.$_$.c7;
35
- var collectionSizeOrDefault = kotlin_kotlin.$_$.y2;
36
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.e;
37
- var get_lastIndex = kotlin_kotlin.$_$.v3;
38
- var charSequenceLength = kotlin_kotlin.$_$.w5;
39
- var coerceIn = kotlin_kotlin.$_$.e7;
40
- var roundToInt = kotlin_kotlin.$_$.y6;
41
- var coerceIn_0 = kotlin_kotlin.$_$.f7;
42
- var toDouble = kotlin_kotlin.$_$.j8;
43
- var dropLast = kotlin_kotlin.$_$.p7;
44
- var Unit_getInstance = kotlin_kotlin.$_$.m2;
45
- var Enum = kotlin_kotlin.$_$.v8;
46
- var equals = kotlin_kotlin.$_$.a6;
47
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.s;
48
- var dropLast_0 = kotlin_kotlin.$_$.g3;
49
- var joinTo = kotlin_kotlin.$_$.u3;
50
- var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.a2;
51
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
52
- var indexOf = kotlin_kotlin.$_$.u7;
53
- var take = kotlin_kotlin.$_$.f8;
54
- var charArrayOf = kotlin_kotlin.$_$.u5;
55
- var trimEnd = kotlin_kotlin.$_$.q8;
56
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.q9;
57
- var isNaN_0 = kotlin_kotlin.$_$.o9;
58
- var joinTo_0 = kotlin_kotlin.$_$.t3;
59
- var numberToDouble = kotlin_kotlin.$_$.o6;
60
- var getStringHashCode = kotlin_kotlin.$_$.e6;
61
- var charSequenceGet = kotlin_kotlin.$_$.v5;
62
- var toString = kotlin_kotlin.$_$.u1;
63
- var copyToArray = kotlin_kotlin.$_$.f3;
64
- var plus = kotlin_kotlin.$_$.g4;
65
- var asList = kotlin_kotlin.$_$.w2;
66
- var to = kotlin_kotlin.$_$.u9;
67
- var mapOf = kotlin_kotlin.$_$.d4;
68
- var withSign = kotlin_kotlin.$_$.z6;
69
- var get_PI = kotlin_kotlin.$_$.x6;
70
- var coerceAtLeast_0 = kotlin_kotlin.$_$.a7;
71
- var getNumberHashCode = kotlin_kotlin.$_$.c6;
72
- var numberToInt = kotlin_kotlin.$_$.p6;
73
- var FloatCompanionObject_getInstance = kotlin_kotlin.$_$.g2;
74
- var hashCode = kotlin_kotlin.$_$.f6;
75
- var isInterface = kotlin_kotlin.$_$.j6;
76
- var toString_0 = kotlin_kotlin.$_$.w6;
77
- var get_lastIndex_0 = kotlin_kotlin.$_$.x3;
78
- var DoubleCompanionObject_getInstance = kotlin_kotlin.$_$.f2;
79
- var Char = kotlin_kotlin.$_$.s8;
80
- var toInt = kotlin_kotlin.$_$.m8;
81
- var numberRangeToNumber = kotlin_kotlin.$_$.l6;
82
- var slice = kotlin_kotlin.$_$.z7;
83
- var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.b2;
84
- var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.c2;
85
- var toByte = kotlin_kotlin.$_$.u6;
86
- var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.z1;
87
- var objectCreate = kotlin_kotlin.$_$.q6;
17
+ var protoOf = kotlin_kotlin.$_$.t6;
18
+ var objectMeta = kotlin_kotlin.$_$.s6;
19
+ var setMetadataFor = kotlin_kotlin.$_$.u6;
20
+ var interfaceMeta = kotlin_kotlin.$_$.i6;
21
+ var classMeta = kotlin_kotlin.$_$.y5;
22
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.y;
23
+ var Companion_instance = kotlin_kotlin.$_$.m2;
24
+ var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.x1;
25
+ var createFailure = kotlin_kotlin.$_$.n9;
26
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.a2;
27
+ var THROW_CCE = kotlin_kotlin.$_$.h9;
28
+ var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.z1;
29
+ var startsWith = kotlin_kotlin.$_$.e8;
30
+ var Regex_init_$Create$ = kotlin_kotlin.$_$.r;
31
+ var endsWith = kotlin_kotlin.$_$.r7;
32
+ var coerceAtLeast = kotlin_kotlin.$_$.d7;
33
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.a3;
34
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
35
+ var Unit_instance = kotlin_kotlin.$_$.o2;
36
+ var get_lastIndex = kotlin_kotlin.$_$.x3;
37
+ var charSequenceLength = kotlin_kotlin.$_$.x5;
38
+ var VOID = kotlin_kotlin.$_$.c;
39
+ var coerceIn = kotlin_kotlin.$_$.f7;
40
+ var roundToInt = kotlin_kotlin.$_$.z6;
41
+ var coerceIn_0 = kotlin_kotlin.$_$.g7;
42
+ var toDouble = kotlin_kotlin.$_$.k8;
43
+ var dropLast = kotlin_kotlin.$_$.q7;
44
+ var Enum = kotlin_kotlin.$_$.w8;
45
+ var equals = kotlin_kotlin.$_$.b6;
46
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.t;
47
+ var dropLast_0 = kotlin_kotlin.$_$.i3;
48
+ var joinTo = kotlin_kotlin.$_$.w3;
49
+ var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.c2;
50
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s1;
51
+ var indexOf = kotlin_kotlin.$_$.v7;
52
+ var take = kotlin_kotlin.$_$.g8;
53
+ var charArrayOf = kotlin_kotlin.$_$.v5;
54
+ var trimEnd = kotlin_kotlin.$_$.r8;
55
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.r9;
56
+ var isNaN_0 = kotlin_kotlin.$_$.p9;
57
+ var joinTo_0 = kotlin_kotlin.$_$.v3;
58
+ var numberToDouble = kotlin_kotlin.$_$.p6;
59
+ var getStringHashCode = kotlin_kotlin.$_$.g6;
60
+ var charSequenceGet = kotlin_kotlin.$_$.w5;
61
+ var toString = kotlin_kotlin.$_$.w1;
62
+ var copyToArray = kotlin_kotlin.$_$.h3;
63
+ var plus = kotlin_kotlin.$_$.i4;
64
+ var asList = kotlin_kotlin.$_$.y2;
65
+ var to = kotlin_kotlin.$_$.v9;
66
+ var mapOf = kotlin_kotlin.$_$.f4;
67
+ var withSign = kotlin_kotlin.$_$.a7;
68
+ var get_PI = kotlin_kotlin.$_$.y6;
69
+ var coerceAtLeast_0 = kotlin_kotlin.$_$.b7;
70
+ var getNumberHashCode = kotlin_kotlin.$_$.e6;
71
+ var numberToInt = kotlin_kotlin.$_$.q6;
72
+ var FloatCompanionObject_instance = kotlin_kotlin.$_$.i2;
73
+ var hashCode = kotlin_kotlin.$_$.h6;
74
+ var isInterface = kotlin_kotlin.$_$.l6;
75
+ var toString_0 = kotlin_kotlin.$_$.x6;
76
+ var get_lastIndex_0 = kotlin_kotlin.$_$.z3;
77
+ var DoubleCompanionObject_instance = kotlin_kotlin.$_$.h2;
78
+ var Char = kotlin_kotlin.$_$.t8;
79
+ var toInt = kotlin_kotlin.$_$.n8;
80
+ var numberRangeToNumber = kotlin_kotlin.$_$.m6;
81
+ var slice = kotlin_kotlin.$_$.a8;
82
+ var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.d2;
83
+ var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.e2;
84
+ var toByte = kotlin_kotlin.$_$.v6;
85
+ var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.b2;
86
+ var objectCreate = kotlin_kotlin.$_$.r6;
88
87
  //endregion
89
88
  //region block: pre-declaration
90
89
  setMetadataFor(Companion, 'Companion', objectMeta);
91
90
  function toHSL() {
92
- return this.y1g().z1g();
91
+ return this.q1i().r1i();
93
92
  }
94
93
  function toXYZ() {
95
- return this.y1g().f1h();
94
+ return this.q1i().x1i();
96
95
  }
97
96
  function toLAB() {
98
- return this.f1h().g1h();
97
+ return this.x1i().y1i();
99
98
  }
100
99
  function toLCHab() {
101
- return this.g1h().m1h();
100
+ return this.y1i().e1j();
102
101
  }
103
102
  function toHWB() {
104
- return this.y1g().s1h();
103
+ return this.q1i().k1j();
105
104
  }
106
105
  setMetadataFor(Color, 'Color', interfaceMeta);
107
106
  setMetadataFor(WhitePointColorSpace, 'WhitePointColorSpace', interfaceMeta);
@@ -119,7 +118,7 @@
119
118
  setMetadataFor(ICtCp, 'ICtCp', classMeta, VOID, [Color]);
120
119
  setMetadataFor(PqNonlinearity, 'PqNonlinearity', objectMeta);
121
120
  function invoke(l, a, b, alpha) {
122
- return this.r1i(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
121
+ return this.k1k(numberToDouble(l), numberToDouble(a), numberToDouble(b), numberToDouble(alpha));
123
122
  }
124
123
  setMetadataFor(LABColorSpace, 'LABColorSpace', interfaceMeta, VOID, [WhitePointColorSpace]);
125
124
  setMetadataFor(Companion_2, 'Companion', objectMeta, VOID, [LABColorSpace]);
@@ -133,34 +132,30 @@
133
132
  setMetadataFor(GammaTransferFunctions, 'GammaTransferFunctions', classMeta);
134
133
  setMetadataFor(LinearTransferFunctions, 'LinearTransferFunctions', objectMeta);
135
134
  function invoke_0(r, g, b, alpha) {
136
- return this.r1i(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
135
+ return this.k1k(numberToDouble(r), numberToDouble(g), numberToDouble(b), numberToDouble(alpha));
137
136
  }
138
137
  function from255(r, g, b, alpha) {
139
- return this.r1i(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
138
+ return this.k1k(r / 255.0, g / 255.0, b / 255.0, alpha / 255.0);
140
139
  }
141
140
  function from255$default(r, g, b, alpha, $super) {
142
141
  alpha = alpha === VOID ? 255 : alpha;
143
- return $super === VOID ? this.n1k(r, g, b, alpha) : from255(r, g, b, alpha);
142
+ return $super === VOID ? this.g1m(r, g, b, alpha) : from255(r, g, b, alpha);
144
143
  }
145
144
  function invoke_1(hex) {
146
145
  var tmp = parseHex(validateHex(hex), 0);
147
146
  var tmp_0 = parseHex(hex, 1);
148
147
  var tmp_1 = parseHex(hex, 2);
149
148
  var tmp_2;
150
- var tmp$ret$1;
151
149
  // Inline function 'kotlin.let' call
152
- var tmp0_let = get_hexLength(hex);
153
150
  // Inline function 'kotlin.contracts.contract' call
154
- var tmp$ret$0;
155
151
  // Inline function 'com.github.ajalt.colormath.model.RGBColorSpace.invoke.<anonymous>' call
156
- tmp$ret$0 = tmp0_let === 4 ? true : tmp0_let === 8;
157
- tmp$ret$1 = tmp$ret$0;
158
- if (tmp$ret$1) {
152
+ var it = get_hexLength(hex);
153
+ if (it === 4 ? true : it === 8) {
159
154
  tmp_2 = parseHex(hex, 3);
160
155
  } else {
161
156
  tmp_2 = 255;
162
157
  }
163
- return this.n1k(tmp, tmp_0, tmp_1, tmp_2);
158
+ return this.g1m(tmp, tmp_0, tmp_1, tmp_2);
164
159
  }
165
160
  setMetadataFor(RGBColorSpace, 'RGBColorSpace', interfaceMeta, VOID, [WhitePointColorSpace]);
166
161
  setMetadataFor(Companion_4, 'Companion', objectMeta, VOID, [RGBColorSpace]);
@@ -176,11 +171,11 @@
176
171
  setMetadataFor(RGBColorSpaceImpl, 'RGBColorSpaceImpl', classMeta, VOID, [RGBColorSpace]);
177
172
  setMetadataFor(BT2020TransferFunctions, 'BT2020TransferFunctions', objectMeta);
178
173
  function invoke_2(x, y, z, alpha) {
179
- return this.r1i(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
174
+ return this.k1k(numberToDouble(x), numberToDouble(y), numberToDouble(z), numberToDouble(alpha));
180
175
  }
181
176
  function invoke$default(x, y, z, alpha, $super) {
182
177
  alpha = alpha === VOID ? 1.0 : alpha;
183
- return $super === VOID ? this.p1l(x, y, z, alpha) : invoke_2(x, y, z, alpha);
178
+ return $super === VOID ? this.h1n(x, y, z, alpha) : invoke_2(x, y, z, alpha);
184
179
  }
185
180
  setMetadataFor(XYZColorSpace, 'XYZColorSpace', interfaceMeta, VOID, [WhitePointColorSpace]);
186
181
  setMetadataFor(Companion_5, 'Companion', objectMeta, VOID, [XYZColorSpace]);
@@ -190,24 +185,21 @@
190
185
  setMetadataFor(xyY, 'xyY', classMeta);
191
186
  //endregion
192
187
  function Companion() {
193
- Companion_instance = this;
194
188
  }
195
- var Companion_instance;
196
- function Companion_getInstance_0() {
197
- if (Companion_instance == null)
198
- new Companion();
199
- return Companion_instance;
189
+ var Companion_instance_0;
190
+ function Companion_getInstance() {
191
+ return Companion_instance_0;
200
192
  }
201
193
  function Color() {
202
194
  }
203
195
  function convertTo(_this__u8e3s4, space) {
204
- return space.t1h(_this__u8e3s4);
196
+ return space.l1j(_this__u8e3s4);
205
197
  }
206
198
  function WhitePointColorSpace() {
207
199
  }
208
200
  function ColorComponentInfo(name, isPolar) {
209
- this.w1h_1 = name;
210
- this.x1h_1 = isPolar;
201
+ this.p1j_1 = name;
202
+ this.q1j_1 = isPolar;
211
203
  }
212
204
  function parse(_this__u8e3s4, color) {
213
205
  var tmp0_elvis_lhs = parseOrNull(_this__u8e3s4, color);
@@ -220,7 +212,7 @@
220
212
  return tmp;
221
213
  }
222
214
  function parseOrNull(_this__u8e3s4, color_0) {
223
- var keywordColor = CssColors_getInstance().y1h_1.f2(color_0);
215
+ var keywordColor = CssColors_getInstance().r1j_1.p2(color_0);
224
216
  var tmp;
225
217
  if (!(keywordColor == null)) {
226
218
  tmp = keywordColor;
@@ -230,33 +222,31 @@
230
222
  var tmp_0;
231
223
  try {
232
224
  // Inline function 'kotlin.Companion.success' call
233
- Companion_getInstance();
234
225
  // Inline function 'com.github.ajalt.colormath.parseOrNull.<anonymous>' call
235
- var tmp1_success = Companion_getInstance_5().q1i(color_0);
236
- tmp_0 = _Result___init__impl__xyqfz8(tmp1_success);
226
+ var value = Companion_getInstance_4().j1k(color_0);
227
+ tmp_0 = _Result___init__impl__xyqfz8(value);
237
228
  } catch ($p) {
238
229
  var tmp_1;
239
230
  if ($p instanceof Error) {
240
231
  var e = $p;
241
232
  // Inline function 'kotlin.Companion.failure' call
242
- Companion_getInstance();
243
233
  tmp_1 = _Result___init__impl__xyqfz8(createFailure(e));
244
234
  } else {
245
235
  throw $p;
246
236
  }
247
237
  tmp_0 = tmp_1;
248
238
  }
249
- var tmp0_getOrNull = tmp_0;
239
+ var this_0 = tmp_0;
250
240
  var tmp_2;
251
- if (_Result___get_isFailure__impl__jpiriv(tmp0_getOrNull)) {
241
+ if (_Result___get_isFailure__impl__jpiriv(this_0)) {
252
242
  tmp_2 = null;
253
243
  } else {
254
- var tmp_3 = _Result___get_value__impl__bjfvqg(tmp0_getOrNull);
255
- tmp_2 = (tmp_3 == null ? true : isObject(tmp_3)) ? tmp_3 : THROW_CCE();
244
+ var tmp_3 = _Result___get_value__impl__bjfvqg(this_0);
245
+ tmp_2 = (tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE();
256
246
  }
257
247
  tmp = tmp_2;
258
248
  } else {
259
- var tmp0_safe_receiver = PATTERNS_getInstance().f1i_1.vc(color_0);
249
+ var tmp0_safe_receiver = PATTERNS_getInstance().y1j_1.l8(color_0);
260
250
  var tmp_4;
261
251
  if (tmp0_safe_receiver == null) {
262
252
  tmp_4 = null;
@@ -269,7 +259,7 @@
269
259
  var tmp2_elvis_lhs = tmp_4;
270
260
  var tmp_5;
271
261
  if (tmp2_elvis_lhs == null) {
272
- var tmp1_safe_receiver = PATTERNS_getInstance().g1i_1.vc(color_0);
262
+ var tmp1_safe_receiver = PATTERNS_getInstance().z1j_1.l8(color_0);
273
263
  var tmp_6;
274
264
  if (tmp1_safe_receiver == null) {
275
265
  tmp_6 = null;
@@ -286,7 +276,7 @@
286
276
  var tmp4_elvis_lhs = tmp_5;
287
277
  var tmp_7;
288
278
  if (tmp4_elvis_lhs == null) {
289
- var tmp3_safe_receiver = PATTERNS_getInstance().h1i_1.vc(color_0);
279
+ var tmp3_safe_receiver = PATTERNS_getInstance().a1k_1.l8(color_0);
290
280
  var tmp_8;
291
281
  if (tmp3_safe_receiver == null) {
292
282
  tmp_8 = null;
@@ -303,7 +293,7 @@
303
293
  var tmp6_elvis_lhs = tmp_7;
304
294
  var tmp_9;
305
295
  if (tmp6_elvis_lhs == null) {
306
- var tmp5_safe_receiver = PATTERNS_getInstance().i1i_1.vc(color_0);
296
+ var tmp5_safe_receiver = PATTERNS_getInstance().b1k_1.l8(color_0);
307
297
  var tmp_10;
308
298
  if (tmp5_safe_receiver == null) {
309
299
  tmp_10 = null;
@@ -320,7 +310,7 @@
320
310
  var tmp8_elvis_lhs = tmp_9;
321
311
  var tmp_11;
322
312
  if (tmp8_elvis_lhs == null) {
323
- var tmp7_safe_receiver = PATTERNS_getInstance().j1i_1.vc(color_0);
313
+ var tmp7_safe_receiver = PATTERNS_getInstance().c1k_1.l8(color_0);
324
314
  var tmp_12;
325
315
  if (tmp7_safe_receiver == null) {
326
316
  tmp_12 = null;
@@ -337,7 +327,7 @@
337
327
  var tmp10_elvis_lhs = tmp_11;
338
328
  var tmp_13;
339
329
  if (tmp10_elvis_lhs == null) {
340
- var tmp9_safe_receiver = PATTERNS_getInstance().k1i_1.vc(color_0);
330
+ var tmp9_safe_receiver = PATTERNS_getInstance().d1k_1.l8(color_0);
341
331
  var tmp_14;
342
332
  if (tmp9_safe_receiver == null) {
343
333
  tmp_14 = null;
@@ -354,7 +344,7 @@
354
344
  var tmp12_elvis_lhs = tmp_13;
355
345
  var tmp_15;
356
346
  if (tmp12_elvis_lhs == null) {
357
- var tmp11_safe_receiver = PATTERNS_getInstance().l1i_1.vc(color_0);
347
+ var tmp11_safe_receiver = PATTERNS_getInstance().e1k_1.l8(color_0);
358
348
  var tmp_16;
359
349
  if (tmp11_safe_receiver == null) {
360
350
  tmp_16 = null;
@@ -371,7 +361,7 @@
371
361
  var tmp14_elvis_lhs = tmp_15;
372
362
  var tmp_17;
373
363
  if (tmp14_elvis_lhs == null) {
374
- var tmp13_safe_receiver = PATTERNS_getInstance().m1i_1.vc(color_0);
364
+ var tmp13_safe_receiver = PATTERNS_getInstance().f1k_1.l8(color_0);
375
365
  var tmp_18;
376
366
  if (tmp13_safe_receiver == null) {
377
367
  tmp_18 = null;
@@ -388,7 +378,7 @@
388
378
  var tmp16_elvis_lhs = tmp_17;
389
379
  var tmp_19;
390
380
  if (tmp16_elvis_lhs == null) {
391
- var tmp15_safe_receiver = PATTERNS_getInstance().n1i_1.vc(color_0);
381
+ var tmp15_safe_receiver = PATTERNS_getInstance().g1k_1.l8(color_0);
392
382
  var tmp_20;
393
383
  if (tmp15_safe_receiver == null) {
394
384
  tmp_20 = null;
@@ -405,7 +395,7 @@
405
395
  var tmp18_elvis_lhs = tmp_19;
406
396
  var tmp_21;
407
397
  if (tmp18_elvis_lhs == null) {
408
- var tmp17_safe_receiver = PATTERNS_getInstance().o1i_1.vc(color_0);
398
+ var tmp17_safe_receiver = PATTERNS_getInstance().h1k_1.l8(color_0);
409
399
  var tmp_22;
410
400
  if (tmp17_safe_receiver == null) {
411
401
  tmp_22 = null;
@@ -425,22 +415,22 @@
425
415
  }
426
416
  function PATTERNS() {
427
417
  PATTERNS_instance = this;
428
- this.z1h_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?';
429
- this.a1i_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%';
430
- this.b1i_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?';
431
- this.c1i_1 = '\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
432
- this.d1i_1 = '(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
433
- this.e1i_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?';
434
- this.f1i_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
435
- this.g1i_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
436
- this.h1i_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
437
- this.i1i_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
438
- this.j1i_1 = Regex_init_$Create$('hsla?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
439
- this.k1i_1 = Regex_init_$Create$('hsla?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
440
- this.l1i_1 = Regex_init_$Create$('lab\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
441
- this.m1i_1 = Regex_init_$Create$('lch\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
442
- this.n1i_1 = Regex_init_$Create$('hwb\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
443
- this.o1i_1 = Regex_init_$Create$('color\\(([\\w\\-]+)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?(?:\\s+[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?)*)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
418
+ this.s1j_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?';
419
+ this.t1j_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%';
420
+ this.u1j_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?';
421
+ this.v1j_1 = '\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
422
+ this.w1j_1 = '(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*';
423
+ this.x1j_1 = '[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?';
424
+ this.y1j_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
425
+ this.z1j_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
426
+ this.a1k_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
427
+ this.b1k_1 = Regex_init_$Create$('rgba?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
428
+ this.c1k_1 = Regex_init_$Create$('hsla?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
429
+ this.d1k_1 = Regex_init_$Create$('hsla?\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)(?:\\s*,\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
430
+ this.e1k_1 = Regex_init_$Create$('lab\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
431
+ this.f1k_1 = Regex_init_$Create$('lch\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
432
+ this.g1k_1 = Regex_init_$Create$('hwb\\(([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?(?:deg|grad|rad|turn)?)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
433
+ this.h1k_1 = Regex_init_$Create$('color\\(([\\w\\-]+)\\s+([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?(?:\\s+[+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?)*)\\s*(?:/\\s*([+-]?(?:\\d+|\\d*\\.\\d+)(?:[eE][+-]?\\d+)?%?))?\\s*\\)');
444
434
  }
445
435
  var PATTERNS_instance;
446
436
  function PATTERNS_getInstance() {
@@ -449,66 +439,66 @@
449
439
  return PATTERNS_instance;
450
440
  }
451
441
  function rgb(match) {
452
- var r = percentOrNumber(match.qd().k(1));
453
- var g = percentOrNumber(match.qd().k(2));
454
- var b = percentOrNumber(match.qd().k(3));
455
- var a = alpha(match.qd().k(4));
442
+ var r = percentOrNumber(match.p9().b1(1));
443
+ var g = percentOrNumber(match.p9().b1(2));
444
+ var b = percentOrNumber(match.p9().b1(3));
445
+ var a = alpha(match.p9().b1(4));
456
446
  var tmp;
457
- if (endsWith(match.qd().k(1), '%')) {
458
- tmp = Companion_getInstance_5().r1i(clampF(r), clampF(g), clampF(b), a);
447
+ if (endsWith(match.p9().b1(1), '%')) {
448
+ tmp = Companion_getInstance_4().k1k(clampF(r), clampF(g), clampF(b), a);
459
449
  } else {
460
- tmp = Companion_getInstance_5().r1i(clampInt(r) / 255.0, clampInt(g) / 255.0, clampInt(b) / 255.0, a);
450
+ tmp = Companion_getInstance_4().k1k(clampInt(r) / 255.0, clampInt(g) / 255.0, clampInt(b) / 255.0, a);
461
451
  }
462
452
  return tmp;
463
453
  }
464
454
  function hsl(match) {
465
- var h = hue(match.qd().k(1));
466
- var s = percent(match.qd().k(2));
467
- var l = percent(match.qd().k(3));
468
- var a = alpha(match.qd().k(4));
455
+ var h = hue(match.p9().b1(1));
456
+ var s = percent(match.p9().b1(2));
457
+ var l = percent(match.p9().b1(3));
458
+ var a = alpha(match.p9().b1(4));
469
459
  return new HSL(h, clampF(s), clampF(l), clampF(a));
470
460
  }
471
461
  function lab(match) {
472
- var l = percent(match.qd().k(1));
473
- var a = number(match.qd().k(2));
474
- var b = number(match.qd().k(3));
475
- var alpha_0 = alpha(match.qd().k(4));
476
- return Companion_getInstance_3().r1i(coerceAtLeast(l, 0.0) * 100.0, a, b, alpha_0);
462
+ var l = percent(match.p9().b1(1));
463
+ var a = number(match.p9().b1(2));
464
+ var b = number(match.p9().b1(3));
465
+ var alpha_0 = alpha(match.p9().b1(4));
466
+ return Companion_getInstance_2().k1k(coerceAtLeast(l, 0.0) * 100.0, a, b, alpha_0);
477
467
  }
478
468
  function lch(match) {
479
- var l = percent(match.qd().k(1));
480
- var c = number(match.qd().k(2));
481
- var h = hue(match.qd().k(3));
482
- var a = alpha(match.qd().k(4));
483
- return Companion_getInstance_4().r1i(coerceAtLeast(l, 0.0) * 100.0, coerceAtLeast(c, 0.0), h, a);
469
+ var l = percent(match.p9().b1(1));
470
+ var c = number(match.p9().b1(2));
471
+ var h = hue(match.p9().b1(3));
472
+ var a = alpha(match.p9().b1(4));
473
+ return Companion_getInstance_3().k1k(coerceAtLeast(l, 0.0) * 100.0, coerceAtLeast(c, 0.0), h, a);
484
474
  }
485
475
  function hwb(match) {
486
- var h = hue(match.qd().k(1));
487
- var w = percent(match.qd().k(2));
488
- var b = percent(match.qd().k(3));
489
- var a = alpha(match.qd().k(4));
476
+ var h = hue(match.p9().b1(1));
477
+ var w = percent(match.p9().b1(2));
478
+ var b = percent(match.p9().b1(3));
479
+ var a = alpha(match.p9().b1(4));
490
480
  return new HWB(h, clampF(w), clampF(b), a);
491
481
  }
492
482
  function color(match) {
493
483
  var tmp;
494
- switch (match.qd().k(1)) {
484
+ switch (match.p9().b1(1)) {
495
485
  case 'srgb':
496
486
  tmp = SRGB_getInstance();
497
487
  break;
498
488
  case 'display-p3':
499
- tmp = RGBColorSpaces_getInstance().e1j_1;
489
+ tmp = RGBColorSpaces_getInstance().x1k_1;
500
490
  break;
501
491
  case 'a98-rgb':
502
- tmp = RGBColorSpaces_getInstance().a1j_1;
492
+ tmp = RGBColorSpaces_getInstance().t1k_1;
503
493
  break;
504
494
  case 'prophoto-rgb':
505
- tmp = RGBColorSpaces_getInstance().f1j_1;
495
+ tmp = RGBColorSpaces_getInstance().y1k_1;
506
496
  break;
507
497
  case 'rec2020':
508
- tmp = RGBColorSpaces_getInstance().b1j_1;
498
+ tmp = RGBColorSpaces_getInstance().u1k_1;
509
499
  break;
510
500
  case 'xyz':
511
- tmp = XYZColorSpaces_getInstance().h1j_1;
501
+ tmp = XYZColorSpaces_getInstance().a1l_1;
512
502
  break;
513
503
  default:
514
504
  return null;
@@ -516,25 +506,23 @@
516
506
  var space = tmp;
517
507
  // Inline function 'kotlin.collections.map' call
518
508
  // Inline function 'kotlin.text.split' call
519
- var tmp0_split = match.qd().k(2);
520
- var tmp2_map = Regex_init_$Create$('\\s+').zc(tmp0_split, 0);
509
+ var this_0 = match.p9().b1(2);
510
+ var this_1 = Regex_init_$Create$('\\s+').u8(this_0, 0);
521
511
  // Inline function 'kotlin.collections.mapTo' call
522
- var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp2_map, 10));
523
- var tmp0_iterator = tmp2_map.f();
524
- while (tmp0_iterator.g()) {
525
- var item = tmp0_iterator.h();
526
- var tmp$ret$1;
512
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
513
+ var tmp0_iterator = this_1.s();
514
+ while (tmp0_iterator.t()) {
515
+ var item = tmp0_iterator.u();
527
516
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
528
- tmp$ret$1 = clampF(percentOrNumber(item));
529
- tmp0_mapTo.a(tmp$ret$1);
517
+ var tmp$ret$1 = clampF(percentOrNumber(item));
518
+ destination.p(tmp$ret$1);
530
519
  }
531
- var values = tmp0_mapTo;
532
- var tmp$ret$10;
520
+ var values = destination;
533
521
  // Inline function 'kotlin.floatArrayOf' call
534
522
  // Inline function 'kotlin.collections.getOrElse' call
535
523
  var tmp_0;
536
- if (0 <= get_lastIndex(values)) {
537
- tmp_0 = values.k(0);
524
+ if (0 >= 0 ? 0 <= get_lastIndex(values) : false) {
525
+ tmp_0 = values.b1(0);
538
526
  } else {
539
527
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
540
528
  tmp_0 = 0.0;
@@ -542,25 +530,24 @@
542
530
  var tmp_1 = tmp_0;
543
531
  // Inline function 'kotlin.collections.getOrElse' call
544
532
  var tmp_2;
545
- if (1 <= get_lastIndex(values)) {
546
- tmp_2 = values.k(1);
533
+ if (1 >= 0 ? 1 <= get_lastIndex(values) : false) {
534
+ tmp_2 = values.b1(1);
547
535
  } else {
548
536
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
549
537
  tmp_2 = 0.0;
550
538
  }
551
539
  var tmp_3 = tmp_2;
552
- var tmp$ret$9;
553
540
  // Inline function 'kotlin.collections.getOrElse' call
554
541
  var tmp_4;
555
- if (2 <= get_lastIndex(values)) {
556
- tmp_4 = values.k(2);
542
+ if (2 >= 0 ? 2 <= get_lastIndex(values) : false) {
543
+ tmp_4 = values.b1(2);
557
544
  } else {
558
545
  // Inline function 'com.github.ajalt.colormath.color.<anonymous>' call
559
546
  tmp_4 = 0.0;
560
547
  }
561
- tmp$ret$9 = tmp_4;
562
- tmp$ret$10 = new Float32Array([tmp_1, tmp_3, tmp$ret$9, alpha(match.qd().k(3))]);
563
- return space.v1h(tmp$ret$10);
548
+ var tmp$ret$9 = tmp_4;
549
+ var tmp$ret$10 = new Float32Array([tmp_1, tmp_3, tmp$ret$9, alpha(match.p9().b1(3))]);
550
+ return space.o1j(tmp$ret$10);
564
551
  }
565
552
  function percentOrNumber(str) {
566
553
  return endsWith(str, '%') ? percent(str) : number(str);
@@ -583,42 +570,38 @@
583
570
  function clampInt(_this__u8e3s4, min, max) {
584
571
  min = min === VOID ? 0 : min;
585
572
  max = max === VOID ? 255 : max;
586
- var tmp$ret$0;
587
573
  // Inline function 'kotlin.math.roundToInt' call
588
- tmp$ret$0 = roundToInt(_this__u8e3s4);
574
+ var tmp$ret$0 = roundToInt(_this__u8e3s4);
589
575
  return coerceIn_0(tmp$ret$0, min, max);
590
576
  }
591
577
  function hue(str) {
592
578
  var tmp;
593
579
  if (endsWith(str, 'deg')) {
594
580
  // Inline function 'kotlin.text.toFloat' call
595
- var tmp0_toFloat = dropLast(str, 3);
581
+ var this_0 = dropLast(str, 3);
596
582
  // Inline function 'kotlin.js.unsafeCast' call
597
583
  // Inline function 'kotlin.js.asDynamic' call
598
- tmp = toDouble(tmp0_toFloat);
584
+ tmp = toDouble(this_0);
599
585
  } else if (endsWith(str, 'grad')) {
600
- var tmp$ret$5;
601
586
  // Inline function 'kotlin.text.toFloat' call
602
- var tmp1_toFloat = dropLast(str, 4);
587
+ var this_1 = dropLast(str, 4);
603
588
  // Inline function 'kotlin.js.unsafeCast' call
604
589
  // Inline function 'kotlin.js.asDynamic' call
605
- tmp$ret$5 = toDouble(tmp1_toFloat);
590
+ var tmp$ret$5 = toDouble(this_1);
606
591
  tmp = gradToDeg(tmp$ret$5);
607
592
  } else if (endsWith(str, 'rad')) {
608
- var tmp$ret$8;
609
593
  // Inline function 'kotlin.text.toFloat' call
610
- var tmp2_toFloat = dropLast(str, 3);
594
+ var this_2 = dropLast(str, 3);
611
595
  // Inline function 'kotlin.js.unsafeCast' call
612
596
  // Inline function 'kotlin.js.asDynamic' call
613
- tmp$ret$8 = toDouble(tmp2_toFloat);
597
+ var tmp$ret$8 = toDouble(this_2);
614
598
  tmp = radToDeg(tmp$ret$8);
615
599
  } else if (endsWith(str, 'turn')) {
616
- var tmp$ret$11;
617
600
  // Inline function 'kotlin.text.toFloat' call
618
- var tmp3_toFloat = dropLast(str, 4);
601
+ var this_3 = dropLast(str, 4);
619
602
  // Inline function 'kotlin.js.unsafeCast' call
620
603
  // Inline function 'kotlin.js.asDynamic' call
621
- tmp$ret$11 = toDouble(tmp3_toFloat);
604
+ var tmp$ret$11 = toDouble(this_3);
622
605
  tmp = turnToDeg(tmp$ret$11);
623
606
  } else {
624
607
  // Inline function 'kotlin.text.toFloat' call
@@ -631,10 +614,10 @@
631
614
  }
632
615
  function percent(str) {
633
616
  // Inline function 'kotlin.text.toFloat' call
634
- var tmp0_toFloat = dropLast(str, 1);
617
+ var this_0 = dropLast(str, 1);
635
618
  // Inline function 'kotlin.js.unsafeCast' call
636
619
  // Inline function 'kotlin.js.asDynamic' call
637
- return toDouble(tmp0_toFloat) / 100.0;
620
+ return toDouble(this_0) / 100.0;
638
621
  }
639
622
  function number(str) {
640
623
  // Inline function 'kotlin.text.toFloat' call
@@ -648,7 +631,7 @@
648
631
  var RenderCondition_entriesInitialized;
649
632
  function RenderCondition_initEntries() {
650
633
  if (RenderCondition_entriesInitialized)
651
- return Unit_getInstance();
634
+ return Unit_instance;
652
635
  RenderCondition_entriesInitialized = true;
653
636
  RenderCondition_ALWAYS_instance = new RenderCondition('ALWAYS', 0);
654
637
  RenderCondition_NEVER_instance = new RenderCondition('NEVER', 1);
@@ -675,7 +658,7 @@
675
658
  var AngleUnit_entriesInitialized;
676
659
  function AngleUnit_initEntries() {
677
660
  if (AngleUnit_entriesInitialized)
678
- return Unit_getInstance();
661
+ return Unit_instance;
679
662
  AngleUnit_entriesInitialized = true;
680
663
  AngleUnit_AUTO_instance = new AngleUnit('AUTO', 0);
681
664
  AngleUnit_DEGREES_instance = new AngleUnit('DEGREES', 1);
@@ -695,23 +678,23 @@
695
678
  legacyFormat = legacyFormat === VOID ? false : legacyFormat;
696
679
  var tmp;
697
680
  if (_this__u8e3s4 instanceof RGB) {
698
- var tmp1_subject = _this__u8e3s4.e1h_1;
699
- tmp = equals(tmp1_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().e1j_1) ? renderColorFunction(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().a1j_1) ? renderColorFunction(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().f1j_1) ? renderColorFunction(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().b1j_1) ? renderColorFunction(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : null;
681
+ var tmp1_subject = _this__u8e3s4.w1i_1;
682
+ tmp = equals(tmp1_subject, SRGB_getInstance()) ? renderSRGB(_this__u8e3s4, legacyFormat, legacyName, unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().x1k_1) ? renderColorFunction(_this__u8e3s4, 'display-p3', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().t1k_1) ? renderColorFunction(_this__u8e3s4, 'a98-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().y1k_1) ? renderColorFunction(_this__u8e3s4, 'prophoto-rgb', unitsPercent, alphaPercent, renderAlpha) : equals(tmp1_subject, RGBColorSpaces_getInstance().u1k_1) ? renderColorFunction(_this__u8e3s4, 'rec2020', unitsPercent, alphaPercent, renderAlpha) : null;
700
683
  } else {
701
684
  if (_this__u8e3s4 instanceof HSL) {
702
685
  tmp = renderHsl(_this__u8e3s4, legacyFormat, legacyName, hueUnit, alphaPercent, renderAlpha);
703
686
  } else {
704
687
  if (_this__u8e3s4 instanceof LAB) {
705
- tmp = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().m1j_1), alphaPercent, renderAlpha);
688
+ tmp = renderLab(convertTo(_this__u8e3s4, LABColorSpaces_getInstance().f1l_1), alphaPercent, renderAlpha);
706
689
  } else {
707
690
  if (_this__u8e3s4 instanceof LCHab) {
708
- tmp = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().k1j_1), hueUnit, alphaPercent, renderAlpha);
691
+ tmp = renderLCH(convertTo(_this__u8e3s4, LCHabColorSpaces_getInstance().d1l_1), hueUnit, alphaPercent, renderAlpha);
709
692
  } else {
710
693
  if (_this__u8e3s4 instanceof HWB) {
711
694
  tmp = renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha);
712
695
  } else {
713
696
  if (_this__u8e3s4 instanceof XYZ) {
714
- tmp = renderColorFunction(_this__u8e3s4.i1j(XYZColorSpaces_getInstance().h1j_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
697
+ tmp = renderColorFunction(_this__u8e3s4.b1l(XYZColorSpaces_getInstance().a1l_1), 'xyz', unitsPercent, alphaPercent, renderAlpha);
715
698
  } else {
716
699
  tmp = null;
717
700
  }
@@ -726,37 +709,37 @@
726
709
  // Inline function 'kotlin.text.buildString' call
727
710
  // Inline function 'kotlin.contracts.contract' call
728
711
  // Inline function 'kotlin.apply' call
729
- var tmp0_apply = StringBuilder_init_$Create$();
712
+ var this_0 = StringBuilder_init_$Create$();
730
713
  // Inline function 'kotlin.contracts.contract' call
731
714
  // Inline function 'com.github.ajalt.colormath.renderColorFunction.<anonymous>' call
732
- tmp0_apply.dc('color(').dc(name).dc(' ');
733
- var tmp = dropLast_0(_this__u8e3s4.a3(), 1);
734
- joinTo(tmp, tmp0_apply, ' ', VOID, VOID, VOID, VOID, renderColorFunction$lambda(unitsPercent));
735
- tmp0_apply.dc(renderAlpha(_this__u8e3s4, false, renderAlpha_0, alphaPercent));
736
- tmp0_apply.dc(')');
737
- return tmp0_apply.toString();
715
+ this_0.n5('color(').n5(name).n5(' ');
716
+ var tmp = dropLast_0(_this__u8e3s4.y2(), 1);
717
+ joinTo(tmp, this_0, ' ', VOID, VOID, VOID, VOID, renderColorFunction$lambda(unitsPercent));
718
+ this_0.n5(renderAlpha(_this__u8e3s4, false, renderAlpha_0, alphaPercent));
719
+ this_0.n5(')');
720
+ return this_0.toString();
738
721
  }
739
722
  function get_dashName(_this__u8e3s4) {
740
723
  // Inline function 'kotlin.text.lowercase' call
741
724
  // Inline function 'kotlin.text.replace' call
742
- var tmp0_replace = _this__u8e3s4.x1g().ee();
725
+ var this_0 = _this__u8e3s4.p1i().ka();
743
726
  // Inline function 'kotlin.js.asDynamic' call
744
- return '--' + Regex_init_$Create$('\\W').wc(tmp0_replace, '-').toLowerCase();
727
+ return '--' + Regex_init_$Create$('\\W').m8(this_0, '-').toLowerCase();
745
728
  }
746
729
  function renderSRGB(_this__u8e3s4, commas, namedRgba, rgbPercent, alphaPercent, renderAlpha) {
747
- return renderFunction(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.a1h_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.n1j())), rgbPercent ? render(_this__u8e3s4.b1h_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.n1j())), rgbPercent ? render(_this__u8e3s4.c1h_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.n1j()))], alphaPercent, renderAlpha, commas);
730
+ return renderFunction(_this__u8e3s4, namedRgba ? 'rgba' : 'rgb', [rgbPercent ? render(_this__u8e3s4.s1i_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_r__impl__dulq0e(_this__u8e3s4.g1l())), rgbPercent ? render(_this__u8e3s4.t1i_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_g__impl__o93c71(_this__u8e3s4.g1l())), rgbPercent ? render(_this__u8e3s4.u1i_1, true) : UByte__toString_impl_v72jg(_RGBInt___get_b__impl__m772ua(_this__u8e3s4.g1l()))], alphaPercent, renderAlpha, commas);
748
731
  }
749
732
  function renderHsl(_this__u8e3s4, commas, namedHsla, hueUnit, alphaPercent, renderAlpha) {
750
- return renderFunction(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.p1j_1, true), render(_this__u8e3s4.q1j_1, true)], alphaPercent, renderAlpha, commas);
733
+ return renderFunction(_this__u8e3s4, namedHsla ? 'hsla' : 'hsl', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.i1l_1, true), render(_this__u8e3s4.j1l_1, true)], alphaPercent, renderAlpha, commas);
751
734
  }
752
735
  function renderLab(_this__u8e3s4, alphaPercent, renderAlpha) {
753
- return renderFunction(_this__u8e3s4, 'lab', [render(_this__u8e3s4.n1h_1 / 100, true), render(_this__u8e3s4.o1h_1), render(_this__u8e3s4.p1h_1)], alphaPercent, renderAlpha);
736
+ return renderFunction(_this__u8e3s4, 'lab', [render(_this__u8e3s4.f1j_1 / 100, true), render(_this__u8e3s4.g1j_1), render(_this__u8e3s4.h1j_1)], alphaPercent, renderAlpha);
754
737
  }
755
738
  function renderLCH(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
756
- return renderFunction(_this__u8e3s4, 'lch', [render(_this__u8e3s4.s1j_1 / 100, true), render(_this__u8e3s4.t1j_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
739
+ return renderFunction(_this__u8e3s4, 'lch', [render(_this__u8e3s4.l1l_1 / 100, true), render(_this__u8e3s4.m1l_1), renderHue(_this__u8e3s4, hueUnit)], alphaPercent, renderAlpha);
757
740
  }
758
741
  function renderHWB(_this__u8e3s4, hueUnit, alphaPercent, renderAlpha) {
759
- return renderFunction(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.y1j_1, true), render(_this__u8e3s4.z1j_1, true)], alphaPercent, renderAlpha);
742
+ return renderFunction(_this__u8e3s4, 'hwb', [renderHue(_this__u8e3s4, hueUnit), render(_this__u8e3s4.r1l_1, true), render(_this__u8e3s4.s1l_1, true)], alphaPercent, renderAlpha);
760
743
  }
761
744
  function render(_this__u8e3s4, percent) {
762
745
  percent = percent === VOID ? false : percent;
@@ -765,8 +748,8 @@
765
748
  case true:
766
749
  // Inline function 'kotlin.math.roundToInt' call
767
750
 
768
- var tmp0_roundToInt = _this__u8e3s4 * 100;
769
- tmp = '' + roundToInt(tmp0_roundToInt) + '%';
751
+ var this_0 = _this__u8e3s4 * 100;
752
+ tmp = '' + roundToInt(this_0) + '%';
770
753
  break;
771
754
  case false:
772
755
  var tmp_0;
@@ -795,8 +778,8 @@
795
778
  }
796
779
  function renderAlpha(_this__u8e3s4, commas, renderAlpha, alphaPercent) {
797
780
  var tmp;
798
- if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) ? true : (renderAlpha.equals(RenderCondition_AUTO_getInstance()) ? !isNaN_0(_this__u8e3s4.w1g()) : false) ? !(_this__u8e3s4.w1g() === 1.0) : false) {
799
- tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.w1g()), alphaPercent);
781
+ if (renderAlpha.equals(RenderCondition_ALWAYS_getInstance()) ? true : (renderAlpha.equals(RenderCondition_AUTO_getInstance()) ? !isNaN_0(_this__u8e3s4.o1i()) : false) ? !(_this__u8e3s4.o1i() === 1.0) : false) {
782
+ tmp = (commas ? ', ' : ' / ') + render(nanToOne(_this__u8e3s4.o1i()), alphaPercent);
800
783
  } else {
801
784
  tmp = '';
802
785
  }
@@ -807,24 +790,24 @@
807
790
  // Inline function 'kotlin.text.buildString' call
808
791
  // Inline function 'kotlin.contracts.contract' call
809
792
  // Inline function 'kotlin.apply' call
810
- var tmp0_apply = StringBuilder_init_$Create$();
793
+ var this_0 = StringBuilder_init_$Create$();
811
794
  // Inline function 'kotlin.contracts.contract' call
812
795
  // Inline function 'com.github.ajalt.colormath.renderFunction.<anonymous>' call
813
796
  var sep = commas ? ', ' : ' ';
814
- tmp0_apply.dc(name).dc('(');
815
- joinTo_0(components, tmp0_apply, sep);
816
- tmp0_apply.dc(renderAlpha(_this__u8e3s4, commas, renderAlpha_0, alphaPercent));
817
- tmp0_apply.dc(')');
818
- return tmp0_apply.toString();
797
+ this_0.n5(name).n5('(');
798
+ joinTo_0(components, this_0, sep);
799
+ this_0.n5(renderAlpha(_this__u8e3s4, commas, renderAlpha_0, alphaPercent));
800
+ this_0.n5(')');
801
+ return this_0.toString();
819
802
  }
820
803
  function renderHue(_this__u8e3s4, hueUnit) {
821
804
  var tmp;
822
- switch (hueUnit.c5_1) {
805
+ switch (hueUnit.a9_1) {
823
806
  case 0:
824
- tmp = render(_this__u8e3s4.b1k());
807
+ tmp = render(_this__u8e3s4.u1l());
825
808
  break;
826
809
  case 1:
827
- tmp = render(_this__u8e3s4.b1k()) + 'deg';
810
+ tmp = render(_this__u8e3s4.u1l()) + 'deg';
828
811
  break;
829
812
  case 2:
830
813
  tmp = render(hueAsRad(_this__u8e3s4)) + 'rad';
@@ -859,27 +842,27 @@
859
842
  return AngleUnit_AUTO_instance;
860
843
  }
861
844
  function hueOr(_this__u8e3s4, whenNaN) {
862
- return isNaN_0(_this__u8e3s4.b1k()) ? numberToDouble(whenNaN) : _this__u8e3s4.b1k();
845
+ return isNaN_0(_this__u8e3s4.u1l()) ? numberToDouble(whenNaN) : _this__u8e3s4.u1l();
863
846
  }
864
847
  function hueAsRad(_this__u8e3s4) {
865
- return degToRad(_this__u8e3s4.b1k());
848
+ return degToRad(_this__u8e3s4.u1l());
866
849
  }
867
850
  function hueAsGrad(_this__u8e3s4) {
868
- return degToGrad(_this__u8e3s4.b1k());
851
+ return degToGrad(_this__u8e3s4.u1l());
869
852
  }
870
853
  function hueAsTurns(_this__u8e3s4) {
871
- return degToTurns(_this__u8e3s4.b1k());
854
+ return degToTurns(_this__u8e3s4.u1l());
872
855
  }
873
856
  function WhitePoint(name, chromaticity) {
874
- this.c1k_1 = name;
875
- this.d1k_1 = chromaticity;
857
+ this.v1l_1 = name;
858
+ this.w1l_1 = chromaticity;
876
859
  }
877
860
  protoOf(WhitePoint).toString = function () {
878
- return this.c1k_1;
861
+ return this.v1l_1;
879
862
  };
880
863
  protoOf(WhitePoint).hashCode = function () {
881
- var result = getStringHashCode(this.c1k_1);
882
- result = imul(result, 31) + this.d1k_1.hashCode() | 0;
864
+ var result = getStringHashCode(this.v1l_1);
865
+ result = imul(result, 31) + this.w1l_1.hashCode() | 0;
883
866
  return result;
884
867
  };
885
868
  protoOf(WhitePoint).equals = function (other) {
@@ -888,22 +871,22 @@
888
871
  if (!(other instanceof WhitePoint))
889
872
  return false;
890
873
  var tmp0_other_with_cast = other instanceof WhitePoint ? other : THROW_CCE();
891
- if (!(this.c1k_1 === tmp0_other_with_cast.c1k_1))
874
+ if (!(this.v1l_1 === tmp0_other_with_cast.v1l_1))
892
875
  return false;
893
- if (!this.d1k_1.equals(tmp0_other_with_cast.d1k_1))
876
+ if (!this.w1l_1.equals(tmp0_other_with_cast.w1l_1))
894
877
  return false;
895
878
  return true;
896
879
  };
897
880
  function Illuminant() {
898
881
  Illuminant_instance = this;
899
- this.e1k_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
900
- this.f1k_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
901
- this.g1k_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
902
- this.h1k_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
903
- this.i1k_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
904
- this.j1k_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
905
- this.k1k_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
906
- this.l1k_1 = new WhitePoint('E', xyY_init_$Create$(0.3333333333333333, 0.3333333333333333));
882
+ this.x1l_1 = new WhitePoint('A', xyY_init_$Create$(0.44758, 0.40745));
883
+ this.y1l_1 = new WhitePoint('B', xyY_init_$Create$(0.34842, 0.35161));
884
+ this.z1l_1 = new WhitePoint('C', xyY_init_$Create$(0.31006, 0.31616));
885
+ this.a1m_1 = new WhitePoint('D50', xyY_init_$Create$(0.3457, 0.3585));
886
+ this.b1m_1 = new WhitePoint('D55', xyY_init_$Create$(0.33243, 0.34744));
887
+ this.c1m_1 = new WhitePoint('D65', xyY_init_$Create$(0.3127, 0.329));
888
+ this.d1m_1 = new WhitePoint('D75', xyY_init_$Create$(0.29903, 0.31488));
889
+ this.e1m_1 = new WhitePoint('E', xyY_init_$Create$(0.3333333333333333, 0.3333333333333333));
907
890
  }
908
891
  var Illuminant_instance;
909
892
  function Illuminant_getInstance() {
@@ -912,54 +895,48 @@
912
895
  return Illuminant_instance;
913
896
  }
914
897
  function rectangularComponentInfo(name) {
915
- var tmp$ret$3;
916
898
  // Inline function 'kotlin.collections.toTypedArray' call
917
899
  // Inline function 'kotlin.text.map' call
918
900
  // Inline function 'kotlin.text.mapTo' call
919
- var tmp0_mapTo = ArrayList_init_$Create$(charSequenceLength(name));
901
+ var destination = ArrayList_init_$Create$(charSequenceLength(name));
920
902
  var inductionVariable = 0;
921
- var last = name.length;
922
- while (inductionVariable < last) {
903
+ while (inductionVariable < charSequenceLength(name)) {
923
904
  var item = charSequenceGet(name, inductionVariable);
924
905
  inductionVariable = inductionVariable + 1 | 0;
925
- var tmp$ret$0;
926
906
  // Inline function 'com.github.ajalt.colormath.internal.rectangularComponentInfo.<anonymous>' call
927
- tmp$ret$0 = toString(item);
928
- tmp0_mapTo.a(tmp$ret$0);
907
+ var tmp$ret$0 = toString(item);
908
+ destination.p(tmp$ret$0);
929
909
  }
930
- tmp$ret$3 = copyToArray(tmp0_mapTo);
910
+ var tmp$ret$3 = copyToArray(destination);
931
911
  return rectangularComponentInfo_0(tmp$ret$3.slice());
932
912
  }
933
913
  function polarComponentInfo(name) {
934
914
  // Inline function 'kotlin.text.map' call
935
915
  // Inline function 'kotlin.text.mapTo' call
936
- var tmp0_mapTo = ArrayList_init_$Create$(charSequenceLength(name));
916
+ var destination = ArrayList_init_$Create$(charSequenceLength(name));
937
917
  var inductionVariable = 0;
938
- var last = name.length;
939
- while (inductionVariable < last) {
918
+ while (inductionVariable < charSequenceLength(name)) {
940
919
  var item = charSequenceGet(name, inductionVariable);
941
920
  inductionVariable = inductionVariable + 1 | 0;
942
- var tmp$ret$0;
943
921
  // Inline function 'com.github.ajalt.colormath.internal.polarComponentInfo.<anonymous>' call
944
- tmp$ret$0 = new ColorComponentInfo(toString(item), item === _Char___init__impl__6a9atx(72));
945
- tmp0_mapTo.a(tmp$ret$0);
922
+ var tmp$ret$0 = new ColorComponentInfo(toString(item), item === _Char___init__impl__6a9atx(72));
923
+ destination.p(tmp$ret$0);
946
924
  }
947
- return plus(tmp0_mapTo, new ColorComponentInfo('alpha', false));
925
+ return plus(destination, new ColorComponentInfo('alpha', false));
948
926
  }
949
927
  function rectangularComponentInfo_0(names) {
950
928
  // Inline function 'kotlin.collections.map' call
951
- var tmp0_map = plus(asList(names), 'alpha');
929
+ var this_0 = plus(asList(names), 'alpha');
952
930
  // Inline function 'kotlin.collections.mapTo' call
953
- var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_map, 10));
954
- var tmp0_iterator = tmp0_map.f();
955
- while (tmp0_iterator.g()) {
956
- var item = tmp0_iterator.h();
957
- var tmp$ret$0;
931
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
932
+ var tmp0_iterator = this_0.s();
933
+ while (tmp0_iterator.t()) {
934
+ var item = tmp0_iterator.u();
958
935
  // Inline function 'com.github.ajalt.colormath.internal.rectangularComponentInfo.<anonymous>' call
959
- tmp$ret$0 = new ColorComponentInfo(item, false);
960
- tmp0_mapTo.a(tmp$ret$0);
936
+ var tmp$ret$0 = new ColorComponentInfo(item, false);
937
+ destination.p(tmp$ret$0);
961
938
  }
962
- return tmp0_mapTo;
939
+ return destination;
963
940
  }
964
941
  function get_CAT02_XYZ_TO_LMS() {
965
942
  _init_properties_Constants_kt__atb1ur();
@@ -993,7 +970,7 @@
993
970
  }
994
971
  function CssColors() {
995
972
  CssColors_instance = this;
996
- this.y1h_1 = mapOf([to('black', Companion_getInstance_5().m1k(0, 0, 0)), to('silver', Companion_getInstance_5().m1k(192, 192, 192)), to('gray', Companion_getInstance_5().m1k(128, 128, 128)), to('white', Companion_getInstance_5().m1k(255, 255, 255)), to('maroon', Companion_getInstance_5().m1k(128, 0, 0)), to('red', Companion_getInstance_5().m1k(255, 0, 0)), to('purple', Companion_getInstance_5().m1k(128, 0, 128)), to('fuchsia', Companion_getInstance_5().m1k(255, 0, 255)), to('green', Companion_getInstance_5().m1k(0, 128, 0)), to('lime', Companion_getInstance_5().m1k(0, 255, 0)), to('olive', Companion_getInstance_5().m1k(128, 128, 0)), to('yellow', Companion_getInstance_5().m1k(255, 255, 0)), to('navy', Companion_getInstance_5().m1k(0, 0, 128)), to('blue', Companion_getInstance_5().m1k(0, 0, 255)), to('teal', Companion_getInstance_5().m1k(0, 128, 128)), to('aqua', Companion_getInstance_5().m1k(0, 255, 255)), to('orange', Companion_getInstance_5().m1k(255, 165, 0)), to('aliceblue', Companion_getInstance_5().m1k(240, 248, 255)), to('antiquewhite', Companion_getInstance_5().m1k(250, 235, 215)), to('aquamarine', Companion_getInstance_5().m1k(127, 255, 212)), to('azure', Companion_getInstance_5().m1k(240, 255, 255)), to('beige', Companion_getInstance_5().m1k(245, 245, 220)), to('bisque', Companion_getInstance_5().m1k(255, 228, 196)), to('blanchedalmond', Companion_getInstance_5().m1k(255, 235, 205)), to('blueviolet', Companion_getInstance_5().m1k(138, 43, 226)), to('brown', Companion_getInstance_5().m1k(165, 42, 42)), to('burlywood', Companion_getInstance_5().m1k(222, 184, 135)), to('cadetblue', Companion_getInstance_5().m1k(95, 158, 160)), to('chartreuse', Companion_getInstance_5().m1k(127, 255, 0)), to('chocolate', Companion_getInstance_5().m1k(210, 105, 30)), to('coral', Companion_getInstance_5().m1k(255, 127, 80)), to('cornflowerblue', Companion_getInstance_5().m1k(100, 149, 237)), to('cornsilk', Companion_getInstance_5().m1k(255, 248, 220)), to('crimson', Companion_getInstance_5().m1k(220, 20, 60)), to('cyan', Companion_getInstance_5().m1k(0, 255, 255)), to('darkblue', Companion_getInstance_5().m1k(0, 0, 139)), to('darkcyan', Companion_getInstance_5().m1k(0, 139, 139)), to('darkgoldenrod', Companion_getInstance_5().m1k(184, 134, 11)), to('darkgray', Companion_getInstance_5().m1k(169, 169, 169)), to('darkgreen', Companion_getInstance_5().m1k(0, 100, 0)), to('darkgrey', Companion_getInstance_5().m1k(169, 169, 169)), to('darkkhaki', Companion_getInstance_5().m1k(189, 183, 107)), to('darkmagenta', Companion_getInstance_5().m1k(139, 0, 139)), to('darkolivegreen', Companion_getInstance_5().m1k(85, 107, 47)), to('darkorange', Companion_getInstance_5().m1k(255, 140, 0)), to('darkorchid', Companion_getInstance_5().m1k(153, 50, 204)), to('darkred', Companion_getInstance_5().m1k(139, 0, 0)), to('darksalmon', Companion_getInstance_5().m1k(233, 150, 122)), to('darkseagreen', Companion_getInstance_5().m1k(143, 188, 143)), to('darkslateblue', Companion_getInstance_5().m1k(72, 61, 139)), to('darkslategray', Companion_getInstance_5().m1k(47, 79, 79)), to('darkslategrey', Companion_getInstance_5().m1k(47, 79, 79)), to('darkturquoise', Companion_getInstance_5().m1k(0, 206, 209)), to('darkviolet', Companion_getInstance_5().m1k(148, 0, 211)), to('deeppink', Companion_getInstance_5().m1k(255, 20, 147)), to('deepskyblue', Companion_getInstance_5().m1k(0, 191, 255)), to('dimgray', Companion_getInstance_5().m1k(105, 105, 105)), to('dimgrey', Companion_getInstance_5().m1k(105, 105, 105)), to('dodgerblue', Companion_getInstance_5().m1k(30, 144, 255)), to('firebrick', Companion_getInstance_5().m1k(178, 34, 34)), to('floralwhite', Companion_getInstance_5().m1k(255, 250, 240)), to('forestgreen', Companion_getInstance_5().m1k(34, 139, 34)), to('gainsboro', Companion_getInstance_5().m1k(220, 220, 220)), to('ghostwhite', Companion_getInstance_5().m1k(248, 248, 255)), to('gold', Companion_getInstance_5().m1k(255, 215, 0)), to('goldenrod', Companion_getInstance_5().m1k(218, 165, 32)), to('greenyellow', Companion_getInstance_5().m1k(173, 255, 47)), to('grey', Companion_getInstance_5().m1k(128, 128, 128)), to('honeydew', Companion_getInstance_5().m1k(240, 255, 240)), to('hotpink', Companion_getInstance_5().m1k(255, 105, 180)), to('indianred', Companion_getInstance_5().m1k(205, 92, 92)), to('indigo', Companion_getInstance_5().m1k(75, 0, 130)), to('ivory', Companion_getInstance_5().m1k(255, 255, 240)), to('khaki', Companion_getInstance_5().m1k(240, 230, 140)), to('lavender', Companion_getInstance_5().m1k(230, 230, 250)), to('lavenderblush', Companion_getInstance_5().m1k(255, 240, 245)), to('lawngreen', Companion_getInstance_5().m1k(124, 252, 0)), to('lemonchiffon', Companion_getInstance_5().m1k(255, 250, 205)), to('lightblue', Companion_getInstance_5().m1k(173, 216, 230)), to('lightcoral', Companion_getInstance_5().m1k(240, 128, 128)), to('lightcyan', Companion_getInstance_5().m1k(224, 255, 255)), to('lightgoldenrodyellow', Companion_getInstance_5().m1k(250, 250, 210)), to('lightgray', Companion_getInstance_5().m1k(211, 211, 211)), to('lightgreen', Companion_getInstance_5().m1k(144, 238, 144)), to('lightgrey', Companion_getInstance_5().m1k(211, 211, 211)), to('lightpink', Companion_getInstance_5().m1k(255, 182, 193)), to('lightsalmon', Companion_getInstance_5().m1k(255, 160, 122)), to('lightseagreen', Companion_getInstance_5().m1k(32, 178, 170)), to('lightskyblue', Companion_getInstance_5().m1k(135, 206, 250)), to('lightslategray', Companion_getInstance_5().m1k(119, 136, 153)), to('lightslategrey', Companion_getInstance_5().m1k(119, 136, 153)), to('lightsteelblue', Companion_getInstance_5().m1k(176, 196, 222)), to('lightyellow', Companion_getInstance_5().m1k(255, 255, 224)), to('limegreen', Companion_getInstance_5().m1k(50, 205, 50)), to('linen', Companion_getInstance_5().m1k(250, 240, 230)), to('magenta', Companion_getInstance_5().m1k(255, 0, 255)), to('mediumaquamarine', Companion_getInstance_5().m1k(102, 205, 170)), to('mediumblue', Companion_getInstance_5().m1k(0, 0, 205)), to('mediumorchid', Companion_getInstance_5().m1k(186, 85, 211)), to('mediumpurple', Companion_getInstance_5().m1k(147, 112, 219)), to('mediumseagreen', Companion_getInstance_5().m1k(60, 179, 113)), to('mediumslateblue', Companion_getInstance_5().m1k(123, 104, 238)), to('mediumspringgreen', Companion_getInstance_5().m1k(0, 250, 154)), to('mediumturquoise', Companion_getInstance_5().m1k(72, 209, 204)), to('mediumvioletred', Companion_getInstance_5().m1k(199, 21, 133)), to('midnightblue', Companion_getInstance_5().m1k(25, 25, 112)), to('mintcream', Companion_getInstance_5().m1k(245, 255, 250)), to('mistyrose', Companion_getInstance_5().m1k(255, 228, 225)), to('moccasin', Companion_getInstance_5().m1k(255, 228, 181)), to('navajowhite', Companion_getInstance_5().m1k(255, 222, 173)), to('oldlace', Companion_getInstance_5().m1k(253, 245, 230)), to('olivedrab', Companion_getInstance_5().m1k(107, 142, 35)), to('orangered', Companion_getInstance_5().m1k(255, 69, 0)), to('orchid', Companion_getInstance_5().m1k(218, 112, 214)), to('palegoldenrod', Companion_getInstance_5().m1k(238, 232, 170)), to('palegreen', Companion_getInstance_5().m1k(152, 251, 152)), to('paleturquoise', Companion_getInstance_5().m1k(175, 238, 238)), to('palevioletred', Companion_getInstance_5().m1k(219, 112, 147)), to('papayawhip', Companion_getInstance_5().m1k(255, 239, 213)), to('peachpuff', Companion_getInstance_5().m1k(255, 218, 185)), to('peru', Companion_getInstance_5().m1k(205, 133, 63)), to('pink', Companion_getInstance_5().m1k(255, 192, 203)), to('plum', Companion_getInstance_5().m1k(221, 160, 221)), to('powderblue', Companion_getInstance_5().m1k(176, 224, 230)), to('rosybrown', Companion_getInstance_5().m1k(188, 143, 143)), to('royalblue', Companion_getInstance_5().m1k(65, 105, 225)), to('saddlebrown', Companion_getInstance_5().m1k(139, 69, 19)), to('salmon', Companion_getInstance_5().m1k(250, 128, 114)), to('sandybrown', Companion_getInstance_5().m1k(244, 164, 96)), to('seagreen', Companion_getInstance_5().m1k(46, 139, 87)), to('seashell', Companion_getInstance_5().m1k(255, 245, 238)), to('sienna', Companion_getInstance_5().m1k(160, 82, 45)), to('skyblue', Companion_getInstance_5().m1k(135, 206, 235)), to('slateblue', Companion_getInstance_5().m1k(106, 90, 205)), to('slategray', Companion_getInstance_5().m1k(112, 128, 144)), to('slategrey', Companion_getInstance_5().m1k(112, 128, 144)), to('snow', Companion_getInstance_5().m1k(255, 250, 250)), to('springgreen', Companion_getInstance_5().m1k(0, 255, 127)), to('steelblue', Companion_getInstance_5().m1k(70, 130, 180)), to('tan', Companion_getInstance_5().m1k(210, 180, 140)), to('thistle', Companion_getInstance_5().m1k(216, 191, 216)), to('tomato', Companion_getInstance_5().m1k(255, 99, 71)), to('turquoise', Companion_getInstance_5().m1k(64, 224, 208)), to('violet', Companion_getInstance_5().m1k(238, 130, 238)), to('wheat', Companion_getInstance_5().m1k(245, 222, 179)), to('whitesmoke', Companion_getInstance_5().m1k(245, 245, 245)), to('yellowgreen', Companion_getInstance_5().m1k(154, 205, 50)), to('rebeccapurple', Companion_getInstance_5().m1k(102, 51, 153)), to('transparent', Companion_getInstance_5().n1k(0, 0, 0, 0))]);
973
+ this.r1j_1 = mapOf([to('black', Companion_getInstance_4().f1m(0, 0, 0)), to('silver', Companion_getInstance_4().f1m(192, 192, 192)), to('gray', Companion_getInstance_4().f1m(128, 128, 128)), to('white', Companion_getInstance_4().f1m(255, 255, 255)), to('maroon', Companion_getInstance_4().f1m(128, 0, 0)), to('red', Companion_getInstance_4().f1m(255, 0, 0)), to('purple', Companion_getInstance_4().f1m(128, 0, 128)), to('fuchsia', Companion_getInstance_4().f1m(255, 0, 255)), to('green', Companion_getInstance_4().f1m(0, 128, 0)), to('lime', Companion_getInstance_4().f1m(0, 255, 0)), to('olive', Companion_getInstance_4().f1m(128, 128, 0)), to('yellow', Companion_getInstance_4().f1m(255, 255, 0)), to('navy', Companion_getInstance_4().f1m(0, 0, 128)), to('blue', Companion_getInstance_4().f1m(0, 0, 255)), to('teal', Companion_getInstance_4().f1m(0, 128, 128)), to('aqua', Companion_getInstance_4().f1m(0, 255, 255)), to('orange', Companion_getInstance_4().f1m(255, 165, 0)), to('aliceblue', Companion_getInstance_4().f1m(240, 248, 255)), to('antiquewhite', Companion_getInstance_4().f1m(250, 235, 215)), to('aquamarine', Companion_getInstance_4().f1m(127, 255, 212)), to('azure', Companion_getInstance_4().f1m(240, 255, 255)), to('beige', Companion_getInstance_4().f1m(245, 245, 220)), to('bisque', Companion_getInstance_4().f1m(255, 228, 196)), to('blanchedalmond', Companion_getInstance_4().f1m(255, 235, 205)), to('blueviolet', Companion_getInstance_4().f1m(138, 43, 226)), to('brown', Companion_getInstance_4().f1m(165, 42, 42)), to('burlywood', Companion_getInstance_4().f1m(222, 184, 135)), to('cadetblue', Companion_getInstance_4().f1m(95, 158, 160)), to('chartreuse', Companion_getInstance_4().f1m(127, 255, 0)), to('chocolate', Companion_getInstance_4().f1m(210, 105, 30)), to('coral', Companion_getInstance_4().f1m(255, 127, 80)), to('cornflowerblue', Companion_getInstance_4().f1m(100, 149, 237)), to('cornsilk', Companion_getInstance_4().f1m(255, 248, 220)), to('crimson', Companion_getInstance_4().f1m(220, 20, 60)), to('cyan', Companion_getInstance_4().f1m(0, 255, 255)), to('darkblue', Companion_getInstance_4().f1m(0, 0, 139)), to('darkcyan', Companion_getInstance_4().f1m(0, 139, 139)), to('darkgoldenrod', Companion_getInstance_4().f1m(184, 134, 11)), to('darkgray', Companion_getInstance_4().f1m(169, 169, 169)), to('darkgreen', Companion_getInstance_4().f1m(0, 100, 0)), to('darkgrey', Companion_getInstance_4().f1m(169, 169, 169)), to('darkkhaki', Companion_getInstance_4().f1m(189, 183, 107)), to('darkmagenta', Companion_getInstance_4().f1m(139, 0, 139)), to('darkolivegreen', Companion_getInstance_4().f1m(85, 107, 47)), to('darkorange', Companion_getInstance_4().f1m(255, 140, 0)), to('darkorchid', Companion_getInstance_4().f1m(153, 50, 204)), to('darkred', Companion_getInstance_4().f1m(139, 0, 0)), to('darksalmon', Companion_getInstance_4().f1m(233, 150, 122)), to('darkseagreen', Companion_getInstance_4().f1m(143, 188, 143)), to('darkslateblue', Companion_getInstance_4().f1m(72, 61, 139)), to('darkslategray', Companion_getInstance_4().f1m(47, 79, 79)), to('darkslategrey', Companion_getInstance_4().f1m(47, 79, 79)), to('darkturquoise', Companion_getInstance_4().f1m(0, 206, 209)), to('darkviolet', Companion_getInstance_4().f1m(148, 0, 211)), to('deeppink', Companion_getInstance_4().f1m(255, 20, 147)), to('deepskyblue', Companion_getInstance_4().f1m(0, 191, 255)), to('dimgray', Companion_getInstance_4().f1m(105, 105, 105)), to('dimgrey', Companion_getInstance_4().f1m(105, 105, 105)), to('dodgerblue', Companion_getInstance_4().f1m(30, 144, 255)), to('firebrick', Companion_getInstance_4().f1m(178, 34, 34)), to('floralwhite', Companion_getInstance_4().f1m(255, 250, 240)), to('forestgreen', Companion_getInstance_4().f1m(34, 139, 34)), to('gainsboro', Companion_getInstance_4().f1m(220, 220, 220)), to('ghostwhite', Companion_getInstance_4().f1m(248, 248, 255)), to('gold', Companion_getInstance_4().f1m(255, 215, 0)), to('goldenrod', Companion_getInstance_4().f1m(218, 165, 32)), to('greenyellow', Companion_getInstance_4().f1m(173, 255, 47)), to('grey', Companion_getInstance_4().f1m(128, 128, 128)), to('honeydew', Companion_getInstance_4().f1m(240, 255, 240)), to('hotpink', Companion_getInstance_4().f1m(255, 105, 180)), to('indianred', Companion_getInstance_4().f1m(205, 92, 92)), to('indigo', Companion_getInstance_4().f1m(75, 0, 130)), to('ivory', Companion_getInstance_4().f1m(255, 255, 240)), to('khaki', Companion_getInstance_4().f1m(240, 230, 140)), to('lavender', Companion_getInstance_4().f1m(230, 230, 250)), to('lavenderblush', Companion_getInstance_4().f1m(255, 240, 245)), to('lawngreen', Companion_getInstance_4().f1m(124, 252, 0)), to('lemonchiffon', Companion_getInstance_4().f1m(255, 250, 205)), to('lightblue', Companion_getInstance_4().f1m(173, 216, 230)), to('lightcoral', Companion_getInstance_4().f1m(240, 128, 128)), to('lightcyan', Companion_getInstance_4().f1m(224, 255, 255)), to('lightgoldenrodyellow', Companion_getInstance_4().f1m(250, 250, 210)), to('lightgray', Companion_getInstance_4().f1m(211, 211, 211)), to('lightgreen', Companion_getInstance_4().f1m(144, 238, 144)), to('lightgrey', Companion_getInstance_4().f1m(211, 211, 211)), to('lightpink', Companion_getInstance_4().f1m(255, 182, 193)), to('lightsalmon', Companion_getInstance_4().f1m(255, 160, 122)), to('lightseagreen', Companion_getInstance_4().f1m(32, 178, 170)), to('lightskyblue', Companion_getInstance_4().f1m(135, 206, 250)), to('lightslategray', Companion_getInstance_4().f1m(119, 136, 153)), to('lightslategrey', Companion_getInstance_4().f1m(119, 136, 153)), to('lightsteelblue', Companion_getInstance_4().f1m(176, 196, 222)), to('lightyellow', Companion_getInstance_4().f1m(255, 255, 224)), to('limegreen', Companion_getInstance_4().f1m(50, 205, 50)), to('linen', Companion_getInstance_4().f1m(250, 240, 230)), to('magenta', Companion_getInstance_4().f1m(255, 0, 255)), to('mediumaquamarine', Companion_getInstance_4().f1m(102, 205, 170)), to('mediumblue', Companion_getInstance_4().f1m(0, 0, 205)), to('mediumorchid', Companion_getInstance_4().f1m(186, 85, 211)), to('mediumpurple', Companion_getInstance_4().f1m(147, 112, 219)), to('mediumseagreen', Companion_getInstance_4().f1m(60, 179, 113)), to('mediumslateblue', Companion_getInstance_4().f1m(123, 104, 238)), to('mediumspringgreen', Companion_getInstance_4().f1m(0, 250, 154)), to('mediumturquoise', Companion_getInstance_4().f1m(72, 209, 204)), to('mediumvioletred', Companion_getInstance_4().f1m(199, 21, 133)), to('midnightblue', Companion_getInstance_4().f1m(25, 25, 112)), to('mintcream', Companion_getInstance_4().f1m(245, 255, 250)), to('mistyrose', Companion_getInstance_4().f1m(255, 228, 225)), to('moccasin', Companion_getInstance_4().f1m(255, 228, 181)), to('navajowhite', Companion_getInstance_4().f1m(255, 222, 173)), to('oldlace', Companion_getInstance_4().f1m(253, 245, 230)), to('olivedrab', Companion_getInstance_4().f1m(107, 142, 35)), to('orangered', Companion_getInstance_4().f1m(255, 69, 0)), to('orchid', Companion_getInstance_4().f1m(218, 112, 214)), to('palegoldenrod', Companion_getInstance_4().f1m(238, 232, 170)), to('palegreen', Companion_getInstance_4().f1m(152, 251, 152)), to('paleturquoise', Companion_getInstance_4().f1m(175, 238, 238)), to('palevioletred', Companion_getInstance_4().f1m(219, 112, 147)), to('papayawhip', Companion_getInstance_4().f1m(255, 239, 213)), to('peachpuff', Companion_getInstance_4().f1m(255, 218, 185)), to('peru', Companion_getInstance_4().f1m(205, 133, 63)), to('pink', Companion_getInstance_4().f1m(255, 192, 203)), to('plum', Companion_getInstance_4().f1m(221, 160, 221)), to('powderblue', Companion_getInstance_4().f1m(176, 224, 230)), to('rosybrown', Companion_getInstance_4().f1m(188, 143, 143)), to('royalblue', Companion_getInstance_4().f1m(65, 105, 225)), to('saddlebrown', Companion_getInstance_4().f1m(139, 69, 19)), to('salmon', Companion_getInstance_4().f1m(250, 128, 114)), to('sandybrown', Companion_getInstance_4().f1m(244, 164, 96)), to('seagreen', Companion_getInstance_4().f1m(46, 139, 87)), to('seashell', Companion_getInstance_4().f1m(255, 245, 238)), to('sienna', Companion_getInstance_4().f1m(160, 82, 45)), to('skyblue', Companion_getInstance_4().f1m(135, 206, 235)), to('slateblue', Companion_getInstance_4().f1m(106, 90, 205)), to('slategray', Companion_getInstance_4().f1m(112, 128, 144)), to('slategrey', Companion_getInstance_4().f1m(112, 128, 144)), to('snow', Companion_getInstance_4().f1m(255, 250, 250)), to('springgreen', Companion_getInstance_4().f1m(0, 255, 127)), to('steelblue', Companion_getInstance_4().f1m(70, 130, 180)), to('tan', Companion_getInstance_4().f1m(210, 180, 140)), to('thistle', Companion_getInstance_4().f1m(216, 191, 216)), to('tomato', Companion_getInstance_4().f1m(255, 99, 71)), to('turquoise', Companion_getInstance_4().f1m(64, 224, 208)), to('violet', Companion_getInstance_4().f1m(238, 130, 238)), to('wheat', Companion_getInstance_4().f1m(245, 222, 179)), to('whitesmoke', Companion_getInstance_4().f1m(245, 245, 245)), to('yellowgreen', Companion_getInstance_4().f1m(154, 205, 50)), to('rebeccapurple', Companion_getInstance_4().f1m(102, 51, 153)), to('transparent', Companion_getInstance_4().g1m(0, 0, 0, 0))]);
997
974
  }
998
975
  var CssColors_instance;
999
976
  function CssColors_getInstance() {
@@ -1011,11 +988,10 @@
1011
988
  return (_this__u8e3s4 % 360.0 + 360.0) % 360.0;
1012
989
  }
1013
990
  function spow_0(_this__u8e3s4, p) {
1014
- var tmp$ret$1;
1015
991
  // Inline function 'kotlin.math.pow' call
1016
992
  // Inline function 'kotlin.math.absoluteValue' call
1017
- var tmp0_pow = Math.abs(_this__u8e3s4);
1018
- tmp$ret$1 = Math.pow(tmp0_pow, p);
993
+ var this_0 = Math.abs(_this__u8e3s4);
994
+ var tmp$ret$1 = Math.pow(this_0, p);
1019
995
  return withSign(tmp$ret$1, _this__u8e3s4);
1020
996
  }
1021
997
  function normalizeDeg_0(_this__u8e3s4) {
@@ -1052,16 +1028,14 @@
1052
1028
  return $this;
1053
1029
  }
1054
1030
  function _Matrix___init__impl__q3kp4w_0(v00, v10, v20, v01, v11, v21, v02, v12, v22) {
1055
- var tmp$ret$0;
1056
1031
  // Inline function 'kotlin.floatArrayOf' call
1057
- tmp$ret$0 = new Float32Array([v00, v10, v20, v01, v11, v21, v02, v12, v22]);
1032
+ var tmp$ret$0 = new Float32Array([v00, v10, v20, v01, v11, v21, v02, v12, v22]);
1058
1033
  return _Matrix___init__impl__q3kp4w(tmp$ret$0);
1059
1034
  }
1060
1035
  function Matrix__copy_impl_kmkvzd($this) {
1061
- var tmp$ret$1;
1062
1036
  // Inline function 'kotlin.collections.copyOf' call
1063
1037
  // Inline function 'kotlin.js.asDynamic' call
1064
- tmp$ret$1 = _Matrix___get_rowMajor__impl__vmgxkq($this).slice();
1038
+ var tmp$ret$1 = _Matrix___get_rowMajor__impl__vmgxkq($this).slice();
1065
1039
  return _Matrix___init__impl__q3kp4w(tmp$ret$1);
1066
1040
  }
1067
1041
  function Matrix__get_impl_xogbpk($this, x, y) {
@@ -1127,9 +1101,8 @@
1127
1101
  return $this;
1128
1102
  }
1129
1103
  function _Vector___init__impl__y7x4qq_0(v0, v1, v2) {
1130
- var tmp$ret$0;
1131
1104
  // Inline function 'kotlin.floatArrayOf' call
1132
- tmp$ret$0 = new Float32Array([v0, v1, v2]);
1105
+ var tmp$ret$0 = new Float32Array([v0, v1, v2]);
1133
1106
  return _Vector___init__impl__y7x4qq(tmp$ret$0);
1134
1107
  }
1135
1108
  function _Vector___get_l__impl__envr1l($this) {
@@ -1149,86 +1122,85 @@
1149
1122
  return Matrix__get_impl_xogbpk($this_dot, 0, y) * Matrix__get_impl_xogbpk($other, x, 0) + Matrix__get_impl_xogbpk($this_dot, 1, y) * Matrix__get_impl_xogbpk($other, x, 1) + Matrix__get_impl_xogbpk($this_dot, 2, y) * Matrix__get_impl_xogbpk($other, x, 2);
1150
1123
  }
1151
1124
  function Companion_0() {
1152
- Companion_instance_0 = this;
1153
- this.o1k_1 = polarComponentInfo('HSL');
1125
+ Companion_instance_1 = this;
1126
+ this.h1m_1 = polarComponentInfo('HSL');
1154
1127
  }
1155
- protoOf(Companion_0).ee = function () {
1128
+ protoOf(Companion_0).ka = function () {
1156
1129
  return 'HSL';
1157
1130
  };
1158
- protoOf(Companion_0).p1k = function () {
1159
- return this.o1k_1;
1131
+ protoOf(Companion_0).n1j = function () {
1132
+ return this.h1m_1;
1160
1133
  };
1161
- protoOf(Companion_0).t1h = function (color) {
1162
- return color.z1g();
1134
+ protoOf(Companion_0).l1j = function (color) {
1135
+ return color.r1i();
1163
1136
  };
1164
- var Companion_instance_0;
1165
- function Companion_getInstance_1() {
1166
- if (Companion_instance_0 == null)
1137
+ var Companion_instance_1;
1138
+ function Companion_getInstance_0() {
1139
+ if (Companion_instance_1 == null)
1167
1140
  new Companion_0();
1168
- return Companion_instance_0;
1141
+ return Companion_instance_1;
1169
1142
  }
1170
1143
  function toSRGB$f(h, s, l, n) {
1171
1144
  var k = (n + h) % 12.0;
1172
1145
  // Inline function 'kotlin.math.min' call
1173
- var tmp0_min = 1 - l;
1174
- var a = s * Math.min(l, tmp0_min);
1175
- var tmp$ret$1;
1146
+ var b = 1 - l;
1147
+ var a = s * Math.min(l, b);
1176
1148
  // Inline function 'kotlin.comparisons.minOf' call
1177
- var tmp1_minOf = k - 3;
1178
- var tmp2_minOf = 9 - k;
1179
- tmp$ret$1 = Math.min(tmp1_minOf, tmp2_minOf, 1.0);
1149
+ var a_0 = k - 3;
1150
+ var b_0 = 9 - k;
1151
+ var tmp$ret$1 = Math.min(a_0, b_0, 1.0);
1180
1152
  return l - a * coerceAtLeast_0(tmp$ret$1, -1.0);
1181
1153
  }
1182
1154
  function HSL(h, s, l, alpha) {
1183
- Companion_getInstance_1();
1155
+ Companion_getInstance_0();
1184
1156
  alpha = alpha === VOID ? 1.0 : alpha;
1185
- this.o1j_1 = h;
1186
- this.p1j_1 = s;
1187
- this.q1j_1 = l;
1188
- this.r1j_1 = alpha;
1157
+ this.h1l_1 = h;
1158
+ this.i1l_1 = s;
1159
+ this.j1l_1 = l;
1160
+ this.k1l_1 = alpha;
1189
1161
  }
1190
- protoOf(HSL).b1k = function () {
1191
- return this.o1j_1;
1162
+ protoOf(HSL).u1l = function () {
1163
+ return this.h1l_1;
1192
1164
  };
1193
- protoOf(HSL).w1g = function () {
1194
- return this.r1j_1;
1165
+ protoOf(HSL).o1i = function () {
1166
+ return this.k1l_1;
1195
1167
  };
1196
- protoOf(HSL).x1g = function () {
1197
- return Companion_getInstance_1();
1168
+ protoOf(HSL).p1i = function () {
1169
+ return Companion_getInstance_0();
1198
1170
  };
1199
- protoOf(HSL).y1g = function () {
1200
- if (this.p1j_1 < 1.0E-7)
1201
- return Companion_getInstance_5().r1i(this.q1j_1, this.q1j_1, this.q1j_1, this.r1j_1);
1171
+ protoOf(HSL).q1i = function () {
1172
+ if (this.i1l_1 < 1.0E-7)
1173
+ return Companion_getInstance_4().k1k(this.j1l_1, this.j1l_1, this.j1l_1, this.k1l_1);
1202
1174
  var h = normalizeDeg_0(hueOr(this, 0)) / 30.0;
1203
- var s = this.p1j_1;
1204
- var l = this.q1j_1;
1205
- return SRGB_getInstance().r1i(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.r1j_1);
1175
+ var s = this.i1l_1;
1176
+ var l = this.j1l_1;
1177
+ return SRGB_getInstance().k1k(toSRGB$f(h, s, l, 0), toSRGB$f(h, s, l, 8), toSRGB$f(h, s, l, 4), this.k1l_1);
1206
1178
  };
1207
- protoOf(HSL).z1g = function () {
1179
+ protoOf(HSL).r1i = function () {
1208
1180
  return this;
1209
1181
  };
1210
- protoOf(HSL).a3 = function () {
1182
+ protoOf(HSL).y2 = function () {
1211
1183
  // Inline function 'kotlin.floatArrayOf' call
1212
- return new Float32Array([this.o1j_1, this.p1j_1, this.q1j_1, this.r1j_1]);
1184
+ return new Float32Array([this.h1l_1, this.i1l_1, this.j1l_1, this.k1l_1]);
1213
1185
  };
1214
- protoOf(HSL).w1k = function (h, s, l, alpha) {
1186
+ protoOf(HSL).o1m = function (h, s, l, alpha) {
1215
1187
  return new HSL(h, s, l, alpha);
1216
1188
  };
1217
- protoOf(HSL).x1k = function (h, s, l, alpha, $super) {
1218
- h = h === VOID ? this.o1j_1 : h;
1219
- s = s === VOID ? this.p1j_1 : s;
1220
- l = l === VOID ? this.q1j_1 : l;
1221
- alpha = alpha === VOID ? this.r1j_1 : alpha;
1222
- return $super === VOID ? this.w1k(h, s, l, alpha) : $super.w1k.call(this, h, s, l, alpha);
1189
+ protoOf(HSL).p1m = function (h, s, l, alpha, $super) {
1190
+ h = h === VOID ? this.h1l_1 : h;
1191
+ s = s === VOID ? this.i1l_1 : s;
1192
+ l = l === VOID ? this.j1l_1 : l;
1193
+ alpha = alpha === VOID ? this.k1l_1 : alpha;
1194
+ return $super === VOID ? this.o1m(h, s, l, alpha) : $super.o1m.call(this, h, s, l, alpha);
1223
1195
  };
1224
1196
  protoOf(HSL).toString = function () {
1225
- return 'HSL(h=' + this.o1j_1 + ', s=' + this.p1j_1 + ', l=' + this.q1j_1 + ', alpha=' + this.r1j_1 + ')';
1197
+ return 'HSL(h=' + this.h1l_1 + ', s=' + this.i1l_1 + ', l=' + this.j1l_1 + ', alpha=' + this.k1l_1 + ')';
1226
1198
  };
1227
1199
  protoOf(HSL).hashCode = function () {
1228
- var result = getNumberHashCode(this.o1j_1);
1229
- result = imul(result, 31) + getNumberHashCode(this.p1j_1) | 0;
1230
- result = imul(result, 31) + getNumberHashCode(this.q1j_1) | 0;
1231
- result = imul(result, 31) + getNumberHashCode(this.r1j_1) | 0;
1200
+ var result = getNumberHashCode(this.h1l_1);
1201
+ result = imul(result, 31) + getNumberHashCode(this.i1l_1) | 0;
1202
+ result = imul(result, 31) + getNumberHashCode(this.j1l_1) | 0;
1203
+ result = imul(result, 31) + getNumberHashCode(this.k1l_1) | 0;
1232
1204
  return result;
1233
1205
  };
1234
1206
  protoOf(HSL).equals = function (other) {
@@ -1237,60 +1209,60 @@
1237
1209
  if (!(other instanceof HSL))
1238
1210
  return false;
1239
1211
  var tmp0_other_with_cast = other instanceof HSL ? other : THROW_CCE();
1240
- if (!equals(this.o1j_1, tmp0_other_with_cast.o1j_1))
1212
+ if (!equals(this.h1l_1, tmp0_other_with_cast.h1l_1))
1241
1213
  return false;
1242
- if (!equals(this.p1j_1, tmp0_other_with_cast.p1j_1))
1214
+ if (!equals(this.i1l_1, tmp0_other_with_cast.i1l_1))
1243
1215
  return false;
1244
- if (!equals(this.q1j_1, tmp0_other_with_cast.q1j_1))
1216
+ if (!equals(this.j1l_1, tmp0_other_with_cast.j1l_1))
1245
1217
  return false;
1246
- if (!equals(this.r1j_1, tmp0_other_with_cast.r1j_1))
1218
+ if (!equals(this.k1l_1, tmp0_other_with_cast.k1l_1))
1247
1219
  return false;
1248
1220
  return true;
1249
1221
  };
1250
1222
  function Companion_1() {
1251
- Companion_instance_1 = this;
1252
- this.y1k_1 = polarComponentInfo('HWB');
1223
+ Companion_instance_2 = this;
1224
+ this.q1m_1 = polarComponentInfo('HWB');
1253
1225
  }
1254
- protoOf(Companion_1).ee = function () {
1226
+ protoOf(Companion_1).ka = function () {
1255
1227
  return 'HWB';
1256
1228
  };
1257
- protoOf(Companion_1).p1k = function () {
1258
- return this.y1k_1;
1229
+ protoOf(Companion_1).n1j = function () {
1230
+ return this.q1m_1;
1259
1231
  };
1260
- protoOf(Companion_1).t1h = function (color) {
1261
- return color.s1h();
1232
+ protoOf(Companion_1).l1j = function (color) {
1233
+ return color.k1j();
1262
1234
  };
1263
- var Companion_instance_1;
1264
- function Companion_getInstance_2() {
1265
- if (Companion_instance_1 == null)
1235
+ var Companion_instance_2;
1236
+ function Companion_getInstance_1() {
1237
+ if (Companion_instance_2 == null)
1266
1238
  new Companion_1();
1267
- return Companion_instance_1;
1239
+ return Companion_instance_2;
1268
1240
  }
1269
1241
  function HWB(h, w, b, alpha) {
1270
- Companion_getInstance_2();
1242
+ Companion_getInstance_1();
1271
1243
  alpha = alpha === VOID ? 1.0 : alpha;
1272
- this.x1j_1 = h;
1273
- this.y1j_1 = w;
1274
- this.z1j_1 = b;
1275
- this.a1k_1 = alpha;
1276
- }
1277
- protoOf(HWB).b1k = function () {
1278
- return this.x1j_1;
1279
- };
1280
- protoOf(HWB).w1g = function () {
1281
- return this.a1k_1;
1282
- };
1283
- protoOf(HWB).x1g = function () {
1284
- return Companion_getInstance_2();
1285
- };
1286
- protoOf(HWB).y1g = function () {
1287
- var h = this.x1j_1 / 60.0;
1288
- var w = this.y1j_1;
1289
- var b = this.z1j_1;
1290
- var a = this.a1k_1;
1291
- if (w + b >= 1) {
1244
+ this.q1l_1 = h;
1245
+ this.r1l_1 = w;
1246
+ this.s1l_1 = b;
1247
+ this.t1l_1 = alpha;
1248
+ }
1249
+ protoOf(HWB).u1l = function () {
1250
+ return this.q1l_1;
1251
+ };
1252
+ protoOf(HWB).o1i = function () {
1253
+ return this.t1l_1;
1254
+ };
1255
+ protoOf(HWB).p1i = function () {
1256
+ return Companion_getInstance_1();
1257
+ };
1258
+ protoOf(HWB).q1i = function () {
1259
+ var h = this.q1l_1 / 60.0;
1260
+ var w = this.r1l_1;
1261
+ var b = this.s1l_1;
1262
+ var a = this.t1l_1;
1263
+ if (w + b >= 1.0) {
1292
1264
  var gray = w / (w + b);
1293
- return Companion_getInstance_5().r1i(gray, gray, gray, a);
1265
+ return Companion_getInstance_4().k1k(gray, gray, gray, a);
1294
1266
  }
1295
1267
  var v = 1 - b;
1296
1268
  var i = numberToInt(h);
@@ -1298,34 +1270,34 @@
1298
1270
  var n = w + f * (v - w);
1299
1271
  switch (i) {
1300
1272
  case 1:
1301
- return Companion_getInstance_5().r1i(n, v, w, a);
1273
+ return Companion_getInstance_4().k1k(n, v, w, a);
1302
1274
  case 2:
1303
- return Companion_getInstance_5().r1i(w, v, n, a);
1275
+ return Companion_getInstance_4().k1k(w, v, n, a);
1304
1276
  case 3:
1305
- return Companion_getInstance_5().r1i(w, n, v, a);
1277
+ return Companion_getInstance_4().k1k(w, n, v, a);
1306
1278
  case 4:
1307
- return Companion_getInstance_5().r1i(n, w, v, a);
1279
+ return Companion_getInstance_4().k1k(n, w, v, a);
1308
1280
  case 5:
1309
- return Companion_getInstance_5().r1i(v, w, n, a);
1281
+ return Companion_getInstance_4().k1k(v, w, n, a);
1310
1282
  default:
1311
- return Companion_getInstance_5().r1i(v, n, w, a);
1283
+ return Companion_getInstance_4().k1k(v, n, w, a);
1312
1284
  }
1313
1285
  };
1314
- protoOf(HWB).s1h = function () {
1286
+ protoOf(HWB).k1j = function () {
1315
1287
  return this;
1316
1288
  };
1317
- protoOf(HWB).a3 = function () {
1289
+ protoOf(HWB).y2 = function () {
1318
1290
  // Inline function 'kotlin.floatArrayOf' call
1319
- return new Float32Array([this.x1j_1, this.y1j_1, this.z1j_1, this.a1k_1]);
1291
+ return new Float32Array([this.q1l_1, this.r1l_1, this.s1l_1, this.t1l_1]);
1320
1292
  };
1321
1293
  protoOf(HWB).toString = function () {
1322
- return 'HWB(h=' + this.x1j_1 + ', w=' + this.y1j_1 + ', b=' + this.z1j_1 + ', alpha=' + this.a1k_1 + ')';
1294
+ return 'HWB(h=' + this.q1l_1 + ', w=' + this.r1l_1 + ', b=' + this.s1l_1 + ', alpha=' + this.t1l_1 + ')';
1323
1295
  };
1324
1296
  protoOf(HWB).hashCode = function () {
1325
- var result = getNumberHashCode(this.x1j_1);
1326
- result = imul(result, 31) + getNumberHashCode(this.y1j_1) | 0;
1327
- result = imul(result, 31) + getNumberHashCode(this.z1j_1) | 0;
1328
- result = imul(result, 31) + getNumberHashCode(this.a1k_1) | 0;
1297
+ var result = getNumberHashCode(this.q1l_1);
1298
+ result = imul(result, 31) + getNumberHashCode(this.r1l_1) | 0;
1299
+ result = imul(result, 31) + getNumberHashCode(this.s1l_1) | 0;
1300
+ result = imul(result, 31) + getNumberHashCode(this.t1l_1) | 0;
1329
1301
  return result;
1330
1302
  };
1331
1303
  protoOf(HWB).equals = function (other) {
@@ -1334,13 +1306,13 @@
1334
1306
  if (!(other instanceof HWB))
1335
1307
  return false;
1336
1308
  var tmp0_other_with_cast = other instanceof HWB ? other : THROW_CCE();
1337
- if (!equals(this.x1j_1, tmp0_other_with_cast.x1j_1))
1309
+ if (!equals(this.q1l_1, tmp0_other_with_cast.q1l_1))
1338
1310
  return false;
1339
- if (!equals(this.y1j_1, tmp0_other_with_cast.y1j_1))
1311
+ if (!equals(this.r1l_1, tmp0_other_with_cast.r1l_1))
1340
1312
  return false;
1341
- if (!equals(this.z1j_1, tmp0_other_with_cast.z1j_1))
1313
+ if (!equals(this.s1l_1, tmp0_other_with_cast.s1l_1))
1342
1314
  return false;
1343
- if (!equals(this.a1k_1, tmp0_other_with_cast.a1k_1))
1315
+ if (!equals(this.t1l_1, tmp0_other_with_cast.t1l_1))
1344
1316
  return false;
1345
1317
  return true;
1346
1318
  };
@@ -1382,53 +1354,50 @@
1382
1354
  var ICTCP_LMS_TO_XYZ;
1383
1355
  function ICtCp() {
1384
1356
  }
1385
- protoOf(ICtCp).d1l = function () {
1386
- var fo = RGBColorSpaces_getInstance().b1j_1.e1l();
1357
+ protoOf(ICtCp).v1m = function () {
1358
+ var fo = RGBColorSpaces_getInstance().u1k_1.w1m();
1387
1359
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1388
- var tmp0_dot = get_ICTCP_ICTCP_to_LMS();
1389
- var tmp1_dot = this.z1k_1;
1390
- var tmp2_dot = this.a1l_1;
1391
- var tmp3_dot = this.b1l_1;
1360
+ var this_0 = get_ICTCP_ICTCP_to_LMS();
1361
+ var v0 = this.r1m_1;
1362
+ var v1 = this.s1m_1;
1363
+ var v2 = this.t1m_1;
1392
1364
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>' call
1393
- var tmp4_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * tmp3_dot;
1394
- var tmp5_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * tmp3_dot;
1395
- var tmp6_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * tmp3_dot;
1365
+ 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;
1366
+ 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;
1367
+ 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;
1396
1368
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
1397
- var tmp0_dot_0 = get_ICTCP_LMS_to_RGB();
1398
- var tmp1_dot_0 = PqNonlinearity_getInstance().n1l(tmp4_anonymous);
1399
- var tmp2_dot_0 = PqNonlinearity_getInstance().n1l(tmp5_anonymous);
1400
- var tmp3_dot_0 = PqNonlinearity_getInstance().n1l(tmp6_anonymous);
1369
+ var this_1 = get_ICTCP_LMS_to_RGB();
1370
+ var v0_0 = PqNonlinearity_instance.f1n(l);
1371
+ var v1_0 = PqNonlinearity_instance.f1n(m);
1372
+ var v2_0 = PqNonlinearity_instance.f1n(s);
1401
1373
  // Inline function 'com.github.ajalt.colormath.model.ICtCp.toBT2020.<anonymous>.<anonymous>' call
1402
- var tmp4_anonymous_0 = Matrix__get_impl_xogbpk(tmp0_dot_0, 0, 0) * tmp1_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 1, 0) * tmp2_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 2, 0) * tmp3_dot_0;
1403
- var tmp5_anonymous_0 = Matrix__get_impl_xogbpk(tmp0_dot_0, 0, 1) * tmp1_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 1, 1) * tmp2_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 2, 1) * tmp3_dot_0;
1404
- var tmp6_anonymous_0 = Matrix__get_impl_xogbpk(tmp0_dot_0, 0, 2) * tmp1_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 1, 2) * tmp2_dot_0 + Matrix__get_impl_xogbpk(tmp0_dot_0, 2, 2) * tmp3_dot_0;
1405
- return RGBColorSpaces_getInstance().b1j_1.r1i(fo.o1l(tmp4_anonymous_0), fo.o1l(tmp5_anonymous_0), fo.o1l(tmp6_anonymous_0), this.c1l_1);
1374
+ 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;
1375
+ 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;
1376
+ 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;
1377
+ return RGBColorSpaces_getInstance().u1k_1.k1k(fo.g1n(r), fo.g1n(g), fo.g1n(b), this.u1m_1);
1406
1378
  };
1407
1379
  function PqNonlinearity() {
1408
- PqNonlinearity_instance = this;
1409
- this.f1l_1 = 0.1593017578125;
1410
- this.g1l_1 = 78.84375;
1411
- this.h1l_1 = 0.8359375;
1412
- this.i1l_1 = 18.8515625;
1413
- this.j1l_1 = 18.6875;
1414
- this.k1l_1 = 10000.0;
1415
- this.l1l_1 = 6.277394636015326;
1416
- this.m1l_1 = 0.012683313515655966;
1417
- }
1418
- protoOf(PqNonlinearity).n1l = function (x) {
1380
+ this.x1m_1 = 0.1593017578125;
1381
+ this.y1m_1 = 78.84375;
1382
+ this.z1m_1 = 0.8359375;
1383
+ this.a1n_1 = 18.8515625;
1384
+ this.b1n_1 = 18.6875;
1385
+ this.c1n_1 = 10000.0;
1386
+ this.d1n_1 = 6.277394636015326;
1387
+ this.e1n_1 = 0.012683313515655966;
1388
+ }
1389
+ protoOf(PqNonlinearity).f1n = function (x) {
1419
1390
  var vp = spow(x, 0.012683313515655966);
1420
1391
  var n = coerceAtLeast_0(vp - 0.8359375, 0.0);
1421
1392
  var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
1422
1393
  return 10000.0 * l;
1423
1394
  };
1424
- protoOf(PqNonlinearity).o1l = function (x) {
1395
+ protoOf(PqNonlinearity).g1n = function (x) {
1425
1396
  var yp = spow_0(x / 10000.0, 0.1593017578125);
1426
1397
  return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
1427
1398
  };
1428
1399
  var PqNonlinearity_instance;
1429
1400
  function PqNonlinearity_getInstance() {
1430
- if (PqNonlinearity_instance == null)
1431
- new PqNonlinearity();
1432
1401
  return PqNonlinearity_instance;
1433
1402
  }
1434
1403
  var properties_initialized_ICtCp_kt_w6y8uv;
@@ -1446,121 +1415,119 @@
1446
1415
  }
1447
1416
  }
1448
1417
  function Companion_2() {
1449
- Companion_instance_2 = this;
1450
- this.s1i_1 = LABColorSpaces_getInstance().l1j_1;
1418
+ Companion_instance_3 = this;
1419
+ this.l1k_1 = LABColorSpaces_getInstance().e1l_1;
1451
1420
  }
1452
- protoOf(Companion_2).p1k = function () {
1453
- return this.s1i_1.p1k();
1421
+ protoOf(Companion_2).n1j = function () {
1422
+ return this.l1k_1.n1j();
1454
1423
  };
1455
- protoOf(Companion_2).ee = function () {
1456
- return this.s1i_1.ee();
1424
+ protoOf(Companion_2).ka = function () {
1425
+ return this.l1k_1.ka();
1457
1426
  };
1458
- protoOf(Companion_2).u1h = function () {
1459
- return this.s1i_1.u1h();
1427
+ protoOf(Companion_2).m1j = function () {
1428
+ return this.l1k_1.m1j();
1460
1429
  };
1461
- protoOf(Companion_2).t1h = function (color) {
1462
- return this.s1i_1.t1h(color);
1430
+ protoOf(Companion_2).l1j = function (color) {
1431
+ return this.l1k_1.l1j(color);
1463
1432
  };
1464
- protoOf(Companion_2).v1h = function (components) {
1465
- return this.s1i_1.v1h(components);
1433
+ protoOf(Companion_2).o1j = function (components) {
1434
+ return this.l1k_1.o1j(components);
1466
1435
  };
1467
- protoOf(Companion_2).r1i = function (l, a, b, alpha) {
1468
- return this.s1i_1.r1i(l, a, b, alpha);
1436
+ protoOf(Companion_2).k1k = function (l, a, b, alpha) {
1437
+ return this.l1k_1.k1k(l, a, b, alpha);
1469
1438
  };
1470
- protoOf(Companion_2).p1l = function (l, a, b, alpha) {
1471
- return this.s1i_1.p1l(l, a, b, alpha);
1439
+ protoOf(Companion_2).h1n = function (l, a, b, alpha) {
1440
+ return this.l1k_1.h1n(l, a, b, alpha);
1472
1441
  };
1473
- var Companion_instance_2;
1474
- function Companion_getInstance_3() {
1475
- if (Companion_instance_2 == null)
1442
+ var Companion_instance_3;
1443
+ function Companion_getInstance_2() {
1444
+ if (Companion_instance_3 == null)
1476
1445
  new Companion_2();
1477
- return Companion_instance_2;
1446
+ return Companion_instance_3;
1478
1447
  }
1479
1448
  function LAB(l, a, b, alpha, space) {
1480
- Companion_getInstance_3();
1481
- this.n1h_1 = l;
1482
- this.o1h_1 = a;
1483
- this.p1h_1 = b;
1484
- this.q1h_1 = alpha;
1485
- this.r1h_1 = space;
1486
- }
1487
- protoOf(LAB).w1g = function () {
1488
- return this.q1h_1;
1489
- };
1490
- protoOf(LAB).x1g = function () {
1491
- return this.r1h_1;
1492
- };
1493
- protoOf(LAB).y1g = function () {
1494
- return this.n1h_1 === 0.0 ? Companion_getInstance_5().r1i(0.0, 0.0, 0.0, this.q1h_1) : this.f1h().y1g();
1495
- };
1496
- protoOf(LAB).f1h = function () {
1497
- var xyzSpace = XYZColorSpace_0(this.r1h_1.u1h());
1498
- if (this.n1h_1 === 0.0)
1499
- return xyzSpace.q1l(0.0, 0.0, 0.0);
1500
- var fy = (this.n1h_1 + 16) / 116.0;
1501
- var fz = fy - this.p1h_1 / 200.0;
1502
- var fx = this.o1h_1 / 500.0 + fy;
1449
+ Companion_getInstance_2();
1450
+ this.f1j_1 = l;
1451
+ this.g1j_1 = a;
1452
+ this.h1j_1 = b;
1453
+ this.i1j_1 = alpha;
1454
+ this.j1j_1 = space;
1455
+ }
1456
+ protoOf(LAB).o1i = function () {
1457
+ return this.i1j_1;
1458
+ };
1459
+ protoOf(LAB).p1i = function () {
1460
+ return this.j1j_1;
1461
+ };
1462
+ protoOf(LAB).q1i = function () {
1463
+ return this.f1j_1 === 0.0 ? Companion_getInstance_4().k1k(0.0, 0.0, 0.0, this.i1j_1) : this.x1i().q1i();
1464
+ };
1465
+ protoOf(LAB).x1i = function () {
1466
+ var xyzSpace = XYZColorSpace_0(this.j1j_1.m1j());
1467
+ if (this.f1j_1 === 0.0)
1468
+ return xyzSpace.i1n(0.0, 0.0, 0.0);
1469
+ var fy = (this.f1j_1 + 16) / 116.0;
1470
+ var fz = fy - this.h1j_1 / 200.0;
1471
+ var fx = this.g1j_1 / 500.0 + fy;
1503
1472
  var tmp;
1504
- if (this.n1h_1 > get_CIE_E_times_K()) {
1473
+ if (this.f1j_1 > get_CIE_E_times_K()) {
1505
1474
  // Inline function 'kotlin.math.pow' call
1506
- tmp = Math.pow(fy, 3.0);
1475
+ tmp = Math.pow(fy, 3);
1507
1476
  } else {
1508
- tmp = this.n1h_1 / get_CIE_K();
1477
+ tmp = this.f1j_1 / get_CIE_K();
1509
1478
  }
1510
1479
  var yr = tmp;
1511
1480
  // Inline function 'kotlin.let' call
1512
1481
  // Inline function 'kotlin.math.pow' call
1513
- var tmp0_let = Math.pow(fz, 3.0);
1514
1482
  // Inline function 'kotlin.contracts.contract' call
1515
1483
  // Inline function 'com.github.ajalt.colormath.model.LAB.toXYZ.<anonymous>' call
1516
- var zr = tmp0_let > get_CIE_E() ? tmp0_let : (116 * fz - 16) / get_CIE_K();
1484
+ var it = Math.pow(fz, 3);
1485
+ var zr = it > get_CIE_E() ? it : (116 * fz - 16) / get_CIE_K();
1517
1486
  // Inline function 'kotlin.let' call
1518
1487
  // Inline function 'kotlin.math.pow' call
1519
- var tmp1_let = Math.pow(fx, 3.0);
1520
1488
  // Inline function 'kotlin.contracts.contract' call
1521
1489
  // Inline function 'com.github.ajalt.colormath.model.LAB.toXYZ.<anonymous>' call
1522
- var xr = tmp1_let > get_CIE_E() ? tmp1_let : (116 * fx - 16) / get_CIE_K();
1523
- var wp = this.r1h_1.u1h().d1k_1;
1524
- return xyzSpace.p1l(xr * wp.u1l(), yr * wp.t1l_1, zr * wp.v1l(), this.q1h_1);
1490
+ var it_0 = Math.pow(fx, 3);
1491
+ var xr = it_0 > get_CIE_E() ? it_0 : (116 * fx - 16) / get_CIE_K();
1492
+ var wp = this.j1j_1.m1j().w1l_1;
1493
+ return xyzSpace.h1n(xr * wp.m1n(), yr * wp.l1n_1, zr * wp.n1n(), this.i1j_1);
1525
1494
  };
1526
- protoOf(LAB).m1h = function () {
1495
+ protoOf(LAB).e1j = function () {
1527
1496
  // Inline function 'com.github.ajalt.colormath.internal.toPolarModel' call
1528
- var tmp0_toPolarModel = this.o1h_1;
1529
- var tmp1_toPolarModel = this.p1h_1;
1497
+ var a = this.g1j_1;
1498
+ var b = this.h1j_1;
1530
1499
  // Inline function 'kotlin.math.sqrt' call
1531
- var tmp0_sqrt = tmp0_toPolarModel * tmp0_toPolarModel + tmp1_toPolarModel * tmp1_toPolarModel;
1532
- var c = Math.sqrt(tmp0_sqrt);
1500
+ var x = a * a + b * b;
1501
+ var c = Math.sqrt(x);
1533
1502
  var tmp;
1534
1503
  if (c > -1.0E-7 ? c < 1.0E-7 : false) {
1535
- FloatCompanionObject_getInstance();
1536
1504
  tmp = NaN;
1537
1505
  } else {
1538
- var tmp$ret$1;
1539
1506
  // Inline function 'kotlin.math.atan2' call
1540
- tmp$ret$1 = Math.atan2(tmp1_toPolarModel, tmp0_toPolarModel);
1507
+ var tmp$ret$1 = Math.atan2(b, a);
1541
1508
  tmp = radToDeg(tmp$ret$1);
1542
1509
  }
1543
1510
  var h = tmp;
1544
1511
  // Inline function 'com.github.ajalt.colormath.model.LAB.toLCHab.<anonymous>' call
1545
- var tmp2_anonymous = normalizeDeg_0(h);
1546
- return LCHabColorSpace(this.r1h_1.u1h()).r1i(this.n1h_1, c, tmp2_anonymous, this.q1h_1);
1512
+ var h_0 = normalizeDeg_0(h);
1513
+ return LCHabColorSpace(this.j1j_1.m1j()).k1k(this.f1j_1, c, h_0, this.i1j_1);
1547
1514
  };
1548
- protoOf(LAB).g1h = function () {
1515
+ protoOf(LAB).y1i = function () {
1549
1516
  return this;
1550
1517
  };
1551
- protoOf(LAB).a3 = function () {
1518
+ protoOf(LAB).y2 = function () {
1552
1519
  // Inline function 'kotlin.floatArrayOf' call
1553
- return new Float32Array([this.n1h_1, this.o1h_1, this.p1h_1, this.q1h_1]);
1520
+ return new Float32Array([this.f1j_1, this.g1j_1, this.h1j_1, this.i1j_1]);
1554
1521
  };
1555
1522
  protoOf(LAB).toString = function () {
1556
- return 'LAB(l=' + this.n1h_1 + ', a=' + this.o1h_1 + ', b=' + this.p1h_1 + ', alpha=' + this.q1h_1 + ', space=' + this.r1h_1 + ')';
1523
+ return 'LAB(l=' + this.f1j_1 + ', a=' + this.g1j_1 + ', b=' + this.h1j_1 + ', alpha=' + this.i1j_1 + ', space=' + this.j1j_1 + ')';
1557
1524
  };
1558
1525
  protoOf(LAB).hashCode = function () {
1559
- var result = getNumberHashCode(this.n1h_1);
1560
- result = imul(result, 31) + getNumberHashCode(this.o1h_1) | 0;
1561
- result = imul(result, 31) + getNumberHashCode(this.p1h_1) | 0;
1562
- result = imul(result, 31) + getNumberHashCode(this.q1h_1) | 0;
1563
- result = imul(result, 31) + hashCode(this.r1h_1) | 0;
1526
+ var result = getNumberHashCode(this.f1j_1);
1527
+ result = imul(result, 31) + getNumberHashCode(this.g1j_1) | 0;
1528
+ result = imul(result, 31) + getNumberHashCode(this.h1j_1) | 0;
1529
+ result = imul(result, 31) + getNumberHashCode(this.i1j_1) | 0;
1530
+ result = imul(result, 31) + hashCode(this.j1j_1) | 0;
1564
1531
  return result;
1565
1532
  };
1566
1533
  protoOf(LAB).equals = function (other) {
@@ -1569,27 +1536,27 @@
1569
1536
  if (!(other instanceof LAB))
1570
1537
  return false;
1571
1538
  var tmp0_other_with_cast = other instanceof LAB ? other : THROW_CCE();
1572
- if (!equals(this.n1h_1, tmp0_other_with_cast.n1h_1))
1539
+ if (!equals(this.f1j_1, tmp0_other_with_cast.f1j_1))
1573
1540
  return false;
1574
- if (!equals(this.o1h_1, tmp0_other_with_cast.o1h_1))
1541
+ if (!equals(this.g1j_1, tmp0_other_with_cast.g1j_1))
1575
1542
  return false;
1576
- if (!equals(this.p1h_1, tmp0_other_with_cast.p1h_1))
1543
+ if (!equals(this.h1j_1, tmp0_other_with_cast.h1j_1))
1577
1544
  return false;
1578
- if (!equals(this.q1h_1, tmp0_other_with_cast.q1h_1))
1545
+ if (!equals(this.i1j_1, tmp0_other_with_cast.i1j_1))
1579
1546
  return false;
1580
- if (!equals(this.r1h_1, tmp0_other_with_cast.r1h_1))
1547
+ if (!equals(this.j1j_1, tmp0_other_with_cast.j1j_1))
1581
1548
  return false;
1582
1549
  return true;
1583
1550
  };
1584
1551
  function LABColorSpace() {
1585
1552
  }
1586
1553
  function LABColorSpace_0(whitePoint) {
1587
- return whitePoint.equals(Illuminant_getInstance().j1k_1) ? LABColorSpaces_getInstance().l1j_1 : whitePoint.equals(Illuminant_getInstance().h1k_1) ? LABColorSpaces_getInstance().m1j_1 : new LABColorSpaceImpl(whitePoint);
1554
+ return whitePoint.equals(Illuminant_getInstance().c1m_1) ? LABColorSpaces_getInstance().e1l_1 : whitePoint.equals(Illuminant_getInstance().a1m_1) ? LABColorSpaces_getInstance().f1l_1 : new LABColorSpaceImpl(whitePoint);
1588
1555
  }
1589
1556
  function LABColorSpaces() {
1590
1557
  LABColorSpaces_instance = this;
1591
- this.l1j_1 = new LABColorSpaceImpl(Illuminant_getInstance().j1k_1);
1592
- this.m1j_1 = new LABColorSpaceImpl(Illuminant_getInstance().h1k_1);
1558
+ this.e1l_1 = new LABColorSpaceImpl(Illuminant_getInstance().c1m_1);
1559
+ this.f1l_1 = new LABColorSpaceImpl(Illuminant_getInstance().a1m_1);
1593
1560
  }
1594
1561
  var LABColorSpaces_instance;
1595
1562
  function LABColorSpaces_getInstance() {
@@ -1598,37 +1565,37 @@
1598
1565
  return LABColorSpaces_instance;
1599
1566
  }
1600
1567
  function LABColorSpaceImpl(whitePoint) {
1601
- this.w1l_1 = whitePoint;
1602
- this.x1l_1 = rectangularComponentInfo('LAB');
1568
+ this.o1n_1 = whitePoint;
1569
+ this.p1n_1 = rectangularComponentInfo('LAB');
1603
1570
  }
1604
- protoOf(LABColorSpaceImpl).u1h = function () {
1605
- return this.w1l_1;
1571
+ protoOf(LABColorSpaceImpl).m1j = function () {
1572
+ return this.o1n_1;
1606
1573
  };
1607
- protoOf(LABColorSpaceImpl).ee = function () {
1574
+ protoOf(LABColorSpaceImpl).ka = function () {
1608
1575
  return 'LAB';
1609
1576
  };
1610
- protoOf(LABColorSpaceImpl).p1k = function () {
1611
- return this.x1l_1;
1577
+ protoOf(LABColorSpaceImpl).n1j = function () {
1578
+ return this.p1n_1;
1612
1579
  };
1613
- protoOf(LABColorSpaceImpl).t1h = function (color) {
1580
+ protoOf(LABColorSpaceImpl).l1j = function (color) {
1614
1581
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1615
1582
  var tmp;
1616
- var tmp_0 = color.x1g();
1583
+ var tmp_0 = color.p1i();
1617
1584
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1618
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u1h();
1619
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().j1k_1 : tmp1_elvis_lhs).equals(this.u1h())) {
1585
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m1j();
1586
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().c1m_1 : tmp1_elvis_lhs).equals(this.m1j())) {
1620
1587
  // Inline function 'com.github.ajalt.colormath.model.LABColorSpaceImpl.convert.<anonymous>' call
1621
- tmp = color.g1h();
1588
+ tmp = color.y1i();
1622
1589
  } else {
1623
1590
  // Inline function 'com.github.ajalt.colormath.model.LABColorSpaceImpl.convert.<anonymous>' call
1624
- tmp = color.f1h().i1j(XYZColorSpace_0(this.u1h())).g1h();
1591
+ tmp = color.x1i().b1l(XYZColorSpace_0(this.m1j())).y1i();
1625
1592
  }
1626
1593
  return tmp;
1627
1594
  };
1628
- protoOf(LABColorSpaceImpl).v1h = function (components) {
1595
+ protoOf(LABColorSpaceImpl).o1j = function (components) {
1629
1596
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
1630
1597
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
1631
- var size = this.p1k().i();
1598
+ var size = this.n1j().l();
1632
1599
  // Inline function 'kotlin.require' call
1633
1600
  var containsLower = size - 1 | 0;
1634
1601
  var containsArg = components.length;
@@ -1642,26 +1609,25 @@
1642
1609
  var tmp = components[0];
1643
1610
  var tmp_0 = components[1];
1644
1611
  var tmp_1 = components[2];
1645
- var tmp$ret$2;
1646
1612
  // Inline function 'kotlin.collections.getOrElse' call
1647
1613
  var tmp_2;
1648
- if (3 <= get_lastIndex_0(components)) {
1614
+ if (3 >= 0 ? 3 <= get_lastIndex_0(components) : false) {
1649
1615
  tmp_2 = components[3];
1650
1616
  } else {
1651
1617
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
1652
1618
  tmp_2 = 1.0;
1653
1619
  }
1654
- tmp$ret$2 = tmp_2;
1655
- return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
1620
+ var tmp$ret$2 = tmp_2;
1621
+ return this.k1k(tmp, tmp_0, tmp_1, tmp$ret$2);
1656
1622
  };
1657
1623
  protoOf(LABColorSpaceImpl).toString = function () {
1658
- return 'LABColorSpace(' + this.w1l_1 + ')';
1624
+ return 'LABColorSpace(' + this.o1n_1 + ')';
1659
1625
  };
1660
- protoOf(LABColorSpaceImpl).r1i = function (l, a, b, alpha) {
1626
+ protoOf(LABColorSpaceImpl).k1k = function (l, a, b, alpha) {
1661
1627
  return new LAB(l, a, b, alpha, this);
1662
1628
  };
1663
1629
  protoOf(LABColorSpaceImpl).hashCode = function () {
1664
- return this.w1l_1.hashCode();
1630
+ return this.o1n_1.hashCode();
1665
1631
  };
1666
1632
  protoOf(LABColorSpaceImpl).equals = function (other) {
1667
1633
  if (this === other)
@@ -1669,89 +1635,89 @@
1669
1635
  if (!(other instanceof LABColorSpaceImpl))
1670
1636
  return false;
1671
1637
  var tmp0_other_with_cast = other instanceof LABColorSpaceImpl ? other : THROW_CCE();
1672
- if (!this.w1l_1.equals(tmp0_other_with_cast.w1l_1))
1638
+ if (!this.o1n_1.equals(tmp0_other_with_cast.o1n_1))
1673
1639
  return false;
1674
1640
  return true;
1675
1641
  };
1676
1642
  function Companion_3() {
1677
- Companion_instance_3 = this;
1678
- this.t1i_1 = LCHabColorSpaces_getInstance().j1j_1;
1643
+ Companion_instance_4 = this;
1644
+ this.m1k_1 = LCHabColorSpaces_getInstance().c1l_1;
1679
1645
  }
1680
- protoOf(Companion_3).p1k = function () {
1681
- return this.t1i_1.p1k();
1646
+ protoOf(Companion_3).n1j = function () {
1647
+ return this.m1k_1.n1j();
1682
1648
  };
1683
- protoOf(Companion_3).ee = function () {
1684
- return this.t1i_1.ee();
1649
+ protoOf(Companion_3).ka = function () {
1650
+ return this.m1k_1.ka();
1685
1651
  };
1686
- protoOf(Companion_3).u1h = function () {
1687
- return this.t1i_1.u1h();
1652
+ protoOf(Companion_3).m1j = function () {
1653
+ return this.m1k_1.m1j();
1688
1654
  };
1689
- protoOf(Companion_3).t1h = function (color) {
1690
- return this.t1i_1.t1h(color);
1655
+ protoOf(Companion_3).l1j = function (color) {
1656
+ return this.m1k_1.l1j(color);
1691
1657
  };
1692
- protoOf(Companion_3).v1h = function (components) {
1693
- return this.t1i_1.v1h(components);
1658
+ protoOf(Companion_3).o1j = function (components) {
1659
+ return this.m1k_1.o1j(components);
1694
1660
  };
1695
- protoOf(Companion_3).r1i = function (l, c, h, alpha) {
1696
- return this.t1i_1.r1i(l, c, h, alpha);
1661
+ protoOf(Companion_3).k1k = function (l, c, h, alpha) {
1662
+ return this.m1k_1.k1k(l, c, h, alpha);
1697
1663
  };
1698
- var Companion_instance_3;
1699
- function Companion_getInstance_4() {
1700
- if (Companion_instance_3 == null)
1664
+ var Companion_instance_4;
1665
+ function Companion_getInstance_3() {
1666
+ if (Companion_instance_4 == null)
1701
1667
  new Companion_3();
1702
- return Companion_instance_3;
1668
+ return Companion_instance_4;
1703
1669
  }
1704
1670
  function LCHab(l, c, h, alpha, space) {
1705
- Companion_getInstance_4();
1706
- this.s1j_1 = l;
1707
- this.t1j_1 = c;
1708
- this.u1j_1 = h;
1709
- this.v1j_1 = alpha;
1710
- this.w1j_1 = space;
1671
+ Companion_getInstance_3();
1672
+ this.l1l_1 = l;
1673
+ this.m1l_1 = c;
1674
+ this.n1l_1 = h;
1675
+ this.o1l_1 = alpha;
1676
+ this.p1l_1 = space;
1711
1677
  }
1712
- protoOf(LCHab).b1k = function () {
1713
- return this.u1j_1;
1678
+ protoOf(LCHab).u1l = function () {
1679
+ return this.n1l_1;
1714
1680
  };
1715
- protoOf(LCHab).w1g = function () {
1716
- return this.v1j_1;
1681
+ protoOf(LCHab).o1i = function () {
1682
+ return this.o1l_1;
1717
1683
  };
1718
- protoOf(LCHab).x1g = function () {
1719
- return this.w1j_1;
1684
+ protoOf(LCHab).p1i = function () {
1685
+ return this.p1l_1;
1720
1686
  };
1721
- protoOf(LCHab).y1g = function () {
1722
- return this.g1h().y1g();
1687
+ protoOf(LCHab).q1i = function () {
1688
+ return this.y1i().q1i();
1723
1689
  };
1724
- protoOf(LCHab).f1h = function () {
1725
- return this.g1h().f1h();
1690
+ protoOf(LCHab).x1i = function () {
1691
+ return this.y1i().x1i();
1726
1692
  };
1727
- protoOf(LCHab).g1h = function () {
1693
+ protoOf(LCHab).y1i = function () {
1728
1694
  // Inline function 'com.github.ajalt.colormath.internal.fromPolarModel' call
1729
- var tmp0_fromPolarModel = this.t1j_1;
1730
- var tmp1_fromPolarModel = this.u1j_1;
1731
- var hDegrees = isNaN_0(tmp1_fromPolarModel) ? 0.0 : degToRad(tmp1_fromPolarModel);
1695
+ var c = this.m1l_1;
1696
+ var h = this.n1l_1;
1697
+ var hDegrees = isNaN_0(h) ? 0.0 : degToRad(h);
1732
1698
  // Inline function 'kotlin.math.cos' call
1733
- var a = tmp0_fromPolarModel * Math.cos(hDegrees);
1699
+ var a = c * Math.cos(hDegrees);
1734
1700
  // Inline function 'kotlin.math.sin' call
1735
- var b = tmp0_fromPolarModel * Math.sin(hDegrees);
1701
+ var b = c * Math.sin(hDegrees);
1736
1702
  // Inline function 'com.github.ajalt.colormath.model.LCHab.toLAB.<anonymous>' call
1737
- return LABColorSpace_0(this.w1j_1.u1h()).r1i(this.s1j_1, a, b, this.v1j_1);
1703
+ return LABColorSpace_0(this.p1l_1.m1j()).k1k(this.l1l_1, a, b, this.o1l_1);
1738
1704
  };
1739
- protoOf(LCHab).m1h = function () {
1705
+ protoOf(LCHab).e1j = function () {
1740
1706
  return this;
1741
1707
  };
1742
- protoOf(LCHab).a3 = function () {
1708
+ protoOf(LCHab).y2 = function () {
1743
1709
  // Inline function 'kotlin.floatArrayOf' call
1744
- return new Float32Array([this.s1j_1, this.t1j_1, this.u1j_1, this.v1j_1]);
1710
+ return new Float32Array([this.l1l_1, this.m1l_1, this.n1l_1, this.o1l_1]);
1745
1711
  };
1746
1712
  protoOf(LCHab).toString = function () {
1747
- return 'LCHab(l=' + this.s1j_1 + ', c=' + this.t1j_1 + ', h=' + this.u1j_1 + ', alpha=' + this.v1j_1 + ', space=' + this.w1j_1 + ')';
1713
+ return 'LCHab(l=' + this.l1l_1 + ', c=' + this.m1l_1 + ', h=' + this.n1l_1 + ', alpha=' + this.o1l_1 + ', space=' + this.p1l_1 + ')';
1748
1714
  };
1749
1715
  protoOf(LCHab).hashCode = function () {
1750
- var result = getNumberHashCode(this.s1j_1);
1751
- result = imul(result, 31) + getNumberHashCode(this.t1j_1) | 0;
1752
- result = imul(result, 31) + getNumberHashCode(this.u1j_1) | 0;
1753
- result = imul(result, 31) + getNumberHashCode(this.v1j_1) | 0;
1754
- result = imul(result, 31) + hashCode(this.w1j_1) | 0;
1716
+ var result = getNumberHashCode(this.l1l_1);
1717
+ result = imul(result, 31) + getNumberHashCode(this.m1l_1) | 0;
1718
+ result = imul(result, 31) + getNumberHashCode(this.n1l_1) | 0;
1719
+ result = imul(result, 31) + getNumberHashCode(this.o1l_1) | 0;
1720
+ result = imul(result, 31) + hashCode(this.p1l_1) | 0;
1755
1721
  return result;
1756
1722
  };
1757
1723
  protoOf(LCHab).equals = function (other) {
@@ -1760,25 +1726,25 @@
1760
1726
  if (!(other instanceof LCHab))
1761
1727
  return false;
1762
1728
  var tmp0_other_with_cast = other instanceof LCHab ? other : THROW_CCE();
1763
- if (!equals(this.s1j_1, tmp0_other_with_cast.s1j_1))
1729
+ if (!equals(this.l1l_1, tmp0_other_with_cast.l1l_1))
1764
1730
  return false;
1765
- if (!equals(this.t1j_1, tmp0_other_with_cast.t1j_1))
1731
+ if (!equals(this.m1l_1, tmp0_other_with_cast.m1l_1))
1766
1732
  return false;
1767
- if (!equals(this.u1j_1, tmp0_other_with_cast.u1j_1))
1733
+ if (!equals(this.n1l_1, tmp0_other_with_cast.n1l_1))
1768
1734
  return false;
1769
- if (!equals(this.v1j_1, tmp0_other_with_cast.v1j_1))
1735
+ if (!equals(this.o1l_1, tmp0_other_with_cast.o1l_1))
1770
1736
  return false;
1771
- if (!equals(this.w1j_1, tmp0_other_with_cast.w1j_1))
1737
+ if (!equals(this.p1l_1, tmp0_other_with_cast.p1l_1))
1772
1738
  return false;
1773
1739
  return true;
1774
1740
  };
1775
1741
  function LCHabColorSpace(whitePoint) {
1776
- return whitePoint.equals(Illuminant_getInstance().j1k_1) ? LCHabColorSpaces_getInstance().j1j_1 : whitePoint.equals(Illuminant_getInstance().h1k_1) ? LCHabColorSpaces_getInstance().k1j_1 : new LCHabColorSpaceImpl(whitePoint);
1742
+ return whitePoint.equals(Illuminant_getInstance().c1m_1) ? LCHabColorSpaces_getInstance().c1l_1 : whitePoint.equals(Illuminant_getInstance().a1m_1) ? LCHabColorSpaces_getInstance().d1l_1 : new LCHabColorSpaceImpl(whitePoint);
1777
1743
  }
1778
1744
  function LCHabColorSpaces() {
1779
1745
  LCHabColorSpaces_instance = this;
1780
- this.j1j_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().j1k_1);
1781
- this.k1j_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().h1k_1);
1746
+ this.c1l_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().c1m_1);
1747
+ this.d1l_1 = new LCHabColorSpaceImpl(Illuminant_getInstance().a1m_1);
1782
1748
  }
1783
1749
  var LCHabColorSpaces_instance;
1784
1750
  function LCHabColorSpaces_getInstance() {
@@ -1787,37 +1753,37 @@
1787
1753
  return LCHabColorSpaces_instance;
1788
1754
  }
1789
1755
  function LCHabColorSpaceImpl(whitePoint) {
1790
- this.y1l_1 = whitePoint;
1791
- this.z1l_1 = polarComponentInfo('LCH');
1756
+ this.q1n_1 = whitePoint;
1757
+ this.r1n_1 = polarComponentInfo('LCH');
1792
1758
  }
1793
- protoOf(LCHabColorSpaceImpl).u1h = function () {
1794
- return this.y1l_1;
1759
+ protoOf(LCHabColorSpaceImpl).m1j = function () {
1760
+ return this.q1n_1;
1795
1761
  };
1796
- protoOf(LCHabColorSpaceImpl).ee = function () {
1762
+ protoOf(LCHabColorSpaceImpl).ka = function () {
1797
1763
  return 'LCHab';
1798
1764
  };
1799
- protoOf(LCHabColorSpaceImpl).p1k = function () {
1800
- return this.z1l_1;
1765
+ protoOf(LCHabColorSpaceImpl).n1j = function () {
1766
+ return this.r1n_1;
1801
1767
  };
1802
- protoOf(LCHabColorSpaceImpl).t1h = function (color) {
1768
+ protoOf(LCHabColorSpaceImpl).l1j = function (color) {
1803
1769
  // Inline function 'com.github.ajalt.colormath.internal.adaptToThis' call
1804
1770
  var tmp;
1805
- var tmp_0 = color.x1g();
1771
+ var tmp_0 = color.p1i();
1806
1772
  var tmp0_safe_receiver = isInterface(tmp_0, WhitePointColorSpace) ? tmp_0 : null;
1807
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u1h();
1808
- if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().j1k_1 : tmp1_elvis_lhs).equals(this.u1h())) {
1773
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m1j();
1774
+ if ((tmp1_elvis_lhs == null ? Illuminant_getInstance().c1m_1 : tmp1_elvis_lhs).equals(this.m1j())) {
1809
1775
  // Inline function 'com.github.ajalt.colormath.model.LCHabColorSpaceImpl.convert.<anonymous>' call
1810
- tmp = color.m1h();
1776
+ tmp = color.e1j();
1811
1777
  } else {
1812
1778
  // Inline function 'com.github.ajalt.colormath.model.LCHabColorSpaceImpl.convert.<anonymous>' call
1813
- tmp = color.f1h().i1j(XYZColorSpace_0(this.u1h())).m1h();
1779
+ tmp = color.x1i().b1l(XYZColorSpace_0(this.m1j())).e1j();
1814
1780
  }
1815
1781
  return tmp;
1816
1782
  };
1817
- protoOf(LCHabColorSpaceImpl).v1h = function (components) {
1783
+ protoOf(LCHabColorSpaceImpl).o1j = function (components) {
1818
1784
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
1819
1785
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
1820
- var size = this.p1k().i();
1786
+ var size = this.n1j().l();
1821
1787
  // Inline function 'kotlin.require' call
1822
1788
  var containsLower = size - 1 | 0;
1823
1789
  var containsArg = components.length;
@@ -1831,26 +1797,25 @@
1831
1797
  var tmp = components[0];
1832
1798
  var tmp_0 = components[1];
1833
1799
  var tmp_1 = components[2];
1834
- var tmp$ret$2;
1835
1800
  // Inline function 'kotlin.collections.getOrElse' call
1836
1801
  var tmp_2;
1837
- if (3 <= get_lastIndex_0(components)) {
1802
+ if (3 >= 0 ? 3 <= get_lastIndex_0(components) : false) {
1838
1803
  tmp_2 = components[3];
1839
1804
  } else {
1840
1805
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
1841
1806
  tmp_2 = 1.0;
1842
1807
  }
1843
- tmp$ret$2 = tmp_2;
1844
- return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
1808
+ var tmp$ret$2 = tmp_2;
1809
+ return this.k1k(tmp, tmp_0, tmp_1, tmp$ret$2);
1845
1810
  };
1846
1811
  protoOf(LCHabColorSpaceImpl).toString = function () {
1847
- return 'LCHabColorSpace(' + this.y1l_1 + ')';
1812
+ return 'LCHabColorSpace(' + this.q1n_1 + ')';
1848
1813
  };
1849
- protoOf(LCHabColorSpaceImpl).r1i = function (l, c, h, alpha) {
1814
+ protoOf(LCHabColorSpaceImpl).k1k = function (l, c, h, alpha) {
1850
1815
  return new LCHab(l, c, h, alpha, this);
1851
1816
  };
1852
1817
  protoOf(LCHabColorSpaceImpl).hashCode = function () {
1853
- return this.y1l_1.hashCode();
1818
+ return this.q1n_1.hashCode();
1854
1819
  };
1855
1820
  protoOf(LCHabColorSpaceImpl).equals = function (other) {
1856
1821
  if (this === other)
@@ -1858,24 +1823,24 @@
1858
1823
  if (!(other instanceof LCHabColorSpaceImpl))
1859
1824
  return false;
1860
1825
  var tmp0_other_with_cast = other instanceof LCHabColorSpaceImpl ? other : THROW_CCE();
1861
- if (!this.y1l_1.equals(tmp0_other_with_cast.y1l_1))
1826
+ if (!this.q1n_1.equals(tmp0_other_with_cast.q1n_1))
1862
1827
  return false;
1863
1828
  return true;
1864
1829
  };
1865
1830
  function GammaTransferFunctions(gamma) {
1866
- this.a1m_1 = gamma;
1831
+ this.s1n_1 = gamma;
1867
1832
  }
1868
- protoOf(GammaTransferFunctions).n1l = function (x) {
1869
- return spow(x, this.a1m_1);
1833
+ protoOf(GammaTransferFunctions).f1n = function (x) {
1834
+ return spow(x, this.s1n_1);
1870
1835
  };
1871
- protoOf(GammaTransferFunctions).o1l = function (x) {
1872
- return spow(x, 1.0 / this.a1m_1);
1836
+ protoOf(GammaTransferFunctions).g1n = function (x) {
1837
+ return spow(x, 1.0 / this.s1n_1);
1873
1838
  };
1874
1839
  protoOf(GammaTransferFunctions).toString = function () {
1875
- return 'GammaTransferFunctions(gamma=' + this.a1m_1 + ')';
1840
+ return 'GammaTransferFunctions(gamma=' + this.s1n_1 + ')';
1876
1841
  };
1877
1842
  protoOf(GammaTransferFunctions).hashCode = function () {
1878
- return getNumberHashCode(this.a1m_1);
1843
+ return getNumberHashCode(this.s1n_1);
1879
1844
  };
1880
1845
  protoOf(GammaTransferFunctions).equals = function (other) {
1881
1846
  if (this === other)
@@ -1883,106 +1848,103 @@
1883
1848
  if (!(other instanceof GammaTransferFunctions))
1884
1849
  return false;
1885
1850
  var tmp0_other_with_cast = other instanceof GammaTransferFunctions ? other : THROW_CCE();
1886
- if (!equals(this.a1m_1, tmp0_other_with_cast.a1m_1))
1851
+ if (!equals(this.s1n_1, tmp0_other_with_cast.s1n_1))
1887
1852
  return false;
1888
1853
  return true;
1889
1854
  };
1890
1855
  function LinearTransferFunctions() {
1891
- LinearTransferFunctions_instance = this;
1892
1856
  }
1893
- protoOf(LinearTransferFunctions).n1l = function (x) {
1857
+ protoOf(LinearTransferFunctions).f1n = function (x) {
1894
1858
  return x;
1895
1859
  };
1896
- protoOf(LinearTransferFunctions).o1l = function (x) {
1860
+ protoOf(LinearTransferFunctions).g1n = function (x) {
1897
1861
  return x;
1898
1862
  };
1899
1863
  var LinearTransferFunctions_instance;
1900
1864
  function LinearTransferFunctions_getInstance() {
1901
- if (LinearTransferFunctions_instance == null)
1902
- new LinearTransferFunctions();
1903
1865
  return LinearTransferFunctions_instance;
1904
1866
  }
1905
1867
  function RGBColorSpace() {
1906
1868
  }
1907
1869
  function Companion_4() {
1908
- Companion_instance_4 = this;
1909
- this.p1i_1 = RGBColorSpaces_getInstance().u1i_1;
1870
+ Companion_instance_5 = this;
1871
+ this.i1k_1 = RGBColorSpaces_getInstance().n1k_1;
1910
1872
  }
1911
- protoOf(Companion_4).p1k = function () {
1912
- return this.p1i_1.p1k();
1873
+ protoOf(Companion_4).n1j = function () {
1874
+ return this.i1k_1.n1j();
1913
1875
  };
1914
- protoOf(Companion_4).c1m = function () {
1915
- return this.p1i_1.c1m();
1876
+ protoOf(Companion_4).u1n = function () {
1877
+ return this.i1k_1.u1n();
1916
1878
  };
1917
- protoOf(Companion_4).b1m = function () {
1918
- return this.p1i_1.b1m();
1879
+ protoOf(Companion_4).t1n = function () {
1880
+ return this.i1k_1.t1n();
1919
1881
  };
1920
- protoOf(Companion_4).ee = function () {
1921
- return this.p1i_1.ee();
1882
+ protoOf(Companion_4).ka = function () {
1883
+ return this.i1k_1.ka();
1922
1884
  };
1923
- protoOf(Companion_4).e1l = function () {
1924
- return this.p1i_1.e1l();
1885
+ protoOf(Companion_4).w1m = function () {
1886
+ return this.i1k_1.w1m();
1925
1887
  };
1926
- protoOf(Companion_4).u1h = function () {
1927
- return this.p1i_1.u1h();
1888
+ protoOf(Companion_4).m1j = function () {
1889
+ return this.i1k_1.m1j();
1928
1890
  };
1929
- protoOf(Companion_4).t1h = function (color) {
1930
- return this.p1i_1.t1h(color);
1891
+ protoOf(Companion_4).l1j = function (color) {
1892
+ return this.i1k_1.l1j(color);
1931
1893
  };
1932
- protoOf(Companion_4).v1h = function (components) {
1933
- return this.p1i_1.v1h(components);
1894
+ protoOf(Companion_4).o1j = function (components) {
1895
+ return this.i1k_1.o1j(components);
1934
1896
  };
1935
- protoOf(Companion_4).n1k = function (r, g, b, alpha) {
1936
- return this.p1i_1.n1k(r, g, b, alpha);
1897
+ protoOf(Companion_4).g1m = function (r, g, b, alpha) {
1898
+ return this.i1k_1.g1m(r, g, b, alpha);
1937
1899
  };
1938
- protoOf(Companion_4).r1i = function (r, g, b, alpha) {
1939
- return this.p1i_1.r1i(r, g, b, alpha);
1900
+ protoOf(Companion_4).k1k = function (r, g, b, alpha) {
1901
+ return this.i1k_1.k1k(r, g, b, alpha);
1940
1902
  };
1941
- protoOf(Companion_4).p1l = function (r, g, b, alpha) {
1942
- return this.p1i_1.p1l(r, g, b, alpha);
1903
+ protoOf(Companion_4).h1n = function (r, g, b, alpha) {
1904
+ return this.i1k_1.h1n(r, g, b, alpha);
1943
1905
  };
1944
- protoOf(Companion_4).q1i = function (hex) {
1945
- return this.p1i_1.q1i(hex);
1906
+ protoOf(Companion_4).j1k = function (hex) {
1907
+ return this.i1k_1.j1k(hex);
1946
1908
  };
1947
- var Companion_instance_4;
1948
- function Companion_getInstance_5() {
1949
- if (Companion_instance_4 == null)
1909
+ var Companion_instance_5;
1910
+ function Companion_getInstance_4() {
1911
+ if (Companion_instance_5 == null)
1950
1912
  new Companion_4();
1951
- return Companion_instance_4;
1913
+ return Companion_instance_5;
1952
1914
  }
1953
1915
  function RGB(r, g, b, alpha, space) {
1954
- Companion_getInstance_5();
1955
- this.a1h_1 = r;
1956
- this.b1h_1 = g;
1957
- this.c1h_1 = b;
1958
- this.d1h_1 = alpha;
1959
- this.e1h_1 = space;
1916
+ Companion_getInstance_4();
1917
+ this.s1i_1 = r;
1918
+ this.t1i_1 = g;
1919
+ this.u1i_1 = b;
1920
+ this.v1i_1 = alpha;
1921
+ this.w1i_1 = space;
1960
1922
  }
1961
- protoOf(RGB).w1g = function () {
1962
- return this.d1h_1;
1923
+ protoOf(RGB).o1i = function () {
1924
+ return this.v1i_1;
1963
1925
  };
1964
- protoOf(RGB).x1g = function () {
1965
- return this.e1h_1;
1926
+ protoOf(RGB).p1i = function () {
1927
+ return this.w1i_1;
1966
1928
  };
1967
- protoOf(RGB).n1j = function () {
1929
+ protoOf(RGB).g1l = function () {
1968
1930
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
1969
1931
  // Inline function 'com.github.ajalt.colormath.model.RGB.toRGBInt.<anonymous>' call
1970
- var tmp0_anonymous = this.d1m(SRGB_getInstance());
1971
- return _RGBInt___init__impl__lqova7_1(tmp0_anonymous.a1h_1, tmp0_anonymous.b1h_1, tmp0_anonymous.c1h_1, nanToOne(tmp0_anonymous.d1h_1));
1932
+ var $this$toSRGB = this.v1n(SRGB_getInstance());
1933
+ return _RGBInt___init__impl__lqova7_1($this$toSRGB.s1i_1, $this$toSRGB.t1i_1, $this$toSRGB.u1i_1, nanToOne($this$toSRGB.v1i_1));
1972
1934
  };
1973
- protoOf(RGB).d1m = function (space) {
1974
- var f = SRGB_getInstance().t1k_1;
1975
- return equals(this.e1h_1, space) ? this : (equals(this.e1h_1, SRGB_getInstance()) ? equals(space, RGBColorSpaces_getInstance().v1i_1) : false) ? space.r1i(f.n1l(this.a1h_1), f.n1l(this.b1h_1), f.n1l(this.c1h_1), this.d1h_1) : (equals(this.e1h_1, RGBColorSpaces_getInstance().v1i_1) ? equals(space, SRGB_getInstance()) : false) ? space.r1i(f.o1l(this.a1h_1), f.o1l(this.b1h_1), f.o1l(this.c1h_1), this.d1h_1) : this.f1h().e1m(space);
1935
+ protoOf(RGB).v1n = function (space) {
1936
+ var f = SRGB_getInstance().l1m_1;
1937
+ return equals(this.w1i_1, space) ? this : (equals(this.w1i_1, SRGB_getInstance()) ? equals(space, RGBColorSpaces_getInstance().o1k_1) : false) ? space.k1k(f.f1n(this.s1i_1), f.f1n(this.t1i_1), f.f1n(this.u1i_1), this.v1i_1) : (equals(this.w1i_1, RGBColorSpaces_getInstance().o1k_1) ? equals(space, SRGB_getInstance()) : false) ? space.k1k(f.g1n(this.s1i_1), f.g1n(this.t1i_1), f.g1n(this.u1i_1), this.v1i_1) : this.x1i().w1n(space);
1976
1938
  };
1977
- protoOf(RGB).z1g = function () {
1939
+ protoOf(RGB).r1i = function () {
1978
1940
  var tmp$ret$3;
1979
1941
  $l$block: {
1980
1942
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
1981
1943
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
1982
- var tmp0_anonymous = this.d1m(SRGB_getInstance());
1983
- var r = tmp0_anonymous.a1h_1;
1984
- var g = tmp0_anonymous.b1h_1;
1985
- var b = tmp0_anonymous.c1h_1;
1944
+ var $this$toSRGB = this.v1n(SRGB_getInstance());
1945
+ var r = $this$toSRGB.s1i_1;
1946
+ var g = $this$toSRGB.t1i_1;
1947
+ var b = $this$toSRGB.u1i_1;
1986
1948
  // Inline function 'kotlin.comparisons.minOf' call
1987
1949
  var min = Math.min(r, g, b);
1988
1950
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -1990,7 +1952,6 @@
1990
1952
  var chroma = max - min;
1991
1953
  var tmp;
1992
1954
  if (chroma < 1.0E-7) {
1993
- DoubleCompanionObject_getInstance();
1994
1955
  tmp = NaN;
1995
1956
  } else if (r === max) {
1996
1957
  tmp = (g - b) / chroma;
@@ -2003,36 +1964,36 @@
2003
1964
  }
2004
1965
  var h = tmp * 60;
2005
1966
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHSL.<anonymous>' call
2006
- var tmp0_anonymous_0 = normalizeDeg(h);
1967
+ var h_0 = normalizeDeg(h);
2007
1968
  var l = (min + max) / 2.0;
2008
1969
  var s = max === min ? 0.0 : l <= 0.5 ? chroma / (max + min) : chroma / (2 - max - min);
2009
- tmp$ret$3 = new HSL(tmp0_anonymous_0, s, l, this.d1h_1);
1970
+ tmp$ret$3 = new HSL(h_0, s, l, this.v1i_1);
2010
1971
  break $l$block;
2011
1972
  }
2012
1973
  return tmp$ret$3;
2013
1974
  };
2014
- protoOf(RGB).f1h = function () {
2015
- var f = this.e1h_1.e1l();
1975
+ protoOf(RGB).x1i = function () {
1976
+ var f = this.w1i_1.w1m();
2016
1977
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2017
- var tmp0_dot = _Matrix___init__impl__q3kp4w(this.e1h_1.b1m());
2018
- var tmp1_dot = f.n1l(this.a1h_1);
2019
- var tmp2_dot = f.n1l(this.b1h_1);
2020
- var tmp3_dot = f.n1l(this.c1h_1);
1978
+ var this_0 = _Matrix___init__impl__q3kp4w(this.w1i_1.t1n());
1979
+ var v0 = f.f1n(this.s1i_1);
1980
+ var v1 = f.f1n(this.t1i_1);
1981
+ var v2 = f.f1n(this.u1i_1);
2021
1982
  // Inline function 'com.github.ajalt.colormath.model.RGB.toXYZ.<anonymous>' call
2022
- var tmp4_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * tmp3_dot;
2023
- var tmp5_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * tmp3_dot;
2024
- var tmp6_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * tmp3_dot;
2025
- return XYZColorSpace_0(this.e1h_1.u1h()).r1i(tmp4_anonymous, tmp5_anonymous, tmp6_anonymous, this.d1h_1);
1983
+ 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;
1984
+ 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;
1985
+ 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;
1986
+ return XYZColorSpace_0(this.w1i_1.m1j()).k1k(x, y, z, this.v1i_1);
2026
1987
  };
2027
- protoOf(RGB).s1h = function () {
1988
+ protoOf(RGB).k1j = function () {
2028
1989
  var tmp$ret$3;
2029
1990
  $l$block: {
2030
1991
  // Inline function 'com.github.ajalt.colormath.model.RGB.srgbHueMinMaxChroma' call
2031
1992
  // Inline function 'com.github.ajalt.colormath.model.RGB.toSRGB' call
2032
- var tmp0_anonymous = this.d1m(SRGB_getInstance());
2033
- var r = tmp0_anonymous.a1h_1;
2034
- var g = tmp0_anonymous.b1h_1;
2035
- var b = tmp0_anonymous.c1h_1;
1993
+ var $this$toSRGB = this.v1n(SRGB_getInstance());
1994
+ var r = $this$toSRGB.s1i_1;
1995
+ var g = $this$toSRGB.t1i_1;
1996
+ var b = $this$toSRGB.u1i_1;
2036
1997
  // Inline function 'kotlin.comparisons.minOf' call
2037
1998
  var min = Math.min(r, g, b);
2038
1999
  // Inline function 'kotlin.comparisons.maxOf' call
@@ -2040,7 +2001,6 @@
2040
2001
  var chroma = max - min;
2041
2002
  var tmp;
2042
2003
  if (chroma < 1.0E-7) {
2043
- DoubleCompanionObject_getInstance();
2044
2004
  tmp = NaN;
2045
2005
  } else if (r === max) {
2046
2006
  tmp = (g - b) / chroma;
@@ -2053,28 +2013,28 @@
2053
2013
  }
2054
2014
  var h = tmp * 60;
2055
2015
  // Inline function 'com.github.ajalt.colormath.model.RGB.toHWB.<anonymous>' call
2056
- var tmp0_anonymous_0 = normalizeDeg(h);
2057
- tmp$ret$3 = new HWB(tmp0_anonymous_0, min, 1.0 - max, this.d1h_1);
2016
+ var hue = normalizeDeg(h);
2017
+ tmp$ret$3 = new HWB(hue, min, 1.0 - max, this.v1i_1);
2058
2018
  break $l$block;
2059
2019
  }
2060
2020
  return tmp$ret$3;
2061
2021
  };
2062
- protoOf(RGB).y1g = function () {
2063
- return this.d1m(RGBColorSpaces_getInstance().u1i_1);
2022
+ protoOf(RGB).q1i = function () {
2023
+ return this.v1n(RGBColorSpaces_getInstance().n1k_1);
2064
2024
  };
2065
- protoOf(RGB).a3 = function () {
2025
+ protoOf(RGB).y2 = function () {
2066
2026
  // Inline function 'kotlin.floatArrayOf' call
2067
- return new Float32Array([this.a1h_1, this.b1h_1, this.c1h_1, this.d1h_1]);
2027
+ return new Float32Array([this.s1i_1, this.t1i_1, this.u1i_1, this.v1i_1]);
2068
2028
  };
2069
2029
  protoOf(RGB).toString = function () {
2070
- return 'RGB(r=' + this.a1h_1 + ', g=' + this.b1h_1 + ', b=' + this.c1h_1 + ', alpha=' + this.d1h_1 + ', space=' + this.e1h_1 + ')';
2030
+ return 'RGB(r=' + this.s1i_1 + ', g=' + this.t1i_1 + ', b=' + this.u1i_1 + ', alpha=' + this.v1i_1 + ', space=' + this.w1i_1 + ')';
2071
2031
  };
2072
2032
  protoOf(RGB).hashCode = function () {
2073
- var result = getNumberHashCode(this.a1h_1);
2074
- result = imul(result, 31) + getNumberHashCode(this.b1h_1) | 0;
2075
- result = imul(result, 31) + getNumberHashCode(this.c1h_1) | 0;
2076
- result = imul(result, 31) + getNumberHashCode(this.d1h_1) | 0;
2077
- result = imul(result, 31) + hashCode(this.e1h_1) | 0;
2033
+ var result = getNumberHashCode(this.s1i_1);
2034
+ result = imul(result, 31) + getNumberHashCode(this.t1i_1) | 0;
2035
+ result = imul(result, 31) + getNumberHashCode(this.u1i_1) | 0;
2036
+ result = imul(result, 31) + getNumberHashCode(this.v1i_1) | 0;
2037
+ result = imul(result, 31) + hashCode(this.w1i_1) | 0;
2078
2038
  return result;
2079
2039
  };
2080
2040
  protoOf(RGB).equals = function (other) {
@@ -2083,15 +2043,15 @@
2083
2043
  if (!(other instanceof RGB))
2084
2044
  return false;
2085
2045
  var tmp0_other_with_cast = other instanceof RGB ? other : THROW_CCE();
2086
- if (!equals(this.a1h_1, tmp0_other_with_cast.a1h_1))
2046
+ if (!equals(this.s1i_1, tmp0_other_with_cast.s1i_1))
2087
2047
  return false;
2088
- if (!equals(this.b1h_1, tmp0_other_with_cast.b1h_1))
2048
+ if (!equals(this.t1i_1, tmp0_other_with_cast.t1i_1))
2089
2049
  return false;
2090
- if (!equals(this.c1h_1, tmp0_other_with_cast.c1h_1))
2050
+ if (!equals(this.u1i_1, tmp0_other_with_cast.u1i_1))
2091
2051
  return false;
2092
- if (!equals(this.d1h_1, tmp0_other_with_cast.d1h_1))
2052
+ if (!equals(this.v1i_1, tmp0_other_with_cast.v1i_1))
2093
2053
  return false;
2094
- if (!equals(this.e1h_1, tmp0_other_with_cast.e1h_1))
2054
+ if (!equals(this.w1i_1, tmp0_other_with_cast.w1i_1))
2095
2055
  return false;
2096
2056
  return true;
2097
2057
  };
@@ -2102,12 +2062,11 @@
2102
2062
  tmp = toInt(slice(_this__u8e3s4, numberRangeToNumber(i, i + 1 | 0)), 16);
2103
2063
  } else {
2104
2064
  var i_0 = charSequenceGet(_this__u8e3s4, 0) === _Char___init__impl__6a9atx(35) ? startIndex + 1 | 0 : startIndex;
2105
- var tmp$ret$1;
2106
2065
  // Inline function 'kotlin.let' call
2107
- var tmp0_let = charSequenceGet(_this__u8e3s4, i_0);
2108
2066
  // Inline function 'kotlin.contracts.contract' call
2109
2067
  // Inline function 'com.github.ajalt.colormath.model.parseHex.<anonymous>' call
2110
- tmp$ret$1 = '' + new Char(tmp0_let) + new Char(tmp0_let);
2068
+ var it = charSequenceGet(_this__u8e3s4, i_0);
2069
+ var tmp$ret$1 = toString(it) + toString(it);
2111
2070
  tmp = toInt(tmp$ret$1, 16);
2112
2071
  }
2113
2072
  return tmp;
@@ -2118,18 +2077,17 @@
2118
2077
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>' call
2119
2078
  // Inline function 'kotlin.require' call
2120
2079
  // Inline function 'kotlin.let' call
2121
- var tmp0_let = get_hexLength(_this__u8e3s4);
2122
2080
  // Inline function 'kotlin.contracts.contract' call
2123
- var tmp$ret$0;
2124
2081
  // Inline function 'com.github.ajalt.colormath.model.validateHex.<anonymous>.<anonymous>' call
2125
- switch (tmp0_let) {
2082
+ var it = get_hexLength(_this__u8e3s4);
2083
+ switch (it) {
2126
2084
  case 3:
2127
2085
  case 4:
2128
2086
  case 6:
2129
- tmp$ret$0 = true;
2087
+ var tmp$ret$0 = true;
2130
2088
  break;
2131
2089
  default:
2132
- tmp$ret$0 = tmp0_let === 8;
2090
+ tmp$ret$0 = it === 8;
2133
2091
  break;
2134
2092
  }
2135
2093
  // Inline function 'kotlin.contracts.contract' call
@@ -2195,18 +2153,18 @@
2195
2153
  var ACES_AP1_B;
2196
2154
  function RGBColorSpaces() {
2197
2155
  RGBColorSpaces_instance = this;
2198
- this.u1i_1 = SRGB_getInstance();
2199
- this.v1i_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().j1k_1, LinearTransferFunctions_getInstance(), get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
2200
- this.w1i_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_getInstance(), get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
2201
- this.x1i_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2202
- this.y1i_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2203
- this.z1i_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2204
- this.a1j_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().j1k_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));
2205
- this.b1j_1 = BT2020Space_getInstance();
2206
- this.c1j_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().j1k_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
2207
- this.d1j_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));
2208
- this.e1j_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().j1k_1, SRGBTransferFunctions_getInstance(), xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
2209
- this.f1j_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().h1k_1, ROMMTransferFunctions_getInstance(), xyY_init_$Create$(0.7347, 0.2653), xyY_init_$Create$(0.1596, 0.8404), xyY_init_$Create$(0.0366, 1.0E-4));
2156
+ this.n1k_1 = SRGB_getInstance();
2157
+ this.o1k_1 = RGBColorSpace_0('Linear sRGB', Illuminant_getInstance().c1m_1, LinearTransferFunctions_instance, get_SRGB_R(), get_SRGB_G(), get_SRGB_B());
2158
+ this.p1k_1 = RGBColorSpace_0('ACES2065-1', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP0_R(), get_ACES_AP0_G(), get_ACES_AP0_B());
2159
+ this.q1k_1 = RGBColorSpace_0('ACEScc', get_ACES_WHITE_POINT(), ACESccTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2160
+ this.r1k_1 = RGBColorSpace_0('ACEScct', get_ACES_WHITE_POINT(), ACEScctTransferFunctions_getInstance(), get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2161
+ this.s1k_1 = RGBColorSpace_0('ACEScg', get_ACES_WHITE_POINT(), LinearTransferFunctions_instance, get_ACES_AP1_R(), get_ACES_AP1_G(), get_ACES_AP1_B());
2162
+ this.t1k_1 = RGBColorSpace_0('Adobe RGB', Illuminant_getInstance().c1m_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));
2163
+ this.u1k_1 = BT2020Space_getInstance();
2164
+ this.v1k_1 = RGBColorSpace_0('BT.709', Illuminant_getInstance().c1m_1, BT709TransferFunctions_getInstance(), xyY_init_$Create$(0.64, 0.33), xyY_init_$Create$(0.3, 0.6), xyY_init_$Create$(0.15, 0.06));
2165
+ this.w1k_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));
2166
+ this.x1k_1 = RGBColorSpace_0('Display P3', Illuminant_getInstance().c1m_1, SRGBTransferFunctions_instance, xyY_init_$Create$(0.68, 0.32), xyY_init_$Create$(0.265, 0.69), xyY_init_$Create$(0.15, 0.06));
2167
+ this.y1k_1 = RGBColorSpace_0('ROMM RGB', Illuminant_getInstance().a1m_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));
2210
2168
  }
2211
2169
  var RGBColorSpaces_instance;
2212
2170
  function RGBColorSpaces_getInstance() {
@@ -2216,38 +2174,38 @@
2216
2174
  }
2217
2175
  function SRGB() {
2218
2176
  SRGB_instance = this;
2219
- this.q1k_1 = 'sRGB';
2220
- this.r1k_1 = rectangularComponentInfo('RGB');
2221
- this.s1k_1 = Illuminant_getInstance().j1k_1;
2222
- this.t1k_1 = SRGBTransferFunctions_getInstance();
2223
- this.u1k_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.s1k_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
2224
- this.v1k_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.u1k_1)));
2177
+ this.i1m_1 = 'sRGB';
2178
+ this.j1m_1 = rectangularComponentInfo('RGB');
2179
+ this.k1m_1 = Illuminant_getInstance().c1m_1;
2180
+ this.l1m_1 = SRGBTransferFunctions_instance;
2181
+ this.m1m_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.k1m_1, get_SRGB_R(), get_SRGB_G(), get_SRGB_B()));
2182
+ this.n1m_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.m1m_1)));
2225
2183
  }
2226
- protoOf(SRGB).ee = function () {
2227
- return this.q1k_1;
2184
+ protoOf(SRGB).ka = function () {
2185
+ return this.i1m_1;
2228
2186
  };
2229
- protoOf(SRGB).p1k = function () {
2230
- return this.r1k_1;
2187
+ protoOf(SRGB).n1j = function () {
2188
+ return this.j1m_1;
2231
2189
  };
2232
- protoOf(SRGB).u1h = function () {
2233
- return this.s1k_1;
2190
+ protoOf(SRGB).m1j = function () {
2191
+ return this.k1m_1;
2234
2192
  };
2235
- protoOf(SRGB).e1l = function () {
2236
- return this.t1k_1;
2193
+ protoOf(SRGB).w1m = function () {
2194
+ return this.l1m_1;
2237
2195
  };
2238
- protoOf(SRGB).b1m = function () {
2239
- return this.u1k_1;
2196
+ protoOf(SRGB).t1n = function () {
2197
+ return this.m1m_1;
2240
2198
  };
2241
- protoOf(SRGB).c1m = function () {
2242
- return this.v1k_1;
2199
+ protoOf(SRGB).u1n = function () {
2200
+ return this.n1m_1;
2243
2201
  };
2244
- protoOf(SRGB).t1h = function (color) {
2245
- return color.y1g();
2202
+ protoOf(SRGB).l1j = function (color) {
2203
+ return color.q1i();
2246
2204
  };
2247
- protoOf(SRGB).v1h = function (components) {
2205
+ protoOf(SRGB).o1j = function (components) {
2248
2206
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2249
2207
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2250
- var size = this.p1k().i();
2208
+ var size = this.n1j().l();
2251
2209
  // Inline function 'kotlin.require' call
2252
2210
  var containsLower = size - 1 | 0;
2253
2211
  var containsArg = components.length;
@@ -2261,22 +2219,21 @@
2261
2219
  var tmp = components[0];
2262
2220
  var tmp_0 = components[1];
2263
2221
  var tmp_1 = components[2];
2264
- var tmp$ret$2;
2265
2222
  // Inline function 'kotlin.collections.getOrElse' call
2266
2223
  var tmp_2;
2267
- if (3 <= get_lastIndex_0(components)) {
2224
+ if (3 >= 0 ? 3 <= get_lastIndex_0(components) : false) {
2268
2225
  tmp_2 = components[3];
2269
2226
  } else {
2270
2227
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2271
2228
  tmp_2 = 1.0;
2272
2229
  }
2273
- tmp$ret$2 = tmp_2;
2274
- return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
2230
+ var tmp$ret$2 = tmp_2;
2231
+ return this.k1k(tmp, tmp_0, tmp_1, tmp$ret$2);
2275
2232
  };
2276
2233
  protoOf(SRGB).toString = function () {
2277
- return this.q1k_1;
2234
+ return this.i1m_1;
2278
2235
  };
2279
- protoOf(SRGB).r1i = function (r, g, b, alpha) {
2236
+ protoOf(SRGB).k1k = function (r, g, b, alpha) {
2280
2237
  return new RGB(r, g, b, alpha, this);
2281
2238
  };
2282
2239
  var SRGB_instance;
@@ -2291,32 +2248,32 @@
2291
2248
  }
2292
2249
  function ACESccTransferFunctions() {
2293
2250
  ACESccTransferFunctions_instance = this;
2294
- this.f1m_1 = 3.0517578125E-5;
2295
- this.g1m_1 = 1.52587890625E-5;
2296
- this.h1m_1 = -0.3013698630136986;
2251
+ this.x1n_1 = 3.0517578125E-5;
2252
+ this.y1n_1 = 1.52587890625E-5;
2253
+ this.z1n_1 = -0.3013698630136986;
2297
2254
  var tmp = this;
2298
2255
  // Inline function 'kotlin.math.log2' call
2299
- tmp.i1m_1 = (log2(65504.0) + 9.72) / 17.52;
2256
+ tmp.a1o_1 = (log2(65504.0) + 9.72) / 17.52;
2300
2257
  }
2301
- protoOf(ACESccTransferFunctions).n1l = function (x) {
2258
+ protoOf(ACESccTransferFunctions).f1n = function (x) {
2302
2259
  var tmp;
2303
2260
  if (x <= -0.3013698630136986) {
2304
2261
  tmp = (spow_0(2.0, x * 17.52 - 9.72) - 1.52587890625E-5) * 2.0;
2305
- } else if (x < this.i1m_1) {
2262
+ } else if (x < this.a1o_1) {
2306
2263
  // Inline function 'kotlin.math.pow' call
2307
- var tmp0_pow = x * 17.52 - 9.72;
2308
- tmp = Math.pow(2.0, tmp0_pow);
2264
+ var x_0 = x * 17.52 - 9.72;
2265
+ tmp = Math.pow(2.0, x_0);
2309
2266
  } else {
2310
2267
  tmp = 65504.0;
2311
2268
  }
2312
2269
  return tmp;
2313
2270
  };
2314
- protoOf(ACESccTransferFunctions).o1l = function (x) {
2271
+ protoOf(ACESccTransferFunctions).g1n = function (x) {
2315
2272
  var tmp;
2316
2273
  if (x < 3.0517578125E-5) {
2317
2274
  // Inline function 'kotlin.math.log2' call
2318
- var tmp0_log2 = 1.52587890625E-5 + coerceAtLeast(x, 0.0) / 2.0;
2319
- tmp = (log2(tmp0_log2) + 9.72) / 17.52;
2275
+ var x_0 = 1.52587890625E-5 + coerceAtLeast(x, 0.0) / 2.0;
2276
+ tmp = (log2(x_0) + 9.72) / 17.52;
2320
2277
  } else {
2321
2278
  // Inline function 'kotlin.math.log2' call
2322
2279
  tmp = (log2(x) + 9.72) / 17.52;
@@ -2331,26 +2288,26 @@
2331
2288
  }
2332
2289
  function ACEScctTransferFunctions() {
2333
2290
  ACEScctTransferFunctions_instance = this;
2334
- this.j1m_1 = 10.5402377416545;
2335
- this.k1m_1 = 0.0729055341958355;
2291
+ this.b1o_1 = 10.5402377416545;
2292
+ this.c1o_1 = 0.0729055341958355;
2336
2293
  var tmp = this;
2337
2294
  // Inline function 'kotlin.math.log2' call
2338
- tmp.l1m_1 = (log2(65504.0) + 9.72) / 17.52;
2295
+ tmp.d1o_1 = (log2(65504.0) + 9.72) / 17.52;
2339
2296
  }
2340
- protoOf(ACEScctTransferFunctions).n1l = function (x) {
2297
+ protoOf(ACEScctTransferFunctions).f1n = function (x) {
2341
2298
  var tmp;
2342
2299
  if (x <= 0.155251141552511) {
2343
2300
  tmp = (x - 0.0729055341958355) / 10.5402377416545;
2344
- } else if (x < this.l1m_1) {
2301
+ } else if (x < this.d1o_1) {
2345
2302
  // Inline function 'kotlin.math.pow' call
2346
- var tmp0_pow = x * 17.52 - 9.72;
2347
- tmp = Math.pow(2.0, tmp0_pow);
2303
+ var x_0 = x * 17.52 - 9.72;
2304
+ tmp = Math.pow(2.0, x_0);
2348
2305
  } else {
2349
2306
  tmp = 65504.0;
2350
2307
  }
2351
2308
  return tmp;
2352
2309
  };
2353
- protoOf(ACEScctTransferFunctions).o1l = function (x) {
2310
+ protoOf(ACEScctTransferFunctions).g1n = function (x) {
2354
2311
  var tmp;
2355
2312
  if (x < 0.0078125) {
2356
2313
  tmp = 10.5402377416545 * x + 0.0729055341958355;
@@ -2368,45 +2325,45 @@
2368
2325
  }
2369
2326
  function BT2020Space() {
2370
2327
  BT2020Space_instance = this;
2371
- this.m1m_1 = 'BT.2020';
2372
- this.n1m_1 = rectangularComponentInfo('RGB');
2373
- this.o1m_1 = Illuminant_getInstance().j1k_1;
2374
- this.p1m_1 = BT2020TransferFunctions_getInstance();
2375
- this.q1m_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.o1m_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
2376
- this.r1m_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.q1m_1)));
2377
- }
2378
- protoOf(BT2020Space).ee = function () {
2379
- return this.m1m_1;
2328
+ this.e1o_1 = 'BT.2020';
2329
+ this.f1o_1 = rectangularComponentInfo('RGB');
2330
+ this.g1o_1 = Illuminant_getInstance().c1m_1;
2331
+ this.h1o_1 = BT2020TransferFunctions_getInstance();
2332
+ this.i1o_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.g1o_1, xyY_init_$Create$(0.708, 0.292), xyY_init_$Create$(0.17, 0.797), xyY_init_$Create$(0.131, 0.046)));
2333
+ this.j1o_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.i1o_1)));
2334
+ }
2335
+ protoOf(BT2020Space).ka = function () {
2336
+ return this.e1o_1;
2380
2337
  };
2381
- protoOf(BT2020Space).p1k = function () {
2382
- return this.n1m_1;
2338
+ protoOf(BT2020Space).n1j = function () {
2339
+ return this.f1o_1;
2383
2340
  };
2384
- protoOf(BT2020Space).u1h = function () {
2385
- return this.o1m_1;
2341
+ protoOf(BT2020Space).m1j = function () {
2342
+ return this.g1o_1;
2386
2343
  };
2387
- protoOf(BT2020Space).e1l = function () {
2388
- return this.p1m_1;
2344
+ protoOf(BT2020Space).w1m = function () {
2345
+ return this.h1o_1;
2389
2346
  };
2390
- protoOf(BT2020Space).r1i = function (r, g, b, alpha) {
2347
+ protoOf(BT2020Space).k1k = function (r, g, b, alpha) {
2391
2348
  return new RGB(r, g, b, alpha, this);
2392
2349
  };
2393
- protoOf(BT2020Space).t1h = function (color) {
2350
+ protoOf(BT2020Space).l1j = function (color) {
2394
2351
  var tmp;
2395
2352
  if (color instanceof RGB) {
2396
- tmp = color.d1m(this);
2353
+ tmp = color.v1n(this);
2397
2354
  } else {
2398
2355
  if (color instanceof ICtCp) {
2399
- tmp = color.d1l();
2356
+ tmp = color.v1m();
2400
2357
  } else {
2401
- tmp = color.f1h().e1m(this);
2358
+ tmp = color.x1i().w1n(this);
2402
2359
  }
2403
2360
  }
2404
2361
  return tmp;
2405
2362
  };
2406
- protoOf(BT2020Space).v1h = function (components) {
2363
+ protoOf(BT2020Space).o1j = function (components) {
2407
2364
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2408
2365
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2409
- var size = this.p1k().i();
2366
+ var size = this.n1j().l();
2410
2367
  // Inline function 'kotlin.require' call
2411
2368
  var containsLower = size - 1 | 0;
2412
2369
  var containsArg = components.length;
@@ -2420,26 +2377,25 @@
2420
2377
  var tmp = components[0];
2421
2378
  var tmp_0 = components[1];
2422
2379
  var tmp_1 = components[2];
2423
- var tmp$ret$2;
2424
2380
  // Inline function 'kotlin.collections.getOrElse' call
2425
2381
  var tmp_2;
2426
- if (3 <= get_lastIndex_0(components)) {
2382
+ if (3 >= 0 ? 3 <= get_lastIndex_0(components) : false) {
2427
2383
  tmp_2 = components[3];
2428
2384
  } else {
2429
2385
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2430
2386
  tmp_2 = 1.0;
2431
2387
  }
2432
- tmp$ret$2 = tmp_2;
2433
- return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
2388
+ var tmp$ret$2 = tmp_2;
2389
+ return this.k1k(tmp, tmp_0, tmp_1, tmp$ret$2);
2434
2390
  };
2435
- protoOf(BT2020Space).b1m = function () {
2436
- return this.q1m_1;
2391
+ protoOf(BT2020Space).t1n = function () {
2392
+ return this.i1o_1;
2437
2393
  };
2438
- protoOf(BT2020Space).c1m = function () {
2439
- return this.r1m_1;
2394
+ protoOf(BT2020Space).u1n = function () {
2395
+ return this.j1o_1;
2440
2396
  };
2441
2397
  protoOf(BT2020Space).toString = function () {
2442
- return this.m1m_1;
2398
+ return this.e1o_1;
2443
2399
  };
2444
2400
  var BT2020Space_instance;
2445
2401
  function BT2020Space_getInstance() {
@@ -2449,12 +2405,12 @@
2449
2405
  }
2450
2406
  function BT709TransferFunctions() {
2451
2407
  BT709TransferFunctions_instance = this;
2452
- this.s1m_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
2408
+ this.k1o_1 = 1.099 * spow_0(0.018, 0.45) - 0.099;
2453
2409
  }
2454
- protoOf(BT709TransferFunctions).n1l = function (x) {
2455
- return numberToDouble(x < this.s1m_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 2.2222222222222223));
2410
+ protoOf(BT709TransferFunctions).f1n = function (x) {
2411
+ return numberToDouble(x < this.k1o_1 ? x / 4.5 : spow_0((x + 0.099) / 1.099, 2.2222222222222223));
2456
2412
  };
2457
- protoOf(BT709TransferFunctions).o1l = function (x) {
2413
+ protoOf(BT709TransferFunctions).g1n = function (x) {
2458
2414
  return x < 0.018 ? 4.5 * x : 1.099 * spow(x, 0.45) - 0.099;
2459
2415
  };
2460
2416
  var BT709TransferFunctions_instance;
@@ -2464,87 +2420,81 @@
2464
2420
  return BT709TransferFunctions_instance;
2465
2421
  }
2466
2422
  function SRGBTransferFunctions() {
2467
- SRGBTransferFunctions_instance = this;
2468
2423
  }
2469
- protoOf(SRGBTransferFunctions).o1l = function (x) {
2424
+ protoOf(SRGBTransferFunctions).g1n = function (x) {
2470
2425
  return x <= 0.0031308 ? x * 12.92 : 1.055 * spow(x, 0.4166666666666667) - 0.055;
2471
2426
  };
2472
- protoOf(SRGBTransferFunctions).n1l = function (x) {
2427
+ protoOf(SRGBTransferFunctions).f1n = function (x) {
2473
2428
  return x <= 0.04045 ? x / 12.92 : spow_0((x + 0.055) / 1.055, 2.4);
2474
2429
  };
2475
2430
  var SRGBTransferFunctions_instance;
2476
2431
  function SRGBTransferFunctions_getInstance() {
2477
- if (SRGBTransferFunctions_instance == null)
2478
- new SRGBTransferFunctions();
2479
2432
  return SRGBTransferFunctions_instance;
2480
2433
  }
2481
2434
  function ROMMTransferFunctions() {
2482
- ROMMTransferFunctions_instance = this;
2483
- this.t1m_1 = 0.001953;
2435
+ this.l1o_1 = 0.001953;
2484
2436
  }
2485
- protoOf(ROMMTransferFunctions).n1l = function (x) {
2437
+ protoOf(ROMMTransferFunctions).f1n = function (x) {
2486
2438
  return x < 0.031248 ? x / 16.0 : spow(x, 1.8);
2487
2439
  };
2488
- protoOf(ROMMTransferFunctions).o1l = function (x) {
2440
+ protoOf(ROMMTransferFunctions).g1n = function (x) {
2489
2441
  return x < 0.001953 ? x * 16.0 : spow(x, 0.5555555555555556);
2490
2442
  };
2491
2443
  var ROMMTransferFunctions_instance;
2492
2444
  function ROMMTransferFunctions_getInstance() {
2493
- if (ROMMTransferFunctions_instance == null)
2494
- new ROMMTransferFunctions();
2495
2445
  return ROMMTransferFunctions_instance;
2496
2446
  }
2497
2447
  function rgbToXyzMatrix(whitePoint, r, g, b) {
2498
2448
  _init_properties_RGBColorSpaces_kt__nc9fsz();
2499
- var primaries = _Matrix___init__impl__q3kp4w_0(r.r1l_1, g.r1l_1, b.r1l_1, r.s1l_1, g.s1l_1, b.s1l_1, r.u1m(), g.u1m(), b.u1m());
2500
- var wp = whitePoint.d1k_1;
2449
+ var primaries = _Matrix___init__impl__q3kp4w_0(r.j1n_1, g.j1n_1, b.j1n_1, r.k1n_1, g.k1n_1, b.k1n_1, r.m1o(), g.m1o(), b.m1o());
2450
+ var wp = whitePoint.w1l_1;
2501
2451
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2502
- var tmp0_dot = inverse(primaries);
2503
- var tmp1_dot = wp.u1l();
2504
- var tmp2_dot = wp.t1l_1;
2505
- var tmp3_dot = wp.v1l();
2452
+ var this_0 = inverse(primaries);
2453
+ var v0 = wp.m1n();
2454
+ var v1 = wp.l1n_1;
2455
+ var v2 = wp.n1n();
2506
2456
  // Inline function 'com.github.ajalt.colormath.model.rgbToXyzMatrix.<anonymous>' call
2507
- var tmp4_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * tmp3_dot;
2508
- var tmp5_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * tmp3_dot;
2509
- var tmp6_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * tmp1_dot + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * tmp2_dot + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * tmp3_dot;
2510
- return dotDiagonal(primaries, tmp4_anonymous, tmp5_anonymous, tmp6_anonymous);
2457
+ 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;
2458
+ 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;
2459
+ 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;
2460
+ return dotDiagonal(primaries, x, y, z);
2511
2461
  }
2512
2462
  function RGBColorSpaceImpl(name, whitePoint, transferFunctions, r, g, b) {
2513
- this.v1m_1 = name;
2514
- this.w1m_1 = whitePoint;
2515
- this.x1m_1 = transferFunctions;
2516
- this.y1m_1 = r;
2517
- this.z1m_1 = g;
2518
- this.a1n_1 = b;
2519
- this.b1n_1 = rectangularComponentInfo('RGB');
2520
- this.c1n_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.w1m_1, this.y1m_1, this.z1m_1, this.a1n_1));
2521
- this.d1n_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.c1n_1)));
2463
+ this.n1o_1 = name;
2464
+ this.o1o_1 = whitePoint;
2465
+ this.p1o_1 = transferFunctions;
2466
+ this.q1o_1 = r;
2467
+ this.r1o_1 = g;
2468
+ this.s1o_1 = b;
2469
+ this.t1o_1 = rectangularComponentInfo('RGB');
2470
+ this.u1o_1 = _Matrix___get_rowMajor__impl__vmgxkq(rgbToXyzMatrix(this.o1o_1, this.q1o_1, this.r1o_1, this.s1o_1));
2471
+ this.v1o_1 = _Matrix___get_rowMajor__impl__vmgxkq(inverse(_Matrix___init__impl__q3kp4w(this.u1o_1)));
2522
2472
  }
2523
- protoOf(RGBColorSpaceImpl).ee = function () {
2524
- return this.v1m_1;
2473
+ protoOf(RGBColorSpaceImpl).ka = function () {
2474
+ return this.n1o_1;
2525
2475
  };
2526
- protoOf(RGBColorSpaceImpl).u1h = function () {
2527
- return this.w1m_1;
2476
+ protoOf(RGBColorSpaceImpl).m1j = function () {
2477
+ return this.o1o_1;
2528
2478
  };
2529
- protoOf(RGBColorSpaceImpl).e1l = function () {
2530
- return this.x1m_1;
2479
+ protoOf(RGBColorSpaceImpl).w1m = function () {
2480
+ return this.p1o_1;
2531
2481
  };
2532
- protoOf(RGBColorSpaceImpl).p1k = function () {
2533
- return this.b1n_1;
2482
+ protoOf(RGBColorSpaceImpl).n1j = function () {
2483
+ return this.t1o_1;
2534
2484
  };
2535
- protoOf(RGBColorSpaceImpl).t1h = function (color) {
2485
+ protoOf(RGBColorSpaceImpl).l1j = function (color) {
2536
2486
  var tmp;
2537
2487
  if (color instanceof RGB) {
2538
- tmp = color.d1m(this);
2488
+ tmp = color.v1n(this);
2539
2489
  } else {
2540
- tmp = color.f1h().e1m(this);
2490
+ tmp = color.x1i().w1n(this);
2541
2491
  }
2542
2492
  return tmp;
2543
2493
  };
2544
- protoOf(RGBColorSpaceImpl).v1h = function (components) {
2494
+ protoOf(RGBColorSpaceImpl).o1j = function (components) {
2545
2495
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2546
2496
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2547
- var size = this.p1k().i();
2497
+ var size = this.n1j().l();
2548
2498
  // Inline function 'kotlin.require' call
2549
2499
  var containsLower = size - 1 | 0;
2550
2500
  var containsArg = components.length;
@@ -2558,37 +2508,36 @@
2558
2508
  var tmp = components[0];
2559
2509
  var tmp_0 = components[1];
2560
2510
  var tmp_1 = components[2];
2561
- var tmp$ret$2;
2562
2511
  // Inline function 'kotlin.collections.getOrElse' call
2563
2512
  var tmp_2;
2564
- if (3 <= get_lastIndex_0(components)) {
2513
+ if (3 >= 0 ? 3 <= get_lastIndex_0(components) : false) {
2565
2514
  tmp_2 = components[3];
2566
2515
  } else {
2567
2516
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2568
2517
  tmp_2 = 1.0;
2569
2518
  }
2570
- tmp$ret$2 = tmp_2;
2571
- return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
2519
+ var tmp$ret$2 = tmp_2;
2520
+ return this.k1k(tmp, tmp_0, tmp_1, tmp$ret$2);
2572
2521
  };
2573
- protoOf(RGBColorSpaceImpl).b1m = function () {
2574
- return this.c1n_1;
2522
+ protoOf(RGBColorSpaceImpl).t1n = function () {
2523
+ return this.u1o_1;
2575
2524
  };
2576
- protoOf(RGBColorSpaceImpl).c1m = function () {
2577
- return this.d1n_1;
2525
+ protoOf(RGBColorSpaceImpl).u1n = function () {
2526
+ return this.v1o_1;
2578
2527
  };
2579
2528
  protoOf(RGBColorSpaceImpl).toString = function () {
2580
- return this.v1m_1;
2529
+ return this.n1o_1;
2581
2530
  };
2582
- protoOf(RGBColorSpaceImpl).r1i = function (r, g, b, alpha) {
2531
+ protoOf(RGBColorSpaceImpl).k1k = function (r, g, b, alpha) {
2583
2532
  return new RGB(r, g, b, alpha, this);
2584
2533
  };
2585
2534
  protoOf(RGBColorSpaceImpl).hashCode = function () {
2586
- var result = getStringHashCode(this.v1m_1);
2587
- result = imul(result, 31) + this.w1m_1.hashCode() | 0;
2588
- result = imul(result, 31) + hashCode(this.x1m_1) | 0;
2589
- result = imul(result, 31) + this.y1m_1.hashCode() | 0;
2590
- result = imul(result, 31) + this.z1m_1.hashCode() | 0;
2591
- result = imul(result, 31) + this.a1n_1.hashCode() | 0;
2535
+ var result = getStringHashCode(this.n1o_1);
2536
+ result = imul(result, 31) + this.o1o_1.hashCode() | 0;
2537
+ result = imul(result, 31) + hashCode(this.p1o_1) | 0;
2538
+ result = imul(result, 31) + this.q1o_1.hashCode() | 0;
2539
+ result = imul(result, 31) + this.r1o_1.hashCode() | 0;
2540
+ result = imul(result, 31) + this.s1o_1.hashCode() | 0;
2592
2541
  return result;
2593
2542
  };
2594
2543
  protoOf(RGBColorSpaceImpl).equals = function (other) {
@@ -2597,32 +2546,32 @@
2597
2546
  if (!(other instanceof RGBColorSpaceImpl))
2598
2547
  return false;
2599
2548
  var tmp0_other_with_cast = other instanceof RGBColorSpaceImpl ? other : THROW_CCE();
2600
- if (!(this.v1m_1 === tmp0_other_with_cast.v1m_1))
2549
+ if (!(this.n1o_1 === tmp0_other_with_cast.n1o_1))
2601
2550
  return false;
2602
- if (!this.w1m_1.equals(tmp0_other_with_cast.w1m_1))
2551
+ if (!this.o1o_1.equals(tmp0_other_with_cast.o1o_1))
2603
2552
  return false;
2604
- if (!equals(this.x1m_1, tmp0_other_with_cast.x1m_1))
2553
+ if (!equals(this.p1o_1, tmp0_other_with_cast.p1o_1))
2605
2554
  return false;
2606
- if (!this.y1m_1.equals(tmp0_other_with_cast.y1m_1))
2555
+ if (!this.q1o_1.equals(tmp0_other_with_cast.q1o_1))
2607
2556
  return false;
2608
- if (!this.z1m_1.equals(tmp0_other_with_cast.z1m_1))
2557
+ if (!this.r1o_1.equals(tmp0_other_with_cast.r1o_1))
2609
2558
  return false;
2610
- if (!this.a1n_1.equals(tmp0_other_with_cast.a1n_1))
2559
+ if (!this.s1o_1.equals(tmp0_other_with_cast.s1o_1))
2611
2560
  return false;
2612
2561
  return true;
2613
2562
  };
2614
2563
  function BT2020TransferFunctions() {
2615
2564
  BT2020TransferFunctions_instance = this;
2616
- this.e1n_1 = 1.0993;
2617
- this.f1n_1 = 0.0181;
2565
+ this.w1o_1 = 1.0993;
2566
+ this.x1o_1 = 0.0181;
2618
2567
  var tmp = this;
2619
2568
  // Inline function 'kotlin.math.pow' call
2620
- tmp.g1n_1 = 1.0993 * Math.pow(0.0181, 0.45) - 0.09929999999999994;
2569
+ tmp.y1o_1 = 1.0993 * Math.pow(0.0181, 0.45) - 0.09929999999999994;
2621
2570
  }
2622
- protoOf(BT2020TransferFunctions).n1l = function (x) {
2623
- return numberToDouble(x < this.g1n_1 ? x / 4.5 : spow_0((x + 0.09929999999999994) / 1.0993, 2.2222222222222223));
2571
+ protoOf(BT2020TransferFunctions).f1n = function (x) {
2572
+ return numberToDouble(x < this.y1o_1 ? x / 4.5 : spow_0((x + 0.09929999999999994) / 1.0993, 2.2222222222222223));
2624
2573
  };
2625
- protoOf(BT2020TransferFunctions).o1l = function (x) {
2574
+ protoOf(BT2020TransferFunctions).g1n = function (x) {
2626
2575
  return x < 0.0181 ? 4.5 * x : 1.0993 * spow(x, 0.45) - 0.09929999999999994;
2627
2576
  };
2628
2577
  var BT2020TransferFunctions_instance;
@@ -2655,27 +2604,26 @@
2655
2604
  }
2656
2605
  function _RGBInt___init__impl__lqova7_0(r, g, b, alpha) {
2657
2606
  alpha = alpha === VOID ? 255 : alpha;
2658
- var tmp$ret$9;
2659
2607
  // Inline function 'kotlin.UInt.or' call
2660
2608
  // Inline function 'kotlin.UInt.or' call
2661
2609
  // Inline function 'kotlin.UInt.or' call
2662
2610
  // Inline function 'kotlin.UInt.shl' call
2663
2611
  // Inline function 'kotlin.toUInt' call
2664
- var tmp0_shl = _UInt___init__impl__l7qpdl(alpha);
2665
- var tmp2_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shl) << 24);
2612
+ var this_0 = _UInt___init__impl__l7qpdl(alpha);
2613
+ var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) << 24);
2666
2614
  // Inline function 'kotlin.UInt.shl' call
2667
2615
  // Inline function 'kotlin.toUInt' call
2668
- var tmp1_shl = _UInt___init__impl__l7qpdl(r);
2669
- var tmp3_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp1_shl) << 16);
2670
- var tmp5_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp2_or) | _UInt___get_data__impl__f0vqqw(tmp3_or));
2616
+ var this_2 = _UInt___init__impl__l7qpdl(r);
2617
+ var other = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_2) << 16);
2618
+ var this_3 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_1) | _UInt___get_data__impl__f0vqqw(other));
2671
2619
  // Inline function 'kotlin.UInt.shl' call
2672
2620
  // Inline function 'kotlin.toUInt' call
2673
- var tmp4_shl = _UInt___init__impl__l7qpdl(g);
2674
- var tmp6_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp4_shl) << 8);
2675
- var tmp7_or = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp5_or) | _UInt___get_data__impl__f0vqqw(tmp6_or));
2621
+ var this_4 = _UInt___init__impl__l7qpdl(g);
2622
+ var other_0 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_4) << 8);
2623
+ var this_5 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_3) | _UInt___get_data__impl__f0vqqw(other_0));
2676
2624
  // Inline function 'kotlin.toUInt' call
2677
- var tmp8_or = _UInt___init__impl__l7qpdl(b);
2678
- tmp$ret$9 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp7_or) | _UInt___get_data__impl__f0vqqw(tmp8_or));
2625
+ var other_1 = _UInt___init__impl__l7qpdl(b);
2626
+ var tmp$ret$9 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_5) | _UInt___get_data__impl__f0vqqw(other_1));
2679
2627
  return _RGBInt___init__impl__lqova7(tmp$ret$9);
2680
2628
  }
2681
2629
  function _RGBInt___init__impl__lqova7_1(r, g, b, alpha) {
@@ -2684,10 +2632,9 @@
2684
2632
  if (isNaN_0(r)) {
2685
2633
  tmp = 0;
2686
2634
  } else {
2687
- var tmp$ret$0;
2688
2635
  // Inline function 'kotlin.math.roundToInt' call
2689
- var tmp0_roundToInt = r * 255;
2690
- tmp$ret$0 = roundToInt(tmp0_roundToInt);
2636
+ var this_0 = r * 255;
2637
+ var tmp$ret$0 = roundToInt(this_0);
2691
2638
  tmp = coerceIn_0(tmp$ret$0, 0, 255);
2692
2639
  }
2693
2640
  var tmp_0 = tmp;
@@ -2695,10 +2642,9 @@
2695
2642
  if (isNaN_0(b)) {
2696
2643
  tmp_1 = 0;
2697
2644
  } else {
2698
- var tmp$ret$1;
2699
2645
  // Inline function 'kotlin.math.roundToInt' call
2700
- var tmp1_roundToInt = g * 255;
2701
- tmp$ret$1 = roundToInt(tmp1_roundToInt);
2646
+ var this_1 = g * 255;
2647
+ var tmp$ret$1 = roundToInt(this_1);
2702
2648
  tmp_1 = coerceIn_0(tmp$ret$1, 0, 255);
2703
2649
  }
2704
2650
  var tmp_2 = tmp_1;
@@ -2706,90 +2652,88 @@
2706
2652
  if (isNaN_0(g)) {
2707
2653
  tmp_3 = 0;
2708
2654
  } else {
2709
- var tmp$ret$2;
2710
2655
  // Inline function 'kotlin.math.roundToInt' call
2711
- var tmp2_roundToInt = b * 255;
2712
- tmp$ret$2 = roundToInt(tmp2_roundToInt);
2656
+ var this_2 = b * 255;
2657
+ var tmp$ret$2 = roundToInt(this_2);
2713
2658
  tmp_3 = coerceIn_0(tmp$ret$2, 0, 255);
2714
2659
  }
2715
2660
  var tmp_4 = tmp_3;
2716
- var tmp$ret$3;
2717
2661
  // Inline function 'kotlin.math.roundToInt' call
2718
- var tmp3_roundToInt = alpha * 255;
2719
- tmp$ret$3 = roundToInt(tmp3_roundToInt);
2662
+ var this_3 = alpha * 255;
2663
+ var tmp$ret$3 = roundToInt(this_3);
2720
2664
  return _RGBInt___init__impl__lqova7_0(tmp_0, tmp_2, tmp_4, coerceIn_0(tmp$ret$3, 0, 255));
2721
2665
  }
2722
2666
  function _RGBInt___get_r__impl__dulq0e($this) {
2723
2667
  // Inline function 'kotlin.UInt.toUByte' call
2724
2668
  // Inline function 'kotlin.UInt.shr' call
2725
- var tmp0_shr = _RGBInt___get_argb__impl__xiee7i($this);
2726
- var tmp1_toUByte = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shr) >>> 16 | 0);
2669
+ var this_0 = _RGBInt___get_argb__impl__xiee7i($this);
2670
+ var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) >>> 16 | 0);
2727
2671
  // Inline function 'kotlin.toUByte' call
2728
- var tmp0_toUByte = _UInt___get_data__impl__f0vqqw(tmp1_toUByte);
2729
- return _UByte___init__impl__g9hnc4(toByte(tmp0_toUByte));
2672
+ var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
2673
+ return _UByte___init__impl__g9hnc4(toByte(this_2));
2730
2674
  }
2731
2675
  function _RGBInt___get_g__impl__o93c71($this) {
2732
2676
  // Inline function 'kotlin.UInt.toUByte' call
2733
2677
  // Inline function 'kotlin.UInt.shr' call
2734
- var tmp0_shr = _RGBInt___get_argb__impl__xiee7i($this);
2735
- var tmp1_toUByte = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shr) >>> 8 | 0);
2678
+ var this_0 = _RGBInt___get_argb__impl__xiee7i($this);
2679
+ var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) >>> 8 | 0);
2736
2680
  // Inline function 'kotlin.toUByte' call
2737
- var tmp0_toUByte = _UInt___get_data__impl__f0vqqw(tmp1_toUByte);
2738
- return _UByte___init__impl__g9hnc4(toByte(tmp0_toUByte));
2681
+ var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
2682
+ return _UByte___init__impl__g9hnc4(toByte(this_2));
2739
2683
  }
2740
2684
  function _RGBInt___get_b__impl__m772ua($this) {
2741
2685
  // Inline function 'kotlin.UInt.toUByte' call
2742
2686
  // Inline function 'kotlin.UInt.shr' call
2743
- var tmp0_shr = _RGBInt___get_argb__impl__xiee7i($this);
2744
- var tmp1_toUByte = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_shr) >>> 0 | 0);
2687
+ var this_0 = _RGBInt___get_argb__impl__xiee7i($this);
2688
+ var this_1 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(this_0) >>> 0 | 0);
2745
2689
  // Inline function 'kotlin.toUByte' call
2746
- var tmp0_toUByte = _UInt___get_data__impl__f0vqqw(tmp1_toUByte);
2747
- return _UByte___init__impl__g9hnc4(toByte(tmp0_toUByte));
2690
+ var this_2 = _UInt___get_data__impl__f0vqqw(this_1);
2691
+ return _UByte___init__impl__g9hnc4(toByte(this_2));
2748
2692
  }
2749
2693
  function Companion_5() {
2750
- Companion_instance_5 = this;
2751
- this.h1n_1 = XYZColorSpaces_getInstance().g1j_1;
2694
+ Companion_instance_6 = this;
2695
+ this.z1o_1 = XYZColorSpaces_getInstance().z1k_1;
2752
2696
  }
2753
- protoOf(Companion_5).p1k = function () {
2754
- return this.h1n_1.p1k();
2697
+ protoOf(Companion_5).n1j = function () {
2698
+ return this.z1o_1.n1j();
2755
2699
  };
2756
- protoOf(Companion_5).ee = function () {
2757
- return this.h1n_1.ee();
2700
+ protoOf(Companion_5).ka = function () {
2701
+ return this.z1o_1.ka();
2758
2702
  };
2759
- protoOf(Companion_5).u1h = function () {
2760
- return this.h1n_1.u1h();
2703
+ protoOf(Companion_5).m1j = function () {
2704
+ return this.z1o_1.m1j();
2761
2705
  };
2762
- protoOf(Companion_5).t1h = function (color) {
2763
- return this.h1n_1.t1h(color);
2706
+ protoOf(Companion_5).l1j = function (color) {
2707
+ return this.z1o_1.l1j(color);
2764
2708
  };
2765
- protoOf(Companion_5).v1h = function (components) {
2766
- return this.h1n_1.v1h(components);
2709
+ protoOf(Companion_5).o1j = function (components) {
2710
+ return this.z1o_1.o1j(components);
2767
2711
  };
2768
- protoOf(Companion_5).r1i = function (x, y, z, alpha) {
2769
- return this.h1n_1.r1i(x, y, z, alpha);
2712
+ protoOf(Companion_5).k1k = function (x, y, z, alpha) {
2713
+ return this.z1o_1.k1k(x, y, z, alpha);
2770
2714
  };
2771
- protoOf(Companion_5).p1l = function (x, y, z, alpha) {
2772
- return this.h1n_1.p1l(x, y, z, alpha);
2715
+ protoOf(Companion_5).h1n = function (x, y, z, alpha) {
2716
+ return this.z1o_1.h1n(x, y, z, alpha);
2773
2717
  };
2774
- var Companion_instance_5;
2775
- function Companion_getInstance_6() {
2776
- if (Companion_instance_5 == null)
2718
+ var Companion_instance_6;
2719
+ function Companion_getInstance_5() {
2720
+ if (Companion_instance_6 == null)
2777
2721
  new Companion_5();
2778
- return Companion_instance_5;
2722
+ return Companion_instance_6;
2779
2723
  }
2780
2724
  function adaptToM($this, space, m, mi) {
2781
- if (space.u1h().equals($this.l1h_1.u1h()))
2725
+ if (space.m1j().equals($this.d1j_1.m1j()))
2782
2726
  return $this;
2783
- var transform = chromaticAdaptationMatrix(space, $this.l1h_1.u1h().d1k_1, m, mi);
2727
+ var transform = chromaticAdaptationMatrix(space, $this.d1j_1.m1j().w1l_1, m, mi);
2784
2728
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2785
- var tmp0_dot = $this.h1h_1;
2786
- var tmp1_dot = $this.i1h_1;
2787
- var tmp2_dot = $this.j1h_1;
2729
+ var v0 = $this.z1i_1;
2730
+ var v1 = $this.a1j_1;
2731
+ var v2 = $this.b1j_1;
2788
2732
  // Inline function 'com.github.ajalt.colormath.model.XYZ.adaptToM.<anonymous>' call
2789
- var tmp3_anonymous = Matrix__get_impl_xogbpk(transform, 0, 0) * tmp0_dot + Matrix__get_impl_xogbpk(transform, 1, 0) * tmp1_dot + Matrix__get_impl_xogbpk(transform, 2, 0) * tmp2_dot;
2790
- var tmp4_anonymous = Matrix__get_impl_xogbpk(transform, 0, 1) * tmp0_dot + Matrix__get_impl_xogbpk(transform, 1, 1) * tmp1_dot + Matrix__get_impl_xogbpk(transform, 2, 1) * tmp2_dot;
2791
- var tmp5_anonymous = Matrix__get_impl_xogbpk(transform, 0, 2) * tmp0_dot + Matrix__get_impl_xogbpk(transform, 1, 2) * tmp1_dot + Matrix__get_impl_xogbpk(transform, 2, 2) * tmp2_dot;
2792
- return space.r1i(tmp3_anonymous, tmp4_anonymous, tmp5_anonymous, $this.k1h_1);
2733
+ 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;
2734
+ 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;
2735
+ 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;
2736
+ return space.k1k(xx, yy, zz, $this.c1j_1);
2793
2737
  }
2794
2738
  function toLAB$f(t) {
2795
2739
  var tmp;
@@ -2802,73 +2746,73 @@
2802
2746
  return tmp;
2803
2747
  }
2804
2748
  function XYZ(x, y, z, alpha, space) {
2805
- Companion_getInstance_6();
2806
- this.h1h_1 = x;
2807
- this.i1h_1 = y;
2808
- this.j1h_1 = z;
2809
- this.k1h_1 = alpha;
2810
- this.l1h_1 = space;
2749
+ Companion_getInstance_5();
2750
+ this.z1i_1 = x;
2751
+ this.a1j_1 = y;
2752
+ this.b1j_1 = z;
2753
+ this.c1j_1 = alpha;
2754
+ this.d1j_1 = space;
2811
2755
  }
2812
- protoOf(XYZ).w1g = function () {
2813
- return this.k1h_1;
2756
+ protoOf(XYZ).o1i = function () {
2757
+ return this.c1j_1;
2814
2758
  };
2815
- protoOf(XYZ).x1g = function () {
2816
- return this.l1h_1;
2759
+ protoOf(XYZ).p1i = function () {
2760
+ return this.d1j_1;
2817
2761
  };
2818
- protoOf(XYZ).i1j = function (space) {
2762
+ protoOf(XYZ).b1l = function (space) {
2819
2763
  return adaptToM(this, space, get_CAT02_XYZ_TO_LMS(), get_CAT02_LMS_TO_XYZ());
2820
2764
  };
2821
- protoOf(XYZ).e1m = function (space) {
2822
- var tmp0_container = this.i1j(XYZColorSpace_0(space.u1h()));
2823
- var x = tmp0_container.s3();
2824
- var y = tmp0_container.t3();
2825
- var z = tmp0_container.i1n();
2826
- var f = space.e1l();
2765
+ protoOf(XYZ).w1n = function (space) {
2766
+ var tmp0_container = this.b1l(XYZColorSpace_0(space.m1j()));
2767
+ var x = tmp0_container.ie();
2768
+ var y = tmp0_container.je();
2769
+ var z = tmp0_container.a1p();
2770
+ var f = space.w1m();
2827
2771
  // Inline function 'com.github.ajalt.colormath.internal.dot' call
2828
- var tmp0_dot = _Matrix___init__impl__q3kp4w(space.c1m());
2772
+ var this_0 = _Matrix___init__impl__q3kp4w(space.u1n());
2829
2773
  // Inline function 'com.github.ajalt.colormath.model.XYZ.toRGB.<anonymous>' call
2830
- var tmp1_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 0) * x + Matrix__get_impl_xogbpk(tmp0_dot, 1, 0) * y + Matrix__get_impl_xogbpk(tmp0_dot, 2, 0) * z;
2831
- var tmp2_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 1) * x + Matrix__get_impl_xogbpk(tmp0_dot, 1, 1) * y + Matrix__get_impl_xogbpk(tmp0_dot, 2, 1) * z;
2832
- var tmp3_anonymous = Matrix__get_impl_xogbpk(tmp0_dot, 0, 2) * x + Matrix__get_impl_xogbpk(tmp0_dot, 1, 2) * y + Matrix__get_impl_xogbpk(tmp0_dot, 2, 2) * z;
2833
- return space.r1i(f.o1l(tmp1_anonymous), f.o1l(tmp2_anonymous), f.o1l(tmp3_anonymous), this.k1h_1);
2834
- };
2835
- protoOf(XYZ).y1g = function () {
2836
- return this.e1m(RGBColorSpaces_getInstance().u1i_1);
2837
- };
2838
- protoOf(XYZ).g1h = function () {
2839
- var fx = toLAB$f(this.h1h_1 / this.l1h_1.u1h().d1k_1.u1l());
2840
- var fy = toLAB$f(this.i1h_1 / this.l1h_1.u1h().d1k_1.t1l_1);
2841
- var fz = toLAB$f(this.j1h_1 / this.l1h_1.u1h().d1k_1.v1l());
2774
+ 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;
2775
+ 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;
2776
+ 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;
2777
+ return space.k1k(f.g1n(r), f.g1n(g), f.g1n(b), this.c1j_1);
2778
+ };
2779
+ protoOf(XYZ).q1i = function () {
2780
+ return this.w1n(RGBColorSpaces_getInstance().n1k_1);
2781
+ };
2782
+ protoOf(XYZ).y1i = function () {
2783
+ var fx = toLAB$f(this.z1i_1 / this.d1j_1.m1j().w1l_1.m1n());
2784
+ var fy = toLAB$f(this.a1j_1 / this.d1j_1.m1j().w1l_1.l1n_1);
2785
+ var fz = toLAB$f(this.b1j_1 / this.d1j_1.m1j().w1l_1.n1n());
2842
2786
  var l = 116 * fy - 16;
2843
2787
  var a = 500 * (fx - fy);
2844
2788
  var b = 200 * (fy - fz);
2845
- return LABColorSpace_0(this.l1h_1.u1h()).p1l(l, a, b, this.k1h_1);
2789
+ return LABColorSpace_0(this.d1j_1.m1j()).h1n(l, a, b, this.c1j_1);
2846
2790
  };
2847
- protoOf(XYZ).f1h = function () {
2791
+ protoOf(XYZ).x1i = function () {
2848
2792
  return this;
2849
2793
  };
2850
- protoOf(XYZ).a3 = function () {
2794
+ protoOf(XYZ).y2 = function () {
2851
2795
  // Inline function 'kotlin.floatArrayOf' call
2852
- return new Float32Array([this.h1h_1, this.i1h_1, this.j1h_1, this.k1h_1]);
2796
+ return new Float32Array([this.z1i_1, this.a1j_1, this.b1j_1, this.c1j_1]);
2853
2797
  };
2854
- protoOf(XYZ).s3 = function () {
2855
- return this.h1h_1;
2798
+ protoOf(XYZ).ie = function () {
2799
+ return this.z1i_1;
2856
2800
  };
2857
- protoOf(XYZ).t3 = function () {
2858
- return this.i1h_1;
2801
+ protoOf(XYZ).je = function () {
2802
+ return this.a1j_1;
2859
2803
  };
2860
- protoOf(XYZ).i1n = function () {
2861
- return this.j1h_1;
2804
+ protoOf(XYZ).a1p = function () {
2805
+ return this.b1j_1;
2862
2806
  };
2863
2807
  protoOf(XYZ).toString = function () {
2864
- return 'XYZ(x=' + this.h1h_1 + ', y=' + this.i1h_1 + ', z=' + this.j1h_1 + ', alpha=' + this.k1h_1 + ', space=' + this.l1h_1 + ')';
2808
+ return 'XYZ(x=' + this.z1i_1 + ', y=' + this.a1j_1 + ', z=' + this.b1j_1 + ', alpha=' + this.c1j_1 + ', space=' + this.d1j_1 + ')';
2865
2809
  };
2866
2810
  protoOf(XYZ).hashCode = function () {
2867
- var result = getNumberHashCode(this.h1h_1);
2868
- result = imul(result, 31) + getNumberHashCode(this.i1h_1) | 0;
2869
- result = imul(result, 31) + getNumberHashCode(this.j1h_1) | 0;
2870
- result = imul(result, 31) + getNumberHashCode(this.k1h_1) | 0;
2871
- result = imul(result, 31) + hashCode(this.l1h_1) | 0;
2811
+ var result = getNumberHashCode(this.z1i_1);
2812
+ result = imul(result, 31) + getNumberHashCode(this.a1j_1) | 0;
2813
+ result = imul(result, 31) + getNumberHashCode(this.b1j_1) | 0;
2814
+ result = imul(result, 31) + getNumberHashCode(this.c1j_1) | 0;
2815
+ result = imul(result, 31) + hashCode(this.d1j_1) | 0;
2872
2816
  return result;
2873
2817
  };
2874
2818
  protoOf(XYZ).equals = function (other) {
@@ -2877,27 +2821,27 @@
2877
2821
  if (!(other instanceof XYZ))
2878
2822
  return false;
2879
2823
  var tmp0_other_with_cast = other instanceof XYZ ? other : THROW_CCE();
2880
- if (!equals(this.h1h_1, tmp0_other_with_cast.h1h_1))
2824
+ if (!equals(this.z1i_1, tmp0_other_with_cast.z1i_1))
2881
2825
  return false;
2882
- if (!equals(this.i1h_1, tmp0_other_with_cast.i1h_1))
2826
+ if (!equals(this.a1j_1, tmp0_other_with_cast.a1j_1))
2883
2827
  return false;
2884
- if (!equals(this.j1h_1, tmp0_other_with_cast.j1h_1))
2828
+ if (!equals(this.b1j_1, tmp0_other_with_cast.b1j_1))
2885
2829
  return false;
2886
- if (!equals(this.k1h_1, tmp0_other_with_cast.k1h_1))
2830
+ if (!equals(this.c1j_1, tmp0_other_with_cast.c1j_1))
2887
2831
  return false;
2888
- if (!equals(this.l1h_1, tmp0_other_with_cast.l1h_1))
2832
+ if (!equals(this.d1j_1, tmp0_other_with_cast.d1j_1))
2889
2833
  return false;
2890
2834
  return true;
2891
2835
  };
2892
2836
  function XYZColorSpace() {
2893
2837
  }
2894
2838
  function XYZColorSpace_0(whitePoint) {
2895
- return whitePoint.equals(Illuminant_getInstance().j1k_1) ? XYZColorSpaces_getInstance().g1j_1 : whitePoint.equals(Illuminant_getInstance().h1k_1) ? XYZColorSpaces_getInstance().h1j_1 : new XYZColorSpaceImpl(whitePoint);
2839
+ return whitePoint.equals(Illuminant_getInstance().c1m_1) ? XYZColorSpaces_getInstance().z1k_1 : whitePoint.equals(Illuminant_getInstance().a1m_1) ? XYZColorSpaces_getInstance().a1l_1 : new XYZColorSpaceImpl(whitePoint);
2896
2840
  }
2897
2841
  function XYZColorSpaces() {
2898
2842
  XYZColorSpaces_instance = this;
2899
- this.g1j_1 = new XYZColorSpaceImpl(Illuminant_getInstance().j1k_1);
2900
- this.h1j_1 = new XYZColorSpaceImpl(Illuminant_getInstance().h1k_1);
2843
+ this.z1k_1 = new XYZColorSpaceImpl(Illuminant_getInstance().c1m_1);
2844
+ this.a1l_1 = new XYZColorSpaceImpl(Illuminant_getInstance().a1m_1);
2901
2845
  }
2902
2846
  var XYZColorSpaces_instance;
2903
2847
  function XYZColorSpaces_getInstance() {
@@ -2908,31 +2852,31 @@
2908
2852
  function chromaticAdaptationMatrix(_this__u8e3s4, srcWp, xyzToLms, lmsToXyz) {
2909
2853
  xyzToLms = xyzToLms === VOID ? get_CAT02_XYZ_TO_LMS() : xyzToLms;
2910
2854
  lmsToXyz = lmsToXyz === VOID ? get_CAT02_LMS_TO_XYZ() : lmsToXyz;
2911
- var dstWp = _this__u8e3s4.u1h().d1k_1;
2912
- var src = dot_0(xyzToLms, srcWp.u1l(), srcWp.t1l_1, srcWp.v1l());
2913
- var dst = dot_0(xyzToLms, dstWp.u1l(), dstWp.t1l_1, dstWp.v1l());
2855
+ var dstWp = _this__u8e3s4.m1j().w1l_1;
2856
+ var src = dot_0(xyzToLms, srcWp.m1n(), srcWp.l1n_1, srcWp.n1n());
2857
+ var dst = dot_0(xyzToLms, dstWp.m1n(), dstWp.l1n_1, dstWp.n1n());
2914
2858
  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);
2915
2859
  }
2916
2860
  function XYZColorSpaceImpl(whitePoint) {
2917
- this.j1n_1 = whitePoint;
2918
- this.k1n_1 = rectangularComponentInfo('XYZ');
2861
+ this.b1p_1 = whitePoint;
2862
+ this.c1p_1 = rectangularComponentInfo('XYZ');
2919
2863
  }
2920
- protoOf(XYZColorSpaceImpl).u1h = function () {
2921
- return this.j1n_1;
2864
+ protoOf(XYZColorSpaceImpl).m1j = function () {
2865
+ return this.b1p_1;
2922
2866
  };
2923
- protoOf(XYZColorSpaceImpl).ee = function () {
2867
+ protoOf(XYZColorSpaceImpl).ka = function () {
2924
2868
  return 'XYZ';
2925
2869
  };
2926
- protoOf(XYZColorSpaceImpl).p1k = function () {
2927
- return this.k1n_1;
2870
+ protoOf(XYZColorSpaceImpl).n1j = function () {
2871
+ return this.c1p_1;
2928
2872
  };
2929
- protoOf(XYZColorSpaceImpl).t1h = function (color) {
2930
- return color.f1h().i1j(this);
2873
+ protoOf(XYZColorSpaceImpl).l1j = function (color) {
2874
+ return color.x1i().b1l(this);
2931
2875
  };
2932
- protoOf(XYZColorSpaceImpl).v1h = function (components) {
2876
+ protoOf(XYZColorSpaceImpl).o1j = function (components) {
2933
2877
  // Inline function 'com.github.ajalt.colormath.internal.doCreate' call
2934
2878
  // Inline function 'com.github.ajalt.colormath.internal.withValidComps' call
2935
- var size = this.p1k().i();
2879
+ var size = this.n1j().l();
2936
2880
  // Inline function 'kotlin.require' call
2937
2881
  var containsLower = size - 1 | 0;
2938
2882
  var containsArg = components.length;
@@ -2946,26 +2890,25 @@
2946
2890
  var tmp = components[0];
2947
2891
  var tmp_0 = components[1];
2948
2892
  var tmp_1 = components[2];
2949
- var tmp$ret$2;
2950
2893
  // Inline function 'kotlin.collections.getOrElse' call
2951
2894
  var tmp_2;
2952
- if (3 <= get_lastIndex_0(components)) {
2895
+ if (3 >= 0 ? 3 <= get_lastIndex_0(components) : false) {
2953
2896
  tmp_2 = components[3];
2954
2897
  } else {
2955
2898
  // Inline function 'com.github.ajalt.colormath.internal.doCreate.<anonymous>.<anonymous>' call
2956
2899
  tmp_2 = 1.0;
2957
2900
  }
2958
- tmp$ret$2 = tmp_2;
2959
- return this.r1i(tmp, tmp_0, tmp_1, tmp$ret$2);
2901
+ var tmp$ret$2 = tmp_2;
2902
+ return this.k1k(tmp, tmp_0, tmp_1, tmp$ret$2);
2960
2903
  };
2961
2904
  protoOf(XYZColorSpaceImpl).toString = function () {
2962
- return 'XYZColorSpace(' + this.j1n_1 + ')';
2905
+ return 'XYZColorSpace(' + this.b1p_1 + ')';
2963
2906
  };
2964
- protoOf(XYZColorSpaceImpl).r1i = function (x, y, z, alpha) {
2907
+ protoOf(XYZColorSpaceImpl).k1k = function (x, y, z, alpha) {
2965
2908
  return new XYZ(x, y, z, alpha, this);
2966
2909
  };
2967
2910
  protoOf(XYZColorSpaceImpl).hashCode = function () {
2968
- return this.j1n_1.hashCode();
2911
+ return this.b1p_1.hashCode();
2969
2912
  };
2970
2913
  protoOf(XYZColorSpaceImpl).equals = function (other) {
2971
2914
  if (this === other)
@@ -2973,7 +2916,7 @@
2973
2916
  if (!(other instanceof XYZColorSpaceImpl))
2974
2917
  return false;
2975
2918
  var tmp0_other_with_cast = other instanceof XYZColorSpaceImpl ? other : THROW_CCE();
2976
- if (!this.j1n_1.equals(tmp0_other_with_cast.j1n_1))
2919
+ if (!this.b1p_1.equals(tmp0_other_with_cast.b1p_1))
2977
2920
  return false;
2978
2921
  return true;
2979
2922
  };
@@ -2987,26 +2930,26 @@
2987
2930
  }
2988
2931
  function xyY(x, y, Y) {
2989
2932
  Y = Y === VOID ? 1.0 : Y;
2990
- this.r1l_1 = x;
2991
- this.s1l_1 = y;
2992
- this.t1l_1 = Y;
2933
+ this.j1n_1 = x;
2934
+ this.k1n_1 = y;
2935
+ this.l1n_1 = Y;
2993
2936
  }
2994
- protoOf(xyY).u1m = function () {
2995
- return 1 - this.r1l_1 - this.s1l_1;
2937
+ protoOf(xyY).m1o = function () {
2938
+ return 1 - this.j1n_1 - this.k1n_1;
2996
2939
  };
2997
- protoOf(xyY).u1l = function () {
2998
- return this.r1l_1 * this.t1l_1 / this.s1l_1;
2940
+ protoOf(xyY).m1n = function () {
2941
+ return this.j1n_1 * this.l1n_1 / this.k1n_1;
2999
2942
  };
3000
- protoOf(xyY).v1l = function () {
3001
- return (1 - this.r1l_1 - this.s1l_1) * this.t1l_1 / this.s1l_1;
2943
+ protoOf(xyY).n1n = function () {
2944
+ return (1 - this.j1n_1 - this.k1n_1) * this.l1n_1 / this.k1n_1;
3002
2945
  };
3003
2946
  protoOf(xyY).toString = function () {
3004
- return 'xyY(x=' + this.r1l_1 + ', y=' + this.s1l_1 + ', Y=' + this.t1l_1 + ')';
2947
+ return 'xyY(x=' + this.j1n_1 + ', y=' + this.k1n_1 + ', Y=' + this.l1n_1 + ')';
3005
2948
  };
3006
2949
  protoOf(xyY).hashCode = function () {
3007
- var result = getNumberHashCode(this.r1l_1);
3008
- result = imul(result, 31) + getNumberHashCode(this.s1l_1) | 0;
3009
- result = imul(result, 31) + getNumberHashCode(this.t1l_1) | 0;
2950
+ var result = getNumberHashCode(this.j1n_1);
2951
+ result = imul(result, 31) + getNumberHashCode(this.k1n_1) | 0;
2952
+ result = imul(result, 31) + getNumberHashCode(this.l1n_1) | 0;
3010
2953
  return result;
3011
2954
  };
3012
2955
  protoOf(xyY).equals = function (other) {
@@ -3015,62 +2958,67 @@
3015
2958
  if (!(other instanceof xyY))
3016
2959
  return false;
3017
2960
  var tmp0_other_with_cast = other instanceof xyY ? other : THROW_CCE();
3018
- if (!equals(this.r1l_1, tmp0_other_with_cast.r1l_1))
2961
+ if (!equals(this.j1n_1, tmp0_other_with_cast.j1n_1))
3019
2962
  return false;
3020
- if (!equals(this.s1l_1, tmp0_other_with_cast.s1l_1))
2963
+ if (!equals(this.k1n_1, tmp0_other_with_cast.k1n_1))
3021
2964
  return false;
3022
- if (!equals(this.t1l_1, tmp0_other_with_cast.t1l_1))
2965
+ if (!equals(this.l1n_1, tmp0_other_with_cast.l1n_1))
3023
2966
  return false;
3024
2967
  return true;
3025
2968
  };
3026
2969
  //region block: post-declaration
3027
- protoOf(HSL).f1h = toXYZ;
3028
- protoOf(HSL).g1h = toLAB;
3029
- protoOf(HSL).m1h = toLCHab;
3030
- protoOf(HSL).s1h = toHWB;
3031
- protoOf(HWB).z1g = toHSL;
3032
- protoOf(HWB).f1h = toXYZ;
3033
- protoOf(HWB).g1h = toLAB;
3034
- protoOf(HWB).m1h = toLCHab;
3035
- protoOf(LAB).z1g = toHSL;
3036
- protoOf(LAB).s1h = toHWB;
3037
- protoOf(LABColorSpaceImpl).p1l = invoke;
3038
- protoOf(LCHab).z1g = toHSL;
3039
- protoOf(LCHab).s1h = toHWB;
3040
- protoOf(Companion_4).m1k = from255$default;
3041
- protoOf(RGB).g1h = toLAB;
3042
- protoOf(RGB).m1h = toLCHab;
3043
- protoOf(SRGB).p1l = invoke_0;
3044
- protoOf(SRGB).q1i = invoke_1;
3045
- protoOf(SRGB).n1k = from255;
3046
- protoOf(SRGB).m1k = from255$default;
3047
- protoOf(BT2020Space).p1l = invoke_0;
3048
- protoOf(BT2020Space).q1i = invoke_1;
3049
- protoOf(BT2020Space).n1k = from255;
3050
- protoOf(BT2020Space).m1k = from255$default;
3051
- protoOf(RGBColorSpaceImpl).p1l = invoke_0;
3052
- protoOf(RGBColorSpaceImpl).q1i = invoke_1;
3053
- protoOf(RGBColorSpaceImpl).n1k = from255;
3054
- protoOf(RGBColorSpaceImpl).m1k = from255$default;
3055
- protoOf(Companion_5).q1l = invoke$default;
3056
- protoOf(XYZ).z1g = toHSL;
3057
- protoOf(XYZ).m1h = toLCHab;
3058
- protoOf(XYZ).s1h = toHWB;
3059
- protoOf(XYZColorSpaceImpl).p1l = invoke_2;
3060
- protoOf(XYZColorSpaceImpl).q1l = invoke$default;
2970
+ protoOf(HSL).x1i = toXYZ;
2971
+ protoOf(HSL).y1i = toLAB;
2972
+ protoOf(HSL).e1j = toLCHab;
2973
+ protoOf(HSL).k1j = toHWB;
2974
+ protoOf(HWB).r1i = toHSL;
2975
+ protoOf(HWB).x1i = toXYZ;
2976
+ protoOf(HWB).y1i = toLAB;
2977
+ protoOf(HWB).e1j = toLCHab;
2978
+ protoOf(LAB).r1i = toHSL;
2979
+ protoOf(LAB).k1j = toHWB;
2980
+ protoOf(LABColorSpaceImpl).h1n = invoke;
2981
+ protoOf(LCHab).r1i = toHSL;
2982
+ protoOf(LCHab).k1j = toHWB;
2983
+ protoOf(Companion_4).f1m = from255$default;
2984
+ protoOf(RGB).y1i = toLAB;
2985
+ protoOf(RGB).e1j = toLCHab;
2986
+ protoOf(SRGB).h1n = invoke_0;
2987
+ protoOf(SRGB).j1k = invoke_1;
2988
+ protoOf(SRGB).g1m = from255;
2989
+ protoOf(SRGB).f1m = from255$default;
2990
+ protoOf(BT2020Space).h1n = invoke_0;
2991
+ protoOf(BT2020Space).j1k = invoke_1;
2992
+ protoOf(BT2020Space).g1m = from255;
2993
+ protoOf(BT2020Space).f1m = from255$default;
2994
+ protoOf(RGBColorSpaceImpl).h1n = invoke_0;
2995
+ protoOf(RGBColorSpaceImpl).j1k = invoke_1;
2996
+ protoOf(RGBColorSpaceImpl).g1m = from255;
2997
+ protoOf(RGBColorSpaceImpl).f1m = from255$default;
2998
+ protoOf(Companion_5).i1n = invoke$default;
2999
+ protoOf(XYZ).r1i = toHSL;
3000
+ protoOf(XYZ).e1j = toLCHab;
3001
+ protoOf(XYZ).k1j = toHWB;
3002
+ protoOf(XYZColorSpaceImpl).h1n = invoke_2;
3003
+ protoOf(XYZColorSpaceImpl).i1n = invoke$default;
3061
3004
  //endregion
3062
3005
  //region block: init
3006
+ Companion_instance_0 = new Companion();
3063
3007
  CIE_E = 0.008856451679035631;
3064
3008
  CIE_K = 903.2962962962963;
3065
3009
  CIE_E_times_K = 8.0;
3010
+ PqNonlinearity_instance = new PqNonlinearity();
3011
+ LinearTransferFunctions_instance = new LinearTransferFunctions();
3012
+ SRGBTransferFunctions_instance = new SRGBTransferFunctions();
3013
+ ROMMTransferFunctions_instance = new ROMMTransferFunctions();
3066
3014
  //endregion
3067
3015
  //region block: exports
3068
3016
  _.$_$ = _.$_$ || {};
3069
3017
  _.$_$.a = formatCssString;
3070
3018
  _.$_$.b = parse;
3071
3019
  _.$_$.c = RenderCondition_ALWAYS_getInstance;
3072
- _.$_$.d = Companion_getInstance_5;
3073
- _.$_$.e = Companion_getInstance_0;
3020
+ _.$_$.d = Companion_getInstance_4;
3021
+ _.$_$.e = Companion_instance_0;
3074
3022
  //endregion
3075
3023
  return _;
3076
3024
  }));