@guardian/feast-multiplatform-library 7.1.2 → 8.0.0

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,68 +3,79 @@
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
5
  var VOID = kotlin_kotlin.$_$.b;
6
- var protoOf = kotlin_kotlin.$_$.r7;
7
- var toString = kotlin_kotlin.$_$.qa;
8
- var getNumberHashCode = kotlin_kotlin.$_$.r6;
9
- var getBooleanHashCode = kotlin_kotlin.$_$.q6;
10
- var equals = kotlin_kotlin.$_$.p6;
11
- var initMetadataForClass = kotlin_kotlin.$_$.v6;
6
+ var protoOf = kotlin_kotlin.$_$.v7;
7
+ var toString = kotlin_kotlin.$_$.xa;
8
+ var getNumberHashCode = kotlin_kotlin.$_$.u6;
9
+ var getBooleanHashCode = kotlin_kotlin.$_$.t6;
10
+ var equals = kotlin_kotlin.$_$.s6;
11
+ var initMetadataForClass = kotlin_kotlin.$_$.y6;
12
12
  var Regex_init_$Create$ = kotlin_kotlin.$_$.r;
13
- var numberToInt = kotlin_kotlin.$_$.p7;
13
+ var numberToInt = kotlin_kotlin.$_$.t7;
14
14
  var Unit_instance = kotlin_kotlin.$_$.k3;
15
- var round = kotlin_kotlin.$_$.u7;
16
- var replace = kotlin_kotlin.$_$.o8;
17
- var initMetadataForObject = kotlin_kotlin.$_$.a7;
18
- var listOfNotNull = kotlin_kotlin.$_$.y4;
19
- var joinToString = kotlin_kotlin.$_$.t4;
20
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.oa;
15
+ var round = kotlin_kotlin.$_$.y7;
16
+ var replace = kotlin_kotlin.$_$.u8;
17
+ var initMetadataForObject = kotlin_kotlin.$_$.d7;
18
+ var listOfNotNull = kotlin_kotlin.$_$.z4;
19
+ var joinToString = kotlin_kotlin.$_$.u4;
20
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.va;
21
21
  var collectionSizeOrDefault = kotlin_kotlin.$_$.a4;
22
22
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
23
- var substring = kotlin_kotlin.$_$.u8;
24
- var substringBefore = kotlin_kotlin.$_$.s8;
23
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.b1;
24
+ var charArrayOf = kotlin_kotlin.$_$.l6;
25
+ var indexOfAny = kotlin_kotlin.$_$.o8;
26
+ var THROW_CCE = kotlin_kotlin.$_$.ba;
27
+ var isCharSequence = kotlin_kotlin.$_$.i7;
28
+ var trim = kotlin_kotlin.$_$.o9;
29
+ var toString_0 = kotlin_kotlin.$_$.x7;
30
+ var to = kotlin_kotlin.$_$.ya;
31
+ var take = kotlin_kotlin.$_$.b9;
32
+ var drop = kotlin_kotlin.$_$.m8;
25
33
  var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
26
34
  var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
27
35
  var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
28
36
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.c;
29
- var lazy = kotlin_kotlin.$_$.ma;
30
- var initMetadataForCompanion = kotlin_kotlin.$_$.w6;
37
+ var lazy = kotlin_kotlin.$_$.ta;
38
+ var initMetadataForCompanion = kotlin_kotlin.$_$.z6;
31
39
  var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
32
40
  var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
33
- var THROW_CCE = kotlin_kotlin.$_$.u9;
34
41
  var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
35
42
  var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
36
43
  var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
37
44
  var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
38
- var objectCreate = kotlin_kotlin.$_$.q7;
39
- var getStringHashCode = kotlin_kotlin.$_$.t6;
40
- var hashCode = kotlin_kotlin.$_$.u6;
45
+ var objectCreate = kotlin_kotlin.$_$.u7;
46
+ var getStringHashCode = kotlin_kotlin.$_$.w6;
47
+ var hashCode = kotlin_kotlin.$_$.x6;
41
48
  var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
42
- var toString_0 = kotlin_kotlin.$_$.t7;
43
49
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
44
- var substring_0 = kotlin_kotlin.$_$.v8;
45
- var charSequenceLength = kotlin_kotlin.$_$.m6;
50
+ var substring = kotlin_kotlin.$_$.a9;
51
+ var charSequenceLength = kotlin_kotlin.$_$.p6;
46
52
  var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
47
53
  var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
48
- var getKClass = kotlin_kotlin.$_$.d8;
49
- var arrayOf = kotlin_kotlin.$_$.fa;
50
- var createKType = kotlin_kotlin.$_$.b8;
54
+ var getKClass = kotlin_kotlin.$_$.h8;
55
+ var arrayOf = kotlin_kotlin.$_$.ma;
56
+ var createKType = kotlin_kotlin.$_$.f8;
51
57
  var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
52
58
  var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
53
- var isInterface = kotlin_kotlin.$_$.i7;
54
- var print = kotlin_kotlin.$_$.q5;
55
- var Exception = kotlin_kotlin.$_$.p9;
56
- var isBlank = kotlin_kotlin.$_$.l8;
59
+ var isInterface = kotlin_kotlin.$_$.m7;
60
+ var print = kotlin_kotlin.$_$.s5;
61
+ var Exception = kotlin_kotlin.$_$.w9;
62
+ var substring_0 = kotlin_kotlin.$_$.z8;
63
+ var isBlank = kotlin_kotlin.$_$.r8;
57
64
  var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
58
- var initMetadataForInterface = kotlin_kotlin.$_$.y6;
65
+ var initMetadataForInterface = kotlin_kotlin.$_$.b7;
59
66
  var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
60
67
  var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
61
- var defineProp = kotlin_kotlin.$_$.o6;
62
- var Enum = kotlin_kotlin.$_$.o9;
63
- var listOf = kotlin_kotlin.$_$.z4;
64
- var mapCapacity = kotlin_kotlin.$_$.a5;
65
- var coerceAtLeast = kotlin_kotlin.$_$.w7;
68
+ var defineProp = kotlin_kotlin.$_$.r6;
69
+ var Enum = kotlin_kotlin.$_$.v9;
70
+ var setOf = kotlin_kotlin.$_$.g5;
71
+ var setOf_0 = kotlin_kotlin.$_$.h5;
72
+ var listOf = kotlin_kotlin.$_$.a5;
73
+ var mapCapacity = kotlin_kotlin.$_$.b5;
74
+ var coerceAtLeast = kotlin_kotlin.$_$.a8;
66
75
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.m;
67
- var plus = kotlin_kotlin.$_$.c5;
76
+ var plus = kotlin_kotlin.$_$.d5;
77
+ var emptySet = kotlin_kotlin.$_$.q4;
78
+ var contains = kotlin_kotlin.$_$.b4;
68
79
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w;
69
80
  //endregion
70
81
  //region block: pre-declaration
@@ -105,38 +116,39 @@
105
116
  initMetadataForClass(OvenTemperaturePlaceholder, 'OvenTemperaturePlaceholder', OvenTemperaturePlaceholder, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_9});
106
117
  initMetadataForObject(Imperial, 'Imperial');
107
118
  initMetadataForObject(Metric, 'Metric');
119
+ initMetadataForObject(USCustomary, 'USCustomary');
108
120
  initMetadataForClass(UnitType, 'UnitType', VOID, Enum);
109
- initMetadataForClass(Unit, 'Unit');
121
+ initMetadataForClass(MeasurementUnit, 'MeasurementUnit');
110
122
  initMetadataForObject(Units, 'Units');
111
- initMetadataForObject(UnitConversion, 'UnitConversion');
123
+ initMetadataForObject(UnitConversions, 'UnitConversions');
112
124
  //endregion
113
125
  function Amount(min, max, unit, usCust) {
114
126
  max = max === VOID ? null : max;
115
127
  unit = unit === VOID ? null : unit;
116
128
  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;
129
+ this.r1d_1 = min;
130
+ this.s1d_1 = max;
131
+ this.t1d_1 = unit;
132
+ this.u1d_1 = usCust;
121
133
  }
122
- protoOf(Amount).q1d = function (min, max, unit, usCust) {
134
+ protoOf(Amount).v1d = function (min, max, unit, usCust) {
123
135
  return new Amount(min, max, unit, usCust);
124
136
  };
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);
137
+ protoOf(Amount).w1d = function (min, max, unit, usCust, $super) {
138
+ min = min === VOID ? this.r1d_1 : min;
139
+ max = max === VOID ? this.s1d_1 : max;
140
+ unit = unit === VOID ? this.t1d_1 : unit;
141
+ usCust = usCust === VOID ? this.u1d_1 : usCust;
142
+ return $super === VOID ? this.v1d(min, max, unit, usCust) : $super.v1d.call(this, min, max, unit, usCust);
131
143
  };
132
144
  protoOf(Amount).toString = function () {
133
- return 'Amount(min=' + this.m1d_1 + ', max=' + this.n1d_1 + ', unit=' + toString(this.o1d_1) + ', usCust=' + this.p1d_1 + ')';
145
+ return 'Amount(min=' + this.r1d_1 + ', max=' + this.s1d_1 + ', unit=' + toString(this.t1d_1) + ', usCust=' + this.u1d_1 + ')';
134
146
  };
135
147
  protoOf(Amount).hashCode = function () {
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;
148
+ var result = getNumberHashCode(this.r1d_1);
149
+ result = imul(result, 31) + (this.s1d_1 == null ? 0 : getNumberHashCode(this.s1d_1)) | 0;
150
+ result = imul(result, 31) + (this.t1d_1 == null ? 0 : this.t1d_1.hashCode()) | 0;
151
+ result = imul(result, 31) + (this.u1d_1 == null ? 0 : getBooleanHashCode(this.u1d_1)) | 0;
140
152
  return result;
141
153
  };
142
154
  protoOf(Amount).equals = function (other) {
@@ -144,24 +156,24 @@
144
156
  return true;
145
157
  if (!(other instanceof Amount))
146
158
  return false;
147
- if (!equals(this.m1d_1, other.m1d_1))
159
+ if (!equals(this.r1d_1, other.r1d_1))
148
160
  return false;
149
- if (!equals(this.n1d_1, other.n1d_1))
161
+ if (!equals(this.s1d_1, other.s1d_1))
150
162
  return false;
151
- if (!equals(this.o1d_1, other.o1d_1))
163
+ if (!equals(this.t1d_1, other.t1d_1))
152
164
  return false;
153
- if (!(this.p1d_1 == other.p1d_1))
165
+ if (!(this.u1d_1 == other.u1d_1))
154
166
  return false;
155
167
  return true;
156
168
  };
157
169
  function FormatUtils$applySmartPunctuation$lambda(matchResult) {
158
- return '\u201C' + matchResult.ub().l(2) + '\u201D';
170
+ return '\u201C' + matchResult.ub().n(2) + '\u201D';
159
171
  }
160
172
  function FormatUtils() {
161
173
  FormatUtils_instance = this;
162
- this.s1d_1 = Regex_init_$Create$('(["])(.*?)(["])');
174
+ this.x1d_1 = Regex_init_$Create$('(["])(.*?)(["])');
163
175
  }
164
- protoOf(FormatUtils).t1d = function (number) {
176
+ protoOf(FormatUtils).y1d = function (number) {
165
177
  if (number === 0.0)
166
178
  return '0';
167
179
  var integerPart = numberToInt(number);
@@ -169,9 +181,9 @@
169
181
  var fractionalPart = number - integerPart;
170
182
  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
183
  };
172
- protoOf(FormatUtils).u1d = function (number, decimals, fraction) {
184
+ protoOf(FormatUtils).z1d = function (number, decimals, fraction) {
173
185
  if (fraction) {
174
- return this.t1d(number);
186
+ return this.y1d(number);
175
187
  } else {
176
188
  var multiplier = 1.0;
177
189
  // Inline function 'kotlin.repeat' call
@@ -193,8 +205,8 @@
193
205
  return tmp;
194
206
  }
195
207
  };
196
- protoOf(FormatUtils).v1d = function (text) {
197
- var withQuotes = this.s1d_1.za(text, FormatUtils$applySmartPunctuation$lambda);
208
+ protoOf(FormatUtils).a1e = function (text) {
209
+ var withQuotes = this.x1d_1.za(text, FormatUtils$applySmartPunctuation$lambda);
198
210
  return replace(replace(withQuotes, "'", '\u2019'), ' - ', ' \u2013 ');
199
211
  };
200
212
  var FormatUtils_instance;
@@ -241,25 +253,10 @@
241
253
  tmp_5 = null;
242
254
  } else {
243
255
  // Inline function 'kotlin.let' call
244
- tmp_5 = '/gas mark ' + FormatUtils_getInstance().t1d(tmp3_safe_receiver);
256
+ tmp_5 = '/gas mark ' + FormatUtils_getInstance().y1d(tmp3_safe_receiver);
245
257
  }
246
258
  return joinToString(listOfNotNull([tmp_2, fanTempC, tmp_4, tmp_5]), '');
247
259
  }
248
- function scaleAmount(amount, factor, shouldScale) {
249
- if (!shouldScale) {
250
- return amount;
251
- }
252
- var tmp = amount.m1d_1 * factor;
253
- var tmp0_safe_receiver = amount.n1d_1;
254
- var tmp_0;
255
- if (tmp0_safe_receiver == null) {
256
- tmp_0 = null;
257
- } else {
258
- // Inline function 'kotlin.let' call
259
- tmp_0 = tmp0_safe_receiver * factor;
260
- }
261
- return amount.r1d(tmp, tmp_0);
262
- }
263
260
  function renderQuantity(element, factor, measuringSystem) {
264
261
  var tmp = !(element.min === element.max) ? element.max : null;
265
262
  var tmp0_safe_receiver = element.unit;
@@ -268,40 +265,40 @@
268
265
  tmp_0 = null;
269
266
  } else {
270
267
  // Inline function 'kotlin.let' call
271
- tmp_0 = Units_getInstance().m1e(tmp0_safe_receiver);
268
+ tmp_0 = Units_getInstance().z1e(tmp0_safe_receiver);
272
269
  }
273
270
  var amount = new Amount(element.min, tmp, tmp_0, element.usCust);
274
- amount = scaleAmount(amount, factor, element.scale);
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
+ var factorToUse = !element.scale ? 1.0 : factor;
272
+ amount = UnitConversions_getInstance().f1f(amount, measuringSystem, factorToUse);
273
+ var tmp1_subject = amount.t1d_1;
274
+ var decimals = equals(tmp1_subject, Units_getInstance().b1e_1) || (equals(tmp1_subject, Units_getInstance().f1e_1) || equals(tmp1_subject, Units_getInstance().s1e_1)) ? 0 : equals(tmp1_subject, Units_getInstance().t1e_1) || equals(tmp1_subject, Units_getInstance().u1e_1) ? 1 : 2;
275
+ var tmp2_subject = amount.t1d_1;
276
+ var fraction = equals(tmp2_subject, Units_getInstance().k1e_1) || (equals(tmp2_subject, Units_getInstance().i1e_1) || equals(tmp2_subject, Units_getInstance().l1e_1)) || (equals(tmp2_subject, Units_getInstance().j1e_1) || (equals(tmp2_subject, Units_getInstance().o1e_1) || equals(tmp2_subject, Units_getInstance().n1e_1))) ? true : tmp2_subject == null ? true : false;
280
277
  var tmp_1;
281
- if (!(amount.o1d_1 == null)) {
278
+ if (!(amount.t1d_1 == null)) {
282
279
  var tmp_2;
283
- var tmp0 = amount.m1d_1;
284
- var tmp3_elvis_lhs = amount.n1d_1;
280
+ var tmp0 = amount.r1d_1;
281
+ var tmp3_elvis_lhs = amount.s1d_1;
285
282
  // Inline function 'kotlin.math.max' call
286
- var b = tmp3_elvis_lhs == null ? amount.m1d_1 : tmp3_elvis_lhs;
283
+ var b = tmp3_elvis_lhs == null ? amount.r1d_1 : tmp3_elvis_lhs;
287
284
  if (Math.max(tmp0, b) > 1) {
288
- tmp_2 = ' ' + amount.o1d_1.u1e_1;
285
+ tmp_2 = ' ' + amount.t1d_1.j1f_1;
289
286
  } else {
290
- tmp_2 = ' ' + amount.o1d_1.t1e_1;
287
+ tmp_2 = ' ' + amount.t1d_1.i1f_1;
291
288
  }
292
289
  tmp_1 = tmp_2;
293
290
  } else {
294
291
  tmp_1 = '';
295
292
  }
296
293
  var unitString = tmp_1;
297
- var tmp_3 = FormatUtils_getInstance().u1d(amount.m1d_1, decimals, fraction);
298
- var tmp4_safe_receiver = amount.n1d_1;
294
+ var tmp_3 = FormatUtils_getInstance().z1d(amount.r1d_1, decimals, fraction);
295
+ var tmp4_safe_receiver = amount.s1d_1;
299
296
  var tmp_4;
300
297
  if (tmp4_safe_receiver == null) {
301
298
  tmp_4 = null;
302
299
  } else {
303
300
  // Inline function 'kotlin.let' call
304
- tmp_4 = '-' + FormatUtils_getInstance().u1d(tmp4_safe_receiver, decimals, fraction);
301
+ tmp_4 = '-' + FormatUtils_getInstance().z1d(tmp4_safe_receiver, decimals, fraction);
305
302
  }
306
303
  return joinToString(listOfNotNull([tmp_3, tmp_4, unitString]), '');
307
304
  }
@@ -324,7 +321,7 @@
324
321
  }
325
322
  function renderTemplate(template, factor, measuringSystem) {
326
323
  // Inline function 'kotlin.collections.map' call
327
- var this_0 = template.x1e_1;
324
+ var this_0 = template.n1f_1;
328
325
  // Inline function 'kotlin.collections.mapTo' call
329
326
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
330
327
  var _iterator__ex2g4s = this_0.h();
@@ -334,15 +331,33 @@
334
331
  destination.f(tmp$ret$0);
335
332
  }
336
333
  var renderedParts = destination;
337
- return FormatUtils_getInstance().v1d(joinToString(renderedParts, ''));
334
+ return FormatUtils_getInstance().a1e(joinToString(renderedParts, ''));
335
+ }
336
+ function splitBeforeSuffix(value) {
337
+ // Inline function 'kotlin.charArrayOf' call
338
+ var separators = charArrayOf([_Char___init__impl__6a9atx(44), _Char___init__impl__6a9atx(59), _Char___init__impl__6a9atx(40)]);
339
+ var index = indexOfAny(value, separators);
340
+ var tmp;
341
+ if (!(index === -1)) {
342
+ var before = take(value, index);
343
+ var after = drop(value, index);
344
+ tmp = to(before, after);
345
+ } else {
346
+ // Inline function 'kotlin.text.trim' call
347
+ var tmp$ret$1 = toString_0(trim(isCharSequence(value) ? value : THROW_CCE()));
348
+ tmp = to(tmp$ret$1, null);
349
+ }
350
+ return tmp;
338
351
  }
339
352
  function wrapWithStrongTag(value) {
340
- var before = ingredientWithoutSuffix(value);
341
- var after = substring(value, before.length);
342
- return '<strong>' + before + '<\/strong>' + after;
353
+ var _destruct__k2r9zo = splitBeforeSuffix(value);
354
+ var before = _destruct__k2r9zo.jd();
355
+ var after = _destruct__k2r9zo.kd();
356
+ // Inline function 'kotlin.text.orEmpty' call
357
+ return '<strong>' + before + '<\/strong>' + (after == null ? '' : after);
343
358
  }
344
359
  function scaleAndConvertUnitRecipe(recipe, factor, measuringSystem) {
345
- var tmp0_safe_receiver = recipe.k1f_1;
360
+ var tmp0_safe_receiver = recipe.a1g_1;
346
361
  var tmp;
347
362
  if (tmp0_safe_receiver == null) {
348
363
  tmp = null;
@@ -353,7 +368,7 @@
353
368
  var _iterator__ex2g4s = tmp0_safe_receiver.h();
354
369
  while (_iterator__ex2g4s.i()) {
355
370
  var item = _iterator__ex2g4s.j();
356
- var tmp0_safe_receiver_0 = item.v1f_1;
371
+ var tmp0_safe_receiver_0 = item.l1g_1;
357
372
  var tmp_0;
358
373
  if (tmp0_safe_receiver_0 == null) {
359
374
  tmp_0 = null;
@@ -364,7 +379,7 @@
364
379
  var _iterator__ex2g4s_0 = tmp0_safe_receiver_0.h();
365
380
  while (_iterator__ex2g4s_0.i()) {
366
381
  var item_0 = _iterator__ex2g4s_0.j();
367
- var tmp0_safe_receiver_1 = item_0.d1g_1;
382
+ var tmp0_safe_receiver_1 = item_0.t1g_1;
368
383
  var tmp_1;
369
384
  if (tmp0_safe_receiver_1 == null) {
370
385
  tmp_1 = null;
@@ -373,19 +388,19 @@
373
388
  tmp_1 = wrapWithStrongTag(renderTemplate(parseTemplate(tmp0_safe_receiver_1), factor, measuringSystem));
374
389
  }
375
390
  var tmp1_elvis_lhs = tmp_1;
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);
391
+ var scaledText = tmp1_elvis_lhs == null ? item_0.u1g_1 : tmp1_elvis_lhs;
392
+ var tmp$ret$2 = item_0.w1g(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
378
393
  destination_0.f(tmp$ret$2);
379
394
  }
380
395
  tmp_0 = destination_0;
381
396
  }
382
- var tmp$ret$5 = new IngredientsList(tmp_0, item.w1f_1);
397
+ var tmp$ret$5 = new IngredientsList(tmp_0, item.m1g_1);
383
398
  destination.f(tmp$ret$5);
384
399
  }
385
400
  tmp = destination;
386
401
  }
387
402
  var scaledIngredients = tmp;
388
- var tmp1_safe_receiver = recipe.l1f_1;
403
+ var tmp1_safe_receiver = recipe.b1g_1;
389
404
  var tmp_2;
390
405
  if (tmp1_safe_receiver == null) {
391
406
  tmp_2 = null;
@@ -396,7 +411,7 @@
396
411
  var _iterator__ex2g4s_1 = tmp1_safe_receiver.h();
397
412
  while (_iterator__ex2g4s_1.i()) {
398
413
  var item_1 = _iterator__ex2g4s_1.j();
399
- var tmp0_safe_receiver_2 = item_1.i1g_1;
414
+ var tmp0_safe_receiver_2 = item_1.y1g_1;
400
415
  var tmp_3;
401
416
  if (tmp0_safe_receiver_2 == null) {
402
417
  tmp_3 = null;
@@ -405,16 +420,13 @@
405
420
  tmp_3 = renderTemplate(parseTemplate(tmp0_safe_receiver_2), factor, measuringSystem);
406
421
  }
407
422
  var description = tmp_3;
408
- var tmp$ret$10 = item_1.l1g(description == null ? item_1.h1g_1 : description);
423
+ var tmp$ret$10 = item_1.b1h(description == null ? item_1.x1g_1 : description);
409
424
  destination_1.f(tmp$ret$10);
410
425
  }
411
426
  tmp_2 = destination_1;
412
427
  }
413
428
  var scaledInstructions = tmp_2;
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, ',');
429
+ return recipe.c1h(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
418
430
  }
419
431
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn() {
420
432
  return new ArrayListSerializer(StringSerializer_getInstance());
@@ -486,7 +498,7 @@
486
498
  // Inline function 'kotlin.arrayOf' call
487
499
  // Inline function 'kotlin.js.unsafeCast' call
488
500
  // Inline function 'kotlin.js.asDynamic' call
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];
501
+ tmp.d1h_1 = [null, tmp_1, null, tmp_3, tmp_5, null, tmp_7, tmp_9, null, null, null, null, tmp_11, tmp_13, null, tmp_15, tmp_17, tmp_19, tmp_21, tmp_23, null, lazy(tmp_24, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11), null];
490
502
  }
