@solibo/home-api 1.1.21 → 1.1.22

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.
@@ -108,35 +108,35 @@ function get_ContentNegotiation() {
108
108
  }
109
109
  var ContentNegotiation;
110
110
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
111
- this.i4l_1 = converter;
112
- this.j4l_1 = contentTypeToSend;
113
- this.k4l_1 = contentTypeMatcher;
111
+ this.m4l_1 = converter;
112
+ this.n4l_1 = contentTypeToSend;
113
+ this.o4l_1 = contentTypeMatcher;
114
114
  }
115
115
  function defaultMatcher($this, pattern) {
116
116
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
117
117
  }
118
118
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
119
- this.l4l_1 = $pattern;
119
+ this.p4l_1 = $pattern;
120
120
  }
121
- protoOf(ContentNegotiationConfig$defaultMatcher$1).m4l = function (contentType) {
122
- return contentType.d2l(this.l4l_1);
121
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).q4l = function (contentType) {
122
+ return contentType.h2l(this.p4l_1);
123
123
  };
124
124
  function ContentNegotiationConfig() {
125
- this.n4l_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
125
+ this.r4l_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
126
126
  var tmp = this;
127
127
  // Inline function 'kotlin.collections.mutableListOf' call
128
- tmp.o4l_1 = ArrayList_init_$Create$();
129
- this.p4l_1 = null;
128
+ tmp.s4l_1 = ArrayList_init_$Create$();
129
+ this.t4l_1 = null;
130
130
  }
