@doordeck/doordeck-headless-sdk 0.209.0 → 0.211.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.
@@ -1,78 +1,74 @@
1
1
  (function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_ktor_ktor_io, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_io_ktor_ktor_serialization) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j3;
5
- var Unit_instance = kotlin_kotlin.$_$.z2;
6
- var CoroutineImpl = kotlin_kotlin.$_$.s9;
7
- var protoOf = kotlin_kotlin.$_$.hc;
8
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.b9;
9
- var initMetadataForLambda = kotlin_kotlin.$_$.pb;
4
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n3;
5
+ var Unit_instance = kotlin_kotlin.$_$.c3;
6
+ var CoroutineImpl = kotlin_kotlin.$_$.y9;
7
+ var protoOf = kotlin_kotlin.$_$.nc;
8
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.h9;
9
+ var initMetadataForLambda = kotlin_kotlin.$_$.vb;
10
10
  var VOID = kotlin_kotlin.$_$.c;
11
- var constructCallableReference = kotlin_kotlin.$_$.ab;
12
- var initMetadataForCoroutine = kotlin_kotlin.$_$.mb;
13
- var toString = kotlin_kotlin.$_$.kc;
14
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s4;
15
- var THROW_CCE = kotlin_kotlin.$_$.jg;
16
- var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
17
- var isInterface = kotlin_kotlin.$_$.zb;
11
+ var constructCallableReference = kotlin_kotlin.$_$.gb;
12
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.sb;
13
+ var toString = kotlin_kotlin.$_$.qc;
14
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w4;
15
+ var THROW_CCE = kotlin_kotlin.$_$.pg;
16
+ var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
17
+ var isInterface = kotlin_kotlin.$_$.fc;
18
18
  var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
19
- var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
20
- var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.a2;
19
+ var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
20
+ var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.z1;
21
21
  var TextContent = kotlin_io_ktor_ktor_http.$_$.x;
22
- var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
23
- var equals = kotlin_kotlin.$_$.cb;
24
- var FunctionAdapter = kotlin_kotlin.$_$.oa;
25
- var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
26
- var hashCode = kotlin_kotlin.$_$.jb;
27
- var initMetadataForClass = kotlin_kotlin.$_$.kb;
22
+ var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
23
+ var equals = kotlin_kotlin.$_$.ib;
24
+ var FunctionAdapter = kotlin_kotlin.$_$.ua;
25
+ var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
26
+ var hashCode = kotlin_kotlin.$_$.pb;
27
+ var initMetadataForClass = kotlin_kotlin.$_$.qb;
28
28
  var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
29
- var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
29
+ var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f1;
30
30
  var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
31
- var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
31
+ var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
32
32
  var readRemaining = kotlin_io_ktor_ktor_io.$_$.k;
33
- var discard = kotlin_io_ktor_ktor_io.$_$.a1;
33
+ var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.l1;
34
+ var discard = kotlin_io_ktor_ktor_io.$_$.z;
34
35
  var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
35
- var readText = kotlin_io_ktor_ktor_io.$_$.b1;
36
+ var readText = kotlin_io_ktor_ktor_io.$_$.a1;
36
37
  var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
37
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o4;
38
- var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
39
- var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x2;
40
- var getKClassFromExpression = kotlin_kotlin.$_$.zc;
38
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s4;
39
+ var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x2;
40
+ var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y2;
41
+ var getKClassFromExpression = kotlin_kotlin.$_$.fd;
41
42
  var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
42
- var KtMap = kotlin_kotlin.$_$.q5;
43
+ var KtMap = kotlin_kotlin.$_$.u5;
43
44
  var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
44
- var KtSet = kotlin_kotlin.$_$.w5;
45
- var firstOrNull_0 = kotlin_kotlin.$_$.d7;
46
- var StringCompanionObject_instance = kotlin_kotlin.$_$.l2;
45
+ var KtSet = kotlin_kotlin.$_$.a6;
46
+ var firstOrNull_0 = kotlin_kotlin.$_$.h7;
47
+ var StringCompanionObject_instance = kotlin_kotlin.$_$.o2;
47
48
  var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
48
49
  var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
49
- var isArray = kotlin_kotlin.$_$.rb;
50
- var KtList = kotlin_kotlin.$_$.n5;
50
+ var isArray = kotlin_kotlin.$_$.xb;
51
+ var KtList = kotlin_kotlin.$_$.r5;
51
52
  var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
