@guardian/feast-multiplatform-library 6.0.1 → 7.1.1

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,31 +3,31 @@
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
5
  var VOID = kotlin_kotlin.$_$.b;
6
- var protoOf = kotlin_kotlin.$_$.s7;
6
+ var protoOf = kotlin_kotlin.$_$.r7;
7
7
  var toString = kotlin_kotlin.$_$.qa;
8
- var getNumberHashCode = kotlin_kotlin.$_$.s6;
9
- var equals = kotlin_kotlin.$_$.q6;
10
- var initMetadataForClass = kotlin_kotlin.$_$.w6;
11
- var numberToInt = kotlin_kotlin.$_$.q7;
8
+ var getNumberHashCode = kotlin_kotlin.$_$.r6;
9
+ var getBooleanHashCode = kotlin_kotlin.$_$.q6;
10
+ var equals = kotlin_kotlin.$_$.p6;
11
+ var initMetadataForClass = kotlin_kotlin.$_$.v6;
12
+ var Regex_init_$Create$ = kotlin_kotlin.$_$.r;
13
+ var numberToInt = kotlin_kotlin.$_$.p7;
12
14
  var Unit_instance = kotlin_kotlin.$_$.k3;
13
- var round = kotlin_kotlin.$_$.v7;
14
- var initMetadataForObject = kotlin_kotlin.$_$.b7;
15
+ var round = kotlin_kotlin.$_$.u7;
16
+ var replace = kotlin_kotlin.$_$.o8;
17
+ var initMetadataForObject = kotlin_kotlin.$_$.a7;
15
18
  var listOfNotNull = kotlin_kotlin.$_$.y4;
16
19
  var joinToString = kotlin_kotlin.$_$.t4;
17
20
  var noWhenBranchMatchedException = kotlin_kotlin.$_$.oa;
18
21
  var collectionSizeOrDefault = kotlin_kotlin.$_$.a4;
19
22
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
20
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.b1;
21
- var charArrayOf = kotlin_kotlin.$_$.j6;
22
- var indexOfAny = kotlin_kotlin.$_$.k8;
23
- var substring = kotlin_kotlin.$_$.v8;
24
- var substring_0 = kotlin_kotlin.$_$.u8;
23
+ var substring = kotlin_kotlin.$_$.u8;
24
+ var substringBefore = kotlin_kotlin.$_$.s8;
25
25
  var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
26
26
  var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
27
27
  var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
28
28
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.c;
29
29
  var lazy = kotlin_kotlin.$_$.ma;
30
- var initMetadataForCompanion = kotlin_kotlin.$_$.x6;
30
+ var initMetadataForCompanion = kotlin_kotlin.$_$.w6;
31
31
  var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
32
32
  var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
33
33
  var THROW_CCE = kotlin_kotlin.$_$.u9;
@@ -35,38 +35,36 @@
35
35
  var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
36
36
  var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
37
37
  var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
38
- var objectCreate = kotlin_kotlin.$_$.r7;
39
- var getStringHashCode = kotlin_kotlin.$_$.u6;
40
- var hashCode = kotlin_kotlin.$_$.v6;
41
- var getBooleanHashCode = kotlin_kotlin.$_$.r6;
38
+ var objectCreate = kotlin_kotlin.$_$.q7;
39
+ var getStringHashCode = kotlin_kotlin.$_$.t6;
40
+ var hashCode = kotlin_kotlin.$_$.u6;
42
41
  var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
43
- var toString_0 = kotlin_kotlin.$_$.u7;
44
- var Regex_init_$Create$ = kotlin_kotlin.$_$.r;
42
+ var toString_0 = kotlin_kotlin.$_$.t7;
45
43
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
46
- var charSequenceLength = kotlin_kotlin.$_$.n6;
44
+ var substring_0 = kotlin_kotlin.$_$.v8;
45
+ var charSequenceLength = kotlin_kotlin.$_$.m6;
47
46
  var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
48
47
  var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
49
- var getKClass = kotlin_kotlin.$_$.e8;
48
+ var getKClass = kotlin_kotlin.$_$.d8;
50
49
  var arrayOf = kotlin_kotlin.$_$.fa;
51
- var createKType = kotlin_kotlin.$_$.c8;
50
+ var createKType = kotlin_kotlin.$_$.b8;
52
51
  var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
53
52
  var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
54
- var isInterface = kotlin_kotlin.$_$.j7;
53
+ var isInterface = kotlin_kotlin.$_$.i7;
55
54
  var print = kotlin_kotlin.$_$.q5;
56
55
  var Exception = kotlin_kotlin.$_$.p9;
57
- var isBlank = kotlin_kotlin.$_$.n8;
56
+ var isBlank = kotlin_kotlin.$_$.l8;
58
57
  var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
59
- var initMetadataForInterface = kotlin_kotlin.$_$.z6;
58
+ var initMetadataForInterface = kotlin_kotlin.$_$.y6;
60
59
  var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
61
60
  var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
62
- var defineProp = kotlin_kotlin.$_$.p6;
61
+ var defineProp = kotlin_kotlin.$_$.o6;
63
62
  var Enum = kotlin_kotlin.$_$.o9;
64
63
  var listOf = kotlin_kotlin.$_$.z4;
65
64
  var mapCapacity = kotlin_kotlin.$_$.a5;
66
- var coerceAtLeast = kotlin_kotlin.$_$.x7;
65
+ var coerceAtLeast = kotlin_kotlin.$_$.w7;
67
66
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.m;
68
67
  var plus = kotlin_kotlin.$_$.c5;
69
- var Pair = kotlin_kotlin.$_$.s9;
70
68
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w;
71
69
  //endregion
72
70
  //region block: pre-declaration
@@ -112,29 +110,33 @@
112
110
  initMetadataForObject(Units, 'Units');
113
111
  initMetadataForObject(UnitConversion, 'UnitConversion');
114
112
  //endregion
115
- function Amount(min, max, unit) {
113
+ function Amount(min, max, unit, usCust) {
116
114
  max = max === VOID ? null : max;
117
115
  unit = unit === VOID ? null : unit;
118
- this.g1d_1 = min;
119
- this.h1d_1 = max;
120
- this.i1d_1 = unit;
121
- }
122
- protoOf(Amount).j1d = function (min, max, unit) {
123
- return new Amount(min, max, unit);
124
- };
125
- protoOf(Amount).k1d = function (min, max, unit, $super) {
126
- min = min === VOID ? this.g1d_1 : min;
127
- max = max === VOID ? this.h1d_1 : max;
128
- unit = unit === VOID ? this.i1d_1 : unit;
129
- return $super === VOID ? this.j1d(min, max, unit) : $super.j1d.call(this, min, max, unit);
116
+ usCust = usCust === VOID ? null : usCust;
117
+ this.m1d_1 = min;
118
+ this.n1d_1 = max;
119
+ this.o1d_1 = unit;
120
+ this.p1d_1 = usCust;
121
+ }
122
+ protoOf(Amount).q1d = function (min, max, unit, usCust) {
123
+ return new Amount(min, max, unit, usCust);
124
+ };
125
+ protoOf(Amount).r1d = function (min, max, unit, usCust, $super) {
126
+ min = min === VOID ? this.m1d_1 : min;
127
+ max = max === VOID ? this.n1d_1 : max;
128
+ unit = unit === VOID ? this.o1d_1 : unit;
129
+ usCust = usCust === VOID ? this.p1d_1 : usCust;
130
+ return $super === VOID ? this.q1d(min, max, unit, usCust) : $super.q1d.call(this, min, max, unit, usCust);
130
131
  };
131
132
  protoOf(Amount).toString = function () {
132
- return 'Amount(min=' + this.g1d_1 + ', max=' + this.h1d_1 + ', unit=' + toString(this.i1d_1) + ')';
133
+ return 'Amount(min=' + this.m1d_1 + ', max=' + this.n1d_1 + ', unit=' + toString(this.o1d_1) + ', usCust=' + this.p1d_1 + ')';
133
134
  };
134
135
  protoOf(Amount).hashCode = function () {
135
- var result = getNumberHashCode(this.g1d_1);
136
- result = imul(result, 31) + (this.h1d_1 == null ? 0 : getNumberHashCode(this.h1d_1)) | 0;
137
- result = imul(result, 31) + (this.i1d_1 == null ? 0 : this.i1d_1.hashCode()) | 0;
136
+ var result = getNumberHashCode(this.m1d_1);
137
+ result = imul(result, 31) + (this.n1d_1 == null ? 0 : getNumberHashCode(this.n1d_1)) | 0;
138
+ result = imul(result, 31) + (this.o1d_1 == null ? 0 : this.o1d_1.hashCode()) | 0;
139
+ result = imul(result, 31) + (this.p1d_1 == null ? 0 : getBooleanHashCode(this.p1d_1)) | 0;
138
140
  return result;
139
141
  };
140
142
  protoOf(Amount).equals = function (other) {
@@ -142,56 +144,63 @@
142
144
  return true;
143
145
  if (!(other instanceof Amount))
144
146
  return false;
145
- if (!equals(this.g1d_1, other.g1d_1))
147
+ if (!equals(this.m1d_1, other.m1d_1))
148
+ return false;
149
+ if (!equals(this.n1d_1, other.n1d_1))
146
150
  return false;
147
- if (!equals(this.h1d_1, other.h1d_1))
151
+ if (!equals(this.o1d_1, other.o1d_1))
148
152
  return false;
149
- if (!equals(this.i1d_1, other.i1d_1))
153
+ if (!(this.p1d_1 == other.p1d_1))
150
154
  return false;
151
155
  return true;
152
156
  };
157
+ function FormatUtils$applySmartPunctuation$lambda(matchResult) {
158
+ return '\u201C' + matchResult.ub().l(2) + '\u201D';
159
+ }
153
160
  function FormatUtils() {
161
+ FormatUtils_instance = this;
162
+ this.s1d_1 = Regex_init_$Create$('(["])(.*?)(["])');
154
163
  }
155
- protoOf(FormatUtils).l1d = function (number) {
164
+ protoOf(FormatUtils).t1d = function (number) {
165
+ if (number === 0.0)
166
+ return '0';
156
167
  var integerPart = numberToInt(number);
168
+ var integerPartStr = integerPart > 0 ? integerPart.toString() : '';
157
169
  var fractionalPart = number - integerPart;
158
- var fractionString = (0.12 <= fractionalPart ? fractionalPart <= 0.13 : false) ? '\u215B' : (0.33 <= fractionalPart ? fractionalPart <= 0.34 : false) ? '\u2153' : (0.66 <= fractionalPart ? fractionalPart <= 0.67 : false) ? '\u2154' : fractionalPart === 0.25 ? '\xBC' : fractionalPart === 0.5 ? '\xBD' : fractionalPart === 0.75 ? '\xBE' : null;
159
- var tmp;
160
- if (!(fractionString == null)) {
161
- var tmp_0;
162
- if (integerPart > 0) {
163
- tmp_0 = '' + integerPart + fractionString;
170
+ return (0.0 <= fractionalPart ? fractionalPart <= 0.0625 : false) ? integerPartStr : (0.0625 <= fractionalPart ? fractionalPart <= 0.1875 : false) ? integerPartStr + '\u215B' : (0.1875 <= fractionalPart ? fractionalPart <= 0.291667 : false) ? integerPartStr + '\xBC' : (0.291667 <= fractionalPart ? fractionalPart <= 0.354167 : false) ? integerPartStr + '\u2153' : (0.354167 <= fractionalPart ? fractionalPart <= 0.4375 : false) ? integerPartStr + '\u215C' : (0.4375 <= fractionalPart ? fractionalPart <= 0.5625 : false) ? integerPartStr + '\xBD' : (0.5625 <= fractionalPart ? fractionalPart <= 0.645833 : false) ? integerPartStr + '\u215D' : (0.645833 <= fractionalPart ? fractionalPart <= 0.708333 : false) ? integerPartStr + '\u2154' : (0.708333 <= fractionalPart ? fractionalPart <= 0.8125 : false) ? integerPartStr + '\xBE' : (0.8125 <= fractionalPart ? fractionalPart <= 0.9375 : false) ? integerPartStr + '\u215E' : '' + (integerPart + 1 | 0);
171
+ };
172
+ protoOf(FormatUtils).u1d = function (number, decimals, fraction) {
173
+ if (fraction) {
174
+ return this.t1d(number);
175
+ } else {
176
+ var multiplier = 1.0;
177
+ // Inline function 'kotlin.repeat' call
178
+ var inductionVariable = 0;
179
+ if (inductionVariable < decimals)
180
+ do {
181
+ var index = inductionVariable;
182
+ inductionVariable = inductionVariable + 1 | 0;
183
+ multiplier = multiplier * 10;
184
+ }
185
+ while (inductionVariable < decimals);
186
+ var roundedNumber = round(number * multiplier) / multiplier;
187
+ var tmp;
188
+ if (roundedNumber % 1.0 === 0.0) {
189
+ tmp = numberToInt(roundedNumber).toString();
164
190
  } else {
165
- tmp_0 = fractionString;
191
+ tmp = roundedNumber.toString();
166
192
  }
167
- tmp = tmp_0;
168
- } else {
169
- tmp = number.toString();
193
+ return tmp;
170
194
  }
171
- return tmp;
172
195
  };
173
- protoOf(FormatUtils).m1d = function (number, decimals, fraction) {
174
- var multiplier = 1.0;
175
- // Inline function 'kotlin.repeat' call
176
- var inductionVariable = 0;
177
- if (inductionVariable < decimals)
178
- do {
179
- var index = inductionVariable;
180
- inductionVariable = inductionVariable + 1 | 0;
181
- multiplier = multiplier * 10;
182
- }
183
- while (inductionVariable < decimals);
184
- var roundedNumber = round(number * multiplier) / multiplier;
185
- if (roundedNumber % 1.0 === 0.0) {
186
- return numberToInt(roundedNumber).toString();
187
- }
188
- if (fraction) {
189
- return this.l1d(roundedNumber);
190
- }
191
- return roundedNumber.toString();
196
+ protoOf(FormatUtils).v1d = function (text) {
197
+ var withQuotes = this.s1d_1.za(text, FormatUtils$applySmartPunctuation$lambda);
198
+ return replace(replace(withQuotes, "'", '\u2019'), ' - ', ' \u2013 ');
192
199
  };
193
200
  var FormatUtils_instance;
194
201
  function FormatUtils_getInstance() {
202
+ if (FormatUtils_instance == null)
203
+ new FormatUtils();
195
204
  return FormatUtils_instance;
196
205
  }
197
206
  function renderOvenTemperature(element) {
@@ -232,7 +241,7 @@
232
241
  tmp_5 = null;
233
242
  } else {
234
243
  // Inline function 'kotlin.let' call
235
- tmp_5 = '/gas mark ' + FormatUtils_instance.l1d(tmp3_safe_receiver);
244
+ tmp_5 = '/gas mark ' + FormatUtils_getInstance().t1d(tmp3_safe_receiver);
236
245
  }
237
246
  return joinToString(listOfNotNull([tmp_2, fanTempC, tmp_4, tmp_5]), '');
238
247
  }
@@ -240,8 +249,8 @@
240
249
  if (!shouldScale) {
241
250
  return amount;
242
251
  }
243
- var tmp = amount.g1d_1 * factor;
244
- var tmp0_safe_receiver = amount.h1d_1;
252
+ var tmp = amount.m1d_1 * factor;
253
+ var tmp0_safe_receiver = amount.n1d_1;
245
254
  var tmp_0;
246
255
  if (tmp0_safe_receiver == null) {
247
256
  tmp_0 = null;
@@ -249,7 +258,7 @@
249
258
  // Inline function 'kotlin.let' call
250
259
  tmp_0 = tmp0_safe_receiver * factor;
251
260
  }
252
- return amount.k1d(tmp, tmp_0);
261
+ return amount.r1d(tmp, tmp_0);
253
262
  }
254
263
  function renderQuantity(element, factor, measuringSystem) {
255
264
  var tmp = !(element.min === element.max) ? element.max : null;
@@ -259,40 +268,40 @@
259
268
  tmp_0 = null;
260
269
  } else {
261
270
  // Inline function 'kotlin.let' call
262
- tmp_0 = Units_getInstance().d1e(tmp0_safe_receiver);
271
+ tmp_0 = Units_getInstance().m1e(tmp0_safe_receiver);
263
272
  }
264
- var amount = new Amount(element.min, tmp, tmp_0);
273
+ var amount = new Amount(element.min, tmp, tmp_0, element.usCust);
265
274
  amount = scaleAmount(amount, factor, element.scale);
266
- amount = UnitConversion_instance.g1e(amount, measuringSystem);
267
- var tmp1_subject = amount.i1d_1;
268
- var decimals = equals(tmp1_subject, Units_getInstance().n1d_1) || (equals(tmp1_subject, Units_getInstance().r1d_1) || equals(tmp1_subject, Units_getInstance().x1d_1)) ? 0 : equals(tmp1_subject, Units_getInstance().y1d_1) || equals(tmp1_subject, Units_getInstance().z1d_1) ? 1 : 2;
269
- var tmp2_subject = amount.i1d_1;
270
- var fraction = equals(tmp2_subject, Units_getInstance().v1d_1) || (equals(tmp2_subject, Units_getInstance().w1d_1) || equals(tmp2_subject, Units_getInstance().u1d_1)) ? true : tmp2_subject == null ? true : false;
275
+ amount = UnitConversion_instance.q1e(amount, measuringSystem);
276
+ var tmp1_subject = amount.o1d_1;
277
+ var decimals = equals(tmp1_subject, Units_getInstance().w1d_1) || (equals(tmp1_subject, Units_getInstance().a1e_1) || equals(tmp1_subject, Units_getInstance().g1e_1)) ? 0 : equals(tmp1_subject, Units_getInstance().h1e_1) || equals(tmp1_subject, Units_getInstance().i1e_1) ? 1 : 2;
278
+ var tmp2_subject = amount.o1d_1;
279
+ var fraction = equals(tmp2_subject, Units_getInstance().e1e_1) || (equals(tmp2_subject, Units_getInstance().f1e_1) || equals(tmp2_subject, Units_getInstance().d1e_1)) ? true : tmp2_subject == null ? true : false;
271
280
  var tmp_1;
272
- if (!(amount.i1d_1 == null)) {
281
+ if (!(amount.o1d_1 == null)) {
273
282
  var tmp_2;
274
- var tmp0 = amount.g1d_1;
275
- var tmp3_elvis_lhs = amount.h1d_1;
283
+ var tmp0 = amount.m1d_1;
284
+ var tmp3_elvis_lhs = amount.n1d_1;
276
285
  // Inline function 'kotlin.math.max' call
277
- var b = tmp3_elvis_lhs == null ? amount.g1d_1 : tmp3_elvis_lhs;
286
+ var b = tmp3_elvis_lhs == null ? amount.m1d_1 : tmp3_elvis_lhs;
278
287
  if (Math.max(tmp0, b) > 1) {
279
- tmp_2 = ' ' + amount.i1d_1.k1e_1;
288
+ tmp_2 = ' ' + amount.o1d_1.u1e_1;
280
289
  } else {
281
- tmp_2 = ' ' + amount.i1d_1.j1e_1;
290
+ tmp_2 = ' ' + amount.o1d_1.t1e_1;
282
291
  }
283
292
  tmp_1 = tmp_2;
284
293
  } else {
285
294
  tmp_1 = '';
286
295
  }
287
296
  var unitString = tmp_1;
288
- var tmp_3 = FormatUtils_instance.m1d(amount.g1d_1, decimals, fraction);
289
- var tmp4_safe_receiver = amount.h1d_1;
297
+ var tmp_3 = FormatUtils_getInstance().u1d(amount.m1d_1, decimals, fraction);
298
+ var tmp4_safe_receiver = amount.n1d_1;
290
299
  var tmp_4;
291
300
  if (tmp4_safe_receiver == null) {
292
301
  tmp_4 = null;
293
302
  } else {
294
303
  // Inline function 'kotlin.let' call
295
- tmp_4 = '-' + FormatUtils_instance.m1d(tmp4_safe_receiver, decimals, fraction);
304
+ tmp_4 = '-' + FormatUtils_getInstance().u1d(tmp4_safe_receiver, decimals, fraction);
296
305
  }
297
306
  return joinToString(listOfNotNull([tmp_3, tmp_4, unitString]), '');
298
307
  }
@@ -315,7 +324,7 @@
315
324
  }
316
325
  function renderTemplate(template, factor, measuringSystem) {
317
326
  // Inline function 'kotlin.collections.map' call
318
- var this_0 = template.n1e_1;
327
+ var this_0 = template.x1e_1;
319
328
  // Inline function 'kotlin.collections.mapTo' call
320
329
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
321
330
  var _iterator__ex2g4s = this_0.h();
@@ -325,22 +334,15 @@
325
334
  destination.f(tmp$ret$0);
326
335
  }
327
336
  var renderedParts = destination;
328
- return joinToString(renderedParts, '');
337
+ return FormatUtils_getInstance().v1d(joinToString(renderedParts, ''));
329
338
  }
330
339
  function wrapWithStrongTag(value) {
331
- // Inline function 'kotlin.charArrayOf' call
332
- var separators = charArrayOf([_Char___init__impl__6a9atx(44), _Char___init__impl__6a9atx(59), _Char___init__impl__6a9atx(40)]);
333
- var index = indexOfAny(value, separators);
334
- if (!(index === -1)) {
335
- var before = substring(value, 0, index);
336
- var after = substring_0(value, index);
337
- return '<strong>' + before + '<\/strong>' + after;
338
- } else {
339
- return '<strong>' + value + '<\/strong>';
340
- }
340
+ var before = ingredientWithoutSuffix(value);
341
+ var after = substring(value, before.length);
342
+ return '<strong>' + before + '<\/strong>' + after;
341
343
  }
342
344
  function scaleAndConvertUnitRecipe(recipe, factor, measuringSystem) {
343
- var tmp0_safe_receiver = recipe.a1f_1;
345
+ var tmp0_safe_receiver = recipe.k1f_1;
344
346
  var tmp;
345
347
  if (tmp0_safe_receiver == null) {
346
348
  tmp = null;
@@ -351,7 +353,7 @@
351
353
  var _iterator__ex2g4s = tmp0_safe_receiver.h();
352
354
  while (_iterator__ex2g4s.i()) {
353
355
  var item = _iterator__ex2g4s.j();
354
- var tmp0_safe_receiver_0 = item.l1f_1;
356
+ var tmp0_safe_receiver_0 = item.v1f_1;
355
357
  var tmp_0;
356
358
  if (tmp0_safe_receiver_0 == null) {
357
359
  tmp_0 = null;
@@ -362,7 +364,7 @@
362
364
  var _iterator__ex2g4s_0 = tmp0_safe_receiver_0.h();
363
365
  while (_iterator__ex2g4s_0.i()) {
364
366
  var item_0 = _iterator__ex2g4s_0.j();
365
- var tmp0_safe_receiver_1 = item_0.t1f_1;
367
+ var tmp0_safe_receiver_1 = item_0.d1g_1;
366
368
  var tmp_1;
367
369
  if (tmp0_safe_receiver_1 == null) {
368
370
  tmp_1 = null;
@@ -371,19 +373,19 @@
371
373
  tmp_1 = wrapWithStrongTag(renderTemplate(parseTemplate(tmp0_safe_receiver_1), factor, measuringSystem));
372
374
  }
373
375
  var tmp1_elvis_lhs = tmp_1;
374
- var scaledText = tmp1_elvis_lhs == null ? item_0.u1f_1 : tmp1_elvis_lhs;
375
- var tmp$ret$2 = item_0.w1f(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
376
+ var scaledText = tmp1_elvis_lhs == null ? item_0.e1g_1 : tmp1_elvis_lhs;
377
+ var tmp$ret$2 = item_0.g1g(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
376
378
  destination_0.f(tmp$ret$2);
377
379
  }
378
380
  tmp_0 = destination_0;
379
381
  }
380
- var tmp$ret$5 = new IngredientsList(tmp_0, item.m1f_1);
382
+ var tmp$ret$5 = new IngredientsList(tmp_0, item.w1f_1);
381
383
  destination.f(tmp$ret$5);
382
384
  }
383
385
  tmp = destination;
384
386
  }
385
387
  var scaledIngredients = tmp;
386
- var tmp1_safe_receiver = recipe.b1f_1;
388
+ var tmp1_safe_receiver = recipe.l1f_1;
387
389
  var tmp_2;
388
390
  if (tmp1_safe_receiver == null) {
389
391
  tmp_2 = null;
@@ -394,7 +396,7 @@
394
396
  var _iterator__ex2g4s_1 = tmp1_safe_receiver.h();
395
397
  while (_iterator__ex2g4s_1.i()) {
396
398
  var item_1 = _iterator__ex2g4s_1.j();
397
- var tmp0_safe_receiver_2 = item_1.y1f_1;
399
+ var tmp0_safe_receiver_2 = item_1.i1g_1;
398
400
  var tmp_3;
399
401
  if (tmp0_safe_receiver_2 == null) {
400
402
  tmp_3 = null;
@@ -403,13 +405,16 @@
403
405
  tmp_3 = renderTemplate(parseTemplate(tmp0_safe_receiver_2), factor, measuringSystem);
404
406
  }
405
407
  var description = tmp_3;
406
- var tmp$ret$10 = item_1.b1g(description == null ? item_1.x1f_1 : description);
408
+ var tmp$ret$10 = item_1.l1g(description == null ? item_1.h1g_1 : description);
407
409
  destination_1.f(tmp$ret$10);
408
410
  }
409
411
  tmp_2 = destination_1;
410
412
  }
411
413
  var scaledInstructions = tmp_2;
412
- return recipe.c1g(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
414
+ return recipe.m1g(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
415
+ }
416
+ function ingredientWithoutSuffix(renderedTemplate) {
417
+ return substringBefore(renderedTemplate, ',');
413
418
  }
414
419
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn() {
415
420
  return new ArrayListSerializer(StringSerializer_getInstance());
@@ -481,7 +486,7 @@
481
486
  // Inline function 'kotlin.arrayOf' call
482
487
  // Inline function 'kotlin.js.unsafeCast' call
483
488
  // Inline function 'kotlin.js.asDynamic' call
484
- tmp.d1g_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];
489
+ tmp.n1g_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];
485
490
  }
486
491
  var Companion_instance;
487
492
  function Companion_getInstance() {
@@ -492,109 +497,109 @@
492
497
  function $serializer() {
493
498
  $serializer_instance = this;
494
499
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.RecipeV3', this, 23);
495
- tmp0_serialDesc.ws('bookCredit', true);
496
- tmp0_serialDesc.ws('byline', true);
497
- tmp0_serialDesc.ws('canonicalArticle', true);
498
- tmp0_serialDesc.ws('celebrationIds', true);
499
- tmp0_serialDesc.ws('commerceCtas', true);
500
- tmp0_serialDesc.ws('composerId', true);
501
- tmp0_serialDesc.ws('contributors', true);
502
- tmp0_serialDesc.ws('cuisineIds', true);
503
- tmp0_serialDesc.ws('description', true);
504
- tmp0_serialDesc.ws('difficultyLevel', true);
505
- tmp0_serialDesc.ws('featuredImage', true);
506
- tmp0_serialDesc.ws('id', false);
507
- tmp0_serialDesc.ws('ingredients', true);
508
- tmp0_serialDesc.ws('instructions', true);
509
- tmp0_serialDesc.ws('isAppReady', true);
510
- tmp0_serialDesc.ws('mealTypeIds', true);
511
- tmp0_serialDesc.ws('serves', true);
512
- tmp0_serialDesc.ws('suitableForDietIds', true);
513
- tmp0_serialDesc.ws('techniquesUsedIds', true);
514
- tmp0_serialDesc.ws('timings', true);
515
- tmp0_serialDesc.ws('title', true);
516
- tmp0_serialDesc.ws('utensilsAndApplianceIds', true);
517
- tmp0_serialDesc.ws('webPublicationDate', true);
518
- this.e1g_1 = tmp0_serialDesc;
500
+ tmp0_serialDesc.ct('bookCredit', true);
501
+ tmp0_serialDesc.ct('byline', true);
502
+ tmp0_serialDesc.ct('canonicalArticle', true);
503
+ tmp0_serialDesc.ct('celebrationIds', true);
504
+ tmp0_serialDesc.ct('commerceCtas', true);
505
+ tmp0_serialDesc.ct('composerId', true);
506
+ tmp0_serialDesc.ct('contributors', true);
507
+ tmp0_serialDesc.ct('cuisineIds', true);
508
+ tmp0_serialDesc.ct('description', true);
509
+ tmp0_serialDesc.ct('difficultyLevel', true);
510
+ tmp0_serialDesc.ct('featuredImage', true);
511
+ tmp0_serialDesc.ct('id', false);
512
+ tmp0_serialDesc.ct('ingredients', true);
513
+ tmp0_serialDesc.ct('instructions', true);
514
+ tmp0_serialDesc.ct('isAppReady', true);
515
+ tmp0_serialDesc.ct('mealTypeIds', true);
516
+ tmp0_serialDesc.ct('serves', true);
517
+ tmp0_serialDesc.ct('suitableForDietIds', true);
518
+ tmp0_serialDesc.ct('techniquesUsedIds', true);
519
+ tmp0_serialDesc.ct('timings', true);
520
+ tmp0_serialDesc.ct('title', true);
521
+ tmp0_serialDesc.ct('utensilsAndApplianceIds', true);
522
+ tmp0_serialDesc.ct('webPublicationDate', true);
523
+ this.o1g_1 = tmp0_serialDesc;
519
524
  }
520
- protoOf($serializer).f1g = function (encoder, value) {
521
- var tmp0_desc = this.e1g_1;
522
- var tmp1_output = encoder.nl(tmp0_desc);
523
- var tmp2_cached = Companion_getInstance().d1g_1;
524
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.o1e_1 == null)) {
525
- tmp1_output.fn(tmp0_desc, 0, StringSerializer_getInstance(), value.o1e_1);
525
+ protoOf($serializer).p1g = function (encoder, value) {
526
+ var tmp0_desc = this.o1g_1;
527
+ var tmp1_output = encoder.tl(tmp0_desc);
528
+ var tmp2_cached = Companion_getInstance().n1g_1;
529
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.y1e_1 == null)) {
530
+ tmp1_output.ln(tmp0_desc, 0, StringSerializer_getInstance(), value.y1e_1);
526
531
  }
527
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.p1e_1 == null)) {
528
- tmp1_output.fn(tmp0_desc, 1, tmp2_cached[1].t1(), value.p1e_1);
532
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.z1e_1 == null)) {
533
+ tmp1_output.ln(tmp0_desc, 1, tmp2_cached[1].t1(), value.z1e_1);
529
534
  }
