@solibo/home-api 1.16.17 → 1.16.18

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 (55) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +964 -960
  2. package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -1
  3. package/MultiplatformSettings-multiplatform-settings-no-arg.mjs.map +1 -1
  4. package/MultiplatformSettings-multiplatform-settings.mjs.map +1 -1
  5. package/kotlin-kotlin-stdlib.mjs +3712 -3533
  6. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  7. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -1
  8. package/kotlinx-atomicfu.mjs +13 -13
  9. package/kotlinx-atomicfu.mjs.map +1 -1
  10. package/kotlinx-browser.mjs.map +1 -1
  11. package/kotlinx-coroutines-core.mjs +2054 -2054
  12. package/kotlinx-coroutines-core.mjs.map +1 -1
  13. package/kotlinx-io-kotlinx-io-bytestring.mjs +57 -57
  14. package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
  15. package/kotlinx-io-kotlinx-io-core.mjs +519 -519
  16. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  17. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2285 -2286
  18. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  19. package/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -1
  20. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1713 -1711
  21. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  22. package/ktor-ktor-client-auth.mjs.map +1 -1
  23. package/ktor-ktor-client-content-negotiation.mjs +452 -292
  24. package/ktor-ktor-client-content-negotiation.mjs.map +1 -1
  25. package/ktor-ktor-client-core.mjs +3486 -3378
  26. package/ktor-ktor-client-core.mjs.map +1 -1
  27. package/ktor-ktor-client-encoding.mjs.map +1 -1
  28. package/ktor-ktor-client-logging.mjs.map +1 -1
  29. package/ktor-ktor-client-websockets.mjs.map +1 -1
  30. package/ktor-ktor-events.mjs +7 -7
  31. package/ktor-ktor-events.mjs.map +1 -1
  32. package/ktor-ktor-http-cio.mjs +581 -581
  33. package/ktor-ktor-http-cio.mjs.map +1 -1
  34. package/ktor-ktor-http.mjs +1231 -1174
  35. package/ktor-ktor-http.mjs.map +1 -1
  36. package/ktor-ktor-io.mjs +1172 -1223
  37. package/ktor-ktor-io.mjs.map +1 -1
  38. package/ktor-ktor-openapi-schema.mjs +84 -0
  39. package/ktor-ktor-openapi-schema.mjs.map +1 -0
  40. package/ktor-ktor-serialization-kotlinx-json.mjs +9 -9
  41. package/ktor-ktor-serialization-kotlinx-json.mjs.map +1 -1
  42. package/ktor-ktor-serialization-kotlinx.mjs +216 -226
  43. package/ktor-ktor-serialization-kotlinx.mjs.map +1 -1
  44. package/ktor-ktor-serialization.mjs +111 -116
  45. package/ktor-ktor-serialization.mjs.map +1 -1
  46. package/ktor-ktor-sse.mjs.map +1 -1
  47. package/ktor-ktor-utils.mjs +1037 -983
  48. package/ktor-ktor-utils.mjs.map +1 -1
  49. package/ktor-ktor-websocket-serialization.mjs.map +1 -1
  50. package/ktor-ktor-websockets.mjs +925 -911
  51. package/ktor-ktor-websockets.mjs.map +1 -1
  52. package/package.json +1 -1
  53. package/solibo-sdk-sdk-home-api.d.mts +46 -46
  54. package/solibo-sdk-sdk-home-api.mjs +98430 -97370
  55. package/solibo-sdk-sdk-home-api.mjs.map +1 -1
@@ -8,46 +8,68 @@ import {
8
8
  endsWith3cq61xxngobwh as endsWith,
9
9
  plus1ogy4liedzq5j as plus,
10
10
  toMutableSetjdpdbr9jsqq8 as toMutableSet,
11
- ArrayList_init_$Create$1z3aa4voswqq as ArrayList_init_$Create$,
12
- Unit_instance3vdlo4e4f5ggx as Unit_instance,
11
+ ArrayList_init_$Create$2xrifdqz5xirg as ArrayList_init_$Create$,
12
+ Unit_instance3kz1zqli6gr1r as Unit_instance,
13
13
  VOID3gxj6tk5isa35 as VOID,
14
+ equals2au1ep9vhcato as equals,
15
+ FunctionAdapter3lcrrz3moet5b as FunctionAdapter,
16
+ isInterface3d6p8outrmvmk as isInterface,
17
+ hashCodeq5arwsb9dgti as hashCode,
18
+ asSequence2phdjljfh9jhx as asSequence,
19
+ flatMap1gb3cjy1dqv3d as flatMap,
20
+ filter184huxd00uyfg as filter,
21
+ emptySequence25zpp7hgtqwdd as emptySequence,
22
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
23
+ initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
14
24
  Exceptiondt2hlxn7j7vw as Exception,
15
- Exception_init_$Init$1ksq2fk0jxaag as Exception_init_$Init$,
25
+ Exception_init_$Init$aq0gqtvnezdz as Exception_init_$Init$,
16
26
  captureStack1fzi4aczwc4hg as captureStack,
17
27
  toString1pkumu07cwy4m as toString,
18
28
  CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
19
29
  THROW_CCE2g6jy02ryeudk as THROW_CCE,
20
30
  get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
21
31
  initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
22
- isInterface3d6p8outrmvmk as isInterface,
23
32
  Collection1k04j3hzsbod0 as Collection,
24
33
  emptyList1g2z5xcrvp2zy as emptyList,
34
+ collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
35
+ ArrayList_init_$Create$a978fvbbts3d as ArrayList_init_$Create$_0,
25
36
  getKClassFromExpression348iqjl4fnx2f as getKClassFromExpression,
26
37
  Unitkvevlwgzwiuc as Unit,
27
38
  ensureNotNull1e947j3ixpazm as ensureNotNull,
28
- equals2au1ep9vhcato as equals,
29
39
  joinToString1cxrrlmo0chqs as joinToString,
30
40
  initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
31
- collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
32
- ArrayList_init_$Create$3o344dm0ee4ws as ArrayList_init_$Create$_0,
33
41
  to2cs3ny02qtbcb as to,
34
42
  mapOf1xd03cq9cnmy8 as mapOf,
35
- PrimitiveClasses_getInstance143761yrsca9q as PrimitiveClasses_getInstance,
43
+ PrimitiveClasses_getInstance13wbaztpz3e2d as PrimitiveClasses_getInstance,
36
44
  getKClass3t8tygqu4lcxf as getKClass,
37
45
  setOf45ia9pnfhe90 as setOf,
38
46
  KtList3hktaavzmj137 as KtList,
39
47
  arrayOf1akklvh2at202 as arrayOf,
40
48
  createKType31ecntyyaay3k as createKType,
41
49
  createInvariantKTypeProjection3h5364czc0a8w as createInvariantKTypeProjection,
42
- LinkedHashSet_init_$Create$2y9omcalkfydw as LinkedHashSet_init_$Create$,
50
+ LinkedHashSet_init_$Create$vv7nkva6wxy5 as LinkedHashSet_init_$Create$,
43
51
  } from './kotlin-kotlin-stdlib.mjs';
44
52
  import {
45
- register$default1k5lce5zfzlxr as register$default,
53
+ register$default2ko31hm484mcz as register$default,
46
54
  Configuration20xgygxdzhlk5 as Configuration,
47
- deserializedbfwk7upcilb as deserialize,
55
+ deserialize3e6u4ptep3aeu as deserialize,
48
56
  } from './ktor-ktor-serialization.mjs';
49
57
  import {
50
- Charsets_getInstance3jooo7e4x0j2x as Charsets_getInstance,
58
+ parseHeaderValuealpos28fgp6t as parseHeaderValue,
59
+ Companion_getInstance2mdqh2piyf0f8 as Companion_getInstance,
60
+ ContentType_init_$Create$ziwsiybilmbs as ContentType_init_$Create$,
61
+ BadContentTypeFormatException2lqc4nmtnbgvk as BadContentTypeFormatException,
62
+ contentType317fn4f991q9a as contentType,
63
+ charset1dribv3ku48b1 as charset,
64
+ OutgoingContent3t2ohmyam9o76 as OutgoingContent,
65
+ contentType2zzm38yxo3syt as contentType_0,
66
+ NullBody_instance22vwyocs8eppk as NullBody_instance,
67
+ Application_getInstance3vhi2qmce4cj0 as Application_getInstance,
68
+ HttpStatusCode3o1wkms10pg4k as HttpStatusCode,
69
+ ContentType1svlpabm9v7iz as ContentType,
70
+ } from './ktor-ktor-http.mjs';
71
+ import {
72
+ Charsets_getInstancezrqwjk0yrlyw as Charsets_getInstance,
51
73
  ByteReadChannel2wzou76jce72d as ByteReadChannel,
52
74
  } from './ktor-ktor-io.mjs';
