@guardian/feast-multiplatform-library 8.0.5 → 8.0.6

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.
@@ -3,117 +3,140 @@
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
5
  var VOID = kotlin_kotlin.$_$.b;
6
- var protoOf = kotlin_kotlin.$_$.v7;
7
- var toString = kotlin_kotlin.$_$.xa;
8
- var getNumberHashCode = kotlin_kotlin.$_$.u6;
9
- var getBooleanHashCode = kotlin_kotlin.$_$.t6;
10
- var equals = kotlin_kotlin.$_$.s6;
11
- var initMetadataForClass = kotlin_kotlin.$_$.y6;
6
+ var protoOf = kotlin_kotlin.$_$.y7;
7
+ var toString = kotlin_kotlin.$_$.db;
8
+ var getNumberHashCode = kotlin_kotlin.$_$.x6;
9
+ var getBooleanHashCode = kotlin_kotlin.$_$.w6;
10
+ var equals = kotlin_kotlin.$_$.v6;
11
+ var initMetadataForClass = kotlin_kotlin.$_$.b7;
12
12
  var Regex_init_$Create$ = kotlin_kotlin.$_$.r;
13
- var numberToInt = kotlin_kotlin.$_$.t7;
14
- var Unit_instance = kotlin_kotlin.$_$.k3;
15
- var round = kotlin_kotlin.$_$.y7;
16
- var replace = kotlin_kotlin.$_$.u8;
17
- var initMetadataForObject = kotlin_kotlin.$_$.d7;
18
- var listOfNotNull = kotlin_kotlin.$_$.z4;
19
- var joinToString = kotlin_kotlin.$_$.u4;
20
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.va;
21
- var collectionSizeOrDefault = kotlin_kotlin.$_$.a4;
13
+ var numberToInt = kotlin_kotlin.$_$.w7;
14
+ var Unit_instance = kotlin_kotlin.$_$.n3;
15
+ var round = kotlin_kotlin.$_$.b8;
16
+ var replace = kotlin_kotlin.$_$.x8;
17
+ var initMetadataForObject = kotlin_kotlin.$_$.g7;
18
+ var listOfNotNull = kotlin_kotlin.$_$.c5;
19
+ var joinToString = kotlin_kotlin.$_$.x4;
20
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.ab;
21
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.d4;
22
22
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
23
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.b1;
24
- var charArrayOf = kotlin_kotlin.$_$.l6;
25
- var indexOfAny = kotlin_kotlin.$_$.o8;
26
- var THROW_CCE = kotlin_kotlin.$_$.ba;
27
- var isCharSequence = kotlin_kotlin.$_$.i7;
28
- var trim = kotlin_kotlin.$_$.o9;
29
- var toString_0 = kotlin_kotlin.$_$.x7;
30
- var to = kotlin_kotlin.$_$.ya;
31
- var take = kotlin_kotlin.$_$.b9;
32
- var drop = kotlin_kotlin.$_$.m8;
23
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.d1;
24
+ var charArrayOf = kotlin_kotlin.$_$.o6;
25
+ var indexOfAny = kotlin_kotlin.$_$.r8;
26
+ var THROW_CCE = kotlin_kotlin.$_$.ga;
27
+ var isCharSequence = kotlin_kotlin.$_$.l7;
28
+ var trim = kotlin_kotlin.$_$.r9;
29
+ var toString_0 = kotlin_kotlin.$_$.a8;
30
+ var to = kotlin_kotlin.$_$.eb;
31
+ var take = kotlin_kotlin.$_$.e9;
32
+ var drop = kotlin_kotlin.$_$.p8;
33
+ var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.k1;
34
+ var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.h1;
35
+ var Companion_instance = kotlin_kotlin.$_$.i3;
36
+ var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.j1;
33
37
  var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
34
38
  var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
35
- var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
39
+ var JsonElementSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
36
40
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.c;
37
- var lazy = kotlin_kotlin.$_$.ta;
38
- var initMetadataForCompanion = kotlin_kotlin.$_$.z6;
41
+ var lazy = kotlin_kotlin.$_$.ya;
42
+ var initMetadataForCompanion = kotlin_kotlin.$_$.c7;
39
43
  var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
40
- var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
41
44
  var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
42
45
  var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
43
46
  var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
44
47
  var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
45
- var objectCreate = kotlin_kotlin.$_$.u7;
46
- var getStringHashCode = kotlin_kotlin.$_$.w6;
47
- var hashCode = kotlin_kotlin.$_$.x6;
48
- var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
49
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
50
- var substring = kotlin_kotlin.$_$.a9;
51
- var charSequenceLength = kotlin_kotlin.$_$.p6;
48
+ var objectCreate = kotlin_kotlin.$_$.x7;
49
+ var getStringHashCode = kotlin_kotlin.$_$.z6;
50
+ var hashCode = kotlin_kotlin.$_$.a7;
51
+ var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
52
+ var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
52
53
  var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
53
- var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
54
- var getKClass = kotlin_kotlin.$_$.h8;
55
- var arrayOf = kotlin_kotlin.$_$.ma;
56
- var createKType = kotlin_kotlin.$_$.f8;
54
+ var getKClass = kotlin_kotlin.$_$.k8;
55
+ var arrayOf = kotlin_kotlin.$_$.ra;
56
+ var createKType = kotlin_kotlin.$_$.i8;
57
57
  var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
58
58
  var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
59
- var isInterface = kotlin_kotlin.$_$.m7;
60
- var print = kotlin_kotlin.$_$.s5;
61
- var Exception = kotlin_kotlin.$_$.w9;
62
- var substring_0 = kotlin_kotlin.$_$.z8;
63
- var isBlank = kotlin_kotlin.$_$.r8;
64
- var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
65
- var initMetadataForInterface = kotlin_kotlin.$_$.b7;
66
- var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
67
- var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
68
- var defineProp = kotlin_kotlin.$_$.r6;
69
- var Enum = kotlin_kotlin.$_$.v9;
70
- var setOf = kotlin_kotlin.$_$.g5;
71
- var setOf_0 = kotlin_kotlin.$_$.h5;
72
- var listOf = kotlin_kotlin.$_$.a5;
73
- var mapCapacity = kotlin_kotlin.$_$.b5;
74
- var coerceAtLeast = kotlin_kotlin.$_$.a8;
59
+ var isInterface = kotlin_kotlin.$_$.p7;
60
+ var get_jsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.g;
61
+ var get_int = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
62
+ var get_float = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
63
+ var mapCapacity = kotlin_kotlin.$_$.e5;
64
+ var coerceAtLeast = kotlin_kotlin.$_$.d8;
75
65
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.m;
76
- var plus = kotlin_kotlin.$_$.d5;
77
- var emptySet = kotlin_kotlin.$_$.q4;
78
- var contains = kotlin_kotlin.$_$.b4;
79
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w;
66
+ var Exception_init_$Create$ = kotlin_kotlin.$_$.u;
67
+ var createFailure = kotlin_kotlin.$_$.ta;
68
+ var IndexOutOfBoundsException = kotlin_kotlin.$_$.ca;
69
+ var ClassCastException = kotlin_kotlin.$_$.w9;
70
+ var IllegalArgumentException = kotlin_kotlin.$_$.ba;
71
+ var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
72
+ var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
73
+ var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
74
+ var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
75
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
76
+ var substring = kotlin_kotlin.$_$.d9;
77
+ var charSequenceLength = kotlin_kotlin.$_$.s6;
78
+ var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.f;
79
+ var print = kotlin_kotlin.$_$.v5;
80
+ var Exception = kotlin_kotlin.$_$.aa;
81
+ var substring_0 = kotlin_kotlin.$_$.c9;
82
+ var isBlank = kotlin_kotlin.$_$.u8;
83
+ var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
84
+ var initMetadataForInterface = kotlin_kotlin.$_$.e7;
85
+ var defineProp = kotlin_kotlin.$_$.u6;
86
+ var Enum = kotlin_kotlin.$_$.z9;
87
+ var setOf = kotlin_kotlin.$_$.j5;
88
+ var setOf_0 = kotlin_kotlin.$_$.k5;
89
+ var listOf = kotlin_kotlin.$_$.d5;
90
+ var plus = kotlin_kotlin.$_$.g5;
91
+ var emptySet = kotlin_kotlin.$_$.t4;
92
+ var contains = kotlin_kotlin.$_$.e4;
93
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.x;
94
+ var throwOnFailure = kotlin_kotlin.$_$.cb;
80
95
  //endregion
81
96
  //region block: pre-declaration
82
97
  initMetadataForClass(Amount, 'Amount');
83
98
  initMetadataForObject(FormatUtils, 'FormatUtils');
99
+ initMetadataForClass(TemplateSession, 'TemplateSession');
84
100
  initMetadataForCompanion(Companion);
85
101
  initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
86
- initMetadataForClass(RecipeV3, 'RecipeV3', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
102
+ initMetadataForClass(TableSchema, 'TableSchema', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
103
+ initMetadataForCompanion(Companion_0);
87
104
  initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
88
- initMetadataForClass(CommerceCta, 'CommerceCta', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
105
+ initMetadataForClass(Ingredient, 'Ingredient', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
106
+ initMetadataForClass(DensityTable, 'DensityTable');
107
+ initMetadataForCompanion(Companion_1);
89
108
  initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
90
- initMetadataForClass(Image, 'Image', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
91
- initMetadataForCompanion(Companion_0);
109
+ initMetadataForClass(RecipeV3, 'RecipeV3', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
92
110
  initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
93
- initMetadataForClass(IngredientsList, 'IngredientsList', IngredientsList, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
94
- initMetadataForCompanion(Companion_1);
111
+ initMetadataForClass(CommerceCta, 'CommerceCta', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
95
112
  initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
96
- initMetadataForClass(IngredientItem, 'IngredientItem', IngredientItem, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_3});
113
+ initMetadataForClass(Image, 'Image', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_3});
97
114
  initMetadataForCompanion(Companion_2);
98
115
  initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
99
- initMetadataForClass(Range, 'Range', Range, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_4});
116
+ initMetadataForClass(IngredientsList, 'IngredientsList', IngredientsList, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_4});
100
117
  initMetadataForCompanion(Companion_3);
101
118
  initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
102
- initMetadataForClass(Instruction, 'Instruction', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_5});
103
- initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
104
- initMetadataForClass(Serves, 'Serves', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
119
+ initMetadataForClass(IngredientItem, 'IngredientItem', IngredientItem, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_5});
105
120
  initMetadataForCompanion(Companion_4);
106
- initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
107
- initMetadataForClass(Timing, 'Timing', Timing, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
108
- initMetadataForClass(ParsedTemplate, 'ParsedTemplate');
109
- initMetadataForInterface(TemplateElement, 'TemplateElement');
110
- initMetadataForClass(TemplateConst, 'TemplateConst', VOID, VOID, [TemplateElement]);
121
+ initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
122
+ initMetadataForClass(Range, 'Range', Range, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
111
123
  initMetadataForCompanion(Companion_5);
124
+ initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
125
+ initMetadataForClass(Instruction, 'Instruction', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
112
126
  initMetadataForObject($serializer_8, '$serializer', VOID, VOID, [GeneratedSerializer]);
113
- initMetadataForClass(QuantityPlaceholder, 'QuantityPlaceholder', VOID, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_8});
127
+ initMetadataForClass(Serves, 'Serves', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
114
128
  initMetadataForCompanion(Companion_6);
115
129
  initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
116
- initMetadataForClass(OvenTemperaturePlaceholder, 'OvenTemperaturePlaceholder', OvenTemperaturePlaceholder, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_9});
130
+ initMetadataForClass(Timing, 'Timing', Timing, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
131
+ initMetadataForClass(ParsedTemplate, 'ParsedTemplate');
132
+ initMetadataForInterface(TemplateElement, 'TemplateElement');
133
+ initMetadataForClass(TemplateConst, 'TemplateConst', VOID, VOID, [TemplateElement]);
134
+ initMetadataForCompanion(Companion_7);
135
+ initMetadataForObject($serializer_10, '$serializer', VOID, VOID, [GeneratedSerializer]);
136
+ initMetadataForClass(QuantityPlaceholder, 'QuantityPlaceholder', VOID, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_10});
137
+ initMetadataForCompanion(Companion_8);
138
+ initMetadataForObject($serializer_11, '$serializer', VOID, VOID, [GeneratedSerializer]);
139
+ initMetadataForClass(OvenTemperaturePlaceholder, 'OvenTemperaturePlaceholder', OvenTemperaturePlaceholder, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_11});
117
140
  initMetadataForObject(Imperial, 'Imperial');
118
141
  initMetadataForObject(Metric, 'Metric');
119
142
  initMetadataForObject(USCustomary, 'USCustomary');
@@ -215,7 +238,10 @@
215
238
  new FormatUtils();
216
239
  return FormatUtils_instance;
217
240
  }
218
- function renderOvenTemperature(element) {
241
+ function TemplateSession(densityTable) {
242
+ this.b1e_1 = densityTable;
243
+ }
244
+ protoOf(TemplateSession).c1e = function (element) {
219
245
  var tmp;
220
246
  if (element.temperatureFanC == null) {
221
247
  tmp = null;
@@ -256,8 +282,8 @@
256
282
  tmp_5 = '/gas mark ' + FormatUtils_getInstance().y1d(tmp3_safe_receiver);
257
283
  }
258
284
  return joinToString(listOfNotNull([tmp_2, fanTempC, tmp_4, tmp_5]), '');
259
- }
260
- function renderQuantity(element, factor, measuringSystem) {
285
+ };
286
+ protoOf(TemplateSession).d1e = function (element, factor, measuringSystem) {
261
287
  var tmp = !(element.min === element.max) ? element.max : null;
262
288
  var tmp0_safe_receiver = element.unit;
263
289
  var tmp_0;
@@ -265,99 +291,85 @@
265
291
  tmp_0 = null;
266
292
  } else {
267
293
  // Inline function 'kotlin.let' call
268
- tmp_0 = Units_getInstance().z1e(tmp0_safe_receiver);
294
+ tmp_0 = Units_getInstance().c1f(tmp0_safe_receiver);
269
295
  }
270
296
  var amount = new Amount(element.min, tmp, tmp_0, element.usCust);
271
297
  var factorToUse = !element.scale ? 1.0 : factor;
272
- amount = UnitConversions_getInstance().f1f(amount, measuringSystem, factorToUse);
273
- var tmp1_subject = amount.t1d_1;
274
- var decimals = equals(tmp1_subject, Units_getInstance().b1e_1) || (equals(tmp1_subject, Units_getInstance().f1e_1) || equals(tmp1_subject, Units_getInstance().s1e_1)) ? 0 : equals(tmp1_subject, Units_getInstance().t1e_1) || equals(tmp1_subject, Units_getInstance().u1e_1) ? 1 : 2;
275
- var tmp2_subject = amount.t1d_1;
276
- var fraction = equals(tmp2_subject, Units_getInstance().k1e_1) || (equals(tmp2_subject, Units_getInstance().i1e_1) || equals(tmp2_subject, Units_getInstance().l1e_1)) || (equals(tmp2_subject, Units_getInstance().j1e_1) || (equals(tmp2_subject, Units_getInstance().o1e_1) || equals(tmp2_subject, Units_getInstance().n1e_1))) ? true : tmp2_subject == null ? true : false;
298
+ var tmp1_safe_receiver = element.ingredient;
277
299
  var tmp_1;
300
+ if (tmp1_safe_receiver == null) {
301
+ tmp_1 = null;
302
+ } else {
303
+ // Inline function 'kotlin.let' call
304
+ tmp_1 = this.b1e_1.g1f(tmp1_safe_receiver);
305
+ }
306
+ var density = tmp_1;
307
+ amount = UnitConversions_getInstance().o1f(amount, measuringSystem, factorToUse, density);
308
+ var tmp2_subject = amount.t1d_1;
309
+ var decimals = equals(tmp2_subject, Units_getInstance().e1e_1) || (equals(tmp2_subject, Units_getInstance().i1e_1) || equals(tmp2_subject, Units_getInstance().v1e_1)) ? 0 : equals(tmp2_subject, Units_getInstance().w1e_1) || equals(tmp2_subject, Units_getInstance().x1e_1) ? 1 : 2;
310
+ var tmp3_subject = amount.t1d_1;
311
+ var fraction = equals(tmp3_subject, Units_getInstance().n1e_1) || (equals(tmp3_subject, Units_getInstance().l1e_1) || equals(tmp3_subject, Units_getInstance().o1e_1)) || (equals(tmp3_subject, Units_getInstance().m1e_1) || (equals(tmp3_subject, Units_getInstance().r1e_1) || equals(tmp3_subject, Units_getInstance().q1e_1))) ? true : tmp3_subject == null ? true : false;
312
+ var tmp_2;
278
313
  if (!(amount.t1d_1 == null)) {
279
- var tmp_2;
314
+ var tmp_3;
280
315
  var tmp0 = amount.r1d_1;
281
- var tmp3_elvis_lhs = amount.s1d_1;
316
+ var tmp4_elvis_lhs = amount.s1d_1;
282
317
  // Inline function 'kotlin.math.max' call
283
- var b = tmp3_elvis_lhs == null ? amount.r1d_1 : tmp3_elvis_lhs;
284
- if (Math.max(tmp0, b) > 1) {
285
- tmp_2 = ' ' + amount.t1d_1.j1f_1;
318
+ var b = tmp4_elvis_lhs == null ? amount.r1d_1 : tmp4_elvis_lhs;
319
+ if (Math.max(tmp0, b) > 1.1) {
320
+ tmp_3 = ' ' + amount.t1d_1.s1f_1;
286
321
  } else {
287
- tmp_2 = ' ' + amount.t1d_1.i1f_1;
322
+ tmp_3 = ' ' + amount.t1d_1.r1f_1;
288
323
  }
289
- tmp_1 = tmp_2;
324
+ tmp_2 = tmp_3;
290
325
  } else {
291
- tmp_1 = '';
292
- }
293
- var unitString = tmp_1;
294
- var tmp_3 = FormatUtils_getInstance().z1d(amount.r1d_1, decimals, fraction);
295
- var tmp4_safe_receiver = amount.s1d_1;
296
- var tmp_4;
297
- if (tmp4_safe_receiver == null) {
298
- tmp_4 = null;
326
+ tmp_2 = '';
327
+ }
328
+ var unitString = tmp_2;
329
+ var tmp_4 = FormatUtils_getInstance().z1d(amount.r1d_1, decimals, fraction);
330
+ var tmp5_safe_receiver = amount.s1d_1;
331
+ var tmp_5;
332
+ if (tmp5_safe_receiver == null) {
333
+ tmp_5 = null;
299
334
  } else {
300
335
  // Inline function 'kotlin.let' call
301
- tmp_4 = '-' + FormatUtils_getInstance().z1d(tmp4_safe_receiver, decimals, fraction);
336
+ tmp_5 = '-' + FormatUtils_getInstance().z1d(tmp5_safe_receiver, decimals, fraction);
302
337
  }
303
- return joinToString(listOfNotNull([tmp_3, tmp_4, unitString]), '');
304
- }
305
- function renderTemplateElement(element, factor, measuringSystem) {
338
+ return joinToString(listOfNotNull([tmp_4, tmp_5, unitString]), '');
339
+ };
340
+ protoOf(TemplateSession).w1f = function (element, factor, measuringSystem) {
306
341
  var tmp;
307
342
  if (element instanceof TemplateConst) {
308
343
  tmp = element.value;
309
344
  } else {
310
345
  if (element instanceof QuantityPlaceholder) {
311
- tmp = renderQuantity(element, factor, measuringSystem);
346
+ tmp = this.d1e(element, factor, measuringSystem);
312
347
  } else {
313
348
  if (element instanceof OvenTemperaturePlaceholder) {
314
- tmp = renderOvenTemperature(element);
349
+ tmp = this.c1e(element);
315
350
  } else {
316
351
  noWhenBranchMatchedException();
317
352
  }
318
353
  }
319
354
  }
320
355
  return tmp;
321
- }
322
- function renderTemplate(template, factor, measuringSystem) {
356
+ };
357
+ protoOf(TemplateSession).x1f = function (template, factor, measuringSystem) {
323
358
  // Inline function 'kotlin.collections.map' call
324
- var this_0 = template.n1f_1;
359
+ var this_0 = template.y1f_1;
325
360
  // Inline function 'kotlin.collections.mapTo' call
326
361
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
327
362
  var _iterator__ex2g4s = this_0.h();
328
363
  while (_iterator__ex2g4s.i()) {
329
364
  var item = _iterator__ex2g4s.j();
330
- var tmp$ret$0 = renderTemplateElement(item, factor, measuringSystem);
365
+ var tmp$ret$0 = this.w1f(item, factor, measuringSystem);
331
366
  destination.f(tmp$ret$0);
332
367
  }
333
368
  var renderedParts = destination;
334
369
  return FormatUtils_getInstance().a1e(joinToString(renderedParts, ''));
335
- }
336
- function splitBeforeSuffix(value) {
337
- // Inline function 'kotlin.charArrayOf' call
338
- var separators = charArrayOf([_Char___init__impl__6a9atx(44), _Char___init__impl__6a9atx(59), _Char___init__impl__6a9atx(40)]);
339
- var index = indexOfAny(value, separators);
340
- var tmp;
341
- if (!(index === -1)) {
342
- var before = take(value, index);
343
- var after = drop(value, index);
344
- tmp = to(before, after);
345
- } else {
346
- // Inline function 'kotlin.text.trim' call
347
- var tmp$ret$1 = toString_0(trim(isCharSequence(value) ? value : THROW_CCE()));
348
- tmp = to(tmp$ret$1, null);
349
- }
350
- return tmp;
351
- }
352
- function wrapWithStrongTag(value) {
353
- var _destruct__k2r9zo = splitBeforeSuffix(value);
354
- var before = _destruct__k2r9zo.jd();
355
- var after = _destruct__k2r9zo.kd();
356
- // Inline function 'kotlin.text.orEmpty' call
357
- return '<strong>' + before + '<\/strong>' + (after == null ? '' : after);
358
- }
359
- function scaleAndConvertUnitRecipe(recipe, factor, measuringSystem) {
360
- var tmp0_safe_receiver = recipe.a1g_1;
370
+ };
371
+ protoOf(TemplateSession).scaleAndConvertUnitRecipe = function (recipe, factor, measuringSystem) {
372
+ var tmp0_safe_receiver = recipe.l1g_1;
361
373
  var tmp;
362
374
  if (tmp0_safe_receiver == null) {
363
375
  tmp = null;
@@ -368,7 +380,7 @@
368
380
  var _iterator__ex2g4s = tmp0_safe_receiver.h();
369
381
  while (_iterator__ex2g4s.i()) {
370
382
  var item = _iterator__ex2g4s.j();
371
- var tmp0_safe_receiver_0 = item.l1g_1;
383
+ var tmp0_safe_receiver_0 = item.w1g_1;
372
384
  var tmp_0;
373
385
  if (tmp0_safe_receiver_0 == null) {
374
386
  tmp_0 = null;
@@ -379,28 +391,28 @@
379
391
  var _iterator__ex2g4s_0 = tmp0_safe_receiver_0.h();
380
392
  while (_iterator__ex2g4s_0.i()) {
381
393
  var item_0 = _iterator__ex2g4s_0.j();
382
- var tmp0_safe_receiver_1 = item_0.t1g_1;
394
+ var tmp0_safe_receiver_1 = item_0.e1h_1;
383
395
  var tmp_1;
384
396
  if (tmp0_safe_receiver_1 == null) {
385
397
  tmp_1 = null;
386
398
  } else {
387
399
  // Inline function 'kotlin.let' call
388
- tmp_1 = wrapWithStrongTag(renderTemplate(parseTemplate(tmp0_safe_receiver_1), factor, measuringSystem));
400
+ tmp_1 = wrapWithStrongTag(this.x1f(parseTemplate(tmp0_safe_receiver_1), factor, measuringSystem));
389
401
  }
390
402
  var tmp1_elvis_lhs = tmp_1;
391
- var scaledText = tmp1_elvis_lhs == null ? item_0.u1g_1 : tmp1_elvis_lhs;
392
- var tmp$ret$2 = item_0.w1g(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
403
+ var scaledText = tmp1_elvis_lhs == null ? item_0.f1h_1 : tmp1_elvis_lhs;
404
+ var tmp$ret$2 = item_0.h1h(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
393
405
  destination_0.f(tmp$ret$2);
394
406
  }
395
407
  tmp_0 = destination_0;
396
408
  }
397
- var tmp$ret$5 = new IngredientsList(tmp_0, item.m1g_1);
409
+ var tmp$ret$5 = new IngredientsList(tmp_0, item.x1g_1);
398
410
  destination.f(tmp$ret$5);
399
411
  }
400
412
  tmp = destination;
401
413
  }
402
414
  var scaledIngredients = tmp;
403
- var tmp1_safe_receiver = recipe.b1g_1;
415
+ var tmp1_safe_receiver = recipe.m1g_1;
404
416
  var tmp_2;
405
417
  if (tmp1_safe_receiver == null) {
406
418
  tmp_2 = null;
@@ -411,23 +423,440 @@
411
423
  var _iterator__ex2g4s_1 = tmp1_safe_receiver.h();
412
424
  while (_iterator__ex2g4s_1.i()) {
413
425
  var item_1 = _iterator__ex2g4s_1.j();
414
- var tmp0_safe_receiver_2 = item_1.y1g_1;
426
+ var tmp0_safe_receiver_2 = item_1.j1h_1;
415
427
  var tmp_3;
416
428
  if (tmp0_safe_receiver_2 == null) {
417
429
  tmp_3 = null;
418
430
  } else {
419
431
  // Inline function 'kotlin.let' call
420
- tmp_3 = renderTemplate(parseTemplate(tmp0_safe_receiver_2), factor, measuringSystem);
432
+ tmp_3 = this.x1f(parseTemplate(tmp0_safe_receiver_2), factor, measuringSystem);
421
433
  }
422
434
  var description = tmp_3;
423
- var tmp$ret$10 = item_1.b1h(description == null ? item_1.x1g_1 : description);
435
+ var tmp$ret$10 = item_1.m1h(description == null ? item_1.i1h_1 : description);
424
436
  destination_1.f(tmp$ret$10);
425
437
  }
426
438
  tmp_2 = destination_1;
427
439
  }
428
440
  var scaledInstructions = tmp_2;
429
- return recipe.c1h(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
441
+ return recipe.n1h(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
442
+ };
443
+ function splitBeforeSuffix(value) {
444
+ // Inline function 'kotlin.charArrayOf' call
445
+ var separators = charArrayOf([_Char___init__impl__6a9atx(44), _Char___init__impl__6a9atx(59), _Char___init__impl__6a9atx(40)]);
446
+ var index = indexOfAny(value, separators);
447
+ var tmp;
448
+ if (!(index === -1)) {
449
+ var before = take(value, index);
450
+ var after = drop(value, index);
451
+ tmp = to(before, after);
452
+ } else {
453
+ // Inline function 'kotlin.text.trim' call
454
+ var tmp$ret$1 = toString_0(trim(isCharSequence(value) ? value : THROW_CCE()));
455
+ tmp = to(tmp$ret$1, null);
456
+ }
457
+ return tmp;
458
+ }
459
+ function wrapWithStrongTag(value) {
460
+ var _destruct__k2r9zo = splitBeforeSuffix(value);
461
+ var before = _destruct__k2r9zo.jd();
462
+ var after = _destruct__k2r9zo.kd();
463
+ // Inline function 'kotlin.text.orEmpty' call
464
+ return '<strong>' + before + '<\/strong>' + (after == null ? '' : after);
465
+ }
466
+ function newTemplateSession() {
467
+ var densityTable = loadInternalDensityTable();
468
+ // Inline function 'kotlin.map' call
469
+ var tmp;
470
+ if (_Result___get_isSuccess__impl__sndoy8(densityTable)) {
471
+ var tmp_0 = _Result___get_value__impl__bjfvqg(densityTable);
472
+ var it = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
473
+ // Inline function 'kotlin.Companion.success' call
474
+ var value = new TemplateSession(it);
475
+ tmp = _Result___init__impl__xyqfz8(value);
476
+ } else {
477
+ tmp = _Result___init__impl__xyqfz8(_Result___get_value__impl__bjfvqg(densityTable));
478
+ }
479
+ return tmp;
480
+ }
481
+ function TableSchema$Companion$$childSerializers$_anonymous__48gmsb() {
482
+ return new ArrayListSerializer(StringSerializer_getInstance());
483
+ }
484
+ function TableSchema$Companion$$childSerializers$_anonymous__48gmsb_0() {
485
+ return new ArrayListSerializer(new ArrayListSerializer(JsonElementSerializer_getInstance()));
486
+ }
487
+ function Companion() {
488
+ Companion_instance_0 = this;
489
+ var tmp = this;
490
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
491
+ var tmp_1 = lazy(tmp_0, TableSchema$Companion$$childSerializers$_anonymous__48gmsb);
492
+ var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
493
+ // Inline function 'kotlin.arrayOf' call
494
+ // Inline function 'kotlin.js.unsafeCast' call
495
+ // Inline function 'kotlin.js.asDynamic' call
496
+ tmp.o1h_1 = [null, tmp_1, lazy(tmp_2, TableSchema$Companion$$childSerializers$_anonymous__48gmsb_0)];
497
+ }
498
+ var Companion_instance_0;
499
+ function Companion_getInstance() {
500
+ if (Companion_instance_0 == null)
501
+ new Companion();
502
+ return Companion_instance_0;
503
+ }
504
+ function $serializer() {
505
+ $serializer_instance = this;
506
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.density.TableSchema', this, 3);
507
+ tmp0_serialDesc.ht('prepared_at', false);
508
+ tmp0_serialDesc.ht('key', false);
509
+ tmp0_serialDesc.ht('values', false);
510
+ this.p1h_1 = tmp0_serialDesc;
511
+ }
512
+ protoOf($serializer).q1h = function (encoder, value) {
513
+ var tmp0_desc = this.p1h_1;
514
+ var tmp1_output = encoder.yl(tmp0_desc);
515
+ var tmp2_cached = Companion_getInstance().o1h_1;
516
+ tmp1_output.mn(tmp0_desc, 0, value.r1h_1);
517
+ tmp1_output.on(tmp0_desc, 1, tmp2_cached[1].t1(), value.s1h_1);
518
+ tmp1_output.on(tmp0_desc, 2, tmp2_cached[2].t1(), value.t1h_1);
519
+ tmp1_output.zl(tmp0_desc);
520
+ };
521
+ protoOf($serializer).cj = function (encoder, value) {
522
+ return this.q1h(encoder, value instanceof TableSchema ? value : THROW_CCE());
523
+ };
524
+ protoOf($serializer).dj = function (decoder) {
525
+ var tmp0_desc = this.p1h_1;
526
+ var tmp1_flag = true;
527
+ var tmp2_index = 0;
528
+ var tmp3_bitMask0 = 0;
529
+ var tmp4_local0 = null;
530
+ var tmp5_local1 = null;
531
+ var tmp6_local2 = null;
532
+ var tmp7_input = decoder.yl(tmp0_desc);
533
+ var tmp8_cached = Companion_getInstance().o1h_1;
534
+ if (tmp7_input.om()) {
535
+ tmp4_local0 = tmp7_input.im(tmp0_desc, 0);
536
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
537
+ tmp5_local1 = tmp7_input.km(tmp0_desc, 1, tmp8_cached[1].t1(), tmp5_local1);
538
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
539
+ tmp6_local2 = tmp7_input.km(tmp0_desc, 2, tmp8_cached[2].t1(), tmp6_local2);
540
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
541
+ } else
542
+ while (tmp1_flag) {
543
+ tmp2_index = tmp7_input.pm(tmp0_desc);
544
+ switch (tmp2_index) {
545
+ case -1:
546
+ tmp1_flag = false;
547
+ break;
548
+ case 0:
549
+ tmp4_local0 = tmp7_input.im(tmp0_desc, 0);
550
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
551
+ break;
552
+ case 1:
553
+ tmp5_local1 = tmp7_input.km(tmp0_desc, 1, tmp8_cached[1].t1(), tmp5_local1);
554
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
555
+ break;
556
+ case 2:
557
+ tmp6_local2 = tmp7_input.km(tmp0_desc, 2, tmp8_cached[2].t1(), tmp6_local2);
558
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
559
+ break;
560
+ default:
561
+ throw UnknownFieldException_init_$Create$(tmp2_index);
562
+ }
563
+ }
564
+ tmp7_input.zl(tmp0_desc);
565
+ return TableSchema_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
566
+ };
567
+ protoOf($serializer).bj = function () {
568
+ return this.p1h_1;
569
+ };
570
+ protoOf($serializer).jt = function () {
571
+ var tmp0_cached = Companion_getInstance().o1h_1;
572
+ // Inline function 'kotlin.arrayOf' call
573
+ // Inline function 'kotlin.js.unsafeCast' call
574
+ // Inline function 'kotlin.js.asDynamic' call
575
+ return [StringSerializer_getInstance(), tmp0_cached[1].t1(), tmp0_cached[2].t1()];
576
+ };
577
+ var $serializer_instance;
578
+ function $serializer_getInstance() {
579
+ if ($serializer_instance == null)
580
+ new $serializer();
581
+ return $serializer_instance;
582
+ }
583
+ function TableSchema_init_$Init$(seen0, preparedAt, key, values, serializationConstructorMarker, $this) {
584
+ if (!(7 === (7 & seen0))) {
585
+ throwMissingFieldException(seen0, 7, $serializer_getInstance().p1h_1);
586
+ }
587
+ $this.r1h_1 = preparedAt;
588
+ $this.s1h_1 = key;
589
+ $this.t1h_1 = values;
590
+ return $this;
591
+ }
592
+ function TableSchema_init_$Create$(seen0, preparedAt, key, values, serializationConstructorMarker) {
593
+ return TableSchema_init_$Init$(seen0, preparedAt, key, values, serializationConstructorMarker, objectCreate(protoOf(TableSchema)));
594
+ }
595
+ function TableSchema(preparedAt, key, values) {
596
+ Companion_getInstance();
597
+ this.r1h_1 = preparedAt;
598
+ this.s1h_1 = key;
599
+ this.t1h_1 = values;
600
+ }
601
+ protoOf(TableSchema).toString = function () {
602
+ return 'TableSchema(preparedAt=' + this.r1h_1 + ', key=' + toString_0(this.s1h_1) + ', values=' + toString_0(this.t1h_1) + ')';
603
+ };
604
+ protoOf(TableSchema).hashCode = function () {
605
+ var result = getStringHashCode(this.r1h_1);
606
+ result = imul(result, 31) + hashCode(this.s1h_1) | 0;
607
+ result = imul(result, 31) + hashCode(this.t1h_1) | 0;
608
+ return result;
609
+ };
610
+ protoOf(TableSchema).equals = function (other) {
611
+ if (this === other)
612
+ return true;
613
+ if (!(other instanceof TableSchema))
614
+ return false;
615
+ if (!(this.r1h_1 === other.r1h_1))
616
+ return false;
617
+ if (!equals(this.s1h_1, other.s1h_1))
618
+ return false;
619
+ if (!equals(this.t1h_1, other.t1h_1))
620
+ return false;
621
+ return true;
622
+ };
623
+ function Companion_0() {
624
+ }
625
+ var Companion_instance_1;
626
+ function Companion_getInstance_0() {
627
+ return Companion_instance_1;
628
+ }
629
+ function $serializer_0() {
630
+ $serializer_instance_0 = this;
631
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.density.Ingredient', this, 4);
632
+ tmp0_serialDesc.ht('id', false);
633
+ tmp0_serialDesc.ht('name', false);
634
+ tmp0_serialDesc.ht('normalised_name', false);
635
+ tmp0_serialDesc.ht('density', false);
636
+ this.u1h_1 = tmp0_serialDesc;
637
+ }
638
+ protoOf($serializer_0).v1h = function (encoder, value) {
639
+ var tmp0_desc = this.u1h_1;
640
+ var tmp1_output = encoder.yl(tmp0_desc);
641
+ tmp1_output.hn(tmp0_desc, 0, value.w1h_1);
642
+ tmp1_output.mn(tmp0_desc, 1, value.x1h_1);
643
+ tmp1_output.mn(tmp0_desc, 2, value.y1h_1);
644
+ tmp1_output.jn(tmp0_desc, 3, value.z1h_1);
645
+ tmp1_output.zl(tmp0_desc);
646
+ };
647
+ protoOf($serializer_0).cj = function (encoder, value) {
648
+ return this.v1h(encoder, value instanceof Ingredient ? value : THROW_CCE());
649
+ };
650
+ protoOf($serializer_0).dj = function (decoder) {
651
+ var tmp0_desc = this.u1h_1;
652
+ var tmp1_flag = true;
653
+ var tmp2_index = 0;
654
+ var tmp3_bitMask0 = 0;
655
+ var tmp4_local0 = 0;
656
+ var tmp5_local1 = null;
657
+ var tmp6_local2 = null;
658
+ var tmp7_local3 = 0.0;
659
+ var tmp8_input = decoder.yl(tmp0_desc);
660
+ if (tmp8_input.om()) {
661
+ tmp4_local0 = tmp8_input.dm(tmp0_desc, 0);
662
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
663
+ tmp5_local1 = tmp8_input.im(tmp0_desc, 1);
664
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
665
+ tmp6_local2 = tmp8_input.im(tmp0_desc, 2);
666
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
667
+ tmp7_local3 = tmp8_input.fm(tmp0_desc, 3);
668
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
669
+ } else
670
+ while (tmp1_flag) {
671
+ tmp2_index = tmp8_input.pm(tmp0_desc);
672
+ switch (tmp2_index) {
673
+ case -1:
674
+ tmp1_flag = false;
675
+ break;
676
+ case 0:
677
+ tmp4_local0 = tmp8_input.dm(tmp0_desc, 0);
678
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
679
+ break;
680
+ case 1:
681
+ tmp5_local1 = tmp8_input.im(tmp0_desc, 1);
682
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
683
+ break;
684
+ case 2:
685
+ tmp6_local2 = tmp8_input.im(tmp0_desc, 2);
686
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
687
+ break;
688
+ case 3:
689
+ tmp7_local3 = tmp8_input.fm(tmp0_desc, 3);
690
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
691
+ break;
692
+ default:
693
+ throw UnknownFieldException_init_$Create$(tmp2_index);
694
+ }
695
+ }
696
+ tmp8_input.zl(tmp0_desc);
697
+ return Ingredient_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
698
+ };
699
+ protoOf($serializer_0).bj = function () {
700
+ return this.u1h_1;
701
+ };
702
+ protoOf($serializer_0).jt = function () {
703
+ // Inline function 'kotlin.arrayOf' call
704
+ // Inline function 'kotlin.js.unsafeCast' call
705
+ // Inline function 'kotlin.js.asDynamic' call
706
+ return [IntSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance(), FloatSerializer_getInstance()];
707
+ };
708
+ var $serializer_instance_0;
709
+ function $serializer_getInstance_0() {
710
+ if ($serializer_instance_0 == null)
711
+ new $serializer_0();
712
+ return $serializer_instance_0;
430
713
  }
714
+ function Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, $this) {
715
+ if (!(15 === (15 & seen0))) {
716
+ throwMissingFieldException(seen0, 15, $serializer_getInstance_0().u1h_1);
717
+ }
718
+ $this.w1h_1 = id;
719
+ $this.x1h_1 = name;
720
+ $this.y1h_1 = normalised_name;
721
+ $this.z1h_1 = density;
722
+ return $this;
723
+ }
724
+ function Ingredient_init_$Create$(seen0, id, name, normalised_name, density, serializationConstructorMarker) {
725
+ return Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, objectCreate(protoOf(Ingredient)));
726
+ }
727
+ function Ingredient(id, name, normalised_name, density) {
728
+ this.w1h_1 = id;
729
+ this.x1h_1 = name;
730
+ this.y1h_1 = normalised_name;
731
+ this.z1h_1 = density;
732
+ }
733
+ protoOf(Ingredient).toString = function () {
734
+ return 'Ingredient(id=' + this.w1h_1 + ', name=' + this.x1h_1 + ', normalised_name=' + this.y1h_1 + ', density=' + this.z1h_1 + ')';
735
+ };
736
+ protoOf(Ingredient).hashCode = function () {
737
+ var result = this.w1h_1;
738
+ result = imul(result, 31) + getStringHashCode(this.x1h_1) | 0;
739
+ result = imul(result, 31) + getStringHashCode(this.y1h_1) | 0;
740
+ result = imul(result, 31) + getNumberHashCode(this.z1h_1) | 0;
741
+ return result;
742
+ };
743
+ protoOf(Ingredient).equals = function (other) {
744
+ if (this === other)
745
+ return true;
746
+ if (!(other instanceof Ingredient))
747
+ return false;
748
+ if (!(this.w1h_1 === other.w1h_1))
749
+ return false;
750
+ if (!(this.x1h_1 === other.x1h_1))
751
+ return false;
752
+ if (!(this.y1h_1 === other.y1h_1))
753
+ return false;
754
+ if (!equals(this.z1h_1, other.z1h_1))
755
+ return false;
756
+ return true;
757
+ };
758
+ function DensityTable(preparedAt, normalised_map, name_map) {
759
+ this.d1f_1 = preparedAt;
760
+ this.e1f_1 = normalised_map;
761
+ this.f1f_1 = name_map;
762
+ }
763
+ protoOf(DensityTable).g1f = function (name) {
764
+ var tmp0_safe_receiver = this.e1f_1.w1(name);
765
+ var tmp;
766
+ if (tmp0_safe_receiver == null) {
767
+ tmp = null;
768
+ } else {
769
+ // Inline function 'kotlin.let' call
770
+ return tmp0_safe_receiver.z1h_1;
771
+ }
772
+ return tmp;
773
+ };
774
+ function loadInternalDensityTable() {
775
+ return loadDensityTable(get_internalDensityData());
776
+ }
777
+ function loadDensityTable(raw) {
778
+ try {
779
+ // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
780
+ var this_0 = Default_getInstance();
781
+ // Inline function 'kotlinx.serialization.serializer' call
782
+ var this_1 = this_0.nm();
783
+ // Inline function 'kotlinx.serialization.internal.cast' call
784
+ var this_2 = serializer(this_1, createKType(getKClass(TableSchema), arrayOf([]), false));
785
+ var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
786
+ var data = this_0.k12(tmp$ret$1, raw);
787
+ // Inline function 'kotlin.collections.map' call
788
+ var this_3 = data.t1h_1;
789
+ // Inline function 'kotlin.collections.mapTo' call
790
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
791
+ var _iterator__ex2g4s = this_3.h();
792
+ while (_iterator__ex2g4s.i()) {
793
+ var item = _iterator__ex2g4s.j();
794
+ var tmp$ret$3 = new Ingredient(get_int(get_jsonPrimitive(item.n(0))), get_jsonPrimitive(item.n(1)).o14(), get_jsonPrimitive(item.n(2)).o14(), get_float(get_jsonPrimitive(item.n(3))));
795
+ destination.f(tmp$ret$3);
796
+ }
797
+ var ingredients = destination;
798
+ // Inline function 'kotlin.collections.associate' call
799
+ var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(ingredients, 10)), 16);
800
+ // Inline function 'kotlin.collections.associateTo' call
801
+ var destination_0 = LinkedHashMap_init_$Create$(capacity);
802
+ var _iterator__ex2g4s_0 = ingredients.h();
803
+ while (_iterator__ex2g4s_0.i()) {
804
+ var element = _iterator__ex2g4s_0.j();
805
+ // Inline function 'kotlin.collections.plusAssign' call
806
+ var pair = to(element.y1h_1, element);
807
+ destination_0.a2(pair.hd_1, pair.id_1);
808
+ }
809
+ var normalised_map = destination_0;
810
+ // Inline function 'kotlin.collections.associate' call
811
+ var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(ingredients, 10)), 16);
812
+ // Inline function 'kotlin.collections.associateTo' call
813
+ var destination_1 = LinkedHashMap_init_$Create$(capacity_0);
814
+ var _iterator__ex2g4s_1 = ingredients.h();
815
+ while (_iterator__ex2g4s_1.i()) {
816
+ var element_0 = _iterator__ex2g4s_1.j();
817
+ // Inline function 'kotlin.collections.plusAssign' call
818
+ var pair_0 = to(element_0.x1h_1, element_0);
819
+ destination_1.a2(pair_0.hd_1, pair_0.id_1);
820
+ }
821
+ var name_map = destination_1;
822
+ var table = new DensityTable(data.r1h_1, normalised_map, name_map);
823
+ // Inline function 'kotlin.Companion.success' call
824
+ return _Result___init__impl__xyqfz8(table);
825
+ } catch ($p) {
826
+ if ($p instanceof SerializationException) {
827
+ var e = $p;
828
+ // Inline function 'kotlin.Companion.failure' call
829
+ return _Result___init__impl__xyqfz8(createFailure(e));
830
+ } else {
831
+ if ($p instanceof IllegalArgumentException) {
832
+ var e_0 = $p;
833
+ // Inline function 'kotlin.Companion.failure' call
834
+ var exception = Exception_init_$Create$('density fixture was valid json in an unknown shape');
835
+ return _Result___init__impl__xyqfz8(createFailure(exception));
836
+ } else {
837
+ if ($p instanceof ClassCastException) {
838
+ var e_1 = $p;
839
+ // Inline function 'kotlin.Companion.failure' call
840
+ var exception_0 = Exception_init_$Create$('there was an invalid data type in the data fixture');
841
+ return _Result___init__impl__xyqfz8(createFailure(exception_0));
842
+ } else {
843
+ if ($p instanceof IndexOutOfBoundsException) {
844
+ var e_2 = $p;
845
+ // Inline function 'kotlin.Companion.failure' call
846
+ var exception_1 = Exception_init_$Create$('there was a short row in the data fixture');
847
+ return _Result___init__impl__xyqfz8(createFailure(exception_1));
848
+ } else {
849
+ throw $p;
850
+ }
851
+ }
852
+ }
853
+ }
854
+ }
855
+ }
856
+ function get_internalDensityData() {
857
+ return internalDensityData;
858
+ }
859
+ var internalDensityData;
431
860
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn() {
432
861
  return new ArrayListSerializer(StringSerializer_getInstance());
433
862
  }
@@ -435,7 +864,7 @@
435
864
  return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
436
865
  }
437
866
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_1() {
438
- return new ArrayListSerializer($serializer_getInstance_0());
867
+ return new ArrayListSerializer($serializer_getInstance_2());
439
868
  }
440
869
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_2() {
441
870
  return new ArrayListSerializer(StringSerializer_getInstance());
@@ -444,16 +873,16 @@
444
873
  return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
445
874
  }
446
875
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_4() {
447
- return new ArrayListSerializer($serializer_getInstance_2());
876
+ return new ArrayListSerializer($serializer_getInstance_4());
448
877
  }
449
878
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_5() {
450
- return new ArrayListSerializer($serializer_getInstance_5());
879
+ return new ArrayListSerializer($serializer_getInstance_7());
451
880
  }
452
881
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_6() {
453
882
  return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
454
883
  }
455
884
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_7() {
456
- return new ArrayListSerializer($serializer_getInstance_6());
885
+ return new ArrayListSerializer($serializer_getInstance_8());
457
886
  }
458
887
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_8() {
459
888
  return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
@@ -462,13 +891,13 @@
462
891
  return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
463
892
  }
464
893
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_10() {
465
- return new ArrayListSerializer($serializer_getInstance_7());
894
+ return new ArrayListSerializer($serializer_getInstance_9());
466
895
  }
467
896
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11() {
468
897
  return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
469
898
  }
470
- function Companion() {
471
- Companion_instance = this;
899
+ function Companion_1() {
900
+ Companion_instance_2 = this;
472
901
  var tmp = this;
473
902
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
474
903
  var tmp_1 = lazy(tmp_0, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn);
@@ -498,16 +927,16 @@
498
927
  // Inline function 'kotlin.arrayOf' call
499
928
  // Inline function 'kotlin.js.unsafeCast' call
500
929
  // Inline function 'kotlin.js.asDynamic' call
501
- tmp.d1h_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];
930
+ tmp.a1i_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];
502
931
  }
