@dmarket/p2p-tracker-core 0.1.0-SNAPSHOT.99 → 1.0.1-beta

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 (66) hide show
  1. package/VERSION +14 -0
  2. package/dmarket-p2p-tracker-core-domain.mjs +11510 -4975
  3. package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
  4. package/kotlin-kotlin-stdlib.mjs +3168 -2664
  5. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  6. package/kotlinx-atomicfu.mjs +13 -13
  7. package/kotlinx-coroutines-core.mjs +2758 -2428
  8. package/kotlinx-coroutines-core.mjs.map +1 -1
  9. package/kotlinx-io-kotlinx-io-bytestring.mjs +44 -44
  10. package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
  11. package/kotlinx-io-kotlinx-io-core.mjs +517 -497
  12. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  13. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1791 -1790
  14. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  15. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1586 -1564
  16. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  17. package/ktor-ktor-client-core.mjs +3047 -3048
  18. package/ktor-ktor-client-core.mjs.map +1 -1
  19. package/ktor-ktor-events.mjs +6 -6
  20. package/ktor-ktor-http-cio.mjs +491 -491
  21. package/ktor-ktor-http.mjs +666 -646
  22. package/ktor-ktor-http.mjs.map +1 -1
  23. package/ktor-ktor-io.mjs +1145 -1059
  24. package/ktor-ktor-io.mjs.map +1 -1
  25. package/ktor-ktor-utils.mjs +794 -786
  26. package/ktor-ktor-utils.mjs.map +1 -1
  27. package/ktor-ktor-websockets.mjs +855 -799
  28. package/ktor-ktor-websockets.mjs.map +1 -1
  29. package/p2p-tracker-core.d.mts +110 -40
  30. package/p2p-tracker-core.mjs +28378 -11117
  31. package/p2p-tracker-core.mjs.map +1 -1
  32. package/package.json +2 -4
  33. package/pkg/README.md +92 -0
  34. package/pkg/client_wasm.d.ts +312 -0
  35. package/pkg/client_wasm.js +1187 -0
  36. package/pkg/client_wasm_bg.wasm +0 -0
  37. package/pkg/client_wasm_bg.wasm.d.ts +32 -0
  38. package/pkg/package.json +19 -0
  39. package/pkg/snippets/web-spawn-05868593a72e2d44/js/spawn.js +73 -0
  40. package/pkg/spawn.js +73 -0
  41. package/transport/README.md +172 -0
  42. package/transport/dist/channel.d.ts +48 -0
  43. package/transport/dist/channel.d.ts.map +1 -0
  44. package/transport/dist/channel.js +150 -0
  45. package/transport/dist/channel.js.map +1 -0
  46. package/transport/dist/index.d.ts +8 -0
  47. package/transport/dist/index.d.ts.map +1 -0
  48. package/transport/dist/index.js +18 -0
  49. package/transport/dist/index.js.map +1 -0
  50. package/transport/dist/prover.d.ts +103 -0
  51. package/transport/dist/prover.d.ts.map +1 -0
  52. package/transport/dist/prover.js +139 -0
  53. package/transport/dist/prover.js.map +1 -0
  54. package/transport/dist/transport.d.ts +31 -0
  55. package/transport/dist/transport.d.ts.map +1 -0
  56. package/transport/dist/transport.js +75 -0
  57. package/transport/dist/transport.js.map +1 -0
  58. package/transport/dist/types.d.ts +162 -0
  59. package/transport/dist/types.d.ts.map +1 -0
  60. package/transport/dist/types.js +21 -0
  61. package/transport/dist/types.js.map +1 -0
  62. package/transport/dist/wasm-compat.d.ts +2 -0
  63. package/transport/dist/wasm-compat.d.ts.map +1 -0
  64. package/transport/dist/wasm-compat.js +15 -0
  65. package/transport/dist/wasm-compat.js.map +1 -0
  66. package/transport/package.json +28 -0
@@ -12,11 +12,16 @@ import {
12
12
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
13
13
  VOID3gxj6tk5isa35 as VOID,
14
14
  toString1pkumu07cwy4m as toString,
15
+ IllegalArgumentException_init_$Create$1mgk48flhjim3 as IllegalArgumentException_init_$Create$,
15
16
  getStringHashCode26igk1bx568vk as getStringHashCode,
17
+ substringiqarkczpya5m as substring,
18
+ charCodeAt1yspne1d8erbm as charCodeAt,
19
+ Char__toInt_impl_vasixd1ka89vowck9tn as Char__toInt_impl_vasixd,
20
+ isHighSurrogate11jfjw70ar0zf as isHighSurrogate,
21
+ isLowSurrogateujxcv7hjn4ma as isLowSurrogate,
16
22
  initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
17
23
  Long2qws0ah9gnpki as Long,
18
24
  isInterface3d6p8outrmvmk as isInterface,
19
- IllegalArgumentException_init_$Create$1mgk48flhjim3 as IllegalArgumentException_init_$Create$,
20
25
  compare2uud5j30pw5xc as compare,
21
26
  CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
22
27
  THROW_CCE2g6jy02ryeudk as THROW_CCE,
@@ -111,13 +116,14 @@ var imul = Math.imul;
111
116
  //region block: pre-declaration
112
117
  initMetadataForCompanion(Companion);
113
118
  initMetadataForClass(Codes, 'Codes', VOID, Enum);
119
+ initMetadataForCompanion(Companion_0);
114
120
  initMetadataForClass(CloseReason, 'CloseReason');
115
121
  function send(frame, $completion) {
116
- return this.e3y().p23(frame, $completion);
122
+ return this.f4g().i25(frame, $completion);
117
123
  }
118
124
  initMetadataForInterface(WebSocketSession, 'WebSocketSession', VOID, VOID, [CoroutineScope], [1, 0]);
119
125
  initMetadataForInterface(DefaultWebSocketSession, 'DefaultWebSocketSession', VOID, VOID, [WebSocketSession], [1, 0]);
120
- initMetadataForCompanion(Companion_0);
126
+ initMetadataForCompanion(Companion_1);
121
127
  initMetadataForLambda(DefaultWebSocketSessionImpl$start$slambda, CoroutineImpl, VOID, [1]);
122
128
  initMetadataForLambda(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda, CoroutineImpl, VOID, [1]);
123
129
  initMetadataForLambda(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda, CoroutineImpl, VOID, [1]);
@@ -128,18 +134,18 @@ initMetadataForCoroutine($checkMaxFrameSizeCOROUTINE$, CoroutineImpl);
128
134
  initMetadataForClass(DefaultWebSocketSessionImpl, 'DefaultWebSocketSessionImpl', VOID, VOID, [DefaultWebSocketSession, WebSocketSession], [1, 0, 2]);
129
135
  initMetadataForObject(NonDisposableHandle, 'NonDisposableHandle', VOID, VOID, [DisposableHandle]);
130
136
  initMetadataForClass(FrameTooBigException, 'FrameTooBigException', VOID, Exception, [CopyableThrowable]);
131
- initMetadataForCompanion(Companion_1);
137
+ initMetadataForCompanion(Companion_2);
132
138
  initMetadataForClass(FrameType, 'FrameType', VOID, Enum);
133
139
  initMetadataForLambda(ponger$slambda, CoroutineImpl, VOID, [1]);
134
140
  initMetadataForLambda(pinger$slambda$slambda, CoroutineImpl, VOID, [1]);
135
141
  initMetadataForLambda(pinger$slambda$slambda_1, CoroutineImpl, VOID, [1]);
136
142
  initMetadataForLambda(pinger$slambda, CoroutineImpl, VOID, [1]);
137
- initMetadataForCompanion(Companion_2);
138
- initMetadataForClass(WebSocketChannelsConfig, 'WebSocketChannelsConfig', WebSocketChannelsConfig);
139
143
  initMetadataForCompanion(Companion_3);
144
+ initMetadataForClass(WebSocketChannelsConfig, 'WebSocketChannelsConfig', WebSocketChannelsConfig);
145
+ initMetadataForCompanion(Companion_4);
140
146
  initMetadataForClass(ChannelConfig, 'ChannelConfig');
141
147
  initMetadataForClass(ChannelOverflow, 'ChannelOverflow', VOID, Enum);
142
- initMetadataForCompanion(Companion_4);
148
+ initMetadataForCompanion(Companion_5);
143
149
  initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 0]);
144
150
  initMetadataForClass(ChannelOverflowException, 'ChannelOverflowException', VOID, RuntimeException);
145
151
  initMetadataForInterface(WebSocketExtension, 'WebSocketExtension');
@@ -152,7 +158,7 @@ initMetadataForClass(Text, 'Text', VOID, Frame);
152
158
  initMetadataForClass(Close, 'Close', Close_init_$Create$_0, Frame);
153
159
  initMetadataForClass(Ping, 'Ping', VOID, Frame);
154
160
  initMetadataForClass(Pong, 'Pong', VOID, Frame);
155
- initMetadataForCompanion(Companion_5);
161
+ initMetadataForCompanion(Companion_6);
156
162
  //endregion
157
163
  var Codes_NORMAL_instance;
158
164
  var Codes_GOING_AWAY_instance;
@@ -177,14 +183,14 @@ function Companion() {
177
183
  var _iterator__ex2g4s = this_0.t();
178
184
  while (_iterator__ex2g4s.u()) {
179
185
  var element = _iterator__ex2g4s.v();
180
- var tmp$ret$2 = element.t3x_1;
181
- destination.v2(tmp$ret$2, element);
186
+ var tmp$ret$2 = element.j4f_1;
187
+ destination.b3(tmp$ret$2, element);
182
188
  }
183
- tmp.u3x_1 = destination;
184
- this.v3x_1 = Codes_INTERNAL_ERROR_getInstance();
189
+ tmp.k4f_1 = destination;
190
+ this.l4f_1 = Codes_INTERNAL_ERROR_getInstance();
185
191
  }