530
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.q1e_1 == null)) {
531
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.q1e_1);
535
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.a1f_1 == null)) {
536
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.a1f_1);
532
537
  }
533
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.r1e_1 == null)) {
534
- tmp1_output.fn(tmp0_desc, 3, tmp2_cached[3].t1(), value.r1e_1);
538
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.b1f_1 == null)) {
539
+ tmp1_output.ln(tmp0_desc, 3, tmp2_cached[3].t1(), value.b1f_1);
535
540
  }
536
- if (tmp1_output.jn(tmp0_desc, 4) ? true : !(value.s1e_1 == null)) {
537
- tmp1_output.fn(tmp0_desc, 4, tmp2_cached[4].t1(), value.s1e_1);
541
+ if (tmp1_output.pn(tmp0_desc, 4) ? true : !(value.c1f_1 == null)) {
542
+ tmp1_output.ln(tmp0_desc, 4, tmp2_cached[4].t1(), value.c1f_1);
538
543
  }
539
- if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.t1e_1 == null)) {
540
- tmp1_output.fn(tmp0_desc, 5, StringSerializer_getInstance(), value.t1e_1);
544
+ if (tmp1_output.pn(tmp0_desc, 5) ? true : !(value.d1f_1 == null)) {
545
+ tmp1_output.ln(tmp0_desc, 5, StringSerializer_getInstance(), value.d1f_1);
541
546
  }
542
- if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.u1e_1 == null)) {
543
- tmp1_output.fn(tmp0_desc, 6, tmp2_cached[6].t1(), value.u1e_1);
547
+ if (tmp1_output.pn(tmp0_desc, 6) ? true : !(value.e1f_1 == null)) {
548
+ tmp1_output.ln(tmp0_desc, 6, tmp2_cached[6].t1(), value.e1f_1);
544
549
  }
545
- if (tmp1_output.jn(tmp0_desc, 7) ? true : !(value.v1e_1 == null)) {
546
- tmp1_output.fn(tmp0_desc, 7, tmp2_cached[7].t1(), value.v1e_1);
550
+ if (tmp1_output.pn(tmp0_desc, 7) ? true : !(value.f1f_1 == null)) {
551
+ tmp1_output.ln(tmp0_desc, 7, tmp2_cached[7].t1(), value.f1f_1);
547
552
  }
548
- if (tmp1_output.jn(tmp0_desc, 8) ? true : !(value.w1e_1 == null)) {
549
- tmp1_output.fn(tmp0_desc, 8, StringSerializer_getInstance(), value.w1e_1);
553
+ if (tmp1_output.pn(tmp0_desc, 8) ? true : !(value.g1f_1 == null)) {
554
+ tmp1_output.ln(tmp0_desc, 8, StringSerializer_getInstance(), value.g1f_1);
550
555
  }
551
- if (tmp1_output.jn(tmp0_desc, 9) ? true : !(value.x1e_1 == null)) {
552
- tmp1_output.fn(tmp0_desc, 9, StringSerializer_getInstance(), value.x1e_1);
556
+ if (tmp1_output.pn(tmp0_desc, 9) ? true : !(value.h1f_1 == null)) {
557
+ tmp1_output.ln(tmp0_desc, 9, StringSerializer_getInstance(), value.h1f_1);
553
558
  }
554
- if (tmp1_output.jn(tmp0_desc, 10) ? true : !(value.y1e_1 == null)) {
555
- tmp1_output.fn(tmp0_desc, 10, $serializer_getInstance_1(), value.y1e_1);
559
+ if (tmp1_output.pn(tmp0_desc, 10) ? true : !(value.i1f_1 == null)) {
560
+ tmp1_output.ln(tmp0_desc, 10, $serializer_getInstance_1(), value.i1f_1);
556
561
  }
557
- tmp1_output.bn(tmp0_desc, 11, value.z1e_1);
558
- if (tmp1_output.jn(tmp0_desc, 12) ? true : !(value.a1f_1 == null)) {
559
- tmp1_output.fn(tmp0_desc, 12, tmp2_cached[12].t1(), value.a1f_1);
562
+ tmp1_output.hn(tmp0_desc, 11, value.j1f_1);
563
+ if (tmp1_output.pn(tmp0_desc, 12) ? true : !(value.k1f_1 == null)) {
564
+ tmp1_output.ln(tmp0_desc, 12, tmp2_cached[12].t1(), value.k1f_1);
560
565
  }
561
- if (tmp1_output.jn(tmp0_desc, 13) ? true : !(value.b1f_1 == null)) {
562
- tmp1_output.fn(tmp0_desc, 13, tmp2_cached[13].t1(), value.b1f_1);
566
+ if (tmp1_output.pn(tmp0_desc, 13) ? true : !(value.l1f_1 == null)) {
567
+ tmp1_output.ln(tmp0_desc, 13, tmp2_cached[13].t1(), value.l1f_1);
563
568
  }
564
- if (tmp1_output.jn(tmp0_desc, 14) ? true : !(value.c1f_1 == null)) {
565
- tmp1_output.fn(tmp0_desc, 14, BooleanSerializer_getInstance(), value.c1f_1);
569
+ if (tmp1_output.pn(tmp0_desc, 14) ? true : !(value.m1f_1 == null)) {
570
+ tmp1_output.ln(tmp0_desc, 14, BooleanSerializer_getInstance(), value.m1f_1);
566
571
  }
567
- if (tmp1_output.jn(tmp0_desc, 15) ? true : !(value.d1f_1 == null)) {
568
- tmp1_output.fn(tmp0_desc, 15, tmp2_cached[15].t1(), value.d1f_1);
572
+ if (tmp1_output.pn(tmp0_desc, 15) ? true : !(value.n1f_1 == null)) {
573
+ tmp1_output.ln(tmp0_desc, 15, tmp2_cached[15].t1(), value.n1f_1);
569
574
  }
570
- if (tmp1_output.jn(tmp0_desc, 16) ? true : !(value.e1f_1 == null)) {
571
- tmp1_output.fn(tmp0_desc, 16, tmp2_cached[16].t1(), value.e1f_1);
575
+ if (tmp1_output.pn(tmp0_desc, 16) ? true : !(value.o1f_1 == null)) {
576
+ tmp1_output.ln(tmp0_desc, 16, tmp2_cached[16].t1(), value.o1f_1);
572
577
  }
573
- if (tmp1_output.jn(tmp0_desc, 17) ? true : !(value.f1f_1 == null)) {
574
- tmp1_output.fn(tmp0_desc, 17, tmp2_cached[17].t1(), value.f1f_1);
578
+ if (tmp1_output.pn(tmp0_desc, 17) ? true : !(value.p1f_1 == null)) {
579
+ tmp1_output.ln(tmp0_desc, 17, tmp2_cached[17].t1(), value.p1f_1);
575
580
  }
576
- if (tmp1_output.jn(tmp0_desc, 18) ? true : !(value.g1f_1 == null)) {
577
- tmp1_output.fn(tmp0_desc, 18, tmp2_cached[18].t1(), value.g1f_1);
581
+ if (tmp1_output.pn(tmp0_desc, 18) ? true : !(value.q1f_1 == null)) {
582
+ tmp1_output.ln(tmp0_desc, 18, tmp2_cached[18].t1(), value.q1f_1);
578
583
  }
579
- if (tmp1_output.jn(tmp0_desc, 19) ? true : !(value.h1f_1 == null)) {
580
- tmp1_output.fn(tmp0_desc, 19, tmp2_cached[19].t1(), value.h1f_1);
584
+ if (tmp1_output.pn(tmp0_desc, 19) ? true : !(value.r1f_1 == null)) {
585
+ tmp1_output.ln(tmp0_desc, 19, tmp2_cached[19].t1(), value.r1f_1);
581
586
  }
582
- if (tmp1_output.jn(tmp0_desc, 20) ? true : !(value.i1f_1 == null)) {
583
- tmp1_output.fn(tmp0_desc, 20, StringSerializer_getInstance(), value.i1f_1);
587
+ if (tmp1_output.pn(tmp0_desc, 20) ? true : !(value.s1f_1 == null)) {
588
+ tmp1_output.ln(tmp0_desc, 20, StringSerializer_getInstance(), value.s1f_1);
584
589
  }
585
- if (tmp1_output.jn(tmp0_desc, 21) ? true : !(value.j1f_1 == null)) {
586
- tmp1_output.fn(tmp0_desc, 21, tmp2_cached[21].t1(), value.j1f_1);
590
+ if (tmp1_output.pn(tmp0_desc, 21) ? true : !(value.t1f_1 == null)) {
591
+ tmp1_output.ln(tmp0_desc, 21, tmp2_cached[21].t1(), value.t1f_1);
587
592
  }
588
- if (tmp1_output.jn(tmp0_desc, 22) ? true : !(value.k1f_1 == null)) {
589
- tmp1_output.fn(tmp0_desc, 22, StringSerializer_getInstance(), value.k1f_1);
593
+ if (tmp1_output.pn(tmp0_desc, 22) ? true : !(value.u1f_1 == null)) {
594
+ tmp1_output.ln(tmp0_desc, 22, StringSerializer_getInstance(), value.u1f_1);
590
595
  }
591
- tmp1_output.ol(tmp0_desc);
596
+ tmp1_output.ul(tmp0_desc);
592
597
  };
593
- protoOf($serializer).ri = function (encoder, value) {
594
- return this.f1g(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
598
+ protoOf($serializer).xi = function (encoder, value) {
599
+ return this.p1g(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
595
600
  };
596
- protoOf($serializer).si = function (decoder) {
597
- var tmp0_desc = this.e1g_1;
601
+ protoOf($serializer).yi = function (decoder) {
602
+ var tmp0_desc = this.o1g_1;
598
603
  var tmp1_flag = true;
599
604
  var tmp2_index = 0;
600
605
  var tmp3_bitMask0 = 0;
@@ -621,166 +626,166 @@
621
626
  var tmp24_local20 = null;
622
627
  var tmp25_local21 = null;
623
628
  var tmp26_local22 = null;
624
- var tmp27_input = decoder.nl(tmp0_desc);
625
- var tmp28_cached = Companion_getInstance().d1g_1;
626
- if (tmp27_input.dm()) {
627
- tmp4_local0 = tmp27_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
629
+ var tmp27_input = decoder.tl(tmp0_desc);
630
+ var tmp28_cached = Companion_getInstance().n1g_1;
631
+ if (tmp27_input.jm()) {
632
+ tmp4_local0 = tmp27_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
628
633
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
629
- tmp5_local1 = tmp27_input.bm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
634
+ tmp5_local1 = tmp27_input.hm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
630
635
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
631
- tmp6_local2 = tmp27_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
636
+ tmp6_local2 = tmp27_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
632
637
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
633
- tmp7_local3 = tmp27_input.bm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
638
+ tmp7_local3 = tmp27_input.hm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
634
639
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
635
- tmp8_local4 = tmp27_input.bm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
640
+ tmp8_local4 = tmp27_input.hm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
636
641
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
637
- tmp9_local5 = tmp27_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
642
+ tmp9_local5 = tmp27_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
638
643
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
639
- tmp10_local6 = tmp27_input.bm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
644
+ tmp10_local6 = tmp27_input.hm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
640
645
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
641
- tmp11_local7 = tmp27_input.bm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
646
+ tmp11_local7 = tmp27_input.hm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
642
647
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
643
- tmp12_local8 = tmp27_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
648
+ tmp12_local8 = tmp27_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
644
649
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
645
- tmp13_local9 = tmp27_input.bm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
650
+ tmp13_local9 = tmp27_input.hm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
646
651
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
647
- tmp14_local10 = tmp27_input.bm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
652
+ tmp14_local10 = tmp27_input.hm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
648
653
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
649
- tmp15_local11 = tmp27_input.xl(tmp0_desc, 11);
654
+ tmp15_local11 = tmp27_input.dm(tmp0_desc, 11);
650
655
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
651
- tmp16_local12 = tmp27_input.bm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
656
+ tmp16_local12 = tmp27_input.hm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
652
657
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
653
- tmp17_local13 = tmp27_input.bm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
658
+ tmp17_local13 = tmp27_input.hm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
654
659
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
655
- tmp18_local14 = tmp27_input.bm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
660
+ tmp18_local14 = tmp27_input.hm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
656
661
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
657
- tmp19_local15 = tmp27_input.bm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
662
+ tmp19_local15 = tmp27_input.hm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
658
663
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
659
- tmp20_local16 = tmp27_input.bm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
664
+ tmp20_local16 = tmp27_input.hm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
660
665
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
661
- tmp21_local17 = tmp27_input.bm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
666
+ tmp21_local17 = tmp27_input.hm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
662
667
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
663
- tmp22_local18 = tmp27_input.bm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
668
+ tmp22_local18 = tmp27_input.hm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
664
669
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
665
- tmp23_local19 = tmp27_input.bm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
670
+ tmp23_local19 = tmp27_input.hm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
666
671
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
667
- tmp24_local20 = tmp27_input.bm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
672
+ tmp24_local20 = tmp27_input.hm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
668
673
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
669
- tmp25_local21 = tmp27_input.bm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
674
+ tmp25_local21 = tmp27_input.hm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
670
675
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
671
- tmp26_local22 = tmp27_input.bm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
676
+ tmp26_local22 = tmp27_input.hm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
672
677
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
673
678
  } else
674
679
  while (tmp1_flag) {
675
- tmp2_index = tmp27_input.em(tmp0_desc);
680
+ tmp2_index = tmp27_input.km(tmp0_desc);
676
681
  switch (tmp2_index) {
677
682
  case -1:
678
683
  tmp1_flag = false;
679
684
  break;
680
685
  case 0:
681
- tmp4_local0 = tmp27_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
686
+ tmp4_local0 = tmp27_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
682
687
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
683
688
  break;
684
689
  case 1:
685
- tmp5_local1 = tmp27_input.bm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
690
+ tmp5_local1 = tmp27_input.hm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
686
691
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
687
692
  break;
688
693
  case 2:
689
- tmp6_local2 = tmp27_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
694
+ tmp6_local2 = tmp27_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
690
695
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
691
696
  break;
692
697
  case 3:
693
- tmp7_local3 = tmp27_input.bm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
698
+ tmp7_local3 = tmp27_input.hm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
694
699
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
695
700
  break;
696
701
  case 4:
697
- tmp8_local4 = tmp27_input.bm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
702
+ tmp8_local4 = tmp27_input.hm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
698
703
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
699
704
  break;
700
705
  case 5:
701
- tmp9_local5 = tmp27_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
706
+ tmp9_local5 = tmp27_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
702
707
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
703
708
  break;
704
709
  case 6:
705
- tmp10_local6 = tmp27_input.bm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
710
+ tmp10_local6 = tmp27_input.hm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
706
711
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
707
712
  break;
708
713
  case 7:
709
- tmp11_local7 = tmp27_input.bm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
714
+ tmp11_local7 = tmp27_input.hm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
710
715
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
711
716
  break;
712
717
  case 8:
713
- tmp12_local8 = tmp27_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
718
+ tmp12_local8 = tmp27_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
714
719
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
715
720
  break;
716
721
  case 9:
717
- tmp13_local9 = tmp27_input.bm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
722
+ tmp13_local9 = tmp27_input.hm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
718
723
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
719
724
  break;
720
725
  case 10:
721
- tmp14_local10 = tmp27_input.bm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
726
+ tmp14_local10 = tmp27_input.hm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
722
727
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
723
728
  break;
724
729
  case 11:
725
- tmp15_local11 = tmp27_input.xl(tmp0_desc, 11);
730
+ tmp15_local11 = tmp27_input.dm(tmp0_desc, 11);
726
731
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
727
732
  break;
728
733
  case 12:
729
- tmp16_local12 = tmp27_input.bm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
734
+ tmp16_local12 = tmp27_input.hm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
730
735
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
731
736
  break;
732
737
  case 13:
733
- tmp17_local13 = tmp27_input.bm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
738
+ tmp17_local13 = tmp27_input.hm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
734
739
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
735
740
  break;
736
741
  case 14:
737
- tmp18_local14 = tmp27_input.bm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
742
+ tmp18_local14 = tmp27_input.hm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
738
743
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
739
744
  break;
740
745
  case 15:
741
- tmp19_local15 = tmp27_input.bm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
746
+ tmp19_local15 = tmp27_input.hm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
742
747
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
743
748
  break;
744
749
  case 16:
745
- tmp20_local16 = tmp27_input.bm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
750
+ tmp20_local16 = tmp27_input.hm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
746
751
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
747
752
  break;
748
753
  case 17:
749
- tmp21_local17 = tmp27_input.bm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
754
+ tmp21_local17 = tmp27_input.hm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
750
755
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
751
756
  break;
752
757
  case 18:
753
- tmp22_local18 = tmp27_input.bm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
758
+ tmp22_local18 = tmp27_input.hm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
754
759
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
755
760
  break;
756
761
  case 19:
757
- tmp23_local19 = tmp27_input.bm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
762
+ tmp23_local19 = tmp27_input.hm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
758
763
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
759
764
  break;
760
765
  case 20:
761
- tmp24_local20 = tmp27_input.bm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
766
+ tmp24_local20 = tmp27_input.hm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
762
767
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
763
768
  break;
764
769
  case 21:
765
- tmp25_local21 = tmp27_input.bm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
770
+ tmp25_local21 = tmp27_input.hm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
766
771
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
767
772
  break;
768
773
  case 22:
769
- tmp26_local22 = tmp27_input.bm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
774
+ tmp26_local22 = tmp27_input.hm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
770
775
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
771
776
  break;
772
777
  default:
773
778
  throw UnknownFieldException_init_$Create$(tmp2_index);
774
779
  }
775
780
  }
776
- tmp27_input.ol(tmp0_desc);
781
+ tmp27_input.ul(tmp0_desc);
777
782
  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);
778
783
  };
779
- protoOf($serializer).qi = function () {
780
- return this.e1g_1;
784
+ protoOf($serializer).wi = function () {
785
+ return this.o1g_1;
781
786
  };
782
- protoOf($serializer).ys = function () {
783
- var tmp0_cached = Companion_getInstance().d1g_1;
787
+ protoOf($serializer).et = function () {
788
+ var tmp0_cached = Companion_getInstance().n1g_1;
784
789
  // Inline function 'kotlin.arrayOf' call
785
790
  // Inline function 'kotlin.js.unsafeCast' call
786
791
  // Inline function 'kotlin.js.asDynamic' call
@@ -794,97 +799,97 @@
794
799
  }
795
800
  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) {
796
801
  if (!(2048 === (2048 & seen0))) {
797
- throwMissingFieldException(seen0, 2048, $serializer_getInstance().e1g_1);
802
+ throwMissingFieldException(seen0, 2048, $serializer_getInstance().o1g_1);
798
803
  }
799
804
  if (0 === (seen0 & 1))
800
- $this.o1e_1 = null;
805
+ $this.y1e_1 = null;
801
806
  else
802
- $this.o1e_1 = bookCredit;
807
+ $this.y1e_1 = bookCredit;
803
808
  if (0 === (seen0 & 2))
804
- $this.p1e_1 = null;
809
+ $this.z1e_1 = null;
805
810
  else
806
- $this.p1e_1 = byline;
811
+ $this.z1e_1 = byline;
807
812
  if (0 === (seen0 & 4))
808
- $this.q1e_1 = null;
813
+ $this.a1f_1 = null;
809
814
  else
810
- $this.q1e_1 = canonicalArticle;
815
+ $this.a1f_1 = canonicalArticle;
811
816
  if (0 === (seen0 & 8))
812
- $this.r1e_1 = null;
817
+ $this.b1f_1 = null;
813
818
  else
814
- $this.r1e_1 = celebrationIds;
819
+ $this.b1f_1 = celebrationIds;
815
820
  if (0 === (seen0 & 16))
816
- $this.s1e_1 = null;
821
+ $this.c1f_1 = null;
817
822
  else
818
- $this.s1e_1 = commerceCtas;
823
+ $this.c1f_1 = commerceCtas;
819
824
  if (0 === (seen0 & 32))
820
- $this.t1e_1 = null;
825
+ $this.d1f_1 = null;
821
826
  else
822
- $this.t1e_1 = composerId;
827
+ $this.d1f_1 = composerId;
823
828
  if (0 === (seen0 & 64))
824
- $this.u1e_1 = null;
829
+ $this.e1f_1 = null;
825
830
  else
826
- $this.u1e_1 = contributors;
831
+ $this.e1f_1 = contributors;
827
832
  if (0 === (seen0 & 128))
828
- $this.v1e_1 = null;
833
+ $this.f1f_1 = null;
829
834
  else
830
- $this.v1e_1 = cuisineIds;
835
+ $this.f1f_1 = cuisineIds;
831
836
  if (0 === (seen0 & 256))
832
- $this.w1e_1 = null;
837
+ $this.g1f_1 = null;
833
838
  else
834
- $this.w1e_1 = description;
839
+ $this.g1f_1 = description;
835
840
  if (0 === (seen0 & 512))
836
- $this.x1e_1 = null;
841
+ $this.h1f_1 = null;
837
842
  else
838
- $this.x1e_1 = difficultyLevel;
843
+ $this.h1f_1 = difficultyLevel;
839
844
  if (0 === (seen0 & 1024))
840
- $this.y1e_1 = null;
845
+ $this.i1f_1 = null;
841
846
  else
842
- $this.y1e_1 = featuredImage;
843
- $this.z1e_1 = id;
847
+ $this.i1f_1 = featuredImage;
848
+ $this.j1f_1 = id;
844
849
  if (0 === (seen0 & 4096))
845
- $this.a1f_1 = null;
850
+ $this.k1f_1 = null;
846
851
  else
847
- $this.a1f_1 = ingredients;
852
+ $this.k1f_1 = ingredients;
848
853
  if (0 === (seen0 & 8192))
849
- $this.b1f_1 = null;
854
+ $this.l1f_1 = null;
850
855
  else
851
- $this.b1f_1 = instructions;
856
+ $this.l1f_1 = instructions;
852
857
  if (0 === (seen0 & 16384))
853
- $this.c1f_1 = null;
858
+ $this.m1f_1 = null;
854
859
  else
855
- $this.c1f_1 = isAppReady;
860
+ $this.m1f_1 = isAppReady;
856
861
  if (0 === (seen0 & 32768))
857
- $this.d1f_1 = null;
862
+ $this.n1f_1 = null;
858
863
  else
859
- $this.d1f_1 = mealTypeIds;
864
+ $this.n1f_1 = mealTypeIds;
860
865
  if (0 === (seen0 & 65536))
861
- $this.e1f_1 = null;
866
+ $this.o1f_1 = null;
862
867
  else
863
- $this.e1f_1 = serves;
868
+ $this.o1f_1 = serves;
864
869
  if (0 === (seen0 & 131072))
865
- $this.f1f_1 = null;
870
+ $this.p1f_1 = null;
866
871
  else
867
- $this.f1f_1 = suitableForDietIds;
872
+ $this.p1f_1 = suitableForDietIds;
868
873
  if (0 === (seen0 & 262144))
869
- $this.g1f_1 = null;
874
+ $this.q1f_1 = null;
870
875
  else
871
- $this.g1f_1 = techniquesUsedIds;
876
+ $this.q1f_1 = techniquesUsedIds;
872
877
  if (0 === (seen0 & 524288))
873
- $this.h1f_1 = null;
878
+ $this.r1f_1 = null;
874
879
  else
875
- $this.h1f_1 = timings;
880
+ $this.r1f_1 = timings;
876
881
  if (0 === (seen0 & 1048576))
877
- $this.i1f_1 = null;
882
+ $this.s1f_1 = null;
878
883
  else
879
- $this.i1f_1 = title;
884
+ $this.s1f_1 = title;
880
885
  if (0 === (seen0 & 2097152))
881
- $this.j1f_1 = null;
886
+ $this.t1f_1 = null;
882
887
  else
883
- $this.j1f_1 = utensilsAndApplianceIds;
888
+ $this.t1f_1 = utensilsAndApplianceIds;
884
889
  if (0 === (seen0 & 4194304))
885
- $this.k1f_1 = null;
890
+ $this.u1f_1 = null;
886
891
  else
887
- $this.k1f_1 = webPublicationDate;
892
+ $this.u1f_1 = webPublicationDate;
888
893
  return $this;
889
894
  }
890
895
  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) {
@@ -914,86 +919,86 @@
914
919
  title = title === VOID ? null : title;
915
920
  utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? null : utensilsAndApplianceIds;
916
921
  webPublicationDate = webPublicationDate === VOID ? null : webPublicationDate;
917
- this.o1e_1 = bookCredit;
918
- this.p1e_1 = byline;
919
- this.q1e_1 = canonicalArticle;
920
- this.r1e_1 = celebrationIds;
921
- this.s1e_1 = commerceCtas;
922
- this.t1e_1 = composerId;
923
- this.u1e_1 = contributors;
924
- this.v1e_1 = cuisineIds;
925
- this.w1e_1 = description;
926
- this.x1e_1 = difficultyLevel;
927
- this.y1e_1 = featuredImage;
928
- this.z1e_1 = id;
929
- this.a1f_1 = ingredients;
930
- this.b1f_1 = instructions;
931
- this.c1f_1 = isAppReady;
932
- this.d1f_1 = mealTypeIds;
933
- this.e1f_1 = serves;
934
- this.f1f_1 = suitableForDietIds;
935
- this.g1f_1 = techniquesUsedIds;
936
- this.h1f_1 = timings;
937
- this.i1f_1 = title;
938
- this.j1f_1 = utensilsAndApplianceIds;
939
- this.k1f_1 = webPublicationDate;
940
- }
941
- protoOf(RecipeV3).g1g = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
922
+ this.y1e_1 = bookCredit;
923
+ this.z1e_1 = byline;
924
+ this.a1f_1 = canonicalArticle;
925
+ this.b1f_1 = celebrationIds;
926
+ this.c1f_1 = commerceCtas;
927
+ this.d1f_1 = composerId;
928
+ this.e1f_1 = contributors;
929
+ this.f1f_1 = cuisineIds;
930
+ this.g1f_1 = description;
931
+ this.h1f_1 = difficultyLevel;
932
+ this.i1f_1 = featuredImage;
933
+ this.j1f_1 = id;
934
+ this.k1f_1 = ingredients;
935
+ this.l1f_1 = instructions;
936
+ this.m1f_1 = isAppReady;
937
+ this.n1f_1 = mealTypeIds;
938
+ this.o1f_1 = serves;
939
+ this.p1f_1 = suitableForDietIds;
940
+ this.q1f_1 = techniquesUsedIds;
941
+ this.r1f_1 = timings;
942
+ this.s1f_1 = title;
943
+ this.t1f_1 = utensilsAndApplianceIds;
944
+ this.u1f_1 = webPublicationDate;
945
+ }
946
+ protoOf(RecipeV3).q1g = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
942
947
  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);
943
948
  };
944
- protoOf(RecipeV3).c1g = 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) {
945
- bookCredit = bookCredit === VOID ? this.o1e_1 : bookCredit;
946
- byline = byline === VOID ? this.p1e_1 : byline;
947
- canonicalArticle = canonicalArticle === VOID ? this.q1e_1 : canonicalArticle;
948
- celebrationIds = celebrationIds === VOID ? this.r1e_1 : celebrationIds;
949
- commerceCtas = commerceCtas === VOID ? this.s1e_1 : commerceCtas;
950
- composerId = composerId === VOID ? this.t1e_1 : composerId;
951
- contributors = contributors === VOID ? this.u1e_1 : contributors;
952
- cuisineIds = cuisineIds === VOID ? this.v1e_1 : cuisineIds;
953
- description = description === VOID ? this.w1e_1 : description;
954
- difficultyLevel = difficultyLevel === VOID ? this.x1e_1 : difficultyLevel;
955
- featuredImage = featuredImage === VOID ? this.y1e_1 : featuredImage;
956
- id = id === VOID ? this.z1e_1 : id;
957
- ingredients = ingredients === VOID ? this.a1f_1 : ingredients;
958
- instructions = instructions === VOID ? this.b1f_1 : instructions;
959
- isAppReady = isAppReady === VOID ? this.c1f_1 : isAppReady;
960
- mealTypeIds = mealTypeIds === VOID ? this.d1f_1 : mealTypeIds;
961
- serves = serves === VOID ? this.e1f_1 : serves;
962
- suitableForDietIds = suitableForDietIds === VOID ? this.f1f_1 : suitableForDietIds;
963
- techniquesUsedIds = techniquesUsedIds === VOID ? this.g1f_1 : techniquesUsedIds;
964
- timings = timings === VOID ? this.h1f_1 : timings;
965
- title = title === VOID ? this.i1f_1 : title;
966
- utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.j1f_1 : utensilsAndApplianceIds;
967
- webPublicationDate = webPublicationDate === VOID ? this.k1f_1 : webPublicationDate;
968
- return $super === VOID ? this.g1g(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.g1g.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);
949
+ protoOf(RecipeV3).m1g = 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) {
950
+ bookCredit = bookCredit === VOID ? this.y1e_1 : bookCredit;
951
+ byline = byline === VOID ? this.z1e_1 : byline;
952
+ canonicalArticle = canonicalArticle === VOID ? this.a1f_1 : canonicalArticle;
953
+ celebrationIds = celebrationIds === VOID ? this.b1f_1 : celebrationIds;
954
+ commerceCtas = commerceCtas === VOID ? this.c1f_1 : commerceCtas;
955
+ composerId = composerId === VOID ? this.d1f_1 : composerId;
956
+ contributors = contributors === VOID ? this.e1f_1 : contributors;
957
+ cuisineIds = cuisineIds === VOID ? this.f1f_1 : cuisineIds;
958
+ description = description === VOID ? this.g1f_1 : description;
959
+ difficultyLevel = difficultyLevel === VOID ? this.h1f_1 : difficultyLevel;
960
+ featuredImage = featuredImage === VOID ? this.i1f_1 : featuredImage;
961
+ id = id === VOID ? this.j1f_1 : id;
962
+ ingredients = ingredients === VOID ? this.k1f_1 : ingredients;
963
+ instructions = instructions === VOID ? this.l1f_1 : instructions;
964
+ isAppReady = isAppReady === VOID ? this.m1f_1 : isAppReady;
965
+ mealTypeIds = mealTypeIds === VOID ? this.n1f_1 : mealTypeIds;
966
+ serves = serves === VOID ? this.o1f_1 : serves;
967
+ suitableForDietIds = suitableForDietIds === VOID ? this.p1f_1 : suitableForDietIds;
968
+ techniquesUsedIds = techniquesUsedIds === VOID ? this.q1f_1 : techniquesUsedIds;
969
+ timings = timings === VOID ? this.r1f_1 : timings;
970
+ title = title === VOID ? this.s1f_1 : title;
971
+ utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.t1f_1 : utensilsAndApplianceIds;
972
+ webPublicationDate = webPublicationDate === VOID ? this.u1f_1 : webPublicationDate;
973
+ return $super === VOID ? this.q1g(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.q1g.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);
969
974
  };
970
975
  protoOf(RecipeV3).toString = function () {
971
- return 'RecipeV3(bookCredit=' + this.o1e_1 + ', byline=' + toString(this.p1e_1) + ', canonicalArticle=' + this.q1e_1 + ', celebrationIds=' + toString(this.r1e_1) + ', commerceCtas=' + toString(this.s1e_1) + ', composerId=' + this.t1e_1 + ', contributors=' + toString(this.u1e_1) + ', cuisineIds=' + toString(this.v1e_1) + ', description=' + this.w1e_1 + ', difficultyLevel=' + this.x1e_1 + ', featuredImage=' + toString(this.y1e_1) + ', id=' + this.z1e_1 + ', ingredients=' + toString(this.a1f_1) + ', instructions=' + toString(this.b1f_1) + ', isAppReady=' + this.c1f_1 + ', mealTypeIds=' + toString(this.d1f_1) + ', serves=' + toString(this.e1f_1) + ', suitableForDietIds=' + toString(this.f1f_1) + ', techniquesUsedIds=' + toString(this.g1f_1) + ', timings=' + toString(this.h1f_1) + ', title=' + this.i1f_1 + ', utensilsAndApplianceIds=' + toString(this.j1f_1) + ', webPublicationDate=' + this.k1f_1 + ')';
976
+ return 'RecipeV3(bookCredit=' + this.y1e_1 + ', byline=' + toString(this.z1e_1) + ', canonicalArticle=' + this.a1f_1 + ', celebrationIds=' + toString(this.b1f_1) + ', commerceCtas=' + toString(this.c1f_1) + ', composerId=' + this.d1f_1 + ', contributors=' + toString(this.e1f_1) + ', cuisineIds=' + toString(this.f1f_1) + ', description=' + this.g1f_1 + ', difficultyLevel=' + this.h1f_1 + ', featuredImage=' + toString(this.i1f_1) + ', id=' + this.j1f_1 + ', ingredients=' + toString(this.k1f_1) + ', instructions=' + toString(this.l1f_1) + ', isAppReady=' + this.m1f_1 + ', mealTypeIds=' + toString(this.n1f_1) + ', serves=' + toString(this.o1f_1) + ', suitableForDietIds=' + toString(this.p1f_1) + ', techniquesUsedIds=' + toString(this.q1f_1) + ', timings=' + toString(this.r1f_1) + ', title=' + this.s1f_1 + ', utensilsAndApplianceIds=' + toString(this.t1f_1) + ', webPublicationDate=' + this.u1f_1 + ')';
972
977
  };
973
978
  protoOf(RecipeV3).hashCode = function () {
974
- var result = this.o1e_1 == null ? 0 : getStringHashCode(this.o1e_1);
975
- result = imul(result, 31) + (this.p1e_1 == null ? 0 : hashCode(this.p1e_1)) | 0;
976
- result = imul(result, 31) + (this.q1e_1 == null ? 0 : getStringHashCode(this.q1e_1)) | 0;
977
- result = imul(result, 31) + (this.r1e_1 == null ? 0 : hashCode(this.r1e_1)) | 0;
978
- result = imul(result, 31) + (this.s1e_1 == null ? 0 : hashCode(this.s1e_1)) | 0;
979
- result = imul(result, 31) + (this.t1e_1 == null ? 0 : getStringHashCode(this.t1e_1)) | 0;
980
- result = imul(result, 31) + (this.u1e_1 == null ? 0 : hashCode(this.u1e_1)) | 0;
981
- result = imul(result, 31) + (this.v1e_1 == null ? 0 : hashCode(this.v1e_1)) | 0;
982
- result = imul(result, 31) + (this.w1e_1 == null ? 0 : getStringHashCode(this.w1e_1)) | 0;
983
- result = imul(result, 31) + (this.x1e_1 == null ? 0 : getStringHashCode(this.x1e_1)) | 0;
984
- result = imul(result, 31) + (this.y1e_1 == null ? 0 : this.y1e_1.hashCode()) | 0;
985
- result = imul(result, 31) + getStringHashCode(this.z1e_1) | 0;
986
- result = imul(result, 31) + (this.a1f_1 == null ? 0 : hashCode(this.a1f_1)) | 0;
979
+ var result = this.y1e_1 == null ? 0 : getStringHashCode(this.y1e_1);
980
+ result = imul(result, 31) + (this.z1e_1 == null ? 0 : hashCode(this.z1e_1)) | 0;
981
+ result = imul(result, 31) + (this.a1f_1 == null ? 0 : getStringHashCode(this.a1f_1)) | 0;
987
982
  result = imul(result, 31) + (this.b1f_1 == null ? 0 : hashCode(this.b1f_1)) | 0;
988
- result = imul(result, 31) + (this.c1f_1 == null ? 0 : getBooleanHashCode(this.c1f_1)) | 0;
989
- result = imul(result, 31) + (this.d1f_1 == null ? 0 : hashCode(this.d1f_1)) | 0;
983
+ result = imul(result, 31) + (this.c1f_1 == null ? 0 : hashCode(this.c1f_1)) | 0;
984
+ result = imul(result, 31) + (this.d1f_1 == null ? 0 : getStringHashCode(this.d1f_1)) | 0;
990
985
  result = imul(result, 31) + (this.e1f_1 == null ? 0 : hashCode(this.e1f_1)) | 0;
991
986
  result = imul(result, 31) + (this.f1f_1 == null ? 0 : hashCode(this.f1f_1)) | 0;
992
- result = imul(result, 31) + (this.g1f_1 == null ? 0 : hashCode(this.g1f_1)) | 0;
993
- result = imul(result, 31) + (this.h1f_1 == null ? 0 : hashCode(this.h1f_1)) | 0;
994
- result = imul(result, 31) + (this.i1f_1 == null ? 0 : getStringHashCode(this.i1f_1)) | 0;
995
- result = imul(result, 31) + (this.j1f_1 == null ? 0 : hashCode(this.j1f_1)) | 0;
996
- result = imul(result, 31) + (this.k1f_1 == null ? 0 : getStringHashCode(this.k1f_1)) | 0;
987
+ result = imul(result, 31) + (this.g1f_1 == null ? 0 : getStringHashCode(this.g1f_1)) | 0;
988
+ result = imul(result, 31) + (this.h1f_1 == null ? 0 : getStringHashCode(this.h1f_1)) | 0;
989
+ result = imul(result, 31) + (this.i1f_1 == null ? 0 : this.i1f_1.hashCode()) | 0;
990
+ result = imul(result, 31) + getStringHashCode(this.j1f_1) | 0;
991
+ result = imul(result, 31) + (this.k1f_1 == null ? 0 : hashCode(this.k1f_1)) | 0;
992
+ result = imul(result, 31) + (this.l1f_1 == null ? 0 : hashCode(this.l1f_1)) | 0;
993
+ result = imul(result, 31) + (this.m1f_1 == null ? 0 : getBooleanHashCode(this.m1f_1)) | 0;
994
+ result = imul(result, 31) + (this.n1f_1 == null ? 0 : hashCode(this.n1f_1)) | 0;
995
+ result = imul(result, 31) + (this.o1f_1 == null ? 0 : hashCode(this.o1f_1)) | 0;
996
+ result = imul(result, 31) + (this.p1f_1 == null ? 0 : hashCode(this.p1f_1)) | 0;
997
+ result = imul(result, 31) + (this.q1f_1 == null ? 0 : hashCode(this.q1f_1)) | 0;
998
+ result = imul(result, 31) + (this.r1f_1 == null ? 0 : hashCode(this.r1f_1)) | 0;
999
+ result = imul(result, 31) + (this.s1f_1 == null ? 0 : getStringHashCode(this.s1f_1)) | 0;
1000
+ result = imul(result, 31) + (this.t1f_1 == null ? 0 : hashCode(this.t1f_1)) | 0;
1001
+ result = imul(result, 31) + (this.u1f_1 == null ? 0 : getStringHashCode(this.u1f_1)) | 0;
997
1002
  return result;
998
1003
  };
999
1004
  protoOf(RecipeV3).equals = function (other) {
@@ -1001,119 +1006,119 @@
1001
1006
  return true;
1002
1007
  if (!(other instanceof RecipeV3))
1003
1008
  return false;
1004
- if (!(this.o1e_1 == other.o1e_1))
1009
+ if (!(this.y1e_1 == other.y1e_1))
1005
1010
  return false;
1006
- if (!equals(this.p1e_1, other.p1e_1))
1011
+ if (!equals(this.z1e_1, other.z1e_1))
1007
1012
  return false;
1008
- if (!(this.q1e_1 == other.q1e_1))
1013
+ if (!(this.a1f_1 == other.a1f_1))
1009
1014
  return false;
1010
- if (!equals(this.r1e_1, other.r1e_1))
1015
+ if (!equals(this.b1f_1, other.b1f_1))
1011
1016
  return false;
1012
- if (!equals(this.s1e_1, other.s1e_1))
1017
+ if (!equals(this.c1f_1, other.c1f_1))
1013
1018
  return false;
1014
- if (!(this.t1e_1 == other.t1e_1))
1019
+ if (!(this.d1f_1 == other.d1f_1))
1015
1020
  return false;
1016
- if (!equals(this.u1e_1, other.u1e_1))
1021
+ if (!equals(this.e1f_1, other.e1f_1))
1017
1022
  return false;
1018
- if (!equals(this.v1e_1, other.v1e_1))
1023
+ if (!equals(this.f1f_1, other.f1f_1))
1019
1024
  return false;
1020
- if (!(this.w1e_1 == other.w1e_1))
1025
+ if (!(this.g1f_1 == other.g1f_1))
1021
1026
  return false;
1022
- if (!(this.x1e_1 == other.x1e_1))
1027
+ if (!(this.h1f_1 == other.h1f_1))
1023
1028
  return false;
1024
- if (!equals(this.y1e_1, other.y1e_1))
1029
+ if (!equals(this.i1f_1, other.i1f_1))
1025
1030
  return false;
1026
- if (!(this.z1e_1 === other.z1e_1))
1031
+ if (!(this.j1f_1 === other.j1f_1))
1027
1032
  return false;
1028
- if (!equals(this.a1f_1, other.a1f_1))
1033
+ if (!equals(this.k1f_1, other.k1f_1))
1029
1034
  return false;
1030
- if (!equals(this.b1f_1, other.b1f_1))
1035
+ if (!equals(this.l1f_1, other.l1f_1))
1031
1036
  return false;
1032
- if (!(this.c1f_1 == other.c1f_1))
1037
+ if (!(this.m1f_1 == other.m1f_1))
1033
1038
  return false;
1034
- if (!equals(this.d1f_1, other.d1f_1))
1039
+ if (!equals(this.n1f_1, other.n1f_1))
1035
1040
  return false;
1036
- if (!equals(this.e1f_1, other.e1f_1))
1041
+ if (!equals(this.o1f_1, other.o1f_1))
1037
1042
  return false;
1038
- if (!equals(this.f1f_1, other.f1f_1))
1043
+ if (!equals(this.p1f_1, other.p1f_1))
1039
1044
  return false;
1040
- if (!equals(this.g1f_1, other.g1f_1))
1045
+ if (!equals(this.q1f_1, other.q1f_1))
1041
1046
  return false;
1042
- if (!equals(this.h1f_1, other.h1f_1))
1047
+ if (!equals(this.r1f_1, other.r1f_1))
1043
1048
  return false;
1044
- if (!(this.i1f_1 == other.i1f_1))
1049
+ if (!(this.s1f_1 == other.s1f_1))
1045
1050
  return false;
1046
- if (!equals(this.j1f_1, other.j1f_1))
1051
+ if (!equals(this.t1f_1, other.t1f_1))
1047
1052
  return false;
1048
- if (!(this.k1f_1 == other.k1f_1))
1053
+ if (!(this.u1f_1 == other.u1f_1))
1049
1054
  return false;
1050
1055
  return true;
1051
1056
  };
1052
1057
  function $serializer_0() {
1053
1058
  $serializer_instance_0 = this;
1054
1059
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.CommerceCta', this, 3);
1055
- tmp0_serialDesc.ws('sponsorName', false);
1056
- tmp0_serialDesc.ws('territory', false);
1057
- tmp0_serialDesc.ws('url', false);
1058
- this.h1g_1 = tmp0_serialDesc;
1059
- }
1060
- protoOf($serializer_0).i1g = function (encoder, value) {
1061
- var tmp0_desc = this.h1g_1;
1062
- var tmp1_output = encoder.nl(tmp0_desc);
1063
- tmp1_output.bn(tmp0_desc, 0, value.j1g_1);
1064
- tmp1_output.bn(tmp0_desc, 1, value.k1g_1);
1065
- tmp1_output.bn(tmp0_desc, 2, value.l1g_1);
1066
- tmp1_output.ol(tmp0_desc);
1067
- };
1068
- protoOf($serializer_0).ri = function (encoder, value) {
1069
- return this.i1g(encoder, value instanceof CommerceCta ? value : THROW_CCE());
1070
- };
1071
- protoOf($serializer_0).si = function (decoder) {
1072
- var tmp0_desc = this.h1g_1;
1060
+ tmp0_serialDesc.ct('sponsorName', false);
1061
+ tmp0_serialDesc.ct('territory', false);
1062
+ tmp0_serialDesc.ct('url', false);
1063
+ this.r1g_1 = tmp0_serialDesc;
1064
+ }
1065
+ protoOf($serializer_0).s1g = function (encoder, value) {
1066
+ var tmp0_desc = this.r1g_1;
1067
+ var tmp1_output = encoder.tl(tmp0_desc);
1068
+ tmp1_output.hn(tmp0_desc, 0, value.t1g_1);
1069
+ tmp1_output.hn(tmp0_desc, 1, value.u1g_1);
1070
+ tmp1_output.hn(tmp0_desc, 2, value.v1g_1);
1071
+ tmp1_output.ul(tmp0_desc);
1072
+ };
1073
+ protoOf($serializer_0).xi = function (encoder, value) {
1074
+ return this.s1g(encoder, value instanceof CommerceCta ? value : THROW_CCE());
1075
+ };
1076
+ protoOf($serializer_0).yi = function (decoder) {
1077
+ var tmp0_desc = this.r1g_1;
1073
1078
  var tmp1_flag = true;
1074
1079
  var tmp2_index = 0;
1075
1080
  var tmp3_bitMask0 = 0;
1076
1081
  var tmp4_local0 = null;
1077
1082
  var tmp5_local1 = null;
1078
1083
  var tmp6_local2 = null;
1079
- var tmp7_input = decoder.nl(tmp0_desc);
1080
- if (tmp7_input.dm()) {
1081
- tmp4_local0 = tmp7_input.xl(tmp0_desc, 0);
1084
+ var tmp7_input = decoder.tl(tmp0_desc);
1085
+ if (tmp7_input.jm()) {
1086
+ tmp4_local0 = tmp7_input.dm(tmp0_desc, 0);
1082
1087
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1083
- tmp5_local1 = tmp7_input.xl(tmp0_desc, 1);
1088
+ tmp5_local1 = tmp7_input.dm(tmp0_desc, 1);
1084
1089
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1085
- tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
1090
+ tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
1086
1091
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1087
1092
  } else
1088
1093
  while (tmp1_flag) {
1089
- tmp2_index = tmp7_input.em(tmp0_desc);
1094
+ tmp2_index = tmp7_input.km(tmp0_desc);
1090
1095
  switch (tmp2_index) {
1091
1096
  case -1:
1092
1097
  tmp1_flag = false;
1093
1098
  break;
1094
1099
  case 0:
1095
- tmp4_local0 = tmp7_input.xl(tmp0_desc, 0);
1100
+ tmp4_local0 = tmp7_input.dm(tmp0_desc, 0);
1096
1101
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1097
1102
  break;
1098
1103
  case 1:
1099
- tmp5_local1 = tmp7_input.xl(tmp0_desc, 1);
1104
+ tmp5_local1 = tmp7_input.dm(tmp0_desc, 1);
1100
1105
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1101
1106
  break;
1102
1107
  case 2:
1103
- tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
1108
+ tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
1104
1109
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1105
1110
  break;
1106
1111
  default:
1107
1112
  throw UnknownFieldException_init_$Create$(tmp2_index);
1108
1113
  }
1109
1114
  }
1110
- tmp7_input.ol(tmp0_desc);
1115
+ tmp7_input.ul(tmp0_desc);
1111
1116
  return CommerceCta_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1112
1117
  };
1113
- protoOf($serializer_0).qi = function () {
1114
- return this.h1g_1;
1118
+ protoOf($serializer_0).wi = function () {
1119
+ return this.r1g_1;
1115
1120
  };
1116
- protoOf($serializer_0).ys = function () {
1121
+ protoOf($serializer_0).et = function () {
1117
1122
  // Inline function 'kotlin.arrayOf' call
1118
1123
  // Inline function 'kotlin.js.unsafeCast' call
1119
1124
  // Inline function 'kotlin.js.asDynamic' call
@@ -1127,11 +1132,11 @@
1127
1132
  }
1128
1133
  function CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, $this) {
1129
1134
  if (!(7 === (7 & seen0))) {
1130
- throwMissingFieldException(seen0, 7, $serializer_getInstance_0().h1g_1);
1135
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_0().r1g_1);
1131
1136
  }
1132
- $this.j1g_1 = sponsorName;
1133
- $this.k1g_1 = territory;
1134
- $this.l1g_1 = url;
1137
+ $this.t1g_1 = sponsorName;
1138
+ $this.u1g_1 = territory;
1139
+ $this.v1g_1 = url;
1135
1140
  return $this;
1136
1141
  }
1137
1142
  function CommerceCta_init_$Create$(seen0, sponsorName, territory, url, serializationConstructorMarker) {
@@ -1140,12 +1145,12 @@
1140
1145
  function CommerceCta() {
1141
1146
  }
1142
1147
  protoOf(CommerceCta).toString = function () {
1143
- return 'CommerceCta(sponsorName=' + this.j1g_1 + ', territory=' + this.k1g_1 + ', url=' + this.l1g_1 + ')';
1148
+ return 'CommerceCta(sponsorName=' + this.t1g_1 + ', territory=' + this.u1g_1 + ', url=' + this.v1g_1 + ')';
1144
1149
  };
1145
1150
  protoOf(CommerceCta).hashCode = function () {
1146
- var result = getStringHashCode(this.j1g_1);
1147
- result = imul(result, 31) + getStringHashCode(this.k1g_1) | 0;
1148
- result = imul(result, 31) + getStringHashCode(this.l1g_1) | 0;
1151
+ var result = getStringHashCode(this.t1g_1);
1152
+ result = imul(result, 31) + getStringHashCode(this.u1g_1) | 0;
1153
+ result = imul(result, 31) + getStringHashCode(this.v1g_1) | 0;
1149
1154
  return result;
1150
1155
  };
1151
1156
  protoOf(CommerceCta).equals = function (other) {
@@ -1153,55 +1158,55 @@
1153
1158
  return true;
1154
1159
  if (!(other instanceof CommerceCta))
1155
1160
  return false;
1156
- if (!(this.j1g_1 === other.j1g_1))
1161
+ if (!(this.t1g_1 === other.t1g_1))
1157
1162
  return false;
1158
- if (!(this.k1g_1 === other.k1g_1))
1163
+ if (!(this.u1g_1 === other.u1g_1))
1159
1164
  return false;
1160
- if (!(this.l1g_1 === other.l1g_1))
1165
+ if (!(this.v1g_1 === other.v1g_1))
1161
1166
  return false;
1162
1167
  return true;
1163
1168
  };
1164
1169
  function $serializer_1() {
1165
1170
  $serializer_instance_1 = this;
1166
1171
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Image', this, 8);
1167
- tmp0_serialDesc.ws('caption', true);
1168
- tmp0_serialDesc.ws('cropId', false);
1169
- tmp0_serialDesc.ws('imageType', true);
1170
- tmp0_serialDesc.ws('mediaApiUrl', true);
1171
- tmp0_serialDesc.ws('mediaId', false);
1172
- tmp0_serialDesc.ws('photographer', true);
1173
- tmp0_serialDesc.ws('source', true);
1174
- tmp0_serialDesc.ws('url', false);
1175
- this.m1g_1 = tmp0_serialDesc;
1176
- }
1177
- protoOf($serializer_1).n1g = function (encoder, value) {
1178
- var tmp0_desc = this.m1g_1;
1179
- var tmp1_output = encoder.nl(tmp0_desc);
1180
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.o1g_1 == null)) {
1181
- tmp1_output.fn(tmp0_desc, 0, StringSerializer_getInstance(), value.o1g_1);
1182
- }
1183
- tmp1_output.bn(tmp0_desc, 1, value.p1g_1);
1184
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.q1g_1 == null)) {
1185
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.q1g_1);
1186
- }
1187
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.r1g_1 == null)) {
1188
- tmp1_output.fn(tmp0_desc, 3, StringSerializer_getInstance(), value.r1g_1);
1189
- }
1190
- tmp1_output.bn(tmp0_desc, 4, value.s1g_1);
1191
- if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.t1g_1 == null)) {
1192
- tmp1_output.fn(tmp0_desc, 5, StringSerializer_getInstance(), value.t1g_1);
1193
- }
1194
- if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.u1g_1 == null)) {
1195
- tmp1_output.fn(tmp0_desc, 6, StringSerializer_getInstance(), value.u1g_1);
1196
- }
1197
- tmp1_output.bn(tmp0_desc, 7, value.v1g_1);
1198
- tmp1_output.ol(tmp0_desc);
1199
- };
1200
- protoOf($serializer_1).ri = function (encoder, value) {
1201
- return this.n1g(encoder, value instanceof Image ? value : THROW_CCE());
1202
- };
1203
- protoOf($serializer_1).si = function (decoder) {
1204
- var tmp0_desc = this.m1g_1;
1172
+ tmp0_serialDesc.ct('caption', true);
1173
+ tmp0_serialDesc.ct('cropId', false);
1174
+ tmp0_serialDesc.ct('imageType', true);
1175
+ tmp0_serialDesc.ct('mediaApiUrl', true);
1176
+ tmp0_serialDesc.ct('mediaId', false);
1177
+ tmp0_serialDesc.ct('photographer', true);
1178
+ tmp0_serialDesc.ct('source', true);
1179
+ tmp0_serialDesc.ct('url', false);
1180
+ this.w1g_1 = tmp0_serialDesc;
1181
+ }
1182
+ protoOf($serializer_1).x1g = function (encoder, value) {
1183
+ var tmp0_desc = this.w1g_1;
1184
+ var tmp1_output = encoder.tl(tmp0_desc);
1185
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.y1g_1 == null)) {
1186
+ tmp1_output.ln(tmp0_desc, 0, StringSerializer_getInstance(), value.y1g_1);
1187
+ }
1188
+ tmp1_output.hn(tmp0_desc, 1, value.z1g_1);
1189
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.a1h_1 == null)) {
1190
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.a1h_1);
1191
+ }
1192
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.b1h_1 == null)) {
1193
+ tmp1_output.ln(tmp0_desc, 3, StringSerializer_getInstance(), value.b1h_1);
1194
+ }
1195
+ tmp1_output.hn(tmp0_desc, 4, value.c1h_1);
1196
+ if (tmp1_output.pn(tmp0_desc, 5) ? true : !(value.d1h_1 == null)) {
1197
+ tmp1_output.ln(tmp0_desc, 5, StringSerializer_getInstance(), value.d1h_1);
1198
+ }
1199
+ if (tmp1_output.pn(tmp0_desc, 6) ? true : !(value.e1h_1 == null)) {
1200
+ tmp1_output.ln(tmp0_desc, 6, StringSerializer_getInstance(), value.e1h_1);
1201
+ }
1202
+ tmp1_output.hn(tmp0_desc, 7, value.f1h_1);
1203
+ tmp1_output.ul(tmp0_desc);
1204
+ };
1205
+ protoOf($serializer_1).xi = function (encoder, value) {
1206
+ return this.x1g(encoder, value instanceof Image ? value : THROW_CCE());
1207
+ };
1208
+ protoOf($serializer_1).yi = function (decoder) {
1209
+ var tmp0_desc = this.w1g_1;
1205
1210
  var tmp1_flag = true;
1206
1211
  var tmp2_index = 0;
1207
1212
  var tmp3_bitMask0 = 0;
@@ -1213,74 +1218,74 @@
1213
1218
  var tmp9_local5 = null;
1214
1219
  var tmp10_local6 = null;
1215
1220
  var tmp11_local7 = null;
1216
- var tmp12_input = decoder.nl(tmp0_desc);
1217
- if (tmp12_input.dm()) {
1218
- tmp4_local0 = tmp12_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1221
+ var tmp12_input = decoder.tl(tmp0_desc);
1222
+ if (tmp12_input.jm()) {
1223
+ tmp4_local0 = tmp12_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1219
1224
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1220
- tmp5_local1 = tmp12_input.xl(tmp0_desc, 1);
1225
+ tmp5_local1 = tmp12_input.dm(tmp0_desc, 1);
1221
1226
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1222
- tmp6_local2 = tmp12_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1227
+ tmp6_local2 = tmp12_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1223
1228
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1224
- tmp7_local3 = tmp12_input.bm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1229
+ tmp7_local3 = tmp12_input.hm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1225
1230
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1226
- tmp8_local4 = tmp12_input.xl(tmp0_desc, 4);
1231
+ tmp8_local4 = tmp12_input.dm(tmp0_desc, 4);
1227
1232
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1228
- tmp9_local5 = tmp12_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1233
+ tmp9_local5 = tmp12_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1229
1234
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1230
- tmp10_local6 = tmp12_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1235
+ tmp10_local6 = tmp12_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1231
1236
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1232
- tmp11_local7 = tmp12_input.xl(tmp0_desc, 7);
1237
+ tmp11_local7 = tmp12_input.dm(tmp0_desc, 7);
1233
1238
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1234
1239
  } else
1235
1240
  while (tmp1_flag) {
1236
- tmp2_index = tmp12_input.em(tmp0_desc);
1241
+ tmp2_index = tmp12_input.km(tmp0_desc);
1237
1242
  switch (tmp2_index) {
1238
1243
  case -1:
1239
1244
  tmp1_flag = false;
1240
1245
  break;
1241
1246
  case 0:
1242
- tmp4_local0 = tmp12_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1247
+ tmp4_local0 = tmp12_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1243
1248
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1244
1249
  break;
1245
1250
  case 1:
1246
- tmp5_local1 = tmp12_input.xl(tmp0_desc, 1);
1251
+ tmp5_local1 = tmp12_input.dm(tmp0_desc, 1);
1247
1252
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1248
1253
  break;
1249
1254
  case 2:
1250
- tmp6_local2 = tmp12_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1255
+ tmp6_local2 = tmp12_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1251
1256
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1252
1257
  break;
1253
1258
  case 3:
1254
- tmp7_local3 = tmp12_input.bm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1259
+ tmp7_local3 = tmp12_input.hm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1255
1260
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1256
1261
  break;
1257
1262
  case 4:
1258
- tmp8_local4 = tmp12_input.xl(tmp0_desc, 4);
1263
+ tmp8_local4 = tmp12_input.dm(tmp0_desc, 4);
1259
1264
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1260
1265
  break;
1261
1266
  case 5:
1262
- tmp9_local5 = tmp12_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1267
+ tmp9_local5 = tmp12_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1263
1268
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1264
1269
  break;
1265
1270
  case 6:
1266
- tmp10_local6 = tmp12_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1271
+ tmp10_local6 = tmp12_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1267
1272
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1268
1273
  break;
1269
1274
  case 7:
1270
- tmp11_local7 = tmp12_input.xl(tmp0_desc, 7);
1275
+ tmp11_local7 = tmp12_input.dm(tmp0_desc, 7);
1271
1276
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1272
1277
  break;
1273
1278
  default:
1274
1279
  throw UnknownFieldException_init_$Create$(tmp2_index);
1275
1280
  }
1276
1281
  }
1277
- tmp12_input.ol(tmp0_desc);
1282
+ tmp12_input.ul(tmp0_desc);
1278
1283
  return Image_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
1279
1284
  };
1280
- protoOf($serializer_1).qi = function () {
1281
- return this.m1g_1;
1285
+ protoOf($serializer_1).wi = function () {
1286
+ return this.w1g_1;
1282
1287
  };
1283
- protoOf($serializer_1).ys = function () {
1288
+ protoOf($serializer_1).et = function () {
1284
1289
  // Inline function 'kotlin.arrayOf' call
1285
1290
  // Inline function 'kotlin.js.unsafeCast' call
1286
1291
  // Inline function 'kotlin.js.asDynamic' call
@@ -1294,31 +1299,31 @@
1294
1299
  }
1295
1300
  function Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, $this) {
1296
1301
  if (!(146 === (146 & seen0))) {
1297
- throwMissingFieldException(seen0, 146, $serializer_getInstance_1().m1g_1);
1302
+ throwMissingFieldException(seen0, 146, $serializer_getInstance_1().w1g_1);
1298
1303
  }
1299
1304
  if (0 === (seen0 & 1))
1300
- $this.o1g_1 = null;
1305
+ $this.y1g_1 = null;
1301
1306
  else
1302
- $this.o1g_1 = caption;
1303
- $this.p1g_1 = cropId;
1307
+ $this.y1g_1 = caption;
1308
+ $this.z1g_1 = cropId;
1304
1309
  if (0 === (seen0 & 4))
1305
- $this.q1g_1 = null;
1310
+ $this.a1h_1 = null;
1306
1311
  else
1307
- $this.q1g_1 = imageType;
1312
+ $this.a1h_1 = imageType;
1308
1313
  if (0 === (seen0 & 8))
1309
- $this.r1g_1 = null;
1314
+ $this.b1h_1 = null;
1310
1315
  else
1311
- $this.r1g_1 = mediaApiUrl;
1312
- $this.s1g_1 = mediaId;
1316
+ $this.b1h_1 = mediaApiUrl;
1317
+ $this.c1h_1 = mediaId;
1313
1318
  if (0 === (seen0 & 32))
1314
- $this.t1g_1 = null;
1319
+ $this.d1h_1 = null;
1315
1320
  else
1316
- $this.t1g_1 = photographer;
1321
+ $this.d1h_1 = photographer;
1317
1322
  if (0 === (seen0 & 64))
1318
- $this.u1g_1 = null;
1323
+ $this.e1h_1 = null;
1319
1324
  else
1320
- $this.u1g_1 = source;
1321
- $this.v1g_1 = url;
1325
+ $this.e1h_1 = source;
1326
+ $this.f1h_1 = url;
1322
1327
  return $this;
1323
1328
  }
1324
1329
  function Image_init_$Create$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker) {
@@ -1327,17 +1332,17 @@
1327
1332
  function Image() {
1328
1333
  }
1329
1334
  protoOf(Image).toString = function () {
1330
- return 'Image(caption=' + this.o1g_1 + ', cropId=' + this.p1g_1 + ', imageType=' + this.q1g_1 + ', mediaApiUrl=' + this.r1g_1 + ', mediaId=' + this.s1g_1 + ', photographer=' + this.t1g_1 + ', source=' + this.u1g_1 + ', url=' + this.v1g_1 + ')';
1335
+ return 'Image(caption=' + this.y1g_1 + ', cropId=' + this.z1g_1 + ', imageType=' + this.a1h_1 + ', mediaApiUrl=' + this.b1h_1 + ', mediaId=' + this.c1h_1 + ', photographer=' + this.d1h_1 + ', source=' + this.e1h_1 + ', url=' + this.f1h_1 + ')';
1331
1336
  };
1332
1337
  protoOf(Image).hashCode = function () {
1333
- var result = this.o1g_1 == null ? 0 : getStringHashCode(this.o1g_1);
1334
- result = imul(result, 31) + getStringHashCode(this.p1g_1) | 0;
1335
- result = imul(result, 31) + (this.q1g_1 == null ? 0 : getStringHashCode(this.q1g_1)) | 0;
1336
- result = imul(result, 31) + (this.r1g_1 == null ? 0 : getStringHashCode(this.r1g_1)) | 0;
1337
- result = imul(result, 31) + getStringHashCode(this.s1g_1) | 0;
1338
- result = imul(result, 31) + (this.t1g_1 == null ? 0 : getStringHashCode(this.t1g_1)) | 0;
1339
- result = imul(result, 31) + (this.u1g_1 == null ? 0 : getStringHashCode(this.u1g_1)) | 0;
1340
- result = imul(result, 31) + getStringHashCode(this.v1g_1) | 0;
1338
+ var result = this.y1g_1 == null ? 0 : getStringHashCode(this.y1g_1);
1339
+ result = imul(result, 31) + getStringHashCode(this.z1g_1) | 0;
1340
+ result = imul(result, 31) + (this.a1h_1 == null ? 0 : getStringHashCode(this.a1h_1)) | 0;
1341
+ result = imul(result, 31) + (this.b1h_1 == null ? 0 : getStringHashCode(this.b1h_1)) | 0;
1342
+ result = imul(result, 31) + getStringHashCode(this.c1h_1) | 0;
1343
+ result = imul(result, 31) + (this.d1h_1 == null ? 0 : getStringHashCode(this.d1h_1)) | 0;
1344
+ result = imul(result, 31) + (this.e1h_1 == null ? 0 : getStringHashCode(this.e1h_1)) | 0;
1345
+ result = imul(result, 31) + getStringHashCode(this.f1h_1) | 0;
1341
1346
  return result;
1342
1347
  };
1343
1348
  protoOf(Image).equals = function (other) {
@@ -1345,21 +1350,21 @@
1345
1350
  return true;
1346
1351
  if (!(other instanceof Image))
1347
1352
  return false;
1348
- if (!(this.o1g_1 == other.o1g_1))
1353
+ if (!(this.y1g_1 == other.y1g_1))
1349
1354
  return false;
1350
- if (!(this.p1g_1 === other.p1g_1))
1355
+ if (!(this.z1g_1 === other.z1g_1))
1351
1356
  return false;
1352
- if (!(this.q1g_1 == other.q1g_1))
1357
+ if (!(this.a1h_1 == other.a1h_1))
1353
1358
  return false;
1354
- if (!(this.r1g_1 == other.r1g_1))
1359
+ if (!(this.b1h_1 == other.b1h_1))
1355
1360
  return false;
1356
- if (!(this.s1g_1 === other.s1g_1))
1361
+ if (!(this.c1h_1 === other.c1h_1))
1357
1362
  return false;
1358
- if (!(this.t1g_1 == other.t1g_1))
1363
+ if (!(this.d1h_1 == other.d1h_1))
1359
1364
  return false;
1360
- if (!(this.u1g_1 == other.u1g_1))
1365
+ if (!(this.e1h_1 == other.e1h_1))
1361
1366
  return false;
1362
- if (!(this.v1g_1 === other.v1g_1))
1367
+ if (!(this.f1h_1 === other.f1h_1))
1363
1368
  return false;
1364
1369
  return true;
1365
1370
  };
@@ -1373,7 +1378,7 @@
1373
1378
  // Inline function 'kotlin.arrayOf' call
1374
1379
  // Inline function 'kotlin.js.unsafeCast' call
1375
1380
  // Inline function 'kotlin.js.asDynamic' call
1376
- tmp.w1g_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
1381
+ tmp.g1h_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
1377
1382
  }
1378
1383
  var Companion_instance_0;
1379
1384
  function Companion_getInstance_0() {
@@ -1384,66 +1389,66 @@
1384
1389
  function $serializer_2() {
1385
1390
  $serializer_instance_2 = this;
1386
1391
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsList', this, 2);
1387
- tmp0_serialDesc.ws('ingredientsList', true);
1388
- tmp0_serialDesc.ws('recipeSection', true);
1389
- this.x1g_1 = tmp0_serialDesc;
1392
+ tmp0_serialDesc.ct('ingredientsList', true);
1393
+ tmp0_serialDesc.ct('recipeSection', true);
1394
+ this.h1h_1 = tmp0_serialDesc;
1390
1395
  }
1391
- protoOf($serializer_2).y1g = function (encoder, value) {
1392
- var tmp0_desc = this.x1g_1;
1393
- var tmp1_output = encoder.nl(tmp0_desc);
1394
- var tmp2_cached = Companion_getInstance_0().w1g_1;
1395
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.l1f_1 == null)) {
1396
- tmp1_output.fn(tmp0_desc, 0, tmp2_cached[0].t1(), value.l1f_1);
1396
+ protoOf($serializer_2).i1h = function (encoder, value) {
1397
+ var tmp0_desc = this.h1h_1;
1398
+ var tmp1_output = encoder.tl(tmp0_desc);
1399
+ var tmp2_cached = Companion_getInstance_0().g1h_1;
1400
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.v1f_1 == null)) {
1401
+ tmp1_output.ln(tmp0_desc, 0, tmp2_cached[0].t1(), value.v1f_1);
1397
1402
  }
1398
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.m1f_1 == null)) {
1399
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.m1f_1);
1403
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.w1f_1 == null)) {
1404
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.w1f_1);
1400
1405
  }
