@dmarket/p2p-tracker-core 1.0.0-beta.1 → 1.0.2-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.
@@ -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.w4e().i25(frame, $completion);
122
+ return this.m4g().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, [ReceiveChannel, SendChannel], [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.l4e_1;
186
+ var tmp$ret$2 = element.q4f_1;
181
187
  destination.b3(tmp$ret$2, element);
182
188
  }
183
- tmp.m4e_1 = destination;
184
- this.n4e_1 = Codes_INTERNAL_ERROR_getInstance();
189
+ tmp.r4f_1 = destination;
190
+ this.s4f_1 = Codes_INTERNAL_ERROR_getInstance();
185
191
  }
186
- protoOf(Companion).o4e = function (code) {
187
- return this.m4e_1.s2(code);
192
+ protoOf(Companion).t4f = function (code) {
193
+ return this.r4f_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.l4e_1, message);
231
+ CloseReason.call($this, code.q4f_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.l4e_1 = code;
239
+ this.q4f_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.p4e_1 = code;
285
- this.q4e_1 = message;
296
+ this.u4f_1 = code;
297
+ this.v4f_1 = message;
298
+ var size = utf8Size(this.v4f_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).r4e = function () {
288
- return Companion_getInstance().o4e(this.p4e_1);
305
+ protoOf(CloseReason).w4f = function () {
306
+ return Companion_getInstance().t4f(this.u4f_1);
289
307
  };
290
308
  protoOf(CloseReason).toString = function () {
291
- var tmp0_elvis_lhs = this.r4e();
292
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.p4e_1 : tmp0_elvis_lhs) + ', message=' + this.q4e_1 + ')';
309
+ var tmp0_elvis_lhs = this.w4f();
310
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.u4f_1 : tmp0_elvis_lhs) + ', message=' + this.v4f_1 + ')';
293
311
  };
294
312
  protoOf(CloseReason).hashCode = function () {
295
- var result = this.p4e_1;
296
- result = imul(result, 31) + getStringHashCode(this.q4e_1) | 0;
313
+ var result = this.u4f_1;
314
+ result = imul(result, 31) + getStringHashCode(this.v4f_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.p4e_1 === other.p4e_1))
322
+ if (!(this.u4f_1 === other.u4f_1))
305
323
  return false;
306
- if (!(this.q4e_1 === other.q4e_1))
324
+ if (!(this.v4f_1 === other.v4f_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.c4g_1.z4f_1 || _this__u8e3s4.d4g_1.length <= 125)) {
359
+ var message = 'Control frames must not exceed 125 bytes per RFC 6455, ' + ('but ' + _this__u8e3s4.c4g_1.toString() + ' frame has ' + _this__u8e3s4.d4g_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,14 +386,14 @@ 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().y4e_1 : channelsConfig;
389
+ channelsConfig = channelsConfig === VOID ? Companion_getInstance_3().o4g_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.z4e_1, channelsConfig.a4f_1);
396
+ return new DefaultWebSocketSessionImpl(session, pingIntervalMillis, timeoutMillis, channelsConfig.p4g_1, channelsConfig.q4g_1);
344
397
  }
345
398
  function runIncomingProcessor($this, ponger) {
346
399
  var tmp = get_IncomingProcessorCoroutineName().wh(Dispatchers_getInstance().d1z_1);
@@ -365,32 +418,32 @@ function sendCloseSequence($this, reason, exception, $completion) {
365
418
  return tmp.d9();
366
419
  }
367
420
  function tryClose($this) {
368
- return $this.f4g_1.atomicfu$compareAndSet(false, true);
421
+ return $this.v4h_1.atomicfu$compareAndSet(false, true);
369
422
  }
370
423
  function runOrCancelPinger($this) {
371
- var interval = $this.i4g_1;
424
+ var interval = $this.y4h_1;
372
425
  var tmp;
373
- if ($this.f4g_1.kotlinx$atomicfu$value) {
426
+ if ($this.v4h_1.kotlinx$atomicfu$value) {
374
427
  tmp = null;
375
428
  } else if (compare(interval, new Long(0, 0)) > 0) {
376
- var tmp_0 = $this.y4f_1.w4e();
377
- var tmp_1 = $this.j4g_1;
429
+ var tmp_0 = $this.o4h_1.m4g();
430
+ var tmp_1 = $this.z4h_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.z4f_1.atomicfu$getAndSet(newPinger);
436
+ var tmp0_safe_receiver = $this.p4h_1.atomicfu$getAndSet(newPinger);
384
437
  if (tmp0_safe_receiver == null)
385
438
  null;
386
439
  else
387
440
  tmp0_safe_receiver.p25();
388
- var tmp2_safe_receiver = newPinger == null ? null : new ChannelResult(newPinger.j25(Companion_getInstance_0().l4g_1));
441
+ var tmp2_safe_receiver = newPinger == null ? null : new ChannelResult(newPinger.j25(Companion_getInstance_1().b4i_1));
389
442
  if (tmp2_safe_receiver == null)
390
443
  null;
391
444
  else
392
445
  _ChannelResult___get_isSuccess__impl__odq1z9(tmp2_safe_receiver.t23_1);
393
- if ($this.f4g_1.kotlinx$atomicfu$value && !(newPinger == null)) {
446
+ if ($this.v4h_1.kotlinx$atomicfu$value && !(newPinger == null)) {
394
447
  runOrCancelPinger($this);
395
448
  }
396
449
  }
@@ -403,49 +456,49 @@ function checkMaxFrameSize($this, packet, frame, $completion) {
403
456
  function processIncomingExtensions($this, frame) {
404
457
  // Inline function 'kotlin.collections.fold' call
405
458
  var accumulator = frame;
406
- var _iterator__ex2g4s = $this.y4g().t();
459
+ var _iterator__ex2g4s = $this.o4i().t();
407
460
  while (_iterator__ex2g4s.u()) {
408
461
  var element = _iterator__ex2g4s.v();
409
462
  var current = accumulator;
410
- accumulator = element.z4g(current);
463
+ accumulator = element.p4i(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.y4g().t();
470
+ var _iterator__ex2g4s = $this.o4i().t();
418
471
  while (_iterator__ex2g4s.u()) {
419
472
  var element = _iterator__ex2g4s.v();
420
473
  var current = accumulator;
421
- accumulator = element.a4h(current);
474
+ accumulator = element.q4i(current);
422
475
  }
423
476
  return accumulator;
424
477
  }
425
- function Companion_0() {
426
- Companion_instance_0 = this;
427
- this.l4g_1 = new Pong(new Int8Array(0), NonDisposableHandle_instance);
478
+ function Companion_1() {
479
+ Companion_instance_1 = this;
480
+ this.b4i_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.j4h_1 = $incomingJob;
437
- this.k4h_1 = $outgoingJob;
438
- this.l4h_1 = this$0;
489
+ this.z4i_1 = $incomingJob;
490
+ this.a4j_1 = $outgoingJob;
491
+ this.b4j_1 = this$0;
439
492
  CoroutineImpl.call(this, resultContinuation);
440
493
  }
441
- protoOf(DefaultWebSocketSessionImpl$start$slambda).i3s = function ($this$launch, $completion) {
442
- var tmp = this.j3s($this$launch, $completion);
494
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).n3t = function ($this$launch, $completion) {
495
+ var tmp = this.o3t($this$launch, $completion);
443
496
  tmp.x8_1 = Unit_instance;
444
497
  tmp.y8_1 = null;
445
498
  return tmp.d9();
446
499
  };
447
500
  protoOf(DefaultWebSocketSessionImpl$start$slambda).q9 = function (p1, $completion) {
448
- return this.i3s((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
501
+ return this.n3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
449
502
  };
450
503
  protoOf(DefaultWebSocketSessionImpl$start$slambda).d9 = function () {
451
504
  var suspendResult = this.x8_1;
@@ -456,7 +509,7 @@ protoOf(DefaultWebSocketSessionImpl$start$slambda).d9 = function () {
456
509
  case 0:
457
510
  this.w8_1 = 3;
458
511
  this.v8_1 = 1;
459
- suspendResult = this.j4h_1.d1o(this);
512
+ suspendResult = this.z4i_1.d1o(this);
460
513
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
461
514
  return suspendResult;
462
515
  }
@@ -464,14 +517,14 @@ protoOf(DefaultWebSocketSessionImpl$start$slambda).d9 = function () {
464
517
  continue $sm;
465
518
  case 1:
466
519
  this.v8_1 = 2;
467
- suspendResult = this.k4h_1.d1o(this);
520
+ suspendResult = this.a4j_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.l4h_1.b4g_1.h1o();
527
+ this.b4j_1.r4h_1.h1o();
475
528
  return Unit_instance;
476
529
  case 3:
477
530
  throw this.y8_1;
@@ -487,30 +540,30 @@ protoOf(DefaultWebSocketSessionImpl$start$slambda).d9 = function () {
487
540
  }
488
541
  while (true);
489
542
  };
490
- protoOf(DefaultWebSocketSessionImpl$start$slambda).j3s = function ($this$launch, completion) {
491
- var i = new DefaultWebSocketSessionImpl$start$slambda(this.j4h_1, this.k4h_1, this.l4h_1, completion);
492
- i.m4h_1 = $this$launch;
543
+ protoOf(DefaultWebSocketSessionImpl$start$slambda).o3t = function ($this$launch, completion) {
544
+ var i = new DefaultWebSocketSessionImpl$start$slambda(this.z4i_1, this.a4j_1, this.b4j_1, completion);
545
+ i.c4j_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.i3s($this$launch, $completion);
551
+ return i.n3t($this$launch, $completion);
499
552
  }, 1);
500
553
  }
501
554
  function DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this$0, $ponger, resultContinuation) {
502
- this.v4h_1 = this$0;
503
- this.w4h_1 = $ponger;
555
+ this.l4j_1 = this$0;
556
+ this.m4j_1 = $ponger;
504
557
  CoroutineImpl.call(this, resultContinuation);
505
558
  }
506
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).i3s = function ($this$launch, $completion) {
507
- var tmp = this.j3s($this$launch, $completion);
559
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).n3t = function ($this$launch, $completion) {
560
+ var tmp = this.o3t($this$launch, $completion);
508
561
  tmp.x8_1 = Unit_instance;
509
562
  tmp.y8_1 = null;
510
563
  return tmp.d9();
511
564
  };
512
565
  protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).q9 = function (p1, $completion) {
513
- return this.i3s((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
566
+ return this.n3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
514
567
  };
515
568
  protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function () {
516
569
  var suspendResult = this.x8_1;
@@ -520,10 +573,10 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
520
573
  switch (tmp) {
521
574
  case 0:
522
575
  this.w8_1 = 39;
523
- this.h4i_1 = null;
524
- this.a4i_1 = null;
525
- this.z4h_1 = false;
526
- this.b4i_1 = Unit_instance;
576
+ this.x4j_1 = null;
577
+ this.q4j_1 = null;
578
+ this.p4j_1 = false;
579
+ this.r4j_1 = Unit_instance;
527
580
  this.v8_1 = 1;
528
581
  continue $sm;
529
582
  case 1:
@@ -532,12 +585,12 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
532
585
  case 2:
533
586
  this.w8_1 = 33;
534
587
  this.w8_1 = 32;
535
- this.l4i_1 = this.v4h_1.y4f_1.v4e();
588
+ this.b4k_1 = this.l4j_1.o4h_1.l4g();
536
589
  this.v8_1 = 3;
537
590
  continue $sm;
538
591
  case 3:
539
- this.e4i_1 = this.l4i_1;
540
- this.d4i_1 = null;
592
+ this.u4j_1 = this.b4k_1;
593
+ this.t4j_1 = null;
541
594
  this.v8_1 = 4;
542
595
  continue $sm;
543
596
  case 4:
@@ -549,12 +602,12 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
549
602
  case 6:
550
603
  this.w8_1 = 29;
551
604
  this.w8_1 = 28;
552
- this.k4i_1 = this.e4i_1.t();
605
+ this.a4k_1 = this.u4j_1.t();
553
606
  this.v8_1 = 7;
554
607
  continue $sm;
555
608
  case 7:
556
609
  this.v8_1 = 8;
557
- suspendResult = this.k4i_1.l23(this);
610
+ suspendResult = this.a4k_1.l23(this);
558
611
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
559
612
  return suspendResult;
560
613
  }
@@ -566,23 +619,23 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
566
619
  continue $sm;
567
620
  }
568
621
 
569
- var e = this.k4i_1.v();
570
- this.j4i_1 = e;
622
+ var e = this.a4k_1.v();
623
+ this.z4j_1 = e;
571
624
  this.v8_1 = 9;
572
625
  continue $sm;
573
626
  case 9:
574
- this.i4i_1 = this.j4i_1;
627
+ this.y4j_1 = this.z4j_1;
575
628
  var this_0 = get_LOGGER();
576
629
  if (get_isTraceEnabled(this_0)) {
577
- this_0.b41('WebSocketSession(' + toString(this.x4h_1) + ') receiving frame ' + this.i4i_1.toString());
630
+ this_0.g42('WebSocketSession(' + toString(this.n4j_1) + ') receiving frame ' + this.y4j_1.toString());
578
631
  }
579
632
 
580
- var tmp0_subject = this.i4i_1;
633
+ var tmp0_subject = this.y4j_1;
581
634
  if (tmp0_subject instanceof Close) {
582
- if (!this.v4h_1.w4e().n23()) {
635
+ if (!this.l4j_1.m4g().n23()) {
583
636
  this.v8_1 = 18;
584
- var tmp_0 = this.v4h_1.w4e();
585
- var tmp1_elvis_lhs = readReason(this.i4i_1);
637
+ var tmp_0 = this.l4j_1.m4g();
638
+ var tmp1_elvis_lhs = readReason(this.y4j_1);
586
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;
@@ -594,14 +647,14 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
594
647
  }
595
648
  } else {
596
649
  if (tmp0_subject instanceof Pong) {
597
- var tmp2_safe_receiver = this.v4h_1.z4f_1.kotlinx$atomicfu$value;
650
+ var tmp2_safe_receiver = this.l4j_1.p4h_1.kotlinx$atomicfu$value;
598
651
  if (tmp2_safe_receiver == null) {
599
- this.g4i_1 = null;
652
+ this.w4j_1 = null;
600
653
  this.v8_1 = 17;
601
654
  continue $sm;
602
655
  } else {
603
656
  this.v8_1 = 16;
604
- suspendResult = tmp2_safe_receiver.i25(this.i4i_1, this);
657
+ suspendResult = tmp2_safe_receiver.i25(this.y4j_1, this);
605
658
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
606
659
  return suspendResult;
607
660
  }
@@ -610,14 +663,14 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
610
663
  } else {
611
664
  if (tmp0_subject instanceof Ping) {
612
665
  this.v8_1 = 15;
613
- suspendResult = this.w4h_1.i25(this.i4i_1, this);
666
+ suspendResult = this.m4j_1.i25(this.y4j_1, this);
614
667
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
615
668
  return suspendResult;
616
669
  }
617
670
  continue $sm;
618
671
  } else {
619
672
  this.v8_1 = 10;
620
- suspendResult = checkMaxFrameSize(this.v4h_1, this.a4i_1, this.i4i_1, this);
673
+ suspendResult = checkMaxFrameSize(this.l4j_1, this.q4j_1, this.y4j_1, this);
621
674
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
622
675
  return suspendResult;
623
676
  }
@@ -627,14 +680,14 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
627
680
  }
628
681
 
629
682
  case 10:
630
- if (!this.i4i_1.m4i_1) {
631
- if (this.h4i_1 == null) {
632
- this.h4i_1 = this.i4i_1;
683
+ if (!this.y4j_1.b4g_1) {
684
+ if (this.x4j_1 == null) {
685
+ this.x4j_1 = this.y4j_1;
633
686
  }
634
- if (this.a4i_1 == null) {
635
- this.a4i_1 = BytePacketBuilder();
687
+ if (this.q4j_1 == null) {
688
+ this.q4j_1 = BytePacketBuilder();
636
689
  }
637
- writeFully(this.a4i_1, this.i4i_1.o4i_1);
690
+ writeFully(this.q4j_1, this.y4j_1.d4g_1);
638
691
  this.v8_1 = 21;
639
692
  continue $sm;
640
693
  } else {
@@ -643,9 +696,9 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
643
696
  }
644
697
 
645
698
  case 11:
646
- if (this.h4i_1 == null) {
699
+ if (this.x4j_1 == null) {
647
700
  this.v8_1 = 14;
648
- suspendResult = this.v4h_1.d4g_1.i25(processIncomingExtensions(this.v4h_1, this.i4i_1), this);
701
+ suspendResult = this.l4j_1.t4h_1.i25(processIncomingExtensions(this.l4j_1, this.y4j_1), this);
649
702
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
650
703
  return suspendResult;
651
704
  }
@@ -656,11 +709,11 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
656
709
  }
657
710
 
658
711
  case 12:
659
- writeFully(ensureNotNull(this.a4i_1), this.i4i_1.o4i_1);
660
- var defragmented = Companion_getInstance_5().u4i(true, this.h4i_1.n4i_1, readByteArray(build(this.a4i_1)), this.h4i_1.q4i_1, this.h4i_1.r4i_1, this.h4i_1.s4i_1);
661
- this.h4i_1 = null;
712
+ writeFully(ensureNotNull(this.q4j_1), this.y4j_1.d4g_1);
713
+ var defragmented = Companion_getInstance_6().d4k(true, this.x4j_1.c4g_1, readByteArray(build(this.q4j_1)), this.x4j_1.f4g_1, this.x4j_1.g4g_1, this.x4j_1.h4g_1);
714
+ this.x4j_1 = null;
662
715
  this.v8_1 = 13;
663
- suspendResult = this.v4h_1.d4g_1.i25(processIncomingExtensions(this.v4h_1, defragmented), this);
716
+ suspendResult = this.l4j_1.t4h_1.i25(processIncomingExtensions(this.l4j_1, defragmented), this);
664
717
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
665
718
  return suspendResult;
666
719
  }
@@ -668,7 +721,7 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
668
721
  continue $sm;
669
722
  case 13:
670
723
  var tmp_1 = this;
671
- tmp_1.f4i_1 = Unit_instance;
724
+ tmp_1.v4j_1 = Unit_instance;
672
725
  this.v8_1 = 20;
673
726
  continue $sm;
674
727
  case 14:
@@ -676,23 +729,23 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
676
729
  continue $sm;
677
730
  case 15:
678
731
  var tmp_2 = this;
679
- tmp_2.f4i_1 = Unit_instance;
732
+ tmp_2.v4j_1 = Unit_instance;
680
733
  this.v8_1 = 20;
681
734
  continue $sm;
682
735
  case 16:
683
736
  var tmp_3 = this;
684
- tmp_3.g4i_1 = Unit_instance;
737
+ tmp_3.w4j_1 = Unit_instance;
685
738
  this.v8_1 = 17;
686
739
  continue $sm;
687
740
  case 17:
688
- this.f4i_1 = this.g4i_1;
741
+ this.v4j_1 = this.w4j_1;
689
742
  this.v8_1 = 20;
690
743
  continue $sm;
691
744
  case 18:
692
745
  this.v8_1 = 19;
693
746
  continue $sm;
694
747
  case 19:
695
- this.z4h_1 = true;
748
+ this.p4j_1 = true;
696
749
  this.v8_1 = 22;
697
750
  var tmp_4 = this;
698
751
  continue $sm;
@@ -709,24 +762,24 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
709
762
  continue $sm;
710
763
  case 22:
711
764
  this.w8_1 = 32;
712
- cancelConsumed(this.e4i_1, this.d4i_1);
765
+ cancelConsumed(this.u4j_1, this.t4j_1);
713
766
  this.w8_1 = 39;
714
767
  this.v8_1 = 23;
715
768
  continue $sm;
716
769
  case 23:
717
770
  this.w8_1 = 39;
718
- this.w4h_1.p25();
719
- var tmp0_safe_receiver = this.a4i_1;
771
+ this.m4j_1.p25();
772
+ var tmp0_safe_receiver = this.q4j_1;
720
773
  if (tmp0_safe_receiver == null)
721
774
  null;
722
775
  else {
723
776
  tmp0_safe_receiver.d4();
724
777
  }
725
778
 
726
- this.v4h_1.d4g_1.p25();
727
- if (!this.z4h_1) {
779
+ this.l4j_1.t4h_1.p25();
780
+ if (!this.p4j_1) {
728
781
  this.v8_1 = 24;
729
- suspendResult = close(this.v4h_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
782
+ suspendResult = close(this.l4j_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
  }
@@ -748,7 +801,7 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
748
801
  continue $sm;
749
802
  case 27:
750
803
  this.w8_1 = 32;
751
- cancelConsumed(this.e4i_1, this.d4i_1);
804
+ cancelConsumed(this.u4j_1, this.t4j_1);
752
805
  this.v8_1 = 31;
753
806
  continue $sm;
754
807
  case 28:
@@ -757,7 +810,7 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
757
810
  if (tmp_7 instanceof Error) {
758
811
  var e_0 = this.y8_1;
759
812
  var tmp_8 = this;
760
- this.d4i_1 = e_0;
813
+ this.t4j_1 = e_0;
761
814
  throw e_0;
762
815
  } else {
763
816
  throw this.y8_1;
@@ -766,11 +819,11 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
766
819
  case 29:
767
820
  this.w8_1 = 32;
768
821
  var t = this.y8_1;
769
- cancelConsumed(this.e4i_1, this.d4i_1);
822
+ cancelConsumed(this.u4j_1, this.t4j_1);
770
823
  throw t;
771
824
  case 30:
772
825
  this.w8_1 = 32;
773
- cancelConsumed(this.e4i_1, this.d4i_1);
826
+ cancelConsumed(this.u4j_1, this.t4j_1);
774
827
  if (false) {
775
828
  this.v8_1 = 3;
776
829
  continue $sm;
@@ -779,7 +832,7 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
779
832
  this.v8_1 = 31;
780
833
  continue $sm;
781
834
  case 31:
782
- this.b4i_1 = Unit_instance;
835
+ this.r4j_1 = Unit_instance;
783
836
  this.w8_1 = 39;
784
837
  this.v8_1 = 36;
785
838
  continue $sm;
@@ -789,7 +842,7 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
789
842
  if (tmp_9 instanceof ClosedSendChannelException) {
790
843
  var _unused_var__etf5q3 = this.y8_1;
791
844
  var tmp_10 = this;
792
- tmp_10.b4i_1 = Unit_instance;
845
+ tmp_10.r4j_1 = Unit_instance;
793
846
  this.w8_1 = 39;
794
847
  this.v8_1 = 36;
795
848
  continue $sm;
@@ -798,8 +851,8 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
798
851
  if (tmp_11 instanceof Error) {
799
852
  var cause = this.y8_1;
800
853
  var tmp_12 = this;
801
- this.w4h_1.p25();
802
- tmp_12.b4i_1 = this.v4h_1.d4g_1.n25(cause);
854
+ this.m4j_1.p25();
855
+ tmp_12.r4j_1 = this.l4j_1.t4h_1.n25(cause);
803
856
  this.w8_1 = 39;
804
857
  this.v8_1 = 36;
805
858
  continue $sm;
@@ -810,19 +863,19 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
810
863
 
811
864
  case 33:
812
865
  this.w8_1 = 39;
813
- this.c4i_1 = this.y8_1;
814
- this.w4h_1.p25();
815
- var tmp0_safe_receiver_0 = this.a4i_1;
866
+ this.s4j_1 = this.y8_1;
867
+ this.m4j_1.p25();
868
+ var tmp0_safe_receiver_0 = this.q4j_1;
816
869
  if (tmp0_safe_receiver_0 == null)
817
870
  null;
818
871
  else {
819
872
  tmp0_safe_receiver_0.d4();
820
873
  }
821
874
 
822
- this.v4h_1.d4g_1.p25();
823
- if (!this.z4h_1) {
875
+ this.l4j_1.t4h_1.p25();
876
+ if (!this.p4j_1) {
824
877
  this.v8_1 = 34;
825
- suspendResult = close(this.v4h_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
878
+ suspendResult = close(this.l4j_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
  }
@@ -836,22 +889,22 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
836
889
  this.v8_1 = 35;
837
890
  continue $sm;
838
891
  case 35:
839
- throw this.c4i_1;
892
+ throw this.s4j_1;
840
893
  case 36:
841
- this.y4h_1 = this.b4i_1;
894
+ this.o4j_1 = this.r4j_1;
842
895
  this.w8_1 = 39;
843
- this.w4h_1.p25();
844
- var tmp0_safe_receiver_1 = this.a4i_1;
896
+ this.m4j_1.p25();
897
+ var tmp0_safe_receiver_1 = this.q4j_1;
845
898
  if (tmp0_safe_receiver_1 == null)
846
899
  null;
847
900
  else {
848
901
  tmp0_safe_receiver_1.d4();
849
902
  }
850
903
 
851
- this.v4h_1.d4g_1.p25();
852
- if (!this.z4h_1) {
904
+ this.l4j_1.t4h_1.p25();
905
+ if (!this.p4j_1) {
853
906
  this.v8_1 = 37;
854
- suspendResult = close(this.v4h_1, CloseReason_init_$Create$(Codes_CLOSED_ABNORMALLY_getInstance(), 'Connection was closed without close frame'), this);
907
+ suspendResult = close(this.l4j_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
  }
@@ -880,29 +933,29 @@ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).d9 = function
880
933
  }
881
934
  while (true);
882
935
  };
883
- protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).j3s = function ($this$launch, completion) {
884
- var i = new DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this.v4h_1, this.w4h_1, completion);
885
- i.x4h_1 = $this$launch;
936
+ protoOf(DefaultWebSocketSessionImpl$runIncomingProcessor$slambda).o3t = function ($this$launch, completion) {
937
+ var i = new DefaultWebSocketSessionImpl$runIncomingProcessor$slambda(this.l4j_1, this.m4j_1, completion);
938
+ i.n4j_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.i3s($this$launch, $completion);
944
+ return i.n3t($this$launch, $completion);
892
945
  }, 1);
893
946
  }
894
947
  function DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this$0, resultContinuation) {
895
- this.d4j_1 = this$0;
948
+ this.m4k_1 = this$0;
896
949
  CoroutineImpl.call(this, resultContinuation);
897
950
  }
898
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).i3s = function ($this$launch, $completion) {
899
- var tmp = this.j3s($this$launch, $completion);
951
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).n3t = function ($this$launch, $completion) {
952
+ var tmp = this.o3t($this$launch, $completion);
900
953
  tmp.x8_1 = Unit_instance;
901
954
  tmp.y8_1 = null;
902
955
  return tmp.d9();
903
956
  };
904
957
  protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).q9 = function (p1, $completion) {
905
- return this.i3s((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
958
+ return this.n3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
906
959
  };
907
960
  protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).d9 = function () {
908
961
  var suspendResult = this.x8_1;
@@ -921,7 +974,7 @@ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).d9 = function
921
974
  this.w8_1 = 9;
922
975
  this.w8_1 = 4;
923
976
  this.v8_1 = 3;
924
- suspendResult = outgoingProcessorLoop(this.d4j_1, this);
977
+ suspendResult = outgoingProcessorLoop(this.m4k_1, this);
925
978
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
926
979
  return suspendResult;
927
980
  }
@@ -951,7 +1004,7 @@ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).d9 = function
951
1004
  if (tmp_2 instanceof CancellationException) {
952
1005
  var _unused_var__etf5q3_1 = this.y8_1;
953
1006
  this.v8_1 = 5;
954
- suspendResult = sendCloseSequence(this.d4j_1, CloseReason_init_$Create$(Codes_NORMAL_getInstance(), ''), VOID, this);
1007
+ suspendResult = sendCloseSequence(this.m4k_1, CloseReason_init_$Create$(Codes_NORMAL_getInstance(), ''), VOID, this);
955
1008
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
956
1009
  return suspendResult;
957
1010
  }
@@ -967,9 +1020,9 @@ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).d9 = function
967
1020
  var tmp_4 = this.y8_1;
968
1021
  if (tmp_4 instanceof Error) {
969
1022
  var cause = this.y8_1;
970
- this.d4j_1.e4g_1.g1o(CancellationException_init_$Create$('Failed to send frame', cause));
1023
+ this.m4k_1.u4h_1.g1o(CancellationException_init_$Create$('Failed to send frame', cause));
971
1024
  this.v8_1 = 6;
972
- suspendResult = closeExceptionally(this.d4j_1.y4f_1, cause, this);
1025
+ suspendResult = closeExceptionally(this.m4k_1.o4h_1, cause, this);
973
1026
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
974
1027
  return suspendResult;
975
1028
  }
@@ -992,9 +1045,9 @@ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).d9 = function
992
1045
  continue $sm;
993
1046
  case 7:
994
1047
  this.w8_1 = 13;
995
- this.d4j_1.e4g_1.r25();
1048
+ this.m4k_1.u4h_1.r25();
996
1049
  this.v8_1 = 8;
997
- suspendResult = close(this.d4j_1.y4f_1, VOID, this);
1050
+ suspendResult = close(this.m4k_1.o4h_1, VOID, this);
998
1051
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
999
1052
  return suspendResult;
1000
1053
  }
@@ -1004,22 +1057,22 @@ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).d9 = function
1004
1057
  return Unit_instance;
1005
1058
  case 9:
1006
1059
  this.w8_1 = 13;
1007
- this.f4j_1 = this.y8_1;
1008
- this.d4j_1.e4g_1.r25();
1060
+ this.o4k_1 = this.y8_1;
1061
+ this.m4k_1.u4h_1.r25();
1009
1062
  this.v8_1 = 10;
1010
- suspendResult = close(this.d4j_1.y4f_1, VOID, this);
1063
+ suspendResult = close(this.m4k_1.o4h_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.f4j_1;
1070
+ throw this.o4k_1;
1018
1071
  case 11:
1019
1072
  this.w8_1 = 13;
1020
- this.d4j_1.e4g_1.r25();
1073
+ this.m4k_1.u4h_1.r25();
1021
1074
  this.v8_1 = 12;
1022
- suspendResult = close(this.d4j_1.y4f_1, VOID, this);
1075
+ suspendResult = close(this.m4k_1.o4h_1, VOID, this);
1023
1076
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1024
1077
  return suspendResult;
1025
1078
  }
@@ -1041,29 +1094,29 @@ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).d9 = function
1041
1094
  }
1042
1095
  while (true);
1043
1096
  };
1044
- protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).j3s = function ($this$launch, completion) {
1045
- var i = new DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this.d4j_1, completion);
1046
- i.e4j_1 = $this$launch;
1097
+ protoOf(DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda).o3t = function ($this$launch, completion) {
1098
+ var i = new DefaultWebSocketSessionImpl$runOutgoingProcessor$slambda(this.m4k_1, completion);
1099
+ i.n4k_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.i3s($this$launch, $completion);
1105
+ return i.n3t($this$launch, $completion);
1053
1106
  }, 1);
1054
1107
  }
1055
1108
  function DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this$0, resultContinuation) {
1056
- this.o4j_1 = this$0;
1109
+ this.x4k_1 = this$0;
1057
1110
  CoroutineImpl.call(this, resultContinuation);
1058
1111
  }
1059
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).q4j = function (it, $completion) {
1060
- var tmp = this.r4j(it, $completion);
1112
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).z4k = function (it, $completion) {
1113
+ var tmp = this.a4l(it, $completion);
1061
1114
  tmp.x8_1 = Unit_instance;
1062
1115
  tmp.y8_1 = null;
1063
1116
  return tmp.d9();
1064
1117
  };
1065
1118
  protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).q9 = function (p1, $completion) {
1066
- return this.q4j(p1 instanceof CloseReason ? p1 : THROW_CCE(), $completion);
1119
+ return this.z4k(p1 instanceof CloseReason ? p1 : THROW_CCE(), $completion);
1067
1120
  };
1068
1121
  protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).d9 = function () {
1069
1122
  var suspendResult = this.x8_1;
@@ -1074,7 +1127,7 @@ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).d9 = function ()
1074
1127
  case 0:
1075
1128
  this.w8_1 = 2;
1076
1129
  this.v8_1 = 1;
1077
- suspendResult = sendCloseSequence(this.o4j_1, this.p4j_1, IOException_init_$Create$('Ping timeout'), this);
1130
+ suspendResult = sendCloseSequence(this.x4k_1, this.y4k_1, IOException_init_$Create$('Ping timeout'), this);
1078
1131
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1079
1132
  return suspendResult;
1080
1133
  }
