@doordeck/doordeck-headless-sdk 0.114.0 → 0.116.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 (31) hide show
  1. package/kotlin/Kermit-kermit-core.js +59 -58
  2. package/kotlin/Kermit-kermit.js +7 -7
  3. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1899 -1681
  4. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +6 -6
  5. package/kotlin/MultiplatformSettings-multiplatform-settings.js +30 -11
  6. package/kotlin/doordeck-sdk.d.ts +1576 -290
  7. package/kotlin/doordeck-sdk.js +6395 -6373
  8. package/kotlin/kotlin-kotlin-stdlib.js +590 -719
  9. package/kotlin/kotlinx-atomicfu.js +5 -5
  10. package/kotlin/kotlinx-coroutines-core.js +246 -243
  11. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +12 -12
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +104 -104
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +126 -117
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1216 -1214
  15. package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js → ktor-ktor-client-auth.js} +283 -286
  16. package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js → ktor-ktor-client-content-negotiation.js} +169 -169
  17. package/kotlin/{ktor-ktor-client-ktor-client-core.js → ktor-ktor-client-core.js} +2515 -2518
  18. package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js → ktor-ktor-client-logging.js} +926 -831
  19. package/kotlin/{ktor-ktor-shared-ktor-events.js → ktor-ktor-events.js} +9 -9
  20. package/kotlin/{ktor-ktor-http-ktor-http-cio.js → ktor-ktor-http-cio.js} +371 -370
  21. package/kotlin/ktor-ktor-http.js +867 -952
  22. package/kotlin/ktor-ktor-io.js +389 -411
  23. package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js → ktor-ktor-serialization-kotlinx-json.js} +7 -7
  24. package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js → ktor-ktor-serialization-kotlinx.js} +150 -150
  25. package/kotlin/{ktor-ktor-shared-ktor-serialization.js → ktor-ktor-serialization.js} +75 -75
  26. package/kotlin/ktor-ktor-utils.js +117 -92
  27. package/kotlin/{ktor-ktor-shared-ktor-websockets.js → ktor-ktor-websockets.js} +52 -52
  28. package/package.json +3 -3
  29. /package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js → ktor-ktor-client-encoding.js} +0 -0
  30. /package/kotlin/{ktor-ktor-shared-ktor-sse.js → ktor-ktor-sse.js} +0 -0
  31. /package/kotlin/{ktor-ktor-shared-ktor-websocket-serialization.js → ktor-ktor-websocket-serialization.js} +0 -0
@@ -4,25 +4,25 @@
4
4
  var imul = Math.imul;
5
5
  var VOID = kotlin_kotlin.$_$.h;
6
6
  var copyOfRange = kotlin_kotlin.$_$.l6;
7
- var protoOf = kotlin_kotlin.$_$.ub;
8
- var objectCreate = kotlin_kotlin.$_$.tb;
9
- var toCharArray = kotlin_kotlin.$_$.ge;
10
- var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
7
+ var protoOf = kotlin_kotlin.$_$.vb;
8
+ var objectCreate = kotlin_kotlin.$_$.ub;
9
+ var toCharArray = kotlin_kotlin.$_$.je;
10
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
11
11
  var getKClassFromExpression = kotlin_kotlin.$_$.e;
12
- var THROW_CCE = kotlin_kotlin.$_$.sf;
12
+ var THROW_CCE = kotlin_kotlin.$_$.vf;
13
13
  var Unit_instance = kotlin_kotlin.$_$.k5;
14
14
  var contentEquals = kotlin_kotlin.$_$.h6;
15
15
  var contentHashCode = kotlin_kotlin.$_$.i6;
16
16
  var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.d2;
17
17
  var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.f3;
18
18
  var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.g3;
19
- var compareTo = kotlin_kotlin.$_$.ja;
19
+ var compareTo = kotlin_kotlin.$_$.ka;
20
20
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
21
21
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
22
- var Comparable = kotlin_kotlin.$_$.df;
23
- var initMetadataForClass = kotlin_kotlin.$_$.sa;
24
- var decodeToString = kotlin_kotlin.$_$.uc;
25
- var initMetadataForObject = kotlin_kotlin.$_$.ya;
22
+ var Comparable = kotlin_kotlin.$_$.gf;
23
+ var initMetadataForClass = kotlin_kotlin.$_$.ta;
24
+ var decodeToString = kotlin_kotlin.$_$.vc;
25
+ var initMetadataForObject = kotlin_kotlin.$_$.za;
26
26
  //endregion
27
27
  //region block: pre-declaration
28
28
  initMetadataForCompanion(Companion);
@@ -115,13 +115,13 @@
115
115
  inductionVariable = inductionVariable + 1 | 0;
116
116
  // Inline function 'kotlin.toUByte' call
117
117
  var this_0 = localData[i];
118
- var tmp4 = _UByte___init__impl__g9hnc4(this_0);
118
+ var tmp0_0 = _UByte___init__impl__g9hnc4(this_0);
119
119
  // Inline function 'kotlin.toUByte' call