503
- var Companion_instance;
504
- function Companion_getInstance() {
505
- if (Companion_instance == null)
506
- new Companion();
507
- return Companion_instance;
932
+ var Companion_instance_2;
933
+ function Companion_getInstance_1() {
934
+ if (Companion_instance_2 == null)
935
+ new Companion_1();
936
+ return Companion_instance_2;
508
937
  }
509
- function $serializer() {
510
- $serializer_instance = this;
938
+ function $serializer_1() {
939
+ $serializer_instance_1 = this;
511
940
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.RecipeV3', this, 23);
512
941
  tmp0_serialDesc.ht('bookCredit', true);
513
942
  tmp0_serialDesc.ht('byline', true);
@@ -532,86 +961,86 @@
532
961
  tmp0_serialDesc.ht('title', true);
533
962
  tmp0_serialDesc.ht('utensilsAndApplianceIds', true);
534
963
  tmp0_serialDesc.ht('webPublicationDate', true);
535
- this.e1h_1 = tmp0_serialDesc;
964
+ this.b1i_1 = tmp0_serialDesc;
536
965
  }
537
- protoOf($serializer).f1h = function (encoder, value) {
538
- var tmp0_desc = this.e1h_1;
966
+ protoOf($serializer_1).c1i = function (encoder, value) {
967
+ var tmp0_desc = this.b1i_1;
539
968
  var tmp1_output = encoder.yl(tmp0_desc);
540
- var tmp2_cached = Companion_getInstance().d1h_1;
541
- if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.o1f_1 == null)) {
542
- tmp1_output.qn(tmp0_desc, 0, StringSerializer_getInstance(), value.o1f_1);
969
+ var tmp2_cached = Companion_getInstance_1().a1i_1;
970
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.z1f_1 == null)) {
971
+ tmp1_output.qn(tmp0_desc, 0, StringSerializer_getInstance(), value.z1f_1);
543
972
  }
544
- if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.p1f_1 == null)) {
545
- tmp1_output.qn(tmp0_desc, 1, tmp2_cached[1].t1(), value.p1f_1);
973
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.a1g_1 == null)) {
974
+ tmp1_output.qn(tmp0_desc, 1, tmp2_cached[1].t1(), value.a1g_1);
546
975
  }
547
- if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.q1f_1 == null)) {
548
- tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.q1f_1);
976
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.b1g_1 == null)) {
977
+ tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.b1g_1);
549
978
  }
550
- if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.r1f_1 == null)) {
551
- tmp1_output.qn(tmp0_desc, 3, tmp2_cached[3].t1(), value.r1f_1);
979
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.c1g_1 == null)) {
980
+ tmp1_output.qn(tmp0_desc, 3, tmp2_cached[3].t1(), value.c1g_1);
552
981
  }
553
- if (tmp1_output.un(tmp0_desc, 4) ? true : !(value.s1f_1 == null)) {
554
- tmp1_output.qn(tmp0_desc, 4, tmp2_cached[4].t1(), value.s1f_1);
982
+ if (tmp1_output.un(tmp0_desc, 4) ? true : !(value.d1g_1 == null)) {
983
+ tmp1_output.qn(tmp0_desc, 4, tmp2_cached[4].t1(), value.d1g_1);
555
984
  }
556
- if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.t1f_1 == null)) {
557
- tmp1_output.qn(tmp0_desc, 5, StringSerializer_getInstance(), value.t1f_1);
985
+ if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.e1g_1 == null)) {
986
+ tmp1_output.qn(tmp0_desc, 5, StringSerializer_getInstance(), value.e1g_1);
558
987
  }