52
- var Exception = kotlin_kotlin.$_$.cg;
53
- var joinToString = kotlin_kotlin.$_$.m7;
54
- var to = kotlin_kotlin.$_$.nh;
53
+ var Exception = kotlin_kotlin.$_$.ig;
54
+ var joinToString = kotlin_kotlin.$_$.q7;
55
+ var to = kotlin_kotlin.$_$.th;
55
56
  var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
56
- var filterNotNull = kotlin_kotlin.$_$.b7;
57
- var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
58
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i3;
59
- var HashSet_init_$Create$ = kotlin_kotlin.$_$.p3;
60
- var singleOrNull = kotlin_kotlin.$_$.g8;
61
- var Collection = kotlin_kotlin.$_$.i5;
62
- var KClass = kotlin_kotlin.$_$.cd;
63
- var emptyList = kotlin_kotlin.$_$.w6;
57
+ var filterNotNull = kotlin_kotlin.$_$.f7;
58
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
59
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m3;
60
+ var HashSet_init_$Create$ = kotlin_kotlin.$_$.t3;
61
+ var singleOrNull = kotlin_kotlin.$_$.m8;
62
+ var Collection = kotlin_kotlin.$_$.m5;
63
+ var KClass = kotlin_kotlin.$_$.id;
64
+ var emptyList = kotlin_kotlin.$_$.a7;
64
65
  //endregion
65
66
  //region block: pre-declaration
66
67
  initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
67
68
  initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
68
- initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
69
- initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
70
69
  initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
71
- initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
72
70
  initMetadataForClass(KotlinxSerializationConverter$serialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
73
71
  initMetadataForLambda(KotlinxSerializationConverter$serialize$slambda, CoroutineImpl, VOID, [1]);
74
- initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
75
- initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
76
72
  initMetadataForCoroutine($serializeCOROUTINE$, CoroutineImpl);
77
73
  initMetadataForCoroutine($deserializeCOROUTINE$, CoroutineImpl);
78
74
  initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, VOID, [4, 3]);
@@ -86,7 +82,7 @@
86
82
  var _iterator__ex2g4s = tmp0.t();
87
83
  while (_iterator__ex2g4s.u()) {
88
84
  var element = _iterator__ex2g4s.v();
89
- var tmp0_safe_receiver = element.g63(format);
85
+ var tmp0_safe_receiver = element.w63(format);
90
86
  if (tmp0_safe_receiver == null)
91
87
  null;
92
88
  else {
@@ -97,24 +93,24 @@
97
93
  return destination;
98
94
  }
99
95
  function serialization(_this__u8e3s4, contentType, format) {
100
- _this__u8e3s4.r3n(contentType, new KotlinxSerializationConverter(format));
96
+ _this__u8e3s4.h3o(contentType, new KotlinxSerializationConverter(format));
101
97
  }
102
98
  function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
103
- this.p63_1 = $$this$unsafeFlow;
104
- this.q63_1 = $contentType;
105
- this.r63_1 = $charset;
106
- this.s63_1 = $typeInfo;
107
- this.t63_1 = $value;
99
+ this.f64_1 = $$this$unsafeFlow;
100
+ this.g64_1 = $contentType;
101
+ this.h64_1 = $charset;
102
+ this.i64_1 = $typeInfo;
103
+ this.j64_1 = $value;
108
104
  CoroutineImpl.call(this, resultContinuation);
109
105
  }
110
- protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).h3o = function (value, $completion) {
111
- var tmp = this.i3o(value, $completion);
106
+ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).x3o = function (value, $completion) {
107
+ var tmp = this.y3o(value, $completion);
112
108
  tmp.f9_1 = Unit_instance;
113
109
  tmp.g9_1 = null;
114
110
  return tmp.l9();
115
111
  };
116
112
  protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).y9 = function (p1, $completion) {
117
- return this.h3o(p1, $completion);
113
+ return this.x3o(p1, $completion);
118
114
  };
119
115
  protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l9 = function () {
120
116
  var suspendResult = this.f9_1;
@@ -124,11 +120,11 @@
124
120
  switch (tmp) {
125
121
  case 0:
126
122
  this.e9_1 = 3;
127
- var tmp0 = this.p63_1;
128
- var tmp2 = this.u63_1;
129
- this.v63_1 = tmp0;
123
+ var tmp0 = this.f64_1;
124
+ var tmp2 = this.k64_1;
125
+ this.l64_1 = tmp0;
130
126
  this.d9_1 = 1;
131
- suspendResult = tmp2.l5r(this.q63_1, this.r63_1, this.s63_1, this.t63_1, this);
127
+ suspendResult = tmp2.b5s(this.g64_1, this.h64_1, this.i64_1, this.j64_1, this);
132
128
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
133
129
  return suspendResult;
134
130
  }
@@ -137,7 +133,7 @@
137
133
  case 1:
138
134
  var ARGUMENT = suspendResult;
139
135
  this.d9_1 = 2;
140
- suspendResult = this.v63_1.y1e(ARGUMENT, this);
136
+ suspendResult = this.l64_1.y1e(ARGUMENT, this);
141
137
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
142
138
  return suspendResult;
143
139
  }
