@flock/wirespec 0.18.0-RC.1 → 0.18.1-RC.3

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 (43) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +152 -158
  3. package/arrow-arrow-core.mjs.map +1 -1
  4. package/clikt-clikt-mordant.mjs +80 -80
  5. package/clikt-clikt.mjs +1442 -1442
  6. package/clikt-clikt.mjs.map +1 -1
  7. package/colormath-root-colormath.mjs +439 -439
  8. package/kotlin-kotlin-stdlib.mjs +1072 -1136
  9. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  10. package/kotlin-openapi-bindings.mjs +4857 -4857
  11. package/kotlin-rgxgen.mjs +1793 -1793
  12. package/kotlinx-io-kotlinx-io-core.mjs +415 -415
  13. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1752 -1752
  14. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1348 -1356
  15. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  16. package/mordant-mordant.mjs +1303 -1311
  17. package/mordant-mordant.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/wirespec-fetch.mjs +13 -19
  20. package/wirespec-src-compiler-core.mjs +1526 -1526
  21. package/wirespec-src-compiler-emitters-java.mjs +477 -451
  22. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  23. package/wirespec-src-compiler-emitters-kotlin.mjs +458 -453
  24. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  25. package/wirespec-src-compiler-emitters-python.mjs +419 -418
  26. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  27. package/wirespec-src-compiler-emitters-rust.mjs +939 -725
  28. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  29. package/wirespec-src-compiler-emitters-scala.mjs +225 -233
  30. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  31. package/wirespec-src-compiler-emitters-typescript.mjs +524 -555
  32. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  33. package/wirespec-src-compiler-emitters-wirespec.mjs +81 -81
  34. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  35. package/wirespec-src-compiler-ir.mjs +3738 -3708
  36. package/wirespec-src-compiler-ir.mjs.map +1 -1
  37. package/wirespec-src-compiler-lib.mjs +418 -418
  38. package/wirespec-src-converter-avro.mjs +506 -506
  39. package/wirespec-src-converter-openapi.mjs +684 -684
  40. package/wirespec-src-plugin-arguments.mjs +181 -181
  41. package/wirespec-src-plugin-cli.mjs +106 -106
  42. package/wirespec-src-plugin-npm.mjs +36 -36
  43. package/wirespec-src-tools-generator.mjs +34 -34
@@ -65,7 +65,7 @@ initMetadataForObject(AlwaysSharedCopyTracker, 'AlwaysSharedCopyTracker', VOID,
65
65
  initMetadataForClass(FileMetadata, 'FileMetadata', FileMetadata);
66
66
  function sink$default(path, append, $super) {
67
67
  append = append === VOID ? false : append;
68
- return $super === VOID ? this.a3n(path, append) : $super.a3n.call(this, path, append);
68
+ return $super === VOID ? this.f3n(path, append) : $super.f3n.call(this, path, append);
69
69
  }
70
70
  initMetadataForInterface(FileSystem, 'FileSystem');
71
71
  initMetadataForClass(SystemFileSystemImpl, 'SystemFileSystemImpl', VOID, VOID, [FileSystem]);
@@ -111,20 +111,20 @@ function _init_properties__Util_kt__g8tcl9() {
111
111
  }
112
112
  }
113
113
  function Buffer() {
114
- this.m3k_1 = null;
115
- this.n3k_1 = null;
116
- this.o3k_1 = new Long(0, 0);
114
+ this.r3k_1 = null;
115
+ this.s3k_1 = null;
116
+ this.t3k_1 = new Long(0, 0);
117
117
  }
118
118
  protoOf(Buffer).a1 = function () {
119
- return this.o3k_1;
119
+ return this.t3k_1;
120
120
  };
