@xiuper/mpp-core 0.0.2 → 0.2.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/Kotlin-DateTime-library-kotlinx-datetime.js +1796 -1796
- package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +278 -278
- package/Xiuper-mpp-codegraph.js +240 -240
- package/kaml.js +639 -639
- package/koog-agents-agents-core.js +4606 -4606
- package/koog-agents-agents-tools.js +41 -41
- package/koog-agents-agents-utils.js +52 -52
- package/koog-http-client-http-client-core.js +4 -4
- package/koog-http-client-http-client-ktor.js +166 -166
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +906 -906
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +299 -299
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +838 -838
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +452 -452
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +1002 -1002
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +3358 -3358
- package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +532 -532
- package/koog-prompt-prompt-executor-prompt-executor-clients.js +29 -29
- package/koog-prompt-prompt-executor-prompt-executor-llms.js +25 -25
- package/koog-prompt-prompt-executor-prompt-executor-model.js +4 -4
- package/koog-prompt-prompt-llm.js +120 -120
- package/koog-prompt-prompt-markdown.js +30 -30
- package/koog-prompt-prompt-model.js +1055 -1055
- package/koog-prompt-prompt-structure.js +342 -342
- package/koog-utils.js +10 -10
- package/kotlin-kotlin-stdlib.js +453 -411
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging.js +116 -116
- package/kotlin-sdk-kotlin-sdk-client.js +260 -260
- package/kotlin-sdk-kotlin-sdk-core.js +2568 -2568
- package/kotlinx-atomicfu.js +5 -5
- package/kotlinx-coroutines-core.js +532 -654
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +40 -40
- package/kotlinx-io-kotlinx-io-core.js +605 -605
- package/kotlinx-serialization-kotlinx-serialization-core.js +75 -75
- package/kotlinx-serialization-kotlinx-serialization-json.js +95 -95
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +163 -163
- package/ktor-ktor-client-core.js +2237 -2235
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +15 -15
- package/ktor-ktor-http-cio.js +725 -725
- package/ktor-ktor-http.js +805 -805
- package/ktor-ktor-io.js +766 -766
- package/ktor-ktor-network.js +285 -285
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/ktor-ktor-serialization-kotlinx.js +130 -130
- package/ktor-ktor-serialization.js +68 -68
- package/ktor-ktor-server-cio.js +724 -724
- package/ktor-ktor-server-core.js +1793 -1793
- package/ktor-ktor-server-sse.js +125 -125
- package/ktor-ktor-sse.js +40 -40
- package/ktor-ktor-utils.js +690 -690
- package/ktor-ktor-websockets.js +49 -49
- package/markdown.js +1561 -1561
- package/okio-parent-okio.js +368 -368
- package/package.json +1 -1
- package/snakeyaml-engine-kmp.js +2005 -2005
- package/urlencoder-urlencoder-lib.js +43 -43
- package/xiuper-mpp-core.d.ts +45 -7
- package/xiuper-mpp-core.js +22405 -18664
- package/xiuper-mpp-core.js.map +1 -1
- package/autodev-mpp-core.d.ts +0 -1312
- package/autodev-mpp-core.js +0 -86483
- package/autodev-mpp-core.js.map +0 -1
package/ktor-ktor-http-cio.js
CHANGED
|
@@ -31,142 +31,142 @@
|
|
|
31
31
|
'use strict';
|
|
32
32
|
//region block: imports
|
|
33
33
|
var imul = Math.imul;
|
|
34
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
35
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
36
|
-
var toString = kotlin_kotlin.$_$.
|
|
37
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
34
|
+
var KProperty1 = kotlin_kotlin.$_$.wf;
|
|
35
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.ud;
|
|
36
|
+
var toString = kotlin_kotlin.$_$.df;
|
|
37
|
+
var protoOf = kotlin_kotlin.$_$.ze;
|
|
38
38
|
var listOf = kotlin_kotlin.$_$.t9;
|
|
39
39
|
var Entry = kotlin_kotlin.$_$.t6;
|
|
40
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForClass = kotlin_kotlin.$_$.xd;
|
|
41
41
|
var VOID = kotlin_kotlin.$_$.h;
|
|
42
42
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
43
43
|
var Unit_instance = kotlin_kotlin.$_$.h6;
|
|
44
44
|
var LazyThreadSafetyMode_NONE_getInstance = kotlin_kotlin.$_$.n;
|
|
45
|
-
var lazy = kotlin_kotlin.$_$.
|
|
46
|
-
var map = kotlin_kotlin.$_$.
|
|
47
|
-
var toList = kotlin_kotlin.$_$.
|
|
48
|
-
var toSet = kotlin_kotlin.$_$.
|
|
45
|
+
var lazy = kotlin_kotlin.$_$.bm;
|
|
46
|
+
var map = kotlin_kotlin.$_$.dg;
|
|
47
|
+
var toList = kotlin_kotlin.$_$.gg;
|
|
48
|
+
var toSet = kotlin_kotlin.$_$.hg;
|
|
49
49
|
var forEach = kotlin_io_ktor_ktor_utils.$_$.i1;
|
|
50
50
|
var StringValues = kotlin_io_ktor_ktor_utils.$_$.n1;
|
|
51
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
52
|
-
var ChannelResult__getOrNull_impl_f5e07h = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
53
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
54
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
55
|
-
var ClosedReceiveChannelException = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
51
|
+
var CoroutineImpl = kotlin_kotlin.$_$.wc;
|
|
52
|
+
var ChannelResult__getOrNull_impl_f5e07h = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
53
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.gc;
|
|
54
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.zd;
|
|
55
|
+
var ClosedReceiveChannelException = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
56
56
|
var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.c;
|
|
57
57
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.g;
|
|
58
58
|
var FileItem = kotlin_io_ktor_ktor_http.$_$.y;
|
|
59
59
|
var readText = kotlin_io_ktor_ktor_io.$_$.n2;
|
|
60
60
|
var FormItem = kotlin_io_ktor_ktor_http.$_$.z;
|
|
61
|
-
var closeFinally = kotlin_kotlin.$_$.
|
|
62
|
-
var Long = kotlin_kotlin.$_$.
|
|
61
|
+
var closeFinally = kotlin_kotlin.$_$.sl;
|
|
62
|
+
var Long = kotlin_kotlin.$_$.wk;
|
|
63
63
|
var MultiPartData = kotlin_io_ktor_ktor_http.$_$.p;
|
|
64
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
65
|
-
var GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
64
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b2;
|
|
65
|
+
var GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
|
|
66
66
|
var reader = kotlin_io_ktor_ktor_io.$_$.o2;
|
|
67
67
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.t1;
|
|
68
68
|
var DefaultPool = kotlin_io_ktor_ktor_io.$_$.r1;
|
|
69
69
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
70
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
71
|
-
var StringBuilder = kotlin_kotlin.$_$.
|
|
70
|
+
var THROW_CCE = kotlin_kotlin.$_$.dl;
|
|
71
|
+
var StringBuilder = kotlin_kotlin.$_$.kg;
|
|
72
72
|
var ReaderScope = kotlin_io_ktor_ktor_io.$_$.a2;
|
|
73
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
73
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.ce;
|
|
74
74
|
var readUTF8LineTo = kotlin_io_ktor_ktor_io.$_$.i;
|
|
75
75
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
76
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
76
|
+
var charSequenceLength = kotlin_kotlin.$_$.ld;
|
|
77
77
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.j3;
|
|
78
78
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.b;
|
|
79
79
|
var close = kotlin_io_ktor_ktor_io.$_$.g2;
|
|
80
80
|
var UnsafeBufferOperations_instance = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
81
81
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.e2;
|
|
82
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
82
|
+
var ensureNotNull = kotlin_kotlin.$_$.wl;
|
|
83
83
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.j2;
|
|
84
|
-
var toLong = kotlin_kotlin.$_$.
|
|
84
|
+
var toLong = kotlin_kotlin.$_$.bf;
|
|
85
85
|
var writeFully = kotlin_io_ktor_ktor_io.$_$.p;
|
|
86
86
|
var writeShort = kotlin_io_ktor_ktor_io.$_$.r;
|
|
87
87
|
var toByteArray = kotlin_io_ktor_ktor_io.$_$.n1;
|
|
88
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
89
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
88
|
+
var charSequenceGet = kotlin_kotlin.$_$.kd;
|
|
89
|
+
var singleOrNull = kotlin_kotlin.$_$.sa;
|
|
90
90
|
var emptyList = kotlin_kotlin.$_$.m8;
|
|
91
91
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
92
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
93
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
94
|
-
var Char = kotlin_kotlin.$_$.
|
|
95
|
-
var to = kotlin_kotlin.$_$.
|
|
92
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.md;
|
|
93
|
+
var charCodeAt = kotlin_kotlin.$_$.jd;
|
|
94
|
+
var Char = kotlin_kotlin.$_$.lk;
|
|
95
|
+
var to = kotlin_kotlin.$_$.lm;
|
|
96
96
|
var listOf_0 = kotlin_kotlin.$_$.u9;
|
|
97
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
97
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.yd;
|
|
98
98
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.p1;
|
|
99
99
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.s;
|
|
100
100
|
var joinTo = kotlin_kotlin.$_$.k9;
|
|
101
101
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
102
|
-
var equals = kotlin_kotlin.$_$.
|
|
103
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
104
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
102
|
+
var equals = kotlin_kotlin.$_$.pd;
|
|
103
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.rd;
|
|
104
|
+
var hashCode = kotlin_kotlin.$_$.wd;
|
|
105
105
|
var Companion_getInstance_0 = kotlin_io_ktor_ktor_http.$_$.j;
|
|
106
|
-
var split = kotlin_kotlin.$_$.
|
|
107
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
108
|
-
var trim = kotlin_kotlin.$_$.
|
|
106
|
+
var split = kotlin_kotlin.$_$.mi;
|
|
107
|
+
var isCharSequence = kotlin_kotlin.$_$.ie;
|
|
108
|
+
var trim = kotlin_kotlin.$_$.ck;
|
|
109
109
|
var Companion_getInstance_1 = kotlin_io_ktor_ktor_http.$_$.k;
|
|
110
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
111
|
-
var sequence = kotlin_kotlin.$_$.
|
|
112
|
-
var abs = kotlin_kotlin.$_$.
|
|
110
|
+
var SequenceScope = kotlin_kotlin.$_$.yf;
|
|
111
|
+
var sequence = kotlin_kotlin.$_$.eg;
|
|
112
|
+
var abs = kotlin_kotlin.$_$.ef;
|
|
113
113
|
var fill = kotlin_kotlin.$_$.p8;
|
|
114
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
115
|
-
var endsWith = kotlin_kotlin.$_$.
|
|
114
|
+
var isIntArray = kotlin_kotlin.$_$.le;
|
|
115
|
+
var endsWith = kotlin_kotlin.$_$.vg;
|
|
116
116
|
var Char__compareTo_impl_ypi4mb = kotlin_kotlin.$_$.k3;
|
|
117
|
-
var contains = kotlin_kotlin.$_$.
|
|
117
|
+
var contains = kotlin_kotlin.$_$.og;
|
|
118
118
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.q3;
|
|
119
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
119
|
+
var IllegalStateException = kotlin_kotlin.$_$.uk;
|
|
120
120
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.i2;
|
|
121
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
121
|
+
var captureStack = kotlin_kotlin.$_$.gd;
|
|
122
122
|
var HttpMethod = kotlin_io_ktor_ktor_http.$_$.g1;
|
|
123
123
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.i;
|
|
124
|
-
var setOf = kotlin_kotlin.$_$.
|
|
124
|
+
var setOf = kotlin_kotlin.$_$.ra;
|
|
125
125
|
var Companion_getInstance_2 = kotlin_io_ktor_ktor_io.$_$.w;
|
|
126
126
|
var LineEndingMode__plus_impl_ttpz2j = kotlin_io_ktor_ktor_io.$_$.t;
|
|
127
127
|
var MultiPart_getInstance = kotlin_io_ktor_ktor_http.$_$.f;
|
|
128
128
|
var ByteString_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.a;
|
|
129
129
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
130
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
131
|
-
var toByte = kotlin_kotlin.$_$.
|
|
130
|
+
var toString_0 = kotlin_kotlin.$_$.qj;
|
|
131
|
+
var toByte = kotlin_kotlin.$_$.af;
|
|
132
132
|
var copyOfRange = kotlin_kotlin.$_$.x7;
|
|
133
|
-
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
134
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
133
|
+
var produce = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
134
|
+
var startsWith = kotlin_kotlin.$_$.qi;
|
|
135
135
|
var readUntil = kotlin_io_ktor_ktor_io.$_$.k;
|
|
136
136
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.b2;
|
|
137
|
-
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
138
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
137
|
+
var ProducerScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
138
|
+
var isInterface = kotlin_kotlin.$_$.me;
|
|
139
139
|
var counted = kotlin_io_ktor_ktor_io.$_$.h2;
|
|
140
140
|
var writer = kotlin_io_ktor_ktor_io.$_$.q2;
|
|
141
141
|
var get_remaining = kotlin_io_ktor_ktor_io.$_$.l1;
|
|
142
142
|
var skipIfFound = kotlin_io_ktor_ktor_io.$_$.l;
|
|
143
|
-
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
143
|
+
var CompletableDeferred = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w1;
|
|
144
144
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
145
145
|
var readPacket = kotlin_io_ktor_ktor_io.$_$.f;
|
|
146
146
|
var ByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.c;
|
|
147
|
-
var AutoCloseable = kotlin_kotlin.$_$.
|
|
147
|
+
var AutoCloseable = kotlin_kotlin.$_$.jk;
|
|
148
148
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
149
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
149
|
+
var compareTo = kotlin_kotlin.$_$.nd;
|
|
150
150
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.r2;
|
|
151
151
|
var Collection = kotlin_kotlin.$_$.n6;
|
|
152
152
|
var toString_1 = kotlin_kotlin.$_$.r3;
|
|
153
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
154
|
-
var CharSequence = kotlin_kotlin.$_$.
|
|
153
|
+
var getStringHashCode = kotlin_kotlin.$_$.vd;
|
|
154
|
+
var CharSequence = kotlin_kotlin.$_$.kk;
|
|
155
155
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.o2;
|
|
156
156
|
var NoPoolImpl = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
157
|
-
var charArray = kotlin_kotlin.$_$.
|
|
157
|
+
var charArray = kotlin_kotlin.$_$.id;
|
|
158
158
|
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.t2;
|
|
159
159
|
var writeByte = kotlin_io_ktor_ktor_io.$_$.o;
|
|
160
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
160
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.ue;
|
|
161
161
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.p7;
|
|
162
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
163
|
-
var toLongArray = kotlin_kotlin.$_$.
|
|
162
|
+
var numberToLong = kotlin_kotlin.$_$.xe;
|
|
163
|
+
var toLongArray = kotlin_kotlin.$_$.kb;
|
|
164
164
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.o3;
|
|
165
165
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.n3;
|
|
166
|
-
var toByteArray_0 = kotlin_kotlin.$_$.
|
|
166
|
+
var toByteArray_0 = kotlin_kotlin.$_$.eb;
|
|
167
167
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
168
168
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
169
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
169
|
+
var isWhitespace = kotlin_kotlin.$_$.qh;
|
|
170
170
|
var cancel = kotlin_io_ktor_ktor_io.$_$.e2;
|
|
171
171
|
var BytePacketBuilder = kotlin_io_ktor_ktor_io.$_$.e1;
|
|
172
172
|
var writeText = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
@@ -222,30 +222,30 @@
|
|
|
222
222
|
initMetadataForClass(RequestResponseBuilder, 'RequestResponseBuilder', RequestResponseBuilder);
|
|
223
223
|
//endregion
|
|
224
224
|
function _get_names__dwg6t3($this) {
|
|
225
|
-
var tmp0 = $this.
|
|
225
|
+
var tmp0 = $this.g5k_1;
|
|
226
226
|
var tmp = KProperty1;
|
|
227
227
|
// Inline function 'kotlin.getValue' call
|
|
228
228
|
getPropertyCallableRef('names', 1, tmp, CIOHeaders$_get_names_$ref_z8h5o1(), null);
|
|
229
229
|
return tmp0.b1();
|
|
230
230
|
}
|
|
231
231
|
function Entry_0($outer, offset) {
|
|
232
|
-
this.
|
|
233
|
-
this.
|
|
232
|
+
this.i5k_1 = $outer;
|
|
233
|
+
this.h5k_1 = offset;
|
|
234
234
|
}
|
|
235
235
|
protoOf(Entry_0).a1 = function () {
|
|
236
|
-
return toString(this.
|
|
236
|
+
return toString(this.i5k_1.f5k_1.n5k(this.h5k_1));
|
|
237
237
|
};
|
|
238
238
|
protoOf(Entry_0).b1 = function () {
|
|
239
|
-
return listOf(toString(this.
|
|
239
|
+
return listOf(toString(this.i5k_1.f5k_1.o5k(this.h5k_1)));
|
|
240
240
|
};
|
|
241
241
|
function CIOHeaders$names$delegate$lambda(this$0) {
|
|
242
242
|
return function () {
|
|
243
243
|
// Inline function 'kotlin.apply' call
|
|
244
|
-
var this_0 = LinkedHashSet_init_$Create$(this$0.
|
|
245
|
-
var _iterator__ex2g4s = this$0.
|
|
244
|
+
var this_0 = LinkedHashSet_init_$Create$(this$0.f5k_1.k5k_1);
|
|
245
|
+
var _iterator__ex2g4s = this$0.f5k_1.p5k().p();
|
|
246
246
|
while (_iterator__ex2g4s.q()) {
|
|
247
247
|
var offset = _iterator__ex2g4s.r();
|
|
248
|
-
this_0.h(toString(this$0.
|
|
248
|
+
this_0.h(toString(this$0.f5k_1.n5k(offset)));
|
|
249
249
|
}
|
|
250
250
|
return this_0;
|
|
251
251
|
};
|
|
@@ -264,23 +264,23 @@
|
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
266
|
function CIOHeaders(headers) {
|
|
267
|
-
this.
|
|
267
|
+
this.f5k_1 = headers;
|
|
268
268
|
var tmp = this;
|
|
269
269
|
var tmp_0 = LazyThreadSafetyMode_NONE_getInstance();
|
|
270
|
-
tmp.
|
|
270
|
+
tmp.g5k_1 = lazy(tmp_0, CIOHeaders$names$delegate$lambda(this));
|
|
271
271
|
}
|
|
272
|
-
protoOf(CIOHeaders).
|
|
272
|
+
protoOf(CIOHeaders).f4y = function () {
|
|
273
273
|
return true;
|
|
274
274
|
};
|
|
275
|
-
protoOf(CIOHeaders).
|
|
275
|
+
protoOf(CIOHeaders).h4y = function () {
|
|
276
276
|
return _get_names__dwg6t3(this);
|
|
277
277
|
};
|
|
278
278
|
protoOf(CIOHeaders).cf = function (name) {
|
|
279
|
-
var tmp0_safe_receiver = this.
|
|
279
|
+
var tmp0_safe_receiver = this.f5k_1.cf(name);
|
|
280
280
|
return tmp0_safe_receiver == null ? null : toString(tmp0_safe_receiver);
|
|
281
281
|
};
|
|
282
|
-
protoOf(CIOHeaders).
|
|
283
|
-
var tmp = this.
|
|
282
|
+
protoOf(CIOHeaders).g4y = function (name) {
|
|
283
|
+
var tmp = this.f5k_1.g4y(name);
|
|
284
284
|
// Inline function 'kotlin.takeIf' call
|
|
285
285
|
var this_0 = toList(map(tmp, CIOHeaders$getAll$lambda));
|
|
286
286
|
var tmp_0;
|
|
@@ -292,8 +292,8 @@
|
|
|
292
292
|
}
|
|
293
293
|
return tmp_0;
|
|
294
294
|
};
|
|
295
|
-
protoOf(CIOHeaders).
|
|
296
|
-
var tmp = this.
|
|
295
|
+
protoOf(CIOHeaders).i4y = function () {
|
|
296
|
+
var tmp = this.f5k_1.p5k();
|
|
297
297
|
return toSet(map(tmp, CIOHeaders$entries$lambda(this)));
|
|
298
298
|
};
|
|
299
299
|
function readPartSuspend($this, $completion) {
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
}
|
|
323
323
|
function CIOMultipartDataBase$partToData$lambda_0($part) {
|
|
324
324
|
return function () {
|
|
325
|
-
return $part.
|
|
325
|
+
return $part.c5m_1;
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
328
|
function CIOMultipartDataBase$partToData$lambda_1($part) {
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
}
|
|
334
334
|
function $readPartCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
335
335
|
CoroutineImpl.call(this, resultContinuation);
|
|
336
|
-
this.
|
|
336
|
+
this.l5m_1 = _this__u8e3s4;
|
|
337
337
|
}
|
|
338
338
|
protoOf($readPartCOROUTINE$).fa = function () {
|
|
339
339
|
var suspendResult = this.z9_1;
|
|
@@ -343,8 +343,8 @@
|
|
|
343
343
|
switch (tmp) {
|
|
344
344
|
case 0:
|
|
345
345
|
this.y9_1 = 6;
|
|
346
|
-
var tmp0_safe_receiver = this.
|
|
347
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
346
|
+
var tmp0_safe_receiver = this.l5m_1.r5m_1;
|
|
347
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p5i_1;
|
|
348
348
|
if (tmp1_safe_receiver == null)
|
|
349
349
|
null;
|
|
350
350
|
else
|
|
@@ -357,33 +357,33 @@
|
|
|
357
357
|
continue $sm;
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
-
this.
|
|
361
|
-
if (this.
|
|
360
|
+
this.m5m_1 = ChannelResult__getOrNull_impl_f5e07h(this.l5m_1.s5m_1.s2i());
|
|
361
|
+
if (this.m5m_1 == null) {
|
|
362
362
|
this.x9_1 = 4;
|
|
363
363
|
var tmp_0 = this;
|
|
364
364
|
continue $sm;
|
|
365
365
|
} else {
|
|
366
|
-
this.
|
|
366
|
+
this.n5m_1 = this.m5m_1;
|
|
367
367
|
this.x9_1 = 2;
|
|
368
368
|
continue $sm;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
case 2:
|
|
372
|
-
this.
|
|
372
|
+
this.o5m_1 = this.n5m_1;
|
|
373
373
|
this.x9_1 = 3;
|
|
374
|
-
suspendResult = eventToData(this.
|
|
374
|
+
suspendResult = eventToData(this.l5m_1, this.o5m_1, this);
|
|
375
375
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
376
376
|
return suspendResult;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
continue $sm;
|
|
380
380
|
case 3:
|
|
381
|
-
this.
|
|
382
|
-
if (this.
|
|
381
|
+
this.p5m_1 = suspendResult;
|
|
382
|
+
if (this.p5m_1 == null)
|
|
383
383
|
null;
|
|
384
384
|
else {
|
|
385
|
-
var it = this.
|
|
386
|
-
this.
|
|
385
|
+
var it = this.p5m_1;
|
|
386
|
+
this.l5m_1.r5m_1 = it;
|
|
387
387
|
return it;
|
|
388
388
|
}
|
|
389
389
|
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
continue $sm;
|
|
392
392
|
case 4:
|
|
393
393
|
this.x9_1 = 5;
|
|
394
|
-
suspendResult = readPartSuspend(this.
|
|
394
|
+
suspendResult = readPartSuspend(this.l5m_1, this);
|
|
395
395
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
396
396
|
return suspendResult;
|
|
397
397
|
}
|
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
};
|
|
416
416
|
function $readPartSuspendCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
417
417
|
CoroutineImpl.call(this, resultContinuation);
|
|
418
|
-
this.
|
|
418
|
+
this.y5k_1 = _this__u8e3s4;
|
|
419
419
|
}
|
|
420
420
|
protoOf($readPartSuspendCOROUTINE$).fa = function () {
|
|
421
421
|
var suspendResult = this.z9_1;
|
|
@@ -435,16 +435,16 @@
|
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
this.x9_1 = 2;
|
|
438
|
-
suspendResult = this.
|
|
438
|
+
suspendResult = this.y5k_1.s5m_1.q2i(this);
|
|
439
439
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
440
440
|
return suspendResult;
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
continue $sm;
|
|
444
444
|
case 2:
|
|
445
|
-
this.
|
|
445
|
+
this.z5k_1 = suspendResult;
|
|
446
446
|
this.x9_1 = 3;
|
|
447
|
-
suspendResult = eventToData(this.
|
|
447
|
+
suspendResult = eventToData(this.y5k_1, this.z5k_1, this);
|
|
448
448
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
449
449
|
return suspendResult;
|
|
450
450
|
}
|
|
@@ -493,8 +493,8 @@
|
|
|
493
493
|
};
|
|
494
494
|
function $eventToDataCOROUTINE$(_this__u8e3s4, event, resultContinuation) {
|
|
495
495
|
CoroutineImpl.call(this, resultContinuation);
|
|
496
|
-
this.
|
|
497
|
-
this.
|
|
496
|
+
this.i5l_1 = _this__u8e3s4;
|
|
497
|
+
this.j5l_1 = event;
|
|
498
498
|
}
|
|
499
499
|
protoOf($eventToDataCOROUTINE$).fa = function () {
|
|
500
500
|
var suspendResult = this.z9_1;
|
|
@@ -505,29 +505,29 @@
|
|
|
505
505
|
case 0:
|
|
506
506
|
this.y9_1 = 4;
|
|
507
507
|
this.y9_1 = 3;
|
|
508
|
-
this.
|
|
509
|
-
var tmp_0 = this.
|
|
508
|
+
this.l5l_1 = this.j5l_1;
|
|
509
|
+
var tmp_0 = this.l5l_1;
|
|
510
510
|
if (tmp_0 instanceof MultipartPart) {
|
|
511
511
|
this.x9_1 = 1;
|
|
512
|
-
suspendResult = partToData(this.
|
|
512
|
+
suspendResult = partToData(this.i5l_1, this.j5l_1, this);
|
|
513
513
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
514
514
|
return suspendResult;
|
|
515
515
|
}
|
|
516
516
|
continue $sm;
|
|
517
517
|
} else {
|
|
518
518
|
var tmp_1 = this;
|
|
519
|
-
this.
|
|
520
|
-
tmp_1.
|
|
519
|
+
this.j5l_1.m1h();
|
|
520
|
+
tmp_1.m5l_1 = null;
|
|
521
521
|
this.x9_1 = 2;
|
|
522
522
|
continue $sm;
|
|
523
523
|
}
|
|
524
524
|
|
|
525
525
|
case 1:
|
|
526
|
-
this.
|
|
526
|
+
this.m5l_1 = suspendResult;
|
|
527
527
|
this.x9_1 = 2;
|
|
528
528
|
continue $sm;
|
|
529
529
|
case 2:
|
|
530
|
-
this.
|
|
530
|
+
this.k5l_1 = this.m5l_1;
|
|
531
531
|
this.y9_1 = 4;
|
|
532
532
|
this.x9_1 = 5;
|
|
533
533
|
continue $sm;
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
if (tmp_2 instanceof Error) {
|
|
538
538
|
var cause = this.aa_1;
|
|
539
539
|
var tmp_3 = this;
|
|
540
|
-
this.
|
|
540
|
+
this.j5l_1.m1h();
|
|
541
541
|
throw cause;
|
|
542
542
|
} else {
|
|
543
543
|
throw this.aa_1;
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
throw this.aa_1;
|
|
548
548
|
case 5:
|
|
549
549
|
this.y9_1 = 4;
|
|
550
|
-
return this.
|
|
550
|
+
return this.k5l_1;
|
|
551
551
|
}
|
|
552
552
|
} catch ($p) {
|
|
553
553
|
var e = $p;
|
|
@@ -562,8 +562,8 @@
|
|
|
562
562
|
};
|
|
563
563
|
function $partToDataCOROUTINE$(_this__u8e3s4, part, resultContinuation) {
|
|
564
564
|
CoroutineImpl.call(this, resultContinuation);
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
565
|
+
this.v5l_1 = _this__u8e3s4;
|
|
566
|
+
this.w5l_1 = part;
|
|
567
567
|
}
|
|
568
568
|
protoOf($partToDataCOROUTINE$).fa = function () {
|
|
569
569
|
var suspendResult = this.z9_1;
|
|
@@ -574,16 +574,16 @@
|
|
|
574
574
|
case 0:
|
|
575
575
|
this.y9_1 = 4;
|
|
576
576
|
this.x9_1 = 1;
|
|
577
|
-
suspendResult = this.
|
|
577
|
+
suspendResult = this.w5l_1.b5m_1.w21(this);
|
|
578
578
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
579
579
|
return suspendResult;
|
|
580
580
|
}
|
|
581
581
|
|
|
582
582
|
continue $sm;
|
|
583
583
|
case 1:
|
|
584
|
-
this.
|
|
584
|
+
this.x5l_1 = suspendResult;
|
|
585
585
|
var tmp_0 = this;
|
|
586
|
-
var tmp0_safe_receiver = this.
|
|
586
|
+
var tmp0_safe_receiver = this.x5l_1.cf('Content-Disposition');
|
|
587
587
|
var tmp_1;
|
|
588
588
|
if (tmp0_safe_receiver == null) {
|
|
589
589
|
tmp_1 = null;
|
|
@@ -591,14 +591,14 @@
|
|
|
591
591
|
tmp_1 = Companion_getInstance().dt(toString(tmp0_safe_receiver));
|
|
592
592
|
}
|
|
593
593
|
|
|
594
|
-
tmp_0.
|
|
594
|
+
tmp_0.y5l_1 = tmp_1;
|
|
595
595
|
var tmp_2 = this;
|
|
596
|
-
var tmp1_safe_receiver = this.
|
|
597
|
-
tmp_2.
|
|
598
|
-
this.
|
|
599
|
-
if (this.
|
|
596
|
+
var tmp1_safe_receiver = this.y5l_1;
|
|
597
|
+
tmp_2.z5l_1 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.d56('filename');
|
|
598
|
+
this.a5m_1 = this.w5l_1.c5m_1;
|
|
599
|
+
if (this.z5l_1 == null) {
|
|
600
600
|
this.x9_1 = 3;
|
|
601
|
-
suspendResult = readRemaining(this.
|
|
601
|
+
suspendResult = readRemaining(this.a5m_1, this);
|
|
602
602
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
603
603
|
return suspendResult;
|
|
604
604
|
}
|
|
@@ -609,8 +609,8 @@
|
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
case 2:
|
|
612
|
-
var tmp_3 = CIOMultipartDataBase$partToData$lambda_0(this.
|
|
613
|
-
return new FileItem(tmp_3, CIOMultipartDataBase$partToData$lambda_1(this.
|
|
612
|
+
var tmp_3 = CIOMultipartDataBase$partToData$lambda_0(this.w5l_1);
|
|
613
|
+
return new FileItem(tmp_3, CIOMultipartDataBase$partToData$lambda_1(this.w5l_1), new CIOHeaders(this.x5l_1));
|
|
614
614
|
case 3:
|
|
615
615
|
var packet = suspendResult;
|
|
616
616
|
l$ret$7: do {
|
|
@@ -624,7 +624,7 @@
|
|
|
624
624
|
var tmp_5;
|
|
625
625
|
try {
|
|
626
626
|
var tmp_6 = readText(packet);
|
|
627
|
-
tmp$ret$0 = new FormItem(tmp_6, CIOMultipartDataBase$partToData$lambda(this.
|
|
627
|
+
tmp$ret$0 = new FormItem(tmp_6, CIOMultipartDataBase$partToData$lambda(this.w5l_1), new CIOHeaders(this.x5l_1));
|
|
628
628
|
break l$ret$1;
|
|
629
629
|
} catch ($p) {
|
|
630
630
|
var tmp_7;
|
|
@@ -673,14 +673,14 @@
|
|
|
673
673
|
};
|
|
674
674
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
675
675
|
formFieldLimit = formFieldLimit === VOID ? new Long(65536, 0) : formFieldLimit;
|
|
676
|
-
this.
|
|
677
|
-
this.
|
|
678
|
-
this.
|
|
676
|
+
this.q5m_1 = coroutineContext;
|
|
677
|
+
this.r5m_1 = null;
|
|
678
|
+
this.s5m_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
679
679
|
}
|
|
680
680
|
protoOf(CIOMultipartDataBase).z1v = function () {
|
|
681
|
-
return this.
|
|
681
|
+
return this.q5m_1;
|
|
682
682
|
};
|
|
683
|
-
protoOf(CIOMultipartDataBase).
|
|
683
|
+
protoOf(CIOMultipartDataBase).j5i = function ($completion) {
|
|
684
684
|
var tmp = new $readPartCOROUTINE$(this, $completion);
|
|
685
685
|
tmp.z9_1 = Unit_instance;
|
|
686
686
|
tmp.aa_1 = null;
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
_init_properties_ChunkedTransferEncoding_kt__hi13vs();
|
|
729
729
|
var tmp;
|
|
730
730
|
if (_this__u8e3s4 instanceof ByteChannel) {
|
|
731
|
-
tmp = _this__u8e3s4.
|
|
731
|
+
tmp = _this__u8e3s4.o4h();
|
|
732
732
|
} else {
|
|
733
733
|
tmp = null;
|
|
734
734
|
}
|
|
@@ -739,29 +739,29 @@
|
|
|
739
739
|
function ChunkSizeBufferPool$1() {
|
|
740
740
|
DefaultPool.call(this, 2048);
|
|
741
741
|
}
|
|
742
|
-
protoOf(ChunkSizeBufferPool$1).
|
|
742
|
+
protoOf(ChunkSizeBufferPool$1).u4v = function () {
|
|
743
743
|
return StringBuilder_init_$Create$(128);
|
|
744
744
|
};
|
|
745
|
-
protoOf(ChunkSizeBufferPool$1).
|
|
745
|
+
protoOf(ChunkSizeBufferPool$1).k5p = function (instance) {
|
|
746
746
|
// Inline function 'kotlin.apply' call
|
|
747
747
|
instance.xd();
|
|
748
748
|
return instance;
|
|
749
749
|
};
|
|
750
|
-
protoOf(ChunkSizeBufferPool$1).
|
|
751
|
-
return this.
|
|
750
|
+
protoOf(ChunkSizeBufferPool$1).z4v = function (instance) {
|
|
751
|
+
return this.k5p(instance instanceof StringBuilder ? instance : THROW_CCE());
|
|
752
752
|
};
|
|
753
753
|
function encodeChunked$slambda($output, resultContinuation) {
|
|
754
|
-
this.
|
|
754
|
+
this.t5p_1 = $output;
|
|
755
755
|
CoroutineImpl.call(this, resultContinuation);
|
|
756
756
|
}
|
|
757
|
-
protoOf(encodeChunked$slambda).
|
|
758
|
-
var tmp = this.
|
|
757
|
+
protoOf(encodeChunked$slambda).v5p = function ($this$reader, $completion) {
|
|
758
|
+
var tmp = this.w5p($this$reader, $completion);
|
|
759
759
|
tmp.z9_1 = Unit_instance;
|
|
760
760
|
tmp.aa_1 = null;
|
|
761
761
|
return tmp.fa();
|
|
762
762
|
};
|
|
763
763
|
protoOf(encodeChunked$slambda).ra = function (p1, $completion) {
|
|
764
|
-
return this.
|
|
764
|
+
return this.v5p(p1 instanceof ReaderScope ? p1 : THROW_CCE(), $completion);
|
|
765
765
|
};
|
|
766
766
|
protoOf(encodeChunked$slambda).fa = function () {
|
|
767
767
|
var suspendResult = this.z9_1;
|
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
case 0:
|
|
773
773
|
this.y9_1 = 2;
|
|
774
774
|
this.x9_1 = 1;
|
|
775
|
-
suspendResult = encodeChunked_0(this.
|
|
775
|
+
suspendResult = encodeChunked_0(this.t5p_1, this.u5p_1.f4r_1, this);
|
|
776
776
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
777
777
|
return suspendResult;
|
|
778
778
|
}
|
|
@@ -794,23 +794,23 @@
|
|
|
794
794
|
}
|
|
795
795
|
while (true);
|
|
796
796
|
};
|
|
797
|
-
protoOf(encodeChunked$slambda).
|
|
798
|
-
var i = new encodeChunked$slambda(this.
|
|
799
|
-
i.
|
|
797
|
+
protoOf(encodeChunked$slambda).w5p = function ($this$reader, completion) {
|
|
798
|
+
var i = new encodeChunked$slambda(this.t5p_1, completion);
|
|
799
|
+
i.u5p_1 = $this$reader;
|
|
800
800
|
return i;
|
|
801
801
|
};
|
|
802
802
|
function encodeChunked$slambda_0($output, resultContinuation) {
|
|
803
803
|
var i = new encodeChunked$slambda($output, resultContinuation);
|
|
804
804
|
var l = function ($this$reader, $completion) {
|
|
805
|
-
return i.
|
|
805
|
+
return i.v5p($this$reader, $completion);
|
|
806
806
|
};
|
|
807
807
|
l.$arity = 1;
|
|
808
808
|
return l;
|
|
809
809
|
}
|
|
810
810
|
function $decodeChunkedCOROUTINE$(input, out, resultContinuation) {
|
|
811
811
|
CoroutineImpl.call(this, resultContinuation);
|
|
812
|
-
this.
|
|
813
|
-
this.
|
|
812
|
+
this.b5n_1 = input;
|
|
813
|
+
this.c5n_1 = out;
|
|
814
814
|
}
|
|
815
815
|
protoOf($decodeChunkedCOROUTINE$).fa = function () {
|
|
816
816
|
var suspendResult = this.z9_1;
|
|
@@ -820,8 +820,8 @@
|
|
|
820
820
|
switch (tmp) {
|
|
821
821
|
case 0:
|
|
822
822
|
this.y9_1 = 16;
|
|
823
|
-
this.
|
|
824
|
-
this.
|
|
823
|
+
this.d5n_1 = get_ChunkSizeBufferPool().b4w();
|
|
824
|
+
this.e5n_1 = new Long(0, 0);
|
|
825
825
|
this.x9_1 = 1;
|
|
826
826
|
continue $sm;
|
|
827
827
|
case 1:
|
|
@@ -831,7 +831,7 @@
|
|
|
831
831
|
continue $sm;
|
|
832
832
|
case 2:
|
|
833
833
|
this.x9_1 = 3;
|
|
834
|
-
suspendResult = readUTF8LineTo(this.
|
|
834
|
+
suspendResult = readUTF8LineTo(this.b5n_1, this.d5n_1, 128, get_httpLineEndings(), this);
|
|
835
835
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
836
836
|
return suspendResult;
|
|
837
837
|
}
|
|
@@ -843,15 +843,15 @@
|
|
|
843
843
|
continue $sm;
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
-
var this_0 = this.
|
|
846
|
+
var this_0 = this.d5n_1;
|
|
847
847
|
if (charSequenceLength(this_0) === 0) {
|
|
848
848
|
throw EOFException_init_$Create$('Invalid chunk size: empty');
|
|
849
849
|
}
|
|
850
850
|
|
|
851
|
-
this.
|
|
852
|
-
if (this.
|
|
851
|
+
this.g5n_1 = this.d5n_1.a() === 1 && this.d5n_1.b(0) === _Char___init__impl__6a9atx(48) ? new Long(0, 0) : parseHexLong(this.d5n_1);
|
|
852
|
+
if (this.g5n_1.j1(new Long(0, 0)) > 0) {
|
|
853
853
|
this.x9_1 = 4;
|
|
854
|
-
suspendResult = copyTo(this.
|
|
854
|
+
suspendResult = copyTo(this.b5n_1, this.c5n_1, this.g5n_1, this);
|
|
855
855
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
856
856
|
return suspendResult;
|
|
857
857
|
}
|
|
@@ -863,41 +863,41 @@
|
|
|
863
863
|
|
|
864
864
|
case 4:
|
|
865
865
|
this.x9_1 = 5;
|
|
866
|
-
suspendResult = this.
|
|
866
|
+
suspendResult = this.c5n_1.h4h(this);
|
|
867
867
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
868
868
|
return suspendResult;
|
|
869
869
|
}
|
|
870
870
|
|
|
871
871
|
continue $sm;
|
|
872
872
|
case 5:
|
|
873
|
-
this.
|
|
873
|
+
this.e5n_1 = this.e5n_1.b3(this.g5n_1);
|
|
874
874
|
this.x9_1 = 6;
|
|
875
875
|
continue $sm;
|
|
876
876
|
case 6:
|
|
877
|
-
this.
|
|
877
|
+
this.d5n_1.xd();
|
|
878
878
|
this.x9_1 = 7;
|
|
879
|
-
suspendResult = readUTF8LineTo(this.
|
|
879
|
+
suspendResult = readUTF8LineTo(this.b5n_1, this.d5n_1, 2, get_httpLineEndings(), this);
|
|
880
880
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
881
881
|
return suspendResult;
|
|
882
882
|
}
|
|
883
883
|
|
|
884
884
|
continue $sm;
|
|
885
885
|
case 7:
|
|
886
|
-
this.
|
|
887
|
-
if (!this.
|
|
888
|
-
throw EOFException_init_$Create$('Invalid chunk: content block of size ' + this.
|
|
886
|
+
this.h5n_1 = suspendResult;
|
|
887
|
+
if (!this.h5n_1) {
|
|
888
|
+
throw EOFException_init_$Create$('Invalid chunk: content block of size ' + this.g5n_1.toString() + ' ended unexpectedly');
|
|
889
889
|
} else {
|
|
890
890
|
this.x9_1 = 8;
|
|
891
891
|
continue $sm;
|
|
892
892
|
}
|
|
893
893
|
|
|
894
894
|
case 8:
|
|
895
|
-
var this_1 = this.
|
|
895
|
+
var this_1 = this.d5n_1;
|
|
896
896
|
if (charSequenceLength(this_1) > 0) {
|
|
897
897
|
throw EOFException_init_$Create$('Invalid chunk: content block should end with CR+LF');
|
|
898
898
|
}
|
|
899
899
|
|
|
900
|
-
if (this.
|
|
900
|
+
if (this.g5n_1.equals(new Long(0, 0))) {
|
|
901
901
|
this.x9_1 = 10;
|
|
902
902
|
continue $sm;
|
|
903
903
|
} else {
|
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
this.x9_1 = 2;
|
|
910
910
|
continue $sm;
|
|
911
911
|
case 10:
|
|
912
|
-
this.
|
|
912
|
+
this.f5n_1 = Unit_instance;
|
|
913
913
|
this.y9_1 = 16;
|
|
914
914
|
this.x9_1 = 14;
|
|
915
915
|
continue $sm;
|
|
@@ -917,32 +917,32 @@
|
|
|
917
917
|
this.y9_1 = 12;
|
|
918
918
|
var tmp_0 = this.aa_1;
|
|
919
919
|
if (tmp_0 instanceof Error) {
|
|
920
|
-
this.
|
|
920
|
+
this.i5n_1 = this.aa_1;
|
|
921
921
|
var tmp_1 = this;
|
|
922
|
-
close(this.
|
|
923
|
-
throw this.
|
|
922
|
+
close(this.c5n_1, this.i5n_1);
|
|
923
|
+
throw this.i5n_1;
|
|
924
924
|
} else {
|
|
925
925
|
throw this.aa_1;
|
|
926
926
|
}
|
|
927
927
|
|
|
928
928
|
case 12:
|
|
929
929
|
this.y9_1 = 16;
|
|
930
|
-
this.
|
|
931
|
-
get_ChunkSizeBufferPool().
|
|
930
|
+
this.j5n_1 = this.aa_1;
|
|
931
|
+
get_ChunkSizeBufferPool().c4w(this.d5n_1);
|
|
932
932
|
this.x9_1 = 13;
|
|
933
|
-
suspendResult = this.
|
|
933
|
+
suspendResult = this.c5n_1.t4h(this);
|
|
934
934
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
935
935
|
return suspendResult;
|
|
936
936
|
}
|
|
937
937
|
|
|
938
938
|
continue $sm;
|
|
939
939
|
case 13:
|
|
940
|
-
throw this.
|
|
940
|
+
throw this.j5n_1;
|
|
941
941
|
case 14:
|
|
942
942
|
this.y9_1 = 16;
|
|
943
|
-
get_ChunkSizeBufferPool().
|
|
943
|
+
get_ChunkSizeBufferPool().c4w(this.d5n_1);
|
|
944
944
|
this.x9_1 = 15;
|
|
945
|
-
suspendResult = this.
|
|
945
|
+
suspendResult = this.c5n_1.t4h(this);
|
|
946
946
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
947
947
|
return suspendResult;
|
|
948
948
|
}
|
|
@@ -966,8 +966,8 @@
|
|
|
966
966
|
};
|
|
967
967
|
function $encodeChunkedCOROUTINE$(output, input, resultContinuation) {
|
|
968
968
|
CoroutineImpl.call(this, resultContinuation);
|
|
969
|
-
this.
|
|
970
|
-
this.
|
|
969
|
+
this.s5n_1 = output;
|
|
970
|
+
this.t5n_1 = input;
|
|
971
971
|
}
|
|
972
972
|
protoOf($encodeChunkedCOROUTINE$).fa = function () {
|
|
973
973
|
var suspendResult = this.z9_1;
|
|
@@ -985,19 +985,19 @@
|
|
|
985
985
|
this.x9_1 = 2;
|
|
986
986
|
continue $sm;
|
|
987
987
|
case 2:
|
|
988
|
-
if (!!this.
|
|
988
|
+
if (!!this.t5n_1.q4h()) {
|
|
989
989
|
this.x9_1 = 13;
|
|
990
990
|
continue $sm;
|
|
991
991
|
}
|
|
992
992
|
|
|
993
993
|
var tmp_0 = this;
|
|
994
|
-
tmp_0.
|
|
994
|
+
tmp_0.v5n_1 = this.t5n_1;
|
|
995
995
|
this.x9_1 = 3;
|
|
996
996
|
continue $sm;
|
|
997
997
|
case 3:
|
|
998
|
-
this.
|
|
999
|
-
if (this.
|
|
1000
|
-
this.
|
|
998
|
+
this.x5n_1 = this.v5n_1;
|
|
999
|
+
if (this.x5n_1.q4h()) {
|
|
1000
|
+
this.w5n_1 = -1;
|
|
1001
1001
|
this.x9_1 = 12;
|
|
1002
1002
|
continue $sm;
|
|
1003
1003
|
} else {
|
|
@@ -1006,9 +1006,9 @@
|
|
|
1006
1006
|
}
|
|
1007
1007
|
|
|
1008
1008
|
case 4:
|
|
1009
|
-
if (this.
|
|
1009
|
+
if (this.x5n_1.j4h().w39()) {
|
|
1010
1010
|
this.x9_1 = 5;
|
|
1011
|
-
suspendResult = this.
|
|
1011
|
+
suspendResult = this.x5n_1.s4h(VOID, this);
|
|
1012
1012
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1013
1013
|
return suspendResult;
|
|
1014
1014
|
}
|
|
@@ -1022,8 +1022,8 @@
|
|
|
1022
1022
|
this.x9_1 = 6;
|
|
1023
1023
|
continue $sm;
|
|
1024
1024
|
case 6:
|
|
1025
|
-
if (this.
|
|
1026
|
-
this.
|
|
1025
|
+
if (this.x5n_1.q4h()) {
|
|
1026
|
+
this.w5n_1 = -1;
|
|
1027
1027
|
this.x9_1 = 12;
|
|
1028
1028
|
continue $sm;
|
|
1029
1029
|
} else {
|
|
@@ -1033,40 +1033,40 @@
|
|
|
1033
1033
|
|
|
1034
1034
|
case 7:
|
|
1035
1035
|
var tmp_1 = this;
|
|
1036
|
-
tmp_1.
|
|
1036
|
+
tmp_1.z5n_1 = UnsafeBufferOperations_instance;
|
|
1037
1037
|
var tmp_2 = this;
|
|
1038
|
-
tmp_2.
|
|
1039
|
-
this.
|
|
1040
|
-
this.
|
|
1041
|
-
if (!!this.
|
|
1038
|
+
tmp_2.a5o_1 = this.x5n_1.j4h().v39();
|
|
1039
|
+
this.b5o_1 = this.z5n_1;
|
|
1040
|
+
this.c5o_1 = this.a5o_1;
|
|
1041
|
+
if (!!this.c5o_1.w39()) {
|
|
1042
1042
|
var message = 'Buffer is empty';
|
|
1043
1043
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
|
-
this.
|
|
1046
|
+
this.d5o_1 = ensureNotNull(this.c5o_1.s39_1);
|
|
1047
1047
|
var tmp_3 = this;
|
|
1048
|
-
tmp_3.
|
|
1048
|
+
tmp_3.e5o_1 = this.d5o_1.o3c(true);
|
|
1049
1049
|
var tmp_4 = this;
|
|
1050
|
-
tmp_4.
|
|
1050
|
+
tmp_4.f5o_1 = this.d5o_1.b3a_1;
|
|
1051
1051
|
var tmp_5 = this;
|
|
1052
|
-
tmp_5.
|
|
1053
|
-
this.
|
|
1054
|
-
this.
|
|
1055
|
-
this.
|
|
1052
|
+
tmp_5.g5o_1 = this.d5o_1.c3a_1;
|
|
1053
|
+
this.h5o_1 = this.e5o_1;
|
|
1054
|
+
this.i5o_1 = this.f5o_1;
|
|
1055
|
+
this.j5o_1 = this.g5o_1;
|
|
1056
1056
|
var tmp_6 = this;
|
|
1057
|
-
tmp_6.
|
|
1057
|
+
tmp_6.k5o_1 = this.h5o_1;
|
|
1058
1058
|
var tmp_7 = this;
|
|
1059
|
-
tmp_7.
|
|
1059
|
+
tmp_7.l5o_1 = this.i5o_1;
|
|
1060
1060
|
var tmp_8 = this;
|
|
1061
|
-
tmp_8.
|
|
1061
|
+
tmp_8.m5o_1 = this.j5o_1;
|
|
1062
1062
|
this.x9_1 = 8;
|
|
1063
1063
|
continue $sm;
|
|
1064
1064
|
case 8:
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1067
|
-
this.
|
|
1068
|
-
if (this.
|
|
1069
|
-
this.
|
|
1065
|
+
this.o5o_1 = this.k5o_1;
|
|
1066
|
+
this.p5o_1 = this.l5o_1;
|
|
1067
|
+
this.q5o_1 = this.m5o_1;
|
|
1068
|
+
if (this.q5o_1 === this.p5o_1) {
|
|
1069
|
+
this.n5o_1 = 0;
|
|
1070
1070
|
this.x9_1 = 11;
|
|
1071
1071
|
continue $sm;
|
|
1072
1072
|
} else {
|
|
@@ -1076,14 +1076,14 @@
|
|
|
1076
1076
|
|
|
1077
1077
|
case 9:
|
|
1078
1078
|
this.x9_1 = 10;
|
|
1079
|
-
suspendResult = writeChunk(this.
|
|
1079
|
+
suspendResult = writeChunk(this.s5n_1, this.o5o_1, this.p5o_1, this.q5o_1, this);
|
|
1080
1080
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1081
1081
|
return suspendResult;
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
1084
|
continue $sm;
|
|
1085
1085
|
case 10:
|
|
1086
|
-
this.
|
|
1086
|
+
this.n5o_1 = suspendResult;
|
|
1087
1087
|
if (false) {
|
|
1088
1088
|
this.x9_1 = 8;
|
|
1089
1089
|
continue $sm;
|
|
@@ -1092,17 +1092,17 @@
|
|
|
1092
1092
|
this.x9_1 = 11;
|
|
1093
1093
|
continue $sm;
|
|
1094
1094
|
case 11:
|
|
1095
|
-
this.
|
|
1096
|
-
this.
|
|
1097
|
-
if (!(this.
|
|
1098
|
-
if (this.
|
|
1095
|
+
this.y5n_1 = this.n5o_1;
|
|
1096
|
+
this.r5o_1 = this.y5n_1;
|
|
1097
|
+
if (!(this.r5o_1 === 0)) {
|
|
1098
|
+
if (this.r5o_1 < 0)
|
|
1099
1099
|
throw IllegalStateException_init_$Create$('Returned negative read bytes count');
|
|
1100
|
-
if (this.
|
|
1100
|
+
if (this.r5o_1 > this.d5o_1.s())
|
|
1101
1101
|
throw IllegalStateException_init_$Create$('Returned too many bytes');
|
|
1102
|
-
this.
|
|
1102
|
+
this.c5o_1.t3a(toLong(this.r5o_1));
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
|
-
this.
|
|
1105
|
+
this.w5n_1 = this.y5n_1;
|
|
1106
1106
|
if (false) {
|
|
1107
1107
|
this.x9_1 = 3;
|
|
1108
1108
|
continue $sm;
|
|
@@ -1114,16 +1114,16 @@
|
|
|
1114
1114
|
this.x9_1 = 2;
|
|
1115
1115
|
continue $sm;
|
|
1116
1116
|
case 13:
|
|
1117
|
-
rethrowCloseCause(this.
|
|
1117
|
+
rethrowCloseCause(this.t5n_1);
|
|
1118
1118
|
this.x9_1 = 14;
|
|
1119
|
-
suspendResult = writeFully(this.
|
|
1119
|
+
suspendResult = writeFully(this.s5n_1, get_LastChunkBytes(), VOID, VOID, this);
|
|
1120
1120
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1121
1121
|
return suspendResult;
|
|
1122
1122
|
}
|
|
1123
1123
|
|
|
1124
1124
|
continue $sm;
|
|
1125
1125
|
case 14:
|
|
1126
|
-
this.
|
|
1126
|
+
this.u5n_1 = suspendResult;
|
|
1127
1127
|
this.y9_1 = 20;
|
|
1128
1128
|
this.x9_1 = 18;
|
|
1129
1129
|
continue $sm;
|
|
@@ -1131,31 +1131,31 @@
|
|
|
1131
1131
|
this.y9_1 = 16;
|
|
1132
1132
|
var tmp_9 = this.aa_1;
|
|
1133
1133
|
if (tmp_9 instanceof Error) {
|
|
1134
|
-
this.
|
|
1134
|
+
this.s5o_1 = this.aa_1;
|
|
1135
1135
|
var tmp_10 = this;
|
|
1136
|
-
close(this.
|
|
1137
|
-
this.
|
|
1138
|
-
throw this.
|
|
1136
|
+
close(this.s5n_1, this.s5o_1);
|
|
1137
|
+
this.t5n_1.u4h(this.s5o_1);
|
|
1138
|
+
throw this.s5o_1;
|
|
1139
1139
|
} else {
|
|
1140
1140
|
throw this.aa_1;
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
1143
|
case 16:
|
|
1144
1144
|
this.y9_1 = 20;
|
|
1145
|
-
this.
|
|
1145
|
+
this.t5o_1 = this.aa_1;
|
|
1146
1146
|
this.x9_1 = 17;
|
|
1147
|
-
suspendResult = this.
|
|
1147
|
+
suspendResult = this.s5n_1.h4h(this);
|
|
1148
1148
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1149
1149
|
return suspendResult;
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
1152
|
continue $sm;
|
|
1153
1153
|
case 17:
|
|
1154
|
-
throw this.
|
|
1154
|
+
throw this.t5o_1;
|
|
1155
1155
|
case 18:
|
|
1156
1156
|
this.y9_1 = 20;
|
|
1157
1157
|
this.x9_1 = 19;
|
|
1158
|
-
suspendResult = this.
|
|
1158
|
+
suspendResult = this.s5n_1.h4h(this);
|
|
1159
1159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1160
1160
|
return suspendResult;
|
|
1161
1161
|
}
|
|
@@ -1179,10 +1179,10 @@
|
|
|
1179
1179
|
};
|
|
1180
1180
|
function $writeChunkCOROUTINE$(_this__u8e3s4, memory, startIndex, endIndex, resultContinuation) {
|
|
1181
1181
|
CoroutineImpl.call(this, resultContinuation);
|
|
1182
|
-
this.
|
|
1183
|
-
this.
|
|
1184
|
-
this.
|
|
1185
|
-
this.
|
|
1182
|
+
this.c5p_1 = _this__u8e3s4;
|
|
1183
|
+
this.d5p_1 = memory;
|
|
1184
|
+
this.e5p_1 = startIndex;
|
|
1185
|
+
this.f5p_1 = endIndex;
|
|
1186
1186
|
}
|
|
1187
1187
|
protoOf($writeChunkCOROUTINE$).fa = function () {
|
|
1188
1188
|
var suspendResult = this.z9_1;
|
|
@@ -1192,9 +1192,9 @@
|
|
|
1192
1192
|
switch (tmp) {
|
|
1193
1193
|
case 0:
|
|
1194
1194
|
this.y9_1 = 6;
|
|
1195
|
-
this.
|
|
1195
|
+
this.g5p_1 = this.f5p_1 - this.e5p_1 | 0;
|
|
1196
1196
|
this.x9_1 = 1;
|
|
1197
|
-
suspendResult = writeIntHex(this.
|
|
1197
|
+
suspendResult = writeIntHex(this.c5p_1, this.g5p_1, this);
|
|
1198
1198
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1199
1199
|
return suspendResult;
|
|
1200
1200
|
}
|
|
@@ -1202,7 +1202,7 @@
|
|
|
1202
1202
|
continue $sm;
|
|
1203
1203
|
case 1:
|
|
1204
1204
|
this.x9_1 = 2;
|
|
1205
|
-
suspendResult = writeShort(this.
|
|
1205
|
+
suspendResult = writeShort(this.c5p_1, 3338, this);
|
|
1206
1206
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1207
1207
|
return suspendResult;
|
|
1208
1208
|
}
|
|
@@ -1210,7 +1210,7 @@
|
|
|
1210
1210
|
continue $sm;
|
|
1211
1211
|
case 2:
|
|
1212
1212
|
this.x9_1 = 3;
|
|
1213
|
-
suspendResult = writeFully(this.
|
|
1213
|
+
suspendResult = writeFully(this.c5p_1, this.d5p_1, this.e5p_1, this.f5p_1, this);
|
|
1214
1214
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1215
1215
|
return suspendResult;
|
|
1216
1216
|
}
|
|
@@ -1218,7 +1218,7 @@
|
|
|
1218
1218
|
continue $sm;
|
|
1219
1219
|
case 3:
|
|
1220
1220
|
this.x9_1 = 4;
|
|
1221
|
-
suspendResult = writeFully(this.
|
|
1221
|
+
suspendResult = writeFully(this.c5p_1, get_CrLf(), VOID, VOID, this);
|
|
1222
1222
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1223
1223
|
return suspendResult;
|
|
1224
1224
|
}
|
|
@@ -1226,14 +1226,14 @@
|
|
|
1226
1226
|
continue $sm;
|
|
1227
1227
|
case 4:
|
|
1228
1228
|
this.x9_1 = 5;
|
|
1229
|
-
suspendResult = this.
|
|
1229
|
+
suspendResult = this.c5p_1.h4h(this);
|
|
1230
1230
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1231
1231
|
return suspendResult;
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
1234
1234
|
continue $sm;
|
|
1235
1235
|
case 5:
|
|
1236
|
-
return this.
|
|
1236
|
+
return this.g5p_1;
|
|
1237
1237
|
case 6:
|
|
1238
1238
|
throw this.aa_1;
|
|
1239
1239
|
}
|
|
@@ -1281,7 +1281,7 @@
|
|
|
1281
1281
|
}
|
|
1282
1282
|
var tmp = start;
|
|
1283
1283
|
var tmp_0 = idx;
|
|
1284
|
-
var detected = singleOrNull($this.
|
|
1284
|
+
var detected = singleOrNull($this.a5q_1.c5q(connection, tmp, tmp_0, true, ConnectionOptions$Companion$parseSlow$lambda));
|
|
1285
1285
|
if (detected == null) {
|
|
1286
1286
|
if (hopHeadersList == null) {
|
|
1287
1287
|
hopHeadersList = ArrayList_init_$Create$();
|
|
@@ -1293,26 +1293,26 @@
|
|
|
1293
1293
|
var tmp$ret$0 = toString(charSequenceSubSequence(connection, tmp2, endIndex));
|
|
1294
1294
|
tmp_1.h(tmp$ret$0);
|
|
1295
1295
|
} else if (connectionOptions == null) {
|
|
1296
|
-
connectionOptions = detected.
|
|
1296
|
+
connectionOptions = detected.pi_1;
|
|
1297
1297
|
} else {
|
|
1298
|
-
connectionOptions = new ConnectionOptions(connectionOptions.
|
|
1298
|
+
connectionOptions = new ConnectionOptions(connectionOptions.d5q_1 || detected.pi_1.d5q_1, connectionOptions.e5q_1 || detected.pi_1.e5q_1, connectionOptions.f5q_1 || detected.pi_1.f5q_1, emptyList());
|
|
1299
1299
|
}
|
|
1300
1300
|
}
|
|
1301
1301
|
if (connectionOptions == null)
|
|
1302
|
-
connectionOptions = $this.
|
|
1302
|
+
connectionOptions = $this.y5p_1;
|
|
1303
1303
|
var tmp_2;
|
|
1304
1304
|
if (hopHeadersList == null) {
|
|
1305
1305
|
tmp_2 = connectionOptions;
|
|
1306
1306
|
} else {
|
|
1307
|
-
tmp_2 = new ConnectionOptions(connectionOptions.
|
|
1307
|
+
tmp_2 = new ConnectionOptions(connectionOptions.d5q_1, connectionOptions.e5q_1, connectionOptions.f5q_1, hopHeadersList);
|
|
1308
1308
|
}
|
|
1309
1309
|
return tmp_2;
|
|
1310
1310
|
}
|
|
1311
1311
|
function ConnectionOptions$Companion$knownTypes$lambda(it) {
|
|
1312
|
-
return it.
|
|
1312
|
+
return it.oi_1.length;
|
|
1313
1313
|
}
|
|
1314
1314
|
function ConnectionOptions$Companion$knownTypes$lambda_0(t, idx) {
|
|
1315
|
-
return new Char(charCodeAt(t.
|
|
1315
|
+
return new Char(charCodeAt(t.oi_1, idx));
|
|
1316
1316
|
}
|
|
1317
1317
|
function ConnectionOptions$Companion$parse$lambda(_unused_var__etf5q3, _unused_var__etf5q3_0) {
|
|
1318
1318
|
return false;
|
|
@@ -1322,21 +1322,21 @@
|
|
|
1322
1322
|
}
|
|
1323
1323
|
function Companion() {
|
|
1324
1324
|
Companion_instance = this;
|
|
1325
|
-
this.
|
|
1326
|
-
this.
|
|
1327
|
-
this.
|
|
1325
|
+
this.x5p_1 = new ConnectionOptions(true);
|
|
1326
|
+
this.y5p_1 = new ConnectionOptions(VOID, true);
|
|
1327
|
+
this.z5p_1 = new ConnectionOptions(VOID, VOID, true);
|
|
1328
1328
|
var tmp = this;
|
|
1329
1329
|
var tmp_0 = Companion_instance_0;
|
|
1330
|
-
var tmp_1 = listOf_0([to('close', this.
|
|
1330
|
+
var tmp_1 = listOf_0([to('close', this.x5p_1), to('keep-alive', this.y5p_1), to('upgrade', this.z5p_1)]);
|
|
1331
1331
|
var tmp_2 = ConnectionOptions$Companion$knownTypes$lambda;
|
|
1332
|
-
tmp.
|
|
1332
|
+
tmp.a5q_1 = tmp_0.h5q(tmp_1, tmp_2, ConnectionOptions$Companion$knownTypes$lambda_0);
|
|
1333
1333
|
}
|
|
1334
|
-
protoOf(Companion).
|
|
1334
|
+
protoOf(Companion).i5q = function (connection) {
|
|
1335
1335
|
if (connection == null)
|
|
1336
1336
|
return null;
|
|
1337
|
-
var known = this.
|
|
1337
|
+
var known = this.a5q_1.j5q(connection, VOID, VOID, true, ConnectionOptions$Companion$parse$lambda);
|
|
1338
1338
|
if (known.s() === 1)
|
|
1339
|
-
return known.u(0).
|
|
1339
|
+
return known.u(0).pi_1;
|
|
1340
1340
|
return parseSlow(this, connection);
|
|
1341
1341
|
};
|
|
1342
1342
|
var Companion_instance;
|
|
@@ -1349,19 +1349,19 @@
|
|
|
1349
1349
|
// Inline function 'kotlin.text.buildString' call
|
|
1350
1350
|
// Inline function 'kotlin.apply' call
|
|
1351
1351
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
1352
|
-
var items = ArrayList_init_$Create$_0($this.
|
|
1353
|
-
if ($this.
|
|
1352
|
+
var items = ArrayList_init_$Create$_0($this.g5q_1.s() + 3 | 0);
|
|
1353
|
+
if ($this.d5q_1) {
|
|
1354
1354
|
items.h('close');
|
|
1355
1355
|
}
|
|
1356
|
-
if ($this.
|
|
1356
|
+
if ($this.e5q_1) {
|
|
1357
1357
|
items.h('keep-alive');
|
|
1358
1358
|
}
|
|
1359
|
-
if ($this.
|
|
1359
|
+
if ($this.f5q_1) {
|
|
1360
1360
|
items.h('Upgrade');
|
|
1361
1361
|
}
|
|
1362
1362
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1363
|
-
if (!$this.
|
|
1364
|
-
items.t($this.
|
|
1363
|
+
if (!$this.g5q_1.m()) {
|
|
1364
|
+
items.t($this.g5q_1);
|
|
1365
1365
|
}
|
|
1366
1366
|
joinTo(items, this_0);
|
|
1367
1367
|
return this_0.toString();
|
|
@@ -1372,15 +1372,15 @@
|
|
|
1372
1372
|
keepAlive = keepAlive === VOID ? false : keepAlive;
|
|
1373
1373
|
upgrade = upgrade === VOID ? false : upgrade;
|
|
1374
1374
|
extraOptions = extraOptions === VOID ? emptyList() : extraOptions;
|
|
1375
|
-
this.
|
|
1376
|
-
this.
|
|
1377
|
-
this.
|
|
1378
|
-
this.
|
|
1375
|
+
this.d5q_1 = close;
|
|
1376
|
+
this.e5q_1 = keepAlive;
|
|
1377
|
+
this.f5q_1 = upgrade;
|
|
1378
|
+
this.g5q_1 = extraOptions;
|
|
1379
1379
|
}
|
|
1380
1380
|
protoOf(ConnectionOptions).toString = function () {
|
|
1381
1381
|
var tmp;
|
|
1382
|
-
if (this.
|
|
1383
|
-
tmp = this.
|
|
1382
|
+
if (this.g5q_1.m()) {
|
|
1383
|
+
tmp = this.d5q_1 && !this.e5q_1 && !this.f5q_1 ? 'close' : !this.d5q_1 && this.e5q_1 && !this.f5q_1 ? 'keep-alive' : !this.d5q_1 && this.e5q_1 && this.f5q_1 ? 'keep-alive, Upgrade' : buildToString(this);
|
|
1384
1384
|
} else {
|
|
1385
1385
|
tmp = buildToString(this);
|
|
1386
1386
|
}
|
|
@@ -1393,21 +1393,21 @@
|
|
|
1393
1393
|
return false;
|
|
1394
1394
|
if (!(other instanceof ConnectionOptions))
|
|
1395
1395
|
THROW_CCE();
|
|
1396
|
-
if (!(this.
|
|
1396
|
+
if (!(this.d5q_1 === other.d5q_1))
|
|
1397
1397
|
return false;
|
|
1398
|
-
if (!(this.
|
|
1398
|
+
if (!(this.e5q_1 === other.e5q_1))
|
|
1399
1399
|
return false;
|
|
1400
|
-
if (!(this.
|
|
1400
|
+
if (!(this.f5q_1 === other.f5q_1))
|
|
1401
1401
|
return false;
|
|
1402
|
-
if (!equals(this.
|
|
1402
|
+
if (!equals(this.g5q_1, other.g5q_1))
|
|
1403
1403
|
return false;
|
|
1404
1404
|
return true;
|
|
1405
1405
|
};
|
|
1406
1406
|
protoOf(ConnectionOptions).hashCode = function () {
|
|
1407
|
-
var result = getBooleanHashCode(this.
|
|
1408
|
-
result = imul(31, result) + getBooleanHashCode(this.
|
|
1409
|
-
result = imul(31, result) + getBooleanHashCode(this.
|
|
1410
|
-
result = imul(31, result) + hashCode(this.
|
|
1407
|
+
var result = getBooleanHashCode(this.d5q_1);
|
|
1408
|
+
result = imul(31, result) + getBooleanHashCode(this.e5q_1) | 0;
|
|
1409
|
+
result = imul(31, result) + getBooleanHashCode(this.f5q_1) | 0;
|
|
1410
|
+
result = imul(31, result) + hashCode(this.g5q_1) | 0;
|
|
1411
1411
|
return result;
|
|
1412
1412
|
};
|
|
1413
1413
|
function expectHttpBody(method, contentLength, transferEncoding, connectionOptions, contentType) {
|
|
@@ -1417,16 +1417,16 @@
|
|
|
1417
1417
|
}
|
|
1418
1418
|
if (!contentLength.equals(new Long(-1, -1)))
|
|
1419
1419
|
return contentLength.j1(new Long(0, 0)) > 0;
|
|
1420
|
-
if (method.equals(Companion_getInstance_0().
|
|
1420
|
+
if (method.equals(Companion_getInstance_0().q5c_1) || method.equals(Companion_getInstance_0().v5c_1) || method.equals(Companion_getInstance_0().w5c_1))
|
|
1421
1421
|
return false;
|
|
1422
|
-
if ((connectionOptions == null ? null : connectionOptions.
|
|
1422
|
+
if ((connectionOptions == null ? null : connectionOptions.d5q_1) === true)
|
|
1423
1423
|
return true;
|
|
1424
1424
|
return false;
|
|
1425
1425
|
}
|
|
1426
1426
|
function expectHttpUpgrade(method, upgrade, connectionOptions) {
|
|
1427
1427
|
var tmp;
|
|
1428
|
-
if (method.equals(Companion_getInstance_0().
|
|
1429
|
-
tmp = (connectionOptions == null ? null : connectionOptions.
|
|
1428
|
+
if (method.equals(Companion_getInstance_0().q5c_1) && !(upgrade == null)) {
|
|
1429
|
+
tmp = (connectionOptions == null ? null : connectionOptions.f5q_1) === true;
|
|
1430
1430
|
} else {
|
|
1431
1431
|
tmp = false;
|
|
1432
1432
|
}
|
|
@@ -1472,12 +1472,12 @@
|
|
|
1472
1472
|
}
|
|
1473
1473
|
function $parseHttpBodyCOROUTINE$(version, contentLength, transferEncoding, connectionOptions, input, out, resultContinuation) {
|
|
1474
1474
|
CoroutineImpl.call(this, resultContinuation);
|
|
1475
|
-
this.
|
|
1476
|
-
this.
|
|
1477
|
-
this.
|
|
1478
|
-
this.
|
|
1479
|
-
this.
|
|
1480
|
-
this.
|
|
1475
|
+
this.s5q_1 = version;
|
|
1476
|
+
this.t5q_1 = contentLength;
|
|
1477
|
+
this.u5q_1 = transferEncoding;
|
|
1478
|
+
this.v5q_1 = connectionOptions;
|
|
1479
|
+
this.w5q_1 = input;
|
|
1480
|
+
this.x5q_1 = out;
|
|
1481
1481
|
}
|
|
1482
1482
|
protoOf($parseHttpBodyCOROUTINE$).fa = function () {
|
|
1483
1483
|
var suspendResult = this.z9_1;
|
|
@@ -1487,9 +1487,9 @@
|
|
|
1487
1487
|
switch (tmp) {
|
|
1488
1488
|
case 0:
|
|
1489
1489
|
this.y9_1 = 7;
|
|
1490
|
-
if (!(this.
|
|
1490
|
+
if (!(this.u5q_1 == null) && isTransferEncodingChunked(this.u5q_1)) {
|
|
1491
1491
|
this.x9_1 = 6;
|
|
1492
|
-
suspendResult = decodeChunked(this.
|
|
1492
|
+
suspendResult = decodeChunked(this.w5q_1, this.x5q_1, this);
|
|
1493
1493
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1494
1494
|
return suspendResult;
|
|
1495
1495
|
}
|
|
@@ -1500,9 +1500,9 @@
|
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
1502
|
case 1:
|
|
1503
|
-
if (!this.
|
|
1503
|
+
if (!this.t5q_1.equals(new Long(-1, -1))) {
|
|
1504
1504
|
this.x9_1 = 5;
|
|
1505
|
-
suspendResult = copyTo(this.
|
|
1505
|
+
suspendResult = copyTo(this.w5q_1, this.x5q_1, this.t5q_1, this);
|
|
1506
1506
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1507
1507
|
return suspendResult;
|
|
1508
1508
|
}
|
|
@@ -1514,16 +1514,16 @@
|
|
|
1514
1514
|
|
|
1515
1515
|
case 2:
|
|
1516
1516
|
var tmp_0;
|
|
1517
|
-
var tmp0_safe_receiver = this.
|
|
1518
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1517
|
+
var tmp0_safe_receiver = this.v5q_1;
|
|
1518
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d5q_1) === true) {
|
|
1519
1519
|
tmp_0 = true;
|
|
1520
1520
|
} else {
|
|
1521
|
-
tmp_0 = (this.
|
|
1521
|
+
tmp_0 = (this.v5q_1 == null && equals(this.s5q_1, Companion_getInstance_1().c5d_1));
|
|
1522
1522
|
}
|
|
1523
1523
|
|
|
1524
1524
|
if (tmp_0) {
|
|
1525
1525
|
this.x9_1 = 4;
|
|
1526
|
-
suspendResult = copyTo(this.
|
|
1526
|
+
suspendResult = copyTo(this.w5q_1, this.x5q_1, new Long(-1, 2147483647), this);
|
|
1527
1527
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1528
1528
|
return suspendResult;
|
|
1529
1529
|
}
|
|
@@ -1535,7 +1535,7 @@
|
|
|
1535
1535
|
|
|
1536
1536
|
case 3:
|
|
1537
1537
|
var cause = IllegalStateException_init_$Create$('Failed to parse request body: request body length should be specified,\nchunked transfer encoding should be used or\nkeep-alive should be disabled (connection: close)');
|
|
1538
|
-
close(this.
|
|
1538
|
+
close(this.x5q_1, cause);
|
|
1539
1539
|
return Unit_instance;
|
|
1540
1540
|
case 4:
|
|
1541
1541
|
return Unit_instance;
|
|
@@ -1568,17 +1568,17 @@
|
|
|
1568
1568
|
}
|
|
1569
1569
|
var HeadersDataPool;
|
|
1570
1570
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
1571
|
-
this.
|
|
1571
|
+
this.g5r_1 = this$0;
|
|
1572
1572
|
CoroutineImpl.call(this, resultContinuation);
|
|
1573
1573
|
}
|
|
1574
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
1575
|
-
var tmp = this.
|
|
1574
|
+
protoOf(HeadersData$headersStarts$slambda).m5r = function ($this$sequence, $completion) {
|
|
1575
|
+
var tmp = this.n5r($this$sequence, $completion);
|
|
1576
1576
|
tmp.z9_1 = Unit_instance;
|
|
1577
1577
|
tmp.aa_1 = null;
|
|
1578
1578
|
return tmp.fa();
|
|
1579
1579
|
};
|
|
1580
1580
|
protoOf(HeadersData$headersStarts$slambda).ra = function (p1, $completion) {
|
|
1581
|
-
return this.
|
|
1581
|
+
return this.m5r(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
1582
1582
|
};
|
|
1583
1583
|
protoOf(HeadersData$headersStarts$slambda).fa = function () {
|
|
1584
1584
|
var suspendResult = this.z9_1;
|
|
@@ -1588,29 +1588,29 @@
|
|
|
1588
1588
|
switch (tmp) {
|
|
1589
1589
|
case 0:
|
|
1590
1590
|
this.y9_1 = 7;
|
|
1591
|
-
this.
|
|
1592
|
-
this.
|
|
1591
|
+
this.i5r_1 = 0;
|
|
1592
|
+
this.j5r_1 = this.g5r_1.o5r_1.p();
|
|
1593
1593
|
this.x9_1 = 1;
|
|
1594
1594
|
continue $sm;
|
|
1595
1595
|
case 1:
|
|
1596
|
-
if (!this.
|
|
1596
|
+
if (!this.j5r_1.q()) {
|
|
1597
1597
|
this.x9_1 = 6;
|
|
1598
1598
|
continue $sm;
|
|
1599
1599
|
}
|
|
1600
1600
|
|
|
1601
|
-
this.
|
|
1602
|
-
this.
|
|
1601
|
+
this.k5r_1 = this.j5r_1.r();
|
|
1602
|
+
this.l5r_1 = 0;
|
|
1603
1603
|
this.x9_1 = 2;
|
|
1604
1604
|
continue $sm;
|
|
1605
1605
|
case 2:
|
|
1606
|
-
if (!(this.
|
|
1606
|
+
if (!(this.l5r_1 < this.k5r_1.length)) {
|
|
1607
1607
|
this.x9_1 = 5;
|
|
1608
1608
|
continue $sm;
|
|
1609
1609
|
}
|
|
1610
1610
|
|
|
1611
|
-
if (!(this.
|
|
1611
|
+
if (!(this.g5r_1.p5r(this.i5r_1 + 0 | 0) === -1)) {
|
|
1612
1612
|
this.x9_1 = 3;
|
|
1613
|
-
suspendResult = this.
|
|
1613
|
+
suspendResult = this.h5r_1.ej(this.i5r_1, this);
|
|
1614
1614
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1615
1615
|
return suspendResult;
|
|
1616
1616
|
}
|
|
@@ -1624,8 +1624,8 @@
|
|
|
1624
1624
|
this.x9_1 = 4;
|
|
1625
1625
|
continue $sm;
|
|
1626
1626
|
case 4:
|
|
1627
|
-
this.
|
|
1628
|
-
this.
|
|
1627
|
+
this.l5r_1 = this.l5r_1 + 6 | 0;
|
|
1628
|
+
this.i5r_1 = this.i5r_1 + 6 | 0;
|
|
1629
1629
|
this.x9_1 = 2;
|
|
1630
1630
|
continue $sm;
|
|
1631
1631
|
case 5:
|
|
@@ -1647,15 +1647,15 @@
|
|
|
1647
1647
|
}
|
|
1648
1648
|
while (true);
|
|
1649
1649
|
};
|
|
1650
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
1651
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
1652
|
-
i.
|
|
1650
|
+
protoOf(HeadersData$headersStarts$slambda).n5r = function ($this$sequence, completion) {
|
|
1651
|
+
var i = new HeadersData$headersStarts$slambda(this.g5r_1, completion);
|
|
1652
|
+
i.h5r_1 = $this$sequence;
|
|
1653
1653
|
return i;
|
|
1654
1654
|
};
|
|
1655
1655
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
1656
1656
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
1657
1657
|
var l = function ($this$sequence, $completion) {
|
|
1658
|
-
return i.
|
|
1658
|
+
return i.m5r($this$sequence, $completion);
|
|
1659
1659
|
};
|
|
1660
1660
|
l.$arity = 1;
|
|
1661
1661
|
return l;
|
|
@@ -1663,83 +1663,83 @@
|
|
|
1663
1663
|
function HeadersData() {
|
|
1664
1664
|
var tmp = this;
|
|
1665
1665
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1666
|
-
tmp.
|
|
1666
|
+
tmp.o5r_1 = ArrayList_init_$Create$();
|
|
1667
1667
|
}
|
|
1668
|
-
protoOf(HeadersData).
|
|
1669
|
-
return this.
|
|
1668
|
+
protoOf(HeadersData).q5r = function () {
|
|
1669
|
+
return this.o5r_1.s();
|
|
1670
1670
|
};
|
|
1671
|
-
protoOf(HeadersData).
|
|
1671
|
+
protoOf(HeadersData).r5r = function (subArraysCount) {
|
|
1672
1672
|
// Inline function 'kotlin.repeat' call
|
|
1673
1673
|
var inductionVariable = 0;
|
|
1674
1674
|
if (inductionVariable < subArraysCount)
|
|
1675
1675
|
do {
|
|
1676
1676
|
var index = inductionVariable;
|
|
1677
1677
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1678
|
-
this.
|
|
1678
|
+
this.o5r_1.h(get_IntArrayPool().b4w());
|
|
1679
1679
|
}
|
|
1680
1680
|
while (inductionVariable < subArraysCount);
|
|
1681
1681
|
};
|
|
1682
|
-
protoOf(HeadersData).
|
|
1683
|
-
return this.
|
|
1682
|
+
protoOf(HeadersData).p5r = function (index) {
|
|
1683
|
+
return this.o5r_1.u(index / 768 | 0)[index % 768 | 0];
|
|
1684
1684
|
};
|
|
1685
|
-
protoOf(HeadersData).
|
|
1686
|
-
this.
|
|
1685
|
+
protoOf(HeadersData).s5r = function (index, value) {
|
|
1686
|
+
this.o5r_1.u(index / 768 | 0)[index % 768 | 0] = value;
|
|
1687
1687
|
};
|
|
1688
|
-
protoOf(HeadersData).
|
|
1688
|
+
protoOf(HeadersData).t5r = function () {
|
|
1689
1689
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
1690
1690
|
};
|
|
1691
1691
|
protoOf(HeadersData).m1h = function () {
|
|
1692
|
-
var _iterator__ex2g4s = this.
|
|
1692
|
+
var _iterator__ex2g4s = this.o5r_1.p();
|
|
1693
1693
|
while (_iterator__ex2g4s.q()) {
|
|
1694
1694
|
var array = _iterator__ex2g4s.r();
|
|
1695
|
-
get_IntArrayPool().
|
|
1695
|
+
get_IntArrayPool().c4w(array);
|
|
1696
1696
|
}
|
|
1697
|
-
this.
|
|
1697
|
+
this.o5r_1.n2();
|
|
1698
1698
|
};
|
|
1699
1699
|
function thresholdReached($this) {
|
|
1700
|
-
return $this.
|
|
1700
|
+
return $this.k5k_1 >= $this.l5k_1 * 0.75;
|
|
1701
1701
|
}
|
|
1702
1702
|
function resize($this) {
|
|
1703
|
-
var prevSize = $this.
|
|
1704
|
-
var prevData = $this.
|
|
1705
|
-
$this.
|
|
1706
|
-
$this.
|
|
1703
|
+
var prevSize = $this.k5k_1;
|
|
1704
|
+
var prevData = $this.m5k_1;
|
|
1705
|
+
$this.k5k_1 = 0;
|
|
1706
|
+
$this.l5k_1 = imul($this.l5k_1, 2) | 128;
|
|
1707
1707
|
var tmp = $this;
|
|
1708
1708
|
// Inline function 'kotlin.apply' call
|
|
1709
|
-
var this_0 = get_HeadersDataPool().
|
|
1710
|
-
this_0.
|
|
1711
|
-
tmp.
|
|
1712
|
-
var _iterator__ex2g4s = prevData.
|
|
1709
|
+
var this_0 = get_HeadersDataPool().b4w();
|
|
1710
|
+
this_0.r5r(imul(prevData.q5r(), 2) | 1);
|
|
1711
|
+
tmp.m5k_1 = this_0;
|
|
1712
|
+
var _iterator__ex2g4s = prevData.t5r().p();
|
|
1713
1713
|
while (_iterator__ex2g4s.q()) {
|
|
1714
1714
|
var headerOffset = _iterator__ex2g4s.r();
|
|
1715
|
-
$this.
|
|
1715
|
+
$this.u5r(prevData.p5r(headerOffset + 1 | 0), prevData.p5r(headerOffset + 2 | 0), prevData.p5r(headerOffset + 3 | 0), prevData.p5r(headerOffset + 4 | 0));
|
|
1716
1716
|
}
|
|
1717
|
-
get_HeadersDataPool().
|
|
1717
|
+
get_HeadersDataPool().c4w(prevData);
|
|
1718
1718
|
// Inline function 'kotlin.require' call
|
|
1719
1719
|
// Inline function 'kotlin.require' call
|
|
1720
|
-
if (!(prevSize === $this.
|
|
1720
|
+
if (!(prevSize === $this.k5k_1)) {
|
|
1721
1721
|
var message = 'Failed requirement.';
|
|
1722
1722
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1723
1723
|
}
|
|
1724
1724
|
}
|
|
1725
1725
|
function headerHasName($this, name, headerOffset) {
|
|
1726
|
-
var nameStartIndex = $this.
|
|
1727
|
-
var nameEndIndex = $this.
|
|
1728
|
-
return equalsLowerCase($this.
|
|
1726
|
+
var nameStartIndex = $this.m5k_1.p5r(headerOffset + 1 | 0);
|
|
1727
|
+
var nameEndIndex = $this.m5k_1.p5r(headerOffset + 2 | 0);
|
|
1728
|
+
return equalsLowerCase($this.j5k_1, nameStartIndex, nameEndIndex, name);
|
|
1729
1729
|
}
|
|
1730
1730
|
function HttpHeadersMap$getAll$slambda(this$0, $name, resultContinuation) {
|
|
1731
|
-
this.
|
|
1732
|
-
this.
|
|
1731
|
+
this.d5s_1 = this$0;
|
|
1732
|
+
this.e5s_1 = $name;
|
|
1733
1733
|
CoroutineImpl.call(this, resultContinuation);
|
|
1734
1734
|
}
|
|
1735
|
-
protoOf(HttpHeadersMap$getAll$slambda).
|
|
1736
|
-
var tmp = this.
|
|
1735
|
+
protoOf(HttpHeadersMap$getAll$slambda).i5s = function ($this$sequence, $completion) {
|
|
1736
|
+
var tmp = this.j5s($this$sequence, $completion);
|
|
1737
1737
|
tmp.z9_1 = Unit_instance;
|
|
1738
1738
|
tmp.aa_1 = null;
|
|
1739
1739
|
return tmp.fa();
|
|
1740
1740
|
};
|
|
1741
1741
|
protoOf(HttpHeadersMap$getAll$slambda).ra = function (p1, $completion) {
|
|
1742
|
-
return this.
|
|
1742
|
+
return this.i5s(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
1743
1743
|
};
|
|
1744
1744
|
protoOf(HttpHeadersMap$getAll$slambda).fa = function () {
|
|
1745
1745
|
var suspendResult = this.z9_1;
|
|
@@ -1749,23 +1749,23 @@
|
|
|
1749
1749
|
switch (tmp) {
|
|
1750
1750
|
case 0:
|
|
1751
1751
|
this.y9_1 = 6;
|
|
1752
|
-
if (this.
|
|
1752
|
+
if (this.d5s_1.k5k_1 === 0)
|
|
1753
1753
|
return Unit_instance;
|
|
1754
1754
|
var tmp_0 = this;
|
|
1755
|
-
var this_0 = hashCodeLowerCase(this.
|
|
1756
|
-
tmp_0.
|
|
1757
|
-
this.
|
|
1755
|
+
var this_0 = hashCodeLowerCase(this.e5s_1);
|
|
1756
|
+
tmp_0.g5s_1 = abs(this_0);
|
|
1757
|
+
this.h5s_1 = this.g5s_1 % this.d5s_1.l5k_1 | 0;
|
|
1758
1758
|
this.x9_1 = 1;
|
|
1759
1759
|
continue $sm;
|
|
1760
1760
|
case 1:
|
|
1761
|
-
if (!!(this.
|
|
1761
|
+
if (!!(this.d5s_1.m5k_1.p5r(imul(this.h5s_1, 6) + 0 | 0) === -1)) {
|
|
1762
1762
|
this.x9_1 = 5;
|
|
1763
1763
|
continue $sm;
|
|
1764
1764
|
}
|
|
1765
1765
|
|
|
1766
|
-
if (headerHasName(this.
|
|
1766
|
+
if (headerHasName(this.d5s_1, this.e5s_1, imul(this.h5s_1, 6))) {
|
|
1767
1767
|
this.x9_1 = 3;
|
|
1768
|
-
suspendResult = this.
|
|
1768
|
+
suspendResult = this.f5s_1.ej(this.d5s_1.o5k(imul(this.h5s_1, 6)), this);
|
|
1769
1769
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1770
1770
|
return suspendResult;
|
|
1771
1771
|
}
|
|
@@ -1776,11 +1776,11 @@
|
|
|
1776
1776
|
}
|
|
1777
1777
|
|
|
1778
1778
|
case 2:
|
|
1779
|
-
this.
|
|
1779
|
+
this.h5s_1 = (this.h5s_1 + 1 | 0) % this.d5s_1.l5k_1 | 0;
|
|
1780
1780
|
this.x9_1 = 1;
|
|
1781
1781
|
continue $sm;
|
|
1782
1782
|
case 3:
|
|
1783
|
-
var nextHeaderIndex = this.
|
|
1783
|
+
var nextHeaderIndex = this.d5s_1.m5k_1.p5r(imul(this.h5s_1, 6) + 5 | 0);
|
|
1784
1784
|
if (nextHeaderIndex === -1) {
|
|
1785
1785
|
this.x9_1 = 5;
|
|
1786
1786
|
continue $sm;
|
|
@@ -1790,7 +1790,7 @@
|
|
|
1790
1790
|
}
|
|
1791
1791
|
|
|
1792
1792
|
case 4:
|
|
1793
|
-
this.
|
|
1793
|
+
this.h5s_1 = nextHeaderIndex;
|
|
1794
1794
|
this.x9_1 = 1;
|
|
1795
1795
|
continue $sm;
|
|
1796
1796
|
case 5:
|
|
@@ -1809,89 +1809,89 @@
|
|
|
1809
1809
|
}
|
|
1810
1810
|
while (true);
|
|
1811
1811
|
};
|
|
1812
|
-
protoOf(HttpHeadersMap$getAll$slambda).
|
|
1813
|
-
var i = new HttpHeadersMap$getAll$slambda(this.
|
|
1814
|
-
i.
|
|
1812
|
+
protoOf(HttpHeadersMap$getAll$slambda).j5s = function ($this$sequence, completion) {
|
|
1813
|
+
var i = new HttpHeadersMap$getAll$slambda(this.d5s_1, this.e5s_1, completion);
|
|
1814
|
+
i.f5s_1 = $this$sequence;
|
|
1815
1815
|
return i;
|
|
1816
1816
|
};
|
|
1817
1817
|
function HttpHeadersMap$getAll$slambda_0(this$0, $name, resultContinuation) {
|
|
1818
1818
|
var i = new HttpHeadersMap$getAll$slambda(this$0, $name, resultContinuation);
|
|
1819
1819
|
var l = function ($this$sequence, $completion) {
|
|
1820
|
-
return i.
|
|
1820
|
+
return i.i5s($this$sequence, $completion);
|
|
1821
1821
|
};
|
|
1822
1822
|
l.$arity = 1;
|
|
1823
1823
|
return l;
|
|
1824
1824
|
}
|
|
1825
1825
|
function HttpHeadersMap(builder) {
|
|
1826
|
-
this.
|
|
1827
|
-
this.
|
|
1828
|
-
this.
|
|
1829
|
-
this.
|
|
1826
|
+
this.j5k_1 = builder;
|
|
1827
|
+
this.k5k_1 = 0;
|
|
1828
|
+
this.l5k_1 = 0;
|
|
1829
|
+
this.m5k_1 = get_HeadersDataPool().b4w();
|
|
1830
1830
|
}
|
|
1831
1831
|
protoOf(HttpHeadersMap).cf = function (name) {
|
|
1832
|
-
if (this.
|
|
1832
|
+
if (this.k5k_1 === 0)
|
|
1833
1833
|
return null;
|
|
1834
1834
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
1835
1835
|
var this_0 = hashCodeLowerCase(name);
|
|
1836
1836
|
var hash = abs(this_0);
|
|
1837
|
-
var headerIndex = hash % this.
|
|
1838
|
-
while (!(this.
|
|
1837
|
+
var headerIndex = hash % this.l5k_1 | 0;
|
|
1838
|
+
while (!(this.m5k_1.p5r(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
1839
1839
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
1840
|
-
return this.
|
|
1840
|
+
return this.o5k(imul(headerIndex, 6));
|
|
1841
1841
|
}
|
|
1842
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
1842
|
+
headerIndex = (headerIndex + 1 | 0) % this.l5k_1 | 0;
|
|
1843
1843
|
}
|
|
1844
1844
|
return null;
|
|
1845
1845
|
};
|
|
1846
|
-
protoOf(HttpHeadersMap).
|
|
1846
|
+
protoOf(HttpHeadersMap).g4y = function (name) {
|
|
1847
1847
|
return sequence(HttpHeadersMap$getAll$slambda_0(this, name, null));
|
|
1848
1848
|
};
|
|
1849
|
-
protoOf(HttpHeadersMap).
|
|
1850
|
-
return this.
|
|
1849
|
+
protoOf(HttpHeadersMap).p5k = function () {
|
|
1850
|
+
return this.m5k_1.t5r();
|
|
1851
1851
|
};
|
|
1852
|
-
protoOf(HttpHeadersMap).
|
|
1852
|
+
protoOf(HttpHeadersMap).u5r = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
1853
1853
|
if (thresholdReached(this)) {
|
|
1854
1854
|
resize(this);
|
|
1855
1855
|
}
|
|
1856
1856
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
1857
|
-
var this_0 = hashCodeLowerCase(this.
|
|
1857
|
+
var this_0 = hashCodeLowerCase(this.j5k_1, nameStartIndex, nameEndIndex);
|
|
1858
1858
|
var hash = abs(this_0);
|
|
1859
|
-
var name = this.
|
|
1860
|
-
var headerIndex = hash % this.
|
|
1859
|
+
var name = this.j5k_1.c(nameStartIndex, nameEndIndex);
|
|
1860
|
+
var headerIndex = hash % this.l5k_1 | 0;
|
|
1861
1861
|
var sameNameHeaderIndex = -1;
|
|
1862
|
-
while (!(this.
|
|
1862
|
+
while (!(this.m5k_1.p5r(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
1863
1863
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
1864
1864
|
sameNameHeaderIndex = headerIndex;
|
|
1865
1865
|
}
|
|
1866
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
1866
|
+
headerIndex = (headerIndex + 1 | 0) % this.l5k_1 | 0;
|
|
1867
1867
|
}
|
|
1868
1868
|
var headerOffset = imul(headerIndex, 6);
|
|
1869
|
-
this.
|
|
1870
|
-
this.
|
|
1871
|
-
this.
|
|
1872
|
-
this.
|
|
1873
|
-
this.
|
|
1874
|
-
this.
|
|
1869
|
+
this.m5k_1.s5r(headerOffset + 0 | 0, hash);
|
|
1870
|
+
this.m5k_1.s5r(headerOffset + 1 | 0, nameStartIndex);
|
|
1871
|
+
this.m5k_1.s5r(headerOffset + 2 | 0, nameEndIndex);
|
|
1872
|
+
this.m5k_1.s5r(headerOffset + 3 | 0, valueStartIndex);
|
|
1873
|
+
this.m5k_1.s5r(headerOffset + 4 | 0, valueEndIndex);
|
|
1874
|
+
this.m5k_1.s5r(headerOffset + 5 | 0, -1);
|
|
1875
1875
|
if (!(sameNameHeaderIndex === -1)) {
|
|
1876
|
-
this.
|
|
1876
|
+
this.m5k_1.s5r(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
1877
1877
|
}
|
|
1878
|
-
this.
|
|
1878
|
+
this.k5k_1 = this.k5k_1 + 1 | 0;
|
|
1879
1879
|
};
|
|
1880
|
-
protoOf(HttpHeadersMap).
|
|
1881
|
-
var nameStartIndex = this.
|
|
1882
|
-
var nameEndIndex = this.
|
|
1883
|
-
return this.
|
|
1880
|
+
protoOf(HttpHeadersMap).n5k = function (headerOffset) {
|
|
1881
|
+
var nameStartIndex = this.m5k_1.p5r(headerOffset + 1 | 0);
|
|
1882
|
+
var nameEndIndex = this.m5k_1.p5r(headerOffset + 2 | 0);
|
|
1883
|
+
return this.j5k_1.c(nameStartIndex, nameEndIndex);
|
|
1884
1884
|
};
|
|
1885
|
-
protoOf(HttpHeadersMap).
|
|
1886
|
-
var valueStartIndex = this.
|
|
1887
|
-
var valueEndIndex = this.
|
|
1888
|
-
return this.
|
|
1885
|
+
protoOf(HttpHeadersMap).o5k = function (headerOffset) {
|
|
1886
|
+
var valueStartIndex = this.m5k_1.p5r(headerOffset + 3 | 0);
|
|
1887
|
+
var valueEndIndex = this.m5k_1.p5r(headerOffset + 4 | 0);
|
|
1888
|
+
return this.j5k_1.c(valueStartIndex, valueEndIndex);
|
|
1889
1889
|
};
|
|
1890
1890
|
protoOf(HttpHeadersMap).m1h = function () {
|
|
1891
|
-
this.
|
|
1892
|
-
this.
|
|
1893
|
-
get_HeadersDataPool().
|
|
1894
|
-
this.
|
|
1891
|
+
this.k5k_1 = 0;
|
|
1892
|
+
this.l5k_1 = 0;
|
|
1893
|
+
get_HeadersDataPool().c4w(this.m5k_1);
|
|
1894
|
+
this.m5k_1 = get_HeadersDataPool().b4w();
|
|
1895
1895
|
};
|
|
1896
1896
|
protoOf(HttpHeadersMap).toString = function () {
|
|
1897
1897
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -1902,20 +1902,20 @@
|
|
|
1902
1902
|
};
|
|
1903
1903
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
1904
1904
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
1905
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
1905
|
+
var _iterator__ex2g4s = _this__u8e3s4.p5k().p();
|
|
1906
1906
|
while (_iterator__ex2g4s.q()) {
|
|
1907
1907
|
var offset = _iterator__ex2g4s.r();
|
|
1908
1908
|
out.i(indent);
|
|
1909
|
-
out.i(_this__u8e3s4.
|
|
1909
|
+
out.i(_this__u8e3s4.n5k(offset));
|
|
1910
1910
|
out.i(' => ');
|
|
1911
|
-
out.i(_this__u8e3s4.
|
|
1911
|
+
out.i(_this__u8e3s4.o5k(offset));
|
|
1912
1912
|
out.i('\n');
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
function IntArrayPool$1() {
|
|
1916
1916
|
DefaultPool.call(this, 1000);
|
|
1917
1917
|
}
|
|
1918
|
-
protoOf(IntArrayPool$1).
|
|
1918
|
+
protoOf(IntArrayPool$1).u4v = function () {
|
|
1919
1919
|
var tmp = 0;
|
|
1920
1920
|
var tmp_0 = new Int32Array(768);
|
|
1921
1921
|
while (tmp < 768) {
|
|
@@ -1924,25 +1924,25 @@
|
|
|
1924
1924
|
}
|
|
1925
1925
|
return tmp_0;
|
|
1926
1926
|
};
|
|
1927
|
-
protoOf(IntArrayPool$1).
|
|
1927
|
+
protoOf(IntArrayPool$1).u5s = function (instance) {
|
|
1928
1928
|
fill(instance, -1);
|
|
1929
|
-
return protoOf(DefaultPool).
|
|
1929
|
+
return protoOf(DefaultPool).z4v.call(this, instance);
|
|
1930
1930
|
};
|
|
1931
|
-
protoOf(IntArrayPool$1).
|
|
1932
|
-
return this.
|
|
1931
|
+
protoOf(IntArrayPool$1).z4v = function (instance) {
|
|
1932
|
+
return this.u5s(isIntArray(instance) ? instance : THROW_CCE());
|
|
1933
1933
|
};
|
|
1934
1934
|
function HeadersDataPool$1() {
|
|
1935
1935
|
DefaultPool.call(this, 1000);
|
|
1936
1936
|
}
|
|
1937
|
-
protoOf(HeadersDataPool$1).
|
|
1937
|
+
protoOf(HeadersDataPool$1).u4v = function () {
|
|
1938
1938
|
return new HeadersData();
|
|
1939
1939
|
};
|
|
1940
|
-
protoOf(HeadersDataPool$1).
|
|
1940
|
+
protoOf(HeadersDataPool$1).y5s = function (instance) {
|
|
1941
1941
|
instance.m1h();
|
|
1942
|
-
return protoOf(DefaultPool).
|
|
1942
|
+
return protoOf(DefaultPool).z4v.call(this, instance);
|
|
1943
1943
|
};
|
|
1944
|
-
protoOf(HeadersDataPool$1).
|
|
1945
|
-
return this.
|
|
1944
|
+
protoOf(HeadersDataPool$1).z4v = function (instance) {
|
|
1945
|
+
return this.y5s(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
1946
1946
|
};
|
|
1947
1947
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
1948
1948
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -1976,16 +1976,16 @@
|
|
|
1976
1976
|
}
|
|
1977
1977
|
function parseHeaderName(text, range) {
|
|
1978
1978
|
_init_properties_HttpParser_kt__gbdom1();
|
|
1979
|
-
var index = range.
|
|
1980
|
-
var end = range.
|
|
1979
|
+
var index = range.l5t_1;
|
|
1980
|
+
var end = range.m5t_1;
|
|
1981
1981
|
while (index < end) {
|
|
1982
1982
|
var ch = text.b(index);
|
|
1983
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
1984
|
-
range.
|
|
1983
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.l5t_1)) {
|
|
1984
|
+
range.l5t_1 = index + 1 | 0;
|
|
1985
1985
|
return index;
|
|
1986
1986
|
}
|
|
1987
1987
|
if (isDelimiter(ch)) {
|
|
1988
|
-
parseHeaderNameFailed(text, index, range.
|
|
1988
|
+
parseHeaderNameFailed(text, index, range.l5t_1, ch);
|
|
1989
1989
|
}
|
|
1990
1990
|
index = index + 1 | 0;
|
|
1991
1991
|
}
|
|
@@ -1993,12 +1993,12 @@
|
|
|
1993
1993
|
}
|
|
1994
1994
|
function parseHeaderValue(text, range) {
|
|
1995
1995
|
_init_properties_HttpParser_kt__gbdom1();
|
|
1996
|
-
var start = range.
|
|
1997
|
-
var end = range.
|
|
1996
|
+
var start = range.l5t_1;
|
|
1997
|
+
var end = range.m5t_1;
|
|
1998
1998
|
var index = start;
|
|
1999
1999
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
2000
2000
|
if (index >= end) {
|
|
2001
|
-
range.
|
|
2001
|
+
range.l5t_1 = end;
|
|
2002
2002
|
return Unit_instance;
|
|
2003
2003
|
}
|
|
2004
2004
|
var valueStart = index;
|
|
@@ -2012,8 +2012,8 @@
|
|
|
2012
2012
|
valueLastIndex = index;
|
|
2013
2013
|
index = index + 1 | 0;
|
|
2014
2014
|
}
|
|
2015
|
-
range.
|
|
2016
|
-
range.
|
|
2015
|
+
range.l5t_1 = valueStart;
|
|
2016
|
+
range.m5t_1 = valueLastIndex + 1 | 0;
|
|
2017
2017
|
}
|
|
2018
2018
|
function validateHostHeader(host) {
|
|
2019
2019
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -2054,9 +2054,9 @@
|
|
|
2054
2054
|
}
|
|
2055
2055
|
function noColonFound(text, range) {
|
|
2056
2056
|
_init_properties_HttpParser_kt__gbdom1();
|
|
2057
|
-
var tmp2 = range.
|
|
2057
|
+
var tmp2 = range.l5t_1;
|
|
2058
2058
|
// Inline function 'kotlin.text.substring' call
|
|
2059
|
-
var endIndex = range.
|
|
2059
|
+
var endIndex = range.m5t_1;
|
|
2060
2060
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
2061
2061
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
2062
2062
|
}
|
|
@@ -2080,11 +2080,11 @@
|
|
|
2080
2080
|
_init_properties_HttpParser_kt__gbdom1();
|
|
2081
2081
|
skipSpaces(text, range);
|
|
2082
2082
|
var tmp = get_DefaultHttpMethods();
|
|
2083
|
-
var tmp_0 = range.
|
|
2084
|
-
var tmp_1 = range.
|
|
2085
|
-
var exact = singleOrNull(tmp.
|
|
2083
|
+
var tmp_0 = range.l5t_1;
|
|
2084
|
+
var tmp_1 = range.m5t_1;
|
|
2085
|
+
var exact = singleOrNull(tmp.j5q(text, tmp_0, tmp_1, VOID, parseHttpMethod$lambda));
|
|
2086
2086
|
if (!(exact == null)) {
|
|
2087
|
-
range.
|
|
2087
|
+
range.l5t_1 = range.l5t_1 + exact.y5c_1.length | 0;
|
|
2088
2088
|
return exact;
|
|
2089
2089
|
}
|
|
2090
2090
|
return parseHttpMethodFull(text, range);
|
|
@@ -2092,33 +2092,33 @@
|
|
|
2092
2092
|
function parseUri(text, range) {
|
|
2093
2093
|
_init_properties_HttpParser_kt__gbdom1();
|
|
2094
2094
|
skipSpaces(text, range);
|
|
2095
|
-
var start = range.
|
|
2095
|
+
var start = range.l5t_1;
|
|
2096
2096
|
var spaceOrEnd = findSpaceOrEnd(text, range);
|
|
2097
2097
|
var length = spaceOrEnd - start | 0;
|
|
2098
2098
|
if (length <= 0)
|
|
2099
2099
|
return '';
|
|
2100
2100
|
if (length === 1 && charSequenceGet(text, start) === _Char___init__impl__6a9atx(47)) {
|
|
2101
|
-
range.
|
|
2101
|
+
range.l5t_1 = spaceOrEnd;
|
|
2102
2102
|
return '/';
|
|
2103
2103
|
}
|
|
2104
2104
|
var s = charSequenceSubSequence(text, start, spaceOrEnd);
|
|
2105
|
-
range.
|
|
2105
|
+
range.l5t_1 = spaceOrEnd;
|
|
2106
2106
|
return s;
|
|
2107
2107
|
}
|
|
2108
2108
|
function parseVersion(text, range) {
|
|
2109
2109
|
_init_properties_HttpParser_kt__gbdom1();
|
|
2110
2110
|
skipSpaces(text, range);
|
|
2111
2111
|
// Inline function 'kotlin.check' call
|
|
2112
|
-
if (!(range.
|
|
2112
|
+
if (!(range.l5t_1 < range.m5t_1)) {
|
|
2113
2113
|
var message = 'Failed to parse version: ' + toString(text);
|
|
2114
2114
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2115
2115
|
}
|
|
2116
2116
|
var tmp = get_versions();
|
|
2117
|
-
var tmp_0 = range.
|
|
2118
|
-
var tmp_1 = range.
|
|
2119
|
-
var exact = singleOrNull(tmp.
|
|
2117
|
+
var tmp_0 = range.l5t_1;
|
|
2118
|
+
var tmp_1 = range.m5t_1;
|
|
2119
|
+
var exact = singleOrNull(tmp.j5q(text, tmp_0, tmp_1, VOID, parseVersion$lambda));
|
|
2120
2120
|
if (!(exact == null)) {
|
|
2121
|
-
range.
|
|
2121
|
+
range.l5t_1 = range.l5t_1 + exact.length | 0;
|
|
2122
2122
|
return exact;
|
|
2123
2123
|
}
|
|
2124
2124
|
unsupportedHttpVersion(nextToken(text, range));
|
|
@@ -2141,9 +2141,9 @@
|
|
|
2141
2141
|
}
|
|
2142
2142
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
2143
2143
|
CoroutineImpl.call(this, resultContinuation);
|
|
2144
|
-
this.
|
|
2145
|
-
this.
|
|
2146
|
-
this.
|
|
2144
|
+
this.h5t_1 = input;
|
|
2145
|
+
this.i5t_1 = builder;
|
|
2146
|
+
this.j5t_1 = range;
|
|
2147
2147
|
}
|
|
2148
2148
|
protoOf($parseHeadersCOROUTINE$).fa = function () {
|
|
2149
2149
|
var suspendResult = this.z9_1;
|
|
@@ -2153,7 +2153,7 @@
|
|
|
2153
2153
|
switch (tmp) {
|
|
2154
2154
|
case 0:
|
|
2155
2155
|
this.y9_1 = 7;
|
|
2156
|
-
this.
|
|
2156
|
+
this.k5t_1 = new HttpHeadersMap(this.i5t_1);
|
|
2157
2157
|
this.y9_1 = 6;
|
|
2158
2158
|
this.x9_1 = 1;
|
|
2159
2159
|
continue $sm;
|
|
@@ -2164,7 +2164,7 @@
|
|
|
2164
2164
|
}
|
|
2165
2165
|
|
|
2166
2166
|
this.x9_1 = 2;
|
|
2167
|
-
suspendResult = readUTF8LineTo(this.
|
|
2167
|
+
suspendResult = readUTF8LineTo(this.h5t_1, this.i5t_1, 8192, get_httpLineEndings(), this);
|
|
2168
2168
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2169
2169
|
return suspendResult;
|
|
2170
2170
|
}
|
|
@@ -2173,7 +2173,7 @@
|
|
|
2173
2173
|
case 2:
|
|
2174
2174
|
var ARGUMENT = suspendResult;
|
|
2175
2175
|
if (!ARGUMENT) {
|
|
2176
|
-
this.
|
|
2176
|
+
this.k5t_1.m1h();
|
|
2177
2177
|
return null;
|
|
2178
2178
|
} else {
|
|
2179
2179
|
this.x9_1 = 3;
|
|
@@ -2181,8 +2181,8 @@
|
|
|
2181
2181
|
}
|
|
2182
2182
|
|
|
2183
2183
|
case 3:
|
|
2184
|
-
this.
|
|
2185
|
-
var rangeLength = this.
|
|
2184
|
+
this.j5t_1.m5t_1 = this.i5t_1.q5s_1;
|
|
2185
|
+
var rangeLength = this.j5t_1.m5t_1 - this.j5t_1.l5t_1 | 0;
|
|
2186
2186
|
if (rangeLength === 0) {
|
|
2187
2187
|
this.x9_1 = 5;
|
|
2188
2188
|
continue $sm;
|
|
@@ -2197,29 +2197,29 @@
|
|
|
2197
2197
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2198
2198
|
}
|
|
2199
2199
|
|
|
2200
|
-
var nameStart = this.
|
|
2201
|
-
var nameEnd = parseHeaderName(this.
|
|
2202
|
-
var headerEnd = this.
|
|
2203
|
-
parseHeaderValue(this.
|
|
2204
|
-
var valueStart = this.
|
|
2205
|
-
var valueEnd = this.
|
|
2206
|
-
this.
|
|
2207
|
-
this.
|
|
2200
|
+
var nameStart = this.j5t_1.l5t_1;
|
|
2201
|
+
var nameEnd = parseHeaderName(this.i5t_1, this.j5t_1);
|
|
2202
|
+
var headerEnd = this.j5t_1.m5t_1;
|
|
2203
|
+
parseHeaderValue(this.i5t_1, this.j5t_1);
|
|
2204
|
+
var valueStart = this.j5t_1.l5t_1;
|
|
2205
|
+
var valueEnd = this.j5t_1.m5t_1;
|
|
2206
|
+
this.j5t_1.l5t_1 = headerEnd;
|
|
2207
|
+
this.k5t_1.u5r(nameStart, nameEnd, valueStart, valueEnd);
|
|
2208
2208
|
this.x9_1 = 1;
|
|
2209
2209
|
continue $sm;
|
|
2210
2210
|
case 5:
|
|
2211
|
-
var host = this.
|
|
2211
|
+
var host = this.k5t_1.cf(HttpHeaders_getInstance().o59_1);
|
|
2212
2212
|
if (!(host == null)) {
|
|
2213
2213
|
validateHostHeader(host);
|
|
2214
2214
|
}
|
|
2215
2215
|
|
|
2216
|
-
return this.
|
|
2216
|
+
return this.k5t_1;
|
|
2217
2217
|
case 6:
|
|
2218
2218
|
this.y9_1 = 7;
|
|
2219
2219
|
var tmp_0 = this.aa_1;
|
|
2220
2220
|
if (tmp_0 instanceof Error) {
|
|
2221
2221
|
var t = this.aa_1;
|
|
2222
|
-
this.
|
|
2222
|
+
this.k5t_1.m1h();
|
|
2223
2223
|
throw t;
|
|
2224
2224
|
} else {
|
|
2225
2225
|
throw this.aa_1;
|
|
@@ -2241,7 +2241,7 @@
|
|
|
2241
2241
|
};
|
|
2242
2242
|
function $parseRequestCOROUTINE$(input, resultContinuation) {
|
|
2243
2243
|
CoroutineImpl.call(this, resultContinuation);
|
|
2244
|
-
this.
|
|
2244
|
+
this.v5t_1 = input;
|
|
2245
2245
|
}
|
|
2246
2246
|
protoOf($parseRequestCOROUTINE$).fa = function () {
|
|
2247
2247
|
var suspendResult = this.z9_1;
|
|
@@ -2251,8 +2251,8 @@
|
|
|
2251
2251
|
switch (tmp) {
|
|
2252
2252
|
case 0:
|
|
2253
2253
|
this.y9_1 = 8;
|
|
2254
|
-
this.
|
|
2255
|
-
this.
|
|
2254
|
+
this.w5t_1 = new CharArrayBuilder();
|
|
2255
|
+
this.x5t_1 = new MutableRange(0, 0);
|
|
2256
2256
|
this.y9_1 = 7;
|
|
2257
2257
|
this.x9_1 = 1;
|
|
2258
2258
|
continue $sm;
|
|
@@ -2263,15 +2263,15 @@
|
|
|
2263
2263
|
}
|
|
2264
2264
|
|
|
2265
2265
|
this.x9_1 = 2;
|
|
2266
|
-
suspendResult = readUTF8LineTo(this.
|
|
2266
|
+
suspendResult = readUTF8LineTo(this.v5t_1, this.w5t_1, 8192, get_httpLineEndings(), this);
|
|
2267
2267
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2268
2268
|
return suspendResult;
|
|
2269
2269
|
}
|
|
2270
2270
|
|
|
2271
2271
|
continue $sm;
|
|
2272
2272
|
case 2:
|
|
2273
|
-
this.
|
|
2274
|
-
if (!this.
|
|
2273
|
+
this.y5t_1 = suspendResult;
|
|
2274
|
+
if (!this.y5t_1) {
|
|
2275
2275
|
return null;
|
|
2276
2276
|
} else {
|
|
2277
2277
|
this.x9_1 = 3;
|
|
@@ -2279,8 +2279,8 @@
|
|
|
2279
2279
|
}
|
|
2280
2280
|
|
|
2281
2281
|
case 3:
|
|
2282
|
-
this.
|
|
2283
|
-
if (this.
|
|
2282
|
+
this.x5t_1.m5t_1 = this.w5t_1.q5s_1;
|
|
2283
|
+
if (this.x5t_1.l5t_1 === this.x5t_1.m5t_1) {
|
|
2284
2284
|
this.x9_1 = 1;
|
|
2285
2285
|
continue $sm;
|
|
2286
2286
|
} else {
|
|
@@ -2289,25 +2289,25 @@
|
|
|
2289
2289
|
}
|
|
2290
2290
|
|
|
2291
2291
|
case 4:
|
|
2292
|
-
this.
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
2295
|
-
skipSpaces(this.
|
|
2296
|
-
if (!(this.
|
|
2297
|
-
var tmp0 = this.
|
|
2298
|
-
var tmp2 = this.
|
|
2299
|
-
var endIndex = this.
|
|
2292
|
+
this.z5t_1 = parseHttpMethod(this.w5t_1, this.x5t_1);
|
|
2293
|
+
this.a5u_1 = parseUri(this.w5t_1, this.x5t_1);
|
|
2294
|
+
this.b5u_1 = parseVersion(this.w5t_1, this.x5t_1);
|
|
2295
|
+
skipSpaces(this.w5t_1, this.x5t_1);
|
|
2296
|
+
if (!(this.x5t_1.l5t_1 === this.x5t_1.m5t_1)) {
|
|
2297
|
+
var tmp0 = this.w5t_1;
|
|
2298
|
+
var tmp2 = this.x5t_1.l5t_1;
|
|
2299
|
+
var endIndex = this.x5t_1.m5t_1;
|
|
2300
2300
|
throw new ParserException('Extra characters in request line: ' + toString(charSequenceSubSequence(tmp0, tmp2, endIndex)));
|
|
2301
2301
|
}
|
|
2302
2302
|
|
|
2303
|
-
var this_0 = this.
|
|
2303
|
+
var this_0 = this.a5u_1;
|
|
2304
2304
|
if (charSequenceLength(this_0) === 0)
|
|
2305
2305
|
throw new ParserException('URI is not specified');
|
|
2306
|
-
var this_1 = this.
|
|
2306
|
+
var this_1 = this.b5u_1;
|
|
2307
2307
|
if (charSequenceLength(this_1) === 0)
|
|
2308
2308
|
throw new ParserException('HTTP version is not specified');
|
|
2309
2309
|
this.x9_1 = 5;
|
|
2310
|
-
suspendResult = parseHeaders(this.
|
|
2310
|
+
suspendResult = parseHeaders(this.v5t_1, this.w5t_1, this.x5t_1, this);
|
|
2311
2311
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2312
2312
|
return suspendResult;
|
|
2313
2313
|
}
|
|
@@ -2323,7 +2323,7 @@
|
|
|
2323
2323
|
}
|
|
2324
2324
|
|
|
2325
2325
|
var headers = tmp_0;
|
|
2326
|
-
return new Request(this.
|
|
2326
|
+
return new Request(this.z5t_1, this.a5u_1, this.b5u_1, headers, this.w5t_1);
|
|
2327
2327
|
case 6:
|
|
2328
2328
|
this.y9_1 = 8;
|
|
2329
2329
|
this.x9_1 = 9;
|
|
@@ -2333,7 +2333,7 @@
|
|
|
2333
2333
|
var tmp_1 = this.aa_1;
|
|
2334
2334
|
if (tmp_1 instanceof Error) {
|
|
2335
2335
|
var t = this.aa_1;
|
|
2336
|
-
this.
|
|
2336
|
+
this.w5t_1.m1h();
|
|
2337
2337
|
throw t;
|
|
2338
2338
|
} else {
|
|
2339
2339
|
throw this.aa_1;
|
|
@@ -2361,8 +2361,8 @@
|
|
|
2361
2361
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
2362
2362
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
2363
2363
|
hostForbiddenSymbols = setOf([new Char(_Char___init__impl__6a9atx(47)), new Char(_Char___init__impl__6a9atx(63)), new Char(_Char___init__impl__6a9atx(35)), new Char(_Char___init__impl__6a9atx(64))]);
|
|
2364
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance_2().
|
|
2365
|
-
versions = Companion_instance_0.
|
|
2364
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance_2().p4n_1, Companion_getInstance_2().o4n_1);
|
|
2365
|
+
versions = Companion_instance_0.c5u(listOf_0(['HTTP/1.0', 'HTTP/1.1']));
|
|
2366
2366
|
}
|
|
2367
2367
|
}
|
|
2368
2368
|
function get_CrLf_0() {
|
|
@@ -2379,7 +2379,7 @@
|
|
|
2379
2379
|
return function (t) {
|
|
2380
2380
|
var tmp;
|
|
2381
2381
|
if (!(t == null)) {
|
|
2382
|
-
this$0.
|
|
2382
|
+
this$0.b5m_1.f1z().m1h();
|
|
2383
2383
|
tmp = Unit_instance;
|
|
2384
2384
|
}
|
|
2385
2385
|
return Unit_instance;
|
|
@@ -2387,33 +2387,33 @@
|
|
|
2387
2387
|
}
|
|
2388
2388
|
function Preamble(body) {
|
|
2389
2389
|
MultipartEvent.call(this);
|
|
2390
|
-
this.
|
|
2390
|
+
this.d5u_1 = body;
|
|
2391
2391
|
}
|
|
2392
2392
|
protoOf(Preamble).m1h = function () {
|
|
2393
|
-
this.
|
|
2393
|
+
this.d5u_1.u4();
|
|
2394
2394
|
};
|
|
2395
2395
|
function MultipartPart(headers, body) {
|
|
2396
2396
|
MultipartEvent.call(this);
|
|
2397
|
-
this.
|
|
2398
|
-
this.
|
|
2397
|
+
this.b5m_1 = headers;
|
|
2398
|
+
this.c5m_1 = body;
|
|
2399
2399
|
}
|
|
2400
2400
|
protoOf(MultipartPart).m1h = function () {
|
|
2401
|
-
this.
|
|
2402
|
-
discardBlocking(this.
|
|
2401
|
+
this.b5m_1.c1x(MultipartEvent$MultipartPart$release$lambda(this));
|
|
2402
|
+
discardBlocking(this.c5m_1);
|
|
2403
2403
|
};
|
|
2404
2404
|
function Epilogue(body) {
|
|
2405
2405
|
MultipartEvent.call(this);
|
|
2406
|
-
this.
|
|
2406
|
+
this.e5u_1 = body;
|
|
2407
2407
|
}
|
|
2408
2408
|
protoOf(Epilogue).m1h = function () {
|
|
2409
|
-
this.
|
|
2409
|
+
this.e5u_1.u4();
|
|
2410
2410
|
};
|
|
2411
2411
|
function MultipartEvent() {
|
|
2412
2412
|
}
|
|
2413
2413
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
2414
2414
|
maxPartSize = maxPartSize === VOID ? new Long(-1, 2147483647) : maxPartSize;
|
|
2415
2415
|
_init_properties_Multipart_kt__ato98a();
|
|
2416
|
-
if (!MultiPart_getInstance().
|
|
2416
|
+
if (!MultiPart_getInstance().g57(contentType)) {
|
|
2417
2417
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
2418
2418
|
}
|
|
2419
2419
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -2590,18 +2590,18 @@
|
|
|
2590
2590
|
boundaryBytes[_unary__edvuaz] = value;
|
|
2591
2591
|
}
|
|
2592
2592
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
2593
|
-
this.
|
|
2594
|
-
this.
|
|
2593
|
+
this.a5w_1 = $firstBoundary;
|
|
2594
|
+
this.b5w_1 = $countedInput;
|
|
2595
2595
|
CoroutineImpl.call(this, resultContinuation);
|
|
2596
2596
|
}
|
|
2597
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
2598
|
-
var tmp = this.
|
|
2597
|
+
protoOf(parseMultipart$slambda$slambda).d5w = function ($this$writer, $completion) {
|
|
2598
|
+
var tmp = this.e5w($this$writer, $completion);
|
|
2599
2599
|
tmp.z9_1 = Unit_instance;
|
|
2600
2600
|
tmp.aa_1 = null;
|
|
2601
2601
|
return tmp.fa();
|
|
2602
2602
|
};
|
|
2603
2603
|
protoOf(parseMultipart$slambda$slambda).ra = function (p1, $completion) {
|
|
2604
|
-
return this.
|
|
2604
|
+
return this.d5w(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
2605
2605
|
};
|
|
2606
2606
|
protoOf(parseMultipart$slambda$slambda).fa = function () {
|
|
2607
2607
|
var suspendResult = this.z9_1;
|
|
@@ -2612,7 +2612,7 @@
|
|
|
2612
2612
|
case 0:
|
|
2613
2613
|
this.y9_1 = 3;
|
|
2614
2614
|
this.x9_1 = 1;
|
|
2615
|
-
suspendResult = parsePreambleImpl(this.
|
|
2615
|
+
suspendResult = parsePreambleImpl(this.a5w_1, this.b5w_1, this.c5w_1.t4s_1, new Long(8193, 0), this);
|
|
2616
2616
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2617
2617
|
return suspendResult;
|
|
2618
2618
|
}
|
|
@@ -2620,7 +2620,7 @@
|
|
|
2620
2620
|
continue $sm;
|
|
2621
2621
|
case 1:
|
|
2622
2622
|
this.x9_1 = 2;
|
|
2623
|
-
suspendResult = this.
|
|
2623
|
+
suspendResult = this.c5w_1.t4s_1.t4h(this);
|
|
2624
2624
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2625
2625
|
return suspendResult;
|
|
2626
2626
|
}
|
|
@@ -2642,34 +2642,34 @@
|
|
|
2642
2642
|
}
|
|
2643
2643
|
while (true);
|
|
2644
2644
|
};
|
|
2645
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
2646
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
2647
|
-
i.
|
|
2645
|
+
protoOf(parseMultipart$slambda$slambda).e5w = function ($this$writer, completion) {
|
|
2646
|
+
var i = new parseMultipart$slambda$slambda(this.a5w_1, this.b5w_1, completion);
|
|
2647
|
+
i.c5w_1 = $this$writer;
|
|
2648
2648
|
return i;
|
|
2649
2649
|
};
|
|
2650
2650
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
2651
2651
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
2652
2652
|
var l = function ($this$writer, $completion) {
|
|
2653
|
-
return i.
|
|
2653
|
+
return i.d5w($this$writer, $completion);
|
|
2654
2654
|
};
|
|
2655
2655
|
l.$arity = 1;
|
|
2656
2656
|
return l;
|
|
2657
2657
|
}
|
|
2658
2658
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
2659
|
-
this.
|
|
2660
|
-
this.
|
|
2661
|
-
this.
|
|
2662
|
-
this.
|
|
2659
|
+
this.n5w_1 = $input;
|
|
2660
|
+
this.o5w_1 = $boundaryPrefixed;
|
|
2661
|
+
this.p5w_1 = $maxPartSize;
|
|
2662
|
+
this.q5w_1 = $totalLength;
|
|
2663
2663
|
CoroutineImpl.call(this, resultContinuation);
|
|
2664
2664
|
}
|
|
2665
|
-
protoOf(parseMultipart$slambda).
|
|
2666
|
-
var tmp = this.
|
|
2665
|
+
protoOf(parseMultipart$slambda).i5x = function ($this$produce, $completion) {
|
|
2666
|
+
var tmp = this.j5x($this$produce, $completion);
|
|
2667
2667
|
tmp.z9_1 = Unit_instance;
|
|
2668
2668
|
tmp.aa_1 = null;
|
|
2669
2669
|
return tmp.fa();
|
|
2670
2670
|
};
|
|
2671
2671
|
protoOf(parseMultipart$slambda).ra = function (p1, $completion) {
|
|
2672
|
-
return this.
|
|
2672
|
+
return this.i5x((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2673
2673
|
};
|
|
2674
2674
|
protoOf(parseMultipart$slambda).fa = function () {
|
|
2675
2675
|
var suspendResult = this.z9_1;
|
|
@@ -2679,21 +2679,21 @@
|
|
|
2679
2679
|
switch (tmp) {
|
|
2680
2680
|
case 0:
|
|
2681
2681
|
this.y9_1 = 25;
|
|
2682
|
-
this.
|
|
2683
|
-
this.
|
|
2684
|
-
this.
|
|
2682
|
+
this.s5w_1 = counted(this.n5w_1);
|
|
2683
|
+
this.t5w_1 = this.s5w_1.k4v();
|
|
2684
|
+
this.u5w_1 = this.o5w_1.o39(get_PrefixString().s());
|
|
2685
2685
|
this.x9_1 = 1;
|
|
2686
|
-
suspendResult = readRemaining(writer(this.
|
|
2686
|
+
suspendResult = readRemaining(writer(this.r5w_1, VOID, VOID, parseMultipart$slambda$slambda_0(this.u5w_1, this.s5w_1, null)).r4s_1, this);
|
|
2687
2687
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2688
2688
|
return suspendResult;
|
|
2689
2689
|
}
|
|
2690
2690
|
|
|
2691
2691
|
continue $sm;
|
|
2692
2692
|
case 1:
|
|
2693
|
-
this.
|
|
2694
|
-
if (get_remaining(this.
|
|
2693
|
+
this.v5w_1 = suspendResult;
|
|
2694
|
+
if (get_remaining(this.v5w_1).j1(new Long(0, 0)) > 0) {
|
|
2695
2695
|
this.x9_1 = 2;
|
|
2696
|
-
suspendResult = this.
|
|
2696
|
+
suspendResult = this.r5w_1.m2i(new Preamble(this.v5w_1), this);
|
|
2697
2697
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2698
2698
|
return suspendResult;
|
|
2699
2699
|
}
|
|
@@ -2710,32 +2710,32 @@
|
|
|
2710
2710
|
this.x9_1 = 4;
|
|
2711
2711
|
continue $sm;
|
|
2712
2712
|
case 4:
|
|
2713
|
-
if (!this.
|
|
2713
|
+
if (!this.s5w_1.q4h()) {
|
|
2714
2714
|
this.x9_1 = 5;
|
|
2715
|
-
suspendResult = skipIfFound(this.
|
|
2715
|
+
suspendResult = skipIfFound(this.s5w_1, get_PrefixString(), this);
|
|
2716
2716
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2717
2717
|
return suspendResult;
|
|
2718
2718
|
}
|
|
2719
2719
|
continue $sm;
|
|
2720
2720
|
} else {
|
|
2721
|
-
this.
|
|
2721
|
+
this.w5w_1 = false;
|
|
2722
2722
|
this.x9_1 = 6;
|
|
2723
2723
|
continue $sm;
|
|
2724
2724
|
}
|
|
2725
2725
|
|
|
2726
2726
|
case 5:
|
|
2727
|
-
this.
|
|
2728
|
-
this.
|
|
2727
|
+
this.x5w_1 = suspendResult;
|
|
2728
|
+
this.w5w_1 = !this.x5w_1;
|
|
2729
2729
|
this.x9_1 = 6;
|
|
2730
2730
|
continue $sm;
|
|
2731
2731
|
case 6:
|
|
2732
|
-
if (!this.
|
|
2732
|
+
if (!this.w5w_1) {
|
|
2733
2733
|
this.x9_1 = 15;
|
|
2734
2734
|
continue $sm;
|
|
2735
2735
|
}
|
|
2736
2736
|
|
|
2737
2737
|
this.x9_1 = 7;
|
|
2738
|
-
suspendResult = skipIfFound(this.
|
|
2738
|
+
suspendResult = skipIfFound(this.s5w_1, get_CrLf_0(), this);
|
|
2739
2739
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2740
2740
|
return suspendResult;
|
|
2741
2741
|
}
|
|
@@ -2743,7 +2743,7 @@
|
|
|
2743
2743
|
continue $sm;
|
|
2744
2744
|
case 7:
|
|
2745
2745
|
this.x9_1 = 8;
|
|
2746
|
-
suspendResult = skipIfFound(this.
|
|
2746
|
+
suspendResult = skipIfFound(this.s5w_1, this.u5w_1, this);
|
|
2747
2747
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2748
2748
|
return suspendResult;
|
|
2749
2749
|
}
|
|
@@ -2759,42 +2759,42 @@
|
|
|
2759
2759
|
}
|
|
2760
2760
|
|
|
2761
2761
|
case 9:
|
|
2762
|
-
this.
|
|
2763
|
-
this.
|
|
2764
|
-
this.
|
|
2762
|
+
this.y5w_1 = new ByteChannel();
|
|
2763
|
+
this.z5w_1 = CompletableDeferred();
|
|
2764
|
+
this.a5x_1 = new MultipartPart(this.z5w_1, this.y5w_1);
|
|
2765
2765
|
this.x9_1 = 10;
|
|
2766
|
-
suspendResult = this.
|
|
2766
|
+
suspendResult = this.r5w_1.m2i(this.a5x_1, this);
|
|
2767
2767
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2768
2768
|
return suspendResult;
|
|
2769
2769
|
}
|
|
2770
2770
|
|
|
2771
2771
|
continue $sm;
|
|
2772
2772
|
case 10:
|
|
2773
|
-
this.
|
|
2773
|
+
this.b5x_1 = null;
|
|
2774
2774
|
this.y9_1 = 14;
|
|
2775
2775
|
this.x9_1 = 11;
|
|
2776
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
2776
|
+
suspendResult = parsePartHeadersImpl(this.s5w_1, this);
|
|
2777
2777
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2778
2778
|
return suspendResult;
|
|
2779
2779
|
}
|
|
2780
2780
|
|
|
2781
2781
|
continue $sm;
|
|
2782
2782
|
case 11:
|
|
2783
|
-
this.
|
|
2784
|
-
if (!this.
|
|
2785
|
-
this.
|
|
2783
|
+
this.b5x_1 = suspendResult;
|
|
2784
|
+
if (!this.z5w_1.n24(this.b5x_1)) {
|
|
2785
|
+
this.b5x_1.m1h();
|
|
2786
2786
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
2787
2787
|
}
|
|
2788
2788
|
|
|
2789
2789
|
this.x9_1 = 12;
|
|
2790
|
-
suspendResult = parsePartBodyImpl(this.
|
|
2790
|
+
suspendResult = parsePartBodyImpl(this.o5w_1, this.s5w_1, this.y5w_1, this.b5x_1, this.p5w_1, this);
|
|
2791
2791
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2792
2792
|
return suspendResult;
|
|
2793
2793
|
}
|
|
2794
2794
|
|
|
2795
2795
|
continue $sm;
|
|
2796
2796
|
case 12:
|
|
2797
|
-
this.
|
|
2797
|
+
this.y5w_1.u4();
|
|
2798
2798
|
this.y9_1 = 25;
|
|
2799
2799
|
this.x9_1 = 13;
|
|
2800
2800
|
continue $sm;
|
|
@@ -2806,24 +2806,24 @@
|
|
|
2806
2806
|
this.y9_1 = 25;
|
|
2807
2807
|
var tmp_0 = this.aa_1;
|
|
2808
2808
|
if (tmp_0 instanceof Error) {
|
|
2809
|
-
this.
|
|
2810
|
-
if (this.
|
|
2811
|
-
var tmp0_safe_receiver = this.
|
|
2809
|
+
this.c5x_1 = this.aa_1;
|
|
2810
|
+
if (this.z5w_1.x24(this.c5x_1)) {
|
|
2811
|
+
var tmp0_safe_receiver = this.b5x_1;
|
|
2812
2812
|
if (tmp0_safe_receiver == null)
|
|
2813
2813
|
null;
|
|
2814
2814
|
else {
|
|
2815
2815
|
tmp0_safe_receiver.m1h();
|
|
2816
2816
|
}
|
|
2817
2817
|
}
|
|
2818
|
-
close(this.
|
|
2819
|
-
throw this.
|
|
2818
|
+
close(this.y5w_1, this.c5x_1);
|
|
2819
|
+
throw this.c5x_1;
|
|
2820
2820
|
} else {
|
|
2821
2821
|
throw this.aa_1;
|
|
2822
2822
|
}
|
|
2823
2823
|
|
|
2824
2824
|
case 15:
|
|
2825
2825
|
this.x9_1 = 16;
|
|
2826
|
-
suspendResult = skipIfFound(this.
|
|
2826
|
+
suspendResult = skipIfFound(this.s5w_1, get_CrLf_0(), this);
|
|
2827
2827
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2828
2828
|
return suspendResult;
|
|
2829
2829
|
}
|
|
@@ -2831,21 +2831,21 @@
|
|
|
2831
2831
|
continue $sm;
|
|
2832
2832
|
case 16:
|
|
2833
2833
|
this.x9_1 = 17;
|
|
2834
|
-
suspendResult = skipIfFound(this.
|
|
2834
|
+
suspendResult = skipIfFound(this.s5w_1, get_CrLf_0(), this);
|
|
2835
2835
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2836
2836
|
return suspendResult;
|
|
2837
2837
|
}
|
|
2838
2838
|
|
|
2839
2839
|
continue $sm;
|
|
2840
2840
|
case 17:
|
|
2841
|
-
if (!(this.
|
|
2842
|
-
this.
|
|
2843
|
-
this.
|
|
2844
|
-
if (this.
|
|
2841
|
+
if (!(this.q5w_1 == null)) {
|
|
2842
|
+
this.d5x_1 = this.s5w_1.k4v().c3(this.t5w_1);
|
|
2843
|
+
this.e5x_1 = this.q5w_1.c3(this.d5x_1);
|
|
2844
|
+
if (this.e5x_1.j1(new Long(2147483647, 0)) > 0)
|
|
2845
2845
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
2846
|
-
if (this.
|
|
2846
|
+
if (this.e5x_1.j1(new Long(0, 0)) > 0) {
|
|
2847
2847
|
this.x9_1 = 21;
|
|
2848
|
-
suspendResult = readPacket(this.
|
|
2848
|
+
suspendResult = readPacket(this.s5w_1, this.e5x_1.l1(), this);
|
|
2849
2849
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2850
2850
|
return suspendResult;
|
|
2851
2851
|
}
|
|
@@ -2856,7 +2856,7 @@
|
|
|
2856
2856
|
}
|
|
2857
2857
|
} else {
|
|
2858
2858
|
this.x9_1 = 18;
|
|
2859
|
-
suspendResult = readRemaining(this.
|
|
2859
|
+
suspendResult = readRemaining(this.s5w_1, this);
|
|
2860
2860
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2861
2861
|
return suspendResult;
|
|
2862
2862
|
}
|
|
@@ -2864,10 +2864,10 @@
|
|
|
2864
2864
|
}
|
|
2865
2865
|
|
|
2866
2866
|
case 18:
|
|
2867
|
-
this.
|
|
2868
|
-
if (!this.
|
|
2867
|
+
this.f5x_1 = suspendResult;
|
|
2868
|
+
if (!this.f5x_1.w39()) {
|
|
2869
2869
|
this.x9_1 = 19;
|
|
2870
|
-
suspendResult = this.
|
|
2870
|
+
suspendResult = this.r5w_1.m2i(new Epilogue(this.f5x_1), this);
|
|
2871
2871
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2872
2872
|
return suspendResult;
|
|
2873
2873
|
}
|
|
@@ -2884,10 +2884,10 @@
|
|
|
2884
2884
|
this.x9_1 = 24;
|
|
2885
2885
|
continue $sm;
|
|
2886
2886
|
case 21:
|
|
2887
|
-
this.
|
|
2888
|
-
this.
|
|
2887
|
+
this.g5x_1 = suspendResult;
|
|
2888
|
+
this.h5x_1 = new Epilogue(this.g5x_1);
|
|
2889
2889
|
this.x9_1 = 22;
|
|
2890
|
-
suspendResult = this.
|
|
2890
|
+
suspendResult = this.r5w_1.m2i(this.h5x_1, this);
|
|
2891
2891
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2892
2892
|
return suspendResult;
|
|
2893
2893
|
}
|
|
@@ -2915,22 +2915,22 @@
|
|
|
2915
2915
|
}
|
|
2916
2916
|
while (true);
|
|
2917
2917
|
};
|
|
2918
|
-
protoOf(parseMultipart$slambda).
|
|
2919
|
-
var i = new parseMultipart$slambda(this.
|
|
2920
|
-
i.
|
|
2918
|
+
protoOf(parseMultipart$slambda).j5x = function ($this$produce, completion) {
|
|
2919
|
+
var i = new parseMultipart$slambda(this.n5w_1, this.o5w_1, this.p5w_1, this.q5w_1, completion);
|
|
2920
|
+
i.r5w_1 = $this$produce;
|
|
2921
2921
|
return i;
|
|
2922
2922
|
};
|
|
2923
2923
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
2924
2924
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
2925
2925
|
var l = function ($this$produce, $completion) {
|
|
2926
|
-
return i.
|
|
2926
|
+
return i.i5x($this$produce, $completion);
|
|
2927
2927
|
};
|
|
2928
2928
|
l.$arity = 1;
|
|
2929
2929
|
return l;
|
|
2930
2930
|
}
|
|
2931
2931
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
2932
2932
|
CoroutineImpl.call(this, resultContinuation);
|
|
2933
|
-
this.
|
|
2933
|
+
this.n5u_1 = input;
|
|
2934
2934
|
}
|
|
2935
2935
|
protoOf($parsePartHeadersImplCOROUTINE$).fa = function () {
|
|
2936
2936
|
var suspendResult = this.z9_1;
|
|
@@ -2940,10 +2940,10 @@
|
|
|
2940
2940
|
switch (tmp) {
|
|
2941
2941
|
case 0:
|
|
2942
2942
|
this.y9_1 = 3;
|
|
2943
|
-
this.
|
|
2943
|
+
this.o5u_1 = new CharArrayBuilder();
|
|
2944
2944
|
this.y9_1 = 2;
|
|
2945
2945
|
this.x9_1 = 1;
|
|
2946
|
-
suspendResult = parseHeaders(this.
|
|
2946
|
+
suspendResult = parseHeaders(this.n5u_1, this.o5u_1, VOID, this);
|
|
2947
2947
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2948
2948
|
return suspendResult;
|
|
2949
2949
|
}
|
|
@@ -2964,7 +2964,7 @@
|
|
|
2964
2964
|
var tmp_1 = this.aa_1;
|
|
2965
2965
|
if (tmp_1 instanceof Error) {
|
|
2966
2966
|
var t = this.aa_1;
|
|
2967
|
-
this.
|
|
2967
|
+
this.o5u_1.m1h();
|
|
2968
2968
|
throw t;
|
|
2969
2969
|
} else {
|
|
2970
2970
|
throw this.aa_1;
|
|
@@ -2986,11 +2986,11 @@
|
|
|
2986
2986
|
};
|
|
2987
2987
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
2988
2988
|
CoroutineImpl.call(this, resultContinuation);
|
|
2989
|
-
this.
|
|
2990
|
-
this.
|
|
2991
|
-
this.
|
|
2992
|
-
this.
|
|
2993
|
-
this.
|
|
2989
|
+
this.x5u_1 = boundaryPrefixed;
|
|
2990
|
+
this.y5u_1 = input;
|
|
2991
|
+
this.z5u_1 = output;
|
|
2992
|
+
this.a5v_1 = headers;
|
|
2993
|
+
this.b5v_1 = limit;
|
|
2994
2994
|
}
|
|
2995
2995
|
protoOf($parsePartBodyImplCOROUTINE$).fa = function () {
|
|
2996
2996
|
var suspendResult = this.z9_1;
|
|
@@ -3001,59 +3001,59 @@
|
|
|
3001
3001
|
case 0:
|
|
3002
3002
|
this.y9_1 = 6;
|
|
3003
3003
|
var tmp_0 = this;
|
|
3004
|
-
var tmp0_safe_receiver = this.
|
|
3005
|
-
tmp_0.
|
|
3006
|
-
if (this.
|
|
3004
|
+
var tmp0_safe_receiver = this.a5v_1.cf('Content-Length');
|
|
3005
|
+
tmp_0.c5v_1 = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
3006
|
+
if (this.c5v_1 == null) {
|
|
3007
3007
|
this.x9_1 = 3;
|
|
3008
|
-
suspendResult = readUntil(this.
|
|
3008
|
+
suspendResult = readUntil(this.y5u_1, this.x5u_1, this.z5u_1, this.b5v_1, true, this);
|
|
3009
3009
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3010
3010
|
return suspendResult;
|
|
3011
3011
|
}
|
|
3012
3012
|
continue $sm;
|
|
3013
3013
|
} else {
|
|
3014
|
-
if ((new Long(0, 0)).k3(this.
|
|
3014
|
+
if ((new Long(0, 0)).k3(this.b5v_1).oo(this.c5v_1)) {
|
|
3015
3015
|
this.x9_1 = 1;
|
|
3016
|
-
suspendResult = copyTo(this.
|
|
3016
|
+
suspendResult = copyTo(this.y5u_1, this.z5u_1, this.c5v_1, this);
|
|
3017
3017
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3018
3018
|
return suspendResult;
|
|
3019
3019
|
}
|
|
3020
3020
|
continue $sm;
|
|
3021
3021
|
} else {
|
|
3022
3022
|
var tmp_1 = this;
|
|
3023
|
-
throwLimitExceeded(this.
|
|
3023
|
+
throwLimitExceeded(this.c5v_1, this.b5v_1);
|
|
3024
3024
|
}
|
|
3025
3025
|
}
|
|
3026
3026
|
|
|
3027
3027
|
break;
|
|
3028
3028
|
case 1:
|
|
3029
|
-
this.
|
|
3029
|
+
this.e5v_1 = suspendResult;
|
|
3030
3030
|
this.x9_1 = 2;
|
|
3031
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
3031
|
+
suspendResult = skipIfFoundReadCount(this.y5u_1, this.x5u_1, this);
|
|
3032
3032
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3033
3033
|
return suspendResult;
|
|
3034
3034
|
}
|
|
3035
3035
|
|
|
3036
3036
|
continue $sm;
|
|
3037
3037
|
case 2:
|
|
3038
|
-
this.
|
|
3039
|
-
this.
|
|
3038
|
+
this.f5v_1 = suspendResult;
|
|
3039
|
+
this.d5v_1 = this.e5v_1.b3(this.f5v_1);
|
|
3040
3040
|
this.x9_1 = 4;
|
|
3041
3041
|
continue $sm;
|
|
3042
3042
|
case 3:
|
|
3043
|
-
this.
|
|
3043
|
+
this.d5v_1 = suspendResult;
|
|
3044
3044
|
this.x9_1 = 4;
|
|
3045
3045
|
continue $sm;
|
|
3046
3046
|
case 4:
|
|
3047
|
-
this.
|
|
3047
|
+
this.g5v_1 = this.d5v_1;
|
|
3048
3048
|
this.x9_1 = 5;
|
|
3049
|
-
suspendResult = this.
|
|
3049
|
+
suspendResult = this.z5u_1.h4h(this);
|
|
3050
3050
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3051
3051
|
return suspendResult;
|
|
3052
3052
|
}
|
|
3053
3053
|
|
|
3054
3054
|
continue $sm;
|
|
3055
3055
|
case 5:
|
|
3056
|
-
return this.
|
|
3056
|
+
return this.g5v_1;
|
|
3057
3057
|
case 6:
|
|
3058
3058
|
throw this.aa_1;
|
|
3059
3059
|
}
|
|
@@ -3070,8 +3070,8 @@
|
|
|
3070
3070
|
};
|
|
3071
3071
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
3072
3072
|
CoroutineImpl.call(this, resultContinuation);
|
|
3073
|
-
this.
|
|
3074
|
-
this.
|
|
3073
|
+
this.p5v_1 = _this__u8e3s4;
|
|
3074
|
+
this.q5v_1 = prefix;
|
|
3075
3075
|
}
|
|
3076
3076
|
protoOf($skipIfFoundReadCountCOROUTINE$).fa = function () {
|
|
3077
3077
|
var suspendResult = this.z9_1;
|
|
@@ -3082,7 +3082,7 @@
|
|
|
3082
3082
|
case 0:
|
|
3083
3083
|
this.y9_1 = 3;
|
|
3084
3084
|
this.x9_1 = 1;
|
|
3085
|
-
suspendResult = skipIfFound(this.
|
|
3085
|
+
suspendResult = skipIfFound(this.p5v_1, this.q5v_1, this);
|
|
3086
3086
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3087
3087
|
return suspendResult;
|
|
3088
3088
|
}
|
|
@@ -3091,18 +3091,18 @@
|
|
|
3091
3091
|
case 1:
|
|
3092
3092
|
if (suspendResult) {
|
|
3093
3093
|
var tmp_0 = this;
|
|
3094
|
-
tmp_0.
|
|
3094
|
+
tmp_0.r5v_1 = toLong(this.q5v_1.s());
|
|
3095
3095
|
this.x9_1 = 2;
|
|
3096
3096
|
continue $sm;
|
|
3097
3097
|
} else {
|
|
3098
3098
|
var tmp_1 = this;
|
|
3099
|
-
tmp_1.
|
|
3099
|
+
tmp_1.r5v_1 = new Long(0, 0);
|
|
3100
3100
|
this.x9_1 = 2;
|
|
3101
3101
|
continue $sm;
|
|
3102
3102
|
}
|
|
3103
3103
|
|
|
3104
3104
|
case 2:
|
|
3105
|
-
return this.
|
|
3105
|
+
return this.r5v_1;
|
|
3106
3106
|
case 3:
|
|
3107
3107
|
throw this.aa_1;
|
|
3108
3108
|
}
|
|
@@ -3127,17 +3127,17 @@
|
|
|
3127
3127
|
}
|
|
3128
3128
|
function Request(method, uri, version, headers, builder) {
|
|
3129
3129
|
HttpMessage.call(this, headers, builder);
|
|
3130
|
-
this.
|
|
3131
|
-
this.
|
|
3132
|
-
this.
|
|
3130
|
+
this.m5x_1 = method;
|
|
3131
|
+
this.n5x_1 = uri;
|
|
3132
|
+
this.o5x_1 = version;
|
|
3133
3133
|
}
|
|
3134
3134
|
function HttpMessage(headers, builder) {
|
|
3135
|
-
this.
|
|
3136
|
-
this.
|
|
3135
|
+
this.p5x_1 = headers;
|
|
3136
|
+
this.q5x_1 = builder;
|
|
3137
3137
|
}
|
|
3138
3138
|
protoOf(HttpMessage).m1h = function () {
|
|
3139
|
-
this.
|
|
3140
|
-
this.
|
|
3139
|
+
this.q5x_1.m1h();
|
|
3140
|
+
this.p5x_1.m1h();
|
|
3141
3141
|
};
|
|
3142
3142
|
protoOf(HttpMessage).u4 = function () {
|
|
3143
3143
|
this.m1h();
|
|
@@ -3207,16 +3207,16 @@
|
|
|
3207
3207
|
return new Char(charSequenceGet(s, idx));
|
|
3208
3208
|
}
|
|
3209
3209
|
function Node(ch, exact, children) {
|
|
3210
|
-
this.
|
|
3211
|
-
this.
|
|
3212
|
-
this.
|
|
3210
|
+
this.r5x_1 = ch;
|
|
3211
|
+
this.s5x_1 = exact;
|
|
3212
|
+
this.t5x_1 = children;
|
|
3213
3213
|
var tmp = this;
|
|
3214
3214
|
var tmp_0 = 0;
|
|
3215
3215
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3216
3216
|
var tmp_1 = Array(256);
|
|
3217
3217
|
while (tmp_0 < 256) {
|
|
3218
3218
|
var tmp_2 = tmp_0;
|
|
3219
|
-
var tmp0 = this.
|
|
3219
|
+
var tmp0 = this.t5x_1;
|
|
3220
3220
|
var tmp$ret$3;
|
|
3221
3221
|
$l$block_0: {
|
|
3222
3222
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -3226,7 +3226,7 @@
|
|
|
3226
3226
|
while (_iterator__ex2g4s.q()) {
|
|
3227
3227
|
var element = _iterator__ex2g4s.r();
|
|
3228
3228
|
// Inline function 'kotlin.code' call
|
|
3229
|
-
var this_0 = element.
|
|
3229
|
+
var this_0 = element.r5x_1;
|
|
3230
3230
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
3231
3231
|
if (found) {
|
|
3232
3232
|
tmp$ret$3 = null;
|
|
@@ -3245,15 +3245,15 @@
|
|
|
3245
3245
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
3246
3246
|
tmp_0 = tmp_0 + 1 | 0;
|
|
3247
3247
|
}
|
|
3248
|
-
tmp.
|
|
3248
|
+
tmp.u5x_1 = tmp_1;
|
|
3249
3249
|
}
|
|
3250
3250
|
function Companion_0() {
|
|
3251
3251
|
}
|
|
3252
|
-
protoOf(Companion_0).
|
|
3252
|
+
protoOf(Companion_0).c5u = function (from) {
|
|
3253
3253
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
3254
|
-
return this.
|
|
3254
|
+
return this.h5q(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
3255
3255
|
};
|
|
3256
|
-
protoOf(Companion_0).
|
|
3256
|
+
protoOf(Companion_0).h5q = function (from, length, charAt) {
|
|
3257
3257
|
var tmp$ret$0;
|
|
3258
3258
|
$l$block_0: {
|
|
3259
3259
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -3330,13 +3330,13 @@
|
|
|
3330
3330
|
return Companion_instance_0;
|
|
3331
3331
|
}
|
|
3332
3332
|
function AsciiCharTree(root) {
|
|
3333
|
-
this.
|
|
3333
|
+
this.b5q_1 = root;
|
|
3334
3334
|
}
|
|
3335
|
-
protoOf(AsciiCharTree).
|
|
3335
|
+
protoOf(AsciiCharTree).c5q = function (sequence, fromIdx, end, lowerCase, stopPredicate) {
|
|
3336
3336
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3337
3337
|
if (charSequenceLength(sequence) === 0)
|
|
3338
3338
|
throw IllegalArgumentException_init_$Create$("Couldn't search in char tree for empty string");
|
|
3339
|
-
var node = this.
|
|
3339
|
+
var node = this.b5q_1;
|
|
3340
3340
|
var inductionVariable = fromIdx;
|
|
3341
3341
|
if (inductionVariable < end)
|
|
3342
3342
|
$l$loop: do {
|
|
@@ -3347,12 +3347,12 @@
|
|
|
3347
3347
|
var currentCode = Char__toInt_impl_vasixd(current);
|
|
3348
3348
|
if (stopPredicate(new Char(current), currentCode))
|
|
3349
3349
|
break $l$loop;
|
|
3350
|
-
var tmp0_elvis_lhs = node.
|
|
3350
|
+
var tmp0_elvis_lhs = node.u5x_1[currentCode];
|
|
3351
3351
|
var tmp;
|
|
3352
3352
|
if (tmp0_elvis_lhs == null) {
|
|
3353
3353
|
var tmp_0;
|
|
3354
3354
|
if (lowerCase) {
|
|
3355
|
-
var tmp_1 = node.
|
|
3355
|
+
var tmp_1 = node.u5x_1;
|
|
3356
3356
|
// Inline function 'kotlin.text.lowercaseChar' call
|
|
3357
3357
|
// Inline function 'kotlin.text.lowercase' call
|
|
3358
3358
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3379,16 +3379,16 @@
|
|
|
3379
3379
|
node = nextNode;
|
|
3380
3380
|
}
|
|
3381
3381
|
while (inductionVariable < end);
|
|
3382
|
-
return node.
|
|
3382
|
+
return node.s5x_1;
|
|
3383
3383
|
};
|
|
3384
|
-
protoOf(AsciiCharTree).
|
|
3384
|
+
protoOf(AsciiCharTree).j5q = function (sequence, fromIdx, end, lowerCase, stopPredicate, $super) {
|
|
3385
3385
|
fromIdx = fromIdx === VOID ? 0 : fromIdx;
|
|
3386
3386
|
end = end === VOID ? charSequenceLength(sequence) : end;
|
|
3387
3387
|
lowerCase = lowerCase === VOID ? false : lowerCase;
|
|
3388
|
-
return $super === VOID ? this.
|
|
3388
|
+
return $super === VOID ? this.c5q(sequence, fromIdx, end, lowerCase, stopPredicate) : $super.c5q.call(this, sequence, fromIdx, end, lowerCase, stopPredicate);
|
|
3389
3389
|
};
|
|
3390
3390
|
function getImpl($this, index) {
|
|
3391
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
3391
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.m5s_1).length | 0];
|
|
3392
3392
|
}
|
|
3393
3393
|
function copy($this, startIndex, endIndex) {
|
|
3394
3394
|
if (startIndex === endIndex)
|
|
@@ -3417,27 +3417,27 @@
|
|
|
3417
3417
|
return builder;
|
|
3418
3418
|
}
|
|
3419
3419
|
function SubSequenceImpl($outer, start, end) {
|
|
3420
|
-
this.
|
|
3421
|
-
this.
|
|
3422
|
-
this.
|
|
3423
|
-
this.
|
|
3420
|
+
this.y5x_1 = $outer;
|
|
3421
|
+
this.v5x_1 = start;
|
|
3422
|
+
this.w5x_1 = end;
|
|
3423
|
+
this.x5x_1 = null;
|
|
3424
3424
|
}
|
|
3425
3425
|
protoOf(SubSequenceImpl).a = function () {
|
|
3426
|
-
return this.
|
|
3426
|
+
return this.w5x_1 - this.v5x_1 | 0;
|
|
3427
3427
|
};
|
|
3428
3428
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
3429
|
-
var withOffset = index + this.
|
|
3429
|
+
var withOffset = index + this.v5x_1 | 0;
|
|
3430
3430
|
// Inline function 'kotlin.require' call
|
|
3431
3431
|
if (!(index >= 0)) {
|
|
3432
3432
|
var message = 'index is negative: ' + index;
|
|
3433
3433
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3434
3434
|
}
|
|
3435
3435
|
// Inline function 'kotlin.require' call
|
|
3436
|
-
if (!(withOffset < this.
|
|
3436
|
+
if (!(withOffset < this.w5x_1)) {
|
|
3437
3437
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
3438
3438
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
3439
3439
|
}
|
|
3440
|
-
return getImpl(this.
|
|
3440
|
+
return getImpl(this.y5x_1, withOffset);
|
|
3441
3441
|
};
|
|
3442
3442
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
3443
3443
|
// Inline function 'kotlin.require' call
|
|
@@ -3451,21 +3451,21 @@
|
|
|
3451
3451
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
3452
3452
|
}
|
|
3453
3453
|
// Inline function 'kotlin.require' call
|
|
3454
|
-
if (!(endIndex <= (this.
|
|
3454
|
+
if (!(endIndex <= (this.w5x_1 - this.v5x_1 | 0))) {
|
|
3455
3455
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
3456
3456
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
3457
3457
|
}
|
|
3458
3458
|
if (startIndex === endIndex)
|
|
3459
3459
|
return '';
|
|
3460
|
-
return new SubSequenceImpl(this.
|
|
3460
|
+
return new SubSequenceImpl(this.y5x_1, this.v5x_1 + startIndex | 0, this.v5x_1 + endIndex | 0);
|
|
3461
3461
|
};
|
|
3462
3462
|
protoOf(SubSequenceImpl).toString = function () {
|
|
3463
|
-
var tmp0_elvis_lhs = this.
|
|
3463
|
+
var tmp0_elvis_lhs = this.x5x_1;
|
|
3464
3464
|
var tmp;
|
|
3465
3465
|
if (tmp0_elvis_lhs == null) {
|
|
3466
3466
|
// Inline function 'kotlin.also' call
|
|
3467
|
-
var this_0 = toString(copy(this.
|
|
3468
|
-
this.
|
|
3467
|
+
var this_0 = toString(copy(this.y5x_1, this.v5x_1, this.w5x_1));
|
|
3468
|
+
this.x5x_1 = this_0;
|
|
3469
3469
|
tmp = this_0;
|
|
3470
3470
|
} else {
|
|
3471
3471
|
tmp = tmp0_elvis_lhs;
|
|
@@ -3477,20 +3477,20 @@
|
|
|
3477
3477
|
return false;
|
|
3478
3478
|
if (!(charSequenceLength(other) === this.a()))
|
|
3479
3479
|
return false;
|
|
3480
|
-
return rangeEqualsImpl(this.
|
|
3480
|
+
return rangeEqualsImpl(this.y5x_1, this.v5x_1, other, 0, this.a());
|
|
3481
3481
|
};
|
|
3482
3482
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
3483
|
-
var tmp0_safe_receiver = this.
|
|
3483
|
+
var tmp0_safe_receiver = this.x5x_1;
|
|
3484
3484
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
3485
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
3485
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.y5x_1, this.v5x_1, this.w5x_1) : tmp1_elvis_lhs;
|
|
3486
3486
|
};
|
|
3487
3487
|
function bufferForIndex($this, index) {
|
|
3488
|
-
var list = $this.
|
|
3488
|
+
var list = $this.l5s_1;
|
|
3489
3489
|
if (list == null) {
|
|
3490
3490
|
if (index >= 2048) {
|
|
3491
3491
|
throwSingleBuffer($this, index);
|
|
3492
3492
|
}
|
|
3493
|
-
var tmp0_elvis_lhs = $this.
|
|
3493
|
+
var tmp0_elvis_lhs = $this.m5s_1;
|
|
3494
3494
|
var tmp;
|
|
3495
3495
|
if (tmp0_elvis_lhs == null) {
|
|
3496
3496
|
throwSingleBuffer($this, index);
|
|
@@ -3499,29 +3499,29 @@
|
|
|
3499
3499
|
}
|
|
3500
3500
|
return tmp;
|
|
3501
3501
|
}
|
|
3502
|
-
return list.u(index / ensureNotNull($this.
|
|
3502
|
+
return list.u(index / ensureNotNull($this.m5s_1).length | 0);
|
|
3503
3503
|
}
|
|
3504
3504
|
function throwSingleBuffer($this, index) {
|
|
3505
|
-
if ($this.
|
|
3505
|
+
if ($this.o5s_1)
|
|
3506
3506
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
3507
3507
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
3508
3508
|
}
|
|
3509
3509
|
function nonFullBuffer($this) {
|
|
3510
|
-
return $this.
|
|
3510
|
+
return $this.p5s_1 === 0 ? appendNewArray($this) : ensureNotNull($this.m5s_1);
|
|
3511
3511
|
}
|
|
3512
3512
|
function appendNewArray($this) {
|
|
3513
|
-
var newBuffer = $this.
|
|
3514
|
-
var existing = $this.
|
|
3515
|
-
$this.
|
|
3516
|
-
$this.
|
|
3517
|
-
$this.
|
|
3513
|
+
var newBuffer = $this.k5s_1.b4w();
|
|
3514
|
+
var existing = $this.m5s_1;
|
|
3515
|
+
$this.m5s_1 = newBuffer;
|
|
3516
|
+
$this.p5s_1 = newBuffer.length;
|
|
3517
|
+
$this.o5s_1 = false;
|
|
3518
3518
|
if (!(existing == null)) {
|
|
3519
|
-
var tmp0_elvis_lhs = $this.
|
|
3519
|
+
var tmp0_elvis_lhs = $this.l5s_1;
|
|
3520
3520
|
var tmp;
|
|
3521
3521
|
if (tmp0_elvis_lhs == null) {
|
|
3522
3522
|
// Inline function 'kotlin.also' call
|
|
3523
3523
|
var this_0 = ArrayList_init_$Create$();
|
|
3524
|
-
$this.
|
|
3524
|
+
$this.l5s_1 = this_0;
|
|
3525
3525
|
this_0.h(existing);
|
|
3526
3526
|
tmp = this_0;
|
|
3527
3527
|
} else {
|
|
@@ -3560,20 +3560,20 @@
|
|
|
3560
3560
|
return hc;
|
|
3561
3561
|
}
|
|
3562
3562
|
function currentPosition($this) {
|
|
3563
|
-
return ensureNotNull($this.
|
|
3563
|
+
return ensureNotNull($this.m5s_1).length - $this.p5s_1 | 0;
|
|
3564
3564
|
}
|
|
3565
3565
|
function CharArrayBuilder(pool) {
|
|
3566
3566
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
3567
|
-
this.
|
|
3568
|
-
this.
|
|
3569
|
-
this.
|
|
3570
|
-
this.
|
|
3571
|
-
this.
|
|
3572
|
-
this.
|
|
3573
|
-
this.
|
|
3567
|
+
this.k5s_1 = pool;
|
|
3568
|
+
this.l5s_1 = null;
|
|
3569
|
+
this.m5s_1 = null;
|
|
3570
|
+
this.n5s_1 = null;
|
|
3571
|
+
this.o5s_1 = false;
|
|
3572
|
+
this.p5s_1 = 0;
|
|
3573
|
+
this.q5s_1 = 0;
|
|
3574
3574
|
}
|
|
3575
3575
|
protoOf(CharArrayBuilder).a = function () {
|
|
3576
|
-
return this.
|
|
3576
|
+
return this.q5s_1;
|
|
3577
3577
|
};
|
|
3578
3578
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
3579
3579
|
// Inline function 'kotlin.require' call
|
|
@@ -3582,8 +3582,8 @@
|
|
|
3582
3582
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3583
3583
|
}
|
|
3584
3584
|
// Inline function 'kotlin.require' call
|
|
3585
|
-
if (!(index < this.
|
|
3586
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
3585
|
+
if (!(index < this.q5s_1)) {
|
|
3586
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.q5s_1 + ')';
|
|
3587
3587
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
3588
3588
|
}
|
|
3589
3589
|
return getImpl(this, index);
|
|
@@ -3600,19 +3600,19 @@
|
|
|
3600
3600
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
3601
3601
|
}
|
|
3602
3602
|
// Inline function 'kotlin.require' call
|
|
3603
|
-
if (!(endIndex <= this.
|
|
3604
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
3603
|
+
if (!(endIndex <= this.q5s_1)) {
|
|
3604
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.q5s_1 + ')';
|
|
3605
3605
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
3606
3606
|
}
|
|
3607
3607
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
3608
3608
|
};
|
|
3609
3609
|
protoOf(CharArrayBuilder).toString = function () {
|
|
3610
|
-
var tmp0_elvis_lhs = this.
|
|
3610
|
+
var tmp0_elvis_lhs = this.n5s_1;
|
|
3611
3611
|
var tmp;
|
|
3612
3612
|
if (tmp0_elvis_lhs == null) {
|
|
3613
3613
|
// Inline function 'kotlin.also' call
|
|
3614
|
-
var this_0 = toString(copy(this, 0, this.
|
|
3615
|
-
this.
|
|
3614
|
+
var this_0 = toString(copy(this, 0, this.q5s_1));
|
|
3615
|
+
this.n5s_1 = this_0;
|
|
3616
3616
|
tmp = this_0;
|
|
3617
3617
|
} else {
|
|
3618
3618
|
tmp = tmp0_elvis_lhs;
|
|
@@ -3622,20 +3622,20 @@
|
|
|
3622
3622
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
3623
3623
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
3624
3624
|
return false;
|
|
3625
|
-
if (!(this.
|
|
3625
|
+
if (!(this.q5s_1 === charSequenceLength(other)))
|
|
3626
3626
|
return false;
|
|
3627
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
3627
|
+
return rangeEqualsImpl(this, 0, other, 0, this.q5s_1);
|
|
3628
3628
|
};
|
|
3629
3629
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
3630
|
-
var tmp0_safe_receiver = this.
|
|
3630
|
+
var tmp0_safe_receiver = this.n5s_1;
|
|
3631
3631
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
3632
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
3632
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.q5s_1) : tmp1_elvis_lhs;
|
|
3633
3633
|
};
|
|
3634
3634
|
protoOf(CharArrayBuilder).a9 = function (value) {
|
|
3635
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
3636
|
-
this.
|
|
3637
|
-
this.
|
|
3638
|
-
this.
|
|
3635
|
+
nonFullBuffer(this)[ensureNotNull(this.m5s_1).length - this.p5s_1 | 0] = value;
|
|
3636
|
+
this.n5s_1 = null;
|
|
3637
|
+
this.p5s_1 = this.p5s_1 - 1 | 0;
|
|
3638
|
+
this.q5s_1 = this.q5s_1 + 1 | 0;
|
|
3639
3639
|
return this;
|
|
3640
3640
|
};
|
|
3641
3641
|
protoOf(CharArrayBuilder).pd = function (value, startIndex, endIndex) {
|
|
@@ -3644,10 +3644,10 @@
|
|
|
3644
3644
|
var current = startIndex;
|
|
3645
3645
|
while (current < endIndex) {
|
|
3646
3646
|
var buffer = nonFullBuffer(this);
|
|
3647
|
-
var offset = buffer.length - this.
|
|
3647
|
+
var offset = buffer.length - this.p5s_1 | 0;
|
|
3648
3648
|
var tmp0 = endIndex - current | 0;
|
|
3649
3649
|
// Inline function 'kotlin.math.min' call
|
|
3650
|
-
var b = this.
|
|
3650
|
+
var b = this.p5s_1;
|
|
3651
3651
|
var bytesToCopy = Math.min(tmp0, b);
|
|
3652
3652
|
var inductionVariable = 0;
|
|
3653
3653
|
if (inductionVariable < bytesToCopy)
|
|
@@ -3658,10 +3658,10 @@
|
|
|
3658
3658
|
}
|
|
3659
3659
|
while (inductionVariable < bytesToCopy);
|
|
3660
3660
|
current = current + bytesToCopy | 0;
|
|
3661
|
-
this.
|
|
3661
|
+
this.p5s_1 = this.p5s_1 - bytesToCopy | 0;
|
|
3662
3662
|
}
|
|
3663
|
-
this.
|
|
3664
|
-
this.
|
|
3663
|
+
this.n5s_1 = null;
|
|
3664
|
+
this.q5s_1 = this.q5s_1 + (endIndex - startIndex | 0) | 0;
|
|
3665
3665
|
return this;
|
|
3666
3666
|
};
|
|
3667
3667
|
protoOf(CharArrayBuilder).i = function (value) {
|
|
@@ -3670,33 +3670,33 @@
|
|
|
3670
3670
|
return this.pd(value, 0, charSequenceLength(value));
|
|
3671
3671
|
};
|
|
3672
3672
|
protoOf(CharArrayBuilder).m1h = function () {
|
|
3673
|
-
var list = this.
|
|
3673
|
+
var list = this.l5s_1;
|
|
3674
3674
|
if (!(list == null)) {
|
|
3675
|
-
this.
|
|
3675
|
+
this.m5s_1 = null;
|
|
3676
3676
|
var inductionVariable = 0;
|
|
3677
3677
|
var last = list.s();
|
|
3678
3678
|
if (inductionVariable < last)
|
|
3679
3679
|
do {
|
|
3680
3680
|
var i = inductionVariable;
|
|
3681
3681
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3682
|
-
this.
|
|
3682
|
+
this.k5s_1.c4w(list.u(i));
|
|
3683
3683
|
}
|
|
3684
3684
|
while (inductionVariable < last);
|
|
3685
3685
|
} else {
|
|
3686
|
-
var tmp0_safe_receiver = this.
|
|
3686
|
+
var tmp0_safe_receiver = this.m5s_1;
|
|
3687
3687
|
if (tmp0_safe_receiver == null)
|
|
3688
3688
|
null;
|
|
3689
3689
|
else {
|
|
3690
3690
|
// Inline function 'kotlin.let' call
|
|
3691
|
-
this.
|
|
3691
|
+
this.k5s_1.c4w(tmp0_safe_receiver);
|
|
3692
3692
|
}
|
|
3693
|
-
this.
|
|
3693
|
+
this.m5s_1 = null;
|
|
3694
3694
|
}
|
|
3695
|
-
this.
|
|
3696
|
-
this.
|
|
3697
|
-
this.
|
|
3698
|
-
this.
|
|
3699
|
-
this.
|
|
3695
|
+
this.o5s_1 = true;
|
|
3696
|
+
this.l5s_1 = null;
|
|
3697
|
+
this.n5s_1 = null;
|
|
3698
|
+
this.q5s_1 = 0;
|
|
3699
|
+
this.p5s_1 = 0;
|
|
3700
3700
|
};
|
|
3701
3701
|
function get_CharArrayPool() {
|
|
3702
3702
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -3706,13 +3706,13 @@
|
|
|
3706
3706
|
function CharArrayPool$1() {
|
|
3707
3707
|
NoPoolImpl.call(this);
|
|
3708
3708
|
}
|
|
3709
|
-
protoOf(CharArrayPool$1).
|
|
3709
|
+
protoOf(CharArrayPool$1).b4w = function () {
|
|
3710
3710
|
return charArray(2048);
|
|
3711
3711
|
};
|
|
3712
3712
|
function CharArrayPool$2() {
|
|
3713
3713
|
DefaultPool.call(this, 4096);
|
|
3714
3714
|
}
|
|
3715
|
-
protoOf(CharArrayPool$2).
|
|
3715
|
+
protoOf(CharArrayPool$2).u4v = function () {
|
|
3716
3716
|
return charArray(2048);
|
|
3717
3717
|
};
|
|
3718
3718
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -3947,16 +3947,16 @@
|
|
|
3947
3947
|
}
|
|
3948
3948
|
function DefaultHttpMethods$lambda(it) {
|
|
3949
3949
|
_init_properties_Chars_kt__d3i39x();
|
|
3950
|
-
return it.
|
|
3950
|
+
return it.y5c_1.length;
|
|
3951
3951
|
}
|
|
3952
3952
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
3953
3953
|
_init_properties_Chars_kt__d3i39x();
|
|
3954
|
-
return new Char(charCodeAt(m.
|
|
3954
|
+
return new Char(charCodeAt(m.y5c_1, idx));
|
|
3955
3955
|
}
|
|
3956
3956
|
function $writeIntHexCOROUTINE$(_this__u8e3s4, value, resultContinuation) {
|
|
3957
3957
|
CoroutineImpl.call(this, resultContinuation);
|
|
3958
|
-
this.
|
|
3959
|
-
this.
|
|
3958
|
+
this.k5y_1 = _this__u8e3s4;
|
|
3959
|
+
this.l5y_1 = value;
|
|
3960
3960
|
}
|
|
3961
3961
|
protoOf($writeIntHexCOROUTINE$).fa = function () {
|
|
3962
3962
|
var suspendResult = this.z9_1;
|
|
@@ -3966,29 +3966,29 @@
|
|
|
3966
3966
|
switch (tmp) {
|
|
3967
3967
|
case 0:
|
|
3968
3968
|
this.y9_1 = 8;
|
|
3969
|
-
if (!(this.
|
|
3969
|
+
if (!(this.l5y_1 > 0)) {
|
|
3970
3970
|
var message = 'Does only work for positive numbers';
|
|
3971
3971
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3972
3972
|
}
|
|
3973
3973
|
|
|
3974
|
-
this.
|
|
3975
|
-
this.
|
|
3976
|
-
this.
|
|
3974
|
+
this.m5y_1 = this.l5y_1;
|
|
3975
|
+
this.n5y_1 = get_HexLetterTable();
|
|
3976
|
+
this.o5y_1 = 0;
|
|
3977
3977
|
this.x9_1 = 1;
|
|
3978
3978
|
continue $sm;
|
|
3979
3979
|
case 1:
|
|
3980
|
-
var _unary__edvuaz = this.
|
|
3981
|
-
this.
|
|
3980
|
+
var _unary__edvuaz = this.o5y_1;
|
|
3981
|
+
this.o5y_1 = _unary__edvuaz + 1 | 0;
|
|
3982
3982
|
if (!(_unary__edvuaz < 8)) {
|
|
3983
3983
|
this.x9_1 = 4;
|
|
3984
3984
|
continue $sm;
|
|
3985
3985
|
}
|
|
3986
3986
|
|
|
3987
|
-
this.
|
|
3988
|
-
this.
|
|
3989
|
-
if (!(this.
|
|
3987
|
+
this.p5y_1 = this.m5y_1 >>> 28 | 0;
|
|
3988
|
+
this.m5y_1 = this.m5y_1 << 4;
|
|
3989
|
+
if (!(this.p5y_1 === 0)) {
|
|
3990
3990
|
this.x9_1 = 3;
|
|
3991
|
-
suspendResult = writeByte(this.
|
|
3991
|
+
suspendResult = writeByte(this.k5y_1, this.n5y_1[this.p5y_1], this);
|
|
3992
3992
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3993
3993
|
return suspendResult;
|
|
3994
3994
|
}
|
|
@@ -4008,17 +4008,17 @@
|
|
|
4008
4008
|
this.x9_1 = 5;
|
|
4009
4009
|
continue $sm;
|
|
4010
4010
|
case 5:
|
|
4011
|
-
var _unary__edvuaz_0 = this.
|
|
4012
|
-
this.
|
|
4011
|
+
var _unary__edvuaz_0 = this.o5y_1;
|
|
4012
|
+
this.o5y_1 = _unary__edvuaz_0 + 1 | 0;
|
|
4013
4013
|
if (!(_unary__edvuaz_0 < 8)) {
|
|
4014
4014
|
this.x9_1 = 7;
|
|
4015
4015
|
continue $sm;
|
|
4016
4016
|
}
|
|
4017
4017
|
|
|
4018
|
-
this.
|
|
4019
|
-
this.
|
|
4018
|
+
this.q5y_1 = this.m5y_1 >>> 28 | 0;
|
|
4019
|
+
this.m5y_1 = this.m5y_1 << 4;
|
|
4020
4020
|
this.x9_1 = 6;
|
|
4021
|
-
suspendResult = writeByte(this.
|
|
4021
|
+
suspendResult = writeByte(this.k5y_1, this.n5y_1[this.q5y_1], this);
|
|
4022
4022
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4023
4023
|
return suspendResult;
|
|
4024
4024
|
}
|
|
@@ -4048,9 +4048,9 @@
|
|
|
4048
4048
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
4049
4049
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
4050
4050
|
var tmp = Companion_instance_0;
|
|
4051
|
-
var tmp_0 = Companion_getInstance_0().
|
|
4051
|
+
var tmp_0 = Companion_getInstance_0().x5c_1;
|
|
4052
4052
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
4053
|
-
DefaultHttpMethods = tmp.
|
|
4053
|
+
DefaultHttpMethods = tmp.h5q(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
4054
4054
|
// Inline function 'kotlin.collections.map' call
|
|
4055
4055
|
var this_0 = numberRangeToNumber(0, 255);
|
|
4056
4056
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4149,11 +4149,11 @@
|
|
|
4149
4149
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
4150
4150
|
}
|
|
4151
4151
|
function MutableRange(start, end) {
|
|
4152
|
-
this.
|
|
4153
|
-
this.
|
|
4152
|
+
this.l5t_1 = start;
|
|
4153
|
+
this.m5t_1 = end;
|
|
4154
4154
|
}
|
|
4155
4155
|
protoOf(MutableRange).toString = function () {
|
|
4156
|
-
return 'MutableRange(start=' + this.
|
|
4156
|
+
return 'MutableRange(start=' + this.l5t_1 + ', end=' + this.m5t_1 + ')';
|
|
4157
4157
|
};
|
|
4158
4158
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
4159
4159
|
var index = start;
|
|
@@ -4166,19 +4166,19 @@
|
|
|
4166
4166
|
return index;
|
|
4167
4167
|
}
|
|
4168
4168
|
function skipSpaces(text, range) {
|
|
4169
|
-
var idx = range.
|
|
4170
|
-
var end = range.
|
|
4169
|
+
var idx = range.l5t_1;
|
|
4170
|
+
var end = range.m5t_1;
|
|
4171
4171
|
if (idx >= end || !isWhitespace(charSequenceGet(text, idx)))
|
|
4172
4172
|
return Unit_instance;
|
|
4173
4173
|
idx = idx + 1 | 0;
|
|
4174
4174
|
$l$loop: while (idx < end && isWhitespace(charSequenceGet(text, idx))) {
|
|
4175
4175
|
idx = idx + 1 | 0;
|
|
4176
4176
|
}
|
|
4177
|
-
range.
|
|
4177
|
+
range.l5t_1 = idx;
|
|
4178
4178
|
}
|
|
4179
4179
|
function findSpaceOrEnd(text, range) {
|
|
4180
|
-
var idx = range.
|
|
4181
|
-
var end = range.
|
|
4180
|
+
var idx = range.l5t_1;
|
|
4181
|
+
var end = range.m5t_1;
|
|
4182
4182
|
if (idx >= end || isWhitespace(charSequenceGet(text, idx)))
|
|
4183
4183
|
return idx;
|
|
4184
4184
|
idx = idx + 1 | 0;
|
|
@@ -4191,47 +4191,47 @@
|
|
|
4191
4191
|
}
|
|
4192
4192
|
function nextToken(text, range) {
|
|
4193
4193
|
var spaceOrEnd = findSpaceOrEnd(text, range);
|
|
4194
|
-
var s = charSequenceSubSequence(text, range.
|
|
4195
|
-
range.
|
|
4194
|
+
var s = charSequenceSubSequence(text, range.l5t_1, spaceOrEnd);
|
|
4195
|
+
range.l5t_1 = spaceOrEnd;
|
|
4196
4196
|
return s;
|
|
4197
4197
|
}
|
|
4198
4198
|
function discardBlocking(_this__u8e3s4) {
|
|
4199
4199
|
cancel(_this__u8e3s4);
|
|
4200
4200
|
}
|
|
4201
4201
|
function RequestResponseBuilder() {
|
|
4202
|
-
this.
|
|
4203
|
-
}
|
|
4204
|
-
protoOf(RequestResponseBuilder).
|
|
4205
|
-
writeText(this.
|
|
4206
|
-
this.
|
|
4207
|
-
writeText(this.
|
|
4208
|
-
this.
|
|
4209
|
-
writeText(this.
|
|
4210
|
-
this.
|
|
4211
|
-
this.
|
|
4202
|
+
this.r5y_1 = BytePacketBuilder();
|
|
4203
|
+
}
|
|
4204
|
+
protoOf(RequestResponseBuilder).s5y = function (version, status, statusText) {
|
|
4205
|
+
writeText(this.r5y_1, version);
|
|
4206
|
+
this.r5y_1.p3b(32);
|
|
4207
|
+
writeText(this.r5y_1, status.toString());
|
|
4208
|
+
this.r5y_1.p3b(32);
|
|
4209
|
+
writeText(this.r5y_1, statusText);
|
|
4210
|
+
this.r5y_1.p3b(13);
|
|
4211
|
+
this.r5y_1.p3b(10);
|
|
4212
4212
|
};
|
|
4213
|
-
protoOf(RequestResponseBuilder).
|
|
4214
|
-
append(this.
|
|
4215
|
-
append(this.
|
|
4216
|
-
append(this.
|
|
4217
|
-
this.
|
|
4218
|
-
this.
|
|
4213
|
+
protoOf(RequestResponseBuilder).t5y = function (name, value) {
|
|
4214
|
+
append(this.r5y_1, name);
|
|
4215
|
+
append(this.r5y_1, ': ');
|
|
4216
|
+
append(this.r5y_1, value);
|
|
4217
|
+
this.r5y_1.p3b(13);
|
|
4218
|
+
this.r5y_1.p3b(10);
|
|
4219
4219
|
};
|
|
4220
|
-
protoOf(RequestResponseBuilder).
|
|
4221
|
-
this.
|
|
4222
|
-
this.
|
|
4220
|
+
protoOf(RequestResponseBuilder).u5y = function () {
|
|
4221
|
+
this.r5y_1.p3b(13);
|
|
4222
|
+
this.r5y_1.p3b(10);
|
|
4223
4223
|
};
|
|
4224
|
-
protoOf(RequestResponseBuilder).
|
|
4225
|
-
return build(this.
|
|
4224
|
+
protoOf(RequestResponseBuilder).t3n = function () {
|
|
4225
|
+
return build(this.r5y_1);
|
|
4226
4226
|
};
|
|
4227
4227
|
protoOf(RequestResponseBuilder).m1h = function () {
|
|
4228
|
-
this.
|
|
4228
|
+
this.r5y_1.u4();
|
|
4229
4229
|
};
|
|
4230
4230
|
function isPoolingDisabled() {
|
|
4231
4231
|
return false;
|
|
4232
4232
|
}
|
|
4233
4233
|
//region block: post-declaration
|
|
4234
|
-
protoOf(CIOHeaders).
|
|
4234
|
+
protoOf(CIOHeaders).j4y = forEach;
|
|
4235
4235
|
//endregion
|
|
4236
4236
|
//region block: init
|
|
4237
4237
|
Companion_instance_0 = new Companion_0();
|