@doordeck/doordeck-headless-sdk 0.34.0 → 0.36.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 (27) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1192 -1192
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +14 -0
  3. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +1 -1
  4. package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -6
  5. package/kotlin/Stately-stately-concurrency.js +6 -6
  6. package/kotlin/Stately-stately-concurrent-collections.js +53 -53
  7. package/kotlin/doordeck-sdk.js +7989 -7922
  8. package/kotlin/doordeck-sdk.js.map +1 -1
  9. package/kotlin/kotlinx-atomicfu.js +13 -13
  10. package/kotlin/kotlinx-coroutines-core.js +1555 -1555
  11. package/kotlin/kotlinx-coroutines-core.js.map +1 -1
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +412 -412
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1657 -1657
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1310 -1310
  15. package/kotlin/ktor-ktor-client-ktor-client-core.js +1696 -1696
  16. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +212 -212
  17. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +120 -120
  18. package/kotlin/ktor-ktor-http.js +629 -629
  19. package/kotlin/ktor-ktor-io.js +378 -378
  20. package/kotlin/ktor-ktor-shared-ktor-events.js +6 -6
  21. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +6 -6
  22. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +132 -132
  23. package/kotlin/ktor-ktor-shared-ktor-serialization.js +58 -58
  24. package/kotlin/ktor-ktor-shared-ktor-websockets.js +37 -37
  25. package/kotlin/ktor-ktor-utils.js +507 -507
  26. package/kotlin/projects-core-koin-core.js +246 -246
  27. package/package.json +1 -1
@@ -85,35 +85,35 @@
85
85
  }
86
86
  var ContentNegotiation;
87
87
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
88
- this.f46_1 = converter;
89
- this.g46_1 = contentTypeToSend;
90
- this.h46_1 = contentTypeMatcher;
88
+ this.g46_1 = converter;
89
+ this.h46_1 = contentTypeToSend;
90
+ this.i46_1 = contentTypeMatcher;
91
91
  }
92
92
  function defaultMatcher($this, pattern) {
93
93
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
94
94
  }
95
95
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
96
- this.i46_1 = $pattern;
96
+ this.j46_1 = $pattern;
97
97
  }
98
- protoOf(ContentNegotiationConfig$defaultMatcher$1).j46 = function (contentType) {
99
- return contentType.f2e(this.i46_1);
98
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).k46 = function (contentType) {
99
+ return contentType.g2e(this.j46_1);
100
100
  };
101
101
  function ContentNegotiationConfig() {
102
- this.k46_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
102
+ this.l46_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
103
103
  var tmp = this;
104
104
  // Inline function 'kotlin.collections.mutableListOf' call
105
- tmp.l46_1 = ArrayList_init_$Create$();
105
+ tmp.m46_1 = ArrayList_init_$Create$();
106
106
  }
