@doordeck/doordeck-headless-sdk 0.162.0 → 0.164.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.
@@ -1,7 +1,7 @@
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.$_$.zb;
4
+ var protoOf = kotlin_kotlin.$_$.yb;
5
5
  var initMetadataForClass = kotlin_kotlin.$_$.za;
6
6
  var plus = kotlin_kotlin.$_$.o7;
7
7
  var toMutableSet = kotlin_kotlin.$_$.k8;
@@ -11,37 +11,37 @@
11
11
  var Unit_instance = kotlin_kotlin.$_$.z4;
12
12
  var Configuration = kotlin_io_ktor_ktor_serialization.$_$.c;
13
13
  var VOID = kotlin_kotlin.$_$.b;
14
- var Exception = kotlin_kotlin.$_$.qf;
14
+ var Exception = kotlin_kotlin.$_$.pf;
15
15
  var Exception_init_$Init$ = kotlin_kotlin.$_$.h1;
16
16
  var captureStack = kotlin_kotlin.$_$.ja;
17
17
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.o;
18
18
  var CoroutineImpl = kotlin_kotlin.$_$.h9;
19
- var THROW_CCE = kotlin_kotlin.$_$.yf;
19
+ var THROW_CCE = kotlin_kotlin.$_$.xf;
20
20
  var TransformRequestBodyContext = kotlin_io_ktor_ktor_client_core.$_$.l;
21
- var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.z;
21
+ var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.b1;
22
22
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.m;
23
23
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
24
24
  var initMetadataForLambda = kotlin_kotlin.$_$.eb;
25
25
  var TransformResponseBodyContext = kotlin_io_ktor_ktor_client_core.$_$.m;
26
- var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.g1;
26
+ var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.i1;
27
27
  var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.l1;
28
28
  var isInterface = kotlin_kotlin.$_$.ob;
29
29
  var contentType = kotlin_io_ktor_ktor_http.$_$.n1;
30
- var get_request = kotlin_io_ktor_ktor_client_core.$_$.i1;
30
+ var get_request = kotlin_io_ktor_ktor_client_core.$_$.k1;
31
31
  var suitableCharset = kotlin_io_ktor_ktor_serialization.$_$.f;
32
- var toString = kotlin_kotlin.$_$.cc;
32
+ var toString = kotlin_kotlin.$_$.bc;
33
33
  var Collection = kotlin_kotlin.$_$.b5;
34
34
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
35
35
  var emptyList = kotlin_kotlin.$_$.o6;
36
36
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.c;
37
- var accept = kotlin_io_ktor_ktor_client_core.$_$.b1;
37
+ var accept = kotlin_io_ktor_ktor_client_core.$_$.d1;
38
38
  var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
39
- var getKClassFromExpression = kotlin_kotlin.$_$.pc;
39
+ var getKClassFromExpression = kotlin_kotlin.$_$.oc;
40
40
  var contentType_0 = kotlin_io_ktor_ktor_http.$_$.m1;
41
41
  var EmptyContent_getInstance = kotlin_io_ktor_ktor_client_core.$_$.g;
42
- var Unit = kotlin_kotlin.$_$.jg;
42
+ var Unit = kotlin_kotlin.$_$.ig;
43
43
  var charset = kotlin_io_ktor_ktor_http.$_$.k1;
44
- var ensureNotNull = kotlin_kotlin.$_$.qg;
44
+ var ensureNotNull = kotlin_kotlin.$_$.pg;
45
45
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
46
46
  var equals = kotlin_kotlin.$_$.sa;
47
47
  var joinToString = kotlin_kotlin.$_$.d7;
@@ -52,16 +52,18 @@
52
52
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.h;
53
53
  var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.n4;
54
54
  var HttpStatusCode = kotlin_io_ktor_ktor_http.$_$.a1;
55
- var getKClass = kotlin_kotlin.$_$.qc;
55
+ var getKClass = kotlin_kotlin.$_$.pc;
56
+ var ClientSSESession = kotlin_io_ktor_ktor_client_core.$_$.q;
57
+ var ClientSSESessionWithDeserialization = kotlin_io_ktor_ktor_client_core.$_$.p;
56
58
  var setOf = kotlin_kotlin.$_$.w7;
57
59
  var KtList = kotlin_kotlin.$_$.g5;
58
60
  var ContentType = kotlin_io_ktor_ktor_http.$_$.y;
