@doordeck/doordeck-headless-sdk 0.84.0 → 0.86.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 (24) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +2250 -1528
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +16 -16
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +8 -8
  4. package/kotlin/doordeck-sdk.js +6246 -6177
  5. package/kotlin/kotlin-kotlin-stdlib.js +1270 -1334
  6. package/kotlin/kotlinx-atomicfu.js +4 -5
  7. package/kotlin/kotlinx-coroutines-core.js +212 -411
  8. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +14 -15
  9. package/kotlin/kotlinx-io-kotlinx-io-core.js +44 -138
  10. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +302 -345
  11. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +160 -243
  12. package/kotlin/ktor-ktor-client-ktor-client-core.js +86 -122
  13. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +28 -34
  14. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +23 -23
  15. package/kotlin/ktor-ktor-http-ktor-http-cio.js +42 -72
  16. package/kotlin/ktor-ktor-http.js +107 -170
  17. package/kotlin/ktor-ktor-io.js +61 -84
  18. package/kotlin/ktor-ktor-shared-ktor-events.js +5 -7
  19. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +1 -1
  20. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +29 -39
  21. package/kotlin/ktor-ktor-shared-ktor-serialization.js +10 -10
  22. package/kotlin/ktor-ktor-shared-ktor-websockets.js +13 -19
  23. package/kotlin/ktor-ktor-utils.js +84 -114
  24. package/package.json +3 -3
