@doordeck/doordeck-headless-sdk 0.190.0 → 0.194.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 (28) hide show
  1. package/kotlin/Kermit-kermit-core.js +60 -60
  2. package/kotlin/Kermit-kermit.js +8 -8
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
  4. package/kotlin/doordeck-sdk.d.ts +1 -0
  5. package/kotlin/doordeck-sdk.js +10294 -10331
  6. package/kotlin/kotlin-kotlin-stdlib.js +1736 -1107
  7. package/kotlin/kotlinx-atomicfu.js +21 -21
  8. package/kotlin/kotlinx-browser.js +10 -0
  9. package/kotlin/kotlinx-coroutines-core.js +2529 -2067
  10. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +52 -52
  11. package/kotlin/kotlinx-io-kotlinx-io-core.js +489 -493
  12. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1956 -1956
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1483 -1483
  14. package/kotlin/ktor-ktor-client-auth.js +408 -400
  15. package/kotlin/ktor-ktor-client-content-negotiation.js +185 -186
  16. package/kotlin/ktor-ktor-client-core.js +2941 -2275
  17. package/kotlin/ktor-ktor-client-logging.js +1028 -992
  18. package/kotlin/ktor-ktor-events.js +15 -15
  19. package/kotlin/ktor-ktor-http-cio.js +413 -418
  20. package/kotlin/ktor-ktor-http.js +923 -880
  21. package/kotlin/ktor-ktor-io.js +1056 -987
  22. package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
  23. package/kotlin/ktor-ktor-serialization-kotlinx.js +166 -166
  24. package/kotlin/ktor-ktor-serialization.js +77 -78
  25. package/kotlin/ktor-ktor-utils.js +944 -989
  26. package/kotlin/ktor-ktor-websockets.js +2178 -82
  27. package/package.json +4 -5
  28. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +0 -329
