@zenwave360/workspace-mcp 1.0.0-next.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 (49) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +449 -0
  3. package/kotlin/antlr-kotlin-antlr-kotlin-runtime.js +9497 -0
  4. package/kotlin/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -0
  5. package/kotlin/dsl-kotlin.js +17039 -0
  6. package/kotlin/dsl-kotlin.js.map +1 -0
  7. package/kotlin/json-schema-ref-parser-kmp.js +2263 -0
  8. package/kotlin/json-schema-ref-parser-kmp.js.map +1 -0
  9. package/kotlin/kotlin-js-core.js +15 -0
  10. package/kotlin/kotlin-js-core.js.map +1 -0
  11. package/kotlin/kotlin-js.js +15 -0
  12. package/kotlin/kotlin-js.js.map +1 -0
  13. package/kotlin/kotlin-kotlin-stdlib.js +10565 -0
  14. package/kotlin/kotlin-kotlin-stdlib.js.map +1 -0
  15. package/kotlin/kotlin-node.js +15 -0
  16. package/kotlin/kotlin-node.js.map +1 -0
  17. package/kotlin/kotlin-plugins-js-plain-objects-runtime.js +15 -0
  18. package/kotlin/kotlin-plugins-js-plain-objects-runtime.js.map +1 -0
  19. package/kotlin/kotlin-web.js +15 -0
  20. package/kotlin/kotlin-web.js.map +1 -0
  21. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
  22. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
  23. package/kotlin/kotlinx-atomicfu.js +174 -0
  24. package/kotlin/kotlinx-atomicfu.js.map +1 -0
  25. package/kotlin/kotlinx-coroutines-core.js +3577 -0
  26. package/kotlin/kotlinx-coroutines-core.js.map +1 -0
  27. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +15 -0
  28. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
  29. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +15 -0
  30. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
  31. package/kotlin/okio-parent-okio.js +2510 -0
  32. package/kotlin/okio-parent-okio.js.map +1 -0
  33. package/kotlin/seskar-core.js +15 -0
  34. package/kotlin/seskar-core.js.map +1 -0
  35. package/kotlin/seskar-react.js +15 -0
  36. package/kotlin/seskar-react.js.map +1 -0
  37. package/kotlin/snakeyaml-engine-kmp.js +5842 -0
  38. package/kotlin/snakeyaml-engine-kmp.js.map +1 -0
  39. package/kotlin/urlencoder-urlencoder-lib.js +322 -0
  40. package/kotlin/urlencoder-urlencoder-lib.js.map +1 -0
  41. package/kotlin/zenwave-manifest-manifest-core.js +15 -0
  42. package/kotlin/zenwave-manifest-manifest-core.js.map +1 -0
  43. package/kotlin/zenwave-manifest-manifest-graph.js +15 -0
  44. package/kotlin/zenwave-manifest-manifest-graph.js.map +1 -0
  45. package/kotlin/zenwave-manifest-workspace-mcp.js +26 -0
  46. package/kotlin/zenwave-manifest-workspace-mcp.js.map +1 -0
  47. package/kotlin/zenwave-manifest-workspace-runtime.js +15 -0
  48. package/kotlin/zenwave-manifest-workspace-runtime.js.map +1 -0
  49. package/package.json +24 -0