@@ -159,21 +155,21 @@
159
155
  }
160
156
  while (true);
161
157
  };
162
- protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).i3o = function (value, completion) {
163
- var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.p63_1, this.q63_1, this.r63_1, this.s63_1, this.t63_1, completion);
164
- i.u63_1 = value;
158
+ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).y3o = function (value, completion) {
159
+ var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.f64_1, this.g64_1, this.h64_1, this.i64_1, this.j64_1, completion);
160
+ i.k64_1 = value;
165
161
  return i;
166
162
  };
167
163
  function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
168
164
  var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
169
165
  return constructCallableReference(function (value, $completion) {
170
- return i.h3o(value, $completion);
166
+ return i.x3o(value, $completion);
171
167
  }, 1);
172
168
  }
173
169
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
174
170
  CoroutineImpl.call(this, resultContinuation);
175
- this.e64_1 = _this__u8e3s4;
176
- this.f64_1 = collector;
171
+ this.u64_1 = _this__u8e3s4;
172
+ this.v64_1 = collector;
177
173
  }
178
174
  protoOf($collectCOROUTINE$).l9 = function () {
179
175
  var suspendResult = this.f9_1;
@@ -183,118 +179,10 @@
183
179
  switch (tmp) {
184
180
  case 0:
185
181
  this.e9_1 = 2;
186
- var $this$unsafeFlow = this.f64_1;
182
+ var $this$unsafeFlow = this.v64_1;
187
183
  this.d9_1 = 1;
188
- var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.e64_1.h64_1, this.e64_1.i64_1, this.e64_1.j64_1, this.e64_1.k64_1, null);
189
- suspendResult = this.e64_1.g64_1.a1f(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
190
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
191
- return suspendResult;
192
- }
193
-
194
- continue $sm;
195
- case 1:
196
- return Unit_instance;
197
- case 2:
198
- throw this.g9_1;
199
- }
200
- } catch ($p) {
201
- var e = $p;
202
- if (this.e9_1 === 2) {
203
- throw e;
204
- } else {
205
- this.d9_1 = this.e9_1;
206
- this.g9_1 = e;
207
- }
208
- }
209
- while (true);
210
- };
211
- function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
212
- this.t64_1 = $$this$unsafeFlow;
213
- this.u64_1 = $charset;
214
- this.v64_1 = $typeInfo;
215
- this.w64_1 = $content;
216
- CoroutineImpl.call(this, resultContinuation);
217
- }
218
- protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h3o = function (value, $completion) {
219
- var tmp = this.i3o(value, $completion);
220
- tmp.f9_1 = Unit_instance;
221
- tmp.g9_1 = null;
222
- return tmp.l9();
223
- };
224
- protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).y9 = function (p1, $completion) {
225
- return this.h3o(p1, $completion);
226
- };
227
- protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l9 = function () {
228
- var suspendResult = this.f9_1;
229
- $sm: do
230
- try {
231
- var tmp = this.d9_1;
232
- switch (tmp) {
233
- case 0:
234
- this.e9_1 = 3;
235
- var tmp0 = this.t64_1;
236
- var tmp2 = this.x64_1;
237
- this.y64_1 = tmp0;
238
- this.d9_1 = 1;
239
- suspendResult = tmp2.j3o(this.u64_1, this.v64_1, this.w64_1, this);
240
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
241
- return suspendResult;
242
- }
243
-
244
- continue $sm;
245
- case 1:
246
- var ARGUMENT = suspendResult;
247
- this.d9_1 = 2;
248
- suspendResult = this.y64_1.y1e(ARGUMENT, this);
249
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
250
- return suspendResult;
251
- }
252
-
253
- continue $sm;
254
- case 2:
255
- return Unit_instance;
256
- case 3:
257
- throw this.g9_1;
258
- }
259
- } catch ($p) {
260
- var e = $p;
261
- if (this.e9_1 === 3) {
262
- throw e;
263
- } else {
264
- this.d9_1 = this.e9_1;
265
- this.g9_1 = e;
266
- }
267
- }
268
- while (true);
269
- };
270
- protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i3o = function (value, completion) {
271
- var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.t64_1, this.u64_1, this.v64_1, this.w64_1, completion);
272
- i.x64_1 = value;
273
- return i;
274
- };
275
- function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
276
- var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
277
- return constructCallableReference(function (value, $completion) {
278
- return i.h3o(value, $completion);
279
- }, 1);
280
- }
281
- function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
282
- CoroutineImpl.call(this, resultContinuation);
283
- this.h65_1 = _this__u8e3s4;
284
- this.i65_1 = collector;
285
- }
286
- protoOf($collectCOROUTINE$_0).l9 = function () {
287
- var suspendResult = this.f9_1;
288
- $sm: do
289
- try {
290
- var tmp = this.d9_1;
291
- switch (tmp) {
292
- case 0:
293
- this.e9_1 = 2;
294
- var $this$unsafeFlow = this.i65_1;
295
- this.d9_1 = 1;
296
- var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.h65_1.k65_1, this.h65_1.l65_1, this.h65_1.m65_1, null);
297
- suspendResult = this.h65_1.j65_1.a1f(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
184
+ var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.u64_1.x64_1, this.u64_1.y64_1, this.u64_1.z64_1, this.u64_1.a65_1, null);
185
+ suspendResult = this.u64_1.w64_1.a1f(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
298
186
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
299
187
  return suspendResult;
300
188
  }
@@ -319,11 +207,11 @@
319
207
  function serializeContent($this, serializer, format, value, contentType, charset) {
320
208
  var tmp;
321
209
  if (isInterface(format, StringFormat)) {
322
- var content = format.i21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
210
+ var content = format.h21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
323
211
  tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
324
212
  } else {
325
213
  if (isInterface(format, BinaryFormat)) {
326
- var content_0 = format.k21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
214
+ var content_0 = format.j21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
327
215
  tmp = new ByteArrayContent(content_0, contentType);
328
216
  } else {
329
217
  // Inline function 'kotlin.error' call
@@ -334,13 +222,13 @@
334
222
  return tmp;
335
223
  }
336
224
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
337
- this.n65_1 = function_0;
225
+ this.b65_1 = function_0;
338
226
  }
339
227
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).y1e = function (value, $completion) {
340
- return this.n65_1(value, $completion);
228
+ return this.b65_1(value, $completion);
341
229
  };
342
230
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
343
- return this.n65_1;
231
+ return this.b65_1;
344
232
  };
345
233
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
346
234
  var tmp;
@@ -360,39 +248,12 @@
360
248
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
361
249
  return hashCode(this.q3());
362
250
  };