121
- protoOf(Buffer).p3k = function () {
121
+ protoOf(Buffer).u3k = function () {
122
122
  return this;
123
123
  };
124
- protoOf(Buffer).q3k = function () {
124
+ protoOf(Buffer).v3k = function () {
125
125
  return equalsLong(this.a1(), new Long(0, 0));
126
126
  };
127
- protoOf(Buffer).r3k = function (byteCount) {
127
+ protoOf(Buffer).w3k = function (byteCount) {
128
128
  // Inline function 'kotlin.require' call
129
129
  if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
130
130
  var message = 'byteCount: ' + byteCount.toString();
@@ -134,7 +134,7 @@ protoOf(Buffer).r3k = function (byteCount) {
134
134
  throw EOFException_init_$Create$_0("Buffer doesn't contain required number of bytes (size: " + this.a1().toString() + ', required: ' + byteCount.toString() + ')');
135
135
  }
136
136
  };
137
- protoOf(Buffer).s3k = function (byteCount) {
137
+ protoOf(Buffer).x3k = function (byteCount) {
138
138
  // Inline function 'kotlin.require' call
139
139
  if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
140
140
  var message = 'byteCount: ' + byteCount.toString() + ' < 0';
@@ -142,26 +142,26 @@ protoOf(Buffer).s3k = function (byteCount) {
142
142
  }
143
143
  return compare(this.a1(), byteCount) >= 0;
144
144
  };
145
- protoOf(Buffer).t3k = function () {
145
+ protoOf(Buffer).y3k = function () {
146
146
  return Unit_instance;
147
147
  };
148
148
  protoOf(Buffer).z8 = function () {
149
149
  return Unit_instance;
150
150
  };
151
- protoOf(Buffer).u3k = function () {
151
+ protoOf(Buffer).z3k = function () {
152
152
  var result = this.a1();
153
153
  if (equalsLong(result, new Long(0, 0)))
154
154
  return new Long(0, 0);
155
- var tail = ensureNotNull(this.n3k_1);
156
- if (tail.x3k_1 < 8192 && tail.z3k_1) {
157
- result = subtract(result, fromInt(tail.x3k_1 - tail.w3k_1 | 0));
155
+ var tail = ensureNotNull(this.s3k_1);
156
+ if (tail.c3l_1 < 8192 && tail.e3l_1) {
157
+ result = subtract(result, fromInt(tail.c3l_1 - tail.b3l_1 | 0));
158
158
  }
159
159
  return result;
160
160
  };
161
- protoOf(Buffer).t2 = function () {
162
- return this.c3l(this.a1());
161
+ protoOf(Buffer).s2 = function () {
162
+ return this.h3l(this.a1());
163
163
  };
164
- protoOf(Buffer).c3l = function (byteCount) {
164
+ protoOf(Buffer).h3l = function (byteCount) {
165
165
  // Inline function 'kotlinx.io.checkByteCount' call
166
166
  // Inline function 'kotlin.require' call
167
167
  if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
@@ -170,7 +170,7 @@ protoOf(Buffer).c3l = function (byteCount) {
170
170
  }
171
171
  var remainingByteCount = byteCount;
172
172
  while (compare(remainingByteCount, new Long(0, 0)) > 0) {
173
- var tmp0_elvis_lhs = this.m3k_1;
173
+ var tmp0_elvis_lhs = this.r3k_1;
174
174
  var tmp;
175
175
  if (tmp0_elvis_lhs == null) {
176
176
  throw EOFException_init_$Create$_0('Buffer exhausted before skipping ' + byteCount.toString() + ' bytes.');
@@ -180,24 +180,24 @@ protoOf(Buffer).c3l = function (byteCount) {
180
180
  var head = tmp;
181
181
  var tmp0 = remainingByteCount;
182
182
  // Inline function 'kotlinx.io.minOf' call
183
- var b = head.x3k_1 - head.w3k_1 | 0;
183
+ var b = head.c3l_1 - head.b3l_1 | 0;
184
184
  // Inline function 'kotlin.comparisons.minOf' call
185
185
  var b_0 = fromInt(b);
186
186
  var tmp$ret$4 = compare(tmp0, b_0) <= 0 ? tmp0 : b_0;
187
187
  var toSkip = convertToInt(tmp$ret$4);
188
- this.o3k_1 = subtract(this.o3k_1, fromInt(toSkip));
188
+ this.t3k_1 = subtract(this.t3k_1, fromInt(toSkip));
189
189
  remainingByteCount = subtract(remainingByteCount, fromInt(toSkip));
190
- head.w3k_1 = head.w3k_1 + toSkip | 0;
191
- if (head.w3k_1 === head.x3k_1) {
192
- this.d3l();
190
+ head.b3l_1 = head.b3l_1 + toSkip | 0;
191
+ if (head.b3l_1 === head.c3l_1) {
192
+ this.i3l();
193
193
  }
194
194
  }
195
195
  };
196
- protoOf(Buffer).e3l = function (sink, startIndex, endIndex) {
196
+ protoOf(Buffer).j3l = function (sink, startIndex, endIndex) {
197
197
  // Inline function 'kotlinx.io.checkBounds' call
198
198
  var size = sink.length;
199
199
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
200
- var tmp0_elvis_lhs = this.m3k_1;
200
+ var tmp0_elvis_lhs = this.r3k_1;
201
201
  var tmp;
202
202
  if (tmp0_elvis_lhs == null) {
203
203
  return -1;
@@ -209,14 +209,14 @@ protoOf(Buffer).e3l = function (sink, startIndex, endIndex) {
209
209
  // Inline function 'kotlin.comparisons.minOf' call
210
210
  var b = s.a1();
211
211
  var toCopy = Math.min(tmp0, b);
212
- s.f3l(sink, startIndex, startIndex + toCopy | 0);
213
- this.o3k_1 = subtract(this.o3k_1, fromInt(toCopy));
212
+ s.k3l(sink, startIndex, startIndex + toCopy | 0);
213
+ this.t3k_1 = subtract(this.t3k_1, fromInt(toCopy));
214
214
  if (isEmpty(s)) {
215
- this.d3l();
215
+ this.i3l();
216
216
  }
217
217
  return toCopy;
218
218
  };
219
- protoOf(Buffer).g3l = function (sink, byteCount) {
219
+ protoOf(Buffer).l3l = function (sink, byteCount) {
220
220
  // Inline function 'kotlinx.io.checkByteCount' call
221
221
  // Inline function 'kotlin.require' call
222
222
  if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
@@ -226,90 +226,90 @@ protoOf(Buffer).g3l = function (sink, byteCount) {
226
226
  if (equalsLong(this.a1(), new Long(0, 0)))
227
227
  return new Long(-1, -1);
228
228
  var bytesWritten = compare(byteCount, this.a1()) > 0 ? this.a1() : byteCount;
229
- sink.h3l(this, bytesWritten);
229
+ sink.m3l(this, bytesWritten);
230
230
  return bytesWritten;
231
231
  };
232
- protoOf(Buffer).i3l = function (minimumCapacity) {
232
+ protoOf(Buffer).n3l = function (minimumCapacity) {
233
233
  // Inline function 'kotlin.require' call
234
234
  if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
235
235
  var message = 'unexpected capacity (' + minimumCapacity + '), should be in range [1, 8192]';
236
236
  throw IllegalArgumentException_init_$Create$(toString(message));
237
237
  }
238
- if (this.n3k_1 == null) {
239
- var result = SegmentPool_instance.l3l();
240
- this.m3k_1 = result;
241
- this.n3k_1 = result;
238
+ if (this.s3k_1 == null) {
239
+ var result = SegmentPool_instance.q3l();
240
+ this.r3k_1 = result;
241
+ this.s3k_1 = result;
242
242
  return result;
243
243
  }
244
- var t = ensureNotNull(this.n3k_1);
245
- if ((t.x3k_1 + minimumCapacity | 0) > 8192 || !t.z3k_1) {
246
- var newTail = t.m3l(SegmentPool_instance.l3l());
247
- this.n3k_1 = newTail;
244
+ var t = ensureNotNull(this.s3k_1);
245
+ if ((t.c3l_1 + minimumCapacity | 0) > 8192 || !t.e3l_1) {
246
+ var newTail = t.r3l(SegmentPool_instance.q3l());
247
+ this.s3k_1 = newTail;
248
248
  return newTail;
249
249
  }
250
250
  return t;
251
251
  };
252
- protoOf(Buffer).h3l = function (source, byteCount) {
252
+ protoOf(Buffer).m3l = function (source, byteCount) {
253
253
  // Inline function 'kotlin.require' call
254
254
  if (!!(source === this)) {
255
255
  var message = 'source == this';
256
256
  throw IllegalArgumentException_init_$Create$(toString(message));
257
257
  }
258
- checkOffsetAndCount(source.o3k_1, new Long(0, 0), byteCount);
258
+ checkOffsetAndCount(source.t3k_1, new Long(0, 0), byteCount);
259
259
  var remainingByteCount = byteCount;
260
260
  while (compare(remainingByteCount, new Long(0, 0)) > 0) {
261
- if (compare(remainingByteCount, fromInt(ensureNotNull(source.m3k_1).a1())) < 0) {
262
- var tail = this.n3k_1;
261
+ if (compare(remainingByteCount, fromInt(ensureNotNull(source.r3k_1).a1())) < 0) {
262
+ var tail = this.s3k_1;
263
263
  var tmp;
264
- if (!(tail == null) && tail.z3k_1) {
264
+ if (!(tail == null) && tail.e3l_1) {
265
265
  var tmp0 = remainingByteCount;
266
266
  // Inline function 'kotlin.Long.plus' call
267
- var other = tail.x3k_1;
267
+ var other = tail.c3l_1;
268
268
  var tmp0_0 = add(tmp0, fromInt(other));
269
269
  // Inline function 'kotlin.Long.minus' call
270
- var other_0 = tail.n3l() ? 0 : tail.w3k_1;
270
+ var other_0 = tail.s3l() ? 0 : tail.b3l_1;
271
271
  var tmp$ret$3 = subtract(tmp0_0, fromInt(other_0));
272
272
  tmp = compare(tmp$ret$3, new Long(8192, 0)) <= 0;
273
273
  } else {
274
274
  tmp = false;
275
275
  }
276
276
  if (tmp) {
277
- ensureNotNull(source.m3k_1).p3l(tail, convertToInt(remainingByteCount));
278
- source.o3k_1 = subtract(source.o3k_1, remainingByteCount);
279
- this.o3k_1 = add(this.o3k_1, remainingByteCount);
277
+ ensureNotNull(source.r3k_1).u3l(tail, convertToInt(remainingByteCount));
278
+ source.t3k_1 = subtract(source.t3k_1, remainingByteCount);
279
+ this.t3k_1 = add(this.t3k_1, remainingByteCount);
280
280
  return Unit_instance;
281
281
  } else {
282
- source.m3k_1 = ensureNotNull(source.m3k_1).o3l(convertToInt(remainingByteCount));
282
+ source.r3k_1 = ensureNotNull(source.r3k_1).t3l(convertToInt(remainingByteCount));
283
283
  }
284
284
  }
285
- var segmentToMove = ensureNotNull(source.m3k_1);
285
+ var segmentToMove = ensureNotNull(source.r3k_1);
286
286
  var movedByteCount = fromInt(segmentToMove.a1());
287
- source.m3k_1 = segmentToMove.q3l();
288
- if (source.m3k_1 == null) {
289
- source.n3k_1 = null;
287
+ source.r3k_1 = segmentToMove.v3l();
288
+ if (source.r3k_1 == null) {
289
+ source.s3k_1 = null;
290
290
  }
291
291
  // Inline function 'kotlinx.io.Buffer.pushSegment' call
292
- if (this.m3k_1 == null) {
293
- this.m3k_1 = segmentToMove;
294
- this.n3k_1 = segmentToMove;
292
+ if (this.r3k_1 == null) {
293
+ this.r3k_1 = segmentToMove;
294
+ this.s3k_1 = segmentToMove;
295
295
  } else if (true) {
296
- this.n3k_1 = ensureNotNull(this.n3k_1).m3l(segmentToMove).r3l();
297
- if (ensureNotNull(this.n3k_1).b3l_1 == null) {
298
- this.m3k_1 = this.n3k_1;
296
+ this.s3k_1 = ensureNotNull(this.s3k_1).r3l(segmentToMove).w3l();
297
+ if (ensureNotNull(this.s3k_1).g3l_1 == null) {
298
+ this.r3k_1 = this.s3k_1;
299
299
  }
300
300
  } else {
301
- this.n3k_1 = ensureNotNull(this.n3k_1).m3l(segmentToMove);
301
+ this.s3k_1 = ensureNotNull(this.s3k_1).r3l(segmentToMove);
302
302
  }
303
- source.o3k_1 = subtract(source.o3k_1, movedByteCount);
304
- this.o3k_1 = add(this.o3k_1, movedByteCount);
303
+ source.t3k_1 = subtract(source.t3k_1, movedByteCount);
304
+ this.t3k_1 = add(this.t3k_1, movedByteCount);
305
305
  remainingByteCount = subtract(remainingByteCount, movedByteCount);
306
306
  }
307
307
  };
308
- protoOf(Buffer).s3l = function (byte) {
309
- this.i3l(1).t3l(byte);
310
- this.o3k_1 = add(this.o3k_1, new Long(1, 0));
308
+ protoOf(Buffer).x3l = function (byte) {
309
+ this.n3l(1).y3l(byte);
310
+ this.t3k_1 = add(this.t3k_1, new Long(1, 0));
311
311
  };
312
- protoOf(Buffer).e4 = function () {
312
+ protoOf(Buffer).d4 = function () {
313
313
  return Unit_instance;
314
314
  };
315
315
  protoOf(Buffer).toString = function () {
@@ -325,7 +325,7 @@ protoOf(Buffer).toString = function () {
325
325
  var builder = StringBuilder_init_$Create$(imul(len, 2) + (compare(this.a1(), fromInt(maxPrintableBytes)) > 0 ? 1 : 0) | 0);
326
326
  var bytesWritten = 0;
327
327
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
328
- var curr = this.m3k_1;
328
+ var curr = this.r3k_1;
329
329
  while (!(curr == null)) {
330
330
  var tmp0 = get_SegmentReadContextImpl();
331
331
  var segment = curr;
@@ -333,7 +333,7 @@ protoOf(Buffer).toString = function () {
333
333
  while (bytesWritten < len && idx < segment.a1()) {
334
334
  var _unary__edvuaz = idx;
335
335
  idx = _unary__edvuaz + 1 | 0;
336
- var b_0 = tmp0.u3l(segment, _unary__edvuaz);
336
+ var b_0 = tmp0.z3l(segment, _unary__edvuaz);
337
337
  bytesWritten = bytesWritten + 1 | 0;
338
338
  var tmp = get_HEX_DIGIT_CHARS();
339
339
  // Inline function 'kotlinx.io.shr' call
@@ -344,36 +344,36 @@ protoOf(Buffer).toString = function () {
344
344
  var tmp$ret$3 = b_0 & 15;
345
345
  tmp_0.s(tmp_1[tmp$ret$3]);
346
346
  }
347
- curr = curr.a3l_1;
347
+ curr = curr.f3l_1;
348
348
  }
349
349
  if (compare(this.a1(), fromInt(maxPrintableBytes)) > 0) {
350
350
  builder.s(_Char___init__impl__6a9atx(8230));
351
351
  }
352
352
  return 'Buffer(size=' + this.a1().toString() + ' hex=' + builder.toString() + ')';
353
353
  };
354
- protoOf(Buffer).d3l = function () {
355
- var oldHead = ensureNotNull(this.m3k_1);
356
- var nextHead = oldHead.a3l_1;
357
- this.m3k_1 = nextHead;
354
+ protoOf(Buffer).i3l = function () {
355
+ var oldHead = ensureNotNull(this.r3k_1);
356
+ var nextHead = oldHead.f3l_1;
357
+ this.r3k_1 = nextHead;
358
358
  if (nextHead == null) {
359
- this.n3k_1 = null;
359
+ this.s3k_1 = null;
360
360
  } else {
361
- nextHead.b3l_1 = null;
361
+ nextHead.g3l_1 = null;
362
362
  }
363
- oldHead.a3l_1 = null;
364
- SegmentPool_instance.v3l(oldHead);
363
+ oldHead.f3l_1 = null;
364
+ SegmentPool_instance.a3m(oldHead);
365
365
  };
366
- protoOf(Buffer).w3l = function () {
367
- var oldTail = ensureNotNull(this.n3k_1);
368
- var newTail = oldTail.b3l_1;
369
- this.n3k_1 = newTail;
366
+ protoOf(Buffer).b3m = function () {
367
+ var oldTail = ensureNotNull(this.s3k_1);
368
+ var newTail = oldTail.g3l_1;
369
+ this.s3k_1 = newTail;
370
370
  if (newTail == null) {
371
- this.m3k_1 = null;
371
+ this.r3k_1 = null;
372
372
  } else {
373
- newTail.a3l_1 = null;
373
+ newTail.f3l_1 = null;
374
374
  }
375
- oldTail.b3l_1 = null;
376
- SegmentPool_instance.v3l(oldTail);
375
+ oldTail.g3l_1 = null;
376
+ SegmentPool_instance.a3m(oldTail);
377
377
  };
378
378
  function buffered(_this__u8e3s4) {
379
379
  return new RealSource(_this__u8e3s4);
@@ -382,17 +382,17 @@ function buffered_0(_this__u8e3s4) {
382
382
  return new RealSink(_this__u8e3s4);
383
383
  }
384
384
  function RealSink(sink) {
385
- this.x3l_1 = sink;
386
- this.y3l_1 = false;
387
- this.z3l_1 = new Buffer();
385
+ this.c3m_1 = sink;
386
+ this.d3m_1 = false;
387
+ this.e3m_1 = new Buffer();
388
388
  }
389
- protoOf(RealSink).p3k = function () {
390
- return this.z3l_1;
389
+ protoOf(RealSink).u3k = function () {
390
+ return this.e3m_1;
391
391
  };
392
- protoOf(RealSink).h3l = function (source, byteCount) {
392
+ protoOf(RealSink).m3l = function (source, byteCount) {
393
393
  // Inline function 'kotlinx.io.RealSink.checkNotClosed' call
394
394
  // Inline function 'kotlin.check' call
395
- if (!!this.y3l_1) {
395
+ if (!!this.d3m_1) {
396
396
  var message = 'Sink is closed.';
397
397
  throw IllegalStateException_init_$Create$(toString(message));
398
398
  }
@@ -401,40 +401,40 @@ protoOf(RealSink).h3l = function (source, byteCount) {
401
401
  var message_0 = 'byteCount: ' + byteCount.toString();
402
402
  throw IllegalArgumentException_init_$Create$(toString(message_0));
403
403
  }
404
- this.z3l_1.h3l(source, byteCount);
405
- this.t3k();
404
+ this.e3m_1.m3l(source, byteCount);
405
+ this.y3k();
406
406
  };
407
- protoOf(RealSink).t3k = function () {
407
+ protoOf(RealSink).y3k = function () {
408
408
  // Inline function 'kotlinx.io.RealSink.checkNotClosed' call
409
409
  // Inline function 'kotlin.check' call
410
- if (!!this.y3l_1) {
410
+ if (!!this.d3m_1) {
411
411
  var message = 'Sink is closed.';
412
412
  throw IllegalStateException_init_$Create$(toString(message));
413
413
  }
414
- var byteCount = this.z3l_1.u3k();
414
+ var byteCount = this.e3m_1.z3k();
415
415
  if (compare(byteCount, new Long(0, 0)) > 0) {
416
- this.x3l_1.h3l(this.z3l_1, byteCount);
416
+ this.c3m_1.m3l(this.e3m_1, byteCount);
417
417
  }
418
418
  };
419
419
  protoOf(RealSink).z8 = function () {
420
420
  // Inline function 'kotlinx.io.RealSink.checkNotClosed' call
421
421
  // Inline function 'kotlin.check' call
422
- if (!!this.y3l_1) {
422
+ if (!!this.d3m_1) {
423
423
  var message = 'Sink is closed.';
424
424
  throw IllegalStateException_init_$Create$(toString(message));
425
425
  }
426
- if (compare(this.z3l_1.a1(), new Long(0, 0)) > 0) {
427
- this.x3l_1.h3l(this.z3l_1, this.z3l_1.a1());
426
+ if (compare(this.e3m_1.a1(), new Long(0, 0)) > 0) {
427
+ this.c3m_1.m3l(this.e3m_1, this.e3m_1.a1());
428
428
  }
429
- this.x3l_1.z8();
429
+ this.c3m_1.z8();
430
430
  };
431
- protoOf(RealSink).e4 = function () {
432
- if (this.y3l_1)
431
+ protoOf(RealSink).d4 = function () {
432
+ if (this.d3m_1)
433
433
  return Unit_instance;
434
434
  var thrown = null;
435
435
  try {
436
- if (compare(this.z3l_1.a1(), new Long(0, 0)) > 0) {
437
- this.x3l_1.h3l(this.z3l_1, this.z3l_1.a1());
436
+ if (compare(this.e3m_1.a1(), new Long(0, 0)) > 0) {
437
+ this.c3m_1.m3l(this.e3m_1, this.e3m_1.a1());
438
438
  }
439
439
  } catch ($p) {
440
440
  if ($p instanceof Error) {
@@ -445,7 +445,7 @@ protoOf(RealSink).e4 = function () {
445
445
  }
446
446
  }
447
447
  try {
448
- this.x3l_1.e4();
448
+ this.c3m_1.d4();
449
449
  } catch ($p) {
450
450
  if ($p instanceof Error) {
451
451
  var e_0 = $p;
@@ -455,25 +455,25 @@ protoOf(RealSink).e4 = function () {
455
455
  throw $p;
456
456
  }
457
457
  }
458
- this.y3l_1 = true;
458
+ this.d3m_1 = true;
459
459
  if (!(thrown == null))
460
460
  throw thrown;
461
461
  };
462
462
  protoOf(RealSink).toString = function () {
463
- return 'buffered(' + toString(this.x3l_1) + ')';
463
+ return 'buffered(' + toString(this.c3m_1) + ')';
464
464
  };
465
465
  function RealSource(source) {
466
- this.a3m_1 = source;
467
- this.b3m_1 = false;
468
- this.c3m_1 = new Buffer();
466
+ this.f3m_1 = source;
467
+ this.g3m_1 = false;
468
+ this.h3m_1 = new Buffer();
469
469
  }
470
- protoOf(RealSource).p3k = function () {
471
- return this.c3m_1;
470
+ protoOf(RealSource).u3k = function () {
471
+ return this.h3m_1;
472
472
  };
473
- protoOf(RealSource).g3l = function (sink, byteCount) {
473
+ protoOf(RealSource).l3l = function (sink, byteCount) {
474
474
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
475
475
  // Inline function 'kotlin.check' call
476
- if (!!this.b3m_1) {
476
+ if (!!this.g3m_1) {
477
477
  var message = 'Source is closed.';
478
478
  throw IllegalStateException_init_$Create$(toString(message));
479
479
  }
@@ -482,24 +482,24 @@ protoOf(RealSource).g3l = function (sink, byteCount) {
482
482
  var message_0 = 'byteCount: ' + byteCount.toString();
483
483
  throw IllegalArgumentException_init_$Create$(toString(message_0));
484
484
  }
485
- if (equalsLong(this.c3m_1.a1(), new Long(0, 0))) {
486
- var read = this.a3m_1.g3l(this.c3m_1, new Long(8192, 0));
485
+ if (equalsLong(this.h3m_1.a1(), new Long(0, 0))) {
486
+ var read = this.f3m_1.l3l(this.h3m_1, new Long(8192, 0));
487
487
  if (equalsLong(read, new Long(-1, -1)))
488
488
  return new Long(-1, -1);
489
489
  }
490
490
  // Inline function 'kotlin.comparisons.minOf' call
491
- var b = this.c3m_1.a1();
491
+ var b = this.h3m_1.a1();
492
492
  var toRead = compare(byteCount, b) <= 0 ? byteCount : b;
493
- return this.c3m_1.g3l(sink, toRead);
493
+ return this.h3m_1.l3l(sink, toRead);
494
494
  };
495
- protoOf(RealSource).r3k = function (byteCount) {
496
- if (!this.s3k(byteCount))
495
+ protoOf(RealSource).w3k = function (byteCount) {
496
+ if (!this.x3k(byteCount))
497
497
  throw EOFException_init_$Create$_0("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
498
498
  };
499
- protoOf(RealSource).s3k = function (byteCount) {
499
+ protoOf(RealSource).x3k = function (byteCount) {
500
500
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
501
501
  // Inline function 'kotlin.check' call
502
- if (!!this.b3m_1) {
502
+ if (!!this.g3m_1) {
503
503
  var message = 'Source is closed.';
504
504
  throw IllegalStateException_init_$Create$(toString(message));
505
505
  }
@@ -508,45 +508,45 @@ protoOf(RealSource).s3k = function (byteCount) {
508
508
  var message_0 = 'byteCount: ' + byteCount.toString();
509
509
  throw IllegalArgumentException_init_$Create$(toString(message_0));
510
510
  }
511
- while (compare(this.c3m_1.a1(), byteCount) < 0) {
512
- if (equalsLong(this.a3m_1.g3l(this.c3m_1, new Long(8192, 0)), new Long(-1, -1)))
511
+ while (compare(this.h3m_1.a1(), byteCount) < 0) {
512
+ if (equalsLong(this.f3m_1.l3l(this.h3m_1, new Long(8192, 0)), new Long(-1, -1)))
513
513
  return false;
514
514
  }
515
515
  return true;
516
516
  };
517
- protoOf(RealSource).e3l = function (sink, startIndex, endIndex) {
517
+ protoOf(RealSource).j3l = function (sink, startIndex, endIndex) {
518
518
  // Inline function 'kotlinx.io.checkBounds' call
519
519
  var size = sink.length;
520
520
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
521
- if (equalsLong(this.c3m_1.a1(), new Long(0, 0))) {
522
- var read = this.a3m_1.g3l(this.c3m_1, new Long(8192, 0));
521
+ if (equalsLong(this.h3m_1.a1(), new Long(0, 0))) {
522
+ var read = this.f3m_1.l3l(this.h3m_1, new Long(8192, 0));
523
523
  if (equalsLong(read, new Long(-1, -1)))
524
524
  return -1;
525
525
  }
526
526
  var tmp0 = endIndex - startIndex | 0;
527
527
  // Inline function 'kotlinx.io.minOf' call
528
- var b = this.c3m_1.a1();
528
+ var b = this.h3m_1.a1();
529
529
  // Inline function 'kotlin.comparisons.minOf' call
530
530
  var a = fromInt(tmp0);
531
531
  var tmp$ret$2 = compare(a, b) <= 0 ? a : b;
532
532
  var toRead = convertToInt(tmp$ret$2);
533
- return this.c3m_1.e3l(sink, startIndex, startIndex + toRead | 0);
533
+ return this.h3m_1.j3l(sink, startIndex, startIndex + toRead | 0);
534
534
  };
535
- protoOf(RealSource).e4 = function () {
536
- if (this.b3m_1)
535
+ protoOf(RealSource).d4 = function () {
536
+ if (this.g3m_1)
537
537
  return Unit_instance;
538
- this.b3m_1 = true;
539
- this.a3m_1.e4();
540
- this.c3m_1.t2();
538
+ this.g3m_1 = true;
539
+ this.f3m_1.d4();
540
+ this.h3m_1.s2();
541
541
  };
542
542
  protoOf(RealSource).toString = function () {
543
- return 'buffered(' + toString(this.a3m_1) + ')';
543
+ return 'buffered(' + toString(this.f3m_1) + ')';
544
544
  };
545
545
  function Segment_init_$Init$($this) {
546
546
  Segment.call($this);
547
- $this.v3k_1 = new Int8Array(8192);
548
- $this.z3k_1 = true;
549
- $this.y3k_1 = null;
547
+ $this.a3l_1 = new Int8Array(8192);
548
+ $this.e3l_1 = true;
549
+ $this.d3l_1 = null;
550
550
  return $this;
551
551
  }
552
552
  function Segment_init_$Create$() {
@@ -554,87 +554,87 @@ function Segment_init_$Create$() {
554
554
  }
555
555
  function Segment_init_$Init$_0(data, pos, limit, shareToken, owner, $this) {
556
556
  Segment.call($this);
557
- $this.v3k_1 = data;
558
- $this.w3k_1 = pos;
559
- $this.x3k_1 = limit;
560
- $this.y3k_1 = shareToken;
561
- $this.z3k_1 = owner;
557
+ $this.a3l_1 = data;
558
+ $this.b3l_1 = pos;
559
+ $this.c3l_1 = limit;
560
+ $this.d3l_1 = shareToken;
561
+ $this.e3l_1 = owner;
562
562
  return $this;
563
563
  }
564
564
  function Segment_init_$Create$_0(data, pos, limit, shareToken, owner) {
565
565
  return Segment_init_$Init$_0(data, pos, limit, shareToken, owner, objectCreate(protoOf(Segment)));
566
566
  }
567
567
  function Companion() {
568
- this.d3m_1 = 8192;
569
- this.e3m_1 = 1024;
568
+ this.i3m_1 = 8192;
569
+ this.j3m_1 = 1024;
570
570
  }
571
- protoOf(Companion).f3m = function () {
571
+ protoOf(Companion).k3m = function () {
572
572
  return Segment_init_$Create$();
573
573
  };
574
574
  var Companion_instance;
575
575
  function Companion_getInstance() {
576
576
  return Companion_instance;
577
577
  }
578
- protoOf(Segment).n3l = function () {
579
- var tmp1_safe_receiver = this.y3k_1;
580
- var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u1v();
578
+ protoOf(Segment).s3l = function () {
579
+ var tmp1_safe_receiver = this.d3l_1;
580
+ var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.t1v();
581
581
  return tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
582
582
  };
583
- protoOf(Segment).g3m = function () {
584
- var tmp0_elvis_lhs = this.y3k_1;
583
+ protoOf(Segment).l3m = function () {
584
+ var tmp0_elvis_lhs = this.d3l_1;
585
585
  var tmp;
586
586
  if (tmp0_elvis_lhs == null) {
587
587
  // Inline function 'kotlin.also' call
588
- var this_0 = SegmentPool_instance.h3m();
589
- this.y3k_1 = this_0;
588
+ var this_0 = SegmentPool_instance.m3m();
589
+ this.d3l_1 = this_0;
590
590
  tmp = this_0;
591
591
  } else {
592
592
  tmp = tmp0_elvis_lhs;
593
593
  }
594
594
  var t = tmp;
595
- var tmp_0 = this.w3k_1;
596
- var tmp_1 = this.x3k_1;
595
+ var tmp_0 = this.b3l_1;
596
+ var tmp_1 = this.c3l_1;
597
597
  // Inline function 'kotlin.also' call
598
- t.i3m();
599
- return Segment_init_$Create$_0(this.v3k_1, tmp_0, tmp_1, t, false);
598
+ t.n3m();
599
+ return Segment_init_$Create$_0(this.a3l_1, tmp_0, tmp_1, t, false);
600
600
  };
601
- protoOf(Segment).q3l = function () {
602
- var result = this.a3l_1;
603
- if (!(this.b3l_1 == null)) {
604
- ensureNotNull(this.b3l_1).a3l_1 = this.a3l_1;
601
+ protoOf(Segment).v3l = function () {
602
+ var result = this.f3l_1;
603
+ if (!(this.g3l_1 == null)) {
604
+ ensureNotNull(this.g3l_1).f3l_1 = this.f3l_1;
605
605
  }
606
- if (!(this.a3l_1 == null)) {
607
- ensureNotNull(this.a3l_1).b3l_1 = this.b3l_1;
606
+ if (!(this.f3l_1 == null)) {
607
+ ensureNotNull(this.f3l_1).g3l_1 = this.g3l_1;
608
608
  }
609
- this.a3l_1 = null;
610
- this.b3l_1 = null;
609
+ this.f3l_1 = null;
610
+ this.g3l_1 = null;
611
611
  return result;
612
612
  };
613
- protoOf(Segment).m3l = function (segment) {
614
- segment.b3l_1 = this;
615
- segment.a3l_1 = this.a3l_1;
616
- if (!(this.a3l_1 == null)) {
617
- ensureNotNull(this.a3l_1).b3l_1 = segment;
613
+ protoOf(Segment).r3l = function (segment) {
614
+ segment.g3l_1 = this;
615
+ segment.f3l_1 = this.f3l_1;
616
+ if (!(this.f3l_1 == null)) {
617
+ ensureNotNull(this.f3l_1).g3l_1 = segment;
618
618
  }
619
- this.a3l_1 = segment;
619
+ this.f3l_1 = segment;
620
620
  return segment;
621
621
  };
622
- protoOf(Segment).o3l = function (byteCount) {
622
+ protoOf(Segment).t3l = function (byteCount) {
623
623
  // Inline function 'kotlin.require' call
624
- if (!(byteCount > 0 && byteCount <= (this.x3k_1 - this.w3k_1 | 0))) {
624
+ if (!(byteCount > 0 && byteCount <= (this.c3l_1 - this.b3l_1 | 0))) {
625
625
  var message = 'byteCount out of range';
626
626
  throw IllegalArgumentException_init_$Create$(toString(message));
627
627
  }
628
628
  var prefix;
629
629
  if (byteCount >= 1024) {
630
- prefix = this.g3m();
630
+ prefix = this.l3m();
631
631
  } else {
632
- prefix = SegmentPool_instance.l3l();
633
- var tmp0 = this.v3k_1;
634
- var tmp2 = prefix.v3k_1;
635
- var tmp5 = this.w3k_1;
632
+ prefix = SegmentPool_instance.q3l();
633
+ var tmp0 = this.a3l_1;
634
+ var tmp2 = prefix.a3l_1;
635
+ var tmp5 = this.b3l_1;
636
636
  // Inline function 'kotlin.collections.copyInto' call
637
- var endIndex = this.w3k_1 + byteCount | 0;
637
+ var endIndex = this.b3l_1 + byteCount | 0;
638
638
  // Inline function 'kotlin.js.unsafeCast' call
639
639
  // Inline function 'kotlin.js.asDynamic' call
640
640
  var tmp = tmp0;
@@ -642,149 +642,149 @@ protoOf(Segment).o3l = function (byteCount) {
642
642
  // Inline function 'kotlin.js.asDynamic' call
643
643
  arrayCopy(tmp, tmp2, 0, tmp5, endIndex);
644
644
  }
645
- prefix.x3k_1 = prefix.w3k_1 + byteCount | 0;
646
- this.w3k_1 = this.w3k_1 + byteCount | 0;
647
- if (!(this.b3l_1 == null)) {
648
- ensureNotNull(this.b3l_1).m3l(prefix);
645
+ prefix.c3l_1 = prefix.b3l_1 + byteCount | 0;
646
+ this.b3l_1 = this.b3l_1 + byteCount | 0;
647
+ if (!(this.g3l_1 == null)) {
648
+ ensureNotNull(this.g3l_1).r3l(prefix);
649
649
  } else {
650
- prefix.a3l_1 = this;
651
- this.b3l_1 = prefix;
650
+ prefix.f3l_1 = this;
651
+ this.g3l_1 = prefix;
652
652
  }
653
653
  return prefix;
654
654
  };
655
- protoOf(Segment).r3l = function () {
655
+ protoOf(Segment).w3l = function () {
656
656
  // Inline function 'kotlin.check' call
657
- if (!!(this.b3l_1 == null)) {
657
+ if (!!(this.g3l_1 == null)) {
658
658
  var message = 'cannot compact';
659
659
  throw IllegalStateException_init_$Create$(toString(message));
660
660
  }
661
- if (!ensureNotNull(this.b3l_1).z3k_1)
661
+ if (!ensureNotNull(this.g3l_1).e3l_1)
662
662
  return this;
663
- var byteCount = this.x3k_1 - this.w3k_1 | 0;
664
- var availableByteCount = (8192 - ensureNotNull(this.b3l_1).x3k_1 | 0) + (ensureNotNull(this.b3l_1).n3l() ? 0 : ensureNotNull(this.b3l_1).w3k_1) | 0;
663
+ var byteCount = this.c3l_1 - this.b3l_1 | 0;
664
+ var availableByteCount = (8192 - ensureNotNull(this.g3l_1).c3l_1 | 0) + (ensureNotNull(this.g3l_1).s3l() ? 0 : ensureNotNull(this.g3l_1).b3l_1) | 0;
665
665
  if (byteCount > availableByteCount)
666
666
  return this;
667
- var predecessor = this.b3l_1;
668
- this.p3l(ensureNotNull(predecessor), byteCount);
669
- var successor = this.q3l();
667
+ var predecessor = this.g3l_1;
668
+ this.u3l(ensureNotNull(predecessor), byteCount);
669
+ var successor = this.v3l();
670
670
  // Inline function 'kotlin.check' call
671
671
  if (!(successor == null)) {
672
672
  throw IllegalStateException_init_$Create$('Check failed.');
673
673
  }
674
- SegmentPool_instance.v3l(this);
674
+ SegmentPool_instance.a3m(this);
675
675
  return predecessor;
676
676
  };
677
- protoOf(Segment).t3l = function (byte) {
678
- var _unary__edvuaz = this.x3k_1;
679
- this.x3k_1 = _unary__edvuaz + 1 | 0;
680
- this.v3k_1[_unary__edvuaz] = byte;
677
+ protoOf(Segment).y3l = function (byte) {
678
+ var _unary__edvuaz = this.c3l_1;
679
+ this.c3l_1 = _unary__edvuaz + 1 | 0;
680
+ this.a3l_1[_unary__edvuaz] = byte;
681
681
  };
682
- protoOf(Segment).p3l = function (sink, byteCount) {
682
+ protoOf(Segment).u3l = function (sink, byteCount) {
683
683
  // Inline function 'kotlin.check' call
684
- if (!sink.z3k_1) {
684
+ if (!sink.e3l_1) {
685
685
  var message = 'only owner can write';
686
686
  throw IllegalStateException_init_$Create$(toString(message));
687
687
  }
688
- if ((sink.x3k_1 + byteCount | 0) > 8192) {
689
- if (sink.n3l())
688
+ if ((sink.c3l_1 + byteCount | 0) > 8192) {
689
+ if (sink.s3l())
690
690
  throw IllegalArgumentException_init_$Create$_0();
691
- if (((sink.x3k_1 + byteCount | 0) - sink.w3k_1 | 0) > 8192)
691
+ if (((sink.c3l_1 + byteCount | 0) - sink.b3l_1 | 0) > 8192)
692
692
  throw IllegalArgumentException_init_$Create$_0();
693
- var tmp0 = sink.v3k_1;
694
- var tmp2 = sink.v3k_1;
695
- var tmp5 = sink.w3k_1;
693
+ var tmp0 = sink.a3l_1;
694
+ var tmp2 = sink.a3l_1;
695
+ var tmp5 = sink.b3l_1;
696
696
  // Inline function 'kotlin.collections.copyInto' call
697
- var endIndex = sink.x3k_1;
697
+ var endIndex = sink.c3l_1;
698
698
  // Inline function 'kotlin.js.unsafeCast' call
699
699
  // Inline function 'kotlin.js.asDynamic' call
700
700
  var tmp = tmp0;
701
701
  // Inline function 'kotlin.js.unsafeCast' call
702
702
  // Inline function 'kotlin.js.asDynamic' call
703
703
  arrayCopy(tmp, tmp2, 0, tmp5, endIndex);
704
- sink.x3k_1 = sink.x3k_1 - sink.w3k_1 | 0;
705
- sink.w3k_1 = 0;
704
+ sink.c3l_1 = sink.c3l_1 - sink.b3l_1 | 0;
705
+ sink.b3l_1 = 0;
706
706
  }
707
- var tmp0_0 = this.v3k_1;
708
- var tmp2_0 = sink.v3k_1;
709
- var tmp4 = sink.x3k_1;
710
- var tmp6 = this.w3k_1;
707
+ var tmp0_0 = this.a3l_1;
708
+ var tmp2_0 = sink.a3l_1;
709
+ var tmp4 = sink.c3l_1;
710
+ var tmp6 = this.b3l_1;
711
711
  // Inline function 'kotlin.collections.copyInto' call
712
- var endIndex_0 = this.w3k_1 + byteCount | 0;
712
+ var endIndex_0 = this.b3l_1 + byteCount | 0;
713
713
  // Inline function 'kotlin.js.unsafeCast' call
714
714
  // Inline function 'kotlin.js.asDynamic' call
715
715
  var tmp_0 = tmp0_0;
716
716
  // Inline function 'kotlin.js.unsafeCast' call
717
717
  // Inline function 'kotlin.js.asDynamic' call
718
718
  arrayCopy(tmp_0, tmp2_0, tmp4, tmp6, endIndex_0);
719
- sink.x3k_1 = sink.x3k_1 + byteCount | 0;
720
- this.w3k_1 = this.w3k_1 + byteCount | 0;
719
+ sink.c3l_1 = sink.c3l_1 + byteCount | 0;
720
+ this.b3l_1 = this.b3l_1 + byteCount | 0;
721
721
  };
722
- protoOf(Segment).f3l = function (dst, dstStartOffset, dstEndOffset) {
722
+ protoOf(Segment).k3l = function (dst, dstStartOffset, dstEndOffset) {
723
723
  var len = dstEndOffset - dstStartOffset | 0;
724
- var tmp0 = this.v3k_1;
725
- var tmp6 = this.w3k_1;
724
+ var tmp0 = this.a3l_1;
725
+ var tmp6 = this.b3l_1;
726
726
  // Inline function 'kotlin.collections.copyInto' call
727
- var endIndex = this.w3k_1 + len | 0;
727
+ var endIndex = this.b3l_1 + len | 0;
728
728
  // Inline function 'kotlin.js.unsafeCast' call
729
729
  // Inline function 'kotlin.js.asDynamic' call
730
730
  var tmp = tmp0;
731
731
  // Inline function 'kotlin.js.unsafeCast' call
732
732
  // Inline function 'kotlin.js.asDynamic' call
733
733
  arrayCopy(tmp, dst, dstStartOffset, tmp6, endIndex);
734
- this.w3k_1 = this.w3k_1 + len | 0;
734
+ this.b3l_1 = this.b3l_1 + len | 0;
735
735
  };
736
736
  protoOf(Segment).a1 = function () {
737
- return this.x3k_1 - this.w3k_1 | 0;
737
+ return this.c3l_1 - this.b3l_1 | 0;
738
738
  };
739
- protoOf(Segment).j3m = function () {
740
- return this.v3k_1.length - this.x3k_1 | 0;
739
+ protoOf(Segment).o3m = function () {
740
+ return this.a3l_1.length - this.c3l_1 | 0;
741
741
  };
742
- protoOf(Segment).k3m = function (readOnly) {
743
- return this.v3k_1;
742
+ protoOf(Segment).p3m = function (readOnly) {
743
+ return this.a3l_1;
744
744
  };
745
- protoOf(Segment).l3m = function (index) {
746
- return this.v3k_1[this.w3k_1 + index | 0];
745
+ protoOf(Segment).q3m = function (index) {
746
+ return this.a3l_1[this.b3l_1 + index | 0];
747
747
  };
748
- protoOf(Segment).m3m = function (index, value) {
749
- this.v3k_1[this.x3k_1 + index | 0] = value;
748
+ protoOf(Segment).r3m = function (index, value) {
749
+ this.a3l_1[this.c3l_1 + index | 0] = value;
750
750
  };
751
- protoOf(Segment).n3m = function (index, b0, b1) {
752
- var d = this.v3k_1;
753
- var l = this.x3k_1;
751
+ protoOf(Segment).s3m = function (index, b0, b1) {
752
+ var d = this.a3l_1;
753
+ var l = this.c3l_1;
754
754
  d[l + index | 0] = b0;
755
755
  d[(l + index | 0) + 1 | 0] = b1;
756
756
  };
757
- protoOf(Segment).o3m = function (index, b0, b1, b2) {
758
- var d = this.v3k_1;
759
- var l = this.x3k_1;
757
+ protoOf(Segment).t3m = function (index, b0, b1, b2) {
758
+ var d = this.a3l_1;
759
+ var l = this.c3l_1;
760
760
  d[l + index | 0] = b0;
761
761
  d[(l + index | 0) + 1 | 0] = b1;
762
762
  d[(l + index | 0) + 2 | 0] = b2;
763
763
  };
764
- protoOf(Segment).p3m = function (index, b0, b1, b2, b3) {
765
- var d = this.v3k_1;
766
- var l = this.x3k_1;
764
+ protoOf(Segment).u3m = function (index, b0, b1, b2, b3) {
765
+ var d = this.a3l_1;
766
+ var l = this.c3l_1;
767
767
  d[l + index | 0] = b0;
768
768
  d[(l + index | 0) + 1 | 0] = b1;
769
769
  d[(l + index | 0) + 2 | 0] = b2;
770
770
  d[(l + index | 0) + 3 | 0] = b3;
771
771
  };
772
772
  function Segment() {
773
- this.w3k_1 = 0;
774
- this.x3k_1 = 0;
775
- this.y3k_1 = null;
776
- this.z3k_1 = false;
777
- this.a3l_1 = null;
778
- this.b3l_1 = null;
773
+ this.b3l_1 = 0;
774
+ this.c3l_1 = 0;
775
+ this.d3l_1 = null;
776
+ this.e3l_1 = false;
777
+ this.f3l_1 = null;
778
+ this.g3l_1 = null;
779
779
  }
780
780
  function AlwaysSharedCopyTracker() {
781
781
  AlwaysSharedCopyTracker_instance = this;
782
782
  SegmentCopyTracker.call(this);
783
783
  }
784
- protoOf(AlwaysSharedCopyTracker).u1v = function () {
784
+ protoOf(AlwaysSharedCopyTracker).t1v = function () {
785
785
  return true;
786
786
  };
787
- protoOf(AlwaysSharedCopyTracker).i3m = function () {
787
+ protoOf(AlwaysSharedCopyTracker).n3m = function () {
788
788
  return Unit_instance;
789
789
  };
790
790
  var AlwaysSharedCopyTracker_instance;
@@ -812,22 +812,22 @@ function readByteArrayImpl(_this__u8e3s4, size) {
812
812
  var arraySize = size;
813
813
  if (size === -1) {
814
814
  var fetchSize = new Long(2147483647, 0);
815
- while (compare(_this__u8e3s4.p3k().a1(), new Long(2147483647, 0)) < 0 && _this__u8e3s4.s3k(fetchSize)) {
815
+ while (compare(_this__u8e3s4.u3k().a1(), new Long(2147483647, 0)) < 0 && _this__u8e3s4.x3k(fetchSize)) {
816
816
  // Inline function 'kotlin.Long.times' call
817
817
  var this_0 = fetchSize;
818
818
  fetchSize = multiply(this_0, fromInt(2));
819
819
  }
820
820
  // Inline function 'kotlin.check' call
821
- if (!(compare(_this__u8e3s4.p3k().a1(), new Long(2147483647, 0)) < 0)) {
822
- var message = "Can't create an array of size " + _this__u8e3s4.p3k().a1().toString();
821
+ if (!(compare(_this__u8e3s4.u3k().a1(), new Long(2147483647, 0)) < 0)) {
822
+ var message = "Can't create an array of size " + _this__u8e3s4.u3k().a1().toString();
823
823
  throw IllegalStateException_init_$Create$(toString(message));
824
824
  }
825
- arraySize = convertToInt(_this__u8e3s4.p3k().a1());
825
+ arraySize = convertToInt(_this__u8e3s4.u3k().a1());
826
826
  } else {
827
- _this__u8e3s4.r3k(fromInt(size));
827
+ _this__u8e3s4.w3k(fromInt(size));
828
828
  }
829
829
  var array = new Int8Array(arraySize);
830
- readTo(_this__u8e3s4.p3k(), array);
830
+ readTo(_this__u8e3s4.u3k(), array);
831
831
  return array;
832
832
  }
833
833
  function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
@@ -838,7 +838,7 @@ function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
838
838
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
839
839
  var offset = startIndex;
840
840
  while (offset < endIndex) {
841
- var bytesRead = _this__u8e3s4.e3l(sink, offset, endIndex);
841
+ var bytesRead = _this__u8e3s4.j3l(sink, offset, endIndex);
842
842
  if (bytesRead === -1) {
843
843
  throw EOFException_init_$Create$_0('Source exhausted before reading ' + (endIndex - startIndex | 0) + ' bytes. ' + ('Only ' + bytesRead + ' bytes were read.'));
844
844
  }
@@ -846,8 +846,8 @@ function readTo(_this__u8e3s4, sink, startIndex, endIndex) {
846
846
  }
847
847
  }
848
848
  function readString(_this__u8e3s4) {
849
- _this__u8e3s4.s3k(new Long(-1, 2147483647));
850
- return commonReadUtf8(_this__u8e3s4.p3k(), _this__u8e3s4.p3k().a1());
849
+ _this__u8e3s4.x3k(new Long(-1, 2147483647));
850
+ return commonReadUtf8(_this__u8e3s4.u3k(), _this__u8e3s4.u3k().a1());
851
851
  }
852
852
  function writeString(_this__u8e3s4, string, startIndex, endIndex) {
853
853
  startIndex = startIndex === VOID ? 0 : startIndex;
@@ -857,7 +857,7 @@ function writeString(_this__u8e3s4, string, startIndex, endIndex) {
857
857
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
858
858
  // Inline function 'kotlinx.io.writeToInternalBuffer' call
859
859
  // Inline function 'kotlinx.io.commonWriteUtf8' call
860
- var this_0 = _this__u8e3s4.p3k();
860
+ var this_0 = _this__u8e3s4.u3k();
861
861
  var i = startIndex;
862
862
  while (i < endIndex) {
863
863
  var p0 = i;
@@ -867,15 +867,15 @@ function writeString(_this__u8e3s4, string, startIndex, endIndex) {
867
867
  if (c < 128) {
868
868
  $l$block_0: {
869
869
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
870
- var tail = this_0.i3l(1);
870
+ var tail = this_0.n3l(1);
871
871
  var ctx = get_SegmentWriteContextImpl();
872
872
  var segmentOffset = -i | 0;
873
873
  // Inline function 'kotlin.comparisons.minOf' call
874
- var b = i + tail.j3m() | 0;
874
+ var b = i + tail.o3m() | 0;
875
875
  var runLimit = Math.min(endIndex, b);
876
876
  var _unary__edvuaz = i;
877
877
  i = _unary__edvuaz + 1 | 0;
878
- ctx.t3m(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
878
+ ctx.y3m(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
879
879
  $l$loop: while (i < runLimit) {
880
880
  var p0_0 = i;
881
881
  // Inline function 'kotlin.code' call
@@ -885,95 +885,95 @@ function writeString(_this__u8e3s4, string, startIndex, endIndex) {
885
885
  break $l$loop;
886
886
  var _unary__edvuaz_0 = i;
887
887
  i = _unary__edvuaz_0 + 1 | 0;
888
- ctx.t3m(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
888
+ ctx.y3m(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
889
889
  }
890
890
  var bytesWritten = i + segmentOffset | 0;
891
891
  if (bytesWritten === 1) {
892
- tail.x3k_1 = tail.x3k_1 + bytesWritten | 0;
892
+ tail.c3l_1 = tail.c3l_1 + bytesWritten | 0;
893
893
  var tmp = this_0;
894
894
  // Inline function 'kotlin.Long.plus' call
895
- var this_3 = this_0.o3k_1;
896
- tmp.o3k_1 = add(this_3, fromInt(bytesWritten));
895
+ var this_3 = this_0.t3k_1;
896
+ tmp.t3k_1 = add(this_3, fromInt(bytesWritten));
897
897
  break $l$block_0;
898
898
  }
899
899
  // Inline function 'kotlin.check' call
900
- if (!(0 <= bytesWritten ? bytesWritten <= tail.j3m() : false)) {
901
- var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.j3m();
900
+ if (!(0 <= bytesWritten ? bytesWritten <= tail.o3m() : false)) {
901
+ var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.o3m();
902
902
  throw IllegalStateException_init_$Create$(toString(message));
903
903
  }
904
904
  if (!(bytesWritten === 0)) {
905
- tail.x3k_1 = tail.x3k_1 + bytesWritten | 0;
905
+ tail.c3l_1 = tail.c3l_1 + bytesWritten | 0;
906
906
  var tmp_0 = this_0;
907
907
  // Inline function 'kotlin.Long.plus' call
908
- var this_4 = this_0.o3k_1;
909
- tmp_0.o3k_1 = add(this_4, fromInt(bytesWritten));
908
+ var this_4 = this_0.t3k_1;
909
+ tmp_0.t3k_1 = add(this_4, fromInt(bytesWritten));
910
910
  break $l$block_0;
911
911
  }
912
912
  if (isEmpty(tail)) {
913
- this_0.w3l();
913
+ this_0.b3m();
914
914
  }
915
915
  }
916
916
  } else if (c < 2048) {
917
917
  $l$block_2: {
918
918
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
919
- var tail_0 = this_0.i3l(2);
920
- get_SegmentWriteContextImpl().s3m(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
919
+ var tail_0 = this_0.n3l(2);
920
+ get_SegmentWriteContextImpl().x3m(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
921
921
  var bytesWritten_0 = 2;
922
922
  if (bytesWritten_0 === 2) {
923
- tail_0.x3k_1 = tail_0.x3k_1 + bytesWritten_0 | 0;
923
+ tail_0.c3l_1 = tail_0.c3l_1 + bytesWritten_0 | 0;
924
924
  var tmp_1 = this_0;
925
925
  // Inline function 'kotlin.Long.plus' call
926
- var this_5 = this_0.o3k_1;
927
- tmp_1.o3k_1 = add(this_5, fromInt(bytesWritten_0));
926
+ var this_5 = this_0.t3k_1;
927
+ tmp_1.t3k_1 = add(this_5, fromInt(bytesWritten_0));
928
928
  break $l$block_2;
929
929
  }
930
930
  // Inline function 'kotlin.check' call
931
- if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.j3m() : false)) {
932
- var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.j3m();
931
+ if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.o3m() : false)) {
932
+ var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.o3m();
933
933
  throw IllegalStateException_init_$Create$(toString(message_0));
934
934
  }
935
935
  if (!(bytesWritten_0 === 0)) {
936
- tail_0.x3k_1 = tail_0.x3k_1 + bytesWritten_0 | 0;
936
+ tail_0.c3l_1 = tail_0.c3l_1 + bytesWritten_0 | 0;
937
937
  var tmp_2 = this_0;
938
938
  // Inline function 'kotlin.Long.plus' call
939
- var this_6 = this_0.o3k_1;
940
- tmp_2.o3k_1 = add(this_6, fromInt(bytesWritten_0));
939
+ var this_6 = this_0.t3k_1;
940
+ tmp_2.t3k_1 = add(this_6, fromInt(bytesWritten_0));
941
941
  break $l$block_2;
942
942
  }
943
943
  if (isEmpty(tail_0)) {
944
- this_0.w3l();
944
+ this_0.b3m();
945
945
  }
946
946
  }
947
947
  i = i + 1 | 0;
948
948
  } else if (c < 55296 || c > 57343) {
949
949
  $l$block_4: {
950
950
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
951
- var tail_1 = this_0.i3l(3);
952
- get_SegmentWriteContextImpl().r3m(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
951
+ var tail_1 = this_0.n3l(3);
952
+ get_SegmentWriteContextImpl().w3m(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
953
953
  var bytesWritten_1 = 3;
954
954
  if (bytesWritten_1 === 3) {
955
- tail_1.x3k_1 = tail_1.x3k_1 + bytesWritten_1 | 0;
955
+ tail_1.c3l_1 = tail_1.c3l_1 + bytesWritten_1 | 0;
956
956
  var tmp_3 = this_0;
957
957
  // Inline function 'kotlin.Long.plus' call
958
- var this_7 = this_0.o3k_1;
959
- tmp_3.o3k_1 = add(this_7, fromInt(bytesWritten_1));
958
+ var this_7 = this_0.t3k_1;
959
+ tmp_3.t3k_1 = add(this_7, fromInt(bytesWritten_1));
960
960
  break $l$block_4;
961
961
  }
962
962
  // Inline function 'kotlin.check' call
963
- if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.j3m() : false)) {
964
- var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.j3m();
963
+ if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.o3m() : false)) {
964
+ var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.o3m();
965
965
  throw IllegalStateException_init_$Create$(toString(message_1));
966
966
  }
967
967
  if (!(bytesWritten_1 === 0)) {
968
- tail_1.x3k_1 = tail_1.x3k_1 + bytesWritten_1 | 0;
968
+ tail_1.c3l_1 = tail_1.c3l_1 + bytesWritten_1 | 0;
969
969
  var tmp_4 = this_0;
970
970
  // Inline function 'kotlin.Long.plus' call
971
- var this_8 = this_0.o3k_1;
972
- tmp_4.o3k_1 = add(this_8, fromInt(bytesWritten_1));
971
+ var this_8 = this_0.t3k_1;
972
+ tmp_4.t3k_1 = add(this_8, fromInt(bytesWritten_1));
973
973
  break $l$block_4;
974
974
  }
975
975
  if (isEmpty(tail_1)) {
976
- this_0.w3l();
976
+ this_0.b3m();
977
977
  }
978
978
  }
979
979
  i = i + 1 | 0;
@@ -992,64 +992,64 @@ function writeString(_this__u8e3s4, string, startIndex, endIndex) {
992
992
  // Inline function 'kotlin.code' call
993
993
  var this_10 = _Char___init__impl__6a9atx(63);
994
994
  var tmp$ret$26 = Char__toInt_impl_vasixd(this_10);
995
- this_0.s3l(toByte(tmp$ret$26));
995
+ this_0.x3l(toByte(tmp$ret$26));
996
996
  i = i + 1 | 0;
997
997
  } else {
998
998
  var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
999
999
  $l$block_6: {
1000
1000
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
1001
- var tail_2 = this_0.i3l(4);
1002
- get_SegmentWriteContextImpl().q3m(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1001
+ var tail_2 = this_0.n3l(4);
1002
+ get_SegmentWriteContextImpl().v3m(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
1003
1003
  var bytesWritten_2 = 4;
1004
1004
  if (bytesWritten_2 === 4) {
1005
- tail_2.x3k_1 = tail_2.x3k_1 + bytesWritten_2 | 0;
1005
+ tail_2.c3l_1 = tail_2.c3l_1 + bytesWritten_2 | 0;
1006
1006
  var tmp_6 = this_0;
1007
1007
  // Inline function 'kotlin.Long.plus' call
1008
- var this_11 = this_0.o3k_1;
1009
- tmp_6.o3k_1 = add(this_11, fromInt(bytesWritten_2));
1008
+ var this_11 = this_0.t3k_1;
1009
+ tmp_6.t3k_1 = add(this_11, fromInt(bytesWritten_2));
1010
1010
  break $l$block_6;
1011
1011
  }
1012
1012
  // Inline function 'kotlin.check' call
1013
- if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.j3m() : false)) {
1014
- var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.j3m();
1013
+ if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.o3m() : false)) {
1014
+ var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.o3m();
1015
1015
  throw IllegalStateException_init_$Create$(toString(message_2));
1016
1016
  }
1017
1017
  if (!(bytesWritten_2 === 0)) {
1018
- tail_2.x3k_1 = tail_2.x3k_1 + bytesWritten_2 | 0;
1018
+ tail_2.c3l_1 = tail_2.c3l_1 + bytesWritten_2 | 0;
1019
1019
  var tmp_7 = this_0;
1020
1020
  // Inline function 'kotlin.Long.plus' call
1021
- var this_12 = this_0.o3k_1;
1022
- tmp_7.o3k_1 = add(this_12, fromInt(bytesWritten_2));
1021
+ var this_12 = this_0.t3k_1;
1022
+ tmp_7.t3k_1 = add(this_12, fromInt(bytesWritten_2));
1023
1023
  break $l$block_6;
1024
1024
  }
1025
1025
  if (isEmpty(tail_2)) {
1026
- this_0.w3l();
1026
+ this_0.b3m();
1027
1027
  }
1028
1028
  }
1029
1029
  i = i + 2 | 0;
1030
1030
  }
1031
1031
  }
1032
1032
  }
1033
- _this__u8e3s4.t3k();
1033
+ _this__u8e3s4.y3k();
1034
1034
  }
1035
1035
  function commonReadUtf8(_this__u8e3s4, byteCount) {
1036
1036
  if (equalsLong(byteCount, new Long(0, 0)))
1037
1037
  return '';
1038
1038
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
1039
- var curr = _this__u8e3s4.m3k_1;
1039
+ var curr = _this__u8e3s4.r3k_1;
1040
1040
  while (!(curr == null)) {
1041
1041
  get_SegmentReadContextImpl();
1042
1042
  if (compare(fromInt(curr.a1()), byteCount) >= 0) {
1043
1043
  var result = '';
1044
1044
  // Inline function 'kotlinx.io.unsafe.withData' call
1045
- var tmp0 = curr.k3m(true);
1046
- var tmp2 = curr.w3k_1;
1047
- var tmp0_0 = curr.x3k_1;
1045
+ var tmp0 = curr.p3m(true);
1046
+ var tmp2 = curr.b3l_1;
1047
+ var tmp0_0 = curr.c3l_1;
1048
1048
  // Inline function 'kotlin.math.min' call
1049
1049
  var b = tmp2 + convertToInt(byteCount) | 0;
1050
1050
  var tmp$ret$0 = Math.min(tmp0_0, b);
1051
1051
  result = commonToUtf8String(tmp0, tmp2, tmp$ret$0);
1052
- _this__u8e3s4.c3l(byteCount);
1052
+ _this__u8e3s4.h3l(byteCount);
1053
1053
  return result;
1054
1054
  }
1055
1055
  return commonToUtf8String(readByteArray(_this__u8e3s4, convertToInt(byteCount)));
@@ -1062,9 +1062,9 @@ function FileMetadata(isRegularFile, isDirectory, size) {
1062
1062
  isRegularFile = isRegularFile === VOID ? false : isRegularFile;
1063
1063
  isDirectory = isDirectory === VOID ? false : isDirectory;
1064
1064
  size = size === VOID ? new Long(0, 0) : size;
1065
- this.u3m_1 = isRegularFile;
1066
- this.v3m_1 = isDirectory;
1067
- this.w3m_1 = size;
1065
+ this.z3m_1 = isRegularFile;
1066
+ this.a3n_1 = isDirectory;
1067
+ this.b3n_1 = size;
1068
1068
  }
1069
1069
  function FileSystem() {
1070
1070
  }
@@ -1515,27 +1515,27 @@ function UnsafeBufferOperations_getInstance() {
1515
1515
  }
1516
1516
  function SegmentReadContextImpl$1() {
1517
1517
  }
1518
- protoOf(SegmentReadContextImpl$1).u3l = function (segment, offset) {
1519
- return segment.l3m(offset);
1518
+ protoOf(SegmentReadContextImpl$1).z3l = function (segment, offset) {
1519
+ return segment.q3m(offset);
1520
1520
  };
1521
1521
  function SegmentWriteContextImpl$1() {
1522
1522
  }
1523
- protoOf(SegmentWriteContextImpl$1).t3m = function (segment, offset, value) {
1524
- segment.m3m(offset, value);
1523
+ protoOf(SegmentWriteContextImpl$1).y3m = function (segment, offset, value) {
1524
+ segment.r3m(offset, value);
1525
1525
  };
1526
- protoOf(SegmentWriteContextImpl$1).s3m = function (segment, offset, b0, b1) {
1527
- segment.n3m(offset, b0, b1);
1526
+ protoOf(SegmentWriteContextImpl$1).x3m = function (segment, offset, b0, b1) {
1527
+ segment.s3m(offset, b0, b1);
1528
1528
  };
1529
- protoOf(SegmentWriteContextImpl$1).r3m = function (segment, offset, b0, b1, b2) {
1530
- segment.o3m(offset, b0, b1, b2);
1529
+ protoOf(SegmentWriteContextImpl$1).w3m = function (segment, offset, b0, b1, b2) {
1530
+ segment.t3m(offset, b0, b1, b2);
1531
1531
  };
1532
- protoOf(SegmentWriteContextImpl$1).q3m = function (segment, offset, b0, b1, b2, b3) {
1533
- segment.p3m(offset, b0, b1, b2, b3);
1532
+ protoOf(SegmentWriteContextImpl$1).v3m = function (segment, offset, b0, b1, b2, b3) {
1533
+ segment.u3m(offset, b0, b1, b2, b3);
1534
1534
  };
1535
1535
  function BufferIterationContextImpl$1() {
1536
1536
  }
1537
- protoOf(BufferIterationContextImpl$1).u3l = function (segment, offset) {
1538
- return get_SegmentReadContextImpl().u3l(segment, offset);
1537
+ protoOf(BufferIterationContextImpl$1).z3l = function (segment, offset) {
1538
+ return get_SegmentReadContextImpl().z3l(segment, offset);
1539
1539
  };
1540
1540
  var properties_initialized_UnsafeBufferOperations_kt_2xfgoc;
1541
1541
  function _init_properties_UnsafeBufferOperations_kt__xw75gy() {
@@ -1616,15 +1616,15 @@ function withCaughtException(block) {
1616
1616
  }
1617
1617
  }
1618
1618
  function SegmentPool() {
1619
- this.j3l_1 = 0;
1620
- this.k3l_1 = 0;
1619
+ this.o3l_1 = 0;
1620
+ this.p3l_1 = 0;
1621
1621
  }
1622
- protoOf(SegmentPool).l3l = function () {
1623
- return Companion_instance.f3m();
1622
+ protoOf(SegmentPool).q3l = function () {
1623
+ return Companion_instance.k3m();
1624
1624
  };
1625
- protoOf(SegmentPool).v3l = function (segment) {
1625
+ protoOf(SegmentPool).a3m = function (segment) {
1626
1626
  };
1627
- protoOf(SegmentPool).h3m = function () {
1627
+ protoOf(SegmentPool).m3m = function () {
1628
1628
  return AlwaysSharedCopyTracker_getInstance();
1629
1629
  };
1630
1630
  var SegmentPool_instance;
@@ -1637,7 +1637,7 @@ function get_path() {
1637
1637
  var tmp = KProperty0;
1638
1638
  // Inline function 'kotlin.getValue' call
1639
1639
  getPropertyCallableRef('path', 0, tmp, _get_path_$ref_hpvpv9(), null);
1640
- return tmp0.n1();
1640
+ return tmp0.l1();
1641
1641
  }
1642
1642
  var path$delegate;
1643
1643
  function get_fs() {
@@ -1646,7 +1646,7 @@ function get_fs() {
1646
1646
  var tmp = KProperty0;
1647
1647
  // Inline function 'kotlin.getValue' call
1648
1648
  getPropertyCallableRef('fs', 0, tmp, _get_fs_$ref_rnlob1(), null);
1649
- return tmp0.n1();
1649
+ return tmp0.l1();
1650
1650
  }
1651
1651
  var fs$delegate;
1652
1652
  function get_os() {
@@ -1655,7 +1655,7 @@ function get_os() {
1655
1655
  var tmp = KProperty0;
1656
1656
  // Inline function 'kotlin.getValue' call
1657
1657
  getPropertyCallableRef('os', 0, tmp, _get_os_$ref_hoy4d2(), null);
1658
- return tmp0.n1();
1658
+ return tmp0.l1();
1659
1659
  }
1660
1660
  var os$delegate;
1661
1661
  function get_buffer() {
@@ -1664,7 +1664,7 @@ function get_buffer() {
1664
1664
  var tmp = KProperty0;
1665
1665
  // Inline function 'kotlin.getValue' call
1666
1666
  getPropertyCallableRef('buffer', 0, tmp, _get_buffer_$ref_mc964a(), null);
1667
- return tmp0.n1();
1667
+ return tmp0.l1();
1668
1668
  }
1669
1669
  var buffer$delegate;
1670
1670
  function path$delegate$lambda() {
@@ -1777,7 +1777,7 @@ function FileNotFoundException(message) {
1777
1777
  }
1778
1778
  function SystemFileSystem$o$metadataOrNull$lambda($path, $metadata) {
1779
1779
  return function () {
1780
- var tmp0_elvis_lhs = get_fs().statSync($path.e3n_1);
1780
+ var tmp0_elvis_lhs = get_fs().statSync($path.j3n_1);
1781
1781
  var tmp;
1782
1782
  if (tmp0_elvis_lhs == null) {
1783
1783
  return Unit_instance;
@@ -1794,16 +1794,16 @@ function SystemFileSystem$o$metadataOrNull$lambda($path, $metadata) {
1794
1794
  function SystemFileSystem$1() {
1795
1795
  SystemFileSystemImpl.call(this);
1796
1796
  }
1797
- protoOf(SystemFileSystem$1).x3m = function (path) {
1798
- return get_fs().existsSync(path.e3n_1);
1797
+ protoOf(SystemFileSystem$1).c3n = function (path) {
1798
+ return get_fs().existsSync(path.j3n_1);
1799
1799
  };
1800
- protoOf(SystemFileSystem$1).y3m = function (path, mustCreate) {
1801
- var metadata = this.c3n(path);
1800
+ protoOf(SystemFileSystem$1).d3n = function (path, mustCreate) {
1801
+ var metadata = this.h3n(path);
1802
1802
  if (!(metadata == null)) {
1803
1803
  if (mustCreate) {
1804
1804
  throw IOException_init_$Create$_0('Path already exists: ' + path.toString());
1805
1805
  }
1806
- if (metadata.u3m_1) {
1806
+ if (metadata.z3m_1) {
1807
1807
  throw IOException_init_$Create$_0("Path already exists and it's a file: " + path.toString());
1808
1808
  }
1809
1809
  return Unit_instance;
@@ -1811,9 +1811,9 @@ protoOf(SystemFileSystem$1).y3m = function (path, mustCreate) {
1811
1811
  // Inline function 'kotlin.collections.arrayListOf' call
1812
1812
  var parts = ArrayList_init_$Create$();
1813
1813
  var p = path;
1814
- while (!(p == null) && !this.x3m(p)) {
1814
+ while (!(p == null) && !this.c3n(p)) {
1815
1815
  parts.x(p.toString());
1816
- p = p.f3n();
1816
+ p = p.k3n();
1817
1817
  }
1818
1818
  // Inline function 'kotlin.collections.forEach' call
1819
1819
  var _iterator__ex2g4s = asReversed(parts).t();
@@ -1822,8 +1822,8 @@ protoOf(SystemFileSystem$1).y3m = function (path, mustCreate) {
1822
1822
  get_fs().mkdirSync(element);
1823
1823
  }
1824
1824
  };
1825
- protoOf(SystemFileSystem$1).c3n = function (path) {
1826
- if (!this.x3m(path))
1825
+ protoOf(SystemFileSystem$1).h3n = function (path) {
1826
+ if (!this.c3n(path))
1827
1827
  return null;
1828
1828
  var metadata = {_v: null};
1829
1829
  var tmp2_safe_receiver = withCaughtException(SystemFileSystem$o$metadataOrNull$lambda(path, metadata));
@@ -1835,27 +1835,27 @@ protoOf(SystemFileSystem$1).c3n = function (path) {
1835
1835
  }
1836
1836
  return metadata._v;
1837
1837
  };
1838
- protoOf(SystemFileSystem$1).z3m = function (path) {
1838
+ protoOf(SystemFileSystem$1).e3n = function (path) {
1839
1839
  return new FileSource(path);
1840
1840
  };
1841
- protoOf(SystemFileSystem$1).a3n = function (path, append) {
1841
+ protoOf(SystemFileSystem$1).f3n = function (path, append) {
1842
1842
  return new FileSink(path, append);
1843
1843
  };
1844
- protoOf(SystemFileSystem$1).d3n = function (directory) {
1845
- var tmp0_elvis_lhs = this.c3n(directory);
1844
+ protoOf(SystemFileSystem$1).i3n = function (directory) {
1845
+ var tmp0_elvis_lhs = this.h3n(directory);
1846
1846
  var tmp;
1847
1847
  if (tmp0_elvis_lhs == null) {
1848
- throw new FileNotFoundException(directory.e3n_1);
1848
+ throw new FileNotFoundException(directory.j3n_1);
1849
1849
  } else {
1850
1850
  tmp = tmp0_elvis_lhs;
1851
1851
  }
1852
1852
  var metadata = tmp;
1853
- if (!metadata.v3m_1)
1854
- throw IOException_init_$Create$_0('Not a directory: ' + directory.e3n_1);
1855
- var tmp1_elvis_lhs = get_fs().opendirSync(directory.e3n_1);
1853
+ if (!metadata.a3n_1)
1854
+ throw IOException_init_$Create$_0('Not a directory: ' + directory.j3n_1);
1855
+ var tmp1_elvis_lhs = get_fs().opendirSync(directory.j3n_1);
1856
1856
  var tmp_0;
1857
1857
  if (tmp1_elvis_lhs == null) {
1858
- throw IOException_init_$Create$_0('Unable to read directory: ' + directory.e3n_1);
1858
+ throw IOException_init_$Create$_0('Unable to read directory: ' + directory.j3n_1);
1859
1859
  } else {
1860
1860
  tmp_0 = tmp1_elvis_lhs;
1861
1861
  }
@@ -1889,31 +1889,31 @@ function get_SystemPathSeparator() {
1889
1889
  var tmp = KProperty0;
1890
1890
  // Inline function 'kotlin.getValue' call
1891
1891
  getPropertyCallableRef('SystemPathSeparator', 0, tmp, _get_SystemPathSeparator_$ref_lvdbpt(), null);
1892
- return tmp0.n1().j1_1;
1892
+ return tmp0.l1().h1_1;
1893
1893
  }
1894
1894
  var SystemPathSeparator$delegate;
1895
1895
  function Path_1(rawPath, any) {
1896
- this.e3n_1 = removeTrailingSeparators(rawPath);
1896
+ this.j3n_1 = removeTrailingSeparators(rawPath);
1897
1897
  }
1898
- protoOf(Path_1).f3n = function () {
1898
+ protoOf(Path_1).k3n = function () {
1899
1899
  // Inline function 'kotlin.text.isEmpty' call
1900
- var this_0 = this.e3n_1;
1900
+ var this_0 = this.j3n_1;
1901
1901
  if (charSequenceLength(this_0) === 0)
1902
1902
  return null;
1903
1903
  if (get_isWindows()) {
1904
- if (!contains(this.e3n_1, _Char___init__impl__6a9atx(47)) && !contains(this.e3n_1, _Char___init__impl__6a9atx(92))) {
1904
+ if (!contains(this.j3n_1, _Char___init__impl__6a9atx(47)) && !contains(this.j3n_1, _Char___init__impl__6a9atx(92))) {
1905
1905
  return null;
1906
1906
  }
1907
- } else if (!contains(this.e3n_1, get_SystemPathSeparator())) {
1907
+ } else if (!contains(this.j3n_1, get_SystemPathSeparator())) {
1908
1908
  return null;
1909
1909
  }
1910
- var p = get_path().dirname(this.e3n_1);
1910
+ var p = get_path().dirname(this.j3n_1);
1911
1911
  var tmp;
1912
1912
  // Inline function 'kotlin.text.isEmpty' call
1913
1913
  if (charSequenceLength(p) === 0) {
1914
1914
  tmp = null;
1915
1915
  } else {
1916
- if (p === this.e3n_1) {
1916
+ if (p === this.j3n_1) {
1917
1917
  tmp = null;
1918
1918
  } else {
1919
1919
  tmp = Path_2(p);
@@ -1923,10 +1923,10 @@ protoOf(Path_1).f3n = function () {
1923
1923
  };
1924
1924
  protoOf(Path_1).m = function () {
1925
1925
  // Inline function 'kotlin.text.isEmpty' call
1926
- var this_0 = this.e3n_1;
1926
+ var this_0 = this.j3n_1;
1927
1927
  if (charSequenceLength(this_0) === 0)
1928
1928
  return '';
1929
- var p = get_path().basename(this.e3n_1);
1929
+ var p = get_path().basename(this.j3n_1);
1930
1930
  var tmp;
1931
1931
  // Inline function 'kotlin.text.isEmpty' call
1932
1932
  if (charSequenceLength(p) === 0) {
@@ -1937,25 +1937,25 @@ protoOf(Path_1).m = function () {
1937
1937
  return tmp;
1938
1938
  };
1939
1939
  protoOf(Path_1).toString = function () {
1940
- return this.e3n_1;
1940
+ return this.j3n_1;
1941
1941
  };
1942
1942
  protoOf(Path_1).equals = function (other) {
1943
1943
  if (this === other)
1944
1944
  return true;
1945
1945
  if (!(other instanceof Path_1))
1946
1946
  return false;
1947
- return this.e3n_1 === other.e3n_1;
1947
+ return this.j3n_1 === other.j3n_1;
1948
1948
  };
1949
1949
  protoOf(Path_1).hashCode = function () {
1950
- return getStringHashCode(this.e3n_1);
1950
+ return getStringHashCode(this.j3n_1);
1951
1951
  };
1952
1952
  function Path_2(path) {
1953
1953
  _init_properties_PathsNodeJs_kt__bvvvsp();
1954
1954
  return new Path_1(path, null);
1955
1955
  }
1956
1956
  function open($this, path) {
1957
- if (!get_fs().existsSync(path.e3n_1)) {
1958
- throw new FileNotFoundException('File does not exist: ' + path.e3n_1);
1957
+ if (!get_fs().existsSync(path.j3n_1)) {
1958
+ throw new FileNotFoundException('File does not exist: ' + path.j3n_1);
1959
1959
  }
1960
1960
  var fd = {_v: -1};
1961
1961
  var tmp3_safe_receiver = withCaughtException(FileSource$open$lambda(fd, path));
@@ -1963,55 +1963,55 @@ function open($this, path) {
1963
1963
  null;
1964
1964
  else {
1965
1965
  // Inline function 'kotlin.also' call
1966
- throw IOException_init_$Create$_1('Failed to open a file ' + path.e3n_1 + '.', tmp3_safe_receiver);
1966
+ throw IOException_init_$Create$_1('Failed to open a file ' + path.j3n_1 + '.', tmp3_safe_receiver);
1967
1967
  }
1968
1968
  if (fd._v < 0)
1969
- throw IOException_init_$Create$_0('Failed to open a file ' + path.e3n_1 + '.');
1969
+ throw IOException_init_$Create$_0('Failed to open a file ' + path.j3n_1 + '.');
1970
1970
  return fd._v;
1971
1971
  }
1972
1972
  function FileSource$open$lambda($fd, $path) {
1973
1973
  return function () {
1974
- $fd._v = get_fs().openSync($path.e3n_1, 'r');
1974
+ $fd._v = get_fs().openSync($path.j3n_1, 'r');
1975
1975
  return Unit_instance;
1976
1976
  };
1977
1977
  }
1978
1978
  function FileSource$readAtMostTo$lambda(this$0) {
1979
1979
  return function () {
1980
- this$0.h3n_1 = get_fs().readFileSync(this$0.k3n_1, null);
1980
+ this$0.m3n_1 = get_fs().readFileSync(this$0.p3n_1, null);
1981
1981
  return Unit_instance;
1982
1982
  };
1983
1983
  }
1984
1984
  function FileSource(path) {
1985
- this.g3n_1 = path;
1986
- this.h3n_1 = null;
1987
- this.i3n_1 = false;
1988
- this.j3n_1 = 0;
1989
- this.k3n_1 = open(this, this.g3n_1);
1985
+ this.l3n_1 = path;
1986
+ this.m3n_1 = null;
1987
+ this.n3n_1 = false;
1988
+ this.o3n_1 = 0;
1989
+ this.p3n_1 = open(this, this.l3n_1);
1990
1990
  }
1991
- protoOf(FileSource).g3l = function (sink, byteCount) {
1991
+ protoOf(FileSource).l3l = function (sink, byteCount) {
1992
1992
  // Inline function 'kotlin.check' call
1993
- if (!!this.i3n_1) {
1993
+ if (!!this.n3n_1) {
1994
1994
  var message = 'Source is closed.';
1995
1995
  throw IllegalStateException_init_$Create$(toString(message));
1996
1996
  }
1997
1997
  if (equalsLong(byteCount, new Long(0, 0))) {
1998
1998
  return new Long(0, 0);
1999
1999
  }
2000
- if (this.h3n_1 === null) {
2000
+ if (this.m3n_1 === null) {
2001
2001
  var tmp4_safe_receiver = withCaughtException(FileSource$readAtMostTo$lambda(this));
2002
2002
  if (tmp4_safe_receiver == null)
2003
2003
  null;
2004
2004
  else {
2005
2005
  // Inline function 'kotlin.also' call
2006
- throw IOException_init_$Create$_1('Failed to read data from ' + this.g3n_1.e3n_1, tmp4_safe_receiver);
2006
+ throw IOException_init_$Create$_1('Failed to read data from ' + this.l3n_1.j3n_1, tmp4_safe_receiver);
2007
2007
  }
2008
2008
  }
2009
- var len = ensureNotNull(this.h3n_1).length;
2010
- if (this.j3n_1 >= len) {
2009
+ var len = ensureNotNull(this.m3n_1).length;
2010
+ if (this.o3n_1 >= len) {
2011
2011
  return new Long(-1, -1);
2012
2012
  }
2013
2013
  // Inline function 'kotlinx.io.minOf' call
2014
- var b = len - this.j3n_1 | 0;
2014
+ var b = len - this.o3n_1 | 0;
2015
2015
  // Inline function 'kotlin.comparisons.minOf' call
2016
2016
  var b_0 = fromInt(b);
2017
2017
  var bytesToRead = compare(byteCount, b_0) <= 0 ? byteCount : b_0;
@@ -2020,18 +2020,18 @@ protoOf(FileSource).g3l = function (sink, byteCount) {
2020
2020
  do {
2021
2021
  var i = inductionVariable;
2022
2022
  inductionVariable = add(inductionVariable, new Long(1, 0));
2023
- var tmp = ensureNotNull(this.h3n_1);
2024
- var _unary__edvuaz = this.j3n_1;
2025
- this.j3n_1 = _unary__edvuaz + 1 | 0;
2026
- sink.s3l(tmp.readInt8(_unary__edvuaz));
2023
+ var tmp = ensureNotNull(this.m3n_1);
2024
+ var _unary__edvuaz = this.o3n_1;
2025
+ this.o3n_1 = _unary__edvuaz + 1 | 0;
2026
+ sink.x3l(tmp.readInt8(_unary__edvuaz));
2027
2027
  }
2028
2028
  while (compare(inductionVariable, bytesToRead) < 0);
2029
2029
  return bytesToRead;
2030
2030
  };
2031
- protoOf(FileSource).e4 = function () {
2032
- if (!this.i3n_1) {
2033
- this.i3n_1 = true;
2034
- get_fs().closeSync(this.k3n_1);
2031
+ protoOf(FileSource).d4 = function () {
2032
+ if (!this.n3n_1) {
2033
+ this.n3n_1 = true;
2034
+ get_fs().closeSync(this.p3n_1);
2035
2035
  }
2036
2036
  };
2037
2037
  function open_0($this, path, append) {
@@ -2042,31 +2042,31 @@ function open_0($this, path, append) {
2042
2042
  null;
2043
2043
  else {
2044
2044
  // Inline function 'kotlin.also' call
2045
- throw IOException_init_$Create$_1('Failed to open a file ' + path.e3n_1 + '.', tmp5_safe_receiver);
2045
+ throw IOException_init_$Create$_1('Failed to open a file ' + path.j3n_1 + '.', tmp5_safe_receiver);
2046
2046
  }
2047
2047
  if (fd._v < 0)
2048
- throw IOException_init_$Create$_0('Failed to open a file ' + path.e3n_1 + '.');
2048
+ throw IOException_init_$Create$_0('Failed to open a file ' + path.j3n_1 + '.');
2049
2049
  return fd._v;
2050
2050
  }
2051
2051
  function FileSink$open$lambda($fd, $path, $flags) {
2052
2052
  return function () {
2053
- $fd._v = get_fs().openSync($path.e3n_1, $flags);
2053
+ $fd._v = get_fs().openSync($path.j3n_1, $flags);
2054
2054
  return Unit_instance;
2055
2055
  };
2056
2056
  }
2057
2057
  function FileSink$write$lambda(this$0, $buf) {
2058
2058
  return function () {
2059
- get_fs().writeFileSync(this$0.m3n_1, $buf);
2059
+ get_fs().writeFileSync(this$0.r3n_1, $buf);
2060
2060
  return Unit_instance;
2061
2061
  };
2062
2062
  }
2063
2063
  function FileSink(path, append) {
2064
- this.l3n_1 = false;
2065
- this.m3n_1 = open_0(this, path, append);
2064
+ this.q3n_1 = false;
2065
+ this.r3n_1 = open_0(this, path, append);
2066
2066
  }
2067
- protoOf(FileSink).h3l = function (source, byteCount) {
2067
+ protoOf(FileSink).m3l = function (source, byteCount) {
2068
2068
  // Inline function 'kotlin.check' call
2069
- if (!!this.l3n_1) {
2069
+ if (!!this.q3n_1) {
2070
2070
  var message = 'Sink is closed.';
2071
2071
  throw IllegalStateException_init_$Create$(toString(message));
2072
2072
  }
@@ -2080,14 +2080,14 @@ protoOf(FileSink).h3l = function (source, byteCount) {
2080
2080
  var segmentBytes = 0;
2081
2081
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.readFromHead' call
2082
2082
  // Inline function 'kotlin.require' call
2083
- if (!!source.q3k()) {
2083
+ if (!!source.v3k()) {
2084
2084
  var message_0 = 'Buffer is empty';
2085
2085
  throw IllegalArgumentException_init_$Create$(toString(message_0));
2086
2086
  }
2087
- var head = ensureNotNull(source.m3k_1);
2088
- var tmp0 = head.k3m(true);
2089
- var tmp2 = head.w3k_1;
2090
- segmentBytes = head.x3k_1 - tmp2 | 0;
2087
+ var head = ensureNotNull(source.r3k_1);
2088
+ var tmp0 = head.p3m(true);
2089
+ var tmp2 = head.b3l_1;
2090
+ segmentBytes = head.c3l_1 - tmp2 | 0;
2091
2091
  var buf = get_buffer().Buffer.allocUnsafe(segmentBytes);
2092
2092
  var inductionVariable = 0;
2093
2093
  var last = segmentBytes;
@@ -2111,7 +2111,7 @@ protoOf(FileSink).h3l = function (source, byteCount) {
2111
2111
  throw IllegalStateException_init_$Create$('Returned negative read bytes count');
2112
2112
  if (bytesRead > head.a1())
2113
2113
  throw IllegalStateException_init_$Create$('Returned too many bytes');
2114
- source.c3l(fromInt(bytesRead));
2114
+ source.h3l(fromInt(bytesRead));
2115
2115
  }
2116
2116
  var tmp0_0 = remainingBytes;
2117
2117
  // Inline function 'kotlin.Long.minus' call
@@ -2122,10 +2122,10 @@ protoOf(FileSink).h3l = function (source, byteCount) {
2122
2122
  protoOf(FileSink).z8 = function () {
2123
2123
  return Unit_instance;
2124
2124
  };
2125
- protoOf(FileSink).e4 = function () {
2126
- if (!this.l3n_1) {
2127
- this.l3n_1 = true;
2128
- get_fs().closeSync(this.m3n_1);
2125
+ protoOf(FileSink).d4 = function () {
2126
+ if (!this.q3n_1) {
2127
+ this.q3n_1 = true;
2128
+ get_fs().closeSync(this.r3n_1);
2129
2129
  }
2130
2130
  };
2131
2131
  function SystemPathSeparator$delegate$lambda() {
@@ -2150,7 +2150,7 @@ function _init_properties_PathsNodeJs_kt__bvvvsp() {
2150
2150
  }
2151
2151
  }
2152
2152
  //region block: post-declaration
2153
- protoOf(SystemFileSystemImpl).b3n = sink$default;
2153
+ protoOf(SystemFileSystemImpl).g3n = sink$default;
2154
2154
  //endregion
2155
2155
  //region block: init
2156
2156
  Companion_instance = new Companion();