491
503
  var Companion_instance;
492
504
  function Companion_getInstance() {
@@ -497,109 +509,109 @@
497
509
  function $serializer() {
498
510
  $serializer_instance = this;
499
511
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.RecipeV3', this, 23);
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;
512
+ tmp0_serialDesc.ht('bookCredit', true);
513
+ tmp0_serialDesc.ht('byline', true);
514
+ tmp0_serialDesc.ht('canonicalArticle', true);
515
+ tmp0_serialDesc.ht('celebrationIds', true);
516
+ tmp0_serialDesc.ht('commerceCtas', true);
517
+ tmp0_serialDesc.ht('composerId', true);
518
+ tmp0_serialDesc.ht('contributors', true);
519
+ tmp0_serialDesc.ht('cuisineIds', true);
520
+ tmp0_serialDesc.ht('description', true);
521
+ tmp0_serialDesc.ht('difficultyLevel', true);
522
+ tmp0_serialDesc.ht('featuredImage', true);
523
+ tmp0_serialDesc.ht('id', false);
524
+ tmp0_serialDesc.ht('ingredients', true);
525
+ tmp0_serialDesc.ht('instructions', true);
526
+ tmp0_serialDesc.ht('isAppReady', true);
527
+ tmp0_serialDesc.ht('mealTypeIds', true);
528
+ tmp0_serialDesc.ht('serves', true);
529
+ tmp0_serialDesc.ht('suitableForDietIds', true);
530
+ tmp0_serialDesc.ht('techniquesUsedIds', true);
531
+ tmp0_serialDesc.ht('timings', true);
532
+ tmp0_serialDesc.ht('title', true);
533
+ tmp0_serialDesc.ht('utensilsAndApplianceIds', true);
534
+ tmp0_serialDesc.ht('webPublicationDate', true);
535
+ this.e1h_1 = tmp0_serialDesc;
524
536
  }
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);
537
+ protoOf($serializer).f1h = function (encoder, value) {
538
+ var tmp0_desc = this.e1h_1;
539
+ var tmp1_output = encoder.yl(tmp0_desc);
540
+ var tmp2_cached = Companion_getInstance().d1h_1;
541
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.o1f_1 == null)) {
542
+ tmp1_output.qn(tmp0_desc, 0, StringSerializer_getInstance(), value.o1f_1);
531
543
  }
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);
544
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.p1f_1 == null)) {
545
+ tmp1_output.qn(tmp0_desc, 1, tmp2_cached[1].t1(), value.p1f_1);
534
546
  }
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);
547
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.q1f_1 == null)) {
548
+ tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.q1f_1);
537
549
  }
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);
550
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.r1f_1 == null)) {
551
+ tmp1_output.qn(tmp0_desc, 3, tmp2_cached[3].t1(), value.r1f_1);
540
552
  }
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);
553
+ if (tmp1_output.un(tmp0_desc, 4) ? true : !(value.s1f_1 == null)) {
554
+ tmp1_output.qn(tmp0_desc, 4, tmp2_cached[4].t1(), value.s1f_1);
543
555
  }
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);
556
+ if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.t1f_1 == null)) {
557
+ tmp1_output.qn(tmp0_desc, 5, StringSerializer_getInstance(), value.t1f_1);
546
558
  }
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);
559
+ if (tmp1_output.un(tmp0_desc, 6) ? true : !(value.u1f_1 == null)) {
560
+ tmp1_output.qn(tmp0_desc, 6, tmp2_cached[6].t1(), value.u1f_1);
549
561
  }
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);
562
+ if (tmp1_output.un(tmp0_desc, 7) ? true : !(value.v1f_1 == null)) {
563
+ tmp1_output.qn(tmp0_desc, 7, tmp2_cached[7].t1(), value.v1f_1);
552
564
  }
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);
565
+ if (tmp1_output.un(tmp0_desc, 8) ? true : !(value.w1f_1 == null)) {
566
+ tmp1_output.qn(tmp0_desc, 8, StringSerializer_getInstance(), value.w1f_1);
555
567
  }
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);
568
+ if (tmp1_output.un(tmp0_desc, 9) ? true : !(value.x1f_1 == null)) {
569
+ tmp1_output.qn(tmp0_desc, 9, StringSerializer_getInstance(), value.x1f_1);
558
570
  }
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);
571
+ if (tmp1_output.un(tmp0_desc, 10) ? true : !(value.y1f_1 == null)) {
572
+ tmp1_output.qn(tmp0_desc, 10, $serializer_getInstance_1(), value.y1f_1);
561
573
  }
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);
574
+ tmp1_output.mn(tmp0_desc, 11, value.z1f_1);
575
+ if (tmp1_output.un(tmp0_desc, 12) ? true : !(value.a1g_1 == null)) {
576
+ tmp1_output.qn(tmp0_desc, 12, tmp2_cached[12].t1(), value.a1g_1);
565
577
  }
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);
578
+ if (tmp1_output.un(tmp0_desc, 13) ? true : !(value.b1g_1 == null)) {
579
+ tmp1_output.qn(tmp0_desc, 13, tmp2_cached[13].t1(), value.b1g_1);
568
580
  }
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);
581
+ if (tmp1_output.un(tmp0_desc, 14) ? true : !(value.c1g_1 == null)) {
582
+ tmp1_output.qn(tmp0_desc, 14, BooleanSerializer_getInstance(), value.c1g_1);
571
583
  }
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);
584
+ if (tmp1_output.un(tmp0_desc, 15) ? true : !(value.d1g_1 == null)) {
585
+ tmp1_output.qn(tmp0_desc, 15, tmp2_cached[15].t1(), value.d1g_1);
574
586
  }
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);
587
+ if (tmp1_output.un(tmp0_desc, 16) ? true : !(value.e1g_1 == null)) {
588
+ tmp1_output.qn(tmp0_desc, 16, tmp2_cached[16].t1(), value.e1g_1);
577
589
  }
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);
590
+ if (tmp1_output.un(tmp0_desc, 17) ? true : !(value.f1g_1 == null)) {
591
+ tmp1_output.qn(tmp0_desc, 17, tmp2_cached[17].t1(), value.f1g_1);
580
592
  }
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);
593
+ if (tmp1_output.un(tmp0_desc, 18) ? true : !(value.g1g_1 == null)) {
594
+ tmp1_output.qn(tmp0_desc, 18, tmp2_cached[18].t1(), value.g1g_1);
583
595
  }
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);
596
+ if (tmp1_output.un(tmp0_desc, 19) ? true : !(value.h1g_1 == null)) {
597
+ tmp1_output.qn(tmp0_desc, 19, tmp2_cached[19].t1(), value.h1g_1);
586
598
  }
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);
599
+ if (tmp1_output.un(tmp0_desc, 20) ? true : !(value.i1g_1 == null)) {
600
+ tmp1_output.qn(tmp0_desc, 20, StringSerializer_getInstance(), value.i1g_1);
589
601
  }
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);
602
+ if (tmp1_output.un(tmp0_desc, 21) ? true : !(value.j1g_1 == null)) {
603
+ tmp1_output.qn(tmp0_desc, 21, tmp2_cached[21].t1(), value.j1g_1);
592
604
  }
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);
605
+ if (tmp1_output.un(tmp0_desc, 22) ? true : !(value.k1g_1 == null)) {
606
+ tmp1_output.qn(tmp0_desc, 22, StringSerializer_getInstance(), value.k1g_1);
595
607
  }
596
- tmp1_output.ul(tmp0_desc);
608
+ tmp1_output.zl(tmp0_desc);
597
609
  };