120
120
  var this_1 = otherData[i];
121
121
  // Inline function 'kotlin.UByte.compareTo' call
122
122
  var other_0 = _UByte___init__impl__g9hnc4(this_1);
123
123
  // Inline function 'kotlin.UByte.toInt' call
124
- var tmp = _UByte___get_data__impl__jof9qr(tmp4) & 255;
124
+ var tmp = _UByte___get_data__impl__jof9qr(tmp0_0) & 255;
125
125
  // Inline function 'kotlin.UByte.toInt' call
126
126
  var tmp$ret$4 = _UByte___get_data__impl__jof9qr(other_0) & 255;
127
127
  var cmp = compareTo(tmp, tmp$ret$4);
@@ -3,39 +3,39 @@
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
5
  var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.d2;
6
- var Long = kotlin_kotlin.$_$.mf;
6
+ var Long = kotlin_kotlin.$_$.pf;
7
7
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
8
8
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
9
9
  var charArrayOf = kotlin_kotlin.$_$.ea;
10
- var protoOf = kotlin_kotlin.$_$.ub;
11
- var toString = kotlin_kotlin.$_$.yb;
10
+ var protoOf = kotlin_kotlin.$_$.vb;
11
+ var toString = kotlin_kotlin.$_$.zb;
12
12
  var Unit_instance = kotlin_kotlin.$_$.k5;
13
- var toShort = kotlin_kotlin.$_$.xb;
14
- var ensureNotNull = kotlin_kotlin.$_$.kg;
15
- var toLong = kotlin_kotlin.$_$.wb;
13
+ var toShort = kotlin_kotlin.$_$.yb;
14
+ var ensureNotNull = kotlin_kotlin.$_$.ng;
15
+ var toLong = kotlin_kotlin.$_$.xb;
16
16
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
17
- var initMetadataForClass = kotlin_kotlin.$_$.sa;
17
+ var initMetadataForClass = kotlin_kotlin.$_$.ta;
18
18
  var VOID = kotlin_kotlin.$_$.h;
19
19
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
20
20
  var UnsafeByteStringOperations_instance = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.b;
21
- var AutoCloseable = kotlin_kotlin.$_$.af;
22
- var objectCreate = kotlin_kotlin.$_$.tb;
23
- var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
21
+ var AutoCloseable = kotlin_kotlin.$_$.df;
22
+ var objectCreate = kotlin_kotlin.$_$.ub;
23
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
24
24
  var arrayCopy = kotlin_kotlin.$_$.a6;
25
- var toByte = kotlin_kotlin.$_$.vb;
25
+ var toByte = kotlin_kotlin.$_$.wb;
26
26
  var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.u1;
27
- var initMetadataForObject = kotlin_kotlin.$_$.ya;
28
- var initMetadataForInterface = kotlin_kotlin.$_$.wa;
29
- var charSequenceGet = kotlin_kotlin.$_$.ga;
27
+ var initMetadataForObject = kotlin_kotlin.$_$.za;
28
+ var initMetadataForInterface = kotlin_kotlin.$_$.xa;
29
+ var charCodeAt = kotlin_kotlin.$_$.ga;
30
30
  var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.z2;
31
31
  var charArray = kotlin_kotlin.$_$.fa;
32
- var numberToChar = kotlin_kotlin.$_$.pb;
33
- var concatToString = kotlin_kotlin.$_$.rc;
32
+ var numberToChar = kotlin_kotlin.$_$.qb;
33
+ var concatToString = kotlin_kotlin.$_$.sc;
34
34
  var Exception_init_$Init$ = kotlin_kotlin.$_$.n1;
35
35
  var captureStack = kotlin_kotlin.$_$.da;
36
36
  var Exception_init_$Init$_0 = kotlin_kotlin.$_$.o1;
37
37
  var Exception_init_$Init$_1 = kotlin_kotlin.$_$.q1;
38
- var Exception = kotlin_kotlin.$_$.jf;
38
+ var Exception = kotlin_kotlin.$_$.mf;
39
39
  //endregion
40
40
  //region block: pre-declaration
41
41
  initMetadataForInterface(Source, 'Source', VOID, VOID, [AutoCloseable]);
@@ -251,25 +251,25 @@
251
251
  break $l$loop;
252
252
  s = s.y1h_1;
253
253
  }
254
- var tmp4 = s;
254
+ var tmp0 = s;
255
255
  var offset_1 = offset_0;
