@cruglobal/godtools-shared 1.2.0-SNAPSHOT.1761 → 1.2.0-SNAPSHOT.1767
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 +36 -36
- package/Kermit-kermit.js +5 -5
- package/antlr-kotlin-antlr-kotlin-runtime.js +2913 -2913
- package/colormath-root-colormath.js +548 -548
- package/fluid-locale.js +125 -125
- package/kotlin-js.js +14 -14
- package/kotlin-kotlin-stdlib.js +34 -34
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/{kotlin-mpp-godtools-tool-parser-module-state.js → kotlin-mpp-godtools-tool-parser-module-parser-base.js} +200 -103
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +387 -387
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2581 -2627
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +15 -14
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +7 -7
- package/kotlinx-coroutines-core.js +2 -2
- package/package.json +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js.map +0 -1
package/fluid-locale.js
CHANGED
|
@@ -53,12 +53,12 @@
|
|
|
53
53
|
//endregion
|
|
54
54
|
function Companion() {
|
|
55
55
|
Companion_instance = this;
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
56
|
+
this.b34_1 = _Char___init__impl__6a9atx(120);
|
|
57
|
+
this.c34_1 = _Char___init__impl__6a9atx(45);
|
|
58
|
+
this.d34_1 = 'und';
|
|
59
|
+
this.e34_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')]);
|
|
60
60
|
}
|
|
61
|
-
protoOf(Companion).
|
|
61
|
+
protoOf(Companion).f34 = function (extension) {
|
|
62
62
|
var tmp;
|
|
63
63
|
if (extension == null) {
|
|
64
64
|
tmp = null;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
var tmp1_safe_receiver = tmp;
|
|
77
77
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
78
78
|
};
|
|
79
|
-
protoOf(Companion).
|
|
79
|
+
protoOf(Companion).g34 = function (singleton) {
|
|
80
80
|
var tmp;
|
|
81
81
|
if (singleton == null) {
|
|
82
82
|
tmp = null;
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
var tmp1_safe_receiver = tmp;
|
|
95
95
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
96
96
|
};
|
|
97
|
-
protoOf(Companion).
|
|
97
|
+
protoOf(Companion).h34 = function (subtag) {
|
|
98
98
|
var tmp;
|
|
99
99
|
if (subtag == null) {
|
|
100
100
|
tmp = null;
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
var tmp1_safe_receiver = tmp;
|
|
113
113
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
114
114
|
};
|
|
115
|
-
protoOf(Companion).
|
|
115
|
+
protoOf(Companion).i34 = function (extensions) {
|
|
116
116
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
117
117
|
var tmp;
|
|
118
118
|
if (extensions.p()) {
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
133
133
|
while (_iterator__ex2g4s.k()) {
|
|
134
134
|
var element = _iterator__ex2g4s.l();
|
|
135
|
-
var tmp0_safe_receiver_0 = this.
|
|
135
|
+
var tmp0_safe_receiver_0 = this.f34(element);
|
|
136
136
|
if (tmp0_safe_receiver_0 == null)
|
|
137
137
|
null;
|
|
138
138
|
else {
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
|
|
148
148
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
149
149
|
};
|
|
150
|
-
protoOf(Companion).
|
|
150
|
+
protoOf(Companion).j34 = function (extlang) {
|
|
151
151
|
var tmp;
|
|
152
152
|
if (extlang == null) {
|
|
153
153
|
tmp = null;
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
var tmp1_safe_receiver = tmp;
|
|
166
166
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
167
167
|
};
|
|
168
|
-
protoOf(Companion).
|
|
168
|
+
protoOf(Companion).k34 = function (extlangs) {
|
|
169
169
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
170
170
|
var tmp;
|
|
171
171
|
if (extlangs.p()) {
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
186
186
|
while (_iterator__ex2g4s.k()) {
|
|
187
187
|
var element = _iterator__ex2g4s.l();
|
|
188
|
-
var tmp0_safe_receiver_0 = this.
|
|
188
|
+
var tmp0_safe_receiver_0 = this.j34(element);
|
|
189
189
|
if (tmp0_safe_receiver_0 == null)
|
|
190
190
|
null;
|
|
191
191
|
else {
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
var tmp0_elvis_lhs = tmp_0;
|
|
200
200
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
201
201
|
};
|
|
202
|
-
protoOf(Companion).
|
|
202
|
+
protoOf(Companion).l34 = function (language) {
|
|
203
203
|
var tmp;
|
|
204
204
|
if (language == null) {
|
|
205
205
|
tmp = null;
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
var tmp1_safe_receiver = tmp;
|
|
218
218
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
219
219
|
};
|
|
220
|
-
protoOf(Companion).
|
|
220
|
+
protoOf(Companion).m34 = function (privateuse) {
|
|
221
221
|
var tmp;
|
|
222
222
|
if (privateuse == null) {
|
|
223
223
|
tmp = null;
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
var tmp1_safe_receiver = tmp;
|
|
236
236
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
237
237
|
};
|
|
238
|
-
protoOf(Companion).
|
|
238
|
+
protoOf(Companion).n34 = function (prefix) {
|
|
239
239
|
var tmp;
|
|
240
240
|
if (prefix == null) {
|
|
241
241
|
tmp = null;
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
var tmp1_safe_receiver = tmp;
|
|
254
254
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
255
255
|
};
|
|
256
|
-
protoOf(Companion).
|
|
256
|
+
protoOf(Companion).o34 = function (subtag) {
|
|
257
257
|
var tmp;
|
|
258
258
|
if (subtag == null) {
|
|
259
259
|
tmp = null;
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
var tmp1_safe_receiver = tmp;
|
|
272
272
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
273
273
|
};
|
|
274
|
-
protoOf(Companion).
|
|
274
|
+
protoOf(Companion).p34 = function (region) {
|
|
275
275
|
var tmp;
|
|
276
276
|
if (region == null) {
|
|
277
277
|
tmp = null;
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
var tmp1_safe_receiver = tmp;
|
|
290
290
|
return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
|
|
291
291
|
};
|
|
292
|
-
protoOf(Companion).
|
|
292
|
+
protoOf(Companion).q34 = function (script) {
|
|
293
293
|
var tmp;
|
|
294
294
|
if (script == null) {
|
|
295
295
|
tmp = null;
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
var tmp1_safe_receiver = tmp;
|
|
308
308
|
return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
|
|
309
309
|
};
|
|
310
|
-
protoOf(Companion).
|
|
310
|
+
protoOf(Companion).r34 = function (variant) {
|
|
311
311
|
var tmp;
|
|
312
312
|
if (variant == null) {
|
|
313
313
|
tmp = null;
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
}
|
|
325
325
|
return tmp;
|
|
326
326
|
};
|
|
327
|
-
protoOf(Companion).
|
|
327
|
+
protoOf(Companion).s34 = function (variants) {
|
|
328
328
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
329
329
|
var tmp;
|
|
330
330
|
if (variants.p()) {
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
345
345
|
while (_iterator__ex2g4s.k()) {
|
|
346
346
|
var element = _iterator__ex2g4s.l();
|
|
347
|
-
var tmp0_safe_receiver_0 = this.
|
|
347
|
+
var tmp0_safe_receiver_0 = this.r34(element);
|
|
348
348
|
if (tmp0_safe_receiver_0 == null)
|
|
349
349
|
null;
|
|
350
350
|
else {
|
|
@@ -358,26 +358,26 @@
|
|
|
358
358
|
var tmp0_elvis_lhs = tmp_0;
|
|
359
359
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
360
360
|
};
|
|
361
|
-
protoOf(Companion).
|
|
362
|
-
var canonicalLanguage = this.
|
|
363
|
-
var canonicalScript = this.
|
|
364
|
-
var canonicalRegion = this.
|
|
365
|
-
var canonicalVariants = this.
|
|
366
|
-
var canonicalExtlangs = this.
|
|
367
|
-
var canonicalExtensions = this.
|
|
368
|
-
var canonicalPrivateuse = this.
|
|
361
|
+
protoOf(Companion).t34 = function (language, script, region, variants, extlangs, extensions, privateuse) {
|
|
362
|
+
var canonicalLanguage = this.l34(language);
|
|
363
|
+
var canonicalScript = this.q34(script);
|
|
364
|
+
var canonicalRegion = this.p34(region);
|
|
365
|
+
var canonicalVariants = this.s34(variants);
|
|
366
|
+
var canonicalExtlangs = this.k34(extlangs);
|
|
367
|
+
var canonicalExtensions = this.i34(extensions);
|
|
368
|
+
var canonicalPrivateuse = this.m34(privateuse);
|
|
369
369
|
// Inline function 'kotlin.require' call
|
|
370
|
-
if (!(!(canonicalLanguage == null) && this.
|
|
370
|
+
if (!(!(canonicalLanguage == null) && this.u34(canonicalLanguage))) {
|
|
371
371
|
var message = 'Invalid language: ' + language;
|
|
372
372
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
373
373
|
}
|
|
374
374
|
// Inline function 'kotlin.require' call
|
|
375
|
-
if (!(canonicalScript == null || this.
|
|
375
|
+
if (!(canonicalScript == null || this.v34(canonicalScript))) {
|
|
376
376
|
var message_0 = 'Invalid script: ' + script;
|
|
377
377
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
378
378
|
}
|
|
379
379
|
// Inline function 'kotlin.require' call
|
|
380
|
-
if (!(canonicalRegion == null || this.
|
|
380
|
+
if (!(canonicalRegion == null || this.w34(canonicalRegion))) {
|
|
381
381
|
var message_1 = 'Invalid region: ' + region;
|
|
382
382
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
383
383
|
}
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
while (tmp0_iterator.k()) {
|
|
386
386
|
var variant = tmp0_iterator.l();
|
|
387
387
|
// Inline function 'kotlin.require' call
|
|
388
|
-
if (!this.
|
|
388
|
+
if (!this.x34(variant)) {
|
|
389
389
|
var message_2 = 'Invalid variant: ' + variant;
|
|
390
390
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
391
391
|
}
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
while (tmp1_iterator.k()) {
|
|
395
395
|
var extlang = tmp1_iterator.l();
|
|
396
396
|
// Inline function 'kotlin.require' call
|
|
397
|
-
if (!this.
|
|
397
|
+
if (!this.y34(extlang)) {
|
|
398
398
|
var message_3 = 'Invalid extlang: ' + extlang;
|
|
399
399
|
throw IllegalArgumentException_init_$Create$(toString(message_3));
|
|
400
400
|
}
|
|
@@ -403,30 +403,30 @@
|
|
|
403
403
|
while (tmp2_iterator.k()) {
|
|
404
404
|
var extension = tmp2_iterator.l();
|
|
405
405
|
// Inline function 'kotlin.require' call
|
|
406
|
-
if (!this.
|
|
406
|
+
if (!this.z34(extension)) {
|
|
407
407
|
var message_4 = 'Invalid extension: ' + extension;
|
|
408
408
|
throw IllegalArgumentException_init_$Create$(toString(message_4));
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
// Inline function 'kotlin.require' call
|
|
412
|
-
if (!(canonicalPrivateuse == null || this.
|
|
412
|
+
if (!(canonicalPrivateuse == null || this.a35(canonicalPrivateuse))) {
|
|
413
413
|
var message_5 = 'Invalid privateuse: ' + privateuse;
|
|
414
414
|
throw IllegalArgumentException_init_$Create$(toString(message_5));
|
|
415
415
|
}
|
|
416
416
|
return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
|
|
417
417
|
};
|
|
418
|
-
protoOf(Companion).
|
|
418
|
+
protoOf(Companion).b35 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
|
|
419
419
|
script = script === VOID ? null : script;
|
|
420
420
|
region = region === VOID ? null : region;
|
|
421
421
|
variants = variants === VOID ? emptyList() : variants;
|
|
422
422
|
extlangs = extlangs === VOID ? emptyList() : extlangs;
|
|
423
423
|
extensions = extensions === VOID ? emptyList() : extensions;
|
|
424
424
|
privateuse = privateuse === VOID ? null : privateuse;
|
|
425
|
-
return $super === VOID ? this.
|
|
425
|
+
return $super === VOID ? this.t34(language, script, region, variants, extlangs, extensions, privateuse) : $super.t34.call(this, language, script, region, variants, extlangs, extensions, privateuse);
|
|
426
426
|
};
|
|
427
|
-
protoOf(Companion).
|
|
427
|
+
protoOf(Companion).z34 = function (extension) {
|
|
428
428
|
var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
429
|
-
if (!this.
|
|
429
|
+
if (!this.c35(tokens.l()))
|
|
430
430
|
return false;
|
|
431
431
|
if (!tokens.k())
|
|
432
432
|
return false;
|
|
@@ -434,18 +434,18 @@
|
|
|
434
434
|
var tmp0_iterator = tokens;
|
|
435
435
|
while (tmp0_iterator.k()) {
|
|
436
436
|
var token = tmp0_iterator.l();
|
|
437
|
-
if (!this.
|
|
437
|
+
if (!this.d35(token))
|
|
438
438
|
return false;
|
|
439
439
|
}
|
|
440
440
|
return true;
|
|
441
441
|
};
|
|
442
|
-
protoOf(Companion).
|
|
443
|
-
return isAlphaNumeric(singleton) && !this.
|
|
442
|
+
protoOf(Companion).e35 = function (singleton) {
|
|
443
|
+
return isAlphaNumeric(singleton) && !this.f35(singleton);
|
|
444
444
|
};
|
|
445
|
-
protoOf(Companion).
|
|
446
|
-
return singleton.length === 1 && this.
|
|
445
|
+
protoOf(Companion).c35 = function (singleton) {
|
|
446
|
+
return singleton.length === 1 && this.e35(charSequenceGet(singleton, 0));
|
|
447
447
|
};
|
|
448
|
-
protoOf(Companion).
|
|
448
|
+
protoOf(Companion).d35 = function (extension) {
|
|
449
449
|
var tmp;
|
|
450
450
|
var containsArg = extension.length;
|
|
451
451
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -455,10 +455,10 @@
|
|
|
455
455
|
}
|
|
456
456
|
return tmp;
|
|
457
457
|
};
|
|
458
|
-
protoOf(Companion).
|
|
458
|
+
protoOf(Companion).y34 = function (extlang) {
|
|
459
459
|
return extlang.length === 3 && isAlpha_0(extlang);
|
|
460
460
|
};
|
|
461
|
-
protoOf(Companion).
|
|
461
|
+
protoOf(Companion).u34 = function (language) {
|
|
462
462
|
var tmp;
|
|
463
463
|
var containsArg = language.length;
|
|
464
464
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -468,9 +468,9 @@
|
|
|
468
468
|
}
|
|
469
469
|
return tmp;
|
|
470
470
|
};
|
|
471
|
-
protoOf(Companion).
|
|
471
|
+
protoOf(Companion).a35 = function (privateuse) {
|
|
472
472
|
var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
473
|
-
if (!this.
|
|
473
|
+
if (!this.g35(tokens.l()))
|
|
474
474
|
return false;
|
|
475
475
|
if (!tokens.k())
|
|
476
476
|
return false;
|
|
@@ -478,18 +478,18 @@
|
|
|
478
478
|
var tmp0_iterator = tokens;
|
|
479
479
|
while (tmp0_iterator.k()) {
|
|
480
480
|
var token = tmp0_iterator.l();
|
|
481
|
-
if (!this.
|
|
481
|
+
if (!this.h35(token))
|
|
482
482
|
return false;
|
|
483
483
|
}
|
|
484
484
|
return true;
|
|
485
485
|
};
|
|
486
|
-
protoOf(Companion).
|
|
486
|
+
protoOf(Companion).f35 = function (prefix) {
|
|
487
487
|
return equals(prefix, _Char___init__impl__6a9atx(120), true);
|
|
488
488
|
};
|
|
489
|
-
protoOf(Companion).
|
|
490
|
-
return prefix.length === 1 && this.
|
|
489
|
+
protoOf(Companion).g35 = function (prefix) {
|
|
490
|
+
return prefix.length === 1 && this.f35(charSequenceGet(prefix, 0));
|
|
491
491
|
};
|
|
492
|
-
protoOf(Companion).
|
|
492
|
+
protoOf(Companion).h35 = function (privateuse) {
|
|
493
493
|
var tmp;
|
|
494
494
|
var containsArg = privateuse.length;
|
|
495
495
|
if (1 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
}
|
|
500
500
|
return tmp;
|
|
501
501
|
};
|
|
502
|
-
protoOf(Companion).
|
|
502
|
+
protoOf(Companion).w34 = function (region) {
|
|
503
503
|
switch (region.length) {
|
|
504
504
|
case 2:
|
|
505
505
|
return isAlpha_0(region);
|
|
@@ -509,15 +509,15 @@
|
|
|
509
509
|
return false;
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
|
-
protoOf(Companion).
|
|
512
|
+
protoOf(Companion).v34 = function (script) {
|
|
513
513
|
return script.length === 4 && isAlpha_0(script);
|
|
514
514
|
};
|
|
515
|
-
protoOf(Companion).
|
|
515
|
+
protoOf(Companion).x34 = function (variant) {
|
|
516
516
|
var tmp0_subject = variant.length;
|
|
517
517
|
return tmp0_subject === 4 ? isNumeric(charSequenceGet(variant, 0)) && isAlphaNumeric(charSequenceGet(variant, 1)) && isAlphaNumeric(charSequenceGet(variant, 2)) && isAlphaNumeric(charSequenceGet(variant, 3)) : (5 <= tmp0_subject ? tmp0_subject <= 8 : false) ? isAlphaNumeric_0(variant) : false;
|
|
518
518
|
};
|
|
519
|
-
protoOf(Companion).
|
|
520
|
-
var tmp0_elvis_lhs = this.
|
|
519
|
+
protoOf(Companion).i35 = function (string) {
|
|
520
|
+
var tmp0_elvis_lhs = this.e34_1.q1(toLowerCase_0(string));
|
|
521
521
|
var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
|
|
522
522
|
var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
523
523
|
var extlangs = null;
|
|
@@ -529,65 +529,65 @@
|
|
|
529
529
|
var variants = null;
|
|
530
530
|
var token;
|
|
531
531
|
token = tokens.l();
|
|
532
|
-
if (this.
|
|
533
|
-
language = this.
|
|
532
|
+
if (this.u34(token)) {
|
|
533
|
+
language = this.l34(token);
|
|
534
534
|
token = nextOrNull(tokens);
|
|
535
|
-
if (!(token == null) && this.
|
|
535
|
+
if (!(token == null) && this.y34(token)) {
|
|
536
536
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
537
537
|
extlangs = ArrayList_init_$Create$();
|
|
538
538
|
do {
|
|
539
|
-
extlangs.e(ensureNotNull(this.
|
|
539
|
+
extlangs.e(ensureNotNull(this.j34(token)));
|
|
540
540
|
token = nextOrNull(tokens);
|
|
541
541
|
}
|
|
542
|
-
while (!(token == null) && extlangs.m() < 3 && this.
|
|
542
|
+
while (!(token == null) && extlangs.m() < 3 && this.y34(token));
|
|
543
543
|
}
|
|
544
|
-
if (!(token == null) && this.
|
|
545
|
-
script = this.
|
|
544
|
+
if (!(token == null) && this.v34(token)) {
|
|
545
|
+
script = this.q34(token);
|
|
546
546
|
token = nextOrNull(tokens);
|
|
547
547
|
}
|
|
548
|
-
if (!(token == null) && this.
|
|
549
|
-
region = this.
|
|
548
|
+
if (!(token == null) && this.w34(token)) {
|
|
549
|
+
region = this.p34(token);
|
|
550
550
|
token = nextOrNull(tokens);
|
|
551
551
|
}
|
|
552
|
-
if (!(token == null) && this.
|
|
552
|
+
if (!(token == null) && this.x34(token)) {
|
|
553
553
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
554
554
|
variants = ArrayList_init_$Create$();
|
|
555
555
|
do {
|
|
556
|
-
variants.e(ensureNotNull(this.
|
|
556
|
+
variants.e(ensureNotNull(this.r34(token)));
|
|
557
557
|
token = nextOrNull(tokens);
|
|
558
558
|
}
|
|
559
|
-
while (!(token == null) && this.
|
|
559
|
+
while (!(token == null) && this.x34(token));
|
|
560
560
|
}
|
|
561
|
-
if (!(token == null) && this.
|
|
561
|
+
if (!(token == null) && this.c35(token)) {
|
|
562
562
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
563
563
|
extensions = ArrayList_init_$Create$();
|
|
564
564
|
do {
|
|
565
|
-
var extensionBuilder = new StringBuilder(ensureNotNull(this.
|
|
565
|
+
var extensionBuilder = new StringBuilder(ensureNotNull(this.g34(token)));
|
|
566
566
|
token = nextOrNull(tokens);
|
|
567
|
-
if (!(token == null) && this.
|
|
567
|
+
if (!(token == null) && this.d35(token)) {
|
|
568
568
|
do {
|
|
569
569
|
extensionBuilder.s7(_Char___init__impl__6a9atx(45));
|
|
570
|
-
extensionBuilder.r7(this.
|
|
570
|
+
extensionBuilder.r7(this.h34(token));
|
|
571
571
|
token = nextOrNull(tokens);
|
|
572
572
|
}
|
|
573
|
-
while (!(token == null) && this.
|
|
573
|
+
while (!(token == null) && this.d35(token));
|
|
574
574
|
} else
|
|
575
575
|
return null;
|
|
576
576
|
extensions.e(extensionBuilder.toString());
|
|
577
577
|
}
|
|
578
|
-
while (!(token == null) && this.
|
|
578
|
+
while (!(token == null) && this.c35(token));
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
if (!(token == null) && this.
|
|
582
|
-
var privateuseBuilder = new StringBuilder(ensureNotNull(this.
|
|
581
|
+
if (!(token == null) && this.g35(token)) {
|
|
582
|
+
var privateuseBuilder = new StringBuilder(ensureNotNull(this.n34(token)));
|
|
583
583
|
token = nextOrNull(tokens);
|
|
584
|
-
if (!(token == null) && this.
|
|
584
|
+
if (!(token == null) && this.h35(token)) {
|
|
585
585
|
do {
|
|
586
586
|
privateuseBuilder.s7(_Char___init__impl__6a9atx(45));
|
|
587
|
-
privateuseBuilder.r7(this.
|
|
587
|
+
privateuseBuilder.r7(this.o34(token));
|
|
588
588
|
token = nextOrNull(tokens);
|
|
589
589
|
}
|
|
590
|
-
while (!(token == null) && this.
|
|
590
|
+
while (!(token == null) && this.h35(token));
|
|
591
591
|
} else
|
|
592
592
|
return null;
|
|
593
593
|
privateuse = privateuseBuilder.toString();
|
|
@@ -617,13 +617,13 @@
|
|
|
617
617
|
}
|
|
618
618
|
function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
|
|
619
619
|
Companion_getInstance();
|
|
620
|
-
this.
|
|
621
|
-
this.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
624
|
-
this.
|
|
625
|
-
this.
|
|
626
|
-
this.
|
|
620
|
+
this.j35_1 = extensions;
|
|
621
|
+
this.k35_1 = extlangs;
|
|
622
|
+
this.l35_1 = language;
|
|
623
|
+
this.m35_1 = privateuse;
|
|
624
|
+
this.n35_1 = region;
|
|
625
|
+
this.o35_1 = script;
|
|
626
|
+
this.p35_1 = variants;
|
|
627
627
|
}
|
|
628
628
|
protoOf(LanguageTag).equals = function (other) {
|
|
629
629
|
var tmp;
|
|
@@ -638,37 +638,37 @@
|
|
|
638
638
|
var tmp_5;
|
|
639
639
|
var tmp_6;
|
|
640
640
|
if (other instanceof LanguageTag) {
|
|
641
|
-
tmp_6 = equals_0(this.
|
|
641
|
+
tmp_6 = equals_0(this.j35_1, other.j35_1);
|
|
642
642
|
} else {
|
|
643
643
|
tmp_6 = false;
|
|
644
644
|
}
|
|
645
645
|
if (tmp_6) {
|
|
646
|
-
tmp_5 = equals_0(this.
|
|
646
|
+
tmp_5 = equals_0(this.k35_1, other.k35_1);
|
|
647
647
|
} else {
|
|
648
648
|
tmp_5 = false;
|
|
649
649
|
}
|
|
650
650
|
if (tmp_5) {
|
|
651
|
-
tmp_4 = this.
|
|
651
|
+
tmp_4 = this.l35_1 == other.l35_1;
|
|
652
652
|
} else {
|
|
653
653
|
tmp_4 = false;
|
|
654
654
|
}
|
|
655
655
|
if (tmp_4) {
|
|
656
|
-
tmp_3 = this.
|
|
656
|
+
tmp_3 = this.m35_1 == other.m35_1;
|
|
657
657
|
} else {
|
|
658
658
|
tmp_3 = false;
|
|
659
659
|
}
|
|
660
660
|
if (tmp_3) {
|
|
661
|
-
tmp_2 = this.
|
|
661
|
+
tmp_2 = this.n35_1 == other.n35_1;
|
|
662
662
|
} else {
|
|
663
663
|
tmp_2 = false;
|
|
664
664
|
}
|
|
665
665
|
if (tmp_2) {
|
|
666
|
-
tmp_1 = this.
|
|
666
|
+
tmp_1 = this.o35_1 == other.o35_1;
|
|
667
667
|
} else {
|
|
668
668
|
tmp_1 = false;
|
|
669
669
|
}
|
|
670
670
|
if (tmp_1) {
|
|
671
|
-
tmp_0 = equals_2(this.
|
|
671
|
+
tmp_0 = equals_2(this.p35_1, other.p35_1, true);
|
|
672
672
|
} else {
|
|
673
673
|
tmp_0 = false;
|
|
674
674
|
}
|
|
@@ -677,31 +677,31 @@
|
|
|
677
677
|
return tmp;
|
|
678
678
|
};
|
|
679
679
|
protoOf(LanguageTag).hashCode = function () {
|
|
680
|
-
var result = hashCode(this.
|
|
681
|
-
result = imul(31, result) + hashCode(this.
|
|
680
|
+
var result = hashCode(this.j35_1);
|
|
681
|
+
result = imul(31, result) + hashCode(this.k35_1) | 0;
|
|
682
682
|
var tmp = imul(31, result);
|
|
683
683
|
// Inline function 'kotlin.hashCode' call
|
|
684
|
-
var tmp0_safe_receiver = this.
|
|
684
|
+
var tmp0_safe_receiver = this.l35_1;
|
|
685
685
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
686
686
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
687
687
|
var tmp_0 = imul(31, result);
|
|
688
688
|
// Inline function 'kotlin.hashCode' call
|
|
689
|
-
var tmp0_safe_receiver_0 = this.
|
|
689
|
+
var tmp0_safe_receiver_0 = this.m35_1;
|
|
690
690
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
691
691
|
result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
692
692
|
var tmp_1 = imul(31, result);
|
|
693
693
|
// Inline function 'kotlin.hashCode' call
|
|
694
|
-
var tmp0_safe_receiver_1 = this.
|
|
694
|
+
var tmp0_safe_receiver_1 = this.n35_1;
|
|
695
695
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
696
696
|
result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
|
|
697
697
|
var tmp_2 = imul(31, result);
|
|
698
698
|
// Inline function 'kotlin.hashCode' call
|
|
699
|
-
var tmp0_safe_receiver_2 = this.
|
|
699
|
+
var tmp0_safe_receiver_2 = this.o35_1;
|
|
700
700
|
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
|
|
701
701
|
result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
|
|
702
702
|
var tmp_3 = imul(31, result);
|
|
703
703
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
704
|
-
var this_0 = this.
|
|
704
|
+
var this_0 = this.p35_1;
|
|
705
705
|
var tmp_4;
|
|
706
706
|
if (this_0.p()) {
|
|
707
707
|
tmp_4 = null;
|
|
@@ -734,59 +734,59 @@
|
|
|
734
734
|
// Inline function 'kotlin.text.buildString' call
|
|
735
735
|
// Inline function 'kotlin.apply' call
|
|
736
736
|
var this_0 = StringBuilder_init_$Create$();
|
|
737
|
-
if (!(this.
|
|
738
|
-
this_0.r7(this.
|
|
739
|
-
var tmp0_iterator = this.
|
|
737
|
+
if (!(this.l35_1 == null)) {
|
|
738
|
+
this_0.r7(this.l35_1);
|
|
739
|
+
var tmp0_iterator = this.k35_1.j();
|
|
740
740
|
while (tmp0_iterator.k()) {
|
|
741
741
|
var extlang = tmp0_iterator.l();
|
|
742
742
|
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
743
743
|
this_0.r7(extlang);
|
|
744
744
|
}
|
|
745
|
-
if (!(this.
|
|
745
|
+
if (!(this.o35_1 == null)) {
|
|
746
746
|
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
747
|
-
this_0.r7(this.
|
|
747
|
+
this_0.r7(this.o35_1);
|
|
748
748
|
}
|
|
749
|
-
if (!(this.
|
|
749
|
+
if (!(this.n35_1 == null)) {
|
|
750
750
|
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
751
|
-
this_0.r7(this.
|
|
751
|
+
this_0.r7(this.n35_1);
|
|
752
752
|
}
|
|
753
|
-
var tmp1_iterator = this.
|
|
753
|
+
var tmp1_iterator = this.p35_1.j();
|
|
754
754
|
while (tmp1_iterator.k()) {
|
|
755
755
|
var variant = tmp1_iterator.l();
|
|
756
756
|
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
757
757
|
this_0.r7(variant);
|
|
758
758
|
}
|
|
759
|
-
var tmp2_iterator = this.
|
|
759
|
+
var tmp2_iterator = this.j35_1.j();
|
|
760
760
|
while (tmp2_iterator.k()) {
|
|
761
761
|
var extension = tmp2_iterator.l();
|
|
762
762
|
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
763
763
|
this_0.r7(extension);
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
|
-
if (!(this.
|
|
766
|
+
if (!(this.m35_1 == null)) {
|
|
767
767
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
768
768
|
if (charSequenceLength(this_0) > 0) {
|
|
769
769
|
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
770
770
|
}
|
|
771
|
-
this_0.r7(this.
|
|
771
|
+
this_0.r7(this.m35_1);
|
|
772
772
|
}
|
|
773
773
|
return this_0.toString();
|
|
774
774
|
};
|
|
775
775
|
function Companion_0() {
|
|
776
776
|
Companion_instance_0 = this;
|
|
777
|
-
this.
|
|
777
|
+
this.q35_1 = new Locale(Companion_getInstance().b35('und'));
|
|
778
778
|
}
|
|
779
|
-
protoOf(Companion_0).
|
|
780
|
-
return tag.equals(this.
|
|
779
|
+
protoOf(Companion_0).r35 = function (tag) {
|
|
780
|
+
return tag.equals(this.q35_1.s35_1) ? this.q35_1 : new Locale(tag);
|
|
781
781
|
};
|
|
782
|
-
protoOf(Companion_0).
|
|
783
|
-
var tmp0_safe_receiver = Companion_getInstance().
|
|
782
|
+
protoOf(Companion_0).t35 = function (tag) {
|
|
783
|
+
var tmp0_safe_receiver = Companion_getInstance().i35(tag);
|
|
784
784
|
var tmp;
|
|
785
785
|
if (tmp0_safe_receiver == null) {
|
|
786
786
|
tmp = null;
|
|
787
787
|
} else {
|
|
788
788
|
// Inline function 'kotlin.let' call
|
|
789
|
-
tmp = this.
|
|
789
|
+
tmp = this.r35(tmp0_safe_receiver);
|
|
790
790
|
}
|
|
791
791
|
return tmp;
|
|
792
792
|
};
|
|
@@ -798,7 +798,7 @@
|
|
|
798
798
|
}
|
|
799
799
|
function Locale(languageTag) {
|
|
800
800
|
Companion_getInstance_0();
|
|
801
|
-
this.
|
|
801
|
+
this.s35_1 = languageTag;
|
|
802
802
|
}
|
|
803
803
|
protoOf(Locale).equals = function (other) {
|
|
804
804
|
var tmp;
|
|
@@ -807,7 +807,7 @@
|
|
|
807
807
|
} else {
|
|
808
808
|
var tmp_0;
|
|
809
809
|
if (other instanceof Locale) {
|
|
810
|
-
tmp_0 = this.
|
|
810
|
+
tmp_0 = this.s35_1.equals(other.s35_1);
|
|
811
811
|
} else {
|
|
812
812
|
tmp_0 = false;
|
|
813
813
|
}
|
|
@@ -816,10 +816,10 @@
|
|
|
816
816
|
return tmp;
|
|
817
817
|
};
|
|
818
818
|
protoOf(Locale).hashCode = function () {
|
|
819
|
-
return this.
|
|
819
|
+
return this.s35_1.hashCode();
|
|
820
820
|
};
|
|
821
821
|
protoOf(Locale).toString = function () {
|
|
822
|
-
return this.
|
|
822
|
+
return this.s35_1.toString();
|
|
823
823
|
};
|
|
824
824
|
function isAlphaNumeric(_this__u8e3s4) {
|
|
825
825
|
return isAlpha(_this__u8e3s4) || isNumeric(_this__u8e3s4);
|