1401
- tmp1_output.ol(tmp0_desc);
1406
+ tmp1_output.ul(tmp0_desc);
1402
1407
  };
1403
- protoOf($serializer_2).ri = function (encoder, value) {
1404
- return this.y1g(encoder, value instanceof IngredientsList ? value : THROW_CCE());
1408
+ protoOf($serializer_2).xi = function (encoder, value) {
1409
+ return this.i1h(encoder, value instanceof IngredientsList ? value : THROW_CCE());
1405
1410
  };
1406
- protoOf($serializer_2).si = function (decoder) {
1407
- var tmp0_desc = this.x1g_1;
1411
+ protoOf($serializer_2).yi = function (decoder) {
1412
+ var tmp0_desc = this.h1h_1;
1408
1413
  var tmp1_flag = true;
1409
1414
  var tmp2_index = 0;
1410
1415
  var tmp3_bitMask0 = 0;
1411
1416
  var tmp4_local0 = null;
1412
1417
  var tmp5_local1 = null;
1413
- var tmp6_input = decoder.nl(tmp0_desc);
1414
- var tmp7_cached = Companion_getInstance_0().w1g_1;
1415
- if (tmp6_input.dm()) {
1416
- tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1418
+ var tmp6_input = decoder.tl(tmp0_desc);
1419
+ var tmp7_cached = Companion_getInstance_0().g1h_1;
1420
+ if (tmp6_input.jm()) {
1421
+ tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1417
1422
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1418
- tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1423
+ tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1419
1424
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1420
1425
  } else
1421
1426
  while (tmp1_flag) {
1422
- tmp2_index = tmp6_input.em(tmp0_desc);
1427
+ tmp2_index = tmp6_input.km(tmp0_desc);
1423
1428
  switch (tmp2_index) {
1424
1429
  case -1:
1425
1430
  tmp1_flag = false;
1426
1431
  break;
1427
1432
  case 0:
1428
- tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1433
+ tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1429
1434
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1430
1435
  break;
1431
1436
  case 1:
1432
- tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1437
+ tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1433
1438
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1434
1439
  break;
1435
1440
  default:
1436
1441
  throw UnknownFieldException_init_$Create$(tmp2_index);
1437
1442
  }
1438
1443
  }
1439
- tmp6_input.ol(tmp0_desc);
1444
+ tmp6_input.ul(tmp0_desc);
1440
1445
  return IngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1441
1446
  };
1442
- protoOf($serializer_2).qi = function () {
1443
- return this.x1g_1;
1447
+ protoOf($serializer_2).wi = function () {
1448
+ return this.h1h_1;
1444
1449
  };
1445
- protoOf($serializer_2).ys = function () {
1446
- var tmp0_cached = Companion_getInstance_0().w1g_1;
1450
+ protoOf($serializer_2).et = function () {
1451
+ var tmp0_cached = Companion_getInstance_0().g1h_1;
1447
1452
  // Inline function 'kotlin.arrayOf' call
1448
1453
  // Inline function 'kotlin.js.unsafeCast' call
1449
1454
  // Inline function 'kotlin.js.asDynamic' call
@@ -1457,16 +1462,16 @@
1457
1462
  }
1458
1463
  function IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, $this) {
1459
1464
  if (!(0 === (0 & seen0))) {
1460
- throwMissingFieldException(seen0, 0, $serializer_getInstance_2().x1g_1);
1465
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_2().h1h_1);
1461
1466
  }
1462
1467
  if (0 === (seen0 & 1))
1463
- $this.l1f_1 = null;
1468
+ $this.v1f_1 = null;
1464
1469
  else
1465
- $this.l1f_1 = ingredientsList;
1470
+ $this.v1f_1 = ingredientsList;
1466
1471
  if (0 === (seen0 & 2))
1467
- $this.m1f_1 = null;
1472
+ $this.w1f_1 = null;
1468
1473
  else
1469
- $this.m1f_1 = recipeSection;
1474
+ $this.w1f_1 = recipeSection;
1470
1475
  return $this;
1471
1476
  }
1472
1477
  function IngredientsList_init_$Create$(seen0, ingredientsList, recipeSection, serializationConstructorMarker) {
@@ -1476,15 +1481,15 @@
1476
1481
  Companion_getInstance_0();
1477
1482
  ingredientsList = ingredientsList === VOID ? null : ingredientsList;
1478
1483
  recipeSection = recipeSection === VOID ? null : recipeSection;
1479
- this.l1f_1 = ingredientsList;
1480
- this.m1f_1 = recipeSection;
1484
+ this.v1f_1 = ingredientsList;
1485
+ this.w1f_1 = recipeSection;
1481
1486
  }
1482
1487
  protoOf(IngredientsList).toString = function () {
1483
- return 'IngredientsList(ingredientsList=' + toString(this.l1f_1) + ', recipeSection=' + this.m1f_1 + ')';
1488
+ return 'IngredientsList(ingredientsList=' + toString(this.v1f_1) + ', recipeSection=' + this.w1f_1 + ')';
1484
1489
  };
1485
1490
  protoOf(IngredientsList).hashCode = function () {
1486
- var result = this.l1f_1 == null ? 0 : hashCode(this.l1f_1);
1487
- result = imul(result, 31) + (this.m1f_1 == null ? 0 : getStringHashCode(this.m1f_1)) | 0;
1491
+ var result = this.v1f_1 == null ? 0 : hashCode(this.v1f_1);
1492
+ result = imul(result, 31) + (this.w1f_1 == null ? 0 : getStringHashCode(this.w1f_1)) | 0;
1488
1493
  return result;
1489
1494
  };
1490
1495
  protoOf(IngredientsList).equals = function (other) {
@@ -1492,9 +1497,9 @@
1492
1497
  return true;
1493
1498
  if (!(other instanceof IngredientsList))
1494
1499
  return false;
1495
- if (!equals(this.l1f_1, other.l1f_1))
1500
+ if (!equals(this.v1f_1, other.v1f_1))
1496
1501
  return false;
1497
- if (!(this.m1f_1 == other.m1f_1))
1502
+ if (!(this.w1f_1 == other.w1f_1))
1498
1503
  return false;
1499
1504
  return true;
1500
1505
  };
@@ -1507,54 +1512,54 @@
1507
1512
  function $serializer_3() {
1508
1513
  $serializer_instance_3 = this;
1509
1514
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientItem', this, 9);
1510
- tmp0_serialDesc.ws('amount', true);
1511
- tmp0_serialDesc.ws('ingredientId', true);
1512
- tmp0_serialDesc.ws('name', true);
1513
- tmp0_serialDesc.ws('optional', true);
1514
- tmp0_serialDesc.ws('prefix', true);
1515
- tmp0_serialDesc.ws('suffix', true);
1516
- tmp0_serialDesc.ws('template', true);
1517
- tmp0_serialDesc.ws('text', true);
1518
- tmp0_serialDesc.ws('unit', true);
1519
- this.z1g_1 = tmp0_serialDesc;
1515
+ tmp0_serialDesc.ct('amount', true);
1516
+ tmp0_serialDesc.ct('ingredientId', true);
1517
+ tmp0_serialDesc.ct('name', true);
1518
+ tmp0_serialDesc.ct('optional', true);
1519
+ tmp0_serialDesc.ct('prefix', true);
1520
+ tmp0_serialDesc.ct('suffix', true);
1521
+ tmp0_serialDesc.ct('template', true);
1522
+ tmp0_serialDesc.ct('text', true);
1523
+ tmp0_serialDesc.ct('unit', true);
1524
+ this.j1h_1 = tmp0_serialDesc;
1520
1525
  }
1521
- protoOf($serializer_3).a1h = function (encoder, value) {
1522
- var tmp0_desc = this.z1g_1;
1523
- var tmp1_output = encoder.nl(tmp0_desc);
1524
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.n1f_1 == null)) {
1525
- tmp1_output.fn(tmp0_desc, 0, $serializer_getInstance_4(), value.n1f_1);
1526
+ protoOf($serializer_3).k1h = function (encoder, value) {
1527
+ var tmp0_desc = this.j1h_1;
1528
+ var tmp1_output = encoder.tl(tmp0_desc);
1529
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.x1f_1 == null)) {
1530
+ tmp1_output.ln(tmp0_desc, 0, $serializer_getInstance_4(), value.x1f_1);
1526
1531
  }
1527
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.o1f_1 == null)) {
1528
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.o1f_1);
1532
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.y1f_1 == null)) {
1533
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.y1f_1);
1529
1534
  }