598
- protoOf($serializer).xi = function (encoder, value) {
599
- return this.p1g(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
610
+ protoOf($serializer).cj = function (encoder, value) {
611
+ return this.f1h(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
600
612
  };
601
- protoOf($serializer).yi = function (decoder) {
602
- var tmp0_desc = this.o1g_1;
613
+ protoOf($serializer).dj = function (decoder) {
614
+ var tmp0_desc = this.e1h_1;
603
615
  var tmp1_flag = true;
604
616
  var tmp2_index = 0;
605
617
  var tmp3_bitMask0 = 0;
@@ -626,166 +638,166 @@
626
638
  var tmp24_local20 = null;
627
639
  var tmp25_local21 = null;
628
640
  var tmp26_local22 = null;
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);
641
+ var tmp27_input = decoder.yl(tmp0_desc);
642
+ var tmp28_cached = Companion_getInstance().d1h_1;
643
+ if (tmp27_input.om()) {
644
+ tmp4_local0 = tmp27_input.mm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
633
645
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
634
- tmp5_local1 = tmp27_input.hm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
646
+ tmp5_local1 = tmp27_input.mm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
635
647
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
636
- tmp6_local2 = tmp27_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
648
+ tmp6_local2 = tmp27_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
637
649
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
638
- tmp7_local3 = tmp27_input.hm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
650
+ tmp7_local3 = tmp27_input.mm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
639
651
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
640
- tmp8_local4 = tmp27_input.hm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
652
+ tmp8_local4 = tmp27_input.mm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
641
653
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
642
- tmp9_local5 = tmp27_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
654
+ tmp9_local5 = tmp27_input.mm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
643
655
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
644
- tmp10_local6 = tmp27_input.hm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
656
+ tmp10_local6 = tmp27_input.mm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
645
657
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
646
- tmp11_local7 = tmp27_input.hm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
658
+ tmp11_local7 = tmp27_input.mm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
647
659
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
648
- tmp12_local8 = tmp27_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
660
+ tmp12_local8 = tmp27_input.mm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
649
661
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
650
- tmp13_local9 = tmp27_input.hm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
662
+ tmp13_local9 = tmp27_input.mm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
651
663
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
652
- tmp14_local10 = tmp27_input.hm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
664
+ tmp14_local10 = tmp27_input.mm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
653
665
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
654
- tmp15_local11 = tmp27_input.dm(tmp0_desc, 11);
666
+ tmp15_local11 = tmp27_input.im(tmp0_desc, 11);
655
667
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
656
- tmp16_local12 = tmp27_input.hm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
668
+ tmp16_local12 = tmp27_input.mm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
657
669
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
658
- tmp17_local13 = tmp27_input.hm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
670
+ tmp17_local13 = tmp27_input.mm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
659
671
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
660
- tmp18_local14 = tmp27_input.hm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
672
+ tmp18_local14 = tmp27_input.mm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
661
673
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
662
- tmp19_local15 = tmp27_input.hm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
674
+ tmp19_local15 = tmp27_input.mm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
663
675
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
664
- tmp20_local16 = tmp27_input.hm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
676
+ tmp20_local16 = tmp27_input.mm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
665
677
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
666
- tmp21_local17 = tmp27_input.hm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
678
+ tmp21_local17 = tmp27_input.mm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
667
679
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
668
- tmp22_local18 = tmp27_input.hm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
680
+ tmp22_local18 = tmp27_input.mm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
669
681
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
670
- tmp23_local19 = tmp27_input.hm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
682
+ tmp23_local19 = tmp27_input.mm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
671
683
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
672
- tmp24_local20 = tmp27_input.hm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
684
+ tmp24_local20 = tmp27_input.mm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
673
685
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
674
- tmp25_local21 = tmp27_input.hm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
686
+ tmp25_local21 = tmp27_input.mm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
675
687
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
676
- tmp26_local22 = tmp27_input.hm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
688
+ tmp26_local22 = tmp27_input.mm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
677
689
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
678
690
  } else
679
691
  while (tmp1_flag) {
680
- tmp2_index = tmp27_input.km(tmp0_desc);
692
+ tmp2_index = tmp27_input.pm(tmp0_desc);
681
693
  switch (tmp2_index) {
682
694
  case -1:
683
695
  tmp1_flag = false;
684
696
  break;
685
697
  case 0:
686
- tmp4_local0 = tmp27_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
698
+ tmp4_local0 = tmp27_input.mm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
687
699
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
688
700
  break;
689
701
  case 1:
690
- tmp5_local1 = tmp27_input.hm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
702
+ tmp5_local1 = tmp27_input.mm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
691
703
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
692
704
  break;
693
705
  case 2:
694
- tmp6_local2 = tmp27_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
706
+ tmp6_local2 = tmp27_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
695
707
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
696
708
  break;
697
709
  case 3:
698
- tmp7_local3 = tmp27_input.hm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
710
+ tmp7_local3 = tmp27_input.mm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
699
711
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
700
712
  break;
701
713
  case 4:
702
- tmp8_local4 = tmp27_input.hm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
714
+ tmp8_local4 = tmp27_input.mm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
703
715
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
704
716
  break;
705
717
  case 5:
706
- tmp9_local5 = tmp27_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
718
+ tmp9_local5 = tmp27_input.mm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
707
719
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
708
720
  break;
709
721
  case 6:
710
- tmp10_local6 = tmp27_input.hm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
722
+ tmp10_local6 = tmp27_input.mm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
711
723
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
712
724
  break;
713
725
  case 7:
714
- tmp11_local7 = tmp27_input.hm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
726
+ tmp11_local7 = tmp27_input.mm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
715
727
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
716
728
  break;
717
729
  case 8:
718
- tmp12_local8 = tmp27_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
730
+ tmp12_local8 = tmp27_input.mm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
719
731
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
720
732
  break;
721
733
  case 9:
722
- tmp13_local9 = tmp27_input.hm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
734
+ tmp13_local9 = tmp27_input.mm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
723
735
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
724
736
  break;
725
737
  case 10:
726
- tmp14_local10 = tmp27_input.hm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
738
+ tmp14_local10 = tmp27_input.mm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
727
739
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
728
740
  break;
729
741
  case 11:
730
- tmp15_local11 = tmp27_input.dm(tmp0_desc, 11);
742
+ tmp15_local11 = tmp27_input.im(tmp0_desc, 11);
731
743
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
732
744
  break;
733
745
  case 12:
734
- tmp16_local12 = tmp27_input.hm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
746
+ tmp16_local12 = tmp27_input.mm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
735
747
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
736
748
  break;
737
749
  case 13:
738
- tmp17_local13 = tmp27_input.hm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
750
+ tmp17_local13 = tmp27_input.mm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
739
751
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
740
752
  break;
741
753
  case 14:
742
- tmp18_local14 = tmp27_input.hm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
754
+ tmp18_local14 = tmp27_input.mm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
743
755
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
744
756
  break;
745
757
  case 15:
746
- tmp19_local15 = tmp27_input.hm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
758
+ tmp19_local15 = tmp27_input.mm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
747
759
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
748
760
  break;
749
761
  case 16:
750
- tmp20_local16 = tmp27_input.hm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
762
+ tmp20_local16 = tmp27_input.mm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
751
763
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
752
764
  break;
753
765
  case 17:
754
- tmp21_local17 = tmp27_input.hm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
766
+ tmp21_local17 = tmp27_input.mm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
755
767
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
756
768
  break;
757
769
  case 18:
758
- tmp22_local18 = tmp27_input.hm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
770
+ tmp22_local18 = tmp27_input.mm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
759
771
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
760
772
  break;
761
773
  case 19:
762
- tmp23_local19 = tmp27_input.hm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
774
+ tmp23_local19 = tmp27_input.mm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
763
775
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
764
776
  break;
765
777
  case 20:
766
- tmp24_local20 = tmp27_input.hm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
778
+ tmp24_local20 = tmp27_input.mm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
767
779
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
768
780
  break;
769
781
  case 21:
770
- tmp25_local21 = tmp27_input.hm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
782
+ tmp25_local21 = tmp27_input.mm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
771
783
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
772
784
  break;
773
785
  case 22:
774
- tmp26_local22 = tmp27_input.hm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
786
+ tmp26_local22 = tmp27_input.mm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
775
787
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
776
788
  break;
777
789
  default:
778
790
  throw UnknownFieldException_init_$Create$(tmp2_index);
779
791
  }
780
792
  }
781
- tmp27_input.ul(tmp0_desc);
793
+ tmp27_input.zl(tmp0_desc);
782
794
  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);
783
795
  };
784
- protoOf($serializer).wi = function () {
785
- return this.o1g_1;
796
+ protoOf($serializer).bj = function () {
797
+ return this.e1h_1;
786
798
  };
787
- protoOf($serializer).et = function () {
788
- var tmp0_cached = Companion_getInstance().n1g_1;
799
+ protoOf($serializer).jt = function () {
800
+ var tmp0_cached = Companion_getInstance().d1h_1;
789
801
  // Inline function 'kotlin.arrayOf' call
790
802
  // Inline function 'kotlin.js.unsafeCast' call
791
803
  // Inline function 'kotlin.js.asDynamic' call
@@ -799,97 +811,97 @@
799
811
  }
800
812
  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) {
801
813
  if (!(2048 === (2048 & seen0))) {
802
- throwMissingFieldException(seen0, 2048, $serializer_getInstance().o1g_1);
814
+ throwMissingFieldException(seen0, 2048, $serializer_getInstance().e1h_1);
803
815
  }
804
816
  if (0 === (seen0 & 1))
805
- $this.y1e_1 = null;
817
+ $this.o1f_1 = null;
806
818
  else
807
- $this.y1e_1 = bookCredit;
819
+ $this.o1f_1 = bookCredit;
808
820
  if (0 === (seen0 & 2))
809
- $this.z1e_1 = null;
821
+ $this.p1f_1 = null;
810
822
  else
811
- $this.z1e_1 = byline;
823
+ $this.p1f_1 = byline;
812
824
  if (0 === (seen0 & 4))
813
- $this.a1f_1 = null;
825
+ $this.q1f_1 = null;
814
826
  else
815
- $this.a1f_1 = canonicalArticle;
827
+ $this.q1f_1 = canonicalArticle;
816
828
  if (0 === (seen0 & 8))
817
- $this.b1f_1 = null;
829
+ $this.r1f_1 = null;
818
830
  else
819
- $this.b1f_1 = celebrationIds;
831
+ $this.r1f_1 = celebrationIds;
820
832
  if (0 === (seen0 & 16))
821
- $this.c1f_1 = null;
833
+ $this.s1f_1 = null;
822
834
  else
823
- $this.c1f_1 = commerceCtas;
835
+ $this.s1f_1 = commerceCtas;
824
836
  if (0 === (seen0 & 32))
825
- $this.d1f_1 = null;
837
+ $this.t1f_1 = null;
826
838
  else
827
- $this.d1f_1 = composerId;
839
+ $this.t1f_1 = composerId;
828
840
  if (0 === (seen0 & 64))
829
- $this.e1f_1 = null;
841
+ $this.u1f_1 = null;
830
842
  else
831
- $this.e1f_1 = contributors;
843
+ $this.u1f_1 = contributors;
832
844
  if (0 === (seen0 & 128))
833
- $this.f1f_1 = null;
845
+ $this.v1f_1 = null;
834
846
  else
835
- $this.f1f_1 = cuisineIds;
847
+ $this.v1f_1 = cuisineIds;
836
848
  if (0 === (seen0 & 256))
837
- $this.g1f_1 = null;
849
+ $this.w1f_1 = null;
838
850
  else
839
- $this.g1f_1 = description;
851
+ $this.w1f_1 = description;
840
852
  if (0 === (seen0 & 512))
841
- $this.h1f_1 = null;
853
+ $this.x1f_1 = null;
842
854
  else
843
- $this.h1f_1 = difficultyLevel;
855
+ $this.x1f_1 = difficultyLevel;
844
856
  if (0 === (seen0 & 1024))
845
- $this.i1f_1 = null;
857
+ $this.y1f_1 = null;
846
858
  else
847
- $this.i1f_1 = featuredImage;
848
- $this.j1f_1 = id;
859
+ $this.y1f_1 = featuredImage;
860
+ $this.z1f_1 = id;
849
861
  if (0 === (seen0 & 4096))
850
- $this.k1f_1 = null;
862
+ $this.a1g_1 = null;
851
863
  else
852
- $this.k1f_1 = ingredients;
864
+ $this.a1g_1 = ingredients;
853
865
  if (0 === (seen0 & 8192))
854
- $this.l1f_1 = null;
866
+ $this.b1g_1 = null;
855
867
  else
856
- $this.l1f_1 = instructions;
868
+ $this.b1g_1 = instructions;
857
869
  if (0 === (seen0 & 16384))
858
- $this.m1f_1 = null;
870
+ $this.c1g_1 = null;
859
871
  else
860
- $this.m1f_1 = isAppReady;
872
+ $this.c1g_1 = isAppReady;
861
873
  if (0 === (seen0 & 32768))
862
- $this.n1f_1 = null;
874
+ $this.d1g_1 = null;
863
875
  else
864
- $this.n1f_1 = mealTypeIds;
876
+ $this.d1g_1 = mealTypeIds;
865
877
  if (0 === (seen0 & 65536))
866
- $this.o1f_1 = null;
878
+ $this.e1g_1 = null;
867
879
  else
868
- $this.o1f_1 = serves;
880
+ $this.e1g_1 = serves;
869
881
  if (0 === (seen0 & 131072))
870
- $this.p1f_1 = null;
882
+ $this.f1g_1 = null;
871
883
  else
872
- $this.p1f_1 = suitableForDietIds;
884
+ $this.f1g_1 = suitableForDietIds;
873
885
  if (0 === (seen0 & 262144))
874
- $this.q1f_1 = null;
886
+ $this.g1g_1 = null;
875
887
  else
876
- $this.q1f_1 = techniquesUsedIds;
888
+ $this.g1g_1 = techniquesUsedIds;
877
889
  if (0 === (seen0 & 524288))
878
- $this.r1f_1 = null;
890
+ $this.h1g_1 = null;
879
891
  else
880
- $this.r1f_1 = timings;
892
+ $this.h1g_1 = timings;
881
893
  if (0 === (seen0 & 1048576))
882
- $this.s1f_1 = null;
894
+ $this.i1g_1 = null;
883
895
  else
884
- $this.s1f_1 = title;
896
+ $this.i1g_1 = title;
885
897
  if (0 === (seen0 & 2097152))
886
- $this.t1f_1 = null;
898
+ $this.j1g_1 = null;
887
899
  else
888
- $this.t1f_1 = utensilsAndApplianceIds;
900
+ $this.j1g_1 = utensilsAndApplianceIds;
889
901
  if (0 === (seen0 & 4194304))
890
- $this.u1f_1 = null;
902
+ $this.k1g_1 = null;
891
903
  else
892
- $this.u1f_1 = webPublicationDate;
904
+ $this.k1g_1 = webPublicationDate;
893
905
  return $this;
894
906
  }
895
907
  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) {
@@ -919,86 +931,86 @@
919
931
  title = title === VOID ? null : title;
920
932
  utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? null : utensilsAndApplianceIds;
921
933
  webPublicationDate = webPublicationDate === VOID ? null : 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) {
934
+ this.o1f_1 = bookCredit;
935
+ this.p1f_1 = byline;
936
+ this.q1f_1 = canonicalArticle;
937
+ this.r1f_1 = celebrationIds;
938
+ this.s1f_1 = commerceCtas;
939
+ this.t1f_1 = composerId;
940
+ this.u1f_1 = contributors;
941
+ this.v1f_1 = cuisineIds;
942
+ this.w1f_1 = description;
943
+ this.x1f_1 = difficultyLevel;
944
+ this.y1f_1 = featuredImage;
945
+ this.z1f_1 = id;
946
+ this.a1g_1 = ingredients;
947
+ this.b1g_1 = instructions;
948
+ this.c1g_1 = isAppReady;
949
+ this.d1g_1 = mealTypeIds;
950
+ this.e1g_1 = serves;
951
+ this.f1g_1 = suitableForDietIds;
952
+ this.g1g_1 = techniquesUsedIds;
953
+ this.h1g_1 = timings;
954
+ this.i1g_1 = title;
955
+ this.j1g_1 = utensilsAndApplianceIds;
956
+ this.k1g_1 = webPublicationDate;
957
+ }
958
+ protoOf(RecipeV3).g1h = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
947
959
  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);
948
960
  };
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);
961
+ protoOf(RecipeV3).c1h = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, $super) {
962
+ bookCredit = bookCredit === VOID ? this.o1f_1 : bookCredit;
963
+ byline = byline === VOID ? this.p1f_1 : byline;
964
+ canonicalArticle = canonicalArticle === VOID ? this.q1f_1 : canonicalArticle;
965
+ celebrationIds = celebrationIds === VOID ? this.r1f_1 : celebrationIds;
966
+ commerceCtas = commerceCtas === VOID ? this.s1f_1 : commerceCtas;
967
+ composerId = composerId === VOID ? this.t1f_1 : composerId;
968
+ contributors = contributors === VOID ? this.u1f_1 : contributors;
969
+ cuisineIds = cuisineIds === VOID ? this.v1f_1 : cuisineIds;
970
+ description = description === VOID ? this.w1f_1 : description;
971
+ difficultyLevel = difficultyLevel === VOID ? this.x1f_1 : difficultyLevel;
972
+ featuredImage = featuredImage === VOID ? this.y1f_1 : featuredImage;
973
+ id = id === VOID ? this.z1f_1 : id;
974
+ ingredients = ingredients === VOID ? this.a1g_1 : ingredients;
975
+ instructions = instructions === VOID ? this.b1g_1 : instructions;
976
+ isAppReady = isAppReady === VOID ? this.c1g_1 : isAppReady;
977
+ mealTypeIds = mealTypeIds === VOID ? this.d1g_1 : mealTypeIds;
978
+ serves = serves === VOID ? this.e1g_1 : serves;
979
+ suitableForDietIds = suitableForDietIds === VOID ? this.f1g_1 : suitableForDietIds;
980
+ techniquesUsedIds = techniquesUsedIds === VOID ? this.g1g_1 : techniquesUsedIds;
981
+ timings = timings === VOID ? this.h1g_1 : timings;
982
+ title = title === VOID ? this.i1g_1 : title;
983
+ utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.j1g_1 : utensilsAndApplianceIds;
984
+ webPublicationDate = webPublicationDate === VOID ? this.k1g_1 : webPublicationDate;
985
+ return $super === VOID ? this.g1h(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.g1h.call(this, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
974
986
  };
975
987
  protoOf(RecipeV3).toString = function () {
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 + ')';
988
+ return 'RecipeV3(bookCredit=' + this.o1f_1 + ', byline=' + toString(this.p1f_1) + ', canonicalArticle=' + this.q1f_1 + ', celebrationIds=' + toString(this.r1f_1) + ', commerceCtas=' + toString(this.s1f_1) + ', composerId=' + this.t1f_1 + ', contributors=' + toString(this.u1f_1) + ', cuisineIds=' + toString(this.v1f_1) + ', description=' + this.w1f_1 + ', difficultyLevel=' + this.x1f_1 + ', featuredImage=' + toString(this.y1f_1) + ', id=' + this.z1f_1 + ', ingredients=' + toString(this.a1g_1) + ', instructions=' + toString(this.b1g_1) + ', isAppReady=' + this.c1g_1 + ', mealTypeIds=' + toString(this.d1g_1) + ', serves=' + toString(this.e1g_1) + ', suitableForDietIds=' + toString(this.f1g_1) + ', techniquesUsedIds=' + toString(this.g1g_1) + ', timings=' + toString(this.h1g_1) + ', title=' + this.i1g_1 + ', utensilsAndApplianceIds=' + toString(this.j1g_1) + ', webPublicationDate=' + this.k1g_1 + ')';
977
989
  };
978
990
  protoOf(RecipeV3).hashCode = function () {
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;
982
- result = imul(result, 31) + (this.b1f_1 == null ? 0 : hashCode(this.b1f_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;
985
- result = imul(result, 31) + (this.e1f_1 == null ? 0 : hashCode(this.e1f_1)) | 0;
986
- result = imul(result, 31) + (this.f1f_1 == null ? 0 : hashCode(this.f1f_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;
991
+ var result = this.o1f_1 == null ? 0 : getStringHashCode(this.o1f_1);
996
992
  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;
993
+ result = imul(result, 31) + (this.q1f_1 == null ? 0 : getStringHashCode(this.q1f_1)) | 0;
998
994
  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;
995
+ result = imul(result, 31) + (this.s1f_1 == null ? 0 : hashCode(this.s1f_1)) | 0;
996
+ result = imul(result, 31) + (this.t1f_1 == null ? 0 : getStringHashCode(this.t1f_1)) | 0;
997
+ result = imul(result, 31) + (this.u1f_1 == null ? 0 : hashCode(this.u1f_1)) | 0;
998
+ result = imul(result, 31) + (this.v1f_1 == null ? 0 : hashCode(this.v1f_1)) | 0;
999
+ result = imul(result, 31) + (this.w1f_1 == null ? 0 : getStringHashCode(this.w1f_1)) | 0;
1000
+ result = imul(result, 31) + (this.x1f_1 == null ? 0 : getStringHashCode(this.x1f_1)) | 0;
1001
+ result = imul(result, 31) + (this.y1f_1 == null ? 0 : this.y1f_1.hashCode()) | 0;
1002
+ result = imul(result, 31) + getStringHashCode(this.z1f_1) | 0;
1003
+ result = imul(result, 31) + (this.a1g_1 == null ? 0 : hashCode(this.a1g_1)) | 0;
1004
+ result = imul(result, 31) + (this.b1g_1 == null ? 0 : hashCode(this.b1g_1)) | 0;
1005
+ result = imul(result, 31) + (this.c1g_1 == null ? 0 : getBooleanHashCode(this.c1g_1)) | 0;
1006
+ result = imul(result, 31) + (this.d1g_1 == null ? 0 : hashCode(this.d1g_1)) | 0;
1007
+ result = imul(result, 31) + (this.e1g_1 == null ? 0 : hashCode(this.e1g_1)) | 0;
1008
+ result = imul(result, 31) + (this.f1g_1 == null ? 0 : hashCode(this.f1g_1)) | 0;
1009
+ result = imul(result, 31) + (this.g1g_1 == null ? 0 : hashCode(this.g1g_1)) | 0;
1010
+ result = imul(result, 31) + (this.h1g_1 == null ? 0 : hashCode(this.h1g_1)) | 0;
1011
+ result = imul(result, 31) + (this.i1g_1 == null ? 0 : getStringHashCode(this.i1g_1)) | 0;
1012
+ result = imul(result, 31) + (this.j1g_1 == null ? 0 : hashCode(this.j1g_1)) | 0;
1013
+ result = imul(result, 31) + (this.k1g_1 == null ? 0 : getStringHashCode(this.k1g_1)) | 0;
1002
1014
  return result;
1003
1015
  };
1004
1016
  protoOf(RecipeV3).equals = function (other) {
@@ -1006,119 +1018,119 @@
1006
1018
  return true;
1007
1019
  if (!(other instanceof RecipeV3))
1008
1020
  return false;
1009
- if (!(this.y1e_1 == other.y1e_1))
1021
+ if (!(this.o1f_1 == other.o1f_1))
1010
1022
  return false;
1011
- if (!equals(this.z1e_1, other.z1e_1))
1023
+ if (!equals(this.p1f_1, other.p1f_1))
1012
1024
  return false;
1013
- if (!(this.a1f_1 == other.a1f_1))
1025
+ if (!(this.q1f_1 == other.q1f_1))
1014
1026
  return false;
1015
- if (!equals(this.b1f_1, other.b1f_1))
1027
+ if (!equals(this.r1f_1, other.r1f_1))
1016
1028
  return false;
1017
- if (!equals(this.c1f_1, other.c1f_1))
1029
+ if (!equals(this.s1f_1, other.s1f_1))
1018
1030
  return false;
1019
- if (!(this.d1f_1 == other.d1f_1))
1031
+ if (!(this.t1f_1 == other.t1f_1))
1020
1032
  return false;
1021
- if (!equals(this.e1f_1, other.e1f_1))
1033
+ if (!equals(this.u1f_1, other.u1f_1))
1022
1034
  return false;
1023
- if (!equals(this.f1f_1, other.f1f_1))
1035
+ if (!equals(this.v1f_1, other.v1f_1))
1024
1036
  return false;
1025
- if (!(this.g1f_1 == other.g1f_1))
1037
+ if (!(this.w1f_1 == other.w1f_1))
1026
1038
  return false;
1027
- if (!(this.h1f_1 == other.h1f_1))
1039
+ if (!(this.x1f_1 == other.x1f_1))
1028
1040
  return false;
1029
- if (!equals(this.i1f_1, other.i1f_1))
1041
+ if (!equals(this.y1f_1, other.y1f_1))
1030
1042
  return false;
1031
- if (!(this.j1f_1 === other.j1f_1))
1043
+ if (!(this.z1f_1 === other.z1f_1))
1032
1044
  return false;
1033
- if (!equals(this.k1f_1, other.k1f_1))
1045
+ if (!equals(this.a1g_1, other.a1g_1))
1034
1046
  return false;
1035
- if (!equals(this.l1f_1, other.l1f_1))
1047
+ if (!equals(this.b1g_1, other.b1g_1))
1036
1048
  return false;
1037
- if (!(this.m1f_1 == other.m1f_1))
1049
+ if (!(this.c1g_1 == other.c1g_1))
1038
1050
  return false;
1039
- if (!equals(this.n1f_1, other.n1f_1))
1051
+ if (!equals(this.d1g_1, other.d1g_1))
1040
1052
  return false;
1041
- if (!equals(this.o1f_1, other.o1f_1))
1053
+ if (!equals(this.e1g_1, other.e1g_1))
1042
1054
  return false;
1043
- if (!equals(this.p1f_1, other.p1f_1))
1055
+ if (!equals(this.f1g_1, other.f1g_1))
1044
1056
  return false;
1045
- if (!equals(this.q1f_1, other.q1f_1))
1057
+ if (!equals(this.g1g_1, other.g1g_1))
1046
1058
  return false;
1047
- if (!equals(this.r1f_1, other.r1f_1))
1059
+ if (!equals(this.h1g_1, other.h1g_1))
1048
1060
  return false;
1049
- if (!(this.s1f_1 == other.s1f_1))
1061
+ if (!(this.i1g_1 == other.i1g_1))
1050
1062
  return false;
1051
- if (!equals(this.t1f_1, other.t1f_1))
1063
+ if (!equals(this.j1g_1, other.j1g_1))
1052
1064
  return false;
1053
- if (!(this.u1f_1 == other.u1f_1))
1065
+ if (!(this.k1g_1 == other.k1g_1))
1054
1066
  return false;
1055
1067
  return true;
1056
1068
  };
1057
1069
  function $serializer_0() {
1058
1070
  $serializer_instance_0 = this;
1059
1071
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.CommerceCta', this, 3);
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;
1072
+ tmp0_serialDesc.ht('sponsorName', false);
1073
+ tmp0_serialDesc.ht('territory', false);
1074
+ tmp0_serialDesc.ht('url', false);
1075
+ this.h1h_1 = tmp0_serialDesc;
1076
+ }
1077
+ protoOf($serializer_0).i1h = function (encoder, value) {
1078
+ var tmp0_desc = this.h1h_1;
1079
+ var tmp1_output = encoder.yl(tmp0_desc);
1080
+ tmp1_output.mn(tmp0_desc, 0, value.j1h_1);
1081
+ tmp1_output.mn(tmp0_desc, 1, value.k1h_1);
1082
+ tmp1_output.mn(tmp0_desc, 2, value.l1h_1);
1083
+ tmp1_output.zl(tmp0_desc);
1084
+ };
1085
+ protoOf($serializer_0).cj = function (encoder, value) {
1086
+ return this.i1h(encoder, value instanceof CommerceCta ? value : THROW_CCE());
1087
+ };
1088
+ protoOf($serializer_0).dj = function (decoder) {
1089
+ var tmp0_desc = this.h1h_1;
1078
1090
  var tmp1_flag = true;
1079
1091
  var tmp2_index = 0;
1080
1092
  var tmp3_bitMask0 = 0;
1081
1093
  var tmp4_local0 = null;
1082
1094
  var tmp5_local1 = null;
1083
1095
  var tmp6_local2 = null;
1084
- var tmp7_input = decoder.tl(tmp0_desc);
1085
- if (tmp7_input.jm()) {
1086
- tmp4_local0 = tmp7_input.dm(tmp0_desc, 0);
1096
+ var tmp7_input = decoder.yl(tmp0_desc);
1097
+ if (tmp7_input.om()) {
1098
+ tmp4_local0 = tmp7_input.im(tmp0_desc, 0);
1087
1099
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1088
- tmp5_local1 = tmp7_input.dm(tmp0_desc, 1);
1100
+ tmp5_local1 = tmp7_input.im(tmp0_desc, 1);
1089
1101
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1090
- tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
1102
+ tmp6_local2 = tmp7_input.im(tmp0_desc, 2);
1091
1103
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1092
1104
  } else
1093
1105
  while (tmp1_flag) {
1094
- tmp2_index = tmp7_input.km(tmp0_desc);
1106
+ tmp2_index = tmp7_input.pm(tmp0_desc);
1095
1107
  switch (tmp2_index) {
1096
1108
  case -1:
1097
1109
  tmp1_flag = false;
1098
1110
  break;
1099
1111
  case 0:
1100
- tmp4_local0 = tmp7_input.dm(tmp0_desc, 0);
1112
+ tmp4_local0 = tmp7_input.im(tmp0_desc, 0);
1101
1113
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1102
1114
  break;
1103
1115
  case 1:
1104
- tmp5_local1 = tmp7_input.dm(tmp0_desc, 1);
1116
+ tmp5_local1 = tmp7_input.im(tmp0_desc, 1);
1105
1117
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1106
1118
  break;
1107
1119
  case 2:
1108
- tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
1120
+ tmp6_local2 = tmp7_input.im(tmp0_desc, 2);
1109
1121
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1110
1122
  break;
1111
1123
  default:
1112
1124
  throw UnknownFieldException_init_$Create$(tmp2_index);
1113
1125
  }
1114
1126
  }
1115
- tmp7_input.ul(tmp0_desc);
1127
+ tmp7_input.zl(tmp0_desc);
1116
1128
  return CommerceCta_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1117
1129
  };
1118
- protoOf($serializer_0).wi = function () {
1119
- return this.r1g_1;
1130
+ protoOf($serializer_0).bj = function () {
1131
+ return this.h1h_1;
1120
1132
  };
1121
- protoOf($serializer_0).et = function () {
1133
+ protoOf($serializer_0).jt = function () {
1122
1134
  // Inline function 'kotlin.arrayOf' call
1123
1135
  // Inline function 'kotlin.js.unsafeCast' call
1124
1136
  // Inline function 'kotlin.js.asDynamic' call
@@ -1132,11 +1144,11 @@
1132
1144
  }
1133
1145
  function CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, $this) {
1134
1146
  if (!(7 === (7 & seen0))) {
1135
- throwMissingFieldException(seen0, 7, $serializer_getInstance_0().r1g_1);
1147
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_0().h1h_1);
1136
1148
  }
1137
- $this.t1g_1 = sponsorName;
1138
- $this.u1g_1 = territory;
1139
- $this.v1g_1 = url;
1149
+ $this.j1h_1 = sponsorName;
1150
+ $this.k1h_1 = territory;
1151
+ $this.l1h_1 = url;
1140
1152
  return $this;
1141
1153
  }
1142
1154
  function CommerceCta_init_$Create$(seen0, sponsorName, territory, url, serializationConstructorMarker) {
@@ -1145,12 +1157,12 @@
1145
1157
  function CommerceCta() {
1146
1158
  }
1147
1159
  protoOf(CommerceCta).toString = function () {
1148
- return 'CommerceCta(sponsorName=' + this.t1g_1 + ', territory=' + this.u1g_1 + ', url=' + this.v1g_1 + ')';
1160
+ return 'CommerceCta(sponsorName=' + this.j1h_1 + ', territory=' + this.k1h_1 + ', url=' + this.l1h_1 + ')';
1149
1161
  };
1150
1162
  protoOf(CommerceCta).hashCode = function () {
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;
1163
+ var result = getStringHashCode(this.j1h_1);
1164
+ result = imul(result, 31) + getStringHashCode(this.k1h_1) | 0;
1165
+ result = imul(result, 31) + getStringHashCode(this.l1h_1) | 0;
1154
1166
  return result;
1155
1167
  };
1156
1168
  protoOf(CommerceCta).equals = function (other) {
@@ -1158,55 +1170,55 @@
1158
1170
  return true;
1159
1171
  if (!(other instanceof CommerceCta))
1160
1172
  return false;
1161
- if (!(this.t1g_1 === other.t1g_1))
1173
+ if (!(this.j1h_1 === other.j1h_1))
1162
1174
  return false;
1163
- if (!(this.u1g_1 === other.u1g_1))
1175
+ if (!(this.k1h_1 === other.k1h_1))
1164
1176
  return false;
1165
- if (!(this.v1g_1 === other.v1g_1))
1177
+ if (!(this.l1h_1 === other.l1h_1))
1166
1178
  return false;
1167
1179
  return true;
1168
1180
  };
1169
1181
  function $serializer_1() {
1170
1182
  $serializer_instance_1 = this;
1171
1183
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Image', this, 8);
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;
1184
+ tmp0_serialDesc.ht('caption', true);
1185
+ tmp0_serialDesc.ht('cropId', false);
1186
+ tmp0_serialDesc.ht('imageType', true);
1187
+ tmp0_serialDesc.ht('mediaApiUrl', true);
1188
+ tmp0_serialDesc.ht('mediaId', false);
1189
+ tmp0_serialDesc.ht('photographer', true);
1190
+ tmp0_serialDesc.ht('source', true);
1191
+ tmp0_serialDesc.ht('url', false);
1192
+ this.m1h_1 = tmp0_serialDesc;
1193
+ }
1194
+ protoOf($serializer_1).n1h = function (encoder, value) {
1195
+ var tmp0_desc = this.m1h_1;
1196
+ var tmp1_output = encoder.yl(tmp0_desc);
1197
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.o1h_1 == null)) {
1198
+ tmp1_output.qn(tmp0_desc, 0, StringSerializer_getInstance(), value.o1h_1);
1199
+ }
1200
+ tmp1_output.mn(tmp0_desc, 1, value.p1h_1);
1201
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.q1h_1 == null)) {
1202
+ tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.q1h_1);
1203
+ }
1204
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.r1h_1 == null)) {
1205
+ tmp1_output.qn(tmp0_desc, 3, StringSerializer_getInstance(), value.r1h_1);
1206
+ }
1207
+ tmp1_output.mn(tmp0_desc, 4, value.s1h_1);
1208
+ if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.t1h_1 == null)) {
1209
+ tmp1_output.qn(tmp0_desc, 5, StringSerializer_getInstance(), value.t1h_1);
1210
+ }
1211
+ if (tmp1_output.un(tmp0_desc, 6) ? true : !(value.u1h_1 == null)) {
1212
+ tmp1_output.qn(tmp0_desc, 6, StringSerializer_getInstance(), value.u1h_1);
1213
+ }
1214
+ tmp1_output.mn(tmp0_desc, 7, value.v1h_1);
1215
+ tmp1_output.zl(tmp0_desc);
1216
+ };
1217
+ protoOf($serializer_1).cj = function (encoder, value) {
1218
+ return this.n1h(encoder, value instanceof Image ? value : THROW_CCE());
1219
+ };
1220
+ protoOf($serializer_1).dj = function (decoder) {
1221
+ var tmp0_desc = this.m1h_1;
1210
1222
  var tmp1_flag = true;
1211
1223
  var tmp2_index = 0;
1212
1224
  var tmp3_bitMask0 = 0;
@@ -1218,74 +1230,74 @@
1218
1230
  var tmp9_local5 = null;
1219
1231
  var tmp10_local6 = null;
1220
1232
  var tmp11_local7 = null;
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);
1233
+ var tmp12_input = decoder.yl(tmp0_desc);
1234
+ if (tmp12_input.om()) {
1235
+ tmp4_local0 = tmp12_input.mm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1224
1236
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1225
- tmp5_local1 = tmp12_input.dm(tmp0_desc, 1);
1237
+ tmp5_local1 = tmp12_input.im(tmp0_desc, 1);
1226
1238
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1227
- tmp6_local2 = tmp12_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1239
+ tmp6_local2 = tmp12_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1228
1240
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1229
- tmp7_local3 = tmp12_input.hm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1241
+ tmp7_local3 = tmp12_input.mm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1230
1242
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1231
- tmp8_local4 = tmp12_input.dm(tmp0_desc, 4);
1243
+ tmp8_local4 = tmp12_input.im(tmp0_desc, 4);
1232
1244
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1233
- tmp9_local5 = tmp12_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1245
+ tmp9_local5 = tmp12_input.mm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1234
1246
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1235
- tmp10_local6 = tmp12_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1247
+ tmp10_local6 = tmp12_input.mm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1236
1248
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1237
- tmp11_local7 = tmp12_input.dm(tmp0_desc, 7);
1249
+ tmp11_local7 = tmp12_input.im(tmp0_desc, 7);
1238
1250
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1239
1251
  } else
1240
1252
  while (tmp1_flag) {
1241
- tmp2_index = tmp12_input.km(tmp0_desc);
1253
+ tmp2_index = tmp12_input.pm(tmp0_desc);
1242
1254
  switch (tmp2_index) {
1243
1255
  case -1:
1244
1256
  tmp1_flag = false;
1245
1257
  break;
1246
1258
  case 0:
1247
- tmp4_local0 = tmp12_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1259
+ tmp4_local0 = tmp12_input.mm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1248
1260
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1249
1261
  break;
1250
1262
  case 1:
1251
- tmp5_local1 = tmp12_input.dm(tmp0_desc, 1);
1263
+ tmp5_local1 = tmp12_input.im(tmp0_desc, 1);
1252
1264
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1253
1265
  break;
1254
1266
  case 2:
1255
- tmp6_local2 = tmp12_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1267
+ tmp6_local2 = tmp12_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1256
1268
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1257
1269
  break;
1258
1270
  case 3:
1259
- tmp7_local3 = tmp12_input.hm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1271
+ tmp7_local3 = tmp12_input.mm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1260
1272
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1261
1273
  break;
1262
1274
  case 4:
1263
- tmp8_local4 = tmp12_input.dm(tmp0_desc, 4);
1275
+ tmp8_local4 = tmp12_input.im(tmp0_desc, 4);
1264
1276
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1265
1277
  break;
1266
1278
  case 5:
1267
- tmp9_local5 = tmp12_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1279
+ tmp9_local5 = tmp12_input.mm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1268
1280
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1269
1281
  break;
1270
1282
  case 6:
1271
- tmp10_local6 = tmp12_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1283
+ tmp10_local6 = tmp12_input.mm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1272
1284
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1273
1285
  break;
1274
1286
  case 7:
1275
- tmp11_local7 = tmp12_input.dm(tmp0_desc, 7);
1287
+ tmp11_local7 = tmp12_input.im(tmp0_desc, 7);
1276
1288
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1277
1289
  break;
1278
1290
  default:
1279
1291
  throw UnknownFieldException_init_$Create$(tmp2_index);
1280
1292
  }
1281
1293
  }