363
- function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
364
- this.o65_1 = function_0;
365
- }
366
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).y1e = function (value, $completion) {
367
- return this.o65_1(value, $completion);
368
- };
369
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
370
- return this.o65_1;
371
- };
372
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
373
- var tmp;
374
- if (!(other == null) ? isInterface(other, FlowCollector) : false) {
375
- var tmp_0;
376
- if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
377
- tmp_0 = equals(this.q3(), other.q3());
378
- } else {
379
- tmp_0 = false;
380
- }
381
- tmp = tmp_0;
382
- } else {
383
- tmp = false;
384
- }
385
- return tmp;
386
- };
387
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
388
- return hashCode(this.q3());
389
- };
390
251
  function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
391
- this.g64_1 = $this;
392
- this.h64_1 = $contentType;
393
- this.i64_1 = $charset;
394
- this.j64_1 = $typeInfo;
395
- this.k64_1 = $value;
252
+ this.w64_1 = $this;
253
+ this.x64_1 = $contentType;
254
+ this.y64_1 = $charset;
255
+ this.z64_1 = $typeInfo;
256
+ this.a65_1 = $value;
396
257
  }
397
258
  protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).z1e = function (collector, $completion) {
398
259
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
@@ -406,14 +267,14 @@
406
267
  function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
407
268
  CoroutineImpl.call(this, resultContinuation);
408
269
  }
