@doordeck/doordeck-headless-sdk 0.45.0 → 0.47.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.
Files changed (69) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1394 -1464
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +19 -21
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -8
  4. package/kotlin/Stately-stately-concurrency.js +6 -8
  5. package/kotlin/Stately-stately-concurrent-collections.js +53 -55
  6. package/kotlin/Stately-stately-strict.js +0 -2
  7. package/kotlin/doordeck-sdk.js +11765 -11217
  8. package/kotlin/kotlin-kotlin-stdlib.js +1938 -1924
  9. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +0 -2
  10. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +0 -2
  11. package/kotlin/kotlinx-atomicfu.js +13 -15
  12. package/kotlin/kotlinx-coroutines-core.js +2051 -2089
  13. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +0 -2
  14. package/kotlin/kotlinx-io-kotlinx-io-core.js +559 -550
  15. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1849 -1872
  16. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js +0 -2
  17. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1523 -1523
  18. package/kotlin/ktor-ktor-client-ktor-client-core.js +2832 -2843
  19. package/kotlin/ktor-ktor-client-ktor-client-js.js +0 -2
  20. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +388 -391
  21. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +198 -199
  22. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js +0 -2
  23. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js +0 -2
  24. package/kotlin/ktor-ktor-http.js +833 -860
  25. package/kotlin/ktor-ktor-io.js +641 -653
  26. package/kotlin/ktor-ktor-shared-ktor-events.js +7 -10
  27. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -9
  28. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +266 -263
  29. package/kotlin/ktor-ktor-shared-ktor-serialization.js +113 -111
  30. package/kotlin/ktor-ktor-shared-ktor-sse.js +0 -2
  31. package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js +0 -2
  32. package/kotlin/ktor-ktor-shared-ktor-websockets.js +46 -46
  33. package/kotlin/ktor-ktor-utils.js +590 -606
  34. package/kotlin/projects-core-koin-core.js +299 -316
  35. package/package.json +4 -3
  36. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +0 -1
  37. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +0 -1
  38. package/kotlin/MultiplatformSettings-multiplatform-settings.js.map +0 -1
  39. package/kotlin/Stately-stately-concurrency.js.map +0 -1
  40. package/kotlin/Stately-stately-concurrent-collections.js.map +0 -1
  41. package/kotlin/Stately-stately-strict.js.map +0 -1
  42. package/kotlin/doordeck-sdk.js.map +0 -1
  43. package/kotlin/kotlin-kotlin-stdlib.js.map +0 -1
  44. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
  45. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +0 -1
  46. package/kotlin/kotlinx-atomicfu.js.map +0 -1
  47. package/kotlin/kotlinx-coroutines-core.js.map +0 -1
  48. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js.map +0 -1
  49. package/kotlin/kotlinx-io-kotlinx-io-core.js.map +0 -1
  50. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +0 -1
  51. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js.map +0 -1
  52. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +0 -1
  53. package/kotlin/ktor-ktor-client-ktor-client-core.js.map +0 -1
  54. package/kotlin/ktor-ktor-client-ktor-client-js.js.map +0 -1
  55. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js.map +0 -1
  56. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js.map +0 -1
  57. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js.map +0 -1
  58. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js.map +0 -1
  59. package/kotlin/ktor-ktor-http.js.map +0 -1
  60. package/kotlin/ktor-ktor-io.js.map +0 -1
  61. package/kotlin/ktor-ktor-shared-ktor-events.js.map +0 -1
  62. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js.map +0 -1
  63. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js.map +0 -1
  64. package/kotlin/ktor-ktor-shared-ktor-serialization.js.map +0 -1
  65. package/kotlin/ktor-ktor-shared-ktor-sse.js.map +0 -1
  66. package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js.map +0 -1
  67. package/kotlin/ktor-ktor-shared-ktor-websockets.js.map +0 -1
  68. package/kotlin/ktor-ktor-utils.js.map +0 -1
  69. package/kotlin/projects-core-koin-core.js.map +0 -1
@@ -63,9 +63,9 @@
63
63
  initMetadataForCoroutine($collectCOROUTINE$3, CoroutineImpl);
64
64
  initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
65
65
  initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
66
- initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, VOID, [1]);
66
+ initMetadataForClass(KotlinxSerializationConverter$serialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
67
67
  initMetadataForLambda(KotlinxSerializationConverter$serialize$slambda, CoroutineImpl, VOID, [1]);
68
- initMetadataForClass(_no_name_provided__qut3iv_0, VOID, VOID, VOID, VOID, [1]);
68
+ initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
69
69
  initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
70
70
  initMetadataForCoroutine($serializeCOROUTINE$0, CoroutineImpl);
71
71
  initMetadataForCoroutine($deserializeCOROUTINE$1, CoroutineImpl);
@@ -73,71 +73,74 @@
73
73
  //endregion
74
74
  function extensions(format) {
75
75
  // Inline function 'kotlin.collections.mapNotNull' call
76
+ var tmp0 = get_providers();
76
77
  // Inline function 'kotlin.collections.mapNotNullTo' call
77
- var this_0 = get_providers();
78
78
  var destination = ArrayList_init_$Create$();
79
79
  // Inline function 'kotlin.collections.forEach' call
80
- var tmp0_iterator = this_0.p();
81
- while (tmp0_iterator.q()) {
82
- var element = tmp0_iterator.r();
80
+ var _iterator__ex2g4s = tmp0.p();
81
+ while (_iterator__ex2g4s.q()) {
82
+ var element = _iterator__ex2g4s.r();
83
83
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
84
84
  // Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
85
- var tmp0_safe_receiver = element.i49(format);
85
+ var tmp0_safe_receiver = element.m4b(format);
86
86
  if (tmp0_safe_receiver == null)
87
87
  null;
88
88
  else {
89
89
  // Inline function 'kotlin.let' call
90
- // Inline function 'kotlin.contracts.contract' call
90
+ // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
91
91
  destination.k(tmp0_safe_receiver);
92
92
  }
93
93
  }
94
94
  return destination;
95
95
  }
96
96
  function serialization(_this__u8e3s4, contentType, format) {
97
- _this__u8e3s4.o2q(contentType, new KotlinxSerializationConverter(format));
97
+ _this__u8e3s4.x2r(contentType, new KotlinxSerializationConverter(format));
98
98
  }
99
99
  function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
100
- this.r49_1 = $$this$unsafeFlow;
101
- this.s49_1 = $contentType;
102
- this.t49_1 = $charset;
103
- this.u49_1 = $typeInfo;
104
- this.v49_1 = $value;
100
+ this.v4b_1 = $$this$unsafeFlow;
101
+ this.w4b_1 = $contentType;
102
+ this.x4b_1 = $charset;
103
+ this.y4b_1 = $typeInfo;
104
+ this.z4b_1 = $value;
105
105
  CoroutineImpl.call(this, resultContinuation);
106
106
  }
107
- protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).h2r = function (value, $completion) {
108
- var tmp = this.i2r(value, $completion);
109
- tmp.f9_1 = Unit_instance;
110
- tmp.g9_1 = null;
111
- return tmp.l9();
107
+ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).t2s = function (value, $completion) {
108
+ var tmp = this.u2s(value, $completion);
109
+ tmp.g9_1 = Unit_instance;
110
+ tmp.h9_1 = null;
111
+ return tmp.m9();
112
112
  };
