@tuprolog/arg2p 0.17.2 → 0.18.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.
- package/2p-core.js +2567 -2558
- package/2p-core.js.map +1 -1
- package/2p-dsl-core.js +428 -422
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +260 -264
- package/2p-dsl-solve.js.map +1 -1
- package/2p-dsl-theory.js +161 -155
- package/2p-dsl-theory.js.map +1 -1
- package/2p-dsl-unify.js +6 -6
- package/2p-io-lib.js +936 -936
- package/2p-io-lib.js.map +1 -1
- package/2p-parser-core.js +136 -136
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-impl.js +1461 -1451
- package/2p-parser-impl.js.map +1 -1
- package/2p-parser-theory.js +89 -94
- package/2p-parser-theory.js.map +1 -1
- package/2p-solve.js +4712 -4965
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1460 -1460
- package/2p-unify.js +349 -349
- package/2p-utils.js +488 -489
- package/2p-utils.js.map +1 -1
- package/README.md +26 -19
- package/arg2p-causality-solver.js +569 -486
- package/arg2p-causality-solver.js.map +1 -1
- package/arg2p-core.js +13492 -5266
- package/arg2p-core.js.map +1 -1
- package/arg2p.js +26 -551
- package/arg2p.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3337 -3145
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1530 -1530
- package/okio-parent-okio-nodefilesystem.js +52 -52
- package/okio-parent-okio.js +685 -685
- package/okio-parent-okio.js.map +1 -1
- package/package.json +1 -1
- package/2p-solve-prolog.js +0 -2856
- package/2p-solve-prolog.js.map +0 -1
package/okio-parent-okio.js
CHANGED
|
@@ -14,54 +14,54 @@
|
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
16
|
var VOID = kotlin_kotlin.$_$.b;
|
|
17
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
18
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
19
|
-
var toMap = kotlin_kotlin.$_$.
|
|
20
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
21
|
-
var toString = kotlin_kotlin.$_$.
|
|
22
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
23
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
24
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
25
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
27
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
28
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
29
|
-
var arrayCopy = kotlin_kotlin.$_$.
|
|
30
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
31
|
-
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
32
|
-
var subtract = kotlin_kotlin.$_$.
|
|
33
|
-
var charArray = kotlin_kotlin.$_$.
|
|
34
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
35
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
17
|
+
var emptyMap = kotlin_kotlin.$_$.m3;
|
|
18
|
+
var Unit_instance = kotlin_kotlin.$_$.r;
|
|
19
|
+
var toMap = kotlin_kotlin.$_$.r5;
|
|
20
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
21
|
+
var toString = kotlin_kotlin.$_$.h8;
|
|
22
|
+
var joinToString = kotlin_kotlin.$_$.w3;
|
|
23
|
+
var protoOf = kotlin_kotlin.$_$.e8;
|
|
24
|
+
var initMetadataForClass = kotlin_kotlin.$_$.r7;
|
|
25
|
+
var objectCreate = kotlin_kotlin.$_$.d8;
|
|
26
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.s7;
|
|
27
|
+
var ensureNotNull = kotlin_kotlin.$_$.uc;
|
|
28
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
29
|
+
var arrayCopy = kotlin_kotlin.$_$.m2;
|
|
30
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.q1;
|
|
31
|
+
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.l1;
|
|
32
|
+
var subtract = kotlin_kotlin.$_$.x6;
|
|
33
|
+
var charArray = kotlin_kotlin.$_$.d7;
|
|
34
|
+
var concatToString = kotlin_kotlin.$_$.ta;
|
|
35
|
+
var charCodeAt = kotlin_kotlin.$_$.e7;
|
|
36
36
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.c;
|
|
37
37
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.d;
|
|
38
38
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.g;
|
|
39
|
-
var toByte = kotlin_kotlin.$_$.
|
|
40
|
-
var copyOf = kotlin_kotlin.$_$.
|
|
41
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
42
|
-
var concatToString_0 = kotlin_kotlin.$_$.
|
|
43
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
44
|
-
var add = kotlin_kotlin.$_$.
|
|
45
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
46
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
47
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var removeLastOrNull = kotlin_kotlin.$_$.
|
|
50
|
-
var last = kotlin_kotlin.$_$.
|
|
51
|
-
var contentHashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
53
|
-
var copyOfRange = kotlin_kotlin.$_$.
|
|
54
|
-
var substring = kotlin_kotlin.$_$.
|
|
55
|
-
var replace = kotlin_kotlin.$_$.
|
|
56
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
57
|
-
var AssertionError_init_$Create$ = kotlin_kotlin.$_$.
|
|
58
|
-
var isArray = kotlin_kotlin.$_$.
|
|
59
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
60
|
-
var Exception = kotlin_kotlin.$_$.
|
|
61
|
-
var Exception_init_$Init$ = kotlin_kotlin.$_$.
|
|
62
|
-
var IndexOutOfBoundsException = kotlin_kotlin.$_$.
|
|
63
|
-
var IndexOutOfBoundsException_init_$Init$ = kotlin_kotlin.$_$.
|
|
64
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
39
|
+
var toByte = kotlin_kotlin.$_$.f8;
|
|
40
|
+
var copyOf = kotlin_kotlin.$_$.e3;
|
|
41
|
+
var numberToChar = kotlin_kotlin.$_$.b8;
|
|
42
|
+
var concatToString_0 = kotlin_kotlin.$_$.ua;
|
|
43
|
+
var fromInt = kotlin_kotlin.$_$.p6;
|
|
44
|
+
var add = kotlin_kotlin.$_$.k6;
|
|
45
|
+
var numberToLong = kotlin_kotlin.$_$.t6;
|
|
46
|
+
var convertToInt = kotlin_kotlin.$_$.m6;
|
|
47
|
+
var charArrayOf = kotlin_kotlin.$_$.c7;
|
|
48
|
+
var equals = kotlin_kotlin.$_$.k7;
|
|
49
|
+
var removeLastOrNull = kotlin_kotlin.$_$.c5;
|
|
50
|
+
var last = kotlin_kotlin.$_$.b4;
|
|
51
|
+
var contentHashCode = kotlin_kotlin.$_$.a3;
|
|
52
|
+
var THROW_CCE = kotlin_kotlin.$_$.pc;
|
|
53
|
+
var copyOfRange = kotlin_kotlin.$_$.d3;
|
|
54
|
+
var substring = kotlin_kotlin.$_$.rb;
|
|
55
|
+
var replace = kotlin_kotlin.$_$.jb;
|
|
56
|
+
var Comparable = kotlin_kotlin.$_$.dc;
|
|
57
|
+
var AssertionError_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
58
|
+
var isArray = kotlin_kotlin.$_$.w7;
|
|
59
|
+
var captureStack = kotlin_kotlin.$_$.b7;
|
|
60
|
+
var Exception = kotlin_kotlin.$_$.gc;
|
|
61
|
+
var Exception_init_$Init$ = kotlin_kotlin.$_$.k1;
|
|
62
|
+
var IndexOutOfBoundsException = kotlin_kotlin.$_$.jc;
|
|
63
|
+
var IndexOutOfBoundsException_init_$Init$ = kotlin_kotlin.$_$.s1;
|
|
64
|
+
var initMetadataForObject = kotlin_kotlin.$_$.v7;
|
|
65
65
|
//endregion
|
|
66
66
|
//region block: pre-declaration
|
|
67
67
|
initMetadataForClass(FileMetadata, 'FileMetadata', FileMetadata);
|
|
@@ -99,52 +99,52 @@
|
|
|
99
99
|
tmp = extras;
|
|
100
100
|
}
|
|
101
101
|
extras = tmp;
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
102
|
+
this.o3r_1 = isRegularFile;
|
|
103
|
+
this.p3r_1 = isDirectory;
|
|
104
|
+
this.q3r_1 = symlinkTarget;
|
|
105
|
+
this.r3r_1 = size;
|
|
106
|
+
this.s3r_1 = createdAtMillis;
|
|
107
|
+
this.t3r_1 = lastModifiedAtMillis;
|
|
108
|
+
this.u3r_1 = lastAccessedAtMillis;
|
|
109
|
+
this.v3r_1 = toMap(extras);
|
|
110
110
|
}
|
|
111
111
|
protoOf(FileMetadata).toString = function () {
|
|
112
112
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
113
113
|
var fields = ArrayList_init_$Create$();
|
|
114
|
-
if (this.
|
|
114
|
+
if (this.o3r_1) {
|
|
115
115
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
116
116
|
var element = 'isRegularFile';
|
|
117
117
|
fields.l(element);
|
|
118
118
|
}
|
|
119
|
-
if (this.
|
|
119
|
+
if (this.p3r_1) {
|
|
120
120
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
121
121
|
var element_0 = 'isDirectory';
|
|
122
122
|
fields.l(element_0);
|
|
123
123
|
}
|
|
124
|
-
if (!(this.
|
|
124
|
+
if (!(this.r3r_1 == null)) {
|
|
125
125
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
126
|
-
var element_1 = 'byteCount=' + this.
|
|
126
|
+
var element_1 = 'byteCount=' + this.r3r_1.toString();
|
|
127
127
|
fields.l(element_1);
|
|
128
128
|
}
|
|
129
|
-
if (!(this.
|
|
129
|
+
if (!(this.s3r_1 == null)) {
|
|
130
130
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
131
|
-
var element_2 = 'createdAt=' + this.
|
|
131
|
+
var element_2 = 'createdAt=' + this.s3r_1.toString();
|
|
132
132
|
fields.l(element_2);
|
|
133
133
|
}
|
|
134
|
-
if (!(this.
|
|
134
|
+
if (!(this.t3r_1 == null)) {
|
|
135
135
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
136
|
-
var element_3 = 'lastModifiedAt=' + this.
|
|
136
|
+
var element_3 = 'lastModifiedAt=' + this.t3r_1.toString();
|
|
137
137
|
fields.l(element_3);
|
|
138
138
|
}
|
|
139
|
-
if (!(this.
|
|
139
|
+
if (!(this.u3r_1 == null)) {
|
|
140
140
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
141
|
-
var element_4 = 'lastAccessedAt=' + this.
|
|
141
|
+
var element_4 = 'lastAccessedAt=' + this.u3r_1.toString();
|
|
142
142
|
fields.l(element_4);
|
|
143
143
|
}
|
|
144
144
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
145
|
-
if (!this.
|
|
145
|
+
if (!this.v3r_1.i()) {
|
|
146
146
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
147
|
-
var element_5 = 'extras=' + toString(this.
|
|
147
|
+
var element_5 = 'extras=' + toString(this.v3r_1);
|
|
148
148
|
fields.l(element_5);
|
|
149
149
|
}
|
|
150
150
|
return joinToString(fields, ', ', 'FileMetadata(', ')');
|
|
@@ -157,9 +157,9 @@
|
|
|
157
157
|
}
|
|
158
158
|
function Segment_init_$Init$($this) {
|
|
159
159
|
Segment.call($this);
|
|
160
|
-
$this.
|
|
161
|
-
$this.
|
|
162
|
-
$this.
|
|
160
|
+
$this.w3r_1 = new Int8Array(8192);
|
|
161
|
+
$this.a3s_1 = true;
|
|
162
|
+
$this.z3r_1 = false;
|
|
163
163
|
return $this;
|
|
164
164
|
}
|
|
165
165
|
function Segment_init_$Create$() {
|
|
@@ -167,59 +167,59 @@
|
|
|
167
167
|
}
|
|
168
168
|
function Segment_init_$Init$_0(data, pos, limit, shared, owner, $this) {
|
|
169
169
|
Segment.call($this);
|
|
170
|
-
$this.
|
|
171
|
-
$this.
|
|
172
|
-
$this.
|
|
173
|
-
$this.
|
|
174
|
-
$this.
|
|
170
|
+
$this.w3r_1 = data;
|
|
171
|
+
$this.x3r_1 = pos;
|
|
172
|
+
$this.y3r_1 = limit;
|
|
173
|
+
$this.z3r_1 = shared;
|
|
174
|
+
$this.a3s_1 = owner;
|
|
175
175
|
return $this;
|
|
176
176
|
}
|
|
177
177
|
function Segment_init_$Create$_0(data, pos, limit, shared, owner) {
|
|
178
178
|
return Segment_init_$Init$_0(data, pos, limit, shared, owner, objectCreate(protoOf(Segment)));
|
|
179
179
|
}
|
|
180
180
|
function Companion() {
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
181
|
+
this.d3s_1 = 8192;
|
|
182
|
+
this.e3s_1 = 1024;
|
|
183
183
|
}
|
|
184
184
|
var Companion_instance;
|
|
185
185
|
function Companion_getInstance() {
|
|
186
186
|
return Companion_instance;
|
|
187
187
|
}
|
|
188
|
-
protoOf(Segment).
|
|
189
|
-
this.
|
|
190
|
-
return Segment_init_$Create$_0(this.
|
|
188
|
+
protoOf(Segment).f3s = function () {
|
|
189
|
+
this.z3r_1 = true;
|
|
190
|
+
return Segment_init_$Create$_0(this.w3r_1, this.x3r_1, this.y3r_1, true, false);
|
|
191
191
|
};
|
|
192
|
-
protoOf(Segment).
|
|
193
|
-
var result = !(this.
|
|
194
|
-
ensureNotNull(this.
|
|
195
|
-
ensureNotNull(this.
|
|
196
|
-
this.
|
|
197
|
-
this.
|
|
192
|
+
protoOf(Segment).g3s = function () {
|
|
193
|
+
var result = !(this.b3s_1 === this) ? this.b3s_1 : null;
|
|
194
|
+
ensureNotNull(this.c3s_1).b3s_1 = this.b3s_1;
|
|
195
|
+
ensureNotNull(this.b3s_1).c3s_1 = this.c3s_1;
|
|
196
|
+
this.b3s_1 = null;
|
|
197
|
+
this.c3s_1 = null;
|
|
198
198
|
return result;
|
|
199
199
|
};
|
|
200
|
-
protoOf(Segment).
|
|
201
|
-
segment.
|
|
202
|
-
segment.
|
|
203
|
-
ensureNotNull(this.
|
|
204
|
-
this.
|
|
200
|
+
protoOf(Segment).h3s = function (segment) {
|
|
201
|
+
segment.c3s_1 = this;
|
|
202
|
+
segment.b3s_1 = this.b3s_1;
|
|
203
|
+
ensureNotNull(this.b3s_1).c3s_1 = segment;
|
|
204
|
+
this.b3s_1 = segment;
|
|
205
205
|
return segment;
|
|
206
206
|
};
|
|
207
|
-
protoOf(Segment).
|
|
207
|
+
protoOf(Segment).i3s = function (byteCount) {
|
|
208
208
|
// Inline function 'kotlin.require' call
|
|
209
|
-
if (!(byteCount > 0 && byteCount <= (this.
|
|
209
|
+
if (!(byteCount > 0 && byteCount <= (this.y3r_1 - this.x3r_1 | 0))) {
|
|
210
210
|
var message = 'byteCount out of range';
|
|
211
211
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
212
212
|
}
|
|
213
213
|
var prefix;
|
|
214
214
|
if (byteCount >= 1024) {
|
|
215
|
-
prefix = this.
|
|
215
|
+
prefix = this.f3s();
|
|
216
216
|
} else {
|
|
217
|
-
prefix = SegmentPool_instance.
|
|
218
|
-
var tmp0 = this.
|
|
219
|
-
var tmp2 = prefix.
|
|
220
|
-
var tmp5 = this.
|
|
217
|
+
prefix = SegmentPool_instance.l3s();
|
|
218
|
+
var tmp0 = this.w3r_1;
|
|
219
|
+
var tmp2 = prefix.w3r_1;
|
|
220
|
+
var tmp5 = this.x3r_1;
|
|
221
221
|
// Inline function 'kotlin.collections.copyInto' call
|
|
222
|
-
var endIndex = this.
|
|
222
|
+
var endIndex = this.x3r_1 + byteCount | 0;
|
|
223
223
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
224
224
|
// Inline function 'kotlin.js.asDynamic' call
|
|
225
225
|
var tmp = tmp0;
|
|
@@ -227,74 +227,74 @@
|
|
|
227
227
|
// Inline function 'kotlin.js.asDynamic' call
|
|
228
228
|
arrayCopy(tmp, tmp2, 0, tmp5, endIndex);
|
|
229
229
|
}
|
|
230
|
-
prefix.
|
|
231
|
-
this.
|
|
232
|
-
ensureNotNull(this.
|
|
230
|
+
prefix.y3r_1 = prefix.x3r_1 + byteCount | 0;
|
|
231
|
+
this.x3r_1 = this.x3r_1 + byteCount | 0;
|
|
232
|
+
ensureNotNull(this.c3s_1).h3s(prefix);
|
|
233
233
|
return prefix;
|
|
234
234
|
};
|
|
235
|
-
protoOf(Segment).
|
|
235
|
+
protoOf(Segment).m3s = function () {
|
|
236
236
|
// Inline function 'kotlin.check' call
|
|
237
|
-
if (!!(this.
|
|
237
|
+
if (!!(this.c3s_1 === this)) {
|
|
238
238
|
var message = 'cannot compact';
|
|
239
239
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
240
240
|
}
|
|
241
|
-
if (!ensureNotNull(this.
|
|
241
|
+
if (!ensureNotNull(this.c3s_1).a3s_1)
|
|
242
242
|
return Unit_instance;
|
|
243
|
-
var byteCount = this.
|
|
244
|
-
var availableByteCount = (8192 - ensureNotNull(this.
|
|
243
|
+
var byteCount = this.y3r_1 - this.x3r_1 | 0;
|
|
244
|
+
var availableByteCount = (8192 - ensureNotNull(this.c3s_1).y3r_1 | 0) + (ensureNotNull(this.c3s_1).z3r_1 ? 0 : ensureNotNull(this.c3s_1).x3r_1) | 0;
|
|
245
245
|
if (byteCount > availableByteCount)
|
|
246
246
|
return Unit_instance;
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
SegmentPool_instance.
|
|
247
|
+
this.n3s(ensureNotNull(this.c3s_1), byteCount);
|
|
248
|
+
this.g3s();
|
|
249
|
+
SegmentPool_instance.o3s(this);
|
|
250
250
|
};
|
|
251
|
-
protoOf(Segment).
|
|
251
|
+
protoOf(Segment).n3s = function (sink, byteCount) {
|
|
252
252
|
// Inline function 'kotlin.check' call
|
|
253
|
-
if (!sink.
|
|
253
|
+
if (!sink.a3s_1) {
|
|
254
254
|
var message = 'only owner can write';
|
|
255
255
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
256
256
|
}
|
|
257
|
-
if ((sink.
|
|
258
|
-
if (sink.
|
|
257
|
+
if ((sink.y3r_1 + byteCount | 0) > 8192) {
|
|
258
|
+
if (sink.z3r_1)
|
|
259
259
|
throw IllegalArgumentException_init_$Create$_0();
|
|
260
|
-
if (((sink.
|
|
260
|
+
if (((sink.y3r_1 + byteCount | 0) - sink.x3r_1 | 0) > 8192)
|
|
261
261
|
throw IllegalArgumentException_init_$Create$_0();
|
|
262
|
-
var tmp0 = sink.
|
|
263
|
-
var tmp2 = sink.
|
|
264
|
-
var tmp5 = sink.
|
|
262
|
+
var tmp0 = sink.w3r_1;
|
|
263
|
+
var tmp2 = sink.w3r_1;
|
|
264
|
+
var tmp5 = sink.x3r_1;
|
|
265
265
|
// Inline function 'kotlin.collections.copyInto' call
|
|
266
|
-
var endIndex = sink.
|
|
266
|
+
var endIndex = sink.y3r_1;
|
|
267
267
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
268
268
|
// Inline function 'kotlin.js.asDynamic' call
|
|
269
269
|
var tmp = tmp0;
|
|
270
270
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
271
271
|
// Inline function 'kotlin.js.asDynamic' call
|
|
272
272
|
arrayCopy(tmp, tmp2, 0, tmp5, endIndex);
|
|
273
|
-
sink.
|
|
274
|
-
sink.
|
|
273
|
+
sink.y3r_1 = sink.y3r_1 - sink.x3r_1 | 0;
|
|
274
|
+
sink.x3r_1 = 0;
|
|
275
275
|
}
|
|
276
|
-
var tmp0_0 = this.
|
|
277
|
-
var tmp2_0 = sink.
|
|
278
|
-
var tmp4 = sink.
|
|
279
|
-
var tmp6 = this.
|
|
276
|
+
var tmp0_0 = this.w3r_1;
|
|
277
|
+
var tmp2_0 = sink.w3r_1;
|
|
278
|
+
var tmp4 = sink.y3r_1;
|
|
279
|
+
var tmp6 = this.x3r_1;
|
|
280
280
|
// Inline function 'kotlin.collections.copyInto' call
|
|
281
|
-
var endIndex_0 = this.
|
|
281
|
+
var endIndex_0 = this.x3r_1 + byteCount | 0;
|
|
282
282
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
283
283
|
// Inline function 'kotlin.js.asDynamic' call
|
|
284
284
|
var tmp_0 = tmp0_0;
|
|
285
285
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
286
286
|
// Inline function 'kotlin.js.asDynamic' call
|
|
287
287
|
arrayCopy(tmp_0, tmp2_0, tmp4, tmp6, endIndex_0);
|
|
288
|
-
sink.
|
|
289
|
-
this.
|
|
288
|
+
sink.y3r_1 = sink.y3r_1 + byteCount | 0;
|
|
289
|
+
this.x3r_1 = this.x3r_1 + byteCount | 0;
|
|
290
290
|
};
|
|
291
291
|
function Segment() {
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
292
|
+
this.x3r_1 = 0;
|
|
293
|
+
this.y3r_1 = 0;
|
|
294
|
+
this.z3r_1 = false;
|
|
295
|
+
this.a3s_1 = false;
|
|
296
|
+
this.b3s_1 = null;
|
|
297
|
+
this.c3s_1 = null;
|
|
298
298
|
}
|
|
299
299
|
function checkOffsetAndCount(size, offset, byteCount) {
|
|
300
300
|
if ((offset | byteCount) < 0n || offset > size || subtract(size, offset) < byteCount) {
|
|
@@ -791,9 +791,9 @@
|
|
|
791
791
|
function commonIndexOf(_this__u8e3s4, bytes, fromIndex, toIndex, bytesOffset, byteCount) {
|
|
792
792
|
toIndex = toIndex === VOID ? 9223372036854775807n : toIndex;
|
|
793
793
|
bytesOffset = bytesOffset === VOID ? 0 : bytesOffset;
|
|
794
|
-
byteCount = byteCount === VOID ? bytes.
|
|
794
|
+
byteCount = byteCount === VOID ? bytes.s() : byteCount;
|
|
795
795
|
_init_properties_Buffer_kt__ndcom8();
|
|
796
|
-
checkOffsetAndCount(fromInt(bytes.
|
|
796
|
+
checkOffsetAndCount(fromInt(bytes.s()), fromInt(bytesOffset), fromInt(byteCount));
|
|
797
797
|
// Inline function 'kotlin.require' call
|
|
798
798
|
if (!(byteCount > 0)) {
|
|
799
799
|
var message = 'byteCount == 0';
|
|
@@ -811,14 +811,14 @@
|
|
|
811
811
|
}
|
|
812
812
|
var fromIndex_0 = fromIndex;
|
|
813
813
|
var toIndex_0 = toIndex;
|
|
814
|
-
if (toIndex_0 > _this__u8e3s4.
|
|
815
|
-
toIndex_0 = _this__u8e3s4.
|
|
814
|
+
if (toIndex_0 > _this__u8e3s4.t3s_1)
|
|
815
|
+
toIndex_0 = _this__u8e3s4.t3s_1;
|
|
816
816
|
if (fromIndex_0 === toIndex_0)
|
|
817
817
|
return -1n;
|
|
818
818
|
var tmp2 = fromIndex_0;
|
|
819
819
|
$l$block_1: {
|
|
820
820
|
// Inline function 'okio.internal.seek' call
|
|
821
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
821
|
+
var tmp0_elvis_lhs = _this__u8e3s4.s3s_1;
|
|
822
822
|
var tmp;
|
|
823
823
|
if (tmp0_elvis_lhs == null) {
|
|
824
824
|
var tmp_0;
|
|
@@ -829,48 +829,48 @@
|
|
|
829
829
|
}
|
|
830
830
|
var s = tmp_0;
|
|
831
831
|
var offset = -1n;
|
|
832
|
-
var targetByteArray = bytes.
|
|
832
|
+
var targetByteArray = bytes.u3s();
|
|
833
833
|
var b0 = targetByteArray[bytesOffset];
|
|
834
834
|
var tmp0 = toIndex_0;
|
|
835
835
|
// Inline function 'kotlin.Long.minus' call
|
|
836
|
-
var this_0 = _this__u8e3s4.
|
|
836
|
+
var this_0 = _this__u8e3s4.t3s_1;
|
|
837
837
|
var tmp$ret$8 = subtract(this_0, fromInt(byteCount));
|
|
838
838
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
839
839
|
var b = add(tmp$ret$8, 1n);
|
|
840
840
|
var resultLimit = tmp0 <= b ? tmp0 : b;
|
|
841
841
|
while (offset < resultLimit) {
|
|
842
|
-
var data = s.
|
|
843
|
-
var tmp0_0 = s.
|
|
842
|
+
var data = s.w3r_1;
|
|
843
|
+
var tmp0_0 = s.y3r_1;
|
|
844
844
|
// Inline function 'okio.minOf' call
|
|
845
|
-
var b_0 = subtract(add(numberToLong(s.
|
|
845
|
+
var b_0 = subtract(add(numberToLong(s.x3r_1), resultLimit), offset);
|
|
846
846
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
847
847
|
var a = fromInt(tmp0_0);
|
|
848
848
|
var tmp$ret$10 = a <= b_0 ? a : b_0;
|
|
849
849
|
var segmentLimit = convertToInt(tmp$ret$10);
|
|
850
|
-
var inductionVariable = convertToInt(subtract(add(numberToLong(s.
|
|
850
|
+
var inductionVariable = convertToInt(subtract(add(numberToLong(s.x3r_1), fromIndex_0), offset));
|
|
851
851
|
if (inductionVariable < segmentLimit)
|
|
852
852
|
do {
|
|
853
853
|
var pos = inductionVariable;
|
|
854
854
|
inductionVariable = inductionVariable + 1 | 0;
|
|
855
855
|
if (data[pos] === b0 && rangeEquals(s, pos + 1 | 0, targetByteArray, bytesOffset + 1 | 0, byteCount)) {
|
|
856
|
-
return add(numberToLong(pos - s.
|
|
856
|
+
return add(numberToLong(pos - s.x3r_1 | 0), offset);
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
859
|
while (inductionVariable < segmentLimit);
|
|
860
|
-
offset = add(offset, fromInt(s.
|
|
860
|
+
offset = add(offset, fromInt(s.y3r_1 - s.x3r_1 | 0));
|
|
861
861
|
fromIndex_0 = offset;
|
|
862
|
-
s = ensureNotNull(s.
|
|
862
|
+
s = ensureNotNull(s.b3s_1);
|
|
863
863
|
}
|
|
864
864
|
return -1n;
|
|
865
865
|
} else {
|
|
866
866
|
tmp = tmp0_elvis_lhs;
|
|
867
867
|
}
|
|
868
868
|
var s_0 = tmp;
|
|
869
|
-
if (subtract(_this__u8e3s4.
|
|
870
|
-
var offset_0 = _this__u8e3s4.
|
|
869
|
+
if (subtract(_this__u8e3s4.t3s_1, tmp2) < tmp2) {
|
|
870
|
+
var offset_0 = _this__u8e3s4.t3s_1;
|
|
871
871
|
while (offset_0 > tmp2) {
|
|
872
|
-
s_0 = ensureNotNull(s_0.
|
|
873
|
-
offset_0 = subtract(offset_0, fromInt(s_0.
|
|
872
|
+
s_0 = ensureNotNull(s_0.c3s_1);
|
|
873
|
+
offset_0 = subtract(offset_0, fromInt(s_0.y3r_1 - s_0.x3r_1 | 0));
|
|
874
874
|
}
|
|
875
875
|
var tmp0_1 = s_0;
|
|
876
876
|
var offset_1 = offset_0;
|
|
@@ -882,37 +882,37 @@
|
|
|
882
882
|
}
|
|
883
883
|
var s_1 = tmp_1;
|
|
884
884
|
var offset_2 = offset_1;
|
|
885
|
-
var targetByteArray_0 = bytes.
|
|
885
|
+
var targetByteArray_0 = bytes.u3s();
|
|
886
886
|
var b0_0 = targetByteArray_0[bytesOffset];
|
|
887
887
|
var tmp0_2 = toIndex_0;
|
|
888
888
|
// Inline function 'kotlin.Long.minus' call
|
|
889
|
-
var this_1 = _this__u8e3s4.
|
|
889
|
+
var this_1 = _this__u8e3s4.t3s_1;
|
|
890
890
|
var tmp$ret$13 = subtract(this_1, fromInt(byteCount));
|
|
891
891
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
892
892
|
var b_1 = add(tmp$ret$13, 1n);
|
|
893
893
|
var resultLimit_0 = tmp0_2 <= b_1 ? tmp0_2 : b_1;
|
|
894
894
|
while (offset_2 < resultLimit_0) {
|
|
895
|
-
var data_0 = s_1.
|
|
896
|
-
var tmp0_3 = s_1.
|
|
895
|
+
var data_0 = s_1.w3r_1;
|
|
896
|
+
var tmp0_3 = s_1.y3r_1;
|
|
897
897
|
// Inline function 'okio.minOf' call
|
|
898
|
-
var b_2 = subtract(add(numberToLong(s_1.
|
|
898
|
+
var b_2 = subtract(add(numberToLong(s_1.x3r_1), resultLimit_0), offset_2);
|
|
899
899
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
900
900
|
var a_0 = fromInt(tmp0_3);
|
|
901
901
|
var tmp$ret$15 = a_0 <= b_2 ? a_0 : b_2;
|
|
902
902
|
var segmentLimit_0 = convertToInt(tmp$ret$15);
|
|
903
|
-
var inductionVariable_0 = convertToInt(subtract(add(numberToLong(s_1.
|
|
903
|
+
var inductionVariable_0 = convertToInt(subtract(add(numberToLong(s_1.x3r_1), fromIndex_0), offset_2));
|
|
904
904
|
if (inductionVariable_0 < segmentLimit_0)
|
|
905
905
|
do {
|
|
906
906
|
var pos_0 = inductionVariable_0;
|
|
907
907
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
908
908
|
if (data_0[pos_0] === b0_0 && rangeEquals(s_1, pos_0 + 1 | 0, targetByteArray_0, bytesOffset + 1 | 0, byteCount)) {
|
|
909
|
-
return add(numberToLong(pos_0 - s_1.
|
|
909
|
+
return add(numberToLong(pos_0 - s_1.x3r_1 | 0), offset_2);
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
while (inductionVariable_0 < segmentLimit_0);
|
|
913
|
-
offset_2 = add(offset_2, fromInt(s_1.
|
|
913
|
+
offset_2 = add(offset_2, fromInt(s_1.y3r_1 - s_1.x3r_1 | 0));
|
|
914
914
|
fromIndex_0 = offset_2;
|
|
915
|
-
s_1 = ensureNotNull(s_1.
|
|
915
|
+
s_1 = ensureNotNull(s_1.b3s_1);
|
|
916
916
|
}
|
|
917
917
|
return -1n;
|
|
918
918
|
} else {
|
|
@@ -920,11 +920,11 @@
|
|
|
920
920
|
$l$loop: while (true) {
|
|
921
921
|
var tmp0_4 = offset_3;
|
|
922
922
|
// Inline function 'kotlin.Long.plus' call
|
|
923
|
-
var other = s_0.
|
|
923
|
+
var other = s_0.y3r_1 - s_0.x3r_1 | 0;
|
|
924
924
|
var nextOffset = add(tmp0_4, fromInt(other));
|
|
925
925
|
if (nextOffset > tmp2)
|
|
926
926
|
break $l$loop;
|
|
927
|
-
s_0 = ensureNotNull(s_0.
|
|
927
|
+
s_0 = ensureNotNull(s_0.b3s_1);
|
|
928
928
|
offset_3 = nextOffset;
|
|
929
929
|
}
|
|
930
930
|
var tmp0_5 = s_0;
|
|
@@ -937,37 +937,37 @@
|
|
|
937
937
|
}
|
|
938
938
|
var s_2 = tmp_2;
|
|
939
939
|
var offset_5 = offset_4;
|
|
940
|
-
var targetByteArray_1 = bytes.
|
|
940
|
+
var targetByteArray_1 = bytes.u3s();
|
|
941
941
|
var b0_1 = targetByteArray_1[bytesOffset];
|
|
942
942
|
var tmp0_6 = toIndex_0;
|
|
943
943
|
// Inline function 'kotlin.Long.minus' call
|
|
944
|
-
var this_2 = _this__u8e3s4.
|
|
944
|
+
var this_2 = _this__u8e3s4.t3s_1;
|
|
945
945
|
var tmp$ret$19 = subtract(this_2, fromInt(byteCount));
|
|
946
946
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
947
947
|
var b_3 = add(tmp$ret$19, 1n);
|
|
948
948
|
var resultLimit_1 = tmp0_6 <= b_3 ? tmp0_6 : b_3;
|
|
949
949
|
while (offset_5 < resultLimit_1) {
|
|
950
|
-
var data_1 = s_2.
|
|
951
|
-
var tmp0_7 = s_2.
|
|
950
|
+
var data_1 = s_2.w3r_1;
|
|
951
|
+
var tmp0_7 = s_2.y3r_1;
|
|
952
952
|
// Inline function 'okio.minOf' call
|
|
953
|
-
var b_4 = subtract(add(numberToLong(s_2.
|
|
953
|
+
var b_4 = subtract(add(numberToLong(s_2.x3r_1), resultLimit_1), offset_5);
|
|
954
954
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
955
955
|
var a_1 = fromInt(tmp0_7);
|
|
956
956
|
var tmp$ret$21 = a_1 <= b_4 ? a_1 : b_4;
|
|
957
957
|
var segmentLimit_1 = convertToInt(tmp$ret$21);
|
|
958
|
-
var inductionVariable_1 = convertToInt(subtract(add(numberToLong(s_2.
|
|
958
|
+
var inductionVariable_1 = convertToInt(subtract(add(numberToLong(s_2.x3r_1), fromIndex_0), offset_5));
|
|
959
959
|
if (inductionVariable_1 < segmentLimit_1)
|
|
960
960
|
do {
|
|
961
961
|
var pos_1 = inductionVariable_1;
|
|
962
962
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
963
963
|
if (data_1[pos_1] === b0_1 && rangeEquals(s_2, pos_1 + 1 | 0, targetByteArray_1, bytesOffset + 1 | 0, byteCount)) {
|
|
964
|
-
return add(numberToLong(pos_1 - s_2.
|
|
964
|
+
return add(numberToLong(pos_1 - s_2.x3r_1 | 0), offset_5);
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
while (inductionVariable_1 < segmentLimit_1);
|
|
968
|
-
offset_5 = add(offset_5, fromInt(s_2.
|
|
968
|
+
offset_5 = add(offset_5, fromInt(s_2.y3r_1 - s_2.x3r_1 | 0));
|
|
969
969
|
fromIndex_0 = offset_5;
|
|
970
|
-
s_2 = ensureNotNull(s_2.
|
|
970
|
+
s_2 = ensureNotNull(s_2.b3s_1);
|
|
971
971
|
}
|
|
972
972
|
return -1n;
|
|
973
973
|
}
|
|
@@ -977,15 +977,15 @@
|
|
|
977
977
|
_init_properties_Buffer_kt__ndcom8();
|
|
978
978
|
var segment_0 = segment;
|
|
979
979
|
var segmentPos_0 = segmentPos;
|
|
980
|
-
var segmentLimit = segment_0.
|
|
981
|
-
var data = segment_0.
|
|
980
|
+
var segmentLimit = segment_0.y3r_1;
|
|
981
|
+
var data = segment_0.w3r_1;
|
|
982
982
|
var i = bytesOffset;
|
|
983
983
|
while (i < bytesLimit) {
|
|
984
984
|
if (segmentPos_0 === segmentLimit) {
|
|
985
|
-
segment_0 = ensureNotNull(segment_0.
|
|
986
|
-
data = segment_0.
|
|
987
|
-
segmentPos_0 = segment_0.
|
|
988
|
-
segmentLimit = segment_0.
|
|
985
|
+
segment_0 = ensureNotNull(segment_0.b3s_1);
|
|
986
|
+
data = segment_0.w3r_1;
|
|
987
|
+
segmentPos_0 = segment_0.x3r_1;
|
|
988
|
+
segmentLimit = segment_0.y3r_1;
|
|
989
989
|
}
|
|
990
990
|
if (!(data[segmentPos_0] === bytes[i])) {
|
|
991
991
|
return false;
|
|
@@ -1011,7 +1011,7 @@
|
|
|
1011
1011
|
var HEX_DIGIT_CHARS;
|
|
1012
1012
|
function commonWrite(_this__u8e3s4, buffer, offset, byteCount) {
|
|
1013
1013
|
_init_properties_ByteString_kt__sqjq7b();
|
|
1014
|
-
buffer.
|
|
1014
|
+
buffer.v3s(_this__u8e3s4.p3s_1, offset, byteCount);
|
|
1015
1015
|
}
|
|
1016
1016
|
function codePointIndexToCharIndex(s, codePointCount) {
|
|
1017
1017
|
_init_properties_ByteString_kt__sqjq7b();
|
|
@@ -1866,7 +1866,7 @@
|
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
1868
1868
|
function commonExists(_this__u8e3s4, path) {
|
|
1869
|
-
return !(_this__u8e3s4.
|
|
1869
|
+
return !(_this__u8e3s4.w3s(path) == null);
|
|
1870
1870
|
}
|
|
1871
1871
|
function get_SLASH() {
|
|
1872
1872
|
_init_properties_Path_kt__cy3pvf();
|
|
@@ -1895,7 +1895,7 @@
|
|
|
1895
1895
|
var DOT_DOT;
|
|
1896
1896
|
function commonToPath(_this__u8e3s4, normalize) {
|
|
1897
1897
|
_init_properties_Path_kt__cy3pvf();
|
|
1898
|
-
return toPath((new Buffer()).
|
|
1898
|
+
return toPath((new Buffer()).x3s(_this__u8e3s4), normalize);
|
|
1899
1899
|
}
|
|
1900
1900
|
function toSlash(_this__u8e3s4) {
|
|
1901
1901
|
_init_properties_Path_kt__cy3pvf();
|
|
@@ -1917,75 +1917,75 @@
|
|
|
1917
1917
|
var slash = null;
|
|
1918
1918
|
var result = new Buffer();
|
|
1919
1919
|
var leadingSlashCount = 0;
|
|
1920
|
-
while (_this__u8e3s4.
|
|
1921
|
-
var byte = _this__u8e3s4.
|
|
1920
|
+
while (_this__u8e3s4.y3s(0n, get_SLASH()) || _this__u8e3s4.y3s(0n, get_BACKSLASH())) {
|
|
1921
|
+
var byte = _this__u8e3s4.z3s();
|
|
1922
1922
|
var tmp0_elvis_lhs = slash;
|
|
1923
1923
|
slash = tmp0_elvis_lhs == null ? toSlash_0(byte) : tmp0_elvis_lhs;
|
|
1924
1924
|
leadingSlashCount = leadingSlashCount + 1 | 0;
|
|
1925
1925
|
}
|
|
1926
1926
|
var windowsUncPath = leadingSlashCount >= 2 && equals(slash, get_BACKSLASH());
|
|
1927
1927
|
if (windowsUncPath) {
|
|
1928
|
-
result.
|
|
1929
|
-
result.
|
|
1928
|
+
result.e3t(ensureNotNull(slash));
|
|
1929
|
+
result.e3t(slash);
|
|
1930
1930
|
} else if (leadingSlashCount > 0) {
|
|
1931
|
-
result.
|
|
1931
|
+
result.e3t(ensureNotNull(slash));
|
|
1932
1932
|
} else {
|
|
1933
|
-
var limit = _this__u8e3s4.
|
|
1933
|
+
var limit = _this__u8e3s4.a3t(get_ANY_SLASH());
|
|
1934
1934
|
var tmp1_elvis_lhs = slash;
|
|
1935
1935
|
var tmp;
|
|
1936
1936
|
if (tmp1_elvis_lhs == null) {
|
|
1937
|
-
tmp = limit === -1n ? toSlash(Companion_getInstance_2().
|
|
1937
|
+
tmp = limit === -1n ? toSlash(Companion_getInstance_2().c3t_1) : toSlash_0(_this__u8e3s4.b3t(limit));
|
|
1938
1938
|
} else {
|
|
1939
1939
|
tmp = tmp1_elvis_lhs;
|
|
1940
1940
|
}
|
|
1941
1941
|
slash = tmp;
|
|
1942
1942
|
if (startsWithVolumeLetterAndColon(_this__u8e3s4, slash)) {
|
|
1943
1943
|
if (limit === 2n) {
|
|
1944
|
-
result.
|
|
1944
|
+
result.d3t(_this__u8e3s4, 3n);
|
|
1945
1945
|
} else {
|
|
1946
|
-
result.
|
|
1946
|
+
result.d3t(_this__u8e3s4, 2n);
|
|
1947
1947
|
}
|
|
1948
1948
|
}
|
|
1949
1949
|
}
|
|
1950
|
-
var absolute = result.
|
|
1950
|
+
var absolute = result.t3s_1 > 0n;
|
|
1951
1951
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1952
1952
|
var canonicalParts = ArrayList_init_$Create$();
|
|
1953
|
-
while (!_this__u8e3s4.
|
|
1954
|
-
var limit_0 = _this__u8e3s4.
|
|
1953
|
+
while (!_this__u8e3s4.f3t()) {
|
|
1954
|
+
var limit_0 = _this__u8e3s4.a3t(get_ANY_SLASH());
|
|
1955
1955
|
var part;
|
|
1956
1956
|
if (limit_0 === -1n) {
|
|
1957
|
-
part = _this__u8e3s4.
|
|
1957
|
+
part = _this__u8e3s4.h3t();
|
|
1958
1958
|
} else {
|
|
1959
|
-
part = _this__u8e3s4.
|
|
1960
|
-
_this__u8e3s4.
|
|
1959
|
+
part = _this__u8e3s4.g3t(limit_0);
|
|
1960
|
+
_this__u8e3s4.z3s();
|
|
1961
1961
|
}
|
|
1962
1962
|
if (part.equals(get_DOT_DOT())) {
|
|
1963
1963
|
if (!absolute || !canonicalParts.i())
|
|
1964
1964
|
if (!normalize || (!absolute && (canonicalParts.i() || last(canonicalParts).equals(get_DOT_DOT())))) {
|
|
1965
1965
|
canonicalParts.l(part);
|
|
1966
|
-
} else if (!windowsUncPath || canonicalParts.
|
|
1966
|
+
} else if (!windowsUncPath || canonicalParts.s() !== 1) {
|
|
1967
1967
|
removeLastOrNull(canonicalParts);
|
|
1968
1968
|
}
|
|
1969
|
-
} else if (!part.equals(get_DOT()) && !part.equals(Companion_getInstance_1().
|
|
1969
|
+
} else if (!part.equals(get_DOT()) && !part.equals(Companion_getInstance_1().i3t_1)) {
|
|
1970
1970
|
canonicalParts.l(part);
|
|
1971
1971
|
}
|
|
1972
1972
|
}
|
|
1973
1973
|
var inductionVariable = 0;
|
|
1974
|
-
var last_0 = canonicalParts.
|
|
1974
|
+
var last_0 = canonicalParts.s();
|
|
1975
1975
|
if (inductionVariable < last_0)
|
|
1976
1976
|
do {
|
|
1977
1977
|
var i = inductionVariable;
|
|
1978
1978
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1979
1979
|
if (i > 0) {
|
|
1980
|
-
result.
|
|
1980
|
+
result.e3t(slash);
|
|
1981
1981
|
}
|
|
1982
|
-
result.
|
|
1982
|
+
result.e3t(canonicalParts.x(i));
|
|
1983
1983
|
}
|
|
1984
1984
|
while (inductionVariable < last_0);
|
|
1985
|
-
if (result.
|
|
1986
|
-
result.
|
|
1985
|
+
if (result.t3s_1 === 0n) {
|
|
1986
|
+
result.e3t(get_DOT());
|
|
1987
1987
|
}
|
|
1988
|
-
return new Path(result.
|
|
1988
|
+
return new Path(result.h3t());
|
|
1989
1989
|
}
|
|
1990
1990
|
function toSlash_0(_this__u8e3s4) {
|
|
1991
1991
|
_init_properties_Path_kt__cy3pvf();
|
|
@@ -2009,30 +2009,30 @@
|
|
|
2009
2009
|
_init_properties_Path_kt__cy3pvf();
|
|
2010
2010
|
if (!slash.equals(get_BACKSLASH()))
|
|
2011
2011
|
return false;
|
|
2012
|
-
if (_this__u8e3s4.
|
|
2012
|
+
if (_this__u8e3s4.t3s_1 < 2n)
|
|
2013
2013
|
return false;
|
|
2014
|
-
var tmp = _this__u8e3s4.
|
|
2014
|
+
var tmp = _this__u8e3s4.b3t(1n);
|
|
2015
2015
|
// Inline function 'kotlin.code' call
|
|
2016
2016
|
var this_0 = _Char___init__impl__6a9atx(58);
|
|
2017
2017
|
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
|
|
2018
2018
|
if (!(tmp === toByte(tmp$ret$0)))
|
|
2019
2019
|
return false;
|
|
2020
|
-
var b = numberToChar(_this__u8e3s4.
|
|
2020
|
+
var b = numberToChar(_this__u8e3s4.b3t(0n));
|
|
2021
2021
|
return (_Char___init__impl__6a9atx(97) <= b ? b <= _Char___init__impl__6a9atx(122) : false) || (_Char___init__impl__6a9atx(65) <= b ? b <= _Char___init__impl__6a9atx(90) : false);
|
|
2022
2022
|
}
|
|
2023
2023
|
var properties_initialized_Path_kt_a3g6iv;
|
|
2024
2024
|
function _init_properties_Path_kt__cy3pvf() {
|
|
2025
2025
|
if (!properties_initialized_Path_kt_a3g6iv) {
|
|
2026
2026
|
properties_initialized_Path_kt_a3g6iv = true;
|
|
2027
|
-
SLASH = Companion_getInstance_1().
|
|
2028
|
-
BACKSLASH = Companion_getInstance_1().
|
|
2029
|
-
ANY_SLASH = Companion_getInstance_1().
|
|
2030
|
-
DOT = Companion_getInstance_1().
|
|
2031
|
-
DOT_DOT = Companion_getInstance_1().
|
|
2027
|
+
SLASH = Companion_getInstance_1().j3t('/');
|
|
2028
|
+
BACKSLASH = Companion_getInstance_1().j3t('\\');
|
|
2029
|
+
ANY_SLASH = Companion_getInstance_1().j3t('/\\');
|
|
2030
|
+
DOT = Companion_getInstance_1().j3t('.');
|
|
2031
|
+
DOT_DOT = Companion_getInstance_1().j3t('..');
|
|
2032
2032
|
}
|
|
2033
2033
|
}
|
|
2034
2034
|
function segment(_this__u8e3s4, pos) {
|
|
2035
|
-
var i = binarySearch(_this__u8e3s4.
|
|
2035
|
+
var i = binarySearch(_this__u8e3s4.o3t_1, pos + 1 | 0, 0, _this__u8e3s4.n3t_1.length);
|
|
2036
2036
|
return i >= 0 ? i : ~i;
|
|
2037
2037
|
}
|
|
2038
2038
|
function binarySearch(_this__u8e3s4, value, fromIndex, toIndex) {
|
|
@@ -2052,7 +2052,7 @@
|
|
|
2052
2052
|
}
|
|
2053
2053
|
function Companion_0() {
|
|
2054
2054
|
Companion_instance_0 = this;
|
|
2055
|
-
this.
|
|
2055
|
+
this.p3t_1 = Companion_getInstance_2().q3t(get_tmpdir());
|
|
2056
2056
|
}
|
|
2057
2057
|
var Companion_instance_0;
|
|
2058
2058
|
function Companion_getInstance_0() {
|
|
@@ -2063,10 +2063,10 @@
|
|
|
2063
2063
|
function FileSystem() {
|
|
2064
2064
|
Companion_getInstance_0();
|
|
2065
2065
|
}
|
|
2066
|
-
protoOf(FileSystem).
|
|
2066
|
+
protoOf(FileSystem).r3t = function (path) {
|
|
2067
2067
|
return commonExists(this, path);
|
|
2068
2068
|
};
|
|
2069
|
-
protoOf(FileSystem).
|
|
2069
|
+
protoOf(FileSystem).z22 = function () {
|
|
2070
2070
|
};
|
|
2071
2071
|
function get_tmpdir() {
|
|
2072
2072
|
var tmp0_safe_receiver = get_os();
|
|
@@ -2117,12 +2117,12 @@
|
|
|
2117
2117
|
var tmp = this;
|
|
2118
2118
|
// Inline function 'kotlin.byteArrayOf' call
|
|
2119
2119
|
var tmp$ret$0 = new Int8Array([]);
|
|
2120
|
-
tmp.
|
|
2120
|
+
tmp.i3t_1 = new ByteString(tmp$ret$0);
|
|
2121
2121
|
}
|
|
2122
|
-
protoOf(Companion_1).
|
|
2122
|
+
protoOf(Companion_1).j3t = function (_this__u8e3s4) {
|
|
2123
2123
|
// Inline function 'okio.internal.commonEncodeUtf8' call
|
|
2124
2124
|
var byteString = new ByteString(asUtf8ToByteArray(_this__u8e3s4));
|
|
2125
|
-
byteString.
|
|
2125
|
+
byteString.v3t(_this__u8e3s4);
|
|
2126
2126
|
return byteString;
|
|
2127
2127
|
};
|
|
2128
2128
|
var Companion_instance_1;
|
|
@@ -2133,28 +2133,28 @@
|
|
|
2133
2133
|
}
|
|
2134
2134
|
function ByteString(data) {
|
|
2135
2135
|
Companion_getInstance_1();
|
|
2136
|
-
this.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2136
|
+
this.p3s_1 = data;
|
|
2137
|
+
this.q3s_1 = 0;
|
|
2138
|
+
this.r3s_1 = null;
|
|
2139
2139
|
}
|
|
2140
|
-
protoOf(ByteString).
|
|
2140
|
+
protoOf(ByteString).w3t = function (value) {
|
|
2141
2141
|
};
|
|
2142
|
-
protoOf(ByteString).
|
|
2142
|
+
protoOf(ByteString).v3t = function (value) {
|
|
2143
2143
|
};
|
|
2144
|
-
protoOf(ByteString).
|
|
2144
|
+
protoOf(ByteString).x3t = function () {
|
|
2145
2145
|
// Inline function 'okio.internal.commonUtf8' call
|
|
2146
|
-
var result = this.
|
|
2146
|
+
var result = this.r3s_1;
|
|
2147
2147
|
if (result == null) {
|
|
2148
|
-
result = toUtf8String(this.
|
|
2149
|
-
this.
|
|
2148
|
+
result = toUtf8String(this.u3s());
|
|
2149
|
+
this.v3t(result);
|
|
2150
2150
|
}
|
|
2151
2151
|
return result;
|
|
2152
2152
|
};
|
|
2153
|
-
protoOf(ByteString).
|
|
2153
|
+
protoOf(ByteString).y3t = function () {
|
|
2154
2154
|
// Inline function 'okio.internal.commonHex' call
|
|
2155
|
-
var result = charArray(imul(this.
|
|
2155
|
+
var result = charArray(imul(this.p3s_1.length, 2));
|
|
2156
2156
|
var c = 0;
|
|
2157
|
-
var indexedObject = this.
|
|
2157
|
+
var indexedObject = this.p3s_1;
|
|
2158
2158
|
var inductionVariable = 0;
|
|
2159
2159
|
var last = indexedObject.length;
|
|
2160
2160
|
while (inductionVariable < last) {
|
|
@@ -2173,32 +2173,32 @@
|
|
|
2173
2173
|
}
|
|
2174
2174
|
return concatToString(result);
|
|
2175
2175
|
};
|
|
2176
|
-
protoOf(ByteString).
|
|
2177
|
-
if (pos >= this.
|
|
2178
|
-
throw new ArrayIndexOutOfBoundsException('size=' + this.
|
|
2176
|
+
protoOf(ByteString).z3t = function (pos) {
|
|
2177
|
+
if (pos >= this.s() || pos < 0)
|
|
2178
|
+
throw new ArrayIndexOutOfBoundsException('size=' + this.s() + ' pos=' + pos);
|
|
2179
2179
|
// Inline function 'okio.internal.commonGetByte' call
|
|
2180
|
-
return this.
|
|
2180
|
+
return this.p3s_1[pos];
|
|
2181
2181
|
};
|
|
2182
|
-
protoOf(ByteString).
|
|
2183
|
-
return this.
|
|
2182
|
+
protoOf(ByteString).x = function (index) {
|
|
2183
|
+
return this.z3t(index);
|
|
2184
2184
|
};
|
|
2185
|
-
protoOf(ByteString).
|
|
2186
|
-
return this.
|
|
2185
|
+
protoOf(ByteString).s = function () {
|
|
2186
|
+
return this.a3u();
|
|
2187
2187
|
};
|
|
2188
|
-
protoOf(ByteString).
|
|
2188
|
+
protoOf(ByteString).a3u = function () {
|
|
2189
2189
|
// Inline function 'okio.internal.commonGetSize' call
|
|
2190
|
-
return this.
|
|
2190
|
+
return this.p3s_1.length;
|
|
2191
2191
|
};
|
|
2192
|
-
protoOf(ByteString).
|
|
2192
|
+
protoOf(ByteString).u3s = function () {
|
|
2193
2193
|
// Inline function 'okio.internal.commonInternalArray' call
|
|
2194
|
-
return this.
|
|
2194
|
+
return this.p3s_1;
|
|
2195
2195
|
};
|
|
2196
|
-
protoOf(ByteString).
|
|
2196
|
+
protoOf(ByteString).b3u = function (buffer, offset, byteCount) {
|
|
2197
2197
|
return commonWrite(this, buffer, offset, byteCount);
|
|
2198
2198
|
};
|
|
2199
|
-
protoOf(ByteString).
|
|
2199
|
+
protoOf(ByteString).c3u = function (offset, other, otherOffset, byteCount) {
|
|
2200
2200
|
// Inline function 'okio.internal.commonRangeEquals' call
|
|
2201
|
-
return offset >= 0 && offset <= (this.
|
|
2201
|
+
return offset >= 0 && offset <= (this.p3s_1.length - byteCount | 0) && otherOffset >= 0 && otherOffset <= (other.length - byteCount | 0) && arrayRangeEquals(this.p3s_1, offset, other, otherOffset, byteCount);
|
|
2202
2202
|
};
|
|
2203
2203
|
protoOf(ByteString).equals = function (other) {
|
|
2204
2204
|
// Inline function 'okio.internal.commonEquals' call
|
|
@@ -2207,7 +2207,7 @@
|
|
|
2207
2207
|
tmp = true;
|
|
2208
2208
|
} else {
|
|
2209
2209
|
if (other instanceof ByteString) {
|
|
2210
|
-
tmp = (other.
|
|
2210
|
+
tmp = (other.s() === this.p3s_1.length && other.c3u(0, this.p3s_1, 0, this.p3s_1.length));
|
|
2211
2211
|
} else {
|
|
2212
2212
|
tmp = false;
|
|
2213
2213
|
}
|
|
@@ -2218,32 +2218,32 @@
|
|
|
2218
2218
|
var tmp$ret$0;
|
|
2219
2219
|
$l$block: {
|
|
2220
2220
|
// Inline function 'okio.internal.commonHashCode' call
|
|
2221
|
-
var result = this.
|
|
2221
|
+
var result = this.q3s_1;
|
|
2222
2222
|
if (!(result === 0)) {
|
|
2223
2223
|
tmp$ret$0 = result;
|
|
2224
2224
|
break $l$block;
|
|
2225
2225
|
}
|
|
2226
2226
|
// Inline function 'kotlin.also' call
|
|
2227
|
-
var this_0 = contentHashCode(this.
|
|
2228
|
-
this.
|
|
2227
|
+
var this_0 = contentHashCode(this.p3s_1);
|
|
2228
|
+
this.w3t(this_0);
|
|
2229
2229
|
tmp$ret$0 = this_0;
|
|
2230
2230
|
}
|
|
2231
2231
|
return tmp$ret$0;
|
|
2232
2232
|
};
|
|
2233
|
-
protoOf(ByteString).
|
|
2233
|
+
protoOf(ByteString).d3u = function (other) {
|
|
2234
2234
|
var tmp$ret$0;
|
|
2235
2235
|
$l$block_0: {
|
|
2236
2236
|
// Inline function 'okio.internal.commonCompareTo' call
|
|
2237
|
-
var sizeA = this.
|
|
2238
|
-
var sizeB = other.
|
|
2237
|
+
var sizeA = this.s();
|
|
2238
|
+
var sizeB = other.s();
|
|
2239
2239
|
var i = 0;
|
|
2240
2240
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2241
2241
|
var size = Math.min(sizeA, sizeB);
|
|
2242
2242
|
$l$loop: while (i < size) {
|
|
2243
2243
|
// Inline function 'okio.and' call
|
|
2244
|
-
var byteA = this.
|
|
2244
|
+
var byteA = this.x(i) & 255;
|
|
2245
2245
|
// Inline function 'okio.and' call
|
|
2246
|
-
var byteB = other.
|
|
2246
|
+
var byteB = other.x(i) & 255;
|
|
2247
2247
|
if (byteA === byteB) {
|
|
2248
2248
|
i = i + 1 | 0;
|
|
2249
2249
|
continue $l$loop;
|
|
@@ -2260,24 +2260,24 @@
|
|
|
2260
2260
|
return tmp$ret$0;
|
|
2261
2261
|
};
|
|
2262
2262
|
protoOf(ByteString).d = function (other) {
|
|
2263
|
-
return this.
|
|
2263
|
+
return this.d3u(other instanceof ByteString ? other : THROW_CCE());
|
|
2264
2264
|
};
|
|
2265
2265
|
protoOf(ByteString).toString = function () {
|
|
2266
2266
|
var tmp$ret$0;
|
|
2267
2267
|
$l$block_1: {
|
|
2268
2268
|
// Inline function 'okio.internal.commonToString' call
|
|
2269
2269
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
2270
|
-
if (this.
|
|
2270
|
+
if (this.p3s_1.length === 0) {
|
|
2271
2271
|
tmp$ret$0 = '[size=0]';
|
|
2272
2272
|
break $l$block_1;
|
|
2273
2273
|
}
|
|
2274
|
-
var i = access$codePointIndexToCharIndex$tByteStringKt(this.
|
|
2274
|
+
var i = access$codePointIndexToCharIndex$tByteStringKt(this.p3s_1, 64);
|
|
2275
2275
|
if (i === -1) {
|
|
2276
2276
|
var tmp;
|
|
2277
|
-
if (this.
|
|
2278
|
-
tmp = '[hex=' + this.
|
|
2277
|
+
if (this.p3s_1.length <= 64) {
|
|
2278
|
+
tmp = '[hex=' + this.y3t() + ']';
|
|
2279
2279
|
} else {
|
|
2280
|
-
var tmp_0 = this.
|
|
2280
|
+
var tmp_0 = this.p3s_1.length;
|
|
2281
2281
|
var tmp$ret$2;
|
|
2282
2282
|
$l$block_0: {
|
|
2283
2283
|
// Inline function 'okio.internal.commonSubstring' call
|
|
@@ -2287,8 +2287,8 @@
|
|
|
2287
2287
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2288
2288
|
}
|
|
2289
2289
|
// Inline function 'kotlin.require' call
|
|
2290
|
-
if (!(64 <= this.
|
|
2291
|
-
var message_0 = 'endIndex > length(' + this.
|
|
2290
|
+
if (!(64 <= this.p3s_1.length)) {
|
|
2291
|
+
var message_0 = 'endIndex > length(' + this.p3s_1.length + ')';
|
|
2292
2292
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
2293
2293
|
}
|
|
2294
2294
|
var subLen = 64 - 0 | 0;
|
|
@@ -2297,22 +2297,22 @@
|
|
|
2297
2297
|
var message_1 = 'endIndex < beginIndex';
|
|
2298
2298
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
2299
2299
|
}
|
|
2300
|
-
if (0 === 0 && 64 === this.
|
|
2300
|
+
if (0 === 0 && 64 === this.p3s_1.length) {
|
|
2301
2301
|
tmp$ret$2 = this;
|
|
2302
2302
|
break $l$block_0;
|
|
2303
2303
|
}
|
|
2304
|
-
tmp$ret$2 = new ByteString(copyOfRange(this.
|
|
2304
|
+
tmp$ret$2 = new ByteString(copyOfRange(this.p3s_1, 0, 64));
|
|
2305
2305
|
}
|
|
2306
|
-
tmp = '[size=' + tmp_0 + ' hex=' + tmp$ret$2.
|
|
2306
|
+
tmp = '[size=' + tmp_0 + ' hex=' + tmp$ret$2.y3t() + '\u2026]';
|
|
2307
2307
|
}
|
|
2308
2308
|
tmp$ret$0 = tmp;
|
|
2309
2309
|
break $l$block_1;
|
|
2310
2310
|
}
|
|
2311
|
-
var text = this.
|
|
2311
|
+
var text = this.x3t();
|
|
2312
2312
|
var safeText = replace(replace(replace(substring(text, 0, i), '\\', '\\\\'), '\n', '\\n'), '\r', '\\r');
|
|
2313
2313
|
var tmp_1;
|
|
2314
2314
|
if (i < text.length) {
|
|
2315
|
-
tmp_1 = '[size=' + this.
|
|
2315
|
+
tmp_1 = '[size=' + this.p3s_1.length + ' text=' + safeText + '\u2026]';
|
|
2316
2316
|
} else {
|
|
2317
2317
|
tmp_1 = '[text=' + safeText + ']';
|
|
2318
2318
|
}
|
|
@@ -2321,40 +2321,40 @@
|
|
|
2321
2321
|
return tmp$ret$0;
|
|
2322
2322
|
};
|
|
2323
2323
|
function toByteString($this) {
|
|
2324
|
-
return new ByteString($this.
|
|
2324
|
+
return new ByteString($this.e3u());
|
|
2325
2325
|
}
|
|
2326
2326
|
function SegmentedByteString(segments, directory) {
|
|
2327
|
-
ByteString.call(this, Companion_getInstance_1().
|
|
2328
|
-
this.
|
|
2329
|
-
this.
|
|
2327
|
+
ByteString.call(this, Companion_getInstance_1().i3t_1.p3s_1);
|
|
2328
|
+
this.n3t_1 = segments;
|
|
2329
|
+
this.o3t_1 = directory;
|
|
2330
2330
|
}
|
|
2331
|
-
protoOf(SegmentedByteString).
|
|
2332
|
-
return toByteString(this).
|
|
2331
|
+
protoOf(SegmentedByteString).y3t = function () {
|
|
2332
|
+
return toByteString(this).y3t();
|
|
2333
2333
|
};
|
|
2334
|
-
protoOf(SegmentedByteString).
|
|
2334
|
+
protoOf(SegmentedByteString).z3t = function (pos) {
|
|
2335
2335
|
// Inline function 'okio.internal.commonInternalGet' call
|
|
2336
|
-
checkOffsetAndCount(fromInt(this.
|
|
2336
|
+
checkOffsetAndCount(fromInt(this.o3t_1[this.n3t_1.length - 1 | 0]), fromInt(pos), 1n);
|
|
2337
2337
|
var segment_0 = segment(this, pos);
|
|
2338
|
-
var segmentOffset = segment_0 === 0 ? 0 : this.
|
|
2339
|
-
var segmentPos = this.
|
|
2340
|
-
return this.
|
|
2338
|
+
var segmentOffset = segment_0 === 0 ? 0 : this.o3t_1[segment_0 - 1 | 0];
|
|
2339
|
+
var segmentPos = this.o3t_1[segment_0 + this.n3t_1.length | 0];
|
|
2340
|
+
return this.n3t_1[segment_0][(pos - segmentOffset | 0) + segmentPos | 0];
|
|
2341
2341
|
};
|
|
2342
|
-
protoOf(SegmentedByteString).
|
|
2342
|
+
protoOf(SegmentedByteString).a3u = function () {
|
|
2343
2343
|
// Inline function 'okio.internal.commonGetSize' call
|
|
2344
|
-
return this.
|
|
2344
|
+
return this.o3t_1[this.n3t_1.length - 1 | 0];
|
|
2345
2345
|
};
|
|
2346
|
-
protoOf(SegmentedByteString).
|
|
2346
|
+
protoOf(SegmentedByteString).e3u = function () {
|
|
2347
2347
|
// Inline function 'okio.internal.commonToByteArray' call
|
|
2348
|
-
var result = new Int8Array(this.
|
|
2348
|
+
var result = new Int8Array(this.s());
|
|
2349
2349
|
var resultPos = 0;
|
|
2350
2350
|
// Inline function 'okio.internal.forEachSegment' call
|
|
2351
|
-
var segmentCount = this.
|
|
2351
|
+
var segmentCount = this.n3t_1.length;
|
|
2352
2352
|
var s = 0;
|
|
2353
2353
|
var pos = 0;
|
|
2354
2354
|
while (s < segmentCount) {
|
|
2355
|
-
var segmentPos = this.
|
|
2356
|
-
var nextSegmentOffset = this.
|
|
2357
|
-
var tmp0 = this.
|
|
2355
|
+
var segmentPos = this.o3t_1[segmentCount + s | 0];
|
|
2356
|
+
var nextSegmentOffset = this.o3t_1[s];
|
|
2357
|
+
var tmp0 = this.n3t_1[s];
|
|
2358
2358
|
var byteCount = nextSegmentOffset - pos | 0;
|
|
2359
2359
|
var tmp4 = resultPos;
|
|
2360
2360
|
// Inline function 'kotlin.collections.copyInto' call
|
|
@@ -2371,42 +2371,42 @@
|
|
|
2371
2371
|
}
|
|
2372
2372
|
return result;
|
|
2373
2373
|
};
|
|
2374
|
-
protoOf(SegmentedByteString).
|
|
2374
|
+
protoOf(SegmentedByteString).b3u = function (buffer, offset, byteCount) {
|
|
2375
2375
|
// Inline function 'okio.internal.commonWrite' call
|
|
2376
2376
|
var endIndex = offset + byteCount | 0;
|
|
2377
2377
|
var s = segment(this, offset);
|
|
2378
2378
|
var pos = offset;
|
|
2379
2379
|
while (pos < endIndex) {
|
|
2380
|
-
var segmentOffset = s === 0 ? 0 : this.
|
|
2381
|
-
var segmentSize = this.
|
|
2382
|
-
var segmentPos = this.
|
|
2380
|
+
var segmentOffset = s === 0 ? 0 : this.o3t_1[s - 1 | 0];
|
|
2381
|
+
var segmentSize = this.o3t_1[s] - segmentOffset | 0;
|
|
2382
|
+
var segmentPos = this.o3t_1[this.n3t_1.length + s | 0];
|
|
2383
2383
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2384
2384
|
var b = segmentOffset + segmentSize | 0;
|
|
2385
2385
|
var byteCount_0 = Math.min(endIndex, b) - pos | 0;
|
|
2386
2386
|
var offset_0 = segmentPos + (pos - segmentOffset | 0) | 0;
|
|
2387
|
-
var data = this.
|
|
2387
|
+
var data = this.n3t_1[s];
|
|
2388
2388
|
var segment_0 = Segment_init_$Create$_0(data, offset_0, offset_0 + byteCount_0 | 0, true, false);
|
|
2389
|
-
if (buffer.
|
|
2390
|
-
segment_0.
|
|
2391
|
-
segment_0.
|
|
2392
|
-
buffer.
|
|
2389
|
+
if (buffer.s3s_1 == null) {
|
|
2390
|
+
segment_0.c3s_1 = segment_0;
|
|
2391
|
+
segment_0.b3s_1 = segment_0.c3s_1;
|
|
2392
|
+
buffer.s3s_1 = segment_0.b3s_1;
|
|
2393
2393
|
} else {
|
|
2394
|
-
ensureNotNull(ensureNotNull(buffer.
|
|
2394
|
+
ensureNotNull(ensureNotNull(buffer.s3s_1).c3s_1).h3s(segment_0);
|
|
2395
2395
|
}
|
|
2396
2396
|
pos = pos + byteCount_0 | 0;
|
|
2397
2397
|
s = s + 1 | 0;
|
|
2398
2398
|
}
|
|
2399
2399
|
var tmp = buffer;
|
|
2400
2400
|
// Inline function 'kotlin.Long.plus' call
|
|
2401
|
-
var this_0 = buffer.
|
|
2402
|
-
tmp.
|
|
2401
|
+
var this_0 = buffer.t3s_1;
|
|
2402
|
+
tmp.t3s_1 = add(this_0, fromInt(byteCount));
|
|
2403
2403
|
return Unit_instance;
|
|
2404
2404
|
};
|
|
2405
|
-
protoOf(SegmentedByteString).
|
|
2405
|
+
protoOf(SegmentedByteString).f3u = function (offset, other, otherOffset, byteCount) {
|
|
2406
2406
|
var tmp$ret$0;
|
|
2407
2407
|
$l$block_0: {
|
|
2408
2408
|
// Inline function 'okio.internal.commonRangeEquals' call
|
|
2409
|
-
if (offset < 0 || offset > (this.
|
|
2409
|
+
if (offset < 0 || offset > (this.s() - byteCount | 0)) {
|
|
2410
2410
|
tmp$ret$0 = false;
|
|
2411
2411
|
break $l$block_0;
|
|
2412
2412
|
}
|
|
@@ -2415,15 +2415,15 @@
|
|
|
2415
2415
|
var s = segment(this, offset);
|
|
2416
2416
|
var pos = offset;
|
|
2417
2417
|
while (pos < endIndex) {
|
|
2418
|
-
var segmentOffset = s === 0 ? 0 : this.
|
|
2419
|
-
var segmentSize = this.
|
|
2420
|
-
var segmentPos = this.
|
|
2418
|
+
var segmentOffset = s === 0 ? 0 : this.o3t_1[s - 1 | 0];
|
|
2419
|
+
var segmentSize = this.o3t_1[s] - segmentOffset | 0;
|
|
2420
|
+
var segmentPos = this.o3t_1[this.n3t_1.length + s | 0];
|
|
2421
2421
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2422
2422
|
var b = segmentOffset + segmentSize | 0;
|
|
2423
2423
|
var byteCount_0 = Math.min(endIndex, b) - pos | 0;
|
|
2424
2424
|
var offset_0 = segmentPos + (pos - segmentOffset | 0) | 0;
|
|
2425
|
-
var data = this.
|
|
2426
|
-
if (!other.
|
|
2425
|
+
var data = this.n3t_1[s];
|
|
2426
|
+
if (!other.c3u(otherOffset_0, data, offset_0, byteCount_0)) {
|
|
2427
2427
|
tmp$ret$0 = false;
|
|
2428
2428
|
break $l$block_0;
|
|
2429
2429
|
}
|
|
@@ -2435,11 +2435,11 @@
|
|
|
2435
2435
|
}
|
|
2436
2436
|
return tmp$ret$0;
|
|
2437
2437
|
};
|
|
2438
|
-
protoOf(SegmentedByteString).
|
|
2438
|
+
protoOf(SegmentedByteString).c3u = function (offset, other, otherOffset, byteCount) {
|
|
2439
2439
|
var tmp$ret$0;
|
|
2440
2440
|
$l$block_0: {
|
|
2441
2441
|
// Inline function 'okio.internal.commonRangeEquals' call
|
|
2442
|
-
if (offset < 0 || offset > (this.
|
|
2442
|
+
if (offset < 0 || offset > (this.s() - byteCount | 0) || otherOffset < 0 || otherOffset > (other.length - byteCount | 0)) {
|
|
2443
2443
|
tmp$ret$0 = false;
|
|
2444
2444
|
break $l$block_0;
|
|
2445
2445
|
}
|
|
@@ -2448,14 +2448,14 @@
|
|
|
2448
2448
|
var s = segment(this, offset);
|
|
2449
2449
|
var pos = offset;
|
|
2450
2450
|
while (pos < endIndex) {
|
|
2451
|
-
var segmentOffset = s === 0 ? 0 : this.
|
|
2452
|
-
var segmentSize = this.
|
|
2453
|
-
var segmentPos = this.
|
|
2451
|
+
var segmentOffset = s === 0 ? 0 : this.o3t_1[s - 1 | 0];
|
|
2452
|
+
var segmentSize = this.o3t_1[s] - segmentOffset | 0;
|
|
2453
|
+
var segmentPos = this.o3t_1[this.n3t_1.length + s | 0];
|
|
2454
2454
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2455
2455
|
var b = segmentOffset + segmentSize | 0;
|
|
2456
2456
|
var byteCount_0 = Math.min(endIndex, b) - pos | 0;
|
|
2457
2457
|
var offset_0 = segmentPos + (pos - segmentOffset | 0) | 0;
|
|
2458
|
-
var data = this.
|
|
2458
|
+
var data = this.n3t_1[s];
|
|
2459
2459
|
if (!arrayRangeEquals(data, offset_0, other, otherOffset_0, byteCount_0)) {
|
|
2460
2460
|
tmp$ret$0 = false;
|
|
2461
2461
|
break $l$block_0;
|
|
@@ -2468,8 +2468,8 @@
|
|
|
2468
2468
|
}
|
|
2469
2469
|
return tmp$ret$0;
|
|
2470
2470
|
};
|
|
2471
|
-
protoOf(SegmentedByteString).
|
|
2472
|
-
return this.
|
|
2471
|
+
protoOf(SegmentedByteString).u3s = function () {
|
|
2472
|
+
return this.e3u();
|
|
2473
2473
|
};
|
|
2474
2474
|
protoOf(SegmentedByteString).equals = function (other) {
|
|
2475
2475
|
// Inline function 'okio.internal.commonEquals' call
|
|
@@ -2478,7 +2478,7 @@
|
|
|
2478
2478
|
tmp = true;
|
|
2479
2479
|
} else {
|
|
2480
2480
|
if (other instanceof ByteString) {
|
|
2481
|
-
tmp = (other.
|
|
2481
|
+
tmp = (other.s() === this.s() && this.f3u(0, other, 0, this.s()));
|
|
2482
2482
|
} else {
|
|
2483
2483
|
tmp = false;
|
|
2484
2484
|
}
|
|
@@ -2489,20 +2489,20 @@
|
|
|
2489
2489
|
var tmp$ret$0;
|
|
2490
2490
|
$l$block: {
|
|
2491
2491
|
// Inline function 'okio.internal.commonHashCode' call
|
|
2492
|
-
var result = this.
|
|
2492
|
+
var result = this.q3s_1;
|
|
2493
2493
|
if (!(result === 0)) {
|
|
2494
2494
|
tmp$ret$0 = result;
|
|
2495
2495
|
break $l$block;
|
|
2496
2496
|
}
|
|
2497
2497
|
result = 1;
|
|
2498
2498
|
// Inline function 'okio.internal.forEachSegment' call
|
|
2499
|
-
var segmentCount = this.
|
|
2499
|
+
var segmentCount = this.n3t_1.length;
|
|
2500
2500
|
var s = 0;
|
|
2501
2501
|
var pos = 0;
|
|
2502
2502
|
while (s < segmentCount) {
|
|
2503
|
-
var segmentPos = this.
|
|
2504
|
-
var nextSegmentOffset = this.
|
|
2505
|
-
var tmp0 = this.
|
|
2503
|
+
var segmentPos = this.o3t_1[segmentCount + s | 0];
|
|
2504
|
+
var nextSegmentOffset = this.o3t_1[s];
|
|
2505
|
+
var tmp0 = this.n3t_1[s];
|
|
2506
2506
|
var i = segmentPos;
|
|
2507
2507
|
var limit = segmentPos + (nextSegmentOffset - pos | 0) | 0;
|
|
2508
2508
|
while (i < limit) {
|
|
@@ -2512,7 +2512,7 @@
|
|
|
2512
2512
|
pos = nextSegmentOffset;
|
|
2513
2513
|
s = s + 1 | 0;
|
|
2514
2514
|
}
|
|
2515
|
-
this.
|
|
2515
|
+
this.w3t(result);
|
|
2516
2516
|
tmp$ret$0 = result;
|
|
2517
2517
|
}
|
|
2518
2518
|
return tmp$ret$0;
|
|
@@ -2521,101 +2521,101 @@
|
|
|
2521
2521
|
return toByteString(this).toString();
|
|
2522
2522
|
};
|
|
2523
2523
|
function Buffer() {
|
|
2524
|
-
this.
|
|
2525
|
-
this.
|
|
2524
|
+
this.s3s_1 = null;
|
|
2525
|
+
this.t3s_1 = 0n;
|
|
2526
2526
|
}
|
|
2527
|
-
protoOf(Buffer).
|
|
2528
|
-
return this.
|
|
2527
|
+
protoOf(Buffer).f3t = function () {
|
|
2528
|
+
return this.t3s_1 === 0n;
|
|
2529
2529
|
};
|
|
2530
|
-
protoOf(Buffer).
|
|
2530
|
+
protoOf(Buffer).b3t = function (pos) {
|
|
2531
2531
|
var tmp$ret$0;
|
|
2532
2532
|
$l$block_3: {
|
|
2533
2533
|
// Inline function 'okio.internal.commonGet' call
|
|
2534
|
-
checkOffsetAndCount(this.
|
|
2534
|
+
checkOffsetAndCount(this.t3s_1, pos, 1n);
|
|
2535
2535
|
$l$block_4: {
|
|
2536
2536
|
// Inline function 'okio.internal.seek' call
|
|
2537
|
-
var tmp0_elvis_lhs = this.
|
|
2537
|
+
var tmp0_elvis_lhs = this.s3s_1;
|
|
2538
2538
|
var tmp;
|
|
2539
2539
|
if (tmp0_elvis_lhs == null) {
|
|
2540
|
-
tmp$ret$0 = ensureNotNull(null).
|
|
2540
|
+
tmp$ret$0 = ensureNotNull(null).w3r_1[convertToInt(subtract(add(numberToLong(null.x3r_1), pos), -1n))];
|
|
2541
2541
|
break $l$block_3;
|
|
2542
2542
|
} else {
|
|
2543
2543
|
tmp = tmp0_elvis_lhs;
|
|
2544
2544
|
}
|
|
2545
2545
|
var s = tmp;
|
|
2546
|
-
if (subtract(this.
|
|
2547
|
-
var offset = this.
|
|
2546
|
+
if (subtract(this.t3s_1, pos) < pos) {
|
|
2547
|
+
var offset = this.t3s_1;
|
|
2548
2548
|
while (offset > pos) {
|
|
2549
|
-
s = ensureNotNull(s.
|
|
2550
|
-
offset = subtract(offset, fromInt(s.
|
|
2549
|
+
s = ensureNotNull(s.c3s_1);
|
|
2550
|
+
offset = subtract(offset, fromInt(s.y3r_1 - s.x3r_1 | 0));
|
|
2551
2551
|
}
|
|
2552
2552
|
var tmp0 = s;
|
|
2553
2553
|
var offset_0 = offset;
|
|
2554
|
-
tmp$ret$0 = ensureNotNull(tmp0).
|
|
2554
|
+
tmp$ret$0 = ensureNotNull(tmp0).w3r_1[convertToInt(subtract(add(numberToLong(tmp0.x3r_1), pos), offset_0))];
|
|
2555
2555
|
break $l$block_3;
|
|
2556
2556
|
} else {
|
|
2557
2557
|
var offset_1 = 0n;
|
|
2558
2558
|
$l$loop: while (true) {
|
|
2559
2559
|
var tmp0_0 = offset_1;
|
|
2560
2560
|
// Inline function 'kotlin.Long.plus' call
|
|
2561
|
-
var other = s.
|
|
2561
|
+
var other = s.y3r_1 - s.x3r_1 | 0;
|
|
2562
2562
|
var nextOffset = add(tmp0_0, fromInt(other));
|
|
2563
2563
|
if (nextOffset > pos)
|
|
2564
2564
|
break $l$loop;
|
|
2565
|
-
s = ensureNotNull(s.
|
|
2565
|
+
s = ensureNotNull(s.b3s_1);
|
|
2566
2566
|
offset_1 = nextOffset;
|
|
2567
2567
|
}
|
|
2568
2568
|
var tmp0_1 = s;
|
|
2569
2569
|
var offset_2 = offset_1;
|
|
2570
|
-
tmp$ret$0 = ensureNotNull(tmp0_1).
|
|
2570
|
+
tmp$ret$0 = ensureNotNull(tmp0_1).w3r_1[convertToInt(subtract(add(numberToLong(tmp0_1.x3r_1), pos), offset_2))];
|
|
2571
2571
|
break $l$block_3;
|
|
2572
2572
|
}
|
|
2573
2573
|
}
|
|
2574
2574
|
}
|
|
2575
2575
|
return tmp$ret$0;
|
|
2576
2576
|
};
|
|
2577
|
-
protoOf(Buffer).
|
|
2577
|
+
protoOf(Buffer).g3u = function () {
|
|
2578
2578
|
var tmp$ret$0;
|
|
2579
2579
|
$l$block: {
|
|
2580
2580
|
// Inline function 'okio.internal.commonCompleteSegmentByteCount' call
|
|
2581
|
-
var result = this.
|
|
2581
|
+
var result = this.t3s_1;
|
|
2582
2582
|
if (result === 0n) {
|
|
2583
2583
|
tmp$ret$0 = 0n;
|
|
2584
2584
|
break $l$block;
|
|
2585
2585
|
}
|
|
2586
|
-
var tail = ensureNotNull(ensureNotNull(this.
|
|
2587
|
-
if (tail.
|
|
2588
|
-
result = subtract(result, fromInt(tail.
|
|
2586
|
+
var tail = ensureNotNull(ensureNotNull(this.s3s_1).c3s_1);
|
|
2587
|
+
if (tail.y3r_1 < 8192 && tail.a3s_1) {
|
|
2588
|
+
result = subtract(result, fromInt(tail.y3r_1 - tail.x3r_1 | 0));
|
|
2589
2589
|
}
|
|
2590
2590
|
tmp$ret$0 = result;
|
|
2591
2591
|
}
|
|
2592
2592
|
return tmp$ret$0;
|
|
2593
2593
|
};
|
|
2594
|
-
protoOf(Buffer).
|
|
2594
|
+
protoOf(Buffer).z3s = function () {
|
|
2595
2595
|
// Inline function 'okio.internal.commonReadByte' call
|
|
2596
|
-
if (this.
|
|
2596
|
+
if (this.t3s_1 === 0n)
|
|
2597
2597
|
throw EOFException_init_$Create$();
|
|
2598
|
-
var segment = ensureNotNull(this.
|
|
2599
|
-
var pos = segment.
|
|
2600
|
-
var limit = segment.
|
|
2601
|
-
var data = segment.
|
|
2598
|
+
var segment = ensureNotNull(this.s3s_1);
|
|
2599
|
+
var pos = segment.x3r_1;
|
|
2600
|
+
var limit = segment.y3r_1;
|
|
2601
|
+
var data = segment.w3r_1;
|
|
2602
2602
|
var _unary__edvuaz = pos;
|
|
2603
2603
|
pos = _unary__edvuaz + 1 | 0;
|
|
2604
2604
|
var b = data[_unary__edvuaz];
|
|
2605
|
-
this.
|
|
2605
|
+
this.t3s_1 = subtract(this.t3s_1, 1n);
|
|
2606
2606
|
if (pos === limit) {
|
|
2607
|
-
this.
|
|
2608
|
-
SegmentPool_instance.
|
|
2607
|
+
this.s3s_1 = segment.g3s();
|
|
2608
|
+
SegmentPool_instance.o3s(segment);
|
|
2609
2609
|
} else {
|
|
2610
|
-
segment.
|
|
2610
|
+
segment.x3r_1 = pos;
|
|
2611
2611
|
}
|
|
2612
2612
|
return b;
|
|
2613
2613
|
};
|
|
2614
|
-
protoOf(Buffer).
|
|
2614
|
+
protoOf(Buffer).h3t = function () {
|
|
2615
2615
|
// Inline function 'okio.internal.commonReadByteString' call
|
|
2616
|
-
return this.
|
|
2616
|
+
return this.g3t(this.t3s_1);
|
|
2617
2617
|
};
|
|
2618
|
-
protoOf(Buffer).
|
|
2618
|
+
protoOf(Buffer).g3t = function (byteCount) {
|
|
2619
2619
|
var tmp$ret$0;
|
|
2620
2620
|
$l$block_0: {
|
|
2621
2621
|
// Inline function 'okio.internal.commonReadByteString' call
|
|
@@ -2624,25 +2624,25 @@
|
|
|
2624
2624
|
var message = 'byteCount: ' + byteCount.toString();
|
|
2625
2625
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2626
2626
|
}
|
|
2627
|
-
if (this.
|
|
2627
|
+
if (this.t3s_1 < byteCount)
|
|
2628
2628
|
throw EOFException_init_$Create$();
|
|
2629
2629
|
if (byteCount >= 4096n) {
|
|
2630
2630
|
// Inline function 'kotlin.also' call
|
|
2631
|
-
var this_0 = this.
|
|
2632
|
-
this.
|
|
2631
|
+
var this_0 = this.i3u(convertToInt(byteCount));
|
|
2632
|
+
this.j3u(byteCount);
|
|
2633
2633
|
tmp$ret$0 = this_0;
|
|
2634
2634
|
break $l$block_0;
|
|
2635
2635
|
} else {
|
|
2636
|
-
tmp$ret$0 = new ByteString(this.
|
|
2636
|
+
tmp$ret$0 = new ByteString(this.h3u(byteCount));
|
|
2637
2637
|
break $l$block_0;
|
|
2638
2638
|
}
|
|
2639
2639
|
}
|
|
2640
2640
|
return tmp$ret$0;
|
|
2641
2641
|
};
|
|
2642
|
-
protoOf(Buffer).
|
|
2643
|
-
return this.
|
|
2642
|
+
protoOf(Buffer).k3u = function () {
|
|
2643
|
+
return this.l3u(this.t3s_1);
|
|
2644
2644
|
};
|
|
2645
|
-
protoOf(Buffer).
|
|
2645
|
+
protoOf(Buffer).l3u = function (byteCount) {
|
|
2646
2646
|
var tmp$ret$0;
|
|
2647
2647
|
$l$block_0: {
|
|
2648
2648
|
// Inline function 'okio.internal.commonReadUtf8' call
|
|
@@ -2651,35 +2651,35 @@
|
|
|
2651
2651
|
var message = 'byteCount: ' + byteCount.toString();
|
|
2652
2652
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2653
2653
|
}
|
|
2654
|
-
if (this.
|
|
2654
|
+
if (this.t3s_1 < byteCount)
|
|
2655
2655
|
throw EOFException_init_$Create$();
|
|
2656
2656
|
if (byteCount === 0n) {
|
|
2657
2657
|
tmp$ret$0 = '';
|
|
2658
2658
|
break $l$block_0;
|
|
2659
2659
|
}
|
|
2660
|
-
var s = ensureNotNull(this.
|
|
2661
|
-
if (add(numberToLong(s.
|
|
2662
|
-
tmp$ret$0 = commonToUtf8String(this.
|
|
2660
|
+
var s = ensureNotNull(this.s3s_1);
|
|
2661
|
+
if (add(numberToLong(s.x3r_1), byteCount) > fromInt(s.y3r_1)) {
|
|
2662
|
+
tmp$ret$0 = commonToUtf8String(this.h3u(byteCount));
|
|
2663
2663
|
break $l$block_0;
|
|
2664
2664
|
}
|
|
2665
|
-
var result = commonToUtf8String(s.
|
|
2666
|
-
s.
|
|
2667
|
-
this.
|
|
2668
|
-
if (s.
|
|
2669
|
-
this.
|
|
2670
|
-
SegmentPool_instance.
|
|
2665
|
+
var result = commonToUtf8String(s.w3r_1, s.x3r_1, s.x3r_1 + convertToInt(byteCount) | 0);
|
|
2666
|
+
s.x3r_1 = s.x3r_1 + convertToInt(byteCount) | 0;
|
|
2667
|
+
this.t3s_1 = subtract(this.t3s_1, byteCount);
|
|
2668
|
+
if (s.x3r_1 === s.y3r_1) {
|
|
2669
|
+
this.s3s_1 = s.g3s();
|
|
2670
|
+
SegmentPool_instance.o3s(s);
|
|
2671
2671
|
}
|
|
2672
2672
|
tmp$ret$0 = result;
|
|
2673
2673
|
}
|
|
2674
2674
|
return tmp$ret$0;
|
|
2675
2675
|
};
|
|
2676
|
-
protoOf(Buffer).
|
|
2676
|
+
protoOf(Buffer).m3u = function () {
|
|
2677
2677
|
var tmp$ret$0;
|
|
2678
2678
|
$l$block_0: {
|
|
2679
2679
|
// Inline function 'okio.internal.commonReadUtf8CodePoint' call
|
|
2680
|
-
if (this.
|
|
2680
|
+
if (this.t3s_1 === 0n)
|
|
2681
2681
|
throw EOFException_init_$Create$();
|
|
2682
|
-
var b0 = this.
|
|
2682
|
+
var b0 = this.b3t(0n);
|
|
2683
2683
|
var codePoint;
|
|
2684
2684
|
var byteCount;
|
|
2685
2685
|
var min;
|
|
@@ -2711,22 +2711,22 @@
|
|
|
2711
2711
|
byteCount = 4;
|
|
2712
2712
|
min = 65536;
|
|
2713
2713
|
} else {
|
|
2714
|
-
this.
|
|
2714
|
+
this.j3u(1n);
|
|
2715
2715
|
tmp$ret$0 = 65533;
|
|
2716
2716
|
break $l$block_0;
|
|
2717
2717
|
}
|
|
2718
2718
|
}
|
|
2719
2719
|
}
|
|
2720
2720
|
}
|
|
2721
|
-
if (this.
|
|
2722
|
-
throw new EOFException('size < ' + byteCount + ': ' + this.
|
|
2721
|
+
if (this.t3s_1 < fromInt(byteCount)) {
|
|
2722
|
+
throw new EOFException('size < ' + byteCount + ': ' + this.t3s_1.toString() + ' (to read code point prefixed 0x' + toHexString(b0) + ')');
|
|
2723
2723
|
}
|
|
2724
2724
|
var inductionVariable = 1;
|
|
2725
2725
|
if (inductionVariable < byteCount)
|
|
2726
2726
|
do {
|
|
2727
2727
|
var i = inductionVariable;
|
|
2728
2728
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2729
|
-
var b = this.
|
|
2729
|
+
var b = this.b3t(fromInt(i));
|
|
2730
2730
|
// Inline function 'okio.and' call
|
|
2731
2731
|
if ((b & 192) === 128) {
|
|
2732
2732
|
codePoint = codePoint << 6;
|
|
@@ -2734,13 +2734,13 @@
|
|
|
2734
2734
|
// Inline function 'okio.and' call
|
|
2735
2735
|
codePoint = tmp | b & 63;
|
|
2736
2736
|
} else {
|
|
2737
|
-
this.
|
|
2737
|
+
this.j3u(fromInt(i));
|
|
2738
2738
|
tmp$ret$0 = 65533;
|
|
2739
2739
|
break $l$block_0;
|
|
2740
2740
|
}
|
|
2741
2741
|
}
|
|
2742
2742
|
while (inductionVariable < byteCount);
|
|
2743
|
-
this.
|
|
2743
|
+
this.j3u(fromInt(byteCount));
|
|
2744
2744
|
var tmp_0;
|
|
2745
2745
|
if (codePoint > 1114111) {
|
|
2746
2746
|
tmp_0 = 65533;
|
|
@@ -2761,40 +2761,40 @@
|
|
|
2761
2761
|
}
|
|
2762
2762
|
return tmp$ret$0;
|
|
2763
2763
|
};
|
|
2764
|
-
protoOf(Buffer).
|
|
2764
|
+
protoOf(Buffer).n3u = function () {
|
|
2765
2765
|
// Inline function 'okio.internal.commonReadByteArray' call
|
|
2766
|
-
return this.
|
|
2766
|
+
return this.h3u(this.t3s_1);
|
|
2767
2767
|
};
|
|
2768
|
-
protoOf(Buffer).
|
|
2768
|
+
protoOf(Buffer).h3u = function (byteCount) {
|
|
2769
2769
|
// Inline function 'okio.internal.commonReadByteArray' call
|
|
2770
2770
|
// Inline function 'kotlin.require' call
|
|
2771
2771
|
if (!(byteCount >= 0n && byteCount <= 2147483647n)) {
|
|
2772
2772
|
var message = 'byteCount: ' + byteCount.toString();
|
|
2773
2773
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2774
2774
|
}
|
|
2775
|
-
if (this.
|
|
2775
|
+
if (this.t3s_1 < byteCount)
|
|
2776
2776
|
throw EOFException_init_$Create$();
|
|
2777
2777
|
var result = new Int8Array(convertToInt(byteCount));
|
|
2778
|
-
this.
|
|
2778
|
+
this.o3u(result);
|
|
2779
2779
|
return result;
|
|
2780
2780
|
};
|
|
2781
|
-
protoOf(Buffer).
|
|
2781
|
+
protoOf(Buffer).o3u = function (sink) {
|
|
2782
2782
|
// Inline function 'okio.internal.commonReadFully' call
|
|
2783
2783
|
var offset = 0;
|
|
2784
2784
|
while (offset < sink.length) {
|
|
2785
|
-
var read = this.
|
|
2785
|
+
var read = this.p3u(sink, offset, sink.length - offset | 0);
|
|
2786
2786
|
if (read === -1)
|
|
2787
2787
|
throw EOFException_init_$Create$();
|
|
2788
2788
|
offset = offset + read | 0;
|
|
2789
2789
|
}
|
|
2790
2790
|
return Unit_instance;
|
|
2791
2791
|
};
|
|
2792
|
-
protoOf(Buffer).
|
|
2792
|
+
protoOf(Buffer).p3u = function (sink, offset, byteCount) {
|
|
2793
2793
|
var tmp$ret$0;
|
|
2794
2794
|
$l$block: {
|
|
2795
2795
|
// Inline function 'okio.internal.commonRead' call
|
|
2796
2796
|
checkOffsetAndCount(fromInt(sink.length), fromInt(offset), fromInt(byteCount));
|
|
2797
|
-
var tmp0_elvis_lhs = this.
|
|
2797
|
+
var tmp0_elvis_lhs = this.s3s_1;
|
|
2798
2798
|
var tmp;
|
|
2799
2799
|
if (tmp0_elvis_lhs == null) {
|
|
2800
2800
|
tmp$ret$0 = -1;
|
|
@@ -2804,23 +2804,23 @@
|
|
|
2804
2804
|
}
|
|
2805
2805
|
var s = tmp;
|
|
2806
2806
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2807
|
-
var b = s.
|
|
2807
|
+
var b = s.y3r_1 - s.x3r_1 | 0;
|
|
2808
2808
|
var toCopy = Math.min(byteCount, b);
|
|
2809
|
-
var tmp0 = s.
|
|
2810
|
-
var tmp6 = s.
|
|
2809
|
+
var tmp0 = s.w3r_1;
|
|
2810
|
+
var tmp6 = s.x3r_1;
|
|
2811
2811
|
// Inline function 'kotlin.collections.copyInto' call
|
|
2812
|
-
var endIndex = s.
|
|
2812
|
+
var endIndex = s.x3r_1 + toCopy | 0;
|
|
2813
2813
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2814
2814
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2815
2815
|
var tmp_0 = tmp0;
|
|
2816
2816
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2817
2817
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2818
2818
|
arrayCopy(tmp_0, sink, offset, tmp6, endIndex);
|
|
2819
|
-
s.
|
|
2820
|
-
this.
|
|
2821
|
-
if (s.
|
|
2822
|
-
this.
|
|
2823
|
-
SegmentPool_instance.
|
|
2819
|
+
s.x3r_1 = s.x3r_1 + toCopy | 0;
|
|
2820
|
+
this.t3s_1 = subtract(this.t3s_1, fromInt(toCopy));
|
|
2821
|
+
if (s.x3r_1 === s.y3r_1) {
|
|
2822
|
+
this.s3s_1 = s.g3s();
|
|
2823
|
+
SegmentPool_instance.o3s(s);
|
|
2824
2824
|
}
|
|
2825
2825
|
tmp$ret$0 = toCopy;
|
|
2826
2826
|
}
|
|
@@ -2828,14 +2828,14 @@
|
|
|
2828
2828
|
};
|
|
2829
2829
|
protoOf(Buffer).n3 = function () {
|
|
2830
2830
|
// Inline function 'okio.internal.commonClear' call
|
|
2831
|
-
this.
|
|
2831
|
+
this.j3u(this.t3s_1);
|
|
2832
2832
|
return Unit_instance;
|
|
2833
2833
|
};
|
|
2834
|
-
protoOf(Buffer).
|
|
2834
|
+
protoOf(Buffer).j3u = function (byteCount) {
|
|
2835
2835
|
// Inline function 'okio.internal.commonSkip' call
|
|
2836
2836
|
var byteCount_0 = byteCount;
|
|
2837
2837
|
while (byteCount_0 > 0n) {
|
|
2838
|
-
var tmp0_elvis_lhs = this.
|
|
2838
|
+
var tmp0_elvis_lhs = this.s3s_1;
|
|
2839
2839
|
var tmp;
|
|
2840
2840
|
if (tmp0_elvis_lhs == null) {
|
|
2841
2841
|
throw EOFException_init_$Create$();
|
|
@@ -2845,28 +2845,28 @@
|
|
|
2845
2845
|
var head = tmp;
|
|
2846
2846
|
var tmp0 = byteCount_0;
|
|
2847
2847
|
// Inline function 'okio.minOf' call
|
|
2848
|
-
var b = head.
|
|
2848
|
+
var b = head.y3r_1 - head.x3r_1 | 0;
|
|
2849
2849
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2850
2850
|
var b_0 = fromInt(b);
|
|
2851
2851
|
var tmp$ret$1 = tmp0 <= b_0 ? tmp0 : b_0;
|
|
2852
2852
|
var toSkip = convertToInt(tmp$ret$1);
|
|
2853
|
-
this.
|
|
2853
|
+
this.t3s_1 = subtract(this.t3s_1, fromInt(toSkip));
|
|
2854
2854
|
byteCount_0 = subtract(byteCount_0, fromInt(toSkip));
|
|
2855
|
-
head.
|
|
2856
|
-
if (head.
|
|
2857
|
-
this.
|
|
2858
|
-
SegmentPool_instance.
|
|
2855
|
+
head.x3r_1 = head.x3r_1 + toSkip | 0;
|
|
2856
|
+
if (head.x3r_1 === head.y3r_1) {
|
|
2857
|
+
this.s3s_1 = head.g3s();
|
|
2858
|
+
SegmentPool_instance.o3s(head);
|
|
2859
2859
|
}
|
|
2860
2860
|
}
|
|
2861
2861
|
return Unit_instance;
|
|
2862
2862
|
};
|
|
2863
|
-
protoOf(Buffer).
|
|
2863
|
+
protoOf(Buffer).e3t = function (byteString) {
|
|
2864
2864
|
// Inline function 'okio.internal.commonWrite' call
|
|
2865
|
-
var byteCount = byteString.
|
|
2866
|
-
byteString.
|
|
2865
|
+
var byteCount = byteString.s();
|
|
2866
|
+
byteString.b3u(this, 0, byteCount);
|
|
2867
2867
|
return this;
|
|
2868
2868
|
};
|
|
2869
|
-
protoOf(Buffer).
|
|
2869
|
+
protoOf(Buffer).q3u = function (minimumCapacity) {
|
|
2870
2870
|
var tmp$ret$0;
|
|
2871
2871
|
$l$block: {
|
|
2872
2872
|
// Inline function 'okio.internal.commonWritableSegment' call
|
|
@@ -2875,26 +2875,26 @@
|
|
|
2875
2875
|
var message = 'unexpected capacity';
|
|
2876
2876
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2877
2877
|
}
|
|
2878
|
-
if (this.
|
|
2879
|
-
var result = SegmentPool_instance.
|
|
2880
|
-
this.
|
|
2881
|
-
result.
|
|
2882
|
-
result.
|
|
2878
|
+
if (this.s3s_1 == null) {
|
|
2879
|
+
var result = SegmentPool_instance.l3s();
|
|
2880
|
+
this.s3s_1 = result;
|
|
2881
|
+
result.c3s_1 = result;
|
|
2882
|
+
result.b3s_1 = result;
|
|
2883
2883
|
tmp$ret$0 = result;
|
|
2884
2884
|
break $l$block;
|
|
2885
2885
|
}
|
|
2886
|
-
var tail = ensureNotNull(this.
|
|
2887
|
-
if ((ensureNotNull(tail).
|
|
2888
|
-
tail = tail.
|
|
2886
|
+
var tail = ensureNotNull(this.s3s_1).c3s_1;
|
|
2887
|
+
if ((ensureNotNull(tail).y3r_1 + minimumCapacity | 0) > 8192 || !tail.a3s_1) {
|
|
2888
|
+
tail = tail.h3s(SegmentPool_instance.l3s());
|
|
2889
2889
|
}
|
|
2890
2890
|
tmp$ret$0 = tail;
|
|
2891
2891
|
}
|
|
2892
2892
|
return tmp$ret$0;
|
|
2893
2893
|
};
|
|
2894
|
-
protoOf(Buffer).
|
|
2895
|
-
return this.
|
|
2894
|
+
protoOf(Buffer).x3s = function (string) {
|
|
2895
|
+
return this.r3u(string, 0, string.length);
|
|
2896
2896
|
};
|
|
2897
|
-
protoOf(Buffer).
|
|
2897
|
+
protoOf(Buffer).r3u = function (string, beginIndex, endIndex) {
|
|
2898
2898
|
// Inline function 'okio.internal.commonWriteUtf8' call
|
|
2899
2899
|
// Inline function 'kotlin.require' call
|
|
2900
2900
|
if (!(beginIndex >= 0)) {
|
|
@@ -2917,9 +2917,9 @@
|
|
|
2917
2917
|
var this_0 = charCodeAt(string, i);
|
|
2918
2918
|
var c = Char__toInt_impl_vasixd(this_0);
|
|
2919
2919
|
if (c < 128) {
|
|
2920
|
-
var tail = this.
|
|
2921
|
-
var data = tail.
|
|
2922
|
-
var segmentOffset = tail.
|
|
2920
|
+
var tail = this.q3u(1);
|
|
2921
|
+
var data = tail.w3r_1;
|
|
2922
|
+
var segmentOffset = tail.y3r_1 - i | 0;
|
|
2923
2923
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2924
2924
|
var b = 8192 - segmentOffset | 0;
|
|
2925
2925
|
var runLimit = Math.min(endIndex, b);
|
|
@@ -2936,16 +2936,16 @@
|
|
|
2936
2936
|
i = _unary__edvuaz_0 + 1 | 0;
|
|
2937
2937
|
data[segmentOffset + _unary__edvuaz_0 | 0] = toByte(c);
|
|
2938
2938
|
}
|
|
2939
|
-
var runSize = (i + segmentOffset | 0) - tail.
|
|
2940
|
-
tail.
|
|
2941
|
-
this.
|
|
2939
|
+
var runSize = (i + segmentOffset | 0) - tail.y3r_1 | 0;
|
|
2940
|
+
tail.y3r_1 = tail.y3r_1 + runSize | 0;
|
|
2941
|
+
this.t3s_1 = add(this.t3s_1, fromInt(runSize));
|
|
2942
2942
|
} else {
|
|
2943
2943
|
if (c < 2048) {
|
|
2944
|
-
var tail_0 = this.
|
|
2945
|
-
tail_0.
|
|
2946
|
-
tail_0.
|
|
2947
|
-
tail_0.
|
|
2948
|
-
this.
|
|
2944
|
+
var tail_0 = this.q3u(2);
|
|
2945
|
+
tail_0.w3r_1[tail_0.y3r_1] = toByte(c >> 6 | 192);
|
|
2946
|
+
tail_0.w3r_1[tail_0.y3r_1 + 1 | 0] = toByte(c & 63 | 128);
|
|
2947
|
+
tail_0.y3r_1 = tail_0.y3r_1 + 2 | 0;
|
|
2948
|
+
this.t3s_1 = add(this.t3s_1, 2n);
|
|
2949
2949
|
i = i + 1 | 0;
|
|
2950
2950
|
} else {
|
|
2951
2951
|
// Inline function 'okio.internal.isHighSurrogate' call
|
|
@@ -2965,17 +2965,17 @@
|
|
|
2965
2965
|
// Inline function 'kotlin.code' call
|
|
2966
2966
|
var this_4 = _Char___init__impl__6a9atx(63);
|
|
2967
2967
|
var tmp$ret$13 = Char__toInt_impl_vasixd(this_4);
|
|
2968
|
-
this.
|
|
2968
|
+
this.s3u(tmp$ret$13);
|
|
2969
2969
|
i = i + 1 | 0;
|
|
2970
2970
|
} else {
|
|
2971
2971
|
var codePoint = combineSurrogates(c, low);
|
|
2972
|
-
var tail_1 = this.
|
|
2973
|
-
tail_1.
|
|
2974
|
-
tail_1.
|
|
2975
|
-
tail_1.
|
|
2976
|
-
tail_1.
|
|
2977
|
-
tail_1.
|
|
2978
|
-
this.
|
|
2972
|
+
var tail_1 = this.q3u(4);
|
|
2973
|
+
tail_1.w3r_1[tail_1.y3r_1] = toByte(codePoint >> 18 | 240);
|
|
2974
|
+
tail_1.w3r_1[tail_1.y3r_1 + 1 | 0] = toByte(codePoint >> 12 & 63 | 128);
|
|
2975
|
+
tail_1.w3r_1[tail_1.y3r_1 + 2 | 0] = toByte(codePoint >> 6 & 63 | 128);
|
|
2976
|
+
tail_1.w3r_1[tail_1.y3r_1 + 3 | 0] = toByte(codePoint & 63 | 128);
|
|
2977
|
+
tail_1.y3r_1 = tail_1.y3r_1 + 4 | 0;
|
|
2978
|
+
this.t3s_1 = add(this.t3s_1, 4n);
|
|
2979
2979
|
i = i + 2 | 0;
|
|
2980
2980
|
}
|
|
2981
2981
|
} else {
|
|
@@ -2985,15 +2985,15 @@
|
|
|
2985
2985
|
// Inline function 'kotlin.code' call
|
|
2986
2986
|
var this_6 = _Char___init__impl__6a9atx(63);
|
|
2987
2987
|
var tmp$ret$15 = Char__toInt_impl_vasixd(this_6);
|
|
2988
|
-
this.
|
|
2988
|
+
this.s3u(tmp$ret$15);
|
|
2989
2989
|
i = i + 1 | 0;
|
|
2990
2990
|
} else {
|
|
2991
|
-
var tail_2 = this.
|
|
2992
|
-
tail_2.
|
|
2993
|
-
tail_2.
|
|
2994
|
-
tail_2.
|
|
2995
|
-
tail_2.
|
|
2996
|
-
this.
|
|
2991
|
+
var tail_2 = this.q3u(3);
|
|
2992
|
+
tail_2.w3r_1[tail_2.y3r_1] = toByte(c >> 12 | 224);
|
|
2993
|
+
tail_2.w3r_1[tail_2.y3r_1 + 1 | 0] = toByte(c >> 6 & 63 | 128);
|
|
2994
|
+
tail_2.w3r_1[tail_2.y3r_1 + 2 | 0] = toByte(c & 63 | 128);
|
|
2995
|
+
tail_2.y3r_1 = tail_2.y3r_1 + 3 | 0;
|
|
2996
|
+
this.t3s_1 = add(this.t3s_1, 3n);
|
|
2997
2997
|
i = i + 1 | 0;
|
|
2998
2998
|
}
|
|
2999
2999
|
}
|
|
@@ -3002,19 +3002,19 @@
|
|
|
3002
3002
|
}
|
|
3003
3003
|
return this;
|
|
3004
3004
|
};
|
|
3005
|
-
protoOf(Buffer).
|
|
3005
|
+
protoOf(Buffer).v3s = function (source, offset, byteCount) {
|
|
3006
3006
|
// Inline function 'okio.internal.commonWrite' call
|
|
3007
3007
|
var offset_0 = offset;
|
|
3008
3008
|
checkOffsetAndCount(fromInt(source.length), fromInt(offset_0), fromInt(byteCount));
|
|
3009
3009
|
var limit = offset_0 + byteCount | 0;
|
|
3010
3010
|
while (offset_0 < limit) {
|
|
3011
|
-
var tail = this.
|
|
3011
|
+
var tail = this.q3u(1);
|
|
3012
3012
|
var tmp0 = limit - offset_0 | 0;
|
|
3013
3013
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3014
|
-
var b = 8192 - tail.
|
|
3014
|
+
var b = 8192 - tail.y3r_1 | 0;
|
|
3015
3015
|
var toCopy = Math.min(tmp0, b);
|
|
3016
|
-
var tmp2 = tail.
|
|
3017
|
-
var tmp4 = tail.
|
|
3016
|
+
var tmp2 = tail.w3r_1;
|
|
3017
|
+
var tmp4 = tail.y3r_1;
|
|
3018
3018
|
var tmp6 = offset_0;
|
|
3019
3019
|
// Inline function 'kotlin.collections.copyInto' call
|
|
3020
3020
|
var endIndex = offset_0 + toCopy | 0;
|
|
@@ -3025,32 +3025,32 @@
|
|
|
3025
3025
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3026
3026
|
arrayCopy(tmp, tmp2, tmp4, tmp6, endIndex);
|
|
3027
3027
|
offset_0 = offset_0 + toCopy | 0;
|
|
3028
|
-
tail.
|
|
3028
|
+
tail.y3r_1 = tail.y3r_1 + toCopy | 0;
|
|
3029
3029
|
}
|
|
3030
|
-
this.
|
|
3030
|
+
this.t3s_1 = add(this.t3s_1, fromInt(byteCount));
|
|
3031
3031
|
return this;
|
|
3032
3032
|
};
|
|
3033
|
-
protoOf(Buffer).
|
|
3033
|
+
protoOf(Buffer).t3u = function (source) {
|
|
3034
3034
|
// Inline function 'okio.internal.commonWriteAll' call
|
|
3035
3035
|
var totalBytesRead = 0n;
|
|
3036
3036
|
$l$loop: while (true) {
|
|
3037
|
-
var readCount = source.
|
|
3037
|
+
var readCount = source.u3u(this, 8192n);
|
|
3038
3038
|
if (readCount === -1n)
|
|
3039
3039
|
break $l$loop;
|
|
3040
3040
|
totalBytesRead = add(totalBytesRead, readCount);
|
|
3041
3041
|
}
|
|
3042
3042
|
return totalBytesRead;
|
|
3043
3043
|
};
|
|
3044
|
-
protoOf(Buffer).
|
|
3044
|
+
protoOf(Buffer).s3u = function (b) {
|
|
3045
3045
|
// Inline function 'okio.internal.commonWriteByte' call
|
|
3046
|
-
var tail = this.
|
|
3047
|
-
var _unary__edvuaz = tail.
|
|
3048
|
-
tail.
|
|
3049
|
-
tail.
|
|
3050
|
-
this.
|
|
3046
|
+
var tail = this.q3u(1);
|
|
3047
|
+
var _unary__edvuaz = tail.y3r_1;
|
|
3048
|
+
tail.y3r_1 = _unary__edvuaz + 1 | 0;
|
|
3049
|
+
tail.w3r_1[_unary__edvuaz] = toByte(b);
|
|
3050
|
+
this.t3s_1 = add(this.t3s_1, 1n);
|
|
3051
3051
|
return this;
|
|
3052
3052
|
};
|
|
3053
|
-
protoOf(Buffer).
|
|
3053
|
+
protoOf(Buffer).d3t = function (source, byteCount) {
|
|
3054
3054
|
var tmp$ret$0;
|
|
3055
3055
|
$l$block: {
|
|
3056
3056
|
// Inline function 'okio.internal.commonWrite' call
|
|
@@ -3060,53 +3060,53 @@
|
|
|
3060
3060
|
var message = 'source == this';
|
|
3061
3061
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3062
3062
|
}
|
|
3063
|
-
checkOffsetAndCount(source.
|
|
3063
|
+
checkOffsetAndCount(source.t3s_1, 0n, byteCount_0);
|
|
3064
3064
|
while (byteCount_0 > 0n) {
|
|
3065
|
-
if (byteCount_0 < fromInt(ensureNotNull(source.
|
|
3066
|
-
var tail = !(this.
|
|
3065
|
+
if (byteCount_0 < fromInt(ensureNotNull(source.s3s_1).y3r_1 - ensureNotNull(source.s3s_1).x3r_1 | 0)) {
|
|
3066
|
+
var tail = !(this.s3s_1 == null) ? ensureNotNull(this.s3s_1).c3s_1 : null;
|
|
3067
3067
|
var tmp;
|
|
3068
|
-
if (!(tail == null) && tail.
|
|
3068
|
+
if (!(tail == null) && tail.a3s_1) {
|
|
3069
3069
|
var tmp0 = byteCount_0;
|
|
3070
3070
|
// Inline function 'kotlin.Long.plus' call
|
|
3071
|
-
var other = tail.
|
|
3071
|
+
var other = tail.y3r_1;
|
|
3072
3072
|
var tmp0_0 = add(tmp0, fromInt(other));
|
|
3073
3073
|
// Inline function 'kotlin.Long.minus' call
|
|
3074
|
-
var other_0 = tail.
|
|
3074
|
+
var other_0 = tail.z3r_1 ? 0 : tail.x3r_1;
|
|
3075
3075
|
tmp = subtract(tmp0_0, fromInt(other_0)) <= 8192n;
|
|
3076
3076
|
} else {
|
|
3077
3077
|
tmp = false;
|
|
3078
3078
|
}
|
|
3079
3079
|
if (tmp) {
|
|
3080
|
-
ensureNotNull(source.
|
|
3081
|
-
source.
|
|
3082
|
-
this.
|
|
3080
|
+
ensureNotNull(source.s3s_1).n3s(tail, convertToInt(byteCount_0));
|
|
3081
|
+
source.t3s_1 = subtract(source.t3s_1, byteCount_0);
|
|
3082
|
+
this.t3s_1 = add(this.t3s_1, byteCount_0);
|
|
3083
3083
|
tmp$ret$0 = Unit_instance;
|
|
3084
3084
|
break $l$block;
|
|
3085
3085
|
} else {
|
|
3086
|
-
source.
|
|
3086
|
+
source.s3s_1 = ensureNotNull(source.s3s_1).i3s(convertToInt(byteCount_0));
|
|
3087
3087
|
}
|
|
3088
3088
|
}
|
|
3089
|
-
var segmentToMove = source.
|
|
3090
|
-
var movedByteCount = fromInt(ensureNotNull(segmentToMove).
|
|
3091
|
-
source.
|
|
3092
|
-
if (this.
|
|
3093
|
-
this.
|
|
3094
|
-
segmentToMove.
|
|
3095
|
-
segmentToMove.
|
|
3089
|
+
var segmentToMove = source.s3s_1;
|
|
3090
|
+
var movedByteCount = fromInt(ensureNotNull(segmentToMove).y3r_1 - segmentToMove.x3r_1 | 0);
|
|
3091
|
+
source.s3s_1 = segmentToMove.g3s();
|
|
3092
|
+
if (this.s3s_1 == null) {
|
|
3093
|
+
this.s3s_1 = segmentToMove;
|
|
3094
|
+
segmentToMove.c3s_1 = segmentToMove;
|
|
3095
|
+
segmentToMove.b3s_1 = segmentToMove.c3s_1;
|
|
3096
3096
|
} else {
|
|
3097
|
-
var tail_0 = ensureNotNull(this.
|
|
3098
|
-
tail_0 = ensureNotNull(tail_0).
|
|
3099
|
-
tail_0.
|
|
3097
|
+
var tail_0 = ensureNotNull(this.s3s_1).c3s_1;
|
|
3098
|
+
tail_0 = ensureNotNull(tail_0).h3s(segmentToMove);
|
|
3099
|
+
tail_0.m3s();
|
|
3100
3100
|
}
|
|
3101
|
-
source.
|
|
3102
|
-
this.
|
|
3101
|
+
source.t3s_1 = subtract(source.t3s_1, movedByteCount);
|
|
3102
|
+
this.t3s_1 = add(this.t3s_1, movedByteCount);
|
|
3103
3103
|
byteCount_0 = subtract(byteCount_0, movedByteCount);
|
|
3104
3104
|
}
|
|
3105
3105
|
tmp$ret$0 = Unit_instance;
|
|
3106
3106
|
}
|
|
3107
3107
|
return tmp$ret$0;
|
|
3108
3108
|
};
|
|
3109
|
-
protoOf(Buffer).
|
|
3109
|
+
protoOf(Buffer).u3u = function (sink, byteCount) {
|
|
3110
3110
|
var tmp$ret$0;
|
|
3111
3111
|
$l$block: {
|
|
3112
3112
|
// Inline function 'okio.internal.commonRead' call
|
|
@@ -3116,21 +3116,21 @@
|
|
|
3116
3116
|
var message = 'byteCount < 0: ' + byteCount_0.toString();
|
|
3117
3117
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3118
3118
|
}
|
|
3119
|
-
if (this.
|
|
3119
|
+
if (this.t3s_1 === 0n) {
|
|
3120
3120
|
tmp$ret$0 = -1n;
|
|
3121
3121
|
break $l$block;
|
|
3122
3122
|
}
|
|
3123
|
-
if (byteCount_0 > this.
|
|
3124
|
-
byteCount_0 = this.
|
|
3125
|
-
sink.
|
|
3123
|
+
if (byteCount_0 > this.t3s_1)
|
|
3124
|
+
byteCount_0 = this.t3s_1;
|
|
3125
|
+
sink.d3t(this, byteCount_0);
|
|
3126
3126
|
tmp$ret$0 = byteCount_0;
|
|
3127
3127
|
}
|
|
3128
3128
|
return tmp$ret$0;
|
|
3129
3129
|
};
|
|
3130
|
-
protoOf(Buffer).
|
|
3131
|
-
return this.
|
|
3130
|
+
protoOf(Buffer).a3t = function (targetBytes) {
|
|
3131
|
+
return this.v3u(targetBytes, 0n);
|
|
3132
3132
|
};
|
|
3133
|
-
protoOf(Buffer).
|
|
3133
|
+
protoOf(Buffer).v3u = function (targetBytes, fromIndex) {
|
|
3134
3134
|
var tmp$ret$0;
|
|
3135
3135
|
$l$block_12: {
|
|
3136
3136
|
// Inline function 'okio.internal.commonIndexOfElement' call
|
|
@@ -3143,7 +3143,7 @@
|
|
|
3143
3143
|
var tmp2 = fromIndex_0;
|
|
3144
3144
|
$l$block_13: {
|
|
3145
3145
|
// Inline function 'okio.internal.seek' call
|
|
3146
|
-
var tmp0_elvis_lhs = this.
|
|
3146
|
+
var tmp0_elvis_lhs = this.s3s_1;
|
|
3147
3147
|
var tmp;
|
|
3148
3148
|
if (tmp0_elvis_lhs == null) {
|
|
3149
3149
|
var tmp_0;
|
|
@@ -3155,31 +3155,31 @@
|
|
|
3155
3155
|
}
|
|
3156
3156
|
var s = tmp_0;
|
|
3157
3157
|
var offset = -1n;
|
|
3158
|
-
if (targetBytes.
|
|
3159
|
-
var b0 = targetBytes.
|
|
3160
|
-
var b1 = targetBytes.
|
|
3161
|
-
while (offset < this.
|
|
3162
|
-
var data = s.
|
|
3163
|
-
var pos = convertToInt(subtract(add(numberToLong(s.
|
|
3164
|
-
var limit = s.
|
|
3158
|
+
if (targetBytes.s() === 2) {
|
|
3159
|
+
var b0 = targetBytes.x(0);
|
|
3160
|
+
var b1 = targetBytes.x(1);
|
|
3161
|
+
while (offset < this.t3s_1) {
|
|
3162
|
+
var data = s.w3r_1;
|
|
3163
|
+
var pos = convertToInt(subtract(add(numberToLong(s.x3r_1), fromIndex_0), offset));
|
|
3164
|
+
var limit = s.y3r_1;
|
|
3165
3165
|
while (pos < limit) {
|
|
3166
3166
|
var b = data[pos];
|
|
3167
3167
|
if (b === b0 || b === b1) {
|
|
3168
|
-
tmp$ret$0 = add(numberToLong(pos - s.
|
|
3168
|
+
tmp$ret$0 = add(numberToLong(pos - s.x3r_1 | 0), offset);
|
|
3169
3169
|
break $l$block_12;
|
|
3170
3170
|
}
|
|
3171
3171
|
pos = pos + 1 | 0;
|
|
3172
3172
|
}
|
|
3173
|
-
offset = add(offset, fromInt(s.
|
|
3173
|
+
offset = add(offset, fromInt(s.y3r_1 - s.x3r_1 | 0));
|
|
3174
3174
|
fromIndex_0 = offset;
|
|
3175
|
-
s = ensureNotNull(s.
|
|
3175
|
+
s = ensureNotNull(s.b3s_1);
|
|
3176
3176
|
}
|
|
3177
3177
|
} else {
|
|
3178
|
-
var targetByteArray = targetBytes.
|
|
3179
|
-
while (offset < this.
|
|
3180
|
-
var data_0 = s.
|
|
3181
|
-
var pos_0 = convertToInt(subtract(add(numberToLong(s.
|
|
3182
|
-
var limit_0 = s.
|
|
3178
|
+
var targetByteArray = targetBytes.u3s();
|
|
3179
|
+
while (offset < this.t3s_1) {
|
|
3180
|
+
var data_0 = s.w3r_1;
|
|
3181
|
+
var pos_0 = convertToInt(subtract(add(numberToLong(s.x3r_1), fromIndex_0), offset));
|
|
3182
|
+
var limit_0 = s.y3r_1;
|
|
3183
3183
|
while (pos_0 < limit_0) {
|
|
3184
3184
|
var b_0 = data_0[pos_0];
|
|
3185
3185
|
var inductionVariable = 0;
|
|
@@ -3188,15 +3188,15 @@
|
|
|
3188
3188
|
var t = targetByteArray[inductionVariable];
|
|
3189
3189
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3190
3190
|
if (b_0 === t) {
|
|
3191
|
-
tmp$ret$0 = add(numberToLong(pos_0 - s.
|
|
3191
|
+
tmp$ret$0 = add(numberToLong(pos_0 - s.x3r_1 | 0), offset);
|
|
3192
3192
|
break $l$block_12;
|
|
3193
3193
|
}
|
|
3194
3194
|
}
|
|
3195
3195
|
pos_0 = pos_0 + 1 | 0;
|
|
3196
3196
|
}
|
|
3197
|
-
offset = add(offset, fromInt(s.
|
|
3197
|
+
offset = add(offset, fromInt(s.y3r_1 - s.x3r_1 | 0));
|
|
3198
3198
|
fromIndex_0 = offset;
|
|
3199
|
-
s = ensureNotNull(s.
|
|
3199
|
+
s = ensureNotNull(s.b3s_1);
|
|
3200
3200
|
}
|
|
3201
3201
|
}
|
|
3202
3202
|
tmp$ret$0 = -1n;
|
|
@@ -3205,11 +3205,11 @@
|
|
|
3205
3205
|
tmp = tmp0_elvis_lhs;
|
|
3206
3206
|
}
|
|
3207
3207
|
var s_0 = tmp;
|
|
3208
|
-
if (subtract(this.
|
|
3209
|
-
var offset_0 = this.
|
|
3208
|
+
if (subtract(this.t3s_1, tmp2) < tmp2) {
|
|
3209
|
+
var offset_0 = this.t3s_1;
|
|
3210
3210
|
while (offset_0 > tmp2) {
|
|
3211
|
-
s_0 = ensureNotNull(s_0.
|
|
3212
|
-
offset_0 = subtract(offset_0, fromInt(s_0.
|
|
3211
|
+
s_0 = ensureNotNull(s_0.c3s_1);
|
|
3212
|
+
offset_0 = subtract(offset_0, fromInt(s_0.y3r_1 - s_0.x3r_1 | 0));
|
|
3213
3213
|
}
|
|
3214
3214
|
var tmp0 = s_0;
|
|
3215
3215
|
var offset_1 = offset_0;
|
|
@@ -3222,31 +3222,31 @@
|
|
|
3222
3222
|
}
|
|
3223
3223
|
var s_1 = tmp_1;
|
|
3224
3224
|
var offset_2 = offset_1;
|
|
3225
|
-
if (targetBytes.
|
|
3226
|
-
var b0_0 = targetBytes.
|
|
3227
|
-
var b1_0 = targetBytes.
|
|
3228
|
-
while (offset_2 < this.
|
|
3229
|
-
var data_1 = s_1.
|
|
3230
|
-
var pos_1 = convertToInt(subtract(add(numberToLong(s_1.
|
|
3231
|
-
var limit_1 = s_1.
|
|
3225
|
+
if (targetBytes.s() === 2) {
|
|
3226
|
+
var b0_0 = targetBytes.x(0);
|
|
3227
|
+
var b1_0 = targetBytes.x(1);
|
|
3228
|
+
while (offset_2 < this.t3s_1) {
|
|
3229
|
+
var data_1 = s_1.w3r_1;
|
|
3230
|
+
var pos_1 = convertToInt(subtract(add(numberToLong(s_1.x3r_1), fromIndex_0), offset_2));
|
|
3231
|
+
var limit_1 = s_1.y3r_1;
|
|
3232
3232
|
while (pos_1 < limit_1) {
|
|
3233
3233
|
var b_1 = data_1[pos_1];
|
|
3234
3234
|
if (b_1 === b0_0 || b_1 === b1_0) {
|
|
3235
|
-
tmp$ret$0 = add(numberToLong(pos_1 - s_1.
|
|
3235
|
+
tmp$ret$0 = add(numberToLong(pos_1 - s_1.x3r_1 | 0), offset_2);
|
|
3236
3236
|
break $l$block_12;
|
|
3237
3237
|
}
|
|
3238
3238
|
pos_1 = pos_1 + 1 | 0;
|
|
3239
3239
|
}
|
|
3240
|
-
offset_2 = add(offset_2, fromInt(s_1.
|
|
3240
|
+
offset_2 = add(offset_2, fromInt(s_1.y3r_1 - s_1.x3r_1 | 0));
|
|
3241
3241
|
fromIndex_0 = offset_2;
|
|
3242
|
-
s_1 = ensureNotNull(s_1.
|
|
3242
|
+
s_1 = ensureNotNull(s_1.b3s_1);
|
|
3243
3243
|
}
|
|
3244
3244
|
} else {
|
|
3245
|
-
var targetByteArray_0 = targetBytes.
|
|
3246
|
-
while (offset_2 < this.
|
|
3247
|
-
var data_2 = s_1.
|
|
3248
|
-
var pos_2 = convertToInt(subtract(add(numberToLong(s_1.
|
|
3249
|
-
var limit_2 = s_1.
|
|
3245
|
+
var targetByteArray_0 = targetBytes.u3s();
|
|
3246
|
+
while (offset_2 < this.t3s_1) {
|
|
3247
|
+
var data_2 = s_1.w3r_1;
|
|
3248
|
+
var pos_2 = convertToInt(subtract(add(numberToLong(s_1.x3r_1), fromIndex_0), offset_2));
|
|
3249
|
+
var limit_2 = s_1.y3r_1;
|
|
3250
3250
|
while (pos_2 < limit_2) {
|
|
3251
3251
|
var b_2 = data_2[pos_2];
|
|
3252
3252
|
var inductionVariable_0 = 0;
|
|
@@ -3255,15 +3255,15 @@
|
|
|
3255
3255
|
var t_0 = targetByteArray_0[inductionVariable_0];
|
|
3256
3256
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
3257
3257
|
if (b_2 === t_0) {
|
|
3258
|
-
tmp$ret$0 = add(numberToLong(pos_2 - s_1.
|
|
3258
|
+
tmp$ret$0 = add(numberToLong(pos_2 - s_1.x3r_1 | 0), offset_2);
|
|
3259
3259
|
break $l$block_12;
|
|
3260
3260
|
}
|
|
3261
3261
|
}
|
|
3262
3262
|
pos_2 = pos_2 + 1 | 0;
|
|
3263
3263
|
}
|
|
3264
|
-
offset_2 = add(offset_2, fromInt(s_1.
|
|
3264
|
+
offset_2 = add(offset_2, fromInt(s_1.y3r_1 - s_1.x3r_1 | 0));
|
|
3265
3265
|
fromIndex_0 = offset_2;
|
|
3266
|
-
s_1 = ensureNotNull(s_1.
|
|
3266
|
+
s_1 = ensureNotNull(s_1.b3s_1);
|
|
3267
3267
|
}
|
|
3268
3268
|
}
|
|
3269
3269
|
tmp$ret$0 = -1n;
|
|
@@ -3273,11 +3273,11 @@
|
|
|
3273
3273
|
$l$loop: while (true) {
|
|
3274
3274
|
var tmp0_0 = offset_3;
|
|
3275
3275
|
// Inline function 'kotlin.Long.plus' call
|
|
3276
|
-
var other = s_0.
|
|
3276
|
+
var other = s_0.y3r_1 - s_0.x3r_1 | 0;
|
|
3277
3277
|
var nextOffset = add(tmp0_0, fromInt(other));
|
|
3278
3278
|
if (nextOffset > tmp2)
|
|
3279
3279
|
break $l$loop;
|
|
3280
|
-
s_0 = ensureNotNull(s_0.
|
|
3280
|
+
s_0 = ensureNotNull(s_0.b3s_1);
|
|
3281
3281
|
offset_3 = nextOffset;
|
|
3282
3282
|
}
|
|
3283
3283
|
var tmp0_1 = s_0;
|
|
@@ -3291,31 +3291,31 @@
|
|
|
3291
3291
|
}
|
|
3292
3292
|
var s_2 = tmp_2;
|
|
3293
3293
|
var offset_5 = offset_4;
|
|
3294
|
-
if (targetBytes.
|
|
3295
|
-
var b0_1 = targetBytes.
|
|
3296
|
-
var b1_1 = targetBytes.
|
|
3297
|
-
while (offset_5 < this.
|
|
3298
|
-
var data_3 = s_2.
|
|
3299
|
-
var pos_3 = convertToInt(subtract(add(numberToLong(s_2.
|
|
3300
|
-
var limit_3 = s_2.
|
|
3294
|
+
if (targetBytes.s() === 2) {
|
|
3295
|
+
var b0_1 = targetBytes.x(0);
|
|
3296
|
+
var b1_1 = targetBytes.x(1);
|
|
3297
|
+
while (offset_5 < this.t3s_1) {
|
|
3298
|
+
var data_3 = s_2.w3r_1;
|
|
3299
|
+
var pos_3 = convertToInt(subtract(add(numberToLong(s_2.x3r_1), fromIndex_0), offset_5));
|
|
3300
|
+
var limit_3 = s_2.y3r_1;
|
|
3301
3301
|
while (pos_3 < limit_3) {
|
|
3302
3302
|
var b_3 = data_3[pos_3];
|
|
3303
3303
|
if (b_3 === b0_1 || b_3 === b1_1) {
|
|
3304
|
-
tmp$ret$0 = add(numberToLong(pos_3 - s_2.
|
|
3304
|
+
tmp$ret$0 = add(numberToLong(pos_3 - s_2.x3r_1 | 0), offset_5);
|
|
3305
3305
|
break $l$block_12;
|
|
3306
3306
|
}
|
|
3307
3307
|
pos_3 = pos_3 + 1 | 0;
|
|
3308
3308
|
}
|
|
3309
|
-
offset_5 = add(offset_5, fromInt(s_2.
|
|
3309
|
+
offset_5 = add(offset_5, fromInt(s_2.y3r_1 - s_2.x3r_1 | 0));
|
|
3310
3310
|
fromIndex_0 = offset_5;
|
|
3311
|
-
s_2 = ensureNotNull(s_2.
|
|
3311
|
+
s_2 = ensureNotNull(s_2.b3s_1);
|
|
3312
3312
|
}
|
|
3313
3313
|
} else {
|
|
3314
|
-
var targetByteArray_1 = targetBytes.
|
|
3315
|
-
while (offset_5 < this.
|
|
3316
|
-
var data_4 = s_2.
|
|
3317
|
-
var pos_4 = convertToInt(subtract(add(numberToLong(s_2.
|
|
3318
|
-
var limit_4 = s_2.
|
|
3314
|
+
var targetByteArray_1 = targetBytes.u3s();
|
|
3315
|
+
while (offset_5 < this.t3s_1) {
|
|
3316
|
+
var data_4 = s_2.w3r_1;
|
|
3317
|
+
var pos_4 = convertToInt(subtract(add(numberToLong(s_2.x3r_1), fromIndex_0), offset_5));
|
|
3318
|
+
var limit_4 = s_2.y3r_1;
|
|
3319
3319
|
while (pos_4 < limit_4) {
|
|
3320
3320
|
var b_4 = data_4[pos_4];
|
|
3321
3321
|
var inductionVariable_1 = 0;
|
|
@@ -3324,15 +3324,15 @@
|
|
|
3324
3324
|
var t_1 = targetByteArray_1[inductionVariable_1];
|
|
3325
3325
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
3326
3326
|
if (b_4 === t_1) {
|
|
3327
|
-
tmp$ret$0 = add(numberToLong(pos_4 - s_2.
|
|
3327
|
+
tmp$ret$0 = add(numberToLong(pos_4 - s_2.x3r_1 | 0), offset_5);
|
|
3328
3328
|
break $l$block_12;
|
|
3329
3329
|
}
|
|
3330
3330
|
}
|
|
3331
3331
|
pos_4 = pos_4 + 1 | 0;
|
|
3332
3332
|
}
|
|
3333
|
-
offset_5 = add(offset_5, fromInt(s_2.
|
|
3333
|
+
offset_5 = add(offset_5, fromInt(s_2.y3r_1 - s_2.x3r_1 | 0));
|
|
3334
3334
|
fromIndex_0 = offset_5;
|
|
3335
|
-
s_2 = ensureNotNull(s_2.
|
|
3335
|
+
s_2 = ensureNotNull(s_2.b3s_1);
|
|
3336
3336
|
}
|
|
3337
3337
|
}
|
|
3338
3338
|
tmp$ret$0 = -1n;
|
|
@@ -3342,10 +3342,10 @@
|
|
|
3342
3342
|
}
|
|
3343
3343
|
return tmp$ret$0;
|
|
3344
3344
|
};
|
|
3345
|
-
protoOf(Buffer).
|
|
3346
|
-
return this.
|
|
3345
|
+
protoOf(Buffer).y3s = function (offset, bytes) {
|
|
3346
|
+
return this.w3u(offset, bytes, 0, bytes.s());
|
|
3347
3347
|
};
|
|
3348
|
-
protoOf(Buffer).
|
|
3348
|
+
protoOf(Buffer).w3u = function (offset, bytes, bytesOffset, byteCount) {
|
|
3349
3349
|
var tmp$ret$0;
|
|
3350
3350
|
$l$block_2: {
|
|
3351
3351
|
// Inline function 'okio.internal.commonRangeEquals' call
|
|
@@ -3358,13 +3358,13 @@
|
|
|
3358
3358
|
tmp = true;
|
|
3359
3359
|
} else {
|
|
3360
3360
|
// Inline function 'kotlin.Long.plus' call
|
|
3361
|
-
tmp = add(offset, fromInt(byteCount)) > this.
|
|
3361
|
+
tmp = add(offset, fromInt(byteCount)) > this.t3s_1;
|
|
3362
3362
|
}
|
|
3363
3363
|
if (tmp) {
|
|
3364
3364
|
tmp$ret$0 = false;
|
|
3365
3365
|
break $l$block_2;
|
|
3366
3366
|
}
|
|
3367
|
-
if (bytesOffset < 0 || (bytesOffset + byteCount | 0) > bytes.
|
|
3367
|
+
if (bytesOffset < 0 || (bytesOffset + byteCount | 0) > bytes.s()) {
|
|
3368
3368
|
tmp$ret$0 = false;
|
|
3369
3369
|
break $l$block_2;
|
|
3370
3370
|
}
|
|
@@ -3378,10 +3378,10 @@
|
|
|
3378
3378
|
}
|
|
3379
3379
|
return tmp$ret$0;
|
|
3380
3380
|
};
|
|
3381
|
-
protoOf(Buffer).
|
|
3381
|
+
protoOf(Buffer).o8 = function () {
|
|
3382
3382
|
return Unit_instance;
|
|
3383
3383
|
};
|
|
3384
|
-
protoOf(Buffer).
|
|
3384
|
+
protoOf(Buffer).z22 = function () {
|
|
3385
3385
|
return Unit_instance;
|
|
3386
3386
|
};
|
|
3387
3387
|
protoOf(Buffer).equals = function (other) {
|
|
@@ -3396,24 +3396,24 @@
|
|
|
3396
3396
|
tmp$ret$0 = false;
|
|
3397
3397
|
break $l$block_3;
|
|
3398
3398
|
}
|
|
3399
|
-
if (!(this.
|
|
3399
|
+
if (!(this.t3s_1 === other.t3s_1)) {
|
|
3400
3400
|
tmp$ret$0 = false;
|
|
3401
3401
|
break $l$block_3;
|
|
3402
3402
|
}
|
|
3403
|
-
if (this.
|
|
3403
|
+
if (this.t3s_1 === 0n) {
|
|
3404
3404
|
tmp$ret$0 = true;
|
|
3405
3405
|
break $l$block_3;
|
|
3406
3406
|
}
|
|
3407
|
-
var sa = ensureNotNull(this.
|
|
3408
|
-
var sb = ensureNotNull(other.
|
|
3409
|
-
var posA = sa.
|
|
3410
|
-
var posB = sb.
|
|
3407
|
+
var sa = ensureNotNull(this.s3s_1);
|
|
3408
|
+
var sb = ensureNotNull(other.s3s_1);
|
|
3409
|
+
var posA = sa.x3r_1;
|
|
3410
|
+
var posB = sb.x3r_1;
|
|
3411
3411
|
var pos = 0n;
|
|
3412
3412
|
var count;
|
|
3413
|
-
while (pos < this.
|
|
3414
|
-
var tmp0 = sa.
|
|
3413
|
+
while (pos < this.t3s_1) {
|
|
3414
|
+
var tmp0 = sa.y3r_1 - posA | 0;
|
|
3415
3415
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3416
|
-
var b = sb.
|
|
3416
|
+
var b = sb.y3r_1 - posB | 0;
|
|
3417
3417
|
var tmp$ret$1 = Math.min(tmp0, b);
|
|
3418
3418
|
count = fromInt(tmp$ret$1);
|
|
3419
3419
|
var inductionVariable = 0n;
|
|
@@ -3421,11 +3421,11 @@
|
|
|
3421
3421
|
do {
|
|
3422
3422
|
var i = inductionVariable;
|
|
3423
3423
|
inductionVariable = add(inductionVariable, 1n);
|
|
3424
|
-
var tmp = sa.
|
|
3424
|
+
var tmp = sa.w3r_1;
|
|
3425
3425
|
var _unary__edvuaz = posA;
|
|
3426
3426
|
posA = _unary__edvuaz + 1 | 0;
|
|
3427
3427
|
var tmp_0 = tmp[_unary__edvuaz];
|
|
3428
|
-
var tmp_1 = sb.
|
|
3428
|
+
var tmp_1 = sb.w3r_1;
|
|
3429
3429
|
var _unary__edvuaz_0 = posB;
|
|
3430
3430
|
posB = _unary__edvuaz_0 + 1 | 0;
|
|
3431
3431
|
if (!(tmp_0 === tmp_1[_unary__edvuaz_0])) {
|
|
@@ -3434,13 +3434,13 @@
|
|
|
3434
3434
|
}
|
|
3435
3435
|
}
|
|
3436
3436
|
while (inductionVariable < count);
|
|
3437
|
-
if (posA === sa.
|
|
3438
|
-
sa = ensureNotNull(sa.
|
|
3439
|
-
posA = sa.
|
|
3437
|
+
if (posA === sa.y3r_1) {
|
|
3438
|
+
sa = ensureNotNull(sa.b3s_1);
|
|
3439
|
+
posA = sa.x3r_1;
|
|
3440
3440
|
}
|
|
3441
|
-
if (posB === sb.
|
|
3442
|
-
sb = ensureNotNull(sb.
|
|
3443
|
-
posB = sb.
|
|
3441
|
+
if (posB === sb.y3r_1) {
|
|
3442
|
+
sb = ensureNotNull(sb.b3s_1);
|
|
3443
|
+
posB = sb.x3r_1;
|
|
3444
3444
|
}
|
|
3445
3445
|
pos = add(pos, count);
|
|
3446
3446
|
}
|
|
@@ -3452,7 +3452,7 @@
|
|
|
3452
3452
|
var tmp$ret$0;
|
|
3453
3453
|
$l$block: {
|
|
3454
3454
|
// Inline function 'okio.internal.commonHashCode' call
|
|
3455
|
-
var tmp0_elvis_lhs = this.
|
|
3455
|
+
var tmp0_elvis_lhs = this.s3s_1;
|
|
3456
3456
|
var tmp;
|
|
3457
3457
|
if (tmp0_elvis_lhs == null) {
|
|
3458
3458
|
tmp$ret$0 = 0;
|
|
@@ -3463,50 +3463,50 @@
|
|
|
3463
3463
|
var s = tmp;
|
|
3464
3464
|
var result = 1;
|
|
3465
3465
|
do {
|
|
3466
|
-
var pos = s.
|
|
3467
|
-
var limit = s.
|
|
3466
|
+
var pos = s.x3r_1;
|
|
3467
|
+
var limit = s.y3r_1;
|
|
3468
3468
|
while (pos < limit) {
|
|
3469
|
-
result = imul(31, result) + s.
|
|
3469
|
+
result = imul(31, result) + s.w3r_1[pos] | 0;
|
|
3470
3470
|
pos = pos + 1 | 0;
|
|
3471
3471
|
}
|
|
3472
|
-
s = ensureNotNull(s.
|
|
3472
|
+
s = ensureNotNull(s.b3s_1);
|
|
3473
3473
|
}
|
|
3474
|
-
while (!(s === this.
|
|
3474
|
+
while (!(s === this.s3s_1));
|
|
3475
3475
|
tmp$ret$0 = result;
|
|
3476
3476
|
}
|
|
3477
3477
|
return tmp$ret$0;
|
|
3478
3478
|
};
|
|
3479
3479
|
protoOf(Buffer).toString = function () {
|
|
3480
|
-
return this.
|
|
3480
|
+
return this.x3u().toString();
|
|
3481
3481
|
};
|
|
3482
|
-
protoOf(Buffer).
|
|
3482
|
+
protoOf(Buffer).x3u = function () {
|
|
3483
3483
|
// Inline function 'okio.internal.commonSnapshot' call
|
|
3484
3484
|
// Inline function 'kotlin.check' call
|
|
3485
|
-
if (!(this.
|
|
3486
|
-
var message = 'size > Int.MAX_VALUE: ' + this.
|
|
3485
|
+
if (!(this.t3s_1 <= 2147483647n)) {
|
|
3486
|
+
var message = 'size > Int.MAX_VALUE: ' + this.t3s_1.toString();
|
|
3487
3487
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
3488
3488
|
}
|
|
3489
|
-
return this.
|
|
3489
|
+
return this.i3u(convertToInt(this.t3s_1));
|
|
3490
3490
|
};
|
|
3491
|
-
protoOf(Buffer).
|
|
3491
|
+
protoOf(Buffer).i3u = function (byteCount) {
|
|
3492
3492
|
var tmp$ret$0;
|
|
3493
3493
|
$l$block: {
|
|
3494
3494
|
// Inline function 'okio.internal.commonSnapshot' call
|
|
3495
3495
|
if (byteCount === 0) {
|
|
3496
|
-
tmp$ret$0 = Companion_getInstance_1().
|
|
3496
|
+
tmp$ret$0 = Companion_getInstance_1().i3t_1;
|
|
3497
3497
|
break $l$block;
|
|
3498
3498
|
}
|
|
3499
|
-
checkOffsetAndCount(this.
|
|
3499
|
+
checkOffsetAndCount(this.t3s_1, 0n, fromInt(byteCount));
|
|
3500
3500
|
var offset = 0;
|
|
3501
3501
|
var segmentCount = 0;
|
|
3502
|
-
var s = this.
|
|
3502
|
+
var s = this.s3s_1;
|
|
3503
3503
|
while (offset < byteCount) {
|
|
3504
|
-
if (ensureNotNull(s).
|
|
3504
|
+
if (ensureNotNull(s).y3r_1 === s.x3r_1) {
|
|
3505
3505
|
throw AssertionError_init_$Create$('s.limit == s.pos');
|
|
3506
3506
|
}
|
|
3507
|
-
offset = offset + (s.
|
|
3507
|
+
offset = offset + (s.y3r_1 - s.x3r_1 | 0) | 0;
|
|
3508
3508
|
segmentCount = segmentCount + 1 | 0;
|
|
3509
|
-
s = s.
|
|
3509
|
+
s = s.b3s_1;
|
|
3510
3510
|
}
|
|
3511
3511
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3512
3512
|
var size = segmentCount;
|
|
@@ -3514,23 +3514,27 @@
|
|
|
3514
3514
|
var directory = new Int32Array(imul(segmentCount, 2));
|
|
3515
3515
|
offset = 0;
|
|
3516
3516
|
segmentCount = 0;
|
|
3517
|
-
s = this.
|
|
3517
|
+
s = this.s3s_1;
|
|
3518
3518
|
while (offset < byteCount) {
|
|
3519
|
-
segments[segmentCount] = ensureNotNull(s).
|
|
3520
|
-
offset = offset + (s.
|
|
3519
|
+
segments[segmentCount] = ensureNotNull(s).w3r_1;
|
|
3520
|
+
offset = offset + (s.y3r_1 - s.x3r_1 | 0) | 0;
|
|
3521
3521
|
var tmp = segmentCount;
|
|
3522
3522
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3523
3523
|
var a = offset;
|
|
3524
3524
|
directory[tmp] = Math.min(a, byteCount);
|
|
3525
|
-
directory[segmentCount + segments.length | 0] = s.
|
|
3526
|
-
s.
|
|
3525
|
+
directory[segmentCount + segments.length | 0] = s.x3r_1;
|
|
3526
|
+
s.z3r_1 = true;
|
|
3527
3527
|
segmentCount = segmentCount + 1 | 0;
|
|
3528
|
-
s = s.
|
|
3528
|
+
s = s.b3s_1;
|
|
3529
3529
|
}
|
|
3530
3530
|
tmp$ret$0 = new SegmentedByteString(isArray(segments) ? segments : THROW_CCE(), directory);
|
|
3531
3531
|
}
|
|
3532
3532
|
return tmp$ret$0;
|
|
3533
3533
|
};
|
|
3534
|
+
function FileNotFoundException(message) {
|
|
3535
|
+
IOException_init_$Init$(message, this);
|
|
3536
|
+
captureStack(this, FileNotFoundException);
|
|
3537
|
+
}
|
|
3534
3538
|
function IOException_init_$Init$(message, $this) {
|
|
3535
3539
|
IOException.call($this, message, null);
|
|
3536
3540
|
return $this;
|
|
@@ -3553,10 +3557,6 @@
|
|
|
3553
3557
|
Exception_init_$Init$(message, cause, this);
|
|
3554
3558
|
captureStack(this, IOException);
|
|
3555
3559
|
}
|
|
3556
|
-
function FileNotFoundException(message) {
|
|
3557
|
-
IOException_init_$Init$(message, this);
|
|
3558
|
-
captureStack(this, FileNotFoundException);
|
|
3559
|
-
}
|
|
3560
3560
|
function ArrayIndexOutOfBoundsException(message) {
|
|
3561
3561
|
IndexOutOfBoundsException_init_$Init$(message, this);
|
|
3562
3562
|
captureStack(this, ArrayIndexOutOfBoundsException);
|
|
@@ -3582,14 +3582,14 @@
|
|
|
3582
3582
|
}
|
|
3583
3583
|
function Companion_2() {
|
|
3584
3584
|
Companion_instance_2 = this;
|
|
3585
|
-
this.
|
|
3585
|
+
this.c3t_1 = get_PLATFORM_DIRECTORY_SEPARATOR();
|
|
3586
3586
|
}
|
|
3587
|
-
protoOf(Companion_2).
|
|
3587
|
+
protoOf(Companion_2).y3u = function (_this__u8e3s4, normalize) {
|
|
3588
3588
|
return commonToPath(_this__u8e3s4, normalize);
|
|
3589
3589
|
};
|
|
3590
|
-
protoOf(Companion_2).
|
|
3590
|
+
protoOf(Companion_2).q3t = function (_this__u8e3s4, normalize, $super) {
|
|
3591
3591
|
normalize = normalize === VOID ? false : normalize;
|
|
3592
|
-
return $super === VOID ? this.
|
|
3592
|
+
return $super === VOID ? this.y3u(_this__u8e3s4, normalize) : $super.y3u.call(this, _this__u8e3s4, normalize);
|
|
3593
3593
|
};
|
|
3594
3594
|
var Companion_instance_2;
|
|
3595
3595
|
function Companion_getInstance_2() {
|
|
@@ -3599,20 +3599,20 @@
|
|
|
3599
3599
|
}
|
|
3600
3600
|
function Path(bytes) {
|
|
3601
3601
|
Companion_getInstance_2();
|
|
3602
|
-
this.
|
|
3602
|
+
this.z3u_1 = bytes;
|
|
3603
3603
|
}
|
|
3604
|
-
protoOf(Path).
|
|
3604
|
+
protoOf(Path).a3v = function (other) {
|
|
3605
3605
|
// Inline function 'okio.internal.commonCompareTo' call
|
|
3606
|
-
return this.
|
|
3606
|
+
return this.z3u_1.d3u(other.z3u_1);
|
|
3607
3607
|
};
|
|
3608
3608
|
protoOf(Path).d = function (other) {
|
|
3609
|
-
return this.
|
|
3609
|
+
return this.a3v(other instanceof Path ? other : THROW_CCE());
|
|
3610
3610
|
};
|
|
3611
3611
|
protoOf(Path).equals = function (other) {
|
|
3612
3612
|
// Inline function 'okio.internal.commonEquals' call
|
|
3613
3613
|
var tmp;
|
|
3614
3614
|
if (other instanceof Path) {
|
|
3615
|
-
tmp = other.
|
|
3615
|
+
tmp = other.z3u_1.equals(this.z3u_1);
|
|
3616
3616
|
} else {
|
|
3617
3617
|
tmp = false;
|
|
3618
3618
|
}
|
|
@@ -3620,76 +3620,76 @@
|
|
|
3620
3620
|
};
|
|
3621
3621
|
protoOf(Path).hashCode = function () {
|
|
3622
3622
|
// Inline function 'okio.internal.commonHashCode' call
|
|
3623
|
-
return this.
|
|
3623
|
+
return this.z3u_1.hashCode();
|
|
3624
3624
|
};
|
|
3625
3625
|
protoOf(Path).toString = function () {
|
|
3626
3626
|
// Inline function 'okio.internal.commonToString' call
|
|
3627
|
-
return this.
|
|
3627
|
+
return this.z3u_1.x3t();
|
|
3628
3628
|
};
|
|
3629
3629
|
function RealBufferedSink(sink) {
|
|
3630
|
-
this.
|
|
3631
|
-
this.
|
|
3632
|
-
this.
|
|
3630
|
+
this.b3v_1 = sink;
|
|
3631
|
+
this.c3v_1 = false;
|
|
3632
|
+
this.d3v_1 = new Buffer();
|
|
3633
3633
|
}
|
|
3634
|
-
protoOf(RealBufferedSink).
|
|
3634
|
+
protoOf(RealBufferedSink).d3t = function (source, byteCount) {
|
|
3635
3635
|
// Inline function 'okio.internal.commonWrite' call
|
|
3636
3636
|
// Inline function 'kotlin.check' call
|
|
3637
|
-
if (!!this.
|
|
3637
|
+
if (!!this.c3v_1) {
|
|
3638
3638
|
var message = 'closed';
|
|
3639
3639
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
3640
3640
|
}
|
|
3641
|
-
this.
|
|
3642
|
-
this.
|
|
3641
|
+
this.d3v_1.d3t(source, byteCount);
|
|
3642
|
+
this.e3v();
|
|
3643
3643
|
return Unit_instance;
|
|
3644
3644
|
};
|
|
3645
|
-
protoOf(RealBufferedSink).
|
|
3645
|
+
protoOf(RealBufferedSink).x3s = function (string) {
|
|
3646
3646
|
// Inline function 'okio.internal.commonWriteUtf8' call
|
|
3647
3647
|
// Inline function 'kotlin.check' call
|
|
3648
|
-
if (!!this.
|
|
3648
|
+
if (!!this.c3v_1) {
|
|
3649
3649
|
var message = 'closed';
|
|
3650
3650
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
3651
3651
|
}
|
|
3652
|
-
this.
|
|
3653
|
-
return this.
|
|
3652
|
+
this.d3v_1.x3s(string);
|
|
3653
|
+
return this.e3v();
|
|
3654
3654
|
};
|
|
3655
|
-
protoOf(RealBufferedSink).
|
|
3655
|
+
protoOf(RealBufferedSink).e3v = function () {
|
|
3656
3656
|
// Inline function 'okio.internal.commonEmitCompleteSegments' call
|
|
3657
3657
|
// Inline function 'kotlin.check' call
|
|
3658
|
-
if (!!this.
|
|
3658
|
+
if (!!this.c3v_1) {
|
|
3659
3659
|
var message = 'closed';
|
|
3660
3660
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
3661
3661
|
}
|
|
3662
|
-
var byteCount = this.
|
|
3662
|
+
var byteCount = this.d3v_1.g3u();
|
|
3663
3663
|
if (byteCount > 0n) {
|
|
3664
|
-
this.
|
|
3664
|
+
this.b3v_1.d3t(this.d3v_1, byteCount);
|
|
3665
3665
|
}
|
|
3666
3666
|
return this;
|
|
3667
3667
|
};
|
|
3668
|
-
protoOf(RealBufferedSink).
|
|
3668
|
+
protoOf(RealBufferedSink).o8 = function () {
|
|
3669
3669
|
// Inline function 'okio.internal.commonFlush' call
|
|
3670
3670
|
// Inline function 'kotlin.check' call
|
|
3671
|
-
if (!!this.
|
|
3671
|
+
if (!!this.c3v_1) {
|
|
3672
3672
|
var message = 'closed';
|
|
3673
3673
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
3674
3674
|
}
|
|
3675
|
-
if (this.
|
|
3676
|
-
this.
|
|
3675
|
+
if (this.d3v_1.t3s_1 > 0n) {
|
|
3676
|
+
this.b3v_1.d3t(this.d3v_1, this.d3v_1.t3s_1);
|
|
3677
3677
|
}
|
|
3678
|
-
this.
|
|
3678
|
+
this.b3v_1.o8();
|
|
3679
3679
|
return Unit_instance;
|
|
3680
3680
|
};
|
|
3681
|
-
protoOf(RealBufferedSink).
|
|
3681
|
+
protoOf(RealBufferedSink).z22 = function () {
|
|
3682
3682
|
var tmp$ret$0;
|
|
3683
3683
|
$l$block: {
|
|
3684
3684
|
// Inline function 'okio.internal.commonClose' call
|
|
3685
|
-
if (this.
|
|
3685
|
+
if (this.c3v_1) {
|
|
3686
3686
|
tmp$ret$0 = Unit_instance;
|
|
3687
3687
|
break $l$block;
|
|
3688
3688
|
}
|
|
3689
3689
|
var thrown = null;
|
|
3690
3690
|
try {
|
|
3691
|
-
if (this.
|
|
3692
|
-
this.
|
|
3691
|
+
if (this.d3v_1.t3s_1 > 0n) {
|
|
3692
|
+
this.b3v_1.d3t(this.d3v_1, this.d3v_1.t3s_1);
|
|
3693
3693
|
}
|
|
3694
3694
|
} catch ($p) {
|
|
3695
3695
|
if ($p instanceof Error) {
|
|
@@ -3700,7 +3700,7 @@
|
|
|
3700
3700
|
}
|
|
3701
3701
|
}
|
|
3702
3702
|
try {
|
|
3703
|
-
this.
|
|
3703
|
+
this.b3v_1.z22();
|
|
3704
3704
|
} catch ($p_0) {
|
|
3705
3705
|
if ($p_0 instanceof Error) {
|
|
3706
3706
|
var e_0 = $p_0;
|
|
@@ -3710,7 +3710,7 @@
|
|
|
3710
3710
|
throw $p_0;
|
|
3711
3711
|
}
|
|
3712
3712
|
}
|
|
3713
|
-
this.
|
|
3713
|
+
this.c3v_1 = true;
|
|
3714
3714
|
if (!(thrown == null))
|
|
3715
3715
|
throw thrown;
|
|
3716
3716
|
tmp$ret$0 = Unit_instance;
|
|
@@ -3719,14 +3719,14 @@
|
|
|
3719
3719
|
};
|
|
3720
3720
|
protoOf(RealBufferedSink).toString = function () {
|
|
3721
3721
|
// Inline function 'okio.internal.commonToString' call
|
|
3722
|
-
return 'buffer(' + toString(this.
|
|
3722
|
+
return 'buffer(' + toString(this.b3v_1) + ')';
|
|
3723
3723
|
};
|
|
3724
3724
|
function RealBufferedSource(source) {
|
|
3725
|
-
this.
|
|
3726
|
-
this.
|
|
3727
|
-
this.
|
|
3725
|
+
this.f3v_1 = source;
|
|
3726
|
+
this.g3v_1 = false;
|
|
3727
|
+
this.h3v_1 = new Buffer();
|
|
3728
3728
|
}
|
|
3729
|
-
protoOf(RealBufferedSource).
|
|
3729
|
+
protoOf(RealBufferedSource).u3u = function (sink, byteCount) {
|
|
3730
3730
|
var tmp$ret$0;
|
|
3731
3731
|
$l$block_0: {
|
|
3732
3732
|
// Inline function 'okio.internal.commonRead' call
|
|
@@ -3736,44 +3736,44 @@
|
|
|
3736
3736
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3737
3737
|
}
|
|
3738
3738
|
// Inline function 'kotlin.check' call
|
|
3739
|
-
if (!!this.
|
|
3739
|
+
if (!!this.g3v_1) {
|
|
3740
3740
|
var message_0 = 'closed';
|
|
3741
3741
|
throw IllegalStateException_init_$Create$(toString(message_0));
|
|
3742
3742
|
}
|
|
3743
|
-
if (this.
|
|
3743
|
+
if (this.h3v_1.t3s_1 === 0n) {
|
|
3744
3744
|
if (byteCount === 0n) {
|
|
3745
3745
|
tmp$ret$0 = 0n;
|
|
3746
3746
|
break $l$block_0;
|
|
3747
3747
|
}
|
|
3748
|
-
var read = this.
|
|
3748
|
+
var read = this.f3v_1.u3u(this.h3v_1, 8192n);
|
|
3749
3749
|
if (read === -1n) {
|
|
3750
3750
|
tmp$ret$0 = -1n;
|
|
3751
3751
|
break $l$block_0;
|
|
3752
3752
|
}
|
|
3753
3753
|
}
|
|
3754
3754
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3755
|
-
var b = this.
|
|
3755
|
+
var b = this.h3v_1.t3s_1;
|
|
3756
3756
|
var toRead = byteCount <= b ? byteCount : b;
|
|
3757
|
-
tmp$ret$0 = this.
|
|
3757
|
+
tmp$ret$0 = this.h3v_1.u3u(sink, toRead);
|
|
3758
3758
|
}
|
|
3759
3759
|
return tmp$ret$0;
|
|
3760
3760
|
};
|
|
3761
|
-
protoOf(RealBufferedSource).
|
|
3761
|
+
protoOf(RealBufferedSource).f3t = function () {
|
|
3762
3762
|
// Inline function 'okio.internal.commonExhausted' call
|
|
3763
3763
|
// Inline function 'kotlin.check' call
|
|
3764
|
-
if (!!this.
|
|
3764
|
+
if (!!this.g3v_1) {
|
|
3765
3765
|
var message = 'closed';
|
|
3766
3766
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
3767
3767
|
}
|
|
3768
|
-
return this.
|
|
3768
|
+
return this.h3v_1.f3t() && this.f3v_1.u3u(this.h3v_1, 8192n) === -1n;
|
|
3769
3769
|
};
|
|
3770
|
-
protoOf(RealBufferedSource).
|
|
3770
|
+
protoOf(RealBufferedSource).i3v = function (byteCount) {
|
|
3771
3771
|
// Inline function 'okio.internal.commonRequire' call
|
|
3772
|
-
if (!this.
|
|
3772
|
+
if (!this.j3v(byteCount))
|
|
3773
3773
|
throw EOFException_init_$Create$();
|
|
3774
3774
|
return Unit_instance;
|
|
3775
3775
|
};
|
|
3776
|
-
protoOf(RealBufferedSource).
|
|
3776
|
+
protoOf(RealBufferedSource).j3v = function (byteCount) {
|
|
3777
3777
|
var tmp$ret$0;
|
|
3778
3778
|
$l$block: {
|
|
3779
3779
|
// Inline function 'okio.internal.commonRequest' call
|
|
@@ -3783,12 +3783,12 @@
|
|
|
3783
3783
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3784
3784
|
}
|
|
3785
3785
|
// Inline function 'kotlin.check' call
|
|
3786
|
-
if (!!this.
|
|
3786
|
+
if (!!this.g3v_1) {
|
|
3787
3787
|
var message_0 = 'closed';
|
|
3788
3788
|
throw IllegalStateException_init_$Create$(toString(message_0));
|
|
3789
3789
|
}
|
|
3790
|
-
while (this.
|
|
3791
|
-
if (this.
|
|
3790
|
+
while (this.h3v_1.t3s_1 < byteCount) {
|
|
3791
|
+
if (this.f3v_1.u3u(this.h3v_1, 8192n) === -1n) {
|
|
3792
3792
|
tmp$ret$0 = false;
|
|
3793
3793
|
break $l$block;
|
|
3794
3794
|
}
|
|
@@ -3797,56 +3797,56 @@
|
|
|
3797
3797
|
}
|
|
3798
3798
|
return tmp$ret$0;
|
|
3799
3799
|
};
|
|
3800
|
-
protoOf(RealBufferedSource).
|
|
3800
|
+
protoOf(RealBufferedSource).n3u = function () {
|
|
3801
3801
|
// Inline function 'okio.internal.commonReadByteArray' call
|
|
3802
|
-
this.
|
|
3803
|
-
return this.
|
|
3802
|
+
this.h3v_1.t3u(this.f3v_1);
|
|
3803
|
+
return this.h3v_1.n3u();
|
|
3804
3804
|
};
|
|
3805
|
-
protoOf(RealBufferedSource).
|
|
3805
|
+
protoOf(RealBufferedSource).k3u = function () {
|
|
3806
3806
|
// Inline function 'okio.internal.commonReadUtf8' call
|
|
3807
|
-
this.
|
|
3808
|
-
return this.
|
|
3807
|
+
this.h3v_1.t3u(this.f3v_1);
|
|
3808
|
+
return this.h3v_1.k3u();
|
|
3809
3809
|
};
|
|
3810
|
-
protoOf(RealBufferedSource).
|
|
3810
|
+
protoOf(RealBufferedSource).m3u = function () {
|
|
3811
3811
|
// Inline function 'okio.internal.commonReadUtf8CodePoint' call
|
|
3812
|
-
this.
|
|
3813
|
-
var b0 = this.
|
|
3812
|
+
this.i3v(1n);
|
|
3813
|
+
var b0 = this.h3v_1.b3t(0n);
|
|
3814
3814
|
if ((b0 & 224) === 192) {
|
|
3815
|
-
this.
|
|
3815
|
+
this.i3v(2n);
|
|
3816
3816
|
} else if ((b0 & 240) === 224) {
|
|
3817
|
-
this.
|
|
3817
|
+
this.i3v(3n);
|
|
3818
3818
|
} else if ((b0 & 248) === 240) {
|
|
3819
|
-
this.
|
|
3819
|
+
this.i3v(4n);
|
|
3820
3820
|
}
|
|
3821
|
-
return this.
|
|
3821
|
+
return this.h3v_1.m3u();
|
|
3822
3822
|
};
|
|
3823
|
-
protoOf(RealBufferedSource).
|
|
3823
|
+
protoOf(RealBufferedSource).z22 = function () {
|
|
3824
3824
|
var tmp$ret$0;
|
|
3825
3825
|
$l$block: {
|
|
3826
3826
|
// Inline function 'okio.internal.commonClose' call
|
|
3827
|
-
if (this.
|
|
3827
|
+
if (this.g3v_1) {
|
|
3828
3828
|
tmp$ret$0 = Unit_instance;
|
|
3829
3829
|
break $l$block;
|
|
3830
3830
|
}
|
|
3831
|
-
this.
|
|
3832
|
-
this.
|
|
3833
|
-
this.
|
|
3831
|
+
this.g3v_1 = true;
|
|
3832
|
+
this.f3v_1.z22();
|
|
3833
|
+
this.h3v_1.n3();
|
|
3834
3834
|
tmp$ret$0 = Unit_instance;
|
|
3835
3835
|
}
|
|
3836
3836
|
return tmp$ret$0;
|
|
3837
3837
|
};
|
|
3838
3838
|
protoOf(RealBufferedSource).toString = function () {
|
|
3839
3839
|
// Inline function 'okio.internal.commonToString' call
|
|
3840
|
-
return 'buffer(' + toString(this.
|
|
3840
|
+
return 'buffer(' + toString(this.f3v_1) + ')';
|
|
3841
3841
|
};
|
|
3842
3842
|
function SegmentPool() {
|
|
3843
|
-
this.
|
|
3844
|
-
this.
|
|
3843
|
+
this.j3s_1 = 0;
|
|
3844
|
+
this.k3s_1 = 0;
|
|
3845
3845
|
}
|
|
3846
|
-
protoOf(SegmentPool).
|
|
3846
|
+
protoOf(SegmentPool).l3s = function () {
|
|
3847
3847
|
return Segment_init_$Create$();
|
|
3848
3848
|
};
|
|
3849
|
-
protoOf(SegmentPool).
|
|
3849
|
+
protoOf(SegmentPool).o3s = function (segment) {
|
|
3850
3850
|
};
|
|
3851
3851
|
var SegmentPool_instance;
|
|
3852
3852
|
function SegmentPool_getInstance() {
|