409
- protoOf(KotlinxSerializationConverter$serialize$slambda).y65 = function (it, $completion) {
410
- var tmp = this.z65(it, $completion);
270
+ protoOf(KotlinxSerializationConverter$serialize$slambda).l65 = function (it, $completion) {
271
+ var tmp = this.m65(it, $completion);
411
272
  tmp.f9_1 = Unit_instance;
412
273
  tmp.g9_1 = null;
413
274
  return tmp.l9();
414
275
  };
415
276
  protoOf(KotlinxSerializationConverter$serialize$slambda).y9 = function (p1, $completion) {
416
- return this.y65((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
277
+ return this.l65((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
417
278
  };
418
279
  protoOf(KotlinxSerializationConverter$serialize$slambda).l9 = function () {
419
280
  var suspendResult = this.f9_1;
@@ -422,7 +283,7 @@
422
283
  var tmp = this.d9_1;
423
284
  if (tmp === 0) {
424
285
  this.e9_1 = 1;
425
- return !(this.x65_1 == null);
286
+ return !(this.k65_1 == null);
426
287
  } else if (tmp === 1) {
427
288
  throw this.g9_1;
428
289
  }
@@ -432,80 +293,24 @@
432
293
  }
433
294
  while (true);
434
295
  };
435
- protoOf(KotlinxSerializationConverter$serialize$slambda).z65 = function (it, completion) {
296
+ protoOf(KotlinxSerializationConverter$serialize$slambda).m65 = function (it, completion) {
436
297
  var i = new KotlinxSerializationConverter$serialize$slambda(completion);
437
- i.x65_1 = it;
298
+ i.k65_1 = it;
438
299
  return i;
439
300
  };
440
301
  function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
441
302
  var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
442
303
  return constructCallableReference(function (it, $completion) {
443
- return i.y65(it, $completion);
444
- }, 1);
445
- }
446
- function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
447
- this.j65_1 = $this;
448
- this.k65_1 = $charset;
449
- this.l65_1 = $typeInfo;
450
- this.m65_1 = $content;
451
- }
452
- protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).z1e = function (collector, $completion) {
453
- var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
454
- tmp.f9_1 = Unit_instance;
455
- tmp.g9_1 = null;
456
- return tmp.l9();
457
- };
458
- protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).a1f = function (collector, $completion) {
459
- return this.z1e(collector, $completion);
460
- };
461
- function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
462
- this.i66_1 = $content;
463
- CoroutineImpl.call(this, resultContinuation);
464
- }
465
- protoOf(KotlinxSerializationConverter$deserialize$slambda).i3p = function (it, $completion) {
466
- var tmp = this.i3o(it, $completion);
467
- tmp.f9_1 = Unit_instance;
468
- tmp.g9_1 = null;
469
- return tmp.l9();
470
- };
471
- protoOf(KotlinxSerializationConverter$deserialize$slambda).y9 = function (p1, $completion) {
472
- return this.i3p(p1, $completion);
473
- };
474
- protoOf(KotlinxSerializationConverter$deserialize$slambda).l9 = function () {
475
- var suspendResult = this.f9_1;
476
- $sm: do
477
- try {
478
- var tmp = this.d9_1;
479
- if (tmp === 0) {
480
- this.e9_1 = 1;
481
- return !(this.j66_1 == null) || this.i66_1.b1p();
482
- } else if (tmp === 1) {
483
- throw this.g9_1;
484
- }
485
- } catch ($p) {
486
- var e = $p;
487
- throw e;
488
- }
489
- while (true);
490
- };
491
- protoOf(KotlinxSerializationConverter$deserialize$slambda).i3o = function (it, completion) {
492
- var i = new KotlinxSerializationConverter$deserialize$slambda(this.i66_1, completion);
493
- i.j66_1 = it;
494
- return i;
495
- };
496
- function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
497
- var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
498
- return constructCallableReference(function (it, $completion) {
499
- return i.i3p(it, $completion);
304
+ return i.l65(it, $completion);
500
305
  }, 1);
501
306
  }
502
307
  function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
503
308
  CoroutineImpl.call(this, resultContinuation);
504
- this.s66_1 = _this__u8e3s4;
505
- this.t66_1 = contentType;
506
- this.u66_1 = charset;
507
- this.v66_1 = typeInfo;
508
- this.w66_1 = value;
309
+ this.v65_1 = _this__u8e3s4;
310
+ this.w65_1 = contentType;
311
+ this.x65_1 = charset;
312
+ this.y65_1 = typeInfo;
313
+ this.z65_1 = value;
509
314
  }
510
315
  protoOf($serializeCOROUTINE$).l9 = function () {
511
316
  var suspendResult = this.f9_1;
@@ -516,8 +321,8 @@
516
321
  case 0:
517
322
  this.e9_1 = 2;
518
323
  this.d9_1 = 1;
519
- var this_0 = asFlow(this.s66_1.y66_1);
520
- var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.t66_1, this.u66_1, this.v66_1, this.w66_1);
324
+ var this_0 = asFlow(this.v65_1.b66_1);
325
+ var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.w65_1, this.x65_1, this.y65_1, this.z65_1);
521
326
  suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