53
75
  import {
@@ -57,34 +79,27 @@ import {
57
79
  HttpResponse1532ob1hsse1y as HttpResponse,
58
80
  get_request3dwcif5y0fvf1 as get_request,
59
81
  accept2gi3b7wj4jds9 as accept,
60
- EmptyContent_getInstance3hxw2ytgkcdf2 as EmptyContent_getInstance,
82
+ EmptyContent_getInstance1v4yj3cymlz7 as EmptyContent_getInstance,
61
83
  ClientSSESession332rusa1q4gim as ClientSSESession,
62
84
  ClientSSESessionWithDeserialization37nab8162l18r as ClientSSESessionWithDeserialization,
63
85
  createClientPluginjwpvufjows5r as createClientPlugin,
64
86
  } from './ktor-ktor-client-core.mjs';
65
87
  import {
66
88
  TypeInfo2nbxsuf4v8os2 as TypeInfo,
89
+ get_isTraceEnabled82xibuu04nxp as get_isTraceEnabled,
67
90
  KtorSimpleLogger1xdphsp5l4e48 as KtorSimpleLogger,
68
91
  AttributeKey3aq8ytwgx54f7 as AttributeKey,
69
92
  } from './ktor-ktor-utils.mjs';
70
- import {
71
- contentType317fn4f991q9a as contentType,
72
- charset1dribv3ku48b1 as charset,
73
- Companion_getInstance3eu9tsw6r4gc4 as Companion_getInstance,
74
- OutgoingContent3t2ohmyam9o76 as OutgoingContent,
75
- contentType2zzm38yxo3syt as contentType_0,
76
- NullBody_instanceyfq32eqie90j as NullBody_instance,
77
- Application_getInstance17ubdrb0i0ohu as Application_getInstance,
78
- ContentType_init_$Create$3oxsmr7ljnxbz as ContentType_init_$Create$,
79
- HttpStatusCode3o1wkms10pg4k as HttpStatusCode,
80
- ContentType1svlpabm9v7iz as ContentType,
81
- } from './ktor-ktor-http.mjs';
82
93
  //region block: imports
83
94
  //endregion
84
95
  //region block: pre-declaration
85
96
  initMetadataForClass(ConverterRegistration, 'ConverterRegistration');
86
97
  initMetadataForClass(ContentNegotiationConfig$defaultMatcher$1);
87
98
  initMetadataForClass(ContentNegotiationConfig, 'ContentNegotiationConfig', ContentNegotiationConfig, VOID, [Configuration]);
99
+ initMetadataForInterface(ContentTypeMergeStrategy, 'ContentTypeMergeStrategy');
100
+ initMetadataForClass(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0, 'sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0', VOID, VOID, [ContentTypeMergeStrategy, FunctionAdapter]);
101
+ initMetadataForClass(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0_0, 'sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0', VOID, VOID, [ContentTypeMergeStrategy, FunctionAdapter]);
102
+ initMetadataForCompanion(Companion);
88
103
  initMetadataForClass(ContentConverterException, 'ContentConverterException', VOID, Exception);
89
104
  initMetadataForLambda(ContentNegotiation$lambda$slambda, CoroutineImpl, VOID, [4]);
90
105
  initMetadataForLambda(ContentNegotiation$lambda$slambda_1, CoroutineImpl, VOID, [4]);
@@ -117,15 +132,15 @@ function get_ContentNegotiation() {
117
132
  }
118
133
  var ContentNegotiation;
119
134
  function _get_subtypeSuffix__jfpkue($this) {
120
- var tmp0 = $this.o4n_1;
135
+ var tmp0 = $this.subtypeSuffix$delegate_1;
121
136
  var tmp = KProperty1;
122
137
  // Inline function 'kotlin.getValue' call
123
138
  getPropertyCallableRef('subtypeSuffix', 1, tmp, ContentNegotiationConfig$defaultMatcher$o$_get_subtypeSuffix_$ref_v9fn95(), null);
124
- return tmp0.m1();
139
+ return tmp0.get_value_j01efc_k$();
125
140
  }
126
141
  function ContentNegotiationConfig$defaultMatcher$o$subtypeSuffix$delegate$lambda($pattern) {
127
142
  return function () {
128
- var tmp0_safe_receiver = get_supportedSuffixTypes().z2($pattern.z2m());
143
+ var tmp0_safe_receiver = get_supportedSuffixTypes().get_wei43m_k$($pattern.withoutParameters_wrqe36_k$());
129
144
  var tmp;
130
145
  if (tmp0_safe_receiver == null) {
131
146
  tmp = null;
@@ -139,23 +154,23 @@ function ContentNegotiationConfig$defaultMatcher$o$subtypeSuffix$delegate$lambda
139
154
  function ContentNegotiationConfig$defaultMatcher$o$_get_subtypeSuffix_$ref_v9fn95() {
140
155
  return constructCallableReference(function (p0) {
141
156
  return _get_subtypeSuffix__jfpkue(p0);
142
- }, 1, 0, 30);
157
+ }, 1, 0, 32);
143
158
  }
144
159
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
145
- this.q4n_1 = converter;
146
- this.r4n_1 = contentTypeToSend;
147
- this.s4n_1 = contentTypeMatcher;
160
+ this.converter_1 = converter;
161
+ this.contentTypeToSend_1 = contentTypeToSend;
162
+ this.contentTypeMatcher_1 = contentTypeMatcher;
148
163
  }
149
164
  function defaultMatcher($this, pattern) {
150
165
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
151
166
  }
152
167
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
153
- this.p4n_1 = $pattern;
168
+ this.$pattern_1 = $pattern;
154
169
  var tmp = this;
155
- tmp.o4n_1 = lazy(ContentNegotiationConfig$defaultMatcher$o$subtypeSuffix$delegate$lambda($pattern));
170
+ tmp.subtypeSuffix$delegate_1 = lazy(ContentNegotiationConfig$defaultMatcher$o$subtypeSuffix$delegate$lambda($pattern));
156
171
  }
157
- protoOf(ContentNegotiationConfig$defaultMatcher$1).t4n = function (contentType) {
158
- if (contentType.a2n(this.p4n_1)) {
172
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).contains_eqyxob_k$ = function (contentType) {
173
+ if (contentType.match_syvve3_k$(this.$pattern_1)) {
159
174
  return true;
160
175
  }
161
176
  var tmp0_elvis_lhs = _get_subtypeSuffix__jfpkue(this);
@@ -166,24 +181,148 @@ protoOf(ContentNegotiationConfig$defaultMatcher$1).t4n = function (contentType)
166
181
  tmp = tmp0_elvis_lhs;
167
182
  }
168
183
  var subtypeSuffix = tmp;
169
- return endsWith(contentType.x2m_1, subtypeSuffix, true);
184
+ return endsWith(contentType.contentSubtype_1, subtypeSuffix, true);
170
185
  };
171
186
  function ContentNegotiationConfig() {
172
- this.u4n_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
187
+ this.ignoredTypes_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
173
188
  var tmp = this;
174
189
  // Inline function 'kotlin.collections.mutableListOf' call
175
- tmp.v4n_1 = ArrayList_init_$Create$();
176
- this.w4n_1 = null;
190
+ tmp.registrations_1 = ArrayList_init_$Create$();
191
+ this.defaultAcceptHeaderQValue_1 = null;
192
+ this.acceptHeaderMergeStrategy_1 = Companion_getInstance_0().Default_1;
177
193
  }
178
- protoOf(ContentNegotiationConfig).r3c = function (contentType, converter, configuration) {
179
- this.x4n(contentType, converter, defaultMatcher(this, contentType), configuration);
194
+ protoOf(ContentNegotiationConfig).register_48t3rv_k$ = function (contentType, converter, configuration) {
195
+ this.register_rs9lpt_k$(contentType, converter, defaultMatcher(this, contentType), configuration);
180
196
  };
181
- protoOf(ContentNegotiationConfig).x4n = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
197
+ protoOf(ContentNegotiationConfig).register_rs9lpt_k$ = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
182
198
  // Inline function 'kotlin.apply' call
183
199
  configuration(converter);
184
200
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
185
- this.v4n_1.e1(registration);
201
+ this.registrations_1.add_utx5q5_k$(registration);
202
+ };
203
+ function sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0(function_0) {
204
+ this.function_1 = function_0;
205
+ }
206
+ protoOf(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0).mergeContentTypes_u6wnti_k$ = function (registeredContentTypes, acceptHeaders) {
207
+ return this.function_1(registeredContentTypes, acceptHeaders);
186
208
  };