1282
- tmp12_input.ul(tmp0_desc);
1294
+ tmp12_input.zl(tmp0_desc);
1283
1295
  return Image_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
1284
1296
  };
1285
- protoOf($serializer_1).wi = function () {
1286
- return this.w1g_1;
1297
+ protoOf($serializer_1).bj = function () {
1298
+ return this.m1h_1;
1287
1299
  };
1288
- protoOf($serializer_1).et = function () {
1300
+ protoOf($serializer_1).jt = function () {
1289
1301
  // Inline function 'kotlin.arrayOf' call
1290
1302
  // Inline function 'kotlin.js.unsafeCast' call
1291
1303
  // Inline function 'kotlin.js.asDynamic' call
@@ -1299,31 +1311,31 @@
1299
1311
  }
1300
1312
  function Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, $this) {
1301
1313
  if (!(146 === (146 & seen0))) {
1302
- throwMissingFieldException(seen0, 146, $serializer_getInstance_1().w1g_1);
1314
+ throwMissingFieldException(seen0, 146, $serializer_getInstance_1().m1h_1);
1303
1315
  }
1304
1316
  if (0 === (seen0 & 1))
1305
- $this.y1g_1 = null;
1317
+ $this.o1h_1 = null;
1306
1318
  else
1307
- $this.y1g_1 = caption;
1308
- $this.z1g_1 = cropId;
1319
+ $this.o1h_1 = caption;
1320
+ $this.p1h_1 = cropId;
1309
1321
  if (0 === (seen0 & 4))
1310
- $this.a1h_1 = null;
1322
+ $this.q1h_1 = null;
1311
1323
  else
1312
- $this.a1h_1 = imageType;
1324
+ $this.q1h_1 = imageType;
1313
1325
  if (0 === (seen0 & 8))
1314
- $this.b1h_1 = null;
1326
+ $this.r1h_1 = null;
1315
1327
  else
1316
- $this.b1h_1 = mediaApiUrl;
1317
- $this.c1h_1 = mediaId;
1328
+ $this.r1h_1 = mediaApiUrl;
1329
+ $this.s1h_1 = mediaId;
1318
1330
  if (0 === (seen0 & 32))
1319
- $this.d1h_1 = null;
1331
+ $this.t1h_1 = null;
1320
1332
  else
1321
- $this.d1h_1 = photographer;
1333
+ $this.t1h_1 = photographer;
1322
1334
  if (0 === (seen0 & 64))
1323
- $this.e1h_1 = null;
1335
+ $this.u1h_1 = null;
1324
1336
  else
1325
- $this.e1h_1 = source;
1326
- $this.f1h_1 = url;
1337
+ $this.u1h_1 = source;
1338
+ $this.v1h_1 = url;
1327
1339
  return $this;
1328
1340
  }
1329
1341
  function Image_init_$Create$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker) {
@@ -1332,17 +1344,17 @@
1332
1344
  function Image() {
1333
1345
  }
1334
1346
  protoOf(Image).toString = function () {
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 + ')';
1347
+ return 'Image(caption=' + this.o1h_1 + ', cropId=' + this.p1h_1 + ', imageType=' + this.q1h_1 + ', mediaApiUrl=' + this.r1h_1 + ', mediaId=' + this.s1h_1 + ', photographer=' + this.t1h_1 + ', source=' + this.u1h_1 + ', url=' + this.v1h_1 + ')';
1336
1348
  };
1337
1349
  protoOf(Image).hashCode = function () {
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;
1350
+ var result = this.o1h_1 == null ? 0 : getStringHashCode(this.o1h_1);
1351
+ result = imul(result, 31) + getStringHashCode(this.p1h_1) | 0;
1352
+ result = imul(result, 31) + (this.q1h_1 == null ? 0 : getStringHashCode(this.q1h_1)) | 0;
1353
+ result = imul(result, 31) + (this.r1h_1 == null ? 0 : getStringHashCode(this.r1h_1)) | 0;
1354
+ result = imul(result, 31) + getStringHashCode(this.s1h_1) | 0;
1355
+ result = imul(result, 31) + (this.t1h_1 == null ? 0 : getStringHashCode(this.t1h_1)) | 0;
1356
+ result = imul(result, 31) + (this.u1h_1 == null ? 0 : getStringHashCode(this.u1h_1)) | 0;
1357
+ result = imul(result, 31) + getStringHashCode(this.v1h_1) | 0;
1346
1358
  return result;
1347
1359
  };
1348
1360
  protoOf(Image).equals = function (other) {
@@ -1350,21 +1362,21 @@
1350
1362
  return true;
1351
1363
  if (!(other instanceof Image))
1352
1364
  return false;
1353
- if (!(this.y1g_1 == other.y1g_1))
1365
+ if (!(this.o1h_1 == other.o1h_1))
1354
1366
  return false;
1355
- if (!(this.z1g_1 === other.z1g_1))
1367
+ if (!(this.p1h_1 === other.p1h_1))
1356
1368
  return false;
1357
- if (!(this.a1h_1 == other.a1h_1))
1369
+ if (!(this.q1h_1 == other.q1h_1))
1358
1370
  return false;
1359
- if (!(this.b1h_1 == other.b1h_1))
1371
+ if (!(this.r1h_1 == other.r1h_1))
1360
1372
  return false;
1361
- if (!(this.c1h_1 === other.c1h_1))
1373
+ if (!(this.s1h_1 === other.s1h_1))
1362
1374
  return false;
1363
- if (!(this.d1h_1 == other.d1h_1))
1375
+ if (!(this.t1h_1 == other.t1h_1))
1364
1376
  return false;
1365
- if (!(this.e1h_1 == other.e1h_1))
1377
+ if (!(this.u1h_1 == other.u1h_1))
1366
1378
  return false;
1367
- if (!(this.f1h_1 === other.f1h_1))
1379
+ if (!(this.v1h_1 === other.v1h_1))
1368
1380
  return false;
1369
1381
  return true;
1370
1382
  };
@@ -1378,7 +1390,7 @@
1378
1390
  // Inline function 'kotlin.arrayOf' call
1379
1391
  // Inline function 'kotlin.js.unsafeCast' call
1380
1392
  // Inline function 'kotlin.js.asDynamic' call
1381
- tmp.g1h_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
1393
+ tmp.w1h_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
1382
1394
  }
1383
1395
  var Companion_instance_0;
1384
1396
  function Companion_getInstance_0() {
@@ -1389,66 +1401,66 @@
1389
1401
  function $serializer_2() {
1390
1402
  $serializer_instance_2 = this;
1391
1403
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsList', this, 2);
1392
- tmp0_serialDesc.ct('ingredientsList', true);
1393
- tmp0_serialDesc.ct('recipeSection', true);
1394
- this.h1h_1 = tmp0_serialDesc;
1404
+ tmp0_serialDesc.ht('ingredientsList', true);
1405
+ tmp0_serialDesc.ht('recipeSection', true);
1406
+ this.x1h_1 = tmp0_serialDesc;
1395
1407
  }
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);
1408
+ protoOf($serializer_2).y1h = function (encoder, value) {
1409
+ var tmp0_desc = this.x1h_1;
1410
+ var tmp1_output = encoder.yl(tmp0_desc);
1411
+ var tmp2_cached = Companion_getInstance_0().w1h_1;
1412
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.l1g_1 == null)) {
1413
+ tmp1_output.qn(tmp0_desc, 0, tmp2_cached[0].t1(), value.l1g_1);
1402
1414
  }
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);
1415
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.m1g_1 == null)) {
1416
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.m1g_1);
1405
1417
  }
1406
- tmp1_output.ul(tmp0_desc);
1418
+ tmp1_output.zl(tmp0_desc);
1407
1419
  };
1408
- protoOf($serializer_2).xi = function (encoder, value) {
1409
- return this.i1h(encoder, value instanceof IngredientsList ? value : THROW_CCE());
1420
+ protoOf($serializer_2).cj = function (encoder, value) {
1421
+ return this.y1h(encoder, value instanceof IngredientsList ? value : THROW_CCE());
1410
1422
  };
1411
- protoOf($serializer_2).yi = function (decoder) {
1412
- var tmp0_desc = this.h1h_1;
1423
+ protoOf($serializer_2).dj = function (decoder) {
1424
+ var tmp0_desc = this.x1h_1;
1413
1425
  var tmp1_flag = true;
1414
1426
  var tmp2_index = 0;
1415
1427
  var tmp3_bitMask0 = 0;
1416
1428
  var tmp4_local0 = null;
1417
1429
  var tmp5_local1 = null;
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);
1430
+ var tmp6_input = decoder.yl(tmp0_desc);
1431
+ var tmp7_cached = Companion_getInstance_0().w1h_1;
1432
+ if (tmp6_input.om()) {
1433
+ tmp4_local0 = tmp6_input.mm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1422
1434
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1423
- tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1435
+ tmp5_local1 = tmp6_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1424
1436
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1425
1437
  } else
1426
1438
  while (tmp1_flag) {
1427
- tmp2_index = tmp6_input.km(tmp0_desc);
1439
+ tmp2_index = tmp6_input.pm(tmp0_desc);
1428
1440
  switch (tmp2_index) {
1429
1441
  case -1:
1430
1442
  tmp1_flag = false;
1431
1443
  break;
1432
1444
  case 0:
1433
- tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1445
+ tmp4_local0 = tmp6_input.mm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1434
1446
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1435
1447
  break;
1436
1448
  case 1:
1437
- tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1449
+ tmp5_local1 = tmp6_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1438
1450
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1439
1451
  break;
1440
1452
  default:
1441
1453
  throw UnknownFieldException_init_$Create$(tmp2_index);
1442
1454
  }
1443
1455
  }
1444
- tmp6_input.ul(tmp0_desc);
1456
+ tmp6_input.zl(tmp0_desc);
1445
1457
  return IngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1446
1458
  };
1447
- protoOf($serializer_2).wi = function () {
1448
- return this.h1h_1;
1459
+ protoOf($serializer_2).bj = function () {
1460
+ return this.x1h_1;
1449
1461
  };
1450
- protoOf($serializer_2).et = function () {
1451
- var tmp0_cached = Companion_getInstance_0().g1h_1;
1462
+ protoOf($serializer_2).jt = function () {
1463
+ var tmp0_cached = Companion_getInstance_0().w1h_1;
1452
1464
  // Inline function 'kotlin.arrayOf' call
1453
1465
  // Inline function 'kotlin.js.unsafeCast' call
1454
1466
  // Inline function 'kotlin.js.asDynamic' call
@@ -1462,16 +1474,16 @@
1462
1474
  }
1463
1475
  function IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, $this) {
1464
1476
  if (!(0 === (0 & seen0))) {
1465
- throwMissingFieldException(seen0, 0, $serializer_getInstance_2().h1h_1);
1477
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_2().x1h_1);
1466
1478
  }
1467
1479
  if (0 === (seen0 & 1))
1468
- $this.v1f_1 = null;
1480
+ $this.l1g_1 = null;
1469
1481
  else
1470
- $this.v1f_1 = ingredientsList;
1482
+ $this.l1g_1 = ingredientsList;
1471
1483
  if (0 === (seen0 & 2))
1472
- $this.w1f_1 = null;
1484
+ $this.m1g_1 = null;
1473
1485
  else
1474
- $this.w1f_1 = recipeSection;
1486
+ $this.m1g_1 = recipeSection;
1475
1487
  return $this;
1476
1488
  }
1477
1489
  function IngredientsList_init_$Create$(seen0, ingredientsList, recipeSection, serializationConstructorMarker) {
@@ -1481,15 +1493,15 @@
1481
1493
  Companion_getInstance_0();
1482
1494
  ingredientsList = ingredientsList === VOID ? null : ingredientsList;
1483
1495
  recipeSection = recipeSection === VOID ? null : recipeSection;
1484
- this.v1f_1 = ingredientsList;
1485
- this.w1f_1 = recipeSection;
1496
+ this.l1g_1 = ingredientsList;
1497
+ this.m1g_1 = recipeSection;
1486
1498
  }
1487
1499
  protoOf(IngredientsList).toString = function () {
1488
- return 'IngredientsList(ingredientsList=' + toString(this.v1f_1) + ', recipeSection=' + this.w1f_1 + ')';
1500
+ return 'IngredientsList(ingredientsList=' + toString(this.l1g_1) + ', recipeSection=' + this.m1g_1 + ')';
1489
1501
  };
1490
1502
  protoOf(IngredientsList).hashCode = function () {
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;
1503
+ var result = this.l1g_1 == null ? 0 : hashCode(this.l1g_1);
1504
+ result = imul(result, 31) + (this.m1g_1 == null ? 0 : getStringHashCode(this.m1g_1)) | 0;
1493
1505
  return result;
1494
1506
  };
1495
1507
  protoOf(IngredientsList).equals = function (other) {
@@ -1497,9 +1509,9 @@
1497
1509
  return true;
1498
1510
  if (!(other instanceof IngredientsList))
1499
1511
  return false;
1500
- if (!equals(this.v1f_1, other.v1f_1))
1512
+ if (!equals(this.l1g_1, other.l1g_1))
1501
1513
  return false;
1502
- if (!(this.w1f_1 == other.w1f_1))
1514
+ if (!(this.m1g_1 == other.m1g_1))
1503
1515
  return false;
1504
1516
  return true;
1505
1517
  };
@@ -1512,54 +1524,54 @@
1512
1524
  function $serializer_3() {
1513
1525
  $serializer_instance_3 = this;
1514
1526
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientItem', this, 9);
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;
1527
+ tmp0_serialDesc.ht('amount', true);
1528
+ tmp0_serialDesc.ht('ingredientId', true);
1529
+ tmp0_serialDesc.ht('name', true);
1530
+ tmp0_serialDesc.ht('optional', true);
1531
+ tmp0_serialDesc.ht('prefix', true);
1532
+ tmp0_serialDesc.ht('suffix', true);
1533
+ tmp0_serialDesc.ht('template', true);
1534
+ tmp0_serialDesc.ht('text', true);
1535
+ tmp0_serialDesc.ht('unit', true);
1536
+ this.z1h_1 = tmp0_serialDesc;
1525
1537
  }
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);
1538
+ protoOf($serializer_3).a1i = function (encoder, value) {
1539
+ var tmp0_desc = this.z1h_1;
1540
+ var tmp1_output = encoder.yl(tmp0_desc);
1541
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.n1g_1 == null)) {
1542
+ tmp1_output.qn(tmp0_desc, 0, $serializer_getInstance_4(), value.n1g_1);
1531
1543
  }
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);
1544
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.o1g_1 == null)) {
1545
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.o1g_1);
1534
1546
  }
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);
1547
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.p1g_1 == null)) {
1548
+ tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.p1g_1);
1537
1549
  }
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);
1550
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.q1g_1 == null)) {
1551
+ tmp1_output.qn(tmp0_desc, 3, BooleanSerializer_getInstance(), value.q1g_1);
1540
1552
  }
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);
1553
+ if (tmp1_output.un(tmp0_desc, 4) ? true : !(value.r1g_1 == null)) {
1554
+ tmp1_output.qn(tmp0_desc, 4, StringSerializer_getInstance(), value.r1g_1);
1543
1555
  }
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);
1556
+ if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.s1g_1 == null)) {
1557
+ tmp1_output.qn(tmp0_desc, 5, StringSerializer_getInstance(), value.s1g_1);
1546
1558
  }
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);
1559
+ if (tmp1_output.un(tmp0_desc, 6) ? true : !(value.t1g_1 == null)) {
1560
+ tmp1_output.qn(tmp0_desc, 6, StringSerializer_getInstance(), value.t1g_1);
1549
1561
  }
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);
1562
+ if (tmp1_output.un(tmp0_desc, 7) ? true : !(value.u1g_1 == null)) {
1563
+ tmp1_output.qn(tmp0_desc, 7, StringSerializer_getInstance(), value.u1g_1);
1552
1564
  }
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);
1565
+ if (tmp1_output.un(tmp0_desc, 8) ? true : !(value.v1g_1 == null)) {
1566
+ tmp1_output.qn(tmp0_desc, 8, StringSerializer_getInstance(), value.v1g_1);
1555
1567
  }
1556
- tmp1_output.ul(tmp0_desc);
1568
+ tmp1_output.zl(tmp0_desc);
1557
1569
  };
1558
- protoOf($serializer_3).xi = function (encoder, value) {
1559
- return this.k1h(encoder, value instanceof IngredientItem ? value : THROW_CCE());
1570
+ protoOf($serializer_3).cj = function (encoder, value) {
1571
+ return this.a1i(encoder, value instanceof IngredientItem ? value : THROW_CCE());
1560
1572
  };
1561
- protoOf($serializer_3).yi = function (decoder) {
1562
- var tmp0_desc = this.j1h_1;
1573
+ protoOf($serializer_3).dj = function (decoder) {
1574
+ var tmp0_desc = this.z1h_1;
1563
1575
  var tmp1_flag = true;
1564
1576
  var tmp2_index = 0;
1565
1577
  var tmp3_bitMask0 = 0;
@@ -1572,80 +1584,80 @@
1572
1584
  var tmp10_local6 = null;
1573
1585
  var tmp11_local7 = null;
1574
1586
  var tmp12_local8 = null;
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);
1587
+ var tmp13_input = decoder.yl(tmp0_desc);
1588
+ if (tmp13_input.om()) {
1589
+ tmp4_local0 = tmp13_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1578
1590
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1579
- tmp5_local1 = tmp13_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1591
+ tmp5_local1 = tmp13_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1580
1592
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1581
- tmp6_local2 = tmp13_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1593
+ tmp6_local2 = tmp13_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1582
1594
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1583
- tmp7_local3 = tmp13_input.hm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1595
+ tmp7_local3 = tmp13_input.mm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1584
1596
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1585
- tmp8_local4 = tmp13_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1597
+ tmp8_local4 = tmp13_input.mm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1586
1598
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1587
- tmp9_local5 = tmp13_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1599
+ tmp9_local5 = tmp13_input.mm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1588
1600
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1589
- tmp10_local6 = tmp13_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1601
+ tmp10_local6 = tmp13_input.mm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1590
1602
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1591
- tmp11_local7 = tmp13_input.hm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1603
+ tmp11_local7 = tmp13_input.mm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1592
1604
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1593
- tmp12_local8 = tmp13_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1605
+ tmp12_local8 = tmp13_input.mm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1594
1606
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1595
1607
  } else
1596
1608
  while (tmp1_flag) {
1597
- tmp2_index = tmp13_input.km(tmp0_desc);
1609
+ tmp2_index = tmp13_input.pm(tmp0_desc);
1598
1610
  switch (tmp2_index) {
1599
1611
  case -1:
1600
1612
  tmp1_flag = false;
1601
1613
  break;
1602
1614
  case 0:
1603
- tmp4_local0 = tmp13_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1615
+ tmp4_local0 = tmp13_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1604
1616
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1605
1617
  break;
1606
1618
  case 1:
1607
- tmp5_local1 = tmp13_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1619
+ tmp5_local1 = tmp13_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1608
1620
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1609
1621
  break;
1610
1622
  case 2:
1611
- tmp6_local2 = tmp13_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1623
+ tmp6_local2 = tmp13_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1612
1624
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1613
1625
  break;
1614
1626
  case 3:
1615
- tmp7_local3 = tmp13_input.hm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1627
+ tmp7_local3 = tmp13_input.mm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1616
1628
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1617
1629
  break;
1618
1630
  case 4:
1619
- tmp8_local4 = tmp13_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1631
+ tmp8_local4 = tmp13_input.mm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1620
1632
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1621
1633
  break;
1622
1634
  case 5:
1623
- tmp9_local5 = tmp13_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1635
+ tmp9_local5 = tmp13_input.mm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1624
1636
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1625
1637
  break;
1626
1638
  case 6:
1627
- tmp10_local6 = tmp13_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1639
+ tmp10_local6 = tmp13_input.mm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1628
1640
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1629
1641
  break;
1630
1642
  case 7:
1631
- tmp11_local7 = tmp13_input.hm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1643
+ tmp11_local7 = tmp13_input.mm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1632
1644
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1633
1645
  break;
1634
1646
  case 8:
1635
- tmp12_local8 = tmp13_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1647
+ tmp12_local8 = tmp13_input.mm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1636
1648
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1637
1649
  break;
1638
1650
  default:
1639
1651
  throw UnknownFieldException_init_$Create$(tmp2_index);
1640
1652
  }
1641
1653
  }
1642
- tmp13_input.ul(tmp0_desc);
1654
+ tmp13_input.zl(tmp0_desc);
1643
1655
  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);
1644
1656
  };
1645
- protoOf($serializer_3).wi = function () {
1646
- return this.j1h_1;
1657
+ protoOf($serializer_3).bj = function () {
1658
+ return this.z1h_1;
1647
1659
  };
1648
- protoOf($serializer_3).et = function () {
1660
+ protoOf($serializer_3).jt = function () {
1649
1661
  // Inline function 'kotlin.arrayOf' call
1650
1662
  // Inline function 'kotlin.js.unsafeCast' call
1651
1663
  // Inline function 'kotlin.js.asDynamic' call
@@ -1659,44 +1671,44 @@
1659
1671
  }
1660
1672
  function IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, $this) {
1661
1673
  if (!(0 === (0 & seen0))) {
1662
- throwMissingFieldException(seen0, 0, $serializer_getInstance_3().j1h_1);
1674
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_3().z1h_1);
1663
1675
  }
1664
1676
  if (0 === (seen0 & 1))
1665
- $this.x1f_1 = null;
1677
+ $this.n1g_1 = null;
1666
1678
  else
1667
- $this.x1f_1 = amount;
1679
+ $this.n1g_1 = amount;
1668
1680
  if (0 === (seen0 & 2))
1669
- $this.y1f_1 = null;
1681
+ $this.o1g_1 = null;
1670
1682
  else
1671
- $this.y1f_1 = ingredientId;
1683
+ $this.o1g_1 = ingredientId;
1672
1684
  if (0 === (seen0 & 4))
1673
- $this.z1f_1 = null;
1685
+ $this.p1g_1 = null;
1674
1686
  else
1675
- $this.z1f_1 = name;
1687
+ $this.p1g_1 = name;
1676
1688
  if (0 === (seen0 & 8))
1677
- $this.a1g_1 = null;
1689
+ $this.q1g_1 = null;
1678
1690
  else
1679
- $this.a1g_1 = optional;
1691
+ $this.q1g_1 = optional;
1680
1692
  if (0 === (seen0 & 16))
1681
- $this.b1g_1 = null;
1693
+ $this.r1g_1 = null;
1682
1694
  else
1683
- $this.b1g_1 = prefix;
1695
+ $this.r1g_1 = prefix;
1684
1696
  if (0 === (seen0 & 32))
1685
- $this.c1g_1 = null;
1697
+ $this.s1g_1 = null;
1686
1698
  else
1687
- $this.c1g_1 = suffix;
1699
+ $this.s1g_1 = suffix;
1688
1700
  if (0 === (seen0 & 64))
1689
- $this.d1g_1 = null;
1701
+ $this.t1g_1 = null;
1690
1702
  else
1691
- $this.d1g_1 = template;
1703
+ $this.t1g_1 = template;
1692
1704
  if (0 === (seen0 & 128))
1693
- $this.e1g_1 = null;
1705
+ $this.u1g_1 = null;
1694
1706
  else
1695
- $this.e1g_1 = text;
1707
+ $this.u1g_1 = text;
1696
1708
  if (0 === (seen0 & 256))
1697
- $this.f1g_1 = null;
1709
+ $this.v1g_1 = null;
1698
1710
  else
1699
- $this.f1g_1 = unit;
1711
+ $this.v1g_1 = unit;
1700
1712
  return $this;
1701
1713
  }
