@doordeck/doordeck-headless-sdk 0.56.0 → 0.57.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 (23) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1258 -1258
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +21 -21
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +7 -7
  4. package/kotlin/doordeck-sdk.js +9034 -9034
  5. package/kotlin/kotlin-kotlin-stdlib.js +1117 -904
  6. package/kotlin/kotlinx-atomicfu.js +15 -15
  7. package/kotlin/kotlinx-coroutines-core.js +1672 -1642
  8. package/kotlin/kotlinx-io-kotlinx-io-core.js +431 -431
  9. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1781 -1781
  10. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1387 -1387
  11. package/kotlin/ktor-ktor-client-ktor-client-core.js +2012 -1885
  12. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +241 -241
  13. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +130 -130
  14. package/kotlin/ktor-ktor-http.js +699 -698
  15. package/kotlin/ktor-ktor-io.js +483 -458
  16. package/kotlin/ktor-ktor-shared-ktor-events.js +10 -10
  17. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -7
  18. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +145 -145
  19. package/kotlin/ktor-ktor-shared-ktor-serialization.js +68 -68
  20. package/kotlin/ktor-ktor-shared-ktor-websockets.js +45 -45
  21. package/kotlin/ktor-ktor-utils.js +564 -543
  22. package/package.json +1 -1
  23. package/kotlin/ktor-ktor-client-ktor-client-js.js +0 -6
@@ -4,47 +4,50 @@
4
4
  var Companion_instance = kotlin_kotlin.$_$.b5;
5
5
  var Unit_instance = kotlin_kotlin.$_$.g5;
6
6
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.x2;
7
- var protoOf = kotlin_kotlin.$_$.ib;
7
+ var protoOf = kotlin_kotlin.$_$.jb;
8
8
  var initMetadataForCompanion = kotlin_kotlin.$_$.ja;
9
- var THROW_CCE = kotlin_kotlin.$_$.ue;
9
+ var THROW_CCE = kotlin_kotlin.$_$.we;
10
10
  var initMetadataForObject = kotlin_kotlin.$_$.oa;
11
- var toString = kotlin_kotlin.$_$.vf;
11
+ var toString = kotlin_kotlin.$_$.yf;
12
12
  var hashCode = kotlin_kotlin.$_$.ha;
13
13
  var equals = kotlin_kotlin.$_$.ba;
14
14
  var initMetadataForClass = kotlin_kotlin.$_$.ia;
15
- var createFailure = kotlin_kotlin.$_$.kf;
16
- var Result = kotlin_kotlin.$_$.se;
15
+ var createFailure = kotlin_kotlin.$_$.mf;
16
+ var Result = kotlin_kotlin.$_$.ue;
17
17
  var initMetadataForInterface = kotlin_kotlin.$_$.ma;
18
+ var toString_0 = kotlin_kotlin.$_$.td;
19
+ var newThrowable = kotlin_kotlin.$_$.db;
20
+ var stackTraceToString = kotlin_kotlin.$_$.wf;
18
21
  var VOID = kotlin_kotlin.$_$.h;
19
22
  var isInterface = kotlin_kotlin.$_$.xa;
20
23
  var CoroutineImpl = kotlin_kotlin.$_$.l9;
21
- var numberToLong = kotlin_kotlin.$_$.gb;
22
- var toLong = kotlin_kotlin.$_$.kb;
24
+ var toLong = kotlin_kotlin.$_$.lb;
25
+ var numberToLong = kotlin_kotlin.$_$.hb;
23
26
  var intercepted = kotlin_kotlin.$_$.y8;
24
- var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
25
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.sf;
27
+ var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
28
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.uf;
26
29
  var returnIfSuspended = kotlin_kotlin.$_$.m;
27
30
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
28
- var Long = kotlin_kotlin.$_$.oe;
31
+ var Long = kotlin_kotlin.$_$.qe;
29
32
  var initMetadataForCoroutine = kotlin_kotlin.$_$.ka;
30
33
  var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
31
34
  var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
32
35
  var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
33
- var IllegalStateException = kotlin_kotlin.$_$.ne;
34
- var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.x1;
36
+ var IllegalStateException = kotlin_kotlin.$_$.pe;
37
+ var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.z1;
35
38
  var captureStack = kotlin_kotlin.$_$.t9;
36
39
  var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
37
40
  var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.o4;
38
- var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
39
- var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f1;
40
- var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
41
+ var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
42
+ var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g1;
43
+ var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
41
44
  var Continuation = kotlin_kotlin.$_$.f9;
42
45
  var initMetadataForFunctionReference = kotlin_kotlin.$_$.la;
43
- var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
44
- var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
45
- var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
46
+ var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f1;
47
+ var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
48
+ var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
46
49
  var initMetadataForLambda = kotlin_kotlin.$_$.na;
47
- var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
50
+ var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
48
51
  var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
49
52
  var IOException_init_$Create$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.e;
50
53
  var CancellationException_init_$Create$ = kotlin_kotlin.$_$.f1;
@@ -55,20 +58,20 @@
55
58
  var charSequenceLength = kotlin_kotlin.$_$.x9;
56
59
  var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.i;
57
60
  var readString_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.l;
58
- var encodeToByteArray = kotlin_kotlin.$_$.hc;
59
- var toString_0 = kotlin_kotlin.$_$.mb;
61
+ var encodeToByteArray = kotlin_kotlin.$_$.ic;
62
+ var toString_1 = kotlin_kotlin.$_$.nb;
60
63
  var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.m;
61
64
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.p2;
62
- var replace = kotlin_kotlin.$_$.zc;
65
+ var replace = kotlin_kotlin.$_$.ad;
63
66
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.u1;
64
67
  var getStringHashCode = kotlin_kotlin.$_$.ga;
65
68
  var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
66
69
  var readByteArray_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
67
70
  var charSequenceSubSequence = kotlin_kotlin.$_$.y9;
68
71
  var isCharSequence = kotlin_kotlin.$_$.ta;
69
- var trim = kotlin_kotlin.$_$.zd;
70
- var toByte = kotlin_kotlin.$_$.jb;
71
- var decodeToString = kotlin_kotlin.$_$.fc;
72
+ var trim = kotlin_kotlin.$_$.be;
73
+ var toByte = kotlin_kotlin.$_$.kb;
74
+ var decodeToString = kotlin_kotlin.$_$.gc;
72
75
  var setOf = kotlin_kotlin.$_$.b8;
73
76
  var charSequenceGet = kotlin_kotlin.$_$.w9;
74
77
  var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.v2;
@@ -79,10 +82,10 @@
79
82
  initMetadataForObject(Empty, 'Empty');
80
83
  initMetadataForClass(Closed, 'Closed');
81
84
  function resume() {
82
- return this.e1e().o9(Companion_getInstance().c1e_1);
85
+ return this.k1e().o9(Companion_getInstance().h1e_1);
83
86
  }
84
87
  function resume_0(throwable) {
85
- var tmp = this.e1e();
88
+ var tmp = this.k1e();
86
89
  var tmp_0;
87
90
  if (throwable == null) {
88
91
  tmp_0 = null;
@@ -94,7 +97,7 @@
94
97
  tmp_0 = new Result(tmp$ret$2);
95
98
  }
96
99
  var tmp1_elvis_lhs = tmp_0;
97
- return tmp.o9(tmp1_elvis_lhs == null ? Companion_getInstance().c1e_1 : tmp1_elvis_lhs.fk_1);
100
+ return tmp.o9(tmp1_elvis_lhs == null ? Companion_getInstance().h1e_1 : tmp1_elvis_lhs.kk_1);
98
101
  }
99
102
  initMetadataForInterface(Task, 'Task');
100
103
  initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
@@ -104,7 +107,7 @@
104
107
  initMetadataForCoroutine($flushAndCloseCOROUTINE$2, CoroutineImpl);
105
108
  function awaitContent$default(min, $completion, $super) {
106
109
  min = min === VOID ? 1 : min;
107
- return $super === VOID ? this.m1g(min, $completion) : $super.m1g.call(this, min, $completion);
110
+ return $super === VOID ? this.u1g(min, $completion) : $super.u1g.call(this, min, $completion);
108
111
  }
109
112
  initMetadataForInterface(ByteReadChannel_1, 'ByteReadChannel', VOID, VOID, VOID, [1]);
110
113
  initMetadataForClass(ByteChannel, 'ByteChannel', ByteChannel, VOID, [ByteReadChannel_1], [1, 0]);
@@ -113,11 +116,11 @@
113
116
  initMetadataForCompanion(Companion_0);
114
117
  initMetadataForCoroutine($readRemainingCOROUTINE$3, CoroutineImpl);
115
118
  initMetadataForCoroutine($readPacketCOROUTINE$4, CoroutineImpl);
116
- initMetadataForCoroutine($readAvailableCOROUTINE$7, CoroutineImpl);
117
- initMetadataForCoroutine($toByteArrayCOROUTINE$9, CoroutineImpl);
118
- initMetadataForCoroutine($copyToCOROUTINE$10, CoroutineImpl);
119
- initMetadataForCoroutine($readBufferCOROUTINE$12, CoroutineImpl);
120
- initMetadataForCoroutine($flushIfNeededCOROUTINE$14, CoroutineImpl);
119
+ initMetadataForCoroutine($readAvailableCOROUTINE$8, CoroutineImpl);
120
+ initMetadataForCoroutine($toByteArrayCOROUTINE$10, CoroutineImpl);
121
+ initMetadataForCoroutine($copyToCOROUTINE$11, CoroutineImpl);
122
+ initMetadataForCoroutine($readBufferCOROUTINE$13, CoroutineImpl);
123
+ initMetadataForCoroutine($flushIfNeededCOROUTINE$15, CoroutineImpl);
121
124
  initMetadataForClass(WriterJob, 'WriterJob');
122
125
  initMetadataForClass(WriterScope, 'WriterScope', VOID, VOID, [CoroutineScope]);
123
126
  initMetadataForClass(NO_CALLBACK$1, VOID, VOID, VOID, [Continuation]);
@@ -141,10 +144,10 @@
141
144
  //endregion
142
145
  function Companion() {
143
146
  Companion_instance_0 = this;
144
- this.b1e_1 = new Closed(null);
147
+ this.g1e_1 = new Closed(null);
145
148
  var tmp = this;
146
149
  // Inline function 'kotlin.Companion.success' call
147
- tmp.c1e_1 = _Result___init__impl__xyqfz8(Unit_instance);
150
+ tmp.h1e_1 = _Result___init__impl__xyqfz8(Unit_instance);
148
151
  }
149
152
  var Companion_instance_0;
150
153
  function Companion_getInstance() {
@@ -173,13 +176,13 @@
173
176
  return Empty_instance;
174
177
  }
175
178
  function Closed(cause) {
176
- this.d1e_1 = cause;
179
+ this.i1e_1 = cause;
177
180
  }
178
181
  protoOf(Closed).toString = function () {
179
- return 'Closed(cause=' + toString(this.d1e_1) + ')';
182
+ return 'Closed(cause=' + toString(this.i1e_1) + ')';
180
183
  };
181
184
  protoOf(Closed).hashCode = function () {
182
- return this.d1e_1 == null ? 0 : hashCode(this.d1e_1);
185
+ return this.i1e_1 == null ? 0 : hashCode(this.i1e_1);
183
186
  };
184
187
  protoOf(Closed).equals = function (other) {
185
188
  if (this === other)
@@ -187,59 +190,83 @@
187
190
  if (!(other instanceof Closed))
188
191
  return false;
189
192
  var tmp0_other_with_cast = other instanceof Closed ? other : THROW_CCE();
190
- if (!equals(this.d1e_1, tmp0_other_with_cast.d1e_1))
193
+ if (!equals(this.i1e_1, tmp0_other_with_cast.i1e_1))
191
194
  return false;
192
195
  return true;
193
196
  };
194
197
  function Task() {
195
198
  }
196
199
  function Read(continuation) {
197
- this.i1e_1 = continuation;
200
+ this.o1e_1 = continuation;
201
+ this.p1e_1 = null;
202
+ if (get_DEVELOPMENT_MODE()) {
203
+ var tmp = this;
204
+ // Inline function 'kotlin.also' call
205
+ var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.o1e_1), 16));
206
+ // Inline function 'io.ktor.utils.io.Read.<anonymous>' call
207
+ stackTraceToString(this_0);
208
+ tmp.p1e_1 = this_0;
209
+ }
198
210
  }
199
- protoOf(Read).e1e = function () {
200
- return this.i1e_1;
211
+ protoOf(Read).k1e = function () {
212
+ return this.o1e_1;
213
+ };
214
+ protoOf(Read).j1e = function () {
215
+ return this.p1e_1;
201
216
  };
202
- protoOf(Read).f1e = function () {
217
+ protoOf(Read).l1e = function () {
203
218
  return 'read';
204
219
  };
205
220
  function Write(continuation) {
206
- this.j1e_1 = continuation;
221
+ this.q1e_1 = continuation;
222
+ this.r1e_1 = null;
223
+ if (get_DEVELOPMENT_MODE()) {
224
+ var tmp = this;
225
+ // Inline function 'kotlin.also' call
226
+ var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.q1e_1), 16));
227
+ // Inline function 'io.ktor.utils.io.Write.<anonymous>' call
228
+ stackTraceToString(this_0);
229
+ tmp.r1e_1 = this_0;
230
+ }
207
231
  }