209
+ protoOf(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0).getFunctionDelegate_jtodtf_k$ = function () {
210
+ return this.function_1;
211
+ };
212
+ protoOf(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0).equals = function (other) {
213
+ var tmp;
214
+ if (!(other == null) ? isInterface(other, ContentTypeMergeStrategy) : false) {
215
+ var tmp_0;
216
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
217
+ tmp_0 = equals(this.getFunctionDelegate_jtodtf_k$(), other.getFunctionDelegate_jtodtf_k$());
218
+ } else {
219
+ tmp_0 = false;
220
+ }
221
+ tmp = tmp_0;
222
+ } else {
223
+ tmp = false;
224
+ }
225
+ return tmp;
226
+ };
227
+ protoOf(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0).hashCode = function () {
228
+ return hashCode(this.getFunctionDelegate_jtodtf_k$());
229
+ };
230
+ function sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0_0(function_0) {
231
+ this.function_1 = function_0;
232
+ }
233
+ protoOf(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0_0).mergeContentTypes_u6wnti_k$ = function (registeredContentTypes, acceptHeaders) {
234
+ return this.function_1(registeredContentTypes, acceptHeaders);
235
+ };
236
+ protoOf(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0_0).getFunctionDelegate_jtodtf_k$ = function () {
237
+ return this.function_1;
238
+ };
239
+ protoOf(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0_0).equals = function (other) {
240
+ var tmp;
241
+ if (!(other == null) ? isInterface(other, ContentTypeMergeStrategy) : false) {
242
+ var tmp_0;
243
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
244
+ tmp_0 = equals(this.getFunctionDelegate_jtodtf_k$(), other.getFunctionDelegate_jtodtf_k$());
245
+ } else {
246
+ tmp_0 = false;
247
+ }
248
+ tmp = tmp_0;
249
+ } else {
250
+ tmp = false;
251
+ }
252
+ return tmp;
253
+ };
254
+ protoOf(sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0_0).hashCode = function () {
255
+ return hashCode(this.getFunctionDelegate_jtodtf_k$());
256
+ };
257
+ function ContentTypeMergeStrategy$Companion$Default$lambda(registered, headers) {
258
+ var tmp = asSequence(headers);
259
+ var parsedHeaders = flatMap(tmp, ContentTypeMergeStrategy$Companion$Default$lambda$lambda);
260
+ var tmp_0 = asSequence(registered);
261
+ return filter(tmp_0, ContentTypeMergeStrategy$Companion$Default$lambda$lambda_0(parsedHeaders));
262
+ }
263
+ function ContentTypeMergeStrategy$Companion$Default$lambda$lambda(it) {
264
+ return parseHeaderValue(it);
265
+ }
266
+ function ContentTypeMergeStrategy$Companion$Default$lambda$lambda_0($parsedHeaders) {
267
+ return function (contentType) {
268
+ var tmp0 = $parsedHeaders;
269
+ var tmp$ret$0;
270
+ $l$block: {
271
+ // Inline function 'kotlin.sequences.none' call
272
+ var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
273
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
274
+ var element = _iterator__ex2g4s.next_20eer_k$();
275
+ var tmp;
276
+ try {
277
+ var acceptedType = Companion_getInstance().parse_pc1q8p_k$(element.value_1);
278
+ tmp = ContentType_init_$Create$(acceptedType.contentType_1, acceptedType.contentSubtype_1, element.params_1).match_syvve3_k$(contentType);
279
+ } catch ($p) {
280
+ var tmp_0;
281
+ if ($p instanceof BadContentTypeFormatException) {
282
+ var e = $p;
283
+ tmp_0 = false;
284
+ } else {
285
+ throw $p;
286
+ }
287
+ tmp = tmp_0;
288
+ }
289
+ if (tmp) {
290
+ tmp$ret$0 = false;
291
+ break $l$block;
292
+ }
293
+ }
294
+ tmp$ret$0 = true;
295
+ }
296
+ return tmp$ret$0;
297
+ };
298
+ }
299
+ function ContentTypeMergeStrategy$Companion$SkipIfPresent$lambda(registered, headers) {
300
+ var tmp;
301
+ // Inline function 'kotlin.collections.isNotEmpty' call
302
+ if (!headers.isEmpty_y1axqb_k$()) {
303
+ tmp = emptySequence();
304
+ } else {
305
+ tmp = Companion_getInstance_0().Default_1.mergeContentTypes_u6wnti_k$(registered, headers);
306
+ }
307
+ return tmp;
308
+ }
309
+ function Companion() {
310
+ Companion_instance = this;
311
+ var tmp = this;
312
+ var tmp_0 = ContentTypeMergeStrategy$Companion$Default$lambda;
313
+ tmp.Default_1 = new sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0(tmp_0);
314
+ var tmp_1 = this;
315
+ var tmp_2 = ContentTypeMergeStrategy$Companion$SkipIfPresent$lambda;
316
+ tmp_1.SkipIfPresent_1 = new sam$io_ktor_client_plugins_contentnegotiation_ContentTypeMergeStrategy$0_0(tmp_2);
317
+ }
318
+ var Companion_instance;
319
+ function Companion_getInstance_0() {
320
+ if (Companion_instance == null)
321
+ new Companion();
322
+ return Companion_instance;
323
+ }
324
+ function ContentTypeMergeStrategy() {
325
+ }
187
326
  function ContentConverterException(message) {
188
327
  Exception_init_$Init$(message, this);
189
328
  captureStack(this, ContentConverterException);
@@ -191,61 +330,61 @@ function ContentConverterException(message) {
191
330
  function ContentNegotiationConfig$_init_$ref_1ne3ob() {
192
331
  return constructCallableReference(function () {
193
332
  return new ContentNegotiationConfig();
194
- }, 0, 0, 31, '<init>');
333
+ }, 0, 0, 33, '<init>');
195
334
  }
196
335
  function ContentNegotiation$lambda($this$createClientPlugin) {
197
336
  _init_properties_ContentNegotiation_kt__o183go();
198
- var registrations = $this$createClientPlugin.h3p_1.v4n_1;
199
- var ignoredTypes = $this$createClientPlugin.h3p_1.u4n_1;
200
- $this$createClientPlugin.j47(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
201
- $this$createClientPlugin.s3x(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
337
+ var registrations = $this$createClientPlugin.pluginConfig_1.registrations_1;
338
+ var ignoredTypes = $this$createClientPlugin.pluginConfig_1.ignoredTypes_1;
339
+ $this$createClientPlugin.transformRequestBody_immy9t_k$(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
340
+ $this$createClientPlugin.transformResponseBody_ee7rr5_k$(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
202
341
  return Unit_instance;
203
342
  }
204
343
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
205
344
  _init_properties_ContentNegotiation_kt__o183go();
206
- return toString(it.q4n_1);
345
+ return toString(it.converter_1);
207
346
  }
208
347
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
209
348
  var tmp = new $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion);
210
- tmp.m8_1 = Unit_instance;
211
- tmp.n8_1 = null;
212
- return tmp.s8();
349
+ tmp.result_1 = Unit_instance;
350
+ tmp.exception_1 = null;
351
+ return tmp.doResume_5yljmg_k$();
213
352
  }
214
353
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
215
- charset = charset === VOID ? Charsets_getInstance().j1r_1 : charset;
354
+ charset = charset === VOID ? Charsets_getInstance().UTF_8__1 : charset;
216
355
  var tmp = new $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
217
- tmp.m8_1 = Unit_instance;
218
- tmp.n8_1 = null;
219
- return tmp.s8();
356
+ tmp.result_1 = Unit_instance;
357
+ tmp.exception_1 = null;
358
+ return tmp.doResume_5yljmg_k$();
220
359
  }
221
360
  function ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
222
- this.p4p_1 = $registrations;
223
- this.q4p_1 = $this_createClientPlugin;
224
- this.r4p_1 = $ignoredTypes;
361
+ this.$registrations_1 = $registrations;
362
+ this.$this_createClientPlugin_1 = $this_createClientPlugin;
363
+ this.$ignoredTypes_1 = $ignoredTypes;
225
364
  CoroutineImpl.call(this, resultContinuation);