107
- protoOf(ContentNegotiationConfig).m2q = function (contentType, converter, configuration) {
108
- var matcher = contentType.equals(Application_getInstance().x2c_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
109
- this.m46(contentType, converter, matcher, configuration);
107
+ protoOf(ContentNegotiationConfig).n2q = function (contentType, converter, configuration) {
108
+ var matcher = contentType.equals(Application_getInstance().y2c_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
109
+ this.n46(contentType, converter, matcher, configuration);
110
110
  };
111
- protoOf(ContentNegotiationConfig).m46 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
111
+ protoOf(ContentNegotiationConfig).n46 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
112
112
  // Inline function 'kotlin.apply' call
113
113
  // Inline function 'kotlin.contracts.contract' call
114
114
  configuration(converter);
115
115
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
116
- this.l46_1.k(registration);
116
+ this.m46_1.k(registration);
117
117
  };
118
118
  function ContentConverterException(message) {
119
119
  Exception_init_$Init$(message, this);
@@ -128,10 +128,10 @@
128
128
  }
129
129
  function ContentNegotiation$lambda($this$createClientPlugin) {
130
130
  _init_properties_ContentNegotiation_kt__o183go();
131
- var registrations = $this$createClientPlugin.c33_1.l46_1;
132
- var ignoredTypes = $this$createClientPlugin.c33_1.k46_1;
133
- $this$createClientPlugin.v3l(ContentNegotiation$lambda$slambda_0(registrations, ignoredTypes, $this$createClientPlugin, null));
134
- $this$createClientPlugin.a3e(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
131
+ var registrations = $this$createClientPlugin.d33_1.m46_1;
132
+ var ignoredTypes = $this$createClientPlugin.d33_1.l46_1;
133
+ $this$createClientPlugin.w3l(ContentNegotiation$lambda$slambda_0(registrations, ignoredTypes, $this$createClientPlugin, null));
134
+ $this$createClientPlugin.b3e(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
135
135
  return Unit_instance;
136
136
  }
137
137
  function invoke$convertRequest(registrations, ignoredTypes, $this_createClientPlugin, request, body, $completion) {
@@ -141,29 +141,29 @@
141
141
  return tmp.l9();
142
142
  }
143
143
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
144
- charset = charset === VOID ? Charsets_getInstance().o1k_1 : charset;
144
+ charset = charset === VOID ? Charsets_getInstance().p1k_1 : charset;
145
145
  var tmp = new $invoke$convertResponseCOROUTINE$1(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
146
146
  tmp.f9_1 = Unit_instance;
147
147
  tmp.g9_1 = null;
148
148
  return tmp.l9();
149
149
  }
150
150
  function ContentNegotiation$lambda$slambda($registrations, $ignoredTypes, $this_createClientPlugin, resultContinuation) {
151
- this.g48_1 = $registrations;
152
- this.h48_1 = $ignoredTypes;
153
- this.i48_1 = $this_createClientPlugin;
151
+ this.h48_1 = $registrations;
152
+ this.i48_1 = $ignoredTypes;
153
+ this.j48_1 = $this_createClientPlugin;
154
154
  CoroutineImpl.call(this, resultContinuation);
155
155
  }
156
- protoOf(ContentNegotiation$lambda$slambda).n48 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
157
- var tmp = this.o48($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
156
+ protoOf(ContentNegotiation$lambda$slambda).o48 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
157
+ var tmp = this.p48($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
158
158
  tmp.f9_1 = Unit_instance;
159
159
  tmp.g9_1 = null;
160
160
  return tmp.l9();
161
161
  };
162
- protoOf(ContentNegotiation$lambda$slambda).f3f = function (p1, p2, p3, p4, $completion) {
162
+ protoOf(ContentNegotiation$lambda$slambda).g3f = function (p1, p2, p3, p4, $completion) {
163
163
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
164
164
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
165
165
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
166
- return this.n48(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
166
+ return this.o48(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
167
167
  };
168
168
  protoOf(ContentNegotiation$lambda$slambda).l9 = function () {
169
169
  var suspendResult = this.f9_1;
@@ -174,7 +174,7 @@
174
174
  case 0:
175
175
  this.e9_1 = 2;
176
176
  this.d9_1 = 1;
177
- suspendResult = invoke$convertRequest(this.g48_1, this.h48_1, this.i48_1, this.k48_1, this.l48_1, this);
177
+ suspendResult = invoke$convertRequest(this.h48_1, this.i48_1, this.j48_1, this.l48_1, this.m48_1, this);
178
178
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
179
179
  return suspendResult;
180
180
  }
@@ -196,39 +196,39 @@
196
196
  }
197
197
  while (true);
198
198
  };
199
- protoOf(ContentNegotiation$lambda$slambda).o48 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
200
- var i = new ContentNegotiation$lambda$slambda(this.g48_1, this.h48_1, this.i48_1, completion);
201
- i.j48_1 = $this$transformRequestBody;
202
- i.k48_1 = request;
203
- i.l48_1 = body;
204
- i.m48_1 = _unused_var__etf5q3;
199
+ protoOf(ContentNegotiation$lambda$slambda).p48 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
200
+ var i = new ContentNegotiation$lambda$slambda(this.h48_1, this.i48_1, this.j48_1, completion);
201
+ i.k48_1 = $this$transformRequestBody;
202
+ i.l48_1 = request;
203
+ i.m48_1 = body;
204
+ i.n48_1 = _unused_var__etf5q3;
205
205
  return i;
206
206
  };
207
207
  function ContentNegotiation$lambda$slambda_0($registrations, $ignoredTypes, $this_createClientPlugin, resultContinuation) {
208
208
  var i = new ContentNegotiation$lambda$slambda($registrations, $ignoredTypes, $this_createClientPlugin, resultContinuation);
209
209
  var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
210
- return i.n48($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
210
+ return i.o48($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
211
211
  };
212
212
  l.$arity = 4;
213
213
  return l;
214
214
  }
215
215
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
216
- this.x48_1 = $ignoredTypes;
217
- this.y48_1 = $registrations;
218
- this.z48_1 = $this_createClientPlugin;
216
+ this.y48_1 = $ignoredTypes;
217
+ this.z48_1 = $registrations;
218
+ this.a49_1 = $this_createClientPlugin;
219
219
  CoroutineImpl.call(this, resultContinuation);
220
220
  }
221
- protoOf(ContentNegotiation$lambda$slambda_1).d3f = function ($this$transformResponseBody, response, body, info, $completion) {
222
- var tmp = this.e3f($this$transformResponseBody, response, body, info, $completion);
221
+ protoOf(ContentNegotiation$lambda$slambda_1).e3f = function ($this$transformResponseBody, response, body, info, $completion) {
222
+ var tmp = this.f3f($this$transformResponseBody, response, body, info, $completion);
223
223
  tmp.f9_1 = Unit_instance;
224
224
  tmp.g9_1 = null;
225
225
  return tmp.l9();
226
226
  };
227
- protoOf(ContentNegotiation$lambda$slambda_1).f3f = function (p1, p2, p3, p4, $completion) {
227
+ protoOf(ContentNegotiation$lambda$slambda_1).g3f = function (p1, p2, p3, p4, $completion) {
228
228
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
229
229
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
230
230
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
231
- return this.d3f(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
231
+ return this.e3f(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
232
232
  };
233
233
  protoOf(ContentNegotiation$lambda$slambda_1).l9 = function () {
234
234
  var suspendResult = this.f9_1;
@@ -239,7 +239,7 @@
239
239
  case 0:
240
240
  this.e9_1 = 2;
241
241
  var tmp_0 = this;
242
- var tmp0_elvis_lhs = contentType(this.b49_1);
242
+ var tmp0_elvis_lhs = contentType(this.c49_1);
243
243
  var tmp_1;
244
244
  if (tmp0_elvis_lhs == null) {
245
245
  return null;
@@ -247,10 +247,10 @@
247
247
  tmp_1 = tmp0_elvis_lhs;
248
248
  }
249
249
 
250
- tmp_0.e49_1 = tmp_1;
251
- this.f49_1 = suitableCharset(get_request(this.b49_1).o2i());
250
+ tmp_0.f49_1 = tmp_1;
251
+ this.g49_1 = suitableCharset(get_request(this.c49_1).p2i());
252
252
  this.d9_1 = 1;
253
- suspendResult = invoke$convertResponse(this.x48_1, this.y48_1, this.z48_1, get_request(this.b49_1).c2x(), this.d49_1, this.c49_1, this.e49_1, this.f49_1, this);
253
+ suspendResult = invoke$convertResponse(this.y48_1, this.z48_1, this.a49_1, get_request(this.c49_1).d2x(), this.e49_1, this.d49_1, this.f49_1, this.g49_1, this);
254
254
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
255
255
  return suspendResult;
256
256
  }
@@ -272,33 +272,33 @@
272
272
  }
273
273
  while (true);
274
274
  };
275
- protoOf(ContentNegotiation$lambda$slambda_1).e3f = function ($this$transformResponseBody, response, body, info, completion) {
276
- var i = new ContentNegotiation$lambda$slambda_1(this.x48_1, this.y48_1, this.z48_1, completion);
277
- i.a49_1 = $this$transformResponseBody;
278
- i.b49_1 = response;
279
- i.c49_1 = body;
280
- i.d49_1 = info;
275
+ protoOf(ContentNegotiation$lambda$slambda_1).f3f = function ($this$transformResponseBody, response, body, info, completion) {
276
+ var i = new ContentNegotiation$lambda$slambda_1(this.y48_1, this.z48_1, this.a49_1, completion);
277
+ i.b49_1 = $this$transformResponseBody;
278
+ i.c49_1 = response;
279
+ i.d49_1 = body;
280
+ i.e49_1 = info;
281
281
  return i;
282
282
  };
283
283
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
284
284
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
285
285
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
286
- return i.d3f($this$transformResponseBody, response, body, info, $completion);
286
+ return i.e3f($this$transformResponseBody, response, body, info, $completion);
287
287
  };
288
288
  l.$arity = 4;
289
289
  return l;
290
290
  }
291
291
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
292
292
  _init_properties_ContentNegotiation_kt__o183go();
293
- return toString(it.f46_1);
293
+ return toString(it.g46_1);
294
294
  }
295
295
  function $invoke$convertRequestCOROUTINE$0(registrations, ignoredTypes, $this_createClientPlugin, request, body, resultContinuation) {
296
296
  CoroutineImpl.call(this, resultContinuation);
297
- this.v46_1 = registrations;
298
- this.w46_1 = ignoredTypes;
299
- this.x46_1 = $this_createClientPlugin;
300
- this.y46_1 = request;
301
- this.z46_1 = body;
297
+ this.w46_1 = registrations;
298
+ this.x46_1 = ignoredTypes;
299
+ this.y46_1 = $this_createClientPlugin;
300
+ this.z46_1 = request;
301
+ this.a47_1 = body;
302
302
  }
303
303
  protoOf($invoke$convertRequestCOROUTINE$0).l9 = function () {
304
304
  var suspendResult = this.f9_1;
@@ -308,27 +308,27 @@
308
308
  switch (tmp) {
309
309
  case 0:
310
310
  this.e9_1 = 7;
311
- var tmp0_iterator = this.v46_1.p();
311
+ var tmp0_iterator = this.w46_1.p();
312
312
  while (tmp0_iterator.q()) {
313
313
  var element = tmp0_iterator.r();
314
314
  l$ret$1: do {
315
- get_LOGGER().k2c('Adding Accept=' + element.g46_1.b2e_1 + ' header for ' + this.y46_1.q2u_1.toString());
316
- if (this.y46_1.s2u_1.g28(HttpHeaders_getInstance().l2e_1, element.g46_1.toString())) {
315
+ get_LOGGER().l2c('Adding Accept=' + element.h46_1.c2e_1 + ' header for ' + this.z46_1.r2u_1.toString());
316
+ if (this.z46_1.t2u_1.h28(HttpHeaders_getInstance().m2e_1, element.h46_1.toString())) {
317
317
  break l$ret$1;
318
318
  }
319
- accept(this.y46_1, element.g46_1);
319
+ accept(this.z46_1, element.h46_1);
320
320
  }
321
321
  while (false);
322
322
  }
323
323
 
324
324
  var tmp_0;
325
- var tmp_1 = this.z46_1;
325
+ var tmp_1 = this.a47_1;
326
326
  if (tmp_1 instanceof OutgoingContent) {
327
327
  tmp_0 = true;
328
328
  } else {
329
329
  var tmp$ret$2;
330
330
  l$ret$3: do {
331
- var this_0 = this.w46_1;
331
+ var this_0 = this.x46_1;
332
332
  var tmp_2;
333
333
  if (isInterface(this_0, Collection)) {
334
334
  tmp_2 = this_0.h();
@@ -342,7 +342,7 @@
342
342
  var tmp0_iterator_0 = this_0.p();
343
343
  while (tmp0_iterator_0.q()) {
344
344
  var element_0 = tmp0_iterator_0.r();
345
- if (element_0.wa(this.z46_1)) {
345
+ if (element_0.wa(this.a47_1)) {
346
346
  tmp$ret$2 = true;
347
347
  break l$ret$3;
348
348
  }
@@ -354,36 +354,36 @@
354
354
  }
355
355
 
356
356
  if (tmp_0) {
357
- get_LOGGER().k2c('Body type ' + toString(getKClassFromExpression(this.z46_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.y46_1.q2u_1.toString() + '.'));
357
+ get_LOGGER().l2c('Body type ' + toString(getKClassFromExpression(this.a47_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.z46_1.r2u_1.toString() + '.'));
358
358
  return null;
359
359
  }
360
360
 
361
361
  var tmp_3 = this;
362
- var tmp0_elvis_lhs = contentType_0(this.y46_1);
362
+ var tmp0_elvis_lhs = contentType_0(this.z46_1);
363
363
  var tmp_4;
364
364
  if (tmp0_elvis_lhs == null) {
365
- this.x46_1;
366
- get_LOGGER().k2c("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.y46_1.q2u_1.toString() + '.');
365
+ this.y46_1;
366
+ get_LOGGER().l2c("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.z46_1.r2u_1.toString() + '.');
367
367
  return null;
368
368
  } else {
369
369
  tmp_4 = tmp0_elvis_lhs;
370
370
  }
371
371
 
372
- tmp_3.a47_1 = tmp_4;
373
- var tmp_5 = this.z46_1;
372
+ tmp_3.b47_1 = tmp_4;
373
+ var tmp_5 = this.a47_1;
374
374
  if (tmp_5 instanceof Unit) {
375
- get_LOGGER().k2c('Sending empty body for ' + this.y46_1.q2u_1.toString());
376
- this.y46_1.s2u_1.m28(HttpHeaders_getInstance().d2f_1);
375
+ get_LOGGER().l2c('Sending empty body for ' + this.z46_1.r2u_1.toString());
376
+ this.z46_1.t2u_1.n28(HttpHeaders_getInstance().e2f_1);
377
377
  return EmptyContent_getInstance();
378
378
  }
379
379
 
380
380
  var tmp_6 = this;
381
- var this_1 = this.v46_1;
381
+ var this_1 = this.w46_1;
382
382
  var destination = ArrayList_init_$Create$();
383
383
  var tmp0_iterator_1 = this_1.p();
384
384
  while (tmp0_iterator_1.q()) {
385
385
  var element_1 = tmp0_iterator_1.r();
386
- if (element_1.h46_1.j46(this.a47_1)) {
386
+ if (element_1.i46_1.k46(this.b47_1)) {
387
387
  destination.k(element_1);
388
388
  }
389
389
  }
@@ -398,42 +398,42 @@
398
398
  var tmp1_elvis_lhs = tmp_7;
399
399
  var tmp_8;
400
400
  if (tmp1_elvis_lhs == null) {
401
- this.x46_1;
402
- get_LOGGER().k2c('None of the registered converters match request Content-Type=' + this.a47_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.y46_1.q2u_1.toString() + '.'));
401
+ this.y46_1;
402
+ get_LOGGER().l2c('None of the registered converters match request Content-Type=' + this.b47_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.z46_1.r2u_1.toString() + '.'));
403
403
  return null;
404
404
  } else {
405
405
  tmp_8 = tmp1_elvis_lhs;
406
406
  }
407
407
 
408
- tmp_6.b47_1 = tmp_8;
409
- if (this.y46_1.e3o() == null) {
410
- get_LOGGER().k2c('Request has unknown body type. Skipping ContentNegotiation for ' + this.y46_1.q2u_1.toString() + '.');
408
+ tmp_6.c47_1 = tmp_8;
409
+ if (this.z46_1.f3o() == null) {
410
+ get_LOGGER().l2c('Request has unknown body type. Skipping ContentNegotiation for ' + this.z46_1.r2u_1.toString() + '.');
411
411
  return null;
412
412
  }
413
413
 
414
- this.y46_1.s2u_1.m28(HttpHeaders_getInstance().d2f_1);
414
+ this.z46_1.t2u_1.n28(HttpHeaders_getInstance().e2f_1);
415
415
  this.d9_1 = 1;
416
416
  continue $sm;
417
417
  case 1:
418
418
  var tmp_9 = this;
419
- tmp_9.d47_1 = this.b47_1;
420
- this.e47_1 = this.d47_1.p();
419
+ tmp_9.e47_1 = this.c47_1;
420
+ this.f47_1 = this.e47_1.p();
421
421
  this.d9_1 = 2;
422
422
  continue $sm;
423
423
  case 2:
424
- if (!this.e47_1.q()) {
424
+ if (!this.f47_1.q()) {
425
425
  this.d9_1 = 5;
426
426
  continue $sm;
427
427
  }
428
428
 
429
- this.f47_1 = this.e47_1.r();
429
+ this.g47_1 = this.f47_1.r();
430
430
  var tmp_10 = this;
431
- tmp_10.g47_1 = this.f47_1;
431
+ tmp_10.h47_1 = this.g47_1;
432
432
  this.d9_1 = 3;
433
- var tmp0_elvis_lhs_0 = charset(this.a47_1);
434
- var tmp_11 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().o1k_1 : tmp0_elvis_lhs_0;
435
- var tmp_12 = ensureNotNull(this.y46_1.e3o());
436
- var this_2 = this.z46_1;
433
+ var tmp0_elvis_lhs_0 = charset(this.b47_1);
434
+ var tmp_11 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().p1k_1 : tmp0_elvis_lhs_0;
435
+ var tmp_12 = ensureNotNull(this.z46_1.f3o());
436
+ var this_2 = this.a47_1;
437
437
  var tmp_13;
438
438
  if (!equals(this_2, NullBody_instance)) {
439
439
  tmp_13 = this_2;
@@ -441,7 +441,7 @@
441
441
  tmp_13 = null;
442
442
  }
443
443
 
444
- suspendResult = this.g47_1.f46_1.g49(this.a47_1, tmp_11, tmp_12, tmp_13, this);
444
+ suspendResult = this.h47_1.g46_1.h49(this.b47_1, tmp_11, tmp_12, tmp_13, this);
445
445
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
446
446
  return suspendResult;
447
447
  }
@@ -450,12 +450,12 @@
450
450
  case 3:
451
451
  var result = suspendResult;
452
452
  if (!(result == null)) {
453
- get_LOGGER().k2c('Converted request body using ' + toString(this.g47_1.f46_1) + ' for ' + this.y46_1.q2u_1.toString());
453
+ get_LOGGER().l2c('Converted request body using ' + toString(this.h47_1.g46_1) + ' for ' + this.z46_1.r2u_1.toString());
454
454
  }
455
455
 
456
456
  var result_0 = result;
457
457
  if (!(result_0 == null)) {
458
- this.c47_1 = result_0;
458
+ this.d47_1 = result_0;
459
459
  this.d9_1 = 6;
460
460
  continue $sm;
461
461
  } else {
@@ -467,7 +467,7 @@
467
467
  this.d9_1 = 2;
468
468
  continue $sm;
469
469
  case 5:
470
- this.c47_1 = null;
470
+ this.d47_1 = null;
471
471
  if (false) {
472
472
  this.d9_1 = 1;
473
473
  continue $sm;
@@ -476,11 +476,11 @@
476
476
  this.d9_1 = 6;
477
477
  continue $sm;
478
478
  case 6:
479
- var tmp2_elvis_lhs = this.c47_1;
479
+ var tmp2_elvis_lhs = this.d47_1;
480
480
  var tmp_14;
481
481
  if (tmp2_elvis_lhs == null) {
482
- var tmp_15 = "Can't convert " + toString(this.z46_1) + ' with contentType ' + this.a47_1.toString() + ' using converters ';
483
- throw new ContentConverterException(tmp_15 + joinToString(this.b47_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
482
+ var tmp_15 = "Can't convert " + toString(this.a47_1) + ' with contentType ' + this.b47_1.toString() + ' using converters ';
483
+ throw new ContentConverterException(tmp_15 + joinToString(this.c47_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
484
484
  } else {
485
485
  tmp_14 = tmp2_elvis_lhs;
486
486
  }
@@ -503,14 +503,14 @@
503
503
  };
504
504
  function $invoke$convertResponseCOROUTINE$1(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
505
505
  CoroutineImpl.call(this, resultContinuation);
506
- this.p47_1 = ignoredTypes;
507
- this.q47_1 = registrations;
508
- this.r47_1 = $this_createClientPlugin;
509
- this.s47_1 = requestUrl;
510
- this.t47_1 = info;
511
- this.u47_1 = body;
512
- this.v47_1 = responseContentType;
513
- this.w47_1 = charset;
506
+ this.q47_1 = ignoredTypes;
507
+ this.r47_1 = registrations;
508
+ this.s47_1 = $this_createClientPlugin;
509
+ this.t47_1 = requestUrl;
510
+ this.u47_1 = info;
511
+ this.v47_1 = body;
512
+ this.w47_1 = responseContentType;
513
+ this.x47_1 = charset;
514
514
  }
515
515
  protoOf($invoke$convertResponseCOROUTINE$1).l9 = function () {
516
516
  var suspendResult = this.f9_1;
@@ -520,24 +520,24 @@
520
520
  switch (tmp) {
521
521
  case 0:
522
522
  this.e9_1 = 2;
523
- var tmp_0 = this.u47_1;
523
+ var tmp_0 = this.v47_1;
524
524
  if (!isInterface(tmp_0, ByteReadChannel)) {
525
- get_LOGGER().k2c('Response body is already transformed. Skipping ContentNegotiation for ' + this.s47_1.toString() + '.');
525
+ get_LOGGER().l2c('Response body is already transformed. Skipping ContentNegotiation for ' + this.t47_1.toString() + '.');
526
526
  return null;
527
527
  }
528
528
 
529
- if (this.p47_1.x1(this.t47_1.y2b_1)) {
530
- get_LOGGER().k2c('Response body type ' + toString(this.t47_1.y2b_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.s47_1.toString() + '.'));
529
+ if (this.q47_1.x1(this.u47_1.z2b_1)) {
530
+ get_LOGGER().l2c('Response body type ' + toString(this.u47_1.z2b_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.t47_1.toString() + '.'));
531
531
  return null;
532
532
  }
533
533
 
534
534
  var tmp_1 = this;
535
- var this_0 = this.q47_1;
535
+ var this_0 = this.r47_1;
536
536
  var destination = ArrayList_init_$Create$();
537
537
  var tmp0_iterator = this_0.p();
538
538
  while (tmp0_iterator.q()) {
539
539
  var element = tmp0_iterator.r();
540
- if (element.h46_1.j46(this.v47_1)) {
540
+ if (element.i46_1.k46(this.w47_1)) {
541
541
  destination.k(element);
542
542
  }
543
543
  }
@@ -546,7 +546,7 @@
546
546
  var tmp0_iterator_0 = destination.p();
547
547
  while (tmp0_iterator_0.q()) {
548
548
  var item = tmp0_iterator_0.r();
549
- destination_0.k(item.f46_1);
549
+ destination_0.k(item.g46_1);
550
550
  }
551
551
 
552
552
  var tmp_2;
@@ -559,16 +559,16 @@
559
559
  var tmp0_elvis_lhs = tmp_2;
560
560
  var tmp_3;
561
561
  if (tmp0_elvis_lhs == null) {
562
- this.r47_1;
563
- get_LOGGER().k2c('None of the registered converters match response with Content-Type=' + this.v47_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.s47_1.toString() + '.'));
562
+ this.s47_1;
563
+ get_LOGGER().l2c('None of the registered converters match response with Content-Type=' + this.w47_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.t47_1.toString() + '.'));
564
564
  return null;
565
565
  } else {
566
566
  tmp_3 = tmp0_elvis_lhs;
567
567
  }
568
568
 
569
- tmp_1.x47_1 = tmp_3;
569
+ tmp_1.y47_1 = tmp_3;
570
570
  this.d9_1 = 1;
571
- suspendResult = deserialize(this.x47_1, this.u47_1, this.t47_1, this.w47_1, this);
571
+ suspendResult = deserialize(this.y47_1, this.v47_1, this.u47_1, this.x47_1, this);
572
572
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
573
573
  return suspendResult;
574
574
  }
@@ -577,7 +577,7 @@
577
577
  case 1:
578
578
  var result = suspendResult;
579
579
  if (!isInterface(result, ByteReadChannel)) {
580
- get_LOGGER().k2c('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.s47_1.toString() + '.');
580
+ get_LOGGER().l2c('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.t47_1.toString() + '.');
581
581
  }
582
582
 
583
583
  return result;
@@ -607,11 +607,11 @@
607
607
  }
608
608
  function JsonContentTypeMatcher() {
609
609
  }
610
- protoOf(JsonContentTypeMatcher).j46 = function (contentType) {
611
- if (contentType.f2e(Application_getInstance().x2c_1)) {
610
+ protoOf(JsonContentTypeMatcher).k46 = function (contentType) {
611
+ if (contentType.g2e(Application_getInstance().y2c_1)) {
612
612
  return true;
613
613
  }
614
- var value = contentType.e2e().toString();
614
+ var value = contentType.f2e().toString();
615
615
  return startsWith(value, 'application/', true) && endsWith(value, '+json', true);
616
616
  };
617
617
  var JsonContentTypeMatcher_instance;
@@ -632,7 +632,7 @@
632
632
  }
633
633
  }
634
634
  //region block: post-declaration
635
- protoOf(ContentNegotiationConfig).n2q = register$default;
635
+ protoOf(ContentNegotiationConfig).o2q = register$default;
636
636
  //endregion
637
637
  //region block: init
638
638
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();