@cruglobal/godtools-shared 0.9.1 → 0.9.2-PR482-SNAPSHOT.1328

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.
Files changed (34) hide show
  1. package/88b0986a7186d029-atomicfu-js-ir.js +109 -31
  2. package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
  3. package/Napier-napier-js-ir.js +43 -46
  4. package/Napier-napier-js-ir.js.map +1 -1
  5. package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +3313 -3630
  6. package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js.map +1 -1
  7. package/{colormath-root-colormath-js-ir.js → colormath-root-colormath.js} +985 -1391
  8. package/colormath-root-colormath.js.map +1 -0
  9. package/{fluid-locale-js-ir.js → fluid-locale.js} +325 -539
  10. package/fluid-locale.js.map +1 -0
  11. package/kotlin-kotlin-stdlib-js-ir.js +2457 -2837
  12. package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  13. package/{kotlin-mpp-godtools-tool-parser-common.js → kotlin-mpp-godtools-tool-parser-module-common.js} +2 -2
  14. package/{kotlin-mpp-godtools-tool-parser-parser-expressions.js → kotlin-mpp-godtools-tool-parser-module-parser-expressions.js} +547 -687
  15. package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -0
  16. package/{kotlin-mpp-godtools-tool-parser-parser.js → kotlin-mpp-godtools-tool-parser-module-parser.js} +3032 -4185
  17. package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -0
  18. package/{kotlin-mpp-godtools-tool-parser-state.js → kotlin-mpp-godtools-tool-parser-module-state.js} +253 -291
  19. package/kotlin-mpp-godtools-tool-parser-module-state.js.map +1 -0
  20. package/{kotlin-mpp-godtools-tool-parser-npm.d.ts → kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts} +2 -1
  21. package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +26 -0
  22. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
  23. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
  24. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +6462 -4814
  25. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
  26. package/package.json +5 -4
  27. package/colormath-root-colormath-js-ir.js.map +0 -1
  28. package/fluid-locale-js-ir.js.map +0 -1
  29. package/kotlin-mpp-godtools-tool-parser-npm.js +0 -26
  30. package/kotlin-mpp-godtools-tool-parser-parser-expressions.js.map +0 -1
  31. package/kotlin-mpp-godtools-tool-parser-parser.js.map +0 -1
  32. package/kotlin-mpp-godtools-tool-parser-state.js.map +0 -1
  33. /package/{kotlin-mpp-godtools-tool-parser-common.js.map → kotlin-mpp-godtools-tool-parser-module-common.js.map} +0 -0
  34. /package/{kotlin-mpp-godtools-tool-parser-npm.js.map → kotlin-mpp-godtools-tool-parser-publishing-npm.js.map} +0 -0
@@ -5,46 +5,46 @@
5
5
  factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'));
6
6
  else {
7
7
  if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
8
- throw new Error("Error loading module 'fluid-locale-js-ir'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'fluid-locale-js-ir'.");
8
+ throw new Error("Error loading module 'fluid-locale'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'fluid-locale'.");
9
9
  }
10
- root['fluid-locale-js-ir'] = factory(typeof this['fluid-locale-js-ir'] === 'undefined' ? {} : this['fluid-locale-js-ir'], this['kotlin-kotlin-stdlib-js-ir']);
10
+ root['fluid-locale'] = factory(typeof this['fluid-locale'] === 'undefined' ? {} : this['fluid-locale'], this['kotlin-kotlin-stdlib-js-ir']);
11
11
  }