113
- protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).v9 = function (p1, $completion) {
114
- return this.h2r((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
113
+ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).w9 = function (p1, $completion) {
114
+ return this.t2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
115
115
  };
116
- protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l9 = function () {
117
- var suspendResult = this.f9_1;
116
+ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).m9 = function () {
117
+ var suspendResult = this.g9_1;
118
118
  $sm: do
119
119
  try {
120
- var tmp = this.d9_1;
120
+ var tmp = this.e9_1;
121
121
  switch (tmp) {
122
122
  case 0:
123
- this.e9_1 = 3;
123
+ this.f9_1 = 3;
124
124
  var tmp_0 = this;
125
- tmp_0.x49_1 = this.r49_1;
125
+ tmp_0.b4c_1 = this.v4b_1;
126
126
  var tmp_1 = this;
127
- tmp_1.y49_1 = this.w49_1;
127
+ tmp_1.c4c_1 = this.a4c_1;
128
+ this.d4c_1 = this.b4c_1;
129
+ this.e4c_1 = this.c4c_1;
128
130
  var tmp_2 = this;
129
- tmp_2.z49_1 = this.y49_1;
130
- this.d9_1 = 1;
131
- suspendResult = this.z49_1.h49(this.s49_1, this.t49_1, this.u49_1, this.v49_1, this);
131
+ tmp_2.f4c_1 = this.e4c_1;
132
+ this.g4c_1 = this.f4c_1;
133
+ this.e9_1 = 1;
134
+ suspendResult = this.g4c_1.l4b(this.w4b_1, this.x4b_1, this.y4b_1, this.z4b_1, this);
132
135
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
133
136
  return suspendResult;
134
137
  }
135
138
 
136
139
  continue $sm;
137
140
  case 1:
138
- this.a4a_1 = suspendResult;
139
- this.d9_1 = 2;
140
- suspendResult = this.x49_1.d14(this.a4a_1, this);
141
+ this.h4c_1 = suspendResult;
142
+ this.e9_1 = 2;
143
+ suspendResult = this.d4c_1.c15(this.h4c_1, this);
141
144
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
142
145
  return suspendResult;
143
146
  }
@@ -146,50 +149,51 @@
146
149
  case 2:
147
150
  return Unit_instance;
148
151
  case 3:
149
- throw this.g9_1;
152
+ throw this.h9_1;
150
153
  }
151
154
  } catch ($p) {
152
155
  var e = $p;
153
- if (this.e9_1 === 3) {
156
+ if (this.f9_1 === 3) {
154
157
  throw e;
155
158
  } else {
156
- this.d9_1 = this.e9_1;
157
- this.g9_1 = e;
159
+ this.e9_1 = this.f9_1;
160
+ this.h9_1 = e;
158
161
  }
159
162
  }
160
163
  while (true);
161
164
  };
162
- protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).i2r = function (value, completion) {
163
- var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.r49_1, this.s49_1, this.t49_1, this.u49_1, this.v49_1, completion);
164
- i.w49_1 = value;
165
+ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).u2s = function (value, completion) {
166
+ var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.v4b_1, this.w4b_1, this.x4b_1, this.y4b_1, this.z4b_1, completion);
167
+ i.a4c_1 = value;
165
168
  return i;
166
169
  };
167
170
  function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
168
171
  var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
169
172
  var l = function (value, $completion) {
170
- return i.h2r(value, $completion);
173
+ return i.t2s(value, $completion);
171
174
  };
172
175
  l.$arity = 1;
173
176
  return l;
174
177
  }
175
178
  function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
176
179
  CoroutineImpl.call(this, resultContinuation);
177
- this.j4a_1 = _this__u8e3s4;
178
- this.k4a_1 = collector;
180
+ this.q4c_1 = _this__u8e3s4;
181
+ this.r4c_1 = collector;
179
182
  }