@@ -1,10 +1,10 @@
1
1
  (function (_, kotlin_kotlin, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_ktor_ktor_utils, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var CoroutineImpl = kotlin_kotlin.$_$.t9;
5
- var Unit_instance = kotlin_kotlin.$_$.j5;
6
- var protoOf = kotlin_kotlin.$_$.sb;
7
- var THROW_CCE = kotlin_kotlin.$_$.lf;
4
+ var CoroutineImpl = kotlin_kotlin.$_$.u9;
5
+ var Unit_instance = kotlin_kotlin.$_$.k5;
6
+ var protoOf = kotlin_kotlin.$_$.tb;
7
+ var THROW_CCE = kotlin_kotlin.$_$.nf;
8
8
  var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.y;
9
9
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.j;
10
10
  var initMetadataForLambda = kotlin_kotlin.$_$.wa;
@@ -12,41 +12,41 @@
12
12
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
13
13
  var initMetadataForClass = kotlin_kotlin.$_$.ra;
14
14
  var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
15
- var toList = kotlin_kotlin.$_$.r8;
15
+ var toList = kotlin_kotlin.$_$.s8;
16
16
  var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.c;
17
- var KtMutableMap = kotlin_kotlin.$_$.v5;
17
+ var KtMutableMap = kotlin_kotlin.$_$.w5;
18
18
  var getKClass = kotlin_kotlin.$_$.f;
19
- var arrayOf = kotlin_kotlin.$_$.zf;
19
+ var arrayOf = kotlin_kotlin.$_$.bg;
20
20
  var createKType = kotlin_kotlin.$_$.c;
21
21
  var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
22
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.z4;
22
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.a5;
23
23
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.l;
24
24
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.n;
25
25
  var Send_instance = kotlin_io_ktor_ktor_client_core.$_$.b;
26
26
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
27
- var collectionSizeOrDefault = kotlin_kotlin.$_$.e6;
27
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
28
28
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
29
29
  var parseAuthorizationHeaders = kotlin_io_ktor_ktor_http.$_$.m;
30
- var flatten = kotlin_kotlin.$_$.g7;
31
- var emptyList = kotlin_kotlin.$_$.y6;
32
- var to = kotlin_kotlin.$_$.pg;
30
+ var flatten = kotlin_kotlin.$_$.h7;
31
+ var emptyList = kotlin_kotlin.$_$.z6;
32
+ var to = kotlin_kotlin.$_$.rg;
33
33
  var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.h;
34
- var first = kotlin_kotlin.$_$.f7;
34
+ var first = kotlin_kotlin.$_$.g7;
35
35
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
36
36
  var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.e;
37
37
  var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.s;
38
- var toString = kotlin_kotlin.$_$.wb;
39
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.d9;
38
+ var toString = kotlin_kotlin.$_$.xb;
39
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
40
40
  var Sender = kotlin_io_ktor_ktor_client_core.$_$.f;
41
41
  var HashSet_init_$Create$ = kotlin_kotlin.$_$.w;
42
42
  var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
43
43
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.g;
44
- var Unit = kotlin_kotlin.$_$.wf;
44
+ var Unit = kotlin_kotlin.$_$.yf;
45
45
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.i;
46
- var KtList = kotlin_kotlin.$_$.q5;
46
+ var KtList = kotlin_kotlin.$_$.r5;
47
47
  var initMetadataForInterface = kotlin_kotlin.$_$.va;
48
48
  var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
49
- var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.ng;
49
+ var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.pg;
50
50
  var CompletableDeferred_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
51
51
  var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
52
52
  var headers = kotlin_io_ktor_ktor_client_core.$_$.v;
@@ -207,7 +207,6 @@
207
207
  var _iterator__ex2g4s = headerValues.p();
208
208
  while (_iterator__ex2g4s.q()) {
209
209
  var item = _iterator__ex2g4s.r();
210
- // Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>' call
211
210
  var tmp$ret$0 = parseAuthorizationHeaders(item);
212
211
  destination.k(tmp$ret$0);
213
212
  }
@@ -223,52 +222,48 @@
223
222
  // Inline function 'io.ktor.util.logging.trace' call
224
223
  var this_0 = get_LOGGER();
225
224
  if (get_isTraceEnabled(this_0)) {
226
- // Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>' call
227
225
  var tmp$ret$3 = 'Unauthorized response ' + call.x3b().a3c().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
228
226
  this_0.j2l(tmp$ret$3);
229
227
  }
230
228
  tmp_0 = null;
231
229
  } else {
232
- var tmp$ret$10;
230
+ var tmp$ret$11;
233
231
  $l$block_0: {
234
232
  // Inline function 'kotlin.collections.firstNotNullOfOrNull' call
235
233
  var _iterator__ex2g4s_0 = authHeaders.p();
236
234
  while (_iterator__ex2g4s_0.q()) {
237
235
  var element = _iterator__ex2g4s_0.r();
238
- // Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>' call
239
236
  // Inline function 'kotlin.collections.find' call
240
- var tmp$ret$5;
237
+ var tmp$ret$6;
241
238
  $l$block: {
242
239
  // Inline function 'kotlin.collections.firstOrNull' call
243
240
  var _iterator__ex2g4s_1 = candidateProviders.p();
244
241
  while (_iterator__ex2g4s_1.q()) {
245
242
  var element_0 = _iterator__ex2g4s_1.r();
246
- // Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>.<anonymous>' call
247
243
  if (element_0.g4g(element)) {
248
- tmp$ret$5 = element_0;
244
+ tmp$ret$6 = element_0;
249
245
  break $l$block;
250
246
  }
251
247
  }
252
- tmp$ret$5 = null;
248
+ tmp$ret$6 = null;
253
249
  }
254
- var tmp0_safe_receiver = tmp$ret$5;
250
+ var tmp0_safe_receiver = tmp$ret$6;
255
251
  var tmp_1;
256
252
  if (tmp0_safe_receiver == null) {
257
253
  tmp_1 = null;
258
254
  } else {
259
255
  // Inline function 'kotlin.let' call
260
- // Inline function 'io.ktor.client.plugins.auth.Auth$lambda.invoke.findProvider.<anonymous>.<anonymous>' call
261
256
  tmp_1 = to(tmp0_safe_receiver, element);
262
257
  }
263
258
  var result = tmp_1;
264
259
  if (!(result == null)) {
265
- tmp$ret$10 = result;
260
+ tmp$ret$11 = result;
266
261
  break $l$block_0;
267
262
  }
268
263
  }
269
- tmp$ret$10 = null;
264
+ tmp$ret$11 = null;
270
265
  }
271
- tmp_0 = tmp$ret$10;
266
+ tmp_0 = tmp$ret$11;
272
267
  }
273
268
  return tmp_0;
274
269
  }
@@ -487,8 +482,8 @@
487
482
  }
488
483
 
489
484
  tmp_0.b4j_1 = tmp_1;
490
- this.c4j_1 = this.b4j_1.pg();
491
- this.d4j_1 = this.b4j_1.qg();
485
+ this.c4j_1 = this.b4j_1.tg();
486
+ this.d4j_1 = this.b4j_1.ug();
492
487
  var this_2 = get_LOGGER();