@@ -1,71 +1,70 @@
1
1
  (function (_, kotlin_kotlin, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_serialization, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_utils) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var protoOf = kotlin_kotlin.$_$.xb;
5
- var initMetadataForClass = kotlin_kotlin.$_$.ab;
6
- var plus = kotlin_kotlin.$_$.q7;
7
- var toMutableSet = kotlin_kotlin.$_$.m8;
8
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
4
+ var protoOf = kotlin_kotlin.$_$.zb;
5
+ var initMetadataForClass = kotlin_kotlin.$_$.cb;
6
+ var plus = kotlin_kotlin.$_$.s7;
7
+ var toMutableSet = kotlin_kotlin.$_$.o8;
8
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
9
9
  var Application_getInstance = kotlin_io_ktor_ktor_http.$_$.b;
10
10
  var register$default = kotlin_io_ktor_ktor_serialization.$_$.b;
11
- var Unit_instance = kotlin_kotlin.$_$.b5;
11
+ var Unit_instance = kotlin_kotlin.$_$.c5;
12
12
  var Configuration = kotlin_io_ktor_ktor_serialization.$_$.c;
13
13
  var VOID = kotlin_kotlin.$_$.b;
14
- var Exception = kotlin_kotlin.$_$.of;
15
- var Exception_init_$Init$ = kotlin_kotlin.$_$.h1;
16
- var captureStack = kotlin_kotlin.$_$.ja;
17
- var toString = kotlin_kotlin.$_$.ac;
14
+ var Exception = kotlin_kotlin.$_$.sf;
15
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.j1;
16
+ var captureStack = kotlin_kotlin.$_$.la;
17
+ var toString = kotlin_kotlin.$_$.cc;
18
18
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.o;
19
- var CoroutineImpl = kotlin_kotlin.$_$.j9;
20
- var THROW_CCE = kotlin_kotlin.$_$.vf;
21
- var TransformRequestBodyContext = kotlin_io_ktor_ktor_client_core.$_$.l;
22
- var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.b1;
23
- var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.m;
24
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t8;
25
- var initMetadataForLambda = kotlin_kotlin.$_$.fb;
26
- var TransformResponseBodyContext = kotlin_io_ktor_ktor_client_core.$_$.m;
27
- var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.i1;
28
- var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.l1;
29
- var isInterface = kotlin_kotlin.$_$.pb;
30
- var contentType = kotlin_io_ktor_ktor_http.$_$.n1;
31
- var get_request = kotlin_io_ktor_ktor_client_core.$_$.k1;
19
+ var CoroutineImpl = kotlin_kotlin.$_$.l9;
20
+ var THROW_CCE = kotlin_kotlin.$_$.zf;
21
+ var TransformRequestBodyContext = kotlin_io_ktor_ktor_client_core.$_$.m;
22
+ var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.d1;
23
+ var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.p;
24
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
25
+ var initMetadataForLambda = kotlin_kotlin.$_$.hb;
26
+ var TransformResponseBodyContext = kotlin_io_ktor_ktor_client_core.$_$.n;
27
+ var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.k1;
28
+ var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.n1;
29
+ var isInterface = kotlin_kotlin.$_$.rb;
30
+ var contentType = kotlin_io_ktor_ktor_http.$_$.o1;
31
+ var get_request = kotlin_io_ktor_ktor_client_core.$_$.m1;
32
32
  var suitableCharset = kotlin_io_ktor_ktor_serialization.$_$.f;
33
- var Collection = kotlin_kotlin.$_$.d5;
34
- var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
35
- var emptyList = kotlin_kotlin.$_$.q6;
33
+ var Collection = kotlin_kotlin.$_$.e5;
34
+ var emptyList = kotlin_kotlin.$_$.s6;
36
35
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.c;
37
- var accept = kotlin_io_ktor_ktor_client_core.$_$.d1;
36
+ var accept = kotlin_io_ktor_ktor_client_core.$_$.f1;
38
37
  var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
39
- var getKClassFromExpression = kotlin_kotlin.$_$.nc;
40
- var contentType_0 = kotlin_io_ktor_ktor_http.$_$.m1;
38
+ var getKClassFromExpression = kotlin_kotlin.$_$.qc;
39
+ var contentType_0 = kotlin_io_ktor_ktor_http.$_$.n1;
41
40
  var EmptyContent_getInstance = kotlin_io_ktor_ktor_client_core.$_$.g;
42
- var Unit = kotlin_kotlin.$_$.gg;
43
- var charset = kotlin_io_ktor_ktor_http.$_$.k1;
44
- var ensureNotNull = kotlin_kotlin.$_$.ng;
41
+ var Unit = kotlin_kotlin.$_$.kg;
42
+ var charset = kotlin_io_ktor_ktor_http.$_$.l1;
43
+ var ensureNotNull = kotlin_kotlin.$_$.rg;
45
44
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
46
- var equals = kotlin_kotlin.$_$.sa;
47
- var joinToString = kotlin_kotlin.$_$.f7;
48
- var initMetadataForCoroutine = kotlin_kotlin.$_$.cb;
49
- var collectionSizeOrDefault = kotlin_kotlin.$_$.w5;
50
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
45
+ var equals = kotlin_kotlin.$_$.ua;
46
+ var joinToString = kotlin_kotlin.$_$.h7;
47
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.eb;
48
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.x5;
49
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
51
50
  var deserialize = kotlin_io_ktor_ktor_serialization.$_$.a;
52
- var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.h;
53
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.p4;
54
- var HttpStatusCode = kotlin_io_ktor_ktor_http.$_$.a1;
55
- var getKClass = kotlin_kotlin.$_$.oc;
56
- var ClientSSESession = kotlin_io_ktor_ktor_client_core.$_$.q;
57
- var ClientSSESessionWithDeserialization = kotlin_io_ktor_ktor_client_core.$_$.p;
58
- var setOf = kotlin_kotlin.$_$.y7;
59
- var KtList = kotlin_kotlin.$_$.i5;
60
- var ContentType = kotlin_io_ktor_ktor_http.$_$.y;
61
- var arrayOf = kotlin_kotlin.$_$.jg;
62
- var createKType = kotlin_kotlin.$_$.mc;
63
- var createInvariantKTypeProjection = kotlin_kotlin.$_$.kc;
64
- var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.o;
65
- var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.n;
66
- var endsWith = kotlin_kotlin.$_$.gd;
67
- var initMetadataForObject = kotlin_kotlin.$_$.gb;
68
- var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.u;
51
+ var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.k;
52
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.q4;
53
+ var HttpStatusCode = kotlin_io_ktor_ktor_http.$_$.b1;
54
+ var getKClass = kotlin_kotlin.$_$.rc;
55
+ var ClientSSESession = kotlin_io_ktor_ktor_client_core.$_$.r;
56
+ var ClientSSESessionWithDeserialization = kotlin_io_ktor_ktor_client_core.$_$.q;
57
+ var setOf = kotlin_kotlin.$_$.a8;
58
+ var KtList = kotlin_kotlin.$_$.j5;
59
+ var ContentType = kotlin_io_ktor_ktor_http.$_$.z;
60
+ var arrayOf = kotlin_kotlin.$_$.ng;
61
+ var createKType = kotlin_kotlin.$_$.pc;
62
+ var createInvariantKTypeProjection = kotlin_kotlin.$_$.nc;
63
+ var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.r;
64
+ var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.o;
65
+ var endsWith = kotlin_kotlin.$_$.jd;
66
+ var initMetadataForObject = kotlin_kotlin.$_$.ib;
67
+ var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.w;
69
68
  //endregion
70
69
  //region block: pre-declaration
71
70
  initMetadataForClass(ConverterRegistration, 'ConverterRegistration');
@@ -99,35 +98,35 @@
99
98
  }
100
99
  var ContentNegotiation;
101
100
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
102
- this.v59_1 = converter;
103
- this.w59_1 = contentTypeToSend;
104
- this.x59_1 = contentTypeMatcher;
101
+ this.x5l_1 = converter;
102
+ this.y5l_1 = contentTypeToSend;
103
+ this.z5l_1 = contentTypeMatcher;
105
104
  }
106
105
  function defaultMatcher($this, pattern) {
107
106
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
108
107
  }
109
108
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
110
- this.y59_1 = $pattern;
109
+ this.a5m_1 = $pattern;
111
110
  }