180
- protoOf($collectCOROUTINE$2).l9 = function () {
181
- var suspendResult = this.f9_1;
183
+ protoOf($collectCOROUTINE$2).m9 = function () {
184
+ var suspendResult = this.g9_1;
182
185
  $sm: do
183
186
  try {
184
- var tmp = this.d9_1;
187
+ var tmp = this.e9_1;
185
188
  switch (tmp) {
186
189
  case 0:
187
- this.e9_1 = 2;
190
+ this.f9_1 = 2;
188
191
  var tmp_0 = this;
189
- tmp_0.l4a_1 = this.k4a_1;
190
- this.d9_1 = 1;
191
- var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.l4a_1, this.j4a_1.n4a_1, this.j4a_1.o4a_1, this.j4a_1.p4a_1, this.j4a_1.q4a_1, null);
192
- suspendResult = this.j4a_1.m4a_1.f14(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
192
+ tmp_0.s4c_1 = this.r4c_1;
193
+ this.t4c_1 = this.s4c_1;
194
+ this.e9_1 = 1;
195
+ var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.t4c_1, this.q4c_1.v4c_1, this.q4c_1.w4c_1, this.q4c_1.x4c_1, this.q4c_1.y4c_1, null);
196
+ suspendResult = this.q4c_1.u4c_1.e15(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
193
197
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
194
198
  return suspendResult;
195
199
  }
@@ -198,60 +202,63 @@
198
202
  case 1:
199
203
  return Unit_instance;
200
204
  case 2:
201
- throw this.g9_1;
205
+ throw this.h9_1;
202
206
  }
203
207
  } catch ($p) {
204
208
  var e = $p;
205
- if (this.e9_1 === 2) {
209
+ if (this.f9_1 === 2) {
206
210
  throw e;
207
211
  } else {
208
- this.d9_1 = this.e9_1;
209
- this.g9_1 = e;
212
+ this.e9_1 = this.f9_1;
213
+ this.h9_1 = e;
210
214
  }
211
215
  }
212
216
  while (true);
213
217
  };
214
218
  function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
215
- this.z4a_1 = $$this$unsafeFlow;
216
- this.a4b_1 = $charset;
217
- this.b4b_1 = $typeInfo;
218
- this.c4b_1 = $content;
219
+ this.h4d_1 = $$this$unsafeFlow;
220
+ this.i4d_1 = $charset;
221
+ this.j4d_1 = $typeInfo;
222
+ this.k4d_1 = $content;
219
223
  CoroutineImpl.call(this, resultContinuation);
220
224
  }
221
- protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h2r = function (value, $completion) {
222
- var tmp = this.i2r(value, $completion);
223
- tmp.f9_1 = Unit_instance;
224
- tmp.g9_1 = null;
225
- return tmp.l9();
225
+ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).t2s = function (value, $completion) {
226
+ var tmp = this.u2s(value, $completion);
227
+ tmp.g9_1 = Unit_instance;
228
+ tmp.h9_1 = null;
229
+ return tmp.m9();
226
230
  };
227
- protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).v9 = function (p1, $completion) {
228
- return this.h2r((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
231
+ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).w9 = function (p1, $completion) {
232
+ return this.t2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
229
233
  };
230
- protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l9 = function () {
231
- var suspendResult = this.f9_1;
234
+ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).m9 = function () {
235
+ var suspendResult = this.g9_1;
232
236
  $sm: do
233
237
  try {
234
- var tmp = this.d9_1;
238
+ var tmp = this.e9_1;
235
239
  switch (tmp) {
236
240
  case 0:
237
- this.e9_1 = 3;
241
+ this.f9_1 = 3;
238
242
  var tmp_0 = this;
239
- tmp_0.e4b_1 = this.z4a_1;
243
+ tmp_0.m4d_1 = this.h4d_1;
240
244
  var tmp_1 = this;
241
- tmp_1.f4b_1 = this.d4b_1;
245
+ tmp_1.n4d_1 = this.l4d_1;
246
+ this.o4d_1 = this.m4d_1;
247
+ this.p4d_1 = this.n4d_1;
242
248
  var tmp_2 = this;
243
- tmp_2.g4b_1 = this.f4b_1;
244
- this.d9_1 = 1;
245
- suspendResult = this.g4b_1.j2r(this.a4b_1, this.b4b_1, this.c4b_1, this);
249
+ tmp_2.q4d_1 = this.p4d_1;
250
+ this.r4d_1 = this.q4d_1;
251
+ this.e9_1 = 1;
252
+ suspendResult = this.r4d_1.v2s(this.i4d_1, this.j4d_1, this.k4d_1, this);
246
253
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
247
254
  return suspendResult;
248
255
  }
249
256
 
250
257
  continue $sm;
251
258
  case 1:
252
- this.h4b_1 = suspendResult;
253
- this.d9_1 = 2;
254
- suspendResult = this.e4b_1.d14(this.h4b_1, this);
259
+ this.s4d_1 = suspendResult;
260
+ this.e9_1 = 2;
261
+ suspendResult = this.o4d_1.c15(this.s4d_1, this);
255
262
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
256
263
  return suspendResult;
257
264
  }
@@ -260,50 +267,51 @@
260
267
  case 2:
261
268
  return Unit_instance;
262
269
  case 3:
263
- throw this.g9_1;
270
+ throw this.h9_1;
264
271
  }
265
272
  } catch ($p) {
266
273
  var e = $p;
267
- if (this.e9_1 === 3) {
274
+ if (this.f9_1 === 3) {
268
275
  throw e;
269
276
  } else {
270
- this.d9_1 = this.e9_1;
271
- this.g9_1 = e;
277
+ this.e9_1 = this.f9_1;
278
+ this.h9_1 = e;
272
279
  }
273
280
  }
274
281
  while (true);
275
282
  };
276
- protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i2r = function (value, completion) {
277
- var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.z4a_1, this.a4b_1, this.b4b_1, this.c4b_1, completion);
278
- i.d4b_1 = value;
283
+ protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).u2s = function (value, completion) {
284
+ var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.h4d_1, this.i4d_1, this.j4d_1, this.k4d_1, completion);
285
+ i.l4d_1 = value;
279
286
  return i;
280
287
  };
281
288
  function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
282
289
  var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
283
290
  var l = function (value, $completion) {
284
- return i.h2r(value, $completion);
291
+ return i.t2s(value, $completion);
285
292
  };
286
293
  l.$arity = 1;
287
294
  return l;
288
295
  }
289
296
  function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
290
297
  CoroutineImpl.call(this, resultContinuation);
291
- this.q4b_1 = _this__u8e3s4;
292
- this.r4b_1 = collector;
298
+ this.b4e_1 = _this__u8e3s4;
299
+ this.c4e_1 = collector;
293
300
  }