1530
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.p1f_1 == null)) {
1531
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.p1f_1);
1535
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.z1f_1 == null)) {
1536
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.z1f_1);
1532
1537
  }
1533
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.q1f_1 == null)) {
1534
- tmp1_output.fn(tmp0_desc, 3, BooleanSerializer_getInstance(), value.q1f_1);
1538
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.a1g_1 == null)) {
1539
+ tmp1_output.ln(tmp0_desc, 3, BooleanSerializer_getInstance(), value.a1g_1);
1535
1540
  }
1536
- if (tmp1_output.jn(tmp0_desc, 4) ? true : !(value.r1f_1 == null)) {
1537
- tmp1_output.fn(tmp0_desc, 4, StringSerializer_getInstance(), value.r1f_1);
1541
+ if (tmp1_output.pn(tmp0_desc, 4) ? true : !(value.b1g_1 == null)) {
1542
+ tmp1_output.ln(tmp0_desc, 4, StringSerializer_getInstance(), value.b1g_1);
1538
1543
  }
1539
- if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.s1f_1 == null)) {
1540
- tmp1_output.fn(tmp0_desc, 5, StringSerializer_getInstance(), value.s1f_1);
1544
+ if (tmp1_output.pn(tmp0_desc, 5) ? true : !(value.c1g_1 == null)) {
1545
+ tmp1_output.ln(tmp0_desc, 5, StringSerializer_getInstance(), value.c1g_1);
1541
1546
  }
1542
- if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.t1f_1 == null)) {
1543
- tmp1_output.fn(tmp0_desc, 6, StringSerializer_getInstance(), value.t1f_1);
1547
+ if (tmp1_output.pn(tmp0_desc, 6) ? true : !(value.d1g_1 == null)) {
1548
+ tmp1_output.ln(tmp0_desc, 6, StringSerializer_getInstance(), value.d1g_1);
1544
1549
  }
1545
- if (tmp1_output.jn(tmp0_desc, 7) ? true : !(value.u1f_1 == null)) {
1546
- tmp1_output.fn(tmp0_desc, 7, StringSerializer_getInstance(), value.u1f_1);
1550
+ if (tmp1_output.pn(tmp0_desc, 7) ? true : !(value.e1g_1 == null)) {
1551
+ tmp1_output.ln(tmp0_desc, 7, StringSerializer_getInstance(), value.e1g_1);
1547
1552
  }
1548
- if (tmp1_output.jn(tmp0_desc, 8) ? true : !(value.v1f_1 == null)) {
1549
- tmp1_output.fn(tmp0_desc, 8, StringSerializer_getInstance(), value.v1f_1);
1553
+ if (tmp1_output.pn(tmp0_desc, 8) ? true : !(value.f1g_1 == null)) {
1554
+ tmp1_output.ln(tmp0_desc, 8, StringSerializer_getInstance(), value.f1g_1);
1550
1555
  }
1551
- tmp1_output.ol(tmp0_desc);
1556
+ tmp1_output.ul(tmp0_desc);
1552
1557
  };
1553
- protoOf($serializer_3).ri = function (encoder, value) {
1554
- return this.a1h(encoder, value instanceof IngredientItem ? value : THROW_CCE());
1558
+ protoOf($serializer_3).xi = function (encoder, value) {
1559
+ return this.k1h(encoder, value instanceof IngredientItem ? value : THROW_CCE());
1555
1560
  };
1556
- protoOf($serializer_3).si = function (decoder) {
1557
- var tmp0_desc = this.z1g_1;
1561
+ protoOf($serializer_3).yi = function (decoder) {
1562
+ var tmp0_desc = this.j1h_1;
1558
1563
  var tmp1_flag = true;
1559
1564
  var tmp2_index = 0;
1560
1565
  var tmp3_bitMask0 = 0;
@@ -1567,80 +1572,80 @@
1567
1572
  var tmp10_local6 = null;
1568
1573
  var tmp11_local7 = null;
1569
1574
  var tmp12_local8 = null;
1570
- var tmp13_input = decoder.nl(tmp0_desc);
1571
- if (tmp13_input.dm()) {
1572
- tmp4_local0 = tmp13_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1575
+ var tmp13_input = decoder.tl(tmp0_desc);
1576
+ if (tmp13_input.jm()) {
1577
+ tmp4_local0 = tmp13_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1573
1578
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1574
- tmp5_local1 = tmp13_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1579
+ tmp5_local1 = tmp13_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1575
1580
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1576
- tmp6_local2 = tmp13_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1581
+ tmp6_local2 = tmp13_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1577
1582
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1578
- tmp7_local3 = tmp13_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1583
+ tmp7_local3 = tmp13_input.hm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1579
1584
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1580
- tmp8_local4 = tmp13_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1585
+ tmp8_local4 = tmp13_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1581
1586
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1582
- tmp9_local5 = tmp13_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1587
+ tmp9_local5 = tmp13_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1583
1588
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1584
- tmp10_local6 = tmp13_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1589
+ tmp10_local6 = tmp13_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1585
1590
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1586
- tmp11_local7 = tmp13_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1591
+ tmp11_local7 = tmp13_input.hm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1587
1592
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1588
- tmp12_local8 = tmp13_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1593
+ tmp12_local8 = tmp13_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1589
1594
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1590
1595
  } else
1591
1596
  while (tmp1_flag) {
1592
- tmp2_index = tmp13_input.em(tmp0_desc);
1597
+ tmp2_index = tmp13_input.km(tmp0_desc);
1593
1598
  switch (tmp2_index) {
1594
1599
  case -1:
1595
1600
  tmp1_flag = false;
1596
1601
  break;
1597
1602
  case 0:
1598
- tmp4_local0 = tmp13_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1603
+ tmp4_local0 = tmp13_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1599
1604
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1600
1605
  break;
1601
1606
  case 1:
1602
- tmp5_local1 = tmp13_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1607
+ tmp5_local1 = tmp13_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1603
1608
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1604
1609
  break;
1605
1610
  case 2:
1606
- tmp6_local2 = tmp13_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1611
+ tmp6_local2 = tmp13_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1607
1612
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1608
1613
  break;
1609
1614
  case 3:
1610
- tmp7_local3 = tmp13_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1615
+ tmp7_local3 = tmp13_input.hm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1611
1616
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1612
1617
  break;
1613
1618
  case 4:
1614
- tmp8_local4 = tmp13_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1619
+ tmp8_local4 = tmp13_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1615
1620
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1616
1621
  break;
1617
1622
  case 5:
1618
- tmp9_local5 = tmp13_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1623
+ tmp9_local5 = tmp13_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1619
1624
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1620
1625
  break;
1621
1626
  case 6:
1622
- tmp10_local6 = tmp13_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1627
+ tmp10_local6 = tmp13_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1623
1628
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1624
1629
  break;
1625
1630
  case 7:
1626
- tmp11_local7 = tmp13_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1631
+ tmp11_local7 = tmp13_input.hm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1627
1632
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1628
1633
  break;
1629
1634
  case 8:
1630
- tmp12_local8 = tmp13_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1635
+ tmp12_local8 = tmp13_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1631
1636
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1632
1637
  break;
1633
1638
  default:
1634
1639
  throw UnknownFieldException_init_$Create$(tmp2_index);
1635
1640
  }
1636
1641
  }
1637
- tmp13_input.ol(tmp0_desc);
1642
+ tmp13_input.ul(tmp0_desc);
1638
1643
  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);
1639
1644
  };
1640
- protoOf($serializer_3).qi = function () {
1641
- return this.z1g_1;
1645
+ protoOf($serializer_3).wi = function () {
1646
+ return this.j1h_1;
1642
1647
  };
1643
- protoOf($serializer_3).ys = function () {
1648
+ protoOf($serializer_3).et = function () {
1644
1649
  // Inline function 'kotlin.arrayOf' call
1645
1650
  // Inline function 'kotlin.js.unsafeCast' call
1646
1651
  // Inline function 'kotlin.js.asDynamic' call
@@ -1654,44 +1659,44 @@
1654
1659
  }
1655
1660
  function IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, $this) {
1656
1661
  if (!(0 === (0 & seen0))) {
1657
- throwMissingFieldException(seen0, 0, $serializer_getInstance_3().z1g_1);
1662
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_3().j1h_1);
1658
1663
  }
1659
1664
  if (0 === (seen0 & 1))
1660
- $this.n1f_1 = null;
1665
+ $this.x1f_1 = null;
1661
1666
  else
1662
- $this.n1f_1 = amount;
1667
+ $this.x1f_1 = amount;
1663
1668
  if (0 === (seen0 & 2))
1664
- $this.o1f_1 = null;
1669
+ $this.y1f_1 = null;
1665
1670
  else
1666
- $this.o1f_1 = ingredientId;
1671
+ $this.y1f_1 = ingredientId;
1667
1672
  if (0 === (seen0 & 4))
1668
- $this.p1f_1 = null;
1673
+ $this.z1f_1 = null;
1669
1674
  else
1670
- $this.p1f_1 = name;
1675
+ $this.z1f_1 = name;
1671
1676
  if (0 === (seen0 & 8))
1672
- $this.q1f_1 = null;
1677
+ $this.a1g_1 = null;
1673
1678
  else
1674
- $this.q1f_1 = optional;
1679
+ $this.a1g_1 = optional;
1675
1680
  if (0 === (seen0 & 16))
1676
- $this.r1f_1 = null;
1681
+ $this.b1g_1 = null;
1677
1682
  else
1678
- $this.r1f_1 = prefix;
1683
+ $this.b1g_1 = prefix;
1679
1684
  if (0 === (seen0 & 32))
1680
- $this.s1f_1 = null;
1685
+ $this.c1g_1 = null;
1681
1686
  else
1682
- $this.s1f_1 = suffix;
1687
+ $this.c1g_1 = suffix;
1683
1688
  if (0 === (seen0 & 64))
1684
- $this.t1f_1 = null;
1689
+ $this.d1g_1 = null;
1685
1690
  else
1686
- $this.t1f_1 = template;
1691
+ $this.d1g_1 = template;
1687
1692
  if (0 === (seen0 & 128))
1688
- $this.u1f_1 = null;
1693
+ $this.e1g_1 = null;
1689
1694
  else
1690
- $this.u1f_1 = text;
1695
+ $this.e1g_1 = text;
1691
1696
  if (0 === (seen0 & 256))
1692
- $this.v1f_1 = null;
1697
+ $this.f1g_1 = null;
1693
1698
  else
1694
- $this.v1f_1 = unit;
1699
+ $this.f1g_1 = unit;
1695
1700
  return $this;
1696
1701
  }
1697
1702
  function IngredientItem_init_$Create$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker) {
@@ -1707,44 +1712,44 @@
1707
1712
  template = template === VOID ? null : template;
1708
1713
  text = text === VOID ? null : text;
1709
1714
  unit = unit === VOID ? null : unit;
1710
- this.n1f_1 = amount;
1711
- this.o1f_1 = ingredientId;
1712
- this.p1f_1 = name;
1713
- this.q1f_1 = optional;
1714
- this.r1f_1 = prefix;
1715
- this.s1f_1 = suffix;
1716
- this.t1f_1 = template;
1717
- this.u1f_1 = text;
1718
- this.v1f_1 = unit;
1719
- }
1720
- protoOf(IngredientItem).b1h = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
1715
+ this.x1f_1 = amount;
1716
+ this.y1f_1 = ingredientId;
1717
+ this.z1f_1 = name;
1718
+ this.a1g_1 = optional;
1719
+ this.b1g_1 = prefix;
1720
+ this.c1g_1 = suffix;
1721
+ this.d1g_1 = template;
1722
+ this.e1g_1 = text;
1723
+ this.f1g_1 = unit;
1724
+ }
1725
+ protoOf(IngredientItem).l1h = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
1721
1726
  return new IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1722
1727
  };
1723
- protoOf(IngredientItem).w1f = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
1724
- amount = amount === VOID ? this.n1f_1 : amount;
1725
- ingredientId = ingredientId === VOID ? this.o1f_1 : ingredientId;
1726
- name = name === VOID ? this.p1f_1 : name;
1727
- optional = optional === VOID ? this.q1f_1 : optional;
1728
- prefix = prefix === VOID ? this.r1f_1 : prefix;
1729
- suffix = suffix === VOID ? this.s1f_1 : suffix;
1730
- template = template === VOID ? this.t1f_1 : template;
1731
- text = text === VOID ? this.u1f_1 : text;
1732
- unit = unit === VOID ? this.v1f_1 : unit;
1733
- return $super === VOID ? this.b1h(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.b1h.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1728
+ protoOf(IngredientItem).g1g = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
1729
+ amount = amount === VOID ? this.x1f_1 : amount;
1730
+ ingredientId = ingredientId === VOID ? this.y1f_1 : ingredientId;
1731
+ name = name === VOID ? this.z1f_1 : name;
1732
+ optional = optional === VOID ? this.a1g_1 : optional;
1733
+ prefix = prefix === VOID ? this.b1g_1 : prefix;
1734
+ suffix = suffix === VOID ? this.c1g_1 : suffix;
1735
+ template = template === VOID ? this.d1g_1 : template;
1736
+ text = text === VOID ? this.e1g_1 : text;
1737
+ unit = unit === VOID ? this.f1g_1 : unit;
1738
+ return $super === VOID ? this.l1h(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.l1h.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1734
1739
  };
1735
1740
  protoOf(IngredientItem).toString = function () {
1736
- return 'IngredientItem(amount=' + toString(this.n1f_1) + ', ingredientId=' + this.o1f_1 + ', name=' + this.p1f_1 + ', optional=' + this.q1f_1 + ', prefix=' + this.r1f_1 + ', suffix=' + this.s1f_1 + ', template=' + this.t1f_1 + ', text=' + this.u1f_1 + ', unit=' + this.v1f_1 + ')';
1741
+ return 'IngredientItem(amount=' + toString(this.x1f_1) + ', ingredientId=' + this.y1f_1 + ', name=' + this.z1f_1 + ', optional=' + this.a1g_1 + ', prefix=' + this.b1g_1 + ', suffix=' + this.c1g_1 + ', template=' + this.d1g_1 + ', text=' + this.e1g_1 + ', unit=' + this.f1g_1 + ')';
1737
1742
  };
1738
1743
  protoOf(IngredientItem).hashCode = function () {
1739
- var result = this.n1f_1 == null ? 0 : this.n1f_1.hashCode();
1740
- result = imul(result, 31) + (this.o1f_1 == null ? 0 : getStringHashCode(this.o1f_1)) | 0;
1741
- result = imul(result, 31) + (this.p1f_1 == null ? 0 : getStringHashCode(this.p1f_1)) | 0;
1742
- result = imul(result, 31) + (this.q1f_1 == null ? 0 : getBooleanHashCode(this.q1f_1)) | 0;
1743
- result = imul(result, 31) + (this.r1f_1 == null ? 0 : getStringHashCode(this.r1f_1)) | 0;
1744
- result = imul(result, 31) + (this.s1f_1 == null ? 0 : getStringHashCode(this.s1f_1)) | 0;
1745
- result = imul(result, 31) + (this.t1f_1 == null ? 0 : getStringHashCode(this.t1f_1)) | 0;
1746
- result = imul(result, 31) + (this.u1f_1 == null ? 0 : getStringHashCode(this.u1f_1)) | 0;
1747
- result = imul(result, 31) + (this.v1f_1 == null ? 0 : getStringHashCode(this.v1f_1)) | 0;
1744
+ var result = this.x1f_1 == null ? 0 : this.x1f_1.hashCode();
1745
+ result = imul(result, 31) + (this.y1f_1 == null ? 0 : getStringHashCode(this.y1f_1)) | 0;
1746
+ result = imul(result, 31) + (this.z1f_1 == null ? 0 : getStringHashCode(this.z1f_1)) | 0;
1747
+ result = imul(result, 31) + (this.a1g_1 == null ? 0 : getBooleanHashCode(this.a1g_1)) | 0;
1748
+ result = imul(result, 31) + (this.b1g_1 == null ? 0 : getStringHashCode(this.b1g_1)) | 0;
1749
+ result = imul(result, 31) + (this.c1g_1 == null ? 0 : getStringHashCode(this.c1g_1)) | 0;
1750
+ result = imul(result, 31) + (this.d1g_1 == null ? 0 : getStringHashCode(this.d1g_1)) | 0;
1751
+ result = imul(result, 31) + (this.e1g_1 == null ? 0 : getStringHashCode(this.e1g_1)) | 0;
1752
+ result = imul(result, 31) + (this.f1g_1 == null ? 0 : getStringHashCode(this.f1g_1)) | 0;
1748
1753
  return result;
1749
1754
  };
1750
1755
  protoOf(IngredientItem).equals = function (other) {
@@ -1752,23 +1757,23 @@
1752
1757
  return true;
1753
1758
  if (!(other instanceof IngredientItem))
1754
1759
  return false;
1755
- if (!equals(this.n1f_1, other.n1f_1))
1760
+ if (!equals(this.x1f_1, other.x1f_1))
1756
1761
  return false;
1757
- if (!(this.o1f_1 == other.o1f_1))
1762
+ if (!(this.y1f_1 == other.y1f_1))
1758
1763
  return false;
1759
- if (!(this.p1f_1 == other.p1f_1))
1764
+ if (!(this.z1f_1 == other.z1f_1))
1760
1765
  return false;
1761
- if (!(this.q1f_1 == other.q1f_1))
1766
+ if (!(this.a1g_1 == other.a1g_1))
1762
1767
  return false;
1763
- if (!(this.r1f_1 == other.r1f_1))
1768
+ if (!(this.b1g_1 == other.b1g_1))
1764
1769
  return false;
1765
- if (!(this.s1f_1 == other.s1f_1))
1770
+ if (!(this.c1g_1 == other.c1g_1))
1766
1771
  return false;
1767
- if (!(this.t1f_1 == other.t1f_1))
1772
+ if (!(this.d1g_1 == other.d1g_1))
1768
1773
  return false;
1769
- if (!(this.u1f_1 == other.u1f_1))
1774
+ if (!(this.e1g_1 == other.e1g_1))
1770
1775
  return false;
1771
- if (!(this.v1f_1 == other.v1f_1))
1776
+ if (!(this.f1g_1 == other.f1g_1))
1772
1777
  return false;
1773
1778
  return true;
1774
1779
  };
@@ -1781,63 +1786,63 @@
1781
1786
  function $serializer_4() {
1782
1787
  $serializer_instance_4 = this;
1783
1788
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Range', this, 2);
1784
- tmp0_serialDesc.ws('max', true);
1785
- tmp0_serialDesc.ws('min', true);
1786
- this.c1h_1 = tmp0_serialDesc;
1789
+ tmp0_serialDesc.ct('max', true);
1790
+ tmp0_serialDesc.ct('min', true);
1791
+ this.m1h_1 = tmp0_serialDesc;
1787
1792
  }
1788
- protoOf($serializer_4).d1h = function (encoder, value) {
1789
- var tmp0_desc = this.c1h_1;
1790
- var tmp1_output = encoder.nl(tmp0_desc);
1791
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.e1h_1 == null)) {
1792
- tmp1_output.fn(tmp0_desc, 0, DoubleSerializer_getInstance(), value.e1h_1);
1793
+ protoOf($serializer_4).n1h = function (encoder, value) {
1794
+ var tmp0_desc = this.m1h_1;
1795
+ var tmp1_output = encoder.tl(tmp0_desc);
1796
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.o1h_1 == null)) {
1797
+ tmp1_output.ln(tmp0_desc, 0, DoubleSerializer_getInstance(), value.o1h_1);
1793
1798
  }
1794
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.f1h_1 == null)) {
1795
- tmp1_output.fn(tmp0_desc, 1, DoubleSerializer_getInstance(), value.f1h_1);
1799
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.p1h_1 == null)) {
1800
+ tmp1_output.ln(tmp0_desc, 1, DoubleSerializer_getInstance(), value.p1h_1);
1796
1801
  }