493
488
  if (get_isTraceEnabled(this_2)) {
494
489
  this_2.j2l('Using provider ' + toString(this.c4j_1) + ' for ' + this.z4i_1.x3b().a3c().toString());
@@ -961,7 +956,6 @@
961
956
  var this_0 = new BearerAuthConfig();
962
957
  block(this_0);
963
958
  // Inline function 'kotlin.with' call
964
- // Inline function 'io.ktor.client.plugins.auth.providers.bearer.<anonymous>' call
965
959
  _this__u8e3s4.d4g_1.k(new BearerAuthProvider(this_0.l4k_1, this_0.m4k_1, this_0.n4k_1, this_0.o4k_1));
966
960
  }
967
961
  function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
@@ -1,26 +1,26 @@
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.$_$.sb;
4
+ var protoOf = kotlin_kotlin.$_$.tb;
5
5
  var initMetadataForClass = kotlin_kotlin.$_$.ra;
6
- var plus = kotlin_kotlin.$_$.y7;
7
- var toMutableSet = kotlin_kotlin.$_$.w8;
6
+ var plus = kotlin_kotlin.$_$.z7;
7
+ var toMutableSet = kotlin_kotlin.$_$.x8;
8
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.$_$.j5;
11
+ var Unit_instance = kotlin_kotlin.$_$.k5;
12
12
  var Configuration = kotlin_io_ktor_ktor_serialization.$_$.c;
13
13
  var VOID = kotlin_kotlin.$_$.h;
14
- var Exception = kotlin_kotlin.$_$.cf;
14
+ var Exception = kotlin_kotlin.$_$.ef;
15
15
  var Exception_init_$Init$ = kotlin_kotlin.$_$.o1;
16
- var captureStack = kotlin_kotlin.$_$.ba;
16
+ var captureStack = kotlin_kotlin.$_$.ca;
17
17
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.l;
18
- var CoroutineImpl = kotlin_kotlin.$_$.t9;
19
- var THROW_CCE = kotlin_kotlin.$_$.lf;
18
+ var CoroutineImpl = kotlin_kotlin.$_$.u9;
19
+ var THROW_CCE = kotlin_kotlin.$_$.nf;
20
20
  var TransformRequestBodyContext = kotlin_io_ktor_ktor_client_core.$_$.g;
21
21
  var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.s;
22
22
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.l;
23
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.d9;
23
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
24
24
  var initMetadataForLambda = kotlin_kotlin.$_$.wa;
25
25
  var TransformResponseBodyContext = kotlin_io_ktor_ktor_client_core.$_$.h;
26
26
  var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.y;
@@ -29,39 +29,39 @@
29
29
  var contentType = kotlin_io_ktor_ktor_http.$_$.m1;
30
30
  var get_request = kotlin_io_ktor_ktor_client_core.$_$.a1;
31
31
  var suitableCharset = kotlin_io_ktor_ktor_serialization.$_$.f;
32
- var toString = kotlin_kotlin.$_$.wb;
33
- var Collection = kotlin_kotlin.$_$.l5;
32
+ var toString = kotlin_kotlin.$_$.xb;
33
+ var Collection = kotlin_kotlin.$_$.m5;
34
34
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
35
- var emptyList = kotlin_kotlin.$_$.y6;
35
+ var emptyList = kotlin_kotlin.$_$.z6;
36
36
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.c;
37
37
  var accept = kotlin_io_ktor_ktor_client_core.$_$.u;
38
38
  var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.w;
39
39
  var getKClassFromExpression = kotlin_kotlin.$_$.e;
40
40
  var contentType_0 = kotlin_io_ktor_ktor_http.$_$.l1;
41
41
  var EmptyContent_getInstance = kotlin_io_ktor_ktor_client_core.$_$.d;
42
- var Unit = kotlin_kotlin.$_$.wf;
42
+ var Unit = kotlin_kotlin.$_$.yf;
43
43
  var charset = kotlin_io_ktor_ktor_http.$_$.j1;
44
- var ensureNotNull = kotlin_kotlin.$_$.dg;
44
+ var ensureNotNull = kotlin_kotlin.$_$.fg;
45
45
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
46
- var equals = kotlin_kotlin.$_$.ja;
47
- var joinToString = kotlin_kotlin.$_$.n7;
46
+ var equals = kotlin_kotlin.$_$.ka;
47
+ var joinToString = kotlin_kotlin.$_$.o7;
48
48
  var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
49
- var collectionSizeOrDefault = kotlin_kotlin.$_$.e6;
49
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
50
50
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
51
51
  var deserialize = kotlin_io_ktor_ktor_serialization.$_$.a;