1702
1714
  function IngredientItem_init_$Create$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker) {
@@ -1712,44 +1724,44 @@
1712
1724
  template = template === VOID ? null : template;
1713
1725
  text = text === VOID ? null : text;
1714
1726
  unit = unit === VOID ? null : 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) {
1727
+ this.n1g_1 = amount;
1728
+ this.o1g_1 = ingredientId;
1729
+ this.p1g_1 = name;
1730
+ this.q1g_1 = optional;
1731
+ this.r1g_1 = prefix;
1732
+ this.s1g_1 = suffix;
1733
+ this.t1g_1 = template;
1734
+ this.u1g_1 = text;
1735
+ this.v1g_1 = unit;
1736
+ }
1737
+ protoOf(IngredientItem).b1i = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
1726
1738
  return new IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1727
1739
  };
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);
1740
+ protoOf(IngredientItem).w1g = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
1741
+ amount = amount === VOID ? this.n1g_1 : amount;
1742
+ ingredientId = ingredientId === VOID ? this.o1g_1 : ingredientId;
1743
+ name = name === VOID ? this.p1g_1 : name;
1744
+ optional = optional === VOID ? this.q1g_1 : optional;
1745
+ prefix = prefix === VOID ? this.r1g_1 : prefix;
1746
+ suffix = suffix === VOID ? this.s1g_1 : suffix;
1747
+ template = template === VOID ? this.t1g_1 : template;
1748
+ text = text === VOID ? this.u1g_1 : text;
1749
+ unit = unit === VOID ? this.v1g_1 : unit;
1750
+ return $super === VOID ? this.b1i(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.b1i.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1739
1751
  };
1740
1752
  protoOf(IngredientItem).toString = function () {
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 + ')';
1753
+ return 'IngredientItem(amount=' + toString(this.n1g_1) + ', ingredientId=' + this.o1g_1 + ', name=' + this.p1g_1 + ', optional=' + this.q1g_1 + ', prefix=' + this.r1g_1 + ', suffix=' + this.s1g_1 + ', template=' + this.t1g_1 + ', text=' + this.u1g_1 + ', unit=' + this.v1g_1 + ')';
1742
1754
  };
1743
1755
  protoOf(IngredientItem).hashCode = function () {
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;
1756
+ var result = this.n1g_1 == null ? 0 : this.n1g_1.hashCode();
1757
+ result = imul(result, 31) + (this.o1g_1 == null ? 0 : getStringHashCode(this.o1g_1)) | 0;
1758
+ result = imul(result, 31) + (this.p1g_1 == null ? 0 : getStringHashCode(this.p1g_1)) | 0;
1759
+ result = imul(result, 31) + (this.q1g_1 == null ? 0 : getBooleanHashCode(this.q1g_1)) | 0;
1760
+ result = imul(result, 31) + (this.r1g_1 == null ? 0 : getStringHashCode(this.r1g_1)) | 0;
1761
+ result = imul(result, 31) + (this.s1g_1 == null ? 0 : getStringHashCode(this.s1g_1)) | 0;
1762
+ result = imul(result, 31) + (this.t1g_1 == null ? 0 : getStringHashCode(this.t1g_1)) | 0;
1763
+ result = imul(result, 31) + (this.u1g_1 == null ? 0 : getStringHashCode(this.u1g_1)) | 0;
1764
+ result = imul(result, 31) + (this.v1g_1 == null ? 0 : getStringHashCode(this.v1g_1)) | 0;
1753
1765
  return result;
1754
1766
  };
1755
1767
  protoOf(IngredientItem).equals = function (other) {
@@ -1757,23 +1769,23 @@
1757
1769
  return true;
1758
1770
  if (!(other instanceof IngredientItem))
1759
1771
  return false;
1760
- if (!equals(this.x1f_1, other.x1f_1))
1772
+ if (!equals(this.n1g_1, other.n1g_1))
1761
1773
  return false;
1762
- if (!(this.y1f_1 == other.y1f_1))
1774
+ if (!(this.o1g_1 == other.o1g_1))
1763
1775
  return false;
1764
- if (!(this.z1f_1 == other.z1f_1))
1776
+ if (!(this.p1g_1 == other.p1g_1))
1765
1777
  return false;
1766
- if (!(this.a1g_1 == other.a1g_1))
1778
+ if (!(this.q1g_1 == other.q1g_1))
1767
1779
  return false;
1768
- if (!(this.b1g_1 == other.b1g_1))
1780
+ if (!(this.r1g_1 == other.r1g_1))
1769
1781
  return false;
1770
- if (!(this.c1g_1 == other.c1g_1))
1782
+ if (!(this.s1g_1 == other.s1g_1))
1771
1783
  return false;
1772
- if (!(this.d1g_1 == other.d1g_1))
1784
+ if (!(this.t1g_1 == other.t1g_1))
1773
1785
  return false;
1774
- if (!(this.e1g_1 == other.e1g_1))
1786
+ if (!(this.u1g_1 == other.u1g_1))
1775
1787
  return false;
1776
- if (!(this.f1g_1 == other.f1g_1))
1788
+ if (!(this.v1g_1 == other.v1g_1))
1777
1789
  return false;
1778
1790
  return true;
1779
1791
  };
@@ -1786,63 +1798,63 @@
1786
1798
  function $serializer_4() {
1787
1799
  $serializer_instance_4 = this;
1788
1800
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Range', this, 2);
1789
- tmp0_serialDesc.ct('max', true);
1790
- tmp0_serialDesc.ct('min', true);
1791
- this.m1h_1 = tmp0_serialDesc;
1801
+ tmp0_serialDesc.ht('max', true);
1802
+ tmp0_serialDesc.ht('min', true);
1803
+ this.c1i_1 = tmp0_serialDesc;
1792
1804
  }
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);
1805
+ protoOf($serializer_4).d1i = function (encoder, value) {
1806
+ var tmp0_desc = this.c1i_1;
1807
+ var tmp1_output = encoder.yl(tmp0_desc);
1808
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.e1i_1 == null)) {
1809
+ tmp1_output.qn(tmp0_desc, 0, DoubleSerializer_getInstance(), value.e1i_1);
1798
1810
  }
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);
1811
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.f1i_1 == null)) {
1812
+ tmp1_output.qn(tmp0_desc, 1, DoubleSerializer_getInstance(), value.f1i_1);
1801
1813
  }
1802
- tmp1_output.ul(tmp0_desc);
1814
+ tmp1_output.zl(tmp0_desc);
1803
1815
  };
1804
- protoOf($serializer_4).xi = function (encoder, value) {
1805
- return this.n1h(encoder, value instanceof Range ? value : THROW_CCE());
1816
+ protoOf($serializer_4).cj = function (encoder, value) {
1817
+ return this.d1i(encoder, value instanceof Range ? value : THROW_CCE());
1806
1818
  };
1807
- protoOf($serializer_4).yi = function (decoder) {
1808
- var tmp0_desc = this.m1h_1;
1819
+ protoOf($serializer_4).dj = function (decoder) {
1820
+ var tmp0_desc = this.c1i_1;
1809
1821
  var tmp1_flag = true;
1810
1822
  var tmp2_index = 0;
1811
1823
  var tmp3_bitMask0 = 0;
1812
1824
  var tmp4_local0 = null;
1813
1825
  var tmp5_local1 = null;
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);
1826
+ var tmp6_input = decoder.yl(tmp0_desc);
1827
+ if (tmp6_input.om()) {
1828
+ tmp4_local0 = tmp6_input.mm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1817
1829
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1818
- tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1830
+ tmp5_local1 = tmp6_input.mm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1819
1831
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1820
1832
  } else
1821
1833
  while (tmp1_flag) {
1822
- tmp2_index = tmp6_input.km(tmp0_desc);
1834
+ tmp2_index = tmp6_input.pm(tmp0_desc);
1823
1835
  switch (tmp2_index) {
1824
1836
  case -1:
1825
1837
  tmp1_flag = false;
1826
1838
  break;
1827
1839
  case 0:
1828
- tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1840
+ tmp4_local0 = tmp6_input.mm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1829
1841
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1830
1842
  break;
1831
1843
  case 1:
1832
- tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1844
+ tmp5_local1 = tmp6_input.mm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1833
1845
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1834
1846
  break;
1835
1847
  default:
1836
1848
  throw UnknownFieldException_init_$Create$(tmp2_index);
1837
1849
  }
1838
1850
  }
1839
- tmp6_input.ul(tmp0_desc);
1851
+ tmp6_input.zl(tmp0_desc);
1840
1852
  return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1841
1853
  };
1842
- protoOf($serializer_4).wi = function () {
1843
- return this.m1h_1;
1854
+ protoOf($serializer_4).bj = function () {
1855
+ return this.c1i_1;
1844
1856
  };
1845
- protoOf($serializer_4).et = function () {
1857
+ protoOf($serializer_4).jt = function () {
1846
1858
  // Inline function 'kotlin.arrayOf' call
1847
1859
  // Inline function 'kotlin.js.unsafeCast' call
1848
1860
  // Inline function 'kotlin.js.asDynamic' call
@@ -1856,16 +1868,16 @@
1856
1868
  }
1857
1869
  function Range_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
1858
1870
  if (!(0 === (0 & seen0))) {
1859
- throwMissingFieldException(seen0, 0, $serializer_getInstance_4().m1h_1);
1871
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_4().c1i_1);
1860
1872
  }
1861
1873
  if (0 === (seen0 & 1))
1862
- $this.o1h_1 = null;
1874
+ $this.e1i_1 = null;
1863
1875
  else
1864
- $this.o1h_1 = max;
1876
+ $this.e1i_1 = max;
1865
1877
  if (0 === (seen0 & 2))
1866
- $this.p1h_1 = null;
1878
+ $this.f1i_1 = null;
1867
1879
  else
1868
- $this.p1h_1 = min;
1880
+ $this.f1i_1 = min;
1869
1881
  return $this;
1870
1882
  }
1871
1883
  function Range_init_$Create$(seen0, max, min, serializationConstructorMarker) {
@@ -1874,15 +1886,15 @@
1874
1886
  function Range(max, min) {
1875
1887
  max = max === VOID ? null : max;
1876
1888
  min = min === VOID ? null : min;
1877
- this.o1h_1 = max;
1878
- this.p1h_1 = min;
1889
+ this.e1i_1 = max;
1890
+ this.f1i_1 = min;
1879
1891
  }
1880
1892
  protoOf(Range).toString = function () {
1881
- return 'Range(max=' + this.o1h_1 + ', min=' + this.p1h_1 + ')';
1893
+ return 'Range(max=' + this.e1i_1 + ', min=' + this.f1i_1 + ')';
1882
1894
  };
1883
1895
  protoOf(Range).hashCode = function () {
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;
1896
+ var result = this.e1i_1 == null ? 0 : getNumberHashCode(this.e1i_1);
1897
+ result = imul(result, 31) + (this.f1i_1 == null ? 0 : getNumberHashCode(this.f1i_1)) | 0;
1886
1898
  return result;
1887
1899
  };
1888
1900
  protoOf(Range).equals = function (other) {
@@ -1890,9 +1902,9 @@
1890
1902
  return true;
1891
1903
  if (!(other instanceof Range))
1892
1904
  return false;
1893
- if (!equals(this.o1h_1, other.o1h_1))
1905
+ if (!equals(this.e1i_1, other.e1i_1))
1894
1906
  return false;
1895
- if (!equals(this.p1h_1, other.p1h_1))
1907
+ if (!equals(this.f1i_1, other.f1i_1))
1896
1908
  return false;
1897
1909
  return true;
1898
1910
  };
@@ -1906,7 +1918,7 @@
1906
1918
  // Inline function 'kotlin.arrayOf' call
1907
1919
  // Inline function 'kotlin.js.unsafeCast' call
1908
1920
  // Inline function 'kotlin.js.asDynamic' call
1909
- tmp.q1h_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
1921
+ tmp.g1i_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
1910
1922
  }
1911
1923
  var Companion_instance_3;
1912
1924
  function Companion_getInstance_3() {
@@ -1917,33 +1929,33 @@
1917
1929
  function $serializer_5() {
1918
1930
  $serializer_instance_5 = this;
1919
1931
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Instruction', this, 4);
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;
1932
+ tmp0_serialDesc.ht('description', false);
1933
+ tmp0_serialDesc.ht('descriptionTemplate', true);
1934
+ tmp0_serialDesc.ht('images', true);
1935
+ tmp0_serialDesc.ht('stepNumber', true);
1936
+ this.h1i_1 = tmp0_serialDesc;
1925
1937
  }
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);
1938
+ protoOf($serializer_5).i1i = function (encoder, value) {
1939
+ var tmp0_desc = this.h1i_1;
1940
+ var tmp1_output = encoder.yl(tmp0_desc);
1941
+ var tmp2_cached = Companion_getInstance_3().g1i_1;
1942
+ tmp1_output.mn(tmp0_desc, 0, value.x1g_1);
1943
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.y1g_1 == null)) {
1944
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.y1g_1);
1933
1945
  }
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);
1946
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.z1g_1 == null)) {
1947
+ tmp1_output.qn(tmp0_desc, 2, tmp2_cached[2].t1(), value.z1g_1);
1936
1948
  }
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);
1949
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.a1h_1 == null)) {
1950
+ tmp1_output.qn(tmp0_desc, 3, DoubleSerializer_getInstance(), value.a1h_1);
1939
1951
  }
1940
- tmp1_output.ul(tmp0_desc);
1952
+ tmp1_output.zl(tmp0_desc);
1941
1953
  };
1942
- protoOf($serializer_5).xi = function (encoder, value) {
1943
- return this.s1h(encoder, value instanceof Instruction ? value : THROW_CCE());
1954
+ protoOf($serializer_5).cj = function (encoder, value) {
1955
+ return this.i1i(encoder, value instanceof Instruction ? value : THROW_CCE());
1944
1956
  };
1945
- protoOf($serializer_5).yi = function (decoder) {
1946
- var tmp0_desc = this.r1h_1;
1957
+ protoOf($serializer_5).dj = function (decoder) {
1958
+ var tmp0_desc = this.h1i_1;
1947
1959
  var tmp1_flag = true;
1948
1960
  var tmp2_index = 0;
1949
1961
  var tmp3_bitMask0 = 0;
@@ -1951,52 +1963,52 @@
1951
1963
  var tmp5_local1 = null;
1952
1964
  var tmp6_local2 = null;
1953
1965
  var tmp7_local3 = null;
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);
1966
+ var tmp8_input = decoder.yl(tmp0_desc);
1967
+ var tmp9_cached = Companion_getInstance_3().g1i_1;
1968
+ if (tmp8_input.om()) {
1969
+ tmp4_local0 = tmp8_input.im(tmp0_desc, 0);
1958
1970
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1959
- tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1971
+ tmp5_local1 = tmp8_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1960
1972
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1961
- tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1973
+ tmp6_local2 = tmp8_input.mm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1962
1974
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1963
- tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1975
+ tmp7_local3 = tmp8_input.mm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1964
1976
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1965
1977
  } else
1966
1978
  while (tmp1_flag) {
1967
- tmp2_index = tmp8_input.km(tmp0_desc);
1979
+ tmp2_index = tmp8_input.pm(tmp0_desc);
1968
1980
  switch (tmp2_index) {
1969
1981
  case -1:
1970
1982
  tmp1_flag = false;
1971
1983
  break;
1972
1984
  case 0:
1973
- tmp4_local0 = tmp8_input.dm(tmp0_desc, 0);
1985
+ tmp4_local0 = tmp8_input.im(tmp0_desc, 0);
1974
1986
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1975
1987
  break;
1976
1988
  case 1:
1977
- tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1989
+ tmp5_local1 = tmp8_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1978
1990
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1979
1991
  break;
1980
1992
  case 2:
1981
- tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1993
+ tmp6_local2 = tmp8_input.mm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1982
1994
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1983
1995
  break;
1984
1996
  case 3:
1985
- tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1997
+ tmp7_local3 = tmp8_input.mm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1986
1998
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1987
1999
  break;
1988
2000
  default:
1989
2001
  throw UnknownFieldException_init_$Create$(tmp2_index);
1990
2002
  }
1991
2003
  }
1992
- tmp8_input.ul(tmp0_desc);
2004
+ tmp8_input.zl(tmp0_desc);
1993
2005
  return Instruction_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1994
2006
  };
1995
- protoOf($serializer_5).wi = function () {
1996
- return this.r1h_1;
2007
+ protoOf($serializer_5).bj = function () {
2008
+ return this.h1i_1;
1997
2009
  };
1998
- protoOf($serializer_5).et = function () {
1999
- var tmp0_cached = Companion_getInstance_3().q1h_1;
2010
+ protoOf($serializer_5).jt = function () {
2011
+ var tmp0_cached = Companion_getInstance_3().g1i_1;
2000
2012
  // Inline function 'kotlin.arrayOf' call
2001
2013
  // Inline function 'kotlin.js.unsafeCast' call
2002
2014
  // Inline function 'kotlin.js.asDynamic' call
@@ -2010,21 +2022,21 @@
2010
2022
  }
2011
2023
  function Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, $this) {
2012
2024
  if (!(1 === (1 & seen0))) {
2013
- throwMissingFieldException(seen0, 1, $serializer_getInstance_5().r1h_1);
2025
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_5().h1i_1);
2014
2026
  }
2015
- $this.h1g_1 = description;
2027
+ $this.x1g_1 = description;
2016
2028
  if (0 === (seen0 & 2))
2017
- $this.i1g_1 = null;
2029
+ $this.y1g_1 = null;
2018
2030
  else
2019
- $this.i1g_1 = descriptionTemplate;
2031
+ $this.y1g_1 = descriptionTemplate;
2020
2032
  if (0 === (seen0 & 4))
2021
- $this.j1g_1 = null;
2033
+ $this.z1g_1 = null;
2022
2034
  else
2023
- $this.j1g_1 = images;
2035
+ $this.z1g_1 = images;
2024
2036
  if (0 === (seen0 & 8))
2025
- $this.k1g_1 = null;
2037
+ $this.a1h_1 = null;
2026
2038
  else
2027
- $this.k1g_1 = stepNumber;
2039
+ $this.a1h_1 = stepNumber;
2028
2040
  return $this;
2029
2041
  }
2030
2042
  function Instruction_init_$Create$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker) {
@@ -2035,29 +2047,29 @@
2035
2047
  descriptionTemplate = descriptionTemplate === VOID ? null : descriptionTemplate;
2036
2048
  images = images === VOID ? null : images;
2037
2049
  stepNumber = stepNumber === VOID ? null : stepNumber;
2038
- this.h1g_1 = description;
2039
- this.i1g_1 = descriptionTemplate;
2040
- this.j1g_1 = images;
2041
- this.k1g_1 = stepNumber;
2050
+ this.x1g_1 = description;
2051
+ this.y1g_1 = descriptionTemplate;
2052
+ this.z1g_1 = images;
2053
+ this.a1h_1 = stepNumber;
2042
2054
  }
2043
- protoOf(Instruction).t1h = function (description, descriptionTemplate, images, stepNumber) {
2055
+ protoOf(Instruction).j1i = function (description, descriptionTemplate, images, stepNumber) {
2044
2056
  return new Instruction(description, descriptionTemplate, images, stepNumber);
2045
2057
  };
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);
2058
+ protoOf(Instruction).b1h = function (description, descriptionTemplate, images, stepNumber, $super) {
2059
+ description = description === VOID ? this.x1g_1 : description;
2060
+ descriptionTemplate = descriptionTemplate === VOID ? this.y1g_1 : descriptionTemplate;
2061
+ images = images === VOID ? this.z1g_1 : images;
2062
+ stepNumber = stepNumber === VOID ? this.a1h_1 : stepNumber;
2063
+ return $super === VOID ? this.j1i(description, descriptionTemplate, images, stepNumber) : $super.j1i.call(this, description, descriptionTemplate, images, stepNumber);
2052
2064
  };
2053
2065
  protoOf(Instruction).toString = function () {
2054
- return 'Instruction(description=' + this.h1g_1 + ', descriptionTemplate=' + this.i1g_1 + ', images=' + toString(this.j1g_1) + ', stepNumber=' + this.k1g_1 + ')';
2066
+ return 'Instruction(description=' + this.x1g_1 + ', descriptionTemplate=' + this.y1g_1 + ', images=' + toString(this.z1g_1) + ', stepNumber=' + this.a1h_1 + ')';
2055
2067
  };
2056
2068
  protoOf(Instruction).hashCode = function () {
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;
2069
+ var result = getStringHashCode(this.x1g_1);
2070
+ result = imul(result, 31) + (this.y1g_1 == null ? 0 : getStringHashCode(this.y1g_1)) | 0;
2071
+ result = imul(result, 31) + (this.z1g_1 == null ? 0 : hashCode(this.z1g_1)) | 0;
2072
+ result = imul(result, 31) + (this.a1h_1 == null ? 0 : getNumberHashCode(this.a1h_1)) | 0;
2061
2073
  return result;
2062
2074
  };
2063
2075
  protoOf(Instruction).equals = function (other) {
@@ -2065,85 +2077,85 @@
2065
2077
  return true;
2066
2078
  if (!(other instanceof Instruction))
2067
2079
  return false;
2068
- if (!(this.h1g_1 === other.h1g_1))
2080
+ if (!(this.x1g_1 === other.x1g_1))
2069
2081
  return false;
2070
- if (!(this.i1g_1 == other.i1g_1))
2082
+ if (!(this.y1g_1 == other.y1g_1))
2071
2083
  return false;
2072
- if (!equals(this.j1g_1, other.j1g_1))
2084
+ if (!equals(this.z1g_1, other.z1g_1))
2073
2085
  return false;
2074
- if (!equals(this.k1g_1, other.k1g_1))
2086
+ if (!equals(this.a1h_1, other.a1h_1))
2075
2087
  return false;
2076
2088
  return true;
2077
2089
  };
2078
2090
  function $serializer_6() {
2079
2091
  $serializer_instance_6 = this;
2080
2092
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Serves', this, 3);
2081
- tmp0_serialDesc.ct('amount', true);
2082
- tmp0_serialDesc.ct('text', true);
2083
- tmp0_serialDesc.ct('unit', false);
2084
- this.u1h_1 = tmp0_serialDesc;
2093
+ tmp0_serialDesc.ht('amount', true);
2094
+ tmp0_serialDesc.ht('text', true);
2095
+ tmp0_serialDesc.ht('unit', false);
2096
+ this.k1i_1 = tmp0_serialDesc;
2085
2097
  }
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);
2098
+ protoOf($serializer_6).l1i = function (encoder, value) {
2099
+ var tmp0_desc = this.k1i_1;
2100
+ var tmp1_output = encoder.yl(tmp0_desc);
2101
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.m1i_1 == null)) {
2102
+ tmp1_output.qn(tmp0_desc, 0, $serializer_getInstance_4(), value.m1i_1);
2091
2103
  }
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);
2104
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.n1i_1 == null)) {
2105
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.n1i_1);
2094
2106
  }
2095
- tmp1_output.hn(tmp0_desc, 2, value.y1h_1);
2096
- tmp1_output.ul(tmp0_desc);
2107
+ tmp1_output.mn(tmp0_desc, 2, value.o1i_1);
2108
+ tmp1_output.zl(tmp0_desc);
2097
2109
  };