12
12
  }(this, function (_, kotlin_kotlin) {
13
13
  'use strict';
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.o1;
17
- var to = kotlin_kotlin.$_$.q9;
18
- var hashMapOf = kotlin_kotlin.$_$.n3;
19
- var charSequenceLength = kotlin_kotlin.$_$.s5;
20
- var Unit_getInstance = kotlin_kotlin.$_$.k2;
21
- var protoOf = kotlin_kotlin.$_$.p6;
22
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
23
- var sorted = kotlin_kotlin.$_$.j4;
24
- var emptyList = kotlin_kotlin.$_$.f3;
25
- var toString = kotlin_kotlin.$_$.t6;
26
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.v;
27
- var VOID = kotlin_kotlin.$_$.s9;
28
- var charArrayOf = kotlin_kotlin.$_$.q5;
29
- var splitToSequence = kotlin_kotlin.$_$.w7;
30
- var charSequenceGet = kotlin_kotlin.$_$.r5;
31
- var equals = kotlin_kotlin.$_$.p7;
32
- var ensureNotNull = kotlin_kotlin.$_$.j9;
33
- var StringBuilder = kotlin_kotlin.$_$.i7;
34
- var objectMeta = kotlin_kotlin.$_$.o6;
35
- var setMetadataFor = kotlin_kotlin.$_$.q6;
36
- var equals_0 = kotlin_kotlin.$_$.w5;
37
- var hashCode = kotlin_kotlin.$_$.b6;
38
- var collectionSizeOrDefault = kotlin_kotlin.$_$.w2;
39
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.c;
40
- var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.q;
41
- var classMeta = kotlin_kotlin.$_$.t5;
42
- var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.q1;
43
- var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.p1;
44
- var checkIndexOverflow = kotlin_kotlin.$_$.v2;
45
- var equals_1 = kotlin_kotlin.$_$.o7;
46
- var toCharArray = kotlin_kotlin.$_$.d8;
47
- var concatToString = kotlin_kotlin.$_$.j7;
16
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
17
+ var to = kotlin_kotlin.$_$.u9;
18
+ var hashMapOf = kotlin_kotlin.$_$.p3;
19
+ var charSequenceLength = kotlin_kotlin.$_$.w5;
20
+ var protoOf = kotlin_kotlin.$_$.s6;
21
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
22
+ var Unit_getInstance = kotlin_kotlin.$_$.m2;
23
+ var sorted = kotlin_kotlin.$_$.m4;
24
+ var emptyList = kotlin_kotlin.$_$.h3;
25
+ var toString = kotlin_kotlin.$_$.w6;
26
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.x;
27
+ var VOID = kotlin_kotlin.$_$.w9;
28
+ var charArrayOf = kotlin_kotlin.$_$.u5;
29
+ var splitToSequence = kotlin_kotlin.$_$.a8;
30
+ var charSequenceGet = kotlin_kotlin.$_$.v5;
31
+ var equals = kotlin_kotlin.$_$.s7;
32
+ var ensureNotNull = kotlin_kotlin.$_$.n9;
33
+ var StringBuilder = kotlin_kotlin.$_$.l7;
34
+ var objectMeta = kotlin_kotlin.$_$.r6;
35
+ var setMetadataFor = kotlin_kotlin.$_$.t6;
36
+ var equals_0 = kotlin_kotlin.$_$.a6;
37
+ var hashCode = kotlin_kotlin.$_$.f6;
38
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.y2;
39
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
40
+ var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.s;
41
+ var classMeta = kotlin_kotlin.$_$.x5;
42
+ var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.s1;
43
+ var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.r1;
44
+ var checkIndexOverflow = kotlin_kotlin.$_$.x2;
45
+ var equals_1 = kotlin_kotlin.$_$.r7;
46
+ var toCharArray = kotlin_kotlin.$_$.h8;
47
+ var concatToString = kotlin_kotlin.$_$.m7;
48
48
  //endregion
49
49
  //region block: pre-declaration
50
50
  setMetadataFor(Companion, 'Companion', objectMeta);
@@ -54,112 +54,84 @@
54
54
  //endregion
55
55
  function Companion() {
56
56
  Companion_instance = this;
57
- this.d2s_1 = _Char___init__impl__6a9atx(120);
58
- this.e2s_1 = _Char___init__impl__6a9atx(45);
59
- this.f2s_1 = 'und';
60
- this.g2s_1 = hashMapOf([to('art-lojban', 'jbo'), to('cel-gaulish', 'xtg-x-cel-gaulish'), to('en-gb-oed', 'en-GB-oxendict'), to('i-ami', 'ami'), to('i-bnn', 'bnn'), to('i-default', 'en-x-i-default'), to('i-enochian', 'und-x-i-enochian'), to('i-hak', 'hak'), to('i-klingon', 'tlh'), to('i-lux', 'lb'), to('i-mingo', 'see-x-i-mingo'), to('i-navajo', 'nv'), to('i-pwn', 'pwn'), to('i-tao', 'tao'), to('i-tay', 'tay'), to('i-tsu', 'tsu'), to('no-bok', 'nb'), to('no-nyn', 'nn'), to('sgn-be-fr', 'sfb'), to('sgn-be-nl', 'vgt'), to('sgn-ch-de', 'sgg'), to('zh-guoyu', 'cmn'), to('zh-hakka', 'hak'), to('zh-min', 'nan-x-zh-min'), to('zh-min-nan', 'nan'), to('zh-xiang', 'hsn')]);
57
+ this.u2u_1 = _Char___init__impl__6a9atx(120);
58
+ this.v2u_1 = _Char___init__impl__6a9atx(45);
59
+ this.w2u_1 = 'und';
60
+ this.x2u_1 = hashMapOf([to('art-lojban', 'jbo'), to('cel-gaulish', 'xtg-x-cel-gaulish'), to('en-gb-oed', 'en-GB-oxendict'), to('i-ami', 'ami'), to('i-bnn', 'bnn'), to('i-default', 'en-x-i-default'), to('i-enochian', 'und-x-i-enochian'), to('i-hak', 'hak'), to('i-klingon', 'tlh'), to('i-lux', 'lb'), to('i-mingo', 'see-x-i-mingo'), to('i-navajo', 'nv'), to('i-pwn', 'pwn'), to('i-tao', 'tao'), to('i-tay', 'tay'), to('i-tsu', 'tsu'), to('no-bok', 'nb'), to('no-nyn', 'nn'), to('sgn-be-fr', 'sfb'), to('sgn-be-nl', 'vgt'), to('sgn-ch-de', 'sgg'), to('zh-guoyu', 'cmn'), to('zh-hakka', 'hak'), to('zh-min', 'nan-x-zh-min'), to('zh-min-nan', 'nan'), to('zh-xiang', 'hsn')]);
61
61
  }
62
- protoOf(Companion).h2s = function (extension) {
63
- var tmp0_safe_receiver = extension;
62
+ protoOf(Companion).y2u = function (extension) {
64
63
  var tmp;
65
- if (tmp0_safe_receiver == null) {
64
+ if (extension == null) {
66
65
  tmp = null;
67
66
  } else {
68
- var tmp$ret$2;
69
67
  // Inline function 'kotlin.text.ifEmpty' call
70
68
  var tmp_0;
71
- var tmp$ret$0;
72
69
  // Inline function 'kotlin.text.isEmpty' call
73
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
74
- if (tmp$ret$0) {
75
- var tmp$ret$1;
70
+ if (charSequenceLength(extension) === 0) {
76
71
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtension.<anonymous>' call
77
- tmp$ret$1 = null;
78
- tmp_0 = tmp$ret$1;
72
+ tmp_0 = null;
79
73
  } else {
80
- tmp_0 = tmp0_safe_receiver;
74
+ tmp_0 = extension;
81
75
  }
82
- tmp$ret$2 = tmp_0;
83
- tmp = tmp$ret$2;
76
+ tmp = tmp_0;
84
77
  }
85
78
  var tmp1_safe_receiver = tmp;
86
79
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
87
80
  };
88
- protoOf(Companion).i2s = function (singleton) {
89
- var tmp0_safe_receiver = singleton;
81
+ protoOf(Companion).z2u = function (singleton) {
90
82
  var tmp;
91
- if (tmp0_safe_receiver == null) {
83
+ if (singleton == null) {
92
84
  tmp = null;
93
85
  } else {
94
- var tmp$ret$2;
95
86
  // Inline function 'kotlin.text.ifEmpty' call
96
87
  var tmp_0;
97
- var tmp$ret$0;
98
88
  // Inline function 'kotlin.text.isEmpty' call
99
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
100
- if (tmp$ret$0) {
101
- var tmp$ret$1;
89
+ if (charSequenceLength(singleton) === 0) {
102
90
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensionSingleton.<anonymous>' call
103
- tmp$ret$1 = null;
104
- tmp_0 = tmp$ret$1;
91
+ tmp_0 = null;
105
92
  } else {
106
- tmp_0 = tmp0_safe_receiver;
93
+ tmp_0 = singleton;
107
94
  }
108
- tmp$ret$2 = tmp_0;
109
- tmp = tmp$ret$2;
95
+ tmp = tmp_0;
110
96
  }
111
97
  var tmp1_safe_receiver = tmp;
112
98
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
113
99
  };
114
- protoOf(Companion).j2s = function (subtag) {
115
- var tmp0_safe_receiver = subtag;
100
+ protoOf(Companion).a2v = function (subtag) {
116
101
  var tmp;
117
- if (tmp0_safe_receiver == null) {
102
+ if (subtag == null) {
118
103
  tmp = null;
119
104
  } else {
120
- var tmp$ret$2;
121
105
  // Inline function 'kotlin.text.ifEmpty' call
122
106
  var tmp_0;
123
- var tmp$ret$0;
124
107
  // Inline function 'kotlin.text.isEmpty' call
125
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
126
- if (tmp$ret$0) {
127
- var tmp$ret$1;
108
+ if (charSequenceLength(subtag) === 0) {
128
109
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensionSubtag.<anonymous>' call
129
- tmp$ret$1 = null;
130
- tmp_0 = tmp$ret$1;
110
+ tmp_0 = null;
131
111
  } else {
132
- tmp_0 = tmp0_safe_receiver;
112
+ tmp_0 = subtag;
133
113
  }
134
- tmp$ret$2 = tmp_0;
135
- tmp = tmp$ret$2;
114
+ tmp = tmp_0;
136
115
  }
137
116
  var tmp1_safe_receiver = tmp;
138
117
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
139
118
  };
140
- protoOf(Companion).k2s = function (extensions) {
141
- var tmp$ret$5;
119
+ protoOf(Companion).b2v = function (extensions) {
142
120
  // Inline function 'kotlin.collections.orEmpty' call
143
- var tmp$ret$1;
144
121
  // Inline function 'kotlin.collections.ifEmpty' call
145
122
  var tmp;
146
123
  if (extensions.m()) {
147
- var tmp$ret$0;
148
124
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensions.<anonymous>' call
149
- tmp$ret$0 = null;
150
- tmp = tmp$ret$0;
125
+ tmp = null;
151
126
  } else {
152
127
  tmp = extensions;
153
128
  }
154
- tmp$ret$1 = tmp;
155
- var tmp0_safe_receiver = tmp$ret$1;
129
+ var tmp0_safe_receiver = tmp;
156
130
  var tmp_0;
157
131
  if (tmp0_safe_receiver == null) {
158
132
  tmp_0 = null;
159
133
  } else {
160
- var tmp$ret$4;
161
134
  // Inline function 'kotlin.collections.mapNotNull' call
162
- var tmp$ret$3;
163
135
  // Inline function 'kotlin.collections.mapNotNullTo' call
164
136
  var tmp0_mapNotNullTo = ArrayList_init_$Create$();
165
137
  // Inline function 'kotlin.collections.forEach' call
@@ -167,76 +139,56 @@
167
139
  while (tmp0_iterator.g()) {
168
140
  var element = tmp0_iterator.h();
169
141
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
170
- var tmp0_safe_receiver_0 = this.h2s(element);
142
+ var tmp0_safe_receiver_0 = this.y2u(element);
171
143
  if (tmp0_safe_receiver_0 == null)
172
144
  null;
173
145
  else {
174
- var tmp$ret$2;
175
146
  // Inline function 'kotlin.let' call
176
147
  // Inline function 'kotlin.contracts.contract' call
177
- tmp0_mapNotNullTo.b(tmp0_safe_receiver_0);
178
- tmp$ret$2 = Unit_getInstance();
148
+ tmp0_mapNotNullTo.a(tmp0_safe_receiver_0);
179
149
  }
180
150
  }
181
- tmp$ret$3 = tmp0_mapNotNullTo;
182
- tmp$ret$4 = tmp$ret$3;
183
- tmp_0 = tmp$ret$4;
151
+ tmp_0 = tmp0_mapNotNullTo;
184
152
  }
185
153
  var tmp1_safe_receiver = tmp_0;
186
- var tmp1_orEmpty = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
187
- var tmp0_elvis_lhs = tmp1_orEmpty;
188
- tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
189
- return tmp$ret$5;
154
+ var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
155
+ return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
190
156
  };
191
- protoOf(Companion).l2s = function (extlang) {
192
- var tmp0_safe_receiver = extlang;
157
+ protoOf(Companion).c2v = function (extlang) {
193
158
  var tmp;
194
- if (tmp0_safe_receiver == null) {
159
+ if (extlang == null) {
195
160
  tmp = null;
196
161
  } else {
197
- var tmp$ret$2;
198
162
  // Inline function 'kotlin.text.ifEmpty' call
199
163
  var tmp_0;
200
- var tmp$ret$0;
201
164
  // Inline function 'kotlin.text.isEmpty' call
202
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
203
- if (tmp$ret$0) {
204
- var tmp$ret$1;
165
+ if (charSequenceLength(extlang) === 0) {
205
166
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtlang.<anonymous>' call
206
- tmp$ret$1 = null;
207
- tmp_0 = tmp$ret$1;
167
+ tmp_0 = null;
208
168
  } else {
209
- tmp_0 = tmp0_safe_receiver;
169
+ tmp_0 = extlang;
210
170
  }
211
- tmp$ret$2 = tmp_0;
212
- tmp = tmp$ret$2;
171
+ tmp = tmp_0;
213
172
  }
214
173
  var tmp1_safe_receiver = tmp;
215
174
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
216
175
  };
217
- protoOf(Companion).m2s = function (extlangs) {
218
- var tmp$ret$5;
176
+ protoOf(Companion).d2v = function (extlangs) {
219
177
  // Inline function 'kotlin.collections.orEmpty' call
220
- var tmp$ret$1;
221
178
  // Inline function 'kotlin.collections.ifEmpty' call
222
179
  var tmp;
223
180
  if (extlangs.m()) {
224
- var tmp$ret$0;
225
181
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtlangs.<anonymous>' call
226
- tmp$ret$0 = null;
227
- tmp = tmp$ret$0;
182
+ tmp = null;
228
183
  } else {
229
184
  tmp = extlangs;
230
185
  }
231
- tmp$ret$1 = tmp;
232
- var tmp0_safe_receiver = tmp$ret$1;
186
+ var tmp0_safe_receiver = tmp;
233
187
  var tmp_0;
234
188
  if (tmp0_safe_receiver == null) {
235
189
  tmp_0 = null;
236
190
  } else {
237
- var tmp$ret$4;
238
191
  // Inline function 'kotlin.collections.mapNotNull' call
239
- var tmp$ret$3;
240
192
  // Inline function 'kotlin.collections.mapNotNullTo' call
241
193
  var tmp0_mapNotNullTo = ArrayList_init_$Create$();
242
194
  // Inline function 'kotlin.collections.forEach' call
@@ -244,230 +196,168 @@
244
196
  while (tmp0_iterator.g()) {
245
197
  var element = tmp0_iterator.h();
246
198
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
247
- var tmp0_safe_receiver_0 = this.l2s(element);
199
+ var tmp0_safe_receiver_0 = this.c2v(element);
248
200
  if (tmp0_safe_receiver_0 == null)
249
201
  null;
250
202
  else {
251
- var tmp$ret$2;
252
203
  // Inline function 'kotlin.let' call
253
204
  // Inline function 'kotlin.contracts.contract' call
254
- tmp0_mapNotNullTo.b(tmp0_safe_receiver_0);
255
- tmp$ret$2 = Unit_getInstance();
205
+ tmp0_mapNotNullTo.a(tmp0_safe_receiver_0);
256
206
  }
257
207
  }
258
- tmp$ret$3 = tmp0_mapNotNullTo;
259
- tmp$ret$4 = tmp$ret$3;
260
- tmp_0 = tmp$ret$4;
208
+ tmp_0 = tmp0_mapNotNullTo;
261
209
  }
262
- var tmp1_orEmpty = tmp_0;
263
- var tmp0_elvis_lhs = tmp1_orEmpty;
264
- tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
265
- return tmp$ret$5;
210
+ var tmp0_elvis_lhs = tmp_0;
211
+ return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
266
212
  };
267
- protoOf(Companion).n2s = function (language) {
268
- var tmp0_safe_receiver = language;
213
+ protoOf(Companion).e2v = function (language) {
269
214
  var tmp;
270
- if (tmp0_safe_receiver == null) {
215
+ if (language == null) {
271
216
  tmp = null;
272
217
  } else {
273
- var tmp$ret$2;
274
218
  // Inline function 'kotlin.text.ifEmpty' call
275
219
  var tmp_0;
276
- var tmp$ret$0;
277
220
  // Inline function 'kotlin.text.isEmpty' call
278
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
279
- if (tmp$ret$0) {
280
- var tmp$ret$1;
221
+ if (charSequenceLength(language) === 0) {
281
222
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeLanguage.<anonymous>' call
282
- tmp$ret$1 = null;
283
- tmp_0 = tmp$ret$1;
223
+ tmp_0 = null;
284
224
  } else {
285
- tmp_0 = tmp0_safe_receiver;
225
+ tmp_0 = language;
286
226
  }
287
- tmp$ret$2 = tmp_0;
288
- tmp = tmp$ret$2;
227
+ tmp = tmp_0;
289
228
  }
290
229
  var tmp1_safe_receiver = tmp;
291
230
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
292
231
  };
293
- protoOf(Companion).o2s = function (privateuse) {
294
- var tmp0_safe_receiver = privateuse;
232
+ protoOf(Companion).f2v = function (privateuse) {
295
233
  var tmp;
296
- if (tmp0_safe_receiver == null) {
234
+ if (privateuse == null) {
297
235
  tmp = null;
298
236
  } else {
299
- var tmp$ret$2;
300
237
  // Inline function 'kotlin.text.ifEmpty' call
301
238
  var tmp_0;
302
- var tmp$ret$0;
303
239
  // Inline function 'kotlin.text.isEmpty' call
304
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
305
- if (tmp$ret$0) {
306
- var tmp$ret$1;
240
+ if (charSequenceLength(privateuse) === 0) {
307
241
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizePrivateuse.<anonymous>' call
308
- tmp$ret$1 = null;
309
- tmp_0 = tmp$ret$1;
242
+ tmp_0 = null;
310
243
  } else {
311
- tmp_0 = tmp0_safe_receiver;
244
+ tmp_0 = privateuse;
312
245
  }
313
- tmp$ret$2 = tmp_0;
314
- tmp = tmp$ret$2;
246
+ tmp = tmp_0;
315
247
  }
316
248
  var tmp1_safe_receiver = tmp;
317
249
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
318
250
  };
319
- protoOf(Companion).p2s = function (prefix) {
320
- var tmp0_safe_receiver = prefix;
251
+ protoOf(Companion).g2v = function (prefix) {
321
252
  var tmp;
322
- if (tmp0_safe_receiver == null) {
253
+ if (prefix == null) {
323
254
  tmp = null;
324
255
  } else {
325
- var tmp$ret$2;
326
256
  // Inline function 'kotlin.text.ifEmpty' call
327
257
  var tmp_0;
328
- var tmp$ret$0;
329
258
  // Inline function 'kotlin.text.isEmpty' call
330
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
331
- if (tmp$ret$0) {
332
- var tmp$ret$1;
259
+ if (charSequenceLength(prefix) === 0) {
333
260
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizePrivateusePrefix.<anonymous>' call
334
- tmp$ret$1 = null;
335
- tmp_0 = tmp$ret$1;
261
+ tmp_0 = null;
336
262
  } else {
337
- tmp_0 = tmp0_safe_receiver;
263
+ tmp_0 = prefix;
338
264
  }
339
- tmp$ret$2 = tmp_0;
340
- tmp = tmp$ret$2;
265
+ tmp = tmp_0;
341
266
  }
342
267
  var tmp1_safe_receiver = tmp;
343
268
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
344
269
  };
345
- protoOf(Companion).q2s = function (subtag) {
346
- var tmp0_safe_receiver = subtag;
270
+ protoOf(Companion).h2v = function (subtag) {
347
271
  var tmp;
348
- if (tmp0_safe_receiver == null) {
272
+ if (subtag == null) {
349
273
  tmp = null;
350
274
  } else {
351
- var tmp$ret$2;
352
275
  // Inline function 'kotlin.text.ifEmpty' call
353
276
  var tmp_0;
354
- var tmp$ret$0;
355
277
  // Inline function 'kotlin.text.isEmpty' call
356
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
357
- if (tmp$ret$0) {
358
- var tmp$ret$1;
278
+ if (charSequenceLength(subtag) === 0) {
359
279
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizePrivateuseSubtag.<anonymous>' call
360
- tmp$ret$1 = null;
361
- tmp_0 = tmp$ret$1;
280
+ tmp_0 = null;
362
281
  } else {
363
- tmp_0 = tmp0_safe_receiver;
282
+ tmp_0 = subtag;
364
283
  }
365
- tmp$ret$2 = tmp_0;
366
- tmp = tmp$ret$2;
284
+ tmp = tmp_0;
367
285
  }
368
286
  var tmp1_safe_receiver = tmp;
369
287
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
370
288
  };
371
- protoOf(Companion).r2s = function (region) {
372
- var tmp0_safe_receiver = region;
289
+ protoOf(Companion).i2v = function (region) {
373
290
  var tmp;
374
- if (tmp0_safe_receiver == null) {
291
+ if (region == null) {
375
292
  tmp = null;
376
293
  } else {
377
- var tmp$ret$2;
378
294
  // Inline function 'kotlin.text.ifEmpty' call
379
295
  var tmp_0;
380
- var tmp$ret$0;
381
296
  // Inline function 'kotlin.text.isEmpty' call
382
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
383
- if (tmp$ret$0) {
384
- var tmp$ret$1;
297
+ if (charSequenceLength(region) === 0) {
385
298
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeRegion.<anonymous>' call
386
- tmp$ret$1 = null;
387
- tmp_0 = tmp$ret$1;
299
+ tmp_0 = null;
388
300
  } else {
389
- tmp_0 = tmp0_safe_receiver;
301
+ tmp_0 = region;
390
302
  }
391
- tmp$ret$2 = tmp_0;
392
- tmp = tmp$ret$2;
303
+ tmp = tmp_0;
393
304
  }
394
305
  var tmp1_safe_receiver = tmp;
395
306
  return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
396
307
  };
397
- protoOf(Companion).s2s = function (script) {
398
- var tmp0_safe_receiver = script;
308
+ protoOf(Companion).j2v = function (script) {
399
309
  var tmp;
400
- if (tmp0_safe_receiver == null) {
310
+ if (script == null) {
401
311
  tmp = null;
402
312
  } else {
403
- var tmp$ret$2;
404
313
  // Inline function 'kotlin.text.ifEmpty' call
405
314
  var tmp_0;
406
- var tmp$ret$0;
407
315
  // Inline function 'kotlin.text.isEmpty' call
408
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
409
- if (tmp$ret$0) {
410
- var tmp$ret$1;
316
+ if (charSequenceLength(script) === 0) {
411
317
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeScript.<anonymous>' call
412
- tmp$ret$1 = null;
413
- tmp_0 = tmp$ret$1;
318
+ tmp_0 = null;
414
319
  } else {
415
- tmp_0 = tmp0_safe_receiver;
320
+ tmp_0 = script;
416
321
  }
417
- tmp$ret$2 = tmp_0;
418
- tmp = tmp$ret$2;
322
+ tmp = tmp_0;
419
323
  }
420
324
  var tmp1_safe_receiver = tmp;
421
325
  return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
422
326
  };
423
- protoOf(Companion).t2s = function (variant) {
424
- var tmp0_safe_receiver = variant;
327
+ protoOf(Companion).k2v = function (variant) {
425
328
  var tmp;
426
- if (tmp0_safe_receiver == null) {
329
+ if (variant == null) {
427
330
  tmp = null;
428
331
  } else {
429
- var tmp$ret$2;
430
332
  // Inline function 'kotlin.text.ifEmpty' call
431
333
  var tmp_0;
432
- var tmp$ret$0;
433
334
  // Inline function 'kotlin.text.isEmpty' call
434
- tmp$ret$0 = charSequenceLength(tmp0_safe_receiver) === 0;
435
- if (tmp$ret$0) {
436
- var tmp$ret$1;
335
+ if (charSequenceLength(variant) === 0) {
437
336
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeVariant.<anonymous>' call
438
- tmp$ret$1 = null;
439
- tmp_0 = tmp$ret$1;
337
+ tmp_0 = null;
440
338
  } else {
441
- tmp_0 = tmp0_safe_receiver;
339
+ tmp_0 = variant;
442
340
  }
443
- tmp$ret$2 = tmp_0;
444
- tmp = tmp$ret$2;
341
+ tmp = tmp_0;
445
342
  }
446
343
  return tmp;
447
344
  };
448
- protoOf(Companion).u2s = function (variants) {
449
- var tmp$ret$5;
345
+ protoOf(Companion).l2v = function (variants) {
450
346
  // Inline function 'kotlin.collections.orEmpty' call
451
- var tmp$ret$1;
452
347
  // Inline function 'kotlin.collections.ifEmpty' call
453
348
  var tmp;
454
349
  if (variants.m()) {
455
- var tmp$ret$0;
456
350
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeVariants.<anonymous>' call
457
- tmp$ret$0 = null;
458
- tmp = tmp$ret$0;
351
+ tmp = null;
459
352
  } else {
460
353
  tmp = variants;
461
354
  }
462
- tmp$ret$1 = tmp;
463
- var tmp0_safe_receiver = tmp$ret$1;
355
+ var tmp0_safe_receiver = tmp;
464
356
  var tmp_0;
465
357
  if (tmp0_safe_receiver == null) {
466
358
  tmp_0 = null;
467
359
  } else {
468
- var tmp$ret$4;
469
360
  // Inline function 'kotlin.collections.mapNotNull' call
470
- var tmp$ret$3;
471
361
  // Inline function 'kotlin.collections.mapNotNullTo' call
472
362
  var tmp0_mapNotNullTo = ArrayList_init_$Create$();
473
363
  // Inline function 'kotlin.collections.forEach' call
@@ -475,75 +365,57 @@
475
365
  while (tmp0_iterator.g()) {
476
366
  var element = tmp0_iterator.h();
477
367
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
478
- var tmp0_safe_receiver_0 = this.t2s(element);
368
+ var tmp0_safe_receiver_0 = this.k2v(element);
479
369
  if (tmp0_safe_receiver_0 == null)
480
370
  null;
481
371
  else {
482
- var tmp$ret$2;
483
372
  // Inline function 'kotlin.let' call
484
373
  // Inline function 'kotlin.contracts.contract' call
485
- tmp0_mapNotNullTo.b(tmp0_safe_receiver_0);
486
- tmp$ret$2 = Unit_getInstance();
374
+ tmp0_mapNotNullTo.a(tmp0_safe_receiver_0);
487
375
  }
488
376
  }
489
- tmp$ret$3 = tmp0_mapNotNullTo;
490
- tmp$ret$4 = tmp$ret$3;
491
- tmp_0 = tmp$ret$4;
377
+ tmp_0 = tmp0_mapNotNullTo;
492
378
  }
493
- var tmp1_orEmpty = tmp_0;
494
- var tmp0_elvis_lhs = tmp1_orEmpty;
495
- tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
496
- return tmp$ret$5;
379
+ var tmp0_elvis_lhs = tmp_0;
380
+ return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
497
381
  };
498
- protoOf(Companion).v2s = function (language, script, region, variants, extlangs, extensions, privateuse) {
499
- var canonicalLanguage = this.n2s(language);
500
- var canonicalScript = this.s2s(script);
501
- var canonicalRegion = this.r2s(region);
502
- var canonicalVariants = this.u2s(variants);
503
- var canonicalExtlangs = this.m2s(extlangs);
504
- var canonicalExtensions = this.k2s(extensions);
505
- var canonicalPrivateuse = this.o2s(privateuse);
382
+ protoOf(Companion).m2v = function (language, script, region, variants, extlangs, extensions, privateuse) {
383
+ var canonicalLanguage = this.e2v(language);
384
+ var canonicalScript = this.j2v(script);
385
+ var canonicalRegion = this.i2v(region);
386
+ var canonicalVariants = this.l2v(variants);
387
+ var canonicalExtlangs = this.d2v(extlangs);
388
+ var canonicalExtensions = this.b2v(extensions);
389
+ var canonicalPrivateuse = this.f2v(privateuse);
506
390
  // Inline function 'kotlin.require' call
507
- var tmp0_require = !(canonicalLanguage == null) ? this.w2s(canonicalLanguage) : false;
508
391
  // Inline function 'kotlin.contracts.contract' call
509
- if (!tmp0_require) {
510
- var tmp$ret$0;
392
+ if (!(!(canonicalLanguage == null) ? this.n2v(canonicalLanguage) : false)) {
511
393
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
512
- tmp$ret$0 = 'Invalid language: ' + language;
513
- var message = tmp$ret$0;
394
+ var message = 'Invalid language: ' + language;
514
395
  throw IllegalArgumentException_init_$Create$(toString(message));
515
396
  }
516
397
  // Inline function 'kotlin.require' call
517
- var tmp1_require = canonicalScript == null ? true : this.x2s(canonicalScript);
518
398
  // Inline function 'kotlin.contracts.contract' call
519
- if (!tmp1_require) {
520
- var tmp$ret$1;
399
+ if (!(canonicalScript == null ? true : this.o2v(canonicalScript))) {
521
400
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
522
- tmp$ret$1 = 'Invalid script: ' + script;
523
- var message_0 = tmp$ret$1;
401
+ var message_0 = 'Invalid script: ' + script;
524
402
  throw IllegalArgumentException_init_$Create$(toString(message_0));
525
403
  }
526
404
  // Inline function 'kotlin.require' call
527
- var tmp2_require = canonicalRegion == null ? true : this.y2s(canonicalRegion);
528
405
  // Inline function 'kotlin.contracts.contract' call
529
- if (!tmp2_require) {
530
- var tmp$ret$2;
406
+ if (!(canonicalRegion == null ? true : this.p2v(canonicalRegion))) {
531
407
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
532
- tmp$ret$2 = 'Invalid region: ' + region;
533
- var message_1 = tmp$ret$2;
408
+ var message_1 = 'Invalid region: ' + region;
534
409
  throw IllegalArgumentException_init_$Create$(toString(message_1));
535
410
  }
536
411
  var tmp0_iterator = canonicalVariants.f();
537
412
  while (tmp0_iterator.g()) {
538
413
  var variant = tmp0_iterator.h();
539
414
  // Inline function 'kotlin.require' call
540
- var tmp3_require = this.z2s(variant);
541
415
  // Inline function 'kotlin.contracts.contract' call
542
- if (!tmp3_require) {
543
- var tmp$ret$3;
416
+ if (!this.q2v(variant)) {
544
417
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
545
- tmp$ret$3 = 'Invalid variant: ' + variant;
546
- var message_2 = tmp$ret$3;
418
+ var message_2 = 'Invalid variant: ' + variant;
547
419
  throw IllegalArgumentException_init_$Create$(toString(message_2));
548
420
  }
549
421
  }
@@ -551,13 +423,10 @@
551
423
  while (tmp1_iterator.g()) {
552
424
  var extlang = tmp1_iterator.h();
553
425
  // Inline function 'kotlin.require' call
554
- var tmp4_require = this.a2t(extlang);
555
426
  // Inline function 'kotlin.contracts.contract' call
556
- if (!tmp4_require) {
557
- var tmp$ret$4;
427
+ if (!this.r2v(extlang)) {
558
428
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
559
- tmp$ret$4 = 'Invalid extlang: ' + extlang;
560
- var message_3 = tmp$ret$4;
429
+ var message_3 = 'Invalid extlang: ' + extlang;
561
430
  throw IllegalArgumentException_init_$Create$(toString(message_3));
562
431
  }
563
432
  }
@@ -565,61 +434,53 @@
565
434
  while (tmp2_iterator.g()) {
566
435
  var extension = tmp2_iterator.h();
567
436
  // Inline function 'kotlin.require' call
568
- var tmp5_require = this.b2t(extension);
569
437
  // Inline function 'kotlin.contracts.contract' call
570
- if (!tmp5_require) {
571
- var tmp$ret$5;
438
+ if (!this.s2v(extension)) {
572
439
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
573
- tmp$ret$5 = 'Invalid extension: ' + extension;
574
- var message_4 = tmp$ret$5;
440
+ var message_4 = 'Invalid extension: ' + extension;
575
441
  throw IllegalArgumentException_init_$Create$(toString(message_4));
576
442
  }
577
443
  }
578
444
  // Inline function 'kotlin.require' call
579
- var tmp6_require = canonicalPrivateuse == null ? true : this.c2t(canonicalPrivateuse);
580
445
  // Inline function 'kotlin.contracts.contract' call
581
- if (!tmp6_require) {
582
- var tmp$ret$6;
446
+ if (!(canonicalPrivateuse == null ? true : this.t2v(canonicalPrivateuse))) {
583
447
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
584
- tmp$ret$6 = 'Invalid privateuse: ' + privateuse;
585
- var message_5 = tmp$ret$6;
448
+ var message_5 = 'Invalid privateuse: ' + privateuse;
586
449
  throw IllegalArgumentException_init_$Create$(toString(message_5));
587
450
  }
588
451
  return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
589
452
  };
590
- protoOf(Companion).d2t = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
453
+ protoOf(Companion).u2v = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
591
454
  script = script === VOID ? null : script;
592
455
  region = region === VOID ? null : region;
593
456
  variants = variants === VOID ? emptyList() : variants;
594
457
  extlangs = extlangs === VOID ? emptyList() : extlangs;
595
458
  extensions = extensions === VOID ? emptyList() : extensions;
596
459
  privateuse = privateuse === VOID ? null : privateuse;
597
- return $super === VOID ? this.v2s(language, script, region, variants, extlangs, extensions, privateuse) : $super.v2s.call(this, language, script, region, variants, extlangs, extensions, privateuse);
460
+ return $super === VOID ? this.m2v(language, script, region, variants, extlangs, extensions, privateuse) : $super.m2v.call(this, language, script, region, variants, extlangs, extensions, privateuse);
598
461
  };
599
- protoOf(Companion).b2t = function (extension) {
462
+ protoOf(Companion).s2v = function (extension) {
600
463
  var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
601
- if (!this.e2t(tokens.h()))
464
+ if (!this.v2v(tokens.h()))
602
465
  return false;
603
466
  if (!tokens.g())
604
467
  return false;
605
- var tmp$ret$0;
606
468
  // Inline function 'kotlin.collections.iterator' call
607
- tmp$ret$0 = tokens;
608
- var tmp0_iterator = tmp$ret$0;
469
+ var tmp0_iterator = tokens;
609
470
  while (tmp0_iterator.g()) {
610
471
  var token = tmp0_iterator.h();
611
- if (!this.f2t(token))
472
+ if (!this.w2v(token))
612
473
  return false;
613
474
  }
614
475
  return true;
615
476
  };
616
- protoOf(Companion).g2t = function (singleton) {
617
- return isAlphaNumeric(singleton) ? !this.h2t(singleton) : false;
477
+ protoOf(Companion).x2v = function (singleton) {
478
+ return isAlphaNumeric(singleton) ? !this.y2v(singleton) : false;
618
479
  };
619
- protoOf(Companion).e2t = function (singleton) {
620
- return singleton.length === 1 ? this.g2t(charSequenceGet(singleton, 0)) : false;
480
+ protoOf(Companion).v2v = function (singleton) {
481
+ return singleton.length === 1 ? this.x2v(charSequenceGet(singleton, 0)) : false;
621
482
  };
622
- protoOf(Companion).f2t = function (extension) {
483
+ protoOf(Companion).w2v = function (extension) {
623
484
  var tmp;
624
485
  var containsArg = extension.length;
625
486
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -629,10 +490,10 @@
629
490
  }
630
491
  return tmp;
631
492
  };
632
- protoOf(Companion).a2t = function (extlang) {
493
+ protoOf(Companion).r2v = function (extlang) {
633
494
  return extlang.length === 3 ? isAlpha_0(extlang) : false;
634
495
  };
635
- protoOf(Companion).w2s = function (language) {
496
+ protoOf(Companion).n2v = function (language) {
636
497
  var tmp;
637
498
  var containsArg = language.length;
638
499
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -642,30 +503,28 @@
642
503
  }
643
504
  return tmp;
644
505
  };
645
- protoOf(Companion).c2t = function (privateuse) {
506
+ protoOf(Companion).t2v = function (privateuse) {
646
507
  var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
647
- if (!this.i2t(tokens.h()))
508
+ if (!this.z2v(tokens.h()))
648
509
  return false;
649
510
  if (!tokens.g())
650
511
  return false;
651
- var tmp$ret$0;
652
512
  // Inline function 'kotlin.collections.iterator' call
653
- tmp$ret$0 = tokens;
654
- var tmp0_iterator = tmp$ret$0;
513
+ var tmp0_iterator = tokens;
655
514
  while (tmp0_iterator.g()) {
656
515
  var token = tmp0_iterator.h();
657
- if (!this.j2t(token))
516
+ if (!this.a2w(token))
658
517
  return false;
659
518
  }
660
519
  return true;
661
520
  };
662
- protoOf(Companion).h2t = function (prefix) {
521
+ protoOf(Companion).y2v = function (prefix) {
663
522
  return equals(prefix, _Char___init__impl__6a9atx(120), true);
664
523
  };
665
- protoOf(Companion).i2t = function (prefix) {
666
- return prefix.length === 1 ? this.h2t(charSequenceGet(prefix, 0)) : false;
524
+ protoOf(Companion).z2v = function (prefix) {
525
+ return prefix.length === 1 ? this.y2v(charSequenceGet(prefix, 0)) : false;
667
526
  };
668
- protoOf(Companion).j2t = function (privateuse) {
527
+ protoOf(Companion).a2w = function (privateuse) {
669
528
  var tmp;
670
529
  var containsArg = privateuse.length;
671
530
  if (1 <= containsArg ? containsArg <= 8 : false) {
@@ -675,9 +534,8 @@
675
534
  }
676
535
  return tmp;
677
536
  };
678
- protoOf(Companion).y2s = function (region) {
679
- var tmp0_subject = region.length;
680
- switch (tmp0_subject) {
537
+ protoOf(Companion).p2v = function (region) {
538
+ switch (region.length) {
681
539
  case 2:
682
540
  return isAlpha_0(region);
683
541
  case 3:
@@ -686,15 +544,15 @@
686
544
  return false;
687
545
  }
688
546
  };
689
- protoOf(Companion).x2s = function (script) {
547
+ protoOf(Companion).o2v = function (script) {
690
548
  return script.length === 4 ? isAlpha_0(script) : false;
691
549
  };
692
- protoOf(Companion).z2s = function (variant) {
550
+ protoOf(Companion).q2v = function (variant) {
693
551
  var tmp0_subject = variant.length;
694
552
  return tmp0_subject === 4 ? ((isNumeric(charSequenceGet(variant, 0)) ? isAlphaNumeric(charSequenceGet(variant, 1)) : false) ? isAlphaNumeric(charSequenceGet(variant, 2)) : false) ? isAlphaNumeric(charSequenceGet(variant, 3)) : false : (5 <= tmp0_subject ? tmp0_subject <= 8 : false) ? isAlphaNumeric_0(variant) : false;
695
553
  };
696
- protoOf(Companion).k2t = function (string) {
697
- var tmp0_elvis_lhs = this.g2s_1.f2(toLowerCase_0(string));
554
+ protoOf(Companion).b2w = function (string) {
555
+ var tmp0_elvis_lhs = this.x2u_1.f2(toLowerCase_0(string));
698
556
  var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
699
557
  var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
700
558
  var extlangs = null;
@@ -706,97 +564,84 @@
706
564
  var variants = null;
707
565
  var token;
708
566
  token = tokens.h();
709
- if (this.w2s(token)) {
710
- language = this.n2s(token);
567
+ if (this.n2v(token)) {
568
+ language = this.e2v(token);
711
569
  token = nextOrNull(tokens);
712
- if (!(token == null) ? this.a2t(token) : false) {
713
- var tmp$ret$0;
570
+ if (!(token == null) ? this.r2v(token) : false) {
714
571
  // Inline function 'kotlin.collections.mutableListOf' call
715
- tmp$ret$0 = ArrayList_init_$Create$();
716
- extlangs = tmp$ret$0;
572
+ extlangs = ArrayList_init_$Create$();
717
573
  do {
718
- extlangs.b(ensureNotNull(this.l2s(token)));
574
+ extlangs.a(ensureNotNull(this.c2v(token)));
719
575
  token = nextOrNull(tokens);
720
576
  }
721
- while ((!(token == null) ? extlangs.i() < 3 : false) ? this.a2t(token) : false);
577
+ while ((!(token == null) ? extlangs.i() < 3 : false) ? this.r2v(token) : false);
722
578
  }
723
- if (!(token == null) ? this.x2s(token) : false) {
724
- script = this.s2s(token);
579
+ if (!(token == null) ? this.o2v(token) : false) {
580
+ script = this.j2v(token);
725
581
  token = nextOrNull(tokens);
726
582
  }
727
- if (!(token == null) ? this.y2s(token) : false) {
728
- region = this.r2s(token);
583
+ if (!(token == null) ? this.p2v(token) : false) {
584
+ region = this.i2v(token);
729
585
  token = nextOrNull(tokens);
730
586
  }
731
- if (!(token == null) ? this.z2s(token) : false) {
732
- var tmp$ret$1;
587
+ if (!(token == null) ? this.q2v(token) : false) {
733
588
  // Inline function 'kotlin.collections.mutableListOf' call
734
- tmp$ret$1 = ArrayList_init_$Create$();
735
- variants = tmp$ret$1;
589
+ variants = ArrayList_init_$Create$();
736
590
  do {
737
- variants.b(ensureNotNull(this.t2s(token)));
591
+ variants.a(ensureNotNull(this.k2v(token)));
738
592
  token = nextOrNull(tokens);
739
593
  }
740
- while (!(token == null) ? this.z2s(token) : false);
594
+ while (!(token == null) ? this.q2v(token) : false);
741
595
  }
742
- if (!(token == null) ? this.e2t(token) : false) {
743
- var tmp$ret$2;
596
+ if (!(token == null) ? this.v2v(token) : false) {
744
597
  // Inline function 'kotlin.collections.mutableListOf' call
745
- tmp$ret$2 = ArrayList_init_$Create$();
746
- extensions = tmp$ret$2;
598
+ extensions = ArrayList_init_$Create$();
747
599
  do {
748
- var extensionBuilder = new StringBuilder(ensureNotNull(this.i2s(token)));
600
+ var extensionBuilder = new StringBuilder(ensureNotNull(this.z2u(token)));
749
601
  token = nextOrNull(tokens);
750
- if (!(token == null) ? this.f2t(token) : false) {
602
+ if (!(token == null) ? this.w2v(token) : false) {
751
603
  do {
752
- extensionBuilder.x4(_Char___init__impl__6a9atx(45));
753
- extensionBuilder.kb(this.j2s(token));
604
+ extensionBuilder.t5(_Char___init__impl__6a9atx(45));
605
+ extensionBuilder.dc(this.a2v(token));
754
606
  token = nextOrNull(tokens);
755
607
  }
756
- while (!(token == null) ? this.f2t(token) : false);
608
+ while (!(token == null) ? this.w2v(token) : false);
757
609
  } else
758
610
  return null;
759
- extensions.b(extensionBuilder.toString());
611
+ extensions.a(extensionBuilder.toString());
760
612
  }
761
- while (!(token == null) ? this.e2t(token) : false);
613
+ while (!(token == null) ? this.v2v(token) : false);
762
614
  }
763
615
  }
764
- if (!(token == null) ? this.i2t(token) : false) {
765
- var privateuseBuilder = new StringBuilder(ensureNotNull(this.p2s(token)));
616
+ if (!(token == null) ? this.z2v(token) : false) {
617
+ var privateuseBuilder = new StringBuilder(ensureNotNull(this.g2v(token)));
766
618
  token = nextOrNull(tokens);
767
- if (!(token == null) ? this.j2t(token) : false) {
619
+ if (!(token == null) ? this.a2w(token) : false) {
768
620
  do {
769
- privateuseBuilder.x4(_Char___init__impl__6a9atx(45));
770
- privateuseBuilder.kb(this.q2s(token));
621
+ privateuseBuilder.t5(_Char___init__impl__6a9atx(45));
622
+ privateuseBuilder.dc(this.h2v(token));
771
623
  token = nextOrNull(tokens);
772
624
  }
773
- while (!(token == null) ? this.j2t(token) : false);
625
+ while (!(token == null) ? this.a2w(token) : false);
774
626
  } else
775
627
  return null;
776
628
  privateuse = privateuseBuilder.toString();
777
629
  }
778
630
  if (!(token == null))
779
631
  return null;
780
- var tmp$ret$3;
781
632
  // Inline function 'kotlin.collections.orEmpty' call
782
- var tmp0_orEmpty = extensions;
783
- var tmp0_elvis_lhs_0 = tmp0_orEmpty;
784
- tmp$ret$3 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
785
- var tmp = tmp$ret$3;
786
- var tmp$ret$4;
633
+ var tmp0_elvis_lhs_0 = extensions;
634
+ var tmp = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
787
635
  // Inline function 'kotlin.collections.orEmpty' call
788
- var tmp1_orEmpty = extlangs;
789
- var tmp0_elvis_lhs_1 = tmp1_orEmpty;
790
- tmp$ret$4 = tmp0_elvis_lhs_1 == null ? emptyList() : tmp0_elvis_lhs_1;
791
- var tmp_0 = tmp$ret$4;
636
+ var tmp0_elvis_lhs_1 = extlangs;
637
+ var tmp_0 = tmp0_elvis_lhs_1 == null ? emptyList() : tmp0_elvis_lhs_1;
792
638
  var tmp_1 = language;
793
639
  var tmp_2 = privateuse;
794
640
  var tmp_3 = region;
795
641
  var tmp_4 = script;
796
642
  var tmp$ret$5;
797
643
  // Inline function 'kotlin.collections.orEmpty' call
798
- var tmp2_orEmpty = variants;
799
- var tmp0_elvis_lhs_2 = tmp2_orEmpty;
644
+ var tmp0_elvis_lhs_2 = variants;
800
645
  tmp$ret$5 = tmp0_elvis_lhs_2 == null ? emptyList() : tmp0_elvis_lhs_2;
801
646
  return new LanguageTag(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp$ret$5);
802
647
  };
@@ -808,16 +653,13 @@
808
653
  }
809
654
  function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
810
655
  Companion_getInstance();
811
- this.l2t_1 = extensions;
812
- this.m2t_1 = extlangs;
813
- this.n2t_1 = language;
814
- this.o2t_1 = privateuse;
815
- this.p2t_1 = region;
816
- this.q2t_1 = script;
817
- this.r2t_1 = variants;
818
- var tmp$ret$0;
819
- // Inline function 'io.fluidsonic.locale.freeze' call
820
- tmp$ret$0 = Unit_getInstance();
656
+ this.c2w_1 = extensions;
657
+ this.d2w_1 = extlangs;
658
+ this.e2w_1 = language;
659
+ this.f2w_1 = privateuse;
660
+ this.g2w_1 = region;
661
+ this.h2w_1 = script;
662
+ this.i2w_1 = variants;
821
663
  }
822
664
  protoOf(LanguageTag).equals = function (other) {
823
665
  var tmp;
@@ -832,37 +674,37 @@
832
674
  var tmp_5;
833
675
  var tmp_6;
834
676
  if (other instanceof LanguageTag) {
835
- tmp_6 = equals_0(this.l2t_1, other.l2t_1);
677
+ tmp_6 = equals_0(this.c2w_1, other.c2w_1);
836
678
  } else {
837
679
  tmp_6 = false;
838
680
  }
839
681
  if (tmp_6) {
840
- tmp_5 = equals_0(this.m2t_1, other.m2t_1);
682
+ tmp_5 = equals_0(this.d2w_1, other.d2w_1);
841
683
  } else {
842
684
  tmp_5 = false;
843
685
  }
844
686
  if (tmp_5) {
845
- tmp_4 = this.n2t_1 == other.n2t_1;
687
+ tmp_4 = this.e2w_1 == other.e2w_1;
846
688
  } else {
847
689
  tmp_4 = false;
848
690
  }
849
691
  if (tmp_4) {
850
- tmp_3 = this.o2t_1 == other.o2t_1;
692
+ tmp_3 = this.f2w_1 == other.f2w_1;
851
693
  } else {
852
694
  tmp_3 = false;
853
695
  }
854
696
  if (tmp_3) {
855
- tmp_2 = this.p2t_1 == other.p2t_1;
697
+ tmp_2 = this.g2w_1 == other.g2w_1;
856
698
  } else {
857
699
  tmp_2 = false;
858
700
  }
859
701
  if (tmp_2) {
860
- tmp_1 = this.q2t_1 == other.q2t_1;
702
+ tmp_1 = this.h2w_1 == other.h2w_1;
861
703
  } else {
862
704
  tmp_1 = false;
863
705
  }
864
706
  if (tmp_1) {
865
- tmp_0 = equals_2(this.r2t_1, other.r2t_1, true);
707
+ tmp_0 = equals_2(this.i2w_1, other.i2w_1, true);
866
708
  } else {
867
709
  tmp_0 = false;
868
710
  }
@@ -871,161 +713,131 @@
871
713
  return tmp;
872
714
  };
873
715
  protoOf(LanguageTag).hashCode = function () {
874
- var result = hashCode(this.l2t_1);
875
- result = imul(31, result) + hashCode(this.m2t_1) | 0;
716
+ var result = hashCode(this.c2w_1);
717
+ result = imul(31, result) + hashCode(this.d2w_1) | 0;
876
718
  var tmp = imul(31, result);
877
- var tmp$ret$0;
878
719
  // Inline function 'kotlin.hashCode' call
879
- var tmp0_hashCode = this.n2t_1;
880
- var tmp0_safe_receiver = tmp0_hashCode;
720
+ var tmp0_safe_receiver = this.e2w_1;
881
721
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
882
- tmp$ret$0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
883
- result = tmp + tmp$ret$0 | 0;
722
+ result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
884
723
  var tmp_0 = imul(31, result);
885
- var tmp$ret$1;
886
724
  // Inline function 'kotlin.hashCode' call
887
- var tmp1_hashCode = this.o2t_1;
888
- var tmp0_safe_receiver_0 = tmp1_hashCode;
725
+ var tmp0_safe_receiver_0 = this.f2w_1;
889
726
  var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
890
- tmp$ret$1 = tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0;
891
- result = tmp_0 + tmp$ret$1 | 0;
727
+ result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
892
728
  var tmp_1 = imul(31, result);
893
- var tmp$ret$2;
894
729
  // Inline function 'kotlin.hashCode' call
895
- var tmp2_hashCode = this.p2t_1;
896
- var tmp0_safe_receiver_1 = tmp2_hashCode;
730
+ var tmp0_safe_receiver_1 = this.g2w_1;
897
731
  var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
898
- tmp$ret$2 = tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1;
899
- result = tmp_1 + tmp$ret$2 | 0;
732
+ result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
900
733
  var tmp_2 = imul(31, result);
901
- var tmp$ret$3;
902
734
  // Inline function 'kotlin.hashCode' call
903
- var tmp3_hashCode = this.q2t_1;
904
- var tmp0_safe_receiver_2 = tmp3_hashCode;
735
+ var tmp0_safe_receiver_2 = this.h2w_1;
905
736
  var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
906
- tmp$ret$3 = tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2;
907
- result = tmp_2 + tmp$ret$3 | 0;
737
+ result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
908
738
  var tmp_3 = imul(31, result);
909
- var tmp$ret$8;
910
739
  // Inline function 'kotlin.hashCode' call
911
- var tmp$ret$5;
912
740
  // Inline function 'kotlin.collections.ifEmpty' call
913
- var tmp4_ifEmpty = this.r2t_1;
741
+ var tmp4_ifEmpty = this.i2w_1;
914
742
  var tmp_4;
915
743
  if (tmp4_ifEmpty.m()) {
916
- var tmp$ret$4;
917
744
  // Inline function 'io.fluidsonic.locale.LanguageTag.hashCode.<anonymous>' call
918
- tmp$ret$4 = null;
919
- tmp_4 = tmp$ret$4;
745
+ tmp_4 = null;
920
746
  } else {
921
747
  tmp_4 = tmp4_ifEmpty;
922
748
  }
923
- tmp$ret$5 = tmp_4;
924
- var tmp0_safe_receiver_3 = tmp$ret$5;
749
+ var tmp0_safe_receiver_3 = tmp_4;
925
750
  var tmp_5;
926
751
  if (tmp0_safe_receiver_3 == null) {
927
752
  tmp_5 = null;
928
753
  } else {
929
- var tmp$ret$7;
930
754
  // Inline function 'kotlin.collections.map' call
931
- var tmp$ret$6;
932
755
  // Inline function 'kotlin.collections.mapTo' call
933
- var tmp5_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_safe_receiver_3, 10));
756
+ var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_safe_receiver_3, 10));
934
757
  var tmp0_iterator = tmp0_safe_receiver_3.f();
935
758
  while (tmp0_iterator.g()) {
936
759
  var item = tmp0_iterator.h();
937
- tmp5_mapTo.b(toLowerCase_0(item));
760
+ var tmp$ret$6;
761
+ tmp$ret$6 = toLowerCase_0(item);
762
+ tmp0_mapTo.a(tmp$ret$6);
938
763
  }
939
- tmp$ret$6 = tmp5_mapTo;
940
- tmp$ret$7 = tmp$ret$6;
941
- tmp_5 = tmp$ret$7;
764
+ tmp_5 = tmp0_mapTo;
942
765
  }
943
- var tmp6_hashCode = tmp_5;
944
- var tmp0_safe_receiver_4 = tmp6_hashCode;
766
+ var tmp0_safe_receiver_4 = tmp_5;
945
767
  var tmp1_elvis_lhs_3 = tmp0_safe_receiver_4 == null ? null : hashCode(tmp0_safe_receiver_4);
946
- tmp$ret$8 = tmp1_elvis_lhs_3 == null ? 0 : tmp1_elvis_lhs_3;
947
- result = tmp_3 + tmp$ret$8 | 0;
768
+ result = tmp_3 + (tmp1_elvis_lhs_3 == null ? 0 : tmp1_elvis_lhs_3) | 0;
948
769
  return result;
949
770
  };
950
771
  protoOf(LanguageTag).toString = function () {
951
- var tmp$ret$2;
952
772
  // Inline function 'kotlin.text.buildString' call
953
773
  // Inline function 'kotlin.contracts.contract' call
954
- var tmp$ret$1;
955
774
  // Inline function 'kotlin.apply' call
956
775
  var tmp0_apply = StringBuilder_init_$Create$();
957
776
  // Inline function 'kotlin.contracts.contract' call
958
777
  // Inline function 'io.fluidsonic.locale.LanguageTag.toString.<anonymous>' call
959
- if (!(this.n2t_1 == null)) {
960
- tmp0_apply.kb(this.n2t_1);
961
- var tmp0_iterator = this.m2t_1.f();
778
+ if (!(this.e2w_1 == null)) {
779
+ tmp0_apply.dc(this.e2w_1);
780
+ var tmp0_iterator = this.d2w_1.f();
962
781
  while (tmp0_iterator.g()) {
963
782
  var extlang = tmp0_iterator.h();
964
783
  Companion_getInstance();
965
- tmp0_apply.x4(_Char___init__impl__6a9atx(45));
966
- tmp0_apply.kb(extlang);
784
+ tmp0_apply.t5(_Char___init__impl__6a9atx(45));
785
+ tmp0_apply.dc(extlang);
967
786
  }
968
- if (!(this.q2t_1 == null)) {
787
+ if (!(this.h2w_1 == null)) {
969
788
  Companion_getInstance();
970
- tmp0_apply.x4(_Char___init__impl__6a9atx(45));
971
- tmp0_apply.kb(this.q2t_1);
789
+ tmp0_apply.t5(_Char___init__impl__6a9atx(45));
790
+ tmp0_apply.dc(this.h2w_1);
972
791
  }
973
- if (!(this.p2t_1 == null)) {
792
+ if (!(this.g2w_1 == null)) {
974
793
  Companion_getInstance();
975
- tmp0_apply.x4(_Char___init__impl__6a9atx(45));
976
- tmp0_apply.kb(this.p2t_1);
794
+ tmp0_apply.t5(_Char___init__impl__6a9atx(45));
795
+ tmp0_apply.dc(this.g2w_1);
977
796
  }
978
- var tmp1_iterator = this.r2t_1.f();
797
+ var tmp1_iterator = this.i2w_1.f();
979
798
  while (tmp1_iterator.g()) {
980
799
  var variant = tmp1_iterator.h();
981
800
  Companion_getInstance();
982
- tmp0_apply.x4(_Char___init__impl__6a9atx(45));
983
- tmp0_apply.kb(variant);
801
+ tmp0_apply.t5(_Char___init__impl__6a9atx(45));
802
+ tmp0_apply.dc(variant);
984
803
  }
985
- var tmp2_iterator = this.l2t_1.f();
804
+ var tmp2_iterator = this.c2w_1.f();
986
805
  while (tmp2_iterator.g()) {
987
806
  var extension = tmp2_iterator.h();
988
807
  Companion_getInstance();
989
- tmp0_apply.x4(_Char___init__impl__6a9atx(45));
990
- tmp0_apply.kb(extension);
808
+ tmp0_apply.t5(_Char___init__impl__6a9atx(45));
809
+ tmp0_apply.dc(extension);
991
810
  }
992
811
  }
993
- if (!(this.o2t_1 == null)) {
994
- var tmp$ret$0;
812
+ if (!(this.f2w_1 == null)) {
995
813
  // Inline function 'kotlin.text.isNotEmpty' call
996
- tmp$ret$0 = charSequenceLength(tmp0_apply) > 0;
997
- if (tmp$ret$0) {
814
+ if (charSequenceLength(tmp0_apply) > 0) {
998
815
  Companion_getInstance();
999
- tmp0_apply.x4(_Char___init__impl__6a9atx(45));
816
+ tmp0_apply.t5(_Char___init__impl__6a9atx(45));
1000
817
  }
1001
- tmp0_apply.kb(this.o2t_1);
818
+ tmp0_apply.dc(this.f2w_1);
1002
819
  }
1003
- tmp$ret$1 = tmp0_apply;
1004
- tmp$ret$2 = tmp$ret$1.toString();
1005
- return tmp$ret$2;
820
+ return tmp0_apply.toString();
1006
821
  };
1007
822
  function Companion_0() {
1008
823
  Companion_instance_0 = this;
1009
824
  var tmp = this;
1010
825
  var tmp_0 = Companion_getInstance();
1011
826
  Companion_getInstance();
1012
- tmp.s2t_1 = new Locale(tmp_0.d2t('und'));
827
+ tmp.j2w_1 = new Locale(tmp_0.u2v('und'));
1013
828
  }
1014
- protoOf(Companion_0).t2t = function (tag) {
1015
- var tmp0_subject = tag;
1016
- return tmp0_subject.equals(this.s2t_1.u2t_1) ? this.s2t_1 : new Locale(tag);
829
+ protoOf(Companion_0).k2w = function (tag) {
830
+ return tag.equals(this.j2w_1.l2w_1) ? this.j2w_1 : new Locale(tag);
1017
831
  };
1018
- protoOf(Companion_0).v2t = function (tag) {
1019
- var tmp0_safe_receiver = Companion_getInstance().k2t(tag);
832
+ protoOf(Companion_0).m2w = function (tag) {
833
+ var tmp0_safe_receiver = Companion_getInstance().b2w(tag);
1020
834
  var tmp;
1021
835
  if (tmp0_safe_receiver == null) {
1022
836
  tmp = null;
1023
837
  } else {
1024
- var tmp$ret$0;
1025
838
  // Inline function 'kotlin.let' call
1026
839
  // Inline function 'kotlin.contracts.contract' call
1027
- tmp$ret$0 = this.t2t(tmp0_safe_receiver);
1028
- tmp = tmp$ret$0;
840
+ tmp = this.k2w(tmp0_safe_receiver);
1029
841
  }
1030
842
  return tmp;
1031
843
  };
@@ -1037,10 +849,7 @@
1037
849
  }
1038
850
  function Locale(languageTag) {
1039
851
  Companion_getInstance_0();
1040
- this.u2t_1 = languageTag;
1041
- var tmp$ret$0;
1042
- // Inline function 'io.fluidsonic.locale.freeze' call
1043
- tmp$ret$0 = Unit_getInstance();
852
+ this.l2w_1 = languageTag;
1044
853
  }
1045
854
  protoOf(Locale).equals = function (other) {
1046
855
  var tmp;
@@ -1049,7 +858,7 @@
1049
858
  } else {
1050
859
  var tmp_0;
1051
860
  if (other instanceof Locale) {
1052
- tmp_0 = this.u2t_1.equals(other.u2t_1);
861
+ tmp_0 = this.l2w_1.equals(other.l2w_1);
1053
862
  } else {
1054
863
  tmp_0 = false;
1055
864
  }
@@ -1058,10 +867,10 @@
1058
867
  return tmp;
1059
868
  };
1060
869
  protoOf(Locale).hashCode = function () {
1061
- return this.u2t_1.hashCode();
870
+ return this.l2w_1.hashCode();
1062
871
  };
1063
872
  protoOf(Locale).toString = function () {
1064
- return this.u2t_1.toString();
873
+ return this.l2w_1.toString();
1065
874
  };
1066
875
  function isAlphaNumeric(_this__u8e3s4) {
1067
876
  return isAlpha(_this__u8e3s4) ? true : isNumeric(_this__u8e3s4);
@@ -1098,106 +907,93 @@
1098
907
  // Inline function 'io.fluidsonic.locale.equals.<anonymous>' call
1099
908
  var tmp1 = index;
1100
909
  index = tmp1 + 1 | 0;
1101
- var tmp0__anonymous__q1qw7t = checkIndexOverflow(tmp1);
1102
- if (!equals_1(item, other.j(tmp0__anonymous__q1qw7t), ignoreCase))
910
+ var tmp0_anonymous = checkIndexOverflow(tmp1);
911
+ if (!equals_1(item, other.k(tmp0_anonymous), ignoreCase))
1103
912
  return false;
1104
913
  }
1105
914
  return true;
1106
915
  }
1107
916
  function toLowerCase_0(_this__u8e3s4) {
1108
- var tmp$ret$0;
917
+ var tmp$ret$1;
1109
918
  $l$block: {
1110
919
  // Inline function 'kotlin.text.all' call
1111
- var indexedObject = _this__u8e3s4;
1112
920
  var inductionVariable = 0;
1113
- var last = indexedObject.length;
921
+ var last = _this__u8e3s4.length;
1114
922
  while (inductionVariable < last) {
1115
- var element = charSequenceGet(indexedObject, inductionVariable);
923
+ var element = charSequenceGet(_this__u8e3s4, inductionVariable);
1116
924
  inductionVariable = inductionVariable + 1 | 0;
1117
925
  if (!isLowerCase(element)) {
1118
- tmp$ret$0 = false;
926
+ tmp$ret$1 = false;
1119
927
  break $l$block;
1120
928
  }
1121
929
  }
1122
- tmp$ret$0 = true;
930
+ tmp$ret$1 = true;
1123
931
  }
1124
- if (tmp$ret$0)
932
+ if (tmp$ret$1)
1125
933
  return _this__u8e3s4;
1126
- var tmp$ret$1;
1127
934
  // Inline function 'io.fluidsonic.locale.mapCharacters' call
1128
935
  var characters = toCharArray(_this__u8e3s4);
1129
936
  // Inline function 'kotlin.collections.forEachIndexed' call
1130
937
  var index = 0;
1131
- var indexedObject_0 = characters;
1132
938
  var inductionVariable_0 = 0;
1133
- var last_0 = indexedObject_0.length;
939
+ var last_0 = characters.length;
1134
940
  while (inductionVariable_0 < last_0) {
1135
- var item = indexedObject_0[inductionVariable_0];
941
+ var item = characters[inductionVariable_0];
1136
942
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
1137
943
  // Inline function 'io.fluidsonic.locale.mapCharacters.<anonymous>' call
1138
944
  var tmp1 = index;
1139
945
  index = tmp1 + 1 | 0;
1140
- var tmp0__anonymous__q1qw7t = tmp1;
1141
- characters[tmp0__anonymous__q1qw7t] = toLowerCase(item);
946
+ characters[tmp1] = toLowerCase(item);
1142
947
  }
1143
- tmp$ret$1 = concatToString(characters);
1144
- return tmp$ret$1;
948
+ return concatToString(characters);
1145
949
  }
1146
950
  function toUpperCase_0(_this__u8e3s4) {
1147
- var tmp$ret$0;
951
+ var tmp$ret$1;
1148
952
  $l$block: {
1149
953
  // Inline function 'kotlin.text.all' call
1150
- var indexedObject = _this__u8e3s4;
1151
954
  var inductionVariable = 0;
1152
- var last = indexedObject.length;
955
+ var last = _this__u8e3s4.length;
1153
956
  while (inductionVariable < last) {
1154
- var element = charSequenceGet(indexedObject, inductionVariable);
957
+ var element = charSequenceGet(_this__u8e3s4, inductionVariable);
1155
958
  inductionVariable = inductionVariable + 1 | 0;
1156
959
  if (!isUpperCase(element)) {
1157
- tmp$ret$0 = false;
960
+ tmp$ret$1 = false;
1158
961
  break $l$block;
1159
962
  }
1160
963
  }
1161
- tmp$ret$0 = true;
964
+ tmp$ret$1 = true;
1162
965
  }
1163
- if (tmp$ret$0)
966
+ if (tmp$ret$1)
1164
967
  return _this__u8e3s4;
1165
- var tmp$ret$1;
1166
968
  // Inline function 'io.fluidsonic.locale.mapCharacters' call
1167
969
  var characters = toCharArray(_this__u8e3s4);
1168
970
  // Inline function 'kotlin.collections.forEachIndexed' call
1169
971
  var index = 0;
1170
- var indexedObject_0 = characters;
1171
972
  var inductionVariable_0 = 0;
1172
- var last_0 = indexedObject_0.length;
973
+ var last_0 = characters.length;
1173
974
  while (inductionVariable_0 < last_0) {
1174
- var item = indexedObject_0[inductionVariable_0];
975
+ var item = characters[inductionVariable_0];
1175
976
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
1176
977
  // Inline function 'io.fluidsonic.locale.mapCharacters.<anonymous>' call
1177
978
  var tmp1 = index;
1178
979
  index = tmp1 + 1 | 0;
1179
- var tmp0__anonymous__q1qw7t = tmp1;
1180
- characters[tmp0__anonymous__q1qw7t] = toUpperCase(item);
980
+ characters[tmp1] = toUpperCase(item);
1181
981
  }
1182
- tmp$ret$1 = concatToString(characters);
1183
- return tmp$ret$1;
982
+ return concatToString(characters);
1184
983
  }
1185
984
  function toUppercaseFirstLowercaseRest(_this__u8e3s4) {
1186
985
  var needsConversion = false;
1187
986
  // Inline function 'kotlin.text.forEachIndexed' call
1188
987
  var index = 0;
1189
- var indexedObject = _this__u8e3s4;
1190
988
  var inductionVariable = 0;
1191
- var last = indexedObject.length;
989
+ var last = _this__u8e3s4.length;
1192
990
  while (inductionVariable < last) {
1193
- var item = charSequenceGet(indexedObject, inductionVariable);
991
+ var item = charSequenceGet(_this__u8e3s4, inductionVariable);
1194
992
  inductionVariable = inductionVariable + 1 | 0;
1195
993
  // Inline function 'io.fluidsonic.locale.toUppercaseFirstLowercaseRest.<anonymous>' call
1196
994
  var tmp1 = index;
1197
995
  index = tmp1 + 1 | 0;
1198
- var tmp0__anonymous__q1qw7t = tmp1;
1199
- var tmp0_subject = tmp0__anonymous__q1qw7t;
1200
- if (tmp0_subject === 0) {
996
+ if (tmp1 === 0) {
1201
997
  if (_Char___init__impl__6a9atx(97) <= item ? item <= _Char___init__impl__6a9atx(122) : false)
1202
998
  needsConversion = true;
1203
999
  } else if (_Char___init__impl__6a9atx(65) <= item ? item <= _Char___init__impl__6a9atx(90) : false)
@@ -1205,86 +1001,76 @@
1205
1001
  }
1206
1002
  if (!needsConversion)
1207
1003
  return _this__u8e3s4;
1208
- var tmp$ret$1;
1209
1004
  // Inline function 'io.fluidsonic.locale.mapCharactersIndexed' call
1210
1005
  var characters = toCharArray(_this__u8e3s4);
1211
1006
  // Inline function 'kotlin.collections.forEachIndexed' call
1212
1007
  var index_0 = 0;
1213
- var indexedObject_0 = characters;
1214
1008
  var inductionVariable_0 = 0;
1215
- var last_0 = indexedObject_0.length;
1009
+ var last_0 = characters.length;
1216
1010
  while (inductionVariable_0 < last_0) {
1217
- var item_0 = indexedObject_0[inductionVariable_0];
1011
+ var item_0 = characters[inductionVariable_0];
1218
1012
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
1219
1013
  // Inline function 'io.fluidsonic.locale.mapCharactersIndexed.<anonymous>' call
1220
1014
  var tmp1_0 = index_0;
1221
1015
  index_0 = tmp1_0 + 1 | 0;
1222
- var tmp1__anonymous__uwfjfc = tmp1_0;
1223
- var tmp$ret$0;
1224
1016
  // Inline function 'io.fluidsonic.locale.toUppercaseFirstLowercaseRest.<anonymous>' call
1225
- var tmp0_subject_0 = tmp1__anonymous__uwfjfc;
1226
- tmp$ret$0 = tmp0_subject_0 === 0 ? toUpperCase(item_0) : toLowerCase(item_0);
1227
- characters[tmp1__anonymous__uwfjfc] = tmp$ret$0;
1017
+ characters[tmp1_0] = tmp1_0 === 0 ? toUpperCase(item_0) : toLowerCase(item_0);
1228
1018
  }
1229
- tmp$ret$1 = concatToString(characters);
1230
- return tmp$ret$1;
1019
+ return concatToString(characters);
1231
1020
  }
1232
1021
  function isAlphaNumeric_0(_this__u8e3s4) {
1233
- var tmp$ret$0;
1022
+ var tmp$ret$1;
1234
1023
  $l$block: {
1235
1024
  // Inline function 'kotlin.text.all' call
1236
- var indexedObject = _this__u8e3s4;
1237
1025
  var inductionVariable = 0;
1238
- var last = indexedObject.length;
1026
+ var last = _this__u8e3s4.length;
1239
1027
  while (inductionVariable < last) {
1240
- var element = charSequenceGet(indexedObject, inductionVariable);
1028
+ var element = charSequenceGet(_this__u8e3s4, inductionVariable);
1241
1029
  inductionVariable = inductionVariable + 1 | 0;
1242
1030
  if (!isAlphaNumeric(element)) {
1243
- tmp$ret$0 = false;
1031
+ tmp$ret$1 = false;
1244
1032
  break $l$block;
1245
1033
  }
1246
1034
  }
1247
- tmp$ret$0 = true;
1035
+ tmp$ret$1 = true;
1248
1036
  }
1249
- return tmp$ret$0;
1037
+ return tmp$ret$1;
1250
1038
  }
1251
1039
  function isAlpha_0(_this__u8e3s4) {
1252
- var tmp$ret$0;
1040
+ var tmp$ret$1;
1253
1041
  $l$block: {
1254
1042
  // Inline function 'kotlin.text.all' call
1255
- var indexedObject = _this__u8e3s4;
1256
1043
  var inductionVariable = 0;
1257
- var last = indexedObject.length;
1044
+ var last = _this__u8e3s4.length;
1258
1045
  while (inductionVariable < last) {
1259
- var element = charSequenceGet(indexedObject, inductionVariable);
1046
+ var element = charSequenceGet(_this__u8e3s4, inductionVariable);
1260
1047
  inductionVariable = inductionVariable + 1 | 0;
1261
1048
  if (!isAlpha(element)) {
1262
- tmp$ret$0 = false;
1049
+ tmp$ret$1 = false;
1263
1050
  break $l$block;
1264
1051
  }
1265
1052
  }
1266
- tmp$ret$0 = true;
1053
+ tmp$ret$1 = true;
1267
1054
  }
1268
- return tmp$ret$0;
1055
+ return tmp$ret$1;
1269
1056
  }
1270
1057
  function isNumeric_0(_this__u8e3s4) {
1271
- var tmp$ret$0;
1058
+ var tmp$ret$1;
1272
1059
  $l$block: {
1273
1060
  // Inline function 'kotlin.text.all' call
1274
- var indexedObject = _this__u8e3s4;
1275
1061
  var inductionVariable = 0;
1276
- var last = indexedObject.length;
1062
+ var last = _this__u8e3s4.length;
1277
1063
  while (inductionVariable < last) {
1278
- var element = charSequenceGet(indexedObject, inductionVariable);
1064
+ var element = charSequenceGet(_this__u8e3s4, inductionVariable);
1279
1065
  inductionVariable = inductionVariable + 1 | 0;
1280
1066
  if (!isNumeric(element)) {
1281
- tmp$ret$0 = false;
1067
+ tmp$ret$1 = false;
1282
1068
  break $l$block;
1283
1069
  }
1284
1070
  }
1285
- tmp$ret$0 = true;
1071
+ tmp$ret$1 = true;
1286
1072
  }
1287
- return tmp$ret$0;
1073
+ return tmp$ret$1;
1288
1074
  }
1289
1075
  //region block: exports
1290
1076
  _.$_$ = _.$_$ || {};
@@ -1293,4 +1079,4 @@
1293
1079
  return _;
1294
1080
  }));
1295
1081
 
1296
- //# sourceMappingURL=fluid-locale-js-ir.js.map
1082
+ //# sourceMappingURL=fluid-locale.js.map