@cruglobal/godtools-shared 1.0.2-SNAPSHOT.1544 → 1.0.2-SNAPSHOT.1546
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/Kermit-kermit-core.js +49 -49
- package/Kermit-kermit.js +11 -11
- package/antlr-kotlin-antlr-kotlin-runtime.js +3754 -3461
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +875 -875
- package/fluid-locale.js +154 -154
- package/kotlin-js.js +138 -5
- package/kotlin-js.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +603 -500
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +542 -431
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2096 -2096
- package/kotlin-mpp-godtools-tool-parser-module-state.js +119 -119
- package/kotlinx-atomicfu.js +20 -20
- package/kotlinx-coroutines-core.js +2153 -2153
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/fluid-locale.js
CHANGED
|
@@ -13,38 +13,38 @@
|
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
17
|
-
var to = kotlin_kotlin.$_$.
|
|
18
|
-
var hashMapOf = kotlin_kotlin.$_$.
|
|
19
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
16
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
|
|
17
|
+
var to = kotlin_kotlin.$_$.w9;
|
|
18
|
+
var hashMapOf = kotlin_kotlin.$_$.v3;
|
|
19
|
+
var charSequenceLength = kotlin_kotlin.$_$.w5;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.s6;
|
|
21
21
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
22
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
23
|
-
var sorted = kotlin_kotlin.$_$.
|
|
24
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
25
|
-
var toString = kotlin_kotlin.$_$.
|
|
26
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
22
|
+
var Unit_instance = kotlin_kotlin.$_$.o2;
|
|
23
|
+
var sorted = kotlin_kotlin.$_$.s4;
|
|
24
|
+
var emptyList = kotlin_kotlin.$_$.n3;
|
|
25
|
+
var toString = kotlin_kotlin.$_$.w6;
|
|
26
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.d;
|
|
28
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
29
|
-
var splitToSequence = kotlin_kotlin.$_$.
|
|
30
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
31
|
-
var equals = kotlin_kotlin.$_$.
|
|
32
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
33
|
-
var StringBuilder = kotlin_kotlin.$_$.
|
|
34
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
35
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
36
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
37
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
38
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
28
|
+
var charArrayOf = kotlin_kotlin.$_$.u5;
|
|
29
|
+
var splitToSequence = kotlin_kotlin.$_$.d8;
|
|
30
|
+
var charSequenceGet = kotlin_kotlin.$_$.v5;
|
|
31
|
+
var equals = kotlin_kotlin.$_$.u7;
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.o9;
|
|
33
|
+
var StringBuilder = kotlin_kotlin.$_$.n7;
|
|
34
|
+
var objectMeta = kotlin_kotlin.$_$.r6;
|
|
35
|
+
var setMetadataFor = kotlin_kotlin.$_$.t6;
|
|
36
|
+
var equals_0 = kotlin_kotlin.$_$.a6;
|
|
37
|
+
var hashCode = kotlin_kotlin.$_$.g6;
|
|
38
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.d3;
|
|
39
39
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
|
|
40
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
41
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
42
|
-
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.
|
|
43
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
44
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
45
|
-
var equals_1 = kotlin_kotlin.$_$.
|
|
46
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
47
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
40
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
41
|
+
var classMeta = kotlin_kotlin.$_$.x5;
|
|
42
|
+
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.v1;
|
|
43
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.u1;
|
|
44
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.c3;
|
|
45
|
+
var equals_1 = kotlin_kotlin.$_$.t7;
|
|
46
|
+
var toCharArray = kotlin_kotlin.$_$.j8;
|
|
47
|
+
var concatToString = kotlin_kotlin.$_$.o7;
|
|
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.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
57
|
+
this.a34_1 = _Char___init__impl__6a9atx(120);
|
|
58
|
+
this.b34_1 = _Char___init__impl__6a9atx(45);
|
|
59
|
+
this.c34_1 = 'und';
|
|
60
|
+
this.d34_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).
|
|
62
|
+
protoOf(Companion).e34 = 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).
|
|
81
|
+
protoOf(Companion).f34 = 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).
|
|
100
|
+
protoOf(Companion).g34 = function (subtag) {
|
|
101
101
|
var tmp;
|
|
102
102
|
if (subtag == null) {
|
|
103
103
|
tmp = null;
|
|
@@ -116,7 +116,7 @@
|
|
|
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).
|
|
119
|
+
protoOf(Companion).h34 = function (extensions) {
|
|
120
120
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
121
121
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
122
122
|
var tmp;
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
while (tmp0_iterator.t()) {
|
|
140
140
|
var element = tmp0_iterator.u();
|
|
141
141
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
142
|
-
var tmp0_safe_receiver_0 = this.
|
|
142
|
+
var tmp0_safe_receiver_0 = this.e34(element);
|
|
143
143
|
if (tmp0_safe_receiver_0 == null)
|
|
144
144
|
null;
|
|
145
145
|
else {
|
|
@@ -154,7 +154,7 @@
|
|
|
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).
|
|
157
|
+
protoOf(Companion).i34 = function (extlang) {
|
|
158
158
|
var tmp;
|
|
159
159
|
if (extlang == null) {
|
|
160
160
|
tmp = null;
|
|
@@ -173,7 +173,7 @@
|
|
|
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).
|
|
176
|
+
protoOf(Companion).j34 = function (extlangs) {
|
|
177
177
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
178
178
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
179
179
|
var tmp;
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
while (tmp0_iterator.t()) {
|
|
197
197
|
var element = tmp0_iterator.u();
|
|
198
198
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
199
|
-
var tmp0_safe_receiver_0 = this.
|
|
199
|
+
var tmp0_safe_receiver_0 = this.i34(element);
|
|
200
200
|
if (tmp0_safe_receiver_0 == null)
|
|
201
201
|
null;
|
|
202
202
|
else {
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
var tmp0_elvis_lhs = tmp_0;
|
|
211
211
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
212
212
|
};
|
|
213
|
-
protoOf(Companion).
|
|
213
|
+
protoOf(Companion).k34 = 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).
|
|
232
|
+
protoOf(Companion).l34 = 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).
|
|
251
|
+
protoOf(Companion).m34 = 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).
|
|
270
|
+
protoOf(Companion).n34 = 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).
|
|
289
|
+
protoOf(Companion).o34 = 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).
|
|
308
|
+
protoOf(Companion).p34 = 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).
|
|
327
|
+
protoOf(Companion).q34 = function (variant) {
|
|
328
328
|
var tmp;
|
|
329
329
|
if (variant == null) {
|
|
330
330
|
tmp = null;
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
}
|
|
343
343
|
return tmp;
|
|
344
344
|
};
|
|
345
|
-
protoOf(Companion).
|
|
345
|
+
protoOf(Companion).r34 = function (variants) {
|
|
346
346
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
347
347
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
348
348
|
var tmp;
|
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
while (tmp0_iterator.t()) {
|
|
366
366
|
var element = tmp0_iterator.u();
|
|
367
367
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
368
|
-
var tmp0_safe_receiver_0 = this.
|
|
368
|
+
var tmp0_safe_receiver_0 = this.q34(element);
|
|
369
369
|
if (tmp0_safe_receiver_0 == null)
|
|
370
370
|
null;
|
|
371
371
|
else {
|
|
@@ -379,31 +379,31 @@
|
|
|
379
379
|
var tmp0_elvis_lhs = tmp_0;
|
|
380
380
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
381
381
|
};
|
|
382
|
-
protoOf(Companion).
|
|
383
|
-
var canonicalLanguage = this.
|
|
384
|
-
var canonicalScript = this.
|
|
385
|
-
var canonicalRegion = this.
|
|
386
|
-
var canonicalVariants = this.
|
|
387
|
-
var canonicalExtlangs = this.
|
|
388
|
-
var canonicalExtensions = this.
|
|
389
|
-
var canonicalPrivateuse = this.
|
|
382
|
+
protoOf(Companion).s34 = function (language, script, region, variants, extlangs, extensions, privateuse) {
|
|
383
|
+
var canonicalLanguage = this.k34(language);
|
|
384
|
+
var canonicalScript = this.p34(script);
|
|
385
|
+
var canonicalRegion = this.o34(region);
|
|
386
|
+
var canonicalVariants = this.r34(variants);
|
|
387
|
+
var canonicalExtlangs = this.j34(extlangs);
|
|
388
|
+
var canonicalExtensions = this.h34(extensions);
|
|
389
|
+
var canonicalPrivateuse = this.l34(privateuse);
|
|
390
390
|
// Inline function 'kotlin.require' call
|
|
391
391
|
// Inline function 'kotlin.contracts.contract' call
|
|
392
|
-
if (!(!(canonicalLanguage == null) ? this.
|
|
392
|
+
if (!(!(canonicalLanguage == null) ? this.t34(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.
|
|
399
|
+
if (!(canonicalScript == null ? true : this.u34(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.
|
|
406
|
+
if (!(canonicalRegion == null ? true : this.v34(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));
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
var variant = tmp0_iterator.u();
|
|
414
414
|
// Inline function 'kotlin.require' call
|
|
415
415
|
// Inline function 'kotlin.contracts.contract' call
|
|
416
|
-
if (!this.
|
|
416
|
+
if (!this.w34(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));
|
|
@@ -424,7 +424,7 @@
|
|
|
424
424
|
var extlang = tmp1_iterator.u();
|
|
425
425
|
// Inline function 'kotlin.require' call
|
|
426
426
|
// Inline function 'kotlin.contracts.contract' call
|
|
427
|
-
if (!this.
|
|
427
|
+
if (!this.x34(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));
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
var extension = tmp2_iterator.u();
|
|
436
436
|
// Inline function 'kotlin.require' call
|
|
437
437
|
// Inline function 'kotlin.contracts.contract' call
|
|
438
|
-
if (!this.
|
|
438
|
+
if (!this.y34(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,25 +443,25 @@
|
|
|
443
443
|
}
|
|
444
444
|
// Inline function 'kotlin.require' call
|
|
445
445
|
// Inline function 'kotlin.contracts.contract' call
|
|
446
|
-
if (!(canonicalPrivateuse == null ? true : this.
|
|
446
|
+
if (!(canonicalPrivateuse == null ? true : this.z34(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).
|
|
453
|
+
protoOf(Companion).a35 = 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.
|
|
460
|
+
return $super === VOID ? this.s34(language, script, region, variants, extlangs, extensions, privateuse) : $super.s34.call(this, language, script, region, variants, extlangs, extensions, privateuse);
|
|
461
461
|
};
|
|
462
|
-
protoOf(Companion).
|
|
462
|
+
protoOf(Companion).y34 = function (extension) {
|
|
463
463
|
var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).s();
|
|
464
|
-
if (!this.
|
|
464
|
+
if (!this.b35(tokens.u()))
|
|
465
465
|
return false;
|
|
466
466
|
if (!tokens.t())
|
|
467
467
|
return false;
|
|
@@ -469,18 +469,18 @@
|
|
|
469
469
|
var tmp0_iterator = tokens;
|
|
470
470
|
while (tmp0_iterator.t()) {
|
|
471
471
|
var token = tmp0_iterator.u();
|
|
472
|
-
if (!this.
|
|
472
|
+
if (!this.c35(token))
|
|
473
473
|
return false;
|
|
474
474
|
}
|
|
475
475
|
return true;
|
|
476
476
|
};
|
|
477
|
-
protoOf(Companion).
|
|
478
|
-
return isAlphaNumeric(singleton) ? !this.
|
|
477
|
+
protoOf(Companion).d35 = function (singleton) {
|
|
478
|
+
return isAlphaNumeric(singleton) ? !this.e35(singleton) : false;
|
|
479
479
|
};
|
|
480
|
-
protoOf(Companion).
|
|
481
|
-
return singleton.length === 1 ? this.
|
|
480
|
+
protoOf(Companion).b35 = function (singleton) {
|
|
481
|
+
return singleton.length === 1 ? this.d35(charSequenceGet(singleton, 0)) : false;
|
|
482
482
|
};
|
|
483
|
-
protoOf(Companion).
|
|
483
|
+
protoOf(Companion).c35 = 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).
|
|
493
|
+
protoOf(Companion).x34 = function (extlang) {
|
|
494
494
|
return extlang.length === 3 ? isAlpha_0(extlang) : false;
|
|
495
495
|
};
|
|
496
|
-
protoOf(Companion).
|
|
496
|
+
protoOf(Companion).t34 = function (language) {
|
|
497
497
|
var tmp;
|
|
498
498
|
var containsArg = language.length;
|
|
499
499
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -503,9 +503,9 @@
|
|
|
503
503
|
}
|
|
504
504
|
return tmp;
|
|
505
505
|
};
|
|
506
|
-
protoOf(Companion).
|
|
506
|
+
protoOf(Companion).z34 = function (privateuse) {
|
|
507
507
|
var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).s();
|
|
508
|
-
if (!this.
|
|
508
|
+
if (!this.f35(tokens.u()))
|
|
509
509
|
return false;
|
|
510
510
|
if (!tokens.t())
|
|
511
511
|
return false;
|
|
@@ -513,18 +513,18 @@
|
|
|
513
513
|
var tmp0_iterator = tokens;
|
|
514
514
|
while (tmp0_iterator.t()) {
|
|
515
515
|
var token = tmp0_iterator.u();
|
|
516
|
-
if (!this.
|
|
516
|
+
if (!this.g35(token))
|
|
517
517
|
return false;
|
|
518
518
|
}
|
|
519
519
|
return true;
|
|
520
520
|
};
|
|
521
|
-
protoOf(Companion).
|
|
521
|
+
protoOf(Companion).e35 = function (prefix) {
|
|
522
522
|
return equals(prefix, _Char___init__impl__6a9atx(120), true);
|
|
523
523
|
};
|
|
524
|
-
protoOf(Companion).
|
|
525
|
-
return prefix.length === 1 ? this.
|
|
524
|
+
protoOf(Companion).f35 = function (prefix) {
|
|
525
|
+
return prefix.length === 1 ? this.e35(charSequenceGet(prefix, 0)) : false;
|
|
526
526
|
};
|
|
527
|
-
protoOf(Companion).
|
|
527
|
+
protoOf(Companion).g35 = 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).
|
|
537
|
+
protoOf(Companion).v34 = function (region) {
|
|
538
538
|
switch (region.length) {
|
|
539
539
|
case 2:
|
|
540
540
|
return isAlpha_0(region);
|
|
@@ -544,15 +544,15 @@
|
|
|
544
544
|
return false;
|
|
545
545
|
}
|
|
546
546
|
};
|
|
547
|
-
protoOf(Companion).
|
|
547
|
+
protoOf(Companion).u34 = function (script) {
|
|
548
548
|
return script.length === 4 ? isAlpha_0(script) : false;
|
|
549
549
|
};
|
|
550
|
-
protoOf(Companion).
|
|
550
|
+
protoOf(Companion).w34 = 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).
|
|
555
|
-
var tmp0_elvis_lhs = this.
|
|
554
|
+
protoOf(Companion).h35 = function (string) {
|
|
555
|
+
var tmp0_elvis_lhs = this.d34_1.q2(toLowerCase_0(string));
|
|
556
556
|
var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
|
|
557
557
|
var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).s();
|
|
558
558
|
var extlangs = null;
|
|
@@ -564,65 +564,65 @@
|
|
|
564
564
|
var variants = null;
|
|
565
565
|
var token;
|
|
566
566
|
token = tokens.u();
|
|
567
|
-
if (this.
|
|
568
|
-
language = this.
|
|
567
|
+
if (this.t34(token)) {
|
|
568
|
+
language = this.k34(token);
|
|
569
569
|
token = nextOrNull(tokens);
|
|
570
|
-
if (!(token == null) ? this.
|
|
570
|
+
if (!(token == null) ? this.x34(token) : false) {
|
|
571
571
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
572
572
|
extlangs = ArrayList_init_$Create$();
|
|
573
573
|
do {
|
|
574
|
-
extlangs.p(ensureNotNull(this.
|
|
574
|
+
extlangs.p(ensureNotNull(this.i34(token)));
|
|
575
575
|
token = nextOrNull(tokens);
|
|
576
576
|
}
|
|
577
|
-
while ((!(token == null) ? extlangs.l() < 3 : false) ? this.
|
|
577
|
+
while ((!(token == null) ? extlangs.l() < 3 : false) ? this.x34(token) : false);
|
|
578
578
|
}
|
|
579
|
-
if (!(token == null) ? this.
|
|
580
|
-
script = this.
|
|
579
|
+
if (!(token == null) ? this.u34(token) : false) {
|
|
580
|
+
script = this.p34(token);
|
|
581
581
|
token = nextOrNull(tokens);
|
|
582
582
|
}
|
|
583
|
-
if (!(token == null) ? this.
|
|
584
|
-
region = this.
|
|
583
|
+
if (!(token == null) ? this.v34(token) : false) {
|
|
584
|
+
region = this.o34(token);
|
|
585
585
|
token = nextOrNull(tokens);
|
|
586
586
|
}
|
|
587
|
-
if (!(token == null) ? this.
|
|
587
|
+
if (!(token == null) ? this.w34(token) : false) {
|
|
588
588
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
589
589
|
variants = ArrayList_init_$Create$();
|
|
590
590
|
do {
|
|
591
|
-
variants.p(ensureNotNull(this.
|
|
591
|
+
variants.p(ensureNotNull(this.q34(token)));
|
|
592
592
|
token = nextOrNull(tokens);
|
|
593
593
|
}
|
|
594
|
-
while (!(token == null) ? this.
|
|
594
|
+
while (!(token == null) ? this.w34(token) : false);
|
|
595
595
|
}
|
|
596
|
-
if (!(token == null) ? this.
|
|
596
|
+
if (!(token == null) ? this.b35(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.
|
|
600
|
+
var extensionBuilder = new StringBuilder(ensureNotNull(this.f34(token)));
|
|
601
601
|
token = nextOrNull(tokens);
|
|
602
|
-
if (!(token == null) ? this.
|
|
602
|
+
if (!(token == null) ? this.c35(token) : false) {
|
|
603
603
|
do {
|
|
604
604
|
extensionBuilder.n5(_Char___init__impl__6a9atx(45));
|
|
605
|
-
extensionBuilder.m5(this.
|
|
605
|
+
extensionBuilder.m5(this.g34(token));
|
|
606
606
|
token = nextOrNull(tokens);
|
|
607
607
|
}
|
|
608
|
-
while (!(token == null) ? this.
|
|
608
|
+
while (!(token == null) ? this.c35(token) : false);
|
|
609
609
|
} else
|
|
610
610
|
return null;
|
|
611
611
|
extensions.p(extensionBuilder.toString());
|
|
612
612
|
}
|
|
613
|
-
while (!(token == null) ? this.
|
|
613
|
+
while (!(token == null) ? this.b35(token) : false);
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
if (!(token == null) ? this.
|
|
617
|
-
var privateuseBuilder = new StringBuilder(ensureNotNull(this.
|
|
616
|
+
if (!(token == null) ? this.f35(token) : false) {
|
|
617
|
+
var privateuseBuilder = new StringBuilder(ensureNotNull(this.m34(token)));
|
|
618
618
|
token = nextOrNull(tokens);
|
|
619
|
-
if (!(token == null) ? this.
|
|
619
|
+
if (!(token == null) ? this.g35(token) : false) {
|
|
620
620
|
do {
|
|
621
621
|
privateuseBuilder.n5(_Char___init__impl__6a9atx(45));
|
|
622
|
-
privateuseBuilder.m5(this.
|
|
622
|
+
privateuseBuilder.m5(this.n34(token));
|
|
623
623
|
token = nextOrNull(tokens);
|
|
624
624
|
}
|
|
625
|
-
while (!(token == null) ? this.
|
|
625
|
+
while (!(token == null) ? this.g35(token) : false);
|
|
626
626
|
} else
|
|
627
627
|
return null;
|
|
628
628
|
privateuse = privateuseBuilder.toString();
|
|
@@ -652,13 +652,13 @@
|
|
|
652
652
|
}
|
|
653
653
|
function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
|
|
654
654
|
Companion_getInstance();
|
|
655
|
-
this.
|
|
656
|
-
this.
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
655
|
+
this.i35_1 = extensions;
|
|
656
|
+
this.j35_1 = extlangs;
|
|
657
|
+
this.k35_1 = language;
|
|
658
|
+
this.l35_1 = privateuse;
|
|
659
|
+
this.m35_1 = region;
|
|
660
|
+
this.n35_1 = script;
|
|
661
|
+
this.o35_1 = variants;
|
|
662
662
|
}
|
|
663
663
|
protoOf(LanguageTag).equals = function (other) {
|
|
664
664
|
var tmp;
|
|
@@ -673,37 +673,37 @@
|
|
|
673
673
|
var tmp_5;
|
|
674
674
|
var tmp_6;
|
|
675
675
|
if (other instanceof LanguageTag) {
|
|
676
|
-
tmp_6 = equals_0(this.
|
|
676
|
+
tmp_6 = equals_0(this.i35_1, other.i35_1);
|
|
677
677
|
} else {
|
|
678
678
|
tmp_6 = false;
|
|
679
679
|
}
|
|
680
680
|
if (tmp_6) {
|
|
681
|
-
tmp_5 = equals_0(this.
|
|
681
|
+
tmp_5 = equals_0(this.j35_1, other.j35_1);
|
|
682
682
|
} else {
|
|
683
683
|
tmp_5 = false;
|
|
684
684
|
}
|
|
685
685
|
if (tmp_5) {
|
|
686
|
-
tmp_4 = this.
|
|
686
|
+
tmp_4 = this.k35_1 == other.k35_1;
|
|
687
687
|
} else {
|
|
688
688
|
tmp_4 = false;
|
|
689
689
|
}
|
|
690
690
|
if (tmp_4) {
|
|
691
|
-
tmp_3 = this.
|
|
691
|
+
tmp_3 = this.l35_1 == other.l35_1;
|
|
692
692
|
} else {
|
|
693
693
|
tmp_3 = false;
|
|
694
694
|
}
|
|
695
695
|
if (tmp_3) {
|
|
696
|
-
tmp_2 = this.
|
|
696
|
+
tmp_2 = this.m35_1 == other.m35_1;
|
|
697
697
|
} else {
|
|
698
698
|
tmp_2 = false;
|
|
699
699
|
}
|
|
700
700
|
if (tmp_2) {
|
|
701
|
-
tmp_1 = this.
|
|
701
|
+
tmp_1 = this.n35_1 == other.n35_1;
|
|
702
702
|
} else {
|
|
703
703
|
tmp_1 = false;
|
|
704
704
|
}
|
|
705
705
|
if (tmp_1) {
|
|
706
|
-
tmp_0 = equals_2(this.
|
|
706
|
+
tmp_0 = equals_2(this.o35_1, other.o35_1, true);
|
|
707
707
|
} else {
|
|
708
708
|
tmp_0 = false;
|
|
709
709
|
}
|
|
@@ -712,32 +712,32 @@
|
|
|
712
712
|
return tmp;
|
|
713
713
|
};
|
|
714
714
|
protoOf(LanguageTag).hashCode = function () {
|
|
715
|
-
var result = hashCode(this.
|
|
716
|
-
result = imul(31, result) + hashCode(this.
|
|
715
|
+
var result = hashCode(this.i35_1);
|
|
716
|
+
result = imul(31, result) + hashCode(this.j35_1) | 0;
|
|
717
717
|
var tmp = imul(31, result);
|
|
718
718
|
// Inline function 'kotlin.hashCode' call
|
|
719
|
-
var tmp0_safe_receiver = this.
|
|
719
|
+
var tmp0_safe_receiver = this.k35_1;
|
|
720
720
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
721
721
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
722
722
|
var tmp_0 = imul(31, result);
|
|
723
723
|
// Inline function 'kotlin.hashCode' call
|
|
724
|
-
var tmp0_safe_receiver_0 = this.
|
|
724
|
+
var tmp0_safe_receiver_0 = this.l35_1;
|
|
725
725
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
726
726
|
result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
727
727
|
var tmp_1 = imul(31, result);
|
|
728
728
|
// Inline function 'kotlin.hashCode' call
|
|
729
|
-
var tmp0_safe_receiver_1 = this.
|
|
729
|
+
var tmp0_safe_receiver_1 = this.m35_1;
|
|
730
730
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
731
731
|
result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
|
|
732
732
|
var tmp_2 = imul(31, result);
|
|
733
733
|
// Inline function 'kotlin.hashCode' call
|
|
734
|
-
var tmp0_safe_receiver_2 = this.
|
|
734
|
+
var tmp0_safe_receiver_2 = this.n35_1;
|
|
735
735
|
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
|
|
736
736
|
result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
|
|
737
737
|
var tmp_3 = imul(31, result);
|
|
738
738
|
// Inline function 'kotlin.hashCode' call
|
|
739
739
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
740
|
-
var this_0 = this.
|
|
740
|
+
var this_0 = this.o35_1;
|
|
741
741
|
var tmp_4;
|
|
742
742
|
if (this_0.x()) {
|
|
743
743
|
// Inline function 'io.fluidsonic.locale.LanguageTag.hashCode.<anonymous>' call
|
|
@@ -773,41 +773,41 @@
|
|
|
773
773
|
var this_0 = StringBuilder_init_$Create$();
|
|
774
774
|
// Inline function 'kotlin.contracts.contract' call
|
|
775
775
|
// Inline function 'io.fluidsonic.locale.LanguageTag.toString.<anonymous>' call
|
|
776
|
-
if (!(this.
|
|
777
|
-
this_0.m5(this.
|
|
778
|
-
var tmp0_iterator = this.
|
|
776
|
+
if (!(this.k35_1 == null)) {
|
|
777
|
+
this_0.m5(this.k35_1);
|
|
778
|
+
var tmp0_iterator = this.j35_1.s();
|
|
779
779
|
while (tmp0_iterator.t()) {
|
|
780
780
|
var extlang = tmp0_iterator.u();
|
|
781
781
|
this_0.n5(_Char___init__impl__6a9atx(45));
|
|
782
782
|
this_0.m5(extlang);
|
|
783
783
|
}
|
|
784
|
-
if (!(this.
|
|
784
|
+
if (!(this.n35_1 == null)) {
|
|
785
785
|
this_0.n5(_Char___init__impl__6a9atx(45));
|
|
786
|
-
this_0.m5(this.
|
|
786
|
+
this_0.m5(this.n35_1);
|
|
787
787
|
}
|
|
788
|
-
if (!(this.
|
|
788
|
+
if (!(this.m35_1 == null)) {
|
|
789
789
|
this_0.n5(_Char___init__impl__6a9atx(45));
|
|
790
|
-
this_0.m5(this.
|
|
790
|
+
this_0.m5(this.m35_1);
|
|
791
791
|
}
|
|
792
|
-
var tmp1_iterator = this.
|
|
792
|
+
var tmp1_iterator = this.o35_1.s();
|
|
793
793
|
while (tmp1_iterator.t()) {
|
|
794
794
|
var variant = tmp1_iterator.u();
|
|
795
795
|
this_0.n5(_Char___init__impl__6a9atx(45));
|
|
796
796
|
this_0.m5(variant);
|
|
797
797
|
}
|
|
798
|
-
var tmp2_iterator = this.
|
|
798
|
+
var tmp2_iterator = this.i35_1.s();
|
|
799
799
|
while (tmp2_iterator.t()) {
|
|
800
800
|
var extension = tmp2_iterator.u();
|
|
801
801
|
this_0.n5(_Char___init__impl__6a9atx(45));
|
|
802
802
|
this_0.m5(extension);
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
if (!(this.
|
|
805
|
+
if (!(this.l35_1 == null)) {
|
|
806
806
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
807
807
|
if (charSequenceLength(this_0) > 0) {
|
|
808
808
|
this_0.n5(_Char___init__impl__6a9atx(45));
|
|
809
809
|
}
|
|
810
|
-
this_0.m5(this.
|
|
810
|
+
this_0.m5(this.l35_1);
|
|
811
811
|
}
|
|
812
812
|
return this_0.toString();
|
|
813
813
|
};
|
|
@@ -816,20 +816,20 @@
|
|
|
816
816
|
var tmp = this;
|
|
817
817
|
var tmp_0 = Companion_getInstance();
|
|
818
818
|
Companion_getInstance();
|
|
819
|
-
tmp.
|
|
819
|
+
tmp.p35_1 = new Locale(tmp_0.a35('und'));
|
|
820
820
|
}
|
|
821
|
-
protoOf(Companion_0).
|
|
822
|
-
return tag.equals(this.
|
|
821
|
+
protoOf(Companion_0).q35 = function (tag) {
|
|
822
|
+
return tag.equals(this.p35_1.r35_1) ? this.p35_1 : new Locale(tag);
|
|
823
823
|
};
|
|
824
|
-
protoOf(Companion_0).
|
|
825
|
-
var tmp0_safe_receiver = Companion_getInstance().
|
|
824
|
+
protoOf(Companion_0).s35 = function (tag) {
|
|
825
|
+
var tmp0_safe_receiver = Companion_getInstance().h35(tag);
|
|
826
826
|
var tmp;
|
|
827
827
|
if (tmp0_safe_receiver == null) {
|
|
828
828
|
tmp = null;
|
|
829
829
|
} else {
|
|
830
830
|
// Inline function 'kotlin.let' call
|
|
831
831
|
// Inline function 'kotlin.contracts.contract' call
|
|
832
|
-
tmp = this.
|
|
832
|
+
tmp = this.q35(tmp0_safe_receiver);
|
|
833
833
|
}
|
|
834
834
|
return tmp;
|
|
835
835
|
};
|
|
@@ -841,7 +841,7 @@
|
|
|
841
841
|
}
|
|
842
842
|
function Locale(languageTag) {
|
|
843
843
|
Companion_getInstance_0();
|
|
844
|
-
this.
|
|
844
|
+
this.r35_1 = languageTag;
|
|
845
845
|
}
|
|
846
846
|
protoOf(Locale).equals = function (other) {
|
|
847
847
|
var tmp;
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
} else {
|
|
851
851
|
var tmp_0;
|
|
852
852
|
if (other instanceof Locale) {
|
|
853
|
-
tmp_0 = this.
|
|
853
|
+
tmp_0 = this.r35_1.equals(other.r35_1);
|
|
854
854
|
} else {
|
|
855
855
|
tmp_0 = false;
|
|
856
856
|
}
|
|
@@ -859,10 +859,10 @@
|
|
|
859
859
|
return tmp;
|
|
860
860
|
};
|
|
861
861
|
protoOf(Locale).hashCode = function () {
|
|
862
|
-
return this.
|
|
862
|
+
return this.r35_1.hashCode();
|
|
863
863
|
};
|
|
864
864
|
protoOf(Locale).toString = function () {
|
|
865
|
-
return this.
|
|
865
|
+
return this.r35_1.toString();
|
|
866
866
|
};
|
|
867
867
|
function isAlphaNumeric(_this__u8e3s4) {
|
|
868
868
|
return isAlpha(_this__u8e3s4) ? true : isNumeric(_this__u8e3s4);
|