112
- protoOf(ContentNegotiationConfig$defaultMatcher$1).z59 = function (contentType) {
113
- return contentType.r2s(this.y59_1);
111
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).b5m = function (contentType) {
112
+ return contentType.d2v(this.a5m_1);
114
113
  };
115
114
  function ContentNegotiationConfig() {
116
- this.a5a_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
115
+ this.c5m_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
117
116
  var tmp = this;
118
117
  // Inline function 'kotlin.collections.mutableListOf' call
119
- tmp.b5a_1 = ArrayList_init_$Create$();
120
- this.c5a_1 = null;
118
+ tmp.d5m_1 = ArrayList_init_$Create$();
119
+ this.e5m_1 = null;
121
120
  }
122
- protoOf(ContentNegotiationConfig).y3a = function (contentType, converter, configuration) {
123
- var matcher = contentType.r2s(Application_getInstance().x2q_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
124
- this.d5a(contentType, converter, matcher, configuration);
121
+ protoOf(ContentNegotiationConfig).h3l = function (contentType, converter, configuration) {
122
+ var matcher = contentType.d2v(Application_getInstance().j2t_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
123
+ this.f5m(contentType, converter, matcher, configuration);
125
124
  };
126
- protoOf(ContentNegotiationConfig).d5a = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
125
+ protoOf(ContentNegotiationConfig).f5m = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
127
126
  // Inline function 'kotlin.apply' call
128
127
  configuration(converter);
129
128
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
130
- this.b5a_1.j1(registration);
129
+ this.d5m_1.j1(registration);
131
130
  };
132
131
  function ContentConverterException(message) {
133
132
  Exception_init_$Init$(message, this);
@@ -142,15 +141,15 @@
142
141
  }
143
142
  function ContentNegotiation$lambda($this$createClientPlugin) {
144
143
  _init_properties_ContentNegotiation_kt__o183go();
145
- var registrations = $this$createClientPlugin.a3n_1.b5a_1;
146
- var ignoredTypes = $this$createClientPlugin.a3n_1.a5a_1;
147
- $this$createClientPlugin.u47(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
148
- $this$createClientPlugin.g3w(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
144
+ var registrations = $this$createClientPlugin.k3x_1.d5m_1;
145
+ var ignoredTypes = $this$createClientPlugin.k3x_1.c5m_1;
146
+ $this$createClientPlugin.e4i(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
147
+ $this$createClientPlugin.q46(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
149
148
  return Unit_instance;
150
149
  }
151
150
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
152
151
  _init_properties_ContentNegotiation_kt__o183go();
153
- return toString(it.v59_1);
152
+ return toString(it.x5l_1);
154
153
  }
155
154
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
156
155
  var tmp = new $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion);
@@ -159,29 +158,29 @@
159
158
  return tmp.i9();
160
159
  }
161
160
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
162
- charset = charset === VOID ? Charsets_getInstance().q1v_1 : charset;
161
+ charset = charset === VOID ? Charsets_getInstance().b1y_1 : charset;
163
162
  var tmp = new $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
164
163
  tmp.c9_1 = Unit_instance;
165
164
  tmp.d9_1 = null;
166
165
  return tmp.i9();
167
166
  }
168
167
  function ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
169
- this.v5b_1 = $registrations;
170
- this.w5b_1 = $this_createClientPlugin;
171
- this.x5b_1 = $ignoredTypes;
168
+ this.x5n_1 = $registrations;
169
+ this.y5n_1 = $this_createClientPlugin;
170
+ this.z5n_1 = $ignoredTypes;
172
171
  CoroutineImpl.call(this, resultContinuation);
173
172
  }
174
- protoOf(ContentNegotiation$lambda$slambda).c5c = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
175
- var tmp = this.d5c($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
173
+ protoOf(ContentNegotiation$lambda$slambda).e5o = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
174
+ var tmp = this.f5o($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
176
175
  tmp.c9_1 = Unit_instance;
177
176
  tmp.d9_1 = null;
178
177
  return tmp.i9();
179
178
  };
180
- protoOf(ContentNegotiation$lambda$slambda).l3x = function (p1, p2, p3, p4, $completion) {
179
+ protoOf(ContentNegotiation$lambda$slambda).v47 = function (p1, p2, p3, p4, $completion) {
181
180
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
182
181
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
183
182
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
184
- return this.c5c(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
183
+ return this.e5o(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
185
184
  };
186
185
  protoOf(ContentNegotiation$lambda$slambda).i9 = function () {
187
186
  var suspendResult = this.c9_1;
@@ -192,7 +191,7 @@
192
191
  case 0:
193
192
  this.b9_1 = 2;
194
193
  this.a9_1 = 1;
195
- suspendResult = invoke$convertRequest(this.v5b_1, this.w5b_1, this.x5b_1, this.z5b_1, this.a5c_1, this);
194
+ suspendResult = invoke$convertRequest(this.x5n_1, this.y5n_1, this.z5n_1, this.b5o_1, this.c5o_1, this);
196
195
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
197
196
  return suspendResult;
198
197
  }
@@ -214,39 +213,39 @@
214
213
  }
215
214
  while (true);
216
215
  };
217
- protoOf(ContentNegotiation$lambda$slambda).d5c = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
218
- var i = new ContentNegotiation$lambda$slambda(this.v5b_1, this.w5b_1, this.x5b_1, completion);
219
- i.y5b_1 = $this$transformRequestBody;
220
- i.z5b_1 = request;
221
- i.a5c_1 = body;
222
- i.b5c_1 = _unused_var__etf5q3;
216
+ protoOf(ContentNegotiation$lambda$slambda).f5o = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
217
+ var i = new ContentNegotiation$lambda$slambda(this.x5n_1, this.y5n_1, this.z5n_1, completion);
218
+ i.a5o_1 = $this$transformRequestBody;
219
+ i.b5o_1 = request;
220
+ i.c5o_1 = body;
221
+ i.d5o_1 = _unused_var__etf5q3;
223
222
  return i;
224
223
  };
225
224
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
226
225
  var i = new ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation);
227
226
  var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
228
- return i.c5c($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
227
+ return i.e5o($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
229
228
  };
230
229
  l.$arity = 4;
231
230
  return l;
232
231
  }
233
232
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
234
- this.m5c_1 = $ignoredTypes;
235
- this.n5c_1 = $registrations;
236
- this.o5c_1 = $this_createClientPlugin;
233
+ this.o5o_1 = $ignoredTypes;
234
+ this.p5o_1 = $registrations;
235
+ this.q5o_1 = $this_createClientPlugin;
237
236
  CoroutineImpl.call(this, resultContinuation);
238
237
  }