1797
- tmp1_output.ol(tmp0_desc);
1802
+ tmp1_output.ul(tmp0_desc);
1798
1803
  };
1799
- protoOf($serializer_4).ri = function (encoder, value) {
1800
- return this.d1h(encoder, value instanceof Range ? value : THROW_CCE());
1804
+ protoOf($serializer_4).xi = function (encoder, value) {
1805
+ return this.n1h(encoder, value instanceof Range ? value : THROW_CCE());
1801
1806
  };
1802
- protoOf($serializer_4).si = function (decoder) {
1803
- var tmp0_desc = this.c1h_1;
1807
+ protoOf($serializer_4).yi = function (decoder) {
1808
+ var tmp0_desc = this.m1h_1;
1804
1809
  var tmp1_flag = true;
1805
1810
  var tmp2_index = 0;
1806
1811
  var tmp3_bitMask0 = 0;
1807
1812
  var tmp4_local0 = null;
1808
1813
  var tmp5_local1 = null;
1809
- var tmp6_input = decoder.nl(tmp0_desc);
1810
- if (tmp6_input.dm()) {
1811
- tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1814
+ var tmp6_input = decoder.tl(tmp0_desc);
1815
+ if (tmp6_input.jm()) {
1816
+ tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1812
1817
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1813
- tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1818
+ tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1814
1819
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1815
1820
  } else
1816
1821
  while (tmp1_flag) {
1817
- tmp2_index = tmp6_input.em(tmp0_desc);
1822
+ tmp2_index = tmp6_input.km(tmp0_desc);
1818
1823
  switch (tmp2_index) {
1819
1824
  case -1:
1820
1825
  tmp1_flag = false;
1821
1826
  break;
1822
1827
  case 0:
1823
- tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1828
+ tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1824
1829
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1825
1830
  break;
1826
1831
  case 1:
1827
- tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1832
+ tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1828
1833
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1829
1834
  break;
1830
1835
  default:
1831
1836
  throw UnknownFieldException_init_$Create$(tmp2_index);
1832
1837
  }
1833
1838
  }
1834
- tmp6_input.ol(tmp0_desc);
1839
+ tmp6_input.ul(tmp0_desc);
1835
1840
  return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1836
1841
  };
1837
- protoOf($serializer_4).qi = function () {
1838
- return this.c1h_1;
1842
+ protoOf($serializer_4).wi = function () {
1843
+ return this.m1h_1;
1839
1844
  };
1840
- protoOf($serializer_4).ys = function () {
1845
+ protoOf($serializer_4).et = function () {
1841
1846
  // Inline function 'kotlin.arrayOf' call
1842
1847
  // Inline function 'kotlin.js.unsafeCast' call
1843
1848
  // Inline function 'kotlin.js.asDynamic' call
@@ -1851,16 +1856,16 @@
1851
1856
  }
1852
1857
  function Range_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
1853
1858
  if (!(0 === (0 & seen0))) {
1854
- throwMissingFieldException(seen0, 0, $serializer_getInstance_4().c1h_1);
1859
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_4().m1h_1);
1855
1860
  }
1856
1861
  if (0 === (seen0 & 1))
1857
- $this.e1h_1 = null;
1862
+ $this.o1h_1 = null;
1858
1863
  else
1859
- $this.e1h_1 = max;
1864
+ $this.o1h_1 = max;
1860
1865
  if (0 === (seen0 & 2))
1861
- $this.f1h_1 = null;
1866
+ $this.p1h_1 = null;
1862
1867
  else
1863
- $this.f1h_1 = min;
1868
+ $this.p1h_1 = min;
1864
1869
  return $this;
1865
1870
  }
1866
1871
  function Range_init_$Create$(seen0, max, min, serializationConstructorMarker) {
@@ -1869,15 +1874,15 @@
1869
1874
  function Range(max, min) {
1870
1875
  max = max === VOID ? null : max;
1871
1876
  min = min === VOID ? null : min;
1872
- this.e1h_1 = max;
1873
- this.f1h_1 = min;
1877
+ this.o1h_1 = max;
1878
+ this.p1h_1 = min;
1874
1879
  }
1875
1880
  protoOf(Range).toString = function () {
1876
- return 'Range(max=' + this.e1h_1 + ', min=' + this.f1h_1 + ')';
1881
+ return 'Range(max=' + this.o1h_1 + ', min=' + this.p1h_1 + ')';
1877
1882
  };
1878
1883
  protoOf(Range).hashCode = function () {
1879
- var result = this.e1h_1 == null ? 0 : getNumberHashCode(this.e1h_1);
1880
- result = imul(result, 31) + (this.f1h_1 == null ? 0 : getNumberHashCode(this.f1h_1)) | 0;
1884
+ var result = this.o1h_1 == null ? 0 : getNumberHashCode(this.o1h_1);
1885
+ result = imul(result, 31) + (this.p1h_1 == null ? 0 : getNumberHashCode(this.p1h_1)) | 0;
1881
1886
  return result;
1882
1887
  };
1883
1888
  protoOf(Range).equals = function (other) {
@@ -1885,9 +1890,9 @@
1885
1890
  return true;
1886
1891
  if (!(other instanceof Range))
1887
1892
  return false;
1888
- if (!equals(this.e1h_1, other.e1h_1))
1893
+ if (!equals(this.o1h_1, other.o1h_1))
1889
1894
  return false;
1890
- if (!equals(this.f1h_1, other.f1h_1))
1895
+ if (!equals(this.p1h_1, other.p1h_1))
1891
1896
  return false;
1892
1897
  return true;
1893
1898
  };
@@ -1901,7 +1906,7 @@
1901
1906
  // Inline function 'kotlin.arrayOf' call
1902
1907
  // Inline function 'kotlin.js.unsafeCast' call
1903
1908
  // Inline function 'kotlin.js.asDynamic' call
1904
- tmp.g1h_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
1909
+ tmp.q1h_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
1905
1910
  }
1906
1911
  var Companion_instance_3;
1907
1912
  function Companion_getInstance_3() {
@@ -1912,33 +1917,33 @@
1912
1917
  function $serializer_5() {
1913
1918
  $serializer_instance_5 = this;
1914
1919
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Instruction', this, 4);
1915
- tmp0_serialDesc.ws('description', false);
1916
- tmp0_serialDesc.ws('descriptionTemplate', true);
1917
- tmp0_serialDesc.ws('images', true);
1918
- tmp0_serialDesc.ws('stepNumber', true);
1919
- this.h1h_1 = tmp0_serialDesc;
1920
+ tmp0_serialDesc.ct('description', false);
1921
+ tmp0_serialDesc.ct('descriptionTemplate', true);
1922
+ tmp0_serialDesc.ct('images', true);
1923
+ tmp0_serialDesc.ct('stepNumber', true);
1924
+ this.r1h_1 = tmp0_serialDesc;
1920
1925
  }
1921
- protoOf($serializer_5).i1h = function (encoder, value) {
1922
- var tmp0_desc = this.h1h_1;
1923
- var tmp1_output = encoder.nl(tmp0_desc);
1924
- var tmp2_cached = Companion_getInstance_3().g1h_1;
1925
- tmp1_output.bn(tmp0_desc, 0, value.x1f_1);
1926
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.y1f_1 == null)) {
1927
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.y1f_1);
1926
+ protoOf($serializer_5).s1h = function (encoder, value) {
1927
+ var tmp0_desc = this.r1h_1;
1928
+ var tmp1_output = encoder.tl(tmp0_desc);
1929
+ var tmp2_cached = Companion_getInstance_3().q1h_1;
1930
+ tmp1_output.hn(tmp0_desc, 0, value.h1g_1);
1931
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.i1g_1 == null)) {
1932
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.i1g_1);
1928
1933
  }
1929
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.z1f_1 == null)) {
1930
- tmp1_output.fn(tmp0_desc, 2, tmp2_cached[2].t1(), value.z1f_1);
1934
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.j1g_1 == null)) {
1935
+ tmp1_output.ln(tmp0_desc, 2, tmp2_cached[2].t1(), value.j1g_1);
1931
1936
  }