208
- protoOf(Write).e1e = function () {
209
- return this.j1e_1;
232
+ protoOf(Write).k1e = function () {
233
+ return this.q1e_1;
234
+ };
235
+ protoOf(Write).j1e = function () {
236
+ return this.r1e_1;
210
237
  };
211
- protoOf(Write).f1e = function () {
238
+ protoOf(Write).l1e = function () {
212
239
  return 'write';
213
240
  };
214
241
  function moveFlushToReadBuffer($this) {
215
242
  // Inline function 'io.ktor.utils.io.locks.synchronized' call
216
- $this.n1e_1;
243
+ $this.v1e_1;
217
244
  // Inline function 'io.ktor.utils.io.ByteChannel.moveFlushToReadBuffer.<anonymous>' call
218
- $this.l1e_1.f1c($this.p1e_1);
219
- $this.m1e_1 = 0;
245
+ $this.t1e_1.k1c($this.x1e_1);
246
+ $this.u1e_1 = 0;
220
247
  // Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
221
- var current = $this.o1e_1.kotlinx$atomicfu$value;
248
+ var current = $this.w1e_1.kotlinx$atomicfu$value;
222
249
  var tmp;
223
250
  if (current instanceof Write) {
224
- tmp = $this.o1e_1.atomicfu$compareAndSet(current, Empty_instance);
251
+ tmp = $this.w1e_1.atomicfu$compareAndSet(current, Empty_instance);
225
252
  } else {
226
253
  tmp = false;
227
254
  }
228
255
  if (tmp) {
229
- current.g1e();
256
+ current.m1e();
230
257
  }
231
258
  }
232
259
  function closeSlot($this, cause) {
233
- var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().b1e_1;
234
- var continuation = $this.o1e_1.atomicfu$getAndSet(closeContinuation);
260
+ var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().g1e_1;
261
+ var continuation = $this.w1e_1.atomicfu$getAndSet(closeContinuation);
235
262
  if (!isInterface(continuation, Task))
236
263
  return Unit_instance;
237
- continuation.h1e(cause);
264
+ continuation.n1e(cause);
238
265
  }
239
266
  function $awaitContentCOROUTINE$0(_this__u8e3s4, min, resultContinuation) {
240
267
  CoroutineImpl.call(this, resultContinuation);
241
- this.a1f_1 = _this__u8e3s4;
242
- this.b1f_1 = min;
268
+ this.i1f_1 = _this__u8e3s4;
269
+ this.j1f_1 = min;
243
270
  }
244
271
  protoOf($awaitContentCOROUTINE$0).l9 = function () {
245
272
  var suspendResult = this.f9_1;
@@ -249,41 +276,41 @@
249
276
  switch (tmp) {
250
277
  case 0:
251
278
  this.e9_1 = 4;
252
- rethrowCloseCauseIfNeeded_1(this.a1f_1);
253
- if (numberToLong(this.a1f_1.m1e_1).z2(this.a1f_1.p1e_1.s()).e1(toLong(this.b1f_1)) >= 0)
279
+ rethrowCloseCauseIfNeeded_1(this.i1f_1);
280
+ if (this.i1f_1.x1e_1.s().e1(toLong(this.j1f_1)) >= 0)
254
281
  return true;
255
282
  var tmp_0 = this;
256
- tmp_0.c1f_1 = this.a1f_1;
257
- this.d1f_1 = this.c1f_1;
283
+ tmp_0.k1f_1 = this.i1f_1;
284
+ this.l1f_1 = this.k1f_1;
258
285
  this.d9_1 = 1;
259
286
  continue $sm;
260
287
  case 1:
261
- if (!(numberToLong(this.a1f_1.m1e_1).z2(this.a1f_1.p1e_1.s()).e1(toLong(this.b1f_1)) < 0 && this.a1f_1.r1e_1.kotlinx$atomicfu$value == null)) {
288
+ if (!(numberToLong(this.i1f_1.u1e_1).z2(this.i1f_1.x1e_1.s()).e1(toLong(this.j1f_1)) < 0 && this.i1f_1.z1e_1.kotlinx$atomicfu$value == null)) {
262
289
  this.d9_1 = 3;
263
290
  continue $sm;
264
291
  }
265
292
 
266
293
  this.d9_1 = 2;
267
294
  var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
268
- cancellable.yr();
269
- var tmp0 = this.d1f_1;
295
+ cancellable.ds();
296
+ var tmp0 = this.l1f_1;
270
297
  var tmp1 = new Read(cancellable);
271
298
  l$ret$1: do {
272
- var previous = tmp0.o1e_1.kotlinx$atomicfu$value;
299
+ var previous = tmp0.w1e_1.kotlinx$atomicfu$value;
273
300
  if (!(previous instanceof Closed)) {
274
- if (!tmp0.o1e_1.atomicfu$compareAndSet(previous, tmp1)) {
275
- tmp1.g1e();
301
+ if (!tmp0.w1e_1.atomicfu$compareAndSet(previous, tmp1)) {
302
+ tmp1.m1e();
276
303
  break l$ret$1;
277
304
  }
278
305
  }
279
306
  if (previous instanceof Read) {
280
- previous.h1e(new ConcurrentIOException(tmp1.f1e()));
307
+ previous.n1e(new ConcurrentIOException(tmp1.l1e(), previous.j1e()));
281
308
  } else {
282
309
  if (isInterface(previous, Task)) {
283
- previous.g1e();
310
+ previous.m1e();
284
311
  } else {
285
312
  if (previous instanceof Closed) {
286
- tmp1.h1e(previous.d1e_1);
313
+ tmp1.n1e(previous.i1e_1);
287
314
  break l$ret$1;
288
315
  } else {
289
316
  if (!equals(previous, Empty_instance)) {
@@ -292,21 +319,21 @@
292
319
  }
293
320
  }
294
321
  }
295
- if (!(numberToLong(this.a1f_1.m1e_1).z2(this.a1f_1.p1e_1.s()).e1(toLong(this.b1f_1)) < 0 && this.a1f_1.r1e_1.kotlinx$atomicfu$value == null)) {
296
- var current = tmp0.o1e_1.kotlinx$atomicfu$value;
322
+ if (!(numberToLong(this.i1f_1.u1e_1).z2(this.i1f_1.x1e_1.s()).e1(toLong(this.j1f_1)) < 0 && this.i1f_1.z1e_1.kotlinx$atomicfu$value == null)) {
323
+ var current = tmp0.w1e_1.kotlinx$atomicfu$value;
297
324
  var tmp_1;
298
325
  if (current instanceof Read) {
299
- tmp_1 = tmp0.o1e_1.atomicfu$compareAndSet(current, Empty_instance);
326
+ tmp_1 = tmp0.w1e_1.atomicfu$compareAndSet(current, Empty_instance);
300
327
  } else {
301
328
  tmp_1 = false;
302
329
  }
303
330
  if (tmp_1) {
304
- current.g1e();
331
+ current.m1e();
305
332
  }
306
333
  }
307
334
  }
308
335
  while (false);
309
- suspendResult = returnIfSuspended(cancellable.gs(), this);
336
+ suspendResult = returnIfSuspended(cancellable.ls(), this);
310
337
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
311
338
  return suspendResult;
312
339
  }
@@ -316,11 +343,11 @@
316
343
  this.d9_1 = 1;
317
344
  continue $sm;
318
345
  case 3:
319
- if (this.a1f_1.p1e_1.s().e1(new Long(1048576, 0)) < 0) {
320
- moveFlushToReadBuffer(this.a1f_1);
346
+ if (this.i1f_1.x1e_1.s().e1(new Long(1048576, 0)) < 0) {
347
+ moveFlushToReadBuffer(this.i1f_1);
321
348
  }
322
349
 
323
- return this.a1f_1.p1e_1.s().e1(toLong(this.b1f_1)) >= 0;
350
+ return this.i1f_1.x1e_1.s().e1(toLong(this.j1f_1)) >= 0;
324
351
  case 4:
325
352
  throw this.g9_1;
326
353
  }
@@ -337,7 +364,7 @@
337
364
  };
338
365
  function $flushCOROUTINE$1(_this__u8e3s4, resultContinuation) {
339
366
  CoroutineImpl.call(this, resultContinuation);
340
- this.m1f_1 = _this__u8e3s4;
367
+ this.u1f_1 = _this__u8e3s4;
341
368
  }
342
369
  protoOf($flushCOROUTINE$1).l9 = function () {
343
370
  var suspendResult = this.f9_1;
@@ -347,42 +374,42 @@
347
374
  switch (tmp) {
348
375
  case 0:
349
376
  this.e9_1 = 4;
350
- rethrowCloseCauseIfNeeded_1(this.m1f_1);
351
- this.m1f_1.p1f();
352
- if (this.m1f_1.m1e_1 < 1048576)
377
+ rethrowCloseCauseIfNeeded_1(this.u1f_1);
378
+ this.u1f_1.x1f();
379
+ if (this.u1f_1.u1e_1 < 1048576)
353
380
  return Unit_instance;
354
381
  var tmp_0 = this;
355
- tmp_0.n1f_1 = this.m1f_1;
356
- this.o1f_1 = this.n1f_1;
382
+ tmp_0.v1f_1 = this.u1f_1;
383
+ this.w1f_1 = this.v1f_1;
357
384
  this.d9_1 = 1;
358
385
  continue $sm;
359
386
  case 1:
360
- if (!(this.m1f_1.m1e_1 >= 1048576 && this.m1f_1.r1e_1.kotlinx$atomicfu$value == null)) {
387
+ if (!(this.u1f_1.u1e_1 >= 1048576 && this.u1f_1.z1e_1.kotlinx$atomicfu$value == null)) {
361
388
  this.d9_1 = 3;
362
389
  continue $sm;
363
390
  }
364
391
 
365
392
  this.d9_1 = 2;
366
393
  var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
367
- cancellable.yr();
368
- var tmp0 = this.o1f_1;
394
+ cancellable.ds();
395
+ var tmp0 = this.w1f_1;
369
396
  var tmp1 = new Write(cancellable);
370
397
  l$ret$1: do {
371
- var previous = tmp0.o1e_1.kotlinx$atomicfu$value;
398
+ var previous = tmp0.w1e_1.kotlinx$atomicfu$value;
372
399
  if (!(previous instanceof Closed)) {
373
- if (!tmp0.o1e_1.atomicfu$compareAndSet(previous, tmp1)) {
374
- tmp1.g1e();
400
+ if (!tmp0.w1e_1.atomicfu$compareAndSet(previous, tmp1)) {
401
+ tmp1.m1e();
375
402
  break l$ret$1;
376
403
  }
377
404
  }
378
405
  if (previous instanceof Write) {
379
- previous.h1e(new ConcurrentIOException(tmp1.f1e()));
406
+ previous.n1e(new ConcurrentIOException(tmp1.l1e(), previous.j1e()));
380
407
  } else {
381
408
  if (isInterface(previous, Task)) {
382
- previous.g1e();
409
+ previous.m1e();
383
410
  } else {
384
411
  if (previous instanceof Closed) {
385
- tmp1.h1e(previous.d1e_1);
412
+ tmp1.n1e(previous.i1e_1);
386
413
  break l$ret$1;
387
414
  } else {
388
415
  if (!equals(previous, Empty_instance)) {
@@ -391,21 +418,21 @@
391
418
  }
392
419
  }
393
420
  }
394
- if (!(this.m1f_1.m1e_1 >= 1048576 && this.m1f_1.r1e_1.kotlinx$atomicfu$value == null)) {
395
- var current = tmp0.o1e_1.kotlinx$atomicfu$value;
421
+ if (!(this.u1f_1.u1e_1 >= 1048576 && this.u1f_1.z1e_1.kotlinx$atomicfu$value == null)) {
422
+ var current = tmp0.w1e_1.kotlinx$atomicfu$value;
396
423
  var tmp_1;
397
424
  if (current instanceof Write) {
398
- tmp_1 = tmp0.o1e_1.atomicfu$compareAndSet(current, Empty_instance);
425
+ tmp_1 = tmp0.w1e_1.atomicfu$compareAndSet(current, Empty_instance);
399
426
  } else {
400
427
  tmp_1 = false;
401
428
  }
402
429
  if (tmp_1) {
403
- current.g1e();
430
+ current.m1e();
404
431
  }
405
432
  }
406
433
  }
407
434
  while (false);
408
- suspendResult = returnIfSuspended(cancellable.gs(), this);
435
+ suspendResult = returnIfSuspended(cancellable.ls(), this);
409
436
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
410
437
  return suspendResult;
411
438
  }
@@ -432,7 +459,7 @@
432
459
  };
433
460
  function $flushAndCloseCOROUTINE$2(_this__u8e3s4, resultContinuation) {
434
461
  CoroutineImpl.call(this, resultContinuation);
435
- this.y1f_1 = _this__u8e3s4;
462
+ this.g1g_1 = _this__u8e3s4;
436
463
  }
437
464
  protoOf($flushAndCloseCOROUTINE$2).l9 = function () {
438
465
  var suspendResult = this.f9_1;
@@ -443,16 +470,16 @@
443
470
  case 0:
444
471
  this.e9_1 = 4;
445
472
  var tmp_0 = this;
446
- tmp_0.z1f_1 = this.y1f_1;
447
- this.a1g_1 = this.z1f_1;
473
+ tmp_0.h1g_1 = this.g1g_1;
474
+ this.i1g_1 = this.h1g_1;
448
475
  this.e9_1 = 2;
449
476
  var tmp_1 = this;
450
- tmp_1.c1g_1 = Companion_instance;
477
+ tmp_1.k1g_1 = Companion_instance;
451
478
  var tmp_2 = this;
452
- tmp_2.d1g_1 = this.a1g_1;
453
- this.e1g_1 = this.d1g_1;
479
+ tmp_2.l1g_1 = this.i1g_1;
480
+ this.m1g_1 = this.l1g_1;
454
481
  this.d9_1 = 1;
455
- suspendResult = this.e1g_1.f1g(this);
482
+ suspendResult = this.m1g_1.n1g(this);
456
483
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
457
484
  return suspendResult;
458
485
  }
@@ -460,8 +487,8 @@
460
487
  continue $sm;
461
488
  case 1:
462
489
  var tmp_3 = this;
463
- this.c1g_1;
464
- tmp_3.b1g_1 = _Result___init__impl__xyqfz8(Unit_instance);
490
+ this.k1g_1;
491
+ tmp_3.j1g_1 = _Result___init__impl__xyqfz8(Unit_instance);
465
492
  this.e9_1 = 4;
466
493
  this.d9_1 = 3;
467
494
  continue $sm;
@@ -471,7 +498,7 @@
471
498
  if (tmp_4 instanceof Error) {
472
499
  var e = this.g9_1;
473
500
  var tmp_5 = this;
474
- tmp_5.b1g_1 = _Result___init__impl__xyqfz8(createFailure(e));
501
+ tmp_5.j1g_1 = _Result___init__impl__xyqfz8(createFailure(e));
475
502
  this.d9_1 = 3;
476
503
  continue $sm;
477
504
  } else {
@@ -480,9 +507,9 @@
480
507
 
481
508
  case 3:
482
509
  this.e9_1 = 4;
483
- if (!this.y1f_1.r1e_1.atomicfu$compareAndSet(null, get_CLOSED()))
510
+ if (!this.g1g_1.z1e_1.atomicfu$compareAndSet(null, get_CLOSED()))
484
511
  return Unit_instance;
485
- closeSlot(this.y1f_1, null);
512
+ closeSlot(this.g1g_1, null);
486
513
  return Unit_instance;
487
514
  case 4:
488
515
  throw this.g9_1;
@@ -500,103 +527,104 @@
500
527
  };
501
528
  function ByteChannel(autoFlush) {
502
529
  autoFlush = autoFlush === VOID ? false : autoFlush;
503
- this.k1e_1 = autoFlush;
504
- this.l1e_1 = new Buffer();
505
- this.m1e_1 = 0;
506
- this.n1e_1 = new Object();
507
- this.o1e_1 = atomic$ref$1(Empty_instance);
508
- this.p1e_1 = new Buffer();
509
- this.q1e_1 = new Buffer();
510
- this.r1e_1 = atomic$ref$1(null);
511
- }
512
- protoOf(ByteChannel).g1g = function () {
513
- var tmp0_safe_receiver = this.h1g();
530
+ this.s1e_1 = autoFlush;
531
+ this.t1e_1 = new Buffer();
532
+ this.u1e_1 = 0;
533
+ this.v1e_1 = new Object();
534
+ this.w1e_1 = atomic$ref$1(Empty_instance);
535
+ this.x1e_1 = new Buffer();
536
+ this.y1e_1 = new Buffer();
537
+ this.z1e_1 = atomic$ref$1(null);
538
+ }
539
+ protoOf(ByteChannel).o1g = function () {
540
+ var tmp0_safe_receiver = this.p1g();
514
541
  if (tmp0_safe_receiver == null)
515
542
  null;
516
543
  else {
517
544
  // Inline function 'kotlin.let' call
518
545
  throw tmp0_safe_receiver;
519
546
  }
520
- if (this.p1e_1.d1b()) {
547
+ if (this.x1e_1.i1b()) {
521
548
  moveFlushToReadBuffer(this);
522
549
  }
523
- return this.p1e_1;
550
+ return this.x1e_1;
524
551
  };
525
- protoOf(ByteChannel).i1g = function () {
526
- var tmp0_safe_receiver = this.h1g();
552
+ protoOf(ByteChannel).q1g = function () {
553
+ var tmp0_safe_receiver = this.p1g();
527
554
  if (tmp0_safe_receiver == null)
528
555
  null;
529
556
  else {
530
557
  // Inline function 'kotlin.let' call
531
558
  throw tmp0_safe_receiver;
532
559
  }
533
- if (this.j1g()) {
560
+ if (this.r1g()) {
534
561
  throw IOException_init_$Create$('Channel is closed for write');
535
562
  }
536
- return this.q1e_1;
563
+ return this.y1e_1;
537
564
  };
538
- protoOf(ByteChannel).h1g = function () {
539
- var tmp0_safe_receiver = this.r1e_1.kotlinx$atomicfu$value;
565
+ protoOf(ByteChannel).p1g = function () {
566
+ var tmp0_safe_receiver = this.z1e_1.kotlinx$atomicfu$value;
540
567
  return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u9();
541
568
  };
542
- protoOf(ByteChannel).j1g = function () {
543
- return !(this.r1e_1.kotlinx$atomicfu$value == null);
569
+ protoOf(ByteChannel).r1g = function () {
570
+ return !(this.z1e_1.kotlinx$atomicfu$value == null);
544
571
  };
545
- protoOf(ByteChannel).l1g = function () {
546
- return !(this.h1g() == null) || (this.j1g() && this.m1e_1 === 0 && this.p1e_1.d1b());
572
+ protoOf(ByteChannel).t1g = function () {
573
+ return !(this.p1g() == null) || (this.r1g() && this.u1e_1 === 0 && this.x1e_1.i1b());
547
574
  };
548
- protoOf(ByteChannel).m1g = function (min, $completion) {
575
+ protoOf(ByteChannel).u1g = function (min, $completion) {
549
576
  var tmp = new $awaitContentCOROUTINE$0(this, min, $completion);
550
577
  tmp.f9_1 = Unit_instance;
551
578
  tmp.g9_1 = null;
552
579
  return tmp.l9();
553
580
  };
554
- protoOf(ByteChannel).f1g = function ($completion) {
581
+ protoOf(ByteChannel).n1g = function ($completion) {
555
582
  var tmp = new $flushCOROUTINE$1(this, $completion);
556
583
  tmp.f9_1 = Unit_instance;
557
584
  tmp.g9_1 = null;
558
585
  return tmp.l9();
559
586
  };
560
- protoOf(ByteChannel).p1f = function () {
561
- if (this.q1e_1.d1b())
587
+ protoOf(ByteChannel).x1f = function () {
588
+ if (this.y1e_1.i1b())
562
589
  return Unit_instance;
563
590
  // Inline function 'io.ktor.utils.io.locks.synchronized' call
564
- this.n1e_1;
591
+ this.v1e_1;
565
592
  // Inline function 'io.ktor.utils.io.ByteChannel.flushWriteBuffer.<anonymous>' call
566
- var count = this.q1e_1.s().j1();
567
- this.l1e_1.t1c(this.q1e_1);
568
- this.m1e_1 = this.m1e_1 + count | 0;
593
+ var count = this.y1e_1.s().j1();
594
+ this.t1e_1.y1c(this.y1e_1);
595
+ this.u1e_1 = this.u1e_1 + count | 0;
569
596
  // Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
570
- var current = this.o1e_1.kotlinx$atomicfu$value;
597
+ var current = this.w1e_1.kotlinx$atomicfu$value;
571
598
  var tmp;
572
599
  if (current instanceof Read) {
573
- tmp = this.o1e_1.atomicfu$compareAndSet(current, Empty_instance);
600
+ tmp = this.w1e_1.atomicfu$compareAndSet(current, Empty_instance);
574
601
  } else {
575
602
  tmp = false;
576
603
  }
577
604
  if (tmp) {
578
- current.g1e();
605
+ current.m1e();
579
606
  }
580
607
  };
581
- protoOf(ByteChannel).o1g = function ($completion) {
608
+ protoOf(ByteChannel).w1g = function ($completion) {
582
609
  var tmp = new $flushAndCloseCOROUTINE$2(this, $completion);
583
610
  tmp.f9_1 = Unit_instance;
584
611
  tmp.g9_1 = null;
585
612
  return tmp.l9();
586
613
  };
587
- protoOf(ByteChannel).p1g = function (cause) {
588
- if (!(this.r1e_1.kotlinx$atomicfu$value == null))
614
+ protoOf(ByteChannel).x1g = function (cause) {
615
+ if (!(this.z1e_1.kotlinx$atomicfu$value == null))
589
616
  return Unit_instance;
590
617
  var closedToken = new CloseToken(cause);
591
- this.r1e_1.atomicfu$compareAndSet(null, closedToken);
618
+ this.z1e_1.atomicfu$compareAndSet(null, closedToken);
592
619
  var actualCause = closedToken.u9();
593
620
  closeSlot(this, actualCause);
594
621
  };
595
622
  protoOf(ByteChannel).toString = function () {
596
623
  return 'ByteChannel[' + hashCode(this) + ']';
597
624
  };
598
- function ConcurrentIOException(taskName) {
599
- IllegalStateException_init_$Init$('Concurrent ' + taskName + ' attempts', this);
625
+ function ConcurrentIOException(taskName, cause) {
626
+ cause = cause === VOID ? null : cause;
627
+ IllegalStateException_init_$Init$('Concurrent ' + taskName + ' attempts', cause, this);
600
628
  captureStack(this, ConcurrentIOException);
601
629
  }
602
630
  function ByteReadChannel(content, offset, length) {
@@ -605,7 +633,7 @@
605
633
  // Inline function 'kotlin.also' call
606
634
  var this_0 = new Buffer();
607
635
  // Inline function 'io.ktor.utils.io.ByteReadChannel.<anonymous>' call
608
- this_0.l1c(content, offset, offset + length | 0);
636
+ this_0.q1c(content, offset, offset + length | 0);
609
637
  var source = this_0;
610
638
  return ByteReadChannel_0(source);
611
639
  }
@@ -613,27 +641,27 @@
613
641
  return new SourceByteReadChannel(source);
614
642
  }
615
643
  function ByteReadChannel$Companion$Empty$1() {
616
- this.q1g_1 = null;
617
- this.r1g_1 = new Buffer();
644
+ this.y1g_1 = null;
645
+ this.z1g_1 = new Buffer();
618
646
  }
619
- protoOf(ByteReadChannel$Companion$Empty$1).h1g = function () {
620
- return this.q1g_1;
647
+ protoOf(ByteReadChannel$Companion$Empty$1).p1g = function () {
648
+ return this.y1g_1;
621
649
  };
622
- protoOf(ByteReadChannel$Companion$Empty$1).l1g = function () {
650
+ protoOf(ByteReadChannel$Companion$Empty$1).t1g = function () {
623
651
  return true;
624
652
  };
625
- protoOf(ByteReadChannel$Companion$Empty$1).g1g = function () {
626
- return this.r1g_1;
653
+ protoOf(ByteReadChannel$Companion$Empty$1).o1g = function () {
654
+ return this.z1g_1;
627
655
  };
628
- protoOf(ByteReadChannel$Companion$Empty$1).m1g = function (min, $completion) {
656
+ protoOf(ByteReadChannel$Companion$Empty$1).u1g = function (min, $completion) {
629
657
  return false;
630
658
  };
631
- protoOf(ByteReadChannel$Companion$Empty$1).p1g = function (cause) {
659
+ protoOf(ByteReadChannel$Companion$Empty$1).x1g = function (cause) {
632
660
  };
633
661
  function Companion_0() {
634
662
  Companion_instance_1 = this;
635
663
  var tmp = this;
636
- tmp.s1g_1 = new ByteReadChannel$Companion$Empty$1();
664
+ tmp.a1h_1 = new ByteReadChannel$Companion$Empty$1();
637
665
  }
638
666
  var Companion_instance_1;
639
667
  function Companion_getInstance_0() {
@@ -644,7 +672,7 @@
644
672
  function ByteReadChannel_1() {
645
673
  }
646
674
  function cancel_0(_this__u8e3s4) {
647
- _this__u8e3s4.p1g(IOException_init_$Create$('Channel was cancelled'));
675
+ _this__u8e3s4.x1g(IOException_init_$Create$('Channel was cancelled'));
648
676
  }
649
677
  function readRemaining(_this__u8e3s4, $completion) {
650
678
  var tmp = new $readRemainingCOROUTINE$3(_this__u8e3s4, $completion);
@@ -653,7 +681,7 @@
653
681
  return tmp.l9();
654
682
  }
655
683
  function get_availableForRead(_this__u8e3s4) {
656
- return _this__u8e3s4.g1g().c1b().s().j1();
684
+ return _this__u8e3s4.o1g().h1b().s().j1();
657
685
  }
658
686
  function readPacket(_this__u8e3s4, packet, $completion) {
659
687
  var tmp = new $readPacketCOROUTINE$4(_this__u8e3s4, packet, $completion);
@@ -664,25 +692,25 @@
664
692
  function readAvailable(_this__u8e3s4, buffer, offset, length, $completion) {
665
693
  offset = offset === VOID ? 0 : offset;
666
694
  length = length === VOID ? buffer.length - offset | 0 : length;
667
- var tmp = new $readAvailableCOROUTINE$7(_this__u8e3s4, buffer, offset, length, $completion);
695
+ var tmp = new $readAvailableCOROUTINE$8(_this__u8e3s4, buffer, offset, length, $completion);
668
696
  tmp.f9_1 = Unit_instance;
669
697
  tmp.g9_1 = null;
670
698
  return tmp.l9();
671
699
  }
672
700
  function toByteArray(_this__u8e3s4, $completion) {
673
- var tmp = new $toByteArrayCOROUTINE$9(_this__u8e3s4, $completion);
701
+ var tmp = new $toByteArrayCOROUTINE$10(_this__u8e3s4, $completion);
674
702
  tmp.f9_1 = Unit_instance;
675
703
  tmp.g9_1 = null;
676
704
  return tmp.l9();
677
705
  }
678
706
  function copyTo(_this__u8e3s4, channel, limit, $completion) {
679
- var tmp = new $copyToCOROUTINE$10(_this__u8e3s4, channel, limit, $completion);
707
+ var tmp = new $copyToCOROUTINE$11(_this__u8e3s4, channel, limit, $completion);
680
708
  tmp.f9_1 = Unit_instance;
681
709
  tmp.g9_1 = null;
682
710
  return tmp.l9();
683
711
  }
684
712
  function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
685
- var tmp0_safe_receiver = _this__u8e3s4.h1g();
713
+ var tmp0_safe_receiver = _this__u8e3s4.p1g();
686
714
  if (tmp0_safe_receiver == null)
687
715
  null;
688
716
  else {
@@ -691,13 +719,13 @@
691
719
  }
692
720
  }
693
721
  function readBuffer(_this__u8e3s4, $completion) {
694
- var tmp = new $readBufferCOROUTINE$12(_this__u8e3s4, $completion);
722
+ var tmp = new $readBufferCOROUTINE$13(_this__u8e3s4, $completion);
695
723
  tmp.f9_1 = Unit_instance;
696
724
  tmp.g9_1 = null;
697
725
  return tmp.l9();
698
726
  }
699
727
  function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
700
- var tmp0_safe_receiver = _this__u8e3s4.h1g();
728
+ var tmp0_safe_receiver = _this__u8e3s4.p1g();
701
729
  if (tmp0_safe_receiver == null)
702
730
  null;
703
731
  else {
@@ -706,7 +734,7 @@
706
734
  }
707
735
  }
708
736
  function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
709
- var tmp0_safe_receiver = _this__u8e3s4.h1g();
737
+ var tmp0_safe_receiver = _this__u8e3s4.p1g();
710
738
  if (tmp0_safe_receiver == null)
711
739
  null;
712
740
  else {
@@ -716,7 +744,7 @@
716
744
  }
717
745
  function $readRemainingCOROUTINE$3(_this__u8e3s4, resultContinuation) {
718
746
  CoroutineImpl.call(this, resultContinuation);
719
- this.b1h_1 = _this__u8e3s4;
747
+ this.j1h_1 = _this__u8e3s4;
720
748
  }
721
749
  protoOf($readRemainingCOROUTINE$3).l9 = function () {
722
750
  var suspendResult = this.f9_1;
@@ -726,18 +754,18 @@
726
754
  switch (tmp) {
727
755
  case 0:
728
756
  this.e9_1 = 4;
729
- this.c1h_1 = BytePacketBuilder();
757
+ this.k1h_1 = BytePacketBuilder();
730
758
  this.d9_1 = 1;
731
759
  continue $sm;
732
760
  case 1:
733
- if (!!this.b1h_1.l1g()) {
761
+ if (!!this.j1h_1.t1g()) {
734
762
  this.d9_1 = 3;
735
763
  continue $sm;
736
764
  }
737
765
 
738
- this.c1h_1.t1c(this.b1h_1.g1g());
766
+ this.k1h_1.y1c(this.j1h_1.o1g());
739
767
  this.d9_1 = 2;
740
- suspendResult = this.b1h_1.n1g(VOID, this);
768
+ suspendResult = this.j1h_1.v1g(VOID, this);
741
769
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
742
770
  return suspendResult;
743
771
  }
@@ -747,8 +775,8 @@
747
775
  this.d9_1 = 1;
748
776
  continue $sm;
749
777
  case 3:
750
- rethrowCloseCauseIfNeeded(this.b1h_1);
751
- return this.c1h_1.c1b();
778
+ rethrowCloseCauseIfNeeded(this.j1h_1);
779
+ return this.k1h_1.h1b();
752
780
  case 4:
753
781
  throw this.g9_1;
754
782
  }
@@ -765,8 +793,8 @@
765
793
  };
766
794
  function $readPacketCOROUTINE$4(_this__u8e3s4, packet, resultContinuation) {
767
795
  CoroutineImpl.call(this, resultContinuation);
768
- this.l1h_1 = _this__u8e3s4;
769
- this.m1h_1 = packet;
796
+ this.t1h_1 = _this__u8e3s4;
797
+ this.u1h_1 = packet;
770
798
  }
771
799
  protoOf($readPacketCOROUTINE$4).l9 = function () {
772
800
  var suspendResult = this.f9_1;
@@ -776,18 +804,18 @@
776
804
  switch (tmp) {
777
805
  case 0:
778
806
  this.e9_1 = 6;
779
- this.n1h_1 = new Buffer();
807
+ this.v1h_1 = new Buffer();
780
808
  this.d9_1 = 1;
781
809
  continue $sm;
782
810
  case 1:
783
- if (!(this.n1h_1.s().e1(toLong(this.m1h_1)) < 0)) {
811
+ if (!(this.v1h_1.s().e1(toLong(this.u1h_1)) < 0)) {
784
812
  this.d9_1 = 5;
785
813
  continue $sm;
786
814
  }
787
815
 
788
- if (this.l1h_1.g1g().d1b()) {
816
+ if (this.t1h_1.o1g().i1b()) {
789
817
  this.d9_1 = 2;
790
- suspendResult = this.l1h_1.n1g(VOID, this);
818
+ suspendResult = this.t1h_1.v1g(VOID, this);
791
819
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
792
820
  return suspendResult;
793
821
  }
@@ -801,7 +829,7 @@
801
829
  this.d9_1 = 3;
802
830
  continue $sm;
803
831
  case 3:
804
- if (this.l1h_1.l1g()) {
832
+ if (this.t1h_1.t1g()) {
805
833
  this.d9_1 = 5;
806
834
  continue $sm;
807
835
  } else {
@@ -810,20 +838,20 @@
810
838
  }
811
839
 
812
840
  case 4:
813
- if (get_remaining(this.l1h_1.g1g()).e1(numberToLong(this.m1h_1).a3(this.n1h_1.s())) > 0) {
814
- this.l1h_1.g1g().e1c(this.n1h_1, numberToLong(this.m1h_1).a3(this.n1h_1.s()));
841
+ if (get_remaining(this.t1h_1.o1g()).e1(numberToLong(this.u1h_1).a3(this.v1h_1.s())) > 0) {
842
+ this.t1h_1.o1g().j1c(this.v1h_1, numberToLong(this.u1h_1).a3(this.v1h_1.s()));
815
843
  } else {
816
- this.l1h_1.g1g().f1c(this.n1h_1);
844
+ this.t1h_1.o1g().k1c(this.v1h_1);
817
845
  }
818
846
 
819
847
  this.d9_1 = 1;
820
848
  continue $sm;
821
849
  case 5:
822
- if (this.n1h_1.s().e1(toLong(this.m1h_1)) < 0) {
823
- throw EOFException_init_$Create$('Not enough data available, required ' + this.m1h_1 + ' bytes but only ' + this.n1h_1.s().toString() + ' available');
850
+ if (this.v1h_1.s().e1(toLong(this.u1h_1)) < 0) {
851
+ throw EOFException_init_$Create$('Not enough data available, required ' + this.u1h_1 + ' bytes but only ' + this.v1h_1.s().toString() + ' available');
824
852
  }
825
853
 
826
- return this.n1h_1;
854
+ return this.v1h_1;
827
855
  case 6:
828
856
  throw this.g9_1;
829
857
  }
@@ -838,14 +866,14 @@
838
866
  }
839
867
  while (true);
840
868
  };
841
- function $readAvailableCOROUTINE$7(_this__u8e3s4, buffer, offset, length, resultContinuation) {
869
+ function $readAvailableCOROUTINE$8(_this__u8e3s4, buffer, offset, length, resultContinuation) {
842
870
  CoroutineImpl.call(this, resultContinuation);
843
- this.w1h_1 = _this__u8e3s4;
844
- this.x1h_1 = buffer;
845
- this.y1h_1 = offset;
846
- this.z1h_1 = length;
871
+ this.e1i_1 = _this__u8e3s4;
872
+ this.f1i_1 = buffer;
873
+ this.g1i_1 = offset;
874
+ this.h1i_1 = length;
847
875
  }
848
- protoOf($readAvailableCOROUTINE$7).l9 = function () {
876
+ protoOf($readAvailableCOROUTINE$8).l9 = function () {
849
877
  var suspendResult = this.f9_1;
850
878
  $sm: do
851
879
  try {
@@ -853,11 +881,11 @@
853
881
  switch (tmp) {
854
882
  case 0:
855
883
  this.e9_1 = 3;
856
- if (this.w1h_1.l1g())
884
+ if (this.e1i_1.t1g())
857
885
  return -1;
858
- if (this.w1h_1.g1g().d1b()) {
886
+ if (this.e1i_1.o1g().i1b()) {
859
887
  this.d9_1 = 1;
860
- suspendResult = this.w1h_1.n1g(VOID, this);
888
+ suspendResult = this.e1i_1.v1g(VOID, this);
861
889
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
862
890
  return suspendResult;
863
891
  }
@@ -871,9 +899,9 @@
871
899
  this.d9_1 = 2;
872
900
  continue $sm;
873
901
  case 2:
874
- if (this.w1h_1.l1g())
902
+ if (this.e1i_1.t1g())
875
903
  return -1;
876
- return readAvailable_0(this.w1h_1.g1g(), this.x1h_1, this.y1h_1, this.z1h_1);
904
+ return readAvailable_0(this.e1i_1.o1g(), this.f1i_1, this.g1i_1, this.h1i_1);
877
905
  case 3:
878
906
  throw this.g9_1;
879
907
  }
@@ -888,11 +916,11 @@
888
916
  }
889
917
  while (true);
890
918
  };
891
- function $toByteArrayCOROUTINE$9(_this__u8e3s4, resultContinuation) {
919
+ function $toByteArrayCOROUTINE$10(_this__u8e3s4, resultContinuation) {
892
920
  CoroutineImpl.call(this, resultContinuation);
893
- this.i1i_1 = _this__u8e3s4;
921
+ this.q1i_1 = _this__u8e3s4;
894
922
  }
895
- protoOf($toByteArrayCOROUTINE$9).l9 = function () {
923
+ protoOf($toByteArrayCOROUTINE$10).l9 = function () {
896
924
  var suspendResult = this.f9_1;
897
925
  $sm: do
898
926
  try {
@@ -901,7 +929,7 @@
901
929
  case 0:
902
930
  this.e9_1 = 2;
903
931
  this.d9_1 = 1;
904
- suspendResult = readBuffer(this.i1i_1, this);
932
+ suspendResult = readBuffer(this.q1i_1, this);
905
933
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
906
934
  return suspendResult;
907
935
  }
@@ -924,13 +952,13 @@
924
952
  }
925
953
  while (true);
926
954
  };
927
- function $copyToCOROUTINE$10(_this__u8e3s4, channel, limit, resultContinuation) {
955
+ function $copyToCOROUTINE$11(_this__u8e3s4, channel, limit, resultContinuation) {
928
956
  CoroutineImpl.call(this, resultContinuation);
929
- this.r1i_1 = _this__u8e3s4;
930
- this.s1i_1 = channel;
931
- this.t1i_1 = limit;
957
+ this.z1i_1 = _this__u8e3s4;
958
+ this.a1j_1 = channel;
959
+ this.b1j_1 = limit;
932
960
  }
933
- protoOf($copyToCOROUTINE$10).l9 = function () {
961
+ protoOf($copyToCOROUTINE$11).l9 = function () {
934
962
  var suspendResult = this.f9_1;
935
963
  $sm: do
936
964
  try {
@@ -938,7 +966,7 @@
938
966
  switch (tmp) {
939
967
  case 0:
940
968
  this.e9_1 = 12;
941
- this.u1i_1 = this.t1i_1;
969
+ this.c1j_1 = this.b1j_1;
942
970
  this.d9_1 = 1;
943
971
  continue $sm;
944
972
  case 1:
@@ -947,14 +975,14 @@
947
975
  this.d9_1 = 2;
948
976
  continue $sm;
949
977
  case 2:
950
- if (!(!this.r1i_1.l1g() && this.u1i_1.e1(new Long(0, 0)) > 0)) {
978
+ if (!(!this.z1i_1.t1g() && this.c1j_1.e1(new Long(0, 0)) > 0)) {
951
979
  this.d9_1 = 6;
952
980
  continue $sm;
953
981
  }
954
982
 
955
- if (this.r1i_1.g1g().d1b()) {
983
+ if (this.z1i_1.o1g().i1b()) {
956
984
  this.d9_1 = 3;
957
- suspendResult = this.r1i_1.n1g(VOID, this);
985
+ suspendResult = this.z1i_1.v1g(VOID, this);
958
986
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
959
987
  return suspendResult;
960
988
  }
@@ -969,13 +997,13 @@
969
997
  continue $sm;
970
998
  case 4:
971
999
  var tmp_0 = this;
972
- var tmp0 = this.u1i_1;
973
- var b = get_remaining(this.r1i_1.g1g());
974
- tmp_0.w1i_1 = tmp0.e1(b) <= 0 ? tmp0 : b;
975
- this.r1i_1.g1g().e1c(this.s1i_1.i1g(), this.w1i_1);
976
- this.u1i_1 = this.u1i_1.a3(this.w1i_1);
1000
+ var tmp0 = this.c1j_1;
1001
+ var b = get_remaining(this.z1i_1.o1g());
1002
+ tmp_0.e1j_1 = tmp0.e1(b) <= 0 ? tmp0 : b;
1003
+ this.z1i_1.o1g().j1c(this.a1j_1.q1g(), this.e1j_1);
1004
+ this.c1j_1 = this.c1j_1.a3(this.e1j_1);
977
1005
  this.d9_1 = 5;
978
- suspendResult = this.s1i_1.f1g(this);
1006
+ suspendResult = this.a1j_1.n1g(this);
979
1007
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
980
1008
  return suspendResult;
981
1009
  }
@@ -985,7 +1013,7 @@
985
1013
  this.d9_1 = 2;
986
1014
  continue $sm;
987
1015
  case 6:
988
- this.v1i_1 = Unit_instance;
1016
+ this.d1j_1 = Unit_instance;
989
1017
  this.e9_1 = 12;
990
1018
  this.d9_1 = 10;
991
1019
  continue $sm;
@@ -993,38 +1021,38 @@
993
1021
  this.e9_1 = 8;
994
1022
  var tmp_1 = this.g9_1;
995
1023
  if (tmp_1 instanceof Error) {
996
- this.x1i_1 = this.g9_1;
1024
+ this.f1j_1 = this.g9_1;
997
1025
  var tmp_2 = this;
998
- this.r1i_1.p1g(this.x1i_1);
999
- close(this.s1i_1, this.x1i_1);
1000
- throw this.x1i_1;
1026
+ this.z1i_1.x1g(this.f1j_1);
1027
+ close(this.a1j_1, this.f1j_1);
1028
+ throw this.f1j_1;
1001
1029
  } else {
1002
1030
  throw this.g9_1;
1003
1031
  }
1004
1032
 
1005
1033
  case 8:
1006
1034
  this.e9_1 = 12;
1007
- this.y1i_1 = this.g9_1;
1035
+ this.g1j_1 = this.g9_1;
1008
1036
  this.d9_1 = 9;
1009
- suspendResult = this.s1i_1.f1g(this);
1037
+ suspendResult = this.a1j_1.n1g(this);
1010
1038
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1011
1039
  return suspendResult;
1012
1040
  }
1013
1041
 
1014
1042
  continue $sm;
1015
1043
  case 9:
1016
- throw this.y1i_1;
1044
+ throw this.g1j_1;
1017
1045
  case 10:
1018
1046
  this.e9_1 = 12;
1019
1047
  this.d9_1 = 11;
1020
- suspendResult = this.s1i_1.f1g(this);
1048
+ suspendResult = this.a1j_1.n1g(this);
1021
1049
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1022
1050
  return suspendResult;
1023
1051
  }
1024
1052
 
1025
1053
  continue $sm;
1026
1054
  case 11:
1027
- return this.t1i_1.a3(this.u1i_1);
1055
+ return this.b1j_1.a3(this.c1j_1);
1028
1056
  case 12:
1029
1057
  throw this.g9_1;
1030
1058
  }
@@ -1039,11 +1067,11 @@
1039
1067
  }
1040
1068
  while (true);
1041
1069
  };
1042
- function $readBufferCOROUTINE$12(_this__u8e3s4, resultContinuation) {
1070
+ function $readBufferCOROUTINE$13(_this__u8e3s4, resultContinuation) {
1043
1071
  CoroutineImpl.call(this, resultContinuation);
1044
- this.h1j_1 = _this__u8e3s4;
1072
+ this.p1j_1 = _this__u8e3s4;
1045
1073
  }
1046
- protoOf($readBufferCOROUTINE$12).l9 = function () {
1074
+ protoOf($readBufferCOROUTINE$13).l9 = function () {
1047
1075
  var suspendResult = this.f9_1;
1048
1076
  $sm: do
1049
1077
  try {
@@ -1051,18 +1079,18 @@
1051
1079
  switch (tmp) {
1052
1080
  case 0:
1053
1081
  this.e9_1 = 4;
1054
- this.i1j_1 = new Buffer();
1082
+ this.q1j_1 = new Buffer();
1055
1083
  this.d9_1 = 1;
1056
1084
  continue $sm;
1057
1085
  case 1:
1058
- if (!!this.h1j_1.l1g()) {
1086
+ if (!!this.p1j_1.t1g()) {
1059
1087
  this.d9_1 = 3;
1060
1088
  continue $sm;
1061
1089
  }
1062
1090
 
1063
- this.i1j_1.t1c(this.h1j_1.g1g());
1091
+ this.q1j_1.y1c(this.p1j_1.o1g());
1064
1092
  this.d9_1 = 2;
1065
- suspendResult = this.h1j_1.n1g(VOID, this);
1093
+ suspendResult = this.p1j_1.v1g(VOID, this);
1066
1094
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1067
1095
  return suspendResult;
1068
1096
  }
@@ -1072,14 +1100,14 @@
1072
1100
  this.d9_1 = 1;
1073
1101
  continue $sm;
1074
1102
  case 3:
1075
- var tmp0_safe_receiver = this.h1j_1.h1g();
1103
+ var tmp0_safe_receiver = this.p1j_1.p1g();
1076
1104
  if (tmp0_safe_receiver == null)
1077
1105
  null;
1078
1106
  else {
1079
1107
  throw tmp0_safe_receiver;
1080
1108
  }
1081
1109
 
1082
- return this.i1j_1;
1110
+ return this.q1j_1;
1083
1111
  case 4:
1084
1112
  throw this.g9_1;
1085
1113
  }
@@ -1095,16 +1123,16 @@
1095
1123
  while (true);
1096
1124
  };
1097
1125
  function flushIfNeeded(_this__u8e3s4, $completion) {
1098
- var tmp = new $flushIfNeededCOROUTINE$14(_this__u8e3s4, $completion);
1126
+ var tmp = new $flushIfNeededCOROUTINE$15(_this__u8e3s4, $completion);
1099
1127
  tmp.f9_1 = Unit_instance;
1100
1128
  tmp.g9_1 = null;
1101
1129
  return tmp.l9();
1102
1130
  }
1103
- function $flushIfNeededCOROUTINE$14(_this__u8e3s4, resultContinuation) {
1131
+ function $flushIfNeededCOROUTINE$15(_this__u8e3s4, resultContinuation) {
1104
1132
  CoroutineImpl.call(this, resultContinuation);
1105
- this.r1j_1 = _this__u8e3s4;
1133
+ this.z1j_1 = _this__u8e3s4;
1106
1134
  }
1107
- protoOf($flushIfNeededCOROUTINE$14).l9 = function () {
1135
+ protoOf($flushIfNeededCOROUTINE$15).l9 = function () {
1108
1136
  var suspendResult = this.f9_1;
1109
1137
  $sm: do
1110
1138
  try {
@@ -1112,19 +1140,19 @@
1112
1140
  switch (tmp) {
1113
1141
  case 0:
1114
1142
  this.e9_1 = 3;
1115
- rethrowCloseCauseIfNeeded_0(this.r1j_1);
1143
+ rethrowCloseCauseIfNeeded_0(this.z1j_1);
1116
1144
  var tmp_0;
1117
- var tmp_1 = this.r1j_1;
1145
+ var tmp_1 = this.z1j_1;
1118
1146
  var tmp0_safe_receiver = tmp_1 instanceof ByteChannel ? tmp_1 : null;
1119
- if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k1e_1) === true) {
1147
+ if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1e_1) === true) {
1120
1148
  tmp_0 = true;
1121
1149
  } else {
1122
- tmp_0 = get_size(this.r1j_1.i1g()) >= 1048576;
1150
+ tmp_0 = get_size(this.z1j_1.q1g()) >= 1048576;
1123
1151
  }
1124
1152
 
1125
1153
  if (tmp_0) {
1126
1154
  this.d9_1 = 1;
1127
- suspendResult = this.r1j_1.f1g(this);
1155
+ suspendResult = this.z1j_1.n1g(this);
1128
1156
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1129
1157
  return suspendResult;
1130
1158
  }
@@ -1159,11 +1187,11 @@
1159
1187
  }
1160
1188
  var NO_CALLBACK;
1161
1189
  function WriterJob(channel, job) {
1162
- this.s1j_1 = channel;
1163
- this.t1j_1 = job;
1190
+ this.a1k_1 = channel;
1191
+ this.b1k_1 = job;
1164
1192
  }
1165
- protoOf(WriterJob).ht = function () {
1166
- return this.t1j_1;
1193
+ protoOf(WriterJob).mt = function () {
1194
+ return this.b1k_1;
1167
1195
  };
1168
1196
  function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
1169
1197
  coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
@@ -1172,38 +1200,38 @@
1172
1200
  return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
1173
1201
  }
1174
1202
  function WriterScope(channel, coroutineContext) {
1175
- this.u1j_1 = channel;
1176
- this.v1j_1 = coroutineContext;
1203
+ this.c1k_1 = channel;
1204
+ this.d1k_1 = coroutineContext;
1177
1205
  }
1178
- protoOf(WriterScope).in = function () {
1179
- return this.v1j_1;
1206
+ protoOf(WriterScope).nn = function () {
1207
+ return this.d1k_1;
1180
1208
  };
1181
1209
  function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
1182
1210
  startIndex = startIndex === VOID ? 0 : startIndex;
1183
1211
  endIndex = endIndex === VOID ? value.length : endIndex;
1184
- _this__u8e3s4.i1g().l1c(value, startIndex, endIndex);
1212
+ _this__u8e3s4.q1g().q1c(value, startIndex, endIndex);
1185
1213
  return flushIfNeeded(_this__u8e3s4, $completion);
1186
1214
  }
1187
1215
  function writePacket(_this__u8e3s4, copy, $completion) {
1188
- _this__u8e3s4.i1g().t1c(copy);
1216
+ _this__u8e3s4.q1g().y1c(copy);
1189
1217
  return flushIfNeeded(_this__u8e3s4, $completion);
1190
1218
  }
1191
1219
  function get_isCompleted(_this__u8e3s4) {
1192
1220
  _init_properties_ByteWriteChannelOperations_kt__i7slrs();
1193
- return _this__u8e3s4.ht().do();
1221
+ return _this__u8e3s4.mt().io();
1194
1222
  }
1195
1223
  function close(_this__u8e3s4, cause) {
1196
1224
  _init_properties_ByteWriteChannelOperations_kt__i7slrs();
1197
1225
  if (cause == null) {
1198
1226
  fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
1199
1227
  } else {
1200
- _this__u8e3s4.p1g(cause);
1228
+ _this__u8e3s4.x1g(cause);
1201
1229
  }
1202
1230
  }
1203
1231
  function invokeOnCompletion(_this__u8e3s4, block) {
1204
1232
  _init_properties_ByteWriteChannelOperations_kt__i7slrs();
1205
- var tmp = _this__u8e3s4.ht();
1206
- tmp.ko(invokeOnCompletion$lambda(block));
1233
+ var tmp = _this__u8e3s4.mt();
1234
+ tmp.po(invokeOnCompletion$lambda(block));
1207
1235
  }
1208
1236
  function writer_0(_this__u8e3s4, coroutineContext, channel, block) {
1209
1237
  coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
@@ -1211,7 +1239,7 @@
1211
1239
  // Inline function 'kotlin.apply' call
1212
1240
  var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel, null));
1213
1241
  // Inline function 'io.ktor.utils.io.writer.<anonymous>' call
1214
- this_0.ko(writer$lambda(channel));
1242
+ this_0.po(writer$lambda(channel));
1215
1243
  var job = this_0;
1216
1244
  return new WriterJob(channel, job);
1217
1245
  }
@@ -1220,10 +1248,10 @@
1220
1248
  startCoroutineCancellable(_this__u8e3s4, get_NO_CALLBACK());
1221
1249
  }
1222
1250
  function NO_CALLBACK$1() {
1223
- this.w1j_1 = EmptyCoroutineContext_getInstance();
1251
+ this.e1k_1 = EmptyCoroutineContext_getInstance();
1224
1252
  }
1225
1253
  protoOf(NO_CALLBACK$1).j9 = function () {
1226
- return this.w1j_1;
1254
+ return this.e1k_1;
1227
1255
  };
1228
1256
  protoOf(NO_CALLBACK$1).k9 = function (result) {
1229
1257
  return Unit_instance;
@@ -1232,18 +1260,18 @@
1232
1260
  return this.k9(result);
1233
1261
  };
1234
1262
  function ByteWriteChannel$flushAndClose$ref($boundThis) {
1235
- this.x1j_1 = $boundThis;
1263
+ this.f1k_1 = $boundThis;
1236
1264
  }
1237
- protoOf(ByteWriteChannel$flushAndClose$ref).y1j = function ($completion) {
1238
- return this.x1j_1.o1g($completion);
1265
+ protoOf(ByteWriteChannel$flushAndClose$ref).g1k = function ($completion) {
1266
+ return this.f1k_1.w1g($completion);
1239
1267
  };
1240
1268
  protoOf(ByteWriteChannel$flushAndClose$ref).ab = function ($completion) {
1241
- return this.y1j($completion);
1269
+ return this.g1k($completion);
1242
1270
  };
1243
1271
  function ByteWriteChannel$flushAndClose$ref_0($boundThis) {
1244
1272
  var i = new ByteWriteChannel$flushAndClose$ref($boundThis);
1245
1273
  var l = function ($completion) {
1246
- return i.y1j($completion);
1274
+ return i.g1k($completion);
1247
1275
  };
1248
1276
  l.callableName = 'flushAndClose';
1249
1277
  l.$arity = 0;
@@ -1256,18 +1284,18 @@
1256
1284
  };
1257
1285
  }
1258
1286
  function writer$slambda($block, $channel, resultContinuation) {
1259
- this.h1k_1 = $block;
1260
- this.i1k_1 = $channel;
1287
+ this.p1k_1 = $block;
1288
+ this.q1k_1 = $channel;
1261
1289
  CoroutineImpl.call(this, resultContinuation);
1262
1290
  }
1263
- protoOf(writer$slambda).c1l = function ($this$launch, $completion) {
1264
- var tmp = this.d1l($this$launch, $completion);
1291
+ protoOf(writer$slambda).k1l = function ($this$launch, $completion) {
1292
+ var tmp = this.l1l($this$launch, $completion);
1265
1293
  tmp.f9_1 = Unit_instance;
1266
1294
  tmp.g9_1 = null;
1267
1295
  return tmp.l9();
1268
1296
  };
1269
1297
  protoOf(writer$slambda).v9 = function (p1, $completion) {
1270
- return this.c1l((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1298
+ return this.k1l((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1271
1299
  };
1272
1300
  protoOf(writer$slambda).l9 = function () {
1273
1301
  var suspendResult = this.f9_1;
@@ -1277,29 +1305,29 @@
1277
1305
  switch (tmp) {
1278
1306
  case 0:
1279
1307
  this.e9_1 = 14;
1280
- this.k1k_1 = Job(get_job(this.j1k_1.in()));
1308
+ this.s1k_1 = Job(get_job(this.r1k_1.nn()));
1281
1309
  this.d9_1 = 1;
1282
1310
  continue $sm;
1283
1311
  case 1:
1284
1312
  this.e9_1 = 4;
1285
1313
  this.e9_1 = 3;
1286
1314
  this.d9_1 = 2;
1287
- suspendResult = this.h1k_1(new WriterScope(this.i1k_1, this.j1k_1.in().sg(this.k1k_1)), this);
1315
+ suspendResult = this.p1k_1(new WriterScope(this.q1k_1, this.r1k_1.nn().xg(this.s1k_1)), this);
1288
1316
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1289
1317
  return suspendResult;
1290
1318
  }
1291
1319
 
1292
1320
  continue $sm;
1293
1321
  case 2:
1294
- this.k1k_1.du();
1322
+ this.s1k_1.iu();
1295
1323
  var tmp_0 = this;
1296
1324
  var tmp_1;
1297
- if (get_job(this.j1k_1.in()).eo()) {
1298
- this.i1k_1.p1g(get_job(this.j1k_1.in()).ho());
1325
+ if (get_job(this.r1k_1.nn()).jo()) {
1326
+ this.q1k_1.x1g(get_job(this.r1k_1.nn()).mo());
1299
1327
  tmp_1 = Unit_instance;
1300
1328
  }
1301
1329
 
1302
- tmp_0.l1k_1 = tmp_1;
1330
+ tmp_0.t1k_1 = tmp_1;
1303
1331
  this.e9_1 = 14;
1304
1332
  this.d9_1 = 9;
1305
1333
  continue $sm;
@@ -1307,11 +1335,11 @@
1307
1335
  this.e9_1 = 4;
1308
1336
  var tmp_2 = this.g9_1;
1309
1337
  if (tmp_2 instanceof Error) {
1310
- this.m1k_1 = this.g9_1;
1338
+ this.u1k_1 = this.g9_1;
1311
1339
  var tmp_3 = this;
1312
- cancel(this.k1k_1, 'Exception thrown while writing to channel', this.m1k_1);
1313
- this.i1k_1.p1g(this.m1k_1);
1314
- tmp_3.l1k_1 = Unit_instance;
1340
+ cancel(this.s1k_1, 'Exception thrown while writing to channel', this.u1k_1);
1341
+ this.q1k_1.x1g(this.u1k_1);
1342
+ tmp_3.t1k_1 = Unit_instance;
1315
1343
  this.e9_1 = 14;
1316
1344
  this.d9_1 = 9;
1317
1345
  continue $sm;
@@ -1321,9 +1349,9 @@
1321
1349
 
1322
1350
  case 4:
1323
1351
  this.e9_1 = 14;
1324
- this.n1k_1 = this.g9_1;
1352
+ this.v1k_1 = this.g9_1;
1325
1353
  this.d9_1 = 5;
1326
- suspendResult = this.k1k_1.eu(this);
1354
+ suspendResult = this.s1k_1.ju(this);
1327
1355
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1328
1356
  return suspendResult;
1329
1357
  }
@@ -1331,16 +1359,16 @@
1331
1359
  continue $sm;
1332
1360
  case 5:
1333
1361
  var tmp_4 = this;
1334
- tmp_4.o1k_1 = this.j1k_1;
1335
- this.p1k_1 = this.o1k_1;
1362
+ tmp_4.w1k_1 = this.r1k_1;
1363
+ this.x1k_1 = this.w1k_1;
1336
1364
  this.e9_1 = 7;
1337
1365
  var tmp_5 = this;
1338
- tmp_5.r1k_1 = Companion_instance;
1366
+ tmp_5.z1k_1 = Companion_instance;
1339
1367
  var tmp_6 = this;
1340
- tmp_6.s1k_1 = this.p1k_1;
1341
- this.t1k_1 = this.s1k_1;
1368
+ tmp_6.a1l_1 = this.x1k_1;
1369
+ this.b1l_1 = this.a1l_1;
1342
1370
  this.d9_1 = 6;
1343
- suspendResult = this.i1k_1.o1g(this);
1371
+ suspendResult = this.q1k_1.w1g(this);
1344
1372
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1345
1373
  return suspendResult;
1346
1374
  }
@@ -1348,11 +1376,11 @@
1348
1376
  continue $sm;
1349
1377
  case 6:
1350
1378
  var tmp_7 = this;
1351
- tmp_7.u1k_1 = Unit_instance;
1379
+ tmp_7.c1l_1 = Unit_instance;
1352
1380
  var tmp_8 = this;
1353
- this.r1k_1;
1354
- var value = this.u1k_1;
1355
- tmp_8.q1k_1 = _Result___init__impl__xyqfz8(value);
1381
+ this.z1k_1;
1382
+ var value = this.c1l_1;
1383
+ tmp_8.y1k_1 = _Result___init__impl__xyqfz8(value);
1356
1384
  this.e9_1 = 14;
1357
1385
  this.d9_1 = 8;
1358
1386
  continue $sm;
@@ -1360,10 +1388,10 @@
1360
1388
  this.e9_1 = 14;
1361
1389
  var tmp_9 = this.g9_1;
1362
1390
  if (tmp_9 instanceof Error) {
1363
- this.v1k_1 = this.g9_1;
1391
+ this.d1l_1 = this.g9_1;
1364
1392
  var tmp_10 = this;
1365
- var exception = this.v1k_1;
1366
- tmp_10.q1k_1 = _Result___init__impl__xyqfz8(createFailure(exception));
1393
+ var exception = this.d1l_1;
1394
+ tmp_10.y1k_1 = _Result___init__impl__xyqfz8(createFailure(exception));
1367
1395
  this.d9_1 = 8;
1368
1396
  continue $sm;
1369
1397
  } else {
@@ -1372,11 +1400,11 @@
1372
1400
 
1373
1401
  case 8:
1374
1402
  this.e9_1 = 14;
1375
- throw this.n1k_1;
1403
+ throw this.v1k_1;
1376
1404
  case 9:
1377
1405
  this.e9_1 = 14;
1378
1406
  this.d9_1 = 10;
1379
- suspendResult = this.k1k_1.eu(this);
1407
+ suspendResult = this.s1k_1.ju(this);
1380
1408
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1381
1409
  return suspendResult;
1382
1410
  }
@@ -1384,16 +1412,16 @@
1384
1412
  continue $sm;
1385
1413
  case 10:
1386
1414
  var tmp_11 = this;
1387
- tmp_11.w1k_1 = this.j1k_1;
1388
- this.x1k_1 = this.w1k_1;
1415
+ tmp_11.e1l_1 = this.r1k_1;
1416
+ this.f1l_1 = this.e1l_1;
1389
1417
  this.e9_1 = 12;
1390
1418
  var tmp_12 = this;
1391
- tmp_12.z1k_1 = Companion_instance;
1419
+ tmp_12.h1l_1 = Companion_instance;
1392
1420
  var tmp_13 = this;
1393
- tmp_13.a1l_1 = this.x1k_1;
1394
- this.b1l_1 = this.a1l_1;
1421
+ tmp_13.i1l_1 = this.f1l_1;
1422
+ this.j1l_1 = this.i1l_1;
1395
1423
  this.d9_1 = 11;
1396
- suspendResult = this.i1k_1.o1g(this);
1424
+ suspendResult = this.q1k_1.w1g(this);
1397
1425
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1398
1426
  return suspendResult;
1399
1427
  }
@@ -1401,8 +1429,8 @@
1401
1429
  continue $sm;
1402
1430
  case 11:
1403
1431
  var tmp_14 = this;
1404
- this.z1k_1;
1405
- tmp_14.y1k_1 = _Result___init__impl__xyqfz8(Unit_instance);
1432
+ this.h1l_1;
1433
+ tmp_14.g1l_1 = _Result___init__impl__xyqfz8(Unit_instance);
1406
1434
  this.e9_1 = 14;
1407
1435
  this.d9_1 = 13;
1408
1436
  continue $sm;
@@ -1412,7 +1440,7 @@
1412
1440
  if (tmp_15 instanceof Error) {
1413
1441
  var e = this.g9_1;
1414
1442
  var tmp_16 = this;
1415
- tmp_16.y1k_1 = _Result___init__impl__xyqfz8(createFailure(e));
1443
+ tmp_16.g1l_1 = _Result___init__impl__xyqfz8(createFailure(e));
1416
1444
  this.d9_1 = 13;
1417
1445
  continue $sm;
1418
1446
  } else {
@@ -1436,15 +1464,15 @@
1436
1464
  }
1437
1465
  while (true);
1438
1466
  };
1439
- protoOf(writer$slambda).d1l = function ($this$launch, completion) {
1440
- var i = new writer$slambda(this.h1k_1, this.i1k_1, completion);
1441
- i.j1k_1 = $this$launch;
1467
+ protoOf(writer$slambda).l1l = function ($this$launch, completion) {
1468
+ var i = new writer$slambda(this.p1k_1, this.q1k_1, completion);
1469
+ i.r1k_1 = $this$launch;
1442
1470
  return i;
1443
1471
  };
1444
1472
  function writer$slambda_0($block, $channel, resultContinuation) {
1445
1473
  var i = new writer$slambda($block, $channel, resultContinuation);
1446
1474
  var l = function ($this$launch, $completion) {
1447
- return i.c1l($this$launch, $completion);
1475
+ return i.k1l($this$launch, $completion);
1448
1476
  };
1449
1477
  l.$arity = 1;
1450
1478
  return l;
@@ -1452,8 +1480,8 @@
1452
1480
  function writer$lambda($channel) {
1453
1481
  return function (it) {
1454
1482
  var tmp;
1455
- if (!(it == null) && !$channel.j1g()) {
1456
- $channel.p1g(it);
1483
+ if (!(it == null) && !$channel.r1g()) {
1484
+ $channel.x1g(it);
1457
1485
  tmp = Unit_instance;
1458
1486
  }
1459
1487
  return Unit_instance;
@@ -1480,7 +1508,7 @@
1480
1508
  if (origin instanceof CancellationException) {
1481
1509
  var tmp_1;
1482
1510
  if (isInterface(origin, CopyableThrowable)) {
1483
- tmp_1 = origin.mu();
1511
+ tmp_1 = origin.ru();
1484
1512
  } else {
1485
1513
  var tmp0_elvis_lhs = origin.message;
1486
1514
  tmp_1 = CancellationException_init_$Create$(tmp0_elvis_lhs == null ? 'Channel was cancelled' : tmp0_elvis_lhs, origin);
@@ -1494,37 +1522,37 @@
1494
1522
  tmp_2 = false;
1495
1523
  }
1496
1524
  if (tmp_2) {
1497
- tmp_0 = origin.mu();
1525
+ tmp_0 = origin.ru();
1498
1526
  } else {
1499
1527
  var tmp1_elvis_lhs = origin.message;
1500
1528
  tmp_0 = IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was closed' : tmp1_elvis_lhs, origin);
1501
1529
  }
1502
1530
  }
1503
1531
  }
1504
- tmp.k1g_1 = tmp_0;
1532
+ tmp.s1g_1 = tmp_0;
1505
1533
  }
1506
1534
  protoOf(CloseToken).u9 = function () {
1507
1535
  var tmp;
1508
- if (this.k1g_1 == null) {
1536
+ if (this.s1g_1 == null) {
1509
1537
  tmp = null;
1510
1538
  } else {
1511
- var tmp_0 = this.k1g_1;
1539
+ var tmp_0 = this.s1g_1;
1512
1540
  if (tmp_0 instanceof IOException) {
1513
1541
  var tmp_1;
1514
- var tmp_2 = this.k1g_1;
1542
+ var tmp_2 = this.s1g_1;
1515
1543
  if (isInterface(tmp_2, CopyableThrowable)) {
1516
- tmp_1 = this.k1g_1.mu();
1544
+ tmp_1 = this.s1g_1.ru();
1517
1545
  } else {
1518
- tmp_1 = IOException_init_$Create$_0(this.k1g_1.message, this.k1g_1);
1546
+ tmp_1 = IOException_init_$Create$_0(this.s1g_1.message, this.s1g_1);
1519
1547
  }
1520
1548
  tmp = tmp_1;
1521
1549
  } else {
1522
- var tmp_3 = this.k1g_1;
1550
+ var tmp_3 = this.s1g_1;
1523
1551
  if (!(tmp_3 == null) ? isInterface(tmp_3, CopyableThrowable) : false) {
1524
- var tmp0_elvis_lhs = this.k1g_1.mu();
1525
- tmp = tmp0_elvis_lhs == null ? CancellationException_init_$Create$(this.k1g_1.message, this.k1g_1) : tmp0_elvis_lhs;
1552
+ var tmp0_elvis_lhs = this.s1g_1.ru();
1553
+ tmp = tmp0_elvis_lhs == null ? CancellationException_init_$Create$(this.s1g_1.message, this.s1g_1) : tmp0_elvis_lhs;
1526
1554
  } else {
1527
- tmp = CancellationException_init_$Create$(this.k1g_1.message, this.k1g_1);
1555
+ tmp = CancellationException_init_$Create$(this.s1g_1.message, this.s1g_1);
1528
1556
  }
1529
1557
  }
1530
1558
  }
@@ -1541,49 +1569,49 @@
1541
1569
  return readString(_this__u8e3s4);
1542
1570
  }
1543
1571
  function SourceByteReadChannel(source) {
1544
- this.e1l_1 = source;
1545
- this.f1l_1 = null;
1572
+ this.m1l_1 = source;
1573
+ this.n1l_1 = null;
1546
1574
  }
1547
- protoOf(SourceByteReadChannel).h1g = function () {
1548
- var tmp0_safe_receiver = this.f1l_1;
1575
+ protoOf(SourceByteReadChannel).p1g = function () {
1576
+ var tmp0_safe_receiver = this.n1l_1;
1549
1577
  return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u9();
1550
1578
  };
1551
- protoOf(SourceByteReadChannel).l1g = function () {
1552
- return this.e1l_1.d1b();
1579
+ protoOf(SourceByteReadChannel).t1g = function () {
1580
+ return this.m1l_1.i1b();
1553
1581
  };
1554
- protoOf(SourceByteReadChannel).g1g = function () {
1555
- var tmp0_safe_receiver = this.h1g();
1582
+ protoOf(SourceByteReadChannel).o1g = function () {
1583
+ var tmp0_safe_receiver = this.p1g();
1556
1584
  if (tmp0_safe_receiver == null)
1557
1585
  null;
1558
1586
  else {
1559
1587
  // Inline function 'kotlin.let' call
1560
1588
  throw tmp0_safe_receiver;
1561
1589
  }
1562
- return this.e1l_1;
1590
+ return this.m1l_1;
1563
1591
  };
1564
- protoOf(SourceByteReadChannel).m1g = function (min, $completion) {
1565
- var tmp0_safe_receiver = this.h1g();
1592
+ protoOf(SourceByteReadChannel).u1g = function (min, $completion) {
1593
+ var tmp0_safe_receiver = this.p1g();
1566
1594
  if (tmp0_safe_receiver == null)
1567
1595
  null;
1568
1596
  else {
1569
1597
  // Inline function 'kotlin.let' call
1570
1598
  throw tmp0_safe_receiver;
1571
1599
  }
1572
- return get_remaining(this.e1l_1).e1(toLong(min)) >= 0;
1600
+ return get_remaining(this.m1l_1).e1(toLong(min)) >= 0;
1573
1601
  };
1574
- protoOf(SourceByteReadChannel).p1g = function (cause) {
1575
- if (!(this.f1l_1 == null))
1602
+ protoOf(SourceByteReadChannel).x1g = function (cause) {
1603
+ if (!(this.n1l_1 == null))
1576
1604
  return Unit_instance;
1577
- this.e1l_1.y1c();
1605
+ this.m1l_1.d1d();
1578
1606
  var tmp = this;
1579
1607
  var tmp1_elvis_lhs = cause == null ? null : cause.message;
1580
- tmp.f1l_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
1608
+ tmp.n1l_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
1581
1609
  };
1582
1610
  function decode(_this__u8e3s4, input, max) {
1583
1611
  max = max === VOID ? 2147483647 : max;
1584
1612
  var tmp0 = toLong(max);
1585
1613
  // Inline function 'kotlin.comparisons.minOf' call
1586
- var b = input.c1b().s();
1614
+ var b = input.h1b().s();
1587
1615
  // Inline function 'kotlin.text.buildString' call
1588
1616
  var capacity = (tmp0.e1(b) <= 0 ? tmp0 : b).j1();
1589
1617
  // Inline function 'kotlin.apply' call
@@ -1617,7 +1645,7 @@
1617
1645
  return builder;
1618
1646
  }
1619
1647
  function canRead(_this__u8e3s4) {
1620
- return !_this__u8e3s4.d1b();
1648
+ return !_this__u8e3s4.i1b();
1621
1649
  }
1622
1650
  function readBytes(_this__u8e3s4, count) {
1623
1651
  count = count === VOID ? _this__u8e3s4.s().j1() : count;
@@ -1627,37 +1655,37 @@
1627
1655
  return new Buffer();
1628
1656
  }
1629
1657
  function writePacket_0(_this__u8e3s4, packet) {
1630
- _this__u8e3s4.t1c(packet);
1658
+ _this__u8e3s4.y1c(packet);
1631
1659
  }
1632
1660
  function build(_this__u8e3s4) {
1633
- return _this__u8e3s4.c1b();
1661
+ return _this__u8e3s4.h1b();
1634
1662
  }
1635
1663
  function get_size(_this__u8e3s4) {
1636
- return _this__u8e3s4.c1b().s().j1();
1664
+ return _this__u8e3s4.h1b().s().j1();
1637
1665
  }
1638
1666
  function writeFully_0(_this__u8e3s4, buffer, offset, length) {
1639
1667
  offset = offset === VOID ? 0 : offset;
1640
1668
  length = length === VOID ? buffer.length - offset | 0 : length;
1641
- _this__u8e3s4.l1c(buffer, offset, offset + length | 0);
1669
+ _this__u8e3s4.q1c(buffer, offset, offset + length | 0);
1642
1670
  }
1643
1671
  var ByteReadPacketEmpty;
1644
1672
  function get_remaining(_this__u8e3s4) {
1645
1673
  _init_properties_ByteReadPacket_kt__28475y();
1646
- return _this__u8e3s4.c1b().s();
1674
+ return _this__u8e3s4.h1b().s();
1647
1675
  }
1648
1676
  function discard(_this__u8e3s4, count) {
1649
1677
  count = count === VOID ? new Long(-1, 2147483647) : count;
1650
1678
  _init_properties_ByteReadPacket_kt__28475y();
1651
- _this__u8e3s4.f1b(count);
1679
+ _this__u8e3s4.k1b(count);
1652
1680
  // Inline function 'kotlin.comparisons.minOf' call
1653
1681
  var b = get_remaining(_this__u8e3s4);
1654
1682
  var countToDiscard = count.e1(b) <= 0 ? count : b;
1655
- _this__u8e3s4.c1b().z1b(countToDiscard);
1683
+ _this__u8e3s4.h1b().e1c(countToDiscard);
1656
1684
  return countToDiscard;
1657
1685
  }
1658
1686
  function takeWhile(_this__u8e3s4, block) {
1659
1687
  _init_properties_ByteReadPacket_kt__28475y();
1660
- while (!_this__u8e3s4.d1b() && block(_this__u8e3s4.c1b())) {
1688
+ while (!_this__u8e3s4.i1b() && block(_this__u8e3s4.h1b())) {
1661
1689
  }
1662
1690
  }
1663
1691
  var properties_initialized_ByteReadPacket_kt_hw4st4;
@@ -1670,37 +1698,37 @@
1670
1698
  function readAvailable_0(_this__u8e3s4, buffer, offset, length) {
1671
1699
  offset = offset === VOID ? 0 : offset;
1672
1700
  length = length === VOID ? buffer.length - offset | 0 : length;
1673
- var result = _this__u8e3s4.a1c(buffer, offset, offset + length | 0);
1701
+ var result = _this__u8e3s4.f1c(buffer, offset, offset + length | 0);
1674
1702
  return result === -1 ? 0 : result;
1675
1703
  }
1676
1704
  function readText_0(_this__u8e3s4, charset, max) {
1677
- charset = charset === VOID ? Charsets_getInstance().g1l_1 : charset;
1705
+ charset = charset === VOID ? Charsets_getInstance().o1l_1 : charset;
1678
1706
  max = max === VOID ? 2147483647 : max;
1679
- if (charset.equals(Charsets_getInstance().g1l_1)) {
1707
+ if (charset.equals(Charsets_getInstance().o1l_1)) {
1680
1708
  if (max === 2147483647)
1681
1709
  return readString(_this__u8e3s4);
1682
- var tmp0 = _this__u8e3s4.c1b().s();
1710
+ var tmp0 = _this__u8e3s4.h1b().s();
1683
1711
  // Inline function 'kotlin.math.min' call
1684
1712
  var b = toLong(max);
1685
1713
  var count = tmp0.e1(b) <= 0 ? tmp0 : b;
1686
1714
  return readString_0(_this__u8e3s4, count);
1687
1715
  }
1688
- return decode(charset.j1l(), _this__u8e3s4, max);
1716
+ return decode(charset.r1l(), _this__u8e3s4, max);
1689
1717
  }
1690
1718
  function toByteArray_0(_this__u8e3s4, charset) {
1691
- charset = charset === VOID ? Charsets_getInstance().g1l_1 : charset;
1692
- if (charset.equals(Charsets_getInstance().g1l_1))
1719
+ charset = charset === VOID ? Charsets_getInstance().o1l_1 : charset;
1720
+ if (charset.equals(Charsets_getInstance().o1l_1))
1693
1721
  return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
1694
- return encodeToByteArray_0(charset.k1l(), _this__u8e3s4, 0, _this__u8e3s4.length);
1722
+ return encodeToByteArray_0(charset.s1l(), _this__u8e3s4, 0, _this__u8e3s4.length);
1695
1723
  }
1696
1724
  function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
1697
1725
  fromIndex = fromIndex === VOID ? 0 : fromIndex;
1698
1726
  toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
1699
- charset = charset === VOID ? Charsets_getInstance().g1l_1 : charset;
1700
- if (charset === Charsets_getInstance().g1l_1) {
1701
- return writeString(_this__u8e3s4, toString_0(text), fromIndex, toIndex);
1727
+ charset = charset === VOID ? Charsets_getInstance().o1l_1 : charset;
1728
+ if (charset === Charsets_getInstance().o1l_1) {
1729
+ return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
1702
1730
  }
1703
- encodeToImpl(charset.k1l(), _this__u8e3s4, text, fromIndex, toIndex);
1731
+ encodeToImpl(charset.s1l(), _this__u8e3s4, text, fromIndex, toIndex);
1704
1732
  }
1705
1733
  function get_ByteArrayPool() {
1706
1734
  _init_properties_ByteArrayPool_kt__kfi3uj();
@@ -1710,7 +1738,7 @@
1710
1738
  function ByteArrayPool$1() {
1711
1739
  DefaultPool.call(this, 128);
1712
1740
  }
1713
- protoOf(ByteArrayPool$1).o1l = function () {
1741
+ protoOf(ByteArrayPool$1).w1l = function () {
1714
1742
  return new Int8Array(4096);
1715
1743
  };
1716
1744
  var properties_initialized_ByteArrayPool_kt_td6pfh;
@@ -1722,21 +1750,20 @@
1722
1750
  }
1723
1751
  function Companion_1() {
1724
1752
  }
1725
- protoOf(Companion_1).x1l = function (name) {
1753
+ protoOf(Companion_1).f1m = function (name) {
1726
1754
  switch (name) {
1727
1755
  case 'UTF-8':
1728
1756
  case 'utf-8':
1729
1757
  case 'UTF8':
1730
1758
  case 'utf8':
1731
- return Charsets_getInstance().g1l_1;
1759
+ return Charsets_getInstance().o1l_1;
1732
1760
  }
1733
1761
  var tmp;
1734
1762
  var tmp_0;
1735
- var tmp_1;
1736
1763
  switch (name) {
1737
1764
  case 'ISO-8859-1':
1738
1765
  case 'iso-8859-1':
1739
- tmp_1 = true;
1766
+ tmp_0 = true;
1740
1767
  break;
1741
1768
  default:
1742
1769
  // Inline function 'kotlin.let' call
@@ -1744,34 +1771,29 @@
1744
1771
  // Inline function 'io.ktor.utils.io.charsets.Companion.forName.<anonymous>' call
1745
1772
 
1746
1773
  var it = replace(name, _Char___init__impl__6a9atx(95), _Char___init__impl__6a9atx(45));
1747
- var tmp_2;
1774
+ var tmp_1;
1748
1775
  if (it === 'iso-8859-1') {
1749
- tmp_2 = true;
1776
+ tmp_1 = true;
1750
1777
  } else {
1751
1778
  // Inline function 'kotlin.text.lowercase' call
1752
1779
  // Inline function 'kotlin.js.asDynamic' call
1753
- tmp_2 = it.toLowerCase() === 'iso-8859-1';
1780
+ tmp_1 = it.toLowerCase() === 'iso-8859-1';
1754
1781
  }
1755
1782
 
1756
- tmp_1 = tmp_2;
1783
+ tmp_0 = tmp_1;
1757
1784
  break;
1758
1785
  }
1759
- if (tmp_1) {
1760
- tmp_0 = true;
1761
- } else {
1762
- tmp_0 = name === 'latin1';
1763
- }
1764
1786
  if (tmp_0) {
1765
1787
  tmp = true;
1766
1788
  } else {
1767
- tmp = name === 'Latin1';
1789
+ tmp = name === 'latin1' || name === 'Latin1';
1768
1790
  }
1769
1791
  if (tmp) {
1770
- return Charsets_getInstance().h1l_1;
1792
+ return Charsets_getInstance().p1l_1;
1771
1793
  }
1772
1794
  throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
1773
1795
  };
1774
- protoOf(Companion_1).y1l = function (charset) {
1796
+ protoOf(Companion_1).g1m = function (charset) {
1775
1797
  var tmp;
1776
1798
  switch (charset) {
1777
1799
  case 'UTF-8':
@@ -1828,7 +1850,7 @@
1828
1850
  return Companion_instance_2;
1829
1851
  }
1830
1852
  function Charset(_name) {
1831
- this.i1l_1 = _name;
1853
+ this.q1l_1 = _name;
1832
1854
  }
1833
1855
  protoOf(Charset).equals = function (other) {
1834
1856
  if (this === other)
@@ -1837,21 +1859,21 @@
1837
1859
  return false;
1838
1860
  if (!(other instanceof Charset))
1839
1861
  THROW_CCE();
1840
- return this.i1l_1 === other.i1l_1;
1862
+ return this.q1l_1 === other.q1l_1;
1841
1863
  };
1842
1864
  protoOf(Charset).hashCode = function () {
1843
- return getStringHashCode(this.i1l_1);
1865
+ return getStringHashCode(this.q1l_1);
1844
1866
  };
1845
1867
  protoOf(Charset).toString = function () {
1846
- return this.i1l_1;
1868
+ return this.q1l_1;
1847
1869
  };
1848
1870
  function get_name(_this__u8e3s4) {
1849
- return _this__u8e3s4.i1l_1;
1871
+ return _this__u8e3s4.q1l_1;
1850
1872
  }
1851
1873
  function Charsets() {
1852
1874
  Charsets_instance = this;
1853
- this.g1l_1 = new CharsetImpl('UTF-8');
1854
- this.h1l_1 = new CharsetImpl('ISO-8859-1');
1875
+ this.o1l_1 = new CharsetImpl('UTF-8');
1876
+ this.p1l_1 = new CharsetImpl('ISO-8859-1');
1855
1877
  }
1856
1878
  var Charsets_instance;
1857
1879
  function Charsets_getInstance() {
@@ -1864,29 +1886,29 @@
1864
1886
  captureStack(this, MalformedInputException);
1865
1887
  }
1866
1888
  function CharsetDecoder(_charset) {
1867
- this.z1l_1 = _charset;
1889
+ this.h1m_1 = _charset;
1868
1890
  }
1869
1891
  function CharsetEncoder(_charset) {
1870
- this.a1m_1 = _charset;
1892
+ this.i1m_1 = _charset;
1871
1893
  }
1872
1894
  function CharsetImpl(name) {
1873
1895
  Charset.call(this, name);
1874
1896
  }
1875
- protoOf(CharsetImpl).k1l = function () {
1897
+ protoOf(CharsetImpl).s1l = function () {
1876
1898
  return new CharsetEncoderImpl(this);
1877
1899
  };
1878
- protoOf(CharsetImpl).j1l = function () {
1900
+ protoOf(CharsetImpl).r1l = function () {
1879
1901
  return new CharsetDecoderImpl(this);
1880
1902
  };
1881
1903
  function CharsetEncoderImpl(charset) {
1882
1904
  CharsetEncoder.call(this, charset);
1883
- this.d1m_1 = charset;
1905
+ this.l1m_1 = charset;
1884
1906
  }
1885
1907
  protoOf(CharsetEncoderImpl).toString = function () {
1886
- return 'CharsetEncoderImpl(charset=' + this.d1m_1.toString() + ')';
1908
+ return 'CharsetEncoderImpl(charset=' + this.l1m_1.toString() + ')';
1887
1909
  };
1888
1910
  protoOf(CharsetEncoderImpl).hashCode = function () {
1889
- return this.d1m_1.hashCode();
1911
+ return this.l1m_1.hashCode();
1890
1912
  };
1891
1913
  protoOf(CharsetEncoderImpl).equals = function (other) {
1892
1914
  if (this === other)
@@ -1894,19 +1916,19 @@
1894
1916
  if (!(other instanceof CharsetEncoderImpl))
1895
1917
  return false;
1896
1918
  var tmp0_other_with_cast = other instanceof CharsetEncoderImpl ? other : THROW_CCE();
1897
- if (!this.d1m_1.equals(tmp0_other_with_cast.d1m_1))
1919
+ if (!this.l1m_1.equals(tmp0_other_with_cast.l1m_1))
1898
1920
  return false;
1899
1921
  return true;
1900
1922
  };
1901
1923
  function CharsetDecoderImpl(charset) {
1902
1924
  CharsetDecoder.call(this, charset);
1903
- this.f1m_1 = charset;
1925
+ this.n1m_1 = charset;
1904
1926
  }
1905
1927
  protoOf(CharsetDecoderImpl).toString = function () {
1906
- return 'CharsetDecoderImpl(charset=' + this.f1m_1.toString() + ')';
1928
+ return 'CharsetDecoderImpl(charset=' + this.n1m_1.toString() + ')';
1907
1929
  };
1908
1930
  protoOf(CharsetDecoderImpl).hashCode = function () {
1909
- return this.f1m_1.hashCode();
1931
+ return this.n1m_1.hashCode();
1910
1932
  };
1911
1933
  protoOf(CharsetDecoderImpl).equals = function (other) {
1912
1934
  if (this === other)
@@ -1914,7 +1936,7 @@
1914
1936
  if (!(other instanceof CharsetDecoderImpl))
1915
1937
  return false;
1916
1938
  var tmp0_other_with_cast = other instanceof CharsetDecoderImpl ? other : THROW_CCE();
1917
- if (!this.f1m_1.equals(tmp0_other_with_cast.f1m_1))
1939
+ if (!this.n1m_1.equals(tmp0_other_with_cast.n1m_1))
1918
1940
  return false;
1919
1941
  return true;
1920
1942
  };
@@ -1925,7 +1947,7 @@
1925
1947
  }
1926
1948
  function decode_0(_this__u8e3s4, input, dst, max) {
1927
1949
  var decoder = Decoder(get_name(get_charset(_this__u8e3s4)), true);
1928
- var tmp0 = input.c1b().s();
1950
+ var tmp0 = input.h1b().s();
1929
1951
  // Inline function 'kotlin.comparisons.minOf' call
1930
1952
  var b = toLong(max);
1931
1953
  var count = tmp0.e1(b) <= 0 ? tmp0 : b;
@@ -1933,7 +1955,7 @@
1933
1955
  var array = tmp instanceof Int8Array ? tmp : THROW_CCE();
1934
1956
  var tmp_0;
1935
1957
  try {
1936
- tmp_0 = decoder.g1m(array);
1958
+ tmp_0 = decoder.o1m(array);
1937
1959
  } catch ($p) {
1938
1960
  var tmp_1;
1939
1961
  if ($p instanceof Error) {
@@ -1964,7 +1986,7 @@
1964
1986
  return readByteArray_0(dst);
1965
1987
  }
1966
1988
  function get_charset(_this__u8e3s4) {
1967
- return _this__u8e3s4.z1l_1;
1989
+ return _this__u8e3s4.h1m_1;
1968
1990
  }
1969
1991
  function encodeImpl(_this__u8e3s4, input, fromIndex, toIndex, dst) {
1970
1992
  // Inline function 'kotlin.require' call
@@ -1972,34 +1994,34 @@
1972
1994
  if (!(fromIndex <= toIndex)) {
1973
1995
  // Inline function 'kotlin.require.<anonymous>' call
1974
1996
  var message = 'Failed requirement.';
1975
- throw IllegalArgumentException_init_$Create$(toString_0(message));
1997
+ throw IllegalArgumentException_init_$Create$(toString_1(message));
1976
1998
  }
1977
- if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().h1l_1)) {
1999
+ if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().p1l_1)) {
1978
2000
  return encodeISO88591(input, fromIndex, toIndex, dst);
1979
2001
  }
1980
2002
  // Inline function 'kotlin.require' call
1981
- if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().g1l_1)) {
2003
+ if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().o1l_1)) {
1982
2004
  // Inline function 'io.ktor.utils.io.charsets.encodeImpl.<anonymous>' call
1983
2005
  var message_0 = 'Only UTF-8 encoding is supported in JS';
1984
- throw IllegalArgumentException_init_$Create$(toString_0(message_0));
2006
+ throw IllegalArgumentException_init_$Create$(toString_1(message_0));
1985
2007
  }
1986
2008
  var encoder = new TextEncoder();
1987
2009
  // Inline function 'kotlin.text.substring' call
1988
- var tmp$ret$2 = toString_0(charSequenceSubSequence(input, fromIndex, toIndex));
2010
+ var tmp$ret$2 = toString_1(charSequenceSubSequence(input, fromIndex, toIndex));
1989
2011
  var result = encoder.encode(tmp$ret$2);
1990
2012
  // Inline function 'kotlin.js.unsafeCast' call
1991
2013
  // Inline function 'kotlin.js.asDynamic' call
1992
- dst.o1c(result);
2014
+ dst.t1c(result);
1993
2015
  return result.length;
1994
2016
  }
1995
2017
  function get_charset_0(_this__u8e3s4) {
1996
- return _this__u8e3s4.a1m_1;
2018
+ return _this__u8e3s4.i1m_1;
1997
2019
  }
1998
2020
  function forName(_this__u8e3s4, name) {
1999
- return Companion_instance_2.x1l(name);
2021
+ return Companion_instance_2.f1m(name);
2000
2022
  }
2001
2023
  function isSupported(_this__u8e3s4, name) {
2002
- return Companion_instance_2.y1l(name);
2024
+ return Companion_instance_2.g1m(name);
2003
2025
  }
2004
2026
  function Decoder(encoding, fatal) {
2005
2027
  fatal = fatal === VOID ? true : fatal;
@@ -2033,10 +2055,10 @@
2033
2055
  return this_0;
2034
2056
  }
2035
2057
  function toKtor$1($this_toKtor) {
2036
- this.h1m_1 = $this_toKtor;
2058
+ this.p1m_1 = $this_toKtor;
2037
2059
  }
2038
- protoOf(toKtor$1).g1m = function (buffer) {
2039
- return this.h1m_1.decode(buffer);
2060
+ protoOf(toKtor$1).o1m = function (buffer) {
2061
+ return this.p1m_1.decode(buffer);
2040
2062
  };
2041
2063
  function get_ENCODING_ALIASES() {
2042
2064
  _init_properties_TextDecoderFallback_js_kt__an7r6m();
@@ -2049,19 +2071,19 @@
2049
2071
  }
2050
2072
  var REPLACEMENT;
2051
2073
  function TextDecoderFallback(encoding, fatal) {
2052
- this.i1m_1 = fatal;
2074
+ this.q1m_1 = fatal;
2053
2075
  // Inline function 'kotlin.text.trim' call
2054
2076
  // Inline function 'kotlin.text.lowercase' call
2055
2077
  // Inline function 'kotlin.js.asDynamic' call
2056
- var requestedEncoding = toString_0(trim(isCharSequence(encoding) ? encoding : THROW_CCE())).toLowerCase();
2078
+ var requestedEncoding = toString_1(trim(isCharSequence(encoding) ? encoding : THROW_CCE())).toLowerCase();
2057
2079
  // Inline function 'kotlin.check' call
2058
2080
  if (!get_ENCODING_ALIASES().x1(requestedEncoding)) {
2059
2081
  // Inline function 'io.ktor.utils.io.charsets.TextDecoderFallback.<anonymous>' call
2060
2082
  var message = encoding + ' is not supported.';
2061
- throw IllegalStateException_init_$Create$(toString_0(message));
2083
+ throw IllegalStateException_init_$Create$(toString_1(message));
2062
2084
  }
2063
2085
  }
2064
- protoOf(TextDecoderFallback).g1m = function (buffer) {
2086
+ protoOf(TextDecoderFallback).o1m = function (buffer) {
2065
2087
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
2066
2088
  var builder = new Buffer();
2067
2089
  // Inline function 'io.ktor.utils.io.charsets.TextDecoderFallback.decode.<anonymous>' call
@@ -2078,18 +2100,18 @@
2078
2100
  var point = toCodePoint(byte);
2079
2101
  if (point < 0) {
2080
2102
  // Inline function 'kotlin.check' call
2081
- if (!!this.i1m_1) {
2103
+ if (!!this.q1m_1) {
2082
2104
  // Inline function 'io.ktor.utils.io.charsets.TextDecoderFallback.decode.<anonymous>.<anonymous>' call
2083
2105
  var message = 'Invalid character: ' + point;
2084
- throw IllegalStateException_init_$Create$(toString_0(message));
2106
+ throw IllegalStateException_init_$Create$(toString_1(message));
2085
2107
  }
2086
2108
  writeFully_0(builder, get_REPLACEMENT());
2087
2109
  continue $l$loop;
2088
2110
  }
2089
2111
  if (point > 255) {
2090
- builder.u1c(toByte(point >> 8));
2112
+ builder.z1c(toByte(point >> 8));
2091
2113
  }
2092
- builder.u1c(toByte(point & 255));
2114
+ builder.z1c(toByte(point & 255));
2093
2115
  }
2094
2116
  while (inductionVariable < last);
2095
2117
  return decodeToString(readByteArray_0(builder));
@@ -2129,7 +2151,7 @@
2129
2151
  if (character > 255) {
2130
2152
  failedToMapError(character);
2131
2153
  }
2132
- dst.u1c(toByte(character));
2154
+ dst.z1c(toByte(character));
2133
2155
  }
2134
2156
  while (inductionVariable < toIndex);
2135
2157
  return toIndex - fromIndex | 0;
@@ -2151,48 +2173,51 @@
2151
2173
  }
2152
2174
  }
2153
2175
  function DefaultPool(capacity) {
2154
- this.p1l_1 = capacity;
2176
+ this.x1l_1 = capacity;
2155
2177
  var tmp = this;
2156
2178
  // Inline function 'kotlin.arrayOfNulls' call
2157
- var size = this.p1l_1;
2158
- tmp.q1l_1 = fillArrayVal(Array(size), null);
2159
- this.r1l_1 = 0;
2179
+ var size = this.x1l_1;
2180
+ tmp.y1l_1 = fillArrayVal(Array(size), null);
2181
+ this.z1l_1 = 0;
2160
2182
  }
2161
- protoOf(DefaultPool).s1l = function (instance) {
2183
+ protoOf(DefaultPool).a1m = function (instance) {
2162
2184
  };
2163
- protoOf(DefaultPool).t1l = function (instance) {
2185
+ protoOf(DefaultPool).b1m = function (instance) {
2164
2186
  return instance;
2165
2187
  };
2166
- protoOf(DefaultPool).u1l = function (instance) {
2188
+ protoOf(DefaultPool).c1m = function (instance) {
2167
2189
  };
2168
- protoOf(DefaultPool).v1l = function () {
2169
- if (this.r1l_1 === 0)
2170
- return this.o1l();
2171
- this.r1l_1 = this.r1l_1 - 1 | 0;
2172
- var idx = this.r1l_1;
2173
- var tmp = this.q1l_1[idx];
2190
+ protoOf(DefaultPool).d1m = function () {
2191
+ if (this.z1l_1 === 0)
2192
+ return this.w1l();
2193
+ this.z1l_1 = this.z1l_1 - 1 | 0;
2194
+ var idx = this.z1l_1;
2195
+ var tmp = this.y1l_1[idx];
2174
2196
  var instance = !(tmp == null) ? tmp : THROW_CCE();
2175
- this.q1l_1[idx] = null;
2176
- return this.t1l(instance);
2197
+ this.y1l_1[idx] = null;
2198
+ return this.b1m(instance);
2177
2199
  };
2178
- protoOf(DefaultPool).w1l = function (instance) {
2179
- this.u1l(instance);
2180
- if (this.r1l_1 === this.p1l_1) {
2181
- this.s1l(instance);
2200
+ protoOf(DefaultPool).e1m = function (instance) {
2201
+ this.c1m(instance);
2202
+ if (this.z1l_1 === this.x1l_1) {
2203
+ this.a1m(instance);
2182
2204
  } else {
2183
- var _unary__edvuaz = this.r1l_1;
2184
- this.r1l_1 = _unary__edvuaz + 1 | 0;
2185
- this.q1l_1[_unary__edvuaz] = instance;
2205
+ var _unary__edvuaz = this.z1l_1;
2206
+ this.z1l_1 = _unary__edvuaz + 1 | 0;
2207
+ this.y1l_1[_unary__edvuaz] = instance;
2186
2208
  }
2187
2209
  };
2210
+ function get_DEVELOPMENT_MODE() {
2211
+ return false;
2212
+ }
2188
2213
  //region block: post-declaration
2189
- protoOf(Read).g1e = resume;
2190
- protoOf(Read).h1e = resume_0;
2191
- protoOf(Write).g1e = resume;
2192
- protoOf(Write).h1e = resume_0;
2193
- protoOf(ByteChannel).n1g = awaitContent$default;
2194
- protoOf(ByteReadChannel$Companion$Empty$1).n1g = awaitContent$default;
2195
- protoOf(SourceByteReadChannel).n1g = awaitContent$default;
2214
+ protoOf(Read).m1e = resume;
2215
+ protoOf(Read).n1e = resume_0;
2216
+ protoOf(Write).m1e = resume;
2217
+ protoOf(Write).n1e = resume_0;
2218
+ protoOf(ByteChannel).v1g = awaitContent$default;
2219
+ protoOf(ByteReadChannel$Companion$Empty$1).v1g = awaitContent$default;
2220
+ protoOf(SourceByteReadChannel).v1g = awaitContent$default;
2196
2221
  //endregion
2197
2222
  //region block: init
2198
2223
  Empty_instance = new Empty();