559
- if (tmp1_output.un(tmp0_desc, 6) ? true : !(value.u1f_1 == null)) {
560
- tmp1_output.qn(tmp0_desc, 6, tmp2_cached[6].t1(), value.u1f_1);
988
+ if (tmp1_output.un(tmp0_desc, 6) ? true : !(value.f1g_1 == null)) {
989
+ tmp1_output.qn(tmp0_desc, 6, tmp2_cached[6].t1(), value.f1g_1);
561
990
  }
562
- if (tmp1_output.un(tmp0_desc, 7) ? true : !(value.v1f_1 == null)) {
563
- tmp1_output.qn(tmp0_desc, 7, tmp2_cached[7].t1(), value.v1f_1);
991
+ if (tmp1_output.un(tmp0_desc, 7) ? true : !(value.g1g_1 == null)) {
992
+ tmp1_output.qn(tmp0_desc, 7, tmp2_cached[7].t1(), value.g1g_1);
564
993
  }
565
- if (tmp1_output.un(tmp0_desc, 8) ? true : !(value.w1f_1 == null)) {
566
- tmp1_output.qn(tmp0_desc, 8, StringSerializer_getInstance(), value.w1f_1);
994
+ if (tmp1_output.un(tmp0_desc, 8) ? true : !(value.h1g_1 == null)) {
995
+ tmp1_output.qn(tmp0_desc, 8, StringSerializer_getInstance(), value.h1g_1);
567
996
  }
568
- if (tmp1_output.un(tmp0_desc, 9) ? true : !(value.x1f_1 == null)) {
569
- tmp1_output.qn(tmp0_desc, 9, StringSerializer_getInstance(), value.x1f_1);
997
+ if (tmp1_output.un(tmp0_desc, 9) ? true : !(value.i1g_1 == null)) {
998
+ tmp1_output.qn(tmp0_desc, 9, StringSerializer_getInstance(), value.i1g_1);
570
999
  }
571
- if (tmp1_output.un(tmp0_desc, 10) ? true : !(value.y1f_1 == null)) {
572
- tmp1_output.qn(tmp0_desc, 10, $serializer_getInstance_1(), value.y1f_1);
1000
+ if (tmp1_output.un(tmp0_desc, 10) ? true : !(value.j1g_1 == null)) {
1001
+ tmp1_output.qn(tmp0_desc, 10, $serializer_getInstance_3(), value.j1g_1);
573
1002
  }
574
- tmp1_output.mn(tmp0_desc, 11, value.z1f_1);
575
- if (tmp1_output.un(tmp0_desc, 12) ? true : !(value.a1g_1 == null)) {
576
- tmp1_output.qn(tmp0_desc, 12, tmp2_cached[12].t1(), value.a1g_1);
1003
+ tmp1_output.mn(tmp0_desc, 11, value.k1g_1);
1004
+ if (tmp1_output.un(tmp0_desc, 12) ? true : !(value.l1g_1 == null)) {
1005
+ tmp1_output.qn(tmp0_desc, 12, tmp2_cached[12].t1(), value.l1g_1);
577
1006
  }
578
- if (tmp1_output.un(tmp0_desc, 13) ? true : !(value.b1g_1 == null)) {
579
- tmp1_output.qn(tmp0_desc, 13, tmp2_cached[13].t1(), value.b1g_1);
1007
+ if (tmp1_output.un(tmp0_desc, 13) ? true : !(value.m1g_1 == null)) {
1008
+ tmp1_output.qn(tmp0_desc, 13, tmp2_cached[13].t1(), value.m1g_1);
580
1009
  }
581
- if (tmp1_output.un(tmp0_desc, 14) ? true : !(value.c1g_1 == null)) {
582
- tmp1_output.qn(tmp0_desc, 14, BooleanSerializer_getInstance(), value.c1g_1);
1010
+ if (tmp1_output.un(tmp0_desc, 14) ? true : !(value.n1g_1 == null)) {
1011
+ tmp1_output.qn(tmp0_desc, 14, BooleanSerializer_getInstance(), value.n1g_1);
583
1012
  }
584
- if (tmp1_output.un(tmp0_desc, 15) ? true : !(value.d1g_1 == null)) {
585
- tmp1_output.qn(tmp0_desc, 15, tmp2_cached[15].t1(), value.d1g_1);
1013
+ if (tmp1_output.un(tmp0_desc, 15) ? true : !(value.o1g_1 == null)) {
1014
+ tmp1_output.qn(tmp0_desc, 15, tmp2_cached[15].t1(), value.o1g_1);
586
1015
  }
587
- if (tmp1_output.un(tmp0_desc, 16) ? true : !(value.e1g_1 == null)) {
588
- tmp1_output.qn(tmp0_desc, 16, tmp2_cached[16].t1(), value.e1g_1);
1016
+ if (tmp1_output.un(tmp0_desc, 16) ? true : !(value.p1g_1 == null)) {
1017
+ tmp1_output.qn(tmp0_desc, 16, tmp2_cached[16].t1(), value.p1g_1);
589
1018
  }
590
- if (tmp1_output.un(tmp0_desc, 17) ? true : !(value.f1g_1 == null)) {
591
- tmp1_output.qn(tmp0_desc, 17, tmp2_cached[17].t1(), value.f1g_1);
1019
+ if (tmp1_output.un(tmp0_desc, 17) ? true : !(value.q1g_1 == null)) {
1020
+ tmp1_output.qn(tmp0_desc, 17, tmp2_cached[17].t1(), value.q1g_1);
592
1021
  }
593
- if (tmp1_output.un(tmp0_desc, 18) ? true : !(value.g1g_1 == null)) {
594
- tmp1_output.qn(tmp0_desc, 18, tmp2_cached[18].t1(), value.g1g_1);
1022
+ if (tmp1_output.un(tmp0_desc, 18) ? true : !(value.r1g_1 == null)) {
1023
+ tmp1_output.qn(tmp0_desc, 18, tmp2_cached[18].t1(), value.r1g_1);
595
1024
  }
596
- if (tmp1_output.un(tmp0_desc, 19) ? true : !(value.h1g_1 == null)) {
597
- tmp1_output.qn(tmp0_desc, 19, tmp2_cached[19].t1(), value.h1g_1);
1025
+ if (tmp1_output.un(tmp0_desc, 19) ? true : !(value.s1g_1 == null)) {
1026
+ tmp1_output.qn(tmp0_desc, 19, tmp2_cached[19].t1(), value.s1g_1);
598
1027
  }
599
- if (tmp1_output.un(tmp0_desc, 20) ? true : !(value.i1g_1 == null)) {
600
- tmp1_output.qn(tmp0_desc, 20, StringSerializer_getInstance(), value.i1g_1);
1028
+ if (tmp1_output.un(tmp0_desc, 20) ? true : !(value.t1g_1 == null)) {
1029
+ tmp1_output.qn(tmp0_desc, 20, StringSerializer_getInstance(), value.t1g_1);
601
1030
  }
602
- if (tmp1_output.un(tmp0_desc, 21) ? true : !(value.j1g_1 == null)) {
603
- tmp1_output.qn(tmp0_desc, 21, tmp2_cached[21].t1(), value.j1g_1);
1031
+ if (tmp1_output.un(tmp0_desc, 21) ? true : !(value.u1g_1 == null)) {
1032
+ tmp1_output.qn(tmp0_desc, 21, tmp2_cached[21].t1(), value.u1g_1);
604
1033
  }
605
- if (tmp1_output.un(tmp0_desc, 22) ? true : !(value.k1g_1 == null)) {
606
- tmp1_output.qn(tmp0_desc, 22, StringSerializer_getInstance(), value.k1g_1);
1034
+ if (tmp1_output.un(tmp0_desc, 22) ? true : !(value.v1g_1 == null)) {
1035
+ tmp1_output.qn(tmp0_desc, 22, StringSerializer_getInstance(), value.v1g_1);
607
1036
  }
608
1037
  tmp1_output.zl(tmp0_desc);
609
1038
  };
610
- protoOf($serializer).cj = function (encoder, value) {
611
- return this.f1h(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
1039
+ protoOf($serializer_1).cj = function (encoder, value) {
1040
+ return this.c1i(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
612
1041
  };
613
- protoOf($serializer).dj = function (decoder) {
614
- var tmp0_desc = this.e1h_1;
1042
+ protoOf($serializer_1).dj = function (decoder) {
1043
+ var tmp0_desc = this.b1i_1;
615
1044
  var tmp1_flag = true;
616
1045
  var tmp2_index = 0;
617
1046
  var tmp3_bitMask0 = 0;
@@ -639,7 +1068,7 @@
639
1068
  var tmp25_local21 = null;
640
1069
  var tmp26_local22 = null;
641
1070
  var tmp27_input = decoder.yl(tmp0_desc);
642
- var tmp28_cached = Companion_getInstance().d1h_1;
1071
+ var tmp28_cached = Companion_getInstance_1().a1i_1;
643
1072
  if (tmp27_input.om()) {
644
1073
  tmp4_local0 = tmp27_input.mm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
645
1074
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -661,7 +1090,7 @@
661
1090
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
662
1091
  tmp13_local9 = tmp27_input.mm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
663
1092
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
664
- tmp14_local10 = tmp27_input.mm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
1093
+ tmp14_local10 = tmp27_input.mm(tmp0_desc, 10, $serializer_getInstance_3(), tmp14_local10);
665
1094
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
666
1095
  tmp15_local11 = tmp27_input.im(tmp0_desc, 11);
667
1096
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
@@ -735,7 +1164,7 @@
735
1164
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
736
1165
  break;
737
1166
  case 10:
738
- tmp14_local10 = tmp27_input.mm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
1167
+ tmp14_local10 = tmp27_input.mm(tmp0_desc, 10, $serializer_getInstance_3(), tmp14_local10);
739
1168
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
740
1169
  break;
741
1170
  case 11:
@@ -793,122 +1222,122 @@
793
1222
  tmp27_input.zl(tmp0_desc);
794
1223
  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);
795
1224
  };
796
- protoOf($serializer).bj = function () {
797
- return this.e1h_1;
1225
+ protoOf($serializer_1).bj = function () {
1226
+ return this.b1i_1;
798
1227
  };
799
- protoOf($serializer).jt = function () {
800
- var tmp0_cached = Companion_getInstance().d1h_1;
1228
+ protoOf($serializer_1).jt = function () {
1229
+ var tmp0_cached = Companion_getInstance_1().a1i_1;
801
1230
  // Inline function 'kotlin.arrayOf' call
802
1231
  // Inline function 'kotlin.js.unsafeCast' call
803
1232
  // Inline function 'kotlin.js.asDynamic' call
804
- return [get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[1].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[3].t1()), get_nullable(tmp0_cached[4].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[6].t1()), get_nullable(tmp0_cached[7].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_1()), StringSerializer_getInstance(), get_nullable(tmp0_cached[12].t1()), get_nullable(tmp0_cached[13].t1()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[15].t1()), get_nullable(tmp0_cached[16].t1()), get_nullable(tmp0_cached[17].t1()), get_nullable(tmp0_cached[18].t1()), get_nullable(tmp0_cached[19].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[21].t1()), get_nullable(StringSerializer_getInstance())];
1233
+ return [get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[1].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[3].t1()), get_nullable(tmp0_cached[4].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[6].t1()), get_nullable(tmp0_cached[7].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_3()), StringSerializer_getInstance(), get_nullable(tmp0_cached[12].t1()), get_nullable(tmp0_cached[13].t1()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[15].t1()), get_nullable(tmp0_cached[16].t1()), get_nullable(tmp0_cached[17].t1()), get_nullable(tmp0_cached[18].t1()), get_nullable(tmp0_cached[19].t1()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[21].t1()), get_nullable(StringSerializer_getInstance())];
805
1234
  };
806
- var $serializer_instance;
807
- function $serializer_getInstance() {
808
- if ($serializer_instance == null)
809
- new $serializer();
810
- return $serializer_instance;
1235
+ var $serializer_instance_1;
1236
+ function $serializer_getInstance_1() {
1237
+ if ($serializer_instance_1 == null)
1238
+ new $serializer_1();
1239
+ return $serializer_instance_1;
811
1240
  }
812
1241
  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) {
813
1242
  if (!(2048 === (2048 & seen0))) {
814
- throwMissingFieldException(seen0, 2048, $serializer_getInstance().e1h_1);
1243
+ throwMissingFieldException(seen0, 2048, $serializer_getInstance_1().b1i_1);
815
1244
  }
816
1245
  if (0 === (seen0 & 1))
817
- $this.o1f_1 = null;
1246
+ $this.z1f_1 = null;
818
1247
  else
819
- $this.o1f_1 = bookCredit;
1248
+ $this.z1f_1 = bookCredit;
820
1249
  if (0 === (seen0 & 2))
821
- $this.p1f_1 = null;
1250
+ $this.a1g_1 = null;
822
1251
  else
823
- $this.p1f_1 = byline;
1252
+ $this.a1g_1 = byline;
824
1253
  if (0 === (seen0 & 4))
825
- $this.q1f_1 = null;
1254
+ $this.b1g_1 = null;
826
1255
  else
827
- $this.q1f_1 = canonicalArticle;
1256
+ $this.b1g_1 = canonicalArticle;
828
1257
  if (0 === (seen0 & 8))
829
- $this.r1f_1 = null;
1258
+ $this.c1g_1 = null;
830
1259
  else
831
- $this.r1f_1 = celebrationIds;
1260
+ $this.c1g_1 = celebrationIds;
832
1261
  if (0 === (seen0 & 16))
833
- $this.s1f_1 = null;
1262
+ $this.d1g_1 = null;
834
1263
  else
835
- $this.s1f_1 = commerceCtas;
1264
+ $this.d1g_1 = commerceCtas;
836
1265
  if (0 === (seen0 & 32))
837
- $this.t1f_1 = null;
1266
+ $this.e1g_1 = null;
838
1267
  else
839
- $this.t1f_1 = composerId;
1268
+ $this.e1g_1 = composerId;
840
1269
  if (0 === (seen0 & 64))
841
- $this.u1f_1 = null;
1270
+ $this.f1g_1 = null;
842
1271
  else
843
- $this.u1f_1 = contributors;
1272
+ $this.f1g_1 = contributors;
844
1273
  if (0 === (seen0 & 128))
845
- $this.v1f_1 = null;
1274
+ $this.g1g_1 = null;
846
1275
  else
847
- $this.v1f_1 = cuisineIds;
1276
+ $this.g1g_1 = cuisineIds;
848
1277
  if (0 === (seen0 & 256))
849
- $this.w1f_1 = null;
1278
+ $this.h1g_1 = null;
850
1279
  else
851
- $this.w1f_1 = description;
1280
+ $this.h1g_1 = description;
852
1281
  if (0 === (seen0 & 512))
853
- $this.x1f_1 = null;
1282
+ $this.i1g_1 = null;
854
1283
  else
855
- $this.x1f_1 = difficultyLevel;
1284
+ $this.i1g_1 = difficultyLevel;
856
1285
  if (0 === (seen0 & 1024))
857
- $this.y1f_1 = null;
1286
+ $this.j1g_1 = null;
858
1287
  else
859
- $this.y1f_1 = featuredImage;
860
- $this.z1f_1 = id;
1288
+ $this.j1g_1 = featuredImage;
1289
+ $this.k1g_1 = id;
861
1290
  if (0 === (seen0 & 4096))
862
- $this.a1g_1 = null;
1291
+ $this.l1g_1 = null;
863
1292
  else
864
- $this.a1g_1 = ingredients;
1293
+ $this.l1g_1 = ingredients;
865
1294
  if (0 === (seen0 & 8192))
866
- $this.b1g_1 = null;
1295
+ $this.m1g_1 = null;
867
1296
  else
868
- $this.b1g_1 = instructions;
1297
+ $this.m1g_1 = instructions;
869
1298
  if (0 === (seen0 & 16384))
870
- $this.c1g_1 = null;
1299
+ $this.n1g_1 = null;
871
1300
  else
872
- $this.c1g_1 = isAppReady;
1301
+ $this.n1g_1 = isAppReady;
873
1302
  if (0 === (seen0 & 32768))
874
- $this.d1g_1 = null;
1303
+ $this.o1g_1 = null;
875
1304
  else
876
- $this.d1g_1 = mealTypeIds;
1305
+ $this.o1g_1 = mealTypeIds;
877
1306
  if (0 === (seen0 & 65536))
878
- $this.e1g_1 = null;
1307
+ $this.p1g_1 = null;
879
1308
  else
880
- $this.e1g_1 = serves;
1309
+ $this.p1g_1 = serves;
881
1310
  if (0 === (seen0 & 131072))
882
- $this.f1g_1 = null;
1311
+ $this.q1g_1 = null;
883
1312
  else
884
- $this.f1g_1 = suitableForDietIds;
1313
+ $this.q1g_1 = suitableForDietIds;
885
1314
  if (0 === (seen0 & 262144))
886
- $this.g1g_1 = null;
1315
+ $this.r1g_1 = null;
887
1316
  else
888
- $this.g1g_1 = techniquesUsedIds;
1317
+ $this.r1g_1 = techniquesUsedIds;
889
1318
  if (0 === (seen0 & 524288))
890
- $this.h1g_1 = null;
1319
+ $this.s1g_1 = null;
891
1320
  else
892
- $this.h1g_1 = timings;
1321
+ $this.s1g_1 = timings;
893
1322
  if (0 === (seen0 & 1048576))
894
- $this.i1g_1 = null;
1323
+ $this.t1g_1 = null;
895
1324
  else
896
- $this.i1g_1 = title;
1325
+ $this.t1g_1 = title;
897
1326
  if (0 === (seen0 & 2097152))
898
- $this.j1g_1 = null;
1327
+ $this.u1g_1 = null;
899
1328
  else
900
- $this.j1g_1 = utensilsAndApplianceIds;
1329
+ $this.u1g_1 = utensilsAndApplianceIds;
901
1330
  if (0 === (seen0 & 4194304))
902
- $this.k1g_1 = null;
1331
+ $this.v1g_1 = null;
903
1332
  else
904
- $this.k1g_1 = webPublicationDate;
1333
+ $this.v1g_1 = webPublicationDate;
905
1334
  return $this;
906
1335
  }
907
1336
  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) {
908
1337
  return 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, objectCreate(protoOf(RecipeV3)));
909
1338
  }
910
1339
  function RecipeV3(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
911
- Companion_getInstance();
1340
+ Companion_getInstance_1();
912
1341
  bookCredit = bookCredit === VOID ? null : bookCredit;
913
1342
  byline = byline === VOID ? null : byline;
914
1343
  canonicalArticle = canonicalArticle === VOID ? null : canonicalArticle;
@@ -931,86 +1360,86 @@
931
1360
  title = title === VOID ? null : title;
932
1361
  utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? null : utensilsAndApplianceIds;
933
1362
  webPublicationDate = webPublicationDate === VOID ? null : webPublicationDate;
934
- this.o1f_1 = bookCredit;
935
- this.p1f_1 = byline;
936
- this.q1f_1 = canonicalArticle;
937
- this.r1f_1 = celebrationIds;
938
- this.s1f_1 = commerceCtas;
939
- this.t1f_1 = composerId;
940
- this.u1f_1 = contributors;
941
- this.v1f_1 = cuisineIds;
942
- this.w1f_1 = description;
943
- this.x1f_1 = difficultyLevel;
944
- this.y1f_1 = featuredImage;
945
- this.z1f_1 = id;
946
- this.a1g_1 = ingredients;
947
- this.b1g_1 = instructions;
948
- this.c1g_1 = isAppReady;
949
- this.d1g_1 = mealTypeIds;
950
- this.e1g_1 = serves;
951
- this.f1g_1 = suitableForDietIds;
952
- this.g1g_1 = techniquesUsedIds;
953
- this.h1g_1 = timings;
954
- this.i1g_1 = title;
955
- this.j1g_1 = utensilsAndApplianceIds;
956
- this.k1g_1 = webPublicationDate;
957
- }
958
- protoOf(RecipeV3).g1h = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
1363
+ this.z1f_1 = bookCredit;
1364
+ this.a1g_1 = byline;
1365
+ this.b1g_1 = canonicalArticle;
1366
+ this.c1g_1 = celebrationIds;
1367
+ this.d1g_1 = commerceCtas;
1368
+ this.e1g_1 = composerId;
1369
+ this.f1g_1 = contributors;
1370
+ this.g1g_1 = cuisineIds;
1371
+ this.h1g_1 = description;
1372
+ this.i1g_1 = difficultyLevel;
1373
+ this.j1g_1 = featuredImage;
1374
+ this.k1g_1 = id;
1375
+ this.l1g_1 = ingredients;
1376
+ this.m1g_1 = instructions;
1377
+ this.n1g_1 = isAppReady;
1378
+ this.o1g_1 = mealTypeIds;
1379
+ this.p1g_1 = serves;
1380
+ this.q1g_1 = suitableForDietIds;
1381
+ this.r1g_1 = techniquesUsedIds;
1382
+ this.s1g_1 = timings;
1383
+ this.t1g_1 = title;
1384
+ this.u1g_1 = utensilsAndApplianceIds;
1385
+ this.v1g_1 = webPublicationDate;
1386
+ }
1387
+ protoOf(RecipeV3).d1i = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
959
1388
  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);
960
1389
  };
961
- protoOf(RecipeV3).c1h = 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) {
962
- bookCredit = bookCredit === VOID ? this.o1f_1 : bookCredit;
963
- byline = byline === VOID ? this.p1f_1 : byline;
964
- canonicalArticle = canonicalArticle === VOID ? this.q1f_1 : canonicalArticle;
965
- celebrationIds = celebrationIds === VOID ? this.r1f_1 : celebrationIds;
966
- commerceCtas = commerceCtas === VOID ? this.s1f_1 : commerceCtas;
967
- composerId = composerId === VOID ? this.t1f_1 : composerId;
968
- contributors = contributors === VOID ? this.u1f_1 : contributors;
969
- cuisineIds = cuisineIds === VOID ? this.v1f_1 : cuisineIds;
970
- description = description === VOID ? this.w1f_1 : description;
971
- difficultyLevel = difficultyLevel === VOID ? this.x1f_1 : difficultyLevel;
972
- featuredImage = featuredImage === VOID ? this.y1f_1 : featuredImage;
973
- id = id === VOID ? this.z1f_1 : id;
974
- ingredients = ingredients === VOID ? this.a1g_1 : ingredients;
975
- instructions = instructions === VOID ? this.b1g_1 : instructions;
976
- isAppReady = isAppReady === VOID ? this.c1g_1 : isAppReady;
977
- mealTypeIds = mealTypeIds === VOID ? this.d1g_1 : mealTypeIds;
978
- serves = serves === VOID ? this.e1g_1 : serves;
979
- suitableForDietIds = suitableForDietIds === VOID ? this.f1g_1 : suitableForDietIds;
980
- techniquesUsedIds = techniquesUsedIds === VOID ? this.g1g_1 : techniquesUsedIds;
981
- timings = timings === VOID ? this.h1g_1 : timings;
982
- title = title === VOID ? this.i1g_1 : title;
983
- utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.j1g_1 : utensilsAndApplianceIds;
984
- webPublicationDate = webPublicationDate === VOID ? this.k1g_1 : webPublicationDate;
985
- return $super === VOID ? this.g1h(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.g1h.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);
1390
+ protoOf(RecipeV3).n1h = 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) {
1391
+ bookCredit = bookCredit === VOID ? this.z1f_1 : bookCredit;
1392
+ byline = byline === VOID ? this.a1g_1 : byline;
1393
+ canonicalArticle = canonicalArticle === VOID ? this.b1g_1 : canonicalArticle;
1394
+ celebrationIds = celebrationIds === VOID ? this.c1g_1 : celebrationIds;
1395
+ commerceCtas = commerceCtas === VOID ? this.d1g_1 : commerceCtas;
1396
+ composerId = composerId === VOID ? this.e1g_1 : composerId;
1397
+ contributors = contributors === VOID ? this.f1g_1 : contributors;
1398
+ cuisineIds = cuisineIds === VOID ? this.g1g_1 : cuisineIds;
1399
+ description = description === VOID ? this.h1g_1 : description;
1400
+ difficultyLevel = difficultyLevel === VOID ? this.i1g_1 : difficultyLevel;
1401
+ featuredImage = featuredImage === VOID ? this.j1g_1 : featuredImage;
1402
+ id = id === VOID ? this.k1g_1 : id;
1403
+ ingredients = ingredients === VOID ? this.l1g_1 : ingredients;
1404
+ instructions = instructions === VOID ? this.m1g_1 : instructions;
1405
+ isAppReady = isAppReady === VOID ? this.n1g_1 : isAppReady;
1406
+ mealTypeIds = mealTypeIds === VOID ? this.o1g_1 : mealTypeIds;
1407
+ serves = serves === VOID ? this.p1g_1 : serves;
1408
+ suitableForDietIds = suitableForDietIds === VOID ? this.q1g_1 : suitableForDietIds;
1409
+ techniquesUsedIds = techniquesUsedIds === VOID ? this.r1g_1 : techniquesUsedIds;
1410
+ timings = timings === VOID ? this.s1g_1 : timings;
1411
+ title = title === VOID ? this.t1g_1 : title;
1412
+ utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.u1g_1 : utensilsAndApplianceIds;
1413
+ webPublicationDate = webPublicationDate === VOID ? this.v1g_1 : webPublicationDate;
1414
+ return $super === VOID ? this.d1i(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.d1i.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);
986
1415
  };
987
1416
  protoOf(RecipeV3).toString = function () {
988
- return 'RecipeV3(bookCredit=' + this.o1f_1 + ', byline=' + toString(this.p1f_1) + ', canonicalArticle=' + this.q1f_1 + ', celebrationIds=' + toString(this.r1f_1) + ', commerceCtas=' + toString(this.s1f_1) + ', composerId=' + this.t1f_1 + ', contributors=' + toString(this.u1f_1) + ', cuisineIds=' + toString(this.v1f_1) + ', description=' + this.w1f_1 + ', difficultyLevel=' + this.x1f_1 + ', featuredImage=' + toString(this.y1f_1) + ', id=' + this.z1f_1 + ', ingredients=' + toString(this.a1g_1) + ', instructions=' + toString(this.b1g_1) + ', isAppReady=' + this.c1g_1 + ', mealTypeIds=' + toString(this.d1g_1) + ', serves=' + toString(this.e1g_1) + ', suitableForDietIds=' + toString(this.f1g_1) + ', techniquesUsedIds=' + toString(this.g1g_1) + ', timings=' + toString(this.h1g_1) + ', title=' + this.i1g_1 + ', utensilsAndApplianceIds=' + toString(this.j1g_1) + ', webPublicationDate=' + this.k1g_1 + ')';
1417
+ return 'RecipeV3(bookCredit=' + this.z1f_1 + ', byline=' + toString(this.a1g_1) + ', canonicalArticle=' + this.b1g_1 + ', celebrationIds=' + toString(this.c1g_1) + ', commerceCtas=' + toString(this.d1g_1) + ', composerId=' + this.e1g_1 + ', contributors=' + toString(this.f1g_1) + ', cuisineIds=' + toString(this.g1g_1) + ', description=' + this.h1g_1 + ', difficultyLevel=' + this.i1g_1 + ', featuredImage=' + toString(this.j1g_1) + ', id=' + this.k1g_1 + ', ingredients=' + toString(this.l1g_1) + ', instructions=' + toString(this.m1g_1) + ', isAppReady=' + this.n1g_1 + ', mealTypeIds=' + toString(this.o1g_1) + ', serves=' + toString(this.p1g_1) + ', suitableForDietIds=' + toString(this.q1g_1) + ', techniquesUsedIds=' + toString(this.r1g_1) + ', timings=' + toString(this.s1g_1) + ', title=' + this.t1g_1 + ', utensilsAndApplianceIds=' + toString(this.u1g_1) + ', webPublicationDate=' + this.v1g_1 + ')';
989
1418
  };
990
1419
  protoOf(RecipeV3).hashCode = function () {
991
- var result = this.o1f_1 == null ? 0 : getStringHashCode(this.o1f_1);
992
- result = imul(result, 31) + (this.p1f_1 == null ? 0 : hashCode(this.p1f_1)) | 0;
993
- result = imul(result, 31) + (this.q1f_1 == null ? 0 : getStringHashCode(this.q1f_1)) | 0;
994
- result = imul(result, 31) + (this.r1f_1 == null ? 0 : hashCode(this.r1f_1)) | 0;
995
- result = imul(result, 31) + (this.s1f_1 == null ? 0 : hashCode(this.s1f_1)) | 0;
996
- result = imul(result, 31) + (this.t1f_1 == null ? 0 : getStringHashCode(this.t1f_1)) | 0;
997
- result = imul(result, 31) + (this.u1f_1 == null ? 0 : hashCode(this.u1f_1)) | 0;
998
- result = imul(result, 31) + (this.v1f_1 == null ? 0 : hashCode(this.v1f_1)) | 0;
999
- result = imul(result, 31) + (this.w1f_1 == null ? 0 : getStringHashCode(this.w1f_1)) | 0;
1000
- result = imul(result, 31) + (this.x1f_1 == null ? 0 : getStringHashCode(this.x1f_1)) | 0;
1001
- result = imul(result, 31) + (this.y1f_1 == null ? 0 : this.y1f_1.hashCode()) | 0;
1002
- result = imul(result, 31) + getStringHashCode(this.z1f_1) | 0;
1420
+ var result = this.z1f_1 == null ? 0 : getStringHashCode(this.z1f_1);
1003
1421
  result = imul(result, 31) + (this.a1g_1 == null ? 0 : hashCode(this.a1g_1)) | 0;
1004
- result = imul(result, 31) + (this.b1g_1 == null ? 0 : hashCode(this.b1g_1)) | 0;
1005
- result = imul(result, 31) + (this.c1g_1 == null ? 0 : getBooleanHashCode(this.c1g_1)) | 0;
1422
+ result = imul(result, 31) + (this.b1g_1 == null ? 0 : getStringHashCode(this.b1g_1)) | 0;
1423
+ result = imul(result, 31) + (this.c1g_1 == null ? 0 : hashCode(this.c1g_1)) | 0;
1006
1424
  result = imul(result, 31) + (this.d1g_1 == null ? 0 : hashCode(this.d1g_1)) | 0;
1007
- result = imul(result, 31) + (this.e1g_1 == null ? 0 : hashCode(this.e1g_1)) | 0;
1425
+ result = imul(result, 31) + (this.e1g_1 == null ? 0 : getStringHashCode(this.e1g_1)) | 0;
1008
1426
  result = imul(result, 31) + (this.f1g_1 == null ? 0 : hashCode(this.f1g_1)) | 0;
1009
1427
  result = imul(result, 31) + (this.g1g_1 == null ? 0 : hashCode(this.g1g_1)) | 0;
1010
- result = imul(result, 31) + (this.h1g_1 == null ? 0 : hashCode(this.h1g_1)) | 0;
1428
+ result = imul(result, 31) + (this.h1g_1 == null ? 0 : getStringHashCode(this.h1g_1)) | 0;
1011
1429
  result = imul(result, 31) + (this.i1g_1 == null ? 0 : getStringHashCode(this.i1g_1)) | 0;
1012
- result = imul(result, 31) + (this.j1g_1 == null ? 0 : hashCode(this.j1g_1)) | 0;
1013
- result = imul(result, 31) + (this.k1g_1 == null ? 0 : getStringHashCode(this.k1g_1)) | 0;
1430
+ result = imul(result, 31) + (this.j1g_1 == null ? 0 : this.j1g_1.hashCode()) | 0;
1431
+ result = imul(result, 31) + getStringHashCode(this.k1g_1) | 0;
1432
+ result = imul(result, 31) + (this.l1g_1 == null ? 0 : hashCode(this.l1g_1)) | 0;
1433
+ result = imul(result, 31) + (this.m1g_1 == null ? 0 : hashCode(this.m1g_1)) | 0;
1434
+ result = imul(result, 31) + (this.n1g_1 == null ? 0 : getBooleanHashCode(this.n1g_1)) | 0;
1435
+ result = imul(result, 31) + (this.o1g_1 == null ? 0 : hashCode(this.o1g_1)) | 0;
1436
+ result = imul(result, 31) + (this.p1g_1 == null ? 0 : hashCode(this.p1g_1)) | 0;
1437
+ result = imul(result, 31) + (this.q1g_1 == null ? 0 : hashCode(this.q1g_1)) | 0;
1438
+ result = imul(result, 31) + (this.r1g_1 == null ? 0 : hashCode(this.r1g_1)) | 0;
1439
+ result = imul(result, 31) + (this.s1g_1 == null ? 0 : hashCode(this.s1g_1)) | 0;
1440
+ result = imul(result, 31) + (this.t1g_1 == null ? 0 : getStringHashCode(this.t1g_1)) | 0;
1441
+ result = imul(result, 31) + (this.u1g_1 == null ? 0 : hashCode(this.u1g_1)) | 0;
1442
+ result = imul(result, 31) + (this.v1g_1 == null ? 0 : getStringHashCode(this.v1g_1)) | 0;
1014
1443
  return result;
1015
1444
  };
1016
1445
  protoOf(RecipeV3).equals = function (other) {
@@ -1018,75 +1447,75 @@
1018
1447
  return true;
1019
1448
  if (!(other instanceof RecipeV3))
1020
1449
  return false;
1021
- if (!(this.o1f_1 == other.o1f_1))
1450
+ if (!(this.z1f_1 == other.z1f_1))
1022
1451
  return false;
1023
- if (!equals(this.p1f_1, other.p1f_1))
1452
+ if (!equals(this.a1g_1, other.a1g_1))
1024
1453
  return false;
1025
- if (!(this.q1f_1 == other.q1f_1))
1454
+ if (!(this.b1g_1 == other.b1g_1))
1026
1455
  return false;
1027
- if (!equals(this.r1f_1, other.r1f_1))
1456
+ if (!equals(this.c1g_1, other.c1g_1))
1028
1457
  return false;
1029
- if (!equals(this.s1f_1, other.s1f_1))
1458
+ if (!equals(this.d1g_1, other.d1g_1))
1030
1459
  return false;
1031
- if (!(this.t1f_1 == other.t1f_1))
1460
+ if (!(this.e1g_1 == other.e1g_1))
1032
1461
  return false;
1033
- if (!equals(this.u1f_1, other.u1f_1))
1462
+ if (!equals(this.f1g_1, other.f1g_1))
1034
1463
  return false;
1035
- if (!equals(this.v1f_1, other.v1f_1))
1464
+ if (!equals(this.g1g_1, other.g1g_1))
1036
1465
  return false;
1037
- if (!(this.w1f_1 == other.w1f_1))
1466
+ if (!(this.h1g_1 == other.h1g_1))
1038
1467
  return false;
1039
- if (!(this.x1f_1 == other.x1f_1))
1468
+ if (!(this.i1g_1 == other.i1g_1))
1040
1469
  return false;
1041
- if (!equals(this.y1f_1, other.y1f_1))
1470
+ if (!equals(this.j1g_1, other.j1g_1))
1042
1471
  return false;
1043
- if (!(this.z1f_1 === other.z1f_1))
1472
+ if (!(this.k1g_1 === other.k1g_1))
1044
1473
  return false;
1045
- if (!equals(this.a1g_1, other.a1g_1))
1474
+ if (!equals(this.l1g_1, other.l1g_1))
1046
1475
  return false;
1047
- if (!equals(this.b1g_1, other.b1g_1))
1476
+ if (!equals(this.m1g_1, other.m1g_1))
1048
1477
  return false;
1049
- if (!(this.c1g_1 == other.c1g_1))
1478
+ if (!(this.n1g_1 == other.n1g_1))
1050
1479
  return false;
1051
- if (!equals(this.d1g_1, other.d1g_1))
1480
+ if (!equals(this.o1g_1, other.o1g_1))
1052
1481
  return false;
1053
- if (!equals(this.e1g_1, other.e1g_1))
1482
+ if (!equals(this.p1g_1, other.p1g_1))
1054
1483
  return false;
1055
- if (!equals(this.f1g_1, other.f1g_1))
1484
+ if (!equals(this.q1g_1, other.q1g_1))
1056
1485
  return false;
1057
- if (!equals(this.g1g_1, other.g1g_1))
1486
+ if (!equals(this.r1g_1, other.r1g_1))
1058
1487
  return false;
1059
- if (!equals(this.h1g_1, other.h1g_1))
1488
+ if (!equals(this.s1g_1, other.s1g_1))
1060
1489
  return false;
1061
- if (!(this.i1g_1 == other.i1g_1))
1490
+ if (!(this.t1g_1 == other.t1g_1))
1062
1491
  return false;
1063
- if (!equals(this.j1g_1, other.j1g_1))
1492
+ if (!equals(this.u1g_1, other.u1g_1))
1064
1493
  return false;
1065
- if (!(this.k1g_1 == other.k1g_1))
1494
+ if (!(this.v1g_1 == other.v1g_1))
1066
1495
  return false;
1067
1496
  return true;
1068
1497
  };
1069
- function $serializer_0() {
1070
- $serializer_instance_0 = this;
1498
+ function $serializer_2() {
1499
+ $serializer_instance_2 = this;
1071
1500
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.CommerceCta', this, 3);
1072
1501
  tmp0_serialDesc.ht('sponsorName', false);
1073
1502
  tmp0_serialDesc.ht('territory', false);
1074
1503
  tmp0_serialDesc.ht('url', false);
1075
- this.h1h_1 = tmp0_serialDesc;
1504
+ this.e1i_1 = tmp0_serialDesc;
1076
1505
  }
1077
- protoOf($serializer_0).i1h = function (encoder, value) {
1078
- var tmp0_desc = this.h1h_1;
1506
+ protoOf($serializer_2).f1i = function (encoder, value) {
1507
+ var tmp0_desc = this.e1i_1;
1079
1508
  var tmp1_output = encoder.yl(tmp0_desc);
1080
- tmp1_output.mn(tmp0_desc, 0, value.j1h_1);
1081
- tmp1_output.mn(tmp0_desc, 1, value.k1h_1);
1082
- tmp1_output.mn(tmp0_desc, 2, value.l1h_1);
1509
+ tmp1_output.mn(tmp0_desc, 0, value.g1i_1);
1510
+ tmp1_output.mn(tmp0_desc, 1, value.h1i_1);
1511
+ tmp1_output.mn(tmp0_desc, 2, value.i1i_1);
1083
1512
  tmp1_output.zl(tmp0_desc);
1084
1513
  };
1085
- protoOf($serializer_0).cj = function (encoder, value) {
1086
- return this.i1h(encoder, value instanceof CommerceCta ? value : THROW_CCE());
1514
+ protoOf($serializer_2).cj = function (encoder, value) {
1515
+ return this.f1i(encoder, value instanceof CommerceCta ? value : THROW_CCE());
1087
1516
  };
1088
- protoOf($serializer_0).dj = function (decoder) {
1089
- var tmp0_desc = this.h1h_1;
1517
+ protoOf($serializer_2).dj = function (decoder) {
1518
+ var tmp0_desc = this.e1i_1;
1090
1519
  var tmp1_flag = true;
1091
1520
  var tmp2_index = 0;
1092
1521
  var tmp3_bitMask0 = 0;
@@ -1127,28 +1556,28 @@
1127
1556
  tmp7_input.zl(tmp0_desc);
1128
1557
  return CommerceCta_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1129
1558
  };
1130
- protoOf($serializer_0).bj = function () {
1131
- return this.h1h_1;
1559
+ protoOf($serializer_2).bj = function () {
1560
+ return this.e1i_1;
1132
1561
  };
1133
- protoOf($serializer_0).jt = function () {
1562
+ protoOf($serializer_2).jt = function () {
1134
1563
  // Inline function 'kotlin.arrayOf' call
1135
1564
  // Inline function 'kotlin.js.unsafeCast' call
1136
1565
  // Inline function 'kotlin.js.asDynamic' call
1137
1566
  return [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance()];
1138
1567
  };
1139
- var $serializer_instance_0;
1140
- function $serializer_getInstance_0() {
1141
- if ($serializer_instance_0 == null)
1142
- new $serializer_0();
1143
- return $serializer_instance_0;
1568
+ var $serializer_instance_2;
1569
+ function $serializer_getInstance_2() {
1570
+ if ($serializer_instance_2 == null)
1571
+ new $serializer_2();
1572
+ return $serializer_instance_2;
1144
1573
  }
1145
1574
  function CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, $this) {
1146
1575
  if (!(7 === (7 & seen0))) {
1147
- throwMissingFieldException(seen0, 7, $serializer_getInstance_0().h1h_1);
1576
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_2().e1i_1);
1148
1577
  }
1149
- $this.j1h_1 = sponsorName;
1150
- $this.k1h_1 = territory;
1151
- $this.l1h_1 = url;
1578
+ $this.g1i_1 = sponsorName;
1579
+ $this.h1i_1 = territory;
1580
+ $this.i1i_1 = url;
1152
1581
  return $this;
1153
1582
  }
1154
1583
  function CommerceCta_init_$Create$(seen0, sponsorName, territory, url, serializationConstructorMarker) {
@@ -1157,12 +1586,12 @@
1157
1586
  function CommerceCta() {
1158
1587
  }
1159
1588
  protoOf(CommerceCta).toString = function () {
1160
- return 'CommerceCta(sponsorName=' + this.j1h_1 + ', territory=' + this.k1h_1 + ', url=' + this.l1h_1 + ')';
1589
+ return 'CommerceCta(sponsorName=' + this.g1i_1 + ', territory=' + this.h1i_1 + ', url=' + this.i1i_1 + ')';
1161
1590
  };
1162
1591
  protoOf(CommerceCta).hashCode = function () {
1163
- var result = getStringHashCode(this.j1h_1);
1164
- result = imul(result, 31) + getStringHashCode(this.k1h_1) | 0;
1165
- result = imul(result, 31) + getStringHashCode(this.l1h_1) | 0;
1592
+ var result = getStringHashCode(this.g1i_1);
1593
+ result = imul(result, 31) + getStringHashCode(this.h1i_1) | 0;
1594
+ result = imul(result, 31) + getStringHashCode(this.i1i_1) | 0;
1166
1595
  return result;
1167
1596
  };
1168
1597
  protoOf(CommerceCta).equals = function (other) {
@@ -1170,16 +1599,16 @@
1170
1599
  return true;
1171
1600
  if (!(other instanceof CommerceCta))
1172
1601
  return false;
1173
- if (!(this.j1h_1 === other.j1h_1))
1602
+ if (!(this.g1i_1 === other.g1i_1))
1174
1603
  return false;
1175
- if (!(this.k1h_1 === other.k1h_1))
1604
+ if (!(this.h1i_1 === other.h1i_1))
1176
1605
  return false;
1177
- if (!(this.l1h_1 === other.l1h_1))
1606
+ if (!(this.i1i_1 === other.i1i_1))
1178
1607
  return false;
1179
1608
  return true;
1180
1609
  };
1181
- function $serializer_1() {
1182
- $serializer_instance_1 = this;
1610
+ function $serializer_3() {
1611
+ $serializer_instance_3 = this;
1183
1612
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Image', this, 8);
1184
1613
  tmp0_serialDesc.ht('caption', true);
1185
1614
  tmp0_serialDesc.ht('cropId', false);
@@ -1189,36 +1618,36 @@
1189
1618
  tmp0_serialDesc.ht('photographer', true);
1190
1619
  tmp0_serialDesc.ht('source', true);
1191
1620
  tmp0_serialDesc.ht('url', false);
1192
- this.m1h_1 = tmp0_serialDesc;
1621
+ this.j1i_1 = tmp0_serialDesc;
1193
1622
  }
1194
- protoOf($serializer_1).n1h = function (encoder, value) {
1195
- var tmp0_desc = this.m1h_1;
1623
+ protoOf($serializer_3).k1i = function (encoder, value) {
1624
+ var tmp0_desc = this.j1i_1;
1196
1625
  var tmp1_output = encoder.yl(tmp0_desc);
1197
- if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.o1h_1 == null)) {
1198
- tmp1_output.qn(tmp0_desc, 0, StringSerializer_getInstance(), value.o1h_1);
1626
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.l1i_1 == null)) {
1627
+ tmp1_output.qn(tmp0_desc, 0, StringSerializer_getInstance(), value.l1i_1);
1199
1628
  }
1200
- tmp1_output.mn(tmp0_desc, 1, value.p1h_1);
1201
- if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.q1h_1 == null)) {
1202
- tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.q1h_1);
1629
+ tmp1_output.mn(tmp0_desc, 1, value.m1i_1);
1630
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.n1i_1 == null)) {
1631
+ tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.n1i_1);
1203
1632
  }
1204
- if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.r1h_1 == null)) {
1205
- tmp1_output.qn(tmp0_desc, 3, StringSerializer_getInstance(), value.r1h_1);
1633
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.o1i_1 == null)) {
1634
+ tmp1_output.qn(tmp0_desc, 3, StringSerializer_getInstance(), value.o1i_1);
1206
1635
  }
1207
- tmp1_output.mn(tmp0_desc, 4, value.s1h_1);
1208
- if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.t1h_1 == null)) {
1209
- tmp1_output.qn(tmp0_desc, 5, StringSerializer_getInstance(), value.t1h_1);
1636
+ tmp1_output.mn(tmp0_desc, 4, value.p1i_1);
1637
+ if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.q1i_1 == null)) {
1638
+ tmp1_output.qn(tmp0_desc, 5, StringSerializer_getInstance(), value.q1i_1);
1210
1639
  }
1211
- if (tmp1_output.un(tmp0_desc, 6) ? true : !(value.u1h_1 == null)) {
1212
- tmp1_output.qn(tmp0_desc, 6, StringSerializer_getInstance(), value.u1h_1);
1640
+ if (tmp1_output.un(tmp0_desc, 6) ? true : !(value.r1i_1 == null)) {
1641
+ tmp1_output.qn(tmp0_desc, 6, StringSerializer_getInstance(), value.r1i_1);
1213
1642
  }
1214
- tmp1_output.mn(tmp0_desc, 7, value.v1h_1);
1643
+ tmp1_output.mn(tmp0_desc, 7, value.s1i_1);
1215
1644
  tmp1_output.zl(tmp0_desc);
1216
1645
  };
1217
- protoOf($serializer_1).cj = function (encoder, value) {
1218
- return this.n1h(encoder, value instanceof Image ? value : THROW_CCE());
1646
+ protoOf($serializer_3).cj = function (encoder, value) {
1647
+ return this.k1i(encoder, value instanceof Image ? value : THROW_CCE());
1219
1648
  };
1220
- protoOf($serializer_1).dj = function (decoder) {
1221
- var tmp0_desc = this.m1h_1;
1649
+ protoOf($serializer_3).dj = function (decoder) {
1650
+ var tmp0_desc = this.j1i_1;
1222
1651
  var tmp1_flag = true;
1223
1652
  var tmp2_index = 0;
1224
1653
  var tmp3_bitMask0 = 0;
@@ -1294,48 +1723,48 @@
1294
1723
  tmp12_input.zl(tmp0_desc);
1295
1724
  return Image_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
1296
1725
  };
1297
- protoOf($serializer_1).bj = function () {
1298
- return this.m1h_1;
1726
+ protoOf($serializer_3).bj = function () {
1727
+ return this.j1i_1;
1299
1728
  };
1300
- protoOf($serializer_1).jt = function () {
1729
+ protoOf($serializer_3).jt = function () {
1301
1730
  // Inline function 'kotlin.arrayOf' call
1302
1731
  // Inline function 'kotlin.js.unsafeCast' call
1303
1732
  // Inline function 'kotlin.js.asDynamic' call
1304
1733
  return [get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance()];
1305
1734
  };
1306
- var $serializer_instance_1;
1307
- function $serializer_getInstance_1() {
1308
- if ($serializer_instance_1 == null)
1309
- new $serializer_1();
1310
- return $serializer_instance_1;
1735
+ var $serializer_instance_3;
1736
+ function $serializer_getInstance_3() {
1737
+ if ($serializer_instance_3 == null)
1738
+ new $serializer_3();
1739
+ return $serializer_instance_3;
1311
1740
  }
1312
1741
  function Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, $this) {
1313
1742
  if (!(146 === (146 & seen0))) {
1314
- throwMissingFieldException(seen0, 146, $serializer_getInstance_1().m1h_1);
1743
+ throwMissingFieldException(seen0, 146, $serializer_getInstance_3().j1i_1);
1315
1744
  }
1316
1745
  if (0 === (seen0 & 1))
1317
- $this.o1h_1 = null;
1746
+ $this.l1i_1 = null;
1318
1747
  else
1319
- $this.o1h_1 = caption;
1320
- $this.p1h_1 = cropId;
1748
+ $this.l1i_1 = caption;
1749
+ $this.m1i_1 = cropId;
1321
1750
  if (0 === (seen0 & 4))
1322
- $this.q1h_1 = null;
1751
+ $this.n1i_1 = null;
1323
1752
  else
1324
- $this.q1h_1 = imageType;
1753
+ $this.n1i_1 = imageType;
1325
1754
  if (0 === (seen0 & 8))
1326
- $this.r1h_1 = null;
1755
+ $this.o1i_1 = null;
1327
1756
  else
1328
- $this.r1h_1 = mediaApiUrl;
1329
- $this.s1h_1 = mediaId;
1757
+ $this.o1i_1 = mediaApiUrl;
1758
+ $this.p1i_1 = mediaId;
1330
1759
  if (0 === (seen0 & 32))
1331
- $this.t1h_1 = null;
1760
+ $this.q1i_1 = null;
1332
1761
  else
1333
- $this.t1h_1 = photographer;
1762
+ $this.q1i_1 = photographer;
1334
1763
  if (0 === (seen0 & 64))
1335
- $this.u1h_1 = null;
1764
+ $this.r1i_1 = null;
1336
1765
  else
1337
- $this.u1h_1 = source;
1338
- $this.v1h_1 = url;
1766
+ $this.r1i_1 = source;
1767
+ $this.s1i_1 = url;
1339
1768
  return $this;
1340
1769
  }
1341
1770
  function Image_init_$Create$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker) {
@@ -1344,17 +1773,17 @@
1344
1773
  function Image() {
1345
1774
  }
1346
1775
  protoOf(Image).toString = function () {
1347
- return 'Image(caption=' + this.o1h_1 + ', cropId=' + this.p1h_1 + ', imageType=' + this.q1h_1 + ', mediaApiUrl=' + this.r1h_1 + ', mediaId=' + this.s1h_1 + ', photographer=' + this.t1h_1 + ', source=' + this.u1h_1 + ', url=' + this.v1h_1 + ')';
1776
+ return 'Image(caption=' + this.l1i_1 + ', cropId=' + this.m1i_1 + ', imageType=' + this.n1i_1 + ', mediaApiUrl=' + this.o1i_1 + ', mediaId=' + this.p1i_1 + ', photographer=' + this.q1i_1 + ', source=' + this.r1i_1 + ', url=' + this.s1i_1 + ')';
1348
1777
  };
1349
1778
  protoOf(Image).hashCode = function () {
1350
- var result = this.o1h_1 == null ? 0 : getStringHashCode(this.o1h_1);
1351
- result = imul(result, 31) + getStringHashCode(this.p1h_1) | 0;
1352
- result = imul(result, 31) + (this.q1h_1 == null ? 0 : getStringHashCode(this.q1h_1)) | 0;
1353
- result = imul(result, 31) + (this.r1h_1 == null ? 0 : getStringHashCode(this.r1h_1)) | 0;
1354
- result = imul(result, 31) + getStringHashCode(this.s1h_1) | 0;
1355
- result = imul(result, 31) + (this.t1h_1 == null ? 0 : getStringHashCode(this.t1h_1)) | 0;
1356
- result = imul(result, 31) + (this.u1h_1 == null ? 0 : getStringHashCode(this.u1h_1)) | 0;
1357
- result = imul(result, 31) + getStringHashCode(this.v1h_1) | 0;
1779
+ var result = this.l1i_1 == null ? 0 : getStringHashCode(this.l1i_1);
1780
+ result = imul(result, 31) + getStringHashCode(this.m1i_1) | 0;
1781
+ result = imul(result, 31) + (this.n1i_1 == null ? 0 : getStringHashCode(this.n1i_1)) | 0;
1782
+ result = imul(result, 31) + (this.o1i_1 == null ? 0 : getStringHashCode(this.o1i_1)) | 0;
1783
+ result = imul(result, 31) + getStringHashCode(this.p1i_1) | 0;
1784
+ result = imul(result, 31) + (this.q1i_1 == null ? 0 : getStringHashCode(this.q1i_1)) | 0;
1785
+ result = imul(result, 31) + (this.r1i_1 == null ? 0 : getStringHashCode(this.r1i_1)) | 0;
1786
+ result = imul(result, 31) + getStringHashCode(this.s1i_1) | 0;
1358
1787
  return result;
1359
1788
  };
1360
1789
  protoOf(Image).equals = function (other) {
@@ -1362,73 +1791,73 @@
1362
1791
  return true;
1363
1792
  if (!(other instanceof Image))
1364
1793
  return false;
1365
- if (!(this.o1h_1 == other.o1h_1))
1794
+ if (!(this.l1i_1 == other.l1i_1))
1366
1795
  return false;
1367
- if (!(this.p1h_1 === other.p1h_1))
1796
+ if (!(this.m1i_1 === other.m1i_1))
1368
1797
  return false;
1369
- if (!(this.q1h_1 == other.q1h_1))
1798
+ if (!(this.n1i_1 == other.n1i_1))
1370
1799
  return false;
1371
- if (!(this.r1h_1 == other.r1h_1))
1800
+ if (!(this.o1i_1 == other.o1i_1))
1372
1801
  return false;
1373
- if (!(this.s1h_1 === other.s1h_1))
1802
+ if (!(this.p1i_1 === other.p1i_1))
1374
1803
  return false;
1375
- if (!(this.t1h_1 == other.t1h_1))
1804
+ if (!(this.q1i_1 == other.q1i_1))
1376
1805
  return false;
1377
- if (!(this.u1h_1 == other.u1h_1))
1806
+ if (!(this.r1i_1 == other.r1i_1))
1378
1807
  return false;
1379
- if (!(this.v1h_1 === other.v1h_1))
1808
+ if (!(this.s1i_1 === other.s1i_1))
1380
1809
  return false;
1381
1810
  return true;
1382
1811
  };
1383
1812
  function IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja() {
1384
- return new ArrayListSerializer($serializer_getInstance_3());
1813
+ return new ArrayListSerializer($serializer_getInstance_5());
1385
1814
  }
1386
- function Companion_0() {
1387
- Companion_instance_0 = this;
1815
+ function Companion_2() {
1816
+ Companion_instance_3 = this;
1388
1817
  var tmp = this;
1389
1818
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1390
1819
  // Inline function 'kotlin.arrayOf' call
1391
1820
  // Inline function 'kotlin.js.unsafeCast' call
1392
1821
  // Inline function 'kotlin.js.asDynamic' call
1393
- tmp.w1h_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
1822
+ tmp.t1i_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
1394
1823
  }
1395
- var Companion_instance_0;
1396
- function Companion_getInstance_0() {
1397
- if (Companion_instance_0 == null)
1398
- new Companion_0();
1399
- return Companion_instance_0;
1824
+ var Companion_instance_3;
1825
+ function Companion_getInstance_2() {
1826
+ if (Companion_instance_3 == null)
1827
+ new Companion_2();
1828
+ return Companion_instance_3;
1400
1829
  }
1401
- function $serializer_2() {
1402
- $serializer_instance_2 = this;
1830
+ function $serializer_4() {
1831
+ $serializer_instance_4 = this;
1403
1832
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsList', this, 2);
1404
1833
  tmp0_serialDesc.ht('ingredientsList', true);
1405
1834
  tmp0_serialDesc.ht('recipeSection', true);
1406
- this.x1h_1 = tmp0_serialDesc;
1835
+ this.u1i_1 = tmp0_serialDesc;
1407
1836
  }
1408
- protoOf($serializer_2).y1h = function (encoder, value) {
1409
- var tmp0_desc = this.x1h_1;
1837
+ protoOf($serializer_4).v1i = function (encoder, value) {
1838
+ var tmp0_desc = this.u1i_1;
1410
1839
  var tmp1_output = encoder.yl(tmp0_desc);
1411
- var tmp2_cached = Companion_getInstance_0().w1h_1;
1412
- if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.l1g_1 == null)) {
1413
- tmp1_output.qn(tmp0_desc, 0, tmp2_cached[0].t1(), value.l1g_1);
1840
+ var tmp2_cached = Companion_getInstance_2().t1i_1;
1841
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.w1g_1 == null)) {
1842
+ tmp1_output.qn(tmp0_desc, 0, tmp2_cached[0].t1(), value.w1g_1);
1414
1843
  }
1415
- if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.m1g_1 == null)) {
1416
- tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.m1g_1);
1844
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.x1g_1 == null)) {
1845
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.x1g_1);
1417
1846
  }
1418
1847
  tmp1_output.zl(tmp0_desc);
1419
1848
  };
1420
- protoOf($serializer_2).cj = function (encoder, value) {
1421
- return this.y1h(encoder, value instanceof IngredientsList ? value : THROW_CCE());
1849
+ protoOf($serializer_4).cj = function (encoder, value) {
1850
+ return this.v1i(encoder, value instanceof IngredientsList ? value : THROW_CCE());
1422
1851
  };
1423
- protoOf($serializer_2).dj = function (decoder) {
1424
- var tmp0_desc = this.x1h_1;
1852
+ protoOf($serializer_4).dj = function (decoder) {
1853
+ var tmp0_desc = this.u1i_1;
1425
1854
  var tmp1_flag = true;
1426
1855
  var tmp2_index = 0;
1427
1856
  var tmp3_bitMask0 = 0;
1428
1857
  var tmp4_local0 = null;
1429
1858
  var tmp5_local1 = null;
1430
1859
  var tmp6_input = decoder.yl(tmp0_desc);
1431
- var tmp7_cached = Companion_getInstance_0().w1h_1;
1860
+ var tmp7_cached = Companion_getInstance_2().t1i_1;
1432
1861
  if (tmp6_input.om()) {
1433
1862
  tmp4_local0 = tmp6_input.mm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1434
1863
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -1456,52 +1885,52 @@
1456
1885
  tmp6_input.zl(tmp0_desc);
1457
1886
  return IngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1458
1887
  };
1459
- protoOf($serializer_2).bj = function () {
1460
- return this.x1h_1;
1888
+ protoOf($serializer_4).bj = function () {
1889
+ return this.u1i_1;
1461
1890
  };
1462
- protoOf($serializer_2).jt = function () {
1463
- var tmp0_cached = Companion_getInstance_0().w1h_1;
1891
+ protoOf($serializer_4).jt = function () {
1892
+ var tmp0_cached = Companion_getInstance_2().t1i_1;
1464
1893
  // Inline function 'kotlin.arrayOf' call
1465
1894
  // Inline function 'kotlin.js.unsafeCast' call
1466
1895
  // Inline function 'kotlin.js.asDynamic' call
1467
1896
  return [get_nullable(tmp0_cached[0].t1()), get_nullable(StringSerializer_getInstance())];
1468
1897
  };
1469
- var $serializer_instance_2;
1470
- function $serializer_getInstance_2() {
1471
- if ($serializer_instance_2 == null)
1472
- new $serializer_2();
1473
- return $serializer_instance_2;
1898
+ var $serializer_instance_4;
1899
+ function $serializer_getInstance_4() {
1900
+ if ($serializer_instance_4 == null)
1901
+ new $serializer_4();
1902
+ return $serializer_instance_4;
1474
1903
  }
1475
1904
  function IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, $this) {
1476
1905
  if (!(0 === (0 & seen0))) {
1477
- throwMissingFieldException(seen0, 0, $serializer_getInstance_2().x1h_1);
1906
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_4().u1i_1);
1478
1907
  }
1479
1908
  if (0 === (seen0 & 1))
1480
- $this.l1g_1 = null;
1909
+ $this.w1g_1 = null;
1481
1910
  else
1482
- $this.l1g_1 = ingredientsList;
1911
+ $this.w1g_1 = ingredientsList;
1483
1912
  if (0 === (seen0 & 2))
1484
- $this.m1g_1 = null;
1913
+ $this.x1g_1 = null;
1485
1914
  else
1486
- $this.m1g_1 = recipeSection;
1915
+ $this.x1g_1 = recipeSection;
1487
1916
  return $this;
1488
1917
  }
1489
1918
  function IngredientsList_init_$Create$(seen0, ingredientsList, recipeSection, serializationConstructorMarker) {
1490
1919
  return IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, objectCreate(protoOf(IngredientsList)));
1491
1920
  }
1492
1921
  function IngredientsList(ingredientsList, recipeSection) {
1493
- Companion_getInstance_0();
1922
+ Companion_getInstance_2();
1494
1923
  ingredientsList = ingredientsList === VOID ? null : ingredientsList;
1495
1924
  recipeSection = recipeSection === VOID ? null : recipeSection;
1496
- this.l1g_1 = ingredientsList;
1497
- this.m1g_1 = recipeSection;
1925
+ this.w1g_1 = ingredientsList;
1926
+ this.x1g_1 = recipeSection;
1498
1927
  }
1499
1928
  protoOf(IngredientsList).toString = function () {
1500
- return 'IngredientsList(ingredientsList=' + toString(this.l1g_1) + ', recipeSection=' + this.m1g_1 + ')';
1929
+ return 'IngredientsList(ingredientsList=' + toString(this.w1g_1) + ', recipeSection=' + this.x1g_1 + ')';
1501
1930
  };
1502
1931
  protoOf(IngredientsList).hashCode = function () {
1503
- var result = this.l1g_1 == null ? 0 : hashCode(this.l1g_1);
1504
- result = imul(result, 31) + (this.m1g_1 == null ? 0 : getStringHashCode(this.m1g_1)) | 0;
1932
+ var result = this.w1g_1 == null ? 0 : hashCode(this.w1g_1);
1933
+ result = imul(result, 31) + (this.x1g_1 == null ? 0 : getStringHashCode(this.x1g_1)) | 0;
1505
1934
  return result;
1506
1935
  };
1507
1936
  protoOf(IngredientsList).equals = function (other) {
@@ -1509,20 +1938,20 @@
1509
1938
  return true;
1510
1939
  if (!(other instanceof IngredientsList))
1511
1940
  return false;
1512
- if (!equals(this.l1g_1, other.l1g_1))
1941
+ if (!equals(this.w1g_1, other.w1g_1))
1513
1942
  return false;
1514
- if (!(this.m1g_1 == other.m1g_1))
1943
+ if (!(this.x1g_1 == other.x1g_1))
1515
1944
  return false;
1516
1945
  return true;
1517
1946
  };
1518
- function Companion_1() {
1947
+ function Companion_3() {
1519
1948
  }
1520
- var Companion_instance_1;
1521
- function Companion_getInstance_1() {
1522
- return Companion_instance_1;
1949
+ var Companion_instance_4;
1950
+ function Companion_getInstance_3() {
1951
+ return Companion_instance_4;
1523
1952
  }
1524
- function $serializer_3() {
1525
- $serializer_instance_3 = this;
1953
+ function $serializer_5() {
1954
+ $serializer_instance_5 = this;
1526
1955
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientItem', this, 9);
1527
1956
  tmp0_serialDesc.ht('amount', true);
1528
1957
  tmp0_serialDesc.ht('ingredientId', true);
@@ -1533,45 +1962,45 @@
1533
1962
  tmp0_serialDesc.ht('template', true);
1534
1963
  tmp0_serialDesc.ht('text', true);
1535
1964
  tmp0_serialDesc.ht('unit', true);
1536
- this.z1h_1 = tmp0_serialDesc;
1965
+ this.w1i_1 = tmp0_serialDesc;
1537
1966
  }
1538
- protoOf($serializer_3).a1i = function (encoder, value) {
1539
- var tmp0_desc = this.z1h_1;
1967
+ protoOf($serializer_5).x1i = function (encoder, value) {
1968
+ var tmp0_desc = this.w1i_1;
1540
1969
  var tmp1_output = encoder.yl(tmp0_desc);
1541
- if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.n1g_1 == null)) {
1542
- tmp1_output.qn(tmp0_desc, 0, $serializer_getInstance_4(), value.n1g_1);
1970
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.y1g_1 == null)) {
1971
+ tmp1_output.qn(tmp0_desc, 0, $serializer_getInstance_6(), value.y1g_1);
1543
1972
  }
1544
- if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.o1g_1 == null)) {
1545
- tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.o1g_1);
1973
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.z1g_1 == null)) {
1974
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.z1g_1);
1546
1975
  }
1547
- if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.p1g_1 == null)) {
1548
- tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.p1g_1);
1976
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.a1h_1 == null)) {
1977
+ tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.a1h_1);
1549
1978
  }
1550
- if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.q1g_1 == null)) {
1551
- tmp1_output.qn(tmp0_desc, 3, BooleanSerializer_getInstance(), value.q1g_1);
1979
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.b1h_1 == null)) {
1980
+ tmp1_output.qn(tmp0_desc, 3, BooleanSerializer_getInstance(), value.b1h_1);
1552
1981
  }