522
327
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
523
328
  return suspendResult;
@@ -530,12 +335,12 @@
530
335
  return fromExtension;
531
336
  var tmp_1;
532
337
  try {
533
- tmp_1 = serializerForTypeInfo(this.s66_1.x66_1.j24(), this.v66_1);
338
+ tmp_1 = serializerForTypeInfo(this.v65_1.a66_1.i24(), this.y65_1);
534
339
  } catch ($p) {
535
340
  var tmp_2;
536
341
  if ($p instanceof SerializationException) {
537
342
  var cause = $p;
538
- tmp_2 = guessSerializer(this.w66_1, this.s66_1.x66_1.j24());
343
+ tmp_2 = guessSerializer(this.z65_1, this.v65_1.a66_1.i24());
539
344
  } else {
540
345
  throw $p;
541
346
  }
@@ -543,7 +348,7 @@
543
348
  }
544
349
 
545
350
  var serializer = tmp_1;
546
- return serializeContent(this.s66_1, serializer, this.s66_1.x66_1, this.w66_1, this.t66_1, this.u66_1);
351
+ return serializeContent(this.v65_1, serializer, this.v65_1.a66_1, this.z65_1, this.w65_1, this.x65_1);
547
352
  case 2:
548
353
  throw this.g9_1;
549
354
  }
@@ -560,10 +365,10 @@
560
365
  };
561
366
  function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
562
367
  CoroutineImpl.call(this, resultContinuation);
563
- this.h67_1 = _this__u8e3s4;
564
- this.i67_1 = charset;
565
- this.j67_1 = typeInfo;
566
- this.k67_1 = content;
368
+ this.k66_1 = _this__u8e3s4;
369
+ this.l66_1 = charset;
370
+ this.m66_1 = typeInfo;
371
+ this.n66_1 = content;
567
372
  }
568
373
  protoOf($deserializeCOROUTINE$).l9 = function () {
569
374
  var suspendResult = this.f9_1;
@@ -572,69 +377,81 @@
572
377
  var tmp = this.d9_1;
573
378
  switch (tmp) {
574
379
  case 0:
575
- this.e9_1 = 4;
380
+ this.e9_1 = 7;
576
381
  this.d9_1 = 1;
577
- var this_0 = asFlow(this.h67_1.y66_1);
578
- var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.i67_1, this.j67_1, this.k67_1);
579
- suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.k67_1, null), this);
382
+ suspendResult = readRemaining(this.n66_1, this);
580
383
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
581
384
  return suspendResult;
582
385
  }
583
386
 
584
387
  continue $sm;
585
388
  case 1:
586
- var fromExtension = suspendResult;
587
- var tmp_1;
588
- if (!this.h67_1.y66_1.r()) {
589
- tmp_1 = !(fromExtension == null) || this.k67_1.b1p();
590
- } else {
591
- tmp_1 = false;
389
+ this.o66_1 = suspendResult;
390
+ this.q66_1 = this.k66_1.b66_1.t();
391
+ this.d9_1 = 2;
392
+ continue $sm;
393
+ case 2:
394
+ if (!this.q66_1.u()) {
395
+ this.d9_1 = 5;
396
+ continue $sm;
592
397
  }
593
398
 
594
- if (tmp_1)
595
- return fromExtension;
596
- this.l67_1 = serializerForTypeInfo(this.h67_1.x66_1.j24(), this.j67_1);
597
- this.d9_1 = 2;
598
- suspendResult = readRemaining(this.k67_1, this);
399
+ var ext = this.q66_1.v();
400
+ this.d9_1 = 3;
401
+ suspendResult = ext.z3o(this.l66_1, this.m66_1, ByteReadChannel(this.o66_1), this);
599
402
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
600
403
  return suspendResult;
601
404
  }
602
405
 
603
406
  continue $sm;
