@cruglobal/godtools-shared 1.1.0-SNAPSHOT.1629 → 1.1.0-SNAPSHOT.1631
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 +40 -40
- package/Kermit-kermit-core.js.map +1 -1
- package/Kermit-kermit.js +6 -6
- package/Kermit-kermit.js.map +1 -1
- package/antlr-kotlin-antlr-kotlin-runtime.js +3064 -3070
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +1003 -1048
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +185 -198
- package/fluid-locale.js.map +1 -1
- package/kotlin-js.js +31 -31
- package/kotlin-js.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +1684 -1653
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +396 -401
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2701 -2861
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +259 -251
- package/kotlin-mpp-godtools-tool-parser-module-state.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2958 -2975
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -2
package/fluid-locale.js
CHANGED
|
@@ -53,18 +53,17 @@
|
|
|
53
53
|
//endregion
|
|
54
54
|
function Companion() {
|
|
55
55
|
Companion_instance = this;
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
56
|
+
this.v36_1 = _Char___init__impl__6a9atx(120);
|
|
57
|
+
this.w36_1 = _Char___init__impl__6a9atx(45);
|
|
58
|
+
this.x36_1 = 'und';
|
|
59
|
+
this.y36_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).z36 = function (extension) {
|
|
62
62
|
var tmp;
|
|
63
63
|
if (extension == null) {
|
|
64
64
|
tmp = null;
|
|
65
65
|
} else {
|
|
66
66
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
67
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
68
67
|
var tmp_0;
|
|
69
68
|
// Inline function 'kotlin.text.isEmpty' call
|
|
70
69
|
if (charSequenceLength(extension) === 0) {
|
|
@@ -78,13 +77,12 @@
|
|
|
78
77
|
var tmp1_safe_receiver = tmp;
|
|
79
78
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
80
79
|
};
|
|
81
|
-
protoOf(Companion).
|
|
80
|
+
protoOf(Companion).a37 = function (singleton) {
|
|
82
81
|
var tmp;
|
|
83
82
|
if (singleton == null) {
|
|
84
83
|
tmp = null;
|
|
85
84
|
} else {
|
|
86
85
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
87
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
88
86
|
var tmp_0;
|
|
89
87
|
// Inline function 'kotlin.text.isEmpty' call
|
|
90
88
|
if (charSequenceLength(singleton) === 0) {
|
|
@@ -98,13 +96,12 @@
|
|
|
98
96
|
var tmp1_safe_receiver = tmp;
|
|
99
97
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
100
98
|
};
|
|
101
|
-
protoOf(Companion).
|
|
99
|
+
protoOf(Companion).b37 = function (subtag) {
|
|
102
100
|
var tmp;
|
|
103
101
|
if (subtag == null) {
|
|
104
102
|
tmp = null;
|
|
105
103
|
} else {
|
|
106
104
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
107
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
108
105
|
var tmp_0;
|
|
109
106
|
// Inline function 'kotlin.text.isEmpty' call
|
|
110
107
|
if (charSequenceLength(subtag) === 0) {
|
|
@@ -118,10 +115,8 @@
|
|
|
118
115
|
var tmp1_safe_receiver = tmp;
|
|
119
116
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
120
117
|
};
|
|
121
|
-
protoOf(Companion).
|
|
122
|
-
// Inline function 'kotlin.collections.orEmpty' call
|
|
118
|
+
protoOf(Companion).c37 = function (extensions) {
|
|
123
119
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
124
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
125
120
|
var tmp;
|
|
126
121
|
if (extensions.p()) {
|
|
127
122
|
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensions.<anonymous>' call
|
|
@@ -138,32 +133,33 @@
|
|
|
138
133
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
139
134
|
var destination = ArrayList_init_$Create$();
|
|
140
135
|
// Inline function 'kotlin.collections.forEach' call
|
|
141
|
-
var
|
|
142
|
-
while (
|
|
143
|
-
var element =
|
|
136
|
+
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
137
|
+
while (_iterator__ex2g4s.k()) {
|
|
138
|
+
var element = _iterator__ex2g4s.l();
|
|
144
139
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
145
|
-
|
|
140
|
+
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensions.stub_for_inlining' call
|
|
141
|
+
var tmp0_safe_receiver_0 = this.z36(element);
|
|
146
142
|
if (tmp0_safe_receiver_0 == null)
|
|
147
143
|
null;
|
|
148
144
|
else {
|
|
149
145
|
// Inline function 'kotlin.let' call
|
|
150
|
-
// Inline function 'kotlin.
|
|
146
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
151
147
|
destination.e(tmp0_safe_receiver_0);
|
|
152
148
|
}
|
|
153
149
|
}
|
|
154
150
|
tmp_0 = destination;
|
|
155
151
|
}
|
|
156
152
|
var tmp1_safe_receiver = tmp_0;
|
|
153
|
+
// Inline function 'kotlin.collections.orEmpty' call
|
|
157
154
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
|
|
158
155
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
159
156
|
};
|
|
160
|
-
protoOf(Companion).
|
|
157
|
+
protoOf(Companion).d37 = function (extlang) {
|
|
161
158
|
var tmp;
|
|
162
159
|
if (extlang == null) {
|
|
163
160
|
tmp = null;
|
|
164
161
|
} else {
|
|
165
162
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
166
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
167
163
|
var tmp_0;
|
|
168
164
|
// Inline function 'kotlin.text.isEmpty' call
|
|
169
165
|
if (charSequenceLength(extlang) === 0) {
|
|
@@ -177,10 +173,8 @@
|
|
|
177
173
|
var tmp1_safe_receiver = tmp;
|
|
178
174
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
179
175
|
};
|
|
180
|
-
protoOf(Companion).
|
|
181
|
-
// Inline function 'kotlin.collections.orEmpty' call
|
|
176
|
+
protoOf(Companion).e37 = function (extlangs) {
|
|
182
177
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
183
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
184
178
|
var tmp;
|
|
185
179
|
if (extlangs.p()) {
|
|
186
180
|
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtlangs.<anonymous>' call
|
|
@@ -197,31 +191,32 @@
|
|
|
197
191
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
198
192
|
var destination = ArrayList_init_$Create$();
|
|
199
193
|
// Inline function 'kotlin.collections.forEach' call
|
|
200
|
-
var
|
|
201
|
-
while (
|
|
202
|
-
var element =
|
|
194
|
+
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
195
|
+
while (_iterator__ex2g4s.k()) {
|
|
196
|
+
var element = _iterator__ex2g4s.l();
|
|
203
197
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
204
|
-
|
|
198
|
+
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtlangs.stub_for_inlining' call
|
|
199
|
+
var tmp0_safe_receiver_0 = this.d37(element);
|
|
205
200
|
if (tmp0_safe_receiver_0 == null)
|
|
206
201
|
null;
|
|
207
202
|
else {
|
|
208
203
|
// Inline function 'kotlin.let' call
|
|
209
|
-
// Inline function 'kotlin.
|
|
204
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
210
205
|
destination.e(tmp0_safe_receiver_0);
|
|
211
206
|
}
|
|
212
207
|
}
|
|
213
208
|
tmp_0 = destination;
|
|
214
209
|
}
|
|
210
|
+
// Inline function 'kotlin.collections.orEmpty' call
|
|
215
211
|
var tmp0_elvis_lhs = tmp_0;
|
|
216
212
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
217
213
|
};
|
|
218
|
-
protoOf(Companion).
|
|
214
|
+
protoOf(Companion).f37 = function (language) {
|
|
219
215
|
var tmp;
|
|
220
216
|
if (language == null) {
|
|
221
217
|
tmp = null;
|
|
222
218
|
} else {
|
|
223
219
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
224
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
225
220
|
var tmp_0;
|
|
226
221
|
// Inline function 'kotlin.text.isEmpty' call
|
|
227
222
|
if (charSequenceLength(language) === 0) {
|
|
@@ -235,13 +230,12 @@
|
|
|
235
230
|
var tmp1_safe_receiver = tmp;
|
|
236
231
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
237
232
|
};
|
|
238
|
-
protoOf(Companion).
|
|
233
|
+
protoOf(Companion).g37 = function (privateuse) {
|
|
239
234
|
var tmp;
|
|
240
235
|
if (privateuse == null) {
|
|
241
236
|
tmp = null;
|
|
242
237
|
} else {
|
|
243
238
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
244
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
245
239
|
var tmp_0;
|
|
246
240
|
// Inline function 'kotlin.text.isEmpty' call
|
|
247
241
|
if (charSequenceLength(privateuse) === 0) {
|
|
@@ -255,13 +249,12 @@
|
|
|
255
249
|
var tmp1_safe_receiver = tmp;
|
|
256
250
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
257
251
|
};
|
|
258
|
-
protoOf(Companion).
|
|
252
|
+
protoOf(Companion).h37 = function (prefix) {
|
|
259
253
|
var tmp;
|
|
260
254
|
if (prefix == null) {
|
|
261
255
|
tmp = null;
|
|
262
256
|
} else {
|
|
263
257
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
264
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
265
258
|
var tmp_0;
|
|
266
259
|
// Inline function 'kotlin.text.isEmpty' call
|
|
267
260
|
if (charSequenceLength(prefix) === 0) {
|
|
@@ -275,13 +268,12 @@
|
|
|
275
268
|
var tmp1_safe_receiver = tmp;
|
|
276
269
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
277
270
|
};
|
|
278
|
-
protoOf(Companion).
|
|
271
|
+
protoOf(Companion).i37 = function (subtag) {
|
|
279
272
|
var tmp;
|
|
280
273
|
if (subtag == null) {
|
|
281
274
|
tmp = null;
|
|
282
275
|
} else {
|
|
283
276
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
284
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
285
277
|
var tmp_0;
|
|
286
278
|
// Inline function 'kotlin.text.isEmpty' call
|
|
287
279
|
if (charSequenceLength(subtag) === 0) {
|
|
@@ -295,13 +287,12 @@
|
|
|
295
287
|
var tmp1_safe_receiver = tmp;
|
|
296
288
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
297
289
|
};
|
|
298
|
-
protoOf(Companion).
|
|
290
|
+
protoOf(Companion).j37 = function (region) {
|
|
299
291
|
var tmp;
|
|
300
292
|
if (region == null) {
|
|
301
293
|
tmp = null;
|
|
302
294
|
} else {
|
|
303
295
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
304
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
305
296
|
var tmp_0;
|
|
306
297
|
// Inline function 'kotlin.text.isEmpty' call
|
|
307
298
|
if (charSequenceLength(region) === 0) {
|
|
@@ -315,13 +306,12 @@
|
|
|
315
306
|
var tmp1_safe_receiver = tmp;
|
|
316
307
|
return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
|
|
317
308
|
};
|
|
318
|
-
protoOf(Companion).
|
|
309
|
+
protoOf(Companion).k37 = function (script) {
|
|
319
310
|
var tmp;
|
|
320
311
|
if (script == null) {
|
|
321
312
|
tmp = null;
|
|
322
313
|
} else {
|
|
323
314
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
324
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
325
315
|
var tmp_0;
|
|
326
316
|
// Inline function 'kotlin.text.isEmpty' call
|
|
327
317
|
if (charSequenceLength(script) === 0) {
|
|
@@ -335,13 +325,12 @@
|
|
|
335
325
|
var tmp1_safe_receiver = tmp;
|
|
336
326
|
return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
|
|
337
327
|
};
|
|
338
|
-
protoOf(Companion).
|
|
328
|
+
protoOf(Companion).l37 = function (variant) {
|
|
339
329
|
var tmp;
|
|
340
330
|
if (variant == null) {
|
|
341
331
|
tmp = null;
|
|
342
332
|
} else {
|
|
343
333
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
344
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
345
334
|
var tmp_0;
|
|
346
335
|
// Inline function 'kotlin.text.isEmpty' call
|
|
347
336
|
if (charSequenceLength(variant) === 0) {
|
|
@@ -354,10 +343,8 @@
|
|
|
354
343
|
}
|
|
355
344
|
return tmp;
|
|
356
345
|
};
|
|
357
|
-
protoOf(Companion).
|
|
358
|
-
// Inline function 'kotlin.collections.orEmpty' call
|
|
346
|
+
protoOf(Companion).m37 = function (variants) {
|
|
359
347
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
360
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
361
348
|
var tmp;
|
|
362
349
|
if (variants.p()) {
|
|
363
350
|
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeVariants.<anonymous>' call
|
|
@@ -374,49 +361,48 @@
|
|
|
374
361
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
375
362
|
var destination = ArrayList_init_$Create$();
|
|
376
363
|
// Inline function 'kotlin.collections.forEach' call
|
|
377
|
-
var
|
|
378
|
-
while (
|
|
379
|
-
var element =
|
|
364
|
+
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
365
|
+
while (_iterator__ex2g4s.k()) {
|
|
366
|
+
var element = _iterator__ex2g4s.l();
|
|
380
367
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
381
|
-
|
|
368
|
+
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeVariants.stub_for_inlining' call
|
|
369
|
+
var tmp0_safe_receiver_0 = this.l37(element);
|
|
382
370
|
if (tmp0_safe_receiver_0 == null)
|
|
383
371
|
null;
|
|
384
372
|
else {
|
|
385
373
|
// Inline function 'kotlin.let' call
|
|
386
|
-
// Inline function 'kotlin.
|
|
374
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
387
375
|
destination.e(tmp0_safe_receiver_0);
|
|
388
376
|
}
|
|
389
377
|
}
|
|
390
378
|
tmp_0 = destination;
|
|
391
379
|
}
|
|
380
|
+
// Inline function 'kotlin.collections.orEmpty' call
|
|
392
381
|
var tmp0_elvis_lhs = tmp_0;
|
|
393
382
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
394
383
|
};
|
|
395
|
-
protoOf(Companion).
|
|
396
|
-
var canonicalLanguage = this.
|
|
397
|
-
var canonicalScript = this.
|
|
398
|
-
var canonicalRegion = this.
|
|
399
|
-
var canonicalVariants = this.
|
|
400
|
-
var canonicalExtlangs = this.
|
|
401
|
-
var canonicalExtensions = this.
|
|
402
|
-
var canonicalPrivateuse = this.
|
|
384
|
+
protoOf(Companion).n37 = function (language, script, region, variants, extlangs, extensions, privateuse) {
|
|
385
|
+
var canonicalLanguage = this.f37(language);
|
|
386
|
+
var canonicalScript = this.k37(script);
|
|
387
|
+
var canonicalRegion = this.j37(region);
|
|
388
|
+
var canonicalVariants = this.m37(variants);
|
|
389
|
+
var canonicalExtlangs = this.e37(extlangs);
|
|
390
|
+
var canonicalExtensions = this.c37(extensions);
|
|
391
|
+
var canonicalPrivateuse = this.g37(privateuse);
|
|
403
392
|
// Inline function 'kotlin.require' call
|
|
404
|
-
|
|
405
|
-
if (!(!(canonicalLanguage == null) && this.s35(canonicalLanguage))) {
|
|
393
|
+
if (!(!(canonicalLanguage == null) && this.o37(canonicalLanguage))) {
|
|
406
394
|
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
407
395
|
var message = 'Invalid language: ' + language;
|
|
408
396
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
409
397
|
}
|
|
410
398
|
// Inline function 'kotlin.require' call
|
|
411
|
-
|
|
412
|
-
if (!(canonicalScript == null || this.t35(canonicalScript))) {
|
|
399
|
+
if (!(canonicalScript == null || this.p37(canonicalScript))) {
|
|
413
400
|
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
414
401
|
var message_0 = 'Invalid script: ' + script;
|
|
415
402
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
416
403
|
}
|
|
417
404
|
// Inline function 'kotlin.require' call
|
|
418
|
-
|
|
419
|
-
if (!(canonicalRegion == null || this.u35(canonicalRegion))) {
|
|
405
|
+
if (!(canonicalRegion == null || this.q37(canonicalRegion))) {
|
|
420
406
|
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
421
407
|
var message_1 = 'Invalid region: ' + region;
|
|
422
408
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
@@ -425,8 +411,7 @@
|
|
|
425
411
|
while (tmp0_iterator.k()) {
|
|
426
412
|
var variant = tmp0_iterator.l();
|
|
427
413
|
// Inline function 'kotlin.require' call
|
|
428
|
-
|
|
429
|
-
if (!this.v35(variant)) {
|
|
414
|
+
if (!this.r37(variant)) {
|
|
430
415
|
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
431
416
|
var message_2 = 'Invalid variant: ' + variant;
|
|
432
417
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
@@ -436,8 +421,7 @@
|
|
|
436
421
|
while (tmp1_iterator.k()) {
|
|
437
422
|
var extlang = tmp1_iterator.l();
|
|
438
423
|
// Inline function 'kotlin.require' call
|
|
439
|
-
|
|
440
|
-
if (!this.w35(extlang)) {
|
|
424
|
+
if (!this.s37(extlang)) {
|
|
441
425
|
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
442
426
|
var message_3 = 'Invalid extlang: ' + extlang;
|
|
443
427
|
throw IllegalArgumentException_init_$Create$(toString(message_3));
|
|
@@ -447,34 +431,32 @@
|
|
|
447
431
|
while (tmp2_iterator.k()) {
|
|
448
432
|
var extension = tmp2_iterator.l();
|
|
449
433
|
// Inline function 'kotlin.require' call
|
|
450
|
-
|
|
451
|
-
if (!this.x35(extension)) {
|
|
434
|
+
if (!this.t37(extension)) {
|
|
452
435
|
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
453
436
|
var message_4 = 'Invalid extension: ' + extension;
|
|
454
437
|
throw IllegalArgumentException_init_$Create$(toString(message_4));
|
|
455
438
|
}
|
|
456
439
|
}
|
|
457
440
|
// Inline function 'kotlin.require' call
|
|
458
|
-
|
|
459
|
-
if (!(canonicalPrivateuse == null || this.y35(canonicalPrivateuse))) {
|
|
441
|
+
if (!(canonicalPrivateuse == null || this.u37(canonicalPrivateuse))) {
|
|
460
442
|
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
461
443
|
var message_5 = 'Invalid privateuse: ' + privateuse;
|
|
462
444
|
throw IllegalArgumentException_init_$Create$(toString(message_5));
|
|
463
445
|
}
|
|
464
446
|
return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
|
|
465
447
|
};
|
|
466
|
-
protoOf(Companion).
|
|
448
|
+
protoOf(Companion).v37 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
|
|
467
449
|
script = script === VOID ? null : script;
|
|
468
450
|
region = region === VOID ? null : region;
|
|
469
451
|
variants = variants === VOID ? emptyList() : variants;
|
|
470
452
|
extlangs = extlangs === VOID ? emptyList() : extlangs;
|
|
471
453
|
extensions = extensions === VOID ? emptyList() : extensions;
|
|
472
454
|
privateuse = privateuse === VOID ? null : privateuse;
|
|
473
|
-
return $super === VOID ? this.
|
|
455
|
+
return $super === VOID ? this.n37(language, script, region, variants, extlangs, extensions, privateuse) : $super.n37.call(this, language, script, region, variants, extlangs, extensions, privateuse);
|
|
474
456
|
};
|
|
475
|
-
protoOf(Companion).
|
|
457
|
+
protoOf(Companion).t37 = function (extension) {
|
|
476
458
|
var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
477
|
-
if (!this.
|
|
459
|
+
if (!this.w37(tokens.l()))
|
|
478
460
|
return false;
|
|
479
461
|
if (!tokens.k())
|
|
480
462
|
return false;
|
|
@@ -482,18 +464,18 @@
|
|
|
482
464
|
var tmp0_iterator = tokens;
|
|
483
465
|
while (tmp0_iterator.k()) {
|
|
484
466
|
var token = tmp0_iterator.l();
|
|
485
|
-
if (!this.
|
|
467
|
+
if (!this.x37(token))
|
|
486
468
|
return false;
|
|
487
469
|
}
|
|
488
470
|
return true;
|
|
489
471
|
};
|
|
490
|
-
protoOf(Companion).
|
|
491
|
-
return isAlphaNumeric(singleton) && !this.
|
|
472
|
+
protoOf(Companion).y37 = function (singleton) {
|
|
473
|
+
return isAlphaNumeric(singleton) && !this.z37(singleton);
|
|
492
474
|
};
|
|
493
|
-
protoOf(Companion).
|
|
494
|
-
return singleton.length === 1 && this.
|
|
475
|
+
protoOf(Companion).w37 = function (singleton) {
|
|
476
|
+
return singleton.length === 1 && this.y37(charSequenceGet(singleton, 0));
|
|
495
477
|
};
|
|
496
|
-
protoOf(Companion).
|
|
478
|
+
protoOf(Companion).x37 = function (extension) {
|
|
497
479
|
var tmp;
|
|
498
480
|
var containsArg = extension.length;
|
|
499
481
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -503,10 +485,10 @@
|
|
|
503
485
|
}
|
|
504
486
|
return tmp;
|
|
505
487
|
};
|
|
506
|
-
protoOf(Companion).
|
|
488
|
+
protoOf(Companion).s37 = function (extlang) {
|
|
507
489
|
return extlang.length === 3 && isAlpha_0(extlang);
|
|
508
490
|
};
|
|
509
|
-
protoOf(Companion).
|
|
491
|
+
protoOf(Companion).o37 = function (language) {
|
|
510
492
|
var tmp;
|
|
511
493
|
var containsArg = language.length;
|
|
512
494
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -516,9 +498,9 @@
|
|
|
516
498
|
}
|
|
517
499
|
return tmp;
|
|
518
500
|
};
|
|
519
|
-
protoOf(Companion).
|
|
501
|
+
protoOf(Companion).u37 = function (privateuse) {
|
|
520
502
|
var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
521
|
-
if (!this.
|
|
503
|
+
if (!this.a38(tokens.l()))
|
|
522
504
|
return false;
|
|
523
505
|
if (!tokens.k())
|
|
524
506
|
return false;
|
|
@@ -526,18 +508,18 @@
|
|
|
526
508
|
var tmp0_iterator = tokens;
|
|
527
509
|
while (tmp0_iterator.k()) {
|
|
528
510
|
var token = tmp0_iterator.l();
|
|
529
|
-
if (!this.
|
|
511
|
+
if (!this.b38(token))
|
|
530
512
|
return false;
|
|
531
513
|
}
|
|
532
514
|
return true;
|
|
533
515
|
};
|
|
534
|
-
protoOf(Companion).
|
|
516
|
+
protoOf(Companion).z37 = function (prefix) {
|
|
535
517
|
return equals(prefix, _Char___init__impl__6a9atx(120), true);
|
|
536
518
|
};
|
|
537
|
-
protoOf(Companion).
|
|
538
|
-
return prefix.length === 1 && this.
|
|
519
|
+
protoOf(Companion).a38 = function (prefix) {
|
|
520
|
+
return prefix.length === 1 && this.z37(charSequenceGet(prefix, 0));
|
|
539
521
|
};
|
|
540
|
-
protoOf(Companion).
|
|
522
|
+
protoOf(Companion).b38 = function (privateuse) {
|
|
541
523
|
var tmp;
|
|
542
524
|
var containsArg = privateuse.length;
|
|
543
525
|
if (1 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -547,7 +529,7 @@
|
|
|
547
529
|
}
|
|
548
530
|
return tmp;
|
|
549
531
|
};
|
|
550
|
-
protoOf(Companion).
|
|
532
|
+
protoOf(Companion).q37 = function (region) {
|
|
551
533
|
switch (region.length) {
|
|
552
534
|
case 2:
|
|
553
535
|
return isAlpha_0(region);
|
|
@@ -557,15 +539,15 @@
|
|
|
557
539
|
return false;
|
|
558
540
|
}
|
|
559
541
|
};
|
|
560
|
-
protoOf(Companion).
|
|
542
|
+
protoOf(Companion).p37 = function (script) {
|
|
561
543
|
return script.length === 4 && isAlpha_0(script);
|
|
562
544
|
};
|
|
563
|
-
protoOf(Companion).
|
|
545
|
+
protoOf(Companion).r37 = function (variant) {
|
|
564
546
|
var tmp0_subject = variant.length;
|
|
565
547
|
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;
|
|
566
548
|
};
|
|
567
|
-
protoOf(Companion).
|
|
568
|
-
var tmp0_elvis_lhs = this.
|
|
549
|
+
protoOf(Companion).c38 = function (string) {
|
|
550
|
+
var tmp0_elvis_lhs = this.y36_1.k2(toLowerCase_0(string));
|
|
569
551
|
var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
|
|
570
552
|
var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
571
553
|
var extlangs = null;
|
|
@@ -577,65 +559,65 @@
|
|
|
577
559
|
var variants = null;
|
|
578
560
|
var token;
|
|
579
561
|
token = tokens.l();
|
|
580
|
-
if (this.
|
|
581
|
-
language = this.
|
|
562
|
+
if (this.o37(token)) {
|
|
563
|
+
language = this.f37(token);
|
|
582
564
|
token = nextOrNull(tokens);
|
|
583
|
-
if (!(token == null) && this.
|
|
565
|
+
if (!(token == null) && this.s37(token)) {
|
|
584
566
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
585
567
|
extlangs = ArrayList_init_$Create$();
|
|
586
568
|
do {
|
|
587
|
-
extlangs.e(ensureNotNull(this.
|
|
569
|
+
extlangs.e(ensureNotNull(this.d37(token)));
|
|
588
570
|
token = nextOrNull(tokens);
|
|
589
571
|
}
|
|
590
|
-
while (!(token == null) && extlangs.m() < 3 && this.
|
|
572
|
+
while (!(token == null) && extlangs.m() < 3 && this.s37(token));
|
|
591
573
|
}
|
|
592
|
-
if (!(token == null) && this.
|
|
593
|
-
script = this.
|
|
574
|
+
if (!(token == null) && this.p37(token)) {
|
|
575
|
+
script = this.k37(token);
|
|
594
576
|
token = nextOrNull(tokens);
|
|
595
577
|
}
|
|
596
|
-
if (!(token == null) && this.
|
|
597
|
-
region = this.
|
|
578
|
+
if (!(token == null) && this.q37(token)) {
|
|
579
|
+
region = this.j37(token);
|
|
598
580
|
token = nextOrNull(tokens);
|
|
599
581
|
}
|
|
600
|
-
if (!(token == null) && this.
|
|
582
|
+
if (!(token == null) && this.r37(token)) {
|
|
601
583
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
602
584
|
variants = ArrayList_init_$Create$();
|
|
603
585
|
do {
|
|
604
|
-
variants.e(ensureNotNull(this.
|
|
586
|
+
variants.e(ensureNotNull(this.l37(token)));
|
|
605
587
|
token = nextOrNull(tokens);
|
|
606
588
|
}
|
|
607
|
-
while (!(token == null) && this.
|
|
589
|
+
while (!(token == null) && this.r37(token));
|
|
608
590
|
}
|
|
609
|
-
if (!(token == null) && this.
|
|
591
|
+
if (!(token == null) && this.w37(token)) {
|
|
610
592
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
611
593
|
extensions = ArrayList_init_$Create$();
|
|
612
594
|
do {
|
|
613
|
-
var extensionBuilder = new StringBuilder(ensureNotNull(this.
|
|
595
|
+
var extensionBuilder = new StringBuilder(ensureNotNull(this.a37(token)));
|
|
614
596
|
token = nextOrNull(tokens);
|
|
615
|
-
if (!(token == null) && this.
|
|
597
|
+
if (!(token == null) && this.x37(token)) {
|
|
616
598
|
do {
|
|
617
|
-
extensionBuilder.
|
|
618
|
-
extensionBuilder.
|
|
599
|
+
extensionBuilder.o8(_Char___init__impl__6a9atx(45));
|
|
600
|
+
extensionBuilder.n8(this.b37(token));
|
|
619
601
|
token = nextOrNull(tokens);
|
|
620
602
|
}
|
|
621
|
-
while (!(token == null) && this.
|
|
603
|
+
while (!(token == null) && this.x37(token));
|
|
622
604
|
} else
|
|
623
605
|
return null;
|
|
624
606
|
extensions.e(extensionBuilder.toString());
|
|
625
607
|
}
|
|
626
|
-
while (!(token == null) && this.
|
|
608
|
+
while (!(token == null) && this.w37(token));
|
|
627
609
|
}
|
|
628
610
|
}
|
|
629
|
-
if (!(token == null) && this.
|
|
630
|
-
var privateuseBuilder = new StringBuilder(ensureNotNull(this.
|
|
611
|
+
if (!(token == null) && this.a38(token)) {
|
|
612
|
+
var privateuseBuilder = new StringBuilder(ensureNotNull(this.h37(token)));
|
|
631
613
|
token = nextOrNull(tokens);
|
|
632
|
-
if (!(token == null) && this.
|
|
614
|
+
if (!(token == null) && this.b38(token)) {
|
|
633
615
|
do {
|
|
634
|
-
privateuseBuilder.
|
|
635
|
-
privateuseBuilder.
|
|
616
|
+
privateuseBuilder.o8(_Char___init__impl__6a9atx(45));
|
|
617
|
+
privateuseBuilder.n8(this.i37(token));
|
|
636
618
|
token = nextOrNull(tokens);
|
|
637
619
|
}
|
|
638
|
-
while (!(token == null) && this.
|
|
620
|
+
while (!(token == null) && this.b38(token));
|
|
639
621
|
} else
|
|
640
622
|
return null;
|
|
641
623
|
privateuse = privateuseBuilder.toString();
|
|
@@ -665,13 +647,13 @@
|
|
|
665
647
|
}
|
|
666
648
|
function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
|
|
667
649
|
Companion_getInstance();
|
|
668
|
-
this.
|
|
669
|
-
this.
|
|
670
|
-
this.
|
|
671
|
-
this.
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
650
|
+
this.d38_1 = extensions;
|
|
651
|
+
this.e38_1 = extlangs;
|
|
652
|
+
this.f38_1 = language;
|
|
653
|
+
this.g38_1 = privateuse;
|
|
654
|
+
this.h38_1 = region;
|
|
655
|
+
this.i38_1 = script;
|
|
656
|
+
this.j38_1 = variants;
|
|
675
657
|
}
|
|
676
658
|
protoOf(LanguageTag).equals = function (other) {
|
|
677
659
|
var tmp;
|
|
@@ -686,37 +668,37 @@
|
|
|
686
668
|
var tmp_5;
|
|
687
669
|
var tmp_6;
|
|
688
670
|
if (other instanceof LanguageTag) {
|
|
689
|
-
tmp_6 = equals_0(this.
|
|
671
|
+
tmp_6 = equals_0(this.d38_1, other.d38_1);
|
|
690
672
|
} else {
|
|
691
673
|
tmp_6 = false;
|
|
692
674
|
}
|
|
693
675
|
if (tmp_6) {
|
|
694
|
-
tmp_5 = equals_0(this.
|
|
676
|
+
tmp_5 = equals_0(this.e38_1, other.e38_1);
|
|
695
677
|
} else {
|
|
696
678
|
tmp_5 = false;
|
|
697
679
|
}
|
|
698
680
|
if (tmp_5) {
|
|
699
|
-
tmp_4 = this.
|
|
681
|
+
tmp_4 = this.f38_1 == other.f38_1;
|
|
700
682
|
} else {
|
|
701
683
|
tmp_4 = false;
|
|
702
684
|
}
|
|
703
685
|
if (tmp_4) {
|
|
704
|
-
tmp_3 = this.
|
|
686
|
+
tmp_3 = this.g38_1 == other.g38_1;
|
|
705
687
|
} else {
|
|
706
688
|
tmp_3 = false;
|
|
707
689
|
}
|
|
708
690
|
if (tmp_3) {
|
|
709
|
-
tmp_2 = this.
|
|
691
|
+
tmp_2 = this.h38_1 == other.h38_1;
|
|
710
692
|
} else {
|
|
711
693
|
tmp_2 = false;
|
|
712
694
|
}
|
|
713
695
|
if (tmp_2) {
|
|
714
|
-
tmp_1 = this.
|
|
696
|
+
tmp_1 = this.i38_1 == other.i38_1;
|
|
715
697
|
} else {
|
|
716
698
|
tmp_1 = false;
|
|
717
699
|
}
|
|
718
700
|
if (tmp_1) {
|
|
719
|
-
tmp_0 = equals_2(this.
|
|
701
|
+
tmp_0 = equals_2(this.j38_1, other.j38_1, true);
|
|
720
702
|
} else {
|
|
721
703
|
tmp_0 = false;
|
|
722
704
|
}
|
|
@@ -725,33 +707,31 @@
|
|
|
725
707
|
return tmp;
|
|
726
708
|
};
|
|
727
709
|
protoOf(LanguageTag).hashCode = function () {
|
|
728
|
-
var result = hashCode(this.
|
|
729
|
-
result = imul(31, result) + hashCode(this.
|
|
710
|
+
var result = hashCode(this.d38_1);
|
|
711
|
+
result = imul(31, result) + hashCode(this.e38_1) | 0;
|
|
730
712
|
var tmp = imul(31, result);
|
|
731
713
|
// Inline function 'kotlin.hashCode' call
|
|
732
|
-
var tmp0_safe_receiver = this.
|
|
714
|
+
var tmp0_safe_receiver = this.f38_1;
|
|
733
715
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
734
716
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
735
717
|
var tmp_0 = imul(31, result);
|
|
736
718
|
// Inline function 'kotlin.hashCode' call
|
|
737
|
-
var tmp0_safe_receiver_0 = this.
|
|
719
|
+
var tmp0_safe_receiver_0 = this.g38_1;
|
|
738
720
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
739
721
|
result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
740
722
|
var tmp_1 = imul(31, result);
|
|
741
723
|
// Inline function 'kotlin.hashCode' call
|
|
742
|
-
var tmp0_safe_receiver_1 = this.
|
|
724
|
+
var tmp0_safe_receiver_1 = this.h38_1;
|
|
743
725
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
744
726
|
result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
|
|
745
727
|
var tmp_2 = imul(31, result);
|
|
746
728
|
// Inline function 'kotlin.hashCode' call
|
|
747
|
-
var tmp0_safe_receiver_2 = this.
|
|
729
|
+
var tmp0_safe_receiver_2 = this.i38_1;
|
|
748
730
|
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
|
|
749
731
|
result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
|
|
750
732
|
var tmp_3 = imul(31, result);
|
|
751
|
-
// Inline function 'kotlin.hashCode' call
|
|
752
733
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
753
|
-
var this_0 = this.
|
|
754
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
734
|
+
var this_0 = this.j38_1;
|
|
755
735
|
var tmp_4;
|
|
756
736
|
if (this_0.p()) {
|
|
757
737
|
// Inline function 'io.fluidsonic.locale.LanguageTag.hashCode.<anonymous>' call
|
|
@@ -767,14 +747,16 @@
|
|
|
767
747
|
// Inline function 'kotlin.collections.map' call
|
|
768
748
|
// Inline function 'kotlin.collections.mapTo' call
|
|
769
749
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_safe_receiver_3, 10));
|
|
770
|
-
var
|
|
771
|
-
while (
|
|
772
|
-
var item =
|
|
750
|
+
var _iterator__ex2g4s = tmp0_safe_receiver_3.j();
|
|
751
|
+
while (_iterator__ex2g4s.k()) {
|
|
752
|
+
var item = _iterator__ex2g4s.l();
|
|
753
|
+
// Inline function 'io.fluidsonic.locale.LanguageTag.hashCode.stub_for_inlining' call
|
|
773
754
|
var tmp$ret$6 = toLowerCase_0(item);
|
|
774
755
|
destination.e(tmp$ret$6);
|
|
775
756
|
}
|
|
776
757
|
tmp_5 = destination;
|
|
777
758
|
}
|
|
759
|
+
// Inline function 'kotlin.hashCode' call
|
|
778
760
|
var tmp0_safe_receiver_4 = tmp_5;
|
|
779
761
|
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_4 == null ? null : hashCode(tmp0_safe_receiver_4);
|
|
780
762
|
result = tmp_3 + (tmp1_elvis_lhs_3 == null ? 0 : tmp1_elvis_lhs_3) | 0;
|
|
@@ -782,65 +764,63 @@
|
|
|
782
764
|
};
|
|
783
765
|
protoOf(LanguageTag).toString = function () {
|
|
784
766
|
// Inline function 'kotlin.text.buildString' call
|
|
785
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
786
767
|
// Inline function 'kotlin.apply' call
|
|
787
768
|
var this_0 = StringBuilder_init_$Create$();
|
|
788
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
789
769
|
// Inline function 'io.fluidsonic.locale.LanguageTag.toString.<anonymous>' call
|
|
790
|
-
if (!(this.
|
|
791
|
-
this_0.
|
|
792
|
-
var tmp0_iterator = this.
|
|
770
|
+
if (!(this.f38_1 == null)) {
|
|
771
|
+
this_0.n8(this.f38_1);
|
|
772
|
+
var tmp0_iterator = this.e38_1.j();
|
|
793
773
|
while (tmp0_iterator.k()) {
|
|
794
774
|
var extlang = tmp0_iterator.l();
|
|
795
|
-
this_0.
|
|
796
|
-
this_0.
|
|
775
|
+
this_0.o8(_Char___init__impl__6a9atx(45));
|
|
776
|
+
this_0.n8(extlang);
|
|
797
777
|
}
|
|
798
|
-
if (!(this.
|
|
799
|
-
this_0.
|
|
800
|
-
this_0.
|
|
778
|
+
if (!(this.i38_1 == null)) {
|
|
779
|
+
this_0.o8(_Char___init__impl__6a9atx(45));
|
|
780
|
+
this_0.n8(this.i38_1);
|
|
801
781
|
}
|
|
802
|
-
if (!(this.
|
|
803
|
-
this_0.
|
|
804
|
-
this_0.
|
|
782
|
+
if (!(this.h38_1 == null)) {
|
|
783
|
+
this_0.o8(_Char___init__impl__6a9atx(45));
|
|
784
|
+
this_0.n8(this.h38_1);
|
|
805
785
|
}
|
|
806
|
-
var tmp1_iterator = this.
|
|
786
|
+
var tmp1_iterator = this.j38_1.j();
|
|
807
787
|
while (tmp1_iterator.k()) {
|
|
808
788
|
var variant = tmp1_iterator.l();
|
|
809
|
-
this_0.
|
|
810
|
-
this_0.
|
|
789
|
+
this_0.o8(_Char___init__impl__6a9atx(45));
|
|
790
|
+
this_0.n8(variant);
|
|
811
791
|
}
|
|
812
|
-
var tmp2_iterator = this.
|
|
792
|
+
var tmp2_iterator = this.d38_1.j();
|
|
813
793
|
while (tmp2_iterator.k()) {
|
|
814
794
|
var extension = tmp2_iterator.l();
|
|
815
|
-
this_0.
|
|
816
|
-
this_0.
|
|
795
|
+
this_0.o8(_Char___init__impl__6a9atx(45));
|
|
796
|
+
this_0.n8(extension);
|
|
817
797
|
}
|
|
818
798
|
}
|
|
819
|
-
if (!(this.
|
|
799
|
+
if (!(this.g38_1 == null)) {
|
|
820
800
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
821
801
|
if (charSequenceLength(this_0) > 0) {
|
|
822
|
-
this_0.
|
|
802
|
+
this_0.o8(_Char___init__impl__6a9atx(45));
|
|
823
803
|
}
|
|
824
|
-
this_0.
|
|
804
|
+
this_0.n8(this.g38_1);
|
|
825
805
|
}
|
|
826
806
|
return this_0.toString();
|
|
827
807
|
};
|
|
828
808
|
function Companion_0() {
|
|
829
809
|
Companion_instance_0 = this;
|
|
830
|
-
this.
|
|
810
|
+
this.k38_1 = new Locale(Companion_getInstance().v37('und'));
|
|
831
811
|
}
|
|
832
|
-
protoOf(Companion_0).
|
|
833
|
-
return tag.equals(this.
|
|
812
|
+
protoOf(Companion_0).l38 = function (tag) {
|
|
813
|
+
return tag.equals(this.k38_1.m38_1) ? this.k38_1 : new Locale(tag);
|
|
834
814
|
};
|
|
835
|
-
protoOf(Companion_0).
|
|
836
|
-
var tmp0_safe_receiver = Companion_getInstance().
|
|
815
|
+
protoOf(Companion_0).n38 = function (tag) {
|
|
816
|
+
var tmp0_safe_receiver = Companion_getInstance().c38(tag);
|
|
837
817
|
var tmp;
|
|
838
818
|
if (tmp0_safe_receiver == null) {
|
|
839
819
|
tmp = null;
|
|
840
820
|
} else {
|
|
841
821
|
// Inline function 'kotlin.let' call
|
|
842
|
-
// Inline function '
|
|
843
|
-
tmp = this.
|
|
822
|
+
// Inline function 'io.fluidsonic.locale.Companion.forLanguageTagOrNull.stub_for_inlining' call
|
|
823
|
+
tmp = this.l38(tmp0_safe_receiver);
|
|
844
824
|
}
|
|
845
825
|
return tmp;
|
|
846
826
|
};
|
|
@@ -852,7 +832,7 @@
|
|
|
852
832
|
}
|
|
853
833
|
function Locale(languageTag) {
|
|
854
834
|
Companion_getInstance_0();
|
|
855
|
-
this.
|
|
835
|
+
this.m38_1 = languageTag;
|
|
856
836
|
}
|
|
857
837
|
protoOf(Locale).equals = function (other) {
|
|
858
838
|
var tmp;
|
|
@@ -861,7 +841,7 @@
|
|
|
861
841
|
} else {
|
|
862
842
|
var tmp_0;
|
|
863
843
|
if (other instanceof Locale) {
|
|
864
|
-
tmp_0 = this.
|
|
844
|
+
tmp_0 = this.m38_1.equals(other.m38_1);
|
|
865
845
|
} else {
|
|
866
846
|
tmp_0 = false;
|
|
867
847
|
}
|
|
@@ -870,10 +850,10 @@
|
|
|
870
850
|
return tmp;
|
|
871
851
|
};
|
|
872
852
|
protoOf(Locale).hashCode = function () {
|
|
873
|
-
return this.
|
|
853
|
+
return this.m38_1.hashCode();
|
|
874
854
|
};
|
|
875
855
|
protoOf(Locale).toString = function () {
|
|
876
|
-
return this.
|
|
856
|
+
return this.m38_1.toString();
|
|
877
857
|
};
|
|
878
858
|
function isAlphaNumeric(_this__u8e3s4) {
|
|
879
859
|
return isAlpha(_this__u8e3s4) || isNumeric(_this__u8e3s4);
|
|
@@ -904,13 +884,13 @@
|
|
|
904
884
|
return false;
|
|
905
885
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
906
886
|
var index = 0;
|
|
907
|
-
var
|
|
908
|
-
while (
|
|
909
|
-
var item =
|
|
887
|
+
var _iterator__ex2g4s = _this__u8e3s4.j();
|
|
888
|
+
while (_iterator__ex2g4s.k()) {
|
|
889
|
+
var item = _iterator__ex2g4s.l();
|
|
890
|
+
var _unary__edvuaz = index;
|
|
891
|
+
index = _unary__edvuaz + 1 | 0;
|
|
910
892
|
// Inline function 'io.fluidsonic.locale.equals.<anonymous>' call
|
|
911
|
-
var
|
|
912
|
-
index = tmp1 + 1 | 0;
|
|
913
|
-
var index_0 = checkIndexOverflow(tmp1);
|
|
893
|
+
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
914
894
|
if (!equals_1(item, other.o(index_0), ignoreCase))
|
|
915
895
|
return false;
|
|
916
896
|
}
|
|
@@ -924,6 +904,7 @@
|
|
|
924
904
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
925
905
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
926
906
|
inductionVariable = inductionVariable + 1 | 0;
|
|
907
|
+
// Inline function 'io.fluidsonic.locale.toLowerCase.stub_for_inlining' call
|
|
927
908
|
if (!isLowerCase(element)) {
|
|
928
909
|
tmp$ret$1 = false;
|
|
929
910
|
break $l$block;
|
|
@@ -942,10 +923,11 @@
|
|
|
942
923
|
while (inductionVariable_0 < last) {
|
|
943
924
|
var item = characters[inductionVariable_0];
|
|
944
925
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
926
|
+
var _unary__edvuaz = index;
|
|
927
|
+
index = _unary__edvuaz + 1 | 0;
|
|
945
928
|
// Inline function 'io.fluidsonic.locale.mapCharacters.<anonymous>' call
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
characters[tmp1] = toLowerCase(item);
|
|
929
|
+
// Inline function 'io.fluidsonic.locale.toLowerCase.stub_for_inlining' call
|
|
930
|
+
characters[_unary__edvuaz] = toLowerCase(item);
|
|
949
931
|
}
|
|
950
932
|
return concatToString(characters);
|
|
951
933
|
}
|
|
@@ -957,6 +939,7 @@
|
|
|
957
939
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
958
940
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
959
941
|
inductionVariable = inductionVariable + 1 | 0;
|
|
942
|
+
// Inline function 'io.fluidsonic.locale.toUpperCase.stub_for_inlining' call
|
|
960
943
|
if (!isUpperCase(element)) {
|
|
961
944
|
tmp$ret$1 = false;
|
|
962
945
|
break $l$block;
|
|
@@ -975,10 +958,11 @@
|
|
|
975
958
|
while (inductionVariable_0 < last) {
|
|
976
959
|
var item = characters[inductionVariable_0];
|
|
977
960
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
961
|
+
var _unary__edvuaz = index;
|
|
962
|
+
index = _unary__edvuaz + 1 | 0;
|
|
978
963
|
// Inline function 'io.fluidsonic.locale.mapCharacters.<anonymous>' call
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
characters[tmp1] = toUpperCase(item);
|
|
964
|
+
// Inline function 'io.fluidsonic.locale.toUpperCase.stub_for_inlining' call
|
|
965
|
+
characters[_unary__edvuaz] = toUpperCase(item);
|
|
982
966
|
}
|
|
983
967
|
return concatToString(characters);
|
|
984
968
|
}
|
|
@@ -990,10 +974,10 @@
|
|
|
990
974
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
991
975
|
var item = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
992
976
|
inductionVariable = inductionVariable + 1 | 0;
|
|
977
|
+
var _unary__edvuaz = index;
|
|
978
|
+
index = _unary__edvuaz + 1 | 0;
|
|
993
979
|
// Inline function 'io.fluidsonic.locale.toUppercaseFirstLowercaseRest.<anonymous>' call
|
|
994
|
-
|
|
995
|
-
index = tmp1 + 1 | 0;
|
|
996
|
-
if (tmp1 === 0) {
|
|
980
|
+
if (_unary__edvuaz === 0) {
|
|
997
981
|
if (_Char___init__impl__6a9atx(97) <= item ? item <= _Char___init__impl__6a9atx(122) : false)
|
|
998
982
|
needsConversion = true;
|
|
999
983
|
} else if (_Char___init__impl__6a9atx(65) <= item ? item <= _Char___init__impl__6a9atx(90) : false)
|
|
@@ -1010,11 +994,11 @@
|
|
|
1010
994
|
while (inductionVariable_0 < last) {
|
|
1011
995
|
var item_0 = characters[inductionVariable_0];
|
|
1012
996
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
997
|
+
var _unary__edvuaz_0 = index_0;
|
|
998
|
+
index_0 = _unary__edvuaz_0 + 1 | 0;
|
|
1013
999
|
// Inline function 'io.fluidsonic.locale.mapCharactersIndexed.<anonymous>' call
|
|
1014
|
-
var tmp1_0 = index_0;
|
|
1015
|
-
index_0 = tmp1_0 + 1 | 0;
|
|
1016
1000
|
// Inline function 'io.fluidsonic.locale.toUppercaseFirstLowercaseRest.<anonymous>' call
|
|
1017
|
-
characters[
|
|
1001
|
+
characters[_unary__edvuaz_0] = _unary__edvuaz_0 === 0 ? toUpperCase(item_0) : toLowerCase(item_0);
|
|
1018
1002
|
}
|
|
1019
1003
|
return concatToString(characters);
|
|
1020
1004
|
}
|
|
@@ -1026,6 +1010,7 @@
|
|
|
1026
1010
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
1027
1011
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
1028
1012
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1013
|
+
// Inline function 'io.fluidsonic.locale.isAlphaNumeric.stub_for_inlining' call
|
|
1029
1014
|
if (!isAlphaNumeric(element)) {
|
|
1030
1015
|
tmp$ret$1 = false;
|
|
1031
1016
|
break $l$block;
|
|
@@ -1043,6 +1028,7 @@
|
|
|
1043
1028
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
1044
1029
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
1045
1030
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1031
|
+
// Inline function 'io.fluidsonic.locale.isAlpha.stub_for_inlining' call
|
|
1046
1032
|
if (!isAlpha(element)) {
|
|
1047
1033
|
tmp$ret$1 = false;
|
|
1048
1034
|
break $l$block;
|
|
@@ -1060,6 +1046,7 @@
|
|
|
1060
1046
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
1061
1047
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
1062
1048
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1049
|
+
// Inline function 'io.fluidsonic.locale.isNumeric.stub_for_inlining' call
|
|
1063
1050
|
if (!isNumeric(element)) {
|
|
1064
1051
|
tmp$ret$1 = false;
|
|
1065
1052
|
break $l$block;
|