226
365
  }
227
- protoOf(ContentNegotiation$lambda$slambda).w4p = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
228
- var tmp = this.x4p($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
229
- tmp.m8_1 = Unit_instance;
230
- tmp.n8_1 = null;
231
- return tmp.s8();
366
+ protoOf(ContentNegotiation$lambda$slambda).invoke_7ihtyh_k$ = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
367
+ var tmp = this.create_d1ohfi_k$($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
368
+ tmp.result_1 = Unit_instance;
369
+ tmp.exception_1 = null;
370
+ return tmp.doResume_5yljmg_k$();
232
371
  };
233
- protoOf(ContentNegotiation$lambda$slambda).x3y = function (p1, p2, p3, p4, $completion) {
372
+ protoOf(ContentNegotiation$lambda$slambda).invoke_k6wp4t_k$ = function (p1, p2, p3, p4, $completion) {
234
373
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
235
374
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
236
375
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
237
- return this.w4p(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
376
+ return this.invoke_7ihtyh_k$(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
238
377
  };
239
- protoOf(ContentNegotiation$lambda$slambda).s8 = function () {
240
- var suspendResult = this.m8_1;
378
+ protoOf(ContentNegotiation$lambda$slambda).doResume_5yljmg_k$ = function () {
379
+ var suspendResult = this.result_1;
241
380
  $sm: do
242
381
  try {
243
- var tmp = this.k8_1;
382
+ var tmp = this.state_1;
244
383
  switch (tmp) {
245
384
  case 0:
246
- this.l8_1 = 2;
247
- this.k8_1 = 1;
248
- suspendResult = invoke$convertRequest(this.p4p_1, this.q4p_1, this.r4p_1, this.t4p_1, this.u4p_1, this);
385
+ this.exceptionState_1 = 2;
386
+ this.state_1 = 1;
387
+ suspendResult = invoke$convertRequest(this.$registrations_1, this.$this_createClientPlugin_1, this.$ignoredTypes_1, this.request_1, this.body_1, this);
249
388
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
250
389
  return suspendResult;
251
390
  }
@@ -254,60 +393,60 @@ protoOf(ContentNegotiation$lambda$slambda).s8 = function () {
254
393
  case 1:
255
394
  return suspendResult;
256
395
  case 2:
257
- throw this.n8_1;
396
+ throw this.exception_1;
258
397
  }
259
398
  } catch ($p) {
260
399
  var e = $p;
261
- if (this.l8_1 === 2) {
400
+ if (this.exceptionState_1 === 2) {
262
401
  throw e;
263
402
  } else {
264
- this.k8_1 = this.l8_1;
265
- this.n8_1 = e;
403
+ this.state_1 = this.exceptionState_1;
404
+ this.exception_1 = e;
266
405
  }
267
406
  }
268
407
  while (true);
269
408
  };
270
- protoOf(ContentNegotiation$lambda$slambda).x4p = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
271
- var i = new ContentNegotiation$lambda$slambda(this.p4p_1, this.q4p_1, this.r4p_1, completion);
272
- i.s4p_1 = $this$transformRequestBody;
273
- i.t4p_1 = request;
274
- i.u4p_1 = body;
275
- i.v4p_1 = _unused_var__etf5q3;
409
+ protoOf(ContentNegotiation$lambda$slambda).create_d1ohfi_k$ = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
410
+ var i = new ContentNegotiation$lambda$slambda(this.$registrations_1, this.$this_createClientPlugin_1, this.$ignoredTypes_1, completion);
411
+ i.$this$transformRequestBody_1 = $this$transformRequestBody;
412
+ i.request_1 = request;
413
+ i.body_1 = body;
414
+ i._unused_var__etf5q3__1 = _unused_var__etf5q3;
276
415
  return i;
277
416
  };
278
417
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
279
418
  var i = new ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation);
280
419
  return constructCallableReference(function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
281
- return i.w4p($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
420
+ return i.invoke_7ihtyh_k$($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
282
421
  }, 4);
283
422
  }
284
423
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
285
- this.g4q_1 = $ignoredTypes;
286
- this.h4q_1 = $registrations;
287
- this.i4q_1 = $this_createClientPlugin;
424
+ this.$ignoredTypes_1 = $ignoredTypes;
425
+ this.$registrations_1 = $registrations;
426
+ this.$this_createClientPlugin_1 = $this_createClientPlugin;
288
427
  CoroutineImpl.call(this, resultContinuation);
289
428
  }
290
- protoOf(ContentNegotiation$lambda$slambda_1).v3y = function ($this$transformResponseBody, response, body, info, $completion) {
291
- var tmp = this.w3y($this$transformResponseBody, response, body, info, $completion);
292
- tmp.m8_1 = Unit_instance;
293
- tmp.n8_1 = null;
294
- return tmp.s8();
429
+ protoOf(ContentNegotiation$lambda$slambda_1).invoke_ccb7uk_k$ = function ($this$transformResponseBody, response, body, info, $completion) {
430
+ var tmp = this.create_azapna_k$($this$transformResponseBody, response, body, info, $completion);
431
+ tmp.result_1 = Unit_instance;
432
+ tmp.exception_1 = null;
433
+ return tmp.doResume_5yljmg_k$();
295
434
  };
296
- protoOf(ContentNegotiation$lambda$slambda_1).x3y = function (p1, p2, p3, p4, $completion) {
435
+ protoOf(ContentNegotiation$lambda$slambda_1).invoke_k6wp4t_k$ = function (p1, p2, p3, p4, $completion) {
297
436
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
298
437
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
299
438
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
300
- return this.v3y(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
439
+ return this.invoke_ccb7uk_k$(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
301
440
  };
302
- protoOf(ContentNegotiation$lambda$slambda_1).s8 = function () {
303
- var suspendResult = this.m8_1;
441
+ protoOf(ContentNegotiation$lambda$slambda_1).doResume_5yljmg_k$ = function () {
442
+ var suspendResult = this.result_1;
304
443
  $sm: do
305
444
  try {
306
- var tmp = this.k8_1;
445
+ var tmp = this.state_1;
307
446
  switch (tmp) {
308
447
  case 0:
309
- this.l8_1 = 2;
310
- var tmp0_elvis_lhs = contentType(this.k4q_1);
448
+ this.exceptionState_1 = 2;
449
+ var tmp0_elvis_lhs = contentType(this.response_1);
311
450
  var tmp_0;
312
451
  if (tmp0_elvis_lhs == null) {
313
452
  return null;
@@ -317,9 +456,9 @@ protoOf(ContentNegotiation$lambda$slambda_1).s8 = function () {
317
456
 
318
457
  var contentType_0 = tmp_0;
319
458
  var tmp1_elvis_lhs = charset(contentType_0);
320
- var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().j1r_1 : tmp1_elvis_lhs;
321
- this.k8_1 = 1;
322
- suspendResult = invoke$convertResponse(this.g4q_1, this.h4q_1, this.i4q_1, get_request(this.k4q_1).n3i(), this.m4q_1, this.l4q_1, contentType_0, charset_0, this);
459
+ var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().UTF_8__1 : tmp1_elvis_lhs;
460
+ this.state_1 = 1;
461
+ suspendResult = invoke$convertResponse(this.$ignoredTypes_1, this.$registrations_1, this.$this_createClientPlugin_1, get_request(this.response_1).get_url_18iuii_k$(), this.info_1, this.body_1, contentType_0, charset_0, this);
323
462
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
324
463
  return suspendResult;
325
464
  }
@@ -328,62 +467,62 @@ protoOf(ContentNegotiation$lambda$slambda_1).s8 = function () {
328
467
  case 1:
329
468
  return suspendResult;
330
469
  case 2:
331
- throw this.n8_1;
470
+ throw this.exception_1;
332
471
  }
333
472
  } catch ($p) {
334
473
  var e = $p;
335
- if (this.l8_1 === 2) {
474
+ if (this.exceptionState_1 === 2) {
336
475
  throw e;
337
476
  } else {
338
- this.k8_1 = this.l8_1;
339
- this.n8_1 = e;
477
+ this.state_1 = this.exceptionState_1;
478
+ this.exception_1 = e;
340
479
  }
341
480
  }
342
481
  while (true);
343
482
  };
344
- protoOf(ContentNegotiation$lambda$slambda_1).w3y = function ($this$transformResponseBody, response, body, info, completion) {
345
- var i = new ContentNegotiation$lambda$slambda_1(this.g4q_1, this.h4q_1, this.i4q_1, completion);
346
- i.j4q_1 = $this$transformResponseBody;
347
- i.k4q_1 = response;
348
- i.l4q_1 = body;
349
- i.m4q_1 = info;
483
+ protoOf(ContentNegotiation$lambda$slambda_1).create_azapna_k$ = function ($this$transformResponseBody, response, body, info, completion) {
484
+ var i = new ContentNegotiation$lambda$slambda_1(this.$ignoredTypes_1, this.$registrations_1, this.$this_createClientPlugin_1, completion);
485
+ i.$this$transformResponseBody_1 = $this$transformResponseBody;
486
+ i.response_1 = response;
487
+ i.body_1 = body;
488
+ i.info_1 = info;
350
489
  return i;
351
490
  };
352
491
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
353
492
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
354
493
  return constructCallableReference(function ($this$transformResponseBody, response, body, info, $completion) {
355
- return i.v3y($this$transformResponseBody, response, body, info, $completion);
494
+ return i.invoke_ccb7uk_k$($this$transformResponseBody, response, body, info, $completion);
356
495
  }, 4);
357
496
  }
358
497
  function $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, resultContinuation) {
359
498
  CoroutineImpl.call(this, resultContinuation);
360
- this.g4o_1 = registrations;
361
- this.h4o_1 = $this_createClientPlugin;
362
- this.i4o_1 = ignoredTypes;
363
- this.j4o_1 = request;
364
- this.k4o_1 = body;
365
- }
366
- protoOf($invoke$convertRequestCOROUTINE$).s8 = function () {
367
- var suspendResult = this.m8_1;
499
+ this.registrations_1 = registrations;
500
+ this.$this_createClientPlugin_1 = $this_createClientPlugin;
501
+ this.ignoredTypes_1 = ignoredTypes;
502
+ this.request_1 = request;
503
+ this.body_1 = body;
504
+ }
505
+ protoOf($invoke$convertRequestCOROUTINE$).doResume_5yljmg_k$ = function () {
506
+ var suspendResult = this.result_1;
368
507
  $sm: do
369
508
  try {
370
- var tmp = this.k8_1;
509
+ var tmp = this.state_1;
371
510
  switch (tmp) {
372
511
  case 0:
373
- this.l8_1 = 7;
512
+ this.exceptionState_1 = 7;
374
513
  var tmp_0;
375
- if (this.j4o_1.a3h_1.l2d(get_ExcludedContentTypes())) {
376
- var excluded = this.j4o_1.a3h_1.j2d(get_ExcludedContentTypes());
377
- var tmp0 = this.g4o_1;
514
+ if (this.request_1.attributes_1.contains_du0289_k$(get_ExcludedContentTypes())) {
515
+ var excluded = this.request_1.attributes_1.get_r696p5_k$(get_ExcludedContentTypes());
516
+ var tmp0 = this.registrations_1;
378
517
  var destination = ArrayList_init_$Create$();
379
- var _iterator__ex2g4s = tmp0.t();
380
- while (_iterator__ex2g4s.u()) {
381
- var element = _iterator__ex2g4s.v();
518
+ var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
519
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
520
+ var element = _iterator__ex2g4s.next_20eer_k$();
382
521
  var tmp$ret$0;
383
522
  l$ret$1: do {
384
523
  var tmp_1;
385
524
  if (isInterface(excluded, Collection)) {
386
- tmp_1 = excluded.r();
525
+ tmp_1 = excluded.isEmpty_y1axqb_k$();
387
526
  } else {
388
527
  tmp_1 = false;
389
528
  }
@@ -391,10 +530,10 @@ protoOf($invoke$convertRequestCOROUTINE$).s8 = function () {
391
530
  tmp$ret$0 = true;
392
531
  break l$ret$1;
393
532
  }
394
- var _iterator__ex2g4s_0 = excluded.t();
395
- while (_iterator__ex2g4s_0.u()) {
396
- var element_0 = _iterator__ex2g4s_0.v();
397
- if (element.r4n_1.a2n(element_0)) {
533
+ var _iterator__ex2g4s_0 = excluded.iterator_jk1svi_k$();
534
+ while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
535
+ var element_0 = _iterator__ex2g4s_0.next_20eer_k$();
536
+ if (element.contentTypeToSend_1.match_syvve3_k$(element_0)) {
398
537
  tmp$ret$0 = false;
399
538
  break l$ret$1;
400
539
  }
@@ -403,121 +542,116 @@ protoOf($invoke$convertRequestCOROUTINE$).s8 = function () {
403
542
  }
404
543
  while (false);
405
544
  if (tmp$ret$0) {
406
- destination.e1(element);
545
+ destination.add_utx5q5_k$(element);
407
546
  }
408
547
  }
409
548
  tmp_0 = destination;
410
549
  } else {
411
- tmp_0 = this.g4o_1;
550
+ tmp_0 = this.registrations_1;
412
551
  }
413
552
 
414
553
  var requestRegistrations = tmp_0;
415
- var tmp0_elvis_lhs = this.j4o_1.x3g_1.q2f('Accept');
554
+ var tmp0_elvis_lhs = this.request_1.headers_1.getAll_ffxf4h_k$('Accept');
416
555
  var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
417
- var _iterator__ex2g4s_1 = requestRegistrations.t();
418
- while (_iterator__ex2g4s_1.u()) {
419
- var element_1 = _iterator__ex2g4s_1.v();
420
- var tmp$ret$2;
421
- l$ret$3: do {
422
- var tmp_2;
423
- if (isInterface(acceptHeaders, Collection)) {
424
- tmp_2 = acceptHeaders.r();
425
- } else {
426
- tmp_2 = false;
427
- }
428
- if (tmp_2) {
429
- tmp$ret$2 = true;
430
- break l$ret$3;
431
- }
432
- var _iterator__ex2g4s_2 = acceptHeaders.t();
433
- while (_iterator__ex2g4s_2.u()) {
434
- var element_2 = _iterator__ex2g4s_2.v();
435
- if (Companion_getInstance().qm(element_2).a2n(element_1.r4n_1)) {
436
- tmp$ret$2 = false;
437
- break l$ret$3;
438
- }
439
- }
440
- tmp$ret$2 = true;
441
- }
442
- while (false);
443
- if (tmp$ret$2) {
444
- var qValue = this.h4o_1.h3p_1.w4n_1;
445
- var contentTypeToSend = qValue == null ? element_1.r4n_1 : element_1.r4n_1.y2m('q', qValue.toString());
446
- get_LOGGER().c2k('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.j4o_1.v3g_1.toString());
447
- accept(this.j4o_1, contentTypeToSend);
556
+ var tmp_2 = this.$this_createClientPlugin_1.pluginConfig_1.acceptHeaderMergeStrategy_1;
557
+ var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(requestRegistrations, 10));
558
+ var _iterator__ex2g4s_1 = requestRegistrations.iterator_jk1svi_k$();
559
+ while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
560
+ var item = _iterator__ex2g4s_1.next_20eer_k$();
561
+ destination_0.add_utx5q5_k$(item.contentTypeToSend_1);
562
+ }
563
+
564
+ var _iterator__ex2g4s_2 = tmp_2.mergeContentTypes_u6wnti_k$(destination_0, acceptHeaders).iterator_jk1svi_k$();
565
+ while (_iterator__ex2g4s_2.hasNext_bitz1p_k$()) {
566
+ var element_1 = _iterator__ex2g4s_2.next_20eer_k$();
567
+ var qValue = this.$this_createClientPlugin_1.pluginConfig_1.defaultAcceptHeaderQValue_1;
568
+ var contentTypeToSend = qValue == null ? element_1 : element_1.withParameter_j6bpqb_k$('q', qValue.toString());
569
+ var this_0 = get_LOGGER();
570
+ if (get_isTraceEnabled(this_0)) {
571
+ this_0.trace_fti9bv_k$('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.request_1.url_1.toString());
448
572
  }
573
+ accept(this.request_1, contentTypeToSend);
449
574
  }
450
575
 
451
576
  var tmp_3;
452
- var tmp_4 = this.k4o_1;
577
+ var tmp_4 = this.body_1;
453
578
  if (tmp_4 instanceof OutgoingContent) {
454
579
  tmp_3 = true;
455
580
  } else {
456
- var tmp0_0 = this.i4o_1;
457
- var tmp$ret$4;
458
- l$ret$5: do {
581
+ var tmp0_0 = this.ignoredTypes_1;
582
+ var tmp$ret$2;
583
+ l$ret$3: do {
459
584
  var tmp_5;
460
585
  if (isInterface(tmp0_0, Collection)) {
461
- tmp_5 = tmp0_0.r();
586
+ tmp_5 = tmp0_0.isEmpty_y1axqb_k$();
462
587
  } else {
463
588
  tmp_5 = false;
464
589
  }
465
590
  if (tmp_5) {
466
- tmp$ret$4 = false;
467
- break l$ret$5;
591
+ tmp$ret$2 = false;
592
+ break l$ret$3;
468
593
  }
469
- var _iterator__ex2g4s_3 = tmp0_0.t();
470
- while (_iterator__ex2g4s_3.u()) {
471
- var element_3 = _iterator__ex2g4s_3.v();
472
- if (element_3.oa(this.k4o_1)) {
473
- tmp$ret$4 = true;
474
- break l$ret$5;
594
+ var _iterator__ex2g4s_3 = tmp0_0.iterator_jk1svi_k$();
595
+ while (_iterator__ex2g4s_3.hasNext_bitz1p_k$()) {
596
+ var element_2 = _iterator__ex2g4s_3.next_20eer_k$();
597
+ if (element_2.isInstance_6tn68w_k$(this.body_1)) {
598
+ tmp$ret$2 = true;
599
+ break l$ret$3;
475
600
  }
476
601
  }
477
- tmp$ret$4 = false;
602
+ tmp$ret$2 = false;
478
603
  }
479
604
  while (false);
480
- tmp_3 = tmp$ret$4;
605
+ tmp_3 = tmp$ret$2;
481
606
  }
482
607
 
483
608
  if (tmp_3) {
484
- get_LOGGER().c2k('Body type ' + toString(getKClassFromExpression(this.k4o_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.j4o_1.v3g_1.toString() + '.'));
609
+ var this_1 = get_LOGGER();
610
+ if (get_isTraceEnabled(this_1)) {
611
+ this_1.trace_fti9bv_k$('Body type ' + toString(getKClassFromExpression(this.body_1)) + ' is in ignored types. Skipping ContentNegotiation for ' + this.request_1.url_1.toString() + '.');
612
+ }
485
613
  return null;
486
614
  }
487
615
 
488
616
  var tmp_6 = this;
489
- var tmp0_elvis_lhs_0 = contentType_0(this.j4o_1);
617
+ var tmp0_elvis_lhs_0 = contentType_0(this.request_1);
490
618
  var tmp_7;
491
619
  if (tmp0_elvis_lhs_0 == null) {
492
- this.h4o_1;
493
- get_LOGGER().c2k("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.j4o_1.v3g_1.toString() + '.');
620
+ this.$this_createClientPlugin_1;
621
+ var this_2 = get_LOGGER();
622
+ if (get_isTraceEnabled(this_2)) {
623
+ this_2.trace_fti9bv_k$("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.request_1.url_1.toString() + '.');
624
+ }
494
625
  return null;
495
626
  } else {
496
627
  tmp_7 = tmp0_elvis_lhs_0;
497
628
  }
498
629
 
499
- tmp_6.m4o_1 = tmp_7;
500
- var tmp_8 = this.k4o_1;
630
+ tmp_6.contentType1__1 = tmp_7;
631
+ var tmp_8 = this.body_1;
501
632
  if (tmp_8 instanceof Unit) {
502
- get_LOGGER().c2k('Sending empty body for ' + this.j4o_1.v3g_1.toString());
503
- this.j4o_1.x3g_1.a2g('Content-Type');
633
+ var this_3 = get_LOGGER();
634
+ if (get_isTraceEnabled(this_3)) {
635
+ this_3.trace_fti9bv_k$('Sending empty body for ' + this.request_1.url_1.toString());
636
+ }
637
+ this.request_1.headers_1.remove_6241ba_k$('Content-Type');
504
638
  return EmptyContent_getInstance();
505
639
  }
506
640
 
507
641
  var tmp_9 = this;
508
- var tmp0_1 = this.g4o_1;
509
- var destination_0 = ArrayList_init_$Create$();
510
- var _iterator__ex2g4s_4 = tmp0_1.t();
511
- while (_iterator__ex2g4s_4.u()) {
512
- var element_4 = _iterator__ex2g4s_4.v();
513
- if (element_4.s4n_1.t4n(this.m4o_1)) {
514
- destination_0.e1(element_4);
642
+ var tmp0_1 = this.registrations_1;
643
+ var destination_1 = ArrayList_init_$Create$();
644
+ var _iterator__ex2g4s_4 = tmp0_1.iterator_jk1svi_k$();
645
+ while (_iterator__ex2g4s_4.hasNext_bitz1p_k$()) {
646
+ var element_3 = _iterator__ex2g4s_4.next_20eer_k$();
647
+ if (element_3.contentTypeMatcher_1.contains_eqyxob_k$(this.contentType1__1)) {
648
+ destination_1.add_utx5q5_k$(element_3);
515
649
  }
516
650
  }
517
651
 
518
652
  var tmp_10;
519
- if (!destination_0.r()) {
520
- tmp_10 = destination_0;
653
+ if (!destination_1.isEmpty_y1axqb_k$()) {
654
+ tmp_10 = destination_1;
521
655
  } else {
522
656
  tmp_10 = null;
523
657
  }
@@ -525,48 +659,54 @@ protoOf($invoke$convertRequestCOROUTINE$).s8 = function () {
525
659
  var tmp1_elvis_lhs = tmp_10;
526
660
  var tmp_11;
527
661
  if (tmp1_elvis_lhs == null) {
528
- this.h4o_1;
529
- get_LOGGER().c2k('None of the registered converters match request Content-Type=' + this.m4o_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.j4o_1.v3g_1.toString() + '.'));
662
+ this.$this_createClientPlugin_1;
663
+ var this_4 = get_LOGGER();
664
+ if (get_isTraceEnabled(this_4)) {
665
+ this_4.trace_fti9bv_k$('None of the registered converters match request Content-Type=' + this.contentType1__1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.request_1.url_1.toString() + '.'));
666
+ }
530
667
  return null;
531
668
  } else {
532
669
  tmp_11 = tmp1_elvis_lhs;
533
670
  }
534
671
 
535
- tmp_9.l4o_1 = tmp_11;
536
- if (this.j4o_1.r49() == null) {
537
- get_LOGGER().c2k('Request has unknown body type. Skipping ContentNegotiation for ' + this.j4o_1.v3g_1.toString() + '.');
672
+ tmp_9.matchingRegistrations0__1 = tmp_11;
673
+ if (this.request_1.get_bodyType_3n7prv_k$() == null) {
674
+ var this_5 = get_LOGGER();
675
+ if (get_isTraceEnabled(this_5)) {
676
+ this_5.trace_fti9bv_k$('Request has unknown body type. Skipping ContentNegotiation for ' + this.request_1.url_1.toString() + '.');
677
+ }
538
678
  return null;
539
679
  }
540
680
 
541
- this.j4o_1.x3g_1.a2g('Content-Type');
542
- this.q4o_1 = this.l4o_1;
543
- this.k8_1 = 1;
681
+ this.request_1.headers_1.remove_6241ba_k$('Content-Type');
682
+ this.tmp05__1 = this.matchingRegistrations0__1;
683
+ this.state_1 = 1;
544
684
  continue $sm;
545
685
  case 1:
546
- this.p4o_1 = this.q4o_1.t();
547
- this.k8_1 = 2;
686
+ this._iterator_4_yqohr4__1 = this.tmp05__1.iterator_jk1svi_k$();
687
+ this.state_1 = 2;
548
688
  continue $sm;
549
689
  case 2:
550
- if (!this.p4o_1.u()) {
551
- this.k8_1 = 5;
690
+ if (!this._iterator_4_yqohr4__1.hasNext_bitz1p_k$()) {
691
+ this.state_1 = 5;
552
692
  continue $sm;
553
693
  }
554
694
 
555
- var element_5 = this.p4o_1.v();
556
- this.o4o_1 = element_5;
557
- this.k8_1 = 3;
558
- var tmp0_elvis_lhs_1 = charset(this.m4o_1);
559
- var tmp_12 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().j1r_1 : tmp0_elvis_lhs_1;
560
- var tmp_13 = ensureNotNull(this.j4o_1.r49());
561
- var this_0 = this.k4o_1;
695
+ var element_4 = this._iterator_4_yqohr4__1.next_20eer_k$();
696
+ this.registration3__1 = element_4;
697
+ this.state_1 = 3;
698
+ var tmp0_elvis_lhs_1 = charset(this.contentType1__1);
699
+ var tmp_12 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().UTF_8__1 : tmp0_elvis_lhs_1;
700
+ var tmp_13 = ensureNotNull(this.request_1.get_bodyType_3n7prv_k$());
701
+ var this_6 = this.body_1;
562
702
  var tmp_14;
563
- if (!equals(this_0, NullBody_instance)) {
564
- tmp_14 = this_0;
703
+ if (!equals(this_6, NullBody_instance)) {
704
+ tmp_14 = this_6;
565
705
  } else {
566
706
  tmp_14 = null;
567
707
  }
568
708
 
569
- suspendResult = this.o4o_1.q4n_1.n4q(this.m4o_1, tmp_12, tmp_13, tmp_14, this);
709
+ suspendResult = this.registration3__1.converter_1.serialize_vlmgdn_k$(this.contentType1__1, tmp_12, tmp_13, tmp_14, this);
570
710
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
571
711
  return suspendResult;
572
712
  }
@@ -575,37 +715,40 @@ protoOf($invoke$convertRequestCOROUTINE$).s8 = function () {
575
715
  case 3:
576
716
  var result = suspendResult;
577
717
  if (!(result == null)) {
578
- get_LOGGER().c2k('Converted request body using ' + toString(this.o4o_1.q4n_1) + ' for ' + this.j4o_1.v3g_1.toString());
718
+ var this_7 = get_LOGGER();
719
+ if (get_isTraceEnabled(this_7)) {
720
+ this_7.trace_fti9bv_k$('Converted request body using ' + toString(this.registration3__1.converter_1) + ' for ' + this.request_1.url_1.toString());
721
+ }
579
722
  }
580
723
 
581
724
  var result_0 = result;
582
725
  if (!(result_0 == null)) {
583
- this.n4o_1 = result_0;
584
- this.k8_1 = 6;
726
+ this.tmp$ret$42__1 = result_0;
727
+ this.state_1 = 6;
585
728
  continue $sm;
586
729
  } else {
587
- this.k8_1 = 4;
730
+ this.state_1 = 4;
588
731
  continue $sm;
589
732
  }
590
733
 
591
734
  case 4:
592
- this.k8_1 = 2;
735
+ this.state_1 = 2;
593
736
  continue $sm;
594
737
  case 5:
595
- this.n4o_1 = null;
738
+ this.tmp$ret$42__1 = null;
596
739
  if (false) {
597
- this.k8_1 = 1;
740
+ this.state_1 = 1;
598
741
  continue $sm;
599
742
  }
600
743
 
601
- this.k8_1 = 6;
744
+ this.state_1 = 6;
602
745
  continue $sm;
603
746
  case 6:
604
- var tmp2_elvis_lhs = this.n4o_1;
747
+ var tmp2_elvis_lhs = this.tmp$ret$42__1;
605
748
  var tmp_15;
606
749
  if (tmp2_elvis_lhs == null) {
607
- var tmp_16 = "Can't convert " + toString(this.k4o_1) + ' with contentType ' + this.m4o_1.toString() + ' using converters ';
608
- throw new ContentConverterException(tmp_16 + joinToString(this.l4o_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
750
+ var tmp_16 = "Can't convert " + toString(this.body_1) + ' with contentType ' + this.contentType1__1.toString() + ' using converters ';
751
+ throw new ContentConverterException(tmp_16 + joinToString(this.matchingRegistrations0__1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
609
752
  } else {
610
753
  tmp_15 = tmp2_elvis_lhs;
611
754
  }
@@ -613,68 +756,74 @@ protoOf($invoke$convertRequestCOROUTINE$).s8 = function () {
613
756
  var serializedContent = tmp_15;
614
757
  return serializedContent;
615
758
  case 7:
616
- throw this.n8_1;
759
+ throw this.exception_1;
617
760
  }
618
761
  } catch ($p) {
619
762
  var e = $p;
620
- if (this.l8_1 === 7) {
763
+ if (this.exceptionState_1 === 7) {
621
764
  throw e;
622
765
  } else {
623
- this.k8_1 = this.l8_1;
624
- this.n8_1 = e;
766
+ this.state_1 = this.exceptionState_1;
767
+ this.exception_1 = e;
625
768
  }
626
769
  }
627
770
  while (true);
628
771
  };
629
772
  function $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
630
773
  CoroutineImpl.call(this, resultContinuation);
631
- this.z4o_1 = ignoredTypes;
632
- this.a4p_1 = registrations;
633
- this.b4p_1 = $this_createClientPlugin;
634
- this.c4p_1 = requestUrl;
635
- this.d4p_1 = info;
636
- this.e4p_1 = body;
637
- this.f4p_1 = responseContentType;
638
- this.g4p_1 = charset;
639
- }
640
- protoOf($invoke$convertResponseCOROUTINE$).s8 = function () {
641
- var suspendResult = this.m8_1;
774
+ this.ignoredTypes_1 = ignoredTypes;
775
+ this.registrations_1 = registrations;
776
+ this.$this_createClientPlugin_1 = $this_createClientPlugin;
777
+ this.requestUrl_1 = requestUrl;
778
+ this.info_1 = info;
779
+ this.body_1 = body;
780
+ this.responseContentType_1 = responseContentType;
781
+ this.charset_1 = charset;
782
+ }
783
+ protoOf($invoke$convertResponseCOROUTINE$).doResume_5yljmg_k$ = function () {
784
+ var suspendResult = this.result_1;
642
785
  $sm: do
643
786
  try {
644
- var tmp = this.k8_1;
787
+ var tmp = this.state_1;
645
788
  switch (tmp) {
646
789
  case 0:
647
- this.l8_1 = 2;
648
- var tmp_0 = this.e4p_1;
790
+ this.exceptionState_1 = 2;
791
+ var tmp_0 = this.body_1;
649
792
  if (!isInterface(tmp_0, ByteReadChannel)) {
650
- get_LOGGER().c2k('Response body is already transformed. Skipping ContentNegotiation for ' + this.c4p_1.toString() + '.');
793
+ var this_0 = get_LOGGER();
794
+ if (get_isTraceEnabled(this_0)) {
795
+ this_0.trace_fti9bv_k$('Response body is already transformed. Skipping ContentNegotiation for ' + this.requestUrl_1.toString() + '.');
796
+ }
651
797
  return null;
652
798
  }
653
799
 
654
- if (this.z4o_1.h2(this.d4p_1.v2j_1)) {
655
- get_LOGGER().c2k('Response body type ' + toString(this.d4p_1.v2j_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.c4p_1.toString() + '.'));
800
+ if (this.ignoredTypes_1.contains_aljjnj_k$(this.info_1.type_1)) {
801
+ var this_1 = get_LOGGER();
802
+ if (get_isTraceEnabled(this_1)) {
803
+ this_1.trace_fti9bv_k$('Response body type ' + toString(this.info_1.type_1) + ' is in ignored types. Skipping ContentNegotiation for ' + this.requestUrl_1.toString() + '.');
804
+ }
656
805
  return null;
657
806
  }
658
807
 
659
- var tmp0 = this.a4p_1;
808
+ var tmp0 = this.registrations_1;
660
809
  var destination = ArrayList_init_$Create$();
661
- var _iterator__ex2g4s = tmp0.t();
662
- while (_iterator__ex2g4s.u()) {
663
- var element = _iterator__ex2g4s.v();
664
- if (element.s4n_1.t4n(this.f4p_1)) {
665
- destination.e1(element);
810
+ var _iterator__ex2g4s = tmp0.iterator_jk1svi_k$();
811
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
812
+ var element = _iterator__ex2g4s.next_20eer_k$();
813
+ if (element.contentTypeMatcher_1.contains_eqyxob_k$(this.responseContentType_1)) {
814
+ destination.add_utx5q5_k$(element);
666
815
  }
667
816
  }
668
817
 
669
818
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
670
- var _iterator__ex2g4s_0 = destination.t();
671
- while (_iterator__ex2g4s_0.u()) {
672
- var item = _iterator__ex2g4s_0.v();
673
- destination_0.e1(item.q4n_1);
819
+ var _iterator__ex2g4s_0 = destination.iterator_jk1svi_k$();
820
+ while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
821
+ var item = _iterator__ex2g4s_0.next_20eer_k$();
822
+ destination_0.add_utx5q5_k$(item.converter_1);
674
823
  }
675
824
 
676
825
  var tmp_1;
677
- if (!destination_0.r()) {
826
+ if (!destination_0.isEmpty_y1axqb_k$()) {
678
827
  tmp_1 = destination_0;
679
828
  } else {
680
829
  tmp_1 = null;
@@ -683,16 +832,19 @@ protoOf($invoke$convertResponseCOROUTINE$).s8 = function () {
683
832
  var tmp0_elvis_lhs = tmp_1;
684
833
  var tmp_2;
685
834
  if (tmp0_elvis_lhs == null) {
686
- this.b4p_1;
687
- get_LOGGER().c2k('None of the registered converters match response with Content-Type=' + this.f4p_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.c4p_1.toString() + '.'));
835
+ this.$this_createClientPlugin_1;
836
+ var this_2 = get_LOGGER();
837
+ if (get_isTraceEnabled(this_2)) {
838
+ this_2.trace_fti9bv_k$('None of the registered converters match response with Content-Type=' + this.responseContentType_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.requestUrl_1.toString() + '.'));
839
+ }
688
840
  return null;
689
841
  } else {
690
842
  tmp_2 = tmp0_elvis_lhs;
691
843
  }
692
844
 
693
845
  var suitableConverters = tmp_2;
694
- this.k8_1 = 1;
695
- suspendResult = deserialize(suitableConverters, this.e4p_1, this.d4p_1, this.g4p_1, this);
846
+ this.state_1 = 1;
847
+ suspendResult = deserialize(suitableConverters, this.body_1, this.info_1, this.charset_1, this);
696
848
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
697
849
  return suspendResult;
698
850
  }
@@ -700,21 +852,28 @@ protoOf($invoke$convertResponseCOROUTINE$).s8 = function () {
700
852
  continue $sm;
701
853
  case 1:
702
854
  var result = suspendResult;
703
- if (!isInterface(result, ByteReadChannel)) {
704
- get_LOGGER().c2k('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.c4p_1.toString() + '.');
855
+ var tmp_3;
856
+ if (get_isTraceEnabled(get_LOGGER())) {
857
+ tmp_3 = !isInterface(result, ByteReadChannel);
858
+ } else {
859
+ tmp_3 = false;
860
+ }
861
+
862
+ if (tmp_3) {
863
+ get_LOGGER().trace_fti9bv_k$('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.requestUrl_1.toString() + '.');
705
864
  }
706
865
 
707
866
  return result;
708
867
  case 2:
709
- throw this.n8_1;
868
+ throw this.exception_1;
710
869
  }
711
870
  } catch ($p) {
712
871
  var e = $p;
713
- if (this.l8_1 === 2) {
872
+ if (this.exceptionState_1 === 2) {
714
873
  throw e;
715
874
  } else {
716
- this.k8_1 = this.l8_1;
717
- this.n8_1 = e;
875
+ this.state_1 = this.exceptionState_1;
876
+ this.exception_1 = e;
718
877
  }
719
878
  }
720
879
  while (true);
@@ -723,49 +882,50 @@ var properties_initialized_ContentNegotiation_kt_1ayduy;
723
882
  function _init_properties_ContentNegotiation_kt__o183go() {
724
883
  if (!properties_initialized_ContentNegotiation_kt_1ayduy) {
725
884
  properties_initialized_ContentNegotiation_kt_1ayduy = true;
726
- supportedSuffixTypes = mapOf([to(Application_getInstance().g2l_1, 'json'), to(Application_getInstance().m2l_1, 'xml'), to(ContentType_init_$Create$('application', 'fastinfoset'), 'fastinfoset'), to(ContentType_init_$Create$('application', 'vnd.wap.wbxml'), 'wbxml'), to(Application_getInstance().p2l_1, 'zip')]);
885
+ supportedSuffixTypes = mapOf([to(Application_getInstance().Json_1, 'json'), to(Application_getInstance().Xml_1, 'xml'), to(ContentType_init_$Create$('application', 'fastinfoset'), 'fastinfoset'), to(ContentType_init_$Create$('application', 'vnd.wap.wbxml'), 'wbxml'), to(Application_getInstance().Zip_1, 'zip')]);
727
886
  LOGGER = KtorSimpleLogger('io.ktor.client.plugins.contentnegotiation.ContentNegotiation');
728
- DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().vb(), PrimitiveClasses_getInstance().rb(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent), getKClass(ClientSSESession), getKClass(ClientSSESessionWithDeserialization)]);
887
+ DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().get_byteArrayClass_57my8g_k$(), PrimitiveClasses_getInstance().get_stringClass_bik2gy_k$(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent), getKClass(ClientSSESession), getKClass(ClientSSESessionWithDeserialization)]);
729
888
  // Inline function 'io.ktor.util.AttributeKey' call
730
889
  var name = 'ExcludedContentTypesAttr';
731
890
  // Inline function 'io.ktor.util.reflect.typeInfo' call
732
891
  var tmp = getKClass(KtList);
892
+ var tmp_0 = !(null == null) ? isInterface(null, KtList) : false;
733
893
  // Inline function 'io.ktor.util.reflect.typeOfOrNull' call
734
- var tmp_0;
894
+ var tmp_1;
735
895
  try {
736
- tmp_0 = createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(ContentType), arrayOf([]), false))]), false);
896
+ tmp_1 = createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(ContentType), arrayOf([]), false))]), false);
737
897
  } catch ($p) {
738
- var tmp_1;
898
+ var tmp_2;
739
899
  if ($p instanceof Error) {
740
900
  var _unused_var__etf5q3 = $p;
741
- tmp_1 = null;
901
+ tmp_2 = null;
742
902
  } else {
743
903
  throw $p;
744
904
  }
745
- tmp_0 = tmp_1;
905
+ tmp_1 = tmp_2;
746
906
  }
747
- var tmp$ret$2 = tmp_0;
748
- var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$2);
907
+ var tmp$ret$2 = tmp_1;
908
+ var tmp$ret$1 = new TypeInfo(tmp, tmp_0, tmp$ret$2);
749
909
  ExcludedContentTypes = new AttributeKey(name, tmp$ret$1);
750
- var tmp_2 = ContentNegotiationConfig$_init_$ref_1ne3ob();
751
- ContentNegotiation = createClientPlugin('ContentNegotiation', tmp_2, ContentNegotiation$lambda);
910
+ var tmp_3 = ContentNegotiationConfig$_init_$ref_1ne3ob();
911
+ ContentNegotiation = createClientPlugin('ContentNegotiation', tmp_3, ContentNegotiation$lambda);
752
912
  }
753
913
  }
754
914
  function get_DefaultIgnoredTypes() {
755
- _init_properties_DefaultIgnoredTypes_web_kt__6eddjw();
915
+ _init_properties_DefaultIgnoredTypes_nonJvm_kt__d0t56u();
756
916
  return DefaultIgnoredTypes;
757
917
  }
758
918
  var DefaultIgnoredTypes;
759
- var properties_initialized_DefaultIgnoredTypes_web_kt_23uj7m;
760
- function _init_properties_DefaultIgnoredTypes_web_kt__6eddjw() {
761
- if (!properties_initialized_DefaultIgnoredTypes_web_kt_23uj7m) {
762
- properties_initialized_DefaultIgnoredTypes_web_kt_23uj7m = true;
919
+ var properties_initialized_DefaultIgnoredTypes_nonJvm_kt_bmyzac;
920
+ function _init_properties_DefaultIgnoredTypes_nonJvm_kt__d0t56u() {
921
+ if (!properties_initialized_DefaultIgnoredTypes_nonJvm_kt_bmyzac) {
922
+ properties_initialized_DefaultIgnoredTypes_nonJvm_kt_bmyzac = true;
763
923
  // Inline function 'kotlin.collections.mutableSetOf' call
764
924
  DefaultIgnoredTypes = LinkedHashSet_init_$Create$();
765
925
  }
766
926
  }
767
927
  //region block: post-declaration
768
- protoOf(ContentNegotiationConfig).s3c = register$default;
928
+ protoOf(ContentNegotiationConfig).register$default_yp0q2f_k$ = register$default;
769
929
  //endregion
770
930
  //region block: exports
771
931
  export {