131
- protoOf(ContentNegotiationConfig).t3a = function (contentType, converter, configuration) {
132
- var matcher = contentType.d2l(Application_getInstance().j2j_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
133
- this.q4l(contentType, converter, matcher, configuration);
131
+ protoOf(ContentNegotiationConfig).x3a = function (contentType, converter, configuration) {
132
+ var matcher = contentType.h2l(Application_getInstance().n2j_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
133
+ this.u4l(contentType, converter, matcher, configuration);
134
134
  };
135
- protoOf(ContentNegotiationConfig).q4l = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
135
+ protoOf(ContentNegotiationConfig).u4l = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
136
136
  // Inline function 'kotlin.apply' call
137
137
  configuration(converter);
138
138
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
139
- this.o4l_1.e1(registration);
139
+ this.s4l_1.e1(registration);
140
140
  };
141
141
  function ContentConverterException(message) {
142
142
  Exception_init_$Init$(message, this);
@@ -151,15 +151,15 @@ function ContentNegotiationConfig$_init_$ref_1ne3ob() {
151
151
  }
152
152
  function ContentNegotiation$lambda($this$createClientPlugin) {
153
153
  _init_properties_ContentNegotiation_kt__o183go();
154
- var registrations = $this$createClientPlugin.i3n_1.o4l_1;
155
- var ignoredTypes = $this$createClientPlugin.i3n_1.n4l_1;
156
- $this$createClientPlugin.h45(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
157
- $this$createClientPlugin.u3v(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
154
+ var registrations = $this$createClientPlugin.m3n_1.s4l_1;
155
+ var ignoredTypes = $this$createClientPlugin.m3n_1.r4l_1;
156
+ $this$createClientPlugin.l45(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
157
+ $this$createClientPlugin.y3v(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
158
158
  return Unit_instance;
159
159
  }
160
160
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
161
161
  _init_properties_ContentNegotiation_kt__o183go();
162
- return toString(it.i4l_1);
162
+ return toString(it.m4l_1);
163
163
  }
164
164
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
165
165
  var tmp = new $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion);
@@ -175,22 +175,22 @@ function invoke$convertResponse(ignoredTypes, registrations, $this_createClientP
175
175
  return tmp.r8();
176
176
  }
177
177
  function ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
178
- this.i4n_1 = $registrations;
179
- this.j4n_1 = $this_createClientPlugin;
180
- this.k4n_1 = $ignoredTypes;
178
+ this.m4n_1 = $registrations;
179
+ this.n4n_1 = $this_createClientPlugin;
180
+ this.o4n_1 = $ignoredTypes;
181
181
  CoroutineImpl.call(this, resultContinuation);
182
182
  }
183
- protoOf(ContentNegotiation$lambda$slambda).p4n = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
184
- var tmp = this.q4n($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
183
+ protoOf(ContentNegotiation$lambda$slambda).t4n = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
184
+ var tmp = this.u4n($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
185
185
  tmp.l8_1 = Unit_instance;
186
186
  tmp.m8_1 = null;
187
187
  return tmp.r8();
188
188
  };
189
- protoOf(ContentNegotiation$lambda$slambda).z3w = function (p1, p2, p3, p4, $completion) {
189
+ protoOf(ContentNegotiation$lambda$slambda).d3x = function (p1, p2, p3, p4, $completion) {
190
190
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
191
191
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
192
192
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
193
- return this.p4n(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
193
+ return this.t4n(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
194
194
  };
195
195
  protoOf(ContentNegotiation$lambda$slambda).r8 = function () {
196
196
  var suspendResult = this.l8_1;
@@ -201,7 +201,7 @@ protoOf(ContentNegotiation$lambda$slambda).r8 = function () {
201
201
  case 0:
202
202
  this.k8_1 = 2;
203
203
  this.j8_1 = 1;
204
- suspendResult = invoke$convertRequest(this.i4n_1, this.j4n_1, this.k4n_1, this.m4n_1, this.n4n_1, this);
204
+ suspendResult = invoke$convertRequest(this.m4n_1, this.n4n_1, this.o4n_1, this.q4n_1, this.r4n_1, this);
205
205
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
206
206
  return suspendResult;
207
207
  }
@@ -223,39 +223,39 @@ protoOf(ContentNegotiation$lambda$slambda).r8 = function () {
223
223
  }
224
224
  while (true);
225
225
  };
226
- protoOf(ContentNegotiation$lambda$slambda).q4n = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
227
- var i = new ContentNegotiation$lambda$slambda(this.i4n_1, this.j4n_1, this.k4n_1, completion);
228
- i.l4n_1 = $this$transformRequestBody;
229
- i.m4n_1 = request;
230
- i.n4n_1 = body;
231
- i.o4n_1 = _unused_var__etf5q3;
226
+ protoOf(ContentNegotiation$lambda$slambda).u4n = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
227
+ var i = new ContentNegotiation$lambda$slambda(this.m4n_1, this.n4n_1, this.o4n_1, completion);
228
+ i.p4n_1 = $this$transformRequestBody;
229
+ i.q4n_1 = request;
230
+ i.r4n_1 = body;
231
+ i.s4n_1 = _unused_var__etf5q3;
232
232
  return i;
233
233
  };
234
234
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
235
235
  var i = new ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation);
236
236
  var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
237
- return i.p4n($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
237
+ return i.t4n($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
238
238
  };
239
239
  l.$arity = 4;
240
240
  return l;
241
241
  }
242
242
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
243
- this.z4n_1 = $ignoredTypes;
244
- this.a4o_1 = $registrations;
245
- this.b4o_1 = $this_createClientPlugin;
243
+ this.d4o_1 = $ignoredTypes;
244
+ this.e4o_1 = $registrations;
245
+ this.f4o_1 = $this_createClientPlugin;
246
246
  CoroutineImpl.call(this, resultContinuation);
247
247
  }
248
- protoOf(ContentNegotiation$lambda$slambda_1).x3w = function ($this$transformResponseBody, response, body, info, $completion) {
249
- var tmp = this.y3w($this$transformResponseBody, response, body, info, $completion);
248
+ protoOf(ContentNegotiation$lambda$slambda_1).b3x = function ($this$transformResponseBody, response, body, info, $completion) {
249
+ var tmp = this.c3x($this$transformResponseBody, response, body, info, $completion);
250
250
  tmp.l8_1 = Unit_instance;
251
251
  tmp.m8_1 = null;
252
252
  return tmp.r8();
253
253
  };
254
- protoOf(ContentNegotiation$lambda$slambda_1).z3w = function (p1, p2, p3, p4, $completion) {
254
+ protoOf(ContentNegotiation$lambda$slambda_1).d3x = function (p1, p2, p3, p4, $completion) {
255
255
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
256
256
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
257
257
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
258
- return this.x3w(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
258
+ return this.b3x(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
259
259
  };
260
260
  protoOf(ContentNegotiation$lambda$slambda_1).r8 = function () {
261
261
  var suspendResult = this.l8_1;
@@ -265,7 +265,7 @@ protoOf(ContentNegotiation$lambda$slambda_1).r8 = function () {
265
265
  switch (tmp) {
266
266
  case 0:
267
267
  this.k8_1 = 2;
268
- var tmp0_elvis_lhs = contentType(this.d4o_1);
268
+ var tmp0_elvis_lhs = contentType(this.h4o_1);
269
269
  var tmp_0;
270
270
  if (tmp0_elvis_lhs == null) {
271
271
  return null;
@@ -274,9 +274,9 @@ protoOf(ContentNegotiation$lambda$slambda_1).r8 = function () {
274
274
  }
275
275
 
276
276
  var contentType_0 = tmp_0;
277
- var charset = suitableCharset(get_request(this.d4o_1).n2p());
277
+ var charset = suitableCharset(get_request(this.h4o_1).r2p());
278
278
  this.j8_1 = 1;
279
- suspendResult = invoke$convertResponse(this.z4n_1, this.a4o_1, this.b4o_1, get_request(this.d4o_1).k3g(), this.f4o_1, this.e4o_1, contentType_0, charset, this);
279
+ suspendResult = invoke$convertResponse(this.d4o_1, this.e4o_1, this.f4o_1, get_request(this.h4o_1).o3g(), this.j4o_1, this.i4o_1, contentType_0, charset, this);
280
280
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
281
281
  return suspendResult;
282
282
  }
@@ -298,29 +298,29 @@ protoOf(ContentNegotiation$lambda$slambda_1).r8 = function () {
298
298
  }
299
299
  while (true);
300
300
  };
301
- protoOf(ContentNegotiation$lambda$slambda_1).y3w = function ($this$transformResponseBody, response, body, info, completion) {
302
- var i = new ContentNegotiation$lambda$slambda_1(this.z4n_1, this.a4o_1, this.b4o_1, completion);
303
- i.c4o_1 = $this$transformResponseBody;
304
- i.d4o_1 = response;
305
- i.e4o_1 = body;
306
- i.f4o_1 = info;
301
+ protoOf(ContentNegotiation$lambda$slambda_1).c3x = function ($this$transformResponseBody, response, body, info, completion) {
302
+ var i = new ContentNegotiation$lambda$slambda_1(this.d4o_1, this.e4o_1, this.f4o_1, completion);
303
+ i.g4o_1 = $this$transformResponseBody;
304
+ i.h4o_1 = response;
305
+ i.i4o_1 = body;
306
+ i.j4o_1 = info;
307
307
  return i;
308
308
  };
309
309
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
310
310
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
311
311
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
312
- return i.x3w($this$transformResponseBody, response, body, info, $completion);
312
+ return i.b3x($this$transformResponseBody, response, body, info, $completion);
313
313
  };
314
314
  l.$arity = 4;
315
315
  return l;
316
316
  }
317
317
  function $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, resultContinuation) {
318
318
  CoroutineImpl.call(this, resultContinuation);
319
- this.z4l_1 = registrations;
320
- this.a4m_1 = $this_createClientPlugin;
321
- this.b4m_1 = ignoredTypes;
322
- this.c4m_1 = request;
323
- this.d4m_1 = body;
319
+ this.d4m_1 = registrations;
320
+ this.e4m_1 = $this_createClientPlugin;
321
+ this.f4m_1 = ignoredTypes;
322
+ this.g4m_1 = request;
323
+ this.h4m_1 = body;
324
324
  }
325
325
  protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
326
326
  var suspendResult = this.l8_1;
@@ -331,9 +331,9 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
331
331
  case 0:
332
332
  this.k8_1 = 7;
333
333
  var tmp_0;
334
- if (this.c4m_1.x3e_1.u2c(get_ExcludedContentTypes())) {
335
- var excluded = this.c4m_1.x3e_1.s2c(get_ExcludedContentTypes());
336
- var tmp0 = this.z4l_1;
334
+ if (this.g4m_1.b3f_1.y2c(get_ExcludedContentTypes())) {
335
+ var excluded = this.g4m_1.b3f_1.w2c(get_ExcludedContentTypes());
336
+ var tmp0 = this.d4m_1;
337
337
  var destination = ArrayList_init_$Create$();
338
338
  var _iterator__ex2g4s = tmp0.t();
339
339
  while (_iterator__ex2g4s.u()) {
@@ -353,7 +353,7 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
353
353
  var _iterator__ex2g4s_0 = excluded.t();
354
354
  while (_iterator__ex2g4s_0.u()) {
355
355
  var element_0 = _iterator__ex2g4s_0.v();
356
- if (element.j4l_1.d2l(element_0)) {
356
+ if (element.n4l_1.h2l(element_0)) {
357
357
  tmp$ret$0 = false;
358
358
  break l$ret$1;
359
359
  }
@@ -367,11 +367,11 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
367
367
  }
368
368
  tmp_0 = destination;
369
369
  } else {
370
- tmp_0 = this.z4l_1;
370
+ tmp_0 = this.d4m_1;
371
371
  }
372
372
 
373
373
  var requestRegistrations = tmp_0;
374
- var tmp0_elvis_lhs = this.c4m_1.u3e_1.l2e('Accept');
374
+ var tmp0_elvis_lhs = this.g4m_1.y3e_1.p2e('Accept');
375
375
  var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
376
376
  var _iterator__ex2g4s_1 = requestRegistrations.t();
377
377
  while (_iterator__ex2g4s_1.u()) {
@@ -391,7 +391,7 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
391
391
  var _iterator__ex2g4s_2 = acceptHeaders.t();
392
392
  while (_iterator__ex2g4s_2.u()) {
393
393
  var element_2 = _iterator__ex2g4s_2.v();
394
- if (Companion_getInstance().gm(element_2).d2l(element_1.j4l_1)) {
394
+ if (Companion_getInstance().gm(element_2).h2l(element_1.n4l_1)) {
395
395
  tmp$ret$2 = false;
396
396
  break l$ret$3;
397
397
  }
@@ -400,19 +400,19 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
400
400
  }
401
401
  while (false);
402
402
  if (tmp$ret$2) {
403
- var qValue = this.a4m_1.i3n_1.p4l_1;
404
- var contentTypeToSend = qValue == null ? element_1.j4l_1 : element_1.j4l_1.b2l('q', qValue.toString());
405
- get_LOGGER().r2i('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.c4m_1.s3e_1.toString());
406
- accept(this.c4m_1, contentTypeToSend);
403
+ var qValue = this.e4m_1.m3n_1.t4l_1;
404
+ var contentTypeToSend = qValue == null ? element_1.n4l_1 : element_1.n4l_1.f2l('q', qValue.toString());
405
+ get_LOGGER().v2i('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.g4m_1.w3e_1.toString());
406
+ accept(this.g4m_1, contentTypeToSend);
407
407
  }
408
408
  }
409
409
 
410
410
  var tmp_3;
411
- var tmp_4 = this.d4m_1;
411
+ var tmp_4 = this.h4m_1;
412
412
  if (tmp_4 instanceof OutgoingContent) {
413
413
  tmp_3 = true;
414
414
  } else {
415
- var tmp0_0 = this.b4m_1;
415
+ var tmp0_0 = this.f4m_1;
416
416
  var tmp$ret$4;
417
417
  l$ret$5: do {
418
418
  var tmp_5;
@@ -428,7 +428,7 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
428
428
  var _iterator__ex2g4s_3 = tmp0_0.t();
429
429
  while (_iterator__ex2g4s_3.u()) {
430
430
  var element_3 = _iterator__ex2g4s_3.v();
431
- if (element_3.na(this.d4m_1)) {
431
+ if (element_3.na(this.h4m_1)) {
432
432
  tmp$ret$4 = true;
433
433
  break l$ret$5;
434
434
  }
@@ -440,36 +440,36 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
440
440
  }
441
441
 
442
442
  if (tmp_3) {
443
- get_LOGGER().r2i('Body type ' + toString(getKClassFromExpression(this.d4m_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.c4m_1.s3e_1.toString() + '.'));
443
+ get_LOGGER().v2i('Body type ' + toString(getKClassFromExpression(this.h4m_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.g4m_1.w3e_1.toString() + '.'));
444
444
  return null;
445
445
  }
446
446
 
447
447
  var tmp_6 = this;
448
- var tmp0_elvis_lhs_0 = contentType_0(this.c4m_1);
448
+ var tmp0_elvis_lhs_0 = contentType_0(this.g4m_1);
449
449
  var tmp_7;
450
450
  if (tmp0_elvis_lhs_0 == null) {
451
- this.a4m_1;
452
- get_LOGGER().r2i("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.c4m_1.s3e_1.toString() + '.');
451
+ this.e4m_1;
452
+ get_LOGGER().v2i("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.g4m_1.w3e_1.toString() + '.');
453
453
  return null;
454
454
  } else {
455
455
  tmp_7 = tmp0_elvis_lhs_0;
456
456
  }
457
457
 
458
- tmp_6.f4m_1 = tmp_7;
459
- var tmp_8 = this.d4m_1;
458
+ tmp_6.j4m_1 = tmp_7;
459
+ var tmp_8 = this.h4m_1;
460
460
  if (tmp_8 instanceof Unit) {
461
- get_LOGGER().r2i('Sending empty body for ' + this.c4m_1.s3e_1.toString());
462
- this.c4m_1.u3e_1.v2e('Content-Type');
461
+ get_LOGGER().v2i('Sending empty body for ' + this.g4m_1.w3e_1.toString());
462
+ this.g4m_1.y3e_1.z2e('Content-Type');
463
463
  return EmptyContent_getInstance();
464
464
  }
465
465
 
466
466
  var tmp_9 = this;
467
- var tmp0_1 = this.z4l_1;
467
+ var tmp0_1 = this.d4m_1;
468
468
  var destination_0 = ArrayList_init_$Create$();
469
469
  var _iterator__ex2g4s_4 = tmp0_1.t();
470
470
  while (_iterator__ex2g4s_4.u()) {
471
471
  var element_4 = _iterator__ex2g4s_4.v();
472
- if (element_4.k4l_1.m4l(this.f4m_1)) {
472
+ if (element_4.o4l_1.q4l(this.j4m_1)) {
473
473
  destination_0.e1(element_4);
474
474
  }
475
475
  }
@@ -484,40 +484,40 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
484
484
  var tmp1_elvis_lhs = tmp_10;
485
485
  var tmp_11;
486
486
  if (tmp1_elvis_lhs == null) {
487
- this.a4m_1;
488
- get_LOGGER().r2i('None of the registered converters match request Content-Type=' + this.f4m_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.c4m_1.s3e_1.toString() + '.'));
487
+ this.e4m_1;
488
+ get_LOGGER().v2i('None of the registered converters match request Content-Type=' + this.j4m_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.g4m_1.w3e_1.toString() + '.'));
489
489
  return null;
490
490
  } else {
491
491
  tmp_11 = tmp1_elvis_lhs;
492
492
  }
493
493
 
494
- tmp_9.e4m_1 = tmp_11;
495
- if (this.c4m_1.p47() == null) {
496
- get_LOGGER().r2i('Request has unknown body type. Skipping ContentNegotiation for ' + this.c4m_1.s3e_1.toString() + '.');
494
+ tmp_9.i4m_1 = tmp_11;
495
+ if (this.g4m_1.t47() == null) {
496
+ get_LOGGER().v2i('Request has unknown body type. Skipping ContentNegotiation for ' + this.g4m_1.w3e_1.toString() + '.');
497
497
  return null;
498
498
  }
499
499
 
500
- this.c4m_1.u3e_1.v2e('Content-Type');
501
- this.j4m_1 = this.e4m_1;
500
+ this.g4m_1.y3e_1.z2e('Content-Type');
501
+ this.n4m_1 = this.i4m_1;
502
502
  this.j8_1 = 1;
503
503
  continue $sm;
504
504
  case 1:
505
- this.i4m_1 = this.j4m_1.t();
505
+ this.m4m_1 = this.n4m_1.t();
506
506
  this.j8_1 = 2;
507
507
  continue $sm;
508
508
  case 2:
509
- if (!this.i4m_1.u()) {
509
+ if (!this.m4m_1.u()) {
510
510
  this.j8_1 = 5;
511
511
  continue $sm;
512
512
  }
513
513
 
514
- var element_5 = this.i4m_1.v();
515
- this.h4m_1 = element_5;
514
+ var element_5 = this.m4m_1.v();
515
+ this.l4m_1 = element_5;
516
516
  this.j8_1 = 3;
517
- var tmp0_elvis_lhs_1 = charset(this.f4m_1);
517
+ var tmp0_elvis_lhs_1 = charset(this.j4m_1);
518
518
  var tmp_12 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().w1q_1 : tmp0_elvis_lhs_1;
519
- var tmp_13 = ensureNotNull(this.c4m_1.p47());
520
- var this_0 = this.d4m_1;
519
+ var tmp_13 = ensureNotNull(this.g4m_1.t47());
520
+ var this_0 = this.h4m_1;
521
521
  var tmp_14;
522
522
  if (!equals(this_0, NullBody_instance)) {
523
523
  tmp_14 = this_0;
@@ -525,7 +525,7 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
525
525
  tmp_14 = null;
526
526
  }
527
527
 
528
- suspendResult = this.h4m_1.i4l_1.g4o(this.f4m_1, tmp_12, tmp_13, tmp_14, this);
528
+ suspendResult = this.l4m_1.m4l_1.k4o(this.j4m_1, tmp_12, tmp_13, tmp_14, this);
529
529
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
530
530
  return suspendResult;
531
531
  }
@@ -534,12 +534,12 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
534
534
  case 3:
535
535
  var result = suspendResult;
536
536
  if (!(result == null)) {
537
- get_LOGGER().r2i('Converted request body using ' + toString(this.h4m_1.i4l_1) + ' for ' + this.c4m_1.s3e_1.toString());
537
+ get_LOGGER().v2i('Converted request body using ' + toString(this.l4m_1.m4l_1) + ' for ' + this.g4m_1.w3e_1.toString());
538
538
  }
539
539
 
540
540
  var result_0 = result;
541
541
  if (!(result_0 == null)) {
542
- this.g4m_1 = result_0;
542
+ this.k4m_1 = result_0;
543
543
  this.j8_1 = 6;
544
544
  continue $sm;
545
545
  } else {
@@ -551,7 +551,7 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
551
551
  this.j8_1 = 2;
552
552
  continue $sm;
553
553
  case 5:
554
- this.g4m_1 = null;
554
+ this.k4m_1 = null;
555
555
  if (false) {
556
556
  this.j8_1 = 1;
557
557
  continue $sm;
@@ -560,11 +560,11 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
560
560
  this.j8_1 = 6;
561
561
  continue $sm;
562
562
  case 6:
563
- var tmp2_elvis_lhs = this.g4m_1;
563
+ var tmp2_elvis_lhs = this.k4m_1;
564
564
  var tmp_15;
565
565
  if (tmp2_elvis_lhs == null) {
566
- var tmp_16 = "Can't convert " + toString(this.d4m_1) + ' with contentType ' + this.f4m_1.toString() + ' using converters ';
567
- throw new ContentConverterException(tmp_16 + joinToString(this.e4m_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
566
+ var tmp_16 = "Can't convert " + toString(this.h4m_1) + ' with contentType ' + this.j4m_1.toString() + ' using converters ';
567
+ throw new ContentConverterException(tmp_16 + joinToString(this.i4m_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
568
568
  } else {
569
569
  tmp_15 = tmp2_elvis_lhs;
570
570
  }
@@ -587,14 +587,14 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
587
587
  };
588
588
  function $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
589
589
  CoroutineImpl.call(this, resultContinuation);
590
- this.s4m_1 = ignoredTypes;
591
- this.t4m_1 = registrations;
592
- this.u4m_1 = $this_createClientPlugin;
593
- this.v4m_1 = requestUrl;
594
- this.w4m_1 = info;
595
- this.x4m_1 = body;
596
- this.y4m_1 = responseContentType;
597
- this.z4m_1 = charset;
590
+ this.w4m_1 = ignoredTypes;
591
+ this.x4m_1 = registrations;
592
+ this.y4m_1 = $this_createClientPlugin;
593
+ this.z4m_1 = requestUrl;
594
+ this.a4n_1 = info;
595
+ this.b4n_1 = body;
596
+ this.c4n_1 = responseContentType;
597
+ this.d4n_1 = charset;
598
598
  }
599
599
  protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
600
600
  var suspendResult = this.l8_1;
@@ -604,23 +604,23 @@ protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
604
604
  switch (tmp) {
605
605
  case 0:
606
606
  this.k8_1 = 2;
607
- var tmp_0 = this.x4m_1;
607
+ var tmp_0 = this.b4n_1;
608
608
  if (!isInterface(tmp_0, ByteReadChannel)) {
609
- get_LOGGER().r2i('Response body is already transformed. Skipping ContentNegotiation for ' + this.v4m_1.toString() + '.');
609
+ get_LOGGER().v2i('Response body is already transformed. Skipping ContentNegotiation for ' + this.z4m_1.toString() + '.');
610
610
  return null;
611
611
  }
612
612
 
613
- if (this.s4m_1.h2(this.w4m_1.k2i_1)) {
614
- get_LOGGER().r2i('Response body type ' + toString(this.w4m_1.k2i_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.v4m_1.toString() + '.'));
613
+ if (this.w4m_1.h2(this.a4n_1.o2i_1)) {
614
+ get_LOGGER().v2i('Response body type ' + toString(this.a4n_1.o2i_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.z4m_1.toString() + '.'));
615
615
  return null;
616
616
  }
617
617
 
618
- var tmp0 = this.t4m_1;
618
+ var tmp0 = this.x4m_1;
619
619
  var destination = ArrayList_init_$Create$();
620
620
  var _iterator__ex2g4s = tmp0.t();
621
621
  while (_iterator__ex2g4s.u()) {
622
622
  var element = _iterator__ex2g4s.v();
623
- if (element.k4l_1.m4l(this.y4m_1)) {
623
+ if (element.o4l_1.q4l(this.c4n_1)) {
624
624
  destination.e1(element);
625
625
  }
626
626
  }
@@ -629,7 +629,7 @@ protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
629
629
  var _iterator__ex2g4s_0 = destination.t();
630
630
  while (_iterator__ex2g4s_0.u()) {
631
631
  var item = _iterator__ex2g4s_0.v();
632
- destination_0.e1(item.i4l_1);
632
+ destination_0.e1(item.m4l_1);
633
633
  }
634
634
 
635
635
  var tmp_1;
@@ -642,8 +642,8 @@ protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
642
642
  var tmp0_elvis_lhs = tmp_1;
643
643
  var tmp_2;
644
644
  if (tmp0_elvis_lhs == null) {
645
- this.u4m_1;
646
- get_LOGGER().r2i('None of the registered converters match response with Content-Type=' + this.y4m_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.v4m_1.toString() + '.'));
645
+ this.y4m_1;
646
+ get_LOGGER().v2i('None of the registered converters match response with Content-Type=' + this.c4n_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.z4m_1.toString() + '.'));
647
647
  return null;
648
648
  } else {
649
649
  tmp_2 = tmp0_elvis_lhs;
@@ -651,7 +651,7 @@ protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
651
651
 
652
652
  var suitableConverters = tmp_2;
653
653
  this.j8_1 = 1;
654
- suspendResult = deserialize(suitableConverters, this.x4m_1, this.w4m_1, this.z4m_1, this);
654
+ suspendResult = deserialize(suitableConverters, this.b4n_1, this.a4n_1, this.d4n_1, this);
655
655
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
656
656
  return suspendResult;
657
657
  }
@@ -660,7 +660,7 @@ protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
660
660
  case 1:
661
661
  var result = suspendResult;
662
662
  if (!isInterface(result, ByteReadChannel)) {
663
- get_LOGGER().r2i('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.v4m_1.toString() + '.');
663
+ get_LOGGER().v2i('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.z4m_1.toString() + '.');
664
664
  }
665
665
 
666
666
  return result;
@@ -711,12 +711,12 @@ function _init_properties_ContentNegotiation_kt__o183go() {
711
711
  }
712
712
  function JsonContentTypeMatcher() {
713
713
  }
714
- protoOf(JsonContentTypeMatcher).m4l = function (contentType) {
715
- if (contentType.d2l(Application_getInstance().j2j_1)) {
714
+ protoOf(JsonContentTypeMatcher).q4l = function (contentType) {
715
+ if (contentType.h2l(Application_getInstance().n2j_1)) {
716
716
  return true;
717
717
  }
718
- var value = contentType.c2l().toString();
719
- return Application_getInstance().d2k(value) && endsWith(value, '+json', true);
718
+ var value = contentType.g2l().toString();
719
+ return Application_getInstance().h2k(value) && endsWith(value, '+json', true);
720
720
  };
721
721
  var JsonContentTypeMatcher_instance;
722
722
  function JsonContentTypeMatcher_getInstance() {
@@ -736,7 +736,7 @@ function _init_properties_DefaultIgnoredTypes_web_kt__6eddjw() {
736
736
  }
737
737
  }
738
738
  //region block: post-declaration
739
- protoOf(ContentNegotiationConfig).u3a = register$default;
739
+ protoOf(ContentNegotiationConfig).y3a = register$default;
740
740
  //endregion
741
741
  //region block: init
742
742
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();