2098
- protoOf($serializer_6).xi = function (encoder, value) {
2099
- return this.v1h(encoder, value instanceof Serves ? value : THROW_CCE());
2110
+ protoOf($serializer_6).cj = function (encoder, value) {
2111
+ return this.l1i(encoder, value instanceof Serves ? value : THROW_CCE());
2100
2112
  };
2101
- protoOf($serializer_6).yi = function (decoder) {
2102
- var tmp0_desc = this.u1h_1;
2113
+ protoOf($serializer_6).dj = function (decoder) {
2114
+ var tmp0_desc = this.k1i_1;
2103
2115
  var tmp1_flag = true;
2104
2116
  var tmp2_index = 0;
2105
2117
  var tmp3_bitMask0 = 0;
2106
2118
  var tmp4_local0 = null;
2107
2119
  var tmp5_local1 = null;
2108
2120
  var tmp6_local2 = null;
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);
2121
+ var tmp7_input = decoder.yl(tmp0_desc);
2122
+ if (tmp7_input.om()) {
2123
+ tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2112
2124
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2113
- tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2125
+ tmp5_local1 = tmp7_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2114
2126
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2115
- tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
2127
+ tmp6_local2 = tmp7_input.im(tmp0_desc, 2);
2116
2128
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2117
2129
  } else
2118
2130
  while (tmp1_flag) {
2119
- tmp2_index = tmp7_input.km(tmp0_desc);
2131
+ tmp2_index = tmp7_input.pm(tmp0_desc);
2120
2132
  switch (tmp2_index) {
2121
2133
  case -1:
2122
2134
  tmp1_flag = false;
2123
2135
  break;
2124
2136
  case 0:
2125
- tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2137
+ tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2126
2138
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2127
2139
  break;
2128
2140
  case 1:
2129
- tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2141
+ tmp5_local1 = tmp7_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2130
2142
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2131
2143
  break;
2132
2144
  case 2:
2133
- tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
2145
+ tmp6_local2 = tmp7_input.im(tmp0_desc, 2);
2134
2146
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2135
2147
  break;
2136
2148
  default:
2137
2149
  throw UnknownFieldException_init_$Create$(tmp2_index);
2138
2150
  }
2139
2151
  }
2140
- tmp7_input.ul(tmp0_desc);
2152
+ tmp7_input.zl(tmp0_desc);
2141
2153
  return Serves_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
2142
2154
  };
2143
- protoOf($serializer_6).wi = function () {
2144
- return this.u1h_1;
2155
+ protoOf($serializer_6).bj = function () {
2156
+ return this.k1i_1;
2145
2157
  };
2146
- protoOf($serializer_6).et = function () {
2158
+ protoOf($serializer_6).jt = function () {
2147
2159
  // Inline function 'kotlin.arrayOf' call
2148
2160
  // Inline function 'kotlin.js.unsafeCast' call
2149
2161
  // Inline function 'kotlin.js.asDynamic' call
@@ -2157,17 +2169,17 @@
2157
2169
  }
2158
2170
  function Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, $this) {
2159
2171
  if (!(4 === (4 & seen0))) {
2160
- throwMissingFieldException(seen0, 4, $serializer_getInstance_6().u1h_1);
2172
+ throwMissingFieldException(seen0, 4, $serializer_getInstance_6().k1i_1);
2161
2173
  }
2162
2174
  if (0 === (seen0 & 1))
2163
- $this.w1h_1 = null;
2175
+ $this.m1i_1 = null;
2164
2176
  else
2165
- $this.w1h_1 = amount;
2177
+ $this.m1i_1 = amount;
2166
2178
  if (0 === (seen0 & 2))
2167
- $this.x1h_1 = null;
2179
+ $this.n1i_1 = null;
2168
2180
  else
2169
- $this.x1h_1 = text;
2170
- $this.y1h_1 = unit;
2181
+ $this.n1i_1 = text;
2182
+ $this.o1i_1 = unit;
2171
2183
  return $this;
2172
2184
  }
2173
2185
  function Serves_init_$Create$(seen0, amount, text, unit, serializationConstructorMarker) {
@@ -2176,12 +2188,12 @@
2176
2188
  function Serves() {
2177
2189
  }
2178
2190
  protoOf(Serves).toString = function () {
2179
- return 'Serves(amount=' + toString(this.w1h_1) + ', text=' + this.x1h_1 + ', unit=' + this.y1h_1 + ')';
2191
+ return 'Serves(amount=' + toString(this.m1i_1) + ', text=' + this.n1i_1 + ', unit=' + this.o1i_1 + ')';
2180
2192
  };
2181
2193
  protoOf(Serves).hashCode = function () {
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;
2194
+ var result = this.m1i_1 == null ? 0 : this.m1i_1.hashCode();
2195
+ result = imul(result, 31) + (this.n1i_1 == null ? 0 : getStringHashCode(this.n1i_1)) | 0;
2196
+ result = imul(result, 31) + getStringHashCode(this.o1i_1) | 0;
2185
2197
  return result;
2186
2198
  };
2187
2199
  protoOf(Serves).equals = function (other) {
@@ -2189,11 +2201,11 @@
2189
2201
  return true;
2190
2202
  if (!(other instanceof Serves))
2191
2203
  return false;
2192
- if (!equals(this.w1h_1, other.w1h_1))
2204
+ if (!equals(this.m1i_1, other.m1i_1))
2193
2205
  return false;
2194
- if (!(this.x1h_1 == other.x1h_1))
2206
+ if (!(this.n1i_1 == other.n1i_1))
2195
2207
  return false;
2196
- if (!(this.y1h_1 === other.y1h_1))
2208
+ if (!(this.o1i_1 === other.o1i_1))
2197
2209
  return false;
2198
2210
  return true;
2199
2211
  };
@@ -2206,74 +2218,74 @@
2206
2218
  function $serializer_7() {
2207
2219
  $serializer_instance_7 = this;
2208
2220
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Timing', this, 3);
2209
- tmp0_serialDesc.ct('durationInMins', true);
2210
- tmp0_serialDesc.ct('qualifier', true);
2211
- tmp0_serialDesc.ct('text', true);
2212
- this.z1h_1 = tmp0_serialDesc;
2221
+ tmp0_serialDesc.ht('durationInMins', true);
2222
+ tmp0_serialDesc.ht('qualifier', true);
2223
+ tmp0_serialDesc.ht('text', true);
2224
+ this.p1i_1 = tmp0_serialDesc;
2213
2225
  }
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);
2226
+ protoOf($serializer_7).q1i = function (encoder, value) {
2227
+ var tmp0_desc = this.p1i_1;
2228
+ var tmp1_output = encoder.yl(tmp0_desc);
2229
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.r1i_1 == null)) {
2230
+ tmp1_output.qn(tmp0_desc, 0, $serializer_getInstance_4(), value.r1i_1);
2219
2231
  }
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);
2232
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.s1i_1 == null)) {
2233
+ tmp1_output.qn(tmp0_desc, 1, StringSerializer_getInstance(), value.s1i_1);
2222
2234
  }
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);
2235
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.t1i_1 == null)) {
2236
+ tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.t1i_1);
2225
2237
  }
2226
- tmp1_output.ul(tmp0_desc);
2238
+ tmp1_output.zl(tmp0_desc);
2227
2239
  };
2228
- protoOf($serializer_7).xi = function (encoder, value) {
2229
- return this.a1i(encoder, value instanceof Timing ? value : THROW_CCE());
2240
+ protoOf($serializer_7).cj = function (encoder, value) {
2241
+ return this.q1i(encoder, value instanceof Timing ? value : THROW_CCE());
2230
2242
  };
2231
- protoOf($serializer_7).yi = function (decoder) {
2232
- var tmp0_desc = this.z1h_1;
2243
+ protoOf($serializer_7).dj = function (decoder) {
2244
+ var tmp0_desc = this.p1i_1;
2233
2245
  var tmp1_flag = true;
2234
2246
  var tmp2_index = 0;
2235
2247
  var tmp3_bitMask0 = 0;
2236
2248
  var tmp4_local0 = null;
2237
2249
  var tmp5_local1 = null;
2238
2250
  var tmp6_local2 = null;
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);
2251
+ var tmp7_input = decoder.yl(tmp0_desc);
2252
+ if (tmp7_input.om()) {
2253
+ tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2242
2254
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2243
- tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2255
+ tmp5_local1 = tmp7_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2244
2256
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2245
- tmp6_local2 = tmp7_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2257
+ tmp6_local2 = tmp7_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2246
2258
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2247
2259
  } else
2248
2260
  while (tmp1_flag) {
2249
- tmp2_index = tmp7_input.km(tmp0_desc);
2261
+ tmp2_index = tmp7_input.pm(tmp0_desc);
2250
2262
  switch (tmp2_index) {
2251
2263
  case -1:
2252
2264
  tmp1_flag = false;
2253
2265
  break;
2254
2266
  case 0:
2255
- tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2267
+ tmp4_local0 = tmp7_input.mm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2256
2268
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2257
2269
  break;
2258
2270
  case 1:
2259
- tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2271
+ tmp5_local1 = tmp7_input.mm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2260
2272
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2261
2273
  break;
2262
2274
  case 2:
2263
- tmp6_local2 = tmp7_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2275
+ tmp6_local2 = tmp7_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2264
2276
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2265
2277
  break;
2266
2278
  default:
2267
2279
  throw UnknownFieldException_init_$Create$(tmp2_index);
2268
2280
  }
2269
2281
  }
2270
- tmp7_input.ul(tmp0_desc);
2282
+ tmp7_input.zl(tmp0_desc);
2271
2283
  return Timing_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
2272
2284
  };
2273
- protoOf($serializer_7).wi = function () {
2274
- return this.z1h_1;
2285
+ protoOf($serializer_7).bj = function () {
2286
+ return this.p1i_1;
2275
2287
  };
2276
- protoOf($serializer_7).et = function () {
2288
+ protoOf($serializer_7).jt = function () {
2277
2289
  // Inline function 'kotlin.arrayOf' call
2278
2290
  // Inline function 'kotlin.js.unsafeCast' call
2279
2291
  // Inline function 'kotlin.js.asDynamic' call
@@ -2287,20 +2299,20 @@
2287
2299
  }
2288
2300
  function Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, $this) {
2289
2301
  if (!(0 === (0 & seen0))) {
2290
- throwMissingFieldException(seen0, 0, $serializer_getInstance_7().z1h_1);
2302
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_7().p1i_1);
2291
2303
  }
2292
2304
  if (0 === (seen0 & 1))
2293
- $this.b1i_1 = null;
2305
+ $this.r1i_1 = null;
2294
2306
  else
2295
- $this.b1i_1 = durationInMins;
2307
+ $this.r1i_1 = durationInMins;
2296
2308
  if (0 === (seen0 & 2))
2297
- $this.c1i_1 = null;
2309
+ $this.s1i_1 = null;
2298
2310
  else
2299
- $this.c1i_1 = qualifier;
2311
+ $this.s1i_1 = qualifier;
2300
2312
  if (0 === (seen0 & 4))
2301
- $this.d1i_1 = null;
2313
+ $this.t1i_1 = null;
2302
2314
  else
2303
- $this.d1i_1 = text;
2315
+ $this.t1i_1 = text;
2304
2316
  return $this;
2305
2317
  }
2306
2318
  function Timing_init_$Create$(seen0, durationInMins, qualifier, text, serializationConstructorMarker) {
@@ -2310,17 +2322,17 @@
2310
2322
  durationInMins = durationInMins === VOID ? null : durationInMins;
2311
2323
  qualifier = qualifier === VOID ? null : qualifier;
2312
2324
  text = text === VOID ? null : text;
2313
- this.b1i_1 = durationInMins;
2314
- this.c1i_1 = qualifier;
2315
- this.d1i_1 = text;
2325
+ this.r1i_1 = durationInMins;
2326
+ this.s1i_1 = qualifier;
2327
+ this.t1i_1 = text;
2316
2328
  }
2317
2329
  protoOf(Timing).toString = function () {
2318
- return 'Timing(durationInMins=' + toString(this.b1i_1) + ', qualifier=' + this.c1i_1 + ', text=' + this.d1i_1 + ')';
2330
+ return 'Timing(durationInMins=' + toString(this.r1i_1) + ', qualifier=' + this.s1i_1 + ', text=' + this.t1i_1 + ')';
2319
2331
  };
2320
2332
  protoOf(Timing).hashCode = function () {
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;
2333
+ var result = this.r1i_1 == null ? 0 : this.r1i_1.hashCode();
2334
+ result = imul(result, 31) + (this.s1i_1 == null ? 0 : getStringHashCode(this.s1i_1)) | 0;
2335
+ result = imul(result, 31) + (this.t1i_1 == null ? 0 : getStringHashCode(this.t1i_1)) | 0;
2324
2336
  return result;
2325
2337
  };
2326
2338
  protoOf(Timing).equals = function (other) {
@@ -2328,29 +2340,29 @@
2328
2340
  return true;
2329
2341
  if (!(other instanceof Timing))
2330
2342
  return false;
2331
- if (!equals(this.b1i_1, other.b1i_1))
2343
+ if (!equals(this.r1i_1, other.r1i_1))
2332
2344
  return false;
2333
- if (!(this.c1i_1 == other.c1i_1))
2345
+ if (!(this.s1i_1 == other.s1i_1))
2334
2346
  return false;
2335
- if (!(this.d1i_1 == other.d1i_1))
2347
+ if (!(this.t1i_1 == other.t1i_1))
2336
2348
  return false;
2337
2349
  return true;
2338
2350
  };
2339
2351
  function ParsedTemplate(elements) {
2340
- this.x1e_1 = elements;
2352
+ this.n1f_1 = elements;
2341
2353
  }
2342
2354
  protoOf(ParsedTemplate).toString = function () {
2343
- return 'ParsedTemplate(elements=' + toString_0(this.x1e_1) + ')';
2355
+ return 'ParsedTemplate(elements=' + toString_0(this.n1f_1) + ')';
2344
2356
  };
2345
2357
  protoOf(ParsedTemplate).hashCode = function () {
2346
- return hashCode(this.x1e_1);
2358
+ return hashCode(this.n1f_1);
2347
2359
  };
2348
2360
  protoOf(ParsedTemplate).equals = function (other) {
2349
2361
  if (this === other)
2350
2362
  return true;
2351
2363
  if (!(other instanceof ParsedTemplate))
2352
2364
  return false;
2353
- if (!equals(this.x1e_1, other.x1e_1))
2365
+ if (!equals(this.n1f_1, other.n1f_1))
2354
2366
  return false;
2355
2367
  return true;
2356
2368
  };
@@ -2369,36 +2381,36 @@
2369
2381
  var _iterator__ex2g4s = pattern.ya(template).h();
2370
2382
  while (_iterator__ex2g4s.i()) {
2371
2383
  var element = _iterator__ex2g4s.j();
2372
- if (element.ab().p_1 > lastEnd) {
2373
- var textPart = substring_0(template, lastEnd, element.ab().p_1);
2384
+ if (element.ab().r_1 > lastEnd) {
2385
+ var textPart = substring(template, lastEnd, element.ab().r_1);
2374
2386
  // Inline function 'kotlin.text.isNotEmpty' call
2375
2387
  if (charSequenceLength(textPart) > 0) {
2376
2388
  parts.f(new TemplateConst(textPart));
2377
2389
  }
2378
2390
  }
2379
2391
  try {
2380
- var jsonObj = get_jsonObject(Default_getInstance().h12(element.t1()));
2381
- if (jsonObj.x1().l1('min')) {
2392
+ var jsonObj = get_jsonObject(Default_getInstance().m12(element.t1()));
2393
+ if (jsonObj.x1().l('min')) {
2382
2394
  // Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
2383
2395
  var this_0 = get_tolerantJson();
2384
2396
  // Inline function 'kotlinx.serialization.serializer' call
2385
- var this_1 = this_0.im();
2397
+ var this_1 = this_0.nm();
2386
2398
  // Inline function 'kotlinx.serialization.internal.cast' call
2387
2399
  var this_2 = serializer(this_1, createKType(getKClass(QuantityPlaceholder), arrayOf([]), false));
2388
2400
  var tmp$ret$3 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
2389
2401
  // Inline function 'kotlin.let' call
2390
- var it = this_0.g12(tmp$ret$3, jsonObj);
2402
+ var it = this_0.l12(tmp$ret$3, jsonObj);
2391
2403
  parts.f(it);
2392
2404
  } else {
2393
2405
  // Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
2394
2406
  var this_3 = get_tolerantJson();
2395
2407
  // Inline function 'kotlinx.serialization.serializer' call
2396
- var this_4 = this_3.im();
2408
+ var this_4 = this_3.nm();
2397
2409
  // Inline function 'kotlinx.serialization.internal.cast' call
2398
2410
  var this_5 = serializer(this_4, createKType(getKClass(OvenTemperaturePlaceholder), arrayOf([]), false));
2399
2411
  var tmp$ret$8 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
2400
2412
  // Inline function 'kotlin.let' call
2401
- var it_0 = this_3.g12(tmp$ret$8, jsonObj);
2413
+ var it_0 = this_3.l12(tmp$ret$8, jsonObj);
2402
2414
  parts.f(it_0);
2403
2415
  }
2404
2416
  } catch ($p) {
@@ -2410,10 +2422,10 @@
2410
2422
  throw $p;
2411
2423
  }
2412
2424
  }
2413
- lastEnd = element.ab().q_1 + 1 | 0;
2425
+ lastEnd = element.ab().s_1 + 1 | 0;
2414
2426
  }
2415
2427
  if (lastEnd < template.length) {
2416
- var remaining = substring(template, lastEnd);
2428
+ var remaining = substring_0(template, lastEnd);
2417
2429
  // Inline function 'kotlin.text.isNotBlank' call
2418
2430
  if (!isBlank(remaining)) {
2419
2431
  parts.f(new TemplateConst(remaining));
@@ -2423,7 +2435,7 @@
2423
2435
  }
2424
2436
  function tolerantJson$lambda($this$Json) {
2425
2437
  _init_properties_Parser_kt__o3jwn5();
2426
- $this$Json.z12_1 = true;
2438
+ $this$Json.e13_1 = true;
2427
2439
  return Unit_instance;
2428
2440
  }
2429
2441
  var properties_initialized_Parser_kt_5uifb3;
@@ -2441,15 +2453,15 @@
2441
2453
  protoOf(TemplateConst).t1 = function () {
2442
2454
  return this.value;
2443
2455
  };
2444
- protoOf(TemplateConst).id = function () {
2456
+ protoOf(TemplateConst).jd = function () {
2445
2457
  return this.value;
2446
2458
  };
2447
- protoOf(TemplateConst).e1i = function (value) {
2459
+ protoOf(TemplateConst).u1i = function (value) {
2448
2460
  return new TemplateConst(value);
2449
2461
  };
2450
2462
  protoOf(TemplateConst).copy = function (value, $super) {
2451
2463
  value = value === VOID ? this.value : value;
2452
- return $super === VOID ? this.e1i(value) : $super.e1i.call(this, value);
2464
+ return $super === VOID ? this.u1i(value) : $super.u1i.call(this, value);
2453
2465
  };
2454
2466
  protoOf(TemplateConst).toString = function () {
2455
2467
  return 'TemplateConst(value=' + this.value + ')';
@@ -2468,7 +2480,7 @@
2468
2480
  };
2469
2481
  function Companion_5() {
2470
2482
  }
2471
- protoOf(Companion_5).o14 = function () {
2483
+ protoOf(Companion_5).t14 = function () {
2472
2484
  return $serializer_getInstance_8();
2473
2485
  };
2474
2486
  var Companion_instance_5;
@@ -2478,40 +2490,40 @@
2478
2490
  function $serializer_8() {
2479
2491
  $serializer_instance_8 = this;
2480
2492
  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;
2493
+ tmp0_serialDesc.ht('min', false);
2494
+ tmp0_serialDesc.ht('max', true);
2495
+ tmp0_serialDesc.ht('unit', true);
2496
+ tmp0_serialDesc.ht('scale', true);
2497
+ tmp0_serialDesc.ht('ingredient', true);
2498
+ tmp0_serialDesc.ht('usCust', true);
2499
+ this.v1i_1 = tmp0_serialDesc;
2488
2500
  }
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);
2501
+ protoOf($serializer_8).w1i = function (encoder, value) {
2502
+ var tmp0_desc = this.v1i_1;
2503
+ var tmp1_output = encoder.yl(tmp0_desc);
2504
+ tmp1_output.jn(tmp0_desc, 0, value.min);
2505
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.max == null)) {
2506
+ tmp1_output.qn(tmp0_desc, 1, FloatSerializer_getInstance(), value.max);
2495
2507
  }
2496
- if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.unit == null)) {
2497
- tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.unit);
2508
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.unit == null)) {
2509
+ tmp1_output.qn(tmp0_desc, 2, StringSerializer_getInstance(), value.unit);
2498
2510
  }
2499
- if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.scale === false)) {
2500
- tmp1_output.zm(tmp0_desc, 3, value.scale);
2511
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.scale === false)) {
2512
+ tmp1_output.en(tmp0_desc, 3, value.scale);
2501
2513
  }