186
- protoOf(Companion).w3x = function (code) {
187
- return this.u3x_1.c3(code);
192
+ protoOf(Companion).m4f = function (code) {
193
+ return this.k4f_1.s2(code);
188
194
  };
189
195
  var Companion_instance;
190
196
  function Companion_getInstance() {
@@ -222,7 +228,7 @@ function Codes_initEntries() {
222
228
  }
223
229
  var $ENTRIES;
224
230
  function CloseReason_init_$Init$(code, message, $this) {
225
- CloseReason.call($this, code.t3x_1, message);
231
+ CloseReason.call($this, code.j4f_1, message);
226
232
  return $this;
227
233
  }
228
234
  function CloseReason_init_$Create$(code, message) {
@@ -230,7 +236,13 @@ function CloseReason_init_$Create$(code, message) {
230
236
  }
231
237
  function Codes(name, ordinal, code) {
232
238
  Enum.call(this, name, ordinal);
233
- this.t3x_1 = code;
239
+ this.j4f_1 = code;
240
+ }
241
+ function Companion_0() {
242
+ }
243
+ var Companion_instance_0;
244
+ function Companion_getInstance_0() {
245
+ return Companion_instance_0;
234
246
  }
235
247
  function Codes_NORMAL_getInstance() {
236
248
  Codes_initEntries();
@@ -281,19 +293,25 @@ function Codes_TRY_AGAIN_LATER_getInstance() {
281
293
  return Codes_TRY_AGAIN_LATER_instance;
282
294
  }
283
295
  function CloseReason(code, message) {
284
- this.x3x_1 = code;
285
- this.y3x_1 = message;
296
+ this.n4f_1 = code;
297
+ this.o4f_1 = message;
298
+ var size = utf8Size(this.o4f_1);
299
+ // Inline function 'kotlin.require' call
300
+ if (!(size <= 123)) {
301
+ var message_0 = 'Close reason message is too long: ' + size + ' bytes, but must not exceed ' + '123 bytes when UTF-8-encoded';
302
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
303
+ }
286
304
  }
287
- protoOf(CloseReason).z3x = function () {
288
- return Companion_getInstance().w3x(this.x3x_1);
305
+ protoOf(CloseReason).p4f = function () {
306
+ return Companion_getInstance().m4f(this.n4f_1);
289
307
  };
290
308
  protoOf(CloseReason).toString = function () {
291
- var tmp0_elvis_lhs = this.z3x();
292
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.x3x_1 : tmp0_elvis_lhs) + ', message=' + this.y3x_1 + ')';
309
+ var tmp0_elvis_lhs = this.p4f();
310
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.n4f_1 : tmp0_elvis_lhs) + ', message=' + this.o4f_1 + ')';
293
311
  };
294
312
  protoOf(CloseReason).hashCode = function () {
295
- var result = this.x3x_1;
296
- result = imul(result, 31) + getStringHashCode(this.y3x_1) | 0;
313
+ var result = this.n4f_1;
314
+ result = imul(result, 31) + getStringHashCode(this.o4f_1) | 0;
297
315
  return result;
298
316
  };
299
317
  protoOf(CloseReason).equals = function (other) {
@@ -301,12 +319,47 @@ protoOf(CloseReason).equals = function (other) {
301
319
  return true;
302
320
  if (!(other instanceof CloseReason))
303
321
  return false;
304
- if (!(this.x3x_1 === other.x3x_1))
322
+ if (!(this.n4f_1 === other.n4f_1))
305
323
  return false;
306
- if (!(this.y3x_1 === other.y3x_1))
324
+ if (!(this.o4f_1 === other.o4f_1))
307
325
  return false;
308
326
  return true;
309
327
  };
328
+ function utf8Size(_this__u8e3s4) {
329
+ var size = 0;
330
+ var index = 0;
331
+ while (index < _this__u8e3s4.length) {
332
+ var bytes = utf8ByteCountAt(_this__u8e3s4, index);
333
+ size = size + bytes | 0;
334
+ index = index + (bytes === 4 ? 2 : 1) | 0;
335
+ }
336
+ return size;
337
+ }
338
+ function utf8Truncate(_this__u8e3s4, maxSize) {
339
+ var size = 0;
340
+ var index = 0;
341
+ $l$loop: while (index < _this__u8e3s4.length) {
342
+ var bytes = utf8ByteCountAt(_this__u8e3s4, index);
343
+ if ((size + bytes | 0) > maxSize)
344
+ break $l$loop;
345
+ size = size + bytes | 0;
346
+ index = index + (bytes === 4 ? 2 : 1) | 0;
347
+ }
348
+ return index === _this__u8e3s4.length ? _this__u8e3s4 : substring(_this__u8e3s4, 0, index);
349
+ }
350
+ function utf8ByteCountAt(_this__u8e3s4, index) {
351
+ // Inline function 'kotlin.code' call
352
+ var this_0 = charCodeAt(_this__u8e3s4, index);
353
+ var code = Char__toInt_impl_vasixd(this_0);
354
+ return code < 128 ? 1 : code < 2048 ? 2 : isHighSurrogate(charCodeAt(_this__u8e3s4, index)) && (index + 1 | 0) < _this__u8e3s4.length && isLowSurrogate(charCodeAt(_this__u8e3s4, index + 1 | 0)) ? 4 : 3;
355
+ }
356
+ function validateSize(_this__u8e3s4) {
357
+ // Inline function 'kotlin.require' call
358
+ if (!(!_this__u8e3s4.v4f_1.s4f_1 || _this__u8e3s4.w4f_1.length <= 125)) {
359
+ var message = 'Control frames must not exceed 125 bytes per RFC 6455, ' + ('but ' + _this__u8e3s4.v4f_1.toString() + ' frame has ' + _this__u8e3s4.w4f_1.length + ' bytes');
360
+ throw IllegalArgumentException_init_$Create$(toString(message));
361
+ }
362
+ }
310
363
  function get_LOGGER() {
311
364
  _init_properties_DefaultWebSocketSession_kt__469s0y();
312
365
  return LOGGER;
@@ -333,228 +386,228 @@ function DefaultWebSocketSession() {
333
386
  function DefaultWebSocketSession_0(session, pingIntervalMillis, timeoutMillis, channelsConfig) {
334
387
  pingIntervalMillis = pingIntervalMillis === VOID ? new Long(0, 0) : pingIntervalMillis;
335
388
  timeoutMillis = timeoutMillis === VOID ? new Long(15000, 0) : timeoutMillis;
336
- channelsConfig = channelsConfig === VOID ? Companion_getInstance_2().g3y_1 : channelsConfig;
389
+ channelsConfig = channelsConfig === VOID ? Companion_getInstance_3().h4g_1 : channelsConfig;
337
390
  _init_properties_DefaultWebSocketSession_kt__469s0y();
338
391
  // Inline function 'kotlin.require' call
339
392
  if (!!isInterface(session, DefaultWebSocketSession)) {
340
393
  var message = 'Cannot wrap other DefaultWebSocketSession';
341
394
  throw IllegalArgumentException_init_$Create$(toString(message));
342
395
  }
343
- return new DefaultWebSocketSessionImpl(session, pingIntervalMillis, timeoutMillis, channelsConfig.h3y_1, channelsConfig.i3y_1);
396
+ return new DefaultWebSocketSessionImpl(session, pingIntervalMillis, timeoutMillis, channelsConfig.i4g_1, channelsConfig.j4g_1);
344
397
  }
345
398
  function runIncomingProcessor($this, ponger) {
346
- var tmp = get_IncomingProcessorCoroutineName().mh(Dispatchers_getInstance().h1x_1);
399
+ var tmp = get_IncomingProcessorCoroutineName().wh(Dispatchers_getInstance().d1z_1);
347
400
  return launch($this, tmp, VOID, DefaultWebSocketSessionImpl$runIncomingProcessor$slambda_0($this, ponger, null));
348
401
  }
349
402
  function runOutgoingProcessor($this) {
350
- var tmp = get_OutgoingProcessorCoroutineName().mh(Dispatchers_getInstance().h1x_1);
403
+ var tmp = get_OutgoingProcessorCoroutineName().wh(Dispatchers_getInstance().d1z_1);
351
404
  var tmp_0 = CoroutineStart_UNDISPATCHED_getInstance();
352
405
  return launch($this, tmp, tmp_0, DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda_0($this, null));
353
406
  }
354
407
  function outgoingProcessorLoop($this, $completion) {
355
408
  var tmp = new $outgoingProcessorLoopCOROUTINE$($this, $completion);
356
- tmp.p8_1 = Unit_instance;
357
- tmp.q8_1 = null;
358
- return tmp.v8();
409
+ tmp.x8_1 = Unit_instance;
410
+ tmp.y8_1 = null;
411
+ return tmp.d9();
359
412
  }
360
413
  function sendCloseSequence($this, reason, exception, $completion) {
361
414
  exception = exception === VOID ? null : exception;
362
415
  var tmp = new $sendCloseSequenceCOROUTINE$($this, reason, exception, $completion);
363
- tmp.p8_1 = Unit_instance;
364
- tmp.q8_1 = null;
365
- return tmp.v8();
416
+ tmp.x8_1 = Unit_instance;
417
+ tmp.y8_1 = null;
418
+ return tmp.d9();
366
419
  }
367
420
  function tryClose($this) {
368
- return $this.n3z_1.atomicfu$compareAndSet(false, true);
421
+ return $this.o4h_1.atomicfu$compareAndSet(false, true);
369
422
  }
370
423
  function runOrCancelPinger($this) {
371
- var interval = $this.q3z_1;
424
+ var interval = $this.r4h_1;
372
425
  var tmp;
373
- if ($this.n3z_1.kotlinx$atomicfu$value) {
426
+ if ($this.o4h_1.kotlinx$atomicfu$value) {
374
427
  tmp = null;
375
428
  } else if (compare(interval, new Long(0, 0)) > 0) {
376
- var tmp_0 = $this.g3z_1.e3y();
377
- var tmp_1 = $this.r3z_1;
429
+ var tmp_0 = $this.h4h_1.f4g();
430
+ var tmp_1 = $this.s4h_1;
378
431
  tmp = pinger($this, tmp_0, interval, tmp_1, DefaultWebSocketSessionImpl$runOrCancelPinger$slambda_0($this, null));
379
432
  } else {
380
433
  tmp = null;
381
434
  }
382
435
  var newPinger = tmp;
383
- var tmp0_safe_receiver = $this.h3z_1.atomicfu$getAndSet(newPinger);
436
+ var tmp0_safe_receiver = $this.i4h_1.atomicfu$getAndSet(newPinger);
384
437
  if (tmp0_safe_receiver == null)
385
438
  null;
386
439
  else
387
- tmp0_safe_receiver.w23();
388
- var tmp2_safe_receiver = newPinger == null ? null : new ChannelResult(newPinger.q23(Companion_getInstance_0().t3z_1));
440
+ tmp0_safe_receiver.p25();
441
+ var tmp2_safe_receiver = newPinger == null ? null : new ChannelResult(newPinger.j25(Companion_getInstance_1().u4h_1));
389
442
  if (tmp2_safe_receiver == null)
390
443
  null;
391
444
  else
392
- _ChannelResult___get_isSuccess__impl__odq1z9(tmp2_safe_receiver.a22_1);
393
- if ($this.n3z_1.kotlinx$atomicfu$value && !(newPinger == null)) {
445
+ _ChannelResult___get_isSuccess__impl__odq1z9(tmp2_safe_receiver.t23_1);
446
+ if ($this.o4h_1.kotlinx$atomicfu$value && !(newPinger == null)) {
394
447
  runOrCancelPinger($this);
395
448
  }
396
449
  }
397
450
  function checkMaxFrameSize($this, packet, frame, $completion) {
398
451
  var tmp = new $checkMaxFrameSizeCOROUTINE$($this, packet, frame, $completion);
399
- tmp.p8_1 = Unit_instance;
400
- tmp.q8_1 = null;
401
- return tmp.v8();
452
+ tmp.x8_1 = Unit_instance;
453
+ tmp.y8_1 = null;
454
+ return tmp.d9();
402
455
  }
403
456
  function processIncomingExtensions($this, frame) {
404
457
  // Inline function 'kotlin.collections.fold' call
405
458
  var accumulator = frame;
406
- var _iterator__ex2g4s = $this.g40().t();
459
+ var _iterator__ex2g4s = $this.h4i().t();
407
460
  while (_iterator__ex2g4s.u()) {
408
461
  var element = _iterator__ex2g4s.v();
409
462
  var current = accumulator;
410
- accumulator = element.h40(current);
463
+ accumulator = element.i4i(current);
411
464
  }
412
465
  return accumulator;
413
466
  }
414
467
  function processOutgoingExtensions($this, frame) {
415
468
  // Inline function 'kotlin.collections.fold' call
416
469
  var accumulator = frame;
417
- var _iterator__ex2g4s = $this.g40().t();
470
+ var _iterator__ex2g4s = $this.h4i().t();
418
471
  while (_iterator__ex2g4s.u()) {
419
472
  var element = _iterator__ex2g4s.v();
420
473
  var current = accumulator;
421
- accumulator = element.i40(current);
474
+ accumulator = element.j4i(current);
422
475
  }
423
476
  return accumulator;
424
477
  }
425
- function Companion_0() {
426
- Companion_instance_0 = this;
427
- this.t3z_1 = new Pong(new Int8Array(0), NonDisposableHandle_instance);
478
+ function Companion_1() {
479
+ Companion_instance_1 = this;
480
+ this.u4h_1 = new Pong(new Int8Array(0), NonDisposableHandle_instance);
428
481
  }
429
- var Companion_instance_0;
430
- function Companion_getInstance_0() {
431
- if (Companion_instance_0 == null)
432
- new Companion_0();
433
- return Companion_instance_0;
482
+ var Companion_instance_1;
483
+ function Companion_getInstance_1() {
484
+ if (Companion_instance_1 == null)
485
+ new Companion_1();
486
+ return Companion_instance_1;
434
487
  }
435
488
  function DefaultWebSocketSessionImpl$start$slambda($incomingJob, $outgoingJob, this$0, resultContinuation) {
436
- this.r40_1 = $incomingJob;
437
- this.s40_1 = $outgoingJob;
438
- this.t40_1 = this$0;
489
+ this.s4i_1 = $incomingJob;
490
+ this.t4i_1 = $outgoingJob;
491
+ this.u4i_1 = this$0;
439
492
  CoroutineImpl.call(this, resultContinuation);
440
493
  }
441
- protoOf(DefaultWebSocketSessionImpl$start$slambda).q3b = function ($this$launch, $completion) {
442
- var tmp = this.r3b($this$launch, $completion);
443
- tmp.p8_1 = Unit_instance;
444
- tmp.q8_1 = null;
445
- return tmp.v8();
494
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).g3t = function ($this$launch, $completion) {
495
+ var tmp = this.h3t($this$launch, $completion);
496
+ tmp.x8_1 = Unit_instance;
497
+ tmp.y8_1 = null;
498
+ return tmp.d9();
446
499
  };
447
- protoOf(DefaultWebSocketSessionImpl$start$slambda).i9 = function (p1, $completion) {
448
- return this.q3b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
500
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).q9 = function (p1, $completion) {
501
+ return this.g3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
449
502
  };
450
- protoOf(DefaultWebSocketSessionImpl$start$slambda).v8 = function () {
451
- var suspendResult = this.p8_1;
503
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).d9 = function () {
504
+ var suspendResult = this.x8_1;
452
505
  $sm: do
453
506
  try {
454
- var tmp = this.n8_1;
507
+ var tmp = this.v8_1;
455
508
  switch (tmp) {
456
509
  case 0:
457
- this.o8_1 = 3;
458
- this.n8_1 = 1;
459
- suspendResult = this.r40_1.t1n(this);
510
+ this.w8_1 = 3;
511
+ this.v8_1 = 1;
512
+ suspendResult = this.s4i_1.d1o(this);
460
513
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
461
514
  return suspendResult;
462
515
  }
463
516
 
464
517
  continue $sm;
465
518
  case 1:
466
- this.n8_1 = 2;
467
- suspendResult = this.s40_1.t1n(this);
519
+ this.v8_1 = 2;
520
+ suspendResult = this.t4i_1.d1o(this);
468
521
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
469
522
  return suspendResult;
470
523
  }
471
524
 
472
525
  continue $sm;
473
526
  case 2:
474
- this.t40_1.j3z_1.x1n();
527
+ this.u4i_1.k4h_1.h1o();
475
528
  return Unit_instance;
476
529
  case 3:
477
- throw this.q8_1;
530
+ throw this.y8_1;
478
531
  }
479
532
  } catch ($p) {
480
533
  var e = $p;
481
- if (this.o8_1 === 3) {
534
+ if (this.w8_1 === 3) {
482
535
  throw e;
483
536
  } else {
484
- this.n8_1 = this.o8_1;
485
- this.q8_1 = e;
537
+ this.v8_1 = this.w8_1;
538
+ this.y8_1 = e;
486
539
  }
487
540
  }
488
541
  while (true);
489
542
  };
490
- protoOf(DefaultWebSocketSessionImpl$start$slambda).r3b = function ($this$launch, completion) {
491
- var i = new DefaultWebSocketSessionImpl$start$slambda(this.r40_1, this.s40_1, this.t40_1, completion);
492
- i.u40_1 = $this$launch;
543
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).h3t = function ($this$launch, completion) {
544
+ var i = new DefaultWebSocketSessionImpl$start$slambda(this.s4i_1, this.t4i_1, this.u4i_1, completion);
545
+ i.v4i_1 = $this$launch;
493
546
  return i;
494
547
  };
495
548
  function DefaultWebSocketSessionImpl$start$slambda_0($incomingJob, $outgoingJob, this$0, resultContinuation) {
496
549
  var i = new DefaultWebSocketSessionImpl$start$slambda($incomingJob, $outgoingJob, this$0, resultContinuation);
497
550
  return constructCallableReference(function ($this$launch, $completion) {
498
- return i.q3b($this$launch, $completion);
551
+ return i.g3t($this$launch, $completion);
499
552
  }, 1);
500
553
  }
501
554
  function DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this$0, $ponger, resultContinuation) {
502
- this.d41_1 = this$0;
503
- this.e41_1 = $ponger;
555
+ this.e4j_1 = this$0;
556
+ this.f4j_1 = $ponger;
504
557
  CoroutineImpl.call(this, resultContinuation);
505
558
  }
506
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).q3b = function ($this$launch, $completion) {
507
- var tmp = this.r3b($this$launch, $completion);
508
- tmp.p8_1 = Unit_instance;
509
- tmp.q8_1 = null;
510
- return tmp.v8();
559
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).g3t = function ($this$launch, $completion) {
560
+ var tmp = this.h3t($this$launch, $completion);
561
+ tmp.x8_1 = Unit_instance;
562
+ tmp.y8_1 = null;
563
+ return tmp.d9();
511
564
  };
512
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).i9 = function (p1, $completion) {
513
- return this.q3b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
565
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).q9 = function (p1, $completion) {
566
+ return this.g3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
514
567
  };
515
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).v8 = function () {
516
- var suspendResult = this.p8_1;
568
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function () {
569
+ var suspendResult = this.x8_1;
517
570
  $sm: do
518
571
  try {
519
- var tmp = this.n8_1;
572
+ var tmp = this.v8_1;
520
573
  switch (tmp) {
521
574
  case 0:
522
- this.o8_1 = 39;
523
- this.p41_1 = null;
524
- this.i41_1 = null;
525
- this.h41_1 = false;
526
- this.j41_1 = Unit_instance;
527
- this.n8_1 = 1;
575
+ this.w8_1 = 39;
576
+ this.q4j_1 = null;
577
+ this.j4j_1 = null;
578
+ this.i4j_1 = false;
579
+ this.k4j_1 = Unit_instance;
580
+ this.v8_1 = 1;
528
581
  continue $sm;
529
582
  case 1:
530
- this.n8_1 = 2;
583
+ this.v8_1 = 2;
531
584
  continue $sm;
532
585
  case 2:
533
- this.o8_1 = 33;
534
- this.o8_1 = 32;
535
- this.t41_1 = this.d41_1.g3z_1.d3y();
536
- this.n8_1 = 3;
586
+ this.w8_1 = 33;
587
+ this.w8_1 = 32;
588
+ this.u4j_1 = this.e4j_1.h4h_1.e4g();
589
+ this.v8_1 = 3;
537
590
  continue $sm;
538
591
  case 3:
539
- this.m41_1 = this.t41_1;
540
- this.l41_1 = null;
541
- this.n8_1 = 4;
592
+ this.n4j_1 = this.u4j_1;
593
+ this.m4j_1 = null;
594
+ this.v8_1 = 4;
542
595
  continue $sm;
543
596
  case 4:
544
- this.n8_1 = 5;
597
+ this.v8_1 = 5;
545
598
  continue $sm;
546
599
  case 5:
547
- this.n8_1 = 6;
600
+ this.v8_1 = 6;
548
601
  continue $sm;
549
602
  case 6:
550
- this.o8_1 = 29;
551
- this.o8_1 = 28;
552
- this.s41_1 = this.m41_1.t();
553
- this.n8_1 = 7;
603
+ this.w8_1 = 29;
604
+ this.w8_1 = 28;
605
+ this.t4j_1 = this.n4j_1.t();
606
+ this.v8_1 = 7;
554
607
  continue $sm;
555
608
  case 7:
556
- this.n8_1 = 8;
557
- suspendResult = this.s41_1.s21(this);
609
+ this.v8_1 = 8;
610
+ suspendResult = this.t4j_1.l23(this);
558
611
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
559
612
  return suspendResult;
560
613
  }
@@ -562,46 +615,46 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).v8 = function
562
615
  continue $sm;
563
616
  case 8:
564
617
  if (!suspendResult) {
565
- this.n8_1 = 26;
618
+ this.v8_1 = 26;
566
619
  continue $sm;
567
620
  }
568
621
 
569
- var e = this.s41_1.v();
570
- this.r41_1 = e;
571
- this.n8_1 = 9;
622
+ var e = this.t4j_1.v();
623
+ this.s4j_1 = e;
624
+ this.v8_1 = 9;
572
625
  continue $sm;
573
626
  case 9:
574
- this.q41_1 = this.r41_1;
627
+ this.r4j_1 = this.s4j_1;
575
628
  var this_0 = get_LOGGER();
576
629
  if (get_isTraceEnabled(this_0)) {
577
- this_0.j3k('WebSocketSession(' + toString(this.f41_1) + ') receiving frame ' + this.q41_1.toString());
630
+ this_0.z41('WebSocketSession(' + toString(this.g4j_1) + ') receiving frame ' + this.r4j_1.toString());
578
631
  }
579
632
 
580
- var tmp0_subject = this.q41_1;
633
+ var tmp0_subject = this.r4j_1;
581
634
  if (tmp0_subject instanceof Close) {
582
- if (!this.d41_1.e3y().u21()) {
583
- this.n8_1 = 18;
584
- var tmp_0 = this.d41_1.e3y();
585
- var tmp1_elvis_lhs = readReason(this.q41_1);
586
- suspendResult = tmp_0.p23(Close_init_$Create$(tmp1_elvis_lhs == null ? get_NORMAL_CLOSE() : tmp1_elvis_lhs), this);
635
+ if (!this.e4j_1.f4g().n23()) {
636
+ this.v8_1 = 18;
637
+ var tmp_0 = this.e4j_1.f4g();
638
+ var tmp1_elvis_lhs = readReason(this.r4j_1);
639
+ suspendResult = tmp_0.i25(Close_init_$Create$(tmp1_elvis_lhs == null ? get_NORMAL_CLOSE() : tmp1_elvis_lhs), this);
587
640
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
588
641
  return suspendResult;
589
642
  }
590
643
  continue $sm;
591
644
  } else {
592
- this.n8_1 = 19;
645
+ this.v8_1 = 19;
593
646
  continue $sm;
594
647
  }
595
648
  } else {
596
649
  if (tmp0_subject instanceof Pong) {
597
- var tmp2_safe_receiver = this.d41_1.h3z_1.kotlinx$atomicfu$value;
650
+ var tmp2_safe_receiver = this.e4j_1.i4h_1.kotlinx$atomicfu$value;
598
651
  if (tmp2_safe_receiver == null) {
599
- this.o41_1 = null;
600
- this.n8_1 = 17;
652
+ this.p4j_1 = null;
653
+ this.v8_1 = 17;
601
654
  continue $sm;
602
655
  } else {
603
- this.n8_1 = 16;
604
- suspendResult = tmp2_safe_receiver.p23(this.q41_1, this);
656
+ this.v8_1 = 16;
657
+ suspendResult = tmp2_safe_receiver.i25(this.r4j_1, this);
605
658
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
606
659
  return suspendResult;
607
660
  }
@@ -609,15 +662,15 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).v8 = function
609
662
  }
610
663
  } else {
611
664
  if (tmp0_subject instanceof Ping) {
612
- this.n8_1 = 15;
613
- suspendResult = this.e41_1.p23(this.q41_1, this);
665
+ this.v8_1 = 15;
666
+ suspendResult = this.f4j_1.i25(this.r4j_1, this);
614
667
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
615
668
  return suspendResult;
616
669
  }
617
670
  continue $sm;
618
671
  } else {
619
- this.n8_1 = 10;
620
- suspendResult = checkMaxFrameSize(this.d41_1, this.i41_1, this.q41_1, this);
672
+ this.v8_1 = 10;
673
+ suspendResult = checkMaxFrameSize(this.e4j_1, this.j4j_1, this.r4j_1, this);
621
674
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
622
675
  return suspendResult;
623
676
  }
@@ -627,40 +680,40 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).v8 = function
627
680
  }
628
681
 
629
682
  case 10:
630
- if (!this.q41_1.u41_1) {
631
- if (this.p41_1 == null) {
632
- this.p41_1 = this.q41_1;
683
+ if (!this.r4j_1.u4f_1) {
684
+ if (this.q4j_1 == null) {
685
+ this.q4j_1 = this.r4j_1;
633
686
  }
634
- if (this.i41_1 == null) {
635
- this.i41_1 = BytePacketBuilder();
687
+ if (this.j4j_1 == null) {
688
+ this.j4j_1 = BytePacketBuilder();
636
689
  }
637
- writeFully(this.i41_1, this.q41_1.w41_1);
638
- this.n8_1 = 21;
690
+ writeFully(this.j4j_1, this.r4j_1.w4f_1);
691
+ this.v8_1 = 21;
639
692
  continue $sm;
640
693
  } else {
641
- this.n8_1 = 11;
694
+ this.v8_1 = 11;
642
695
  continue $sm;
643
696
  }
644
697
 
645
698
  case 11:
646
- if (this.p41_1 == null) {
647
- this.n8_1 = 14;
648
- suspendResult = this.d41_1.l3z_1.p23(processIncomingExtensions(this.d41_1, this.q41_1), this);
699
+ if (this.q4j_1 == null) {
700
+ this.v8_1 = 14;
701
+ suspendResult = this.e4j_1.m4h_1.i25(processIncomingExtensions(this.e4j_1, this.r4j_1), this);
649
702
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
650
703
  return suspendResult;
651
704
  }
652
705
  continue $sm;
653
706
  } else {
654
- this.n8_1 = 12;
707
+ this.v8_1 = 12;
655
708
  continue $sm;
656
709
  }
657
710
 
658
711
  case 12:
659
- writeFully(ensureNotNull(this.i41_1), this.q41_1.w41_1);
660
- var defragmented = Companion_getInstance_5().c42(true, this.p41_1.v41_1, readByteArray(build(this.i41_1)), this.p41_1.y41_1, this.p41_1.z41_1, this.p41_1.a42_1);
661
- this.p41_1 = null;
662
- this.n8_1 = 13;
663
- suspendResult = this.d41_1.l3z_1.p23(processIncomingExtensions(this.d41_1, defragmented), this);
712
+ writeFully(ensureNotNull(this.j4j_1), this.r4j_1.w4f_1);
713
+ var defragmented = Companion_getInstance_6().w4j(true, this.q4j_1.v4f_1, readByteArray(build(this.j4j_1)), this.q4j_1.y4f_1, this.q4j_1.z4f_1, this.q4j_1.a4g_1);
714
+ this.q4j_1 = null;
715
+ this.v8_1 = 13;
716
+ suspendResult = this.e4j_1.m4h_1.i25(processIncomingExtensions(this.e4j_1, defragmented), this);
664
717
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
665
718
  return suspendResult;
666
719
  }
@@ -668,314 +721,314 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).v8 = function
668
721
  continue $sm;
669
722
  case 13:
670
723
  var tmp_1 = this;
671
- tmp_1.n41_1 = Unit_instance;
672
- this.n8_1 = 20;
724
+ tmp_1.o4j_1 = Unit_instance;
725
+ this.v8_1 = 20;
673
726
  continue $sm;
674
727
  case 14:
675
- this.n8_1 = 21;
728
+ this.v8_1 = 21;
676
729
  continue $sm;
677
730
  case 15:
678
731
  var tmp_2 = this;
679
- tmp_2.n41_1 = Unit_instance;
680
- this.n8_1 = 20;
732
+ tmp_2.o4j_1 = Unit_instance;
733
+ this.v8_1 = 20;
681
734
  continue $sm;
682
735
  case 16:
683
736
  var tmp_3 = this;
684
- tmp_3.o41_1 = Unit_instance;
685
- this.n8_1 = 17;
737
+ tmp_3.p4j_1 = Unit_instance;
738
+ this.v8_1 = 17;
686
739
  continue $sm;
687
740
  case 17:
688
- this.n41_1 = this.o41_1;
689
- this.n8_1 = 20;
741
+ this.o4j_1 = this.p4j_1;
742
+ this.v8_1 = 20;
690
743
  continue $sm;
691
744
  case 18:
692
- this.n8_1 = 19;
745
+ this.v8_1 = 19;
693
746
  continue $sm;
694
747
  case 19:
695
- this.h41_1 = true;
696
- this.n8_1 = 22;
748
+ this.i4j_1 = true;
749
+ this.v8_1 = 22;
697
750
  var tmp_4 = this;
698
751
  continue $sm;
699
752
  case 20:
700
753
  if (false) {
701
- this.n8_1 = 9;
754
+ this.v8_1 = 9;
702
755
  continue $sm;
703
756
  }
704
757
 
705
- this.n8_1 = 21;
758
+ this.v8_1 = 21;
706
759
  continue $sm;
707
760
  case 21:
708
- this.n8_1 = 7;
761
+ this.v8_1 = 7;
709
762
  continue $sm;
710
763
  case 22:
711
- this.o8_1 = 32;
712
- cancelConsumed(this.m41_1, this.l41_1);
713
- this.o8_1 = 39;
714
- this.n8_1 = 23;
764
+ this.w8_1 = 32;
765
+ cancelConsumed(this.n4j_1, this.m4j_1);
766
+ this.w8_1 = 39;
767
+ this.v8_1 = 23;
715
768
  continue $sm;
716
769
  case 23:
717
- this.o8_1 = 39;
718
- this.e41_1.w23();
719
- var tmp0_safe_receiver = this.i41_1;
770
+ this.w8_1 = 39;
771
+ this.f4j_1.p25();
772
+ var tmp0_safe_receiver = this.j4j_1;
720
773
  if (tmp0_safe_receiver == null)
721
774
  null;
722
775
  else {
723
- tmp0_safe_receiver.c4();
776
+ tmp0_safe_receiver.d4();
724
777
  }
725
778
 
726
- this.d41_1.l3z_1.w23();
727
- if (!this.h41_1) {
728
- this.n8_1 = 24;
729
- suspendResult = close(this.d41_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
779
+ this.e4j_1.m4h_1.p25();
780
+ if (!this.i4j_1) {
781
+ this.v8_1 = 24;
782
+ suspendResult = close(this.e4j_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
730
783
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
731
784
  return suspendResult;
732
785
  }
733
786
  continue $sm;
734
787
  } else {
735
- this.n8_1 = 25;
788
+ this.v8_1 = 25;
736
789
  continue $sm;
737
790
  }
738
791
 
739
792
  case 24:
740
- this.n8_1 = 25;
793
+ this.v8_1 = 25;
741
794
  continue $sm;
742
795
  case 25:
743
796
  var tmp_5 = this;
744
797
  return Unit_instance;
745
798
  case 26:
746
- this.n8_1 = 27;
799
+ this.v8_1 = 27;
747
800
  var tmp_6 = this;
748
801
  continue $sm;
749
802
  case 27:
750
- this.o8_1 = 32;
751
- cancelConsumed(this.m41_1, this.l41_1);
752
- this.n8_1 = 31;
803
+ this.w8_1 = 32;
804
+ cancelConsumed(this.n4j_1, this.m4j_1);
805
+ this.v8_1 = 31;
753
806
  continue $sm;
754
807
  case 28:
755
- this.o8_1 = 29;
756
- var tmp_7 = this.q8_1;
808
+ this.w8_1 = 29;
809
+ var tmp_7 = this.y8_1;
757
810
  if (tmp_7 instanceof Error) {
758
- var e_0 = this.q8_1;
811
+ var e_0 = this.y8_1;
759
812
  var tmp_8 = this;
760
- this.l41_1 = e_0;
813
+ this.m4j_1 = e_0;
761
814
  throw e_0;
762
815
  } else {
763
- throw this.q8_1;
816
+ throw this.y8_1;
764
817
  }
765
818
 
766
819
  case 29:
767
- this.o8_1 = 32;
768
- var t = this.q8_1;
769
- cancelConsumed(this.m41_1, this.l41_1);
820
+ this.w8_1 = 32;
821
+ var t = this.y8_1;
822
+ cancelConsumed(this.n4j_1, this.m4j_1);
770
823
  throw t;
771
824
  case 30:
772
- this.o8_1 = 32;
773
- cancelConsumed(this.m41_1, this.l41_1);
825
+ this.w8_1 = 32;
826
+ cancelConsumed(this.n4j_1, this.m4j_1);
774
827
  if (false) {
775
- this.n8_1 = 3;
828
+ this.v8_1 = 3;
776
829
  continue $sm;
777
830
  }
778
831
 
779
- this.n8_1 = 31;
832
+ this.v8_1 = 31;
780
833
  continue $sm;
781
834
  case 31:
782
- this.j41_1 = Unit_instance;
783
- this.o8_1 = 39;
784
- this.n8_1 = 36;
835
+ this.k4j_1 = Unit_instance;
836
+ this.w8_1 = 39;
837
+ this.v8_1 = 36;
785
838
  continue $sm;
786
839
  case 32:
787
- this.o8_1 = 33;
788
- var tmp_9 = this.q8_1;
840
+ this.w8_1 = 33;
841
+ var tmp_9 = this.y8_1;
789
842
  if (tmp_9 instanceof ClosedSendChannelException) {
790
- var _unused_var__etf5q3 = this.q8_1;
843
+ var _unused_var__etf5q3 = this.y8_1;
791
844
  var tmp_10 = this;
792
- tmp_10.j41_1 = Unit_instance;
793
- this.o8_1 = 39;
794
- this.n8_1 = 36;
845
+ tmp_10.k4j_1 = Unit_instance;
846
+ this.w8_1 = 39;
847
+ this.v8_1 = 36;
795
848
  continue $sm;
796
849
  } else {
797
- var tmp_11 = this.q8_1;
850
+ var tmp_11 = this.y8_1;
798
851
  if (tmp_11 instanceof Error) {
799
- var cause = this.q8_1;
852
+ var cause = this.y8_1;
800
853
  var tmp_12 = this;
801
- this.e41_1.w23();
802
- tmp_12.j41_1 = this.d41_1.l3z_1.u23(cause);
803
- this.o8_1 = 39;
804
- this.n8_1 = 36;
854
+ this.f4j_1.p25();
855
+ tmp_12.k4j_1 = this.e4j_1.m4h_1.n25(cause);
856
+ this.w8_1 = 39;
857
+ this.v8_1 = 36;
805
858
  continue $sm;
806
859
  } else {
807
- throw this.q8_1;
860
+ throw this.y8_1;
808
861
  }
809
862
  }
810
863
 
811
864
  case 33:
812
- this.o8_1 = 39;
813
- this.k41_1 = this.q8_1;
814
- this.e41_1.w23();
815
- var tmp0_safe_receiver_0 = this.i41_1;
865
+ this.w8_1 = 39;
866
+ this.l4j_1 = this.y8_1;
867
+ this.f4j_1.p25();
868
+ var tmp0_safe_receiver_0 = this.j4j_1;
816
869
  if (tmp0_safe_receiver_0 == null)
817
870
  null;
818
871
  else {
819
- tmp0_safe_receiver_0.c4();
872
+ tmp0_safe_receiver_0.d4();
820
873
  }
821
874
 
822
- this.d41_1.l3z_1.w23();
823
- if (!this.h41_1) {
824
- this.n8_1 = 34;
825
- suspendResult = close(this.d41_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
875
+ this.e4j_1.m4h_1.p25();
876
+ if (!this.i4j_1) {
877
+ this.v8_1 = 34;
878
+ suspendResult = close(this.e4j_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
826
879
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
827
880
  return suspendResult;
828
881
  }
829
882
  continue $sm;
830
883
  } else {
831
- this.n8_1 = 35;
884
+ this.v8_1 = 35;
832
885
  continue $sm;
833
886
  }
834
887
 
835
888
  case 34:
836
- this.n8_1 = 35;
889
+ this.v8_1 = 35;
837
890
  continue $sm;
838
891
  case 35:
839
- throw this.k41_1;
892
+ throw this.l4j_1;
840
893
  case 36:
841
- this.g41_1 = this.j41_1;
842
- this.o8_1 = 39;
843
- this.e41_1.w23();
844
- var tmp0_safe_receiver_1 = this.i41_1;
894
+ this.h4j_1 = this.k4j_1;
895
+ this.w8_1 = 39;
896
+ this.f4j_1.p25();
897
+ var tmp0_safe_receiver_1 = this.j4j_1;
845
898
  if (tmp0_safe_receiver_1 == null)
846
899
  null;
847
900
  else {
848
- tmp0_safe_receiver_1.c4();
901
+ tmp0_safe_receiver_1.d4();
849
902
  }
850
903
 
851
- this.d41_1.l3z_1.w23();
852
- if (!this.h41_1) {
853
- this.n8_1 = 37;
854
- suspendResult = close(this.d41_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
904
+ this.e4j_1.m4h_1.p25();
905
+ if (!this.i4j_1) {
906
+ this.v8_1 = 37;
907
+ suspendResult = close(this.e4j_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
855
908
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
856
909
  return suspendResult;
857
910
  }
858
911
  continue $sm;
859
912
  } else {
860
- this.n8_1 = 38;
913
+ this.v8_1 = 38;
861
914
  continue $sm;
862
915
  }
863
916
 
864
917
  case 37:
865
- this.n8_1 = 38;
918
+ this.v8_1 = 38;
866
919
  continue $sm;
867
920
  case 38:
868
921
  return Unit_instance;
869
922
  case 39:
870
- throw this.q8_1;
923
+ throw this.y8_1;
871
924
  }
872
925
  } catch ($p) {
873
926
  var e_1 = $p;
874
- if (this.o8_1 === 39) {
927
+ if (this.w8_1 === 39) {
875
928
  throw e_1;
876
929
  } else {
877
- this.n8_1 = this.o8_1;
878
- this.q8_1 = e_1;
930
+ this.v8_1 = this.w8_1;
931
+ this.y8_1 = e_1;
879
932
  }
880
933
  }
881
934
  while (true);
882
935
  };
883
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).r3b = function ($this$launch, completion) {
884
- var i = new DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this.d41_1, this.e41_1, completion);
885
- i.f41_1 = $this$launch;
936
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).h3t = function ($this$launch, completion) {
937
+ var i = new DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this.e4j_1, this.f4j_1, completion);
938
+ i.g4j_1 = $this$launch;
886
939
  return i;
887
940
  };
888
941
  function DefaultWebSocketSessionImpl$runIncomingProcessor$slambda_0(this$0, $ponger, resultContinuation) {
889
942
  var i = new DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this$0, $ponger, resultContinuation);
890
943
  return constructCallableReference(function ($this$launch, $completion) {
891
- return i.q3b($this$launch, $completion);
944
+ return i.g3t($this$launch, $completion);
892
945
  }, 1);
893
946
  }
894
947
  function DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this$0, resultContinuation) {
895
- this.l42_1 = this$0;
948
+ this.f4k_1 = this$0;
896
949
  CoroutineImpl.call(this, resultContinuation);
897
950
  }
898
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).q3b = function ($this$launch, $completion) {
899
- var tmp = this.r3b($this$launch, $completion);
900
- tmp.p8_1 = Unit_instance;
901
- tmp.q8_1 = null;
902
- return tmp.v8();
951
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).g3t = function ($this$launch, $completion) {
952
+ var tmp = this.h3t($this$launch, $completion);
953
+ tmp.x8_1 = Unit_instance;
954
+ tmp.y8_1 = null;
955
+ return tmp.d9();
903
956
  };
904
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).i9 = function (p1, $completion) {
905
- return this.q3b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
957
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).q9 = function (p1, $completion) {
958
+ return this.g3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
906
959
  };
907
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).v8 = function () {
908
- var suspendResult = this.p8_1;
960
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).d9 = function () {
961
+ var suspendResult = this.x8_1;
909
962
  $sm: do
910
963
  try {
911
- var tmp = this.n8_1;
964
+ var tmp = this.v8_1;
912
965
  switch (tmp) {
913
966
  case 0:
914
- this.o8_1 = 13;
915
- this.n8_1 = 1;
967
+ this.w8_1 = 13;
968
+ this.v8_1 = 1;
916
969
  continue $sm;
917
970
  case 1:
918
- this.n8_1 = 2;
971
+ this.v8_1 = 2;
919
972
  continue $sm;
920
973
  case 2:
921
- this.o8_1 = 9;
922
- this.o8_1 = 4;
923
- this.n8_1 = 3;
924
- suspendResult = outgoingProcessorLoop(this.l42_1, this);
974
+ this.w8_1 = 9;
975
+ this.w8_1 = 4;
976
+ this.v8_1 = 3;
977
+ suspendResult = outgoingProcessorLoop(this.f4k_1, this);
925
978
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
926
979
  return suspendResult;
927
980
  }
928
981
 
929
982
  continue $sm;
930
983
  case 3:
931
- this.o8_1 = 13;
932
- this.n8_1 = 11;
984
+ this.w8_1 = 13;
985
+ this.v8_1 = 11;
933
986
  continue $sm;
934
987
  case 4:
935
- this.o8_1 = 9;
936
- var tmp_0 = this.q8_1;
988
+ this.w8_1 = 9;
989
+ var tmp_0 = this.y8_1;
937
990
  if (tmp_0 instanceof ClosedSendChannelException) {
938
- var _unused_var__etf5q3 = this.q8_1;
939
- this.o8_1 = 13;
940
- this.n8_1 = 11;
991
+ var _unused_var__etf5q3 = this.y8_1;
992
+ this.w8_1 = 13;
993
+ this.v8_1 = 11;
941
994
  continue $sm;
942
995
  } else {
943
- var tmp_1 = this.q8_1;
996
+ var tmp_1 = this.y8_1;
944
997
  if (tmp_1 instanceof ClosedReceiveChannelException) {
945
- var _unused_var__etf5q3_0 = this.q8_1;
946
- this.o8_1 = 13;
947
- this.n8_1 = 11;
998
+ var _unused_var__etf5q3_0 = this.y8_1;
999
+ this.w8_1 = 13;
1000
+ this.v8_1 = 11;
948
1001
  continue $sm;
949
1002
  } else {
950
- var tmp_2 = this.q8_1;
1003
+ var tmp_2 = this.y8_1;
951
1004
  if (tmp_2 instanceof CancellationException) {
952
- var _unused_var__etf5q3_1 = this.q8_1;
953
- this.n8_1 = 5;
954
- suspendResult = sendCloseSequence(this.l42_1, CloseReason_init_$Create$(Codes_NORMAL_getInstance(), ''), VOID, this);
1005
+ var _unused_var__etf5q3_1 = this.y8_1;
1006
+ this.v8_1 = 5;
1007
+ suspendResult = sendCloseSequence(this.f4k_1, CloseReason_init_$Create$(Codes_NORMAL_getInstance(), ''), VOID, this);
955
1008
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
956
1009
  return suspendResult;
957
1010
  }
958
1011
  continue $sm;
959
1012
  } else {
960
- var tmp_3 = this.q8_1;
1013
+ var tmp_3 = this.y8_1;
961
1014
  if (tmp_3 instanceof ChannelIOException) {
962
- var _unused_var__etf5q3_2 = this.q8_1;
963
- this.o8_1 = 13;
964
- this.n8_1 = 11;
1015
+ var _unused_var__etf5q3_2 = this.y8_1;
1016
+ this.w8_1 = 13;
1017
+ this.v8_1 = 11;
965
1018
  continue $sm;
966
1019
  } else {
967
- var tmp_4 = this.q8_1;
1020
+ var tmp_4 = this.y8_1;
968
1021
  if (tmp_4 instanceof Error) {
969
- var cause = this.q8_1;
970
- this.l42_1.m3z_1.w1n(CancellationException_init_$Create$('Failed to send frame', cause));
971
- this.n8_1 = 6;
972
- suspendResult = closeExceptionally(this.l42_1.g3z_1, cause, this);
1022
+ var cause = this.y8_1;
1023
+ this.f4k_1.n4h_1.g1o(CancellationException_init_$Create$('Failed to send frame', cause));
1024
+ this.v8_1 = 6;
1025
+ suspendResult = closeExceptionally(this.f4k_1.h4h_1, cause, this);
973
1026
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
974
1027
  return suspendResult;
975
1028
  }
976
1029
  continue $sm;
977
1030
  } else {
978
- throw this.q8_1;
1031
+ throw this.y8_1;
979
1032
  }
980
1033
  }
981
1034
  }
@@ -983,18 +1036,18 @@ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).v8 = function
983
1036
  }
984
1037
 
985
1038
  case 5:
986
- this.o8_1 = 13;
987
- this.n8_1 = 11;
1039
+ this.w8_1 = 13;
1040
+ this.v8_1 = 11;
988
1041
  continue $sm;
989
1042
  case 6:
990
- this.o8_1 = 13;
991
- this.n8_1 = 7;
1043
+ this.w8_1 = 13;
1044
+ this.v8_1 = 7;
992
1045
  continue $sm;
993
1046
  case 7:
994
- this.o8_1 = 13;
995
- this.l42_1.m3z_1.y23();
996
- this.n8_1 = 8;
997
- suspendResult = close(this.l42_1.g3z_1, VOID, this);
1047
+ this.w8_1 = 13;
1048
+ this.f4k_1.n4h_1.r25();
1049
+ this.v8_1 = 8;
1050
+ suspendResult = close(this.f4k_1.h4h_1, VOID, this);
998
1051
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
999
1052
  return suspendResult;
1000
1053
  }
