@guardian/feast-multiplatform-library 17.1.2 → 17.1.3
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/kotlin/feast-multiplatform-library-library.js +1317 -1292
- package/kotlin/feast-multiplatform-library-library.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +1638 -1397
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1720 -1720
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1926 -1596
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.b;
|
|
6
6
|
var protoOf = kotlin_kotlin.$_$.a8;
|
|
7
7
|
var toString = kotlin_kotlin.$_$.fb;
|
|
8
|
-
var getNumberHashCode = kotlin_kotlin.$_$.
|
|
9
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
10
|
-
var equals = kotlin_kotlin.$_$.
|
|
11
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
8
|
+
var getNumberHashCode = kotlin_kotlin.$_$.b7;
|
|
9
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.a7;
|
|
10
|
+
var equals = kotlin_kotlin.$_$.z6;
|
|
11
|
+
var initMetadataForClass = kotlin_kotlin.$_$.f7;
|
|
12
12
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.k1;
|
|
13
13
|
var numberToInt = kotlin_kotlin.$_$.y7;
|
|
14
14
|
var Unit_instance = kotlin_kotlin.$_$.u;
|
|
15
15
|
var round = kotlin_kotlin.$_$.d8;
|
|
16
16
|
var replace = kotlin_kotlin.$_$.z8;
|
|
17
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
17
|
+
var initMetadataForObject = kotlin_kotlin.$_$.k7;
|
|
18
18
|
var listOfNotNull = kotlin_kotlin.$_$.c5;
|
|
19
19
|
var joinToString = kotlin_kotlin.$_$.x4;
|
|
20
20
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.cb;
|
|
@@ -24,31 +24,31 @@
|
|
|
24
24
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.w1;
|
|
25
25
|
var charArrayOf = kotlin_kotlin.$_$.s6;
|
|
26
26
|
var indexOfAny = kotlin_kotlin.$_$.t8;
|
|
27
|
-
var
|
|
28
|
-
var isCharSequence = kotlin_kotlin.$_$.o7;
|
|
29
|
-
var trim = kotlin_kotlin.$_$.t9;
|
|
30
|
-
var toString_0 = kotlin_kotlin.$_$.c8;
|
|
31
|
-
var to = kotlin_kotlin.$_$.gb;
|
|
32
|
-
var take = kotlin_kotlin.$_$.g9;
|
|
27
|
+
var take = kotlin_kotlin.$_$.h9;
|
|
33
28
|
var drop = kotlin_kotlin.$_$.r8;
|
|
29
|
+
var split = kotlin_kotlin.$_$.b9;
|
|
34
30
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.d2;
|
|
35
31
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.a2;
|
|
36
32
|
var Companion_instance = kotlin_kotlin.$_$.p;
|
|
37
33
|
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.c2;
|
|
34
|
+
var charSequenceLength = kotlin_kotlin.$_$.w6;
|
|
35
|
+
var startsWith = kotlin_kotlin.$_$.c9;
|
|
38
36
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
39
37
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
40
38
|
var JsonElementSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
41
39
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.v;
|
|
42
40
|
var lazy = kotlin_kotlin.$_$.ab;
|
|
43
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
41
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.g7;
|
|
44
42
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.ia;
|
|
45
44
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
46
45
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
47
46
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
48
47
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
49
48
|
var objectCreate = kotlin_kotlin.$_$.z7;
|
|
50
|
-
var
|
|
51
|
-
var
|
|
49
|
+
var toString_0 = kotlin_kotlin.$_$.c8;
|
|
50
|
+
var getStringHashCode = kotlin_kotlin.$_$.d7;
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.e7;
|
|
52
52
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
53
53
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
54
54
|
var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
var mapCapacity = kotlin_kotlin.$_$.f5;
|
|
65
65
|
var coerceAtLeast = kotlin_kotlin.$_$.f8;
|
|
66
66
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
67
|
+
var to = kotlin_kotlin.$_$.gb;
|
|
67
68
|
var Exception_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
68
69
|
var createFailure = kotlin_kotlin.$_$.va;
|
|
69
70
|
var IndexOutOfBoundsException = kotlin_kotlin.$_$.ea;
|
|
@@ -74,14 +75,13 @@
|
|
|
74
75
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
75
76
|
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
76
77
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.x;
|
|
77
|
-
var substring = kotlin_kotlin.$_$.
|
|
78
|
-
var charSequenceLength = kotlin_kotlin.$_$.w6;
|
|
78
|
+
var substring = kotlin_kotlin.$_$.g9;
|
|
79
79
|
var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.f;
|
|
80
80
|
var print = kotlin_kotlin.$_$.x5;
|
|
81
81
|
var Exception = kotlin_kotlin.$_$.ca;
|
|
82
|
-
var substring_0 = kotlin_kotlin.$_$.
|
|
82
|
+
var substring_0 = kotlin_kotlin.$_$.f9;
|
|
83
83
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
|
|
84
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
84
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.i7;
|
|
85
85
|
var Enum = kotlin_kotlin.$_$.ba;
|
|
86
86
|
var setOf = kotlin_kotlin.$_$.l5;
|
|
87
87
|
var setOf_0 = kotlin_kotlin.$_$.k5;
|
|
@@ -153,29 +153,29 @@
|
|
|
153
153
|
max = max === VOID ? null : max;
|
|
154
154
|
unit = unit === VOID ? null : unit;
|
|
155
155
|
usCust = usCust === VOID ? null : usCust;
|
|
156
|
-
this.
|
|
157
|
-
this.
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
156
|
+
this.z1d_1 = min;
|
|
157
|
+
this.a1e_1 = max;
|
|
158
|
+
this.b1e_1 = unit;
|
|
159
|
+
this.c1e_1 = usCust;
|
|
160
160
|
}
|
|
161
|
-
protoOf(Amount).
|
|
161
|
+
protoOf(Amount).d1e = function (min, max, unit, usCust) {
|
|
162
162
|
return new Amount(min, max, unit, usCust);
|
|
163
163
|
};
|
|
164
|
-
protoOf(Amount).
|
|
165
|
-
min = min === VOID ? this.
|
|
166
|
-
max = max === VOID ? this.
|
|
167
|
-
unit = unit === VOID ? this.
|
|
168
|
-
usCust = usCust === VOID ? this.
|
|
169
|
-
return $super === VOID ? this.
|
|
164
|
+
protoOf(Amount).e1e = function (min, max, unit, usCust, $super) {
|
|
165
|
+
min = min === VOID ? this.z1d_1 : min;
|
|
166
|
+
max = max === VOID ? this.a1e_1 : max;
|
|
167
|
+
unit = unit === VOID ? this.b1e_1 : unit;
|
|
168
|
+
usCust = usCust === VOID ? this.c1e_1 : usCust;
|
|
169
|
+
return $super === VOID ? this.d1e(min, max, unit, usCust) : $super.d1e.call(this, min, max, unit, usCust);
|
|
170
170
|
};
|
|
171
171
|
protoOf(Amount).toString = function () {
|
|
172
|
-
return 'Amount(min=' + this.
|
|
172
|
+
return 'Amount(min=' + this.z1d_1 + ', max=' + this.a1e_1 + ', unit=' + toString(this.b1e_1) + ', usCust=' + this.c1e_1 + ')';
|
|
173
173
|
};
|
|
174
174
|
protoOf(Amount).hashCode = function () {
|
|
175
|
-
var result = getNumberHashCode(this.
|
|
176
|
-
result = imul(result, 31) + (this.
|
|
177
|
-
result = imul(result, 31) + (this.
|
|
178
|
-
result = imul(result, 31) + (this.
|
|
175
|
+
var result = getNumberHashCode(this.z1d_1);
|
|
176
|
+
result = imul(result, 31) + (this.a1e_1 == null ? 0 : getNumberHashCode(this.a1e_1)) | 0;
|
|
177
|
+
result = imul(result, 31) + (this.b1e_1 == null ? 0 : this.b1e_1.hashCode()) | 0;
|
|
178
|
+
result = imul(result, 31) + (this.c1e_1 == null ? 0 : getBooleanHashCode(this.c1e_1)) | 0;
|
|
179
179
|
return result;
|
|
180
180
|
};
|
|
181
181
|
protoOf(Amount).equals = function (other) {
|
|
@@ -183,24 +183,24 @@
|
|
|
183
183
|
return true;
|
|
184
184
|
if (!(other instanceof Amount))
|
|
185
185
|
return false;
|
|
186
|
-
if (!equals(this.
|
|
186
|
+
if (!equals(this.z1d_1, other.z1d_1))
|
|
187
187
|
return false;
|
|
188
|
-
if (!equals(this.
|
|
188
|
+
if (!equals(this.a1e_1, other.a1e_1))
|
|
189
189
|
return false;
|
|
190
|
-
if (!equals(this.
|
|
190
|
+
if (!equals(this.b1e_1, other.b1e_1))
|
|
191
191
|
return false;
|
|
192
|
-
if (!(this.
|
|
192
|
+
if (!(this.c1e_1 == other.c1e_1))
|
|
193
193
|
return false;
|
|
194
194
|
return true;
|
|
195
195
|
};
|
|
196
196
|
function FormatUtils$applySmartPunctuation$lambda(matchResult) {
|
|
197
|
-
return '\u201C' + matchResult.
|
|
197
|
+
return '\u201C' + matchResult.tb().z(2) + '\u201D';
|
|
198
198
|
}
|
|
199
199
|
function FormatUtils() {
|
|
200
200
|
FormatUtils_instance = this;
|
|
201
|
-
this.
|
|
201
|
+
this.f1e_1 = Regex_init_$Create$('(["])(.*?)(["])');
|
|
202
202
|
}
|
|
203
|
-
protoOf(FormatUtils).
|
|
203
|
+
protoOf(FormatUtils).g1e = function (number) {
|
|
204
204
|
if (number === 0.0)
|
|
205
205
|
return '0';
|
|
206
206
|
var integerPart = numberToInt(number);
|
|
@@ -208,9 +208,9 @@
|
|
|
208
208
|
var fractionalPart = number - integerPart;
|
|
209
209
|
return (0.0 <= fractionalPart ? fractionalPart <= 0.125 : false) ? integerPartStr : (0.125 <= fractionalPart ? fractionalPart <= 0.291667 : false) ? integerPartStr + '\xBC' : (0.291667 <= fractionalPart ? fractionalPart <= 0.416667 : false) ? integerPartStr + '\u2153' : (0.416667 <= fractionalPart ? fractionalPart <= 0.583333 : false) ? integerPartStr + '\xBD' : (0.583333 <= fractionalPart ? fractionalPart <= 0.708333 : false) ? integerPartStr + '\u2154' : (0.708333 <= fractionalPart ? fractionalPart <= 0.875 : false) ? integerPartStr + '\xBE' : '' + (integerPart + 1 | 0);
|
|
210
210
|
};
|
|
211
|
-
protoOf(FormatUtils).
|
|
211
|
+
protoOf(FormatUtils).h1e = function (number, decimals, fraction) {
|
|
212
212
|
if (fraction) {
|
|
213
|
-
return this.
|
|
213
|
+
return this.g1e(number);
|
|
214
214
|
} else {
|
|
215
215
|
var multiplier = 1.0;
|
|
216
216
|
// Inline function 'kotlin.repeat' call
|
|
@@ -232,8 +232,8 @@
|
|
|
232
232
|
return tmp;
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
|
-
protoOf(FormatUtils).
|
|
236
|
-
var withQuotes = this.
|
|
235
|
+
protoOf(FormatUtils).i1e = function (text) {
|
|
236
|
+
var withQuotes = this.f1e_1.ya(text, FormatUtils$applySmartPunctuation$lambda);
|
|
237
237
|
return replace(replace(withQuotes, "'", '\u2019'), ' - ', ' \u2013 ');
|
|
238
238
|
};
|
|
239
239
|
var FormatUtils_instance;
|
|
@@ -242,10 +242,15 @@
|
|
|
242
242
|
new FormatUtils();
|
|
243
243
|
return FormatUtils_instance;
|
|
244
244
|
}
|
|
245
|
+
function get_NON_BOLD_REGEX() {
|
|
246
|
+
_init_properties_ScaleRecipe_kt__qu4y0q();
|
|
247
|
+
return NON_BOLD_REGEX;
|
|
248
|
+
}
|
|
249
|
+
var NON_BOLD_REGEX;
|
|
245
250
|
function TemplateSession(densityTable) {
|
|
246
|
-
this.
|
|
251
|
+
this.j1e_1 = densityTable;
|
|
247
252
|
}
|
|
248
|
-
protoOf(TemplateSession).
|
|
253
|
+
protoOf(TemplateSession).k1e = function (element) {
|
|
249
254
|
var tmp;
|
|
250
255
|
if (element.temperatureFanC == null) {
|
|
251
256
|
tmp = null;
|
|
@@ -283,11 +288,11 @@
|
|
|
283
288
|
tmp_5 = null;
|
|
284
289
|
} else {
|
|
285
290
|
// Inline function 'kotlin.let' call
|
|
286
|
-
tmp_5 = '/gas mark ' + FormatUtils_getInstance().
|
|
291
|
+
tmp_5 = '/gas mark ' + FormatUtils_getInstance().g1e(tmp3_safe_receiver);
|
|
287
292
|
}
|
|
288
293
|
return joinToString(listOfNotNull([tmp_2, fanTempC, tmp_4, tmp_5]), '');
|
|
289
294
|
};
|
|
290
|
-
protoOf(TemplateSession).
|
|
295
|
+
protoOf(TemplateSession).l1e = function (element, factor, measuringSystem) {
|
|
291
296
|
var tmp = !(element.min === element.max) ? element.max : null;
|
|
292
297
|
var tmp0_safe_receiver = element.unit;
|
|
293
298
|
var tmp_0;
|
|
@@ -295,7 +300,7 @@
|
|
|
295
300
|
tmp_0 = null;
|
|
296
301
|
} else {
|
|
297
302
|
// Inline function 'kotlin.let' call
|
|
298
|
-
tmp_0 = Units_getInstance().
|
|
303
|
+
tmp_0 = Units_getInstance().l1f(tmp0_safe_receiver);
|
|
299
304
|
}
|
|
300
305
|
var amount = new Amount(element.min, tmp, tmp_0, element.ingredient === 'butter' ? true : element.usCust);
|
|
301
306
|
var factorToUse = !element.scale ? 1.0 : factor;
|
|
@@ -305,7 +310,7 @@
|
|
|
305
310
|
tmp_1 = null;
|
|
306
311
|
} else {
|
|
307
312
|
// Inline function 'kotlin.let' call
|
|
308
|
-
tmp_1 = this.
|
|
313
|
+
tmp_1 = this.j1e_1.p1f(tmp1_safe_receiver);
|
|
309
314
|
}
|
|
310
315
|
var density = tmp_1;
|
|
311
316
|
var tmp_2;
|
|
@@ -315,40 +320,40 @@
|
|
|
315
320
|
tmp_2 = measuringSystem;
|
|
316
321
|
}
|
|
317
322
|
var targetSystem = tmp_2;
|
|
318
|
-
amount = UnitConversions_getInstance().
|
|
319
|
-
var tmp2_subject = amount.
|
|
320
|
-
var decimals = equals(tmp2_subject, Units_getInstance().
|
|
321
|
-
var tmp3_subject = amount.
|
|
322
|
-
var fraction = equals(tmp3_subject, Units_getInstance().
|
|
323
|
+
amount = UnitConversions_getInstance().z1f(amount, targetSystem, factorToUse, density);
|
|
324
|
+
var tmp2_subject = amount.b1e_1;
|
|
325
|
+
var decimals = equals(tmp2_subject, Units_getInstance().n1e_1) || (equals(tmp2_subject, Units_getInstance().r1e_1) || equals(tmp2_subject, Units_getInstance().e1f_1)) || (equals(tmp2_subject, Units_getInstance().w1e_1) || equals(tmp2_subject, Units_getInstance().u1e_1) || (equals(tmp2_subject, Units_getInstance().x1e_1) || equals(tmp2_subject, Units_getInstance().v1e_1))) ? 0 : equals(tmp2_subject, Units_getInstance().f1f_1) || equals(tmp2_subject, Units_getInstance().g1f_1) ? 1 : 1;
|
|
326
|
+
var tmp3_subject = amount.b1e_1;
|
|
327
|
+
var fraction = equals(tmp3_subject, Units_getInstance().s1e_1) || (equals(tmp3_subject, Units_getInstance().r1e_1) || equals(tmp3_subject, Units_getInstance().f1f_1)) || (equals(tmp3_subject, Units_getInstance().n1e_1) || (equals(tmp3_subject, Units_getInstance().o1e_1) || equals(tmp3_subject, Units_getInstance().e1f_1))) ? false : equals(tmp3_subject, Units_getInstance().u1e_1) || equals(tmp3_subject, Units_getInstance().v1e_1) || (equals(tmp3_subject, Units_getInstance().x1e_1) || equals(tmp3_subject, Units_getInstance().w1e_1)) ? amount.z1d_1 < 1.0 : true;
|
|
323
328
|
var tmp_3;
|
|
324
|
-
if (!(amount.
|
|
329
|
+
if (!(amount.b1e_1 == null)) {
|
|
325
330
|
var tmp_4;
|
|
326
|
-
var tmp0 = amount.
|
|
327
|
-
var tmp4_elvis_lhs = amount.
|
|
331
|
+
var tmp0 = amount.z1d_1;
|
|
332
|
+
var tmp4_elvis_lhs = amount.a1e_1;
|
|
328
333
|
// Inline function 'kotlin.math.max' call
|
|
329
|
-
var b = tmp4_elvis_lhs == null ? amount.
|
|
334
|
+
var b = tmp4_elvis_lhs == null ? amount.z1d_1 : tmp4_elvis_lhs;
|
|
330
335
|
if (Math.max(tmp0, b) > 1.1) {
|
|
331
|
-
tmp_4 = ' ' + amount.
|
|
336
|
+
tmp_4 = ' ' + amount.b1e_1.d1g_1;
|
|
332
337
|
} else {
|
|
333
|
-
tmp_4 = ' ' + amount.
|
|
338
|
+
tmp_4 = ' ' + amount.b1e_1.c1g_1;
|
|
334
339
|
}
|
|
335
340
|
tmp_3 = tmp_4;
|
|
336
341
|
} else {
|
|
337
342
|
tmp_3 = '';
|
|
338
343
|
}
|
|
339
344
|
var unitString = tmp_3;
|
|
340
|
-
var tmp_5 = FormatUtils_getInstance().
|
|
341
|
-
var tmp5_safe_receiver = amount.
|
|
345
|
+
var tmp_5 = FormatUtils_getInstance().h1e(amount.z1d_1, decimals, fraction);
|
|
346
|
+
var tmp5_safe_receiver = amount.a1e_1;
|
|
342
347
|
var tmp_6;
|
|
343
348
|
if (tmp5_safe_receiver == null) {
|
|
344
349
|
tmp_6 = null;
|
|
345
350
|
} else {
|
|
346
351
|
// Inline function 'kotlin.let' call
|
|
347
|
-
tmp_6 = '-' + FormatUtils_getInstance().
|
|
352
|
+
tmp_6 = '-' + FormatUtils_getInstance().h1e(tmp5_safe_receiver, decimals, fraction);
|
|
348
353
|
}
|
|
349
354
|
return joinToString(listOfNotNull([tmp_5, tmp_6, unitString]), '');
|
|
350
355
|
};
|
|
351
|
-
protoOf(TemplateSession).
|
|
356
|
+
protoOf(TemplateSession).h1g = function (element, factor, measuringSystem) {
|
|
352
357
|
var tmp;
|
|
353
358
|
if (element instanceof TemplateConst) {
|
|
354
359
|
tmp = element.value;
|
|
@@ -374,22 +379,22 @@
|
|
|
374
379
|
tmp_1 = tmp_3;
|
|
375
380
|
}
|
|
376
381
|
if (tmp_1) {
|
|
377
|
-
tmp_0 = this.
|
|
382
|
+
tmp_0 = this.l1e(element, factor, measuringSystem);
|
|
378
383
|
} else {
|
|
379
384
|
if (measuringSystem instanceof USCustomaryWithMetric) {
|
|
380
385
|
var tmp_4;
|
|
381
386
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
382
387
|
var this_0 = element.unit;
|
|
383
388
|
if (this_0 == null || isBlank(this_0)) {
|
|
384
|
-
tmp_4 = this.
|
|
389
|
+
tmp_4 = this.l1e(element, factor, USCustomary_instance);
|
|
385
390
|
} else {
|
|
386
|
-
var cupsPart = this.
|
|
387
|
-
var metricPart = this.
|
|
391
|
+
var cupsPart = this.l1e(element, factor, USCustomary_instance);
|
|
392
|
+
var metricPart = this.l1e(element, factor, Metric_instance);
|
|
388
393
|
var tmp_5;
|
|
389
394
|
if (cupsPart === metricPart) {
|
|
390
395
|
tmp_5 = cupsPart;
|
|
391
396
|
} else {
|
|
392
|
-
tmp_5 =
|
|
397
|
+
tmp_5 = cupsPart + ' (' + metricPart + ')';
|
|
393
398
|
}
|
|
394
399
|
tmp_4 = tmp_5;
|
|
395
400
|
}
|
|
@@ -400,15 +405,15 @@
|
|
|
400
405
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
401
406
|
var this_1 = element.unit;
|
|
402
407
|
if (this_1 == null || isBlank(this_1)) {
|
|
403
|
-
tmp_6 = this.
|
|
408
|
+
tmp_6 = this.l1e(element, factor, USCustomary_instance);
|
|
404
409
|
} else {
|
|
405
|
-
var cupsPart_0 = this.
|
|
406
|
-
var imperialPart = this.
|
|
410
|
+
var cupsPart_0 = this.l1e(element, factor, USCustomary_instance);
|
|
411
|
+
var imperialPart = this.l1e(element, factor, Imperial_instance);
|
|
407
412
|
var tmp_7;
|
|
408
413
|
if (cupsPart_0 === imperialPart) {
|
|
409
414
|
tmp_7 = cupsPart_0;
|
|
410
415
|
} else {
|
|
411
|
-
tmp_7 =
|
|
416
|
+
tmp_7 = cupsPart_0 + ' (' + imperialPart + ')';
|
|
412
417
|
}
|
|
413
418
|
tmp_6 = tmp_7;
|
|
414
419
|
}
|
|
@@ -421,29 +426,29 @@
|
|
|
421
426
|
tmp_8 = null;
|
|
422
427
|
} else {
|
|
423
428
|
// Inline function 'kotlin.let' call
|
|
424
|
-
tmp_8 = Units_getInstance().
|
|
429
|
+
tmp_8 = Units_getInstance().l1f(tmp2_safe_receiver);
|
|
425
430
|
}
|
|
426
431
|
var unit = tmp_8;
|
|
427
432
|
var tmp_9;
|
|
428
|
-
if (unit == null || equals(unit, Units_getInstance().
|
|
429
|
-
tmp_9 = this.
|
|
433
|
+
if (unit == null || equals(unit, Units_getInstance().u1e_1) || equals(unit, Units_getInstance().v1e_1) || equals(unit, Units_getInstance().w1e_1) || equals(unit, Units_getInstance().x1e_1)) {
|
|
434
|
+
tmp_9 = this.l1e(element, factor, USCustomary_instance);
|
|
430
435
|
} else {
|
|
431
|
-
var cupsPart_1 = this.
|
|
436
|
+
var cupsPart_1 = this.l1e(element, factor, USCustomary_instance);
|
|
432
437
|
var tmp_10;
|
|
433
|
-
if (equals(unit.
|
|
438
|
+
if (equals(unit.e1g_1, UnitType_VOLUME_getInstance())) {
|
|
434
439
|
tmp_10 = cupsPart_1;
|
|
435
440
|
} else {
|
|
436
|
-
tmp_10 = this.
|
|
441
|
+
tmp_10 = this.l1e(element, factor, Imperial_instance);
|
|
437
442
|
}
|
|
438
443
|
var imperialPart_0 = tmp_10;
|
|
439
|
-
var metricPart_0 = this.
|
|
444
|
+
var metricPart_0 = this.l1e(element, factor, Metric_instance);
|
|
440
445
|
var tmp_11;
|
|
441
446
|
if (cupsPart_1 === metricPart_0 && cupsPart_1 === imperialPart_0) {
|
|
442
447
|
tmp_11 = metricPart_0;
|
|
443
448
|
} else if (cupsPart_1 === imperialPart_0) {
|
|
444
|
-
tmp_11 =
|
|
449
|
+
tmp_11 = cupsPart_1 + ' (' + metricPart_0 + ')';
|
|
445
450
|
} else {
|
|
446
|
-
tmp_11 =
|
|
451
|
+
tmp_11 = imperialPart_0 + ' \u2022 ' + cupsPart_1 + ' (' + metricPart_0 + ')';
|
|
447
452
|
}
|
|
448
453
|
tmp_9 = tmp_11;
|
|
449
454
|
}
|
|
@@ -457,7 +462,7 @@
|
|
|
457
462
|
tmp = tmp_0;
|
|
458
463
|
} else {
|
|
459
464
|
if (element instanceof OvenTemperaturePlaceholder) {
|
|
460
|
-
tmp = this.
|
|
465
|
+
tmp = this.k1e(element);
|
|
461
466
|
} else {
|
|
462
467
|
noWhenBranchMatchedException();
|
|
463
468
|
}
|
|
@@ -465,22 +470,22 @@
|
|
|
465
470
|
}
|
|
466
471
|
return tmp;
|
|
467
472
|
};
|
|
468
|
-
protoOf(TemplateSession).
|
|
473
|
+
protoOf(TemplateSession).i1g = function (template, factor, measuringSystem) {
|
|
469
474
|
// Inline function 'kotlin.collections.map' call
|
|
470
|
-
var this_0 = template.
|
|
475
|
+
var this_0 = template.j1g_1;
|
|
471
476
|
// Inline function 'kotlin.collections.mapTo' call
|
|
472
477
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
473
478
|
var _iterator__ex2g4s = this_0.q();
|
|
474
479
|
while (_iterator__ex2g4s.r()) {
|
|
475
480
|
var item = _iterator__ex2g4s.s();
|
|
476
|
-
var tmp$ret$2 = this.
|
|
481
|
+
var tmp$ret$2 = this.h1g(item, factor, measuringSystem);
|
|
477
482
|
destination.u(tmp$ret$2);
|
|
478
483
|
}
|
|
479
484
|
var renderedParts = destination;
|
|
480
|
-
return FormatUtils_getInstance().
|
|
485
|
+
return FormatUtils_getInstance().i1e(joinToString(renderedParts, ''));
|
|
481
486
|
};
|
|
482
487
|
protoOf(TemplateSession).scaleAndConvertUnitRecipe = function (recipe, factor, measuringSystem) {
|
|
483
|
-
var tmp0_safe_receiver = recipe.
|
|
488
|
+
var tmp0_safe_receiver = recipe.w1g_1;
|
|
484
489
|
var tmp;
|
|
485
490
|
if (tmp0_safe_receiver == null) {
|
|
486
491
|
tmp = null;
|
|
@@ -491,7 +496,7 @@
|
|
|
491
496
|
var _iterator__ex2g4s = tmp0_safe_receiver.q();
|
|
492
497
|
while (_iterator__ex2g4s.r()) {
|
|
493
498
|
var item = _iterator__ex2g4s.s();
|
|
494
|
-
var tmp0_safe_receiver_0 = item.
|
|
499
|
+
var tmp0_safe_receiver_0 = item.h1h_1;
|
|
495
500
|
var tmp_0;
|
|
496
501
|
if (tmp0_safe_receiver_0 == null) {
|
|
497
502
|
tmp_0 = null;
|
|
@@ -502,28 +507,28 @@
|
|
|
502
507
|
var _iterator__ex2g4s_0 = tmp0_safe_receiver_0.q();
|
|
503
508
|
while (_iterator__ex2g4s_0.r()) {
|
|
504
509
|
var item_0 = _iterator__ex2g4s_0.s();
|
|
505
|
-
var tmp0_safe_receiver_1 = item_0.
|
|
510
|
+
var tmp0_safe_receiver_1 = item_0.p1h_1;
|
|
506
511
|
var tmp_1;
|
|
507
512
|
if (tmp0_safe_receiver_1 == null) {
|
|
508
513
|
tmp_1 = null;
|
|
509
514
|
} else {
|
|
510
515
|
// Inline function 'kotlin.let' call
|
|
511
|
-
tmp_1 = wrapWithStrongTag(this.
|
|
516
|
+
tmp_1 = wrapWithStrongTag(this.i1g(parseTemplate(tmp0_safe_receiver_1), factor, measuringSystem));
|
|
512
517
|
}
|
|
513
518
|
var tmp1_elvis_lhs = tmp_1;
|
|
514
|
-
var scaledText = tmp1_elvis_lhs == null ? item_0.
|
|
515
|
-
var tmp$ret$5 = item_0.
|
|
519
|
+
var scaledText = tmp1_elvis_lhs == null ? item_0.q1h_1 : tmp1_elvis_lhs;
|
|
520
|
+
var tmp$ret$5 = item_0.s1h(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
|
|
516
521
|
destination_0.u(tmp$ret$5);
|
|
517
522
|
}
|
|
518
523
|
tmp_0 = destination_0;
|
|
519
524
|
}
|
|
520
|
-
var tmp$ret$2 = new IngredientsList(tmp_0, item.
|
|
525
|
+
var tmp$ret$2 = new IngredientsList(tmp_0, item.i1h_1);
|
|
521
526
|
destination.u(tmp$ret$2);
|
|
522
527
|
}
|
|
523
528
|
tmp = destination;
|
|
524
529
|
}
|
|
525
530
|
var scaledIngredients = tmp;
|
|
526
|
-
var tmp1_safe_receiver = recipe.
|
|
531
|
+
var tmp1_safe_receiver = recipe.x1g_1;
|
|
527
532
|
var tmp_2;
|
|
528
533
|
if (tmp1_safe_receiver == null) {
|
|
529
534
|
tmp_2 = null;
|
|
@@ -534,48 +539,38 @@
|
|
|
534
539
|
var _iterator__ex2g4s_1 = tmp1_safe_receiver.q();
|
|
535
540
|
while (_iterator__ex2g4s_1.r()) {
|
|
536
541
|
var item_1 = _iterator__ex2g4s_1.s();
|
|
537
|
-
var tmp0_safe_receiver_2 = item_1.
|
|
542
|
+
var tmp0_safe_receiver_2 = item_1.u1h_1;
|
|
538
543
|
var tmp_3;
|
|
539
544
|
if (tmp0_safe_receiver_2 == null) {
|
|
540
545
|
tmp_3 = null;
|
|
541
546
|
} else {
|
|
542
547
|
// Inline function 'kotlin.let' call
|
|
543
|
-
tmp_3 = this.
|
|
548
|
+
tmp_3 = this.i1g(parseTemplate(tmp0_safe_receiver_2), factor, measuringSystem);
|
|
544
549
|
}
|
|
545
550
|
var description = tmp_3;
|
|
546
|
-
var tmp$ret$10 = item_1.
|
|
551
|
+
var tmp$ret$10 = item_1.x1h(description == null ? item_1.t1h_1 : description);
|
|
547
552
|
destination_1.u(tmp$ret$10);
|
|
548
553
|
}
|
|
549
554
|
tmp_2 = destination_1;
|
|
550
555
|
}
|
|
551
556
|
var scaledInstructions = tmp_2;
|
|
552
|
-
return recipe.
|
|
557
|
+
return recipe.y1h(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
|
|
553
558
|
};
|
|
554
|
-
function splitBeforeSuffix(value) {
|
|
555
|
-
// Inline function 'kotlin.charArrayOf' call
|
|
556
|
-
var separators = charArrayOf([_Char___init__impl__6a9atx(44), _Char___init__impl__6a9atx(59), _Char___init__impl__6a9atx(40)]);
|
|
557
|
-
var index = indexOfAny(value, separators);
|
|
558
|
-
var tmp;
|
|
559
|
-
if (!(index === -1)) {
|
|
560
|
-
var before = take(value, index);
|
|
561
|
-
var after = drop(value, index);
|
|
562
|
-
tmp = to(before, after);
|
|
563
|
-
} else {
|
|
564
|
-
// Inline function 'kotlin.text.trim' call
|
|
565
|
-
var tmp$ret$1 = toString_0(trim(isCharSequence(value) ? value : THROW_CCE()));
|
|
566
|
-
tmp = to(tmp$ret$1, null);
|
|
567
|
-
}
|
|
568
|
-
return tmp;
|
|
569
|
-
}
|
|
570
559
|
function wrapWithStrongTag(value) {
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
var
|
|
574
|
-
|
|
575
|
-
|
|
560
|
+
_init_properties_ScaleRecipe_kt__qu4y0q();
|
|
561
|
+
// Inline function 'kotlin.charArrayOf' call
|
|
562
|
+
var tmp$ret$0 = charArrayOf([_Char___init__impl__6a9atx(44), _Char___init__impl__6a9atx(59)]);
|
|
563
|
+
var suffixStart = indexOfAny(value, tmp$ret$0);
|
|
564
|
+
var boldPart = suffixStart >= 0 ? take(value, suffixStart) : value;
|
|
565
|
+
var plainSuffix = suffixStart >= 0 ? drop(value, suffixStart) : '';
|
|
566
|
+
var tmp = get_NON_BOLD_REGEX();
|
|
567
|
+
var tmp_0 = split(tmp.ya(boldPart, wrapWithStrongTag$lambda), ['\x00']);
|
|
568
|
+
var result = joinToString(tmp_0, '', VOID, VOID, VOID, VOID, wrapWithStrongTag$lambda_0);
|
|
569
|
+
return result + plainSuffix;
|
|
576
570
|
}
|
|
577
571
|
function newTemplateSession(rawDensityData) {
|
|
578
572
|
rawDensityData = rawDensityData === VOID ? null : rawDensityData;
|
|
573
|
+
_init_properties_ScaleRecipe_kt__qu4y0q();
|
|
579
574
|
var densityTable = !(rawDensityData == null) ? loadDensityTable(rawDensityData) : loadInternalDensityTable();
|
|
580
575
|
// Inline function 'kotlin.map' call
|
|
581
576
|
var tmp;
|
|
@@ -589,6 +584,36 @@
|
|
|
589
584
|
}
|
|
590
585
|
return tmp;
|
|
591
586
|
}
|
|
587
|
+
function wrapWithStrongTag$lambda(it) {
|
|
588
|
+
_init_properties_ScaleRecipe_kt__qu4y0q();
|
|
589
|
+
return '\x00' + it.g2() + '\x00';
|
|
590
|
+
}
|
|
591
|
+
function wrapWithStrongTag$lambda_0(chunk) {
|
|
592
|
+
_init_properties_ScaleRecipe_kt__qu4y0q();
|
|
593
|
+
var tmp;
|
|
594
|
+
// Inline function 'kotlin.text.isEmpty' call
|
|
595
|
+
if (charSequenceLength(chunk) === 0) {
|
|
596
|
+
tmp = '';
|
|
597
|
+
} else {
|
|
598
|
+
if (startsWith(chunk, '(')) {
|
|
599
|
+
tmp = chunk;
|
|
600
|
+
} else {
|
|
601
|
+
if (isBlank(chunk) || chunk === ' \u2022 ') {
|
|
602
|
+
tmp = chunk;
|
|
603
|
+
} else {
|
|
604
|
+
tmp = '<strong>' + chunk + '<\/strong>';
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
return tmp;
|
|
609
|
+
}
|
|
610
|
+
var properties_initialized_ScaleRecipe_kt_2csdy0;
|
|
611
|
+
function _init_properties_ScaleRecipe_kt__qu4y0q() {
|
|
612
|
+
if (!properties_initialized_ScaleRecipe_kt_2csdy0) {
|
|
613
|
+
properties_initialized_ScaleRecipe_kt_2csdy0 = true;
|
|
614
|
+
NON_BOLD_REGEX = Regex_init_$Create$('\\([^()]*\\)| \u2022 ');
|
|
615
|
+
}
|
|
616
|
+
}
|
|
592
617
|
function TableSchema$Companion$$childSerializers$_anonymous__48gmsb() {
|
|
593
618
|
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
594
619
|
}
|
|
@@ -604,7 +629,7 @@
|
|
|
604
629
|
// Inline function 'kotlin.arrayOf' call
|
|
605
630
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
606
631
|
// Inline function 'kotlin.js.asDynamic' call
|
|
607
|
-
tmp.
|
|
632
|
+
tmp.z1h_1 = [null, tmp_1, lazy(tmp_2, TableSchema$Companion$$childSerializers$_anonymous__48gmsb_0)];
|
|
608
633
|
}
|
|
609
634
|
var Companion_instance_0;
|
|
610
635
|
function Companion_getInstance() {
|
|
@@ -615,75 +640,75 @@
|
|
|
615
640
|
function $serializer() {
|
|
616
641
|
$serializer_instance = this;
|
|
617
642
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.density.TableSchema', this, 3);
|
|
618
|
-
tmp0_serialDesc.
|
|
619
|
-
tmp0_serialDesc.
|
|
620
|
-
tmp0_serialDesc.
|
|
621
|
-
this.
|
|
622
|
-
}
|
|
623
|
-
protoOf($serializer).
|
|
624
|
-
var tmp0_desc = this.
|
|
625
|
-
var tmp1_output = encoder.
|
|
626
|
-
var tmp2_cached = Companion_getInstance().
|
|
627
|
-
tmp1_output.
|
|
628
|
-
tmp1_output.
|
|
629
|
-
tmp1_output.
|
|
630
|
-
tmp1_output.
|
|
631
|
-
};
|
|
632
|
-
protoOf($serializer).
|
|
633
|
-
return this.
|
|
634
|
-
};
|
|
635
|
-
protoOf($serializer).
|
|
636
|
-
var tmp0_desc = this.
|
|
643
|
+
tmp0_serialDesc.zs('prepared_at', false);
|
|
644
|
+
tmp0_serialDesc.zs('key', false);
|
|
645
|
+
tmp0_serialDesc.zs('values', false);
|
|
646
|
+
this.a1i_1 = tmp0_serialDesc;
|
|
647
|
+
}
|
|
648
|
+
protoOf($serializer).b1i = function (encoder, value) {
|
|
649
|
+
var tmp0_desc = this.a1i_1;
|
|
650
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
651
|
+
var tmp2_cached = Companion_getInstance().z1h_1;
|
|
652
|
+
tmp1_output.en(tmp0_desc, 0, value.c1i_1);
|
|
653
|
+
tmp1_output.gn(tmp0_desc, 1, tmp2_cached[1].g2(), value.d1i_1);
|
|
654
|
+
tmp1_output.gn(tmp0_desc, 2, tmp2_cached[2].g2(), value.e1i_1);
|
|
655
|
+
tmp1_output.rl(tmp0_desc);
|
|
656
|
+
};
|
|
657
|
+
protoOf($serializer).ti = function (encoder, value) {
|
|
658
|
+
return this.b1i(encoder, value instanceof TableSchema ? value : THROW_CCE());
|
|
659
|
+
};
|
|
660
|
+
protoOf($serializer).ui = function (decoder) {
|
|
661
|
+
var tmp0_desc = this.a1i_1;
|
|
637
662
|
var tmp1_flag = true;
|
|
638
663
|
var tmp2_index = 0;
|
|
639
664
|
var tmp3_bitMask0 = 0;
|
|
640
665
|
var tmp4_local0 = null;
|
|
641
666
|
var tmp5_local1 = null;
|
|
642
667
|
var tmp6_local2 = null;
|
|
643
|
-
var tmp7_input = decoder.
|
|
644
|
-
var tmp8_cached = Companion_getInstance().
|
|
645
|
-
if (tmp7_input.
|
|
646
|
-
tmp4_local0 = tmp7_input.
|
|
668
|
+
var tmp7_input = decoder.ql(tmp0_desc);
|
|
669
|
+
var tmp8_cached = Companion_getInstance().z1h_1;
|
|
670
|
+
if (tmp7_input.gm()) {
|
|
671
|
+
tmp4_local0 = tmp7_input.am(tmp0_desc, 0);
|
|
647
672
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
648
|
-
tmp5_local1 = tmp7_input.
|
|
673
|
+
tmp5_local1 = tmp7_input.cm(tmp0_desc, 1, tmp8_cached[1].g2(), tmp5_local1);
|
|
649
674
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
650
|
-
tmp6_local2 = tmp7_input.
|
|
675
|
+
tmp6_local2 = tmp7_input.cm(tmp0_desc, 2, tmp8_cached[2].g2(), tmp6_local2);
|
|
651
676
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
652
677
|
} else
|
|
653
678
|
while (tmp1_flag) {
|
|
654
|
-
tmp2_index = tmp7_input.
|
|
679
|
+
tmp2_index = tmp7_input.hm(tmp0_desc);
|
|
655
680
|
switch (tmp2_index) {
|
|
656
681
|
case -1:
|
|
657
682
|
tmp1_flag = false;
|
|
658
683
|
break;
|
|
659
684
|
case 0:
|
|
660
|
-
tmp4_local0 = tmp7_input.
|
|
685
|
+
tmp4_local0 = tmp7_input.am(tmp0_desc, 0);
|
|
661
686
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
662
687
|
break;
|
|
663
688
|
case 1:
|
|
664
|
-
tmp5_local1 = tmp7_input.
|
|
689
|
+
tmp5_local1 = tmp7_input.cm(tmp0_desc, 1, tmp8_cached[1].g2(), tmp5_local1);
|
|
665
690
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
666
691
|
break;
|
|
667
692
|
case 2:
|
|
668
|
-
tmp6_local2 = tmp7_input.
|
|
693
|
+
tmp6_local2 = tmp7_input.cm(tmp0_desc, 2, tmp8_cached[2].g2(), tmp6_local2);
|
|
669
694
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
670
695
|
break;
|
|
671
696
|
default:
|
|
672
697
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
673
698
|
}
|
|
674
699
|
}
|
|
675
|
-
tmp7_input.
|
|
700
|
+
tmp7_input.rl(tmp0_desc);
|
|
676
701
|
return TableSchema_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
677
702
|
};
|
|
678
|
-
protoOf($serializer).
|
|
679
|
-
return this.
|
|
703
|
+
protoOf($serializer).si = function () {
|
|
704
|
+
return this.a1i_1;
|
|
680
705
|
};
|
|
681
|
-
protoOf($serializer).
|
|
682
|
-
var tmp0_cached = Companion_getInstance().
|
|
706
|
+
protoOf($serializer).bt = function () {
|
|
707
|
+
var tmp0_cached = Companion_getInstance().z1h_1;
|
|
683
708
|
// Inline function 'kotlin.arrayOf' call
|
|
684
709
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
685
710
|
// Inline function 'kotlin.js.asDynamic' call
|
|
686
|
-
return [StringSerializer_getInstance(), tmp0_cached[1].
|
|
711
|
+
return [StringSerializer_getInstance(), tmp0_cached[1].g2(), tmp0_cached[2].g2()];
|
|
687
712
|
};
|
|
688
713
|
var $serializer_instance;
|
|
689
714
|
function $serializer_getInstance() {
|
|
@@ -693,11 +718,11 @@
|
|
|
693
718
|
}
|
|
694
719
|
function TableSchema_init_$Init$(seen0, preparedAt, key, values, serializationConstructorMarker, $this) {
|
|
695
720
|
if (!(7 === (7 & seen0))) {
|
|
696
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance().
|
|
721
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance().a1i_1);
|
|
697
722
|
}
|
|
698
|
-
$this.
|
|
699
|
-
$this.
|
|
700
|
-
$this.
|
|
723
|
+
$this.c1i_1 = preparedAt;
|
|
724
|
+
$this.d1i_1 = key;
|
|
725
|
+
$this.e1i_1 = values;
|
|
701
726
|
return $this;
|
|
702
727
|
}
|
|
703
728
|
function TableSchema_init_$Create$(seen0, preparedAt, key, values, serializationConstructorMarker) {
|
|
@@ -705,17 +730,17 @@
|
|
|
705
730
|
}
|
|
706
731
|
function TableSchema(preparedAt, key, values) {
|
|
707
732
|
Companion_getInstance();
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
710
|
-
this.
|
|
733
|
+
this.c1i_1 = preparedAt;
|
|
734
|
+
this.d1i_1 = key;
|
|
735
|
+
this.e1i_1 = values;
|
|
711
736
|
}
|
|
712
737
|
protoOf(TableSchema).toString = function () {
|
|
713
|
-
return 'TableSchema(preparedAt=' + this.
|
|
738
|
+
return 'TableSchema(preparedAt=' + this.c1i_1 + ', key=' + toString_0(this.d1i_1) + ', values=' + toString_0(this.e1i_1) + ')';
|
|
714
739
|
};
|
|
715
740
|
protoOf(TableSchema).hashCode = function () {
|
|
716
|
-
var result = getStringHashCode(this.
|
|
717
|
-
result = imul(result, 31) + hashCode(this.
|
|
718
|
-
result = imul(result, 31) + hashCode(this.
|
|
741
|
+
var result = getStringHashCode(this.c1i_1);
|
|
742
|
+
result = imul(result, 31) + hashCode(this.d1i_1) | 0;
|
|
743
|
+
result = imul(result, 31) + hashCode(this.e1i_1) | 0;
|
|
719
744
|
return result;
|
|
720
745
|
};
|
|
721
746
|
protoOf(TableSchema).equals = function (other) {
|
|
@@ -723,11 +748,11 @@
|
|
|
723
748
|
return true;
|
|
724
749
|
if (!(other instanceof TableSchema))
|
|
725
750
|
return false;
|
|
726
|
-
if (!(this.
|
|
751
|
+
if (!(this.c1i_1 === other.c1i_1))
|
|
727
752
|
return false;
|
|
728
|
-
if (!equals(this.
|
|
753
|
+
if (!equals(this.d1i_1, other.d1i_1))
|
|
729
754
|
return false;
|
|
730
|
-
if (!equals(this.
|
|
755
|
+
if (!equals(this.e1i_1, other.e1i_1))
|
|
731
756
|
return false;
|
|
732
757
|
return true;
|
|
733
758
|
};
|
|
@@ -740,26 +765,26 @@
|
|
|
740
765
|
function $serializer_0() {
|
|
741
766
|
$serializer_instance_0 = this;
|
|
742
767
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.density.Ingredient', this, 4);
|
|
743
|
-
tmp0_serialDesc.
|
|
744
|
-
tmp0_serialDesc.
|
|
745
|
-
tmp0_serialDesc.
|
|
746
|
-
tmp0_serialDesc.
|
|
747
|
-
this.
|
|
748
|
-
}
|
|
749
|
-
protoOf($serializer_0).
|
|
750
|
-
var tmp0_desc = this.
|
|
751
|
-
var tmp1_output = encoder.
|
|
752
|
-
tmp1_output.
|
|
753
|
-
tmp1_output.
|
|
754
|
-
tmp1_output.
|
|
755
|
-
tmp1_output.
|
|
756
|
-
tmp1_output.
|
|
757
|
-
};
|
|
758
|
-
protoOf($serializer_0).
|
|
759
|
-
return this.
|
|
760
|
-
};
|
|
761
|
-
protoOf($serializer_0).
|
|
762
|
-
var tmp0_desc = this.
|
|
768
|
+
tmp0_serialDesc.zs('id', false);
|
|
769
|
+
tmp0_serialDesc.zs('name', false);
|
|
770
|
+
tmp0_serialDesc.zs('normalised_name', false);
|
|
771
|
+
tmp0_serialDesc.zs('density', false);
|
|
772
|
+
this.f1i_1 = tmp0_serialDesc;
|
|
773
|
+
}
|
|
774
|
+
protoOf($serializer_0).g1i = function (encoder, value) {
|
|
775
|
+
var tmp0_desc = this.f1i_1;
|
|
776
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
777
|
+
tmp1_output.zm(tmp0_desc, 0, value.h1i_1);
|
|
778
|
+
tmp1_output.en(tmp0_desc, 1, value.i1i_1);
|
|
779
|
+
tmp1_output.en(tmp0_desc, 2, value.j1i_1);
|
|
780
|
+
tmp1_output.bn(tmp0_desc, 3, value.k1i_1);
|
|
781
|
+
tmp1_output.rl(tmp0_desc);
|
|
782
|
+
};
|
|
783
|
+
protoOf($serializer_0).ti = function (encoder, value) {
|
|
784
|
+
return this.g1i(encoder, value instanceof Ingredient ? value : THROW_CCE());
|
|
785
|
+
};
|
|
786
|
+
protoOf($serializer_0).ui = function (decoder) {
|
|
787
|
+
var tmp0_desc = this.f1i_1;
|
|
763
788
|
var tmp1_flag = true;
|
|
764
789
|
var tmp2_index = 0;
|
|
765
790
|
var tmp3_bitMask0 = 0;
|
|
@@ -767,50 +792,50 @@
|
|
|
767
792
|
var tmp5_local1 = null;
|
|
768
793
|
var tmp6_local2 = null;
|
|
769
794
|
var tmp7_local3 = 0.0;
|
|
770
|
-
var tmp8_input = decoder.
|
|
771
|
-
if (tmp8_input.
|
|
772
|
-
tmp4_local0 = tmp8_input.
|
|
795
|
+
var tmp8_input = decoder.ql(tmp0_desc);
|
|
796
|
+
if (tmp8_input.gm()) {
|
|
797
|
+
tmp4_local0 = tmp8_input.vl(tmp0_desc, 0);
|
|
773
798
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
774
|
-
tmp5_local1 = tmp8_input.
|
|
799
|
+
tmp5_local1 = tmp8_input.am(tmp0_desc, 1);
|
|
775
800
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
776
|
-
tmp6_local2 = tmp8_input.
|
|
801
|
+
tmp6_local2 = tmp8_input.am(tmp0_desc, 2);
|
|
777
802
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
778
|
-
tmp7_local3 = tmp8_input.
|
|
803
|
+
tmp7_local3 = tmp8_input.xl(tmp0_desc, 3);
|
|
779
804
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
780
805
|
} else
|
|
781
806
|
while (tmp1_flag) {
|
|
782
|
-
tmp2_index = tmp8_input.
|
|
807
|
+
tmp2_index = tmp8_input.hm(tmp0_desc);
|
|
783
808
|
switch (tmp2_index) {
|
|
784
809
|
case -1:
|
|
785
810
|
tmp1_flag = false;
|
|
786
811
|
break;
|
|
787
812
|
case 0:
|
|
788
|
-
tmp4_local0 = tmp8_input.
|
|
813
|
+
tmp4_local0 = tmp8_input.vl(tmp0_desc, 0);
|
|
789
814
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
790
815
|
break;
|
|
791
816
|
case 1:
|
|
792
|
-
tmp5_local1 = tmp8_input.
|
|
817
|
+
tmp5_local1 = tmp8_input.am(tmp0_desc, 1);
|
|
793
818
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
794
819
|
break;
|
|
795
820
|
case 2:
|
|
796
|
-
tmp6_local2 = tmp8_input.
|
|
821
|
+
tmp6_local2 = tmp8_input.am(tmp0_desc, 2);
|
|
797
822
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
798
823
|
break;
|
|
799
824
|
case 3:
|
|
800
|
-
tmp7_local3 = tmp8_input.
|
|
825
|
+
tmp7_local3 = tmp8_input.xl(tmp0_desc, 3);
|
|
801
826
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
802
827
|
break;
|
|
803
828
|
default:
|
|
804
829
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
805
830
|
}
|
|
806
831
|
}
|
|
807
|
-
tmp8_input.
|
|
832
|
+
tmp8_input.rl(tmp0_desc);
|
|
808
833
|
return Ingredient_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
809
834
|
};
|
|
810
|
-
protoOf($serializer_0).
|
|
811
|
-
return this.
|
|
835
|
+
protoOf($serializer_0).si = function () {
|
|
836
|
+
return this.f1i_1;
|
|
812
837
|
};
|
|
813
|
-
protoOf($serializer_0).
|
|
838
|
+
protoOf($serializer_0).bt = function () {
|
|
814
839
|
// Inline function 'kotlin.arrayOf' call
|
|
815
840
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
816
841
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -824,31 +849,31 @@
|
|
|
824
849
|
}
|
|
825
850
|
function Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, $this) {
|
|
826
851
|
if (!(15 === (15 & seen0))) {
|
|
827
|
-
throwMissingFieldException(seen0, 15, $serializer_getInstance_0().
|
|
852
|
+
throwMissingFieldException(seen0, 15, $serializer_getInstance_0().f1i_1);
|
|
828
853
|
}
|
|
829
|
-
$this.
|
|
830
|
-
$this.
|
|
831
|
-
$this.
|
|
832
|
-
$this.
|
|
854
|
+
$this.h1i_1 = id;
|
|
855
|
+
$this.i1i_1 = name;
|
|
856
|
+
$this.j1i_1 = normalised_name;
|
|
857
|
+
$this.k1i_1 = density;
|
|
833
858
|
return $this;
|
|
834
859
|
}
|
|
835
860
|
function Ingredient_init_$Create$(seen0, id, name, normalised_name, density, serializationConstructorMarker) {
|
|
836
861
|
return Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, objectCreate(protoOf(Ingredient)));
|
|
837
862
|
}
|
|
838
863
|
function Ingredient(id, name, normalised_name, density) {
|
|
839
|
-
this.
|
|
840
|
-
this.
|
|
841
|
-
this.
|
|
842
|
-
this.
|
|
864
|
+
this.h1i_1 = id;
|
|
865
|
+
this.i1i_1 = name;
|
|
866
|
+
this.j1i_1 = normalised_name;
|
|
867
|
+
this.k1i_1 = density;
|
|
843
868
|
}
|
|
844
869
|
protoOf(Ingredient).toString = function () {
|
|
845
|
-
return 'Ingredient(id=' + this.
|
|
870
|
+
return 'Ingredient(id=' + this.h1i_1 + ', name=' + this.i1i_1 + ', normalised_name=' + this.j1i_1 + ', density=' + this.k1i_1 + ')';
|
|
846
871
|
};
|
|
847
872
|
protoOf(Ingredient).hashCode = function () {
|
|
848
|
-
var result = this.
|
|
849
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
850
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
851
|
-
result = imul(result, 31) + getNumberHashCode(this.
|
|
873
|
+
var result = this.h1i_1;
|
|
874
|
+
result = imul(result, 31) + getStringHashCode(this.i1i_1) | 0;
|
|
875
|
+
result = imul(result, 31) + getStringHashCode(this.j1i_1) | 0;
|
|
876
|
+
result = imul(result, 31) + getNumberHashCode(this.k1i_1) | 0;
|
|
852
877
|
return result;
|
|
853
878
|
};
|
|
854
879
|
protoOf(Ingredient).equals = function (other) {
|
|
@@ -856,29 +881,29 @@
|
|
|
856
881
|
return true;
|
|
857
882
|
if (!(other instanceof Ingredient))
|
|
858
883
|
return false;
|
|
859
|
-
if (!(this.
|
|
884
|
+
if (!(this.h1i_1 === other.h1i_1))
|
|
860
885
|
return false;
|
|
861
|
-
if (!(this.
|
|
886
|
+
if (!(this.i1i_1 === other.i1i_1))
|
|
862
887
|
return false;
|
|
863
|
-
if (!(this.
|
|
888
|
+
if (!(this.j1i_1 === other.j1i_1))
|
|
864
889
|
return false;
|
|
865
|
-
if (!equals(this.
|
|
890
|
+
if (!equals(this.k1i_1, other.k1i_1))
|
|
866
891
|
return false;
|
|
867
892
|
return true;
|
|
868
893
|
};
|
|
869
894
|
function DensityTable(preparedAt, normalised_map, name_map) {
|
|
870
|
-
this.
|
|
871
|
-
this.
|
|
872
|
-
this.
|
|
895
|
+
this.m1f_1 = preparedAt;
|
|
896
|
+
this.n1f_1 = normalised_map;
|
|
897
|
+
this.o1f_1 = name_map;
|
|
873
898
|
}
|
|
874
|
-
protoOf(DensityTable).
|
|
875
|
-
var tmp0_safe_receiver = this.
|
|
899
|
+
protoOf(DensityTable).p1f = function (name) {
|
|
900
|
+
var tmp0_safe_receiver = this.n1f_1.j2(name);
|
|
876
901
|
var tmp;
|
|
877
902
|
if (tmp0_safe_receiver == null) {
|
|
878
903
|
tmp = null;
|
|
879
904
|
} else {
|
|
880
905
|
// Inline function 'kotlin.let' call
|
|
881
|
-
return tmp0_safe_receiver.
|
|
906
|
+
return tmp0_safe_receiver.k1i_1;
|
|
882
907
|
}
|
|
883
908
|
return tmp;
|
|
884
909
|
};
|
|
@@ -890,19 +915,19 @@
|
|
|
890
915
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
891
916
|
var this_0 = Default_getInstance();
|
|
892
917
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
893
|
-
var this_1 = this_0.
|
|
918
|
+
var this_1 = this_0.fm();
|
|
894
919
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
895
920
|
var this_2 = serializer(this_1, createKType(getKClass(TableSchema), arrayOf([]), false));
|
|
896
921
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
897
|
-
var data = this_0.
|
|
922
|
+
var data = this_0.c12(tmp$ret$1, raw);
|
|
898
923
|
// Inline function 'kotlin.collections.map' call
|
|
899
|
-
var this_3 = data.
|
|
924
|
+
var this_3 = data.e1i_1;
|
|
900
925
|
// Inline function 'kotlin.collections.mapTo' call
|
|
901
926
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
902
927
|
var _iterator__ex2g4s = this_3.q();
|
|
903
928
|
while (_iterator__ex2g4s.r()) {
|
|
904
929
|
var item = _iterator__ex2g4s.s();
|
|
905
|
-
var tmp$ret$5 = new Ingredient(get_int(get_jsonPrimitive(item.z(0))), get_jsonPrimitive(item.z(1)).
|
|
930
|
+
var tmp$ret$5 = new Ingredient(get_int(get_jsonPrimitive(item.z(0))), get_jsonPrimitive(item.z(1)).k14(), get_jsonPrimitive(item.z(2)).k14(), get_float(get_jsonPrimitive(item.z(3))));
|
|
906
931
|
destination.u(tmp$ret$5);
|
|
907
932
|
}
|
|
908
933
|
var ingredients = destination;
|
|
@@ -914,8 +939,8 @@
|
|
|
914
939
|
while (_iterator__ex2g4s_0.r()) {
|
|
915
940
|
var element = _iterator__ex2g4s_0.s();
|
|
916
941
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
917
|
-
var pair = to(element.
|
|
918
|
-
destination_0.
|
|
942
|
+
var pair = to(element.j1i_1, element);
|
|
943
|
+
destination_0.n2(pair.dd_1, pair.ed_1);
|
|
919
944
|
}
|
|
920
945
|
var normalised_map = destination_0;
|
|
921
946
|
// Inline function 'kotlin.collections.associate' call
|
|
@@ -926,11 +951,11 @@
|
|
|
926
951
|
while (_iterator__ex2g4s_1.r()) {
|
|
927
952
|
var element_0 = _iterator__ex2g4s_1.s();
|
|
928
953
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
929
|
-
var pair_0 = to(element_0.
|
|
930
|
-
destination_1.
|
|
954
|
+
var pair_0 = to(element_0.i1i_1, element_0);
|
|
955
|
+
destination_1.n2(pair_0.dd_1, pair_0.ed_1);
|
|
931
956
|
}
|
|
932
957
|
var name_map = destination_1;
|
|
933
|
-
var table = new DensityTable(data.
|
|
958
|
+
var table = new DensityTable(data.c1i_1, normalised_map, name_map);
|
|
934
959
|
// Inline function 'kotlin.Companion.success' call
|
|
935
960
|
return _Result___init__impl__xyqfz8(table);
|
|
936
961
|
} catch ($p) {
|
|
@@ -1038,7 +1063,7 @@
|
|
|
1038
1063
|
// Inline function 'kotlin.arrayOf' call
|
|
1039
1064
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1040
1065
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1041
|
-
tmp.
|
|
1066
|
+
tmp.l1i_1 = [null, tmp_1, null, tmp_3, tmp_5, null, tmp_7, tmp_9, null, null, null, null, tmp_11, tmp_13, null, tmp_15, tmp_17, tmp_19, tmp_21, tmp_23, null, lazy(tmp_24, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11), null];
|
|
1042
1067
|
}
|
|
1043
1068
|
var Companion_instance_2;
|
|
1044
1069
|
function Companion_getInstance_1() {
|
|
@@ -1049,109 +1074,109 @@
|
|
|
1049
1074
|
function $serializer_1() {
|
|
1050
1075
|
$serializer_instance_1 = this;
|
|
1051
1076
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.RecipeV3', this, 23);
|
|
1052
|
-
tmp0_serialDesc.
|
|
1053
|
-
tmp0_serialDesc.
|
|
1054
|
-
tmp0_serialDesc.
|
|
1055
|
-
tmp0_serialDesc.
|
|
1056
|
-
tmp0_serialDesc.
|
|
1057
|
-
tmp0_serialDesc.
|
|
1058
|
-
tmp0_serialDesc.
|
|
1059
|
-
tmp0_serialDesc.
|
|
1060
|
-
tmp0_serialDesc.
|
|
1061
|
-
tmp0_serialDesc.
|
|
1062
|
-
tmp0_serialDesc.
|
|
1063
|
-
tmp0_serialDesc.
|
|
1064
|
-
tmp0_serialDesc.
|
|
1065
|
-
tmp0_serialDesc.
|
|
1066
|
-
tmp0_serialDesc.
|
|
1067
|
-
tmp0_serialDesc.
|
|
1068
|
-
tmp0_serialDesc.
|
|
1069
|
-
tmp0_serialDesc.
|
|
1070
|
-
tmp0_serialDesc.
|
|
1071
|
-
tmp0_serialDesc.
|
|
1072
|
-
tmp0_serialDesc.
|
|
1073
|
-
tmp0_serialDesc.
|
|
1074
|
-
tmp0_serialDesc.
|
|
1075
|
-
this.
|
|
1076
|
-
}
|
|
1077
|
-
protoOf($serializer_1).
|
|
1078
|
-
var tmp0_desc = this.
|
|
1079
|
-
var tmp1_output = encoder.
|
|
1080
|
-
var tmp2_cached = Companion_getInstance_1().
|
|
1081
|
-
if (tmp1_output.
|
|
1082
|
-
tmp1_output.
|
|
1077
|
+
tmp0_serialDesc.zs('bookCredit', true);
|
|
1078
|
+
tmp0_serialDesc.zs('byline', true);
|
|
1079
|
+
tmp0_serialDesc.zs('canonicalArticle', true);
|
|
1080
|
+
tmp0_serialDesc.zs('celebrationIds', true);
|
|
1081
|
+
tmp0_serialDesc.zs('commerceCtas', true);
|
|
1082
|
+
tmp0_serialDesc.zs('composerId', true);
|
|
1083
|
+
tmp0_serialDesc.zs('contributors', true);
|
|
1084
|
+
tmp0_serialDesc.zs('cuisineIds', true);
|
|
1085
|
+
tmp0_serialDesc.zs('description', true);
|
|
1086
|
+
tmp0_serialDesc.zs('difficultyLevel', true);
|
|
1087
|
+
tmp0_serialDesc.zs('featuredImage', true);
|
|
1088
|
+
tmp0_serialDesc.zs('id', false);
|
|
1089
|
+
tmp0_serialDesc.zs('ingredients', true);
|
|
1090
|
+
tmp0_serialDesc.zs('instructions', true);
|
|
1091
|
+
tmp0_serialDesc.zs('isAppReady', true);
|
|
1092
|
+
tmp0_serialDesc.zs('mealTypeIds', true);
|
|
1093
|
+
tmp0_serialDesc.zs('serves', true);
|
|
1094
|
+
tmp0_serialDesc.zs('suitableForDietIds', true);
|
|
1095
|
+
tmp0_serialDesc.zs('techniquesUsedIds', true);
|
|
1096
|
+
tmp0_serialDesc.zs('timings', true);
|
|
1097
|
+
tmp0_serialDesc.zs('title', true);
|
|
1098
|
+
tmp0_serialDesc.zs('utensilsAndApplianceIds', true);
|
|
1099
|
+
tmp0_serialDesc.zs('webPublicationDate', true);
|
|
1100
|
+
this.m1i_1 = tmp0_serialDesc;
|
|
1101
|
+
}
|
|
1102
|
+
protoOf($serializer_1).n1i = function (encoder, value) {
|
|
1103
|
+
var tmp0_desc = this.m1i_1;
|
|
1104
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1105
|
+
var tmp2_cached = Companion_getInstance_1().l1i_1;
|
|
1106
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.k1g_1 == null)) {
|
|
1107
|
+
tmp1_output.in(tmp0_desc, 0, StringSerializer_getInstance(), value.k1g_1);
|
|
1083
1108
|
}
|
|
1084
|
-
if (tmp1_output.
|
|
1085
|
-
tmp1_output.
|
|
1109
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.l1g_1 == null)) {
|
|
1110
|
+
tmp1_output.in(tmp0_desc, 1, tmp2_cached[1].g2(), value.l1g_1);
|
|
1086
1111
|
}
|
|
1087
|
-
if (tmp1_output.
|
|
1088
|
-
tmp1_output.
|
|
1112
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.m1g_1 == null)) {
|
|
1113
|
+
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.m1g_1);
|
|
1089
1114
|
}
|
|
1090
|
-
if (tmp1_output.
|
|
1091
|
-
tmp1_output.
|
|
1115
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.n1g_1 == null)) {
|
|
1116
|
+
tmp1_output.in(tmp0_desc, 3, tmp2_cached[3].g2(), value.n1g_1);
|
|
1092
1117
|
}
|
|
1093
|
-
if (tmp1_output.
|
|
1094
|
-
tmp1_output.
|
|
1118
|
+
if (tmp1_output.mn(tmp0_desc, 4) ? true : !(value.o1g_1 == null)) {
|
|
1119
|
+
tmp1_output.in(tmp0_desc, 4, tmp2_cached[4].g2(), value.o1g_1);
|
|
1095
1120
|
}
|
|
1096
|
-
if (tmp1_output.
|
|
1097
|
-
tmp1_output.
|
|
1121
|
+
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.p1g_1 == null)) {
|
|
1122
|
+
tmp1_output.in(tmp0_desc, 5, StringSerializer_getInstance(), value.p1g_1);
|
|
1098
1123
|
}
|
|
1099
|
-
if (tmp1_output.
|
|
1100
|
-
tmp1_output.
|
|
1124
|
+
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.q1g_1 == null)) {
|
|
1125
|
+
tmp1_output.in(tmp0_desc, 6, tmp2_cached[6].g2(), value.q1g_1);
|
|
1101
1126
|
}
|
|
1102
|
-
if (tmp1_output.
|
|
1103
|
-
tmp1_output.
|
|
1127
|
+
if (tmp1_output.mn(tmp0_desc, 7) ? true : !(value.r1g_1 == null)) {
|
|
1128
|
+
tmp1_output.in(tmp0_desc, 7, tmp2_cached[7].g2(), value.r1g_1);
|
|
1104
1129
|
}
|
|
1105
|
-
if (tmp1_output.
|
|
1106
|
-
tmp1_output.
|
|
1130
|
+
if (tmp1_output.mn(tmp0_desc, 8) ? true : !(value.s1g_1 == null)) {
|
|
1131
|
+
tmp1_output.in(tmp0_desc, 8, StringSerializer_getInstance(), value.s1g_1);
|
|
1107
1132
|
}
|
|
1108
|
-
if (tmp1_output.
|
|
1109
|
-
tmp1_output.
|
|
1133
|
+
if (tmp1_output.mn(tmp0_desc, 9) ? true : !(value.t1g_1 == null)) {
|
|
1134
|
+
tmp1_output.in(tmp0_desc, 9, StringSerializer_getInstance(), value.t1g_1);
|
|
1110
1135
|
}
|
|
1111
|
-
if (tmp1_output.
|
|
1112
|
-
tmp1_output.
|
|
1136
|
+
if (tmp1_output.mn(tmp0_desc, 10) ? true : !(value.u1g_1 == null)) {
|
|
1137
|
+
tmp1_output.in(tmp0_desc, 10, $serializer_getInstance_3(), value.u1g_1);
|
|
1113
1138
|
}
|
|
1114
|
-
tmp1_output.
|
|
1115
|
-
if (tmp1_output.
|
|
1116
|
-
tmp1_output.
|
|
1139
|
+
tmp1_output.en(tmp0_desc, 11, value.v1g_1);
|
|
1140
|
+
if (tmp1_output.mn(tmp0_desc, 12) ? true : !(value.w1g_1 == null)) {
|
|
1141
|
+
tmp1_output.in(tmp0_desc, 12, tmp2_cached[12].g2(), value.w1g_1);
|
|
1117
1142
|
}
|
|
1118
|
-
if (tmp1_output.
|
|
1119
|
-
tmp1_output.
|
|
1143
|
+
if (tmp1_output.mn(tmp0_desc, 13) ? true : !(value.x1g_1 == null)) {
|
|
1144
|
+
tmp1_output.in(tmp0_desc, 13, tmp2_cached[13].g2(), value.x1g_1);
|
|
1120
1145
|
}
|
|
1121
|
-
if (tmp1_output.
|
|
1122
|
-
tmp1_output.
|
|
1146
|
+
if (tmp1_output.mn(tmp0_desc, 14) ? true : !(value.y1g_1 == null)) {
|
|
1147
|
+
tmp1_output.in(tmp0_desc, 14, BooleanSerializer_getInstance(), value.y1g_1);
|
|
1123
1148
|
}
|
|
1124
|
-
if (tmp1_output.
|
|
1125
|
-
tmp1_output.
|
|
1149
|
+
if (tmp1_output.mn(tmp0_desc, 15) ? true : !(value.z1g_1 == null)) {
|
|
1150
|
+
tmp1_output.in(tmp0_desc, 15, tmp2_cached[15].g2(), value.z1g_1);
|
|
1126
1151
|
}
|
|
1127
|
-
if (tmp1_output.
|
|
1128
|
-
tmp1_output.
|
|
1152
|
+
if (tmp1_output.mn(tmp0_desc, 16) ? true : !(value.a1h_1 == null)) {
|
|
1153
|
+
tmp1_output.in(tmp0_desc, 16, tmp2_cached[16].g2(), value.a1h_1);
|
|
1129
1154
|
}
|
|
1130
|
-
if (tmp1_output.
|
|
1131
|
-
tmp1_output.
|
|
1155
|
+
if (tmp1_output.mn(tmp0_desc, 17) ? true : !(value.b1h_1 == null)) {
|
|
1156
|
+
tmp1_output.in(tmp0_desc, 17, tmp2_cached[17].g2(), value.b1h_1);
|
|
1132
1157
|
}
|
|
1133
|
-
if (tmp1_output.
|
|
1134
|
-
tmp1_output.
|
|
1158
|
+
if (tmp1_output.mn(tmp0_desc, 18) ? true : !(value.c1h_1 == null)) {
|
|
1159
|
+
tmp1_output.in(tmp0_desc, 18, tmp2_cached[18].g2(), value.c1h_1);
|
|
1135
1160
|
}
|
|
1136
|
-
if (tmp1_output.
|
|
1137
|
-
tmp1_output.
|
|
1161
|
+
if (tmp1_output.mn(tmp0_desc, 19) ? true : !(value.d1h_1 == null)) {
|
|
1162
|
+
tmp1_output.in(tmp0_desc, 19, tmp2_cached[19].g2(), value.d1h_1);
|
|
1138
1163
|
}
|
|
1139
|
-
if (tmp1_output.
|
|
1140
|
-
tmp1_output.
|
|
1164
|
+
if (tmp1_output.mn(tmp0_desc, 20) ? true : !(value.e1h_1 == null)) {
|
|
1165
|
+
tmp1_output.in(tmp0_desc, 20, StringSerializer_getInstance(), value.e1h_1);
|
|
1141
1166
|
}
|
|
1142
|
-
if (tmp1_output.
|
|
1143
|
-
tmp1_output.
|
|
1167
|
+
if (tmp1_output.mn(tmp0_desc, 21) ? true : !(value.f1h_1 == null)) {
|
|
1168
|
+
tmp1_output.in(tmp0_desc, 21, tmp2_cached[21].g2(), value.f1h_1);
|
|
1144
1169
|
}
|
|
1145
|
-
if (tmp1_output.
|
|
1146
|
-
tmp1_output.
|
|
1170
|
+
if (tmp1_output.mn(tmp0_desc, 22) ? true : !(value.g1h_1 == null)) {
|
|
1171
|
+
tmp1_output.in(tmp0_desc, 22, StringSerializer_getInstance(), value.g1h_1);
|
|
1147
1172
|
}
|
|
1148
|
-
tmp1_output.
|
|
1173
|
+
tmp1_output.rl(tmp0_desc);
|
|
1149
1174
|
};
|
|
1150
|
-
protoOf($serializer_1).
|
|
1151
|
-
return this.
|
|
1175
|
+
protoOf($serializer_1).ti = function (encoder, value) {
|
|
1176
|
+
return this.n1i(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
|
|
1152
1177
|
};
|
|
1153
|
-
protoOf($serializer_1).
|
|
1154
|
-
var tmp0_desc = this.
|
|
1178
|
+
protoOf($serializer_1).ui = function (decoder) {
|
|
1179
|
+
var tmp0_desc = this.m1i_1;
|
|
1155
1180
|
var tmp1_flag = true;
|
|
1156
1181
|
var tmp2_index = 0;
|
|
1157
1182
|
var tmp3_bitMask0 = 0;
|
|
@@ -1178,170 +1203,170 @@
|
|
|
1178
1203
|
var tmp24_local20 = null;
|
|
1179
1204
|
var tmp25_local21 = null;
|
|
1180
1205
|
var tmp26_local22 = null;
|
|
1181
|
-
var tmp27_input = decoder.
|
|
1182
|
-
var tmp28_cached = Companion_getInstance_1().
|
|
1183
|
-
if (tmp27_input.
|
|
1184
|
-
tmp4_local0 = tmp27_input.
|
|
1206
|
+
var tmp27_input = decoder.ql(tmp0_desc);
|
|
1207
|
+
var tmp28_cached = Companion_getInstance_1().l1i_1;
|
|
1208
|
+
if (tmp27_input.gm()) {
|
|
1209
|
+
tmp4_local0 = tmp27_input.em(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1185
1210
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1186
|
-
tmp5_local1 = tmp27_input.
|
|
1211
|
+
tmp5_local1 = tmp27_input.em(tmp0_desc, 1, tmp28_cached[1].g2(), tmp5_local1);
|
|
1187
1212
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1188
|
-
tmp6_local2 = tmp27_input.
|
|
1213
|
+
tmp6_local2 = tmp27_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1189
1214
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1190
|
-
tmp7_local3 = tmp27_input.
|
|
1215
|
+
tmp7_local3 = tmp27_input.em(tmp0_desc, 3, tmp28_cached[3].g2(), tmp7_local3);
|
|
1191
1216
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1192
|
-
tmp8_local4 = tmp27_input.
|
|
1217
|
+
tmp8_local4 = tmp27_input.em(tmp0_desc, 4, tmp28_cached[4].g2(), tmp8_local4);
|
|
1193
1218
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1194
|
-
tmp9_local5 = tmp27_input.
|
|
1219
|
+
tmp9_local5 = tmp27_input.em(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1195
1220
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1196
|
-
tmp10_local6 = tmp27_input.
|
|
1221
|
+
tmp10_local6 = tmp27_input.em(tmp0_desc, 6, tmp28_cached[6].g2(), tmp10_local6);
|
|
1197
1222
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1198
|
-
tmp11_local7 = tmp27_input.
|
|
1223
|
+
tmp11_local7 = tmp27_input.em(tmp0_desc, 7, tmp28_cached[7].g2(), tmp11_local7);
|
|
1199
1224
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1200
|
-
tmp12_local8 = tmp27_input.
|
|
1225
|
+
tmp12_local8 = tmp27_input.em(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
1201
1226
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1202
|
-
tmp13_local9 = tmp27_input.
|
|
1227
|
+
tmp13_local9 = tmp27_input.em(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
1203
1228
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1204
|
-
tmp14_local10 = tmp27_input.
|
|
1229
|
+
tmp14_local10 = tmp27_input.em(tmp0_desc, 10, $serializer_getInstance_3(), tmp14_local10);
|
|
1205
1230
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1206
|
-
tmp15_local11 = tmp27_input.
|
|
1231
|
+
tmp15_local11 = tmp27_input.am(tmp0_desc, 11);
|
|
1207
1232
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1208
|
-
tmp16_local12 = tmp27_input.
|
|
1233
|
+
tmp16_local12 = tmp27_input.em(tmp0_desc, 12, tmp28_cached[12].g2(), tmp16_local12);
|
|
1209
1234
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1210
|
-
tmp17_local13 = tmp27_input.
|
|
1235
|
+
tmp17_local13 = tmp27_input.em(tmp0_desc, 13, tmp28_cached[13].g2(), tmp17_local13);
|
|
1211
1236
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
1212
|
-
tmp18_local14 = tmp27_input.
|
|
1237
|
+
tmp18_local14 = tmp27_input.em(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
1213
1238
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
1214
|
-
tmp19_local15 = tmp27_input.
|
|
1239
|
+
tmp19_local15 = tmp27_input.em(tmp0_desc, 15, tmp28_cached[15].g2(), tmp19_local15);
|
|
1215
1240
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
1216
|
-
tmp20_local16 = tmp27_input.
|
|
1241
|
+
tmp20_local16 = tmp27_input.em(tmp0_desc, 16, tmp28_cached[16].g2(), tmp20_local16);
|
|
1217
1242
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
1218
|
-
tmp21_local17 = tmp27_input.
|
|
1243
|
+
tmp21_local17 = tmp27_input.em(tmp0_desc, 17, tmp28_cached[17].g2(), tmp21_local17);
|
|
1219
1244
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
1220
|
-
tmp22_local18 = tmp27_input.
|
|
1245
|
+
tmp22_local18 = tmp27_input.em(tmp0_desc, 18, tmp28_cached[18].g2(), tmp22_local18);
|
|
1221
1246
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
1222
|
-
tmp23_local19 = tmp27_input.
|
|
1247
|
+
tmp23_local19 = tmp27_input.em(tmp0_desc, 19, tmp28_cached[19].g2(), tmp23_local19);
|
|
1223
1248
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
1224
|
-
tmp24_local20 = tmp27_input.
|
|
1249
|
+
tmp24_local20 = tmp27_input.em(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
|
|
1225
1250
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
1226
|
-
tmp25_local21 = tmp27_input.
|
|
1251
|
+
tmp25_local21 = tmp27_input.em(tmp0_desc, 21, tmp28_cached[21].g2(), tmp25_local21);
|
|
1227
1252
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
1228
|
-
tmp26_local22 = tmp27_input.
|
|
1253
|
+
tmp26_local22 = tmp27_input.em(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
|
|
1229
1254
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
1230
1255
|
} else
|
|
1231
1256
|
while (tmp1_flag) {
|
|
1232
|
-
tmp2_index = tmp27_input.
|
|
1257
|
+
tmp2_index = tmp27_input.hm(tmp0_desc);
|
|
1233
1258
|
switch (tmp2_index) {
|
|
1234
1259
|
case -1:
|
|
1235
1260
|
tmp1_flag = false;
|
|
1236
1261
|
break;
|
|
1237
1262
|
case 0:
|
|
1238
|
-
tmp4_local0 = tmp27_input.
|
|
1263
|
+
tmp4_local0 = tmp27_input.em(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1239
1264
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1240
1265
|
break;
|
|
1241
1266
|
case 1:
|
|
1242
|
-
tmp5_local1 = tmp27_input.
|
|
1267
|
+
tmp5_local1 = tmp27_input.em(tmp0_desc, 1, tmp28_cached[1].g2(), tmp5_local1);
|
|
1243
1268
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1244
1269
|
break;
|
|
1245
1270
|
case 2:
|
|
1246
|
-
tmp6_local2 = tmp27_input.
|
|
1271
|
+
tmp6_local2 = tmp27_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1247
1272
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1248
1273
|
break;
|
|
1249
1274
|
case 3:
|
|
1250
|
-
tmp7_local3 = tmp27_input.
|
|
1275
|
+
tmp7_local3 = tmp27_input.em(tmp0_desc, 3, tmp28_cached[3].g2(), tmp7_local3);
|
|
1251
1276
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1252
1277
|
break;
|
|
1253
1278
|
case 4:
|
|
1254
|
-
tmp8_local4 = tmp27_input.
|
|
1279
|
+
tmp8_local4 = tmp27_input.em(tmp0_desc, 4, tmp28_cached[4].g2(), tmp8_local4);
|
|
1255
1280
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1256
1281
|
break;
|
|
1257
1282
|
case 5:
|
|
1258
|
-
tmp9_local5 = tmp27_input.
|
|
1283
|
+
tmp9_local5 = tmp27_input.em(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1259
1284
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1260
1285
|
break;
|
|
1261
1286
|
case 6:
|
|
1262
|
-
tmp10_local6 = tmp27_input.
|
|
1287
|
+
tmp10_local6 = tmp27_input.em(tmp0_desc, 6, tmp28_cached[6].g2(), tmp10_local6);
|
|
1263
1288
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1264
1289
|
break;
|
|
1265
1290
|
case 7:
|
|
1266
|
-
tmp11_local7 = tmp27_input.
|
|
1291
|
+
tmp11_local7 = tmp27_input.em(tmp0_desc, 7, tmp28_cached[7].g2(), tmp11_local7);
|
|
1267
1292
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1268
1293
|
break;
|
|
1269
1294
|
case 8:
|
|
1270
|
-
tmp12_local8 = tmp27_input.
|
|
1295
|
+
tmp12_local8 = tmp27_input.em(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
1271
1296
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1272
1297
|
break;
|
|
1273
1298
|
case 9:
|
|
1274
|
-
tmp13_local9 = tmp27_input.
|
|
1299
|
+
tmp13_local9 = tmp27_input.em(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
1275
1300
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1276
1301
|
break;
|
|
1277
1302
|
case 10:
|
|
1278
|
-
tmp14_local10 = tmp27_input.
|
|
1303
|
+
tmp14_local10 = tmp27_input.em(tmp0_desc, 10, $serializer_getInstance_3(), tmp14_local10);
|
|
1279
1304
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1280
1305
|
break;
|
|
1281
1306
|
case 11:
|
|
1282
|
-
tmp15_local11 = tmp27_input.
|
|
1307
|
+
tmp15_local11 = tmp27_input.am(tmp0_desc, 11);
|
|
1283
1308
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1284
1309
|
break;
|
|
1285
1310
|
case 12:
|
|
1286
|
-
tmp16_local12 = tmp27_input.
|
|
1311
|
+
tmp16_local12 = tmp27_input.em(tmp0_desc, 12, tmp28_cached[12].g2(), tmp16_local12);
|
|
1287
1312
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1288
1313
|
break;
|
|
1289
1314
|
case 13:
|
|
1290
|
-
tmp17_local13 = tmp27_input.
|
|
1315
|
+
tmp17_local13 = tmp27_input.em(tmp0_desc, 13, tmp28_cached[13].g2(), tmp17_local13);
|
|
1291
1316
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
1292
1317
|
break;
|
|
1293
1318
|
case 14:
|
|
1294
|
-
tmp18_local14 = tmp27_input.
|
|
1319
|
+
tmp18_local14 = tmp27_input.em(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
|
|
1295
1320
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
1296
1321
|
break;
|
|
1297
1322
|
case 15:
|
|
1298
|
-
tmp19_local15 = tmp27_input.
|
|
1323
|
+
tmp19_local15 = tmp27_input.em(tmp0_desc, 15, tmp28_cached[15].g2(), tmp19_local15);
|
|
1299
1324
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
1300
1325
|
break;
|
|
1301
1326
|
case 16:
|
|
1302
|
-
tmp20_local16 = tmp27_input.
|
|
1327
|
+
tmp20_local16 = tmp27_input.em(tmp0_desc, 16, tmp28_cached[16].g2(), tmp20_local16);
|
|
1303
1328
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
1304
1329
|
break;
|
|
1305
1330
|
case 17:
|
|
1306
|
-
tmp21_local17 = tmp27_input.
|
|
1331
|
+
tmp21_local17 = tmp27_input.em(tmp0_desc, 17, tmp28_cached[17].g2(), tmp21_local17);
|
|
1307
1332
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
1308
1333
|
break;
|
|
1309
1334
|
case 18:
|
|
1310
|
-
tmp22_local18 = tmp27_input.
|
|
1335
|
+
tmp22_local18 = tmp27_input.em(tmp0_desc, 18, tmp28_cached[18].g2(), tmp22_local18);
|
|
1311
1336
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
1312
1337
|
break;
|
|
1313
1338
|
case 19:
|
|
1314
|
-
tmp23_local19 = tmp27_input.
|
|
1339
|
+
tmp23_local19 = tmp27_input.em(tmp0_desc, 19, tmp28_cached[19].g2(), tmp23_local19);
|
|
1315
1340
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
1316
1341
|
break;
|
|
1317
1342
|
case 20:
|
|
1318
|
-
tmp24_local20 = tmp27_input.
|
|
1343
|
+
tmp24_local20 = tmp27_input.em(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
|
|
1319
1344
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
1320
1345
|
break;
|
|
1321
1346
|
case 21:
|
|
1322
|
-
tmp25_local21 = tmp27_input.
|
|
1347
|
+
tmp25_local21 = tmp27_input.em(tmp0_desc, 21, tmp28_cached[21].g2(), tmp25_local21);
|
|
1323
1348
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
1324
1349
|
break;
|
|
1325
1350
|
case 22:
|
|
1326
|
-
tmp26_local22 = tmp27_input.
|
|
1351
|
+
tmp26_local22 = tmp27_input.em(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
|
|
1327
1352
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
1328
1353
|
break;
|
|
1329
1354
|
default:
|
|
1330
1355
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1331
1356
|
}
|
|
1332
1357
|
}
|
|
1333
|
-
tmp27_input.
|
|
1358
|
+
tmp27_input.rl(tmp0_desc);
|
|
1334
1359
|
return RecipeV3_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, null);
|
|
1335
1360
|
};
|
|
1336
|
-
protoOf($serializer_1).
|
|
1337
|
-
return this.
|
|
1361
|
+
protoOf($serializer_1).si = function () {
|
|
1362
|
+
return this.m1i_1;
|
|
1338
1363
|
};
|
|
1339
|
-
protoOf($serializer_1).
|
|
1340
|
-
var tmp0_cached = Companion_getInstance_1().
|
|
1364
|
+
protoOf($serializer_1).bt = function () {
|
|
1365
|
+
var tmp0_cached = Companion_getInstance_1().l1i_1;
|
|
1341
1366
|
// Inline function 'kotlin.arrayOf' call
|
|
1342
1367
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1343
1368
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1344
|
-
return [get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[1].
|
|
1369
|
+
return [get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[1].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[3].g2()), get_nullable(tmp0_cached[4].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[6].g2()), get_nullable(tmp0_cached[7].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_3()), StringSerializer_getInstance(), get_nullable(tmp0_cached[12].g2()), get_nullable(tmp0_cached[13].g2()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[15].g2()), get_nullable(tmp0_cached[16].g2()), get_nullable(tmp0_cached[17].g2()), get_nullable(tmp0_cached[18].g2()), get_nullable(tmp0_cached[19].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[21].g2()), get_nullable(StringSerializer_getInstance())];
|
|
1345
1370
|
};
|
|
1346
1371
|
var $serializer_instance_1;
|
|
1347
1372
|
function $serializer_getInstance_1() {
|
|
@@ -1351,97 +1376,97 @@
|
|
|
1351
1376
|
}
|
|
1352
1377
|
function RecipeV3_init_$Init$(seen0, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker, $this) {
|
|
1353
1378
|
if (!(2048 === (2048 & seen0))) {
|
|
1354
|
-
throwMissingFieldException(seen0, 2048, $serializer_getInstance_1().
|
|
1379
|
+
throwMissingFieldException(seen0, 2048, $serializer_getInstance_1().m1i_1);
|
|
1355
1380
|
}
|
|
1356
1381
|
if (0 === (seen0 & 1))
|
|
1357
|
-
$this.
|
|
1382
|
+
$this.k1g_1 = null;
|
|
1358
1383
|
else
|
|
1359
|
-
$this.
|
|
1384
|
+
$this.k1g_1 = bookCredit;
|
|
1360
1385
|
if (0 === (seen0 & 2))
|
|
1361
|
-
$this.
|
|
1386
|
+
$this.l1g_1 = null;
|
|
1362
1387
|
else
|
|
1363
|
-
$this.
|
|
1388
|
+
$this.l1g_1 = byline;
|
|
1364
1389
|
if (0 === (seen0 & 4))
|
|
1365
|
-
$this.
|
|
1390
|
+
$this.m1g_1 = null;
|
|
1366
1391
|
else
|
|
1367
|
-
$this.
|
|
1392
|
+
$this.m1g_1 = canonicalArticle;
|
|
1368
1393
|
if (0 === (seen0 & 8))
|
|
1369
|
-
$this.
|
|
1394
|
+
$this.n1g_1 = null;
|
|
1370
1395
|
else
|
|
1371
|
-
$this.
|
|
1396
|
+
$this.n1g_1 = celebrationIds;
|
|
1372
1397
|
if (0 === (seen0 & 16))
|
|
1373
|
-
$this.
|
|
1398
|
+
$this.o1g_1 = null;
|
|
1374
1399
|
else
|
|
1375
|
-
$this.
|
|
1400
|
+
$this.o1g_1 = commerceCtas;
|
|
1376
1401
|
if (0 === (seen0 & 32))
|
|
1377
|
-
$this.
|
|
1402
|
+
$this.p1g_1 = null;
|
|
1378
1403
|
else
|
|
1379
|
-
$this.
|
|
1404
|
+
$this.p1g_1 = composerId;
|
|
1380
1405
|
if (0 === (seen0 & 64))
|
|
1381
|
-
$this.
|
|
1406
|
+
$this.q1g_1 = null;
|
|
1382
1407
|
else
|
|
1383
|
-
$this.
|
|
1408
|
+
$this.q1g_1 = contributors;
|
|
1384
1409
|
if (0 === (seen0 & 128))
|
|
1385
|
-
$this.
|
|
1410
|
+
$this.r1g_1 = null;
|
|
1386
1411
|
else
|
|
1387
|
-
$this.
|
|
1412
|
+
$this.r1g_1 = cuisineIds;
|
|
1388
1413
|
if (0 === (seen0 & 256))
|
|
1389
|
-
$this.
|
|
1414
|
+
$this.s1g_1 = null;
|
|
1390
1415
|
else
|
|
1391
|
-
$this.
|
|
1416
|
+
$this.s1g_1 = description;
|
|
1392
1417
|
if (0 === (seen0 & 512))
|
|
1393
|
-
$this.
|
|
1418
|
+
$this.t1g_1 = null;
|
|
1394
1419
|
else
|
|
1395
|
-
$this.
|
|
1420
|
+
$this.t1g_1 = difficultyLevel;
|
|
1396
1421
|
if (0 === (seen0 & 1024))
|
|
1397
|
-
$this.
|
|
1422
|
+
$this.u1g_1 = null;
|
|
1398
1423
|
else
|
|
1399
|
-
$this.
|
|
1400
|
-
$this.
|
|
1424
|
+
$this.u1g_1 = featuredImage;
|
|
1425
|
+
$this.v1g_1 = id;
|
|
1401
1426
|
if (0 === (seen0 & 4096))
|
|
1402
|
-
$this.
|
|
1427
|
+
$this.w1g_1 = null;
|
|
1403
1428
|
else
|
|
1404
|
-
$this.
|
|
1429
|
+
$this.w1g_1 = ingredients;
|
|
1405
1430
|
if (0 === (seen0 & 8192))
|
|
1406
|
-
$this.
|
|
1431
|
+
$this.x1g_1 = null;
|
|
1407
1432
|
else
|
|
1408
|
-
$this.
|
|
1433
|
+
$this.x1g_1 = instructions;
|
|
1409
1434
|
if (0 === (seen0 & 16384))
|
|
1410
|
-
$this.
|
|
1435
|
+
$this.y1g_1 = null;
|
|
1411
1436
|
else
|
|
1412
|
-
$this.
|
|
1437
|
+
$this.y1g_1 = isAppReady;
|
|
1413
1438
|
if (0 === (seen0 & 32768))
|
|
1414
|
-
$this.
|
|
1439
|
+
$this.z1g_1 = null;
|
|
1415
1440
|
else
|
|
1416
|
-
$this.
|
|
1441
|
+
$this.z1g_1 = mealTypeIds;
|
|
1417
1442
|
if (0 === (seen0 & 65536))
|
|
1418
|
-
$this.
|
|
1443
|
+
$this.a1h_1 = null;
|
|
1419
1444
|
else
|
|
1420
|
-
$this.
|
|
1445
|
+
$this.a1h_1 = serves;
|
|
1421
1446
|
if (0 === (seen0 & 131072))
|
|
1422
|
-
$this.
|
|
1447
|
+
$this.b1h_1 = null;
|
|
1423
1448
|
else
|
|
1424
|
-
$this.
|
|
1449
|
+
$this.b1h_1 = suitableForDietIds;
|
|
1425
1450
|
if (0 === (seen0 & 262144))
|
|
1426
|
-
$this.
|
|
1451
|
+
$this.c1h_1 = null;
|
|
1427
1452
|
else
|
|
1428
|
-
$this.
|
|
1453
|
+
$this.c1h_1 = techniquesUsedIds;
|
|
1429
1454
|
if (0 === (seen0 & 524288))
|
|
1430
|
-
$this.
|
|
1455
|
+
$this.d1h_1 = null;
|
|
1431
1456
|
else
|
|
1432
|
-
$this.
|
|
1457
|
+
$this.d1h_1 = timings;
|
|
1433
1458
|
if (0 === (seen0 & 1048576))
|
|
1434
|
-
$this.
|
|
1459
|
+
$this.e1h_1 = null;
|
|
1435
1460
|
else
|
|
1436
|
-
$this.
|
|
1461
|
+
$this.e1h_1 = title;
|
|
1437
1462
|
if (0 === (seen0 & 2097152))
|
|
1438
|
-
$this.
|
|
1463
|
+
$this.f1h_1 = null;
|
|
1439
1464
|
else
|
|
1440
|
-
$this.
|
|
1465
|
+
$this.f1h_1 = utensilsAndApplianceIds;
|
|
1441
1466
|
if (0 === (seen0 & 4194304))
|
|
1442
|
-
$this.
|
|
1467
|
+
$this.g1h_1 = null;
|
|
1443
1468
|
else
|
|
1444
|
-
$this.
|
|
1469
|
+
$this.g1h_1 = webPublicationDate;
|
|
1445
1470
|
return $this;
|
|
1446
1471
|
}
|
|
1447
1472
|
function RecipeV3_init_$Create$(seen0, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker) {
|
|
@@ -1471,86 +1496,86 @@
|
|
|
1471
1496
|
title = title === VOID ? null : title;
|
|
1472
1497
|
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? null : utensilsAndApplianceIds;
|
|
1473
1498
|
webPublicationDate = webPublicationDate === VOID ? null : webPublicationDate;
|
|
1474
|
-
this.
|
|
1475
|
-
this.
|
|
1476
|
-
this.
|
|
1477
|
-
this.
|
|
1478
|
-
this.
|
|
1479
|
-
this.
|
|
1480
|
-
this.
|
|
1481
|
-
this.
|
|
1482
|
-
this.
|
|
1483
|
-
this.
|
|
1484
|
-
this.
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1487
|
-
this.
|
|
1488
|
-
this.
|
|
1489
|
-
this.
|
|
1490
|
-
this.
|
|
1491
|
-
this.
|
|
1492
|
-
this.
|
|
1493
|
-
this.
|
|
1494
|
-
this.
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1497
|
-
}
|
|
1498
|
-
protoOf(RecipeV3).
|
|
1499
|
+
this.k1g_1 = bookCredit;
|
|
1500
|
+
this.l1g_1 = byline;
|
|
1501
|
+
this.m1g_1 = canonicalArticle;
|
|
1502
|
+
this.n1g_1 = celebrationIds;
|
|
1503
|
+
this.o1g_1 = commerceCtas;
|
|
1504
|
+
this.p1g_1 = composerId;
|
|
1505
|
+
this.q1g_1 = contributors;
|
|
1506
|
+
this.r1g_1 = cuisineIds;
|
|
1507
|
+
this.s1g_1 = description;
|
|
1508
|
+
this.t1g_1 = difficultyLevel;
|
|
1509
|
+
this.u1g_1 = featuredImage;
|
|
1510
|
+
this.v1g_1 = id;
|
|
1511
|
+
this.w1g_1 = ingredients;
|
|
1512
|
+
this.x1g_1 = instructions;
|
|
1513
|
+
this.y1g_1 = isAppReady;
|
|
1514
|
+
this.z1g_1 = mealTypeIds;
|
|
1515
|
+
this.a1h_1 = serves;
|
|
1516
|
+
this.b1h_1 = suitableForDietIds;
|
|
1517
|
+
this.c1h_1 = techniquesUsedIds;
|
|
1518
|
+
this.d1h_1 = timings;
|
|
1519
|
+
this.e1h_1 = title;
|
|
1520
|
+
this.f1h_1 = utensilsAndApplianceIds;
|
|
1521
|
+
this.g1h_1 = webPublicationDate;
|
|
1522
|
+
}
|
|
1523
|
+
protoOf(RecipeV3).o1i = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
|
|
1499
1524
|
return new RecipeV3(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
|
|
1500
1525
|
};
|
|
1501
|
-
protoOf(RecipeV3).
|
|
1502
|
-
bookCredit = bookCredit === VOID ? this.
|
|
1503
|
-
byline = byline === VOID ? this.
|
|
1504
|
-
canonicalArticle = canonicalArticle === VOID ? this.
|
|
1505
|
-
celebrationIds = celebrationIds === VOID ? this.
|
|
1506
|
-
commerceCtas = commerceCtas === VOID ? this.
|
|
1507
|
-
composerId = composerId === VOID ? this.
|
|
1508
|
-
contributors = contributors === VOID ? this.
|
|
1509
|
-
cuisineIds = cuisineIds === VOID ? this.
|
|
1510
|
-
description = description === VOID ? this.
|
|
1511
|
-
difficultyLevel = difficultyLevel === VOID ? this.
|
|
1512
|
-
featuredImage = featuredImage === VOID ? this.
|
|
1513
|
-
id = id === VOID ? this.
|
|
1514
|
-
ingredients = ingredients === VOID ? this.
|
|
1515
|
-
instructions = instructions === VOID ? this.
|
|
1516
|
-
isAppReady = isAppReady === VOID ? this.
|
|
1517
|
-
mealTypeIds = mealTypeIds === VOID ? this.
|
|
1518
|
-
serves = serves === VOID ? this.
|
|
1519
|
-
suitableForDietIds = suitableForDietIds === VOID ? this.
|
|
1520
|
-
techniquesUsedIds = techniquesUsedIds === VOID ? this.
|
|
1521
|
-
timings = timings === VOID ? this.
|
|
1522
|
-
title = title === VOID ? this.
|
|
1523
|
-
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.
|
|
1524
|
-
webPublicationDate = webPublicationDate === VOID ? this.
|
|
1525
|
-
return $super === VOID ? this.
|
|
1526
|
+
protoOf(RecipeV3).y1h = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, $super) {
|
|
1527
|
+
bookCredit = bookCredit === VOID ? this.k1g_1 : bookCredit;
|
|
1528
|
+
byline = byline === VOID ? this.l1g_1 : byline;
|
|
1529
|
+
canonicalArticle = canonicalArticle === VOID ? this.m1g_1 : canonicalArticle;
|
|
1530
|
+
celebrationIds = celebrationIds === VOID ? this.n1g_1 : celebrationIds;
|
|
1531
|
+
commerceCtas = commerceCtas === VOID ? this.o1g_1 : commerceCtas;
|
|
1532
|
+
composerId = composerId === VOID ? this.p1g_1 : composerId;
|
|
1533
|
+
contributors = contributors === VOID ? this.q1g_1 : contributors;
|
|
1534
|
+
cuisineIds = cuisineIds === VOID ? this.r1g_1 : cuisineIds;
|
|
1535
|
+
description = description === VOID ? this.s1g_1 : description;
|
|
1536
|
+
difficultyLevel = difficultyLevel === VOID ? this.t1g_1 : difficultyLevel;
|
|
1537
|
+
featuredImage = featuredImage === VOID ? this.u1g_1 : featuredImage;
|
|
1538
|
+
id = id === VOID ? this.v1g_1 : id;
|
|
1539
|
+
ingredients = ingredients === VOID ? this.w1g_1 : ingredients;
|
|
1540
|
+
instructions = instructions === VOID ? this.x1g_1 : instructions;
|
|
1541
|
+
isAppReady = isAppReady === VOID ? this.y1g_1 : isAppReady;
|
|
1542
|
+
mealTypeIds = mealTypeIds === VOID ? this.z1g_1 : mealTypeIds;
|
|
1543
|
+
serves = serves === VOID ? this.a1h_1 : serves;
|
|
1544
|
+
suitableForDietIds = suitableForDietIds === VOID ? this.b1h_1 : suitableForDietIds;
|
|
1545
|
+
techniquesUsedIds = techniquesUsedIds === VOID ? this.c1h_1 : techniquesUsedIds;
|
|
1546
|
+
timings = timings === VOID ? this.d1h_1 : timings;
|
|
1547
|
+
title = title === VOID ? this.e1h_1 : title;
|
|
1548
|
+
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.f1h_1 : utensilsAndApplianceIds;
|
|
1549
|
+
webPublicationDate = webPublicationDate === VOID ? this.g1h_1 : webPublicationDate;
|
|
1550
|
+
return $super === VOID ? this.o1i(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.o1i.call(this, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
|
|
1526
1551
|
};
|
|
1527
1552
|
protoOf(RecipeV3).toString = function () {
|
|
1528
|
-
return 'RecipeV3(bookCredit=' + this.
|
|
1553
|
+
return 'RecipeV3(bookCredit=' + this.k1g_1 + ', byline=' + toString(this.l1g_1) + ', canonicalArticle=' + this.m1g_1 + ', celebrationIds=' + toString(this.n1g_1) + ', commerceCtas=' + toString(this.o1g_1) + ', composerId=' + this.p1g_1 + ', contributors=' + toString(this.q1g_1) + ', cuisineIds=' + toString(this.r1g_1) + ', description=' + this.s1g_1 + ', difficultyLevel=' + this.t1g_1 + ', featuredImage=' + toString(this.u1g_1) + ', id=' + this.v1g_1 + ', ingredients=' + toString(this.w1g_1) + ', instructions=' + toString(this.x1g_1) + ', isAppReady=' + this.y1g_1 + ', mealTypeIds=' + toString(this.z1g_1) + ', serves=' + toString(this.a1h_1) + ', suitableForDietIds=' + toString(this.b1h_1) + ', techniquesUsedIds=' + toString(this.c1h_1) + ', timings=' + toString(this.d1h_1) + ', title=' + this.e1h_1 + ', utensilsAndApplianceIds=' + toString(this.f1h_1) + ', webPublicationDate=' + this.g1h_1 + ')';
|
|
1529
1554
|
};
|
|
1530
1555
|
protoOf(RecipeV3).hashCode = function () {
|
|
1531
|
-
var result = this.
|
|
1532
|
-
result = imul(result, 31) + (this.
|
|
1533
|
-
result = imul(result, 31) + (this.
|
|
1534
|
-
result = imul(result, 31) + (this.
|
|
1535
|
-
result = imul(result, 31) + (this.
|
|
1536
|
-
result = imul(result, 31) + (this.
|
|
1537
|
-
result = imul(result, 31) + (this.
|
|
1538
|
-
result = imul(result, 31) + (this.
|
|
1539
|
-
result = imul(result, 31) + (this.
|
|
1540
|
-
result = imul(result, 31) + (this.
|
|
1541
|
-
result = imul(result, 31) + (this.
|
|
1542
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1543
|
-
result = imul(result, 31) + (this.
|
|
1544
|
-
result = imul(result, 31) + (this.
|
|
1545
|
-
result = imul(result, 31) + (this.
|
|
1546
|
-
result = imul(result, 31) + (this.
|
|
1547
|
-
result = imul(result, 31) + (this.
|
|
1548
|
-
result = imul(result, 31) + (this.
|
|
1549
|
-
result = imul(result, 31) + (this.
|
|
1550
|
-
result = imul(result, 31) + (this.
|
|
1551
|
-
result = imul(result, 31) + (this.
|
|
1552
|
-
result = imul(result, 31) + (this.
|
|
1553
|
-
result = imul(result, 31) + (this.
|
|
1556
|
+
var result = this.k1g_1 == null ? 0 : getStringHashCode(this.k1g_1);
|
|
1557
|
+
result = imul(result, 31) + (this.l1g_1 == null ? 0 : hashCode(this.l1g_1)) | 0;
|
|
1558
|
+
result = imul(result, 31) + (this.m1g_1 == null ? 0 : getStringHashCode(this.m1g_1)) | 0;
|
|
1559
|
+
result = imul(result, 31) + (this.n1g_1 == null ? 0 : hashCode(this.n1g_1)) | 0;
|
|
1560
|
+
result = imul(result, 31) + (this.o1g_1 == null ? 0 : hashCode(this.o1g_1)) | 0;
|
|
1561
|
+
result = imul(result, 31) + (this.p1g_1 == null ? 0 : getStringHashCode(this.p1g_1)) | 0;
|
|
1562
|
+
result = imul(result, 31) + (this.q1g_1 == null ? 0 : hashCode(this.q1g_1)) | 0;
|
|
1563
|
+
result = imul(result, 31) + (this.r1g_1 == null ? 0 : hashCode(this.r1g_1)) | 0;
|
|
1564
|
+
result = imul(result, 31) + (this.s1g_1 == null ? 0 : getStringHashCode(this.s1g_1)) | 0;
|
|
1565
|
+
result = imul(result, 31) + (this.t1g_1 == null ? 0 : getStringHashCode(this.t1g_1)) | 0;
|
|
1566
|
+
result = imul(result, 31) + (this.u1g_1 == null ? 0 : this.u1g_1.hashCode()) | 0;
|
|
1567
|
+
result = imul(result, 31) + getStringHashCode(this.v1g_1) | 0;
|
|
1568
|
+
result = imul(result, 31) + (this.w1g_1 == null ? 0 : hashCode(this.w1g_1)) | 0;
|
|
1569
|
+
result = imul(result, 31) + (this.x1g_1 == null ? 0 : hashCode(this.x1g_1)) | 0;
|
|
1570
|
+
result = imul(result, 31) + (this.y1g_1 == null ? 0 : getBooleanHashCode(this.y1g_1)) | 0;
|
|
1571
|
+
result = imul(result, 31) + (this.z1g_1 == null ? 0 : hashCode(this.z1g_1)) | 0;
|
|
1572
|
+
result = imul(result, 31) + (this.a1h_1 == null ? 0 : hashCode(this.a1h_1)) | 0;
|
|
1573
|
+
result = imul(result, 31) + (this.b1h_1 == null ? 0 : hashCode(this.b1h_1)) | 0;
|
|
1574
|
+
result = imul(result, 31) + (this.c1h_1 == null ? 0 : hashCode(this.c1h_1)) | 0;
|
|
1575
|
+
result = imul(result, 31) + (this.d1h_1 == null ? 0 : hashCode(this.d1h_1)) | 0;
|
|
1576
|
+
result = imul(result, 31) + (this.e1h_1 == null ? 0 : getStringHashCode(this.e1h_1)) | 0;
|
|
1577
|
+
result = imul(result, 31) + (this.f1h_1 == null ? 0 : hashCode(this.f1h_1)) | 0;
|
|
1578
|
+
result = imul(result, 31) + (this.g1h_1 == null ? 0 : getStringHashCode(this.g1h_1)) | 0;
|
|
1554
1579
|
return result;
|
|
1555
1580
|
};
|
|
1556
1581
|
protoOf(RecipeV3).equals = function (other) {
|
|
@@ -1558,119 +1583,119 @@
|
|
|
1558
1583
|
return true;
|
|
1559
1584
|
if (!(other instanceof RecipeV3))
|
|
1560
1585
|
return false;
|
|
1561
|
-
if (!(this.
|
|
1586
|
+
if (!(this.k1g_1 == other.k1g_1))
|
|
1562
1587
|
return false;
|
|
1563
|
-
if (!equals(this.
|
|
1588
|
+
if (!equals(this.l1g_1, other.l1g_1))
|
|
1564
1589
|
return false;
|
|
1565
|
-
if (!(this.
|
|
1590
|
+
if (!(this.m1g_1 == other.m1g_1))
|
|
1566
1591
|
return false;
|
|
1567
|
-
if (!equals(this.
|
|
1592
|
+
if (!equals(this.n1g_1, other.n1g_1))
|
|
1568
1593
|
return false;
|
|
1569
|
-
if (!equals(this.
|
|
1594
|
+
if (!equals(this.o1g_1, other.o1g_1))
|
|
1570
1595
|
return false;
|
|
1571
|
-
if (!(this.
|
|
1596
|
+
if (!(this.p1g_1 == other.p1g_1))
|
|
1572
1597
|
return false;
|
|
1573
|
-
if (!equals(this.
|
|
1598
|
+
if (!equals(this.q1g_1, other.q1g_1))
|
|
1574
1599
|
return false;
|
|
1575
|
-
if (!equals(this.
|
|
1600
|
+
if (!equals(this.r1g_1, other.r1g_1))
|
|
1576
1601
|
return false;
|
|
1577
|
-
if (!(this.
|
|
1602
|
+
if (!(this.s1g_1 == other.s1g_1))
|
|
1578
1603
|
return false;
|
|
1579
|
-
if (!(this.
|
|
1604
|
+
if (!(this.t1g_1 == other.t1g_1))
|
|
1580
1605
|
return false;
|
|
1581
|
-
if (!equals(this.
|
|
1606
|
+
if (!equals(this.u1g_1, other.u1g_1))
|
|
1582
1607
|
return false;
|
|
1583
|
-
if (!(this.
|
|
1608
|
+
if (!(this.v1g_1 === other.v1g_1))
|
|
1584
1609
|
return false;
|
|
1585
|
-
if (!equals(this.
|
|
1610
|
+
if (!equals(this.w1g_1, other.w1g_1))
|
|
1586
1611
|
return false;
|
|
1587
|
-
if (!equals(this.
|
|
1612
|
+
if (!equals(this.x1g_1, other.x1g_1))
|
|
1588
1613
|
return false;
|
|
1589
|
-
if (!(this.
|
|
1614
|
+
if (!(this.y1g_1 == other.y1g_1))
|
|
1590
1615
|
return false;
|
|
1591
|
-
if (!equals(this.
|
|
1616
|
+
if (!equals(this.z1g_1, other.z1g_1))
|
|
1592
1617
|
return false;
|
|
1593
|
-
if (!equals(this.
|
|
1618
|
+
if (!equals(this.a1h_1, other.a1h_1))
|
|
1594
1619
|
return false;
|
|
1595
|
-
if (!equals(this.
|
|
1620
|
+
if (!equals(this.b1h_1, other.b1h_1))
|
|
1596
1621
|
return false;
|
|
1597
|
-
if (!equals(this.
|
|
1622
|
+
if (!equals(this.c1h_1, other.c1h_1))
|
|
1598
1623
|
return false;
|
|
1599
|
-
if (!equals(this.
|
|
1624
|
+
if (!equals(this.d1h_1, other.d1h_1))
|
|
1600
1625
|
return false;
|
|
1601
|
-
if (!(this.
|
|
1626
|
+
if (!(this.e1h_1 == other.e1h_1))
|
|
1602
1627
|
return false;
|
|
1603
|
-
if (!equals(this.
|
|
1628
|
+
if (!equals(this.f1h_1, other.f1h_1))
|
|
1604
1629
|
return false;
|
|
1605
|
-
if (!(this.
|
|
1630
|
+
if (!(this.g1h_1 == other.g1h_1))
|
|
1606
1631
|
return false;
|
|
1607
1632
|
return true;
|
|
1608
1633
|
};
|
|
1609
1634
|
function $serializer_2() {
|
|
1610
1635
|
$serializer_instance_2 = this;
|
|
1611
1636
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.CommerceCta', this, 3);
|
|
1612
|
-
tmp0_serialDesc.
|
|
1613
|
-
tmp0_serialDesc.
|
|
1614
|
-
tmp0_serialDesc.
|
|
1615
|
-
this.
|
|
1616
|
-
}
|
|
1617
|
-
protoOf($serializer_2).
|
|
1618
|
-
var tmp0_desc = this.
|
|
1619
|
-
var tmp1_output = encoder.
|
|
1620
|
-
tmp1_output.
|
|
1621
|
-
tmp1_output.
|
|
1622
|
-
tmp1_output.
|
|
1623
|
-
tmp1_output.
|
|
1624
|
-
};
|
|
1625
|
-
protoOf($serializer_2).
|
|
1626
|
-
return this.
|
|
1627
|
-
};
|
|
1628
|
-
protoOf($serializer_2).
|
|
1629
|
-
var tmp0_desc = this.
|
|
1637
|
+
tmp0_serialDesc.zs('sponsorName', false);
|
|
1638
|
+
tmp0_serialDesc.zs('territory', false);
|
|
1639
|
+
tmp0_serialDesc.zs('url', false);
|
|
1640
|
+
this.p1i_1 = tmp0_serialDesc;
|
|
1641
|
+
}
|
|
1642
|
+
protoOf($serializer_2).q1i = function (encoder, value) {
|
|
1643
|
+
var tmp0_desc = this.p1i_1;
|
|
1644
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1645
|
+
tmp1_output.en(tmp0_desc, 0, value.r1i_1);
|
|
1646
|
+
tmp1_output.en(tmp0_desc, 1, value.s1i_1);
|
|
1647
|
+
tmp1_output.en(tmp0_desc, 2, value.t1i_1);
|
|
1648
|
+
tmp1_output.rl(tmp0_desc);
|
|
1649
|
+
};
|
|
1650
|
+
protoOf($serializer_2).ti = function (encoder, value) {
|
|
1651
|
+
return this.q1i(encoder, value instanceof CommerceCta ? value : THROW_CCE());
|
|
1652
|
+
};
|
|
1653
|
+
protoOf($serializer_2).ui = function (decoder) {
|
|
1654
|
+
var tmp0_desc = this.p1i_1;
|
|
1630
1655
|
var tmp1_flag = true;
|
|
1631
1656
|
var tmp2_index = 0;
|
|
1632
1657
|
var tmp3_bitMask0 = 0;
|
|
1633
1658
|
var tmp4_local0 = null;
|
|
1634
1659
|
var tmp5_local1 = null;
|
|
1635
1660
|
var tmp6_local2 = null;
|
|
1636
|
-
var tmp7_input = decoder.
|
|
1637
|
-
if (tmp7_input.
|
|
1638
|
-
tmp4_local0 = tmp7_input.
|
|
1661
|
+
var tmp7_input = decoder.ql(tmp0_desc);
|
|
1662
|
+
if (tmp7_input.gm()) {
|
|
1663
|
+
tmp4_local0 = tmp7_input.am(tmp0_desc, 0);
|
|
1639
1664
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1640
|
-
tmp5_local1 = tmp7_input.
|
|
1665
|
+
tmp5_local1 = tmp7_input.am(tmp0_desc, 1);
|
|
1641
1666
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1642
|
-
tmp6_local2 = tmp7_input.
|
|
1667
|
+
tmp6_local2 = tmp7_input.am(tmp0_desc, 2);
|
|
1643
1668
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1644
1669
|
} else
|
|
1645
1670
|
while (tmp1_flag) {
|
|
1646
|
-
tmp2_index = tmp7_input.
|
|
1671
|
+
tmp2_index = tmp7_input.hm(tmp0_desc);
|
|
1647
1672
|
switch (tmp2_index) {
|
|
1648
1673
|
case -1:
|
|
1649
1674
|
tmp1_flag = false;
|
|
1650
1675
|
break;
|
|
1651
1676
|
case 0:
|
|
1652
|
-
tmp4_local0 = tmp7_input.
|
|
1677
|
+
tmp4_local0 = tmp7_input.am(tmp0_desc, 0);
|
|
1653
1678
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1654
1679
|
break;
|
|
1655
1680
|
case 1:
|
|
1656
|
-
tmp5_local1 = tmp7_input.
|
|
1681
|
+
tmp5_local1 = tmp7_input.am(tmp0_desc, 1);
|
|
1657
1682
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1658
1683
|
break;
|
|
1659
1684
|
case 2:
|
|
1660
|
-
tmp6_local2 = tmp7_input.
|
|
1685
|
+
tmp6_local2 = tmp7_input.am(tmp0_desc, 2);
|
|
1661
1686
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1662
1687
|
break;
|
|
1663
1688
|
default:
|
|
1664
1689
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1665
1690
|
}
|
|
1666
1691
|
}
|
|
1667
|
-
tmp7_input.
|
|
1692
|
+
tmp7_input.rl(tmp0_desc);
|
|
1668
1693
|
return CommerceCta_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1669
1694
|
};
|
|
1670
|
-
protoOf($serializer_2).
|
|
1671
|
-
return this.
|
|
1695
|
+
protoOf($serializer_2).si = function () {
|
|
1696
|
+
return this.p1i_1;
|
|
1672
1697
|
};
|
|
1673
|
-
protoOf($serializer_2).
|
|
1698
|
+
protoOf($serializer_2).bt = function () {
|
|
1674
1699
|
// Inline function 'kotlin.arrayOf' call
|
|
1675
1700
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1676
1701
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1684,11 +1709,11 @@
|
|
|
1684
1709
|
}
|
|
1685
1710
|
function CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, $this) {
|
|
1686
1711
|
if (!(7 === (7 & seen0))) {
|
|
1687
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_2().
|
|
1712
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_2().p1i_1);
|
|
1688
1713
|
}
|
|
1689
|
-
$this.
|
|
1690
|
-
$this.
|
|
1691
|
-
$this.
|
|
1714
|
+
$this.r1i_1 = sponsorName;
|
|
1715
|
+
$this.s1i_1 = territory;
|
|
1716
|
+
$this.t1i_1 = url;
|
|
1692
1717
|
return $this;
|
|
1693
1718
|
}
|
|
1694
1719
|
function CommerceCta_init_$Create$(seen0, sponsorName, territory, url, serializationConstructorMarker) {
|
|
@@ -1697,12 +1722,12 @@
|
|
|
1697
1722
|
function CommerceCta() {
|
|
1698
1723
|
}
|
|
1699
1724
|
protoOf(CommerceCta).toString = function () {
|
|
1700
|
-
return 'CommerceCta(sponsorName=' + this.
|
|
1725
|
+
return 'CommerceCta(sponsorName=' + this.r1i_1 + ', territory=' + this.s1i_1 + ', url=' + this.t1i_1 + ')';
|
|
1701
1726
|
};
|
|
1702
1727
|
protoOf(CommerceCta).hashCode = function () {
|
|
1703
|
-
var result = getStringHashCode(this.
|
|
1704
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1705
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1728
|
+
var result = getStringHashCode(this.r1i_1);
|
|
1729
|
+
result = imul(result, 31) + getStringHashCode(this.s1i_1) | 0;
|
|
1730
|
+
result = imul(result, 31) + getStringHashCode(this.t1i_1) | 0;
|
|
1706
1731
|
return result;
|
|
1707
1732
|
};
|
|
1708
1733
|
protoOf(CommerceCta).equals = function (other) {
|
|
@@ -1710,55 +1735,55 @@
|
|
|
1710
1735
|
return true;
|
|
1711
1736
|
if (!(other instanceof CommerceCta))
|
|
1712
1737
|
return false;
|
|
1713
|
-
if (!(this.
|
|
1738
|
+
if (!(this.r1i_1 === other.r1i_1))
|
|
1714
1739
|
return false;
|
|
1715
|
-
if (!(this.
|
|
1740
|
+
if (!(this.s1i_1 === other.s1i_1))
|
|
1716
1741
|
return false;
|
|
1717
|
-
if (!(this.
|
|
1742
|
+
if (!(this.t1i_1 === other.t1i_1))
|
|
1718
1743
|
return false;
|
|
1719
1744
|
return true;
|
|
1720
1745
|
};
|
|
1721
1746
|
function $serializer_3() {
|
|
1722
1747
|
$serializer_instance_3 = this;
|
|
1723
1748
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Image', this, 8);
|
|
1724
|
-
tmp0_serialDesc.
|
|
1725
|
-
tmp0_serialDesc.
|
|
1726
|
-
tmp0_serialDesc.
|
|
1727
|
-
tmp0_serialDesc.
|
|
1728
|
-
tmp0_serialDesc.
|
|
1729
|
-
tmp0_serialDesc.
|
|
1730
|
-
tmp0_serialDesc.
|
|
1731
|
-
tmp0_serialDesc.
|
|
1732
|
-
this.
|
|
1733
|
-
}
|
|
1734
|
-
protoOf($serializer_3).
|
|
1735
|
-
var tmp0_desc = this.
|
|
1736
|
-
var tmp1_output = encoder.
|
|
1737
|
-
if (tmp1_output.
|
|
1738
|
-
tmp1_output.
|
|
1749
|
+
tmp0_serialDesc.zs('caption', true);
|
|
1750
|
+
tmp0_serialDesc.zs('cropId', false);
|
|
1751
|
+
tmp0_serialDesc.zs('imageType', true);
|
|
1752
|
+
tmp0_serialDesc.zs('mediaApiUrl', true);
|
|
1753
|
+
tmp0_serialDesc.zs('mediaId', false);
|
|
1754
|
+
tmp0_serialDesc.zs('photographer', true);
|
|
1755
|
+
tmp0_serialDesc.zs('source', true);
|
|
1756
|
+
tmp0_serialDesc.zs('url', false);
|
|
1757
|
+
this.u1i_1 = tmp0_serialDesc;
|
|
1758
|
+
}
|
|
1759
|
+
protoOf($serializer_3).v1i = function (encoder, value) {
|
|
1760
|
+
var tmp0_desc = this.u1i_1;
|
|
1761
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1762
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.w1i_1 == null)) {
|
|
1763
|
+
tmp1_output.in(tmp0_desc, 0, StringSerializer_getInstance(), value.w1i_1);
|
|
1739
1764
|
}
|
|
1740
|
-
tmp1_output.
|
|
1741
|
-
if (tmp1_output.
|
|
1742
|
-
tmp1_output.
|
|
1765
|
+
tmp1_output.en(tmp0_desc, 1, value.x1i_1);
|
|
1766
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.y1i_1 == null)) {
|
|
1767
|
+
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.y1i_1);
|
|
1743
1768
|
}
|
|
1744
|
-
if (tmp1_output.
|
|
1745
|
-
tmp1_output.
|
|
1769
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.z1i_1 == null)) {
|
|
1770
|
+
tmp1_output.in(tmp0_desc, 3, StringSerializer_getInstance(), value.z1i_1);
|
|
1746
1771
|
}
|
|
1747
|
-
tmp1_output.
|
|
1748
|
-
if (tmp1_output.
|
|
1749
|
-
tmp1_output.
|
|
1772
|
+
tmp1_output.en(tmp0_desc, 4, value.a1j_1);
|
|
1773
|
+
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.b1j_1 == null)) {
|
|
1774
|
+
tmp1_output.in(tmp0_desc, 5, StringSerializer_getInstance(), value.b1j_1);
|
|
1750
1775
|
}
|
|
1751
|
-
if (tmp1_output.
|
|
1752
|
-
tmp1_output.
|
|
1776
|
+
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.c1j_1 == null)) {
|
|
1777
|
+
tmp1_output.in(tmp0_desc, 6, StringSerializer_getInstance(), value.c1j_1);
|
|
1753
1778
|
}
|
|
1754
|
-
tmp1_output.
|
|
1755
|
-
tmp1_output.
|
|
1779
|
+
tmp1_output.en(tmp0_desc, 7, value.d1j_1);
|
|
1780
|
+
tmp1_output.rl(tmp0_desc);
|
|
1756
1781
|
};
|
|
1757
|
-
protoOf($serializer_3).
|
|
1758
|
-
return this.
|
|
1782
|
+
protoOf($serializer_3).ti = function (encoder, value) {
|
|
1783
|
+
return this.v1i(encoder, value instanceof Image ? value : THROW_CCE());
|
|
1759
1784
|
};
|
|
1760
|
-
protoOf($serializer_3).
|
|
1761
|
-
var tmp0_desc = this.
|
|
1785
|
+
protoOf($serializer_3).ui = function (decoder) {
|
|
1786
|
+
var tmp0_desc = this.u1i_1;
|
|
1762
1787
|
var tmp1_flag = true;
|
|
1763
1788
|
var tmp2_index = 0;
|
|
1764
1789
|
var tmp3_bitMask0 = 0;
|
|
@@ -1770,74 +1795,74 @@
|
|
|
1770
1795
|
var tmp9_local5 = null;
|
|
1771
1796
|
var tmp10_local6 = null;
|
|
1772
1797
|
var tmp11_local7 = null;
|
|
1773
|
-
var tmp12_input = decoder.
|
|
1774
|
-
if (tmp12_input.
|
|
1775
|
-
tmp4_local0 = tmp12_input.
|
|
1798
|
+
var tmp12_input = decoder.ql(tmp0_desc);
|
|
1799
|
+
if (tmp12_input.gm()) {
|
|
1800
|
+
tmp4_local0 = tmp12_input.em(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1776
1801
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1777
|
-
tmp5_local1 = tmp12_input.
|
|
1802
|
+
tmp5_local1 = tmp12_input.am(tmp0_desc, 1);
|
|
1778
1803
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1779
|
-
tmp6_local2 = tmp12_input.
|
|
1804
|
+
tmp6_local2 = tmp12_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1780
1805
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1781
|
-
tmp7_local3 = tmp12_input.
|
|
1806
|
+
tmp7_local3 = tmp12_input.em(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
1782
1807
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1783
|
-
tmp8_local4 = tmp12_input.
|
|
1808
|
+
tmp8_local4 = tmp12_input.am(tmp0_desc, 4);
|
|
1784
1809
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1785
|
-
tmp9_local5 = tmp12_input.
|
|
1810
|
+
tmp9_local5 = tmp12_input.em(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1786
1811
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1787
|
-
tmp10_local6 = tmp12_input.
|
|
1812
|
+
tmp10_local6 = tmp12_input.em(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1788
1813
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1789
|
-
tmp11_local7 = tmp12_input.
|
|
1814
|
+
tmp11_local7 = tmp12_input.am(tmp0_desc, 7);
|
|
1790
1815
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1791
1816
|
} else
|
|
1792
1817
|
while (tmp1_flag) {
|
|
1793
|
-
tmp2_index = tmp12_input.
|
|
1818
|
+
tmp2_index = tmp12_input.hm(tmp0_desc);
|
|
1794
1819
|
switch (tmp2_index) {
|
|
1795
1820
|
case -1:
|
|
1796
1821
|
tmp1_flag = false;
|
|
1797
1822
|
break;
|
|
1798
1823
|
case 0:
|
|
1799
|
-
tmp4_local0 = tmp12_input.
|
|
1824
|
+
tmp4_local0 = tmp12_input.em(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1800
1825
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1801
1826
|
break;
|
|
1802
1827
|
case 1:
|
|
1803
|
-
tmp5_local1 = tmp12_input.
|
|
1828
|
+
tmp5_local1 = tmp12_input.am(tmp0_desc, 1);
|
|
1804
1829
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1805
1830
|
break;
|
|
1806
1831
|
case 2:
|
|
1807
|
-
tmp6_local2 = tmp12_input.
|
|
1832
|
+
tmp6_local2 = tmp12_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1808
1833
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1809
1834
|
break;
|
|
1810
1835
|
case 3:
|
|
1811
|
-
tmp7_local3 = tmp12_input.
|
|
1836
|
+
tmp7_local3 = tmp12_input.em(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
1812
1837
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1813
1838
|
break;
|
|
1814
1839
|
case 4:
|
|
1815
|
-
tmp8_local4 = tmp12_input.
|
|
1840
|
+
tmp8_local4 = tmp12_input.am(tmp0_desc, 4);
|
|
1816
1841
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1817
1842
|
break;
|
|
1818
1843
|
case 5:
|
|
1819
|
-
tmp9_local5 = tmp12_input.
|
|
1844
|
+
tmp9_local5 = tmp12_input.em(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1820
1845
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1821
1846
|
break;
|
|
1822
1847
|
case 6:
|
|
1823
|
-
tmp10_local6 = tmp12_input.
|
|
1848
|
+
tmp10_local6 = tmp12_input.em(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1824
1849
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1825
1850
|
break;
|
|
1826
1851
|
case 7:
|
|
1827
|
-
tmp11_local7 = tmp12_input.
|
|
1852
|
+
tmp11_local7 = tmp12_input.am(tmp0_desc, 7);
|
|
1828
1853
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1829
1854
|
break;
|
|
1830
1855
|
default:
|
|
1831
1856
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1832
1857
|
}
|
|
1833
1858
|
}
|
|
1834
|
-
tmp12_input.
|
|
1859
|
+
tmp12_input.rl(tmp0_desc);
|
|
1835
1860
|
return Image_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
1836
1861
|
};
|
|
1837
|
-
protoOf($serializer_3).
|
|
1838
|
-
return this.
|
|
1862
|
+
protoOf($serializer_3).si = function () {
|
|
1863
|
+
return this.u1i_1;
|
|
1839
1864
|
};
|
|
1840
|
-
protoOf($serializer_3).
|
|
1865
|
+
protoOf($serializer_3).bt = function () {
|
|
1841
1866
|
// Inline function 'kotlin.arrayOf' call
|
|
1842
1867
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1843
1868
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1851,31 +1876,31 @@
|
|
|
1851
1876
|
}
|
|
1852
1877
|
function Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, $this) {
|
|
1853
1878
|
if (!(146 === (146 & seen0))) {
|
|
1854
|
-
throwMissingFieldException(seen0, 146, $serializer_getInstance_3().
|
|
1879
|
+
throwMissingFieldException(seen0, 146, $serializer_getInstance_3().u1i_1);
|
|
1855
1880
|
}
|
|
1856
1881
|
if (0 === (seen0 & 1))
|
|
1857
|
-
$this.
|
|
1882
|
+
$this.w1i_1 = null;
|
|
1858
1883
|
else
|
|
1859
|
-
$this.
|
|
1860
|
-
$this.
|
|
1884
|
+
$this.w1i_1 = caption;
|
|
1885
|
+
$this.x1i_1 = cropId;
|
|
1861
1886
|
if (0 === (seen0 & 4))
|
|
1862
|
-
$this.
|
|
1887
|
+
$this.y1i_1 = null;
|
|
1863
1888
|
else
|
|
1864
|
-
$this.
|
|
1889
|
+
$this.y1i_1 = imageType;
|
|
1865
1890
|
if (0 === (seen0 & 8))
|
|
1866
|
-
$this.
|
|
1891
|
+
$this.z1i_1 = null;
|
|
1867
1892
|
else
|
|
1868
|
-
$this.
|
|
1869
|
-
$this.
|
|
1893
|
+
$this.z1i_1 = mediaApiUrl;
|
|
1894
|
+
$this.a1j_1 = mediaId;
|
|
1870
1895
|
if (0 === (seen0 & 32))
|
|
1871
|
-
$this.
|
|
1896
|
+
$this.b1j_1 = null;
|
|
1872
1897
|
else
|
|
1873
|
-
$this.
|
|
1898
|
+
$this.b1j_1 = photographer;
|
|
1874
1899
|
if (0 === (seen0 & 64))
|
|
1875
|
-
$this.
|
|
1900
|
+
$this.c1j_1 = null;
|
|
1876
1901
|
else
|
|
1877
|
-
$this.
|
|
1878
|
-
$this.
|
|
1902
|
+
$this.c1j_1 = source;
|
|
1903
|
+
$this.d1j_1 = url;
|
|
1879
1904
|
return $this;
|
|
1880
1905
|
}
|
|
1881
1906
|
function Image_init_$Create$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker) {
|
|
@@ -1884,17 +1909,17 @@
|
|
|
1884
1909
|
function Image() {
|
|
1885
1910
|
}
|
|
1886
1911
|
protoOf(Image).toString = function () {
|
|
1887
|
-
return 'Image(caption=' + this.
|
|
1912
|
+
return 'Image(caption=' + this.w1i_1 + ', cropId=' + this.x1i_1 + ', imageType=' + this.y1i_1 + ', mediaApiUrl=' + this.z1i_1 + ', mediaId=' + this.a1j_1 + ', photographer=' + this.b1j_1 + ', source=' + this.c1j_1 + ', url=' + this.d1j_1 + ')';
|
|
1888
1913
|
};
|
|
1889
1914
|
protoOf(Image).hashCode = function () {
|
|
1890
|
-
var result = this.
|
|
1891
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1892
|
-
result = imul(result, 31) + (this.
|
|
1893
|
-
result = imul(result, 31) + (this.
|
|
1894
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1895
|
-
result = imul(result, 31) + (this.
|
|
1896
|
-
result = imul(result, 31) + (this.
|
|
1897
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1915
|
+
var result = this.w1i_1 == null ? 0 : getStringHashCode(this.w1i_1);
|
|
1916
|
+
result = imul(result, 31) + getStringHashCode(this.x1i_1) | 0;
|
|
1917
|
+
result = imul(result, 31) + (this.y1i_1 == null ? 0 : getStringHashCode(this.y1i_1)) | 0;
|
|
1918
|
+
result = imul(result, 31) + (this.z1i_1 == null ? 0 : getStringHashCode(this.z1i_1)) | 0;
|
|
1919
|
+
result = imul(result, 31) + getStringHashCode(this.a1j_1) | 0;
|
|
1920
|
+
result = imul(result, 31) + (this.b1j_1 == null ? 0 : getStringHashCode(this.b1j_1)) | 0;
|
|
1921
|
+
result = imul(result, 31) + (this.c1j_1 == null ? 0 : getStringHashCode(this.c1j_1)) | 0;
|
|
1922
|
+
result = imul(result, 31) + getStringHashCode(this.d1j_1) | 0;
|
|
1898
1923
|
return result;
|
|
1899
1924
|
};
|
|
1900
1925
|
protoOf(Image).equals = function (other) {
|
|
@@ -1902,21 +1927,21 @@
|
|
|
1902
1927
|
return true;
|
|
1903
1928
|
if (!(other instanceof Image))
|
|
1904
1929
|
return false;
|
|
1905
|
-
if (!(this.
|
|
1930
|
+
if (!(this.w1i_1 == other.w1i_1))
|
|
1906
1931
|
return false;
|
|
1907
|
-
if (!(this.
|
|
1932
|
+
if (!(this.x1i_1 === other.x1i_1))
|
|
1908
1933
|
return false;
|
|
1909
|
-
if (!(this.
|
|
1934
|
+
if (!(this.y1i_1 == other.y1i_1))
|
|
1910
1935
|
return false;
|
|
1911
|
-
if (!(this.
|
|
1936
|
+
if (!(this.z1i_1 == other.z1i_1))
|
|
1912
1937
|
return false;
|
|
1913
|
-
if (!(this.
|
|
1938
|
+
if (!(this.a1j_1 === other.a1j_1))
|
|
1914
1939
|
return false;
|
|
1915
|
-
if (!(this.
|
|
1940
|
+
if (!(this.b1j_1 == other.b1j_1))
|
|
1916
1941
|
return false;
|
|
1917
|
-
if (!(this.
|
|
1942
|
+
if (!(this.c1j_1 == other.c1j_1))
|
|
1918
1943
|
return false;
|
|
1919
|
-
if (!(this.
|
|
1944
|
+
if (!(this.d1j_1 === other.d1j_1))
|
|
1920
1945
|
return false;
|
|
1921
1946
|
return true;
|
|
1922
1947
|
};
|
|
@@ -1930,7 +1955,7 @@
|
|
|
1930
1955
|
// Inline function 'kotlin.arrayOf' call
|
|
1931
1956
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1932
1957
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1933
|
-
tmp.
|
|
1958
|
+
tmp.e1j_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
|
|
1934
1959
|
}
|
|
1935
1960
|
var Companion_instance_3;
|
|
1936
1961
|
function Companion_getInstance_2() {
|
|
@@ -1941,70 +1966,70 @@
|
|
|
1941
1966
|
function $serializer_4() {
|
|
1942
1967
|
$serializer_instance_4 = this;
|
|
1943
1968
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsList', this, 2);
|
|
1944
|
-
tmp0_serialDesc.
|
|
1945
|
-
tmp0_serialDesc.
|
|
1946
|
-
this.
|
|
1947
|
-
}
|
|
1948
|
-
protoOf($serializer_4).
|
|
1949
|
-
var tmp0_desc = this.
|
|
1950
|
-
var tmp1_output = encoder.
|
|
1951
|
-
var tmp2_cached = Companion_getInstance_2().
|
|
1952
|
-
if (tmp1_output.
|
|
1953
|
-
tmp1_output.
|
|
1969
|
+
tmp0_serialDesc.zs('ingredientsList', true);
|
|
1970
|
+
tmp0_serialDesc.zs('recipeSection', true);
|
|
1971
|
+
this.f1j_1 = tmp0_serialDesc;
|
|
1972
|
+
}
|
|
1973
|
+
protoOf($serializer_4).g1j = function (encoder, value) {
|
|
1974
|
+
var tmp0_desc = this.f1j_1;
|
|
1975
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1976
|
+
var tmp2_cached = Companion_getInstance_2().e1j_1;
|
|
1977
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.h1h_1 == null)) {
|
|
1978
|
+
tmp1_output.in(tmp0_desc, 0, tmp2_cached[0].g2(), value.h1h_1);
|
|
1954
1979
|
}
|
|
1955
|
-
if (tmp1_output.
|
|
1956
|
-
tmp1_output.
|
|
1980
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.i1h_1 == null)) {
|
|
1981
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.i1h_1);
|
|
1957
1982
|
}
|
|
1958
|
-
tmp1_output.
|
|
1983
|
+
tmp1_output.rl(tmp0_desc);
|
|
1959
1984
|
};
|
|
1960
|
-
protoOf($serializer_4).
|
|
1961
|
-
return this.
|
|
1985
|
+
protoOf($serializer_4).ti = function (encoder, value) {
|
|
1986
|
+
return this.g1j(encoder, value instanceof IngredientsList ? value : THROW_CCE());
|
|
1962
1987
|
};
|
|
1963
|
-
protoOf($serializer_4).
|
|
1964
|
-
var tmp0_desc = this.
|
|
1988
|
+
protoOf($serializer_4).ui = function (decoder) {
|
|
1989
|
+
var tmp0_desc = this.f1j_1;
|
|
1965
1990
|
var tmp1_flag = true;
|
|
1966
1991
|
var tmp2_index = 0;
|
|
1967
1992
|
var tmp3_bitMask0 = 0;
|
|
1968
1993
|
var tmp4_local0 = null;
|
|
1969
1994
|
var tmp5_local1 = null;
|
|
1970
|
-
var tmp6_input = decoder.
|
|
1971
|
-
var tmp7_cached = Companion_getInstance_2().
|
|
1972
|
-
if (tmp6_input.
|
|
1973
|
-
tmp4_local0 = tmp6_input.
|
|
1995
|
+
var tmp6_input = decoder.ql(tmp0_desc);
|
|
1996
|
+
var tmp7_cached = Companion_getInstance_2().e1j_1;
|
|
1997
|
+
if (tmp6_input.gm()) {
|
|
1998
|
+
tmp4_local0 = tmp6_input.em(tmp0_desc, 0, tmp7_cached[0].g2(), tmp4_local0);
|
|
1974
1999
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1975
|
-
tmp5_local1 = tmp6_input.
|
|
2000
|
+
tmp5_local1 = tmp6_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1976
2001
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1977
2002
|
} else
|
|
1978
2003
|
while (tmp1_flag) {
|
|
1979
|
-
tmp2_index = tmp6_input.
|
|
2004
|
+
tmp2_index = tmp6_input.hm(tmp0_desc);
|
|
1980
2005
|
switch (tmp2_index) {
|
|
1981
2006
|
case -1:
|
|
1982
2007
|
tmp1_flag = false;
|
|
1983
2008
|
break;
|
|
1984
2009
|
case 0:
|
|
1985
|
-
tmp4_local0 = tmp6_input.
|
|
2010
|
+
tmp4_local0 = tmp6_input.em(tmp0_desc, 0, tmp7_cached[0].g2(), tmp4_local0);
|
|
1986
2011
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1987
2012
|
break;
|
|
1988
2013
|
case 1:
|
|
1989
|
-
tmp5_local1 = tmp6_input.
|
|
2014
|
+
tmp5_local1 = tmp6_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1990
2015
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1991
2016
|
break;
|
|
1992
2017
|
default:
|
|
1993
2018
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1994
2019
|
}
|
|
1995
2020
|
}
|
|
1996
|
-
tmp6_input.
|
|
2021
|
+
tmp6_input.rl(tmp0_desc);
|
|
1997
2022
|
return IngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1998
2023
|
};
|
|
1999
|
-
protoOf($serializer_4).
|
|
2000
|
-
return this.
|
|
2024
|
+
protoOf($serializer_4).si = function () {
|
|
2025
|
+
return this.f1j_1;
|
|
2001
2026
|
};
|
|
2002
|
-
protoOf($serializer_4).
|
|
2003
|
-
var tmp0_cached = Companion_getInstance_2().
|
|
2027
|
+
protoOf($serializer_4).bt = function () {
|
|
2028
|
+
var tmp0_cached = Companion_getInstance_2().e1j_1;
|
|
2004
2029
|
// Inline function 'kotlin.arrayOf' call
|
|
2005
2030
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2006
2031
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2007
|
-
return [get_nullable(tmp0_cached[0].
|
|
2032
|
+
return [get_nullable(tmp0_cached[0].g2()), get_nullable(StringSerializer_getInstance())];
|
|
2008
2033
|
};
|
|
2009
2034
|
var $serializer_instance_4;
|
|
2010
2035
|
function $serializer_getInstance_4() {
|
|
@@ -2014,16 +2039,16 @@
|
|
|
2014
2039
|
}
|
|
2015
2040
|
function IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, $this) {
|
|
2016
2041
|
if (!(0 === (0 & seen0))) {
|
|
2017
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_4().
|
|
2042
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_4().f1j_1);
|
|
2018
2043
|
}
|
|
2019
2044
|
if (0 === (seen0 & 1))
|
|
2020
|
-
$this.
|
|
2045
|
+
$this.h1h_1 = null;
|
|
2021
2046
|
else
|
|
2022
|
-
$this.
|
|
2047
|
+
$this.h1h_1 = ingredientsList;
|
|
2023
2048
|
if (0 === (seen0 & 2))
|
|
2024
|
-
$this.
|
|
2049
|
+
$this.i1h_1 = null;
|
|
2025
2050
|
else
|
|
2026
|
-
$this.
|
|
2051
|
+
$this.i1h_1 = recipeSection;
|
|
2027
2052
|
return $this;
|
|
2028
2053
|
}
|
|
2029
2054
|
function IngredientsList_init_$Create$(seen0, ingredientsList, recipeSection, serializationConstructorMarker) {
|
|
@@ -2033,15 +2058,15 @@
|
|
|
2033
2058
|
Companion_getInstance_2();
|
|
2034
2059
|
ingredientsList = ingredientsList === VOID ? null : ingredientsList;
|
|
2035
2060
|
recipeSection = recipeSection === VOID ? null : recipeSection;
|
|
2036
|
-
this.
|
|
2037
|
-
this.
|
|
2061
|
+
this.h1h_1 = ingredientsList;
|
|
2062
|
+
this.i1h_1 = recipeSection;
|
|
2038
2063
|
}
|
|
2039
2064
|
protoOf(IngredientsList).toString = function () {
|
|
2040
|
-
return 'IngredientsList(ingredientsList=' + toString(this.
|
|
2065
|
+
return 'IngredientsList(ingredientsList=' + toString(this.h1h_1) + ', recipeSection=' + this.i1h_1 + ')';
|
|
2041
2066
|
};
|
|
2042
2067
|
protoOf(IngredientsList).hashCode = function () {
|
|
2043
|
-
var result = this.
|
|
2044
|
-
result = imul(result, 31) + (this.
|
|
2068
|
+
var result = this.h1h_1 == null ? 0 : hashCode(this.h1h_1);
|
|
2069
|
+
result = imul(result, 31) + (this.i1h_1 == null ? 0 : getStringHashCode(this.i1h_1)) | 0;
|
|
2045
2070
|
return result;
|
|
2046
2071
|
};
|
|
2047
2072
|
protoOf(IngredientsList).equals = function (other) {
|
|
@@ -2049,9 +2074,9 @@
|
|
|
2049
2074
|
return true;
|
|
2050
2075
|
if (!(other instanceof IngredientsList))
|
|
2051
2076
|
return false;
|
|
2052
|
-
if (!equals(this.
|
|
2077
|
+
if (!equals(this.h1h_1, other.h1h_1))
|
|
2053
2078
|
return false;
|
|
2054
|
-
if (!(this.
|
|
2079
|
+
if (!(this.i1h_1 == other.i1h_1))
|
|
2055
2080
|
return false;
|
|
2056
2081
|
return true;
|
|
2057
2082
|
};
|
|
@@ -2064,54 +2089,54 @@
|
|
|
2064
2089
|
function $serializer_5() {
|
|
2065
2090
|
$serializer_instance_5 = this;
|
|
2066
2091
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientItem', this, 9);
|
|
2067
|
-
tmp0_serialDesc.
|
|
2068
|
-
tmp0_serialDesc.
|
|
2069
|
-
tmp0_serialDesc.
|
|
2070
|
-
tmp0_serialDesc.
|
|
2071
|
-
tmp0_serialDesc.
|
|
2072
|
-
tmp0_serialDesc.
|
|
2073
|
-
tmp0_serialDesc.
|
|
2074
|
-
tmp0_serialDesc.
|
|
2075
|
-
tmp0_serialDesc.
|
|
2076
|
-
this.
|
|
2077
|
-
}
|
|
2078
|
-
protoOf($serializer_5).
|
|
2079
|
-
var tmp0_desc = this.
|
|
2080
|
-
var tmp1_output = encoder.
|
|
2081
|
-
if (tmp1_output.
|
|
2082
|
-
tmp1_output.
|
|
2092
|
+
tmp0_serialDesc.zs('amount', true);
|
|
2093
|
+
tmp0_serialDesc.zs('ingredientId', true);
|
|
2094
|
+
tmp0_serialDesc.zs('name', true);
|
|
2095
|
+
tmp0_serialDesc.zs('optional', true);
|
|
2096
|
+
tmp0_serialDesc.zs('prefix', true);
|
|
2097
|
+
tmp0_serialDesc.zs('suffix', true);
|
|
2098
|
+
tmp0_serialDesc.zs('template', true);
|
|
2099
|
+
tmp0_serialDesc.zs('text', true);
|
|
2100
|
+
tmp0_serialDesc.zs('unit', true);
|
|
2101
|
+
this.h1j_1 = tmp0_serialDesc;
|
|
2102
|
+
}
|
|
2103
|
+
protoOf($serializer_5).i1j = function (encoder, value) {
|
|
2104
|
+
var tmp0_desc = this.h1j_1;
|
|
2105
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2106
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.j1h_1 == null)) {
|
|
2107
|
+
tmp1_output.in(tmp0_desc, 0, $serializer_getInstance_6(), value.j1h_1);
|
|
2083
2108
|
}
|
|
2084
|
-
if (tmp1_output.
|
|
2085
|
-
tmp1_output.
|
|
2109
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.k1h_1 == null)) {
|
|
2110
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.k1h_1);
|
|
2086
2111
|
}
|
|
2087
|
-
if (tmp1_output.
|
|
2088
|
-
tmp1_output.
|
|
2112
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.l1h_1 == null)) {
|
|
2113
|
+
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.l1h_1);
|
|
2089
2114
|
}
|
|
2090
|
-
if (tmp1_output.
|
|
2091
|
-
tmp1_output.
|
|
2115
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.m1h_1 == null)) {
|
|
2116
|
+
tmp1_output.in(tmp0_desc, 3, BooleanSerializer_getInstance(), value.m1h_1);
|
|
2092
2117
|
}
|
|
2093
|
-
if (tmp1_output.
|
|
2094
|
-
tmp1_output.
|
|
2118
|
+
if (tmp1_output.mn(tmp0_desc, 4) ? true : !(value.n1h_1 == null)) {
|
|
2119
|
+
tmp1_output.in(tmp0_desc, 4, StringSerializer_getInstance(), value.n1h_1);
|
|
2095
2120
|
}
|
|
2096
|
-
if (tmp1_output.
|
|
2097
|
-
tmp1_output.
|
|
2121
|
+
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.o1h_1 == null)) {
|
|
2122
|
+
tmp1_output.in(tmp0_desc, 5, StringSerializer_getInstance(), value.o1h_1);
|
|
2098
2123
|
}
|
|
2099
|
-
if (tmp1_output.
|
|
2100
|
-
tmp1_output.
|
|
2124
|
+
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.p1h_1 == null)) {
|
|
2125
|
+
tmp1_output.in(tmp0_desc, 6, StringSerializer_getInstance(), value.p1h_1);
|
|
2101
2126
|
}
|
|
2102
|
-
if (tmp1_output.
|
|
2103
|
-
tmp1_output.
|
|
2127
|
+
if (tmp1_output.mn(tmp0_desc, 7) ? true : !(value.q1h_1 == null)) {
|
|
2128
|
+
tmp1_output.in(tmp0_desc, 7, StringSerializer_getInstance(), value.q1h_1);
|
|
2104
2129
|
}
|
|
2105
|
-
if (tmp1_output.
|
|
2106
|
-
tmp1_output.
|
|
2130
|
+
if (tmp1_output.mn(tmp0_desc, 8) ? true : !(value.r1h_1 == null)) {
|
|
2131
|
+
tmp1_output.in(tmp0_desc, 8, StringSerializer_getInstance(), value.r1h_1);
|
|
2107
2132
|
}
|
|
2108
|
-
tmp1_output.
|
|
2133
|
+
tmp1_output.rl(tmp0_desc);
|
|
2109
2134
|
};
|
|
2110
|
-
protoOf($serializer_5).
|
|
2111
|
-
return this.
|
|
2135
|
+
protoOf($serializer_5).ti = function (encoder, value) {
|
|
2136
|
+
return this.i1j(encoder, value instanceof IngredientItem ? value : THROW_CCE());
|
|
2112
2137
|
};
|
|
2113
|
-
protoOf($serializer_5).
|
|
2114
|
-
var tmp0_desc = this.
|
|
2138
|
+
protoOf($serializer_5).ui = function (decoder) {
|
|
2139
|
+
var tmp0_desc = this.h1j_1;
|
|
2115
2140
|
var tmp1_flag = true;
|
|
2116
2141
|
var tmp2_index = 0;
|
|
2117
2142
|
var tmp3_bitMask0 = 0;
|
|
@@ -2124,80 +2149,80 @@
|
|
|
2124
2149
|
var tmp10_local6 = null;
|
|
2125
2150
|
var tmp11_local7 = null;
|
|
2126
2151
|
var tmp12_local8 = null;
|
|
2127
|
-
var tmp13_input = decoder.
|
|
2128
|
-
if (tmp13_input.
|
|
2129
|
-
tmp4_local0 = tmp13_input.
|
|
2152
|
+
var tmp13_input = decoder.ql(tmp0_desc);
|
|
2153
|
+
if (tmp13_input.gm()) {
|
|
2154
|
+
tmp4_local0 = tmp13_input.em(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2130
2155
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2131
|
-
tmp5_local1 = tmp13_input.
|
|
2156
|
+
tmp5_local1 = tmp13_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2132
2157
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2133
|
-
tmp6_local2 = tmp13_input.
|
|
2158
|
+
tmp6_local2 = tmp13_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2134
2159
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2135
|
-
tmp7_local3 = tmp13_input.
|
|
2160
|
+
tmp7_local3 = tmp13_input.em(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2136
2161
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2137
|
-
tmp8_local4 = tmp13_input.
|
|
2162
|
+
tmp8_local4 = tmp13_input.em(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2138
2163
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2139
|
-
tmp9_local5 = tmp13_input.
|
|
2164
|
+
tmp9_local5 = tmp13_input.em(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2140
2165
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2141
|
-
tmp10_local6 = tmp13_input.
|
|
2166
|
+
tmp10_local6 = tmp13_input.em(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2142
2167
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2143
|
-
tmp11_local7 = tmp13_input.
|
|
2168
|
+
tmp11_local7 = tmp13_input.em(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
2144
2169
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2145
|
-
tmp12_local8 = tmp13_input.
|
|
2170
|
+
tmp12_local8 = tmp13_input.em(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
2146
2171
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2147
2172
|
} else
|
|
2148
2173
|
while (tmp1_flag) {
|
|
2149
|
-
tmp2_index = tmp13_input.
|
|
2174
|
+
tmp2_index = tmp13_input.hm(tmp0_desc);
|
|
2150
2175
|
switch (tmp2_index) {
|
|
2151
2176
|
case -1:
|
|
2152
2177
|
tmp1_flag = false;
|
|
2153
2178
|
break;
|
|
2154
2179
|
case 0:
|
|
2155
|
-
tmp4_local0 = tmp13_input.
|
|
2180
|
+
tmp4_local0 = tmp13_input.em(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2156
2181
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2157
2182
|
break;
|
|
2158
2183
|
case 1:
|
|
2159
|
-
tmp5_local1 = tmp13_input.
|
|
2184
|
+
tmp5_local1 = tmp13_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2160
2185
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2161
2186
|
break;
|
|
2162
2187
|
case 2:
|
|
2163
|
-
tmp6_local2 = tmp13_input.
|
|
2188
|
+
tmp6_local2 = tmp13_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2164
2189
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2165
2190
|
break;
|
|
2166
2191
|
case 3:
|
|
2167
|
-
tmp7_local3 = tmp13_input.
|
|
2192
|
+
tmp7_local3 = tmp13_input.em(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2168
2193
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2169
2194
|
break;
|
|
2170
2195
|
case 4:
|
|
2171
|
-
tmp8_local4 = tmp13_input.
|
|
2196
|
+
tmp8_local4 = tmp13_input.em(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2172
2197
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2173
2198
|
break;
|
|
2174
2199
|
case 5:
|
|
2175
|
-
tmp9_local5 = tmp13_input.
|
|
2200
|
+
tmp9_local5 = tmp13_input.em(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2176
2201
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2177
2202
|
break;
|
|
2178
2203
|
case 6:
|
|
2179
|
-
tmp10_local6 = tmp13_input.
|
|
2204
|
+
tmp10_local6 = tmp13_input.em(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2180
2205
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2181
2206
|
break;
|
|
2182
2207
|
case 7:
|
|
2183
|
-
tmp11_local7 = tmp13_input.
|
|
2208
|
+
tmp11_local7 = tmp13_input.em(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
2184
2209
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2185
2210
|
break;
|
|
2186
2211
|
case 8:
|
|
2187
|
-
tmp12_local8 = tmp13_input.
|
|
2212
|
+
tmp12_local8 = tmp13_input.em(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
2188
2213
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2189
2214
|
break;
|
|
2190
2215
|
default:
|
|
2191
2216
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2192
2217
|
}
|
|
2193
2218
|
}
|
|
2194
|
-
tmp13_input.
|
|
2219
|
+
tmp13_input.rl(tmp0_desc);
|
|
2195
2220
|
return IngredientItem_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
2196
2221
|
};
|
|
2197
|
-
protoOf($serializer_5).
|
|
2198
|
-
return this.
|
|
2222
|
+
protoOf($serializer_5).si = function () {
|
|
2223
|
+
return this.h1j_1;
|
|
2199
2224
|
};
|
|
2200
|
-
protoOf($serializer_5).
|
|
2225
|
+
protoOf($serializer_5).bt = function () {
|
|
2201
2226
|
// Inline function 'kotlin.arrayOf' call
|
|
2202
2227
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2203
2228
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2211,44 +2236,44 @@
|
|
|
2211
2236
|
}
|
|
2212
2237
|
function IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, $this) {
|
|
2213
2238
|
if (!(0 === (0 & seen0))) {
|
|
2214
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_5().
|
|
2239
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_5().h1j_1);
|
|
2215
2240
|
}
|
|
2216
2241
|
if (0 === (seen0 & 1))
|
|
2217
|
-
$this.
|
|
2242
|
+
$this.j1h_1 = null;
|
|
2218
2243
|
else
|
|
2219
|
-
$this.
|
|
2244
|
+
$this.j1h_1 = amount;
|
|
2220
2245
|
if (0 === (seen0 & 2))
|
|
2221
|
-
$this.
|
|
2246
|
+
$this.k1h_1 = null;
|
|
2222
2247
|
else
|
|
2223
|
-
$this.
|
|
2248
|
+
$this.k1h_1 = ingredientId;
|
|
2224
2249
|
if (0 === (seen0 & 4))
|
|
2225
|
-
$this.
|
|
2250
|
+
$this.l1h_1 = null;
|
|
2226
2251
|
else
|
|
2227
|
-
$this.
|
|
2252
|
+
$this.l1h_1 = name;
|
|
2228
2253
|
if (0 === (seen0 & 8))
|
|
2229
|
-
$this.
|
|
2254
|
+
$this.m1h_1 = null;
|
|
2230
2255
|
else
|
|
2231
|
-
$this.
|
|
2256
|
+
$this.m1h_1 = optional;
|
|
2232
2257
|
if (0 === (seen0 & 16))
|
|
2233
|
-
$this.
|
|
2258
|
+
$this.n1h_1 = null;
|
|
2234
2259
|
else
|
|
2235
|
-
$this.
|
|
2260
|
+
$this.n1h_1 = prefix;
|
|
2236
2261
|
if (0 === (seen0 & 32))
|
|
2237
|
-
$this.
|
|
2262
|
+
$this.o1h_1 = null;
|
|
2238
2263
|
else
|
|
2239
|
-
$this.
|
|
2264
|
+
$this.o1h_1 = suffix;
|
|
2240
2265
|
if (0 === (seen0 & 64))
|
|
2241
|
-
$this.
|
|
2266
|
+
$this.p1h_1 = null;
|
|
2242
2267
|
else
|
|
2243
|
-
$this.
|
|
2268
|
+
$this.p1h_1 = template;
|
|
2244
2269
|
if (0 === (seen0 & 128))
|
|
2245
|
-
$this.
|
|
2270
|
+
$this.q1h_1 = null;
|
|
2246
2271
|
else
|
|
2247
|
-
$this.
|
|
2272
|
+
$this.q1h_1 = text;
|
|
2248
2273
|
if (0 === (seen0 & 256))
|
|
2249
|
-
$this.
|
|
2274
|
+
$this.r1h_1 = null;
|
|
2250
2275
|
else
|
|
2251
|
-
$this.
|
|
2276
|
+
$this.r1h_1 = unit;
|
|
2252
2277
|
return $this;
|
|
2253
2278
|
}
|
|
2254
2279
|
function IngredientItem_init_$Create$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker) {
|
|
@@ -2264,44 +2289,44 @@
|
|
|
2264
2289
|
template = template === VOID ? null : template;
|
|
2265
2290
|
text = text === VOID ? null : text;
|
|
2266
2291
|
unit = unit === VOID ? null : unit;
|
|
2267
|
-
this.
|
|
2268
|
-
this.
|
|
2269
|
-
this.
|
|
2270
|
-
this.
|
|
2271
|
-
this.
|
|
2272
|
-
this.
|
|
2273
|
-
this.
|
|
2274
|
-
this.
|
|
2275
|
-
this.
|
|
2276
|
-
}
|
|
2277
|
-
protoOf(IngredientItem).
|
|
2292
|
+
this.j1h_1 = amount;
|
|
2293
|
+
this.k1h_1 = ingredientId;
|
|
2294
|
+
this.l1h_1 = name;
|
|
2295
|
+
this.m1h_1 = optional;
|
|
2296
|
+
this.n1h_1 = prefix;
|
|
2297
|
+
this.o1h_1 = suffix;
|
|
2298
|
+
this.p1h_1 = template;
|
|
2299
|
+
this.q1h_1 = text;
|
|
2300
|
+
this.r1h_1 = unit;
|
|
2301
|
+
}
|
|
2302
|
+
protoOf(IngredientItem).j1j = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
|
|
2278
2303
|
return new IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
|
|
2279
2304
|
};
|
|
2280
|
-
protoOf(IngredientItem).
|
|
2281
|
-
amount = amount === VOID ? this.
|
|
2282
|
-
ingredientId = ingredientId === VOID ? this.
|
|
2283
|
-
name = name === VOID ? this.
|
|
2284
|
-
optional = optional === VOID ? this.
|
|
2285
|
-
prefix = prefix === VOID ? this.
|
|
2286
|
-
suffix = suffix === VOID ? this.
|
|
2287
|
-
template = template === VOID ? this.
|
|
2288
|
-
text = text === VOID ? this.
|
|
2289
|
-
unit = unit === VOID ? this.
|
|
2290
|
-
return $super === VOID ? this.
|
|
2305
|
+
protoOf(IngredientItem).s1h = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
|
|
2306
|
+
amount = amount === VOID ? this.j1h_1 : amount;
|
|
2307
|
+
ingredientId = ingredientId === VOID ? this.k1h_1 : ingredientId;
|
|
2308
|
+
name = name === VOID ? this.l1h_1 : name;
|
|
2309
|
+
optional = optional === VOID ? this.m1h_1 : optional;
|
|
2310
|
+
prefix = prefix === VOID ? this.n1h_1 : prefix;
|
|
2311
|
+
suffix = suffix === VOID ? this.o1h_1 : suffix;
|
|
2312
|
+
template = template === VOID ? this.p1h_1 : template;
|
|
2313
|
+
text = text === VOID ? this.q1h_1 : text;
|
|
2314
|
+
unit = unit === VOID ? this.r1h_1 : unit;
|
|
2315
|
+
return $super === VOID ? this.j1j(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.j1j.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
|
|
2291
2316
|
};
|
|
2292
2317
|
protoOf(IngredientItem).toString = function () {
|
|
2293
|
-
return 'IngredientItem(amount=' + toString(this.
|
|
2318
|
+
return 'IngredientItem(amount=' + toString(this.j1h_1) + ', ingredientId=' + this.k1h_1 + ', name=' + this.l1h_1 + ', optional=' + this.m1h_1 + ', prefix=' + this.n1h_1 + ', suffix=' + this.o1h_1 + ', template=' + this.p1h_1 + ', text=' + this.q1h_1 + ', unit=' + this.r1h_1 + ')';
|
|
2294
2319
|
};
|
|
2295
2320
|
protoOf(IngredientItem).hashCode = function () {
|
|
2296
|
-
var result = this.
|
|
2297
|
-
result = imul(result, 31) + (this.
|
|
2298
|
-
result = imul(result, 31) + (this.
|
|
2299
|
-
result = imul(result, 31) + (this.
|
|
2300
|
-
result = imul(result, 31) + (this.
|
|
2301
|
-
result = imul(result, 31) + (this.
|
|
2302
|
-
result = imul(result, 31) + (this.
|
|
2303
|
-
result = imul(result, 31) + (this.
|
|
2304
|
-
result = imul(result, 31) + (this.
|
|
2321
|
+
var result = this.j1h_1 == null ? 0 : this.j1h_1.hashCode();
|
|
2322
|
+
result = imul(result, 31) + (this.k1h_1 == null ? 0 : getStringHashCode(this.k1h_1)) | 0;
|
|
2323
|
+
result = imul(result, 31) + (this.l1h_1 == null ? 0 : getStringHashCode(this.l1h_1)) | 0;
|
|
2324
|
+
result = imul(result, 31) + (this.m1h_1 == null ? 0 : getBooleanHashCode(this.m1h_1)) | 0;
|
|
2325
|
+
result = imul(result, 31) + (this.n1h_1 == null ? 0 : getStringHashCode(this.n1h_1)) | 0;
|
|
2326
|
+
result = imul(result, 31) + (this.o1h_1 == null ? 0 : getStringHashCode(this.o1h_1)) | 0;
|
|
2327
|
+
result = imul(result, 31) + (this.p1h_1 == null ? 0 : getStringHashCode(this.p1h_1)) | 0;
|
|
2328
|
+
result = imul(result, 31) + (this.q1h_1 == null ? 0 : getStringHashCode(this.q1h_1)) | 0;
|
|
2329
|
+
result = imul(result, 31) + (this.r1h_1 == null ? 0 : getStringHashCode(this.r1h_1)) | 0;
|
|
2305
2330
|
return result;
|
|
2306
2331
|
};
|
|
2307
2332
|
protoOf(IngredientItem).equals = function (other) {
|
|
@@ -2309,23 +2334,23 @@
|
|
|
2309
2334
|
return true;
|
|
2310
2335
|
if (!(other instanceof IngredientItem))
|
|
2311
2336
|
return false;
|
|
2312
|
-
if (!equals(this.
|
|
2337
|
+
if (!equals(this.j1h_1, other.j1h_1))
|
|
2313
2338
|
return false;
|
|
2314
|
-
if (!(this.
|
|
2339
|
+
if (!(this.k1h_1 == other.k1h_1))
|
|
2315
2340
|
return false;
|
|
2316
|
-
if (!(this.
|
|
2341
|
+
if (!(this.l1h_1 == other.l1h_1))
|
|
2317
2342
|
return false;
|
|
2318
|
-
if (!(this.
|
|
2343
|
+
if (!(this.m1h_1 == other.m1h_1))
|
|
2319
2344
|
return false;
|
|
2320
|
-
if (!(this.
|
|
2345
|
+
if (!(this.n1h_1 == other.n1h_1))
|
|
2321
2346
|
return false;
|
|
2322
|
-
if (!(this.
|
|
2347
|
+
if (!(this.o1h_1 == other.o1h_1))
|
|
2323
2348
|
return false;
|
|
2324
|
-
if (!(this.
|
|
2349
|
+
if (!(this.p1h_1 == other.p1h_1))
|
|
2325
2350
|
return false;
|
|
2326
|
-
if (!(this.
|
|
2351
|
+
if (!(this.q1h_1 == other.q1h_1))
|
|
2327
2352
|
return false;
|
|
2328
|
-
if (!(this.
|
|
2353
|
+
if (!(this.r1h_1 == other.r1h_1))
|
|
2329
2354
|
return false;
|
|
2330
2355
|
return true;
|
|
2331
2356
|
};
|
|
@@ -2338,63 +2363,63 @@
|
|
|
2338
2363
|
function $serializer_6() {
|
|
2339
2364
|
$serializer_instance_6 = this;
|
|
2340
2365
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Range', this, 2);
|
|
2341
|
-
tmp0_serialDesc.
|
|
2342
|
-
tmp0_serialDesc.
|
|
2343
|
-
this.
|
|
2344
|
-
}
|
|
2345
|
-
protoOf($serializer_6).
|
|
2346
|
-
var tmp0_desc = this.
|
|
2347
|
-
var tmp1_output = encoder.
|
|
2348
|
-
if (tmp1_output.
|
|
2349
|
-
tmp1_output.
|
|
2366
|
+
tmp0_serialDesc.zs('max', true);
|
|
2367
|
+
tmp0_serialDesc.zs('min', true);
|
|
2368
|
+
this.k1j_1 = tmp0_serialDesc;
|
|
2369
|
+
}
|
|
2370
|
+
protoOf($serializer_6).l1j = function (encoder, value) {
|
|
2371
|
+
var tmp0_desc = this.k1j_1;
|
|
2372
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2373
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.m1j_1 == null)) {
|
|
2374
|
+
tmp1_output.in(tmp0_desc, 0, DoubleSerializer_getInstance(), value.m1j_1);
|
|
2350
2375
|
}
|
|
2351
|
-
if (tmp1_output.
|
|
2352
|
-
tmp1_output.
|
|
2376
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.n1j_1 == null)) {
|
|
2377
|
+
tmp1_output.in(tmp0_desc, 1, DoubleSerializer_getInstance(), value.n1j_1);
|
|
2353
2378
|
}
|
|
2354
|
-
tmp1_output.
|
|
2379
|
+
tmp1_output.rl(tmp0_desc);
|
|
2355
2380
|
};
|
|
2356
|
-
protoOf($serializer_6).
|
|
2357
|
-
return this.
|
|
2381
|
+
protoOf($serializer_6).ti = function (encoder, value) {
|
|
2382
|
+
return this.l1j(encoder, value instanceof Range ? value : THROW_CCE());
|
|
2358
2383
|
};
|
|
2359
|
-
protoOf($serializer_6).
|
|
2360
|
-
var tmp0_desc = this.
|
|
2384
|
+
protoOf($serializer_6).ui = function (decoder) {
|
|
2385
|
+
var tmp0_desc = this.k1j_1;
|
|
2361
2386
|
var tmp1_flag = true;
|
|
2362
2387
|
var tmp2_index = 0;
|
|
2363
2388
|
var tmp3_bitMask0 = 0;
|
|
2364
2389
|
var tmp4_local0 = null;
|
|
2365
2390
|
var tmp5_local1 = null;
|
|
2366
|
-
var tmp6_input = decoder.
|
|
2367
|
-
if (tmp6_input.
|
|
2368
|
-
tmp4_local0 = tmp6_input.
|
|
2391
|
+
var tmp6_input = decoder.ql(tmp0_desc);
|
|
2392
|
+
if (tmp6_input.gm()) {
|
|
2393
|
+
tmp4_local0 = tmp6_input.em(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
|
|
2369
2394
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2370
|
-
tmp5_local1 = tmp6_input.
|
|
2395
|
+
tmp5_local1 = tmp6_input.em(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
|
|
2371
2396
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2372
2397
|
} else
|
|
2373
2398
|
while (tmp1_flag) {
|
|
2374
|
-
tmp2_index = tmp6_input.
|
|
2399
|
+
tmp2_index = tmp6_input.hm(tmp0_desc);
|
|
2375
2400
|
switch (tmp2_index) {
|
|
2376
2401
|
case -1:
|
|
2377
2402
|
tmp1_flag = false;
|
|
2378
2403
|
break;
|
|
2379
2404
|
case 0:
|
|
2380
|
-
tmp4_local0 = tmp6_input.
|
|
2405
|
+
tmp4_local0 = tmp6_input.em(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
|
|
2381
2406
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2382
2407
|
break;
|
|
2383
2408
|
case 1:
|
|
2384
|
-
tmp5_local1 = tmp6_input.
|
|
2409
|
+
tmp5_local1 = tmp6_input.em(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
|
|
2385
2410
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2386
2411
|
break;
|
|
2387
2412
|
default:
|
|
2388
2413
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2389
2414
|
}
|
|
2390
2415
|
}
|
|
2391
|
-
tmp6_input.
|
|
2416
|
+
tmp6_input.rl(tmp0_desc);
|
|
2392
2417
|
return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2393
2418
|
};
|
|
2394
|
-
protoOf($serializer_6).
|
|
2395
|
-
return this.
|
|
2419
|
+
protoOf($serializer_6).si = function () {
|
|
2420
|
+
return this.k1j_1;
|
|
2396
2421
|
};
|
|
2397
|
-
protoOf($serializer_6).
|
|
2422
|
+
protoOf($serializer_6).bt = function () {
|
|
2398
2423
|
// Inline function 'kotlin.arrayOf' call
|
|
2399
2424
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2400
2425
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2408,16 +2433,16 @@
|
|
|
2408
2433
|
}
|
|
2409
2434
|
function Range_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
|
|
2410
2435
|
if (!(0 === (0 & seen0))) {
|
|
2411
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().
|
|
2436
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().k1j_1);
|
|
2412
2437
|
}
|
|
2413
2438
|
if (0 === (seen0 & 1))
|
|
2414
|
-
$this.
|
|
2439
|
+
$this.m1j_1 = null;
|
|
2415
2440
|
else
|
|
2416
|
-
$this.
|
|
2441
|
+
$this.m1j_1 = max;
|
|
2417
2442
|
if (0 === (seen0 & 2))
|
|
2418
|
-
$this.
|
|
2443
|
+
$this.n1j_1 = null;
|
|
2419
2444
|
else
|
|
2420
|
-
$this.
|
|
2445
|
+
$this.n1j_1 = min;
|
|
2421
2446
|
return $this;
|
|
2422
2447
|
}
|
|
2423
2448
|
function Range_init_$Create$(seen0, max, min, serializationConstructorMarker) {
|
|
@@ -2426,15 +2451,15 @@
|
|
|
2426
2451
|
function Range(max, min) {
|
|
2427
2452
|
max = max === VOID ? null : max;
|
|
2428
2453
|
min = min === VOID ? null : min;
|
|
2429
|
-
this.
|
|
2430
|
-
this.
|
|
2454
|
+
this.m1j_1 = max;
|
|
2455
|
+
this.n1j_1 = min;
|
|
2431
2456
|
}
|
|
2432
2457
|
protoOf(Range).toString = function () {
|
|
2433
|
-
return 'Range(max=' + this.
|
|
2458
|
+
return 'Range(max=' + this.m1j_1 + ', min=' + this.n1j_1 + ')';
|
|
2434
2459
|
};
|
|
2435
2460
|
protoOf(Range).hashCode = function () {
|
|
2436
|
-
var result = this.
|
|
2437
|
-
result = imul(result, 31) + (this.
|
|
2461
|
+
var result = this.m1j_1 == null ? 0 : getNumberHashCode(this.m1j_1);
|
|
2462
|
+
result = imul(result, 31) + (this.n1j_1 == null ? 0 : getNumberHashCode(this.n1j_1)) | 0;
|
|
2438
2463
|
return result;
|
|
2439
2464
|
};
|
|
2440
2465
|
protoOf(Range).equals = function (other) {
|
|
@@ -2442,9 +2467,9 @@
|
|
|
2442
2467
|
return true;
|
|
2443
2468
|
if (!(other instanceof Range))
|
|
2444
2469
|
return false;
|
|
2445
|
-
if (!equals(this.
|
|
2470
|
+
if (!equals(this.m1j_1, other.m1j_1))
|
|
2446
2471
|
return false;
|
|
2447
|
-
if (!equals(this.
|
|
2472
|
+
if (!equals(this.n1j_1, other.n1j_1))
|
|
2448
2473
|
return false;
|
|
2449
2474
|
return true;
|
|
2450
2475
|
};
|
|
@@ -2458,7 +2483,7 @@
|
|
|
2458
2483
|
// Inline function 'kotlin.arrayOf' call
|
|
2459
2484
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2460
2485
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2461
|
-
tmp.
|
|
2486
|
+
tmp.o1j_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
|
|
2462
2487
|
}
|
|
2463
2488
|
var Companion_instance_6;
|
|
2464
2489
|
function Companion_getInstance_5() {
|
|
@@ -2469,33 +2494,33 @@
|
|
|
2469
2494
|
function $serializer_7() {
|
|
2470
2495
|
$serializer_instance_7 = this;
|
|
2471
2496
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Instruction', this, 4);
|
|
2472
|
-
tmp0_serialDesc.
|
|
2473
|
-
tmp0_serialDesc.
|
|
2474
|
-
tmp0_serialDesc.
|
|
2475
|
-
tmp0_serialDesc.
|
|
2476
|
-
this.
|
|
2477
|
-
}
|
|
2478
|
-
protoOf($serializer_7).
|
|
2479
|
-
var tmp0_desc = this.
|
|
2480
|
-
var tmp1_output = encoder.
|
|
2481
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
2482
|
-
tmp1_output.
|
|
2483
|
-
if (tmp1_output.
|
|
2484
|
-
tmp1_output.
|
|
2497
|
+
tmp0_serialDesc.zs('description', false);
|
|
2498
|
+
tmp0_serialDesc.zs('descriptionTemplate', true);
|
|
2499
|
+
tmp0_serialDesc.zs('images', true);
|
|
2500
|
+
tmp0_serialDesc.zs('stepNumber', true);
|
|
2501
|
+
this.p1j_1 = tmp0_serialDesc;
|
|
2502
|
+
}
|
|
2503
|
+
protoOf($serializer_7).q1j = function (encoder, value) {
|
|
2504
|
+
var tmp0_desc = this.p1j_1;
|
|
2505
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2506
|
+
var tmp2_cached = Companion_getInstance_5().o1j_1;
|
|
2507
|
+
tmp1_output.en(tmp0_desc, 0, value.t1h_1);
|
|
2508
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.u1h_1 == null)) {
|
|
2509
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.u1h_1);
|
|
2485
2510
|
}
|
|
2486
|
-
if (tmp1_output.
|
|
2487
|
-
tmp1_output.
|
|
2511
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.v1h_1 == null)) {
|
|
2512
|
+
tmp1_output.in(tmp0_desc, 2, tmp2_cached[2].g2(), value.v1h_1);
|
|
2488
2513
|
}
|
|
2489
|
-
if (tmp1_output.
|
|
2490
|
-
tmp1_output.
|
|
2514
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.w1h_1 == null)) {
|
|
2515
|
+
tmp1_output.in(tmp0_desc, 3, DoubleSerializer_getInstance(), value.w1h_1);
|
|
2491
2516
|
}
|
|
2492
|
-
tmp1_output.
|
|
2517
|
+
tmp1_output.rl(tmp0_desc);
|
|
2493
2518
|
};
|
|
2494
|
-
protoOf($serializer_7).
|
|
2495
|
-
return this.
|
|
2519
|
+
protoOf($serializer_7).ti = function (encoder, value) {
|
|
2520
|
+
return this.q1j(encoder, value instanceof Instruction ? value : THROW_CCE());
|
|
2496
2521
|
};
|
|
2497
|
-
protoOf($serializer_7).
|
|
2498
|
-
var tmp0_desc = this.
|
|
2522
|
+
protoOf($serializer_7).ui = function (decoder) {
|
|
2523
|
+
var tmp0_desc = this.p1j_1;
|
|
2499
2524
|
var tmp1_flag = true;
|
|
2500
2525
|
var tmp2_index = 0;
|
|
2501
2526
|
var tmp3_bitMask0 = 0;
|
|
@@ -2503,56 +2528,56 @@
|
|
|
2503
2528
|
var tmp5_local1 = null;
|
|
2504
2529
|
var tmp6_local2 = null;
|
|
2505
2530
|
var tmp7_local3 = null;
|
|
2506
|
-
var tmp8_input = decoder.
|
|
2507
|
-
var tmp9_cached = Companion_getInstance_5().
|
|
2508
|
-
if (tmp8_input.
|
|
2509
|
-
tmp4_local0 = tmp8_input.
|
|
2531
|
+
var tmp8_input = decoder.ql(tmp0_desc);
|
|
2532
|
+
var tmp9_cached = Companion_getInstance_5().o1j_1;
|
|
2533
|
+
if (tmp8_input.gm()) {
|
|
2534
|
+
tmp4_local0 = tmp8_input.am(tmp0_desc, 0);
|
|
2510
2535
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2511
|
-
tmp5_local1 = tmp8_input.
|
|
2536
|
+
tmp5_local1 = tmp8_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2512
2537
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2513
|
-
tmp6_local2 = tmp8_input.
|
|
2538
|
+
tmp6_local2 = tmp8_input.em(tmp0_desc, 2, tmp9_cached[2].g2(), tmp6_local2);
|
|
2514
2539
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2515
|
-
tmp7_local3 = tmp8_input.
|
|
2540
|
+
tmp7_local3 = tmp8_input.em(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
|
|
2516
2541
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2517
2542
|
} else
|
|
2518
2543
|
while (tmp1_flag) {
|
|
2519
|
-
tmp2_index = tmp8_input.
|
|
2544
|
+
tmp2_index = tmp8_input.hm(tmp0_desc);
|
|
2520
2545
|
switch (tmp2_index) {
|
|
2521
2546
|
case -1:
|
|
2522
2547
|
tmp1_flag = false;
|
|
2523
2548
|
break;
|
|
2524
2549
|
case 0:
|
|
2525
|
-
tmp4_local0 = tmp8_input.
|
|
2550
|
+
tmp4_local0 = tmp8_input.am(tmp0_desc, 0);
|
|
2526
2551
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2527
2552
|
break;
|
|
2528
2553
|
case 1:
|
|
2529
|
-
tmp5_local1 = tmp8_input.
|
|
2554
|
+
tmp5_local1 = tmp8_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2530
2555
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2531
2556
|
break;
|
|
2532
2557
|
case 2:
|
|
2533
|
-
tmp6_local2 = tmp8_input.
|
|
2558
|
+
tmp6_local2 = tmp8_input.em(tmp0_desc, 2, tmp9_cached[2].g2(), tmp6_local2);
|
|
2534
2559
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2535
2560
|
break;
|
|
2536
2561
|
case 3:
|
|
2537
|
-
tmp7_local3 = tmp8_input.
|
|
2562
|
+
tmp7_local3 = tmp8_input.em(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
|
|
2538
2563
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2539
2564
|
break;
|
|
2540
2565
|
default:
|
|
2541
2566
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2542
2567
|
}
|
|
2543
2568
|
}
|
|
2544
|
-
tmp8_input.
|
|
2569
|
+
tmp8_input.rl(tmp0_desc);
|
|
2545
2570
|
return Instruction_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2546
2571
|
};
|
|
2547
|
-
protoOf($serializer_7).
|
|
2548
|
-
return this.
|
|
2572
|
+
protoOf($serializer_7).si = function () {
|
|
2573
|
+
return this.p1j_1;
|
|
2549
2574
|
};
|
|
2550
|
-
protoOf($serializer_7).
|
|
2551
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
2575
|
+
protoOf($serializer_7).bt = function () {
|
|
2576
|
+
var tmp0_cached = Companion_getInstance_5().o1j_1;
|
|
2552
2577
|
// Inline function 'kotlin.arrayOf' call
|
|
2553
2578
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2554
2579
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2555
|
-
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[2].
|
|
2580
|
+
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[2].g2()), get_nullable(DoubleSerializer_getInstance())];
|
|
2556
2581
|
};
|
|
2557
2582
|
var $serializer_instance_7;
|
|
2558
2583
|
function $serializer_getInstance_7() {
|
|
@@ -2562,21 +2587,21 @@
|
|
|
2562
2587
|
}
|
|
2563
2588
|
function Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, $this) {
|
|
2564
2589
|
if (!(1 === (1 & seen0))) {
|
|
2565
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_7().
|
|
2590
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_7().p1j_1);
|
|
2566
2591
|
}
|
|
2567
|
-
$this.
|
|
2592
|
+
$this.t1h_1 = description;
|
|
2568
2593
|
if (0 === (seen0 & 2))
|
|
2569
|
-
$this.
|
|
2594
|
+
$this.u1h_1 = null;
|
|
2570
2595
|
else
|
|
2571
|
-
$this.
|
|
2596
|
+
$this.u1h_1 = descriptionTemplate;
|
|
2572
2597
|
if (0 === (seen0 & 4))
|
|
2573
|
-
$this.
|
|
2598
|
+
$this.v1h_1 = null;
|
|
2574
2599
|
else
|
|
2575
|
-
$this.
|
|
2600
|
+
$this.v1h_1 = images;
|
|
2576
2601
|
if (0 === (seen0 & 8))
|
|
2577
|
-
$this.
|
|
2602
|
+
$this.w1h_1 = null;
|
|
2578
2603
|
else
|
|
2579
|
-
$this.
|
|
2604
|
+
$this.w1h_1 = stepNumber;
|
|
2580
2605
|
return $this;
|
|
2581
2606
|
}
|
|
2582
2607
|
function Instruction_init_$Create$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker) {
|
|
@@ -2587,29 +2612,29 @@
|
|
|
2587
2612
|
descriptionTemplate = descriptionTemplate === VOID ? null : descriptionTemplate;
|
|
2588
2613
|
images = images === VOID ? null : images;
|
|
2589
2614
|
stepNumber = stepNumber === VOID ? null : stepNumber;
|
|
2590
|
-
this.
|
|
2591
|
-
this.
|
|
2592
|
-
this.
|
|
2593
|
-
this.
|
|
2615
|
+
this.t1h_1 = description;
|
|
2616
|
+
this.u1h_1 = descriptionTemplate;
|
|
2617
|
+
this.v1h_1 = images;
|
|
2618
|
+
this.w1h_1 = stepNumber;
|
|
2594
2619
|
}
|
|
2595
|
-
protoOf(Instruction).
|
|
2620
|
+
protoOf(Instruction).r1j = function (description, descriptionTemplate, images, stepNumber) {
|
|
2596
2621
|
return new Instruction(description, descriptionTemplate, images, stepNumber);
|
|
2597
2622
|
};
|
|
2598
|
-
protoOf(Instruction).
|
|
2599
|
-
description = description === VOID ? this.
|
|
2600
|
-
descriptionTemplate = descriptionTemplate === VOID ? this.
|
|
2601
|
-
images = images === VOID ? this.
|
|
2602
|
-
stepNumber = stepNumber === VOID ? this.
|
|
2603
|
-
return $super === VOID ? this.
|
|
2623
|
+
protoOf(Instruction).x1h = function (description, descriptionTemplate, images, stepNumber, $super) {
|
|
2624
|
+
description = description === VOID ? this.t1h_1 : description;
|
|
2625
|
+
descriptionTemplate = descriptionTemplate === VOID ? this.u1h_1 : descriptionTemplate;
|
|
2626
|
+
images = images === VOID ? this.v1h_1 : images;
|
|
2627
|
+
stepNumber = stepNumber === VOID ? this.w1h_1 : stepNumber;
|
|
2628
|
+
return $super === VOID ? this.r1j(description, descriptionTemplate, images, stepNumber) : $super.r1j.call(this, description, descriptionTemplate, images, stepNumber);
|
|
2604
2629
|
};
|
|
2605
2630
|
protoOf(Instruction).toString = function () {
|
|
2606
|
-
return 'Instruction(description=' + this.
|
|
2631
|
+
return 'Instruction(description=' + this.t1h_1 + ', descriptionTemplate=' + this.u1h_1 + ', images=' + toString(this.v1h_1) + ', stepNumber=' + this.w1h_1 + ')';
|
|
2607
2632
|
};
|
|
2608
2633
|
protoOf(Instruction).hashCode = function () {
|
|
2609
|
-
var result = getStringHashCode(this.
|
|
2610
|
-
result = imul(result, 31) + (this.
|
|
2611
|
-
result = imul(result, 31) + (this.
|
|
2612
|
-
result = imul(result, 31) + (this.
|
|
2634
|
+
var result = getStringHashCode(this.t1h_1);
|
|
2635
|
+
result = imul(result, 31) + (this.u1h_1 == null ? 0 : getStringHashCode(this.u1h_1)) | 0;
|
|
2636
|
+
result = imul(result, 31) + (this.v1h_1 == null ? 0 : hashCode(this.v1h_1)) | 0;
|
|
2637
|
+
result = imul(result, 31) + (this.w1h_1 == null ? 0 : getNumberHashCode(this.w1h_1)) | 0;
|
|
2613
2638
|
return result;
|
|
2614
2639
|
};
|
|
2615
2640
|
protoOf(Instruction).equals = function (other) {
|
|
@@ -2617,85 +2642,85 @@
|
|
|
2617
2642
|
return true;
|
|
2618
2643
|
if (!(other instanceof Instruction))
|
|
2619
2644
|
return false;
|
|
2620
|
-
if (!(this.
|
|
2645
|
+
if (!(this.t1h_1 === other.t1h_1))
|
|
2621
2646
|
return false;
|
|
2622
|
-
if (!(this.
|
|
2647
|
+
if (!(this.u1h_1 == other.u1h_1))
|
|
2623
2648
|
return false;
|
|
2624
|
-
if (!equals(this.
|
|
2649
|
+
if (!equals(this.v1h_1, other.v1h_1))
|
|
2625
2650
|
return false;
|
|
2626
|
-
if (!equals(this.
|
|
2651
|
+
if (!equals(this.w1h_1, other.w1h_1))
|
|
2627
2652
|
return false;
|
|
2628
2653
|
return true;
|
|
2629
2654
|
};
|
|
2630
2655
|
function $serializer_8() {
|
|
2631
2656
|
$serializer_instance_8 = this;
|
|
2632
2657
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Serves', this, 3);
|
|
2633
|
-
tmp0_serialDesc.
|
|
2634
|
-
tmp0_serialDesc.
|
|
2635
|
-
tmp0_serialDesc.
|
|
2636
|
-
this.
|
|
2637
|
-
}
|
|
2638
|
-
protoOf($serializer_8).
|
|
2639
|
-
var tmp0_desc = this.
|
|
2640
|
-
var tmp1_output = encoder.
|
|
2641
|
-
if (tmp1_output.
|
|
2642
|
-
tmp1_output.
|
|
2658
|
+
tmp0_serialDesc.zs('amount', true);
|
|
2659
|
+
tmp0_serialDesc.zs('text', true);
|
|
2660
|
+
tmp0_serialDesc.zs('unit', false);
|
|
2661
|
+
this.s1j_1 = tmp0_serialDesc;
|
|
2662
|
+
}
|
|
2663
|
+
protoOf($serializer_8).t1j = function (encoder, value) {
|
|
2664
|
+
var tmp0_desc = this.s1j_1;
|
|
2665
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2666
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.u1j_1 == null)) {
|
|
2667
|
+
tmp1_output.in(tmp0_desc, 0, $serializer_getInstance_6(), value.u1j_1);
|
|
2643
2668
|
}
|
|
2644
|
-
if (tmp1_output.
|
|
2645
|
-
tmp1_output.
|
|
2669
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.v1j_1 == null)) {
|
|
2670
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.v1j_1);
|
|
2646
2671
|
}
|
|
2647
|
-
tmp1_output.
|
|
2648
|
-
tmp1_output.
|
|
2672
|
+
tmp1_output.en(tmp0_desc, 2, value.w1j_1);
|
|
2673
|
+
tmp1_output.rl(tmp0_desc);
|
|
2649
2674
|
};
|
|
2650
|
-
protoOf($serializer_8).
|
|
2651
|
-
return this.
|
|
2675
|
+
protoOf($serializer_8).ti = function (encoder, value) {
|
|
2676
|
+
return this.t1j(encoder, value instanceof Serves ? value : THROW_CCE());
|
|
2652
2677
|
};
|
|
2653
|
-
protoOf($serializer_8).
|
|
2654
|
-
var tmp0_desc = this.
|
|
2678
|
+
protoOf($serializer_8).ui = function (decoder) {
|
|
2679
|
+
var tmp0_desc = this.s1j_1;
|
|
2655
2680
|
var tmp1_flag = true;
|
|
2656
2681
|
var tmp2_index = 0;
|
|
2657
2682
|
var tmp3_bitMask0 = 0;
|
|
2658
2683
|
var tmp4_local0 = null;
|
|
2659
2684
|
var tmp5_local1 = null;
|
|
2660
2685
|
var tmp6_local2 = null;
|
|
2661
|
-
var tmp7_input = decoder.
|
|
2662
|
-
if (tmp7_input.
|
|
2663
|
-
tmp4_local0 = tmp7_input.
|
|
2686
|
+
var tmp7_input = decoder.ql(tmp0_desc);
|
|
2687
|
+
if (tmp7_input.gm()) {
|
|
2688
|
+
tmp4_local0 = tmp7_input.em(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2664
2689
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2665
|
-
tmp5_local1 = tmp7_input.
|
|
2690
|
+
tmp5_local1 = tmp7_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2666
2691
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2667
|
-
tmp6_local2 = tmp7_input.
|
|
2692
|
+
tmp6_local2 = tmp7_input.am(tmp0_desc, 2);
|
|
2668
2693
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2669
2694
|
} else
|
|
2670
2695
|
while (tmp1_flag) {
|
|
2671
|
-
tmp2_index = tmp7_input.
|
|
2696
|
+
tmp2_index = tmp7_input.hm(tmp0_desc);
|
|
2672
2697
|
switch (tmp2_index) {
|
|
2673
2698
|
case -1:
|
|
2674
2699
|
tmp1_flag = false;
|
|
2675
2700
|
break;
|
|
2676
2701
|
case 0:
|
|
2677
|
-
tmp4_local0 = tmp7_input.
|
|
2702
|
+
tmp4_local0 = tmp7_input.em(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2678
2703
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2679
2704
|
break;
|
|
2680
2705
|
case 1:
|
|
2681
|
-
tmp5_local1 = tmp7_input.
|
|
2706
|
+
tmp5_local1 = tmp7_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2682
2707
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2683
2708
|
break;
|
|
2684
2709
|
case 2:
|
|
2685
|
-
tmp6_local2 = tmp7_input.
|
|
2710
|
+
tmp6_local2 = tmp7_input.am(tmp0_desc, 2);
|
|
2686
2711
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2687
2712
|
break;
|
|
2688
2713
|
default:
|
|
2689
2714
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2690
2715
|
}
|
|
2691
2716
|
}
|
|
2692
|
-
tmp7_input.
|
|
2717
|
+
tmp7_input.rl(tmp0_desc);
|
|
2693
2718
|
return Serves_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2694
2719
|
};
|
|
2695
|
-
protoOf($serializer_8).
|
|
2696
|
-
return this.
|
|
2720
|
+
protoOf($serializer_8).si = function () {
|
|
2721
|
+
return this.s1j_1;
|
|
2697
2722
|
};
|
|
2698
|
-
protoOf($serializer_8).
|
|
2723
|
+
protoOf($serializer_8).bt = function () {
|
|
2699
2724
|
// Inline function 'kotlin.arrayOf' call
|
|
2700
2725
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2701
2726
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2709,17 +2734,17 @@
|
|
|
2709
2734
|
}
|
|
2710
2735
|
function Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, $this) {
|
|
2711
2736
|
if (!(4 === (4 & seen0))) {
|
|
2712
|
-
throwMissingFieldException(seen0, 4, $serializer_getInstance_8().
|
|
2737
|
+
throwMissingFieldException(seen0, 4, $serializer_getInstance_8().s1j_1);
|
|
2713
2738
|
}
|
|
2714
2739
|
if (0 === (seen0 & 1))
|
|
2715
|
-
$this.
|
|
2740
|
+
$this.u1j_1 = null;
|
|
2716
2741
|
else
|
|
2717
|
-
$this.
|
|
2742
|
+
$this.u1j_1 = amount;
|
|
2718
2743
|
if (0 === (seen0 & 2))
|
|
2719
|
-
$this.
|
|
2744
|
+
$this.v1j_1 = null;
|
|
2720
2745
|
else
|
|
2721
|
-
$this.
|
|
2722
|
-
$this.
|
|
2746
|
+
$this.v1j_1 = text;
|
|
2747
|
+
$this.w1j_1 = unit;
|
|
2723
2748
|
return $this;
|
|
2724
2749
|
}
|
|
2725
2750
|
function Serves_init_$Create$(seen0, amount, text, unit, serializationConstructorMarker) {
|
|
@@ -2728,12 +2753,12 @@
|
|
|
2728
2753
|
function Serves() {
|
|
2729
2754
|
}
|
|
2730
2755
|
protoOf(Serves).toString = function () {
|
|
2731
|
-
return 'Serves(amount=' + toString(this.
|
|
2756
|
+
return 'Serves(amount=' + toString(this.u1j_1) + ', text=' + this.v1j_1 + ', unit=' + this.w1j_1 + ')';
|
|
2732
2757
|
};
|
|
2733
2758
|
protoOf(Serves).hashCode = function () {
|
|
2734
|
-
var result = this.
|
|
2735
|
-
result = imul(result, 31) + (this.
|
|
2736
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2759
|
+
var result = this.u1j_1 == null ? 0 : this.u1j_1.hashCode();
|
|
2760
|
+
result = imul(result, 31) + (this.v1j_1 == null ? 0 : getStringHashCode(this.v1j_1)) | 0;
|
|
2761
|
+
result = imul(result, 31) + getStringHashCode(this.w1j_1) | 0;
|
|
2737
2762
|
return result;
|
|
2738
2763
|
};
|
|
2739
2764
|
protoOf(Serves).equals = function (other) {
|
|
@@ -2741,11 +2766,11 @@
|
|
|
2741
2766
|
return true;
|
|
2742
2767
|
if (!(other instanceof Serves))
|
|
2743
2768
|
return false;
|
|
2744
|
-
if (!equals(this.
|
|
2769
|
+
if (!equals(this.u1j_1, other.u1j_1))
|
|
2745
2770
|
return false;
|
|
2746
|
-
if (!(this.
|
|
2771
|
+
if (!(this.v1j_1 == other.v1j_1))
|
|
2747
2772
|
return false;
|
|
2748
|
-
if (!(this.
|
|
2773
|
+
if (!(this.w1j_1 === other.w1j_1))
|
|
2749
2774
|
return false;
|
|
2750
2775
|
return true;
|
|
2751
2776
|
};
|
|
@@ -2758,74 +2783,74 @@
|
|
|
2758
2783
|
function $serializer_9() {
|
|
2759
2784
|
$serializer_instance_9 = this;
|
|
2760
2785
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Timing', this, 3);
|
|
2761
|
-
tmp0_serialDesc.
|
|
2762
|
-
tmp0_serialDesc.
|
|
2763
|
-
tmp0_serialDesc.
|
|
2764
|
-
this.
|
|
2765
|
-
}
|
|
2766
|
-
protoOf($serializer_9).
|
|
2767
|
-
var tmp0_desc = this.
|
|
2768
|
-
var tmp1_output = encoder.
|
|
2769
|
-
if (tmp1_output.
|
|
2770
|
-
tmp1_output.
|
|
2786
|
+
tmp0_serialDesc.zs('durationInMins', true);
|
|
2787
|
+
tmp0_serialDesc.zs('qualifier', true);
|
|
2788
|
+
tmp0_serialDesc.zs('text', true);
|
|
2789
|
+
this.x1j_1 = tmp0_serialDesc;
|
|
2790
|
+
}
|
|
2791
|
+
protoOf($serializer_9).y1j = function (encoder, value) {
|
|
2792
|
+
var tmp0_desc = this.x1j_1;
|
|
2793
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2794
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.z1j_1 == null)) {
|
|
2795
|
+
tmp1_output.in(tmp0_desc, 0, $serializer_getInstance_6(), value.z1j_1);
|
|
2771
2796
|
}
|
|
2772
|
-
if (tmp1_output.
|
|
2773
|
-
tmp1_output.
|
|
2797
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.a1k_1 == null)) {
|
|
2798
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.a1k_1);
|
|
2774
2799
|
}
|
|
2775
|
-
if (tmp1_output.
|
|
2776
|
-
tmp1_output.
|
|
2800
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.b1k_1 == null)) {
|
|
2801
|
+
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.b1k_1);
|
|
2777
2802
|
}
|
|
2778
|
-
tmp1_output.
|
|
2803
|
+
tmp1_output.rl(tmp0_desc);
|
|
2779
2804
|
};
|
|
2780
|
-
protoOf($serializer_9).
|
|
2781
|
-
return this.
|
|
2805
|
+
protoOf($serializer_9).ti = function (encoder, value) {
|
|
2806
|
+
return this.y1j(encoder, value instanceof Timing ? value : THROW_CCE());
|
|
2782
2807
|
};
|
|
2783
|
-
protoOf($serializer_9).
|
|
2784
|
-
var tmp0_desc = this.
|
|
2808
|
+
protoOf($serializer_9).ui = function (decoder) {
|
|
2809
|
+
var tmp0_desc = this.x1j_1;
|
|
2785
2810
|
var tmp1_flag = true;
|
|
2786
2811
|
var tmp2_index = 0;
|
|
2787
2812
|
var tmp3_bitMask0 = 0;
|
|
2788
2813
|
var tmp4_local0 = null;
|
|
2789
2814
|
var tmp5_local1 = null;
|
|
2790
2815
|
var tmp6_local2 = null;
|
|
2791
|
-
var tmp7_input = decoder.
|
|
2792
|
-
if (tmp7_input.
|
|
2793
|
-
tmp4_local0 = tmp7_input.
|
|
2816
|
+
var tmp7_input = decoder.ql(tmp0_desc);
|
|
2817
|
+
if (tmp7_input.gm()) {
|
|
2818
|
+
tmp4_local0 = tmp7_input.em(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2794
2819
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2795
|
-
tmp5_local1 = tmp7_input.
|
|
2820
|
+
tmp5_local1 = tmp7_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2796
2821
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2797
|
-
tmp6_local2 = tmp7_input.
|
|
2822
|
+
tmp6_local2 = tmp7_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2798
2823
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2799
2824
|
} else
|
|
2800
2825
|
while (tmp1_flag) {
|
|
2801
|
-
tmp2_index = tmp7_input.
|
|
2826
|
+
tmp2_index = tmp7_input.hm(tmp0_desc);
|
|
2802
2827
|
switch (tmp2_index) {
|
|
2803
2828
|
case -1:
|
|
2804
2829
|
tmp1_flag = false;
|
|
2805
2830
|
break;
|
|
2806
2831
|
case 0:
|
|
2807
|
-
tmp4_local0 = tmp7_input.
|
|
2832
|
+
tmp4_local0 = tmp7_input.em(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2808
2833
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2809
2834
|
break;
|
|
2810
2835
|
case 1:
|
|
2811
|
-
tmp5_local1 = tmp7_input.
|
|
2836
|
+
tmp5_local1 = tmp7_input.em(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2812
2837
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2813
2838
|
break;
|
|
2814
2839
|
case 2:
|
|
2815
|
-
tmp6_local2 = tmp7_input.
|
|
2840
|
+
tmp6_local2 = tmp7_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2816
2841
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2817
2842
|
break;
|
|
2818
2843
|
default:
|
|
2819
2844
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2820
2845
|
}
|
|
2821
2846
|
}
|
|
2822
|
-
tmp7_input.
|
|
2847
|
+
tmp7_input.rl(tmp0_desc);
|
|
2823
2848
|
return Timing_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2824
2849
|
};
|
|
2825
|
-
protoOf($serializer_9).
|
|
2826
|
-
return this.
|
|
2850
|
+
protoOf($serializer_9).si = function () {
|
|
2851
|
+
return this.x1j_1;
|
|
2827
2852
|
};
|
|
2828
|
-
protoOf($serializer_9).
|
|
2853
|
+
protoOf($serializer_9).bt = function () {
|
|
2829
2854
|
// Inline function 'kotlin.arrayOf' call
|
|
2830
2855
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2831
2856
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2839,20 +2864,20 @@
|
|
|
2839
2864
|
}
|
|
2840
2865
|
function Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, $this) {
|
|
2841
2866
|
if (!(0 === (0 & seen0))) {
|
|
2842
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().
|
|
2867
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().x1j_1);
|
|
2843
2868
|
}
|
|
2844
2869
|
if (0 === (seen0 & 1))
|
|
2845
|
-
$this.
|
|
2870
|
+
$this.z1j_1 = null;
|
|
2846
2871
|
else
|
|
2847
|
-
$this.
|
|
2872
|
+
$this.z1j_1 = durationInMins;
|
|
2848
2873
|
if (0 === (seen0 & 2))
|
|
2849
|
-
$this.
|
|
2874
|
+
$this.a1k_1 = null;
|
|
2850
2875
|
else
|
|
2851
|
-
$this.
|
|
2876
|
+
$this.a1k_1 = qualifier;
|
|
2852
2877
|
if (0 === (seen0 & 4))
|
|
2853
|
-
$this.
|
|
2878
|
+
$this.b1k_1 = null;
|
|
2854
2879
|
else
|
|
2855
|
-
$this.
|
|
2880
|
+
$this.b1k_1 = text;
|
|
2856
2881
|
return $this;
|
|
2857
2882
|
}
|
|
2858
2883
|
function Timing_init_$Create$(seen0, durationInMins, qualifier, text, serializationConstructorMarker) {
|
|
@@ -2862,17 +2887,17 @@
|
|
|
2862
2887
|
durationInMins = durationInMins === VOID ? null : durationInMins;
|
|
2863
2888
|
qualifier = qualifier === VOID ? null : qualifier;
|
|
2864
2889
|
text = text === VOID ? null : text;
|
|
2865
|
-
this.
|
|
2866
|
-
this.
|
|
2867
|
-
this.
|
|
2890
|
+
this.z1j_1 = durationInMins;
|
|
2891
|
+
this.a1k_1 = qualifier;
|
|
2892
|
+
this.b1k_1 = text;
|
|
2868
2893
|
}
|
|
2869
2894
|
protoOf(Timing).toString = function () {
|
|
2870
|
-
return 'Timing(durationInMins=' + toString(this.
|
|
2895
|
+
return 'Timing(durationInMins=' + toString(this.z1j_1) + ', qualifier=' + this.a1k_1 + ', text=' + this.b1k_1 + ')';
|
|
2871
2896
|
};
|
|
2872
2897
|
protoOf(Timing).hashCode = function () {
|
|
2873
|
-
var result = this.
|
|
2874
|
-
result = imul(result, 31) + (this.
|
|
2875
|
-
result = imul(result, 31) + (this.
|
|
2898
|
+
var result = this.z1j_1 == null ? 0 : this.z1j_1.hashCode();
|
|
2899
|
+
result = imul(result, 31) + (this.a1k_1 == null ? 0 : getStringHashCode(this.a1k_1)) | 0;
|
|
2900
|
+
result = imul(result, 31) + (this.b1k_1 == null ? 0 : getStringHashCode(this.b1k_1)) | 0;
|
|
2876
2901
|
return result;
|
|
2877
2902
|
};
|
|
2878
2903
|
protoOf(Timing).equals = function (other) {
|
|
@@ -2880,29 +2905,29 @@
|
|
|
2880
2905
|
return true;
|
|
2881
2906
|
if (!(other instanceof Timing))
|
|
2882
2907
|
return false;
|
|
2883
|
-
if (!equals(this.
|
|
2908
|
+
if (!equals(this.z1j_1, other.z1j_1))
|
|
2884
2909
|
return false;
|
|
2885
|
-
if (!(this.
|
|
2910
|
+
if (!(this.a1k_1 == other.a1k_1))
|
|
2886
2911
|
return false;
|
|
2887
|
-
if (!(this.
|
|
2912
|
+
if (!(this.b1k_1 == other.b1k_1))
|
|
2888
2913
|
return false;
|
|
2889
2914
|
return true;
|
|
2890
2915
|
};
|
|
2891
2916
|
function ParsedTemplate(elements) {
|
|
2892
|
-
this.
|
|
2917
|
+
this.j1g_1 = elements;
|
|
2893
2918
|
}
|
|
2894
2919
|
protoOf(ParsedTemplate).toString = function () {
|
|
2895
|
-
return 'ParsedTemplate(elements=' + toString_0(this.
|
|
2920
|
+
return 'ParsedTemplate(elements=' + toString_0(this.j1g_1) + ')';
|
|
2896
2921
|
};
|
|
2897
2922
|
protoOf(ParsedTemplate).hashCode = function () {
|
|
2898
|
-
return hashCode(this.
|
|
2923
|
+
return hashCode(this.j1g_1);
|
|
2899
2924
|
};
|
|
2900
2925
|
protoOf(ParsedTemplate).equals = function (other) {
|
|
2901
2926
|
if (this === other)
|
|
2902
2927
|
return true;
|
|
2903
2928
|
if (!(other instanceof ParsedTemplate))
|
|
2904
2929
|
return false;
|
|
2905
|
-
if (!equals(this.
|
|
2930
|
+
if (!equals(this.j1g_1, other.j1g_1))
|
|
2906
2931
|
return false;
|
|
2907
2932
|
return true;
|
|
2908
2933
|
};
|
|
@@ -2918,51 +2943,51 @@
|
|
|
2918
2943
|
var parts = ArrayList_init_$Create$_0();
|
|
2919
2944
|
var lastEnd = 0;
|
|
2920
2945
|
// Inline function 'kotlin.sequences.forEach' call
|
|
2921
|
-
var _iterator__ex2g4s = pattern.
|
|
2946
|
+
var _iterator__ex2g4s = pattern.xa(template).q();
|
|
2922
2947
|
while (_iterator__ex2g4s.r()) {
|
|
2923
2948
|
var element = _iterator__ex2g4s.s();
|
|
2924
|
-
if (element.
|
|
2925
|
-
var textPart = substring(template, lastEnd, element.
|
|
2949
|
+
if (element.za().d1_1 > lastEnd) {
|
|
2950
|
+
var textPart = substring(template, lastEnd, element.za().d1_1);
|
|
2926
2951
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2927
2952
|
if (charSequenceLength(textPart) > 0) {
|
|
2928
2953
|
parts.u(new TemplateConst(textPart));
|
|
2929
2954
|
}
|
|
2930
2955
|
}
|
|
2931
2956
|
try {
|
|
2932
|
-
var jsonObj = get_jsonObject(Default_getInstance().
|
|
2933
|
-
if (jsonObj.
|
|
2957
|
+
var jsonObj = get_jsonObject(Default_getInstance().e12(element.g2()));
|
|
2958
|
+
if (jsonObj.k2().x('min')) {
|
|
2934
2959
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
2935
2960
|
var this_0 = get_tolerantJson();
|
|
2936
2961
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
2937
|
-
var this_1 = this_0.
|
|
2962
|
+
var this_1 = this_0.fm();
|
|
2938
2963
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2939
2964
|
var this_2 = serializer(this_1, createKType(getKClass(QuantityPlaceholder), arrayOf([]), false));
|
|
2940
2965
|
var tmp$ret$5 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
2941
2966
|
// Inline function 'kotlin.let' call
|
|
2942
|
-
var it = this_0.
|
|
2967
|
+
var it = this_0.d12(tmp$ret$5, jsonObj);
|
|
2943
2968
|
parts.u(it);
|
|
2944
2969
|
} else {
|
|
2945
2970
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
2946
2971
|
var this_3 = get_tolerantJson();
|
|
2947
2972
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
2948
|
-
var this_4 = this_3.
|
|
2973
|
+
var this_4 = this_3.fm();
|
|
2949
2974
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2950
2975
|
var this_5 = serializer(this_4, createKType(getKClass(OvenTemperaturePlaceholder), arrayOf([]), false));
|
|
2951
2976
|
var tmp$ret$10 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
|
|
2952
2977
|
// Inline function 'kotlin.let' call
|
|
2953
|
-
var it_0 = this_3.
|
|
2978
|
+
var it_0 = this_3.d12(tmp$ret$10, jsonObj);
|
|
2954
2979
|
parts.u(it_0);
|
|
2955
2980
|
}
|
|
2956
2981
|
} catch ($p) {
|
|
2957
2982
|
if ($p instanceof Exception) {
|
|
2958
2983
|
var e = $p;
|
|
2959
|
-
print('Failed to parse JSON: ' + element.
|
|
2960
|
-
parts.u(new TemplateConst(element.
|
|
2984
|
+
print('Failed to parse JSON: ' + element.g2() + ', error: ' + e.message);
|
|
2985
|
+
parts.u(new TemplateConst(element.g2()));
|
|
2961
2986
|
} else {
|
|
2962
2987
|
throw $p;
|
|
2963
2988
|
}
|
|
2964
2989
|
}
|
|
2965
|
-
lastEnd = element.
|
|
2990
|
+
lastEnd = element.za().e1_1 + 1 | 0;
|
|
2966
2991
|
}
|
|
2967
2992
|
if (lastEnd < template.length) {
|
|
2968
2993
|
var remaining = substring_0(template, lastEnd);
|
|
@@ -2975,7 +3000,7 @@
|
|
|
2975
3000
|
}
|
|
2976
3001
|
function tolerantJson$lambda($this$Json) {
|
|
2977
3002
|
_init_properties_Parser_kt__o3jwn5();
|
|
2978
|
-
$this$Json.
|
|
3003
|
+
$this$Json.x12_1 = true;
|
|
2979
3004
|
return Unit_instance;
|
|
2980
3005
|
}
|
|
2981
3006
|
var properties_initialized_Parser_kt_5uifb3;
|
|
@@ -2990,18 +3015,18 @@
|
|
|
2990
3015
|
function TemplateConst(value) {
|
|
2991
3016
|
this.value = value;
|
|
2992
3017
|
}
|
|
2993
|
-
protoOf(TemplateConst).
|
|
3018
|
+
protoOf(TemplateConst).g2 = function () {
|
|
2994
3019
|
return this.value;
|
|
2995
3020
|
};
|
|
2996
|
-
protoOf(TemplateConst).
|
|
3021
|
+
protoOf(TemplateConst).fd = function () {
|
|
2997
3022
|
return this.value;
|
|
2998
3023
|
};
|
|
2999
|
-
protoOf(TemplateConst).
|
|
3024
|
+
protoOf(TemplateConst).c1k = function (value) {
|
|
3000
3025
|
return new TemplateConst(value);
|
|
3001
3026
|
};
|
|
3002
3027
|
protoOf(TemplateConst).copy = function (value, $super) {
|
|
3003
3028
|
value = value === VOID ? this.value : value;
|
|
3004
|
-
return $super === VOID ? this.
|
|
3029
|
+
return $super === VOID ? this.c1k(value) : $super.c1k.call(this, value);
|
|
3005
3030
|
};
|
|
3006
3031
|
protoOf(TemplateConst).toString = function () {
|
|
3007
3032
|
return 'TemplateConst(value=' + this.value + ')';
|
|
@@ -3027,40 +3052,40 @@
|
|
|
3027
3052
|
function $serializer_10() {
|
|
3028
3053
|
$serializer_instance_10 = this;
|
|
3029
3054
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.QuantityPlaceholder', this, 6);
|
|
3030
|
-
tmp0_serialDesc.
|
|
3031
|
-
tmp0_serialDesc.
|
|
3032
|
-
tmp0_serialDesc.
|
|
3033
|
-
tmp0_serialDesc.
|
|
3034
|
-
tmp0_serialDesc.
|
|
3035
|
-
tmp0_serialDesc.
|
|
3036
|
-
this.
|
|
3037
|
-
}
|
|
3038
|
-
protoOf($serializer_10).
|
|
3039
|
-
var tmp0_desc = this.
|
|
3040
|
-
var tmp1_output = encoder.
|
|
3041
|
-
tmp1_output.
|
|
3042
|
-
if (tmp1_output.
|
|
3043
|
-
tmp1_output.
|
|
3055
|
+
tmp0_serialDesc.zs('min', false);
|
|
3056
|
+
tmp0_serialDesc.zs('max', true);
|
|
3057
|
+
tmp0_serialDesc.zs('unit', true);
|
|
3058
|
+
tmp0_serialDesc.zs('scale', true);
|
|
3059
|
+
tmp0_serialDesc.zs('ingredient', true);
|
|
3060
|
+
tmp0_serialDesc.zs('usCust', true);
|
|
3061
|
+
this.d1k_1 = tmp0_serialDesc;
|
|
3062
|
+
}
|
|
3063
|
+
protoOf($serializer_10).e1k = function (encoder, value) {
|
|
3064
|
+
var tmp0_desc = this.d1k_1;
|
|
3065
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
3066
|
+
tmp1_output.bn(tmp0_desc, 0, value.min);
|
|
3067
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.max == null)) {
|
|
3068
|
+
tmp1_output.in(tmp0_desc, 1, FloatSerializer_getInstance(), value.max);
|
|
3044
3069
|
}
|
|
3045
|
-
if (tmp1_output.
|
|
3046
|
-
tmp1_output.
|
|
3070
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.unit == null)) {
|
|
3071
|
+
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.unit);
|
|
3047
3072
|
}
|
|
3048
|
-
if (tmp1_output.
|
|
3049
|
-
tmp1_output.
|
|
3073
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.scale === false)) {
|
|
3074
|
+
tmp1_output.wm(tmp0_desc, 3, value.scale);
|
|
3050
3075
|
}
|
|
3051
|
-
if (tmp1_output.
|
|
3052
|
-
tmp1_output.
|
|
3076
|
+
if (tmp1_output.mn(tmp0_desc, 4) ? true : !(value.ingredient == null)) {
|
|
3077
|
+
tmp1_output.in(tmp0_desc, 4, StringSerializer_getInstance(), value.ingredient);
|
|
3053
3078
|
}
|
|
3054
|
-
if (tmp1_output.
|
|
3055
|
-
tmp1_output.
|
|
3079
|
+
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.usCust == null)) {
|
|
3080
|
+
tmp1_output.in(tmp0_desc, 5, BooleanSerializer_getInstance(), value.usCust);
|
|
3056
3081
|
}
|
|
3057
|
-
tmp1_output.
|
|
3082
|
+
tmp1_output.rl(tmp0_desc);
|
|
3058
3083
|
};
|
|
3059
|
-
protoOf($serializer_10).
|
|
3060
|
-
return this.
|
|
3084
|
+
protoOf($serializer_10).ti = function (encoder, value) {
|
|
3085
|
+
return this.e1k(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
|
|
3061
3086
|
};
|
|
3062
|
-
protoOf($serializer_10).
|
|
3063
|
-
var tmp0_desc = this.
|
|
3087
|
+
protoOf($serializer_10).ui = function (decoder) {
|
|
3088
|
+
var tmp0_desc = this.d1k_1;
|
|
3064
3089
|
var tmp1_flag = true;
|
|
3065
3090
|
var tmp2_index = 0;
|
|
3066
3091
|
var tmp3_bitMask0 = 0;
|
|
@@ -3070,62 +3095,62 @@
|
|
|
3070
3095
|
var tmp7_local3 = false;
|
|
3071
3096
|
var tmp8_local4 = null;
|
|
3072
3097
|
var tmp9_local5 = null;
|
|
3073
|
-
var tmp10_input = decoder.
|
|
3074
|
-
if (tmp10_input.
|
|
3075
|
-
tmp4_local0 = tmp10_input.
|
|
3098
|
+
var tmp10_input = decoder.ql(tmp0_desc);
|
|
3099
|
+
if (tmp10_input.gm()) {
|
|
3100
|
+
tmp4_local0 = tmp10_input.xl(tmp0_desc, 0);
|
|
3076
3101
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3077
|
-
tmp5_local1 = tmp10_input.
|
|
3102
|
+
tmp5_local1 = tmp10_input.em(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
|
|
3078
3103
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3079
|
-
tmp6_local2 = tmp10_input.
|
|
3104
|
+
tmp6_local2 = tmp10_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3080
3105
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3081
|
-
tmp7_local3 = tmp10_input.
|
|
3106
|
+
tmp7_local3 = tmp10_input.sl(tmp0_desc, 3);
|
|
3082
3107
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3083
|
-
tmp8_local4 = tmp10_input.
|
|
3108
|
+
tmp8_local4 = tmp10_input.em(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
3084
3109
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3085
|
-
tmp9_local5 = tmp10_input.
|
|
3110
|
+
tmp9_local5 = tmp10_input.em(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3086
3111
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3087
3112
|
} else
|
|
3088
3113
|
while (tmp1_flag) {
|
|
3089
|
-
tmp2_index = tmp10_input.
|
|
3114
|
+
tmp2_index = tmp10_input.hm(tmp0_desc);
|
|
3090
3115
|
switch (tmp2_index) {
|
|
3091
3116
|
case -1:
|
|
3092
3117
|
tmp1_flag = false;
|
|
3093
3118
|
break;
|
|
3094
3119
|
case 0:
|
|
3095
|
-
tmp4_local0 = tmp10_input.
|
|
3120
|
+
tmp4_local0 = tmp10_input.xl(tmp0_desc, 0);
|
|
3096
3121
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3097
3122
|
break;
|
|
3098
3123
|
case 1:
|
|
3099
|
-
tmp5_local1 = tmp10_input.
|
|
3124
|
+
tmp5_local1 = tmp10_input.em(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
|
|
3100
3125
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3101
3126
|
break;
|
|
3102
3127
|
case 2:
|
|
3103
|
-
tmp6_local2 = tmp10_input.
|
|
3128
|
+
tmp6_local2 = tmp10_input.em(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3104
3129
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3105
3130
|
break;
|
|
3106
3131
|
case 3:
|
|
3107
|
-
tmp7_local3 = tmp10_input.
|
|
3132
|
+
tmp7_local3 = tmp10_input.sl(tmp0_desc, 3);
|
|
3108
3133
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3109
3134
|
break;
|
|
3110
3135
|
case 4:
|
|
3111
|
-
tmp8_local4 = tmp10_input.
|
|
3136
|
+
tmp8_local4 = tmp10_input.em(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
3112
3137
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3113
3138
|
break;
|
|
3114
3139
|
case 5:
|
|
3115
|
-
tmp9_local5 = tmp10_input.
|
|
3140
|
+
tmp9_local5 = tmp10_input.em(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3116
3141
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3117
3142
|
break;
|
|
3118
3143
|
default:
|
|
3119
3144
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3120
3145
|
}
|
|
3121
3146
|
}
|
|
3122
|
-
tmp10_input.
|
|
3147
|
+
tmp10_input.rl(tmp0_desc);
|
|
3123
3148
|
return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
3124
3149
|
};
|
|
3125
|
-
protoOf($serializer_10).
|
|
3126
|
-
return this.
|
|
3150
|
+
protoOf($serializer_10).si = function () {
|
|
3151
|
+
return this.d1k_1;
|
|
3127
3152
|
};
|
|
3128
|
-
protoOf($serializer_10).
|
|
3153
|
+
protoOf($serializer_10).bt = function () {
|
|
3129
3154
|
// Inline function 'kotlin.arrayOf' call
|
|
3130
3155
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3131
3156
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3139,7 +3164,7 @@
|
|
|
3139
3164
|
}
|
|
3140
3165
|
function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, $this) {
|
|
3141
3166
|
if (!(1 === (1 & seen0))) {
|
|
3142
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().
|
|
3167
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().d1k_1);
|
|
3143
3168
|
}
|
|
3144
3169
|
$this.min = min;
|
|
3145
3170
|
if (0 === (seen0 & 2))
|
|
@@ -3180,43 +3205,43 @@
|
|
|
3180
3205
|
this.ingredient = ingredient;
|
|
3181
3206
|
this.usCust = usCust;
|
|
3182
3207
|
}
|
|
3183
|
-
protoOf(QuantityPlaceholder).
|
|
3208
|
+
protoOf(QuantityPlaceholder).f1k = function () {
|
|
3184
3209
|
return this.min;
|
|
3185
3210
|
};
|
|
3186
|
-
protoOf(QuantityPlaceholder).
|
|
3211
|
+
protoOf(QuantityPlaceholder).g1k = function () {
|
|
3187
3212
|
return this.max;
|
|
3188
3213
|
};
|
|
3189
|
-
protoOf(QuantityPlaceholder).
|
|
3214
|
+
protoOf(QuantityPlaceholder).h1k = function () {
|
|
3190
3215
|
return this.unit;
|
|
3191
3216
|
};
|
|
3192
|
-
protoOf(QuantityPlaceholder).
|
|
3217
|
+
protoOf(QuantityPlaceholder).i1k = function () {
|
|
3193
3218
|
return this.scale;
|
|
3194
3219
|
};
|
|
3195
|
-
protoOf(QuantityPlaceholder).
|
|
3220
|
+
protoOf(QuantityPlaceholder).j1k = function () {
|
|
3196
3221
|
return this.ingredient;
|
|
3197
3222
|
};
|
|
3198
|
-
protoOf(QuantityPlaceholder).
|
|
3223
|
+
protoOf(QuantityPlaceholder).k1k = function () {
|
|
3199
3224
|
return this.usCust;
|
|
3200
3225
|
};
|
|
3201
|
-
protoOf(QuantityPlaceholder).
|
|
3226
|
+
protoOf(QuantityPlaceholder).fd = function () {
|
|
3202
3227
|
return this.min;
|
|
3203
3228
|
};
|
|
3204
|
-
protoOf(QuantityPlaceholder).
|
|
3229
|
+
protoOf(QuantityPlaceholder).gd = function () {
|
|
3205
3230
|
return this.max;
|
|
3206
3231
|
};
|
|
3207
|
-
protoOf(QuantityPlaceholder).
|
|
3232
|
+
protoOf(QuantityPlaceholder).l1k = function () {
|
|
3208
3233
|
return this.unit;
|
|
3209
3234
|
};
|
|
3210
|
-
protoOf(QuantityPlaceholder).
|
|
3235
|
+
protoOf(QuantityPlaceholder).m1k = function () {
|
|
3211
3236
|
return this.scale;
|
|
3212
3237
|
};
|
|
3213
|
-
protoOf(QuantityPlaceholder).
|
|
3238
|
+
protoOf(QuantityPlaceholder).n1k = function () {
|
|
3214
3239
|
return this.ingredient;
|
|
3215
3240
|
};
|
|
3216
|
-
protoOf(QuantityPlaceholder).
|
|
3241
|
+
protoOf(QuantityPlaceholder).o1k = function () {
|
|
3217
3242
|
return this.usCust;
|
|
3218
3243
|
};
|
|
3219
|
-
protoOf(QuantityPlaceholder).
|
|
3244
|
+
protoOf(QuantityPlaceholder).p1k = function (min, max, unit, scale, ingredient, usCust) {
|
|
3220
3245
|
return new QuantityPlaceholder(min, max, unit, scale, ingredient, usCust);
|
|
3221
3246
|
};
|
|
3222
3247
|
protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, ingredient, usCust, $super) {
|
|
@@ -3226,7 +3251,7 @@
|
|
|
3226
3251
|
scale = scale === VOID ? this.scale : scale;
|
|
3227
3252
|
ingredient = ingredient === VOID ? this.ingredient : ingredient;
|
|
3228
3253
|
usCust = usCust === VOID ? this.usCust : usCust;
|
|
3229
|
-
return $super === VOID ? this.
|
|
3254
|
+
return $super === VOID ? this.p1k(min, max, unit, scale, ingredient, usCust) : $super.p1k.call(this, min, max, unit, scale, ingredient, usCust);
|
|
3230
3255
|
};
|
|
3231
3256
|
protoOf(QuantityPlaceholder).toString = function () {
|
|
3232
3257
|
return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ', ingredient=' + this.ingredient + ', usCust=' + this.usCust + ')';
|
|
@@ -3268,34 +3293,34 @@
|
|
|
3268
3293
|
function $serializer_11() {
|
|
3269
3294
|
$serializer_instance_11 = this;
|
|
3270
3295
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.OvenTemperaturePlaceholder', this, 4);
|
|
3271
|
-
tmp0_serialDesc.
|
|
3272
|
-
tmp0_serialDesc.
|
|
3273
|
-
tmp0_serialDesc.
|
|
3274
|
-
tmp0_serialDesc.
|
|
3275
|
-
this.
|
|
3276
|
-
}
|
|
3277
|
-
protoOf($serializer_11).
|
|
3278
|
-
var tmp0_desc = this.
|
|
3279
|
-
var tmp1_output = encoder.
|
|
3280
|
-
if (tmp1_output.
|
|
3281
|
-
tmp1_output.
|
|
3296
|
+
tmp0_serialDesc.zs('temperatureC', true);
|
|
3297
|
+
tmp0_serialDesc.zs('temperatureFanC', true);
|
|
3298
|
+
tmp0_serialDesc.zs('temperatureF', true);
|
|
3299
|
+
tmp0_serialDesc.zs('gasMark', true);
|
|
3300
|
+
this.q1k_1 = tmp0_serialDesc;
|
|
3301
|
+
}
|
|
3302
|
+
protoOf($serializer_11).r1k = function (encoder, value) {
|
|
3303
|
+
var tmp0_desc = this.q1k_1;
|
|
3304
|
+
var tmp1_output = encoder.ql(tmp0_desc);
|
|
3305
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
|
|
3306
|
+
tmp1_output.in(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
|
|
3282
3307
|
}
|
|
3283
|
-
if (tmp1_output.
|
|
3284
|
-
tmp1_output.
|
|
3308
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.temperatureFanC == null)) {
|
|
3309
|
+
tmp1_output.in(tmp0_desc, 1, IntSerializer_getInstance(), value.temperatureFanC);
|
|
3285
3310
|
}
|
|
3286
|
-
if (tmp1_output.
|
|
3287
|
-
tmp1_output.
|
|
3311
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.temperatureF == null)) {
|
|
3312
|
+
tmp1_output.in(tmp0_desc, 2, IntSerializer_getInstance(), value.temperatureF);
|
|
3288
3313
|
}
|
|
3289
|
-
if (tmp1_output.
|
|
3290
|
-
tmp1_output.
|
|
3314
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.gasMark == null)) {
|
|
3315
|
+
tmp1_output.in(tmp0_desc, 3, FloatSerializer_getInstance(), value.gasMark);
|
|
3291
3316
|
}
|
|
3292
|
-
tmp1_output.
|
|
3317
|
+
tmp1_output.rl(tmp0_desc);
|
|
3293
3318
|
};
|
|
3294
|
-
protoOf($serializer_11).
|
|
3295
|
-
return this.
|
|
3319
|
+
protoOf($serializer_11).ti = function (encoder, value) {
|
|
3320
|
+
return this.r1k(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
|
|
3296
3321
|
};
|
|
3297
|
-
protoOf($serializer_11).
|
|
3298
|
-
var tmp0_desc = this.
|
|
3322
|
+
protoOf($serializer_11).ui = function (decoder) {
|
|
3323
|
+
var tmp0_desc = this.q1k_1;
|
|
3299
3324
|
var tmp1_flag = true;
|
|
3300
3325
|
var tmp2_index = 0;
|
|
3301
3326
|
var tmp3_bitMask0 = 0;
|
|
@@ -3303,50 +3328,50 @@
|
|
|
3303
3328
|
var tmp5_local1 = null;
|
|
3304
3329
|
var tmp6_local2 = null;
|
|
3305
3330
|
var tmp7_local3 = null;
|
|
3306
|
-
var tmp8_input = decoder.
|
|
3307
|
-
if (tmp8_input.
|
|
3308
|
-
tmp4_local0 = tmp8_input.
|
|
3331
|
+
var tmp8_input = decoder.ql(tmp0_desc);
|
|
3332
|
+
if (tmp8_input.gm()) {
|
|
3333
|
+
tmp4_local0 = tmp8_input.em(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
3309
3334
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3310
|
-
tmp5_local1 = tmp8_input.
|
|
3335
|
+
tmp5_local1 = tmp8_input.em(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
|
|
3311
3336
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3312
|
-
tmp6_local2 = tmp8_input.
|
|
3337
|
+
tmp6_local2 = tmp8_input.em(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
3313
3338
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3314
|
-
tmp7_local3 = tmp8_input.
|
|
3339
|
+
tmp7_local3 = tmp8_input.em(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
|
|
3315
3340
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3316
3341
|
} else
|
|
3317
3342
|
while (tmp1_flag) {
|
|
3318
|
-
tmp2_index = tmp8_input.
|
|
3343
|
+
tmp2_index = tmp8_input.hm(tmp0_desc);
|
|
3319
3344
|
switch (tmp2_index) {
|
|
3320
3345
|
case -1:
|
|
3321
3346
|
tmp1_flag = false;
|
|
3322
3347
|
break;
|
|
3323
3348
|
case 0:
|
|
3324
|
-
tmp4_local0 = tmp8_input.
|
|
3349
|
+
tmp4_local0 = tmp8_input.em(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
3325
3350
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3326
3351
|
break;
|
|
3327
3352
|
case 1:
|
|
3328
|
-
tmp5_local1 = tmp8_input.
|
|
3353
|
+
tmp5_local1 = tmp8_input.em(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
|
|
3329
3354
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3330
3355
|
break;
|
|
3331
3356
|
case 2:
|
|
3332
|
-
tmp6_local2 = tmp8_input.
|
|
3357
|
+
tmp6_local2 = tmp8_input.em(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
3333
3358
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3334
3359
|
break;
|
|
3335
3360
|
case 3:
|
|
3336
|
-
tmp7_local3 = tmp8_input.
|
|
3361
|
+
tmp7_local3 = tmp8_input.em(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
|
|
3337
3362
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3338
3363
|
break;
|
|
3339
3364
|
default:
|
|
3340
3365
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3341
3366
|
}
|
|
3342
3367
|
}
|
|
3343
|
-
tmp8_input.
|
|
3368
|
+
tmp8_input.rl(tmp0_desc);
|
|
3344
3369
|
return OvenTemperaturePlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
3345
3370
|
};
|
|
3346
|
-
protoOf($serializer_11).
|
|
3347
|
-
return this.
|
|
3371
|
+
protoOf($serializer_11).si = function () {
|
|
3372
|
+
return this.q1k_1;
|
|
3348
3373
|
};
|
|
3349
|
-
protoOf($serializer_11).
|
|
3374
|
+
protoOf($serializer_11).bt = function () {
|
|
3350
3375
|
// Inline function 'kotlin.arrayOf' call
|
|
3351
3376
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3352
3377
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3360,7 +3385,7 @@
|
|
|
3360
3385
|
}
|
|
3361
3386
|
function OvenTemperaturePlaceholder_init_$Init$(seen0, temperatureC, temperatureFanC, temperatureF, gasMark, serializationConstructorMarker, $this) {
|
|
3362
3387
|
if (!(0 === (0 & seen0))) {
|
|
3363
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_11().
|
|
3388
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_11().q1k_1);
|
|
3364
3389
|
}
|
|
3365
3390
|
if (0 === (seen0 & 1))
|
|
3366
3391
|
$this.temperatureC = null;
|
|
@@ -3393,31 +3418,31 @@
|
|
|
3393
3418
|
this.temperatureF = temperatureF;
|
|
3394
3419
|
this.gasMark = gasMark;
|
|
3395
3420
|
}
|
|
3396
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3421
|
+
protoOf(OvenTemperaturePlaceholder).s1k = function () {
|
|
3397
3422
|
return this.temperatureC;
|
|
3398
3423
|
};
|
|
3399
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3424
|
+
protoOf(OvenTemperaturePlaceholder).t1k = function () {
|
|
3400
3425
|
return this.temperatureFanC;
|
|
3401
3426
|
};
|
|
3402
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3427
|
+
protoOf(OvenTemperaturePlaceholder).u1k = function () {
|
|
3403
3428
|
return this.temperatureF;
|
|
3404
3429
|
};
|
|
3405
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3430
|
+
protoOf(OvenTemperaturePlaceholder).v1k = function () {
|
|
3406
3431
|
return this.gasMark;
|
|
3407
3432
|
};
|
|
3408
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3433
|
+
protoOf(OvenTemperaturePlaceholder).fd = function () {
|
|
3409
3434
|
return this.temperatureC;
|
|
3410
3435
|
};
|
|
3411
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3436
|
+
protoOf(OvenTemperaturePlaceholder).gd = function () {
|
|
3412
3437
|
return this.temperatureFanC;
|
|
3413
3438
|
};
|
|
3414
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3439
|
+
protoOf(OvenTemperaturePlaceholder).l1k = function () {
|
|
3415
3440
|
return this.temperatureF;
|
|
3416
3441
|
};
|
|
3417
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3442
|
+
protoOf(OvenTemperaturePlaceholder).m1k = function () {
|
|
3418
3443
|
return this.gasMark;
|
|
3419
3444
|
};
|
|
3420
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3445
|
+
protoOf(OvenTemperaturePlaceholder).w1k = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
|
|
3421
3446
|
return new OvenTemperaturePlaceholder(temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3422
3447
|
};
|
|
3423
3448
|
protoOf(OvenTemperaturePlaceholder).copy = function (temperatureC, temperatureFanC, temperatureF, gasMark, $super) {
|
|
@@ -3425,7 +3450,7 @@
|
|
|
3425
3450
|
temperatureFanC = temperatureFanC === VOID ? this.temperatureFanC : temperatureFanC;
|
|
3426
3451
|
temperatureF = temperatureF === VOID ? this.temperatureF : temperatureF;
|
|
3427
3452
|
gasMark = gasMark === VOID ? this.gasMark : gasMark;
|
|
3428
|
-
return $super === VOID ? this.
|
|
3453
|
+
return $super === VOID ? this.w1k(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.w1k.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3429
3454
|
};
|
|
3430
3455
|
protoOf(OvenTemperaturePlaceholder).toString = function () {
|
|
3431
3456
|
return 'OvenTemperaturePlaceholder(temperatureC=' + this.temperatureC + ', temperatureFanC=' + this.temperatureFanC + ', temperatureF=' + this.temperatureF + ', gasMark=' + this.gasMark + ')';
|
|
@@ -3510,25 +3535,25 @@
|
|
|
3510
3535
|
Enum.call(this, name, ordinal);
|
|
3511
3536
|
}
|
|
3512
3537
|
function MeasurementUnit(singular, plural, symbol, symbolPlural, unitType, measuringSystems, quantity) {
|
|
3513
|
-
this.
|
|
3514
|
-
this.
|
|
3515
|
-
this.
|
|
3516
|
-
this.
|
|
3517
|
-
this.
|
|
3518
|
-
this.
|
|
3519
|
-
this.
|
|
3538
|
+
this.a1g_1 = singular;
|
|
3539
|
+
this.b1g_1 = plural;
|
|
3540
|
+
this.c1g_1 = symbol;
|
|
3541
|
+
this.d1g_1 = symbolPlural;
|
|
3542
|
+
this.e1g_1 = unitType;
|
|
3543
|
+
this.f1g_1 = measuringSystems;
|
|
3544
|
+
this.g1g_1 = quantity;
|
|
3520
3545
|
}
|
|
3521
3546
|
protoOf(MeasurementUnit).toString = function () {
|
|
3522
|
-
return 'MeasurementUnit(singular=' + this.
|
|
3547
|
+
return 'MeasurementUnit(singular=' + this.a1g_1 + ', plural=' + this.b1g_1 + ', symbol=' + this.c1g_1 + ', symbolPlural=' + this.d1g_1 + ', unitType=' + toString(this.e1g_1) + ', measuringSystems=' + toString_0(this.f1g_1) + ', quantity=' + this.g1g_1 + ')';
|
|
3523
3548
|
};
|
|
3524
3549
|
protoOf(MeasurementUnit).hashCode = function () {
|
|
3525
|
-
var result = getStringHashCode(this.
|
|
3526
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3527
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3528
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3529
|
-
result = imul(result, 31) + (this.
|
|
3530
|
-
result = imul(result, 31) + hashCode(this.
|
|
3531
|
-
result = imul(result, 31) + getNumberHashCode(this.
|
|
3550
|
+
var result = getStringHashCode(this.a1g_1);
|
|
3551
|
+
result = imul(result, 31) + getStringHashCode(this.b1g_1) | 0;
|
|
3552
|
+
result = imul(result, 31) + getStringHashCode(this.c1g_1) | 0;
|
|
3553
|
+
result = imul(result, 31) + getStringHashCode(this.d1g_1) | 0;
|
|
3554
|
+
result = imul(result, 31) + (this.e1g_1 == null ? 0 : this.e1g_1.hashCode()) | 0;
|
|
3555
|
+
result = imul(result, 31) + hashCode(this.f1g_1) | 0;
|
|
3556
|
+
result = imul(result, 31) + getNumberHashCode(this.g1g_1) | 0;
|
|
3532
3557
|
return result;
|
|
3533
3558
|
};
|
|
3534
3559
|
protoOf(MeasurementUnit).equals = function (other) {
|
|
@@ -3536,19 +3561,19 @@
|
|
|
3536
3561
|
return true;
|
|
3537
3562
|
if (!(other instanceof MeasurementUnit))
|
|
3538
3563
|
return false;
|
|
3539
|
-
if (!(this.
|
|
3564
|
+
if (!(this.a1g_1 === other.a1g_1))
|
|
3540
3565
|
return false;
|
|
3541
|
-
if (!(this.
|
|
3566
|
+
if (!(this.b1g_1 === other.b1g_1))
|
|
3542
3567
|
return false;
|
|
3543
|
-
if (!(this.
|
|
3568
|
+
if (!(this.c1g_1 === other.c1g_1))
|
|
3544
3569
|
return false;
|
|
3545
|
-
if (!(this.
|
|
3570
|
+
if (!(this.d1g_1 === other.d1g_1))
|
|
3546
3571
|
return false;
|
|
3547
|
-
if (!equals(this.
|
|
3572
|
+
if (!equals(this.e1g_1, other.e1g_1))
|
|
3548
3573
|
return false;
|
|
3549
|
-
if (!equals(this.
|
|
3574
|
+
if (!equals(this.f1g_1, other.f1g_1))
|
|
3550
3575
|
return false;
|
|
3551
|
-
if (!equals(this.
|
|
3576
|
+
if (!equals(this.g1g_1, other.g1g_1))
|
|
3552
3577
|
return false;
|
|
3553
3578
|
return true;
|
|
3554
3579
|
};
|
|
@@ -3557,37 +3582,37 @@
|
|
|
3557
3582
|
var tmp = this;
|
|
3558
3583
|
var tmp0_unitType = UnitType_VOLUME_getInstance();
|
|
3559
3584
|
var tmp1_measuringSystems = setOf([USCustomary_instance, Imperial_instance]);
|
|
3560
|
-
tmp.
|
|
3561
|
-
this.
|
|
3562
|
-
this.
|
|
3563
|
-
this.
|
|
3564
|
-
this.
|
|
3565
|
-
this.
|
|
3566
|
-
this.
|
|
3567
|
-
this.
|
|
3568
|
-
this.
|
|
3569
|
-
this.
|
|
3570
|
-
this.
|
|
3571
|
-
this.
|
|
3572
|
-
this.
|
|
3573
|
-
this.
|
|
3574
|
-
this.
|
|
3575
|
-
this.
|
|
3576
|
-
this.
|
|
3577
|
-
this.
|
|
3578
|
-
this.
|
|
3579
|
-
this.
|
|
3580
|
-
this.
|
|
3581
|
-
this.
|
|
3585
|
+
tmp.m1e_1 = new MeasurementUnit('stick', 'sticks', 'stick', 'sticks', tmp0_unitType, tmp1_measuringSystems, 118.294);
|
|
3586
|
+
this.n1e_1 = new MeasurementUnit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3587
|
+
this.o1e_1 = new MeasurementUnit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), setOf_0(Metric_instance), 1000.0);
|
|
3588
|
+
this.p1e_1 = new MeasurementUnit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 28.3495);
|
|
3589
|
+
this.q1e_1 = new MeasurementUnit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 16 * this.p1e_1.g1g_1);
|
|
3590
|
+
this.r1e_1 = new MeasurementUnit('millilitre', 'millilitres', 'ml', 'ml', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3591
|
+
this.s1e_1 = new MeasurementUnit('centilitre', 'centilitres', 'cl', 'cl', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 10.0);
|
|
3592
|
+
this.t1e_1 = new MeasurementUnit('litre', 'litres', 'l', 'l', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 1000.0);
|
|
3593
|
+
this.u1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 5.0);
|
|
3594
|
+
this.v1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 15.0);
|
|
3595
|
+
this.w1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 4.9289);
|
|
3596
|
+
this.x1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 3 * this.w1e_1.g1g_1);
|
|
3597
|
+
this.y1e_1 = new MeasurementUnit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), setOf_0(Imperial_instance), 6 * this.w1e_1.g1g_1);
|
|
3598
|
+
this.z1e_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf_0(USCustomary_instance), 48 * this.w1e_1.g1g_1);
|
|
3599
|
+
this.a1f_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 250.0);
|
|
3600
|
+
this.b1f_1 = new MeasurementUnit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.z1e_1.g1g_1);
|
|
3601
|
+
this.c1f_1 = new MeasurementUnit('quart', 'quarts', 'qt', 'qts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.b1f_1.g1g_1);
|
|
3602
|
+
this.d1f_1 = new MeasurementUnit('gallon', 'gallons', 'gal', 'gals', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 4 * this.c1f_1.g1g_1);
|
|
3603
|
+
this.e1f_1 = new MeasurementUnit('millimetre', 'millimetres', 'mm', 'mm', UnitType_LENGTH_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3604
|
+
this.f1f_1 = new MeasurementUnit('centimetre', 'centimetres', 'cm', 'cm', UnitType_LENGTH_getInstance(), setOf_0(Metric_instance), 10.0);
|
|
3605
|
+
this.g1f_1 = new MeasurementUnit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), setOf_0(Imperial_instance), 25.4);
|
|
3606
|
+
this.h1f_1 = listOf([this.m1e_1, this.n1e_1, this.o1e_1, this.p1e_1, this.q1e_1, this.r1e_1, this.s1e_1, this.t1e_1, this.u1e_1, this.v1e_1, this.w1e_1, this.x1e_1, this.y1e_1, this.z1e_1, this.a1f_1, this.b1f_1, this.c1f_1, this.d1f_1, this.e1f_1, this.f1f_1, this.g1f_1]);
|
|
3582
3607
|
var tmp_0 = this;
|
|
3583
3608
|
// Inline function 'kotlin.collections.filter' call
|
|
3584
|
-
var tmp0 = this.
|
|
3609
|
+
var tmp0 = this.h1f_1;
|
|
3585
3610
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3586
3611
|
var destination = ArrayList_init_$Create$_0();
|
|
3587
3612
|
var _iterator__ex2g4s = tmp0.q();
|
|
3588
3613
|
while (_iterator__ex2g4s.r()) {
|
|
3589
3614
|
var element = _iterator__ex2g4s.s();
|
|
3590
|
-
if (element.
|
|
3615
|
+
if (element.f1g_1.x(Metric_instance)) {
|
|
3591
3616
|
destination.u(element);
|
|
3592
3617
|
}
|
|
3593
3618
|
}
|
|
@@ -3599,8 +3624,8 @@
|
|
|
3599
3624
|
var _iterator__ex2g4s_0 = destination.q();
|
|
3600
3625
|
while (_iterator__ex2g4s_0.r()) {
|
|
3601
3626
|
var element_0 = _iterator__ex2g4s_0.s();
|
|
3602
|
-
var tmp$ret$7 = element_0.
|
|
3603
|
-
destination_0.
|
|
3627
|
+
var tmp$ret$7 = element_0.c1g_1;
|
|
3628
|
+
destination_0.n2(tmp$ret$7, element_0);
|
|
3604
3629
|
}
|
|
3605
3630
|
var tmp_1 = destination_0;
|
|
3606
3631
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -3610,8 +3635,8 @@
|
|
|
3610
3635
|
var _iterator__ex2g4s_1 = destination.q();
|
|
3611
3636
|
while (_iterator__ex2g4s_1.r()) {
|
|
3612
3637
|
var element_1 = _iterator__ex2g4s_1.s();
|
|
3613
|
-
var tmp$ret$10 = element_1.
|
|
3614
|
-
destination_1.
|
|
3638
|
+
var tmp$ret$10 = element_1.d1g_1;
|
|
3639
|
+
destination_1.n2(tmp$ret$10, element_1);
|
|
3615
3640
|
}
|
|
3616
3641
|
var tmp_2 = plus(tmp_1, destination_1);
|
|
3617
3642
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -3621,8 +3646,8 @@
|
|
|
3621
3646
|
var _iterator__ex2g4s_2 = destination.q();
|
|
3622
3647
|
while (_iterator__ex2g4s_2.r()) {
|
|
3623
3648
|
var element_2 = _iterator__ex2g4s_2.s();
|
|
3624
|
-
var tmp$ret$13 = element_2.
|
|
3625
|
-
destination_2.
|
|
3649
|
+
var tmp$ret$13 = element_2.a1g_1;
|
|
3650
|
+
destination_2.n2(tmp$ret$13, element_2);
|
|
3626
3651
|
}
|
|
3627
3652
|
var tmp_3 = plus(tmp_2, destination_2);
|
|
3628
3653
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -3632,19 +3657,19 @@
|
|
|
3632
3657
|
var _iterator__ex2g4s_3 = destination.q();
|
|
3633
3658
|
while (_iterator__ex2g4s_3.r()) {
|
|
3634
3659
|
var element_3 = _iterator__ex2g4s_3.s();
|
|
3635
|
-
var tmp$ret$16 = element_3.
|
|
3636
|
-
destination_3.
|
|
3660
|
+
var tmp$ret$16 = element_3.b1g_1;
|
|
3661
|
+
destination_3.n2(tmp$ret$16, element_3);
|
|
3637
3662
|
}
|
|
3638
|
-
tmp_0.
|
|
3663
|
+
tmp_0.i1f_1 = plus(tmp_3, destination_3);
|
|
3639
3664
|
var tmp_4 = this;
|
|
3640
3665
|
// Inline function 'kotlin.collections.filter' call
|
|
3641
|
-
var tmp0_0 = this.
|
|
3666
|
+
var tmp0_0 = this.h1f_1;
|
|
3642
3667
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3643
3668
|
var destination_4 = ArrayList_init_$Create$_0();
|
|
3644
3669
|
var _iterator__ex2g4s_4 = tmp0_0.q();
|
|
3645
3670
|
while (_iterator__ex2g4s_4.r()) {
|
|
3646
3671
|
var element_4 = _iterator__ex2g4s_4.s();
|
|
3647
|
-
if (element_4.
|
|
3672
|
+
if (element_4.f1g_1.x(Imperial_instance)) {
|
|
3648
3673
|
destination_4.u(element_4);
|
|
3649
3674
|
}
|
|
3650
3675
|
}
|
|
@@ -3656,8 +3681,8 @@
|
|
|
3656
3681
|
var _iterator__ex2g4s_5 = destination_4.q();
|
|
3657
3682
|
while (_iterator__ex2g4s_5.r()) {
|
|
3658
3683
|
var element_5 = _iterator__ex2g4s_5.s();
|
|
3659
|
-
var tmp$ret$24 = element_5.
|
|
3660
|
-
destination_5.
|
|
3684
|
+
var tmp$ret$24 = element_5.c1g_1;
|
|
3685
|
+
destination_5.n2(tmp$ret$24, element_5);
|
|
3661
3686
|
}
|
|
3662
3687
|
var tmp_5 = destination_5;
|
|
3663
3688
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -3667,8 +3692,8 @@
|
|
|
3667
3692
|
var _iterator__ex2g4s_6 = destination_4.q();
|
|
3668
3693
|
while (_iterator__ex2g4s_6.r()) {
|
|
3669
3694
|
var element_6 = _iterator__ex2g4s_6.s();
|
|
3670
|
-
var tmp$ret$27 = element_6.
|
|
3671
|
-
destination_6.
|
|
3695
|
+
var tmp$ret$27 = element_6.d1g_1;
|
|
3696
|
+
destination_6.n2(tmp$ret$27, element_6);
|
|
3672
3697
|
}
|
|
3673
3698
|
var tmp_6 = plus(tmp_5, destination_6);
|
|
3674
3699
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -3678,8 +3703,8 @@
|
|
|
3678
3703
|
var _iterator__ex2g4s_7 = destination_4.q();
|
|
3679
3704
|
while (_iterator__ex2g4s_7.r()) {
|
|
3680
3705
|
var element_7 = _iterator__ex2g4s_7.s();
|
|
3681
|
-
var tmp$ret$30 = element_7.
|
|
3682
|
-
destination_7.
|
|
3706
|
+
var tmp$ret$30 = element_7.a1g_1;
|
|
3707
|
+
destination_7.n2(tmp$ret$30, element_7);
|
|
3683
3708
|
}
|
|
3684
3709
|
var tmp_7 = plus(tmp_6, destination_7);
|
|
3685
3710
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -3689,19 +3714,19 @@
|
|
|
3689
3714
|
var _iterator__ex2g4s_8 = destination_4.q();
|
|
3690
3715
|
while (_iterator__ex2g4s_8.r()) {
|
|
3691
3716
|
var element_8 = _iterator__ex2g4s_8.s();
|
|
3692
|
-
var tmp$ret$33 = element_8.
|
|
3693
|
-
destination_8.
|
|
3717
|
+
var tmp$ret$33 = element_8.b1g_1;
|
|
3718
|
+
destination_8.n2(tmp$ret$33, element_8);
|
|
3694
3719
|
}
|
|
3695
|
-
tmp_4.
|
|
3720
|
+
tmp_4.j1f_1 = plus(tmp_7, destination_8);
|
|
3696
3721
|
var tmp_8 = this;
|
|
3697
3722
|
// Inline function 'kotlin.collections.filter' call
|
|
3698
|
-
var tmp0_1 = this.
|
|
3723
|
+
var tmp0_1 = this.h1f_1;
|
|
3699
3724
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3700
3725
|
var destination_9 = ArrayList_init_$Create$_0();
|
|
3701
3726
|
var _iterator__ex2g4s_9 = tmp0_1.q();
|
|
3702
3727
|
while (_iterator__ex2g4s_9.r()) {
|
|
3703
3728
|
var element_9 = _iterator__ex2g4s_9.s();
|
|
3704
|
-
if (element_9.
|
|
3729
|
+
if (element_9.f1g_1.x(USCustomary_instance)) {
|
|
3705
3730
|
destination_9.u(element_9);
|
|
3706
3731
|
}
|
|
3707
3732
|
}
|
|
@@ -3713,8 +3738,8 @@
|
|
|
3713
3738
|
var _iterator__ex2g4s_10 = destination_9.q();
|
|
3714
3739
|
while (_iterator__ex2g4s_10.r()) {
|
|
3715
3740
|
var element_10 = _iterator__ex2g4s_10.s();
|
|
3716
|
-
var tmp$ret$41 = element_10.
|
|
3717
|
-
destination_10.
|
|
3741
|
+
var tmp$ret$41 = element_10.c1g_1;
|
|
3742
|
+
destination_10.n2(tmp$ret$41, element_10);
|
|
3718
3743
|
}
|
|
3719
3744
|
var tmp_9 = destination_10;
|
|
3720
3745
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -3724,8 +3749,8 @@
|
|
|
3724
3749
|
var _iterator__ex2g4s_11 = destination_9.q();
|
|
3725
3750
|
while (_iterator__ex2g4s_11.r()) {
|
|
3726
3751
|
var element_11 = _iterator__ex2g4s_11.s();
|
|
3727
|
-
var tmp$ret$44 = element_11.
|
|
3728
|
-
destination_11.
|
|
3752
|
+
var tmp$ret$44 = element_11.d1g_1;
|
|
3753
|
+
destination_11.n2(tmp$ret$44, element_11);
|
|
3729
3754
|
}
|
|
3730
3755
|
var tmp_10 = plus(tmp_9, destination_11);
|
|
3731
3756
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -3735,8 +3760,8 @@
|
|
|
3735
3760
|
var _iterator__ex2g4s_12 = destination_9.q();
|
|
3736
3761
|
while (_iterator__ex2g4s_12.r()) {
|
|
3737
3762
|
var element_12 = _iterator__ex2g4s_12.s();
|
|
3738
|
-
var tmp$ret$47 = element_12.
|
|
3739
|
-
destination_12.
|
|
3763
|
+
var tmp$ret$47 = element_12.a1g_1;
|
|
3764
|
+
destination_12.n2(tmp$ret$47, element_12);
|
|
3740
3765
|
}
|
|
3741
3766
|
var tmp_11 = plus(tmp_10, destination_12);
|
|
3742
3767
|
// Inline function 'kotlin.collections.associateBy' call
|
|
@@ -3746,15 +3771,15 @@
|
|
|
3746
3771
|
var _iterator__ex2g4s_13 = destination_9.q();
|
|
3747
3772
|
while (_iterator__ex2g4s_13.r()) {
|
|
3748
3773
|
var element_13 = _iterator__ex2g4s_13.s();
|
|
3749
|
-
var tmp$ret$50 = element_13.
|
|
3750
|
-
destination_13.
|
|
3774
|
+
var tmp$ret$50 = element_13.b1g_1;
|
|
3775
|
+
destination_13.n2(tmp$ret$50, element_13);
|
|
3751
3776
|
}
|
|
3752
|
-
tmp_8.
|
|
3777
|
+
tmp_8.k1f_1 = plus(tmp_11, destination_13);
|
|
3753
3778
|
}
|
|
3754
|
-
protoOf(Units).
|
|
3755
|
-
var tmp0_elvis_lhs = this.
|
|
3756
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.
|
|
3757
|
-
var unit = tmp1_elvis_lhs == null ? this.
|
|
3779
|
+
protoOf(Units).l1f = function (name) {
|
|
3780
|
+
var tmp0_elvis_lhs = this.i1f_1.j2(name);
|
|
3781
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.j1f_1.j2(name) : tmp0_elvis_lhs;
|
|
3782
|
+
var unit = tmp1_elvis_lhs == null ? this.k1f_1.j2(name) : tmp1_elvis_lhs;
|
|
3758
3783
|
if (!(unit == null)) {
|
|
3759
3784
|
return unit;
|
|
3760
3785
|
} else {
|
|
@@ -3783,40 +3808,40 @@
|
|
|
3783
3808
|
}
|
|
3784
3809
|
function UnitConversions() {
|
|
3785
3810
|
UnitConversions_instance = this;
|
|
3786
|
-
this.
|
|
3787
|
-
this.
|
|
3788
|
-
this.
|
|
3789
|
-
this.
|
|
3790
|
-
this.
|
|
3791
|
-
this.
|
|
3792
|
-
this.
|
|
3793
|
-
this.
|
|
3794
|
-
this.
|
|
3795
|
-
}
|
|
3796
|
-
protoOf(UnitConversions).
|
|
3811
|
+
this.q1f_1 = 0.00422675;
|
|
3812
|
+
this.r1f_1 = 0.202884;
|
|
3813
|
+
this.s1f_1 = setOf([Units_getInstance().u1e_1, Units_getInstance().v1e_1, Units_getInstance().a1f_1]);
|
|
3814
|
+
this.t1f_1 = listOf([to(0.0, Units_getInstance().n1e_1), to(1000.0, Units_getInstance().o1e_1), to(0.0, Units_getInstance().r1e_1), to(2.5, Units_getInstance().u1e_1), to(15.0, Units_getInstance().v1e_1), to(125.0, Units_getInstance().a1f_1), to(1000.0, Units_getInstance().t1e_1), to(0.0, Units_getInstance().e1f_1), to(10.0, Units_getInstance().f1f_1)]);
|
|
3815
|
+
this.u1f_1 = listOf([to(0.0, Units_getInstance().n1e_1), to(1000.0, Units_getInstance().o1e_1), to(0.0, Units_getInstance().r1e_1), to(1000.0, Units_getInstance().t1e_1), to(0.0, Units_getInstance().e1f_1), to(10.0, Units_getInstance().f1f_1)]);
|
|
3816
|
+
this.v1f_1 = listOf_0(to(0.0, Units_getInstance().m1e_1));
|
|
3817
|
+
this.w1f_1 = listOf([to(0.0, Units_getInstance().p1e_1), to(16.0 * Units_getInstance().p1e_1.g1g_1, Units_getInstance().q1e_1), to(0.0, Units_getInstance().w1e_1), to(3.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().x1e_1), to(4.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().w1e_1), to(6.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().x1e_1), to(7.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().w1e_1), to(9.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().x1e_1), to(10.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().w1e_1), to(12.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().z1e_1), to(768.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().d1f_1), to(0.0, Units_getInstance().g1f_1)]);
|
|
3818
|
+
this.x1f_1 = listOf([to(0.0, Units_getInstance().p1e_1), to(16.0 * Units_getInstance().p1e_1.g1g_1, Units_getInstance().q1e_1), to(0.0, Units_getInstance().w1e_1), to(3.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().x1e_1), to(12.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().z1e_1), to(0.0, Units_getInstance().g1f_1)]);
|
|
3819
|
+
this.y1f_1 = listOf([to(0.0, Units_getInstance().p1e_1), to(16.0 * Units_getInstance().p1e_1.g1g_1, Units_getInstance().q1e_1), to(0.0, Units_getInstance().w1e_1), to(3.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().x1e_1), to(6.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().y1e_1), to(768.0 * Units_getInstance().w1e_1.g1g_1, Units_getInstance().d1f_1), to(0.0, Units_getInstance().g1f_1)]);
|
|
3820
|
+
}
|
|
3821
|
+
protoOf(UnitConversions).x1k = function (amount) {
|
|
3797
3822
|
var tmp;
|
|
3798
|
-
if (!(amount.
|
|
3799
|
-
var tmp_0 = amount.
|
|
3800
|
-
var tmp0_safe_receiver = amount.
|
|
3823
|
+
if (!(amount.b1e_1 == null)) {
|
|
3824
|
+
var tmp_0 = amount.z1d_1 * amount.b1e_1.g1g_1;
|
|
3825
|
+
var tmp0_safe_receiver = amount.a1e_1;
|
|
3801
3826
|
var tmp_1;
|
|
3802
3827
|
if (tmp0_safe_receiver == null) {
|
|
3803
3828
|
tmp_1 = null;
|
|
3804
3829
|
} else {
|
|
3805
3830
|
// Inline function 'kotlin.let' call
|
|
3806
|
-
tmp_1 = tmp0_safe_receiver * amount.
|
|
3831
|
+
tmp_1 = tmp0_safe_receiver * amount.b1e_1.g1g_1;
|
|
3807
3832
|
}
|
|
3808
3833
|
var tmp_2 = tmp_1;
|
|
3809
|
-
var tmp1_subject = amount.
|
|
3810
|
-
var tmp0 = tmp1_subject == null ? -1 : tmp1_subject.
|
|
3811
|
-
tmp = amount.
|
|
3834
|
+
var tmp1_subject = amount.b1e_1.e1g_1;
|
|
3835
|
+
var tmp0 = tmp1_subject == null ? -1 : tmp1_subject.r2_1;
|
|
3836
|
+
tmp = amount.e1e(tmp_0, tmp_2, tmp0 === 2 ? Units_getInstance().e1f_1 : tmp0 === 1 ? Units_getInstance().r1e_1 : tmp0 === 0 ? Units_getInstance().n1e_1 : amount.b1e_1);
|
|
3812
3837
|
} else {
|
|
3813
3838
|
tmp = amount;
|
|
3814
3839
|
}
|
|
3815
3840
|
return tmp;
|
|
3816
3841
|
};
|
|
3817
|
-
protoOf(UnitConversions).
|
|
3818
|
-
var tmp = amount.
|
|
3819
|
-
var tmp0_safe_receiver = amount.
|
|
3842
|
+
protoOf(UnitConversions).z1f = function (amount, target, factor, density) {
|
|
3843
|
+
var tmp = amount.z1d_1 * factor;
|
|
3844
|
+
var tmp0_safe_receiver = amount.a1e_1;
|
|
3820
3845
|
var tmp_0;
|
|
3821
3846
|
if (tmp0_safe_receiver == null) {
|
|
3822
3847
|
tmp_0 = null;
|
|
@@ -3824,33 +3849,33 @@
|
|
|
3824
3849
|
// Inline function 'kotlin.let' call
|
|
3825
3850
|
tmp_0 = tmp0_safe_receiver * factor;
|
|
3826
3851
|
}
|
|
3827
|
-
var scaledAmount = amount.
|
|
3828
|
-
if (scaledAmount.
|
|
3852
|
+
var scaledAmount = amount.e1e(tmp, tmp_0);
|
|
3853
|
+
if (scaledAmount.b1e_1 == null || (equals(target, Metric_instance) && factor === 1.0)) {
|
|
3829
3854
|
return scaledAmount;
|
|
3830
3855
|
}
|
|
3831
|
-
var smallestUnitAmount = this.
|
|
3856
|
+
var smallestUnitAmount = this.x1k(scaledAmount);
|
|
3832
3857
|
var tmp_1;
|
|
3833
3858
|
if (equals(target, Metric_instance)) {
|
|
3834
|
-
tmp_1 = contains(this.
|
|
3859
|
+
tmp_1 = contains(this.s1f_1, amount.b1e_1) ? this.t1f_1 : this.u1f_1;
|
|
3835
3860
|
} else if (equals(target, USCustomary_instance)) {
|
|
3836
3861
|
var tmp_2;
|
|
3837
3862
|
var tmp_3;
|
|
3838
|
-
if (amount.
|
|
3839
|
-
var tmp2_safe_receiver = amount.
|
|
3840
|
-
tmp_3 = equals(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3863
|
+
if (amount.c1e_1 === true) {
|
|
3864
|
+
var tmp2_safe_receiver = amount.b1e_1;
|
|
3865
|
+
tmp_3 = equals(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.e1g_1, UnitType_WEIGHT_getInstance());
|
|
3841
3866
|
} else {
|
|
3842
3867
|
tmp_3 = false;
|
|
3843
3868
|
}
|
|
3844
3869
|
if (tmp_3) {
|
|
3845
|
-
tmp_2 = this.
|
|
3870
|
+
tmp_2 = this.x1f_1;
|
|
3846
3871
|
} else {
|
|
3847
|
-
tmp_2 = this.
|
|
3872
|
+
tmp_2 = this.w1f_1;
|
|
3848
3873
|
}
|
|
3849
3874
|
tmp_1 = tmp_2;
|
|
3850
3875
|
} else if (equals(target, Imperial_instance)) {
|
|
3851
|
-
tmp_1 = this.
|
|
3876
|
+
tmp_1 = this.y1f_1;
|
|
3852
3877
|
} else if (equals(target, Butter_instance)) {
|
|
3853
|
-
tmp_1 = this.
|
|
3878
|
+
tmp_1 = this.v1f_1;
|
|
3854
3879
|
} else {
|
|
3855
3880
|
noWhenBranchMatchedException();
|
|
3856
3881
|
}
|
|
@@ -3861,17 +3886,17 @@
|
|
|
3861
3886
|
tmp_5 = true;
|
|
3862
3887
|
} else {
|
|
3863
3888
|
var tmp_6;
|
|
3864
|
-
if (amount.
|
|
3865
|
-
var tmp4_safe_receiver = amount.
|
|
3866
|
-
tmp_6 = equals(tmp4_safe_receiver == null ? null : tmp4_safe_receiver.
|
|
3889
|
+
if (amount.c1e_1 === true && equals(target, USCustomary_instance) && !(density == null)) {
|
|
3890
|
+
var tmp4_safe_receiver = amount.b1e_1;
|
|
3891
|
+
tmp_6 = equals(tmp4_safe_receiver == null ? null : tmp4_safe_receiver.e1g_1, UnitType_WEIGHT_getInstance());
|
|
3867
3892
|
} else {
|
|
3868
3893
|
tmp_6 = false;
|
|
3869
3894
|
}
|
|
3870
3895
|
tmp_5 = tmp_6;
|
|
3871
3896
|
}
|
|
3872
3897
|
if (tmp_5) {
|
|
3873
|
-
var tmp_7 = smallestUnitAmount.
|
|
3874
|
-
var tmp3_safe_receiver = smallestUnitAmount.
|
|
3898
|
+
var tmp_7 = smallestUnitAmount.z1d_1 / density;
|
|
3899
|
+
var tmp3_safe_receiver = smallestUnitAmount.a1e_1;
|
|
3875
3900
|
var tmp_8;
|
|
3876
3901
|
if (tmp3_safe_receiver == null) {
|
|
3877
3902
|
tmp_8 = null;
|
|
@@ -3879,7 +3904,7 @@
|
|
|
3879
3904
|
// Inline function 'kotlin.let' call
|
|
3880
3905
|
tmp_8 = tmp3_safe_receiver / density;
|
|
3881
3906
|
}
|
|
3882
|
-
tmp_4 = new Amount(tmp_7, tmp_8, Units_getInstance().
|
|
3907
|
+
tmp_4 = new Amount(tmp_7, tmp_8, Units_getInstance().r1e_1);
|
|
3883
3908
|
} else {
|
|
3884
3909
|
tmp_4 = smallestUnitAmount;
|
|
3885
3910
|
}
|
|
@@ -3890,18 +3915,18 @@
|
|
|
3890
3915
|
var _iterator__ex2g4s = ladder.q();
|
|
3891
3916
|
while (_iterator__ex2g4s.r()) {
|
|
3892
3917
|
var element = _iterator__ex2g4s.s();
|
|
3893
|
-
var tmp0_safe_receiver_0 = amountToConvert.
|
|
3894
|
-
if (equals(element.
|
|
3918
|
+
var tmp0_safe_receiver_0 = amountToConvert.b1e_1;
|
|
3919
|
+
if (equals(element.ed_1.e1g_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.e1g_1)) {
|
|
3895
3920
|
destination.u(element);
|
|
3896
3921
|
}
|
|
3897
3922
|
}
|
|
3898
3923
|
var tmp$ret$7;
|
|
3899
3924
|
$l$block: {
|
|
3900
3925
|
// Inline function 'kotlin.collections.lastOrNull' call
|
|
3901
|
-
var iterator = destination.
|
|
3902
|
-
while (iterator.
|
|
3903
|
-
var element_0 = iterator.
|
|
3904
|
-
if (amountToConvert.
|
|
3926
|
+
var iterator = destination.d2(destination.w());
|
|
3927
|
+
while (iterator.x3()) {
|
|
3928
|
+
var element_0 = iterator.z3();
|
|
3929
|
+
if (amountToConvert.z1d_1 >= element_0.dd_1) {
|
|
3905
3930
|
tmp$ret$7 = element_0;
|
|
3906
3931
|
break $l$block;
|
|
3907
3932
|
}
|
|
@@ -3909,20 +3934,20 @@
|
|
|
3909
3934
|
tmp$ret$7 = null;
|
|
3910
3935
|
}
|
|
3911
3936
|
var tmp5_safe_receiver = tmp$ret$7;
|
|
3912
|
-
var mostRelevantUnit = tmp5_safe_receiver == null ? null : tmp5_safe_receiver.
|
|
3937
|
+
var mostRelevantUnit = tmp5_safe_receiver == null ? null : tmp5_safe_receiver.ed_1;
|
|
3913
3938
|
var tmp_9;
|
|
3914
3939
|
if (mostRelevantUnit == null) {
|
|
3915
3940
|
tmp_9 = null;
|
|
3916
3941
|
} else {
|
|
3917
3942
|
// Inline function 'kotlin.let' call
|
|
3918
|
-
var tmp_10 = amountToConvert.
|
|
3919
|
-
var tmp0_safe_receiver_1 = amountToConvert.
|
|
3943
|
+
var tmp_10 = amountToConvert.z1d_1 / mostRelevantUnit.g1g_1;
|
|
3944
|
+
var tmp0_safe_receiver_1 = amountToConvert.a1e_1;
|
|
3920
3945
|
var tmp_11;
|
|
3921
3946
|
if (tmp0_safe_receiver_1 == null) {
|
|
3922
3947
|
tmp_11 = null;
|
|
3923
3948
|
} else {
|
|
3924
3949
|
// Inline function 'kotlin.let' call
|
|
3925
|
-
tmp_11 = tmp0_safe_receiver_1 / mostRelevantUnit.
|
|
3950
|
+
tmp_11 = tmp0_safe_receiver_1 / mostRelevantUnit.g1g_1;
|
|
3926
3951
|
}
|
|
3927
3952
|
tmp_9 = new Amount(tmp_10, tmp_11, mostRelevantUnit);
|
|
3928
3953
|
}
|
|
@@ -3945,11 +3970,11 @@
|
|
|
3945
3970
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
3946
3971
|
var this_0 = get_tolerantJson_0();
|
|
3947
3972
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
3948
|
-
var this_1 = this_0.
|
|
3973
|
+
var this_1 = this_0.fm();
|
|
3949
3974
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
3950
3975
|
var this_2 = serializer(this_1, createKType(getKClass(RecipeV3), arrayOf([]), false));
|
|
3951
3976
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
3952
|
-
var parsedRecipe = this_0.
|
|
3977
|
+
var parsedRecipe = this_0.c12(tmp$ret$1, recipe);
|
|
3953
3978
|
var tmp;
|
|
3954
3979
|
switch (unit) {
|
|
3955
3980
|
case 'Imperial':
|
|
@@ -3978,16 +4003,16 @@
|
|
|
3978
4003
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
3979
4004
|
var this_3 = Default_getInstance();
|
|
3980
4005
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
3981
|
-
var this_4 = this_3.
|
|
4006
|
+
var this_4 = this_3.fm();
|
|
3982
4007
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
3983
4008
|
var this_5 = serializer(this_4, createKType(getKClass(RecipeV3), arrayOf([]), false));
|
|
3984
4009
|
var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
|
|
3985
|
-
return this_3.
|
|
4010
|
+
return this_3.b12(tmp$ret$4, scaledRecipe);
|
|
3986
4011
|
}
|
|
3987
4012
|
function parseTemplate_0(templateString) {
|
|
3988
4013
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
3989
4014
|
var parsedTemplate = parseTemplate(templateString);
|
|
3990
|
-
return parsedTemplate.
|
|
4015
|
+
return parsedTemplate.j1g_1;
|
|
3991
4016
|
}
|
|
3992
4017
|
function renderTemplate(templateElements, session, unit) {
|
|
3993
4018
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
@@ -4016,7 +4041,7 @@
|
|
|
4016
4041
|
}
|
|
4017
4042
|
var measuringSystem = tmp;
|
|
4018
4043
|
var template = new ParsedTemplate(templateElements);
|
|
4019
|
-
return session.
|
|
4044
|
+
return session.i1g(template, 1.0, measuringSystem);
|
|
4020
4045
|
}
|
|
4021
4046
|
function createTemplateSession(rawDensityData) {
|
|
4022
4047
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
@@ -4027,7 +4052,7 @@
|
|
|
4027
4052
|
}
|
|
4028
4053
|
function tolerantJson$lambda_0($this$Json) {
|
|
4029
4054
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
4030
|
-
$this$Json.
|
|
4055
|
+
$this$Json.x12_1 = true;
|
|
4031
4056
|
return Unit_instance;
|
|
4032
4057
|
}
|
|
4033
4058
|
var properties_initialized_ScaleRecipeJsContract_kt_yki7mr;
|
|
@@ -4038,19 +4063,19 @@
|
|
|
4038
4063
|
}
|
|
4039
4064
|
}
|
|
4040
4065
|
//region block: post-declaration
|
|
4041
|
-
protoOf($serializer).
|
|
4042
|
-
protoOf($serializer_0).
|
|
4043
|
-
protoOf($serializer_1).
|
|
4044
|
-
protoOf($serializer_2).
|
|
4045
|
-
protoOf($serializer_3).
|
|
4046
|
-
protoOf($serializer_4).
|
|
4047
|
-
protoOf($serializer_5).
|
|
4048
|
-
protoOf($serializer_6).
|
|
4049
|
-
protoOf($serializer_7).
|
|
4050
|
-
protoOf($serializer_8).
|
|
4051
|
-
protoOf($serializer_9).
|
|
4052
|
-
protoOf($serializer_10).
|
|
4053
|
-
protoOf($serializer_11).
|
|
4066
|
+
protoOf($serializer).ct = typeParametersSerializers;
|
|
4067
|
+
protoOf($serializer_0).ct = typeParametersSerializers;
|
|
4068
|
+
protoOf($serializer_1).ct = typeParametersSerializers;
|
|
4069
|
+
protoOf($serializer_2).ct = typeParametersSerializers;
|
|
4070
|
+
protoOf($serializer_3).ct = typeParametersSerializers;
|
|
4071
|
+
protoOf($serializer_4).ct = typeParametersSerializers;
|
|
4072
|
+
protoOf($serializer_5).ct = typeParametersSerializers;
|
|
4073
|
+
protoOf($serializer_6).ct = typeParametersSerializers;
|
|
4074
|
+
protoOf($serializer_7).ct = typeParametersSerializers;
|
|
4075
|
+
protoOf($serializer_8).ct = typeParametersSerializers;
|
|
4076
|
+
protoOf($serializer_9).ct = typeParametersSerializers;
|
|
4077
|
+
protoOf($serializer_10).ct = typeParametersSerializers;
|
|
4078
|
+
protoOf($serializer_11).ct = typeParametersSerializers;
|
|
4054
4079
|
//endregion
|
|
4055
4080
|
//region block: init
|
|
4056
4081
|
Companion_instance_1 = new Companion_0();
|