59
- var arrayOf = kotlin_kotlin.$_$.mg;
60
- var createKType = kotlin_kotlin.$_$.oc;
61
- var createInvariantKTypeProjection = kotlin_kotlin.$_$.mc;
61
+ var arrayOf = kotlin_kotlin.$_$.lg;
62
+ var createKType = kotlin_kotlin.$_$.nc;
63
+ var createInvariantKTypeProjection = kotlin_kotlin.$_$.lc;
62
64
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.o;
63
65
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.n;
64
- var endsWith = kotlin_kotlin.$_$.id;
66
+ var endsWith = kotlin_kotlin.$_$.hd;
65
67
  var initMetadataForObject = kotlin_kotlin.$_$.fb;
66
68
  var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.u;
67
69
  //endregion
@@ -97,35 +99,35 @@
97
99
  }
98
100
  var ContentNegotiation;
99
101
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
100
- this.r56_1 = converter;
101
- this.s56_1 = contentTypeToSend;
102
- this.t56_1 = contentTypeMatcher;
102
+ this.i56_1 = converter;
103
+ this.j56_1 = contentTypeToSend;
104
+ this.k56_1 = contentTypeMatcher;
103
105
  }
104
106
  function defaultMatcher($this, pattern) {
105
107
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
106
108
  }
107
109
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
108
- this.u56_1 = $pattern;
110
+ this.l56_1 = $pattern;
109
111
  }
110
- protoOf(ContentNegotiationConfig$defaultMatcher$1).v56 = function (contentType) {
111
- return contentType.f2t(this.u56_1);
112
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).m56 = function (contentType) {
113
+ return contentType.s2s(this.l56_1);
112
114
  };
113
115
  function ContentNegotiationConfig() {
114
- this.w56_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
116
+ this.n56_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
115
117
  var tmp = this;
116
118
  // Inline function 'kotlin.collections.mutableListOf' call
117
- tmp.x56_1 = ArrayList_init_$Create$();
118
- this.y56_1 = null;
119
+ tmp.o56_1 = ArrayList_init_$Create$();
120
+ this.p56_1 = null;
119
121
  }