1553
- if (tmp1_output.un(tmp0_desc, 4) ? true : !(value.r1g_1 == null)) {
1554
- tmp1_output.qn(tmp0_desc, 4, StringSerializer_getInstance(), value.r1g_1);
1982
+ if (tmp1_output.un(tmp0_desc, 4) ? true : !(value.c1h_1 == null)) {
1983
+ tmp1_output.qn(tmp0_desc, 4, StringSerializer_getInstance(), value.c1h_1);
1555
1984
  }
1556
- if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.s1g_1 == null)) {
1557
- tmp1_output.qn(tmp0_desc, 5, StringSerializer_getInstance(), value.s1g_1);
1985
+ if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.d1h_1 == null)) {
1986
+ tmp1_output.qn(tmp0_desc, 5, StringSerializer_getInstance(), value.d1h_1);
1558
1987
  }
1559
- if (tmp1_output.un(tmp0_desc, 6) ? true : !(value.t1g_1 == null)) {
1560
- tmp1_output.qn(tmp0_desc, 6, StringSerializer_getInstance(), value.t1g_1);
1988
+ if (tmp1_output.un(tmp0_desc, 6) ? true : !(value.e1h_1 == null)) {
1989
+ tmp1_output.qn(tmp0_desc, 6, StringSerializer_getInstance(), value.e1h_1);
1561
1990
  }
1562
- if (tmp1_output.un(tmp0_desc, 7) ? true : !(value.u1g_1 == null)) {
1563
- tmp1_output.qn(tmp0_desc, 7, StringSerializer_getInstance(), value.u1g_1);
1991
+ if (tmp1_output.un(tmp0_desc, 7) ? true : !(value.f1h_1 == null)) {
1992
+ tmp1_output.qn(tmp0_desc, 7, StringSerializer_getInstance(), value.f1h_1);
1564
1993
  }
1565
- if (tmp1_output.un(tmp0_desc, 8) ? true : !(value.v1g_1 == null)) {
1566
- tmp1_output.qn(tmp0_desc, 8, StringSerializer_getInstance(), value.v1g_1);
1994
+ if (tmp1_output.un(tmp0_desc, 8) ? true : !(value.g1h_1 == null)) {
1995
+ tmp1_output.qn(tmp0_desc, 8, StringSerializer_getInstance(), value.g1h_1);
1567
1996
  }
1568
1997
  tmp1_output.zl(tmp0_desc);
1569
1998
  };
1570
- protoOf($serializer_3).cj = function (encoder, value) {
1571
- return this.a1i(encoder, value instanceof IngredientItem ? value : THROW_CCE());
1999
+ protoOf($serializer_5).cj = function (encoder, value) {
2000
+ return this.x1i(encoder, value instanceof IngredientItem ? value : THROW_CCE());
1572
2001
  };
1573
- protoOf($serializer_3).dj = function (decoder) {
1574
- var tmp0_desc = this.z1h_1;
2002
+ protoOf($serializer_5).dj = function (decoder) {
2003
+ var tmp0_desc = this.w1i_1;
1575
2004
  var tmp1_flag = true;
1576
2005
  var tmp2_index = 0;
1577
2006
  var tmp3_bitMask0 = 0;
@@ -1586,7 +2015,7 @@
1586
2015
  var tmp12_local8 = null;
1587
2016
  var tmp13_input = decoder.yl(tmp0_desc);
1588
2017
  if (tmp13_input.om()) {
1589
- tmp4_local0 = tmp13_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2018
+ tmp4_local0 = tmp13_input.mm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
1590
2019
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1591
2020
  tmp5_local1 = tmp13_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1592
2021
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
@@ -1612,7 +2041,7 @@
1612
2041
  tmp1_flag = false;
1613
2042
  break;
1614
2043
  case 0:
1615
- tmp4_local0 = tmp13_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2044
+ tmp4_local0 = tmp13_input.mm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
1616
2045
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1617
2046
  break;
1618
2047
  case 1:
@@ -1654,61 +2083,61 @@
1654
2083
  tmp13_input.zl(tmp0_desc);
1655
2084
  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);
1656
2085
  };
1657
- protoOf($serializer_3).bj = function () {
1658
- return this.z1h_1;
2086
+ protoOf($serializer_5).bj = function () {
2087
+ return this.w1i_1;
1659
2088
  };
1660
- protoOf($serializer_3).jt = function () {
2089
+ protoOf($serializer_5).jt = function () {
1661
2090
  // Inline function 'kotlin.arrayOf' call
1662
2091
  // Inline function 'kotlin.js.unsafeCast' call
1663
2092
  // Inline function 'kotlin.js.asDynamic' call
1664
- return [get_nullable($serializer_getInstance_4()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
2093
+ return [get_nullable($serializer_getInstance_6()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
1665
2094
  };
1666
- var $serializer_instance_3;
1667
- function $serializer_getInstance_3() {
1668
- if ($serializer_instance_3 == null)
1669
- new $serializer_3();
1670
- return $serializer_instance_3;
2095
+ var $serializer_instance_5;
2096
+ function $serializer_getInstance_5() {
2097
+ if ($serializer_instance_5 == null)
2098
+ new $serializer_5();
2099
+ return $serializer_instance_5;
1671
2100
  }
1672
2101
  function IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, $this) {
1673
2102
  if (!(0 === (0 & seen0))) {
1674
- throwMissingFieldException(seen0, 0, $serializer_getInstance_3().z1h_1);
2103
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_5().w1i_1);
1675
2104
  }
1676
2105
  if (0 === (seen0 & 1))
1677
- $this.n1g_1 = null;
2106
+ $this.y1g_1 = null;
1678
2107
  else
1679
- $this.n1g_1 = amount;
2108
+ $this.y1g_1 = amount;
1680
2109
  if (0 === (seen0 & 2))
1681
- $this.o1g_1 = null;
2110
+ $this.z1g_1 = null;
1682
2111
  else
1683
- $this.o1g_1 = ingredientId;
2112
+ $this.z1g_1 = ingredientId;
1684
2113
  if (0 === (seen0 & 4))
1685
- $this.p1g_1 = null;
2114
+ $this.a1h_1 = null;
1686
2115
  else
1687
- $this.p1g_1 = name;
2116
+ $this.a1h_1 = name;
1688
2117
  if (0 === (seen0 & 8))
1689
- $this.q1g_1 = null;
2118
+ $this.b1h_1 = null;
1690
2119
  else
1691
- $this.q1g_1 = optional;
2120
+ $this.b1h_1 = optional;
1692
2121
  if (0 === (seen0 & 16))
1693
- $this.r1g_1 = null;
2122
+ $this.c1h_1 = null;
1694
2123
  else
1695
- $this.r1g_1 = prefix;
2124
+ $this.c1h_1 = prefix;
1696
2125
  if (0 === (seen0 & 32))
1697
- $this.s1g_1 = null;
2126
+ $this.d1h_1 = null;
1698
2127
  else
1699
- $this.s1g_1 = suffix;
2128
+ $this.d1h_1 = suffix;
1700
2129
  if (0 === (seen0 & 64))
1701
- $this.t1g_1 = null;
2130
+ $this.e1h_1 = null;
1702
2131
  else
1703
- $this.t1g_1 = template;
2132
+ $this.e1h_1 = template;
1704
2133
  if (0 === (seen0 & 128))
1705
- $this.u1g_1 = null;
2134
+ $this.f1h_1 = null;
1706
2135
  else
1707
- $this.u1g_1 = text;
2136
+ $this.f1h_1 = text;
1708
2137
  if (0 === (seen0 & 256))
1709
- $this.v1g_1 = null;
2138
+ $this.g1h_1 = null;
1710
2139
  else
1711
- $this.v1g_1 = unit;
2140
+ $this.g1h_1 = unit;
1712
2141
  return $this;
1713
2142
  }
1714
2143
  function IngredientItem_init_$Create$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker) {
@@ -1724,44 +2153,44 @@
1724
2153
  template = template === VOID ? null : template;
1725
2154
  text = text === VOID ? null : text;
1726
2155
  unit = unit === VOID ? null : unit;
1727
- this.n1g_1 = amount;
1728
- this.o1g_1 = ingredientId;
1729
- this.p1g_1 = name;
1730
- this.q1g_1 = optional;
1731
- this.r1g_1 = prefix;
1732
- this.s1g_1 = suffix;
1733
- this.t1g_1 = template;
1734
- this.u1g_1 = text;
1735
- this.v1g_1 = unit;
1736
- }
1737
- protoOf(IngredientItem).b1i = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
2156
+ this.y1g_1 = amount;
2157
+ this.z1g_1 = ingredientId;
2158
+ this.a1h_1 = name;
2159
+ this.b1h_1 = optional;
2160
+ this.c1h_1 = prefix;
2161
+ this.d1h_1 = suffix;
2162
+ this.e1h_1 = template;
2163
+ this.f1h_1 = text;
2164
+ this.g1h_1 = unit;
2165
+ }
2166
+ protoOf(IngredientItem).y1i = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
1738
2167
  return new IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1739
2168
  };
1740
- protoOf(IngredientItem).w1g = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
1741
- amount = amount === VOID ? this.n1g_1 : amount;
1742
- ingredientId = ingredientId === VOID ? this.o1g_1 : ingredientId;
1743
- name = name === VOID ? this.p1g_1 : name;
1744
- optional = optional === VOID ? this.q1g_1 : optional;
1745
- prefix = prefix === VOID ? this.r1g_1 : prefix;
1746
- suffix = suffix === VOID ? this.s1g_1 : suffix;
1747
- template = template === VOID ? this.t1g_1 : template;
1748
- text = text === VOID ? this.u1g_1 : text;
1749
- unit = unit === VOID ? this.v1g_1 : unit;
1750
- return $super === VOID ? this.b1i(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.b1i.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
2169
+ protoOf(IngredientItem).h1h = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
2170
+ amount = amount === VOID ? this.y1g_1 : amount;
2171
+ ingredientId = ingredientId === VOID ? this.z1g_1 : ingredientId;
2172
+ name = name === VOID ? this.a1h_1 : name;
2173
+ optional = optional === VOID ? this.b1h_1 : optional;
2174
+ prefix = prefix === VOID ? this.c1h_1 : prefix;
2175
+ suffix = suffix === VOID ? this.d1h_1 : suffix;
2176
+ template = template === VOID ? this.e1h_1 : template;
2177
+ text = text === VOID ? this.f1h_1 : text;
2178
+ unit = unit === VOID ? this.g1h_1 : unit;
2179
+ return $super === VOID ? this.y1i(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.y1i.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1751
2180
  };
1752
2181
  protoOf(IngredientItem).toString = function () {
1753
- return 'IngredientItem(amount=' + toString(this.n1g_1) + ', ingredientId=' + this.o1g_1 + ', name=' + this.p1g_1 + ', optional=' + this.q1g_1 + ', prefix=' + this.r1g_1 + ', suffix=' + this.s1g_1 + ', template=' + this.t1g_1 + ', text=' + this.u1g_1 + ', unit=' + this.v1g_1 + ')';
2182
+ return 'IngredientItem(amount=' + toString(this.y1g_1) + ', ingredientId=' + this.z1g_1 + ', name=' + this.a1h_1 + ', optional=' + this.b1h_1 + ', prefix=' + this.c1h_1 + ', suffix=' + this.d1h_1 + ', template=' + this.e1h_1 + ', text=' + this.f1h_1 + ', unit=' + this.g1h_1 + ')';
1754
2183
  };
1755
2184
  protoOf(IngredientItem).hashCode = function () {
1756
- var result = this.n1g_1 == null ? 0 : this.n1g_1.hashCode();
1757
- result = imul(result, 31) + (this.o1g_1 == null ? 0 : getStringHashCode(this.o1g_1)) | 0;
1758
- result = imul(result, 31) + (this.p1g_1 == null ? 0 : getStringHashCode(this.p1g_1)) | 0;
1759
- result = imul(result, 31) + (this.q1g_1 == null ? 0 : getBooleanHashCode(this.q1g_1)) | 0;
1760
- result = imul(result, 31) + (this.r1g_1 == null ? 0 : getStringHashCode(this.r1g_1)) | 0;
1761
- result = imul(result, 31) + (this.s1g_1 == null ? 0 : getStringHashCode(this.s1g_1)) | 0;
1762
- result = imul(result, 31) + (this.t1g_1 == null ? 0 : getStringHashCode(this.t1g_1)) | 0;
1763
- result = imul(result, 31) + (this.u1g_1 == null ? 0 : getStringHashCode(this.u1g_1)) | 0;
1764
- result = imul(result, 31) + (this.v1g_1 == null ? 0 : getStringHashCode(this.v1g_1)) | 0;
2185
+ var result = this.y1g_1 == null ? 0 : this.y1g_1.hashCode();
2186
+ result = imul(result, 31) + (this.z1g_1 == null ? 0 : getStringHashCode(this.z1g_1)) | 0;
2187
+ result = imul(result, 31) + (this.a1h_1 == null ? 0 : getStringHashCode(this.a1h_1)) | 0;
2188
+ result = imul(result, 31) + (this.b1h_1 == null ? 0 : getBooleanHashCode(this.b1h_1)) | 0;
2189
+ result = imul(result, 31) + (this.c1h_1 == null ? 0 : getStringHashCode(this.c1h_1)) | 0;
2190
+ result = imul(result, 31) + (this.d1h_1 == null ? 0 : getStringHashCode(this.d1h_1)) | 0;
2191
+ result = imul(result, 31) + (this.e1h_1 == null ? 0 : getStringHashCode(this.e1h_1)) | 0;
2192
+ result = imul(result, 31) + (this.f1h_1 == null ? 0 : getStringHashCode(this.f1h_1)) | 0;
2193
+ result = imul(result, 31) + (this.g1h_1 == null ? 0 : getStringHashCode(this.g1h_1)) | 0;
1765
2194
  return result;
1766
2195
  };
1767
2196
  protoOf(IngredientItem).equals = function (other) {
@@ -1769,55 +2198,55 @@
1769
2198
  return true;
1770
2199
  if (!(other instanceof IngredientItem))
1771
2200
  return false;
1772
- if (!equals(this.n1g_1, other.n1g_1))
2201
+ if (!equals(this.y1g_1, other.y1g_1))
1773
2202
  return false;
1774
- if (!(this.o1g_1 == other.o1g_1))
2203
+ if (!(this.z1g_1 == other.z1g_1))
1775
2204
  return false;
1776
- if (!(this.p1g_1 == other.p1g_1))
2205
+ if (!(this.a1h_1 == other.a1h_1))
1777
2206
  return false;
1778
- if (!(this.q1g_1 == other.q1g_1))
2207
+ if (!(this.b1h_1 == other.b1h_1))
1779
2208
  return false;
1780
- if (!(this.r1g_1 == other.r1g_1))
2209
+ if (!(this.c1h_1 == other.c1h_1))
1781
2210
  return false;
1782
- if (!(this.s1g_1 == other.s1g_1))
2211
+ if (!(this.d1h_1 == other.d1h_1))
1783
2212
  return false;
1784
- if (!(this.t1g_1 == other.t1g_1))
2213
+ if (!(this.e1h_1 == other.e1h_1))
1785
2214
  return false;
1786
- if (!(this.u1g_1 == other.u1g_1))
2215
+ if (!(this.f1h_1 == other.f1h_1))
1787
2216
  return false;
1788
- if (!(this.v1g_1 == other.v1g_1))
2217
+ if (!(this.g1h_1 == other.g1h_1))
1789
2218
  return false;
1790
2219
  return true;
1791
2220
  };
1792
- function Companion_2() {
2221
+ function Companion_4() {
1793
2222
  }
1794
- var Companion_instance_2;
1795
- function Companion_getInstance_2() {
1796
- return Companion_instance_2;
2223
+ var Companion_instance_5;
2224
+ function Companion_getInstance_4() {
2225
+ return Companion_instance_5;
1797
2226
  }
1798
- function $serializer_4() {
1799
- $serializer_instance_4 = this;
2227
+ function $serializer_6() {
2228
+ $serializer_instance_6 = this;
1800
2229
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Range', this, 2);
1801
2230
  tmp0_serialDesc.ht('max', true);
1802
2231
  tmp0_serialDesc.ht('min', true);
1803
- this.c1i_1 = tmp0_serialDesc;
2232
+ this.z1i_1 = tmp0_serialDesc;
1804
2233
  }
1805
- protoOf($serializer_4).d1i = function (encoder, value) {
1806
- var tmp0_desc = this.c1i_1;
2234
+ protoOf($serializer_6).a1j = function (encoder, value) {
2235
+ var tmp0_desc = this.z1i_1;
1807
2236
  var tmp1_output = encoder.yl(tmp0_desc);
1808
- if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.e1i_1 == null)) {
1809
- tmp1_output.qn(tmp0_desc, 0, DoubleSerializer_getInstance(), value.e1i_1);
2237
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.b1j_1 == null)) {
2238
+ tmp1_output.qn(tmp0_desc, 0, DoubleSerializer_getInstance(), value.b1j_1);
1810
2239
  }
1811
- if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.f1i_1 == null)) {
1812
- tmp1_output.qn(tmp0_desc, 1, DoubleSerializer_getInstance(), value.f1i_1);
2240
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.c1j_1 == null)) {
2241
+ tmp1_output.qn(tmp0_desc, 1, DoubleSerializer_getInstance(), value.c1j_1);
1813
2242
  }
1814
2243
  tmp1_output.zl(tmp0_desc);
1815
2244
  };
1816
- protoOf($serializer_4).cj = function (encoder, value) {
1817
- return this.d1i(encoder, value instanceof Range ? value : THROW_CCE());
2245
+ protoOf($serializer_6).cj = function (encoder, value) {
2246
+ return this.a1j(encoder, value instanceof Range ? value : THROW_CCE());
1818
2247
  };
1819
- protoOf($serializer_4).dj = function (decoder) {
1820
- var tmp0_desc = this.c1i_1;
2248
+ protoOf($serializer_6).dj = function (decoder) {
2249
+ var tmp0_desc = this.z1i_1;
1821
2250
  var tmp1_flag = true;
1822
2251
  var tmp2_index = 0;
1823
2252
  var tmp3_bitMask0 = 0;
@@ -1851,33 +2280,33 @@
1851
2280
  tmp6_input.zl(tmp0_desc);
1852
2281
  return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1853
2282
  };
1854
- protoOf($serializer_4).bj = function () {
1855
- return this.c1i_1;
2283
+ protoOf($serializer_6).bj = function () {
2284
+ return this.z1i_1;
1856
2285
  };
1857
- protoOf($serializer_4).jt = function () {
2286
+ protoOf($serializer_6).jt = function () {
1858
2287
  // Inline function 'kotlin.arrayOf' call
1859
2288
  // Inline function 'kotlin.js.unsafeCast' call
1860
2289
  // Inline function 'kotlin.js.asDynamic' call
1861
2290
  return [get_nullable(DoubleSerializer_getInstance()), get_nullable(DoubleSerializer_getInstance())];
1862
2291
  };
1863
- var $serializer_instance_4;
1864
- function $serializer_getInstance_4() {
1865
- if ($serializer_instance_4 == null)
1866
- new $serializer_4();
1867
- return $serializer_instance_4;
2292
+ var $serializer_instance_6;
2293
+ function $serializer_getInstance_6() {
2294
+ if ($serializer_instance_6 == null)
2295
+ new $serializer_6();
2296
+ return $serializer_instance_6;
1868
2297
  }
1869
2298
  function Range_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
1870
2299
  if (!(0 === (0 & seen0))) {
1871
- throwMissingFieldException(seen0, 0, $serializer_getInstance_4().c1i_1);
2300
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_6().z1i_1);
1872
2301
  }
1873
2302
  if (0 === (seen0 & 1))
1874
- $this.e1i_1 = null;
2303
+ $this.b1j_1 = null;
1875
2304
  else
1876
- $this.e1i_1 = max;
2305
+ $this.b1j_1 = max;
1877
2306
  if (0 === (seen0 & 2))
1878
- $this.f1i_1 = null;
2307
+ $this.c1j_1 = null;
1879
2308
  else
1880
- $this.f1i_1 = min;
2309
+ $this.c1j_1 = min;
1881
2310
  return $this;
1882
2311
  }
1883
2312
  function Range_init_$Create$(seen0, max, min, serializationConstructorMarker) {
@@ -1886,15 +2315,15 @@
1886
2315
  function Range(max, min) {
1887
2316
  max = max === VOID ? null : max;
1888
2317
  min = min === VOID ? null : min;
1889
- this.e1i_1 = max;
1890
- this.f1i_1 = min;
2318
+ this.b1j_1 = max;
2319
+ this.c1j_1 = min;
1891
2320
  }
1892
2321
  protoOf(Range).toString = function () {
1893
- return 'Range(max=' + this.e1i_1 + ', min=' + this.f1i_1 + ')';
2322
+ return 'Range(max=' + this.b1j_1 + ', min=' + this.c1j_1 + ')';
1894
2323
  };
1895
2324
  protoOf(Range).hashCode = function () {
1896
- var result = this.e1i_1 == null ? 0 : getNumberHashCode(this.e1i_1);
1897
- result = imul(result, 31) + (this.f1i_1 == null ? 0 : getNumberHashCode(this.f1i_1)) | 0;
2325
+ var result = this.b1j_1 == null ? 0 : getNumberHashCode(this.b1j_1);
2326
+ result = imul(result, 31) + (this.c1j_1 == null ? 0 : getNumberHashCode(this.c1j_1)) | 0;
1898
2327
  return result;
1899
2328
  };
1900
2329
  protoOf(Range).equals = function (other) {
@@ -1902,60 +2331,60 @@
1902
2331
  return true;
1903
2332
  if (!(other instanceof Range))
1904
2333
  return false;
1905
- if (!equals(this.e1i_1, other.e1i_1))
2334
+ if (!equals(this.b1j_1, other.b1j_1))
1906
2335
  return false;
1907
- if (!equals(this.f1i_1, other.f1i_1))
2336
+ if (!equals(this.c1j_1, other.c1j_1))
1908
2337
  return false;
1909
2338
  return true;
1910
2339
  };
1911
2340
  function Instruction$Companion$$childSerializers$_anonymous__sbbefw() {
1912
2341
  return new ArrayListSerializer(StringSerializer_getInstance());
1913
2342
  }
1914
- function Companion_3() {
1915
- Companion_instance_3 = this;
2343
+ function Companion_5() {
2344
+ Companion_instance_6 = this;
1916
2345
  var tmp = this;
1917
2346
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1918
2347
  // Inline function 'kotlin.arrayOf' call
1919
2348
  // Inline function 'kotlin.js.unsafeCast' call
1920
2349
  // Inline function 'kotlin.js.asDynamic' call
1921
- tmp.g1i_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
2350
+ tmp.d1j_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
1922
2351
  }
1923
- var Companion_instance_3;
1924
- function Companion_getInstance_3() {
1925
- if (Companion_instance_3 == null)
1926
- new Companion_3();
1927
- return Companion_instance_3;
2352
+ var Companion_instance_6;
2353
+ function Companion_getInstance_5() {
2354
+ if (Companion_instance_6 == null)
2355
+ new Companion_5();
2356
+ return Companion_instance_6;
1928
2357
  }
1929
- function $serializer_5() {
1930
- $serializer_instance_5 = this;
2358
+ function $serializer_7() {
2359
+ $serializer_instance_7 = this;
1931
2360
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Instruction', this, 4);
1932
2361
  tmp0_serialDesc.ht('description', false);
1933
2362
  tmp0_serialDesc.ht('descriptionTemplate', true);
1934
2363
  tmp0_serialDesc.ht('images', true);
1935
2364
  tmp0_serialDesc.ht('stepNumber', true);
1936
- this.h1i_1 = tmp0_serialDesc;
2365
+ this.e1j_1 = tmp0_serialDesc;
1937
2366
  }
1938
- protoOf($serializer_5).i1i = function (encoder, value) {
1939
- var tmp0_desc = this.h1i_1;
2367
+ protoOf($serializer_7).f1j = function (encoder, value) {
2368
+ var tmp0_desc = this.e1j_1;
1940
2369
  var tmp1_output = encoder.yl(tmp0_desc);
1941
- var tmp2_cached = Companion_getInstance_3().g1i_1;
1942
- tmp1_output.mn(tmp0_desc, 0, value.x1g_1);
1943
- if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.y1g_1 == null)) {
1944
- tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.y1g_1);
2370
+ var tmp2_cached = Companion_getInstance_5().d1j_1;
2371
+ tmp1_output.mn(tmp0_desc, 0, value.i1h_1);
2372
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.j1h_1 == null)) {
2373
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.j1h_1);
1945
2374
  }
1946
- if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.z1g_1 == null)) {
1947
- tmp1_output.qn(tmp0_desc, 2, tmp2_cached[2].t1(), value.z1g_1);
2375
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.k1h_1 == null)) {
2376
+ tmp1_output.qn(tmp0_desc, 2, tmp2_cached[2].t1(), value.k1h_1);
1948
2377
  }
1949
- if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.a1h_1 == null)) {
1950
- tmp1_output.qn(tmp0_desc, 3, DoubleSerializer_getInstance(), value.a1h_1);
2378
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.l1h_1 == null)) {
2379
+ tmp1_output.qn(tmp0_desc, 3, DoubleSerializer_getInstance(), value.l1h_1);
1951
2380
  }
1952
2381
  tmp1_output.zl(tmp0_desc);
1953
2382
  };
1954
- protoOf($serializer_5).cj = function (encoder, value) {
1955
- return this.i1i(encoder, value instanceof Instruction ? value : THROW_CCE());
2383
+ protoOf($serializer_7).cj = function (encoder, value) {
2384
+ return this.f1j(encoder, value instanceof Instruction ? value : THROW_CCE());
1956
2385
  };
1957
- protoOf($serializer_5).dj = function (decoder) {
1958
- var tmp0_desc = this.h1i_1;
2386
+ protoOf($serializer_7).dj = function (decoder) {
2387
+ var tmp0_desc = this.e1j_1;
1959
2388
  var tmp1_flag = true;
1960
2389
  var tmp2_index = 0;
1961
2390
  var tmp3_bitMask0 = 0;
@@ -1964,7 +2393,7 @@
1964
2393
  var tmp6_local2 = null;
1965
2394
  var tmp7_local3 = null;
1966
2395
  var tmp8_input = decoder.yl(tmp0_desc);
1967
- var tmp9_cached = Companion_getInstance_3().g1i_1;
2396
+ var tmp9_cached = Companion_getInstance_5().d1j_1;
1968
2397
  if (tmp8_input.om()) {
1969
2398
  tmp4_local0 = tmp8_input.im(tmp0_desc, 0);
1970
2399
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -2004,72 +2433,72 @@
2004
2433
  tmp8_input.zl(tmp0_desc);
2005
2434
  return Instruction_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
2006
2435
  };
2007
- protoOf($serializer_5).bj = function () {
2008
- return this.h1i_1;
2436
+ protoOf($serializer_7).bj = function () {
2437
+ return this.e1j_1;
2009
2438
  };
2010
- protoOf($serializer_5).jt = function () {
2011
- var tmp0_cached = Companion_getInstance_3().g1i_1;
2439
+ protoOf($serializer_7).jt = function () {
2440
+ var tmp0_cached = Companion_getInstance_5().d1j_1;
2012
2441
  // Inline function 'kotlin.arrayOf' call
2013
2442
  // Inline function 'kotlin.js.unsafeCast' call
2014
2443
  // Inline function 'kotlin.js.asDynamic' call
2015
2444
  return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[2].t1()), get_nullable(DoubleSerializer_getInstance())];
2016
2445
  };
2017
- var $serializer_instance_5;
2018
- function $serializer_getInstance_5() {
2019
- if ($serializer_instance_5 == null)
2020
- new $serializer_5();
2021
- return $serializer_instance_5;
2446
+ var $serializer_instance_7;
2447
+ function $serializer_getInstance_7() {
2448
+ if ($serializer_instance_7 == null)
2449
+ new $serializer_7();
2450
+ return $serializer_instance_7;
2022
2451
  }
2023
2452
  function Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, $this) {
2024
2453
  if (!(1 === (1 & seen0))) {
2025
- throwMissingFieldException(seen0, 1, $serializer_getInstance_5().h1i_1);
2454
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_7().e1j_1);
2026
2455
  }
2027
- $this.x1g_1 = description;
2456
+ $this.i1h_1 = description;
2028
2457
  if (0 === (seen0 & 2))
2029
- $this.y1g_1 = null;
2458
+ $this.j1h_1 = null;
2030
2459
  else
2031
- $this.y1g_1 = descriptionTemplate;
2460
+ $this.j1h_1 = descriptionTemplate;
2032
2461
  if (0 === (seen0 & 4))
2033
- $this.z1g_1 = null;
2462
+ $this.k1h_1 = null;
2034
2463
  else
2035
- $this.z1g_1 = images;
2464
+ $this.k1h_1 = images;
2036
2465
  if (0 === (seen0 & 8))
2037
- $this.a1h_1 = null;
2466
+ $this.l1h_1 = null;
2038
2467
  else
2039
- $this.a1h_1 = stepNumber;
2468
+ $this.l1h_1 = stepNumber;
2040
2469
  return $this;
2041
2470
  }
2042
2471
  function Instruction_init_$Create$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker) {
2043
2472
  return Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, objectCreate(protoOf(Instruction)));
2044
2473
  }
2045
2474
  function Instruction(description, descriptionTemplate, images, stepNumber) {
2046
- Companion_getInstance_3();
2475
+ Companion_getInstance_5();
2047
2476
  descriptionTemplate = descriptionTemplate === VOID ? null : descriptionTemplate;
2048
2477
  images = images === VOID ? null : images;
2049
2478
  stepNumber = stepNumber === VOID ? null : stepNumber;
2050
- this.x1g_1 = description;
2051
- this.y1g_1 = descriptionTemplate;
2052
- this.z1g_1 = images;
2053
- this.a1h_1 = stepNumber;
2479
+ this.i1h_1 = description;
2480
+ this.j1h_1 = descriptionTemplate;
2481
+ this.k1h_1 = images;
2482
+ this.l1h_1 = stepNumber;
2054
2483
  }
2055
- protoOf(Instruction).j1i = function (description, descriptionTemplate, images, stepNumber) {
2484
+ protoOf(Instruction).g1j = function (description, descriptionTemplate, images, stepNumber) {
2056
2485
  return new Instruction(description, descriptionTemplate, images, stepNumber);
2057
2486
  };
2058
- protoOf(Instruction).b1h = function (description, descriptionTemplate, images, stepNumber, $super) {
2059
- description = description === VOID ? this.x1g_1 : description;
2060
- descriptionTemplate = descriptionTemplate === VOID ? this.y1g_1 : descriptionTemplate;
2061
- images = images === VOID ? this.z1g_1 : images;
2062
- stepNumber = stepNumber === VOID ? this.a1h_1 : stepNumber;
2063
- return $super === VOID ? this.j1i(description, descriptionTemplate, images, stepNumber) : $super.j1i.call(this, description, descriptionTemplate, images, stepNumber);
2487
+ protoOf(Instruction).m1h = function (description, descriptionTemplate, images, stepNumber, $super) {
2488
+ description = description === VOID ? this.i1h_1 : description;
2489
+ descriptionTemplate = descriptionTemplate === VOID ? this.j1h_1 : descriptionTemplate;
2490
+ images = images === VOID ? this.k1h_1 : images;
2491
+ stepNumber = stepNumber === VOID ? this.l1h_1 : stepNumber;
2492
+ return $super === VOID ? this.g1j(description, descriptionTemplate, images, stepNumber) : $super.g1j.call(this, description, descriptionTemplate, images, stepNumber);
2064
2493
  };
2065
2494
  protoOf(Instruction).toString = function () {
2066
- return 'Instruction(description=' + this.x1g_1 + ', descriptionTemplate=' + this.y1g_1 + ', images=' + toString(this.z1g_1) + ', stepNumber=' + this.a1h_1 + ')';
2495
+ return 'Instruction(description=' + this.i1h_1 + ', descriptionTemplate=' + this.j1h_1 + ', images=' + toString(this.k1h_1) + ', stepNumber=' + this.l1h_1 + ')';
2067
2496
  };
2068
2497
  protoOf(Instruction).hashCode = function () {
2069
- var result = getStringHashCode(this.x1g_1);
2070
- result = imul(result, 31) + (this.y1g_1 == null ? 0 : getStringHashCode(this.y1g_1)) | 0;
2071
- result = imul(result, 31) + (this.z1g_1 == null ? 0 : hashCode(this.z1g_1)) | 0;
2072
- result = imul(result, 31) + (this.a1h_1 == null ? 0 : getNumberHashCode(this.a1h_1)) | 0;
2498
+ var result = getStringHashCode(this.i1h_1);
2499
+ result = imul(result, 31) + (this.j1h_1 == null ? 0 : getStringHashCode(this.j1h_1)) | 0;
2500
+ result = imul(result, 31) + (this.k1h_1 == null ? 0 : hashCode(this.k1h_1)) | 0;
2501
+ result = imul(result, 31) + (this.l1h_1 == null ? 0 : getNumberHashCode(this.l1h_1)) | 0;
2073
2502
  return result;
2074
2503
  };
2075
2504
  protoOf(Instruction).equals = function (other) {
@@ -2077,41 +2506,41 @@
2077
2506
  return true;
2078
2507
  if (!(other instanceof Instruction))
2079
2508
  return false;
2080
- if (!(this.x1g_1 === other.x1g_1))
2509
+ if (!(this.i1h_1 === other.i1h_1))
2081
2510
  return false;
2082
- if (!(this.y1g_1 == other.y1g_1))
2511
+ if (!(this.j1h_1 == other.j1h_1))
2083
2512
  return false;
2084
- if (!equals(this.z1g_1, other.z1g_1))
2513
+ if (!equals(this.k1h_1, other.k1h_1))
2085
2514
  return false;
2086
- if (!equals(this.a1h_1, other.a1h_1))
2515
+ if (!equals(this.l1h_1, other.l1h_1))
2087
2516
  return false;
2088
2517
  return true;
2089
2518
  };
2090
- function $serializer_6() {
2091
- $serializer_instance_6 = this;
2519
+ function $serializer_8() {
2520
+ $serializer_instance_8 = this;
2092
2521
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Serves', this, 3);
2093
2522
  tmp0_serialDesc.ht('amount', true);
2094
2523
  tmp0_serialDesc.ht('text', true);
2095
2524
  tmp0_serialDesc.ht('unit', false);
2096
- this.k1i_1 = tmp0_serialDesc;
2525
+ this.h1j_1 = tmp0_serialDesc;
2097
2526
  }
2098
- protoOf($serializer_6).l1i = function (encoder, value) {
2099
- var tmp0_desc = this.k1i_1;
2527
+ protoOf($serializer_8).i1j = function (encoder, value) {
2528
+ var tmp0_desc = this.h1j_1;
2100
2529
  var tmp1_output = encoder.yl(tmp0_desc);
2101
- if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.m1i_1 == null)) {
2102
- tmp1_output.qn(tmp0_desc, 0, $serializer_getInstance_4(), value.m1i_1);
2530
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.j1j_1 == null)) {
2531
+ tmp1_output.qn(tmp0_desc, 0, $serializer_getInstance_6(), value.j1j_1);
2103
2532
  }
2104
- if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.n1i_1 == null)) {
2105
- tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.n1i_1);
2533
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.k1j_1 == null)) {
2534
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.k1j_1);
2106
2535
  }
