@doordeck/doordeck-headless-sdk 0.51.0 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1323 -1323
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +35 -35
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +9 -9
  4. package/kotlin/doordeck-sdk.d.ts +11 -4
  5. package/kotlin/doordeck-sdk.js +13410 -13255
  6. package/kotlin/kotlin-kotlin-stdlib.js +1845 -2257
  7. package/kotlin/kotlinx-atomicfu.js +19 -19
  8. package/kotlin/kotlinx-coroutines-core.js +1918 -1918
  9. package/kotlin/kotlinx-io-kotlinx-io-core.js +454 -454
  10. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1937 -1937
  11. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1541 -1541
  12. package/kotlin/ktor-ktor-client-ktor-client-core.js +2846 -2847
  13. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +403 -400
  14. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +210 -210
  15. package/kotlin/ktor-ktor-http.js +814 -814
  16. package/kotlin/ktor-ktor-io.js +667 -667
  17. package/kotlin/ktor-ktor-shared-ktor-events.js +12 -12
  18. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +8 -8
  19. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +271 -271
  20. package/kotlin/ktor-ktor-shared-ktor-serialization.js +127 -127
  21. package/kotlin/ktor-ktor-shared-ktor-websockets.js +55 -55
  22. package/kotlin/ktor-ktor-utils.js +632 -632
  23. package/package.json +1 -1
  24. package/kotlin/Stately-stately-concurrency.js +0 -30
  25. package/kotlin/Stately-stately-concurrent-collections.js +0 -302
  26. package/kotlin/Stately-stately-strict.js +0 -10
  27. package/kotlin/projects-core-koin-core.js +0 -1147
@@ -1,62 +1,62 @@
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.$_$.pb;
5
- var initMetadataForClass = kotlin_kotlin.$_$.pa;
6
- var plus = kotlin_kotlin.$_$.z7;
7
- var toMutableSet = kotlin_kotlin.$_$.v8;
8
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.q;
4
+ var protoOf = kotlin_kotlin.$_$.ib;
5
+ var initMetadataForClass = kotlin_kotlin.$_$.ia;
6
+ var plus = kotlin_kotlin.$_$.s7;
7
+ var toMutableSet = kotlin_kotlin.$_$.o8;
8
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
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.$_$.l5;
11
+ var Unit_instance = kotlin_kotlin.$_$.g5;
12
12
  var Configuration = kotlin_io_ktor_ktor_serialization.$_$.c;
13
13
  var VOID = kotlin_kotlin.$_$.h;
14
- var Exception = kotlin_kotlin.$_$.te;
15
- var Exception_init_$Init$ = kotlin_kotlin.$_$.p1;
16
- var captureStack = kotlin_kotlin.$_$.aa;
14
+ var Exception = kotlin_kotlin.$_$.le;
15
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.n1;
16
+ var captureStack = kotlin_kotlin.$_$.t9;
17
17
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.h;
18
- var CoroutineImpl = kotlin_kotlin.$_$.s9;
19
- var THROW_CCE = kotlin_kotlin.$_$.cf;
18
+ var CoroutineImpl = kotlin_kotlin.$_$.l9;
19
+ var THROW_CCE = kotlin_kotlin.$_$.ue;
20
20
  var TransformRequestBodyContext = kotlin_io_ktor_ktor_client_core.$_$.g;
21
21
  var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.o;
22
22
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.k;
23
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.c9;
24
- var initMetadataForLambda = kotlin_kotlin.$_$.ua;
23
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
24
+ var initMetadataForLambda = kotlin_kotlin.$_$.na;
25
25
  var TransformResponseBodyContext = kotlin_io_ktor_ktor_client_core.$_$.h;
26
- var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.u;
26
+ var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.t;
27
27
  var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.d1;
28
- var isInterface = kotlin_kotlin.$_$.eb;
28
+ var isInterface = kotlin_kotlin.$_$.xa;
29
29
  var contentType = kotlin_io_ktor_ktor_http.$_$.i1;
30
- var get_request = kotlin_io_ktor_ktor_client_core.$_$.w;
30
+ var get_request = kotlin_io_ktor_ktor_client_core.$_$.v;
31
31
  var suitableCharset = kotlin_io_ktor_ktor_serialization.$_$.f;
32
- var toString = kotlin_kotlin.$_$.tb;
32
+ var toString = kotlin_kotlin.$_$.mb;
33
33
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
34
34
  var accept = kotlin_io_ktor_ktor_client_core.$_$.p;
35
- var Collection = kotlin_kotlin.$_$.n5;
35
+ var Collection = kotlin_kotlin.$_$.i5;
36
36
  var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.t;
37
37
  var getKClassFromExpression = kotlin_kotlin.$_$.e;
38
38
  var contentType_0 = kotlin_io_ktor_ktor_http.$_$.h1;
39
39
  var EmptyContent_getInstance = kotlin_io_ktor_ktor_client_core.$_$.d;
40
- var Unit = kotlin_kotlin.$_$.nf;
40
+ var Unit = kotlin_kotlin.$_$.ff;
41
41
  var charset = kotlin_io_ktor_ktor_http.$_$.f1;
