@cruglobal/godtools-shared 0.9.2-SNAPSHOT.1380 → 0.9.3-PR535-SNAPSHOT.1399

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.
package/fluid-locale.js CHANGED
@@ -1,50 +1,50 @@
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 'fluid-locale'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'fluid-locale'.");
7
+ if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'fluid-locale'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'fluid-locale'.");
9
9
  }
10
- root['fluid-locale'] = factory(typeof this['fluid-locale'] === 'undefined' ? {} : this['fluid-locale'], this['kotlin-kotlin-stdlib-js-ir']);
10
+ root['fluid-locale'] = factory(typeof this['fluid-locale'] === 'undefined' ? {} : this['fluid-locale'], 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
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
17
- var to = kotlin_kotlin.$_$.u9;
18
- var hashMapOf = kotlin_kotlin.$_$.p3;
19
- var charSequenceLength = kotlin_kotlin.$_$.w5;
20
- var protoOf = kotlin_kotlin.$_$.s6;
21
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
22
- var Unit_getInstance = kotlin_kotlin.$_$.m2;
23
- var sorted = kotlin_kotlin.$_$.m4;
24
- var emptyList = kotlin_kotlin.$_$.h3;
25
- var toString = kotlin_kotlin.$_$.w6;
26
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.x;
27
- var VOID = kotlin_kotlin.$_$.w9;
28
- var charArrayOf = kotlin_kotlin.$_$.u5;
29
- var splitToSequence = kotlin_kotlin.$_$.a8;
30
- var charSequenceGet = kotlin_kotlin.$_$.v5;
31
- var equals = kotlin_kotlin.$_$.s7;
32
- var ensureNotNull = kotlin_kotlin.$_$.n9;
33
- var StringBuilder = kotlin_kotlin.$_$.l7;
34
- var objectMeta = kotlin_kotlin.$_$.r6;
35
- var setMetadataFor = kotlin_kotlin.$_$.t6;
36
- var equals_0 = kotlin_kotlin.$_$.a6;
37
- var hashCode = kotlin_kotlin.$_$.f6;
38
- var collectionSizeOrDefault = kotlin_kotlin.$_$.y2;
39
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
40
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.s;
41
- var classMeta = kotlin_kotlin.$_$.x5;
42
- var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.s1;
43
- var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.r1;
44
- var checkIndexOverflow = kotlin_kotlin.$_$.x2;
45
- var equals_1 = kotlin_kotlin.$_$.r7;
46
- var toCharArray = kotlin_kotlin.$_$.h8;
47
- var concatToString = kotlin_kotlin.$_$.m7;
16
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s1;
17
+ var to = kotlin_kotlin.$_$.v9;
18
+ var hashMapOf = kotlin_kotlin.$_$.r3;
19
+ var charSequenceLength = kotlin_kotlin.$_$.x5;
20
+ var protoOf = kotlin_kotlin.$_$.t6;
21
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
22
+ var Unit_instance = kotlin_kotlin.$_$.o2;
23
+ var sorted = kotlin_kotlin.$_$.o4;
24
+ var emptyList = kotlin_kotlin.$_$.j3;
25
+ var toString = kotlin_kotlin.$_$.x6;
26
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.y;
27
+ var VOID = kotlin_kotlin.$_$.c;
28
+ var charArrayOf = kotlin_kotlin.$_$.v5;
29
+ var splitToSequence = kotlin_kotlin.$_$.b8;
30
+ var charSequenceGet = kotlin_kotlin.$_$.w5;
31
+ var equals = kotlin_kotlin.$_$.t7;
32
+ var ensureNotNull = kotlin_kotlin.$_$.o9;
33
+ var StringBuilder = kotlin_kotlin.$_$.m7;
34
+ var objectMeta = kotlin_kotlin.$_$.s6;
35
+ var setMetadataFor = kotlin_kotlin.$_$.u6;
36
+ var equals_0 = kotlin_kotlin.$_$.b6;
37
+ var hashCode = kotlin_kotlin.$_$.h6;
38
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.a3;
39
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.f;
40
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.t;
41
+ var classMeta = kotlin_kotlin.$_$.y5;
42
+ var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.u1;
43
+ var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.t1;
44
+ var checkIndexOverflow = kotlin_kotlin.$_$.z2;
45
+ var equals_1 = kotlin_kotlin.$_$.s7;
46
+ var toCharArray = kotlin_kotlin.$_$.i8;
47
+ var concatToString = kotlin_kotlin.$_$.n7;
48
48
  //endregion
49
49
  //region block: pre-declaration
50
50
  setMetadataFor(Companion, 'Companion', objectMeta);
@@ -54,12 +54,12 @@
54
54
  //endregion
55
55
  function Companion() {
56
56
  Companion_instance = this;
57
- this.u2u_1 = _Char___init__impl__6a9atx(120);
58
- this.v2u_1 = _Char___init__impl__6a9atx(45);
59
- this.w2u_1 = 'und';
60
- this.x2u_1 = hashMapOf([to('art-lojban', 'jbo'), to('cel-gaulish', 'xtg-x-cel-gaulish'), to('en-gb-oed', 'en-GB-oxendict'), to('i-ami', 'ami'), to('i-bnn', 'bnn'), to('i-default', 'en-x-i-default'), to('i-enochian', 'und-x-i-enochian'), to('i-hak', 'hak'), to('i-klingon', 'tlh'), to('i-lux', 'lb'), to('i-mingo', 'see-x-i-mingo'), to('i-navajo', 'nv'), to('i-pwn', 'pwn'), to('i-tao', 'tao'), to('i-tay', 'tay'), to('i-tsu', 'tsu'), to('no-bok', 'nb'), to('no-nyn', 'nn'), to('sgn-be-fr', 'sfb'), to('sgn-be-nl', 'vgt'), to('sgn-ch-de', 'sgg'), to('zh-guoyu', 'cmn'), to('zh-hakka', 'hak'), to('zh-min', 'nan-x-zh-min'), to('zh-min-nan', 'nan'), to('zh-xiang', 'hsn')]);
57
+ this.n2w_1 = _Char___init__impl__6a9atx(120);
58
+ this.o2w_1 = _Char___init__impl__6a9atx(45);
59
+ this.p2w_1 = 'und';
60
+ this.q2w_1 = hashMapOf([to('art-lojban', 'jbo'), to('cel-gaulish', 'xtg-x-cel-gaulish'), to('en-gb-oed', 'en-GB-oxendict'), to('i-ami', 'ami'), to('i-bnn', 'bnn'), to('i-default', 'en-x-i-default'), to('i-enochian', 'und-x-i-enochian'), to('i-hak', 'hak'), to('i-klingon', 'tlh'), to('i-lux', 'lb'), to('i-mingo', 'see-x-i-mingo'), to('i-navajo', 'nv'), to('i-pwn', 'pwn'), to('i-tao', 'tao'), to('i-tay', 'tay'), to('i-tsu', 'tsu'), to('no-bok', 'nb'), to('no-nyn', 'nn'), to('sgn-be-fr', 'sfb'), to('sgn-be-nl', 'vgt'), to('sgn-ch-de', 'sgg'), to('zh-guoyu', 'cmn'), to('zh-hakka', 'hak'), to('zh-min', 'nan-x-zh-min'), to('zh-min-nan', 'nan'), to('zh-xiang', 'hsn')]);
61
61
  }
62
- protoOf(Companion).y2u = function (extension) {
62
+ protoOf(Companion).r2w = function (extension) {
63
63
  var tmp;
64
64
  if (extension == null) {
65
65
  tmp = null;
@@ -78,7 +78,7 @@
78
78
  var tmp1_safe_receiver = tmp;
79
79
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
80
80
  };
81
- protoOf(Companion).z2u = function (singleton) {
81
+ protoOf(Companion).s2w = function (singleton) {
82
82
  var tmp;
83
83
  if (singleton == null) {
84
84
  tmp = null;
@@ -97,7 +97,7 @@
97
97
  var tmp1_safe_receiver = tmp;
98
98
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
99
99
  };
100
- protoOf(Companion).a2v = function (subtag) {
100
+ protoOf(Companion).t2w = function (subtag) {
101
101
  var tmp;
102
102
  if (subtag == null) {
103
103
  tmp = null;
@@ -116,11 +116,11 @@
116
116
  var tmp1_safe_receiver = tmp;
117
117
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
118
118
  };
119
- protoOf(Companion).b2v = function (extensions) {
119
+ protoOf(Companion).u2w = function (extensions) {
120
120
  // Inline function 'kotlin.collections.orEmpty' call
121
121
  // Inline function 'kotlin.collections.ifEmpty' call
122
122
  var tmp;
123
- if (extensions.m()) {
123
+ if (extensions.x()) {
124
124
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensions.<anonymous>' call
125
125
  tmp = null;
126
126
  } else {
@@ -133,28 +133,28 @@
133
133
  } else {
134
134
  // Inline function 'kotlin.collections.mapNotNull' call
135
135
  // Inline function 'kotlin.collections.mapNotNullTo' call
136
- var tmp0_mapNotNullTo = ArrayList_init_$Create$();
136
+ var destination = ArrayList_init_$Create$();
137
137
  // Inline function 'kotlin.collections.forEach' call
138
- var tmp0_iterator = tmp0_safe_receiver.f();
139
- while (tmp0_iterator.g()) {
140
- var element = tmp0_iterator.h();
138
+ var tmp0_iterator = tmp0_safe_receiver.s();
139
+ while (tmp0_iterator.t()) {
140
+ var element = tmp0_iterator.u();
141
141
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
142
- var tmp0_safe_receiver_0 = this.y2u(element);
142
+ var tmp0_safe_receiver_0 = this.r2w(element);
143
143
  if (tmp0_safe_receiver_0 == null)
144
144
  null;
145
145
  else {
146
146
  // Inline function 'kotlin.let' call
147
147
  // Inline function 'kotlin.contracts.contract' call
148
- tmp0_mapNotNullTo.a(tmp0_safe_receiver_0);
148
+ destination.p(tmp0_safe_receiver_0);
149
149
  }
150
150
  }
151
- tmp_0 = tmp0_mapNotNullTo;
151
+ tmp_0 = destination;
152
152
  }
153
153
  var tmp1_safe_receiver = tmp_0;
154
154
  var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
155
155
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
156
156
  };
157
- protoOf(Companion).c2v = function (extlang) {
157
+ protoOf(Companion).v2w = function (extlang) {
158
158
  var tmp;
159
159
  if (extlang == null) {
160
160
  tmp = null;
@@ -173,11 +173,11 @@
173
173
  var tmp1_safe_receiver = tmp;
174
174
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
175
175
  };
176
- protoOf(Companion).d2v = function (extlangs) {
176
+ protoOf(Companion).w2w = function (extlangs) {
177
177
  // Inline function 'kotlin.collections.orEmpty' call
178
178
  // Inline function 'kotlin.collections.ifEmpty' call
179
179
  var tmp;
180
- if (extlangs.m()) {
180
+ if (extlangs.x()) {
181
181
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtlangs.<anonymous>' call
182
182
  tmp = null;
183
183
  } else {
@@ -190,27 +190,27 @@
190
190
  } else {
191
191
  // Inline function 'kotlin.collections.mapNotNull' call
192
192
  // Inline function 'kotlin.collections.mapNotNullTo' call
193
- var tmp0_mapNotNullTo = ArrayList_init_$Create$();
193
+ var destination = ArrayList_init_$Create$();
194
194
  // Inline function 'kotlin.collections.forEach' call
195
- var tmp0_iterator = tmp0_safe_receiver.f();
196
- while (tmp0_iterator.g()) {
197
- var element = tmp0_iterator.h();
195
+ var tmp0_iterator = tmp0_safe_receiver.s();
196
+ while (tmp0_iterator.t()) {
197
+ var element = tmp0_iterator.u();
198
198
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
199
- var tmp0_safe_receiver_0 = this.c2v(element);
199
+ var tmp0_safe_receiver_0 = this.v2w(element);
200
200
  if (tmp0_safe_receiver_0 == null)
201
201
  null;
202
202
  else {
203
203
  // Inline function 'kotlin.let' call
204
204
  // Inline function 'kotlin.contracts.contract' call
205
- tmp0_mapNotNullTo.a(tmp0_safe_receiver_0);
205
+ destination.p(tmp0_safe_receiver_0);
206
206
  }
207
207
  }
208
- tmp_0 = tmp0_mapNotNullTo;
208
+ tmp_0 = destination;
209
209
  }
210
210
  var tmp0_elvis_lhs = tmp_0;
211
211
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
212
212
  };
213
- protoOf(Companion).e2v = function (language) {
213
+ protoOf(Companion).x2w = function (language) {
214
214
  var tmp;
215
215
  if (language == null) {
216
216
  tmp = null;
@@ -229,7 +229,7 @@
229
229
  var tmp1_safe_receiver = tmp;
230
230
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
231
231
  };
232
- protoOf(Companion).f2v = function (privateuse) {
232
+ protoOf(Companion).y2w = function (privateuse) {
233
233
  var tmp;
234
234
  if (privateuse == null) {
235
235
  tmp = null;
@@ -248,7 +248,7 @@
248
248
  var tmp1_safe_receiver = tmp;
249
249
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
250
250
  };
251
- protoOf(Companion).g2v = function (prefix) {
251
+ protoOf(Companion).z2w = function (prefix) {
252
252
  var tmp;
253
253
  if (prefix == null) {
254
254
  tmp = null;
@@ -267,7 +267,7 @@
267
267
  var tmp1_safe_receiver = tmp;
268
268
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
269
269
  };
270
- protoOf(Companion).h2v = function (subtag) {
270
+ protoOf(Companion).a2x = function (subtag) {
271
271
  var tmp;
272
272
  if (subtag == null) {
273
273
  tmp = null;
@@ -286,7 +286,7 @@
286
286
  var tmp1_safe_receiver = tmp;
287
287
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
288
288
  };
289
- protoOf(Companion).i2v = function (region) {
289
+ protoOf(Companion).b2x = function (region) {
290
290
  var tmp;
291
291
  if (region == null) {
292
292
  tmp = null;
@@ -305,7 +305,7 @@
305
305
  var tmp1_safe_receiver = tmp;
306
306
  return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
307
307
  };
308
- protoOf(Companion).j2v = function (script) {
308
+ protoOf(Companion).c2x = function (script) {
309
309
  var tmp;
310
310
  if (script == null) {
311
311
  tmp = null;
@@ -324,7 +324,7 @@
324
324
  var tmp1_safe_receiver = tmp;
325
325
  return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
326
326
  };
327
- protoOf(Companion).k2v = function (variant) {
327
+ protoOf(Companion).d2x = function (variant) {
328
328
  var tmp;
329
329
  if (variant == null) {
330
330
  tmp = null;
@@ -342,11 +342,11 @@
342
342
  }
343
343
  return tmp;
344
344
  };
345
- protoOf(Companion).l2v = function (variants) {
345
+ protoOf(Companion).e2x = function (variants) {
346
346
  // Inline function 'kotlin.collections.orEmpty' call
347
347
  // Inline function 'kotlin.collections.ifEmpty' call
348
348
  var tmp;
349
- if (variants.m()) {
349
+ if (variants.x()) {
350
350
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeVariants.<anonymous>' call
351
351
  tmp = null;
352
352
  } else {
@@ -359,83 +359,83 @@
359
359
  } else {
360
360
  // Inline function 'kotlin.collections.mapNotNull' call
361
361
  // Inline function 'kotlin.collections.mapNotNullTo' call
362
- var tmp0_mapNotNullTo = ArrayList_init_$Create$();
362
+ var destination = ArrayList_init_$Create$();
363
363
  // Inline function 'kotlin.collections.forEach' call
364
- var tmp0_iterator = tmp0_safe_receiver.f();
365
- while (tmp0_iterator.g()) {
366
- var element = tmp0_iterator.h();
364
+ var tmp0_iterator = tmp0_safe_receiver.s();
365
+ while (tmp0_iterator.t()) {
366
+ var element = tmp0_iterator.u();
367
367
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
368
- var tmp0_safe_receiver_0 = this.k2v(element);
368
+ var tmp0_safe_receiver_0 = this.d2x(element);
369
369
  if (tmp0_safe_receiver_0 == null)
370
370
  null;
371
371
  else {
372
372
  // Inline function 'kotlin.let' call
373
373
  // Inline function 'kotlin.contracts.contract' call
374
- tmp0_mapNotNullTo.a(tmp0_safe_receiver_0);
374
+ destination.p(tmp0_safe_receiver_0);
375
375
  }
376
376
  }
377
- tmp_0 = tmp0_mapNotNullTo;
377
+ tmp_0 = destination;
378
378
  }
379
379
  var tmp0_elvis_lhs = tmp_0;
380
380
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
381
381
  };
382
- protoOf(Companion).m2v = function (language, script, region, variants, extlangs, extensions, privateuse) {
383
- var canonicalLanguage = this.e2v(language);
384
- var canonicalScript = this.j2v(script);
385
- var canonicalRegion = this.i2v(region);
386
- var canonicalVariants = this.l2v(variants);
387
- var canonicalExtlangs = this.d2v(extlangs);
388
- var canonicalExtensions = this.b2v(extensions);
389
- var canonicalPrivateuse = this.f2v(privateuse);
382
+ protoOf(Companion).f2x = function (language, script, region, variants, extlangs, extensions, privateuse) {
383
+ var canonicalLanguage = this.x2w(language);
384
+ var canonicalScript = this.c2x(script);
385
+ var canonicalRegion = this.b2x(region);
386
+ var canonicalVariants = this.e2x(variants);
387
+ var canonicalExtlangs = this.w2w(extlangs);
388
+ var canonicalExtensions = this.u2w(extensions);
389
+ var canonicalPrivateuse = this.y2w(privateuse);
390
390
  // Inline function 'kotlin.require' call
391
391
  // Inline function 'kotlin.contracts.contract' call
392
- if (!(!(canonicalLanguage == null) ? this.n2v(canonicalLanguage) : false)) {
392
+ if (!(!(canonicalLanguage == null) ? this.g2x(canonicalLanguage) : false)) {
393
393
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
394
394
  var message = 'Invalid language: ' + language;
395
395
  throw IllegalArgumentException_init_$Create$(toString(message));
396
396
  }
397
397
  // Inline function 'kotlin.require' call
398
398
  // Inline function 'kotlin.contracts.contract' call
399
- if (!(canonicalScript == null ? true : this.o2v(canonicalScript))) {
399
+ if (!(canonicalScript == null ? true : this.h2x(canonicalScript))) {
400
400
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
401
401
  var message_0 = 'Invalid script: ' + script;
402
402
  throw IllegalArgumentException_init_$Create$(toString(message_0));
403
403
  }
404
404
  // Inline function 'kotlin.require' call
405
405
  // Inline function 'kotlin.contracts.contract' call
406
- if (!(canonicalRegion == null ? true : this.p2v(canonicalRegion))) {
406
+ if (!(canonicalRegion == null ? true : this.i2x(canonicalRegion))) {
407
407
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
408
408
  var message_1 = 'Invalid region: ' + region;
409
409
  throw IllegalArgumentException_init_$Create$(toString(message_1));
410
410
  }
411
- var tmp0_iterator = canonicalVariants.f();
412
- while (tmp0_iterator.g()) {
413
- var variant = tmp0_iterator.h();
411
+ var tmp0_iterator = canonicalVariants.s();
412
+ while (tmp0_iterator.t()) {
413
+ var variant = tmp0_iterator.u();
414
414
  // Inline function 'kotlin.require' call
415
415
  // Inline function 'kotlin.contracts.contract' call
416
- if (!this.q2v(variant)) {
416
+ if (!this.j2x(variant)) {
417
417
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
418
418
  var message_2 = 'Invalid variant: ' + variant;
419
419
  throw IllegalArgumentException_init_$Create$(toString(message_2));
420
420
  }
421
421
  }
422
- var tmp1_iterator = canonicalExtlangs.f();
423
- while (tmp1_iterator.g()) {
424
- var extlang = tmp1_iterator.h();
422
+ var tmp1_iterator = canonicalExtlangs.s();
423
+ while (tmp1_iterator.t()) {
424
+ var extlang = tmp1_iterator.u();
425
425
  // Inline function 'kotlin.require' call
426
426
  // Inline function 'kotlin.contracts.contract' call
427
- if (!this.r2v(extlang)) {
427
+ if (!this.k2x(extlang)) {
428
428
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
429
429
  var message_3 = 'Invalid extlang: ' + extlang;
430
430
  throw IllegalArgumentException_init_$Create$(toString(message_3));
431
431
  }
432
432
  }
433
- var tmp2_iterator = canonicalExtensions.f();
434
- while (tmp2_iterator.g()) {
435
- var extension = tmp2_iterator.h();
433
+ var tmp2_iterator = canonicalExtensions.s();
434
+ while (tmp2_iterator.t()) {
435
+ var extension = tmp2_iterator.u();
436
436
  // Inline function 'kotlin.require' call
437
437
  // Inline function 'kotlin.contracts.contract' call
438
- if (!this.s2v(extension)) {
438
+ if (!this.l2x(extension)) {
439
439
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
440
440
  var message_4 = 'Invalid extension: ' + extension;
441
441
  throw IllegalArgumentException_init_$Create$(toString(message_4));
@@ -443,44 +443,44 @@
443
443
  }
444
444
  // Inline function 'kotlin.require' call
445
445
  // Inline function 'kotlin.contracts.contract' call
446
- if (!(canonicalPrivateuse == null ? true : this.t2v(canonicalPrivateuse))) {
446
+ if (!(canonicalPrivateuse == null ? true : this.m2x(canonicalPrivateuse))) {
447
447
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
448
448
  var message_5 = 'Invalid privateuse: ' + privateuse;
449
449
  throw IllegalArgumentException_init_$Create$(toString(message_5));
450
450
  }
451
451
  return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
452
452
  };
453
- protoOf(Companion).u2v = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
453
+ protoOf(Companion).n2x = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
454
454
  script = script === VOID ? null : script;
455
455
  region = region === VOID ? null : region;
456
456
  variants = variants === VOID ? emptyList() : variants;
457
457
  extlangs = extlangs === VOID ? emptyList() : extlangs;
458
458
  extensions = extensions === VOID ? emptyList() : extensions;
459
459
  privateuse = privateuse === VOID ? null : privateuse;
460
- return $super === VOID ? this.m2v(language, script, region, variants, extlangs, extensions, privateuse) : $super.m2v.call(this, language, script, region, variants, extlangs, extensions, privateuse);
460
+ return $super === VOID ? this.f2x(language, script, region, variants, extlangs, extensions, privateuse) : $super.f2x.call(this, language, script, region, variants, extlangs, extensions, privateuse);
461
461
  };
462
- protoOf(Companion).s2v = function (extension) {
463
- var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
464
- if (!this.v2v(tokens.h()))
462
+ protoOf(Companion).l2x = function (extension) {
463
+ var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).s();
464
+ if (!this.o2x(tokens.u()))
465
465
  return false;
466
- if (!tokens.g())
466
+ if (!tokens.t())
467
467
  return false;
468
468
  // Inline function 'kotlin.collections.iterator' call
469
469
  var tmp0_iterator = tokens;
470
- while (tmp0_iterator.g()) {
471
- var token = tmp0_iterator.h();
472
- if (!this.w2v(token))
470
+ while (tmp0_iterator.t()) {
471
+ var token = tmp0_iterator.u();
472
+ if (!this.p2x(token))
473
473
  return false;
474
474
  }
475
475
  return true;
476
476
  };
477
- protoOf(Companion).x2v = function (singleton) {
478
- return isAlphaNumeric(singleton) ? !this.y2v(singleton) : false;
477
+ protoOf(Companion).q2x = function (singleton) {
478
+ return isAlphaNumeric(singleton) ? !this.r2x(singleton) : false;
479
479
  };
480
- protoOf(Companion).v2v = function (singleton) {
481
- return singleton.length === 1 ? this.x2v(charSequenceGet(singleton, 0)) : false;
480
+ protoOf(Companion).o2x = function (singleton) {
481
+ return singleton.length === 1 ? this.q2x(charSequenceGet(singleton, 0)) : false;
482
482
  };
483
- protoOf(Companion).w2v = function (extension) {
483
+ protoOf(Companion).p2x = function (extension) {
484
484
  var tmp;
485
485
  var containsArg = extension.length;
486
486
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -490,10 +490,10 @@
490
490
  }
491
491
  return tmp;
492
492
  };
493
- protoOf(Companion).r2v = function (extlang) {
493
+ protoOf(Companion).k2x = function (extlang) {
494
494
  return extlang.length === 3 ? isAlpha_0(extlang) : false;
495
495
  };
496
- protoOf(Companion).n2v = function (language) {
496
+ protoOf(Companion).g2x = function (language) {
497
497
  var tmp;
498
498
  var containsArg = language.length;
499
499
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -503,28 +503,28 @@
503
503
  }
504
504
  return tmp;
505
505
  };
506
- protoOf(Companion).t2v = function (privateuse) {
507
- var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
508
- if (!this.z2v(tokens.h()))
506
+ protoOf(Companion).m2x = function (privateuse) {
507
+ var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).s();
508
+ if (!this.s2x(tokens.u()))
509
509
  return false;
510
- if (!tokens.g())
510
+ if (!tokens.t())
511
511
  return false;
512
512
  // Inline function 'kotlin.collections.iterator' call
513
513
  var tmp0_iterator = tokens;
514
- while (tmp0_iterator.g()) {
515
- var token = tmp0_iterator.h();
516
- if (!this.a2w(token))
514
+ while (tmp0_iterator.t()) {
515
+ var token = tmp0_iterator.u();
516
+ if (!this.t2x(token))
517
517
  return false;
518
518
  }
519
519
  return true;
520
520
  };
521
- protoOf(Companion).y2v = function (prefix) {
521
+ protoOf(Companion).r2x = function (prefix) {
522
522
  return equals(prefix, _Char___init__impl__6a9atx(120), true);
523
523
  };
524
- protoOf(Companion).z2v = function (prefix) {
525
- return prefix.length === 1 ? this.y2v(charSequenceGet(prefix, 0)) : false;
524
+ protoOf(Companion).s2x = function (prefix) {
525
+ return prefix.length === 1 ? this.r2x(charSequenceGet(prefix, 0)) : false;
526
526
  };
527
- protoOf(Companion).a2w = function (privateuse) {
527
+ protoOf(Companion).t2x = function (privateuse) {
528
528
  var tmp;
529
529
  var containsArg = privateuse.length;
530
530
  if (1 <= containsArg ? containsArg <= 8 : false) {
@@ -534,7 +534,7 @@
534
534
  }
535
535
  return tmp;
536
536
  };
537
- protoOf(Companion).p2v = function (region) {
537
+ protoOf(Companion).i2x = function (region) {
538
538
  switch (region.length) {
539
539
  case 2:
540
540
  return isAlpha_0(region);
@@ -544,17 +544,17 @@
544
544
  return false;
545
545
  }
546
546
  };
547
- protoOf(Companion).o2v = function (script) {
547
+ protoOf(Companion).h2x = function (script) {
548
548
  return script.length === 4 ? isAlpha_0(script) : false;
549
549
  };
550
- protoOf(Companion).q2v = function (variant) {
550
+ protoOf(Companion).j2x = function (variant) {
551
551
  var tmp0_subject = variant.length;
552
552
  return tmp0_subject === 4 ? ((isNumeric(charSequenceGet(variant, 0)) ? isAlphaNumeric(charSequenceGet(variant, 1)) : false) ? isAlphaNumeric(charSequenceGet(variant, 2)) : false) ? isAlphaNumeric(charSequenceGet(variant, 3)) : false : (5 <= tmp0_subject ? tmp0_subject <= 8 : false) ? isAlphaNumeric_0(variant) : false;
553
553
  };
554
- protoOf(Companion).b2w = function (string) {
555
- var tmp0_elvis_lhs = this.x2u_1.f2(toLowerCase_0(string));
554
+ protoOf(Companion).u2x = function (string) {
555
+ var tmp0_elvis_lhs = this.q2w_1.p2(toLowerCase_0(string));
556
556
  var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
557
- var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
557
+ var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).s();
558
558
  var extlangs = null;
559
559
  var extensions = null;
560
560
  var language = null;
@@ -563,66 +563,66 @@
563
563
  var script = null;
564
564
  var variants = null;
565
565
  var token;
566
- token = tokens.h();
567
- if (this.n2v(token)) {
568
- language = this.e2v(token);
566
+ token = tokens.u();
567
+ if (this.g2x(token)) {
568
+ language = this.x2w(token);
569
569
  token = nextOrNull(tokens);
570
- if (!(token == null) ? this.r2v(token) : false) {
570
+ if (!(token == null) ? this.k2x(token) : false) {
571
571
  // Inline function 'kotlin.collections.mutableListOf' call
572
572
  extlangs = ArrayList_init_$Create$();
573
573
  do {
574
- extlangs.a(ensureNotNull(this.c2v(token)));
574
+ extlangs.p(ensureNotNull(this.v2w(token)));
575
575
  token = nextOrNull(tokens);
576
576
  }
577
- while ((!(token == null) ? extlangs.i() < 3 : false) ? this.r2v(token) : false);
577
+ while ((!(token == null) ? extlangs.l() < 3 : false) ? this.k2x(token) : false);
578
578
  }
579
- if (!(token == null) ? this.o2v(token) : false) {
580
- script = this.j2v(token);
579
+ if (!(token == null) ? this.h2x(token) : false) {
580
+ script = this.c2x(token);
581
581
  token = nextOrNull(tokens);
582
582
  }
583
- if (!(token == null) ? this.p2v(token) : false) {
584
- region = this.i2v(token);
583
+ if (!(token == null) ? this.i2x(token) : false) {
584
+ region = this.b2x(token);
585
585
  token = nextOrNull(tokens);
586
586
  }
587
- if (!(token == null) ? this.q2v(token) : false) {
587
+ if (!(token == null) ? this.j2x(token) : false) {
588
588
  // Inline function 'kotlin.collections.mutableListOf' call
589
589
  variants = ArrayList_init_$Create$();
590
590
  do {
591
- variants.a(ensureNotNull(this.k2v(token)));
591
+ variants.p(ensureNotNull(this.d2x(token)));
592
592
  token = nextOrNull(tokens);
593
593
  }
594
- while (!(token == null) ? this.q2v(token) : false);
594
+ while (!(token == null) ? this.j2x(token) : false);
595
595
  }
596
- if (!(token == null) ? this.v2v(token) : false) {
596
+ if (!(token == null) ? this.o2x(token) : false) {
597
597
  // Inline function 'kotlin.collections.mutableListOf' call
598
598
  extensions = ArrayList_init_$Create$();
599
599
  do {
600
- var extensionBuilder = new StringBuilder(ensureNotNull(this.z2u(token)));
600
+ var extensionBuilder = new StringBuilder(ensureNotNull(this.s2w(token)));
601
601
  token = nextOrNull(tokens);
602
- if (!(token == null) ? this.w2v(token) : false) {
602
+ if (!(token == null) ? this.p2x(token) : false) {
603
603
  do {
604
- extensionBuilder.t5(_Char___init__impl__6a9atx(45));
605
- extensionBuilder.dc(this.a2v(token));
604
+ extensionBuilder.o5(_Char___init__impl__6a9atx(45));
605
+ extensionBuilder.n5(this.t2w(token));
606
606
  token = nextOrNull(tokens);
607
607
  }
608
- while (!(token == null) ? this.w2v(token) : false);
608
+ while (!(token == null) ? this.p2x(token) : false);
609
609
  } else
610
610
  return null;
611
- extensions.a(extensionBuilder.toString());
611
+ extensions.p(extensionBuilder.toString());
612
612
  }
613
- while (!(token == null) ? this.v2v(token) : false);
613
+ while (!(token == null) ? this.o2x(token) : false);
614
614
  }
615
615
  }
616
- if (!(token == null) ? this.z2v(token) : false) {
617
- var privateuseBuilder = new StringBuilder(ensureNotNull(this.g2v(token)));
616
+ if (!(token == null) ? this.s2x(token) : false) {
617
+ var privateuseBuilder = new StringBuilder(ensureNotNull(this.z2w(token)));
618
618
  token = nextOrNull(tokens);
619
- if (!(token == null) ? this.a2w(token) : false) {
619
+ if (!(token == null) ? this.t2x(token) : false) {
620
620
  do {
621
- privateuseBuilder.t5(_Char___init__impl__6a9atx(45));
622
- privateuseBuilder.dc(this.h2v(token));
621
+ privateuseBuilder.o5(_Char___init__impl__6a9atx(45));
622
+ privateuseBuilder.n5(this.a2x(token));
623
623
  token = nextOrNull(tokens);
624
624
  }
625
- while (!(token == null) ? this.a2w(token) : false);
625
+ while (!(token == null) ? this.t2x(token) : false);
626
626
  } else
627
627
  return null;
628
628
  privateuse = privateuseBuilder.toString();
@@ -639,10 +639,9 @@
639
639
  var tmp_2 = privateuse;
640
640
  var tmp_3 = region;
641
641
  var tmp_4 = script;
642
- var tmp$ret$5;
643
642
  // Inline function 'kotlin.collections.orEmpty' call
644
643
  var tmp0_elvis_lhs_2 = variants;
645
- tmp$ret$5 = tmp0_elvis_lhs_2 == null ? emptyList() : tmp0_elvis_lhs_2;
644
+ var tmp$ret$5 = tmp0_elvis_lhs_2 == null ? emptyList() : tmp0_elvis_lhs_2;
646
645
  return new LanguageTag(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp$ret$5);
647
646
  };
648
647
  var Companion_instance;
@@ -653,13 +652,13 @@
653
652
  }
654
653
  function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
655
654
  Companion_getInstance();
656
- this.c2w_1 = extensions;
657
- this.d2w_1 = extlangs;
658
- this.e2w_1 = language;
659
- this.f2w_1 = privateuse;
660
- this.g2w_1 = region;
661
- this.h2w_1 = script;
662
- this.i2w_1 = variants;
655
+ this.v2x_1 = extensions;
656
+ this.w2x_1 = extlangs;
657
+ this.x2x_1 = language;
658
+ this.y2x_1 = privateuse;
659
+ this.z2x_1 = region;
660
+ this.a2y_1 = script;
661
+ this.b2y_1 = variants;
663
662
  }
664
663
  protoOf(LanguageTag).equals = function (other) {
665
664
  var tmp;
@@ -674,37 +673,37 @@
674
673
  var tmp_5;
675
674
  var tmp_6;
676
675
  if (other instanceof LanguageTag) {
677
- tmp_6 = equals_0(this.c2w_1, other.c2w_1);
676
+ tmp_6 = equals_0(this.v2x_1, other.v2x_1);
678
677
  } else {
679
678
  tmp_6 = false;
680
679
  }
681
680
  if (tmp_6) {
682
- tmp_5 = equals_0(this.d2w_1, other.d2w_1);
681
+ tmp_5 = equals_0(this.w2x_1, other.w2x_1);
683
682
  } else {
684
683
  tmp_5 = false;
685
684
  }
686
685
  if (tmp_5) {
687
- tmp_4 = this.e2w_1 == other.e2w_1;
686
+ tmp_4 = this.x2x_1 == other.x2x_1;
688
687
  } else {
689
688
  tmp_4 = false;
690
689
  }
691
690
  if (tmp_4) {
692
- tmp_3 = this.f2w_1 == other.f2w_1;
691
+ tmp_3 = this.y2x_1 == other.y2x_1;
693
692
  } else {
694
693
  tmp_3 = false;
695
694
  }
696
695
  if (tmp_3) {
697
- tmp_2 = this.g2w_1 == other.g2w_1;
696
+ tmp_2 = this.z2x_1 == other.z2x_1;
698
697
  } else {
699
698
  tmp_2 = false;
700
699
  }
701
700
  if (tmp_2) {
702
- tmp_1 = this.h2w_1 == other.h2w_1;
701
+ tmp_1 = this.a2y_1 == other.a2y_1;
703
702
  } else {
704
703
  tmp_1 = false;
705
704
  }
706
705
  if (tmp_1) {
707
- tmp_0 = equals_2(this.i2w_1, other.i2w_1, true);
706
+ tmp_0 = equals_2(this.b2y_1, other.b2y_1, true);
708
707
  } else {
709
708
  tmp_0 = false;
710
709
  }
@@ -713,38 +712,38 @@
713
712
  return tmp;
714
713
  };
715
714
  protoOf(LanguageTag).hashCode = function () {
716
- var result = hashCode(this.c2w_1);
717
- result = imul(31, result) + hashCode(this.d2w_1) | 0;
715
+ var result = hashCode(this.v2x_1);
716
+ result = imul(31, result) + hashCode(this.w2x_1) | 0;
718
717
  var tmp = imul(31, result);
719
718
  // Inline function 'kotlin.hashCode' call
720
- var tmp0_safe_receiver = this.e2w_1;
719
+ var tmp0_safe_receiver = this.x2x_1;
721
720
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
722
721
  result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
723
722
  var tmp_0 = imul(31, result);
724
723
  // Inline function 'kotlin.hashCode' call
725
- var tmp0_safe_receiver_0 = this.f2w_1;
724
+ var tmp0_safe_receiver_0 = this.y2x_1;
726
725
  var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
727
726
  result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
728
727
  var tmp_1 = imul(31, result);
729
728
  // Inline function 'kotlin.hashCode' call
730
- var tmp0_safe_receiver_1 = this.g2w_1;
729
+ var tmp0_safe_receiver_1 = this.z2x_1;
731
730
  var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
732
731
  result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
733
732
  var tmp_2 = imul(31, result);
734
733
  // Inline function 'kotlin.hashCode' call
735
- var tmp0_safe_receiver_2 = this.h2w_1;
734
+ var tmp0_safe_receiver_2 = this.a2y_1;
736
735
  var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
737
736
  result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
738
737
  var tmp_3 = imul(31, result);
739
738
  // Inline function 'kotlin.hashCode' call
740
739
  // Inline function 'kotlin.collections.ifEmpty' call
741
- var tmp4_ifEmpty = this.i2w_1;
740
+ var this_0 = this.b2y_1;
742
741
  var tmp_4;
743
- if (tmp4_ifEmpty.m()) {
742
+ if (this_0.x()) {
744
743
  // Inline function 'io.fluidsonic.locale.LanguageTag.hashCode.<anonymous>' call
745
744
  tmp_4 = null;
746
745
  } else {
747
- tmp_4 = tmp4_ifEmpty;
746
+ tmp_4 = this_0;
748
747
  }
749
748
  var tmp0_safe_receiver_3 = tmp_4;
750
749
  var tmp_5;
@@ -753,15 +752,14 @@
753
752
  } else {
754
753
  // Inline function 'kotlin.collections.map' call
755
754
  // Inline function 'kotlin.collections.mapTo' call
756
- var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_safe_receiver_3, 10));
757
- var tmp0_iterator = tmp0_safe_receiver_3.f();
758
- while (tmp0_iterator.g()) {
759
- var item = tmp0_iterator.h();
760
- var tmp$ret$6;
761
- tmp$ret$6 = toLowerCase_0(item);
762
- tmp0_mapTo.a(tmp$ret$6);
755
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_safe_receiver_3, 10));
756
+ var tmp0_iterator = tmp0_safe_receiver_3.s();
757
+ while (tmp0_iterator.t()) {
758
+ var item = tmp0_iterator.u();
759
+ var tmp$ret$6 = toLowerCase_0(item);
760
+ destination.p(tmp$ret$6);
763
761
  }
764
- tmp_5 = tmp0_mapTo;
762
+ tmp_5 = destination;
765
763
  }
766
764
  var tmp0_safe_receiver_4 = tmp_5;
767
765
  var tmp1_elvis_lhs_3 = tmp0_safe_receiver_4 == null ? null : hashCode(tmp0_safe_receiver_4);
@@ -772,72 +770,66 @@
772
770
  // Inline function 'kotlin.text.buildString' call
773
771
  // Inline function 'kotlin.contracts.contract' call
774
772
  // Inline function 'kotlin.apply' call
775
- var tmp0_apply = StringBuilder_init_$Create$();
773
+ var this_0 = StringBuilder_init_$Create$();
776
774
  // Inline function 'kotlin.contracts.contract' call
777
775
  // Inline function 'io.fluidsonic.locale.LanguageTag.toString.<anonymous>' call
778
- if (!(this.e2w_1 == null)) {
779
- tmp0_apply.dc(this.e2w_1);
780
- var tmp0_iterator = this.d2w_1.f();
781
- while (tmp0_iterator.g()) {
782
- var extlang = tmp0_iterator.h();
783
- Companion_getInstance();
784
- tmp0_apply.t5(_Char___init__impl__6a9atx(45));
785
- tmp0_apply.dc(extlang);
776
+ if (!(this.x2x_1 == null)) {
777
+ this_0.n5(this.x2x_1);
778
+ var tmp0_iterator = this.w2x_1.s();
779
+ while (tmp0_iterator.t()) {
780
+ var extlang = tmp0_iterator.u();
781
+ this_0.o5(_Char___init__impl__6a9atx(45));
782
+ this_0.n5(extlang);
786
783
  }
787
- if (!(this.h2w_1 == null)) {
788
- Companion_getInstance();
789
- tmp0_apply.t5(_Char___init__impl__6a9atx(45));
790
- tmp0_apply.dc(this.h2w_1);
784
+ if (!(this.a2y_1 == null)) {
785
+ this_0.o5(_Char___init__impl__6a9atx(45));
786
+ this_0.n5(this.a2y_1);
791
787
  }
792
- if (!(this.g2w_1 == null)) {
793
- Companion_getInstance();
794
- tmp0_apply.t5(_Char___init__impl__6a9atx(45));
795
- tmp0_apply.dc(this.g2w_1);
788
+ if (!(this.z2x_1 == null)) {
789
+ this_0.o5(_Char___init__impl__6a9atx(45));
790
+ this_0.n5(this.z2x_1);
796
791
  }
797
- var tmp1_iterator = this.i2w_1.f();
798
- while (tmp1_iterator.g()) {
799
- var variant = tmp1_iterator.h();
800
- Companion_getInstance();
801
- tmp0_apply.t5(_Char___init__impl__6a9atx(45));
802
- tmp0_apply.dc(variant);
792
+ var tmp1_iterator = this.b2y_1.s();
793
+ while (tmp1_iterator.t()) {
794
+ var variant = tmp1_iterator.u();
795
+ this_0.o5(_Char___init__impl__6a9atx(45));
796
+ this_0.n5(variant);
803
797
  }
804
- var tmp2_iterator = this.c2w_1.f();
805
- while (tmp2_iterator.g()) {
806
- var extension = tmp2_iterator.h();
807
- Companion_getInstance();
808
- tmp0_apply.t5(_Char___init__impl__6a9atx(45));
809
- tmp0_apply.dc(extension);
798
+ var tmp2_iterator = this.v2x_1.s();
799
+ while (tmp2_iterator.t()) {
800
+ var extension = tmp2_iterator.u();
801
+ this_0.o5(_Char___init__impl__6a9atx(45));
802
+ this_0.n5(extension);
810
803
  }
811
804
  }
812
- if (!(this.f2w_1 == null)) {
805
+ if (!(this.y2x_1 == null)) {
813
806
  // Inline function 'kotlin.text.isNotEmpty' call
814
- if (charSequenceLength(tmp0_apply) > 0) {
815
- Companion_getInstance();
816
- tmp0_apply.t5(_Char___init__impl__6a9atx(45));
807
+ if (charSequenceLength(this_0) > 0) {
808
+ this_0.o5(_Char___init__impl__6a9atx(45));
817
809
  }
818
- tmp0_apply.dc(this.f2w_1);
810
+ this_0.n5(this.y2x_1);
819
811
  }
820
- return tmp0_apply.toString();
812
+ return this_0.toString();
821
813
  };
822
814
  function Companion_0() {
823
815
  Companion_instance_0 = this;
824
816
  var tmp = this;
825
817
  var tmp_0 = Companion_getInstance();
826
818
  Companion_getInstance();
827
- tmp.j2w_1 = new Locale(tmp_0.u2v('und'));
819
+ tmp.c2y_1 = new Locale(tmp_0.n2x('und'));
828
820
  }
829
- protoOf(Companion_0).k2w = function (tag) {
830
- return tag.equals(this.j2w_1.l2w_1) ? this.j2w_1 : new Locale(tag);
821
+ protoOf(Companion_0).d2y = function (tag) {
822
+ return tag.equals(this.c2y_1.e2y_1) ? this.c2y_1 : new Locale(tag);
831
823
  };
832
- protoOf(Companion_0).m2w = function (tag) {
833
- var tmp0_safe_receiver = Companion_getInstance().b2w(tag);
824
+ protoOf(Companion_0).f2y = function (tag) {
825
+ var tmp0_safe_receiver = Companion_getInstance().u2x(tag);
834
826
  var tmp;
835
827
  if (tmp0_safe_receiver == null) {
836
828
  tmp = null;
837
829
  } else {
838
830
  // Inline function 'kotlin.let' call
839
831
  // Inline function 'kotlin.contracts.contract' call
840
- tmp = this.k2w(tmp0_safe_receiver);
832
+ tmp = this.d2y(tmp0_safe_receiver);
841
833
  }
842
834
  return tmp;
843
835
  };
@@ -849,7 +841,7 @@
849
841
  }
850
842
  function Locale(languageTag) {
851
843
  Companion_getInstance_0();
852
- this.l2w_1 = languageTag;
844
+ this.e2y_1 = languageTag;
853
845
  }
854
846
  protoOf(Locale).equals = function (other) {
855
847
  var tmp;
@@ -858,7 +850,7 @@
858
850
  } else {
859
851
  var tmp_0;
860
852
  if (other instanceof Locale) {
861
- tmp_0 = this.l2w_1.equals(other.l2w_1);
853
+ tmp_0 = this.e2y_1.equals(other.e2y_1);
862
854
  } else {
863
855
  tmp_0 = false;
864
856
  }
@@ -867,10 +859,10 @@
867
859
  return tmp;
868
860
  };
869
861
  protoOf(Locale).hashCode = function () {
870
- return this.l2w_1.hashCode();
862
+ return this.e2y_1.hashCode();
871
863
  };
872
864
  protoOf(Locale).toString = function () {
873
- return this.l2w_1.toString();
865
+ return this.e2y_1.toString();
874
866
  };
875
867
  function isAlphaNumeric(_this__u8e3s4) {
876
868
  return isAlpha(_this__u8e3s4) ? true : isNumeric(_this__u8e3s4);
@@ -894,21 +886,21 @@
894
886
  return (_Char___init__impl__6a9atx(97) <= _this__u8e3s4 ? _this__u8e3s4 <= _Char___init__impl__6a9atx(122) : false) ? true : _Char___init__impl__6a9atx(65) <= _this__u8e3s4 ? _this__u8e3s4 <= _Char___init__impl__6a9atx(90) : false;
895
887
  }
896
888
  function nextOrNull(_this__u8e3s4) {
897
- return _this__u8e3s4.g() ? _this__u8e3s4.h() : null;
889
+ return _this__u8e3s4.t() ? _this__u8e3s4.u() : null;
898
890
  }
899
891
  function equals_2(_this__u8e3s4, other, ignoreCase) {
900
- if (!(_this__u8e3s4.i() === other.i()))
892
+ if (!(_this__u8e3s4.l() === other.l()))
901
893
  return false;
902
894
  // Inline function 'kotlin.collections.forEachIndexed' call
903
895
  var index = 0;
904
- var tmp0_iterator = _this__u8e3s4.f();
905
- while (tmp0_iterator.g()) {
906
- var item = tmp0_iterator.h();
896
+ var tmp0_iterator = _this__u8e3s4.s();
897
+ while (tmp0_iterator.t()) {
898
+ var item = tmp0_iterator.u();
907
899
  // Inline function 'io.fluidsonic.locale.equals.<anonymous>' call
908
900
  var tmp1 = index;
909
901
  index = tmp1 + 1 | 0;
910
- var tmp0_anonymous = checkIndexOverflow(tmp1);
911
- if (!equals_1(item, other.k(tmp0_anonymous), ignoreCase))
902
+ var index_0 = checkIndexOverflow(tmp1);
903
+ if (!equals_1(item, other.b1(index_0), ignoreCase))
912
904
  return false;
913
905
  }
914
906
  return true;
@@ -918,8 +910,7 @@
918
910
  $l$block: {
919
911
  // Inline function 'kotlin.text.all' call
920
912
  var inductionVariable = 0;
921
- var last = _this__u8e3s4.length;
922
- while (inductionVariable < last) {
913
+ while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
923
914
  var element = charSequenceGet(_this__u8e3s4, inductionVariable);
924
915
  inductionVariable = inductionVariable + 1 | 0;
925
916
  if (!isLowerCase(element)) {
@@ -936,8 +927,8 @@
936
927
  // Inline function 'kotlin.collections.forEachIndexed' call
937
928
  var index = 0;
938
929
  var inductionVariable_0 = 0;
939
- var last_0 = characters.length;
940
- while (inductionVariable_0 < last_0) {
930
+ var last = characters.length;
931
+ while (inductionVariable_0 < last) {
941
932
  var item = characters[inductionVariable_0];
942
933
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
943
934
  // Inline function 'io.fluidsonic.locale.mapCharacters.<anonymous>' call
@@ -952,8 +943,7 @@
952
943
  $l$block: {
953
944
  // Inline function 'kotlin.text.all' call
954
945
  var inductionVariable = 0;
955
- var last = _this__u8e3s4.length;
956
- while (inductionVariable < last) {
946
+ while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
957
947
  var element = charSequenceGet(_this__u8e3s4, inductionVariable);
958
948
  inductionVariable = inductionVariable + 1 | 0;
959
949
  if (!isUpperCase(element)) {
@@ -970,8 +960,8 @@
970
960
  // Inline function 'kotlin.collections.forEachIndexed' call
971
961
  var index = 0;
972
962
  var inductionVariable_0 = 0;
973
- var last_0 = characters.length;
974
- while (inductionVariable_0 < last_0) {
963
+ var last = characters.length;
964
+ while (inductionVariable_0 < last) {
975
965
  var item = characters[inductionVariable_0];
976
966
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
977
967
  // Inline function 'io.fluidsonic.locale.mapCharacters.<anonymous>' call
@@ -986,8 +976,7 @@
986
976
  // Inline function 'kotlin.text.forEachIndexed' call
987
977
  var index = 0;
988
978
  var inductionVariable = 0;
989
- var last = _this__u8e3s4.length;
990
- while (inductionVariable < last) {
979
+ while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
991
980
  var item = charSequenceGet(_this__u8e3s4, inductionVariable);
992
981
  inductionVariable = inductionVariable + 1 | 0;
993
982
  // Inline function 'io.fluidsonic.locale.toUppercaseFirstLowercaseRest.<anonymous>' call
@@ -1006,8 +995,8 @@
1006
995
  // Inline function 'kotlin.collections.forEachIndexed' call
1007
996
  var index_0 = 0;
1008
997
  var inductionVariable_0 = 0;
1009
- var last_0 = characters.length;
1010
- while (inductionVariable_0 < last_0) {
998
+ var last = characters.length;
999
+ while (inductionVariable_0 < last) {
1011
1000
  var item_0 = characters[inductionVariable_0];
1012
1001
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
1013
1002
  // Inline function 'io.fluidsonic.locale.mapCharactersIndexed.<anonymous>' call
@@ -1023,8 +1012,7 @@
1023
1012
  $l$block: {
1024
1013
  // Inline function 'kotlin.text.all' call
1025
1014
  var inductionVariable = 0;
1026
- var last = _this__u8e3s4.length;
1027
- while (inductionVariable < last) {
1015
+ while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
1028
1016
  var element = charSequenceGet(_this__u8e3s4, inductionVariable);
1029
1017
  inductionVariable = inductionVariable + 1 | 0;
1030
1018
  if (!isAlphaNumeric(element)) {
@@ -1041,8 +1029,7 @@
1041
1029
  $l$block: {
1042
1030
  // Inline function 'kotlin.text.all' call
1043
1031
  var inductionVariable = 0;
1044
- var last = _this__u8e3s4.length;
1045
- while (inductionVariable < last) {
1032
+ while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
1046
1033
  var element = charSequenceGet(_this__u8e3s4, inductionVariable);
1047
1034
  inductionVariable = inductionVariable + 1 | 0;
1048
1035
  if (!isAlpha(element)) {
@@ -1059,8 +1046,7 @@
1059
1046
  $l$block: {
1060
1047
  // Inline function 'kotlin.text.all' call
1061
1048
  var inductionVariable = 0;
1062
- var last = _this__u8e3s4.length;
1063
- while (inductionVariable < last) {
1049
+ while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
1064
1050
  var element = charSequenceGet(_this__u8e3s4, inductionVariable);
1065
1051
  inductionVariable = inductionVariable + 1 | 0;
1066
1052
  if (!isNumeric(element)) {