2107
- tmp1_output.mn(tmp0_desc, 2, value.o1i_1);
2536
+ tmp1_output.mn(tmp0_desc, 2, value.l1j_1);
2108
2537
  tmp1_output.zl(tmp0_desc);
2109
2538
  };
2110
- protoOf($serializer_6).cj = function (encoder, value) {
2111
- return this.l1i(encoder, value instanceof Serves ? value : THROW_CCE());
2539
+ protoOf($serializer_8).cj = function (encoder, value) {
2540
+ return this.i1j(encoder, value instanceof Serves ? value : THROW_CCE());
2112
2541
  };
2113
- protoOf($serializer_6).dj = function (decoder) {
2114
- var tmp0_desc = this.k1i_1;
2542
+ protoOf($serializer_8).dj = function (decoder) {
2543
+ var tmp0_desc = this.h1j_1;
2115
2544
  var tmp1_flag = true;
2116
2545
  var tmp2_index = 0;
2117
2546
  var tmp3_bitMask0 = 0;
@@ -2120,7 +2549,7 @@
2120
2549
  var tmp6_local2 = null;
2121
2550
  var tmp7_input = decoder.yl(tmp0_desc);
2122
2551
  if (tmp7_input.om()) {
2123
- tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2552
+ tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
2124
2553
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2125
2554
  tmp5_local1 = tmp7_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2126
2555
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
@@ -2134,7 +2563,7 @@
2134
2563
  tmp1_flag = false;
2135
2564
  break;
2136
2565
  case 0:
2137
- tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2566
+ tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
2138
2567
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2139
2568
  break;
2140
2569
  case 1:
@@ -2152,34 +2581,34 @@
2152
2581
  tmp7_input.zl(tmp0_desc);
2153
2582
  return Serves_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
2154
2583
  };
2155
- protoOf($serializer_6).bj = function () {
2156
- return this.k1i_1;
2584
+ protoOf($serializer_8).bj = function () {
2585
+ return this.h1j_1;
2157
2586
  };
2158
- protoOf($serializer_6).jt = function () {
2587
+ protoOf($serializer_8).jt = function () {
2159
2588
  // Inline function 'kotlin.arrayOf' call
2160
2589
  // Inline function 'kotlin.js.unsafeCast' call
2161
2590
  // Inline function 'kotlin.js.asDynamic' call
2162
- return [get_nullable($serializer_getInstance_4()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance()];
2591
+ return [get_nullable($serializer_getInstance_6()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance()];
2163
2592
  };
2164
- var $serializer_instance_6;
2165
- function $serializer_getInstance_6() {
2166
- if ($serializer_instance_6 == null)
2167
- new $serializer_6();
2168
- return $serializer_instance_6;
2593
+ var $serializer_instance_8;
2594
+ function $serializer_getInstance_8() {
2595
+ if ($serializer_instance_8 == null)
2596
+ new $serializer_8();
2597
+ return $serializer_instance_8;
2169
2598
  }
2170
2599
  function Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, $this) {
2171
2600
  if (!(4 === (4 & seen0))) {
2172
- throwMissingFieldException(seen0, 4, $serializer_getInstance_6().k1i_1);
2601
+ throwMissingFieldException(seen0, 4, $serializer_getInstance_8().h1j_1);
2173
2602
  }
2174
2603
  if (0 === (seen0 & 1))
2175
- $this.m1i_1 = null;
2604
+ $this.j1j_1 = null;
2176
2605
  else
2177
- $this.m1i_1 = amount;
2606
+ $this.j1j_1 = amount;
2178
2607
  if (0 === (seen0 & 2))
2179
- $this.n1i_1 = null;
2608
+ $this.k1j_1 = null;
2180
2609
  else
2181
- $this.n1i_1 = text;
2182
- $this.o1i_1 = unit;
2610
+ $this.k1j_1 = text;
2611
+ $this.l1j_1 = unit;
2183
2612
  return $this;
2184
2613
  }
2185
2614
  function Serves_init_$Create$(seen0, amount, text, unit, serializationConstructorMarker) {
@@ -2188,12 +2617,12 @@
2188
2617
  function Serves() {
2189
2618
  }
2190
2619
  protoOf(Serves).toString = function () {
2191
- return 'Serves(amount=' + toString(this.m1i_1) + ', text=' + this.n1i_1 + ', unit=' + this.o1i_1 + ')';
2620
+ return 'Serves(amount=' + toString(this.j1j_1) + ', text=' + this.k1j_1 + ', unit=' + this.l1j_1 + ')';
2192
2621
  };
2193
2622
  protoOf(Serves).hashCode = function () {
2194
- var result = this.m1i_1 == null ? 0 : this.m1i_1.hashCode();
2195
- result = imul(result, 31) + (this.n1i_1 == null ? 0 : getStringHashCode(this.n1i_1)) | 0;
2196
- result = imul(result, 31) + getStringHashCode(this.o1i_1) | 0;
2623
+ var result = this.j1j_1 == null ? 0 : this.j1j_1.hashCode();
2624
+ result = imul(result, 31) + (this.k1j_1 == null ? 0 : getStringHashCode(this.k1j_1)) | 0;
2625
+ result = imul(result, 31) + getStringHashCode(this.l1j_1) | 0;
2197
2626
  return result;
2198
2627
  };
2199
2628
  protoOf(Serves).equals = function (other) {
@@ -2201,47 +2630,47 @@
2201
2630
  return true;
2202
2631
  if (!(other instanceof Serves))
2203
2632
  return false;
2204
- if (!equals(this.m1i_1, other.m1i_1))
2633
+ if (!equals(this.j1j_1, other.j1j_1))
2205
2634
  return false;
2206
- if (!(this.n1i_1 == other.n1i_1))
2635
+ if (!(this.k1j_1 == other.k1j_1))
2207
2636
  return false;
2208
- if (!(this.o1i_1 === other.o1i_1))
2637
+ if (!(this.l1j_1 === other.l1j_1))
2209
2638
  return false;
2210
2639
  return true;
2211
2640
  };
2212
- function Companion_4() {
2641
+ function Companion_6() {
2213
2642
  }
2214
- var Companion_instance_4;
2215
- function Companion_getInstance_4() {
2216
- return Companion_instance_4;
2643
+ var Companion_instance_7;
2644
+ function Companion_getInstance_6() {
2645
+ return Companion_instance_7;
2217
2646
  }
2218
- function $serializer_7() {
2219
- $serializer_instance_7 = this;
2647
+ function $serializer_9() {
2648
+ $serializer_instance_9 = this;
2220
2649
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Timing', this, 3);
2221
2650
  tmp0_serialDesc.ht('durationInMins', true);
2222
2651
  tmp0_serialDesc.ht('qualifier', true);
2223
2652
  tmp0_serialDesc.ht('text', true);
2224
- this.p1i_1 = tmp0_serialDesc;
2653
+ this.m1j_1 = tmp0_serialDesc;
2225
2654
  }
2226
- protoOf($serializer_7).q1i = function (encoder, value) {
2227
- var tmp0_desc = this.p1i_1;
2655
+ protoOf($serializer_9).n1j = function (encoder, value) {
2656
+ var tmp0_desc = this.m1j_1;
2228
2657
  var tmp1_output = encoder.yl(tmp0_desc);
2229
- if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.r1i_1 == null)) {
2230
- tmp1_output.qn(tmp0_desc, 0, $serializer_getInstance_4(), value.r1i_1);
2658
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.o1j_1 == null)) {
2659
+ tmp1_output.qn(tmp0_desc, 0, $serializer_getInstance_6(), value.o1j_1);
2231
2660
  }
2232
- if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.s1i_1 == null)) {
2233
- tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.s1i_1);
2661
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.p1j_1 == null)) {
2662
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.p1j_1);
2234
2663
  }
2235
- if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.t1i_1 == null)) {
2236
- tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.t1i_1);
2664
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.q1j_1 == null)) {
2665
+ tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.q1j_1);
2237
2666
  }