2502
- if (tmp1_output.pn(tmp0_desc, 4) ? true : !(value.ingredient == null)) {
2503
- tmp1_output.ln(tmp0_desc, 4, StringSerializer_getInstance(), value.ingredient);
2514
+ if (tmp1_output.un(tmp0_desc, 4) ? true : !(value.ingredient == null)) {
2515
+ tmp1_output.qn(tmp0_desc, 4, StringSerializer_getInstance(), value.ingredient);
2504
2516
  }
2505
- if (tmp1_output.pn(tmp0_desc, 5) ? true : !(value.usCust == null)) {
2506
- tmp1_output.ln(tmp0_desc, 5, BooleanSerializer_getInstance(), value.usCust);
2517
+ if (tmp1_output.un(tmp0_desc, 5) ? true : !(value.usCust == null)) {
2518
+ tmp1_output.qn(tmp0_desc, 5, BooleanSerializer_getInstance(), value.usCust);
2507
2519
  }
2508
- tmp1_output.ul(tmp0_desc);
2520
+ tmp1_output.zl(tmp0_desc);
2509
2521
  };
2510
- protoOf($serializer_8).xi = function (encoder, value) {
2511
- return this.g1i(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
2522
+ protoOf($serializer_8).cj = function (encoder, value) {
2523
+ return this.w1i(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
2512
2524
  };
2513
- protoOf($serializer_8).yi = function (decoder) {
2514
- var tmp0_desc = this.f1i_1;
2525
+ protoOf($serializer_8).dj = function (decoder) {
2526
+ var tmp0_desc = this.v1i_1;
2515
2527
  var tmp1_flag = true;
2516
2528
  var tmp2_index = 0;
2517
2529
  var tmp3_bitMask0 = 0;
@@ -2521,62 +2533,62 @@
2521
2533
  var tmp7_local3 = false;
2522
2534
  var tmp8_local4 = null;
2523
2535
  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);
2536
+ var tmp10_input = decoder.yl(tmp0_desc);
2537
+ if (tmp10_input.om()) {
2538
+ tmp4_local0 = tmp10_input.fm(tmp0_desc, 0);
2527
2539
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2528
- tmp5_local1 = tmp10_input.hm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2540
+ tmp5_local1 = tmp10_input.mm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2529
2541
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2530
- tmp6_local2 = tmp10_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2542
+ tmp6_local2 = tmp10_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2531
2543
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2532
- tmp7_local3 = tmp10_input.vl(tmp0_desc, 3);
2544
+ tmp7_local3 = tmp10_input.am(tmp0_desc, 3);
2533
2545
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2534
- tmp8_local4 = tmp10_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
2546
+ tmp8_local4 = tmp10_input.mm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
2535
2547
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
2536
- tmp9_local5 = tmp10_input.hm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
2548
+ tmp9_local5 = tmp10_input.mm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
2537
2549
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
2538
2550
  } else
2539
2551
  while (tmp1_flag) {
2540
- tmp2_index = tmp10_input.km(tmp0_desc);
2552
+ tmp2_index = tmp10_input.pm(tmp0_desc);
2541
2553
  switch (tmp2_index) {
2542
2554
  case -1:
2543
2555
  tmp1_flag = false;
2544
2556
  break;
2545
2557
  case 0:
2546
- tmp4_local0 = tmp10_input.am(tmp0_desc, 0);
2558
+ tmp4_local0 = tmp10_input.fm(tmp0_desc, 0);
2547
2559
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2548
2560
  break;
2549
2561
  case 1:
2550
- tmp5_local1 = tmp10_input.hm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2562
+ tmp5_local1 = tmp10_input.mm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2551
2563
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2552
2564
  break;
2553
2565
  case 2:
2554
- tmp6_local2 = tmp10_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2566
+ tmp6_local2 = tmp10_input.mm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2555
2567
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2556
2568
  break;
2557
2569
  case 3:
2558
- tmp7_local3 = tmp10_input.vl(tmp0_desc, 3);
2570
+ tmp7_local3 = tmp10_input.am(tmp0_desc, 3);
2559
2571
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2560
2572
  break;
2561
2573
  case 4:
2562
- tmp8_local4 = tmp10_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
2574
+ tmp8_local4 = tmp10_input.mm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
2563
2575
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
2564
2576
  break;
2565
2577
  case 5:
2566
- tmp9_local5 = tmp10_input.hm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
2578
+ tmp9_local5 = tmp10_input.mm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
2567
2579
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
2568
2580
  break;
2569
2581
  default:
2570
2582
  throw UnknownFieldException_init_$Create$(tmp2_index);
2571
2583
  }
2572
2584
  }
2573
- tmp10_input.ul(tmp0_desc);
2585
+ tmp10_input.zl(tmp0_desc);
2574
2586
  return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
2575
2587
  };
2576
- protoOf($serializer_8).wi = function () {
2577
- return this.f1i_1;
2588
+ protoOf($serializer_8).bj = function () {
2589
+ return this.v1i_1;
2578
2590
  };
2579
- protoOf($serializer_8).et = function () {
2591
+ protoOf($serializer_8).jt = function () {
2580
2592
  // Inline function 'kotlin.arrayOf' call
2581
2593
  // Inline function 'kotlin.js.unsafeCast' call
2582
2594
  // Inline function 'kotlin.js.asDynamic' call
@@ -2590,7 +2602,7 @@
2590
2602
  }
2591
2603
  function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, $this) {
2592
2604
  if (!(1 === (1 & seen0))) {
2593
- throwMissingFieldException(seen0, 1, $serializer_getInstance_8().f1i_1);
2605
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_8().v1i_1);
2594
2606
  }
2595
2607
  $this.min = min;
2596
2608
  if (0 === (seen0 & 2))
@@ -2631,43 +2643,43 @@
2631
2643
  this.ingredient = ingredient;
2632
2644
  this.usCust = usCust;
2633
2645
  }
2634
- protoOf(QuantityPlaceholder).h1i = function () {
2646
+ protoOf(QuantityPlaceholder).x1i = function () {
2635
2647
  return this.min;
2636
2648
  };
2637
- protoOf(QuantityPlaceholder).i1i = function () {
2649
+ protoOf(QuantityPlaceholder).y1i = function () {
2638
2650
  return this.max;
2639
2651
  };
2640
- protoOf(QuantityPlaceholder).j1i = function () {
2652
+ protoOf(QuantityPlaceholder).z1i = function () {
2641
2653
  return this.unit;
2642
2654
  };
2643
- protoOf(QuantityPlaceholder).k1i = function () {
2655
+ protoOf(QuantityPlaceholder).a1j = function () {
2644
2656
  return this.scale;
2645
2657
  };
2646
- protoOf(QuantityPlaceholder).l1i = function () {
2658
+ protoOf(QuantityPlaceholder).b1j = function () {
2647
2659
  return this.ingredient;
2648
2660
  };
2649
- protoOf(QuantityPlaceholder).m1i = function () {
2661
+ protoOf(QuantityPlaceholder).c1j = function () {
2650
2662
  return this.usCust;
2651
2663
  };
2652
- protoOf(QuantityPlaceholder).id = function () {
2664
+ protoOf(QuantityPlaceholder).jd = function () {
2653
2665
  return this.min;
2654
2666
  };
2655
- protoOf(QuantityPlaceholder).jd = function () {
2667
+ protoOf(QuantityPlaceholder).kd = function () {
2656
2668
  return this.max;
2657
2669
  };
2658
- protoOf(QuantityPlaceholder).n1i = function () {
2670
+ protoOf(QuantityPlaceholder).d1j = function () {
2659
2671
  return this.unit;
2660
2672
  };
2661
- protoOf(QuantityPlaceholder).o1i = function () {
2673
+ protoOf(QuantityPlaceholder).e1j = function () {
2662
2674
  return this.scale;
2663
2675
  };
2664
- protoOf(QuantityPlaceholder).p1i = function () {
2676
+ protoOf(QuantityPlaceholder).f1j = function () {
2665
2677
  return this.ingredient;
2666
2678
  };
2667
- protoOf(QuantityPlaceholder).q1i = function () {
2679
+ protoOf(QuantityPlaceholder).g1j = function () {
2668
2680
  return this.usCust;
2669
2681
  };
2670
- protoOf(QuantityPlaceholder).r1i = function (min, max, unit, scale, ingredient, usCust) {
2682
+ protoOf(QuantityPlaceholder).h1j = function (min, max, unit, scale, ingredient, usCust) {
2671
2683
  return new QuantityPlaceholder(min, max, unit, scale, ingredient, usCust);
2672
2684
  };
2673
2685
  protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, ingredient, usCust, $super) {
@@ -2677,7 +2689,7 @@
2677
2689
  scale = scale === VOID ? this.scale : scale;
2678
2690
  ingredient = ingredient === VOID ? this.ingredient : ingredient;
2679
2691
  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);
2692
+ return $super === VOID ? this.h1j(min, max, unit, scale, ingredient, usCust) : $super.h1j.call(this, min, max, unit, scale, ingredient, usCust);
2681
2693
  };
2682
2694
  protoOf(QuantityPlaceholder).toString = function () {
2683
2695
  return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ', ingredient=' + this.ingredient + ', usCust=' + this.usCust + ')';
@@ -2712,7 +2724,7 @@
2712
2724
  };
2713
2725
  function Companion_6() {
2714
2726
  }
2715
- protoOf(Companion_6).o14 = function () {
2727
+ protoOf(Companion_6).t14 = function () {
2716
2728
  return $serializer_getInstance_9();
2717
2729
  };
2718
2730
  var Companion_instance_6;
@@ -2722,34 +2734,34 @@
2722
2734
  function $serializer_9() {
2723
2735
  $serializer_instance_9 = this;
2724
2736
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.OvenTemperaturePlaceholder', this, 4);
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;
2737
+ tmp0_serialDesc.ht('temperatureC', true);
2738
+ tmp0_serialDesc.ht('temperatureFanC', true);
2739
+ tmp0_serialDesc.ht('temperatureF', true);
2740
+ tmp0_serialDesc.ht('gasMark', true);
2741
+ this.i1j_1 = tmp0_serialDesc;
2730
2742
  }
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);
2743
+ protoOf($serializer_9).j1j = function (encoder, value) {
2744
+ var tmp0_desc = this.i1j_1;
2745
+ var tmp1_output = encoder.yl(tmp0_desc);
2746
+ if (tmp1_output.un(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
2747
+ tmp1_output.qn(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
2736
2748
  }
2737
- if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.temperatureFanC == null)) {
2738
- tmp1_output.ln(tmp0_desc, 1, IntSerializer_getInstance(), value.temperatureFanC);
2749
+ if (tmp1_output.un(tmp0_desc, 1) ? true : !(value.temperatureFanC == null)) {
2750
+ tmp1_output.qn(tmp0_desc, 1, IntSerializer_getInstance(), value.temperatureFanC);
2739
2751
  }
2740
- if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.temperatureF == null)) {
2741
- tmp1_output.ln(tmp0_desc, 2, IntSerializer_getInstance(), value.temperatureF);
2752
+ if (tmp1_output.un(tmp0_desc, 2) ? true : !(value.temperatureF == null)) {
2753
+ tmp1_output.qn(tmp0_desc, 2, IntSerializer_getInstance(), value.temperatureF);
2742
2754
  }
2743
- if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.gasMark == null)) {
2744
- tmp1_output.ln(tmp0_desc, 3, FloatSerializer_getInstance(), value.gasMark);
2755
+ if (tmp1_output.un(tmp0_desc, 3) ? true : !(value.gasMark == null)) {
2756
+ tmp1_output.qn(tmp0_desc, 3, FloatSerializer_getInstance(), value.gasMark);
2745
2757
  }
2746
- tmp1_output.ul(tmp0_desc);
2758
+ tmp1_output.zl(tmp0_desc);
2747
2759
  };
2748
- protoOf($serializer_9).xi = function (encoder, value) {
2749
- return this.t1i(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
2760
+ protoOf($serializer_9).cj = function (encoder, value) {
2761
+ return this.j1j(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
2750
2762
  };
2751
- protoOf($serializer_9).yi = function (decoder) {
2752
- var tmp0_desc = this.s1i_1;
2763
+ protoOf($serializer_9).dj = function (decoder) {
2764
+ var tmp0_desc = this.i1j_1;
2753
2765
  var tmp1_flag = true;
2754
2766
  var tmp2_index = 0;
2755
2767
  var tmp3_bitMask0 = 0;
@@ -2757,50 +2769,50 @@
2757
2769
  var tmp5_local1 = null;
2758
2770
  var tmp6_local2 = null;
2759
2771
  var tmp7_local3 = null;
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);
2772
+ var tmp8_input = decoder.yl(tmp0_desc);
2773
+ if (tmp8_input.om()) {
2774
+ tmp4_local0 = tmp8_input.mm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2763
2775
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2764
- tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2776
+ tmp5_local1 = tmp8_input.mm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2765
2777
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2766
- tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2778
+ tmp6_local2 = tmp8_input.mm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2767
2779
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2768
- tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2780
+ tmp7_local3 = tmp8_input.mm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2769
2781
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2770
2782
  } else
2771
2783
  while (tmp1_flag) {
2772
- tmp2_index = tmp8_input.km(tmp0_desc);
2784
+ tmp2_index = tmp8_input.pm(tmp0_desc);
2773
2785
  switch (tmp2_index) {
2774
2786
  case -1:
2775
2787
  tmp1_flag = false;
2776
2788
  break;
2777
2789
  case 0:
2778
- tmp4_local0 = tmp8_input.hm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2790
+ tmp4_local0 = tmp8_input.mm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2779
2791
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2780
2792
  break;
2781
2793
  case 1:
2782
- tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2794
+ tmp5_local1 = tmp8_input.mm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2783
2795
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2784
2796
  break;
2785
2797
  case 2:
2786
- tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2798
+ tmp6_local2 = tmp8_input.mm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2787
2799
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2788
2800
  break;
2789
2801
  case 3:
2790
- tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2802
+ tmp7_local3 = tmp8_input.mm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2791
2803
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2792
2804
  break;
2793
2805
  default:
2794
2806
  throw UnknownFieldException_init_$Create$(tmp2_index);
2795
2807
  }
2796
2808
  }
2797
- tmp8_input.ul(tmp0_desc);
2809
+ tmp8_input.zl(tmp0_desc);
2798
2810
  return OvenTemperaturePlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
2799
2811
  };
2800
- protoOf($serializer_9).wi = function () {
2801
- return this.s1i_1;
2812
+ protoOf($serializer_9).bj = function () {
2813
+ return this.i1j_1;
2802
2814
  };
2803
- protoOf($serializer_9).et = function () {
2815
+ protoOf($serializer_9).jt = function () {
2804
2816
  // Inline function 'kotlin.arrayOf' call
2805
2817
  // Inline function 'kotlin.js.unsafeCast' call
2806
2818
  // Inline function 'kotlin.js.asDynamic' call
@@ -2814,7 +2826,7 @@
2814
2826
  }
2815
2827
  function OvenTemperaturePlaceholder_init_$Init$(seen0, temperatureC, temperatureFanC, temperatureF, gasMark, serializationConstructorMarker, $this) {
2816
2828
  if (!(0 === (0 & seen0))) {
2817
- throwMissingFieldException(seen0, 0, $serializer_getInstance_9().s1i_1);
2829
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_9().i1j_1);
2818
2830
  }
2819
2831
  if (0 === (seen0 & 1))
2820
2832
  $this.temperatureC = null;
@@ -2847,31 +2859,31 @@
2847
2859
  this.temperatureF = temperatureF;
2848
2860
  this.gasMark = gasMark;
2849
2861
  }
2850
- protoOf(OvenTemperaturePlaceholder).u1i = function () {
2862
+ protoOf(OvenTemperaturePlaceholder).k1j = function () {
2851
2863
  return this.temperatureC;
2852
2864
  };
2853
- protoOf(OvenTemperaturePlaceholder).v1i = function () {
2865
+ protoOf(OvenTemperaturePlaceholder).l1j = function () {
2854
2866
  return this.temperatureFanC;
2855
2867
  };
2856
- protoOf(OvenTemperaturePlaceholder).w1i = function () {
2868
+ protoOf(OvenTemperaturePlaceholder).m1j = function () {
2857
2869
  return this.temperatureF;
2858
2870
  };
2859
- protoOf(OvenTemperaturePlaceholder).x1i = function () {
2871
+ protoOf(OvenTemperaturePlaceholder).n1j = function () {
2860
2872
  return this.gasMark;
2861
2873
  };
2862
- protoOf(OvenTemperaturePlaceholder).id = function () {
2874
+ protoOf(OvenTemperaturePlaceholder).jd = function () {
2863
2875
  return this.temperatureC;
2864
2876
  };
2865
- protoOf(OvenTemperaturePlaceholder).jd = function () {
2877
+ protoOf(OvenTemperaturePlaceholder).kd = function () {
2866
2878
  return this.temperatureFanC;
2867
2879
  };
2868
- protoOf(OvenTemperaturePlaceholder).n1i = function () {
2880
+ protoOf(OvenTemperaturePlaceholder).d1j = function () {
2869
2881
  return this.temperatureF;
2870
2882
  };
2871
- protoOf(OvenTemperaturePlaceholder).o1i = function () {
2883
+ protoOf(OvenTemperaturePlaceholder).e1j = function () {
2872
2884
  return this.gasMark;
2873
2885
  };
2874
- protoOf(OvenTemperaturePlaceholder).y1i = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
2886
+ protoOf(OvenTemperaturePlaceholder).o1j = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
2875
2887
  return new OvenTemperaturePlaceholder(temperatureC, temperatureFanC, temperatureF, gasMark);
2876
2888
  };
2877
2889
  protoOf(OvenTemperaturePlaceholder).copy = function (temperatureC, temperatureFanC, temperatureF, gasMark, $super) {
@@ -2879,7 +2891,7 @@
2879
2891
  temperatureFanC = temperatureFanC === VOID ? this.temperatureFanC : temperatureFanC;
2880
2892
  temperatureF = temperatureF === VOID ? this.temperatureF : temperatureF;
2881
2893
  gasMark = gasMark === VOID ? this.gasMark : gasMark;
2882
- return $super === VOID ? this.y1i(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.y1i.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
2894
+ return $super === VOID ? this.o1j(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.o1j.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
2883
2895
  };
2884
2896
  protoOf(OvenTemperaturePlaceholder).toString = function () {
2885
2897
  return 'OvenTemperaturePlaceholder(temperatureC=' + this.temperatureC + ', temperatureFanC=' + this.temperatureFanC + ', temperatureF=' + this.temperatureF + ', gasMark=' + this.gasMark + ')';
@@ -2918,6 +2930,12 @@
2918
2930
  function Metric_getInstance() {
2919
2931
  return Metric_instance;
2920
2932
  }
2933
+ function USCustomary() {
2934
+ }
2935
+ var USCustomary_instance;
2936
+ function USCustomary_getInstance() {
2937
+ return USCustomary_instance;
2938
+ }
2921
2939
  var UnitType_WEIGHT_instance;
2922
2940
  var UnitType_VOLUME_instance;
2923
2941
  var UnitType_LENGTH_instance;
@@ -2933,118 +2951,254 @@
2933
2951
  function UnitType(name, ordinal) {
2934
2952
  Enum.call(this, name, ordinal);
2935
2953
  }
2936
- function Unit(singular, plural, symbol, symbolPlural, unitType, 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;
2943
- }
2944
- protoOf(Unit).toString = function () {
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) + ')';
2946
- };
2947
- protoOf(Unit).hashCode = function () {
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;
2954
+ function MeasurementUnit(singular, plural, symbol, symbolPlural, unitType, measuringSystems, quantity) {
2955
+ this.g1f_1 = singular;
2956
+ this.h1f_1 = plural;
2957
+ this.i1f_1 = symbol;
2958
+ this.j1f_1 = symbolPlural;
2959
+ this.k1f_1 = unitType;
2960
+ this.l1f_1 = measuringSystems;
2961
+ this.m1f_1 = quantity;
2962
+ }
2963
+ protoOf(MeasurementUnit).toString = function () {
2964
+ return 'MeasurementUnit(singular=' + this.g1f_1 + ', plural=' + this.h1f_1 + ', symbol=' + this.i1f_1 + ', symbolPlural=' + this.j1f_1 + ', unitType=' + toString(this.k1f_1) + ', measuringSystems=' + toString_0(this.l1f_1) + ', quantity=' + this.m1f_1 + ')';
2965
+ };
2966
+ protoOf(MeasurementUnit).hashCode = function () {
2967
+ var result = getStringHashCode(this.g1f_1);
2968
+ result = imul(result, 31) + getStringHashCode(this.h1f_1) | 0;
2969
+ result = imul(result, 31) + getStringHashCode(this.i1f_1) | 0;
2970
+ result = imul(result, 31) + getStringHashCode(this.j1f_1) | 0;
2971
+ result = imul(result, 31) + (this.k1f_1 == null ? 0 : this.k1f_1.hashCode()) | 0;
2972
+ result = imul(result, 31) + hashCode(this.l1f_1) | 0;
2973
+ result = imul(result, 31) + getNumberHashCode(this.m1f_1) | 0;
2954
2974
  return result;
2955
2975
  };
2956
- protoOf(Unit).equals = function (other) {
2976
+ protoOf(MeasurementUnit).equals = function (other) {
2957
2977
  if (this === other)
2958
2978
  return true;
2959
- if (!(other instanceof Unit))
2979
+ if (!(other instanceof MeasurementUnit))
2960
2980
  return false;
2961
- if (!(this.r1e_1 === other.r1e_1))
2981
+ if (!(this.g1f_1 === other.g1f_1))
2962
2982
  return false;
2963
- if (!(this.s1e_1 === other.s1e_1))
2983
+ if (!(this.h1f_1 === other.h1f_1))
2964
2984
  return false;
2965
- if (!(this.t1e_1 === other.t1e_1))
2985
+ if (!(this.i1f_1 === other.i1f_1))
2966
2986
  return false;
2967
- if (!(this.u1e_1 === other.u1e_1))
2987
+ if (!(this.j1f_1 === other.j1f_1))
2968
2988
  return false;
2969
- if (!equals(this.v1e_1, other.v1e_1))
2989
+ if (!equals(this.k1f_1, other.k1f_1))
2970
2990
  return false;
2971
- if (!equals(this.w1e_1, other.w1e_1))
2991
+ if (!equals(this.l1f_1, other.l1f_1))
2992
+ return false;
2993
+ if (!equals(this.m1f_1, other.m1f_1))
2972
2994
  return false;
2973
2995
  return true;
2974
2996
  };
2975
2997
  function Units() {
2976
2998
  Units_instance = this;
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]);
2999
+ this.b1e_1 = new MeasurementUnit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), setOf(Metric_instance), 1.0);
3000
+ this.c1e_1 = new MeasurementUnit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), setOf(Metric_instance), 1000.0);
3001
+ this.d1e_1 = new MeasurementUnit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 28.3495);
3002
+ this.e1e_1 = new MeasurementUnit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 16 * this.d1e_1.m1f_1);
3003
+ this.f1e_1 = new MeasurementUnit('millilitre', 'millilitres', 'ml', 'ml', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 1.0);
3004
+ this.g1e_1 = new MeasurementUnit('centilitre', 'centilitres', 'cl', 'cl', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 10.0);
3005
+ this.h1e_1 = new MeasurementUnit('litre', 'litres', 'l', 'l', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 1000.0);
3006
+ this.i1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 5.0);
3007
+ this.j1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 15.0);
3008
+ this.k1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 4.9289);
3009
+ this.l1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 3 * this.k1e_1.m1f_1);
3010
+ this.m1e_1 = new MeasurementUnit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), setOf(Imperial_instance), 6 * this.k1e_1.m1f_1);
3011
+ this.n1e_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf(USCustomary_instance), 48 * this.k1e_1.m1f_1);
3012
+ this.o1e_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf(Metric_instance), 250.0);
3013
+ this.p1e_1 = new MeasurementUnit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 2 * this.n1e_1.m1f_1);
3014
+ this.q1e_1 = new MeasurementUnit('quart', 'quarts', 'qt', 'qts', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 2 * this.p1e_1.m1f_1);
3015
+ this.r1e_1 = new MeasurementUnit('gallon', 'gallons', 'gal', 'gals', UnitType_VOLUME_getInstance(), setOf_0([Imperial_instance, USCustomary_instance]), 4 * this.q1e_1.m1f_1);
3016
+ this.s1e_1 = new MeasurementUnit('millimetre', 'millimetres', 'mm', 'mm', UnitType_LENGTH_getInstance(), setOf(Metric_instance), 1.0);
3017
+ this.t1e_1 = new MeasurementUnit('centimetre', 'centimetres', 'cm', 'cm', UnitType_LENGTH_getInstance(), setOf(Metric_instance), 10.0);
3018
+ this.u1e_1 = new MeasurementUnit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), setOf(Imperial_instance), 25.4);
3019
+ this.v1e_1 = listOf([this.b1e_1, this.c1e_1, this.d1e_1, this.e1e_1, this.f1e_1, this.g1e_1, this.h1e_1, this.i1e_1, this.j1e_1, this.k1e_1, this.l1e_1, this.m1e_1, this.n1e_1, this.o1e_1, this.p1e_1, this.q1e_1, this.r1e_1, this.s1e_1, this.t1e_1, this.u1e_1]);
2992
3020
  var tmp = this;
2993
- // Inline function 'kotlin.collections.associateBy' call
2994
- var this_0 = this.k1e_1;
2995
- var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
2996
- // Inline function 'kotlin.collections.associateByTo' call
2997
- var destination = LinkedHashMap_init_$Create$(capacity);
2998
- var _iterator__ex2g4s = this_0.h();
3021
+ // Inline function 'kotlin.collections.filter' call
3022
+ var tmp0 = this.v1e_1;
3023
+ // Inline function 'kotlin.collections.filterTo' call
3024
+ var destination = ArrayList_init_$Create$_0();
3025
+ var _iterator__ex2g4s = tmp0.h();
2999
3026
  while (_iterator__ex2g4s.i()) {
3000
3027
  var element = _iterator__ex2g4s.j();
3001
- var tmp$ret$0 = element.t1e_1;
3002
- destination.a2(tmp$ret$0, element);
3028
+ if (element.l1f_1.l(Metric_instance)) {
3029
+ destination.f(element);
3030
+ }
3003
3031
  }
3004
- var tmp_0 = destination;
3032
+ // Inline function 'kotlin.let' call
3005
3033
  // Inline function 'kotlin.collections.associateBy' call
3006
- var this_1 = this.k1e_1;
3007
- var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_1, 10)), 16);
3034
+ var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination, 10)), 16);
3008
3035
  // Inline function 'kotlin.collections.associateByTo' call
3009
- var destination_0 = LinkedHashMap_init_$Create$(capacity_0);
3010
- var _iterator__ex2g4s_0 = this_1.h();
3036
+ var destination_0 = LinkedHashMap_init_$Create$(capacity);
3037
+ var _iterator__ex2g4s_0 = destination.h();
3011
3038
  while (_iterator__ex2g4s_0.i()) {
3012
3039
  var element_0 = _iterator__ex2g4s_0.j();
3013
- var tmp$ret$3 = element_0.u1e_1;
3040
+ var tmp$ret$3 = element_0.i1f_1;
3014
3041
  destination_0.a2(tmp$ret$3, element_0);
3015
3042
  }
3016
- var tmp_1 = plus(tmp_0, destination_0);
3043
+ var tmp_0 = destination_0;
3017
3044
  // Inline function 'kotlin.collections.associateBy' call
3018
- var this_2 = this.k1e_1;
3019
- var capacity_1 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_2, 10)), 16);
3045
+ var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination, 10)), 16);
3020
3046
  // Inline function 'kotlin.collections.associateByTo' call