52
52
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.g;
53
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.z4;
53
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.a5;
54
54
  var HttpStatusCode = kotlin_io_ktor_ktor_http.$_$.a1;
55
55
  var getKClass = kotlin_kotlin.$_$.f;
56
- var setOf = kotlin_kotlin.$_$.h8;
57
- var KtList = kotlin_kotlin.$_$.q5;
56
+ var setOf = kotlin_kotlin.$_$.i8;
57
+ var KtList = kotlin_kotlin.$_$.r5;
58
58
  var ContentType = kotlin_io_ktor_ktor_http.$_$.y;
59
- var arrayOf = kotlin_kotlin.$_$.zf;
59
+ var arrayOf = kotlin_kotlin.$_$.bg;
60
60
  var createKType = kotlin_kotlin.$_$.c;
61
61
  var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
62
62
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.n;
63
63
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.i;
64
- var endsWith = kotlin_kotlin.$_$.uc;
64
+ var endsWith = kotlin_kotlin.$_$.vc;
65
65
  var initMetadataForObject = kotlin_kotlin.$_$.xa;
66
66
  var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.a1;
67
67
  //endregion
@@ -384,7 +384,7 @@
384
384
  var _iterator__ex2g4s_2 = tmp0_0.p();
385
385
  while (_iterator__ex2g4s_2.q()) {
386
386
  var element_2 = _iterator__ex2g4s_2.r();
387
- if (Companion_getInstance().rl(element_2).r2n(element_1.g4n_1)) {
387
+ if (Companion_getInstance().nl(element_2).r2n(element_1.g4n_1)) {
388
388
  tmp$ret$2 = false;
389
389
  break l$ret$3;
390
390
  }
@@ -2,50 +2,50 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var Long = kotlin_kotlin.$_$.ff;
5
+ var Long = kotlin_kotlin.$_$.hf;
6
6
  var VOID = kotlin_kotlin.$_$.h;
7
- var protoOf = kotlin_kotlin.$_$.sb;
7
+ var protoOf = kotlin_kotlin.$_$.tb;
8
8
  var MultiPartData = kotlin_io_ktor_ktor_http.$_$.o;
9
9
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
10
10
  var initMetadataForClass = kotlin_kotlin.$_$.ra;
11
- var NotImplementedError = kotlin_kotlin.$_$.hf;
12
- var Unit_instance = kotlin_kotlin.$_$.j5;
13
- var toString = kotlin_kotlin.$_$.wb;
11
+ var NotImplementedError = kotlin_kotlin.$_$.jf;
12
+ var Unit_instance = kotlin_kotlin.$_$.k5;
13
+ var toString = kotlin_kotlin.$_$.xb;
14
14
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
15
15
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.j1;
16
16
  var DefaultPool = kotlin_io_ktor_ktor_io.$_$.h1;
17
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.s2;
18
- var endsWith = kotlin_kotlin.$_$.tc;
19
- var charSequenceLength = kotlin_kotlin.$_$.fa;
20
- var charSequenceGet = kotlin_kotlin.$_$.ea;
21
- var Char = kotlin_kotlin.$_$.ve;
22
- var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.t2;
23
- var contains = kotlin_kotlin.$_$.oc;
24
- var charSequenceSubSequence = kotlin_kotlin.$_$.ga;
25
- var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.y2;
26
- var IllegalStateException = kotlin_kotlin.$_$.ef;
17
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
18
+ var endsWith = kotlin_kotlin.$_$.uc;
19
+ var charSequenceLength = kotlin_kotlin.$_$.ga;
20
+ var charSequenceGet = kotlin_kotlin.$_$.fa;
21
+ var Char = kotlin_kotlin.$_$.xe;
22
+ var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.u2;
23
+ var contains = kotlin_kotlin.$_$.pc;
24
+ var charSequenceSubSequence = kotlin_kotlin.$_$.ha;
25
+ var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.z2;
26
+ var IllegalStateException = kotlin_kotlin.$_$.gf;
27
27
  var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.z1;
28
- var captureStack = kotlin_kotlin.$_$.ba;
29
- var CoroutineImpl = kotlin_kotlin.$_$.t9;
28
+ var captureStack = kotlin_kotlin.$_$.ca;
29
+ var CoroutineImpl = kotlin_kotlin.$_$.u9;
30
30
  var readUTF8LineTo = kotlin_io_ktor_ktor_io.$_$.e;
31
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.d9;
31
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e9;
32
32
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
33
33
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
34
34
  var initMetadataForCoroutine = kotlin_kotlin.$_$.ta;
35
- var setOf = kotlin_kotlin.$_$.h8;
35
+ var setOf = kotlin_kotlin.$_$.i8;
36
36
  var Companion_getInstance = kotlin_io_ktor_ktor_io.$_$.n;
37
37
  var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.k;
38
- var listOf = kotlin_kotlin.$_$.u7;
38
+ var listOf = kotlin_kotlin.$_$.v7;
39
39
  var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
40
40
  var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.a;
41
41
  var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
42
- var toString_0 = kotlin_kotlin.$_$.ge;
43
- var toByte = kotlin_kotlin.$_$.tb;
44
- var copyOfRange = kotlin_kotlin.$_$.k6;
42
+ var toString_0 = kotlin_kotlin.$_$.ie;
43
+ var toByte = kotlin_kotlin.$_$.ub;
44
+ var copyOfRange = kotlin_kotlin.$_$.l6;
45
45
  var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
46
- var startsWith = kotlin_kotlin.$_$.sd;
46
+ var startsWith = kotlin_kotlin.$_$.ud;
47
47
  var readUntil = kotlin_io_ktor_ktor_io.$_$.f;
48
- var THROW_CCE = kotlin_kotlin.$_$.lf;
48
+ var THROW_CCE = kotlin_kotlin.$_$.nf;
49
49
  var WriterScope = kotlin_io_ktor_ktor_io.$_$.m1;
50
50
  var initMetadataForLambda = kotlin_kotlin.$_$.wa;
51
51
  var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
@@ -62,39 +62,38 @@
62
62
  var readPacket = kotlin_io_ktor_ktor_io.$_$.c;
63
63
  var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
64
64
  var copyTo = kotlin_io_ktor_ktor_io.$_$.a;
65
- var toLong = kotlin_kotlin.$_$.ub;
65
+ var toLong = kotlin_kotlin.$_$.vb;
66
66
  var toByteArray = kotlin_io_ktor_ktor_io.$_$.c1;
67
67
  var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
68
68
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
69
69
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
70
- var fillArrayVal = kotlin_kotlin.$_$.la;
71
- var compareTo = kotlin_kotlin.$_$.ha;
70
+ var compareTo = kotlin_kotlin.$_$.ia;
72
71
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.g2;
73
- var Collection = kotlin_kotlin.$_$.l5;
74
- var emptyList = kotlin_kotlin.$_$.y6;
72
+ var Collection = kotlin_kotlin.$_$.m5;
73
+ var emptyList = kotlin_kotlin.$_$.z6;
75
74
  var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
76
- var ensureNotNull = kotlin_kotlin.$_$.dg;
75
+ var ensureNotNull = kotlin_kotlin.$_$.fg;
77
76
  var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.i1;
78
77
  var isCharSequence = kotlin_kotlin.$_$.cb;
79
78
  var getStringHashCode = kotlin_kotlin.$_$.pa;
80
- var CharSequence = kotlin_kotlin.$_$.ue;
79
+ var CharSequence = kotlin_kotlin.$_$.we;
81
80
  var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.d2;
82
81
  var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.i1;
83
- var charArray = kotlin_kotlin.$_$.da;
82
+ var charArray = kotlin_kotlin.$_$.ea;
84
83
  var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.h2;
85
- var toString_1 = kotlin_kotlin.$_$.z2;
84
+ var toString_1 = kotlin_kotlin.$_$.a3;
86
85
  var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.h;
87
86
  var numberRangeToNumber = kotlin_kotlin.$_$.nb;
88
- var collectionSizeOrDefault = kotlin_kotlin.$_$.e6;
87
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
89
88
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
90
- var numberToLong = kotlin_kotlin.$_$.qb;
91
- var toLongArray = kotlin_kotlin.$_$.t8;
92
- var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.w2;
93
- var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.v2;
94
- var toByteArray_0 = kotlin_kotlin.$_$.o8;
89
+ var numberToLong = kotlin_kotlin.$_$.rb;
90
+ var toLongArray = kotlin_kotlin.$_$.u8;
91
+ var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.x2;
92
+ var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.w2;
93
+ var toByteArray_0 = kotlin_kotlin.$_$.p8;
95
94
  var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
96
95
  var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
97
- var isWhitespace = kotlin_kotlin.$_$.cd;
96
+ var isWhitespace = kotlin_kotlin.$_$.dd;
98
97
  //endregion
99
98
  //region block: pre-declaration
100
99
  initMetadataForClass(CIOMultipartDataBase, 'CIOMultipartDataBase', VOID, VOID, [MultiPartData, CoroutineScope], [0, 1]);
@@ -183,14 +182,12 @@
183
182
  // Inline function 'kotlin.require' call
184
183
  // Inline function 'kotlin.require' call
185
184
  if (!(idx >= 0)) {
186
- // Inline function 'kotlin.require.<anonymous>' call
187
185
  var message = 'Failed requirement.';
188
186
  throw IllegalArgumentException_init_$Create$(toString(message));
189
187
  }
190
188
  // Inline function 'kotlin.require' call
191
189
  // Inline function 'kotlin.require' call
192
190
  if (!(idx < this.s2y_1)) {
193
- // Inline function 'kotlin.require.<anonymous>' call
194
191
  var message_0 = 'Failed requirement.';
195
192
  throw IllegalArgumentException_init_$Create$(toString(message_0));
196
193
  }
@@ -204,14 +201,12 @@
204
201
  // Inline function 'kotlin.require' call
205
202
  // Inline function 'kotlin.require' call
206
203
  if (!(idx >= 0)) {
207
- // Inline function 'kotlin.require.<anonymous>' call
208
204
  var message = 'Failed requirement.';
209
205
  throw IllegalArgumentException_init_$Create$(toString(message));
210
206
  }
211
207
  // Inline function 'kotlin.require' call
212
208
  // Inline function 'kotlin.require' call
213
209
  if (!(idx < this.s2y_1)) {
214
- // Inline function 'kotlin.require.<anonymous>' call
215
210
  var message_0 = 'Failed requirement.';
216
211
  throw IllegalArgumentException_init_$Create$(toString(message_0));
217
212
  }
@@ -233,7 +228,6 @@
233
228
  // Inline function 'kotlin.text.buildString' call
234
229
  // Inline function 'kotlin.apply' call
235
230
  var this_0 = StringBuilder_init_$Create$();
236
- // Inline function 'io.ktor.http.cio.HttpHeadersMap.toString.<anonymous>' call
237
231
  dumpTo(this, '', this_0);
238
232
  return this_0.toString();
239
233
  };
@@ -338,7 +332,6 @@
338
332
  while (inductionVariable < charSequenceLength(host)) {
339
333
  var element = charSequenceGet(host, inductionVariable);
340
334
  inductionVariable = inductionVariable + 1 | 0;
341
- // Inline function 'io.ktor.http.cio.validateHostHeader.<anonymous>' call
342
335
  if (get_hostForbiddenSymbols().x1(new Char(element))) {
343
336
  tmp$ret$1 = true;
344
337
  break $l$block;
@@ -1102,7 +1095,7 @@
1102
1095
  }
1103
1096
  continue $sm;
1104
1097
  } else {
1105
- if ((new Long(0, 0)).i3(this.x30_1).xh(this.y30_1)) {
1098
+ if ((new Long(0, 0)).i3(this.x30_1).bi(this.y30_1)) {
1106
1099
  this.g9_1 = 1;
1107
1100
  suspendResult = copyTo(this.u30_1, this.v30_1, this.y30_1, this);
1108
1101
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -1223,13 +1216,11 @@
1223
1216
  var _iterator__ex2g4s = from.p();
1224
1217
  while (_iterator__ex2g4s.q()) {
1225
1218
  var element = _iterator__ex2g4s.r();
1226
- // Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>' call
1227
1219
  var key = charAt(element, idx);
1228
1220
  // Inline function 'kotlin.collections.getOrPut' call
1229
1221
  var value = destination.k2(key);
1230
1222
  var tmp;
1231
1223
  if (value == null) {
1232
- // Inline function 'kotlin.collections.groupByTo.<anonymous>' call
1233
1224
  var answer = ArrayList_init_$Create$();
1234
1225
  destination.n2(key, answer);
1235
1226
  tmp = answer;
@@ -1244,7 +1235,6 @@
1244
1235
  var _iterator__ex2g4s_0 = destination.x().p();
1245
1236
  while (_iterator__ex2g4s_0.q()) {
1246
1237
  var element_0 = _iterator__ex2g4s_0.r();
1247
- // Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>' call
1248
1238
  // Inline function 'kotlin.collections.component1' call
1249
1239
  var ch = element_0.y().l1_1;
1250
1240
  // Inline function 'kotlin.collections.component2' call
@@ -1258,7 +1248,6 @@
1258
1248
  var _iterator__ex2g4s_1 = list_0.p();
1259
1249
  while (_iterator__ex2g4s_1.q()) {
1260
1250
  var element_1 = _iterator__ex2g4s_1.r();
1261
- // Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>.<anonymous>' call
1262
1251
  if (length(element_1) > nextIdx) {
1263
1252
  destination_0.k(element_1);
1264
1253
  }
@@ -1271,7 +1260,6 @@
1271
1260
  var _iterator__ex2g4s_2 = list_0.p();
1272
1261
  while (_iterator__ex2g4s_2.q()) {
1273
1262
  var element_2 = _iterator__ex2g4s_2.r();
1274
- // Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>.<anonymous>' call
1275
1263
  if (length(element_2) === nextIdx) {
1276
1264
  destination_1.k(element_2);
1277
1265
  }
@@ -1292,7 +1280,7 @@
1292
1280
  var tmp = this;
1293
1281
  var tmp_0 = 0;
1294
1282
  // Inline function 'kotlin.arrayOfNulls' call
1295
- var tmp_1 = fillArrayVal(Array(256), null);
1283
+ var tmp_1 = Array(256);
1296
1284
  while (tmp_0 < 256) {
1297
1285
  var tmp_2 = tmp_0;
1298
1286
  var tmp1 = this.i33_1;
@@ -1304,7 +1292,6 @@
1304
1292
  var _iterator__ex2g4s = tmp1.p();
1305
1293
  while (_iterator__ex2g4s.q()) {
1306
1294
  var element = _iterator__ex2g4s.r();
1307
- // Inline function 'io.ktor.http.cio.internals.Node.array.<anonymous>' call
1308
1295
  // Inline function 'kotlin.code' call
1309
1296
  var this_0 = element.g33_1;
1310
1297
  if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
@@ -1391,7 +1378,6 @@
1391
1378
  var _iterator__ex2g4s = from.p();
1392
1379
  while (_iterator__ex2g4s.q()) {
1393
1380
  var element = _iterator__ex2g4s.r();
1394
- // Inline function 'io.ktor.http.cio.internals.Companion.build.<anonymous>' call
1395
1381
  if (length(element) === 0) {
1396
1382
  tmp$ret$2 = true;
1397
1383
  break $l$block_2;
@@ -1455,13 +1441,11 @@
1455
1441
  var withOffset = index + this.m33_1 | 0;
1456
1442
  // Inline function 'kotlin.require' call
1457
1443
  if (!(index >= 0)) {
1458
- // Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.get.<anonymous>' call
1459
1444
  var message = 'index is negative: ' + index;
1460
1445
  throw IllegalArgumentException_init_$Create$(toString(message));
1461
1446
  }
1462
1447
  // Inline function 'kotlin.require' call
1463
1448
  if (!(withOffset < this.n33_1)) {
1464
- // Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.get.<anonymous>' call
1465
1449
  var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
1466
1450
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1467
1451
  }
@@ -1470,19 +1454,16 @@
1470
1454
  protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
1471
1455
  // Inline function 'kotlin.require' call
1472
1456
  if (!(startIndex >= 0)) {
1473
- // Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.subSequence.<anonymous>' call
1474
1457
  var message = 'start is negative: ' + startIndex;
1475
1458
  throw IllegalArgumentException_init_$Create$(toString(message));
1476
1459
  }
1477
1460
  // Inline function 'kotlin.require' call
1478
1461
  if (!(startIndex <= endIndex)) {
1479
- // Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.subSequence.<anonymous>' call
1480
1462
  var message_0 = 'start (' + startIndex + ') should be less or equal to end (' + endIndex + ')';
1481
1463
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1482
1464
  }
1483
1465
  // Inline function 'kotlin.require' call
1484
1466
  if (!(endIndex <= (this.n33_1 - this.m33_1 | 0))) {
1485
- // Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.subSequence.<anonymous>' call
1486
1467
  var message_1 = 'end should be less than length (' + this.a() + ')';
1487
1468
  throw IllegalArgumentException_init_$Create$(toString(message_1));
1488
1469
  }
@@ -1496,7 +1477,6 @@
1496
1477
  if (tmp0_elvis_lhs == null) {
1497
1478
  // Inline function 'kotlin.also' call
1498
1479
  var this_0 = toString(copy(this.p33_1, this.m33_1, this.n33_1));
1499
- // Inline function 'io.ktor.http.cio.internals.SubSequenceImpl.toString.<anonymous>' call
1500
1480
  this.o33_1 = this_0;
1501
1481
  tmp = this_0;
1502
1482
  } else {
@@ -1553,7 +1533,6 @@
1553
1533
  if (tmp0_elvis_lhs == null) {
1554
1534
  // Inline function 'kotlin.also' call
1555
1535
  var this_0 = ArrayList_init_$Create$();
1556
- // Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.appendNewArray.<anonymous>' call
1557
1536
  $this.w2y_1 = this_0;
1558
1537
  this_0.k(existing);
1559
1538
  tmp = this_0;
@@ -1611,13 +1590,11 @@
1611
1590
  protoOf(CharArrayBuilder).b = function (index) {
1612
1591
  // Inline function 'kotlin.require' call
1613
1592
  if (!(index >= 0)) {
1614
- // Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.get.<anonymous>' call
1615
1593
  var message = 'index is negative: ' + index;
1616
1594
  throw IllegalArgumentException_init_$Create$(toString(message));
1617
1595
  }
1618
1596
  // Inline function 'kotlin.require' call
1619
1597
  if (!(index < this.b2z_1)) {
1620
- // Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.get.<anonymous>' call
1621
1598
  var message_0 = 'index ' + index + ' is not in range [0, ' + this.b2z_1 + ')';
1622
1599
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1623
1600
  }
@@ -1626,19 +1603,16 @@
1626
1603
  protoOf(CharArrayBuilder).c = function (startIndex, endIndex) {
1627
1604
  // Inline function 'kotlin.require' call
1628
1605
  if (!(startIndex <= endIndex)) {
1629
- // Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.subSequence.<anonymous>' call
1630
1606
  var message = 'startIndex (' + startIndex + ') should be less or equal to endIndex (' + endIndex + ')';
1631
1607
  throw IllegalArgumentException_init_$Create$(toString(message));
1632
1608
  }
1633
1609
  // Inline function 'kotlin.require' call
1634
1610
  if (!(startIndex >= 0)) {
1635
- // Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.subSequence.<anonymous>' call
1636
1611
  var message_0 = 'startIndex is negative: ' + startIndex;
1637
1612
  throw IllegalArgumentException_init_$Create$(toString(message_0));
1638
1613
  }
1639
1614
  // Inline function 'kotlin.require' call
1640
1615
  if (!(endIndex <= this.b2z_1)) {
1641
- // Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.subSequence.<anonymous>' call
1642
1616
  var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.b2z_1 + ')';
1643
1617
  throw IllegalArgumentException_init_$Create$(toString(message_1));
1644
1618
  }
@@ -1650,7 +1624,6 @@
1650
1624
  if (tmp0_elvis_lhs == null) {
1651
1625
  // Inline function 'kotlin.also' call
1652
1626
  var this_0 = toString(copy(this, 0, this.b2z_1));
1653
- // Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.toString.<anonymous>' call
1654
1627
  this.y2y_1 = this_0;
1655
1628
  tmp = this_0;
1656
1629
  } else {
@@ -1727,7 +1700,6 @@
1727
1700
  null;
1728
1701
  else {
1729
1702
  // Inline function 'kotlin.let' call
1730
- // Inline function 'io.ktor.http.cio.internals.CharArrayBuilder.release.<anonymous>' call
1731
1703
  this.v2y_1.z1t(tmp0_safe_receiver);
1732
1704
  }
1733
1705
  this.x2y_1 = null;
@@ -1897,7 +1869,6 @@
1897
1869
  do {
1898
1870
  var item = inductionVariable;
1899
1871
  inductionVariable = inductionVariable + 1 | 0;
1900
- // Inline function 'io.ktor.http.cio.internals.HexTable.<anonymous>' call
1901
1872
  var v = item;
1902
1873
  var tmp_2;
1903
1874
  if (48 <= v ? v <= 57 : false) {
@@ -1964,7 +1935,6 @@
1964
1935
  do {
1965
1936
  var item_0 = inductionVariable_0;
1966
1937
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
1967
- // Inline function 'io.ktor.http.cio.internals.HexLetterTable.<anonymous>' call
1968
1938
  var it = item_0;
1969
1939
  var tmp_9;
1970
1940
  if (it < 10) {