@@ -1003,23 +1056,23 @@ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).v8 = function
1003
1056
  case 8:
1004
1057
  return Unit_instance;
1005
1058
  case 9:
1006
- this.o8_1 = 13;
1007
- this.n42_1 = this.q8_1;
1008
- this.l42_1.m3z_1.y23();
1009
- this.n8_1 = 10;
1010
- suspendResult = close(this.l42_1.g3z_1, VOID, this);
1059
+ this.w8_1 = 13;
1060
+ this.h4k_1 = this.y8_1;
1061
+ this.f4k_1.n4h_1.r25();
1062
+ this.v8_1 = 10;
1063
+ suspendResult = close(this.f4k_1.h4h_1, VOID, this);
1011
1064
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1012
1065
  return suspendResult;
1013
1066
  }
1014
1067
 
1015
1068
  continue $sm;
1016
1069
  case 10:
1017
- throw this.n42_1;
1070
+ throw this.h4k_1;
1018
1071
  case 11:
1019
- this.o8_1 = 13;
1020
- this.l42_1.m3z_1.y23();
1021
- this.n8_1 = 12;
1022
- suspendResult = close(this.l42_1.g3z_1, VOID, this);
1072
+ this.w8_1 = 13;
1073
+ this.f4k_1.n4h_1.r25();
1074
+ this.v8_1 = 12;
1075
+ suspendResult = close(this.f4k_1.h4h_1, VOID, this);
1023
1076
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1024
1077
  return suspendResult;