42
- var ensureNotNull = kotlin_kotlin.$_$.tf;
42
+ var ensureNotNull = kotlin_kotlin.$_$.lf;
43
43
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
44
- var equals = kotlin_kotlin.$_$.ia;
45
- var joinToString = kotlin_kotlin.$_$.o7;
46
- var initMetadataForCoroutine = kotlin_kotlin.$_$.ra;
47
- var collectionSizeOrDefault = kotlin_kotlin.$_$.i6;
48
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.p;
44
+ var equals = kotlin_kotlin.$_$.ba;
45
+ var joinToString = kotlin_kotlin.$_$.h7;
46
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.ka;
47
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
48
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
49
49
  var deserialize = kotlin_io_ktor_ktor_serialization.$_$.a;
50
50
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.g;
51
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.a5;
51
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.w4;
52
52
  var HttpStatusCode = kotlin_io_ktor_ktor_http.$_$.w;
53
53
  var getKClass = kotlin_kotlin.$_$.f;
54
- var setOf = kotlin_kotlin.$_$.i8;
54
+ var setOf = kotlin_kotlin.$_$.b8;
55
55
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.i;
56
- var startsWith = kotlin_kotlin.$_$.kd;
57
- var endsWith = kotlin_kotlin.$_$.qc;
58
- var initMetadataForObject = kotlin_kotlin.$_$.va;
59
- var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.b1;
56
+ var startsWith = kotlin_kotlin.$_$.dd;
57
+ var endsWith = kotlin_kotlin.$_$.jc;
58
+ var initMetadataForObject = kotlin_kotlin.$_$.oa;
59
+ var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.a1;
60
60
  //endregion
61
61
  //region block: pre-declaration
62
62
  initMetadataForClass(ConverterRegistration, 'ConverterRegistration');
@@ -85,34 +85,34 @@
85
85
  }
86
86
  var ContentNegotiation;
87
87
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
88
- this.i48_1 = converter;
89
- this.j48_1 = contentTypeToSend;
90
- this.k48_1 = contentTypeMatcher;
88
+ this.s47_1 = converter;
89
+ this.t47_1 = contentTypeToSend;
90
+ this.u47_1 = contentTypeMatcher;
91
91
  }
92
92
  function defaultMatcher($this, pattern) {
93
93
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
94
94
  }
95
95
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
96
- this.l48_1 = $pattern;
96
+ this.v47_1 = $pattern;
97
97
  }
98
- protoOf(ContentNegotiationConfig$defaultMatcher$1).m48 = function (contentType) {
99
- return contentType.p2f(this.l48_1);
98
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).w47 = function (contentType) {
99
+ return contentType.x2e(this.v47_1);
100
100
  };
101
101
  function ContentNegotiationConfig() {
102
- this.n48_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
102
+ this.x47_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
103
103
  var tmp = this;
104
104
  // Inline function 'kotlin.collections.mutableListOf' call
105
- tmp.o48_1 = ArrayList_init_$Create$();
105
+ tmp.y47_1 = ArrayList_init_$Create$();
106
106
  }