294
- protoOf($collectCOROUTINE$3).l9 = function () {
295
- var suspendResult = this.f9_1;
301
+ protoOf($collectCOROUTINE$3).m9 = function () {
302
+ var suspendResult = this.g9_1;
296
303
  $sm: do
297
304
  try {
298
- var tmp = this.d9_1;
305
+ var tmp = this.e9_1;
299
306
  switch (tmp) {
300
307
  case 0:
301
- this.e9_1 = 2;
308
+ this.f9_1 = 2;
302
309
  var tmp_0 = this;
303
- tmp_0.s4b_1 = this.r4b_1;
304
- this.d9_1 = 1;
305
- var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.s4b_1, this.q4b_1.u4b_1, this.q4b_1.v4b_1, this.q4b_1.w4b_1, null);
306
- suspendResult = this.q4b_1.t4b_1.f14(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
310
+ tmp_0.d4e_1 = this.c4e_1;
311
+ this.e4e_1 = this.d4e_1;
312
+ this.e9_1 = 1;
313
+ var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.e4e_1, this.b4e_1.g4e_1, this.b4e_1.h4e_1, this.b4e_1.i4e_1, null);
314
+ suspendResult = this.b4e_1.f4e_1.e15(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
307
315
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
308
316
  return suspendResult;
309
317
  }
@@ -312,15 +320,15 @@
312
320
  case 1:
313
321
  return Unit_instance;
314
322
  case 2:
315
- throw this.g9_1;
323
+ throw this.h9_1;
316
324
  }
317
325
  } catch ($p) {
318
326
  var e = $p;
319
- if (this.e9_1 === 2) {
327
+ if (this.f9_1 === 2) {
320
328
  throw e;
321
329
  } else {
322
- this.d9_1 = this.e9_1;
323
- this.g9_1 = e;
330
+ this.e9_1 = this.f9_1;
331
+ this.h9_1 = e;
324
332
  }
325
333
  }
326
334
  while (true);
@@ -328,11 +336,11 @@
328
336
  function serializeContent($this, serializer, format, value, contentType, charset) {
329
337
  var tmp;
330
338
  if (isInterface(format, StringFormat)) {
331
- var content = format.v1m(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
339
+ var content = format.e1o(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
332
340
  tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
333
341
  } else {
334
342
  if (isInterface(format, BinaryFormat)) {
335
- var content_0 = format.y1m(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
343
+ var content_0 = format.h1o(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
336
344
  tmp = new ByteArrayContent(content_0, contentType);
337
345
  } else {
338
346
  var message = 'Unsupported format ' + toString(format);
@@ -342,13 +350,13 @@
342
350
  return tmp;
343
351
  }
344
352
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
345
- this.x4b_1 = function_0;
353
+ this.j4e_1 = function_0;
346
354
  }
347
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d14 = function (value, $completion) {
348
- return this.x4b_1(value, $completion);
355
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).c15 = function (value, $completion) {
356
+ return this.j4e_1(value, $completion);
349
357
  };
350
358
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r3 = function () {
351
- return this.x4b_1;
359
+ return this.j4e_1;
352
360
  };
353
361
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
354
362
  var tmp;
@@ -369,13 +377,13 @@
369
377
  return hashCode(this.r3());
370
378
  };
371
379
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
372
- this.y4b_1 = function_0;
380
+ this.k4e_1 = function_0;
373
381
  }
374
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d14 = function (value, $completion) {
375
- return this.y4b_1(value, $completion);
382
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).c15 = function (value, $completion) {
383
+ return this.k4e_1(value, $completion);
376
384
  };
377
385
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r3 = function () {
378
- return this.y4b_1;
386
+ return this.k4e_1;
379
387
  };
380
388
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
381
389
  var tmp;
@@ -395,44 +403,44 @@
395
403
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
396
404
  return hashCode(this.r3());
397
405
  };
398
- function _no_name_provided__qut3iv($this, $contentType, $charset, $typeInfo, $value) {
399
- this.m4a_1 = $this;
400
- this.n4a_1 = $contentType;
401
- this.o4a_1 = $charset;
402
- this.p4a_1 = $typeInfo;
403
- this.q4a_1 = $value;
406
+ function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
407
+ this.u4c_1 = $this;
408
+ this.v4c_1 = $contentType;
409
+ this.w4c_1 = $charset;
410
+ this.x4c_1 = $typeInfo;
411
+ this.y4c_1 = $value;
404
412
  }
405
- protoOf(_no_name_provided__qut3iv).e14 = function (collector, $completion) {
413
+ protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).d15 = function (collector, $completion) {
406
414
  var tmp = new $collectCOROUTINE$2(this, collector, $completion);
407
- tmp.f9_1 = Unit_instance;
408
- tmp.g9_1 = null;
409
- return tmp.l9();
415
+ tmp.g9_1 = Unit_instance;
416
+ tmp.h9_1 = null;
417
+ return tmp.m9();
410
418
  };
411
- protoOf(_no_name_provided__qut3iv).f14 = function (collector, $completion) {
412
- return this.e14(collector, $completion);
419
+ protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).e15 = function (collector, $completion) {
420
+ return this.d15(collector, $completion);
413
421
  };
414
422
  function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
415
423
  CoroutineImpl.call(this, resultContinuation);
416
424
  }
417
- protoOf(KotlinxSerializationConverter$serialize$slambda).i4c = function (it, $completion) {
418
- var tmp = this.j4c(it, $completion);
419
- tmp.f9_1 = Unit_instance;
420
- tmp.g9_1 = null;
421
- return tmp.l9();
425
+ protoOf(KotlinxSerializationConverter$serialize$slambda).u4e = function (it, $completion) {
426
+ var tmp = this.v4e(it, $completion);
427
+ tmp.g9_1 = Unit_instance;
428
+ tmp.h9_1 = null;
429
+ return tmp.m9();
422
430
  };
423
- protoOf(KotlinxSerializationConverter$serialize$slambda).v9 = function (p1, $completion) {
424
- return this.i4c((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
431
+ protoOf(KotlinxSerializationConverter$serialize$slambda).w9 = function (p1, $completion) {
432
+ return this.u4e((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
425
433
  };
426
- protoOf(KotlinxSerializationConverter$serialize$slambda).l9 = function () {
427
- var suspendResult = this.f9_1;
434
+ protoOf(KotlinxSerializationConverter$serialize$slambda).m9 = function () {
435
+ var suspendResult = this.g9_1;
428
436
  $sm: do
429
437
  try {
430
- var tmp = this.d9_1;
438
+ var tmp = this.e9_1;
431
439
  if (tmp === 0) {
432
- this.e9_1 = 1;
433
- return !(this.h4c_1 == null);
440
+ this.f9_1 = 1;
441
+ return !(this.t4e_1 == null);
434
442
  } else if (tmp === 1) {
435
- throw this.g9_1;
443
+ throw this.h9_1;
436
444
  }
437
445
  } catch ($p) {
438
446
  var e = $p;
@@ -440,57 +448,57 @@
440
448
  }
441
449
  while (true);
442
450
  };
443
- protoOf(KotlinxSerializationConverter$serialize$slambda).j4c = function (it, completion) {
451
+ protoOf(KotlinxSerializationConverter$serialize$slambda).v4e = function (it, completion) {
444
452
  var i = new KotlinxSerializationConverter$serialize$slambda(completion);
445
- i.h4c_1 = it;
453
+ i.t4e_1 = it;
446
454
  return i;
447
455
  };
448
456
  function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
449
457
  var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
450
458
  var l = function (it, $completion) {
451
- return i.i4c(it, $completion);
459
+ return i.u4e(it, $completion);
452
460
  };
453
461
  l.$arity = 1;
454
462
  return l;
455
463
  }
456
- function _no_name_provided__qut3iv_0($this, $charset, $typeInfo, $content) {
457
- this.t4b_1 = $this;
458
- this.u4b_1 = $charset;
459
- this.v4b_1 = $typeInfo;
460
- this.w4b_1 = $content;
464
+ function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
465
+ this.f4e_1 = $this;
466
+ this.g4e_1 = $charset;
467
+ this.h4e_1 = $typeInfo;
468
+ this.i4e_1 = $content;
461
469
  }
462
- protoOf(_no_name_provided__qut3iv_0).e14 = function (collector, $completion) {
470
+ protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).d15 = function (collector, $completion) {
463
471
  var tmp = new $collectCOROUTINE$3(this, collector, $completion);
464
- tmp.f9_1 = Unit_instance;
465
- tmp.g9_1 = null;
466
- return tmp.l9();
472
+ tmp.g9_1 = Unit_instance;
473
+ tmp.h9_1 = null;
474
+ return tmp.m9();
467
475
  };
468
- protoOf(_no_name_provided__qut3iv_0).f14 = function (collector, $completion) {
469
- return this.e14(collector, $completion);
476
+ protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).e15 = function (collector, $completion) {
477
+ return this.d15(collector, $completion);
470
478
  };
471
479
  function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
472
- this.s4c_1 = $content;
480
+ this.e4f_1 = $content;
473
481
  CoroutineImpl.call(this, resultContinuation);
474
482
  }
475
- protoOf(KotlinxSerializationConverter$deserialize$slambda).j2s = function (it, $completion) {
476
- var tmp = this.i2r(it, $completion);
477
- tmp.f9_1 = Unit_instance;
478
- tmp.g9_1 = null;
479
- return tmp.l9();
483
+ protoOf(KotlinxSerializationConverter$deserialize$slambda).w2t = function (it, $completion) {
484
+ var tmp = this.u2s(it, $completion);
485
+ tmp.g9_1 = Unit_instance;
486
+ tmp.h9_1 = null;
487
+ return tmp.m9();
480
488
  };
481
- protoOf(KotlinxSerializationConverter$deserialize$slambda).v9 = function (p1, $completion) {
482
- return this.j2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
489
+ protoOf(KotlinxSerializationConverter$deserialize$slambda).w9 = function (p1, $completion) {
490
+ return this.w2t((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
483
491
  };
484
- protoOf(KotlinxSerializationConverter$deserialize$slambda).l9 = function () {
485
- var suspendResult = this.f9_1;
492
+ protoOf(KotlinxSerializationConverter$deserialize$slambda).m9 = function () {
493
+ var suspendResult = this.g9_1;
486
494
  $sm: do
487
495
  try {
488
- var tmp = this.d9_1;
496
+ var tmp = this.e9_1;
489
497
  if (tmp === 0) {
490
- this.e9_1 = 1;
491
- return !(this.t4c_1 == null) || this.s4c_1.y1f();
498
+ this.f9_1 = 1;
499
+ return !(this.f4f_1 == null) || this.e4f_1.d1h();
492
500
  } else if (tmp === 1) {
493
- throw this.g9_1;
501
+ throw this.h9_1;
494
502
  }
495
503
  } catch ($p) {
496
504
  var e = $p;
@@ -498,38 +506,38 @@
498
506
  }
499
507
  while (true);
500
508
  };
501
- protoOf(KotlinxSerializationConverter$deserialize$slambda).i2r = function (it, completion) {
502
- var i = new KotlinxSerializationConverter$deserialize$slambda(this.s4c_1, completion);
503
- i.t4c_1 = it;
509
+ protoOf(KotlinxSerializationConverter$deserialize$slambda).u2s = function (it, completion) {
510
+ var i = new KotlinxSerializationConverter$deserialize$slambda(this.e4f_1, completion);
511
+ i.f4f_1 = it;
504
512
  return i;
505
513
  };
506
514
  function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
507
515
  var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
508
516
  var l = function (it, $completion) {
509
- return i.j2s(it, $completion);
517
+ return i.w2t(it, $completion);
510
518
  };
511
519
  l.$arity = 1;
512
520
  return l;
513
521
  }
514
522
  function $serializeCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
515
523
  CoroutineImpl.call(this, resultContinuation);
516
- this.c4d_1 = _this__u8e3s4;
517
- this.d4d_1 = contentType;
518
- this.e4d_1 = charset;
519
- this.f4d_1 = typeInfo;
520
- this.g4d_1 = value;
524
+ this.o4f_1 = _this__u8e3s4;
525
+ this.p4f_1 = contentType;
526
+ this.q4f_1 = charset;
527
+ this.r4f_1 = typeInfo;
528
+ this.s4f_1 = value;
521
529
  }
522
- protoOf($serializeCOROUTINE$0).l9 = function () {
523
- var suspendResult = this.f9_1;
530
+ protoOf($serializeCOROUTINE$0).m9 = function () {
531
+ var suspendResult = this.g9_1;
524
532
  $sm: do
525
533
  try {
526
- var tmp = this.d9_1;
534
+ var tmp = this.e9_1;
527
535
  switch (tmp) {
528
536
  case 0:
529
- this.e9_1 = 2;
530
- this.d9_1 = 1;
531
- var this_0 = asFlow(this.c4d_1.i4d_1);
532
- var tmp_0 = new _no_name_provided__qut3iv(this_0, this.d4d_1, this.e4d_1, this.f4d_1, this.g4d_1);
537
+ this.f9_1 = 2;
538
+ this.e9_1 = 1;
539
+ var this_0 = asFlow(this.o4f_1.u4f_1);
540
+ var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.p4f_1, this.q4f_1, this.r4f_1, this.s4f_1);
533
541
  suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
534
542
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
535
543
  return suspendResult;
@@ -542,12 +550,12 @@
542
550
  return fromExtension;
543
551
  var tmp_1;
544
552
  try {
545
- tmp_1 = serializerForTypeInfo(this.c4d_1.h4d_1.x1m(), this.f4d_1);
553
+ tmp_1 = serializerForTypeInfo(this.o4f_1.t4f_1.g1o(), this.r4f_1);
546
554
  } catch ($p) {
547
555
  var tmp_2;
548
556
  if ($p instanceof SerializationException) {
549
557
  var cause = $p;
550
- tmp_2 = guessSerializer(this.g4d_1, this.c4d_1.h4d_1.x1m());
558
+ tmp_2 = guessSerializer(this.s4f_1, this.o4f_1.t4f_1.g1o());
551
559
  } else {
552
560
  throw $p;
553
561
  }
@@ -555,59 +563,59 @@
555
563
  }
556
564
 
557
565
  var serializer = tmp_1;
558
- return serializeContent(this.c4d_1, serializer, this.c4d_1.h4d_1, this.g4d_1, this.d4d_1, this.e4d_1);
566
+ return serializeContent(this.o4f_1, serializer, this.o4f_1.t4f_1, this.s4f_1, this.p4f_1, this.q4f_1);
559
567
  case 2:
560
- throw this.g9_1;
568
+ throw this.h9_1;
561
569
  }
562
570
  } catch ($p) {
563
571
  var e = $p;
564
- if (this.e9_1 === 2) {
572
+ if (this.f9_1 === 2) {
565
573
  throw e;
566
574
  } else {
567
- this.d9_1 = this.e9_1;
568
- this.g9_1 = e;
575
+ this.e9_1 = this.f9_1;
576
+ this.h9_1 = e;
569
577
  }
570
578
  }
571
579
  while (true);
572
580
  };
573
581
  function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
574
582
  CoroutineImpl.call(this, resultContinuation);
575
- this.r4d_1 = _this__u8e3s4;
576
- this.s4d_1 = charset;
577
- this.t4d_1 = typeInfo;
578
- this.u4d_1 = content;
583
+ this.d4g_1 = _this__u8e3s4;
584
+ this.e4g_1 = charset;
585
+ this.f4g_1 = typeInfo;
586
+ this.g4g_1 = content;
579
587
  }
580
- protoOf($deserializeCOROUTINE$1).l9 = function () {
581
- var suspendResult = this.f9_1;
588
+ protoOf($deserializeCOROUTINE$1).m9 = function () {
589
+ var suspendResult = this.g9_1;
582
590
  $sm: do
583
591
  try {
584
- var tmp = this.d9_1;
592
+ var tmp = this.e9_1;
585
593
  switch (tmp) {
586
594
  case 0:
587
- this.e9_1 = 4;
588
- this.d9_1 = 1;
589
- var this_0 = asFlow(this.r4d_1.i4d_1);
590
- var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.s4d_1, this.t4d_1, this.u4d_1);
591
- suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.u4d_1, null), this);
595
+ this.f9_1 = 4;
596
+ this.e9_1 = 1;
597
+ var this_0 = asFlow(this.d4g_1.u4f_1);
598
+ var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.e4g_1, this.f4g_1, this.g4g_1);
599
+ suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.g4g_1, null), this);
592
600
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
593
601
  return suspendResult;
594
602
  }
595
603
 
596
604
  continue $sm;
597
605
  case 1:
598
- this.v4d_1 = suspendResult;
606
+ this.h4g_1 = suspendResult;
599
607
  var tmp_1;
600
- if (!this.r4d_1.i4d_1.h()) {
601
- tmp_1 = !(this.v4d_1 == null) || this.u4d_1.y1f();
608
+ if (!this.d4g_1.u4f_1.h()) {
609
+ tmp_1 = !(this.h4g_1 == null) || this.g4g_1.d1h();
602
610
  } else {
603
611
  tmp_1 = false;
604
612
  }
605
613
 
606
614
  if (tmp_1)
607
- return this.v4d_1;
608
- this.w4d_1 = serializerForTypeInfo(this.r4d_1.h4d_1.x1m(), this.t4d_1);
609
- this.d9_1 = 2;
610
- suspendResult = readRemaining(this.u4d_1, this);
615
+ return this.h4g_1;
616
+ this.i4g_1 = serializerForTypeInfo(this.d4g_1.t4f_1.g1o(), this.f4g_1);
617
+ this.e9_1 = 2;
618
+ suspendResult = readRemaining(this.g4g_1, this);
611
619
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
612
620
  return suspendResult;
613
621
  }
@@ -615,92 +623,90 @@
615
623
  continue $sm;
616
624
  case 2:
617
625
  var contentPacket = suspendResult;
618
- this.e9_1 = 3;
619
- var tmp0_subject = this.r4d_1.h4d_1;
626
+ this.f9_1 = 3;
627
+ var tmp0_subject = this.d4g_1.t4f_1;
620
628
  var tmp_2;
621
629
  if (isInterface(tmp0_subject, StringFormat)) {
622
- tmp_2 = this.r4d_1.h4d_1.w1m(this.w4d_1, readText(contentPacket, this.s4d_1));
630
+ tmp_2 = this.d4g_1.t4f_1.f1o(this.i4g_1, readText(contentPacket, this.e4g_1));
623
631
  } else {
624
632
  if (isInterface(tmp0_subject, BinaryFormat)) {
625
- tmp_2 = this.r4d_1.h4d_1.z1m(this.w4d_1, readByteArray(contentPacket));
633
+ tmp_2 = this.d4g_1.t4f_1.i1o(this.i4g_1, readByteArray(contentPacket));
626
634
  } else {
627
635
  discard(contentPacket);
628
- var message = 'Unsupported format ' + toString(this.r4d_1.h4d_1);
636
+ var message = 'Unsupported format ' + toString(this.d4g_1.t4f_1);
629
637
  throw IllegalStateException_init_$Create$(toString(message));
630
638
  }
631
639
  }
632
640
 
633
641
  return tmp_2;
634
642
  case 3:
635
- this.e9_1 = 4;
636
- var tmp_3 = this.g9_1;
643
+ this.f9_1 = 4;
644
+ var tmp_3 = this.h9_1;
637
645
  if (tmp_3 instanceof Error) {
638
- var cause = this.g9_1;
646
+ var cause = this.h9_1;
639
647
  throw new JsonConvertException('Illegal input: ' + cause.message, cause);
640
648
  } else {
641
- throw this.g9_1;
649
+ throw this.h9_1;
642
650
  }
643
651
 
644
652
  case 4:
645
- throw this.g9_1;
653
+ throw this.h9_1;
646
654
  }
647
655
  } catch ($p) {
648
656
  var e = $p;
649
- if (this.e9_1 === 4) {
657
+ if (this.f9_1 === 4) {
650
658
  throw e;
651
659
  } else {
652
- this.d9_1 = this.e9_1;
653
- this.g9_1 = e;
660
+ this.e9_1 = this.f9_1;
661
+ this.h9_1 = e;
654
662
  }
655
663
  }
656
664
  while (true);
657
665
  };
658
666
  function KotlinxSerializationConverter(format) {
659
- this.h4d_1 = format;
660
- this.i4d_1 = extensions(this.h4d_1);
661
- // Inline function 'kotlin.require' call
667
+ this.t4f_1 = format;
668
+ this.u4f_1 = extensions(this.t4f_1);
662
669
  var tmp;
663
- var tmp_0 = this.h4d_1;
670
+ var tmp_0 = this.t4f_1;
664
671
  if (isInterface(tmp_0, BinaryFormat)) {
665
672
  tmp = true;
666
673
  } else {
667
- var tmp_1 = this.h4d_1;
674
+ var tmp_1 = this.t4f_1;
668
675
  tmp = isInterface(tmp_1, StringFormat);
669
676
  }
670
- // Inline function 'kotlin.contracts.contract' call
677
+ // Inline function 'kotlin.require' call
671
678
  if (!tmp) {
672
679
  // Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
673
- var message = 'Only binary and string formats are supported, ' + toString(this.h4d_1) + ' is not supported.';
680
+ var message = 'Only binary and string formats are supported, ' + toString(this.t4f_1) + ' is not supported.';
674
681
  throw IllegalArgumentException_init_$Create$(toString(message));
675
682
  }
676
683
  }
677
- protoOf(KotlinxSerializationConverter).x4d = function (contentType, charset, typeInfo, value, $completion) {
684
+ protoOf(KotlinxSerializationConverter).j4g = function (contentType, charset, typeInfo, value, $completion) {
678
685
  var tmp = new $serializeCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
679
- tmp.f9_1 = Unit_instance;
680
- tmp.g9_1 = null;
681
- return tmp.l9();
686
+ tmp.g9_1 = Unit_instance;
687
+ tmp.h9_1 = null;
688
+ return tmp.m9();
682
689
  };
683
- protoOf(KotlinxSerializationConverter).h49 = function (contentType, charset, typeInfo, value, $completion) {
684
- return this.x4d(contentType, charset, typeInfo, value, $completion);
690
+ protoOf(KotlinxSerializationConverter).l4b = function (contentType, charset, typeInfo, value, $completion) {
691
+ return this.j4g(contentType, charset, typeInfo, value, $completion);
685
692
  };
686
- protoOf(KotlinxSerializationConverter).j2r = function (charset, typeInfo, content, $completion) {
693
+ protoOf(KotlinxSerializationConverter).v2s = function (charset, typeInfo, content, $completion) {
687
694
  var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
688
- tmp.f9_1 = Unit_instance;
689
- tmp.g9_1 = null;
690
- return tmp.l9();
695
+ tmp.g9_1 = Unit_instance;
696
+ tmp.h9_1 = null;
697
+ return tmp.m9();
691
698
  };
692
699
  function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
693
700
  var module_0 = _this__u8e3s4;
694
- var tmp0_safe_receiver = typeInfo.a2c_1;
701
+ var tmp0_safe_receiver = typeInfo.j2d_1;
695
702
  var tmp;
696
703
  if (tmp0_safe_receiver == null) {
697
704
  tmp = null;
698
705
  } else {
699
706
  // Inline function 'kotlin.let' call
700
- // Inline function 'kotlin.contracts.contract' call
701
707
  // Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
702
708
  var tmp_0;
703
- if (tmp0_safe_receiver.lb().h()) {
709
+ if (tmp0_safe_receiver.ub().h()) {
704
710
  tmp_0 = null;
705
711
  } else {
706
712
  tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
@@ -710,13 +716,13 @@
710
716
  var tmp1_elvis_lhs = tmp;
711
717
  var tmp_1;
712
718
  if (tmp1_elvis_lhs == null) {
713
- var tmp2_safe_receiver = module_0.c1n(typeInfo.z2b_1);
719
+ var tmp2_safe_receiver = module_0.l1o(typeInfo.i2d_1);
714
720
  tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
715
721
  } else {
716
722
  tmp_1 = tmp1_elvis_lhs;
717
723
  }
718
724
  var tmp3_elvis_lhs = tmp_1;
719
- return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.z2b_1), typeInfo) : tmp3_elvis_lhs;
725
+ return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.i2d_1), typeInfo) : tmp3_elvis_lhs;
720
726
  }
721
727
  function guessSerializer(value, module_0) {
722
728
  var tmp;
@@ -733,7 +739,6 @@
733
739
  tmp_0 = null;
734
740
  } else {
735
741
  // Inline function 'kotlin.let' call
736
- // Inline function 'kotlin.contracts.contract' call
737
742
  // Inline function 'io.ktor.serialization.kotlinx.guessSerializer.<anonymous>' call
738
743
  tmp_0 = guessSerializer(tmp1_safe_receiver, module_0);
739
744
  }
@@ -748,7 +753,7 @@
748
753
  var valueSerializer = elementSerializer(value.m2(), module_0);
749
754
  tmp = MapSerializer(keySerializer, valueSerializer);
750
755
  } else {
751
- var tmp3_elvis_lhs = module_0.c1n(getKClassFromExpression(value));
756
+ var tmp3_elvis_lhs = module_0.l1o(getKClassFromExpression(value));
752
757
  tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
753
758
  }
754
759
  }
@@ -760,8 +765,8 @@
760
765
  }
761
766
  function maybeNullable(_this__u8e3s4, typeInfo) {
762
767
  var tmp;
763
- var tmp0_safe_receiver = typeInfo.a2c_1;
764
- if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.mb()) === true) {
768
+ var tmp0_safe_receiver = typeInfo.j2d_1;
769
+ if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vb()) === true) {
765
770
  tmp = get_nullable(_this__u8e3s4);
766
771
  } else {
767
772
  tmp = _this__u8e3s4;
@@ -769,48 +774,48 @@
769
774
  return tmp;
770
775
  }
771
776
  function elementSerializer(_this__u8e3s4, module_0) {
772
- // Inline function 'kotlin.collections.distinctBy' call
773
777
  // Inline function 'kotlin.collections.map' call
774
778
  var this_0 = filterNotNull(_this__u8e3s4);
775
779
  // Inline function 'kotlin.collections.mapTo' call
776
780
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
777
- var tmp0_iterator = this_0.p();
778
- while (tmp0_iterator.q()) {
779
- var item = tmp0_iterator.r();
781
+ var _iterator__ex2g4s = this_0.p();
782
+ while (_iterator__ex2g4s.q()) {
783
+ var item = _iterator__ex2g4s.r();
780
784
  // Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
781
785
  var tmp$ret$0 = guessSerializer(item, module_0);
782
786
  destination.k(tmp$ret$0);
783
787
  }
788
+ // Inline function 'kotlin.collections.distinctBy' call
784
789
  var set = HashSet_init_$Create$();
785
790
  var list = ArrayList_init_$Create$();
786
- var tmp0_iterator_0 = destination.p();
787
- while (tmp0_iterator_0.q()) {
788
- var e = tmp0_iterator_0.r();
791
+ var _iterator__ex2g4s_0 = destination.p();
792
+ while (_iterator__ex2g4s_0.q()) {
793
+ var e = _iterator__ex2g4s_0.r();
789
794
  // Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
790
- var key = e.s1l().t1m();
795
+ var key = e.b1n().c1o();
791
796
  if (set.k(key)) {
792
797
  list.k(e);
793
798
  }
794
799
  }
795
800
  var serializers = list;
796
801
  if (serializers.s() > 1) {
797
- // Inline function 'kotlin.error' call
798
802
  // Inline function 'kotlin.collections.map' call
799
803
  // Inline function 'kotlin.collections.mapTo' call
800
804
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(serializers, 10));
801
- var tmp0_iterator_1 = serializers.p();
802
- while (tmp0_iterator_1.q()) {
803
- var item_0 = tmp0_iterator_1.r();
805
+ var _iterator__ex2g4s_1 = serializers.p();
806
+ while (_iterator__ex2g4s_1.q()) {
807
+ var item_0 = _iterator__ex2g4s_1.r();
804
808
  // Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
805
- var tmp$ret$5 = item_0.s1l().t1m();
809
+ var tmp$ret$5 = item_0.b1n().c1o();
806
810
  destination_0.k(tmp$ret$5);
807
811
  }
812
+ // Inline function 'kotlin.error' call
808
813
  var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
809
814
  throw IllegalStateException_init_$Create$(toString(message));
810
815
  }
811
816
  var tmp0_elvis_lhs = singleOrNull(serializers);
812
817
  var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
813
- if (selected.s1l().g1n()) {
818
+ if (selected.b1n().p1o()) {
814
819
  return selected;
815
820
  }
816
821
  if (!isInterface(selected, KSerializer))
@@ -828,9 +833,9 @@
828
833
  tmp$ret$8 = false;
829
834
  break $l$block_0;
830
835
  }
831
- var tmp0_iterator_2 = _this__u8e3s4.p();
832
- while (tmp0_iterator_2.q()) {
833
- var element = tmp0_iterator_2.r();
836
+ var _iterator__ex2g4s_2 = _this__u8e3s4.p();
837
+ while (_iterator__ex2g4s_2.q()) {
838
+ var element = _iterator__ex2g4s_2.r();
834
839
  // Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
835
840
  if (element == null) {
836
841
  tmp$ret$8 = true;
@@ -853,5 +858,3 @@
853
858
  //endregion
854
859
  return _;
855
860
  }(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./ktor-ktor-http.js'), require('./kotlinx-coroutines-core.js'), require('./ktor-ktor-io.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./ktor-ktor-shared-ktor-serialization.js')));
856
-
857
- //# sourceMappingURL=ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js.map