256
- return ensureNotNull(tmp4).k1i(position.a3(offset_1).j1());
256
+ return ensureNotNull(tmp0).k1i(position.a3(offset_1).j1());
257
257
  } else {
258
258
  var s_0 = this.k1h_1;
259
259
  var offset_2 = new Long(0, 0);
260
260
  $l$loop_0: while (!(s_0 == null)) {
261
- var tmp0 = offset_2;
261
+ var tmp0_0 = offset_2;
262
262
  // Inline function 'kotlin.Long.plus' call
263
263
  var other = s_0.u1h_1 - s_0.t1h_1 | 0;
264
- var nextOffset = tmp0.z2(toLong(other));
264
+ var nextOffset = tmp0_0.z2(toLong(other));
265
265
  if (nextOffset.e1(position) > 0)
266
266
  break $l$loop_0;
267
267
  s_0 = s_0.x1h_1;
268
268
  offset_2 = nextOffset;
269
269
  }
270
- var tmp6 = s_0;
270
+ var tmp0_1 = s_0;
271
271
  var offset_3 = offset_2;
272
- return ensureNotNull(tmp6).k1i(position.a3(offset_3).j1());
272
+ return ensureNotNull(tmp0_1).k1i(position.a3(offset_3).j1());
273
273
  }
274
274
  };
275
275
  protoOf(Buffer).e2 = function () {
@@ -292,12 +292,12 @@
292
292
  tmp = tmp0_elvis_lhs;
293
293
  }
294
294
  var head = tmp;
295
- var tmp1 = remainingByteCount;
295
+ var tmp0 = remainingByteCount;
296
296
  // Inline function 'kotlinx.io.minOf' call
297
297
  var b = head.u1h_1 - head.t1h_1 | 0;
298
298
  // Inline function 'kotlin.comparisons.minOf' call
299
299
  var b_0 = toLong(b);
300
- var toSkip = (tmp1.e1(b_0) <= 0 ? tmp1 : b_0).j1();
300
+ var toSkip = (tmp0.e1(b_0) <= 0 ? tmp0 : b_0).j1();
301
301
  this.m1h_1 = this.m1h_1.a3(toLong(toSkip));
302
302
  remainingByteCount = remainingByteCount.a3(toLong(toSkip));
303
303
  head.t1h_1 = head.t1h_1 + toSkip | 0;
@@ -318,10 +318,10 @@
318
318
  tmp = tmp0_elvis_lhs;
319
319
  }
320
320
  var s = tmp;
321
- var tmp3 = endIndex - startIndex | 0;
321
+ var tmp0 = endIndex - startIndex | 0;
322
322
  // Inline function 'kotlin.comparisons.minOf' call
323
323
  var b = s.s();
324
- var toCopy = Math.min(tmp3, b);
324
+ var toCopy = Math.min(tmp0, b);
325
325
  s.n1i(sink, startIndex, startIndex + toCopy | 0);
326
326
  this.m1h_1 = this.m1h_1.a3(toLong(toCopy));
327
327
  if (isEmpty(s)) {
@@ -392,18 +392,18 @@
392
392
  var currentOffset = startIndex;
393
393
  while (currentOffset < endIndex) {
394
394
  var tail = this.t1i(1);
395
- var tmp3 = endIndex - currentOffset | 0;
395
+ var tmp0 = endIndex - currentOffset | 0;
396
396
  // Inline function 'kotlin.comparisons.minOf' call
397
397
  var b = tail.y1i();
398
- var toCopy = Math.min(tmp3, b);
398
+ var toCopy = Math.min(tmp0, b);
399
399
  tail.z1i(source, currentOffset, currentOffset + toCopy | 0);
400
400
  currentOffset = currentOffset + toCopy | 0;
401
401
  }
402
402
  var tmp = this;
403
- var tmp5 = this.m1h_1;
403
+ var tmp0_0 = this.m1h_1;
404
404
  // Inline function 'kotlin.Long.plus' call
405
405
  var other = endIndex - startIndex | 0;
406
- tmp.m1h_1 = tmp5.z2(toLong(other));
406
+ tmp.m1h_1 = tmp0_0.z2(toLong(other));
407
407
  };