3021
- var destination_1 = LinkedHashMap_init_$Create$(capacity_1);
3022
- var _iterator__ex2g4s_1 = this_2.h();
3047
+ var destination_1 = LinkedHashMap_init_$Create$(capacity_0);
3048
+ var _iterator__ex2g4s_1 = destination.h();
3023
3049
  while (_iterator__ex2g4s_1.i()) {
3024
3050
  var element_1 = _iterator__ex2g4s_1.j();
3025
- var tmp$ret$6 = element_1.r1e_1;
3051
+ var tmp$ret$6 = element_1.j1f_1;
3026
3052
  destination_1.a2(tmp$ret$6, element_1);
3027
3053
  }
3028
- var tmp_2 = plus(tmp_1, destination_1);
3054
+ var tmp_1 = plus(tmp_0, destination_1);
3029
3055
  // Inline function 'kotlin.collections.associateBy' call
3030
- var this_3 = this.k1e_1;
3031
- var capacity_2 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_3, 10)), 16);
3056
+ var capacity_1 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination, 10)), 16);
3032
3057
  // Inline function 'kotlin.collections.associateByTo' call
3033
- var destination_2 = LinkedHashMap_init_$Create$(capacity_2);
3034
- var _iterator__ex2g4s_2 = this_3.h();
3058
+ var destination_2 = LinkedHashMap_init_$Create$(capacity_1);
3059
+ var _iterator__ex2g4s_2 = destination.h();
3035
3060
  while (_iterator__ex2g4s_2.i()) {
3036
3061
  var element_2 = _iterator__ex2g4s_2.j();
3037
- var tmp$ret$9 = element_2.s1e_1;
3062
+ var tmp$ret$9 = element_2.g1f_1;
3038
3063
  destination_2.a2(tmp$ret$9, element_2);
3039
3064
  }
3040
- tmp.l1e_1 = plus(tmp_2, destination_2);
3041
- }
3042
- protoOf(Units).m1e = function (name) {
3043
- var unit = this.l1e_1.w1(name);
3065
+ var tmp_2 = plus(tmp_1, destination_2);
3066
+ // Inline function 'kotlin.collections.associateBy' call
3067
+ var capacity_2 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination, 10)), 16);
3068
+ // Inline function 'kotlin.collections.associateByTo' call
3069
+ var destination_3 = LinkedHashMap_init_$Create$(capacity_2);
3070
+ var _iterator__ex2g4s_3 = destination.h();
3071
+ while (_iterator__ex2g4s_3.i()) {
3072
+ var element_3 = _iterator__ex2g4s_3.j();
3073
+ var tmp$ret$12 = element_3.h1f_1;
3074
+ destination_3.a2(tmp$ret$12, element_3);
3075
+ }
3076
+ tmp.w1e_1 = plus(tmp_2, destination_3);
3077
+ var tmp_3 = this;
3078
+ // Inline function 'kotlin.collections.filter' call
3079
+ var tmp0_0 = this.v1e_1;
3080
+ // Inline function 'kotlin.collections.filterTo' call
3081
+ var destination_4 = ArrayList_init_$Create$_0();
3082
+ var _iterator__ex2g4s_4 = tmp0_0.h();
3083
+ while (_iterator__ex2g4s_4.i()) {
3084
+ var element_4 = _iterator__ex2g4s_4.j();
3085
+ if (element_4.l1f_1.l(Imperial_instance)) {
3086
+ destination_4.f(element_4);
3087
+ }
3088
+ }
3089
+ // Inline function 'kotlin.let' call
3090
+ // Inline function 'kotlin.collections.associateBy' call
3091
+ var capacity_3 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_4, 10)), 16);
3092
+ // Inline function 'kotlin.collections.associateByTo' call
3093
+ var destination_5 = LinkedHashMap_init_$Create$(capacity_3);
3094
+ var _iterator__ex2g4s_5 = destination_4.h();
3095
+ while (_iterator__ex2g4s_5.i()) {
3096
+ var element_5 = _iterator__ex2g4s_5.j();
3097
+ var tmp$ret$20 = element_5.i1f_1;
3098
+ destination_5.a2(tmp$ret$20, element_5);
3099
+ }
3100
+ var tmp_4 = destination_5;
3101
+ // Inline function 'kotlin.collections.associateBy' call
3102
+ var capacity_4 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_4, 10)), 16);
3103
+ // Inline function 'kotlin.collections.associateByTo' call
3104
+ var destination_6 = LinkedHashMap_init_$Create$(capacity_4);
3105
+ var _iterator__ex2g4s_6 = destination_4.h();
3106
+ while (_iterator__ex2g4s_6.i()) {
3107
+ var element_6 = _iterator__ex2g4s_6.j();
3108
+ var tmp$ret$23 = element_6.j1f_1;
3109
+ destination_6.a2(tmp$ret$23, element_6);
3110
+ }
3111
+ var tmp_5 = plus(tmp_4, destination_6);
3112
+ // Inline function 'kotlin.collections.associateBy' call
3113
+ var capacity_5 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_4, 10)), 16);
3114
+ // Inline function 'kotlin.collections.associateByTo' call
3115
+ var destination_7 = LinkedHashMap_init_$Create$(capacity_5);
3116
+ var _iterator__ex2g4s_7 = destination_4.h();
3117
+ while (_iterator__ex2g4s_7.i()) {
3118
+ var element_7 = _iterator__ex2g4s_7.j();
3119
+ var tmp$ret$26 = element_7.g1f_1;
3120
+ destination_7.a2(tmp$ret$26, element_7);
3121
+ }
3122
+ var tmp_6 = plus(tmp_5, destination_7);
3123
+ // Inline function 'kotlin.collections.associateBy' call
3124
+ var capacity_6 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_4, 10)), 16);
3125
+ // Inline function 'kotlin.collections.associateByTo' call
3126
+ var destination_8 = LinkedHashMap_init_$Create$(capacity_6);
3127
+ var _iterator__ex2g4s_8 = destination_4.h();
3128
+ while (_iterator__ex2g4s_8.i()) {
3129
+ var element_8 = _iterator__ex2g4s_8.j();
3130
+ var tmp$ret$29 = element_8.h1f_1;
3131
+ destination_8.a2(tmp$ret$29, element_8);
3132
+ }
3133
+ tmp_3.x1e_1 = plus(tmp_6, destination_8);
3134
+ var tmp_7 = this;
3135
+ // Inline function 'kotlin.collections.filter' call
3136
+ var tmp0_1 = this.v1e_1;
3137
+ // Inline function 'kotlin.collections.filterTo' call
3138
+ var destination_9 = ArrayList_init_$Create$_0();
3139
+ var _iterator__ex2g4s_9 = tmp0_1.h();
3140
+ while (_iterator__ex2g4s_9.i()) {
3141
+ var element_9 = _iterator__ex2g4s_9.j();
3142
+ if (element_9.l1f_1.l(USCustomary_instance)) {
3143
+ destination_9.f(element_9);
3144
+ }
3145
+ }
3146
+ // Inline function 'kotlin.let' call
3147
+ // Inline function 'kotlin.collections.associateBy' call
3148
+ var capacity_7 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_9, 10)), 16);
3149
+ // Inline function 'kotlin.collections.associateByTo' call
3150
+ var destination_10 = LinkedHashMap_init_$Create$(capacity_7);
3151
+ var _iterator__ex2g4s_10 = destination_9.h();
3152
+ while (_iterator__ex2g4s_10.i()) {
3153
+ var element_10 = _iterator__ex2g4s_10.j();
3154
+ var tmp$ret$37 = element_10.i1f_1;
3155
+ destination_10.a2(tmp$ret$37, element_10);
3156
+ }
3157
+ var tmp_8 = destination_10;
3158
+ // Inline function 'kotlin.collections.associateBy' call
3159
+ var capacity_8 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_9, 10)), 16);
3160
+ // Inline function 'kotlin.collections.associateByTo' call
3161
+ var destination_11 = LinkedHashMap_init_$Create$(capacity_8);
3162
+ var _iterator__ex2g4s_11 = destination_9.h();
3163
+ while (_iterator__ex2g4s_11.i()) {
3164
+ var element_11 = _iterator__ex2g4s_11.j();
3165
+ var tmp$ret$40 = element_11.j1f_1;
3166
+ destination_11.a2(tmp$ret$40, element_11);
3167
+ }
3168
+ var tmp_9 = plus(tmp_8, destination_11);
3169
+ // Inline function 'kotlin.collections.associateBy' call
3170
+ var capacity_9 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_9, 10)), 16);
3171
+ // Inline function 'kotlin.collections.associateByTo' call
3172
+ var destination_12 = LinkedHashMap_init_$Create$(capacity_9);
3173
+ var _iterator__ex2g4s_12 = destination_9.h();
3174
+ while (_iterator__ex2g4s_12.i()) {
3175
+ var element_12 = _iterator__ex2g4s_12.j();
3176
+ var tmp$ret$43 = element_12.g1f_1;
3177
+ destination_12.a2(tmp$ret$43, element_12);
3178
+ }
3179
+ var tmp_10 = plus(tmp_9, destination_12);
3180
+ // Inline function 'kotlin.collections.associateBy' call
3181
+ var capacity_10 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_9, 10)), 16);
3182
+ // Inline function 'kotlin.collections.associateByTo' call
3183
+ var destination_13 = LinkedHashMap_init_$Create$(capacity_10);
3184
+ var _iterator__ex2g4s_13 = destination_9.h();
3185
+ while (_iterator__ex2g4s_13.i()) {
3186
+ var element_13 = _iterator__ex2g4s_13.j();
3187
+ var tmp$ret$46 = element_13.h1f_1;
3188
+ destination_13.a2(tmp$ret$46, element_13);
3189
+ }
3190
+ tmp_7.y1e_1 = plus(tmp_10, destination_13);
3191
+ }
3192
+ protoOf(Units).z1e = function (name) {
3193
+ var tmp0_elvis_lhs = this.w1e_1.w1(name);
3194
+ var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.x1e_1.w1(name) : tmp0_elvis_lhs;
3195
+ var unit = tmp1_elvis_lhs == null ? this.y1e_1.w1(name) : tmp1_elvis_lhs;
3044
3196
  if (!(unit == null)) {
3045
3197
  return unit;
3046
3198
  } else {
3047
- return new Unit(name, name, name, name, null, null);
3199
+ // Inline function 'kotlin.collections.setOf' call
3200
+ var tmp$ret$0 = emptySet();
3201
+ return new MeasurementUnit(name, name, name, name, null, tmp$ret$0, 1.0);
3048
3202
  }
3049
3203
  };
3050
3204
  var Units_instance;
@@ -3065,71 +3219,111 @@
3065
3219
  UnitType_initEntries();
3066
3220
  return UnitType_LENGTH_instance;
3067
3221
  }
3068
- function UnitConversion() {
3069
- this.n1e_1 = 28.3495;
3070
- this.o1e_1 = 2.20462;
3071
- this.p1e_1 = 236.56;
3222
+ function UnitConversions() {
3223
+ UnitConversions_instance = this;
3224
+ this.a1f_1 = setOf_0([Units_getInstance().i1e_1, Units_getInstance().j1e_1, Units_getInstance().o1e_1]);
3225
+ this.b1f_1 = listOf([to(0.0, Units_getInstance().b1e_1), to(1000.0, Units_getInstance().c1e_1), to(0.0, Units_getInstance().f1e_1), to(2.5, Units_getInstance().i1e_1), to(15.0, Units_getInstance().j1e_1), to(125.0, Units_getInstance().o1e_1), to(1000.0, Units_getInstance().h1e_1), to(0.0, Units_getInstance().s1e_1), to(10.0, Units_getInstance().t1e_1)]);
3226
+ this.c1f_1 = listOf([to(0.0, Units_getInstance().b1e_1), to(1000.0, Units_getInstance().c1e_1), to(0.0, Units_getInstance().f1e_1), to(1000.0, Units_getInstance().h1e_1), to(0.0, Units_getInstance().s1e_1), to(10.0, Units_getInstance().t1e_1)]);
3227
+ this.d1f_1 = listOf([to(0.0, Units_getInstance().d1e_1), to(16.0 * Units_getInstance().d1e_1.m1f_1, Units_getInstance().e1e_1), to(0.0, Units_getInstance().k1e_1), to(3.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().l1e_1), to(12.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().n1e_1), to(192 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().q1e_1), to(768.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().r1e_1), to(0.0, Units_getInstance().u1e_1)]);
3228
+ this.e1f_1 = listOf([to(0.0, Units_getInstance().d1e_1), to(16.0 * Units_getInstance().d1e_1.m1f_1, Units_getInstance().e1e_1), to(0.0, Units_getInstance().k1e_1), to(3.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().l1e_1), to(6.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().m1e_1), to(768.0 * Units_getInstance().k1e_1.m1f_1, Units_getInstance().r1e_1), to(0.0, Units_getInstance().u1e_1)]);
3072
3229
  }
3073
- protoOf(UnitConversion).q1e = function (amount, target) {
3074
- if (amount.o1d_1 == null || equals(amount.o1d_1.w1e_1, target) || equals(target, Metric_instance)) {
3075
- return amount;
3076
- }
3230
+ protoOf(UnitConversions).p1j = function (amount) {
3077
3231
  var tmp;
3078
- if (amount.p1d_1 === true) {
3079
- var tmp_0;
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);
3232
+ if (!(amount.t1d_1 == null)) {
3233
+ var tmp_0 = amount.r1d_1 * amount.t1d_1.m1f_1;
3234
+ var tmp0_safe_receiver = amount.s1d_1;
3235
+ var tmp_1;
3236
+ if (tmp0_safe_receiver == null) {
3237
+ tmp_1 = null;
3092
3238
  } else {
3093
- tmp_0 = amount;
3239
+ // Inline function 'kotlin.let' call
3240
+ tmp_1 = tmp0_safe_receiver * amount.t1d_1.m1f_1;
3094
3241
  }
3095
- tmp = tmp_0;
3242
+ var tmp_2 = tmp_1;
3243
+ var tmp1_subject = amount.t1d_1.k1f_1;
3244
+ var tmp0 = tmp1_subject == null ? -1 : tmp1_subject.e2_1;
3245
+ tmp = amount.w1d(tmp_0, tmp_2, tmp0 === 2 ? Units_getInstance().s1e_1 : tmp0 === 1 ? Units_getInstance().f1e_1 : tmp0 === 0 ? Units_getInstance().b1e_1 : amount.t1d_1);
3096
3246
  } 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;
3247
+ tmp = amount;
3248
+ }
3249
+ return tmp;
3250
+ };
3251
+ protoOf(UnitConversions).f1f = function (amount, target, factor) {
3252
+ var tmp = amount.r1d_1 * factor;
3253
+ var tmp0_safe_receiver = amount.s1d_1;
3254
+ var tmp_0;
3255
+ if (tmp0_safe_receiver == null) {
3256
+ tmp_0 = null;
3257
+ } else {
3258
+ // Inline function 'kotlin.let' call
3259
+ tmp_0 = tmp0_safe_receiver * factor;
3260
+ }
3261
+ var scaledAmount = amount.w1d(tmp, tmp_0);
3262
+ if (scaledAmount.t1d_1 == null || (equals(target, Metric_instance) && factor === 1.0)) {
3263
+ return scaledAmount;
3264
+ }
3265
+ var smallestUnitAmount = this.p1j(scaledAmount);
3266
+ var tmp_1;
3267
+ if (equals(target, Metric_instance)) {
3268
+ tmp_1 = contains(this.a1f_1, amount.t1d_1) ? this.b1f_1 : this.c1f_1;
3269
+ } else if (equals(target, USCustomary_instance)) {
3270
+ tmp_1 = amount.u1d_1 === true ? this.d1f_1 : this.e1f_1;
3271
+ } else if (equals(target, Imperial_instance)) {
3272
+ tmp_1 = this.e1f_1;
3273
+ } else {
3274
+ noWhenBranchMatchedException();
3275
+ }
3276
+ var ladder = tmp_1;
3277
+ // Inline function 'kotlin.collections.filter' call
3278
+ // Inline function 'kotlin.collections.filterTo' call
3279
+ var destination = ArrayList_init_$Create$_0();
3280
+ var _iterator__ex2g4s = ladder.h();
3281
+ while (_iterator__ex2g4s.i()) {
3282
+ var element = _iterator__ex2g4s.j();
3283
+ var tmp0_safe_receiver_0 = amount.t1d_1;
3284
+ if (equals(element.id_1.k1f_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.k1f_1)) {
3285
+ destination.f(element);
3286
+ }
3287
+ }
3288
+ var tmp$ret$6;
3289
+ $l$block: {
3290
+ // Inline function 'kotlin.collections.lastOrNull' call
3291
+ var iterator = destination.q1(destination.k());
3292
+ while (iterator.n3()) {
3293
+ var element_0 = iterator.p3();
3294
+ if (smallestUnitAmount.r1d_1 >= element_0.hd_1) {
3295
+ tmp$ret$6 = element_0;
3296
+ break $l$block;
3120
3297
  }
3121
- var maxPounds = tmp_4;
3122
- tmp_2 = new Amount(minPounds, maxPounds, Units_getInstance().z1d_1);
3298
+ }
3299
+ tmp$ret$6 = null;
3300
+ }
3301
+ var tmp2_safe_receiver = tmp$ret$6;
3302
+ var mostRelevantUnit = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.id_1;
3303
+ var tmp_2;
3304
+ if (mostRelevantUnit == null) {
3305
+ tmp_2 = null;
3306
+ } else {
3307
+ // Inline function 'kotlin.let' call
3308
+ var tmp_3 = smallestUnitAmount.r1d_1 / mostRelevantUnit.m1f_1;
3309
+ var tmp0_safe_receiver_1 = smallestUnitAmount.s1d_1;
3310
+ var tmp_4;
3311
+ if (tmp0_safe_receiver_1 == null) {
3312
+ tmp_4 = null;
3123
3313
  } else {
3124
- tmp_2 = amount;
3314
+ // Inline function 'kotlin.let' call
3315
+ tmp_4 = tmp0_safe_receiver_1 / mostRelevantUnit.m1f_1;
3125
3316
  }
3126
- tmp = tmp_2;
3317
+ tmp_2 = new Amount(tmp_3, tmp_4, mostRelevantUnit);
3127
3318
  }
3128
- return tmp;
3319
+ var tmp4_elvis_lhs = tmp_2;
3320
+ return tmp4_elvis_lhs == null ? smallestUnitAmount : tmp4_elvis_lhs;
3129
3321
  };
3130
- var UnitConversion_instance;
3131
- function UnitConversion_getInstance() {
3132
- return UnitConversion_instance;
3322
+ var UnitConversions_instance;
3323
+ function UnitConversions_getInstance() {
3324
+ if (UnitConversions_instance == null)
3325
+ new UnitConversions();
3326
+ return UnitConversions_instance;
3133
3327
  }
3134
3328
  function get_tolerantJson_0() {
3135
3329
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
@@ -3141,11 +3335,11 @@
3141
3335
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
3142
3336
  var this_0 = get_tolerantJson_0();
3143
3337
  // Inline function 'kotlinx.serialization.serializer' call
3144
- var this_1 = this_0.im();
3338
+ var this_1 = this_0.nm();
3145
3339
  // Inline function 'kotlinx.serialization.internal.cast' call
3146
3340
  var this_2 = serializer(this_1, createKType(getKClass(RecipeV3), arrayOf([]), false));
3147
3341
  var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
3148
- var parsedRecipe = this_0.f12(tmp$ret$1, recipe);
3342
+ var parsedRecipe = this_0.k12(tmp$ret$1, recipe);
3149
3343
  var tmp;
3150
3344
  switch (unit) {
3151
3345
  case 'Imperial':
@@ -3162,16 +3356,16 @@
3162
3356
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
3163
3357
  var this_3 = Default_getInstance();
3164
3358
  // Inline function 'kotlinx.serialization.serializer' call
3165
- var this_4 = this_3.im();
3359
+ var this_4 = this_3.nm();
3166
3360
  // Inline function 'kotlinx.serialization.internal.cast' call
3167
3361
  var this_5 = serializer(this_4, createKType(getKClass(RecipeV3), arrayOf([]), false));
3168
3362
  var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
3169
- return this_3.e12(tmp$ret$4, scaledRecipe);
3363
+ return this_3.j12(tmp$ret$4, scaledRecipe);
3170
3364
  }
3171
3365
  function parseTemplate_0(templateString) {
3172
3366
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
3173
3367
  var parsedTemplate = parseTemplate(templateString);
3174
- return parsedTemplate.x1e_1;
3368
+ return parsedTemplate.n1f_1;
3175
3369
  }
3176
3370
  function renderTemplate_0(templateElements) {
3177
3371
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
@@ -3180,7 +3374,7 @@
3180
3374
  }
3181
3375
  function tolerantJson$lambda_0($this$Json) {
3182
3376
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
3183
- $this$Json.z12_1 = true;
3377
+ $this$Json.e13_1 = true;
3184
3378
  return Unit_instance;
3185
3379
  }
3186
3380
  var properties_initialized_ScaleRecipeJsContract_kt_yki7mr;
@@ -3191,17 +3385,17 @@
3191
3385
  }
3192
3386
  }
3193
3387
  //region block: post-declaration
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;
3388
+ protoOf($serializer).kt = typeParametersSerializers;
3389
+ protoOf($serializer_0).kt = typeParametersSerializers;
3390
+ protoOf($serializer_1).kt = typeParametersSerializers;
3391
+ protoOf($serializer_2).kt = typeParametersSerializers;
3392
+ protoOf($serializer_3).kt = typeParametersSerializers;
3393
+ protoOf($serializer_4).kt = typeParametersSerializers;
3394
+ protoOf($serializer_5).kt = typeParametersSerializers;
3395
+ protoOf($serializer_6).kt = typeParametersSerializers;
3396
+ protoOf($serializer_7).kt = typeParametersSerializers;
3397
+ protoOf($serializer_8).kt = typeParametersSerializers;
3398
+ protoOf($serializer_9).kt = typeParametersSerializers;
3205
3399
  //endregion
3206
3400
  //region block: init
3207
3401
  Companion_instance_1 = new Companion_1();
@@ -3211,7 +3405,7 @@
3211
3405
  Companion_instance_6 = new Companion_6();
3212
3406
  Imperial_instance = new Imperial();
3213
3407
  Metric_instance = new Metric();
3214
- UnitConversion_instance = new UnitConversion();
3408
+ USCustomary_instance = new USCustomary();
3215
3409
  //endregion
3216
3410
  //region block: exports
3217
3411
  function $jsExportAll$(_) {