2238
2667
  tmp1_output.zl(tmp0_desc);
2239
2668
  };
2240
- protoOf($serializer_7).cj = function (encoder, value) {
2241
- return this.q1i(encoder, value instanceof Timing ? value : THROW_CCE());
2669
+ protoOf($serializer_9).cj = function (encoder, value) {
2670
+ return this.n1j(encoder, value instanceof Timing ? value : THROW_CCE());
2242
2671
  };
2243
- protoOf($serializer_7).dj = function (decoder) {
2244
- var tmp0_desc = this.p1i_1;
2672
+ protoOf($serializer_9).dj = function (decoder) {
2673
+ var tmp0_desc = this.m1j_1;
2245
2674
  var tmp1_flag = true;
2246
2675
  var tmp2_index = 0;
2247
2676
  var tmp3_bitMask0 = 0;
@@ -2250,7 +2679,7 @@
2250
2679
  var tmp6_local2 = null;
2251
2680
  var tmp7_input = decoder.yl(tmp0_desc);
2252
2681
  if (tmp7_input.om()) {
2253
- tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2682
+ tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
2254
2683
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2255
2684
  tmp5_local1 = tmp7_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2256
2685
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
@@ -2264,7 +2693,7 @@
2264
2693
  tmp1_flag = false;
2265
2694
  break;
2266
2695
  case 0:
2267
- tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2696
+ tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
2268
2697
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2269
2698
  break;
2270
2699
  case 1:
@@ -2282,37 +2711,37 @@
2282
2711
  tmp7_input.zl(tmp0_desc);
2283
2712
  return Timing_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
2284
2713
  };
2285
- protoOf($serializer_7).bj = function () {
2286
- return this.p1i_1;
2714
+ protoOf($serializer_9).bj = function () {
2715
+ return this.m1j_1;
2287
2716
  };
2288
- protoOf($serializer_7).jt = function () {
2717
+ protoOf($serializer_9).jt = function () {
2289
2718
  // Inline function 'kotlin.arrayOf' call
2290
2719
  // Inline function 'kotlin.js.unsafeCast' call
2291
2720
  // Inline function 'kotlin.js.asDynamic' call
2292
- return [get_nullable($serializer_getInstance_4()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
2721
+ return [get_nullable($serializer_getInstance_6()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
2293
2722
  };
2294
- var $serializer_instance_7;
2295
- function $serializer_getInstance_7() {
2296
- if ($serializer_instance_7 == null)
2297
- new $serializer_7();
2298
- return $serializer_instance_7;
2723
+ var $serializer_instance_9;
2724
+ function $serializer_getInstance_9() {
2725
+ if ($serializer_instance_9 == null)
2726
+ new $serializer_9();
2727
+ return $serializer_instance_9;
2299
2728
  }
2300
2729
  function Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, $this) {
2301
2730
  if (!(0 === (0 & seen0))) {
2302
- throwMissingFieldException(seen0, 0, $serializer_getInstance_7().p1i_1);
2731
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_9().m1j_1);
2303
2732
  }
2304
2733
  if (0 === (seen0 & 1))
2305
- $this.r1i_1 = null;
2734
+ $this.o1j_1 = null;
2306
2735
  else
2307
- $this.r1i_1 = durationInMins;
2736
+ $this.o1j_1 = durationInMins;
2308
2737
  if (0 === (seen0 & 2))
2309
- $this.s1i_1 = null;
2738
+ $this.p1j_1 = null;
2310
2739
  else
2311
- $this.s1i_1 = qualifier;
2740
+ $this.p1j_1 = qualifier;
2312
2741
  if (0 === (seen0 & 4))
2313
- $this.t1i_1 = null;
2742
+ $this.q1j_1 = null;
2314
2743
  else
2315
- $this.t1i_1 = text;
2744
+ $this.q1j_1 = text;
2316
2745
  return $this;
2317
2746
  }
2318
2747
  function Timing_init_$Create$(seen0, durationInMins, qualifier, text, serializationConstructorMarker) {
@@ -2322,17 +2751,17 @@
2322
2751
  durationInMins = durationInMins === VOID ? null : durationInMins;
2323
2752
  qualifier = qualifier === VOID ? null : qualifier;
2324
2753
  text = text === VOID ? null : text;
2325
- this.r1i_1 = durationInMins;
2326
- this.s1i_1 = qualifier;
2327
- this.t1i_1 = text;
2754
+ this.o1j_1 = durationInMins;
2755
+ this.p1j_1 = qualifier;
2756
+ this.q1j_1 = text;
2328
2757
  }
2329
2758
  protoOf(Timing).toString = function () {
2330
- return 'Timing(durationInMins=' + toString(this.r1i_1) + ', qualifier=' + this.s1i_1 + ', text=' + this.t1i_1 + ')';
2759
+ return 'Timing(durationInMins=' + toString(this.o1j_1) + ', qualifier=' + this.p1j_1 + ', text=' + this.q1j_1 + ')';
2331
2760
  };
2332
2761
  protoOf(Timing).hashCode = function () {
2333
- var result = this.r1i_1 == null ? 0 : this.r1i_1.hashCode();
2334
- result = imul(result, 31) + (this.s1i_1 == null ? 0 : getStringHashCode(this.s1i_1)) | 0;
2335
- result = imul(result, 31) + (this.t1i_1 == null ? 0 : getStringHashCode(this.t1i_1)) | 0;
2762
+ var result = this.o1j_1 == null ? 0 : this.o1j_1.hashCode();
2763
+ result = imul(result, 31) + (this.p1j_1 == null ? 0 : getStringHashCode(this.p1j_1)) | 0;
2764
+ result = imul(result, 31) + (this.q1j_1 == null ? 0 : getStringHashCode(this.q1j_1)) | 0;
2336
2765
  return result;
2337
2766
  };
2338
2767
  protoOf(Timing).equals = function (other) {
@@ -2340,29 +2769,29 @@
2340
2769
  return true;
2341
2770
  if (!(other instanceof Timing))
2342
2771
  return false;
2343
- if (!equals(this.r1i_1, other.r1i_1))
2772
+ if (!equals(this.o1j_1, other.o1j_1))
2344
2773
  return false;
2345
- if (!(this.s1i_1 == other.s1i_1))
2774
+ if (!(this.p1j_1 == other.p1j_1))
2346
2775
  return false;
2347
- if (!(this.t1i_1 == other.t1i_1))
2776
+ if (!(this.q1j_1 == other.q1j_1))
2348
2777
  return false;
2349
2778
  return true;
2350
2779
  };
2351
2780
  function ParsedTemplate(elements) {
2352
- this.n1f_1 = elements;
2781
+ this.y1f_1 = elements;
2353
2782
  }
2354
2783
  protoOf(ParsedTemplate).toString = function () {
2355
- return 'ParsedTemplate(elements=' + toString_0(this.n1f_1) + ')';
2784
+ return 'ParsedTemplate(elements=' + toString_0(this.y1f_1) + ')';
2356
2785
  };
2357
2786
  protoOf(ParsedTemplate).hashCode = function () {
2358
- return hashCode(this.n1f_1);
2787
+ return hashCode(this.y1f_1);
2359
2788
  };
2360
2789
  protoOf(ParsedTemplate).equals = function (other) {
2361
2790
  if (this === other)
2362
2791
  return true;
2363
2792
  if (!(other instanceof ParsedTemplate))
2364
2793
  return false;
2365
- if (!equals(this.n1f_1, other.n1f_1))
2794
+ if (!equals(this.y1f_1, other.y1f_1))
2366
2795
  return false;
2367
2796
  return true;
2368
2797
  };
@@ -2456,12 +2885,12 @@
2456
2885
  protoOf(TemplateConst).jd = function () {
2457
2886
  return this.value;
2458
2887
  };
2459
- protoOf(TemplateConst).u1i = function (value) {
2888
+ protoOf(TemplateConst).r1j = function (value) {
2460
2889
  return new TemplateConst(value);
2461
2890
  };
2462
2891
  protoOf(TemplateConst).copy = function (value, $super) {
2463
2892
  value = value === VOID ? this.value : value;
2464
- return $super === VOID ? this.u1i(value) : $super.u1i.call(this, value);
2893
+ return $super === VOID ? this.r1j(value) : $super.r1j.call(this, value);
2465
2894
  };
2466
2895
  protoOf(TemplateConst).toString = function () {
2467
2896
  return 'TemplateConst(value=' + this.value + ')';
@@ -2478,17 +2907,17 @@
2478
2907
  return false;
2479
2908
  return true;
2480
2909
  };
2481
- function Companion_5() {
2910
+ function Companion_7() {
2482
2911
  }
2483
- protoOf(Companion_5).t14 = function () {
2484
- return $serializer_getInstance_8();
2912
+ protoOf(Companion_7).z14 = function () {
2913
+ return $serializer_getInstance_10();
2485
2914
  };
2486
- var Companion_instance_5;
2487
- function Companion_getInstance_5() {
2488
- return Companion_instance_5;
2915
+ var Companion_instance_8;
2916
+ function Companion_getInstance_7() {
2917
+ return Companion_instance_8;
2489
2918
  }
2490
- function $serializer_8() {
2491
- $serializer_instance_8 = this;
2919
+ function $serializer_10() {
2920
+ $serializer_instance_10 = this;
2492
2921
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.QuantityPlaceholder', this, 6);
2493
2922
  tmp0_serialDesc.ht('min', false);
2494
2923
  tmp0_serialDesc.ht('max', true);
@@ -2496,10 +2925,10 @@
2496
2925
  tmp0_serialDesc.ht('scale', true);
2497
2926
  tmp0_serialDesc.ht('ingredient', true);
2498
2927
  tmp0_serialDesc.ht('usCust', true);
2499
- this.v1i_1 = tmp0_serialDesc;
2928
+ this.s1j_1 = tmp0_serialDesc;
2500
2929
  }
2501
- protoOf($serializer_8).w1i = function (encoder, value) {
2502
- var tmp0_desc = this.v1i_1;
2930
+ protoOf($serializer_10).t1j = function (encoder, value) {
2931
+ var tmp0_desc = this.s1j_1;
2503
2932
  var tmp1_output = encoder.yl(tmp0_desc);
2504
2933
  tmp1_output.jn(tmp0_desc, 0, value.min);
2505
2934
  if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.max == null)) {
@@ -2519,11 +2948,11 @@
2519
2948
  }
2520
2949
  tmp1_output.zl(tmp0_desc);
2521
2950
  };
2522
- protoOf($serializer_8).cj = function (encoder, value) {
2523
- return this.w1i(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
2951
+ protoOf($serializer_10).cj = function (encoder, value) {
2952
+ return this.t1j(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
2524
2953
  };
2525
- protoOf($serializer_8).dj = function (decoder) {
2526
- var tmp0_desc = this.v1i_1;
2954
+ protoOf($serializer_10).dj = function (decoder) {
2955
+ var tmp0_desc = this.s1j_1;
2527
2956
  var tmp1_flag = true;
2528
2957
  var tmp2_index = 0;
2529
2958
  var tmp3_bitMask0 = 0;
@@ -2585,24 +3014,24 @@
2585
3014
  tmp10_input.zl(tmp0_desc);
2586
3015
  return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
2587
3016
  };
2588
- protoOf($serializer_8).bj = function () {
2589
- return this.v1i_1;
3017
+ protoOf($serializer_10).bj = function () {
3018
+ return this.s1j_1;
2590
3019
  };
2591
- protoOf($serializer_8).jt = function () {
3020
+ protoOf($serializer_10).jt = function () {
2592
3021
  // Inline function 'kotlin.arrayOf' call
2593
3022
  // Inline function 'kotlin.js.unsafeCast' call
2594
3023
  // Inline function 'kotlin.js.asDynamic' call
2595
3024
  return [FloatSerializer_getInstance(), get_nullable(FloatSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
2596
3025
  };
2597
- var $serializer_instance_8;
2598
- function $serializer_getInstance_8() {
2599
- if ($serializer_instance_8 == null)
2600
- new $serializer_8();
2601
- return $serializer_instance_8;
3026
+ var $serializer_instance_10;
3027
+ function $serializer_getInstance_10() {
3028
+ if ($serializer_instance_10 == null)
3029
+ new $serializer_10();
3030
+ return $serializer_instance_10;
2602
3031
  }
2603
3032
  function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, $this) {
2604
3033
  if (!(1 === (1 & seen0))) {
2605
- throwMissingFieldException(seen0, 1, $serializer_getInstance_8().v1i_1);
3034
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_10().s1j_1);
2606
3035
  }
2607
3036
  $this.min = min;
2608
3037
  if (0 === (seen0 & 2))
@@ -2643,22 +3072,22 @@
2643
3072
  this.ingredient = ingredient;
2644
3073
  this.usCust = usCust;
2645
3074
  }
2646
- protoOf(QuantityPlaceholder).x1i = function () {
3075
+ protoOf(QuantityPlaceholder).u1j = function () {
2647
3076
  return this.min;
2648
3077
  };
2649
- protoOf(QuantityPlaceholder).y1i = function () {
3078
+ protoOf(QuantityPlaceholder).v1j = function () {
2650
3079
  return this.max;
2651
3080
  };
2652
- protoOf(QuantityPlaceholder).z1i = function () {
3081
+ protoOf(QuantityPlaceholder).w1j = function () {
2653
3082
  return this.unit;
2654
3083
  };
2655
- protoOf(QuantityPlaceholder).a1j = function () {
3084
+ protoOf(QuantityPlaceholder).x1j = function () {
2656
3085
  return this.scale;
2657
3086
  };
2658
- protoOf(QuantityPlaceholder).b1j = function () {
3087
+ protoOf(QuantityPlaceholder).y1j = function () {
2659
3088
  return this.ingredient;
2660
3089
  };
2661
- protoOf(QuantityPlaceholder).c1j = function () {
3090
+ protoOf(QuantityPlaceholder).z1j = function () {
2662
3091
  return this.usCust;
2663
3092
  };
2664
3093
  protoOf(QuantityPlaceholder).jd = function () {
@@ -2667,19 +3096,19 @@
2667
3096
  protoOf(QuantityPlaceholder).kd = function () {
2668
3097
  return this.max;
2669
3098
  };
2670
- protoOf(QuantityPlaceholder).d1j = function () {
3099
+ protoOf(QuantityPlaceholder).a1k = function () {
2671
3100
  return this.unit;
2672
3101
  };
2673
- protoOf(QuantityPlaceholder).e1j = function () {
3102
+ protoOf(QuantityPlaceholder).b1k = function () {
2674
3103
  return this.scale;
2675
3104
  };
2676
- protoOf(QuantityPlaceholder).f1j = function () {
3105
+ protoOf(QuantityPlaceholder).c1k = function () {
2677
3106
  return this.ingredient;
2678
3107
  };
2679
- protoOf(QuantityPlaceholder).g1j = function () {
3108
+ protoOf(QuantityPlaceholder).d1k = function () {
2680
3109
  return this.usCust;
2681
3110
  };
2682
- protoOf(QuantityPlaceholder).h1j = function (min, max, unit, scale, ingredient, usCust) {
3111
+ protoOf(QuantityPlaceholder).e1k = function (min, max, unit, scale, ingredient, usCust) {
2683
3112
  return new QuantityPlaceholder(min, max, unit, scale, ingredient, usCust);
2684
3113
  };
2685
3114
  protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, ingredient, usCust, $super) {
@@ -2689,7 +3118,7 @@
2689
3118
  scale = scale === VOID ? this.scale : scale;
2690
3119
  ingredient = ingredient === VOID ? this.ingredient : ingredient;
2691
3120
  usCust = usCust === VOID ? this.usCust : usCust;
2692
- return $super === VOID ? this.h1j(min, max, unit, scale, ingredient, usCust) : $super.h1j.call(this, min, max, unit, scale, ingredient, usCust);
3121
+ return $super === VOID ? this.e1k(min, max, unit, scale, ingredient, usCust) : $super.e1k.call(this, min, max, unit, scale, ingredient, usCust);
2693
3122
  };
2694
3123
  protoOf(QuantityPlaceholder).toString = function () {
2695
3124
  return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ', ingredient=' + this.ingredient + ', usCust=' + this.usCust + ')';
@@ -2722,26 +3151,26 @@
2722
3151
  return false;
2723
3152
  return true;
2724
3153
  };
2725
- function Companion_6() {
3154
+ function Companion_8() {
2726
3155
  }
2727
- protoOf(Companion_6).t14 = function () {
2728
- return $serializer_getInstance_9();
3156
+ protoOf(Companion_8).z14 = function () {
3157
+ return $serializer_getInstance_11();
2729
3158
  };
2730
- var Companion_instance_6;
2731
- function Companion_getInstance_6() {
2732
- return Companion_instance_6;
3159
+ var Companion_instance_9;
3160
+ function Companion_getInstance_8() {
3161
+ return Companion_instance_9;
2733
3162
  }
2734
- function $serializer_9() {
2735
- $serializer_instance_9 = this;
3163
+ function $serializer_11() {
3164
+ $serializer_instance_11 = this;
2736
3165
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.OvenTemperaturePlaceholder', this, 4);
2737
3166
  tmp0_serialDesc.ht('temperatureC', true);
2738
3167
  tmp0_serialDesc.ht('temperatureFanC', true);
2739
3168
  tmp0_serialDesc.ht('temperatureF', true);
2740
3169
  tmp0_serialDesc.ht('gasMark', true);
2741
- this.i1j_1 = tmp0_serialDesc;
3170
+ this.f1k_1 = tmp0_serialDesc;
2742
3171
  }
2743
- protoOf($serializer_9).j1j = function (encoder, value) {
2744
- var tmp0_desc = this.i1j_1;
3172
+ protoOf($serializer_11).g1k = function (encoder, value) {
3173
+ var tmp0_desc = this.f1k_1;
2745
3174
  var tmp1_output = encoder.yl(tmp0_desc);
2746
3175
  if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
2747
3176
  tmp1_output.qn(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
@@ -2757,11 +3186,11 @@
2757
3186
  }
2758
3187
  tmp1_output.zl(tmp0_desc);
2759
3188
  };
2760
- protoOf($serializer_9).cj = function (encoder, value) {
2761
- return this.j1j(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
3189
+ protoOf($serializer_11).cj = function (encoder, value) {
3190
+ return this.g1k(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
2762
3191
  };
2763
- protoOf($serializer_9).dj = function (decoder) {
2764
- var tmp0_desc = this.i1j_1;
3192
+ protoOf($serializer_11).dj = function (decoder) {
3193
+ var tmp0_desc = this.f1k_1;
2765
3194
  var tmp1_flag = true;
2766
3195
  var tmp2_index = 0;
2767
3196
  var tmp3_bitMask0 = 0;
@@ -2809,24 +3238,24 @@
2809
3238
  tmp8_input.zl(tmp0_desc);
2810
3239
  return OvenTemperaturePlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
2811
3240
  };
2812
- protoOf($serializer_9).bj = function () {
2813
- return this.i1j_1;
3241
+ protoOf($serializer_11).bj = function () {
3242
+ return this.f1k_1;
2814
3243
  };
2815
- protoOf($serializer_9).jt = function () {
3244
+ protoOf($serializer_11).jt = function () {
2816
3245
  // Inline function 'kotlin.arrayOf' call
2817
3246
  // Inline function 'kotlin.js.unsafeCast' call
2818
3247
  // Inline function 'kotlin.js.asDynamic' call
2819
3248
  return [get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
2820
3249
  };
2821
- var $serializer_instance_9;
2822
- function $serializer_getInstance_9() {
2823
- if ($serializer_instance_9 == null)
2824
- new $serializer_9();
2825
- return $serializer_instance_9;
3250
+ var $serializer_instance_11;
3251
+ function $serializer_getInstance_11() {
3252
+ if ($serializer_instance_11 == null)
3253
+ new $serializer_11();
3254
+ return $serializer_instance_11;
2826
3255
  }
2827
3256
  function OvenTemperaturePlaceholder_init_$Init$(seen0, temperatureC, temperatureFanC, temperatureF, gasMark, serializationConstructorMarker, $this) {
2828
3257
  if (!(0 === (0 & seen0))) {
2829
- throwMissingFieldException(seen0, 0, $serializer_getInstance_9().i1j_1);
3258
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_11().f1k_1);
2830
3259
  }
2831
3260
  if (0 === (seen0 & 1))
2832
3261
  $this.temperatureC = null;
@@ -2859,16 +3288,16 @@
2859
3288
  this.temperatureF = temperatureF;
2860
3289
  this.gasMark = gasMark;
2861
3290
  }
2862
- protoOf(OvenTemperaturePlaceholder).k1j = function () {
3291
+ protoOf(OvenTemperaturePlaceholder).h1k = function () {
2863
3292
  return this.temperatureC;
2864
3293
  };
2865
- protoOf(OvenTemperaturePlaceholder).l1j = function () {
3294
+ protoOf(OvenTemperaturePlaceholder).i1k = function () {
2866
3295
  return this.temperatureFanC;
2867
3296
  };
2868
- protoOf(OvenTemperaturePlaceholder).m1j = function () {
3297
+ protoOf(OvenTemperaturePlaceholder).j1k = function () {
2869
3298
  return this.temperatureF;
2870
3299
  };
2871
- protoOf(OvenTemperaturePlaceholder).n1j = function () {
3300
+ protoOf(OvenTemperaturePlaceholder).k1k = function () {
2872
3301
  return this.gasMark;
2873
3302
  };
2874
3303
  protoOf(OvenTemperaturePlaceholder).jd = function () {
@@ -2877,13 +3306,13 @@
2877
3306
  protoOf(OvenTemperaturePlaceholder).kd = function () {
2878
3307
  return this.temperatureFanC;
2879
3308
  };
2880
- protoOf(OvenTemperaturePlaceholder).d1j = function () {
3309
+ protoOf(OvenTemperaturePlaceholder).a1k = function () {
2881
3310
  return this.temperatureF;
2882
3311
  };
2883
- protoOf(OvenTemperaturePlaceholder).e1j = function () {
3312
+ protoOf(OvenTemperaturePlaceholder).b1k = function () {
2884
3313
  return this.gasMark;
2885
3314
  };
2886
- protoOf(OvenTemperaturePlaceholder).o1j = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
3315
+ protoOf(OvenTemperaturePlaceholder).l1k = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
2887
3316
  return new OvenTemperaturePlaceholder(temperatureC, temperatureFanC, temperatureF, gasMark);
2888
3317
  };
2889
3318
  protoOf(OvenTemperaturePlaceholder).copy = function (temperatureC, temperatureFanC, temperatureF, gasMark, $super) {
@@ -2891,7 +3320,7 @@
2891
3320
  temperatureFanC = temperatureFanC === VOID ? this.temperatureFanC : temperatureFanC;
2892
3321
  temperatureF = temperatureF === VOID ? this.temperatureF : temperatureF;
2893
3322
  gasMark = gasMark === VOID ? this.gasMark : gasMark;
2894
- return $super === VOID ? this.o1j(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.o1j.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
3323
+ return $super === VOID ? this.l1k(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.l1k.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
2895
3324
  };
2896
3325
  protoOf(OvenTemperaturePlaceholder).toString = function () {
2897
3326
  return 'OvenTemperaturePlaceholder(temperatureC=' + this.temperatureC + ', temperatureFanC=' + this.temperatureFanC + ', temperatureF=' + this.temperatureF + ', gasMark=' + this.gasMark + ')';
@@ -2952,25 +3381,25 @@
2952
3381
  Enum.call(this, name, ordinal);
2953
3382
  }
2954
3383
  function MeasurementUnit(singular, plural, symbol, symbolPlural, unitType, measuringSystems, quantity) {
2955
- this.g1f_1 = singular;
2956
- this.h1f_1 = plural;
2957
- this.i1f_1 = symbol;
2958
- this.j1f_1 = symbolPlural;
2959
- this.k1f_1 = unitType;
2960
- this.l1f_1 = measuringSystems;
2961
- this.m1f_1 = quantity;
3384
+ this.p1f_1 = singular;
3385
+ this.q1f_1 = plural;
3386
+ this.r1f_1 = symbol;
3387
+ this.s1f_1 = symbolPlural;
3388
+ this.t1f_1 = unitType;
3389
+ this.u1f_1 = measuringSystems;
3390
+ this.v1f_1 = quantity;
2962
3391
  }
2963
3392
  protoOf(MeasurementUnit).toString = function () {
2964
- return 'MeasurementUnit(singular=' + this.g1f_1 + ', plural=' + this.h1f_1 + ', symbol=' + this.i1f_1 + ', symbolPlural=' + this.j1f_1 + ', unitType=' + toString(this.k1f_1) + ', measuringSystems=' + toString_0(this.l1f_1) + ', quantity=' + this.m1f_1 + ')';
3393
+ return 'MeasurementUnit(singular=' + this.p1f_1 + ', plural=' + this.q1f_1 + ', symbol=' + this.r1f_1 + ', symbolPlural=' + this.s1f_1 + ', unitType=' + toString(this.t1f_1) + ', measuringSystems=' + toString_0(this.u1f_1) + ', quantity=' + this.v1f_1 + ')';
2965
3394
  };
2966
3395
  protoOf(MeasurementUnit).hashCode = function () {
2967
- var result = getStringHashCode(this.g1f_1);
2968
- result = imul(result, 31) + getStringHashCode(this.h1f_1) | 0;
2969
- result = imul(result, 31) + getStringHashCode(this.i1f_1) | 0;
2970
- result = imul(result, 31) + getStringHashCode(this.j1f_1) | 0;
2971
- result = imul(result, 31) + (this.k1f_1 == null ? 0 : this.k1f_1.hashCode()) | 0;
2972
- result = imul(result, 31) + hashCode(this.l1f_1) | 0;
2973
- result = imul(result, 31) + getNumberHashCode(this.m1f_1) | 0;
3396
+ var result = getStringHashCode(this.p1f_1);
3397
+ result = imul(result, 31) + getStringHashCode(this.q1f_1) | 0;
3398
+ result = imul(result, 31) + getStringHashCode(this.r1f_1) | 0;
3399
+ result = imul(result, 31) + getStringHashCode(this.s1f_1) | 0;
3400
+ result = imul(result, 31) + (this.t1f_1 == null ? 0 : this.t1f_1.hashCode()) | 0;
3401
+ result = imul(result, 31) + hashCode(this.u1f_1) | 0;
3402
+ result = imul(result, 31) + getNumberHashCode(this.v1f_1) | 0;
2974
3403
  return result;
2975
3404
  };
2976
3405
  protoOf(MeasurementUnit).equals = function (other) {
@@ -2978,54 +3407,54 @@
2978
3407
  return true;
2979
3408
  if (!(other instanceof MeasurementUnit))
2980
3409
  return false;
2981
- if (!(this.g1f_1 === other.g1f_1))
3410
+ if (!(this.p1f_1 === other.p1f_1))
2982
3411
  return false;
2983
- if (!(this.h1f_1 === other.h1f_1))
3412
+ if (!(this.q1f_1 === other.q1f_1))
2984
3413
  return false;
2985
- if (!(this.i1f_1 === other.i1f_1))
3414
+ if (!(this.r1f_1 === other.r1f_1))
2986
3415
  return false;
2987
- if (!(this.j1f_1 === other.j1f_1))
3416
+ if (!(this.s1f_1 === other.s1f_1))
2988
3417
  return false;
2989
- if (!equals(this.k1f_1, other.k1f_1))
3418
+ if (!equals(this.t1f_1, other.t1f_1))
2990
3419
  return false;
2991
- if (!equals(this.l1f_1, other.l1f_1))
3420
+ if (!equals(this.u1f_1, other.u1f_1))
2992
3421
  return false;
2993
- if (!equals(this.m1f_1, other.m1f_1))
3422
+ if (!equals(this.v1f_1, other.v1f_1))
2994
3423
  return false;
2995
3424
  return true;
2996
3425
  };
2997
3426
  function Units() {
2998
3427
  Units_instance = this;
2999
- this.b1e_1 = new MeasurementUnit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), setOf(Metric_instance), 1.0);
3000
- this.c1e_1 = new MeasurementUnit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), setOf(Metric_instance), 1000.0);
3001
- this.d1e_1 = new MeasurementUnit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 28.3495);
3002
- this.e1e_1 = new MeasurementUnit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 16 * this.d1e_1.m1f_1);
3003
- this.f1e_1 = new MeasurementUnit('millilitre', 'millilitres', 'ml', 'ml', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 1.0);
3004
- this.g1e_1 = new MeasurementUnit('centilitre', 'centilitres', 'cl', 'cl', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 10.0);
3005
- this.h1e_1 = new MeasurementUnit('litre', 'litres', 'l', 'l', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 1000.0);
3006
- this.i1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 5.0);
3007
- this.j1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 15.0);
3008
- this.k1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 4.9289);
3009
- this.l1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 3 * this.k1e_1.m1f_1);
3010
- this.m1e_1 = new MeasurementUnit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), setOf(Imperial_instance), 6 * this.k1e_1.m1f_1);
3011
- this.n1e_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf(USCustomary_instance), 48 * this.k1e_1.m1f_1);
3012
- this.o1e_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 250.0);
3013
- this.p1e_1 = new MeasurementUnit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 2 * this.n1e_1.m1f_1);
3014
- this.q1e_1 = new MeasurementUnit('quart', 'quarts', 'qt', 'qts', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 2 * this.p1e_1.m1f_1);
3015
- this.r1e_1 = new MeasurementUnit('gallon', 'gallons', 'gal', 'gals', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 4 * this.q1e_1.m1f_1);
3016
- this.s1e_1 = new MeasurementUnit('millimetre', 'millimetres', 'mm', 'mm', UnitType_LENGTH_getInstance(), setOf(Metric_instance), 1.0);
3017
- this.t1e_1 = new MeasurementUnit('centimetre', 'centimetres', 'cm', 'cm', UnitType_LENGTH_getInstance(), setOf(Metric_instance), 10.0);
3018
- this.u1e_1 = new MeasurementUnit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), setOf(Imperial_instance), 25.4);
3019
- this.v1e_1 = listOf([this.b1e_1, this.c1e_1, this.d1e_1, this.e1e_1, this.f1e_1, this.g1e_1, this.h1e_1, this.i1e_1, this.j1e_1, this.k1e_1, this.l1e_1, 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]);
3428
+ this.e1e_1 = new MeasurementUnit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), setOf(Metric_instance), 1.0);
3429
+ this.f1e_1 = new MeasurementUnit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), setOf(Metric_instance), 1000.0);
3430
+ this.g1e_1 = new MeasurementUnit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 28.3495);
3431
+ this.h1e_1 = new MeasurementUnit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 16 * this.g1e_1.v1f_1);
3432
+ this.i1e_1 = new MeasurementUnit('millilitre', 'millilitres', 'ml', 'ml', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 1.0);
3433
+ this.j1e_1 = new MeasurementUnit('centilitre', 'centilitres', 'cl', 'cl', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 10.0);
3434
+ this.k1e_1 = new MeasurementUnit('litre', 'litres', 'l', 'l', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 1000.0);
3435
+ this.l1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 5.0);
3436
+ this.m1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 15.0);
3437
+ this.n1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 4.9289);
3438
+ this.o1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 3 * this.n1e_1.v1f_1);
3439
+ this.p1e_1 = new MeasurementUnit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), setOf(Imperial_instance), 6 * this.n1e_1.v1f_1);
3440
+ this.q1e_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf(USCustomary_instance), 48 * this.n1e_1.v1f_1);
3441
+ this.r1e_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 250.0);
3442
+ this.s1e_1 = new MeasurementUnit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 2 * this.q1e_1.v1f_1);
3443
+ this.t1e_1 = new MeasurementUnit('quart', 'quarts', 'qt', 'qts', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 2 * this.s1e_1.v1f_1);
3444
+ this.u1e_1 = new MeasurementUnit('gallon', 'gallons', 'gal', 'gals', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 4 * this.t1e_1.v1f_1);
3445
+ this.v1e_1 = new MeasurementUnit('millimetre', 'millimetres', 'mm', 'mm', UnitType_LENGTH_getInstance(), setOf(Metric_instance), 1.0);
3446
+ this.w1e_1 = new MeasurementUnit('centimetre', 'centimetres', 'cm', 'cm', UnitType_LENGTH_getInstance(), setOf(Metric_instance), 10.0);
3447
+ this.x1e_1 = new MeasurementUnit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), setOf(Imperial_instance), 25.4);
3448
+ this.y1e_1 = listOf([this.e1e_1, this.f1e_1, this.g1e_1, this.h1e_1, this.i1e_1, this.j1e_1, this.k1e_1, this.l1e_1, 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]);
3020
3449
  var tmp = this;
3021
3450
  // Inline function 'kotlin.collections.filter' call
3022
- var tmp0 = this.v1e_1;
3451
+ var tmp0 = this.y1e_1;
3023
3452
  // Inline function 'kotlin.collections.filterTo' call
3024
3453
  var destination = ArrayList_init_$Create$_0();
3025
3454
  var _iterator__ex2g4s = tmp0.h();
3026
3455
  while (_iterator__ex2g4s.i()) {
3027
3456
  var element = _iterator__ex2g4s.j();
3028
- if (element.l1f_1.l(Metric_instance)) {
3457
+ if (element.u1f_1.l(Metric_instance)) {
3029
3458
  destination.f(element);
3030
3459
  }
3031
3460
  }
@@ -3037,7 +3466,7 @@
3037
3466
  var _iterator__ex2g4s_0 = destination.h();
3038
3467
  while (_iterator__ex2g4s_0.i()) {
3039
3468
  var element_0 = _iterator__ex2g4s_0.j();
3040
- var tmp$ret$3 = element_0.i1f_1;
3469
+ var tmp$ret$3 = element_0.r1f_1;
3041
3470
  destination_0.a2(tmp$ret$3, element_0);
3042
3471
  }
3043
3472
  var tmp_0 = destination_0;
@@ -3048,7 +3477,7 @@
3048
3477
  var _iterator__ex2g4s_1 = destination.h();
3049
3478
  while (_iterator__ex2g4s_1.i()) {
3050
3479
  var element_1 = _iterator__ex2g4s_1.j();
3051
- var tmp$ret$6 = element_1.j1f_1;
3480
+ var tmp$ret$6 = element_1.s1f_1;
3052
3481
  destination_1.a2(tmp$ret$6, element_1);
3053
3482
  }
3054
3483
  var tmp_1 = plus(tmp_0, destination_1);
@@ -3059,7 +3488,7 @@
3059
3488
  var _iterator__ex2g4s_2 = destination.h();
3060
3489
  while (_iterator__ex2g4s_2.i()) {
3061
3490
  var element_2 = _iterator__ex2g4s_2.j();
3062
- var tmp$ret$9 = element_2.g1f_1;
3491
+ var tmp$ret$9 = element_2.p1f_1;
3063
3492
  destination_2.a2(tmp$ret$9, element_2);
3064
3493
  }
3065
3494
  var tmp_2 = plus(tmp_1, destination_2);
@@ -3070,19 +3499,19 @@
3070
3499
  var _iterator__ex2g4s_3 = destination.h();
3071
3500
  while (_iterator__ex2g4s_3.i()) {
3072
3501
  var element_3 = _iterator__ex2g4s_3.j();
3073
- var tmp$ret$12 = element_3.h1f_1;
3502
+ var tmp$ret$12 = element_3.q1f_1;
3074
3503
  destination_3.a2(tmp$ret$12, element_3);
3075
3504
  }
3076
- tmp.w1e_1 = plus(tmp_2, destination_3);
3505
+ tmp.z1e_1 = plus(tmp_2, destination_3);
3077
3506
  var tmp_3 = this;
3078
3507
  // Inline function 'kotlin.collections.filter' call
3079
- var tmp0_0 = this.v1e_1;
3508
+ var tmp0_0 = this.y1e_1;
3080
3509
  // Inline function 'kotlin.collections.filterTo' call
3081
3510
  var destination_4 = ArrayList_init_$Create$_0();
3082
3511
  var _iterator__ex2g4s_4 = tmp0_0.h();
3083
3512
  while (_iterator__ex2g4s_4.i()) {
3084
3513
  var element_4 = _iterator__ex2g4s_4.j();
3085
- if (element_4.l1f_1.l(Imperial_instance)) {
3514
+ if (element_4.u1f_1.l(Imperial_instance)) {
3086
3515
  destination_4.f(element_4);
3087
3516
  }
3088
3517
  }
@@ -3094,7 +3523,7 @@
3094
3523
  var _iterator__ex2g4s_5 = destination_4.h();
3095
3524
  while (_iterator__ex2g4s_5.i()) {
3096
3525
  var element_5 = _iterator__ex2g4s_5.j();
3097
- var tmp$ret$20 = element_5.i1f_1;
3526
+ var tmp$ret$20 = element_5.r1f_1;
3098
3527
  destination_5.a2(tmp$ret$20, element_5);
3099
3528
  }
3100
3529
  var tmp_4 = destination_5;
@@ -3105,7 +3534,7 @@
3105
3534
  var _iterator__ex2g4s_6 = destination_4.h();
3106
3535
  while (_iterator__ex2g4s_6.i()) {
3107
3536
  var element_6 = _iterator__ex2g4s_6.j();
3108
- var tmp$ret$23 = element_6.j1f_1;
3537
+ var tmp$ret$23 = element_6.s1f_1;
3109
3538
  destination_6.a2(tmp$ret$23, element_6);
3110
3539
  }
3111
3540
  var tmp_5 = plus(tmp_4, destination_6);
@@ -3116,7 +3545,7 @@
3116
3545
  var _iterator__ex2g4s_7 = destination_4.h();
3117
3546
  while (_iterator__ex2g4s_7.i()) {
3118
3547
  var element_7 = _iterator__ex2g4s_7.j();
3119
- var tmp$ret$26 = element_7.g1f_1;
3548
+ var tmp$ret$26 = element_7.p1f_1;
3120
3549
  destination_7.a2(tmp$ret$26, element_7);
3121
3550
  }
3122
3551
  var tmp_6 = plus(tmp_5, destination_7);
@@ -3127,19 +3556,19 @@
3127
3556
  var _iterator__ex2g4s_8 = destination_4.h();
3128
3557
  while (_iterator__ex2g4s_8.i()) {
3129
3558
  var element_8 = _iterator__ex2g4s_8.j();
3130
- var tmp$ret$29 = element_8.h1f_1;
3559
+ var tmp$ret$29 = element_8.q1f_1;
3131
3560
  destination_8.a2(tmp$ret$29, element_8);
3132
3561
  }
3133
- tmp_3.x1e_1 = plus(tmp_6, destination_8);
3562
+ tmp_3.a1f_1 = plus(tmp_6, destination_8);
3134
3563
  var tmp_7 = this;
3135
3564
  // Inline function 'kotlin.collections.filter' call
3136
- var tmp0_1 = this.v1e_1;
3565
+ var tmp0_1 = this.y1e_1;
3137
3566
  // Inline function 'kotlin.collections.filterTo' call
3138
3567
  var destination_9 = ArrayList_init_$Create$_0();
3139
3568
  var _iterator__ex2g4s_9 = tmp0_1.h();
3140
3569
  while (_iterator__ex2g4s_9.i()) {
3141
3570
  var element_9 = _iterator__ex2g4s_9.j();
3142
- if (element_9.l1f_1.l(USCustomary_instance)) {
3571
+ if (element_9.u1f_1.l(USCustomary_instance)) {
3143
3572
  destination_9.f(element_9);
3144
3573
  }
3145
3574
  }
@@ -3151,7 +3580,7 @@
3151
3580
  var _iterator__ex2g4s_10 = destination_9.h();
3152
3581
  while (_iterator__ex2g4s_10.i()) {
3153
3582
  var element_10 = _iterator__ex2g4s_10.j();
3154
- var tmp$ret$37 = element_10.i1f_1;
3583
+ var tmp$ret$37 = element_10.r1f_1;
3155
3584
  destination_10.a2(tmp$ret$37, element_10);
3156
3585
  }
3157
3586
  var tmp_8 = destination_10;
@@ -3162,7 +3591,7 @@
3162
3591
  var _iterator__ex2g4s_11 = destination_9.h();
3163
3592
  while (_iterator__ex2g4s_11.i()) {
3164
3593
  var element_11 = _iterator__ex2g4s_11.j();
3165
- var tmp$ret$40 = element_11.j1f_1;
3594
+ var tmp$ret$40 = element_11.s1f_1;
3166
3595
  destination_11.a2(tmp$ret$40, element_11);
3167
3596
  }
3168
3597
  var tmp_9 = plus(tmp_8, destination_11);
@@ -3173,7 +3602,7 @@
3173
3602
  var _iterator__ex2g4s_12 = destination_9.h();
3174
3603
  while (_iterator__ex2g4s_12.i()) {
3175
3604
  var element_12 = _iterator__ex2g4s_12.j();
3176
- var tmp$ret$43 = element_12.g1f_1;
3605
+ var tmp$ret$43 = element_12.p1f_1;
3177
3606
  destination_12.a2(tmp$ret$43, element_12);
3178
3607
  }
3179
3608
  var tmp_10 = plus(tmp_9, destination_12);
@@ -3184,15 +3613,15 @@
3184
3613
  var _iterator__ex2g4s_13 = destination_9.h();
3185
3614
  while (_iterator__ex2g4s_13.i()) {
3186
3615
  var element_13 = _iterator__ex2g4s_13.j();
3187
- var tmp$ret$46 = element_13.h1f_1;
3616
+ var tmp$ret$46 = element_13.q1f_1;
3188
3617
  destination_13.a2(tmp$ret$46, element_13);
3189
3618
  }
3190
- tmp_7.y1e_1 = plus(tmp_10, destination_13);
3619
+ tmp_7.b1f_1 = plus(tmp_10, destination_13);
3191
3620
  }
3192
- protoOf(Units).z1e = function (name) {
3193
- var tmp0_elvis_lhs = this.w1e_1.w1(name);
3194
- var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.x1e_1.w1(name) : tmp0_elvis_lhs;
3195
- var unit = tmp1_elvis_lhs == null ? this.y1e_1.w1(name) : tmp1_elvis_lhs;
3621
+ protoOf(Units).c1f = function (name) {
3622
+ var tmp0_elvis_lhs = this.z1e_1.w1(name);
3623
+ var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.a1f_1.w1(name) : tmp0_elvis_lhs;
3624
+ var unit = tmp1_elvis_lhs == null ? this.b1f_1.w1(name) : tmp1_elvis_lhs;
3196
3625
  if (!(unit == null)) {
3197
3626
  return unit;
3198
3627
  } else {
@@ -3221,34 +3650,36 @@
3221
3650
  }
3222
3651
  function UnitConversions() {
3223
3652
  UnitConversions_instance = this;
3224
- this.a1f_1 = setOf_0([Units_getInstance().i1e_1, Units_getInstance().j1e_1, Units_getInstance().o1e_1]);
3225
- this.b1f_1 = listOf([to(0.0, Units_getInstance().b1e_1), to(1000.0, Units_getInstance().c1e_1), to(0.0, Units_getInstance().f1e_1), to(2.5, Units_getInstance().i1e_1), to(15.0, Units_getInstance().j1e_1), to(125.0, Units_getInstance().o1e_1), to(1000.0, Units_getInstance().h1e_1), to(0.0, Units_getInstance().s1e_1), to(10.0, Units_getInstance().t1e_1)]);
3226
- this.c1f_1 = listOf([to(0.0, Units_getInstance().b1e_1), to(1000.0, Units_getInstance().c1e_1), to(0.0, Units_getInstance().f1e_1), to(1000.0, Units_getInstance().h1e_1), to(0.0, Units_getInstance().s1e_1), to(10.0, Units_getInstance().t1e_1)]);
3227
- this.d1f_1 = listOf([to(0.0, Units_getInstance().d1e_1), to(16.0 * Units_getInstance().d1e_1.m1f_1, Units_getInstance().e1e_1), to(0.0, Units_getInstance().k1e_1), to(3.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().l1e_1), to(12.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().n1e_1), to(192 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().q1e_1), to(768.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().r1e_1), to(0.0, Units_getInstance().u1e_1)]);
3228
- this.e1f_1 = listOf([to(0.0, Units_getInstance().d1e_1), to(16.0 * Units_getInstance().d1e_1.m1f_1, Units_getInstance().e1e_1), to(0.0, Units_getInstance().k1e_1), to(3.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().l1e_1), to(6.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().m1e_1), to(768.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().r1e_1), to(0.0, Units_getInstance().u1e_1)]);
3229
- }
3230
- protoOf(UnitConversions).p1j = function (amount) {
3653
+ this.h1f_1 = 0.00422675;
3654
+ this.i1f_1 = 0.202884;
3655
+ this.j1f_1 = setOf_0([Units_getInstance().l1e_1, Units_getInstance().m1e_1, Units_getInstance().r1e_1]);
3656
+ this.k1f_1 = listOf([to(0.0, Units_getInstance().e1e_1), to(1000.0, Units_getInstance().f1e_1), to(0.0, Units_getInstance().i1e_1), to(2.5, Units_getInstance().l1e_1), to(15.0, Units_getInstance().m1e_1), to(125.0, Units_getInstance().r1e_1), to(1000.0, Units_getInstance().k1e_1), to(0.0, Units_getInstance().v1e_1), to(10.0, Units_getInstance().w1e_1)]);
3657
+ this.l1f_1 = listOf([to(0.0, Units_getInstance().e1e_1), to(1000.0, Units_getInstance().f1e_1), to(0.0, Units_getInstance().i1e_1), to(1000.0, Units_getInstance().k1e_1), to(0.0, Units_getInstance().v1e_1), to(10.0, Units_getInstance().w1e_1)]);
3658
+ this.m1f_1 = listOf([to(0.0, Units_getInstance().g1e_1), to(16.0 * Units_getInstance().g1e_1.v1f_1, Units_getInstance().h1e_1), to(0.0, Units_getInstance().n1e_1), to(3.0 * Units_getInstance().n1e_1.v1f_1, Units_getInstance().o1e_1), to(12.0 * Units_getInstance().n1e_1.v1f_1, Units_getInstance().q1e_1), to(192 * Units_getInstance().n1e_1.v1f_1, Units_getInstance().t1e_1), to(768.0 * Units_getInstance().n1e_1.v1f_1, Units_getInstance().u1e_1), to(0.0, Units_getInstance().x1e_1)]);
3659
+ this.n1f_1 = listOf([to(0.0, Units_getInstance().g1e_1), to(16.0 * Units_getInstance().g1e_1.v1f_1, Units_getInstance().h1e_1), to(0.0, Units_getInstance().n1e_1), to(3.0 * Units_getInstance().n1e_1.v1f_1, Units_getInstance().o1e_1), to(6.0 * Units_getInstance().n1e_1.v1f_1, Units_getInstance().p1e_1), to(768.0 * Units_getInstance().n1e_1.v1f_1, Units_getInstance().u1e_1), to(0.0, Units_getInstance().x1e_1)]);
3660
+ }
3661
+ protoOf(UnitConversions).m1k = function (amount) {
3231
3662
  var tmp;
3232
3663
  if (!(amount.t1d_1 == null)) {
3233
- var tmp_0 = amount.r1d_1 * amount.t1d_1.m1f_1;
3664
+ var tmp_0 = amount.r1d_1 * amount.t1d_1.v1f_1;
3234
3665
  var tmp0_safe_receiver = amount.s1d_1;
3235
3666
  var tmp_1;
3236
3667
  if (tmp0_safe_receiver == null) {
3237
3668
  tmp_1 = null;
3238
3669
  } else {
3239
3670
  // Inline function 'kotlin.let' call
3240
- tmp_1 = tmp0_safe_receiver * amount.t1d_1.m1f_1;
3671
+ tmp_1 = tmp0_safe_receiver * amount.t1d_1.v1f_1;
3241
3672
  }
3242
3673
  var tmp_2 = tmp_1;
3243
- var tmp1_subject = amount.t1d_1.k1f_1;
3674
+ var tmp1_subject = amount.t1d_1.t1f_1;
3244
3675
  var tmp0 = tmp1_subject == null ? -1 : tmp1_subject.e2_1;
3245
- tmp = amount.w1d(tmp_0, tmp_2, tmp0 === 2 ? Units_getInstance().s1e_1 : tmp0 === 1 ? Units_getInstance().f1e_1 : tmp0 === 0 ? Units_getInstance().b1e_1 : amount.t1d_1);
3676
+ tmp = amount.w1d(tmp_0, tmp_2, tmp0 === 2 ? Units_getInstance().v1e_1 : tmp0 === 1 ? Units_getInstance().i1e_1 : tmp0 === 0 ? Units_getInstance().e1e_1 : amount.t1d_1);
3246
3677
  } else {
3247
3678
  tmp = amount;
3248
3679
  }
3249
3680
  return tmp;
3250
3681
  };
3251
- protoOf(UnitConversions).f1f = function (amount, target, factor) {
3682
+ protoOf(UnitConversions).o1f = function (amount, target, factor, density) {
3252
3683
  var tmp = amount.r1d_1 * factor;
3253
3684
  var tmp0_safe_receiver = amount.s1d_1;
3254
3685
  var tmp_0;
@@ -3262,62 +3693,85 @@
3262
3693
  if (scaledAmount.t1d_1 == null || (equals(target, Metric_instance) && factor === 1.0)) {
3263
3694
  return scaledAmount;
3264
3695
  }
3265
- var smallestUnitAmount = this.p1j(scaledAmount);
3696
+ var smallestUnitAmount = this.m1k(scaledAmount);
3266
3697
  var tmp_1;
3267
3698
  if (equals(target, Metric_instance)) {
3268
- tmp_1 = contains(this.a1f_1, amount.t1d_1) ? this.b1f_1 : this.c1f_1;
3699
+ tmp_1 = contains(this.j1f_1, amount.t1d_1) ? this.k1f_1 : this.l1f_1;
3269
3700
  } else if (equals(target, USCustomary_instance)) {
3270
- tmp_1 = amount.u1d_1 === true ? this.d1f_1 : this.e1f_1;
3701
+ tmp_1 = amount.u1d_1 === true ? this.m1f_1 : this.n1f_1;
3271
3702
  } else if (equals(target, Imperial_instance)) {
3272
- tmp_1 = this.e1f_1;
3703
+ tmp_1 = this.n1f_1;
3273
3704
  } else {
3274
3705
  noWhenBranchMatchedException();
3275
3706
  }
3276
3707
  var ladder = tmp_1;
3708
+ var tmp_2;
3709
+ var tmp_3;
3710
+ if (amount.u1d_1 === true && !(density == null)) {
3711
+ var tmp3_safe_receiver = amount.t1d_1;
3712
+ tmp_3 = equals(tmp3_safe_receiver == null ? null : tmp3_safe_receiver.t1f_1, UnitType_WEIGHT_getInstance());
3713
+ } else {
3714
+ tmp_3 = false;
3715
+ }
3716
+ if (tmp_3) {
3717
+ var tmp_4 = smallestUnitAmount.r1d_1 / density;
3718
+ var tmp2_safe_receiver = smallestUnitAmount.s1d_1;
3719
+ var tmp_5;
3720
+ if (tmp2_safe_receiver == null) {
3721
+ tmp_5 = null;
3722
+ } else {
3723
+ // Inline function 'kotlin.let' call
3724
+ tmp_5 = tmp2_safe_receiver / density;
3725
+ }
3726
+ tmp_2 = new Amount(tmp_4, tmp_5, Units_getInstance().i1e_1);
3727
+ } else {
3728
+ tmp_2 = smallestUnitAmount;
3729
+ }
3730
+ var amountToConvert = tmp_2;
3277
3731
  // Inline function 'kotlin.collections.filter' call
3278
3732
  // Inline function 'kotlin.collections.filterTo' call
3279
3733
  var destination = ArrayList_init_$Create$_0();
3280
3734
  var _iterator__ex2g4s = ladder.h();
3281
3735
  while (_iterator__ex2g4s.i()) {
3282
3736
  var element = _iterator__ex2g4s.j();
3283
- var tmp0_safe_receiver_0 = amount.t1d_1;
3284
- if (equals(element.id_1.k1f_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.k1f_1)) {
3737
+ var tmp0_safe_receiver_0 = amountToConvert.t1d_1;
3738
+ if (equals(element.id_1.t1f_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.t1f_1)) {
3285
3739
  destination.f(element);
3286
3740
  }
3287
3741
  }
3288
- var tmp$ret$6;
3742
+ var tmp$ret$8;
3289
3743
  $l$block: {
3290
3744
  // Inline function 'kotlin.collections.lastOrNull' call
3291
3745
  var iterator = destination.q1(destination.k());
3292
3746
  while (iterator.n3()) {
3293
3747
  var element_0 = iterator.p3();
3294
- if (smallestUnitAmount.r1d_1 >= element_0.hd_1) {
3295
- tmp$ret$6 = element_0;
3748
+ if (amountToConvert.r1d_1 >= element_0.hd_1) {
3749
+ tmp$ret$8 = element_0;
3296
3750
  break $l$block;
3297
3751
  }
3298
3752
  }
3299
- tmp$ret$6 = null;
3753
+ tmp$ret$8 = null;
3300
3754
  }
3301
- var tmp2_safe_receiver = tmp$ret$6;
3302
- var mostRelevantUnit = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.id_1;
3303
- var tmp_2;
3755
+ var tmp4_safe_receiver = tmp$ret$8;
3756
+ var mostRelevantUnit = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.id_1;
3757
+ var tmp_6;
3304
3758
  if (mostRelevantUnit == null) {
3305
- tmp_2 = null;
3759
+ tmp_6 = null;
3306
3760
  } else {
3307
3761
  // Inline function 'kotlin.let' call
3308
- var tmp_3 = smallestUnitAmount.r1d_1 / mostRelevantUnit.m1f_1;
3309
- var tmp0_safe_receiver_1 = smallestUnitAmount.s1d_1;
3310
- var tmp_4;
3762
+ var tmp_7 = amountToConvert.r1d_1 / mostRelevantUnit.v1f_1;
3763
+ var tmp0_safe_receiver_1 = amountToConvert.s1d_1;
3764
+ var tmp_8;
3311
3765
  if (tmp0_safe_receiver_1 == null) {
3312
- tmp_4 = null;
3766
+ tmp_8 = null;
3313
3767
  } else {
3314
3768
  // Inline function 'kotlin.let' call
3315
- tmp_4 = tmp0_safe_receiver_1 / mostRelevantUnit.m1f_1;
3769
+ tmp_8 = tmp0_safe_receiver_1 / mostRelevantUnit.v1f_1;
3316
3770
  }
3317
- tmp_2 = new Amount(tmp_3, tmp_4, mostRelevantUnit);
3771
+ tmp_6 = new Amount(tmp_7, tmp_8, mostRelevantUnit);
3318
3772
  }
3319
- var tmp4_elvis_lhs = tmp_2;
3320
- return tmp4_elvis_lhs == null ? smallestUnitAmount : tmp4_elvis_lhs;
3773
+ var tmp6_elvis_lhs = tmp_6;
3774
+ return tmp6_elvis_lhs == null ? amountToConvert : tmp6_elvis_lhs;
3321
3775
  };
3322
3776
  var UnitConversions_instance;
3323
3777
  function UnitConversions_getInstance() {
@@ -3330,7 +3784,7 @@
3330
3784
  return tolerantJson_0;
3331
3785
  }
3332
3786
  var tolerantJson_0;
3333
- function scaleRecipe(recipe, factor, unit) {
3787
+ function scaleRecipe(recipe, factor, unit, session) {
3334
3788
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
3335
3789
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
3336
3790
  var this_0 = get_tolerantJson_0();
@@ -3352,7 +3806,7 @@
3352
3806
  throw IllegalArgumentException_init_$Create$('Unknown unit: ' + unit);
3353
3807
  }
3354
3808
  var measuringSystem = tmp;
3355
- var scaledRecipe = scaleAndConvertUnitRecipe(parsedRecipe, factor, measuringSystem);
3809
+ var scaledRecipe = session.scaleAndConvertUnitRecipe(parsedRecipe, factor, measuringSystem);
3356
3810
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
3357
3811
  var this_3 = Default_getInstance();
3358
3812
  // Inline function 'kotlinx.serialization.serializer' call
@@ -3365,12 +3819,20 @@
3365
3819
  function parseTemplate_0(templateString) {
3366
3820
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
3367
3821
  var parsedTemplate = parseTemplate(templateString);
3368
- return parsedTemplate.n1f_1;
3822
+ return parsedTemplate.y1f_1;
3369
3823
  }
3370
- function renderTemplate_0(templateElements) {
3824
+ function renderTemplate(templateElements, session) {
3371
3825
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
3372
3826
  var template = new ParsedTemplate(templateElements);
3373
- return renderTemplate(template, 1.0, Metric_instance);
3827
+ return session.x1f(template, 1.0, Metric_instance);
3828
+ }
3829
+ function createTemplateSession() {
3830
+ _init_properties_ScaleRecipeJsContract_kt__evtan5();
3831
+ // Inline function 'kotlin.getOrThrow' call
3832
+ var this_0 = newTemplateSession();
3833
+ throwOnFailure(this_0);
3834
+ var tmp = _Result___get_value__impl__bjfvqg(this_0);
3835
+ return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
3374
3836
  }
3375
3837
  function tolerantJson$lambda_0($this$Json) {
3376
3838
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
@@ -3396,35 +3858,44 @@
3396
3858
  protoOf($serializer_7).kt = typeParametersSerializers;
3397
3859
  protoOf($serializer_8).kt = typeParametersSerializers;
3398
3860
  protoOf($serializer_9).kt = typeParametersSerializers;
3861
+ protoOf($serializer_10).kt = typeParametersSerializers;
3862
+ protoOf($serializer_11).kt = typeParametersSerializers;
3399
3863
  //endregion
3400
3864
  //region block: init
3401
- Companion_instance_1 = new Companion_1();
3402
- Companion_instance_2 = new Companion_2();
3403
- Companion_instance_4 = new Companion_4();
3404
- Companion_instance_5 = new Companion_5();
3405
- Companion_instance_6 = new Companion_6();
3865
+ Companion_instance_1 = new Companion_0();
3866
+ internalDensityData = '{"prepared_at":"2026-01-26T17:32:21.461198","key":["id","name","normalised_name","density"],"values":[[982,"Almonds (ground)","ground almond",0.83],[983,"Almonds (whole)","almond",0.71],[984,"Basil (whole, inc stalk)","basil",3.33],[985,"Basil (whole leaves)","basil",6.67],[986,"Basil (chopped)","chopped basil",2.5],[987,"Breadcrumbs (dried)","dried breadcrumb",1.18],[988,"Breadcrumbs (fresh)","fresh breadcrumb",1.67],[989,"Buckwheat flour","buckwheat flour",0.74],[990,"Bulgur wheat","bulgur wheat",0.5],[991,"Butter (cubed)","diced butter",0.67],[992,"Butter (softened or melted)","butter",0.44],[993,"Cashews (whole)","cashew",0.74],[994,"Cheese (cheddar, grated)","grated cheddar",1.0],[995,"Cheese (feta, broken into chunks)","diced feta",0.67],[996,"Cheese (mozzarella, grated)","grated mozzarella",0.8],[997,"Cheese (parmesan, grated)","grated parmesan",1.18],[998,"Cherry tomatoes (whole)","cherry tomato",0.67],[999,"Chickpea (gram) flour","gram flour",0.8],[1000,"Chives (chopped)","chopped chive",2.5],[1001,"Chives (whole)","chive",3.33],[1002,"Chocolate (broken into chunks)","diced chocolate",0.63],[1003,"Chocolate chips","chocolate chip",0.57],[1004,"Cocoa powder (Dutch-processed)","cocoa powder",1.05],[1005,"Coconut (desiccated)","desiccated coconut",1.33],[1006,"Coconut chips","coconut chip",2.0],[1007,"Coconut milk","coconut milk",0.44],[1008,"Coriander (chopped)","chopped coriander",2.5],[1009,"Coriander (whole, inc stalk)","coriander",3.33],[1010,"Coriander (whole leaves)","coriander",6.67],[1011,"Corn kernels (defrosted/canned)","sweetcorn kernel",0.57],[1012,"Cornmeal (fine)","fine cornmeal",0.67],[1013,"Cornstarch","cornflour",0.77],[1014,"Couscous","couscous",0.61],[1015,"Cream (clotted)","clotted cream",0.44],[1016,"Cream (double)","double cream",0.42],[1017,"Cream (single)","single cream",0.42],[1018,"Cream cheese","cream cheese",0.42],[1019,"Creme fraiche","sour cream",0.42],[1020,"Currants","currant",0.67],[1021,"Dill (chopped)","chopped dill",3.33],[1022,"Dill (whole leaves)","dill",6.67],[1023,"Dill (whole, inc stalk)","dill",5.0],[1024,"Flour (all-purpose/plain)","plain flour",0.8],[1025,"Flour (00 pizza)","00 flour",0.69],[1026,"Flour (rye)","rye flour",0.77],[1027,"Flour (spelt)","spelt flour",0.77],[1028,"Flour (strong white bread)","strong white bread flour",0.8],[1029,"Ghee (melted or softened)","ghee",0.45],[1030,"Ginger (fresh, sliced)","sliced ginger",0.91],[1031,"Hazelnuts","hazelnut",0.67],[1032,"Honey","honey",0.3],[1033,"Lemon juice","lemon juice",0.42],[1034,"Maple syrup","maple syrup",0.32],[1035,"Mascarpone","mascarpone",0.44],[1036,"Milk","milk",0.42],[1037,"Mint (whole, inc stalk)","mint",4.0],[1038,"Mint (chopped)","chopped mint",3.33],[1039,"Mint (whole leaves)","mint",6.67],[1040,"Mushrooms (chopped)","chopped mushroom",1.18],[1041,"Mushrooms (sliced)","sliced mushroom",1.33],[1042,"Mushrooms (whole)","mushroom",1.0],[1043,"Oil (sunflower and vegetable)","vegetable oil",0.47],[1044,"Olive oil","olive oil",0.47],[1045,"Olives (whole, pitted)","pitted olive",0.69],[1046,"Olives (whole)","olive",0.57],[1047,"Onions (sliced)","sliced onion",0.91],[1048,"Onions (chopped)","chopped onion",0.69],[1049,"Panko breadcrumbs","panko breadcrumb",1.18],[1050,"Parsley (whole, inc stalk)","parsley",3.33],[1051,"Parsley (chopped)","chopped parsley",2.5],[1052,"Parsley (whole leaves)","parsley",6.67],[1053,"Peanut butter","peanut butter",0.4],[1054,"Peanuts (shelled)","peanut",0.67],[1055,"Pine nuts","pine nut",0.67],[1056,"Pistachios (shelled)","pistachio",0.71],[1057,"Polenta","polenta",0.57],[1058,"Quinoa","quinoa",0.57],[1059,"Raisins","raisin",0.69],[1060,"Raspberries","raspberry",0.71],[1061,"Rhubarb (chopped into chunks)","chopped rhubarb",0.71],[1062,"Rice (long-grain, uncooked)","long grain rice",0.51],[1063,"Rice (bomba paella, uncooked)","bomba rice",0.5],[1064,"Rice (short-grain, uncooked)","short grain rice",0.5],[1065,"Rolled oats","rolled oat",1.05],[1066,"Sage (whole, inc stalk)","sage",3.33],[1067,"Sage (whole leaves)","sage",5.0],[1068,"Sage (chopped)","chopped sage",4.0],[1069,"Salt (flaky sea salt)","salt",0.71],[1070,"Salt (fine sea salt)","salt",0.36],[1071,"Scallions (spring onions, sliced/chopped)","sliced spring onion",1.11],[1072,"Sesame seeds","sesame seed",0.67],[1073,"Soured cream","sour cream",0.42],[1074,"Strawberries (whole, hulled)","strawberry",0.71],[1075,"Sugar (brown)","brown sugar",0.57],[1076,"Sugar (confectioner\'s/icing)","icing sugar",0.74],[1077,"Sugar (demerara)","demerara sugar",0.5],[1078,"Sugar (granulated)","granulated sugar",0.48],[1079,"Sugar (superfine/caster)","caster sugar",0.54],[1080,"Sultanas","sultana",0.59],[1081,"Sunflower seeds","sunflower seed",0.67],[1082,"Tahini","tahini",0.42],[1083,"Tapioca","tapioca",0.57],[1084,"Thyme (chopped)","chopped thyme",2.5],[1085,"Thyme (whole leaves)","thyme",3.33],[1086,"Thyme (whole, inc stalk)","thyme",6.67],[1087,"Tomato paste","tomato paste",0.38],[1088,"Vanilla extract","vanilla extract",0.42],[1089,"Walnuts (pieces)","walnut piece",1.0],[1090,"Yeast (active, dried)","dried yeast",0.57],[1091,"Yoghurt","yoghurt",0.42]]}';
3867
+ Companion_instance_4 = new Companion_3();
3868
+ Companion_instance_5 = new Companion_4();
3869
+ Companion_instance_7 = new Companion_6();
3870
+ Companion_instance_8 = new Companion_7();
3871
+ Companion_instance_9 = new Companion_8();
3406
3872
  Imperial_instance = new Imperial();
3407
3873
  Metric_instance = new Metric();
3408
3874
  USCustomary_instance = new USCustomary();
3409
3875
  //endregion
3410
3876
  //region block: exports
3411
3877
  function $jsExportAll$(_) {
3878
+ var $com = _.com || (_.com = {});
3879
+ var $com$gu = $com.gu || ($com.gu = {});
3880
+ var $com$gu$recipe = $com$gu.recipe || ($com$gu.recipe = {});
3881
+ $com$gu$recipe.TemplateSession = TemplateSession;
3412
3882
  var $com = _.com || (_.com = {});
3413
3883
  var $com$gu = $com.gu || ($com.gu = {});
3414
3884
  var $com$gu$recipe = $com$gu.recipe || ($com$gu.recipe = {});
3415
3885
  var $com$gu$recipe$template = $com$gu$recipe.template || ($com$gu$recipe.template = {});
3416
3886
  $com$gu$recipe$template.TemplateConst = TemplateConst;
3417
3887
  $com$gu$recipe$template.QuantityPlaceholder = QuantityPlaceholder;
3418
- defineProp($com$gu$recipe$template.QuantityPlaceholder, 'Companion', Companion_getInstance_5, VOID, true);
3888
+ defineProp($com$gu$recipe$template.QuantityPlaceholder, 'Companion', Companion_getInstance_7, VOID, true);
3419
3889
  $com$gu$recipe$template.OvenTemperaturePlaceholder = OvenTemperaturePlaceholder;
3420
- defineProp($com$gu$recipe$template.OvenTemperaturePlaceholder, 'Companion', Companion_getInstance_6, VOID, true);
3890
+ defineProp($com$gu$recipe$template.OvenTemperaturePlaceholder, 'Companion', Companion_getInstance_8, VOID, true);
3421
3891
  var $com = _.com || (_.com = {});
3422
3892
  var $com$gu = $com.gu || ($com.gu = {});
3423
3893
  var $com$gu$recipe = $com$gu.recipe || ($com$gu.recipe = {});
3424
3894
  var $com$gu$recipe$js = $com$gu$recipe.js || ($com$gu$recipe.js = {});
3425
3895
  $com$gu$recipe$js.scaleRecipe = scaleRecipe;
3426
3896
  $com$gu$recipe$js.parseTemplate = parseTemplate_0;
3427
- $com$gu$recipe$js.renderTemplate = renderTemplate_0;
3897
+ $com$gu$recipe$js.renderTemplate = renderTemplate;
3898
+ $com$gu$recipe$js.createTemplateSession = createTemplateSession;
3428
3899
  }
3429
3900
  $jsExportAll$(_);
3430
3901
  kotlin_kotlin.$jsExportAll$(_);