239
- protoOf(ContentNegotiation$lambda$slambda_1).j3x = function ($this$transformResponseBody, response, body, info, $completion) {
240
- var tmp = this.k3x($this$transformResponseBody, response, body, info, $completion);
238
+ protoOf(ContentNegotiation$lambda$slambda_1).t47 = function ($this$transformResponseBody, response, body, info, $completion) {
239
+ var tmp = this.u47($this$transformResponseBody, response, body, info, $completion);
241
240
  tmp.c9_1 = Unit_instance;
242
241
  tmp.d9_1 = null;
243
242
  return tmp.i9();
244
243
  };
245
- protoOf(ContentNegotiation$lambda$slambda_1).l3x = function (p1, p2, p3, p4, $completion) {
244
+ protoOf(ContentNegotiation$lambda$slambda_1).v47 = function (p1, p2, p3, p4, $completion) {
246
245
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
247
246
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
248
247
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
249
- return this.j3x(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
248
+ return this.t47(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
250
249
  };
251
250
  protoOf(ContentNegotiation$lambda$slambda_1).i9 = function () {
252
251
  var suspendResult = this.c9_1;
@@ -256,7 +255,7 @@
256
255
  switch (tmp) {
257
256
  case 0:
258
257
  this.b9_1 = 2;
259
- var tmp0_elvis_lhs = contentType(this.q5c_1);
258
+ var tmp0_elvis_lhs = contentType(this.s5o_1);
260
259
  var tmp_0;
261
260
  if (tmp0_elvis_lhs == null) {
262
261
  return null;
@@ -265,9 +264,9 @@
265
264
  }
266
265
 
267
266
  var contentType_0 = tmp_0;
268
- var charset = suitableCharset(get_request(this.q5c_1).b2x());
267
+ var charset = suitableCharset(get_request(this.s5o_1).n2z());
269
268
  this.a9_1 = 1;
270
- suspendResult = invoke$convertResponse(this.m5c_1, this.n5c_1, this.o5c_1, get_request(this.q5c_1).o3g(), this.s5c_1, this.r5c_1, contentType_0, charset, this);
269
+ suspendResult = invoke$convertResponse(this.o5o_1, this.p5o_1, this.q5o_1, get_request(this.s5o_1).x3q(), this.u5o_1, this.t5o_1, contentType_0, charset, this);
271
270
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
272
271
  return suspendResult;
273
272
  }
@@ -289,29 +288,29 @@
289
288
  }
290
289
  while (true);
291
290
  };
292
- protoOf(ContentNegotiation$lambda$slambda_1).k3x = function ($this$transformResponseBody, response, body, info, completion) {
293
- var i = new ContentNegotiation$lambda$slambda_1(this.m5c_1, this.n5c_1, this.o5c_1, completion);
294
- i.p5c_1 = $this$transformResponseBody;
295
- i.q5c_1 = response;
296
- i.r5c_1 = body;
297
- i.s5c_1 = info;
291
+ protoOf(ContentNegotiation$lambda$slambda_1).u47 = function ($this$transformResponseBody, response, body, info, completion) {
292
+ var i = new ContentNegotiation$lambda$slambda_1(this.o5o_1, this.p5o_1, this.q5o_1, completion);
293
+ i.r5o_1 = $this$transformResponseBody;
294
+ i.s5o_1 = response;
295
+ i.t5o_1 = body;
296
+ i.u5o_1 = info;
298
297
  return i;
299
298
  };
300
299
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
301
300
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
302
301
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
303
- return i.j3x($this$transformResponseBody, response, body, info, $completion);
302
+ return i.t47($this$transformResponseBody, response, body, info, $completion);
304
303
  };
305
304
  l.$arity = 4;
306
305
  return l;
307
306
  }
308
307
  function $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, resultContinuation) {
309
308
  CoroutineImpl.call(this, resultContinuation);
310
- this.m5a_1 = registrations;
311
- this.n5a_1 = $this_createClientPlugin;
312
- this.o5a_1 = ignoredTypes;
313
- this.p5a_1 = request;
314
- this.q5a_1 = body;
309
+ this.o5m_1 = registrations;
310
+ this.p5m_1 = $this_createClientPlugin;
311
+ this.q5m_1 = ignoredTypes;
312
+ this.r5m_1 = request;
313
+ this.s5m_1 = body;
315
314
  }
316
315
  protoOf($invoke$convertRequestCOROUTINE$).i9 = function () {
317
316
  var suspendResult = this.c9_1;
@@ -322,9 +321,9 @@
322
321
  case 0:
323
322
  this.b9_1 = 7;
324
323
  var tmp_0;
325
- if (this.p5a_1.c3f_1.n2h(get_ExcludedContentTypes())) {
326
- var excluded = this.p5a_1.c3f_1.l2h(get_ExcludedContentTypes());
327
- var tmp0 = this.m5a_1;
324
+ if (this.r5m_1.l3p_1.y2j(get_ExcludedContentTypes())) {
325
+ var excluded = this.r5m_1.l3p_1.w2j(get_ExcludedContentTypes());
326
+ var tmp0 = this.o5m_1;
328
327
  var destination = ArrayList_init_$Create$();
329
328
  var _iterator__ex2g4s = tmp0.t();
330
329
  while (_iterator__ex2g4s.u()) {
@@ -344,7 +343,7 @@
344
343
  var _iterator__ex2g4s_0 = excluded.t();
345
344
  while (_iterator__ex2g4s_0.u()) {
346
345
  var element_0 = _iterator__ex2g4s_0.v();
347
- if (element.w59_1.r2s(element_0)) {
346
+ if (element.y5l_1.d2v(element_0)) {
348
347
  tmp$ret$0 = false;
349
348
  break l$ret$1;
350
349
  }
@@ -358,11 +357,11 @@
358
357
  }
359
358
  tmp_0 = destination;
360
359
  } else {
361
- tmp_0 = this.m5a_1;
360
+ tmp_0 = this.o5m_1;
362
361
  }
363
362
 
364
363
  var requestRegistrations = tmp_0;
365
- var tmp0_elvis_lhs = this.p5a_1.z3e_1.p2l(HttpHeaders_getInstance().x2s_1);
364
+ var tmp0_elvis_lhs = this.r5m_1.i3p_1.b2o('Accept');
366
365
  var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
367
366
  var _iterator__ex2g4s_1 = requestRegistrations.t();
368
367
  while (_iterator__ex2g4s_1.u()) {
@@ -382,7 +381,7 @@
382
381
  var _iterator__ex2g4s_2 = acceptHeaders.t();
383
382
  while (_iterator__ex2g4s_2.u()) {
384
383
  var element_2 = _iterator__ex2g4s_2.v();
385
- if (Companion_getInstance().ol(element_2).r2s(element_1.w59_1)) {
384
+ if (Companion_getInstance().ym(element_2).d2v(element_1.y5l_1)) {
386
385
  tmp$ret$2 = false;
387
386
  break l$ret$3;
388
387
  }
@@ -391,19 +390,19 @@
391
390
  }
392
391
  while (false);
393
392
  if (tmp$ret$2) {
394
- var qValue = this.n5a_1.a3n_1.c5a_1;
395
- var contentTypeToSend = qValue == null ? element_1.w59_1 : element_1.w59_1.p2s('q', qValue.toString());
396
- get_LOGGER().f2q('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.p5a_1.x3e_1.toString());
397
- accept(this.p5a_1, contentTypeToSend);
393
+ var qValue = this.p5m_1.k3x_1.e5m_1;
394
+ var contentTypeToSend = qValue == null ? element_1.y5l_1 : element_1.y5l_1.b2v('q', qValue.toString());
395
+ get_LOGGER().r2s('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.r5m_1.g3p_1.toString());
396
+ accept(this.r5m_1, contentTypeToSend);
398
397
  }
399
398
  }
400
399
 
401
400
  var tmp_3;
402
- var tmp_4 = this.q5a_1;
401
+ var tmp_4 = this.s5m_1;
403
402
  if (tmp_4 instanceof OutgoingContent) {
404
403
  tmp_3 = true;
405
404
  } else {
406
- var tmp0_0 = this.o5a_1;
405
+ var tmp0_0 = this.q5m_1;
407
406
  var tmp$ret$4;
408
407
  l$ret$5: do {
409
408
  var tmp_5;
@@ -419,7 +418,7 @@
419
418
  var _iterator__ex2g4s_3 = tmp0_0.t();
420
419
  while (_iterator__ex2g4s_3.u()) {
421
420
  var element_3 = _iterator__ex2g4s_3.v();
422
- if (element_3.bb(this.q5a_1)) {
421
+ if (element_3.bb(this.s5m_1)) {
423
422
  tmp$ret$4 = true;
424
423
  break l$ret$5;
425
424
  }
@@ -431,36 +430,36 @@
431
430
  }
432
431
 
433
432
  if (tmp_3) {
434
- get_LOGGER().f2q('Body type ' + toString(getKClassFromExpression(this.q5a_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.p5a_1.x3e_1.toString() + '.'));
433
+ get_LOGGER().r2s('Body type ' + toString(getKClassFromExpression(this.s5m_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.r5m_1.g3p_1.toString() + '.'));
435
434
  return null;
436
435
  }
437
436
 
438
437
  var tmp_6 = this;
439
- var tmp0_elvis_lhs_0 = contentType_0(this.p5a_1);
438
+ var tmp0_elvis_lhs_0 = contentType_0(this.r5m_1);
440
439
  var tmp_7;
441
440
  if (tmp0_elvis_lhs_0 == null) {
442
- this.n5a_1;
443
- get_LOGGER().f2q("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.p5a_1.x3e_1.toString() + '.');
441
+ this.p5m_1;
442
+ get_LOGGER().r2s("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.r5m_1.g3p_1.toString() + '.');
444
443
  return null;
445
444
  } else {
446
445
  tmp_7 = tmp0_elvis_lhs_0;
447
446
  }
448
447
 
449
- tmp_6.s5a_1 = tmp_7;
450
- var tmp_8 = this.q5a_1;
448
+ tmp_6.u5m_1 = tmp_7;
449
+ var tmp_8 = this.s5m_1;
451
450
  if (tmp_8 instanceof Unit) {
452
- get_LOGGER().f2q('Sending empty body for ' + this.p5a_1.x3e_1.toString());
453
- this.p5a_1.z3e_1.z2l(HttpHeaders_getInstance().p2t_1);
451
+ get_LOGGER().r2s('Sending empty body for ' + this.r5m_1.g3p_1.toString());
452
+ this.r5m_1.i3p_1.l2o('Content-Type');
454
453
  return EmptyContent_getInstance();
455
454
  }
456
455
 
457
456
  var tmp_9 = this;
458
- var tmp0_1 = this.m5a_1;
457
+ var tmp0_1 = this.o5m_1;
459
458
  var destination_0 = ArrayList_init_$Create$();
460
459
  var _iterator__ex2g4s_4 = tmp0_1.t();
461
460
  while (_iterator__ex2g4s_4.u()) {
462
461
  var element_4 = _iterator__ex2g4s_4.v();
463
- if (element_4.x59_1.z59(this.s5a_1)) {
462
+ if (element_4.z5l_1.b5m(this.u5m_1)) {
464
463
  destination_0.j1(element_4);
465
464
  }
466
465
  }
@@ -475,40 +474,40 @@
475
474
  var tmp1_elvis_lhs = tmp_10;
476
475
  var tmp_11;
477
476
  if (tmp1_elvis_lhs == null) {
478
- this.n5a_1;
479
- get_LOGGER().f2q('None of the registered converters match request Content-Type=' + this.s5a_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.p5a_1.x3e_1.toString() + '.'));
477
+ this.p5m_1;
478
+ get_LOGGER().r2s('None of the registered converters match request Content-Type=' + this.u5m_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.r5m_1.g3p_1.toString() + '.'));
480
479
  return null;
481
480
  } else {
482
481
  tmp_11 = tmp1_elvis_lhs;
483
482
  }
484
483
 
485
- tmp_9.r5a_1 = tmp_11;
486
- if (this.p5a_1.c4a() == null) {
487
- get_LOGGER().f2q('Request has unknown body type. Skipping ContentNegotiation for ' + this.p5a_1.x3e_1.toString() + '.');
484
+ tmp_9.t5m_1 = tmp_11;
485
+ if (this.r5m_1.m4k() == null) {
486
+ get_LOGGER().r2s('Request has unknown body type. Skipping ContentNegotiation for ' + this.r5m_1.g3p_1.toString() + '.');
488
487
  return null;
489
488
  }
490
489
 
491
- this.p5a_1.z3e_1.z2l(HttpHeaders_getInstance().p2t_1);
492
- this.w5a_1 = this.r5a_1;
490
+ this.r5m_1.i3p_1.l2o('Content-Type');
491
+ this.y5m_1 = this.t5m_1;
493
492
  this.a9_1 = 1;
494
493
  continue $sm;
495
494
  case 1:
496
- this.v5a_1 = this.w5a_1.t();
495
+ this.x5m_1 = this.y5m_1.t();
497
496
  this.a9_1 = 2;
498
497
  continue $sm;
499
498
  case 2:
500
- if (!this.v5a_1.u()) {
499
+ if (!this.x5m_1.u()) {
501
500
  this.a9_1 = 5;
502
501
  continue $sm;
503
502
  }
504
503
 
505
- var element_5 = this.v5a_1.v();
506
- this.u5a_1 = element_5;
504
+ var element_5 = this.x5m_1.v();
505
+ this.w5m_1 = element_5;
507
506
  this.a9_1 = 3;
508
- var tmp0_elvis_lhs_1 = charset(this.s5a_1);
509
- var tmp_12 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().q1v_1 : tmp0_elvis_lhs_1;
510
- var tmp_13 = ensureNotNull(this.p5a_1.c4a());
511
- var this_0 = this.q5a_1;
507
+ var tmp0_elvis_lhs_1 = charset(this.u5m_1);
508
+ var tmp_12 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().b1y_1 : tmp0_elvis_lhs_1;
509
+ var tmp_13 = ensureNotNull(this.r5m_1.m4k());
510
+ var this_0 = this.s5m_1;
512
511
  var tmp_14;
513
512
  if (!equals(this_0, NullBody_instance)) {
514
513
  tmp_14 = this_0;
@@ -516,7 +515,7 @@
516
515
  tmp_14 = null;
517
516
  }
518
517
 
519
- suspendResult = this.u5a_1.v59_1.t5c(this.s5a_1, tmp_12, tmp_13, tmp_14, this);
518
+ suspendResult = this.w5m_1.x5l_1.v5o(this.u5m_1, tmp_12, tmp_13, tmp_14, this);
520
519
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
521
520
  return suspendResult;
522
521
  }
@@ -525,12 +524,12 @@
525
524
  case 3:
526
525
  var result = suspendResult;
527
526
  if (!(result == null)) {
528
- get_LOGGER().f2q('Converted request body using ' + toString(this.u5a_1.v59_1) + ' for ' + this.p5a_1.x3e_1.toString());
527
+ get_LOGGER().r2s('Converted request body using ' + toString(this.w5m_1.x5l_1) + ' for ' + this.r5m_1.g3p_1.toString());
529
528
  }
530
529
 
531
530
  var result_0 = result;
532
531
  if (!(result_0 == null)) {
533
- this.t5a_1 = result_0;
532
+ this.v5m_1 = result_0;
534
533
  this.a9_1 = 6;
535
534
  continue $sm;
536
535
  } else {
@@ -542,7 +541,7 @@
542
541
  this.a9_1 = 2;
543
542
  continue $sm;
544
543
  case 5:
545
- this.t5a_1 = null;
544
+ this.v5m_1 = null;
546
545
  if (false) {
547
546
  this.a9_1 = 1;
548
547
  continue $sm;
@@ -551,11 +550,11 @@
551
550
  this.a9_1 = 6;
552
551
  continue $sm;
553
552
  case 6:
554
- var tmp2_elvis_lhs = this.t5a_1;
553
+ var tmp2_elvis_lhs = this.v5m_1;
555
554
  var tmp_15;
556
555
  if (tmp2_elvis_lhs == null) {
557
- var tmp_16 = "Can't convert " + toString(this.q5a_1) + ' with contentType ' + this.s5a_1.toString() + ' using converters ';
558
- throw new ContentConverterException(tmp_16 + joinToString(this.r5a_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
556
+ var tmp_16 = "Can't convert " + toString(this.s5m_1) + ' with contentType ' + this.u5m_1.toString() + ' using converters ';
557
+ throw new ContentConverterException(tmp_16 + joinToString(this.t5m_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
559
558
  } else {
560
559
  tmp_15 = tmp2_elvis_lhs;
561
560
  }
@@ -578,14 +577,14 @@
578
577
  };
579
578
  function $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
580
579
  CoroutineImpl.call(this, resultContinuation);
581
- this.f5b_1 = ignoredTypes;
582
- this.g5b_1 = registrations;
583
- this.h5b_1 = $this_createClientPlugin;
584
- this.i5b_1 = requestUrl;
585
- this.j5b_1 = info;
586
- this.k5b_1 = body;
587
- this.l5b_1 = responseContentType;
588
- this.m5b_1 = charset;
580
+ this.h5n_1 = ignoredTypes;
581
+ this.i5n_1 = registrations;
582
+ this.j5n_1 = $this_createClientPlugin;
583
+ this.k5n_1 = requestUrl;
584
+ this.l5n_1 = info;
585
+ this.m5n_1 = body;
586
+ this.n5n_1 = responseContentType;
587
+ this.o5n_1 = charset;
589
588
  }
590
589
  protoOf($invoke$convertResponseCOROUTINE$).i9 = function () {
591
590
  var suspendResult = this.c9_1;
@@ -595,23 +594,23 @@
595
594
  switch (tmp) {
596
595
  case 0:
597
596
  this.b9_1 = 2;
598
- var tmp_0 = this.k5b_1;
597
+ var tmp_0 = this.m5n_1;
599
598
  if (!isInterface(tmp_0, ByteReadChannel)) {
600
- get_LOGGER().f2q('Response body is already transformed. Skipping ContentNegotiation for ' + this.i5b_1.toString() + '.');
599
+ get_LOGGER().r2s('Response body is already transformed. Skipping ContentNegotiation for ' + this.k5n_1.toString() + '.');
601
600
  return null;
602
601
  }
603
602
 
604
- if (this.f5b_1.m2(this.j5b_1.o2p_1)) {
605
- get_LOGGER().f2q('Response body type ' + toString(this.j5b_1.o2p_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.i5b_1.toString() + '.'));
603
+ if (this.h5n_1.n2(this.l5n_1.a2s_1)) {
604
+ get_LOGGER().r2s('Response body type ' + toString(this.l5n_1.a2s_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.k5n_1.toString() + '.'));
606
605
  return null;
607
606
  }
608
607
 
609
- var tmp0 = this.g5b_1;
608
+ var tmp0 = this.i5n_1;
610
609
  var destination = ArrayList_init_$Create$();
611
610
  var _iterator__ex2g4s = tmp0.t();
612
611
  while (_iterator__ex2g4s.u()) {
613
612
  var element = _iterator__ex2g4s.v();
614
- if (element.x59_1.z59(this.l5b_1)) {
613
+ if (element.z5l_1.b5m(this.n5n_1)) {
615
614
  destination.j1(element);
616
615
  }
617
616
  }
@@ -620,7 +619,7 @@
620
619
  var _iterator__ex2g4s_0 = destination.t();
621
620
  while (_iterator__ex2g4s_0.u()) {
622
621
  var item = _iterator__ex2g4s_0.v();
623
- destination_0.j1(item.v59_1);
622
+ destination_0.j1(item.x5l_1);
624
623
  }
625
624
 
626
625
  var tmp_1;
@@ -633,8 +632,8 @@
633
632
  var tmp0_elvis_lhs = tmp_1;
634
633
  var tmp_2;
635
634
  if (tmp0_elvis_lhs == null) {
636
- this.h5b_1;
637
- get_LOGGER().f2q('None of the registered converters match response with Content-Type=' + this.l5b_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.i5b_1.toString() + '.'));
635
+ this.j5n_1;
636
+ get_LOGGER().r2s('None of the registered converters match response with Content-Type=' + this.n5n_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.k5n_1.toString() + '.'));
638
637
  return null;
639
638
  } else {
640
639
  tmp_2 = tmp0_elvis_lhs;
@@ -642,7 +641,7 @@
642
641
 
643
642
  var suitableConverters = tmp_2;
644
643
  this.a9_1 = 1;
645
- suspendResult = deserialize(suitableConverters, this.k5b_1, this.j5b_1, this.m5b_1, this);
644
+ suspendResult = deserialize(suitableConverters, this.m5n_1, this.l5n_1, this.o5n_1, this);
646
645
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
647
646
  return suspendResult;
648
647
  }
@@ -651,7 +650,7 @@
651
650
  case 1:
652
651
  var result = suspendResult;
653
652
  if (!isInterface(result, ByteReadChannel)) {
654
- get_LOGGER().f2q('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.i5b_1.toString() + '.');
653
+ get_LOGGER().r2s('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.k5n_1.toString() + '.');
655
654
  }
656
655
 
657
656
  return result;
@@ -702,32 +701,32 @@
702
701
  }
703
702
  function JsonContentTypeMatcher() {
704
703
  }
705
- protoOf(JsonContentTypeMatcher).z59 = function (contentType) {
706
- if (contentType.r2s(Application_getInstance().x2q_1)) {
704
+ protoOf(JsonContentTypeMatcher).b5m = function (contentType) {
705
+ if (contentType.d2v(Application_getInstance().j2t_1)) {
707
706
  return true;
708
707
  }
709
- var value = contentType.q2s().toString();
710
- return Application_getInstance().r2r(value) && endsWith(value, '+json', true);
708
+ var value = contentType.c2v().toString();
709
+ return Application_getInstance().d2u(value) && endsWith(value, '+json', true);
711
710
  };
712
711
  var JsonContentTypeMatcher_instance;
713
712
  function JsonContentTypeMatcher_getInstance() {
714
713
  return JsonContentTypeMatcher_instance;
715
714
  }
716
715
  function get_DefaultIgnoredTypes() {
717
- _init_properties_DefaultIgnoredTypesJs_kt__rjtdk1();
716
+ _init_properties_DefaultIgnoredTypes_web_kt__6eddjw();
718
717
  return DefaultIgnoredTypes;
719
718
  }
720
719
  var DefaultIgnoredTypes;
721
- var properties_initialized_DefaultIgnoredTypesJs_kt_65g2xt;
722
- function _init_properties_DefaultIgnoredTypesJs_kt__rjtdk1() {
723
- if (!properties_initialized_DefaultIgnoredTypesJs_kt_65g2xt) {
724
- properties_initialized_DefaultIgnoredTypesJs_kt_65g2xt = true;
720
+ var properties_initialized_DefaultIgnoredTypes_web_kt_23uj7m;
721
+ function _init_properties_DefaultIgnoredTypes_web_kt__6eddjw() {
722
+ if (!properties_initialized_DefaultIgnoredTypes_web_kt_23uj7m) {
723
+ properties_initialized_DefaultIgnoredTypes_web_kt_23uj7m = true;
725
724
  // Inline function 'kotlin.collections.mutableSetOf' call
726
725
  DefaultIgnoredTypes = LinkedHashSet_init_$Create$();
727
726
  }
728
727
  }
729
728
  //region block: post-declaration
730
- protoOf(ContentNegotiationConfig).z3a = register$default;
729
+ protoOf(ContentNegotiationConfig).i3l = register$default;
731
730
  //endregion
732
731
  //region block: init
733
732
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();