1932
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.a1g_1 == null)) {
1933
- tmp1_output.fn(tmp0_desc, 3, DoubleSerializer_getInstance(), value.a1g_1);
1937
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.k1g_1 == null)) {
1938
+ tmp1_output.ln(tmp0_desc, 3, DoubleSerializer_getInstance(), value.k1g_1);
1934
1939
  }
1935
- tmp1_output.ol(tmp0_desc);
1940
+ tmp1_output.ul(tmp0_desc);
1936
1941
  };
1937
- protoOf($serializer_5).ri = function (encoder, value) {
1938
- return this.i1h(encoder, value instanceof Instruction ? value : THROW_CCE());
1942
+ protoOf($serializer_5).xi = function (encoder, value) {
1943
+ return this.s1h(encoder, value instanceof Instruction ? value : THROW_CCE());
1939
1944
  };
1940
- protoOf($serializer_5).si = function (decoder) {
1941
- var tmp0_desc = this.h1h_1;
1945
+ protoOf($serializer_5).yi = function (decoder) {
1946
+ var tmp0_desc = this.r1h_1;
1942
1947
  var tmp1_flag = true;
1943
1948
  var tmp2_index = 0;
1944
1949
  var tmp3_bitMask0 = 0;
@@ -1946,52 +1951,52 @@
1946
1951
  var tmp5_local1 = null;
1947
1952
  var tmp6_local2 = null;
1948
1953
  var tmp7_local3 = null;
1949
- var tmp8_input = decoder.nl(tmp0_desc);
1950
- var tmp9_cached = Companion_getInstance_3().g1h_1;
1951
- if (tmp8_input.dm()) {
1952
- tmp4_local0 = tmp8_input.xl(tmp0_desc, 0);
1954
+ var tmp8_input = decoder.tl(tmp0_desc);
1955
+ var tmp9_cached = Companion_getInstance_3().q1h_1;
1956
+ if (tmp8_input.jm()) {
1957
+ tmp4_local0 = tmp8_input.dm(tmp0_desc, 0);
1953
1958
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1954
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1959
+ tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1955
1960
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1956
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1961
+ tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1957
1962
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1958
- tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1963
+ tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1959
1964
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1960
1965
  } else
1961
1966
  while (tmp1_flag) {
1962
- tmp2_index = tmp8_input.em(tmp0_desc);
1967
+ tmp2_index = tmp8_input.km(tmp0_desc);
1963
1968
  switch (tmp2_index) {
1964
1969
  case -1:
1965
1970
  tmp1_flag = false;
1966
1971
  break;
1967
1972
  case 0:
1968
- tmp4_local0 = tmp8_input.xl(tmp0_desc, 0);
1973
+ tmp4_local0 = tmp8_input.dm(tmp0_desc, 0);
1969
1974
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1970
1975
  break;
1971
1976
  case 1:
1972
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1977
+ tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1973
1978
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1974
1979
  break;
1975
1980
  case 2:
1976
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1981
+ tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1977
1982
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1978
1983
  break;
1979
1984
  case 3:
1980
- tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1985
+ tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1981
1986
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1982
1987
  break;
1983
1988
  default:
1984
1989
  throw UnknownFieldException_init_$Create$(tmp2_index);
1985
1990
  }
1986
1991
  }
1987
- tmp8_input.ol(tmp0_desc);
1992
+ tmp8_input.ul(tmp0_desc);
1988
1993
  return Instruction_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1989
1994
  };
1990
- protoOf($serializer_5).qi = function () {
1991
- return this.h1h_1;
1995
+ protoOf($serializer_5).wi = function () {
1996
+ return this.r1h_1;
1992
1997
  };
1993
- protoOf($serializer_5).ys = function () {
1994
- var tmp0_cached = Companion_getInstance_3().g1h_1;
1998
+ protoOf($serializer_5).et = function () {
1999
+ var tmp0_cached = Companion_getInstance_3().q1h_1;
1995
2000
  // Inline function 'kotlin.arrayOf' call
1996
2001
  // Inline function 'kotlin.js.unsafeCast' call
1997
2002
  // Inline function 'kotlin.js.asDynamic' call
@@ -2005,21 +2010,21 @@
2005
2010
  }
2006
2011
  function Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, $this) {
2007
2012
  if (!(1 === (1 & seen0))) {
2008
- throwMissingFieldException(seen0, 1, $serializer_getInstance_5().h1h_1);
2013
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_5().r1h_1);
2009
2014
  }
2010
- $this.x1f_1 = description;
2015
+ $this.h1g_1 = description;
2011
2016
  if (0 === (seen0 & 2))
2012
- $this.y1f_1 = null;
2017
+ $this.i1g_1 = null;
2013
2018
  else
2014
- $this.y1f_1 = descriptionTemplate;
2019
+ $this.i1g_1 = descriptionTemplate;
2015
2020
  if (0 === (seen0 & 4))
2016
- $this.z1f_1 = null;
2021
+ $this.j1g_1 = null;
2017
2022
  else
2018
- $this.z1f_1 = images;
2023
+ $this.j1g_1 = images;
2019
2024
  if (0 === (seen0 & 8))
2020
- $this.a1g_1 = null;
2025
+ $this.k1g_1 = null;
2021
2026
  else
2022
- $this.a1g_1 = stepNumber;
2027
+ $this.k1g_1 = stepNumber;
2023
2028
  return $this;
2024
2029
  }
2025
2030
  function Instruction_init_$Create$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker) {
@@ -2030,29 +2035,29 @@
2030
2035
  descriptionTemplate = descriptionTemplate === VOID ? null : descriptionTemplate;
2031
2036
  images = images === VOID ? null : images;
2032
2037
  stepNumber = stepNumber === VOID ? null : stepNumber;
2033
- this.x1f_1 = description;
2034
- this.y1f_1 = descriptionTemplate;
2035
- this.z1f_1 = images;
2036
- this.a1g_1 = stepNumber;
2038
+ this.h1g_1 = description;
2039
+ this.i1g_1 = descriptionTemplate;
2040
+ this.j1g_1 = images;
2041
+ this.k1g_1 = stepNumber;
2037
2042
  }
2038
- protoOf(Instruction).j1h = function (description, descriptionTemplate, images, stepNumber) {
2043
+ protoOf(Instruction).t1h = function (description, descriptionTemplate, images, stepNumber) {
2039
2044
  return new Instruction(description, descriptionTemplate, images, stepNumber);
2040
2045
  };
2041
- protoOf(Instruction).b1g = function (description, descriptionTemplate, images, stepNumber, $super) {
2042
- description = description === VOID ? this.x1f_1 : description;
2043
- descriptionTemplate = descriptionTemplate === VOID ? this.y1f_1 : descriptionTemplate;
2044
- images = images === VOID ? this.z1f_1 : images;
2045
- stepNumber = stepNumber === VOID ? this.a1g_1 : stepNumber;
2046
- return $super === VOID ? this.j1h(description, descriptionTemplate, images, stepNumber) : $super.j1h.call(this, description, descriptionTemplate, images, stepNumber);
2046
+ protoOf(Instruction).l1g = function (description, descriptionTemplate, images, stepNumber, $super) {
2047
+ description = description === VOID ? this.h1g_1 : description;
2048
+ descriptionTemplate = descriptionTemplate === VOID ? this.i1g_1 : descriptionTemplate;
2049
+ images = images === VOID ? this.j1g_1 : images;
2050
+ stepNumber = stepNumber === VOID ? this.k1g_1 : stepNumber;
2051
+ return $super === VOID ? this.t1h(description, descriptionTemplate, images, stepNumber) : $super.t1h.call(this, description, descriptionTemplate, images, stepNumber);
2047
2052
  };
2048
2053
  protoOf(Instruction).toString = function () {
2049
- return 'Instruction(description=' + this.x1f_1 + ', descriptionTemplate=' + this.y1f_1 + ', images=' + toString(this.z1f_1) + ', stepNumber=' + this.a1g_1 + ')';
2054
+ return 'Instruction(description=' + this.h1g_1 + ', descriptionTemplate=' + this.i1g_1 + ', images=' + toString(this.j1g_1) + ', stepNumber=' + this.k1g_1 + ')';
2050
2055
  };
2051
2056
  protoOf(Instruction).hashCode = function () {
2052
- var result = getStringHashCode(this.x1f_1);
2053
- result = imul(result, 31) + (this.y1f_1 == null ? 0 : getStringHashCode(this.y1f_1)) | 0;
2054
- result = imul(result, 31) + (this.z1f_1 == null ? 0 : hashCode(this.z1f_1)) | 0;
2055
- result = imul(result, 31) + (this.a1g_1 == null ? 0 : getNumberHashCode(this.a1g_1)) | 0;
2057
+ var result = getStringHashCode(this.h1g_1);
2058
+ result = imul(result, 31) + (this.i1g_1 == null ? 0 : getStringHashCode(this.i1g_1)) | 0;
2059
+ result = imul(result, 31) + (this.j1g_1 == null ? 0 : hashCode(this.j1g_1)) | 0;
2060
+ result = imul(result, 31) + (this.k1g_1 == null ? 0 : getNumberHashCode(this.k1g_1)) | 0;
2056
2061
  return result;
2057
2062
  };
2058
2063
  protoOf(Instruction).equals = function (other) {
@@ -2060,85 +2065,85 @@
2060
2065
  return true;
2061
2066
  if (!(other instanceof Instruction))
2062
2067
  return false;
2063
- if (!(this.x1f_1 === other.x1f_1))
2068
+ if (!(this.h1g_1 === other.h1g_1))
2064
2069
  return false;
2065
- if (!(this.y1f_1 == other.y1f_1))
2070
+ if (!(this.i1g_1 == other.i1g_1))
2066
2071
  return false;
2067
- if (!equals(this.z1f_1, other.z1f_1))
2072
+ if (!equals(this.j1g_1, other.j1g_1))
2068
2073
  return false;
2069
- if (!equals(this.a1g_1, other.a1g_1))
2074
+ if (!equals(this.k1g_1, other.k1g_1))
2070
2075
  return false;
2071
2076
  return true;
2072
2077
  };
2073
2078
  function $serializer_6() {
2074
2079
  $serializer_instance_6 = this;
2075
2080
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Serves', this, 3);
2076
- tmp0_serialDesc.ws('amount', true);
2077
- tmp0_serialDesc.ws('text', true);
2078
- tmp0_serialDesc.ws('unit', false);
2079
- this.k1h_1 = tmp0_serialDesc;
2081
+ tmp0_serialDesc.ct('amount', true);
2082
+ tmp0_serialDesc.ct('text', true);
2083
+ tmp0_serialDesc.ct('unit', false);
2084
+ this.u1h_1 = tmp0_serialDesc;
2080
2085
  }
2081
- protoOf($serializer_6).l1h = function (encoder, value) {
2082
- var tmp0_desc = this.k1h_1;
2083
- var tmp1_output = encoder.nl(tmp0_desc);
2084
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.m1h_1 == null)) {
2085
- tmp1_output.fn(tmp0_desc, 0, $serializer_getInstance_4(), value.m1h_1);
2086
+ protoOf($serializer_6).v1h = function (encoder, value) {
2087
+ var tmp0_desc = this.u1h_1;
2088
+ var tmp1_output = encoder.tl(tmp0_desc);
2089
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.w1h_1 == null)) {
2090
+ tmp1_output.ln(tmp0_desc, 0, $serializer_getInstance_4(), value.w1h_1);
2086
2091
  }
2087
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.n1h_1 == null)) {
2088
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.n1h_1);
2092
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.x1h_1 == null)) {
2093
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.x1h_1);
2089
2094
  }
2090
- tmp1_output.bn(tmp0_desc, 2, value.o1h_1);
2091
- tmp1_output.ol(tmp0_desc);
2095
+ tmp1_output.hn(tmp0_desc, 2, value.y1h_1);
2096
+ tmp1_output.ul(tmp0_desc);
2092
2097
  };
2093
- protoOf($serializer_6).ri = function (encoder, value) {
2094
- return this.l1h(encoder, value instanceof Serves ? value : THROW_CCE());
2098
+ protoOf($serializer_6).xi = function (encoder, value) {
2099
+ return this.v1h(encoder, value instanceof Serves ? value : THROW_CCE());
2095
2100
  };
2096
- protoOf($serializer_6).si = function (decoder) {
2097
- var tmp0_desc = this.k1h_1;
2101
+ protoOf($serializer_6).yi = function (decoder) {
2102
+ var tmp0_desc = this.u1h_1;
2098
2103
  var tmp1_flag = true;
2099
2104
  var tmp2_index = 0;
2100
2105
  var tmp3_bitMask0 = 0;
2101
2106
  var tmp4_local0 = null;
2102
2107
  var tmp5_local1 = null;
2103
2108
  var tmp6_local2 = null;
2104
- var tmp7_input = decoder.nl(tmp0_desc);
2105
- if (tmp7_input.dm()) {
2106
- tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2109
+ var tmp7_input = decoder.tl(tmp0_desc);
2110
+ if (tmp7_input.jm()) {
2111
+ tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2107
2112
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2108
- tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2113
+ tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2109
2114
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2110
- tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
2115
+ tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
2111
2116
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2112
2117
  } else
2113
2118
  while (tmp1_flag) {
2114
- tmp2_index = tmp7_input.em(tmp0_desc);
2119
+ tmp2_index = tmp7_input.km(tmp0_desc);
2115
2120
  switch (tmp2_index) {
2116
2121
  case -1:
2117
2122
  tmp1_flag = false;
2118
2123
  break;
2119
2124
  case 0:
2120
- tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2125
+ tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2121
2126
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2122
2127
  break;
2123
2128
  case 1:
2124
- tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2129
+ tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2125
2130
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2126
2131
  break;
2127
2132
  case 2:
2128
- tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
2133
+ tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
2129
2134
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2130
2135
  break;
2131
2136
  default:
2132
2137
  throw UnknownFieldException_init_$Create$(tmp2_index);
2133
2138
  }
2134
2139
  }
2135
- tmp7_input.ol(tmp0_desc);
2140
+ tmp7_input.ul(tmp0_desc);
2136
2141
  return Serves_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
2137
2142
  };
2138
- protoOf($serializer_6).qi = function () {
2139
- return this.k1h_1;
2143
+ protoOf($serializer_6).wi = function () {
2144
+ return this.u1h_1;
2140
2145
  };
2141
- protoOf($serializer_6).ys = function () {
2146
+ protoOf($serializer_6).et = function () {
2142
2147
  // Inline function 'kotlin.arrayOf' call
2143
2148
  // Inline function 'kotlin.js.unsafeCast' call
2144
2149
  // Inline function 'kotlin.js.asDynamic' call
@@ -2152,17 +2157,17 @@
2152
2157
  }
2153
2158
  function Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, $this) {
2154
2159
  if (!(4 === (4 & seen0))) {
2155
- throwMissingFieldException(seen0, 4, $serializer_getInstance_6().k1h_1);
2160
+ throwMissingFieldException(seen0, 4, $serializer_getInstance_6().u1h_1);
2156
2161
  }
2157
2162
  if (0 === (seen0 & 1))
2158
- $this.m1h_1 = null;
2163
+ $this.w1h_1 = null;
2159
2164
  else
2160
- $this.m1h_1 = amount;
2165
+ $this.w1h_1 = amount;
2161
2166
  if (0 === (seen0 & 2))
2162
- $this.n1h_1 = null;
2167
+ $this.x1h_1 = null;
2163
2168
  else
2164
- $this.n1h_1 = text;
2165
- $this.o1h_1 = unit;
2169
+ $this.x1h_1 = text;
2170
+ $this.y1h_1 = unit;
2166
2171
  return $this;
2167
2172
  }
2168
2173
  function Serves_init_$Create$(seen0, amount, text, unit, serializationConstructorMarker) {
@@ -2171,12 +2176,12 @@
2171
2176
  function Serves() {
2172
2177
  }
2173
2178
  protoOf(Serves).toString = function () {
2174
- return 'Serves(amount=' + toString(this.m1h_1) + ', text=' + this.n1h_1 + ', unit=' + this.o1h_1 + ')';
2179
+ return 'Serves(amount=' + toString(this.w1h_1) + ', text=' + this.x1h_1 + ', unit=' + this.y1h_1 + ')';
2175
2180
  };
2176
2181
  protoOf(Serves).hashCode = function () {
2177
- var result = this.m1h_1 == null ? 0 : this.m1h_1.hashCode();
2178
- result = imul(result, 31) + (this.n1h_1 == null ? 0 : getStringHashCode(this.n1h_1)) | 0;
2179
- result = imul(result, 31) + getStringHashCode(this.o1h_1) | 0;
2182
+ var result = this.w1h_1 == null ? 0 : this.w1h_1.hashCode();
2183
+ result = imul(result, 31) + (this.x1h_1 == null ? 0 : getStringHashCode(this.x1h_1)) | 0;
2184
+ result = imul(result, 31) + getStringHashCode(this.y1h_1) | 0;
2180
2185
  return result;
2181
2186
  };
2182
2187
  protoOf(Serves).equals = function (other) {
@@ -2184,11 +2189,11 @@
2184
2189
  return true;
2185
2190
  if (!(other instanceof Serves))
2186
2191
  return false;
2187
- if (!equals(this.m1h_1, other.m1h_1))
2192
+ if (!equals(this.w1h_1, other.w1h_1))
2188
2193
  return false;
2189
- if (!(this.n1h_1 == other.n1h_1))
2194
+ if (!(this.x1h_1 == other.x1h_1))
2190
2195
  return false;
2191
- if (!(this.o1h_1 === other.o1h_1))
2196
+ if (!(this.y1h_1 === other.y1h_1))
2192
2197
  return false;
2193
2198
  return true;
2194
2199
  };
@@ -2201,74 +2206,74 @@
2201
2206
  function $serializer_7() {
2202
2207
  $serializer_instance_7 = this;
2203
2208
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Timing', this, 3);
2204
- tmp0_serialDesc.ws('durationInMins', true);
2205
- tmp0_serialDesc.ws('qualifier', true);
2206
- tmp0_serialDesc.ws('text', true);
2207
- this.p1h_1 = tmp0_serialDesc;
2209
+ tmp0_serialDesc.ct('durationInMins', true);
2210
+ tmp0_serialDesc.ct('qualifier', true);
2211
+ tmp0_serialDesc.ct('text', true);
2212
+ this.z1h_1 = tmp0_serialDesc;
2208
2213
  }
2209
- protoOf($serializer_7).q1h = function (encoder, value) {
2210
- var tmp0_desc = this.p1h_1;
2211
- var tmp1_output = encoder.nl(tmp0_desc);
2212
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.r1h_1 == null)) {
2213
- tmp1_output.fn(tmp0_desc, 0, $serializer_getInstance_4(), value.r1h_1);
2214
+ protoOf($serializer_7).a1i = function (encoder, value) {
2215
+ var tmp0_desc = this.z1h_1;
2216
+ var tmp1_output = encoder.tl(tmp0_desc);
2217
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.b1i_1 == null)) {
2218
+ tmp1_output.ln(tmp0_desc, 0, $serializer_getInstance_4(), value.b1i_1);
2214
2219
  }
2215
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.s1h_1 == null)) {
2216
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.s1h_1);
2220
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.c1i_1 == null)) {
2221
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.c1i_1);
2217
2222
  }
2218
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.t1h_1 == null)) {
2219
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.t1h_1);
2223
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.d1i_1 == null)) {
2224
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.d1i_1);
2220
2225
  }
2221
- tmp1_output.ol(tmp0_desc);
2226
+ tmp1_output.ul(tmp0_desc);
2222
2227
  };