408
408
  protoOf(Buffer).b1j = function (source, byteCount) {
409
409
  // Inline function 'kotlinx.io.checkByteCount' call
@@ -434,13 +434,13 @@
434
434
  var tail = this.l1h_1;
435
435
  var tmp;
436
436
  if (!(tail == null) && tail.w1h_1) {
437
- var tmp1 = remainingByteCount;
437
+ var tmp0 = remainingByteCount;
438
438
  // Inline function 'kotlin.Long.plus' call
439
439
  var other = tail.u1h_1;
440
- var tmp3 = tmp1.z2(toLong(other));
440
+ var tmp0_0 = tmp0.z2(toLong(other));
441
441
  // Inline function 'kotlin.Long.minus' call
442
442
  var other_0 = tail.c1j() ? 0 : tail.t1h_1;
443
- tmp = tmp3.a3(toLong(other_0)).e1(new Long(8192, 0)) <= 0;
443
+ tmp = tmp0_0.a3(toLong(other_0)).e1(new Long(8192, 0)) <= 0;
444
444
  } else {
445
445
  tmp = false;
446
446
  }
@@ -511,13 +511,13 @@
511
511
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
512
512
  var curr = this.k1h_1;
513
513
  while (!(curr == null)) {
514
- var tmp4 = get_SegmentReadContextImpl();
514
+ var tmp0 = get_SegmentReadContextImpl();
515
515
  var segment = curr;
516
516
  var idx = 0;
517
517
  while (bytesWritten < len && idx < segment.s()) {
518
518
  var _unary__edvuaz = idx;
519
519
  idx = _unary__edvuaz + 1 | 0;
520
- var b_0 = tmp4.l1j(segment, _unary__edvuaz);
520
+ var b_0 = tmp0.l1j(segment, _unary__edvuaz);
521
521
  bytesWritten = bytesWritten + 1 | 0;
522
522
  var tmp = get_HEX_DIGIT_CHARS();
523
523
  // Inline function 'kotlinx.io.shr' call
@@ -586,18 +586,18 @@
586
586
  // Inline function 'kotlin.comparisons.maxOf' call
587
587
  var a = startIndex.a3(offset).j1();
588
588
  var tmp_0 = Math.max(a, 0);
589
- var tmp3 = segment.s();
589
+ var tmp0 = segment.s();
590
590
  // Inline function 'kotlin.comparisons.minOf' call
591
591
  var b_0 = endOffset.a3(offset).j1();
592
- var tmp$ret$3 = Math.min(tmp3, b_0);
592
+ var tmp$ret$3 = Math.min(tmp0, b_0);
593
593
  var idx = indexOf_0(tmp, byte, tmp_0, tmp$ret$3);
594
594
  if (!(idx === -1)) {
595
595
  return offset.z2(toLong(idx));
596
596
  }
597
- var tmp5 = offset;
597
+ var tmp0_0 = offset;
598
598
  // Inline function 'kotlin.Long.plus' call
599
599
  var other = segment.s();
600
- offset = tmp5.z2(toLong(other));
600
+ offset = tmp0_0.z2(toLong(other));
601
601
  segment = segment.x1h_1;
602
602
  }
603
603
  while (!(segment == null) && offset.e1(endOffset) < 0);
@@ -612,12 +612,12 @@
612
612
  break $l$loop;
613
613
  s = s.y1h_1;
614
614
  }
615
- var tmp6 = s;
615
+ var tmp0_1 = s;
616
616
  var o_0 = offset_0;
617
617
  if (o_0.equals(new Long(-1, -1))) {
618
618
  return new Long(-1, -1);
619
619
  }
620
- var segment_0 = tmp6;
620
+ var segment_0 = tmp0_1;
621
621
  var offset_1 = o_0;
622
622
  do {
623
623
  // Inline function 'kotlin.check' call
@@ -629,18 +629,18 @@
629
629
  // Inline function 'kotlin.comparisons.maxOf' call
630
630
  var a_0 = startIndex.a3(offset_1).j1();
631
631
  var tmp_2 = Math.max(a_0, 0);
632
- var tmp3_0 = segment_0.s();
632
+ var tmp0_2 = segment_0.s();
633
633
  // Inline function 'kotlin.comparisons.minOf' call
634
634
  var b_1 = endOffset.a3(offset_1).j1();
635
- var tmp$ret$8 = Math.min(tmp3_0, b_1);
635
+ var tmp$ret$8 = Math.min(tmp0_2, b_1);
636
636
  var idx_0 = indexOf_0(tmp_1, byte, tmp_2, tmp$ret$8);
637
637
  if (!(idx_0 === -1)) {
638
638
  return offset_1.z2(toLong(idx_0));
639
639
  }
640
- var tmp5_0 = offset_1;
640
+ var tmp0_3 = offset_1;
641
641
  // Inline function 'kotlin.Long.plus' call
642
642
  var other_0 = segment_0.s();
643
- offset_1 = tmp5_0.z2(toLong(other_0));
643
+ offset_1 = tmp0_3.z2(toLong(other_0));
644
644
  segment_0 = segment_0.x1h_1;
645
645
  }
646
646
  while (!(segment_0 == null) && offset_1.e1(endOffset) < 0);
@@ -649,21 +649,21 @@
649
649
  var s_0 = _this__u8e3s4.k1h_1;
650
650
  var offset_2 = new Long(0, 0);
651
651
  $l$loop_0: while (!(s_0 == null)) {
652
- var tmp0 = offset_2;
652
+ var tmp0_4 = offset_2;
653
653
  // Inline function 'kotlin.Long.plus' call
654
654
  var other_1 = s_0.u1h_1 - s_0.t1h_1 | 0;
655
- var nextOffset = tmp0.z2(toLong(other_1));
655
+ var nextOffset = tmp0_4.z2(toLong(other_1));
656
656
  if (nextOffset.e1(startIndex) > 0)
657
657
  break $l$loop_0;
658
658
  s_0 = s_0.x1h_1;
659
659
  offset_2 = nextOffset;
660
660
  }
661
- var tmp8 = s_0;
661
+ var tmp0_5 = s_0;
662
662
  var o_1 = offset_2;
663
663
  if (o_1.equals(new Long(-1, -1))) {
664
664
  return new Long(-1, -1);
665
665
  }
666
- var segment_1 = tmp8;
666
+ var segment_1 = tmp0_5;
667
667
  var offset_3 = o_1;
668
668
  do {
669
669
  // Inline function 'kotlin.check' call
@@ -675,18 +675,18 @@
675
675
  // Inline function 'kotlin.comparisons.maxOf' call
676
676
  var a_1 = startIndex.a3(offset_3).j1();
677
677
  var tmp_4 = Math.max(a_1, 0);
678
- var tmp3_1 = segment_1.s();
678
+ var tmp0_6 = segment_1.s();
679
679
  // Inline function 'kotlin.comparisons.minOf' call
680
680
  var b_2 = endOffset.a3(offset_3).j1();
681
- var tmp$ret$13 = Math.min(tmp3_1, b_2);
681
+ var tmp$ret$13 = Math.min(tmp0_6, b_2);
682
682
  var idx_1 = indexOf_0(tmp_3, byte, tmp_4, tmp$ret$13);
683
683
  if (!(idx_1 === -1)) {
684
684
  return offset_3.z2(toLong(idx_1));
685
685
  }
686
- var tmp5_1 = offset_3;
686
+ var tmp0_7 = offset_3;
687
687
  // Inline function 'kotlin.Long.plus' call
688
688
  var other_2 = segment_1.s();
689
- offset_3 = tmp5_1.z2(toLong(other_2));
689
+ offset_3 = tmp0_7.z2(toLong(other_2));
690
690
  segment_1 = segment_1.x1h_1;
691
691
  }
692
692
  while (!(segment_1 == null) && offset_3.e1(endOffset) < 0);
@@ -821,11 +821,11 @@
821
821
  if (read.equals(new Long(-1, -1)))
822
822
  return -1;
823
823
  }
