@cruglobal/godtools-shared 1.1.3-SNAPSHOT.1704 → 1.1.3-SNAPSHOT.1706
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 -51
- package/Kermit-kermit-core.js.map +1 -1
- package/Kermit-kermit.js +9 -9
- package/Kermit-kermit.js.map +1 -1
- package/KustomExport-lib-coroutines.js.map +1 -1
- package/KustomExport-lib.js.map +1 -1
- package/android-gto-support-gto-support-fluidsonic-locale.js.map +1 -1
- package/androidx-annotation-annotation.js.map +1 -1
- package/antlr-kotlin-antlr-kotlin-runtime.js +3164 -3333
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +959 -1043
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +158 -205
- package/fluid-locale.js.map +1 -1
- package/kotlin-js.js +38 -38
- package/kotlin-js.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2038 -3119
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js +3 -3
- package/kotlin-mpp-godtools-tool-parser-module-common.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +410 -415
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2718 -2989
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +232 -265
- package/kotlin-mpp-godtools-tool-parser-module-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +0 -18
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlinx-atomicfu.js +25 -26
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2968 -3234
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
- package/seskar-core.js.map +1 -1
- package/seskar-react.js.map +1 -1
package/fluid-locale.js
CHANGED
|
@@ -14,36 +14,36 @@
|
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
16
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
|
|
17
|
-
var to = kotlin_kotlin.$_$.
|
|
18
|
-
var hashMapOf = kotlin_kotlin.$_$.
|
|
19
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
+
var to = kotlin_kotlin.$_$.da;
|
|
18
|
+
var hashMapOf = kotlin_kotlin.$_$.v3;
|
|
19
|
+
var charSequenceLength = kotlin_kotlin.$_$.x5;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.w6;
|
|
21
21
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
22
22
|
var Unit_instance = kotlin_kotlin.$_$.l2;
|
|
23
|
-
var sorted = kotlin_kotlin.$_$.
|
|
24
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
25
|
-
var toString = kotlin_kotlin.$_$.
|
|
23
|
+
var sorted = kotlin_kotlin.$_$.r4;
|
|
24
|
+
var emptyList = kotlin_kotlin.$_$.m3;
|
|
25
|
+
var toString = kotlin_kotlin.$_$.z6;
|
|
26
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 initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
35
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
36
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
37
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
28
|
+
var charArrayOf = kotlin_kotlin.$_$.v5;
|
|
29
|
+
var splitToSequence = kotlin_kotlin.$_$.h8;
|
|
30
|
+
var charSequenceGet = kotlin_kotlin.$_$.w5;
|
|
31
|
+
var equals = kotlin_kotlin.$_$.y7;
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.v9;
|
|
33
|
+
var StringBuilder = kotlin_kotlin.$_$.r7;
|
|
34
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.i6;
|
|
35
|
+
var equals_0 = kotlin_kotlin.$_$.a6;
|
|
36
|
+
var hashCode = kotlin_kotlin.$_$.g6;
|
|
37
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.c3;
|
|
38
38
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
|
|
39
39
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
40
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForClass = kotlin_kotlin.$_$.h6;
|
|
41
41
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.v1;
|
|
42
42
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.u1;
|
|
43
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
44
|
-
var equals_1 = kotlin_kotlin.$_$.
|
|
45
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
46
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
43
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.b3;
|
|
44
|
+
var equals_1 = kotlin_kotlin.$_$.x7;
|
|
45
|
+
var toCharArray = kotlin_kotlin.$_$.o8;
|
|
46
|
+
var concatToString = kotlin_kotlin.$_$.s7;
|
|
47
47
|
//endregion
|
|
48
48
|
//region block: pre-declaration
|
|
49
49
|
initMetadataForCompanion(Companion);
|
|
@@ -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.q35_1 = _Char___init__impl__6a9atx(120);
|
|
57
|
+
this.r35_1 = _Char___init__impl__6a9atx(45);
|
|
58
|
+
this.s35_1 = 'und';
|
|
59
|
+
this.t35_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).u35 = function (extension) {
|
|
62
62
|
var tmp;
|
|
63
63
|
if (extension == null) {
|
|
64
64
|
tmp = null;
|
|
@@ -67,7 +67,6 @@
|
|
|
67
67
|
var tmp_0;
|
|
68
68
|
// Inline function 'kotlin.text.isEmpty' call
|
|
69
69
|
if (charSequenceLength(extension) === 0) {
|
|
70
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtension.<anonymous>' call
|
|
71
70
|
tmp_0 = null;
|
|
72
71
|
} else {
|
|
73
72
|
tmp_0 = extension;
|
|
@@ -77,7 +76,7 @@
|
|
|
77
76
|
var tmp1_safe_receiver = tmp;
|
|
78
77
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
79
78
|
};
|
|
80
|
-
protoOf(Companion).
|
|
79
|
+
protoOf(Companion).v35 = function (singleton) {
|
|
81
80
|
var tmp;
|
|
82
81
|
if (singleton == null) {
|
|
83
82
|
tmp = null;
|
|
@@ -86,7 +85,6 @@
|
|
|
86
85
|
var tmp_0;
|
|
87
86
|
// Inline function 'kotlin.text.isEmpty' call
|
|
88
87
|
if (charSequenceLength(singleton) === 0) {
|
|
89
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensionSingleton.<anonymous>' call
|
|
90
88
|
tmp_0 = null;
|
|
91
89
|
} else {
|
|
92
90
|
tmp_0 = singleton;
|
|
@@ -96,7 +94,7 @@
|
|
|
96
94
|
var tmp1_safe_receiver = tmp;
|
|
97
95
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
98
96
|
};
|
|
99
|
-
protoOf(Companion).
|
|
97
|
+
protoOf(Companion).w35 = function (subtag) {
|
|
100
98
|
var tmp;
|
|
101
99
|
if (subtag == null) {
|
|
102
100
|
tmp = null;
|
|
@@ -105,7 +103,6 @@
|
|
|
105
103
|
var tmp_0;
|
|
106
104
|
// Inline function 'kotlin.text.isEmpty' call
|
|
107
105
|
if (charSequenceLength(subtag) === 0) {
|
|
108
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensionSubtag.<anonymous>' call
|
|
109
106
|
tmp_0 = null;
|
|
110
107
|
} else {
|
|
111
108
|
tmp_0 = subtag;
|
|
@@ -115,11 +112,10 @@
|
|
|
115
112
|
var tmp1_safe_receiver = tmp;
|
|
116
113
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
117
114
|
};
|
|
118
|
-
protoOf(Companion).
|
|
115
|
+
protoOf(Companion).x35 = function (extensions) {
|
|
119
116
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
120
117
|
var tmp;
|
|
121
118
|
if (extensions.p()) {
|
|
122
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensions.<anonymous>' call
|
|
123
119
|
tmp = null;
|
|
124
120
|
} else {
|
|
125
121
|
tmp = extensions;
|
|
@@ -136,14 +132,11 @@
|
|
|
136
132
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
137
133
|
while (_iterator__ex2g4s.k()) {
|
|
138
134
|
var element = _iterator__ex2g4s.l();
|
|
139
|
-
|
|
140
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensions.stub_for_inlining' call
|
|
141
|
-
var tmp0_safe_receiver_0 = this.b37(element);
|
|
135
|
+
var tmp0_safe_receiver_0 = this.u35(element);
|
|
142
136
|
if (tmp0_safe_receiver_0 == null)
|
|
143
137
|
null;
|
|
144
138
|
else {
|
|
145
139
|
// Inline function 'kotlin.let' call
|
|
146
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
147
140
|
destination.e(tmp0_safe_receiver_0);
|
|
148
141
|
}
|
|
149
142
|
}
|
|
@@ -154,7 +147,7 @@
|
|
|
154
147
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
|
|
155
148
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
156
149
|
};
|
|
157
|
-
protoOf(Companion).
|
|
150
|
+
protoOf(Companion).y35 = function (extlang) {
|
|
158
151
|
var tmp;
|
|
159
152
|
if (extlang == null) {
|
|
160
153
|
tmp = null;
|
|
@@ -163,7 +156,6 @@
|
|
|
163
156
|
var tmp_0;
|
|
164
157
|
// Inline function 'kotlin.text.isEmpty' call
|
|
165
158
|
if (charSequenceLength(extlang) === 0) {
|
|
166
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtlang.<anonymous>' call
|
|
167
159
|
tmp_0 = null;
|
|
168
160
|
} else {
|
|
169
161
|
tmp_0 = extlang;
|
|
@@ -173,11 +165,10 @@
|
|
|
173
165
|
var tmp1_safe_receiver = tmp;
|
|
174
166
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
175
167
|
};
|
|
176
|
-
protoOf(Companion).
|
|
168
|
+
protoOf(Companion).z35 = function (extlangs) {
|
|
177
169
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
178
170
|
var tmp;
|
|
179
171
|
if (extlangs.p()) {
|
|
180
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtlangs.<anonymous>' call
|
|
181
172
|
tmp = null;
|
|
182
173
|
} else {
|
|
183
174
|
tmp = extlangs;
|
|
@@ -194,14 +185,11 @@
|
|
|
194
185
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
195
186
|
while (_iterator__ex2g4s.k()) {
|
|
196
187
|
var element = _iterator__ex2g4s.l();
|
|
197
|
-
|
|
198
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtlangs.stub_for_inlining' call
|
|
199
|
-
var tmp0_safe_receiver_0 = this.f37(element);
|
|
188
|
+
var tmp0_safe_receiver_0 = this.y35(element);
|
|
200
189
|
if (tmp0_safe_receiver_0 == null)
|
|
201
190
|
null;
|
|
202
191
|
else {
|
|
203
192
|
// Inline function 'kotlin.let' call
|
|
204
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
205
193
|
destination.e(tmp0_safe_receiver_0);
|
|
206
194
|
}
|
|
207
195
|
}
|
|
@@ -211,7 +199,7 @@
|
|
|
211
199
|
var tmp0_elvis_lhs = tmp_0;
|
|
212
200
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
213
201
|
};
|
|
214
|
-
protoOf(Companion).
|
|
202
|
+
protoOf(Companion).a36 = function (language) {
|
|
215
203
|
var tmp;
|
|
216
204
|
if (language == null) {
|
|
217
205
|
tmp = null;
|
|
@@ -220,7 +208,6 @@
|
|
|
220
208
|
var tmp_0;
|
|
221
209
|
// Inline function 'kotlin.text.isEmpty' call
|
|
222
210
|
if (charSequenceLength(language) === 0) {
|
|
223
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeLanguage.<anonymous>' call
|
|
224
211
|
tmp_0 = null;
|
|
225
212
|
} else {
|
|
226
213
|
tmp_0 = language;
|
|
@@ -230,7 +217,7 @@
|
|
|
230
217
|
var tmp1_safe_receiver = tmp;
|
|
231
218
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
232
219
|
};
|
|
233
|
-
protoOf(Companion).
|
|
220
|
+
protoOf(Companion).b36 = function (privateuse) {
|
|
234
221
|
var tmp;
|
|
235
222
|
if (privateuse == null) {
|
|
236
223
|
tmp = null;
|
|
@@ -239,7 +226,6 @@
|
|
|
239
226
|
var tmp_0;
|
|
240
227
|
// Inline function 'kotlin.text.isEmpty' call
|
|
241
228
|
if (charSequenceLength(privateuse) === 0) {
|
|
242
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizePrivateuse.<anonymous>' call
|
|
243
229
|
tmp_0 = null;
|
|
244
230
|
} else {
|
|
245
231
|
tmp_0 = privateuse;
|
|
@@ -249,7 +235,7 @@
|
|
|
249
235
|
var tmp1_safe_receiver = tmp;
|
|
250
236
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
251
237
|
};
|
|
252
|
-
protoOf(Companion).
|
|
238
|
+
protoOf(Companion).c36 = function (prefix) {
|
|
253
239
|
var tmp;
|
|
254
240
|
if (prefix == null) {
|
|
255
241
|
tmp = null;
|
|
@@ -258,7 +244,6 @@
|
|
|
258
244
|
var tmp_0;
|
|
259
245
|
// Inline function 'kotlin.text.isEmpty' call
|
|
260
246
|
if (charSequenceLength(prefix) === 0) {
|
|
261
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizePrivateusePrefix.<anonymous>' call
|
|
262
247
|
tmp_0 = null;
|
|
263
248
|
} else {
|
|
264
249
|
tmp_0 = prefix;
|
|
@@ -268,7 +253,7 @@
|
|
|
268
253
|
var tmp1_safe_receiver = tmp;
|
|
269
254
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
270
255
|
};
|
|
271
|
-
protoOf(Companion).
|
|
256
|
+
protoOf(Companion).d36 = function (subtag) {
|
|
272
257
|
var tmp;
|
|
273
258
|
if (subtag == null) {
|
|
274
259
|
tmp = null;
|
|
@@ -277,7 +262,6 @@
|
|
|
277
262
|
var tmp_0;
|
|
278
263
|
// Inline function 'kotlin.text.isEmpty' call
|
|
279
264
|
if (charSequenceLength(subtag) === 0) {
|
|
280
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizePrivateuseSubtag.<anonymous>' call
|
|
281
265
|
tmp_0 = null;
|
|
282
266
|
} else {
|
|
283
267
|
tmp_0 = subtag;
|
|
@@ -287,7 +271,7 @@
|
|
|
287
271
|
var tmp1_safe_receiver = tmp;
|
|
288
272
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
289
273
|
};
|
|
290
|
-
protoOf(Companion).
|
|
274
|
+
protoOf(Companion).e36 = function (region) {
|
|
291
275
|
var tmp;
|
|
292
276
|
if (region == null) {
|
|
293
277
|
tmp = null;
|
|
@@ -296,7 +280,6 @@
|
|
|
296
280
|
var tmp_0;
|
|
297
281
|
// Inline function 'kotlin.text.isEmpty' call
|
|
298
282
|
if (charSequenceLength(region) === 0) {
|
|
299
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeRegion.<anonymous>' call
|
|
300
283
|
tmp_0 = null;
|
|
301
284
|
} else {
|
|
302
285
|
tmp_0 = region;
|
|
@@ -306,7 +289,7 @@
|
|
|
306
289
|
var tmp1_safe_receiver = tmp;
|
|
307
290
|
return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
|
|
308
291
|
};
|
|
309
|
-
protoOf(Companion).
|
|
292
|
+
protoOf(Companion).f36 = function (script) {
|
|
310
293
|
var tmp;
|
|
311
294
|
if (script == null) {
|
|
312
295
|
tmp = null;
|
|
@@ -315,7 +298,6 @@
|
|
|
315
298
|
var tmp_0;
|
|
316
299
|
// Inline function 'kotlin.text.isEmpty' call
|
|
317
300
|
if (charSequenceLength(script) === 0) {
|
|
318
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeScript.<anonymous>' call
|
|
319
301
|
tmp_0 = null;
|
|
320
302
|
} else {
|
|
321
303
|
tmp_0 = script;
|
|
@@ -325,7 +307,7 @@
|
|
|
325
307
|
var tmp1_safe_receiver = tmp;
|
|
326
308
|
return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
|
|
327
309
|
};
|
|
328
|
-
protoOf(Companion).
|
|
310
|
+
protoOf(Companion).g36 = function (variant) {
|
|
329
311
|
var tmp;
|
|
330
312
|
if (variant == null) {
|
|
331
313
|
tmp = null;
|
|
@@ -334,7 +316,6 @@
|
|
|
334
316
|
var tmp_0;
|
|
335
317
|
// Inline function 'kotlin.text.isEmpty' call
|
|
336
318
|
if (charSequenceLength(variant) === 0) {
|
|
337
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeVariant.<anonymous>' call
|
|
338
319
|
tmp_0 = null;
|
|
339
320
|
} else {
|
|
340
321
|
tmp_0 = variant;
|
|
@@ -343,11 +324,10 @@
|
|
|
343
324
|
}
|
|
344
325
|
return tmp;
|
|
345
326
|
};
|
|
346
|
-
protoOf(Companion).
|
|
327
|
+
protoOf(Companion).h36 = function (variants) {
|
|
347
328
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
348
329
|
var tmp;
|
|
349
330
|
if (variants.p()) {
|
|
350
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeVariants.<anonymous>' call
|
|
351
331
|
tmp = null;
|
|
352
332
|
} else {
|
|
353
333
|
tmp = variants;
|
|
@@ -364,14 +344,11 @@
|
|
|
364
344
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
365
345
|
while (_iterator__ex2g4s.k()) {
|
|
366
346
|
var element = _iterator__ex2g4s.l();
|
|
367
|
-
|
|
368
|
-
// Inline function 'io.fluidsonic.locale.Companion.canonicalizeVariants.stub_for_inlining' call
|
|
369
|
-
var tmp0_safe_receiver_0 = this.n37(element);
|
|
347
|
+
var tmp0_safe_receiver_0 = this.g36(element);
|
|
370
348
|
if (tmp0_safe_receiver_0 == null)
|
|
371
349
|
null;
|
|
372
350
|
else {
|
|
373
351
|
// Inline function 'kotlin.let' call
|
|
374
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
375
352
|
destination.e(tmp0_safe_receiver_0);
|
|
376
353
|
}
|
|
377
354
|
}
|
|
@@ -381,29 +358,26 @@
|
|
|
381
358
|
var tmp0_elvis_lhs = tmp_0;
|
|
382
359
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
383
360
|
};
|
|
384
|
-
protoOf(Companion).
|
|
385
|
-
var canonicalLanguage = this.
|
|
386
|
-
var canonicalScript = this.
|
|
387
|
-
var canonicalRegion = this.
|
|
388
|
-
var canonicalVariants = this.
|
|
389
|
-
var canonicalExtlangs = this.
|
|
390
|
-
var canonicalExtensions = this.
|
|
391
|
-
var canonicalPrivateuse = this.
|
|
361
|
+
protoOf(Companion).i36 = function (language, script, region, variants, extlangs, extensions, privateuse) {
|
|
362
|
+
var canonicalLanguage = this.a36(language);
|
|
363
|
+
var canonicalScript = this.f36(script);
|
|
364
|
+
var canonicalRegion = this.e36(region);
|
|
365
|
+
var canonicalVariants = this.h36(variants);
|
|
366
|
+
var canonicalExtlangs = this.z35(extlangs);
|
|
367
|
+
var canonicalExtensions = this.x35(extensions);
|
|
368
|
+
var canonicalPrivateuse = this.b36(privateuse);
|
|
392
369
|
// Inline function 'kotlin.require' call
|
|
393
|
-
if (!(!(canonicalLanguage == null) && this.
|
|
394
|
-
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
370
|
+
if (!(!(canonicalLanguage == null) && this.j36(canonicalLanguage))) {
|
|
395
371
|
var message = 'Invalid language: ' + language;
|
|
396
372
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
397
373
|
}
|
|
398
374
|
// Inline function 'kotlin.require' call
|
|
399
|
-
if (!(canonicalScript == null || this.
|
|
400
|
-
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
375
|
+
if (!(canonicalScript == null || this.k36(canonicalScript))) {
|
|
401
376
|
var message_0 = 'Invalid script: ' + script;
|
|
402
377
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
403
378
|
}
|
|
404
379
|
// Inline function 'kotlin.require' call
|
|
405
|
-
if (!(canonicalRegion == null || this.
|
|
406
|
-
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
380
|
+
if (!(canonicalRegion == null || this.l36(canonicalRegion))) {
|
|
407
381
|
var message_1 = 'Invalid region: ' + region;
|
|
408
382
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
409
383
|
}
|
|
@@ -411,8 +385,7 @@
|
|
|
411
385
|
while (tmp0_iterator.k()) {
|
|
412
386
|
var variant = tmp0_iterator.l();
|
|
413
387
|
// Inline function 'kotlin.require' call
|
|
414
|
-
if (!this.
|
|
415
|
-
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
388
|
+
if (!this.m36(variant)) {
|
|
416
389
|
var message_2 = 'Invalid variant: ' + variant;
|
|
417
390
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
418
391
|
}
|
|
@@ -421,8 +394,7 @@
|
|
|
421
394
|
while (tmp1_iterator.k()) {
|
|
422
395
|
var extlang = tmp1_iterator.l();
|
|
423
396
|
// Inline function 'kotlin.require' call
|
|
424
|
-
if (!this.
|
|
425
|
-
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
397
|
+
if (!this.n36(extlang)) {
|
|
426
398
|
var message_3 = 'Invalid extlang: ' + extlang;
|
|
427
399
|
throw IllegalArgumentException_init_$Create$(toString(message_3));
|
|
428
400
|
}
|
|
@@ -431,32 +403,30 @@
|
|
|
431
403
|
while (tmp2_iterator.k()) {
|
|
432
404
|
var extension = tmp2_iterator.l();
|
|
433
405
|
// Inline function 'kotlin.require' call
|
|
434
|
-
if (!this.
|
|
435
|
-
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
406
|
+
if (!this.o36(extension)) {
|
|
436
407
|
var message_4 = 'Invalid extension: ' + extension;
|
|
437
408
|
throw IllegalArgumentException_init_$Create$(toString(message_4));
|
|
438
409
|
}
|
|
439
410
|
}
|
|
440
411
|
// Inline function 'kotlin.require' call
|
|
441
|
-
if (!(canonicalPrivateuse == null || this.
|
|
442
|
-
// Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
|
|
412
|
+
if (!(canonicalPrivateuse == null || this.p36(canonicalPrivateuse))) {
|
|
443
413
|
var message_5 = 'Invalid privateuse: ' + privateuse;
|
|
444
414
|
throw IllegalArgumentException_init_$Create$(toString(message_5));
|
|
445
415
|
}
|
|
446
416
|
return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
|
|
447
417
|
};
|
|
448
|
-
protoOf(Companion).
|
|
418
|
+
protoOf(Companion).q36 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
|
|
449
419
|
script = script === VOID ? null : script;
|
|
450
420
|
region = region === VOID ? null : region;
|
|
451
421
|
variants = variants === VOID ? emptyList() : variants;
|
|
452
422
|
extlangs = extlangs === VOID ? emptyList() : extlangs;
|
|
453
423
|
extensions = extensions === VOID ? emptyList() : extensions;
|
|
454
424
|
privateuse = privateuse === VOID ? null : privateuse;
|
|
455
|
-
return $super === VOID ? this.
|
|
425
|
+
return $super === VOID ? this.i36(language, script, region, variants, extlangs, extensions, privateuse) : $super.i36.call(this, language, script, region, variants, extlangs, extensions, privateuse);
|
|
456
426
|
};
|
|
457
|
-
protoOf(Companion).
|
|
427
|
+
protoOf(Companion).o36 = function (extension) {
|
|
458
428
|
var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
459
|
-
if (!this.
|
|
429
|
+
if (!this.r36(tokens.l()))
|
|
460
430
|
return false;
|
|
461
431
|
if (!tokens.k())
|
|
462
432
|
return false;
|
|
@@ -464,18 +434,18 @@
|
|
|
464
434
|
var tmp0_iterator = tokens;
|
|
465
435
|
while (tmp0_iterator.k()) {
|
|
466
436
|
var token = tmp0_iterator.l();
|
|
467
|
-
if (!this.
|
|
437
|
+
if (!this.s36(token))
|
|
468
438
|
return false;
|
|
469
439
|
}
|
|
470
440
|
return true;
|
|
471
441
|
};
|
|
472
|
-
protoOf(Companion).
|
|
473
|
-
return isAlphaNumeric(singleton) && !this.
|
|
442
|
+
protoOf(Companion).t36 = function (singleton) {
|
|
443
|
+
return isAlphaNumeric(singleton) && !this.u36(singleton);
|
|
474
444
|
};
|
|
475
|
-
protoOf(Companion).
|
|
476
|
-
return singleton.length === 1 && this.
|
|
445
|
+
protoOf(Companion).r36 = function (singleton) {
|
|
446
|
+
return singleton.length === 1 && this.t36(charSequenceGet(singleton, 0));
|
|
477
447
|
};
|
|
478
|
-
protoOf(Companion).
|
|
448
|
+
protoOf(Companion).s36 = function (extension) {
|
|
479
449
|
var tmp;
|
|
480
450
|
var containsArg = extension.length;
|
|
481
451
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -485,10 +455,10 @@
|
|
|
485
455
|
}
|
|
486
456
|
return tmp;
|
|
487
457
|
};
|
|
488
|
-
protoOf(Companion).
|
|
458
|
+
protoOf(Companion).n36 = function (extlang) {
|
|
489
459
|
return extlang.length === 3 && isAlpha_0(extlang);
|
|
490
460
|
};
|
|
491
|
-
protoOf(Companion).
|
|
461
|
+
protoOf(Companion).j36 = function (language) {
|
|
492
462
|
var tmp;
|
|
493
463
|
var containsArg = language.length;
|
|
494
464
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -498,9 +468,9 @@
|
|
|
498
468
|
}
|
|
499
469
|
return tmp;
|
|
500
470
|
};
|
|
501
|
-
protoOf(Companion).
|
|
471
|
+
protoOf(Companion).p36 = function (privateuse) {
|
|
502
472
|
var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
503
|
-
if (!this.
|
|
473
|
+
if (!this.v36(tokens.l()))
|
|
504
474
|
return false;
|
|
505
475
|
if (!tokens.k())
|
|
506
476
|
return false;
|
|
@@ -508,18 +478,18 @@
|
|
|
508
478
|
var tmp0_iterator = tokens;
|
|
509
479
|
while (tmp0_iterator.k()) {
|
|
510
480
|
var token = tmp0_iterator.l();
|
|
511
|
-
if (!this.
|
|
481
|
+
if (!this.w36(token))
|
|
512
482
|
return false;
|
|
513
483
|
}
|
|
514
484
|
return true;
|
|
515
485
|
};
|
|
516
|
-
protoOf(Companion).
|
|
486
|
+
protoOf(Companion).u36 = function (prefix) {
|
|
517
487
|
return equals(prefix, _Char___init__impl__6a9atx(120), true);
|
|
518
488
|
};
|
|
519
|
-
protoOf(Companion).
|
|
520
|
-
return prefix.length === 1 && this.
|
|
489
|
+
protoOf(Companion).v36 = function (prefix) {
|
|
490
|
+
return prefix.length === 1 && this.u36(charSequenceGet(prefix, 0));
|
|
521
491
|
};
|
|
522
|
-
protoOf(Companion).
|
|
492
|
+
protoOf(Companion).w36 = function (privateuse) {
|
|
523
493
|
var tmp;
|
|
524
494
|
var containsArg = privateuse.length;
|
|
525
495
|
if (1 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -529,7 +499,7 @@
|
|
|
529
499
|
}
|
|
530
500
|
return tmp;
|
|
531
501
|
};
|
|
532
|
-
protoOf(Companion).
|
|
502
|
+
protoOf(Companion).l36 = function (region) {
|
|
533
503
|
switch (region.length) {
|
|
534
504
|
case 2:
|
|
535
505
|
return isAlpha_0(region);
|
|
@@ -539,15 +509,15 @@
|
|
|
539
509
|
return false;
|
|
540
510
|
}
|
|
541
511
|
};
|
|
542
|
-
protoOf(Companion).
|
|
512
|
+
protoOf(Companion).k36 = function (script) {
|
|
543
513
|
return script.length === 4 && isAlpha_0(script);
|
|
544
514
|
};
|
|
545
|
-
protoOf(Companion).
|
|
515
|
+
protoOf(Companion).m36 = function (variant) {
|
|
546
516
|
var tmp0_subject = variant.length;
|
|
547
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;
|
|
548
518
|
};
|
|
549
|
-
protoOf(Companion).
|
|
550
|
-
var tmp0_elvis_lhs = this.
|
|
519
|
+
protoOf(Companion).x36 = function (string) {
|
|
520
|
+
var tmp0_elvis_lhs = this.t35_1.f2(toLowerCase_0(string));
|
|
551
521
|
var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
|
|
552
522
|
var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
553
523
|
var extlangs = null;
|
|
@@ -559,65 +529,65 @@
|
|
|
559
529
|
var variants = null;
|
|
560
530
|
var token;
|
|
561
531
|
token = tokens.l();
|
|
562
|
-
if (this.
|
|
563
|
-
language = this.
|
|
532
|
+
if (this.j36(token)) {
|
|
533
|
+
language = this.a36(token);
|
|
564
534
|
token = nextOrNull(tokens);
|
|
565
|
-
if (!(token == null) && this.
|
|
535
|
+
if (!(token == null) && this.n36(token)) {
|
|
566
536
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
567
537
|
extlangs = ArrayList_init_$Create$();
|
|
568
538
|
do {
|
|
569
|
-
extlangs.e(ensureNotNull(this.
|
|
539
|
+
extlangs.e(ensureNotNull(this.y35(token)));
|
|
570
540
|
token = nextOrNull(tokens);
|
|
571
541
|
}
|
|
572
|
-
while (!(token == null) && extlangs.m() < 3 && this.
|
|
542
|
+
while (!(token == null) && extlangs.m() < 3 && this.n36(token));
|
|
573
543
|
}
|
|
574
|
-
if (!(token == null) && this.
|
|
575
|
-
script = this.
|
|
544
|
+
if (!(token == null) && this.k36(token)) {
|
|
545
|
+
script = this.f36(token);
|
|
576
546
|
token = nextOrNull(tokens);
|
|
577
547
|
}
|
|
578
|
-
if (!(token == null) && this.
|
|
579
|
-
region = this.
|
|
548
|
+
if (!(token == null) && this.l36(token)) {
|
|
549
|
+
region = this.e36(token);
|
|
580
550
|
token = nextOrNull(tokens);
|
|
581
551
|
}
|
|
582
|
-
if (!(token == null) && this.
|
|
552
|
+
if (!(token == null) && this.m36(token)) {
|
|
583
553
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
584
554
|
variants = ArrayList_init_$Create$();
|
|
585
555
|
do {
|
|
586
|
-
variants.e(ensureNotNull(this.
|
|
556
|
+
variants.e(ensureNotNull(this.g36(token)));
|
|
587
557
|
token = nextOrNull(tokens);
|
|
588
558
|
}
|
|
589
|
-
while (!(token == null) && this.
|
|
559
|
+
while (!(token == null) && this.m36(token));
|
|
590
560
|
}
|
|
591
|
-
if (!(token == null) && this.
|
|
561
|
+
if (!(token == null) && this.r36(token)) {
|
|
592
562
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
593
563
|
extensions = ArrayList_init_$Create$();
|
|
594
564
|
do {
|
|
595
|
-
var extensionBuilder = new StringBuilder(ensureNotNull(this.
|
|
565
|
+
var extensionBuilder = new StringBuilder(ensureNotNull(this.v35(token)));
|
|
596
566
|
token = nextOrNull(tokens);
|
|
597
|
-
if (!(token == null) && this.
|
|
567
|
+
if (!(token == null) && this.s36(token)) {
|
|
598
568
|
do {
|
|
599
|
-
extensionBuilder.
|
|
600
|
-
extensionBuilder.
|
|
569
|
+
extensionBuilder.h8(_Char___init__impl__6a9atx(45));
|
|
570
|
+
extensionBuilder.g8(this.w35(token));
|
|
601
571
|
token = nextOrNull(tokens);
|
|
602
572
|
}
|
|
603
|
-
while (!(token == null) && this.
|
|
573
|
+
while (!(token == null) && this.s36(token));
|
|
604
574
|
} else
|
|
605
575
|
return null;
|
|
606
576
|
extensions.e(extensionBuilder.toString());
|
|
607
577
|
}
|
|
608
|
-
while (!(token == null) && this.
|
|
578
|
+
while (!(token == null) && this.r36(token));
|
|
609
579
|
}
|
|
610
580
|
}
|
|
611
|
-
if (!(token == null) && this.
|
|
612
|
-
var privateuseBuilder = new StringBuilder(ensureNotNull(this.
|
|
581
|
+
if (!(token == null) && this.v36(token)) {
|
|
582
|
+
var privateuseBuilder = new StringBuilder(ensureNotNull(this.c36(token)));
|
|
613
583
|
token = nextOrNull(tokens);
|
|
614
|
-
if (!(token == null) && this.
|
|
584
|
+
if (!(token == null) && this.w36(token)) {
|
|
615
585
|
do {
|
|
616
|
-
privateuseBuilder.
|
|
617
|
-
privateuseBuilder.
|
|
586
|
+
privateuseBuilder.h8(_Char___init__impl__6a9atx(45));
|
|
587
|
+
privateuseBuilder.g8(this.d36(token));
|
|
618
588
|
token = nextOrNull(tokens);
|
|
619
589
|
}
|
|
620
|
-
while (!(token == null) && this.
|
|
590
|
+
while (!(token == null) && this.w36(token));
|
|
621
591
|
} else
|
|
622
592
|
return null;
|
|
623
593
|
privateuse = privateuseBuilder.toString();
|
|
@@ -647,13 +617,13 @@
|
|
|
647
617
|
}
|
|
648
618
|
function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
|
|
649
619
|
Companion_getInstance();
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
652
|
-
this.
|
|
653
|
-
this.
|
|
654
|
-
this.
|
|
655
|
-
this.
|
|
656
|
-
this.
|
|
620
|
+
this.y36_1 = extensions;
|
|
621
|
+
this.z36_1 = extlangs;
|
|
622
|
+
this.a37_1 = language;
|
|
623
|
+
this.b37_1 = privateuse;
|
|
624
|
+
this.c37_1 = region;
|
|
625
|
+
this.d37_1 = script;
|
|
626
|
+
this.e37_1 = variants;
|
|
657
627
|
}
|
|
658
628
|
protoOf(LanguageTag).equals = function (other) {
|
|
659
629
|
var tmp;
|
|
@@ -668,37 +638,37 @@
|
|
|
668
638
|
var tmp_5;
|
|
669
639
|
var tmp_6;
|
|
670
640
|
if (other instanceof LanguageTag) {
|
|
671
|
-
tmp_6 = equals_0(this.
|
|
641
|
+
tmp_6 = equals_0(this.y36_1, other.y36_1);
|
|
672
642
|
} else {
|
|
673
643
|
tmp_6 = false;
|
|
674
644
|
}
|
|
675
645
|
if (tmp_6) {
|
|
676
|
-
tmp_5 = equals_0(this.
|
|
646
|
+
tmp_5 = equals_0(this.z36_1, other.z36_1);
|
|
677
647
|
} else {
|
|
678
648
|
tmp_5 = false;
|
|
679
649
|
}
|
|
680
650
|
if (tmp_5) {
|
|
681
|
-
tmp_4 = this.
|
|
651
|
+
tmp_4 = this.a37_1 == other.a37_1;
|
|
682
652
|
} else {
|
|
683
653
|
tmp_4 = false;
|
|
684
654
|
}
|
|
685
655
|
if (tmp_4) {
|
|
686
|
-
tmp_3 = this.
|
|
656
|
+
tmp_3 = this.b37_1 == other.b37_1;
|
|
687
657
|
} else {
|
|
688
658
|
tmp_3 = false;
|
|
689
659
|
}
|
|
690
660
|
if (tmp_3) {
|
|
691
|
-
tmp_2 = this.
|
|
661
|
+
tmp_2 = this.c37_1 == other.c37_1;
|
|
692
662
|
} else {
|
|
693
663
|
tmp_2 = false;
|
|
694
664
|
}
|
|
695
665
|
if (tmp_2) {
|
|
696
|
-
tmp_1 = this.
|
|
666
|
+
tmp_1 = this.d37_1 == other.d37_1;
|
|
697
667
|
} else {
|
|
698
668
|
tmp_1 = false;
|
|
699
669
|
}
|
|
700
670
|
if (tmp_1) {
|
|
701
|
-
tmp_0 = equals_2(this.
|
|
671
|
+
tmp_0 = equals_2(this.e37_1, other.e37_1, true);
|
|
702
672
|
} else {
|
|
703
673
|
tmp_0 = false;
|
|
704
674
|
}
|
|
@@ -707,34 +677,33 @@
|
|
|
707
677
|
return tmp;
|
|
708
678
|
};
|
|
709
679
|
protoOf(LanguageTag).hashCode = function () {
|
|
710
|
-
var result = hashCode(this.
|
|
711
|
-
result = imul(31, result) + hashCode(this.
|
|
680
|
+
var result = hashCode(this.y36_1);
|
|
681
|
+
result = imul(31, result) + hashCode(this.z36_1) | 0;
|
|
712
682
|
var tmp = imul(31, result);
|
|
713
683
|
// Inline function 'kotlin.hashCode' call
|
|
714
|
-
var tmp0_safe_receiver = this.
|
|
684
|
+
var tmp0_safe_receiver = this.a37_1;
|
|
715
685
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
716
686
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
717
687
|
var tmp_0 = imul(31, result);
|
|
718
688
|
// Inline function 'kotlin.hashCode' call
|
|
719
|
-
var tmp0_safe_receiver_0 = this.
|
|
689
|
+
var tmp0_safe_receiver_0 = this.b37_1;
|
|
720
690
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
721
691
|
result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
722
692
|
var tmp_1 = imul(31, result);
|
|
723
693
|
// Inline function 'kotlin.hashCode' call
|
|
724
|
-
var tmp0_safe_receiver_1 = this.
|
|
694
|
+
var tmp0_safe_receiver_1 = this.c37_1;
|
|
725
695
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
726
696
|
result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
|
|
727
697
|
var tmp_2 = imul(31, result);
|
|
728
698
|
// Inline function 'kotlin.hashCode' call
|
|
729
|
-
var tmp0_safe_receiver_2 = this.
|
|
699
|
+
var tmp0_safe_receiver_2 = this.d37_1;
|
|
730
700
|
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
|
|
731
701
|
result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
|
|
732
702
|
var tmp_3 = imul(31, result);
|
|
733
703
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
734
|
-
var this_0 = this.
|
|
704
|
+
var this_0 = this.e37_1;
|
|
735
705
|
var tmp_4;
|
|
736
706
|
if (this_0.p()) {
|
|
737
|
-
// Inline function 'io.fluidsonic.locale.LanguageTag.hashCode.<anonymous>' call
|
|
738
707
|
tmp_4 = null;
|
|
739
708
|
} else {
|
|
740
709
|
tmp_4 = this_0;
|
|
@@ -750,7 +719,6 @@
|
|
|
750
719
|
var _iterator__ex2g4s = tmp0_safe_receiver_3.j();
|
|
751
720
|
while (_iterator__ex2g4s.k()) {
|
|
752
721
|
var item = _iterator__ex2g4s.l();
|
|
753
|
-
// Inline function 'io.fluidsonic.locale.LanguageTag.hashCode.stub_for_inlining' call
|
|
754
722
|
var tmp$ret$6 = toLowerCase_0(item);
|
|
755
723
|
destination.e(tmp$ret$6);
|
|
756
724
|
}
|
|
@@ -766,61 +734,59 @@
|
|
|
766
734
|
// Inline function 'kotlin.text.buildString' call
|
|
767
735
|
// Inline function 'kotlin.apply' call
|
|
768
736
|
var this_0 = StringBuilder_init_$Create$();
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
var tmp0_iterator = this.g38_1.j();
|
|
737
|
+
if (!(this.a37_1 == null)) {
|
|
738
|
+
this_0.g8(this.a37_1);
|
|
739
|
+
var tmp0_iterator = this.z36_1.j();
|
|
773
740
|
while (tmp0_iterator.k()) {
|
|
774
741
|
var extlang = tmp0_iterator.l();
|
|
775
|
-
this_0.
|
|
776
|
-
this_0.
|
|
742
|
+
this_0.h8(_Char___init__impl__6a9atx(45));
|
|
743
|
+
this_0.g8(extlang);
|
|
777
744
|
}
|
|
778
|
-
if (!(this.
|
|
779
|
-
this_0.
|
|
780
|
-
this_0.
|
|
745
|
+
if (!(this.d37_1 == null)) {
|
|
746
|
+
this_0.h8(_Char___init__impl__6a9atx(45));
|
|
747
|
+
this_0.g8(this.d37_1);
|
|
781
748
|
}
|
|
782
|
-
if (!(this.
|
|
783
|
-
this_0.
|
|
784
|
-
this_0.
|
|
749
|
+
if (!(this.c37_1 == null)) {
|
|
750
|
+
this_0.h8(_Char___init__impl__6a9atx(45));
|
|
751
|
+
this_0.g8(this.c37_1);
|
|
785
752
|
}
|
|
786
|
-
var tmp1_iterator = this.
|
|
753
|
+
var tmp1_iterator = this.e37_1.j();
|
|
787
754
|
while (tmp1_iterator.k()) {
|
|
788
755
|
var variant = tmp1_iterator.l();
|
|
789
|
-
this_0.
|
|
790
|
-
this_0.
|
|
756
|
+
this_0.h8(_Char___init__impl__6a9atx(45));
|
|
757
|
+
this_0.g8(variant);
|
|
791
758
|
}
|
|
792
|
-
var tmp2_iterator = this.
|
|
759
|
+
var tmp2_iterator = this.y36_1.j();
|
|
793
760
|
while (tmp2_iterator.k()) {
|
|
794
761
|
var extension = tmp2_iterator.l();
|
|
795
|
-
this_0.
|
|
796
|
-
this_0.
|
|
762
|
+
this_0.h8(_Char___init__impl__6a9atx(45));
|
|
763
|
+
this_0.g8(extension);
|
|
797
764
|
}
|
|
798
765
|
}
|
|
799
|
-
if (!(this.
|
|
766
|
+
if (!(this.b37_1 == null)) {
|
|
800
767
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
801
768
|
if (charSequenceLength(this_0) > 0) {
|
|
802
|
-
this_0.
|
|
769
|
+
this_0.h8(_Char___init__impl__6a9atx(45));
|
|
803
770
|
}
|
|
804
|
-
this_0.
|
|
771
|
+
this_0.g8(this.b37_1);
|
|
805
772
|
}
|
|
806
773
|
return this_0.toString();
|
|
807
774
|
};
|
|
808
775
|
function Companion_0() {
|
|
809
776
|
Companion_instance_0 = this;
|
|
810
|
-
this.
|
|
777
|
+
this.f37_1 = new Locale(Companion_getInstance().q36('und'));
|
|
811
778
|
}
|
|
812
|
-
protoOf(Companion_0).
|
|
813
|
-
return tag.equals(this.
|
|
779
|
+
protoOf(Companion_0).g37 = function (tag) {
|
|
780
|
+
return tag.equals(this.f37_1.h37_1) ? this.f37_1 : new Locale(tag);
|
|
814
781
|
};
|
|
815
|
-
protoOf(Companion_0).
|
|
816
|
-
var tmp0_safe_receiver = Companion_getInstance().
|
|
782
|
+
protoOf(Companion_0).i37 = function (tag) {
|
|
783
|
+
var tmp0_safe_receiver = Companion_getInstance().x36(tag);
|
|
817
784
|
var tmp;
|
|
818
785
|
if (tmp0_safe_receiver == null) {
|
|
819
786
|
tmp = null;
|
|
820
787
|
} else {
|
|
821
788
|
// Inline function 'kotlin.let' call
|
|
822
|
-
|
|
823
|
-
tmp = this.n38(tmp0_safe_receiver);
|
|
789
|
+
tmp = this.g37(tmp0_safe_receiver);
|
|
824
790
|
}
|
|
825
791
|
return tmp;
|
|
826
792
|
};
|
|
@@ -832,7 +798,7 @@
|
|
|
832
798
|
}
|
|
833
799
|
function Locale(languageTag) {
|
|
834
800
|
Companion_getInstance_0();
|
|
835
|
-
this.
|
|
801
|
+
this.h37_1 = languageTag;
|
|
836
802
|
}
|
|
837
803
|
protoOf(Locale).equals = function (other) {
|
|
838
804
|
var tmp;
|
|
@@ -841,7 +807,7 @@
|
|
|
841
807
|
} else {
|
|
842
808
|
var tmp_0;
|
|
843
809
|
if (other instanceof Locale) {
|
|
844
|
-
tmp_0 = this.
|
|
810
|
+
tmp_0 = this.h37_1.equals(other.h37_1);
|
|
845
811
|
} else {
|
|
846
812
|
tmp_0 = false;
|
|
847
813
|
}
|
|
@@ -850,10 +816,10 @@
|
|
|
850
816
|
return tmp;
|
|
851
817
|
};
|
|
852
818
|
protoOf(Locale).hashCode = function () {
|
|
853
|
-
return this.
|
|
819
|
+
return this.h37_1.hashCode();
|
|
854
820
|
};
|
|
855
821
|
protoOf(Locale).toString = function () {
|
|
856
|
-
return this.
|
|
822
|
+
return this.h37_1.toString();
|
|
857
823
|
};
|
|
858
824
|
function isAlphaNumeric(_this__u8e3s4) {
|
|
859
825
|
return isAlpha(_this__u8e3s4) || isNumeric(_this__u8e3s4);
|
|
@@ -889,7 +855,6 @@
|
|
|
889
855
|
var item = _iterator__ex2g4s.l();
|
|
890
856
|
var _unary__edvuaz = index;
|
|
891
857
|
index = _unary__edvuaz + 1 | 0;
|
|
892
|
-
// Inline function 'io.fluidsonic.locale.equals.<anonymous>' call
|
|
893
858
|
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
894
859
|
if (!equals_1(item, other.o(index_0), ignoreCase))
|
|
895
860
|
return false;
|
|
@@ -904,7 +869,6 @@
|
|
|
904
869
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
905
870
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
906
871
|
inductionVariable = inductionVariable + 1 | 0;
|
|
907
|
-
// Inline function 'io.fluidsonic.locale.toLowerCase.stub_for_inlining' call
|
|
908
872
|
if (!isLowerCase(element)) {
|
|
909
873
|
tmp$ret$1 = false;
|
|
910
874
|
break $l$block;
|
|
@@ -925,8 +889,6 @@
|
|
|
925
889
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
926
890
|
var _unary__edvuaz = index;
|
|
927
891
|
index = _unary__edvuaz + 1 | 0;
|
|
928
|
-
// Inline function 'io.fluidsonic.locale.mapCharacters.<anonymous>' call
|
|
929
|
-
// Inline function 'io.fluidsonic.locale.toLowerCase.stub_for_inlining' call
|
|
930
892
|
characters[_unary__edvuaz] = toLowerCase(item);
|
|
931
893
|
}
|
|
932
894
|
return concatToString(characters);
|
|
@@ -939,7 +901,6 @@
|
|
|
939
901
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
940
902
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
941
903
|
inductionVariable = inductionVariable + 1 | 0;
|
|
942
|
-
// Inline function 'io.fluidsonic.locale.toUpperCase.stub_for_inlining' call
|
|
943
904
|
if (!isUpperCase(element)) {
|
|
944
905
|
tmp$ret$1 = false;
|
|
945
906
|
break $l$block;
|
|
@@ -960,8 +921,6 @@
|
|
|
960
921
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
961
922
|
var _unary__edvuaz = index;
|
|
962
923
|
index = _unary__edvuaz + 1 | 0;
|
|
963
|
-
// Inline function 'io.fluidsonic.locale.mapCharacters.<anonymous>' call
|
|
964
|
-
// Inline function 'io.fluidsonic.locale.toUpperCase.stub_for_inlining' call
|
|
965
924
|
characters[_unary__edvuaz] = toUpperCase(item);
|
|
966
925
|
}
|
|
967
926
|
return concatToString(characters);
|
|
@@ -976,7 +935,6 @@
|
|
|
976
935
|
inductionVariable = inductionVariable + 1 | 0;
|
|
977
936
|
var _unary__edvuaz = index;
|
|
978
937
|
index = _unary__edvuaz + 1 | 0;
|
|
979
|
-
// Inline function 'io.fluidsonic.locale.toUppercaseFirstLowercaseRest.<anonymous>' call
|
|
980
938
|
if (_unary__edvuaz === 0) {
|
|
981
939
|
if (_Char___init__impl__6a9atx(97) <= item ? item <= _Char___init__impl__6a9atx(122) : false)
|
|
982
940
|
needsConversion = true;
|
|
@@ -996,8 +954,6 @@
|
|
|
996
954
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
997
955
|
var _unary__edvuaz_0 = index_0;
|
|
998
956
|
index_0 = _unary__edvuaz_0 + 1 | 0;
|
|
999
|
-
// Inline function 'io.fluidsonic.locale.mapCharactersIndexed.<anonymous>' call
|
|
1000
|
-
// Inline function 'io.fluidsonic.locale.toUppercaseFirstLowercaseRest.<anonymous>' call
|
|
1001
957
|
characters[_unary__edvuaz_0] = _unary__edvuaz_0 === 0 ? toUpperCase(item_0) : toLowerCase(item_0);
|
|
1002
958
|
}
|
|
1003
959
|
return concatToString(characters);
|
|
@@ -1010,7 +966,6 @@
|
|
|
1010
966
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
1011
967
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
1012
968
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1013
|
-
// Inline function 'io.fluidsonic.locale.isAlphaNumeric.stub_for_inlining' call
|
|
1014
969
|
if (!isAlphaNumeric(element)) {
|
|
1015
970
|
tmp$ret$1 = false;
|
|
1016
971
|
break $l$block;
|
|
@@ -1028,7 +983,6 @@
|
|
|
1028
983
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
1029
984
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
1030
985
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1031
|
-
// Inline function 'io.fluidsonic.locale.isAlpha.stub_for_inlining' call
|
|
1032
986
|
if (!isAlpha(element)) {
|
|
1033
987
|
tmp$ret$1 = false;
|
|
1034
988
|
break $l$block;
|
|
@@ -1046,7 +1000,6 @@
|
|
|
1046
1000
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
1047
1001
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
1048
1002
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1049
|
-
// Inline function 'io.fluidsonic.locale.isNumeric.stub_for_inlining' call
|
|
1050
1003
|
if (!isNumeric(element)) {
|
|
1051
1004
|
tmp$ret$1 = false;
|
|
1052
1005
|
break $l$block;
|