@@ -0,0 +1,2510 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
+ else {
7
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'okio-parent-okio'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'okio-parent-okio'.");
9
+ }
10
+ globalThis['okio-parent-okio'] = factory(typeof globalThis['okio-parent-okio'] === 'undefined' ? {} : globalThis['okio-parent-okio'], globalThis['kotlin-kotlin-stdlib']);
11
+ }
12
+ }(function (_, kotlin_kotlin) {
13
+ 'use strict';
14
+ //region block: imports
15
+ var imul = Math.imul;
16
+ var protoOf = kotlin_kotlin.$_$.c7;
17
+ var objectCreate = kotlin_kotlin.$_$.b7;
18
+ var initMetadataForCompanion = kotlin_kotlin.$_$.q6;
19
+ var ensureNotNull = kotlin_kotlin.$_$.x9;
20
+ var toString = kotlin_kotlin.$_$.e7;
21
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.x;
22
+ var Unit_instance = kotlin_kotlin.$_$.c2;
23
+ var arrayCopy = kotlin_kotlin.$_$.p2;
24
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a1;
25
+ var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.w;
26
+ var initMetadataForClass = kotlin_kotlin.$_$.p6;
27
+ var bitwiseOr = kotlin_kotlin.$_$.r5;
28
+ var Long = kotlin_kotlin.$_$.p9;
29
+ var compare = kotlin_kotlin.$_$.s5;
30
+ var subtract = kotlin_kotlin.$_$.y5;
31
+ var VOID = kotlin_kotlin.$_$.a;
32
+ var charArray = kotlin_kotlin.$_$.f6;
33
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
34
+ var numberToChar = kotlin_kotlin.$_$.z6;
35
+ var concatToString = kotlin_kotlin.$_$.n7;
36
+ var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.t1;
37
+ var charArrayOf = kotlin_kotlin.$_$.e6;
38
+ var concatToString_0 = kotlin_kotlin.$_$.m7;
39
+ var contentHashCode = kotlin_kotlin.$_$.z2;
40
+ var THROW_CCE = kotlin_kotlin.$_$.t9;
41
+ var copyOfRange = kotlin_kotlin.$_$.b3;
42
+ var substring = kotlin_kotlin.$_$.p8;
43
+ var replace = kotlin_kotlin.$_$.i8;
44
+ var Comparable = kotlin_kotlin.$_$.i9;
45
+ var fromInt = kotlin_kotlin.$_$.v5;
46
+ var numberToLong = kotlin_kotlin.$_$.w5;
47
+ var add = kotlin_kotlin.$_$.p5;
48
+ var convertToInt = kotlin_kotlin.$_$.t5;
49
+ var equalsLong = kotlin_kotlin.$_$.u5;
50
+ var charCodeAt = kotlin_kotlin.$_$.g6;
51
+ var toByte = kotlin_kotlin.$_$.d7;
52
+ var AssertionError_init_$Create$ = kotlin_kotlin.$_$.s;
53
+ var isArray = kotlin_kotlin.$_$.v6;
54
+ var initMetadataForInterface = kotlin_kotlin.$_$.s6;
55
+ var captureStack = kotlin_kotlin.$_$.d6;
56
+ var Exception = kotlin_kotlin.$_$.m9;
57
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.v;
58
+ var IndexOutOfBoundsException = kotlin_kotlin.$_$.o9;
59
+ var IndexOutOfBoundsException_init_$Init$ = kotlin_kotlin.$_$.d1;
60
+ var initMetadataForObject = kotlin_kotlin.$_$.u6;
61
+ //endregion
62
+ //region block: pre-declaration
63
+ initMetadataForCompanion(Companion);
64
+ initMetadataForClass(Segment, 'Segment', Segment_init_$Create$);
65
+ initMetadataForCompanion(Companion_0);
66
+ initMetadataForClass(ByteString, 'ByteString', VOID, VOID, [Comparable]);
67
+ initMetadataForClass(SegmentedByteString, 'SegmentedByteString', VOID, ByteString);
68
+ initMetadataForClass(UnsafeCursor, 'UnsafeCursor', UnsafeCursor);
69
+ initMetadataForInterface(BufferedSource, 'BufferedSource');
70
+ initMetadataForClass(Buffer, 'Buffer', Buffer, VOID, [BufferedSource]);
71
+ initMetadataForClass(IOException, 'IOException', IOException_init_$Create$, Exception);
72
+ initMetadataForClass(ArrayIndexOutOfBoundsException, 'ArrayIndexOutOfBoundsException', VOID, IndexOutOfBoundsException);
73
+ initMetadataForClass(EOFException, 'EOFException', EOFException_init_$Create$, IOException);
74
+ initMetadataForClass(RealBufferedSource, 'RealBufferedSource', VOID, VOID, [BufferedSource]);
75
+ initMetadataForObject(SegmentPool, 'SegmentPool');
76
+ //endregion
77
+ function buffer(_this__u8e3s4) {
78
+ return new RealBufferedSource(_this__u8e3s4);
79
+ }
80
+ function Segment_init_$Init$($this) {
81
+ Segment.call($this);
82
+ $this.f49_1 = new Int8Array(8192);
83
+ $this.j49_1 = true;
84
+ $this.i49_1 = false;
85
+ return $this;
86
+ }
87
+ function Segment_init_$Create$() {
88
+ return Segment_init_$Init$(objectCreate(protoOf(Segment)));
89
+ }
90
+ function Segment_init_$Init$_0(data, pos, limit, shared, owner, $this) {
91
+ Segment.call($this);
92
+ $this.f49_1 = data;
93
+ $this.g49_1 = pos;
94
+ $this.h49_1 = limit;
95
+ $this.i49_1 = shared;
96
+ $this.j49_1 = owner;
97
+ return $this;
98
+ }
99
+ function Segment_init_$Create$_0(data, pos, limit, shared, owner) {
100
+ return Segment_init_$Init$_0(data, pos, limit, shared, owner, objectCreate(protoOf(Segment)));
101
+ }
102
+ function Companion() {
103
+ this.m49_1 = 8192;
104
+ this.n49_1 = 1024;
105
+ }
106
+ var Companion_instance;
107
+ function Companion_getInstance() {
108
+ return Companion_instance;
109
+ }
110
+ protoOf(Segment).o49 = function () {
111
+ this.i49_1 = true;
112
+ return Segment_init_$Create$_0(this.f49_1, this.g49_1, this.h49_1, true, false);
113
+ };
114
+ protoOf(Segment).nr = function () {
115
+ var result = !(this.k49_1 === this) ? this.k49_1 : null;
116
+ ensureNotNull(this.l49_1).k49_1 = this.k49_1;
117
+ ensureNotNull(this.k49_1).l49_1 = this.l49_1;
118
+ this.k49_1 = null;
119
+ this.l49_1 = null;
120
+ return result;
121
+ };
122
+ protoOf(Segment).p49 = function (segment) {
123
+ segment.l49_1 = this;
124
+ segment.k49_1 = this.k49_1;
125
+ ensureNotNull(this.k49_1).l49_1 = segment;
126
+ this.k49_1 = segment;
127
+ return segment;
128
+ };
129
+ protoOf(Segment).q49 = function (byteCount) {
130
+ // Inline function 'kotlin.require' call
131
+ if (!(byteCount > 0 && byteCount <= (this.h49_1 - this.g49_1 | 0))) {
132
+ var message = 'byteCount out of range';
133
+ throw IllegalArgumentException_init_$Create$(toString(message));
134
+ }
135
+ var prefix;
136
+ if (byteCount >= 1024) {
137
+ prefix = this.o49();
138
+ } else {
139
+ prefix = SegmentPool_instance.t49();
140
+ var tmp0 = this.f49_1;
141
+ var tmp2 = prefix.f49_1;
142
+ var tmp5 = this.g49_1;
143
+ // Inline function 'kotlin.collections.copyInto' call
144
+ var endIndex = this.g49_1 + byteCount | 0;
145
+ // Inline function 'kotlin.js.unsafeCast' call
146
+ // Inline function 'kotlin.js.asDynamic' call
147
+ var tmp = tmp0;
148
+ // Inline function 'kotlin.js.unsafeCast' call
149
+ // Inline function 'kotlin.js.asDynamic' call
150
+ arrayCopy(tmp, tmp2, 0, tmp5, endIndex);
151
+ }
152
+ prefix.h49_1 = prefix.g49_1 + byteCount | 0;
153
+ this.g49_1 = this.g49_1 + byteCount | 0;
154
+ ensureNotNull(this.l49_1).p49(prefix);
155
+ return prefix;
156
+ };
157
+ protoOf(Segment).u49 = function () {
158
+ // Inline function 'kotlin.check' call
159
+ if (!!(this.l49_1 === this)) {
160
+ var message = 'cannot compact';
161
+ throw IllegalStateException_init_$Create$(toString(message));
162
+ }
163
+ if (!ensureNotNull(this.l49_1).j49_1)
164
+ return Unit_instance;
165
+ var byteCount = this.h49_1 - this.g49_1 | 0;
166
+ var availableByteCount = (8192 - ensureNotNull(this.l49_1).h49_1 | 0) + (ensureNotNull(this.l49_1).i49_1 ? 0 : ensureNotNull(this.l49_1).g49_1) | 0;
167
+ if (byteCount > availableByteCount)
168
+ return Unit_instance;
169
+ this.v49(ensureNotNull(this.l49_1), byteCount);
170
+ this.nr();
171
+ SegmentPool_instance.w49(this);
172
+ };
173
+ protoOf(Segment).v49 = function (sink, byteCount) {
174
+ // Inline function 'kotlin.check' call
175
+ if (!sink.j49_1) {
176
+ var message = 'only owner can write';
177
+ throw IllegalStateException_init_$Create$(toString(message));
178
+ }
179
+ if ((sink.h49_1 + byteCount | 0) > 8192) {
180
+ if (sink.i49_1)
181
+ throw IllegalArgumentException_init_$Create$_0();
182
+ if (((sink.h49_1 + byteCount | 0) - sink.g49_1 | 0) > 8192)
183
+ throw IllegalArgumentException_init_$Create$_0();
184
+ var tmp0 = sink.f49_1;
185
+ var tmp2 = sink.f49_1;
186
+ var tmp5 = sink.g49_1;
187
+ // Inline function 'kotlin.collections.copyInto' call
188
+ var endIndex = sink.h49_1;
189
+ // Inline function 'kotlin.js.unsafeCast' call
190
+ // Inline function 'kotlin.js.asDynamic' call
191
+ var tmp = tmp0;
192
+ // Inline function 'kotlin.js.unsafeCast' call
193
+ // Inline function 'kotlin.js.asDynamic' call
194
+ arrayCopy(tmp, tmp2, 0, tmp5, endIndex);
195
+ sink.h49_1 = sink.h49_1 - sink.g49_1 | 0;
196
+ sink.g49_1 = 0;
197
+ }
198
+ var tmp0_0 = this.f49_1;
199
+ var tmp2_0 = sink.f49_1;
200
+ var tmp4 = sink.h49_1;
201
+ var tmp6 = this.g49_1;
202
+ // Inline function 'kotlin.collections.copyInto' call
203
+ var endIndex_0 = this.g49_1 + byteCount | 0;
204
+ // Inline function 'kotlin.js.unsafeCast' call
205
+ // Inline function 'kotlin.js.asDynamic' call
206
+ var tmp_0 = tmp0_0;
207
+ // Inline function 'kotlin.js.unsafeCast' call
208
+ // Inline function 'kotlin.js.asDynamic' call
209
+ arrayCopy(tmp_0, tmp2_0, tmp4, tmp6, endIndex_0);
210
+ sink.h49_1 = sink.h49_1 + byteCount | 0;
211
+ this.g49_1 = this.g49_1 + byteCount | 0;
212
+ };
213
+ function Segment() {
214
+ this.g49_1 = 0;
215
+ this.h49_1 = 0;
216
+ this.i49_1 = false;
217
+ this.j49_1 = false;
218
+ this.k49_1 = null;
219
+ this.l49_1 = null;
220
+ }
221
+ var DEFAULT__new_UnsafeCursor;
222
+ function get_DEFAULT__ByteString_size() {
223
+ _init_properties_Util_kt__laey5a();
224
+ return DEFAULT__ByteString_size;
225
+ }
226
+ var DEFAULT__ByteString_size;
227
+ function resolveDefaultParameter(_this__u8e3s4, position) {
228
+ _init_properties_Util_kt__laey5a();
229
+ if (position === get_DEFAULT__ByteString_size())
230
+ return _this__u8e3s4.n();
231
+ return position;
232
+ }
233
+ function arrayRangeEquals(a, aOffset, b, bOffset, byteCount) {
234
+ _init_properties_Util_kt__laey5a();
235
+ var inductionVariable = 0;
236
+ if (inductionVariable < byteCount)
237
+ do {
238
+ var i = inductionVariable;
239
+ inductionVariable = inductionVariable + 1 | 0;
240
+ if (!(a[i + aOffset | 0] === b[i + bOffset | 0]))
241
+ return false;
242
+ }
243
+ while (inductionVariable < byteCount);
244
+ return true;
245
+ }
246
+ function checkOffsetAndCount(size, offset, byteCount) {
247
+ _init_properties_Util_kt__laey5a();
248
+ if (compare(bitwiseOr(offset, byteCount), new Long(0, 0)) < 0 || compare(offset, size) > 0 || compare(subtract(size, offset), byteCount) < 0) {
249
+ throw new ArrayIndexOutOfBoundsException('size=' + size.toString() + ' offset=' + offset.toString() + ' byteCount=' + byteCount.toString());
250
+ }
251
+ }
252
+ var properties_initialized_Util_kt_13atj0;
253
+ function _init_properties_Util_kt__laey5a() {
254
+ if (!properties_initialized_Util_kt_13atj0) {
255
+ properties_initialized_Util_kt_13atj0 = true;
256
+ DEFAULT__new_UnsafeCursor = new UnsafeCursor();
257
+ DEFAULT__ByteString_size = -1234567890;
258
+ }
259
+ }
260
+ function commonToUtf8String(_this__u8e3s4, beginIndex, endIndex) {
261
+ beginIndex = beginIndex === VOID ? 0 : beginIndex;
262
+ endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
263
+ if (beginIndex < 0 || endIndex > _this__u8e3s4.length || beginIndex > endIndex) {
264
+ throw new ArrayIndexOutOfBoundsException('size=' + _this__u8e3s4.length + ' beginIndex=' + beginIndex + ' endIndex=' + endIndex);
265
+ }
266
+ var chars = charArray(endIndex - beginIndex | 0);
267
+ var length = 0;
268
+ // Inline function 'okio.processUtf16Chars' call
269
+ var index = beginIndex;
270
+ while (index < endIndex) {
271
+ var b0 = _this__u8e3s4[index];
272
+ if (b0 >= 0) {
273
+ var c = numberToChar(b0);
274
+ var _unary__edvuaz = length;
275
+ length = _unary__edvuaz + 1 | 0;
276
+ chars[_unary__edvuaz] = c;
277
+ index = index + 1 | 0;
278
+ while (index < endIndex && _this__u8e3s4[index] >= 0) {
279
+ var _unary__edvuaz_0 = index;
280
+ index = _unary__edvuaz_0 + 1 | 0;
281
+ var c_0 = numberToChar(_this__u8e3s4[_unary__edvuaz_0]);
282
+ var _unary__edvuaz_1 = length;
283
+ length = _unary__edvuaz_1 + 1 | 0;
284
+ chars[_unary__edvuaz_1] = c_0;
285
+ }
286
+ } else {
287
+ // Inline function 'okio.shr' call
288
+ if (b0 >> 5 === -2) {
289
+ var tmp = index;
290
+ var tmp2 = index;
291
+ var tmp$ret$5;
292
+ $l$block_0: {
293
+ // Inline function 'okio.process2Utf8Bytes' call
294
+ if (endIndex <= (tmp2 + 1 | 0)) {
295
+ var c_1 = numberToChar(65533);
296
+ var _unary__edvuaz_2 = length;
297
+ length = _unary__edvuaz_2 + 1 | 0;
298
+ chars[_unary__edvuaz_2] = c_1;
299
+ tmp$ret$5 = 1;
300
+ break $l$block_0;
301
+ }
302
+ var b0_0 = _this__u8e3s4[tmp2];
303
+ var b1 = _this__u8e3s4[tmp2 + 1 | 0];
304
+ // Inline function 'okio.isUtf8Continuation' call
305
+ // Inline function 'okio.and' call
306
+ if (!((b1 & 192) === 128)) {
307
+ var c_2 = numberToChar(65533);
308
+ var _unary__edvuaz_3 = length;
309
+ length = _unary__edvuaz_3 + 1 | 0;
310
+ chars[_unary__edvuaz_3] = c_2;
311
+ tmp$ret$5 = 1;
312
+ break $l$block_0;
313
+ }
314
+ var codePoint = 3968 ^ b1 ^ b0_0 << 6;
315
+ if (codePoint < 128) {
316
+ var c_3 = numberToChar(65533);
317
+ var _unary__edvuaz_4 = length;
318
+ length = _unary__edvuaz_4 + 1 | 0;
319
+ chars[_unary__edvuaz_4] = c_3;
320
+ } else {
321
+ var c_4 = numberToChar(codePoint);
322
+ var _unary__edvuaz_5 = length;
323
+ length = _unary__edvuaz_5 + 1 | 0;
324
+ chars[_unary__edvuaz_5] = c_4;
325
+ }
326
+ tmp$ret$5 = 2;
327
+ }
328
+ index = tmp + tmp$ret$5 | 0;
329
+ } else {
330
+ // Inline function 'okio.shr' call
331
+ if (b0 >> 4 === -2) {
332
+ var tmp_0 = index;
333
+ var tmp2_0 = index;
334
+ var tmp$ret$19;
335
+ $l$block_4: {
336
+ // Inline function 'okio.process3Utf8Bytes' call
337
+ if (endIndex <= (tmp2_0 + 2 | 0)) {
338
+ var c_5 = numberToChar(65533);
339
+ var _unary__edvuaz_6 = length;
340
+ length = _unary__edvuaz_6 + 1 | 0;
341
+ chars[_unary__edvuaz_6] = c_5;
342
+ var tmp_1;
343
+ if (endIndex <= (tmp2_0 + 1 | 0)) {
344
+ tmp_1 = true;
345
+ } else {
346
+ // Inline function 'okio.isUtf8Continuation' call
347
+ // Inline function 'okio.and' call
348
+ tmp_1 = !((_this__u8e3s4[tmp2_0 + 1 | 0] & 192) === 128);
349
+ }
350
+ if (tmp_1) {
351
+ tmp$ret$19 = 1;
352
+ break $l$block_4;
353
+ } else {
354
+ tmp$ret$19 = 2;
355
+ break $l$block_4;
356
+ }
357
+ }
358
+ var b0_1 = _this__u8e3s4[tmp2_0];
359
+ var b1_0 = _this__u8e3s4[tmp2_0 + 1 | 0];
360
+ // Inline function 'okio.isUtf8Continuation' call
361
+ // Inline function 'okio.and' call
362
+ if (!((b1_0 & 192) === 128)) {
363
+ var c_6 = numberToChar(65533);
364
+ var _unary__edvuaz_7 = length;
365
+ length = _unary__edvuaz_7 + 1 | 0;
366
+ chars[_unary__edvuaz_7] = c_6;
367
+ tmp$ret$19 = 1;
368
+ break $l$block_4;
369
+ }
370
+ var b2 = _this__u8e3s4[tmp2_0 + 2 | 0];
371
+ // Inline function 'okio.isUtf8Continuation' call
372
+ // Inline function 'okio.and' call
373
+ if (!((b2 & 192) === 128)) {
374
+ var c_7 = numberToChar(65533);
375
+ var _unary__edvuaz_8 = length;
376
+ length = _unary__edvuaz_8 + 1 | 0;
377
+ chars[_unary__edvuaz_8] = c_7;
378
+ tmp$ret$19 = 2;
379
+ break $l$block_4;
380
+ }
381
+ var codePoint_0 = -123008 ^ b2 ^ b1_0 << 6 ^ b0_1 << 12;
382
+ if (codePoint_0 < 2048) {
383
+ var c_8 = numberToChar(65533);
384
+ var _unary__edvuaz_9 = length;
385
+ length = _unary__edvuaz_9 + 1 | 0;
386
+ chars[_unary__edvuaz_9] = c_8;
387
+ } else if (55296 <= codePoint_0 ? codePoint_0 <= 57343 : false) {
388
+ var c_9 = numberToChar(65533);
389
+ var _unary__edvuaz_10 = length;
390
+ length = _unary__edvuaz_10 + 1 | 0;
391
+ chars[_unary__edvuaz_10] = c_9;
392
+ } else {
393
+ var c_10 = numberToChar(codePoint_0);
394
+ var _unary__edvuaz_11 = length;
395
+ length = _unary__edvuaz_11 + 1 | 0;
396
+ chars[_unary__edvuaz_11] = c_10;
397
+ }
398
+ tmp$ret$19 = 3;
399
+ }
400
+ index = tmp_0 + tmp$ret$19 | 0;
401
+ } else {
402
+ // Inline function 'okio.shr' call
403
+ if (b0 >> 3 === -2) {
404
+ var tmp_2 = index;
405
+ var tmp2_1 = index;
406
+ var tmp$ret$41;
407
+ $l$block_10: {
408
+ // Inline function 'okio.process4Utf8Bytes' call
409
+ if (endIndex <= (tmp2_1 + 3 | 0)) {
410
+ if (!(65533 === 65533)) {
411
+ var c_11 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
412
+ var _unary__edvuaz_12 = length;
413
+ length = _unary__edvuaz_12 + 1 | 0;
414
+ chars[_unary__edvuaz_12] = c_11;
415
+ var c_12 = numberToChar((65533 & 1023) + 56320 | 0);
416
+ var _unary__edvuaz_13 = length;
417
+ length = _unary__edvuaz_13 + 1 | 0;
418
+ chars[_unary__edvuaz_13] = c_12;
419
+ } else {
420
+ var c_13 = _Char___init__impl__6a9atx(65533);
421
+ var _unary__edvuaz_14 = length;
422
+ length = _unary__edvuaz_14 + 1 | 0;
423
+ chars[_unary__edvuaz_14] = c_13;
424
+ }
425
+ var tmp_3;
426
+ if (endIndex <= (tmp2_1 + 1 | 0)) {
427
+ tmp_3 = true;
428
+ } else {
429
+ // Inline function 'okio.isUtf8Continuation' call
430
+ // Inline function 'okio.and' call
431
+ tmp_3 = !((_this__u8e3s4[tmp2_1 + 1 | 0] & 192) === 128);
432
+ }
433
+ if (tmp_3) {
434
+ tmp$ret$41 = 1;
435
+ break $l$block_10;
436
+ } else {
437
+ var tmp_4;
438
+ if (endIndex <= (tmp2_1 + 2 | 0)) {
439
+ tmp_4 = true;
440
+ } else {
441
+ // Inline function 'okio.isUtf8Continuation' call
442
+ // Inline function 'okio.and' call
443
+ tmp_4 = !((_this__u8e3s4[tmp2_1 + 2 | 0] & 192) === 128);
444
+ }
445
+ if (tmp_4) {
446
+ tmp$ret$41 = 2;
447
+ break $l$block_10;
448
+ } else {
449
+ tmp$ret$41 = 3;
450
+ break $l$block_10;
451
+ }
452
+ }
453
+ }
454
+ var b0_2 = _this__u8e3s4[tmp2_1];
455
+ var b1_1 = _this__u8e3s4[tmp2_1 + 1 | 0];
456
+ // Inline function 'okio.isUtf8Continuation' call
457
+ // Inline function 'okio.and' call
458
+ if (!((b1_1 & 192) === 128)) {
459
+ if (!(65533 === 65533)) {
460
+ var c_14 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
461
+ var _unary__edvuaz_15 = length;
462
+ length = _unary__edvuaz_15 + 1 | 0;
463
+ chars[_unary__edvuaz_15] = c_14;
464
+ var c_15 = numberToChar((65533 & 1023) + 56320 | 0);
465
+ var _unary__edvuaz_16 = length;
466
+ length = _unary__edvuaz_16 + 1 | 0;
467
+ chars[_unary__edvuaz_16] = c_15;
468
+ } else {
469
+ var c_16 = _Char___init__impl__6a9atx(65533);
470
+ var _unary__edvuaz_17 = length;
471
+ length = _unary__edvuaz_17 + 1 | 0;
472
+ chars[_unary__edvuaz_17] = c_16;
473
+ }
474
+ tmp$ret$41 = 1;
475
+ break $l$block_10;
476
+ }
477
+ var b2_0 = _this__u8e3s4[tmp2_1 + 2 | 0];
478
+ // Inline function 'okio.isUtf8Continuation' call
479
+ // Inline function 'okio.and' call
480
+ if (!((b2_0 & 192) === 128)) {
481
+ if (!(65533 === 65533)) {
482
+ var c_17 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
483
+ var _unary__edvuaz_18 = length;
484
+ length = _unary__edvuaz_18 + 1 | 0;
485
+ chars[_unary__edvuaz_18] = c_17;
486
+ var c_18 = numberToChar((65533 & 1023) + 56320 | 0);
487
+ var _unary__edvuaz_19 = length;
488
+ length = _unary__edvuaz_19 + 1 | 0;
489
+ chars[_unary__edvuaz_19] = c_18;
490
+ } else {
491
+ var c_19 = _Char___init__impl__6a9atx(65533);
492
+ var _unary__edvuaz_20 = length;
493
+ length = _unary__edvuaz_20 + 1 | 0;
494
+ chars[_unary__edvuaz_20] = c_19;
495
+ }
496
+ tmp$ret$41 = 2;
497
+ break $l$block_10;
498
+ }
499
+ var b3 = _this__u8e3s4[tmp2_1 + 3 | 0];
500
+ // Inline function 'okio.isUtf8Continuation' call
501
+ // Inline function 'okio.and' call
502
+ if (!((b3 & 192) === 128)) {
503
+ if (!(65533 === 65533)) {
504
+ var c_20 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
505
+ var _unary__edvuaz_21 = length;
506
+ length = _unary__edvuaz_21 + 1 | 0;
507
+ chars[_unary__edvuaz_21] = c_20;
508
+ var c_21 = numberToChar((65533 & 1023) + 56320 | 0);
509
+ var _unary__edvuaz_22 = length;
510
+ length = _unary__edvuaz_22 + 1 | 0;
511
+ chars[_unary__edvuaz_22] = c_21;
512
+ } else {
513
+ var c_22 = _Char___init__impl__6a9atx(65533);
514
+ var _unary__edvuaz_23 = length;
515
+ length = _unary__edvuaz_23 + 1 | 0;
516
+ chars[_unary__edvuaz_23] = c_22;
517
+ }
518
+ tmp$ret$41 = 3;
519
+ break $l$block_10;
520
+ }
521
+ var codePoint_1 = 3678080 ^ b3 ^ b2_0 << 6 ^ b1_1 << 12 ^ b0_2 << 18;
522
+ if (codePoint_1 > 1114111) {
523
+ if (!(65533 === 65533)) {
524
+ var c_23 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
525
+ var _unary__edvuaz_24 = length;
526
+ length = _unary__edvuaz_24 + 1 | 0;
527
+ chars[_unary__edvuaz_24] = c_23;
528
+ var c_24 = numberToChar((65533 & 1023) + 56320 | 0);
529
+ var _unary__edvuaz_25 = length;
530
+ length = _unary__edvuaz_25 + 1 | 0;
531
+ chars[_unary__edvuaz_25] = c_24;
532
+ } else {
533
+ var c_25 = _Char___init__impl__6a9atx(65533);
534
+ var _unary__edvuaz_26 = length;
535
+ length = _unary__edvuaz_26 + 1 | 0;
536
+ chars[_unary__edvuaz_26] = c_25;
537
+ }
538
+ } else if (55296 <= codePoint_1 ? codePoint_1 <= 57343 : false) {
539
+ if (!(65533 === 65533)) {
540
+ var c_26 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
541
+ var _unary__edvuaz_27 = length;
542
+ length = _unary__edvuaz_27 + 1 | 0;
543
+ chars[_unary__edvuaz_27] = c_26;
544
+ var c_27 = numberToChar((65533 & 1023) + 56320 | 0);
545
+ var _unary__edvuaz_28 = length;
546
+ length = _unary__edvuaz_28 + 1 | 0;
547
+ chars[_unary__edvuaz_28] = c_27;
548
+ } else {
549
+ var c_28 = _Char___init__impl__6a9atx(65533);
550
+ var _unary__edvuaz_29 = length;
551
+ length = _unary__edvuaz_29 + 1 | 0;
552
+ chars[_unary__edvuaz_29] = c_28;
553
+ }
554
+ } else if (codePoint_1 < 65536) {
555
+ if (!(65533 === 65533)) {
556
+ var c_29 = numberToChar((65533 >>> 10 | 0) + 55232 | 0);
557
+ var _unary__edvuaz_30 = length;
558
+ length = _unary__edvuaz_30 + 1 | 0;
559
+ chars[_unary__edvuaz_30] = c_29;
560
+ var c_30 = numberToChar((65533 & 1023) + 56320 | 0);
561
+ var _unary__edvuaz_31 = length;
562
+ length = _unary__edvuaz_31 + 1 | 0;
563
+ chars[_unary__edvuaz_31] = c_30;
564
+ } else {
565
+ var c_31 = _Char___init__impl__6a9atx(65533);
566
+ var _unary__edvuaz_32 = length;
567
+ length = _unary__edvuaz_32 + 1 | 0;
568
+ chars[_unary__edvuaz_32] = c_31;
569
+ }
570
+ } else {
571
+ if (!(codePoint_1 === 65533)) {
572
+ var c_32 = numberToChar((codePoint_1 >>> 10 | 0) + 55232 | 0);
573
+ var _unary__edvuaz_33 = length;
574
+ length = _unary__edvuaz_33 + 1 | 0;
575
+ chars[_unary__edvuaz_33] = c_32;
576
+ var c_33 = numberToChar((codePoint_1 & 1023) + 56320 | 0);
577
+ var _unary__edvuaz_34 = length;
578
+ length = _unary__edvuaz_34 + 1 | 0;
579
+ chars[_unary__edvuaz_34] = c_33;
580
+ } else {
581
+ var c_34 = _Char___init__impl__6a9atx(65533);
582
+ var _unary__edvuaz_35 = length;
583
+ length = _unary__edvuaz_35 + 1 | 0;
584
+ chars[_unary__edvuaz_35] = c_34;
585
+ }
586
+ }
587
+ tmp$ret$41 = 4;
588
+ }
589
+ index = tmp_2 + tmp$ret$41 | 0;
590
+ } else {
591
+ var c_35 = _Char___init__impl__6a9atx(65533);
592
+ var _unary__edvuaz_36 = length;
593
+ length = _unary__edvuaz_36 + 1 | 0;
594
+ chars[_unary__edvuaz_36] = c_35;
595
+ index = index + 1 | 0;
596
+ }
597
+ }
598
+ }
599
+ }
600
+ }
601
+ return concatToString(chars, 0, length);
602
+ }
603
+ function get_HEX_DIGIT_CHARS() {
604
+ _init_properties_ByteString_kt__sqjq7b();
605
+ return HEX_DIGIT_CHARS;
606
+ }
607
+ var HEX_DIGIT_CHARS;
608
+ function codePointIndexToCharIndex(s, codePointCount) {
609
+ _init_properties_ByteString_kt__sqjq7b();
610
+ var charCount = 0;
611
+ var j = 0;
612
+ // Inline function 'okio.processUtf8CodePoints' call
613
+ var endIndex = s.length;
614
+ var index = 0;
615
+ while (index < endIndex) {
616
+ var b0 = s[index];
617
+ if (b0 >= 0) {
618
+ var _unary__edvuaz = j;
619
+ j = _unary__edvuaz + 1 | 0;
620
+ if (_unary__edvuaz === codePointCount) {
621
+ return charCount;
622
+ }
623
+ var tmp;
624
+ var tmp_0;
625
+ var tmp_1;
626
+ // Inline function 'kotlin.code' call
627
+ var this_0 = _Char___init__impl__6a9atx(10);
628
+ if (!(b0 === Char__toInt_impl_vasixd(this_0))) {
629
+ // Inline function 'kotlin.code' call
630
+ var this_1 = _Char___init__impl__6a9atx(13);
631
+ tmp_1 = !(b0 === Char__toInt_impl_vasixd(this_1));
632
+ } else {
633
+ tmp_1 = false;
634
+ }
635
+ if (tmp_1) {
636
+ // Inline function 'okio.isIsoControl' call
637
+ tmp_0 = (0 <= b0 ? b0 <= 31 : false) || (127 <= b0 ? b0 <= 159 : false);
638
+ } else {
639
+ tmp_0 = false;
640
+ }
641
+ if (tmp_0) {
642
+ tmp = true;
643
+ } else {
644
+ tmp = b0 === 65533;
645
+ }
646
+ if (tmp) {
647
+ return -1;
648
+ }
649
+ charCount = charCount + (b0 < 65536 ? 1 : 2) | 0;
650
+ index = index + 1 | 0;
651
+ while (index < endIndex && s[index] >= 0) {
652
+ var _unary__edvuaz_0 = index;
653
+ index = _unary__edvuaz_0 + 1 | 0;
654
+ var c = s[_unary__edvuaz_0];
655
+ var _unary__edvuaz_1 = j;
656
+ j = _unary__edvuaz_1 + 1 | 0;
657
+ if (_unary__edvuaz_1 === codePointCount) {
658
+ return charCount;
659
+ }
660
+ var tmp_2;
661
+ var tmp_3;
662
+ var tmp_4;
663
+ // Inline function 'kotlin.code' call
664
+ var this_2 = _Char___init__impl__6a9atx(10);
665
+ if (!(c === Char__toInt_impl_vasixd(this_2))) {
666
+ // Inline function 'kotlin.code' call
667
+ var this_3 = _Char___init__impl__6a9atx(13);
668
+ tmp_4 = !(c === Char__toInt_impl_vasixd(this_3));
669
+ } else {
670
+ tmp_4 = false;
671
+ }
672
+ if (tmp_4) {
673
+ // Inline function 'okio.isIsoControl' call
674
+ tmp_3 = (0 <= c ? c <= 31 : false) || (127 <= c ? c <= 159 : false);
675
+ } else {
676
+ tmp_3 = false;
677
+ }
678
+ if (tmp_3) {
679
+ tmp_2 = true;
680
+ } else {
681
+ tmp_2 = c === 65533;
682
+ }
683
+ if (tmp_2) {
684
+ return -1;
685
+ }
686
+ charCount = charCount + (c < 65536 ? 1 : 2) | 0;
687
+ }
688
+ } else {
689
+ // Inline function 'okio.shr' call
690
+ if (b0 >> 5 === -2) {
691
+ var tmp_5 = index;
692
+ var tmp2 = index;
693
+ var tmp$ret$14;
694
+ $l$block_0: {
695
+ // Inline function 'okio.process2Utf8Bytes' call
696
+ if (endIndex <= (tmp2 + 1 | 0)) {
697
+ var _unary__edvuaz_2 = j;
698
+ j = _unary__edvuaz_2 + 1 | 0;
699
+ if (_unary__edvuaz_2 === codePointCount) {
700
+ return charCount;
701
+ }
702
+ var tmp_6;
703
+ var tmp_7;
704
+ var tmp_8;
705
+ // Inline function 'kotlin.code' call
706
+ var this_4 = _Char___init__impl__6a9atx(10);
707
+ if (!(65533 === Char__toInt_impl_vasixd(this_4))) {
708
+ // Inline function 'kotlin.code' call
709
+ var this_5 = _Char___init__impl__6a9atx(13);
710
+ tmp_8 = !(65533 === Char__toInt_impl_vasixd(this_5));
711
+ } else {
712
+ tmp_8 = false;
713
+ }
714
+ if (tmp_8) {
715
+ // Inline function 'okio.isIsoControl' call
716
+ tmp_7 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
717
+ } else {
718
+ tmp_7 = false;
719
+ }
720
+ if (tmp_7) {
721
+ tmp_6 = true;
722
+ } else {
723
+ tmp_6 = 65533 === 65533;
724
+ }
725
+ if (tmp_6) {
726
+ return -1;
727
+ }
728
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
729
+ tmp$ret$14 = 1;
730
+ break $l$block_0;
731
+ }
732
+ var b0_0 = s[tmp2];
733
+ var b1 = s[tmp2 + 1 | 0];
734
+ // Inline function 'okio.isUtf8Continuation' call
735
+ // Inline function 'okio.and' call
736
+ if (!((b1 & 192) === 128)) {
737
+ var _unary__edvuaz_3 = j;
738
+ j = _unary__edvuaz_3 + 1 | 0;
739
+ if (_unary__edvuaz_3 === codePointCount) {
740
+ return charCount;
741
+ }
742
+ var tmp_9;
743
+ var tmp_10;
744
+ var tmp_11;
745
+ // Inline function 'kotlin.code' call
746
+ var this_6 = _Char___init__impl__6a9atx(10);
747
+ if (!(65533 === Char__toInt_impl_vasixd(this_6))) {
748
+ // Inline function 'kotlin.code' call
749
+ var this_7 = _Char___init__impl__6a9atx(13);
750
+ tmp_11 = !(65533 === Char__toInt_impl_vasixd(this_7));
751
+ } else {
752
+ tmp_11 = false;
753
+ }
754
+ if (tmp_11) {
755
+ // Inline function 'okio.isIsoControl' call
756
+ tmp_10 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
757
+ } else {
758
+ tmp_10 = false;
759
+ }
760
+ if (tmp_10) {
761
+ tmp_9 = true;
762
+ } else {
763
+ tmp_9 = 65533 === 65533;
764
+ }
765
+ if (tmp_9) {
766
+ return -1;
767
+ }
768
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
769
+ tmp$ret$14 = 1;
770
+ break $l$block_0;
771
+ }
772
+ var codePoint = 3968 ^ b1 ^ b0_0 << 6;
773
+ if (codePoint < 128) {
774
+ var _unary__edvuaz_4 = j;
775
+ j = _unary__edvuaz_4 + 1 | 0;
776
+ if (_unary__edvuaz_4 === codePointCount) {
777
+ return charCount;
778
+ }
779
+ var tmp_12;
780
+ var tmp_13;
781
+ var tmp_14;
782
+ // Inline function 'kotlin.code' call
783
+ var this_8 = _Char___init__impl__6a9atx(10);
784
+ if (!(65533 === Char__toInt_impl_vasixd(this_8))) {
785
+ // Inline function 'kotlin.code' call
786
+ var this_9 = _Char___init__impl__6a9atx(13);
787
+ tmp_14 = !(65533 === Char__toInt_impl_vasixd(this_9));
788
+ } else {
789
+ tmp_14 = false;
790
+ }
791
+ if (tmp_14) {
792
+ // Inline function 'okio.isIsoControl' call
793
+ tmp_13 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
794
+ } else {
795
+ tmp_13 = false;
796
+ }
797
+ if (tmp_13) {
798
+ tmp_12 = true;
799
+ } else {
800
+ tmp_12 = 65533 === 65533;
801
+ }
802
+ if (tmp_12) {
803
+ return -1;
804
+ }
805
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
806
+ } else {
807
+ var _unary__edvuaz_5 = j;
808
+ j = _unary__edvuaz_5 + 1 | 0;
809
+ if (_unary__edvuaz_5 === codePointCount) {
810
+ return charCount;
811
+ }
812
+ var tmp_15;
813
+ var tmp_16;
814
+ var tmp_17;
815
+ // Inline function 'kotlin.code' call
816
+ var this_10 = _Char___init__impl__6a9atx(10);
817
+ if (!(codePoint === Char__toInt_impl_vasixd(this_10))) {
818
+ // Inline function 'kotlin.code' call
819
+ var this_11 = _Char___init__impl__6a9atx(13);
820
+ tmp_17 = !(codePoint === Char__toInt_impl_vasixd(this_11));
821
+ } else {
822
+ tmp_17 = false;
823
+ }
824
+ if (tmp_17) {
825
+ // Inline function 'okio.isIsoControl' call
826
+ tmp_16 = (0 <= codePoint ? codePoint <= 31 : false) || (127 <= codePoint ? codePoint <= 159 : false);
827
+ } else {
828
+ tmp_16 = false;
829
+ }
830
+ if (tmp_16) {
831
+ tmp_15 = true;
832
+ } else {
833
+ tmp_15 = codePoint === 65533;
834
+ }
835
+ if (tmp_15) {
836
+ return -1;
837
+ }
838
+ charCount = charCount + (codePoint < 65536 ? 1 : 2) | 0;
839
+ }
840
+ tmp$ret$14 = 2;
841
+ }
842
+ index = tmp_5 + tmp$ret$14 | 0;
843
+ } else {
844
+ // Inline function 'okio.shr' call
845
+ if (b0 >> 4 === -2) {
846
+ var tmp_18 = index;
847
+ var tmp2_0 = index;
848
+ var tmp$ret$40;
849
+ $l$block_4: {
850
+ // Inline function 'okio.process3Utf8Bytes' call
851
+ if (endIndex <= (tmp2_0 + 2 | 0)) {
852
+ var _unary__edvuaz_6 = j;
853
+ j = _unary__edvuaz_6 + 1 | 0;
854
+ if (_unary__edvuaz_6 === codePointCount) {
855
+ return charCount;
856
+ }
857
+ var tmp_19;
858
+ var tmp_20;
859
+ var tmp_21;
860
+ // Inline function 'kotlin.code' call
861
+ var this_12 = _Char___init__impl__6a9atx(10);
862
+ if (!(65533 === Char__toInt_impl_vasixd(this_12))) {
863
+ // Inline function 'kotlin.code' call
864
+ var this_13 = _Char___init__impl__6a9atx(13);
865
+ tmp_21 = !(65533 === Char__toInt_impl_vasixd(this_13));
866
+ } else {
867
+ tmp_21 = false;
868
+ }
869
+ if (tmp_21) {
870
+ // Inline function 'okio.isIsoControl' call
871
+ tmp_20 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
872
+ } else {
873
+ tmp_20 = false;
874
+ }
875
+ if (tmp_20) {
876
+ tmp_19 = true;
877
+ } else {
878
+ tmp_19 = 65533 === 65533;
879
+ }
880
+ if (tmp_19) {
881
+ return -1;
882
+ }
883
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
884
+ var tmp_22;
885
+ if (endIndex <= (tmp2_0 + 1 | 0)) {
886
+ tmp_22 = true;
887
+ } else {
888
+ // Inline function 'okio.isUtf8Continuation' call
889
+ // Inline function 'okio.and' call
890
+ tmp_22 = !((s[tmp2_0 + 1 | 0] & 192) === 128);
891
+ }
892
+ if (tmp_22) {
893
+ tmp$ret$40 = 1;
894
+ break $l$block_4;
895
+ } else {
896
+ tmp$ret$40 = 2;
897
+ break $l$block_4;
898
+ }
899
+ }
900
+ var b0_1 = s[tmp2_0];
901
+ var b1_0 = s[tmp2_0 + 1 | 0];
902
+ // Inline function 'okio.isUtf8Continuation' call
903
+ // Inline function 'okio.and' call
904
+ if (!((b1_0 & 192) === 128)) {
905
+ var _unary__edvuaz_7 = j;
906
+ j = _unary__edvuaz_7 + 1 | 0;
907
+ if (_unary__edvuaz_7 === codePointCount) {
908
+ return charCount;
909
+ }
910
+ var tmp_23;
911
+ var tmp_24;
912
+ var tmp_25;
913
+ // Inline function 'kotlin.code' call
914
+ var this_14 = _Char___init__impl__6a9atx(10);
915
+ if (!(65533 === Char__toInt_impl_vasixd(this_14))) {
916
+ // Inline function 'kotlin.code' call
917
+ var this_15 = _Char___init__impl__6a9atx(13);
918
+ tmp_25 = !(65533 === Char__toInt_impl_vasixd(this_15));
919
+ } else {
920
+ tmp_25 = false;
921
+ }
922
+ if (tmp_25) {
923
+ // Inline function 'okio.isIsoControl' call
924
+ tmp_24 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
925
+ } else {
926
+ tmp_24 = false;
927
+ }
928
+ if (tmp_24) {
929
+ tmp_23 = true;
930
+ } else {
931
+ tmp_23 = 65533 === 65533;
932
+ }
933
+ if (tmp_23) {
934
+ return -1;
935
+ }
936
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
937
+ tmp$ret$40 = 1;
938
+ break $l$block_4;
939
+ }
940
+ var b2 = s[tmp2_0 + 2 | 0];
941
+ // Inline function 'okio.isUtf8Continuation' call
942
+ // Inline function 'okio.and' call
943
+ if (!((b2 & 192) === 128)) {
944
+ var _unary__edvuaz_8 = j;
945
+ j = _unary__edvuaz_8 + 1 | 0;
946
+ if (_unary__edvuaz_8 === codePointCount) {
947
+ return charCount;
948
+ }
949
+ var tmp_26;
950
+ var tmp_27;
951
+ var tmp_28;
952
+ // Inline function 'kotlin.code' call
953
+ var this_16 = _Char___init__impl__6a9atx(10);
954
+ if (!(65533 === Char__toInt_impl_vasixd(this_16))) {
955
+ // Inline function 'kotlin.code' call
956
+ var this_17 = _Char___init__impl__6a9atx(13);
957
+ tmp_28 = !(65533 === Char__toInt_impl_vasixd(this_17));
958
+ } else {
959
+ tmp_28 = false;
960
+ }
961
+ if (tmp_28) {
962
+ // Inline function 'okio.isIsoControl' call
963
+ tmp_27 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
964
+ } else {
965
+ tmp_27 = false;
966
+ }
967
+ if (tmp_27) {
968
+ tmp_26 = true;
969
+ } else {
970
+ tmp_26 = 65533 === 65533;
971
+ }
972
+ if (tmp_26) {
973
+ return -1;
974
+ }
975
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
976
+ tmp$ret$40 = 2;
977
+ break $l$block_4;
978
+ }
979
+ var codePoint_0 = -123008 ^ b2 ^ b1_0 << 6 ^ b0_1 << 12;
980
+ if (codePoint_0 < 2048) {
981
+ var _unary__edvuaz_9 = j;
982
+ j = _unary__edvuaz_9 + 1 | 0;
983
+ if (_unary__edvuaz_9 === codePointCount) {
984
+ return charCount;
985
+ }
986
+ var tmp_29;
987
+ var tmp_30;
988
+ var tmp_31;
989
+ // Inline function 'kotlin.code' call
990
+ var this_18 = _Char___init__impl__6a9atx(10);
991
+ if (!(65533 === Char__toInt_impl_vasixd(this_18))) {
992
+ // Inline function 'kotlin.code' call
993
+ var this_19 = _Char___init__impl__6a9atx(13);
994
+ tmp_31 = !(65533 === Char__toInt_impl_vasixd(this_19));
995
+ } else {
996
+ tmp_31 = false;
997
+ }
998
+ if (tmp_31) {
999
+ // Inline function 'okio.isIsoControl' call
1000
+ tmp_30 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1001
+ } else {
1002
+ tmp_30 = false;
1003
+ }
1004
+ if (tmp_30) {
1005
+ tmp_29 = true;
1006
+ } else {
1007
+ tmp_29 = 65533 === 65533;
1008
+ }
1009
+ if (tmp_29) {
1010
+ return -1;
1011
+ }
1012
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1013
+ } else if (55296 <= codePoint_0 ? codePoint_0 <= 57343 : false) {
1014
+ var _unary__edvuaz_10 = j;
1015
+ j = _unary__edvuaz_10 + 1 | 0;
1016
+ if (_unary__edvuaz_10 === codePointCount) {
1017
+ return charCount;
1018
+ }
1019
+ var tmp_32;
1020
+ var tmp_33;
1021
+ var tmp_34;
1022
+ // Inline function 'kotlin.code' call
1023
+ var this_20 = _Char___init__impl__6a9atx(10);
1024
+ if (!(65533 === Char__toInt_impl_vasixd(this_20))) {
1025
+ // Inline function 'kotlin.code' call
1026
+ var this_21 = _Char___init__impl__6a9atx(13);
1027
+ tmp_34 = !(65533 === Char__toInt_impl_vasixd(this_21));
1028
+ } else {
1029
+ tmp_34 = false;
1030
+ }
1031
+ if (tmp_34) {
1032
+ // Inline function 'okio.isIsoControl' call
1033
+ tmp_33 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1034
+ } else {
1035
+ tmp_33 = false;
1036
+ }
1037
+ if (tmp_33) {
1038
+ tmp_32 = true;
1039
+ } else {
1040
+ tmp_32 = 65533 === 65533;
1041
+ }
1042
+ if (tmp_32) {
1043
+ return -1;
1044
+ }
1045
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1046
+ } else {
1047
+ var _unary__edvuaz_11 = j;
1048
+ j = _unary__edvuaz_11 + 1 | 0;
1049
+ if (_unary__edvuaz_11 === codePointCount) {
1050
+ return charCount;
1051
+ }
1052
+ var tmp_35;
1053
+ var tmp_36;
1054
+ var tmp_37;
1055
+ // Inline function 'kotlin.code' call
1056
+ var this_22 = _Char___init__impl__6a9atx(10);
1057
+ if (!(codePoint_0 === Char__toInt_impl_vasixd(this_22))) {
1058
+ // Inline function 'kotlin.code' call
1059
+ var this_23 = _Char___init__impl__6a9atx(13);
1060
+ tmp_37 = !(codePoint_0 === Char__toInt_impl_vasixd(this_23));
1061
+ } else {
1062
+ tmp_37 = false;
1063
+ }
1064
+ if (tmp_37) {
1065
+ // Inline function 'okio.isIsoControl' call
1066
+ tmp_36 = (0 <= codePoint_0 ? codePoint_0 <= 31 : false) || (127 <= codePoint_0 ? codePoint_0 <= 159 : false);
1067
+ } else {
1068
+ tmp_36 = false;
1069
+ }
1070
+ if (tmp_36) {
1071
+ tmp_35 = true;
1072
+ } else {
1073
+ tmp_35 = codePoint_0 === 65533;
1074
+ }
1075
+ if (tmp_35) {
1076
+ return -1;
1077
+ }
1078
+ charCount = charCount + (codePoint_0 < 65536 ? 1 : 2) | 0;
1079
+ }
1080
+ tmp$ret$40 = 3;
1081
+ }
1082
+ index = tmp_18 + tmp$ret$40 | 0;
1083
+ } else {
1084
+ // Inline function 'okio.shr' call
1085
+ if (b0 >> 3 === -2) {
1086
+ var tmp_38 = index;
1087
+ var tmp2_1 = index;
1088
+ var tmp$ret$78;
1089
+ $l$block_10: {
1090
+ // Inline function 'okio.process4Utf8Bytes' call
1091
+ if (endIndex <= (tmp2_1 + 3 | 0)) {
1092
+ var _unary__edvuaz_12 = j;
1093
+ j = _unary__edvuaz_12 + 1 | 0;
1094
+ if (_unary__edvuaz_12 === codePointCount) {
1095
+ return charCount;
1096
+ }
1097
+ var tmp_39;
1098
+ var tmp_40;
1099
+ var tmp_41;
1100
+ // Inline function 'kotlin.code' call
1101
+ var this_24 = _Char___init__impl__6a9atx(10);
1102
+ if (!(65533 === Char__toInt_impl_vasixd(this_24))) {
1103
+ // Inline function 'kotlin.code' call
1104
+ var this_25 = _Char___init__impl__6a9atx(13);
1105
+ tmp_41 = !(65533 === Char__toInt_impl_vasixd(this_25));
1106
+ } else {
1107
+ tmp_41 = false;
1108
+ }
1109
+ if (tmp_41) {
1110
+ // Inline function 'okio.isIsoControl' call
1111
+ tmp_40 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1112
+ } else {
1113
+ tmp_40 = false;
1114
+ }
1115
+ if (tmp_40) {
1116
+ tmp_39 = true;
1117
+ } else {
1118
+ tmp_39 = 65533 === 65533;
1119
+ }
1120
+ if (tmp_39) {
1121
+ return -1;
1122
+ }
1123
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1124
+ var tmp_42;
1125
+ if (endIndex <= (tmp2_1 + 1 | 0)) {
1126
+ tmp_42 = true;
1127
+ } else {
1128
+ // Inline function 'okio.isUtf8Continuation' call
1129
+ // Inline function 'okio.and' call
1130
+ tmp_42 = !((s[tmp2_1 + 1 | 0] & 192) === 128);
1131
+ }
1132
+ if (tmp_42) {
1133
+ tmp$ret$78 = 1;
1134
+ break $l$block_10;
1135
+ } else {
1136
+ var tmp_43;
1137
+ if (endIndex <= (tmp2_1 + 2 | 0)) {
1138
+ tmp_43 = true;
1139
+ } else {
1140
+ // Inline function 'okio.isUtf8Continuation' call
1141
+ // Inline function 'okio.and' call
1142
+ tmp_43 = !((s[tmp2_1 + 2 | 0] & 192) === 128);
1143
+ }
1144
+ if (tmp_43) {
1145
+ tmp$ret$78 = 2;
1146
+ break $l$block_10;
1147
+ } else {
1148
+ tmp$ret$78 = 3;
1149
+ break $l$block_10;
1150
+ }
1151
+ }
1152
+ }
1153
+ var b0_2 = s[tmp2_1];
1154
+ var b1_1 = s[tmp2_1 + 1 | 0];
1155
+ // Inline function 'okio.isUtf8Continuation' call
1156
+ // Inline function 'okio.and' call
1157
+ if (!((b1_1 & 192) === 128)) {
1158
+ var _unary__edvuaz_13 = j;
1159
+ j = _unary__edvuaz_13 + 1 | 0;
1160
+ if (_unary__edvuaz_13 === codePointCount) {
1161
+ return charCount;
1162
+ }
1163
+ var tmp_44;
1164
+ var tmp_45;
1165
+ var tmp_46;
1166
+ // Inline function 'kotlin.code' call
1167
+ var this_26 = _Char___init__impl__6a9atx(10);
1168
+ if (!(65533 === Char__toInt_impl_vasixd(this_26))) {
1169
+ // Inline function 'kotlin.code' call
1170
+ var this_27 = _Char___init__impl__6a9atx(13);
1171
+ tmp_46 = !(65533 === Char__toInt_impl_vasixd(this_27));
1172
+ } else {
1173
+ tmp_46 = false;
1174
+ }
1175
+ if (tmp_46) {
1176
+ // Inline function 'okio.isIsoControl' call
1177
+ tmp_45 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1178
+ } else {
1179
+ tmp_45 = false;
1180
+ }
1181
+ if (tmp_45) {
1182
+ tmp_44 = true;
1183
+ } else {
1184
+ tmp_44 = 65533 === 65533;
1185
+ }
1186
+ if (tmp_44) {
1187
+ return -1;
1188
+ }
1189
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1190
+ tmp$ret$78 = 1;
1191
+ break $l$block_10;
1192
+ }
1193
+ var b2_0 = s[tmp2_1 + 2 | 0];
1194
+ // Inline function 'okio.isUtf8Continuation' call
1195
+ // Inline function 'okio.and' call
1196
+ if (!((b2_0 & 192) === 128)) {
1197
+ var _unary__edvuaz_14 = j;
1198
+ j = _unary__edvuaz_14 + 1 | 0;
1199
+ if (_unary__edvuaz_14 === codePointCount) {
1200
+ return charCount;
1201
+ }
1202
+ var tmp_47;
1203
+ var tmp_48;
1204
+ var tmp_49;
1205
+ // Inline function 'kotlin.code' call
1206
+ var this_28 = _Char___init__impl__6a9atx(10);
1207
+ if (!(65533 === Char__toInt_impl_vasixd(this_28))) {
1208
+ // Inline function 'kotlin.code' call
1209
+ var this_29 = _Char___init__impl__6a9atx(13);
1210
+ tmp_49 = !(65533 === Char__toInt_impl_vasixd(this_29));
1211
+ } else {
1212
+ tmp_49 = false;
1213
+ }
1214
+ if (tmp_49) {
1215
+ // Inline function 'okio.isIsoControl' call
1216
+ tmp_48 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1217
+ } else {
1218
+ tmp_48 = false;
1219
+ }
1220
+ if (tmp_48) {
1221
+ tmp_47 = true;
1222
+ } else {
1223
+ tmp_47 = 65533 === 65533;
1224
+ }
1225
+ if (tmp_47) {
1226
+ return -1;
1227
+ }
1228
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1229
+ tmp$ret$78 = 2;
1230
+ break $l$block_10;
1231
+ }
1232
+ var b3 = s[tmp2_1 + 3 | 0];
1233
+ // Inline function 'okio.isUtf8Continuation' call
1234
+ // Inline function 'okio.and' call
1235
+ if (!((b3 & 192) === 128)) {
1236
+ var _unary__edvuaz_15 = j;
1237
+ j = _unary__edvuaz_15 + 1 | 0;
1238
+ if (_unary__edvuaz_15 === codePointCount) {
1239
+ return charCount;
1240
+ }
1241
+ var tmp_50;
1242
+ var tmp_51;
1243
+ var tmp_52;
1244
+ // Inline function 'kotlin.code' call
1245
+ var this_30 = _Char___init__impl__6a9atx(10);
1246
+ if (!(65533 === Char__toInt_impl_vasixd(this_30))) {
1247
+ // Inline function 'kotlin.code' call
1248
+ var this_31 = _Char___init__impl__6a9atx(13);
1249
+ tmp_52 = !(65533 === Char__toInt_impl_vasixd(this_31));
1250
+ } else {
1251
+ tmp_52 = false;
1252
+ }
1253
+ if (tmp_52) {
1254
+ // Inline function 'okio.isIsoControl' call
1255
+ tmp_51 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1256
+ } else {
1257
+ tmp_51 = false;
1258
+ }
1259
+ if (tmp_51) {
1260
+ tmp_50 = true;
1261
+ } else {
1262
+ tmp_50 = 65533 === 65533;
1263
+ }
1264
+ if (tmp_50) {
1265
+ return -1;
1266
+ }
1267
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1268
+ tmp$ret$78 = 3;
1269
+ break $l$block_10;
1270
+ }
1271
+ var codePoint_1 = 3678080 ^ b3 ^ b2_0 << 6 ^ b1_1 << 12 ^ b0_2 << 18;
1272
+ if (codePoint_1 > 1114111) {
1273
+ var _unary__edvuaz_16 = j;
1274
+ j = _unary__edvuaz_16 + 1 | 0;
1275
+ if (_unary__edvuaz_16 === codePointCount) {
1276
+ return charCount;
1277
+ }
1278
+ var tmp_53;
1279
+ var tmp_54;
1280
+ var tmp_55;
1281
+ // Inline function 'kotlin.code' call
1282
+ var this_32 = _Char___init__impl__6a9atx(10);
1283
+ if (!(65533 === Char__toInt_impl_vasixd(this_32))) {
1284
+ // Inline function 'kotlin.code' call
1285
+ var this_33 = _Char___init__impl__6a9atx(13);
1286
+ tmp_55 = !(65533 === Char__toInt_impl_vasixd(this_33));
1287
+ } else {
1288
+ tmp_55 = false;
1289
+ }
1290
+ if (tmp_55) {
1291
+ // Inline function 'okio.isIsoControl' call
1292
+ tmp_54 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1293
+ } else {
1294
+ tmp_54 = false;
1295
+ }
1296
+ if (tmp_54) {
1297
+ tmp_53 = true;
1298
+ } else {
1299
+ tmp_53 = 65533 === 65533;
1300
+ }
1301
+ if (tmp_53) {
1302
+ return -1;
1303
+ }
1304
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1305
+ } else if (55296 <= codePoint_1 ? codePoint_1 <= 57343 : false) {
1306
+ var _unary__edvuaz_17 = j;
1307
+ j = _unary__edvuaz_17 + 1 | 0;
1308
+ if (_unary__edvuaz_17 === codePointCount) {
1309
+ return charCount;
1310
+ }
1311
+ var tmp_56;
1312
+ var tmp_57;
1313
+ var tmp_58;
1314
+ // Inline function 'kotlin.code' call
1315
+ var this_34 = _Char___init__impl__6a9atx(10);
1316
+ if (!(65533 === Char__toInt_impl_vasixd(this_34))) {
1317
+ // Inline function 'kotlin.code' call
1318
+ var this_35 = _Char___init__impl__6a9atx(13);
1319
+ tmp_58 = !(65533 === Char__toInt_impl_vasixd(this_35));
1320
+ } else {
1321
+ tmp_58 = false;
1322
+ }
1323
+ if (tmp_58) {
1324
+ // Inline function 'okio.isIsoControl' call
1325
+ tmp_57 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1326
+ } else {
1327
+ tmp_57 = false;
1328
+ }
1329
+ if (tmp_57) {
1330
+ tmp_56 = true;
1331
+ } else {
1332
+ tmp_56 = 65533 === 65533;
1333
+ }
1334
+ if (tmp_56) {
1335
+ return -1;
1336
+ }
1337
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1338
+ } else if (codePoint_1 < 65536) {
1339
+ var _unary__edvuaz_18 = j;
1340
+ j = _unary__edvuaz_18 + 1 | 0;
1341
+ if (_unary__edvuaz_18 === codePointCount) {
1342
+ return charCount;
1343
+ }
1344
+ var tmp_59;
1345
+ var tmp_60;
1346
+ var tmp_61;
1347
+ // Inline function 'kotlin.code' call
1348
+ var this_36 = _Char___init__impl__6a9atx(10);
1349
+ if (!(65533 === Char__toInt_impl_vasixd(this_36))) {
1350
+ // Inline function 'kotlin.code' call
1351
+ var this_37 = _Char___init__impl__6a9atx(13);
1352
+ tmp_61 = !(65533 === Char__toInt_impl_vasixd(this_37));
1353
+ } else {
1354
+ tmp_61 = false;
1355
+ }
1356
+ if (tmp_61) {
1357
+ // Inline function 'okio.isIsoControl' call
1358
+ tmp_60 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1359
+ } else {
1360
+ tmp_60 = false;
1361
+ }
1362
+ if (tmp_60) {
1363
+ tmp_59 = true;
1364
+ } else {
1365
+ tmp_59 = 65533 === 65533;
1366
+ }
1367
+ if (tmp_59) {
1368
+ return -1;
1369
+ }
1370
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1371
+ } else {
1372
+ var _unary__edvuaz_19 = j;
1373
+ j = _unary__edvuaz_19 + 1 | 0;
1374
+ if (_unary__edvuaz_19 === codePointCount) {
1375
+ return charCount;
1376
+ }
1377
+ var tmp_62;
1378
+ var tmp_63;
1379
+ var tmp_64;
1380
+ // Inline function 'kotlin.code' call
1381
+ var this_38 = _Char___init__impl__6a9atx(10);
1382
+ if (!(codePoint_1 === Char__toInt_impl_vasixd(this_38))) {
1383
+ // Inline function 'kotlin.code' call
1384
+ var this_39 = _Char___init__impl__6a9atx(13);
1385
+ tmp_64 = !(codePoint_1 === Char__toInt_impl_vasixd(this_39));
1386
+ } else {
1387
+ tmp_64 = false;
1388
+ }
1389
+ if (tmp_64) {
1390
+ // Inline function 'okio.isIsoControl' call
1391
+ tmp_63 = (0 <= codePoint_1 ? codePoint_1 <= 31 : false) || (127 <= codePoint_1 ? codePoint_1 <= 159 : false);
1392
+ } else {
1393
+ tmp_63 = false;
1394
+ }
1395
+ if (tmp_63) {
1396
+ tmp_62 = true;
1397
+ } else {
1398
+ tmp_62 = codePoint_1 === 65533;
1399
+ }
1400
+ if (tmp_62) {
1401
+ return -1;
1402
+ }
1403
+ charCount = charCount + (codePoint_1 < 65536 ? 1 : 2) | 0;
1404
+ }
1405
+ tmp$ret$78 = 4;
1406
+ }
1407
+ index = tmp_38 + tmp$ret$78 | 0;
1408
+ } else {
1409
+ var _unary__edvuaz_20 = j;
1410
+ j = _unary__edvuaz_20 + 1 | 0;
1411
+ if (_unary__edvuaz_20 === codePointCount) {
1412
+ return charCount;
1413
+ }
1414
+ var tmp_65;
1415
+ var tmp_66;
1416
+ var tmp_67;
1417
+ // Inline function 'kotlin.code' call
1418
+ var this_40 = _Char___init__impl__6a9atx(10);
1419
+ if (!(65533 === Char__toInt_impl_vasixd(this_40))) {
1420
+ // Inline function 'kotlin.code' call
1421
+ var this_41 = _Char___init__impl__6a9atx(13);
1422
+ tmp_67 = !(65533 === Char__toInt_impl_vasixd(this_41));
1423
+ } else {
1424
+ tmp_67 = false;
1425
+ }
1426
+ if (tmp_67) {
1427
+ // Inline function 'okio.isIsoControl' call
1428
+ tmp_66 = (0 <= 65533 ? 65533 <= 31 : false) || (127 <= 65533 ? 65533 <= 159 : false);
1429
+ } else {
1430
+ tmp_66 = false;
1431
+ }
1432
+ if (tmp_66) {
1433
+ tmp_65 = true;
1434
+ } else {
1435
+ tmp_65 = 65533 === 65533;
1436
+ }
1437
+ if (tmp_65) {
1438
+ return -1;
1439
+ }
1440
+ charCount = charCount + (65533 < 65536 ? 1 : 2) | 0;
1441
+ index = index + 1 | 0;
1442
+ }
1443
+ }
1444
+ }
1445
+ }
1446
+ }
1447
+ return charCount;
1448
+ }
1449
+ function access$codePointIndexToCharIndex$tByteStringKt(s, codePointCount) {
1450
+ return codePointIndexToCharIndex(s, codePointCount);
1451
+ }
1452
+ var properties_initialized_ByteString_kt_8ybv8b;
1453
+ function _init_properties_ByteString_kt__sqjq7b() {
1454
+ if (!properties_initialized_ByteString_kt_8ybv8b) {
1455
+ properties_initialized_ByteString_kt_8ybv8b = true;
1456
+ // Inline function 'kotlin.charArrayOf' call
1457
+ HEX_DIGIT_CHARS = charArrayOf([_Char___init__impl__6a9atx(48), _Char___init__impl__6a9atx(49), _Char___init__impl__6a9atx(50), _Char___init__impl__6a9atx(51), _Char___init__impl__6a9atx(52), _Char___init__impl__6a9atx(53), _Char___init__impl__6a9atx(54), _Char___init__impl__6a9atx(55), _Char___init__impl__6a9atx(56), _Char___init__impl__6a9atx(57), _Char___init__impl__6a9atx(97), _Char___init__impl__6a9atx(98), _Char___init__impl__6a9atx(99), _Char___init__impl__6a9atx(100), _Char___init__impl__6a9atx(101), _Char___init__impl__6a9atx(102)]);
1458
+ }
1459
+ }
1460
+ function segment(_this__u8e3s4, pos) {
1461
+ var i = binarySearch(_this__u8e3s4.e4a_1, pos + 1 | 0, 0, _this__u8e3s4.d4a_1.length);
1462
+ return i >= 0 ? i : ~i;
1463
+ }
1464
+ function binarySearch(_this__u8e3s4, value, fromIndex, toIndex) {
1465
+ var left = fromIndex;
1466
+ var right = toIndex - 1 | 0;
1467
+ while (left <= right) {
1468
+ var mid = (left + right | 0) >>> 1 | 0;
1469
+ var midVal = _this__u8e3s4[mid];
1470
+ if (midVal < value)
1471
+ left = mid + 1 | 0;
1472
+ else if (midVal > value)
1473
+ right = mid - 1 | 0;
1474
+ else
1475
+ return mid;
1476
+ }
1477
+ return (-left | 0) - 1 | 0;
1478
+ }
1479
+ function Companion_0() {
1480
+ Companion_instance_0 = this;
1481
+ var tmp = this;
1482
+ // Inline function 'kotlin.byteArrayOf' call
1483
+ var tmp$ret$0 = new Int8Array([]);
1484
+ tmp.f4a_1 = new ByteString(tmp$ret$0);
1485
+ }
1486
+ var Companion_instance_0;
1487
+ function Companion_getInstance_0() {
1488
+ if (Companion_instance_0 == null)
1489
+ new Companion_0();
1490
+ return Companion_instance_0;
1491
+ }
1492
+ function ByteString(data) {
1493
+ Companion_getInstance_0();
1494
+ this.x49_1 = data;
1495
+ this.y49_1 = 0;
1496
+ this.z49_1 = null;
1497
+ }
1498
+ protoOf(ByteString).g4a = function (value) {
1499
+ };
1500
+ protoOf(ByteString).h4a = function (value) {
1501
+ };
1502
+ protoOf(ByteString).i4a = function () {
1503
+ // Inline function 'okio.internal.commonUtf8' call
1504
+ var result = this.z49_1;
1505
+ if (result == null) {
1506
+ result = toUtf8String(this.j4a());
1507
+ this.h4a(result);
1508
+ }
1509
+ return result;
1510
+ };
1511
+ protoOf(ByteString).k4a = function () {
1512
+ // Inline function 'okio.internal.commonHex' call
1513
+ var result = charArray(imul(this.x49_1.length, 2));
1514
+ var c = 0;
1515
+ var indexedObject = this.x49_1;
1516
+ var inductionVariable = 0;
1517
+ var last = indexedObject.length;
1518
+ while (inductionVariable < last) {
1519
+ var b = indexedObject[inductionVariable];
1520
+ inductionVariable = inductionVariable + 1 | 0;
1521
+ var _unary__edvuaz = c;
1522
+ c = _unary__edvuaz + 1 | 0;
1523
+ var tmp = get_HEX_DIGIT_CHARS();
1524
+ // Inline function 'okio.shr' call
1525
+ result[_unary__edvuaz] = tmp[b >> 4 & 15];
1526
+ var _unary__edvuaz_0 = c;
1527
+ c = _unary__edvuaz_0 + 1 | 0;
1528
+ var tmp_0 = get_HEX_DIGIT_CHARS();
1529
+ // Inline function 'okio.and' call
1530
+ result[_unary__edvuaz_0] = tmp_0[b & 15];
1531
+ }
1532
+ return concatToString_0(result);
1533
+ };
1534
+ protoOf(ByteString).l4a = function (pos) {
1535
+ if (pos >= this.n() || pos < 0)
1536
+ throw new ArrayIndexOutOfBoundsException('size=' + this.n() + ' pos=' + pos);
1537
+ // Inline function 'okio.internal.commonGetByte' call
1538
+ return this.x49_1[pos];
1539
+ };
1540
+ protoOf(ByteString).m = function (index) {
1541
+ return this.l4a(index);
1542
+ };
1543
+ protoOf(ByteString).n = function () {
1544
+ return this.m4a();
1545
+ };
1546
+ protoOf(ByteString).m4a = function () {
1547
+ // Inline function 'okio.internal.commonGetSize' call
1548
+ return this.x49_1.length;
1549
+ };
1550
+ protoOf(ByteString).j4a = function () {
1551
+ // Inline function 'okio.internal.commonInternalArray' call
1552
+ return this.x49_1;
1553
+ };
1554
+ protoOf(ByteString).n4a = function (offset, other, otherOffset, byteCount) {
1555
+ // Inline function 'okio.internal.commonRangeEquals' call
1556
+ return offset >= 0 && offset <= (this.x49_1.length - byteCount | 0) && otherOffset >= 0 && otherOffset <= (other.length - byteCount | 0) && arrayRangeEquals(this.x49_1, offset, other, otherOffset, byteCount);
1557
+ };
1558
+ protoOf(ByteString).equals = function (other) {
1559
+ // Inline function 'okio.internal.commonEquals' call
1560
+ var tmp;
1561
+ if (other === this) {
1562
+ tmp = true;
1563
+ } else {
1564
+ if (other instanceof ByteString) {
1565
+ tmp = (other.n() === this.x49_1.length && other.n4a(0, this.x49_1, 0, this.x49_1.length));
1566
+ } else {
1567
+ tmp = false;
1568
+ }
1569
+ }
1570
+ return tmp;
1571
+ };
1572
+ protoOf(ByteString).hashCode = function () {
1573
+ var tmp$ret$0;
1574
+ $l$block: {
1575
+ // Inline function 'okio.internal.commonHashCode' call
1576
+ var result = this.y49_1;
1577
+ if (!(result === 0)) {
1578
+ tmp$ret$0 = result;
1579
+ break $l$block;
1580
+ }
1581
+ // Inline function 'kotlin.also' call
1582
+ var this_0 = contentHashCode(this.x49_1);
1583
+ this.g4a(this_0);
1584
+ tmp$ret$0 = this_0;
1585
+ }
1586
+ return tmp$ret$0;
1587
+ };
1588
+ protoOf(ByteString).o4a = function (other) {
1589
+ var tmp$ret$3;
1590
+ $l$block_0: {
1591
+ // Inline function 'okio.internal.commonCompareTo' call
1592
+ var sizeA = this.n();
1593
+ var sizeB = other.n();
1594
+ var i = 0;
1595
+ // Inline function 'kotlin.comparisons.minOf' call
1596
+ var size = Math.min(sizeA, sizeB);
1597
+ $l$loop: while (i < size) {
1598
+ // Inline function 'okio.and' call
1599
+ var byteA = this.m(i) & 255;
1600
+ // Inline function 'okio.and' call
1601
+ var byteB = other.m(i) & 255;
1602
+ if (byteA === byteB) {
1603
+ i = i + 1 | 0;
1604
+ continue $l$loop;
1605
+ }
1606
+ tmp$ret$3 = byteA < byteB ? -1 : 1;
1607
+ break $l$block_0;
1608
+ }
1609
+ if (sizeA === sizeB) {
1610
+ tmp$ret$3 = 0;
1611
+ break $l$block_0;
1612
+ }
1613
+ tmp$ret$3 = sizeA < sizeB ? -1 : 1;
1614
+ }
1615
+ return tmp$ret$3;
1616
+ };
1617
+ protoOf(ByteString).d = function (other) {
1618
+ return this.o4a(other instanceof ByteString ? other : THROW_CCE());
1619
+ };
1620
+ protoOf(ByteString).toString = function () {
1621
+ var tmp$ret$1;
1622
+ $l$block_1: {
1623
+ // Inline function 'okio.internal.commonToString' call
1624
+ // Inline function 'kotlin.collections.isEmpty' call
1625
+ if (this.x49_1.length === 0) {
1626
+ tmp$ret$1 = '[size=0]';
1627
+ break $l$block_1;
1628
+ }
1629
+ var i = access$codePointIndexToCharIndex$tByteStringKt(this.x49_1, 64);
1630
+ if (i === -1) {
1631
+ var tmp;
1632
+ if (this.x49_1.length <= 64) {
1633
+ tmp = '[hex=' + this.k4a() + ']';
1634
+ } else {
1635
+ var tmp_0 = this.x49_1.length;
1636
+ var tmp$ret$8;
1637
+ $l$block_0: {
1638
+ // Inline function 'okio.internal.commonSubstring' call
1639
+ var endIndex = resolveDefaultParameter(this, 64);
1640
+ // Inline function 'kotlin.require' call
1641
+ if (!(0 >= 0)) {
1642
+ var message = 'beginIndex < 0';
1643
+ throw IllegalArgumentException_init_$Create$(toString(message));
1644
+ }
1645
+ // Inline function 'kotlin.require' call
1646
+ if (!(endIndex <= this.x49_1.length)) {
1647
+ var message_0 = 'endIndex > length(' + this.x49_1.length + ')';
1648
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
1649
+ }
1650
+ var subLen = endIndex - 0 | 0;
1651
+ // Inline function 'kotlin.require' call
1652
+ if (!(subLen >= 0)) {
1653
+ var message_1 = 'endIndex < beginIndex';
1654
+ throw IllegalArgumentException_init_$Create$(toString(message_1));
1655
+ }
1656
+ if (0 === 0 && endIndex === this.x49_1.length) {
1657
+ tmp$ret$8 = this;
1658
+ break $l$block_0;
1659
+ }
1660
+ tmp$ret$8 = new ByteString(copyOfRange(this.x49_1, 0, endIndex));
1661
+ }
1662
+ tmp = '[size=' + tmp_0 + ' hex=' + tmp$ret$8.k4a() + '\u2026]';
1663
+ }
1664
+ tmp$ret$1 = tmp;
1665
+ break $l$block_1;
1666
+ }
1667
+ var text = this.i4a();
1668
+ var safeText = replace(replace(replace(substring(text, 0, i), '\\', '\\\\'), '\n', '\\n'), '\r', '\\r');
1669
+ var tmp_1;
1670
+ if (i < text.length) {
1671
+ tmp_1 = '[size=' + this.x49_1.length + ' text=' + safeText + '\u2026]';
1672
+ } else {
1673
+ tmp_1 = '[text=' + safeText + ']';
1674
+ }
1675
+ tmp$ret$1 = tmp_1;
1676
+ }
1677
+ return tmp$ret$1;
1678
+ };
1679
+ function toByteString($this) {
1680
+ return new ByteString($this.p4a());
1681
+ }
1682
+ function SegmentedByteString(segments, directory) {
1683
+ ByteString.call(this, Companion_getInstance_0().f4a_1.x49_1);
1684
+ this.d4a_1 = segments;
1685
+ this.e4a_1 = directory;
1686
+ }
1687
+ protoOf(SegmentedByteString).k4a = function () {
1688
+ return toByteString(this).k4a();
1689
+ };
1690
+ protoOf(SegmentedByteString).l4a = function (pos) {
1691
+ // Inline function 'okio.internal.commonInternalGet' call
1692
+ checkOffsetAndCount(fromInt(this.e4a_1[this.d4a_1.length - 1 | 0]), fromInt(pos), new Long(1, 0));
1693
+ var segment_0 = segment(this, pos);
1694
+ var segmentOffset = segment_0 === 0 ? 0 : this.e4a_1[segment_0 - 1 | 0];
1695
+ var segmentPos = this.e4a_1[segment_0 + this.d4a_1.length | 0];
1696
+ return this.d4a_1[segment_0][(pos - segmentOffset | 0) + segmentPos | 0];
1697
+ };
1698
+ protoOf(SegmentedByteString).m4a = function () {
1699
+ // Inline function 'okio.internal.commonGetSize' call
1700
+ return this.e4a_1[this.d4a_1.length - 1 | 0];
1701
+ };
1702
+ protoOf(SegmentedByteString).p4a = function () {
1703
+ // Inline function 'okio.internal.commonToByteArray' call
1704
+ var result = new Int8Array(this.n());
1705
+ var resultPos = 0;
1706
+ // Inline function 'okio.internal.forEachSegment' call
1707
+ var segmentCount = this.d4a_1.length;
1708
+ var s = 0;
1709
+ var pos = 0;
1710
+ while (s < segmentCount) {
1711
+ var segmentPos = this.e4a_1[segmentCount + s | 0];
1712
+ var nextSegmentOffset = this.e4a_1[s];
1713
+ var tmp0 = this.d4a_1[s];
1714
+ var byteCount = nextSegmentOffset - pos | 0;
1715
+ var tmp4 = resultPos;
1716
+ // Inline function 'kotlin.collections.copyInto' call
1717
+ var endIndex = segmentPos + byteCount | 0;
1718
+ // Inline function 'kotlin.js.unsafeCast' call
1719
+ // Inline function 'kotlin.js.asDynamic' call
1720
+ var tmp = tmp0;
1721
+ // Inline function 'kotlin.js.unsafeCast' call
1722
+ // Inline function 'kotlin.js.asDynamic' call
1723
+ arrayCopy(tmp, result, tmp4, segmentPos, endIndex);
1724
+ resultPos = resultPos + byteCount | 0;
1725
+ pos = nextSegmentOffset;
1726
+ s = s + 1 | 0;
1727
+ }
1728
+ return result;
1729
+ };
1730
+ protoOf(SegmentedByteString).q4a = function (offset, other, otherOffset, byteCount) {
1731
+ var tmp$ret$0;
1732
+ $l$block_0: {
1733
+ // Inline function 'okio.internal.commonRangeEquals' call
1734
+ if (offset < 0 || offset > (this.n() - byteCount | 0)) {
1735
+ tmp$ret$0 = false;
1736
+ break $l$block_0;
1737
+ }
1738
+ var otherOffset_0 = otherOffset;
1739
+ var endIndex = offset + byteCount | 0;
1740
+ var s = segment(this, offset);
1741
+ var pos = offset;
1742
+ while (pos < endIndex) {
1743
+ var segmentOffset = s === 0 ? 0 : this.e4a_1[s - 1 | 0];
1744
+ var segmentSize = this.e4a_1[s] - segmentOffset | 0;
1745
+ var segmentPos = this.e4a_1[this.d4a_1.length + s | 0];
1746
+ // Inline function 'kotlin.comparisons.minOf' call
1747
+ var b = segmentOffset + segmentSize | 0;
1748
+ var byteCount_0 = Math.min(endIndex, b) - pos | 0;
1749
+ var offset_0 = segmentPos + (pos - segmentOffset | 0) | 0;
1750
+ var data = this.d4a_1[s];
1751
+ if (!other.n4a(otherOffset_0, data, offset_0, byteCount_0)) {
1752
+ tmp$ret$0 = false;
1753
+ break $l$block_0;
1754
+ }
1755
+ otherOffset_0 = otherOffset_0 + byteCount_0 | 0;
1756
+ pos = pos + byteCount_0 | 0;
1757
+ s = s + 1 | 0;
1758
+ }
1759
+ tmp$ret$0 = true;
1760
+ }
1761
+ return tmp$ret$0;
1762
+ };
1763
+ protoOf(SegmentedByteString).n4a = function (offset, other, otherOffset, byteCount) {
1764
+ var tmp$ret$0;
1765
+ $l$block_0: {
1766
+ // Inline function 'okio.internal.commonRangeEquals' call
1767
+ if (offset < 0 || offset > (this.n() - byteCount | 0) || otherOffset < 0 || otherOffset > (other.length - byteCount | 0)) {
1768
+ tmp$ret$0 = false;
1769
+ break $l$block_0;
1770
+ }
1771
+ var otherOffset_0 = otherOffset;
1772
+ var endIndex = offset + byteCount | 0;
1773
+ var s = segment(this, offset);
1774
+ var pos = offset;
1775
+ while (pos < endIndex) {
1776
+ var segmentOffset = s === 0 ? 0 : this.e4a_1[s - 1 | 0];
1777
+ var segmentSize = this.e4a_1[s] - segmentOffset | 0;
1778
+ var segmentPos = this.e4a_1[this.d4a_1.length + s | 0];
1779
+ // Inline function 'kotlin.comparisons.minOf' call
1780
+ var b = segmentOffset + segmentSize | 0;
1781
+ var byteCount_0 = Math.min(endIndex, b) - pos | 0;
1782
+ var offset_0 = segmentPos + (pos - segmentOffset | 0) | 0;
1783
+ var data = this.d4a_1[s];
1784
+ if (!arrayRangeEquals(data, offset_0, other, otherOffset_0, byteCount_0)) {
1785
+ tmp$ret$0 = false;
1786
+ break $l$block_0;
1787
+ }
1788
+ otherOffset_0 = otherOffset_0 + byteCount_0 | 0;
1789
+ pos = pos + byteCount_0 | 0;
1790
+ s = s + 1 | 0;
1791
+ }
1792
+ tmp$ret$0 = true;
1793
+ }
1794
+ return tmp$ret$0;
1795
+ };
1796
+ protoOf(SegmentedByteString).j4a = function () {
1797
+ return this.p4a();
1798
+ };
1799
+ protoOf(SegmentedByteString).equals = function (other) {
1800
+ // Inline function 'okio.internal.commonEquals' call
1801
+ var tmp;
1802
+ if (other === this) {
1803
+ tmp = true;
1804
+ } else {
1805
+ if (other instanceof ByteString) {
1806
+ tmp = (other.n() === this.n() && this.q4a(0, other, 0, this.n()));
1807
+ } else {
1808
+ tmp = false;
1809
+ }
1810
+ }
1811
+ return tmp;
1812
+ };
1813
+ protoOf(SegmentedByteString).hashCode = function () {
1814
+ var tmp$ret$0;
1815
+ $l$block: {
1816
+ // Inline function 'okio.internal.commonHashCode' call
1817
+ var result = this.y49_1;
1818
+ if (!(result === 0)) {
1819
+ tmp$ret$0 = result;
1820
+ break $l$block;
1821
+ }
1822
+ result = 1;
1823
+ // Inline function 'okio.internal.forEachSegment' call
1824
+ var segmentCount = this.d4a_1.length;
1825
+ var s = 0;
1826
+ var pos = 0;
1827
+ while (s < segmentCount) {
1828
+ var segmentPos = this.e4a_1[segmentCount + s | 0];
1829
+ var nextSegmentOffset = this.e4a_1[s];
1830
+ var tmp0 = this.d4a_1[s];
1831
+ var i = segmentPos;
1832
+ var limit = segmentPos + (nextSegmentOffset - pos | 0) | 0;
1833
+ while (i < limit) {
1834
+ result = imul(31, result) + tmp0[i] | 0;
1835
+ i = i + 1 | 0;
1836
+ }
1837
+ pos = nextSegmentOffset;
1838
+ s = s + 1 | 0;
1839
+ }
1840
+ this.g4a(result);
1841
+ tmp$ret$0 = result;
1842
+ }
1843
+ return tmp$ret$0;
1844
+ };
1845
+ protoOf(SegmentedByteString).toString = function () {
1846
+ return toByteString(this).toString();
1847
+ };
1848
+ function UnsafeCursor() {
1849
+ this.r4a_1 = null;
1850
+ this.s4a_1 = false;
1851
+ this.t4a_1 = null;
1852
+ this.u4a_1 = new Long(-1, -1);
1853
+ this.v4a_1 = null;
1854
+ this.w4a_1 = -1;
1855
+ this.x4a_1 = -1;
1856
+ }
1857
+ function Buffer() {
1858
+ this.y4a_1 = null;
1859
+ this.z4a_1 = new Long(0, 0);
1860
+ }
1861
+ protoOf(Buffer).a4b = function () {
1862
+ return this;
1863
+ };
1864
+ protoOf(Buffer).b4b = function (byteCount) {
1865
+ return compare(this.z4a_1, byteCount) >= 0;
1866
+ };
1867
+ protoOf(Buffer).c4b = function (pos) {
1868
+ var tmp$ret$0;
1869
+ $l$block_1: {
1870
+ // Inline function 'okio.internal.commonGet' call
1871
+ checkOffsetAndCount(this.z4a_1, pos, new Long(1, 0));
1872
+ // Inline function 'okio.internal.seek' call
1873
+ var tmp0_elvis_lhs = this.y4a_1;
1874
+ var tmp;
1875
+ if (tmp0_elvis_lhs == null) {
1876
+ var offset = new Long(-1, -1);
1877
+ tmp$ret$0 = ensureNotNull(null).f49_1[convertToInt(subtract(add(numberToLong(null.g49_1), pos), offset))];
1878
+ break $l$block_1;
1879
+ } else {
1880
+ tmp = tmp0_elvis_lhs;
1881
+ }
1882
+ var s = tmp;
1883
+ if (compare(subtract(this.z4a_1, pos), pos) < 0) {
1884
+ var offset_0 = this.z4a_1;
1885
+ while (compare(offset_0, pos) > 0) {
1886
+ s = ensureNotNull(s.l49_1);
1887
+ offset_0 = subtract(offset_0, fromInt(s.h49_1 - s.g49_1 | 0));
1888
+ }
1889
+ var tmp0 = s;
1890
+ var offset_1 = offset_0;
1891
+ tmp$ret$0 = ensureNotNull(tmp0).f49_1[convertToInt(subtract(add(numberToLong(tmp0.g49_1), pos), offset_1))];
1892
+ break $l$block_1;
1893
+ } else {
1894
+ var offset_2 = new Long(0, 0);
1895
+ $l$loop: while (true) {
1896
+ var tmp0_0 = offset_2;
1897
+ // Inline function 'kotlin.Long.plus' call
1898
+ var other = s.h49_1 - s.g49_1 | 0;
1899
+ var nextOffset = add(tmp0_0, fromInt(other));
1900
+ if (compare(nextOffset, pos) > 0)
1901
+ break $l$loop;
1902
+ s = ensureNotNull(s.k49_1);
1903
+ offset_2 = nextOffset;
1904
+ }
1905
+ var tmp0_1 = s;
1906
+ var offset_3 = offset_2;
1907
+ tmp$ret$0 = ensureNotNull(tmp0_1).f49_1[convertToInt(subtract(add(numberToLong(tmp0_1.g49_1), pos), offset_3))];
1908
+ break $l$block_1;
1909
+ }
1910
+ }
1911
+ return tmp$ret$0;
1912
+ };
1913
+ protoOf(Buffer).d4b = function (byteCount) {
1914
+ var tmp$ret$2;
1915
+ $l$block_0: {
1916
+ // Inline function 'okio.internal.commonReadUtf8' call
1917
+ // Inline function 'kotlin.require' call
1918
+ if (!(compare(byteCount, new Long(0, 0)) >= 0 && compare(byteCount, new Long(2147483647, 0)) <= 0)) {
1919
+ var message = 'byteCount: ' + byteCount.toString();
1920
+ throw IllegalArgumentException_init_$Create$(toString(message));
1921
+ }
1922
+ if (compare(this.z4a_1, byteCount) < 0)
1923
+ throw EOFException_init_$Create$();
1924
+ if (equalsLong(byteCount, new Long(0, 0))) {
1925
+ tmp$ret$2 = '';
1926
+ break $l$block_0;
1927
+ }
1928
+ var s = ensureNotNull(this.y4a_1);
1929
+ if (compare(add(numberToLong(s.g49_1), byteCount), fromInt(s.h49_1)) > 0) {
1930
+ tmp$ret$2 = commonToUtf8String(this.e4b(byteCount));
1931
+ break $l$block_0;
1932
+ }
1933
+ var result = commonToUtf8String(s.f49_1, s.g49_1, s.g49_1 + convertToInt(byteCount) | 0);
1934
+ s.g49_1 = s.g49_1 + convertToInt(byteCount) | 0;
1935
+ this.z4a_1 = subtract(this.z4a_1, byteCount);
1936
+ if (s.g49_1 === s.h49_1) {
1937
+ this.y4a_1 = s.nr();
1938
+ SegmentPool_instance.w49(s);
1939
+ }
1940
+ tmp$ret$2 = result;
1941
+ }
1942
+ return tmp$ret$2;
1943
+ };
1944
+ protoOf(Buffer).f4b = function () {
1945
+ // Inline function 'okio.internal.commonReadByteArray' call
1946
+ return this.e4b(this.z4a_1);
1947
+ };
1948
+ protoOf(Buffer).e4b = function (byteCount) {
1949
+ // Inline function 'okio.internal.commonReadByteArray' call
1950
+ // Inline function 'kotlin.require' call
1951
+ if (!(compare(byteCount, new Long(0, 0)) >= 0 && compare(byteCount, new Long(2147483647, 0)) <= 0)) {
1952
+ var message = 'byteCount: ' + byteCount.toString();
1953
+ throw IllegalArgumentException_init_$Create$(toString(message));
1954
+ }
1955
+ if (compare(this.z4a_1, byteCount) < 0)
1956
+ throw EOFException_init_$Create$();
1957
+ var result = new Int8Array(convertToInt(byteCount));
1958
+ this.g4b(result);
1959
+ return result;
1960
+ };
1961
+ protoOf(Buffer).g4b = function (sink) {
1962
+ // Inline function 'okio.internal.commonReadFully' call
1963
+ var offset = 0;
1964
+ while (offset < sink.length) {
1965
+ var read = this.h4b(sink, offset, sink.length - offset | 0);
1966
+ if (read === -1)
1967
+ throw EOFException_init_$Create$();
1968
+ offset = offset + read | 0;
1969
+ }
1970
+ return Unit_instance;
1971
+ };
1972
+ protoOf(Buffer).h4b = function (sink, offset, byteCount) {
1973
+ var tmp$ret$0;
1974
+ $l$block: {
1975
+ // Inline function 'okio.internal.commonRead' call
1976
+ checkOffsetAndCount(fromInt(sink.length), fromInt(offset), fromInt(byteCount));
1977
+ var tmp0_elvis_lhs = this.y4a_1;
1978
+ var tmp;
1979
+ if (tmp0_elvis_lhs == null) {
1980
+ tmp$ret$0 = -1;
1981
+ break $l$block;
1982
+ } else {
1983
+ tmp = tmp0_elvis_lhs;
1984
+ }
1985
+ var s = tmp;
1986
+ // Inline function 'kotlin.comparisons.minOf' call
1987
+ var b = s.h49_1 - s.g49_1 | 0;
1988
+ var toCopy = Math.min(byteCount, b);
1989
+ var tmp0 = s.f49_1;
1990
+ var tmp6 = s.g49_1;
1991
+ // Inline function 'kotlin.collections.copyInto' call
1992
+ var endIndex = s.g49_1 + toCopy | 0;
1993
+ // Inline function 'kotlin.js.unsafeCast' call
1994
+ // Inline function 'kotlin.js.asDynamic' call
1995
+ var tmp_0 = tmp0;
1996
+ // Inline function 'kotlin.js.unsafeCast' call
1997
+ // Inline function 'kotlin.js.asDynamic' call
1998
+ arrayCopy(tmp_0, sink, offset, tmp6, endIndex);
1999
+ s.g49_1 = s.g49_1 + toCopy | 0;
2000
+ this.z4a_1 = subtract(this.z4a_1, fromInt(toCopy));
2001
+ if (s.g49_1 === s.h49_1) {
2002
+ this.y4a_1 = s.nr();
2003
+ SegmentPool_instance.w49(s);
2004
+ }
2005
+ tmp$ret$0 = toCopy;
2006
+ }
2007
+ return tmp$ret$0;
2008
+ };
2009
+ protoOf(Buffer).i4b = function (minimumCapacity) {
2010
+ var tmp$ret$2;
2011
+ $l$block: {
2012
+ // Inline function 'okio.internal.commonWritableSegment' call
2013
+ // Inline function 'kotlin.require' call
2014
+ if (!(minimumCapacity >= 1 && minimumCapacity <= 8192)) {
2015
+ var message = 'unexpected capacity';
2016
+ throw IllegalArgumentException_init_$Create$(toString(message));
2017
+ }
2018
+ if (this.y4a_1 == null) {
2019
+ var result = SegmentPool_instance.t49();
2020
+ this.y4a_1 = result;
2021
+ result.l49_1 = result;
2022
+ result.k49_1 = result;
2023
+ tmp$ret$2 = result;
2024
+ break $l$block;
2025
+ }
2026
+ var tail = ensureNotNull(this.y4a_1).l49_1;
2027
+ if ((ensureNotNull(tail).h49_1 + minimumCapacity | 0) > 8192 || !tail.j49_1) {
2028
+ tail = tail.p49(SegmentPool_instance.t49());
2029
+ }
2030
+ tmp$ret$2 = tail;
2031
+ }
2032
+ return tmp$ret$2;
2033
+ };
2034
+ protoOf(Buffer).j4b = function (string) {
2035
+ return this.k4b(string, 0, string.length);
2036
+ };
2037
+ protoOf(Buffer).k4b = function (string, beginIndex, endIndex) {
2038
+ // Inline function 'okio.internal.commonWriteUtf8' call
2039
+ // Inline function 'kotlin.require' call
2040
+ if (!(beginIndex >= 0)) {
2041
+ var message = 'beginIndex < 0: ' + beginIndex;
2042
+ throw IllegalArgumentException_init_$Create$(toString(message));
2043
+ }
2044
+ // Inline function 'kotlin.require' call
2045
+ if (!(endIndex >= beginIndex)) {
2046
+ var message_0 = 'endIndex < beginIndex: ' + endIndex + ' < ' + beginIndex;
2047
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
2048
+ }
2049
+ // Inline function 'kotlin.require' call
2050
+ if (!(endIndex <= string.length)) {
2051
+ var message_1 = 'endIndex > string.length: ' + endIndex + ' > ' + string.length;
2052
+ throw IllegalArgumentException_init_$Create$(toString(message_1));
2053
+ }
2054
+ var i = beginIndex;
2055
+ while (i < endIndex) {
2056
+ // Inline function 'kotlin.code' call
2057
+ var this_0 = charCodeAt(string, i);
2058
+ var c = Char__toInt_impl_vasixd(this_0);
2059
+ if (c < 128) {
2060
+ var tail = this.i4b(1);
2061
+ var data = tail.f49_1;
2062
+ var segmentOffset = tail.h49_1 - i | 0;
2063
+ // Inline function 'kotlin.comparisons.minOf' call
2064
+ var b = 8192 - segmentOffset | 0;
2065
+ var runLimit = Math.min(endIndex, b);
2066
+ var _unary__edvuaz = i;
2067
+ i = _unary__edvuaz + 1 | 0;
2068
+ data[segmentOffset + _unary__edvuaz | 0] = toByte(c);
2069
+ $l$loop: while (i < runLimit) {
2070
+ // Inline function 'kotlin.code' call
2071
+ var this_1 = charCodeAt(string, i);
2072
+ c = Char__toInt_impl_vasixd(this_1);
2073
+ if (c >= 128)
2074
+ break $l$loop;
2075
+ var _unary__edvuaz_0 = i;
2076
+ i = _unary__edvuaz_0 + 1 | 0;
2077
+ data[segmentOffset + _unary__edvuaz_0 | 0] = toByte(c);
2078
+ }
2079
+ var runSize = (i + segmentOffset | 0) - tail.h49_1 | 0;
2080
+ tail.h49_1 = tail.h49_1 + runSize | 0;
2081
+ this.z4a_1 = add(this.z4a_1, fromInt(runSize));
2082
+ } else if (c < 2048) {
2083
+ var tail_0 = this.i4b(2);
2084
+ tail_0.f49_1[tail_0.h49_1] = toByte(c >> 6 | 192);
2085
+ tail_0.f49_1[tail_0.h49_1 + 1 | 0] = toByte(c & 63 | 128);
2086
+ tail_0.h49_1 = tail_0.h49_1 + 2 | 0;
2087
+ this.z4a_1 = add(this.z4a_1, new Long(2, 0));
2088
+ i = i + 1 | 0;
2089
+ } else if (c < 55296 || c > 57343) {
2090
+ var tail_1 = this.i4b(3);
2091
+ tail_1.f49_1[tail_1.h49_1] = toByte(c >> 12 | 224);
2092
+ tail_1.f49_1[tail_1.h49_1 + 1 | 0] = toByte(c >> 6 & 63 | 128);
2093
+ tail_1.f49_1[tail_1.h49_1 + 2 | 0] = toByte(c & 63 | 128);
2094
+ tail_1.h49_1 = tail_1.h49_1 + 3 | 0;
2095
+ this.z4a_1 = add(this.z4a_1, new Long(3, 0));
2096
+ i = i + 1 | 0;
2097
+ } else {
2098
+ var tmp;
2099
+ if ((i + 1 | 0) < endIndex) {
2100
+ // Inline function 'kotlin.code' call
2101
+ var this_2 = charCodeAt(string, i + 1 | 0);
2102
+ tmp = Char__toInt_impl_vasixd(this_2);
2103
+ } else {
2104
+ tmp = 0;
2105
+ }
2106
+ var low = tmp;
2107
+ if (c > 56319 || !(56320 <= low ? low <= 57343 : false)) {
2108
+ // Inline function 'kotlin.code' call
2109
+ var this_3 = _Char___init__impl__6a9atx(63);
2110
+ var tmp$ret$10 = Char__toInt_impl_vasixd(this_3);
2111
+ this.l4b(tmp$ret$10);
2112
+ i = i + 1 | 0;
2113
+ } else {
2114
+ var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
2115
+ var tail_2 = this.i4b(4);
2116
+ tail_2.f49_1[tail_2.h49_1] = toByte(codePoint >> 18 | 240);
2117
+ tail_2.f49_1[tail_2.h49_1 + 1 | 0] = toByte(codePoint >> 12 & 63 | 128);
2118
+ tail_2.f49_1[tail_2.h49_1 + 2 | 0] = toByte(codePoint >> 6 & 63 | 128);
2119
+ tail_2.f49_1[tail_2.h49_1 + 3 | 0] = toByte(codePoint & 63 | 128);
2120
+ tail_2.h49_1 = tail_2.h49_1 + 4 | 0;
2121
+ this.z4a_1 = add(this.z4a_1, new Long(4, 0));
2122
+ i = i + 2 | 0;
2123
+ }
2124
+ }
2125
+ }
2126
+ return this;
2127
+ };
2128
+ protoOf(Buffer).l4b = function (b) {
2129
+ // Inline function 'okio.internal.commonWriteByte' call
2130
+ var tail = this.i4b(1);
2131
+ var _unary__edvuaz = tail.h49_1;
2132
+ tail.h49_1 = _unary__edvuaz + 1 | 0;
2133
+ tail.f49_1[_unary__edvuaz] = toByte(b);
2134
+ this.z4a_1 = add(this.z4a_1, new Long(1, 0));
2135
+ return this;
2136
+ };
2137
+ protoOf(Buffer).m4b = function (source, byteCount) {
2138
+ var tmp$ret$4;
2139
+ $l$block: {
2140
+ // Inline function 'okio.internal.commonWrite' call
2141
+ var byteCount_0 = byteCount;
2142
+ // Inline function 'kotlin.require' call
2143
+ if (!!(source === this)) {
2144
+ var message = 'source == this';
2145
+ throw IllegalArgumentException_init_$Create$(toString(message));
2146
+ }
2147
+ checkOffsetAndCount(source.z4a_1, new Long(0, 0), byteCount_0);
2148
+ while (compare(byteCount_0, new Long(0, 0)) > 0) {
2149
+ if (compare(byteCount_0, fromInt(ensureNotNull(source.y4a_1).h49_1 - ensureNotNull(source.y4a_1).g49_1 | 0)) < 0) {
2150
+ var tail = !(this.y4a_1 == null) ? ensureNotNull(this.y4a_1).l49_1 : null;
2151
+ var tmp;
2152
+ if (!(tail == null) && tail.j49_1) {
2153
+ var tmp0 = byteCount_0;
2154
+ // Inline function 'kotlin.Long.plus' call
2155
+ var other = tail.h49_1;
2156
+ var tmp0_0 = add(tmp0, fromInt(other));
2157
+ // Inline function 'kotlin.Long.minus' call
2158
+ var other_0 = tail.i49_1 ? 0 : tail.g49_1;
2159
+ var tmp$ret$3 = subtract(tmp0_0, fromInt(other_0));
2160
+ tmp = compare(tmp$ret$3, new Long(8192, 0)) <= 0;
2161
+ } else {
2162
+ tmp = false;
2163
+ }
2164
+ if (tmp) {
2165
+ ensureNotNull(source.y4a_1).v49(tail, convertToInt(byteCount_0));
2166
+ source.z4a_1 = subtract(source.z4a_1, byteCount_0);
2167
+ this.z4a_1 = add(this.z4a_1, byteCount_0);
2168
+ tmp$ret$4 = Unit_instance;
2169
+ break $l$block;
2170
+ } else {
2171
+ source.y4a_1 = ensureNotNull(source.y4a_1).q49(convertToInt(byteCount_0));
2172
+ }
2173
+ }
2174
+ var segmentToMove = source.y4a_1;
2175
+ var movedByteCount = fromInt(ensureNotNull(segmentToMove).h49_1 - segmentToMove.g49_1 | 0);
2176
+ source.y4a_1 = segmentToMove.nr();
2177
+ if (this.y4a_1 == null) {
2178
+ this.y4a_1 = segmentToMove;
2179
+ segmentToMove.l49_1 = segmentToMove;
2180
+ segmentToMove.k49_1 = segmentToMove.l49_1;
2181
+ } else {
2182
+ var tail_0 = ensureNotNull(this.y4a_1).l49_1;
2183
+ tail_0 = ensureNotNull(tail_0).p49(segmentToMove);
2184
+ tail_0.u49();
2185
+ }
2186
+ source.z4a_1 = subtract(source.z4a_1, movedByteCount);
2187
+ this.z4a_1 = add(this.z4a_1, movedByteCount);
2188
+ byteCount_0 = subtract(byteCount_0, movedByteCount);
2189
+ }
2190
+ tmp$ret$4 = Unit_instance;
2191
+ }
2192
+ return tmp$ret$4;
2193
+ };
2194
+ protoOf(Buffer).n4b = function (sink, byteCount) {
2195
+ var tmp$ret$2;
2196
+ $l$block: {
2197
+ // Inline function 'okio.internal.commonRead' call
2198
+ var byteCount_0 = byteCount;
2199
+ // Inline function 'kotlin.require' call
2200
+ if (!(compare(byteCount_0, new Long(0, 0)) >= 0)) {
2201
+ var message = 'byteCount < 0: ' + byteCount_0.toString();
2202
+ throw IllegalArgumentException_init_$Create$(toString(message));
2203
+ }
2204
+ if (equalsLong(this.z4a_1, new Long(0, 0))) {
2205
+ tmp$ret$2 = new Long(-1, -1);
2206
+ break $l$block;
2207
+ }
2208
+ if (compare(byteCount_0, this.z4a_1) > 0)
2209
+ byteCount_0 = this.z4a_1;
2210
+ sink.m4b(this, byteCount_0);
2211
+ tmp$ret$2 = byteCount_0;
2212
+ }
2213
+ return tmp$ret$2;
2214
+ };
2215
+ protoOf(Buffer).w7 = function () {
2216
+ return Unit_instance;
2217
+ };
2218
+ protoOf(Buffer).equals = function (other) {
2219
+ var tmp$ret$0;
2220
+ $l$block_3: {
2221
+ // Inline function 'okio.internal.commonEquals' call
2222
+ if (this === other) {
2223
+ tmp$ret$0 = true;
2224
+ break $l$block_3;
2225
+ }
2226
+ if (!(other instanceof Buffer)) {
2227
+ tmp$ret$0 = false;
2228
+ break $l$block_3;
2229
+ }
2230
+ if (!equalsLong(this.z4a_1, other.z4a_1)) {
2231
+ tmp$ret$0 = false;
2232
+ break $l$block_3;
2233
+ }
2234
+ if (equalsLong(this.z4a_1, new Long(0, 0))) {
2235
+ tmp$ret$0 = true;
2236
+ break $l$block_3;
2237
+ }
2238
+ var sa = ensureNotNull(this.y4a_1);
2239
+ var sb = ensureNotNull(other.y4a_1);
2240
+ var posA = sa.g49_1;
2241
+ var posB = sb.g49_1;
2242
+ var pos = new Long(0, 0);
2243
+ var count;
2244
+ while (compare(pos, this.z4a_1) < 0) {
2245
+ var tmp0 = sa.h49_1 - posA | 0;
2246
+ // Inline function 'kotlin.comparisons.minOf' call
2247
+ var b = sb.h49_1 - posB | 0;
2248
+ var tmp$ret$1 = Math.min(tmp0, b);
2249
+ count = fromInt(tmp$ret$1);
2250
+ var inductionVariable = new Long(0, 0);
2251
+ if (compare(inductionVariable, count) < 0)
2252
+ do {
2253
+ var i = inductionVariable;
2254
+ inductionVariable = add(inductionVariable, new Long(1, 0));
2255
+ var tmp = sa.f49_1;
2256
+ var _unary__edvuaz = posA;
2257
+ posA = _unary__edvuaz + 1 | 0;
2258
+ var tmp_0 = tmp[_unary__edvuaz];
2259
+ var tmp_1 = sb.f49_1;
2260
+ var _unary__edvuaz_0 = posB;
2261
+ posB = _unary__edvuaz_0 + 1 | 0;
2262
+ if (!(tmp_0 === tmp_1[_unary__edvuaz_0])) {
2263
+ tmp$ret$0 = false;
2264
+ break $l$block_3;
2265
+ }
2266
+ }
2267
+ while (compare(inductionVariable, count) < 0);
2268
+ if (posA === sa.h49_1) {
2269
+ sa = ensureNotNull(sa.k49_1);
2270
+ posA = sa.g49_1;
2271
+ }
2272
+ if (posB === sb.h49_1) {
2273
+ sb = ensureNotNull(sb.k49_1);
2274
+ posB = sb.g49_1;
2275
+ }
2276
+ pos = add(pos, count);
2277
+ }
2278
+ tmp$ret$0 = true;
2279
+ }
2280
+ return tmp$ret$0;
2281
+ };
2282
+ protoOf(Buffer).hashCode = function () {
2283
+ var tmp$ret$0;
2284
+ $l$block: {
2285
+ // Inline function 'okio.internal.commonHashCode' call
2286
+ var tmp0_elvis_lhs = this.y4a_1;
2287
+ var tmp;
2288
+ if (tmp0_elvis_lhs == null) {
2289
+ tmp$ret$0 = 0;
2290
+ break $l$block;
2291
+ } else {
2292
+ tmp = tmp0_elvis_lhs;
2293
+ }
2294
+ var s = tmp;
2295
+ var result = 1;
2296
+ do {
2297
+ var pos = s.g49_1;
2298
+ var limit = s.h49_1;
2299
+ while (pos < limit) {
2300
+ result = imul(31, result) + s.f49_1[pos] | 0;
2301
+ pos = pos + 1 | 0;
2302
+ }
2303
+ s = ensureNotNull(s.k49_1);
2304
+ }
2305
+ while (!(s === this.y4a_1));
2306
+ tmp$ret$0 = result;
2307
+ }
2308
+ return tmp$ret$0;
2309
+ };
2310
+ protoOf(Buffer).toString = function () {
2311
+ return this.o4b().toString();
2312
+ };
2313
+ protoOf(Buffer).o4b = function () {
2314
+ // Inline function 'okio.internal.commonSnapshot' call
2315
+ // Inline function 'kotlin.check' call
2316
+ if (!(compare(this.z4a_1, new Long(2147483647, 0)) <= 0)) {
2317
+ var message = 'size > Int.MAX_VALUE: ' + this.z4a_1.toString();
2318
+ throw IllegalStateException_init_$Create$(toString(message));
2319
+ }
2320
+ return this.p4b(convertToInt(this.z4a_1));
2321
+ };
2322
+ protoOf(Buffer).p4b = function (byteCount) {
2323
+ var tmp$ret$0;
2324
+ $l$block: {
2325
+ // Inline function 'okio.internal.commonSnapshot' call
2326
+ if (byteCount === 0) {
2327
+ tmp$ret$0 = Companion_getInstance_0().f4a_1;
2328
+ break $l$block;
2329
+ }
2330
+ checkOffsetAndCount(this.z4a_1, new Long(0, 0), fromInt(byteCount));
2331
+ var offset = 0;
2332
+ var segmentCount = 0;
2333
+ var s = this.y4a_1;
2334
+ while (offset < byteCount) {
2335
+ if (ensureNotNull(s).h49_1 === s.g49_1) {
2336
+ throw AssertionError_init_$Create$('s.limit == s.pos');
2337
+ }
2338
+ offset = offset + (s.h49_1 - s.g49_1 | 0) | 0;
2339
+ segmentCount = segmentCount + 1 | 0;
2340
+ s = s.k49_1;
2341
+ }
2342
+ // Inline function 'kotlin.arrayOfNulls' call
2343
+ var size = segmentCount;
2344
+ var segments = Array(size);
2345
+ var directory = new Int32Array(imul(segmentCount, 2));
2346
+ offset = 0;
2347
+ segmentCount = 0;
2348
+ s = this.y4a_1;
2349
+ while (offset < byteCount) {
2350
+ segments[segmentCount] = ensureNotNull(s).f49_1;
2351
+ offset = offset + (s.h49_1 - s.g49_1 | 0) | 0;
2352
+ var tmp = segmentCount;
2353
+ // Inline function 'kotlin.comparisons.minOf' call
2354
+ var a = offset;
2355
+ directory[tmp] = Math.min(a, byteCount);
2356
+ directory[segmentCount + segments.length | 0] = s.g49_1;
2357
+ s.i49_1 = true;
2358
+ segmentCount = segmentCount + 1 | 0;
2359
+ s = s.k49_1;
2360
+ }
2361
+ tmp$ret$0 = new SegmentedByteString(isArray(segments) ? segments : THROW_CCE(), directory);
2362
+ }
2363
+ return tmp$ret$0;
2364
+ };
2365
+ function BufferedSource() {
2366
+ }
2367
+ function IOException_init_$Init$(message, $this) {
2368
+ IOException.call($this, message, null);
2369
+ return $this;
2370
+ }
2371
+ function IOException_init_$Init$_0($this) {
2372
+ IOException.call($this, null, null);
2373
+ return $this;
2374
+ }
2375
+ function IOException_init_$Create$() {
2376
+ var tmp = IOException_init_$Init$_0(objectCreate(protoOf(IOException)));
2377
+ captureStack(tmp, IOException_init_$Create$);
2378
+ return tmp;
2379
+ }
2380
+ function IOException(message, cause) {
2381
+ Exception_init_$Init$(message, cause, this);
2382
+ captureStack(this, IOException);
2383
+ }
2384
+ function ArrayIndexOutOfBoundsException(message) {
2385
+ IndexOutOfBoundsException_init_$Init$(message, this);
2386
+ captureStack(this, ArrayIndexOutOfBoundsException);
2387
+ }
2388
+ function EOFException_init_$Init$($this) {
2389
+ EOFException.call($this, null);
2390
+ return $this;
2391
+ }
2392
+ function EOFException_init_$Create$() {
2393
+ var tmp = EOFException_init_$Init$(objectCreate(protoOf(EOFException)));
2394
+ captureStack(tmp, EOFException_init_$Create$);
2395
+ return tmp;
2396
+ }
2397
+ function EOFException(message) {
2398
+ IOException_init_$Init$(message, this);
2399
+ captureStack(this, EOFException);
2400
+ }
2401
+ function toUtf8String(_this__u8e3s4) {
2402
+ return commonToUtf8String(_this__u8e3s4);
2403
+ }
2404
+ function RealBufferedSource(source) {
2405
+ this.q4b_1 = source;
2406
+ this.r4b_1 = false;
2407
+ this.s4b_1 = new Buffer();
2408
+ }
2409
+ protoOf(RealBufferedSource).a4b = function () {
2410
+ return this.s4b_1;
2411
+ };
2412
+ protoOf(RealBufferedSource).n4b = function (sink, byteCount) {
2413
+ var tmp$ret$4;
2414
+ $l$block_0: {
2415
+ // Inline function 'okio.internal.commonRead' call
2416
+ // Inline function 'kotlin.require' call
2417
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
2418
+ var message = 'byteCount < 0: ' + byteCount.toString();
2419
+ throw IllegalArgumentException_init_$Create$(toString(message));
2420
+ }
2421
+ // Inline function 'kotlin.check' call
2422
+ if (!!this.r4b_1) {
2423
+ var message_0 = 'closed';
2424
+ throw IllegalStateException_init_$Create$(toString(message_0));
2425
+ }
2426
+ if (equalsLong(this.s4b_1.z4a_1, new Long(0, 0))) {
2427
+ if (equalsLong(byteCount, new Long(0, 0))) {
2428
+ tmp$ret$4 = new Long(0, 0);
2429
+ break $l$block_0;
2430
+ }
2431
+ var read = this.q4b_1.n4b(this.s4b_1, new Long(8192, 0));
2432
+ if (equalsLong(read, new Long(-1, -1))) {
2433
+ tmp$ret$4 = new Long(-1, -1);
2434
+ break $l$block_0;
2435
+ }
2436
+ }
2437
+ // Inline function 'kotlin.comparisons.minOf' call
2438
+ var b = this.s4b_1.z4a_1;
2439
+ var toRead = compare(byteCount, b) <= 0 ? byteCount : b;
2440
+ tmp$ret$4 = this.s4b_1.n4b(sink, toRead);
2441
+ }
2442
+ return tmp$ret$4;
2443
+ };
2444
+ protoOf(RealBufferedSource).t4b = function (byteCount) {
2445
+ // Inline function 'okio.internal.commonRequire' call
2446
+ if (!this.b4b(byteCount))
2447
+ throw EOFException_init_$Create$();
2448
+ return Unit_instance;
2449
+ };
2450
+ protoOf(RealBufferedSource).b4b = function (byteCount) {
2451
+ var tmp$ret$4;
2452
+ $l$block: {
2453
+ // Inline function 'okio.internal.commonRequest' call
2454
+ // Inline function 'kotlin.require' call
2455
+ if (!(compare(byteCount, new Long(0, 0)) >= 0)) {
2456
+ var message = 'byteCount < 0: ' + byteCount.toString();
2457
+ throw IllegalArgumentException_init_$Create$(toString(message));
2458
+ }
2459
+ // Inline function 'kotlin.check' call
2460
+ if (!!this.r4b_1) {
2461
+ var message_0 = 'closed';
2462
+ throw IllegalStateException_init_$Create$(toString(message_0));
2463
+ }
2464
+ while (compare(this.s4b_1.z4a_1, byteCount) < 0) {
2465
+ if (equalsLong(this.q4b_1.n4b(this.s4b_1, new Long(8192, 0)), new Long(-1, -1))) {
2466
+ tmp$ret$4 = false;
2467
+ break $l$block;
2468
+ }
2469
+ }
2470
+ tmp$ret$4 = true;
2471
+ }
2472
+ return tmp$ret$4;
2473
+ };
2474
+ protoOf(RealBufferedSource).d4b = function (byteCount) {
2475
+ // Inline function 'okio.internal.commonReadUtf8' call
2476
+ this.t4b(byteCount);
2477
+ return this.s4b_1.d4b(byteCount);
2478
+ };
2479
+ protoOf(RealBufferedSource).toString = function () {
2480
+ // Inline function 'okio.internal.commonToString' call
2481
+ return 'buffer(' + toString(this.q4b_1) + ')';
2482
+ };
2483
+ function SegmentPool() {
2484
+ this.r49_1 = 0;
2485
+ this.s49_1 = 0;
2486
+ }
2487
+ protoOf(SegmentPool).t49 = function () {
2488
+ return Segment_init_$Create$();
2489
+ };
2490
+ protoOf(SegmentPool).w49 = function (segment) {
2491
+ };
2492
+ var SegmentPool_instance;
2493
+ function SegmentPool_getInstance() {
2494
+ return SegmentPool_instance;
2495
+ }
2496
+ //region block: init
2497
+ Companion_instance = new Companion();
2498
+ SegmentPool_instance = new SegmentPool();
2499
+ //endregion
2500
+ //region block: exports
2501
+ _.$_$ = _.$_$ || {};
2502
+ _.$_$.a = BufferedSource;
2503
+ _.$_$.b = Buffer;
2504
+ _.$_$.c = IOException;
2505
+ _.$_$.d = buffer;
2506
+ //endregion
2507
+ return _;
2508
+ }));
2509
+
2510
+ //# sourceMappingURL=okio-parent-okio.js.map