604
- case 2:
605
- var contentPacket = suspendResult;
606
- this.e9_1 = 3;
607
- var tmp0_subject = this.h67_1.x66_1;
608
- var tmp_2;
609
- if (isInterface(tmp0_subject, StringFormat)) {
610
- tmp_2 = this.h67_1.x66_1.j21(this.l67_1, readText(contentPacket, this.i67_1));
407
+ case 3:
408
+ var tmp0_elvis_lhs = suspendResult;
409
+ if (tmp0_elvis_lhs == null) {
410
+ this.d9_1 = 2;
411
+ var tmp_0 = this;
412
+ continue $sm;
611
413
  } else {
612
- if (isInterface(tmp0_subject, BinaryFormat)) {
613
- tmp_2 = this.h67_1.x66_1.l21(this.l67_1, readByteArray(contentPacket));
414
+ this.p66_1 = tmp0_elvis_lhs;
415
+ this.d9_1 = 4;
416
+ continue $sm;
417
+ }
418
+
419
+ case 4:
420
+ return this.p66_1;
421
+ case 5:
422
+ var serializer = serializerForTypeInfo(this.k66_1.a66_1.i24(), this.m66_1);
423
+ this.e9_1 = 6;
424
+ var tmp1_subject = this.k66_1.a66_1;
425
+ var tmp_1;
426
+ if (isInterface(tmp1_subject, StringFormat)) {
427
+ tmp_1 = this.k66_1.a66_1.i21(serializer, readText(this.o66_1, this.l66_1));
428
+ } else {
429
+ if (isInterface(tmp1_subject, BinaryFormat)) {
430
+ tmp_1 = this.k66_1.a66_1.k21(serializer, readByteArray(this.o66_1));
614
431
  } else {
615
- discard(contentPacket);
616
- var message = 'Unsupported format ' + toString(this.h67_1.x66_1);
432
+ discard(this.o66_1);
433
+ var message = 'Unsupported format ' + toString(this.k66_1.a66_1);
617
434
  throw IllegalStateException_init_$Create$(toString(message));
618
435
  }
619
436
  }
620
437
 
621
- return tmp_2;
622
- case 3:
623
- this.e9_1 = 4;
624
- var tmp_3 = this.g9_1;
625
- if (tmp_3 instanceof Error) {
438
+ return tmp_1;
439
+ case 6:
440
+ this.e9_1 = 7;
441
+ var tmp_2 = this.g9_1;
442
+ if (tmp_2 instanceof Error) {
626
443
  var cause = this.g9_1;
627
444
  throw new JsonConvertException('Illegal input: ' + cause.message, cause);
628
445
  } else {
629
446
  throw this.g9_1;
630
447
  }
631
448
 
632
- case 4:
449
+ case 7:
633
450
  throw this.g9_1;
634
451
  }
635
452
  } catch ($p) {
636
453
  var e = $p;
637
- if (this.e9_1 === 4) {
454
+ if (this.e9_1 === 7) {
638
455
  throw e;
639
456
  } else {
640
457
  this.d9_1 = this.e9_1;
@@ -644,32 +461,32 @@
644
461
  while (true);
645
462
  };
646
463
  function KotlinxSerializationConverter(format) {
647
- this.x66_1 = format;
648
- this.y66_1 = extensions(this.x66_1);
464
+ this.a66_1 = format;
465
+ this.b66_1 = extensions(this.a66_1);
649
466
  var tmp;
650
- var tmp_0 = this.x66_1;
467
+ var tmp_0 = this.a66_1;
651
468
  if (isInterface(tmp_0, BinaryFormat)) {
652
469
  tmp = true;
653
470
  } else {
654
- var tmp_1 = this.x66_1;
471
+ var tmp_1 = this.a66_1;
655
472
  tmp = isInterface(tmp_1, StringFormat);
656
473
  }
657
474
  // Inline function 'kotlin.require' call
658
475
  if (!tmp) {
659
- var message = 'Only binary and string formats are supported, ' + toString(this.x66_1) + ' is not supported.';
476
+ var message = 'Only binary and string formats are supported, ' + toString(this.a66_1) + ' is not supported.';
660
477
  throw IllegalArgumentException_init_$Create$(toString(message));
661
478
  }
662
479
  }
663
- protoOf(KotlinxSerializationConverter).m67 = function (contentType, charset, typeInfo, value, $completion) {
480
+ protoOf(KotlinxSerializationConverter).r66 = function (contentType, charset, typeInfo, value, $completion) {
664
481
  var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
665
482
  tmp.f9_1 = Unit_instance;
666
483
  tmp.g9_1 = null;
667
484
  return tmp.l9();
668
485
  };
669
- protoOf(KotlinxSerializationConverter).l5r = function (contentType, charset, typeInfo, value, $completion) {
670
- return this.m67(contentType, charset, typeInfo, value, $completion);
486
+ protoOf(KotlinxSerializationConverter).b5s = function (contentType, charset, typeInfo, value, $completion) {
487
+ return this.r66(contentType, charset, typeInfo, value, $completion);
671
488
  };
672
- protoOf(KotlinxSerializationConverter).j3o = function (charset, typeInfo, content, $completion) {
489
+ protoOf(KotlinxSerializationConverter).z3o = function (charset, typeInfo, content, $completion) {
673
490
  var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
674
491
  tmp.f9_1 = Unit_instance;
675
492
  tmp.g9_1 = null;
@@ -677,7 +494,7 @@
677
494
  };
678
495
  function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
679
496
  var module_0 = _this__u8e3s4;
680
- var tmp0_safe_receiver = typeInfo.w2t_1;
497
+ var tmp0_safe_receiver = typeInfo.n2u_1;
681
498
  var tmp;
682
499
  if (tmp0_safe_receiver == null) {
683
500
  tmp = null;
@@ -695,13 +512,13 @@
695
512
  var tmp1_elvis_lhs = tmp;
696
513
  var tmp_1;
697
514
  if (tmp1_elvis_lhs == null) {
698
- var tmp2_safe_receiver = module_0.q21(typeInfo.v2t_1);
515
+ var tmp2_safe_receiver = module_0.p21(typeInfo.m2u_1);
699
516
  tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
700
517
  } else {
701
518
  tmp_1 = tmp1_elvis_lhs;
702
519
  }
703
520
  var tmp3_elvis_lhs = tmp_1;
704
- return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.v2t_1), typeInfo) : tmp3_elvis_lhs;
521
+ return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.m2u_1), typeInfo) : tmp3_elvis_lhs;
705
522
  }
706
523
  function guessSerializer(value, module_0) {
707
524
  var tmp;
@@ -731,7 +548,7 @@
731
548
  var valueSerializer = elementSerializer(value.c3(), module_0);
732
549
  tmp = MapSerializer(keySerializer, valueSerializer);
733
550
  } else {
734
- var tmp3_elvis_lhs = module_0.q21(getKClassFromExpression(value));
551
+ var tmp3_elvis_lhs = module_0.p21(getKClassFromExpression(value));
735
552
  tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
736
553
  }
737
554
  }
@@ -796,11 +613,11 @@
796
613
  var _destruct__k2r9zo = tmp_3;
797
614
  var s = _destruct__k2r9zo.jg();
798
615
  var be = _destruct__k2r9zo.kg();
799
- throw SerializationException_init_$Create$('Serializer for type argument' + s + ' ' + argNames + ' ' + be + " not found for '" + typeInfo.v2t_1.o() + "'. " + ('Ensure that the listed type' + s + ' ' + be + " marked as '@Serializable'."));
616
+ throw SerializationException_init_$Create$('Serializer for type argument' + s + ' ' + argNames + ' ' + be + " not found for '" + typeInfo.m2u_1.o() + "'. " + ('Ensure that the listed type' + s + ' ' + be + " marked as '@Serializable'."));
800
617
  }
