@doordeck/doordeck-headless-sdk 0.93.0 → 0.95.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1472 -1472
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +27 -27
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +20 -8
  4. package/kotlin/doordeck-sdk.d.ts +10 -4
  5. package/kotlin/doordeck-sdk.js +9771 -9676
  6. package/kotlin/kotlin-kotlin-stdlib.js +871 -732
  7. package/kotlin/kotlinx-atomicfu.js +18 -18
  8. package/kotlin/kotlinx-coroutines-core.js +2595 -1845
  9. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +42 -42
  10. package/kotlin/kotlinx-io-kotlinx-io-core.js +447 -447
  11. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1818 -1818
  12. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1424 -1424
  13. package/kotlin/ktor-ktor-client-ktor-client-core.js +1898 -1898
  14. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +411 -323
  15. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +156 -156
  16. package/kotlin/ktor-ktor-http-ktor-http-cio.js +603 -363
  17. package/kotlin/ktor-ktor-http.js +754 -754
  18. package/kotlin/ktor-ktor-io.js +629 -629
  19. package/kotlin/ktor-ktor-shared-ktor-events.js +12 -12
  20. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -7
  21. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +158 -158
  22. package/kotlin/ktor-ktor-shared-ktor-serialization.js +78 -78
  23. package/kotlin/ktor-ktor-shared-ktor-websockets.js +52 -52
  24. package/kotlin/ktor-ktor-utils.js +627 -603
  25. package/package.json +4 -4
@@ -3,39 +3,39 @@
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
5
  var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.d2;
6
- var Long = kotlin_kotlin.$_$.hf;
6
+ var Long = kotlin_kotlin.$_$.mf;
7
7
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
8
8
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
9
- var charArrayOf = kotlin_kotlin.$_$.da;
10
- var protoOf = kotlin_kotlin.$_$.tb;
11
- var toString = kotlin_kotlin.$_$.xb;
9
+ var charArrayOf = kotlin_kotlin.$_$.ea;
10
+ var protoOf = kotlin_kotlin.$_$.ub;
11
+ var toString = kotlin_kotlin.$_$.yb;
12
12
  var Unit_instance = kotlin_kotlin.$_$.k5;
13
- var toShort = kotlin_kotlin.$_$.wb;
14
- var ensureNotNull = kotlin_kotlin.$_$.fg;
15
- var toLong = kotlin_kotlin.$_$.vb;
13
+ var toShort = kotlin_kotlin.$_$.xb;
14
+ var ensureNotNull = kotlin_kotlin.$_$.kg;
15
+ var toLong = kotlin_kotlin.$_$.wb;
16
16
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
17
- var initMetadataForClass = kotlin_kotlin.$_$.ra;
17
+ var initMetadataForClass = kotlin_kotlin.$_$.sa;
18
18
  var VOID = kotlin_kotlin.$_$.h;
19
19
  var UnsafeByteStringOperations_instance = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.b;
20
20
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
21
- var AutoCloseable = kotlin_kotlin.$_$.ve;
22
- var objectCreate = kotlin_kotlin.$_$.sb;
23
- var initMetadataForCompanion = kotlin_kotlin.$_$.sa;
21
+ var AutoCloseable = kotlin_kotlin.$_$.af;
22
+ var objectCreate = kotlin_kotlin.$_$.tb;
23
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
24
24
  var arrayCopy = kotlin_kotlin.$_$.a6;
25
- var toByte = kotlin_kotlin.$_$.ub;
25
+ var toByte = kotlin_kotlin.$_$.vb;
26
26
  var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.u1;
27
- var initMetadataForObject = kotlin_kotlin.$_$.xa;
28
- var initMetadataForInterface = kotlin_kotlin.$_$.va;
29
- var charSequenceGet = kotlin_kotlin.$_$.fa;
27
+ var initMetadataForObject = kotlin_kotlin.$_$.ya;
28
+ var initMetadataForInterface = kotlin_kotlin.$_$.wa;
29
+ var charSequenceGet = kotlin_kotlin.$_$.ga;
30
30
  var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.z2;
31
- var charArray = kotlin_kotlin.$_$.ea;
32
- var numberToChar = kotlin_kotlin.$_$.ob;
33
- var concatToString = kotlin_kotlin.$_$.nc;
31
+ var charArray = kotlin_kotlin.$_$.fa;
32
+ var numberToChar = kotlin_kotlin.$_$.pb;
33
+ var concatToString = kotlin_kotlin.$_$.rc;
34
34
  var Exception_init_$Init$ = kotlin_kotlin.$_$.n1;
35
- var captureStack = kotlin_kotlin.$_$.ca;
35
+ var captureStack = kotlin_kotlin.$_$.da;
36
36
  var Exception_init_$Init$_0 = kotlin_kotlin.$_$.o1;
37
37
  var Exception_init_$Init$_1 = kotlin_kotlin.$_$.q1;
38
- var Exception = kotlin_kotlin.$_$.ef;
38
+ var Exception = kotlin_kotlin.$_$.jf;
39
39
  //endregion
40
40
  //region block: pre-declaration
41
41
  initMetadataForInterface(Source, 'Source', VOID, VOID, [AutoCloseable]);
@@ -44,10 +44,10 @@
44
44
  endIndex = endIndex === VOID ? source.length : endIndex;
45
45
  var tmp;
46
46
  if ($super === VOID) {
47
- this.p1f(source, startIndex, endIndex);
47
+ this.t1h(source, startIndex, endIndex);
48
48
  tmp = Unit_instance;
49
49
  } else {
50
- tmp = $super.p1f.call(this, source, startIndex, endIndex);
50
+ tmp = $super.t1h.call(this, source, startIndex, endIndex);
51
51
  }
52
52
  return tmp;
53
53
  }
@@ -99,20 +99,20 @@
99
99
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + $this.s().toString() + ', required: ' + byteCount.toString() + ')');
100
100
  }
101
101
  function Buffer() {
102
- this.c1e_1 = null;
103
- this.d1e_1 = null;
104
- this.e1e_1 = new Long(0, 0);
102
+ this.g1g_1 = null;
103
+ this.h1g_1 = null;
104
+ this.i1g_1 = new Long(0, 0);
105
105
  }
106
106
  protoOf(Buffer).s = function () {
107
- return this.e1e_1;
107
+ return this.i1g_1;
108
108
  };