@@ -1096,20 +1149,20 @@ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).d9 = function ()
1096
1149
  }
1097
1150
  while (true);
1098
1151
  };
1099
- protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).r4j = function (it, completion) {
1100
- var i = new DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this.o4j_1, completion);
1101
- i.p4j_1 = it;
1152
+ protoOf(DefaultWebSocketSessionImpl$runOrCancelPinger$slambda).a4l = function (it, completion) {
1153
+ var i = new DefaultWebSocketSessionImpl$runOrCancelPinger$slambda(this.x4k_1, completion);
1154
+ i.y4k_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.q4j(it, $completion);
1160
+ return i.z4k(it, $completion);
1108
1161
  }, 1);
1109
1162
  }
1110
1163
  function $outgoingProcessorLoopCOROUTINE$(_this__u8e3s4, resultContinuation) {
1111
1164
  CoroutineImpl.call(this, resultContinuation);
1112
- this.j4f_1 = _this__u8e3s4;
1165
+ this.z4g_1 = _this__u8e3s4;
1113
1166
  }
1114
1167
  protoOf($outgoingProcessorLoopCOROUTINE$).d9 = function () {
1115
1168
  var suspendResult = this.x8_1;
@@ -1119,12 +1172,12 @@ protoOf($outgoingProcessorLoopCOROUTINE$).d9 = function () {
1119
1172
  switch (tmp) {
1120
1173
  case 0:
1121
1174
  this.w8_1 = 7;
1122
- this.l4f_1 = this.j4f_1.e4g_1.t();
1175
+ this.b4h_1 = this.z4g_1.u4h_1.t();
1123
1176
  this.v8_1 = 1;
1124
1177
  continue $sm;
1125
1178
  case 1:
1126
1179
  this.v8_1 = 2;
1127
- suspendResult = this.l4f_1.l23(this);
1180
+ suspendResult = this.b4h_1.l23(this);
1128
1181
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1129
1182
  return suspendResult;
1130
1183
  }
@@ -1136,15 +1189,15 @@ protoOf($outgoingProcessorLoopCOROUTINE$).d9 = function () {
1136
1189
  continue $sm;
1137
1190
  }
1138
1191
 
1139
- var frame = this.l4f_1.v();
1192
+ var frame = this.b4h_1.v();
1140
1193
  var this_0 = get_LOGGER();
1141
1194
  if (get_isTraceEnabled(this_0)) {
1142
- this_0.b41('Sending ' + frame.toString() + ' from session ' + toString(this.j4f_1));
1195
+ this_0.g42('Sending ' + frame.toString() + ' from session ' + toString(this.z4g_1));
1143
1196
  }
1144
1197
 
1145
1198
  if (frame instanceof Close) {
1146
1199
  this.v8_1 = 3;
1147
- suspendResult = sendCloseSequence(this.j4f_1, readReason(frame), VOID, this);
1200
+ suspendResult = sendCloseSequence(this.z4g_1, readReason(frame), VOID, this);
1148
1201
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1149
1202
  return suspendResult;
1150
1203
  }
@@ -1157,11 +1210,11 @@ protoOf($outgoingProcessorLoopCOROUTINE$).d9 = function () {
1157
1210
  tmp_0 = frame instanceof Binary;
1158
1211
  }
1159
1212
  if (tmp_0) {
1160
- this.k4f_1 = processOutgoingExtensions(this.j4f_1, frame);
1213
+ this.a4h_1 = processOutgoingExtensions(this.z4g_1, frame);
1161
1214
  this.v8_1 = 4;
1162
1215
  continue $sm;
1163
1216
  } else {
1164
- this.k4f_1 = frame;
1217
+ this.a4h_1 = frame;
1165
1218
  this.v8_1 = 4;
1166
1219
  continue $sm;
1167
1220
  }
@@ -1172,9 +1225,9 @@ protoOf($outgoingProcessorLoopCOROUTINE$).d9 = function () {
1172
1225
  var tmp_1 = this;
1173
1226
  continue $sm;
1174
1227
  case 4:
1175
- var processedFrame = this.k4f_1;
1228
+ var processedFrame = this.a4h_1;
1176
1229
  this.v8_1 = 5;
1177
- suspendResult = this.j4f_1.y4f_1.w4e().i25(processedFrame, this);
1230
+ suspendResult = this.z4g_1.o4h_1.m4g().i25(processedFrame, this);
1178
1231
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1179
1232
  return suspendResult;
1180
1233
  }
@@ -1201,9 +1254,9 @@ protoOf($outgoingProcessorLoopCOROUTINE$).d9 = function () {
1201
1254
  };
1202
1255
  function $sendCloseSequenceCOROUTINE$(_this__u8e3s4, reason, exception, resultContinuation) {
1203
1256
  CoroutineImpl.call(this, resultContinuation);
1204
- this.u4f_1 = _this__u8e3s4;
1205
- this.v4f_1 = reason;
1206
- this.w4f_1 = exception;
1257
+ this.k4h_1 = _this__u8e3s4;
1258
+ this.l4h_1 = reason;
1259
+ this.m4h_1 = exception;
1207
1260
  }
1208
1261
  protoOf($sendCloseSequenceCOROUTINE$).d9 = function () {
1209
1262
  var suspendResult = this.x8_1;
@@ -1213,25 +1266,25 @@ protoOf($sendCloseSequenceCOROUTINE$).d9 = function () {
1213
1266
  switch (tmp) {
1214
1267
  case 0:
1215
1268
  this.w8_1 = 6;
1216
- if (!tryClose(this.u4f_1))
1269
+ if (!tryClose(this.k4h_1))
1217
1270
  return Unit_instance;
1218
1271
  var this_0 = get_LOGGER();
1219
1272
  if (get_isTraceEnabled(this_0)) {
1220
- this_0.b41('Sending Close Sequence for session ' + toString(this.u4f_1) + ' with reason ' + toString_0(this.v4f_1) + ' and exception ' + toString_0(this.w4f_1));
1273
+ this_0.g42('Sending Close Sequence for session ' + toString(this.k4h_1) + ' with reason ' + toString_0(this.l4h_1) + ' and exception ' + toString_0(this.m4h_1));
1221
1274
  }
1222
1275
 
1223
- this.u4f_1.b4g_1.f1v();
1276
+ this.k4h_1.r4h_1.f1v();
1224
1277
  var tmp_0 = this;
1225
- var tmp0_elvis_lhs = this.v4f_1;
1226
- tmp_0.x4f_1 = tmp0_elvis_lhs == null ? CloseReason_init_$Create$(Codes_NORMAL_getInstance(), '') : tmp0_elvis_lhs;
1278
+ var tmp0_elvis_lhs = this.l4h_1;
1279
+ tmp_0.n4h_1 = tmp0_elvis_lhs == null ? CloseReason_init_$Create$(Codes_NORMAL_getInstance(), '') : tmp0_elvis_lhs;
1227
1280
  this.v8_1 = 1;
1228
1281
  continue $sm;
1229
1282
  case 1:
1230
1283
  this.w8_1 = 5;
1231
- runOrCancelPinger(this.u4f_1);
1232
- if (!(this.x4f_1.p4e_1 === Codes_CLOSED_ABNORMALLY_getInstance().l4e_1)) {
1284
+ runOrCancelPinger(this.k4h_1);
1285
+ if (!(this.n4h_1.u4f_1 === Codes_CLOSED_ABNORMALLY_getInstance().q4f_1)) {
1233
1286
  this.v8_1 = 2;
1234
- suspendResult = this.u4f_1.y4f_1.w4e().i25(Close_init_$Create$(this.x4f_1), this);
1287
+ suspendResult = this.k4h_1.o4h_1.m4g().i25(Close_init_$Create$(this.n4h_1), this);
1235
1288
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1236
1289
  return suspendResult;
1237
1290
  }
@@ -1250,20 +1303,20 @@ protoOf($sendCloseSequenceCOROUTINE$).d9 = function () {
1250
1303
  continue $sm;
1251
1304
  case 4:
1252
1305
  this.w8_1 = 6;
1253
- this.u4f_1.a4g_1.d1v(this.x4f_1);
1254
- if (!(this.w4f_1 == null)) {
1255
- this.u4f_1.e4g_1.n25(this.w4f_1);
1256
- this.u4f_1.d4g_1.n25(this.w4f_1);
1306
+ this.k4h_1.q4h_1.d1v(this.n4h_1);
1307
+ if (!(this.m4h_1 == null)) {
1308
+ this.k4h_1.u4h_1.n25(this.m4h_1);
1309
+ this.k4h_1.t4h_1.n25(this.m4h_1);
1257
1310
  }
1258
1311
 
1259
1312
  return Unit_instance;
1260
1313
  case 5:
1261
1314
  this.w8_1 = 6;
1262
1315
  var t = this.y8_1;
1263
- this.u4f_1.a4g_1.d1v(this.x4f_1);
1264
- if (!(this.w4f_1 == null)) {
1265
- this.u4f_1.e4g_1.n25(this.w4f_1);
1266
- this.u4f_1.d4g_1.n25(this.w4f_1);
1316
+ this.k4h_1.q4h_1.d1v(this.n4h_1);
1317
+ if (!(this.m4h_1 == null)) {
1318
+ this.k4h_1.u4h_1.n25(this.m4h_1);
1319
+ this.k4h_1.t4h_1.n25(this.m4h_1);
1267
1320
  }
1268
1321
 
1269
1322
  throw t;
@@ -1283,9 +1336,9 @@ protoOf($sendCloseSequenceCOROUTINE$).d9 = function () {
1283
1336
  };
1284
1337
  function $checkMaxFrameSizeCOROUTINE$(_this__u8e3s4, packet, frame, resultContinuation) {
1285
1338
  CoroutineImpl.call(this, resultContinuation);
1286
- this.u4g_1 = _this__u8e3s4;
1287
- this.v4g_1 = packet;
1288
- this.w4g_1 = frame;
1339
+ this.k4i_1 = _this__u8e3s4;
1340
+ this.l4i_1 = packet;
1341
+ this.m4i_1 = frame;
1289
1342
  }
1290
1343
  protoOf($checkMaxFrameSizeCOROUTINE$).d9 = function () {
1291
1344
  var suspendResult = this.x8_1;
@@ -1296,19 +1349,19 @@ protoOf($checkMaxFrameSizeCOROUTINE$).d9 = function () {
1296
1349
  case 0:
1297
1350
  this.w8_1 = 3;
1298
1351
  var tmp_0 = this;
1299
- var tmp_1 = this.w4g_1.o4i_1.length;
1300
- var tmp0_safe_receiver = this.v4g_1;
1352
+ var tmp_1 = this.m4i_1.d4g_1.length;
1353
+ var tmp0_safe_receiver = this.l4i_1;
1301
1354
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : get_size(tmp0_safe_receiver);
1302
- tmp_0.x4g_1 = tmp_1 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
1303
- if (compare(fromInt(this.x4g_1), this.u4g_1.u4e()) > 0) {
1304
- var tmp2_safe_receiver = this.v4g_1;
1355
+ tmp_0.n4i_1 = tmp_1 + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
1356
+ if (compare(fromInt(this.n4i_1), this.k4i_1.k4g()) > 0) {
1357
+ var tmp2_safe_receiver = this.l4i_1;
1305
1358
  if (tmp2_safe_receiver == null)
1306
1359
  null;
1307
1360
  else {
1308
1361
  tmp2_safe_receiver.d4();
1309
1362
  }
1310
1363
  this.v8_1 = 2;
1311
- suspendResult = close(this.u4g_1, CloseReason_init_$Create$(Codes_TOO_BIG_getInstance(), 'Frame is too big: ' + this.x4g_1 + '. Max size is ' + this.u4g_1.u4e().toString()), this);
1364
+ suspendResult = close(this.k4i_1, CloseReason_init_$Create$(Codes_TOO_BIG_getInstance(), 'Frame is too big: ' + this.n4i_1 + '. Max size is ' + this.k4i_1.k4g().toString()), this);
1312
1365
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1313
1366
  return suspendResult;
1314
1367
  }
@@ -1321,7 +1374,7 @@ protoOf($checkMaxFrameSizeCOROUTINE$).d9 = function () {
1321
1374
  case 1:
1322
1375
  return Unit_instance;
1323
1376
  case 2:
1324
- throw new FrameTooBigException(fromInt(this.x4g_1));
1377
+ throw new FrameTooBigException(fromInt(this.n4i_1));
1325
1378
  case 3:
1326
1379
  throw this.y8_1;
1327
1380
  }
@@ -1337,43 +1390,43 @@ protoOf($checkMaxFrameSizeCOROUTINE$).d9 = function () {
1337
1390
  while (true);
1338
1391
  };
1339
1392
  function DefaultWebSocketSessionImpl(raw, pingIntervalMillis, timeoutMillis, incomingFramesConfig, outgoingFramesConfig) {
1340
- Companion_getInstance_0();
1341
- this.y4f_1 = raw;
1342
- this.z4f_1 = atomic$ref$1(null);
1343
- this.a4g_1 = CompletableDeferred();
1344
- this.b4g_1 = Job();
1345
- this.c4g_1 = this.y4f_1.w1m().uh(Key_instance).wh(this.b4g_1).wh(new CoroutineName('ws-default'));
1346
- this.d4g_1 = from(Factory_getInstance(), incomingFramesConfig);
1347
- this.e4g_1 = from(Factory_getInstance(), outgoingFramesConfig);
1348
- this.f4g_1 = atomic$boolean$1(false);
1393
+ Companion_getInstance_1();
1394
+ this.o4h_1 = raw;
1395
+ this.p4h_1 = atomic$ref$1(null);
1396
+ this.q4h_1 = CompletableDeferred();
1397
+ this.r4h_1 = Job();
1398
+ this.s4h_1 = this.o4h_1.w1m().uh(Key_instance).wh(this.r4h_1).wh(new CoroutineName('ws-default'));
1399
+ this.t4h_1 = from(Factory_getInstance(), incomingFramesConfig);
1400
+ this.u4h_1 = from(Factory_getInstance(), outgoingFramesConfig);
1401
+ this.v4h_1 = atomic$boolean$1(false);
1349
1402
  var tmp = this;
1350
1403
  // Inline function 'kotlin.collections.mutableListOf' call
1351
- tmp.g4g_1 = ArrayList_init_$Create$();
1352
- this.h4g_1 = atomic$boolean$1(false);
1353
- this.i4g_1 = pingIntervalMillis;
1354
- this.j4g_1 = timeoutMillis;
1355
- this.k4g_1 = this.a4g_1;
1404
+ tmp.w4h_1 = ArrayList_init_$Create$();
1405
+ this.x4h_1 = atomic$boolean$1(false);
1406
+ this.y4h_1 = pingIntervalMillis;
1407
+ this.z4h_1 = timeoutMillis;
1408
+ this.a4i_1 = this.q4h_1;
1356
1409
  }
1357
1410
  protoOf(DefaultWebSocketSessionImpl).w1m = function () {
1358
- return this.c4g_1;
1411
+ return this.s4h_1;
1359
1412
  };
1360
- protoOf(DefaultWebSocketSessionImpl).v4e = function () {
1361
- return this.d4g_1;
1413
+ protoOf(DefaultWebSocketSessionImpl).l4g = function () {
1414
+ return this.t4h_1;
1362
1415
  };
1363
- protoOf(DefaultWebSocketSessionImpl).w4e = function () {
1364
- return this.e4g_1;
1416
+ protoOf(DefaultWebSocketSessionImpl).m4g = function () {
1417
+ return this.u4h_1;
1365
1418
  };
1366
- protoOf(DefaultWebSocketSessionImpl).y4g = function () {
1367
- return this.g4g_1;
1419
+ protoOf(DefaultWebSocketSessionImpl).o4i = function () {
1420
+ return this.w4h_1;
1368
1421
  };
1369
- protoOf(DefaultWebSocketSessionImpl).t4e = function (value) {
1370
- this.y4f_1.t4e(value);
1422
+ protoOf(DefaultWebSocketSessionImpl).j4g = function (value) {
1423
+ this.o4h_1.j4g(value);
1371
1424
  };
1372
- protoOf(DefaultWebSocketSessionImpl).u4e = function () {
1373
- return this.y4f_1.u4e();
1425
+ protoOf(DefaultWebSocketSessionImpl).k4g = function () {
1426
+ return this.o4h_1.k4g();
1374
1427
  };
1375
- protoOf(DefaultWebSocketSessionImpl).s4e = function (negotiatedExtensions) {
1376
- if (!this.h4g_1.atomicfu$compareAndSet(false, true)) {
1428
+ protoOf(DefaultWebSocketSessionImpl).i4g = function (negotiatedExtensions) {
1429
+ if (!this.x4h_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).s4e = 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.b41(tmp$ret$2);
1438
+ this_0.g42(tmp$ret$2);
1386
1439
  }
1387
- this.g4g_1.j1(negotiatedExtensions);
1440
+ this.w4h_1.j1(negotiatedExtensions);
1388
1441
  runOrCancelPinger(this);
1389
- var incomingJob = runIncomingProcessor(this, ponger(this, this.w4e()));
1442
+ var incomingJob = runIncomingProcessor(this, ponger(this, this.m4g()));
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).x3j = function ($completion) {
1394
- return this.y4f_1.x3j($completion);
1446
+ protoOf(DefaultWebSocketSessionImpl).y3k = function ($completion) {
1447
+ return this.o4h_1.y3k($completion);
1395
1448
  };
1396
1449
  var properties_initialized_DefaultWebSocketSession_kt_6cjlhc;
1397
1450
  function _init_properties_DefaultWebSocketSession_kt__469s0y() {
@@ -1413,14 +1466,14 @@ function _init_properties_DefaultWebSocketSession_kt__469s0y() {
1413
1466
  }
1414
1467
  }
1415
1468
  function readReason(_this__u8e3s4) {
1416
- if (_this__u8e3s4.o4i_1.length < 2) {
1469
+ if (_this__u8e3s4.d4g_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.o4i_1);
1474
+ writeFully(builder, _this__u8e3s4.d4g_1);
1422
1475
  var packet = builder;
1423
- var code = packet.j3f();
1476
+ var code = packet.j3g();
1424
1477
  var message = readText(packet);
1425
1478
  return new CloseReason(code, message);
1426
1479
  }
@@ -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.s4j_1 = frameSize;
1506
+ this.b4l_1 = frameSize;
1454
1507
  delete this.message;
1455
1508
  }
1456
1509
  protoOf(FrameTooBigException).e = function () {
1457
- var sizeSuffix = compare(this.s4j_1, new Long(0, 0)) >= 0 ? ': ' + this.s4j_1.toString() : '';
1510
+ var sizeSuffix = compare(this.b4l_1, new Long(0, 0)) >= 0 ? ': ' + this.b4l_1.toString() : '';
1458
1511
  return 'Frame is too big' + sizeSuffix;
1459
1512
  };
1460
1513
  protoOf(FrameTooBigException).o1v = function () {
1461
- return new FrameTooBigException(this.s4j_1, this);
1514
+ return new FrameTooBigException(this.b4l_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.w4j_1;
1538
+ var maxValue = maxElem.a4g_1;
1486
1539
  do {
1487
1540
  var e = iterator.v();
1488
- var v = e.w4j_1;
1541
+ var v = e.a4g_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.x4j_1 = ensureNotNull(tmp$ret$0).w4j_1;
1550
+ tmp.c4l_1 = ensureNotNull(tmp$ret$0).a4g_1;
1498
1551
  var tmp_0 = this;
1499
1552
  var tmp_1 = 0;
1500
- var tmp_2 = this.x4j_1 + 1 | 0;
1553
+ var tmp_2 = this.c4l_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.w4j_1 === tmp_4) {
1567
+ if (element.a4g_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.y4j_1 = tmp_3;
1585
+ tmp_0.d4l_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.v4j_1 = controlFrame;
1565
- this.w4j_1 = opcode;
1617
+ this.z4f_1 = controlFrame;
1618
+ this.a4g_1 = opcode;
1566
1619
  }
1567
1620
  function FrameType_TEXT_getInstance() {
1568
1621
  FrameType_initEntries();
@@ -1612,18 +1665,18 @@ function pinger(_this__u8e3s4, outgoing, periodMillis, timeoutMillis, onTimeout)
1612
1665
  return channel;
1613
1666
  }
1614
1667
  function ponger$slambda($channel, $outgoing, resultContinuation) {
1615
- this.h4k_1 = $channel;
1616
- this.i4k_1 = $outgoing;
1668
+ this.m4l_1 = $channel;
1669
+ this.n4l_1 = $outgoing;
1617
1670
  CoroutineImpl.call(this, resultContinuation);
1618
1671
  }
1619
- protoOf(ponger$slambda).i3s = function ($this$launch, $completion) {
1620
- var tmp = this.j3s($this$launch, $completion);
1672
+ protoOf(ponger$slambda).n3t = function ($this$launch, $completion) {
1673
+ var tmp = this.o3t($this$launch, $completion);
1621
1674
  tmp.x8_1 = Unit_instance;
1622
1675
  tmp.y8_1 = null;
1623
1676
  return tmp.d9();
1624
1677
  };
1625
1678
  protoOf(ponger$slambda).q9 = function (p1, $completion) {
1626
- return this.i3s((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1679
+ return this.n3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1627
1680
  };
1628
1681
  protoOf(ponger$slambda).d9 = function () {
1629
1682
  var suspendResult = this.x8_1;
@@ -1634,12 +1687,12 @@ protoOf(ponger$slambda).d9 = function () {
1634
1687
  case 0:
1635
1688
  this.w8_1 = 14;
1636
1689
  this.w8_1 = 13;
1637
- this.n4k_1 = this.h4k_1;
1690
+ this.s4l_1 = this.m4l_1;
1638
1691
  this.v8_1 = 1;
1639
1692
  continue $sm;
1640
1693
  case 1:
1641
- this.l4k_1 = this.n4k_1;
1642
- this.k4k_1 = null;
1694
+ this.q4l_1 = this.s4l_1;
1695
+ this.p4l_1 = null;
1643
1696
  this.v8_1 = 2;
1644
1697
  continue $sm;
1645
1698
  case 2:
@@ -1648,12 +1701,12 @@ protoOf(ponger$slambda).d9 = function () {
1648
1701
  case 3:
1649
1702
  this.w8_1 = 10;
1650
1703
  this.w8_1 = 9;
1651
- this.m4k_1 = this.l4k_1.t();
1704
+ this.r4l_1 = this.q4l_1.t();
1652
1705
  this.v8_1 = 4;
1653
1706
  continue $sm;
1654
1707
  case 4:
1655
1708
  this.v8_1 = 5;
1656
- suspendResult = this.m4k_1.l23(this);
1709
+ suspendResult = this.r4l_1.l23(this);
1657
1710
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1658
1711
  return suspendResult;
1659
1712
  }
@@ -1665,10 +1718,10 @@ protoOf(ponger$slambda).d9 = function () {
1665
1718
  continue $sm;
1666
1719
  }
1667
1720
 
1668
- var e = this.m4k_1.v();
1669
- get_LOGGER().b41('Received ping message, sending pong message');
1721
+ var e = this.r4l_1.v();
1722
+ get_LOGGER().g42('Received ping message, sending pong message');
1670
1723
  this.v8_1 = 6;
1671
- suspendResult = this.i4k_1.i25(new Pong(e.o4i_1), this);
1724
+ suspendResult = this.n4l_1.i25(new Pong(e.d4g_1), this);
1672
1725
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1673
1726
  return suspendResult;
1674
1727
  }
@@ -1683,7 +1736,7 @@ protoOf(ponger$slambda).d9 = function () {
1683
1736
  continue $sm;
1684
1737
  case 8:
1685
1738
  this.w8_1 = 13;
1686
- cancelConsumed(this.l4k_1, this.k4k_1);
1739
+ cancelConsumed(this.q4l_1, this.p4l_1);
1687
1740
  this.v8_1 = 12;
1688
1741
  continue $sm;
1689
1742
  case 9:
@@ -1692,7 +1745,7 @@ protoOf(ponger$slambda).d9 = function () {
1692
1745
  if (tmp_1 instanceof Error) {
1693
1746
  var e_0 = this.y8_1;
1694
1747
  var tmp_2 = this;
1695
- this.k4k_1 = e_0;
1748
+ this.p4l_1 = e_0;
1696
1749
  throw e_0;
1697
1750
  } else {
1698
1751
  throw this.y8_1;
@@ -1701,11 +1754,11 @@ protoOf(ponger$slambda).d9 = function () {
1701
1754
  case 10:
1702
1755
  this.w8_1 = 13;
1703
1756
  var t = this.y8_1;
1704
- cancelConsumed(this.l4k_1, this.k4k_1);
1757
+ cancelConsumed(this.q4l_1, this.p4l_1);
1705
1758
  throw t;
1706
1759
  case 11:
1707
1760
  this.w8_1 = 13;
1708
- cancelConsumed(this.l4k_1, this.k4k_1);
1761
+ cancelConsumed(this.q4l_1, this.p4l_1);
1709
1762
  if (false) {
1710
1763
  this.v8_1 = 1;
1711
1764
  continue $sm;
@@ -1745,29 +1798,29 @@ protoOf(ponger$slambda).d9 = function () {
1745
1798
  }
1746
1799
  while (true);
1747
1800
  };
1748
- protoOf(ponger$slambda).j3s = function ($this$launch, completion) {
1749
- var i = new ponger$slambda(this.h4k_1, this.i4k_1, completion);
1750
- i.j4k_1 = $this$launch;
1801
+ protoOf(ponger$slambda).o3t = function ($this$launch, completion) {
1802
+ var i = new ponger$slambda(this.m4l_1, this.n4l_1, completion);
1803
+ i.o4l_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.i3s($this$launch, $completion);
1809
+ return i.n3t($this$launch, $completion);
1757
1810
  }, 1);
1758
1811
  }
1759
1812
  function pinger$slambda$slambda($channel, resultContinuation) {
1760
- this.w4k_1 = $channel;
1813
+ this.b4m_1 = $channel;
1761
1814
  CoroutineImpl.call(this, resultContinuation);
1762
1815
  }
1763
- protoOf(pinger$slambda$slambda).i3s = function ($this$withTimeoutOrNull, $completion) {
1764
- var tmp = this.j3s($this$withTimeoutOrNull, $completion);
1816
+ protoOf(pinger$slambda$slambda).n3t = function ($this$withTimeoutOrNull, $completion) {
1817
+ var tmp = this.o3t($this$withTimeoutOrNull, $completion);
1765
1818
  tmp.x8_1 = Unit_instance;
1766
1819
  tmp.y8_1 = null;
1767
1820
  return tmp.d9();
1768
1821
  };
1769
1822
  protoOf(pinger$slambda$slambda).q9 = function (p1, $completion) {
1770
- return this.i3s((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1823
+ return this.n3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1771
1824
  };
1772
1825
  protoOf(pinger$slambda$slambda).d9 = function () {
1773
1826
  var suspendResult = this.x8_1;
@@ -1786,7 +1839,7 @@ protoOf(pinger$slambda$slambda).d9 = function () {
1786
1839
  }
1787
1840
 
1788
1841
  this.v8_1 = 2;
1789
- suspendResult = this.w4k_1.l25(this);
1842
+ suspendResult = this.b4m_1.l25(this);
1790
1843
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1791
1844
  return suspendResult;
1792
1845
  }
@@ -1811,31 +1864,31 @@ protoOf(pinger$slambda$slambda).d9 = function () {
1811
1864
  }
1812
1865
  while (true);
1813
1866
  };
1814
- protoOf(pinger$slambda$slambda).j3s = function ($this$withTimeoutOrNull, completion) {
1815
- var i = new pinger$slambda$slambda(this.w4k_1, completion);
1816
- i.x4k_1 = $this$withTimeoutOrNull;
1867
+ protoOf(pinger$slambda$slambda).o3t = function ($this$withTimeoutOrNull, completion) {
1868
+ var i = new pinger$slambda$slambda(this.b4m_1, completion);
1869
+ i.c4m_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.i3s($this$withTimeoutOrNull, $completion);
1875
+ return i.n3t($this$withTimeoutOrNull, $completion);
1823
1876
  }, 1);
1824
1877
  }
1825
1878
  function pinger$slambda$slambda_1($outgoing, $pingMessage, $channel, resultContinuation) {
1826
- this.g4l_1 = $outgoing;
1827
- this.h4l_1 = $pingMessage;
1828
- this.i4l_1 = $channel;
1879
+ this.l4m_1 = $outgoing;
1880
+ this.m4m_1 = $pingMessage;
1881
+ this.n4m_1 = $channel;
1829
1882
  CoroutineImpl.call(this, resultContinuation);
1830
1883
  }
1831
- protoOf(pinger$slambda$slambda_1).i3s = function ($this$withTimeoutOrNull, $completion) {
1832
- var tmp = this.j3s($this$withTimeoutOrNull, $completion);
1884
+ protoOf(pinger$slambda$slambda_1).n3t = function ($this$withTimeoutOrNull, $completion) {
1885
+ var tmp = this.o3t($this$withTimeoutOrNull, $completion);
1833
1886
  tmp.x8_1 = Unit_instance;
1834
1887
  tmp.y8_1 = null;
1835
1888
  return tmp.d9();
1836
1889
  };
1837
1890
  protoOf(pinger$slambda$slambda_1).q9 = function (p1, $completion) {
1838
- return this.i3s((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1891
+ return this.n3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1839
1892
  };
1840
1893
  protoOf(pinger$slambda$slambda_1).d9 = function () {
1841
1894
  var suspendResult = this.x8_1;
@@ -1845,9 +1898,9 @@ protoOf(pinger$slambda$slambda_1).d9 = function () {
1845
1898
  switch (tmp) {
1846
1899
  case 0:
1847
1900
  this.w8_1 = 6;
1848
- get_LOGGER().b41('WebSocket Pinger: sending ping frame');
1901
+ get_LOGGER().g42('WebSocket Pinger: sending ping frame');
1849
1902
  this.v8_1 = 1;
1850
- suspendResult = this.g4l_1.i25(new Ping(toByteArray(this.h4l_1, Charsets_getInstance().j3t_1)), this);
1903
+ suspendResult = this.l4m_1.i25(new Ping(toByteArray(this.m4m_1, Charsets_getInstance().o3u_1)), this);
1851
1904
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1852
1905
  return suspendResult;
1853
1906
  }
@@ -1863,16 +1916,16 @@ protoOf(pinger$slambda$slambda_1).d9 = function () {
1863
1916
  }
1864
1917
 
1865
1918
  this.v8_1 = 3;
1866
- suspendResult = this.i4l_1.l25(this);
1919
+ suspendResult = this.n4m_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.k4l_1 = suspendResult;
1874
- if (decodeToString(this.k4l_1.o4i_1, 0, 0 + this.k4l_1.o4i_1.length | 0) === this.h4l_1) {
1875
- get_LOGGER().b41('WebSocket Pinger: received valid pong frame ' + this.k4l_1.toString());
1926
+ this.p4m_1 = suspendResult;
1927
+ if (decodeToString(this.p4m_1.d4g_1, 0, 0 + this.p4m_1.d4g_1.length | 0) === this.m4m_1) {
1928
+ get_LOGGER().g42('WebSocket Pinger: received valid pong frame ' + this.p4m_1.toString());
1876
1929
  this.v8_1 = 5;
1877
1930
  continue $sm;
1878
1931
  } else {
@@ -1881,7 +1934,7 @@ protoOf(pinger$slambda$slambda_1).d9 = function () {
1881
1934
  }
1882
1935
 
1883
1936
  case 4:
1884
- get_LOGGER().b41('WebSocket Pinger: received invalid pong frame ' + this.k4l_1.toString() + ', continue waiting');
1937
+ get_LOGGER().g42('WebSocket Pinger: received invalid pong frame ' + this.p4m_1.toString() + ', continue waiting');
1885
1938
  this.v8_1 = 2;
1886
1939
  continue $sm;
1887
1940
  case 5:
@@ -1900,33 +1953,33 @@ protoOf(pinger$slambda$slambda_1).d9 = function () {
1900
1953
  }
1901
1954
  while (true);
1902
1955
  };
1903
- protoOf(pinger$slambda$slambda_1).j3s = function ($this$withTimeoutOrNull, completion) {
1904
- var i = new pinger$slambda$slambda_1(this.g4l_1, this.h4l_1, this.i4l_1, completion);
1905
- i.j4l_1 = $this$withTimeoutOrNull;
1956
+ protoOf(pinger$slambda$slambda_1).o3t = function ($this$withTimeoutOrNull, completion) {
1957
+ var i = new pinger$slambda$slambda_1(this.l4m_1, this.m4m_1, this.n4m_1, completion);
1958
+ i.o4m_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.i3s($this$withTimeoutOrNull, $completion);
1964
+ return i.n3t($this$withTimeoutOrNull, $completion);
1912
1965
  }, 1);
1913
1966
  }
1914
1967
  function pinger$slambda($periodMillis, $timeoutMillis, $onTimeout, $channel, $outgoing, resultContinuation) {
1915
- this.t4l_1 = $periodMillis;
1916
- this.u4l_1 = $timeoutMillis;
1917
- this.v4l_1 = $onTimeout;
1918
- this.w4l_1 = $channel;
1919
- this.x4l_1 = $outgoing;
1968
+ this.y4m_1 = $periodMillis;
1969
+ this.z4m_1 = $timeoutMillis;
1970
+ this.a4n_1 = $onTimeout;
1971
+ this.b4n_1 = $channel;
1972
+ this.c4n_1 = $outgoing;
1920
1973
  CoroutineImpl.call(this, resultContinuation);
1921
1974
  }
1922
- protoOf(pinger$slambda).i3s = function ($this$launch, $completion) {
1923
- var tmp = this.j3s($this$launch, $completion);
1975
+ protoOf(pinger$slambda).n3t = function ($this$launch, $completion) {
1976
+ var tmp = this.o3t($this$launch, $completion);
1924
1977
  tmp.x8_1 = Unit_instance;
1925
1978
  tmp.y8_1 = null;
1926
1979
  return tmp.d9();
1927
1980
  };
1928
1981
  protoOf(pinger$slambda).q9 = function (p1, $completion) {
1929
- return this.i3s((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1982
+ return this.n3t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1930
1983
  };
1931
1984
  protoOf(pinger$slambda).d9 = function () {
1932
1985
  var suspendResult = this.x8_1;
@@ -1936,9 +1989,9 @@ protoOf(pinger$slambda).d9 = function () {
1936
1989
  switch (tmp) {
1937
1990
  case 0:
1938
1991
  this.w8_1 = 9;
1939
- get_LOGGER().b41('Starting WebSocket pinger coroutine with period ' + this.t4l_1.toString() + ' ms and timeout ' + this.u4l_1.toString() + ' ms');
1940
- this.a4m_1 = Random(getTimeMillis());
1941
- this.z4l_1 = new Int8Array(32);
1992
+ get_LOGGER().g42('Starting WebSocket pinger coroutine with period ' + this.y4m_1.toString() + ' ms and timeout ' + this.z4m_1.toString() + ' ms');
1993
+ this.f4n_1 = Random(getTimeMillis());
1994
+ this.e4n_1 = new Int8Array(32);
1942
1995
  this.w8_1 = 7;
1943
1996
  this.v8_1 = 1;
1944
1997
  continue $sm;
@@ -1949,17 +2002,17 @@ protoOf(pinger$slambda).d9 = function () {
1949
2002
  }
1950
2003
 
1951
2004
  this.v8_1 = 2;
1952
- suspendResult = withTimeoutOrNull(this.t4l_1, pinger$slambda$slambda_0(this.w4l_1, null), this);
2005
+ suspendResult = withTimeoutOrNull(this.y4m_1, pinger$slambda$slambda_0(this.b4n_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.a4m_1.mj(this.z4l_1);
1960
- var pingMessage = '[ping ' + toHexString(this.z4l_1) + ' ping]';
2012
+ this.f4n_1.mj(this.e4n_1);
2013
+ var pingMessage = '[ping ' + toHexString(this.e4n_1) + ' ping]';
1961
2014
  this.v8_1 = 3;
1962
- suspendResult = withTimeoutOrNull(this.u4l_1, pinger$slambda$slambda_2(this.x4l_1, pingMessage, this.w4l_1, null), this);
2015
+ suspendResult = withTimeoutOrNull(this.z4m_1, pinger$slambda$slambda_2(this.c4n_1, pingMessage, this.b4n_1, null), this);
1963
2016
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1964
2017
  return suspendResult;
1965
2018
  }
@@ -1968,9 +2021,9 @@ protoOf(pinger$slambda).d9 = function () {
1968
2021
  case 3:
1969
2022
  var rc = suspendResult;
1970
2023
  if (rc == null) {
1971
- get_LOGGER().b41('WebSocket pinger has timed out');
2024
+ get_LOGGER().g42('WebSocket pinger has timed out');
1972
2025
  this.v8_1 = 5;
1973
- suspendResult = this.v4l_1(CloseReason_init_$Create$(Codes_INTERNAL_ERROR_getInstance(), 'Ping timeout'), this);
2026
+ suspendResult = this.a4n_1(CloseReason_init_$Create$(Codes_INTERNAL_ERROR_getInstance(), 'Ping timeout'), this);
1974
2027
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1975
2028
  return suspendResult;
1976
2029
  }
@@ -2039,15 +2092,15 @@ protoOf(pinger$slambda).d9 = function () {
2039
2092
  }
2040
2093
  while (true);
2041
2094
  };
2042
- protoOf(pinger$slambda).j3s = function ($this$launch, completion) {
2043
- var i = new pinger$slambda(this.t4l_1, this.u4l_1, this.v4l_1, this.w4l_1, this.x4l_1, completion);
2044
- i.y4l_1 = $this$launch;
2095
+ protoOf(pinger$slambda).o3t = function ($this$launch, completion) {
2096
+ var i = new pinger$slambda(this.y4m_1, this.z4m_1, this.a4n_1, this.b4n_1, this.c4n_1, completion);
2097
+ i.d4n_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.i3s($this$launch, $completion);
2103
+ return i.n3t($this$launch, $completion);
2051
2104
  }, 1);
2052
2105
  }
2053
2106
  function pinger$lambda($actorJob) {
@@ -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.z4e_1 = this_0.b4m();
2073
- this_0.a4f_1 = this_0.b4m();
2074
- tmp.y4e_1 = this_0;
2125
+ this_0.p4g_1 = this_0.g4n();
2126
+ this_0.q4g_1 = this_0.g4n();
2127
+ tmp.o4g_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.z4e_1 = Companion_getInstance_3().c4m_1;
2085
- this.a4f_1 = Companion_getInstance_3().c4m_1;
2136
+ Companion_getInstance_3();
2137
+ this.p4g_1 = Companion_getInstance_4().h4n_1;
2138
+ this.q4g_1 = Companion_getInstance_4().h4n_1;
2086
2139
  }
2087
- protoOf(WebSocketChannelsConfig).b4m = function () {
2088
- return Companion_getInstance_3().c4m_1;
2140
+ protoOf(WebSocketChannelsConfig).g4n = function () {
2141
+ return Companion_getInstance_4().h4n_1;
2089
2142
  };
2090
2143
  function from(_this__u8e3s4, config) {
2091
2144
  // Inline function 'kotlin.with' call
2092
2145
  var tmp;
2093
- if (config.d4m_1 === 2147483647) {
2146
+ if (config.i4n_1 === 2147483647) {
2094
2147
  tmp = Channel(2147483647);
2095
- } else if (config.e4m_1.equals(ChannelOverflow_SUSPEND_getInstance())) {
2096
- tmp = Channel(config.d4m_1, BufferOverflow_SUSPEND_getInstance());
2097
- } else if (config.e4m_1.equals(ChannelOverflow_CLOSE_getInstance())) {
2098
- tmp = new BoundedChannel(config.d4m_1);
2148
+ } else if (config.j4n_1.equals(ChannelOverflow_SUSPEND_getInstance())) {
2149
+ tmp = Channel(config.i4n_1, BufferOverflow_SUSPEND_getInstance());
2150
+ } else if (config.j4n_1.equals(ChannelOverflow_CLOSE_getInstance())) {
2151
+ tmp = new BoundedChannel(config.i4n_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.c4m_1 = new ChannelConfig(2147483647, ChannelOverflow_SUSPEND_getInstance());
2159
+ function Companion_4() {
2160
+ Companion_instance_4 = this;
2161
+ this.h4n_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.d4m_1 = capacity;
2119
- this.e4m_1 = onOverflow;
2170
+ Companion_getInstance_4();
2171
+ this.i4n_1 = capacity;
2172
+ this.j4n_1 = onOverflow;
2120
2173
  }
2121
- protoOf(ChannelConfig).f4m = function () {
2122
- return this.e4m_1.equals(ChannelOverflow_SUSPEND_getInstance()) && !(this.d4m_1 === 2147483647);
2174
+ protoOf(ChannelConfig).k4n = function () {
2175
+ return this.j4n_1.equals(ChannelOverflow_SUSPEND_getInstance()) && !(this.i4n_1 === 2147483647);
2123
2176
  };
2124
2177
  var ChannelOverflow_SUSPEND_instance;
2125
2178
  var ChannelOverflow_CLOSE_instance;
@@ -2156,9 +2209,9 @@ function BoundedChannel$Companion$createDelegate$lambda($channel) {
2156
2209
  return Unit_instance;
2157
2210
  };
2158
2211
  }
2159
- function Companion_4() {
2212
+ function Companion_5() {
2160
2213
  }
2161
- protoOf(Companion_4).g4m = function (capacity) {
2214
+ protoOf(Companion_5).l4n = 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).g4m = 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.g4m(capacity) : delegate;
2175
- this.h4m_1 = delegate;
2227
+ delegate = delegate === VOID ? Companion_instance_5.l4n(capacity) : delegate;
2228
+ this.m4n_1 = delegate;
2176
2229
  }
2177
- protoOf(BoundedChannel).i4m = function (element) {
2178
- var result = this.h4m_1.j25(element);
2230
+ protoOf(BoundedChannel).n4n = function (element) {
2231
+ var result = this.m4n_1.j25(element);
2179
2232
  if (!_ChannelResult___get_isSuccess__impl__odq1z9(result) && !_ChannelResult___get_isClosed__impl__mg7kuu(result)) {
2180
2233
  this.n25(new ChannelOverflowException('Channel overflowed'));
2181
2234
  }
2182
2235
  return result;
2183
2236
  };
2184
2237
  protoOf(BoundedChannel).j25 = function (element) {
2185
- return this.i4m(element);
2238
+ return this.n4n(element);
2186
2239
  };
2187
- protoOf(BoundedChannel).j4m = function (element, $completion) {
2188
- return this.h4m_1.i25(element, $completion);
2240
+ protoOf(BoundedChannel).o4n = function (element, $completion) {
2241
+ return this.m4n_1.i25(element, $completion);
2189
2242
  };
2190
2243
  protoOf(BoundedChannel).i25 = function (element, $completion) {
2191
- return this.j4m(element, $completion);
2244
+ return this.o4n(element, $completion);
2192
2245
  };
2193
2246
  protoOf(BoundedChannel).n25 = function (cause) {
2194
- return this.h4m_1.n25(cause);
2247
+ return this.m4n_1.n25(cause);
2195
2248
  };
2196
2249
  protoOf(BoundedChannel).s25 = function (handler) {
2197
- this.h4m_1.s25(handler);
2250
+ this.m4n_1.s25(handler);
2198
2251
  };
2199
2252
  protoOf(BoundedChannel).n23 = function () {
2200
- return this.h4m_1.n23();
2253
+ return this.m4n_1.n23();
2201
2254
  };
2202
- protoOf(BoundedChannel).k4m = function ($completion) {
2203
- return this.h4m_1.l25($completion);
2255
+ protoOf(BoundedChannel).p4n = function ($completion) {
2256
+ return this.m4n_1.l25($completion);
2204
2257
  };
2205
2258
  protoOf(BoundedChannel).l25 = function ($completion) {
2206
- return this.k4m($completion);
2259
+ return this.p4n($completion);
2207
2260
  };
2208
2261
  protoOf(BoundedChannel).t = function () {
2209
- return this.h4m_1.t();
2262
+ return this.m4n_1.t();
2210
2263
  };
2211
2264
  protoOf(BoundedChannel).g1o = function (cause) {
2212
- this.h4m_1.g1o(cause);
2265
+ this.m4n_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.n4m_1 = ArrayList_init_$Create$();
2284
+ tmp.s4n_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.o4m_1 = [false, false, false];
2289
+ tmp_0.t4n_1 = [false, false, false];
2237
2290
  }
2238
- protoOf(WebSocketExtensionsConfig).y43 = function () {
2291
+ protoOf(WebSocketExtensionsConfig).d45 = function () {
2239
2292
  // Inline function 'kotlin.collections.map' call
2240
- var this_0 = this.n4m_1;
2293
+ var this_0 = this.s4n_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).y43 = function () {
2249
2302
  return destination;
2250
2303
  };
2251
2304
  function parametersToString($this) {
2252
- return $this.q4m_1.r() ? '' : '; ' + joinToString($this.q4m_1, ';');
2305
+ return $this.v4n_1.r() ? '' : '; ' + joinToString($this.v4n_1, ';');
2253
2306
  }
2254
2307
  function WebSocketExtensionHeader(name, parameters) {
2255
- this.p4m_1 = name;
2256
- this.q4m_1 = parameters;
2308
+ this.u4n_1 = name;
2309
+ this.v4n_1 = parameters;
2257
2310
  }
2258
2311
  protoOf(WebSocketExtensionHeader).toString = function () {
2259
- return this.p4m_1 + ' ' + parametersToString(this);
2312
+ return this.u4n_1 + ' ' + parametersToString(this);
2260
2313
  };
2261
2314
  function parseWebSocketExtensions(value) {
2262
2315
  // Inline function 'kotlin.collections.map' call
@@ -2301,15 +2354,16 @@ function closeExceptionally(_this__u8e3s4, cause, $completion) {
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.z4m_1 = _this__u8e3s4;
2312
- this.a4n_1 = reason;
2365
+ this.e4o_1 = _this__u8e3s4;
2366
+ this.f4o_1 = reason;
2313
2367
  }
2314
2368
  protoOf($closeCOROUTINE$).d9 = function () {
2315
2369
  var suspendResult = this.x8_1;
@@ -2321,7 +2375,7 @@ protoOf($closeCOROUTINE$).d9 = function () {
2321
2375
  this.w8_1 = 4;
2322
2376
  this.w8_1 = 3;
2323
2377
  this.v8_1 = 1;
2324
- suspendResult = this.z4m_1.x4e(Close_init_$Create$(this.a4n_1), this);
2378
+ suspendResult = this.e4o_1.n4g(Close_init_$Create$(this.f4o_1), this);
2325
2379
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2326
2380
  return suspendResult;
2327
2381
  }
@@ -2329,7 +2383,7 @@ protoOf($closeCOROUTINE$).d9 = function () {
2329
2383
  continue $sm;
2330
2384
  case 1:
2331
2385
  this.v8_1 = 2;
2332
- suspendResult = this.z4m_1.x3j(this);
2386
+ suspendResult = this.e4o_1.y3k(this);
2333
2387
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2334
2388
  return suspendResult;
2335
2389
  }
@@ -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.q3g(reason.p4e_1);
2392
- writeText(builder, reason.q4e_1);
2445
+ builder.r3h(reason.u4f_1);
2446
+ writeText(builder, reason.v4f_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().t4i_1);
2458
+ Close.call($this, Companion_getInstance_6().c4k_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.t4i_1 = new Int8Array(0);
2486
+ function Companion_6() {
2487
+ Companion_instance_6 = this;
2488
+ this.c4k_1 = new Int8Array(0);
2435
2489
  }
2436
- protoOf(Companion_5).u4i = function (fin, frameType, data, rsv1, rsv2, rsv3) {
2490
+ protoOf(Companion_6).d4k = function (fin, frameType, data, rsv1, rsv2, rsv3) {
2437
2491
  var tmp;
2438
2492
  switch (frameType.a1_1) {
2439
2493
  case 1:
@@ -2457,35 +2511,36 @@ protoOf(Companion_5).u4i = 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.m4i_1 = fin;
2473
- this.n4i_1 = frameType;
2474
- this.o4i_1 = data;
2475
- this.p4i_1 = disposableHandle;
2476
- this.q4i_1 = rsv1;
2477
- this.r4i_1 = rsv2;
2478
- this.s4i_1 = rsv3;
2526
+ this.b4g_1 = fin;
2527
+ this.c4g_1 = frameType;
2528
+ this.d4g_1 = data;
2529
+ this.e4g_1 = disposableHandle;
2530
+ this.f4g_1 = rsv1;
2531
+ this.g4g_1 = rsv2;
2532
+ this.h4g_1 = rsv3;
2533
+ validateSize(this);
2479
2534
  }
2480
2535
  protoOf(Frame).toString = function () {
2481
- return 'Frame ' + this.n4i_1.toString() + ' (fin=' + this.m4i_1 + ', buffer len = ' + this.o4i_1.length + ')';
2536
+ return 'Frame ' + this.c4g_1.toString() + ' (fin=' + this.b4g_1 + ', buffer len = ' + this.d4g_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).x4e = send;
2543
+ protoOf(DefaultWebSocketSessionImpl).n4g = send;
2489
2544
  defineProp(protoOf(FrameTooBigException), 'message', function () {
2490
2545
  return this.e();
2491
2546
  });
@@ -2493,14 +2548,15 @@ protoOf(BoundedChannel).p25 = close$default;
2493
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,