1025
1078
  }
@@ -1028,53 +1081,53 @@ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).v8 = function
1028
1081
  case 12:
1029
1082
  return Unit_instance;
1030
1083
  case 13:
1031
- throw this.q8_1;
1084
+ throw this.y8_1;
1032
1085
  }
1033
1086
  } catch ($p) {
1034
1087
  var e = $p;
1035
- if (this.o8_1 === 13) {
1088
+ if (this.w8_1 === 13) {
1036
1089
  throw e;
1037
1090
  } else {
1038
- this.n8_1 = this.o8_1;
1039
- this.q8_1 = e;
1091
+ this.v8_1 = this.w8_1;
1092
+ this.y8_1 = e;
1040
1093
  }
1041
1094
  }
1042
1095
  while (true);
1043
1096
  };
1044
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).r3b = function ($this$launch, completion) {
1045
- var i = new DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this.l42_1, completion);
1046
- i.m42_1 = $this$launch;
1097
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).h3t = function ($this$launch, completion) {
1098
+ var i = new DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this.f4k_1, completion);
1099
+ i.g4k_1 = $this$launch;
1047
1100
  return i;
1048
1101
  };
1049
1102
  function DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda_0(this$0, resultContinuation) {
1050
1103
  var i = new DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this$0, resultContinuation);
1051
1104
  return constructCallableReference(function ($this$launch, $completion) {
1052
- return i.q3b($this$launch, $completion);
1105
+ return i.g3t($this$launch, $completion);
1053
1106
  }, 1);
1054
1107
  }
1055
1108
  function DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this$0, resultContinuation) {
1056
- this.w42_1 = this$0;
1109
+ this.q4k_1 = this$0;
1057
1110
  CoroutineImpl.call(this, resultContinuation);
1058
1111
  }
1059
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).y42 = function (it, $completion) {
1060
- var tmp = this.z42(it, $completion);
1061
- tmp.p8_1 = Unit_instance;
1062
- tmp.q8_1 = null;
1063
- return tmp.v8();
1112
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).s4k = function (it, $completion) {
1113
+ var tmp = this.t4k(it, $completion);
1114
+ tmp.x8_1 = Unit_instance;
1115
+ tmp.y8_1 = null;
1116
+ return tmp.d9();
1064
1117
  };
1065
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).i9 = function (p1, $completion) {
1066
- return this.y42(p1 instanceof CloseReason ? p1 : THROW_CCE(), $completion);
1118
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).q9 = function (p1, $completion) {
1119
+ return this.s4k(p1 instanceof CloseReason ? p1 : THROW_CCE(), $completion);
1067
1120
  };
1068
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).v8 = function () {
1069
- var suspendResult = this.p8_1;
1121
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).d9 = function () {
1122
+ var suspendResult = this.x8_1;
1070
1123
  $sm: do
1071
1124
  try {
1072
- var tmp = this.n8_1;
1125
+ var tmp = this.v8_1;
1073
1126
  switch (tmp) {
1074
1127
  case 0:
1075
- this.o8_1 = 2;
1076
- this.n8_1 = 1;
1077
- suspendResult = sendCloseSequence(this.w42_1, this.x42_1, IOException_init_$Create$('Ping timeout'), this);
1128
+ this.w8_1 = 2;
1129
+ this.v8_1 = 1;
1130
+ suspendResult = sendCloseSequence(this.q4k_1, this.r4k_1, IOException_init_$Create$('Ping timeout'), this);
1078
1131
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1079
1132
  return suspendResult;
1080
1133
  }
@@ -1083,48 +1136,48 @@ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).v8 = function ()
1083
1136
  case 1:
1084
1137
  return Unit_instance;
1085
1138
  case 2:
1086
- throw this.q8_1;
1139
+ throw this.y8_1;
1087
1140
  }
1088
1141
  } catch ($p) {
1089
1142
  var e = $p;
1090
- if (this.o8_1 === 2) {
1143
+ if (this.w8_1 === 2) {
1091
1144
  throw e;
1092
1145
  } else {
1093
- this.n8_1 = this.o8_1;
1094
- this.q8_1 = e;
1146
+ this.v8_1 = this.w8_1;
1147
+ this.y8_1 = e;
1095
1148
  }
1096
1149
  }
1097
1150
  while (true);
1098
1151
  };
1099
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).z42 = function (it, completion) {
1100
- var i = new DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this.w42_1, completion);
1101
- i.x42_1 = it;
1152
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).t4k = function (it, completion) {
1153
+ var i = new DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this.q4k_1, completion);
1154
+ i.r4k_1 = it;
1102
1155
  return i;
1103
1156
  };
1104
1157
  function DefaultWebSocketSessionImpl$runOrCancelPinger$slambda_0(this$0, resultContinuation) {
1105
1158
  var i = new DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this$0, resultContinuation);
1106
1159
  return constructCallableReference(function (it, $completion) {
1107
- return i.y42(it, $completion);
1160
+ return i.s4k(it, $completion);
1108
1161
  }, 1);
1109
1162
  }
1110
1163
  function $outgoingProcessorLoopCOROUTINE$(_this__u8e3s4, resultContinuation) {
1111
1164
  CoroutineImpl.call(this, resultContinuation);
1112
- this.r3y_1 = _this__u8e3s4;
1165
+ this.s4g_1 = _this__u8e3s4;
1113
1166
  }
1114
- protoOf($outgoingProcessorLoopCOROUTINE$).v8 = function () {
1115
- var suspendResult = this.p8_1;
1167
+ protoOf($outgoingProcessorLoopCOROUTINE$).d9 = function () {
1168
+ var suspendResult = this.x8_1;
1116
1169
  $sm: do
1117
1170
  try {
1118
- var tmp = this.n8_1;
1171
+ var tmp = this.v8_1;
1119
1172
  switch (tmp) {
1120
1173
  case 0:
1121
- this.o8_1 = 7;
1122
- this.t3y_1 = this.r3y_1.m3z_1.t();
1123
- this.n8_1 = 1;
1174
+ this.w8_1 = 7;
1175
+ this.u4g_1 = this.s4g_1.n4h_1.t();
1176
+ this.v8_1 = 1;
1124
1177
  continue $sm;
1125
1178
  case 1:
1126
- this.n8_1 = 2;
1127
- suspendResult = this.t3y_1.s21(this);
1179
+ this.v8_1 = 2;
1180
+ suspendResult = this.u4g_1.l23(this);
1128
1181
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1129
1182
  return suspendResult;
1130
1183
  }
@@ -1132,19 +1185,19 @@ protoOf($outgoingProcessorLoopCOROUTINE$).v8 = function () {
1132
1185
  continue $sm;
1133
1186
  case 2:
1134
1187
  if (!suspendResult) {
1135
- this.n8_1 = 6;
1188
+ this.v8_1 = 6;
1136
1189
  continue $sm;
1137
1190
  }
1138
1191
 
1139
- var frame = this.t3y_1.v();
1192
+ var frame = this.u4g_1.v();
1140
1193
  var this_0 = get_LOGGER();
1141
1194
  if (get_isTraceEnabled(this_0)) {
1142
- this_0.j3k('Sending ' + frame.toString() + ' from session ' + toString(this.r3y_1));
1195
+ this_0.z41('Sending ' + frame.toString() + ' from session ' + toString(this.s4g_1));
1143
1196
  }
1144
1197
 
1145
1198
  if (frame instanceof Close) {
1146
- this.n8_1 = 3;
1147
- suspendResult = sendCloseSequence(this.r3y_1, readReason(frame), VOID, this);
1199
+ this.v8_1 = 3;
1200
+ suspendResult = sendCloseSequence(this.s4g_1, readReason(frame), VOID, this);
1148
1201
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1149
1202
  return suspendResult;
1150
1203
  }
@@ -1157,223 +1210,223 @@ protoOf($outgoingProcessorLoopCOROUTINE$).v8 = function () {
1157
1210
  tmp_0 = frame instanceof Binary;
1158
1211
  }
1159
1212
  if (tmp_0) {
1160
- this.s3y_1 = processOutgoingExtensions(this.r3y_1, frame);
1161
- this.n8_1 = 4;
1213
+ this.t4g_1 = processOutgoingExtensions(this.s4g_1, frame);
1214
+ this.v8_1 = 4;
1162
1215
  continue $sm;
1163
1216
  } else {
1164
- this.s3y_1 = frame;
1165
- this.n8_1 = 4;
1217
+ this.t4g_1 = frame;
1218
+ this.v8_1 = 4;
1166
1219
  continue $sm;
1167
1220
  }
1168
1221
  }
1169
1222
 
1170
1223
  case 3:
1171
- this.n8_1 = 6;
1224
+ this.v8_1 = 6;
1172
1225
  var tmp_1 = this;
1173
1226
  continue $sm;
1174
1227
  case 4:
1175
- var processedFrame = this.s3y_1;
1176
- this.n8_1 = 5;
1177
- suspendResult = this.r3y_1.g3z_1.e3y().p23(processedFrame, this);
1228
+ var processedFrame = this.t4g_1;
1229
+ this.v8_1 = 5;
1230
+ suspendResult = this.s4g_1.h4h_1.f4g().i25(processedFrame, this);
1178
1231
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1179
1232
  return suspendResult;
1180
1233
  }
1181
1234
 
1182
1235
  continue $sm;
1183
1236
  case 5:
1184
- this.n8_1 = 1;
1237
+ this.v8_1 = 1;
1185
1238
  continue $sm;
1186
1239
  case 6:
1187
1240
  return Unit_instance;
1188
1241
  case 7:
1189
- throw this.q8_1;
1242
+ throw this.y8_1;
1190
1243
  }
1191
1244
  } catch ($p) {
1192
1245
  var e = $p;
1193
- if (this.o8_1 === 7) {
1246
+ if (this.w8_1 === 7) {
1194
1247
  throw e;
1195
1248
  } else {
1196
- this.n8_1 = this.o8_1;
1197
- this.q8_1 = e;
1249
+ this.v8_1 = this.w8_1;
1250
+ this.y8_1 = e;
1198
1251
  }
1199
1252
  }
1200
1253
  while (true);
1201
1254
  };
1202
1255
  function $sendCloseSequenceCOROUTINE$(_this__u8e3s4, reason, exception, resultContinuation) {
1203
1256
  CoroutineImpl.call(this, resultContinuation);
1204
- this.c3z_1 = _this__u8e3s4;
1205
- this.d3z_1 = reason;
1206
- this.e3z_1 = exception;
1257
+ this.d4h_1 = _this__u8e3s4;
1258
+ this.e4h_1 = reason;
1259
+ this.f4h_1 = exception;
1207
1260
  }