824
- var tmp3 = endIndex - startIndex | 0;
824
+ var tmp0 = endIndex - startIndex | 0;
825
825
  // Inline function 'kotlinx.io.minOf' call
826
826
  var b = this.w1j_1.s();
827
827
  // Inline function 'kotlin.comparisons.minOf' call
828
- var a = toLong(tmp3);
828
+ var a = toLong(tmp0);
829
829
  var toRead = (a.e1(b) <= 0 ? a : b).j1();
830
830
  return this.w1j_1.m1i(sink, startIndex, startIndex + toRead | 0);
831
831
  };
@@ -969,17 +969,17 @@
969
969
  prefix = this.f1i();
970
970
  } else {
971
971
  prefix = SegmentPool_instance.w1i();
972
- var tmp1 = this.s1h_1;
972
+ var tmp0 = this.s1h_1;
973
973
  var tmp2 = prefix.s1h_1;
974
- var tmp3 = this.t1h_1;
974
+ var tmp4 = this.t1h_1;
975
975
  // Inline function 'kotlin.collections.copyInto' call
976
976
  var endIndex = this.t1h_1 + byteCount | 0;
977
977
  // Inline function 'kotlin.js.unsafeCast' call
978
978
  // Inline function 'kotlin.js.asDynamic' call
979
- var tmp = tmp1;
979
+ var tmp = tmp0;
980
980
  // Inline function 'kotlin.js.unsafeCast' call
981
981
  // Inline function 'kotlin.js.asDynamic' call
982
- arrayCopy(tmp, tmp2, 0, tmp3, endIndex);
982
+ arrayCopy(tmp, tmp2, 0, tmp4, endIndex);
983
983
  }
984
984
  prefix.u1h_1 = prefix.t1h_1 + byteCount | 0;
985
985
  this.t1h_1 = this.t1h_1 + byteCount | 0;
@@ -1060,39 +1060,39 @@
1060
1060
  throw IllegalArgumentException_init_$Create$_0();
1061
1061
  if (((sink.u1h_1 + byteCount | 0) - sink.t1h_1 | 0) > 8192)
1062
1062
  throw IllegalArgumentException_init_$Create$_0();
1063
- var tmp1 = sink.s1h_1;
1063
+ var tmp0 = sink.s1h_1;
1064
1064
  var tmp2 = sink.s1h_1;
1065
- var tmp3 = sink.t1h_1;
1065
+ var tmp4 = sink.t1h_1;
1066
1066
  // Inline function 'kotlin.collections.copyInto' call
1067
1067
  var endIndex = sink.u1h_1;
1068
1068
  // Inline function 'kotlin.js.unsafeCast' call
1069
1069
  // Inline function 'kotlin.js.asDynamic' call
1070
- var tmp = tmp1;
1070
+ var tmp = tmp0;
1071
1071
  // Inline function 'kotlin.js.unsafeCast' call
1072
1072
  // Inline function 'kotlin.js.asDynamic' call