120
- protoOf(ContentNegotiationConfig).y54 = function (contentType, converter, configuration) {
121
- var matcher = contentType.f2t(Application_getInstance().l2r_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
122
- this.z56(contentType, converter, matcher, configuration);
122
+ protoOf(ContentNegotiationConfig).p54 = function (contentType, converter, configuration) {
123
+ var matcher = contentType.s2s(Application_getInstance().y2q_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
124
+ this.q56(contentType, converter, matcher, configuration);
123
125
  };
124
- protoOf(ContentNegotiationConfig).z56 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
126
+ protoOf(ContentNegotiationConfig).q56 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
125
127
  // Inline function 'kotlin.apply' call
126
128
  configuration(converter);
127
129
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
128
- this.x56_1.p(registration);
130
+ this.o56_1.p(registration);
129
131
  };
130
132
  function ContentConverterException(message) {
131
133
  Exception_init_$Init$(message, this);
@@ -140,10 +142,10 @@
140
142
  }
141
143
  function ContentNegotiation$lambda($this$createClientPlugin) {
142
144
  _init_properties_ContentNegotiation_kt__o183go();
143
- var registrations = $this$createClientPlugin.j3l_1.x56_1;
144
- var ignoredTypes = $this$createClientPlugin.j3l_1.w56_1;
145
- $this$createClientPlugin.o42(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
146
- $this$createClientPlugin.p3u(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
145
+ var registrations = $this$createClientPlugin.w3k_1.o56_1;
146
+ var ignoredTypes = $this$createClientPlugin.w3k_1.n56_1;
147
+ $this$createClientPlugin.b42(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
148
+ $this$createClientPlugin.c3u(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
147
149
  return Unit_instance;
148
150
  }
149
151
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
@@ -153,29 +155,29 @@
153
155
  return tmp.c9();
154
156
  }
155
157
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
156
- charset = charset === VOID ? Charsets_getInstance().e1w_1 : charset;
158
+ charset = charset === VOID ? Charsets_getInstance().r1v_1 : charset;
157
159
  var tmp = new $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
158
160
  tmp.w8_1 = Unit_instance;
159
161
  tmp.x8_1 = null;
160
162
  return tmp.c9();
161
163
  }
162
164
  function ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
163
- this.r58_1 = $registrations;
164
- this.s58_1 = $this_createClientPlugin;
165
- this.t58_1 = $ignoredTypes;
165
+ this.i58_1 = $registrations;
166
+ this.j58_1 = $this_createClientPlugin;
167
+ this.k58_1 = $ignoredTypes;
166
168
  CoroutineImpl.call(this, resultContinuation);
167
169
  }
168
- protoOf(ContentNegotiation$lambda$slambda).y58 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
169
- var tmp = this.z58($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
170
+ protoOf(ContentNegotiation$lambda$slambda).p58 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
171
+ var tmp = this.q58($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
170
172
  tmp.w8_1 = Unit_instance;
171
173
  tmp.x8_1 = null;
172
174
  return tmp.c9();
173
175
  };
174
- protoOf(ContentNegotiation$lambda$slambda).u3v = function (p1, p2, p3, p4, $completion) {
176
+ protoOf(ContentNegotiation$lambda$slambda).h3v = function (p1, p2, p3, p4, $completion) {
175
177
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
176
178
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
177
179
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
178
- return this.y58(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
180
+ return this.p58(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
179
181
  };
180
182
  protoOf(ContentNegotiation$lambda$slambda).c9 = function () {
181
183
  var suspendResult = this.w8_1;
@@ -186,7 +188,7 @@
186
188
  case 0:
187
189
  this.v8_1 = 2;
188
190
  this.u8_1 = 1;
189
- suspendResult = invoke$convertRequest(this.r58_1, this.s58_1, this.t58_1, this.v58_1, this.w58_1, this);
191
+ suspendResult = invoke$convertRequest(this.i58_1, this.j58_1, this.k58_1, this.m58_1, this.n58_1, this);
190
192
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
191
193
  return suspendResult;
192
194
  }
@@ -208,39 +210,39 @@
208
210
  }
209
211
  while (true);
210
212
  };
211
- protoOf(ContentNegotiation$lambda$slambda).z58 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
212
- var i = new ContentNegotiation$lambda$slambda(this.r58_1, this.s58_1, this.t58_1, completion);
213
- i.u58_1 = $this$transformRequestBody;
214
- i.v58_1 = request;
215
- i.w58_1 = body;
216
- i.x58_1 = _unused_var__etf5q3;
213
+ protoOf(ContentNegotiation$lambda$slambda).q58 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
214
+ var i = new ContentNegotiation$lambda$slambda(this.i58_1, this.j58_1, this.k58_1, completion);
215
+ i.l58_1 = $this$transformRequestBody;
216
+ i.m58_1 = request;
217
+ i.n58_1 = body;
218
+ i.o58_1 = _unused_var__etf5q3;
217
219
  return i;
218
220
  };
219
221
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
220
222
  var i = new ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation);
221
223
  var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
222
- return i.y58($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
224
+ return i.p58($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
223
225
  };
224
226
  l.$arity = 4;
225
227
  return l;
226
228
  }
227
229
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
228
- this.i59_1 = $ignoredTypes;
229
- this.j59_1 = $registrations;
230
- this.k59_1 = $this_createClientPlugin;
230
+ this.z58_1 = $ignoredTypes;
231
+ this.a59_1 = $registrations;
232
+ this.b59_1 = $this_createClientPlugin;
231
233
  CoroutineImpl.call(this, resultContinuation);
232
234
  }
233
- protoOf(ContentNegotiation$lambda$slambda_1).s3v = function ($this$transformResponseBody, response, body, info, $completion) {
234
- var tmp = this.t3v($this$transformResponseBody, response, body, info, $completion);
235
+ protoOf(ContentNegotiation$lambda$slambda_1).f3v = function ($this$transformResponseBody, response, body, info, $completion) {
236
+ var tmp = this.g3v($this$transformResponseBody, response, body, info, $completion);
235
237
  tmp.w8_1 = Unit_instance;
236
238
  tmp.x8_1 = null;
237
239
  return tmp.c9();
238
240
  };
239
- protoOf(ContentNegotiation$lambda$slambda_1).u3v = function (p1, p2, p3, p4, $completion) {
241
+ protoOf(ContentNegotiation$lambda$slambda_1).h3v = function (p1, p2, p3, p4, $completion) {
240
242
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
241
243
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
242
244
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
243
- return this.s3v(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
245
+ return this.f3v(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
244
246
  };
245
247
  protoOf(ContentNegotiation$lambda$slambda_1).c9 = function () {
246
248
  var suspendResult = this.w8_1;
@@ -250,7 +252,7 @@
250
252
  switch (tmp) {
251
253
  case 0:
252
254
  this.v8_1 = 2;
253
- var tmp0_elvis_lhs = contentType(this.m59_1);
255
+ var tmp0_elvis_lhs = contentType(this.d59_1);
254
256
  var tmp_0;
255
257
  if (tmp0_elvis_lhs == null) {
256
258
  return null;
@@ -259,9 +261,9 @@
259
261
  }
260
262
 
261
263
  var contentType_0 = tmp_0;
262
- var charset = suitableCharset(get_request(this.m59_1).p2x());
264
+ var charset = suitableCharset(get_request(this.d59_1).c2x());
263
265
  this.u8_1 = 1;
264
- suspendResult = invoke$convertResponse(this.i59_1, this.j59_1, this.k59_1, get_request(this.m59_1).x3e(), this.o59_1, this.n59_1, contentType_0, charset, this);
266
+ suspendResult = invoke$convertResponse(this.z58_1, this.a59_1, this.b59_1, get_request(this.d59_1).k3e(), this.f59_1, this.e59_1, contentType_0, charset, this);
265
267
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
266
268
  return suspendResult;
267
269
  }
@@ -283,33 +285,33 @@
283
285
  }
284
286
  while (true);
285
287
  };
286
- protoOf(ContentNegotiation$lambda$slambda_1).t3v = function ($this$transformResponseBody, response, body, info, completion) {
287
- var i = new ContentNegotiation$lambda$slambda_1(this.i59_1, this.j59_1, this.k59_1, completion);
288
- i.l59_1 = $this$transformResponseBody;
289
- i.m59_1 = response;
290
- i.n59_1 = body;
291
- i.o59_1 = info;
288
+ protoOf(ContentNegotiation$lambda$slambda_1).g3v = function ($this$transformResponseBody, response, body, info, completion) {
289
+ var i = new ContentNegotiation$lambda$slambda_1(this.z58_1, this.a59_1, this.b59_1, completion);
290
+ i.c59_1 = $this$transformResponseBody;
291
+ i.d59_1 = response;
292
+ i.e59_1 = body;
293
+ i.f59_1 = info;
292
294
  return i;
293
295
  };
294
296
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
295
297
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
296
298
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
297
- return i.s3v($this$transformResponseBody, response, body, info, $completion);
299
+ return i.f3v($this$transformResponseBody, response, body, info, $completion);
298
300
  };
299
301
  l.$arity = 4;
300
302
  return l;
301
303
  }
302
304
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
303
305
  _init_properties_ContentNegotiation_kt__o183go();
304
- return toString(it.r56_1);
306
+ return toString(it.i56_1);
305
307
  }
306
308
  function $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, resultContinuation) {
307
309
  CoroutineImpl.call(this, resultContinuation);
308
- this.i57_1 = registrations;
309
- this.j57_1 = $this_createClientPlugin;
310
- this.k57_1 = ignoredTypes;
311
- this.l57_1 = request;
312
- this.m57_1 = body;
310
+ this.z56_1 = registrations;
311
+ this.a57_1 = $this_createClientPlugin;
312
+ this.b57_1 = ignoredTypes;
313
+ this.c57_1 = request;
314
+ this.d57_1 = body;
313
315
  }
314
316
  protoOf($invoke$convertRequestCOROUTINE$).c9 = function () {
315
317
  var suspendResult = this.w8_1;
@@ -320,9 +322,9 @@
320
322
  case 0:
321
323
  this.v8_1 = 7;
322
324
  var tmp_0;
323
- if (this.l57_1.l3d_1.b2i(get_ExcludedContentTypes())) {
324
- var excluded = this.l57_1.l3d_1.z2h(get_ExcludedContentTypes());
325
- var tmp0 = this.i57_1;
325
+ if (this.c57_1.y3c_1.o2h(get_ExcludedContentTypes())) {
326
+ var excluded = this.c57_1.y3c_1.m2h(get_ExcludedContentTypes());
327
+ var tmp0 = this.z56_1;
326
328
  var destination = ArrayList_init_$Create$();
327
329
  var _iterator__ex2g4s = tmp0.r();
328
330
  while (_iterator__ex2g4s.s()) {
@@ -342,7 +344,7 @@
342
344
  var _iterator__ex2g4s_0 = excluded.r();
343
345
  while (_iterator__ex2g4s_0.s()) {
344
346
  var element_0 = _iterator__ex2g4s_0.t();
345
- if (element.s56_1.f2t(element_0)) {
347
+ if (element.j56_1.s2s(element_0)) {
346
348
  tmp$ret$0 = false;
347
349
  break l$ret$1;
348
350
  }
@@ -356,11 +358,11 @@
356
358
  }
357
359
  tmp_0 = destination;
358
360
  } else {
359
- tmp_0 = this.i57_1;
361
+ tmp_0 = this.z56_1;
360
362
  }
361
363
 
362
364
  var requestRegistrations = tmp_0;
363
- var tmp0_elvis_lhs = this.l57_1.i3d_1.d2m(HttpHeaders_getInstance().l2t_1);
365
+ var tmp0_elvis_lhs = this.c57_1.v3c_1.q2l(HttpHeaders_getInstance().y2s_1);
364
366
  var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
365
367
  var _iterator__ex2g4s_1 = requestRegistrations.r();
366
368
  while (_iterator__ex2g4s_1.s()) {
@@ -380,7 +382,7 @@
380
382
  var _iterator__ex2g4s_2 = acceptHeaders.r();
381
383
  while (_iterator__ex2g4s_2.s()) {
382
384
  var element_2 = _iterator__ex2g4s_2.t();
383
- if (Companion_getInstance().hm(element_2).f2t(element_1.s56_1)) {
385
+ if (Companion_getInstance().ul(element_2).s2s(element_1.j56_1)) {
384
386
  tmp$ret$2 = false;
385
387
  break l$ret$3;
386
388
  }
@@ -389,19 +391,19 @@
389
391
  }
390
392
  while (false);
391
393
  if (tmp$ret$2) {
392
- var qValue = this.j57_1.j3l_1.y56_1;
393
- var contentTypeToSend = qValue == null ? element_1.s56_1 : element_1.s56_1.d2t('q', qValue.toString());
394
- get_LOGGER().t2q('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.l57_1.g3d_1.toString());
395
- accept(this.l57_1, contentTypeToSend);
394
+ var qValue = this.a57_1.w3k_1.p56_1;
395
+ var contentTypeToSend = qValue == null ? element_1.j56_1 : element_1.j56_1.q2s('q', qValue.toString());
396
+ get_LOGGER().g2q('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.c57_1.t3c_1.toString());
397
+ accept(this.c57_1, contentTypeToSend);
396
398
  }
397
399
  }
398
400
 
399
401
  var tmp_3;
400
- var tmp_4 = this.m57_1;
402
+ var tmp_4 = this.d57_1;
401
403
  if (tmp_4 instanceof OutgoingContent) {
402
404
  tmp_3 = true;
403
405
  } else {
404
- var tmp0_0 = this.k57_1;
406
+ var tmp0_0 = this.b57_1;
405
407
  var tmp$ret$4;
406
408
  l$ret$5: do {
407
409
  var tmp_5;
@@ -417,7 +419,7 @@
417
419
  var _iterator__ex2g4s_3 = tmp0_0.r();
418
420
  while (_iterator__ex2g4s_3.s()) {
419
421
  var element_3 = _iterator__ex2g4s_3.t();
420
- if (element_3.wa(this.m57_1)) {
422
+ if (element_3.wa(this.d57_1)) {
421
423
  tmp$ret$4 = true;
422
424
  break l$ret$5;
423
425
  }
@@ -429,36 +431,36 @@
429
431
  }
430
432
 
431
433
  if (tmp_3) {
432
- get_LOGGER().t2q('Body type ' + toString(getKClassFromExpression(this.m57_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.l57_1.g3d_1.toString() + '.'));
434
+ get_LOGGER().g2q('Body type ' + toString(getKClassFromExpression(this.d57_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.c57_1.t3c_1.toString() + '.'));
433
435
  return null;
434
436
  }
435
437
 
436
438
  var tmp_6 = this;
437
- var tmp0_elvis_lhs_0 = contentType_0(this.l57_1);
439
+ var tmp0_elvis_lhs_0 = contentType_0(this.c57_1);
438
440
  var tmp_7;
439
441
  if (tmp0_elvis_lhs_0 == null) {
440
- this.j57_1;
441
- get_LOGGER().t2q("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.l57_1.g3d_1.toString() + '.');
442
+ this.a57_1;
443
+ get_LOGGER().g2q("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.c57_1.t3c_1.toString() + '.');
442
444
  return null;
443
445
  } else {
444
446
  tmp_7 = tmp0_elvis_lhs_0;
445
447
  }
446
448
 
447
- tmp_6.o57_1 = tmp_7;
448
- var tmp_8 = this.m57_1;
449
+ tmp_6.f57_1 = tmp_7;
450
+ var tmp_8 = this.d57_1;
449
451
  if (tmp_8 instanceof Unit) {
450
- get_LOGGER().t2q('Sending empty body for ' + this.l57_1.g3d_1.toString());
451
- this.l57_1.i3d_1.n2m(HttpHeaders_getInstance().d2u_1);
452
+ get_LOGGER().g2q('Sending empty body for ' + this.c57_1.t3c_1.toString());
453
+ this.c57_1.v3c_1.a2m(HttpHeaders_getInstance().q2t_1);
452
454
  return EmptyContent_getInstance();
453
455
  }
454
456
 
455
457
  var tmp_9 = this;
456
- var tmp0_1 = this.i57_1;
458
+ var tmp0_1 = this.z56_1;
457
459
  var destination_0 = ArrayList_init_$Create$();
458
460
  var _iterator__ex2g4s_4 = tmp0_1.r();
459
461
  while (_iterator__ex2g4s_4.s()) {
460
462
  var element_4 = _iterator__ex2g4s_4.t();
461
- if (element_4.t56_1.v56(this.o57_1)) {
463
+ if (element_4.k56_1.m56(this.f57_1)) {
462
464
  destination_0.p(element_4);
463
465
  }
464
466
  }
@@ -473,41 +475,41 @@
473
475
  var tmp1_elvis_lhs = tmp_10;
474
476
  var tmp_11;
475
477
  if (tmp1_elvis_lhs == null) {
476
- this.j57_1;
477
- get_LOGGER().t2q('None of the registered converters match request Content-Type=' + this.o57_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.l57_1.g3d_1.toString() + '.'));
478
+ this.a57_1;
479
+ get_LOGGER().g2q('None of the registered converters match request Content-Type=' + this.f57_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.c57_1.t3c_1.toString() + '.'));
478
480
  return null;
479
481
  } else {
480
482
  tmp_11 = tmp1_elvis_lhs;
481
483
  }
482
484
 
483
- tmp_9.n57_1 = tmp_11;
484
- if (this.l57_1.w44() == null) {
485
- get_LOGGER().t2q('Request has unknown body type. Skipping ContentNegotiation for ' + this.l57_1.g3d_1.toString() + '.');
485
+ tmp_9.e57_1 = tmp_11;
486
+ if (this.c57_1.j44() == null) {
487
+ get_LOGGER().g2q('Request has unknown body type. Skipping ContentNegotiation for ' + this.c57_1.t3c_1.toString() + '.');
486
488
  return null;
487
489
  }
488
490
 
489
- this.l57_1.i3d_1.n2m(HttpHeaders_getInstance().d2u_1);
491
+ this.c57_1.v3c_1.a2m(HttpHeaders_getInstance().q2t_1);
490
492
  var tmp_12 = this;
491
- tmp_12.s57_1 = this.n57_1;
493
+ tmp_12.j57_1 = this.e57_1;
492
494
  this.u8_1 = 1;
493
495
  continue $sm;
494
496
  case 1:
495
- this.r57_1 = this.s57_1.r();
497
+ this.i57_1 = this.j57_1.r();
496
498
  this.u8_1 = 2;
497
499
  continue $sm;
498
500
  case 2:
499
- if (!this.r57_1.s()) {
501
+ if (!this.i57_1.s()) {
500
502
  this.u8_1 = 5;
501
503
  continue $sm;
502
504
  }
503
505
 
504
- var element_5 = this.r57_1.t();
505
- this.q57_1 = element_5;
506
+ var element_5 = this.i57_1.t();
507
+ this.h57_1 = element_5;
506
508
  this.u8_1 = 3;
507
- var tmp0_elvis_lhs_1 = charset(this.o57_1);
508
- var tmp_13 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().e1w_1 : tmp0_elvis_lhs_1;
509
- var tmp_14 = ensureNotNull(this.l57_1.w44());
510
- var this_0 = this.m57_1;
509
+ var tmp0_elvis_lhs_1 = charset(this.f57_1);
510
+ var tmp_13 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().r1v_1 : tmp0_elvis_lhs_1;
511
+ var tmp_14 = ensureNotNull(this.c57_1.j44());
512
+ var this_0 = this.d57_1;
511
513
  var tmp_15;
512
514
  if (!equals(this_0, NullBody_instance)) {
513
515
  tmp_15 = this_0;
@@ -515,7 +517,7 @@
515
517
  tmp_15 = null;
516
518
  }
517
519
 
518
- suspendResult = this.q57_1.r56_1.p59(this.o57_1, tmp_13, tmp_14, tmp_15, this);
520
+ suspendResult = this.h57_1.i56_1.g59(this.f57_1, tmp_13, tmp_14, tmp_15, this);
519
521
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
520
522
  return suspendResult;
521
523
  }
@@ -524,12 +526,12 @@
524
526
  case 3:
525
527
  var result = suspendResult;
526
528
  if (!(result == null)) {
527
- get_LOGGER().t2q('Converted request body using ' + toString(this.q57_1.r56_1) + ' for ' + this.l57_1.g3d_1.toString());
529
+ get_LOGGER().g2q('Converted request body using ' + toString(this.h57_1.i56_1) + ' for ' + this.c57_1.t3c_1.toString());
528
530
  }
529
531
 
530
532
  var result_0 = result;
531
533
  if (!(result_0 == null)) {
532
- this.p57_1 = result_0;
534
+ this.g57_1 = result_0;
533
535
  this.u8_1 = 6;
534
536
  continue $sm;
535
537
  } else {
@@ -541,7 +543,7 @@
541
543
  this.u8_1 = 2;
542
544
  continue $sm;
543
545
  case 5:
544
- this.p57_1 = null;
546
+ this.g57_1 = null;
545
547
  if (false) {
546
548
  this.u8_1 = 1;
547
549
  continue $sm;
@@ -550,11 +552,11 @@
550
552
  this.u8_1 = 6;
551
553
  continue $sm;
552
554
  case 6:
553
- var tmp2_elvis_lhs = this.p57_1;
555
+ var tmp2_elvis_lhs = this.g57_1;
554
556
  var tmp_16;
555
557
  if (tmp2_elvis_lhs == null) {
556
- var tmp_17 = "Can't convert " + toString(this.m57_1) + ' with contentType ' + this.o57_1.toString() + ' using converters ';
557
- throw new ContentConverterException(tmp_17 + joinToString(this.n57_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
558
+ var tmp_17 = "Can't convert " + toString(this.d57_1) + ' with contentType ' + this.f57_1.toString() + ' using converters ';
559
+ throw new ContentConverterException(tmp_17 + joinToString(this.e57_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
558
560
  } else {
559
561
  tmp_16 = tmp2_elvis_lhs;
560
562
  }
@@ -577,14 +579,14 @@
577
579
  };
578
580
  function $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
579
581
  CoroutineImpl.call(this, resultContinuation);
580
- this.b58_1 = ignoredTypes;
581
- this.c58_1 = registrations;
582
- this.d58_1 = $this_createClientPlugin;
583
- this.e58_1 = requestUrl;
584
- this.f58_1 = info;
585
- this.g58_1 = body;
586
- this.h58_1 = responseContentType;
587
- this.i58_1 = charset;
582
+ this.s57_1 = ignoredTypes;
583
+ this.t57_1 = registrations;
584
+ this.u57_1 = $this_createClientPlugin;
585
+ this.v57_1 = requestUrl;
586
+ this.w57_1 = info;
587
+ this.x57_1 = body;
588
+ this.y57_1 = responseContentType;
589
+ this.z57_1 = charset;
588
590
  }
589
591
  protoOf($invoke$convertResponseCOROUTINE$).c9 = function () {
590
592
  var suspendResult = this.w8_1;
@@ -594,23 +596,23 @@
594
596
  switch (tmp) {
595
597
  case 0:
596
598
  this.v8_1 = 2;
597
- var tmp_0 = this.g58_1;
599
+ var tmp_0 = this.x57_1;
598
600
  if (!isInterface(tmp_0, ByteReadChannel)) {
599
- get_LOGGER().t2q('Response body is already transformed. Skipping ContentNegotiation for ' + this.e58_1.toString() + '.');
601
+ get_LOGGER().g2q('Response body is already transformed. Skipping ContentNegotiation for ' + this.v57_1.toString() + '.');
600
602
  return null;
601
603
  }
602
604
 
603
- if (this.b58_1.u1(this.f58_1.c2q_1)) {
604
- get_LOGGER().t2q('Response body type ' + toString(this.f58_1.c2q_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.e58_1.toString() + '.'));
605
+ if (this.s57_1.u1(this.w57_1.p2p_1)) {
606
+ get_LOGGER().g2q('Response body type ' + toString(this.w57_1.p2p_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.v57_1.toString() + '.'));
605
607
  return null;
606
608
  }
607
609
 
608
- var tmp0 = this.c58_1;
610
+ var tmp0 = this.t57_1;
609
611
  var destination = ArrayList_init_$Create$();
610
612
  var _iterator__ex2g4s = tmp0.r();
611
613
  while (_iterator__ex2g4s.s()) {
612
614
  var element = _iterator__ex2g4s.t();
613
- if (element.t56_1.v56(this.h58_1)) {
615
+ if (element.k56_1.m56(this.y57_1)) {
614
616
  destination.p(element);
615
617
  }
616
618
  }
@@ -619,7 +621,7 @@
619
621
  var _iterator__ex2g4s_0 = destination.r();
620
622
  while (_iterator__ex2g4s_0.s()) {
621
623
  var item = _iterator__ex2g4s_0.t();
622
- destination_0.p(item.r56_1);
624
+ destination_0.p(item.i56_1);
623
625
  }
624
626
 
625
627
  var tmp_1;
@@ -632,8 +634,8 @@
632
634
  var tmp0_elvis_lhs = tmp_1;
633
635
  var tmp_2;
634
636
  if (tmp0_elvis_lhs == null) {
635
- this.d58_1;
636
- get_LOGGER().t2q('None of the registered converters match response with Content-Type=' + this.h58_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.e58_1.toString() + '.'));
637
+ this.u57_1;
638
+ get_LOGGER().g2q('None of the registered converters match response with Content-Type=' + this.y57_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.v57_1.toString() + '.'));
637
639
  return null;
638
640
  } else {
639
641
  tmp_2 = tmp0_elvis_lhs;
@@ -641,7 +643,7 @@
641
643
 
642
644
  var suitableConverters = tmp_2;
643
645
  this.u8_1 = 1;
644
- suspendResult = deserialize(suitableConverters, this.g58_1, this.f58_1, this.i58_1, this);
646
+ suspendResult = deserialize(suitableConverters, this.x57_1, this.w57_1, this.z57_1, this);
645
647
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
646
648
  return suspendResult;
647
649
  }
@@ -650,7 +652,7 @@
650
652
  case 1:
651
653
  var result = suspendResult;
652
654
  if (!isInterface(result, ByteReadChannel)) {
653
- get_LOGGER().t2q('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.e58_1.toString() + '.');
655
+ get_LOGGER().g2q('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.v57_1.toString() + '.');
654
656
  }
655
657
 
656
658
  return result;
@@ -673,7 +675,7 @@
673
675
  if (!properties_initialized_ContentNegotiation_kt_1ayduy) {
674
676
  properties_initialized_ContentNegotiation_kt_1ayduy = true;
675
677
  LOGGER = KtorSimpleLogger('io.ktor.client.plugins.contentnegotiation.ContentNegotiation');
676
- DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().gc(), PrimitiveClasses_getInstance().cc(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent)]);
678
+ DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().gc(), PrimitiveClasses_getInstance().cc(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent), getKClass(ClientSSESession), getKClass(ClientSSESessionWithDeserialization)]);
677
679
  // Inline function 'io.ktor.util.AttributeKey' call
678
680
  var name = 'ExcludedContentTypesAttr';
679
681
  // Inline function 'io.ktor.util.reflect.typeInfo' call
@@ -701,12 +703,12 @@
701
703
  }
702
704
  function JsonContentTypeMatcher() {
703
705
  }
704
- protoOf(JsonContentTypeMatcher).v56 = function (contentType) {
705
- if (contentType.f2t(Application_getInstance().l2r_1)) {
706
+ protoOf(JsonContentTypeMatcher).m56 = function (contentType) {
707
+ if (contentType.s2s(Application_getInstance().y2q_1)) {
706
708
  return true;
707
709
  }
708
- var value = contentType.e2t().toString();
709
- return Application_getInstance().f2s(value) && endsWith(value, '+json', true);
710
+ var value = contentType.r2s().toString();
711
+ return Application_getInstance().s2r(value) && endsWith(value, '+json', true);
710
712
  };
711
713
  var JsonContentTypeMatcher_instance;
712
714
  function JsonContentTypeMatcher_getInstance() {
@@ -726,7 +728,7 @@
726
728
  }
727
729
  }
728
730
  //region block: post-declaration
729
- protoOf(ContentNegotiationConfig).z54 = register$default;
731
+ protoOf(ContentNegotiationConfig).q54 = register$default;
730
732
  //endregion
731
733
  //region block: init
732
734
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();