107
- protoOf(ContentNegotiationConfig).w2r = function (contentType, converter, configuration) {
108
- var matcher = contentType.equals(Application_getInstance().h2e_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
109
- this.p48(contentType, converter, matcher, configuration);
107
+ protoOf(ContentNegotiationConfig).e2r = function (contentType, converter, configuration) {
108
+ var matcher = contentType.equals(Application_getInstance().p2d_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
109
+ this.z47(contentType, converter, matcher, configuration);
110
110
  };
111
- protoOf(ContentNegotiationConfig).p48 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
111
+ protoOf(ContentNegotiationConfig).z47 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
112
112
  // Inline function 'kotlin.apply' call
113
113
  configuration(converter);
114
114
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
115
- this.o48_1.k(registration);
115
+ this.y47_1.k(registration);
116
116
  };
117
117
  function ContentConverterException(message) {
118
118
  Exception_init_$Init$(message, this);
@@ -127,53 +127,53 @@
127
127
  }
128
128
  function ContentNegotiation$lambda($this$createClientPlugin) {
129
129
  _init_properties_ContentNegotiation_kt__o183go();
130
- var registrations = $this$createClientPlugin.q34_1.o48_1;
131
- var ignoredTypes = $this$createClientPlugin.q34_1.n48_1;
132
- $this$createClientPlugin.o3n(ContentNegotiation$lambda$slambda_0(registrations, ignoredTypes, $this$createClientPlugin, null));
133
- $this$createClientPlugin.t3f(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
130
+ var registrations = $this$createClientPlugin.y33_1.y47_1;
131
+ var ignoredTypes = $this$createClientPlugin.y33_1.x47_1;
132
+ $this$createClientPlugin.w3m(ContentNegotiation$lambda$slambda_0(registrations, ignoredTypes, $this$createClientPlugin, null));
133
+ $this$createClientPlugin.b3f(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
134
134
  return Unit_instance;
135
135
  }
136
136
  function invoke$convertRequest(registrations, ignoredTypes, $this_createClientPlugin, request, body, $completion) {
137
137
  var tmp = new $invoke$convertRequestCOROUTINE$0(registrations, ignoredTypes, $this_createClientPlugin, request, body, $completion);
138
- tmp.g9_1 = Unit_instance;
139
- tmp.h9_1 = null;
140
- return tmp.m9();
138
+ tmp.f9_1 = Unit_instance;
139
+ tmp.g9_1 = null;
140
+ return tmp.l9();
141
141
  }
142
142
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
143
- charset = charset === VOID ? Charsets_getInstance().y1l_1 : charset;
143
+ charset = charset === VOID ? Charsets_getInstance().g1l_1 : charset;
144
144
  var tmp = new $invoke$convertResponseCOROUTINE$1(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
145
- tmp.g9_1 = Unit_instance;
146
- tmp.h9_1 = null;
147
- return tmp.m9();
145
+ tmp.f9_1 = Unit_instance;
146
+ tmp.g9_1 = null;
147
+ return tmp.l9();
148
148
  }
149
149
  function ContentNegotiation$lambda$slambda($registrations, $ignoredTypes, $this_createClientPlugin, resultContinuation) {
150
- this.l4a_1 = $registrations;
151
- this.m4a_1 = $ignoredTypes;
152
- this.n4a_1 = $this_createClientPlugin;
150
+ this.v49_1 = $registrations;
151
+ this.w49_1 = $ignoredTypes;
152
+ this.x49_1 = $this_createClientPlugin;
153
153
  CoroutineImpl.call(this, resultContinuation);
154
154
  }
155
- protoOf(ContentNegotiation$lambda$slambda).s4a = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
156
- var tmp = this.t4a($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
157
- tmp.g9_1 = Unit_instance;
158
- tmp.h9_1 = null;
159
- return tmp.m9();
155
+ protoOf(ContentNegotiation$lambda$slambda).c4a = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
156
+ var tmp = this.d4a($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
157
+ tmp.f9_1 = Unit_instance;
158
+ tmp.g9_1 = null;
159
+ return tmp.l9();
160
160
  };
161
- protoOf(ContentNegotiation$lambda$slambda).y3g = function (p1, p2, p3, p4, $completion) {
161
+ protoOf(ContentNegotiation$lambda$slambda).g3g = function (p1, p2, p3, p4, $completion) {
162
162
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
163
163
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
164
164
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
165
- return this.s4a(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
165
+ return this.c4a(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
166
166
  };
167
- protoOf(ContentNegotiation$lambda$slambda).m9 = function () {
168
- var suspendResult = this.g9_1;
167
+ protoOf(ContentNegotiation$lambda$slambda).l9 = function () {
168
+ var suspendResult = this.f9_1;
169
169
  $sm: do
170
170
  try {
171
- var tmp = this.e9_1;
171
+ var tmp = this.d9_1;
172
172
  switch (tmp) {
173
173
  case 0:
174
- this.f9_1 = 2;
175
- this.e9_1 = 1;
176
- suspendResult = invoke$convertRequest(this.l4a_1, this.m4a_1, this.n4a_1, this.p4a_1, this.q4a_1, this);
174
+ this.e9_1 = 2;
175
+ this.d9_1 = 1;
176
+ suspendResult = invoke$convertRequest(this.v49_1, this.w49_1, this.x49_1, this.z49_1, this.a4a_1, this);
177
177
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
178
178
  return suspendResult;
179
179
  }
@@ -182,63 +182,63 @@
182
182
  case 1:
183
183
  return suspendResult;
184
184
  case 2:
185
- throw this.h9_1;
185
+ throw this.g9_1;
186
186
  }
187
187
  } catch ($p) {
188
188
  var e = $p;
189
- if (this.f9_1 === 2) {
189
+ if (this.e9_1 === 2) {
190
190
  throw e;
191
191
  } else {
192
- this.e9_1 = this.f9_1;
193
- this.h9_1 = e;
192
+ this.d9_1 = this.e9_1;
193
+ this.g9_1 = e;
194
194
  }
195
195
  }
196
196
  while (true);
197
197
  };
198
- protoOf(ContentNegotiation$lambda$slambda).t4a = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
199
- var i = new ContentNegotiation$lambda$slambda(this.l4a_1, this.m4a_1, this.n4a_1, completion);
200
- i.o4a_1 = $this$transformRequestBody;
201
- i.p4a_1 = request;
202
- i.q4a_1 = body;
203
- i.r4a_1 = _unused_var__etf5q3;
198
+ protoOf(ContentNegotiation$lambda$slambda).d4a = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
199
+ var i = new ContentNegotiation$lambda$slambda(this.v49_1, this.w49_1, this.x49_1, completion);
200
+ i.y49_1 = $this$transformRequestBody;
201
+ i.z49_1 = request;
202
+ i.a4a_1 = body;
203
+ i.b4a_1 = _unused_var__etf5q3;
204
204
  return i;
205
205
  };
206
206
  function ContentNegotiation$lambda$slambda_0($registrations, $ignoredTypes, $this_createClientPlugin, resultContinuation) {
207
207
  var i = new ContentNegotiation$lambda$slambda($registrations, $ignoredTypes, $this_createClientPlugin, resultContinuation);
208
208
  var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
209
- return i.s4a($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
209
+ return i.c4a($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
210
210
  };
211
211
  l.$arity = 4;
212
212
  return l;
213
213
  }
214
214
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
215
- this.c4b_1 = $ignoredTypes;
216
- this.d4b_1 = $registrations;
217
- this.e4b_1 = $this_createClientPlugin;
215
+ this.m4a_1 = $ignoredTypes;
216
+ this.n4a_1 = $registrations;
217
+ this.o4a_1 = $this_createClientPlugin;
218
218
  CoroutineImpl.call(this, resultContinuation);
219
219
  }
220
- protoOf(ContentNegotiation$lambda$slambda_1).w3g = function ($this$transformResponseBody, response, body, info, $completion) {
221
- var tmp = this.x3g($this$transformResponseBody, response, body, info, $completion);
222
- tmp.g9_1 = Unit_instance;
223
- tmp.h9_1 = null;
224
- return tmp.m9();
220
+ protoOf(ContentNegotiation$lambda$slambda_1).e3g = function ($this$transformResponseBody, response, body, info, $completion) {
221
+ var tmp = this.f3g($this$transformResponseBody, response, body, info, $completion);
222
+ tmp.f9_1 = Unit_instance;
223
+ tmp.g9_1 = null;
224
+ return tmp.l9();
225
225
  };
226
- protoOf(ContentNegotiation$lambda$slambda_1).y3g = function (p1, p2, p3, p4, $completion) {
226
+ protoOf(ContentNegotiation$lambda$slambda_1).g3g = function (p1, p2, p3, p4, $completion) {
227
227
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
228
228
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
229
229
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
230
- return this.w3g(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
230
+ return this.e3g(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
231
231
  };
232
- protoOf(ContentNegotiation$lambda$slambda_1).m9 = function () {
233
- var suspendResult = this.g9_1;
232
+ protoOf(ContentNegotiation$lambda$slambda_1).l9 = function () {
233
+ var suspendResult = this.f9_1;
234
234
  $sm: do
235
235
  try {
236
- var tmp = this.e9_1;
236
+ var tmp = this.d9_1;
237
237
  switch (tmp) {
238
238
  case 0:
239
- this.f9_1 = 2;
239
+ this.e9_1 = 2;
240
240
  var tmp_0 = this;
241
- var tmp0_elvis_lhs = contentType(this.g4b_1);
241
+ var tmp0_elvis_lhs = contentType(this.q4a_1);
242
242
  var tmp_1;
243
243
  if (tmp0_elvis_lhs == null) {
244
244
  return null;
@@ -246,10 +246,10 @@
246
246
  tmp_1 = tmp0_elvis_lhs;
247
247
  }
248
248
 
249
- tmp_0.j4b_1 = tmp_1;
250
- this.k4b_1 = suitableCharset(get_request(this.g4b_1).y2j());
251
- this.e9_1 = 1;
252
- suspendResult = invoke$convertResponse(this.c4b_1, this.d4b_1, this.e4b_1, get_request(this.g4b_1).q2y(), this.i4b_1, this.h4b_1, this.j4b_1, this.k4b_1, this);
249
+ tmp_0.t4a_1 = tmp_1;
250
+ this.u4a_1 = suitableCharset(get_request(this.q4a_1).g2j());
251
+ this.d9_1 = 1;
252
+ suspendResult = invoke$convertResponse(this.m4a_1, this.n4a_1, this.o4a_1, get_request(this.q4a_1).y2x(), this.s4a_1, this.r4a_1, this.t4a_1, this.u4a_1, this);
253
253
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
254
254
  return suspendResult;
255
255
  }
@@ -258,74 +258,74 @@
258
258
  case 1:
259
259
  return suspendResult;
260
260
  case 2:
261
- throw this.h9_1;
261
+ throw this.g9_1;
262
262
  }
263
263
  } catch ($p) {
264
264
  var e = $p;
265
- if (this.f9_1 === 2) {
265
+ if (this.e9_1 === 2) {
266
266
  throw e;
267
267
  } else {
268
- this.e9_1 = this.f9_1;
269
- this.h9_1 = e;
268
+ this.d9_1 = this.e9_1;
269
+ this.g9_1 = e;
270
270
  }
271
271
  }
272
272
  while (true);
273
273
  };
274
- protoOf(ContentNegotiation$lambda$slambda_1).x3g = function ($this$transformResponseBody, response, body, info, completion) {
275
- var i = new ContentNegotiation$lambda$slambda_1(this.c4b_1, this.d4b_1, this.e4b_1, completion);
276
- i.f4b_1 = $this$transformResponseBody;
277
- i.g4b_1 = response;
278
- i.h4b_1 = body;
279
- i.i4b_1 = info;
274
+ protoOf(ContentNegotiation$lambda$slambda_1).f3g = function ($this$transformResponseBody, response, body, info, completion) {
275
+ var i = new ContentNegotiation$lambda$slambda_1(this.m4a_1, this.n4a_1, this.o4a_1, completion);
276
+ i.p4a_1 = $this$transformResponseBody;
277
+ i.q4a_1 = response;
278
+ i.r4a_1 = body;
279
+ i.s4a_1 = info;
280
280
  return i;
281
281
  };
282
282
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
283
283
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
284
284
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
285
- return i.w3g($this$transformResponseBody, response, body, info, $completion);
285
+ return i.e3g($this$transformResponseBody, response, body, info, $completion);
286
286
  };
287
287
  l.$arity = 4;
288
288
  return l;
289
289
  }
290
290
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
291
291
  _init_properties_ContentNegotiation_kt__o183go();
292
- return toString(it.i48_1);
292
+ return toString(it.s47_1);
293
293
  }
294
294
  function $invoke$convertRequestCOROUTINE$0(registrations, ignoredTypes, $this_createClientPlugin, request, body, resultContinuation) {
295
295
  CoroutineImpl.call(this, resultContinuation);
296
- this.y48_1 = registrations;
297
- this.z48_1 = ignoredTypes;
298
- this.a49_1 = $this_createClientPlugin;
299
- this.b49_1 = request;
300
- this.c49_1 = body;
296
+ this.i48_1 = registrations;
297
+ this.j48_1 = ignoredTypes;
298
+ this.k48_1 = $this_createClientPlugin;
299
+ this.l48_1 = request;
300
+ this.m48_1 = body;
301
301
  }
302
- protoOf($invoke$convertRequestCOROUTINE$0).m9 = function () {
303
- var suspendResult = this.g9_1;
302
+ protoOf($invoke$convertRequestCOROUTINE$0).l9 = function () {
303
+ var suspendResult = this.f9_1;
304
304
  $sm: do
305
305
  try {
306
- var tmp = this.e9_1;
306
+ var tmp = this.d9_1;
307
307
  switch (tmp) {
308
308
  case 0:
309
- this.f9_1 = 7;
310
- var _iterator__ex2g4s = this.y48_1.p();
309
+ this.e9_1 = 7;
310
+ var _iterator__ex2g4s = this.i48_1.p();
311
311
  while (_iterator__ex2g4s.q()) {
312
312
  var element = _iterator__ex2g4s.r();
313
313
  l$ret$1: do {
314
- get_LOGGER().u2d('Adding Accept=' + element.j48_1.l2f_1 + ' header for ' + this.b49_1.e2w_1.toString());
315
- if (this.b49_1.g2w_1.q29(HttpHeaders_getInstance().v2f_1, element.j48_1.toString())) {
314
+ get_LOGGER().c2d('Adding Accept=' + element.t47_1.t2e_1 + ' header for ' + this.l48_1.m2v_1.toString());
315
+ if (this.l48_1.o2v_1.y28(HttpHeaders_getInstance().d2f_1, element.t47_1.toString())) {
316
316
  break l$ret$1;
317
317
  }
318
- accept(this.b49_1, element.j48_1);
318
+ accept(this.l48_1, element.t47_1);
319
319
  }
320
320
  while (false);
321
321
  }
322
322
 
323
323
  var tmp_0;
324
- var tmp_1 = this.c49_1;
324
+ var tmp_1 = this.m48_1;
325
325
  if (tmp_1 instanceof OutgoingContent) {
326
326
  tmp_0 = true;
327
327
  } else {
328
- var tmp2 = this.z48_1;
328
+ var tmp2 = this.j48_1;
329
329
  var tmp$ret$2;
330
330
  l$ret$3: do {
331
331
  var tmp_2;
@@ -341,7 +341,7 @@
341
341
  var _iterator__ex2g4s_0 = tmp2.p();
342
342
  while (_iterator__ex2g4s_0.q()) {
343
343
  var element_0 = _iterator__ex2g4s_0.r();
344
- if (element_0.fb(this.c49_1)) {
344
+ if (element_0.eb(this.m48_1)) {
345
345
  tmp$ret$2 = true;
346
346
  break l$ret$3;
347
347
  }
@@ -353,36 +353,36 @@
353
353
  }
354
354
 
355
355
  if (tmp_0) {
356
- get_LOGGER().u2d('Body type ' + toString(getKClassFromExpression(this.c49_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.b49_1.e2w_1.toString() + '.'));
356
+ get_LOGGER().c2d('Body type ' + toString(getKClassFromExpression(this.m48_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.l48_1.m2v_1.toString() + '.'));
357
357
  return null;
358
358
  }
359
359
 
360
360
  var tmp_3 = this;
361
- var tmp0_elvis_lhs = contentType_0(this.b49_1);
361
+ var tmp0_elvis_lhs = contentType_0(this.l48_1);
362
362
  var tmp_4;
363
363
  if (tmp0_elvis_lhs == null) {
364
- this.a49_1;
365
- get_LOGGER().u2d("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.b49_1.e2w_1.toString() + '.');
364
+ this.k48_1;
365
+ get_LOGGER().c2d("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.l48_1.m2v_1.toString() + '.');
366
366
  return null;
367
367
  } else {
368
368
  tmp_4 = tmp0_elvis_lhs;
369
369
  }
370
370
 
371
- tmp_3.d49_1 = tmp_4;
372
- var tmp_5 = this.c49_1;
371
+ tmp_3.n48_1 = tmp_4;
372
+ var tmp_5 = this.m48_1;
373
373
  if (tmp_5 instanceof Unit) {
374
- get_LOGGER().u2d('Sending empty body for ' + this.b49_1.e2w_1.toString());
375
- this.b49_1.g2w_1.w29(HttpHeaders_getInstance().n2g_1);
374
+ get_LOGGER().c2d('Sending empty body for ' + this.l48_1.m2v_1.toString());
375
+ this.l48_1.o2v_1.e29(HttpHeaders_getInstance().v2f_1);
376
376
  return EmptyContent_getInstance();
377
377
  }
378
378
 
379
379
  var tmp_6 = this;
380
- var tmp0 = this.y48_1;
380
+ var tmp0 = this.i48_1;
381
381
  var destination = ArrayList_init_$Create$();
382
382
  var _iterator__ex2g4s_1 = tmp0.p();
383
383
  while (_iterator__ex2g4s_1.q()) {
384
384
  var element_1 = _iterator__ex2g4s_1.r();
385
- if (element_1.k48_1.m48(this.d49_1)) {
385
+ if (element_1.u47_1.w47(this.n48_1)) {
386
386
  destination.k(element_1);
387
387
  }
388
388
  }
@@ -397,44 +397,44 @@
397
397
  var tmp1_elvis_lhs = tmp_7;
398
398
  var tmp_8;
399
399
  if (tmp1_elvis_lhs == null) {
400
- this.a49_1;
401
- get_LOGGER().u2d('None of the registered converters match request Content-Type=' + this.d49_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.b49_1.e2w_1.toString() + '.'));
400
+ this.k48_1;
401
+ get_LOGGER().c2d('None of the registered converters match request Content-Type=' + this.n48_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.l48_1.m2v_1.toString() + '.'));
402
402
  return null;
403
403
  } else {
404
404
  tmp_8 = tmp1_elvis_lhs;
405
405
  }
406
406
 
407
- tmp_6.e49_1 = tmp_8;
408
- if (this.b49_1.x3p() == null) {
409
- get_LOGGER().u2d('Request has unknown body type. Skipping ContentNegotiation for ' + this.b49_1.e2w_1.toString() + '.');
407
+ tmp_6.o48_1 = tmp_8;
408
+ if (this.l48_1.f3p() == null) {
409
+ get_LOGGER().c2d('Request has unknown body type. Skipping ContentNegotiation for ' + this.l48_1.m2v_1.toString() + '.');
410
410
  return null;
411
411
  }
412
412
 
413
- this.b49_1.g2w_1.w29(HttpHeaders_getInstance().n2g_1);
413
+ this.l48_1.o2v_1.e29(HttpHeaders_getInstance().v2f_1);
414
414
  var tmp_9 = this;
415
- tmp_9.f49_1 = this.e49_1;
416
- this.e9_1 = 1;
415
+ tmp_9.p48_1 = this.o48_1;
416
+ this.d9_1 = 1;
417
417
  continue $sm;
418
418
  case 1:
419
- this.h49_1 = this.f49_1;
420
- this.i49_1 = this.h49_1.p();
421
- this.e9_1 = 2;
419
+ this.r48_1 = this.p48_1;
420
+ this.s48_1 = this.r48_1.p();
421
+ this.d9_1 = 2;
422
422
  continue $sm;
423
423
  case 2:
424
- if (!this.i49_1.q()) {
425
- this.e9_1 = 5;
424
+ if (!this.s48_1.q()) {
425
+ this.d9_1 = 5;
426
426
  continue $sm;
427
427
  }
428
428
 
429
- this.j49_1 = this.i49_1.r();
429
+ this.t48_1 = this.s48_1.r();
430
430
  var tmp_10 = this;
431
- tmp_10.k49_1 = this.j49_1;
432
- this.l49_1 = this.k49_1;
433
- this.e9_1 = 3;
434
- var tmp0_elvis_lhs_0 = charset(this.d49_1);
435
- var tmp_11 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().y1l_1 : tmp0_elvis_lhs_0;
436
- var tmp_12 = ensureNotNull(this.b49_1.x3p());
437
- var this_0 = this.c49_1;
431
+ tmp_10.u48_1 = this.t48_1;
432
+ this.v48_1 = this.u48_1;
433
+ this.d9_1 = 3;
434
+ var tmp0_elvis_lhs_0 = charset(this.n48_1);
435
+ var tmp_11 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().g1l_1 : tmp0_elvis_lhs_0;
436
+ var tmp_12 = ensureNotNull(this.l48_1.f3p());
437
+ var this_0 = this.m48_1;
438
438
  var tmp_13;
439
439
  if (!equals(this_0, NullBody_instance)) {
440
440
  tmp_13 = this_0;
@@ -442,7 +442,7 @@
442
442
  tmp_13 = null;
443
443
  }
444
444
 
445
- suspendResult = this.l49_1.i48_1.l4b(this.d49_1, tmp_11, tmp_12, tmp_13, this);
445
+ suspendResult = this.v48_1.s47_1.v4a(this.n48_1, tmp_11, tmp_12, tmp_13, this);
446
446
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
447
447
  return suspendResult;
448
448
  }
@@ -451,37 +451,37 @@
451
451
  case 3:
452
452
  var result = suspendResult;
453
453
  if (!(result == null)) {
454
- get_LOGGER().u2d('Converted request body using ' + toString(this.l49_1.i48_1) + ' for ' + this.b49_1.e2w_1.toString());
454
+ get_LOGGER().c2d('Converted request body using ' + toString(this.v48_1.s47_1) + ' for ' + this.l48_1.m2v_1.toString());
455
455
  }
456
456
 
457
457
  var result_0 = result;
458
458
  if (!(result_0 == null)) {
459
- this.g49_1 = result_0;
460
- this.e9_1 = 6;
459
+ this.q48_1 = result_0;
460
+ this.d9_1 = 6;
461
461
  continue $sm;
462
462
  } else {
463
- this.e9_1 = 4;
463
+ this.d9_1 = 4;
464
464
  continue $sm;
465
465
  }
466
466
 
467
467
  case 4:
468
- this.e9_1 = 2;
468
+ this.d9_1 = 2;
469
469
  continue $sm;
470
470
  case 5:
471
- this.g49_1 = null;
471
+ this.q48_1 = null;
472
472
  if (false) {
473
- this.e9_1 = 1;
473
+ this.d9_1 = 1;
474
474
  continue $sm;
475
475
  }
476
476
 
477
- this.e9_1 = 6;
477
+ this.d9_1 = 6;
478
478
  continue $sm;
479
479
  case 6:
480
- var tmp2_elvis_lhs = this.g49_1;
480
+ var tmp2_elvis_lhs = this.q48_1;
481
481
  var tmp_14;
482
482
  if (tmp2_elvis_lhs == null) {
483
- var tmp_15 = "Can't convert " + toString(this.c49_1) + ' with contentType ' + this.d49_1.toString() + ' using converters ';
484
- throw new ContentConverterException(tmp_15 + joinToString(this.e49_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
483
+ var tmp_15 = "Can't convert " + toString(this.m48_1) + ' with contentType ' + this.n48_1.toString() + ' using converters ';
484
+ throw new ContentConverterException(tmp_15 + joinToString(this.o48_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
485
485
  } else {
486
486
  tmp_14 = tmp2_elvis_lhs;
487
487
  }
@@ -489,56 +489,56 @@
489
489
  var serializedContent = tmp_14;
490
490
  return serializedContent;
491
491
  case 7:
492
- throw this.h9_1;
492
+ throw this.g9_1;
493
493
  }
494
494
  } catch ($p) {
495
495
  var e = $p;
496
- if (this.f9_1 === 7) {
496
+ if (this.e9_1 === 7) {
497
497
  throw e;
498
498
  } else {
499
- this.e9_1 = this.f9_1;
500
- this.h9_1 = e;
499
+ this.d9_1 = this.e9_1;
500
+ this.g9_1 = e;
501
501
  }
502
502
  }
503
503
  while (true);
504
504
  };
505
505
  function $invoke$convertResponseCOROUTINE$1(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
506
506
  CoroutineImpl.call(this, resultContinuation);
507
- this.u49_1 = ignoredTypes;
508
- this.v49_1 = registrations;
509
- this.w49_1 = $this_createClientPlugin;
510
- this.x49_1 = requestUrl;
511
- this.y49_1 = info;
512
- this.z49_1 = body;
513
- this.a4a_1 = responseContentType;
514
- this.b4a_1 = charset;
507
+ this.e49_1 = ignoredTypes;
508
+ this.f49_1 = registrations;
509
+ this.g49_1 = $this_createClientPlugin;
510
+ this.h49_1 = requestUrl;
511
+ this.i49_1 = info;
512
+ this.j49_1 = body;
513
+ this.k49_1 = responseContentType;
514
+ this.l49_1 = charset;
515
515
  }
516
- protoOf($invoke$convertResponseCOROUTINE$1).m9 = function () {
517
- var suspendResult = this.g9_1;
516
+ protoOf($invoke$convertResponseCOROUTINE$1).l9 = function () {
517
+ var suspendResult = this.f9_1;
518
518
  $sm: do
519
519
  try {
520
- var tmp = this.e9_1;
520
+ var tmp = this.d9_1;
521
521
  switch (tmp) {
522
522
  case 0:
523
- this.f9_1 = 2;
524
- var tmp_0 = this.z49_1;
523
+ this.e9_1 = 2;
524
+ var tmp_0 = this.j49_1;
525
525
  if (!isInterface(tmp_0, ByteReadChannel)) {
526
- get_LOGGER().u2d('Response body is already transformed. Skipping ContentNegotiation for ' + this.x49_1.toString() + '.');
526
+ get_LOGGER().c2d('Response body is already transformed. Skipping ContentNegotiation for ' + this.h49_1.toString() + '.');
527
527
  return null;
528
528
  }
529
529
 
530
- if (this.u49_1.x1(this.y49_1.i2d_1)) {
531
- get_LOGGER().u2d('Response body type ' + toString(this.y49_1.i2d_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.x49_1.toString() + '.'));
530
+ if (this.e49_1.x1(this.i49_1.q2c_1)) {
531
+ get_LOGGER().c2d('Response body type ' + toString(this.i49_1.q2c_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.h49_1.toString() + '.'));
532
532
  return null;
533
533
  }
534
534
 
535
535
  var tmp_1 = this;
536
- var tmp0 = this.v49_1;
536
+ var tmp0 = this.f49_1;
537
537
  var destination = ArrayList_init_$Create$();
538
538
  var _iterator__ex2g4s = tmp0.p();
539
539
  while (_iterator__ex2g4s.q()) {
540
540
  var element = _iterator__ex2g4s.r();
541
- if (element.k48_1.m48(this.a4a_1)) {
541
+ if (element.u47_1.w47(this.k49_1)) {
542
542
  destination.k(element);
543
543
  }
544
544
  }
@@ -547,7 +547,7 @@
547
547
  var _iterator__ex2g4s_0 = destination.p();
548
548
  while (_iterator__ex2g4s_0.q()) {
549
549
  var item = _iterator__ex2g4s_0.r();
550
- destination_0.k(item.i48_1);
550
+ destination_0.k(item.s47_1);
551
551
  }
552
552
 
553
553
  var tmp_2;
@@ -560,16 +560,16 @@
560
560
  var tmp0_elvis_lhs = tmp_2;
561
561
  var tmp_3;
562
562
  if (tmp0_elvis_lhs == null) {
563
- this.w49_1;
564
- get_LOGGER().u2d('None of the registered converters match response with Content-Type=' + this.a4a_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.x49_1.toString() + '.'));
563
+ this.g49_1;
564
+ get_LOGGER().c2d('None of the registered converters match response with Content-Type=' + this.k49_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.h49_1.toString() + '.'));
565
565
  return null;
566
566
  } else {
567
567
  tmp_3 = tmp0_elvis_lhs;
568
568
  }
569
569
 
570
- tmp_1.c4a_1 = tmp_3;
571
- this.e9_1 = 1;
572
- suspendResult = deserialize(this.c4a_1, this.z49_1, this.y49_1, this.b4a_1, this);
570
+ tmp_1.m49_1 = tmp_3;
571
+ this.d9_1 = 1;
572
+ suspendResult = deserialize(this.m49_1, this.j49_1, this.i49_1, this.l49_1, this);
573
573
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
574
574
  return suspendResult;
575
575
  }
@@ -578,20 +578,20 @@
578
578
  case 1:
579
579
  var result = suspendResult;
580
580
  if (!isInterface(result, ByteReadChannel)) {
581
- get_LOGGER().u2d('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.x49_1.toString() + '.');
581
+ get_LOGGER().c2d('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.h49_1.toString() + '.');
582
582
  }
583
583
 
584
584
  return result;
585
585
  case 2:
586
- throw this.h9_1;
586
+ throw this.g9_1;
587
587
  }
588
588
  } catch ($p) {
589
589
  var e = $p;
590
- if (this.f9_1 === 2) {
590
+ if (this.e9_1 === 2) {
591
591
  throw e;
592
592
  } else {
593
- this.e9_1 = this.f9_1;
594
- this.h9_1 = e;
593
+ this.d9_1 = this.e9_1;
594
+ this.g9_1 = e;
595
595
  }
596
596
  }
597
597
  while (true);
@@ -601,18 +601,18 @@
601
601
  if (!properties_initialized_ContentNegotiation_kt_1ayduy) {
602
602
  properties_initialized_ContentNegotiation_kt_1ayduy = true;
603
603
  LOGGER = KtorSimpleLogger('io.ktor.client.plugins.contentnegotiation.ContentNegotiation');
604
- DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().oc(), PrimitiveClasses_getInstance().kc(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent)]);
604
+ DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().nc(), PrimitiveClasses_getInstance().jc(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent)]);
605
605
  var tmp = ContentNegotiationConfig$_init_$ref_1ne3ob();
606
606
  ContentNegotiation = createClientPlugin('ContentNegotiation', tmp, ContentNegotiation$lambda);
607
607
  }
608
608
  }
609
609
  function JsonContentTypeMatcher() {
610
610
  }
611
- protoOf(JsonContentTypeMatcher).m48 = function (contentType) {
612
- if (contentType.p2f(Application_getInstance().h2e_1)) {
611
+ protoOf(JsonContentTypeMatcher).w47 = function (contentType) {
612
+ if (contentType.x2e(Application_getInstance().p2d_1)) {
613
613
  return true;
614
614
  }
615
- var value = contentType.o2f().toString();
615
+ var value = contentType.w2e().toString();
616
616
  return startsWith(value, 'application/', true) && endsWith(value, '+json', true);
617
617
  };
618
618
  var JsonContentTypeMatcher_instance;
@@ -633,7 +633,7 @@
633
633
  }
634
634
  }
635
635
  //region block: post-declaration
636
- protoOf(ContentNegotiationConfig).x2r = register$default;
636
+ protoOf(ContentNegotiationConfig).f2r = register$default;
637
637
  //endregion
638
638
  //region block: init
639
639
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();