1073
- arrayCopy(tmp, tmp2, 0, tmp3, endIndex);
1073
+ arrayCopy(tmp, tmp2, 0, tmp4, endIndex);
1074
1074
  sink.u1h_1 = sink.u1h_1 - sink.t1h_1 | 0;
1075
1075
  sink.t1h_1 = 0;
1076
1076
  }
1077
- var tmp6 = this.s1h_1;
1078
- var tmp7 = sink.s1h_1;
1079
- var tmp8 = sink.u1h_1;
1080
- var tmp9 = this.t1h_1;
1077
+ var tmp0_0 = this.s1h_1;
1078
+ var tmp2_0 = sink.s1h_1;
1079
+ var tmp4_0 = sink.u1h_1;
1080
+ var tmp6 = this.t1h_1;
1081
1081
  // Inline function 'kotlin.collections.copyInto' call
1082
1082
  var endIndex_0 = this.t1h_1 + byteCount | 0;
1083
1083
  // Inline function 'kotlin.js.unsafeCast' call
1084
1084
  // Inline function 'kotlin.js.asDynamic' call
1085
- var tmp_0 = tmp6;
1085
+ var tmp_0 = tmp0_0;
1086
1086
  // Inline function 'kotlin.js.unsafeCast' call
1087
1087
  // Inline function 'kotlin.js.asDynamic' call
1088
- arrayCopy(tmp_0, tmp7, tmp8, tmp9, endIndex_0);
1088
+ arrayCopy(tmp_0, tmp2_0, tmp4_0, tmp6, endIndex_0);
1089
1089
  sink.u1h_1 = sink.u1h_1 + byteCount | 0;
1090
1090
  this.t1h_1 = this.t1h_1 + byteCount | 0;
1091
1091
  };
1092
1092
  protoOf(Segment).n1i = function (dst, dstStartOffset, dstEndOffset) {
1093
1093
  var len = dstEndOffset - dstStartOffset | 0;
1094
1094
  var tmp0 = this.s1h_1;
1095
- var tmp3 = this.t1h_1;
1095
+ var tmp6 = this.t1h_1;
1096
1096
  // Inline function 'kotlin.collections.copyInto' call
1097
1097
  var endIndex = this.t1h_1 + len | 0;
1098
1098
  // Inline function 'kotlin.js.unsafeCast' call
@@ -1100,11 +1100,11 @@
1100
1100
  var tmp = tmp0;
1101
1101
  // Inline function 'kotlin.js.unsafeCast' call
1102
1102
  // Inline function 'kotlin.js.asDynamic' call
1103
- arrayCopy(tmp, dst, dstStartOffset, tmp3, endIndex);
1103
+ arrayCopy(tmp, dst, dstStartOffset, tmp6, endIndex);
1104
1104
  this.t1h_1 = this.t1h_1 + len | 0;
1105
1105
  };
1106
1106
  protoOf(Segment).z1i = function (src, srcStartOffset, srcEndOffset) {
1107
- var tmp1 = this.s1h_1;
1107
+ var tmp2 = this.s1h_1;
1108
1108
  // Inline function 'kotlin.collections.copyInto' call
1109
1109
  var destinationOffset = this.u1h_1;
1110
1110
  // Inline function 'kotlin.js.unsafeCast' call
@@ -1112,7 +1112,7 @@
1112
1112
  var tmp = src;
1113
1113
  // Inline function 'kotlin.js.unsafeCast' call
1114
1114
  // Inline function 'kotlin.js.asDynamic' call
1115
- arrayCopy(tmp, tmp1, destinationOffset, srcStartOffset, srcEndOffset);
1115
+ arrayCopy(tmp, tmp2, destinationOffset, srcStartOffset, srcEndOffset);
1116
1116
  this.u1h_1 = this.u1h_1 + (srcEndOffset - srcStartOffset | 0) | 0;
1117
1117
  };