1208
- protoOf($sendCloseSequenceCOROUTINE$).v8 = function () {
1209
- var suspendResult = this.p8_1;
1261
+ protoOf($sendCloseSequenceCOROUTINE$).d9 = function () {
1262
+ var suspendResult = this.x8_1;
1210
1263
  $sm: do
1211
1264
  try {
1212
- var tmp = this.n8_1;
1265
+ var tmp = this.v8_1;
1213
1266
  switch (tmp) {
1214
1267
  case 0:
1215
- this.o8_1 = 6;
1216
- if (!tryClose(this.c3z_1))
1268
+ this.w8_1 = 6;
1269
+ if (!tryClose(this.d4h_1))
1217
1270
  return Unit_instance;
1218
1271
  var this_0 = get_LOGGER();
1219
1272
  if (get_isTraceEnabled(this_0)) {
1220
- this_0.j3k('Sending Close Sequence for session ' + toString(this.c3z_1) + ' with reason ' + toString_0(this.d3z_1) + ' and exception ' + toString_0(this.e3z_1));
1273
+ this_0.z41('Sending Close Sequence for session ' + toString(this.d4h_1) + ' with reason ' + toString_0(this.e4h_1) + ' and exception ' + toString_0(this.f4h_1));
1221
1274
  }
1222
1275
 
1223
- this.c3z_1.j3z_1.j1t();
1276
+ this.d4h_1.k4h_1.f1v();
1224
1277
  var tmp_0 = this;
1225
- var tmp0_elvis_lhs = this.d3z_1;
1226
- tmp_0.f3z_1 = tmp0_elvis_lhs == null ? CloseReason_init_$Create$(Codes_NORMAL_getInstance(), '') : tmp0_elvis_lhs;
1227
- this.n8_1 = 1;
1278
+ var tmp0_elvis_lhs = this.e4h_1;
1279
+ tmp_0.g4h_1 = tmp0_elvis_lhs == null ? CloseReason_init_$Create$(Codes_NORMAL_getInstance(), '') : tmp0_elvis_lhs;
1280
+ this.v8_1 = 1;
1228
1281
  continue $sm;
1229
1282
  case 1:
1230
- this.o8_1 = 5;
1231
- runOrCancelPinger(this.c3z_1);
1232
- if (!(this.f3z_1.x3x_1 === Codes_CLOSED_ABNORMALLY_getInstance().t3x_1)) {
1233
- this.n8_1 = 2;
1234
- suspendResult = this.c3z_1.g3z_1.e3y().p23(Close_init_$Create$(this.f3z_1), this);
1283
+ this.w8_1 = 5;
1284
+ runOrCancelPinger(this.d4h_1);
1285
+ if (!(this.g4h_1.n4f_1 === Codes_CLOSED_ABNORMALLY_getInstance().j4f_1)) {
1286
+ this.v8_1 = 2;
1287
+ suspendResult = this.d4h_1.h4h_1.f4g().i25(Close_init_$Create$(this.g4h_1), this);
1235
1288
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1236
1289
  return suspendResult;
1237
1290
  }
1238
1291
  continue $sm;
1239
1292
  } else {
1240
- this.n8_1 = 3;
1293
+ this.v8_1 = 3;
1241
1294
  continue $sm;
1242
1295
  }
1243
1296
 
1244
1297
  case 2:
1245
- this.n8_1 = 3;
1298
+ this.v8_1 = 3;
1246
1299
  continue $sm;
1247
1300
  case 3:
1248
- this.o8_1 = 6;
1249
- this.n8_1 = 4;
1301
+ this.w8_1 = 6;
1302
+ this.v8_1 = 4;
1250
1303
  continue $sm;
1251
1304
  case 4:
1252
- this.o8_1 = 6;
1253
- this.c3z_1.i3z_1.h1t(this.f3z_1);
1254
- if (!(this.e3z_1 == null)) {
1255
- this.c3z_1.m3z_1.u23(this.e3z_1);
1256
- this.c3z_1.l3z_1.u23(this.e3z_1);
1305
+ this.w8_1 = 6;
1306
+ this.d4h_1.j4h_1.d1v(this.g4h_1);
1307
+ if (!(this.f4h_1 == null)) {
1308
+ this.d4h_1.n4h_1.n25(this.f4h_1);
1309
+ this.d4h_1.m4h_1.n25(this.f4h_1);
1257
1310
  }
1258
1311
 
1259
1312
  return Unit_instance;
1260
1313
  case 5:
1261
- this.o8_1 = 6;
1262
- var t = this.q8_1;
1263
- this.c3z_1.i3z_1.h1t(this.f3z_1);
1264
- if (!(this.e3z_1 == null)) {
1265
- this.c3z_1.m3z_1.u23(this.e3z_1);
1266
- this.c3z_1.l3z_1.u23(this.e3z_1);
1314
+ this.w8_1 = 6;
1315
+ var t = this.y8_1;
1316
+ this.d4h_1.j4h_1.d1v(this.g4h_1);
1317
+ if (!(this.f4h_1 == null)) {
1318
+ this.d4h_1.n4h_1.n25(this.f4h_1);
1319
+ this.d4h_1.m4h_1.n25(this.f4h_1);
1267
1320
  }
1268
1321
 
1269
1322
  throw t;
1270
1323
  case 6:
1271
- throw this.q8_1;
1324
+ throw this.y8_1;
1272
1325
  }
1273
1326
  } catch ($p) {
1274
1327
  var e = $p;
1275
- if (this.o8_1 === 6) {
1328
+ if (this.w8_1 === 6) {
1276
1329
  throw e;
1277
1330
  } else {
1278
- this.n8_1 = this.o8_1;
1279
- this.q8_1 = e;
1331
+ this.v8_1 = this.w8_1;
1332
+ this.y8_1 = e;
1280
1333
  }
1281
1334
  }
1282
1335
  while (true);
1283
1336
  };
1284
1337
  function $checkMaxFrameSizeCOROUTINE$(_this__u8e3s4, packet, frame, resultContinuation) {
1285
1338
  CoroutineImpl.call(this, resultContinuation);
1286
- this.c40_1 = _this__u8e3s4;
1287
- this.d40_1 = packet;
1288
- this.e40_1 = frame;
1339
+ this.d4i_1 = _this__u8e3s4;
1340
+ this.e4i_1 = packet;
1341
+ this.f4i_1 = frame;
1289
1342
  }
1290
- protoOf($checkMaxFrameSizeCOROUTINE$).v8 = function () {
1291
- var suspendResult = this.p8_1;
1343
+ protoOf($checkMaxFrameSizeCOROUTINE$).d9 = function () {
1344
+ var suspendResult = this.x8_1;
1292
1345
  $sm: do
1293
1346
  try {
1294
- var tmp = this.n8_1;
1347
+ var tmp = this.v8_1;
1295
1348
  switch (tmp) {
1296
1349
  case 0:
1297
- this.o8_1 = 3;
1350
+ this.w8_1 = 3;
1298
1351
  var tmp_0 = this;
1299
- var tmp_1 = this.e40_1.w41_1.length;
1300
- var tmp0_safe_receiver = this.d40_1;
1352
+ var tmp_1 = this.f4i_1.w4f_1.length;
1353
+ var tmp0_safe_receiver = this.e4i_1;
1301
1354
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : get_size(tmp0_safe_receiver);
1302
- tmp_0.f40_1 = tmp_1 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
1303
- if (compare(fromInt(this.f40_1), this.c40_1.c3y()) > 0) {
1304
- var tmp2_safe_receiver = this.d40_1;
1355
+ tmp_0.g4i_1 = tmp_1 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
1356
+ if (compare(fromInt(this.g4i_1), this.d4i_1.d4g()) > 0) {
1357
+ var tmp2_safe_receiver = this.e4i_1;
1305
1358
  if (tmp2_safe_receiver == null)
1306
1359
  null;
1307
1360
  else {
1308
- tmp2_safe_receiver.c4();
1361
+ tmp2_safe_receiver.d4();
1309
1362
  }
1310
- this.n8_1 = 2;
1311
- suspendResult = close(this.c40_1, CloseReason_init_$Create$(Codes_TOO_BIG_getInstance(), 'Frame is too big: ' + this.f40_1 + '. Max size is ' + this.c40_1.c3y().toString()), this);
1363
+ this.v8_1 = 2;
1364
+ suspendResult = close(this.d4i_1, CloseReason_init_$Create$(Codes_TOO_BIG_getInstance(), 'Frame is too big: ' + this.g4i_1 + '. Max size is ' + this.d4i_1.d4g().toString()), this);
1312
1365
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1313
1366
  return suspendResult;
1314
1367
  }
1315
1368
  continue $sm;
1316
1369
  } else {
1317
- this.n8_1 = 1;
1370
+ this.v8_1 = 1;
1318
1371
  continue $sm;
1319
1372
  }
1320
1373
 
1321
1374
  case 1:
1322
1375
  return Unit_instance;
1323
1376
  case 2:
1324
- throw new FrameTooBigException(fromInt(this.f40_1));
1377
+ throw new FrameTooBigException(fromInt(this.g4i_1));
1325
1378
  case 3:
1326
- throw this.q8_1;
1379
+ throw this.y8_1;
1327
1380
  }
1328
1381
  } catch ($p) {
1329
1382
  var e = $p;
1330
- if (this.o8_1 === 3) {
1383
+ if (this.w8_1 === 3) {
1331
1384
  throw e;
1332
1385
  } else {
1333
- this.n8_1 = this.o8_1;
1334
- this.q8_1 = e;
1386
+ this.v8_1 = this.w8_1;
1387
+ this.y8_1 = e;
1335
1388
  }
1336
1389
  }
1337
1390
  while (true);
1338
1391
  };
1339
1392
  function DefaultWebSocketSessionImpl(raw, pingIntervalMillis, timeoutMillis, incomingFramesConfig, outgoingFramesConfig) {
1340
- Companion_getInstance_0();
1341
- this.g3z_1 = raw;
1342
- this.h3z_1 = atomic$ref$1(null);
1343
- this.i3z_1 = CompletableDeferred();
1344
- this.j3z_1 = Job();
1345
- this.k3z_1 = this.g3z_1.m1m().kh(Key_instance).mh(this.j3z_1).mh(new CoroutineName('ws-default'));
1346
- this.l3z_1 = from(Factory_getInstance(), incomingFramesConfig);
1347
- this.m3z_1 = from(Factory_getInstance(), outgoingFramesConfig);
1348
- this.n3z_1 = atomic$boolean$1(false);
1393
+ Companion_getInstance_1();
1394
+ this.h4h_1 = raw;
1395
+ this.i4h_1 = atomic$ref$1(null);
1396
+ this.j4h_1 = CompletableDeferred();
1397
+ this.k4h_1 = Job();
1398
+ this.l4h_1 = this.h4h_1.w1m().uh(Key_instance).wh(this.k4h_1).wh(new CoroutineName('ws-default'));
1399
+ this.m4h_1 = from(Factory_getInstance(), incomingFramesConfig);
1400
+ this.n4h_1 = from(Factory_getInstance(), outgoingFramesConfig);
1401
+ this.o4h_1 = atomic$boolean$1(false);
1349
1402
  var tmp = this;
1350
1403
  // Inline function 'kotlin.collections.mutableListOf' call
1351
- tmp.o3z_1 = ArrayList_init_$Create$();
1352
- this.p3z_1 = atomic$boolean$1(false);
1353
- this.q3z_1 = pingIntervalMillis;
1354
- this.r3z_1 = timeoutMillis;
1355
- this.s3z_1 = this.i3z_1;
1404
+ tmp.p4h_1 = ArrayList_init_$Create$();
1405
+ this.q4h_1 = atomic$boolean$1(false);
1406
+ this.r4h_1 = pingIntervalMillis;
1407
+ this.s4h_1 = timeoutMillis;
1408
+ this.t4h_1 = this.j4h_1;
1356
1409
  }
1357
- protoOf(DefaultWebSocketSessionImpl).m1m = function () {
1358
- return this.k3z_1;
1410
+ protoOf(DefaultWebSocketSessionImpl).w1m = function () {
1411
+ return this.l4h_1;
1359
1412
  };
1360
- protoOf(DefaultWebSocketSessionImpl).d3y = function () {
1361
- return this.l3z_1;
1413
+ protoOf(DefaultWebSocketSessionImpl).e4g = function () {
1414
+ return this.m4h_1;
1362
1415
  };
1363
- protoOf(DefaultWebSocketSessionImpl).e3y = function () {
1364
- return this.m3z_1;
1416
+ protoOf(DefaultWebSocketSessionImpl).f4g = function () {
1417
+ return this.n4h_1;
1365
1418
  };
1366
- protoOf(DefaultWebSocketSessionImpl).g40 = function () {
1367
- return this.o3z_1;
1419
+ protoOf(DefaultWebSocketSessionImpl).h4i = function () {
1420
+ return this.p4h_1;
1368
1421
  };
1369
- protoOf(DefaultWebSocketSessionImpl).b3y = function (value) {
1370
- this.g3z_1.b3y(value);
1422
+ protoOf(DefaultWebSocketSessionImpl).c4g = function (value) {
1423
+ this.h4h_1.c4g(value);
1371
1424
  };
1372
- protoOf(DefaultWebSocketSessionImpl).c3y = function () {
1373
- return this.g3z_1.c3y();
1425
+ protoOf(DefaultWebSocketSessionImpl).d4g = function () {
1426
+ return this.h4h_1.d4g();
1374
1427
  };
1375
- protoOf(DefaultWebSocketSessionImpl).a3y = function (negotiatedExtensions) {
1376
- if (!this.p3z_1.atomicfu$compareAndSet(false, true)) {
1428
+ protoOf(DefaultWebSocketSessionImpl).b4g = function (negotiatedExtensions) {
1429
+ if (!this.q4h_1.atomicfu$compareAndSet(false, true)) {
1377
1430
  // Inline function 'kotlin.error' call
1378
1431
  var message = 'WebSocket session ' + toString(this) + ' is already started.';
1379
1432
  throw IllegalStateException_init_$Create$(toString(message));
@@ -1382,16 +1435,16 @@ protoOf(DefaultWebSocketSessionImpl).a3y = function (negotiatedExtensions) {
1382
1435
  var this_0 = get_LOGGER();
1383
1436
  if (get_isTraceEnabled(this_0)) {
1384
1437
  var tmp$ret$2 = 'Starting default WebSocketSession(' + toString(this) + ') ' + ('with negotiated extensions: ' + joinToString(negotiatedExtensions));
1385
- this_0.j3k(tmp$ret$2);
1438
+ this_0.z41(tmp$ret$2);
1386
1439
  }
1387
- this.o3z_1.i1(negotiatedExtensions);
1440
+ this.p4h_1.j1(negotiatedExtensions);
1388
1441
  runOrCancelPinger(this);
1389
- var incomingJob = runIncomingProcessor(this, ponger(this, this.e3y()));
1442
+ var incomingJob = runIncomingProcessor(this, ponger(this, this.f4g()));
1390
1443
  var outgoingJob = runOutgoingProcessor(this);
1391
1444
  launch(this, VOID, VOID, DefaultWebSocketSessionImpl$start$slambda_0(incomingJob, outgoingJob, this, null));
1392
1445
  };
1393
- protoOf(DefaultWebSocketSessionImpl).f33 = function ($completion) {
1394
- return this.g3z_1.f33($completion);
1446
+ protoOf(DefaultWebSocketSessionImpl).r3k = function ($completion) {
1447
+ return this.h4h_1.r3k($completion);
1395
1448
  };
1396
1449
  var properties_initialized_DefaultWebSocketSession_kt_6cjlhc;
1397
1450
  function _init_properties_DefaultWebSocketSession_kt__469s0y() {
@@ -1413,20 +1466,20 @@ function _init_properties_DefaultWebSocketSession_kt__469s0y() {
1413
1466
  }
1414
1467
  }
1415
1468
  function readReason(_this__u8e3s4) {
1416
- if (_this__u8e3s4.w41_1.length < 2) {
1469
+ if (_this__u8e3s4.w4f_1.length < 2) {
1417
1470
  return null;
1418
1471
  }
1419
1472
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
1420
1473
  var builder = new Buffer();
1421
- writeFully(builder, _this__u8e3s4.w41_1);
1474
+ writeFully(builder, _this__u8e3s4.w4f_1);
1422
1475
  var packet = builder;
1423
- var code = packet.r2y();
1476
+ var code = packet.c3g();
1424
1477
  var message = readText(packet);
1425
1478
  return new CloseReason(code, message);
1426
1479
  }
1427
1480
  function NonDisposableHandle() {
1428
1481
  }
1429
- protoOf(NonDisposableHandle).c1q = function () {
1482
+ protoOf(NonDisposableHandle).u1p = function () {
1430
1483
  return Unit_instance;
1431
1484
  };
1432
1485
  protoOf(NonDisposableHandle).toString = function () {
@@ -1450,23 +1503,23 @@ function FrameTooBigException(frameSize, cause) {
1450
1503
  cause = cause === VOID ? null : cause;
1451
1504
  Exception_init_$Init$(cause, this);
1452
1505
  captureStack(this, FrameTooBigException);
1453
- this.a43_1 = frameSize;
1506
+ this.u4k_1 = frameSize;
1454
1507
  delete this.message;
1455
1508
  }
1456
1509
  protoOf(FrameTooBigException).e = function () {
1457
- var sizeSuffix = compare(this.a43_1, new Long(0, 0)) >= 0 ? ': ' + this.a43_1.toString() : '';
1510
+ var sizeSuffix = compare(this.u4k_1, new Long(0, 0)) >= 0 ? ': ' + this.u4k_1.toString() : '';
1458
1511
  return 'Frame is too big' + sizeSuffix;
1459
1512
  };
1460
- protoOf(FrameTooBigException).s1t = function () {
1461
- return new FrameTooBigException(this.a43_1, this);
1513
+ protoOf(FrameTooBigException).o1v = function () {
1514
+ return new FrameTooBigException(this.u4k_1, this);
1462
1515
  };
1463
1516
  var FrameType_TEXT_instance;
1464
1517
  var FrameType_BINARY_instance;
1465
1518
  var FrameType_CLOSE_instance;
1466
1519
  var FrameType_PING_instance;
1467
1520
  var FrameType_PONG_instance;
1468
- function Companion_1() {
1469
- Companion_instance_1 = this;
1521
+ function Companion_2() {
1522
+ Companion_instance_2 = this;
1470
1523
  var tmp = this;
1471
1524
  var tmp0 = get_entries_0();
1472
1525
  var tmp$ret$0;
@@ -1482,10 +1535,10 @@ function Companion_1() {
1482
1535
  tmp$ret$0 = maxElem;
1483
1536
  break $l$block_0;
1484
1537
  }
1485
- var maxValue = maxElem.e43_1;
1538
+ var maxValue = maxElem.t4f_1;
1486
1539
  do {
1487
1540
  var e = iterator.v();
1488
- var v = e.e43_1;
1541
+ var v = e.t4f_1;
1489
1542
  if (compareTo(maxValue, v) < 0) {
1490
1543
  maxElem = e;
1491
1544
  maxValue = v;
@@ -1494,10 +1547,10 @@ function Companion_1() {
1494
1547
  while (iterator.u());
1495
1548
  tmp$ret$0 = maxElem;
1496
1549
  }
1497
- tmp.f43_1 = ensureNotNull(tmp$ret$0).e43_1;
1550
+ tmp.v4k_1 = ensureNotNull(tmp$ret$0).t4f_1;
1498
1551
  var tmp_0 = this;
1499
1552
  var tmp_1 = 0;
1500
- var tmp_2 = this.f43_1 + 1 | 0;
1553
+ var tmp_2 = this.v4k_1 + 1 | 0;
1501
1554
  // Inline function 'kotlin.arrayOfNulls' call
1502
1555
  var tmp_3 = Array(tmp_2);
1503
1556
  while (tmp_1 < tmp_2) {
@@ -1511,7 +1564,7 @@ function Companion_1() {
1511
1564
  var _iterator__ex2g4s = tmp0_0.t();
1512
1565
  while (_iterator__ex2g4s.u()) {
1513
1566
  var element = _iterator__ex2g4s.v();
1514
- if (element.e43_1 === tmp_4) {
1567
+ if (element.t4f_1 === tmp_4) {
1515
1568
  if (found) {
1516
1569
  tmp$ret$5 = null;
1517
1570
  break $l$block_2;
@@ -1529,14 +1582,14 @@ function Companion_1() {
1529
1582
  tmp_3[tmp_4] = tmp$ret$5;
1530
1583
  tmp_1 = tmp_1 + 1 | 0;
1531
1584
  }
1532
- tmp_0.g43_1 = tmp_3;
1585
+ tmp_0.w4k_1 = tmp_3;
1533
1586
  }
1534
- var Companion_instance_1;
1535
- function Companion_getInstance_1() {
1587
+ var Companion_instance_2;
1588
+ function Companion_getInstance_2() {
1536
1589
  FrameType_initEntries();
1537
- if (Companion_instance_1 == null)
1538
- new Companion_1();
1539
- return Companion_instance_1;
1590
+ if (Companion_instance_2 == null)
1591
+ new Companion_2();
1592
+ return Companion_instance_2;
1540
1593
  }
1541
1594
  function values_0() {
1542
1595
  return [FrameType_TEXT_getInstance(), FrameType_BINARY_getInstance(), FrameType_CLOSE_getInstance(), FrameType_PING_getInstance(), FrameType_PONG_getInstance()];
@@ -1556,13 +1609,13 @@ function FrameType_initEntries() {
1556
1609
  FrameType_CLOSE_instance = new FrameType('CLOSE', 2, true, 8);
1557
1610
  FrameType_PING_instance = new FrameType('PING', 3, true, 9);
1558
1611
  FrameType_PONG_instance = new FrameType('PONG', 4, true, 10);
1559
- Companion_getInstance_1();
1612
+ Companion_getInstance_2();
1560
1613
  }
1561
1614
  var $ENTRIES_0;
1562
1615
  function FrameType(name, ordinal, controlFrame, opcode) {
1563
1616
  Enum.call(this, name, ordinal);
1564
- this.d43_1 = controlFrame;
1565
- this.e43_1 = opcode;
1617
+ this.s4f_1 = controlFrame;
1618
+ this.t4f_1 = opcode;
1566
1619
  }
1567
1620
  function FrameType_TEXT_getInstance() {
1568
1621
  FrameType_initEntries();
@@ -1605,55 +1658,55 @@ function pinger(_this__u8e3s4, outgoing, periodMillis, timeoutMillis, onTimeout)
1605
1658
  _init_properties_PingPong_kt__9aqxey();
1606
1659
  var actorJob = Job();
1607
1660
  var channel = Channel(2147483647);
1608
- var tmp = actorJob.mh(get_PingerCoroutineName());
1661
+ var tmp = actorJob.wh(get_PingerCoroutineName());
1609
1662
  launch(_this__u8e3s4, tmp, VOID, pinger$slambda_0(periodMillis, timeoutMillis, onTimeout, channel, outgoing, null));
1610
- var tmp_0 = ensureNotNull(_this__u8e3s4.m1m().a9(Key_instance));
1611
- tmp_0.p1n(pinger$lambda(actorJob));
1663
+ var tmp_0 = ensureNotNull(_this__u8e3s4.w1m().i9(Key_instance));
1664
+ tmp_0.z1n(pinger$lambda(actorJob));
1612
1665
  return channel;
1613
1666
  }
1614
1667
  function ponger$slambda($channel, $outgoing, resultContinuation) {
1615
- this.p43_1 = $channel;
1616
- this.q43_1 = $outgoing;
1668
+ this.f4l_1 = $channel;
1669
+ this.g4l_1 = $outgoing;
1617
1670
  CoroutineImpl.call(this, resultContinuation);
1618
1671
  }
1619
- protoOf(ponger$slambda).q3b = function ($this$launch, $completion) {
1620
- var tmp = this.r3b($this$launch, $completion);
1621
- tmp.p8_1 = Unit_instance;
1622
- tmp.q8_1 = null;
1623
- return tmp.v8();
1672
+ protoOf(ponger$slambda).g3t = function ($this$launch, $completion) {
1673
+ var tmp = this.h3t($this$launch, $completion);
1674
+ tmp.x8_1 = Unit_instance;
1675
+ tmp.y8_1 = null;
1676
+ return tmp.d9();
1624
1677
  };
1625
- protoOf(ponger$slambda).i9 = function (p1, $completion) {
1626
- return this.q3b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1678
+ protoOf(ponger$slambda).q9 = function (p1, $completion) {
1679
+ return this.g3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1627
1680
  };
1628
- protoOf(ponger$slambda).v8 = function () {
1629
- var suspendResult = this.p8_1;
1681
+ protoOf(ponger$slambda).d9 = function () {
1682
+ var suspendResult = this.x8_1;
1630
1683
  $sm: do
1631
1684
  try {
1632
- var tmp = this.n8_1;
1685
+ var tmp = this.v8_1;
1633
1686
  switch (tmp) {
1634
1687
  case 0:
1635
- this.o8_1 = 14;
1636
- this.o8_1 = 13;
1637
- this.v43_1 = this.p43_1;
1638
- this.n8_1 = 1;
1688
+ this.w8_1 = 14;
1689
+ this.w8_1 = 13;
1690
+ this.l4l_1 = this.f4l_1;
1691
+ this.v8_1 = 1;
1639
1692
  continue $sm;
1640
1693
  case 1:
1641
- this.t43_1 = this.v43_1;
1642
- this.s43_1 = null;
1643
- this.n8_1 = 2;
1694
+ this.j4l_1 = this.l4l_1;
1695
+ this.i4l_1 = null;
1696
+ this.v8_1 = 2;
1644
1697
  continue $sm;
1645
1698
  case 2:
1646
- this.n8_1 = 3;
1699
+ this.v8_1 = 3;
1647
1700
  continue $sm;
1648
1701
  case 3:
1649
- this.o8_1 = 10;
1650
- this.o8_1 = 9;
1651
- this.u43_1 = this.t43_1.t();
1652
- this.n8_1 = 4;
1702
+ this.w8_1 = 10;
1703
+ this.w8_1 = 9;
1704
+ this.k4l_1 = this.j4l_1.t();
1705
+ this.v8_1 = 4;
1653
1706
  continue $sm;
1654
1707
  case 4:
1655
- this.n8_1 = 5;
1656
- suspendResult = this.u43_1.s21(this);
1708
+ this.v8_1 = 5;
1709
+ suspendResult = this.k4l_1.l23(this);
1657
1710
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1658
1711
  return suspendResult;
1659
1712
  }
@@ -1661,305 +1714,305 @@ protoOf(ponger$slambda).v8 = function () {
1661
1714
  continue $sm;
1662
1715
  case 5:
1663
1716
  if (!suspendResult) {
1664
- this.n8_1 = 7;
1717
+ this.v8_1 = 7;
1665
1718
  continue $sm;
1666
1719
  }
1667
1720
 
1668
- var e = this.u43_1.v();
1669
- get_LOGGER().j3k('Received ping message, sending pong message');
1670
- this.n8_1 = 6;
1671
- suspendResult = this.q43_1.p23(new Pong(e.w41_1), this);
1721
+ var e = this.k4l_1.v();
1722
+ get_LOGGER().z41('Received ping message, sending pong message');
1723
+ this.v8_1 = 6;
1724
+ suspendResult = this.g4l_1.i25(new Pong(e.w4f_1), this);
1672
1725
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1673
1726
  return suspendResult;
1674
1727
  }
1675
1728
 
1676
1729
  continue $sm;
1677
1730
  case 6:
1678
- this.n8_1 = 4;
1731
+ this.v8_1 = 4;
1679
1732
  continue $sm;
1680
1733
  case 7:
1681
- this.n8_1 = 8;
1734
+ this.v8_1 = 8;
1682
1735
  var tmp_0 = this;
1683
1736
  continue $sm;
1684
1737
  case 8:
1685
- this.o8_1 = 13;
1686
- cancelConsumed(this.t43_1, this.s43_1);
1687
- this.n8_1 = 12;
1738
+ this.w8_1 = 13;
1739
+ cancelConsumed(this.j4l_1, this.i4l_1);
1740
+ this.v8_1 = 12;
1688
1741
  continue $sm;
1689
1742
  case 9:
1690
- this.o8_1 = 10;
1691
- var tmp_1 = this.q8_1;
1743
+ this.w8_1 = 10;
1744
+ var tmp_1 = this.y8_1;
1692
1745
  if (tmp_1 instanceof Error) {
1693
- var e_0 = this.q8_1;
1746
+ var e_0 = this.y8_1;
1694
1747
  var tmp_2 = this;
1695
- this.s43_1 = e_0;
1748
+ this.i4l_1 = e_0;
1696
1749
  throw e_0;
1697
1750
  } else {
1698
- throw this.q8_1;
1751
+ throw this.y8_1;
1699
1752
  }
1700
1753
 
1701
1754
  case 10:
1702
- this.o8_1 = 13;
1703
- var t = this.q8_1;
1704
- cancelConsumed(this.t43_1, this.s43_1);
1755
+ this.w8_1 = 13;
1756
+ var t = this.y8_1;
1757
+ cancelConsumed(this.j4l_1, this.i4l_1);
1705
1758
  throw t;
1706
1759
  case 11:
1707
- this.o8_1 = 13;
1708
- cancelConsumed(this.t43_1, this.s43_1);
1760
+ this.w8_1 = 13;
1761
+ cancelConsumed(this.j4l_1, this.i4l_1);
1709
1762
  if (false) {
1710
- this.n8_1 = 1;
1763
+ this.v8_1 = 1;
1711
1764
  continue $sm;
1712
1765
  }
1713
1766
 
1714
- this.n8_1 = 12;
1767
+ this.v8_1 = 12;
1715
1768
  continue $sm;
1716
1769
  case 12:
1717
- this.o8_1 = 14;
1718
- this.n8_1 = 15;
1770
+ this.w8_1 = 14;
1771
+ this.v8_1 = 15;
1719
1772
  continue $sm;
1720
1773
  case 13:
1721
- this.o8_1 = 14;
1722
- var tmp_3 = this.q8_1;
1774
+ this.w8_1 = 14;
1775
+ var tmp_3 = this.y8_1;
1723
1776
  if (tmp_3 instanceof ClosedSendChannelException) {
1724
- var _unused_var__etf5q3 = this.q8_1;
1725
- this.n8_1 = 15;
1777
+ var _unused_var__etf5q3 = this.y8_1;
1778
+ this.v8_1 = 15;
1726
1779
  continue $sm;
1727
1780
  } else {
1728
- throw this.q8_1;
1781
+ throw this.y8_1;
1729
1782
  }
1730
1783
 
1731
1784
  case 14:
1732
- throw this.q8_1;
1785
+ throw this.y8_1;
1733
1786
  case 15:
1734
- this.o8_1 = 14;
1787
+ this.w8_1 = 14;
1735
1788
  return Unit_instance;
1736
1789
  }
1737
1790
  } catch ($p) {
1738
1791
  var e_1 = $p;
1739
- if (this.o8_1 === 14) {
1792
+ if (this.w8_1 === 14) {
1740
1793
  throw e_1;
1741
1794
  } else {
1742
- this.n8_1 = this.o8_1;
1743
- this.q8_1 = e_1;
1795
+ this.v8_1 = this.w8_1;
1796
+ this.y8_1 = e_1;
1744
1797
  }
1745
1798
  }
1746
1799
  while (true);
1747
1800
  };
1748
- protoOf(ponger$slambda).r3b = function ($this$launch, completion) {
1749
- var i = new ponger$slambda(this.p43_1, this.q43_1, completion);
1750
- i.r43_1 = $this$launch;
1801
+ protoOf(ponger$slambda).h3t = function ($this$launch, completion) {
1802
+ var i = new ponger$slambda(this.f4l_1, this.g4l_1, completion);
1803
+ i.h4l_1 = $this$launch;
1751
1804
  return i;
1752
1805
  };
1753
1806
  function ponger$slambda_0($channel, $outgoing, resultContinuation) {
1754
1807
  var i = new ponger$slambda($channel, $outgoing, resultContinuation);
1755
1808
  return constructCallableReference(function ($this$launch, $completion) {
1756
- return i.q3b($this$launch, $completion);
1809
+ return i.g3t($this$launch, $completion);
1757
1810
  }, 1);
1758
1811
  }
1759
1812
  function pinger$slambda$slambda($channel, resultContinuation) {
1760
- this.e44_1 = $channel;
1813
+ this.u4l_1 = $channel;
1761
1814
  CoroutineImpl.call(this, resultContinuation);
1762
1815
  }
1763
- protoOf(pinger$slambda$slambda).q3b = function ($this$withTimeoutOrNull, $completion) {
1764
- var tmp = this.r3b($this$withTimeoutOrNull, $completion);
1765
- tmp.p8_1 = Unit_instance;
1766
- tmp.q8_1 = null;
1767
- return tmp.v8();
1816
+ protoOf(pinger$slambda$slambda).g3t = function ($this$withTimeoutOrNull, $completion) {
1817
+ var tmp = this.h3t($this$withTimeoutOrNull, $completion);
1818
+ tmp.x8_1 = Unit_instance;
1819
+ tmp.y8_1 = null;
1820
+ return tmp.d9();
1768
1821
  };
1769
- protoOf(pinger$slambda$slambda).i9 = function (p1, $completion) {
1770
- return this.q3b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1822
+ protoOf(pinger$slambda$slambda).q9 = function (p1, $completion) {
1823
+ return this.g3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1771
1824
  };
1772
- protoOf(pinger$slambda$slambda).v8 = function () {
1773
- var suspendResult = this.p8_1;
1825
+ protoOf(pinger$slambda$slambda).d9 = function () {
1826
+ var suspendResult = this.x8_1;
1774
1827
  $sm: do
1775
1828
  try {
1776
- var tmp = this.n8_1;
1829
+ var tmp = this.v8_1;
1777
1830
  switch (tmp) {
1778
1831
  case 0:
1779
- this.o8_1 = 3;
1780
- this.n8_1 = 1;
1832
+ this.w8_1 = 3;
1833
+ this.v8_1 = 1;
1781
1834
  continue $sm;
1782
1835
  case 1:
1783
1836
  if (!true) {
1784
- this.n8_1 = 4;
1837
+ this.v8_1 = 4;
1785
1838
  continue $sm;
1786
1839
  }
1787
1840
 
1788
- this.n8_1 = 2;
1789
- suspendResult = this.e44_1.s23(this);
1841
+ this.v8_1 = 2;
1842
+ suspendResult = this.u4l_1.l25(this);
1790
1843
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1791
1844
  return suspendResult;
1792
1845
  }
1793
1846
 
1794
1847
  continue $sm;
1795
1848
  case 2:
1796
- this.n8_1 = 1;
1849
+ this.v8_1 = 1;
1797
1850
  continue $sm;
1798
1851
  case 3:
1799
- throw this.q8_1;
1852
+ throw this.y8_1;
1800
1853
  case 4:
1801
1854
  return Unit_instance;
1802
1855
  }
1803
1856
  } catch ($p) {
1804
1857
  var e = $p;
1805
- if (this.o8_1 === 3) {
1858
+ if (this.w8_1 === 3) {
1806
1859
  throw e;
1807
1860
  } else {
1808
- this.n8_1 = this.o8_1;
1809
- this.q8_1 = e;
1861
+ this.v8_1 = this.w8_1;
1862
+ this.y8_1 = e;
1810
1863
  }
1811
1864
  }
1812
1865
  while (true);
1813
1866
  };
1814
- protoOf(pinger$slambda$slambda).r3b = function ($this$withTimeoutOrNull, completion) {
1815
- var i = new pinger$slambda$slambda(this.e44_1, completion);
1816
- i.f44_1 = $this$withTimeoutOrNull;
1867
+ protoOf(pinger$slambda$slambda).h3t = function ($this$withTimeoutOrNull, completion) {
1868
+ var i = new pinger$slambda$slambda(this.u4l_1, completion);
1869
+ i.v4l_1 = $this$withTimeoutOrNull;
1817
1870
  return i;
1818
1871
  };
1819
1872
  function pinger$slambda$slambda_0($channel, resultContinuation) {
1820
1873
  var i = new pinger$slambda$slambda($channel, resultContinuation);
1821
1874
  return constructCallableReference(function ($this$withTimeoutOrNull, $completion) {
1822
- return i.q3b($this$withTimeoutOrNull, $completion);
1875
+ return i.g3t($this$withTimeoutOrNull, $completion);
1823
1876
  }, 1);
1824
1877
  }
1825
1878
  function pinger$slambda$slambda_1($outgoing, $pingMessage, $channel, resultContinuation) {
1826
- this.o44_1 = $outgoing;
1827
- this.p44_1 = $pingMessage;
1828
- this.q44_1 = $channel;
1879
+ this.e4m_1 = $outgoing;
1880
+ this.f4m_1 = $pingMessage;
1881
+ this.g4m_1 = $channel;
1829
1882
  CoroutineImpl.call(this, resultContinuation);
1830
1883
  }
1831
- protoOf(pinger$slambda$slambda_1).q3b = function ($this$withTimeoutOrNull, $completion) {
1832
- var tmp = this.r3b($this$withTimeoutOrNull, $completion);
1833
- tmp.p8_1 = Unit_instance;
1834
- tmp.q8_1 = null;
1835
- return tmp.v8();
1884
+ protoOf(pinger$slambda$slambda_1).g3t = function ($this$withTimeoutOrNull, $completion) {
1885
+ var tmp = this.h3t($this$withTimeoutOrNull, $completion);
1886
+ tmp.x8_1 = Unit_instance;
1887
+ tmp.y8_1 = null;
1888
+ return tmp.d9();
1836
1889
  };
1837
- protoOf(pinger$slambda$slambda_1).i9 = function (p1, $completion) {
1838
- return this.q3b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1890
+ protoOf(pinger$slambda$slambda_1).q9 = function (p1, $completion) {
1891
+ return this.g3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1839
1892
  };
1840
- protoOf(pinger$slambda$slambda_1).v8 = function () {
1841
- var suspendResult = this.p8_1;
1893
+ protoOf(pinger$slambda$slambda_1).d9 = function () {
1894
+ var suspendResult = this.x8_1;
1842
1895
  $sm: do
1843
1896
  try {
1844
- var tmp = this.n8_1;
1897
+ var tmp = this.v8_1;
1845
1898
  switch (tmp) {
1846
1899
  case 0:
1847
- this.o8_1 = 6;
1848
- get_LOGGER().j3k('WebSocket Pinger: sending ping frame');
1849
- this.n8_1 = 1;
1850
- suspendResult = this.o44_1.p23(new Ping(toByteArray(this.p44_1, Charsets_getInstance().r3c_1)), this);
1900
+ this.w8_1 = 6;
1901
+ get_LOGGER().z41('WebSocket Pinger: sending ping frame');
1902
+ this.v8_1 = 1;
1903
+ suspendResult = this.e4m_1.i25(new Ping(toByteArray(this.f4m_1, Charsets_getInstance().h3u_1)), this);
1851
1904
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1852
1905
  return suspendResult;
1853
1906
  }
1854
1907
 
1855
1908
  continue $sm;
1856
1909
  case 1:
1857
- this.n8_1 = 2;
1910
+ this.v8_1 = 2;
1858
1911
  continue $sm;
1859
1912
  case 2:
1860
1913
  if (!true) {
1861
- this.n8_1 = 5;
1914
+ this.v8_1 = 5;
1862
1915
  continue $sm;
1863
1916
  }
1864
1917
 
1865
- this.n8_1 = 3;
1866
- suspendResult = this.q44_1.s23(this);
1918
+ this.v8_1 = 3;
1919
+ suspendResult = this.g4m_1.l25(this);
1867
1920
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1868
1921
  return suspendResult;
1869
1922
  }
1870
1923
 
1871
1924
  continue $sm;
1872
1925
  case 3:
1873
- this.s44_1 = suspendResult;
1874
- if (decodeToString(this.s44_1.w41_1, 0, 0 + this.s44_1.w41_1.length | 0) === this.p44_1) {
1875
- get_LOGGER().j3k('WebSocket Pinger: received valid pong frame ' + this.s44_1.toString());
1876
- this.n8_1 = 5;
1926
+ this.i4m_1 = suspendResult;
1927
+ if (decodeToString(this.i4m_1.w4f_1, 0, 0 + this.i4m_1.w4f_1.length | 0) === this.f4m_1) {
1928
+ get_LOGGER().z41('WebSocket Pinger: received valid pong frame ' + this.i4m_1.toString());
1929
+ this.v8_1 = 5;
1877
1930
  continue $sm;
1878
1931
  } else {
1879
- this.n8_1 = 4;
1932
+ this.v8_1 = 4;
1880
1933
  continue $sm;
1881
1934
  }
1882
1935
 
1883
1936
  case 4:
1884
- get_LOGGER().j3k('WebSocket Pinger: received invalid pong frame ' + this.s44_1.toString() + ', continue waiting');
1885
- this.n8_1 = 2;
1937
+ get_LOGGER().z41('WebSocket Pinger: received invalid pong frame ' + this.i4m_1.toString() + ', continue waiting');
1938
+ this.v8_1 = 2;
1886
1939
  continue $sm;
1887
1940
  case 5:
1888
1941
  return Unit_instance;
1889
1942
  case 6:
1890
- throw this.q8_1;
1943
+ throw this.y8_1;
1891
1944
  }
1892
1945
  } catch ($p) {
1893
1946
  var e = $p;
1894
- if (this.o8_1 === 6) {
1947
+ if (this.w8_1 === 6) {
1895
1948
  throw e;
1896
1949
  } else {
1897
- this.n8_1 = this.o8_1;
1898
- this.q8_1 = e;
1950
+ this.v8_1 = this.w8_1;
1951
+ this.y8_1 = e;
1899
1952
  }
1900
1953
  }
1901
1954
  while (true);
1902
1955
  };
1903
- protoOf(pinger$slambda$slambda_1).r3b = function ($this$withTimeoutOrNull, completion) {
1904
- var i = new pinger$slambda$slambda_1(this.o44_1, this.p44_1, this.q44_1, completion);
1905
- i.r44_1 = $this$withTimeoutOrNull;
1956
+ protoOf(pinger$slambda$slambda_1).h3t = function ($this$withTimeoutOrNull, completion) {
1957
+ var i = new pinger$slambda$slambda_1(this.e4m_1, this.f4m_1, this.g4m_1, completion);
1958
+ i.h4m_1 = $this$withTimeoutOrNull;
1906
1959
  return i;
1907
1960
  };
1908
1961
  function pinger$slambda$slambda_2($outgoing, $pingMessage, $channel, resultContinuation) {
1909
1962
  var i = new pinger$slambda$slambda_1($outgoing, $pingMessage, $channel, resultContinuation);
1910
1963
  return constructCallableReference(function ($this$withTimeoutOrNull, $completion) {
1911
- return i.q3b($this$withTimeoutOrNull, $completion);
1964
+ return i.g3t($this$withTimeoutOrNull, $completion);
1912
1965
  }, 1);
1913
1966
  }
1914
1967
  function pinger$slambda($periodMillis, $timeoutMillis, $onTimeout, $channel, $outgoing, resultContinuation) {
1915
- this.b45_1 = $periodMillis;
1916
- this.c45_1 = $timeoutMillis;
1917
- this.d45_1 = $onTimeout;
1918
- this.e45_1 = $channel;
1919
- this.f45_1 = $outgoing;
1968
+ this.r4m_1 = $periodMillis;
1969
+ this.s4m_1 = $timeoutMillis;
1970
+ this.t4m_1 = $onTimeout;
1971
+ this.u4m_1 = $channel;
1972
+ this.v4m_1 = $outgoing;
1920
1973
  CoroutineImpl.call(this, resultContinuation);
1921
1974
  }
1922
- protoOf(pinger$slambda).q3b = function ($this$launch, $completion) {
1923
- var tmp = this.r3b($this$launch, $completion);
1924
- tmp.p8_1 = Unit_instance;
1925
- tmp.q8_1 = null;
1926
- return tmp.v8();
1975
+ protoOf(pinger$slambda).g3t = function ($this$launch, $completion) {
1976
+ var tmp = this.h3t($this$launch, $completion);
1977
+ tmp.x8_1 = Unit_instance;
1978
+ tmp.y8_1 = null;
1979
+ return tmp.d9();
1927
1980
  };
1928
- protoOf(pinger$slambda).i9 = function (p1, $completion) {
1929
- return this.q3b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1981
+ protoOf(pinger$slambda).q9 = function (p1, $completion) {
1982
+ return this.g3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1930
1983
  };
1931
- protoOf(pinger$slambda).v8 = function () {
1932
- var suspendResult = this.p8_1;
1984
+ protoOf(pinger$slambda).d9 = function () {
1985
+ var suspendResult = this.x8_1;
1933
1986
  $sm: do
1934
1987
  try {
1935
- var tmp = this.n8_1;
1988
+ var tmp = this.v8_1;
1936
1989
  switch (tmp) {
1937
1990
  case 0:
1938
- this.o8_1 = 9;
1939
- get_LOGGER().j3k('Starting WebSocket pinger coroutine with period ' + this.b45_1.toString() + ' ms and timeout ' + this.c45_1.toString() + ' ms');
1940
- this.i45_1 = Random(getTimeMillis());
1941
- this.h45_1 = new Int8Array(32);
1942
- this.o8_1 = 7;
1943
- this.n8_1 = 1;
1991
+ this.w8_1 = 9;
1992
+ get_LOGGER().z41('Starting WebSocket pinger coroutine with period ' + this.r4m_1.toString() + ' ms and timeout ' + this.s4m_1.toString() + ' ms');
1993
+ this.y4m_1 = Random(getTimeMillis());
1994
+ this.x4m_1 = new Int8Array(32);
1995
+ this.w8_1 = 7;
1996
+ this.v8_1 = 1;
1944
1997
  continue $sm;
1945
1998
  case 1:
1946
1999
  if (!true) {
1947
- this.n8_1 = 6;
2000
+ this.v8_1 = 6;
1948
2001
  continue $sm;
1949
2002
  }
1950
2003
 
1951
- this.n8_1 = 2;
1952
- suspendResult = withTimeoutOrNull(this.b45_1, pinger$slambda$slambda_0(this.e45_1, null), this);
2004
+ this.v8_1 = 2;
2005
+ suspendResult = withTimeoutOrNull(this.r4m_1, pinger$slambda$slambda_0(this.u4m_1, null), this);
1953
2006
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1954
2007
  return suspendResult;
1955
2008
  }
1956
2009
 
1957
2010
  continue $sm;
1958
2011
  case 2:
1959
- this.i45_1.cj(this.h45_1);
1960
- var pingMessage = '[ping ' + toHexString(this.h45_1) + ' ping]';
1961
- this.n8_1 = 3;
1962
- suspendResult = withTimeoutOrNull(this.c45_1, pinger$slambda$slambda_2(this.f45_1, pingMessage, this.e45_1, null), this);
2012
+ this.y4m_1.mj(this.x4m_1);
2013
+ var pingMessage = '[ping ' + toHexString(this.x4m_1) + ' ping]';
2014
+ this.v8_1 = 3;
2015
+ suspendResult = withTimeoutOrNull(this.s4m_1, pinger$slambda$slambda_2(this.v4m_1, pingMessage, this.u4m_1, null), this);
1963
2016
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1964
2017
  return suspendResult;
1965
2018
  }
@@ -1968,91 +2021,91 @@ protoOf(pinger$slambda).v8 = function () {
1968
2021
  case 3:
1969
2022
  var rc = suspendResult;
1970
2023
  if (rc == null) {
1971
- get_LOGGER().j3k('WebSocket pinger has timed out');
1972
- this.n8_1 = 5;
1973
- suspendResult = this.d45_1(CloseReason_init_$Create$(Codes_INTERNAL_ERROR_getInstance(), 'Ping timeout'), this);
2024
+ get_LOGGER().z41('WebSocket pinger has timed out');
2025
+ this.v8_1 = 5;
2026
+ suspendResult = this.t4m_1(CloseReason_init_$Create$(Codes_INTERNAL_ERROR_getInstance(), 'Ping timeout'), this);
1974
2027
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1975
2028
  return suspendResult;
1976
2029
  }
1977
2030
  continue $sm;
1978
2031
  } else {
1979
- this.n8_1 = 4;
2032
+ this.v8_1 = 4;
1980
2033
  continue $sm;
1981
2034
  }
1982
2035
 
1983
2036
  case 4:
1984
- this.n8_1 = 1;
2037
+ this.v8_1 = 1;
1985
2038
  continue $sm;
1986
2039
  case 5:
1987
- this.n8_1 = 6;
2040
+ this.v8_1 = 6;
1988
2041
  continue $sm;
1989
2042
  case 6:
1990
- this.o8_1 = 9;
1991
- this.n8_1 = 8;
2043
+ this.w8_1 = 9;
2044
+ this.v8_1 = 8;
1992
2045
  continue $sm;
1993
2046
  case 7:
1994
- this.o8_1 = 9;
1995
- var tmp_0 = this.q8_1;
2047
+ this.w8_1 = 9;
2048
+ var tmp_0 = this.y8_1;
1996
2049
  if (tmp_0 instanceof CancellationException) {
1997
- var ignore = this.q8_1;
1998
- this.n8_1 = 8;
2050
+ var ignore = this.y8_1;
2051
+ this.v8_1 = 8;
1999
2052
  continue $sm;
2000
2053
  } else {
2001
- var tmp_1 = this.q8_1;
2054
+ var tmp_1 = this.y8_1;
2002
2055
  if (tmp_1 instanceof ClosedReceiveChannelException) {
2003
- var ignore_0 = this.q8_1;
2004
- this.n8_1 = 8;
2056
+ var ignore_0 = this.y8_1;
2057
+ this.v8_1 = 8;
2005
2058
  continue $sm;
2006
2059
  } else {
2007
- var tmp_2 = this.q8_1;
2060
+ var tmp_2 = this.y8_1;
2008
2061
  if (tmp_2 instanceof ClosedSendChannelException) {
2009
- var ignore_1 = this.q8_1;
2010
- this.n8_1 = 8;
2062
+ var ignore_1 = this.y8_1;
2063
+ this.v8_1 = 8;
2011
2064
  continue $sm;
2012
2065
  } else {
2013
- var tmp_3 = this.q8_1;
2066
+ var tmp_3 = this.y8_1;
2014
2067
  if (tmp_3 instanceof ClosedByteChannelException) {
2015
- var ignore_2 = this.q8_1;
2016
- this.n8_1 = 8;
2068
+ var ignore_2 = this.y8_1;
2069
+ this.v8_1 = 8;
2017
2070
  continue $sm;
2018
2071
  } else {
2019
- throw this.q8_1;
2072
+ throw this.y8_1;
2020
2073
  }
2021
2074
  }
2022
2075
  }
2023
2076
  }
2024
2077
 
2025
2078
  case 8:
2026
- this.o8_1 = 9;
2079
+ this.w8_1 = 9;
2027
2080
  return Unit_instance;
2028
2081
  case 9:
2029
- throw this.q8_1;
2082
+ throw this.y8_1;
2030
2083
  }
2031
2084
  } catch ($p) {
2032
2085
  var e = $p;
2033
- if (this.o8_1 === 9) {
2086
+ if (this.w8_1 === 9) {
2034
2087
  throw e;
2035
2088
  } else {
2036
- this.n8_1 = this.o8_1;
2037
- this.q8_1 = e;
2089
+ this.v8_1 = this.w8_1;
2090
+ this.y8_1 = e;
2038
2091
  }
2039
2092
  }
2040
2093
  while (true);
2041
2094
  };
2042
- protoOf(pinger$slambda).r3b = function ($this$launch, completion) {
2043
- var i = new pinger$slambda(this.b45_1, this.c45_1, this.d45_1, this.e45_1, this.f45_1, completion);
2044
- i.g45_1 = $this$launch;
2095
+ protoOf(pinger$slambda).h3t = function ($this$launch, completion) {
2096
+ var i = new pinger$slambda(this.r4m_1, this.s4m_1, this.t4m_1, this.u4m_1, this.v4m_1, completion);
2097
+ i.w4m_1 = $this$launch;
2045
2098
  return i;
2046
2099
  };
2047
2100
  function pinger$slambda_0($periodMillis, $timeoutMillis, $onTimeout, $channel, $outgoing, resultContinuation) {
2048
2101
  var i = new pinger$slambda($periodMillis, $timeoutMillis, $onTimeout, $channel, $outgoing, resultContinuation);
2049
2102
  return constructCallableReference(function ($this$launch, $completion) {
2050
- return i.q3b($this$launch, $completion);
2103
+ return i.g3t($this$launch, $completion);
2051
2104
  }, 1);
2052
2105
  }
2053
2106
  function pinger$lambda($actorJob) {
2054
2107
  return function (it) {
2055
- $actorJob.x1n();
2108
+ $actorJob.h1o();
2056
2109
  return Unit_instance;
2057
2110
  };
2058
2111
  }
@@ -2064,38 +2117,38 @@ function _init_properties_PingPong_kt__9aqxey() {
2064
2117
  PingerCoroutineName = new CoroutineName('ws-pinger');
2065
2118
  }
2066
2119
  }
2067
- function Companion_2() {
2068
- Companion_instance_2 = this;
2120
+ function Companion_3() {
2121
+ Companion_instance_3 = this;
2069
2122
  var tmp = this;
2070
2123
  // Inline function 'kotlin.apply' call
2071
2124
  var this_0 = new WebSocketChannelsConfig();
2072
- this_0.h3y_1 = this_0.j45();
2073
- this_0.i3y_1 = this_0.j45();
2074
- tmp.g3y_1 = this_0;
2125
+ this_0.i4g_1 = this_0.z4m();
2126
+ this_0.j4g_1 = this_0.z4m();
2127
+ tmp.h4g_1 = this_0;
2075
2128
  }
2076
- var Companion_instance_2;
2077
- function Companion_getInstance_2() {
2078
- if (Companion_instance_2 == null)
2079
- new Companion_2();
2080
- return Companion_instance_2;
2129
+ var Companion_instance_3;
2130
+ function Companion_getInstance_3() {
2131
+ if (Companion_instance_3 == null)
2132
+ new Companion_3();
2133
+ return Companion_instance_3;
2081
2134
  }
2082
2135
  function WebSocketChannelsConfig() {
2083
- Companion_getInstance_2();
2084
- this.h3y_1 = Companion_getInstance_3().k45_1;
2085
- this.i3y_1 = Companion_getInstance_3().k45_1;
2136
+ Companion_getInstance_3();
2137
+ this.i4g_1 = Companion_getInstance_4().a4n_1;
2138
+ this.j4g_1 = Companion_getInstance_4().a4n_1;
2086
2139
  }
2087
- protoOf(WebSocketChannelsConfig).j45 = function () {
2088
- return Companion_getInstance_3().k45_1;
2140
+ protoOf(WebSocketChannelsConfig).z4m = function () {
2141
+ return Companion_getInstance_4().a4n_1;
2089
2142
  };
2090
2143
  function from(_this__u8e3s4, config) {
2091
2144
  // Inline function 'kotlin.with' call
2092
2145
  var tmp;
2093
- if (config.l45_1 === 2147483647) {
2146
+ if (config.b4n_1 === 2147483647) {
2094
2147
  tmp = Channel(2147483647);
2095
- } else if (config.m45_1.equals(ChannelOverflow_SUSPEND_getInstance())) {
2096
- tmp = Channel(config.l45_1, BufferOverflow_SUSPEND_getInstance());
2097
- } else if (config.m45_1.equals(ChannelOverflow_CLOSE_getInstance())) {
2098
- tmp = new BoundedChannel(config.l45_1);
2148
+ } else if (config.c4n_1.equals(ChannelOverflow_SUSPEND_getInstance())) {
2149
+ tmp = Channel(config.b4n_1, BufferOverflow_SUSPEND_getInstance());
2150
+ } else if (config.c4n_1.equals(ChannelOverflow_CLOSE_getInstance())) {
2151
+ tmp = new BoundedChannel(config.b4n_1);
2099
2152
  } else {
2100
2153
  // Inline function 'kotlin.error' call
2101
2154
  var message = 'Unsupported channel config.';
@@ -2103,23 +2156,23 @@ function from(_this__u8e3s4, config) {
2103
2156
  }
2104
2157
  return tmp;
2105
2158
  }
2106
- function Companion_3() {
2107
- Companion_instance_3 = this;
2108
- this.k45_1 = new ChannelConfig(2147483647, ChannelOverflow_SUSPEND_getInstance());
2159
+ function Companion_4() {
2160
+ Companion_instance_4 = this;
2161
+ this.a4n_1 = new ChannelConfig(2147483647, ChannelOverflow_SUSPEND_getInstance());
2109
2162
  }
2110
- var Companion_instance_3;
2111
- function Companion_getInstance_3() {
2112
- if (Companion_instance_3 == null)
2113
- new Companion_3();
2114
- return Companion_instance_3;
2163
+ var Companion_instance_4;
2164
+ function Companion_getInstance_4() {
2165
+ if (Companion_instance_4 == null)
2166
+ new Companion_4();
2167
+ return Companion_instance_4;
2115
2168
  }
2116
2169
  function ChannelConfig(capacity, onOverflow) {
2117
- Companion_getInstance_3();
2118
- this.l45_1 = capacity;
2119
- this.m45_1 = onOverflow;
2170
+ Companion_getInstance_4();
2171
+ this.b4n_1 = capacity;
2172
+ this.c4n_1 = onOverflow;
2120
2173
  }
2121
- protoOf(ChannelConfig).n45 = function () {
2122
- return this.m45_1.equals(ChannelOverflow_SUSPEND_getInstance()) && !(this.l45_1 === 2147483647);
2174
+ protoOf(ChannelConfig).d4n = function () {
2175
+ return this.c4n_1.equals(ChannelOverflow_SUSPEND_getInstance()) && !(this.b4n_1 === 2147483647);
2123
2176
  };
2124
2177
  var ChannelOverflow_SUSPEND_instance;
2125
2178
  var ChannelOverflow_CLOSE_instance;
@@ -2143,22 +2196,22 @@ function BoundedChannel$Companion$createDelegate$lambda($channel) {
2143
2196
  } else {
2144
2197
  tmp_0 = $channel._v;
2145
2198
  }
2146
- if (!tmp_0.u21()) {
2199
+ if (!tmp_0.n23()) {
2147
2200
  var tmp_1;
2148
2201
  if ($channel._v == null) {
2149
2202
  throwUninitializedPropertyAccessException('channel');
2150
2203
  } else {
2151
2204
  tmp_1 = $channel._v;
2152
2205
  }
2153
- tmp_1.u23(new ChannelOverflowException('Channel overflowed'));
2206
+ tmp_1.n25(new ChannelOverflowException('Channel overflowed'));
2154
2207
  tmp = Unit_instance;
2155
2208
  }
2156
2209
  return Unit_instance;
2157
2210
  };
2158
2211
  }
2159
- function Companion_4() {
2212
+ function Companion_5() {
2160
2213
  }
2161
- protoOf(Companion_4).o45 = function (capacity) {
2214
+ protoOf(Companion_5).e4n = function (capacity) {
2162
2215
  var channel = {_v: null};
2163
2216
  var tmp = BufferOverflow_DROP_OLDEST_getInstance();
2164
2217
  // Inline function 'kotlin.also' call
@@ -2166,50 +2219,50 @@ protoOf(Companion_4).o45 = function (capacity) {
2166
2219
  channel._v = this_0;
2167
2220
  return this_0;
2168
2221
  };
2169
- var Companion_instance_4;
2170
- function Companion_getInstance_4() {
2171
- return Companion_instance_4;
2222
+ var Companion_instance_5;
2223
+ function Companion_getInstance_5() {
2224
+ return Companion_instance_5;
2172
2225
  }
2173
2226
  function BoundedChannel(capacity, delegate) {
2174
- delegate = delegate === VOID ? Companion_instance_4.o45(capacity) : delegate;
2175
- this.p45_1 = delegate;
2227
+ delegate = delegate === VOID ? Companion_instance_5.e4n(capacity) : delegate;
2228
+ this.f4n_1 = delegate;
2176
2229
  }
2177
- protoOf(BoundedChannel).q45 = function (element) {
2178
- var result = this.p45_1.q23(element);
2230
+ protoOf(BoundedChannel).g4n = function (element) {
2231
+ var result = this.f4n_1.j25(element);
2179
2232
  if (!_ChannelResult___get_isSuccess__impl__odq1z9(result) && !_ChannelResult___get_isClosed__impl__mg7kuu(result)) {
2180
- this.u23(new ChannelOverflowException('Channel overflowed'));
2233
+ this.n25(new ChannelOverflowException('Channel overflowed'));
2181
2234
  }
2182
2235
  return result;
2183
2236
  };
2184
- protoOf(BoundedChannel).q23 = function (element) {
2185
- return this.q45(element);
2237
+ protoOf(BoundedChannel).j25 = function (element) {
2238
+ return this.g4n(element);
2186
2239
  };
2187
- protoOf(BoundedChannel).r45 = function (element, $completion) {
2188
- return this.p45_1.p23(element, $completion);
2240
+ protoOf(BoundedChannel).h4n = function (element, $completion) {
2241
+ return this.f4n_1.i25(element, $completion);
2189
2242
  };
2190
- protoOf(BoundedChannel).p23 = function (element, $completion) {
2191
- return this.r45(element, $completion);
2243
+ protoOf(BoundedChannel).i25 = function (element, $completion) {
2244
+ return this.h4n(element, $completion);
2192
2245
  };
2193
- protoOf(BoundedChannel).u23 = function (cause) {
2194
- return this.p45_1.u23(cause);
2246
+ protoOf(BoundedChannel).n25 = function (cause) {
2247
+ return this.f4n_1.n25(cause);
2195
2248
  };
2196
- protoOf(BoundedChannel).z23 = function (handler) {
2197
- this.p45_1.z23(handler);
2249
+ protoOf(BoundedChannel).s25 = function (handler) {
2250
+ this.f4n_1.s25(handler);
2198
2251
  };
2199
- protoOf(BoundedChannel).u21 = function () {
2200
- return this.p45_1.u21();
2252
+ protoOf(BoundedChannel).n23 = function () {
2253
+ return this.f4n_1.n23();
2201
2254
  };
2202
- protoOf(BoundedChannel).s45 = function ($completion) {
2203
- return this.p45_1.s23($completion);
2255
+ protoOf(BoundedChannel).i4n = function ($completion) {
2256
+ return this.f4n_1.l25($completion);
2204
2257
  };
2205
- protoOf(BoundedChannel).s23 = function ($completion) {
2206
- return this.s45($completion);
2258
+ protoOf(BoundedChannel).l25 = function ($completion) {
2259
+ return this.i4n($completion);
2207
2260
  };
2208
2261
  protoOf(BoundedChannel).t = function () {
2209
- return this.p45_1.t();
2262
+ return this.f4n_1.t();
2210
2263
  };
2211
- protoOf(BoundedChannel).w1n = function (cause) {
2212
- this.p45_1.w1n(cause);
2264
+ protoOf(BoundedChannel).g1o = function (cause) {
2265
+ this.f4n_1.g1o(cause);
2213
2266
  };
2214
2267
  function ChannelOverflowException(message) {
2215
2268
  RuntimeException_init_$Init$(message, this);
@@ -2228,16 +2281,16 @@ function WebSocketExtension() {
2228
2281
  function WebSocketExtensionsConfig() {
2229
2282
  var tmp = this;
2230
2283
  // Inline function 'kotlin.collections.mutableListOf' call
2231
- tmp.v45_1 = ArrayList_init_$Create$();
2284
+ tmp.l4n_1 = ArrayList_init_$Create$();
2232
2285
  var tmp_0 = this;
2233
2286
  // Inline function 'kotlin.arrayOf' call
2234
2287
  // Inline function 'kotlin.js.unsafeCast' call
2235
2288
  // Inline function 'kotlin.js.asDynamic' call
2236
- tmp_0.w45_1 = [false, false, false];
2289
+ tmp_0.m4n_1 = [false, false, false];
2237
2290
  }
2238
- protoOf(WebSocketExtensionsConfig).g3n = function () {
2291
+ protoOf(WebSocketExtensionsConfig).w44 = function () {
2239
2292
  // Inline function 'kotlin.collections.map' call
2240
- var this_0 = this.v45_1;
2293
+ var this_0 = this.l4n_1;
2241
2294
  // Inline function 'kotlin.collections.mapTo' call
2242
2295
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
2243
2296
  var _iterator__ex2g4s = this_0.t();
@@ -2249,14 +2302,14 @@ protoOf(WebSocketExtensionsConfig).g3n = function () {
2249
2302
  return destination;
2250
2303
  };
2251
2304
  function parametersToString($this) {
2252
- return $this.y45_1.r() ? '' : '; ' + joinToString($this.y45_1, ';');
2305
+ return $this.o4n_1.r() ? '' : '; ' + joinToString($this.o4n_1, ';');
2253
2306
  }
2254
2307
  function WebSocketExtensionHeader(name, parameters) {
2255
- this.x45_1 = name;
2256
- this.y45_1 = parameters;
2308
+ this.n4n_1 = name;
2309
+ this.o4n_1 = parameters;
2257
2310
  }
2258
2311
  protoOf(WebSocketExtensionHeader).toString = function () {
2259
- return this.x45_1 + ' ' + parametersToString(this);
2312
+ return this.n4n_1 + ' ' + parametersToString(this);
2260
2313
  };
2261
2314
  function parseWebSocketExtensions(value) {
2262
2315
  // Inline function 'kotlin.collections.map' call
@@ -2292,77 +2345,78 @@ function WebSocketSession() {
2292
2345
  function close(_this__u8e3s4, reason, $completion) {
2293
2346
  reason = reason === VOID ? CloseReason_init_$Create$(Codes_NORMAL_getInstance(), '') : reason;
2294
2347
  var tmp = new $closeCOROUTINE$(_this__u8e3s4, reason, $completion);
2295
- tmp.p8_1 = Unit_instance;
2296
- tmp.q8_1 = null;
2297
- return tmp.v8();
2348
+ tmp.x8_1 = Unit_instance;
2349
+ tmp.y8_1 = null;
2350
+ return tmp.d9();
2298
2351
  }
2299
2352
  function closeExceptionally(_this__u8e3s4, cause, $completion) {
2300
2353
  var tmp;
2301
2354
  if (cause instanceof CancellationException) {
2302
2355
  tmp = CloseReason_init_$Create$(Codes_NORMAL_getInstance(), '');
2303
2356
  } else {
2304
- tmp = CloseReason_init_$Create$(Codes_INTERNAL_ERROR_getInstance(), cause.toString());
2357
+ var message = utf8Truncate(cause.toString(), 123);
2358
+ tmp = CloseReason_init_$Create$(Codes_INTERNAL_ERROR_getInstance(), message);
2305
2359
  }
2306
2360
  var reason = tmp;
2307
2361
  return close(_this__u8e3s4, reason, $completion);
2308
2362
  }
2309
2363
  function $closeCOROUTINE$(_this__u8e3s4, reason, resultContinuation) {
2310
2364
  CoroutineImpl.call(this, resultContinuation);
2311
- this.h46_1 = _this__u8e3s4;
2312
- this.i46_1 = reason;
2365
+ this.x4n_1 = _this__u8e3s4;
2366
+ this.y4n_1 = reason;
2313
2367
  }
2314
- protoOf($closeCOROUTINE$).v8 = function () {
2315
- var suspendResult = this.p8_1;
2368
+ protoOf($closeCOROUTINE$).d9 = function () {
2369
+ var suspendResult = this.x8_1;
2316
2370
  $sm: do
2317
2371
  try {
2318
- var tmp = this.n8_1;
2372
+ var tmp = this.v8_1;
2319
2373
  switch (tmp) {
2320
2374
  case 0:
2321
- this.o8_1 = 4;
2322
- this.o8_1 = 3;
2323
- this.n8_1 = 1;
2324
- suspendResult = this.h46_1.f3y(Close_init_$Create$(this.i46_1), this);
2375
+ this.w8_1 = 4;
2376
+ this.w8_1 = 3;
2377
+ this.v8_1 = 1;
2378
+ suspendResult = this.x4n_1.g4g(Close_init_$Create$(this.y4n_1), this);
2325
2379
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2326
2380
  return suspendResult;
2327
2381
  }
2328
2382
 
2329
2383
  continue $sm;
2330
2384
  case 1:
2331
- this.n8_1 = 2;
2332
- suspendResult = this.h46_1.f33(this);
2385
+ this.v8_1 = 2;
2386
+ suspendResult = this.x4n_1.r3k(this);
2333
2387
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2334
2388
  return suspendResult;
2335
2389
  }
2336
2390
 
2337
2391
  continue $sm;
2338
2392
  case 2:
2339
- this.o8_1 = 4;
2340
- this.n8_1 = 5;
2393
+ this.w8_1 = 4;
2394
+ this.v8_1 = 5;
2341
2395
  continue $sm;
2342
2396
  case 3:
2343
- this.o8_1 = 4;
2344
- var tmp_0 = this.q8_1;
2397
+ this.w8_1 = 4;
2398
+ var tmp_0 = this.y8_1;
2345
2399
  if (tmp_0 instanceof Error) {
2346
- var _unused_var__etf5q3 = this.q8_1;
2347
- this.n8_1 = 5;
2400
+ var _unused_var__etf5q3 = this.y8_1;
2401
+ this.v8_1 = 5;
2348
2402
  continue $sm;
2349
2403
  } else {
2350
- throw this.q8_1;
2404
+ throw this.y8_1;
2351
2405
  }
2352
2406
 
2353
2407
  case 4:
2354
- throw this.q8_1;
2408
+ throw this.y8_1;
2355
2409
  case 5:
2356
- this.o8_1 = 4;
2410
+ this.w8_1 = 4;
2357
2411
  return Unit_instance;
2358
2412
  }
2359
2413
  } catch ($p) {
2360
2414
  var e = $p;
2361
- if (this.o8_1 === 4) {
2415
+ if (this.w8_1 === 4) {
2362
2416
  throw e;
2363
2417
  } else {
2364
- this.n8_1 = this.o8_1;
2365
- this.q8_1 = e;
2418
+ this.v8_1 = this.w8_1;
2419
+ this.y8_1 = e;
2366
2420
  }
2367
2421
  }
2368
2422
  while (true);
@@ -2388,8 +2442,8 @@ function Text_init_$Create$(text) {
2388
2442
  function Close_init_$Init$(reason, $this) {
2389
2443
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
2390
2444
  var builder = new Buffer();
2391
- builder.y2z(reason.x3x_1);
2392
- writeText(builder, reason.y3x_1);
2445
+ builder.k3h(reason.n4f_1);
2446
+ writeText(builder, reason.o4f_1);
2393
2447
  Close_init_$Init$_0(builder, $this);
2394
2448
  return $this;
2395
2449
  }
@@ -2401,7 +2455,7 @@ function Close_init_$Init$_0(packet, $this) {
2401
2455
  return $this;
2402
2456
  }
2403
2457
  function Close_init_$Init$_1($this) {
2404
- Close.call($this, Companion_getInstance_5().b42_1);
2458
+ Close.call($this, Companion_getInstance_6().v4j_1);
2405
2459
  return $this;
2406
2460
  }
2407
2461
  function Close_init_$Create$_0() {
@@ -2429,11 +2483,11 @@ function Pong(data, disposableHandle) {
2429
2483
  disposableHandle = disposableHandle === VOID ? NonDisposableHandle_instance : disposableHandle;
2430
2484
  Frame.call(this, true, FrameType_PONG_getInstance(), data, disposableHandle, false, false, false);
2431
2485
  }
2432
- function Companion_5() {
2433
- Companion_instance_5 = this;
2434
- this.b42_1 = new Int8Array(0);
2486
+ function Companion_6() {
2487
+ Companion_instance_6 = this;
2488
+ this.v4j_1 = new Int8Array(0);
2435
2489
  }
2436
- protoOf(Companion_5).c42 = function (fin, frameType, data, rsv1, rsv2, rsv3) {
2490
+ protoOf(Companion_6).w4j = function (fin, frameType, data, rsv1, rsv2, rsv3) {
2437
2491
  var tmp;
2438
2492
  switch (frameType.a1_1) {
2439
2493
  case 1:
@@ -2457,50 +2511,52 @@ protoOf(Companion_5).c42 = function (fin, frameType, data, rsv1, rsv2, rsv3) {
2457
2511
  }
2458
2512
  return tmp;
2459
2513
  };
2460
- var Companion_instance_5;
2461
- function Companion_getInstance_5() {
2462
- if (Companion_instance_5 == null)
2463
- new Companion_5();
2464
- return Companion_instance_5;
2514
+ var Companion_instance_6;
2515
+ function Companion_getInstance_6() {
2516
+ if (Companion_instance_6 == null)
2517
+ new Companion_6();
2518
+ return Companion_instance_6;
2465
2519
  }
2466
2520
  function Frame(fin, frameType, data, disposableHandle, rsv1, rsv2, rsv3) {
2467
- Companion_getInstance_5();
2521
+ Companion_getInstance_6();
2468
2522
  disposableHandle = disposableHandle === VOID ? NonDisposableHandle_instance : disposableHandle;
2469
2523
  rsv1 = rsv1 === VOID ? false : rsv1;
2470
2524
  rsv2 = rsv2 === VOID ? false : rsv2;
2471
2525
  rsv3 = rsv3 === VOID ? false : rsv3;
2472
- this.u41_1 = fin;
2473
- this.v41_1 = frameType;
2474
- this.w41_1 = data;
2475
- this.x41_1 = disposableHandle;
2476
- this.y41_1 = rsv1;
2477
- this.z41_1 = rsv2;
2478
- this.a42_1 = rsv3;
2526
+ this.u4f_1 = fin;
2527
+ this.v4f_1 = frameType;
2528
+ this.w4f_1 = data;
2529
+ this.x4f_1 = disposableHandle;
2530
+ this.y4f_1 = rsv1;
2531
+ this.z4f_1 = rsv2;
2532
+ this.a4g_1 = rsv3;
2533
+ validateSize(this);
2479
2534
  }
2480
2535
  protoOf(Frame).toString = function () {
2481
- return 'Frame ' + this.v41_1.toString() + ' (fin=' + this.u41_1 + ', buffer len = ' + this.w41_1.length + ')';
2536
+ return 'Frame ' + this.v4f_1.toString() + ' (fin=' + this.u4f_1 + ', buffer len = ' + this.w4f_1.length + ')';
2482
2537
  };
2483
2538
  function get_OUTGOING_CHANNEL_CAPACITY() {
2484
2539
  return OUTGOING_CHANNEL_CAPACITY;
2485
2540
  }
2486
2541
  var OUTGOING_CHANNEL_CAPACITY;
2487
2542
  //region block: post-declaration
2488
- protoOf(DefaultWebSocketSessionImpl).f3y = send;
2543
+ protoOf(DefaultWebSocketSessionImpl).g4g = send;
2489
2544
  defineProp(protoOf(FrameTooBigException), 'message', function () {
2490
2545
  return this.e();
2491
2546
  });
2492
- protoOf(BoundedChannel).w23 = close$default;
2493
- protoOf(BoundedChannel).y23 = cancel$default;
2547
+ protoOf(BoundedChannel).p25 = close$default;
2548
+ protoOf(BoundedChannel).r25 = cancel$default;
2494
2549
  //endregion
2495
2550
  //region block: init
2551
+ Companion_instance_0 = new Companion_0();
2496
2552
  NonDisposableHandle_instance = new NonDisposableHandle();
2497
- Companion_instance_4 = new Companion_4();
2553
+ Companion_instance_5 = new Companion_5();
2498
2554
  OUTGOING_CHANNEL_CAPACITY = null;
2499
2555
  //endregion
2500
2556
  //region block: exports
2501
2557
  export {
2502
2558
  Companion_getInstance as Companion_getInstanceo8cazic5dguk,
2503
- Companion_getInstance_2 as Companion_getInstance27kujspvp4jub,
2559
+ Companion_getInstance_3 as Companion_getInstance27kujspvp4jub,
2504
2560
  Codes_CLOSED_ABNORMALLY_getInstance as Codes_CLOSED_ABNORMALLY_getInstance35h8511ldg1ec,
2505
2561
  Codes_NORMAL_getInstance as Codes_NORMAL_getInstance1njykag03saqj,
2506
2562
  send as send3vgnni2smbra3,