801
618
  function maybeNullable(_this__u8e3s4, typeInfo) {
802
619
  var tmp;
803
- var tmp0_safe_receiver = typeInfo.w2t_1;
620
+ var tmp0_safe_receiver = typeInfo.n2u_1;
804
621
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
805
622
  tmp = get_nullable(_this__u8e3s4);
806
623
  } else {
@@ -825,7 +642,7 @@
825
642
  var _iterator__ex2g4s_0 = destination.t();
826
643
  while (_iterator__ex2g4s_0.u()) {
827
644
  var e = _iterator__ex2g4s_0.v();
828
- var key = e.f20().g21();
645
+ var key = e.e20().f21();
829
646
  if (set.j1(key)) {
830
647
  list.j1(e);
831
648
  }
@@ -838,7 +655,7 @@
838
655
  var _iterator__ex2g4s_1 = serializers.t();
839
656
  while (_iterator__ex2g4s_1.u()) {
840
657
  var item_0 = _iterator__ex2g4s_1.v();
841
- var tmp$ret$7 = item_0.f20().g21();
658
+ var tmp$ret$7 = item_0.e20().f21();
842
659
  destination_0.j1(tmp$ret$7);
843
660
  }
844
661
  // Inline function 'kotlin.error' call
@@ -847,7 +664,7 @@
847
664
  }
848
665
  var tmp0_elvis_lhs = singleOrNull(serializers);
849
666
  var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
850
- if (selected.f20().u21()) {
667
+ if (selected.e20().t21()) {
851
668
  return selected;
852
669
  }
853
670
  if (!isInterface(selected, KSerializer))