2223
- protoOf($serializer_7).ri = function (encoder, value) {
2224
- return this.q1h(encoder, value instanceof Timing ? value : THROW_CCE());
2228
+ protoOf($serializer_7).xi = function (encoder, value) {
2229
+ return this.a1i(encoder, value instanceof Timing ? value : THROW_CCE());
2225
2230
  };
2226
- protoOf($serializer_7).si = function (decoder) {
2227
- var tmp0_desc = this.p1h_1;
2231
+ protoOf($serializer_7).yi = function (decoder) {
2232
+ var tmp0_desc = this.z1h_1;
2228
2233
  var tmp1_flag = true;
2229
2234
  var tmp2_index = 0;
2230
2235
  var tmp3_bitMask0 = 0;
2231
2236
  var tmp4_local0 = null;
2232
2237
  var tmp5_local1 = null;
2233
2238
  var tmp6_local2 = null;
2234
- var tmp7_input = decoder.nl(tmp0_desc);
2235
- if (tmp7_input.dm()) {
2236
- tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2239
+ var tmp7_input = decoder.tl(tmp0_desc);
2240
+ if (tmp7_input.jm()) {
2241
+ tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2237
2242
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2238
- tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2243
+ tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2239
2244
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2240
- tmp6_local2 = tmp7_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2245
+ tmp6_local2 = tmp7_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2241
2246
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2242
2247
  } else
2243
2248
  while (tmp1_flag) {
2244
- tmp2_index = tmp7_input.em(tmp0_desc);
2249
+ tmp2_index = tmp7_input.km(tmp0_desc);
2245
2250
  switch (tmp2_index) {
2246
2251
  case -1:
2247
2252
  tmp1_flag = false;
2248
2253
  break;
2249
2254
  case 0:
2250
- tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2255
+ tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2251
2256
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2252
2257
  break;
2253
2258
  case 1:
2254
- tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2259
+ tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2255
2260
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2256
2261
  break;
2257
2262
  case 2:
2258
- tmp6_local2 = tmp7_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2263
+ tmp6_local2 = tmp7_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2259
2264
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2260
2265
  break;
2261
2266
  default:
2262
2267
  throw UnknownFieldException_init_$Create$(tmp2_index);
2263
2268
  }
2264
2269
  }
2265
- tmp7_input.ol(tmp0_desc);
2270
+ tmp7_input.ul(tmp0_desc);
2266
2271
  return Timing_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
2267
2272
  };
2268
- protoOf($serializer_7).qi = function () {
2269
- return this.p1h_1;
2273
+ protoOf($serializer_7).wi = function () {
2274
+ return this.z1h_1;
2270
2275
  };
2271
- protoOf($serializer_7).ys = function () {
2276
+ protoOf($serializer_7).et = function () {
2272
2277
  // Inline function 'kotlin.arrayOf' call
2273
2278
  // Inline function 'kotlin.js.unsafeCast' call
2274
2279
  // Inline function 'kotlin.js.asDynamic' call
@@ -2282,20 +2287,20 @@
2282
2287
  }
2283
2288
  function Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, $this) {
2284
2289
  if (!(0 === (0 & seen0))) {
2285
- throwMissingFieldException(seen0, 0, $serializer_getInstance_7().p1h_1);
2290
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_7().z1h_1);
2286
2291
  }
2287
2292
  if (0 === (seen0 & 1))
2288
- $this.r1h_1 = null;
2293
+ $this.b1i_1 = null;
2289
2294
  else
2290
- $this.r1h_1 = durationInMins;
2295
+ $this.b1i_1 = durationInMins;
2291
2296
  if (0 === (seen0 & 2))
2292
- $this.s1h_1 = null;
2297
+ $this.c1i_1 = null;
2293
2298
  else
2294
- $this.s1h_1 = qualifier;
2299
+ $this.c1i_1 = qualifier;
2295
2300
  if (0 === (seen0 & 4))
2296
- $this.t1h_1 = null;
2301
+ $this.d1i_1 = null;
2297
2302
  else
2298
- $this.t1h_1 = text;
2303
+ $this.d1i_1 = text;
2299
2304
  return $this;
2300
2305
  }
2301
2306
  function Timing_init_$Create$(seen0, durationInMins, qualifier, text, serializationConstructorMarker) {
@@ -2305,17 +2310,17 @@
2305
2310
  durationInMins = durationInMins === VOID ? null : durationInMins;
2306
2311
  qualifier = qualifier === VOID ? null : qualifier;
2307
2312
  text = text === VOID ? null : text;
2308
- this.r1h_1 = durationInMins;
2309
- this.s1h_1 = qualifier;
2310
- this.t1h_1 = text;
2313
+ this.b1i_1 = durationInMins;
2314
+ this.c1i_1 = qualifier;
2315
+ this.d1i_1 = text;
2311
2316
  }
2312
2317
  protoOf(Timing).toString = function () {
2313
- return 'Timing(durationInMins=' + toString(this.r1h_1) + ', qualifier=' + this.s1h_1 + ', text=' + this.t1h_1 + ')';
2318
+ return 'Timing(durationInMins=' + toString(this.b1i_1) + ', qualifier=' + this.c1i_1 + ', text=' + this.d1i_1 + ')';
2314
2319
  };
2315
2320
  protoOf(Timing).hashCode = function () {
2316
- var result = this.r1h_1 == null ? 0 : this.r1h_1.hashCode();
2317
- result = imul(result, 31) + (this.s1h_1 == null ? 0 : getStringHashCode(this.s1h_1)) | 0;
2318
- result = imul(result, 31) + (this.t1h_1 == null ? 0 : getStringHashCode(this.t1h_1)) | 0;
2321
+ var result = this.b1i_1 == null ? 0 : this.b1i_1.hashCode();
2322
+ result = imul(result, 31) + (this.c1i_1 == null ? 0 : getStringHashCode(this.c1i_1)) | 0;
2323
+ result = imul(result, 31) + (this.d1i_1 == null ? 0 : getStringHashCode(this.d1i_1)) | 0;
2319
2324
  return result;
2320
2325
  };
2321
2326
  protoOf(Timing).equals = function (other) {
@@ -2323,29 +2328,29 @@
2323
2328
  return true;
2324
2329
  if (!(other instanceof Timing))
2325
2330
  return false;
2326
- if (!equals(this.r1h_1, other.r1h_1))
2331
+ if (!equals(this.b1i_1, other.b1i_1))
2327
2332
  return false;
2328
- if (!(this.s1h_1 == other.s1h_1))
2333
+ if (!(this.c1i_1 == other.c1i_1))
2329
2334
  return false;
2330
- if (!(this.t1h_1 == other.t1h_1))
2335
+ if (!(this.d1i_1 == other.d1i_1))
2331
2336
  return false;
2332
2337
  return true;
2333
2338
  };
2334
2339
  function ParsedTemplate(elements) {
2335
- this.n1e_1 = elements;
2340
+ this.x1e_1 = elements;
2336
2341
  }
2337
2342
  protoOf(ParsedTemplate).toString = function () {
2338
- return 'ParsedTemplate(elements=' + toString_0(this.n1e_1) + ')';
2343
+ return 'ParsedTemplate(elements=' + toString_0(this.x1e_1) + ')';
2339
2344
  };
2340
2345
  protoOf(ParsedTemplate).hashCode = function () {
2341
- return hashCode(this.n1e_1);
2346
+ return hashCode(this.x1e_1);
2342
2347
  };
2343
2348
  protoOf(ParsedTemplate).equals = function (other) {
2344
2349
  if (this === other)
2345
2350
  return true;
2346
2351
  if (!(other instanceof ParsedTemplate))
2347
2352
  return false;
2348
- if (!equals(this.n1e_1, other.n1e_1))
2353
+ if (!equals(this.x1e_1, other.x1e_1))
2349
2354
  return false;
2350
2355
  return true;
2351
2356
  };
@@ -2361,39 +2366,39 @@
2361
2366
  var parts = ArrayList_init_$Create$_0();
2362
2367
  var lastEnd = 0;
2363
2368
  // Inline function 'kotlin.sequences.forEach' call
2364
- var _iterator__ex2g4s = pattern.va(template).h();
2369
+ var _iterator__ex2g4s = pattern.ya(template).h();
2365
2370
  while (_iterator__ex2g4s.i()) {
2366
2371
  var element = _iterator__ex2g4s.j();
2367
- if (element.jb().p_1 > lastEnd) {
2368
- var textPart = substring(template, lastEnd, element.jb().p_1);
2372
+ if (element.ab().p_1 > lastEnd) {
2373
+ var textPart = substring_0(template, lastEnd, element.ab().p_1);
2369
2374
  // Inline function 'kotlin.text.isNotEmpty' call
2370
2375
  if (charSequenceLength(textPart) > 0) {
2371
2376
  parts.f(new TemplateConst(textPart));
2372
2377
  }
2373
2378
  }
2374
2379
  try {
2375
- var jsonObj = get_jsonObject(Default_getInstance().b12(element.t1()));
2380
+ var jsonObj = get_jsonObject(Default_getInstance().h12(element.t1()));
2376
2381
  if (jsonObj.x1().l1('min')) {
2377
2382
  // Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
2378
2383
  var this_0 = get_tolerantJson();
2379
2384
  // Inline function 'kotlinx.serialization.serializer' call
2380
- var this_1 = this_0.cm();
2385
+ var this_1 = this_0.im();
2381
2386
  // Inline function 'kotlinx.serialization.internal.cast' call
2382
2387
  var this_2 = serializer(this_1, createKType(getKClass(QuantityPlaceholder), arrayOf([]), false));
2383
2388
  var tmp$ret$3 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
2384
2389
  // Inline function 'kotlin.let' call
2385
- var it = this_0.a12(tmp$ret$3, jsonObj);
2390
+ var it = this_0.g12(tmp$ret$3, jsonObj);
2386
2391
  parts.f(it);
2387
2392
  } else {
2388
2393
  // Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
2389
2394
  var this_3 = get_tolerantJson();
2390
2395
  // Inline function 'kotlinx.serialization.serializer' call
2391
- var this_4 = this_3.cm();
2396
+ var this_4 = this_3.im();
2392
2397
  // Inline function 'kotlinx.serialization.internal.cast' call
2393
2398
  var this_5 = serializer(this_4, createKType(getKClass(OvenTemperaturePlaceholder), arrayOf([]), false));
2394
2399
  var tmp$ret$8 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
2395
2400
  // Inline function 'kotlin.let' call
2396
- var it_0 = this_3.a12(tmp$ret$8, jsonObj);
2401
+ var it_0 = this_3.g12(tmp$ret$8, jsonObj);
2397
2402
  parts.f(it_0);
2398
2403
  }
2399
2404
  } catch ($p) {
@@ -2405,10 +2410,10 @@
2405
2410
  throw $p;
2406
2411
  }
2407
2412
  }
2408
- lastEnd = element.jb().q_1 + 1 | 0;
2413
+ lastEnd = element.ab().q_1 + 1 | 0;
2409
2414
  }
2410
2415
  if (lastEnd < template.length) {
2411
- var remaining = substring_0(template, lastEnd);
2416
+ var remaining = substring(template, lastEnd);
2412
2417
  // Inline function 'kotlin.text.isNotBlank' call
2413
2418
  if (!isBlank(remaining)) {
2414
2419
  parts.f(new TemplateConst(remaining));
@@ -2418,7 +2423,7 @@
2418
2423
  }
2419
2424
  function tolerantJson$lambda($this$Json) {
2420
2425
  _init_properties_Parser_kt__o3jwn5();
2421
- $this$Json.t12_1 = true;
2426
+ $this$Json.z12_1 = true;
2422
2427
  return Unit_instance;
2423
2428
  }
2424
2429
  var properties_initialized_Parser_kt_5uifb3;
@@ -2436,15 +2441,15 @@
2436
2441
  protoOf(TemplateConst).t1 = function () {
2437
2442
  return this.value;
2438
2443
  };
2439
- protoOf(TemplateConst).cd = function () {
2444
+ protoOf(TemplateConst).id = function () {
2440
2445
  return this.value;
2441
2446
  };
2442
- protoOf(TemplateConst).u1h = function (value) {
2447
+ protoOf(TemplateConst).e1i = function (value) {
2443
2448
  return new TemplateConst(value);
2444
2449
  };
2445
2450
  protoOf(TemplateConst).copy = function (value, $super) {
2446
2451
  value = value === VOID ? this.value : value;
2447
- return $super === VOID ? this.u1h(value) : $super.u1h.call(this, value);
2452
+ return $super === VOID ? this.e1i(value) : $super.e1i.call(this, value);
2448
2453
  };
2449
2454
  protoOf(TemplateConst).toString = function () {
2450
2455
  return 'TemplateConst(value=' + this.value + ')';
@@ -2463,7 +2468,7 @@
2463
2468
  };
2464
2469
  function Companion_5() {
2465
2470
  }
2466
- protoOf(Companion_5).i14 = function () {
2471
+ protoOf(Companion_5).o14 = function () {
2467
2472
  return $serializer_getInstance_8();
2468
2473
  };
2469
2474
  var Companion_instance_5;
@@ -2472,33 +2477,41 @@
2472
2477
  }
2473
2478
  function $serializer_8() {
2474
2479
  $serializer_instance_8 = this;
2475
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.QuantityPlaceholder', this, 4);
2476
- tmp0_serialDesc.ws('min', false);
2477
- tmp0_serialDesc.ws('max', true);
2478
- tmp0_serialDesc.ws('unit', true);
2479
- tmp0_serialDesc.ws('scale', true);
2480
- this.v1h_1 = tmp0_serialDesc;
2480
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.QuantityPlaceholder', this, 6);
2481
+ tmp0_serialDesc.ct('min', false);
2482
+ tmp0_serialDesc.ct('max', true);
2483
+ tmp0_serialDesc.ct('unit', true);
2484
+ tmp0_serialDesc.ct('scale', true);
2485
+ tmp0_serialDesc.ct('ingredient', true);
2486
+ tmp0_serialDesc.ct('usCust', true);
2487
+ this.f1i_1 = tmp0_serialDesc;
2481
2488
  }
2482
- protoOf($serializer_8).w1h = function (encoder, value) {
2483
- var tmp0_desc = this.v1h_1;
2484
- var tmp1_output = encoder.nl(tmp0_desc);
2485
- tmp1_output.ym(tmp0_desc, 0, value.min);
2486
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.max == null)) {
2487
- tmp1_output.fn(tmp0_desc, 1, FloatSerializer_getInstance(), value.max);
2489
+ protoOf($serializer_8).g1i = function (encoder, value) {
2490
+ var tmp0_desc = this.f1i_1;
2491
+ var tmp1_output = encoder.tl(tmp0_desc);
2492
+ tmp1_output.en(tmp0_desc, 0, value.min);
2493
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.max == null)) {
2494
+ tmp1_output.ln(tmp0_desc, 1, FloatSerializer_getInstance(), value.max);
2495
+ }
2496
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.unit == null)) {
2497
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.unit);
2498
+ }
2499
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.scale === false)) {
2500
+ tmp1_output.zm(tmp0_desc, 3, value.scale);
2488
2501
  }
2489
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.unit == null)) {
2490
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.unit);
2502
+ if (tmp1_output.pn(tmp0_desc, 4) ? true : !(value.ingredient == null)) {
2503
+ tmp1_output.ln(tmp0_desc, 4, StringSerializer_getInstance(), value.ingredient);
2491
2504
  }
2492
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.scale === false)) {
2493
- tmp1_output.tm(tmp0_desc, 3, value.scale);
2505
+ if (tmp1_output.pn(tmp0_desc, 5) ? true : !(value.usCust == null)) {
2506
+ tmp1_output.ln(tmp0_desc, 5, BooleanSerializer_getInstance(), value.usCust);
2494
2507
  }
2495
- tmp1_output.ol(tmp0_desc);
2508
+ tmp1_output.ul(tmp0_desc);
2496
2509
  };
2497
- protoOf($serializer_8).ri = function (encoder, value) {
2498
- return this.w1h(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
2510
+ protoOf($serializer_8).xi = function (encoder, value) {
2511
+ return this.g1i(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
2499
2512
  };
2500
- protoOf($serializer_8).si = function (decoder) {
2501
- var tmp0_desc = this.v1h_1;
2513
+ protoOf($serializer_8).yi = function (decoder) {
2514
+ var tmp0_desc = this.f1i_1;
2502
2515
  var tmp1_flag = true;
2503
2516
  var tmp2_index = 0;
2504
2517
  var tmp3_bitMask0 = 0;
@@ -2506,54 +2519,68 @@
2506
2519
  var tmp5_local1 = null;
2507
2520
  var tmp6_local2 = null;
2508
2521
  var tmp7_local3 = false;
2509
- var tmp8_input = decoder.nl(tmp0_desc);
2510
- if (tmp8_input.dm()) {
2511
- tmp4_local0 = tmp8_input.ul(tmp0_desc, 0);
2522
+ var tmp8_local4 = null;
2523
+ var tmp9_local5 = null;
2524
+ var tmp10_input = decoder.tl(tmp0_desc);
2525
+ if (tmp10_input.jm()) {
2526
+ tmp4_local0 = tmp10_input.am(tmp0_desc, 0);
2512
2527
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2513
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2528
+ tmp5_local1 = tmp10_input.hm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2514
2529
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2515
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2530
+ tmp6_local2 = tmp10_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2516
2531
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2517
- tmp7_local3 = tmp8_input.pl(tmp0_desc, 3);
2532
+ tmp7_local3 = tmp10_input.vl(tmp0_desc, 3);
2518
2533
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2534
+ tmp8_local4 = tmp10_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
2535
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
2536
+ tmp9_local5 = tmp10_input.hm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
2537
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
2519
2538
  } else
2520
2539
  while (tmp1_flag) {
2521
- tmp2_index = tmp8_input.em(tmp0_desc);
2540
+ tmp2_index = tmp10_input.km(tmp0_desc);
2522
2541
  switch (tmp2_index) {
2523
2542
  case -1:
2524
2543
  tmp1_flag = false;
2525
2544
  break;
2526
2545
  case 0:
2527
- tmp4_local0 = tmp8_input.ul(tmp0_desc, 0);
2546
+ tmp4_local0 = tmp10_input.am(tmp0_desc, 0);
2528
2547
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2529
2548
  break;
2530
2549
  case 1:
2531
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2550
+ tmp5_local1 = tmp10_input.hm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2532
2551
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2533
2552
  break;
2534
2553
  case 2:
2535
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2554
+ tmp6_local2 = tmp10_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2536
2555
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2537
2556
  break;
2538
2557
  case 3:
2539
- tmp7_local3 = tmp8_input.pl(tmp0_desc, 3);
2558
+ tmp7_local3 = tmp10_input.vl(tmp0_desc, 3);
2540
2559
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2541
2560
  break;
2561
+ case 4:
2562
+ tmp8_local4 = tmp10_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
2563
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
2564
+ break;
2565
+ case 5:
2566
+ tmp9_local5 = tmp10_input.hm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
2567
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
2568
+ break;
2542
2569
  default:
2543
2570
  throw UnknownFieldException_init_$Create$(tmp2_index);
2544
2571
  }
2545
2572
  }
2546
- tmp8_input.ol(tmp0_desc);
2547
- return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
2573
+ tmp10_input.ul(tmp0_desc);
2574
+ return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
2548
2575
  };
2549
- protoOf($serializer_8).qi = function () {
2550
- return this.v1h_1;
2576
+ protoOf($serializer_8).wi = function () {
2577
+ return this.f1i_1;
2551
2578
  };
2552
- protoOf($serializer_8).ys = function () {
2579
+ protoOf($serializer_8).et = function () {
2553
2580
  // Inline function 'kotlin.arrayOf' call
2554
2581
  // Inline function 'kotlin.js.unsafeCast' call
2555
2582
  // Inline function 'kotlin.js.asDynamic' call
2556
- return [FloatSerializer_getInstance(), get_nullable(FloatSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), BooleanSerializer_getInstance()];
2583
+ return [FloatSerializer_getInstance(), get_nullable(FloatSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
2557
2584
  };
2558
2585
  var $serializer_instance_8;
2559
2586
  function $serializer_getInstance_8() {
@@ -2561,9 +2588,9 @@
2561
2588
  new $serializer_8();
2562
2589
  return $serializer_instance_8;
2563
2590
  }
2564
- function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, serializationConstructorMarker, $this) {
2591
+ function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, $this) {
2565
2592
  if (!(1 === (1 & seen0))) {
2566
- throwMissingFieldException(seen0, 1, $serializer_getInstance_8().v1h_1);
2593
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_8().f1i_1);
2567
2594
  }
2568
2595
  $this.min = min;
2569
2596
  if (0 === (seen0 & 2))
@@ -2578,62 +2605,90 @@
2578
2605
  $this.scale = false;
2579
2606
  else
2580
2607
  $this.scale = scale;
2608
+ if (0 === (seen0 & 16))
2609
+ $this.ingredient = null;
2610
+ else
2611
+ $this.ingredient = ingredient;
2612
+ if (0 === (seen0 & 32))
2613
+ $this.usCust = null;
2614
+ else
2615
+ $this.usCust = usCust;
2581
2616
  return $this;
2582
2617
  }
2583
- function QuantityPlaceholder_init_$Create$(seen0, min, max, unit, scale, serializationConstructorMarker) {
2584
- return QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, serializationConstructorMarker, objectCreate(protoOf(QuantityPlaceholder)));
2618
+ function QuantityPlaceholder_init_$Create$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker) {
2619
+ return QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, objectCreate(protoOf(QuantityPlaceholder)));
2585
2620
  }
2586
- function QuantityPlaceholder(min, max, unit, scale) {
2621
+ function QuantityPlaceholder(min, max, unit, scale, ingredient, usCust) {
2587
2622
  max = max === VOID ? null : max;
2588
2623
  unit = unit === VOID ? null : unit;
2589
2624
  scale = scale === VOID ? false : scale;
2625
+ ingredient = ingredient === VOID ? null : ingredient;
2626
+ usCust = usCust === VOID ? null : usCust;
2590
2627
  this.min = min;
2591
2628
  this.max = max;
2592
2629
  this.unit = unit;
2593
2630
  this.scale = scale;
2631
+ this.ingredient = ingredient;
2632
+ this.usCust = usCust;
2594
2633
  }
2595
- protoOf(QuantityPlaceholder).x1h = function () {
2634
+ protoOf(QuantityPlaceholder).h1i = function () {
2596
2635
  return this.min;
2597
2636
  };
2598
- protoOf(QuantityPlaceholder).y1h = function () {
2637
+ protoOf(QuantityPlaceholder).i1i = function () {
2599
2638
  return this.max;
2600
2639
  };
2601
- protoOf(QuantityPlaceholder).z1h = function () {
2640
+ protoOf(QuantityPlaceholder).j1i = function () {
2602
2641
  return this.unit;
2603
2642
  };
2604
- protoOf(QuantityPlaceholder).a1i = function () {
2643
+ protoOf(QuantityPlaceholder).k1i = function () {
2605
2644
  return this.scale;
2606
2645
  };
2607
- protoOf(QuantityPlaceholder).cd = function () {
2646
+ protoOf(QuantityPlaceholder).l1i = function () {
2647
+ return this.ingredient;
2648
+ };
2649
+ protoOf(QuantityPlaceholder).m1i = function () {
2650
+ return this.usCust;
2651
+ };
2652
+ protoOf(QuantityPlaceholder).id = function () {
2608
2653
  return this.min;
2609
2654
  };
2610
- protoOf(QuantityPlaceholder).dd = function () {
2655
+ protoOf(QuantityPlaceholder).jd = function () {
2611
2656
  return this.max;
2612
2657
  };
2613
- protoOf(QuantityPlaceholder).b1i = function () {
2658
+ protoOf(QuantityPlaceholder).n1i = function () {
2614
2659
  return this.unit;
2615
2660
  };
2616
- protoOf(QuantityPlaceholder).c1i = function () {
2661
+ protoOf(QuantityPlaceholder).o1i = function () {
2617
2662
  return this.scale;
2618
2663
  };
2619
- protoOf(QuantityPlaceholder).d1i = function (min, max, unit, scale) {
2620
- return new QuantityPlaceholder(min, max, unit, scale);
2664
+ protoOf(QuantityPlaceholder).p1i = function () {
2665
+ return this.ingredient;
2666
+ };
2667
+ protoOf(QuantityPlaceholder).q1i = function () {
2668
+ return this.usCust;
2621
2669
  };
2622
- protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, $super) {
2670
+ protoOf(QuantityPlaceholder).r1i = function (min, max, unit, scale, ingredient, usCust) {
2671
+ return new QuantityPlaceholder(min, max, unit, scale, ingredient, usCust);
2672
+ };
2673
+ protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, ingredient, usCust, $super) {
2623
2674
  min = min === VOID ? this.min : min;
2624
2675
  max = max === VOID ? this.max : max;
2625
2676
  unit = unit === VOID ? this.unit : unit;
2626
2677
  scale = scale === VOID ? this.scale : scale;
2627
- return $super === VOID ? this.d1i(min, max, unit, scale) : $super.d1i.call(this, min, max, unit, scale);
2678
+ ingredient = ingredient === VOID ? this.ingredient : ingredient;
2679
+ usCust = usCust === VOID ? this.usCust : usCust;
2680
+ return $super === VOID ? this.r1i(min, max, unit, scale, ingredient, usCust) : $super.r1i.call(this, min, max, unit, scale, ingredient, usCust);
2628
2681
  };
2629
2682
  protoOf(QuantityPlaceholder).toString = function () {
2630
- return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ')';
2683
+ return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ', ingredient=' + this.ingredient + ', usCust=' + this.usCust + ')';
2631
2684
  };
2632
2685
  protoOf(QuantityPlaceholder).hashCode = function () {
2633
2686
  var result = getNumberHashCode(this.min);
2634
2687
  result = imul(result, 31) + (this.max == null ? 0 : getNumberHashCode(this.max)) | 0;
2635
2688
  result = imul(result, 31) + (this.unit == null ? 0 : getStringHashCode(this.unit)) | 0;
2636
2689
  result = imul(result, 31) + getBooleanHashCode(this.scale) | 0;
2690
+ result = imul(result, 31) + (this.ingredient == null ? 0 : getStringHashCode(this.ingredient)) | 0;
2691
+ result = imul(result, 31) + (this.usCust == null ? 0 : getBooleanHashCode(this.usCust)) | 0;
2637
2692
  return result;
2638
2693
  };
2639
2694
  protoOf(QuantityPlaceholder).equals = function (other) {
@@ -2649,11 +2704,15 @@
2649
2704
  return false;
2650
2705
  if (!(this.scale === other.scale))
2651
2706
  return false;
2707
+ if (!(this.ingredient == other.ingredient))
2708
+ return false;
2709
+ if (!(this.usCust == other.usCust))
2710
+ return false;
2652
2711
  return true;
2653
2712
  };
2654
2713
  function Companion_6() {
2655
2714
  }
2656
- protoOf(Companion_6).i14 = function () {
2715
+ protoOf(Companion_6).o14 = function () {
2657
2716
  return $serializer_getInstance_9();
2658
2717
  };
2659
2718
  var Companion_instance_6;
@@ -2663,34 +2722,34 @@
2663
2722
  function $serializer_9() {
2664
2723
  $serializer_instance_9 = this;
2665
2724
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.OvenTemperaturePlaceholder', this, 4);
2666
- tmp0_serialDesc.ws('temperatureC', true);
2667
- tmp0_serialDesc.ws('temperatureFanC', true);
2668
- tmp0_serialDesc.ws('temperatureF', true);
2669
- tmp0_serialDesc.ws('gasMark', true);
2670
- this.e1i_1 = tmp0_serialDesc;
2725
+ tmp0_serialDesc.ct('temperatureC', true);
2726
+ tmp0_serialDesc.ct('temperatureFanC', true);
2727
+ tmp0_serialDesc.ct('temperatureF', true);
2728
+ tmp0_serialDesc.ct('gasMark', true);
2729
+ this.s1i_1 = tmp0_serialDesc;
2671
2730
  }
2672
- protoOf($serializer_9).f1i = function (encoder, value) {
2673
- var tmp0_desc = this.e1i_1;
2674
- var tmp1_output = encoder.nl(tmp0_desc);
2675
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
2676
- tmp1_output.fn(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
2731
+ protoOf($serializer_9).t1i = function (encoder, value) {
2732
+ var tmp0_desc = this.s1i_1;
2733
+ var tmp1_output = encoder.tl(tmp0_desc);
2734
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
2735
+ tmp1_output.ln(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
2677
2736
  }
2678
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.temperatureFanC == null)) {
2679
- tmp1_output.fn(tmp0_desc, 1, IntSerializer_getInstance(), value.temperatureFanC);
2737
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.temperatureFanC == null)) {
2738
+ tmp1_output.ln(tmp0_desc, 1, IntSerializer_getInstance(), value.temperatureFanC);
2680
2739
  }
2681
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.temperatureF == null)) {
2682
- tmp1_output.fn(tmp0_desc, 2, IntSerializer_getInstance(), value.temperatureF);
2740
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.temperatureF == null)) {
2741
+ tmp1_output.ln(tmp0_desc, 2, IntSerializer_getInstance(), value.temperatureF);
2683
2742
  }
2684
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.gasMark == null)) {
2685
- tmp1_output.fn(tmp0_desc, 3, FloatSerializer_getInstance(), value.gasMark);
2743
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.gasMark == null)) {
2744
+ tmp1_output.ln(tmp0_desc, 3, FloatSerializer_getInstance(), value.gasMark);
2686
2745
  }
2687
- tmp1_output.ol(tmp0_desc);
2746
+ tmp1_output.ul(tmp0_desc);
2688
2747
  };
2689
- protoOf($serializer_9).ri = function (encoder, value) {
2690
- return this.f1i(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
2748
+ protoOf($serializer_9).xi = function (encoder, value) {
2749
+ return this.t1i(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
2691
2750
  };
2692
- protoOf($serializer_9).si = function (decoder) {
2693
- var tmp0_desc = this.e1i_1;
2751
+ protoOf($serializer_9).yi = function (decoder) {
2752
+ var tmp0_desc = this.s1i_1;
2694
2753
  var tmp1_flag = true;
2695
2754
  var tmp2_index = 0;
2696
2755
  var tmp3_bitMask0 = 0;
@@ -2698,50 +2757,50 @@
2698
2757
  var tmp5_local1 = null;
2699
2758
  var tmp6_local2 = null;
2700
2759
  var tmp7_local3 = null;
2701
- var tmp8_input = decoder.nl(tmp0_desc);
2702
- if (tmp8_input.dm()) {
2703
- tmp4_local0 = tmp8_input.bm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2760
+ var tmp8_input = decoder.tl(tmp0_desc);
2761
+ if (tmp8_input.jm()) {
2762
+ tmp4_local0 = tmp8_input.hm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2704
2763
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2705
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2764
+ tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2706
2765
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2707
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2766
+ tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2708
2767
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2709
- tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2768
+ tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2710
2769
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2711
2770
  } else
2712
2771
  while (tmp1_flag) {
2713
- tmp2_index = tmp8_input.em(tmp0_desc);
2772
+ tmp2_index = tmp8_input.km(tmp0_desc);
2714
2773
  switch (tmp2_index) {
2715
2774
  case -1:
2716
2775
  tmp1_flag = false;
2717
2776
  break;
2718
2777
  case 0:
2719
- tmp4_local0 = tmp8_input.bm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2778
+ tmp4_local0 = tmp8_input.hm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2720
2779
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2721
2780
  break;
2722
2781
  case 1:
2723
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2782
+ tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2724
2783
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2725
2784
  break;
2726
2785
  case 2:
2727
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2786
+ tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2728
2787
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2729
2788
  break;
2730
2789
  case 3:
2731
- tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2790
+ tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2732
2791
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2733
2792
  break;
2734
2793
  default:
2735
2794
  throw UnknownFieldException_init_$Create$(tmp2_index);
2736
2795
  }
2737
2796
  }
2738
- tmp8_input.ol(tmp0_desc);
2797
+ tmp8_input.ul(tmp0_desc);
2739
2798
  return OvenTemperaturePlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
2740
2799
  };
2741
- protoOf($serializer_9).qi = function () {
2742
- return this.e1i_1;
2800
+ protoOf($serializer_9).wi = function () {
2801
+ return this.s1i_1;
2743
2802
  };
2744
- protoOf($serializer_9).ys = function () {
2803
+ protoOf($serializer_9).et = function () {
2745
2804
  // Inline function 'kotlin.arrayOf' call
2746
2805
  // Inline function 'kotlin.js.unsafeCast' call
2747
2806
  // Inline function 'kotlin.js.asDynamic' call
@@ -2755,7 +2814,7 @@
2755
2814
  }
2756
2815
  function OvenTemperaturePlaceholder_init_$Init$(seen0, temperatureC, temperatureFanC, temperatureF, gasMark, serializationConstructorMarker, $this) {
2757
2816
  if (!(0 === (0 & seen0))) {
2758
- throwMissingFieldException(seen0, 0, $serializer_getInstance_9().e1i_1);
2817
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_9().s1i_1);
2759
2818
  }
2760
2819
  if (0 === (seen0 & 1))
2761
2820
  $this.temperatureC = null;
@@ -2788,31 +2847,31 @@
2788
2847
  this.temperatureF = temperatureF;
2789
2848
  this.gasMark = gasMark;
2790
2849
  }
2791
- protoOf(OvenTemperaturePlaceholder).g1i = function () {
2850
+ protoOf(OvenTemperaturePlaceholder).u1i = function () {
2792
2851
  return this.temperatureC;
2793
2852
  };
2794
- protoOf(OvenTemperaturePlaceholder).h1i = function () {
2853
+ protoOf(OvenTemperaturePlaceholder).v1i = function () {
2795
2854
  return this.temperatureFanC;
2796
2855
  };
2797
- protoOf(OvenTemperaturePlaceholder).i1i = function () {
2856
+ protoOf(OvenTemperaturePlaceholder).w1i = function () {
2798
2857
  return this.temperatureF;
2799
2858
  };
2800
- protoOf(OvenTemperaturePlaceholder).j1i = function () {
2859
+ protoOf(OvenTemperaturePlaceholder).x1i = function () {
2801
2860
  return this.gasMark;
2802
2861
  };
2803
- protoOf(OvenTemperaturePlaceholder).cd = function () {
2862
+ protoOf(OvenTemperaturePlaceholder).id = function () {
2804
2863
  return this.temperatureC;
2805
2864
  };
2806
- protoOf(OvenTemperaturePlaceholder).dd = function () {
2865
+ protoOf(OvenTemperaturePlaceholder).jd = function () {
2807
2866
  return this.temperatureFanC;
2808
2867
  };
2809
- protoOf(OvenTemperaturePlaceholder).b1i = function () {
2868
+ protoOf(OvenTemperaturePlaceholder).n1i = function () {
2810
2869
  return this.temperatureF;
2811
2870
  };
2812
- protoOf(OvenTemperaturePlaceholder).c1i = function () {
2871
+ protoOf(OvenTemperaturePlaceholder).o1i = function () {
2813
2872
  return this.gasMark;
2814
2873
  };
2815
- protoOf(OvenTemperaturePlaceholder).k1i = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
2874
+ protoOf(OvenTemperaturePlaceholder).y1i = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
2816
2875
  return new OvenTemperaturePlaceholder(temperatureC, temperatureFanC, temperatureF, gasMark);
2817
2876
  };
2818
2877
  protoOf(OvenTemperaturePlaceholder).copy = function (temperatureC, temperatureFanC, temperatureF, gasMark, $super) {
@@ -2820,7 +2879,7 @@
2820
2879
  temperatureFanC = temperatureFanC === VOID ? this.temperatureFanC : temperatureFanC;
2821
2880
  temperatureF = temperatureF === VOID ? this.temperatureF : temperatureF;
2822
2881
  gasMark = gasMark === VOID ? this.gasMark : gasMark;
2823
- return $super === VOID ? this.k1i(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.k1i.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
2882
+ return $super === VOID ? this.y1i(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.y1i.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
2824
2883
  };
2825
2884
  protoOf(OvenTemperaturePlaceholder).toString = function () {
2826
2885
  return 'OvenTemperaturePlaceholder(temperatureC=' + this.temperatureC + ', temperatureFanC=' + this.temperatureFanC + ', temperatureF=' + this.temperatureF + ', gasMark=' + this.gasMark + ')';
@@ -2875,23 +2934,23 @@
2875
2934
  Enum.call(this, name, ordinal);
2876
2935
  }
2877
2936
  function Unit(singular, plural, symbol, symbolPlural, unitType, measuringSystem) {
2878
- this.h1e_1 = singular;
2879
- this.i1e_1 = plural;
2880
- this.j1e_1 = symbol;
2881
- this.k1e_1 = symbolPlural;
2882
- this.l1e_1 = unitType;
2883
- this.m1e_1 = measuringSystem;
2937
+ this.r1e_1 = singular;
2938
+ this.s1e_1 = plural;
2939
+ this.t1e_1 = symbol;
2940
+ this.u1e_1 = symbolPlural;
2941
+ this.v1e_1 = unitType;
2942
+ this.w1e_1 = measuringSystem;
2884
2943
  }
2885
2944
  protoOf(Unit).toString = function () {
2886
- return 'Unit(singular=' + this.h1e_1 + ', plural=' + this.i1e_1 + ', symbol=' + this.j1e_1 + ', symbolPlural=' + this.k1e_1 + ', unitType=' + toString(this.l1e_1) + ', measuringSystem=' + toString(this.m1e_1) + ')';
2945
+ return 'Unit(singular=' + this.r1e_1 + ', plural=' + this.s1e_1 + ', symbol=' + this.t1e_1 + ', symbolPlural=' + this.u1e_1 + ', unitType=' + toString(this.v1e_1) + ', measuringSystem=' + toString(this.w1e_1) + ')';
2887
2946
  };
2888
2947
  protoOf(Unit).hashCode = function () {
2889
- var result = getStringHashCode(this.h1e_1);
2890
- result = imul(result, 31) + getStringHashCode(this.i1e_1) | 0;
2891
- result = imul(result, 31) + getStringHashCode(this.j1e_1) | 0;
2892
- result = imul(result, 31) + getStringHashCode(this.k1e_1) | 0;
2893
- result = imul(result, 31) + (this.l1e_1 == null ? 0 : this.l1e_1.hashCode()) | 0;
2894
- result = imul(result, 31) + (this.m1e_1 == null ? 0 : hashCode(this.m1e_1)) | 0;
2948
+ var result = getStringHashCode(this.r1e_1);
2949
+ result = imul(result, 31) + getStringHashCode(this.s1e_1) | 0;
2950
+ result = imul(result, 31) + getStringHashCode(this.t1e_1) | 0;
2951
+ result = imul(result, 31) + getStringHashCode(this.u1e_1) | 0;
2952
+ result = imul(result, 31) + (this.v1e_1 == null ? 0 : this.v1e_1.hashCode()) | 0;
2953
+ result = imul(result, 31) + (this.w1e_1 == null ? 0 : hashCode(this.w1e_1)) | 0;
2895
2954
  return result;
2896
2955
  };
2897
2956
  protoOf(Unit).equals = function (other) {
@@ -2899,89 +2958,89 @@
2899
2958
  return true;
2900
2959
  if (!(other instanceof Unit))
2901
2960
  return false;
2902
- if (!(this.h1e_1 === other.h1e_1))
2961
+ if (!(this.r1e_1 === other.r1e_1))
2903
2962
  return false;
2904
- if (!(this.i1e_1 === other.i1e_1))
2963
+ if (!(this.s1e_1 === other.s1e_1))
2905
2964
  return false;
2906
- if (!(this.j1e_1 === other.j1e_1))
2965
+ if (!(this.t1e_1 === other.t1e_1))
2907
2966
  return false;
2908
- if (!(this.k1e_1 === other.k1e_1))
2967
+ if (!(this.u1e_1 === other.u1e_1))
2909
2968
  return false;
2910
- if (!equals(this.l1e_1, other.l1e_1))
2969
+ if (!equals(this.v1e_1, other.v1e_1))
2911
2970
  return false;
2912
- if (!equals(this.m1e_1, other.m1e_1))
2971
+ if (!equals(this.w1e_1, other.w1e_1))
2913
2972
  return false;
2914
2973
  return true;
2915
2974
  };
2916
2975
  function Units() {
2917
2976
  Units_instance = this;
2918
- this.n1d_1 = new Unit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), Metric_instance);
2919
- this.o1d_1 = new Unit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), Metric_instance);
2920
- this.p1d_1 = new Unit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), Imperial_instance);
2921
- this.q1d_1 = new Unit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), Imperial_instance);
2922
- this.r1d_1 = new Unit('milliliter', 'milliliters', 'ml', 'ml', UnitType_VOLUME_getInstance(), Metric_instance);
2923
- this.s1d_1 = new Unit('liter', 'liters', 'l', 'l', UnitType_VOLUME_getInstance(), Metric_instance);
2924
- this.t1d_1 = new Unit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), Imperial_instance);
2925
- this.u1d_1 = new Unit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), Imperial_instance);
2926
- this.v1d_1 = new Unit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), Imperial_instance);
2927
- this.w1d_1 = new Unit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), Imperial_instance);
2928
- this.x1d_1 = new Unit('millimeter', 'millimeters', 'mm', 'mm', UnitType_LENGTH_getInstance(), Metric_instance);
2929
- this.y1d_1 = new Unit('centimeter', 'centimeters', 'cm', 'cm', UnitType_LENGTH_getInstance(), Metric_instance);
2930
- this.z1d_1 = new Unit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), Imperial_instance);
2931
- this.a1e_1 = new Unit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), Imperial_instance);
2932
- this.b1e_1 = listOf([this.n1d_1, this.o1d_1, this.p1d_1, this.q1d_1, this.r1d_1, this.s1d_1, this.t1d_1, this.u1d_1, this.v1d_1, this.w1d_1, this.x1d_1, this.y1d_1, this.z1d_1, this.a1e_1]);
2977
+ this.w1d_1 = new Unit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), Metric_instance);
2978
+ this.x1d_1 = new Unit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), Metric_instance);
2979
+ this.y1d_1 = new Unit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), Imperial_instance);
2980
+ this.z1d_1 = new Unit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), Imperial_instance);
2981
+ this.a1e_1 = new Unit('milliliter', 'milliliters', 'ml', 'ml', UnitType_VOLUME_getInstance(), Metric_instance);
2982
+ this.b1e_1 = new Unit('liter', 'liters', 'l', 'l', UnitType_VOLUME_getInstance(), Metric_instance);
2983
+ this.c1e_1 = new Unit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), Imperial_instance);
2984
+ this.d1e_1 = new Unit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), Imperial_instance);
2985
+ this.e1e_1 = new Unit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), Imperial_instance);
2986
+ this.f1e_1 = new Unit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), Imperial_instance);
2987
+ this.g1e_1 = new Unit('millimeter', 'millimeters', 'mm', 'mm', UnitType_LENGTH_getInstance(), Metric_instance);
2988
+ this.h1e_1 = new Unit('centimeter', 'centimeters', 'cm', 'cm', UnitType_LENGTH_getInstance(), Metric_instance);
2989
+ this.i1e_1 = new Unit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), Imperial_instance);
2990
+ this.j1e_1 = new Unit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), Imperial_instance);
2991
+ this.k1e_1 = listOf([this.w1d_1, this.x1d_1, this.y1d_1, this.z1d_1, this.a1e_1, 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]);
2933
2992
  var tmp = this;