109
- protoOf(Buffer).f1e = function () {
109
+ protoOf(Buffer).j1g = function () {
110
110
  return this;
111
111
  };
112
- protoOf(Buffer).g1e = function () {
112
+ protoOf(Buffer).k1g = function () {
113
113
  return this.s().equals(new Long(0, 0));
114
114
  };
115
- protoOf(Buffer).h1e = function (byteCount) {
115
+ protoOf(Buffer).l1g = function (byteCount) {
116
116
  // Inline function 'kotlin.require' call
117
117
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
118
118
  var message = 'byteCount: ' + byteCount.toString();
@@ -122,7 +122,7 @@
122
122
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + this.s().toString() + ', required: ' + byteCount.toString() + ')');
123
123
  }
124
124
  };
125
- protoOf(Buffer).i1e = function (byteCount) {
125
+ protoOf(Buffer).m1g = function (byteCount) {
126
126
  // Inline function 'kotlin.require' call
127
127
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
128
128
  var message = 'byteCount: ' + byteCount.toString() + ' < 0';
@@ -130,8 +130,8 @@
130
130
  }
131
131
  return this.s().e1(byteCount) >= 0;
132
132
  };
133
- protoOf(Buffer).j1e = function () {
134
- var tmp0_elvis_lhs = this.c1e_1;
133
+ protoOf(Buffer).n1g = function () {
134
+ var tmp0_elvis_lhs = this.g1g_1;
135
135
  var tmp;
136
136
  if (tmp0_elvis_lhs == null) {
137
137
  throwEof(this, new Long(1, 0));
@@ -141,18 +141,18 @@
141
141
  var segment = tmp;
142
142
  var segmentSize = segment.s();
143
143
  if (segmentSize === 0) {
144
- this.r1e();
145
- return this.j1e();
144
+ this.v1g();
145
+ return this.n1g();
146
146
  }
147
- var v = segment.s1e();
148
- this.e1e_1 = this.e1e_1.a3(new Long(1, 0));
147
+ var v = segment.w1g();
148
+ this.i1g_1 = this.i1g_1.a3(new Long(1, 0));
149
149
  if (segmentSize === 1) {
150
- this.r1e();
150
+ this.v1g();
151
151
  }
152
152
  return v;
153
153
  };
154
- protoOf(Buffer).t1e = function () {
155
- var tmp0_elvis_lhs = this.c1e_1;
154
+ protoOf(Buffer).x1g = function () {
155
+ var tmp0_elvis_lhs = this.g1g_1;
156
156
  var tmp;
157
157
  if (tmp0_elvis_lhs == null) {
158
158
  throwEof(this, new Long(2, 0));
@@ -162,120 +162,120 @@
162
162
  var segment = tmp;
163
163
  var segmentSize = segment.s();
164
164
  if (segmentSize < 2) {
165
- this.h1e(new Long(2, 0));
165
+ this.l1g(new Long(2, 0));
166
166
  if (segmentSize === 0) {
167
- this.r1e();
168
- return this.t1e();
167
+ this.v1g();
168
+ return this.x1g();
169
169
  }
170
170
  // Inline function 'kotlinx.io.and' call
171
- var tmp_0 = (this.j1e() & 255) << 8;
171
+ var tmp_0 = (this.n1g() & 255) << 8;
172
172
  // Inline function 'kotlinx.io.and' call
173
- var tmp$ret$1 = this.j1e() & 255;
173
+ var tmp$ret$1 = this.n1g() & 255;
174
174
  return toShort(tmp_0 | tmp$ret$1);
175
175
  }
176
- var v = segment.u1e();
177
- this.e1e_1 = this.e1e_1.a3(new Long(2, 0));
176
+ var v = segment.y1g();
177
+ this.i1g_1 = this.i1g_1.a3(new Long(2, 0));
178
178
  if (segmentSize === 2) {
179
- this.r1e();
179
+ this.v1g();
180
180
  }
181
181
  return v;
182
182
  };
183
- protoOf(Buffer).v1e = function () {
183
+ protoOf(Buffer).z1g = function () {
184
184
  return Unit_instance;
185
185
  };
186
- protoOf(Buffer).w1e = function (out, startIndex, endIndex) {
186
+ protoOf(Buffer).a1h = function (out, startIndex, endIndex) {
187
187
  checkBounds(this.s(), startIndex, endIndex);
188
188
  if (startIndex.equals(endIndex))
189
189
  return Unit_instance;
190
190
  var currentOffset = startIndex;
191
191
  var remainingByteCount = endIndex.a3(startIndex);
192
- out.e1e_1 = out.e1e_1.z2(remainingByteCount);
193
- var s = this.c1e_1;
194
- while (currentOffset.e1(toLong(ensureNotNull(s).m1e_1 - s.l1e_1 | 0)) >= 0) {
195
- currentOffset = currentOffset.a3(toLong(s.m1e_1 - s.l1e_1 | 0));
196
- s = s.p1e_1;
192
+ out.i1g_1 = out.i1g_1.z2(remainingByteCount);
193
+ var s = this.g1g_1;
194
+ while (currentOffset.e1(toLong(ensureNotNull(s).q1g_1 - s.p1g_1 | 0)) >= 0) {
195
+ currentOffset = currentOffset.a3(toLong(s.q1g_1 - s.p1g_1 | 0));
196
+ s = s.t1g_1;
197
197
  }
198
198
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
199
- var copy = ensureNotNull(s).x1e();
200
- copy.l1e_1 = copy.l1e_1 + currentOffset.j1() | 0;
199
+ var copy = ensureNotNull(s).b1h();
200
+ copy.p1g_1 = copy.p1g_1 + currentOffset.j1() | 0;
201
201
  var tmp = copy;
202
- var tmp0 = copy.l1e_1 + remainingByteCount.j1() | 0;
202
+ var tmp0 = copy.p1g_1 + remainingByteCount.j1() | 0;
203
203
  // Inline function 'kotlin.comparisons.minOf' call
204
- var b = copy.m1e_1;
205
- tmp.m1e_1 = Math.min(tmp0, b);
204
+ var b = copy.q1g_1;
205
+ tmp.q1g_1 = Math.min(tmp0, b);
206
206
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
207
- if (out.c1e_1 == null) {
208
- out.c1e_1 = copy;
209
- out.d1e_1 = copy;
207
+ if (out.g1g_1 == null) {
208
+ out.g1g_1 = copy;
209
+ out.h1g_1 = copy;
210
210
  } else if (false) {
211
- out.d1e_1 = ensureNotNull(out.d1e_1).y1e(copy).z1e();
212
- if (ensureNotNull(out.d1e_1).q1e_1 == null) {
213
- out.c1e_1 = out.d1e_1;
211
+ out.h1g_1 = ensureNotNull(out.h1g_1).c1h(copy).d1h();
212
+ if (ensureNotNull(out.h1g_1).u1g_1 == null) {
213
+ out.g1g_1 = out.h1g_1;
214
214
  }
215
215
  } else {
216
- out.d1e_1 = ensureNotNull(out.d1e_1).y1e(copy);
216
+ out.h1g_1 = ensureNotNull(out.h1g_1).c1h(copy);
217
217
  }
218
- remainingByteCount = remainingByteCount.a3(toLong(copy.m1e_1 - copy.l1e_1 | 0));
218
+ remainingByteCount = remainingByteCount.a3(toLong(copy.q1g_1 - copy.p1g_1 | 0));
219
219
  currentOffset = new Long(0, 0);
220
- s = s.p1e_1;
220
+ s = s.t1g_1;
221
221
  }
222
222
  };
223
- protoOf(Buffer).a1f = function () {
223
+ protoOf(Buffer).e1h = function () {
224
224
  var result = this.s();
225
225
  if (result.equals(new Long(0, 0)))
226
226
  return new Long(0, 0);
227
- var tail = ensureNotNull(this.d1e_1);
228
- if (tail.m1e_1 < 8192 && tail.o1e_1) {
229
- result = result.a3(toLong(tail.m1e_1 - tail.l1e_1 | 0));
227
+ var tail = ensureNotNull(this.h1g_1);
228
+ if (tail.q1g_1 < 8192 && tail.s1g_1) {
229
+ result = result.a3(toLong(tail.q1g_1 - tail.p1g_1 | 0));
230
230
  }
231
231
  return result;
232
232
  };
233
- protoOf(Buffer).b1f = function (position) {
233
+ protoOf(Buffer).f1h = function (position) {
234
234
  if (position.e1(new Long(0, 0)) < 0 || position.e1(this.s()) >= 0) {
235
235
  throw IndexOutOfBoundsException_init_$Create$('position (' + position.toString() + ') is not within the range [0..size(' + this.s().toString() + '))');
236
236
  }
237
237
  if (position.equals(new Long(0, 0))) {
238
- return ensureNotNull(this.c1e_1).c1f(0);
238
+ return ensureNotNull(this.g1g_1).g1h(0);
239
239
  }
240
240
  // Inline function 'kotlinx.io.seek' call
241
- if (this.c1e_1 == null) {
241
+ if (this.g1g_1 == null) {
242
242
  var offset = new Long(-1, -1);
243
- return ensureNotNull(null).c1f(position.a3(offset).j1());
243
+ return ensureNotNull(null).g1h(position.a3(offset).j1());
244
244
  }
245
245
  if (this.s().a3(position).e1(position) < 0) {
246
- var s = this.d1e_1;
246
+ var s = this.h1g_1;
247
247
  var offset_0 = this.s();
248
248
  $l$loop: while (!(s == null) && offset_0.e1(position) > 0) {
249
- offset_0 = offset_0.a3(toLong(s.m1e_1 - s.l1e_1 | 0));
249
+ offset_0 = offset_0.a3(toLong(s.q1g_1 - s.p1g_1 | 0));
250
250
  if (offset_0.e1(position) <= 0)
251
251
  break $l$loop;
252
- s = s.q1e_1;
252
+ s = s.u1g_1;
253
253
  }
254
254
  var tmp4 = s;
255
255
  var offset_1 = offset_0;
256
- return ensureNotNull(tmp4).c1f(position.a3(offset_1).j1());
256
+ return ensureNotNull(tmp4).g1h(position.a3(offset_1).j1());
257
257
  } else {
258
- var s_0 = this.c1e_1;
258
+ var s_0 = this.g1g_1;
259
259
  var offset_2 = new Long(0, 0);
260
260
  $l$loop_0: while (!(s_0 == null)) {
261
261
  var tmp0 = offset_2;
262
262
  // Inline function 'kotlin.Long.plus' call
263
- var other = s_0.m1e_1 - s_0.l1e_1 | 0;
263
+ var other = s_0.q1g_1 - s_0.p1g_1 | 0;
264
264
  var nextOffset = tmp0.z2(toLong(other));
265
265
  if (nextOffset.e1(position) > 0)
266
266
  break $l$loop_0;
267
- s_0 = s_0.p1e_1;
267
+ s_0 = s_0.t1g_1;
268
268
  offset_2 = nextOffset;
269
269
  }
270
270
  var tmp6 = s_0;
271
271
  var offset_3 = offset_2;
272
- return ensureNotNull(tmp6).c1f(position.a3(offset_3).j1());
272
+ return ensureNotNull(tmp6).g1h(position.a3(offset_3).j1());
273
273
  }
274
274
  };
275
275
  protoOf(Buffer).e2 = function () {
276
- return this.d1f(this.s());
276
+ return this.h1h(this.s());
277
277
  };
278
- protoOf(Buffer).d1f = function (byteCount) {
278
+ protoOf(Buffer).h1h = function (byteCount) {
279
279
  // Inline function 'kotlinx.io.checkByteCount' call
280
280
  // Inline function 'kotlin.require' call
281
281
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
@@ -284,7 +284,7 @@
284
284
  }
285
285
  var remainingByteCount = byteCount;
286
286
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
287
- var tmp0_elvis_lhs = this.c1e_1;
287
+ var tmp0_elvis_lhs = this.g1g_1;
288
288
  var tmp;
289
289
  if (tmp0_elvis_lhs == null) {
290
290
  throw EOFException_init_$Create$_0('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
@@ -294,23 +294,23 @@
294
294
  var head = tmp;
295
295
  var tmp1 = remainingByteCount;
296
296
  // Inline function 'kotlinx.io.minOf' call
297
- var b = head.m1e_1 - head.l1e_1 | 0;
297
+ var b = head.q1g_1 - head.p1g_1 | 0;
298
298
  // Inline function 'kotlin.comparisons.minOf' call
299
299
  var b_0 = toLong(b);
300
300
  var toSkip = (tmp1.e1(b_0) <= 0 ? tmp1 : b_0).j1();
301
- this.e1e_1 = this.e1e_1.a3(toLong(toSkip));
301
+ this.i1g_1 = this.i1g_1.a3(toLong(toSkip));
302
302
  remainingByteCount = remainingByteCount.a3(toLong(toSkip));
303
- head.l1e_1 = head.l1e_1 + toSkip | 0;
304
- if (head.l1e_1 === head.m1e_1) {
305
- this.r1e();
303
+ head.p1g_1 = head.p1g_1 + toSkip | 0;
304
+ if (head.p1g_1 === head.q1g_1) {
305
+ this.v1g();
306
306
  }
307
307
  }
308
308
  };
309
- protoOf(Buffer).e1f = function (sink, startIndex, endIndex) {
309
+ protoOf(Buffer).i1h = function (sink, startIndex, endIndex) {
310
310
  // Inline function 'kotlinx.io.checkBounds' call
311
311
  var size = sink.length;
312
312
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
313
- var tmp0_elvis_lhs = this.c1e_1;
313
+ var tmp0_elvis_lhs = this.g1g_1;
314
314
  var tmp;
315
315
  if (tmp0_elvis_lhs == null) {
316
316
  return -1;
@@ -322,14 +322,14 @@
322
322
  // Inline function 'kotlin.comparisons.minOf' call
323
323
  var b = s.s();
324
324
  var toCopy = Math.min(tmp3, b);
325
- s.f1f(sink, startIndex, startIndex + toCopy | 0);
326
- this.e1e_1 = this.e1e_1.a3(toLong(toCopy));
325
+ s.j1h(sink, startIndex, startIndex + toCopy | 0);
326
+ this.i1g_1 = this.i1g_1.a3(toLong(toCopy));
327
327
  if (isEmpty(s)) {
328
- this.r1e();
328
+ this.v1g();
329
329
  }
330
330
  return toCopy;
331
331
  };
332
- protoOf(Buffer).g1f = function (sink, byteCount) {
332
+ protoOf(Buffer).k1h = function (sink, byteCount) {
333
333
  // Inline function 'kotlinx.io.checkByteCount' call
334
334
  // Inline function 'kotlin.require' call
335
335
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
@@ -339,10 +339,10 @@
339
339
  if (this.s().equals(new Long(0, 0)))
340
340
  return new Long(-1, -1);
341
341
  var bytesWritten = byteCount.e1(this.s()) > 0 ? this.s() : byteCount;
342
- sink.h1f(this, bytesWritten);
342
+ sink.l1h(this, bytesWritten);
343
343
  return bytesWritten;
344
344
  };
345
- protoOf(Buffer).i1f = function (sink, byteCount) {
345
+ protoOf(Buffer).m1h = function (sink, byteCount) {
346
346
  // Inline function 'kotlinx.io.checkByteCount' call
347
347
  // Inline function 'kotlin.require' call
348
348
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
@@ -350,62 +350,62 @@
350
350
  throw IllegalArgumentException_init_$Create$(toString(message));
351
351
  }
352
352
  if (this.s().e1(byteCount) < 0) {
353
- sink.h1f(this, this.s());
353
+ sink.l1h(this, this.s());
354
354
  throw EOFException_init_$Create$_0('Buffer exhausted before writing ' + byteCount.toString() + ' bytes. Only ' + this.s().toString() + ' bytes were written.');
355
355
  }
356
- sink.h1f(this, byteCount);
356
+ sink.l1h(this, byteCount);
357
357
  };
358
- protoOf(Buffer).j1f = function (sink) {
358
+ protoOf(Buffer).n1h = function (sink) {
359
359
  var byteCount = this.s();
360
360
  if (byteCount.e1(new Long(0, 0)) > 0) {
361
- sink.h1f(this, byteCount);
361
+ sink.l1h(this, byteCount);
362
362
  }
363
363
  return byteCount;
364
364
  };
365
- protoOf(Buffer).k1f = function () {
365
+ protoOf(Buffer).o1h = function () {
366
366
  return buffered(new PeekSource(this));
367
367
  };
368
- protoOf(Buffer).l1f = function (minimumCapacity) {
368
+ protoOf(Buffer).p1h = function (minimumCapacity) {
369
369
  // Inline function 'kotlin.require' call
370
370
  if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
371
371
  var message = 'unexpected capacity (' + minimumCapacity + '), should be in range [1, 8192]';
372
372
  throw IllegalArgumentException_init_$Create$(toString(message));
373
373
  }
374
- if (this.d1e_1 == null) {
375
- var result = SegmentPool_instance.o1f();
376
- this.c1e_1 = result;
377
- this.d1e_1 = result;
374
+ if (this.h1g_1 == null) {
375
+ var result = SegmentPool_instance.s1h();
376
+ this.g1g_1 = result;
377
+ this.h1g_1 = result;
378
378
  return result;
379
379
  }
380
- var t = ensureNotNull(this.d1e_1);
381
- if ((t.m1e_1 + minimumCapacity | 0) > 8192 || !t.o1e_1) {
382
- var newTail = t.y1e(SegmentPool_instance.o1f());
383
- this.d1e_1 = newTail;
380
+ var t = ensureNotNull(this.h1g_1);
381
+ if ((t.q1g_1 + minimumCapacity | 0) > 8192 || !t.s1g_1) {
382
+ var newTail = t.c1h(SegmentPool_instance.s1h());
383
+ this.h1g_1 = newTail;
384
384
  return newTail;
385
385
  }
386
386
  return t;
387
387
  };
388
- protoOf(Buffer).p1f = function (source, startIndex, endIndex) {
388
+ protoOf(Buffer).t1h = function (source, startIndex, endIndex) {
389
389
  // Inline function 'kotlinx.io.checkBounds' call
390
390
  var size = source.length;
391
391
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
392
392
  var currentOffset = startIndex;
393
393
  while (currentOffset < endIndex) {
394
- var tail = this.l1f(1);
394
+ var tail = this.p1h(1);
395
395
  var tmp3 = endIndex - currentOffset | 0;
396
396
  // Inline function 'kotlin.comparisons.minOf' call
397
- var b = tail.q1f();
397
+ var b = tail.u1h();
398
398
  var toCopy = Math.min(tmp3, b);
399
- tail.r1f(source, currentOffset, currentOffset + toCopy | 0);
399
+ tail.v1h(source, currentOffset, currentOffset + toCopy | 0);
400
400
  currentOffset = currentOffset + toCopy | 0;
401
401
  }
402
402
  var tmp = this;
403
- var tmp5 = this.e1e_1;
403
+ var tmp5 = this.i1g_1;
404
404
  // Inline function 'kotlin.Long.plus' call
405
405
  var other = endIndex - startIndex | 0;
406
- tmp.e1e_1 = tmp5.z2(toLong(other));
406
+ tmp.i1g_1 = tmp5.z2(toLong(other));
407
407
  };
408
- protoOf(Buffer).t1f = function (source, byteCount) {
408
+ protoOf(Buffer).x1h = function (source, byteCount) {
409
409
  // Inline function 'kotlinx.io.checkByteCount' call
410
410
  // Inline function 'kotlin.require' call
411
411
  if (!(byteCount.e1(new Long(0, 0)) >= 0)) {
@@ -414,85 +414,85 @@
414
414
  }
415
415
  var remainingByteCount = byteCount;
416
416
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
417
- var read = source.g1f(this, remainingByteCount);
417
+ var read = source.k1h(this, remainingByteCount);
418
418
  if (read.equals(new Long(-1, -1))) {
419
419
  throw EOFException_init_$Create$_0('Source exhausted before reading ' + byteCount.toString() + ' bytes. ' + ('Only ' + byteCount.a3(remainingByteCount).toString() + ' were read.'));
420
420
  }
421
421
  remainingByteCount = remainingByteCount.a3(read);
422
422
  }
423
423
  };
424
- protoOf(Buffer).h1f = function (source, byteCount) {
424
+ protoOf(Buffer).l1h = function (source, byteCount) {
425
425
  // Inline function 'kotlin.require' call
426
426
  if (!!(source === this)) {
427
427
  var message = 'source == this';
428
428
  throw IllegalArgumentException_init_$Create$(toString(message));
429
429
  }
430
- checkOffsetAndCount(source.e1e_1, new Long(0, 0), byteCount);
430
+ checkOffsetAndCount(source.i1g_1, new Long(0, 0), byteCount);
431
431
  var remainingByteCount = byteCount;
432
432
  while (remainingByteCount.e1(new Long(0, 0)) > 0) {
433
- if (remainingByteCount.e1(toLong(ensureNotNull(source.c1e_1).s())) < 0) {
434
- var tail = this.d1e_1;
433
+ if (remainingByteCount.e1(toLong(ensureNotNull(source.g1g_1).s())) < 0) {
434
+ var tail = this.h1g_1;
435
435
  var tmp;
436
- if (!(tail == null) && tail.o1e_1) {
436
+ if (!(tail == null) && tail.s1g_1) {
437
437
  var tmp1 = remainingByteCount;
438
438
  // Inline function 'kotlin.Long.plus' call
439
- var other = tail.m1e_1;
439
+ var other = tail.q1g_1;
440
440
  var tmp3 = tmp1.z2(toLong(other));
441
441
  // Inline function 'kotlin.Long.minus' call
442
- var other_0 = tail.u1f() ? 0 : tail.l1e_1;
442
+ var other_0 = tail.y1h() ? 0 : tail.p1g_1;
443
443
  tmp = tmp3.a3(toLong(other_0)).e1(new Long(8192, 0)) <= 0;
444
444
  } else {
445
445
  tmp = false;
446
446
  }
447
447
  if (tmp) {
448
- ensureNotNull(source.c1e_1).w1f(tail, remainingByteCount.j1());
449
- source.e1e_1 = source.e1e_1.a3(remainingByteCount);
450
- this.e1e_1 = this.e1e_1.z2(remainingByteCount);
448
+ ensureNotNull(source.g1g_1).a1i(tail, remainingByteCount.j1());
449
+ source.i1g_1 = source.i1g_1.a3(remainingByteCount);
450
+ this.i1g_1 = this.i1g_1.z2(remainingByteCount);
451
451
  return Unit_instance;
452
452
  } else {
453
- source.c1e_1 = ensureNotNull(source.c1e_1).v1f(remainingByteCount.j1());
453
+ source.g1g_1 = ensureNotNull(source.g1g_1).z1h(remainingByteCount.j1());
454
454
  }
455
455
  }
456
- var segmentToMove = ensureNotNull(source.c1e_1);
456
+ var segmentToMove = ensureNotNull(source.g1g_1);
457
457
  var movedByteCount = toLong(segmentToMove.s());
458
- source.c1e_1 = segmentToMove.x1f();
459
- if (source.c1e_1 == null) {
460
- source.d1e_1 = null;
458
+ source.g1g_1 = segmentToMove.b1i();
459
+ if (source.g1g_1 == null) {
460
+ source.h1g_1 = null;
461
461
  }
462
462
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
463
- if (this.c1e_1 == null) {
464
- this.c1e_1 = segmentToMove;
465
- this.d1e_1 = segmentToMove;
463
+ if (this.g1g_1 == null) {
464
+ this.g1g_1 = segmentToMove;
465
+ this.h1g_1 = segmentToMove;
466
466
  } else if (true) {
467
- this.d1e_1 = ensureNotNull(this.d1e_1).y1e(segmentToMove).z1e();
468
- if (ensureNotNull(this.d1e_1).q1e_1 == null) {
469
- this.c1e_1 = this.d1e_1;
467
+ this.h1g_1 = ensureNotNull(this.h1g_1).c1h(segmentToMove).d1h();
468
+ if (ensureNotNull(this.h1g_1).u1g_1 == null) {
469
+ this.g1g_1 = this.h1g_1;
470
470
  }
471
471
  } else {
472
- this.d1e_1 = ensureNotNull(this.d1e_1).y1e(segmentToMove);
472
+ this.h1g_1 = ensureNotNull(this.h1g_1).c1h(segmentToMove);
473
473
  }
474
- source.e1e_1 = source.e1e_1.a3(movedByteCount);
475
- this.e1e_1 = this.e1e_1.z2(movedByteCount);
474
+ source.i1g_1 = source.i1g_1.a3(movedByteCount);
475
+ this.i1g_1 = this.i1g_1.z2(movedByteCount);
476
476
  remainingByteCount = remainingByteCount.a3(movedByteCount);
477
477
  }
478
478
  };
479
- protoOf(Buffer).y1f = function (source) {
479
+ protoOf(Buffer).c1i = function (source) {
480
480
  var totalBytesRead = new Long(0, 0);
481
481
  $l$loop: while (true) {
482
- var readCount = source.g1f(this, new Long(8192, 0));
482
+ var readCount = source.k1h(this, new Long(8192, 0));
483
483
  if (readCount.equals(new Long(-1, -1)))
484
484
  break $l$loop;
485
485
  totalBytesRead = totalBytesRead.z2(readCount);
486
486
  }
487
487
  return totalBytesRead;
488
488
  };
489
- protoOf(Buffer).z1f = function (byte) {
490
- this.l1f(1).a1g(byte);
491
- this.e1e_1 = this.e1e_1.z2(new Long(1, 0));
489
+ protoOf(Buffer).d1i = function (byte) {
490
+ this.p1h(1).e1i(byte);
491
+ this.i1g_1 = this.i1g_1.z2(new Long(1, 0));
492
492
  };
493
- protoOf(Buffer).b1g = function (short) {
494
- this.l1f(2).c1g(short);
495
- this.e1e_1 = this.e1e_1.z2(new Long(2, 0));
493
+ protoOf(Buffer).f1i = function (short) {
494
+ this.p1h(2).g1i(short);
495
+ this.i1g_1 = this.i1g_1.z2(new Long(2, 0));
496
496
  };
497
497
  protoOf(Buffer).p4 = function () {
498
498
  return Unit_instance;
@@ -509,7 +509,7 @@
509
509
  var builder = StringBuilder_init_$Create$(imul(len, 2) + (this.s().e1(toLong(maxPrintableBytes)) > 0 ? 1 : 0) | 0);
510
510
  var bytesWritten = 0;
511
511
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
512
- var curr = this.c1e_1;
512
+ var curr = this.g1g_1;
513
513
  while (!(curr == null)) {
514
514
  var tmp4 = get_SegmentReadContextImpl();
515
515
  var segment = curr;
@@ -517,7 +517,7 @@
517
517
  while (bytesWritten < len && idx < segment.s()) {
518
518
  var _unary__edvuaz = idx;
519
519
  idx = _unary__edvuaz + 1 | 0;
520
- var b_0 = tmp4.d1g(segment, _unary__edvuaz);
520
+ var b_0 = tmp4.h1i(segment, _unary__edvuaz);
521
521
  bytesWritten = bytesWritten + 1 | 0;
522
522
  var tmp = get_HEX_DIGIT_CHARS();
523
523
  // Inline function 'kotlinx.io.shr' call
@@ -528,57 +528,57 @@
528
528
  var tmp$ret$3 = b_0 & 15;
529
529
  tmp_0.s8(tmp_1[tmp$ret$3]);
530
530
  }
531
- curr = curr.p1e_1;
531
+ curr = curr.t1g_1;
532
532
  }
533
533
  if (this.s().e1(toLong(maxPrintableBytes)) > 0) {
534
534
  builder.s8(_Char___init__impl__6a9atx(8230));
535
535
  }
536
536
  return 'Buffer(size=' + this.s().toString() + ' hex=' + builder.toString() + ')';
537
537
  };
538
- protoOf(Buffer).r1e = function () {
539
- var oldHead = ensureNotNull(this.c1e_1);
540
- var nextHead = oldHead.p1e_1;
541
- this.c1e_1 = nextHead;
538
+ protoOf(Buffer).v1g = function () {
539
+ var oldHead = ensureNotNull(this.g1g_1);
540
+ var nextHead = oldHead.t1g_1;
541
+ this.g1g_1 = nextHead;
542
542
  if (nextHead == null) {
543
- this.d1e_1 = null;
543
+ this.h1g_1 = null;
544
544
  } else {
545
- nextHead.q1e_1 = null;
545
+ nextHead.u1g_1 = null;
546
546
  }
547
- oldHead.p1e_1 = null;
548
- SegmentPool_instance.e1g(oldHead);
547
+ oldHead.t1g_1 = null;
548
+ SegmentPool_instance.i1i(oldHead);
549
549
  };
550
- protoOf(Buffer).f1g = function () {
551
- var oldTail = ensureNotNull(this.d1e_1);
552
- var newTail = oldTail.q1e_1;
553
- this.d1e_1 = newTail;
550
+ protoOf(Buffer).j1i = function () {
551
+ var oldTail = ensureNotNull(this.h1g_1);
552
+ var newTail = oldTail.u1g_1;
553
+ this.h1g_1 = newTail;
554
554
  if (newTail == null) {
555
- this.c1e_1 = null;
555
+ this.g1g_1 = null;
556
556
  } else {
557
- newTail.p1e_1 = null;
557
+ newTail.t1g_1 = null;
558
558
  }
559
- oldTail.q1e_1 = null;
560
- SegmentPool_instance.e1g(oldTail);
559
+ oldTail.u1g_1 = null;
560
+ SegmentPool_instance.i1i(oldTail);
561
561
  };
562
562
  function readByteString(_this__u8e3s4, byteCount) {
563
- return UnsafeByteStringOperations_instance.b1e(readByteArray_0(_this__u8e3s4, byteCount));
563
+ return UnsafeByteStringOperations_instance.f1g(readByteArray_0(_this__u8e3s4, byteCount));
564
564
  }
565
565
  function buffered(_this__u8e3s4) {
566
566
  return new RealSource(_this__u8e3s4);
567
567
  }
568
568
  function PeekSource(upstream) {
569
- this.g1g_1 = upstream;
570
- this.h1g_1 = this.g1g_1.f1e();
571
- this.i1g_1 = this.h1g_1.c1e_1;
569
+ this.k1i_1 = upstream;
570
+ this.l1i_1 = this.k1i_1.j1g();
571
+ this.m1i_1 = this.l1i_1.g1g_1;
572
572
  var tmp = this;
573
- var tmp0_safe_receiver = this.h1g_1.c1e_1;
574
- var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l1e_1;
575
- tmp.j1g_1 = tmp0_elvis_lhs == null ? -1 : tmp0_elvis_lhs;
576
- this.k1g_1 = false;
577
- this.l1g_1 = new Long(0, 0);
573
+ var tmp0_safe_receiver = this.l1i_1.g1g_1;
574
+ var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p1g_1;
575
+ tmp.n1i_1 = tmp0_elvis_lhs == null ? -1 : tmp0_elvis_lhs;
576
+ this.o1i_1 = false;
577
+ this.p1i_1 = new Long(0, 0);
578
578
  }
579
- protoOf(PeekSource).g1f = function (sink, byteCount) {
579
+ protoOf(PeekSource).k1h = function (sink, byteCount) {
580
580
  // Inline function 'kotlin.check' call
581
- if (!!this.k1g_1) {
581
+ if (!!this.o1i_1) {
582
582
  var message = 'Source is closed.';
583
583
  throw IllegalStateException_init_$Create$(toString(message));
584
584
  }
@@ -589,42 +589,42 @@
589
589
  throw IllegalArgumentException_init_$Create$(toString(message_0));
590
590
  }
591
591
  // Inline function 'kotlin.check' call
592
- if (!(this.i1g_1 == null || (this.i1g_1 === this.h1g_1.c1e_1 && this.j1g_1 === ensureNotNull(this.h1g_1.c1e_1).l1e_1))) {
592
+ if (!(this.m1i_1 == null || (this.m1i_1 === this.l1i_1.g1g_1 && this.n1i_1 === ensureNotNull(this.l1i_1.g1g_1).p1g_1))) {
593
593
  var message_1 = 'Peek source is invalid because upstream source was used';
594
594
  throw IllegalStateException_init_$Create$(toString(message_1));
595
595
  }
596
596
  if (byteCount.equals(new Long(0, 0)))
597
597
  return new Long(0, 0);
598
598
  // Inline function 'kotlin.Long.plus' call
599
- var tmp$ret$7 = this.l1g_1.z2(toLong(1));
600
- if (!this.g1g_1.i1e(tmp$ret$7))
599
+ var tmp$ret$7 = this.p1i_1.z2(toLong(1));
600
+ if (!this.k1i_1.m1g(tmp$ret$7))
601
601
  return new Long(-1, -1);
602
- if (this.i1g_1 == null && !(this.h1g_1.c1e_1 == null)) {
603
- this.i1g_1 = this.h1g_1.c1e_1;
604
- this.j1g_1 = ensureNotNull(this.h1g_1.c1e_1).l1e_1;
602
+ if (this.m1i_1 == null && !(this.l1i_1.g1g_1 == null)) {
603
+ this.m1i_1 = this.l1i_1.g1g_1;
604
+ this.n1i_1 = ensureNotNull(this.l1i_1.g1g_1).p1g_1;
605
605
  }
606
606
  // Inline function 'kotlin.comparisons.minOf' call
607
- var b = this.h1g_1.s().a3(this.l1g_1);
607
+ var b = this.l1i_1.s().a3(this.p1i_1);
608
608
  var toCopy = byteCount.e1(b) <= 0 ? byteCount : b;
609
- this.h1g_1.w1e(sink, this.l1g_1, this.l1g_1.z2(toCopy));
610
- this.l1g_1 = this.l1g_1.z2(toCopy);
609
+ this.l1i_1.a1h(sink, this.p1i_1, this.p1i_1.z2(toCopy));
610
+ this.p1i_1 = this.p1i_1.z2(toCopy);
611
611
  return toCopy;
612
612
  };
613
613
  protoOf(PeekSource).p4 = function () {
614
- this.k1g_1 = true;
614
+ this.o1i_1 = true;
615
615
  };
616
616
  function RealSource(source) {
617
- this.m1g_1 = source;
618
- this.n1g_1 = false;
619
- this.o1g_1 = new Buffer();
617
+ this.q1i_1 = source;
618
+ this.r1i_1 = false;
619
+ this.s1i_1 = new Buffer();
620
620
  }
621
- protoOf(RealSource).f1e = function () {
622
- return this.o1g_1;
621
+ protoOf(RealSource).j1g = function () {
622
+ return this.s1i_1;
623
623
  };
624
- protoOf(RealSource).g1f = function (sink, byteCount) {
624
+ protoOf(RealSource).k1h = function (sink, byteCount) {
625
625
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
626
626
  // Inline function 'kotlin.check' call
627
- if (!!this.n1g_1) {
627
+ if (!!this.r1i_1) {
628
628
  var message = 'Source is closed.';
629
629
  throw IllegalStateException_init_$Create$(toString(message));
630
630
  }
@@ -633,33 +633,33 @@
633
633
  var message_0 = 'byteCount: ' + byteCount.toString();
634
634
  throw IllegalArgumentException_init_$Create$(toString(message_0));
635
635
  }
636
- if (this.o1g_1.s().equals(new Long(0, 0))) {
637
- var read = this.m1g_1.g1f(this.o1g_1, new Long(8192, 0));
636
+ if (this.s1i_1.s().equals(new Long(0, 0))) {
637
+ var read = this.q1i_1.k1h(this.s1i_1, new Long(8192, 0));
638
638
  if (read.equals(new Long(-1, -1)))
639
639
  return new Long(-1, -1);
640
640
  }
641
641
  // Inline function 'kotlin.comparisons.minOf' call
642
- var b = this.o1g_1.s();
642
+ var b = this.s1i_1.s();
643
643
  var toRead = byteCount.e1(b) <= 0 ? byteCount : b;
644
- return this.o1g_1.g1f(sink, toRead);
644
+ return this.s1i_1.k1h(sink, toRead);
645
645
  };
646
- protoOf(RealSource).g1e = function () {
646
+ protoOf(RealSource).k1g = function () {
647
647
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
648
648
  // Inline function 'kotlin.check' call
649
- if (!!this.n1g_1) {
649
+ if (!!this.r1i_1) {
650
650
  var message = 'Source is closed.';
651
651
  throw IllegalStateException_init_$Create$(toString(message));
652
652
  }
653
- return this.o1g_1.g1e() && this.m1g_1.g1f(this.o1g_1, new Long(8192, 0)).equals(new Long(-1, -1));
653
+ return this.s1i_1.k1g() && this.q1i_1.k1h(this.s1i_1, new Long(8192, 0)).equals(new Long(-1, -1));
654
654
  };
655
- protoOf(RealSource).h1e = function (byteCount) {
656
- if (!this.i1e(byteCount))
655
+ protoOf(RealSource).l1g = function (byteCount) {
656
+ if (!this.m1g(byteCount))
657
657
  throw EOFException_init_$Create$_0("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
658
658
  };
659
- protoOf(RealSource).i1e = function (byteCount) {
659
+ protoOf(RealSource).m1g = function (byteCount) {
660
660
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
661
661
  // Inline function 'kotlin.check' call
662
- if (!!this.n1g_1) {
662
+ if (!!this.r1i_1) {
663
663
  var message = 'Source is closed.';
664
664
  throw IllegalStateException_init_$Create$(toString(message));
665
665
  }
@@ -668,90 +668,90 @@
668
668
  var message_0 = 'byteCount: ' + byteCount.toString();
669
669
  throw IllegalArgumentException_init_$Create$(toString(message_0));
670
670
  }
671
- while (this.o1g_1.s().e1(byteCount) < 0) {
672
- if (this.m1g_1.g1f(this.o1g_1, new Long(8192, 0)).equals(new Long(-1, -1)))
671
+ while (this.s1i_1.s().e1(byteCount) < 0) {
672
+ if (this.q1i_1.k1h(this.s1i_1, new Long(8192, 0)).equals(new Long(-1, -1)))
673
673
  return false;
674
674
  }
675
675
  return true;
676
676
  };
677
- protoOf(RealSource).j1e = function () {
678
- this.h1e(new Long(1, 0));
679
- return this.o1g_1.j1e();
677
+ protoOf(RealSource).n1g = function () {
678
+ this.l1g(new Long(1, 0));
679
+ return this.s1i_1.n1g();
680
680
  };
681
- protoOf(RealSource).e1f = function (sink, startIndex, endIndex) {
681
+ protoOf(RealSource).i1h = function (sink, startIndex, endIndex) {
682
682
  // Inline function 'kotlinx.io.checkBounds' call
683
683
  var size = sink.length;
684
684
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
685
- if (this.o1g_1.s().equals(new Long(0, 0))) {
686
- var read = this.m1g_1.g1f(this.o1g_1, new Long(8192, 0));
685
+ if (this.s1i_1.s().equals(new Long(0, 0))) {
686
+ var read = this.q1i_1.k1h(this.s1i_1, new Long(8192, 0));
687
687
  if (read.equals(new Long(-1, -1)))
688
688
  return -1;
689
689
  }
690
690
  var tmp3 = endIndex - startIndex | 0;
691
691
  // Inline function 'kotlinx.io.minOf' call
692
- var b = this.o1g_1.s();
692
+ var b = this.s1i_1.s();
693
693
  // Inline function 'kotlin.comparisons.minOf' call
694
694
  var a = toLong(tmp3);
695
695
  var toRead = (a.e1(b) <= 0 ? a : b).j1();
696
- return this.o1g_1.e1f(sink, startIndex, startIndex + toRead | 0);
696
+ return this.s1i_1.i1h(sink, startIndex, startIndex + toRead | 0);
697
697
  };
698
- protoOf(RealSource).i1f = function (sink, byteCount) {
698
+ protoOf(RealSource).m1h = function (sink, byteCount) {
699
699
  try {
700
- this.h1e(byteCount);
700
+ this.l1g(byteCount);
701
701
  } catch ($p) {
702
702
  if ($p instanceof EOFException) {
703
703
  var e = $p;
704
- sink.h1f(this.o1g_1, this.o1g_1.s());
704
+ sink.l1h(this.s1i_1, this.s1i_1.s());
705
705
  throw e;
706
706
  } else {
707
707
  throw $p;
708
708
  }
709
709
  }
710
- this.o1g_1.i1f(sink, byteCount);
710
+ this.s1i_1.m1h(sink, byteCount);
711
711
  };
712
- protoOf(RealSource).j1f = function (sink) {
712
+ protoOf(RealSource).n1h = function (sink) {
713
713
  var totalBytesWritten = new Long(0, 0);
714
- while (!this.m1g_1.g1f(this.o1g_1, new Long(8192, 0)).equals(new Long(-1, -1))) {
715
- var emitByteCount = this.o1g_1.a1f();
714
+ while (!this.q1i_1.k1h(this.s1i_1, new Long(8192, 0)).equals(new Long(-1, -1))) {
715
+ var emitByteCount = this.s1i_1.e1h();
716
716
  if (emitByteCount.e1(new Long(0, 0)) > 0) {
717
717
  totalBytesWritten = totalBytesWritten.z2(emitByteCount);
718
- sink.h1f(this.o1g_1, emitByteCount);
718
+ sink.l1h(this.s1i_1, emitByteCount);
719
719
  }
720
720
  }
721
- if (this.o1g_1.s().e1(new Long(0, 0)) > 0) {
722
- totalBytesWritten = totalBytesWritten.z2(this.o1g_1.s());
723
- sink.h1f(this.o1g_1, this.o1g_1.s());
721
+ if (this.s1i_1.s().e1(new Long(0, 0)) > 0) {
722
+ totalBytesWritten = totalBytesWritten.z2(this.s1i_1.s());
723
+ sink.l1h(this.s1i_1, this.s1i_1.s());
724
724
  }
725
725
  return totalBytesWritten;
726
726
  };
727
- protoOf(RealSource).t1e = function () {
728
- this.h1e(new Long(2, 0));
729
- return this.o1g_1.t1e();
727
+ protoOf(RealSource).x1g = function () {
728
+ this.l1g(new Long(2, 0));
729
+ return this.s1i_1.x1g();
730
730
  };
731
- protoOf(RealSource).k1f = function () {
731
+ protoOf(RealSource).o1h = function () {
732
732
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
733
733
  // Inline function 'kotlin.check' call
734
- if (!!this.n1g_1) {
734
+ if (!!this.r1i_1) {
735
735
  var message = 'Source is closed.';
736
736
  throw IllegalStateException_init_$Create$(toString(message));
737
737
  }
738
738
  return buffered(new PeekSource(this));
739
739
  };
740
740
  protoOf(RealSource).p4 = function () {
741
- if (this.n1g_1)
741
+ if (this.r1i_1)
742
742
  return Unit_instance;
743
- this.n1g_1 = true;
744
- this.m1g_1.p4();
745
- this.o1g_1.e2();
743
+ this.r1i_1 = true;
744
+ this.q1i_1.p4();
745
+ this.s1i_1.e2();
746
746
  };
747
747
  protoOf(RealSource).toString = function () {
748
- return 'buffered(' + toString(this.m1g_1) + ')';
748
+ return 'buffered(' + toString(this.q1i_1) + ')';
749
749
  };
750
750
  function Segment_init_$Init$($this) {
751
751
  Segment.call($this);
752
- $this.k1e_1 = new Int8Array(8192);
753
- $this.o1e_1 = true;
754
- $this.n1e_1 = null;
752
+ $this.o1g_1 = new Int8Array(8192);
753
+ $this.s1g_1 = true;
754
+ $this.r1g_1 = null;
755
755
  return $this;
756
756
  }
757
757
  function Segment_init_$Create$() {
@@ -759,87 +759,87 @@
759
759
  }
760
760
  function Segment_init_$Init$_0(data, pos, limit, shareToken, owner, $this) {
761
761
  Segment.call($this);
762
- $this.k1e_1 = data;
763
- $this.l1e_1 = pos;
764
- $this.m1e_1 = limit;
765
- $this.n1e_1 = shareToken;
766
- $this.o1e_1 = owner;
762
+ $this.o1g_1 = data;
763
+ $this.p1g_1 = pos;
764
+ $this.q1g_1 = limit;
765
+ $this.r1g_1 = shareToken;
766
+ $this.s1g_1 = owner;
767
767
  return $this;
768
768
  }
769
769
  function Segment_init_$Create$_0(data, pos, limit, shareToken, owner) {
770
770
  return Segment_init_$Init$_0(data, pos, limit, shareToken, owner, objectCreate(protoOf(Segment)));
771
771
  }
772
772
  function Companion() {
773
- this.p1g_1 = 8192;
774
- this.q1g_1 = 1024;
773
+ this.t1i_1 = 8192;
774
+ this.u1i_1 = 1024;
775
775
  }
776
- protoOf(Companion).r1g = function () {
776
+ protoOf(Companion).v1i = function () {
777
777
  return Segment_init_$Create$();
778
778
  };
779
779
  var Companion_instance;
780
780
  function Companion_getInstance() {
781
781
  return Companion_instance;
782
782
  }
783
- protoOf(Segment).u1f = function () {
784
- var tmp1_safe_receiver = this.n1e_1;
785
- var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s1g();
783
+ protoOf(Segment).y1h = function () {
784
+ var tmp1_safe_receiver = this.r1g_1;
785
+ var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.w1i();
786
786
  return tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
787
787
  };
788
- protoOf(Segment).x1e = function () {
789
- var tmp0_elvis_lhs = this.n1e_1;
788
+ protoOf(Segment).b1h = function () {
789
+ var tmp0_elvis_lhs = this.r1g_1;
790
790
  var tmp;
791
791
  if (tmp0_elvis_lhs == null) {
792
792
  // Inline function 'kotlin.also' call
793
- var this_0 = SegmentPool_instance.t1g();
794
- this.n1e_1 = this_0;
793
+ var this_0 = SegmentPool_instance.x1i();
794
+ this.r1g_1 = this_0;
795
795
  tmp = this_0;
796
796
  } else {
797
797
  tmp = tmp0_elvis_lhs;
798
798
  }
799
799
  var t = tmp;
800
- var tmp_0 = this.l1e_1;
801
- var tmp_1 = this.m1e_1;
800
+ var tmp_0 = this.p1g_1;
801
+ var tmp_1 = this.q1g_1;
802
802
  // Inline function 'kotlin.also' call
803
- t.u1g();
804
- return Segment_init_$Create$_0(this.k1e_1, tmp_0, tmp_1, t, false);
803
+ t.y1i();
804
+ return Segment_init_$Create$_0(this.o1g_1, tmp_0, tmp_1, t, false);
805
805
  };
806
- protoOf(Segment).x1f = function () {
807
- var result = this.p1e_1;
808
- if (!(this.q1e_1 == null)) {
809
- ensureNotNull(this.q1e_1).p1e_1 = this.p1e_1;
806
+ protoOf(Segment).b1i = function () {
807
+ var result = this.t1g_1;
808
+ if (!(this.u1g_1 == null)) {
809
+ ensureNotNull(this.u1g_1).t1g_1 = this.t1g_1;
810
810
  }
811
- if (!(this.p1e_1 == null)) {
812
- ensureNotNull(this.p1e_1).q1e_1 = this.q1e_1;
811
+ if (!(this.t1g_1 == null)) {
812
+ ensureNotNull(this.t1g_1).u1g_1 = this.u1g_1;
813
813
  }
814
- this.p1e_1 = null;
815
- this.q1e_1 = null;
814
+ this.t1g_1 = null;
815
+ this.u1g_1 = null;
816
816
  return result;
817
817
  };
818
- protoOf(Segment).y1e = function (segment) {
819
- segment.q1e_1 = this;
820
- segment.p1e_1 = this.p1e_1;
821
- if (!(this.p1e_1 == null)) {
822
- ensureNotNull(this.p1e_1).q1e_1 = segment;
818
+ protoOf(Segment).c1h = function (segment) {
819
+ segment.u1g_1 = this;
820
+ segment.t1g_1 = this.t1g_1;
821
+ if (!(this.t1g_1 == null)) {
822
+ ensureNotNull(this.t1g_1).u1g_1 = segment;
823
823
  }
824
- this.p1e_1 = segment;
824
+ this.t1g_1 = segment;
825
825
  return segment;
826
826
  };
827
- protoOf(Segment).v1f = function (byteCount) {
827
+ protoOf(Segment).z1h = function (byteCount) {
828
828
  // Inline function 'kotlin.require' call
829
- if (!(byteCount > 0 && byteCount <= (this.m1e_1 - this.l1e_1 | 0))) {
829
+ if (!(byteCount > 0 && byteCount <= (this.q1g_1 - this.p1g_1 | 0))) {
830
830
  var message = 'byteCount out of range';
831
831
  throw IllegalArgumentException_init_$Create$(toString(message));
832
832
  }
833
833
  var prefix;
834
834
  if (byteCount >= 1024) {
835
- prefix = this.x1e();
835
+ prefix = this.b1h();
836
836
  } else {
837
- prefix = SegmentPool_instance.o1f();
838
- var tmp1 = this.k1e_1;
839
- var tmp2 = prefix.k1e_1;
840
- var tmp3 = this.l1e_1;
837
+ prefix = SegmentPool_instance.s1h();
838
+ var tmp1 = this.o1g_1;
839
+ var tmp2 = prefix.o1g_1;
840
+ var tmp3 = this.p1g_1;
841
841
  // Inline function 'kotlin.collections.copyInto' call
842
- var endIndex = this.l1e_1 + byteCount | 0;
842
+ var endIndex = this.p1g_1 + byteCount | 0;
843
843
  // Inline function 'kotlin.js.unsafeCast' call
844
844
  // Inline function 'kotlin.js.asDynamic' call
845
845
  var tmp = tmp1;
@@ -847,62 +847,62 @@
847
847
  // Inline function 'kotlin.js.asDynamic' call
848
848
  arrayCopy(tmp, tmp2, 0, tmp3, endIndex);
849
849
  }
850
- prefix.m1e_1 = prefix.l1e_1 + byteCount | 0;
851
- this.l1e_1 = this.l1e_1 + byteCount | 0;
852
- if (!(this.q1e_1 == null)) {
853
- ensureNotNull(this.q1e_1).y1e(prefix);
850
+ prefix.q1g_1 = prefix.p1g_1 + byteCount | 0;
851
+ this.p1g_1 = this.p1g_1 + byteCount | 0;
852
+ if (!(this.u1g_1 == null)) {
853
+ ensureNotNull(this.u1g_1).c1h(prefix);
854
854
  } else {
855
- prefix.p1e_1 = this;
856
- this.q1e_1 = prefix;
855
+ prefix.t1g_1 = this;
856
+ this.u1g_1 = prefix;
857
857
  }
858
858
  return prefix;
859
859
  };
860
- protoOf(Segment).z1e = function () {
860
+ protoOf(Segment).d1h = function () {
861
861
  // Inline function 'kotlin.check' call
862
- if (!!(this.q1e_1 == null)) {
862
+ if (!!(this.u1g_1 == null)) {
863
863
  var message = 'cannot compact';
864
864
  throw IllegalStateException_init_$Create$(toString(message));
865
865
  }
866
- if (!ensureNotNull(this.q1e_1).o1e_1)
866
+ if (!ensureNotNull(this.u1g_1).s1g_1)
867
867
  return this;
868
- var byteCount = this.m1e_1 - this.l1e_1 | 0;
869
- var availableByteCount = (8192 - ensureNotNull(this.q1e_1).m1e_1 | 0) + (ensureNotNull(this.q1e_1).u1f() ? 0 : ensureNotNull(this.q1e_1).l1e_1) | 0;
868
+ var byteCount = this.q1g_1 - this.p1g_1 | 0;
869
+ var availableByteCount = (8192 - ensureNotNull(this.u1g_1).q1g_1 | 0) + (ensureNotNull(this.u1g_1).y1h() ? 0 : ensureNotNull(this.u1g_1).p1g_1) | 0;
870
870
  if (byteCount > availableByteCount)
871
871
  return this;
872
- var predecessor = this.q1e_1;
873
- this.w1f(ensureNotNull(predecessor), byteCount);
874
- var successor = this.x1f();
872
+ var predecessor = this.u1g_1;
873
+ this.a1i(ensureNotNull(predecessor), byteCount);
874
+ var successor = this.b1i();
875
875
  // Inline function 'kotlin.check' call
876
876
  if (!(successor == null)) {
877
877
  throw IllegalStateException_init_$Create$('Check failed.');
878
878
  }
879
- SegmentPool_instance.e1g(this);
879
+ SegmentPool_instance.i1i(this);
880
880
  return predecessor;
881
881
  };
882
- protoOf(Segment).a1g = function (byte) {
883
- var _unary__edvuaz = this.m1e_1;
884
- this.m1e_1 = _unary__edvuaz + 1 | 0;
885
- this.k1e_1[_unary__edvuaz] = byte;
882
+ protoOf(Segment).e1i = function (byte) {
883
+ var _unary__edvuaz = this.q1g_1;
884
+ this.q1g_1 = _unary__edvuaz + 1 | 0;
885
+ this.o1g_1[_unary__edvuaz] = byte;
886
886
  };
887
- protoOf(Segment).c1g = function (short) {
888
- var data = this.k1e_1;
889
- var limit = this.m1e_1;
887
+ protoOf(Segment).g1i = function (short) {
888
+ var data = this.o1g_1;
889
+ var limit = this.q1g_1;
890
890
  var _unary__edvuaz = limit;
891
891
  limit = _unary__edvuaz + 1 | 0;
892
892
  data[_unary__edvuaz] = toByte((short >>> 8 | 0) & 255);
893
893
  var _unary__edvuaz_0 = limit;
894
894
  limit = _unary__edvuaz_0 + 1 | 0;
895
895
  data[_unary__edvuaz_0] = toByte(short & 255);
896
- this.m1e_1 = limit;
896
+ this.q1g_1 = limit;
897
897
  };
898
- protoOf(Segment).s1e = function () {
899
- var _unary__edvuaz = this.l1e_1;
900
- this.l1e_1 = _unary__edvuaz + 1 | 0;
901
- return this.k1e_1[_unary__edvuaz];
898
+ protoOf(Segment).w1g = function () {
899
+ var _unary__edvuaz = this.p1g_1;
900
+ this.p1g_1 = _unary__edvuaz + 1 | 0;
901
+ return this.o1g_1[_unary__edvuaz];
902
902
  };
903
- protoOf(Segment).u1e = function () {
904
- var data = this.k1e_1;
905
- var pos = this.l1e_1;
903
+ protoOf(Segment).y1g = function () {
904
+ var data = this.o1g_1;
905
+ var pos = this.p1g_1;
906
906
  var _unary__edvuaz = pos;
907
907
  pos = _unary__edvuaz + 1 | 0;
908
908
  // Inline function 'kotlinx.io.and' call
@@ -912,118 +912,118 @@
912
912
  // Inline function 'kotlinx.io.and' call
913
913
  var tmp$ret$1 = data[_unary__edvuaz_0] & 255;
914
914
  var s = toShort(tmp | tmp$ret$1);
915
- this.l1e_1 = pos;
915
+ this.p1g_1 = pos;
916
916
  return s;
917
917
  };
918
- protoOf(Segment).w1f = function (sink, byteCount) {
918
+ protoOf(Segment).a1i = function (sink, byteCount) {
919
919
  // Inline function 'kotlin.check' call
920
- if (!sink.o1e_1) {
920
+ if (!sink.s1g_1) {
921
921
  var message = 'only owner can write';
922
922
  throw IllegalStateException_init_$Create$(toString(message));
923
923
  }
924
- if ((sink.m1e_1 + byteCount | 0) > 8192) {
925
- if (sink.u1f())
924
+ if ((sink.q1g_1 + byteCount | 0) > 8192) {
925
+ if (sink.y1h())
926
926
  throw IllegalArgumentException_init_$Create$_0();
927
- if (((sink.m1e_1 + byteCount | 0) - sink.l1e_1 | 0) > 8192)
927
+ if (((sink.q1g_1 + byteCount | 0) - sink.p1g_1 | 0) > 8192)
928
928
  throw IllegalArgumentException_init_$Create$_0();
929
- var tmp1 = sink.k1e_1;
930
- var tmp2 = sink.k1e_1;
931
- var tmp3 = sink.l1e_1;
929
+ var tmp1 = sink.o1g_1;
930
+ var tmp2 = sink.o1g_1;
931
+ var tmp3 = sink.p1g_1;
932
932
  // Inline function 'kotlin.collections.copyInto' call
933
- var endIndex = sink.m1e_1;
933
+ var endIndex = sink.q1g_1;
934
934
  // Inline function 'kotlin.js.unsafeCast' call
935
935
  // Inline function 'kotlin.js.asDynamic' call
936
936
  var tmp = tmp1;
937
937
  // Inline function 'kotlin.js.unsafeCast' call
938
938
  // Inline function 'kotlin.js.asDynamic' call
939
939
  arrayCopy(tmp, tmp2, 0, tmp3, endIndex);
940
- sink.m1e_1 = sink.m1e_1 - sink.l1e_1 | 0;
941
- sink.l1e_1 = 0;
940
+ sink.q1g_1 = sink.q1g_1 - sink.p1g_1 | 0;
941
+ sink.p1g_1 = 0;
942
942
  }
943
- var tmp6 = this.k1e_1;
944
- var tmp7 = sink.k1e_1;
945
- var tmp8 = sink.m1e_1;
946
- var tmp9 = this.l1e_1;
943
+ var tmp6 = this.o1g_1;
944
+ var tmp7 = sink.o1g_1;
945
+ var tmp8 = sink.q1g_1;
946
+ var tmp9 = this.p1g_1;
947
947
  // Inline function 'kotlin.collections.copyInto' call
948
- var endIndex_0 = this.l1e_1 + byteCount | 0;
948
+ var endIndex_0 = this.p1g_1 + byteCount | 0;
949
949
  // Inline function 'kotlin.js.unsafeCast' call
950
950
  // Inline function 'kotlin.js.asDynamic' call
951
951
  var tmp_0 = tmp6;
952
952
  // Inline function 'kotlin.js.unsafeCast' call
953
953
  // Inline function 'kotlin.js.asDynamic' call
954
954
  arrayCopy(tmp_0, tmp7, tmp8, tmp9, endIndex_0);
955
- sink.m1e_1 = sink.m1e_1 + byteCount | 0;
956
- this.l1e_1 = this.l1e_1 + byteCount | 0;
955
+ sink.q1g_1 = sink.q1g_1 + byteCount | 0;
956
+ this.p1g_1 = this.p1g_1 + byteCount | 0;
957
957
  };
958
- protoOf(Segment).f1f = function (dst, dstStartOffset, dstEndOffset) {
958
+ protoOf(Segment).j1h = function (dst, dstStartOffset, dstEndOffset) {
959
959
  var len = dstEndOffset - dstStartOffset | 0;
960
- var tmp0 = this.k1e_1;
961
- var tmp3 = this.l1e_1;
960
+ var tmp0 = this.o1g_1;
961
+ var tmp3 = this.p1g_1;
962
962
  // Inline function 'kotlin.collections.copyInto' call
963
- var endIndex = this.l1e_1 + len | 0;
963
+ var endIndex = this.p1g_1 + len | 0;
964
964
  // Inline function 'kotlin.js.unsafeCast' call
965
965
  // Inline function 'kotlin.js.asDynamic' call
966
966
  var tmp = tmp0;
967
967
  // Inline function 'kotlin.js.unsafeCast' call
968
968
  // Inline function 'kotlin.js.asDynamic' call
969
969
  arrayCopy(tmp, dst, dstStartOffset, tmp3, endIndex);
970
- this.l1e_1 = this.l1e_1 + len | 0;
970
+ this.p1g_1 = this.p1g_1 + len | 0;
971
971
  };
972
- protoOf(Segment).r1f = function (src, srcStartOffset, srcEndOffset) {
973
- var tmp1 = this.k1e_1;
972
+ protoOf(Segment).v1h = function (src, srcStartOffset, srcEndOffset) {
973
+ var tmp1 = this.o1g_1;
974
974
  // Inline function 'kotlin.collections.copyInto' call
975
- var destinationOffset = this.m1e_1;
975
+ var destinationOffset = this.q1g_1;
976
976
  // Inline function 'kotlin.js.unsafeCast' call
977
977
  // Inline function 'kotlin.js.asDynamic' call
978
978
  var tmp = src;
979
979
  // Inline function 'kotlin.js.unsafeCast' call
980
980
  // Inline function 'kotlin.js.asDynamic' call
981
981
  arrayCopy(tmp, tmp1, destinationOffset, srcStartOffset, srcEndOffset);
982
- this.m1e_1 = this.m1e_1 + (srcEndOffset - srcStartOffset | 0) | 0;
982
+ this.q1g_1 = this.q1g_1 + (srcEndOffset - srcStartOffset | 0) | 0;
983
983
  };
984
984
  protoOf(Segment).s = function () {
985
- return this.m1e_1 - this.l1e_1 | 0;
985
+ return this.q1g_1 - this.p1g_1 | 0;
986
986
  };
987
- protoOf(Segment).q1f = function () {
988
- return this.k1e_1.length - this.m1e_1 | 0;
987
+ protoOf(Segment).u1h = function () {
988
+ return this.o1g_1.length - this.q1g_1 | 0;
989
989
  };
990
- protoOf(Segment).v1g = function (readOnly) {
991
- return this.k1e_1;
990
+ protoOf(Segment).z1i = function (readOnly) {
991
+ return this.o1g_1;
992
992
  };
993
- protoOf(Segment).c1f = function (index) {
994
- return this.k1e_1[this.l1e_1 + index | 0];
993
+ protoOf(Segment).g1h = function (index) {
994
+ return this.o1g_1[this.p1g_1 + index | 0];
995
995
  };
996
- protoOf(Segment).w1g = function (index, value) {
997
- this.k1e_1[this.m1e_1 + index | 0] = value;
996
+ protoOf(Segment).a1j = function (index, value) {
997
+ this.o1g_1[this.q1g_1 + index | 0] = value;
998
998
  };
999
- protoOf(Segment).x1g = function (index, b0, b1) {
1000
- var d = this.k1e_1;
1001
- var l = this.m1e_1;
999
+ protoOf(Segment).b1j = function (index, b0, b1) {
1000
+ var d = this.o1g_1;
1001
+ var l = this.q1g_1;
1002
1002
  d[l + index | 0] = b0;
1003
1003
  d[(l + index | 0) + 1 | 0] = b1;
1004
1004
  };
1005
- protoOf(Segment).y1g = function (index, b0, b1, b2) {
1006
- var d = this.k1e_1;
1007
- var l = this.m1e_1;
1005
+ protoOf(Segment).c1j = function (index, b0, b1, b2) {
1006
+ var d = this.o1g_1;
1007
+ var l = this.q1g_1;
1008
1008
  d[l + index | 0] = b0;
1009
1009
  d[(l + index | 0) + 1 | 0] = b1;
1010
1010
  d[(l + index | 0) + 2 | 0] = b2;
1011
1011
  };
1012
- protoOf(Segment).z1g = function (index, b0, b1, b2, b3) {
1013
- var d = this.k1e_1;
1014
- var l = this.m1e_1;
1012
+ protoOf(Segment).d1j = function (index, b0, b1, b2, b3) {
1013
+ var d = this.o1g_1;
1014
+ var l = this.q1g_1;
1015
1015
  d[l + index | 0] = b0;
1016
1016
  d[(l + index | 0) + 1 | 0] = b1;
1017
1017
  d[(l + index | 0) + 2 | 0] = b2;
1018
1018
  d[(l + index | 0) + 3 | 0] = b3;
1019
1019
  };
1020
1020
  function Segment() {
1021
- this.l1e_1 = 0;
1022
- this.m1e_1 = 0;
1023
- this.n1e_1 = null;
1024
- this.o1e_1 = false;
1025
- this.p1e_1 = null;
1026
- this.q1e_1 = null;
1021
+ this.p1g_1 = 0;
1022
+ this.q1g_1 = 0;
1023
+ this.r1g_1 = null;
1024
+ this.s1g_1 = false;
1025
+ this.t1g_1 = null;
1026
+ this.u1g_1 = null;
1027
1027
  }
1028
1028
  function SegmentCopyTracker() {
1029
1029
  }
@@ -1034,10 +1034,10 @@
1034
1034
  AlwaysSharedCopyTracker_instance = this;
1035
1035
  SegmentCopyTracker.call(this);
1036
1036
  }
1037
- protoOf(AlwaysSharedCopyTracker).s1g = function () {
1037
+ protoOf(AlwaysSharedCopyTracker).w1i = function () {
1038
1038
  return true;
1039
1039
  };
1040
- protoOf(AlwaysSharedCopyTracker).u1g = function () {
1040
+ protoOf(AlwaysSharedCopyTracker).y1i = function () {
1041
1041
  return Unit_instance;
1042
1042
  };
1043
1043
  var AlwaysSharedCopyTracker_instance;
@@ -1057,21 +1057,21 @@
1057
1057
  var arraySize = size;
1058
1058
  if (size === -1) {
1059
1059
  var fetchSize = new Long(2147483647, 0);
1060
- while (_this__u8e3s4.f1e().s().e1(new Long(2147483647, 0)) < 0 && _this__u8e3s4.i1e(fetchSize)) {
1060
+ while (_this__u8e3s4.j1g().s().e1(new Long(2147483647, 0)) < 0 && _this__u8e3s4.m1g(fetchSize)) {
1061
1061
  // Inline function 'kotlin.Long.times' call
1062
1062
  fetchSize = fetchSize.b3(toLong(2));
1063
1063
  }
1064
1064
  // Inline function 'kotlin.check' call
1065
- if (!(_this__u8e3s4.f1e().s().e1(new Long(2147483647, 0)) < 0)) {
1066
- var message = "Can't create an array of size " + _this__u8e3s4.f1e().s().toString();
1065
+ if (!(_this__u8e3s4.j1g().s().e1(new Long(2147483647, 0)) < 0)) {
1066
+ var message = "Can't create an array of size " + _this__u8e3s4.j1g().s().toString();
1067
1067
  throw IllegalStateException_init_$Create$(toString(message));
1068
1068
  }
1069
- arraySize = _this__u8e3s4.f1e().s().j1();
1069
+ arraySize = _this__u8e3s4.j1g().s().j1();
1070
1070
  } else {
1071
- _this__u8e3s4.h1e(toLong(size));
1071
+ _this__u8e3s4.l1g(toLong(size));
1072
1072
  }
1073
1073
  var array = new Int8Array(arraySize);
1074
- readTo(_this__u8e3s4.f1e(), array);
1074
+ readTo(_this__u8e3s4.j1g(), array);
1075
1075
  return array;
1076
1076
  }
1077
1077
  function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
@@ -1082,7 +1082,7 @@
1082
1082
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
1083
1083
  var offset = startIndex;
1084
1084
  while (offset < endIndex) {
1085
- var bytesRead = _this__u8e3s4.e1f(sink, offset, endIndex);
1085
+ var bytesRead = _this__u8e3s4.i1h(sink, offset, endIndex);
1086
1086
  if (bytesRead === -1) {
1087
1087
  throw EOFException_init_$Create$_0('Source exhausted before reading ' + (endIndex - startIndex | 0) + ' bytes. ' + ('Only ' + bytesRead + ' bytes were read.'));
1088
1088
  }
@@ -1100,12 +1100,12 @@
1100
1100
  return readByteArrayImpl(_this__u8e3s4, byteCount);
1101
1101
  }
1102
1102
  function readString(_this__u8e3s4) {
1103
- _this__u8e3s4.i1e(new Long(-1, 2147483647));
1104
- return commonReadUtf8(_this__u8e3s4.f1e(), _this__u8e3s4.f1e().s());
1103
+ _this__u8e3s4.m1g(new Long(-1, 2147483647));
1104
+ return commonReadUtf8(_this__u8e3s4.j1g(), _this__u8e3s4.j1g().s());
1105
1105
  }
1106
1106
  function readString_0(_this__u8e3s4, byteCount) {
1107
- _this__u8e3s4.h1e(byteCount);
1108
- return commonReadUtf8(_this__u8e3s4.f1e(), byteCount);
1107
+ _this__u8e3s4.l1g(byteCount);
1108
+ return commonReadUtf8(_this__u8e3s4.j1g(), byteCount);
1109
1109
  }
1110
1110
  function readString_1(_this__u8e3s4) {
1111
1111
  return commonReadUtf8(_this__u8e3s4, _this__u8e3s4.s());
@@ -1114,20 +1114,20 @@
1114
1114
  if (byteCount.equals(new Long(0, 0)))
1115
1115
  return '';
1116
1116
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
1117
- var curr = _this__u8e3s4.c1e_1;
1117
+ var curr = _this__u8e3s4.g1g_1;
1118
1118
  while (!(curr == null)) {
1119
1119
  get_SegmentReadContextImpl();
1120
1120
  if (toLong(curr.s()).e1(byteCount) >= 0) {
1121
1121
  var result = '';
1122
1122
  // Inline function 'kotlinx.io.unsafe.withData' call
1123
- var tmp2 = curr.v1g(true);
1124
- var tmp3 = curr.l1e_1;
1125
- var tmp0 = curr.m1e_1;
1123
+ var tmp2 = curr.z1i(true);
1124
+ var tmp3 = curr.p1g_1;
1125
+ var tmp0 = curr.q1g_1;
1126
1126
  // Inline function 'kotlin.math.min' call
1127
1127
  var b = tmp3 + byteCount.j1() | 0;
1128
1128
  var tmp$ret$0 = Math.min(tmp0, b);
1129
1129
  result = commonToUtf8String(tmp2, tmp3, tmp$ret$0);
1130
- _this__u8e3s4.d1f(byteCount);
1130
+ _this__u8e3s4.h1h(byteCount);
1131
1131
  return result;
1132
1132
  }
1133
1133
  return commonToUtf8String(readByteArray_0(_this__u8e3s4, byteCount.j1()));
@@ -1144,7 +1144,7 @@
1144
1144
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
1145
1145
  // Inline function 'kotlinx.io.writeToInternalBuffer' call
1146
1146
  // Inline function 'kotlinx.io.commonWriteUtf8' call
1147
- var this_0 = _this__u8e3s4.f1e();
1147
+ var this_0 = _this__u8e3s4.j1g();
1148
1148
  var i = startIndex;
1149
1149
  while (i < endIndex) {
1150
1150
  var p0 = i;
@@ -1154,15 +1154,15 @@
1154
1154
  if (c < 128) {
1155
1155
  $l$block_0: {
1156
1156
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1157
- var tail = this_0.l1f(1);
1157
+ var tail = this_0.p1h(1);
1158
1158
  var ctx = get_SegmentWriteContextImpl();
1159
1159
  var segmentOffset = -i | 0;
1160
1160
  // Inline function 'kotlin.comparisons.minOf' call
1161
- var b = i + tail.q1f() | 0;
1161
+ var b = i + tail.u1h() | 0;
1162
1162
  var runLimit = Math.min(endIndex, b);
1163
1163
  var _unary__edvuaz = i;
1164
1164
  i = _unary__edvuaz + 1 | 0;
1165
- ctx.d1h(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1165
+ ctx.h1j(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
1166
1166
  $l$loop: while (i < runLimit) {
1167
1167
  var p0_0 = i;
1168
1168
  // Inline function 'kotlin.code' call
@@ -1172,89 +1172,89 @@
1172
1172
  break $l$loop;
1173
1173
  var _unary__edvuaz_0 = i;
1174
1174
  i = _unary__edvuaz_0 + 1 | 0;
1175
- ctx.d1h(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1175
+ ctx.h1j(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
1176
1176
  }
1177
1177
  var bytesWritten = i + segmentOffset | 0;
1178
1178
  if (bytesWritten === 1) {
1179
- tail.m1e_1 = tail.m1e_1 + bytesWritten | 0;
1179
+ tail.q1g_1 = tail.q1g_1 + bytesWritten | 0;
1180
1180
  var tmp = this_0;
1181
1181
  // Inline function 'kotlin.Long.plus' call
1182
- tmp.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten));
1182
+ tmp.i1g_1 = this_0.i1g_1.z2(toLong(bytesWritten));
1183
1183
  break $l$block_0;
1184
1184
  }
1185
1185
  // Inline function 'kotlin.check' call
1186
- if (!(0 <= bytesWritten ? bytesWritten <= tail.q1f() : false)) {
1187
- var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.q1f();
1186
+ if (!(0 <= bytesWritten ? bytesWritten <= tail.u1h() : false)) {
1187
+ var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.u1h();
1188
1188
  throw IllegalStateException_init_$Create$(toString(message));
1189
1189
  }
1190
1190
  if (!(bytesWritten === 0)) {
1191
- tail.m1e_1 = tail.m1e_1 + bytesWritten | 0;
1191
+ tail.q1g_1 = tail.q1g_1 + bytesWritten | 0;
1192
1192
  var tmp_0 = this_0;
1193
1193
  // Inline function 'kotlin.Long.plus' call
1194
- tmp_0.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten));
1194
+ tmp_0.i1g_1 = this_0.i1g_1.z2(toLong(bytesWritten));
1195
1195
  break $l$block_0;
1196
1196
  }
1197
1197
  if (isEmpty(tail)) {
1198
- this_0.f1g();
1198
+ this_0.j1i();
1199
1199
  }
1200
1200
  }
1201
1201
  } else if (c < 2048) {
1202
1202
  $l$block_2: {
1203
1203
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1204
- var tail_0 = this_0.l1f(2);
1205
- get_SegmentWriteContextImpl().c1h(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1204
+ var tail_0 = this_0.p1h(2);
1205
+ get_SegmentWriteContextImpl().g1j(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
1206
1206
  var bytesWritten_0 = 2;
1207
1207
  if (bytesWritten_0 === 2) {
1208
- tail_0.m1e_1 = tail_0.m1e_1 + bytesWritten_0 | 0;
1208
+ tail_0.q1g_1 = tail_0.q1g_1 + bytesWritten_0 | 0;
1209
1209
  var tmp_1 = this_0;
1210
1210
  // Inline function 'kotlin.Long.plus' call
1211
- tmp_1.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_0));
1211
+ tmp_1.i1g_1 = this_0.i1g_1.z2(toLong(bytesWritten_0));
1212
1212
  break $l$block_2;
1213
1213
  }
1214
1214
  // Inline function 'kotlin.check' call
1215
- if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.q1f() : false)) {
1216
- var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.q1f();
1215
+ if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.u1h() : false)) {
1216
+ var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.u1h();
1217
1217
  throw IllegalStateException_init_$Create$(toString(message_0));
1218
1218
  }
1219
1219
  if (!(bytesWritten_0 === 0)) {
1220
- tail_0.m1e_1 = tail_0.m1e_1 + bytesWritten_0 | 0;
1220
+ tail_0.q1g_1 = tail_0.q1g_1 + bytesWritten_0 | 0;
1221
1221
  var tmp_2 = this_0;
1222
1222
  // Inline function 'kotlin.Long.plus' call
1223
- tmp_2.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_0));
1223
+ tmp_2.i1g_1 = this_0.i1g_1.z2(toLong(bytesWritten_0));
1224
1224
  break $l$block_2;
1225
1225
  }
1226
1226
  if (isEmpty(tail_0)) {
1227
- this_0.f1g();
1227
+ this_0.j1i();
1228
1228
  }
1229
1229
  }
1230
1230
  i = i + 1 | 0;
1231
1231
  } else if (c < 55296 || c > 57343) {
1232
1232
  $l$block_4: {
1233
1233
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1234
- var tail_1 = this_0.l1f(3);
1235
- get_SegmentWriteContextImpl().b1h(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1234
+ var tail_1 = this_0.p1h(3);
1235
+ get_SegmentWriteContextImpl().f1j(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
1236
1236
  var bytesWritten_1 = 3;
1237
1237
  if (bytesWritten_1 === 3) {
1238
- tail_1.m1e_1 = tail_1.m1e_1 + bytesWritten_1 | 0;
1238
+ tail_1.q1g_1 = tail_1.q1g_1 + bytesWritten_1 | 0;
1239
1239
  var tmp_3 = this_0;
1240
1240
  // Inline function 'kotlin.Long.plus' call
1241
- tmp_3.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_1));
1241
+ tmp_3.i1g_1 = this_0.i1g_1.z2(toLong(bytesWritten_1));
1242
1242
  break $l$block_4;
1243
1243
  }
1244
1244
  // Inline function 'kotlin.check' call
1245
- if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.q1f() : false)) {
1246
- var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.q1f();
1245
+ if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.u1h() : false)) {
1246
+ var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.u1h();
1247
1247
  throw IllegalStateException_init_$Create$(toString(message_1));
1248
1248
  }
1249
1249
  if (!(bytesWritten_1 === 0)) {
1250
- tail_1.m1e_1 = tail_1.m1e_1 + bytesWritten_1 | 0;
1250
+ tail_1.q1g_1 = tail_1.q1g_1 + bytesWritten_1 | 0;
1251
1251
  var tmp_4 = this_0;
1252
1252
  // Inline function 'kotlin.Long.plus' call
1253
- tmp_4.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_1));
1253
+ tmp_4.i1g_1 = this_0.i1g_1.z2(toLong(bytesWritten_1));
1254
1254
  break $l$block_4;
1255
1255
  }
1256
1256
  if (isEmpty(tail_1)) {
1257
- this_0.f1g();
1257
+ this_0.j1i();
1258
1258
  }
1259
1259
  }
1260
1260
  i = i + 1 | 0;
@@ -1273,43 +1273,43 @@
1273
1273
  // Inline function 'kotlin.code' call
1274
1274
  var this_4 = _Char___init__impl__6a9atx(63);
1275
1275
  var tmp$ret$26 = Char__toInt_impl_vasixd(this_4);
1276
- this_0.z1f(toByte(tmp$ret$26));
1276
+ this_0.d1i(toByte(tmp$ret$26));
1277
1277
  i = i + 1 | 0;
1278
1278
  } else {
1279
1279
  var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
1280
1280
  $l$block_6: {
1281
1281
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1282
- var tail_2 = this_0.l1f(4);
1283
- get_SegmentWriteContextImpl().a1h(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1282
+ var tail_2 = this_0.p1h(4);
1283
+ get_SegmentWriteContextImpl().e1j(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1284
1284
  var bytesWritten_2 = 4;
1285
1285
  if (bytesWritten_2 === 4) {
1286
- tail_2.m1e_1 = tail_2.m1e_1 + bytesWritten_2 | 0;
1286
+ tail_2.q1g_1 = tail_2.q1g_1 + bytesWritten_2 | 0;
1287
1287
  var tmp_6 = this_0;
1288
1288
  // Inline function 'kotlin.Long.plus' call
1289
- tmp_6.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_2));
1289
+ tmp_6.i1g_1 = this_0.i1g_1.z2(toLong(bytesWritten_2));
1290
1290
  break $l$block_6;
1291
1291
  }
1292
1292
  // Inline function 'kotlin.check' call
1293
- if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.q1f() : false)) {
1294
- var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.q1f();
1293
+ if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.u1h() : false)) {
1294
+ var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.u1h();
1295
1295
  throw IllegalStateException_init_$Create$(toString(message_2));
1296
1296
  }
1297
1297
  if (!(bytesWritten_2 === 0)) {
1298
- tail_2.m1e_1 = tail_2.m1e_1 + bytesWritten_2 | 0;
1298
+ tail_2.q1g_1 = tail_2.q1g_1 + bytesWritten_2 | 0;
1299
1299
  var tmp_7 = this_0;
1300
1300
  // Inline function 'kotlin.Long.plus' call
1301
- tmp_7.e1e_1 = this_0.e1e_1.z2(toLong(bytesWritten_2));
1301
+ tmp_7.i1g_1 = this_0.i1g_1.z2(toLong(bytesWritten_2));
1302
1302
  break $l$block_6;
1303
1303
  }
1304
1304
  if (isEmpty(tail_2)) {
1305
- this_0.f1g();
1305
+ this_0.j1i();
1306
1306
  }
1307
1307
  }
1308
1308
  i = i + 2 | 0;
1309
1309
  }
1310
1310
  }
1311
1311
  }
1312
- _this__u8e3s4.v1e();
1312
+ _this__u8e3s4.z1g();
1313
1313
  }
1314
1314
  function commonToUtf8String(_this__u8e3s4, beginIndex, endIndex) {
1315
1315
  beginIndex = beginIndex === VOID ? 0 : beginIndex;
@@ -1673,27 +1673,27 @@
1673
1673
  }
1674
1674
  function SegmentReadContextImpl$1() {
1675
1675
  }
1676
- protoOf(SegmentReadContextImpl$1).d1g = function (segment, offset) {
1677
- return segment.c1f(offset);
1676
+ protoOf(SegmentReadContextImpl$1).h1i = function (segment, offset) {
1677
+ return segment.g1h(offset);
1678
1678
  };
1679
1679
  function SegmentWriteContextImpl$1() {
1680
1680
  }
1681
- protoOf(SegmentWriteContextImpl$1).d1h = function (segment, offset, value) {
1682
- segment.w1g(offset, value);
1681
+ protoOf(SegmentWriteContextImpl$1).h1j = function (segment, offset, value) {
1682
+ segment.a1j(offset, value);
1683
1683
  };
1684
- protoOf(SegmentWriteContextImpl$1).c1h = function (segment, offset, b0, b1) {
1685
- segment.x1g(offset, b0, b1);
1684
+ protoOf(SegmentWriteContextImpl$1).g1j = function (segment, offset, b0, b1) {
1685
+ segment.b1j(offset, b0, b1);
1686
1686
  };
1687
- protoOf(SegmentWriteContextImpl$1).b1h = function (segment, offset, b0, b1, b2) {
1688
- segment.y1g(offset, b0, b1, b2);
1687
+ protoOf(SegmentWriteContextImpl$1).f1j = function (segment, offset, b0, b1, b2) {
1688
+ segment.c1j(offset, b0, b1, b2);
1689
1689
  };
1690
- protoOf(SegmentWriteContextImpl$1).a1h = function (segment, offset, b0, b1, b2, b3) {
1691
- segment.z1g(offset, b0, b1, b2, b3);
1690
+ protoOf(SegmentWriteContextImpl$1).e1j = function (segment, offset, b0, b1, b2, b3) {
1691
+ segment.d1j(offset, b0, b1, b2, b3);
1692
1692
  };
1693
1693
  function BufferIterationContextImpl$1() {
1694
1694
  }
1695
- protoOf(BufferIterationContextImpl$1).d1g = function (segment, offset) {
1696
- return get_SegmentReadContextImpl().d1g(segment, offset);
1695
+ protoOf(BufferIterationContextImpl$1).h1i = function (segment, offset) {
1696
+ return get_SegmentReadContextImpl().h1i(segment, offset);
1697
1697
  };
1698
1698
  var properties_initialized_UnsafeBufferOperations_kt_2xfgoc;
1699
1699
  function _init_properties_UnsafeBufferOperations_kt__xw75gy() {
@@ -1761,15 +1761,15 @@
1761
1761
  captureStack(this, EOFException);
1762
1762
  }
1763
1763
  function SegmentPool() {
1764
- this.m1f_1 = 0;
1765
- this.n1f_1 = 0;
1764
+ this.q1h_1 = 0;
1765
+ this.r1h_1 = 0;
1766
1766
  }
1767
- protoOf(SegmentPool).o1f = function () {
1768
- return Companion_instance.r1g();
1767
+ protoOf(SegmentPool).s1h = function () {
1768
+ return Companion_instance.v1i();
1769
1769
  };
1770
- protoOf(SegmentPool).e1g = function (segment) {
1770
+ protoOf(SegmentPool).i1i = function (segment) {
1771
1771
  };
1772
- protoOf(SegmentPool).t1g = function () {
1772
+ protoOf(SegmentPool).x1i = function () {
1773
1773
  return AlwaysSharedCopyTracker_getInstance();
1774
1774
  };
1775
1775
  var SegmentPool_instance;
@@ -1777,7 +1777,7 @@
1777
1777
  return SegmentPool_instance;
1778
1778
  }
1779
1779
  //region block: post-declaration
1780
- protoOf(Buffer).s1f = write$default;
1780
+ protoOf(Buffer).w1h = write$default;
1781
1781
  //endregion
1782
1782
  //region block: init
1783
1783
  Companion_instance = new Companion();