1118
1118
  protoOf(Segment).s = function () {
@@ -1321,13 +1321,13 @@
1321
1321
  if (toLong(curr.s()).e1(byteCount) >= 0) {
1322
1322
  var result = '';
1323
1323
  // Inline function 'kotlinx.io.unsafe.withData' call
1324
- var tmp2 = curr.d1k(true);
1325
- var tmp3 = curr.t1h_1;
1326
- var tmp0 = curr.u1h_1;
1324
+ var tmp0 = curr.d1k(true);
1325
+ var tmp2 = curr.t1h_1;
1326
+ var tmp0_0 = curr.u1h_1;
1327
1327
  // Inline function 'kotlin.math.min' call
1328
- var b = tmp3 + byteCount.j1() | 0;
1329
- var tmp$ret$0 = Math.min(tmp0, b);
1330
- result = commonToUtf8String(tmp2, tmp3, tmp$ret$0);
1328
+ var b = tmp2 + byteCount.j1() | 0;
1329
+ var tmp$ret$0 = Math.min(tmp0_0, b);
1330
+ result = commonToUtf8String(tmp0, tmp2, tmp$ret$0);
1331
1331
  _this__u8e3s4.l1i(byteCount);
1332
1332
  return result;
1333
1333
  }
@@ -1350,7 +1350,7 @@
1350
1350
  while (i < endIndex) {
1351
1351
  var p0 = i;
1352
1352
  // Inline function 'kotlin.code' call
1353
- var this_1 = charSequenceGet(string, p0);
1353
+ var this_1 = charCodeAt(string, p0);
1354
1354
  var c = Char__toInt_impl_vasixd(this_1);
1355
1355
  if (c < 128) {
1356
1356
  $l$block_0: {
@@ -1367,7 +1367,7 @@
1367
1367
  $l$loop: while (i < runLimit) {
1368
1368
  var p0_0 = i;
1369
1369
  // Inline function 'kotlin.code' call
1370
- var this_2 = charSequenceGet(string, p0_0);
1370
+ var this_2 = charCodeAt(string, p0_0);
1371
1371
  c = Char__toInt_impl_vasixd(this_2);
1372
1372
  if (c >= 128)
1373
1373
  break $l$loop;
@@ -1464,7 +1464,7 @@
1464
1464
  if ((i + 1 | 0) < endIndex) {
1465
1465
  var p0_1 = i + 1 | 0;
1466
1466
  // Inline function 'kotlin.code' call
1467
- var this_3 = charSequenceGet(string, p0_1);
1467
+ var this_3 = charCodeAt(string, p0_1);
1468
1468
  tmp_5 = Char__toInt_impl_vasixd(this_3);
1469
1469
  } else {
1470
1470
  tmp_5 = 0;
@@ -1542,11 +1542,11 @@
1542
1542
  // Inline function 'kotlinx.io.shr' call
1543
1543
  if (b0 >> 5 === -2) {
1544
1544
  var tmp = index;
1545
- var tmp3 = index;
1545
+ var tmp2 = index;
1546
1546
  var tmp$ret$5;
1547
1547
  $l$block_0: {
1548
1548
  // Inline function 'kotlinx.io.internal.process2Utf8Bytes' call
1549
- if (endIndex <= (tmp3 + 1 | 0)) {
1549
+ if (endIndex <= (tmp2 + 1 | 0)) {
1550
1550
  var c_1 = numberToChar(65533);
1551
1551
  var _unary__edvuaz_2 = length;
1552
1552
  length = _unary__edvuaz_2 + 1 | 0;
@@ -1554,8 +1554,8 @@
1554
1554
  tmp$ret$5 = 1;
1555
1555
  break $l$block_0;
1556
1556
  }
1557
- var b0_0 = _this__u8e3s4[tmp3];
1558
- var b1 = _this__u8e3s4[tmp3 + 1 | 0];
1557
+ var b0_0 = _this__u8e3s4[tmp2];
1558
+ var b1 = _this__u8e3s4[tmp2 + 1 | 0];
1559
1559
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1560
1560
  // Inline function 'kotlinx.io.and' call
1561
1561
  if (!((b1 & 192) === 128)) {
@@ -1585,22 +1585,22 @@
1585
1585
  // Inline function 'kotlinx.io.shr' call
1586
1586
  if (b0 >> 4 === -2) {
1587
1587
  var tmp_0 = index;
1588
- var tmp12 = index;
1588
+ var tmp2_0 = index;
1589
1589
  var tmp$ret$19;
1590
1590
  $l$block_4: {
1591
1591
  // Inline function 'kotlinx.io.internal.process3Utf8Bytes' call
1592
- if (endIndex <= (tmp12 + 2 | 0)) {
1592
+ if (endIndex <= (tmp2_0 + 2 | 0)) {
1593
1593
  var c_5 = numberToChar(65533);
1594
1594
  var _unary__edvuaz_6 = length;
1595
1595
  length = _unary__edvuaz_6 + 1 | 0;
1596
1596
  chars[_unary__edvuaz_6] = c_5;
1597
1597
  var tmp_1;
1598
- if (endIndex <= (tmp12 + 1 | 0)) {
1598
+ if (endIndex <= (tmp2_0 + 1 | 0)) {
1599
1599
  tmp_1 = true;
1600
1600
  } else {
1601
1601
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1602
1602
  // Inline function 'kotlinx.io.and' call
1603
- tmp_1 = !((_this__u8e3s4[tmp12 + 1 | 0] & 192) === 128);
1603
+ tmp_1 = !((_this__u8e3s4[tmp2_0 + 1 | 0] & 192) === 128);
1604
1604
  }
1605
1605
  if (tmp_1) {
1606
1606
  tmp$ret$19 = 1;
@@ -1610,8 +1610,8 @@
1610
1610
  break $l$block_4;
1611
1611
  }
1612
1612
  }
1613
- var b0_1 = _this__u8e3s4[tmp12];
1614
- var b1_0 = _this__u8e3s4[tmp12 + 1 | 0];
1613
+ var b0_1 = _this__u8e3s4[tmp2_0];
1614
+ var b1_0 = _this__u8e3s4[tmp2_0 + 1 | 0];
1615
1615
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1616
1616
  // Inline function 'kotlinx.io.and' call
1617
1617
  if (!((b1_0 & 192) === 128)) {
@@ -1622,7 +1622,7 @@
1622
1622
  tmp$ret$19 = 1;
1623
1623
  break $l$block_4;
1624
1624
  }
1625
- var b2 = _this__u8e3s4[tmp12 + 2 | 0];
1625
+ var b2 = _this__u8e3s4[tmp2_0 + 2 | 0];
1626
1626
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1627
1627
  // Inline function 'kotlinx.io.and' call
1628
1628
  if (!((b2 & 192) === 128)) {
@@ -1657,11 +1657,11 @@
1657
1657
  // Inline function 'kotlinx.io.shr' call
1658
1658
  if (b0 >> 3 === -2) {
1659
1659
  var tmp_2 = index;
1660
- var tmp23 = index;
1660
+ var tmp2_1 = index;
1661
1661
  var tmp$ret$41;
1662
1662
  $l$block_10: {
1663
1663
  // Inline function 'kotlinx.io.internal.process4Utf8Bytes' call
1664
- if (endIndex <= (tmp23 + 3 | 0)) {
1664
+ if (endIndex <= (tmp2_1 + 3 | 0)) {
1665
1665
  if (!(65533 === 65533)) {
1666
1666
  var c_11 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
1667
1667
  var _unary__edvuaz_12 = length;
@@ -1678,24 +1678,24 @@
1678
1678
  chars[_unary__edvuaz_14] = c_13;
1679
1679
  }
1680
1680
  var tmp_3;
1681
- if (endIndex <= (tmp23 + 1 | 0)) {
1681
+ if (endIndex <= (tmp2_1 + 1 | 0)) {
1682
1682
  tmp_3 = true;
1683
1683
  } else {
1684
1684
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1685
1685
  // Inline function 'kotlinx.io.and' call
1686
- tmp_3 = !((_this__u8e3s4[tmp23 + 1 | 0] & 192) === 128);
1686
+ tmp_3 = !((_this__u8e3s4[tmp2_1 + 1 | 0] & 192) === 128);
1687
1687
  }
1688
1688
  if (tmp_3) {
1689
1689
  tmp$ret$41 = 1;
1690
1690
  break $l$block_10;
1691
1691
  } else {
1692
1692
  var tmp_4;
1693
- if (endIndex <= (tmp23 + 2 | 0)) {
1693
+ if (endIndex <= (tmp2_1 + 2 | 0)) {
1694
1694
  tmp_4 = true;
1695
1695
  } else {
1696
1696
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1697
1697
  // Inline function 'kotlinx.io.and' call
1698
- tmp_4 = !((_this__u8e3s4[tmp23 + 2 | 0] & 192) === 128);
1698
+ tmp_4 = !((_this__u8e3s4[tmp2_1 + 2 | 0] & 192) === 128);
1699
1699
  }
1700
1700
  if (tmp_4) {
1701
1701
  tmp$ret$41 = 2;
@@ -1706,8 +1706,8 @@
1706
1706
  }
1707
1707
  }
1708
1708
  }
1709
- var b0_2 = _this__u8e3s4[tmp23];
1710
- var b1_1 = _this__u8e3s4[tmp23 + 1 | 0];
1709
+ var b0_2 = _this__u8e3s4[tmp2_1];
1710
+ var b1_1 = _this__u8e3s4[tmp2_1 + 1 | 0];
1711
1711
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1712
1712
  // Inline function 'kotlinx.io.and' call
1713
1713
  if (!((b1_1 & 192) === 128)) {
@@ -1729,7 +1729,7 @@
1729
1729
  tmp$ret$41 = 1;
1730
1730
  break $l$block_10;
1731
1731
  }
1732
- var b2_0 = _this__u8e3s4[tmp23 + 2 | 0];
1732
+ var b2_0 = _this__u8e3s4[tmp2_1 + 2 | 0];
1733
1733
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1734
1734
  // Inline function 'kotlinx.io.and' call
1735
1735
  if (!((b2_0 & 192) === 128)) {
@@ -1751,7 +1751,7 @@
1751
1751
  tmp$ret$41 = 2;
1752
1752
  break $l$block_10;
1753
1753
  }
1754
- var b3 = _this__u8e3s4[tmp23 + 3 | 0];
1754
+ var b3 = _this__u8e3s4[tmp2_1 + 3 | 0];
1755
1755
  // Inline function 'kotlinx.io.internal.isUtf8Continuation' call
1756
1756
  // Inline function 'kotlinx.io.and' call
1757
1757
  if (!((b3 & 192) === 128)) {