2934
2993
  // Inline function 'kotlin.collections.associateBy' call
2935
- var this_0 = this.b1e_1;
2994
+ var this_0 = this.k1e_1;
2936
2995
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
2937
2996
  // Inline function 'kotlin.collections.associateByTo' call
2938
2997
  var destination = LinkedHashMap_init_$Create$(capacity);
2939
2998
  var _iterator__ex2g4s = this_0.h();
2940
2999
  while (_iterator__ex2g4s.i()) {
2941
3000
  var element = _iterator__ex2g4s.j();
2942
- var tmp$ret$0 = element.j1e_1;
3001
+ var tmp$ret$0 = element.t1e_1;
2943
3002
  destination.a2(tmp$ret$0, element);
2944
3003
  }
2945
3004
  var tmp_0 = destination;
2946
3005
  // Inline function 'kotlin.collections.associateBy' call
2947
- var this_1 = this.b1e_1;
3006
+ var this_1 = this.k1e_1;
2948
3007
  var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_1, 10)), 16);
2949
3008
  // Inline function 'kotlin.collections.associateByTo' call
2950
3009
  var destination_0 = LinkedHashMap_init_$Create$(capacity_0);
2951
3010
  var _iterator__ex2g4s_0 = this_1.h();
2952
3011
  while (_iterator__ex2g4s_0.i()) {
2953
3012
  var element_0 = _iterator__ex2g4s_0.j();
2954
- var tmp$ret$3 = element_0.k1e_1;
3013
+ var tmp$ret$3 = element_0.u1e_1;
2955
3014
  destination_0.a2(tmp$ret$3, element_0);
2956
3015
  }
2957
3016
  var tmp_1 = plus(tmp_0, destination_0);
2958
3017
  // Inline function 'kotlin.collections.associateBy' call
2959
- var this_2 = this.b1e_1;
3018
+ var this_2 = this.k1e_1;
2960
3019
  var capacity_1 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_2, 10)), 16);
2961
3020
  // Inline function 'kotlin.collections.associateByTo' call
2962
3021
  var destination_1 = LinkedHashMap_init_$Create$(capacity_1);
2963
3022
  var _iterator__ex2g4s_1 = this_2.h();
2964
3023
  while (_iterator__ex2g4s_1.i()) {
2965
3024
  var element_1 = _iterator__ex2g4s_1.j();
2966
- var tmp$ret$6 = element_1.h1e_1;
3025
+ var tmp$ret$6 = element_1.r1e_1;
2967
3026
  destination_1.a2(tmp$ret$6, element_1);
2968
3027
  }
2969
3028
  var tmp_2 = plus(tmp_1, destination_1);
2970
3029
  // Inline function 'kotlin.collections.associateBy' call
2971
- var this_3 = this.b1e_1;
3030
+ var this_3 = this.k1e_1;
2972
3031
  var capacity_2 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_3, 10)), 16);
2973
3032
  // Inline function 'kotlin.collections.associateByTo' call
2974
3033
  var destination_2 = LinkedHashMap_init_$Create$(capacity_2);
2975
3034
  var _iterator__ex2g4s_2 = this_3.h();
2976
3035
  while (_iterator__ex2g4s_2.i()) {
2977
3036
  var element_2 = _iterator__ex2g4s_2.j();
2978
- var tmp$ret$9 = element_2.i1e_1;
3037
+ var tmp$ret$9 = element_2.s1e_1;
2979
3038
  destination_2.a2(tmp$ret$9, element_2);
2980
3039
  }
2981
- tmp.c1e_1 = plus(tmp_2, destination_2);
3040
+ tmp.l1e_1 = plus(tmp_2, destination_2);
2982
3041
  }
2983
- protoOf(Units).d1e = function (name) {
2984
- var unit = this.c1e_1.w1(name);
3042
+ protoOf(Units).m1e = function (name) {
3043
+ var unit = this.l1e_1.w1(name);
2985
3044
  if (!(unit == null)) {
2986
3045
  return unit;
2987
3046
  } else {
@@ -3007,44 +3066,64 @@
3007
3066
  return UnitType_LENGTH_instance;
3008
3067
  }
3009
3068
  function UnitConversion() {
3010
- this.e1e_1 = 28.3495;
3011
- this.f1e_1 = 2.20462;
3069
+ this.n1e_1 = 28.3495;
3070
+ this.o1e_1 = 2.20462;
3071
+ this.p1e_1 = 236.56;
3012
3072
  }
3013
- protoOf(UnitConversion).g1e = function (amount, target) {
3014
- if (amount.i1d_1 == null) {
3073
+ protoOf(UnitConversion).q1e = function (amount, target) {
3074
+ if (amount.o1d_1 == null || equals(amount.o1d_1.w1e_1, target) || equals(target, Metric_instance)) {
3015
3075
  return amount;
3016
3076
  }
3017
- if (equals(amount.i1d_1.m1e_1, target)) {
3018
- return amount;
3019
- }
3020
- var tmp0_subject = new Pair(amount.i1d_1, target);
3021
3077
  var tmp;
3022
- if (tmp0_subject.equals(new Pair(Units_getInstance().n1d_1, Imperial_instance))) {
3023
- var minOunces = amount.g1d_1 / this.e1e_1;
3024
- var tmp1_safe_receiver = amount.h1d_1;
3078
+ if (amount.p1d_1 === true) {
3025
3079
  var tmp_0;
3026
- if (tmp1_safe_receiver == null) {
3027
- tmp_0 = null;
3080
+ if (amount.o1d_1.equals(Units_getInstance().a1e_1)) {
3081
+ var cups = amount.m1d_1 / this.p1e_1;
3082
+ var tmp1_safe_receiver = amount.n1d_1;
3083
+ var tmp_1;
3084
+ if (tmp1_safe_receiver == null) {
3085
+ tmp_1 = null;
3086
+ } else {
3087
+ // Inline function 'kotlin.let' call
3088
+ tmp_1 = tmp1_safe_receiver / UnitConversion_instance.p1e_1;
3089
+ }
3090
+ var maxCups = tmp_1;
3091
+ tmp_0 = new Amount(cups, maxCups, Units_getInstance().d1e_1);
3028
3092
  } else {
3029
- // Inline function 'kotlin.let' call
3030
- tmp_0 = tmp1_safe_receiver / UnitConversion_instance.e1e_1;
3093
+ tmp_0 = amount;
3031
3094
  }
3032
- var maxOunces = tmp_0;
3033
- tmp = new Amount(minOunces, maxOunces, Units_getInstance().p1d_1);
3034
- } else if (tmp0_subject.equals(new Pair(Units_getInstance().o1d_1, Imperial_instance))) {
3035
- var minPounds = amount.g1d_1 * this.f1e_1;
3036
- var tmp2_safe_receiver = amount.h1d_1;
3037
- var tmp_1;
3038
- if (tmp2_safe_receiver == null) {
3039
- tmp_1 = null;
3095
+ tmp = tmp_0;
3096
+ } else {
3097
+ var tmp2_subject = amount.o1d_1;
3098
+ var tmp_2;
3099
+ if (tmp2_subject.equals(Units_getInstance().w1d_1)) {
3100
+ var minOunces = amount.m1d_1 / this.n1e_1;
3101
+ var tmp3_safe_receiver = amount.n1d_1;
3102
+ var tmp_3;
3103
+ if (tmp3_safe_receiver == null) {
3104
+ tmp_3 = null;
3105
+ } else {
3106
+ // Inline function 'kotlin.let' call
3107
+ tmp_3 = tmp3_safe_receiver / UnitConversion_instance.n1e_1;
3108
+ }
3109
+ var maxOunces = tmp_3;
3110
+ tmp_2 = new Amount(minOunces, maxOunces, Units_getInstance().y1d_1);
3111
+ } else if (tmp2_subject.equals(Units_getInstance().x1d_1)) {
3112
+ var minPounds = amount.m1d_1 * this.o1e_1;
3113
+ var tmp4_safe_receiver = amount.n1d_1;
3114
+ var tmp_4;
3115
+ if (tmp4_safe_receiver == null) {
3116
+ tmp_4 = null;
3117
+ } else {
3118
+ // Inline function 'kotlin.let' call
3119
+ tmp_4 = tmp4_safe_receiver * UnitConversion_instance.o1e_1;
3120
+ }
3121
+ var maxPounds = tmp_4;
3122
+ tmp_2 = new Amount(minPounds, maxPounds, Units_getInstance().z1d_1);
3040
3123
  } else {
3041
- // Inline function 'kotlin.let' call
3042
- tmp_1 = tmp2_safe_receiver * UnitConversion_instance.f1e_1;
3124
+ tmp_2 = amount;
3043
3125
  }
3044
- var maxPounds = tmp_1;
3045
- tmp = new Amount(minPounds, maxPounds, Units_getInstance().q1d_1);
3046
- } else {
3047
- tmp = amount;
3126
+ tmp = tmp_2;
3048
3127
  }
3049
3128
  return tmp;
3050
3129
  };
@@ -3062,11 +3141,11 @@
3062
3141
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
3063
3142
  var this_0 = get_tolerantJson_0();
3064
3143
  // Inline function 'kotlinx.serialization.serializer' call
3065
- var this_1 = this_0.cm();
3144
+ var this_1 = this_0.im();
3066
3145
  // Inline function 'kotlinx.serialization.internal.cast' call
3067
3146
  var this_2 = serializer(this_1, createKType(getKClass(RecipeV3), arrayOf([]), false));
3068
3147
  var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
3069
- var parsedRecipe = this_0.z11(tmp$ret$1, recipe);
3148
+ var parsedRecipe = this_0.f12(tmp$ret$1, recipe);
3070
3149
  var tmp;
3071
3150
  switch (unit) {
3072
3151
  case 'Imperial':
@@ -3083,16 +3162,16 @@
3083
3162
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
3084
3163
  var this_3 = Default_getInstance();
3085
3164
  // Inline function 'kotlinx.serialization.serializer' call
3086
- var this_4 = this_3.cm();
3165
+ var this_4 = this_3.im();
3087
3166
  // Inline function 'kotlinx.serialization.internal.cast' call
3088
3167
  var this_5 = serializer(this_4, createKType(getKClass(RecipeV3), arrayOf([]), false));
3089
3168
  var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
3090
- return this_3.y11(tmp$ret$4, scaledRecipe);
3169
+ return this_3.e12(tmp$ret$4, scaledRecipe);
3091
3170
  }
3092
3171
  function parseTemplate_0(templateString) {
3093
3172
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
3094
3173
  var parsedTemplate = parseTemplate(templateString);
3095
- return parsedTemplate.n1e_1;
3174
+ return parsedTemplate.x1e_1;
3096
3175
  }
3097
3176
  function renderTemplate_0(templateElements) {
3098
3177
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
@@ -3101,7 +3180,7 @@
3101
3180
  }
3102
3181
  function tolerantJson$lambda_0($this$Json) {
3103
3182
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
3104
- $this$Json.t12_1 = true;
3183
+ $this$Json.z12_1 = true;
3105
3184
  return Unit_instance;
3106
3185
  }
3107
3186
  var properties_initialized_ScaleRecipeJsContract_kt_yki7mr;
@@ -3112,20 +3191,19 @@
3112
3191
  }
3113
3192
  }
3114
3193
  //region block: post-declaration
3115
- protoOf($serializer).zs = typeParametersSerializers;
3116
- protoOf($serializer_0).zs = typeParametersSerializers;
3117
- protoOf($serializer_1).zs = typeParametersSerializers;
3118
- protoOf($serializer_2).zs = typeParametersSerializers;
3119
- protoOf($serializer_3).zs = typeParametersSerializers;
3120
- protoOf($serializer_4).zs = typeParametersSerializers;
3121
- protoOf($serializer_5).zs = typeParametersSerializers;
3122
- protoOf($serializer_6).zs = typeParametersSerializers;
3123
- protoOf($serializer_7).zs = typeParametersSerializers;
3124
- protoOf($serializer_8).zs = typeParametersSerializers;
3125
- protoOf($serializer_9).zs = typeParametersSerializers;
3194
+ protoOf($serializer).ft = typeParametersSerializers;
3195
+ protoOf($serializer_0).ft = typeParametersSerializers;
3196
+ protoOf($serializer_1).ft = typeParametersSerializers;
3197
+ protoOf($serializer_2).ft = typeParametersSerializers;
3198
+ protoOf($serializer_3).ft = typeParametersSerializers;
3199
+ protoOf($serializer_4).ft = typeParametersSerializers;
3200
+ protoOf($serializer_5).ft = typeParametersSerializers;
3201
+ protoOf($serializer_6).ft = typeParametersSerializers;
3202
+ protoOf($serializer_7).ft = typeParametersSerializers;
3203
+ protoOf($serializer_8).ft = typeParametersSerializers;
3204
+ protoOf($serializer_9).ft = typeParametersSerializers;
3126
3205
  //endregion
3127
3206
  //region block: init
3128
- FormatUtils_instance = new FormatUtils();
3129
3207
  Companion_instance_1 = new Companion_1();
3130
3208
  Companion_instance_2 = new Companion_2();
3131
3209
  Companion_instance_4 = new Companion_4();